19.29.38 tools: a binary read's squared risk against a binary target, from an event of
probability at least 1 − 1/128: at most 1/128 when the read is right on the event, at least
m − 1/128 when it is wrong on the event's part of a set of mass m.
noncomputable def
MindFormal.A705SharedDescriptions.pairRisk
{Ω : Type u_1}
[mΩ : MeasurableSpace Ω]
(μ : MeasureTheory.Measure Ω)
(Z R : Ω → ℝ)
:
A pair mind's squared risk: its read R against the target Z.
Instances For
theorem
MindFormal.A705SharedDescriptions.risk_le_of_event
{Ω : Type u_1}
[mΩ : MeasurableSpace Ω]
{μ : MeasureTheory.Measure Ω}
[MeasureTheory.IsProbabilityMeasure μ]
{R Z : Ω → ℝ}
(hR : Measurable R)
(hZ : Measurable Z)
(hR01 : ∀ (ω : Ω), R ω = 0 ∨ R ω = 1)
(hZ01 : ∀ (ω : Ω), Z ω = 0 ∨ Z ω = 1)
{good : Set Ω}
(hgm : MeasurableSet good)
(hmass : 1 - 1 / 128 ≤ μ.real good)
(h : ∀ ω ∈ good, R ω = Z ω)
:
theorem
MindFormal.A705SharedDescriptions.risk_ge_of_event
{Ω : Type u_1}
[mΩ : MeasurableSpace Ω]
{μ : MeasureTheory.Measure Ω}
[MeasureTheory.IsProbabilityMeasure μ]
{R Z : Ω → ℝ}
(hR : Measurable R)
(hZ : Measurable Z)
(hR01 : ∀ (ω : Ω), R ω = 0 ∨ R ω = 1)
(hZ01 : ∀ (ω : Ω), Z ω = 0 ∨ Z ω = 1)
{good S : Set Ω}
(hgm : MeasurableSet good)
(hSm : MeasurableSet S)
(hmass : 1 - 1 / 128 ≤ μ.real good)
(h : ∀ ω ∈ good ∩ S, R ω ≠ Z ω)
:
theorem
MindFormal.A705SharedDescriptions.fair_masses
{Ω : Type u_1}
[mΩ : MeasurableSpace Ω]
{μ : MeasureTheory.Measure Ω}
[MeasureTheory.IsProbabilityMeasure μ]
{P Q : Ω → ℝ}
(hX : FairBits μ P Q)
:
Under fair independent bits, PQ = 1, P = 1 ∧ Q = 0, P = 0 ∧ Q = 1 each have mass 1/4
and PQ = 0 has mass 3/4.