Abstract
We consider the problem of efficient representation of dependently typed data. In particular, we consider a language TT based on Dybjer's notion of inductive families [10] and reanalyse their general form with a view to optimising the storage associated with their use. We introduce an execution language, ExTT, which allows the commenting out of computationally irrelevant subterms and show how to use properties of elimination rules to elide constructor arguments and tags in ExTT. We further show how some types can be collapsed entirely at run-time. Several examples are given, including a representation of the simply typed lambda-calculus for which our analysis yields an 80% reduction in run-time storage requirements.
Original language | English |
---|---|
Title of host publication | Lecture Notes in Computer Science 3085 |
Editors | S Berardi, M Coppo, F Damiani |
Publisher | Springer-Verlag |
Pages | 115--129 |
Publication status | Published - 2004 |