metric_distortion_1d_ratio
def
For natural numbers n1 and n2, metric_distortion_1d_ratio n1 n2 is the real number ((n1 : ℝ) + 2 * (n2 : ℝ)) / (n1 : ℝ).
Statement
noncomputable def metric_distortion_1d_ratio (n₁ n₂ : ℕ) : ℝ
- Defined in
- arXiv:2610.26535 Lemma 5, Equation (1)
- Verified
- 22 Oct 2026
- Axioms
- none listed
- Used by 1
- rank_score_veto_core_distortion_lower_boundFor any natural number m with 2 ≤ m and any positional scoring vector s : Fin m → ℚ, there exist positive natural numbers n1 and n2 such…
Read back from the Lean
A definition taking two natural numbers n₁ and n₂, and returning the real number ((n₁ : ℝ) + 2 * (n₂ : ℝ)) / (n₁ : ℝ).
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 distortion ratio expression ((n1 : ℝ) + 2 * (n2 : ℝ)) / (n1 : ℝ) for voter counts n1 and n2. -/ noncomputable def metric_distortion_1d_ratio (n₁ n₂ : ℕ) : ℝ := ((n₁ : ℝ) + 2 * (n₂ : ℝ)) / (n₁ : ℝ)