Canonical certificates for labelled terminal branches #
An occurrence-index certificate replays a list-choice machine until its first halt, then requires only zeros in the remaining positions. A running endpoint, out-of-range occurrence or nonzero terminal padding is invalid for both the accepting and rejecting classifiers.
Main definitions #
Turing.MultiTapeCTM.decodeCertificate: replay and validate an index certificate.Turing.MultiTapeCTM.padCertificate: uniquely pad a terminal trace to a fixed clock.Turing.MultiTapeCTM.certificateCount: count valid certificates with a specified verdict.
Main results #
Turing.MultiTapeCTM.padCertificate_bijOn: the actual padding map is a bijection between bounded terminal branches and all successful decoder inputs of the fixed length.Turing.MultiTapeCTM.certificateCounts_eq: both accepting and rejecting counts are preserved.
These are combinatorial results over natural-number indices. No polynomial-time binary checker, #P membership, reverse verifier-to-machine simulation or GapP characterization is proved here. Those require separate uniform constructions and resource proofs.
References #
- L. Valiant, The complexity of computing the permanent
- S. Fenner, L. Fortnow, S. Kurtz, Gap-definable counting classes
The operational machine and occurrence semantics are those of MultiTape.Counting.
Decode occurrence indices, allowing only zero padding after the first halt. The result retains the consumed trace and final configuration. Invalid indices, nonzero terminal padding, and a running configuration at the end of the certificate all fail.
Instances For
Every terminal branch has exactly the intended all-zero padded certificate.
Successful decoding gives a genuine first-halting branch, with uniquely forced padding.
Decoding is exact replay plus canonical zero padding, rather than an assumed counting certificate. Both acceptance and rejection can use its same validity condition.
Canonical padding is injective on terminal branches, including branches of different lengths.
The finite set of canonical fixed-length certificates. Its membership theorem identifies it with the independently defined decoder's successful inputs.
Instances For
The actual trace-to-certificate map is a bijection onto all successful fixed-length decoder inputs. No extra copies are introduced by terminal padding or by distinct equal-effect choices.
Canonical certificates and terminal branches have exactly the same cardinality.
The certificate classifier retains decoder validity for either terminal verdict. In particular, complementing the verdict still excludes every invalid certificate.
Instances For
Count fixed-length canonical certificates with the specified terminal verdict.
Instances For
The decoder's exact bijection preserves every terminal verdict, hence both accepting and rejecting counts. This is a combinatorial result, with no efficient binary checker claimed.
The two valid-certificate classifiers recover the accepting and rejecting machine counts separately; invalid certificates contribute to neither side.