§4, proof of Thm 4.1, first display (p. 227) — maxflow = min over metrics d of ΣC·d / ΣD·d
ProvedGeometryOfGraphs.FlowCut.lp_dualityLet be a multicommodity flow network on a finite vertex set with capacities and commodities , and suppose some commodity has and . Then the maxflow is the minimum, over semi-metrics on , of the ratio
where the numerator sums over unordered pairs . Precisely:
- for every semi-metric on , ;
- some semi-metric with attains equality.
The paper obtains this from linear programming duality (citing [24]): the maxflow is the optimum of a linear program whose dual is the metric relaxation of the sparsest cut. It turns the flow problem into a question about a metric, which is where the embedding results of Section 3 enter.
Formalization Note The page writes the numerator as over ordered pairs, which counts each edge twice while maxflow and count each edge once; read literally it is off by a factor . The statement uses unordered pairs, written . The same convention is used in the coordinate-minimum display, so the chain of the proof is unchanged. "Metric" means semi-metric (p. 218, footnote 1).
import Mathlib import Definitions.Def_GeometryOfGraphs_FlowCut_Pseudometric import Definitions.Def_GeometryOfGraphs_FlowCut_Network import Definitions.Def_GeometryOfGraphs_FlowCut_Maxflow set_option autoImplicit false
namespace GeometryOfGraphs.FlowCut
/-- §4, proof of Theorem 4.1, first display (p. 227): by LP duality,
`maxflow = min_d (Σ_{edges} C_{ij} d_{ij}) / (Σ_μ D_μ d_{s_μ t_μ})` over (semi-)metrics `d` on `V`.
Stated cross-multiplied: (1) every pseudometric `d` gives an upper bound on `maxflow`; (2) some
pseudometric with positive denominator attains it. Edge sums are over unordered pairs, written as
`(1/2) * Σ_i Σ_j`, so that each edge's capacity is counted once, as in `Cap`. -/
theorem lp_duality {V : Type*} [Fintype V] [DecidableEq V] (N : Network V)
(hN : ∃ μ, 0 < N.D μ ∧ N.s μ ≠ N.t μ) :
(∀ d : V → V → ℝ, IsPseudometric d →
N.maxflow * ∑ μ, N.D μ * d (N.s μ) (N.t μ) ≤ (1 / 2) * ∑ i, ∑ j, N.C i j * d i j) ∧
∃ d : V → V → ℝ, IsPseudometric d ∧ 0 < ∑ μ, N.D μ * d (N.s μ) (N.t μ) ∧
N.maxflow * ∑ μ, N.D μ * d (N.s μ) (N.t μ) = (1 / 2) * ∑ i, ∑ j, N.C i j * d i j := by sorry
end GeometryOfGraphs.FlowCut
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.