
Spec engineering with mathematical precision
Seattle, United States
Joined November 2026
- Tweets35
- Following0
- Followers113
- Likes100
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
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…
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
Zero to Riemann Zeros 0.4.0 is out!
The course now reads the new compact edition of the Lean proof of the Riemann Hypothesis: 794 files and about 76,000 lines, down from 175,187 files.
functorial.inc/riemann
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.
Lean 4 for Programmers
academy.functorial.inc/cours…
Lean 4 for Mathematicians
academy.functorial.inc/cours…
2
85
Intro to Proofs (in Lean)
academy.functorial.inc/cours…
Zero to Riemann Zeros
Learn Lean and the proof of the Riemann Hypothesis
functorial.inc/riemann
Introducing: Zero to Riemann Zeros, Learn Lean 4 and the proof of the Riemann Zeta function, free on Functorial Academy!
academy.functorial.inc/cours…



