Learning Structure-Aware Representations of Dependent Types

Konstantinos Kogkalidis, Orestis Melkonian, Jean-Philippe Bernardy
2/3/2024
cs.LGcs.PL

No official code found. Best implementation: konstantinosKokos/quill (6 stars, last commit 2025-01-09).

Abstract

Agda is a dependently-typed programming language and a proof assistant, pivotal in proof formalization and programming language theory. This paper extends the Agda ecosystem into machine learning territory, and, vice versa, makes Agda-related resources available to machine learning practitioners. We introduce and release a novel dataset of Agda program-proofs that is elaborate and extensive enough to support various machine learning applications -- the first of its kind. Leveraging the dataset's ultra-high resolution, which details proof states at the sub-type level, we propose a novel neural architecture targeted at faithfully representing dependently-typed programs on the basis of structural rather than nominal principles. We instantiate and evaluate our architecture in a premise selection setup, where it achieves promising initial results, surpassing strong baselines.

View on arXivView PDF

Code Implementations(1)

🪶 Neural premise selection for Agda.

61PythonMar 24, 20231 years ago
agdaautomated-theorem-provingneurips-2024neurosymbolicpremise-selection+1 more

Similar Papers

Cite this paper

@article{kogkalidis2024learning,
  title  = {Learning Structure-Aware Representations of Dependent Types},
  author = {Konstantinos Kogkalidis and Orestis Melkonian and Jean-Philippe Bernardy},
  year   = {2024},
  eprint = {2402.02104},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2402.02104},
  url    = {http://arxiv.org/abs/2402.02104v2},
  journal = {NEURIPS 2024 2024}
}

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

Discussion