Arithmetic Meaning of the Base Transducer
Abstract
The f charges on accepted paths equal the signed-weight difference of the encoded rounded halves.
Theorem 1.1 (Path charge is the exact signed-weight difference).
Proof. Machine-checked in Lean as D5/S1/Words/Palindromes/PeriodDoubling/BaseArithmetic.base_path_signed_weight_difference (✓ std3). ∎
Source. Repository-derived.
Commentary.
The third and fourth edge coordinates encode successive binary digits, least significant first, above the endpoint’s bit zero. Folding a + 2 x reconstructs the shifted integer. Source components 2 and 3 supply the fixed bit-zero parities, so adding them reconstructs the two rounded halves. The carry identities and the forced even remainder after a nonzero signed digit give the signed-weight change at each edge; path induction telescopes it. cast denotes the natural-to-integer embedding. This theorem identifies f weights and does not assert that all legal palindrome cuts have already been represented by accepted paths.
References
- Truth anchor:
D5/S1/Words/Palindromes/PeriodDoubling/BaseArithmetic.base_path_signed_weight_difference - Dependency: D5/S1/Words/Palindromes/PeriodDoubling/BaseCertificates
- Dependency: D5/S1/Words/Palindromes/PeriodDoubling/SignedWeight