Proof assistant
Template:Short description Template:Hatnote group Script error: No such module "Distinguish".

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. This involves some sort of interactive proof editor, or other interface, with which a human can guide the search for proofs, the details of which are stored in, and some steps provided by, a computer.
A recent effort within this field is making these tools use artificial intelligence to automate the formalization of ordinary mathematics.[1]
Automated proof checking
Automated proof checking is the process of using software for checking proofs for correctness. It is one of the most developed fields in automated reasoning. Automated proof checking differs from automated theorem proving in that automated proof checking simply mechanically checks the formal workings of an existing proof, instead of trying to develop new proofs or theorems itself. Because of this, the task of automated proof verification is much simpler than that of automated theorem proving, allowing automated proof checking software to be much simpler than automated theorem proving software.
Because of this small size, some automated proof checking systems can have less than a thousand lines of core code, and are thus themselves amenable to both hand-checking and automated software verification. The Mizar system, HOL Light, and Metamath are examples of automated proof checking systems. Automated proof checking can be done either as a batch operation, or interactively, as part of an interactive theorem proving system.
History
Automath, which was developed by Nicolaas Govert de Bruijn starting in 1967, is often considered the first proof checker and the first system to utilize the Curry–Howard correspondence between programs and proofs.[2] Automath was used by L.S. van Benthem Jutting in 1977 to formalize Landau's Foundations of Analysis, which was the first formalization of the real numbers.[3]
In 1973, Robert Boyer and J Moore published Proving Theorems about LISP Functions which aimed to verify programs, not mathematics.[4] Their theorem prover is now known as ACL2.
In the 1970s, Edinburgh LCF introduced the idea of using a functional programming language as the metalanguage for a theorem prover, and led to the HOL family of proof assistants.[3]
The 1990s saw the rise of Rocq, (then known as Coq), which has been used for many large-scale formalization projects. Since the late 2010s, Lean, a proof assistant strongly influenced by Rocq, has become another popular choice, especially for formalizing mathematics.
System comparison
Script error: No such module "Labelled list hatnote".
| Name | Latest version | Developer(s) | Implementation language | Features | |||||
|---|---|---|---|---|---|---|---|---|---|
| Higher-order logic | Dependent types | Small kernel |
Proof automation | Proof by reflection |
Code generation | ||||
| ACL2 | 8.3 | Matt Kaufmann, J Strother Moore | Common Lisp | No | Untyped | No | Yes | Yes[5] | Already executable |
| Agda | 2.8.0[6] | Ulf Norell, Nils Anders Danielsson, and Andreas Abel (Chalmers and Gothenburg)[6] | Haskell[6] | Yes [citation needed] |
Yes [7] |
Yes [citation needed] |
No [citation needed] |
Partial [citation needed] |
Already executable [citation needed] |
| Albatross | 0.4 | Helmut Brandl | OCaml | Yes | No | Yes | Yes | Unknown | Not yet implemented |
| F* | repository | Microsoft Research and INRIA | F* | Yes | Yes | No | Yes | Yes[8] | Yes |
| HOL Light | repository | John Harrison | OCaml | Yes | No | Yes | Yes | No | No |
| HOL4 | Kananaskis-13 (or repo) | Michael Norrish, Konrad Slind, and others | Standard ML | Yes | No | Yes | Yes | No | Yes |
| Idris | 2 0.6.0 | Edwin Brady | Idris | Yes | Yes | Yes | Unknown | Partial | Yes |
| Isabelle | Isabelle2025 (March 2025) | Larry Paulson (Cambridge), Tobias Nipkow (München) and Makarius Wenzel | Standard ML, Scala | Yes | No | Yes | Yes | Yes | Yes |
| Lean | v4.28.0-rc1[9] | Leonardo de Moura (AWS) | C++, Lean | Yes | Yes | Yes | Yes | Yes | Yes |
| LEGO | 1.3.1 | Randy Pollack (Edinburgh) | Standard ML | Yes | Yes | Yes | No | No | No |
| Metamath | v0.198[10] | Norman Megill | ANSI C | ||||||
| Mizar | 8.1.11 | Białystok University | Free Pascal | Partial | Yes | No | No | No | No |
| Nqthm | |||||||||
| NuPRL | 5 | Cornell University | Common Lisp | Yes | Yes | Yes | Yes | Unknown | Yes |
| PVS | 6.0 | SRI International | Common Lisp | Yes | Yes | No | Yes | No | Unknown |
| Rocq | 9.0 | INRIA | OCaml | Yes | Yes | Yes | Yes | Yes | Yes |
| Twelf | 1.7.1 | Frank Pfenning, Carsten Schürmann | Standard ML | Yes | Yes | Unknown | No | No | Unknown |
- ACL2 – a programming language, a first-order logical theory, and a theorem prover (with both interactive and automatic modes) in the Boyer–Moore tradition.
- HOL theorem provers – A family of tools ultimately derived from the LCF theorem prover. In these systems, the logical core is a library of their programming language. Theorems represent new elements of the language and can only be introduced via "strategies" which guarantee logical correctness. Strategy composition gives users the ability to produce significant proofs with relatively few interactions with the system. Members of the family include:
- HOL4 – The "primary descendant", still under active development. Support for both Moscow ML and Poly/ML. Has a BSD-style license.
- HOL Light – A thriving "minimalist fork". OCaml based.
- ProofPower – Went proprietary, then returned to open source. Based on Standard ML.
- IMPS, An Interactive Mathematical Proof System.[11]
- Isabelle is an interactive theorem prover where other systems can be encoded. Isabelle/HOL is its most popular instance, whose foundation is close to that of the HOL prover. Other instances include Isabelle/ZF and Isabelle/FOL[12]. The main code-base is BSD-licensed, but the Isabelle distribution bundles many add-on tools with different licenses.
- Jape – Java based.
- Lean is both an interactive theorem prover and a functional, dependently-typed programming language. It is based on the calculus of inductive constructions with non-cumulative universes. Since version 4 (released in 2023), it is self-hosting. It can be used to formalise mathematics (and has a large, coherent library for formal mathematics), but also for software and hardware verification.
- LEGO
- Matita – A light system based on the calculus of inductive constructions.
- MINLOG – A proof assistant based on first-order minimal logic.
- Mizar – A proof assistant based on first-order logic, in a natural deduction style, and Tarski–Grothendieck set theory.
- PhoX – A proof assistant based on higher-order logic which is eXtensible.
- Prototype Verification System (PVS) – a proof language and system based on higher-order logic.
- Rocq (formerly named Coq) – A popular interactive theorem prover based on the calculus of inductive constructions.
- Theorem Proving System (TPS) and ETPS – Interactive theorem provers also based on simply typed lambda calculus, but based on an independent formulation of the logical theory and independent implementation.
User interfaces
A commonly used front-end for proof assistants was the Emacs-based Proof General, developed at the University of Edinburgh. Nowadays, many provers include their own editor. Rocq includes RocqIDE, which is based on OCaml/Gtk. Isabelle includes Isabelle/jEdit, which is based on jEdit and the Isabelle/Scala infrastructure for document-oriented proof processing. More recently, Visual Studio Code extensions have been developed for Rocq,[13] Isabelle by Makarius Wenzel,[14] and for Lean 4 by the leanprover developers.[15]
Formalization extent
Freek Wiedijk has been keeping a ranking of proof assistants by the amount of formalized theorems out of a list of 100 well-known theorems. As of September 2025, only six systems have formalized proofs of more than 70% of the theorems, namely Isabelle, HOL Light, Lean, Rocq, Metamath and Mizar.[16][17]
Notable formalized proofs
Script error: No such module "Labelled list hatnote".
The following is a list of notable proofs that have been formalized within proof assistants.
| Theorem | Proof assistant | Year |
|---|---|---|
| Four color theorem[18] | Rocq | 2005 |
| Feit–Thompson theorem[19] | Rocq | 2012 |
| Fundamental group of the circle[20] | Rocq | 2013 |
| Erdős–Graham problem[21][22] | Lean | 2022 |
| Polynomial Freiman-Ruzsa conjecture over [23] | Lean | 2023 |
| BB(5) = 47,176,870[24] | Rocq | 2024 |
See also
- Template:Annotated link
- Template:Annotated link
- Template:Annotated link
- Prover9 – is an automated theorem prover for first-order and equational logic
- Template:Annotated link
- Template:Annotated link
References
Page Template:Reflist/styles.css has no content.
- ^ Page Module:Citation/CS1/styles.css has no content.Ornes, Stephen (August 27, 2020). "Quanta Magazine – How Close Are Computers to Automating Mathematical Reasoning?".
- ^ Page Module:Citation/CS1/styles.css has no content.Geuvers, Herman (16 July 2009). "Proof Assistants: history, ideas and future" (PDF). Sādhanā. 34: 3–25.
- ^ a b Page Module:Citation/CS1/styles.css has no content.Paulson, Lawrence (2026-04-23). "Why not use Lean?". Retrieved 2026-04-23.
- ^ Page Module:Citation/CS1/styles.css has no content.Boyer, Robert; Moore, J. "Proving Theorems about LISP Functions". Association for Computing Machinery. 22: 129–144.
- ^ Page Module:Citation/CS1/styles.css has no content.Hunt, Warren; Kaufmann, Matt; Krug, Robert Bellarmine; Moore, J.; Smith, Eric W. (2005). "Meta Reasoning in ACL2" (PDF). Theorem Proving in Higher Order Logics. Lecture Notes in Computer Science. Vol. 3603. pp. 163–178. doi:10.1007/11541868_11. ISBN 978-3-540-28372-0.
- ^ a b c Page Module:Citation/CS1/styles.css has no content."agda/agda: Agda is a dependently typed programming language / interactive theorem prover". GitHub. Retrieved 31 July 2024.
- ^ Page Module:Citation/CS1/styles.css has no content."The Agda Wiki". Retrieved 31 July 2024.
- ^ Search for "proofs by reflection": Script error: No such module "CS1 identifiers".
- ^ Page Module:Citation/CS1/styles.css has no content."Lean 4 Releases Page". GitHub. Retrieved 22 September 2025.
- ^ Page Module:Citation/CS1/styles.css has no content."Release v0.198 metamath/Metamath-exe". GitHub.
- ^ Page Module:Citation/CS1/styles.css has no content.Farmer, William M.; Guttman, Joshua D.; Thayer, F. Javier (1993). "IMPS: An interactive mathematical proof system". Journal of Automated Reasoning. 11 (2): 213–248. doi:10.1007/BF00881906. S2CID 3084322. Retrieved 22 January 2020.
- ^ Isabelle Documentation webpage. Retrieved 22 April 2026: https://isabelle.in.tum.de/documentation.html
- ^ Page Module:Citation/CS1/styles.css has no content."coq-community/vscoq". July 29, 2024 – via GitHub.
- ^ Page Module:Citation/CS1/styles.css has no content.Wenzel, Makarius. "Isabelle". Retrieved 2 November 2019.
- ^ Page Module:Citation/CS1/styles.css has no content."VS Code Lean 4". GitHub. Retrieved 15 October 2023.
- ^ Page Module:Citation/CS1/styles.css has no content.Wiedijk, Freek (22 September 2025). "Formalizing 100 Theorems".
- ^ Page Module:Citation/CS1/styles.css has no content.Geuvers, Herman (February 2009). "Proof assistants: History, ideas and future". Sādhanā. 34 (1): 3–25. doi:10.1007/s12046-009-0001-5. hdl:2066/75958. S2CID 14827467.
- ^ Page Module:Citation/CS1/styles.css has no content.Gonthier, Georges (2008), "Formal Proof—The Four-Color Theorem" (PDF), Notices of the American Mathematical Society, 55 (11): 1382–1393, MR 2463991, archived (PDF) from the original on 2011-08-05
- ^ Page Module:Citation/CS1/styles.css has no content."Feit thomson proved in coq - Microsoft Research Inria Joint Centre". 2016-11-19. Archived from the original on 2016-11-19. Retrieved 2023-12-07.
- ^ Page Module:Citation/CS1/styles.css has no content.Licata, Daniel R.; Shulman, Michael (2013). "Calculating the Fundamental Group of the Circle in Homotopy Type Theory". 2013 28th Annual ACM/IEEE Symposium on Logic in Computer Science. pp. 223–232. arXiv:1301.3443. doi:10.1109/lics.2013.28. ISBN 978-1-4799-0413-6. S2CID 5661377.
- ^ Page Module:Citation/CS1/styles.css has no content."Math Problem 3,500 Years In The Making Finally Gets A Solution". IFLScience. 2022-03-11. Retrieved 2024-02-09.
- ^ Page Module:Citation/CS1/styles.css has no content.Avigad, Jeremy (2023). "Mathematics and the formal turn". arXiv:2311.00007 [math.HO].
- ^ Page Module:Citation/CS1/styles.css has no content.Sloman, Leila (2023-12-06). "'A-Team' of Math Proves a Critical Link Between Addition and Sets". Quanta Magazine. Retrieved 2023-12-07.
- ^ Page Module:Citation/CS1/styles.css has no content."We have proved "BB(5) = 47,176,870"". The Busy Beaver Challenge. 2024-07-02. Retrieved 2024-07-09.
References
- Page Module:Citation/CS1/styles.css has no content.Barendregt, Henk; Geuvers, Herman (2001). "18. Proof-assistants using Dependent Type Systems" (PDF). In Robinson, Alan J. A.; Voronkov, Andrei (eds.). Handbook of Automated Reasoning. Vol. 2. Elsevier. pp. 1149–. ISBN 978-0-444-50812-6. Archived from the original (PDF) on 2007-07-27.
- Page Module:Citation/CS1/styles.css has no content.Pfenning, Frank. "17. Logical frameworks" (PDF). Lua error in package.lua at line 80: module 'Module:Footnotes/anchor_id_list' not found.. pp. 1065–1148.
- Page Module:Citation/CS1/styles.css has no content.Pfenning, Frank (1996). "The practice of logical frameworks". In Kirchner, H. (ed.). Trees in Algebra and Programming – CAAP '96. Lecture Notes in Computer Science. Vol. 1059. Springer. pp. 119–134. doi:10.1007/3-540-61064-2_33. ISBN 3-540-61064-2.
- Page Module:Citation/CS1/styles.css has no content.Constable, Robert L. (1998). [[[:Template:GBurl]] "X. Types in computer science, philosophy and logic"]. In Buss, S. R. (ed.). Handbook of Proof Theory. Studies in Logic. Vol. 137. Elsevier. pp. 683–786. ISBN 978-0-08-053318-6.
{{cite book}}: Check|chapter-url=value (help) - Page Module:Citation/CS1/styles.css has no content.Wiedijk, Freek (2005). "The Seventeen Provers of the World" (PDF). Radboud University Nijmegen.
External links
Page Module:Message box/ambox.css has no content.
This article's use of external links may not follow Wikipedia's policies or guidelines. (December 2022) |
- Theorem Prover Museum
- "Introduction" in Certified Programming with Dependent Types.
- Introduction to the Coq Proof Assistant (with a general introduction to interactive theorem proving)
- Interactive Theorem Proving for Agda Users
- A list of theorem proving tools
- Catalogues
- Digital Math by Category: Tactic Provers
- Automated Deduction Systems and Groups
- Theorem Proving and Automated Reasoning Systems
- Database of Existing Mechanized Reasoning Systems
- NuPRL: Other Systems
- Page Module:Citation/CS1/styles.css has no content."Specific Logical Frameworks and Implementations". Archived from the original on 10 April 2022. Retrieved 15 February 2024. (By Frank Pfenning).
- DMOZ: Science: Math: Logic and Foundations: Computational Logic: Logical Frameworks