
Spec engineering with mathematical precision
Seattle, United States
Joined November 2026
- Tweets29
- Following1
- Followers112
- Likes93
Pinned Tweet
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…
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
137
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
13
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…
6
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…
If you want to learn Lean and work with us to build custom formal methods workflows, sign up for our free pilot. Find time to join us on Zoom, send a problem you are interested in (including Riemann Hypothesis!) and let's work together
functorial.inc/pilot
Riemann Hypothesis has been officially solved!
∀s ∈ ℂ, ζ(s) = 0 ∧ s ∉ −2ℕ⁺ ⟹ Re(s) = ½
where ζ(s) = ∑{n∈ℕ⁺} n⁻ˢ = ∏{p∈ℙ} (1 − p⁻ˢ)⁻¹ for Re(s) > 1
The Lean FRO and Mathlib Initiative have released a joint statement on the Lean verification of the Riemann Hypothesis.
On November 20, Levent Alpöge released a proof of the Riemann Hypothesis as a Lean library of 17 million lines of code. Over the past day, the Lean and Mathlib communities worked together to verify it. The statement certifies the proof as correct and describes how it meets all necessary verification criteria.
Congratulations to Levent on this achievement, and thank you to everyone in the community who contributed to the verification.
Full statement: leanprover-community.github.…
On Faithfulness Reviews of Lean autoformalizations, a talk by our founder, @tlehman given today at @Portland_State University (pilot program link below)
Today we are launching our pilot program for mathematical researchers, if you want help developing an accelerated workflow for your mathematical research, sign up below!
functorial.inc/pilot




