MindFormal v1.0.0One Mind

MindFormal.Tools.FiniteDecisionTests

A finite distribution, with omissions included as labels when scored.

Equations
Instances For
    def MindFormal.FiniteDecision.mean {A : Type u_1} [Fintype A] (p u : A → ℝ) :
    Equations
    Instances For
      theorem MindFormal.FiniteDecision.bestReply_iff {A : Type u_1} [Fintype A] (p u : A → ℝ) :
      BestReply p u ↔ ∀ (a : A), u a ≤ mean p u

      Testing every pure deviation is equivalent to testing every mixed deviation. This is the payoff test; product play and an actual payoff calibration remain separate obligations in a game application.

      theorem MindFormal.FiniteDecision.zero_regret_iff {A : Type u_1} [Fintype A] [Nonempty A] (p u : A → ℝ) (hp : Probability p) :
      Finset.univ.sup' ⋯ u - mean p u = 0 ↔ BestReply p u

      OM2.2: zero payoff regret is exactly the complete best-response test.

      theorem MindFormal.FiniteDecision.contrasts_iff_offset {A : Type u_1} [Nonempty A] (u v : A → ℝ) :
      (∀ (a b : A), u a - u b = v a - v b) ↔ ∃ (c : ℝ), ∀ (a : A), u a = v a + c

      Calibrating all payoff contrasts is equivalent to a common offset; absolute value levels need not match.

      theorem MindFormal.FiniteDecision.obedience_iff {A : Type u_1} [Fintype A] (gain : A → A → ℝ) (hdiag : ∀ (a : A), gain a a = 0) :
      (∀ (a b : A), 0 ≤ gain a b) ↔ ∀ (f : A → A), 0 ≤ ∑ a : A, gain a (f a)

      OM2.6: one-recommendation replacements suffice for every deterministic signal-dependent deviation, and are necessary. The diagonal gains are zero. The entries can be the unnormalized expectations from a dependent joint law.

      theorem MindFormal.FiniteDecision.randomized_obedience {A : Type u_1} [Fintype A] (gain : A → A → ℝ) (hg : ∀ (a b : A), 0 ≤ gain a b) (q : A → A → ℝ) (hq : ∀ (a b : A), 0 ≤ q a b) :
      0 ≤ ∑ a : A, ∑ b : A, q a b * gain a b

      Randomized deviations are convex combinations at each actual signal.

      theorem MindFormal.FiniteDecision.feedback_fiber {V : Type u_2} {W : Type u_3} [AddCommGroup V] [Module ℝ V] [AddCommGroup W] [Module ℝ W] (L : V →ₗ[ℝ] W) (b t : V) :
      L b = L t ↔ b - t ∈ L.ker

      OM2.5: feedback equality retains exactly the declared linear channel's kernel fiber. This says nothing about unobserved off-path optimality.