Documentation

CslibFrontier.GameTheory.RandomAssignment.RandomSerialDictatorship

Random Serial Dictatorship (RSD) #

Formalizes the deterministic serial dictatorship mechanism serialDictatorship p σ for a priority ordering σ : Equiv.Perm (Fin n) (agents pick in the order σ 0, σ 1, …, σ (n - 1)), and random serial dictatorship (RSD) rsd p — the uniform lottery over all n! priority orderings.

Main definitions #

Main results #

References #

Serial dictatorship as a permutation of Fin n: agent i receives her top available object when agents choose in priority order σ 0, σ 1, …, σ (n - 1).

theorem Cslib.GameTheory.RandomAssignment.serialDictatorship_taken_before {n : ℕ} (p : Profile n) (σ : Equiv.Perm (Fin n)) {i o : Fin n} (hlt : (Equiv.symm (p i)) o < (Equiv.symm (p i)) ((serialDictatorship p σ) i)) :
∃ (j : Fin n), ↑((Equiv.symm σ) j) < ↑((Equiv.symm σ) i) ∧ (serialDictatorship p σ) j = o

If i prefers o strictly over what she receives in serialDictatorship p σ, then some earlier agent j (σ.symm j < σ.symm i) takes o.

theorem Cslib.GameTheory.RandomAssignment.serialDictatorship_rank_le_of_lt {n : ℕ} (p : Profile n) (σ : Equiv.Perm (Fin n)) {j i : Fin n} (hlt : ↑((Equiv.symm σ) j) < ↑((Equiv.symm σ) i)) :
(Equiv.symm (p j)) ((serialDictatorship p σ) j) ≤ (Equiv.symm (p j)) ((serialDictatorship p σ) i)

When j picks strictly before i, j weakly prefers her own object over i's object.

Deterministic serial dictatorship is Pareto efficient for every priority order σ.

Deterministic serial dictatorship is strategy-proof: no agent can gain a strictly better object by misreporting her preference ranking.

theorem Cslib.GameTheory.RandomAssignment.serialDictatorship_comp {n : ℕ} (p : Profile n) (τ σ : Equiv.Perm (Fin n)) (i : Fin n) :
(serialDictatorship (p ∘ ⇑τ) (τ⁻¹ * σ)) i = (serialDictatorship p σ) (τ i)

Random Serial Dictatorship (RSD): the uniform convex combination of the n! deterministic serial dictatorship matchings.

theorem Cslib.GameTheory.RandomAssignment.rsd_apply {n : ℕ} (p : Profile n) (i o : Fin n) :
rsd p i o = (↑n.factorial)⁻¹ * ∑ σ : Equiv.Perm (Fin n), if (serialDictatorship p σ) i = o then 1 else 0
theorem Cslib.GameTheory.RandomAssignment.rsd_apply_pos_iff {n : ℕ} (p : Profile n) (i o : Fin n) :
0 < rsd p i o ↔ ∃ (σ : Equiv.Perm (Fin n)), (serialDictatorship p σ) i = o

rsd is ex-post efficient: it assigns positive weight only to Pareto-efficient deterministic matchings.

theorem Cslib.GameTheory.RandomAssignment.rsd_isAnonymous {n : ℕ} (p : Profile n) (τ : Equiv.Perm (Fin n)) (i o : Fin n) :
rsd (p ∘ ⇑τ) i o = rsd p (τ i) o

rsd is anonymous: permuting agent labels via τ permutes the rows of rsd by τ.

rsd satisfies equal treatment of equals (ETE).

Sharp positive efficiency bound: for n ≤ 3, Random Serial Dictatorship is sd-efficient for every strict preference profile p.

Canonical 3-agent strict profile (a b c, a c b, b a c) separating RSD and PS and showing that RSD is not sd-envy-free.

Canonical 4-agent strict profile (a b c d, a b c d, b a d c, b a d c) showing that RSD is not sd-efficient for n = 4.

Embedding of rsdIneffProfileFour into Fin n for every n ≥ 4: dummy agents k ≥ 4 rank object k first and swap it with 0, keeping objects {0, 1, 2, 3} on the top four ranks of agents 0, 1, 2, 3.

For every n ≥ 4, Random Serial Dictatorship fails sd-efficiency.

Exact rsd assignment probabilities for agent 0 on profileThree: (1/2, 1/6, 1/3).

Exact rsd assignment probabilities for agent 2 on profileThree: (0, 5/6, 1/6).

rsd is not sd-envy-free at n = 3: on profileThree = (a b c, a c b, b a c), agent 0 (a > b > c) gets a + b weight 1/2 + 1/6 = 2/3, strictly less than agent 2's a + b weight 0 + 5/6 = 5/6.

theorem Cslib.GameTheory.RandomAssignment.rsd_ineffProfileFour_apply (i o : Fin 4) :
rsd rsdIneffProfileFour i o = if ↑i < 2 then if ↑o = 0 ∨ ↑o = 2 then 5 / 12 else 1 / 12 else if ↑o = 1 ∨ ↑o = 3 then 5 / 12 else 1 / 12

Exact rsd matrix on rsdIneffProfileFour: rows 0, 1 are (5/12, 1/12, 5/12, 1/12) and rows 2, 3 are (1/12, 5/12, 1/12, 5/12).

theorem Cslib.GameTheory.RandomAssignment.rsd_ineffProfileFour_strictly_dominated :
have Q := Matrix.of fun (i o : Fin 4) => if ↑i < 2 then if ↑o = 0 ∨ ↑o = 2 then 1 / 2 else 0 else if ↑o = 1 ∨ ↑o = 3 then 1 / 2 else 0; Q ∈ doublyStochastic ℝ (Fin 4) ∧ ∀ (i : Fin 4), SDDominatesStrict (rsdIneffProfileFour i) (Q i) (rsd rsdIneffProfileFour i)

Explicit doubly stochastic matrix (1/2, 0, 1/2, 0) / (0, 1/2, 0, 1/2) that strictly sd-dominates rsd rsdIneffProfileFour for every one of the four agents.