Construct the following cut: Let the top nodes be the unmatched
left nodes along with all those nodes reachable by alternating
red-green paths from them. Let the bottom nodes be the others.
Facts:
- All y top right nodes are matched. What would it mean if a top
right node were unmatched? Augmenting path.
- All x bottom left nodes are matched. By definition... all
unmatched left nodes were put on top.
- There are z=0 edges from top left to bottom right. Such an edge
couldn't be red, because any right node with a red edge from the top
is itself a top, by definition. But such an edge couldn't be green,
either, because all top left nodes are either unmatched (the starter
nodes), or matched to a top right node (the others).
So, the size of this cut is equal to the size of the matching.
Therefore, we have a maximum matching, since cut sizes are upper
bounds on matching sizes.
Next: FORD-FULKERSON METHOD
Up: MIN-CUT MAX-FLOW
Previous: Max-flow Min-cut Theorem