CogniDroid

29 posts

CogniDroid banner
CogniDroid

CogniDroid

@CognizDroid

The only thing that is perfect, is the existence of imperfection.

Katılım December 2012
1.4K Takip Edilen164 Takipçiler

2026 Yıllık Özeti

@CognizDroid hesabının Twitter yılını gör

CogniDroid
CogniDroid@CognizDroid·
@aramh @9thGluon Classic Geometry of Interaction or Thomas Seiller' Interaction Graphs?
English
1
0
0
55
Aram Hăvărneanu
@9thGluon I'm just getting started. I believe I can beat these numbers using a geometry of interaction machine.
English
2
0
10
253
Aram Hăvărneanu
After 28 hours of grinding and 20M burned tokens, I have a third reducer (AL1) that beats HVM4, at least for these specific benchmarks. I cannot believe it. General performance matrix: gist.github.com/4ad/37b27b9dfe… SAT test matrix: gist.github.com/4ad/fc7ea00bf1… AL0 is the original OCaml multi-threaded reducer based on my intuition-based translation of adjoint logic to interaction nets. ALΔ is a single-threaded OCaml reducer based on an extension of Δ-nets. AL1 is the new, single-threaded optimized reducer written in C. Reducing is fastest in AL1, HVM4 still has an edge on parsing and compilation which can be seen in some of the very short SAT tests where parsing and compilation becomes significant. Disclaimer: take these results with a grain of salt. I have relatively few example programs, it's possible the interaction net system is overfit to benefit these specific programs. Also it's been tuned for my Apple M2 Max chip, it's unclear whether the optimizations translate to any other chip. Also, adjoint logic is not λ-calculus and this seems to matter. My programs take fewer reduction steps overall.
Aram Hăvărneanu@aramh

ALΔ's unweighted geometric mean is 8.5% faster than AL0, although the workload aggregate is 1.31x slower. Its interaction count never exceeds AL0's on any benchmark. HVM3/HVM4 remain substantially faster.

English
5
6
48
6.6K
CogniDroid
CogniDroid@CognizDroid·
@harrystabbings So you get even more spied on while paying a premium price for it?
English
0
0
0
40
Harry Stabbings
Harry Stabbings@harrystabbings·
NEW: Government announces a national VPN service, available to all citizens through their Digital ID. “Online privacy is a fundamental right, which is why it must be centrally verified, monitored and reviewed by the State” a department spokesperson said.
Harry Stabbings tweet mediaHarry Stabbings tweet media
English
2.2K
562
3.8K
864.4K
CogniDroid
CogniDroid@CognizDroid·
@aramh @Issybeatz_ You'd be surprised to hear that not everyone has an inner monologue to talk to or recreate sounds in their head.
English
0
0
0
29
Issybeatz
Issybeatz@Issybeatz_·
Can anyone play music in their head? I’m not talking about just singing the words to a song. I mean can you completely hear the beat and everything from inside your mind ??
English
2.2K
1.5K
32.4K
1.4M
CogniDroid
CogniDroid@CognizDroid·
@aramh Why, are you not hungry for some CSNAX perhaps? 🍿
English
0
0
1
27
Aram Hăvărneanu
Aram Hăvărneanu@aramh·
And a first attempt at CSNAX, classical semi-axiomatic adjoint logic with snips.
Aram Hăvărneanu tweet media
Aram Hăvărneanu@aramh

I invented something today. A mixed classical linear/non-linear logic with uniform connectives. I call this adjoint classical logic. All the ingredients were there: - LNL (Benton) decomposed `!`, `?` into the better-behaved `↑`, `↓` for intuitionistic linear logic. - Adjoint logic (Pfenning) generalized LNL for arbitrary modes, but again, only for ILL. - LPC (Paykin, Zdancewic) introduced operators that are effectively `↑`, `↓`, for classical linear logic, but their system was not uniform across modes. m ∈ {P, L, C} with P > L > C A_m := 0_m | ⊕ | 1_m | ⊗ ⊤_m | & | ⊥_m | ⅋ ↑k_m A_k | ↓l_m A_l A_k -------- (m ≥ k) ↑k_m A_k A_m -------- (m ≥ k) ↓m_k A_m Exponentials are: !A_l := ↓p_l ↑l_p A_l ?A_l := ↑c_l ↓l_c A_l But the point was to get rid of exponentials and use shift operators, so let's not worry about exponentials. We have:     𝚖𝚘𝚍𝚎 | 𝚕𝚎𝚏𝚝 𝚜𝚒𝚍𝚎 | 𝚛𝚒𝚐𝚑𝚝 𝚜𝚒𝚍𝚎       𝙿  |   𝚆, 𝙲    |     –       𝙻  |     –     |     –       𝙲  |     –     |    𝚆, 𝙲 So the mode decides not only whether structural rules are allowed, but also on what side of the sequent they are allowed. For example, for producers on the left: Γ ⊢ Δ ---------- Γ, A_p ⊢ Δ Γ, A_p, A_p ⊢ Δ --------------- Γ, A_p ⊢ Δ And for consumers on the right: Γ ⊢ Δ ---------- Γ ⊢ Δ, A_c Γ ⊢ Δ, A_c, A_c --------------- Γ ⊢ Δ, A_c But all the connectors are mode-uniform. Duality swaps P and C but L stays in place: ¬P≡C, ¬L≡L, ¬C≡P. For linear connectives `¬` behaves as expected, for shifts: ¬(↑k_m A_k) ≡ ↓¬k_¬m (¬A_k) ¬(↓m_k A_m) ≡ ↑¬m_¬k (¬A_m) Just like in Pfenning's adjoint logic, this should generalize for an arbitrary preorder of modes that draw from `m`. I suppose a slogan for this system could be: LPC + Pfenning-style uniform modes + classical two-sided duality.

English
3
1
32
5.9K
CogniDroid
CogniDroid@CognizDroid·
2026 is a cool year since it has three Friday the 13th's. In February, March and November.
English
0
0
0
90
CogniDroid
CogniDroid@CognizDroid·
@khoiiiind I haven't sought, I didn't seek. What is lost is what I have never known. Though I seek, but for what? My own ignorance in what I know I can't grasp?
English
0
0
1
54
k h ô i
k h ô i@khoiiiind·
All is lost. You have nothing left to lose. Discard the drama. Throw away thoughts. Open your eyes. See everything for the first time. Be still. Go.
English
3
1
18
636
Aram Hăvărneanu
Aram Hăvărneanu@aramh·
Is there a connection between superpositions in interaction nets and paraconsistent logic?
English
4
2
23
2K
CogniDroid
CogniDroid@CognizDroid·
Seeking for what can be is no longer a guarantee.
English
0
0
0
122
CogniDroid
CogniDroid@CognizDroid·
Humans are thriving, humanity is dying. Living in a world where quantity is more meaningful then quality. An endless fulfillment of emptiness makes the world go round. Layered garbage that looks polished is the status quo. The less humane the better the human.
English
1
0
0
132
CogniDroid
CogniDroid@CognizDroid·
@aramh Generalization of the neuromorphic computer type can't come soon enough.
English
0
0
4
333
Aram Hăvărneanu
Aram Hăvărneanu@aramh·
The CPU instruction set is but a giant sum type. It uses particularly unusual encodings (for software people, anyway), but instruction decoding is just pattern matching on the type. Even if you can't let go of the fact that particular representations don't matter, the output from the instruction decoder is a *typed* instruction (the payload). Even the most low-level systems require types and are designed in terms of types. I am surprised that dependent types weren't invented by low-level people. Dependent types arise naturally when you want to internalize an encoding into your reasoning framework and abstract over it.
English
19
11
227
17.2K
CogniDroid
CogniDroid@CognizDroid·
@simplex_fx You could give VSCodium a try. Other familiar options are Zed or Lapce.
English
0
0
1
100
Simplex
Simplex@simplex_fx·
Anyone trying to switch to Linux / BSD desktop as a long time Windows/MSVC user? Looking for a soft transition. I hate vscode. Some nice graphical debugger would be great. Or any other advice on spyware-free sw stack :)
Is it the Year of the Linux Desktop?@yearofthelinuxd

No.

English
4
0
4
1.1K
CogniDroid
CogniDroid@CognizDroid·
@aramh Looking forward to what you've been cooking up! Best of luck to you.
English
0
0
1
284
Aram Hăvărneanu
Aram Hăvărneanu@aramh·
Garbage collection is fine. Even in systems programming context. That said I am developing a language that doesn't use garbage collection.
English
15
4
125
11.3K