Proceedings of the 14th ACM SIGPLAN International Conference on Functional Programming 2009
DOI: 10.1145/1596550.1596571
|View full text |Cite
|
Sign up to set email alerts
|

A universe of binding and computation

Abstract: We construct a logical framework supporting datatypes that mix binding and computation, implemented as a universe in the dependently typed programming language Agda 2. We represent binding pronominally, using well-scoped de Bruijn indices, so that types can be used to reason about the scoping of variables. We equip our universe with datatype-generic implementations of weakening, substitution, exchange, contraction, and subordination-based strengthening, so that programmers need not reimplement these operations… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
1
1
1

Citation Types

0
21
0

Year Published

2010
2010
2012
2012

Publication Types

Select...
3
2
1

Relationship

0
6

Authors

Journals

citations
Cited by 28 publications
(21 citation statements)
references
References 36 publications
0
21
0
Order By: Relevance
“…Chlipala (2007) used an approach inspired by proof by reflection techniques (Boutin 1997) to provide several generic operations on well-typed terms represented by well-scoped de Bruijn indices. Licata and Harper (2009) proposed a universe in Agda that permits definitions that mix binding and computation. The obvious difference is that GMeta works with traditional (non-well-scoped) first-order representations instead of well-scoped de Bruijn indices.…”
Section: Related Workmentioning
confidence: 99%
See 1 more Smart Citation
“…Chlipala (2007) used an approach inspired by proof by reflection techniques (Boutin 1997) to provide several generic operations on well-typed terms represented by well-scoped de Bruijn indices. Licata and Harper (2009) proposed a universe in Agda that permits definitions that mix binding and computation. The obvious difference is that GMeta works with traditional (non-well-scoped) first-order representations instead of well-scoped de Bruijn indices.…”
Section: Related Workmentioning
confidence: 99%
“…This difference of representation means that the universes and generic functions have to deal with significantly different issues and that they are quite different in nature. More fundamentally, Chlipala's (2007) and Licata and Harper's (2009) work can be viewed as trying to develop new ways to formalize metatheory in which many of the invariants hold by construction, that would have to be proved otherwise. This is different from our goal: we are not proposing new ways to formalize metatheory, rather we wish to make well-established ways to formalize metatheory with first-order representations less painful to use.…”
Section: Related Workmentioning
confidence: 99%
“…This algorithm has been previously used as a benchmark by several researchers Pitts, 2006;Licata & Harper, 2009;Cave & Pientka, 2012). The challenge lies in the way in which the algorithm mixes computational functions, name abstractions, and fresh name generation.…”
Section: Advanced Example: Normalization By Evaluationmentioning
confidence: 99%
“…If world polymorphism is appropriately exploited, the system can guarantee not only that every index is within range, but also that free variables are treated abstractly (section 11.2), which implies that certain programming errors, such as "forgetting to shift" a free variable, can be detected by the type system. Licata and Harper (2009) aim to provide substitution for free when possible, whereas we do not explicitly explore this aspect. They impose the use of well-scoped de Bruijn indices to the programmer, whereas our "names" are more flexible and can be used as atoms or as de Bruijn indices.…”
Section: Systemsmentioning
confidence: 99%
“…Datatype-generic treatment of abstract syntax has already been addressed in the literature [4,7,8,12] using different approaches to abstract syntax with different trade-offs in terms of elegance, usability and expressivity.…”
Section: Introductionmentioning
confidence: 99%