Menu
Home Explore People Places Arts History Plants & Animals Science Life & Culture Technology
On this page
Proof assistant
Software tool to assist with the development of formal proofs by human-machine collaboration

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.

Related Image Collections Add Image
We don't have any YouTube videos related to Proof assistant yet.
We don't have any PDF documents related to Proof assistant yet.
We don't have any Books related to Proof assistant yet.
We don't have any archived web articles related to Proof assistant yet.

System comparison

See also: Dependent type § Comparison, and Automated theorem proving § Comparison

NameLatest versionDeveloper(s)Implementation languageFeatures
Higher-order logicDependent typesSmall kernelProof automationProof by reflectionCode generation
ACL28.3Matt Kaufmann and J Strother MooreCommon LispNoUntypedNoYesYes2Already executable
Agda2.6.4.33Ulf Norell, Nils Anders Danielsson, and Andreas Abel (Chalmers and Gothenburg)4Haskell5YesYes6YesNoPartialAlready executable
Albatross0.4Helmut BrandlOCamlYesNoYesYesUn­knownNot yet Implemented
Rocq (formerly known as Coq)9.0INRIAOCamlYesYesYesYesYesYes
F*repositoryMicrosoft Research and INRIAF*YesYesNoYesYes7Yes
HOL LightrepositoryJohn HarrisonOCamlYesNoYesYesNoNo
HOL4Kananaskis-13 (or repo)Michael Norrish, Konrad Slind, and othersStandard MLYesNoYesYesNoYes
Idris2 0.6.0.Edwin BradyIdrisYesYesYesUn­knownPartialYes
IsabelleIsabelle2024 (May 2024)Larry Paulson (Cambridge), Tobias Nipkow (München) and Makarius WenzelStandard ML, ScalaYesNoYesYesYesYes
Leanv4.7.08Leonardo de Moura (Microsoft Research)C++, LeanYesYesYesYesYesYes
LEGO1.3.1Randy Pollack (Edinburgh)Standard MLYesYesYesNoNoNo
Metamathv0.1989Norman MegillANSI C
Mizar8.1.11Białystok UniversityFree PascalPartialYesNoNoNoNo
Nqthm
NuPRL5Cornell UniversityCommon LispYesYesYesYesUn­knownYes
PVS6.0SRI InternationalCommon LispYesYesNoYesNoUn­known
Twelf1.7.1Frank Pfenning and Carsten SchürmannStandard MLYesYesUn­knownNoNoUn­known
  • ACL2 – a programming language, a first-order logical theory, and a theorem prover (with both interactive and automatic modes) in the Boyer–Moore tradition.
  • Rocq (formerly known as Coq)  – Allows the expression of mathematical assertions, mechanically checks proofs of these assertions, helps to find formal proofs, and extracts a certified program from the constructive proof of its formal specification.
  • 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:
  • IMPS, An Interactive Mathematical Proof System.10
  • Isabelle is an interactive theorem prover, successor of HOL. The main code-base is BSD-licensed, but the Isabelle distribution bundles many add-on tools with different licenses.
  • Jape – Java based.
  • Lean
  • 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.
  • 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 popular front-end for proof assistants is the Emacs-based Proof General, developed at the University of Edinburgh.

Coq includes CoqIDE, 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 Coq,11 Isabelle by Makarius Wenzel,12 and for Lean 4 by the leanprover developers.13

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 2023, only five systems have formalized proofs of more than 70% of the theorems, namely Isabelle, HOL Light, Rocq, Lean, and Metamath.1415

Notable formalized proofs

See also: Computer-assisted proof § Theorems proved with the help of computer programs

The following is a list of notable proofs that have been formalized within proof assistants.

TheoremProof assistantYear
Four color theorem16Coq2005
Feit–Thompson theorem17Coq2012
Fundamental group of the circle18Coq2013
Erdős–Graham problem1920Lean2022
Polynomial Freiman-Ruzsa conjecture over F 2 {\displaystyle \mathbb {F} _{2}} 21Lean2023
BB(5) = 47,176,87022Coq2024

See also

Notes

Catalogues

References

  1. Ornes, Stephen (August 27, 2020). "Quanta Magazine – How Close Are Computers to Automating Mathematical Reasoning?". https://www.quantamagazine.org/how-close-are-computers-to-automating-mathematical-reasoning-20200827/

  2. Hunt, Warren; Matt Kaufmann; Robert Bellarmine Krug; J Moore; Eric W. Smith (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. 978-3-540-28372-0

  3. "agda/agda: Agda is a dependently typed programming language / interactive theorem prover". GitHub. Retrieved 31 July 2024. https://github.com/agda/agda

  4. "agda/agda: Agda is a dependently typed programming language / interactive theorem prover". GitHub. Retrieved 31 July 2024. https://github.com/agda/agda

  5. "agda/agda: Agda is a dependently typed programming language / interactive theorem prover". GitHub. Retrieved 31 July 2024. https://github.com/agda/agda

  6. "The Agda Wiki". Retrieved 31 July 2024. https://wiki.portal.chalmers.se/agda/pmwiki.php

  7. Search for "proofs by reflection": arXiv:1803.06547 /wiki/ArXiv_(identifier)

  8. "Lean 4 Releases Page". GitHub. Retrieved 15 October 2023. https://github.com/leanprover/lean4/releases

  9. "Release v0.198 · metamath/Metamath-exe". GitHub. https://github.com/metamath/metamath-exe/releases/tag/v0.198

  10. 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. https://core.ac.uk/display/23376340

  11. "coq-community/vscoq". July 29, 2024 – via GitHub. https://github.com/coq-community/vscoq

  12. Wenzel, Makarius. "Isabelle". Retrieved 2 November 2019. https://marketplace.visualstudio.com/items?itemName=makarius.isabelle

  13. "VS Code Lean 4". GitHub. Retrieved 15 October 2023. https://github.com/leanprover/vscode-lean4

  14. Wiedijk, Freek (15 September 2023). "Formalizing 100 Theorems". https://www.cs.ru.nl/~freek/100/

  15. 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. https://www.ias.ac.in/article/fulltext/sadh/034/01/0003-0025

  16. 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 /wiki/Georges_Gonthier

  17. "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. https://web.archive.org/web/20161119094854/http://www.msr-inria.fr/news/feit-thomson-proved-in-coq/

  18. 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. Retrieved 2023-12-07. 978-1-4799-0413-6

  19. "Math Problem 3,500 Years In The Making Finally Gets A Solution". IFLScience. 2022-03-11. Retrieved 2024-02-09. https://www.iflscience.com/math-problem-3500-years-in-the-making-finally-gets-a-solution-62925

  20. Avigad, Jeremy (2023). "Mathematics and the formal turn". arXiv:2311.00007 [math.HO]. /wiki/ArXiv_(identifier)

  21. Sloman, Leila (2023-12-06). "'A-Team' of Math Proves a Critical Link Between Addition and Sets". Quanta Magazine. Retrieved 2023-12-07. https://www.quantamagazine.org/a-team-of-math-proves-a-critical-link-between-addition-and-sets-20231206/

  22. "We have proved "BB(5) = 47,176,870"". The Busy Beaver Challenge. 2024-07-02. Retrieved 2024-07-09. https://discuss.bbchallenge.org/t/july-2nd-2024-we-have-proved-bb-5-47-176-870/237