Polynomial Calculus proofs #
A Polynomial Calculus proof from a list F of input polynomials is a sequence in which each
line is an input, a scalar linear combination of two earlier lines, or an earlier line
multiplied by a variable (Cslib.Logic.PL.PC.IsProof). Proofs are listed from
their last line to their first, so that a new line is added in front. A refutation contains
the polynomial 1. Proofs are sound: every line vanishes at every common zero of the inputs.
The size is the sum of the numbers of supported monomials across all lines, counting repeated
lines separately. The degree is the largest total degree of a line, with value 0 for the
empty proof. Polynomials are formal.
Relation to the source #
de Rezende et al., §8.1, p. 217 works over a field, with the same two rules
(scalar linear combination and multiplication by a variable), the same size ∑ i, ‖p i‖ and the
same degree; a refutation there ends with 1, while here it contains 1, which is equivalent
after discarding the lines above it. Coefficients here lie in an arbitrary commutative semiring:
the rules use only addition and multiplication. Over the trivial semiring every nonempty input
list is refutable.
Proofs from the same inputs concatenate. Derivations of monomial multiples and nonzero finite linear combinations come with size and degree bounds, providing the constructions used to simulate Nullstellensatz refutations.
Main definitions #
Cslib.Logic.PL.PC.IsProof: polynomial calculus proofs.Cslib.Logic.PL.PC.size,Cslib.Logic.PL.PC.degree: size and degree of a proof.Cslib.Logic.PL.PC.RefutableInSize,Cslib.Logic.PL.PC.RefutableInDegree: refutability with a bound on size or degree.
Main results #
Cslib.Logic.PL.PC.degree_le_iff: characterize a degree bound by the degrees of the lines.Cslib.Logic.PL.PC.IsProof.append: concatenate proofs from the same input system.Cslib.Logic.PL.PC.IsProof.eval_eq_zero,Cslib.Logic.PL.PC.IsProof.exists_eval_ne_zero: soundness.Cslib.Logic.PL.PC.exists_isProof_monomial_mul: derive a monomial multiple of an input, with bounds on proof size and degree.Cslib.Logic.PL.PC.exists_isProof_sum: derive a nonzero linear combination from proofs of its nonzero input polynomials, with bounds on proof size and degree.
References #
Complexity measures #
The size of a PC proof: the sum of support sizes across all lines, counting repeated lines separately.
The degree of a PC proof: the maximum total degree of a line, with value 0 for the
empty list.
A PC proof has degree at most d exactly when every line has total degree at most d.
Proofs #
A Polynomial Calculus proof from F, listed from its last line to its first:
every line is an input from F, a scalar linear combination of two lines below it, or a line
below it multiplied by a variable.
- nil {V : Type u_1} {R : Type u_2} [CommSemiring R] {F : List (MvPolynomial V R)} : IsProof F []
The empty proof.
- mem {V : Type u_1} {R : Type u_2} [CommSemiring R] {F ls : List (MvPolynomial V R)} {p : MvPolynomial V R} (h : IsProof F ls) (hp : p ∈ F) : IsProof F (p :: ls)
An axiom of
Fis a new line. - linear {V : Type u_1} {R : Type u_2} [CommSemiring R] {F ls : List (MvPolynomial V R)} {p q : MvPolynomial V R} (a b : R) (h : IsProof F ls) (hp : p ∈ ls) (hq : q ∈ ls) : IsProof F ((MvPolynomial.C a * p + MvPolynomial.C b * q) :: ls)
A linear combination of two earlier lines.
- mulVar {V : Type u_1} {R : Type u_2} [CommSemiring R] {F ls : List (MvPolynomial V R)} {p : MvPolynomial V R} (v : V) (h : IsProof F ls) (hp : p ∈ ls) : IsProof F (MvPolynomial.X v * p :: ls)
Multiplication of an earlier line by a variable.
The empty proof has size zero.
Adding a line adds its size.
Sizes add under concatenation.
The empty proof has degree zero.
Adding a line takes the maximum of its degree and the previous proof's degree.
A proof placed above another proof from the same input system gives a proof.
Soundness. Every line of a proof vanishes at every common zero of the inputs.
Over nontrivial coefficients, a refutation leaves no common zero of the inputs: at every point some input does not vanish.
A monomial multiple of an input polynomial has a PC proof of size at most
(m.degree + 1) * f.support.card and degree at most f.totalDegree + m.degree. The proof
starts with f and multiplies by variables.
Derive the nonzero sum ∑ i ∈ t, C (a i) * p i in one PC proof of degree at most d
and size at most (∑ i ∈ t, w i) ^ 2 + ∑ i ∈ t, c i, given support bounds w i
and proofs of size at most c i and degree at most d for every nonzero p i in t.
F has a Polynomial Calculus refutation of size at most s.
F has a Polynomial Calculus refutation of degree at most d.