|
ABSTRACT
Decidability of definitional equality and conversion of terms into canonical form play a central role in the meta-theory of a type-theoretic logical framework. Most studies of definitional equality are based on a confluent, strongly normalizing notion of reduction. Coquand has considered a different approach, directly proving the correctness of a practical equivalance algorithm based on the shape of terms. Neither approach appears to scale well to richer languages with, for example, unit types or subtyping, and neither provides a notion of canonical form suitable for proving adequacy of encodings.In this article, we present a new, type-directed equivalence algorithm for the LF type theory that overcomes the weaknesses of previous approaches. The algorithm is practical, scales to richer languages, and yields a new notion of canonical form sufficient for adequate encodings of logical systems. The algorithm is proved complete by a Kripke-style logical relations argument similar to that suggested by Coquand. Crucially, both the algorithm itself and the logical relations rely only on the shapes of types, ignoring dependencies on terms.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
| |
1
|
|
| |
2
|
Cervesato, I. 1996. A linear logical framework. Ph.D. dissertation. Dipartimento di Informatica, Universitá di Torino.
|
| |
3
|
|
| |
4
|
|
| |
5
|
|
| |
6
|
Dowek, G., Huet, G., and Werner, B. 1993. On the definition of the eta-long normal form in type systems of the cube. In Informal Proceedings of the Workshop on Types for Proofs and Programs, H. Geuvers, Ed. Nijmegen, The Netherlands.
|
| |
7
|
|
| |
8
|
|
| |
9
|
Geuvers, H. 1992. The Church-Rosser property for βη-reduction in typed λ-calculi. In Proceedings of the 7th Annual IEEE Symposium on Logic in Computer Science (Santa Cruz, Calif.), A. Scedrov, Ed. IEEE Computer Society Press, Los Alamitos, Calif., pp. 453--460.
|
| |
10
|
|
| |
11
|
|
| |
12
|
Goguen, H. 1994. A typed operational semantics for type theory. Ph.D. dissertation, Edinburgh Univ. Edinburgh, Scotland.
|
| |
13
|
|
 |
14
|
|
| |
15
|
Harper, R. and Pfenning, F. 1999. On equivalence and canonical forms in the LF type theory. Tech. Rep. CMU-CS-99-159. Department of Computer Science, Carnegie Mellon Univ., Pittsburgh, Pa.
|
| |
16
|
Jay, C. B. and Ghani, N. 1995. The virtues of η-expansion. J. Funct. Prog. 5, 2, 135--154.
|
| |
17
|
|
| |
18
|
Pfenning, F. 1992. Computation and deduction. Unpublished lecture notes, 277 pp. Revised May 1994, April 1996.
|
| |
19
|
Pfenning, F. 1993. Refinement types for logical frameworks. In Informal Proceedings of the Workshop on Types for Proofs and Programs, H. Geuvers, Ed. Nijmegen, The Netherlands, 285--299.
|
| |
20
|
|
| |
21
|
|
| |
22
|
|
| |
23
|
|
| |
24
|
Salvesen, A. 1990. The Church--Rosser theorem for LF with βη-reduction. Unpublished notes to a talk given at the First Workshop on Logical Frameworks in Antibes, France.
|
 |
25
|
|
| |
26
|
Streicher, T. 1991. Semantics of Type Theory. Birkhäuser.
|
| |
27
|
Vanderwaart, J. C. and Crary, K. 2002. A simplified account of the metatheory of linear LF. In Proceedings of the 3rd International Workshop on Logical Frameworks and Meta-Languages (LFM'02), F. Pfenning, Ed. Vol. 70(2). Electronic Notes in Theoretical Computer Science, Elsevier Science Publishers, Copenhagen, Denmark. Extended version available as Technical Report CMU-CS-01-154.
|
| |
28
|
|
|