MindFormal v1.0.0One Mind

MindFormal.Example.A617Judgment.EpisodeSharpQuery

The installed contraction argument retains its exact additive-noise constant. This gives the printed live-read bill after a nonzero cut.

theorem MindFormal.A617Judgment.EpisodeFamily.sharp_convolution_contract {ν L d b X H : ℝ} (hν : 0 < ν) (hL0 : 0 ≤ L) (hd0 : 0 ≤ d) (hL : L < 1) (hb : 0 ≤ b) (hH : 0 ≤ H) (φ : ℝ → ℝ) (hφ : Continuous φ) (he : ∀ t ∈ Set.Icc 0 H, φ t ≤ expConv ν X (fun (r : ℝ) => d + L * φ r) t + 2 * b) (t : ℝ) :
t ∈ Set.Icc 0 H → φ t ≤ X * Real.exp (-ν * (1 - L) * t) + (d + 2 * b) / (1 - L)
theorem MindFormal.A617Judgment.EpisodeFamily.sharp_query_enclosure {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] (R : PhysicalGlobalData N n T Λ) {a h d L b X : ℝ} (ha : 0 ≤ a) (hh : 0 ≤ h) (hd : 0 ≤ d) (hL0 : 0 ≤ L) (hL : L < 1) (hb : 0 ≤ b) (hX : 0 ≤ X) (y : Fin N → ℝ) (hstart : ∀ (i : Fin N), |mindActivity (R.state a) i - y i| ≤ X) (hnoise : ∀ r ∈ Set.Icc a (a + h), ∀ (i : Fin N), |R.driver r.toNNReal (Sum.inr (Sum.inl i)) - R.driver a.toNNReal (Sum.inr (Sum.inl i))| ≤ b) (htarget : ∀ r ∈ Set.Ioc a (a + h), ∀ (i : Fin N), |R.target i r - y i| ≤ d + L * ‖fun (j : Fin N) => mindActivity (R.state r) j - y j‖) (t : ℝ) :
t ∈ Set.Icc 0 h → ∀ (i : Fin N), |mindActivity (R.state (a + t)) i - y i| ≤ X * Real.exp (-R.data.activity.ν * (1 - L) * t) + (d + 2 * b) / (1 - L)