structure
MindFormal.A640Settings.SmoothRatePair
{C : Type u_1}
{Λ : Type u_2}
{n : ℕ}
[Fintype C]
[Fintype Λ]
(d : MindDriftData C n Unit Λ)
(η' : Fin n → ℝ)
(b : Fin n)
(u q : ℝ → C → ℝ)
(hi lo : ℝ → MindState C n Unit Λ)
:
Type (max u_1 u_2)
Precisely the local smooth common-mode holds of MS1.3. These are primitive derivatives and the full local ODEs, with a common entering state and zero entering bank. No forecast, gain or writer difference is a field. The drive derivative factors through input and pulse, expressing D_v=0 while preserving both of those arguments.
- high_ode : ∀ᶠ (t : ℝ) in nhds 0, HasDerivAt hi (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 t) (q t) (hi t)) t
- low_ode : ∀ᶠ (t : ℝ) in nhds 0, HasDerivAt lo (assembledDrift d (u t) (q t) (lo t)) t
- input_velocity : C → ℝ
- pulse_velocity : C → ℝ
- input_derivative : HasDerivAt u self.input_velocity 0
- pulse_derivative : HasDerivAt q self.pulse_velocity 0
- delivery_derivative (k : Fin n) : HasDerivAt (fun (t : ℝ) => d.reward (u t) k) (self.delivery_velocity k) 0
- high_gamma_velocity : C → ℝ
- low_gamma_velocity : C → ℝ
- high_gamma_derivative (j : C) : HasDerivAt (fun (t : ℝ) => assembledPresenceRate d (hi t) j - d.presence (mindTrace (hi t) j) / d.τ ()) (self.high_gamma_velocity j) 0
- low_gamma_derivative (j : C) : HasDerivAt (fun (t : ℝ) => assembledPresenceRate d (lo t) j - d.presence (mindTrace (lo t) j) / d.τ ()) (self.low_gamma_velocity j) 0
- presence_smooth (j : C) : HasFDerivAt d.presence (self.presence_derivative j) (mindTrace (lo 0) j)
- presence_correct (j : C) (v : Λ → ℝ) : (self.presence_derivative j) v = ∑ l : Λ, d.presenceDerivative (mindTrace (lo 0) j) l * v l
- gain_smooth : HasFDerivAt d.gain self.gain_derivative fun (x : Unit) (k : Fin n) => d.reward (u 0) k
Instances For
theorem
MindFormal.A640Settings.SmoothRatePair.high_velocity
{C : Type u_1}
{Λ : Type u_2}
{n : ℕ}
[Fintype C]
[Fintype Λ]
{d : MindDriftData C n Unit Λ}
{η' : Fin n → ℝ}
{b : Fin n}
{u q : ℝ → C → ℝ}
{hi lo : ℝ → MindState C n Unit Λ}
(P : SmoothRatePair d η' b u q hi lo)
:
HasDerivAt hi
(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 0) (q 0) (hi 0))
0
theorem
MindFormal.A640Settings.SmoothRatePair.low_velocity
{C : Type u_1}
{Λ : Type u_2}
{n : ℕ}
[Fintype C]
[Fintype Λ]
{d : MindDriftData C n Unit Λ}
{η' : Fin n → ℝ}
{b : Fin n}
{u q : ℝ → C → ℝ}
{hi lo : ℝ → MindState C n Unit Λ}
(P : SmoothRatePair d η' b u q hi lo)
:
HasDerivAt lo (assembledDrift d (u 0) (q 0) (lo 0)) 0
theorem
MindFormal.A640Settings.SmoothRatePair.residual_tangent
{C : Type u_1}
{Λ : Type u_2}
{n : ℕ}
[Fintype C]
[Fintype Λ]
{d : MindDriftData C n Unit Λ}
{η' : Fin n → ℝ}
{b : Fin n}
{u q : ℝ → C → ℝ}
{hi lo : ℝ → MindState C n Unit Λ}
(P : SmoothRatePair d η' b u q hi lo)
:
HasDerivAt (fun (t : ℝ) => assembledResidual d (u t) (hi t) () b - assembledResidual d (u t) (lo t) () b)
((η' b - d.η b) * d.reward (u 0) b * forecastGrowth d (lo 0)) 0
theorem
MindFormal.A640Settings.SmoothRatePair.gain_tangent
{C : Type u_1}
{Λ : Type u_2}
{n : ℕ}
[Fintype C]
[Fintype Λ]
{d : MindDriftData C n Unit Λ}
{η' : Fin n → ℝ}
{b : Fin n}
{u q : ℝ → C → ℝ}
{hi lo : ℝ → MindState C n Unit Λ}
(P : SmoothRatePair d η' b u q hi lo)
:
HasDerivAt
(fun (t : ℝ) =>
(d.gain fun (a : Unit) (k : Fin n) => |assembledResidual d (u t) (hi t) a k|) - d.gain fun (a : Unit) (k : Fin n) => |assembledResidual d (u t) (lo t) a k|)
(P.gain_derivative (elementDirection b) * (η' b - d.η b) * d.reward (u 0) b * forecastGrowth d (lo 0)) 0
theorem
MindFormal.A640Settings.SmoothRatePair.presence_tangent
{C : Type u_1}
{Λ : Type u_2}
{n : ℕ}
[Fintype C]
[Fintype Λ]
{d : MindDriftData C n Unit Λ}
{η' : Fin n → ℝ}
{b : Fin n}
{u q : ℝ → C → ℝ}
{hi lo : ℝ → MindState C n Unit Λ}
(P : SmoothRatePair d η' b u q hi lo)
(j : C)
:
HasDerivAt (fun (t : ℝ) => d.presence (mindTrace (lo t) j)) (assembledPresenceRate d (lo 0) j) 0
theorem
MindFormal.A640Settings.SmoothRatePair.energy_identity
{C : Type u_1}
{Λ : Type u_2}
{n : ℕ}
[Fintype C]
[Fintype Λ]
{d : MindDriftData C n Unit Λ}
{η' : Fin n → ℝ}
{b : Fin n}
{u q : ℝ → C → ℝ}
{hi lo : ℝ → MindState C n Unit Λ}
(P : SmoothRatePair d η' b u q hi lo)
:
HasDerivAt (fun (t : ℝ) => ∑ j : C, d.presence (mindTrace (lo t) j) ^ 2)
(2 * ∑ j : C, d.presence (mindTrace (lo 0) j) * assembledPresenceRate d (lo 0) j) 0 ∧ forecastGrowth d (lo 0) = 1 / 2 * (2 * ∑ j : C, d.presence (mindTrace (lo 0) j) * assembledPresenceRate d (lo 0) j) - (∑ j : C, d.presence (mindTrace (lo 0) j) ^ 2) / d.τ ()
theorem
MindFormal.A640Settings.SmoothRatePair.writer_tangent
{C : Type u_1}
{Λ : Type u_2}
{n : ℕ}
[Fintype C]
[Fintype Λ]
{d : MindDriftData C n Unit Λ}
{η' : Fin n → ℝ}
{b : Fin n}
{u q : ℝ → C → ℝ}
{hi lo : ℝ → MindState C n Unit Λ}
(P : SmoothRatePair d η' b u q hi lo)
(i j : C)
:
HasDerivAt
(fun (t : ℝ) =>
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 t) (q t) (hi t) (Sum.inl (i, j)) - assembledDrift d (u t) (q t) (lo t) (Sum.inl (i, j)))
(A641Practice.fullRelationBracket d (u 0) (q 0) (lo 0) i j * (P.gain_derivative (elementDirection b) * (η' b - d.η b) * d.reward (u 0) b * forecastGrowth d (lo 0)))
0
theorem
MindFormal.A640Settings.SmoothRatePair.second_relation_tangent
{C : Type u_1}
{Λ : Type u_2}
{n : ℕ}
[Fintype C]
[Fintype Λ]
{d : MindDriftData C n Unit Λ}
{η' : Fin n → ℝ}
{b : Fin n}
{u q : ℝ → C → ℝ}
{hi lo : ℝ → MindState C n Unit Λ}
(P : SmoothRatePair d η' b u q hi lo)
(i j : C)
:
HasDerivAt
(fun (t : ℝ) => deriv (fun (s : ℝ) => mindRelation (hi s) i j) t - deriv (fun (s : ℝ) => mindRelation (lo s) i j) t)
(A641Practice.fullRelationBracket d (u 0) (q 0) (lo 0) i j * (P.gain_derivative (elementDirection b) * (η' b - d.η b) * d.reward (u 0) b * forecastGrowth d (lo 0)))
0