Statistical Difference #
Statistical Difference SD^{α,β} [SahaiVadhan2003, §3.1 and p. 234] is the promise problem
whose instances are pairs of circuits, each read as a sampler of its output distribution on uniform
inputs (Cslib.Circuits.Circuit.outputDist). An instance is a yes-instance when the statistical
distance between the two output distributions is at least α, and a no-instance when it is at most
β. Sahai and Vadhan define SD in §3.1 with the strict thresholds > 2/3 and < 1/3, and prove
that it is complete for the class SZK of problems with statistical zero-knowledge proofs. The
variant SD^{α,β} with the non-strict thresholds used here is defined on p. 234, where it is noted
to be interreducible with SD whenever 1 > α² > β > 0. This file formalizes the problem and the
Polarization Lemma on instances, not completeness, and not the class SZK.
Instances here are pairs of De Morgan circuits with a common number of inputs and a common number
of outputs (SDInstance). The XOR construction feeds the same data bits to both circuits, so it
needs the common input count. SD^{α,β} is the gap problem PromiseProblem.gapMax of the distance
(StatisticalDifference).
Polarizing an instance runs the circuit polarization construction
Cslib.Circuits.Boolean.polarizeCircuit on both circuits (SDInstance.polarize). Its distance is
the distance of the polarized pair of output distributions (SDInstance.distance_polarize).
Cslib.Probability.PMF.exists_polarization then gives the Polarization Lemma on instances,
for constant thresholds 0 ≤ β < α² ≤ 1 (SDInstance.exists_polarize). With
λ = m (⌊log₂ (k + 1)⌋ + 1) inner coordinates, ℓ = 2 ^ (b (⌊log₂ (k + 1)⌋ + 1)) copies and
k + 1 outer coordinates, where the constants m and b depend only on α and β, it maps
yes-instances of SD^{α,β} to yes-instances of SD^{1 - 2⁻⁽ᵏ⁺¹⁾, 2⁻⁽ᵏ⁺¹⁾} and no-instances to
no-instances, for every k ≥ 1 (StatisticalDifference.exists_mapsTo_polarize).
This is the semantic half of the Sahai–Vadhan polarization reduction. The efficiency half, that
the polarized instance is computable in polynomial time from the encoded instance, with k growing
with the instance length, is in Problems.StatisticalDifference.PolyTime.
Main definitions #
Cslib.Complexity.SDInstance: a pair of circuits with common input and output counts.Cslib.Complexity.SDInstance.distance: the statistical distance between their output distributions.Cslib.Complexity.SDInstance.polarize: the polarization of an instance.Cslib.Complexity.StatisticalDifference: the promise problemSD^{α,β}.
Main results #
Cslib.Complexity.SDInstance.distance_polarize: the distance of the polarized instance is the distance of the polarized pair of output distributions.Cslib.Complexity.SDInstance.exists_polarize: the Polarization Lemma on instances, for constant thresholds0 ≤ β < α² ≤ 1.Cslib.Complexity.StatisticalDifference.exists_mapsTo_polarize: polarization mapsSD^{α,β}intoSD^{1 - 2⁻⁽ᵏ⁺¹⁾, 2⁻⁽ᵏ⁺¹⁾}fork ≥ 1.
References #
An instance of Statistical Difference [SahaiVadhan2003, §3.1]: two De Morgan circuits with the same numbers of inputs and outputs, read as samplers of their output distributions on uniform inputs.
The statistical distance between the output distributions of the two circuits.
The polarization of an instance [SahaiVadhan2003, proof of Lemma 3.3]: polarizeCircuit on
both circuits, with lam + 1 inner coordinates, ell copies and k + 1 outer coordinates.
The distance of the polarized instance is the distance of the polarized pair of output distributions.
Statistical Difference SD^{α,β} [SahaiVadhan2003, §3.1 and p. 234]: the yes-instances are
the pairs of circuits whose output distributions are at statistical distance at least α, and the
no-instances those at distance at most β, when β < α.
The Polarization Lemma on instances [SahaiVadhan2003, Lemma 3.3 and the remark after its
proof], for constant thresholds 0 ≤ β < α² ≤ 1. There are constants m ≥ 1 and b such that,
with λ = m (⌊log₂ (k + 1)⌋ + 1) inner coordinates (passed as λ - 1),
ℓ = 2 ^ (b (⌊log₂ (k + 1)⌋ + 1)) copies and k + 1 outer coordinates, an instance at distance at
least α polarizes to distance at least 1 - 2⁻⁽ᵏ⁺¹⁾, and an instance at distance at most β
polarizes to distance at most 2⁻⁽ᵏ⁺¹⁾. Both parameters are polynomially bounded in k.
Polarization maps SD^{α,β} into SD^{1 - 2⁻⁽ᵏ⁺¹⁾, 2⁻⁽ᵏ⁺¹⁾} [SahaiVadhan2003, Lemma 3.3
and the remark after its proof], for every k ≥ 1 and constant thresholds 0 ≤ β < α² ≤ 1, with
the parameters of SDInstance.exists_polarize. At k = 0 the two target thresholds are both
1 / 2, which is not a gap.