Documentation

CslibFrontier.Logics.Propositional.Algebraic.Nullstellensatz.Combination

Nullstellensatz certificates from finite combinations #

A Nullstellensatz proof (Cslib.Logic.PL.NS.IsProof) assigns one multiplier to each position of the input list. Certificates are often easier to write as a finite sum ∑ t ∈ s, f t * g t with every f t an input, where the same input may occur for several t. Cslib.Logic.PL.NS.exists_isProof_of_sum turns such a sum into a certificate. If every term with a nonzero multiplier has deg (f t) + deg (g t) ≤ d, the certificate has degree at most d (Cslib.Logic.PL.NS.degree). Each multiplier g t is added at one position holding f t. In particular, refutability in degree d is monotone in the input list (Cslib.Logic.PL.NS.RefutableInDegree.mono).

Main results #

theorem Cslib.Logic.PL.NS.exists_isProof_of_sum {V : Type u_1} {R : Type u_2} [CommSemiring R] {κ : Type u_3} {F : List (MvPolynomial V R)} (s : Finset κ) (f g : κ → MvPolynomial V R) (hf : ∀ t ∈ s, f t ∈ F) {d : ℕ} (hd : ∀ t ∈ s, g t ≠ 0 → (f t).totalDegree + (g t).totalDegree ≤ d) :
∃ (P : Fin F.length → MvPolynomial V R), IsProof F P (∑ t ∈ s, f t * g t) ∧ degree F P ≤ d

A certificate from a finite combination. If q = ∑ t ∈ s, f t * g t with every f t in F, and every term with g t ≠ 0 has deg (f t) + deg (g t) ≤ d, then q has a Nullstellensatz proof from F of degree at most d.

theorem Cslib.Logic.PL.NS.RefutableInDegree.mono {V : Type u_1} {R : Type u_2} [CommSemiring R] {F G : List (MvPolynomial V R)} {d e : ℕ} (h : RefutableInDegree F d) (hFG : F ⊆ G) (hde : d ≤ e) :

Nullstellensatz refutability in degree d is monotone in the input list and in d.