Nullstellensatz proofs #
A Nullstellensatz proof of a polynomial q from a list F of input polynomials is an
identity ∑ i, F.get i * P i = q (Cslib.Logic.PL.NS.IsProof), where the
certificate P is a family of polynomial multipliers. A refutation proves 1, expressing a
contradiction from the input equations f = 0. Proofs are sound: every common zero of the inputs
is a zero of the proved polynomial, so over nontrivial coefficients a refutable system has no
common zero.
Coefficients lie in a commutative semiring. The certificate identity uses addition and multiplication, and input equations supply the axioms for the chosen encoding and basis. The standard field setting is described in de Rezende et al., §8.1, p. 217.
The size follows the source's definition ∑ i, ‖p i‖ * ‖f i‖, where ‖g‖ counts the nonzero
monomials of g. It counts pairs of input and multiplier monomials before the products are
collected. The degree bounds input degree plus multiplier degree for each nonzero multiplier,
and is 0 when every multiplier is zero. A nonzero multiplier of a zero input still contributes
its degree. These measures concern formal polynomials before any Boolean reduction.
If every input has total degree at most d₀, a refutation can be replaced without increasing
its size by one of degree at most d₀ times the original size
(NS.IsProof.exists_degree_le_mul_size). The auxiliary gap-truncation argument proved here
replaces the multipliers by their low-degree parts.
Main definitions #
Cslib.Logic.PL.NS.IsProof: the identity giving a Nullstellensatz proof.Cslib.Logic.PL.NS.size,Cslib.Logic.PL.NS.degree: size and degree of a certificate.Cslib.Logic.PL.NS.RefutableInSize,Cslib.Logic.PL.NS.RefutableInDegree: refutability with a bound on size or degree.
Main results #
Cslib.Logic.PL.NS.degree_le_iff: characterize a degree bound by the nonzero multipliers.Cslib.Logic.PL.NS.IsProof.single,Cslib.Logic.PL.NS.IsProof.add,Cslib.Logic.PL.NS.IsProof.mul_left: input proofs, addition and polynomial multiplication.Cslib.Logic.PL.NS.IsProof.eval_eq_zero,Cslib.Logic.PL.NS.IsProof.exists_eval_ne_zero: soundness.Cslib.Logic.PL.NS.IsProof.exists_degree_le_mul_size: replace a refutation by one of no larger size with degree controlled by the original size and the input degrees.
References #
Complexity measures #
The monomial size of an NS certificate, the sum of products of input and multiplier support sizes, as in [DeRezendeEtAl2021, §8.1].
The degree of an NS certificate, ignoring zero multipliers and returning 0 when every
multiplier is zero. A nonzero multiplier of a zero input polynomial still contributes its degree.
An NS certificate has degree at most d exactly when every term with a nonzero multiplier
has input degree plus multiplier degree at most d.
Proofs #
The certificate P forms a Nullstellensatz proof of q from F:
∑ i, F.get i * P i = q.
An input polynomial has a proof with multiplier 1 at its index and 0 elsewhere.
Adding NS proofs gives a proof of the sum of their target polynomials.
Multiplying every multiplier by p proves p times the original target.
Soundness. Every common zero of the inputs is a zero of the proved polynomial.
Over nontrivial coefficients, a refutation leaves no common zero of the inputs: at every point some input does not vanish.
If every input has degree at most d₀, an NS refutation has a replacement certificate
of no larger size and degree at most d₀ * size F P. This auxiliary bound is proved by
truncating the multipliers at a gap in their monomial degrees.
F has a Nullstellensatz refutation of size at most s.
F has a Nullstellensatz refutation of degree at most d.