Thom's lemma: sign conditions on all derivatives are open intervals #
Over a real closed ordered field, fix signs for every formal derivative of a polynomial p,
including p itself. The set of points realizing these signs is empty, a single point, or an
open interval whose endpoints are points of the field or infinite
(Polynomial.preimage_derivativeSign_subsingleton_or_eq_Ioo). The finite Thom sign conditions,
on the derivatives of orders 1, …, natDegree p, have the same shape
(Polynomial.preimage_thomEncoding_subsingleton_or_eq_Ioo).
Polynomial.ordConnected_preimage_derivativeSign already shows that these sets are
order-convex. Over a non-Archimedean real closed field an order-convex set need not have
endpoints in the field, so the existence of the endpoints is the additional content here: when
the condition is realized at two points, the realizing set is a whole interval between
consecutive roots of the nonzero derivatives. Its endpoints are such roots or infinite.
Endpoints are written in WithBot R and WithTop R, so that ⊥ and ⊤ stand for the two
infinities. No assumption on p is needed: the zero polynomial realizes only the zero
condition, on the whole line.
References #
S. Basu, R. Pollack, and M.-F. Roy, Algorithms in Real Algebraic Geometry, second edition, Proposition 2.27 (Thom's lemma).
If no nonzero derivative of p, of any order, has a root between a and b, then every
derivative of p has the same sign at a as at b.
Thom's lemma. For any signs σ k prescribed for the derivatives of every order of p,
including order zero, the set of points where p realizes them is empty, a single point, or an
open interval with endpoints a ∈ WithBot R and b ∈ WithTop R.
Thom's lemma for finite Thom encodings. For any signs τ prescribed for the
derivatives of orders 1, …, natDegree p, the set of points where p realizes them is empty,
a single point, or an open interval with endpoints a ∈ WithBot R and b ∈ WithTop R.