
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
Building a category theory tool called catpad that can hook into a local AI agent, or Claude Code, and it uses a Lean compiler to check the types, and then produce commutative diagrams on the right. The diagrams are inspectable, and even editable, there's a two-way feedback loop
Super dig this and what you're doing with @functorialdev - Rad
1
1
18
How the tables have turned!
When I was in college, I used to run after courses that involved a lot of coding and I'd even go beyond the syllabus while learning.
But, everyone used to run away from theoretical courses, like discrete math, or theory of computation (mostly because the teachers could never show why these courses were useful).
Now, AI is doing all the coding and everyone is talking about TCS on social media and popular media.
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
Yes, book some time and we can help you with it functorial.inc/pilot
1
14
A 40 page RH proof skeleton has been produced.
This could be a nice starting point for people to sink their teeth into the proof.
github.com/sdyy1990/riemann-…
Working on a new version of Zero to Riemann Zeros functorial.inc/riemann that follows this skeleton and proves the GRH instead of he RH
1
11
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
Since the Curry-Howard isomorphism is in the spotlight right now, let me tell you that there is a whole book-length treatment you can peruse at your pleasure.
cs.cmu.edu/~rwh/courses/clog…
the Riemann Hypothesis proof went from 17.4 million lines of Lean to 76,000. the size isn't the real story.
a proof that size can only be trusted if the kernel accepts it, and only the 3 standard axioms show up: propext, Classical.choice, Quot.sound. no hidden assumptions, no sorry, no shortcuts. Andrew Sutherland at MIT reran the checks on both versions.
so what actually happened?
> the first version was search. Claude found a path and kept every dead end, detour and duplicate lemma
> the second version was compression. same five theorems, 200x less text
> a mathematician would call that second step "understanding"
in information theory a thing's real size is the shortest program that produces it. 17 million lines told us a proof exists. 76,000 lines is the first hint of how long the idea actually is.
no human has read either one yet. but 76,000 lines is about the size of a serious textbook, and that means for the first time someone could.
You can now learn all 76k lines of Lean through spaced repetition and interactive practice here: functorial.inc/riemann
17
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

















