MindFormal v1.0.0One Mind

MindFormal.Run.SettledLedger

noncomputable def MindFormal.HomogeneousGroupWorld.currentTarget {Ω : Type u_1} {A : Type u_2} [MeasurableSpace Ω] {N n : A → ℕ} {T : A → Type u_3} {Λ : A → Type u_4} [(a : A) → Fintype (T a)] [(a : A) → Fintype (Λ a)] {J : Type u_5} [Fintype J] {I : (a : A) → EquationInstance (N a) (n a) (T a) (Λ a) J} {G : EquationGround Ω J} (W : HomogeneousGroupWorld I G) (z : CurrentGroupState A N n T Λ W.world.Memory) (a : A) (i : Fin (N a)) :

The original normalized activity target, with the full input pool.

Equations
Instances For
    noncomputable def MindFormal.HomogeneousGroupWorld.currentGain {Ω : Type u_1} {A : Type u_2} [MeasurableSpace Ω] {N n : A → ℕ} {T : A → Type u_3} {Λ : A → Type u_4} [(a : A) → Fintype (T a)] [(a : A) → Fintype (Λ a)] {J : Type u_5} [Fintype J] {I : (a : A) → EquationInstance (N a) (n a) (T a) (Λ a) J} {G : EquationGround Ω J} (W : HomogeneousGroupWorld I G) (z : CurrentGroupState A N n T Λ W.world.Memory) (a : A) :

    Surprise gain includes every transformed value residual and horizon.

    Equations
    Instances For
      noncomputable def MindFormal.HomogeneousGroupWorld.currentPredictionError {Ω : Type u_1} {A : Type u_2} [MeasurableSpace Ω] {N n : A → ℕ} {T : A → Type u_3} {Λ : A → Type u_4} [(a : A) → Fintype (T a)] [(a : A) → Fintype (Λ a)] {J : Type u_5} [Fintype J] {I : (a : A) → EquationInstance (N a) (n a) (T a) (Λ a) J} {G : EquationGround Ω J} (W : HomogeneousGroupWorld I G) (z : CurrentGroupState A N n T Λ W.world.Memory) (a : A) (i : Fin (N a)) :

      The complete relation prediction error, with the self-including row.

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        noncomputable def MindFormal.HomogeneousGroupWorld.weightedRelation {Ω : Type u_1} {A : Type u_2} [MeasurableSpace Ω] {N n : A → ℕ} {T : A → Type u_3} {Λ : A → Type u_4} [(a : A) → Fintype (T a)] [(a : A) → Fintype (Λ a)] {J : Type u_5} [Fintype J] {I : (a : A) → EquationInstance (N a) (n a) (T a) (Λ a) J} {G : EquationGround Ω J} (W : HomogeneousGroupWorld I G) (z : CurrentGroupState A N n T Λ W.world.Memory) (a : A) (i j : Fin (N a)) :

        The relation itself weighted by surprise gain and receiver activity.

        Equations
        Instances For
          noncomputable def MindFormal.HomogeneousGroupWorld.weightedPresence {Ω : Type u_1} {A : Type u_2} [MeasurableSpace Ω] {N n : A → ℕ} {T : A → Type u_3} {Λ : A → Type u_4} [(a : A) → Fintype (T a)] [(a : A) → Fintype (Λ a)] {J : Type u_5} [Fintype J] {I : (a : A) → EquationInstance (N a) (n a) (T a) (Λ a) J} {G : EquationGround Ω J} (W : HomogeneousGroupWorld I G) (z : CurrentGroupState A N n T Λ W.world.Memory) (a : A) (i j : Fin (N a)) :

          Sender presence under the same gain and receiver-activity weight.

          Equations
          Instances For
            noncomputable def MindFormal.HomogeneousGroupWorld.weightedPredictionError {Ω : Type u_1} {A : Type u_2} [MeasurableSpace Ω] {N n : A → ℕ} {T : A → Type u_3} {Λ : A → Type u_4} [(a : A) → Fintype (T a)] [(a : A) → Fintype (Λ a)] {J : Type u_5} [Fintype J] {I : (a : A) → EquationInstance (N a) (n a) (T a) (Λ a) J} {G : EquationGround Ω J} (W : HomogeneousGroupWorld I G) (z : CurrentGroupState A N n T Λ W.world.Memory) (a : A) (i j : Fin (N a)) :

            The gain-weighted sender-presence prediction-error term; no covariance or correlation is discarded.

            Equations
            Instances For
              noncomputable def MindFormal.HomogeneousGroupWorld.currentValueWriter {Ω : Type u_1} {A : Type u_2} [MeasurableSpace Ω] {N n : A → ℕ} {T : A → Type u_3} {Λ : A → Type u_4} [(a : A) → Fintype (T a)] [(a : A) → Fintype (Λ a)] {J : Type u_5} [Fintype J] {I : (a : A) → EquationInstance (N a) (n a) (T a) (Λ a) J} {G : EquationGround Ω J} (W : HomogeneousGroupWorld I G) (z : CurrentGroupState A N n T Λ W.world.Memory) (a : A) (i : Fin (N a)) (b : Fin (n a)) (t : T a) :

              The original presence-weighted value writer for one kind and horizon.

              Equations
              Instances For
                theorem MindFormal.HomogeneousGroupWorld.currentDrift_activity {Ω : Type u_1} {A : Type u_2} [MeasurableSpace Ω] {N n : A → ℕ} {T : A → Type u_3} {Λ : A → Type u_4} [(a : A) → Fintype (T a)] [(a : A) → Fintype (Λ a)] {J : Type u_5} [Fintype J] {I : (a : A) → EquationInstance (N a) (n a) (T a) (Λ a) J} {G : EquationGround Ω J} (W : HomogeneousGroupWorld I G) (z : CurrentGroupState A N n T Λ W.world.Memory) (a : A) (i : Fin (N a)) :
                W.currentDrift z a (Sum.inr (Sum.inl i)) = (I a).activity.ν * (W.currentTarget z a i - mindActivity (↑(z.1 a).1) i)

                I's activity writer is exactly the declared rate times full target minus activity, for every complete current state.

                theorem MindFormal.HomogeneousGroupWorld.currentDrift_relation {Ω : Type u_1} {A : Type u_2} [MeasurableSpace Ω] {N n : A → ℕ} {T : A → Type u_3} {Λ : A → Type u_4} [(a : A) → Fintype (T a)] [(a : A) → Fintype (Λ a)] {J : Type u_5} [Fintype J] {I : (a : A) → EquationInstance (N a) (n a) (T a) (Λ a) J} {G : EquationGround Ω J} (W : HomogeneousGroupWorld I G) (z : CurrentGroupState A N n T Λ W.world.Memory) (a : A) (i j : Fin (N a)) :
                W.currentDrift z a (Sum.inl (i, j)) = (1 - (I a).β) * W.weightedPredictionError z a i j + (I a).β * (W.weightedPresence z a i j - W.weightedRelation z a i j)

                Both II writers are exactly the three displayed weighted terms.

                theorem MindFormal.HomogeneousGroupWorld.currentDrift_value {Ω : Type u_1} {A : Type u_2} [MeasurableSpace Ω] {N n : A → ℕ} {T : A → Type u_3} {Λ : A → Type u_4} [(a : A) → Fintype (T a)] [(a : A) → Fintype (Λ a)] {J : Type u_5} [Fintype J] {I : (a : A) → EquationInstance (N a) (n a) (T a) (Λ a) J} {G : EquationGround Ω J} (W : HomogeneousGroupWorld I G) (z : CurrentGroupState A N n T Λ W.world.Memory) (a : A) (i : Fin (N a)) (b : Fin (n a)) (t : T a) :

                III's writer for each separate kind and horizon is the original presence-weighted complete transformed residual, with its rate retained.

                noncomputable def MindFormal.HomogeneousGroupWorld.currentRowH {Ω : Type u_1} {A : Type u_2} [MeasurableSpace Ω] {N n : A → ℕ} {T : A → Type u_3} {Λ : A → Type u_4} [(a : A) → Fintype (T a)] [(a : A) → Fintype (Λ a)] {J : Type u_5} [Fintype J] {I : (a : A) → EquationInstance (N a) (n a) (T a) (Λ a) J} {G : EquationGround Ω J} (W : HomogeneousGroupWorld I G) (z : CurrentGroupState A N n T Λ W.world.Memory) (a : A) (i j k : Fin (N a)) :

                PM1.1's full moving relation-row matrix, including its diagonal term.

                Equations
                • One or more equations did not get rendered due to their size.
                Instances For
                  noncomputable def MindFormal.HomogeneousGroupWorld.currentRowD {Ω : Type u_1} {A : Type u_2} [MeasurableSpace Ω] {N n : A → ℕ} {T : A → Type u_3} {Λ : A → Type u_4} [(a : A) → Fintype (T a)] [(a : A) → Fintype (Λ a)] {J : Type u_5} [Fintype J] {I : (a : A) → EquationInstance (N a) (n a) (T a) (Λ a) J} {G : EquationGround Ω J} (W : HomogeneousGroupWorld I G) (z : CurrentGroupState A N n T Λ W.world.Memory) (a : A) (i j : Fin (N a)) :

                  PM1.1's full moving right side; the drive precedes row prediction.

                  Equations
                  • One or more equations did not get rendered due to their size.
                  Instances For
                    theorem MindFormal.HomogeneousGroupWorld.currentDrift_relation_row {Ω : Type u_1} {A : Type u_2} [MeasurableSpace Ω] {N n : A → ℕ} {T : A → Type u_3} {Λ : A → Type u_4} [(a : A) → Fintype (T a)] [(a : A) → Fintype (Λ a)] {J : Type u_5} [Fintype J] {I : (a : A) → EquationInstance (N a) (n a) (T a) (Λ a) J} {G : EquationGround Ω J} (W : HomogeneousGroupWorld I G) (z : CurrentGroupState A N n T Λ W.world.Memory) (a : A) (i j : Fin (N a)) :
                    W.currentDrift z a (Sum.inl (i, j)) = W.currentRowD z a i j - ∑ k : Fin (N a), W.currentRowH z a i j k * mindRelation (↑(z.1 a).1) i k

                    Algebraic row form of both original relation writers. No coordinate, surprise gain or correlation is frozen or discarded.