The Pud Gazette

Software deskTypeScript & formal proof

The availability report

The case of the missing vote.

We dropped a batch from a scheduler’s tally. Pud caught the mistake with an empty list and one available voter.

Examine the evidence
An engraved portrait of Pud in spectacles and a bow tie
Pud, the proof runner for TypeScript.Pud portrait archive

The evidence

Count two batches together or tally each one separately. The totals must agree.

The failing input

Left batch
[]
Right batch
[1n]
Expected
1n
Returned
0n

The correction

Restore the second tally. Lean proves the rule for every pair of dense bigint lists in the model.

Read the source ↗