Automated Theorem Proving
Automated theorem proving searches for derivations in an inference system. Superposition, higher-order unification and SMT address different sources of proof search.
- Source
- Anbloq
- Language
- English
- Created
- Updated
- Chapters
- 3
- Reading time
- 2 min
In this article3 chapters
Equality can move a proof forward
In first-order reasoning, superposition combines resolution-style refutation with equality replacement. An eligible equality is oriented using a term ordering and replaces a matching subterm after unification. The ordering and literal selection rules are part of the completeness argument. They restrain inference that would otherwise repeatedly expand terms in both directions. For a small ground example, suppose a refutation contains
\[ f(a)=b,\qquad P(f(a)),\qquad \neg P(b). \]
Replacing equal terms yields a contradiction between the two predicate literals. In non-ground clauses the calculus must also account for variable substitutions and the scope of a selected position.
First-order unification identifies term instances that fit together. Clausal resolution then explains one way compatible literals can justify a new clause.
Higher-order variables can stand for functions
Unification of first-order terms can build a most general substitution by solving equations between a finite set of term constructors and variables. Higher-order variables can instead occur in function position and may require abstraction in their solution. Full higher-order unification does not have a general decision procedure. Pattern fragments impose restrictions such as applying a free variable only to distinct bound variables. Those restrictions support decidable unification and make them valuable in dependent-type elaboration.
SMT combines Boolean search with theories
An SMT solver can search a Boolean abstraction of a formula and ask a theory solver whether the selected atoms are jointly consistent. For example, bounds \(x-y\le1\) and \(y-x\le-2\) add to \(0\le-1\), so their conjunction is impossible. The conflict can be recorded as a Boolean clause. Arithmetic, arrays and bit-vectors have different theory procedures and encodings. Learned conflicts can guide the search, while proof certificates can be checked separately. That distinction relates to proof complexity and to deductive verification.[1][2][3]