Philosophy:Proof compression
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.
Problem Representation
In propositional logic a resolution proof of a clause [math]\displaystyle{ \kappa }[/math] 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 [math]\displaystyle{ \kappa }[/math].[1]
The DAG contains an edge from a node [math]\displaystyle{ \eta_{1} }[/math] to a node [math]\displaystyle{ \eta_{2} }[/math] if and only if a premise of [math]\displaystyle{ \eta_{1} }[/math] is the conclusion of [math]\displaystyle{ \eta_{2} }[/math]. In this case, [math]\displaystyle{ \eta_{1} }[/math] is a child of [math]\displaystyle{ \eta_{2} }[/math], and [math]\displaystyle{ \eta_{2} }[/math] is a parent of [math]\displaystyle{ \eta_{1} }[/math]. 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 [math]\displaystyle{ \kappa }[/math] or, in some cases, a valid proof of a subset of [math]\displaystyle{ \kappa }[/math].
A simple example
Let's take a resolution proof for the clause [math]\displaystyle{ \left\{ a,b,c\right\} }[/math] from the set of clauses
- [math]\displaystyle{ \left\{ \eta_{1}:\left\{ a,b,p\right\} ,\eta_{2}:\left\{ c,\neg p\right\} \right\} \quad \frac{\eta_{1}: a,b,p \quad\quad \eta_{2}: c,\neg p} {\eta_{3}: a,b,c} p }[/math]
Here we can see:
- [math]\displaystyle{ \eta_{1} }[/math] and [math]\displaystyle{ \eta_{2} }[/math] are input nodes.
- The node [math]\displaystyle{ \eta_{3} }[/math] has a pivot [math]\displaystyle{ p }[/math],
- left resolved literal [math]\displaystyle{ p }[/math]
- right resolved literal [math]\displaystyle{ \neg p }[/math]
- [math]\displaystyle{ \eta_{3} }[/math] conclusion is the clause [math]\displaystyle{ \left\{ a,b,c\right\} }[/math]
- [math]\displaystyle{ \eta_{3} }[/math] premises are the conclusion of nodes [math]\displaystyle{ \eta_{1} }[/math] and [math]\displaystyle{ \eta_{2} }[/math] (its parents)
- The DAG would be
- [math]\displaystyle{ \begin{array}{ccc} \eta_{1} & & \eta_{2}\\ & \nwarrow\nearrow\\ & \eta_{3}\end{array} }[/math]
- [math]\displaystyle{ \eta_{1} }[/math] and [math]\displaystyle{ \eta_{2} }[/math] are parents of [math]\displaystyle{ \eta_{3} }[/math]
- [math]\displaystyle{ \eta_{3} }[/math] is a child of [math]\displaystyle{ \eta_{1} }[/math] and [math]\displaystyle{ \eta_{2} }[/math]
- [math]\displaystyle{ \eta_{3} }[/math] is a root of the proof
A (resolution) refutation of C is a resolution proof of [math]\displaystyle{ \bot }[/math] from C. It is a common given a node [math]\displaystyle{ \eta }[/math], to refer to the clause [math]\displaystyle{ \eta }[/math] or [math]\displaystyle{ \eta }[/math]’s clause meaning the conclusion clause of [math]\displaystyle{ \eta }[/math], and (sub)proof [math]\displaystyle{ \eta }[/math] meaning the (sub)proof having [math]\displaystyle{ \eta }[/math] as its only root.
In some works can be found an algebraic representation of resolution inferences. The resolvent of [math]\displaystyle{ \kappa_{1} }[/math] and [math]\displaystyle{ \kappa_{2} }[/math] with pivot [math]\displaystyle{ p }[/math] can be denoted as [math]\displaystyle{ \kappa_{1}\odot_{p}\kappa_{2} }[/math]. When the pivot is uniquely defined or irrelevant, we omit it and write simply [math]\displaystyle{ \kappa_{1}\odot\kappa_{2} }[/math]. 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 [math]\displaystyle{ \left\{ a,b,p\right\} \odot_{p}\left\{ c,\neg p\right\} }[/math] or simply [math]\displaystyle{ \left\{ a,b,p\right\} \odot\left\{ c,\neg p\right\}. }[/math]
We can identify [math]\displaystyle{ \underbrace{\overbrace{\left\{ a,b,p\right\} }^{\eta_{1}}\odot\overbrace{\left\{ c,\neg p\right\} }^{\eta_{2}}}_{\eta_{3}} }[/math].
Compression algorithms
Algorithms for compression of sequent calculus proofs include cut introduction and cut elimination.
Algorithms for compression of propositional resolution proofs include RecycleUnits,[2] RecyclePivots,[2] RecyclePivotsWithIntersection,[1] LowerUnits,[1] LowerUnivalents,[3] Split,[4] Reduce&Reconstruct,[5] and Subsumption.
Notes
- ↑ 1.0 1.1 1.2 Fontaine, Pascal; Merz, Stephan; Woltzenlogel Paleo, Bruno. Compression of Propositional Resolution Proofs via Partial Regularization. 23rd Conference on Automated Deduction, 2011.
- ↑ 2.0 2.1 Bar-Ilan, O.; Fuhrmann, O.; Hoory, S. ; Shacham, O. ; Strichman, O. Linear-time Reductions of Resolution Proofs. Hardware and Software: Verification and Testing, p. 114–128, Springer, 2011.
- ↑ "Skeptik/Doc/Papers/LUniv at develop · Paradoxika/Skeptik · GitHub". https://github.com/Paradoxika/Skeptik/tree/develop/doc/papers/LUniv.
- ↑ Cotton, Scott. "Two Techniques for Minimizing Resolution Proofs". 13th International Conference on Theory and Applications of Satisfiability Testing, 2010.
- ↑ Simone, S.F. ; Brutomesso, R. ; Sharygina, N. "An Efficient and Flexible Approach to Resolution Proof Reduction". 6th Haifa Verification Conference, 2010.
Original source: https://en.wikipedia.org/wiki/Proof compression.
Read more |