AI-Assisted Disproof of Mathematical Conjectures: A Technical Practice
This article examines how AI-assisted tooling can be used to disprove a mathematical conjecture through a reproducible, auditable computation that runs in under a second. It clarifies that large language models do not prove or disprove propositions themselves; they translate natural language into formal expressions, generate code skeletons, and enumerate boundary conditions, while the validity of a conclusion comes from executable code and mathematical equivalence. The article walks through the engineering workflow: translating a conjecture into computable objects across the object, decision, and search layers; cross-checking results with two independent derivation paths; layered verification and its cost structure; and the reproducibility practices that let third parties independently re-verify results. It also shows how the same methodology transfers to other domains and offers practical recommendations for building verifiable, auditable infrastructure.
1. The Technical Core: A Reproducible “Computational Disproof”
Recently, a 16-year-old high school student used an AI coding tool to overturn a conjecture proposed by three professional mathematics researchers. Public attention has focused on the “young prodigy” and on “tool capability,” but from an engineering perspective, what deserves to be broken down is the methodology: the entire disproof was compressed into a deterministic computation that is runnable, auditable, and completes in under a second.
A common misunderstanding needs to be cleared up here: a large language model does not itself “prove” or “disprove” a mathematical proposition. It plays supporting roles such as translating natural language into formal expressions, generating code skeletons, and enumerating boundary conditions. The validity of the final conclusion comes from executable code and mathematical equivalence, not from the natural-language assertions produced by the model. Drawing this boundary clearly is the prerequisite for all subsequent engineering practice.
Another fact to view objectively: the overturned conjecture may not be of great mathematical value. But this does not diminish its methodological significance—it demonstrates that the “conjecture—construction—verification” loop can be significantly compressed, and that the verification result is independently reproducible by third parties.
2. Step One: Translating the Conjecture into a Computable Object
The success or failure of automated verification depends roughly 80% on modeling quality. For a conjecture to enter a computational pipeline, it must complete three layers of conversion:
- Object layer: Clarify the mathematical entities the conjecture discusses (combinatorial structures, polynomial families, lattices, graphs, etc.) and their parameter domains;
- Decision layer: Rewrite “holds / does not hold” as a decidable predicate, for example whether a counting sequence satisfies non-negativity, or whether the sign of a discriminant is constant;
- Search layer: Determine the search space for counterexamples and the pruning strategy, avoiding unbounded enumeration.
In practice, the most error-prone part is “semantic drift” in the decision layer: the property implemented in code resembles the property in the original conjecture but is subtly different. The way to avoid this is to write out an explicit formal statement and map it item by item to assertions.
# Illustration: decomposing a conjecture into assertable predicatesdef check_conjecture(params):seq = flag_count_recurrence(params) # Path A: recurrencegamma = to_gamma(seq)assert discriminant_sign(gamma) < 0 # decision condition 1assert real_root_count(gamma) == 0 # decision condition 2return True
3. Step Two: Cross-Checking Two Paths, Not Single-Point Verification
The most engineering-valuable design in the original work is that the same conclusion is derived independently by two structurally different paths, and intermediate quantities are compared at the same parameter point.
- Path A: based on flag-count recurrence (Gaussian coefficient recurrence);
- Path B: based on associated recurrence (Gaussian product formula).
The two paths are mathematically independent and must numerically converge to the same set of intermediate quantities. The value of this design is that it can intercept both “implementation errors” and “modeling errors” at the same time. Single-path verification can only guarantee “the code is consistent with my understanding”; only dual-path verification can approach “my understanding is consistent with mathematical fact.”
The accompanying audit script further checks the discriminant sign, global negativity, the number of real roots of the polynomial, and the cross-check results of the two recurrences. This is a typical “invariant checklist” approach: breaking a complex proposition into several necessary conditions and asserting each one.
4. Step Three: Layered Verification and Cost Structure
From construction to the final conclusion, verification is split into several layers that can be independently re-checked:
| Layer | Verification Method | Source of Trust |
|---|---|---|
| Construction → flag count | Flat lattice enumeration at small parameters | Completeness of exhaustion |
| Flag count → gamma/polynomial | Symbolic computation | Algebraic identity |
| Polynomial → discriminant/real roots | Symbolic computation | Analytic decision |
The direct benefit of this layering is controllable cost: in an ordinary laptop environment with a general-purpose symbolic computation library, the core script runs in sub-second time and all assertions pass. Compared with the weeks or even months of traditional manual derivation, the cost structure has changed by orders of magnitude.
It needs to be emphasized that sub-second only means “verification is cheap,” not that “the conclusion is cheap.” The strength of the conclusion is still determined by formal correctness and reproducibility.
5. Reproducibility: Letting Third Parties Independently Re-Verify
Reproducibility is the lifeline of this kind of work. Engineering practice should lock down at least four things:
- Environment locking: Fix the versions of the symbolic computation library and language runtime to avoid numerical/symbolic behavior differences;
- Input fixing: Check parameters, random seeds, and dataset versions into the repository together;
- Assertion completeness: Break the conclusion into explicit assertions, and produce a minimal counterexample on failure;
- Artifact retention: Archive intermediate quantities, diagnostic plots, and structured results together for cross-comparison.
# Illustration: minimal entry point for one-click reproductionpython verify_counterexample.py --q 17 --json out/result.jsonpython verify_ranks.py --input out/result.json
If conditions allow, the verification pipeline should be integrated into continuous integration so that every change is automatically re-run; combined with logging services and monitoring alerts, trend observation of assertion failure rates and runtime can prevent “the verification script itself from rotting.”
6. Capability Spillover: From Mathematical Verification to General Engineering
The acoustic geolocation experiment shown by the same author demonstrates that this methodology is transferable across domains: extracting moving spectral trajectories from audio, grouping harmonics, pulling historical flight tracks by time window, modeling Doppler shift and sound propagation delay and terrain occlusion, scoring and ranking candidate locations, and outputting structured diagnostics and visualization results.
Abstracted out, it shares the same skeleton with mathematical verification: multi-source signals → physical/mathematical modeling → multi-candidate scoring → cross-validation → structured output. This also explains why such projects can be completed at extremely low cost—they are essentially instances of the same engineering paradigm of “computationalization + verifiability” in different fields.
7. Recommendations for Engineering Implementation
- Clear human-AI division of labor: The model handles drafts and code skeletons; humans handle formal statements and semantic review;
- Prioritize dual paths: Any key conclusion should have a second independent path as a fallback;
- Assertions over documentation: Properties that can be written as assertions should not live only in comments;
- Observable cost: Record the time and resource usage of each verification run to form a baseline;
- Neutral infrastructure: Verification artifacts can be stored in object storage, tasks scheduled with a container platform, and the pipeline decoupled with a message queue, with logging and monitoring alerts integrated throughout, thereby decoupling from any specific vendor implementation and ensuring portability.
8. Conclusion
The real lesson of this event is not that “tools replaced researchers,” but that mathematical and scientific verification is being reconstructed as a software engineering problem: modeling, assertions, dual-path cross-checking, layered re-verification, and environment locking. Teams that master this workflow—whether facing a combinatorial mathematics conjecture or signal-processing localization—can obtain high-confidence conclusions at extremely low cost. For developers, what is worth investing in is not chasing a particular tool, but building reproducible, auditable verification infrastructure.
