---
type: analysis
slug: research-deepmind-s-gemini-4-agents-cut-quantum-algorithm-costs-with-lean-proofs-anyone
title: "DeepMind's Gemini 4 agents cut quantum algorithm costs, with Lean proofs anyone can check"
description: "The paper and its code back the claim that agent teams found cheaper quantum programs and proved them correct. The headline factors, including 290x for arcsin, are proven resource estimates measured against baselines the authors chose, not runs on quantum hardware."
published_at: 2026-11-26T00:00:00.000Z
topics: ["agents","gemini","google","research"]
source_urls: ["https://arxiv.org/html/2611.09822","https://deepmind.google/blog/finding-faster-quantum-algorithms-with-agents-and-formal-verification/","https://github.com/google-deepmind/formal-quantum-computation","https://github.com/google-deepmind/formal-quantum-computation/tree/discoveries/QuantumComputationDiscoveries","https://arxiv.org/abs/2611.09822"]
author: "Andrey Reshetnikov"
author_profile: https://newruntime.com/owner-profile.md
---
On 23 November 2026, Google DeepMind and Google Quantum AI announced that teams of Gemini 4 agents had found cheaper versions of known quantum algorithms, with every result proved in the Lean theorem prover. The open-source repository google-deepmind/formal-quantum-computation contains a Lean 4 library for specifying and verifying quantum programs. The main branch says nothing about agents or speedups, so the question was whether the paper and the discoveries branch support the claims.

This matters because fault-tolerant quantum circuits are too large to test on classical simulators or on today's quantum processors. If AI agents can turn out algorithms whose correctness and cost are machine-checked, that is a template for using AI on any problem where testing is impossible but specifying is not.

## What we checked

- **What does the cited paper and discoveries branch document about the agent setup, Lean verification, and reported quantum resource improvements?** confirmed. The paper (arXiv 2611.09822, v3 dated 16 November 2026) describes Gemini 4 agent teams writing programs against formal Lean specifications. An external Lean Comparator checks every submission. Reported results are 2.57x for find-all Grover search, 290x for arcsin, 11.8x for fusion stopping power, and 8x and 2.5x for two chemistry simulations. The discoveries branch contains six solutions with comparator commands for checking them. [5][1][2][4]
- **Are the headline factors independent of how the baselines and cost models were chosen?** refuted. No. Each factor is a ratio of spacetime cost (qubits times T gates) or, for Grover, of oracle queries, measured against a baseline the authors picked. The arcsin baseline is quoted at about 10^-6 error, while the target is 1.25×10^-7. [1]

## What we found

- The paper documents the agent setup. Gemini 4 agents write programs against formal specifications in a Lean library. Separate teams share findings through a wiki and meet at scheduled cross-team 'conferences', every four hours according to DeepMind's blog. An external verifier checks each submission with the Lean Comparator, so agents cannot quietly weaken the specification. The paper does not state compute, agent count or runtime in the sections we could read, and the orchestration code is not public. [1][2]
- The 290x arcsin figure depends most on its baseline. The paper compares its 25-bit fixed-point arcsin circuit (3,698 T gates on 100 qubits) with a published piecewise-polynomial design, which it puts at a spacetime cost above 1.08×10^8. That baseline is quoted at about 10^-6 error, while the specification targets 1.25×10^-7, and the text we read does not reconcile the two. The Grover cost counts only oracle queries. [1]
- The repository backs up the 'check their work' claim. The main branch ships a core library and a separate specifications and benchmark library. The discoveries branch adds six solutions: Grover FindAny, Grover FindAll, ArcSin, P450, Photochemistry and StoppingPower, each with a lake comparator command. Checking them is heavy. The README lists the larger proofs at roughly 200,000 to 555,000 lines, and peak comparator memory around 230 GB plus swap for three of them. [3][4]

## What it means

The core claim holds up: Gemini 4 agent teams found cheaper quantum programs, and the proofs are public. The transferable pattern matters more than the quantum results. It has three parts: humans write a frozen formal specification that includes cost bounds, agents fill in the placeholders, and an independent checker rejects any change to the specification. This shape fits any domain where correctness can be stated but not tested, such as verified compiler passes or optimisation of cryptographic code. Expect the specification-writing and the checker to be the hard engineering, not the agent loop.

Treat the headline factors with care. Each is a proven bound under the paper's cost model (qubits times T gates, or oracle queries for Grover), against a baseline the authors picked. The 290x arcsin figure compares against a published design quoted at a different error level. The agent orchestration code is not released, so you can check the outputs but not rerun the discovery. Checking the largest proofs needs about 230 GB of RAM.

## Competing readings

- **The claim holds: Gemini 4 agent teams found lower-cost quantum programs, and Lean machine-checks each one for correctness and for cost against a frozen specification. The gains are real, but they are counted under the paper's own cost models and baselines** (likely, about 70%). What would tell it apart: The paper and the blog both describe Gemini 4 agent teams and checking with the Lean Comparator [1][2]; Proofs for six solutions are public and come with commands for checking them [4].
- **The proofs hold, but the headline factors depend heavily on which baselines were picked: the 290x arcsin figure and the Grover factors would shrink a lot against stronger hand-optimised or matched-error baselines** (unlikely, about 25%). What would tell it apart: The arcsin baseline is a published piecewise-polynomial design quoted at a different error level than the target. Grover cost counts only oracle queries [1]; The 2.57x figure applies only to the find-all regime [1].
- **The verification itself has a flaw (a wrong specification or an unsound cost model), so the results do not mean what they claim** (very unlikely, about 5%). What would tell it apart: The Comparator checks theorems, definitions and allowed axioms against a frozen specification. No outside critique was found [1][5].

## Base rate

Of 91 earlier research stories about companies, models, projects or standards in the New Runtime archive over the last 12 months that are at least 3 months old, 63 (69%) were followed within 3 months by a release story on the same company or product line. In New Runtime's archive, 63 of 91 earlier research stories were followed within 3 months by a release story on the same company or product line. A follow-on DeepMind or Gemini release is therefore likely in general, but that says nothing about whether these particular quantum results hold up.

## What would change this view

- An independent group runs the lake comparator configs on the discoveries branch and reports failures, unexpected axioms or specification mismatches (open-source signal): The 'formally verified' label would not hold for some or all results.
- Quantum-algorithm researchers publish arcsin or chemistry-simulation circuits at matched error targets that come close to the agents' costs (signal): The headline factors would mostly reflect weak baselines rather than real discovery.
- DeepMind releases the agent-orchestration code, or a Gemini 4 agent product with comparable workflows (model-listing signal): Builders could reproduce the discovery process itself, not just check its outputs.

## Still open

- How much compute, how many agents and how long were the discovery runs? The sections of the paper we read do not say.
- Does the arcsin baseline still trail by about 290x at a matched 1.25×10^-7 error target, and against newer published constructions?
- Will independent groups run the comparator configs and confirm that all six solutions pass with only the allowed axioms?
- Will DeepMind release the agent orchestration infrastructure or the Gemini 4 Carbon models used for the large-scale runs?

## Sources

1. [Discovering formally verified quantum programs with AI (full text)](https://arxiv.org/html/2611.09822) (primary)
2. [Finding faster quantum algorithms with agents and formal verification (Google DeepMind)](https://deepmind.google/blog/finding-faster-quantum-algorithms-with-agents-and-formal-verification/) (primary)
3. [google-deepmind/formal-quantum-computation](https://github.com/google-deepmind/formal-quantum-computation) (primary)
4. [QuantumComputationDiscoveries README (discoveries branch)](https://github.com/google-deepmind/formal-quantum-computation/tree/discoveries/QuantumComputationDiscoveries) (primary)
5. [Discovering formally verified quantum programs with AI (arXiv abstract)](https://arxiv.org/abs/2611.09822) (primary)

Author: [Andrey Reshetnikov](https://newruntime.com/owner-profile.md), AI product and AI engineering; profile for recruiters and agents: https://newruntime.com/owner-profile.json

## Continue in the graph

Next records for an agent, linked to their Markdown twins. Replace `.md` with `.json` for structured fields, including `next_reads`.

- topic hub: [Agents](https://newruntime.com/topics/agents.md): Explore the agents topic hub.
- topic hub: [Gemini](https://newruntime.com/topics/gemini.md): Explore the gemini topic hub.
- topic hub: [Google](https://newruntime.com/topics/google.md): Explore the google topic hub.
- collection: [Analysis](https://newruntime.com/analysis.json): Open the latest authorial analysis.
- collection: [Sources](https://newruntime.com/sources/): See the original sources this archive cites.
- whole graph: [discovery graph](https://newruntime.com/discovery-graph.json) (typed nodes and edges) and [site index](https://newruntime.com/site-index.md)
