AFTD Auto-Formalizing Theoretical Domains

nomg_threshold

def

The coalition protection threshold K(f) of a voting rule f on an electorate N is the maximum k ≤ |N| such that f is k-NOMG, that is, no coalition of size at most k has an obvious group manipulation.

Statement

noncomputable def nomg_threshold {N A : Type*} [Fintype N] (f : (N → LinearOrder A) → A) : ℕ
Defined in
arXiv:2611.26224 Section 5.3 -- Obvious group manipulations in voting
Verified
20 Nov 2026
Axioms
none listed
Built on 2
  • is_k_nomgA voting rule f : (N → LinearOrder A) → A is k-NOMG if no nonempty coalition C : Finset N with card at most k has an obvious group…
  • has_obvious_group_manipulationA coalition C : Finset N has an obvious group manipulation at profile P : N → LinearOrder A by misreporting P_dev : N → LinearOrder A…

Read back from the Lean

Given a finite type of agents N, a type of alternatives A, and a social choice function f : (N → LinearOrder A) → A, nomg_threshold f is the maximum natural number k ∈ {0, 1, ..., |N|} such that f is k-NOMG (non-obviously group manipulable by coalitions of size at most k).

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

/-- The coalition protection threshold K(f) of a voting rule f is the maximum k <= |N| such that f is k-NOMG. -/
noncomputable def nomg_threshold {N A : Type*} [Fintype N] (f : (N → LinearOrder A) → A) : ℕ := by
  classical
  exact Finset.max' ((Finset.range (Fintype.card N + 1)).filter (fun k => is_k_nomg f k))
    ⟨0, Finset.mem_filter.mpr ⟨Finset.mem_range.mpr (Nat.succ_pos _), fun C hC hle => by
      have : C.card > 0 := Finset.Nonempty.card_pos hC
      omega⟩⟩
See it in the graphDiscuss this resultChallenge it