Employment by lotto revisited
Abstract
We study employment by lotto (Aldershof et al., 1999), a matching algorithm for the so-called stable marriage problem. We complement Aldershof et al.'s analysis in two ways. First, we give an alternative and intuitive description of employment by lotto. Second, we disprove Aldershof et al.'s conjectures concerning employment by lotto for general matching markets.
Full text
Employment by Lotto Revisited∗ Bettina Klaus†Flip Klijn‡ January 2006 Abstract We study employment by lotto (Aldershof et al., 1999), a procedurally fair matching algorithm for the so-called stable marriage problem. We complement Aldershof et al.’s (1999) analysis in two ways. First, we give an alternative and intuitive description of employment by lotto in terms of a probabilistic serial dictatorship on the set of stable matchings. Second, we show that Aldershof et al.’s conjectures are correct for small matching markets but not necessarily correct for large matching markets. Keywords: employment by lotto, probabilistic mechanism, two-sided matching, stability. 1 Introduction The so-called marriage model is concerned with (two-sided, one-to-one) matching markets where the two sides of the market, for instance, are firms and workers. A matching is then a partition of all firms and workers into pairs and unmatched firms and/or workers. Such a matching is “stable” if each firm and worker has an acceptable match, and no firm and worker prefer one another to their respective matches. Gale and Shapley (1962) were the first to formalize this notion of stability and provide an algorithm to calculate stable matchings. Their results inspired many researchers to study stability and its importance for real-life matching markets; see Roth and Sotomayor (1990) for an excellent survey. An important property of the set of stable matchings is its lattice structure and, as a consequence, the polarization between stable matchings. In particular, there always exists a best stable matching for firms (workers) which is at the same time the worst stable matching for the workers (firms). Using Gale and Shapley’s (1962) deferred acceptance algorithm both optimal matchings can be easily calculated. However, by choosing optimal stable matchings one side of the market is clearly favored over the other side. Masarani and Gokturk (1989) showed several impossibilities to obtain a fair deterministic matching mechanism within the context of Rawlsian justice based on cardinal preference information. One way to recover fairness is to use probabilistic (stable) matching mechanisms that are ex ante fair and/or ‘procedurally fair;’ see for instance Aldershof et al. (1999), Klaus and Klijn (2006), and Ma (1996). ∗B. Klaus’s and F. Klijn’s research was supported by Ram´on y Cajal contracts of the Spanish Ministerio de Ciencia y Tecnolog´ıa. F. Klijn’s work was also partially supported by the Barcelona Economics Program of CREA. This paper is part of the Polarization and Conflict Project CIT-2-CT-2004-506084 funded by the European Commission-DG Research Sixth Framework Programme. This article reflects only the authors’ views and the Community is not liable for any use that may be made of the information contained therein. †Department of Economics, Maastricht University, P.O. Box 616, 6200 MD Maastricht, The Netherlands; e-mail: [email protected] ‡Corresponding author. Institut d’An`alisi Econ`omica (CSIC), Campus UAB, 08193 Bellaterra (Barcelona), Spain; Tel. (34) 93 580 6612; Fax. (34) 93 580 1452; e-mail: [email protected] 1
In this paper we focus on employment by lotto, a probabilistic stable matching algorithm introduced by Aldershof et al. (1999) to avoid the inherent favoritism explained above. Aldershof et al. (1999, p. 281) introduced employment by lotto as a new procedure that combines a proposal algorithm and a refining process of the set of linear inequalities that describe the set of stable matchings. Our first contribution is to propose an alternative and easy description/interpretation of employment by lotto. Loosely speaking, employment by lotto can be considered to be a random serial dictatorship on the set of stable matchings. A first agent (a firm or a worker)1is drawn randomly and can discard all stable matchings in which it is not matched to its best partner (possibly itself) in a stable matching. Exclude the first agent and its partner from the set of agents and randomly choose the next agent who can discard all stable matchings in which it is not matched to its best partner in the reduced set of stable matchings. Continue with this sequential reduction of the set of stable matchings until it is reduced to a singleton. Using all possible sequences of agents, this mechanism induces the same probability distribution on the set of stable matchings as employment by lotto. Our second contribution is to address Aldershof et al.’s (1999, p. 288) conjectures on a symmetry and a monotonicity property of the probability distribution induced by employment by lotto. The first conjecture says that if the two sides of the market have the same cardinality then the two extreme stable matchings are equiprobable. We prove that this is indeed true if there are no more than three agents on each side of the market. We also show that for markets with more than three agents on each side the conjecture is not necessarily true. The second conjecture states that the probability distribution on the lattice of stable matchings is in some sense unimodal. We show that there is a problem with Aldershof et al.’s (1999) implicit assumption that the lattice can be partitioned in certain “natural” levels. Moreover, even for markets where this problem does not arise, the probability distribution may not be unimodal. In all our examples, we implement employment by lotto using Matlab c °. The article is organized as follows. In Section 2 we introduce the matching model. In Section 3 we first recall Aldershof et al.’s (1999) definition of employment by lotto. Then, we describe our alternative random “serial-dictatorship” mechanism and prove its equivalence with employment by lotto. Finally, in Section 4 we present our results concerning Aldershof et al.’s (1999) conjectures. 2 The Matching Model There are two finite and disjoint sets of agents of equal size:2a set F={f1, . . . , fn}of firms and a set W={w1, . . . , wn}of workers. Thus, |F|=|W|=nand |F∪W|= 2n. We denote a generic agent by i, a generic firm by f, and a generic worker by w. Each agent has a complete, transitive, and strict preference relation over the agents on the other side of the market and the prospect of being alone. Hence, firm f’s preferences ºfcan be represented as a strict ordering P(f) of the elements in W∪ {f}, for instance: P(f) = w3w2f w1. . . w4,which indicates that fprefers w3to w2and it prefers remaining single to any other worker. Similarly, worker w’s preferences ºwcan be represented as a strict ordering P(w) of the elements in F∪ {w}. Let Pbe the profile of all agents’ preferences: P= (P(i))i∈F∪W. 1To avoid the distinction between genders “he, she, and it,” we simply refer to any agent as “it.” 2Employment by lotto (and our alternative description in Section 3) also applies to unequal sizes. We make the assumption of equal size to simplify notation and because it is crucial for Aldershof et al.’s (1999) conjectures. 2
We write wÂfw0if fstrictly prefers wto w0(w6=w0), and wºfw0if flikes wat least as well as w0(wÂfw0or w=w0). Similarly we write fÂwf0and fºwf0. A worker wis acceptable to a firm fif wÂfm. Analogously, a firm fis acceptable to a worker wif fÂww. Also, any agent is acceptable to itself. Amatching market is a triple (F, W, P ). A matching for (F, W, P ) is a function µ:F∪ W→F∪Wsuch that for all f∈Fand w∈Wit holds that µ(f) = w⇔µ(w) = f, µ(f)6∈ W⇒µ(f) = f, and µ(w)6∈ F⇒µ(w) = w. If µ(f) = w, then firm fand worker ware matched to one another. If µ(i) = i, then agent iis single. We call µ(i) the match of agent iat µ. When denoting a matching µwe list the workers that are matched to firms f1, f2, . . .;e.g., µ=w3, w4, f3, w1denotes a matching where f1is matched to w3,f2to w4,f3to itself, and f4 to w1. Alternatively, a matching is denoted as a collection of matched agents and single agents; e.g.,{(f1, w3),(f2, w4),(f4, w1), f3, w2}denotes matching µ=w3, w4, f3, w1. A key property of matchings is stability. First, since agents can always choose to be single, we require individual rationality: all matches are acceptable, i.e., for all i∈F∪W,µ(i)ºii. Second, if an agent can improve upon its present match by switching to another agent such that this agent is better off as well, then this blocking clearly would cause instability. For a given matching µ, a firm-worker pair (f, w) is a blocking pair if they are not matched to one another but prefer one another to their current match at µ,i.e.,wÂfµ(f) and fÂwµ(w). A matching is stable if it is individually rational and if there are no blocking pairs. In view of stability, we henceforth denote a preference list, or list for short, by its list of acceptable agents. For instance, P(f) = w3w2f w1. . . w4is denoted by P(f) = w3w2f. With a slight abuse of notation, we denote the set of stable matchings for matching market (F, W, P ) by S(P). Gale and Shapley (1962) proved that S(P)6=∅. Furthermore, any set of stable matchings has the structure of a (distributive) lattice, which we explain next. For any two matchings µand µ0we define the function λ:= µ∨Fµ0on F∪Wthat assigns to each firm its more preferred match from µand µ0and to each worker its less preferred match: for all f∈F,λ(f) := µ(f) if µ(f)Âfµ0(f) and λ(f) := µ0(f) otherwise, and for all w∈W,λ(w) := µ(w) if µ0(w)Âwµ(w) and λ(w) := µ0(w) otherwise. Similarly, the function µ∧Fµ0assigns to each firm its less preferred and to each worker its more preferred match. The following theorem (published by Knuth, 1976, but attributed to John Conway) establishes the lattice structure of the set of stable matchings. Theorem 2.1 [Lattice Theorem] If µ, µ0∈S(P), then µ∨Fµ0, µ ∧Fµ0∈S(P). From Theorem 2.1 and the existence of a stable matching it follows easily that for any matching market (F, W, P) there is a stable matching µP Fthat is optimal for all firms in the sense that no other stable matching µgives to any firm fa match µ(f) that it prefers to µP F(f). Similarly, there is a stable matching µP Wthat is optimal for all workers. In fact, Gale and Shapley (1962) already proved the existence of µP Fand µP Wby providing an algorithm, the deferred acceptance algorithm, to calculate these matchings. Since preferences are strict, the set of matched agents does not vary from one stable matching to another (Roth, 1982), i.e., the set of single agents is the same for all stable matchings. Theorem 2.2 For all i∈F∪Wand all µ, µ0∈S(P),µ(i) = i⇒µ0(i) = i. 3
3 Employment by Lotto We first recall Aldershof et al.’s (1999) definition of employment by lotto. Next, we prove its equivalence with our alternative and intuitive definition which describes employment by lotto as a random serial dictatorship mechanism on the set of stable matchings. Aldershof et al. (1999, p. 287) introduced employment by lotto as a new procedure that consists of repeated and alternate application of (full runs of) a so-called refinement algorithm and an adaptation of the set of linear inequalities that describe the set of stable matchings. Aldershof et al. (1999, pp. 283-284) provide a rather technical description of their refinement algorithm, but noticed (Aldershof et al., 1999, p. 286) that a full run of the algorithm is equivalent to the construction of the profile of reduced preference lists described in Roth and Sotomayor (1990, pp. 61-62). Therefore, instead of using the original definition of employment by lotto, we take a short-cut by applying Roth and Sotomayor’s reduced preference lists. RED(P) - Reduction of preference lists (Roth and Sotomayor, 1990, pp. 61-62): Input: A matching market (F, W, P ). Step 1: For all f, remove from f’s list all wthat are more preferred than µF(f). Similarly, for all w, remove from w’s list all fthat are more preferred than µW(w). Step 2: For all f, remove from f’s list all wthat are less preferred than µW(f). Similarly, for all w, remove from w’s list all fthat are less preferred than µF(w). Step 3: If worker wis not acceptable to firm f, then remove ffrom w’s list. Similarly, if firm fis not acceptable to worker w, then remove wfrom f’s list. Output: A profile of reduced preference lists RED(P). A reduction of the preference lists does not alter the set of stable matchings. Lemma 3.1 For any matching market (F, W, P ), if Q=RED(P), then S(Q) = S(P). Proof: Follows from Roth and Sotomayor’s (1990) Proposition 3.10 with µ=µP Wor µ=µP F.2 Remark 3.2 Let (F, W, P) be a matching market and let Q=RED(P) be the profile of reduced preferences. Note that for any f∈F,µP F(f) is the most preferred agent for Qf. Similarly, for any w∈W,µP W(w) is the most preferred agent for Qw. By Lemma 3.1, µP Fand µP Ware also stable for profile Q. Hence, µQ F=µP Fand µQ W=µP W. Using the reduced preference lists, Aldershof et al.’s (1999) definition of employment by lotto boils down to the following procedure. Algorithm I: Aldershof et al.’s (1999, p. 287) employment by lotto →EL∗(P) Input: A matching market (F, W, P ). Set µ:= ∅,N∗ 1:= F∪W,Q1:= P, and t:= 1. Step t: - Compute Pt:= RED(Qt). - Choose an agent i∗ tfrom N∗ tat random. - Match agent i∗ tto its most preferred match ch∗(i∗ t) in Pt i∗ tby setting µ:= µ∪ {(i∗ t, ch∗(i∗ t))}. - If N∗ t\{i∗ t, ch∗(i∗ t)}=∅, then set EL∗(P) := µand stop. 4
Otherwise set N∗ t+1 := N∗ t\{i∗ t, ch∗(i∗ t)}and define Qt+1 by a) setting Qt+1(i∗ t) := ch∗(i∗ t)i∗ t,i.e.,ch∗(i∗ t) is the only acceptable agent for i∗ t, and b) for all i∈F∪W\{i∗ t},Qt+1(i) := Pt(i). Go to Step t:= t+ 1. Since the set of agents is finite, Algorithm I ends in a finite number r∗(n≤r∗≤2n) of steps. As Aldershof et al. (1999) note, the outcome is a random stable matching EL∗(P)∈S(P), generated by a sequence of agents (i∗ 1, . . . , i∗ r∗). Let Q∗be the set of such sequences and let q∗=|Q∗|. Moreover, for any µ∈S(P), let Q∗ µ⊆Q∗be the (possibly empty) set of sequences that lead to µ. Denote q∗ µ=|Q∗ µ|. Note that if all firms and workers are mutually acceptable, then r∗=nand q∗= 2n·(2n−2) ·. . . ·2. Algorithm I induces in a natural way a probability distribution P∗={p∗ µ}µ∈S(P)over the set of stable matchings: for any µ∈S(P), the probability that EL∗(P) = µequals p∗ µ=q∗ µ q∗. Below we give an alternative definition, which describes the employment by lotto algorithm as a random serial dictatorship mechanism on the set of stable matchings. Algorithm II: employment by lotto as a serial dictatorship →EL(P) Input: A matching market (F, W, P ). Set N1:= F∪W,S1:= S(P), and t:= 1. Step t: - Choose an agent itfrom Ntat random. - Match agent itto its most preferred match ch(it) in {j:j=µ(it) for some µ∈St}. - If Nt\{it, ch(it)}=∅, then set {EL(P)}:= Stand stop. Otherwise set Nt+1 := Nt\{it, ch(it)},St+1 := {µ∈St:µ(it) = ch(it)}, and go to Step t:= t+1. Since the set of agents is finite, Algorithm II ends in a finite number r(n≤r≤2n) of steps. In fact, by Theorem 2.2, ronly depends on the preferences (and hence all executions of the algorithm end in rsteps). It is clear that the outcome is a random stable matching EL(P)∈S(P), generated by a sequence of agents (i1, . . . , ir). Let Qbe the set of such sequences and let q=|Q|. Moreover, for any µ∈S(P), let Qµ⊆Qbe the (possibly empty) set of sequences that lead to µ. Denote qµ=|Qµ|. Note that if all firms and workers are mutually acceptable, then r=nand q= 2n·(2n−2) ·. . . ·2. Algorithm II induces in a natural way a probability distribution P={pµ}µ∈S(P)over the set of stable matchings: for any µ∈S(P), the probability that EL(P) = µequals pµ=qµ q. Theorem 3.3 states that our alternative algorithm to define employment by lotto (Algorithm II) is indeed equivalent to Aldershof et al.’s (1999) original algorithm (Algorithm I). Theorem 3.3 For any matching market (F, W, P )and any stable matching µ∈S(P),p∗ µ=pµ. Proof: Let (F, W, P ) be a matching market. Note that any execution of Algorithm I generates a sequence of quadruples (N∗ t, i∗ t, S(Pt), ch∗(i∗ t)). Similarly, any execution of Algorithm II generates a sequence of quadruples (Nt, it, St, ch(it)). We prove the theorem by showing that the algorithms generate the same sequences and that each sequence results in the same stable matching. In fact, we will show that for any 5
sequence of quadruples (N∗ t, i∗ t, S(Pt), ch∗(i∗ t)) generated by an execution of Algorithm I there is an execution of Algorithm II that generates a sequence of quadruples (Nt, it, St, ch(it)) such that for each Step t≥1 of Algorithm I: (i) Nt=N∗ t, and therefore we can indeed pick it=i∗ t, (ii) St=S(Pt), and (iii) ch(it) = ch∗(i∗ t). It can be proven in a very similar way that any sequence of Algorithm II corresponds to a sequence of Algorithm I, and hence this is left to the reader. Let (N∗ t, i∗ t, S(Pt), ch∗(i∗ t)) be a sequence of quadruples generated by an execution of Algorithm I. We will show that there is exactly one execution of Algorithm II that generates a sequence of quadruples (Nt, it, St, ch(it)) such that (i), (ii), and (iii) hold for each Step t≥1 of Algorithm I. Step 1: (1.i) Follows from the fact that both algorithms have as input F∪W=N1=N∗ 1. Let i1=i∗ 1. (1.ii) Next, since in Algorithm I, P1=RED(Q1) = RED(P), by Lemma 3.1, S(P1) = S(P). In Algorithm II, S1:= S(P). Hence, S1=S(P1). (1.iii) In Algorithm I, ch∗(i∗ 1) = ch∗(i1) equals agent i1’s most preferred match in P1 i∗ 1. Since P1=RED(Q1) and Q1=P, by Remark 3.2, ch∗(i∗ 1) is the most preferred match of agent i1at any matching in S(P). In Algorithm II, ch(i1) equals agent i1’s most preferred match in {j:j=µ(it) for some µ∈ S1}. Since S1=S(P), ch(i1) is the most preferred match of agent i1at any matching in S(P). Thus, ch(i1) = ch∗(i∗ 1). Induction Hypothesis: We assume that (k.i), (k.ii), and (k.iii) hold for k=t−1. Step t: (t.i) Since in Step t−1, Nt−1=N∗ t−1,it−1=i∗ t−1, and ch(it−1) = ch∗(i∗ t−1), we have Nt=Nt−1\{it−1, ch(it−1)}=N∗ t−1\{i∗ t−1, ch∗(i∗ t−1)}=N∗ t. Hence, Nt=N∗ t. (t.ii) Since in Step t−1, St−1=S(Pt−1), it−1=i∗ t−1, and ch(it−1) = ch∗(i∗ t−1), we have St={µ∈St−1:µ(it−1) = ch(it−1)}={µ∈S(Pt−1) : µ(i∗ t−1) = ch∗(i∗ t−1)}. Hence, it suffices to prove that S(Pt) = S(Qt) = {µ∈S(Pt−1) : µ(i∗ t−1) = ch∗(i∗ t−1)}. The first equality follows directly from Lemma 3.1 with P=Qtand Q=Pt. We prove the second equality in two steps. First let µ∈S(Pt−1) be such that µ(i∗ t−1) = ch∗(i∗ t−1). By construction of Qt,µis individually rational for Qt. Suppose µ6∈ S(Qt). Then there is a blocking pair (f, w) for µand Qt. By construction of Qt, (f, w) is a blocking pair for µand Pt−1, a contradiction. Hence, µ∈S(Qt). Finally, let µ∈S(Qt) = S(Pt). We have to prove that µ(i∗ t−1) = ch∗(i∗ t−1) and µ∈S(Pt−1). We first prove that µ(i∗ t−1) = ch∗(i∗ t−1). Suppose without loss of generality that i∗ t−1∈W. By construction, µPt−1 W(i∗ t−1) = ch∗(i∗ t−1). Furthermore, µPt−1 W∈S(Pt−1) by definition and µPt−1 W∈S(Qt) by the construction of preference profile Qtout of Pt−1(recall that only agent i∗ t−1’s preferences are changed to make its most preferred match ch∗(i∗ t−1) the only acceptable agent – a preference change that does not affect the stability of µPt−1 W). Thus, there exists one stable matching for Qtat which agent i∗ t−1is matched to agent ch∗(i∗ t−1). Hence, since ch∗(i∗ t−1) is 6
the only acceptable agent for i∗ t−1by Theorem 2.2 (with P=Qt), agents i∗ t−1and agent ch∗(i∗ t−1) are matched at all stable matchings in S(Qt) = S(Pt). In particular, µ(i∗ t−1) = ch∗(i∗ t−1). It remains to show that µ∈S(Pt−1). Suppose to the contrary that µ6∈ S(Pt−1). By construction of Qt,µis individually rational for Pt−1. So there is a blocking pair (f, w) for µand Pt−1. Hence, wÂPt−1 fµ(f) and fÂPt−1 wµ(w).3We distinguish between the following two cases: Case (a): f, w 6=i∗ t−1. Thus, Qt f=Pt−1 fand Qt w=Pt−1 w. Hence, wÂQt fµ(f), fÂQt wµ(w), and (f, w) is also a blocking pair for µand Qt, a contradiction. Case (b): f=i∗ t−1or w=i∗ t−1. Suppose without loss of generality that f=i∗ t−1. Since (f, w) is a blocking pair for µand Pt−1,wÂPt−1 fµ(f) = µ(i∗ t−1) = ch∗(i∗ t−1). However, by definition, ch∗(i∗ t−1) is f’s most preferred match in Pt−1 f, a contradiction. (t.iii) Note that it=i∗ t. In Algorithm I, ch∗(i∗ t) = ch∗(it) equals agent it’s most preferred match in Pt it. Since Pt=RED(Qt), by the definition of RED(Qt), ch∗(it) is the most preferred match of agent it at any matching in S(Qt). Since S(Qt) = S(Pt), ch∗(it) is the most preferred match of agent it at any matching in S(Pt). In Algorithm II, ch(it) equals agent it’s most preferred match in {j:j=µ(it) for some µ∈ St}. So, ch(it) is the most preferred match of agent itat any matching in St=S(Pt). Thus, ch(it) = ch∗(it) = ch∗(i∗ t). 2 Aldershof et al. (1999) observe that if a stable matching µdoes not match any agent to its firm/worker optimal match, then pµ= 0. More precisely, if for all i∈F∪Wit holds that µF(i)6=µ(i)6=µW(i), then pµ= 0. We demonstrate this characteristic of the EL algorithm in the following example. In addition, we show how the example can be adjusted to prove that the converse is not true, i.e.,pµ= 0 does not necessarily imply that for all i∈F∪W, µF(i)6=µ(i)6=µW(i). Example 3.4 Let (F, W, P ) with n= 3 and Plisted below.4The three stable matchings for this market are listed below as well. We depict the corresponding lattice in Figure 1. Preferences Stable Matchings P(f1) = w1w2w3µW=w3w2w1 P(f2) = w3w1w2e µ=w2w1w3 P(f3) = w2w3w1µF=w1w3w2 P(w1) = f3f2f1 P(w2) = f2f1f3 P(w3) = f1f3f2 The nodes denote the stable matchings and the corresponding numbers are the probabilities resulting from employment by lotto. The solid arcs denote comparability or unanimity on each side of the market. For instance, µW→e µin Figure 1 means that all workers weakly prefer their matches at µWto their matches at e µand all firms weakly prefer their matches at e µto their matches at µW. 3We add the index Pt−1to avoid any confusion. 4Note that in all our examples of matching markets all workers (firms) are acceptable to all firms (workers). We do not have to rely on more general matching markets to prove our results. Furthermore, in order to save space we do not depict the agent itself in an agent’s preference list. 7
0 m ~ / 12 / 12 m F m W Figure 1: Lattice of Example 3.4 It is easy to check that whenever agent i1in the EL algorithm is a firm, then EL(P) = µF, and whenever agent i1in the EL algorithm is a worker, then EL(P) = µW. Hence, pµF=1 2= pµWand p˜µ= 0. In order to show that pµ= 0 does not necessarily imply that for all i∈F∪W,µF(i)6=µ(i)6= µW(i), we add two agents f4, w4to the market above such that for all i= 1,2,3,4, f4Âf4wi, w4Âw4fi, and f4, w4are placed anywhere in the preferences of the other agents. Then, for stable matching µ=w2, w1, w3, f4, we have pµ= 0 and µ(f4) = µF(f4) and µ(w4) = µW(w4). ¦ Note that in order to compute the probability distribution that is induced by employment by lotto, in general it is necessary to calculate the complete set of stable matchings. Gusfield and Irving (1989, Section 3.5, pp. 121) provided a time- and space-optimal algorithm for enumerating all stable matchings. Their algorithm needs O(n2+n|P(P)|) total time and O(n2) space. 4 Aldershof et al.’s Conjectures Aldershof et al. (1999, p. 288) made the following conjectures about the probability distribution Pgenerated by employment by lotto over the set of stable matchings. Conjecture 4.1 For any matching market, pµF=pµW. Conjecture 4.2 “Consider a lattice of stable matchings for an instance of the stable matching problem. All matchings with rank ihave the same probability piof resulting from employment by lotto. Also the function f(i) = 1 −piis unimodal.” The following two results show for which matching markets Conjecture 4.1 is correct and for which matching markets it is not necessarily true. Theorem 4.3 If n > 3, then not necessarily pµF=pµW. 8
Proof: Let (F, W, P ) with n= 4 and Psuch that5 P(f1) = w1w2w3w4 P(f2) = w2w1w4w3 P(f3) = w3w4w1w2 P(f4) = w4w3w2w1 P(w1) = f4f2f3f1 P(w2) = f3f4f1f2 P(w3) = f2f1f4f3 P(w4) = f1f2f3f4. There are seven stable matchings and for the firm and worker optimal matchings we find pµF= 2 86=3 8=pµW. (There are three other stable matchings with positive probability.) For n > 4 one can simply add agents that find any other agent on the other side of the market unacceptable.2 Theorem 4.4 If n≤3, then pµF=pµW. Proof: From Theorem 2.2 it follows that the probability distribution on the set of stable matchings does not change if we leave out all agents that are single in some (and hence all) stable matching(s). In other words, in the EL algorithm we can take N1:= F∪W\{i∈F∪W: µ(i) = ifor some µ∈S(P)}.In order to simplify the proof, we assume that no agent is single in any stable matching. Let Pbe any preference list for agents in F∪W. Case n=1: Since µF(f1) = µW(f1) = w1, it follows immediately that pµF=pµW= 1. Case n=2: Clearly, S(P)⊆ {µ1(f1, f2) = (w1, w2), µ2(f1, f2)=(w2, w1)}. So, |S(P)| ≤ 2. If |S(P)|= 1, then µF=µW, and hence, pµF=pµW= 1. If |S(P)|= 2, then the first agent i1in the EL algorithm being a firm or a worker determines the resulting matching, and hence, pµF=pµW=1 2. Case n=3: If µF=µW, then pµF=pµW= 1. Thus, let µF6=µW. Subcase 1: pµF+pµW= 1. Let N={i∈F∪W:µF(i)6=µW(i)}. Note that i∈N∩F implies that there exist j, k ∈N∩Wsuch that j6=k. Similarly, i∈N∩Wimplies that there exist j, k ∈N∩Fsuch that j6=k. Thus, |N∩F|=|N∩W| ≥ 2. Hence, the set Qof EL sequences is the union of the following disjoint sets Q1 µF={(i1, i2, i3)∈Q:i1∈N∩F}, Q1 µW={(i1, i2, i3)∈Q:i1∈N∩W}, Q2 µF={(i1, i2, i3)∈Q:i16∈ N, i2∈N∩F},and Q2 µW={(i1, i2, i3)∈Q:i16∈ N, i2∈N∩W}.6 Note that Q1 µF∪Q2 µF⊆QµFand Q1 µW∪Q2 µW⊆QµW. Since |Q1 µF|=|Q1 µW|and |Q2 µF|=|Q2 µW|, it follows that pµF=pµW=1 2. Subcase 2: pµF+pµW<1. There exists a stable matching µ6∈ {µF, µW}with pµ>0. Thus, there exists a sequence (i1, i2, i3)∈Qµ. Therefore, either (a) i1∈Fand µ(i1) = µF(i1) or (b) i1∈Wand µ(i1) = µW(i1). 5We switch the 2nd and 3rd position of agent w1’s preference in a matching market taken from Knuth (1976). 6Note that |Q2 µF|=|Q2 µW|= 0 if and only if |N∩F|=|N∩W|= 3. 9