A Lean 4 proof of
theorem Race.bound : BigOSpeedrun.SubsetSum.SolvedInTime ((9999 : Rat) / 20000)for the Subset Sum board of bigospeedrun.com: a randomized word-RAM program that runs in time O(2^(0.49995 n)) on every random outcome and answers correctly with probability at least 2/3.
Submission/Statement.leanis the trusted statement, copied unchanged fromchallenges/subset-sum/Statement.leanof the verifier repository.- The proof uses only the axioms
propext,Classical.choiceandQuot.sound, with nosorryand nonative_decide. - Lean
v4.34.1, Mathlibd13f23b. Check withlake build Submission.
Lean formalization by 4latte and Chiikabu Labs, assisted by Claude Duet by Anthropic.
The algorithm follows the paper «Subset Sum in Time O(2^0.49n)» (OpenAI, 4 October 2026), with its parameters set for the exponent 0.49995.
Submission.lean: exportsRace.bound.Submission/Fast/Main.lean: the main theoremsolved.Submission/Fast/Impl,HL: the program and its correctness on the machine.- The other folders under
Submission/Fast: the math of the algorithm and the error and time bounds.