From Exploration to Proof: Making AI Reason Like Newton
Large language models can generate plausible solutions for complex reasoning tasks, but they do not reliably prove feasibility, infeasibility, or optimality. This article examines two failure modes—feasibility misjudgment and missing optimality—and presents a framework that separates candidate generation from independent verification. It discusses certificate semantics, a shortest-path example, evaluation metrics focused on certificate trustworthiness, and engineering practices for logging, replay, and permission boundaries.
From Exploration to Proof: Making AI Reason Like Newton
1. The Problem: AI Can Find Answers, but It May Not Prove Them
As large models enter complex reasoning and decision-making scenarios, an easily overlooked gap is becoming visible: a model can quickly generate a seemingly reasonable plan, but it may not be able to explain why the plan is feasible, why it is optimal, or why no better solution exists. A representative observation from the original data illustrates this: across two general-purpose baseline models and 12 total runs, only 5 runs judged the problem “infeasible.” In four cases, the reported minimum cost was wrong, and the only run that calculated the cost correctly did not verify whether the path was shortest. This result exposes not a single-answer error, but a break between “exploration” and “proof” in the reasoning chain.
“Exploration” means that the model proposes candidate solutions, guesses possible paths, and constructs possible plans in a large search space. “Proof” means giving checkable evidence for a conclusion, such as a feasibility certificate, an infeasibility certificate, an optimality lower bound, or shortest-path verification. The former is closer to intuition and heuristic search; the latter is closer to mathematical proof and engineering audit. The core of Newton-style thinking is not “having more inspiration,” but organizing assumptions, experiments, induction, and proof into a closed loop. For AI, the real difficulty is moving from “I think this answer is correct” to “I can prove this answer is correct, and a verifier can check it independently.”
2. Two Failure Modes: Feasibility Misjudgment and Missing Optimality
The first failure mode is feasibility misjudgment. In resource scheduling, path planning, constraint satisfaction, and similar problems, a model may ignore hidden constraints and misjudge an infeasible problem as feasible, or a feasible problem as infeasible. The observation that “only 5 of 12 runs judged the problem impossible” shows that the model’s judgment of “no solution exists” is not stable. Infeasibility is often harder than feasibility: a feasible solution only requires constructing one example, while an infeasible solution requires proving that all candidates violate the constraints, or providing a constraint-conflict certificate.
The second failure mode is missing optimality. Even if a model gives a feasible plan, that does not mean it is the lowest-cost or shortest path. In the observation, “the minimum cost was wrong in four cases,” and “the only correct case did not verify that the path was shortest.” This precisely shows the gap between “giving a solution” and “proving an optimal solution.” Optimality proofs usually require lower bounds, dual certificates, cutting planes, admissible heuristics, or exhaustive arguments. Without these, a model can only express “this looks short,” not “there is no shorter path.”
Therefore, evaluating AI reasoning cannot rely only on whether the final answer matches. It must also examine whether the model provides a certificate, whether the certificate is verifiable, and whether it clearly distinguishes “proven optimal,” “feasible only,” and “cannot determine.” This ability to distinguish states is the first step from exploration to proof.
3. Technical Framework: Candidate Generation, Constraint Modeling, Verification Loop, and Certificate Auditing
To make AI think like Newton, a system can be split into two roles: an “explorer” and a “prover.” The explorer proposes candidate solutions, and the prover independently verifies them and generates or checks certificates. The two should not be merged into one unauditable black-box output. A general workflow is as follows:
def solve_with_certificate(problem, explorer, verifier):# 1. Modeling: convert the natural-language problem into constraints,# an objective function, and feasibility conditionsmodel = verifier.build_model(problem)# 2. Exploration: generate several candidate solutions,# not just a single answercandidates = explorer.generate_candidates(model, limit=8)# 3. Feasibility verification: check hard constraints one by onefeasible = []for cand in candidates:if verifier.check_feasible(model, cand):feasible.append(cand)if not feasible:# 4. Infeasibility proof: construct a constraint-conflict certificate# or exhaustive evidenceinfeasible_cert = verifier.build_infeasible_certificate(model)if infeasible_cert and verifier.verify_infeasible_certificate(model, infeasible_cert):return {"status": "infeasible", "certificate": infeasible_cert}return {"status": "unknown", "reason": "cannot prove infeasibility"}# 5. Optimality proof: construct a lower bound or shortest-path certificate# for the candidate solutionbest = min(feasible, key=lambda x: verifier.objective(model, x))optimal_cert = verifier.build_optimality_certificate(model, best)if optimal_cert and verifier.verify_optimality_certificate(model, best, optimal_cert):return {"status": "optimal", "solution": best, "certificate": optimal_cert}return {"status": "feasible_only", "solution": best, "reason": "optimality not proven"}
The key point of this pseudocode is not the interface details, but the state semantics: infeasible, optimal, feasible_only, and unknown must be strictly distinguished. A common engineering mistake is to present “finding a feasible solution” directly as “the optimal solution,” or to package “the model cannot determine” as a definite conclusion. A trustworthy system should allow AI to say “I do not know” and specify what constraints, data, or computational resources are needed next.
4. Shortest-Path Case: Why “Looks Short” Is Not “Proven Shortest”
Taking shortest path as an example, verifying whether a path is shortest requires at least three checks: whether the path itself is connected and satisfies constraints such as edge weights, direction, and capacity; whether the objective value is calculated correctly; and whether a shorter path exists. For graphs with nonnegative weights, admissible heuristic search or a shortest-path algorithm can provide a distance lower bound. For problems with negative weights or complex constraints, potential functions, dual certificates, or exhaustive proofs must be constructed more carefully. If a model outputs “this path is shortest” without providing a lower bound or a completeness argument for the search, it has essentially only proposed a candidate.
In cost-minimization scenarios, an optimality certificate can take the form of a dual feasible solution whose objective value equals that of the candidate solution, thereby proving that the lower bound equals the upper bound; or a cutting-plane argument proving that all unexplored regions cannot be better; or an admissible heuristic closure condition showing that the search is complete. An infeasibility certificate can take the form of a constraint-conflict set, a proof of insufficient total resources, or a time-window conflict chain. The value of a certificate is that it turns “the model says it is correct” into “the verifier can check it.”
5. Evaluation Design: From Answer Accuracy to Certificate Trustworthiness
If evaluation only counts final-answer accuracy, it will hide the problems of “guessing correctly” and “not verifying.” More reasonable metrics should include answer accuracy, feasibility-judgment accuracy, optimality-proof rate, certificate-verification pass rate, optimality gap, abstention or uncertainty-expression ratio, calibration error, and audit replay rate. For experiments with small sample sizes, the number of repeated runs, confidence intervals, and failure-type distribution should also be reported, to avoid drawing overly strong conclusions from a small number of runs.
For example, the observation that only 5 of 12 runs judged the problem infeasible is better suited to failure-mode analysis than to a direct comparison of model capability. Engineering teams can build a regression set: for each problem, record the natural-language description, formal constraints, reference certificate, verification result, and model state. After each change to the model or prompting strategy, run certificate verification first, then check answer matching. Only in this way can “exploration ability” and “proof ability” be measured separately.
6. Engineering Deployment: Logs, Replay, and Permission Boundaries
To make the proof loop deployable, the system needs an auditable engineering chain. Candidate generation, constraint modeling, verification results, certificate content, and failure reasons should all be written to logs and support replay by version. Certificates should be bound to model versions, data versions, and constraint versions, avoiding the hidden risk of “it was proven then, but the conditions changed later.” For high-risk decisions, human review and permission boundaries should be set: the model can propose solutions and certificates, but final adoption must pass both the verifier and business rules.
In general cloud environments, audit and replay chains can be built using general categories such as logging services, object storage, and monitoring and alerting. The focus is not on specific products, but on making every “proof” traceable, reproducible, and accountable.
7. Conclusion: From “Can Explore” to “Provable”
Moving from exploration to proof does not deny the heuristic capabilities of large models. Instead, it adds the skeleton of the scientific method: propose hypotheses, generate candidates, construct experiments, verify conclusions, provide certificates, and record failures. The original observation reminds us that AI still has systematic gaps in infeasibility judgment, minimum-cost calculation, and shortest-path verification; even the only correct answer may lack optimality verification. Future trustworthy AI should not only pursue “giving answers more like a human,” but also “putting answers into a verifiable reasoning loop like Newton.” When every conclusion can be checked independently, AI truly moves from exploration to proof.
