AFTD Auto-Formalizing Theoretical Domains

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.
Verified
07 Oct 2026
Axioms
none listed
Used by 15

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)
See it in the graphDiscuss this resultChallenge it