{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,9,30]],"date-time":"2026-09-30T08:55:16Z","timestamp":1790758516542,"version":"4.1.0"},"reference-count":24,"publisher":"Association for Computing Machinery (ACM)","issue":"1","license":[{"start":{"date-parts":[[2005,1,1]],"date-time":"2005-01-01T00:00:00Z","timestamp":1104537600000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/www.acm.org\/publications\/policies\/copyright_policy#Background"}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["ACM Trans. Comput. Logic"],"published-print":{"date-parts":[[2005,1]]},"abstract":"<jats:p>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.<\/jats:p>","DOI":"10.1145\/1042038.1042041","type":"journal-article","created":{"date-parts":[[2005,1,26]],"date-time":"2005-01-26T16:35:53Z","timestamp":1106757353000},"page":"61-101","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":62,"title":["On equivalence and canonical forms in the LF type theory"],"prefix":"10.1145","volume":"6","author":[{"given":"Robert","family":"Harper","sequence":"first","affiliation":[{"name":"Carnegie Mellon University, Pittsburgh, PA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Frank","family":"Pfenning","sequence":"additional","affiliation":[{"name":"Carnegie Mellon University, Pittsburgh, PA"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2005,1]]},"reference":[{"key":"e_1_2_1_1_1","volume-title":"Handbook of Logic in Computer Science","author":"Barendregt H. P.","unstructured":"Barendregt , H. P. 1992. Lambda calculi with types . In Handbook of Logic in Computer Science , S. Abramsky, D. Gabbay, and T. Maibaum, Eds. Vol. 2 . Oxford University Press , Chapter 2, 117--309.]] Barendregt, H. P. 1992. Lambda calculi with types. In Handbook of Logic in Computer Science, S. Abramsky, D. Gabbay, and T. Maibaum, Eds. Vol. 2. Oxford University Press, Chapter 2, 117--309.]]"},{"key":"e_1_2_1_3_1","doi-asserted-by":"publisher","DOI":"10.1006\/inco.2001.2951"},{"key":"e_1_2_1_4_1","volume-title":"Proceedings of the 8th Annual Conference on Computer Science Logic (CSL'99)","volume":"1683","author":"Compagnoni A.","unstructured":"Compagnoni , A. and Goguen , H . 1999. Antisymmetry of higher-order subtyping . In Proceedings of the 8th Annual Conference on Computer Science Logic (CSL'99) (Madrid, Spain), J. Flum and M. Rodr\u00edguez-Artalejo, Eds. Lecture Notes in Computer Science , vol. 1683 . Springer-Verlag, New York, pp. 420--438.]] Compagnoni, A. and Goguen, H. 1999. Antisymmetry of higher-order subtyping. In Proceedings of the 8th Annual Conference on Computer Science Logic (CSL'99) (Madrid, Spain), J. Flum and M. Rodr\u00edguez-Artalejo, Eds. Lecture Notes in Computer Science, vol. 1683. Springer-Verlag, New York, pp. 420--438.]]"},{"key":"e_1_2_1_5_1","first-page":"255","volume-title":"Eds","author":"Coquand T.","year":"1991","unstructured":"Coquand , T. 1991 . An algorithm for testing conversion in type theory. In Logical Frameworks, G. Huet and G. Plotkin , Eds . Cambridge University Press, Cambridge, UK , pp. 255 -- 279 .]] Coquand, T. 1991. An algorithm for testing conversion in type theory. In Logical Frameworks, G. Huet and G. Plotkin, Eds. Cambridge University Press, Cambridge, UK, pp. 255--279.]]"},{"key":"e_1_2_1_6_1","volume-title":"Informal Proceedings of the Workshop on Types for Proofs and Programs, H. Geuvers, Ed","author":"Dowek G.","unstructured":"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.]] 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.]]"},{"key":"e_1_2_1_7_1","first-page":"121","volume-title":"Rewriting Techniques and Applications (Chapel Hill, N.C.)","author":"Elliott C.","unstructured":"Elliott , C. 1989. Higher-order unification with dependent types . In Rewriting Techniques and Applications (Chapel Hill, N.C.) , N. Dershowitz, Ed. Lecture Notes in Computer Science, vol. 355 . Springer-Verlag , New York, pp. 121 -- 136 .]] Elliott, C. 1989. Higher-order unification with dependent types. In Rewriting Techniques and Applications (Chapel Hill, N.C.), N. Dershowitz, Ed. Lecture Notes in Computer Science, vol. 355. Springer-Verlag, New York, pp. 121--136.]]"},{"key":"e_1_2_1_8_1","volume-title":"Proceedings of the 10th International Conference on Automated Deduction","volume":"449","author":"Felty A.","unstructured":"Felty , A. and Miller , D . 1990. Encoding a dependent-type \u03bb-calculus in a logic programming language . In Proceedings of the 10th International Conference on Automated Deduction ( Kaiserslautern, Germany), M. Stickel, Ed. Lecture Notes in Computer Science , vol. 449 . Springer-Verlag, New York, pp. 221--235.]] Felty, A. and Miller, D. 1990. Encoding a dependent-type \u03bb-calculus in a logic programming language. In Proceedings of the 10th International Conference on Automated Deduction (Kaiserslautern, Germany), M. Stickel, Ed. Lecture Notes in Computer Science, vol. 449. Springer-Verlag, New York, pp. 221--235.]]"},{"key":"e_1_2_1_9_1","doi-asserted-by":"publisher","DOI":"10.1109\/LICS.1992.185556"},{"key":"e_1_2_1_10_1","doi-asserted-by":"publisher","DOI":"10.1017\/S0960129599002856"},{"key":"e_1_2_1_11_1","doi-asserted-by":"publisher","DOI":"10.5555\/645893.671616"},{"key":"e_1_2_1_13_1","doi-asserted-by":"publisher","DOI":"10.5555\/645894.671766"},{"key":"e_1_2_1_14_1","doi-asserted-by":"publisher","DOI":"10.1145\/138027.138060"},{"key":"e_1_2_1_15_1","volume-title":"Tech. Rep. CMU-CS-99-159. Department of Computer Science, Carnegie Mellon Univ.","author":"Harper R.","year":"1999","unstructured":"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 .]] 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.]]"},{"key":"e_1_2_1_16_1","doi-asserted-by":"publisher","DOI":"10.1017\/S0956796800001301"},{"key":"e_1_2_1_17_1","unstructured":"Nordstr\u00f6m B. Petersson K. and Smith J. 1990. Programming in Martin-L\u00f6f's Type Theory: An Introduction. Oxford University Press.]]   Nordstr\u00f6m B. Petersson K. and Smith J. 1990. Programming in Martin-L\u00f6f's Type Theory: An Introduction. Oxford University Press.]]"},{"key":"e_1_2_1_18_1","volume-title":"Revised","author":"Pfenning F.","year":"1992","unstructured":"Pfenning , F. 1992 . Computation and deduction. Unpublished lecture notes, 277 pp . Revised May 1994, April 1996.]] Pfenning, F. 1992. Computation and deduction. Unpublished lecture notes, 277 pp. Revised May 1994, April 1996.]]"},{"key":"e_1_2_1_19_1","volume-title":"Informal Proceedings of the Workshop on Types for Proofs and Programs, H. Geuvers, Ed","author":"Pfenning F.","year":"1993","unstructured":"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.]] 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.]]"},{"key":"e_1_2_1_20_1","doi-asserted-by":"publisher","DOI":"10.5555\/871816.871845"},{"key":"e_1_2_1_21_1","volume-title":"Proceedings of the 16th International Conference on Automated Deduction (CADE-16)","volume":"1632","author":"Pfenning F.","unstructured":"Pfenning , F. and Sch\u00fcrmann , C . 1999. System description: Twelf---A meta-logical framework for deductive systems . In Proceedings of the 16th International Conference on Automated Deduction (CADE-16) (Trento, Italy), H. Ganzinger, Ed. Lecture Notes in Artificial Intelligence , vol. 1632 . Springer-Verlag, New York, pp. 202--206.]] Pfenning, F. and Sch\u00fcrmann, C. 1999. System description: Twelf---A meta-logical framework for deductive systems. In Proceedings of the 16th International Conference on Automated Deduction (CADE-16) (Trento, Italy), H. Ganzinger, Ed. Lecture Notes in Artificial Intelligence, vol. 1632. Springer-Verlag, New York, pp. 202--206.]]"},{"key":"e_1_2_1_23_1","volume-title":"Proceedings of the 4th International Conference on Typed Lambda Calculi and Applications (TLCA'99)","volume":"1581","author":"Polakow J.","unstructured":"Polakow , J. and Pfenning , F . 1999. Natural deduction for intuitionistic non-commutative linear logic . In Proceedings of the 4th International Conference on Typed Lambda Calculi and Applications (TLCA'99) (L'Aquila, Italy), J.-Y. Girard, Ed. Lecture Notes in Computer Science , vol. 1581 . Springer-Verlag, New York, pp. 295--309.]] Polakow, J. and Pfenning, F. 1999. Natural deduction for intuitionistic non-commutative linear logic. In Proceedings of the 4th International Conference on Typed Lambda Calculi and Applications (TLCA'99) (L'Aquila, Italy), J.-Y. Girard, Ed. Lecture Notes in Computer Science, vol. 1581. Springer-Verlag, New York, pp. 295--309.]]"},{"key":"e_1_2_1_24_1","unstructured":"Salvesen A. 1990. The Church--Rosser theorem for LF with \u03b2&eta;-reduction. Unpublished notes to a talk given at the First Workshop on Logical Frameworks in Antibes France.]]  Salvesen A. 1990. The Church--Rosser theorem for LF with \u03b2&eta;-reduction. Unpublished notes to a talk given at the First Workshop on Logical Frameworks in Antibes France.]]"},{"key":"e_1_2_1_25_1","doi-asserted-by":"publisher","DOI":"10.1145\/325694.325724"},{"key":"e_1_2_1_26_1","volume-title":"Semantics of Type Theory","author":"Streicher T.","unstructured":"Streicher , T. 1991. Semantics of Type Theory . Birkh\u00e4user .]] Streicher, T. 1991. Semantics of Type Theory. Birkh\u00e4user.]]"},{"key":"e_1_2_1_27_1","volume-title":"Proceedings of the 3rd International Workshop on Logical Frameworks and Meta-Languages (LFM'02)","volume":"154","author":"Vanderwaart J. C.","unstructured":"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 .]] 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.]]"}],"container-title":["ACM Transactions on Computational Logic"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/1042038.1042041","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/1042038.1042041","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,18]],"date-time":"2025-06-18T22:43:15Z","timestamp":1750286595000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/1042038.1042041"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2005,1]]},"references-count":24,"journal-issue":{"issue":"1","published-print":{"date-parts":[[2005,1]]}},"alternative-id":["10.1145\/1042038.1042041"],"URL":"https:\/\/doi.org\/10.1145\/1042038.1042041","relation":{},"ISSN":["1529-3785","1557-945X"],"issn-type":[{"value":"1529-3785","type":"print"},{"value":"1557-945X","type":"electronic"}],"subject":[],"published":{"date-parts":[[2005,1]]},"assertion":[{"value":"2005-01-01","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}