MindFormal v1.0.0One Mind

MindFormal.Example.PageRoleWorld

The concrete causal page, using the existing finite-menu constructor.

noncomputable def MindFormal.PageRole.chooseActive (v : Fin 17 → Bool) :
Option (Fin 17)
Equations
Instances For
    theorem MindFormal.PageRole.active_spec (t : ℝ) :
    (∀ (k : Fin 17), active t = some k → t ∈ Set.Ioc (pulseStart k) (pulseEnd k)) ∧ (active t = none → ∀ (k : Fin 17), t ∉ Set.Ioc (pulseStart k) (pulseEnd k))

    The last occupied original slot determines the bounded role return.

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      theorem MindFormal.PageRole.lastRequest_after (hist : FiniteActionHistory (Fin 11)) (hc : ChronologicalHistory hist) {n : ℕ} {τ s : ℝ} {i : Fin 11} (hn : ↑hist n = (τ, Sum.inl i)) (hs : τ < s) (hafter : ∀ (m : ℕ) (r : ℝ) (j : Fin 11), n < m → ↑hist m = (r, Sum.inl j) → s ≤ r) :

      Between an actual received act and the next one, the selector reads that act's original slot. No postulated response record is used.

      @[reducible, inline]

      These are finite menu indices, not an additional world or record interface.

      Equations
      Instances For
        noncomputable def MindFormal.PageRole.selectMode (t : ℝ) (h : FiniteActionHistory (Fin 11)) :
        Equations
        • One or more equations did not get rendered due to their size.
        Instances For
          noncomputable def MindFormal.PageRole.menuVector (π : Equiv.Perm (Fin 11)) (taught : Option Bool) (mode : Mode) (i : Fin 11) :
          Equations
          • One or more equations did not get rendered due to their size.
          Instances For
            theorem MindFormal.PageRole.menu_nonnegative (π : Equiv.Perm (Fin 11)) (taught : Option Bool) (m : Mode) :
            0 ≤ menuVector π taught m
            noncomputable def MindFormal.PageRole.world {Ω : Type u_1} [MeasurableSpace Ω] (π : Equiv.Perm (Fin 11)) (taught : Option Bool) (B : EquationGround Ω (PageFamily.Coord 11)) :

            The requested page world: finite display, last-role return, cue, and the first requested novel literal. The instance with a fallible interface is covered by the general-world guarantee's reliability hold.

            Equations
            • One or more equations did not get rendered due to their size.
            Instances For
              theorem MindFormal.PageRole.world_read {Ω : Type u_1} [MeasurableSpace Ω] (π : Equiv.Perm (Fin 11)) (taught : Option Bool) (B : EquationGround Ω (PageFamily.Coord 11)) (t : ℝ) (hist : FiniteActionHistory (Fin 11)) (ω : Ω) :
              strictPastInput (world π taught B).world t hist ω = menuVector π taught (selectMode t (actionPast t hist))
              theorem MindFormal.PageRole.active_display (π : Equiv.Perm (Fin 11)) (taught : Option Bool) (t : ℝ) :
              (match (motive := Option (Fin 17) → Fin 11 → ℝ) active t with | none => 0 | some k => displayVector π taught k) = display π taught t
              theorem MindFormal.PageRole.world_acquisition {Ω : Type u_1} [MeasurableSpace Ω] (π : Equiv.Perm (Fin 11)) (taught : Option Bool) (B : EquationGround Ω (PageFamily.Coord 11)) (t : ℝ) (ht : t ≤ ↑acquisitionEnd) (hist : FiniteActionHistory (Fin 11)) (ω : Ω) (i : Fin 11) :
              0 ≤ strictPastInput (world π taught B).world t hist ω i - display π taught t i ∧ strictPastInput (world π taught B).world t hist ω i - display π taught t i ≤ (parameters π).a
              theorem MindFormal.PageRole.world_blank {Ω : Type u_1} [MeasurableSpace Ω] (π : Equiv.Perm (Fin 11)) (taught : Option Bool) (B : EquationGround Ω (PageFamily.Coord 11)) {t : ℝ} (ht : t ∈ Set.Ioc ↑blankStart ↑acquisitionEnd) (hist : FiniteActionHistory (Fin 11)) (ω : Ω) (i : Fin 11) :
              strictPastInput (world π taught B).world t hist ω i ≤ (parameters π).a
              theorem MindFormal.PageRole.world_return {Ω : Type u_1} [MeasurableSpace Ω] (π : Equiv.Perm (Fin 11)) (taught : Option Bool) (B : EquationGround Ω (PageFamily.Coord 11)) {t : ℝ} (ht : t ≤ ↑acquisitionEnd) (hist : FiniteActionHistory (Fin 11)) (ω : Ω) (i : Fin 11) (hi : (parameters π).outputs i = true) (hl : lastRequest (actionPast t hist) = some i) :
              strictPastInput (world π taught B).world t hist ω i - display π taught t i = (parameters π).a

              The bounded return is exactly χ on the last requested eligible role.

              theorem MindFormal.PageRole.world_post_bound {Ω : Type u_1} [MeasurableSpace Ω] (π : Equiv.Perm (Fin 11)) (taught : Option Bool) (B : EquationGround Ω (PageFamily.Coord 11)) {t : ℝ} (ht : ↑acquisitionEnd < t) (hist : FiniteActionHistory (Fin 11)) (ω : Ω) (i : Fin 11) :
              strictPastInput (world π taught B).world t hist ω i ≤ (parameters π).activity.σ + (parameters π).a
              theorem MindFormal.PageRole.world_query {Ω : Type u_1} [MeasurableSpace Ω] (π : Equiv.Perm (Fin 11)) (taught : Option Bool) (B : EquationGround Ω (PageFamily.Coord 11)) {t : ℝ} (ht : ↑acquisitionEnd < t) (hist : FiniteActionHistory (Fin 11)) (ω : Ω) (hn : ∀ (n : ℕ) (τ : ℝ) (i : Fin 11), ↑hist n = (τ, Sum.inl i) → ↑acquisitionEnd ≤ τ → t ≤ τ) (i : Fin 11) :
              |strictPastInput (world π taught B).world t hist ω i - PageFamily.roleCueInput (parameters π) (π 2) i| ≤ (parameters π).a
              theorem MindFormal.PageRole.world_copy {Ω : Type u_1} [MeasurableSpace Ω] (π : Equiv.Perm (Fin 11)) (taught : Option Bool) (B : EquationGround Ω (PageFamily.Coord 11)) (r : Bool) (hist : FiniteActionHistory (Fin 11)) (hc : ChronologicalHistory hist) {n : ℕ} {τ t : ℝ} (hn : ↑hist n = (τ, Sum.inl (π (roleName r)))) (hτ : ↑acquisitionEnd ≤ τ) (ht : τ < t) (hf : ∀ (m : ℕ) (s : ℝ) (i : Fin 11), ↑hist m = (s, Sum.inl i) → ↑acquisitionEnd ≤ s → τ ≤ s) (ω : Ω) (i : Fin 11) :
              |strictPastInput (world π taught B).world t hist ω i - PageFamily.roleCueInput (parameters π) (π (novelName r)) i| ≤ (parameters π).a
              theorem MindFormal.PageRole.world_zero {Ω : Type u_1} [MeasurableSpace Ω] (π : Equiv.Perm (Fin 11)) (taught : Option Bool) (B : EquationGround Ω (PageFamily.Coord 11)) (hist : FiniteActionHistory (Fin 11)) (hc : ChronologicalHistory hist) (ω : Ω) :
              strictPastInput (world π taught B).world 0 hist ω = 0