OAI/Computability/MaxCut/Machines/MachineFiniteTable.lean
9 declarations, 0 contain sorry, 0 declared as axioms
- def
OAI.MaxCutGames.Foundations.Complexity.MachineFiniteTable.dispatchline 14 - theorem
OAI.MaxCutGames.Foundations.Complexity.MachineFiniteTable.stepAux_dispatchline 21 - theorem
OAI.MaxCutGames.Foundations.Complexity.MachineFiniteTable.dispatch_push_boundline 39Source documentation
A finite upper bound on all literal push chains in the decision tree.
theorem dispatch_push_bound (dst : K) (table : σ → List (Γ dst)) (next : TM2.Stmt Γ Λ σ) (keys : List σ) : Runtime.statementPushBound (dispatch dst table next keys) ≤ (keys.map (fun state => (table state).length)).sum + Runtime.statementPushBound next := by …Mentions: OAI.MaxCutGames.Foundations.Complexity.Runtime.statementPushBound, OAI.MaxCutGames.Foundations.Complexity.MachineFiniteTable.dispatch
- def
OAI.MaxCutGames.Foundations.Complexity.MachineFiniteTable.emitline 51 - def
OAI.MaxCutGames.Foundations.Complexity.MachineFiniteTable.tableBoundline 55 - theorem
OAI.MaxCutGames.Foundations.Complexity.MachineFiniteTable.stepAux_emitline 58 - theorem
OAI.MaxCutGames.Foundations.Complexity.MachineFiniteTable.emit_push_boundline 65 - def
OAI.MaxCutGames.Foundations.Complexity.MachineFiniteTable.emitInTimeline 73Source documentation
One actual transition emits the table entry and enters the continuation. The caller supplies its program equation, not an execution assumption.
def emitInTime (dst : K) (table : σ → List (Γ dst)) (keys : List σ) (hkeys : ∀ state, state ∈ keys) (program : Λ → TM2.Stmt Γ Λ σ) (label exitLabel : Λ) (atLabel : program label = emit dst table keys (.goto (fun _ => exitLabel))) (state : σ) (tapes : ∀ k, List (Γ k)) : StateTransition.EvalsToInTime (TM2.step program) ⟨some label, state, tapes⟩ (some ⟨some exitLabel, state, Function.update tapes dst (table state ++ tapes dst)⟩) 1 where …Mentions: OAI.MaxCutGames.Foundations.Complexity.MachineFiniteTable.emit
- theorem
OAI.MaxCutGames.Foundations.Complexity.MachineFiniteTable.output_frameline 90