Cutting planes #
The cutting planes proof system Cook, Coullard and Turán reasons about
integer linear inequalities ∑ᵥ aᵥ xᵥ ≥ b over variables ranging over {0, 1}
(Cslib.Logic.PL.Ineq, with finitely supported integer coefficients). A line follows from earlier
lines by
- adding two lines,
- multiplying a line by a positive integer, or
- rounded division Chvátal: from
∑ᵥ (c aᵥ) xᵥ ≥ bwithc > 0infer∑ᵥ aᵥ xᵥ ≥ ⌈b / c⌉(Cslib.Logic.PL.Ineq.div),
and the axioms are xᵥ ≥ 0 and -xᵥ ≥ -1. Rounding is sound because the left-hand side takes
integer values on integer points. These are the rules of Krajíček, Section 1 and
Jukna, Section 19.1. A cutting planes proof from a set Γ of inequalities
(Cslib.Logic.PL.CuttingPlanes.IsProof) is a list of inequalities, from its last line to its first,
each of which is in Γ, an axiom, or follows from earlier lines by a rule. Its size is its number
of lines and a refutation is a proof with the contradiction 0 ≥ 1 (Cslib.Logic.PL.Ineq.contra)
among its lines. Coefficient sizes are not measured.
Every line of a proof from Γ holds under every 0/1 assignment satisfying Γ
(Cslib.Logic.PL.CuttingPlanes.IsProof.holds), so a refutable system has no 0/1 solution.
A clause C translates to ∑_{v ∈ C} xᵥ + ∑_{¬v ∈ C} (1 - xᵥ) ≥ 1 over its distinct literals
(Cslib.Logic.PL.Clause.toIneq), which holds under an assignment exactly when the clause does
(Cslib.Logic.PL.Clause.holds_toIneq_iff) Jukna, Section 19.2. A CNF φ gives the
system φ.toIneqs of the inequalities of its clauses, which cutting planes refute only if φ is
unsatisfiable.
Main definitions #
Cslib.Logic.PL.Ineq: integer linear inequalities, withCslib.Logic.PL.Ineq.Holdstheir satisfaction by 0/1 assignments.Cslib.Logic.PL.Ineq.contra,Cslib.Logic.PL.Ineq.nonneg,Cslib.Logic.PL.Ineq.leOne: the contradiction0 ≥ 1and the axiomsxᵥ ≥ 0and-xᵥ ≥ -1.Cslib.Logic.PL.Ineq.div: rounded division.Cslib.Logic.PL.Ineq.relabel: renaming the variables.Cslib.Logic.PL.Literal.toIneq,Cslib.Logic.PL.Clause.toIneq,Cslib.Logic.PL.CNF.toIneqs: literals, clauses and CNFs as inequalities.Cslib.Logic.PL.CuttingPlanes.IsProof,Cslib.Logic.PL.CuttingPlanes.rules: cutting planes proofs and inference rules.Cslib.Logic.PL.CuttingPlanes.DerivableInSize,Cslib.Logic.PL.CuttingPlanes.RefutableInSize: derivability and refutability with a bounded number of lines.
Main results #
Cslib.Logic.PL.Ineq.Holds.div: soundness of rounded division.Cslib.Logic.PL.Clause.holds_toIneq_iff: the translation of clauses is faithful.Cslib.Logic.PL.CuttingPlanes.isProof_iff_lineProof: cutting planes proofs asCslib.Logic.PL.LineProofderivations.Cslib.Logic.PL.CuttingPlanes.IsProof.holds,Cslib.Logic.PL.CuttingPlanes.RefutableInSize.not_exists_holds,Cslib.Logic.PL.CuttingPlanes.RefutableInSize.not_satisfiable: soundness.Cslib.Logic.PL.CuttingPlanes.IsProof.comp,Cslib.Logic.PL.CuttingPlanes.DerivableInSize.extend: composing proofs.Cslib.Logic.PL.CuttingPlanes.IsProof.mono,Cslib.Logic.PL.CuttingPlanes.IsProof.restrict: a proof uses only the hypotheses among its lines.Cslib.Logic.PL.CuttingPlanes.IsProof.relabel,Cslib.Logic.PL.CuttingPlanes.DerivableInSize.relabel,Cslib.Logic.PL.CuttingPlanes.RefutableInSize.relabel: renaming the variables along any map renames proofs, derivations and refutations, keeping their size.Cslib.Logic.PL.CNF.toIneqs_relabel: along an injective map, the inequalities of a renamed CNF are the renamed inequalities.
References #
- V. Chvátal, Edmonds polytopes and a hierarchy of combinatorial problems
- W. Cook, C. R. Coullard, Gy. Turán, On the complexity of cutting-plane proofs
- S. Jukna, Boolean Function Complexity: Advances and Frontiers, Sections 19.1 and 19.2
- J. Krajíček, Interpolation theorems, lower bounds for proof systems, and independence results for bounded arithmetic, Section 1
An integer linear inequality ∑ᵥ aᵥ xᵥ ≥ b over the variables V, with finitely many
nonzero coefficients. Inequalities form an additive group under coefficientwise operations.
The coefficients
aᵥ.- bound : ℤ
The bound
b.
Instances For
Semantics #
The axioms and the contradiction #
The axiom -xᵥ ≥ -1, that is xᵥ ≤ 1.
Rounded division #
Rounded division by c Chvátal: ∑ᵥ (aᵥ / c) xᵥ ≥ ⌈b / c⌉, where aᵥ / c
is integer division. It is sound when c divides every coefficient
(Cslib.Logic.PL.Ineq.Holds.div); cutting planes use it only for c > 0.
Recognizing a rounded division: I.div c = J when the coefficients of I are c times those
of J and ⌈b_I / c⌉ = b_J.
Renaming variables #
Along an injective renaming, the coefficient of f v is that of v.
Clauses as inequalities #
The inequality of a literal: xᵥ ≥ 0 for v, and -xᵥ ≥ -1 (that is 1 - xᵥ ≥ 0) for
¬v.
The inequality ∑_{v ∈ C} xᵥ + ∑_{¬v ∈ C} (1 - xᵥ) ≥ 1 of a clause C, over its distinct
literals Jukna, Section 19.2. It is 0 ≥ 1 plus the inequalities of the distinct
literals of C.
The translation of clauses is faithful: σ satisfies the inequality of c iff it
satisfies c.
The empty clause translates to 0 ≥ 1.
For a clause without repeated literals, the translation is 0 ≥ 1 plus the list sum.
The inequalities of the clauses of φ.
σ satisfies the inequalities of φ iff it satisfies φ.
Along an injective renaming, the inequality of a renamed clause is the renamed inequality.
Along an injective renaming, the inequalities of a renamed CNF are the renamed inequalities.
Proofs #
A cutting planes proof from the inequalities Γ Cook, Coullard and
Turán, listed from its last line to its first: every line is in Γ, an
axiom xᵥ ≥ 0 or -xᵥ ≥ -1, the sum of two earlier lines, an earlier line multiplied by a positive
integer, or an earlier line divided with rounding by a positive integer dividing all its
coefficients.
- nil {V : Type u_1} {Γ : Set (Ineq V)} : IsProof Γ []
The empty proof.
- hyp {V : Type u_1} {Γ : Set (Ineq V)} {ls : List (Ineq V)} {I : Ineq V} (h : IsProof Γ ls) (hI : I ∈ Γ) : IsProof Γ (I :: ls)
An inequality of
Γ. - nonneg {V : Type u_1} {Γ : Set (Ineq V)} {ls : List (Ineq V)} (h : IsProof Γ ls) (v : V) : IsProof Γ (Ineq.nonneg v :: ls)
The axiom
xᵥ ≥ 0. - leOne {V : Type u_1} {Γ : Set (Ineq V)} {ls : List (Ineq V)} (h : IsProof Γ ls) (v : V) : IsProof Γ (Ineq.leOne v :: ls)
The axiom
-xᵥ ≥ -1. - add {V : Type u_1} {Γ : Set (Ineq V)} {ls : List (Ineq V)} {I J : Ineq V} (h : IsProof Γ ls) (hI : I ∈ ls) (hJ : J ∈ ls) : IsProof Γ ((I + J) :: ls)
The sum of two earlier lines.
- smul {V : Type u_1} {Γ : Set (Ineq V)} {ls : List (Ineq V)} {I : Ineq V} (h : IsProof Γ ls) (c : ℕ) (hc : 0 < c) (hI : I ∈ ls) : IsProof Γ (c • I :: ls)
An earlier line multiplied by a positive integer.
- div {V : Type u_1} {Γ : Set (Ineq V)} {ls : List (Ineq V)} {I : Ineq V} (h : IsProof Γ ls) (c : ℕ) (hc : 0 < c) (hdvd : ∀ (v : V), ↑c ∣ I.coeff v) (hI : I ∈ ls) : IsProof Γ (I.div c :: ls)
An earlier line divided, with rounding, by a positive integer dividing its coefficients.
The axioms and inference rules of cutting planes as Cslib.Logic.PL.LineRules: the box axioms
xᵥ ≥ 0 and -xᵥ ≥ -1, addition, multiplication by a positive integer, and rounded division by a
positive integer dividing every coefficient.
Every cutting planes rule preserves satisfaction by a 0/1 assignment.
Soundness: every line of a proof from Γ holds under every 0/1 assignment satisfying
Γ.
Composing proofs: a proof ls' from Δ replays on top of a proof ls from Γ when every
inequality of Δ is in Γ or a line of ls, adding at most as many lines as ls' has.
An inequality of Γ is derivable in one line.
The axiom xᵥ ≥ 0 is derivable in one line.
The axiom -xᵥ ≥ -1 is derivable in one line.
The inequality of a literal is an axiom, derivable in one line.
Renaming the variables along any map keeps a derivation a derivation of the same size.
Adding a family of derivable inequalities to a derivable inequality, one at a time.
The sum of a nonempty family of derivable inequalities.
Soundness of derivations.
Replay a derivation from Δ on top of a proof ls from Γ when every inequality of Δ is in
Γ or a line of ls.
Soundness of cutting planes: a refutable system has no 0/1 solution.
Renaming the variables along any map keeps a refutation a refutation of the same size.
Soundness of cutting planes for CNFs: a CNF whose inequalities are refutable is unsatisfiable.