MindFormal v1.0.0One Mind

MindFormal.Run.A705SupportChoices.Writers

16.24 DW4.1: the complete II/III writer bounds on a proposed box, from bounds on the drive, presence, the actual changing gain, the D4 presence derivative, every primary delivery and III's response on its whole surprise box. Both II writers and every value kind and horizon are kept; nothing is held constant.

DW4.1's II bound F_W = M_*{(1-β)C_*(e_*+N W_* X_*) + β X_*(C_*+W_*)}.

Equations
Instances For
    noncomputable def MindFormal.A705SupportChoices.surpriseRadius (κ Cdot C V τ : ℝ) (N : ℕ) :

    DW4.1's surprise radius κ_{b,*} + N Ċ_* V_* + N C_* V_*/τ for one kind and horizon.

    Equations
    Instances For
      theorem MindFormal.A705SupportChoices.presenceRate_formula {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype Λ] (d : MindDriftData (Fin N) n T Λ) (s : MindState (Fin N) n T Λ) (j : Fin N) :
      assembledPresenceRate d s j = ∑ l : Λ, d.presenceDerivative (mindTrace s j) l * d.rate l * (mindActivity s j - mindTrace s j l)

      The D4 presence derivative used in III's surprise is the chain expression Σ_λ ∂_λ c(r_j) λ (x_j - r_j(λ)).

      theorem MindFormal.A705SupportChoices.residual_box {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype Λ] (d : MindDriftData (Fin N) n T Λ) (u : Fin N → ℝ) (s : MindState (Fin N) n T Λ) {C Cdot V : ℝ} (κ : Fin n → ℝ) (hv : ∀ (j : Fin N) (b : Fin n) (a : T), |mindValue s j b a| ≤ V) (hp : ∀ (j : Fin N), |d.presence (mindTrace s j)| ≤ C) (hc : ∀ (j : Fin N), |assembledPresenceRate d s j| ≤ Cdot) (hk : ∀ (b : Fin n), |d.reward u b| ≤ κ b) (a : T) (ha : 0 < d.τ a) (b : Fin n) :
      |assembledResidual d u s a b| ≤ surpriseRadius (κ b) Cdot C V (d.τ a) N

      The complete vector surprise lies in DW4.1's componentwise box.

      theorem MindFormal.A705SupportChoices.relation_bound {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype Λ] (d : MindDriftData (Fin N) n T Λ) (u q : Fin N → ℝ) (s : MindState (Fin N) n T Λ) {e C M X W : ℝ} (hβ0 : 0 ≤ d.β) (hβ1 : d.β ≤ 1) (hx : ∀ (i : Fin N), 0 ≤ mindActivity s i ∧ mindActivity s i ≤ X) (hW : ∀ (i j : Fin N), |mindRelation s i j| ≤ W) (he : ∀ (i : Fin N), |d.drive (u i) (q i) (mindValue s i)| ≤ e) (hp : ∀ (j : Fin N), |d.presence (mindTrace s j)| ≤ C) (hM : |d.gain fun (a : T) (b : Fin n) => |assembledResidual d u s a b|| ≤ M) (i j : Fin N) :
      |assembledDrift d u q s (Sum.inl (i, j))| ≤ writerBound d.β e C M X W N

      DW4.1 for II: both writers, the full prediction sum, any binary focus and the actual changing gain, each bounded on the box.

      theorem MindFormal.A705SupportChoices.value_bound {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype Λ] (d : MindDriftData (Fin N) n T Λ) (u q : Fin N → ℝ) (s : MindState (Fin N) n T Λ) {C : ℝ} (K : Fin n → T → ℝ) (hη : ∀ (b : Fin n), 0 ≤ d.η b) (hp : ∀ (j : Fin N), |d.presence (mindTrace s j)| ≤ C) (hk : ∀ (a : T) (b : Fin n), |d.response (assembledResidual d u s a) b| ≤ K b a) (i : Fin N) (b : Fin n) (a : T) :
      |assembledDrift d u q s (Sum.inr (Sum.inr (Sum.inl (i, b, a))))| ≤ C * d.η b * K b a

      DW4.1 for III: F_{v,bτ} = C_* η_b K_{bτ,*} on the whole surprise box, with each kind's own rate and the complete vector surprise.