LeanConjecturer: Automatic Generation of Mathematical Conjectures for Theorem Proving

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Onda, Naoto, Kasaura, Kazumi, Oriike, Yuta, Taniguchi, Masaya, Sannai, Akiyoshi, Sonoda, Sho
Format: Preprint
Publié: 2025
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866915361426767872
author Onda, Naoto
Kasaura, Kazumi
Oriike, Yuta
Taniguchi, Masaya
Sannai, Akiyoshi
Sonoda, Sho
author_facet Onda, Naoto
Kasaura, Kazumi
Oriike, Yuta
Taniguchi, Masaya
Sannai, Akiyoshi
Sonoda, Sho
contents We introduce LeanConjecturer, a pipeline for automatically generating university-level mathematical conjectures in Lean 4 using Large Language Models (LLMs). Our hybrid approach combines rule-based context extraction with LLM-based theorem statement generation, addressing the data scarcity challenge in formal theorem proving. Through iterative generation and evaluation, LeanConjecturer produced 12,289 conjectures from 40 Mathlib seed files, with 3,776 identified as syntactically valid and non-trivial, that is, cannot be proven by \texttt{aesop} tactic. We demonstrate the utility of these generated conjectures for reinforcement learning through Group Relative Policy Optimization (GRPO), showing that targeted training on domain-specific conjectures can enhance theorem proving capabilities. Our approach generates 103.25 novel conjectures per seed file on average, providing a scalable solution for creating training data for theorem proving systems. Our system successfully verified several non-trivial theorems in topology, including properties of semi-open, alpha-open, and pre-open sets, demonstrating its potential for mathematical discovery beyond simple variations of existing results.
format Preprint
id arxiv_https___arxiv_org_abs_2506_22005
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle LeanConjecturer: Automatic Generation of Mathematical Conjectures for Theorem Proving
Onda, Naoto
Kasaura, Kazumi
Oriike, Yuta
Taniguchi, Masaya
Sannai, Akiyoshi
Sonoda, Sho
Artificial Intelligence
We introduce LeanConjecturer, a pipeline for automatically generating university-level mathematical conjectures in Lean 4 using Large Language Models (LLMs). Our hybrid approach combines rule-based context extraction with LLM-based theorem statement generation, addressing the data scarcity challenge in formal theorem proving. Through iterative generation and evaluation, LeanConjecturer produced 12,289 conjectures from 40 Mathlib seed files, with 3,776 identified as syntactically valid and non-trivial, that is, cannot be proven by \texttt{aesop} tactic. We demonstrate the utility of these generated conjectures for reinforcement learning through Group Relative Policy Optimization (GRPO), showing that targeted training on domain-specific conjectures can enhance theorem proving capabilities. Our approach generates 103.25 novel conjectures per seed file on average, providing a scalable solution for creating training data for theorem proving systems. Our system successfully verified several non-trivial theorems in topology, including properties of semi-open, alpha-open, and pre-open sets, demonstrating its potential for mathematical discovery beyond simple variations of existing results.
title LeanConjecturer: Automatic Generation of Mathematical Conjectures for Theorem Proving
topic Artificial Intelligence
url https://arxiv.org/abs/2506.22005