Abstract
Dependently typed programming languages provide a mechanism for integrating verification and programming by encoding invariants as types. Traditionally, dependently typed languages have been based on constructive type theories, where the connection between proofs and programs is based on the Curry-Howard correspondence. This connection comes at a price, however, as it is necessary for the languages to be normalizing to preserve logical soundness. Trellys is a call-by-value dependently typed programming language currently in development that is designed to integrate a type theory with unsound programming features, such as general recursion, Type:Type, and arbitrary data types. In this paper we outline one core language design for Trellys, and demonstrate the use of the key language constructs to facilitate sound reasoning about potentially diverging programs.
Original language | English (US) |
---|---|
Pages (from-to) | 19-46 |
Number of pages | 28 |
Journal | Progress in Informatics |
Issue number | 10 |
DOIs | |
State | Published - Mar 2013 |
Externally published | Yes |
Keywords
- Design
- Languages
- Theory
- Verification
ASJC Scopus subject areas
- Computer Science(all)
- Library and Information Sciences