LLMs and Graph Theory Conjectures: Prompt Design and Proof Verification
Large language models can help explore mathematical conjectures, but generating a plausible proof is not the same as establishing a theorem. Using the Cycle Double Cover Conjecture as a running example, this article explains how to define research prompts, organize multi-agent exploration, test candidate constructions, and verify proofs before reporting a mathematical breakthrough.
1. Evaluating a Mathematical Breakthrough: Proof Generation vs. Proof Validity
When a report claims that a large language model solved a long-standing graph theory problem in less than an hour, the most important question is not which model was used or how many agents ran in parallel. It is what the system actually delivered.
Mathematical outputs can be divided into at least four levels:
- Research ideas: Potentially useful constructions, reductions, or auxiliary propositions.
- Candidate proofs: Arguments that read coherently and appear structurally complete.
- Independently reviewed proofs: Arguments whose critical steps, cited assumptions, and boundary cases have been checked.
- Formally verified proofs: Arguments checked by a machine within an explicit system of definitions and logical rules.
These levels should not be conflated. A model-generated document that looks complete does not establish that a conjecture has been solved. Nor does agreement among several agents amount to several independent pieces of evidence.
For the specific event discussed in the source material, the available information is insufficient to verify the publication source, execution records, or validity of the proof. A claim that a proof was completed quickly therefore cannot be presented as a confirmed fact. A more defensible technical discussion focuses on the broader question: how should LLM-based mathematical exploration be organized, and how can its outputs be evaluated?
2. What the Cycle Double Cover Conjecture Requires
Understanding the Problem Through Edge Coverage
Consider a finite, loopless, undirected multigraph. Parallel edges between the same two vertices are allowed, and each is treated as a distinct edge.
A bridge is an edge whose deletion increases the number of connected components. Intuitively, it is the only connection across a particular part of the graph.
The Cycle Double Cover Conjecture asks whether every bridgeless graph admits a family of cycles in which every edge is covered exactly twice.
Two details are essential:
- The coverage requirement applies to edges, not vertices.
- Every edge must be covered exactly twice, not merely at least twice.
Under the multigraph convention, two distinct parallel edges connecting the same endpoints can form a cycle of length two. The covering family generally permits repeated occurrences of the same cycle, so it is more precisely a multiset of cycles.
Why the Bridgeless Condition Is Necessary
If an edge lies on a cycle, deleting that edge leaves a path between its endpoints along the rest of the cycle. It therefore cannot be a bridge.
Conversely, a bridge belongs to no cycle and cannot be covered twice by cycles. This explains why the conjecture is restricted to bridgeless graphs.
However, “every edge belongs to some cycle” and “all edges can simultaneously be covered exactly twice” are different requirements. The first is a local existence condition. The second imposes consistent counting constraints across the entire graph. The difficulty lies in coordinating the overlaps among cycles.
A Counting Formulation
Let the candidate cycles be (C_1,\ldots,C_m), and let (x_i) denote the number of times cycle (C_i) appears in the covering family. The requirement is:
[
\forall e\in E,\qquad
\sum{i:e\in C_i}x_i=2,
\qquad x_i\in\mathbb{Z}{\geq 0}.
]
This formulation clarifies the goal, but it is not itself a proof. Even if relaxing the integer constraint yields a fractional solution, that does not establish the existence of an integer solution. Likewise, finding a cover for one finite graph by search does not prove the claim for every bridgeless graph.
3. The First Rule of Prompt Design: Fix the Mathematical Objects
For open problems, one of the most dangerous errors is not a failed calculation but an unnoticed change to the problem.
A model might assume that the input is a simple graph and ignore parallel edges. It might assume connectedness without explaining how disconnected graphs are handled. It might interpret a cycle as a closed walk that permits repeated vertices, making its subsequent construction inconsistent with the original problem.
A research prompt should therefore specify:
- Whether the graph is finite.
- Whether loops are allowed.
- Whether parallel edges are allowed.
- What counts as a cycle.
- Whether the covering family may reuse a cycle.
- Whether the graph must be connected.
- How the empty graph is handled.
- Which boundary cases the final result must cover.
These constraints are not cosmetic. They form the interface contract for the proof. If definitions differ between steps, individually plausible arguments may combine into an invalid conclusion.
For a disconnected graph, covers for its connected components can be combined into a cover for the whole graph. An empty graph has no edges to cover, so the empty covering family satisfies the requirement. Such observations are straightforward, but stating them removes ambiguity and lets reviewers focus on the genuinely difficult steps.
4. “Assume a Proof Exists” Is a Search Strategy, Not Evidence
One prompting strategy is to temporarily assume that an affirmative proof exists and ask the model to search for constructions rather than repeatedly explain why the problem is difficult.
This can influence the direction of exploration. It cannot strengthen the logical status of the result.
How It Can Help
When given a long-standing open problem, a model may default to historical background, a literature overview, or an explanation of its difficulty. Restricting the task to exploring affirmative proof routes can encourage auxiliary lemmas, induction schemes, and structural reductions.
That is guidance for research, not a mathematical premise.
How It Can Go Wrong
If the model interprets “assume a proof exists” as “the conclusion is already established,” it may work backward from the desired result, invent the lemmas it needs, and insert them into the argument without proof. The resulting text can be confident and well organized while remaining circular.
A safer instruction is:
Prioritize affirmative proof routes, but do not treat the target conclusion or any equivalent proposition as an established fact. Explicitly mark incomplete steps; polished wording must not substitute for logical completeness.
Allowing the model to report failure is equally important. Prompts that prohibit acknowledging gaps or uncertainty encourage apparently successful prose rather than reliable research records.
5. Multi-Agent Collaboration: Broader Exploration, Not a Substitute for Verification
Parallel agents can explore several directions at once, but the number of agents does not determine the strength of a proof.
If all agents share the same incorrect premise, or read the same candidate answer early in the process, they may simply restate the same flaw in different language. Effective collaboration requires distinct roles and, where possible, independent review.
Exploration Agents Propose Approaches
Different agents can investigate:
- Induction and local transformations.
- Cuts, connectivity structure, and decomposition methods.
- Cycle spaces and related representations.
- Conditions under which special graph classes admit a solution.
- Small instances and counterexample searches.
Each approach should report its scope, key lemmas, and unresolved steps—not just a final conclusion.
Review Agents Actively Look for Errors
Review should be separated from proof generation. Reviewers need to check:
- Whether graph transformations preserve bridgelessness.
- Whether constructions introduce loops or change edge identities.
- Whether a claimed cycle is actually only a closed walk.
- Whether the induction parameter strictly decreases.
- Whether restoring the original graph preserves coverage counts.
- Whether cited results satisfy all required assumptions.
- Whether an auxiliary proposition implicitly contains the original conjecture.
Approaches that simplify a graph and then lift a cover back to the original graph are particularly vulnerable to edge-counting errors during reconstruction. Every deletion, contraction, split, or replacement should include an explicit statement of the invariants it preserves.
Synthesis Agents Track Dependencies
Synthesis should not consist of stitching several documents together. It should produce a proof dependency graph: which lemmas support the final theorem, which definitions and assumptions support each lemma, and which nodes remain unproved.
If a central lemma is unresolved, the result must be labeled a candidate approach rather than a complete proof.
6. What Finite-Instance Testing Can—and Cannot—Establish
Computational experiments are useful for detecting construction errors, especially those involving parallel edges, cuts, and local replacements.
Given a graph and a model-generated covering family, verification can follow this procedure:
Check the covering family:Assign a distinct identifier to every edge and initialize its count to zeroFor each cycle in the covering family:Check that it satisfies the agreed definition of a cycleCheck that every edge in it belongs to the original graphIncrement the count for each corresponding edgeCheck that every edge has a final count of exactly two
Distinct edge identifiers are essential. Representing an edge only by its endpoint pair would incorrectly merge parallel edges.
Finite testing nevertheless has clear limits:
- Finding a valid cover confirms that particular instance.
- A construction that fails on one instance cannot be universally valid.
- A search that finds no cover does not automatically establish that no cover exists.
- Successful tests on many instances do not replace a proof for arbitrary finite graphs.
Testing is therefore a diagnostic tool for the research process, not a certificate of a universal result.
7. A Verification Workflow for Candidate Proofs
Stage 1: Freeze the Candidate Version
Preserve the complete argument, generation conditions, references, and revision history. Create a new version after each repair to avoid reviewing one proof and publishing another.
Stage 2: Review the Proof Structure
First extract the main theorem, key lemmas, construction steps, and dependencies. Look for unsupported transitions before checking local derivations one by one.
Review effort should prioritize the highest-risk steps rather than be distributed evenly. A lemma responsible for a global reduction usually deserves more scrutiny than several routine algebraic manipulations.
Stage 3: Search for Targeted Counterexamples
Test special graph structures relevant to the key lemmas. The goal is not to accumulate successful examples, but to expose missing assumptions, invalid transformations, and counting errors as quickly as possible.
Stage 4: Formalize and Check the Argument
Formal verification requires precise representations of graphs, cycles, bridgelessness, and coverage counts, followed by proof steps expressed as checkable deductions.
It is not a process of uploading a natural-language document and receiving a trust score. It requires explicit modeling and proof construction. Its value lies in exposing assumptions and omitted steps that natural language can conceal.
The formal statement must also remain faithful to the original problem. A machine-checked proof of a special graph class, or a definition that excludes critical cases, does not establish the full conjecture.
Stage 5: Obtain Independent Review and Publish Carefully
Public descriptions should distinguish among proposing an approach, producing a candidate proof, obtaining expert review, and completing formal verification.
Even a formally checked result should disclose its definitions, dependencies, and assumptions.
8. How to Evaluate Rapidly Generated Mathematical Results
AI-assisted mathematical research can be assessed along four dimensions:
Correctness: Does the conclusion follow from explicit premises, and can the critical steps be checked independently?
Completeness: Does the argument cover all intended cases, or does it leave a central lemma unresolved?
Reproducibility: Are the inputs, outputs, versions, and verification process documented clearly enough for other researchers to inspect?
Efficiency: How much time and how many resources were required to generate the candidate argument, repair gaps, and complete verification?
Generation time is only one part of efficiency. If a candidate proof appears quickly but takes a long time to debug, its practical value must be judged alongside the verification cost.
Meaningful progress need not take the form of an announcement that a conjecture has been solved. A correct new lemma, the elimination of a route long thought promising, or a substantial reduction in formalization effort can also be valuable contributions.
9. Conclusion: Let Models Explore and Evidence Determine the Result
The Cycle Double Cover Conjecture illustrates a central challenge in AI-assisted mathematics: producing a convincing narrative is easier than establishing a gap-free chain of deductions.
Good prompts can define problem boundaries, guide exploration, and reduce conceptual confusion. Multi-agent systems can broaden the search. Computational experiments can quickly reveal local errors. None of these capabilities replaces a proof.
A reliable workflow separates exploration from validation. It allows models to propose ambitious approaches while requiring them to disclose gaps. It encourages parallel work while providing independent adversarial review. It values speed, but gives greater weight to consistent definitions, complete treatment of boundary cases, and inspectable evidence.
Only when a candidate argument withstands these checks is there a sound basis for treating rapid generation as a genuine mathematical achievement.
