Arithmetic of Separated Marked Prefixes
Abstract
Arithmetic of Separated Marked Prefixes.
Definition 1.1 (The marked powers).
Formalization. D5/S1/Words/Palindromes/PeriodDoubling/MarkedPrefixArithmetic.markedPowers (✓ std3).
Source. Repository-derived.
Commentary.
The marked block is the sum of positive powers at positions p, p+3, up to p+3(m-1).
Definition 1.2 (The literal separated marked prefix).
Formalization. D5/S1/Words/Palindromes/PeriodDoubling/MarkedPrefixArithmetic.markedPrefix (✓ std3).
Source. Repository-derived.
Commentary.
A rounded half-endpoint is the marked block plus a signed tail. The tail is a finite nonadjacent expansion with coefficients minus one, zero and one; every nonzero coefficient at position k satisfies k+3 at most p. div denotes natural integer quotient.
Theorem 1.3 (Strict tail bound and positive endpoint).
Proof. Machine-checked in Lean as D5/S1/Words/Palindromes/PeriodDoubling/MarkedPrefixArithmetic.marked_prefix_tail_bound (✓ std3). ∎
Source. Repository-derived.
Commentary.
A nonempty marked block dominates the separated signed tail. Bounded signed-list evaluation gives the strict absolute tail bound, including positions below three where the tail vanishes, and the lowest positive marked summand forces the endpoint to be positive. Nat.sub is truncated natural subtraction.
References
- Truth anchor:
D5/S1/Words/Palindromes/PeriodDoubling/MarkedPrefixArithmetic.markedPowers - Truth anchor:
D5/S1/Words/Palindromes/PeriodDoubling/MarkedPrefixArithmetic.markedPrefix - Truth anchor:
D5/S1/Words/Palindromes/PeriodDoubling/MarkedPrefixArithmetic.marked_prefix_tail_bound