Documentation

CslibFrontier.Probability.PairwiseIndependentHash.SetHitting

Pairwise-Independent Hitting Bounds for Arbitrary Target Sets #

Miss-probability bounds for hitting an arbitrary nonempty target set G ⊆ Y under a pairwise-independent hash family, derived directly from the arbitrary-target moments and Chebyshev bound in CslibFrontier.Probability.PairwiseIndependentHash.Retention.

Main results #

theorem Cslib.Probability.IsPairwiseIndependentHash.dens_filter_disjoint_image_le {ι : Type u_1} {X : Type u_2} {Y : Type u_3} [Fintype ι] [Fintype Y] [DecidableEq Y] {h : ι → X → Y} (hh : IsPairwiseIndependentHash h) {S : Finset X} (hS : S.Nonempty) {G : Finset Y} (hG : G.Nonempty) :
{i : ι | Disjoint (Finset.image (h i) S) G}.dens ≤ ↑(Fintype.card Y) / (↑S.card * ↑G.card)

Chebyshev miss bound for arbitrary target sets: for nonempty S : Finset X and G : Finset Y, a pairwise-independent family misses G on S with density at most |Y| / (#S * #G).

theorem Cslib.Probability.IsPairwiseIndependentHash.dens_filter_forall_notMem_le {ι : Type u_1} {X : Type u_2} {Y : Type u_3} [Fintype ι] [Fintype Y] [DecidableEq Y] [Fintype X] [Nonempty X] {h : ι → X → Y} (hh : IsPairwiseIndependentHash h) {G : Finset Y} (hG : G.Nonempty) :
{i : ι | ∀ (x : X), h i x ∉ G}.dens ≤ ↑(Fintype.card Y) / (↑(Fintype.card X) * ↑G.card)

Over a nonempty finite domain X, a pairwise independent family misses a nonempty target set G everywhere with probability at most |Y| / (|X| * #G).

theorem Cslib.Probability.IsPairwiseIndependentHash.dens_miss_target_set_le {ι : Type u_1} {Y : Type u_3} [Fintype ι] [Fintype Y] [DecidableEq Y] {K : ℕ} (hK : 0 < K) {h : ι → Fin K → Y} (hh : IsPairwiseIndependentHash h) {G : Finset Y} (hG : G.Nonempty) :
↑{s : ι | ∀ (i : Fin K), h s i ∉ G}.dens ≤ ↑(Fintype.card Y) / (↑G.card * ↑K)

Real-valued Fin K wrapper for the arbitrary-target pairwise-independent hitting bound: drawing K > 0 pairwise independent samples from Y, the density of seeds missing a nonempty target set G ⊆ Y is at most |Y| / (#G * K).