What is Lean?
On this page
Lean 4 is a proof assistant where every theorem is a type and every proof is a program term checked against a small core logic (the Calculus of Inductive Constructions with a non-cumulative universe hierarchy, proof-irrelevant Prop, and built-in quotients). You never have to trust the human, tactic, or AI that found a proof — only the small kernel that type-checks it.
How verification works
Challenge) from proofs (Solution), verify exact signature match via the Comparator, and replay every proof through both Lean's kernel and the independent NanoDa Rust kernel (with automated, non-human editorial review).Allowed axioms vs. forbidden shortcuts
Allowed (at most 3 standard axioms)
propextLogically equivalent propositions are equal.Quot.soundQuotient equivalence (yields function extensionality).Classical.choiceChoice and classical logic (excluded middle).
#print axioms must stay within these three (equiconsistent with ZFC plus finite inaccessible cardinals).
Forbidden on this site
sorryAxFromsorryoradmit— leaves a claim unproved.native_decideAddsLean.ofReduceBool, trusting the compiler instead of the kernel.axiomAny custom unproven assumption.unsafe·@[implemented_by]·@[extern]Runtime and compiler escape hatches.
Enforced automatically on every shipped .lean archive here: 0 sorry, 0 native_decide, and 0 custom axioms in any proof file.
The trust boundary
Guaranteed
- Deductive validity: the formal Lean statement follows strictly from its definitions and the standard axioms — no missing cases or silent leaps.
- Shared definitions: building on Mathlib or Lean core types (
Nat,Int,Rat,Finset) minimizes custom definitions to inspect. - Reproducibility: anyone with the pinned toolchain can rebuild and re-check from source.
Not guaranteed
- Statement fidelity: Lean checks the formal statement, not that it matches the English paper — a narrowed quantifier or vacuous premise still type-checks.
- Parts outside Lean: external certificates or written proofs sit outside the kernel, so this site reports exact per-claim Lean and Palomar compared denominators.
- Prior work & human review: Lean cannot judge literature overlap or significance; every result logs prior-work searches and stays
Unrefereeduntil human peer review.
Check a result yourself
-
Read the statements
Compare the
.leandefinitions and theorem signatures (or PalomarChallenge.lean) against the English claims. -
Rebuild & audit axioms
Unzip the archive or clone the GitHub repo, run
lake build, and confirm#print axioms <Name>uses only standard axioms. -
Check the scope rows
Read
Headline in Lean,Lean share, andRegistry(badge guide →) to see what sits inside vs. outside Lean.