Theorems · Theorem · field theory
Polynomial.signVariations_eq_eraseLead_add_ite
∀ {R : Type u_1} [inst : Semiring R] [inst_1 : LinearOrder R] {P : Polynomial R},
P ≠ 0 →
P.signVariations =
P.eraseLead.signVariations +
if SignType.sign P.leadingCoeff = -SignType.sign P.eraseLead.leadingCoeff then 1 else 0If we drop the leading coefficient, the sign changes drop by 0 or 1 depending on whether the first two nonzero coefficients match.
- Defined in
- Mathlib.Algebra.Polynomial.RuleOfSigns
- Cited by
- 1 results in Mathlib
- Foundations
- Depth 112 from the axioms · uses propext, Classical.choice, Quot.sound
- Assumes
- SemiringLinearOrder
Around this declaration
Dashed lines are statement dependencies; solid lines are citations in proofs.
Cites28
Mathlib declarations this one mentions in its statement or cites explicitly in its proof. Plumbing is filtered out.
- DFunLike.coestatement and proof · cited by 62,936
- Semiringstatement and proof · cited by 13,802
- LinearOrderstatement and proof · cited by 8,572
- Polynomialstatement and proof · cited by 5,681
- add_zeroproof · cited by 2,707
- zero_addproof · cited by 2,366
- Polynomial.natDegreeproof · cited by 1,105
- OrderHomstatement · cited by 934
- Polynomial.degreeproof · cited by 643
- neg_zeroproof · cited by 542
- Polynomial.leadingCoeffstatement and proof · cited by 498
- SignTypestatement and proof · cited by 318
Cited by1
Results whose statement or proof uses this declaration.
- Polynomial.succ_signVariations_le_X_sub_C_mulproof · cited by 1