AFTD Auto-Formalizing Theoretical Domains

monroe_score

def

The Monroe score of an assignment π: the number of voters i with π(i) ∈ A_i.

Statement

def monroe_score {n m : ℕ} (A : Fin n → Finset (Fin m)) (π : Fin n → Fin m) : ℕ
Defined in
Justified Representation: From Hare to Droop, arXiv:2508.00811, Def. 16 (Monroe score of an assignment)
Verified
06 Oct 2026
Axioms
none listed
Used by 2
  • is_hare_monroe_committeeW is a winning committee of the (Hare) Monroe rule: some Hare-valid assignment for W has Monroe score at least that of every Hare-valid…
  • monroe_exchangeExchange step: replacing c ∈ W by c ∉ W approved by all of S (no member of S being satisfied by π) yields a Hare-valid assignment whose…

Lean source view module on GitHub

/-- Monroe score of an assignment: the number of voters assigned to a candidate they approve. -/
def monroe_score {n m : ℕ} (A : Fin n → Finset (Fin m)) (π : Fin n → Fin m) : ℕ :=
  (Finset.univ.filter fun i => π i ∈ A i).card
See it in the graphDiscuss this resultChallenge it