MindFormal v1.0.0One Mind

MindFormal.Run.ReachableLearning.Reference

theorem MindFormal.StateExperiment.reachable_reference_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) (R : Ω → LearningReference E.mind.drift H) (B : Ω → Set (MindState (Fin N) n T Λ)) (modes : Ω → ℝ → Set ((Fin N → ℝ) × (Fin N → ℝ))) (stream : Set Ω) (allowance loading : CoordinateIndex (Fin N) n T Λ → ℝ) (mismatch : Ω → ℝ → ℝ) {failure d0 L delta clearance : ℝ} (ha : ∀ (c : CoordinateIndex (Fin N) n T Λ), 0 < allowance c) (hm : MeasurableSet stream) (hmass : 1 - failure ≤ E.ground.μ.real stream) (hstart : ∀ ω ∈ stream, ‖↑(E.start.state ω) - ↑(R ω).start‖ ≤ d0) (hd0 : 0 ≤ d0) (hL : 0 ≤ L) (hdelta : 0 ≤ delta) (hroom : 2 * (d0 + ‖allowance‖ + delta) * Real.exp (2 * L * ↑H) < clearance) (hbox : ∀ ω ∈ stream, ∀ (t : ↑(HorizonTime ↑H)) (s : MindState (Fin N) n T Λ), PhysicalMindState s → ‖s - (R ω).path t‖ ≤ clearance → s ∈ B ω) (attained : ∀ ω ∈ stream, ∀ t ∈ Set.Icc 0 ↑H, ((E.supportHistory ω).input t, (E.supportHistory ω).pulse t) ∈ modes ω t) (lip : ∀ ω ∈ stream, ∀ t ∈ Set.Icc 0 ↑H, ∀ uq ∈ modes ω t, ∀ s ∈ B ω, PhysicalMindState s → ∀ z ∈ B ω, PhysicalMindState z → ‖assembledDrift E.mind.drift uq.1 uq.2 s - assembledDrift E.mind.drift uq.1 uq.2 z‖ ≤ L * ‖s - z‖) (mismatch_integrable : ∀ ω ∈ stream, IntervalIntegrable (mismatch ω) MeasureTheory.volume 0 ↑H) (mismatch_budget : ∀ ω ∈ stream, ∀ (t : ↑(HorizonTime ↑H)), ∫ (z : ℝ) in 0..↑t, mismatch ω z ≤ delta) (discrepancy : ∀ ω ∈ stream, ∀ (t : ↑(HorizonTime ↑H)), ‖assembledDrift E.mind.drift ((E.supportHistory ω).input ↑t) ((E.supportHistory ω).pulse ↑t) ((R ω).path t) - assembledDrift E.mind.drift ((R ω).input ↑t) ((R ω).mode ↑t) ((R ω).path t)‖ ≤ mismatch ω ↑t) (amplitude : ∀ ω ∈ stream, ∀ t ∈ Set.Icc 0 ↑H, ∀ uq ∈ modes ω t, ∀ s ∈ B ω, PhysicalMindState s → ∀ (c : CoordinateIndex (Fin N) n T Λ), ∑ j : J, E.mind.amplitude (s, uq.1, uq.2) c j ^ 2 ≤ loading c ^ 2) :
∃ (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 ∧ (E.supportHistory ω).state ↑t ∈ B ω) ∧ ∀ t ≤ H, ∀ (c : CoordinateIndex (Fin N) n T Λ), |(E.supportHistory ω).driver t c| < allowance c

PG1.20 / RP1.12 / TX1.10. P: the original experiment E, finite horizon H, verified evolving reference R, envelope B, attainable input/pulse pairs modes, stream event, scalar loading/innovation bounds, mismatch function and numerical budgets. E: hH, ha, hm, hmass, hstart, hd0, hL, hdelta, hroom, hbox, attained, lip, mismatch_integrable, mismatch_budget, discrepancy and amplitude are the source's horizon, preparation, coefficient, mode/return and clearance tests. Only pairs in modes are tested; attained is required only on the charged event. No bound on the actual state or actual score is assumed. The full drift is assembledDrift, including both II terms, every III kind/horizon/rate and D4. The existing full_reference_event supplies the common event and removes the artificial exit. This adapter derives its local drift condition by subtraction. The reference's input, focus and entire value bank may change with time.