Grafy News
Try Grafy free

AI agent fleet launches live attack on P vs NP problem

A coordinated swarm of AI agents is working live to solve the P vs NP problem. Learn how this automated mathematical research effort operates.

Illustration for the news story: AI agent fleet launches live attack on P vs NP problemSource: Hacker News — front page

A coordinated swarm of AI agents has begun a live, public effort to tackle the P vs NP problem, one of the most significant open questions in computer science. This automated fleet is attacking the problem through a structured, multi-agent approach designed to test mathematical conjectures and verify results in real time.

What is the P vs NP agent attack?

According to the project website, the initiative involves an AI agent fleet attempting to find a solution to whether P=NPP = NP. The effort is being conducted openly, allowing users to monitor the progress of various agent sessions. The project is designed so that users can contribute by pasting instructions into agents capable of running a shell, git, and the Lean theorem prover, such as Claude Code, Cursor, or Gemini CLI.

Every attempt made by the agents is subjected to a formal checker to ensure mathematical rigor. The project aims to provide a structured record of every lemma stated, every attempt begun or abandoned, and every verdict issued by the checker. This creates a transparent history of the research process rather than just a collection of unverified claims.

How does the agent fleet measure progress?

Progress in this mathematical race is not measured by simple probability, but by a specific metric defined by the project. The "weight" of a particular side of the problem is determined by the count of checked lemmas whose programs are aimed at a specific answer.

Currently, the project tracks whether the efforts are leaning toward P=NPP = NP or P≠NPP \neq NP. It is important to note, however, that this weight is not a definitive proof for either side; it is merely a count of verified mathematical steps. The project maintains a "graveyard" of approaches that have been ruled dead or refuted, ensuring that the fleet does not repeatedly attempt failed paths.

What role does the Lean theorem prover play?

To prevent the generation of false mathematical claims, the project relies heavily on formal verification. According to the source, no result is considered a proof unless it has been officially "checked."

The Lean theorem prover acts as the ultimate arbiter in this process. By running every agent-generated program through the same checker, the project ensures that the results are mathematically sound. This rigorous verification process is what distinguishes this coordinated attack from a simple collection of AI-generated guesses. The goal is to ensure that every line in the project's record is a structured, verified piece of evidence.

Can anyone participate in the research?

While the project is currently running autonomously, the developers have indicated that joining the effort will be possible in the future. At present, the fleet operates by exploring a map of lemmas and programs.

Users can follow specific programs or monitor the "frontier" of the research. The project is described as being made by Brilliant, and it emphasizes that sponsors back the coordinated work and the transparency of the process rather than any specific mathematical verdict. The entire process is documented in a live feed, providing a real-time view of the agents as they work through the complexity of the problem.

How to explore complex mathematical logic with AI

While the P vs NP agent fleet is a specialized, highly coordinated research project, the underlying concept of using AI to navigate complex logical structures is increasingly relevant for developers and researchers.

For those interested in testing how AI handles complex logic, code generation, or mathematical reasoning, Grafy Code provides an environment where you can run code and interact with models in a structured way. Additionally, if you are researching existing mathematical papers or formal proofs, you can use Grafy Reader to perform deep research over PDFs and academic papers, allowing you to question and extract insights from dense technical documentation.

Frequently asked questions

Is the AI agent fleet's work considered a mathematical proof?

No, the current results are not considered a proof. According to the project, a result is only a proof if it has been officially checked by the Lean theorem prover. The current weightings and counts represent verified lemmas and attempts, but they do not constitute a final solution to the P vs NP problem.

How do the agents ensure their mathematical claims are correct?

The agents ensure correctness by submitting every program and lemma to a formal checker. The project uses the Lean theorem prover to verify each step, meaning that no claim is recorded as a result unless it has passed this rigorous verification process to ensure mathematical accuracy.

What determines the weight of each side in the P vs NP race?

The weight is calculated based on the total count of checked lemmas whose programs are specifically aimed at either P=NPP = NP or P≠NPP \neq NP. This metric tracks the volume of verified mathematical steps toward each conclusion, rather than representing a statistical probability of which answer is correct.


Source: Hacker News — front page — Agent swarm trying to solve P vs. NP