mlsanityData to 14 Oct 2026

Learning to Disprove: Formal Counterexample Generation with Large Language Models

arXiv 2603.19514 ↗First posted 19 Mar 2026cs.AIcited by 5

On the map: LLM reasoning → Mathematical reasoning

Abstract (arXiv)

Mathematical reasoning demands two critical, complementary skills: constructing rigorous proofs for true statements and discovering counterexamples that disprove false ones. However, current AI efforts in mathematics focus almost exclusively on proof construction, often neglecting the equally important task of finding counterexamples. In this paper, we address this gap by fine-tuning large language models (LLMs) to reason about and generate counterexamples. We formalize this task as formal counterexample generation, which requires LLMs not only to propose candidate counterexamples but also to produce formal proofs that can be automatically verified in the Lean 4 theorem prover. To enable effective learning, we introduce a symbolic mutation strategy that constructs candidate counterexample-generation tasks by systematically extracting theorems and removing selected hypotheses. Together with curated datasets, this strategy enables a multi-reward expert iteration framework that substantially enhances both the effectiveness and efficiency of training LLMs for counterexample generation and theorem proving. Experiments on three newly collected benchmarks validate the advantages of our approach, showing that the mutation strategy and training framework yield substantial performance gains.

Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Placed in Mathematical reasoning, one of 17 directions in LLM reasoning. Builds on 55 of its 81 references that are in the map. First posted on arXiv 19 Mar 2026.

Builds on

55 of 81 references.

Closest ancestors · 17

Same direction, newest first

  1. 2025Lean Meets Theoretical Computer Science: Scalable Synthesis of Theorem Proving Challenges in Formal-Informal Pairs21 Aug
  2. 2025Thinking Machines: Mathematical Reasoning in the Age of LLMs1 Aug
  3. 2025Seed-Prover: Deep and Broad Reasoning for Automated Theorem Proving31 Jul
  4. 2025Leanabell-Prover-V2: Verifier-integrated Reasoning for Formal Theorem Proving via Reinforcement Learning11 Jul
  5. 2025Reviving DSP for Advanced Theorem Proving in the Era of Reasoning Models13 Jun
  6. 2025FormalMATH: Benchmarking Formal Mathematical Reasoning of Large Language Models5 May
  7. 2025DeepSeek-Prover-V2: Advancing Formal Mathematical Reasoning via Reinforcement Learning for Subgoal Decomposition30 Apr
  8. 2025Kimina-Prover Preview: Towards Large Formal Reasoning Models with Reinforcement Learning15 Apr
  9. 2025MathConstruct: Challenging LLM Reasoning with Constructive Proofs14 Feb
  10. 2025One Example Shown, Many Concepts Known! Counterexample-Driven Conceptual Reasoning in Mathematical LLMs12 Feb
  11. 2025STP: Self-play LLM Theorem Provers with Iterative Conjecturing and Proving31 Jan
  12. 2024Formal Mathematical Reasoning: A New Frontier in AI20 Dec
5 more
  1. 2024Skywork-Math: Data Scaling Laws for Mathematical Reasoning in Large Language Models -- The Story Goes On11 Jul
  2. 2024LeanReasoner: Boosting Complex Logical Reasoning with Lean20 Mar
  3. 2024MUSTARD: Mastering Uniform Synthesis of Theorem and Proof Data14 Feb
  4. 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models5 Feb
  5. 2024Large Language Models for Mathematical Reasoning: Progresses and Challenges31 Jan

Other references · 38

  1. 2014Adam: A Method for Stochastic Optimizationcited by 37,240
  2. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
  3. 2025Gemini 2.5: Pushing the Frontier with Advanced Reasoning, Multimodality, Long Context, and Next Generation Agentic Capabilitiescited by 3,796
  4. 2024LlamaFactory: Unified Efficient Fine-Tuning of 100+ Language Modelscited by 1,464
  5. 2025Understanding R1-Zero-Like Training: A Critical Perspectivecited by 1,345
  6. 2025s1: Simple test-time scalingcited by 1,341
  7. 2025AlphaEvolve: A coding agent for scientific and algorithmic discoverycited by 867
  8. 2023MetaMath: Bootstrap Your Own Mathematical Questions for Large Language Modelscited by 735
  9. 2024LESS: Selecting Influential Data for Targeted Instruction Tuningcited by 532
  10. 2023LeanDojo: Theorem Proving with Retrieval-Augmented Language Modelscited by 427
  11. 2021MiniF2F: a cross-system benchmark for formal Olympiad-level mathematicscited by 391
  12. 2025Towards Reasoning Era: A Survey of Long Chain-of-Thought for Reasoning Large Language Modelscited by 384
26 more
  1. 2022Draft, Sketch, and Prove: Guiding Formal Theorem Provers with Informal Proofscited by 291
  2. 2022Autoformalization with Large Language Modelscited by 263
  3. 2017Thinking Fast and Slow with Deep Learning and Tree Searchcited by 252
  4. 2024DeepSeek-Prover: Advancing Theorem Proving in LLMs through Large-Scale Synthetic Datacited by 234
  5. 2022HyperTree Proof Search for Neural Theorem Provingcited by 197
  6. 2025A Survey of Reinforcement Learning for Large Reasoning Modelscited by 180
  7. 2018Learning by Playing - Solving Sparse Reward Tasks from Scratchcited by 167
  8. 2024PutnamBench: Evaluating Neural Theorem-Provers on the Putnam Mathematical Competitioncited by 165
  9. 2025Goedel-Prover-V2: Scaling Formal Theorem Proving with Scaffolded Data Synthesis and Self-Correctioncited by 154
  10. 2022Formal Mathematics Statement Curriculum Learningcited by 142
  11. 2019The Lean mathematical librarycited by 134
  12. 2025Goedel-Prover: A Frontier Model for Open-Source Automated Theorem Provingcited by 133
  13. 2024Lean Workbook: A large-scale Lean problem set formalized from natural language math problemscited by 122
  14. 2023LEGO-Prover: Neural Theorem Proving with Growing Librariescited by 109
  15. 2024A Survey on Deep Learning for Theorem Provingcited by 57
  16. 2021Constructions in combinatorics via neural networkscited by 48
  17. 2024Learning Formal Mathematics From Intrinsic Motivationcited by 45
  18. 2020Learning to Prove Theorems by Learning to Generate Theoremscited by 43
  19. 2019Dealing with Sparse Rewards in Reinforcement Learningcited by 42
  20. 2024A Survey on Data Synthesis and Augmentation for Large Language Modelscited by 41
  21. 2024PatternBoost: Constructions in Mathematics with a Little Help from AIcited by 34
  22. 2024Proving Olympiad Algebraic Inequalities without Human Demonstrationscited by 20
  23. 2022Refutation of Spectral Graph Theory Conjectures with Monte Carlo Searchcited by 4
  24. 2024Alchemy: Amplifying Theorem-Proving Capability through Symbolic Mutationcited by 4
  25. 2025Generating Millions Of Lean Theorems With Proofs By Exploring State Transition Graphscited by 3
  26. 2023Adaptive Monte Carlo Search for Conjecture Refutation in Graph Theorycited by 1

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 5.

5 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024Formal Theorem Proving by Rewarding LLMs to Decompose Proofs Hierarchically
  2. 2026AdvancedMathBench: A Benchmark Suite for Advanced Mathematical Proof Generation and Verification
  3. 2025Spark-Prover-X1: Formal Theorem Proving Through Diverse Data Training
  4. 2025Scaling Generative Verifiers For Natural Language Mathematical Proof Verification And Selection
  5. 2026LiveMathematicianBench: A Live Benchmark for Research-Level Mathematical Reasoning with Proof Sketches
  6. 2025ProofCompass: Enhancing Specialized Provers with LLM Guidance
  7. 2025DeepTheorem: Advancing LLM Reasoning for Theorem Proving Through Natural Language and Reinforcement Learning
  8. 2023math-PVS: A Large Language Model Framework to Map Scientific Publications to PVS Theories