The sign variations of a sequence of nonzero signs #
A candidate for Mathlib.Data.List.SignVariations: for a sequence s 0, …, s k of integer signs
±1, the number of neighbours that differ is its number of sign variations
(List.countP_ne_eq_signVariations).
Main statements #
List.countP_ne_eq_signVariations: the sign variations of a sequence of nonzero signs.