Quantum Security & PQC

Google Researchers Say Their AI Proved a Rigorous Bound on Integer Factoring That Mathematicians Have Sought Since 1992

On 25 November 2026, Google researchers posted six mathematics papers to the company’s public GitHub repository, all generated by Cogentic, an AI proof-writing system built on Google’s Gemini models. The lead paper, “Unconditional Integer Factorization in Time $$L_N[1/3, O(1)]$$,” claims a classical algorithm that splits any whole number into its prime factors in expected time $$L_N[1/3, 105]$$, with no unproven assumptions.

If the proof is correct, its bound is asymptotically lower than the best proven running time for factoring, $$L_N[1/2, 1+o(1)]$$, which Hendrik Lenstra and Carl Pomerance published in 1992. The README files that accompany the papers make no claim about numbers of practical size, and the authors have released no code for either factoring algorithm.

The READMEs for the factoring papers said Cogentic, with Gemini 4 as its base model, produced each paper and its Lean 4 formal proof with “no human interaction other than the initial prompt.” They said the formal proofs “will be released in a companion submission”; as of 3 December, the proofs were not in the repository. R&D World reported on 25 November that no outside mathematician had verified the factoring paper.

What Cogentic Is and Who Built It

Seven Google researchers described Cogentic in a paper posted to arXiv on 30 September and revised on 1 October. In their design, an orchestrator assigns proof directions to parallel “prover” agents. Adversarial “verifier” agents check each draft, and the system records lemmas that pass in a ledger for later rounds.

The authors, Yang Cai, Vineet Gupta, Yanchen Jiang, Christopher Liaw, Aranyak Mehta, Grigoris Velegkas and Di Wang, reported five earlier results in online learning, auction theory and mechanism design. They ran Cogentic on Gemini 3.1 Pro or an early version of Gemini 4 Argon. Domain experts checked every proof, they said.

Four more Cogentic papers, in game theory, learning theory and auction design, were added to the same repository folder between 30 October and 23 November. On 25 November, Jiang added six papers in a single commit. Its message said Lean 4 formalizations of all six proofs would follow.

An L(1/3) Factoring Algorithm With No Unproven Assumptions

According to its README, the factoring paper constructs a randomized algorithm for a multitape Turing machine that outputs the complete prime factorization of every integer $$N \ge 2$$. It is a zero-error, or “Las Vegas,” algorithm: it never returns a wrong answer, and only its running time depends on chance. Each prime in the output is certified by the Agrawal–Kayal–Saxena primality test, and the product of the primes is checked against $$N$$.

The paper claims a worst-case expected running time of $$L_N[1/3, 105]$$ and a memory bound of $$L_N[1/3, 40]$$, “with effectively computable constants and no unproven number-theoretic hypotheses.” The notation describes how cost grows with the size of $$N$$:

$$$L_N[\alpha, c] = \exp\left(c(\ln N)^{\alpha}(\ln\ln N)^{1-\alpha}\right)$$$

An $$\alpha$$ of 1 means time exponential in the length of $$N$$, the class trial division belongs to, and an $$\alpha$$ of 0 means polynomial time. The number field sieve, the fastest known method for factoring large general integers, is estimated to run at $$\alpha = 1/3$$ with $$c = (64/9)^{1/3} \approx 1.923$$, but that estimate depends on heuristic assumptions nobody has proved. The README defines the bound as a limit as $$N$$ grows, so a reader cannot get the cost at any particular size from it.

Lenstra and Pomerance proved their $$L_N[1/2, 1+o(1)]$$ bound for a class-group method that earlier authors had analyzed only under the generalized Riemann hypothesis. In their abstract, they wrote that a gap remained between their proven bound and the number field sieve, which was conjectured to factor any integer in time $$L_N[1/3, O(1)]$$. The Cogentic paper claims exactly that bound, with no conditions attached.

The Deterministic Companion Paper

The second factoring paper, “Unconditional Deterministic Subexponential Integer Factoring and Quadratic Nonresidue Construction,” is a separate result with a weaker bound. According to its README, it gives an explicit deterministic algorithm that finds a nontrivial divisor of any composite $$N \ge 4$$ in $$O(\exp(3(\ln N)^{3/4}))$$ bit operations, which the paper writes as $$L_N[3/4, o(1)]$$. It also claims a deterministic way to find a quadratic nonresidue modulo an odd prime $$p$$, a number that is not a square modulo $$p$$, in $$\exp(O(\sqrt{\ln p}\ln\ln p))$$ bit operations.

Before October, the best proven deterministic bounds were exponential in the length of $$N$$. David Harvey posted an algorithm with the best exponent, about $$N^{1/5}$$, in 2020, and he and Markus Hittmeir later trimmed its cost by a log-log factor. In late October, Isaac Rudich and Louis-Martin Rousseau of Polytechnique Montréal released a public Lean proof, generated by Anthropic’s Claude, that a deterministic machine finds the smallest prime factor of $$N$$ in $$N^{o(1)}$$ time; their repository says the constants were never computed and are astronomically large.

The Other Four Papers in the Commit

The discrete logarithm paper claims a zero-error algorithm for discrete logarithms in finite fields of small, fixed characteristic that runs in expected time $$(pn)^{o(\log n)}$$ for a field of $$p^n$$ elements, asymptotically below the $$(pn)^{2\log_2 n + O(1)}$$ bound that Thorsten Kleinjung and Benjamin Wesolowski published in 2022. Researchers broke pairing-based schemes built on supersingular curves over such fields in 2013 and 2014; in one of those papers, Robert Granger, Kleinjung and Jens Zumbrägel showed that a curve proposed for “128-bit security” had about 59 bits of security. The other three papers claim results on 1/5-approximate Nash equilibria in two-player games, on the log-rank conjecture in communication complexity and on edge reconstruction for simple graphs of linear density.

My Analysis

How the Proof Compares With the Number Field Sieve

The researchers behind September’s two factoring records, RSA-260 and RSA-896, both used the general number field sieve. Nobody has proved that the sieve runs in its estimated time of $$L_N[1/3, 1.923]$$. The estimate depends on two assumptions: that the numbers the sieve generates split into small primes as often as random numbers of the same size, and that its final step yields a factor.

The nearest earlier result I know of is a 2018 paper by Jonathan Lee and Ramarathnam Venkatesan in the Journal of Number Theory. They proved that a randomized version of the sieve finds congruences of squares, pairs of numbers $$x$$ and $$y$$ with $$x^2 \equiv y^2 \pmod{N}$$, in expected time $$L_N[1/3, 1.923]$$ without unproven assumptions. Extracting a factor requires a congruence with $$x \not\equiv \pm y$$. Lee and Venkatesan could guarantee one only under a conjecture, and only for numbers that are the product of two primes each congruent to 3 modulo 4.

The Cogentic paper claims the whole job, for every $$N$$, with no conjecture, at a constant of 105, about 55 times the sieve’s 1.923. In 1992 the sieve already had a better conjectured running time than the bound Lenstra and Pomerance proved. They wrote, “Our victory has turned out to be an empty one.”

If Cogentic’s proof holds, a proven bound for complete factorization matches the sieve’s 1/3 for the first time, though not its constant. Number theorists would then know that factoring in $$L(1/3)$$ time needs no unproven hypothesis. For anyone factoring actual numbers, the sieve’s heuristic estimate stays the better guide.

No Practical Speedup at Any Key Size in Use

The factoring papers’ READMEs and the commit message never mention RSA, encryption or key sizes, and nobody has shown a practical speedup from either algorithm. To give a sense of the constants, I evaluated each formula with its lower-order terms and hidden constants dropped. The results are values of formulas, not running times or security ratings:

Modulus size Trial division Number field sieve (heuristic) Lenstra–Pomerance (1992) Cogentic, randomized Cogentic, deterministic
1,024 bits $$2^{512}$$ $$2^{87}$$ $$2^{98}$$ $$2^{4{,}738}$$ $$2^{595}$$
2,048 bits $$2^{1{,}024}$$ $$2^{117}$$ $$2^{146}$$ $$2^{6{,}382}$$ $$2^{1{,}001}$$
15,360 bits $$2^{7{,}680}$$ $$2^{269}$$ $$2^{453}$$ $$2^{14{,}709}$$ $$2^{4{,}536}$$

Trial division needs about $$\sqrt{N}$$ divisions. The randomized Cogentic formula stays above the trial-division figure until about 45,500 bits. At 15,360 bits, the RSA size that NIST SP 800-57 Part 1 pairs with 256-bit security, it is still larger by a factor of about $$2^{7{,}000}$$. It falls below the 1992 formula only near $$6 \times 10^{13}$$ bits, a number about 18 trillion digits long.

The deterministic formula is above the trial-division figure at 1,024 bits and slightly below it at 2,048 bits. It crosses the trial-division figure at about 1,870 bits and falls below Harvey’s $$N^{1/5}$$ only above about 73,000 bits.

I compared formulas here, not the algorithms themselves. The READMEs give no costs for numbers of practical size, and the true running times could be far lower than these values. For comparison, NIST rates a 2,048-bit RSA key at 112 bits of security.

Eric Lu of Cognition used Devin to write GPU sieve code and factored RSA-260 with it on 3 September. Stephen Weis used Claude to port the CADO-NFS sieve to GPUs and factored RSA-896 16 days later. Both ran the existing sieve algorithm on GPUs. In November, Google DeepMind researchers, whose work I cover separately, used AI agents to cut the computing cost of forging 1,024-bit RSA signatures after temporary access to a signing oracle. They did not factor the key.

Nobody Has Proved That Factoring Is Hard

From 1992 until this claim, the best proven bound for factoring had 1/2 as its first parameter, against the sieve’s heuristic 1/3. Cogentic’s paper claims to bring the proven figure down to 1/3, with a constant 55 times the sieve’s. Both figures are upper bounds: costs that some algorithm is known, or believed, to stay under.

Nobody has proved that a polynomial-time classical factoring algorithm is impossible. Factoring is not believed to be NP-hard, so such an algorithm would not imply P = NP. A new method, found by people or with AI help, cannot be ruled out.

There is no public evidence of a practical classical method for factoring RSA-size numbers, polynomial-time or otherwise. Cogentic’s bound, with its constant of 105, is no such evidence. Rumors that AI labs are holding back a factoring algorithm circulated the same week; I examine them separately.

Anyone claiming a practical factoring capability could prove it on an independently chosen challenge without revealing the method. Publishing the prime factors of the RSA-2048 challenge number would let anyone confirm the result by multiplication in milliseconds. The test I set out in No One Has Secretly Broken RSA-2048 or RSA-4096 works the same way, with a fresh key that the challenger generates.

In 2025 I argued that AI could not break modern encryption. In November I corrected the part of that piece that said AI would leave cryptographic mathematics out of reach. Cogentic’s papers are another claimed case of AI doing that mathematics, by the READMEs’ account with no human input after the first prompt.

Checking a Proof Written by AI

Cogentic’s authors explained in their framework paper why experts could check the first five results: the problems came from the authors’ own research areas. They checked each argument and wrote the exposition. In some cases they carried the proof further than the system had.

The authors also wrote that such a system can produce candidate results faster than people can read them. They named formal proof in Lean as one answer. Number theory is not among the areas the paper lists.

The factoring papers’ READMEs make no claim that experts checked the proofs, and they describe the Lean formalizations as complete but unreleased. As of 3 December the Lean files were not in the repository, and I found no independent verification of either factoring proof. Number theorists can check the papers now. Once the Lean files are public, anyone can also run a mechanical check, provided the formal statement matches the paper’s claim.

Rudich and Rousseau made their Lean proof public in October. Their README says the proof uses no unfinished steps or added axioms. The two authors designed and audited the theorem statement. By their own account, they did not read the proof and left the checking to Lean.

A proof that compiles in Lean is a correct proof of its formal statement. Whether the algorithm is useful is a separate question, and Rudich and Rousseau never computed their constants. For Cogentic, reviewers should start with the theorem statement, because a correct proof of a weaker claim than the paper’s would also compile. The Turing machine, the expected running time, the memory bound and the limit in the L-notation all have to be defined in Lean the way the paper defines them.

In my July analysis of Anthropic’s HAWK and AES results, I argued that AI systems now produce candidate cryptanalysis faster than cryptographers can review it. I also backed Markku-Juhani Saarinen’s call for machine-checkable proofs or scaled-down demonstrations. Cogentic’s team has promised the first. For the second, researchers could run an implementation on small numbers, but a proof about the limit as $$N$$ grows cannot be validated that way.

My recommendation is to make no change to key-management plans because of these papers. Retiring any remaining 1,024-bit RSA was overdue before September; Lu and Weis cut the cost of factoring with GPUs that month, but neither reached 1,024 bits. If Cogentic’s proof holds, number theorists will want to know how far the constant of 105 can come down toward the sieve’s 1.923.

From the author

Marin Ivezic

I am the Founder of Applied Quantum (AppliedQuantum.com), a research-driven consulting firm empowering organizations to seize quantum opportunities and proactively defend against quantum threats. A former quantum entrepreneur, I’ve previously served as a Fortune Global 500 CISO, CTO, Big 4 partner, and leader at Accenture and IBM. Throughout my career, I’ve specialized in managing emerging tech risks, building and leading innovation labs focused on quantum security, AI security, and cyber-kinetic risks for global corporations, governments, and defense agencies. I regularly share insights on quantum technologies and emerging-tech cybersecurity at PostQuantum.com. I also founded and teach at Quantum Academy (QuantumAcademy.com) which trains and certifies professionals in post-quantum cryptography, quantum computing, networking and sensing.