MindFormal v1.0.0One Mind

MindFormal.Tools.A640Standards.Approximation

theorem MindFormal.A640Standards.strict_gap_choice {C : Type u_1} (chosen best : C) (actual learned : C → ℝ) {ε γ : ℝ} (loss : ∀ (d : C), learned d - learned chosen ≤ ε) (contrast : ∀ (a b : C), |learned a - learned b - (actual a - actual b)| ≤ γ) (gap : ∀ (d : C), d ≠ best → ε + γ < actual best - actual d) :
chosen = best

A strict true gap defeats both the comparison loss and its contrast error on each successful history.

theorem MindFormal.A640Standards.maximum_contrast_bill {D : Type u_1} {S : Type u_2} [Fintype D] [Nonempty D] [Fintype S] (target error : S → ℝ) (U : D → S → ℝ) (route learned : D → ℝ) (pair : ∀ (a b : D), |learned a - learned b - (∑ s : S, target s * U a s - ∑ s : S, target s * U b s)| ≤ ∑ s : S, error s * |U a s - U b s| + |route a - route b|) (a b : D) :
|learned a - learned b - (∑ s : S, target s * U a s - ∑ s : S, target s * U b s)| ≤ (Finset.univ.sup' ⋯ fun (d : D × D) => ∑ s : S, error s * |U d.1 s - U d.2 s|) + Finset.univ.sup' ⋯ fun (d : D × D) => |route d.1 - route d.2|

The two finite maxima price different physical sources of error.

noncomputable def MindFormal.A640Standards.MenuGames.Law.productJoint {A : Type u_1} [Fintype A] {C : A → Type u_2} [(i : A) → Fintype (C i)] (S : Law A C) (s : (i : A) → C i) :
Equations
Instances For
    noncomputable def MindFormal.A640Standards.MenuGames.Law.maxRegret {A : Type u_1} [Fintype A] [Nonempty A] {C : A → Type u_2} [(i : A) → Fintype (C i)] [∀ (i : A), Nonempty (C i)] (S : Law A C) (u : A → ((i : A) → C i) → ℝ) :
    Equations
    Instances For
      def MindFormal.A640Standards.MenuGames.Law.nearNash {A : Type u_1} [Fintype A] {C : A → Type u_2} [(i : A) → Fintype (C i)] (S : Law A C) (u : A → ((i : A) → C i) → ℝ) (h : ℝ) :
      Equations
      Instances For
        noncomputable def MindFormal.A640Standards.MenuGames.Law.regretModulus {A : Type u_1} [Fintype A] [Nonempty A] {C : A → Type u_2} [(i : A) → Fintype (C i)] [∀ (i : A), Nonempty (C i)] (u : A → ((i : A) → C i) → ℝ) (h : ℝ) :

        The game-specific modulus is constructed from that game's complete payoff table and Nash set. Infinity covers an empty outside set.

        Equations
        Instances For
          theorem MindFormal.A640Standards.MenuGames.Law.below_modulus {A : Type u_1} [Fintype A] [Nonempty A] {C : A → Type u_2} [(i : A) → Fintype (C i)] [∀ (i : A), Nonempty (C i)] (S : Law A C) (u : A → ((i : A) → C i) → ℝ) (h : ℝ) (small : ENNReal.ofReal (S.maxRegret u) < regretModulus u h) :
          S.nearNash u h
          theorem MindFormal.A640Standards.MenuGames.Law.distance_bill {A : Type u_1} [Fintype A] [Nonempty A] {C : A → Type u_2} [(i : A) → Fintype (C i)] [∀ (i : A), Nonempty (C i)] (S : Law A C) (u : A → ((i : A) → C i) → ℝ) (raw : ((i : A) → C i) → ℝ) {missing dependence h : ℝ} (hm : MarkError.tv raw S.joint ≤ missing) (hd : MarkError.tv S.joint S.productJoint ≤ dependence) (small : ENNReal.ofReal (S.maxRegret u) < regretModulus u h) :
          ∃ (Q : Law A C), Q.Nash u ∧ MarkError.tv raw Q.joint < missing + dependence + h