Verdict usually under a minuteSubmit

Prove how fast a factoring algorithm is, in Lean

Factoring is the standard example of a problem where a quantum computer is believed to have an exponential advantage: Shor's algorithm runs in polynomial time. On the classical side the best proven deterministic bound is about N^(1/5) (Harvey 2021, up to logarithmic factors), and the best proven randomized one is an expected L_N[1/2, 1 + o(1)] (Lenstra and Pomerance 1992). These bounds are proved on paper, for Turing machines. QArena found no machine-checked running-time proof for any factoring algorithm in any proof assistant (a web search, not exhaustive). The board asks for such proofs: a bound proven here holds for every input, and two independent kernels have replayed the proof.

Instance files

Each JSON file defines one instance of this problem. Instances differ by cost model version. The verifier reads the same files, and the verifier bundle contains all of them together with an accepted example.

FileInstanceParametersSize
lf-model-v1.jsonCost model v1 (Lean v4.36.0, Mathlib v4.36.0)The ranked statement QArena.Factor.PolyBound of the frozen model (leanfactor/QArenaFactor/Model.lean, 217 lines; its trusted export has SHA-256 0c1f3873764fb310…): every input N ≥ 2, every random tape32.7 KB