Functorial (@functorialdev) header
Functorial (@functorialdev) profile picture

Spec engineering with mathematical precision

Seattle, United States
Joined November 2026
Photo by Functorial (@functorialdev)Photo by Functorial (@functorialdev)Photo by Functorial (@functorialdev)
The big tech companies and the federal government all made a statement at the same time, telling us to upgrade to post-quantum cryptography. To protect our customers' money and data, we audited our external connections and cryptography to understand how many of the external APIs we depend on are exposed to this hypothetical quantum threat... functorial.inc/blog/2026/sec…
11
Our main sites are already using Post-Quantum Key Exchange, but we are going to do some auditing of all our connections to APIs we don't control and report back before bringing all our systems back online. Sorry for the disruption, and we will have more news for you before EOD Pacific Time.
23
Yesterday's ONCD/NSA/CISA joint statement says to "expeditiously upgrade" cryptography. Traffic recorded today can be decrypted once quantum computers arrive ("harvest now, decrypt later"). The fix is hybrid TLS 1.3: rfc-editor.org/info/rfc10024… Functorial is already using this ✅
1
60
Every one of our hosts negotiates X25519MLKEM768, a hybrid of classical and post-quantum key exchange, with modern browsers over TLS 1.3. Check any site yourself: 𝚘𝚙𝚎𝚗𝚜𝚜𝚕 𝚜_𝚌𝚕𝚒𝚎𝚗𝚝 -𝚌𝚘𝚗𝚗𝚎𝚌𝚝 𝚏𝚞𝚗𝚌𝚝𝚘𝚛𝚒𝚊𝚕.𝚒𝚗𝚌:𝟺𝟺𝟹 -𝚐𝚛𝚘𝚞𝚙𝚜 𝚇𝟸𝟻𝟻𝟷𝟿𝙼𝙻𝙺𝙴𝙼𝟽𝟼𝟾
31
Going to drop everything and do the necessary updgrades to protect our customers 🫡
Do not ignore this. Do not underestimate it. Yes, we were briefed on something. Yes, it’s a big deal. No, we can’t give you all the details yet. But it is urgent to move encrypted systems to post-quantum (maybe more appropriately called post-AI) standards.
1
23
Agreed, you cannot delegate the writing of the spec to an LLM
Reasons I'm extremely skeptical about formal verification taking off: 1. Simpler, cheaper alternatives like enforcing invariants via the type system itself 2. Writing the specification / contract that gets verified is much harder than it sounds for complex, important things - and not something you can delegate to an LLM. 3. Are you going to verify that the formal verification actually verifies what you think it's verifying? Same problem as reading reams of LLM-authored unit tests.
2
145
Kubernetes APF can remove a queue while a finished request still holds seats, and the server can panic when that request's timer fires. We specified "empty" in Lean, proved a model of the fixed code, and generated a fix that matches the PR byte for byte: functorial.inc/blog/2026/ver…
1
1
1
7
14,923
4/ Finally we generated the Go fix from the specification. It is byte-for-byte identical to the fix in Sai krishna Bodapati's PR, and the naive meaning of "empty" regenerates the buggy code.
1
14
5/ The proofs are about a model of the Go code, and the post lists what we proved, checked and trust. Code and proofs: github.com/Functorial-Inc/k8…
7
Functorial retweeted
Spec engineering will be the next big thing in 2027
At Functorial, we are betting that the future of software will be specification engineering, where the attention of human engineers will be spent almost entirely on one thing: getting the spec right. Get the spec right, and sleep at night.
1
1
30
At Functorial, we are betting that the future of software will be specification engineering, where the attention of human engineers will be spent almost entirely on one thing: getting the spec right. Get the spec right, and sleep at night.
1
2
30
1,910
Introducing: Zero to Riemann Zeros, Learn Lean 4 and the proof of the Riemann Zeta function, free on Functorial Academy! academy.functorial.inc/cours…
1
1
1
18
77,376