Skip to content

About

Lean proof for bigospeedrun.com

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

Repository files navigation

Subset Sum in time O(2^(0.49995 n)), in Lean

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.lean is the trusted statement, copied unchanged from challenges/subset-sum/Statement.lean of the verifier repository.
  • The proof uses only the axioms propext, Classical.choice and Quot.sound, with no sorry and no native_decide.
  • Lean v4.34.1, Mathlib d13f23b. Check with lake build Submission.

Credit

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.

Layout

  • Submission.lean: exports Race.bound.
  • Submission/Fast/Main.lean: the main theorem solved.
  • 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.

About

Lean proof for bigospeedrun.com

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages