Entropy to Submodularity

DefinitionEntropy#

If \(X\) is an \(S\)-valued random variable, the entropy \(\mathbb{H}[X]\) of \(X\) is defined

\[ \mathbb{H}[X] := \sum_{s \in S} \mathbb{P}[X=x] \log \frac{1}{\mathbb{P}[X=x]} \]

with the convention that \(0 \log \frac{1}{0} = 0\).

Used by 9

LemmaEntropy and relabeling#

  • (i) If \(X: \Omega \to S\) and \(Y: \Omega \to T\) are random variables, and \(Y = f(X)\) for some injection \(f: S \to T\), then \(\mathbb{H}[X] = \mathbb{H}[Y]\).
  • (ii) If \(X: \Omega \to S\) and \(Y: \Omega \to T\) are random variables, and \(Y = f(X)\) and \(X = g(Y)\) for some functions \(f: S \to T\), \(g: T \to S\), then \(\mathbb{H}[X] = \mathbb{H}[Y]\).
Uses 1 · Used by 14

LemmaJensen bound#

If \(X\) is an \(S\)-valued random variable, then \(\mathbb{H}[X] \leq \log |S|\).

Proof

This is a direct consequence of Concavity and Jensen's inequality.

Lean

Formalized as ProbabilityTheory.entropy_le_log_card, ProbabilityTheory.entropy_le_log_card_of_mem.

Sources
Uses 2 · Used by 4

DefinitionUniform distribution#

If \(H\) is a subset of \(S\), an \(S\)-random variable \(X\) is said to be uniformly distributed on \(H\) if \(\mathbb{P}[X = s] = 1/|H|\) for \(s \in X\) and \(\mathbb{P}[X=s] = 0\) otherwise.

Used by 3

LemmaUniform distributions exist#

Given a finite non-empty subset \(H\) of a set \(S\), there exists a random variable \(X\) (on some probability space) that is uniformly distributed on \(H\).

Uses 1 · Used by 3

LemmaEntropy of uniform random variable#

If \(X\) is \(S\)-valued random variable, then \(\mathbb{H}[X] = \log |S|\) if and only if \(X\) is uniformly distributed on \(S\).

Proof

Direct computation in one direction. Converse direction needs the strict Jensen inequality and Concavity.

Lean

Formalized as ProbabilityTheory.IsUniform.entropy_eq.

Sources
Uses 2
Statement usesEntropy
Proof usesConcavity

LemmaEntropy of uniform random variable, II#

If \(X\) is uniformly distributed on \(H\), then, then \(\mathbb{H}[X] = \log |H|\).

Proof

Direct computation.

Lean

Formalized as ProbabilityTheory.IsUniform.entropy_eq.

Sources
Uses 2 · Used by 3

LemmaBounded entropy implies concentration#

If \(X\) is an \(S\)-valued random variable, then there exists \(s \in S\) such that \(\mathbb{P}[X=s] \geq \exp(-\mathbb{H}[X])\).

Proof

We have

\[ \mathbb{H}[X] = \sum_{s \in S} \mathbb{P}[X=s] \log \frac{1}{\mathbb{P}[X=s]} \geq \min_{s \in S} \log \frac{1}{\mathbb{P}[X=s]} \]

and the claim follows.

Lean

Formalized as ProbabilityTheory.prob_ge_exp_neg_entropy.

Sources
Uses 1 · Used by 3
Statement usesEntropy

We use \(X,Y\) to denote the pair \(\omega \mapsto (X(\omega),Y(\omega)\)).

LemmaCommutativity and associativity of joint entropy#

If \(X: \Omega \to S\), \(Y: \Omega \to T\), and \(Z: \Omega \to U\) are random variables, then \(\mathbb{H}[X, Y] = \mathbb{H}[Y, X]\) and \(\mathbb{H}[X, (Y,Z)] = \mathbb{H}[(X,Y), Z]\).

Proof

Set up an injection from \((X,Y)\) to \((Y,X)\) and use Entropy and relabeling for the first claim. Similarly for the second claim.

Lean

Formalized as ProbabilityTheory.entropy_comm, ProbabilityTheory.entropy_assoc.

Sources
Uses 1 · Used by 2

DefinitionConditioned event#

If \(X: \Omega \to S\) is an \(S\)-valued random variable and \(E\) is an event in \(\Omega\), then the conditioned event \((X|E)\) is defined to be the same random variable as \(X\), but now the ambient probability measure has been conditioned to \(E\).

Used by 2

Note: it may happen that \(E\) has zero measure. In which case, the ambient probability measure should be replaced with a zero measure. (In our formalization we achieve this by working with arbitrary measures, and normalizing them to be probability measures if possible, else using the zero measure. Conditioning is also formalized using existing Mathlib definitions.)

DefinitionConditional entropy#

If \(X: \Omega \to S\) and \(Y: \Omega \to T\) are random variables, the conditional entropy \(\mathbb{H}[X|Y]\) is defined as

\[ \mathbb{H}[X|Y] := \sum_{y \in Y} \mathbb{P}[Y = y] \mathbb{H}[(X | Y=y)]. \]
Uses 2 · Used by 5

LemmaConditional entropy and relabeling#

If \(X: \Omega \to S\), \(Y: \Omega \to T\), and \(Z: \Omega \to U\) are random variables, and \(Y = f(X,Z)\) almost surely for some map \(f: S \times U \to T\) that is injective for each fixed \(U\), then \(\mathbb{H}[X|Z] = \mathbb{H}[Y|Z]\).

Similarly, if \(g: T \to U\) is injective, then \(\mathbb{H}[X|g(Y)] = \mathbb{H}[X|Y]\).

Proof

For the first part, use Conditional entropy and then Entropy and relabeling. The second part is a direct computation.

Lean

Formalized as ProbabilityTheory.condEntropy_comp_of_injective, ProbabilityTheory.condEntropy_of_injective'.

Sources
Uses 2 · Used by 4

LemmaChain rule#

If \(X: \Omega \to S\) and \(Y: \Omega \to T\) are random variables, then

\[ \mathbb{H}[X, Y] = \mathbb{H}[Y] + \mathbb{H}[X|Y]. \]
Uses 1 · Used by 9

LemmaConditional chain rule#

If \(X: \Omega \to S\), \(Y: \Omega \to T\), \(Z: \Omega \to U\) are random variables, then

\[ \mathbb{H}[X, Y | Z] = \mathbb{H}[Y | Z] + \mathbb{H}[X|Y, Z]. \]
Proof

For each \(z \in U\), we can apply Chain rule to the random variables \((X|Z=z)\) and \((Y|Z=z)\) to obtain

\[ \mathbb{H}[(X|Z=z),(Y|Z=z)] = \mathbb{H}[Y|Z=z] + \mathbb{H}[(X|Z=z)|(Y|Z=z)]. \]

Now multiply by \(\mathbb{P}[Z=z]\) and sum. Some helper lemmas may be needed to get to the form above. This sort of “average over conditioning” argument to get conditional entropy inequalities from unconditional ones is commonly used in this paper.

Lean

Formalized as ProbabilityTheory.cond_chain_rule, ProbabilityTheory.cond_chain_rule'.

Sources
Uses 1
Proof usesChain rule

DefinitionMutual information#

If \(X: \Omega \to S\), \(Y: \Omega \to T\) are random variables, then

\[ \mathbb{I}[X : Y] := \mathbb{H}[X] + \mathbb{H}[Y] - \mathbb{H}[X,Y]. \]
Uses 1 · Used by 4

LemmaAlternative formulae for mutual information#

With notation as above, we have

\[ \mathbb{I}[X : Y] = \mathbb{I}[Y:X] \]
\[ \mathbb{I}[X : Y] = \mathbb{H}[X] - \mathbb{H}[X|Y] \]
\[ \mathbb{I}[X : Y] = \mathbb{H}[Y] - \mathbb{H}[Y|X] \]
Uses 3 · Used by 7

LemmaNonnegativity of mutual information#

We have \(\mathbb{I}[X:Y] \geq 0\).

Proof

An application of jensen's inequality and Concavity and Alternative formulae for mutual information.

Lean

Formalized as ProbabilityTheory.mutualInfo_nonneg.

Sources
Uses 2 · Used by 2

CorollarySubadditivity#

With notation as above, we have \(\mathbb{H}[X,Y] \leq \mathbb{H}[X] + \mathbb{H}[Y]\).

Uses 2 · Used by 2

CorollaryConditioning reduces entropy#

With notation as above, we have \(\mathbb{H}[X|Y] \leq \mathbb{H}[X]\).

Uses 2 · Used by 3

CorollarySubmodularity#

With three random variables \(X,Y,Z\), one has \(\mathbb{H}[X|Y,Z] \leq \mathbb{H}[X|Z]\).

Proof

Apply the “averaging over conditioning” argument to Conditioning reduces entropy.

Lean

Formalized as ProbabilityTheory.entropy_submodular, ProbabilityTheory.condEntropy_comp_ge.

Sources
Uses 1 · Used by 7

The dependency explorer needs JavaScript and its graph data.

Download the complete graph data.