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.
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)
:
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)
:
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)
:
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.