Binding the held calculation to the complete assembled I--III/D4 drift. The hypotheses specify primitives, never a desired Jacobian or drift sign.
structure
MindFormal.CompanionAttention.HeldBinding
{n : ℕ}
{J : Type u_1}
[Fintype J]
(P : HeldParameters n)
(I : EquationInstance 1 n Unit Unit J)
:
Instances For
Equations
- MindFormal.CompanionAttention.heldRead z = Sum.elim ![MindFormal.mindActivity z 0, MindFormal.mindTrace z 0 (), MindFormal.mindRelation z 0 0] fun (b : Fin n) => MindFormal.mindValue z 0 b ()
Instances For
theorem
MindFormal.CompanionAttention.held_presence_gradient
{n : ℕ}
{J : Type u_1}
[Fintype J]
{P : HeldParameters n}
{I : EquationInstance 1 n Unit Unit J}
(bind : HeldBinding P I)
(r : Unit → ℝ)
(hr : 0 ≤ r)
:
theorem
MindFormal.CompanionAttention.held_assembled_flow
{n : ℕ}
{J : Type u_1}
[Fintype J]
{P : HeldParameters n}
{I : EquationInstance 1 n Unit Unit J}
(bind : HeldBinding P I)
(z : HeldState n)
(hr : 0 ≤ z (Sum.inl 1))
:
theorem
MindFormal.CompanionAttention.held_assembled_linearization
{n : ℕ}
{J : Type u_1}
[Fintype J]
{P : HeldParameters n}
{I : EquationInstance 1 n Unit Unit J}
(bind : HeldBinding P I)
{s w : ℝ}
(hs : 0 < s)
(hI : 0 < P.a + P.γ * s + w * s)
(hden : P.σ + (P.a + P.γ * s + w * s) ≠ 0)
(hx : (P.a + P.γ * s + w * s) / (P.σ + (P.a + P.γ * s + w * s)) - P.g = s)
(hw : (1 - P.β) * P.a + P.β * s = w * (P.β + (1 - P.β) * s))
(v : HeldState n)
:
HasDerivAt (fun (t : ℝ) => heldRead (assembledDrift I.drift 0 1 (heldEmbed (heldEquilibrium s w + t • v))))
((heldFullMatrix P s w).mulVec v) 0