VSL 2014: VIENNA SUMMER OF LOGIC 2014

A Lambda Prolog Based Animation of Twelf Specifications

Authors: Gopalan Nadathur and Mary Southern

PapersPapers with AbstractsPrefaceAuthor IndexKeyword Index

Paper Information

Title:A Lambda Prolog Based Animation of Twelf Specifications
Authors:Gopalan Nadathur and Mary Southern
Proceedings:CICLOPS-WLPE 2014 Papers
Editors: Thomas Stroeder and Terrance Swift
Keywords:dependently typed lambda calculus, logic programming, simply typed lambda calculus, teyjus system, twelf
Abstract:

ABSTRACT. Specifications in the Twelf system are based on a logic programming interpretation of the Edinburgh Logical Framework or LF. We consider an approach to animating such specifications using a Prolog implementation. This approach is based on a lossy encoding of LF expressions by simply typed lambda calculus (STLC) terms and a subsequent encoding of the lost dependency information in predicates that are defined by suitable clauses. To use this idea in an actual implementation, it is necessary also to describe an inverse transformation from STLC terms into LF expressions. While such an inverse does not always exist, we show that it does in the restricted setting where the STLC terms are the outcome of derivations constructed from predicate clauses that result from translating Twelf specifications. Twelf also supports the possibility of computing with LF specications in which types may contain variables with existential force. We discuss the possibility of supporting such a capability in our translation based approach to animation.

Pages:15
Talk:Jul 17 11:15
Paper:
Disclaimer | Powered by EasyChair Smart Program