Logo image
Equational reasoning about programs with general recursion and call-by-value semantics
Journal article   Open access

Equational reasoning about programs with general recursion and call-by-value semantics

Garrin Kimmell, Aaron Stump, Harley D. Eades, Peng FU, Tim Sheard, Stephanie Weirich, Chris Casinghino, Vilhelm Sjoberg, Nathan Collins and Ki YUNG AHN
Progress in informatics, Vol.10, pp.19-46
03/2013
DOI: 10.2201/NiiPi.2013.10.3
url
https://doi.org/10.2201/NiiPi.2013.10.3View
Published (Version of record) Open Access

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.

Details

Metrics

16 Record Views
Logo image