Documentation

CslibFrontier.Logics.Propositional.Resolution.LRUPLowerBound

Lower bounds on the size of LRUP (RUP-only LRAT) certificates #

These exponential lower bounds apply specifically to the RUP-only (LRUP, without RAT steps) fragment of LRAT (Cslib.Logic.PL.CNF.checkLRUP), not to full LRAT with RAT steps (Cslib.Logic.PL.CNF.checkLRATRat). Full LRAT simulates Extended Resolution, which refutes both PHP^{n+1}_n (Cook, 1976) and bounded-degree Tseitin formulas in polynomial size.

A RUP-only certificate that Cslib.Logic.PL.CNF.checkLRUP accepts becomes a resolution refutation with at most |φ| + min (H) (S · N) lines, where H is the number of RUP/empty hints of the certificate, S its number of steps and N the number of variables of the formula (Cslib.Logic.PL.CNF.refutableInSize_of_checkLRUP). So the lower bounds on the size of resolution refutations are lower bounds on the size of LRUP certificates, for every RUP-only certificate that checkLRUP accepts, whichever solver produced it.

The checker reads formulas over ℕ, so a formula over another type of variables is given to it relabelled along an injective map, which changes neither its refutations' sizes (Cslib.Logic.PL.CNF.RefutableInSize.of_relabel) nor its number of clauses.

Both are corollaries, original to this library, of the cited resolution lower bounds through the translation from LRUP. They bound the certificate, not the running time of a solver or of the checker.

Main results #

theorem Cslib.Logic.PL.CNF.two_pow_le_of_checkLRUP_pigeonhole {n : ℕ} {f : Fin (n + 1) × Fin n → ℕ} (hf : Function.Injective f) {cert : Array Std.Tactic.BVDecide.LRAT.IntAction} (h : (relabel f (pigeonhole (n + 1) n)).checkLRUP cert = true) :
2 ^ (n / 24) ≤ n + 1 + n * (n + 1) ^ 2 + min (lrupHintCount cert.toList) (cert.size * ((n + 1) * n))

Accepted LRUP (RUP-only LRAT, without RAT steps) certificates for the pigeonhole formulas are exponentially long. This holds for Cslib.Logic.PL.CNF.checkLRUP (not for full LRAT with RAT steps, Cslib.Logic.PL.CNF.checkLRATRat, which simulates Extended Resolution and refutes PHP^{n+1}_n in polynomial size). For an injective map f numbering the variables of PHP^{n+1}_n, every certificate that checkLRUP accepts for the relabelled formula, with H hints and S steps, satisfies 2 ^ (n / 24) ≤ (n + 1) + n (n + 1)² + min H (S · (n + 1) n). A corollary of Haken's theorem (Cslib.Logic.PL.CNF.two_pow_le_of_refutableInSize_pigeonhole) through the translation to resolution (Cslib.Logic.PL.CNF.refutableInSize_of_checkLRUP).

theorem Cslib.Logic.PL.CNF.exists_forall_checkLRUP_exp_le (n : ℕ) :
n ≥ 4392000 → ∃ m ≤ 120 * n, ∃ (φ : CNF (Fin m)), List.length φ ≤ 2 ^ 120 * n ∧ (∀ c ∈ φ, c.width ≤ 120) ∧ ¬φ.Satisfiable ∧ ∀ (cert : Array Std.Tactic.BVDecide.LRAT.IntAction), (relabel Fin.val φ).checkLRUP cert = true → Real.exp (↑n / (960 * 36000 ^ 2)) ≤ ↑(2 ^ 120 * n + min (lrupHintCount cert.toList) (cert.size * m))

A family of formulas whose accepted LRUP (RUP-only LRAT, without RAT steps) certificates are 2 ^ Ω(n) long. This holds for Cslib.Logic.PL.CNF.checkLRUP (not for full LRAT with RAT steps, Cslib.Logic.PL.CNF.checkLRATRat, which simulates Extended Resolution and refutes bounded-degree Tseitin formulas in polynomial size). For every n ≥ 4392000 there is an unsatisfiable formula with m ≤ 120 n variables and at most 2 ^ 120 · n clauses, of width at most 120, such that every certificate that checkLRUP accepts for it, numbered along Fin.val, with H hints and S steps, satisfies exp (n / (960 · 36000²)) ≤ 2 ^ 120 · n + min H (S · m). The formula is the Tseitin formula of an expander, as in Cslib.Logic.PL.CNF.exists_forall_refutableInSize_exp_le, of whose resolution lower bound this is a corollary through the translation to resolution (Cslib.Logic.PL.CNF.refutableInSize_of_checkLRUP).