AI × MATHEMATICSExplained simply

An AI wrote programs that found new maths.
Meet FunSearch.

A Google DeepMind method that lets a language model suggest code and an automatic checker keep only what works. Here's what it found, how it was checked, and why some experts call it modest.

WHERE THIS STANDS
  1. Claim
  2. Verified
  3. Usable
  4. In use

The new mathematical constructions are published and can be checked independently.

What moves it next: Moves to Usable when people can try it: a product, service, code or model becomes publicly available. How we decide

Portrait of mathematician Jordan Ellenberg
Mathematician Jordan Ellenberg of the University of Wisconsin, a coauthor of the FunSearch paper; a related photo, not of the system. Photo: Jordan Ellenberg (photo by Matt Rudels), CC BY-SA 4.0.
THE BREAKTHROUGHLarger cap sets found via code
THE TEAMGoogle DeepMind with Jordan Ellenberg
WHERE IT STANDSPeer reviewed; results publicly checkable
Where it sits on the timelineOpen the full chart 2023202420252026MathematicsBiologyRobotsSpaceQuantumAlphaGeometry, Jan 17, 2024AlphaFold 3, May 8, 2024AlphaProof and AlphaGeometry 2, Jul 25, 2024AI co-scientist, Feb 19, 2025AlphaGenome, Jun 25, 2025Gemini Deep Think at IMO, Jul 21, 2025OpenAI First Proof submissions, Feb 20, 2026AlphaGenome Atlas, Sep 8, 2026Claude’s ART enzyme system discovery, Sep 23, 2026OpenAI mathematics collection, Oct 6, 2026Quasi Riemann result, Oct 6, 2026Helix 2.5, Sep 17, 2026Figure 03 production ramp, Apr 29, 2026Production Atlas, Jan 5, 2026NEO home robot, Oct 28, 2025Starship Flight 14, Sep 28, 2026Roman Space Telescope, Aug 30, 2026ZhuQue 3 booster landing, Aug 19, 2026Artemis II, Apr 1, 2026Magic State Cultivation, Oct 15, 2026Gemini 4 Argon robot learning, Oct 13, 2026Aharonov-Bohm quantum simulation, Sep 25, 2026Quantum Echoes, Oct 22, 2025Helios quantum computer, Nov 5, 2025FunSearch, Dec 14, 2023FunSearch among 37 other breakthroughs we track since 2023.
01 · THE BREAKTHROUGH

What happened?

In December 2023, Google DeepMind described FunSearch, a method in which a large language model writes small computer programs and an automatic evaluator scores them, keeping only the best DeepMind blog ↗. It found new constructions for the cap set problem, a long standing puzzle in mathematics, and better rules for a packing task DeepMind blog ↗. The work was published in the peer reviewed journal Nature Nature paper ↗.

A cap set is a collection of points in a grid where no three points lie on a line, in a precise sense; the question is how large such a set can be Nature paper ↗. In dimension 8, FunSearch found a cap set of size 512, larger than the best previously known Nature paper ↗. NYU computer scientist Ernest Davis notes in a review that the previous record was 496 Davis review ↗. It also nudged a related measure, called the capacity lower bound, from 2.2180 to 2.2184, and later to 2.2202 Nature paper ↗.

The second task was online bin packing: placing items of different sizes into as few bins as possible, without knowing what comes next. FunSearch's programs beat two standard rules, first fit and best fit, on benchmark tests Nature paper ↗. Because FunSearch outputs readable code, mathematician Jordan Ellenberg said: "When I study them, I learn something" DeepMind blog ↗.

What are the three pieces?

The language model

A large language model trained on code (Codey, built on PaLM 2) proposes new versions of a short program Nature paper ↗. It is not told the full problem.

The evaluator

Automatic code runs each program and scores the result, which filters out the mistakes language models are known to make DeepMind blog ↗.

The evolutionary loop

The best programs go back into a pool and are used as starting points for the next round, much like breeding DeepMind blog ↗.

THE REASON TO BE EXCITED

Pairing a creative but unreliable model with a strict automatic checker turned guesses into results anyone can verify.

Leapscope interpretation of the reported result.
02 · AI’S ROLE

How did AI help?

Humans chose the problems, wrote the scoring code and a starting program, and decided which small part of the program the AI could change DeepMind blog ↗. The language model then generated very many variations, on the order of a million samples, and the evaluator kept the best Nature paper ↗. The improvement to 2.2202 relied on a symmetry that Ellenberg spotted after reading FunSearch's code, so it was a human and AI effort Davis review ↗.

512cap set size found in dimension 8
4 of 140runs that found it
2.2202new capacity lower bound

Figures from the Nature paper Nature paper ↗.

Results were hard to reproduce: only 4 of 140 runs found the size 512 cap set Nature paper ↗. Ernest Davis argues the language model's role is narrow and the gains are modest, noting that a version with no language model also reached a strong result, only much more slowly Davis review ↗. The method only suits problems with a fast, detailed scoring system, so tasks like writing proofs are outside its reach Nature paper ↗.

03 · THE POSSIBILITIES

Which fields could this affect?

The immediate value is in maths and algorithm research; wider uses are possible future value, and these connections are our assessment.

Relevant now

Combinatorics research

The new constructions are published and can be checked by anyone GitHub ↗. Readable code also gave a mathematician new ideas about the problem DeepMind blog ↗.

Explore science
Relevant now

Algorithm design

The bin packing programs beat standard rules on benchmarks Nature paper ↗. The discovered programs and an evaluation suite are public GitHub ↗.

Explore software
Possible future use

Logistics and scheduling

Packing and scheduling problems appear in shipping and computing. Gains on benchmarks have not been shown in real operations.

A more distant possibility

Solving big open problems

The authors note a large gap remains between the best known lower and upper bounds for cap sets Nature paper ↗. These are improvements to specific constructions, not a full solution.

04 · THE EVIDENCE

What has been checked?

The evidence is a peer reviewed Nature paper, with the discovered programs and sets released publicly, plus an outside critical review. Leapscope reviewed these sources; we did not repeat the experiments.

Shown so far

  • A cap set of size 512 in dimension 8, larger than previously known Nature paper ↗.
  • Bin packing programs that outperformed first fit and best fit on benchmarks Nature paper ↗.
  • The discovered programs and sets are on GitHub for anyone to check GitHub ↗.

Still unknown

  • How much of the success comes from the language model rather than the search loop, which Davis questions Davis review ↗.
  • Whether the general cap set question can be solved; the gap between bounds is still large Nature paper ↗.
  • How widely the method applies, since it needs a fast and detailed scoring system Nature paper ↗.

Evidence status: Published research. Stage: Verified. The new mathematical constructions are published and can be checked independently.

05 · WHAT COMES NEXT

From better constructions to real insight

  1. Check the results independently.Watch for mathematicians verifying and building on the released constructions.
  2. Measure the AI's share.Look for comparisons against search methods that use no language model.
  3. Try new problems.See whether the approach produces results in other areas that have good automatic scoring.

This is our suggested way to follow the work, not a promised timetable.

Can I use it today?

Partly. The discovered programs, bin packing heuristics and a basic version of the FunSearch loop are on GitHub and run in Google Colab GitHub ↗. The release does not include the language model, the safe code runner or the large scale setup used in the paper GitHub ↗.

06 · QUICK QUESTIONS

A few things you might be wondering

Did FunSearch solve the cap set problem?

No. It found larger cap sets in some cases and improved a lower bound, but the general question is still open Nature paper ↗.

Did the AI do this on its own?

No. Humans set up the problem and scoring, and one improvement came from a symmetry a mathematician spotted in its code DeepMind blog ↗ Davis review ↗.

Why does writing code matter?

Code can be run and checked automatically, which catches the errors language models make, and people can read it to understand the idea DeepMind blog ↗.

Is the FunSearch code available?

Yes, in part. Google DeepMind's GitHub repository holds the programs and sets FunSearch discovered, plus a basic implementation of the search loop GitHub ↗.

THE READING LIST

Go straight to the sources

Checked Oct 8, 2026. The first source is the original announcement or research. Later sources add independent context; background pages do not validate the result on their own.

01
FunSearch: Making new discoveries in mathematical sciences using Large Language ModelsGoogle DeepMind · 14 December 2023

The developer's announcement explaining the method, the cap set and bin packing results.

02
Mathematical discoveries from program search with large language modelsNature · 14 December 2023 · peer reviewed paper

The research paper by Romera-Paredes and colleagues with full results and limitations.

03
google-deepmind/funsearchGitHub · code and results repository

The discovered programs and sets, plus a basic implementation of the search loop.

04
Review of Romera-Paredes et al. (2023)Ernest Davis, New York University · 7 January 2024 · review

An outside computer scientist's critical assessment of FunSearch's results and claims.

ONE DISCOVERY LEADS TO ANOTHER

Keep following the possibilities.

AI × COMPUTING

Algorithms that improve through automated tests

AI × COMPUTING

AI finds new matrix multiplication algorithms

FREE EMAIL

Get the next breakthrough by email.

AI, robots, space, medicine and quantum. What is proven, what is only claimed and what to watch next.