کد مقاله کد نشریه سال انتشار مقاله انگلیسی نسخه تمام متن
427267 686479 2012 8 صفحه PDF دانلود رایگان
عنوان انگلیسی مقاله ISI
A correspondence between type checking via reduction and type checking via evaluation
موضوعات مرتبط
مهندسی و علوم پایه مهندسی کامپیوتر نظریه محاسباتی و ریاضیات
پیش نمایش صفحه اول مقاله
A correspondence between type checking via reduction and type checking via evaluation
چکیده انگلیسی

We describe a derivational approach to proving the equivalence of different representations of a type system. Different ways of representing type assignments are convenient for particular applications such as reasoning or implementation, but some kind of correspondence between them should be proven. In this paper we address two such semantics for type checking: one, due to Kuan et al., in the form of a term rewriting system and the other in the form of a traditional set of derivation rules. By employing a set of techniques investigated by Danvy et al., we mechanically derive the correspondence between a reduction-based semantics for type checking and a traditional one in the form of derivation rules, implemented as a recursive descent. The correspondence is established through a series of semantics-preserving functional program transformations.


► We consider a reduction-based type checking and a traditional recursive descent.
► A correspondence is provided by the construction and inter-derivation.
► Soundness is a corollary of the correctness of the inter-derivation.
► The transformations we use are off-the-shelf.

ناشر
Database: Elsevier - ScienceDirect (ساینس دایرکت)
Journal: Information Processing Letters - Volume 112, Issues 1–2, 15 January 2012, Pages 13–20
نویسندگان
, ,