Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

§2.3, p. 372 — every scaled permutation matrix is a uniform coupling

Proved
CompOT.Assignment.perm_feasible

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

couplingoptimal-transportp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-bookp2o-v1permutation

Let n>0n>0n>0 and let uuu be the histogram with every entry equal to 1/n1/n1/n. For every permutation σ\sigmaσ of nnn indices, its scaled permutation matrix has both marginals equal to uuu:

Pσ∈U(u,u).P_\sigma\in U(u,u).Pσ​∈U(u,u).

Thus each feasible assignment supplies a feasible point of the Kantorovich relaxation.

Formalization Note The printed text immediately after (2.12) gives the row and column sums as 1n\mathbf1_n1n​; the displayed definition of PσP_\sigmaPσ​ makes them 1n/n\mathbf1_n/n1n​/n, as encoded here.

Preamble
import Mathlib
import Definitions.Def_CompOT_Assignment_Defs
Formal statement
namespace CompOT.Assignment

theorem perm_feasible {n : ℕ} (hn : 0 < n)
    (σ : Equiv.Perm (Fin n)) :
    permCoupling σ ∈ couplings (uniform n) (uniform n) := by sorry

end CompOT.Assignment
Source
Peyré & Cuturi, Computational Optimal Transport (FnT ML 2019), §2.3, p. 372, paragraph after (2.12)
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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me