MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch19.ProbeLearning

noncomputable def MindFormal.ProjectedProbe.storedBill {Ω : 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) (ω : Ω) (b : D → Fin N → ℝ) (allowance : Fin N → ℝ) (a : ℝ) (j : Fin N) :

The stored-row ceiling is computed from the learning run's PV20.1.3 bill.

Equations
  • One or more equations did not get rendered due to their size.
Instances For
    theorem MindFormal.ProjectedProbe.projected_stored_bound {Ω : 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) (ω : Ω) (S : Submodule ℝ (EuclideanSpace ℝ (Fin N))) (b : OrthonormalBasis D ℝ ↥Sᗮ) (allowance : Fin N → ℝ) {a : ℝ} (ha : 0 ≤ a) (hb : ∀ (j : Fin N), ∀ s ∈ Set.Icc 0 a, ‖ProjectedHistory.vectorNoise (E.supportHistory ω) j (fun (d : D) => (↑(b d)).ofLp) s‖ ≤ allowance j) (j : Fin N) :
    ‖Sᗮ.orthogonalProjectionOnto (WithLp.toLp 2 ((E.supportHistory ω).W a j))‖ ≤ storedBill E ω (fun (d : D) => (↑(b d)).ofLp) allowance a j

    The learned stored matrix is bounded by its computed bill in every orthogonal complement, with zero-dimensional complements included.

    theorem MindFormal.ProjectedProbe.probe_from_learning {Ω : 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 other : Fin N → ℝ) {a H Z d₀ : ℝ} (ha : 0 ≤ a) (hH : 0 ≤ H) (hd₀ : 0 ≤ d₀) (hb : ∀ (j : Fin N), ∀ s ∈ Set.Icc 0 a, ‖ProjectedHistory.vectorNoise (E.supportHistory ω) j (fun (d : D) => (↑(b d)).ofLp) s‖ ≤ allowance j) (z : ↑(HorizonTime H) → EuclideanSpace ℝ (Fin N)) (hz : ∀ (s : ↑(HorizonTime H)), z s ∈ Sᗮ) (hZ : ∀ (s : ↑(HorizonTime H)), ‖z s‖ ≤ Z) (inputs : Set ℝ) (Lψ : NNReal) (hψ : LipschitzOnWith Lψ E.mind.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 ((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 : ∀ (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)) :
    have L := feedback (↑Lψ) E.mind.activity.σ R ((E.supportHistory ω).W a); have Δ := offset (↑Lψ) E.mind.activity.σ Z (storedBill E ω (fun (d : D) => (↑(b d)).ofLp) allowance a) 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 ≤ α - μ)

    PV20.1.8–9 composed with PV20.1.3 on the actual learning run. The probe's stored matrix is that run's W(a), and K is its computed bill, never an input.

    theorem MindFormal.ProjectedProbe.matched_receivers_own {Ω : Type u_1} {J : Type u_3} [MeasurableSpace Ω] [Fintype J] {N n : ℕ} {T : Type u_4} {Λ : Type u_5} [Fintype T] [Fintype Λ] (E E' : StateExperiment Ω N n T Λ J) (hg : E'.ground = E.ground) (hH : E'.horizon = E.horizon) (R : Finset (Fin N)) (f : ↥R → J → ↥(MeasureTheory.Lp ℝ 2 (MeasureTheory.volume.restrict (Set.Ioc 0 ↑E.horizon)))) (h0 : ∀ (i : ↥R) (j : J), ∀ᵐ (ω : Ω) ∂E.ground.μ, ∀ᵐ (s : NNReal) ∂MathFin.ItoIntegralCLM.timeMeasure_T E.horizon, E.ownLoading ω (↑s) (Sum.inr (Sum.inl ↑i)) j = ↑↑(f i j) ↑s) (h1 : ∀ (i : ↥R) (j : J), ∀ᵐ (ω : Ω) ∂E.ground.μ, ∀ᵐ (s : NNReal) ∂MathFin.ItoIntegralCLM.timeMeasure_T E.horizon, E'.ownLoading ω (↑s) (Sum.inr (Sum.inl ↑i)) j = ↑↑(f i j) ↑s) :
    ∀ᵐ (ω : Ω) ∂E.ground.μ, ∀ (a t : NNReal) (i : ↥R), (E.supportHistory ω).driver t (Sum.inr (Sum.inl ↑i)) - (E.supportHistory ω).driver a (Sum.inr (Sum.inl ↑i)) = (E'.supportHistory ω).driver t (Sum.inr (Sum.inl ↑i)) - (E'.supportHistory ω).driver a (Sum.inr (Sum.inl ↑i))

    Receiver-only deterministic own loadings discharge the probe innovation hold almost surely, on every window at once. No other coordinate is constrained.