MindFormal v1.0.0One Mind

MindFormal.Example.PageBank

PG1.14a–b: the admitted three-content bank and its finite mark interface. The interface only copies returned labels to marks and routes operands.

noncomputable def MindFormal.PageBank.parameters (s : ℝ) (hs : 0 < s) :

The bank's primitive coefficients; its delivery is the original L30a map.

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

    A finite NOR program specifies only marks, their starting bits and gate addresses. The received-world rule below never evaluates NOR.

    Instances For
      noncomputable def MindFormal.PageBank.relationScale (j : ℕ) :

      Relation allowance at gate j; this is not the residue function.

      Equations
      Instances For
        noncomputable def MindFormal.PageBank.inputScale (j : ℕ) :

        Sensory scale at gate j.

        Equations
        Instances For
          @[reducible, inline]

          None denotes the header; some none denotes completion; some (some gate) denotes a gate and the two bits copied from its operand marks.

          Equations
          Instances For
            noncomputable def MindFormal.PageBank.menu {n : ℕ} :
            Mode n → Fin 3 → ℝ

            A finite input menu covers every history, including histories with wrong labels or too many acts. Completion supplies zero.

            Equations
            Instances For
              def MindFormal.PageBank.route {M n : ℕ} (P : Program M n) (labels : Fin (n + 1) → Fin 3 ⊕ Unit) (marks : Fin M → Bool) :
              List (Fin n) → Option (Fin n × Bool × Bool)

              Walk through the received gate acts, copying C as one and A/B as zero. At the first absent act, present that gate's current operand bits.

              Equations
              Instances For
                def MindFormal.PageBank.mode {M n : ℕ} (P : Program M n) (labels : Fin (n + 1) → Fin 3 ⊕ Unit) :

                Discard the header's first act, then route the finite program.

                Equations
                Instances For

                  The world reads only a finite prefix of received labels.

                  Equations
                  Instances For
                    noncomputable def MindFormal.PageBank.select {M n : ℕ} (P : Program M n) (_t : ℝ) (h : FiniteActionHistory (Fin 3)) :

                    Finite indexing identifies this menu with the shared family's menu.

                    Equations
                    Instances For
                      noncomputable def MindFormal.PageBank.experiment {Ω : Type u_1} [MeasurableSpace Ω] {M n : ℕ} (P : Program M n) (s : ℝ) (hs : 0 < s) (G : EquationGround Ω (PageFamily.Coord 3)) (hG : CompletedEquationGround G) (H : NNReal) :

                      The bank's original StateExperiment: admission, causal world, world bound and zero start are constructed, for every finite program and positive loading.

                      Equations
                      • One or more equations did not get rendered due to their size.
                      Instances For
                        noncomputable def MindFormal.PageBank.experimentWorld {Ω : Type u_1} [MeasurableSpace Ω] {M n : ℕ} (_P : Program M n) (s : ℝ) (hs : 0 < s) (G : EquationGround Ω (PageFamily.Coord 3)) (hG : CompletedEquationGround G) (H : NNReal) (W : ConstructedWorld (PageFamily.mind (parameters s hs)) G) :

                        The same bank mind and zero start on any constructed world of the class. The program indexes its routing specification, not a restriction on the world.

                        Equations
                        Instances For
                          theorem MindFormal.PageBank.world_read {Ω : Type u_1} [MeasurableSpace Ω] {M n : ℕ} (P : Program M n) (s : ℝ) (hs : 0 < s) (G : EquationGround Ω (PageFamily.Coord 3)) (hG : CompletedEquationGround G) (H : NNReal) (t : ℝ) (h : FiniteActionHistory (Fin 3)) (ω : Ω) :
                          (experiment P s hs G hG H).world.world t h ω = menu (mode P (labels h))

                          The constructed world's read is exactly the finite routing rule, before the original ConstructedWorld applies its strict-past restriction.