MindFormal v1.0.0One Mind

MindFormal.Tools.A695LogicPaper.DrawCoupling

Independence of the comparison from the complete entering information gives its distribution on every event known at entry.

theorem MindFormal.A695LogicPaper.PrivatePaper.conditional_fair {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} {past : MeasurableSpace Ω} {Z : Ω → ℝ} {v : NNReal} (hZ : ProbabilityTheory.HasLaw Z (ProbabilityTheory.gaussianReal 0 v) μ) (hv : v ≠ 0) (hi : ProbabilityTheory.Indep (MeasurableSpace.comap Z inferInstance) past μ) {A : Set Ω} (hA : MeasurableSet A) :
μ.real (A ∩ {ω : Ω | 0 < Z ω}) = 1 / 2 * μ.real A
theorem MindFormal.A695LogicPaper.PrivatePaper.conditional_joint_failure {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] {past : MeasurableSpace Ω} {Z : Ω → ℝ} {v : NNReal} (hZ : ProbabilityTheory.HasLaw Z (ProbabilityTheory.gaussianReal 0 v) μ) (hv : v ≠ 0) (hi : ProbabilityTheory.Indep (MeasurableSpace.comap Z inferInstance) past μ) (good : Set Ω) (E : Ω → ℝ) (bit : Ω → Bool) {b p : ℝ} (hb : 0 ≤ b) (error : ∀ ω ∈ good, |E ω| ≤ b) (native : ∀ ω ∈ good, bit ω = decide (0 < Z ω + E ω)) {A : Set Ω} (hA : MeasurableSet A) (hbad : μ.real (A ∩ goodᶜ) ≤ p * μ.real A) :
μ.real (A ∩ {ω : Ω | bit ω ≠ decide (0 < Z ω) ∨ ω ∉ good}) ≤ min 1 (p + 2 * b / √(2 * Real.pi * ↑v)) * μ.real A

The joint failure includes disagreement of the actual written bit and failure of the entire exit certificate. The error can depend on the same innovations as the comparison; its independence is never used.