License: Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported license (CC BY-NC-ND 3.0)
When quoting this document, please refer to the following
DOI: 10.4230/LIPIcs.ICLP.2010.294
URN: urn:nbn:de:0030-drops-26124
URL: http://dagstuhl.sunsite.rwth-aachen.de/volltexte/2010/2612/
Go to the corresponding LIPIcs Volume Portal


Snow, Zachary

Realizing the Dependently Typed Lambda Calculus

pdf-format:
10003.SnowZachary.2612.pdf (0.1 MB)


Abstract

Dependently typed lambda calculi such as the Edinburgh Logical Framework (LF) can encode relationships between terms in types and can naturally capture correspondences between formulas and their proofs. Such calculi can also be given a logic programming interpretation: the system is based on such an interpretation of LF. We have considered whether a conventional logic programming language can also provide the benefits of a Twelf-like system for encoding type and term dependencies through dependent typing, and whether it can do so in an efficient manner.

In particular, we have developed a simple mapping from LF specifications to a set of formulas in the higher-order hereditary Harrop (hohh) language, that relates derivations and proof-search between the two frameworks. We have shown that this encoding can be improved by exploiting knowledge of the well-formedness of the original LF specifications to elide much redundant type-checking information. The resulting logic program has a structure that closely follows the original specification, thereby allowing LF specifications to be viewed as meta-programs that generate hohh programs. We have proven that this mapping is correct, and, using the Teyjus implementation of lprolog, we have shown that our translation provides an efficient means for executing LF specifications, complementing the ability the Twelf system provides for reasoning about them. In addition, the translation offers new avenues for reasoning about such specifications, via reasoning over the generated hohh programs.

BibTeX - Entry

@InProceedings{snow:LIPIcs:2010:2612,
  author =	{Zachary Snow},
  title =	{{Realizing the Dependently Typed Lambda Calculus}},
  booktitle =	{Technical Communications of the 26th International Conference on Logic Programming},
  pages =	{294--299},
  series =	{Leibniz International Proceedings in Informatics (LIPIcs)},
  ISBN =	{978-3-939897-17-0},
  ISSN =	{1868-8969},
  year =	{2010},
  volume =	{7},
  editor =	{Manuel Hermenegildo and Torsten Schaub},
  publisher =	{Schloss Dagstuhl--Leibniz-Zentrum fuer Informatik},
  address =	{Dagstuhl, Germany},
  URL =		{http://drops.dagstuhl.de/opus/volltexte/2010/2612},
  URN =		{urn:nbn:de:0030-drops-26124},
  doi =		{10.4230/LIPIcs.ICLP.2010.294},
  annote =	{Keywords: Logical frameworks, logic programming}
}

Keywords: Logical frameworks, logic programming
Collection: Technical Communications of the 26th International Conference on Logic Programming
Issue Date: 2010
Date of publication: 25.06.2010


DROPS-Home | Fulltext Search | Imprint | Privacy Published by LZI