Projects per year
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.
Original language | English |
---|---|
Pages (from-to) | 484-501 |
Journal | Theory and Practice of Logic Programming |
Volume | 18 |
Issue number | 3-4 |
Early online date | 10 Aug 2018 |
DOIs | |
Publication status | Published - 2018 |
Event | 34th International Conference on Logic Programming (ICLP 2018) - Oxford, United Kingdom Duration: 14 Jul 2018 → 17 Jul 2018 Conference number: 34 https://www.cs.nmsu.edu/ALP/iclp2018/ |
Keywords
- Proof-relevant logic
- Horn clauses
- Dependent types
- Type Inference
- Proof-relevant resolution
Fingerprint
Dive into the research topics of 'Proof-relevant Horn clauses for dependent type inference and term synthesis'. Together they form a unique fingerprint.Projects
- 2 Finished
-
Discovery: Pattern Discovery and Program: Discovery: Pattern Discovery and Program Shaping for Manycore Systems
Thomson, J. D. (PI), Hammond, K. (CoI) & Sarkar, S. (CoI)
1/07/17 → 31/12/20
Project: Standard
-
H2020 Collaboration REPHRASE: H2020 Collaboration 2014 - RePhrase
Hammond, K. (PI)
1/04/15 → 31/03/18
Project: Standard
Datasets
-
Slepice
Farka, F. (Creator), Komendantskya, E. (Creator) & Hammond, K. (Creator), GitHub, 17 Apr 2018
https://github.com/frantisekfarka/slepice
Dataset