Circuits for bounded Turing-machine traces #
This module exposes the complete bounded-trace fragment: an initialized one-hot configuration followed by one packed transition layer per choice bit. Its final configuration occupies a contiguous block at the end of the fragment. The construction is topologically well formed at positive primary arity and has machine-dependent cubic size in the trace horizon.
Main results #
length_traceFragment: exact gate count.traceOutputEnd_eq: the final configuration block ends with the fragment.traceFragment_topologicallyWellFormed: every reference points backward.evalAux?_traceFragment: evaluation encodes the complete bounded trace.traceFragmentSize_le: a machine-dependent cubic gate-count bound.
A complete bounded-trace fragment emits exactly its recursively recorded gate count.
The final packed configuration block ends exactly at the end of the trace fragment.
A complete trace fragment is topologically well formed whenever its primary-wire prefix is nonempty.
Evaluating a complete trace fragment appends its exact gate count, preserves the primary-wire prefix, and packs the final bounded machine configuration.
The complete bounded trace has a machine-dependent cubic gate count in the trace horizon.