Lean (@leanprover) header
Lean (@leanprover) profile picture

Lean is a dependently-typed programming language and theorem prover.

Seattle
Joined April 2018
Photo by Lean (@leanprover)Photo by Lean (@leanprover)Photo by Lean (@leanprover)Photo by Lean (@leanprover)Photo by Lean (@leanprover)Photo by Lean (@leanprover)Photo by Lean (@leanprover)Photo by Lean (@leanprover)Photo by Lean (@leanprover)Photo by Lean (@leanprover)
Hard ideas, told clearly. Lean FRO is hiring a Technical Communications & Content Lead to turn Lean's newest work into videos, posts and demos people want to share. Remote, full time. jobs.lever.co/convergentrese…
9
32
1
211
9,788
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.…
589
5,484
2,217
29,550
3,789,748
The statement is a joint statement by the Lean and Mathlib communities, and endorsed by the Lean FRO and the Mathlib Initiative.
11
38
3
1,814
199,294
With Lean v4.37.0-rc1, a full build of Mathlib takes 23.6% fewer instructions than with v4.36.0, according to benchmark data from speed.lean-lang.org. That is the largest single drop since the December 2025 peak, and a build now needs less than half the instructions it did then. This drop came even as Mathlib grew by over 19% in the same period Scalability is one of the Lean FRO's core goals: making sure Lean can handle ever larger projects like Mathlib, CSLib, and others, so these libraries can keep growing without build costs growing with them. See the release notes for more: lean-lang.org/doc/reference/…
2
16
4
131
16,564
The longer view: since February 2024, Mathlib has grown 74% to 2.5 million lines, while the instructions needed to build it are now 56% below their December 2025 peak.
1
3
1
26
7,844
𝐋𝐞𝐚𝐧 𝟒.𝟑𝟔.𝟎 𝐢𝐬 𝐥𝐢𝐯𝐞! This release brings 222 changes, including 30 performance improvements, new 𝚐𝚛𝚒𝚗𝚍 and 𝚋𝚟_𝚍𝚎𝚌𝚒𝚍𝚎 capabilities, and experimental exception support in contracts. Notable improvements include: • Performance work including a type class cache kept between commands and the removal of several quadratic slowdowns; Mathlib now builds roughly 12% faster • 𝚐𝚛𝚒𝚗𝚍's bit-vector and fixed-width integer homomorphisms now cover masks, concatenation, rotations, signed comparisons, shifts, and exponentiation • 𝚋𝚟_𝚍𝚎𝚌𝚒𝚍𝚎 supports uninterpreted functions via +𝚞𝚏, adding congruence facts as needed (for functions returning 𝙱𝚘𝚘𝚕 or 𝙱𝚒𝚝𝚅𝚎𝚌) • Experimental 𝚝𝚑𝚛𝚘𝚠𝚜 clauses let a 𝚍𝚎𝚏 contract state what holds when the function throws 🔗 𝐅𝐮𝐥𝐥 𝐫𝐞𝐥𝐞𝐚𝐬𝐞 𝐧𝐨𝐭𝐞𝐬: lean-lang.org/doc/reference/… #LeanLang #LeanProver #FormalVerification
6
42
2
264
16,212
Great to see Lean being used for Rust verification!
Aristotle now formally verifies Rust, joining C and Verilog 🦀 Prove your Rust code has no undefined behavior and does exactly what its spec says, even if you use unsafe. And if you’re porting C to Rust, prove the new code behaves the same as the original.
7
33
3
335
20,771
𝐋𝐞𝐚𝐧 𝐅𝐑𝐎 𝐢𝐬 𝐡𝐢𝐫𝐢𝐧𝐠 𝐚 𝐓𝐞𝐜𝐡𝐧𝐢𝐜𝐚𝐥 𝐂𝐨𝐦𝐦𝐮𝐧𝐢𝐜𝐚𝐭𝐢𝐨𝐧𝐬 & 𝐂𝐨𝐧𝐭𝐞𝐧𝐭 𝐋𝐞𝐚𝐝 We are looking for a hands-on communicator and content creator to own Lean FRO’s external communications. The role is full-time and remote, working directly with Lean developers and leadership. We expect the successful candidate to turn technical developments into clear, engaging stories, build a consistent public presence, and help audiences understand Lean accurately. They do not need to be a Lean expert when they join, but must be eager and able to learn enough to communicate accurately. This is a chance to turn substantive technical work into content people understand, and to take ownership of a communications function whose direction you can help shape. 𝐅𝐮𝐥𝐥 𝐣𝐨𝐛 𝐩𝐨𝐬𝐭𝐢𝐧𝐠 𝐚𝐧𝐝 𝐚𝐩𝐩𝐥𝐢𝐜𝐚𝐭𝐢𝐨𝐧: jobs.lever.co/convergentrese… #LeanLang #LeanProver
5
20
4
88
10,685
Software Verification in Lean is live now! You can still register via Luma to access the livestream link: luma.com/kytl0zlj
We're very excited for 𝗦𝗼𝗳𝘁𝘄𝗮𝗿𝗲 𝗩𝗲𝗿𝗶𝗳𝗶𝗰𝗮𝘁𝗶𝗼𝗻 𝗶𝗻 𝗟𝗲𝗮𝗻 tomorrow! The in-person event is full, but livestream spots remain open: Register on Luma to receive the link: luma.com/kytl0zlj 𝗡𝗲𝘄𝗹𝘆 𝗮𝗱𝗱𝗲𝗱 𝘁𝗼 𝘁𝗵𝗲 𝗽𝗿𝗼𝗴𝗿𝗮𝗺: A closing round-table discussion on AI safety and formal verification (4:45–5:30 pm PT), moderated by Pedro Abreu (@p_droabreu0), host of the Type Theory Forall podcast, featuring Max Tegmark, Leonardo de Moura, Jonathan Protzenko, Andres Erbsen and Mike Dodds. 🔗 See the event website for the full program: beneficial-ai-foundation.git…
3
9
107
7,179
We're very excited for 𝗦𝗼𝗳𝘁𝘄𝗮𝗿𝗲 𝗩𝗲𝗿𝗶𝗳𝗶𝗰𝗮𝘁𝗶𝗼𝗻 𝗶𝗻 𝗟𝗲𝗮𝗻 tomorrow! The in-person event is full, but livestream spots remain open: Register on Luma to receive the link: luma.com/kytl0zlj 𝗡𝗲𝘄𝗹𝘆 𝗮𝗱𝗱𝗲𝗱 𝘁𝗼 𝘁𝗵𝗲 𝗽𝗿𝗼𝗴𝗿𝗮𝗺: A closing round-table discussion on AI safety and formal verification (4:45–5:30 pm PT), moderated by Pedro Abreu (@p_droabreu0), host of the Type Theory Forall podcast, featuring Max Tegmark, Leonardo de Moura, Jonathan Protzenko, Andres Erbsen and Mike Dodds. 🔗 See the event website for the full program: beneficial-ai-foundation.git…
Software Verification in Lean (SVIL) comes to Stanford University on Saturday, November 7. Co-organized by Beneficial AI Foundation and Lean FRO, it is a day of public lectures on advancing Lean’s software verification ecosystem toward production use, with a focus on end-to-end verification of security-critical systems. Talks will cover Rust verification with the Aeneas framework, low-level software verification, and formally verified OS kernels. Speakers include Max Tegmark, Shaowei Lin, Leonardo de Moura, Jonathan Protzenko, Andres Erbsen, and Mike Dodds. In-person space is limited. Non-local and waitlisted registrants will receive a livestream link, and recordings will be available afterward. Program and registration: beneficial-ai-foundation.git…
11
24
2
220
18,606
The #TauCeti project is using AI to build a library of formalized mathematics: Human-written roadmaps specify the intended mathematics, and the #Lean kernel checks every proof the AI contributors produce. Adversarial AI reviewers then assess whether the results match what the roadmaps intend. Kim Morrison writes that this process “brings the material up to a standard we can keep building on.” The aim: reusable formalizations of “all of basic mathematics.” The project is incubated by Lean FRO and the Mathlib Initiative, and open to contributions from everyone. See the Tau Ceti use case for more: lean-lang.org/use-cases/tau-…
5
19
5
167
12,708
Oh wow, we love this. Harsh Gupta's Lean 4 submission to the "$12 server challenge" proves that, under certain conditions, posts are “already stored in the exact order they need,” so it can skip the extra work and read them directly. And bypassing SQLite’s normal query engine cut the time to load the feed from 16.7 ms to 5.4 ms. Congrats @hargup13!
It's official now, my Lean 4 submission is #1 on "$12 server challenge", serving more users than Rust, C or even hand written assembly. The creator of a the challenge did a pretty good job explaining how Lean 4 allows you to create software even more optimized than handwritten C.
5
23
4
262
12,355
Highlighting two great sites for the latest on Lean, both built and curated by @soonhokong . 📄 𝐏𝐚𝐩𝐞𝐫𝐬 𝐖𝐢𝐭𝐡 𝐋𝐞𝐚𝐧: "arXiv papers that use Lean, the interactive theorem prover. Updated daily." You can browse by topic or by the last 7 or 30 days. paperswithlean.com 📰 𝐋𝐞𝐚𝐧 𝐖𝐞𝐞𝐤𝐥𝐲: News about Lean, from Lean core to verification to AI and formalization, organized by week. leanweekly.news We're grateful to Soonho for this work.
4
26
2
137
8,145
Software Verification in Lean on November 7 has reached in-person capacity! If you're interested in attending live, please join the waitlist: A livestream link will be shared with all waitlisted registrants a few days before the event.
Software Verification in Lean (SVIL) comes to Stanford University on Saturday, November 7. Co-organized by Beneficial AI Foundation and Lean FRO, it is a day of public lectures on advancing Lean’s software verification ecosystem toward production use, with a focus on end-to-end verification of security-critical systems. Talks will cover Rust verification with the Aeneas framework, low-level software verification, and formally verified OS kernels. Speakers include Max Tegmark, Shaowei Lin, Leonardo de Moura, Jonathan Protzenko, Andres Erbsen, and Mike Dodds. In-person space is limited. Non-local and waitlisted registrants will receive a livestream link, and recordings will be available afterward. Program and registration: beneficial-ai-foundation.git…
2
8
99
5,209
Congratulations to the Axiom team on this expansive undertaking.
The largest math proof in human history is now computer-verified. Today, Axiom announces a complete Lean auto-formalization of the Classification of Finite Simple Groups, the "periodic table of symmetry." About 15,000 pages, built by over 100 mathematicians across generations.
9
26
1
271
11,307
Software Verification in Lean (SVIL) comes to Stanford University on Saturday, November 7. Co-organized by Beneficial AI Foundation and Lean FRO, it is a day of public lectures on advancing Lean’s software verification ecosystem toward production use, with a focus on end-to-end verification of security-critical systems. Talks will cover Rust verification with the Aeneas framework, low-level software verification, and formally verified OS kernels. Speakers include Max Tegmark, Shaowei Lin, Leonardo de Moura, Jonathan Protzenko, Andres Erbsen, and Mike Dodds. In-person space is limited. Non-local and waitlisted registrants will receive a livestream link, and recordings will be available afterward. Program and registration: beneficial-ai-foundation.git…
4
60
2
365
35,347
Lean 4.35.0 is out: 214 changes. vcgen is a faster and more general successor of mvcgen. lake check and lake comparator check a project with Lean's kernel and, if requested, several independent kernels. lean-lang.org/doc/reference/…
6
25
1
162
16,756
Lean 4.34.0 is out: 159 changes. Three kernel soundness vulnerabilities fixed, all requiring deliberately constructed inputs rather than ordinary code. 𝚋𝚟_𝚍𝚎𝚌𝚒𝚍𝚎 is up to 6x faster. lean-lang.org/doc/reference/… #LeanLang #LeanProver
18
40
254
9,147
con-leche, a CONsistent LEan CHEcker: an external Lean checker proven (in Lean) to be consistent, meaning it does not accept a proof of False. A project conceived by Joachim Breitner (@nomeata): github.com/leanprover/con-le… #leanprover #leanlang #lean4
12
27
2
249
11,350
Like everyone else, we were taken completely by surprise by the breakthrough news on Navier-Stokes. The Lean formalizations can be explored here: 🔗Alpöge and Buckmaster: github.com/tristanbuckmaster… 🔗OpenAI: github.com/openai/NavierStok…
The news today of progress on resolving the Navier–Stokes problem, one of mathematics’ great longstanding challenges concerning the equations that govern the flow of fluids, represents a milestone advance in human knowledge. This story began with Navier, Stokes, Leray, and Ladyzhenskaya and has culminated in the recent breakthroughs of Córdoba and Martínez-Zoroa, then — assisted by new technologies — Alpöge and Buckmaster, with the final steps taken by OpenAI mathematicians. The purpose of mathematics is human understanding, and this achievement, and the process that led to it, will bear fruit for a long time to come. Ravi Vakil, President of the AMS, and John Meier, CEO of the AMS Read more. Link in comments.
29
178
8
1,206
196,787
Replying to @AnthropicAI
@AnthropicAI has shared the first end-to-end, computer-checked proof of Fermat's Last Theorem: 13 million lines of Lean, 29,500 intermediate theorems. Their announcement calls it "the largest Lean proof ever constructed." See also Kevin Buzzard's blog post about the proof: xenaproject.wordpress.com/20… 🔗 Anthropic's announce post: anthropic.com/research/forma… 🔗 The code: github.com/anthropics/fermat… #LeanLang #LeanProver #FLT
40
467
74
1,942
245,807
We're excited to be working with @SAIRfoundation on the Lean Kernel Challenge. More info below. #LeanLang #LeanProver
SAIR's next competition has arrived: the Lean Kernel Challenge, co-organized with @leanprover. Improve the performance of verified computation in the Lean 4 kernel that the whole community can benefit from. Stage 1 pre-registration is open. Official launch: Sep 15. competition.sair.foundation/…
2
7
64
8,995