MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch10.ActivityDelay.SourceEvent

LG1.9 with the COMPLETE own-noise/full-reference error transfer. Every primitive certificate is retained from full_reference_event. No path closeness, probability or desired verdict is supplied as a hypothesis.

theorem MindFormal.Logic.ActivityDelay.source_delay_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) (H : NNReal) (hH : H ≤ E.horizon) {refData : MindDriftData (Fin N) n T Λ} (R : Ω → LearningReference refData H) (stream : Set Ω) (allowance loading : CoordinateIndex (Fin N) n T Λ → ℝ) (mismatch : Ω → ℝ → ℝ) {d0 L delta clearance : ℝ} (h_allowance : ∀ (c : CoordinateIndex (Fin N) n T Λ), 0 < allowance c) (h_stream : MeasurableSet stream) {failure : ℝ} (h_mass : 1 - failure ≤ E.ground.μ.real stream) (h_start : ∀ ω ∈ stream, ‖↑(E.start.state ω) - ↑(R ω).start‖ ≤ d0) (h_d0 : 0 ≤ d0) (h_L : 0 ≤ L) (h_delta : 0 ≤ delta) (h_mismatch : ∀ ω ∈ stream, IntervalIntegrable (mismatch ω) MeasureTheory.volume 0 ↑H) (h_budget : ∀ ω ∈ stream, ∀ (t : ↑(HorizonTime ↑H)), ∫ (z : ℝ) in 0..↑t, mismatch ω z ≤ delta) (h_drift : ∀ ω ∈ stream, ∀ (t : ↑(HorizonTime ↑H)) (s : MindState (Fin N) n T Λ), PhysicalMindState s → ‖s - (R ω).path t‖ ≤ clearance → ‖assembledDrift E.mind.drift ((E.supportHistory ω).input ↑t) ((E.supportHistory ω).pulse ↑t) s - learningForcing refData ⋯ (R ω).input (R ω).mode (R ω).path ↑t‖ ≤ L * ‖s - (R ω).path t‖ + mismatch ω ↑t) (h_loading : ∀ ω ∈ stream, ∀ (t : ↑(HorizonTime ↑H)) (s : MindState (Fin N) n T Λ), PhysicalMindState s → ‖s - (R ω).path t‖ ≤ clearance → ∀ (c : CoordinateIndex (Fin N) n T Λ), ∑ j : J, E.mind.amplitude (s, (E.supportHistory ω).input ↑t, (E.supportHistory ω).pulse ↑t) c j ^ 2 ≤ loading c ^ 2) (h_clearance : 2 * (d0 + ‖allowance‖ + delta) * Real.exp (2 * L * ↑H) < clearance) {γ : ℝ} (hγ : 0 < γ) (hsmall : 2 * (d0 + ‖allowance‖ + delta) * Real.exp (2 * L * ↑H) < γ) :
∃ (good : Set Ω), MeasurableSet good ∧ good ⊆ stream ∧ 1 - min 1 (failure + ∑ c : CoordinateIndex (Fin N) n T Λ with loading c ≠ 0, 2 * Real.exp (-(allowance c ^ 2 / (2 * loading c ^ 2 * ↑H)))) ≤ E.ground.μ.real good ∧ ∀ ω ∈ good, (E.own.data.toPhysicalNoiseData.Good ω ∧ (∀ (t : ↑(HorizonTime ↑H)), ‖(E.supportHistory ω).state ↑t - (R ω).path t‖ ≤ 2 * (d0 + ‖allowance‖ + delta) * Real.exp (2 * L * ↑H) ∧ ‖(E.supportHistory ω).state ↑t - (R ω).path t‖ < clearance) ∧ ∀ t ≤ H, ∀ (c : CoordinateIndex (Fin N) n T Λ), |(E.supportHistory ω).driver t c| < allowance c) ∧ ∀ (i : Fin N) (a : ℝ) (t : ↑(HorizonTime ↑H)), 0 ≤ a → a ≤ ↑t → ∀ (α X : ℝ), ((ContinuousMap.IccExtend ⋯ (R ω).path) a (Sum.inr (Sum.inl i)) ≤ X → (∀ s ∈ Set.Ioc a ↑t, (R ω).target i s ≤ α - 2 * γ) → delay refData.activity.ν (X - α + 2 * γ) γ ≤ ↑t - a → mindActivity ((E.supportHistory ω).state ↑t) i < α) ∧ ((∀ s ∈ Set.Ioc a ↑t, α + 2 * γ ≤ (R ω).target i s) → delay refData.activity.ν (α + 2 * γ - (ContinuousMap.IccExtend ⋯ (R ω).path) a (Sum.inr (Sum.inl i))) γ ≤ ↑t - a → α < mindActivity ((E.supportHistory ω).state ↑t) i)