Fixed-width binary certificates for labelled branches #
Each occurrence index occupies one fixed-width binary block. The width is fixed by the machine, not by its input. Distinct indices remain distinct even when their actions or successors agree.
Main definitions #
Turing.MultiTapeCTM.binaryCertificate: concatenate the fixed-width index codes.Turing.MultiTapeCTM.binaryIndices: read a fixed number of binary blocks as indices.
Main results #
Turing.MultiTapeCTM.binaryIndices_binaryCertificate: decoding the code recovers its indices.Turing.MultiTapeCTM.binaryCertificate_binaryIndices: full-width words are recovered exactly.Turing.MultiTapeCTM.card_binaryCertificateAccepts: binary words preserve exact branch counts.Turing.MultiTapeCTM.decodeCertificate_indices_lt: a transition-list bound also bounds every index in a successful canonical certificate, including terminal padding.Turing.MultiTapeCTM.exists_branchWidth: finite control and alphabet fix one positive block width whose codes cover every transition list.
References #
The binary representation is the existing Cslib.BitString.binaryWord; its module records the
original formalization credit. The occurrence and padding semantics are MultiTape.Counting and
MultiTape.Counting.Certificate.
Every used index is below the occurrence-list bound, without identifying equal successors.
The same positive bound covers actual indices and the forced zero padding after halting.
Fixed-width binary words count the canonical occurrence certificates exactly, for any
terminal verdict. This is the common counting bijection for executable certificate checkers
and native binary-choice replay machines. The proof is extracted from
Checker.acceptCount_checkBinary by Samuel Schlesinger.
A finite-control machine over a finite alphabet has one positive block width whose 2 ^ width
codes cover every transition list, as card_binaryCertificateAccepts requires.