Formal Proof Systems - Applications
The resolution method is refutation complete: if a set of clauses is unsatisfiable, then the empty clause can be derived from by resolution.
Conversely, if can be derived by resolution from , then is unsatisfiable.
Resolution forms the basis for modern automated theorem proving. Its completeness, proved by Robinson in 1965, revolutionized automated reasoning by providing a simple, powerful inference rule.
Proof Sketch: The completeness proof uses Herbrand's theorem and the compactness theorem. If is unsatisfiable, there's a finite Herbrand interpretation where all ground instances of clauses in are false. Resolution can derive a contradiction from these ground instances, which lifts to a refutation of itself.
Modern SAT solvers (DPLL, CDCL) are based on resolution with sophisticated heuristics:
- Unit propagation: If a clause becomes a single literal, assign that literal true
- Pure literal elimination: If a variable appears only positively (or only negatively), assign it appropriately
- Conflict-driven clause learning: When a conflict is found, learn a new clause capturing the reason for the conflict
- Backtracking: Undo assignments when conflicts arise
These techniques make SAT solvers remarkably efficient, solving industrial problems with millions of variables.
For many proof systems (including Hilbert-style and natural deduction):
This theorem justifies the common proof technique of assuming a hypothesis, deriving the conclusion, and concluding the implication.
The deduction theorem holds for classical logic but fails for some non-classical logics, making it a distinguishing feature of classical reasoning.
For first-order logic, the following proof systems are equivalent (prove the same set of formulas):
- Hilbert-style systems
- Natural deduction
- Sequent calculus
- Resolution (for refutation)
- Tableau methods
Each has in one system if and only if in any other.
A natural deduction proof of can be converted to:
- Hilbert-style: Replace each inference rule with a combination of axiom applications and modus ponens
- Sequent calculus: Each natural deduction rule corresponds to a sequent calculus rule
- Resolution: Skolemize , convert to CNF, apply resolution
The translations preserve provability but may change proof size dramatically.
Craig's interpolation theorem can be proved using cut elimination in sequent calculus. If , construct a cut-free proof of . The interpolant can be extracted from this proof by analyzing the formulas appearing on both sides of sequents, using the subformula property to ensure it uses only common vocabulary.
The cut-elimination approach to interpolation demonstrates the power of structural proof theory. By analyzing the form of proofs rather than their semantic content, we can extract interpolants constructively. This technique extends to many logics beyond first-order, providing uniform methods for obtaining interpolation results.
There is a deep correspondence between:
- Proof systems (natural deduction, sequent calculus)
- Type systems in programming languages
- Categories in category theory
Specifically:
- Propositions correspond to types
- Proofs correspond to programs
- Proof normalization corresponds to program evaluation
This "propositions-as-types" paradigm unifies logic, computation, and mathematics.
The proof of corresponds to the program:
swap : (A × B) → (B × A)
swap (a, b) = (b, a)
The proof technique (eliminate the pair, reintroduce in opposite order) exactly matches the program structure. This correspondence powers proof assistants like Coq and Agda, where proofs are programs and type-checking verifies correctness.
These applications show that formal proof systems are not merely theoretical abstractions but practical tools with profound connections to computation, type theory, and verified software.