MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch12.LeadConfidence.CompletedLaw

theorem MindFormal.LeadConfidence.completed_residual_mean {Ω : Type u_1} [MeasurableSpace Ω] (μ : MeasureTheory.Measure Ω) [MeasureTheory.IsProbabilityMeasure μ] (D C : Set Ω) (hC : MeasurableSet C) (Q : Ω → ℝ) (hi : MeasureTheory.IntegrableOn Q D μ) :
∫ (ω : Ω), Q ω - C.indicator (fun (x : Ω) => 1) ω ∂μ[|D] = (∫ (ω : Ω) in D, Q ω ∂μ) / μ.real D - μ.real (D ∩ C) / μ.real D

The report residual's mean on the completed law is exactly the conditional confidence minus conditional correct-first probability.

theorem MindFormal.LeadConfidence.completed_binary_readings {Ω : Type u_1} [MeasurableSpace Ω] (μ : MeasureTheory.Measure Ω) [MeasureTheory.IsProbabilityMeasure μ] (D C : Set Ω) (hD : MeasurableSet D) (hC : MeasurableSet C) (Q : Ω → ℝ) (hi : MeasureTheory.IntegrableOn Q D μ) :
(∫ (ω : Ω) in D, Q ω ∂μ) / μ.real D - μ.real (D ∩ C) / μ.real D = μ.real (D ∩ Cᶜ) / μ.real D - (∫ (ω : Ω) in D, 1 - Q ω ∂μ) / μ.real D

Both item overestimation and excess concentration on the chosen binary answer are the same completed-report statistic, including its denominator.

theorem MindFormal.LeadConfidence.completed_calibration {Ω : Type u_1} [mΩ : MeasurableSpace Ω] (μ : MeasureTheory.Measure Ω) [MeasureTheory.IsProbabilityMeasure μ] (D : Set Ω) (hpos : μ D ≠ 0) (Q : Ω → ℝ) (hQ : Measurable Q) (hi : MeasureTheory.Integrable Q μ[|D]) (C : Set Ω) (hC : MeasurableSet C) :
μ[|D][C.indicator fun (x : Ω) => 1 | MeasurableSpace.comap Q inferInstance] =ᵐ[μ[|D]] Q ↔ ∀ (I : Set Ω), MeasurableSet I → 0 < μ[|D].real I → (∫ (ω : Ω) in I, Q ω ∂μ[|D]) / μ[|D].real I - μ[|D].real (I ∩ C) / μ[|D].real I = 0

On the original completion law, calibration is exactly OC1.11. The registered sampling rule supplies the law, but cannot supply this equality.