Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proposition 3.5, p. 415 — (f, g) + ε(1_S, −1_S′) stays dual feasible for small ε > 0 if S′ contains every balanced neighbour of S

Proved
CompOT.DualAscent.proposition_3_5

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

dual-ascentlp-dualityoptimal-transportp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-bookp2o-v1

Let C∈Rn×mC \in \mathbb{R}^{n\times m}C∈Rn×m and let (f,g)∈R(C)(f,g) \in R(C)(f,g)∈R(C) be dual feasible: fi+gj≤Ci,jf_i + g_j \le C_{i,j}fi​+gj​≤Ci,j​ for all i,ji, ji,j. Call (i,j′)(i,j')(i,j′) balanced if fi+gj=Ci,jf_i + g_j = C_{i,j}fi​+gj​=Ci,j​. Let S⊂[ ⁣[n] ⁣]S \subset [\![n]\!]S⊂[[n]] and S′⊂[ ⁣[m] ⁣]′S' \subset [\![m]\!]'S′⊂[[m]]′, and assume that for every i∈Si \in Si∈S, every balanced pair (i,j′)(i,j')(i,j′) has j′∈S′j' \in S'j′∈S′. Then there is ε0>0\varepsilon_0 > 0ε0​>0 such that for every 0<ε≤ε00 < \varepsilon \le \varepsilon_00<ε≤ε0​ the perturbed pair

(f~,g~)=(f,g)+ε(1S,−1S′)(\tilde f, \tilde g) = (f, g) + \varepsilon(\mathbb{1}_S, -\mathbb{1}_{S'})(f~​,g~​)=(f,g)+ε(1S​,−1S′​)

is dual feasible, i.e. f~i+g~j≤Ci,j\tilde f_i + \tilde g_j \le C_{i,j}f~​i​+g~​j​≤Ci,j​ for all i,ji, ji,j.

It describes which sparse 0/±10/\pm10/±1 perturbations of a feasible dual pair keep it feasible; together with Proposition 3.6 it yields the ascent step of the primal-dual (Hungarian-type) method.

Formalization Note The book's "dual feasible for a small enough ε>0\varepsilon > 0ε>0" is stated in the stronger, equivalent form "for every ε∈(0,ε0]\varepsilon \in (0, \varepsilon_0]ε∈(0,ε0​]" (the feasible set R(C)R(C)R(C) is convex and contains (f,g)(f,g)(f,g), so feasibility at one ε\varepsilonε implies it at every smaller one). SSS and S′S'S′ are Finsets of Fin n, Fin m; 1S\mathbb 1_S1S​ is indicatorVec S.

Preamble
import Mathlib
import Definitions.Def_CompOT_DualAscent_Defs
Formal statement
namespace CompOT.DualAscent

/-- Proposition 3.5, p. 415: if `(f, g)` is dual feasible and, for every `i ∈ S`, every pair
`(i, j')` balanced for `(f, g)` has `j' ∈ S'`, then `(f, g) + ε (𝟙_S, -𝟙_{S'})` is dual
feasible for every sufficiently small `ε > 0`. -/
theorem proposition_3_5 {n m : ℕ} (C : Matrix (Fin n) (Fin m) ℝ) (f : Fin n → ℝ) (g : Fin m → ℝ)
    (hfg : CompOT.Duality.dualFeasible C f g) (S : Finset (Fin n)) (S' : Finset (Fin m))
    (hS : ∀ i ∈ S, ∀ j : Fin m, Balanced C f g i j → j ∈ S') :
    ∃ ε₀ : ℝ, 0 < ε₀ ∧ ∀ ε : ℝ, 0 < ε → ε ≤ ε₀ →
      CompOT.Duality.dualFeasible C (f + ε • indicatorVec S) (g - ε • indicatorVec S') := by sorry

end CompOT.DualAscent
Source
Peyré & Cuturi, Computational Optimal Transport (FnT ML 2019), Proposition 3.5, p. 415
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