Google: agent team formalised the Weil conjectures in about 1.8 million lines of Lean
Google Research says Antigravity’s /teamwork agent teams, running Gemini 4 models, have machine-checked large mathematical proofs and translated C++ code into Rust. External tools check the results, but the figures are Google’s own.
Google Research published a review of its agent teams’ results on 13 November. The author, Google Research director Vahab Mirrokni, wrote that the work was done with human experts and university partners.
Candidates are checked outside the model
/teamwork is Antigravity’s harness: the program that steers the agent, gives the model its tools and runs its work steps. It splits the work across many AI agents.
Google says the design aims to solve two problems. Model output is hard to predict, so a single attempt may not produce the right answer. And in work lasting several days, the model loses details as the context grows.
The agents therefore try solutions in parallel, and a falsifier outside the model determines which ones work. The falsifier can be, for example, the Lean 4 proof checker, an unmodified test suite or a hardware performance counter. Each agent gets only the files and tools for its own step. Critic and auditor agents assess the results without seeing the producer’s reasoning.
Proofs and Rust ports
Lean 4 is a program that machine-checks every reasoning step of a proof. Google says its /teamwork-LEAP system formalised the Weil conjectures in Lean fully autonomously. Pierre Deligne completed their proof in 1974. The formalisation runs to about 1.8 million lines and took 28,800 subagent invocations. Google notes that human mathematicians must still verify that the formalised statement matches the original problem.
A collaboration proved the Courtade–Kumar conjecture, posed in information theory in 2013. Researchers at the Chinese University of Hong Kong reduced the problem to a 14-variable optimisation task. Gemini models developed most of the new analytical bounds, Google says. The Lean formalisation of the proof runs to 50 million lines.
Earlier work had ported 25 per cent of the Zircon microkernel to Rust. Over two weeks, the agents converted the remaining C++ code into about 800,000 lines of memory-safe Rust. The code passes all kernel unit tests and boots on arm64 hardware, Google says.
The Rust version of libgav1, an AV1 video decoder, was initially about four times slower than the original C++ version. Once the agents were given profiling tools and tasked with maximising speed on sample videos, the Rust version became 20–30 per cent faster on x86_64 and ARM processors than the original C++ and hand-optimised assembly code.
The figures are Google’s own. The Chinese-language technology blog Cedric’s Compiler Notes points out that Google’s post does not provide a complete public environment for reproducing every case. A report on the Minutes of AI site is based on Google’s announcement and does not confirm the results.
Who can use /teamwork
/teamwork is available to users on paid Antigravity app and CLI plans. Work begins with an interview in which the user confirms the goals and acceptance criteria. The agents work in their own project directory. Google says the code-rewriting and formal-proof workflows will become available later, but the long-proof workflow is already available. The company has also opened applications for 10,000 academic researchers to get free access to the highest usage tier for six months.
Read more: How an agent works · Agent map