MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch02.ProbeDetectionChance

theorem MindFormal.probe_conditional_detection {Ω : Type u_1} [MeasurableSpace Ω] (μ : MeasureTheory.Measure Ω) [MeasureTheory.IsProbabilityMeasure μ] (good correct hit : Set Ω) (hg : MeasurableSet good) (hc : MeasurableSet correct) (hh : MeasurableSet hit) {ε : ℝ} (hε : ε < 1) (hm : 1 - ε ≤ μ.real good) (hcorrect : good ⊆ correct) (later : Bool) (hanswer : ∀ ω ∈ good, ω ∈ hit ↔ later = true) :
1 - ε ≤ μ.real correct ∧ 0 < μ.real correct ∧ μ[|correct].real goodᶜ ≤ ε / (1 - ε) ∧ (later = true → 1 - ε / (1 - ε) ≤ μ[|correct].real hit) ∧ (later = false → μ[|correct].real hit ≤ ε / (1 - ε))

Conditioning on a correct first name charges the same common good event. Neither a new trial nor independence of its two reports is used.

theorem MindFormal.probe_conditional_gap {εL εH qL qH : ℝ} (_hL0 : 0 ≤ εL) (_hH0 : 0 ≤ εH) (hL : εL < 1 / 3) (hH : εH < 1 / 3) (hlo : qL ≤ εL / (1 - εL)) (hhi : 1 - εH / (1 - εH) ≤ qH) :
qL < qH