Jump to content

Automated theorem proving

From Tilcayo Cats, the lean encyclopaedia by Tilcayo Knowledge Systems

Automated theorem proving is the use of computer programs to prove statements in mathematics and logic by step-by-step reasoning. It is a central part of automated reasoning, the field that builds computing systems to make inferences. According to the Stanford Encyclopedia of Philosophy, automated reasoning has mostly been identified with valid deductive reasoning of the kind used in mathematics and formal logic, which makes it close to mechanical theorem proving.[1]

Methods

Theorem-proving programs work within a formal system of rules, called a calculus. Of the many calculi used, those based on the resolution principle have been the most popular.[2] An important step was the idea of unification, introduced by John Alan Robinson in 1965, which made resolution much more efficient by letting proofs be carried out at a more general level.[3]

Limits

The task is hard because many of the logical systems of interest are not decidable: there is no general method that is guaranteed to settle every question. Researchers therefore have to trade off how much a system can prove against how efficiently it runs.[4]

Proof assistants

In richer areas of mathematics, these systems act more as proof assistants than as fully automatic provers, with the user guiding the work.[5] The encyclopedia describes interactive theorem proving as arguably the most important use of automated reasoning in mathematics.[6] One example is the Mizar system: once a proof is written in its language, Mizar can check automatically whether it is correct.[7]

Notable results

The program EQP was used to answer an open question in algebra, whether all Robbins algebras are Boolean, a problem that Herbert Robbins, Edward Huntington, Alfred Tarski and Tarski's students had attacked without success. A human supplied the key step, and EQP then completed the proof automatically; the result was published by William McCune in 1997.[8]

Proof assistants have also been used to check very long proofs. Thomas Hales's proof of the Kepler conjecture, about how tightly equal balls can be packed, ran to about 300 pages plus many computer calculations, and a 12-person panel for the journal Annals of Mathematics still had doubts after four years of checking. Hales then built a formal proof, the Flyspeck project, using the Isabelle and HOL Light proof assistants.[9]

See also

References

  1. ↑ Portoraro, Frederic (10 February 2024). "Automated Reasoning". Stanford Encyclopedia of Philosophy. Retrieved 20 October 2026. Reasoning is the ability to make inferences, and automated reasoning is concerned with the building of computing systems that automate this process. Although the overall goal is to mechanize different forms of reasoning, the term has largely been identified with valid deductive reasoning as practiced in mathematics and formal logic. In this respect, automated reasoning is akin to mechanical theorem proving.
  2. ↑ Portoraro, Frederic (10 February 2024). "Automated Reasoning". Stanford Encyclopedia of Philosophy. Retrieved 20 October 2026. Of the many calculi used in the implementation of reasoning programs, the ones based on the resolution principle have been the most popular.
  3. ↑ Portoraro, Frederic (10 February 2024). "Automated Reasoning". Stanford Encyclopedia of Philosophy. Retrieved 20 October 2026. This issue was effectively addressed by generalizing the ground resolution rule to binary resolution and by introducing the notion of unification (Robinson 1965a). Unification allows resolution proofs to be "lifted" and be conducted at a more general level
  4. ↑ Portoraro, Frederic (10 February 2024). "Automated Reasoning". Stanford Encyclopedia of Philosophy. Retrieved 20 October 2026. Automated reasoning is made the more challenging because many calculi of interest are not decidable and have poor complexity measures forcing researchers to seek tradeoffs between deductive power versus algorithmic efficiency.
  5. ↑ Portoraro, Frederic (10 February 2024). "Automated Reasoning". Stanford Encyclopedia of Philosophy. Retrieved 20 October 2026. as one applies automated reasoning systems into richer areas of mathematics, the systems take more on the role of proof assistants than theorem provers. This is because in richer mathematical domains the systems need to reason about theories and higher-order objects which in general takes them deeper into the undecidable.
  6. ↑ Portoraro, Frederic (10 February 2024). "Automated Reasoning". Stanford Encyclopedia of Philosophy. Retrieved 20 October 2026. Interactive theorem proving is arguably the "killer" application of automated reasoning in mathematics
  7. ↑ Portoraro, Frederic (10 February 2024). "Automated Reasoning". Stanford Encyclopedia of Philosophy. Retrieved 20 October 2026. Once a proof is written in the language, it can be checked automatically by Mizar for correctness.
  8. ↑ Portoraro, Frederic (10 February 2024). "Automated Reasoning". Stanford Encyclopedia of Philosophy. Retrieved 20 October 2026. EQP, a theorem-proving program for equational logic, was used to solve an open question in Robbins algebra (McCune 1997): Are all Robbins algebras Boolean? ... the problem was attacked by Robbins, Huntington, Tarski and many of his students with no success. ... When EQP was supplied with this piece of information, the program provided invaluable assistance by completing the proof automatically.
  9. ↑ Portoraro, Frederic (10 February 2024). "Automated Reasoning". Stanford Encyclopedia of Philosophy. Retrieved 20 October 2026. Hales' proof consists of about 300 pages of text and a large number of computer calculations. After four years of hard work, the 12-person panel assigned by Annals of Mathematics to the task of verifying the proof still had genuine doubts about its correctness. ... as he announced the completion of the Flyspeck project (Hales 2014, in Other Internet Resources; Hales 2015) having constructed a formal proof of the conjecture using the Isabelle and HOL Light automated proof assistants