The actual complete study writer; rectangular comparisons are used only inside integrals.
theorem
MindFormal.study_pair_run
{N n : ℕ}
{T : Type u_1}
{Λ : Type u_2}
[Fintype T]
[Fintype Λ]
(G : PhysicalGlobalData N n T Λ)
(i j : Fin N)
(l : Λ)
{H A a d e0 dT bx er0 ac R m D0 wp p E bW : ℝ}
(hH : 0 ≤ H)
(hA : 0 ≤ A)
(ha : 0 ≤ a)
(hd : 0 ≤ d)
(hend : a + 2 * d ≤ H)
(hlam : 0 < G.data.rate l)
(hac : 0 ≤ ac)
(hm : 0 < m)
(hβ : 0 < G.data.β)
(hβ1 : G.data.β < 1)
(hwp : 0 ≤ wp)
(hstart : ∀ (b : Bool), |mindActivity (G.state 0) (if b = true then j else i)| ≤ e0)
(htraceStart : ∀ (b : Bool), |mindTrace (G.state 0) (if b = true then j else i) l| ≤ er0)
(hinit : -D0 ≤ mindRelation (G.state 0) j i - mindRelation (G.state 0) i j)
(htarget :
∀ (b : Bool),
∀ t ∈ Set.Icc 0 H, |G.target (if b = true then j else i) t - studyPulse A (if b = true then a + d else a) d t| ≤ dT)
(hξx : ∀ (b : Bool), ∀ t ∈ Set.Icc 0 H, |G.driver t.toNNReal (Sum.inr (Sum.inl (if b = true then j else i)))| ≤ bx)
(hξW : ∀ (b : Bool), |G.driver H.toNNReal (Sum.inl (if b = true then (i, j) else (j, i)))| ≤ bW)
(hgain : ∀ t ∈ Set.Icc 0 H, actualGain G t = m)
(hpresence :
∀ (b : Bool),
∀ t ∈ Set.Icc 0 H,
actualPresence G (if b = true then j else i) t = ac * mindTrace (G.state t) (if b = true then j else i) l)
(hR : ∀ (b : Bool), ∀ t ∈ Set.Icc 0 H, |mindTrace (G.state t) (if b = true then j else i) l| ≤ R)
(hW :
∀ (b : Bool),
∀ t ∈ Set.Icc 0 H, |mindRelation (G.state t) (if b = true then i else j) (if b = true then j else i)| ≤ wp)
(hP : ∀ (b : Bool), ∀ t ∈ Set.Icc 0 H, |actualPresence G (if b = true then j else i) t| ≤ p)
(hE : ∀ (b : Bool), ∀ t ∈ Set.Icc 0 H, |actualError G (if b = true then j else i) t| ≤ E)
:
have L := studyL A G.data.activity.ν H dT bx e0;
have Q := studyQ ac R L A d er0 (G.data.rate l);
(∀ (b : Bool),
∫ (t : ℝ) in 0..H, |mindActivity (G.state t) (if b = true then j else i) - studyPulse A (if b = true then a + d else a) d t| ≤ L) ∧ (∀ (b : Bool),
∀ t ∈ Set.Icc 0 H,
|mindTrace (G.state t) (if b = true then j else i) l - pulseTrace (G.data.rate l) (studyPulse A (if b = true then a + d else a) d) t| ≤ er0 + G.data.rate l * L) ∧ (∀ (b : Bool),
|(∫ (t : ℝ) in 0..H, ac * mindActivity (G.state t) (if b = true then i else j) * mindTrace (G.state t) (if b = true then j else i) l) - ∫ (t : ℝ) in 0..H, ac * studyPulse A (if b = true then a else a + d) d t * pulseTrace (G.data.rate l) (studyPulse A (if b = true then a + d else a) d) t| ≤ Q) ∧ studyDW m G.data.β (studyJ ac A (G.data.rate l) d) D0 Q wp A d L p E H bW ≤ mindRelation (G.state H) j i - mindRelation (G.state H) i j
Full (15.2) on a physical global run. The only path conditions are the entry's target, initial, domain, gain, presence and innovation conditions. Both II writers are integrated from the actual coordinate equations.
theorem
MindFormal.StateExperiment.study_pair_event
{Ω : Type u_1}
[MeasurableSpace Ω]
{N n : ℕ}
{T : Type u_2}
{Λ : Type u_3}
{J : Type u_4}
[Fintype T]
[Fintype Λ]
[Fintype J]
(E : StateExperiment Ω N n T Λ J)
{Ht : NNReal}
(B : OwnBox E Ht)
(hHt : Ht ≤ E.horizon)
(i j : Fin N)
(l : Λ)
{H hR A a d e0 dT er0 ac R m D0 wp p Estar : ℝ}
(hH : 0 ≤ H)
(hhR : 0 ≤ hR)
(hrec : H + hR ≤ ↑Ht)
(hA : 0 ≤ A)
(ha : 0 ≤ a)
(hd : 0 ≤ d)
(hend : a + 2 * d ≤ H)
(hlam : 0 < E.mind.drift.rate l)
(hac : 0 ≤ ac)
(hm : 0 < m)
(hβ : 0 < E.mind.drift.β)
(hβ1 : E.mind.drift.β < 1)
(hwp : 0 ≤ wp)
(hstart : ∀ ω ∈ B.stream, ∀ (b : Bool), |mindActivity (↑(E.start.state ω)) (if b = true then j else i)| ≤ e0)
(htraceStart : ∀ ω ∈ B.stream, ∀ (b : Bool), |mindTrace (↑(E.start.state ω)) (if b = true then j else i) l| ≤ er0)
(hinit : ∀ ω ∈ B.stream, -D0 ≤ mindRelation (↑(E.start.state ω)) j i - mindRelation (↑(E.start.state ω)) i j)
(htarget :
∀ ω ∈ B.stream,
∀ t ∈ Set.Icc 0 H,
InCorridorBox (↑(E.start.state ω)) B.X B.Xr B.ρW B.ρv ((E.supportHistory ω).state t) →
∀ (b : Bool),
|(E.supportHistory ω).target (if b = true then j else i) t - studyPulse A (if b = true then a + d else a) d t| ≤ dT)
(hgain : ∀ (δ : T → Fin n → ℝ), E.mind.drift.gain δ = m)
(hpresence :
∀ s0 ∈ B.starts,
∀ (s : MindState (Fin N) n T Λ),
InCorridorBox (↑s0) B.X B.Xr B.ρW B.ρv s →
∀ (b : Bool),
E.mind.drift.presence (mindTrace s (if b = true then j else i)) = ac * mindTrace s (if b = true then j else i) l)
(hRcap :
∀ s0 ∈ B.starts,
∀ (s : MindState (Fin N) n T Λ),
InCorridorBox (↑s0) B.X B.Xr B.ρW B.ρv s → ∀ (b : Bool), |mindTrace s (if b = true then j else i) l| ≤ R)
(hW :
∀ s0 ∈ B.starts,
∀ (s : MindState (Fin N) n T Λ),
InCorridorBox (↑s0) B.X B.Xr B.ρW B.ρv s →
∀ (b : Bool), |mindRelation s (if b = true then i else j) (if b = true then j else i)| ≤ wp)
(hP :
∀ s0 ∈ B.starts,
∀ (s : MindState (Fin N) n T Λ),
InCorridorBox (↑s0) B.X B.Xr B.ρW B.ρv s →
∀ (b : Bool), |E.mind.drift.presence (mindTrace s (if b = true then j else i))| ≤ p)
(hError :
∀ s0 ∈ B.starts,
∀ (s : MindState (Fin N) n T Λ),
InCorridorBox (↑s0) B.X B.Xr B.ρW B.ρv s →
∀ (u q : Fin N → ℝ),
0 ≤ u →
u ∈ B.inputs →
(∀ (k : Fin N), q k ∈ {0, 1}) →
∀ (b : Bool),
|E.mind.drift.drive (u (if b = true then j else i)) (q (if b = true then j else i))
(mindValue s (if b = true then j else i)) - ∑ k : Fin N, mindRelation s (if b = true then j else i) k * mindActivity s k| ≤ Estar)
:
have L := studyL A E.mind.activity.ν H dT B.ϖx e0;
have Q := studyQ ac R L A d er0 (E.mind.drift.rate l);
have DW := studyDW m E.mind.drift.β (studyJ ac A (E.mind.drift.rate l) d) D0 Q wp A d L p Estar H B.ϖW;
∃ (good : Set Ω),
MeasurableSet good ∧ good ⊆ B.stream ∧ 1 - B.errorProbability ≤ E.ground.μ.real good ∧ ∀ ω ∈ good,
have G := E.supportHistory ω;
(∀ (b : Bool),
∫ (t : ℝ) in 0..H, |mindActivity (G.state t) (if b = true then j else i) - studyPulse A (if b = true then a + d else a) d t| ≤ L) ∧ (∀ (b : Bool),
∀ t ∈ Set.Icc 0 H,
|mindTrace (G.state t) (if b = true then j else i) l - pulseTrace (G.data.rate l) (studyPulse A (if b = true then a + d else a) d) t| ≤ er0 + G.data.rate l * L) ∧ (∀ (b : Bool),
|(∫ (t : ℝ) in 0..H, ac * mindActivity (G.state t) (if b = true then i else j) * mindTrace (G.state t) (if b = true then j else i) l) - ∫ (t : ℝ) in 0..H, ac * studyPulse A (if b = true then a else a + d) d t * pulseTrace (G.data.rate l) (studyPulse A (if b = true then a + d else a) d) t| ≤ Q) ∧ DW ≤ mindRelation (G.state H) j i - mindRelation (G.state H) i j ∧ ∀ t ∈ Set.Icc H (H + hR),
DW - 2 * hR * B.KW - 4 * B.ϖW ≤ mindRelation (G.state t) j i - mindRelation (G.state t) i j
(15.2) on the common, derived own-noise event. Domain conditions are the entry's named bounds evaluated whenever the primitive coefficient box holds. No activity distance, trace error, product error or learned gap is supplied.