Documentation

CslibFrontier.Crypto.Game.Mixture

Expected advantage of two-stage games #

Game.advantage_bind_le and Game.advantage_bind_le_of_support bound the advantage between two games with a common first stage by a uniform bound on the advantages of the second stages. This module gives the bound by the expectation of these advantages over the first stage, as an extended non-negative real, and the resulting step of a hybrid argument for two-stage games whose first stages differ as well.

Main results #

theorem Cslib.Crypto.Game.coe_advantage_bind_le_tsum {α : Type u_1} (d : PMF α) (game1 game2 : α → Game) :
↑(advantage (d.bind game1) (d.bind game2)) ≤ ∑' (a : α), d a * ↑((game1 a).advantage (game2 a))

Expected advantage. The advantage between two games with a common first stage d is at most the expectation over d of the advantage between the second stages.

theorem Cslib.Crypto.Game.coe_advantage_bind_bind_le {α : Type u_1} (p q : PMF α) (game1 game2 : α → Game) :
↑(advantage (p.bind game1) (q.bind game2)) ≤ ↑(advantage (p.bind game1) (q.bind game1)) + ∑' (a : α), q a * ↑((game1 a).advantage (game2 a))

One step of a hybrid argument for two-stage games. Replacing the first stage p by q and the second stage game1 by game2 costs at most the advantage of replacing the first stage in front of game1, plus the expectation over q of the advantage between the second stages.