← all systems · see it in The System
Proof assistant
| boundary | Inside: the proof editor and the formal text (definitions, statements, tactic scripts), the elaborator that turns text into terms, the tactics and automation that propose proof steps, the small trusted kernel that checks each inference in the chosen logic (set theory, simple type theory / higher-order logic, or dependent type theory), and the library of checked results with the people and tools that maintain it. Outside: the users (mathematicians, engineers), the informal mathematics and the specifications being formalised, outside automated provers and language models that propose proofs, independent checkers, the compiler, operating system and processor the kernel runs on, and the mathematical and engineering communities that take the results up. Where the kernel ends is itself argued over (Lean and Rocq put inductive types in the kernel; Isabelle and HOL build them outside it: src:paulson-2026-collatz). |
| nested level | Software (rung 12) running on a computer; built from editor, elaborator, tactics, kernel and library; part of formal verification and of mathematics' checking floor (the mathematical-proof walk's L5 b-check and machine-checker channel). Its output (checked theorems, verified programs, pass/fail verdicts) is the medium others build on. |
| scale | technological |
From the walk
In July 2026 a 'disproof' of the Collatz conjecture, written with AI help, passed Lean's kernel and an independent checker too, because both had the same kind of hole; people boiled it down to a proof that False is true, the kernel was fixed an hour after the report, and the 'disproof' evaporated (src:demoura-2026-postmortem; src:paulson-2026-collatz).
Definition. In computer science and mathematical logic, a proof assistant or interactive theorem prover is a software tool to assist with the development of formal proofs by human-machine collaboration: a person (or, now, a program) writes definitions, statements and proof steps in a formal language, the system supplies some steps, and a small trusted kernel checks every inference against the rules of the logic it implements. The machine and its practice (the people who build, use, maintain and audit it) are both walked. Definition drawn from the encyclopedia entry (Wikipedia, CC BY-SA).
On this page: Properties 3 · Measures 34 · Open contentions 3 · Cross-scale patterns 24 · Valence partners 17 · Partners and parts 94 · Notes 5 · Layers 51 · Sources 47
Properties published scienceour proposal
Sourced fields, and our own readings.
| aliases | Proof assistant (Metamath, Lean, Isabelle and the like) |
| born at | 1967 (Automath); 1968 and 'around 1970' in other sources |
| born precision | about 3 years |
Measures (34) published science
| characteristic clock: kernel soundness report to fix (Lean, July 2026) | 1 hour |
| Collatz false disproof: publication to issue | 3 days (25 to 28 July 2026) |
| Flyspeck main verification | about 5 hours on a laptop |
| Flyspeck nonlinear inequality verification | about 5000 CPU hours (cloud) |
| Flyspeck proof scripts | about 500,000 lines |
| Flyspeck effort | about 20 work years |
| Kepler conjecture refereeing | 12 referees; nearly 8 years from submission to full publication |
| HOL Light kernel size | a few hundred lines of code |
| four colour formal proof | about 60,000 lines; 2,500 lemmas; about 200 lines to read for the statement |
| four colour check time | 3 days (Coq 7.3.1) against 3 hours for Robertson et al.'s programs ten years earlier |
| odd order formal development | more than 150,000 lines; about 4,000 definitions; about 13,000 theorems |
| odd order expansion | 4-5 lines of SSReflect per line of informal text (about 250 pages to about 40,000 lines) |
| de Bruijn factor (formal text length over informal LaTeX length) | about 4 ratio |
| CompCert Coq development | 42,000 lines; about 3 person-years; 76% of the lines are the correctness proof |
| AMD-K7 floating point proof input | about 250 definitions and 3000 lemmas |
| Mathlib size (2019) | 140k lines (from 15k two years earlier); 73 contributors; 11 maintainers |
| Mathlib size (2025) | 1.9 million lines |
| Mathlib maintainers and review (2025) | about 30 maintainers; about one in three merged pull requests approved first by a reviewer |
| Mathlib theorems and definitions (May 2025) | over 210,000 theorems; 100,000 definitions |
| other libraries (2020) | Mizar over 3.1 million lines; Isabelle about 900k plus 2.3 million in the Archive of Formal Proofs; HOL Light close to 800k; Metamath about 23,000 theorems and 600k lines |
| Lean community chat (2023) | almost 7,000 subscribers; 400-500 active per two weeks; 500-1,000 messages a day |
| whole-library recheck (Mathlib + Batteries + Lean) | 44.54 min (lean4checker, C++ kernel); 58.79 min (Lean4Lean); ratio 1.32 |
| FLT formalisation (Claude agents, 2026) | 11 days; about 13 million lines (over 13.4 million by Buzzard's count); 30,300 theorems; about six billion output tokens |
| Poincare formalisation (2026) | slightly more than two weeks; about $25,000; 3.2 million lines, about 2.8 million after extracting the final theorem's dependencies |
| AlphaProof training | about 1 million informal problems to about 80 million formal; about 80,000 TPU days; IMO 2024: 3 of 5 non-geometry problems |
| miniF2F end-to-end pipeline | about 36% end to end against 97% (autoformalisation) and 69% (proving) reported separately; 16 problems unprovable as stated; over 300 statements corrected; 70% on miniF2F-v2 |
| autoformalisation accuracy (2022) | 25.3% of competition problems translated perfectly to Isabelle/HOL |
| PutnamBench (2024) | 640 problems, 1692 formalisations; GPT-4 1/640 (Lean); DSP 4/640 (Isabelle) |
| DeepSeek-Prover-V2-671B (2025) | 88.9% on miniF2F-test; 47 of 658 PutnamBench problems (body of the version read; the arXiv record's abstract says 49) |
| OEIS Open (2026) | 147 of 492 (30%); 144 of 492 (29%) under Comparator |
| Wiedijk's 100 theorems (October 2026) | six systems over 70%; one at 100% |
| seL4 verification (2009) | 8,700 lines of C and 600 of assembler; 200,000 lines of Isabelle; about 20 person-years for the proof (11 seL4-specific); 144 defects found by verification |
| Coq critical bugs | about one a year critical kernel bugs per year (to 2019) |
| Metamath Zero check of set.mm | under 200 ms |
Open contentions (3) open contention
Where sources or readings disagree. Both stay on the map.
- C-2328 Is a computer-checked proof a real proof?
booked: The map keeps both views.
the other reading: more reliable 'by orders of magnitude' than peer review; no referee needed (src:hales-2017-flyspeck; Gowers via src:avigad-2023); a machine-verified proof carries 'a single bit'; 'correctness is not comprehension' (src:demillo-lipton-2026, preprint); mathematically the FLT formalisation 'tells us essentially nothing' (src:buzzard-2026-flt); 'Proofs should be survey-able in our mind' (the objection reported by src:barendregt-wiedijk-2005); the standing 1979 position: proofs 'increase our confidence ... only after they have been subjected to the social mechanisms of the mathematical community' (src:demillo-lipton-perlis-1979), restated by the same authors in 2026 - C-4347 Does an independent proof checker catch what the main one misses?
booked: The map keeps both readings side by side and rules on neither.
the other reading: the 2026 Lean kernel bugs other than #14576 'were caught by nanoda'; Lean4Lean's verification found one soundness bug (src:demoura-2026-postmortem; src:carneiro-2024-lean4lean); nanoda also accepted the Collatz exploit, and Paulson is 'not aware of a single instance where an independent proof checker detected a soundness error' (src:paulson-2026-collatz); (b) MetaRocq 'found a bug in Rocq'; Lean4Lean's verification found one soundness bug (src:carneiro-2024-lean4lean); base rate: 'on average, one critical bug has been found every year in Coq' (src:sozeau-2020-metacoq) - C-4363 Which was the first proof assistant?
booked: The map keeps both readings side by side and rules on neither.
the other reading: 1968 for Automath in Barendregt and Wiedijk's figure of the four 'prehistoric' systems (src:barendregt-wiedijk-2005); 'the first computational proof assistants around 1970' (src:avigad-2023); LCF, developed at Stanford and Edinburgh by Milner and collaborators 'in early 1970s' (src:wp:logic-for-computable-functions); Mizar, 1973 (src:barendregt-wiedijk-2005)
Cross-scale patterns seen here (24) our proposal
Shapes that recur when the same kind of problem is solved at different scales, and how each shows in Proof assistant. Each links to every other system that shows it.
- barrier-gates-complexity (structural)
The kernel is the seal between proposed proofs and theorems. With it, proofs far beyond any reader are accepted (60,000 lines for four colour 'need not be reviewed'; 13 million for FLT); without it, Kepler's computer proof exhausted twelve referees and was 'published without complete certification'. - causal ceiling (structural)
Two limits set by the structure, not the means: Lean cannot prove its own unconditional soundness ('We are up against Gödel's incompleteness theorem'), though its consistency relative to ZFC plus inaccessible cardinals is proved; and deciding in general whether an object defined in a text is well de - outside-to-inside (structural)
Checking moves from outside the proof (referees, the community) into the system: 'A proof assistant largely cuts the mathematical referees out of the verification process.' The outside phase came first (Kepler's twelve referees). Computation follows the same path: Kepler's C and C++ inequality progr - red-queen (structural)
Move and counter-move over the kernel. Lean 3: no kernel soundness bugs; Lean 4 added kernel features and 'some soundness bugs crept in'; Lean4Lean found one by failing a proof and it was fixed; in July 2026 an AI-assisted 'disproof' of Collatz got through both Lean and the independent nanoda checke - same role, different builds (structural)
The shared job: only steps that obey the logic's rules become theorems. Built differently: an abstract type in the implementation language (HOL Light, Isabelle), type checking of stored proof terms (Rocq, Lean), a fixed checker with no formal specification of what it accepts (Mizar). - templating (structural)
One module reused unchanged: Flyspeck's exported proof objects 'imported and replayed in HOL Zero'; SSReflect ported from Coq to HOL Light; the LCF architecture shared by the whole HOL family and Isabelle. - trade one property for another (structural)
Power and speed bought with kernel size: Lean 4's kernel was 'extended with various features for performance reasons' and soundness bugs crept in; the Poincare principle 'puts somewhat of a strain on the de Bruijn criterion'; Paulson: for soundness choose HOL Light or HOL4. The kinds sit at differen - Umwelt: each system carves its own slice of one shared medium (structural)
The assistant's slice of the shared medium is formal text only: its channels take statements and proof terms, never what the statement was meant to say ('one side of the "equivalence" is informal'). The meaning floor is filled by people. - who opens the door (structural)
The receiver builds the door ahead of time: in the LCF design the abstract type of theorems is 'an API for creating theorems', installed by the kernel before any proof arrives; tactics 'can only prepare candidate proofs and submit them to the kernel'. - borrowed-then-held (partial)
Lean 3 was 'implemented primarily in C++'; Lean 4 is self-hosting, its elaborator written in Lean; the kernel is still the C++ one and Lean4Lean aims to self-host it. Both phases shown for the front end, the held phase only begun for the kernel. - conservation law plus closure (partial)
A kernel's 'accepted' says the steps follow; it closes into a claim about mathematics only when people read the statement and definitions (Pollack: only 'the formal statement of the theorem, and the definitions used hereditarily ... must be read'). For CompCert, semantic preservation is closed by th - lightning (partial)
A stored flaw released all at once: the Collatz 'disproof' discharged a latent kernel bug through Lean and nanoda in July 2026, and afterwards the system was not the same (fixes, hardened invariants, nanoda run by default, regression tests). Lightning test: the kernel's one-bit verdict meets 'checki - namespace completeness (the map predicts its gaps) (partial)
The blueprint's dependency graph says which lemmas are ready (all their dependencies in place: a blue border), so the structure predicts the next gaps to fill; Wiedijk's list of 100 theorems is a catalogue, the dark twin. - partner-becomes-part (partial)
Outside automated provers called by hammers became built-in tactics: Lean's grind 'uses techniques from SMT solvers'. Separate identity and inheritance are not shown. - same shape, opposite sign (partial)
One translation process run both ways by the same model: formalisation (about 30% correct for competition statements) and informalisation (over 70% for harder material) (Wu et al., via Yang et al.). Also AlphaProof's actors tasked 'to either prove or disprove each statement'. - same toolkit, independent builds (partial)
Independent kernels built from one specification of Lean's logic (lean4checker, Lean4Lean, nanoda) check the same library; but Lean4Lean is a port and 'suffered from the same bug as the official kernel', the dark twin of shared ancestry. Hales and Ferguson's independent C and C++ codes for the same - seed (partial)
A dozen logical rules and a kernel of a few hundred lines underwrite libraries of hundreds of thousands of theorems and proofs of millions of lines: 'the dozen of logical rules' are all the checker needs to see. Whether this counts as unpacking new combinatorics or only as checking them is a reading - The carry (partial)
The wait: the chain cannot settle until its slowest step passes, and the sources name it: Kepler's nonlinear inequalities (about 5000 CPU hours) and Mathlib's reviewers ('Reviewer time ... is a massive bottleneck'). - The Payment to Entropy (partial)
Every hand-off from informal to formal pays a toll in length and time: the de Bruijn factor (a formal file about four times its LaTeX source); 4-5 lines of SSReflect per line of text; floating point 'slower by orders of magnitude' inside HOL Light; Coq took three days where the original programs too - the whole sets the local reference (partial)
The library fixes the reference each proof is measured against: FLT's statement was checked against 'Mathlib's own statement of FLT'; Poincare's targets were 'written using only Mathlib'. - holding / entrainment (surface)
The whole sets when its parts may enter and die: pull requests merge only when bors finds the main branch still builds; deprecated declarations are warned off and removed on the library's schedule. - nested ladder (surface)
A ladder of consistency strengths: Lean's logic is consistent relative to ZFC plus inaccessible cardinals, 'a higher consistency strength than ZFC'; each rung presupposes the ones below. - not-diluting wins (surface)
The trusted kernel stays a few hundred lines while libraries grow from 15k to 1.9 million lines and single proofs to 13 million; the part that does not grow is what everything rests on. It does not 'take over'. - symmetry breaking (name the cut) (surface)
The named cut is the choice of foundation: 'The decision to use an untyped framework like set theory or a typed alternative is fundamental', and what is built after depends on it (simple types cannot form R^n for variable n). No symmetric before is shown beyond 'formal axiomatic systems'.
Valence: what it trades, and with whom (17) published science
Each exchange with a neighbour, read from both sides: who gains, who pays, and what carries it.
- Human (Homo sapiens) via Written record (durable external marks: texts, archives, canon) · Proof assistant gain
- Peer review via Written record (durable external marks: texts, archives, canon) · Proof assistant gain
- Large language model via Written record (durable external marks: texts, archives, canon) · Proof assistant mixed
- LLM-based agent via Written record (durable external marks: texts, archives, canon) · Proof assistant mixed
- Mathematics (the field: the practice and the structures it studies) via Written record (durable external marks: texts, archives, canon) · Proof assistant gain
- Operating system via Computer hardware · Proof assistant gain
- Turing machine: the abstract machine that reads and writes one symbol at a time on an unbounded tape by a finite table of rules, the model of computation of logic and computer science via Written record (durable external marks: texts, archives, canon) · Proof assistant gain
- Compiler via Written record (durable external marks: texts, archives, canon) · Proof assistant gain
- Physics (the field) via Written record (durable external marks: texts, archives, canon) · Proof assistant gain
- Computer hardware via Computer hardware · Proof assistant gain
- Set theory: the study of sets (collections taken as single objects), membership, Cantor's infinities and the axioms, and the practice of the people and machines who work with them via The world through the senses (sensory environment) · Proof assistant gain
- Riemann hypothesis: the claim that every non-trivial zero of the zeta function has real part one half, the structure it is about (the zeros and what they say about the primes), and the practice that tests, generalises and tries to prove it, up to the machine-checked Lean proof claimed in November 2026 via Computer · Proof assistant gain
- Formal security policy model via Written record (durable external marks: texts, archives, canon) · Proof assistant gain
- Mathematical proof: the practice of showing that a statement follows from axioms and earlier theorems, how it is written, checked (by people and machines) and accepted, and the derivations it works on via Written record (durable external marks: texts, archives, canon) · Proof assistant gain
- Mathematical logic: the field that studies logic within mathematics (model theory, proof theory, set theory, computability theory) and the formal systems, structures and limit results it works on via Written record (durable external marks: texts, archives, canon) · Proof assistant gain
- Graph theory: the practice of studying vertices joined by edges (problems, proofs, algorithms, its people and books) and the graphs it works on via Written record (durable external marks: texts, archives, canon) · Proof assistant gain
- Automated theorem proving via Written record (durable external marks: texts, archives, canon) · Proof assistant gain
Partners and parts published science
Built from / builds (14)
- Set theory: the study of sets (collections taken as single objects), membership, Cantor's infinities and the axioms, and the practice of the people and machines who work with them
- Formal security policy model
- Mathematical proof: the practice of showing that a statement follows from axioms and earlier theorems, how it is written, checked (by people and machines) and accepted, and the derivations it works on
- Mathematical logic: the field that studies logic within mathematics (model theory, proof theory, set theory, computability theory) and the formal systems, structures and limit results it works on
- Competition for the authority to certify a proof (human refereeing against machine checking)
- Formal libraries (mathlib, Mizar, Metamath, Archive of Formal Proofs)
- Second- and higher-order logic
- Proof script (formal text)
- Proof editor and interface (Proof General, RocqIDE, Isabelle/jEdit, VS Code)
- Elaborator (front end)
- Tactics and automation (tactic language, decision procedures, hammers)
- Kernel (the trusted core)
- Dependent type theory (close relatives: Rocq's PCUIC and Lean's type theory, which differ in inductive types, cumulativity and quotients)
- Parser and pretty-printer
Sits inside / holds (3)
- Software
- Mathematics (the field: the practice and the structures it studies)
- Formal verification (hardware and software)
expressed by (28)
- Generation/Synthesis
- Recombination/Composition
- Scaffolding/Enablement (Meta-Tooling)
- Templating / Standardization
- Quality Improvement/Refinement
- Interoperability/Transduction (Bridging)
- Encapsulation & Modularity (Abstraction)
- Symbiosis/Co-Creation (Collaborative Specialization)
- Distributed Autonomy/Decentralized Execution (Subsidiarity)
- Internal Coordination/Regulation
- Search/Foraging
- Mapping/Modeling
- Navigation/Pathfinding
- Active Experimentation / Probing (Optimal Experimental Design)
- Trail-Marking / Externalized Memory (Stigmergy)
- Overcome Barrier
- Subversion & Co-optation
- Quick Harm Avoidance
- Reactive Response
- Proactive Defense
- Physical/Virtual Barrier
- Self-Monitoring
- Validation of Effectiveness
- Deception
- Resilience & Repair
- Redundancy & Diversity
- Triage & Prioritized Allocation
- Quality Control & Error Correction
floor filled by (27)
- Human (Homo sapiens)
- Peer review
- Large language model
- Mathematics (the field: the practice and the structures it studies)
- Compiler
- Computer hardware
- Set theory: the study of sets (collections taken as single objects), membership, Cantor's infinities and the axioms, and the practice of the people and machines who work with them
- Riemann hypothesis: the claim that every non-trivial zero of the zeta function has real part one half, the structure it is about (the zeros and what they say about the primes), and the practice that tests, generalises and tries to prove it, up to the machine-checked Lean proof claimed in November 2026
- Formal security policy model
- Mathematical proof: the practice of showing that a statement follows from axioms and earlier theorems, how it is written, checked (by people and machines) and accepted, and the derivations it works on
- Mathematical logic: the field that studies logic within mathematics (model theory, proof theory, set theory, computability theory) and the formal systems, structures and limit results it works on
- Graph theory: the practice of studying vertices joined by edges (problems, proofs, algorithms, its people and books) and the graphs it works on
- Prime numbers (the practice of number theory that finds, proves and uses them, and the structure of the primes it works on)
- Formal libraries (mathlib, Mizar, Metamath, Archive of Formal Proofs)
- Second- and higher-order logic
- Automated theorem proving
- Mathlib's formal statement RiemannHypothesis (since 2025)
- Proof script (formal text)
- Proof editor and interface (Proof General, RocqIDE, Isabelle/jEdit, VS Code)
- Elaborator (front end)
- Tactics and automation (tactic language, decision procedures, hammers)
- Kernel (the trusted core)
- Dependent type theory (close relatives: Rocq's PCUIC and Lean's type theory, which differ in inductive types, cumulativity and quotients)
- Parser and pretty-printer
- Independent proof checker (HOL Zero, lean4checker, Lean4Lean, nanoda)
- Neural theorem prover (AlphaProof, DeepSeek-Prover)
- Candle (verified HOL Light on CakeML)
Kinds (16)
- HOL Light
- Coq (Rocq)
- Lean
- Isabelle
- Mizar
- Metamath
- Automath
- LCF (Stanford and Edinburgh)
- HOL4
- ACL2
- PVS (Prototype Verification System)
- Agda
- NuPRL
- Metamath Zero
- Milawa
- F*
wired (6)
- Human (Homo sapiens)
- LLM-based agent
- Mathlib's formal statement RiemannHypothesis (since 2025)
- Theorems (proved statements, reused as steps)
- Proof theory
- Graph theorists and their collaborations (the practitioners)
Notes published science
- In 1990 Allen Brady predicted 'It will never be proved' that the fifth Busy Beaver value is 47,176,870; a massive online collaboration proved exactly that in the Coq proof assistant, deciding all 181,385,789 five-state machines (src:bbchallenge-2025).
- In July 2026 a 'disproof' of the Collatz conjecture, written with AI help, passed Lean's kernel and an independent checker too, because both had the same kind of hole; people boiled it down to a proof that False is true, the kernel was fixed an hour after the report, and the 'disproof' evaporated (src:demoura-2026-postmortem; src:paulson-2026-collatz).
- The Kepler conjecture's proof wore out a panel of twelve referees, who 'became exhausted and quit'; the machine-checked version that followed is about half a million lines and runs on a laptop in about five hours, though one statement copied by hand from one prover to another remains 'the weakest link in the entire Flyspeck project' (src:hales-2024-retrospective).
- A checker can be right and still not tell you what you wanted: one reviewed benchmark found that formal and informal statements disagreed for more than half its problems, so a model's 'proof' can be a proof of an easier question; machine pipelines claimed 97% and 69% for their parts but scored about 36% end to end (src:ospanov-2025-minif2f).
- A proof assistant can be logically sound and still fool its reader: tell Coq to treat 'successor' as a silent conversion and it prints 1 as 0, so a proof of '0 = 1' looks like a proof of something true; Metamath avoids this because what you type is exactly what it checks (src:wiedijk-2012-pollack).
Layers
The ways it takes in its world, where they meet, and how it acts back, each from L1 (where it meets the world) up.
a proof assistant as its builders and users describe it: formal text typed or generated, elaborated, advanced by tactics and automation, checked inference by inference by a small trusted kernel, kept in a library, read against the intended mathematics, and put to use (reader's view)
- L1: The formal text: definitions, theorem statements and proof scripts (tactics or terms) in files, typed by a person in a proof editor (Proof General, RocqIDE, Isabelle/jEdit, VS Code) or generated by a program
- L2: Elaboration: the front end parses the text and elaborates it into terms of the logic, filling implicit arguments, notation and metavariables (which are banned from kernel terms)
- L3: Proof search: tactics, decision procedures, hammers calling outside provers, reflection and AI provers turn goals into subgoals and propose proof terms; the proof state is shown back to the user
- L4: The kernel: a small trusted core (a few hundred lines in HOL Light) that checks every inference against the primitive rules of the logic it implements (set theory, simple type theory or dependent type theory); in LCF systems theorems are an abstract type only the kernel can make, in Rocq and Lean proof terms are type-checked (the de Bruijn criterion: independent checking by a small program)
- L5: The library: checked definitions and theorems kept in an environment and in community libraries (Mathlib, the Mizar Mathematical Library, the Archive of Formal Proofs), reviewed, refactored, deprecated and built on
- L6: Meaning: whether the formal statement, its definitions and its axioms say what was meant, read by people against the informal mathematics or the specification (audits, statement review, comparators against reference statements)
- L7: Use: the checked result put to work: theorems accepted without line-by-line refereeing, errors in the literature corrected, verified compilers, kernels and processors trusted, verdicts used to train AI provers
the boardroom (shared floors)
- L4: The kernel: every proposed proof, whatever produced it, is checked inference by inference against the primitive rules of the logic; theorems can only be made here
- L5: The library and environment: checked results kept, reviewed by maintainers and reviewers, refactored and deprecated, and imported by the next proof
- L6: Meaning: the statement, definitions and axioms read by people against the intended mathematics or specification; comparators check agreement with reference statements; no machine answers whether they say what was meant; people read statements through the system's printer and type them through its parser, so the printer is in the trust chain (Pollack-consistency; HOL Zero's and Candle's printers built against it)
- L7: Use: results taken up by mathematics (refereeing relieved, errors corrected), by engineering (verified compilers, kernels, floating point units) and by AI training (verdicts as reward)
way in: Automated reasoning tools: first-order provers, SAT and SMT solvers called by hammers
- L1: A problem exported with a selected set of library facts
- L2: The outside tool's proof returned
- L3: Reconstructed inside the assistant step by step
way in: Computation: programs run inside the logic (reflection) and certificates from outside computations
- L1: A program written in the logic, or a certificate from an outside computation (linear programs, interval arithmetic)
- L2: Evaluated by the logic itself: P(2+2) and P(4) are identical statements
- L3: Accepted without a written proof when an algorithm checks it (the Poincare principle)
way in: Independent checkers and bug reports: proofs replayed in other kernels; exploits reported
- L1: Exported proof objects or compiled library files
- L2: Replayed by an independent kernel (HOL Zero, lean4checker, Lean4Lean, nanoda)
- L3: A disagreement, or a reduced proof of False, reported as an issue
way in: Informal mathematics and specifications to be formalised: papers, books, blueprints
- L1: The informal source: a paper, a book (Dense Sphere Packings), a blueprint kept online
- L2: Aligned with the formal text (tracking codes; hyperlinks)
- L3: Formal statements and definitions written as milestones and reviewed by mathematicians
way in: Language models and AI provers proposing statements and proofs
- L1: Generated formal text: statements (autoformalisation) and proofs
- L2: Compiled and elaborated; errors returned to the agent
- L3: Tactics tried as actions on the proof state
way in: The community: chat, pull requests and review
- L1: Messages on Zulip and pull requests on GitHub
- L2: Labelled by area; reviewers suggested by expertise and capacity
- L3: Reviewed by anyone; a reviewer's 'maintainer merge' notifies the maintainers
- L4: Continuous integration compiles every change, running the kernel on it, and checks for added axioms and environment tampering
way in: The library: earlier checked definitions and theorems imported and searched
- L1: Compiled library files (.olean in Lean; theory files in Isabelle and HOL Light)
- L2: Imported into the environment the kernel checks against
- L3: Searched by name and by pattern for the lemma a step needs
way in: The system to be verified: hardware designs and programs with their specifications
- L1: A register-transfer model of the hardware or a program's source, with the standard it must meet (IEEE 754; the C semantics)
- L2: Modelled in the logic: a theory of bit vectors; formal semantics of source and target languages
- L3: Proof obligations (IEEE compliance; semantic preservation) worked by tactics, some results validated after the fact
way in: The user at the keyboard: statements and tactic scripts typed in an editor
- L1: Keystrokes into a file in the proof editor
- L2: Parsed and elaborated into terms
- L3: Each tactic transforms the goal into subgoals; the new proof state is shown
way out: A pass or fail verdict to AI provers and benchmarks
- L1: A score or a reward signal (one bit: verified or not)
- L4: The kernel accepts or rejects the submission
way out: Checked theorems merged into the library and published; proof objects exported
- L1: Files on GitHub for anyone to import or replay in another system
- L5: Merged by the bors bot on a maintainer's approval
way out: Corrections sent back to the mathematical and scientific literature
- L1: A published correction or repaired statement
- L6: An error found where the formal proof will not go through as written
way out: Programs extracted or compiled from the logic: verified compilers and checkers
- L1: Compiled and run on the processor
- L7: A verified program wanted as an executable (CompCert)
way out: The kernel's verdict on a finished declaration (the slow, trusted path)
- L1: Accepted into the environment, or rejected after the editor had shown the proof as finished
- L4: The finished declaration is handed to the kernel (addDecl) or re-checked from the command line, with an axiom check
way out: The proof state and error messages back to the user
- L1: Shown at once in the editor
- L3: The tactic's result: new goals, or a failure