Topology of tiled bounded-trace circuits #
This internal module proves that initialization followed by any sequence of packed transition layers is topologically well formed. The recursive proof tracks the exact circuit length, first unused wire, and end of the current configuration block supplied by the trace-structure layer.
The initial-configuration portion of a trace build is topologically well formed after its primary-wire prefix.
Appending one packed transition preserves topology when the accumulated build records its exact length, end wire, and current configuration block.
Folding any list of transition indices preserves topology together with the trace build's structural invariants.
Every canonical partial trace build is topologically well formed.
The complete trace build is topologically well formed.
The complete bounded-trace fragment is topologically well formed after its primary-wire prefix.