mimirwiki.com/wiki/lean-theorem-prover
rev 67e7441eUpdated 2026-11-24EN · KO · JA · ZH · ES · DE · FR · PT · RU · IT · HI · AR
Organization/Technology and AI

Lean (Theorem Prover)

Open-source functional programming language and interactive proof assistant (Lean 4)

Expert review pending
From public information · owner unconfirmedWritten automatically from public sources12 sources
View the page in the format AI receives
Summary

Lean (Lean 4) is an open-source programming language and proof assistant published under the Apache-2.0 license and supported by the Lean Focused Research Organization. As of 2026-11-24, its latest stable release is v4.36.0 (2026-11-16) and v4.37.0-rc1 (2026-11-18) is a release candidate; on 2026-11-23, Google DeepMind open-sourced a Lean 4 quantum-program verification library, specifications, and proofs.

Latest stable release
v4.36.0 (2026-11-16)5as of 2026-11-24
Current release candidate
v4.37.0-rc1 (2026-11-18, pre-release)6as of 2026-11-24
Lean 4 first official release
v4.0.0 (2023-09-08)4
License
Apache-2.03

Lean is an open-source programming language and interactive proof assistant designed to write formally verified mathematical proofs and software. Its repository is published under the Apache-2.0 license and its development is supported by the Lean Focused Research Organization. Lean 4 had its first official release (v4.0.0) on 2023-09-08. As of 2026-11-24, the latest stable release is Lean 4.36.0 (released 2026-11-16), while Lean 4.37.0-rc1 was published on 2026-11-18 as a pre-release candidate, followed by a matching Mathlib pre-release on 2026-11-19 and Google DeepMind's 2026-11-23 public release of Lean 4 quantum-program verification materials.

Also known as Lean 4, Lean theorem prover, Lean programming language

01

Lean overview and organization

Government and public records Academic and news Official sites

Lean is an open-source programming language and proof assistant that enables users to write formal mathematical proofs and verified software.13 The Lean 4 repository is published under the Apache-2.0 license, and the Lean Focused Research Organization (Lean FRO) states that it supports Lean's growth.23

Lean FRO states that its mission is to advance Lean's critical systems and capabilities, and lists focus areas including scalability, usability, proof automation, documentation, a diverse community, and support for AI research and verified code synthesis.2 Built-in automation examples highlighted on the official Lean site include the grind tactic for induction, algebraic reasoning, and SMT-like reasoning, as well as bv_decide for deciding bitvector equations.1 The Lean 4.0.0 release notes describe Mathlib as Lean's major mathematical library (mathlib4), and projects are managed with the lake build tool and elan toolchain manager.49

02

Lean 4 release history and November 2026 versions

Lean 4 reached its first official release with v4.0.0 on 2023-09-08, when the developers announced plans for approximately monthly minor releases.4

VersionTypeRelease dateNotes
v4.0.0Stable2023-09-08First official release of Lean 4
v4.36.0Stable (Latest as of 2026-11-24)2026-11-16Latest stable release tag on GitHub
v4.37.0-rc1Release candidate (pre-release)2026-11-18370 landed changes; subject to change before final release

As of 2026-11-24, v4.36.0 (released 2026-11-16) is the latest stable release of Lean 4.5 On 2026-11-18, the project published v4.37.0-rc1, explicitly labeled as a release candidate rather than a final release.6 Its release notes record 370 landed changes, including 71 feature additions, 159 fixes, 108 performance improvements, 7 refactoring changes, 4 test suite improvements, 1 documentation improvement, and 20 other changes, one of which adds the option shiftLeft.threshold (default 65536).6 On 2026-11-19, leanprover-community/mathlib4 tagged pre-release v4.37.0-rc1 to bump its toolchain to the release candidate.7

03

Lean in formal verification and the November 2026 DeepMind release

Lean FRO names formal mathematics and software and hardware verification among the fields where Lean is applied.12 On 2026-11-23, Google DeepMind announced the public release of verification materials on GitHub for quantum programs synthesized with Google Gemini (Gemini 4) agent teams and checked in Lean 4.89

The open-sourced repository (google-deepmind/formal-quantum-computation, Apache-2.0 license) is grounded in quantum Hoare logic with classical variables and depends on Mathlib4 and QuantumInfo (part of Physlib).9 It separates three parts: the core QuantumComputation library (circuits, gates, registers, quantum Hoare logic, and resource counting), QuantumComputationSpecs (formal problem specifications and benchmark challenges), and a discoveries branch holding the reported programs and Lean proofs.912

The underlying research preprint (arXiv:2611.09822v3) was first submitted on 2026-11-06 and revised on 2026-11-16; the 2026-11-23 news event was the public release of the Lean library, specifications, and proofs, covered that day by The Next Web and QubitWire.8101112 Both DeepMind and QubitWire note that the reported resource reductions (such as an 11.8x reduction in a combined qubit-and-operation cost metric and 4,338 versus 5,650 error-corrected qubits for an inertial confinement fusion calculation) are mathematically verified against formal specifications and cost models rather than measured on physical quantum hardware, and the repository lists explicit costing of classical computation and control flow as planned future work.8912

04

Lean verification scope and limits

As noted in independent coverage of the DeepMind repository release, a machine-checked Lean proof confirms that a program satisfies its formal specification under the modeled cost assumptions, but does not by itself establish that those specifications or cost models match every physical hardware bottleneck or that external parties have independently reproduced the results.12

05

Frequently asked questions

What is the latest stable version of Lean 4 as of 2026-11-24?
As of 2026-11-24, the latest stable release of Lean 4 is v4.36.0, released on 2026-11-16. Lean 4.37.0-rc1, published on 2026-11-18, is a release candidate (pre-release) rather than a final release.56
What is Mathlib in the Lean ecosystem?
Mathlib (mathlib4) is Lean's major mathematical library. On 2026-11-19, the Mathlib repository published a v4.37.0-rc1 pre-release updating its toolchain to match Lean 4.37.0-rc1.47
What did Google DeepMind release for Lean on 2026-11-23?
On 2026-11-23, Google DeepMind announced the public release of its Apache-2.0 GitHub repository formal-quantum-computation, containing a Lean 4 quantum program library, formal problem specifications, and Lean proofs from its November 2026 preprint.8910
Did the DeepMind Lean release demonstrate execution on a physical quantum computer?
No. The 2026-11-23 announcement was the public release of Lean verification materials, and the reported resource improvements come from formal specifications and mathematical cost models rather than timing on physical quantum hardware.812
06

Quotable sentences

Each sentence has a source, so you can quote it as it is.
  1. Lean is an open-source programming language and proof assistant licensed under Apache-2.0 and supported by the Lean Focused Research Organization.123
  2. Lean 4.0.0, the first official release of Lean 4, was published on 2023-09-08.4
  3. As of 2026-11-24, Lean v4.36.0 (released 2026-11-16) is the latest stable release on GitHub.5
  4. Lean 4.37.0-rc1 was published on 2026-11-18 as a release candidate with 370 landed changes, and Mathlib published a matching v4.37.0-rc1 pre-release on 2026-11-19.67
  5. On 2026-11-23, Google DeepMind open-sourced its Lean 4 quantum-program verification library, problem specifications, and verified solutions in google-deepmind/formal-quantum-computation.89
  6. The accompanying preprint arXiv:2611.09822v3 was submitted on 2026-11-06 and revised on 2026-11-16, and its reported circuit cost figures are derived from formal models rather than physical quantum hardware runs.1012
07

Timeline

  1. Lean 4.0.0 is released as the first official release of Lean 4.4
  2. Authors submit preprint arXiv:2611.09822 on discovering formally verified quantum programs in Lean with Gemini 4 agents (revised to v3 on 2026-11-16).10
  3. Lean v4.36.0 is published as a stable release on GitHub.5
  4. Lean 4.37.0-rc1 is published as a release candidate with 370 landed changes.6
  5. Mathlib (mathlib4) publishes pre-release v4.37.0-rc1 updating its toolchain to Lean 4.37.0-rc1.7
  6. Google DeepMind announces the public release of its Lean 4 quantum-program verification library, problem specifications, and verified solutions on GitHub.89
08

Sources

12 sources

Academic and news

  1. 10
    Discovering formally verified quantum programs with AI · arXiv · published 2026-11-16 · checked 2026-11-24https://arxiv.org/abs/2611.09822v3
  2. 11
    DeepMind's AI agents found cheaper quantum algorithms, and proved them · The Next Web · published 2026-11-23 · checked 2026-11-24https://thenextweb.com/news/google-deepmind-gemini-agents-quantum-algorithms-lean
  3. 12
    Google opens the proofs behind its AI-designed quantum programs · QubitWire · published 2026-11-23 · checked 2026-11-24https://qubitwire.com/articles/google-deepmind-quantum-program-proofs-public-release

Official sites

  1. 1
    Lean Programming Language · Lean Focused Research Organization · checked 2026-11-24https://lean-lang.org/
  2. 2
    Lean Focused Research Organization · Lean Focused Research Organization · checked 2026-11-24https://lean-fro.org/
  3. 3
    leanprover/lean4: Lean 4 programming language and theorem prover · Lean Focused Research Organization · checked 2026-11-24https://github.com/leanprover/lean4
  4. 4
    Release v4.0.0 - leanprover/lean4 · Lean Focused Research Organization · published 2023-09-08 · checked 2026-11-24https://github.com/leanprover/lean4/releases/tag/v4.0.0
  5. 5
    Release v4.36.0 - leanprover/lean4 · Lean Focused Research Organization · published 2026-11-16 · checked 2026-11-24https://github.com/leanprover/lean4/releases/tag/v4.36.0
  6. 6
    Lean 4.37.0-rc1 (2026-11-18) · Lean Focused Research Organization · published 2026-11-18 · checked 2026-11-24https://lean-lang.org/doc/reference/latest/releases/v4.37.0/
  7. 7
    Release v4.37.0-rc1 - leanprover-community/mathlib4 · Lean Community · published 2026-11-19 · checked 2026-11-24https://github.com/leanprover-community/mathlib4/releases/tag/v4.37.0-rc1
  8. 8
    Finding faster quantum algorithms with agents and formal verification · Google DeepMind · published 2026-11-23 · checked 2026-11-24https://deepmind.google/blog/finding-faster-quantum-algorithms-with-agents-and-formal-verification/
  9. 9
    google-deepmind/formal-quantum-computation · Google DeepMind · checked 2026-11-24https://github.com/google-deepmind/formal-quantum-computation
09

Review and writing

review signature

Expert review pending

When a credentialed expert reviews this page, the reviewer's name and the review date appear here. (Current version 67e7441e)

How this page was written

Written automatically from the public information in the sources above.

10

Version

SHA-256

67e7441e6a7932ee0dbba35dc0a3d34393f73ef2df3f56ba1e528b462bc710b3

Each edit gives the page a new version number.

Cite this page

Mimirwiki. "Lean (Theorem Prover)." Version 67e7441e, 2026-11-24. https://mimirwiki.com/wiki/lean-theorem-prover

Formats for AI
# Markdown
curl https://mimirwiki.com/wiki/lean-theorem-prover.md

# JSON-LD, by content negotiation
curl -H "Accept: application/ld+json" \
  https://mimirwiki.com/wiki/lean-theorem-prover

Add an extension to the address to get the same content in that format.