InformationTheory.Shannon.LoomisWhitney
Loomis–Whitney inequality (information-theoretic proof) #
For any finite alphabet α and non-empty finite set A : Finset (Fin n → α):
where π_i(A) is the projection of A onto all coordinates except i.
Main definitions #
projectionExcept i A— projection ofA : Finset (Fin n → α)onto{j : Fin n // j ≠ i}.
Main statements #
entropy_uniformOn_eq_log_card—entropy (uniformOn A) id = log #A.entropy_le_log_image_card—entropy (uniformOn A) f ≤ log #(A.image f).loomis_whitney— the Loomis–Whitney inequality.
Implementation notes #
The proof takes μ := uniformOn (A : Set (Fin n → α)) and Xs i ω := ω i, applies
shearer_inequality with cover S i := univ.filter (· ≠ i) (each coordinate covered
n - 1 times), bounds each marginal entropy by log #(projectionExcept i A) via
Jensen / entropy_le_log_image_card, and converts ∑ log = log ∏ to peel off the
logarithm.
Entropy on counting measures #
InformationTheory.Shannon.entropy_uniformOn_eq_log_card
sourceThe entropy of the identity on the uniform distribution over A equals log #A.
Used by
InformationTheory.Shannon.entropy_le_log_image_card
sourceFor μ = uniformOn (A : Set β), entropy μ f ≤ log #(A.image f).
Proof: apply Jensen's inequality for negMulLog (concave on [0, ∞)) to bound
∑ negMulLog p_y ≤ N · negMulLog (1/N), then use negMulLog (1/N) = (log N)/N.
Used by
Coordinate projections #
InformationTheory.Shannon.projectionExcept
sourceProjection of A : Finset (Fin n → α) onto coordinates except i.
Equations
- InformationTheory.Shannon.projectionExcept i A = Finset.image (fun (x : Fin n → α) (j : { j : Fin n // j ≠ i }) => x ↑j) A
Instances For
Used by
InformationTheory.Shannon.jointEntropySubset_le_log_projectionExcept_card
sourceUsed by
Loomis–Whitney main theorem #
InformationTheory.Shannon.loomis_whitney
sourceThe Loomis–Whitney inequality (information-theoretic proof).
For any non-empty A : Finset (Fin n → α),
A.card ^ (n - 1) ≤ ∏ i : Fin n, (projectionExcept i A).card.