MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch19.ProbeCertificate

theorem MindFormal.ProjectedProbe.probe_certificate {Ω : Type u_1} {D : Type u_2} {J : Type u_3} [MeasurableSpace Ω] [Fintype D] [Fintype J] {N n : ℕ} {T : Type u_4} {Λ : Type u_5} [Fintype T] [Fintype Λ] (E : StateExperiment Ω N n T Λ J) (G G' : Ω → PhysicalGlobalData N n T Λ) (hd : ∀ (ω : Ω), (G' ω).data = (G ω).data) (hdata : ∀ (ω : Ω), (G ω).data = (E.supportHistory ω).data) (S : Submodule ℝ (EuclideanSpace ℝ (Fin N))) (b : OrthonormalBasis D ℝ ↥Sᗮ) (R : Finset (Fin N)) (allowance σ : Fin N → D → ℝ) (ha : ∀ (j : Fin N) (d : D), 0 < allowance j d) (other : Fin N → ℝ) (a : NNReal) (hlearn : a ≤ E.horizon) {H Z d₀ : ℝ} (hH : 0 ≤ H) (hd₀ : 0 ≤ d₀) (enclosure : Set Ω) (hm : MeasurableSet enclosure) {ε : ℝ} (he : 1 - ε ≤ E.ground.μ.real enclosure) (hl : ∀ ω ∈ enclosure, ∀ (j : Fin N) (d : D), E.LinearLoadingBound (ProjectedHistory.rowFunctional j (↑(b d)).ofLp) a (σ j d) ω) (z : Ω → ↑(HorizonTime H) → EuclideanSpace ℝ (Fin N)) (hz : ∀ ω ∈ enclosure, ∀ (s : ↑(HorizonTime H)), z ω s ∈ Sᗮ) (hZ : ∀ ω ∈ enclosure, ∀ (s : ↑(HorizonTime H)), ‖z ω s‖ ≤ Z) (inputs : Set ℝ) (Lψ : NNReal) (hψ : LipschitzOnWith Lψ E.mind.transform.ψ inputs) (hI : ∀ ω ∈ enclosure, ∀ (s : ↑(HorizonTime H)) (j : Fin N), raw (G ω) (↑a + ↑s) j ∈ inputs ∧ raw (G' ω) (↑a + ↑s) j ∈ inputs) (hbill : ∀ ω ∈ enclosure, ∀ (s : ↑(HorizonTime H)) (j : Fin N), |raw (G ω) (↑a + ↑s) j - raw (G' ω) (↑a + ↑s) j - inner ℝ (WithLp.toLp 2 ((E.supportHistory ω).W (↑a) j)) (z ω s) - ∑ k : ↥R, (E.supportHistory ω).W (↑a) j ↑k * ((G ω).x (↑a + ↑s) ↑k - (G' ω).x (↑a + ↑s) ↑k)| ≤ other j) (hdriver : ∀ ω ∈ enclosure, ∀ (s : ↑(HorizonTime H)) (i : ↥R), (G ω).driver (↑a + ↑s).toNNReal (Sum.inr (Sum.inl ↑i)) - (G ω).driver a (Sum.inr (Sum.inl ↑i)) = (G' ω).driver (↑a + ↑s).toNNReal (Sum.inr (Sum.inl ↑i)) - (G' ω).driver a (Sum.inr (Sum.inl ↑i))) (hstart : ∀ ω ∈ enclosure, ‖fun (i : ↥R) => (G ω).x ↑a ↑i - (G' ω).x ↑a ↑i‖ ≤ d₀) :
∃ (good : Set Ω), MeasurableSet good ∧ good ⊆ enclosure ∧ 1 - min 1 (ε + ∑ jd : Fin N × D, ItoFiltration.projectedNoisePrice (allowance jd.1 jd.2) (σ jd.1 jd.2) a) ≤ E.ground.μ.real good ∧ ∀ ω ∈ good, (∀ (j : Fin N), ∀ t ∈ Set.Icc 0 ↑a, ‖ProjectedHistory.vectorNoise (E.supportHistory ω) j (fun (d : D) => (↑(b d)).ofLp) t‖ ≤ √(∑ d : D, allowance j d ^ 2)) ∧ ∀ (s : ↑(HorizonTime H)), have L := feedback (↑Lψ) E.mind.activity.σ R ((E.supportHistory ω).W ↑a); have K := storedBill E ω (fun (d : D) => (↑(b d)).ofLp) (fun (j : Fin N) => √(∑ d : D, allowance j d ^ 2)) ↑a; have Δ := offset (↑Lψ) E.mind.activity.σ Z K other; have bound := d₀ * Real.exp (E.mind.activity.ν * (L - 1) * ↑s) + Δ * probeFactor E.mind.activity.ν L ↑s; ‖fun (i : ↥R) => (G ω).x (↑a + ↑s) ↑i - (G' ω).x (↑a + ↑s) ↑i‖ ≤ bound ∧ ∀ (i : ↥R) (α μ : ℝ), bound < 2 * μ → ¬(α + μ ≤ (G ω).x (↑a + ↑s) ↑i ∧ (G' ω).x (↑a + ↑s) ↑i ≤ α - μ)

The own-noise probe certificate charges exactly the projected learning loadings and one common enclosure failure. All remaining hypotheses are the entry's probe holds on that enclosure. Every stored K is computed by PV20.1.3.