Min-entropy and weak random sources #
The min-entropy of a distribution is the least information content -log₂ p(a) of a possible
outcome, measured in bits like Cslib.Probability.PMF.entropy. A distribution has min-entropy at
least k exactly when every outcome has probability at most 2⁻ᵏ (le_minEntropy_iff); such a
distribution is called a k-source. A (k, ε)-source is within statistical distance ε of a
k-source. These are the weak random sources from which randomness extractors produce nearly
uniform bits Chor, Goldreich, Vadhan, Chapter 6.
Min-entropy never exceeds Shannon entropy and bounds the collision probability. A mixture of
k-sources is a k-source; conversely, every k-source is a mixture of flat k-sources
(Cslib.Probability.PMF.exists_eq_bind_uniformOfFinset_of_le_minEntropy). Discarding rare heavy
outcomes turns a distribution into a (k, ε)-source (isSource_of_heavy_le).
Main definitions #
Cslib.Probability.PMF.minEntropy: min-entropy in bits.Cslib.Probability.PMF.IsSource:(k, ε)-sources.
Main results #
Cslib.Probability.PMF.le_minEntropy_iff: min-entropy at leastkmeans every outcome has probability at most2⁻ᵏ.Cslib.Probability.PMF.minEntropy_le_entropy: min-entropy is at most Shannon entropy.Cslib.Probability.PMF.minEntropy_uniformOfFinset: a flat distribution onKoutcomes has min-entropylog₂ K.Cslib.Probability.PMF.le_minEntropy_bind: a mixture ofk-sources is ak-source.Cslib.Probability.PMF.collisionProbability_le_rpow_neg_minEntropy: collision probability is at most2^(-H∞).Cslib.Probability.PMF.isSource_zero_iff: a(k, 0)-source is ak-source.Cslib.Probability.PMF.isSource_of_heavy_le: discarding rare heavy outcomes gives a(k, ε)-source.
References #
Min-entropy #
Min-entropy in bits: the least information content -log₂ p(a) of a possible outcome a.
Its lower bounds are upper bounds on the outcome probabilities (le_minEntropy_iff).
Instances For
Min-entropy is at most the information content of every possible outcome.
Min-entropy is nonnegative.
Every outcome has probability at most 2 to the power of minus the min-entropy.
Collision probability is at most 2 to the power of minus the min-entropy.
On a finite type the least information content is attained by some possible outcome.
Min-entropy is at most Shannon entropy, which averages the information content.
Min-entropy is at most the logarithm of the size of a finite type.
The uniform distribution on a nonempty finite set s has min-entropy log₂ |s|.
The uniform distribution on a finite type has min-entropy the logarithm of its size.
A deterministic value has no min-entropy.
Mixtures of k-sources are k-sources. If every possible component of a mixture has
min-entropy at least k, so does the mixture.
Weak random sources #
A (k, ε)-source: a distribution within statistical distance ε of one with min-entropy at
least k. A k-source is a (k, 0)-source (isSource_zero_iff).
Instances For
A (k, 0)-source is exactly a distribution of min-entropy at least k.
A distribution of min-entropy at least k is a (k, ε)-source for every ε.
Smoothing by discarding heavy outcomes. If the outcomes of probability more than 2⁻ᵏ
have total probability at most δ < 1, the distribution is a (k + log₂ (1 - δ), δ)-source.
Conditioning on the light outcomes moves it by the discarded probability and multiplies each
remaining mass by at most 1 / (1 - δ). For δ ≤ 1 / 2 the min-entropy loss is at most one bit.