Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Expanded temporal density-capacity inequality under score coarsening

Proved
FormalCapacity.Measure.temporal_density_capacityFlow_expanded

by ryanshin · Sep 7, 2026 · Mathlib 0df444a (Lean v4.33.1)

brownian-capacity-flowcapacity-inequalitiesmeasure-theorystability

Let (XE,μE)(X_E,\mu_E)(XE​,μE​) and (XL,μL)(X_L,\mu_L)(XL​,μL​) be arbitrary measure spaces, and let R:XE→XLR:X_E\to X_LR:XE​→XL​ be any function. At each stage r∈{E,L}r\in\{E,L\}r∈{E,L}, take seven real-valued functions f1r,f2r,f3r,β123r,β12r,β13r,β23rf_1^r,f_2^r,f_3^r,\beta_{123}^r,\beta_{12}^r,\beta_{13}^r,\beta_{23}^rf1r​,f2r​,f3r​,β123r​,β12r​,β13r​,β23r​ on XrX_rXr​. For arbitrary weights q12,q23:XL→Rq_{12},q_{23}:X_L\to\mathbb Rq12​,q23​:XL​→R, put wijE=qij∘Rw_{ij}^E=q_{ij}\circ RwijE​=qij​∘R and wijL=qijw_{ij}^L=q_{ij}wijL​=qij​. Define the following functions pointwise at each stage:

γ123r=min⁡(f1r,min⁡(f2r,f3r)),γ12r=max⁡(min⁡(f1r,f2r)−f3r,0),γ23r=max⁡(min⁡(f2r,f3r)−f1r,0),Ar=β123r+w12rβ12r+w23rβ23r,Cr=γ123r+w12rγ12r+w23rγ23r.\begin{aligned} \gamma_{123}^r&=\min(f_1^r,\min(f_2^r,f_3^r)),\\ \gamma_{12}^r&=\max(\min(f_1^r,f_2^r)-f_3^r,0),\\ \gamma_{23}^r&=\max(\min(f_2^r,f_3^r)-f_1^r,0),\\ A_r&=\beta_{123}^r+w_{12}^r\beta_{12}^r+w_{23}^r\beta_{23}^r,\\ C_r&=\gamma_{123}^r+w_{12}^r\gamma_{12}^r+w_{23}^r\gamma_{23}^r. \end{aligned}γ123r​γ12r​γ23r​Ar​Cr​​=min(f1r​,min(f2r​,f3r​)),=max(min(f1r​,f2r​)−f3r​,0),=max(min(f2r​,f3r​)−f1r​,0),=β123r​+w12r​β12r​+w23r​β23r​,=γ123r​+w12r​γ12r​+w23r​γ23r​.​

For ij∈{12,13,23}ij\in\{12,13,23\}ij∈{12,13,23}, let

dijr=min⁡(fir,fjr)−β123r−βijr.d_{ij}^r=\min(f_i^r,f_j^r)-\beta_{123}^r-\beta_{ij}^r.dijr​=min(fir​,fjr​)−β123r​−βijr​.

For each stage separately, assume almost everywhere that the four block intensities are nonnegative and satisfy

β123r+β12r+β13r≤f1r,β123r+β12r+β23r≤f2r,β123r+β13r+β23r≤f3r.\begin{aligned} \beta_{123}^r+\beta_{12}^r+\beta_{13}^r&\le f_1^r,\\ \beta_{123}^r+\beta_{12}^r+\beta_{23}^r&\le f_2^r,\\ \beta_{123}^r+\beta_{13}^r+\beta_{23}^r&\le f_3^r. \end{aligned}β123r​+β12r​+β13r​β123r​+β12r​+β23r​β123r​+β13r​+β23r​​≤f1r​,≤f2r​,≤f3r​.​

Assume also, almost everywhere at each stage,

0≤w12r≤1,0≤w23r≤1,w12r+w23r≥1,f2r≥min⁡(f1r,f3r).\begin{aligned} 0\le w_{12}^r\le1,&\qquad 0\le w_{23}^r\le1,\\ w_{12}^r+w_{23}^r&\ge1,\\ f_2^r&\ge\min(f_1^r,f_3^r). \end{aligned}0≤w12r​≤1,w12r​+w23r​f2r​​0≤w23r​≤1,≥1,≥min(f1r​,f3r​).​

Require Cr,Ar,d12r,d13r,d23rC_r,A_r,d_{12}^r,d_{13}^r,d_{23}^rCr​,Ar​,d12r​,d13r​,d23r​ and, separately, each of γ123r,w12rγ12r,w23rγ23r\gamma_{123}^r,w_{12}^r\gamma_{12}^r,w_{23}^r\gamma_{23}^rγ123r​,w12r​γ12r​,w23r​γ23r​ to be real-integrable with respect to μr\mu_rμr​. The temporal input is the assumed integrated score-coarsening inequality

∫AE dμE≤∫AL dμL.\int A_E\,d\mu_E\le\int A_L\,d\mu_L.∫AE​dμE​≤∫AL​dμL​.

Write Dijr=∫dijr dμrD_{ij}^r=\int d_{ij}^r\,d\mu_rDijr​=∫dijr​dμr​ and

Tr=∫γ123r dμr,P12,r=∫w12rγ12r dμr,P23,r=∫w23rγ23r dμr.\begin{aligned} T_r&=\int\gamma_{123}^r\,d\mu_r,\\ P_{12,r}&=\int w_{12}^r\gamma_{12}^r\,d\mu_r,\\ P_{23,r}&=\int w_{23}^r\gamma_{23}^r\,d\mu_r. \end{aligned}Tr​P12,r​P23,r​​=∫γ123r​dμr​,=∫w12r​γ12r​dμr​,=∫w23r​γ23r​dμr​.​

Then the expanded canonical-flow gap obeys

(TE−TL)+(P12,E−P12,L)+(P23,E−P23,L)≤D12E+D23E+D13L.\begin{aligned} &(T_E-T_L)\\ &\quad +(P_{12,E}-P_{12,L})\\ &\quad +(P_{23,E}-P_{23,L})\\ &\le D_{12}^E+D_{23}^E+D_{13}^L. \end{aligned}​(TE​−TL​)+(P12,E​−P12,L​)+(P23,E​−P23,L​)≤D12E​+D23E​+D13L​.​

This transfers early adjacent-pair loss and late outer-pair gain bounds to a comparison of canonical density scores. It does not prove the assumed score-coarsening inequality or construct a coupling realizing the density data. The labels early and late do not encode time parameters or a Brownian process. No measurability of RRR, pushforward relation between the measures, probability normalization, or finite-measure assumption is required: the displayed pulled-back integrability and almost-everywhere hypotheses are supplied directly.

Preamble
import Mathlib
import Mathlib.MeasureTheory.Integral.Bochner.Basic
import Mathlib.MeasureTheory.Measure.FiniteMeasure
import Definitions.Def_capacityMeasureThreeLabel
import Definitions.Def_capacityTemporalFlow

set_option autoImplicit false

/-!
# The temporal capacity-flow inequality

This file proves the abstract form of equation (4.2).  The first theorem uses
finite block measures and an arbitrary measurable restriction map.  The second
specializes it to the density hypotheses discharged by the integrated
three-label stability theorem.  The final corollary expands the canonical
score into the triple and two weighted pair terms printed in (4.2).
-/

open MeasureTheory

open FormalCapacity.Measure



variable {α β : Type*} [MeasurableSpace α] [MeasurableSpace β]












Formal statement
theorem FormalCapacity.Measure.temporal_density_capacityFlow_expanded
    (early : ThreeLabelDensities α) (late : ThreeLabelDensities β)
    (μEarly : Measure α) (μLate : Measure β) (R : α → β)
    (q12 q23 : β → ℝ)
    (hintEarly : early.IntegrableFor (q12 ∘ R) (q23 ∘ R) μEarly)
    (hintLate : late.IntegrableFor q12 q23 μLate)
    (hcomponentsEarly : CanonicalComponentsIntegrable early (q12 ∘ R) (q23 ∘ R) μEarly)
    (hcomponentsLate : CanonicalComponentsIntegrable late q12 q23 μLate)
    (hvalidEarly : ∀ᵐ x ∂μEarly, early.ValidAt x)
    (hvalidLate : ∀ᵐ y ∂μLate, late.ValidAt y)
    (hadmissibleEarly : ∀ᵐ x ∂μEarly,
      early.AdmissibleAt (q12 ∘ R) (q23 ∘ R) x)
    (hadmissibleLate : ∀ᵐ y ∂μLate, late.AdmissibleAt q12 q23 y)
    (hcoarsen :
      (∫ x, early.actualScore (q12 ∘ R) (q23 ∘ R) x ∂μEarly) ≤
        ∫ y, late.actualScore q12 q23 y ∂μLate) :
    densityCanonicalFlowGapExpanded early late μEarly μLate R q12 q23 ≤
      (∫ x, early.deficit12 x ∂μEarly) +
        (∫ x, early.deficit23 x ∂μEarly) +
        (∫ y, late.deficit13 y ∂μLate) := by
  sorry
Source
Interval-Möbius capacity and temporal block flow, unpublished project note (2026), density-level form of equation (4.2), using Lemma 3.1 / (3.3) and taking the integrated score inequality (4.1) as a hypothesis. This is not a formalization of the manuscript's pathwise derivation of (4.1), nor of a Brownian specialization. CAPACITY_FLOW_THEOREM.md SHA-256 700d20415a4a673e5b27b1e6d508a89204afb85dfe54daddf8d4d84b1492d15f. Exact formal source: formal_capacity/FormalCapacity/Measure/Temporal.lean, FormalCapacity.Measure.temporal_density_capacityFlow_expanded, lines 121–145, including its source docstring; proof helpers temporal_density_capacityFlow (55–82) and densityCanonicalFlowGap_eq_expanded (102–119). Source-file SHA-256 a3635f1e16db99dcb1c6f75e9f898023ec59225c99e22894e21a77556bf1089b. Ranges are compiler-derived. Local source archive; no public repository URL, commit, externally established authorship, or novelty claim is asserted. Target environment: Lean 4.33.1 / Mathlib 0df444a360eaa60ab8c11dca51a86af692955474.

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

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 worksResearch paper
SKILL.mdTourFAQContactJoin Slack© 2026 Prove2Me