Documentation

MIPRE.Background.Repetition.CommutingRepetition.Prerounding.CoinLaw

A common denominator for a rational payoff table #

theorem CommutingRepetition.Game.exists_common_denominator {X Y A B : Type} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] (G : Game X Y A B) (hQ : ∀ (x : X) (y : Y) (a : A) (b : B), ∃ (r : ), G.payoff x y a b = r) :
∃ (den : ) (num : XYAB), 0 < den (∀ (x : X) (y : Y) (a : A) (b : B), G.payoff x y a b = (num x y a b) / den) ∀ (x : X) (y : Y) (a : A) (b : B), num x y a b den

A rational [0,1]-payoff table has a common denominator: V = num/den with num ≤ den.

The private-coin probability space #

@[reducible, inline]
abbrev CommutingRepetition.CoinSpace (n den : ) (X Y A B : Type) :

Questions, answers, and one private coin per coordinate.

Equations
Instances For
    theorem CommutingRepetition.TracialStrategy.correlation_sum' {X Y A B : Type} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] {n : } (Trep : TracialStrategy (Fin nX) (Fin nY) (Fin nA) (Fin nB)) (xw : Fin nX) (yw : Fin nY) :
    as : Fin nA, bs : Fin nB, Trep.correlation xw yw as bs = 1

    The tracial correlation sums to one over the answer words.

    noncomputable def CommutingRepetition.coinWeight {X Y A B : Type} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] (G : Game X Y A B) {n : } (Trep : TracialStrategy (Fin nX) (Fin nY) (Fin nA) (Fin nB)) (den : ) (ω : CoinSpace n den X Y A B) :

    The private-coin weight: product prior, strategy correlation, uniform coins.

    Equations
    Instances For
      theorem CommutingRepetition.coinWeight_nonneg {X Y A B : Type} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] (G : Game X Y A B) {n : } (Trep : TracialStrategy (Fin nX) (Fin nY) (Fin nA) (Fin nB)) (den : ) (ω : CoinSpace n den X Y A B) :
      0 coinWeight G Trep den ω
      theorem CommutingRepetition.sum_coinSpace {X Y A B : Type} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] {n : } (den : ) (f : CoinSpace n den X Y A B) :
      ω : CoinSpace n den X Y A B, f ω = xw : Fin nX, yw : Fin nY, as : Fin nA, bs : Fin nB, c : Fin nFin den, f (xw, yw, as, bs, c)

      Sums over the coin space, unfolded.

      theorem CommutingRepetition.sum_coin_uniform {n : } (den : ) (hden : 0 < den) :
      _c : Fin nFin den, (1 / den) ^ n = 1
      theorem CommutingRepetition.coinWeight_sum {X Y A B : Type} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] (G : Game X Y A B) {n : } (Trep : TracialStrategy (Fin nX) (Fin nY) (Fin nA) (Fin nB)) (den : ) (hden : 0 < den) :
      ω : CoinSpace n den X Y A B, coinWeight G Trep den ω = 1
      noncomputable def CommutingRepetition.coinLaw {X Y A B : Type} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] (G : Game X Y A B) {n : } (Trep : TracialStrategy (Fin nX) (Fin nY) (Fin nA) (Fin nB)) (den : ) (hden : 0 < den) :
      FiniteEventLaw (CoinSpace n den X Y A B)

      The private-coin law.

      Equations
      Instances For
        def CommutingRepetition.coinWins {X Y A B : Type} {n : } (den : ) (num : XYAB) (i : Fin n) (ω : CoinSpace n den X Y A B) :

        Coordinate i accepts when its coin falls below the payoff numerator.

        Equations
        Instances For
          theorem CommutingRepetition.sum_coin_accept (den k : ) (hk : k den) :
          (∑ v : Fin den, if v < k then 1 else 0) = k

          The number of coin values accepting at threshold k ≤ den.

          theorem CommutingRepetition.coinLaw_eventMass {X Y A B : Type} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] (G : Game X Y A B) {n : } (Trep : TracialStrategy (Fin nX) (Fin nY) (Fin nA) (Fin nB)) (den : ) (hden : 0 < den) (num : XYAB) (hnum : ∀ (x : X) (y : Y) (a : A) (b : B), num x y a b den) (S : Finset (Fin n)) :
          (coinLaw G Trep den hden).eventMass (FiniteEventLaw.winEvent (coinWins den num) S) = xw : Fin nX, yw : Fin nY, as : Fin nA, bs : Fin nB, (∏ j : Fin n, G.questionWeight (xw j) (yw j)) * Trep.correlation xw yw as bs * jS, (num (xw j) (yw j) (as j) (bs j)) / den

          Integrating out the coins: the mass of the acceptance event on a set of coordinates is the coin-free weighted sum.

          theorem CommutingRepetition.coinLaw_eventMass_univ {X Y A B : Type} [Fintype X] [Fintype Y] [Fintype A] [Fintype B] (G : Game X Y A B) {n : } (Trep : TracialStrategy (Fin nX) (Fin nY) (Fin nA) (Fin nB)) (den : ) (hden : 0 < den) (num : XYAB) (hnum : ∀ (x : X) (y : Y) (a : A) (b : B), num x y a b den) (hV : ∀ (x : X) (y : Y) (a : A) (b : B), G.payoff x y a b = (num x y a b) / den) :

          The all-coordinates acceptance mass is the repeated win probability.