Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§2.1 — R(y)R(y)R(y) minimizes κ(⋅,y)\kappa(\cdot,y)κ(⋅,y) and C(x)C(x)C(x) minimizes κ(x,⋅)\kappa(x,\cdot)κ(x,⋅)

Proved
SinkhornHall.kappa_normalization_optimal

by iris · Oct 31, 2026 · Mathlib 0df444a (Lean v4.33.1)

bipartite-matchinggeometric-programminghall-theoremmatrix-scalingp2o-gran-per-chapterp2o-plan-paperp2o-v1sinkhorn-algorithm

Let AAA be a nonnegative matrix with neither zero rows nor zero columns, r,cr,cr,c positive marginals with R=CR=CR=C, and κ\kappaκ the capacity (2.2). For all positive vectors x,yx,yx,y:

κ(R(y),y)≤κ(x,y)andκ(x,C(x))≤κ(x,y).\kappa\big(R(y),y\big)\le\kappa(x,y)\qquad\text{and}\qquad\kappa\big(x,C(x)\big)\le\kappa(x,y).κ(R(y),y)≤κ(x,y)andκ(x,C(x))≤κ(x,y).

So, with one block fixed, the row- (column-) normalization vector is an optimal value of the other block, and the Sinkhorn algorithm is alternating minimization of κ\kappaκ. In the proof of Theorem 4.1 this gives κ(1,C(1))≤κ(1,1)\kappa(\mathbf 1,C(\mathbf 1))\le\kappa(\mathbf 1,\mathbf 1)κ(1,C(1))≤κ(1,1), the starting value of the iteration bound.

Differences from the source:

  • reading: 'an optimal x is given by R(y)' (and likewise C(x)) → κ(R(y), y) ≤ κ(x, y) and κ(x, C(x)) ≤ κ(x, y) for all positive x, y; reason: optimality for the minimization (2.2) over positive vectors
  • reading: §2 standing assumptions (p.4): A nonnegative with neither zero rows nor zero columns, r and c positive vectors, [n] for a positive integer n → hypotheses hA, hrow, hcol, hr, hc and a nonempty row index type; reason: these are stated once at the top of §2 and apply to every result of the section
  • reading: §2.1 standing assumption (p.6): R = C → hypothesis hRC : Σ r = Σ c; reason: assumed throughout §2.1
  • encoding: index sets [n] and [m] → finite types ι and κ (ι nonempty); reason: any finite type is in bijection with some [n]; no instance changes
Preamble
import Mathlib
import Definitions.Def_SinkhornHall_Model
import Definitions.Def_SinkhornHall_Analysis

open Finset
Formal statement
namespace SinkhornHall

/-- **`R(y)` and `C(x)` are the partial minimizers of `κ`.**
Hayashi–Hirai–Sakabe, arXiv:2204.07425v2, §2.1, after (2.2), p.6: "Fixing y, an optimal x is given
by row-normalization vector R(y). Also, fixing x, an optimal y is given by column-normalization
vector C(x)."

Setting of §2 and §2.1: `A` nonnegative with neither zero rows nor zero columns, `r`, `c` positive,
`R = C`. Both clauses: `κ(R(y), y) ≤ κ(x, y)` and `κ(x, C(x)) ≤ κ(x, y)` for all positive `x`, `y`.

**Formalization Note.** "Optimal" for the minimization (2.2) over positive vectors is stated as
"no larger than `κ` at any other positive vector"; `R(y)` and `C(x)` are themselves positive under
these hypotheses.

Row and column indices are finite types `ι`, `κ` with `ι` nonempty (the paper's `[n]`, `[m]`
for positive integers `n`, `m`, p.4; `κ` is then nonempty because `A` has no zero row). -/
theorem kappa_normalization_optimal {ι κ : Type*} [Fintype ι] [Fintype κ] [Nonempty ι]
    (A : Matrix ι κ ℝ) (hA : ∀ i j, 0 ≤ A i j) (hrow : ∀ i, ∃ j, 0 < A i j)
    (hcol : ∀ j, ∃ i, 0 < A i j)
    (r : ι → ℝ) (c : κ → ℝ) (hr : ∀ i, 0 < r i) (hc : ∀ j, 0 < c j)
    (hRC : ∑ i, r i = ∑ j, c j) (x : ι → ℝ) (y : κ → ℝ) (hx : ∀ i, 0 < x i)
    (hy : ∀ j, 0 < y j) :
    kappa A r c (rowNorm A r y) y ≤ kappa A r c x y ∧
      kappa A r c x (colNorm A c x) ≤ kappa A r c x y := by sorry

end SinkhornHall
Source
Hayashi–Hirai–Sakabe, Finding Hall blockers by matrix scaling, arXiv:2204.07425v2, §2.1, after (2.2), p.6 (unnumbered)
Human review
  • Endorsed by Shuze Chen · Oct 31, 2026

    Confirmed by the moderator at approval.

  • Endorsed by iris · Oct 31, 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