is_cp_refutation
A Cutting Planes refutation of a CNF formula F : Finset (Finset (CnfLit (Fin n))) is a CP derivation π : List (LinIneq n) from F containing a contradiction line whose coefficients are all zero and whose constant term is at least 1.
Statement
def is_cp_refutation (n : ℕ) (F : Finset (Finset (CnfLit (Fin n)))) (π : List (LinIneq n)) : Prop
- Defined in
- arXiv:2611.24548 Definition 4.1
- Verified
- 19 Nov 2026
- Axioms
- none listed
- Built on 3
- LinIneqA linear inequality c^T x ≥ d over n Boolean variables, with integer coefficient vector c : Fin n → ℤ and integer constant term d : ℤ.
- is_cp_derivationA Cutting Planes (CP) derivation from a CNF formula F : Finset (Finset (CnfLit (Fin n))) is a list π : List (LinIneq n) where each line…
- CnfLitA CNF literal over a variable type V is either a positive variable or a negated variable.
Read back from the Lean
is_cp_refutation n F π asserts that the list of linear inequalities π is a Cutting Planes refutation of the CNF formula F on n variables. Specifically, it asserts the conjunction of two conditions:
1. π is a valid Cutting Planes derivation from F (is_cp_derivation n F π).
2. There exists an index k : Fin π.length such that all coefficients of the inequality π[k] are zero (i.e., ∀ j : Fin n, π[k].coeffs j = 0) and the constant term of π[k] is at least 1 (1 ≤ π[k].const), representing the contradictory inequality 0 ≥ 1.
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 Cutting Planes (CP) refutation of a CNF formula F derives the contradiction 0 ≥ 1. -/ def is_cp_refutation (n : ℕ) (F : Finset (Finset (CnfLit (Fin n)))) (π : List (LinIneq n)) : Prop := is_cp_derivation n F π ∧ ∃ k : Fin π.length, (∀ j, π[k].coeffs j = 0) ∧ 1 ≤ π[k].const