Bridging Boolean game advantage and all-events statistical closeness #
Cslib.Probability.CloseTo measures total variation distance in ℝ≥0∞ on an arbitrary discrete
type α : Type without Fintype or measurability assumptions, while Cslib.Crypto.Game.advantage
measures the distinguishing advantage in ℝ≥0 between two Boolean experiments (Game = PMF Bool).
This module connects the two interfaces in both directions:
- On
Boolitself,CloseTo game1 game2 εis equivalent to(advantage game1 game2 : ℝ≥0∞) ≤ ε(closeTo_iff_coe_advantage_le,closeTo_iff_advantage_le). - On any
α : Type,CloseTo μ ν εis equivalent to uniformε-bounded advantage under every deterministic Boolean predicatef : α → Bool(closeTo_iff_forall_coe_advantage_map_le,closeTo_iff_forall_advantage_map_le) and under every randomized distinguishertest : α → Game(closeTo_iff_forall_coe_advantage_bind_le,closeTo_iff_forall_advantage_bind_le).
Unlike CslibFrontier.Crypto.Game.Statistical, which identifies Game.advantage with the
finite-PMF
metric nndist, these bridges require no Fintype instance on α and apply directly to word
ensembles PMF (List Bool) and protocol transcripts.
Main results #
Cslib.Crypto.Game.closeTo_iff_coe_advantage_le,Cslib.Crypto.Game.closeTo_iff_advantage_le: statistical closeness of Boolean games is bounded distinguishing advantage.Cslib.Crypto.Game.coe_advantage_map_le_of_closeTo,Cslib.Crypto.Game.advantage_map_le_of_closeTo,Cslib.Crypto.Game.coe_advantage_bind_le_of_closeTo,Cslib.Crypto.Game.advantage_bind_le_of_closeTo: postprocessingCloseToby a deterministic or randomized Boolean distinguisher boundsGame.advantage.Cslib.Crypto.Game.closeTo_advantage_map_decide_lt: the deterministic likelihood test boundsCloseTowithout finiteness ([BS23], Theorem 3.10, p. 83).Cslib.Crypto.Game.closeTo_of_coe_advantage_decide_le,Cslib.Crypto.Game.closeTo_of_advantage_decide_le: indicator-event tests suffice forCloseTo.Cslib.Crypto.Game.closeTo_iff_forall_coe_advantage_map_le,Cslib.Crypto.Game.closeTo_iff_forall_advantage_map_le,Cslib.Crypto.Game.closeTo_iff_forall_coe_advantage_bind_le,Cslib.Crypto.Game.closeTo_iff_forall_advantage_bind_le: variational characterizations ofCloseTovia deterministic and randomized Boolean distinguishers.Cslib.Probability.CloseTo.bind_right_tsum: input-dependent error bounds on mixtures underCloseTo.
References #
- D. Boneh, V. Shoup, A Graduate Course in Applied Cryptography, Section 3.11 (Theorem 3.10, p. 83).
In ℝ≥0∞, the success probability of a game is the probability it assigns to true.
On Boolean experiments, ε-closeness in ℝ≥0∞ is equivalent to (advantage : ℝ≥0∞) ≤ ε.
On Boolean experiments, ε-closeness for ε : ℝ≥0 is equivalent to advantage ≤ ε.
Running any randomized Boolean distinguisher test : α → Game on ε-close distributions has
(advantage : ℝ≥0∞) ≤ ε, without finiteness assumptions on α.
Running any randomized Boolean distinguisher test : α → Game on ε-close distributions has
advantage ≤ ε, without finiteness assumptions on α.
A best test. The deterministic test asking whether a point is more likely under μ than
under ν gives an advantage that bounds the statistical distance ([BS23], Theorem 3.10,
p. 83); with Game.advantage_map_le_of_closeTo, it is the least such bound. No finiteness is
assumed.
A bound in ℝ≥0∞ on the advantage of every indicator test gives CloseTo.
A bound in ℝ≥0 on the advantage of every indicator test gives CloseTo.
Pointwise statistical closeness of continuations on μ.support with input-dependent error
err : α → ℝ≥0∞ bounds the mixture distance by ∑' a, μ a * err a.