Proof assistant

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.

An interactive proof session in CoqIDE, showing the proof script on the left and the proof state on the right

A recent effort within this field is making these tools use artificial intelligence to automate the formalization of ordinary mathematics.[1]

System comparison

NameLatest versionDeveloper(s)Implementation languageFeatures
Higher-order logicDependent typesSmall kernelProof automationProof by reflectionCode generation
ACL28.3Matt Kaufmann and J Strother MooreCommon LispNoUntypedNoYesYes[2]Already executable
Agda2.6.3 Ulf Norell, Nils Anders Danielsson, and Andreas Abel (Chalmers and Gothenburg)HaskellYesYesYesNoPartialAlready executable
Albatross0.4 Helmut BrandlOCamlYesNoYesYesUn­knownNot yet Implemented
Coq8.17.0INRIAOCamlYesYesYesYesYesYes
F*repositoryMicrosoft Research and INRIAF*YesYesNoYesYes[3]Yes
HOL LightrepositoryJohn HarrisonOCamlYesNoYesYesNoNo
HOL4Kananaskis-13 (or repo)Michael Norrish, Konrad Slind, and othersStandard MLYesNoYesYesNoYes
Idris2 0.6.0.Edwin BradyIdrisYesYesYesUn­knownPartialYes
IsabelleIsabelle2021 (February 2021)Larry Paulson (Cambridge), Tobias Nipkow (München) and Makarius WenzelStandard ML, ScalaYesNoYesYesYesYes
Lean v4.1.0 (official release) v4.2.0-rc1 (pre-release)[4] Leonardo de Moura (Microsoft Research) C++, Lean Yes Yes Yes Yes Yes Yes
LEGO (not affiliated with Lego)1.3.1Randy Pollack (Edinburgh)Standard MLYesYesYesNoNoNo
Metamathv0.198[5]Norman MegillANSI C
Mizar8.1.05Biał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.
  • 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[6]
  • 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 Isabelle by Makarius Wenzel,[7] and for Lean 4 by the leanprover developers.[8]

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, Coq, Lean and Metamath.[9][10]

See also

Notes

  1. Ornes, Stephen (August 27, 2020). "Quanta Magazine - How Close Are Computers to Automating Mathematical Reasoning?".
  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.
  3. Search for "proofs by reflection": arXiv:1803.06547
  4. "Lean 4 Releases Page". GitHub. Retrieved 15 October 2023.
  5. https://github.com/metamath/metamath-exe/releases/tag/v0.198
  6. 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.
  7. Wenzel, Makarius. "Isabelle". Retrieved 2 November 2019.
  8. "VS Code Lean 4". GitHub. Retrieved 15 October 2023.
  9. Wiedijk, Freek (15 September 2023). "Formalizing 100 Theorems".
  10. Geuvers, Herman (February 2009). "Proof assistants: History, ideas and future". Sādhanā. 34 (1): 3–25. doi:10.1007/s12046-009-0001-5. S2CID 14827467.

References

Catalogues
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.