Signed Tail Phase
Abstract
The last nonzero signed coefficient gives the literal negative phase.
Theorem 1.1 (Dominance of the highest signed coefficient).
Proof. Machine-checked in Lean as D5/S1/Words/Palindromes/PeriodDoubling/SignedDigitPhase.signed_digits_negative_phase (✓ std3). ∎
Source. Repository-derived.
Commentary.
The finite signed binary list is read least significant first. Every coefficient is minus one, zero or plus one. Its highest nonzero digit dominates all lower positions, so 2T minus the Boolean parity is negative exactly when the last nonzero sign is negative, or when the tail is empty and the parity is one. Nonadjacency is unnecessary. The empty list and absent last element use default zero. The last-option expression is none for an empty list and some(List.getLast(…)) otherwise; the nonempty proof argument is implicit.
References
- Truth anchor:
D5/S1/Words/Palindromes/PeriodDoubling/SignedDigitPhase.signed_digits_negative_phase