Lean
16 repositories, by attention
- Repositories
- 16
- New this week
- 1
- Total ★
- 24,702
A Lean 4-verified CLI for checking murder-mystery scenario logic — mmcheck is a CLI that detects contradictions in murder-mystery scenarios (timeline, possessions, knowledge, goals/endings). Its Go implementation is differential-tested against a Lean 4 formal spec and proofs as oracle, with commands supporting AI generate-check-fix loops.
A machine-checked Lean proof claiming to settle the Riemann Hypothesis — This research artifact offers a Lean 4 formalization of the Riemann Hypothesis and its generalized form for Dirichlet L-functions, built on Mathlib from Levent Alpöge's proof sketch with Claude. It compiles and passes axiom checks, but no mathematician has reviewed it and no paper accompanies it yet.
Anthropic's machine-checked Lean 4 proofs of major open math results — Anthropic publishes Lean 4 formalizations of significant theorems, including a claimed refutation of the Exponential Time Hypothesis by their Claude model, alongside human-authored proofs on zeta zeros and 3SUM/APSP complexity bounds. Each project is a self-contained Lake build submitted to the Palomar verification registry.
Independent verification infrastructure for the claimed Riemann Hypothesis Lean proof — This repo sets up a Comparator config and community build cache around the Lean source submitted for Alpöge's November 2026 claimed proof of the Riemann Hypothesis and GRH for Dirichlet L-functions. It preserves the original submission commit, documents cleanup edits, and lets anyone fetch a 4.94GB cache to build and independently check the five stated theorems against Mathlib.
Lean-formalized proofs separate NP_R, Σ2_R, BIP_R from PAR_R via the permanent — This repo presents new complexity-theoretic separations in the Blum–Shub–Smale real/complex model, showing the permanent's graph lies in PAR_R but outside NP_R, Σ2^R, Arthur–Merlin, and BIP_R. The proofs were largely developed through AI conversations (Claude, ChatGPT) and are formalized in Lean 4, though not yet peer reviewed—of interest to researchers in algebraic complexity theory.
Lean 4 formalization behind a claimed Navier–Stokes blow-up proof — This repository pairs a paper claiming finite-time blow-up for the Navier–Stokes equations (Alpöge & Buckmaster) with its Lean 4/Mathlib formalization: statement files state the theorems, a ~600,000-line library proves them, and comparator JSON files pin which axioms and theorem names must match. Useful for anyone checking the formal side of a major PDE result; note the numerical certificate itself is not included.
Lean-verified proofs that several classic solids are not Rupert — This repo formalizes in Lean that polyhedra like the snub dodecahedron, snub cube, and two Catalan solids are Noperts (shapes that can't pass through a copy of themselves), rounding out the classification of all Platonic/Archimedean/Catalan solids. It also verifies a fixed nopert candidate and introduces the Septopert, the smallest known 7-vertex Nopert.
A proof-carrying checker that catches what tsc lets slip through — TScert is an independent TypeScript checker whose soundness is proved in Lean; it accepts a function only when a machine-checked proof shows every operation stays within its declared types. It rejects code tsc's strict mode still lets pass, like reading past an array after pop(), targeting developers who want stronger-than-tsc guarantees on specific functions.
OpenAI's model-generated math proofs, with Lean formalizations in progress — A collection of 719 mathematical manuscripts in 372 families produced by an internal OpenAI model tackling open research problems, released as model-development evaluations saturated on existing benchmarks. About 42% of top-line results have Lean formal proofs so far, with reasoning summaries and a comparator tool included for verification.
Can a web backend be proved correct and still be fast?
Lean 4 compiles to WebAssembly for Node, Bun, Deno and edge runtimes — Lasm ships Lean 4, Lake and its build tools via npm, letting you compile ordinary Lean programs ahead of time to WebAssembly and deploy the same code as a Node server, serverless/edge function, WASI module or browser app. Because it's Lean, you can formally prove properties of deployed code; the flagship Conduit example ships with 117 proved theorems.
A complete Lean 4 formalization of Spivak's Calculus, both editions — This project formalizes every theorem, definition and problem from Spivak's Calculus (3rd and 4th editions) in Lean 4, using Spivak's own definitions rather than Mathlib's shortcuts. It also proves e and π are transcendental and includes Liouville's theorem on elementary integration, of interest to formal-math and Lean enthusiasts.
Formal Lean proof verifies the optimal 11-square packing — This repository imports a fully verified Lean proof that the 11-square packing problem's optimal side length equals a specific algebraic root. All 7,920 modules passed with zero admissions, using native_decide for numerical certificates while geometry and assembly stay in ordinary Lean proofs. Useful for researchers studying formal verification of combinatorial geometry results.
A Fast Algorithm for Elliptic-Curve Discrete Logarithms: Lean 4 formalization and supporting code