OAI/Computability/MaxCut/Machines/PoweringMachineRelation.lean
48 declarations, 0 contain sorry, 0 declared as axioms
A concrete relation-field producer: execute a fixed word from the live start vertex, then read the predicate at the reached vertex and fixed port. All instructions use the shared tape layout and preserve the finite row buffer. No execution premise is supplied by the caller.
- abbrev
OAI.MaxCutGames.Foundations.Complexity.PoweringMachineRelation.Alphabetline 15 - def
OAI.MaxCutGames.Foundations.Complexity.PoweringMachineRelation.addressline 17 - def
OAI.MaxCutGames.Foundations.Complexity.PoweringMachineRelation.valueline 20 - theorem
OAI.MaxCutGames.Foundations.Complexity.PoweringMachineRelation.selectedline 24 - def
OAI.MaxCutGames.Foundations.Complexity.PoweringMachineRelation.instructionline 36 - theorem
OAI.MaxCutGames.Foundations.Complexity.PoweringMachineRelation.relationTraceline 43Source documentation
Actual predicate access, with serialization selection discharged.
theorem relationTrace (source : K) (tape : Fin 5 → K) (distinct : Function.Injective tape) (outside : ∀ i, source ≠ tape i) (port : Fin d) (position : Fin 4096) (labels : MachineAffineLookup.Label → Λ) (exit : Option Λ) (program : Λ → TM2.Stmt (Alphabet (K := K)) Λ (σ × Option Bool)) …Mentions: OAI.MaxCutGames.Foundations.Complexity.MachineAffineLookup.Label, OAI.MaxCutGames.Foundations.Complexity.PoweringMachineRelation.Alphabet
- theorem
OAI.MaxCutGames.Foundations.Complexity.PoweringMachineRelation.steps_leline 63 - theorem
OAI.MaxCutGames.Foundations.Complexity.PoweringMachineRelation.value_eq_acceptsline 74Source documentation
The semantic two-label predicate is the field used by the row producer.
theorem value_eq_accepts (table : PortTables.Table n d) (vertex : Fin n) (port : Fin d) (left right : PortTables.Label) : value table vertex port (GraphTables.relationIndex (left, right)) = GraphTables.bitWord (PortTables.accepts table (vertex, port) left right) := rflMentions: OAI.MaxCutGames.Foundations.Complexity.PoweringMachineRelation.value
- def
OAI.MaxCutGames.Foundations.Complexity.PoweringMachineRelation.machineline 79 - abbrev
OAI.MaxCutGames.Foundations.Complexity.PoweringMachineRelationField.Alphabetline 98 - abbrev
OAI.MaxCutGames.Foundations.Complexity.PoweringMachineRelationField.Stateline 99 - abbrev
OAI.MaxCutGames.Foundations.Complexity.PoweringMachineRelationField.Labelline 100 - def
OAI.MaxCutGames.Foundations.Complexity.PoweringMachineRelationField.lookupTapesline 102 - theorem
OAI.MaxCutGames.Foundations.Complexity.PoweringMachineRelationField.lookupTapes_injectiveline 106 - theorem
OAI.MaxCutGames.Foundations.Complexity.PoweringMachineRelationField.source_outside_lookupline 112 - def
OAI.MaxCutGames.Foundations.Complexity.PoweringMachineRelationField.endpointline 122 - theorem
OAI.MaxCutGames.Foundations.Complexity.PoweringMachineRelationField.endpoint_eq_wordEndline 125 - def
OAI.MaxCutGames.Foundations.Complexity.PoweringMachineRelationField.bitline 132 - def
OAI.MaxCutGames.Foundations.Complexity.PoweringMachineRelationField.instructionline 136 - def
OAI.MaxCutGames.Foundations.Complexity.PoweringMachineRelationField.afterWordline 145 - def
OAI.MaxCutGames.Foundations.Complexity.PoweringMachineRelationField.finalTapesline 151 - def
OAI.MaxCutGames.Foundations.Complexity.PoweringMachineRelationField.stepsline 159 - theorem
OAI.MaxCutGames.Foundations.Complexity.PoweringMachineRelationField.afterWord_frameline 165 - theorem
OAI.MaxCutGames.Foundations.Complexity.PoweringMachineRelationField.finalTapes_frameline 182Source documentation
Table, start, scratch and both comparison stacks satisfy these numerical inequalities, so their contents are preserved without an emptiness premise.
theorem finalTapes_frame (placement : PoweringMachineTapes.Tape max → K) (distinct : Function.Injective placement) (path : List (Fin d)) (lengthBound : path.length ≤ max) (port : Fin d) (left right : PortTables.Label) (table : PortTables.Table n d) (vertex : Fin n) (base : K → List Bool) (role : Fin 11) (h₂ : role ≠ 2) (h₃ : role ≠ 3) (h₄ : role ≠ 4) (h₆ : role ≠ 6) (h₁₀ : role ≠ 10) : finalTapes placement path lengthBound port left right table vertex base (placement (.inl role)) = base (placement (.inl role)) := by …Mentions: OAI.MaxCutGames.Foundations.Complexity.PoweringMachineTapes.Tape, OAI.MaxCutGames.Foundations.Complexity.PoweringMachineRelationField.finalTapes
- theorem
OAI.MaxCutGames.Foundations.Complexity.PoweringMachineRelationField.finalTapes_otherline 201Source documentation
Any caller tape outside the shared placement is preserved, including a separate accumulator for already completed output rows.
theorem finalTapes_other (placement : PoweringMachineTapes.Tape max → K) (path : List (Fin d)) (lengthBound : path.length ≤ max) (port : Fin d) (left right : PortTables.Label) (table : PortTables.Table n d) (vertex : Fin n) (base : K → List Bool) (k : K) (outside : ∀ i, k ≠ placement i) : finalTapes placement path lengthBound port left right table vertex base k = base k := by …Mentions: OAI.MaxCutGames.Foundations.Complexity.PoweringMachineTapes.Tape, OAI.MaxCutGames.Foundations.Complexity.PoweringMachineRelationField.finalTapes
- theorem
OAI.MaxCutGames.Foundations.Complexity.PoweringMachineRelationField.fieldTraceline 214 - theorem
OAI.MaxCutGames.Foundations.Complexity.PoweringMachineRelationField.steps_leline 271 - abbrev
OAI.MaxCutGames.Foundations.Complexity.PoweringMachineEqualityField.Alphabetline 305 - abbrev
OAI.MaxCutGames.Foundations.Complexity.PoweringMachineEqualityField.Tapeline 306 - abbrev
OAI.MaxCutGames.Foundations.Complexity.PoweringMachineEqualityField.Stateline 307 - abbrev
OAI.MaxCutGames.Foundations.Complexity.PoweringMachineEqualityField.Labelline 308 - def
OAI.MaxCutGames.Foundations.Complexity.PoweringMachineEqualityField.entryline 311 - def
OAI.MaxCutGames.Foundations.Complexity.PoweringMachineEqualityField.instructionline 313 - def
OAI.MaxCutGames.Foundations.Complexity.PoweringMachineEqualityField.endpointline 329 - def
OAI.MaxCutGames.Foundations.Complexity.PoweringMachineEqualityField.resultBitline 333 - def
OAI.MaxCutGames.Foundations.Complexity.PoweringMachineEqualityField.wordTapesline 337 - def
OAI.MaxCutGames.Foundations.Complexity.PoweringMachineEqualityField.finalTapesline 343 - def
OAI.MaxCutGames.Foundations.Complexity.PoweringMachineEqualityField.stepsline 353 - theorem
OAI.MaxCutGames.Foundations.Complexity.PoweringMachineEqualityField.steps_leline 360 - theorem
OAI.MaxCutGames.Foundations.Complexity.PoweringMachineEqualityField.wordTapes_otherline 378Source documentation
The only variable-size work areas changed by a word are the declared query, scan, reverse, selected endpoint, and trajectory tapes.
theorem wordTapes_other (graph : PortTables.Table n d) {t : Nat} (h : t ≤ max) (placement : Tape max → K) (target : Bool) (vertex : Fin n) (ports : Fin t → Fin d) (base : K → List Bool) (k : K) (hquery : k ≠ placement (.inl 2)) (hscan : k ≠ placement (.inl 3)) (hreverse : k ≠ placement (.inl 4)) (houtput : k ≠ placement (PoweringMachineTapes.endpoint max target)) (hpositions : ∀ i : Fin max, k ≠ placement (.inr i)) : wordTapes graph h placement target vertex ports base k = base k := by …Mentions: OAI.MaxCutGames.Foundations.Complexity.PoweringMachineEqualityField.Tape, OAI.MaxCutGames.Foundations.Complexity.PoweringMachineTapes.endpoint, OAI.MaxCutGames.Foundations.Complexity.PoweringMachineEqualityField.wordTapes
- theorem
OAI.MaxCutGames.Foundations.Complexity.PoweringMachineEqualityField.wordTapes_roleline 398 - theorem
OAI.MaxCutGames.Foundations.Complexity.PoweringMachineEqualityField.finalTapes_otherline 419 - theorem
OAI.MaxCutGames.Foundations.Complexity.PoweringMachineEqualityField.finalTapes_roleline 435Source documentation
This single statement covers table 0, start 1, scratch 5, and copies 8/9.
theorem finalTapes_role (graph : PortTables.Table n d) (hl : l ≤ max) (hr : r ≤ max) (placement : Tape max → K) (distinct : Function.Injective placement) (vertex : Fin n) (left : Fin l → Fin d) (right : Fin r → Fin d) (base : K → List Bool) (j : Fin 11) (hrole : j = 0 ∨ j = 1 ∨ j = 5 ∨ j = 8 ∨ j = 9) : finalTapes graph hl hr placement vertex left right base (placement (.inl j)) = base (placement (.inl j)) := by …Mentions: OAI.MaxCutGames.Foundations.Complexity.PoweringMachineEqualityField.Tape, OAI.MaxCutGames.Foundations.Complexity.PoweringMachineEqualityField.finalTapes
- theorem
OAI.MaxCutGames.Foundations.Complexity.PoweringMachineEqualityField.finalTapes_outputline 446 - theorem
OAI.MaxCutGames.Foundations.Complexity.PoweringMachineEqualityField.joinTrace_inline_PoweringMachineEqualityFieldline 459 - theorem
OAI.MaxCutGames.Foundations.Complexity.PoweringMachineEqualityField.fieldTraceline 463 - def
OAI.MaxCutGames.Foundations.Complexity.PoweringMachineEqualityField.fieldInTimeline 565 - def
OAI.MaxCutGames.Foundations.Complexity.PoweringMachineEqualityField.machineline 588