MindFormal v1.0.0One Mind

MindFormal.Tools.A640Standards.HistoryRegret

def MindFormal.A640Standards.choiceMass {Ω : Type u_1} {C : Type u_2} [MeasurableSpace Ω] (μ : MeasureTheory.Measure Ω) (chosen : Ω → C) (c : C) :
Equations
Instances For
    theorem MindFormal.A640Standards.choice_integral {Ω : Type u_1} {C : Type u_2} [MeasurableSpace Ω] [Fintype C] [MeasurableSpace C] [MeasurableSingletonClass C] (μ : MeasureTheory.Measure Ω) [MeasureTheory.IsProbabilityMeasure μ] (chosen : Ω → C) (hm : Measurable chosen) (u : C → ℝ) :
    ∫ (ω : Ω), u (chosen ω) ∂μ = FiniteDecision.mean (choiceMass μ chosen) u
    theorem MindFormal.A640Standards.chosen_integrable {Ω : Type u_1} {C : Type u_2} [MeasurableSpace Ω] [MeasurableSpace C] [MeasurableSingletonClass C] [Finite C] (μ : MeasureTheory.Measure Ω) [MeasureTheory.IsProbabilityMeasure μ] (chosen : Ω → C) (hm : Measurable chosen) (u : C → ℝ) :
    MeasureTheory.Integrable (fun (ω : Ω) => u (chosen ω)) μ
    theorem MindFormal.A640Standards.history_regret {Ω : Type u_1} {C : Type u_2} [MeasurableSpace Ω] [Fintype C] [Nonempty C] [MeasurableSpace C] [MeasurableSingletonClass C] (μ : MeasureTheory.Measure Ω) [MeasureTheory.IsProbabilityMeasure μ] (chosen : Ω → C) (hm : Measurable chosen) (u : C → ℝ) (comparator : Ω → C → ℝ) (good : Set Ω) (hg : MeasurableSet good) {ε γ R δ : ℝ} (hε : 0 ≤ ε) (hγ : 0 ≤ γ) (hR : 0 ≤ R) (failure : μ.real goodᶜ ≤ δ) (range : ∀ (a b : C), u a - u b ≤ R) (optimal : ∀ ω ∈ good, ∀ (d : C), comparator ω d - comparator ω (chosen ω) ≤ ε) (contrasts : ∀ ω ∈ good, ∀ (a b : C), |comparator ω a - comparator ω b - (u a - u b)| ≤ γ) :
    Finset.univ.sup' ⋯ u - FiniteDecision.mean (choiceMass μ chosen) u ≤ ε + γ + R * δ

    The comparator can depend arbitrarily on the complete past. Its contrasts must approximate the same fixed true payoff vector on every successful history. No law or success event is asserted by this lemma.

    theorem MindFormal.A640Standards.conditional_failure {Ω : Type u_1} [MeasurableSpace Ω] (μ : MeasureTheory.Measure Ω) [MeasureTheory.IsProbabilityMeasure μ] (free bad : Set Ω) (hf : MeasurableSet free) {δ : ℝ} (positive : 0 < μ.real free) (failure : μ.real bad ≤ δ) :
    μ[|free].real bad ≤ δ / μ.real free

    Before completion conditioning, the bad mass must be divided by the complete mass. No independence is used.