Logo image
Irrelevance, Heterogeneous Equality, and Call-by-value Dependent Type Systems
Conference proceeding   Open access

Irrelevance, Heterogeneous Equality, and Call-by-value Dependent Type Systems

Vilhelm Sjöberg, Chris Casinghino, Ki Yung Ahn, Nathan Collins, Harley D Eades III, Peng Fu, Garrin Kimmell, Tim Sheard, Aaron Stump and Stephanie Weirich
Proceedings Fourth Workshop on Mathematically Structured Functional Programming , pp.112-162
Electronic Proceedings in Theoretical Computer Science (EPTCS), 76
02/13/2012
DOI: 10.4204/EPTCS.76.9
url
https://doi.org/10.4204/EPTCS.76.9View
Published (Version of record) Open Access

Abstract

We present a full-spectrum dependently typed core language which includes both nontermination and computational irrelevance (a.k.a. erasure), a combination which has not been studied before. The two features interact: to protect type safety we must be careful to only erase terminating expressions. Our language design is strongly influenced by the choice of CBV evaluation, and by our novel treatment of propositional equality which has a heterogeneous, completely erased elimination form.
Computer Science - Programming Languages

Details

Logo image