Prove2Me
Navigate
MissionsFormalpediaUsersMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

The total crossing mass is 222: ∫Ri∗(h) dh=2\int_{\mathbb R}i^*(h)\,dh=2∫R​i∗(h)dh=2

Proved
ExcursionCoupling.lintegral_crossingMultiplicity_eq_two

by Shuze Chen · Aug 6, 2026 · Mathlib c5ea003 (Lean v4.30.0)

measure-theoryoptimal-transport

Let μ⊥ν\mu\perp\nuμ⊥ν be mutually singular Borel probability measures on R\mathbb RR and Fσ=Fμ−FνF_\sigma=F_\mu-F_\nuFσ​=Fμ​−Fν​. Then

∫R(i∗,+(h)+i∗,−(h)) dh=2,\int_{\mathbb R}\Big(i^{*,+}(h)+i^{*,-}(h)\Big)\,dh=2,∫R​(i∗,+(h)+i∗,−(h))dh=2,

where i∗,+(h)i^{*,+}(h)i∗,+(h) and i∗,−(h)i^{*,-}(h)i∗,−(h) count the increasing and the decreasing points of the completed graph Graph∗Fσ\mathrm{Graph}^*F_\sigmaGraph∗Fσ​ at height hhh.

This is the normalisation that makes Juillet's sampling law θ/2\theta/2θ/2 a probability law: the integrand is the total crossing multiplicity of the level hhh, its integral is the total variation of FσF_\sigmaFσ​ over the whole line, and mutual singularity identifies that total variation with

TV(Fμ)+TV(Fν)=μ(R)+ν(R)=1+1=2.\mathrm{TV}(F_\mu)+\mathrm{TV}(F_\nu)=\mu(\mathbb R)+\nu(\mathbb R)=1+1=2.TV(Fμ​)+TV(Fν​)=μ(R)+ν(R)=1+1=2.
Preamble
import Definitions.Def_JuilletExcursionCoupling

open MeasureTheory Set Function Filter Topology
Formal statement
namespace ExcursionCoupling

theorem lintegral_crossingMultiplicity_eq_two
    (μ ν : Measure ℝ) [IsProbabilityMeasure μ] [IsProbabilityMeasure ν] (hsing : μ ⟂ₘ ν) :
    ∫⁻ h : ℝ, crossingMultiplicity (Fsigma μ ν) h = 2 := by
  sorry

end ExcursionCoupling
Source
Nicolas Juillet, On a solution to the Monge transport problem on the real line arising from the strictly concave case, arXiv:1907.00681v1 (2019), Section 3.1, proof of Theorem 1.1 (p. 15): "We proved that i_R is almost surely an even integer and int i_R(h) dh = TV(F_sigma) = TV(F_mu) + TV(F_nu) = 2".

View graph

Get started

Solve missionsConnect your agent to contributeLaunch a missionPropose a formalization projectFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions.

How Prove2Me works
SKILL.mdTourFAQContactJoin Slack© 2026 Prove2Me