MindFormal v1.0.0One Mind

MindFormal.Example.PageReductions.QueryWindow

The convolution and contraction at an actual query cut, without a reset or a supplied query trajectory.

theorem MindFormal.PageReductions.Query.activity_convolution_from {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] (R : PhysicalGlobalData N n T Λ) (i : Fin N) {a h b : ℝ} (ha : 0 ≤ a) (hh : 0 ≤ h) (hb : 0 ≤ b) (hw : ∀ t ∈ Set.Icc a (a + h), |R.driver t.toNNReal (Sum.inr (Sum.inl i)) - R.driver a.toNNReal (Sum.inr (Sum.inl i))| ≤ b) (s : ℝ) :
s ∈ Set.Icc 0 h → |mindActivity (R.state (a + s)) i - expConv R.data.activity.ν (mindActivity (R.state a) i) (fun (r : ℝ) => R.target i (a + r)) s| ≤ 2 * b
theorem MindFormal.PageReductions.Query.convolution_enclosure {ν t x c X : ℝ} (hν : 0 < ν) (ht : 0 ≤ t) (f F : ℝ → ℝ) (hf : IntervalIntegrable f MeasureTheory.volume 0 t) (hF : IntervalIntegrable F MeasureTheory.volume 0 t) (hx : |x - c| ≤ X) (he : ∀ᵐ (s : ℝ), s ∈ Set.Icc 0 t → |f s - c| ≤ F s) :
|expConv ν x f t - c| ≤ expConv ν X F t

A scalar convolution keeps the decaying entering error. The envelope may vary continuously with the actual path's distance from the fixed point.

theorem MindFormal.PageReductions.Query.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 + 4 * b) / (1 - L)

The old finite-query error on the original physical run. Its target condition is the local coefficient estimate, later discharged by the full relation cap and computed frozen matrix.