Tautologies from LRAT refutations #
A proposition A over the atoms Fin n is a tautology when its negation ¬A, written
A → ⊥, has no model. The numbered Plaisted–Greenbaum transformation of ¬A is equisatisfiable
with ¬A (Cslib.Logic.PL.Proposition.satisfiable_plaistedGreenbaumNumberedCNF_iff), and an
LRAT certificate that Cslib.Logic.PL.CNF.checkLRATRat accepts, RAT steps included, shows that a
CNF has no model (Cslib.Logic.PL.CNF.not_satisfiable_of_checkLRATRat). So an accepted
certificate for the transformation of ¬A proves that A is true under every Boolean valuation
(Cslib.Logic.PL.Proposition.eval_of_checkLRATRat), and then, classically, under every valuation
in Prop (Cslib.Logic.PL.Proposition.eval_prop_of_checkLRATRat). A certificate of the RUP-only
checker Cslib.Logic.PL.CNF.checkLRUP is one (Cslib.Logic.PL.CNF.checkLRATRat_of_checkLRUP).
The checker is written with structural recursion, so decide can prove that it accepts a given
certificate, with the kernel evaluating the checker. Proving a goal this way uses no native
evaluation; only finding the certificate does, and that step is untrusted.
Only the direction from a model of ¬A to a model of the transformation is used here. On the
goals of lrat_tauto's benchmarks the Plaisted–Greenbaum transformation has about half the
clauses of the Tseitin transformation (Cslib.Logic.PL.Proposition.tseitinCNF), and its
certificates checked faster in the kernel than those for a numbered Tseitin transformation.
Main results #
Cslib.Logic.PL.Proposition.eval_of_checkLRATRat: a refuted negation gives a truth-table tautology.Cslib.Logic.PL.Proposition.eval_prop_of_checkLRATRat: the same overProp.
A refuted negation is a tautology. If the checker accepts a certificate for the numbered
Plaisted–Greenbaum transformation of ¬A, then A is true under every Boolean valuation.
A refuted negation is a tautology over Prop. If the checker accepts a certificate for
the numbered Plaisted–Greenbaum transformation of ¬A, then A holds under every valuation in
Prop. The proof is classical.