Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proof of Proposition 2.2, pp. 377–378 — if a ≠ b, every coupling in U(a, b) has a nonzero off-diagonal entry

Proved
CompOT.Metric.prop_2_2_offdiag_mass

by mikedeng1 · Oct 8, 2026 · Mathlib 0df444a (Lean v4.33.1)

optimal-transportp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-bookp2o-v1transportation-polytope

Let a,b∈Σna,b\in\Sigma_na,b∈Σn​ with a≠ba\ne ba=b, and let P∈U(a,b)P\in U(a,b)P∈U(a,b). Then PPP has a nonzero element outside the diagonal:

∃ i≠j:Pi,j≠0.\exists\, i\ne j:\quad P_{i,j}\ne 0.∃i=j:Pi,j​=0.

This is the combinatorial half of the positivity of Wp(a,b)\mathrm W_p(a,b)Wp​(a,b) for a≠ba\ne ba=b: a coupling supported on the diagonal has equal row and column sums, so it only couples a histogram with itself.

Formalization Note Indices are Fin n.

Preamble
import Mathlib
import Definitions.Def_CompOT_Metric_Defs
Formal statement
namespace CompOT.Metric

open Matrix

/-- Proof of Proposition 2.2, pp. 377–378: if `a ≠ b`, an admissible coupling
`P ∈ U(a, b)` necessarily has a nonzero element outside the diagonal. -/
theorem prop_2_2_offdiag_mass {n : ℕ} (a b : Fin n → ℝ)
    (ha : a ∈ stdSimplex ℝ (Fin n)) (hb : b ∈ stdSimplex ℝ (Fin n)) (hab : a ≠ b)
    (P : Matrix (Fin n) (Fin n) ℝ) (hP : P ∈ CompOT.Assignment.couplings a b) :
    ∃ i j, i ≠ j ∧ P i j ≠ 0 := by sorry

end CompOT.Metric
Source
Peyré & Cuturi, Computational Optimal Transport (FnT ML 2019), proof of Proposition 2.2, pp. 377–378
Human review
  • Endorsed by Shuze Chen · Oct 8, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 8, 2026

    Confirmed by the mission captain (proposal self-audit).

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, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me