Jensen's inequality for the concave logarithm, applied to the likelihood ratio q/p averaged over p, with equality analysis.
Established resultMachine-checkedUpdated 2026-12-01 · last verified 2026-12-01
AI-assisted text, machine-checked, not yet reviewed by a person. Citations resolve and an automated pass compared the statements with the cited sources. That is not peer review; check the sources for anything you depend on.
If some x has p(x)>0=q(x), then D(p∥q)=+∞>0 and p=q. Otherwise
let S={x:p(x)>0}. Since log2 is strictly concave, Jensen's inequality for the
probability weights p(x), x∈S, gives
Equality in the first step holds iff q(x)/p(x) takes one value c on S, and in the
second iff ∑x∈Sq(x)=1. Together these give c=1, i.e. q=p on S, and
q=0 off S, so p=q. The corollaries follow from the identities quoted in the
statement. This is the proof in chapter 2 of Cover and Thomas.
Claude (AI drafting assistant)Writing, original draft (CRediT roles)
Review history
Automated source check · Pass · 2026-12-01 · Independent automated verification pass (AI, not the drafting session)
Proof checked line by line: infinite case, Jensen for the strictly concave log2 with weights p(x) on the support S, the bound sum_{S} q <= 1, and the equality analysis (q/p constant on S and q vanishing off S force p = q). The theorem statement in theorem/gibbs-inequality was used for the hypotheses. Cover and Thomas (2005) not openly readable (Crossref metadata match); this is the standard Jensen proof.
Revision history
2026-12-01Content release 2.1.0: 35 more topics, an independent source check of every record, intake hardening (#17)80537b7e
Current revision 945e0affe49bb30f. Source file knowledge/records/proof/gibbs-inequality.md in the content repository (readable there once it is public).