A degree lower bound for subset sum #
The subset-sum polynomial m - ∑ᵢ cᵢ xᵢ (Cslib.Logic.PL.Algebraic.subsetSumPoly) over a field
F, with the Boolean axioms, asks for a subset of the coefficients cᵢ summing to m.
Theorem 5.1 of Impagliazzo, Pudlák and Sgall [IPS99] states that for nonzero
real c₁, …, cₙ and arbitrary real m, this polynomial has no polynomial calculus refutation of
degree ⌈n/2⌉. Here this is Cslib.Logic.PL.PC.not_refutableInDegree_subsetSumPoly, for the
polynomial calculus proofs Cslib.Logic.PL.PC.IsProof with the Boolean axioms as inputs. Since
the Nullstellensatz proofs Cslib.Logic.PL.NS.IsProof are simulated in the same degree
(Cslib.Logic.PL.PC.RefutableInDegree.of_ns), the bound also holds for Nullstellensatz
(Cslib.Logic.PL.NS.not_refutableInDegree_subsetSumPoly). When m is not a subset sum of the
cᵢ, the system is refutable in degree n + 1 by completeness
(Cslib.Logic.PL.PC.refutableInDegree_subsetSumPoly_iff), so this is a genuine degree lower bound.
For c = 1 and m > n, Theorem 4.2 of the same paper gives a refutation of degree ⌈n/2⌉ + 1,
under a condition on the characteristic. The source notes that this matches the lower bound over
ℝ. That upper bound is not formalized here.
The statement here holds over every field in which ⌈n/2⌉! is nonzero, so in characteristic zero
and in every characteristic larger than ⌈n/2⌉; the source states it over ℝ. This is a mild
generalization of the source statement, with the same proof: Lemma 5.2 is applied only to
functions of degree below ⌈n/2⌉, and needs 1, …, deg r + 1 to be nonzero.
The proof follows the source, through the invariant method
(Cslib.Logic.PL.PC.IsProof.mem_of_degree_le). Let L x = m - ∑ᵢ cᵢ xᵢ, and let M be the
polynomials that agree on the cube with L * r for a function r of degree at most d - 1.
Mis a submodule containing the subset-sum polynomial (r = 1) and the Boolean axioms (r = 0).- If
p ∈ MandX i * phas degree at mostd, thenphas degree at mostd - 1, and so hasL * r. Lemma 5.2 of the source (Cslib.BitString.totalDegree_affine_mul) bounds the degree ofrbyd - 2, which leaves room for the factorxᵢ. - A refutation would put
1inM, so1 = L * ron the cube withr ≠ 0. Lemma 5.2 would then give the constant1degree at least one.
Main definitions #
Cslib.Logic.PL.Algebraic.subsetSumPoly: the polynomialm - ∑ᵢ cᵢ xᵢ.
Main results #
Cslib.Logic.PL.Algebraic.isBoolSolution_subsetSumPoly_iff: the0/1solutions are the subsets summing tom.Cslib.Logic.PL.PC.not_refutableInDegree_subsetSumPoly: Theorem 5.1 of [IPS99], over fields with⌈n/2⌉! ≠ 0.Cslib.Logic.PL.NS.not_refutableInDegree_subsetSumPoly: the same bound for Nullstellensatz.Cslib.Logic.PL.PC.refutableInDegree_subsetSumPoly_iff: refutability in degreen + 1exactly when no subset sums tom.
References #
The subset-sum polynomial m - ∑ᵢ cᵢ xᵢ, whose 0/1 zeros are the subsets of the
coefficients cᵢ summing to m.
The subset-sum polynomial has degree at most one.
Theorem 5.1 of [IPS99]. Let c₁, …, cₙ be nonzero, n ≥ 1, and m
arbitrary, over a field in which ⌈n/2⌉! is nonzero. Then the subset-sum polynomial m - ∑ᵢ cᵢ xᵢ,
with the Boolean axioms, has no polynomial calculus refutation of degree ⌈n/2⌉ = (n + 1) / 2.
The source states the theorem over ℝ. For n = 0 and m ≠ 0 the constant m refutes itself
in degree 0.
Theorem 5.1 of [IPS99] for Nullstellensatz. Under the hypotheses of
Cslib.Logic.PL.PC.not_refutableInDegree_subsetSumPoly, the subset-sum polynomial, with the
Boolean axioms, has no Nullstellensatz refutation of degree ⌈n/2⌉.
The subset-sum polynomial, with the Boolean axioms, has a polynomial calculus refutation of
degree n + 1 exactly when no subset of the coefficients sums to m.