A spectral-product criterion for a qualifying real root #
A short list of derivative signs and a bounded shift suffice to make the product of the shifted integer label over distinct complex roots negative exactly when the qualifying polynomial is positive at some real root.
Adapted from RootLabelProductCriterion and SparseRootProductCriterion in
lean-canny at commit 970f28a5ecefc1327402ade16c068aa4b1b2c183.
theorem Polynomial.exists_eval₂_pos_at_root_iff_neg_shiftedRootLabel_prod {D N b : ℕ} {p q : Polynomial ℤ} (hp : p ≠ 0) (hD : 0 < D) (hpD : p.natDegree ≤ D) (hDN : D ≤ 2 ^ N) (hqD : q.natDegree ≤ D) (hpb : p.coeffNorm1 ≤ 2 ^ b) (hqb : q.coeffNorm1 ≤ 2 ^ b) :
Existence of a root of p at which q is positive is equivalent to a
negative spectral product for some short integer label and bounded shift.