Multicommodity Max-Flow Min-Cut Theorems and Their Use in Designing Approximation Algorithms II: Every Product Multicommodity Flow Problem with k Commodities Has Ω(𝒮/log k) ≤ f ≤ 𝒮Research Paper
Why multicommodity max-flow and min-cut
For a single commodity, the Ford–Fulkerson theorem says that the maximum flow between two nodes equals the minimum capacity of a cut separating them. Many routing and partitioning problems involve many source–sink pairs at once, and for those the equality fails: the largest fraction of every demand that can be routed simultaneously can be strictly smaller than the sparsest cut. Leighton and Rao (J. ACM 1999, building on their FOCS 1988 paper) proved that the gap is at most logarithmic for broad classes of demand patterns, and turned the proof into the first -approximation algorithms for sparsest cut, balanced separators, minimum feedback arc set, crossing number and VLSI layout problems.
This mission formalizes Section 2.3 of the paper: the extension of the uniform max-flow min-cut theorem to product multicommodity flow problems (PMFPs), where the demand between two nodes is the product of their node weights.
Timeline.
- 1956: Ford and Fulkerson, single-commodity max-flow = min-cut.
- 1963: Hu, equality for two commodities.
- 1988: Leighton and Rao (FOCS), gap for uniform demands; the product-demand extension, pointed out to them by Shmoys, Tardos and Sinclair, appears in the journal version (1999), Theorem 7.
- 1993–1995: Klein–Agrawal–Ravi–Rao, Garg–Vazirani–Yannakakis, Linial–London–Rabinovich and Aumann–Rabani extend the gap to arbitrary demands with commodities.
Setting
A network is a finite vertex set with a symmetric capacity on each pair, zero on the diagonal; is an edge when . For , the cut capacity is . The network is assumed connected: for every nonempty proper .
A PMFP is given by a node weighting . Write for the set of nodes with , , and . As in the paper, the weights are normalized so that . Every pair is a commodity with demand ; there are commodities with nonzero demand. The uniform problem is .
The max-flow is the largest such that units of every commodity can be routed simultaneously, with the total flow on each edge (both directions) at most its capacity. The min-cut is
the quotient being the weighted ratio cost of the cut .
The dual objects are distance functions: lengths on the edges, with total weight ; is the shortest-path distance and . The weighted distance constraint is .
Formalization targets
Goal: Theorem 7 (pp. 801–802)
There is an absolute constant such that every normalized PMFP with on a connected network satisfies
The goal leaves the constant unfixed, which is the paper's .
Milestones, in the order the proof uses them
- Weak duality (§1.2, pp. 789–790): for every cut with positive weight on both sides.
- LP duality for the PMFP (p. 802 with p. 796): distance functions satisfying the weighted constraint have , and one attains .
- Lemma 8 (p. 802): a partition whose components meeting have radius at most and whose cross capacity is at most .
- Corollary 9 (p. 802): either a set of radius with , or a cut of weighted ratio cost .
- Lemma 10 (p. 802): a heavy set far on average from the remaining weight yields a cut of weighted ratio cost .
- Lemma 11 (p. 803): a distance function satisfying the weighted constraint yields a cut of weighted ratio cost .
Stronger companions
- , the constant of the paper's proof.
- Theorem 7 without the normalization , which the paper assumes "without loss of generality".
Significance
Theorem 7 bounds the multicommodity flow–cut gap by for every product demand pattern, so an optimal dual distance function certifies a cut within of the sparsest weighted cut. The paper itself applies it to reversible Markov chains (§3.27, p. 827). There the node weights are the stationary probabilities, and Theorem 7 shows that the inverse conductance and the resistance of a chain agree up to a factor, where is the number of states with positive stationary probability.
Theorem 7 was proved in 1988–1999 and is subsumed, up to the constant, by the general bound for arbitrary demands (Linial–London–Rabinovich 1995; Aumann–Rabani 1998). It has no machine-checked proof, and neither has any of its milestones. A complete development would also be the first formal treatment on Prove2Me of concurrent multicommodity flow, its LP dual, and region-growing (low-diameter) decompositions, which recur across approximation algorithms and metric embeddings.
Difficulty
The upper bound is a counting argument. The lower bound is the work. Rounding an optimal dual distance function to a cut fails directly: thresholding distances from a single node gives no control on the ratio when the weight is spread out. The paper's argument needs a decomposition of the graph into components of small radius that cuts little capacity, with a loss of only , not : the regions must be grown from weighted nodes only, while the many zero-weight nodes still sit inside the graph and its capacities. It must then separately handle the case where one component carries two thirds of the weight. Formally, the LP duality step alone requires a strong-duality statement for a linear program with one constraint per path, exponentially many, which Mathlib does not provide in this form.
Formalization scope
All objects live in the namespace LeightonRao.Product in a single definitions file.
- Network and graph. A network is a symmetric nonnegative capacity function on a finite type with zero diagonal. The graph has an edge where the capacity is positive.
- Commodities. One commodity per ordered pair , with demand each way (the paper's footnote 7). The total demand of a pair is then , and the demand separated by is .
- Max-flow. Flows are arc flows per commodity. The max-flow is the supremum of the feasible values .
- Min-cut. The min-cut ranges only over cuts with and . On the other cuts the paper's quotient is undefined; reading it with Lean's division by zero would make and the goal trivial.
- Distances, radius, cross capacity. Graph distances are infima of walk lengths. The radius of a component is measured by walks inside the component. Cross capacity is the capacity between different parts of a
Finpartition. - Logarithms. is (the paper's footnote 3). For there is one commodity and , so the goal uses .
- Constants. The constants of the milestones are the ones computed in the paper's proofs: in Corollary 9 and Lemma 11, in Lemma 10.
- Hypotheses added to the page, each disclosed in its statement:
- in Lemma 8, where the page says but divides by ;
- in Lemma 8, which is false for ;
- the weighted ratio cost in Lemma 10, as its proof and its use in Lemma 11 require.
- Not formalized. The polynomial-time content of "we can find" is not formalized; each such claim is an existence statement.
Contributions are welcome at every level:
- proofs of the milestones;
- a general strong-duality lemma for concurrent flow, reusable for the uniform, directed and short-path missions of this series;
- a reusable region-growing decomposition lemma.
Selected references
- T. Leighton and S. Rao, Multicommodity max-flow min-cut theorems and their use in designing approximation algorithms, J. ACM 46(6):787–832, 1999. https://doi.org/10.1145/331524.331526
- T. Leighton and S. Rao, An approximate max-flow min-cut theorem for uniform multicommodity flow problems with applications to approximation algorithms, FOCS 1988, 422–431. https://doi.org/10.1109/SFCS.1988.21958
- N. Garg, V. V. Vazirani and M. Yannakakis, Approximate max-flow min-(multi)cut theorems and their applications, SIAM J. Comput. 25(2):235–251, 1996. https://doi.org/10.1137/S0097539793243016
- N. Linial, E. London and Y. Rabinovich, The geometry of graphs and some of its algorithmic applications, Combinatorica 15(2):215–245, 1995. https://doi.org/10.1007/BF01200757
- Y. Aumann and Y. Rabani, An O(log k) approximate min-cut max-flow theorem and approximation algorithm, SIAM J. Comput. 27(1):291–301, 1998. https://doi.org/10.1137/S0097539794285983
- F. Shahrokhi and D. W. Matula, The maximum concurrent flow problem, J. ACM 37(2):318–334, 1990. https://doi.org/10.1145/77600.77620