MindFormal v1.0.0One Mind

MindFormal.Tools.A695LearningValue.FourLottery

One uniform four-valued input choice, independent of the original noise realization. It changes no coefficient or loading between arms.

Equations
Instances For
    def MindFormal.A695LearningValue.fourEvent {Ω : Type u_1} (A : Fin 4 → Set Ω) :
    Set (Fin 4 × Ω)
    Equations
    Instances For
      theorem MindFormal.A695LearningValue.fourEvent_mem {Ω : Type u_1} (A : Fin 4 → Set Ω) (z : Fin 4 × Ω) :
      z ∈ fourEvent A ↔ z.2 ∈ A z.1
      theorem MindFormal.A695LearningValue.fourEvent_probability {Ω : Type u_1} [MeasurableSpace Ω] (μ : MeasureTheory.Measure Ω) [MeasureTheory.IsProbabilityMeasure μ] (A : Fin 4 → Set Ω) (hm : ∀ (i : Fin 4), MeasurableSet (A i)) :
      (fourLottery μ).real (fourEvent A) = 1 / 4 * ∑ i : Fin 4, μ.real (A i)
      theorem MindFormal.A695LearningValue.four_probability_error {Ω : Type u_1} [MeasurableSpace Ω] (μ : MeasureTheory.Measure Ω) [MeasureTheory.IsProbabilityMeasure μ] (A : Fin 4 → Set Ω) (hm : ∀ (i : Fin 4), MeasurableSet (A i)) (d : Fin 4) {ε : ℝ} (hε : ∀ (i : Fin 4), |μ.real (A i) - if ↑d ≤ ↑i then 1 else 0| ≤ ε) :
      |(fourLottery μ).real (fourEvent A) - (1 - ↑↑d / 4)| ≤ ε