MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch19.ProbeComparison

noncomputable def MindFormal.ProjectedProbe.feedback {N : ℕ} (Lψ σ : ℝ) (R : Finset (Fin N)) (W : Fin N → Fin N → ℝ) :
Equations
Instances For
    noncomputable def MindFormal.ProjectedProbe.offset {N : ℕ} (Lψ σ Z : ℝ) (K other : Fin N → ℝ) :
    Equations
    Instances For
      theorem MindFormal.ProjectedProbe.probe_comparison_ceiling {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] (G G' : PhysicalGlobalData N n T Λ) (hd : G'.data = G.data) (S : Submodule ℝ (EuclideanSpace ℝ (Fin N))) (R : Finset (Fin N)) (W : Fin N → Fin N → ℝ) (K other : Fin N → ℝ) {a H Z d₀ : ℝ} (ha : 0 ≤ a) (hH : 0 ≤ H) (hd₀ : 0 ≤ d₀) (z : ↑(HorizonTime H) → EuclideanSpace ℝ (Fin N)) (hz : ∀ (s : ↑(HorizonTime H)), z s ∈ Sᗮ) (hZ : ∀ (s : ↑(HorizonTime H)), ‖z s‖ ≤ Z) (hK : ∀ (j : Fin N), ‖Sᗮ.orthogonalProjectionOnto (WithLp.toLp 2 (W j))‖ ≤ K j) (inputs : Set ℝ) (Lψ : NNReal) (hψ : LipschitzOnWith Lψ G.data.transform.ψ inputs) (hI : ∀ (s : ↑(HorizonTime H)) (j : Fin N), raw G (a + ↑s) j ∈ inputs ∧ raw G' (a + ↑s) j ∈ inputs) (hbill : ∀ (s : ↑(HorizonTime H)) (j : Fin N), |raw G (a + ↑s) j - raw G' (a + ↑s) j - inner ℝ (WithLp.toLp 2 (W j)) (z s) - ∑ k : ↥R, W j ↑k * (G.x (a + ↑s) ↑k - G'.x (a + ↑s) ↑k)| ≤ other j) (hdriver : ∀ (s : ↑(HorizonTime H)) (i : ↥R), G.driver (a + ↑s).toNNReal (Sum.inr (Sum.inl ↑i)) - G.driver a.toNNReal (Sum.inr (Sum.inl ↑i)) = G'.driver (a + ↑s).toNNReal (Sum.inr (Sum.inl ↑i)) - G'.driver a.toNNReal (Sum.inr (Sum.inl ↑i))) (hstart : ‖fun (i : ↥R) => G.x a ↑i - G'.x a ↑i‖ ≤ d₀) {L : ℝ} (hfeedback : feedback (↑Lψ) G.data.activity.σ R W ≤ L) (s : ↑(HorizonTime H)) :
      ‖fun (i : ↥R) => G.x (a + ↑s) ↑i - G'.x (a + ↑s) ↑i‖ ≤ d₀ * Real.exp (G.data.activity.ν * (L - 1) * ↑s) + offset (↑Lψ) G.data.activity.σ Z K other * probeFactor G.data.activity.ν L ↑s

      PV20.1.8–9 on two actual global runs of one instance, over any nonnegative window. Every receiver innovation increment is matched; the stored matrix need not be the current matrix. The raw-input bill includes all changes since storage.

      theorem MindFormal.ProjectedProbe.probe_comparison {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] (G G' : PhysicalGlobalData N n T Λ) (hd : G'.data = G.data) (S : Submodule ℝ (EuclideanSpace ℝ (Fin N))) (R : Finset (Fin N)) (W : Fin N → Fin N → ℝ) (K other : Fin N → ℝ) {a H Z d₀ : ℝ} (ha : 0 ≤ a) (hH : 0 ≤ H) (hd₀ : 0 ≤ d₀) (z : ↑(HorizonTime H) → EuclideanSpace ℝ (Fin N)) (hz : ∀ (s : ↑(HorizonTime H)), z s ∈ Sᗮ) (hZ : ∀ (s : ↑(HorizonTime H)), ‖z s‖ ≤ Z) (hK : ∀ (j : Fin N), ‖Sᗮ.orthogonalProjectionOnto (WithLp.toLp 2 (W j))‖ ≤ K j) (inputs : Set ℝ) (Lψ : NNReal) (hψ : LipschitzOnWith Lψ G.data.transform.ψ inputs) (hI : ∀ (s : ↑(HorizonTime H)) (j : Fin N), raw G (a + ↑s) j ∈ inputs ∧ raw G' (a + ↑s) j ∈ inputs) (hbill : ∀ (s : ↑(HorizonTime H)) (j : Fin N), |raw G (a + ↑s) j - raw G' (a + ↑s) j - inner ℝ (WithLp.toLp 2 (W j)) (z s) - ∑ k : ↥R, W j ↑k * (G.x (a + ↑s) ↑k - G'.x (a + ↑s) ↑k)| ≤ other j) (hdriver : ∀ (s : ↑(HorizonTime H)) (i : ↥R), G.driver (a + ↑s).toNNReal (Sum.inr (Sum.inl ↑i)) - G.driver a.toNNReal (Sum.inr (Sum.inl ↑i)) = G'.driver (a + ↑s).toNNReal (Sum.inr (Sum.inl ↑i)) - G'.driver a.toNNReal (Sum.inr (Sum.inl ↑i))) (hstart : ‖fun (i : ↥R) => G.x a ↑i - G'.x a ↑i‖ ≤ d₀) (s : ↑(HorizonTime H)) :
      ‖fun (i : ↥R) => G.x (a + ↑s) ↑i - G'.x (a + ↑s) ↑i‖ ≤ d₀ * Real.exp (G.data.activity.ν * (feedback (↑Lψ) G.data.activity.σ R W - 1) * ↑s) + offset (↑Lψ) G.data.activity.σ Z K other * probeFactor G.data.activity.ν (feedback (↑Lψ) G.data.activity.σ R W) ↑s

      PV20.1.8–9 on two actual global runs of one instance, over any nonnegative window. Every receiver innovation increment is matched; the stored matrix need not be the current matrix. The raw-input bill includes all changes since storage.

      theorem MindFormal.ProjectedProbe.selective_exclusion {x y bound α μ : ℝ} (hb : |x - y| ≤ bound) (hmargin : bound < 2 * μ) :
      ¬(α + μ ≤ x ∧ y ≤ α - μ)

      A selective aware read with margin μ requires a difference of at least 2μ. This applies separately to every charged candidate meaning carrier.