CommunicationComplexity.rnDensity
defimported Lean
For two probability measures $\mu$ and $\nu$ on a measurable space $\Omega$, the
Radon-Nikodym density $\mathrm{rnDensity}(\mu,\nu)(x) \in \mathbb{R}$ is
the real part of the Radon-Nikodym derivative $\frac{d\mu}{d\nu}(x)$, obtained by
converting the extended non-negative real value $\mu.\mathrm{rnDeriv}\,\nu\,x$
to a real number via ENNReal.toReal.
Statement
set_option relaxedAutoImplicit false in set_option autoImplicit false in open MeasureTheory in open ProbabilityTheory in open scoped ENNReal in noncomputable def CommunicationComplexity.rnDensity {Ω : Type*} [MeasurableSpace Ω] (μ ν : Measure Ω) [IsProbabilityMeasure μ] [IsProbabilityMeasure ν] (x : Ω) : ℝ
- Defined in
- TCSlib, `CommunicationComplexity.rnDensity`
- Lean proof
- By Lucy Horowitz, Timothe Kasriel, Mihir Singhal, from github.com/Shilun-Allan-Li/tcslib at
c8a02591b1e5(Copyright (c) 2026 Lucy Horowitz, Timothe Kasriel, and Mihir Singhal. All rights reserved, Apache-2.0). Compiled here against leanprover/lean4:v4.33.1, Mathlib v4.33.1; written for leanprover/lean4:v4.25.0.CommunicationComplexity.rnDensity← CommunicationComplexity.rnDensity (TCSlib/CommunicationComplexity/NewmanTheorem/Pinsker.lean:59): verbatim
- Verified
- 07 Oct 2026
- Axioms
- none listed
- Used by 15
- CommunicationComplexity.tvDistanceSup_eq_densityPositiveIntegral_of_acTotal variation distance as the excess-mass integral. Let $\mu$ and $\nu$ be probability measures on a measurable space $\Omega$, and…
- CommunicationComplexity.integrable_rnDensityIntegrability of the Radon–Nikodym density. Let $\mu$ and $\nu$ be probability measures on a measurable space $\Omega$, and let…
- CommunicationComplexity.densityPositiveSetThe density positive set is $\{x \in \Omega : \mathrm{rnDensity}(\mu,\nu)(x) \ge 1\}$, the region where $\mu$ locally dominates…
- CommunicationComplexity.half_densityAbsIntegral_sq_le_integral_klFun_rnDensityA Pinsker-type inequality for the Radon–Nikodym density. Let $\mu$ and $\nu$ be probability measures on a measurable space $\Omega$ with…
- CommunicationComplexity.integral_klFun_rnDeriv_eq_kl_integralTwo integral forms of the Kullback–Leibler divergence. Let $\mu$ and $\nu$ be probability measures on a measurable space $\Omega$ with…
- CommunicationComplexity.measurable_rnDensityMeasurability of the Radon–Nikodym density. Let $\mu$ and $\nu$ be probability measures on a measurable space $\Omega$, and consider the…
- CommunicationComplexity.integrable_rnDensity_sub_oneIntegrability of the Radon–Nikodym density minus one. Let $\mu$ and $\nu$ be probability measures on a measurable space $\Omega$, and let…
- CommunicationComplexity.densityPositiveIntegralThe density positive integral is…
- CommunicationComplexity.density_l1_pinsker_le_kl_integralPinsker-type bound via the KL integral. Let $\mu$ and $\nu$ be probability measures on a measurable space $\Omega$ with $\mu$ absolutely…
- CommunicationComplexity.rnDensity_nonnegNonnegativity of the Radon–Nikodym density. Let $\mu$ and $\nu$ be probability measures on a measurable space $\Omega$. Then at every…
- CommunicationComplexity.densityAbsIntegralThe quantity $\mathrm{densityAbsIntegral}(\mu,\nu) := \int |\mathrm{rnDensity}(\mu,\nu)(x) - 1|\,d\nu$ is the $L^1(\nu)$-distance of the…
- CommunicationComplexity.densityPositiveIntegral_eq_half_densityAbsIntegral_of_acPositive part equals half the total variation of the density. Let $\mu$ and $\nu$ be probability measures on a measurable space $\Omega$,…
- CommunicationComplexity.measureReal_sub_eq_setIntegral_rnDensity_sub_oneSet difference of two measures as an integral of the density minus one. Let $\mu$ and $\nu$ be probability measures on a measurable space…
- CommunicationComplexity.integral_rnDensity_sub_one_eq_zero_of_acMean of the Radon–Nikodym density minus one vanishes. Let $\mu$ and $\nu$ be probability measures on a measurable space $\Omega$, and…
- CommunicationComplexity.integral_rnDensity_eq_one_of_acIntegral of the Radon–Nikodym derivative equals one. Let $\mu$ and $\nu$ be probability measures on a measurable space $\Omega$, and…
Lean source view module on GitHub
set_option relaxedAutoImplicit false in set_option autoImplicit false in open MeasureTheory in open ProbabilityTheory in open scoped ENNReal in /-- The real-valued Radon-Nikodym density `dμ/dν` (as a real number, via `toReal`) used in the absolutely-continuous part of Pinsker. -/ noncomputable def CommunicationComplexity.rnDensity {Ω : Type*} [MeasurableSpace Ω] (μ ν : Measure Ω) [IsProbabilityMeasure μ] [IsProbabilityMeasure ν] (x : Ω) : ℝ := ((μ.rnDeriv ν x).toReal)