RLT-FRO
Proof assistants · Mathematical logic · RLT-LEAN-001

How does Lean check a proof?

Formal statements. Explicit proof terms. A small trusted kernel.

Lean is a programming language and interactive theorem prover. AI can propose long formal proofs; Lean's kernel checks their exact logical content against a declared proposition, rather than relying on confidence in the author or AI model.

December 5, 2026 · RLT explanation and reading-point specification · No original Lean proof replay claimed here

2013

Leonardo de Moura began Lean at Microsoft Research.

2022

Liquid Tensor Experiment completed in Lean on July 14.

2023

Leonardo de Moura and Sebastian Ullrich founded the nonprofit Lean FRO.

Mathlib

Open mathematical library of definitions, proofs, and reusable formal infrastructure.

Proof checking versus compilation

What the kernel actually accepts

A tactic script may generate a proof term, and an elaborator resolves notation, implicit arguments, type classes and definitions. The trusted kernel checks the elaborated term against its exact theorem type.

Human theorem statement→Elaboration→Proof term→Lean kernel
\[\Gamma\vdash p : P\]

Read: under context \(\Gamma\), proof term \(p\) has type \(P\). The proposition-as-type correspondence makes verifying a proof a type-checking problem in Lean's foundational logic.

Minimal demonstration

One plus one

example : 1 + 1 = 2 := by
  rfl

The kernel can accept the elaborated proof of this exact equality. This is an illustrative Lean example, not a record of a command executed for this page.

Trusted core

Kernel versus tactics

Tactics help construct proof terms; the kernel checks them. Imported axioms, definitions and the exact proposition remain part of the trust and interpretation boundary. A successful project build by itself is not a full scientific audit.

Precise wording: “If it compiles, the logic has been checked” is a helpful introduction, but more accurately: when Lean's kernel accepts the elaborated proof term, the formal proposition is proved relative to the specified axioms and definitions. An intended informal claim still requires statement-fidelity review.
Historical precedents

From research mathematics to machine checking

Lean FRO

An independent Focused Research Organization

Founded in July 2023 by Leonardo de Moura and Sebastian Ullrich, the Lean FRO develops Lean, its tooling and mathematics infrastructure. It is a separate FRO from RLT-FRO.

Lean FRO history ↗
Liquid Tensor Experiment

Completed July 14, 2022

The community formalized a main theorem of liquid vector spaces from the work of Dustin Clausen and Fields medallist Peter Scholze. This established a landmark example of Lean's use for demanding research mathematics.

Completion announcement ↗

The dates and organizations are attributed to official Lean and Lean community sources; they are historical context, not new RLT proof results.

AI-assisted proofs · RLT audit framework

Proof checking answers a precise question

01 · Statement fidelity

Does the elaborated formal statement correspond to the mathematical claim people think was proved? Inspect definitions, simplifications, imports and equivalences.

02 · Kernel validity

Does a checker accept the proof term for the specified theorem under its permitted axioms and trusted definitions?

03 · Reproducibility

Can an independent party pin source and toolchain revisions, rebuild, inspect assumptions and replay the proof without changing the claim?

04 · Scientific correspondence

Where the theorem describes a physical system, do actual measurements justify the model's assumptions and conclusions? Formal proof and physical measurement remain distinct evidence.

RH connection: The recent Lean Riemann Hypothesis discussion is a concrete case where kernel acceptance, intended theorem fidelity, mathematical exposition and Clay's evaluation must be kept separate. See RLT-RH-001.
Research registration · December 5, 2026

A public explanation, not an independent Lean replay

This page reports established Lean documentation and historical examples. It proposes an RLT verification framework and points to the existing RLT-RH-001 specification. No new theorem, checker build, or third-party proof acceptance is claimed.

Scope

Official documentation referenced
YES
Historical dates checked
YES
New Lean replay
NONE
RLT-RH-001 cross-reference
YES

Sources and related work