AFTD Auto-Formalizing Theoretical Domains

CommunicationComplexity.integral_rnDensity_eq_one_of_ac

theoremverifiedimported Lean

Integral of the Radon–Nikodym derivative equals one. Let $\mu$ and $\nu$ be probability measures on a measurable space $\Omega$, and suppose that $\mu$ is absolutely continuous with respect to $\nu$, written $\mu \ll \nu$. Then the Radon–Nikodym derivative $\frac{d\mu}{d\nu}$ integrates to one against $\nu$: \[ \int_{\Omega} \frac{d\mu}{d\nu}(x)\,d\nu(x) = 1. \]

Statement

set_option relaxedAutoImplicit false in
set_option autoImplicit false in
open MeasureTheory in
open ProbabilityTheory in
open scoped ENNReal in
theorem CommunicationComplexity.integral_rnDensity_eq_one_of_ac
    {Ω : Type*} [MeasurableSpace Ω]
    (μ ν : Measure Ω) [IsProbabilityMeasure μ] [IsProbabilityMeasure ν]
    (h_ac : μ ≪ ν) :
    ∫ x, rnDensity μ ν x ∂ν = 1
Source
TCSlib, `CommunicationComplexity.integral_rnDensity_eq_one_of_ac`
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
Classical.choiceQuot.soundpropext
Built on 1
Used by 2

Lean source view module on GitHub

set_option relaxedAutoImplicit false inset_option autoImplicit false inopen MeasureTheory inopen ProbabilityTheory inopen scoped ENNReal in/-- If `μ ≪ ν` then the density `dμ/dν` integrates to `1` against `ν` (both are probability measures). -/theorem CommunicationComplexity.integral_rnDensity_eq_one_of_ac    {Ω : Type*} [MeasurableSpace Ω]    (μ ν : Measure Ω) [IsProbabilityMeasure μ] [IsProbabilityMeasure ν]    (h_ac : μ ≪ ν) :    ∫ x, rnDensity μ ν x ∂ν = 1 := by  have h := Measure.integral_toReal_rnDeriv h_ac  simpa [rnDensity] using h
See it in the graphDiscuss this resultChallenge it