Minimum Cost Flows in Graphs with Unit Capacities: When the Second Phase of a Cost Scale Starts, at Most 3λ Excess Is Left for λ = √m and 36λ for λ = n^(2/3)Research Paper
Motivation
Minimum-cost flow is a standard model for routing a quantity through a network while paying a cost on each arc. Unit capacities arise when each input arc can carry at most one unit; they include flow formulations of several matching and assignment problems. Goldberg, Kaplan, Hed and Tarjan analyze a cost-scaling algorithm for this setting. Their second-phase argument depends on a bound on the excess left in a pseudoflow when every excess vertex has undergone enough potential increases. This mission formalizes that bound, Lemma 5 of their STACS 2015 paper. The published paper gives an running-time bound for its unit-capacity algorithm; the running-time statement itself is outside this mission.
Setting
A network has a finite vertex set and an arc set that contains both orientations of each input arc. Write . Every input arc has capacity one; its reverse has capacity zero and opposite cost. Write for the number of input arcs, so . The paper assumes no parallel or antiparallel input arcs, allowing an arc to be identified by its ordered endpoints. Costs are antisymmetric between orientations.
A pseudoflow assigns an antisymmetric quantity to each arc and respects its capacity. Its excess at is the sum of incoming flow. Positive excess means that has flow to discharge; negative excess is a deficit. A circulation is a pseudoflow with zero excess at every vertex. An arc is residual for when its residual capacity is positive. For vertex prices , its reduced cost is . A pseudoflow is -optimal at when every residual arc has reduced cost at least . These are the paper's conventions on p. 408.
At the start of a cost scale, let be a circulation that is -optimal at prices . During the scale, is a pseudoflow that is -optimal at prices . The potential increase in scale units is . Put . The second phase begins when every excess vertex has ; the paper also states that every deficit then has and that the levels are integral. The remaining excess is .
The comparison graph has arcs and vertices . An excess–deficit cut meets every path in this graph from an excess vertex to a deficit vertex. Thus a cut is measured among comparison arcs, not among arbitrary arcs of the original network. Lemmas 3 and 4 of the paper establish the level and cut bounds on which the excess estimate rests.
Formalization targets
The goal is Lemma 5 on p. 410, stated with both constants obtained in its proof. Under the cost-scale conditions above, and the divisibility conventions in footnotes 5–6, its two cases are
The second case also assumes that six divides the integer ; the first uses divisibility by three. The goal keeps the two conclusions separate so that the stronger bound is retained when determines the scale. Its milestone list follows the paper: Lemma 3 bounds by three on an arc of ; Lemma 4 bounds total excess by a cut; and the proof of Lemma 5 supplies the cut bands and the two size estimates. The bands use the exact three-level and six-level ranges printed on p. 410.
Significance
The result connects a condition on price increases to a numerical bound on the amount of flow still needing discharge. Combined with the paper's time per unit of remaining excess, this is the bound needed for its second-phase running-time estimate. The two regimes show how the same cost-scale state can be controlled by either the number of input arcs or the number of vertices. Without the excess bound, the paper's argument gives no comparable limit on the remaining work at the phase transition.
The paper proves Lemma 5, but this particular unit-capacity excess argument has no matching theorem in the platform catalog checked for this mission. The network, circulation and pseudoflow interfaces are already published as reusable definitions from earlier cost-scaling work. A completed machine-checked development would add the cut argument and band counts to those interfaces. Those facts can also support other analyses that compare an entry circulation with an intermediate pseudoflow; this mission does not claim to formalize the algorithm's entire execution or its running-time model.
Difficulty
The main obstacle is linking local price inequalities to a global bound on excess. A reduced-cost inequality controls a single residual arc, while excess may move through a path and is measured over many vertices. The comparison graph is essential: on a residual arc outside , the level difference used by Lemma 3 is not available. Counting all residual arcs as if they were comparison arcs would therefore not justify the cut bound. There is a separate counting issue: the represented network has both directions of each input arc, so using for changes the constant in the square-root case.
Formalization scope
Lean represents the network by a finite symmetric arc set with real capacities and antisymmetric real costs. A local unit-capacity predicate marks each reverse pair as capacities or ; counts the capacity-one orientations. Flows are real valued as on p. 408. Integer costs on that page are generalized to real costs because Lemmas 3–5 use only antisymmetry and reduced-cost inequalities. No result here depends on cost integrality.
The formalization takes the cost-scale state as hypotheses: , entry circulation and -optimality, current -optimality, integral levels, level at least at excess vertices, and zero level at deficits. It takes as a natural number equal to and records the paper's divisibility simplifications. The indexed pigeonhole milestones also require so their index ranges are nonempty; the goal includes the zero-arc boundary without requiring an index. Cuts use reachability after deleting a subset of , equivalent to meeting every excess-to-deficit path. The proof of Lemma 5 prints “cut in ”; the formalized claim uses , the graph for which Lemma 3 gives the required level control and Lemma 4 states its bound.
The definition layer, path-cut lemma and finite counting arguments are the reusable infrastructure. Contributions that establish these exact statements, their necessary elementary flow identities, or a machine-checked goal proof are in scope. Counting with reverse arcs, allowing cuts outside , using arbitrary real levels in place of integral ones, or replacing both cases by the weaker bound does not express this target.
Selected references
- A. V. Goldberg, H. Kaplan, S. Hed and R. E. Tarjan, Minimum Cost Flows in Graphs with Unit Capacities, 32nd International Symposium on Theoretical Aspects of Computer Science, LIPIcs 30, pp. 406–419, 2015. doi:10.4230/LIPIcs.STACS.2015.406.