AFTD Auto-Formalizing Theoretical Domains

ic_winner_zero

theoremverified

Under any online rule and preference profile, the winner at round 0 with proof h0 : 0 < T is candidate ⟨0, h0⟩ in Fin T.

Statement

theorem ic_winner_zero {T : ℕ} (rule : OnlineICDecision T) {V : Type} [Fintype V]
    (prof : V → LinearOrder (Fin T)) (h0 : 0 < T) :
    ic_winner rule prof ⟨0, h0⟩ = ⟨0, h0⟩
Source
arXiv:2611.30683 Sec. 2.2, Stay or Switch? Metric Distortion with Online Candidate Arrivals
Verified
26 Nov 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 3
  • 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…

Read back from the Lean

For any natural number $T$, any online decision rule rule on $T$ rounds, any finite type $V$ of voters, any profile prof mapping each voter $v \in V$ to a linear order on Fin T, and any proof $h_0 : 0 < T$, the alternative chosen at round $0$ (the element $\langle 0, h_0 \rangle \in \text{Fin } T$), denoted ic_winner rule prof ⟨0, h0⟩, is equal to $\langle 0, h_0 \rangle$.

Written by a model that saw only the Lean, never the English above. If the two disagree, that is worth a challenge.

The proof, explained

The claim holds immediately by definition. The winner function `ic_winner` is defined via `ic_winner_nat`, whose base case at round 0 explicitly returns the initial candidate `⟨0, h0⟩`. Consequently, both sides of the equation are definitionally equal and the proof is completed by reflexivity.

  1. The winner at round 0 is candidate ⟨0, h0⟩

    By definition, `ic_winner` evaluates `ic_winner_nat` on round index 0 and proof `h0`. The base case in the definition of `ic_winner_nat` explicitly matches on `0, h0` and evaluates to `⟨0, h0⟩`. Since both sides are definitionally equal, reflexivity (`rfl`) finishes the proof.

    line 4

        ic_winner rule prof ⟨0, h0⟩ = ⟨0, h0⟩ := rfl

Written by a model (gemini-3.8-flash) from the Lean source alone (no goal states were available). Lean verified the proof; this explanation is a reading aid and is not itself machine-checked.

Lean source view module on GitHub

/-- At round 0, the first arriving candidate is the initial winner. -/theorem ic_winner_zero {T : ℕ} (rule : OnlineICDecision T) {V : Type} [Fintype V]    (prof : V → LinearOrder (Fin T)) (h0 : 0 < T) :    ic_winner rule prof ⟨0, h0⟩ = ⟨0, h0⟩ := rfl
See it in the graphDiscuss this resultChallenge it