Positivstellensatz refutations of CNF formulas #
A CNF formula φ becomes polynomial constraints through its cutting-planes inequalities: the
clause C gives ∑_{v ∈ C} xᵥ + ∑_{¬v ∈ C} (1 - xᵥ) - 1 ≥ 0 (Clause.toIneq, through
Ineq.toPoly, which sends ∑ᵥ aᵥ xᵥ ≥ b to ∑ᵥ aᵥ xᵥ - b), and every variable gives the box
constraints xᵥ ≥ 0 and 1 - xᵥ ≥ 0 (SOS.Psatz.cnfIneqs). The Boolean axioms xᵥ ² - xᵥ = 0
are the equations (SOS.Psatz.booleanAxioms). This is the translation of Grigoriev, Hirsch and
Pasechnik, Section 2.3, inequalities (2.4)–(2.6) with the Boolean
axioms as equations.
Over a strictly ordered ring the common solutions of these constraints are exactly the satisfying
assignments (SOS.Psatz.exists_feasible_iff), so a Positivstellensatz refutation shows that φ is
unsatisfiable (SOS.Psatz.not_satisfiable_of_refutableInDegree). In degree at most 1 the
Boolean axioms impose nothing, since every nonzero multiple of xᵥ ² - xᵥ has degree at least 2
(SOS.Psatz.eq_zero_of_totalDegree_mul_le_one). A point of the box that satisfies the clause
inequalities, fractional or not, is then a pseudo-expectation of degree 1
(SOS.Psatz.degreeOnePseudoExpectation), which rules out refutations of degree 1
(SOS.Psatz.not_refutableInDegree_one_of_eval_nonneg).
Main definitions #
Cslib.Logic.PL.Ineq.toPoly: the polynomial∑ᵥ aᵥ xᵥ - bof∑ᵥ aᵥ xᵥ ≥ b.Cslib.Logic.PL.SOS.Psatz.cnfIneqs: the inequality constraints of a CNF formula.Cslib.Logic.PL.SOS.Psatz.booleanAxioms: the Boolean axiomsxᵥ ² - xᵥ = 0.Cslib.Logic.PL.SOS.Psatz.degreeOnePseudoExpectation: the degree-1pseudo-expectation of a fractional point.
Main results #
Cslib.Logic.PL.SOS.Psatz.exists_feasible_iff: the constraints ofφhave a common solution exactly whenφis satisfiable.Cslib.Logic.PL.SOS.Psatz.not_satisfiable_of_refutableInDegree: soundness for CNF formulas.Cslib.Logic.PL.SOS.Psatz.not_refutableInDegree_one_of_eval_nonneg: a fractional point that satisfies the inequality constraints rules out refutations of degree1.
References #
- [D. Grigoriev, E. A. Hirsch, D. V. Pasechnik, Complexity of semialgebraic proofs] [GHP02]
The polynomial ∑ᵥ aᵥ Xᵥ - b of the inequality ∑ᵥ aᵥ xᵥ ≥ b.
Ineq.toPoly as an additive homomorphism.
The polynomial of an inequality is affine.
Over a strictly ordered ring, an inequality holds at a 0/1 point exactly when its
polynomial is nonnegative there.
The polynomial of the inequality of a clause: ∑_{v ∈ C} Xᵥ + ∑_{¬v ∈ C} (1 - Xᵥ) - 1, over
the distinct literals of C.
The inequality constraints of a CNF formula: the polynomials of its clause inequalities and
the box constraints Xᵥ ≥ 0, 1 - Xᵥ ≥ 0.
The Boolean axioms Xᵥ ² - Xᵥ = 0.
A property holds on the inequality constraints of φ exactly when it holds on the clause
polynomials and the box constraints.
The encoding is faithful: over a strictly ordered ring, the constraints of φ have a common
solution exactly when φ is satisfiable.
Soundness for CNF formulas: a CNF formula whose constraints have a Positivstellensatz refutation is unsatisfiable.
In degree at most 1 the Boolean axioms impose nothing: every multiple of Xᵥ ² - Xᵥ of
total degree at most 1 is zero.
The degree-1 pseudo-expectation of a fractional point: evaluation at a point, not
necessarily 0/1, that satisfies the inequality constraints of φ is a pseudo-expectation of
degree 1, since in degree 1 the Boolean axioms impose nothing.
The pseudo-expectation degreeOnePseudoExpectation x hx is evaluation at x.
Degree-1 lower bounds from fractional points: if a point, not necessarily 0/1,
satisfies the inequality constraints of φ, then φ has no Positivstellensatz refutation of degree
at most 1.