MindFormal v1.0.0One Mind

MindFormal.Tools.A695LogicPaper.DrawPorts

Equations
  • One or more equations did not get rendered due to their size.
Instances For
    noncomputable def MindFormal.A695LogicPaper.PrivatePaper.drawDecode {Γ : Type u_1} [Fintype Γ] (bit : Bool → Γ) (start : A595Paper.Command Γ) (table : A595Paper.View Γ → A595Paper.Command Γ) (i : Fin (A595Paper.viewCount Γ + 4)) :
    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      theorem MindFormal.A695LogicPaper.PrivatePaper.drawDecode_zero {Γ : Type u_1} [Fintype Γ] (bit : Bool → Γ) (start : A595Paper.Command Γ) (table : A595Paper.View Γ → A595Paper.Command Γ) :
      drawDecode bit start table 0 = start
      theorem MindFormal.A695LogicPaper.PrivatePaper.drawDecode_viewPort {Γ : Type u_1} [Fintype Γ] (bit : Bool → Γ) (start : A595Paper.Command Γ) (table : A595Paper.View Γ → A595Paper.Command Γ) (v : A595Paper.View Γ) :
      drawDecode bit start table (A595Paper.viewPort v) = table v
      theorem MindFormal.A695LogicPaper.PrivatePaper.literal_draw_write {Γ : Type u_1} [Fintype Γ] (bit : Bool → Γ) (start : A595Paper.Command Γ) (table : A595Paper.View Γ → A595Paper.Command Γ) (s : A595Paper.Tape Γ) (b : Bool) :
      have i := if b = true then 2 else 1; (s.apply (drawDecode bit start table i)).cells (s.head + A595Paper.offset 1) = bit b
      theorem MindFormal.A695LogicPaper.PrivatePaper.drawDecode_bit {Γ : Type u_1} [Fintype Γ] (bit : Bool → Γ) (start : A595Paper.Command Γ) (table : A595Paper.View Γ → A595Paper.Command Γ) (b : Bool) :
      drawDecode bit start table (if b = true then 2 else 1) = A595Paper.Command.write 1 (bit b)
      theorem MindFormal.A695LogicPaper.PrivatePaper.written_view_ne_draw {Γ : Type u_1} (draw : A595Paper.View Γ) (bit : Bool → Γ) (hbit : ∀ (b : Bool), bit b ≠ draw 1) (s : A595Paper.Tape Γ) (b : Bool) :
      (s.apply (A595Paper.Command.write 1 (bit b))).view ≠ draw