کد مقاله کد نشریه سال انتشار مقاله انگلیسی نسخه تمام متن
426792 686280 2013 25 صفحه PDF دانلود رایگان
عنوان انگلیسی مقاله ISI
Coercive subtyping: Theory and implementation
موضوعات مرتبط
مهندسی و علوم پایه مهندسی کامپیوتر نظریه محاسباتی و ریاضیات
پیش نمایش صفحه اول مقاله
Coercive subtyping: Theory and implementation
چکیده انگلیسی

Coercive subtyping is a useful and powerful framework of subtyping for type theories. The key idea of coercive subtyping is subtyping as abbreviation. In this paper, we give a new and adequate formulation of T[C]T[C], the system that extends a type theory T   with coercive subtyping based on a set CC of basic subtyping judgements, and show that coercive subtyping is a conservative extension and, in a more general sense, a definitional extension. We introduce an intermediate system, the star-calculus T[C]⁎T[C]⁎, in which the positions that require coercion insertions are marked, and show that T[C]⁎T[C]⁎ is a conservative extension of T   and that T[C]⁎T[C]⁎ is equivalent to T[C]T[C]. This makes clear what we mean by coercive subtyping being a conservative extension, on the one hand, and amends a technical problem that has led to a gap in the earlier conservativity proof, on the other. We also compare coercive subtyping with the ‘ordinary’ notion of subtyping – subsumptive subtyping, and show that the former is adequate for type theories with canonical objects while the latter is not. An improved implementation of coercive subtyping is done in the proof assistant Plastic.

ناشر
Database: Elsevier - ScienceDirect (ساینس دایرکت)
Journal: Information and Computation - Volume 223, February 2013, Pages 18–42
نویسندگان
, , ,