sampfordCouplingLoss
def
The coupling loss: the total probability, under the coupling prob, of those pairs (S,T) of seat-assignment subsets for which some party i receives strictly fewer seats at house size h+1 than at house size h.
Statement
open Classical in noncomputable def sampfordCouplingLoss {n : ℕ} (p : Fin n → ℝ) (h : ℕ) (prob : Finset (Fin n) → Finset (Fin n) → ℝ) : ℝ
- Source
- step towards sampford_consecutive_house_coupling_loss_delta_four
- Verified
- 18 Nov 2026
- Axioms
- none listed
- Used by 4
- envy_free_coupling_loss_mem_unit_intervalFor n parties, vote shares p, house size H, and any coupling prob of admissible lotteries distH at H and distH1 at H + 1, the coupling…
- sampford_consecutive_house_coupling_loss_delta_six_ge_asymmetricFor six parties, the maximal consecutive-house coupling loss Delta_6 is at least 650133/3333400, witnessed by the asymmetric configuration…
- envy_free_min_coupling_lossFor vote shares p : Fin n → ℝ and house size H, envy_free_min_coupling_loss p H is the infimum of sampfordCouplingLoss p H prob over all…
- sampford_consecutive_house_coupling_loss_delta_unfoldDelta_n is the supremum, over all positive vote-share vectors p and all house sizes h >= 1, of the infimum over all valid couplings of the…
Lean source view module on GitHub
open Classical in /-- Probability, under a coupling, that some party loses a seat when the house grows from h to h+1. -/ noncomputable def sampfordCouplingLoss {n : ℕ} (p : Fin n → ℝ) (h : ℕ) (prob : Finset (Fin n) → Finset (Fin n) → ℝ) : ℝ := let l (i : Fin n) := Nat.floor (h * p i) let k := h - ∑ i, l i let l' (i : Fin n) := Nat.floor ((h + 1) * p i) let k' := (h + 1) - ∑ i, l' i ∑ S ∈ Finset.powersetCard k Finset.univ, ∑ T ∈ Finset.powersetCard k' Finset.univ, if ∃ i : Fin n, l' i + (if i ∈ T then 1 else 0) < l i + (if i ∈ S then 1 else 0) then prob S T else 0