When Proof Assistants Report False Results: Assessing Language

When Proof Assistants Report False Results: Assessing Language Model Decisions and Final Proofs in Lean 4


Abstract


A proof assistant can correctly verify a proof while the interface displays an incorrect result. This paper examines how language models respond to such misleading reports. Using 14 pairs of elementary Lean 4 statements and seven model deployments, each model evaluates a statement, a candidate proof, and a report, then decides whether to keep, revise, or reject the candidate. The study distinguishes the model's initial decision from the correctness of its final submission.


In the original Claude batch, fabricated errors reduced correct retention of valid proofs from 40/42 to 2/41. False statements were rejected in 37/42 cases without reports and 35/41 under fabricated successes, though this does not establish equivalence. For true statements with insufficient proofs, fabricated successes reduced correct revisions from 18/26 to 5/26 for Opus and Haiku, while Sonnet revised 11/13 with a larger output budget. Initial decisions did not always predict final correctness: in a later Opus and Haiku batch, valid final proofs for general statements dropped from 28/28 to 20/28 under fabricated errors, and six responses to closed statements recovered from an initial rejection. Four additional deployments showed varying baseline competence. These findings support reporting both initial decisions and final submissions, but do not isolate checking difficulty or establish reliability in interactive proof workflows.


1. Introduction


In formal verification, a proof assistant checks a proof for correctness. However, the interface may display a result that contradicts the actual check. This discrepancy raises important questions about how AI systems, particularly language models, interpret and act on such reports. As we move into 2026, with AI increasingly integrated into formal methods and interactive theorem proving, understanding these dynamics is critical for building trustworthy systems.


This study investigates how language models respond to false Lean 4 reports. We focus on two key aspects: the initial decision to keep, revise, or reject a candidate proof, and the correctness of the final submitted proof. By analyzing these separately, we aim to uncover patterns in model behavior under misleading information.


2. Methodology


2.1 Experimental Setup


We constructed 14 pairs of elementary Lean 4 statements, each paired with a candidate proof. Seven model deployments were tested, including variants of Claude (Opus, Haiku, Sonnet) and four additional deployments. Each model received a statement, a candidate proof, and a report (either accurate or fabricated). The model then chose to keep, revise, or reject the candidate proof.


2.2 Metrics


We measured two primary outcomes:

  • Initial Decision: Whether the model kept, revised, or rejected the candidate proof.
  • Final Correctness: Whether the final submitted proof was valid according to Lean 4.

3. Results


3.1 Response to Fabricated Errors


In the original Claude batch, fabricated errors drastically reduced correct keeps of working proofs from 40/42 to 2/41. This indicates that models are highly susceptible to false error reports, often abandoning valid proofs.


3.2 Rejection of False Statements


False statements were rejected in 37/42 responses without reports and 35/41 under fabricated successes. While the rejection rates are similar, the study notes that this does not establish equivalence between the two conditions.


3.3 Revision Behavior


For true statements with insufficient proofs, fabricated successes reduced correct revisions from 18/26 to 5/26 for Opus and Haiku. In contrast, Sonnet revised 11/13 with a larger output budget, suggesting that model architecture and resource allocation influence resilience to misleading reports.


3.4 Discrepancy Between Initial Decisions and Final Correctness


Initial decisions did not always predict final correctness. In a later Opus and Haiku batch, valid final proofs of general statements fell from 28/28 to 20/28 under fabricated errors. Additionally, six responses to closed statements recovered from an initial rejection, indicating that models can sometimes correct their course.


3.5 Baseline Competence


Four additional deployments showed differing baseline competence, highlighting variability across models and the need for comprehensive evaluation.


4. Discussion


These results underscore the importance of reporting both initial decisions and final submissions when evaluating language models in proof assistant contexts. The findings do not isolate checking difficulty or establish reliability in interactive proof workflows. However, they reveal significant vulnerabilities to false reports, which could have implications for AI-assisted formal verification.


As we look toward 2026, where AI systems are expected to play larger roles in mathematical reasoning and software verification, addressing these vulnerabilities becomes paramount. Future work should explore mitigation strategies, such as training models to question interface reports or cross-validate with multiple proof assistants.


5. Conclusion


Language models are susceptible to false Lean 4 reports, often leading to incorrect decisions and suboptimal final proofs. By separating initial decisions from final correctness, we gain a nuanced understanding of model behavior. These insights can inform the design of more robust AI systems for formal verification.


Data and Code Availability


Code and retained experiment records are available at https://github.com/yugeshsarikonda/mathai-false-lean-reports.


References





This article is a cleaned and enhanced version of the arXiv abstract. For full details, please refer to the original paper.

via ArXiv AI

Related