HackerPapers

arXiv:1905.09381cs.LO

Learning to Prove Theorems via Interacting with Proof Assistants

Kaiyu Yang, Jia Deng

Early discovery. Linked by one identifiable commenter. This paper is outside the main ranking; a mention is not an endorsement.

Abstract

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 https://github.com/princeton-vl/CoqGym.

arXiv comments
Accepted to ICML 2019
Journal reference
DOI
Subjects
cs.LOLogic in Computer Science cs.AIArtificial Intelligence cs.LGMachine Learning stat.MLMachine Learning (Statistics)

On Hacker News

Linked by 1 identifiable commenter in 1 comment across 1 thread, from Oct 2023 to Oct 2023. Found in 1 HN submission from Apr 2020 to Apr 2020. Open submission discussions.

Comments linking this paper, per year.

Discussed in comments1 thread

    • Sounds like you've stumbled into the wonderful world of machine-learning guided proof synthesis! While I don't think the full system you're describing has been built yet, many similar systems and pieces have. In terms of the initial phase of supervised learning on existing…

      aSanchezSternView on HNParent context

Submitted to Hacker News

Connected through shared HN threads, not inferred similarity or a recommendation.