A Deep Reinforcement Learning Approach to First-Order Logic Theorem Proving

Maxwell Crouse, Ibrahim Abdelaziz, Bassem Makni, Spencer Whitehead, Cristina Cornelio +5 more
11/5/2019
cs.AIcs.LGcs.LO
rl

Official code: IBM/TRAIL (18 stars, Python, Apache-2.0, last commit 2025-09-17).

Abstract

Automated theorem provers have traditionally relied on manually tuned heuristics to guide how they perform proof search. Deep reinforcement learning has been proposed as a way to obviate the need for such heuristics, however, its deployment in automated theorem proving remains a challenge.

Show full abstract

In this paper we introduce TRAIL, a system that applies deep reinforcement learning to saturation-based theorem proving. TRAIL leverages (a) a novel neural representation of the state of a theorem prover and (b) a novel characterization of the inference selection process in terms of an attention-based action policy. We show through systematic analysis that these mechanisms allow TRAIL to significantly outperform previous reinforcement-learning-based theorem provers on two benchmark datasets for first-order logic automated theorem proving (proving around 15% more theorems).

View on arXivView PDF

Code Implementations(1)

IBM/TRAILOfficial100%
Apache-2.0

Trial Reasoner for AI that Learns

187Python, C1 years agoApache-2.0

Similar Papers

Cite this paper

@article{crouse2019deep,
  title  = {A Deep Reinforcement Learning Approach to First-Order Logic Theorem Proving},
  author = {Maxwell Crouse and Ibrahim Abdelaziz and Bassem Makni and Spencer Whitehead and Cristina Cornelio and Pavan Kapanipathi and Kavitha Srinivas and Veronika Thost and Michael Witbrock and Achille Fokoue},
  year   = {2019},
  eprint = {1911.02065},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1911.02065}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1911.02065.svg)](https://codeofpaper.com/paper/1911.02065)

Discussion