Quantitative study of proofs, including proof size, efficiency, and connections to computational complexity.
Proof theory can ask not only whether a formula is provable, but also how hard it is to prove. This leads to the study of proof length and proof complexity.
A formal proof is a finite object, so it has a size. We may count the number of lines, the number of inference steps, the total number of symbols, or the size of the proof tree.
For a formula , we may ask:
This question turns proof theory into a quantitative subject.
Measuring Proof Length
Different proof systems measure proof size in slightly different ways.
| Measure | Meaning |
|---|---|
| Line count | number of formulas in a sequence proof |
| Step count | number of inference rule applications |
| Symbol count | total number of symbols in the proof |
| Tree size | number of nodes in a proof tree |
| DAG size | size after sharing repeated subproofs |
For example, a proof written as a tree may duplicate the same subproof several times. If repeated subproofs are shared, the same proof may be represented as a directed acyclic graph, or DAG, and become much smaller.
So proof length depends partly on representation.
Shortest Proofs
Let be a proof system. The proof length of in may be written:
This means the length of the shortest proof of in system .
If has no proof in , then is undefined or treated as infinite.
The main question is how grows as the formulas become larger.
Some formulas have short proofs. Others may be true but require very long proofs in a given system.
Comparing Proof Systems
Two proof systems may prove the same formulas but differ greatly in proof length.
Suppose systems and prove the same theorems. It may still happen that some formulas have short proofs in and only very long proofs in .
We say that polynomially simulates if every proof in can be translated into a proof in with only polynomial growth in size.
Informally:
for some polynomial .
If no such efficient translation exists, then one proof system may be genuinely stronger in proof efficiency.
Proof Complexity
Proof complexity studies the size of proofs, especially for propositional tautologies.
A propositional formula is a tautology if:
A sound and complete proof system can prove every tautology:
But completeness only says that a proof exists. It does not say the proof is short.
Proof complexity asks whether certain tautologies require large proofs in a given system.
Resolution
One important proof system in proof complexity is resolution.
Resolution works with clauses. A clause is a disjunction of literals, such as:
The resolution rule is:
The idea is that one clause says is true unless fails, and the other says is true unless holds. Resolving eliminates .
Resolution is central because it is closely related to SAT solving.
To prove that a CNF formula is unsatisfiable, resolution derives the empty clause:
The empty clause represents contradiction.
Example of Resolution
Suppose we have the clauses:
and:
Resolving on gives:
because the complementary literals and are removed.
Another example:
and:
resolve to:
This means the clauses are jointly inconsistent.
Lower Bounds
A lower bound says that every proof of a certain kind must be large.
For example, one may show that a family of tautologies requires resolution proofs of exponential size.
The general form is:
for some constant .
This means that as grows, proofs in system become exponentially long.
Lower bounds are difficult but important. They show that some proof systems cannot efficiently prove certain valid formulas.
Connection with Complexity Theory
Proof complexity is closely related to computational complexity.
A proof system for propositional tautologies can be viewed as a certificate system. If a tautology has a short proof, then the proof can be checked efficiently.
This connects to the class , where solutions can be verified efficiently.
The complement problem, propositional tautology, is related to . A major open question is whether every tautology has a short proof in some reasonable proof system.
This is closely connected to:
If every tautology had polynomial-size proofs in a suitable proof system, that would imply a major collapse in complexity theory.
Automated Reasoning
Proof length matters in practice.
Automated theorem provers and SAT solvers do not merely need proofs to exist. They need proofs that can be found and checked within reasonable time and memory.
A formula may be valid, but if every proof is enormous, automated reasoning may fail in practice.
This is why proof systems are compared not only by correctness but also by proof efficiency.
Compression and Sharing
Large proofs often contain repeated subarguments. Sharing can compress them.
A tree proof may repeat a lemma many times. A DAG proof can store the lemma once and reuse it.
This reflects ordinary mathematics. We prove a lemma once, then cite it repeatedly.
Formal proof systems can model this using derived rules, lemmas, abbreviations, and proof terms.
Compression changes proof size, so any serious study of proof length must specify the representation carefully.
Why This Matters
Proof length measures the cost of reasoning.
Soundness tells us that proofs are reliable. Completeness tells us that all valid formulas are provable. Proof complexity asks whether those proofs are feasible.
This adds a third dimension to formal logic:
A mature theory of proof must account for all three.