AFTD Auto-Formalizing Theoretical Domains

CommunicationComplexity.densityPositiveIntegral

defimported Lean

The density positive integral is $\mathrm{densityPositiveIntegral}(\mu,\nu) := \int_{\mathrm{densityPositiveSet}} (\mathrm{rnDensity}(\mu,\nu)(x)-1)\,d\nu$, the excess mass of $\mu$ over $\nu$ on the region where $\mu$ dominates.

Statement

set_option relaxedAutoImplicit false in
set_option autoImplicit false in
open MeasureTheory in
open ProbabilityTheory in
open scoped ENNReal in
noncomputable def CommunicationComplexity.densityPositiveIntegral
    {Ω : Type*} [MeasurableSpace Ω]
    (μ ν : Measure Ω) [IsProbabilityMeasure μ] [IsProbabilityMeasure ν] : ℝ
Defined in
TCSlib, `CommunicationComplexity.densityPositiveIntegral`
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
Built on 2
Used by 3

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 positive part `∫_{dμ/dν ≥ 1} (dμ/dν − 1) dν` of the centred density. -/
noncomputable def CommunicationComplexity.densityPositiveIntegral
    {Ω : Type*} [MeasurableSpace Ω]
    (μ ν : Measure Ω) [IsProbabilityMeasure μ] [IsProbabilityMeasure ν] : ℝ :=
  ∫ x in densityPositiveSet μ ν, (rnDensity μ ν x - 1) ∂ν
See it in the graphDiscuss this resultChallenge it