کد مقاله کد نشریه سال انتشار مقاله انگلیسی نسخه تمام متن
422605 685116 2006 12 صفحه PDF دانلود رایگان
عنوان انگلیسی مقاله ISI
Formalizing Type Operations Using the “Image” Type Constructor
موضوعات مرتبط
مهندسی و علوم پایه مهندسی کامپیوتر نظریه محاسباتی و ریاضیات
پیش نمایش صفحه اول مقاله
Formalizing Type Operations Using the “Image” Type Constructor
چکیده انگلیسی

In this paper we introduce a new approach to formalizing certain type operations in type theory. Traditionally, many type constructors in type theory are independently axiomatized and the correctness of these axioms is argued semantically. In this paper we introduce a notion of an “image” of a given type under a mapping that captures the spirit of many of such semantical arguments. This allows us to use the new “image” type to formalize within the type theory a large range of type constructors that were traditionally formalized via postulated axioms.We demonstrate the ability of the “image” constructor to express “forgetful” types by using it to formalize the “squash” and “set” type constructors. We also demonstrate its ability to handle types with non-trivial equality relations by using it to formalize the union type operator. We demonstrate the ability of the “image” constructor to express certain inductive types by showing how the type of lists and a higher-order abstract syntax type can be naturally formalized using the new type constructor.The work presented in this paper have been implemented in the MetaPRL proof assistant and all the derivations checked by MetaPRL.

ناشر
Database: Elsevier - ScienceDirect (ساینس دایرکت)
Journal: Electronic Notes in Theoretical Computer Science - Volume 165, 22 November 2006, Pages 121-132