Jad Ghalayini (@technicallyrain) header
Jad Ghalayini (@technicallyrain) profile picture

(locally) nameless one @autoresearchinc (YC26)

Joined February 2020
Photo by Jad Ghalayini (@technicallyrain)Photo by Jad Ghalayini (@technicallyrain)Photo by Jad Ghalayini (@technicallyrain)Photo by Jad Ghalayini (@technicallyrain)Photo by Jad Ghalayini (@technicallyrain)Photo by Jad Ghalayini (@technicallyrain)Photo by Jad Ghalayini (@technicallyrain)Photo by Jad Ghalayini (@technicallyrain)
Jad Ghalayini retweeted
Formal verification is the only way, fully convinced. Shoutout to Taelin for seeing it before most of us and building it out. Someone needs to do a YouTube series “formal verification for agent acceleration”
maybe a hot take but i now consider adversarial reviews mostly a waste of tokens. far better to use those tokens on empirical combined with formal verification. i have updated pstack to use the interrogate skill less, and eventually i think i may remove it altogether i have found very little value with code review in the abstract, agents tend to just get lost in the nitpicks and yagnis
37
24
3
914
30,987
Put a heart ❤️ next to a coding problem, and Claude & GPT write recursive code 100% of the time (0% baseline). They also can't tell you why! Excited to share “A Heart Means Recursion” from my summer at @GoogleDeepMind, on how VLMs read & communicate with visual symbols. 🧵
32
91
36
970
72,912
Jad Ghalayini retweeted
bro what if i made a proof checker to check your proof checker to check your proof checker to check your proof checker to check your proof checker to check your proof checker to check your proof checker to check your proof checker to check your proof checker
Replying to @deepmatmul
We also found bugs along the way. hol.mm, the HOL database in the set.mm repo, proves T ⊢ F: its polymorphic constants don't carry their type. Putting the Wasm spec's SpecTec sources into Lean turned up errata in 1.0, 2.0 and 3.0. We're in the process of reporting these bugs.
1
3
10
597
Jad Ghalayini retweeted
Coming next:  - game semantics, with a game model of PCF  - C semantics (Cerberus) and a C compiler written in Lean  - CakeML's compiler pipeline  - more x86, RISC-V and ELF  - IEEE 754 floats and crypto  - GPU kernels in Triton/Gluon
2
3
10
495
Jad Ghalayini retweeted
We also found bugs along the way. hol.mm, the HOL database in the set.mm repo, proves T ⊢ F: its polymorphic constants don't carry their type. Putting the Wasm spec's SpecTec sources into Lean turned up errata in 1.0, 2.0 and 3.0. We're in the process of reporting these bugs.
1
2
1
8
1,047
Jad Ghalayini retweeted
Some other theorems I like in there: - a Metamath proof checker, proved sound - PCF: adequacy, why it isn't fully abstract, and how parallel-or fixes it - System F free theorems - Reynolds' argument that System F has no set-theoretic model
2
2
10
522
Jad Ghalayini retweeted
The Wasm tools use Binaryen's names and flags: wasm-opt, wasm-merge, wasm-as and so on. Each comes with theorems about what its transforms preserve.
1
2
8
545
Jad Ghalayini retweeted
sha256sum: whatever you pipe in, wherever ASLR puts the stack, even if the kernel spuriously refuses syscalls, it writes exactly the right hash, exits 0, leaves the filesystem alone, and always terminates. It's stated in LPS, @theoremlabs Linux model, ported and extended in Lean to x86-64.
1
2
13
727
Jad Ghalayini retweeted
What's in this release:  - 7 WebAssembly tools with correctness theorems  - a Linux process model for x86-64 and RISC-V  - HOL, Metamath, ZFC and Peano arithmetic  - the lambda cube and parametricity  - three Cambridge courses on semantics and compilers
1
3
22
988
Jad Ghalayini retweeted
We just open-sourced the first part of our Lean formalization work: Silmaril. The headline result is a sha256sum binary proved correct from its ELF bytes down to the syscalls it makes. There's a lot more in there, and a lot more coming 🧵
15
17
4
124
9,777
Jad Ghalayini retweeted
pivot to category theory
11
8
1
150
5,241
Jad Ghalayini retweeted
Replying to @windley
Lean's a very sophisticated system. The big advantage of HOL Light is that it isn't, especially with its *three* axioms and tiny kernel.
2
16
457
Jad Ghalayini retweeted
Once men turned their thinking over to machines in the hope that this would set them free. But that only permitted other men with machines to enslave them.
2
1
2
7
549