MindFormal v1.0.0One Mind

MindFormal.Tools.A641Practice.BernoulliRisk

theorem MindFormal.A641Practice.bit_bound {x : ℝ} (h : x = 0 ∨ x = 1) :
|x| ≤ 1
theorem MindFormal.A641Practice.bit_square {x : ℝ} (h : x = 0 ∨ x = 1) :
x ^ 2 = x
theorem MindFormal.A641Practice.bernoulli_channel_risk {Ω : Type u_1} {ι : Type u_2} [m₀ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] [Fintype ι] {s r : ι → MeasurableSpace Ω} (hs : ∀ (i : ι), s i ≤ m₀) (hr : ∀ (i : ι), r i ≤ s i) (hind : ProbabilityTheory.iIndep s μ) (X : ι → Ω → ℝ) (hX : ∀ (i : ι), MeasureTheory.StronglyMeasurable (X i)) (hbit : ∀ (i : ι) (ω : Ω), X i ω = 0 ∨ X i ω = 1) (π : ℝ) (hmean : ∀ (i : ι), ∫ (ω : Ω), X i ω ∂μ = π) (Y : ↥(MeasureTheory.Lp ℝ 2 μ)) (hY : ↑↑Y =ᵐ[μ] fun (ω : Ω) => ∏ i : ι, X i ω) :
informationRisk ⋯ Y = π ^ Fintype.card ι - ∏ i : ι, (π - channelVariance ⟨r i, ⋯⟩ (X i))
@[reducible, inline]
abbrev MindFormal.A641Practice.exactBitRecord {Ω : Type u_1} {ι : Type u_2} [DecidableEq ι] (s : ι → MeasurableSpace Ω) (observed : Finset ι) (i : ι) :

An exact record of the listed factors; unlisted factors supply no record.

Equations
Instances For
    theorem MindFormal.A641Practice.product_observed {ι : Type u_2} [Fintype ι] [DecidableEq ι] (observed : Finset ι) (π : ℝ) :
    (∏ i : ι, if i ∈ observed then π else π ^ 2) = π ^ Fintype.card ι * π ^ (Fintype.card ι - observed.card)
    theorem MindFormal.A641Practice.exact_factor_risk {Ω : Type u_1} {ι : Type u_2} [m₀ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] [Fintype ι] [DecidableEq ι] {s : ι → MeasurableSpace Ω} (hs : ∀ (i : ι), s i ≤ m₀) (hind : ProbabilityTheory.iIndep s μ) (X : ι → Ω → ℝ) (hX : ∀ (i : ι), MeasureTheory.StronglyMeasurable (X i)) (hbit : ∀ (i : ι) (ω : Ω), X i ω = 0 ∨ X i ω = 1) (π : ℝ) (hπ : π ∈ Set.Icc 0 1) (hmean : ∀ (i : ι), ∫ (ω : Ω), X i ω ∂μ = π) (observed : Finset ι) (Y : ↥(MeasureTheory.Lp ℝ 2 μ)) (hY : ↑↑Y =ᵐ[μ] fun (ω : Ω) => ∏ i : ι, X i ω) :
    informationRisk ⋯ Y = π ^ Fintype.card ι * (1 - π ^ (Fintype.card ι - observed.card))

    Exact-factor posterior and information error. Independence concerns the whole factor sigma-algebras, so no independence of errors after conditioning on a successful read is asserted.

    theorem MindFormal.A641Practice.information_risk_mono {Ω : Type u_1} [m₀ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} {m₁ m₂ : MeasurableSpace Ω} (h₁ : m₁ ≤ m₀) (h₂ : m₂ ≤ m₀) (hle : m₁ ≤ m₂) (Y : ↥(MeasureTheory.Lp ℝ 2 μ)) :

    Losing information by passing to a function of the available record cannot reduce the optimal squared error. Independent private randomization may be included in that available record.