Equational reasoning about programs with general recursion and call-by-value semantics
2012
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 others. 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 unsound programs.
Keywords:
- Very high-level programming language
- Type system
- Fourth-generation programming language
- Algorithm
- Programming language
- Computer science
- Second-generation programming language
- Comparison of multi-paradigm programming languages
- Fifth-generation programming language
- Programming language theory
- Third-generation programming language
- Functional logic programming
- Semantics (computer science)
- Strong and weak typing
- Theoretical computer science
- Correction
- Source
- Cite
- Save
- Machine Reading By IdeaReader
34
References
22
Citations
NaN
KQI