Model-generic public-coin randomized cost, minimax duality, and amplification #
Many concrete models of randomized computation — two-party communication protocols,
number-on-forehead multiparty protocols, randomized decision trees, and coin-fixed cell-probe
schemes — share the same relationship between deterministic strategies, public-coin mixtures,
input distributions, and repetition. A deterministic model is given by an evaluation map
eval : M → X → Z and a worst-case natural-number cost cost : M → ℕ (Cslib.RandomizedCost).
This module provides that model-independent library infrastructure once (background: [Yao1977, vonNeumann1928]):
- Public-coin and distributional complexity (
PMF): drawing a strategy fromμ : PMF Mgives worst-case support costPMF.maxCost C.cost μ, per-input failure probabilityC.errorProb, promise correctnessC.Solves, and least costC.ecomplexityinℕ∞, paired with deterministicC.detComplexityand distributionalC.distributionalComplexity. Averaging gives the easy direction on arbitrary promise sets (Solves.exists_distributionalError_le,distributionalComplexity_le_ecomplexity), and finite-game minimax duality gives the converse on finite promise sets (ecomplexity_le_of_forall_distributionalComplexity_le,ecomplexity_eq_iSup_distributionalComplexity). - Majority error amplification: when strategies for a Boolean function can be sequenced via
runAllwith additive cost, taking the strict majority of2 rindependent draws reduces errorε ≤ 1 / 2to(4 ε (1 - ε)) ^ rat2 rtimes the cost (Solves.amplify,ecomplexity_le_two_mul_mul). - Finitely supported mixtures (
StdSimplex):C.simplexComplexityandC.simplexDistributionalComplexitypackageℕ-valued worst-case complexity overConvexity.StdSimplextogether with attainment and minimax equality (simplexComplexity_eq_iSup_simplexDistributionalComplexity,exists_simplexDistributionalComplexity_eq_simplexComplexity). - Zero-error coin-fixing expectation: when a randomized execution on input
xdecomposes asμ.bind fun m => PMF.pure (evalOut m x, costAt m x), expected cost equals theμ-average ofcostAt · x(tsum_snd_eq_of_bind_pure) and some deterministicm ∈ μ.supportpreserves zero-error correctness acrossAwhile matching expected cost under any input distribution (exists_mem_support_of_coinFixing,exists_mem_support_tsum_mul_le_of_coinFixing).
Main definitions #
Cslib.RandomizedCost: deterministic evaluationeval : M → X → Zpaired with worst-case costcost : M → ℕ.Cslib.RandomizedCost.DetSolves,Cslib.RandomizedCost.detComplexity: deterministic promise correctness and least cost inℕ∞.Cslib.RandomizedCost.distributionalError,Cslib.RandomizedCost.distributionalComplexity: distributional error and least cost underν : PMF X.Cslib.RandomizedCost.errorProb,Cslib.RandomizedCost.Solves,Cslib.RandomizedCost.ecomplexity,Cslib.RandomizedCost.ecomplexityFun: public-coin error, promise correctness, and complexity inℕ∞.Cslib.RandomizedCost.amplify: strict majority of2 rindependent draws combined byrunAll.Cslib.RandomizedCost.simplexComplexity,Cslib.RandomizedCost.simplexDistributionalComplexity:ℕ-valued randomized and distributional complexity overConvexity.StdSimplex.
Main results #
Cslib.RandomizedCost.ecomplexity_le_detComplexity,Cslib.RandomizedCost.ecomplexity_comap_le: deterministic embedding and simulation monotonicity.Cslib.RandomizedCost.Solves.exists_distributionalError_le,Cslib.RandomizedCost.distributionalComplexity_le_ecomplexity: averaging lower-bound direction.Cslib.RandomizedCost.ecomplexity_le_of_forall_distributionalComplexity_le,Cslib.RandomizedCost.ecomplexity_eq_iSup_distributionalComplexity,Cslib.RandomizedCost.ecomplexityFun_eq_iSup_distributionalComplexity: minimax converse and supremum equality onPMF.Cslib.RandomizedCost.Solves.amplify,Cslib.RandomizedCost.ecomplexity_le_two_mul_mul,Cslib.RandomizedCost.ecomplexityFun_le_two_mul_mul_one_third: majority error amplification.Cslib.RandomizedCost.simplexDistributionalComplexity_le_simplexComplexity,Cslib.RandomizedCost.simplexComplexity_eq_iSup_simplexDistributionalComplexity,Cslib.RandomizedCost.exists_simplexDistributionalComplexity_eq_simplexComplexity: minimax duality onConvexity.StdSimplex.Cslib.RandomizedCost.tsum_snd_eq_of_bind_pure,Cslib.RandomizedCost.exists_mem_support_of_coinFixing,Cslib.RandomizedCost.exists_mem_support_tsum_mul_le_of_coinFixing: coin-fixed expected cost and zero-error averaging.
References #
Deterministic strategy m solves R on promise set A.
Instances For
Least cost in ℕ∞ of a deterministic strategy solving R on A, or ⊤ if none exists.
Instances For
Probability that deterministic strategy m errs against R on an input drawn from ν.
Instances For
Least cost in ℕ∞ of a deterministic strategy erring with probability at most ε under ν.
Instances For
Probability that a strategy drawn from μ errs against R on input x.
Instances For
Least worst-case support cost in ℕ∞ of a public-coin mixture solving R on A with error
ε, or ⊤ if none exists.
Instances For
Public-coin complexity of computing a total function f : X → Z with error ε.
Instances For
A deterministic strategy solving R on A solves it as a point-mass mixture with any
nonnegative error budget.
Allowing larger error cannot increase public-coin complexity.
Restricting the promise set cannot increase public-coin complexity.
Public-coin mixtures with nonnegative error are at least as cheap as deterministic strategies.
Translating strategies along φ : M' → M and inputs along g : X → X' without increasing
cost bounds public-coin complexity under C by that under C'.
Averaging lower-bound step: if μ solves R on A with error ε, then for every input
distribution ν supported on A some strategy in μ.support has distributional error at most ε
under ν.
Under every input distribution ν supported on A, distributional complexity is at most
public-coin complexity on A.
Minimax converse on a finite promise set A: if at least one strategy has cost at most c and
every input distribution supported on A admits a deterministic strategy of cost at most c and
error at most ε, then C.ecomplexity ε R A ≤ c.
Budget-c minimax equivalence on a finite promise set A: when a strategy of cost at most c
exists, public-coin complexity is at most c iff distributional complexity is at most c under
every distribution supported on A.
Minimax supremum characterization on a finite promise set A: when a zero-cost strategy exists,
public-coin complexity equals the supremum of distributional complexities over input distributions
supported on A.
Minimax supremum characterization for computing a total function f : X → Z on a finite input
type.
Majority error amplification for Boolean strategies #
Sequencing 2 r draws of cost at most c has support cost at most 2 r c.
Strict-majority error reduction: if μ computes f on A with error ε ≤ 1 / 2, then the
strict majority of 2 r independent runs computes f on A with error (4 ε (1 - ε)) ^ r.
Public-coin cost bound under majority repetition on A: reducing error ε ≤ 1 / 2 to
(4 ε (1 - ε)) ^ r multiplies complexity by at most 2 r.
Public-coin cost bound under majority repetition for a total Boolean function f : X → Bool.
Specialization of ecomplexityFun_le_two_mul_mul from error 1 / 3 to (8 / 9) ^ r in 2 r
runs.
Finitely supported mixtures (StdSimplex) and ℕ-valued Yao minimax #
Least worst-case support cost in ℕ of a finitely supported mixture (StdSimplex ℝ M)
solving R on all inputs with nonnegative error budget ε.
Instances For
Least cost in ℕ of a deterministic strategy erring with probability at most ε under a
finitely supported input distribution ν : StdSimplex ℝ X.
Instances For
When some deterministic strategy solves R everywhere, simplexComplexity is attained.
When some deterministic strategy solves R everywhere, simplexDistributionalComplexity is
attained.
Averaging lower bound on StdSimplex: distributional complexity under any ν is at most
randomized complexity.
Budget-d minimax equivalence on StdSimplex over a finite nonempty input space.
Minimax supremum characterization on StdSimplex: randomized complexity equals the supremum of
distributional complexities over input distributions.
Attainment of a hardest input distribution on StdSimplex.
Coin-fixed zero-error expected cost and Yao averaging #
When a joint (output, cost) law run is a mixture μ.bind fun m => PMF.pure (out m, c m)
of deterministic outcomes, its expected cost is the μ-average of c.
Every strategy in the support of a coin-fixing law μ inherits any zero-error output property
Good satisfied across the supported outputs of run x.
Coin-fixing averaging for zero-error computations: if run x decomposes through a coin law
μ on A and on ν.support, and every supported output on A satisfies Good x, then some
deterministic m ∈ μ.support satisfies Good x (evalOut m x) for all x ∈ A and has ν-expected
cost at most the ν-expected cost of run.
Uniform-budget specialization of exists_mem_support_of_coinFixing: when expected cost on
every x ∈ ν.support is at most ε, some m ∈ μ.support preserves Good on A and has
ν-expected cost at most ε.