arXiv:2610.36494cs.LOOct 2026

Manuscript Offprint

arXiv:2610.36494

Counting by the Book: Verifying Alaska's Ranked-Choice Elections

Lucy Horowitz

Verifying Alaska’s Ranked-Choice Elections

LUCY HOROWITZ, University of California, Berkeley, USA

We present Alaska’s ranked-choice elections as a case study in Formally Verified Democracy, a program to establish election results through formally checked proofs. We formalize an interpretation of Alaska’s tabulation rules in Lean, verify its implementation, and prove election-specific results. Across 115 ranked-choice contests in Alaska since 2022, we identify 75 ballot records across 10 contests that were counted differently from this interpretation by a program reproducing the published results, without changing any winners. We trace these differences to overvotes and duplicate rankings and examine their legal justification, showing how formal verification can expose consequential choices in translating election law into software.

CCS Concepts: • Software and its engineering → Formal methods.

Additional Key Words and Phrases: ranked-choice voting, formal verification, election law

ACM Reference Format:

Lucy Horowitz. 2026. Counting by the Book: Verifying Alaska’s Ranked-Choice Elections. 1, 1 (October 2026), 22 pages.

1 Introduction

An election result should come with evidence that the reported winner follows from the ballots and the rules governing their tabulation. The goal of Formally Verified Democracy is to provide such evidence in the form of a machine-checked proof. We express election rules as precise specifications and establish that the reported outcomes are permitted by those specifications. Such proofs can increase confidence in election results by making the reasoning from ballots to winners independently checkable. This paper presents Alaska’s ranked-choice elections as a case study in Formally Verified Democracy. We develop a verified tabulator and election-specific proofs, but also confront a prerequisite for their use: determining which rules the tabulator should implement when the governing legal text requires interpretation.

Jurisdictions across the United States are adopting ranked-choice voting (RCV) [33], where instead of casting one vote for one candidate, voters rank multiple candidates in order of preference. In most of these elections, the winners are determined by a counting method called instant-runoff voting (IRV). The precise rules for interpreting malformed ballots, including those that contain skipped rankings, repeated candidates, or multiple candidates at the same ranking, vary across jurisdictions. Seemingly minor choices can affect how ballots are counted. This paper examines the relationship between Alaska’s statutory tabulation rules and the behavior recoverable from its published election records.

Author's Contact Information: Lucy Horowitz, University of California, Berkeley, Berkeley, California, USA, lucyhorowitz@berkeley.edu.

Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from permissions@acm.org.

© 2026 Copyright held by the owner/author(s). Publication rights licensed to ACM.

ACM XXXX-XXXX/2026/10-ART

https://doi.org/

Lucy Horowitz

Alaska adopted ranked-choice voting through Ballot Measure 2 in 2020, which added the tabulation procedure in AS 15.15.350 [2, 40]. We abbreviate references to its subsections, for example (d)(2).

The statute was first applied in the August 2022 special general election for U.S. Representative and subsequently in the 2022 and 2024 general elections. 1^{1} The Division of Elections publishes cast vote records (CVRs) and tabulation reports that permit comparison of aggregate ballot treatments in individual rounds of each contest [1].

Voters sometimes make errors when marking their ballots. Within RCV, there are many established ways to handle such ballots [25, 36]. As a result, the same ballot may be counted differently under one set of rules than under another. For example, consider the following ballot, reconstructed from Alaska's 2022 general-election cast vote record:

United States Representative
1st2nd3rd4th5th
Begich, Nick●●●○○
Bye, Chris○○○○○
Palin, Sarah○○○●○
Peltola, Mary S.○○○○○
Write-in:○○○○○

Fig. 1. A ballot reconstructed from Alaska's 2022 general-election cast vote record (ballot 82311) [3].

This voter ranked Begich first, second, and third, followed by Palin fourth. Alaska's regulations instruct election officials to count a repeated candidate at their highest ranking and “disregard the remaining rankings for that candidate.” Does disregarding the repeated Begich rankings make the second and third rankings blank? The distinction matters because Alaska’s rules also say that two consecutive skipped rankings make a ballot inactive [39, 40]. After Begich’s defeat, our statutory model (Section 2) counts this ballot for Palin, while the model that reproduces the published results treats it as inactive and doesn’t count it for any candidate. 2^{2}

Which set of rules were applied in Alaska's ranked-choice elections, and does this set agree with what is prescribed by the statute? The software used by the Alaska Division of Elections to tabulate ranked-choice ballots was developed by Dominion Voting Systems (now Liberty Vote) and is proprietary. Consequently, its implementation cannot be publicly formally verified against the statute or even inspected. However, the published data permit a form of black-box analysis. While we cannot prove anything about the actual software that they used, independently writing code that tabulates the votes from the ballots in the CVR and matches the published round-by-round totals allows us to infer certain properties of the implementation's behavior.

The properties of tabulation software can materially affect the outcome of elections. In Oakland, CA's November 2022 District 4 school board election, an error in how the tabulation software was configured to handle a certain class of mismatched ballots caused Nick Resnick to be declared the winner instead of Mike Hutchinson [30]. An independently checked proof of the result against a specification capturing the required ballot treatment would have exposed this discrepancy before certification.

1^{1} RCV will be used in the 2026 general election in Alaska. Also on the ballot is an initiative to repeal ranked-choice voting altogether. A similar initiative was narrowly defeated in 2024, 50.1% to 49.9% [20].

2^{2} The necessity of the latter treatment in reproducing Alaska's results was discussed by Manuel Alvarez-Rivera in [10].

We formalize a statutory model: an interpretation of Alaska’s rules in Lean 4 [16], verify its implementation, and prove theorems encoding the results of specific elections (Section 2). Across 115 contests (some of which had only one round of tabulation), our interpretation counts 75 ballot records differently from a model that exactly reproduces all 22 published multi-round reports (the reproduction model), while electing the same winners (Section 3). In Section 4 we identify the rules responsible for these ballot-level discrepancies and assess their legal justification. In Section 5 we situate this case study within the landscape of formal voting theory and law.

References (9)