Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§4, p. 226 — every concurrent flow value λ satisfies λ ≤ Cap(S)/Dem(S)

Proved
GeometryOfGraphs.FlowCut.weak_duality_cut

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

graph-cutsmulticommodity-flowp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1

Let NNN be a multicommodity flow network on a finite vertex set VVV with capacities CCC and commodities (sμ,tμ,Dμ)μ=1k(s_\mu, t_\mu, D_\mu)_{\mu=1}^k(sμ​,tμ​,Dμ​)μ=1k​. If there is a feasible concurrent flow of value λ≥0\lambda \ge 0λ≥0, then for every S⊆VS \subseteq VS⊆V

λ⋅Dem(S)≤Cap(S).\lambda \cdot \mathrm{Dem}(S) \le \mathrm{Cap}(S).λ⋅Dem(S)≤Cap(S).

This is the "trivial upper bound" of the paper: every cut bounds the concurrent flow, λ≤Cap(S)/Dem(S)\lambda \le \mathrm{Cap}(S)/\mathrm{Dem}(S)λ≤Cap(S)/Dem(S). It is the easy direction of the flow–cut gap that Theorem 4.1 controls, and it shows that maxflow\mathrm{maxflow}maxflow is finite whenever some cut separates a pair with positive demand.

Formalization Note The inequality is cross-multiplied, so it also covers Dem(S)=0\mathrm{Dem}(S) = 0Dem(S)=0.

Preamble
import Mathlib
import Definitions.Def_GeometryOfGraphs_FlowCut_Network
import Definitions.Def_GeometryOfGraphs_FlowCut_Maxflow

set_option autoImplicit false
Formal statement
namespace GeometryOfGraphs.FlowCut

/-- §4, p. 226: "Obviously, λ ≤ Cap(S)/Dem(S) for every S." Every feasible concurrent flow value
`lam ≥ 0` satisfies `lam * Dem(S) ≤ Cap(S)` for every vertex set `S` (cross-multiplied). -/
theorem weak_duality_cut {V : Type*} [Fintype V] [DecidableEq V] (N : Network V)
    (f : Fin N.k → V → V → ℝ) (lam : ℝ) (hlam : 0 ≤ lam) (hf : N.IsFeasibleFlow f lam)
    (S : Finset V) :
    lam * N.Dem S ≤ N.Cap S := 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), p. 226, Section 4, second paragraph
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