Sign changes twisted by powers of -1 #
Sturm-type counts compare the signs of consecutive entries at +∞ and at -∞. At -∞ a
leading sign s of a degree-m polynomial becomes s * (-1) ^ m. For nonzero signs s and
t, the sign-change indicator of the twisted pair minus that of the original pair is s * t
when m + n is odd and 0 otherwise.
Main results #
SignType.ite_mul_neg_one_pow_sub_ite: the difference of the two sign-change indicators.
Comparing the nonzero signs s * (-1) ^ m and t * (-1) ^ n instead of s and t
changes the sign-change indicator by s * t exactly when m + n is odd.