MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch03.PreparationBudget

theorem MindFormal.preparation_future_budget {Ω : Type u_1} [MeasurableSpace Ω] (μ : MeasureTheory.Measure Ω) [MeasureTheory.IsProbabilityMeasure μ] (group past bad : Set Ω) (hgroup : MeasurableSet group) (_hpast : MeasurableSet past) (hpos : 0 < μ.real group) {ε s : ℝ} (hε : 0 ≤ ε) (_hs : 0 ≤ s) (hpre : μ.real (group ∩ pastᶜ) ≤ ε) (hfuture : μ.real (group ∩ past ∩ bad) ≤ s * μ.real (group ∩ past)) :
∃ (good : Set Ω), MeasurableSet good ∧ good ⊆ group ∩ past ∧ good ⊆ badᶜ ∧ μ[|group].real goodᶜ ≤ min 1 (min 1 (ε / μ.real group) + min 1 s)

FR8 normalization and union accounting. group is the observed rating event, past is a prompt-measurable preparation family, and bad is the future row union. Only their joint masses enter; there is no independence assumption. A measurable cover handles the supremum event without adding any measurability premise about an excursion.

theorem MindFormal.preparation_stratum_denominator {Ω : Type u_1} [MeasurableSpace Ω] (μ : MeasureTheory.Measure Ω) [MeasureTheory.IsProbabilityMeasure μ] (stratum good group : Set Ω) (_hs : MeasurableSet stratum) (hg : MeasurableSet good) {w ε : ℝ} (hw : w ≤ μ.real stratum) (hε : μ.real goodᶜ ≤ ε) (hsub : stratum ∩ good ⊆ group) :
w - ε ≤ μ.real group

The optional stratum form of FR8's preparation normalization. Good histories in the stratum have the observed category; errors are charged before conditioning and never silently discarded after grouping.