Keyboard shortcuts

Press ← or → to navigate between chapters

Press ? to show this help

Press Esc to hide this help

Complete Representation of Palindrome Cuts

Abstract

Every actual palindrome cut from class S is represented by the complete finite transducer.

Definition 1.1 (The literal signed-digit class S).

Formalization. D5/S1/Words/Palindromes/PeriodDoubling/CutRepresentation.classS (✓ std3).

Source. Repository-derived.

Commentary.

Class S consists of endpoints whose rounded-half nonadjacent expansion has a gap of at least three between consecutive nonzero digits of different signs. The existential length has an explicit bound making the triple-binary expansion complete. Indices i and j range over Fin h; intermediate indices k range over the naturals. Entry means option lookup with default zero, div and mod mean natural integer quotient and remainder, and Nat.sub is truncated natural subtraction.

Theorem 1.2 (Literal legal cuts give accepting paths).

Proof. Machine-checked in Lean as D5/S1/Words/Palindromes/PeriodDoubling/CutRepresentation.cut_representation_completeness (✓ std3). ∎

Source. Repository-derived.

Commentary.

For every nonempty palindromic suffix from j to n with n in class S, an accepting path records both endpoint parities and both shifted endpoint values. Either acceptance mode may occur: true has a valid output class, and false records an output class violation. The proof builds the bit-relation path from the actual dyadic palindrome radius, pads it by zero bits, supplies complete nonadjacent signed expansions, derives distance-two input spacing from the consecutive-sign condition, and performs the carry realization. The accepting path has at least the requested minimum length. This theorem supplies complete legal-cut representation; tightness is used separately to exclude the class-violation mode.

References