Complete Palindrome Cut Bit Relation
Abstract
Every nonempty literal palindrome cut has an accepting run in the bit relation.
Definition 1.1 (The relation before adding arithmetic memories).
Formalization. D5/S1/Words/Palindromes/PeriodDoubling/CutBitRelation.cutBitAutomaton (✓ std3).
Source. Repository-derived.
Commentary.
The state is an integer relation label; an input is a pair of natural binary digits. Every state is allowed as a starting state in this auxiliary automaton, and only state zero accepts. The cut theorem specifies the actual source choices after consuming the lowest endpoint bits. relNext is the original nine-state transition table.
Theorem 1.2 (All actual palindrome cuts are represented).
Proof. Machine-checked in Lean as D5/S1/Words/Palindromes/PeriodDoubling/CutBitRelation.cut_bit_relation_completeness (✓ std3). ∎
Source. Repository-derived.
Commentary.
For any nonempty palindromic suffix from prefix j to prefix n, the remaining bit pairs have an accepting path to zero and encode div(n,2) and div(j,2). Equal endpoint parities choose the even-cut source 6; the pair (1,0) additionally permits the already-flushed source 0. Other odd cuts start in source 1 or 2. Every emitted input is zero or one. The proof uses the exact dyadic palindrome radius to construct the complementary A runs and the skipped-bit B runs, and the valuation parity to construct the even-00 runs. No bound is imposed on the length of these runs. div and mod denote natural integer quotient and remainder, and Nat.sub denotes truncated natural subtraction. This theorem concerns the bit relation; adjoining the signed-digit memories is a separate obligation.
References
- Truth anchor:
D5/S1/Words/Palindromes/PeriodDoubling/CutBitRelation.cutBitAutomaton - Truth anchor:
D5/S1/Words/Palindromes/PeriodDoubling/CutBitRelation.cut_bit_relation_completeness - Dependency: D5/S1/Words/Palindromes/PeriodDoubling/BaseCertificates
- Dependency: D5/S1/Words/Palindromes/PeriodDoubling/EvenPalindrome
- Dependency: D5/S1/Words/Palindromes/PeriodDoubling/OddPalindromeRadius