Documentation

Complexitylib.Models.TuringMachine.Repetition.Internal.ScheduleArithmetic

Schedule arithmetic internals for fixed-time repetition #

This module proves the arithmetic and compact-seed alignment facts shared by the public repetition surface and the proof-internal schedule. Keeping these proofs below the public surface prevents internal correctness modules from depending on Complexitylib.Models.TuringMachine.Repetition.

Exact schedule arithmetic #

Internal form of the zero-time stride calculation.

Internal form of the successor-time stride calculation.

Internal form of the zero-repetition schedule calculation.

Internal form of the zero-time schedule calculation.

Internal form of the successor-repetition schedule calculation.

Compact-seed alignment #

theorem Complexity.NTM.repeatRandomSeed_apply_repeatChoiceIdx_internal (k T : ) (choices : Fin (repeatAtTimeSteps k T)Bool) (j : Fin k) (t : Fin T) :
repeatRandomSeed k T choices (finProdFinEquiv (j, t)) = choices (repeatChoiceIdx T j t)

Internal form of the compact-seed and machine-schedule alignment.