MindFormal v1.0.0One Mind

MindFormal.Example.A705SupportPrograms.PageGames

19.38's prepared strategy texts as finite machines on the 25.7 record: the beauty contest's equilibrium-condition search and copy texts on the menu 0, 20, 80/7, 35, and the centipede's backward-induction evaluation and copy texts on the focal plans; the lessons that hold them.

19.38's finite beauty-contest menu: 0, 20, 80/7, 35.

Equations
Instances For

    One program for the beauty-contest texts. States 0–3 test whether menu candidate q solves the symmetric equilibrium condition (1 - γ)z = 0 at γ = 2/3, from the anchor down, and write the first that does; 4 is done; 5–8 copy the prescribed menu number q - 5.

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For

      A beauty-contest text: the program's starting state, the anchor 35 on the tape.

      Equations
      Instances For
        theorem MindFormal.A705SupportPrograms.Page.beauty_scan (q : ℕ) (hq : q < 4) (hq0 : 0 < q) (t : ℤ → Fin 4) (z : ℤ) :
        beautyMachine.step { q := ⟨q, ⋯⟩, tape := t, head := z } = { q := ⟨q - 1, ⋯⟩, tape := t, head := z }
        theorem MindFormal.A705SupportPrograms.Page.beauty_found (t : ℤ → Fin 4) (z : ℤ) :
        beautyMachine.step { q := 0, tape := t, head := z } = { q := 4, tape := Function.update t z 0, head := z }
        theorem MindFormal.A705SupportPrograms.Page.beauty_copy (q : ℕ) (hq : q < 9) (hq5 : 5 ≤ q) (t : ℤ → Fin 4) (z : ℤ) :
        beautyMachine.step { q := ⟨q, hq⟩, tape := t, head := z } = { q := 4, tape := Function.update t z ⟨q - 5, ⋯⟩, head := z }
        theorem MindFormal.A705SupportPrograms.Page.beauty_done (t : ℤ → Fin 4) (z : ℤ) :
        beautyMachine.step { q := 4, tape := t, head := z } = { q := 4, tape := t, head := z }
        theorem MindFormal.A705SupportPrograms.Page.beauty_done_iter (t : ℤ → Fin 4) (z : ℤ) (s : ℕ) :
        beautyMachine.step^[s] { q := 4, tape := t, head := z } = { q := 4, tape := t, head := z }

        The equilibrium-condition text tests 35, 80/7, 20 and 0 in four transitions and writes 0.

        A copy text writes its prescribed number in one transition and then holds it.

        The centipede's terminal cells: take at nodes 1–4, pass at node 4.

        Equations
        Instances For
          @[reducible, inline]

          Centipede program states: inl (k, c) evaluates node k (from 4 down to 1) with continuation cell c; inr (inl π) copies plan π; inr (inr ()) is done.

          Equations
          Instances For

            One program for the centipede texts on the focal plan symbol (pass at 1, pass at 3). The backward-induction states compare, at node 4 the partner's take 5 with its pass 4, at node 3 the focal take 4 with the continuation, at node 2 the partner's take 3 with the continuation and at node 1 the focal take 2 with the continuation, writing each focal decision.

            Equations
            • One or more equations did not get rendered due to their size.
            Instances For

              A centipede text: its starting state, plan (pass, pass) on the tape.

              Equations
              Instances For
                theorem MindFormal.A705SupportPrograms.Page.centipede_done_iter (t : ℤ → Bool × Bool) (z : ℤ) (s : ℕ) :
                centipedeMachine.step^[s] { q := Sum.inr (Sum.inr ()), tape := t, head := z } = { q := Sum.inr (Sum.inr ()), tape := t, head := z }

                The backward-induction text evaluates the four nodes and submits first take, (take, take).

                A copy text submits its prescribed plan in one transition and then holds it.

                A lesson whose taught address is k, address C holding record rC and A, B record rB, with eight spare record slots.

                Equations
                Instances For