MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch19.ProbeResidence

theorem MindFormal.ProjectedProbe.storedBill_residence {Ω : 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 α K rem : Fin N → ℝ) {a γ o : ℝ} (ha : 0 ≤ a) (ho : 0 ≤ o) (hα : ∀ (j : Fin N), 0 < α j) (hγ : ∀ (j : Fin N), γ ≤ E.mind.β * E.mind.gain 0 * α j) (hres : ∀ (j : Fin N), o ≤ awarenessResidence (fun (s : ℝ) => (E.supportHistory ω).x s j) (α j) a) (hK : ∀ (j : Fin N), ‖ProjectedHistory.vector (E.supportHistory ω) j b 0‖ ≤ K j) (hrem : ∀ (j : Fin N), forcingBill (ProjectedHistory.loss (E.supportHistory ω) j) (ProjectedHistory.vectorForcing (E.supportHistory ω) j b) a + 2 * allowance j ≤ rem j) (j : Fin N) :
storedBill E ω b allowance a j ≤ Real.exp (-γ * o) * K j + rem j

Common occupied time bounds the computed stored bill. The gain floor and loss dose are supplied by admission and PV20.1.5, not assumed along the run.

theorem MindFormal.ProjectedProbe.residence_margin {γ o F stored gap : ℝ} (hγ : 0 < γ) (ho : 0 ≤ o) (hF : 0 < F) (hgap : 0 < gap) (htest : stored = 0 ∨ 0 < stored ∧ Real.log (F * stored / gap) / γ < o ∨ 0 < stored ∧ Real.log (F * stored / gap) < 0) :
F * (Real.exp (-γ * o) * stored) < gap

PV20.1.10's strict logarithmic test, including zero stored signal and a negative logarithm. The positive gap already includes initial mismatch and other bills.

theorem MindFormal.ProjectedProbe.probe_residence_exclusion {Ω : 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 α K rem : Fin N → ℝ) {a H Z d₀ γ o L : ℝ} (ha : 0 ≤ a) (hH : 0 ≤ H) (hd₀ : 0 ≤ d₀) (hγ : 0 < γ) (ho : 0 ≤ o) (hα : ∀ (j : Fin N), 0 < α j) (hγcap : ∀ (j : Fin N), γ ≤ E.mind.β * E.mind.gain 0 * α j) (hres : ∀ (j : Fin N), o ≤ awarenessResidence (fun (s : ℝ) => (E.supportHistory ω).x s j) (α j) a) (hK : ∀ (j : Fin N), ‖ProjectedHistory.vector (E.supportHistory ω) j (fun (d : D) => (↑(b d)).ofLp) 0‖ ≤ K j) (hrem : ∀ (j : Fin N), forcingBill (ProjectedHistory.loss (E.supportHistory ω) j) (ProjectedHistory.vectorForcing (E.supportHistory ω) j fun (d : D) => (↑(b d)).ofLp) a + 2 * allowance j ≤ rem j) (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₀) (hfeedback : feedback (↑Lψ) E.mind.activity.σ R ((E.supportHistory ω).W a) ≤ L) (s : ↑(HorizonTime H)) :
have stored := ↑Lψ / E.mind.activity.σ * (Z * ∑ j : Fin N, K j); have otherBill := offset (↑Lψ) E.mind.activity.σ Z rem other; have F := probeFactor E.mind.activity.ν L ↑s; have startBill := d₀ * Real.exp (E.mind.activity.ν * (L - 1) * ↑s); ‖fun (i : ↥R) => G.x (a + ↑s) ↑i - G'.x (a + ↑s) ↑i‖ ≤ startBill + F * (Real.exp (-γ * o) * stored + otherBill) ∧ ∀ (μ : ℝ), have gap := 2 * μ - startBill - F * otherBill; 0 < ↑s → 0 < gap → stored = 0 ∨ 0 < stored ∧ Real.log (F * stored / gap) / γ < o ∨ 0 < stored ∧ Real.log (F * stored / gap) < 0 → ∀ (i : ↥R) (bar : ℝ), ¬(bar + μ ≤ G.x (a + ↑s) ↑i ∧ G'.x (a + ↑s) ↑i ≤ bar - μ)

PV20.1.10 on an actual learning run and two actual probe runs. Initial projected sizes, forcing/noise remainders, and occupied time are the entry's holds. The stored matrix bound is derived from PV20.1.3 and PV20.1.5. A common upper bound on the computed receiver feedback is allowed in the response factor.