AFTD Auto-Formalizing Theoretical Domains

has_admissible_lottery

def

For n parties with vote shares p : Fin n → ℝ and house size h, has_admissible_lottery asserts that there exists an admissible lottery dist : Finset (Fin n) → ℝ.

Statement

open Classical in
def has_admissible_lottery {n : ℕ} (p : Fin n → ℝ) (h : ℕ) : Prop
Defined in
arXiv:2610.24217, Proposition 4.2
Verified
24 Nov 2026
Axioms
none listed
Built on 1
  • is_admissible_lotteryFor n parties with vote shares p : Fin n → ℝ and house size h, a function dist : Finset (Fin n) → ℝ is an admissible lottery if dist is…
Used by 1

Read back from the Lean

Given a natural number n, a function p : Fin n → ℝ, and a natural number h, has_admissible_lottery p h asserts the existence of a probability-like function dist : Finset (Fin n) → ℝ satisfying five conditions, where l(i) := ⌊h * p(i)⌋₊ (as a natural number) and k := h - ∑ i, l(i) (via natural number subtraction): 1. dist is non-negative on all subsets S ⊆ Fin n. 2. Any subset S with dist S ≠ 0 has cardinality exactly k. 3. The sum of dist S over all subsets S ⊆ Fin n of cardinality k is 1. 4. Every subset S with dist S ≠ 0 is envy-free: for all i, j : Fin n, if p j < p i, then ⌊h * p j⌋₊ + (1 if j ∈ S else 0) ≤ ⌊h * p i⌋₊ + (1 if i ∈ S else 0). 5. For every i : Fin n, the expected allocation under dist restricted to subsets of size k, namely ∑ S (|S| = k), dist S * (l(i) + (1 if i ∈ S else 0)), equals h * p i.

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

open Classical in
/-- There exists an admissible envy-free lottery for vote shares p at house size h. -/
def has_admissible_lottery {n : ℕ} (p : Fin n → ℝ) (h : ℕ) : Prop :=
  ∃ dist, is_admissible_lottery p h dist
See it in the graphDiscuss this resultChallenge it