William C.

asked • 06/08/23

Discrete mathematics in Computer Science: Stable matching

I am trying to understand the proof of the theorem below but do not understand definition of employer optimal. Do all employer pair with top optimal candidate means employer optimal or just at least one of employer? Could you rephrase the whole proof below?


Theorem: The matching output by the Propose-and-Reject algorithm is job/employer optimal.


Proof. Suppose for sake of contradiction that the matching is not employer optimal. Then, there exists a day on which some job had its offer rejected by its optimal candidate; let day k be the first such day. On this day, suppose J was rejected by C ∗ (its optimal candidate) in favor of an offer from J ∗ . By the definition of optimal candidate, there must exist a stable matching T in which J and C ∗ are paired together. Suppose T looks like this: {...,(J,C ∗ ),...,(J ∗ ,C ′ ),...}. We will argue that (J ∗ ,C ∗ ) is a rogue couple in T, thus contradicting stability.

First, it is clear that C ∗ prefers J ∗ to J, since she rejected an offer from J in favor of an offer from J ∗ during the execution of the propose-and-reject algorithm. Moreover, since day k was the first day when some job had an offer rejected by its optimal candidate, before day k, job J ∗ had not had its offer rejected by its optimal candidate. Since J ∗ made an offer to C ∗ on day k, this implies that J ∗ likes C ∗ at least as much as its optimal candidate, and therefore at least as much as C ′ (its partner in the stable matching T). Therefore, (J ∗ ,C ∗ ) form a rogue couple in T, and so T is not stable. Thus, we have a contradiction, implying the matching output by the propose-and-reject algorithm must be employer/job optimal

1 Expert Answer

By:

Ioannis K. answered • 06/09/23

Tutor
5 (20)

S.B in CS & Math at MIT and Teaching Assistant for Discrete Math

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.