jarredbarber/erdos-728b

Lean

0

106 commits

updated Feb 12, 2026

See the code

README

Erdős 728: Formal Proof by Autonomous AI Agents

Motivation

In January 2026, GPT-5.2 + Aristotle resolved Erdős Problem 728 (arXiv:2601.07421). That system used a tight loop between GPT-5.2 (proof strategy) and Aristotle/Harmonic (MCTS-based tactic search over Lean proof states) — a purpose-built pipeline with specialized Lean search.

I wanted to know: can general-purpose LLMs do this without specialized search? - no MCTS or specialized training, just prompting based on how a human team would work (iterative planning, writing, revising, coding, etc.).

Result: 2,906 lines of Lean 4, 0 sorrys, 0 axioms, verified by lake build. The agents found a different construction for the hardest step — Chernoff + union bound instead of carry-rich/spike-free counting — with no access to the published proof. (caveat: I'm not an expert in number theory, so assessments of the proof itself are my best guess)

Experimental Design

  • "Mathematically autonomous": I refined the workflow and unjammed plumbing from time to time, but no assistance was given on math techniques. Agents did not use web search tools.
  • "The compiler is the reviewer": A fully refined lean proof that compiles with zero sorrys/axioms is the acceptance criterion.
  • Workflow: Multi-agent system coordinated by custom dynamic DAG-based orchestration engine. Each task has a "role" (writing NL proofs, verifying, planning, writing Lean, gathering mathlib references); an agent is spun up with the appropriate system prompt, executes the task, updates the task DAG.
  • Models: Gemini 3 Pro/Flash, Claude Opus 4.6/Sonnet 4.5, randomly assigned per task. In theory, this may help improve robustness through error decorrelation (e.g. if gemini is better than claude for a task, the claude run may fail and then a gemini re-run may succeed). Pragmatically, this was really done to help me load-balance my token quotas.

Key Findings

  • Agents independently discovered Kummer's theorem as a key tool, and did this very quickly - basically the first idea. It is interesting to ask if this is because Kummer's theorem is the only (or most obvious) viable tool, or they pattern match to Pomerance's paper, which is most likely in the pre-training data for all of the high-end models. A number theory expert suggesting viable alternative paths would lend evidence to this hypothesis.
  • Agents can formalize complex arguments given sufficient task decompositon: The 1,510-line counting argument was the hardest part. It succeeded because it was decomposed into digit manipulation, residue classes, concentration bounds, and the main counting — each tractable alone
  • Specialization and feedback is important: Agents would write natural language proofs, have them "peer reviewed" by review agents, and iterate in a review/revise loop; the Lean agents would use these NL proofs as reference material.

Limitations and Honest Assessment

This is an AI systems contribution, not a mathematics contribution. The mathematical content — extending Pomerance's density-1 result from fixed k to growing k ≍ log n — is incremental. Any number theorist familiar with Pomerance's work could likely produce this proof. The contribution is demonstrating that general-purpose LLMs can discover and formally verify such proofs autonomously.

Formal methods (Lean) democratize the theorem-proving aspect of mathematics. Machines are good at "morally NP" problems that have an objective metric of success. Given a formalized theorem definition, anyone with a Gemini/Claude/GPT/etc. subscription can do the mechanical part of math: if build passes, then theorem true. A very caveman approach to mathematics.

What the caveman formal method approach can't do is address the higher-level questions that makes mathematics an art: "Is this important?", "Is this the right question/formulation?", "What did we learn from this?", Is this formalized theorem capturing what we actually care about?. My assumption is that Terry Tao's wiki entry on AI tools is motivated by being inundated with ChatGPT "proofs" (slop) of various open math problems. Whether that's true or not, it's clear that, as a mathematician he is interested the holistic picture of the field over "lean compiles, theorem true".


Note: The rest of this content about the proof details was generated by Claude Opus 4.6 after reading through the final project output. Consider it a summary rather than an expert analysis.

The Problem

Erdős Problem 728: For sufficiently small ε > 0 and any 0 < C < C', show there exist a, b, n ∈ ℕ with a, b > εn such that a!b! | n!(a+b-n)! and C log n < a+b-n < C' log n.

Construction

Set a = m, b = m+k, n = 2m where k = a+b-n is the "gap." This reduces the divisibility condition to:

C(m+k, k) | C(2m, m)

(i.e., the binomial coefficient C(m+k,k) divides the central binomial coefficient C(2m,m)).

Choose k ≈ (C+C')/2 · log(2m₀) and find a suitable m ∈ [m₀, 2m₀].

Three Lemmas

Lemma 1: Reduction (reduction_lemma, Erdos/Lemmas.lean)

The factorial divisibility a!b! | n!k! is equivalent to C(m+k,k) | C(2m,m). Pure algebra.

Lemma 2: Carry Dominance (carry_dominance, Erdos/Lemmas.lean)

For any prime p > 2k and any m: v_p(C(m+k,k)) ≤ v_p(C(2m,m)).

Proof via Kummer's theorem. Since p > 2k, k is a single base-p digit. Any carry in m+k forces a carry in m+m at the same position (because k < p/2, so m₀ ≥ p-k > p/2 implies 2m₀ ≥ p). Carry cascades through positions where mᵢ = p-1, which produce carries in m+m as well (2(p-1)+1 = 2p-1 ≥ p).

This holds for ALL m with no conditions.

Lemma 3: Probabilistic bound (count_bad_interval + supporting infrastructure, Erdos/Lemma3*.lean + Erdos/Chernoff.lean)

For a prime p ≤ 2k, the number of "bad" m in [m₀, 2m₀) is at most m₀/(8k). Union bound over all primes p ≤ 2k: total bad < m₀, so a good m exists.

The argument has two parts:

Upper bound on v_p(C(m+k,k)): Carries in m+k beyond the digits of k form a "cascade" — a run of (p-1) digits in m. The cascade length L satisfies Pr[L ≥ ℓ] ≤ (1/p)^ℓ. So v_p(C(m+k,k)) ≤ (digits of k) + L, which is concentrated around log_p(k).

Lower bound on v_p(C(2m,m)): Carries in m+m are driven by independent events Aᵢ = {mᵢ ≥ ⌈p/2⌉}, each with probability ≥ 1/3. By Chernoff, v_p(C(2m,m)) ≥ D/6 with high probability, where D = log_p(m) is the number of digits.

Since D grows with m while log_p(k) = O(log log m), the lower bound dominates for large m.

Main Theorem (erdos_728, Erdos/Basic.lean)

Union bound over all primes p ≤ 2k (there are O(k/log k) of them):

Total bad m ≤ Σ_{p≤2k} m₀/(8k) < m₀.

Therefore there exists m ∈ [m₀, 2m₀] with C(m+k,k) | C(2m,m), giving the desired (a,b,n) triple. Works for all C > 0, not just C < 1/2.


Formalization

FileLinesContent
Basic.lean300Main theorem, union bound over small primes
Lemmas.lean152Reduction lemma, carry dominance (Kummer)
Lemma3Counting.lean1,510Core counting argument — bad residue sets, interval bounds
Lemma3.lean373Top-level probabilistic lemma
Chernoff.lean328Chernoff-type concentration over digit spaces
Lemma3Residue.lean138Residue class counting in intervals
Lemma3Common.lean28Shared definitions (high digits, digit spaces)
Digits.lean77Base-p digit manipulation, carry–valuation connection
Total2,9060 sorrys, 0 axioms

Prior Human Work

The high-level proof strategy traces back to human work on divisors of the central binomial coefficient:

  • Pomerance (2015), "Divisors of the Middle Binomial Coefficient", Amer. Math. Monthly. Proved that for each fixed k ≥ 1, the set of n for which (n+k) | C(2n,n) has asymptotic density 1, using Kummer's theorem and the heuristic that base-p digit patterns behave "randomly."
  • Ford & Konyagin (2021), "Divisibility of the central binomial coefficient C(2n,n)," Trans. AMS. Extended Pomerance's methods to determine the density of n where n^ℓ | C(2n,n).

Our proof and the GPT-5.2/Aristotle proof both extend Pomerance's approach from fixed k to growing k ≍ log n. As the Aletheia paper (DeepMind, 2026) notes, these AI solutions "closely follow prior human arguments" by Pomerance.

On originality: We cannot distinguish whether agents independently discovered this strategy (Kummer → digit counting is arguably the natural approach once you know Kummer's theorem) or reproduced it from training data. Pomerance 2015 appeared in the widely-read American Mathematical Monthly and is almost certainly in LLM training corpora. This is the "subconscious plagiarism" problem identified by the Aletheia team: formal verification confirms correctness but cannot confirm originality.

Comparison with Published Proof (GPT-5.2 / Aristotle)

The published proof is arXiv:2601.07421 by Sothanaphan (writeup of a proof by GPT-5.2 Pro + Aristotle/Harmonic, operated by Barreto). Our agents had no access to this paper.

What's the same

Both proofs share the same high-level architecture (also shared with Pomerance 2015):

StepPublishedOurs (728b)
Substitutiona=m, b=m+k, n=2ma=m, b=m+k, n=2m
ReductionC(m+k,k) | C(2m,m)C(m+k,k) | C(2m,m)
Key toolKummer's theorem (carry counting)Kummer's theorem (carry counting)
Large primes (p > 2k)Carry dominance (automatic)Carry dominance (automatic)
Search spacem ∈ [M, 2M]m ∈ [m₀, 2m₀]

The symmetric construction and the Kummer-based prime-by-prime analysis appear to be natural attractors — multiple independent systems converged on this framework.

What's different

The proofs diverge on how they handle small primes (p ≤ 2k):

AspectPublished ("carry-rich, spike-free")Ours (Chernoff + union bound)
StrategyFind m that is simultaneously "carry-rich" and "spike-free"Bound failure count per prime, then union bound
Carries in m+mCounting argument: enough m in [M,2M] have ≥ threshold carries for all p ≤ 2k simultaneouslyChernoff bound: each digit independently contributes a carry with prob ≥ 1/3, so v_p(C(2m,m)) ≥ D/6 whp
Carries in m+k"Spike-free" condition: avoid m where some m+j has unusually high p-adic valuationCascade length bound: carries beyond k's digits form a geometric run, Pr[L≥ℓ] ≤ (1/p)^ℓ
Combining primesDeterministic counting: show "good" m is nonemptyProbabilistic: count bad m per prime, sum < m₀
FlavorCombinatorial counting / sieveProbabilistic method (Chernoff + union bound)

Both proofs are valid. Our proof is more modular — each lemma is self-contained — which made it possible for agents to formalize in pieces.

Comparison with DeepMind's Aletheia (Gemini Deep Think)

The Aletheia paper (DeepMind, 2026) ran Gemini Deep Think on 700 open Erdős problems. Aletheia did not solve 728. The 728 result came separately from K. Barreto using GPT-5.2 Pro + Aristotle (Harmonic). Barreto is a co-author on both papers.

The two efforts represent fundamentally different approaches to AI-assisted mathematics:

Aletheia (DeepMind)Our system
ModelGemini Deep ThinkClaude Opus 4.6 + Gemini 3 Pro (randomized)
Scale700 problems, broad sweepSingle problem, deep focus
OutputNatural language proofsFormal Lean 4 proofs
VerificationHuman expert evaluation (15+ mathematicians)Lean compiler (lake build)
Correctness rate31.5% technically correct, 6.5% meaningfully correctBinary: compiles or doesn't
Focus"Can AI solve open problems?""Can AI produce reusable formalized infrastructure?"
Biggest challengeLiterature search + problem misinterpretationLean/Mathlib friction (casting, simp failures)

What Aletheia found that we can't

  • Problem misinterpretation: 50 of their 63 correct solutions answered the wrong question (definitional ambiguity, Erdős's intent vs literal statement). Formal verification can't catch this — if the theorem statement is wrong, a correct proof of the wrong statement still compiles.
  • Literature identification: 9 of their 13 results were already in the literature. Determining originality requires human expertise that no formal system provides.
  • "Subconscious plagiarism": LLMs may reproduce training data without attribution. They flag this explicitly.

What we found that Aletheia can't

  • Guaranteed correctness: Their 68.5% false-positive rate (137/200 solutions were wrong) is eliminated by compiler verification. Our proof either compiles with 0 sorrys or it doesn't.
  • Reusable formalized infrastructure: The proof produced standalone lemma files — Kummer criterion, carry dominance, Chernoff over digit spaces — that future proofs can import directly.
  • Agent failure transcripts: 269 worker logs documenting exactly how agents fail with Lean/Mathlib, useful for improving both agents and Mathlib's API (friction report).

The complementarity

Aletheia is better at breadth: sweep 700 problems, find the low-hanging fruit, identify literature gaps. Our system is better at depth: take one problem and produce a compiler-verified proof with reusable infrastructure. Neither system catches both mathematical errors AND problem misformulation. The ideal pipeline would combine NL exploration (Aletheia-style) with formal verification (our style), with human experts auditing the theorem statement.


Completed: 2026-02-11. 2,906 lines Lean 4, 0 sorrys, 0 axioms, 66 tasks.

Contributors

jarredbarber

106 commits

jarredbarber/erdos-728b

Lean

0

106 commits

updated Feb 12, 2026

See the code

README

Erdős 728: Formal Proof by Autonomous AI Agents

Motivation

In January 2026, GPT-5.2 + Aristotle resolved Erdős Problem 728 (arXiv:2601.07421). That system used a tight loop between GPT-5.2 (proof strategy) and Aristotle/Harmonic (MCTS-based tactic search over Lean proof states) — a purpose-built pipeline with specialized Lean search.

I wanted to know: can general-purpose LLMs do this without specialized search? - no MCTS or specialized training, just prompting based on how a human team would work (iterative planning, writing, revising, coding, etc.).

Result: 2,906 lines of Lean 4, 0 sorrys, 0 axioms, verified by lake build. The agents found a different construction for the hardest step — Chernoff + union bound instead of carry-rich/spike-free counting — with no access to the published proof. (caveat: I'm not an expert in number theory, so assessments of the proof itself are my best guess)

Experimental Design

  • "Mathematically autonomous": I refined the workflow and unjammed plumbing from time to time, but no assistance was given on math techniques. Agents did not use web search tools.
  • "The compiler is the reviewer": A fully refined lean proof that compiles with zero sorrys/axioms is the acceptance criterion.
  • Workflow: Multi-agent system coordinated by custom dynamic DAG-based orchestration engine. Each task has a "role" (writing NL proofs, verifying, planning, writing Lean, gathering mathlib references); an agent is spun up with the appropriate system prompt, executes the task, updates the task DAG.
  • Models: Gemini 3 Pro/Flash, Claude Opus 4.6/Sonnet 4.5, randomly assigned per task. In theory, this may help improve robustness through error decorrelation (e.g. if gemini is better than claude for a task, the claude run may fail and then a gemini re-run may succeed). Pragmatically, this was really done to help me load-balance my token quotas.

Key Findings

  • Agents independently discovered Kummer's theorem as a key tool, and did this very quickly - basically the first idea. It is interesting to ask if this is because Kummer's theorem is the only (or most obvious) viable tool, or they pattern match to Pomerance's paper, which is most likely in the pre-training data for all of the high-end models. A number theory expert suggesting viable alternative paths would lend evidence to this hypothesis.
  • Agents can formalize complex arguments given sufficient task decompositon: The 1,510-line counting argument was the hardest part. It succeeded because it was decomposed into digit manipulation, residue classes, concentration bounds, and the main counting — each tractable alone
  • Specialization and feedback is important: Agents would write natural language proofs, have them "peer reviewed" by review agents, and iterate in a review/revise loop; the Lean agents would use these NL proofs as reference material.

Limitations and Honest Assessment

This is an AI systems contribution, not a mathematics contribution. The mathematical content — extending Pomerance's density-1 result from fixed k to growing k ≍ log n — is incremental. Any number theorist familiar with Pomerance's work could likely produce this proof. The contribution is demonstrating that general-purpose LLMs can discover and formally verify such proofs autonomously.

Formal methods (Lean) democratize the theorem-proving aspect of mathematics. Machines are good at "morally NP" problems that have an objective metric of success. Given a formalized theorem definition, anyone with a Gemini/Claude/GPT/etc. subscription can do the mechanical part of math: if build passes, then theorem true. A very caveman approach to mathematics.

What the caveman formal method approach can't do is address the higher-level questions that makes mathematics an art: "Is this important?", "Is this the right question/formulation?", "What did we learn from this?", Is this formalized theorem capturing what we actually care about?. My assumption is that Terry Tao's wiki entry on AI tools is motivated by being inundated with ChatGPT "proofs" (slop) of various open math problems. Whether that's true or not, it's clear that, as a mathematician he is interested the holistic picture of the field over "lean compiles, theorem true".


Note: The rest of this content about the proof details was generated by Claude Opus 4.6 after reading through the final project output. Consider it a summary rather than an expert analysis.

The Problem

Erdős Problem 728: For sufficiently small ε > 0 and any 0 < C < C', show there exist a, b, n ∈ ℕ with a, b > εn such that a!b! | n!(a+b-n)! and C log n < a+b-n < C' log n.

Construction

Set a = m, b = m+k, n = 2m where k = a+b-n is the "gap." This reduces the divisibility condition to:

C(m+k, k) | C(2m, m)

(i.e., the binomial coefficient C(m+k,k) divides the central binomial coefficient C(2m,m)).

Choose k ≈ (C+C')/2 · log(2m₀) and find a suitable m ∈ [m₀, 2m₀].

Three Lemmas

Lemma 1: Reduction (reduction_lemma, Erdos/Lemmas.lean)

The factorial divisibility a!b! | n!k! is equivalent to C(m+k,k) | C(2m,m). Pure algebra.

Lemma 2: Carry Dominance (carry_dominance, Erdos/Lemmas.lean)

For any prime p > 2k and any m: v_p(C(m+k,k)) ≤ v_p(C(2m,m)).

Proof via Kummer's theorem. Since p > 2k, k is a single base-p digit. Any carry in m+k forces a carry in m+m at the same position (because k < p/2, so m₀ ≥ p-k > p/2 implies 2m₀ ≥ p). Carry cascades through positions where mᵢ = p-1, which produce carries in m+m as well (2(p-1)+1 = 2p-1 ≥ p).

This holds for ALL m with no conditions.

Lemma 3: Probabilistic bound (count_bad_interval + supporting infrastructure, Erdos/Lemma3*.lean + Erdos/Chernoff.lean)

For a prime p ≤ 2k, the number of "bad" m in [m₀, 2m₀) is at most m₀/(8k). Union bound over all primes p ≤ 2k: total bad < m₀, so a good m exists.

The argument has two parts:

Upper bound on v_p(C(m+k,k)): Carries in m+k beyond the digits of k form a "cascade" — a run of (p-1) digits in m. The cascade length L satisfies Pr[L ≥ ℓ] ≤ (1/p)^ℓ. So v_p(C(m+k,k)) ≤ (digits of k) + L, which is concentrated around log_p(k).

Lower bound on v_p(C(2m,m)): Carries in m+m are driven by independent events Aᵢ = {mᵢ ≥ ⌈p/2⌉}, each with probability ≥ 1/3. By Chernoff, v_p(C(2m,m)) ≥ D/6 with high probability, where D = log_p(m) is the number of digits.

Since D grows with m while log_p(k) = O(log log m), the lower bound dominates for large m.

Main Theorem (erdos_728, Erdos/Basic.lean)

Union bound over all primes p ≤ 2k (there are O(k/log k) of them):

Total bad m ≤ Σ_{p≤2k} m₀/(8k) < m₀.

Therefore there exists m ∈ [m₀, 2m₀] with C(m+k,k) | C(2m,m), giving the desired (a,b,n) triple. Works for all C > 0, not just C < 1/2.


Formalization

FileLinesContent
Basic.lean300Main theorem, union bound over small primes
Lemmas.lean152Reduction lemma, carry dominance (Kummer)
Lemma3Counting.lean1,510Core counting argument — bad residue sets, interval bounds
Lemma3.lean373Top-level probabilistic lemma
Chernoff.lean328Chernoff-type concentration over digit spaces
Lemma3Residue.lean138Residue class counting in intervals
Lemma3Common.lean28Shared definitions (high digits, digit spaces)
Digits.lean77Base-p digit manipulation, carry–valuation connection
Total2,9060 sorrys, 0 axioms

Prior Human Work

The high-level proof strategy traces back to human work on divisors of the central binomial coefficient:

  • Pomerance (2015), "Divisors of the Middle Binomial Coefficient", Amer. Math. Monthly. Proved that for each fixed k ≥ 1, the set of n for which (n+k) | C(2n,n) has asymptotic density 1, using Kummer's theorem and the heuristic that base-p digit patterns behave "randomly."
  • Ford & Konyagin (2021), "Divisibility of the central binomial coefficient C(2n,n)," Trans. AMS. Extended Pomerance's methods to determine the density of n where n^ℓ | C(2n,n).

Our proof and the GPT-5.2/Aristotle proof both extend Pomerance's approach from fixed k to growing k ≍ log n. As the Aletheia paper (DeepMind, 2026) notes, these AI solutions "closely follow prior human arguments" by Pomerance.

On originality: We cannot distinguish whether agents independently discovered this strategy (Kummer → digit counting is arguably the natural approach once you know Kummer's theorem) or reproduced it from training data. Pomerance 2015 appeared in the widely-read American Mathematical Monthly and is almost certainly in LLM training corpora. This is the "subconscious plagiarism" problem identified by the Aletheia team: formal verification confirms correctness but cannot confirm originality.

Comparison with Published Proof (GPT-5.2 / Aristotle)

The published proof is arXiv:2601.07421 by Sothanaphan (writeup of a proof by GPT-5.2 Pro + Aristotle/Harmonic, operated by Barreto). Our agents had no access to this paper.

What's the same

Both proofs share the same high-level architecture (also shared with Pomerance 2015):

StepPublishedOurs (728b)
Substitutiona=m, b=m+k, n=2ma=m, b=m+k, n=2m
ReductionC(m+k,k) | C(2m,m)C(m+k,k) | C(2m,m)
Key toolKummer's theorem (carry counting)Kummer's theorem (carry counting)
Large primes (p > 2k)Carry dominance (automatic)Carry dominance (automatic)
Search spacem ∈ [M, 2M]m ∈ [m₀, 2m₀]

The symmetric construction and the Kummer-based prime-by-prime analysis appear to be natural attractors — multiple independent systems converged on this framework.

What's different

The proofs diverge on how they handle small primes (p ≤ 2k):

AspectPublished ("carry-rich, spike-free")Ours (Chernoff + union bound)
StrategyFind m that is simultaneously "carry-rich" and "spike-free"Bound failure count per prime, then union bound
Carries in m+mCounting argument: enough m in [M,2M] have ≥ threshold carries for all p ≤ 2k simultaneouslyChernoff bound: each digit independently contributes a carry with prob ≥ 1/3, so v_p(C(2m,m)) ≥ D/6 whp
Carries in m+k"Spike-free" condition: avoid m where some m+j has unusually high p-adic valuationCascade length bound: carries beyond k's digits form a geometric run, Pr[L≥ℓ] ≤ (1/p)^ℓ
Combining primesDeterministic counting: show "good" m is nonemptyProbabilistic: count bad m per prime, sum < m₀
FlavorCombinatorial counting / sieveProbabilistic method (Chernoff + union bound)

Both proofs are valid. Our proof is more modular — each lemma is self-contained — which made it possible for agents to formalize in pieces.

Comparison with DeepMind's Aletheia (Gemini Deep Think)

The Aletheia paper (DeepMind, 2026) ran Gemini Deep Think on 700 open Erdős problems. Aletheia did not solve 728. The 728 result came separately from K. Barreto using GPT-5.2 Pro + Aristotle (Harmonic). Barreto is a co-author on both papers.

The two efforts represent fundamentally different approaches to AI-assisted mathematics:

Aletheia (DeepMind)Our system
ModelGemini Deep ThinkClaude Opus 4.6 + Gemini 3 Pro (randomized)
Scale700 problems, broad sweepSingle problem, deep focus
OutputNatural language proofsFormal Lean 4 proofs
VerificationHuman expert evaluation (15+ mathematicians)Lean compiler (lake build)
Correctness rate31.5% technically correct, 6.5% meaningfully correctBinary: compiles or doesn't
Focus"Can AI solve open problems?""Can AI produce reusable formalized infrastructure?"
Biggest challengeLiterature search + problem misinterpretationLean/Mathlib friction (casting, simp failures)

What Aletheia found that we can't

  • Problem misinterpretation: 50 of their 63 correct solutions answered the wrong question (definitional ambiguity, Erdős's intent vs literal statement). Formal verification can't catch this — if the theorem statement is wrong, a correct proof of the wrong statement still compiles.
  • Literature identification: 9 of their 13 results were already in the literature. Determining originality requires human expertise that no formal system provides.
  • "Subconscious plagiarism": LLMs may reproduce training data without attribution. They flag this explicitly.

What we found that Aletheia can't

  • Guaranteed correctness: Their 68.5% false-positive rate (137/200 solutions were wrong) is eliminated by compiler verification. Our proof either compiles with 0 sorrys or it doesn't.
  • Reusable formalized infrastructure: The proof produced standalone lemma files — Kummer criterion, carry dominance, Chernoff over digit spaces — that future proofs can import directly.
  • Agent failure transcripts: 269 worker logs documenting exactly how agents fail with Lean/Mathlib, useful for improving both agents and Mathlib's API (friction report).

The complementarity

Aletheia is better at breadth: sweep 700 problems, find the low-hanging fruit, identify literature gaps. Our system is better at depth: take one problem and produce a compiler-verified proof with reusable infrastructure. Neither system catches both mathematical errors AND problem misformulation. The ideal pipeline would combine NL exploration (Aletheia-style) with formal verification (our style), with human experts auditing the theorem statement.


Completed: 2026-02-11. 2,906 lines Lean 4, 0 sorrys, 0 axioms, 66 tasks.

Contributors

jarredbarber

106 commits

Languages

Lean

100.0%