is_envy_free_outcome_of_equal_shares
For n parties with equal vote shares heq : ∀ i j, p i = p j and house size h, every subset S of additional seats is envy-free.
Statement
open Classical in theorem is_envy_free_outcome_of_equal_shares {n : ℕ} (p : Fin n → ℝ) (h : ℕ) (S : Finset (Fin n)) (heq : ∀ i j, p i = p j) : is_envy_free_outcome p h S
- Source
- folklore
- Verified
- 25 Nov 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 1
- is_envy_free_outcomeFor n parties indexed by Fin n with vote shares p : Fin n → ℝ and house size h : ℕ, an extra-seat subset S ⊆ Fin n is envy-free if for all…
Read back from the Lean
For any natural number $n$, function $p : \mathrm{Fin}\ n \to \mathbb{R}$, natural number $h$, and finite set $S \subseteq \mathrm{Fin}\ n$, if $p(i) = p(j)$ for all $i, j \in \mathrm{Fin}\ n$, then $(p, h, S)$ is an envy-free outcome (is_envy_free_outcome p h S).
Written by a model that saw only the Lean, never the English above. If the two disagree, that is worth a challenge.
The proof, explained
The definition of an envy-free outcome requires that whenever a party j has a strictly smaller vote share than party i, party j receives no more seats than party i. Under the hypothesis that all vote shares are equal, the premise p j < p i is impossible. The result therefore holds vacuously by deriving a contradiction to the irreflexivity of the strict ordering.
Let parties i and j be given such that p j < p i
To show that the seat allocation is envy-free, we unfold its definition and assume there exist two parties i and j such that party j has a strictly smaller vote share than party i (hypothesis hlt).
intro i j hltThe assumption p j < p i is contradictory, completing the proof vacuously
Since all parties have equal vote shares by hypothesis heq, we have p j = p i. Substituting this equality into hlt gives p i < p i, which contradicts the irreflexivity of strict inequality (lt_irrefl). By the principle of explosion (False.elim), this contradiction establishes the goal.
uses
False.elim,lt_irreflhave := heq j i rw [this] at hlt exact False.elim (lt_irrefl (p i) hlt)
False.elim- from a contradiction (`False`), any proposition follows (the principle of explosion)
lt_irrefl- a strict inequality is irreflexive; no element is strictly less than itself (¬ a < a)
Written by a model (gemini-3.8-flash) from the Lean proof and the goal states Lean reported at each step. Lean verified the proof; this explanation is a reading aid and is not itself machine-checked.
Lean source view module on GitHub
Choose a tactic — a marked line — to see the goals Lean had before and after it, as in Lean’s infoview. Step with ← → or j k.
open Classical in/-- Equal vote shares imply that every outcome of extra seats is envy-free. -/theorem is_envy_free_outcome_of_equal_shares {n : ℕ} (p : Fin n → ℝ) (h : ℕ) (S : Finset (Fin n)) (heq : ∀ i j, p i = p j) : is_envy_free_outcome p h S := by intro i j hlt have := heq j i rw [this] at hlt exact False.elim (lt_irrefl (p i) hlt)