On November 25, 2026, Google Research quietly added six mathematics papers to a folder in its public GitHub repository. Every one was written, according to its own footnote, by Cogentic, a multi-agent proof system running on Gemini 4, with no human interaction beyond an initial prompt. The headline paper is the most ambitious of the batch: a claimed proof that every integer can be factored, with certainty, in a proven running time matching the asymptotic class of the fastest factoring method known to practice. If it holds, it closes a 34-year gap between what factoring algorithms seem to do and what anyone could actually prove they do.
The claim is easy to state and easy to misunderstand. It is not a faster way to break encryption. It is a proof that a certain theoretical speed class, long assumed but never established, really is achievable unconditionally. Understanding what that means, and what it does not, requires a short tour through how factoring algorithms are measured and why the field has been stuck.
Undoing multiplication is the whole problem
Multiplying two large primes is trivial for a computer. Undoing the product is not. Given a number N that is the product of two primes, finding those primes is the computational problem on which RSA encryption rests. The obvious approach, trial division, tries one candidate divisor after another. It finds that 8,051 has the factor 83 on its forty-first odd candidate. Applied to a 617-digit number, the size of an RSA-2048 modulus, it could need on the order of 10^308 attempts.
Modern factoring methods get their speed from a clever observation: you do not need to search for a factor directly. Instead, look for two numbers whose squares leave the same remainder when divided by N. Since 8,051 is 90 squared minus 7 squared, the two squares 90 squared and 7 squared leave the same remainder, and the greatest common divisor of 90 minus 7 and 8,051 is 83, a genuine factor. Sieve-based algorithms, including the number field sieve, build such pairs of squares at scale. They collect many numbers whose prime factors are all small, called smooth numbers, and combine the collected relations with linear algebra over zeros and ones until a pair of equal squares falls out.
Measuring speed with L-notation
Factoring running times live on a scale written L with two parameters, alpha and a constant c. Alpha 0 corresponds to time polynomial in the number of digits. Alpha 1 corresponds to exponential time, the regime of trial division. Formally, a bound of L with parameters alpha and c means the time grows like the exponential of c times the natural log of N raised to alpha, times the log log of N raised to one minus alpha. Everything between 0 and 1 is called subexponential: faster than any polynomial, slower than any exponential. The exponent alpha is the headline; the constant c sits inside the exponential and controls where the bound actually bites.
The history of proven bounds in this scale is short. Dixon's random squares method of 1981 gave the first subexponential proven bound. In 1992, Hendrik Lenstra and Carl Pomerance proved a randomized, never-wrong algorithm running in L[1/2, 1], and that stood as the best rigorous bound for over three decades. Meanwhile the general number field sieve, developed in the early 1990s and the method used for every record factorization since, runs in roughly L[1/3, 1.92] in practice. Its speed, however, has only ever rested on unproven heuristics about how numbers split into small prime factors. One researcher answering a theory question about the sieve's worst-case complexity put it bluntly: the sieve has never been analyzed rigorously, and its nominal worst-case complexity is effectively unbounded as stated.
There was a partial step. In 2018, Jonathan Lee and Ramarathnam Venkatesan proved that a randomized variant of the number field sieve finds two squares with equal remainders in L[1/3] time unconditionally. But they showed that those squares actually yield a factor only under a conjecture, and only for special products of two primes. The gap between finding congruences of squares and factoring N remained.
What the Cogentic paper claims
The paper, titled Unconditional Integer Factorization in Time L_N[1/3, O(1)], runs 54 pages and carries no author line. Its main theorem describes a zero-error Las Vegas algorithm on a single fixed classical multitape Turing machine. The machine flips fair coins, which affect only how long it takes, never whether it is right. With probability one it halts on every integer N of at least 2 given in binary, and every time it halts it outputs the complete prime factorization, each prime certified deterministically by the Agrawal-Kayal-Saxena primality test and verified by direct multiplication back against N. The worst-case expected running time is bounded by L[1/3, 105], and the worst-case memory use, whatever the coins do, is bounded by L[1/3, 40]. The proof uses no unproven number-theoretic hypotheses, not even the generalized Riemann hypothesis, and the paper states that every constant in the argument is effectively computable.
If correct, this is the first proven bound with exponent 1/3 for complete factoring of arbitrary integers, improving the rigorous frontier from Lenstra and Pomerance's L[1/2, 1] of 1992 and matching the exponent of the heuristic number field sieve. The paper itself says it chose transparent constants, 105 and 40, rather than optimized ones.
Why 105 does not break RSA
The constant matters enormously, because it sits inside an exponential. As an illustration, ignoring lower-order terms, take a 617-digit number. The number field sieve's formula gives roughly 10^35 operations. Lenstra and Pomerance's proven bound gives about 10^44. The new proven bound of L[1/3, 105] gives something on the order of 10^1921. By these formulas alone, the new bound beats trial division only beyond roughly 13,700 digits, and it beats the Lenstra-Pomerance bound only beyond some 18 trillion digits. Its constant is so much larger than the sieve's that it never catches the sieve's formula at all.
The paper is also candid that its machine factors every number below 2^10,000, about 3,000 digits, by plain trial division, and may fall back on trial division above that up to a threshold it never computes. RSA keys of the usual sizes, up to 4,096 bits, sit far below that. The paper makes no claim of a practical algorithm, no claim of beating the sieve, and never mentions RSA or encryption at all. This is a theorem about what is provable, not a tool for cracking anything.
From heuristic to theorem
The interesting technical content is how the proof converts a sieve everyone believes in into an argument nobody has to take on faith. The algorithm follows the sieve's familiar plan: square random numbers modulo N, express each result in terms of smooth numbers, and combine the relations into a pair of equal squares. The paper identifies four obstacles that previously forced such analyses to lean on heuristics, and pairs each with a mechanism:
- Counting smooth numbers. A custom weighting for counting smooth numbers in arithmetic progressions avoids possible Siegel zeros, using only analytic tools with computable constants.
- Independent-enough randomness. The polynomials are drawn from a discrete Laplace distribution, sampled exactly using lattice reduction, so that their values behave independently enough to analyze.
- Taming large primes. Each squared remainder is written as a ratio of two numbers, each at most half the square root of N, built from medium-sized primes; each medium prime is then pushed down a ladder of smaller and smaller primes until everything is smooth.
- Certifying squares. Quadratic characters, together with Stark's lemma and an effective Chebotarev theorem, certify that a candidate really is a square; 3-adic Newton steps compute its square root; and hiding the random numbers until the end makes the final split succeed with probability at least one half.
The two remaining numbers from that final split, and the smaller leftovers of the prime descent, are factored by calling the algorithm on itself. That recursion is what sets the final constant: 21.15 for the trial phases, plus 104 times 2 to the power minus one third, at most 82.56, totals at most 103.71, comfortably below 105.
Who wrote it, and what has been checked
The provenance is as unusual as the mathematics. The paper and a claimed Lean 4 formalization of its entire proof were, per the README, entirely obtained by Cogentic using Gemini 4, with no human interaction beyond the initial prompt. Cogentic itself is described in a September 2026 arXiv paper by seven researchers at Google Research and Google DeepMind: an orchestrator assigns independent prover agents across proof directions, adversarial verifier agents attack every draft on the assumption that each step is wrong until justified, and only confirmed steps enter a persistent verified ledger that later rounds build on. Earlier Cogentic results, in online learning, auction theory and mechanism design, were verified by domain experts; for this batch of six papers, no human checker is named.
That leaves the verification status genuinely open. The papers are PDFs in a GitHub folder, not peer-reviewed publications, and the folder carries the line that it is not an official Google product. The Lean 4 formalization, built only on the community Mathlib library, is claimed to be complete but was not released at the time of the announcement; it is promised in a companion submission. Until those files are public and compile, there is nothing an outside party can run. Independent observers have noted that the paper's account of prior work does not cite the Lee and Venkatesan rigorous sieve analysis, and no named expert had weighed in on the proof in the days after release. Most of the 54 pages, the dense lemma-level mathematics, has not been read line by line by anyone outside Google.
The release also landed in a crowded season for AI mathematics, with OpenAI and Anthropic posting their own large batches of AI-generated proofs, some with Lean files attached and some not. Terence Tao has warned that AI-produced proofs could be a net negative if they arrive as sealed black boxes. Against that standard, the Cogentic papers sit on the more transparent end of the spectrum: they include written-out human-readable arguments, and the promised Lean proofs would make them mechanically checkable by anyone, once released.
What to watch next
The story has a clean resolution condition. If the Mathlib-only Lean 4 formalization is published and compiles under Lean's kernel with the standard axioms, the theorem is established, full stop; the argument will have been checked instruction by instruction by a program that does not get tired or polite. If it slips or fails to verify, the paper joins the long shelf of claimed results that never landed. Either way, the factoring claim itself changes little about the practical security picture: the constant 105 means the proven algorithm is a theoretical landmark, not a threat, and the number field sieve, heuristics and all, still decides how large real keys need to be.
What the result would settle, if verified, is a question mathematicians have lived with since the early 1990s: that the subexponential speed of modern factoring is not an accident of lucky heuristics, but a genuine, provable property of the integers. Proving what everyone believed, at a constant far too large to matter in practice, is exactly the kind of result that is easy to dismiss and hard to produce. Whether an AI system produced it without human help is the second question the release raises, and the answer to that one depends entirely on the Lean files that have not yet appeared.