Renaming the variables of an LRUP (RUP-only LRAT) certificate #
Renaming the variables of a formula along an injective map g, and the literals of a certificate
along the same map, does not change whether the RUP-only checker Cslib.Logic.PL.CNF.checkLRUP
accepts the certificate (Cslib.Logic.PL.CNF.checkLRUP_relabel). The checker only compares
literals for equality and looks clauses up by number, and an injective renaming preserves both. A
solver can therefore work on a formula whose variables have been renamed, for example to
0, …, k - 1, and translate its certificate back to the original variables.
Main definitions #
Cslib.Logic.PL.relabelDIMACS: a DIMACS literal renamed alongg.Cslib.Logic.PL.relabelAction: a certificate step with its literals renamed.
Main results #
Cslib.Logic.PL.CNF.checkLRUP_relabel: the LRUP checker accepts a renamed certificate for the renamed formula exactly when it accepts the original.
A certificate step with the literals of its clause renamed along g. Clause numbers and
hints are unchanged.
Renaming commutes with negation.
Unit propagation along hints is unchanged by an injective renaming of the database and the starting literals.
The LRUP checker is invariant under injective renaming: it accepts a certificate with its
literals renamed along an injective g for the renamed formula exactly when it accepts the
original certificate for the original formula.