Positive-scaled signed remainder chains #
The defining relations allow pseudo-remainder scaling. The terminal entry may be nonconstant; no coprimality is imposed on the first two entries.
Polynomial.sturmSeq satisfies these relations. The relational formulation also
allows positive pseudo-remainder scalings without changing root sign sums.
A positively scaled signed remainder identity.
Equations
- TauCeti.Sturm.IsRemainder p q r = ∃ (a : R) (b : R) (u : Polynomial R), 0 < a ∧ 0 < b ∧ Polynomial.C a * p = u * q - Polynomial.C b * r
Instances For
The algebraic relations of a signed remainder chain, including its exact termination. Degree descent is needed to construct such a chain, but not to verify its signed root-sum identity.
- nonzero (p : Polynomial R) : p ∈ cs → p ≠ 0
Every entry is a nonzero polynomial.
- relation (i : ℕ) (p q r : Polynomial R) : cs[i]? = some p → cs[i + 1]? = some q → cs[i + 2]? = some r → IsRemainder p q r
Successive triples satisfy a positively scaled signed remainder identity.
The final remainder vanishes, so the last entry divides its predecessor.
Instances For
Construct the signed remainder relation from positive scalings and a polynomial identity.
A signed remainder relation supplies positive scalings and its polynomial identity.
A common divisor of the two later entries divides the earlier entry.
At a zero of the middle entry, the neighbors have opposite signs, provided the right neighbor does not vanish.
A nonzero polynomial alone forms a signed remainder sequence.
A two-entry chain terminates when its second polynomial divides its first.
Prepend one signed recurrence to a chain.
The terminal polynomial divides every chain entry.
A signed remainder chain with a root-free last entry is alternating.
Mathlib's signed remainder sequence satisfies the algebraic chain conditions.
Cancel a nonzero common polynomial factor from a signed remainder identity.
Dividing out a nonzero common factor preserves the signed chain conditions:
if cs.map (d * ·) is signed, so is cs.
Divide every entry by the terminal common factor. The resulting chain is
alternating and ends at 1, even when the original terminal factor is nonconstant.