Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§4, proof of Thm 4.1 (pp. 227–228) — min of Σa|zᵢ−zⱼ| / Σb|zᵢ−zⱼ| is attained at a 0/1 vector

Disproved
GeometryOfGraphs.FlowCut.variational_zero_one

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

combinatorial-optimizationgraph-cutsp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1

Let VVV be a finite set and let aij=ajia_{ij} = a_{ji}aij​=aji​ be real weights and bij=bji≥0b_{ij} = b_{ji} \ge 0bij​=bji​≥0 be weights on pairs of elements of VVV. For z∈RVz \in \mathbb R^Vz∈RV consider

R(z)=∑i≠jaij ∣zi−zj∣∑i≠jbij ∣zi−zj∣.R(z) = \frac{\sum_{i \ne j} a_{ij}\,|z_i - z_j|}{\sum_{i \ne j} b_{ij}\,|z_i - z_j|}.R(z)=∑i=j​bij​∣zi​−zj​∣∑i=j​aij​∣zi​−zj​∣​.

The minimum of RRR over real vectors with a nonzero denominator is attained at a 0/1 vector: for every zzz with ∑i≠jbij∣zi−zj∣>0\sum_{i\ne j} b_{ij}|z_i - z_j| > 0∑i=j​bij​∣zi​−zj​∣>0 there is a set S⊆VS \subseteq VS⊆V whose indicator vector 1S\mathbf 1_S1S​ also has a positive denominator and satisfies R(1S)≤R(z)R(\mathbf 1_S) \le R(z)R(1S​)≤R(z).

With a=Ca = Ca=C and bbb the demand weights, R(1S)=Cap(S)/Dem(S)R(\mathbf 1_S) = \mathrm{Cap}(S)/\mathrm{Dem}(S)R(1S​)=Cap(S)/Dem(S), so this is the step of the proof of Theorem 4.1 that turns the best coordinate of an ℓ1\ell_1ℓ1​ embedding into an actual cut.

Formalization Note The page says "for any real aij=ajia_{ij} = a_{ji}aij​=aji​, bij=bjib_{ij} = b_{ji}bij​=bji​". The statement adds b≥0b \ge 0b≥0, which the page's argument needs (it treats the expression as a ratio of two linear functions whose denominator stays positive) and which holds in the application (capacities and demands). The minimum is taken over zzz with a nonzero denominator, where the ratio is defined. The inequality is cross-multiplied, and the sums run over all ordered pairs, the diagonal terms being zero.

Preamble
import Mathlib

set_option autoImplicit false
Formal statement
namespace GeometryOfGraphs.FlowCut

/-- §4, proof of Theorem 4.1 (pp. 227–228): for symmetric real weights `a` and nonnegative weights `b`, the
minimum over real vectors `z` of `Σ_{i≠j} a_{ij} |z_i - z_j| / Σ_{i≠j} b_{ij} |z_i - z_j|` is attained
at a 0/1 vector. Stated as: every `z` with positive denominator is matched or beaten (cross-multiplied)
by the indicator vector `1_S` of some vertex set `S`, which also has positive denominator. Diagonal
terms vanish, so the sums run over all ordered pairs. The page says "any real a, b";
nonnegativity of `b` is added (see the mission notes). -/
theorem variational_zero_one {V : Type*} [Fintype V] [DecidableEq V] (a b : V → V → ℝ)
    (hb : ∀ i j, 0 ≤ b i j)
    (ha_symm : ∀ i j, a i j = a j i) (hb_symm : ∀ i j, b i j = b j i)
    (z : V → ℝ) (hz : 0 < ∑ i, ∑ j, b i j * |z i - z j|) :
    ∃ S : Finset V,
      0 < ∑ i, ∑ j, b i j * |(if i ∈ S then (1 : ℝ) else 0) - (if j ∈ S then 1 else 0)| ∧
      (∑ i, ∑ j, a i j * |(if i ∈ S then (1 : ℝ) else 0) - (if j ∈ S then 1 else 0)|) *
          (∑ i, ∑ j, b i j * |z i - z j|) ≤
        (∑ i, ∑ j, a i j * |z i - z j|) *
          (∑ i, ∑ j, b i j * |(if i ∈ S then (1 : ℝ) else 0) - (if j ∈ S then 1 else 0)|) := by sorry

end GeometryOfGraphs.FlowCut
Source
N. Linial, E. London, Y. Rabinovich, The geometry of graphs and some of its algorithmic applications, Combinatorica 15 (1995), pp. 227–228, proof of Theorem 4.1, paragraph 'To justify the assumption'
Human review
  • Endorsed by Shuze Chen · Oct 6, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 6, 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