MindFormal v1.0.0One Mind

MindFormal.Tools.A595Paper.ControlPhases

theorem MindFormal.A595Paper.tape_ext {Γ : Type u_3} {s t : Tape Γ} (hc : s.cells = t.cells) (hh : s.head = t.head) :
s = t
theorem MindFormal.A595Paper.tape_ext_iff {Γ : Type u_3} {s t : Tape Γ} :
s = t ↔ s.cells = t.cells ∧ s.head = t.head
def MindFormal.A595Paper.decorate {Q : Type u_1} {A : Type u_2} (s : Tape A) (a : Annotation Q A) :
Tape (Glyph Q A)
Equations
Instances For
    def MindFormal.A595Paper.pendingTape {Q : Type u_1} {A : Type u_2} (c : Configuration Q A) (data : A) (q : Q) (s : A) (right : Bool) :
    Tape (Glyph Q A)
    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      def MindFormal.A595Paper.arrivalTape {Q : Type u_1} {A : Type u_2} (c : Configuration Q A) (q : Q) (s : A) (right : Bool) :
      Tape (Glyph Q A)
      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        def MindFormal.A595Paper.landedTape {Q : Type u_1} {A : Type u_2} (c : Configuration Q A) (q : Q) (s : A) (right : Bool) :
        Tape (Glyph Q A)
        Equations
        Instances For
          def MindFormal.A595Paper.clearedTape {Q : Type u_1} {A : Type u_2} (c : Configuration Q A) (q : Q) (s : A) (right : Bool) :
          Tape (Glyph Q A)
          Equations
          Instances For
            theorem MindFormal.A595Paper.ready_command {Q : Type u_1} {A : Type u_2} [DecidableEq Q] [DecidableEq A] (δ : Transition Q A) (c : Configuration Q A) (q : Q) (s : A) (right : Bool) (hδ : δ c.control (c.tape.cells c.tape.head) = some (q, s, right)) :
            theorem MindFormal.A595Paper.ready_write {Q : Type u_1} {A : Type u_2} (c : Configuration Q A) (q : Q) (s : A) (right : Bool) :
            theorem MindFormal.A595Paper.pending_data_command {Q : Type u_1} {A : Type u_2} [DecidableEq Q] [DecidableEq A] (δ : Transition Q A) (c : Configuration Q A) (data : A) (q : Q) (s : A) (right : Bool) (hne : data ≠ s) :
            localTable δ (pendingTape c data q s right).view = Command.write 1 (s, Annotation.pending q s right)
            theorem MindFormal.A595Paper.pending_data_write {Q : Type u_1} {A : Type u_2} (c : Configuration Q A) (data : A) (q : Q) (s : A) (right : Bool) :
            (pendingTape c data q s right).apply (Command.write 1 (s, Annotation.pending q s right)) = pendingTape c s q s right
            theorem MindFormal.A595Paper.pending_arrive_command {Q : Type u_1} {A : Type u_2} [DecidableEq Q] [DecidableEq A] (δ : Transition Q A) (c : Configuration Q A) (q : Q) (s : A) (right : Bool) :
            theorem MindFormal.A595Paper.arrive_move_command {Q : Type u_1} {A : Type u_2} [DecidableEq Q] [DecidableEq A] (δ : Transition Q A) (c : Configuration Q A) (q : Q) (s : A) (right : Bool) :
            localTable δ (arrivalTape c q s right).view = Command.move right
            theorem MindFormal.A595Paper.landed_erase_command {Q : Type u_1} {A : Type u_2} [DecidableEq Q] [DecidableEq A] (δ : Transition Q A) (c : Configuration Q A) (q : Q) (s : A) (right : Bool) :
            theorem MindFormal.A595Paper.landed_erase {Q : Type u_1} {A : Type u_2} (c : Configuration Q A) (q : Q) (s : A) (right : Bool) :
            (landedTape c q s right).apply (Command.write (origin right) (s, Annotation.blank)) = clearedTape c q s right
            theorem MindFormal.A595Paper.cleared_ready_command {Q : Type u_1} {A : Type u_2} [DecidableEq Q] [DecidableEq A] (δ : Transition Q A) (c : Configuration Q A) (q : Q) (s : A) (right : Bool) :
            theorem MindFormal.A595Paper.cleared_ready {Q : Type u_1} {A : Type u_2} (c : Configuration Q A) (q : Q) (s : A) (right : Bool) :
            (clearedTape c q s right).apply (Command.write 1 (c.tape.cells (c.tape.head + direction right), Annotation.ready q)) = (c.step q s right).pack