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.
|Original language||English (US)|
|Number of pages||51|
|Journal||Electronic Proceedings in Theoretical Computer Science, EPTCS|
|State||Published - Feb 11 2012|
|Event||4th Workshop on Mathematically Structured Functional Programming, MSFP 2012 - Tallinn, Estonia|
Duration: Mar 25 2012 → …
ASJC Scopus subject areas