Factoring in proven time L[1/3, 105]?
A paper attributed to Google’s Cogentic agent claims an algorithm that provably factors every whole number in expected time L_N[1/3, 105], with no unproven hypotheses: the number field sieve’s exponent, with a constant so large that it is no threat to RSA. Its Lean proof is claimed but not released, and no human check is named.
8:11. English captions available. The video loads from YouTube when you press play.
Note. AI Proved What? is independent and not affiliated with Google. Everything here comes from public sources.
Chapters
The question
This is GO01, the first of our Specials on papers from Google’s Cogentic. On November 25, 2026, Google Research added six math papers to its public GitHub repository. Each README says that the paper and a Lean formalization were entirely obtained by Cogentic, an agent system built on Gemini 4, with no human interaction other than the initial prompt. The Lean files have not been released. Google is not affiliated with this series. This episode takes the first paper, on factoring whole numbers. It claims a proven running time of the same shape as the fastest method used in practice, the number field sieve, whose speed has only ever rested on unproven assumptions. So what is the question?
Multiplying two primes is easy. Undoing it is hard. Trial division tries one divisor after another. Going through the odd numbers from 3, it splits 8,051 on its 41st try, at 83. For a number with 617 digits, the size of an RSA-2048 key, it could need about 10^308 tries. Faster methods use squares. 8,051 is 90² − 7², so those two squares leave the same remainder, and the greatest common divisor of 90 − 7 and 8,051 is 83: a factor. Sieve methods build such pairs of squares. They collect many numbers made only of small primes, called smooth numbers, and combine them with linear algebra over zeros and ones.
Factoring times are measured on a scale written L of N, with two numbers in brackets: alpha and a constant c. Alpha 0 is polynomial in the number of digits; alpha 1 is exponential, like trial division. As the paper recounts it, Dixon’s random squares method of 1981 gave the first proven bound in between. In 1992, Lenstra and Pomerance proved L[1/2, 1], for an algorithm that flips coins but is never wrong. The number field sieve, from the early nineties, runs in L[1/3, about 1.92], but only under unproven assumptions about smooth numbers and more. It is what factors record numbers, which reached 270 digits this autumn. One thing the paper does not cite: in 2018, Lee and Venkatesan proved that a randomized sieve finds two squares with equal remainders in that same time. That those squares give a factor, they showed only under a conjecture, for special products of two primes.
The claim, in plain words
The claim. The paper has 54 pages and no author line; a footnote credits Cogentic. Its main theorem: one fixed multitape Turing machine, reading fair coin flips, takes any whole number N of at least 2. With probability one it halts, and every time it halts it outputs the exact prime factorization, each prime certified by the AKS primality test and the product checked against N. Its expected number of bit operations is at most L[1/3, 105], as N grows; its memory is at most L[1/3, 40], whatever the coins do. The coins affect only the running time, never the answer. Unconditional means no unproven hypothesis, not even the generalized Riemann hypothesis; and, the paper says, every constant in the proof can be computed. If it holds, this is the first proven bound with exponent 1/3 for complete factoring; the best before was L[1/2, 1], from 1992.
In the paper’s notation (Theorem 1.1, p. 2): L_x[α, c] = exp(c (ln x)^α (ln ln x)^(1−α)), and T(N) ≤ L_N[α, c] means that the lim sup of ln T(N) / ((ln N)^α (ln ln N)^(1−α)) is at most c. There is a single uniform probabilistic multitape Turing machine M, reading a tape of fair coin flips, that for every N ≥ 2 halts with probability 1, outputs the exact factorization N = p₁^e₁ ⋯ p_k^e_k with each p_i certified by the Agrawal–Kayal–Saxena test and the product checked, has expected bit-operation count at most L_N[1/3, 105], and uses at most L_N[1/3, 40] tape cells for every coin sequence. “All implied constants and finite thresholds in the proof are effectively computable” (Remark 1.2 adds: Siegel’s ineffective theorem is not used). The proof’s own accounting ends at L[1/3, 104] for time and L[1/3, 38] for space (pp. 47–49).
Why 105 matters, and what is not claimed
Now the constant. 105 sits in an exponent, so it matters enormously. Take a 617-digit number and, as an illustration only, drop the hidden lower order terms. The sieve’s formula gives about 10^35 operations, Lenstra and Pomerance about 10^44, trial division 10^308, and the new bound about 10^1921. By these formulas, it beats trial division only beyond about 13,700 digits, and Lenstra and Pomerance only beyond about 18 trillion digits. Its constant is larger than the sieve’s, so it never catches the sieve’s formula. And the machine itself factors every number below 2^10,000, about 3,000 digits, by trial division, and above that it may fall back on it, up to a threshold the paper never computes. RSA keys of the usual sizes, up to 4,096 bits, are far below that. The paper says it chose transparent constants rather than optimizing them. What is not claimed: a practical algorithm, anything faster than the sieve, any threat to RSA, or the size beyond which the bound takes hold.
How the proof goes
How the proof goes, by the paper’s overview. It follows the sieve’s plan: square random numbers modulo N, write each result in terms of smooth numbers, and combine the relations into a square. The paper names four obstacles that kept this heuristic, and four mechanisms that work together to overcome them. First, a custom weight for counting smooth numbers in arithmetic progressions avoids possible Siegel zeros, using only tools with computable constants. Second, the polynomials are drawn at random from a discrete Laplace distribution, sampled exactly with lattice reduction, so their values behave independently enough to analyse. Third, each squared remainder is written as a ratio of two numbers at most half the square root of N, each a product of medium primes, and each medium prime is pushed down a ladder of smaller and smaller primes to the smooth base. Fourth, quadratic characters, with Stark’s lemma and an effective Chebotarev theorem, certify true squares; 3-adic Newton steps compute their square roots; and hiding the random numbers until the end makes the final split succeed with probability at least 1/2.
Those two numbers, and the smaller leftovers of the descent, are factored by calling the algorithm on itself. That recursion sets the constant: 21.15 for the trials, plus 104 × 2^(−1/3), at most 82.56, gives at most 103.71, below 104, below 105. We checked that arithmetic, and read the theorem, the overview and the final assembly of the algorithm. We did not check the lemmas, which fill most of the 54 pages. The README says a complete Lean formalization, from Mathlib alone, has been completed and will be released. Without it, there is nothing for us to read. The Cogentic paper on arXiv describes the system: an orchestrator assigns directions to parallel provers, adversarial verifiers check each draft, and checked lemmas go into a shared ledger. Its earlier results were verified by domain experts, by the authors’ account, in other fields. For this paper, no human check is named.
Some scales from the paper’s Table 1 (p. 6): polynomial degree d ≈ ½ (ln N / ln ln N)^(1/3) (odd); medium primes near Q₀ ≈ L(2/3, 1/3); factor base B ≈ L(1/3, 18); a descent ladder of at most 1.2 ln ln N rungs, each child jumping at least two rungs; about L(1/3, 18) relations; at most L(1/3, 21.1) trials per outer phase. The 3-adic square roots rely on the polynomials being irreducible of odd degree modulo 3.
Where it stands
- Public
- On GitHub, in google-research/google-research, cogentic_research_papers/integer_factorization, added by commit 4a7bc8ab0bc7 (“Add six Cogentic research papers”, November 25, 2026, 10:11 UTC). Not on arXiv. The README ends “This is not an official Google product.” We found no announcement on Google’s research or DeepMind blogs, or on the Cogentic project page.
- Under expert review
- Not yet
- Peer reviewed
- No.
- Lean released
- No. The README says a complete, Mathlib-only Lean 4 (v4.35.0) formalization of the entire proof “has also been completed and will be released in a companion submission”; the commit message says the same for all six papers. Nothing was public when we checked (15:31 UTC, November 25; no later commit to the folder).
- Checked by a human
- None named. The README says the paper and its Lean “were entirely obtained by Cogentic”, using Gemini 4, with “no human interaction other than the initial prompt”. Cogentic’s arXiv paper says its earlier results were “independently verified by domain experts”; no such check is claimed for this paper.
- Expert reaction
- None from a named expert found as of the morning of November 25, 2026 (Pacific); only news write-ups.
- Account of prior work
- Our reading: the paper does not cite Lee and Venkatesan, Rigorous analysis of a randomised number field sieve (J. Number Theory 187, 2018), who proved that a randomised sieve finds a congruence of squares in expected time L[1/3, (64/9)^(1/3) + o(1)] for every n, and that it yields a factor only under a conjecture, for n = pq with p ≡ q ≡ 3 mod 4.
Last checked November 25, 2026, morning Pacific time. Not built or run by us.
This is a Specials episode, the first of six on the papers Cogentic posted that day. GO02, from the same day, claims deterministic factoring in subexponential time; it gets its own episode. Episode 279 covered OpenAI’s claimed exact quantum factoring. If it holds, every whole number can be factored in proven time L[1/3], with no unproven hypothesis, but with a constant so large that the number field sieve, and the real cost of running it, still decide how safe RSA keys are. See 279.
The numbers in the video
- Ours: trial division of 8,051 by the odd numbers 3, 5, 7, … divides on try 41, at 83 (8,051 = 83 × 97). 8,051 = 90² − 7², so 90² and 7² leave the same remainder, and gcd(90 − 7, 8,051) = 83. 99² − 8,051 = 1,750 = 2·5³·7 is smooth; 100² − 8,051 = 1,949 is prime.
- Ours, illustration only, with the hidden lower-order terms dropped, for a 617-digit number (2^2048): the number field sieve’s formula L[1/3, 1.923] about 10^35 operations; Lenstra–Pomerance L[1/2, 1] about 10^44; trial division up to √N about 10^308; the new bound L[1/3, 105] about 10^1921, and its memory bound L[1/3, 40] about 10^732.
- Ours, same convention: L[1/3, 105] falls below √N only beyond about 13,690 digits, and below L[1/2, 1] only beyond about 1.8e+13 digits; with the same shape and a larger constant, it never falls below the sieve’s formula.
- From the paper (Definition 6.1, step 1): numbers up to 2^10000, which has 3,011 digits, are factored by trial division. RSA moduli of the usual sizes (2048 bits, 617 digits; 4096 bits, 1,234 digits) are far below that.
- From the paper (p. 5), rechecked by us: 104 × 2^(−1/3) = 82.5449 ≤ 82.56, and 21.15 + 82.56 = 103.71 < 104 < 105. (Ours: the smallest constant c with 21.15 + c·2^(−1/3) ≤ c is about 102.5.)
Read the source
- Cogentic (Google Research), Unconditional Integer Factorization in Time L_N[1/3, O(1)], 54 pages, CC-BY-4.0; README; commit 4a7bc8ab0bc7.
- Y. Cai, V. Gupta, Y. Jiang, C. Liaw, A. Mehta, G. Velegkas and D. Wang, Cogentic: Multi-Agent Orchestration for Automated Proof Discovery, arXiv:2609.40324 (2026).
- Background the paper cites: J. D. Dixon, Asymptotically fast factorization of integers (Math. Comp. 1981); H. W. Lenstra, Jr. and C. Pomerance, A rigorous time bound for factoring integers (J. Amer. Math. Soc. 1992); J. P. Buhler, H. W. Lenstra, Jr. and C. Pomerance, Factoring integers with the number field sieve (1993); M. Agrawal, N. Kayal and N. Saxena, PRIMES is in P (Ann. of Math. 2004).
- Not cited by the paper: J. Lee and R. Venkatesan, Rigorous analysis of a randomised number field sieve (J. Number Theory 187, 2018).
AI Proved What? is independent and not affiliated with Google, OpenAI or Anthropic.
Transcript
Read the full script
0:00The question
This is GO01, the first of our Specials on papers from Google’s Cogentic. On November 25, 2026, Google Research added six math papers to its public GitHub repository. Each README says that the paper and a Lean formalization were entirely obtained by Cogentic, an agent system built on Gemini 4, with no human interaction other than the initial prompt. The Lean files have not been released. Google is not affiliated with this series. This episode takes the first paper, on factoring whole numbers. It claims a proven running time of the same shape as the fastest method used in practice, the number field sieve, whose speed has only ever rested on unproven assumptions. So what is the question? Multiplying two primes is easy. Undoing it is hard. Trial division tries one divisor after another. Going through the odd numbers from 3, it splits 8,051 on its 41st try, at 83. For a number with 617 digits, the size of an RSA-2048 key, it could need about 10^308 tries. Faster methods use squares. 8,051 is 90² − 7², so those two squares leave the same remainder, and the greatest common divisor of 90 − 7 and 8,051 is 83: a factor. Sieve methods build such pairs of squares. They collect many numbers made only of small primes, called smooth numbers, and combine them with linear algebra over zeros and ones. Factoring times are measured on a scale written L of N, with two numbers in brackets: alpha and a constant c. Alpha 0 is polynomial in the number of digits; alpha 1 is exponential, like trial division. As the paper recounts it, Dixon’s random squares method of 1981 gave the first proven bound in between. In 1992, Lenstra and Pomerance proved L[1/2, 1], for an algorithm that flips coins but is never wrong. The number field sieve, from the early nineties, runs in L[1/3, about 1.92], but only under unproven assumptions about smooth numbers and more. It is what factors record numbers, which reached 270 digits this autumn. One thing the paper does not cite: in 2018, Lee and Venkatesan proved that a randomized sieve finds two squares with equal remainders in that same time. That those squares give a factor, they showed only under a conjecture, for special products of two primes.
2:38The claim
The claim. The paper has 54 pages and no author line; a footnote credits Cogentic. Its main theorem: one fixed multitape Turing machine, reading fair coin flips, takes any whole number N of at least 2. With probability one it halts, and every time it halts it outputs the exact prime factorization, each prime certified by the AKS primality test and the product checked against N. Its expected number of bit operations is at most L[1/3, 105], as N grows; its memory is at most L[1/3, 40], whatever the coins do. The coins affect only the running time, never the answer. Unconditional means no unproven hypothesis, not even the generalized Riemann hypothesis; and, the paper says, every constant in the proof can be computed. If it holds, this is the first proven bound with exponent 1/3 for complete factoring; the best before was L[1/2, 1], from 1992. Now the constant. 105 sits in an exponent, so it matters enormously. Take a 617-digit number and, as an illustration only, drop the hidden lower order terms. The sieve’s formula gives about 10^35 operations, Lenstra and Pomerance about 10^44, trial division 10^308, and the new bound about 10^1921. By these formulas, it beats trial division only beyond about 13,700 digits, and Lenstra and Pomerance only beyond about 18 trillion digits. Its constant is larger than the sieve’s, so it never catches the sieve’s formula. And the machine itself factors every number below 2^10,000, about 3,000 digits, by trial division, and above that it may fall back on it, up to a threshold the paper never computes. RSA keys of the usual sizes, up to 4,096 bits, are far below that. The paper says it chose transparent constants rather than optimizing them. What is not claimed: a practical algorithm, anything faster than the sieve, any threat to RSA, or the size beyond which the bound takes hold.
4:51How the proof goes
How the proof goes, by the paper’s overview. It follows the sieve’s plan: square random numbers modulo N, write each result in terms of smooth numbers, and combine the relations into a square. The paper names four obstacles that kept this heuristic, and four mechanisms that work together to overcome them. First, a custom weight for counting smooth numbers in arithmetic progressions avoids possible Siegel zeros, using only tools with computable constants. Second, the polynomials are drawn at random from a discrete Laplace distribution, sampled exactly with lattice reduction, so their values behave independently enough to analyse. Third, each squared remainder is written as a ratio of two numbers at most half the square root of N, each a product of medium primes, and each medium prime is pushed down a ladder of smaller and smaller primes to the smooth base. Fourth, quadratic characters, with Stark’s lemma and an effective Chebotarev theorem, certify true squares; 3-adic Newton steps compute their square roots; and hiding the random numbers until the end makes the final split succeed with probability at least 1/2. Those two numbers, and the smaller leftovers of the descent, are factored by calling the algorithm on itself. That recursion sets the constant: 21.15 for the trials, plus 104 × 2^(−1/3), at most 82.56, gives at most 103.71, below 104, below 105. We checked that arithmetic, and read the theorem, the overview and the final assembly of the algorithm. We did not check the lemmas, which fill most of the 54 pages. The README says a complete Lean formalization, from Mathlib alone, has been completed and will be released. Without it, there is nothing for us to read. The Cogentic paper on arXiv describes the system: an orchestrator assigns directions to parallel provers, adversarial verifiers check each draft, and checked lemmas go into a shared ledger. Its earlier results were verified by domain experts, by the authors’ account, in other fields. For this paper, no human check is named.
7:05Where it stands
Where it stands, on the morning of November 25, Pacific time. The paper is on GitHub, not on arXiv, and it is not peer reviewed. The Lean formalization is claimed, but not released. The README names no human who checked the proof. We found no announcement on Google’s blogs, only news write-ups and forum threads, and no named expert reaction yet. Its account of earlier work leaves out Lee and Venkatesan. Not built or run by us. This is a Specials episode, the first of six on the papers Cogentic posted that day. GO02, from the same day, claims deterministic factoring in subexponential time; it gets its own episode. Episode 279 covered OpenAI’s claimed exact quantum factoring. If it holds, every whole number can be factored in proven time L[1/3], with no unproven hypothesis, but with a constant so large that the number field sieve, and the real cost of running it, still decide how safe RSA keys are.
Spot a mistake?
This episode simplifies on purpose, but it shouldn’t be wrong. If something is, open an issue on GitHub or leave a comment on YouTube. Corrections are noted here with a date.