Lemmanaid: Neuro-Symbolic Lemma Conjecturing

📅 2025-04-07
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
Automated lemma conjecturing in formal mathematics faces a fundamental trade-off among novelty, utility, and verifiability. Method: This paper introduces the first neuro-symbolic framework: a fine-tuned large language model (LLM) generates generalizable lemma templates, which are then instantiated, constraint-solved, and formally verified by the Isabelle/HOL symbolic engine. The framework establishes a novel “templated division of labor” paradigm, synergistically combining the LLM’s creative generalization with symbolic reasoning’s logical precision. Contribution/Results: Evaluated across diverse Isabelle proof corpora, our approach substantially outperforms both end-to-end LLMs and traditional symbolic lemma generators. It successfully produces domain-diverse, formally verified, and reusable lemmas—enhancing proof automation, lowering barriers to formalization, and accelerating theory development in interactive theorem proving.

Technology Category

Application Category

📝 Abstract
Automatically conjecturing useful, interesting and novel lemmas would greatly improve automated reasoning tools and lower the bar for formalizing mathematics in proof assistants. It is however a very challenging task for both neural and symbolic approaches. We present the first steps towards a practical neuro-symbolic lemma conjecturing tool, Lemmanaid, that combines Large Language Models (LLMs) and symbolic methods, and evaluate it on proof libraries for the Isabelle proof assistant. We train an LLM to generate lemma templates that describe the shape of a lemma, and use symbolic methods to fill in the details. We compare Lemmanaid against an LLM trained to generate complete lemma statements as well as previous fully symbolic conjecturing methods. Our results indicate that neural and symbolic techniques are complementary. By leveraging the best of both symbolic and neural methods we can generate useful lemmas for a wide range of input domains, facilitating computer-assisted theory development and formalization.
Problem

Research questions and friction points this paper is trying to address.

Automated lemma generation for proof assistants
Combining neural and symbolic methods effectively
Enhancing computer-assisted theory development
Innovation

Methods, ideas, or system contributions that make the work stand out.

Combines LLMs and symbolic methods
Generates lemma templates with LLMs
Fills details using symbolic techniques
🔎 Similar Papers
No similar papers found.
Y
Yousef Alhessi
Department of Computer Science and Engineering, University of California, San Diego, USA
Emily First
Emily First
University of Massachusetts Amherst
Computer ScienceSoftware Engineering
Sorin Lerner
Sorin Lerner
UC San Diego
S
S'olr'un Halla Einarsd'ottir
Department of Computer Science and Engineering, Chalmers University of Technology & University of Gothenburg, Gothenburg, Sweden
G
George Granberry
Department of Computer Science and Engineering, Chalmers University of Technology & University of Gothenburg, Gothenburg, Sweden
Moa Johansson
Moa Johansson
Associate Professor (Docent), Chalmers University
Neuro-symbolic AIAI for mathsAutomated ReasoningAI in SportsNLP
Nicholas Smallbone
Nicholas Smallbone
Chalmers University of Technology