SAT errors have local inconsistency witnesses within the same encoding-length bound
ProvedPvsNP.SATLocal.bounded_error_iff_local_witnesscomplexity-theoryformal-verificationpropositional-logic
Fix any Boolean judge for CNF satisfiability and any encoding-length bound. There is a formula within the bound on which the judge disagrees with satisfiability exactly when some formula within that same bound violates the local judgment rule. The rule tests the variable-free base case or compares the judge on the formula with the OR of its answers on the two restrictions of its first variable.
Preamble
import Definitions.Def_SATLocalWitnesses open PvsNP PvsNP.SATLocal
Formal statement
theorem PvsNP.SATLocal.bounded_error_iff_local_witness (J : CNF → Bool) (budget : ℕ) :
(∃ F : CNF, (encodeCNF F).length ≤ budget ∧ ErrorAt J F) ↔
(∃ F : CNF, (encodeCNF F).length ≤ budget ∧ Inconsistent J F) := by sorrySource
SAT self-reducibility, together with well-founded descent on the number of remaining variables.