Uniform Restriction and Two-Level Coupling Laws for $k$-Wise Independent Hash Families #
Under a uniform finite seed θ ← PMF.uniformOfFintype Seed, restricting a k-wise independent hash
family eval : Seed → Fin U → Fin m to any subset T : Finset (Fin U) of size #T ≤ k yields the
exact uniform distribution PMF.uniformOfFintype (T → Fin m)
(Cslib.Probability.uniformOfFintype_map_restrict_eq).
For a two-level hash family eval : TopSeed → BotSeed → Fin U → Fin m whose inner family eval α
is k-wise independent for every good top seed α ∈ GoodTop, the restricted distribution on T
with #T ≤ k is coupled within (#(Finset.univ \ GoodTop) : ℝ≥0∞) / Fintype.card TopSeed of
PMF.uniformOfFintype (T → Fin m)
(Cslib.Probability.coupledWithin_uniformOfFintype_prod_restrict).
Main results #
Cslib.Probability.uniformOfFintype_map_of_isKWise: mapping ak-wise independent hash family over a finite domainXwithFintype.card X ≤ kunder a uniform seed producesPMF.uniformOfFintype (X → Y).Cslib.Probability.uniformOfFintype_map_restrict_eq: restricting ak-wise independent hash family toT(#T ≤ k) under a uniform seed producesPMF.uniformOfFintype (T → Fin m).Cslib.Probability.map_xor_restrict_eq_uniform: mapping ak-wise independent hash family with a pointwise XOR shift producesPMF.uniformOfFintype (T → Fin (2 ^ s)).Cslib.Probability.coupledWithin_uniformOfFintype_prod_restrict: two-level coupling bound for restricting a hash family whose top seed isk-wise independent onGoodTop.
If h : ι → X → Y is k-wise independent and Fintype.card X ≤ k, then h θ under
θ ← PMF.uniformOfFintype ι has the exact uniform distribution PMF.uniformOfFintype (X → Y).
If eval : Seed → Fin U → Fin m is k-wise independent, then restricting eval θ under
θ ← PMF.uniformOfFintype Seed to any subset T : Finset (Fin U) of size #T ≤ k produces the
exact uniform distribution PMF.uniformOfFintype (T → Fin m).
Mapping a k-wise independent hash family combined with a pointwise XOR shift base i ^^^ ·
over T with Fintype.card T ≤ k and injective input inp yields the uniform distribution.
Single-epoch coupling for a two-level hash family: if every α ∈ GoodTop induces a k-wise
independent family eval α : BotSeed → Fin U → Fin m, then restricting eval p.1 p.2 under
p ← PMF.uniformOfFintype (TopSeed × BotSeed) to a set T of size #T ≤ k is coupled within
(#(Finset.univ \ GoodTop) : ℝ≥0∞) / Fintype.card TopSeed of PMF.uniformOfFintype (T → Fin m).