not_op_2346_partial_majority_upper_bound
The statement op_2346_partial_majority_upper_bound is false: The statement is false as formalized because of a defect in the ballot definition in ic_winner_nat. In its body the recursive step computes, for each voter v,
letI := prof v; decide (x_prev < ⟨t+1, ht⟩).
But < on Fin T is elaborated using Fin's global numeric LT instance (Fin.instLT), not the locally bound LinearOrder instance prof v. This is verifiable by rfl: (letI := prof v; (a < b)) = (a.val < b.val). Consequently the ballot passed to the rule is the constant-true vector fun _ => true at every round (since the incumbent's index is < t+1), so ic_winner rule prof t depends on neither the preference profile prof nor the metric.
Hence no deterministic online rule can have any finite distortion bound for T ≥ 2: at T = 2, let b := rule (Fin 1) ⟨1,_⟩ (fun _ => true). If b = true the winner at round 1 is candidate 1; take one voter at position 0, candidate 0 at 0 and candidate 1 at 1 (with the reversed linear order 1 < 0, which is consistent); then social cost of the winner is 1 while social cost of candidate 0 is 0, contradicting SC(winner) ≤ 3·SC(0) (bound 2·2−1 = 3). If b = false the winner is candidate 0; take the mirror metric (voter at 1, candidate 0 at 0, candidate 1 at 1) with the standard order; then cost of winner is 1 while cost of candidate 1 is 0, contradicting SC(0) ≤ 3·SC(1). Both are verified in Lean in the accompanying refutation.
Statement
theorem not_op_2346_partial_majority_upper_bound : ¬ (∀ (T : ℕ) (_hT : 1 ≤ T),
∃ rule : OnlineICDecision T, is_online_distortion_bounded rule (2 * (T : ℝ) - 1))- Related work
- refutes `op_2346_partial_majority_upper_bound`
- Verified
- 26 Nov 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 8
- 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…
- 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.
- 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_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…
- 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…
- LinearOrder.toTotalPreorderEvery
LinearOrderis aTotalPreorder. - TotalPreorderA total preorder: a preorder where
≤is total (complete). This is weaker thanLinearOrder— it does NOT require antisymmetry or…
The proof, explained
The theorem is proved by contradiction by specializing the claimed distortion bound $2T - 1$ to $T = 2$ with one voter and two candidates. Due to a defect in the formal definition of `ic_winner_nat`, candidate comparison inadvertently uses the global numeric ordering on `Fin` rather than the voter's preference order, meaning the rule always receives the all-`true` ballot at round 1. If the rule selects the challenger on this ballot, candidate 1 wins, but placing the voter at 0 with preference $0 \succ 1$ gives candidate 1 social cost 1 and candidate 0 cost 0, contradicting the bound $1 \le 3 \times 0$. If the rule retains the incumbent, candidate 0 wins, but placing the voter at 1 with preference $1 \succ 0$ gives candidate 0 cost 1 and candidate 1 cost 0, again yielding the contradiction $1 \le 3 \times 0$.
Assume for contradiction that an online decision rule with distortion bound $2T - 1$ exists for every $T \ge 1$, and instantiate it at $T = 2$.
We introduce the universal hypothesis $h$ and instantiate it at $T = 2$ (since $1 \le 2$). This yields an online decision rule `rule` guaranteed to have online distortion at most $2(2) - 1 = 3$.
intro h obtain ⟨rule, hb⟩ := h 2 (by norm_num)
Define two metric configurations `posA`, `posB` on $\mathbb{R}$ and two voter preference profiles `profA`, `profB` on two candidates.
We set up two counterexample instances with one voter and two candidates $\{0, 1\}$. Metric `posA` places the voter and candidate 0 at position $0$ and candidate 1 at $1$, accompanied by profile `profA` which prefers candidate 0 to candidate 1 (by reversing the standard order via swapping 0 and 1). Metric `posB` places candidate 0 at $0$ and both the voter and candidate 1 at $1$, accompanied by profile `profB` which uses the standard order where candidate 1 is preferred to candidate 0.
uses
LinearOrder.lift',Equiv.swaplet posA : Fin 1 ⊕ Fin 2 → ℝ := fun x => Sum.elim (fun _ => (0:ℝ)) (fun c : Fin 2 => (c.val : ℝ)) x let posB : Fin 1 ⊕ Fin 2 → ℝ := fun x => Sum.elim (fun _ => (1:ℝ)) (fun c : Fin 2 => (c.val : ℝ)) x let profA : Fin 1 → LinearOrder (Fin 2) := fun _ => LinearOrder.lift' (Equiv.swap (0:Fin 2) 1) (Equiv.swap (0:Fin 2) 1).injective let profB : Fin 1 → LinearOrder (Fin 2) := fun _ => inferInstance
Split into cases based on whether the rule selects the challenger candidate at round 1 when given the constant-true ballot.
At round $1$, the ballot vector presented to the rule is `fun _ => true`. Since the rule outputs a boolean, we perform a case distinction on whether `rule (Fin 1) 1 (fun _ => true)` equals `true` or `false`.
by_cases hcase : rule (Fin 1) ⟨1, by norm_num⟩ (fun _ => true) = true
In the `true` case, candidate 1 wins at round 1 under profile `profA`.
Unfolding the definition of `ic_winner_nat`, the incumbent at round 0 is candidate 0. At round 1, candidate 0 is compared to candidate 1; because comparison on $\mathrm{Fin}\; 2$ defaults to numeric inequality, $0 < 1$ evaluates to `true`, producing the constant ballot `fun _ => true`. The rule returns `true` by the case hypothesis `hcase`, so challenger 1 is chosen as the winner.
uses
Fin.lt_def· have hw : ic_winner rule profA ⟨1, by norm_num⟩ = ⟨1, by norm_num⟩ := by simp only [ic_winner, ic_winner_nat, Fin.lt_def] norm_num exact hcase
Equip the space with the pseudometric induced by `posA` and verify that `posA` is consistent with `profA`.
We equip the voter and candidates with the pseudometric induced by `posA` from $\mathbb{R}$. Consistency requires that whenever voter distance to candidate $a$ is strictly less than distance to $b$, candidate $a$ is strictly preferred to $b$ in `profA` ($b < a$). The distances from the voter at $0$ to candidates $a$ and $b$ are $a$ and $b$ respectively, so $\mathrm{dist}(v, a) < \mathrm{dist}(v, b)$ implies $a < b$, which for $a, b \in \{0, 1\}$ uniquely forces $a = 0$ and $b = 1$. This demands $1 < 0$ in `profA`, which holds because `profA` swaps 0 and 1. All other candidate pairs contradict the distance inequality.
uses
PseudoMetricSpace.induced,Real.dist_eq,Equiv.swapletI : PseudoMetricSpace (Fin 1 ⊕ Fin 2) := PseudoMetricSpace.induced posA (inferInstance : PseudoMetricSpace ℝ) have hcons : is_consistent_pseudometric (Fin 1) (Fin 2) profA := by intro v a b hab have hda : dist (Sum.inl v) (Sum.inr a) = (a.val : ℝ) := by change dist (posA (Sum.inl v)) (posA (Sum.inr a)) = (a.val : ℝ) fin_cases a <;> simp [posA, Real.dist_eq] have hdb : dist (Sum.inl v) (Sum.inr b) = (b.val : ℝ) := by change dist (posA (Sum.inl v)) (posA (Sum.inr b)) = (b.val : ℝ) fin_cases b <;> simp [posA, Real.dist_eq] rw [hda, hdb] at hab cases v fin_cases a <;> fin_cases b · exfalso; norm_num at hab · change (Equiv.swap (0:Fin 2) 1) 1 < (Equiv.swap (0:Fin 2) 1) 0 decide · exfalso; norm_num at hab · exfalso; norm_num at habDerive a contradiction in the `true` case using the distortion bound.
We apply the distortion bound `hb` to metric configuration `posA`, profile `profA`, round $t = 1$, and benchmark candidate $y = 0 \le 1$. The bound asserts that the social cost of the winner (candidate 1) is at most $3$ times the social cost of candidate 0. With one voter, candidate 1 has social cost $\mathrm{dist}(0, 1) = |0 - 1| = 1$, while candidate 0 has social cost $\mathrm{dist}(0, 0) = 0$. This yields $1 \le 3 \times 0 = 0$, an arithmetic contradiction.
uses
Fin.sum_univ_one,Real.dist_eqhave hb' := hb (Fin 1) profA hcons ⟨1, by norm_num⟩ ⟨0, by norm_num⟩ (by norm_num) rw [hw] at hb' simp only [candidate_metric_social_cost, Fin.sum_univ_one] at hb' rw [show (⟨1, by norm_num⟩ : Fin 2) = 1 from rfl, show (⟨0, by norm_num⟩ : Fin 2) = 0 from rfl] at hb' change dist (posA (Sum.inl 0)) (posA (Sum.inr 1)) ≤ (2 * (2:ℝ) - 1) * dist (posA (Sum.inl 0)) (posA (Sum.inr 0)) at hb' norm_num [posA, Real.dist_eq] at hb'
In the alternative case, the rule outputs `false` on the constant-true ballot.
Since the rule produces a boolean value on the constant-true ballot and it is not `true`, case analysis on the boolean value shows that it must be `false`.
uses
absurd· have hfalse : rule (Fin 1) ⟨1, by norm_num⟩ (fun _ => true) = false := by cases hv : rule (Fin 1) ⟨1, by norm_num⟩ (fun _ => true) · rfl · exact absurd hv hcase
In the `false` case, candidate 0 remains the winner at round 1 under profile `profB`.
Under profile `profB`, candidate comparison at round 1 again defaults to numeric inequality $0 < 1$, producing the constant-true ballot. Because the rule outputs `false` on this ballot, the incumbent candidate 0 is retained as the winner.
uses
Fin.lt_defhave hw : ic_winner rule profB ⟨1, by norm_num⟩ = ⟨0, by norm_num⟩ := by simp only [ic_winner, ic_winner_nat, Fin.lt_def] norm_num exact hfalse
Equip the space with the pseudometric induced by `posB` and verify that `posB` is consistent with `profB`.
We equip the space with the pseudometric induced by `posB` from $\mathbb{R}$. The voter is located at position $1$, so the distance to candidate $c \in \{0, 1\}$ is $|1 - c| = 1 - c$. Strict inequality $\mathrm{dist}(v, a) < \mathrm{dist}(v, b)$ implies $1 - a < 1 - b$, which for $a, b \in \{0, 1\}$ uniquely forces $a = 1$ and $b = 0$. Consistency requires $b < a$ in `profB`, which is $0 < 1$, holding by definition of the standard numerical order. All other candidate pairs violate the distance inequality.
uses
PseudoMetricSpace.induced,Real.dist_eqletI : PseudoMetricSpace (Fin 1 ⊕ Fin 2) := PseudoMetricSpace.induced posB (inferInstance : PseudoMetricSpace ℝ) have hcons : is_consistent_pseudometric (Fin 1) (Fin 2) profB := by intro v a b hab have hda : dist (Sum.inl v) (Sum.inr a) = 1 - (a.val : ℝ) := by change dist (posB (Sum.inl v)) (posB (Sum.inr a)) = 1 - (a.val : ℝ) fin_cases a <;> simp [posB, Real.dist_eq] have hdb : dist (Sum.inl v) (Sum.inr b) = 1 - (b.val : ℝ) := by change dist (posB (Sum.inl v)) (posB (Sum.inr b)) = 1 - (b.val : ℝ) fin_cases b <;> simp [posB, Real.dist_eq] rw [hda, hdb] at hab fin_cases a <;> fin_cases b · exfalso; norm_num at hab · exfalso; norm_num at hab · change (0:Fin 2) < 1 decide · exfalso; norm_num at habDerive a contradiction in the `false` case using the distortion bound, concluding the refutation.
We apply the distortion bound `hb` to metric configuration `posB`, profile `profB`, round $t = 1$, and benchmark candidate $y = 1 \le 1$. The bound asserts that the social cost of the winner (candidate 0) is at most $3$ times that of candidate 1. Candidate 0 has social cost $|1 - 0| = 1$, while candidate 1 has social cost $|1 - 1| = 0$. This yields $1 \le 3 \times 0 = 0$, an arithmetic contradiction that completes the proof.
uses
le_refl,Fin.sum_univ_one,Real.dist_eqhave hb' := hb (Fin 1) profB hcons ⟨1, by norm_num⟩ ⟨1, by norm_num⟩ (le_refl _) rw [hw] at hb' simp only [candidate_metric_social_cost, Fin.sum_univ_one] at hb' rw [show (⟨0, by norm_num⟩ : Fin 2) = 0 from rfl, show (⟨1, by norm_num⟩ : Fin 2) = 1 from rfl] at hb' change dist (posB (Sum.inl 0)) (posB (Sum.inr 0)) ≤ (2 * (2:ℝ) - 1) * dist (posB (Sum.inl 0)) (posB (Sum.inr 1)) at hb' norm_num [posB, Real.dist_eq] at hb'
absurd- from a proposition $a$ and its negation $\neg a$, any proposition follows
Equiv.swap- the permutation of a type that transposes two given elements and leaves all other elements fixed
Fin.lt_def- strict inequality $a < b$ between elements of $\mathrm{Fin}\; n$ is equivalent to inequality $a.\mathrm{val} < b.\mathrm{val}$ of their underlying natural numbers
Fin.sum_univ_one- a sum indexed by the singleton type $\mathrm{Fin}\; 1$ equals the evaluation of the summand at $0$
le_refl- preorder inequality is reflexive: $a \le a$ for any element $a$
LinearOrder.lift'- constructs a linear order on a type by pulling back a linear order along an injective map
PseudoMetricSpace.induced- constructs a pseudometric space on a type by pulling back the metric from another space along a map
Real.dist_eq- the metric distance between real numbers $x$ and $y$ is the absolute value $|x - y|$
- The refutation succeeds because of a formal defect in the definition of `ic_winner_nat`: inside the recursive step, `letI := prof v; decide (x_prev < ⟨t + 1, ht⟩)` elaborates `<` using the global numeric instance `Fin.instLT` rather than the locally supplied preference order `prof v`. Consequently, the ballot passed to the decision rule at round 1 is always the constant vector `fun _ => true`, regardless of voter preferences or metric distances.
- In `is_consistent_pseudometric`, preference consistency is formulated as `(prof v).lt b a` when $\mathrm{dist}(v, a) < \mathrm{dist}(v, b)$, meaning candidate $a$ is strictly preferred to candidate $b$ (i.e. $b < a$ in the order).
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
Choose a tactic — a marked line — to see the goals Lean had before and after it, as in Lean’s infoview. Step with ← → or j k.
theorem not_op_2346_partial_majority_upper_bound : ¬ (∀ (T : ℕ) (_hT : 1 ≤ T), ∃ rule : OnlineICDecision T, is_online_distortion_bounded rule (2 * (T : ℝ) - 1)) := by intro h obtain ⟨rule, hb⟩ := h 2 (by norm_num) let posA : Fin 1 ⊕ Fin 2 → ℝ := fun x => Sum.elim (fun _ => (0:ℝ)) (fun c : Fin 2 => (c.val : ℝ)) x let posB : Fin 1 ⊕ Fin 2 → ℝ := fun x => Sum.elim (fun _ => (1:ℝ)) (fun c : Fin 2 => (c.val : ℝ)) x let profA : Fin 1 → LinearOrder (Fin 2) := fun _ => LinearOrder.lift' (Equiv.swap (0:Fin 2) 1) (Equiv.swap (0:Fin 2) 1).injective let profB : Fin 1 → LinearOrder (Fin 2) := fun _ => inferInstance by_cases hcase : rule (Fin 1) ⟨1, by norm_num⟩ (fun _ => true) = true · have hw : ic_winner rule profA ⟨1, by norm_num⟩ = ⟨1, by norm_num⟩ := by simp only [ic_winner, ic_winner_nat, Fin.lt_def] norm_num exact hcase letI : PseudoMetricSpace (Fin 1 ⊕ Fin 2) := PseudoMetricSpace.induced posA (inferInstance : PseudoMetricSpace ℝ) have hcons : is_consistent_pseudometric (Fin 1) (Fin 2) profA := by intro v a b hab have hda : dist (Sum.inl v) (Sum.inr a) = (a.val : ℝ) := by change dist (posA (Sum.inl v)) (posA (Sum.inr a)) = (a.val : ℝ) fin_cases a <;> simp [posA, Real.dist_eq] have hdb : dist (Sum.inl v) (Sum.inr b) = (b.val : ℝ) := by change dist (posA (Sum.inl v)) (posA (Sum.inr b)) = (b.val : ℝ) fin_cases b <;> simp [posA, Real.dist_eq] rw [hda, hdb] at hab cases v fin_cases a <;> fin_cases b · exfalso; norm_num at hab · change (Equiv.swap (0:Fin 2) 1) 1 < (Equiv.swap (0:Fin 2) 1) 0 decide · exfalso; norm_num at hab · exfalso; norm_num at hab have hb' := hb (Fin 1) profA hcons ⟨1, by norm_num⟩ ⟨0, by norm_num⟩ (by norm_num) rw [hw] at hb' simp only [candidate_metric_social_cost, Fin.sum_univ_one] at hb' rw [show (⟨1, by norm_num⟩ : Fin 2) = 1 from rfl, show (⟨0, by norm_num⟩ : Fin 2) = 0 from rfl] at hb' change dist (posA (Sum.inl 0)) (posA (Sum.inr 1)) ≤ (2 * (2:ℝ) - 1) * dist (posA (Sum.inl 0)) (posA (Sum.inr 0)) at hb' norm_num [posA, Real.dist_eq] at hb' · have hfalse : rule (Fin 1) ⟨1, by norm_num⟩ (fun _ => true) = false := by cases hv : rule (Fin 1) ⟨1, by norm_num⟩ (fun _ => true) · rfl · exact absurd hv hcase have hw : ic_winner rule profB ⟨1, by norm_num⟩ = ⟨0, by norm_num⟩ := by simp only [ic_winner, ic_winner_nat, Fin.lt_def] norm_num exact hfalse letI : PseudoMetricSpace (Fin 1 ⊕ Fin 2) := PseudoMetricSpace.induced posB (inferInstance : PseudoMetricSpace ℝ) have hcons : is_consistent_pseudometric (Fin 1) (Fin 2) profB := by intro v a b hab have hda : dist (Sum.inl v) (Sum.inr a) = 1 - (a.val : ℝ) := by change dist (posB (Sum.inl v)) (posB (Sum.inr a)) = 1 - (a.val : ℝ) fin_cases a <;> simp [posB, Real.dist_eq] have hdb : dist (Sum.inl v) (Sum.inr b) = 1 - (b.val : ℝ) := by change dist (posB (Sum.inl v)) (posB (Sum.inr b)) = 1 - (b.val : ℝ) fin_cases b <;> simp [posB, Real.dist_eq] rw [hda, hdb] at hab fin_cases a <;> fin_cases b · exfalso; norm_num at hab · exfalso; norm_num at hab · change (0:Fin 2) < 1 decide · exfalso; norm_num at hab have hb' := hb (Fin 1) profB hcons ⟨1, by norm_num⟩ ⟨1, by norm_num⟩ (le_refl _) rw [hw] at hb' simp only [candidate_metric_social_cost, Fin.sum_univ_one] at hb' rw [show (⟨0, by norm_num⟩ : Fin 2) = 0 from rfl, show (⟨1, by norm_num⟩ : Fin 2) = 1 from rfl] at hb' change dist (posB (Sum.inl 0)) (posB (Sum.inr 0)) ≤ (2 * (2:ℝ) - 1) * dist (posB (Sum.inl 0)) (posB (Sum.inr 1)) at hb' norm_num [posB, Real.dist_eq] at hb'