Sign bookkeeping for abstract Sturm chains #
Zero-skipping variations are unchanged when an interior zero has neighbors of opposite signs. This bookkeeping works over a strictly ordered ring. The closing constancy lemma uses the intermediate value property of a real closed field.
The zero-skipping variations of a polynomial list at a point.
Equations
- TauCeti.Sturm.signVariationsAt cs x = (List.map (Polynomial.eval x) cs).signVariations
Instances For
Variations are computed on the list of evaluations.
Prepending an evaluation contributes one variation exactly when its sign is opposite to the first nonzero sign of the remaining evaluations.
Multiplying every entry by a polynomial that does not vanish at the point preserves the sign variations at that point.
Evaluations at a and r have the same variation count if no entry
vanishes at a, the first and last entries do not vanish at r, zeros at r
have nonvanishing opposite-sign neighbours, and the surviving signs agree.
Variations are constant if no chain entry vanishes on the interval.