Learning Rules Explaining Interactive Theorem Proving Tactic Prediction

Liao Zhang, David M. Cerna, Cezary Kaliszyk
11/2/2024
cs.LOcs.AIcs.LG

No official code found. Best implementation: Zhang-Liao/ilp_coq (1 star, last commit 2024-12-03).

Abstract

Formally verifying the correctness of mathematical proofs is more accessible than ever, however, the learning curve remains steep for many of the state-of-the-art interactive theorem provers (ITP). Deriving the most appropriate subsequent proof step, and reasoning about it, given the multitude of possibilities, remains a daunting task for novice users. To improve the situation, several investigations have developed machine learning based guidance for tactic selection. Such approaches struggle to learn non-trivial relationships between the chosen tactic and the structure of the proof state and represent them as symbolic expressions. To address these issues we (i) We represent the problem as an Inductive Logic Programming (ILP) task, (ii) Using the ILP representation we enriched the feature space by encoding additional, computationally expensive properties as background knowledge predicates, (iii) We use this enriched feature space to learn rules explaining when a tactic is applicable to a given proof state, (iv) we use the learned rules to filter the output of an existing tactic selection approach and empirically show improvement over the non-filtering approaches.

View on arXivView PDF

Code Implementations(1)

Zhang-Liao/ilp_coqCommunity100%
10Dune, OCamlJul 1, 20241 years ago

Similar Papers

Cite this paper

@article{zhang2024learning,
  title  = {Learning Rules Explaining Interactive Theorem Proving Tactic Prediction},
  author = {Liao Zhang and David M. Cerna and Cezary Kaliszyk},
  year   = {2024},
  eprint = {2411.01188},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2411.01188v1}
}

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/2411.01188.svg)](https://codeofpaper.com/paper/2411.01188)

Discussion