Inductive Families Need Not Store Their Indices

E Brady, C McBride, James Hugh McKinna

Research output: Chapter in Book/Report/Conference proceedingChapter

60 Citations (Scopus)

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 languageEnglish
Title of host publicationLecture Notes in Computer Science 3085
EditorsS Berardi, M Coppo, F Damiani
PublisherSpringer-Verlag
Pages115--129
Publication statusPublished - 2004

Fingerprint

Dive into the research topics of 'Inductive Families Need Not Store Their Indices'. Together they form a unique fingerprint.

Cite this