MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch18.A641Practice.ChannelRisk

In One Mind, clause 23 of result 18.2: Every piece of a consequence can be in awareness while the consequence isn't · all its clauses in Lean
theorem MindFormal.A641Practice.result_23_9_23_L646 {Ω : 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))

AS6.13 on independent per-factor observation channels, retaining all repeated measurements in their own channel. The Bernoulli factors have the same mean pi and the target is their conjunction. The posterior product is proved from independence; the variances are actual posterior squared errors. This is information error, before any native execution discrepancy.

In One Mind, clause 17 of result 18.2: Every piece of a consequence can be in awareness while the consequence isn't · all its clauses in Lean
theorem MindFormal.A641Practice.result_23_9_17_L646 {Ω : 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 ω) :
let r := exactBitRecord s observed; have hm := ⋯; informationRisk hm Y = π ^ Fintype.card ι * (1 - π ^ (Fintype.card ι - observed.card)) ∧ ∀ (privateRecord : { m : MeasurableSpace Ω // m ≤ ⨆ (i : ι), r i }) (read : ↥(MeasureTheory.Lp ℝ 2 μ)), MeasureTheory.AEStronglyMeasurable (↑↑read) μ → π ^ Fintype.card ι * (1 - π ^ (Fintype.card ι - observed.card)) ≤ recordRisk Y read

AS6.12: exactly R of K independent Bernoulli bits give the displayed optimal squared error. Each independent factor sigma-algebra may also contain independent private noise. Any private record made only from the listed factors and that noise is a subrecord and cannot improve this optimum; every read using only that subrecord pays at least the same risk. An extra informative input must be included in the record and changes this premise.