Proof-relevant Horn clauses for dependent type inference and term synthesis

From MaRDI portal
Publication:4559809

DOI10.1017/S1471068418000212zbMATH Open1451.68323arXiv1804.11250OpenAlexW2964059082WikidataQ129410361 ScholiaQ129410361MaRDI QIDQ4559809FDOQ4559809


Authors: František Farka, Ekaterina Komendantskya, Kevin Hammond Edit this on Wikidata


Publication date: 4 December 2018

Published in: Theory and Practice of Logic Programming (Search for Journal in Brave)

Abstract: First-order resolution has been used for type inference for many years, including in Hindley- Milner type inference, type-classes, and constrained data types. Dependent types are a new trend in functional languages. In this paper, we show that proof-relevant first-order resolution can play an important role in automating type inference and term synthesis for dependently typed languages. We propose a calculus that translates type inference and term synthesis problems in a dependently typed language to a logic program and a goal in the proof-relevant first-order Horn clause logic. The computed answer substitution and proof term then provide a solution to the given type inference and term synthesis problem. We prove the decidability and soundness of our method. The paper is under consideration for acceptance in TPLP.


Full work available at URL: https://arxiv.org/abs/1804.11250




Recommendations




Cites Work


Cited In (3)

Uses Software





This page was built for publication: Proof-relevant Horn clauses for dependent type inference and term synthesis

Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q4559809)