OAI/MathematicalPhysics/NavierStokes/ForcedComputation/Programs/RecorderRun.lean
23 declarations, 0 contain sorry, 0 declared as axioms
Iterating the seven-row recorder from its actual initialized tape.
- structure
OAI.ForcedComputation.Recorder.WorkConfigurationline 13 - def
OAI.ForcedComputation.Recorder.workNextline 18 - def
OAI.ForcedComputation.Recorder.workAtline 23 - theorem
OAI.ForcedComputation.Recorder.workAt_zeroline 26 - theorem
OAI.ForcedComputation.Recorder.workAt_succline 29 - theorem
OAI.ForcedComputation.Recorder.workAt_head_boundsline 33 - def
OAI.ForcedComputation.Recorder.historyRunline 45Source documentation
The history track retains every recorded instruction.
def historyRun (g₀ : ℤ) (r : ℕ → Record Q A) : ℕ → ℤ → History Q A := …
Mentions: OAI.ForcedComputation.Recorder.Record, OAI.ForcedComputation.Recorder.History
- theorem
OAI.ForcedComputation.Recorder.historyRun_frontierline 51 - theorem
OAI.ForcedComputation.Recorder.historyRun_beforeline 57 - theorem
OAI.ForcedComputation.Recorder.historyRun_afterline 69 - def
OAI.ForcedComputation.Recorder.workRecordline 79 - def
OAI.ForcedComputation.Recorder.checkpointAtline 82 - theorem
OAI.ForcedComputation.Recorder.checkpointAt_zeroline 87 - theorem
OAI.ForcedComputation.Recorder.checkpoint_successorline 92 - theorem
OAI.ForcedComputation.Recorder.simulate_prefixline 125Source documentation
Every finite nonhalting prefix of the original machine has a finite recorder execution reaching exactly its work configuration.
theorem simulate_prefix (M : Machine Q A) (q : Q) (w : ℤ → A) (g₀ : ℤ) (hg₀ : 2 ≤ g₀) (n : ℕ) (hn : ∀ i < n, M.halting (workAt M q w i).state = false) : ∃ m : ℕ, Steps M m (checkpointAt M q w g₀ 0) (checkpointAt M q w g₀ n) := by …Mentions: OAI.ForcedComputation.Recorder.Machine, OAI.ForcedComputation.Recorder.workAt, OAI.ForcedComputation.Recorder.Steps, OAI.ForcedComputation.Recorder.checkpointAt
- theorem
OAI.ForcedComputation.Recorder.simulate_prefix_lengthline 136 - theorem
OAI.ForcedComputation.Recorder.Step.successor_uniqueline 149 - theorem
OAI.ForcedComputation.Recorder.Steps.headline 157 - theorem
OAI.ForcedComputation.Recorder.Steps.prefix_has_successorline 172 - def
OAI.ForcedComputation.Recorder.haltingControlline 194 - theorem
OAI.ForcedComputation.Recorder.LocalStep.source_nonhaltingline 198 - theorem
OAI.ForcedComputation.Recorder.halted_no_stepline 203 - theorem
OAI.ForcedComputation.Recorder.halting_checkpoint_iffline 212Source documentation
Starting with the actual finite-history initialization, a recorder reaches a halting checkpoint exactly when the original machine halts.
theorem halting_checkpoint_iff [DecidableEq Q] [DecidableEq A] (M : Machine Q A) (q : Q) (w : ℤ → A) (g₀ : ℤ) (hg₀ : 2 ≤ g₀) : (∃ m C q', Steps M m (checkpointAt M q w g₀ 0) C ∧ C.control = checkpoint q' ∧ M.halting q' = true) ↔ ∃ n, M.halting (workAt M q w n).state = true := by …Mentions: OAI.ForcedComputation.Recorder.Machine, OAI.ForcedComputation.Recorder.Steps, OAI.ForcedComputation.Recorder.checkpointAt, OAI.ForcedComputation.Recorder.workAt