Documentation

Atlas.ProbabilisticMethodsInCombinatorics.code.Chapter10.ShearerChainRule

The marginal of $p$ on the empty set has zero Shannon entropy.

noncomputable def ShearerEntropy.funUnivEquiv (n : ) (Ω : Type u_2) :
(Fin nΩ) (Finset.univΩ)

Canonical equivalence between functions Fin n → Ω and functions from the subtype of the universal finset to Ω.

Instances For

    The marginal of $p$ on the universal finset has the same entropy as $p$ itself.

    theorem ShearerEntropy.filter_le_eq_filter_val_lt_succ {n : } (i : Fin n) :
    {x : Fin n | x i} = {j : Fin n | j < i + 1}

    Rewrite the filter {j : Fin n | j ≤ i} as {j : Fin n | j.val < i.val + 1}.

    theorem ShearerEntropy.filter_lt_eq_filter_val_lt {n : } (i : Fin n) :
    {x : Fin n | x < i} = {j : Fin n | j < i}

    Rewrite the filter {j : Fin n | j < i} as {j : Fin n | j.val < i.val}.

    The chain rule for Shannon entropy expressed as a telescoping sum of conditional entropies: $H(p) = \sum_i \bigl(H(p|_{j \le i}) - H(p|_{j < i})\bigr)$.

    theorem ShearerEntropy.marginal_entropy_lower_bound {n : } {Ω : Type u_2} [Fintype Ω] [DecidableEq Ω] (p : PMF (Fin nΩ)) (B : Finset (Fin n)) :

    Lower bound on the entropy of the marginal restricted to $B$: summing the per-step conditional entropy gains for $i \in B$ stays below $H(p|_B)$. Used to prove Shearer's lemma.

    theorem ShearerEntropy.shearer_entropy_inequality {n s : } {Ω : Type u_2} [Fintype Ω] [DecidableEq Ω] (p : PMF (Fin nΩ)) (A : Fin sFinset (Fin n)) (k : ) (hcover : CoveringCondition A k) :

    Shearer's entropy inequality (Theorem 10.4.5): if $\{A_j\}_{j=1}^s$ covers each index at least $k$ times, then $k \cdot H(X_1,\dots,X_n) \le \sum_{j=1}^s H(X_{A_j})$.