In proof theory, an area of mathematical logic, proof compression is the problem of algorithmically compressing formal proofs. The developed algorithms can be used to improve the proofs generated by automated theorem proving tools such as sat-solvers, SMT-solvers, first-order theorem provers and proof assistants.
In propositional logic a resolution proof of a clause κ from a set of clauses C is a directed acyclic graph (DAG): the input nodes are axiom inferences (without premises) whose conclusions are elements of C, the resolvent nodes are resolution inferences, and the proof has a node with conclusion κ .
The DAG contains an edge from a node η 1 to a node η 2 if and only if a premise of η 1 is the conclusion of η 2 . In this case, η 1 is a child of η 2 , and η 2 is a parent of η 1 . A node with no children is a root.
A proof compression algorithm will try to create a new DAG with fewer nodes that represents a valid proof of κ or, in some cases, a valid proof of a subset of κ .
Let's take a resolution proof for the clause { a , b , c } from the set of clauses
{ η 1 : { a , b , p } , η 2 : { c , ¬ p } } η 1 : a , b , p η 2 : c , ¬ p η 3 : a , b , c p Here we can see:
η 1 and η 2 are input nodes.The node η 3 has a pivot p ,left resolved literal p right resolved literal ¬ p η 3 conclusion is the clause { a , b , c } η 3 premises are the conclusion of nodes η 1 and η 2 (its parents)The DAG would be η 1 η 2 ↖↗ η 3 η 1 and η 2 are parents of η 3 η 3 is a child of η 1 and η 2 η 3 is a root of the proofA (resolution) refutation of C is a resolution proof of ⊥ from C. It is a common that given a node η , to refer to the clause η or η ’s clause meaning the conclusion clause of η , and (sub)proof η meaning the (sub)proof having η as its only root.
In some works it can be found an algebraic representation of a resolution inference. The resolvent of κ 1 and κ 2 with pivot p can be denoted as κ 1 ⊙ p κ 2 . When the pivot is uniquely defined or irrelevant, we omit it and write simply κ 1 ⊙ κ 2 . In this way, the set of clauses can be seen as an algebra with a commutative operator; and terms in the corresponding term algebra denote resolution proofs in a notation style that is more compact and more convenient for describing resolution proofs than the usual graph notation.
In our last example the notation of the DAG would be { a , b , p } ⊙ p { c , ¬ p } or simply { a , b , p } ⊙ { c , ¬ p } .
We can identify { a , b , p } ⏞ η 1 ⊙ { c , ¬ p } ⏞ η 2 ⏟ η 3
Algorithms for compression of sequent calculus proofs include Cut-introduction and Cut-elimination.
Algorithms for compression of propositional resolution proofs include RecycleUnits, RecyclePivots, RecyclePivotsWithIntersection, LowerUnits, LowerUnivalents, Split, Reduce&Reconstruct, and Subsumption.