Daniel Dizon

← Writings

What agent swarms can and cannot do for P vs NP

P vs NP asks whether every answer that is easy to check is also easy to find. Proof has the same shape. Why that asymmetry makes formal mathematics the ideal workload for swarms of AI agents, how a verified swarm is organised, and what it says about the pace of this technology cycle.

Daniel Dizon · 6 min read

“It is the glory of God to conceal a thing: but the honour of kings is to search out a matter”

Proverbs 25:2

For fifty-five years, progress on whether P equals NP has been limited by the number of expert mathematicians willing to spend careers on it. That constraint is beginning to loosen. No model has found a solution. What has appeared is a new way of organising the work: swarms of AI agents contributing small, machine-checked pieces to a shared effort. The interesting question is why mathematics of this kind suits swarms so well, and what that reveals about where AI goes next.

The problem in one asymmetry

Think of a jigsaw puzzle with ten thousand pieces. Assembling it can take weeks. Checking a finished one takes a glance. P versus NP asks whether that gap is fundamental.

Computer scientists sort problems by how the effort to solve them grows as the problem gets bigger. Problems in the class P can be solved efficiently, in the sense that doubling the size of the problem raises the work by a manageable amount: sorting a list, finding the shortest route on a map. Problems in the class NP are those where a proposed answer can be checked efficiently, even if finding it seems to require trying an astronomical number of possibilities: a completed Sudoku, a timetable that satisfies thousands of constraints, the two prime numbers that multiply to make a very large one. The question, posed by Stephen Cook in 1971 and independently by Leonid Levin, is whether every puzzle that is easy to check is secretly easy to solve.

Most researchers expect the answer is no. Nobody has proved it, and mathematicians have shown that several of their most familiar techniques are, in principle, too blunt to settle it, much as a ruler cannot measure the weight of a stone. It is one of the Clay Institute’s seven Millennium Prize Problems, and much of modern online security rests on the assumption that the gap is real: your bank’s encryption is safe because checking a key is easy and guessing one is impossibly hard.

Hard to find, easy to check Left: finding a proof is a search through a vast space, expensive, uncertain and parallelisable. Right: checking the proof is done by the small, trusted checker, which passes or fails it cheaply on every submission. FindingCheckingsearch over a vast spaceexpensive, uncertain, parallelisableproofCheckerpasses or failssmall, deterministic, trustedcheap to run on every submission
Finding a proof is search; checking one is mechanical. A swarm spends its effort on the expensive side and lets a small trusted checker handle the cheap side.

Proof has the same shape

A mathematical proof is itself a jigsaw of this kind. Finding one can take years. Checking one, if every step is written out precisely enough for a computer to read, is routine. Software called a proof assistant does exactly that. The one used here, Lean, works like a strict examiner who accepts no step without seeing it justified: a proof either passes or it does not, and a persuasive argument with a hidden gap fails.

That asymmetry is what makes swarms viable. The central problem with AI-generated reasoning is trust: models produce fluent arguments that are sometimes wrong in ways that are costly to spot. Here, spotting an error costs almost nothing. The checker is cheap, consistent and impossible to talk round, so the result no longer depends on the reliability of any individual agent. It is like a mint that weighs every coin: the honesty of the person handing coins in becomes irrelevant, because nothing enters the vault without passing the scale.

How a verified swarm is organised

pequalnp.com, an open project that coordinates people and AI agents in writing out complexity theory in machine-checkable form, is a working example. The larger effort is broken into thousands of small steps, each a self-contained gap in a shared library of proofs. The workflow resembles a well-run building site:

  1. An agent asks a central desk for a job and is assigned one gap, so no two workers pour the same foundation.
  2. It searches for a proof, using whatever methods it likes.
  3. It submits its work as a single file.
  4. An automated checker tests it against everything already built.
  5. A passing proof is added and credited to its author; a failing one costs only computing time.

Three design choices make this an engineered swarm. Breaking the work into small pieces lets agents try in isolation and fail cheaply. Assigning each piece to one worker at a time prevents duplicated effort and leaves a clear record of who did what. And the checker is the only gatekeeper, so no human has to review correctness before work is accepted.

The lease-and-verify loop A central desk assigns one job at a time to many agents working in parallel. Each agent submits a single file to an automated checker. Passing proofs are merged and credited; failures are rejected and can be retried. An agent can also hand a job back to the desk with its reason. Deskassigns one jobagent 1agent 2agent 3agent 4agent 5Checkerone file per submissionmergedcreditedrejectedretryhand back with reason
The assign-and-check loop. Agents are untrusted workers; the checker is the only gate between a contribution and the shared library.

The system also rewards honesty in a way human research incentives often do not. An agent that discovers a step is false, or out of reach, can hand the job back with its reason. In practice the easy warm-up gaps are claimed within minutes, and what remains are genuine research problems. That is itself informative: in a mature swarm the remaining work is hard, and the scarce resource shifts from labour to insight.

What a swarm cannot do

The limits deserve the same precision as the promise. A swarm supplies diligence; the conceptual breakthroughs the problem demands still have to come from somewhere. It works within a plan that humans drew, like builders following an architect’s drawings, and it can only prove what has been stated, so the effort is only as good as the way each step was written down. Most steps in any such effort are scaffolding: necessary, checkable and individually modest.

A live experiment

This essay is published alongside a running experiment, and this section is updated as it progresses. In November 2026 we set up an AI agent to join the pequalnp.com effort as one more worker in the swarm. Getting it running took under an hour on an ordinary cloud machine.

The first results are instructive precisely because they are modest. The easy warm-up jobs were taken by other agents before ours could claim one. It was assigned several harder research steps and handed some back, in one case flagging that the statement as written appeared to be false. It is now working on a substantive step. As of publication, none of its proofs has been accepted, and nothing has been spent beyond ordinary computing costs.

Any accepted contributions will be noted here. They will be small pieces of a large effort. They will not resolve P versus NP, and nothing in this experiment claims otherwise.

The pace of this cycle

Each technology cycle follows a familiar pattern: long research, a collapse in cost, then adoption. What distinguishes the AI cycle is how compressed every phase has become. The printing press took the better part of half a century to spread across Europe’s cities. Electrification took roughly forty years. The internet moved from research network to mass adoption in about two decades. ChatGPT reached an estimated hundred million users in about two months after its launch in late 2022.

Adoption time across technology cycles Horizontal bars of approximate time from introduction to broad adoption: printing press about 50 years, electrification about 40 years, the internet about 20 years, and ChatGPT reaching 100 million users in about 2 months. Printing press~50 yearsElectrification~40 yearsInternet~20 yearsChatGPT (100M users)~2 monthsApproximate time from introduction to broad adoption.
Approximate time from introduction to broad adoption. Each cycle compresses the last.

The capability curve is steeper still. Epoch AI estimates that the computing power used to train frontier models has grown roughly four to five times a year. In 2024 an AI system reached silver-medal standard at the International Mathematical Olympiad, with its proofs checked by Lean; in 2025 systems reached gold. The shift from scarce expert labour to abundant checked machine labour will spread to every field where work can be mechanically verified: software, chip design, regulatory compliance, parts of law and medicine. The general lesson of the swarm is that the ability to check work is the scarce input.

Searching out a matter

Reformed theology holds that creation is intelligible because its Creator is rational, and that exploring its structure is an act of worship. Mathematics belongs to that order; to search out its hidden structure is, in Kepler’s phrase, to think God’s thoughts after him. A swarm of agents leaves the glory where it was. It changes how many hands can join the search, under a discipline in which every step is checked. P versus NP may stand for another fifty years. The method, open, checked and collaborative, is already the more durable result.