is_thr_res_refutation
A Threshold Resolution refutation of a CNF formula F : Finset (Finset (CnfLit (Fin n))) is a Thr-Res derivation π : List (ThrCond n) from F such that there exists an index k : Fin π.length with for all l, π[k].coeffs l = 0 and 1 ≤ π[k].threshold.
Statement
def is_thr_res_refutation (n : ℕ) (F : Finset (Finset (CnfLit (Fin n)))) (π : List (ThrCond n)) : Prop
- Defined in
- arXiv:2611.24548 Definition 2.12
- Verified
- 19 Nov 2026
- Axioms
- none listed
- Built on 3
- ThrCondA threshold condition over n Boolean variables is an inequality f ≥ s, where f is a nonnegative integer linear combination of literals…
- is_thr_res_derivationA Threshold Resolution (Thr-Res) derivation from a CNF formula F : Finset (Finset (CnfLit (Fin n))) is a list π : List (ThrCond n) where…
- CnfLitA CNF literal over a variable type V is either a positive variable or a negated variable.
Read back from the Lean
Given a number of variables n : ℕ, a set of clauses F : Finset (Finset (CnfLit (Fin n))), and a list of threshold conditions π : List (ThrCond n), is_thr_res_refutation n F π asserts that:
1. π is a valid threshold resolution derivation from F (is_thr_res_derivation n F π), and
2. There exists an index k : Fin π.length such that all coefficients of π[k] are zero (for every literal l : CnfLit (Fin n), π[k].coeffs l = 0) and the threshold of π[k] is at least 1 (1 ≤ π[k].threshold), representing a derived contradiction.
Written by a model that saw only the Lean, never the English above. If the two disagree, that is worth a challenge.
Lean source view module on GitHub
/-- A Threshold Resolution (Thr-Res) refutation of a CNF formula F derives the contradiction 0 ≥ 1. -/ def is_thr_res_refutation (n : ℕ) (F : Finset (Finset (CnfLit (Fin n)))) (π : List (ThrCond n)) : Prop := is_thr_res_derivation n F π ∧ ∃ k : Fin π.length, (∀ l, π[k].coeffs l = 0) ∧ 1 ≤ π[k].threshold