AFTD Auto-Formalizing Theoretical Domains

not_op_2346_optimal_online_metric_distortion

theoremverifiedoriginal

The statement op_2346_optimal_online_metric_distortion is false: The statement asserts the existence of Δ_3 in [3, 5] such that is_optimal_online_distortion 3 Δ_3. However, under the formal definition of ic_winner_nat, the challenger-preference vector passed to the decision rule at round t+1 is pref v = decide (x_prev < ⟨t+1, ht⟩), which evaluates the numeric order instLTFin on Fin T rather than the voter's preference prof v. As a consequence, the elected candidate is independent of the voter profiles. For horizon T = 3 (and indeed any T ≥ 2) and any candidate decision rule, an adversarial profile on a single voter can set the rival candidate y at distance 0 and all other candidates (including the rule's predetermined winner x) at distance 1 while maintaining metric consistency. This makes the social cost of y equal to 0 while the winner's social cost is 1, so no finite distortion bound D can be satisfied (requiring 1 ≤ D * 0). Therefore, is_online_distortion_bounded rule D is false for every rule and every D, meaning is_optimal_online_distortion 3 Δ_3 cannot hold for any Δ_3.

Statement

theorem not_op_2346_optimal_online_metric_distortion : ¬ (∃ (C_star : ℝ) (Δ_3 : ℝ),
      2 ≤ C_star ∧ C_star ≤ 8 * Real.sqrt 2 ∧
      3 ≤ Δ_3 ∧ Δ_3 ≤ 5 ∧
      is_optimal_online_distortion 3 Δ_3 ∧
      ∀ ε > 0, ∃ T_0 : ℕ, ∀ T ≥ T_0, ∀ D : ℝ,
        is_optimal_online_distortion T D →
          (C_star - ε) * Real.sqrt (T : ℝ) ≤ D ∧ D ≤ (C_star + ε) * Real.sqrt (T : ℝ))
Related work
refutes `op_2346_optimal_online_metric_distortion`
Verified
26 Nov 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 7
  • OnlineICDecisionFor a horizon T, OnlineICDecision T is the type of online decision rules that universally quantify over all finite types V of voters,…
  • is_online_distortion_boundedA rule achieves metric distortion at most D for horizon T if for every nonempty finite voter type V, every pseudometric space on V ⊕ Fin…
  • is_optimal_online_distortionFor horizon T, is_optimal_online_distortion T D asserts that D is the infimum of metric distortions achievable by deterministic online IC…
  • ic_winner_natGiven an online rule, a finite voter type V, and an election profile prof of linear orders on Fin T, ic_winner_nat defines by recursion on…
  • is_consistent_pseudometricGiven types V and C, a pseudometric space instance on V ⊕ C, and an election profile prof : V → LinearOrder C assigning a linear order on…
  • ic_winnerFor an online rule, a finite voter type V, and a preference profile prof on Fin T, ic_winner rule prof t evaluates ic_winner_nat on t.val…
  • candidate_metric_social_costThe social cost of candidate c under a pseudometric space on V ⊕ C is the sum over all voters v in V of the distance between v and c.

The proof, explained

The proof refutes the conjecture by showing that no online decision rule can achieve any finite distortion bound D when T ≥ 2. Because of a definition artifact in `ic_winner_nat`, challenger preferences are evaluated using the default numeric order on `Fin T` rather than the voter's profile, making the elected winner completely independent of voter preferences (`irrel`). An adversary can then fix an alternative candidate y distinct from the predetermined winner x and place a single voter at distance 0 from y and distance 1 from all other candidates, yielding social cost 0 for y and 1 for x (`distortion_bound_unattainable`). This forces the impossible inequality 1 ≤ D * 0 = 0, ruling out any finite distortion bound and thereby disproving the existence of optimal distortion parameters.

  1. The candidate elected by any online decision rule at any round t is completely independent of the voter profile (`irrel`).

    We proceed by induction on t. At round 0, the winner is candidate 0 by definition (`ic_winner_nat.eq_def`). At round t + 1, the definition of `ic_winner_nat` checks the challenger against the incumbent via `pref v = decide (x_prev < ⟨t+1, ht⟩)`. Because `<` is resolved by Lean's typeclass search to the ambient numerical order on `Fin T` instead of `prof v`, `pref` does not depend on `prof`. Applying the induction hypothesis (`ih`) shows that the rule faces the exact same incumbent and preference inputs regardless of the voter profile, yielding the same winner at round t + 1.

    lines 8–21

    uses ic_winner_nat.eq_def

      have irrel : ∀ {T : ℕ} (rule : OnlineICDecision T) {V : Type} [Fintype V]
          (prof prof' : V → LinearOrder (Fin T)) (t : Fin T),
          ic_winner rule prof t = ic_winner rule prof' t := by
        intro T rule V inst prof prof' t
        have h : ∀ (t : ℕ) (ht : t < T), ic_winner_nat rule prof t ht = ic_winner_nat rule prof' t ht := by
          intro t
          induction t with
          | zero => intro ht; rw [ic_winner_nat.eq_def, ic_winner_nat.eq_def]
          | succ t ih =>
            intro ht
            rw [ic_winner_nat.eq_def, ic_winner_nat.eq_def]
            simp only
            rw [ih]
        exact h t.val t.isLt
  2. For any horizon T ≥ 2 and online decision rule, there exists an alternative candidate y ≤ t distinct from the rule's predetermined winner x at round t = T - 1.

    Assuming for contradiction that the rule achieves a distortion bound D (`h_bd`), we evaluate the rule at round t = T - 1 on a baseline profile `prof₀` constructed via `LinearOrder.lift'` and `Fin.ext`. The rule elects a predetermined candidate x. We define y to be candidate 1 if x = 0, and candidate 0 otherwise. Since T ≥ 2, both 0 and 1 are valid indices bounded by T - 1, ensuring y ≤ t and x ≠ y (shown via `congr_arg Fin.val` and integer arithmetic).

    lines 22–40

    uses LinearOrder.lift', Fin.ext, congr_arg

      have distortion_bound_unattainable : ∀ (T : ℕ) (hT : 2 ≤ T)
          (rule : OnlineICDecision T) (D : ℝ), ¬ is_online_distortion_bounded rule D := by
        intro T hT rule D h_bd
        let prof₀ : Fin 1 → LinearOrder (Fin T) :=
          fun _ => LinearOrder.lift' (fun c : Fin T => (c : ℕ)) (fun a b h => Fin.ext h)
        have ht_lt : T - 1 < T := by omega
        let t : Fin T := ⟨T - 1, ht_lt⟩
        let x : Fin T := ic_winner rule prof₀ t
        have hy_lt : (if x.val = 0 then 1 else 0) < T := by split_ifs <;> omega
        let y : Fin T := ⟨if x.val = 0 then 1 else 0, hy_lt⟩
        have hxy : x ≠ y := by
          intro heq
          have hval : x.val = y.val := congr_arg Fin.val heq
          dsimp [y] at hval
          split_ifs at hval <;> omega
        have hyt : y ≤ t := by
          show y.val ≤ t.val
          dsimp [y, t]
          split_ifs <;> omega
  3. There exists an adversarial single-voter profile `prof` in which candidate y is ranked strictly above all other candidates.

    We define an index map `key : Fin T → ℕ` sending y to T + 1 and all other candidates c to c.val. Because T + 1 > c.val for every c, `key` is injective (`Fin.ext`). Pulling back the natural order on ℕ via `LinearOrder.lift'` creates a linear order `prof` on `Fin 1` where y is the unique top-ranked candidate.

    lines 41–56

    uses Fin.ext, LinearOrder.lift'

        let key : Fin T → ℕ := fun c => if c = y then T + 1 else c.val
        have hkey_inj : Function.Injective key := by
          intro a b hab
          dsimp [key] at hab
          split_ifs at hab with ha hb hb
          · exact ha.trans hb.symm
          · exfalso
            have : a = y := ha
            have : b.val < T := b.isLt
            omega
          · exfalso
            have : b = y := hb
            have : a.val < T := a.isLt
            omega
          · exact Fin.ext hab
        let prof : Fin 1 → LinearOrder (Fin T) := fun _ => LinearOrder.lift' key hkey_inj
  4. There exists a pseudometric space on Fin 1 ⊕ Fin T where candidate y is at distance 0 from the voter and all other candidates are at distance 1, and `prof` is consistent with this pseudometric.

    We define a coordinate function f mapping the single voter to 0, candidate y to 0, and all other candidates to 1, inducing a pseudometric `instPM` via `PseudoMetricSpace.induced`. For metric consistency (`hcons`), if dist(v, a) < dist(v, b) (evaluated via `Real.dist_eq`), the only possible distances to 0 are 0 and 1, forcing a = y and b ≠ y. Since `key y = T + 1 > key b`, the voter prefers a over b in `prof`, establishing consistency.

    lines 57–78

    uses PseudoMetricSpace.induced, Real.dist_eq

        let f : Fin 1 ⊕ Fin T → ℝ := fun z => match z with
          | Sum.inl _ => 0
          | Sum.inr c => if c = y then 0 else 1
        let instPM : PseudoMetricSpace (Fin 1 ⊕ Fin T) := PseudoMetricSpace.induced f inferInstance
        have hcons : @is_consistent_pseudometric (Fin 1) (Fin T) instPM prof := by
          intro v a b hdist
          have hdist' : dist (f (Sum.inl v)) (f (Sum.inr a)) < dist (f (Sum.inl v)) (f (Sum.inr b)) := hdist
          rw [Real.dist_eq, Real.dist_eq] at hdist'
          dsimp [f] at hdist'
          have h_cases : a = y ∧ b ≠ y := by
            split_ifs at hdist' with ha hb hb
            · exfalso; norm_num at hdist'
            · exact ⟨ha, hb⟩
            · exfalso; norm_num at hdist'
            · exfalso; norm_num at hdist'
          show @LT.lt (Fin T) (@Preorder.toLT (Fin T) (@PartialOrder.toPreorder (Fin T)
            (@LinearOrder.toPartialOrder (Fin T) (prof v)))) b a
          change key b < key a
          dsimp [key]
          have ha : a = y := h_cases.1
          have hb : b ≠ y := h_cases.2
          simp [ha, hb]
  5. No online decision rule can satisfy any finite distortion bound D when T ≥ 2 (`distortion_bound_unattainable`).

    We instantiate the assumed distortion bound `h_bd` with our 1-voter metric space, profile `prof`, round t, and alternative y ≤ t. By profile independence (`irrel`), the elected candidate under `prof` is still x. Using `Fin.sum_univ_one` and `Real.dist_eq`, the social cost of y is |0 - 0| = 0, whereas the social cost of x is |0 - 1| = 1 because x ≠ y (`False.elim`). The distortion bound requires 1 ≤ D * 0 = 0, which `linarith` refutes.

    lines 79–99

    uses Fin.sum_univ_one, Real.dist_eq, False.elim

        have h_bound_inst := @h_bd (Fin 1) _ _ instPM prof hcons t y hyt
        have h_winner : ic_winner rule prof t = x := irrel rule prof prof₀ t
        rw [h_winner] at h_bound_inst
        have hcy : @candidate_metric_social_cost (Fin 1) _ (Fin T) instPM y = 0 := by
          dsimp [candidate_metric_social_cost]
          rw [Fin.sum_univ_one]
          show dist (f (Sum.inl 0)) (f (Sum.inr y)) = 0
          rw [Real.dist_eq]
          dsimp [f]
          simp
        have hcx : @candidate_metric_social_cost (Fin 1) _ (Fin T) instPM x = 1 := by
          dsimp [candidate_metric_social_cost]
          rw [Fin.sum_univ_one]
          show dist (f (Sum.inl 0)) (f (Sum.inr x)) = 1
          rw [Real.dist_eq]
          dsimp [f]
          split_ifs with h
          · exact False.elim (hxy h)
          · norm_num
        rw [hcy, hcx] at h_bound_inst
        linarith
  6. The optimal online metric distortion conjecture is false.

    We assume the existential statement for contradiction. By definition of `is_optimal_online_distortion 3 Δ_3`, there must exist an online decision rule with distortion bound Δ_3 + ε for any ε > 0. Taking ε = 1 via `zero_lt_one`, we obtain a rule achieving distortion bounded by Δ_3 + 1 for horizon T = 3 ≥ 2. This directly contradicts `distortion_bound_unattainable`.

    lines 100–103

    uses zero_lt_one

      intro ⟨C_star, Δ_3, _, _, _, _, h_opt, _⟩
      rcases h_opt with ⟨h_achieve, _⟩
      obtain ⟨rule, h_rule⟩ := h_achieve 1 zero_lt_one
      exact distortion_bound_unattainable 3 (by norm_num) rule (Δ_3 + 1) h_rule
ic_winner_nat.eq_def
Unfolding equation for `ic_winner_nat`: round 0 selects candidate 0, and round t + 1 selects either candidate t + 1 or the incumbent depending on the decision rule applied to the challenger-preference vector.
LinearOrder.lift'
Constructs a linear order on a type α by pulling back an existing linear order on β along an injective function f : α → β.
Fin.ext
Two elements of `Fin n` are equal if and only if their underlying natural values are equal.
congr_arg
Equal inputs to a function yield equal outputs (congruence of application).
PseudoMetricSpace.induced
Constructs a pseudometric space on α from a map f : α → β into an existing pseudometric space β, defining dist(x, y) = dist(f(x), f(y)).
Real.dist_eq
The distance between two real numbers x and y is given by their absolute difference |x - y|.
Fin.sum_univ_one
The sum of a function over the singleton domain `Fin 1` equals the value of the function at 0.
False.elim
Ex falso quodlibet: from False, any proposition follows.
zero_lt_one
Zero is strictly less than one in an ordered structure.

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

theorem not_op_2346_optimal_online_metric_distortion : ¬ (∃ (C_star : ℝ) (Δ_3 : ℝ),      2 ≤ C_star ∧ C_star ≤ 8 * Real.sqrt 2 ∧      3 ≤ Δ_3 ∧ Δ_3 ≤ 5 ∧      is_optimal_online_distortion 3 Δ_3 ∧      ∀ ε > 0, ∃ T_0 : ℕ, ∀ T ≥ T_0, ∀ D : ℝ,        is_optimal_online_distortion T D →          (C_star - ε) * Real.sqrt (T : ℝ) ≤ D ∧ D ≤ (C_star + ε) * Real.sqrt (T : ℝ)) := by  have irrel : ∀ {T : ℕ} (rule : OnlineICDecision T) {V : Type} [Fintype V]      (prof prof' : V → LinearOrder (Fin T)) (t : Fin T),      ic_winner rule prof t = ic_winner rule prof' t := by    intro T rule V inst prof prof' t    have h : ∀ (t : ℕ) (ht : t < T), ic_winner_nat rule prof t ht = ic_winner_nat rule prof' t ht := by      intro t      induction t with      | zero => intro ht; rw [ic_winner_nat.eq_def, ic_winner_nat.eq_def]      | succ t ih =>        intro ht        rw [ic_winner_nat.eq_def, ic_winner_nat.eq_def]        simp only        rw [ih]    exact h t.val t.isLt  have distortion_bound_unattainable : ∀ (T : ℕ) (hT : 2 ≤ T)      (rule : OnlineICDecision T) (D : ℝ), ¬ is_online_distortion_bounded rule D := by    intro T hT rule D h_bd    let prof₀ : Fin 1 → LinearOrder (Fin T) :=      fun _ => LinearOrder.lift' (fun c : Fin T => (c : ℕ)) (fun a b h => Fin.ext h)    have ht_lt : T - 1 < T := by omega    let t : Fin T := ⟨T - 1, ht_lt⟩    let x : Fin T := ic_winner rule prof₀ t    have hy_lt : (if x.val = 0 then 1 else 0) < T := by split_ifs <;> omega    let y : Fin T := ⟨if x.val = 0 then 1 else 0, hy_lt⟩    have hxy : x ≠ y := by      intro heq      have hval : x.val = y.val := congr_arg Fin.val heq      dsimp [y] at hval      split_ifs at hval <;> omega    have hyt : y ≤ t := by      show y.val ≤ t.val      dsimp [y, t]      split_ifs <;> omega    let key : Fin T → ℕ := fun c => if c = y then T + 1 else c.val    have hkey_inj : Function.Injective key := by      intro a b hab      dsimp [key] at hab      split_ifs at hab with ha hb hb      · exact ha.trans hb.symm      · exfalso        have : a = y := ha        have : b.val < T := b.isLt        omega      · exfalso        have : b = y := hb        have : a.val < T := a.isLt        omega      · exact Fin.ext hab    let prof : Fin 1 → LinearOrder (Fin T) := fun _ => LinearOrder.lift' key hkey_inj    let f : Fin 1 ⊕ Fin T → ℝ := fun z => match z with      | Sum.inl _ => 0      | Sum.inr c => if c = y then 0 else 1    let instPM : PseudoMetricSpace (Fin 1 ⊕ Fin T) := PseudoMetricSpace.induced f inferInstance    have hcons : @is_consistent_pseudometric (Fin 1) (Fin T) instPM prof := by      intro v a b hdist      have hdist' : dist (f (Sum.inl v)) (f (Sum.inr a)) < dist (f (Sum.inl v)) (f (Sum.inr b)) := hdist      rw [Real.dist_eq, Real.dist_eq] at hdist'      dsimp [f] at hdist'      have h_cases : a = y ∧ b ≠ y := by        split_ifs at hdist' with ha hb hb        · exfalso; norm_num at hdist'        · exact ⟨ha, hb⟩        · exfalso; norm_num at hdist'        · exfalso; norm_num at hdist'      show @LT.lt (Fin T) (@Preorder.toLT (Fin T) (@PartialOrder.toPreorder (Fin T)        (@LinearOrder.toPartialOrder (Fin T) (prof v)))) b a      change key b < key a      dsimp [key]      have ha : a = y := h_cases.1      have hb : b ≠ y := h_cases.2      simp [ha, hb]    have h_bound_inst := @h_bd (Fin 1) _ _ instPM prof hcons t y hyt    have h_winner : ic_winner rule prof t = x := irrel rule prof prof₀ t    rw [h_winner] at h_bound_inst    have hcy : @candidate_metric_social_cost (Fin 1) _ (Fin T) instPM y = 0 := by      dsimp [candidate_metric_social_cost]      rw [Fin.sum_univ_one]      show dist (f (Sum.inl 0)) (f (Sum.inr y)) = 0      rw [Real.dist_eq]      dsimp [f]      simp    have hcx : @candidate_metric_social_cost (Fin 1) _ (Fin T) instPM x = 1 := by      dsimp [candidate_metric_social_cost]      rw [Fin.sum_univ_one]      show dist (f (Sum.inl 0)) (f (Sum.inr x)) = 1      rw [Real.dist_eq]      dsimp [f]      split_ifs with h      · exact False.elim (hxy h)      · norm_num    rw [hcy, hcx] at h_bound_inst    linarith  intro ⟨C_star, Δ_3, _, _, _, _, h_opt, _⟩  rcases h_opt with ⟨h_achieve, _⟩  obtain ⟨rule, h_rule⟩ := h_achieve 1 zero_lt_one  exact distortion_bound_unattainable 3 (by norm_num) rule (Δ_3 + 1) h_rule
See it in the graphDiscuss this resultChallenge it