MindFormal v1.0.0One Mind

MindFormal.Tools.A630EncounterLaws.GaussianRegret

theorem MindFormal.A630EncounterLaws.fit_contrast {C : Type u_1} [Fintype C] [Nonempty C] (learned actual : C → ℝ) (a b : C) :
actual a - actual b ≤ learned a - learned b + 2 * fit learned actual

The half-range fit controls every payoff contrast, without requiring matching absolute levels.

theorem MindFormal.A630EncounterLaws.subgaussian_regret {C : Type u_1} [Fintype C] [Nonempty C] [LinearOrder C] {Ω : Type u_2} [MeasurableSpace Ω] (μ : MeasureTheory.Measure Ω) [MeasureTheory.IsProbabilityMeasure μ] [MeasurableSpace C] [MeasurableSingletonClass C] (X : C → Ω → ℝ) (hm : ∀ (a : C), Measurable (X a)) {σ : NNReal} (hs : 0 < σ) (sg : ∀ (a : C), ProbabilityTheory.HasSubgaussianMGF (X a) (σ ^ 2) μ) (centered : ∀ (a : C), ∫ (ω : Ω), X a ω ∂μ = 0) (learned actual : C → ℝ) :
upper actual - FiniteDecision.mean (A640Standards.choiceMass μ fun (ω : Ω) => Quantal.winner fun (a : C) => learned a + X a ω) actual ≤ 2 * fit learned actual + ↑σ * √(2 * Real.log ↑(Fintype.card C))

Integrating the maximizing inequality pays two fits and the derived Gaussian maximum price. The winner is constructed from the noisy scores; its optimality and regret bound are not additional inputs.

Independent errors in actual payoff units, with the fixed positive Gaussian scale used by the comparison.

Equations
Instances For
    theorem MindFormal.A630EncounterLaws.gaussian_regret {C : Type u_1} [Fintype C] [Nonempty C] [LinearOrder C] (learned actual : C → ℝ) {σ : NNReal} (hs : 0 < σ) :
    upper actual - FiniteDecision.mean (Quantal.response (gaussianErrors σ) learned) actual ≤ 2 * fit learned actual + ↑σ * √(2 * Real.log ↑(Fintype.card C))

    OM2.3 with the Gaussian law instantiated internally. The singleton menu has zero regret and zero logarithmic term.