Multi-Agent Collaboration: Separating Proof Generation from Cross-Verification in Practice

    This article explores a multi-agent collaboration pipeline for solving complex mathematical proofs and technical reasoning tasks. By separating generation from review, researchers used one model to generate a 43-page proof in 103 minutes, followed by four independent agents for cross-verification and final machine-checked formalization. We break down the four-role workflow, analyze the technical rationale behind cross-verification, and provide an actionable checklist for applying this methodology to software development and architectural decision-making.

    A Counterintuitive Fact: A Model Cannot Effectively Review Its Own Proofs

    There is a widespread misconception in software engineering: letting an AI write a piece of code, and then casually asking it in the same conversation, “Check this for bugs.” Upon receiving a “No issues found” reply, the developer merges it into the main branch. The problem with this approach is that the generator and the reviewer are the exact same model—sharing the same weights and the same cognitive preferences. The blind spots present during the generation phase are carried over intact to the review phase.

    The field of mathematical proofs demonstrates this principle in the extreme. A challenging problem at the intersection of probability theory and statistical physics had previously defeated multiple different large language models (LLMs). However, when a mathematics researcher adopted a completely new workflow, a new model took only about 103 minutes of inference time to produce a complete proof covering three related conjectures, compiling into a 43-page PDF.

    What is truly noteworthy is not that “a certain model won,” but how the output was handled post-generation. The researcher immediately brought in four independent agents from different technical ecosystems for cross-verification—two from the same lineage as the proof-generating model, and two from entirely independent systems. Once the cross-review confirmed the proof’s validity, the 43-page document began to be progressively translated into a theorem-proving assistant language for line-by-line machine verification.

    This is the core theme of this article: a multi-agent collaboration pipeline that separates generation from review.

    Reconstructing the Event: How the Problem Was Solved

    Let’s break down the timeline and technical details of this event.

    1. Background: A “Human-Machine” Researcher

    The researcher is affiliated with an applied mathematics research institute at a prominent university, specializing in mathematical physics and probability theory. Notably, their published papers in recent years have included formal verification code in the appendices—programs written in a language that allows machines to check the correctness of mathematical proofs line by line. This language is highly rigorous: any logical flaw in the derivations written by a human (or AI) will cause the compiler to reject it.

    This academic background of “machine verification” directly dictated the design philosophy of their subsequent workflow: any conclusion must ultimately be formalized to a degree where it can be mechanically verified.

    2. The Prompt: Not Written by the Researcher

    The problem originated from a suggestion by a peer in physics, falling at the intersection of probability theory and statistical physics. The research group originally planned to prove three conjectures, labeled A, B, and C.

    An often-overlooked detail is that the researcher did not write the prompt for the model themselves. They first had another LLM draft a task description comprising three parts:

    • Background Context: Where the problem sits mathematically and what prior work had achieved.
    • Bottleneck Identification: A clear explanation of where previous attempts failed at critical junctures.
    • Failure Archive: The working directory retained complete log files of previous failed attempts, provided for the model’s reference.

    This is essentially “failure-context-first” prompt engineering—informing the model of known wrong paths to prevent it from falling into the same traps. In complex reasoning tasks, this approach is often more effective than carefully packaged positive instructions.

    3. Generation: Asked for A, Got A, B, and C

    An interesting outcome was that the researcher only asked the model to prove Conjecture A. However, after about 103 minutes of autonomous reasoning, the model returned complete proofs for all three conjectures (A, B, and C). This indicates that in long-horizon reasoning scenarios, a model’s autonomous exploration range may exceed the defined task boundaries—this can be either a pleasant surprise (incidentally solving related problems) or a risk (uncontrollable expansion of scope). Facing the 43-page compiled PDF, the researcher’s immediate question became: Is this output trustworthy?

    4. Verification: The Core Philosophy

    The answer is: do not let the generator self-verify. The researcher deployed four independent agents for cross-review—two sharing the same lineage as the proof-generating model, and two from an entirely different technical ecosystem.

    A peer aptly summarized this paradigm during a discussion: “Use a new model to attack a problem where an old model got stuck, and then ask the old model to check if the answer is correct?” The researcher affirmed this, adding that you could also use the high-reasoning tier of another model to verify it, which is “usually sufficient.” This casual remark of “usually sufficient” is backed by a well-documented set of collaboration norms.

    Deconstructing the Pipeline: A Four-Role Division of Labor

    The researcher codified the entire AI collaboration pipeline into a documented process specification, featuring a clear division of labor across four roles:

    Role 1: Project Lead (Human). Defines goals, approves every critical proposition, and proofreads the final draft of each section. This is the only irreplaceable human component in the entire process—deciding “what to do” and “what counts as valid.”

    Role 2: Proof Generator (Model A). Responsible for intensive reasoning, producing candidate proofs or derivation skeletons.

    Role 3: Cross-Reviewer (Models B/C). Models from independent technical ecosystems that review the proof section by section, looking for logical gaps, hidden assumptions, and circular reasoning.

    Role 4: Formalization Executor (Verification Tool + Model). Translates the reviewed proof into a theorem-proving assistant language for line-by-line machine checking, ultimately providing a mechanical verdict on its correctness.

    The essence of this division of labor lies in checks and balances: the prompter does not generate, the generator does not make the final verdict, and the final verdict must pass through an additional layer of mechanical verification. Any error in one stage will be exposed in the downstream stage.

    Why “Cross-Verification” Works: Three Technical Reasons

    1. Uncorrelated Error Distributions

    LLMs from different technical ecosystems have different training data ratios, alignment methods, and reasoning preferences, resulting in weakly correlated systemic blind spots. An error that Model A is prone to make may not be made by Model B. Using an independent model for review is equivalent to taking a new measurement with an uncorrelated “instrument,” which significantly increases the probability of discovering issues.

    2. Avoiding the “Commitment Consistency” Trap

    When the same model immediately self-reviews its generated content, it has a natural bias—it tends to defend the conclusions it just output. The cost of replying “no issues” is far lower than the cost of推翻重来 (tearing it down and starting over). Separating generation and review into different sessions or different models structurally eliminates this conflict of interest.

    3. Layered Filtering Cost Structure

    Multi-model cross-verification is not the end point; above it sits the “gold standard” of formal verification. As an intermediate layer, cross-review filters out obvious errors at a lower cost, allowing only high-confidence proofs to enter the expensive formalization stage. This is a classic funnel-style quality assurance architecture, structurally identical to the “static analysis -> code review -> integration testing” hierarchy in software engineering.

    Migrating to Development Practice: An Actionable Checklist

    This methodology can be directly translated into daily code development and complex technical decision-making:

    1. Mandate Separation of Generation and Review: Have AI-generated code reviewed by another independent model (or at least a new, context-unpolluted session). The review prompt should explicitly ask to “find problems” rather than “confirm there are no issues”—the framing of the question significantly impacts the depth of the review.
    2. Prioritize Failure Archives: Write historical pitfalls and dead ends into the prompt to reduce the model’s chances of repeating mistakes.
    3. Humans Guard Both Ends: Task definition and final approval must be handled by humans, while AI handles the intermediate reasoning and mutual verification.
    4. Rely on Mechanical Verification as a Backstop: If you can write test cases, type annotations, or static checks, do not rely on any model’s “verbal confirmation.”
    5. Document the Process: Write collaboration norms into reusable process documents rather than improvising every time. The researcher’s decision to codify the division of labor into a document is the key step in turning personal experience into a reusable asset.

    Conclusion

    103 minutes, a 43-page proof, four cross-reviewing agents, and an ongoing machine verification chain—the methodology behind these numbers is quite straightforward: approach complex reasoning like assembling a team. One party produces the proof, another reviews it, humans only set the questions and make the final call, and tireless machines check it line by line.

    While the boundaries of AI capabilities continue to expand rapidly, rather than betting on “which model is the strongest,” it is better to spend your energy designing a workflow where different models keep each other in check and humans focus on judgment. Whether you are doing mathematical research, writing production code, or making architectural decisions, this approach is worth adding to your toolbox.