Learning to Prove Theorems via Interacting with Proof Assistants

By Kaiyu Yang, Jia Deng. 2019

190 citations recorded by the source corpus.

Humans prove theorems by relying on substantial high-level reasoning and problem-specific insights. Proof assistants offer a formalism that resembles human mathematical reasoning, representing theorems in higher-order logic and proofs as high-level tactics. However, human experts have to construct proofs manually by entering tactics into the proof assistant. In this paper, we study the problem of using machine learning to automate the interaction with proof assistants. We construct CoqGym, a large-scale dataset and learning environment containing 71K human-written proofs from 123 projects developed with the Coq proof assistant. We develop ASTactic, a deep learning-based model that generates tactics as programs in the form of abstract syntax trees (ASTs). Experiments show that ASTactic trained on CoqGym can generate effective tactics and can be used to prove new theorems not previously provable by automated methods. Code is available at this https URL.

Subfields: Artificial Intelligence, Information Systems, Software, Reinforcement Learning

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Mohit Bansal
  2. Yejin Choi
  3. Luke S. Zettlemoyer
  4. Percy Liang
  5. Hannaneh Hajishirzi
  6. Kyunghyun Cho
  7. Quoc V. Le
  8. Yoshua Bengio

In Information Systems

  1. Markus Norman Rabe
  2. Stanislas Polu
  3. Mingzhe Wang
  4. Yuhuai Wu
  5. Sean Welleck
  6. Wenda Li
  7. Christian Szegedy
  8. Jia Deng

In Software

  1. Markus Norman Rabe
  2. Christian Szegedy
  3. Kshitij Bansal
  4. Stanislas Polu
  5. Ilya Sutskever
  6. Mingzhe Wang
  7. Dennis Lee
  8. Josh Tenenbaum

In Reinforcement Learning

  1. Markus Norman Rabe
  2. Christian Szegedy
  3. Sergey Levine
  4. Josh Tenenbaum
  5. Kshitij Bansal
  6. Stanislas Polu
  7. Roger Baker Grosse
  8. Jimmy Ba

Citations in the corpus