noncomputable def
MindFormal.A641Practice.fullValueLesson
{C : Type u_1}
{T : Type u_2}
{Λ : Type u_3}
{n : ℕ}
[Fintype C]
[Fintype Λ]
(d : MindDriftData C n T Λ)
(u : C → ℝ)
(s : MindState C n T Λ)
(i : C)
(b : Fin n)
(a : T)
:
Equations
- MindFormal.A641Practice.fullValueLesson d u s i b a = d.presence (MindFormal.mindTrace s i) * d.response (MindFormal.assembledResidual d u s a) b
Instances For
theorem
MindFormal.A641Practice.learning_rate_difference
{C : Type u_1}
{T : Type u_2}
{Λ : Type u_3}
{n : ℕ}
[Fintype C]
[Fintype Λ]
(d : MindDriftData C n T Λ)
(u q : C → ℝ)
(s : MindState C n T Λ)
(i : C)
(b : Fin n)
(a : T)
(η' : Fin n → ℝ)
:
assembledDrift
{ activity := d.activity, transform := d.transform, β := d.β, η := η', τ := d.τ, rate := d.rate, drive := d.drive,
residue := d.residue, presence := d.presence, presenceDerivative := d.presenceDerivative, reward := d.reward,
response := d.response, gain := d.gain }
u q s (Sum.inr (Sum.inr (Sum.inl (i, b, a)))) - assembledDrift d u q s (Sum.inr (Sum.inr (Sum.inl (i, b, a)))) = (η' b - d.η b) * fullValueLesson d u s i b a
theorem
MindFormal.A641Practice.learning_rate_point_balance
{C : Type u_1}
{T : Type u_2}
{Λ : Type u_3}
{n : ℕ}
[Fintype C]
[Fintype Λ]
(d : MindDriftData C n T Λ)
(u q : C → ℝ)
(s : MindState C n T Λ)
(η' : Fin n → ℝ)
(hη : ∀ (b : Fin n), 0 < d.η b)
(hη' : ∀ (b : Fin n), 0 < η' b)
:
assembledDrift
{ activity := d.activity, transform := d.transform, β := d.β, η := η', τ := d.τ, rate := d.rate, drive := d.drive,
residue := d.residue, presence := d.presence, presenceDerivative := d.presenceDerivative, reward := d.reward,
response := d.response, gain := d.gain }
u q s = 0 ↔ assembledDrift d u q s = 0
Changing positive element rates preserves the complete instantaneous zero-drift equations. All residuals, other writers and target arguments are computed from the same full state and received inputs.
theorem
MindFormal.A641Practice.binding_derivative
{C : Type u_1}
{T : Type u_2}
{Λ : Type u_3}
{n : ℕ}
[Fintype C]
[Fintype Λ]
(d : MindDriftData C n T Λ)
(u q : C → ℝ)
(s : MindState C n T Λ)
(i j : C)
:
HasDerivAt
(fun (β : ℝ) =>
assembledDrift
{ activity := d.activity, transform := d.transform, β := β, η := d.η, τ := d.τ, rate := d.rate, drive := d.drive,
residue := d.residue, presence := d.presence, presenceDerivative := d.presenceDerivative, reward := d.reward,
response := d.response, gain := d.gain }
u q s (Sum.inl (i, j)))
((d.gain fun (a : T) (b : Fin n) => |assembledResidual d u s a b|) * (mindActivity s i * (d.presence (mindTrace s j) - mindRelation s i j) - d.presence (mindTrace s j) * (d.drive (u i) (q i) (mindValue s i) - ∑ l : C, mindRelation s i l * mindActivity s l)))
d.β
theorem
MindFormal.A641Practice.full_point_balance
{C : Type u_1}
{T : Type u_2}
{Λ : Type u_3}
{n : ℕ}
[Fintype C]
[Fintype Λ]
(d : MindDriftData C n T Λ)
(u q : C → ℝ)
(s : MindState C n T Λ)
(hrate : ∀ (l : Λ), 0 < d.rate l)
(hη : ∀ (b : Fin n), 0 < d.η b)
(hM : 0 < d.gain fun (a : T) (b : Fin n) => |assembledResidual d u s a b|)
:
assembledDrift d u q s = 0 ↔ (∀ (i : C), mindActivity s i = normalizedTarget d.activity.σ d.activity.g (assembledInputs d u q s) i) ∧ (∀ (i : C) (l : Λ), mindTrace s i l = mindActivity s i) ∧ (∀ (i j : C), fullRelationBracket d u q s i j = 0) ∧ ∀ (i : C) (b : Fin n) (a : T), fullValueLesson d u s i b a = 0
Continuous drift balance, with no claim about event consistency, existence, convergence or a noisy stationary law.