Correctness

Furthermore, the final marriage is stable (Theorem 6). Proof by contradiction.

Since the algorithm always terminates (Theorem 5), and the returned matching is stable (Theorem 6), then there is always a stable marriage, for any well-formed set of ROLs (Theorem 2). Note that this is a proof by algorithmic correctness!


next up previous
Next: Boy Optimality Up: UNDERSTANDING THE ALGORITHM Previous: Termination