Definition · Election round, split vote, clean roundIn an election round, each of n candidates waits a randomly chosen timeout and then stands. The round is clean if exactly one candidate holds the earliest chosen timeout, and a split vote otherwise: two or more candidates stand together, divide the votes, and no one reaches a majority.
Modelling the timeout as one of T equally likely discrete slots is a simplification of a continuous random delay, and it is the simplification that makes the probability exactly computable. T is roughly the width of the randomisation window divided by the round-trip time — the resolution at which two candidates can still tell each other apart.
n = 5 candidates, T = 10 slots, each candidate picks uniformly
P(clean) = Σ over j = 1..10 of 5 · (1/10) · ((10 − j)/10)⁴
j = 1 5/10 · (9/10)⁴ = 5/10 · 6561/10 000 = 32 805/100 000
j = 2 5/10 · (8/10)⁴ = 5/10 · 4096/10 000 = 20 480/100 000
j = 3 5/10 · (7/10)⁴ = 5/10 · 2401/10 000 = 12 005/100 000
j = 4 5/10 · (6/10)⁴ = 5/10 · 1296/10 000 = 6 480/100 000
j = 5 5/10 · (5/10)⁴ = 5/10 · 625/10 000 = 3 125/100 000
j = 6 5/10 · (4/10)⁴ = 5/10 · 256/10 000 = 1 280/100 000
j = 7 5/10 · (3/10)⁴ = 5/10 · 81/10 000 = 405/100 000
j = 8 5/10 · (2/10)⁴ = 5/10 · 16/10 000 = 80/100 000
j = 9 5/10 · (1/10)⁴ = 5/10 · 1/10 000 = 5/100 000
j = 10 5/10 · (0/10)⁴ = 0 = 0
total = 76 665/100 000 = 15 333/20 000 = 76.665%
Nearly half the mass sits in the first two terms, which is the shape to carry away: a clean round is usually won early, because winning late requires every other candidate to have chosen later still, and that gets rapidly less likely. The last term is zero because a candidate in the final slot cannot have everyone else strictly after it.
A fixed timeout is the T = 1 case
T = 1: every candidate has the same slot
P(clean) = 5 · (1/1) · ((1 − 1)/1)⁴ = 5 · 0 = 0
every round is a split vote, and the next round is identical
expected rounds = 1/P
T = 10, n = 5 20 000/15 333 = 1.3044 rounds
T = 20, n = 5 P = 87.9166%, 1.1374 rounds
T = 1 1/0, which is what “it never elects” looks like
That is the whole argument for randomising the timeout, and it is not a matter of degree. A deterministic timeout does not make split votes likely, it makes them certain, and no amount of retrying helps because every retry reproduces the tie. The randomisation is what makes the expectation finite at all.
Example · What a wider window costsDoubling the window from T = 10 to T = 20 raises the clean probability from 76.665% to 87.9166% and lowers the expected rounds from 1.3044 to 1.1374. But each round now waits up to twenty slots instead of ten, so the expected time to elect can go up even as the expected number of rounds goes down. The quantity to minimise is rounds multiplied by the length of a round, and it has an interior optimum — which is why real implementations pick a window of a few multiples of the round-trip time and not the largest one they can get away with.
Three assumptions are doing work here and each is worth naming. All n candidates are assumed to start their timers at the same moment, which is the worst case and roughly what a leader crash produces; slots are assumed discrete and uniform, where a real implementation draws from a continuous range; and every follower is assumed to become a candidate, where in practice one that has already granted a vote or heard from a new leader stands down. All three make the computed P(clean) pessimistic, which is the safe direction for a number you are sizing a timeout with.