Documentation

CslibFrontier.Computability.Communication.Lifting.DenseDiscrepancy

Discrepancy bounds for projections of dense finite sets #

Blockwise density bounds each atom of a projected uniform source. Combining this fact with the independent-source extractor estimate bounds the parity bias of a block gadget on two dense sets. The fourth-power discrepancy XOR estimate then reduces this to the single-block gadget.

theorem Cslib.Communication.Lifting.IsDense.map_restrict_toReal_le {n m : ℕ} {τ : ℝ} {F I : Finset (Fin n)} {X : Finset (Fin n → Fin m)} (hX : IsDense τ F X) (hτ : 0 < τ) (hne : X.Nonempty) (hIF : I ⊆ F) (a : ↥I → Fin m) :
((PMF.map (fun (x : Fin n → Fin m) (i : ↥I) => x ↑i) (Probability.PMF.uniformOfFinset X hne)) a).toReal ≤ (τ ^ I.card)⁻¹

Every projected atom of a uniform dense set has mass at most the inverse density power.

theorem Cslib.Communication.Lifting.abs_projected_parity_bias_le {n m : ℕ} {F I : Finset (Fin n)} {X : Finset (Fin n → Fin m)} [NeZero m] {τX τY : ℝ} {Y : Finset (Fin n → Fin m)} (hX : IsDense τX F X) (hY : IsDense τY F Y) (hτX : 0 < τX) (hτY : 0 < τY) (hXne : X.Nonempty) (hYne : Y.Nonempty) (hIF : I ⊆ F) (g : Fin m → Fin m → Bool) :
|∑ x : ↥I → Fin m, ∑ y : ↥I → Fin m, ((PMF.map (fun (z : Fin n → Fin m) (i : ↥I) => z ↑i) (Probability.PMF.uniformOfFinset X hXne)) x).toReal * ((PMF.map (fun (z : Fin n → Fin m) (i : ↥I) => z ↑i) (Probability.PMF.uniformOfFinset Y hYne)) y).toReal * BitString.signVal (∑ i : ↥I, g (x i) (y i))| ≤ (↑m ^ 2 / (τX * τY)) ^ I.card * discrepancy (Probability.PMF.uniformOfFintype ((↥I → Fin m) × (↥I → Fin m))) fun (x y : ↥I → Fin m) => ∑ i : ↥I, g (x i) (y i)

Independent uniform sources from dense sets have small projected parity bias whenever the corresponding XOR gadget has small uniform discrepancy.

theorem Cslib.Communication.Lifting.projected_parity_bias_fourth_pow_le {n m : ℕ} {F I : Finset (Fin n)} {X : Finset (Fin n → Fin m)} [NeZero m] {τX τY : ℝ} {Y : Finset (Fin n → Fin m)} (hX : IsDense τX F X) (hY : IsDense τY F Y) (hτX : 0 < τX) (hτY : 0 < τY) (hXne : X.Nonempty) (hYne : Y.Nonempty) (hIF : I ⊆ F) (g : Fin m → Fin m → Bool) :
|∑ x : ↥I → Fin m, ∑ y : ↥I → Fin m, ((PMF.map (fun (z : Fin n → Fin m) (i : ↥I) => z ↑i) (Probability.PMF.uniformOfFinset X hXne)) x).toReal * ((PMF.map (fun (z : Fin n → Fin m) (i : ↥I) => z ↑i) (Probability.PMF.uniformOfFinset Y hYne)) y).toReal * BitString.signVal (∑ i : ↥I, g (x i) (y i))| ^ 4 ≤ ((↑m ^ 2 / (τX * τY)) ^ 4 * (4 * discrepancy (Probability.PMF.uniformOfFintype (Fin m × Fin m)) g)) ^ I.card

A single-block discrepancy bound controls every projected parity of two independent uniform dense sets. This uses the fourth-power XOR estimate.

theorem Cslib.Communication.Lifting.IsDense.card_agreeOn_agreeOn_mul_pow_le {n m : ℕ} {τ : ℝ} {F I : Finset (Fin n)} {X : Finset (Fin n → Fin m)} (hX : IsDense τ F X) {J : Finset (Fin n)} (hIF : I ⊆ F) (hJF : J ⊆ F) (hdisj : Disjoint J I) (α β : Fin n → Fin m) :
↑(agreeOn (agreeOn X J α) I β).card * τ ^ (I.card + J.card) ≤ ↑X.card

Conditioning on one block assignment costs its probability only once, rather than once per remaining coordinate. This is the joint counting inequality before division.

theorem Cslib.Communication.Lifting.IsDense.card_agreeOn_agreeOn_div_le {n m : ℕ} {τ : ℝ} {F I : Finset (Fin n)} {X : Finset (Fin n → Fin m)} (hX : IsDense τ F X) (hτ : 0 < τ) {J : Finset (Fin n)} (hIF : I ⊆ F) (hJF : J ⊆ F) (hdisj : Disjoint J I) (α β : Fin n → Fin m) (hne : (agreeOn X J α).Nonempty) :
↑(agreeOn (agreeOn X J α) I β).card / ↑(agreeOn X J α).card ≤ ↑X.card / (↑(agreeOn X J α).card * τ ^ (I.card + J.card))

The conditional atom cap expressed as a ratio of finite fiber sizes. The denominator is the conditioning event's probability times the density power for both sets of coordinates.

theorem Cslib.Communication.Lifting.IsDense.map_restrict_agreeOn_toReal_le {n m : ℕ} {τ : ℝ} {F I : Finset (Fin n)} {X : Finset (Fin n → Fin m)} (hX : IsDense τ F X) (hτ : 0 < τ) {J : Finset (Fin n)} (hIF : I ⊆ F) (hJF : J ⊆ F) (hdisj : Disjoint J I) (α β : Fin n → Fin m) (hne : (agreeOn X J α).Nonempty) :
((PMF.map (fun (x : Fin n → Fin m) (i : ↥I) => x ↑i) (Probability.PMF.uniformOfFinset (agreeOn X J α) hne)) fun (i : ↥I) => β ↑i).toReal ≤ ↑X.card / (↑(agreeOn X J α).card * τ ^ (I.card + J.card))

The projected atom bound after conditioning on a disjoint block assignment.