Exact trial-boundary trace decomposition #
This internal module identifies consecutive repeatBoundaryCfg values with one
complete trial stride. It also decomposes a stride into its T simulation
choices, T + 1 rewind choices, and final finish choice. Named index-alignment
lemmas keep all dependent casts out of the outer correctness induction.
Main results #
NTM.repeatBoundaryCfg_succ— consecutive boundaries differ by one strideNTM.repeatStrideChoices_trace_split— split a stride into simulation and adminNTM.repeatAdminChoices_trace_split— split admin into rewind and finishNTM.repeatStrideChoices_trace_split_three— complete three-phase split
Consecutive boundary slices #
Restricting the successor-boundary choices to the old prefix recovers the old boundary choices exactly.
The suffix between boundaries m and m+1 is exactly trial m's stride
slice of the full choice string.
Advancing one trial boundary is exactly tracing one complete stride from the preceding boundary configuration.
Three-phase stride split #
Rewind choices are the first T + 1 administrative choices.
Equations
- Complexity.NTM.repeatRewindChoices choices j a = Complexity.NTM.repeatAdminChoices choices j ⟨↑a, ⋯⟩
Instances For
The final administrative choice drives the finish transition.
Equations
- Complexity.NTM.repeatFinishChoice choices j = Complexity.NTM.repeatAdminChoices choices j ⟨T + 1, ⋯⟩
Instances For
Prefix form of the rewind slice.
The finish choice is the last entry of the administrative slice.
The simulation prefix obtained by splitting a stride is exactly
repeatSimulationChoices.
The suffix obtained by splitting a stride is exactly
repeatAdminChoices.
A complete stride trace splits into the source-simulation trace followed
by all T + 2 administrative choices.
The administrative trace splits into T + 1 fixed-rewind choices and one
finish choice.
A complete trial stride is exactly simulation, then fixed rewind, then the single finish transition.