AFTD Auto-Formalizing Theoretical Domains

is_borda_winner

def

In an election with k voters and n candidates with preference profile P : Fin k → Equiv.Perm (Fin n), candidate c : Fin n is a Borda winner if the Borda score of c is at least the Borda score of every candidate y : Fin n.

Statement

def is_borda_winner (k n : ℕ) (P : Fin k → Equiv.Perm (Fin n)) (c : Fin n) : Prop
Defined in
Gehrlein and Fishburn (1978)
Verified
18 Nov 2026
Axioms
none listed
Built on 1
  • borda_scoreIn an election with k voters and n candidates where each voter v has preferences given by a permutation P v : Equiv.Perm (Fin n), with…
Used by 1

Read back from the Lean

Given natural numbers k and n, a profile P : Fin k → Equiv.Perm (Fin n), and an element c : Fin n, is_borda_winner k n P c is the proposition that for every y : Fin n, the Borda score of y (under k, n, and P) is less than or equal to the Borda score of c.

Written by a model that saw only the Lean, never the English above. If the two disagree, that is worth a challenge.

Lean source view module on GitHub

/-- A candidate is a Borda winner if their Borda score is at least that of every other candidate. -/
def is_borda_winner (k n : ℕ) (P : Fin k → Equiv.Perm (Fin n)) (c : Fin n) : Prop := ∀ y : Fin n, borda_score k n P y ≤ borda_score k n P c
See it in the graphDiscuss this resultChallenge it