MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch18.NoiseBudget

theorem MindFormal.FourReads.positive_target_sum {C : Type u_1} [Fintype C] (z : C → ℝ) (S : Finset C) {σ g : ℝ} (hσ : 0 < σ) (hz : ∀ (i : C), 0 ≤ z i) (active : ∀ i ∈ S, 0 < normalizedTarget σ g z i) :
∑ i ∈ S, normalizedTarget σ g z i < 1 - ↑S.card * g

RM1.16's strict sum over any currently positive targets. The strict floor keeps the shares of even the whole content set below one.

theorem MindFormal.FourReads.total_target_sum {C : Type u_1} [Fintype C] (z : C → ℝ) {σ g : ℝ} (hσ : 0 < σ) (hg : 0 ≤ g) (hg1 : g ≤ 1) (hz : ∀ (i : C), 0 ≤ z i) :
∑ i : C, normalizedTarget σ g z i ≤ 1 - g

RM1.16: the sum of all targets is at most 1-g, including the all-inactive case. No bound on delayed/noisy activity is substituted here.

theorem MindFormal.FourReads.target_sum_own {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] (G : PhysicalGlobalData N n T Λ) (t : ℝ) :
∑ i : Fin N, G.target i t ≤ 1 - G.data.activity.g

The previous budget evaluated at the actual supports of the original physical run, at every time.

theorem MindFormal.FourReads.convolution_sum_own {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] (G : PhysicalGlobalData N n T Λ) {t : ℝ} (ht : 0 ≤ t) :
∑ i : Fin N, G.targetConv i t ≤ Real.exp (-G.data.activity.ν * t) * ∑ i : Fin N, G.x 0 i + LoadRegions.rise G.data.activity.ν t * (1 - G.data.activity.g)

Summing the actual target convolutions retains the discounted initial total and the finite rising fraction, without a per-port cap.

theorem MindFormal.FourReads.activity_sum_own {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] (G : PhysicalGlobalData N n T Λ) {H t : ℝ} (ht : t ∈ Set.Icc 0 H) (b : Fin N → ℝ) (noise : ∀ (i : Fin N), ∀ s ∈ Set.Icc 0 H, |G.driver s.toNNReal (Sum.inr (Sum.inl i))| ≤ b i) :
∑ i : Fin N, G.x t i ≤ Real.exp (-G.data.activity.ν * t) * ∑ i : Fin N, G.x 0 i + LoadRegions.rise G.data.activity.ν t * (1 - G.data.activity.g) + 2 * ∑ i : Fin N, b i

RM1.16 on any realization of the original own-noise run. The reflected comparison charges exactly twice each excursion allowance.

theorem MindFormal.FourReads.aware_count_own {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] (G : PhysicalGlobalData N n T Λ) (t α : ℝ) :
↑{i : Fin N | α ≤ G.x t i}.card * α ≤ ∑ i : Fin N, G.x t i

The simultaneous aware count times its bar is bounded by the same realized activity total; no assumption of balance is made.

theorem MindFormal.FourReads.budget_event {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] {Ω : Type u_3} [MeasurableSpace Ω] {J : Type u_4} [Fintype J] (E : StateExperiment Ω N n T Λ J) {H : NNReal} (B : OwnBox E H) (hH : H ≤ E.horizon) :
∃ (good : Set Ω), MeasurableSet good ∧ 1 - B.errorProbability ≤ E.ground.μ.real good ∧ ∀ ω ∈ good, ∀ t ∈ Set.Icc 0 ↑H, ∑ i : Fin N, (E.supportHistory ω).x t i ≤ Real.exp (-E.mind.drift.activity.ν * t) * ∑ i : Fin N, (E.supportHistory ω).x 0 i + LoadRegions.rise E.mind.drift.activity.ν t * (1 - E.mind.drift.activity.g) + 2 * ∑ i : Fin N, B.allowance (Sum.inr (Sum.inl i))

RM1.16's probability statement: OwnBox constructs a joint event from coefficient bounds on every mode and history. All times share its one failure bill and the stronger reflected charge 2 sum b.

theorem MindFormal.FourReads.normalization_deficit {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] {Ω : Type u_3} [MeasurableSpace Ω] {J : Type u_4} [Fintype J] (E : StateExperiment Ω N n T Λ J) {H : NNReal} (B : OwnBox E H) (hH : H ≤ E.horizon) (zero : ∀ (ω : Ω) (i : Fin N), (E.supportHistory ω).x 0 i = 0) (small : 2 * ∑ i : Fin N, B.allowance (Sum.inr (Sum.inl i)) < E.mind.drift.activity.g / 2) :
∃ (good : Set Ω), MeasurableSet good ∧ 1 - B.errorProbability ≤ E.ground.μ.real good ∧ (∀ ω ∈ good, ∀ (atoms : Finset (Fin N)), ∑ i ∈ atoms, (E.supportHistory ω).x (↑H) i < 1 - E.mind.drift.activity.g / 2) ∧ ∀ (atoms : Finset (Fin N)), E.ground.μ.real {ω : Ω | ∑ i ∈ atoms, (E.supportHistory ω).x (↑H) i = 1} ≤ B.errorProbability

UO1.11: from zero activities the unit-one atom normalization event has probability at most the computed failure, with the strict g/2 deficit on one simultaneous certificate event for every subset of atoms.