Unconditional Integer Factorization in Subexponential Time via AI-Driven Discovery

2026-11-26 04:59

A recent research breakthrough has introduced an unconditional, zero-error Las Vegas algorithm capable of performing complete integer factorization in subexponential time. The algorithm, designed to run on a single fixed uniform classical multitape Turing machine, computes the exact prime factorization of any integer N greater than or equal to 2. By operating in worst-case expected time L_N[1/3, 105] and utilizing a deterministic workspace of L_N[1/3, 40], this method represents a significant milestone in computational number theory.

What distinguishes this research from previous efforts is its unconditional nature. The algorithm does not rely on any unproven number-theoretic hypotheses. Instead, every prime factor identified in the output is verified through the Agrawal-Kayal-Saxena (AKS) primality test, followed by direct multiplication to confirm the result against the original input. This rigorous verification process ensures that the mathematical foundations of the proof remain solid and verifiable without needing to assume the truth of conjectures that currently remain unsolved in the field.

Perhaps most notably, the entire proof and its subsequent formalization were generated by ‘Cogentic,’ an agentic framework for mathematical discovery powered by the Gemini 4 model. Developed by a team of researchers from Google Research and Google DeepMind—including Yang Cai, Vineet Gupta, Yanchen Jiang, Christopher Liaw, Aranyak Mehta, Grigoris Velegkas, and Di Wang—Cogentic was tasked with the discovery process with minimal human intervention. Beyond the initial prompt provided to the agent, the generation of the proof and the accompanying Lean 4 formalization were conducted entirely by the AI system.

The formalization itself is a critical component of the project. The team has completed a full, unconditional proof using Lean 4 (version 4.35.0), utilizing only the Mathlib library. This formal verification provides a high degree of confidence in the correctness of the algorithm, as it allows the proof to be checked by a computer, eliminating potential human errors in the logical derivation. The researchers have committed to releasing this formalization alongside the paper, ensuring that the scientific community can inspect and validate the work independently.

This development highlights the growing capability of AI agents in the realm of pure mathematics. By successfully navigating complex number-theoretic problems and producing a verifiable, formalized proof, Cogentic demonstrates that agentic frameworks can serve as powerful tools for mathematical research. The paper and its associated materials have been released under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), allowing for open access and further exploration by the academic community. As the field continues to evolve, this work stands as a testament to the potential for human-AI collaboration to push the boundaries of computational complexity and algorithmic efficiency.