Sturm–Tarski over an arbitrary real closed ordered field #
IsTarskiSeed relates the second chain entry to f * p' modulo p.
sum_sign identifies the variation difference of a signed remainder chain
with the sum of query signs at the distinct roots in an open interval. Positive
pseudo-remainder scalings and a nonconstant terminal common factor are allowed,
and the head polynomial need not be squarefree. IsTarskiSeed.sign_eq_of_mul,
IsTarskiSeed.eval_eq_zero_of_mul, IsTarskiSeed.derivative_eval_ne_zero_of_mul and
IsTarskiSeed.sign_mul_eq_of_mul describe the query at the roots of a seed from which a
common factor of the head and second entry has been removed; IsTarskiSeed.sign_eq and
IsTarskiSeed.eval_eq_zero are the forms without a common factor.
The concrete Polynomial.sturmSeq specialization supplies sign sums and root
counts, and is the finite-interval basis for the infinite-endpoint formulas.
References #
For the classical sign-sum identity, see S. Basu, R. Pollack, and M.-F. Roy, Algorithms in Real Algebraic Geometry, revised second edition, §2.2.2, Theorem 2.73 (Tarski’s theorem).
The positive-scaled seed congruence between the second entry and f * p'
modulo p. Both scalings are explicit to cover signed pseudo-remainders.
A degree bound identifies the actual remainder, but is unnecessary for soundness.
Equations
- TauCeti.Sturm.IsTarskiSeed p f q = TauCeti.Sturm.IsRemainder (f * Polynomial.derivative p) p (-q)
Instances For
Construct a query seed from its positive-scaled congruence identity.
A query seed supplies positive scalings and the congruence identity.
The unreduced derivative query is a valid Tarski seed.
Reducing the derivative query modulo the head gives a valid Tarski seed.
If q is a Tarski seed for the head d * p and query f after the common factor d is
removed from it, then at every root r of p the sign of p' r * f r is the sign of q r.
The point r may be a multiple root of d * p.
A root of the removed common factor d that is not a root of the reduced head p is a
zero of the query.
At a root r of the reduced head p at which the reduced second entry q does not
vanish, r is a simple root of p. This holds even if r is a multiple root of d * p.
At a root r of the reduced head p at which the reduced second entry q does not
vanish, the sign of p' r * q r is the sign of the query f r.
At every root r of the head p of a Tarski seed, the sign of p' r * f r is the sign
of q r. The point r may be a multiple root of p.
A zero query seed makes the query vanish at every root of the nonzero head.
A valid query seed remains valid as the second entry of Mathlib's sequence, including the singleton case.
A zero query seed makes the query vanish at every root of the nonzero head, so its sign sum is zero on any finite set of such roots.
Sturm–Tarski for any nonempty signed remainder chain, including a singleton. The seed is the second entry, or zero when the chain has only its head. The head polynomial may have multiple roots.
Sturm–Tarski directly for Mathlib's concrete signed remainder sequence.
Classical Sturm counting of distinct roots in (a, b), counted without
multiplicity. Neither endpoint may be a root.