is_online_distortion_bounded
A rule achieves metric distortion at most D for horizon T if for every nonempty finite voter type V, every pseudometric space on V ⊕ Fin T, every preference profile prof consistent with the pseudometric, every round t in Fin T, and every candidate y ≤ t in Fin T, the social cost of the round-t winner is at most D times the social cost of y.
Statement
def is_online_distortion_bounded {T : ℕ} (rule : OnlineICDecision T) (D : ℝ) : Prop
- Defined in
- arXiv:2611.30683 Sec. 2.2, Stay or Switch? Metric Distortion with Online Candidate Arrivals
- Verified
- 25 Nov 2026
- Axioms
- none listed
- Built on 5
- OnlineICDecisionFor a horizon T, OnlineICDecision T is the type of online decision rules that universally quantify over all finite types V of voters,…
- 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…
- 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…
- Used by 5
- op_2346_partial_asymptotic_lower_boundProposition 3.5: For every integer k ≥ 2 and horizon T = k * (k - 1) + 1, every deterministic online rule with distortion bound D…
- not_op_2346_optimal_online_metric_distortionThe statement
op_2346_optimal_online_metric_distortionis false: The statement asserts the existence of Δ_3 in [3, 5] such that… - not_op_2346_partial_asymptotic_upper_boundThe statement
op_2346_partial_asymptotic_upper_boundis false: The statementop_2346_partial_asymptotic_upper_boundasserts the… - 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…
- not_op_2346_partial_majority_upper_boundThe statement
op_2346_partial_majority_upper_boundis false: The statement is false as formalized because of a defect in the ballot…
Read back from the Lean
Given a natural number T, an online decision rule rule (which takes a finite voter type V, an incoming candidate index t : Fin T, and a vector of voter preferences V → Bool, returning Bool), and a real number D:
is_online_distortion_bounded rule D asserts that for:
1. Every finite, nonempty type V of voters,
2. Every pseudometric space on V ⊕ Fin T,
3. Every preference profile prof assigning each voter v : V a linear order on Fin T such that if voter v is strictly closer to candidate a than to candidate b in the metric, then b < a in voter v's ranking (i.e. closer candidates are ranked strictly higher),
4. Every candidate t : Fin T and every candidate y : Fin T with y ≤ t:
The metric social cost of the candidate chosen by rule up to step t is at most D times the metric social cost of candidate y.
Here, the metric social cost of a candidate c is the sum over all voters v of dist(Sum.inl v, Sum.inr c). The candidate chosen up to step t is computed sequentially: at step 0 it is candidate 0, and at step s + 1, each voter v votes true iff candidate s + 1 is ranked strictly higher than the winner of step s under prof v; if rule accepts candidate s + 1 on this vote vector, candidate s + 1 becomes the new winner, otherwise the winner of step s is retained.
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
/-- An online voting rule achieves metric distortion at most D if at every round t, the winner's social cost is at most D times that of any candidate arriving by round t. -/ def is_online_distortion_bounded {T : ℕ} (rule : OnlineICDecision T) (D : ℝ) : Prop := ∀ (V : Type) [Fintype V] [Nonempty V] [PseudoMetricSpace (V ⊕ Fin T)] (prof : V → LinearOrder (Fin T)) (_h_metric : is_consistent_pseudometric V (Fin T) prof) (t : Fin T) (y : Fin T) (_hy : y ≤ t), candidate_metric_social_cost V (ic_winner rule prof t) ≤ D * candidate_metric_social_cost V y