r/algorithms • u/dnrlk • 29d ago
News Deterministic factoring in time N^o(1)
https://hexagonmath.org/2610.00600?version=1
The current best upper bound for deterministic factoring is N{1/5+o(1)}. We provide a Lean certificate that there exists a deterministic Turing machine that computes the smallest prime factor of every N in N{o(1)} steps: for every k\geq 1 it runs within C_k 2{n/k} steps on n-bit inputs. The algorithm reduces factoring to counting divisors with prescribed leading bits, and counts them by leveraging the counting engine used to refute the Exponential Time Hypothesis (ETH). The Lean statement that a reader must check to verify the proof is only 13 lines and only uses Mathlib. The full proof is about 35,000 lines. This note was written less than 24 hours after the ETH refutations were posted. No human-readable explanation of these results exists yet, and their Lean proofs are long: Anthropic's alone runs to about 152,000 lines. Our proof re-proves only the part of the counting engine it needs and imports nothing from those developments. We hope this application, with its short statement, serves as a stepping stone for those working to understand the engine; a follow-up paper will explain this proof in detail.
15
u/Beginning_Marzipan_5 29d ago
That is wild. We live in such interesting times. From the looks of it, this is a galactic algorithm.
I asked Chatty to inspect the Lean code and work out the actual runtime. It came up with the upper bound
N^O(1 / (log log N)^0.01535)
That exponent goes to zero extraordinarily slow. But certainly o(1). Apparently, even the first level of recursion requires an input of more than 10^1114 bits!
Still, if this holds up, it’s a remarkable theoretical breakthrough.
6
u/Ythio 29d ago
Why publishing it now without the "follow-up paper [that] will explain the proof in detail" ?
0
u/[deleted] 29d ago
[deleted] — view deleted comment