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.
Author supplied keywords
Cite
CITATION STYLE
Farka, F., Komendantskya, E., & Hammond, K. (2018). Proof-relevant Horn Clauses for Dependent Type Inference and Term Synthesis. In Theory and Practice of Logic Programming (Vol. 18, pp. 484–501). Cambridge University Press. https://doi.org/10.1017/S1471068418000212
Register to see more suggestions
Mendeley helps you to discover research relevant for your work.