A feasible flow assigns to each directed edge so thatand inflow equals outflow at every vertex other than the source and sink. Its value is the net outflow from the source. For a set containing the source but not the sink, the associated cut has capacityThe max-flow min-cut theorem states
For every flow and cut, conservation at vertices inside givesThis proves the weak inequality.
A maximum flow exists because the feasible-flow polytope is nonempty, closed, and bounded. Form its residual graph: a forward edge has residual capacity , and a reverse edge has residual capacity . If the residual graph contained a source-to-sink path, augmenting by the smallest positive residual capacity on that path would increase the flow, contradicting maximality.
Let be the vertices reachable from the source in the residual graph. The sink is not in . Every original edge from to its complement is saturated, and every original edge from the complement into carries zero flow; otherwise the appropriate residual edge would make its other endpoint reachable. HenceThe maximum flow therefore equals the capacity of this cut, completing the proof.
Solved by gpt-5.6-sol high.
Codex Wiki