AI and Counterexample Search: The Turning Point for Mathematical Conjectures

    This article examines how low verification costs are changing AI-assisted mathematics, using a recent counterexample to a gamma-polynomial conjecture as a case study. It explains why counterexample search suits AI, how formalization status provides a credibility grading system, and how teams can connect AI output to a verification pipeline. Readers will find a reusable five-step methodology, key cost considerations, and three practical judgments for dividing work between humans and machines.

    1. The Technical Core: Not a Headline, but a Collapse in Verification Cost

    A recent event drew wide attention: a 16-year-old high school student used an AI model to disprove a conjecture proposed by three professional mathematics researchers. The conjecture stated that a class of gamma-polynomials constructed from matroids has roots that are all real. The counterexample was straightforward—two quadratic gamma-polynomials with a negative discriminant. A negative discriminant means there are no real roots, so the conjecture does not hold. The solution was later confirmed by the creator of a formal proof system.

    What matters here is not the “high school student beats professors” narrative, but the structural change it exposes in AI participation in mathematical research: when verification costs are low enough, machines can try options at high speed across a huge search space, while humans only need to review the conclusions. This type of problem has a specific name in mathematics—the counterexample problem. Its defining trait is that it is “hard to find, easy to verify”: the number of candidate objects explodes, but deciding whether a candidate works often takes only one deterministic computation.

    You can abstract it as a decision process:

    1. for candidate in SearchSpace:
    2. if verify(candidate) == False: # verification is very cheap
    3. return CounterExample(candidate)

    The key to this pseudocode is not the loop but the cost of verify. If verification requires hours of manual reasoning, AI-generated candidates are merely “unverified rumors.” If verification is an executable, reproducible decision procedure, AI output immediately becomes a result that can be recorded.

    2. Why Counterexample Search Is a Natural Fit for AI

    Counterexample search became one of the first areas where AI made breakthroughs, for three engineering reasons.

    First, the objective function is clear. Discriminants, eigenvalues, feasibility checks, and constraint satisfaction are all computable hard metrics. There is no “debate over style.”

    Second, verification is decoupled from generation. Generation can be random, heuristic, and parallel; verification must be deterministic and reproducible. In engineering terms, this means using large-scale concurrency to “collide” with candidates and a single-threaded deterministic program to “judge” them.

    Third, failure has no cost. Most candidates will be rejected by the verifier, but this creates no liability that needs to be maintained. A single success, however, is equivalent to a theorem-level conclusion.

    This also explains why similar events appear in batches. In clustering algorithms, one team used an AI model to fix two counterexamples that had been proposed the previous day in about ten minutes, and produced an improved version that achieves the effect of twenty-five iterations with four passes over the data. Another preprint claims to have constructed a counterexample to a conjecture in combinatorial number theory, but its status is marked as “not reviewed.” Put these three cases together and the pattern is clear: AI is good at finding counterexamples, filling small gaps, and doing formalization translation. It is not good at producing heavy theory that requires long-term peer review.

    3. Don’t Be Fooled by Quantity: Formalization Status Is the Credibility Grade

    The high school student’s code repository grew from 2 results to 25 within 48 hours of the model’s release, but the repository itself labels the formalization status: 15 fully formalized, 9 partially formalized, and 1 with no formalization. This ratio matters far more than the total and can serve directly as a credibility grading standard:

    • Fully formalized: checked line by line by a proof assistant, logically closed, highest credibility, independent of the author’s identity;
    • Partially formalized: key steps pass, but gaps remain; this counts only as “strong evidence,” not a proof;
    • Not formalized: an idea or numerical observation, usable only as a lead for follow-up research.

    In engineering terms, you can map this grading into a pipeline:

    1. Candidate generation → Numerical verification → Formalization encoding → Proof assistant check → Archiving and citation
    2. ↑ ↑ ↑ ↑
    3. Highest cost Cheap Moderate One-time but strict

    The cost structure deserves emphasis. The person involved stated that one run consumed about 10% of a monthly quota, which shows this is high-cost exploration, not magic that can be reproduced casually. For a team, “compute budget” must be managed as an explicit constraint, not assumed to be unlimited.

    4. A Reusable Methodology: Connecting AI Output to a Verification Pipeline

    This method holds even if you are not in mathematics, because its essence is “separating generation from verification.” For implementation, five steps are recommended.

    1. Define an executable verifier. Any conclusion must be judged by a program that runs deterministically. For code, this corresponds to unit tests and type checks; for data analysis, to assertions and consistency checks; for configuration changes, to policy checks.
    2. Mandate status labels. As the repository does, label each output as “verified / partially verified / unverified,” and prohibit unlabeled content from entering the conclusion layer.
    3. Set cost budgets and quotas. Set quota limits and concurrency limits for the generation stage, make exploration costs explicit, and avoid runaway bills.
    4. Move human review ahead of high-risk steps. Parts the verifier cannot cover (such as formalization gaps and boundary conditions) must be reviewed by humans.
    5. Publish conclusions in layers. “Solving a conjecture” has levels: result number 607 in the repository had already been solved before, and what was done here was sharpening—improving constants, tightening conditions, and removing redundant assumptions. When publishing, state clearly whether it is a “first solution,” an “improvement,” or an “equivalent restatement.”

    On the infrastructure side, these steps are typically carried by general cloud capabilities: container platforms run concurrent search, object storage archives candidates and proof scripts, message queues distribute tasks, and logging services with monitoring and alerts track quotas and failure rates. For this kind of “large-scale generation + deterministic verification” workload, Baidu AI Cloud is typically supported by the same general categories of capabilities described above.

    5. Three Judgments Worth Remembering

    Judgment 1: Verification tools matter more than prompts. The truly valuable part of these results is not the natural-language narrative but the checked column for formal verification. Without machine-executable verification, AI output is merely an unverified rumor. This principle applies fully to writing code and doing data analysis: whether something can be verified determines whether the output has value.

    Judgment 2: Draw the capability boundary by “verifiability.” For verifiable work, machines are already fast; for unverifiable work that requires long-term consensus, humans still depend on the community. Ranking tasks by verification cost is the most effective way to divide labor between humans and machines.

    Judgment 3: Conclusions must carry status and cost labels. Fully formalized, partially formalized, and not formalized, plus the compute quota consumed—these four labels together form a credible technical record. Without any one of them, readers cannot judge whether a conclusion can be relied upon.

    In summary, the significance of this event is not that “machines defeated humans,” but that it compressed the most tedious and most automatable part of mathematical research—search and verification—down to minutes. For developers, there is only one real action item: build the verifier first, then talk about intelligence.