Gomory–Hu trees of weighted undirected graphs with real capacities #
This module specializes the abstract Gomory-Hu theory to graphs with capacities in a linearly ordered field, proving cut-equivalence and flow-equivalence.
Main results #
Cslib.WeightedCut.isMinCutBetween_cutWeight_iff_minRealCutBetween: minimum cuts are the sets attainingminRealCutBetween.Cslib.Algorithms.Lean.GomoryHu.exists_isGomoryHuTree_cutWeight_of_symm: the Gomory–Hu theorem for symmetric non-negative weights in a linearly ordered field.Cslib.Algorithms.Lean.GomoryHu.IsGomoryHuTree.isLeast_minRealCutBetween: flow-equivalence.Cslib.Algorithms.Lean.GomoryHu.card_image_minRealCutBetween_le: at most|V| - 1distinct values.
The minimum s–t cuts of the cut function are the sets containing s and missing t
whose weight is λ(s, t).
Gomory–Hu theorem ([GH61]; [Sch03], Section 15.4): every weighted
multigraph W on a nonempty finite vertex set has a cut-equivalent tree, a spanning tree T on
the vertices in which for every edge uv, the side of T - uv containing u is a minimum u–v
cut of W. The edges of T need not be edges of W.
Flow-equivalence of a Gomory–Hu tree ([GH61]): with each tree edge uv weighted
by λ(u, v), the minimum s–t cut weight λ(s, t) is the least weight of an edge on the
s–t path of the tree.
An undirected weighted graph on n vertices has at most n - 1 distinct minimum cut values
λ(s, t) over pairs of distinct vertices ([GH61]).