noncomputable def
MindFormal.A640Settings.credit
{N n : ℕ}
{T : Type u_1}
{Λ : Type u_2}
[Fintype T]
[Fintype Λ]
(G : PhysicalGlobalData N n T Λ)
(i : Fin N)
(b : Fin n)
(a : T)
(s : ℝ)
:
Equations
- MindFormal.A640Settings.credit G i b a s = G.data.presence (MindFormal.mindTrace (G.state s) i) * G.data.response (MindFormal.assembledResidual G.data (G.input s) (G.state s) a) b
Instances For
theorem
MindFormal.A640Settings.credit_integrable
{N n : ℕ}
{T : Type u_1}
{Λ : Type u_2}
[Fintype T]
[Fintype Λ]
(G : PhysicalGlobalData N n T Λ)
(i : Fin N)
(b : Fin n)
(a : T)
{t : ℝ}
(ht : 0 ≤ t)
(hη : G.data.η b ≠ 0)
:
IntervalIntegrable (credit G i b a) MeasureTheory.volume 0 t
theorem
MindFormal.A640Settings.paired_credit
{N n : ℕ}
{T : Type u_1}
{Λ : Type u_2}
[Fintype T]
[Fintype Λ]
(hi lo : PhysicalGlobalData N n T Λ)
(i : Fin N)
(b : Fin n)
(a : T)
{t : ℝ}
(ht : 0 ≤ t)
(hstart : hi.state 0 = lo.state 0)
(hηhi : hi.data.η b ≠ 0)
(hηlo : lo.data.η b ≠ 0)
:
mindValue (hi.state t) i b a - mindValue (lo.state t) i b a = (((hi.data.η b - lo.data.η b) * ∫ (s : ℝ) in 0..t, credit lo i b a s) + hi.data.η b * ∫ (s : ℝ) in 0..t, credit hi i b a s - credit lo i b a s) + (hi.driver t.toNNReal (Sum.inr (Sum.inr (Sum.inl (i, b, a)))) - lo.driver t.toNNReal (Sum.inr (Sum.inr (Sum.inl (i, b, a)))))