MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch17.RecordMeans

theorem MindFormal.MessageRecords.bounded_record_error {Ω : Type u_1} [MeasurableSpace Ω] (μ : MeasureTheory.Measure Ω) [MeasureTheory.IsProbabilityMeasure μ] (x r : Ω → ℝ) (hx : MeasureTheory.Integrable x μ) (hr : MeasureTheory.Integrable r μ) {R e : ℝ} (hR : 0 ≤ R) (range : ∀ (z : Ω), x z ∈ Set.Icc 0 R ∧ r z ∈ Set.Icc 0 R) (good : Set Ω) (hgood : MeasurableSet good) (mass : 1 - e ≤ μ.real good) (same : ∀ z ∈ good, x z = r z) :
|∫ (z : Ω), x z ∂μ - ∫ (z : Ω), r z ∂μ| ≤ R * e

A complete finite-range record includes its absence marker. Agreement on a derived event pays the range times its full failure mass.

theorem MindFormal.MessageRecords.native_number_integrable {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] (E : StateExperiment Ω N n T Λ J) (H : NNReal) (k : ℕ) (number : Fin N ⊕ Unit → ℝ) :
MeasureTheory.Integrable (fun (z : Ω) => number (E.supportRecord H false k z).2) E.ground.μ

Native finite-menu numbers are bounded measurable reads of the original slot; the absence value remains explicit, so neither completion nor a conditional expectation is supplied.

theorem MindFormal.MessageRecords.paired_mean_direction {x₀ x₁ r₀ r₁ e₀ e₁ R : ℝ} (h₀ : |x₀ - r₀| ≤ R * e₀) (h₁ : |x₁ - r₁| ≤ R * e₁) (margin : R * (e₀ + e₁) < r₁ - r₀) :
x₀ < x₁

A strict reference difference survives exactly the complete two-arm range bill. The inputs may be dependent and include unmatched failures.

theorem MindFormal.MessageRecords.profile_gap {Ω : Type u_1} [MeasurableSpace Ω] (μ : MeasureTheory.Measure Ω) [MeasureTheory.IsProbabilityMeasure μ] (f g : Ω → ℝ) (hf : MeasureTheory.Integrable f μ) (hg : MeasureTheory.Integrable g μ) (P : Set Ω) (hP : MeasurableSet P) (δ : ℝ) (ordered : ∀ (z : Ω), f z ≤ g z) (onProfile : ∀ z ∈ P, δ ≤ g z - f z) :
δ * μ.real P ≤ ∫ (z : Ω), g z ∂μ - ∫ (z : Ω), f z ∂μ

A primitive preparation region with a proved menu displacement supplies the reference mean gap. No mass of native or reference crossings is assumed.