← Thu, Nov 26 digest

Unconditional Integer Factorization in Subexponential Time

read article ↗ hn thread ↗

Google Research released an AI-generated paper and Lean 4 formalization proving an unconditional, deterministic subexponential-time algorithm for integer factorization without unproven hypotheses.

read it The paper and its formalization represent a major milestone in AI-assisted mathematical discovery, providing the first unconditional proof for subexponential integer factorization.

summary

Google Research released a paper and complete Lean 4 formalization created entirely by an AI agentic framework called Cogentic using Gemini 4 that constructs an unconditional subexponential-time integer factorization algorithm. Unlike the General Number Field Sieve, which relies on unproven heuristics, this algorithm provides a rigorous upper bound with certified primality testing and zero unproven number-theoretic hypotheses. Commenters note that while the large constant factor makes it slower than practical algorithms and poses no threat to RSA, it is a significant theoretical achievement and formal verification milestone.

key points

  1. The algorithm achieves a worst-case expected time of L_N[1/3, 105] and deterministic workspace L_N[1/3, 40] using a classical multitape Turing machine.
  2. Every prime factor is deterministically certified using Agrawal-Kayal-Saxena primality testing with no unproven number-theoretic hypotheses.
  3. The entire proof and paper were generated automatically by Cogentic, an AI framework powered by Gemini 4, and fully formalized in Mathlib-only Lean 4.

who should read it

Theoretical computer scientists, mathematicians, and researchers interested in automated theorem proving and formal verification.

discussion positive

consensus

Commenters agree that while the result is a fascinating theoretical and formal verification milestone, it poses zero threat to modern cryptography because its large constant factor makes it far slower than existing heuristic methods.

pushback

Initial confusion sparked debate over whether this established a new lower bound or proved P!=NP, which commenters quickly corrected by clarifying it is strictly an upper bound.

best comment by simiones ↗

The exponent is 105 * n^1/3 * (log n)^2/3 for the proven deterministic algorithm (this is what L[1/3, 105] apparently means). Note that the best known probabilistic algorithm, much older than this, was 1.923 * n^1/3 * (log n)^2/3 (this was L[1/3, 1.923]). This older algorithm is thus ~exp(103) times faster than the newly proven one, hence why this has no cryptographic impact. Note that n here is the bit size of the number you are trying to factor.

It provides a clear mathematical comparison of the time complexity constants between the new proven algorithm and older probabilistic methods.

Generated by an LLM from the article and thread. Check the sources before relying on it.