Google AI could improve mathematical factoring limit after three decades
A study published on Wednesday, 25th, in Google’s GitHub repository introduces a system based on Gemini 4, called Cogentic. This system proposes an algorithm that could reduce the time required to factor integers as they grow in size. If confirmed, this work would update a limit established in 1992 by mathematicians Hendrik Lenstra and Carl Pomerance.
The 54-page document is part of a series of six new studies attributed to the system. The research claims that both the proof and its formalization in Lean 4 were achieved without human intervention beyond the initial command. The formalization files will be released separately in a complementary publication.
The validity of the results still needs to be verified. The study focuses on the execution time predicted by the demonstration and does not present a practical breach of security systems that rely on factoring large numbers.
What problem is being addressed?
Factoring a small number, like 15 (the product of 3 and 5), can be a simple school exercise. However, as numbers grow larger, finding their factors becomes more challenging, even though multiplying them for verification remains straightforward.
In computing, a key question is how the effort required to find factors increases as the size of the number grows. While an algorithm may perform well on tested examples, mathematically proving its behavior for any input is a different challenge altogether.
In 1992, Lenstra and Pomerance published a rigorous guarantee for a probabilistic factoring algorithm, expressed as LN[1/2, 1], ignoring smaller terms.
The new paper claims to achieve LN[1/3, 105]. The shift from 1/2 to 1/3 indicates an improvement in how the time limit grows for sufficiently large numbers. However, this does not mean the program is one-third faster or that the expression can be directly converted into seconds.
The goal is to improve the upper bound on execution time. The 1992 result did not create an insurmountable barrier but provided a guarantee that the new proposal claims to strengthen.
What does the study claim to demonstrate?
Factoring methods like the General Number Field Sieve already suggest behavior associated with the exponent 1/3. The challenge is to demonstrate this performance without relying on unproven hypotheses.
Cogentic aims to reduce the gap between expected performance and what can be rigorously guaranteed, achieving the exponent 1/3 without resorting to conjectures. However, this comes with a high constant in the execution time expression.
This does not mean the algorithm is faster in real-world applications than current methods. The analysis shows that the exponent cannot be considered in isolation, and the paper prioritizes explicit constants and a complete demonstration, without comparing performance in factoring cryptographic keys.
The algorithm is of the Las Vegas type, which uses randomness and guarantees correct answers, with variable execution time. Each factor found undergoes a primality test, and the multiplication of factors is verified against the original number.
How does Cogentic organize its agents?
Presented in September by seven researchers from Google Research and Google DeepMind, including Yang Cai, Vineet Gupta, and Yanchen Jiang, Cogentic coordinates AI agents to explore mathematical problems that require distinct paths and preserve intermediate progress during prolonged searches.
One component distributes research directions among agents that build demonstrations, while others examine arguments adversarially to identify errors. Approved intermediate results are recorded to guide subsequent rounds.
This architecture aims to address a problem with language models in mathematics: a solution may appear convincing but conceal an invalid step. Distributing investigation and criticism among agents reduces this risk, though agreement among them does not replace external verification.
The research is part of AI’s progress in mathematical tasks. In 2025, systems from Google and OpenAI achieved scores equivalent to a gold medal in the International Mathematical Olympiad. Investigating an open problem requires that the answer contribute something not yet established.
Implications for cryptography
Factoring is critical to digital security because systems like RSA rely on the difficulty of recovering prime factors from large numbers. A sufficiently practical improvement could compromise keys built using this method.
However, the new work focuses on an asymptotic limit, which describes how the algorithm behaves as the input grows. Assessing practical consequences would require understanding implementation costs, memory, and performance at the number sizes used in cryptography.
The algorithm was designed for classical computing, unlike research in which Google agents found reductions in quantum calculations. In both cases, the mathematical gain must be distinguished from performance on a specific machine.
Next steps for confirmation
The complete formalization in Lean 4 has been finished and will be published separately, allowing for examination of statements, previous results, and system verification.
Expert review is also needed to confirm the correspondence between the described algorithm and the announced time guarantee. Verifying the correctness of factors is different from demonstrating that the procedure finds them within the promised limit.
The other five studies in the series address topics such as discrete logarithms, game theory, communication complexity, and graph reconstruction. The validity of each contribution will depend on its own analysis.
For factoring, the promise is both precise and ambitious. If the demonstration withstands scrutiny, AI will have helped improve a mathematical guarantee that has stood for over three decades. The publication of the study makes this claim examinable, and the release of the formalization will be another step toward putting it to the test.








