d_RAT
def
The RAT-degree d_RAT f of a tops-only voting rule f : (Fin n → X) → X is the minimum natural number k < n such that IsKnownVoterSafelyManipulable f k holds, or n if no such k exists.
Statement
noncomputable def d_RAT {n : ℕ} {X : Type*} (f : (Fin n → X) → X) : ℕ
- Defined in
- scout/2611-18282-safe-manipulation-of-tops-only-voting-rules.md:276
- Verified
- 16 Nov 2026
- Axioms
- none listed
- Built on 1
- IsKnownVoterSafelyManipulableFor a tops-only voting rule f : (Fin n → X) → X and k : ℕ, f is k-known-voter safely manipulable if there exist a voter i : Fin n, a…
Read back from the Lean
Given a natural number n, a type X, and a function f : (Fin n → X) → X, d_RAT f is the least natural number k < n such that f is safely manipulable by some voter given knowledge of the votes of a coalition of k other voters (IsKnownVoterSafelyManipulable f k), or n if no such k < n exists.
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 RAT-degree of a tops-only voting rule on Fin n. -/ noncomputable def d_RAT {n : ℕ} {X : Type*} (f : (Fin n → X) → X) : ℕ := open Classical in if h : ∃ k, k < n ∧ IsKnownVoterSafelyManipulable f k then Nat.find h else n