MindFormal v1.0.0One Mind

MindFormal.Tools.A760RecallComparison.CondBracket

Conditional probabilities of events given a sub-σ-algebra, and the bracket they satisfy when a lower event forces a read and the read forces an upper event on a common enclosure. The bracket is a conditional statement: it charges the enclosure's conditional failure, never conditions on the enclosure, and integrates to the unconditional bracket.

noncomputable def MindFormal.A760RecallComparison.condProb {Ω : Type u_1} {mΩ : MeasurableSpace Ω} (m : MeasurableSpace Ω) (μ : MeasureTheory.Measure Ω) (s : Set Ω) :
Ω → ℝ

The conditional probability of the event s given the information m.

Equations
Instances For
    theorem MindFormal.A760RecallComparison.condProb_nonneg {Ω : Type u_1} {m mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} (s : Set Ω) :
    0 ≤ᵐ[μ] condProb m μ s
    theorem MindFormal.A760RecallComparison.condProb_le_one {Ω : Type u_1} {m mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsFiniteMeasure μ] (hm : m ≤ mΩ) {s : Set Ω} (hs : MeasurableSet s) :
    condProb m μ s ≤ᵐ[μ] fun (x : Ω) => 1
    theorem MindFormal.A760RecallComparison.condProb_le_add {Ω : Type u_1} {m mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsFiniteMeasure μ] {s t u : Set Ω} (hs : MeasurableSet s) (ht : MeasurableSet t) (hu : MeasurableSet u) (h : ∀ᵐ (ω : Ω) ∂μ, ω ∈ s → ω ∈ t ∨ ω ∈ u) :
    condProb m μ s ≤ᵐ[μ] condProb m μ t + condProb m μ u
    theorem MindFormal.A760RecallComparison.condProb_mono {Ω : Type u_1} {m mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsFiniteMeasure μ] {s t : Set Ω} (hs : MeasurableSet s) (ht : MeasurableSet t) (h : ∀ᵐ (ω : Ω) ∂μ, ω ∈ s → ω ∈ t) :
    condProb m μ s ≤ᵐ[μ] condProb m μ t
    theorem MindFormal.A760RecallComparison.condProb_bracket {Ω : Type u_1} {m mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsFiniteMeasure μ] (hm : m ≤ mΩ) {P L U G : Set Ω} (hP : MeasurableSet P) (hL : MeasurableSet L) (hU : MeasurableSet U) (hG : MeasurableSet G) (hLP : ∀ᵐ (ω : Ω) ∂μ, ω ∈ L → ω ∈ G → ω ∈ P) (hPU : ∀ᵐ (ω : Ω) ∂μ, ω ∈ P → ω ∈ G → ω ∈ U) {ε : Ω → ℝ} (hε : condProb m μ Gᶜ ≤ᵐ[μ] ε) :
    ∀ᵐ (ω : Ω) ∂μ, max 0 (condProb m μ L ω - ε ω) ≤ condProb m μ P ω ∧ condProb m μ P ω ≤ min 1 (condProb m μ U ω + ε ω)

    The conditional bracket. The lower event, on the enclosure, forces the read; the read, on the enclosure, forces the upper event. Then the read's conditional probability is at least the lower event's minus the enclosure's conditional failure, at least zero, at most the upper event's plus that failure, and at most one.

    theorem MindFormal.A760RecallComparison.integral_condProb {Ω : Type u_1} {m mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsFiniteMeasure μ] (hm : m ≤ mΩ) {s : Set Ω} (hs : MeasurableSet s) :
    ∫ (ω : Ω), condProb m μ s ω ∂μ = μ.real s

    Averaging a conditional probability recovers the probability.

    theorem MindFormal.A760RecallComparison.condProb_le_of_restrict {Ω : Type u_1} {m mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsFiniteMeasure μ] (hm : m ≤ mΩ) {s : Set Ω} (hs : MeasurableSet s) {c : ℝ} (h : ∀ (A : Set Ω), MeasurableSet A → μ.real (A ∩ s) ≤ c * μ.real A) :
    condProb m μ s ≤ᵐ[μ] fun (x : Ω) => c

    A conditional tail bound from its restriction to the information's events.

    theorem MindFormal.A760RecallComparison.real_le_of_condProb_le {Ω : Type u_1} {m mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsFiniteMeasure μ] (hm : m ≤ mΩ) {s : Set Ω} (hs : MeasurableSet s) {f : Ω → ℝ} (hf : MeasureTheory.Integrable f μ) (h : condProb m μ s ≤ᵐ[μ] f) :
    μ.real s ≤ ∫ (ω : Ω), f ω ∂μ

    The almost-sure conditional bound passes to the probability of the event.

    theorem MindFormal.A760RecallComparison.le_real_of_le_condProb {Ω : Type u_1} {m mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsFiniteMeasure μ] (hm : m ≤ mΩ) {s : Set Ω} (hs : MeasurableSet s) {f : Ω → ℝ} (hf : MeasureTheory.Integrable f μ) (h : f ≤ᵐ[μ] condProb m μ s) :
    ∫ (ω : Ω), f ω ∂μ ≤ μ.real s
    theorem MindFormal.A760RecallComparison.condProb_compl {Ω : Type u_1} {m mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsFiniteMeasure μ] (hm : m ≤ mΩ) {s : Set Ω} (hs : MeasurableSet s) :
    condProb m μ sᶜ =ᵐ[μ] fun (ω : Ω) => 1 - condProb m μ s ω

    The conditional probability of the complement.