90 Communication Complexity — KL Divergence
90.1 Overview
This module develops concrete sum formulas for the Kullback–Leibler divergence on finite measurable spaces, bridging Mathlib’s InformationTheory.klDiv with the PFR real-valued KLDiv entropy API. The main results give explicit pointwise summation formulas for KL divergence between finite measures and PMFs, and show how they specialize to the Boolean (\(\mathrm{Bool}\)) case.
90.2 Declarations
Let \(\Omega \) be a finite measurable space and let \(\mu , \nu \) be finite measures on \(\Omega \) with \(\mu \ll \nu \). Then
where \(\mathrm{llr}(\mu ,\nu ,\omega ) = \log \frac{d\mu }{d\nu }(\omega )\) is the log-likelihood ratio at \(\omega \).
Let \(\Omega \) be a finite measurable space and let \(\mu , \nu \) be finite measures on \(\Omega \). Then
Let \(\Omega \) be a finite measurable space and let \(p, q\) be PMFs on \(\Omega \). Then
Let \(\Omega \) be a finite measurable space, \(\mu \ll \nu \) finite measures, and \(\omega \in \Omega \) with \(\nu \{ \omega \} \neq 0\). Then the real-valued Radon–Nikodym derivative satisfies
Let \(\Omega \) be a finite measurable space, \(\mu \ll \nu \) finite measures, and \(\omega \in \Omega \). Then
Let \(\Omega \) be a finite measurable space and let \(\mu , \nu \) be finite measures on \(\Omega \). Then
Let \(\Omega \) be a finite measurable space and let \(\mu , \nu \) be probability measures on \(\Omega \). If \(\nu \) has full support (i.e. \(\nu .\mathrm{toPMF}(\omega ) \neq 0\) for all \(\omega \)), then \(D_{\mathrm{KL}}(\mu \, \| \, \nu ) \neq \infty \).
Let \(\Omega \) be a finite measurable space and let \(p, q\) be PMFs on \(\Omega \). Then
Let \(\mu , \nu \) be probability measures on \(\mathrm{Bool}\) with \(\nu \) of full support. Then
where the right-hand side is the PFR real-valued KL divergence of the identity random variable.
Let \(\mu \) be a finite measure on a measurable space \(\Omega \), \(X : \Omega \to \mathrm{Bool}\) a measurable function, \(S \subseteq \Omega \) a set with \(\mu .\mathrm{real}\, S \neq 0\), and \(\nu \) a full-support probability measure on \(\mathrm{Bool}\). Then