Lean (@leanprover)

@leanprover reposted
Scott Armstrong @scottnarmstrong 2026-11-23T10:48:36.000Z

It's simply incredible how important the Lean 4 proof assistant has become to mathematics. What would Levent have done without lean or something equivalent? He would be trapped in a gravitational black hole of slop and if he ever managed to put something out it would take the community a very long time to digest this proof. With lean, verification is nearly instantaneous and digestion and simplification are going to happen incredibly fast I hope finally that mathematicians will stop asking "but what is the point of Lean? Why do you want to formalize mathematics in Lean?" I hope the answers to these questions are very obvious now, even if they weren't obvious in the spring/early summer (even to some mathlib maintainers!) To the extent that some mathematicians are STILL questioning the validity of Levent's proof, or who still don't understand what formalization means, and so forth: come on, guys!

731 66 105602 47 17
Lean @leanprover 2026-11-21T15:12:54.000Z

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: https://leanprover-community.github.io/blog/posts/riemann-hypothesis/

29535 5482 3774628 590 2213
Lean @leanprover 2026-11-19T20:43:51.000Z

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 https://t.co/YCb6cNEWAp. 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: https://lean-lang.org/doc/reference/latest/releases/v4.37.0/

131 16 16427 2 4
@leanprover reposted
Alex Kontorovich @AlexKontorovich 2026-11-18T22:12:21.000Z

Huge congrats to Johan Commelin and Adam Topaz on being awarded the inaugural AMS @amermathsoc "Milestone Prize"!! According to the award citation, "This project transforms the Liquid Tensor Experiment into a landmark demonstration and methodology for formalizing frontier-level mathematics in Lean while also demonstrating that state of the art mathematics can be formalized sufficiently quickly to contribute to the real-time verification and digestion of contemporaneous research advance."

61 9 5223 2 1
Lean @leanprover 2026-11-17T18:00:03.000Z

๐‹๐ž๐š๐ง ๐Ÿ’.๐Ÿ‘๐Ÿ”.๐ŸŽ ๐ข๐ฌ ๐ฅ๐ข๐ฏ๐ž! 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 ๐Ÿ”— ๐…๐ฎ๐ฅ๐ฅ ๐ซ๐ž๐ฅ๐ž๐š๐ฌ๐ž ๐ง๐จ๐ญ๐ž๐ฌ: https://lean-lang.org/doc/reference/latest/releases/v4.36.0/ #LeanLang #LeanProver #FormalVerification

264 42 15912 6 2
@leanprover reposted
&Truth @andTruthPBC 2026-11-12T16:50:20.000Z

3/5 Mathematical proof offers fundamentally stronger assurance: establishing that code meets precise requirements, under explicit assumptions. &Truthโ€™s proofs can be independently checked using Lean. Our initial focus is memory safety and absence of undefined behavior.

8 1 1174 1 0
@leanprover reposted
Tudor Achim @tachim 2026-11-17T01:11:49.000Z

Lean has been integral and foundational to everything we've done at Harmonic. Huge fans of the FRO, the team, and the ecosystem.

@leanprover

Great to see Lean being used for Rust verification!

51 5 2160 4 0
Lean @leanprover 2026-11-16T21:43:36.000Z

Great to see Lean being used for Rust verification!

@HarmonicMath

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.

335 33 20568 7 3
@leanprover reposted
Bartosz Naskrฤ™cki @nasqret 2026-11-11T03:06:40.000Z

I think I took my theorem proving classes too seriously. Thanks to @145k4 I was able to run (Lean)DOOM, tick by tick. We exit Hangar without firing a shot. A fireball is still in flight. We proved complete runs of Hangar and Nuclear Plant in our version of (Lean)DOOM. Each run is completely verified in Lean and the runs of the players can be certified too. So can you prove to me that you can finish each level? The game is fully playable and we can build live the proofs from the game too. So much fun!

159 26 12358 12 5
Lean @leanprover 2026-11-10T22:31:21.000Z

๐‹๐ž๐š๐ง ๐…๐‘๐Ž ๐ข๐ฌ ๐ก๐ข๐ซ๐ข๐ง๐  ๐š ๐“๐ž๐œ๐ก๐ง๐ข๐œ๐š๐ฅ ๐‚๐จ๐ฆ๐ฆ๐ฎ๐ง๐ข๐œ๐š๐ญ๐ข๐จ๐ง๐ฌ & ๐‚๐จ๐ง๐ญ๐ž๐ง๐ญ ๐‹๐ž๐š๐ 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. ๐…๐ฎ๐ฅ๐ฅ ๐ฃ๐จ๐› ๐ฉ๐จ๐ฌ๐ญ๐ข๐ง๐  ๐š๐ง๐ ๐š๐ฉ๐ฉ๐ฅ๐ข๐œ๐š๐ญ๐ข๐จ๐ง: https://jobs.lever.co/convergentresearch/4801ec98-7954-49f8-b4ee-cb3f12b18a09 #LeanLang #LeanProver

88 20 10655 5 4
@leanprover reposted
Swarat Chaudhuri @swarat 2026-11-10T13:33:14.000Z

Thrilled to announce that our @GoogleDeepMind team has cracked a major challenge in software engineering and cybersecurity: formally verifying a real-world implementation of the #Signal cryptographic protocol at the machine-code level. This proof was done using AlphaProof Code, our new AI framework for formal specification and verification. * Paper: https://deepmind.google/documents/36/Formal_Verification_of_Signal_4.pdf * Lean code: https://github.com/google-deepmind/code-verification * DeepMind blog post: https://deepmind.google/blog/introducing-alphaproof-code/ A huge shoutout to my amazing teammates: @tchajed, @FerrousAndrew, Jonathan Katz, @pushmeet, @antonkovsharov, Karn Seth, Sam Schlesinger, @RandomlyWalking. I started working on formal software verification 20+ years ago as a grad student. I was persuaded by Dijkstra and other computer science pioneersโ€™ vision of programming backed up by mathematical theorems. At that time, we had to choose between automated code analysis algorithms that scaled but could only prove shallow properties, and deep manual verification that took decades of expert human work. Thanks to progress in AI for mathematical reasoning, we donโ€™t have to make that choice any more. Over four weeks in October 2026, AlphaProof Code agents generated more than 6 million lines of machine-checked Lean proof. We proved deep computational and symbolic security properties of the entire protocol core of Signal, all the way down to the ARM machine-code level. This is just the first step, of course, because our goal is nothing short of verifying the worldโ€™s software infrastructure. Most cyberattacks, including the AI-powered ones recently in the news, happen because of preventable code bugs. I expect that agents for formal code analysis will eliminate these bugs one category at a time. As our paper explains in more detail, this doesnโ€™t at all mean humans are out of the picture! Proofs are now largely automated, but human experts will need to decide what is proved with AI assistance. AlphaProof Code offers an early glimpse of what such human-AI collaboration could look like, but many other proposals of this nature will emerge. We have released all our Lean specs and proofs and plan to work with the open-source community on improving them. If you are building critical software and would like to apply these ideas, come talk to us!

1076 154 61776 50 29
@leanprover reposted
David Andrews @broyojo42 2026-11-09T17:34:15.000Z

I had Opus 5.5 formalize CPython in Lean: 613,318 lines of Lean that copy Python's internals line by line, tested against the real interpreter and checked by Lean. On the way it found real bugs in Python, including crashes from plain Python code. ๐Ÿงต https://t.co/tjiHbXmph3

2495 231 164458 64 34
Lean @leanprover 2026-11-07T17:39:11.000Z

Software Verification in Lean is live now! You can still register via Luma to access the livestream link: https://luma.com/kytl0zlj

@leanprover

We're very excited for ๐—ฆ๐—ผ๐—ณ๐˜๐˜„๐—ฎ๐—ฟ๐—ฒ ๐—ฉ๐—ฒ๐—ฟ๐—ถ๐—ณ๐—ถ๐—ฐ๐—ฎ๐˜๐—ถ๐—ผ๐—ป ๐—ถ๐—ป ๐—Ÿ๐—ฒ๐—ฎ๐—ป tomorrow! The in-person event is full, but livestream spots remain open: Register on Luma to receive the link: https://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: https://beneficial-ai-foundation.github.io/SVIL2026_Fall/

107 9 7160 3 0
Lean @leanprover 2026-11-06T17:40:59.000Z

We're very excited for ๐—ฆ๐—ผ๐—ณ๐˜๐˜„๐—ฎ๐—ฟ๐—ฒ ๐—ฉ๐—ฒ๐—ฟ๐—ถ๐—ณ๐—ถ๐—ฐ๐—ฎ๐˜๐—ถ๐—ผ๐—ป ๐—ถ๐—ป ๐—Ÿ๐—ฒ๐—ฎ๐—ป tomorrow! The in-person event is full, but livestream spots remain open: Register on Luma to receive the link: https://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: https://beneficial-ai-foundation.github.io/SVIL2026_Fall/

@leanprover

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: https://beneficial-ai-foundation.github.io/SVIL2026_Fall/

220 24 18569 11 2
@leanprover reposted
Axiom @axiommathai 2026-11-04T17:13:19.000Z

Most think vibecoding at scale is slop. Hereโ€™s a counterexample. Today we release a 16M-line formalization of the entire Stacks Project, critical infra underlying modern math, with optimized code quality and its highly interconnected structure preserved. A mathematical city ๐ŸŒ† https://t.co/KMTNXpdr6s

6886 1498 7017443 855 330