Article ID | Journal | Published Year | Pages | File Type |
---|---|---|---|---|
422484 | Electronic Notes in Theoretical Computer Science | 2007 | 23 Pages |
Abstract
We present an algorithm for computing normal terms and types in Martin-Löf type theory with one universe and eta-conversion. We prove that two terms or types are equal in the theory iff the normal forms are identical (as de Bruijn terms). It thus follows that our algorithm can be used for deciding equality in Martin-Löf type theory. The algorithm uses the technique of normalization by evaluation; normal forms are computed by first evaluating terms and types in a suitable model. The normal forms are then extracted from the semantic elements. We prove its completeness by a PER model and its soundness by a Kripke logical relation.
Related Topics
Physical Sciences and Engineering
Computer Science
Computational Theory and Mathematics