Exact Stream of a Marked Prefix
Abstract
Literal marked prefixes determine the ordered signed stream.
Theorem 1.1 (Padded stream and exact lower tail).
Proof. Machine-checked in Lean as D5/S1/Words/Palindromes/PeriodDoubling/MarkedPrefixExpansion.marked_prefix_expansion (✓ std3). ∎
Source. Repository-derived.
Commentary.
Any nonadjacent signed expansion of twice the rounded half-endpoint, of length at least p+3m+2, consists of a lower tail of length p+1, then m blocks [1,0,0], then at least one leading zero. The lower tail evaluates to twice T and its nonzero positions i satisfy i+2 at most p. Adding the two initial zero memories gives two zero digits immediately before the selected marker, including p=0. The proof constructs the literal expansion, evaluates the geometric block, and applies nonadjacent digit uniqueness. div is natural integer quotient; option lookups have default zero.
References
- Truth anchor:
D5/S1/Words/Palindromes/PeriodDoubling/MarkedPrefixExpansion.marked_prefix_expansion - Dependency: D5/S1/Words/Palindromes/PeriodDoubling/CanonicalSignedDigits
- Dependency: D5/S1/Words/Palindromes/PeriodDoubling/MarkedPrefixArithmetic