Outer schedule and boundary assertions for fixed-time repetition #
This internal module splits the full wrapper choice string into the two setup choices and per-trial simulation and administrative slices. It also packages the completed-vote invariant and states the exact trial-boundary assertion used by the outer correctness induction.
The actual outer induction is deliberately separate: this file supplies its index algebra, choice slices, vote bookkeeping, and target predicate.
Main results #
NTM.repeatSetupChoices,repeatSimulationChoices,repeatAdminChoices— exact choice slicesNTM.repeatSimulationChoices_eq_block— compact-seed alignmentNTM.RepeatCompletedVotes— completed vote-prefix invariantNTM.RepeatBoundary,RepeatOuterClaim— outer-induction specification
Exact full-seed slices #
Global position of setup choice a.
Equations
Instances For
Global position of offset s in trial stride j.
Equations
Instances For
Embed a simulation offset into the beginning of a trial stride.
Equations
- Complexity.NTM.repeatSimulationOffset T t = ⟨↑t, ⋯⟩
Instances For
Embed an administrative offset after the T simulation choices.
Equations
- Complexity.NTM.repeatAdminOffset T a = ⟨T + ↑a, ⋯⟩
Instances For
The two leading setup choices of a full repetition seed.
Equations
- Complexity.NTM.repeatSetupChoices choices a = choices (Complexity.NTM.repeatSetupChoiceIdx k T a)
Instances For
All choices in trial stride j.
Equations
- Complexity.NTM.repeatStrideChoices choices j s = choices (Complexity.NTM.repeatStrideChoiceIdx T j s)
Instances For
The T source-simulation choices in trial j.
Equations
- Complexity.NTM.repeatSimulationChoices choices j t = Complexity.NTM.repeatStrideChoices choices j (Complexity.NTM.repeatSimulationOffset T t)
Instances For
The T + 2 rewind-and-finish choices in trial j.
Equations
- Complexity.NTM.repeatAdminChoices choices j a = Complexity.NTM.repeatStrideChoices choices j (Complexity.NTM.repeatAdminOffset T a)
Instances For
Setup indices retain their local numeric value.
A stride index has the advertised row-major global position.
Trial/offset coordinates inject into the full schedule.
Setup and stride positions are disjoint.
The generic stride embedding agrees with the machine simulation index.
A trial's simulation slice is exactly its block of the compact random seed.
Pointwise form of the simulation slice.
Pointwise form of the administrative slice.
Trace prefixes at trial boundaries #
Include a shorter trial-boundary prefix in the full repetition schedule.
Equations
- Complexity.NTM.repeatPrefixIdx T hm i = ⟨↑i, ⋯⟩
Instances For
Restrict a full choice string to the boundary after m trials.
Equations
- Complexity.NTM.repeatPrefixChoices choices m hm i = choices (Complexity.NTM.repeatPrefixIdx T hm i)
Instances For
Pointwise form of prefix restriction.
Restricting at the final boundary returns the full choice string.
Wrapper configuration after the exact prefix ending at trial boundary m.
Equations
- tm.repeatBoundaryCfg x choices m hm = (tm.repeatAtTime k T).trace (Complexity.NTM.repeatAtTimeSteps m T) (Complexity.NTM.repeatPrefixChoices choices m hm) ((tm.repeatAtTime k T).initCfg x)
Instances For
Completed-vote and outer-boundary assertions #
Vote vector agrees with source trials below boundary m and is false above it.
Equations
- tm.RepeatCompletedVotes x seed votes m = Complexity.NTM.RepeatVotesThrough (tm.repeatVotes x k T seed) votes m
Instances For
Recording trial j advances the completed-vote boundary.
Target assertion after m completed trials. Before the final boundary the
wrapper is at the exact next-trial start with the expected vote prefix and fresh
frame; at m = k it has halted with the majority verdict.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Fully formulated outer-induction claim over every exact schedule prefix.
Equations
- tm.RepeatOuterClaim x choices = ∀ (m : ℕ) (hm : m ≤ k), tm.RepeatBoundary x (Complexity.repeatRandomSeed k T choices) m (tm.repeatBoundaryCfg x choices m hm)
Instances For
Extract the next-trial assertion from the outer claim before the last boundary.
Extract the final halted majority assertion from the outer claim.