Proceedings

Large Lemma Miners: Can LLMs Do Induction Proofs for Hardware?

Download BibTeX Cite

Proceedings of the Thirty-Fifth International Joint Conference on Artificial Intelligence. Main Track. Pages 3988-3998.

https://doi.org/10.24963/ijcai.2026/444

Abstract

Large Language Models (LLMs) have shown potential for solving mathematical tasks.

We show that LLMs can be utilized to generate proofs by induction for hardware verification and thereby replace some of the manual work %alleviating some of the manual effort

done by Formal Verification engineers and deliver value to industry.

We present a neurosymbolic approach that includes two prompting frameworks to generate candidate invariants, which are checked using a formal symbolic tool.

Our results indicate that with sufficient reprompting, LLMs are able to generate inductive arguments for mid-size open-source RTL designs. For

90% of our problem set, at least one of the prompt setups succeeded in producing a provably correct inductive argument.

  1. [Alfarano et al., 2024] Alberto Alfarano, Franc ¸ois Charton, and Amaury Hayat. Global Lyapunov functions: A long- standing open problem in mathematics, with symbolic trans- formers. In NeurIPS, 2024.
  2. [Babei et al., 2025] Angelica Babei, Franc ¸ois Charton, Edgar Costa, Xiaoyu Huang, Kyu-Hwan Lee, David Lowry-Duda, Ashvni Narayanan, and Alexey Pozdnyakov. Learning Euler factors of elliptic curves. CoRR, 2502.10357, 2025.
  3. [Biere et al., 2003] Armin Biere, Alessandro Cimatti, Ed- mund M. Clarke, Ofer Strichman, and Yunshan Zhu. Bounded model checking. Adv. Comput., 2003.
  4. [Biere et al., 2024] Armin Biere, Nils Froleyks, and Math- ias Preiner. Hardware model checking competition 2024. In Formal Methods in Computer-Aided Design, FMCAD. IEEE, 2024. [Circuitcove.com, 2026] Circuitcove.com. https://circuitcove. com/, 2026. Link
  5. [Clark et al., 2020] Peter Clark, Oyvind Tafjord, and Kyle Richardson. Transformers as soft reasoners over language. In IJCAI, 2020. IJCAI
  6. [Clarke et al., 2018] Edmund M. Clarke, Orna Grumberg, Daniel Kroening, Doron A. Peled, and Helmut Veith. Model checking, 2nd Edition. MIT Press, 2018.
  7. [Davies et al., 2021] Alex Davies, Petar Velickovic, Lars Buesing, Sam Blackwell, Daniel Zheng, Nenad Toma- sev, Richard Tanburn, Peter W. Battaglia, Charles Blun- dell, András Juhász, Marc Lackenby, Geordie Williamson, Demis Hassabis, and Pushmeet Kohli. Advancing mathe- matics by guiding human intuition with AI. Nat., 2021.
  8. [Fan et al., 2025] Fanghao Fan, Yingjie Xia, and Li Kuang. SecV: LLM-based secure Verilog generation with clue- guided exploration on hardware-CWE knowledge graph. In International Joint Conference on Artificial Intelligence, IJCAI, pages 8049-8057, 2025.
  9. [Farquhar et al., 2024] Sebastian Farquhar, Jannik Kossen, Lorenz Kuhn, and Yarin Gal. Detecting hallucinations in large language models using semantic entropy. Nat., 2024.
  10. [Fawzi et al., 2022] Alhussein Fawzi, Matej Balog, Aja Huang, Thomas Hubert, Bernardino Romera-Paredes, Mo- hammadamin Barekatain, Alexander Novikov, Francisco J. R. Ruiz, Julian Schrittwieser, Grzegorz Swirszcz, David Silver, Demis Hassabis, and Pushmeet Kohli. Discovering faster matrix multiplication algorithms with reinforcement learning. Nat., 2022.
  11. [Flanagan et al., 2001] Cormac Flanagan, Rajeev Joshi, and K. Rustan M. Leino. Annotation inference for modular checkers. Inf. Process. Lett., 2001.
  12. [Giacobbe et al., 2024] Mirco Giacobbe, Daniel Kroening, Abhinandan Pal, and Michael Tautschnig. Neural model checking. In NeurIPS, 2024.
  13. [Giacobbe et al., 2025] Mirco Giacobbe, Daniel Kroening, Abhinandan Pal, and Michael Tautschnig. Let a neural network be your invariant. In NeurIPS, 2025.
  14. [He et al., 2023] Yang-Hui He, Kyu-Hwan Lee, and Thomas Oliver. Machine learning invariants of arithmetic curves. J. Symb. Comput., 2023.
  15. [Huang and Chang, 2023] Jie Huang and Kevin Chen-Chuan Chang. Towards reasoning in large language models: A survey. In ACL, 2023.
  16. [Irfan et al., 2016] Ahmed Irfan, Alessandro Cimatti, Alberto Griggio, Marco Roveri, and Roberto Sebastiani. Ver- ilog2SMV: A tool for word-level verification. In 2016 Design, Automation & Test in Europe Conference & Exhi- bition, DATE 2016, pages 1156-1159. IEEE, 2016.
  17. [Ivrii and Vizel, 2024] Alexander Ivrii and Yakir Vizel. Bit- level model checking. In Handbook of Computer Architec- ture. Springer, 2024.
  18. [Ivrii et al., 2014] Alexander Ivrii, Arie Gurfinkel, and Anton Belov. Small inductive safe invariants. In 2014 Formal Methods in Computer-Aided Design (FMCAD), 2014.
  19. [Jain et al., 2007] Himanshu Jain, Daniel Kroening, Natasha Sharygina, and Edmund M. Clarke. VCEGAR: Verilog counterexample guided abstraction refinement. In TACAS. Springer, 2007.
  20. [Janßen et al., 2024] Christian Janßen, Cedric Richter, and Heike Wehrheim. Can ChatGPT support software verifica- tion? In FASE, 2024.
  21. [Jiang et al., 2023] Albert Qiaochu Jiang, Sean Welleck, Jin Peng Zhou, Timothée Lacroix, Jiacheng Liu, Wenda Li, Mateja Jamnik, Guillaume Lample, and Yuhuai Wu. Draft, sketch, and prove: Guiding formal theorem provers with informal proofs. In ICLR. OpenReview.net, 2023.
  22. [Kamath et al., 2023] Adharsh Kamath, Aditya Senthilnathan, Saikat Chakraborty, Pantazis Deli- giannis, Shuvendu K. Lahiri, Akash Lal, Aseem Rastogi, Subhajit Roy, and Rahul Sharma. Finding inductive loop invariants using large language models. CoRR, 2311.07948, 2023.
  23. [Kande et al., 2024] Rahul Kande, Hammond Pearce, Ben- jamin Tan, Brendan Dolan-Gavitt, Shailja Thakur, Ramesh Karri, and Jeyavijayan Rajendran. (Security) assertions by large language models. IEEE Trans. Inf. Forensics Secur., 2024.
  24. [Kang et al., 2025] Minwoo Kang, Mingjie Liu, Ghaith Bany Hamad, Syed M. Suhaib, and Haoxing Ren. FVEval: Un- derstanding language model capabilities in formal verifica- tion of digital hardware. In Design, Automation & Test in Europe Conference, DATE, 2025.
  25. [Kossen et al., 2024] Jannik Kossen, Jiatong Han, Muhammed Razzak, Lisa Schut, Shreshth A. Malik, and Yarin Gal. Semantic entropy probes: Robust and cheap hallucination detection in LLMs. CoRR, 2406.15927, 2024.
  26. [Krishnan et al., 2019] Hari Govind Vediramana Krishnan, Yakir Vizel, Vijay Ganesh, and Arie Gurfinkel. Interpolat- ing strong induction. In Computer Aided Verification, CAV. Springer, 2019.
  27. [Lin et al., 2025] Haohan Lin, Zhiqing Sun, Sean Welleck, and Yiming Yang. Lean-STaR: Learning to interleave think- ing and proving. In ICLR, 2025.
  28. [Microsoft, 2024] Microsoft. Loop invariant genera- tion with LLMs, 2024. https://github.com/microsoft/ loop-invariant-gen-experiments. Link
  29. [Mukherjee et al., 2015] Rajdeep Mukherjee, Daniel Kroen- ing, and Tom Melham. Hardware verification using soft- ware analyzers. In VLSI. IEEE, 2015.
  30. [Mukherjee et al., 2016] Rajdeep Mukherjee, Michael Tautschnig, and Daniel Kroening. v2c -A Verilog to C translator. In TACAS. Springer, 2016.
  31. [Orenes-Vera et al., 2023] Marcelo Orenes-Vera, Margaret Martonosi, and David Wentzlaff. Using LLMs to facil- itate formal verification of RTL. CoRR, 2309.09437, 2023.
  32. [Pan et al., 2024] Leyan Pan, Vijay Ganesh, Jacob D. Aber- nethy, Chris Esposo, and Wenke Lee. Can transformers rea- son logically? A study in SAT solving. CoRR, 2410.07432, 2024.
  33. [Peled et al., 2026a] Romy Peled, Daniel Kroening, Michael Tautschnig, and Yakir Vizel. Large lemma miners: Can LLMs do induction proofs for hardware? CoRR, 2511.02521, 2026.
  34. [Peled et al., 2026b] Romy Peled, Michael Tautschnig, Daniel Kroening, and Yakir Vizel. Large lemma miners. https://github.com/TechnionFV/large lemma miners, 2026. Link
  35. [Petrov et al., 2025] Ivo Petrov, Jasper Dekoninck, Lyuben Baltadzhiev, Maria Drencheva, Kristian Minchev, Mislav Balunovic, Nikola Jovanovic, and Martin T. Vechev. Proof or bluff? Evaluating LLMs on 2025 USA Math Olympiad. CoRR, 2503.21934, 2025.
  36. [Pozdnyakov, 2024] Alexey Pozdnyakov. Predicting root numbers with neural networks. Int. J. Data Sci. Math. Sci., 2024.
  37. [Qayyum et al., 2024] Khushboo Qayyum, Muhammad Has- san, Sallar Ahmadi-Pour, Chandan Kumar Jha, and Rolf Drechsler. Late breaking results: LLM-assisted automated incremental proof generation for hardware verification. In Design Automation Conference, DAC, 2024.
  38. [Reimers and Gurevych, 2019] Nils Reimers and Iryna Gurevych. Sentence-BERT: Sentence embeddings using Siamese BERT-networks. In EMNLP-IJCNLP, 2019.
  39. [Romera-Paredes et al., 2024] Bernardino Romera-Paredes, Mohammadamin Barekatain, Alexander Novikov, Matej Balog, M. Pawan Kumar, Emilien Dupont, Francisco J. R. Ruiz, Jordan S. Ellenberg, Pengming Wang, Omar Fawzi, Pushmeet Kohli, and Alhussein Fawzi. Mathematical dis- coveries from program search with large language models. Nat., 2024.
  40. [Sheeran et al., 2000] Mary Sheeran, Satnam Singh, and Gun- nar Stålmarck. Checking safety properties using induction and a SAT-solver. In FMCAD, 2000.
  41. [Su et al., 2025] Yuheng Su, Qiusong Yang, Yiwei Ci, Tian- jun Bu, and Ziyu Huang. The rIC3 hardware model checker. In Computer Aided Verification, CAV. Springer, 2025.
  42. [Sun et al., 2025] Chuyue Sun, Viraj Agashe, Saikat Chakraborty, Jubi Taneja, Clark W. Barrett, David L. Dill, Xiaokang Qiu, and Shuvendu K. Lahiri. ClassInvGen: Class invariant synthesis using large language models. CoRR, 2502.18917, 2025.
  43. [Tafjord et al., 2021] Oyvind Tafjord, Bhavana Dalvi, and Pe- ter Clark. ProofWriter: Generating implications, proofs, and abductive statements over natural language. In ACL/IJCNLP, 2021.
  44. [Thakur et al., 2024] Shailja Thakur, Baleegh Ahmad, Ham- mond Pearce, Benjamin Tan, Brendan Dolan-Gavitt, Ramesh Karri, and Siddharth Garg. VeriGen: A large language model for Verilog code generation. ACM Trans. Design Autom. Electr. Syst., 2024.
  45. [Vizel et al., 2015] Yakir Vizel, Georg Weissenbacher, and Sharad Malik. Boolean satisfiability solvers and their ap- plications in model checking. Proc. IEEE, 2015.
  46. [Wei et al., 2022] Jason Wei, Xuezhi Wang, Dale Schuur- mans, Maarten Bosma, Brian Ichter, Fei Xia, Ed H. Chi, Quoc V. Le, and Denny Zhou. Chain-of-thought prompting elicits reasoning in large language models. In NeurIPS, 2022.
  47. [Wu et al., 2024] Haoze Wu, Clark W. Barrett, and Nina Nar- odytska. Lemur: Integrating large language models in automated program verification. In ICLR. OpenReview.net, 2024.
  48. [Yan et al., 2025] Zhiyuan Yan, Wenji Fang, Mengming Li, Min Li, Shang Liu, Zhiyao Xie, and Hongce Zhang. As- sertLLM: Generating hardware verification assertions from design specifications via multi-LLMs. In ASPDAC, 2025.
  49. [Yang et al., 2024a] Aidan Z. H. Yang, Yoshiki Takashima, Brandon Paulsen, Josiah Dodds, and Daniel Kroening. VERT: verified equivalent Rust transpilation with few-shot learning. CoRR, 2404.18852, 2024.
  50. [Yang et al., 2024b] Kaiyu Yang, Gabriel Poesia, Jingxuan He, Wenda Li, Kristin Lauter, Swarat Chaudhuri, and Dawn Song. Formal mathematical reasoning: A new frontier in AI. CoRR, 2412.16075, 2024.
  51. [Yao et al., 2023] Jianan Yao, Ziqiao Zhou, Weiteng Chen, and Weidong Cui. Leveraging large language models for automated proof synthesis in Rust. CoRR, 2311.03739, 2023.
  52. [Zhang et al., 2025] Hanliang Zhang, Cristina David, Meng Wang, Brandon Paulsen, and Daniel Kroening. Scalable, validated code translation of entire projects using large language models. PLDI, 2025.
  53. [Zheng et al., 2025] Tong Zheng, Lichang Chen, Simeng Han, R. Thomas McCoy, and Heng Huang. Learning to reason via mixture-of-thought for logical reasoning. CoRR, 2505.15817, 2025.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards