Documentation

CslibFrontier.Probability.MinEntropy.ChainRule

Min-entropy conditioning chain rule and uniform-lifting #

This module provides general min-entropy conditioning and smoothing lemmas used in randomness extractor constructions (such as correlation breakers and sumset extractors):

Main results #

References #

theorem Cslib.Probability.PMF.le_minEntropy_map_of_injOn {α : Type u_1} {β : Type u_2} (p : PMF α) {f : α → β} (hf : Set.InjOn f p.support) {k : ℝ} (hk : k ≤ minEntropy p) :

A map that is injective on the support of p preserves min-entropy lower bounds.

theorem Cslib.Probability.PMF.minEntropy_map_conditionalSnd_ge_of_apply_ge {α : Type u_1} {β : Type u_2} {L : Type u_3} [Fintype L] (J : PMF (L × α)) (f : α → β) {k δ : ℝ} (hδ : 0 < δ) (hk : k ≤ minEntropy (PMF.map f (PMF.map Prod.snd J))) {ℓ : L} (hℓ : δ / ↑(Fintype.card L) ≤ ((PMF.map Prod.fst J) ℓ).toReal) :

Pointwise min-entropy chain rule for conditionalSnd: conditioning a joint law J : PMF (L × α) on an observation ℓ : L whose marginal probability is at least δ / |L| reduces the min-entropy of (J.map Prod.snd).map f by at most log₂ |L| + log₂ (1 / δ).

theorem Cslib.Probability.PMF.toOuterMeasure_badLeak_le {L : Type u_3} [Fintype L] (μ : PMF L) {δ : ℝ} (hδ : 0 ≤ δ) :
(μ.toOuterMeasure {ℓ : L | (μ ℓ).toReal < δ / ↑(Fintype.card L)}).toReal ≤ δ

Observations with probability strictly below δ / |L| have total probability at most δ.

theorem Cslib.Probability.PMF.dist_bind_pair_le_of_compl_le {β : Type u_2} {L : Type u_3} [Fintype L] [Fintype β] (μ : PMF L) (p q : L → PMF β) (G : Set L) {δ ε : ℝ} (hε : 0 ≤ ε) (hbad : (μ.toOuterMeasure Gᶜ).toReal ≤ δ) (hgood : ∀ ℓ ∈ G, ℓ ∈ μ.support → dist (p ℓ) (q ℓ) ≤ ε) :
dist (μ.bind fun (ℓ : L) => PMF.map (fun (x : β) => (ℓ, x)) (p ℓ)) (μ.bind fun (ℓ : L) => PMF.map (fun (x : β) => (ℓ, x)) (q ℓ)) ≤ δ + ε

Good/bad split averaging for paired mixtures: if two kernels p, q : L → PMF β have distance at most ε on every supported outcome in G, and Gᶜ has probability at most δ under μ, then the paired mixtures have statistical distance at most δ + ε.

theorem Cslib.Probability.PMF.dist_bind_le_of_compl_le {β : Type u_2} {L : Type u_3} [Finite L] [Fintype β] (μ : PMF L) (p q : L → PMF β) (G : Set L) {δ ε : ℝ} (hε : 0 ≤ ε) (hbad : (μ.toOuterMeasure Gᶜ).toReal ≤ δ) (hgood : ∀ ℓ ∈ G, ℓ ∈ μ.support → dist (p ℓ) (q ℓ) ≤ ε) :
dist (μ.bind p) (μ.bind q) ≤ δ + ε

Good/bad split averaging for mixtures: discarding the revealed observation from dist_bind_pair_le_of_compl_le gives dist (μ.bind p) (μ.bind q) ≤ δ + ε.

theorem Cslib.Probability.PMF.exists_dist_le_and_le_minEntropy_map_of_dist_uniform {α : Type u_1} {β : Type u_2} [Fintype α] [Fintype β] [Nonempty β] (A : PMF α) (f : α → β) {γ : ℝ} (hγ1 : γ < 1) (hdist : dist (PMF.map f A) (uniformOfFintype β) ≤ γ) :
∃ (A' : PMF α), dist A A' ≤ γ ∧ Real.logb 2 ↑(Fintype.card β) + Real.logb 2 (1 - γ) ≤ minEntropy (PMF.map f A')

Exact uniform-lifting on a marginal: if A.map f is within statistical distance γ < 1 of the uniform distribution on a finite nonempty type β, then there exists a distribution A' within statistical distance γ of A itself whose pushforward A'.map f has exact min-entropy at least log₂ |β| + log₂ (1 - γ). In particular, for γ ≤ 1 / 2, A'.map f has min-entropy at least log₂ |β| - 1.