کد مقاله کد نشریه سال انتشار مقاله انگلیسی نسخه تمام متن
424040 685327 2007 14 صفحه PDF دانلود رایگان
عنوان انگلیسی مقاله ISI
Constructive Membership Predicates as Index Types
موضوعات مرتبط
مهندسی و علوم پایه مهندسی کامپیوتر نظریه محاسباتی و ریاضیات
پیش نمایش صفحه اول مقاله
Constructive Membership Predicates as Index Types
چکیده انگلیسی

In the constructive setting, membership predicates over recursive types are inhabited by terms indexing the elements that satisfy the criteria for membership. In this paper, we motivate and explore this idea in the concrete setting of lists and trees. We show that the inhabitants of membership predicates are precisely the inhabitants of a generic shape type. We show that membership of x (of type T) in structure S, (x∈TS) can not, in general, index all parts of a structure S and we generalize to a form ρ∈S where ρ is a predicate over S. Under this scheme, (λx.True)∈S is the set of all indexes into S, but we show that not all subsets of indexes are expressible by strictly local predicates. Accordingly, we extend our membership predicates to predicates that retain state “from above” as well as allow “looking below”. Predicates of this form are complete in the sense that they can express every subset of indexes in S. These ideas are motivated by experience programming in Nuprl's constructive type theory and examining the constructive content of mechanically checked formal proofs involving membership predicates.

ناشر
Database: Elsevier - ScienceDirect (ساینس دایرکت)
Journal: Electronic Notes in Theoretical Computer Science - Volume 174, Issue 7, 4 June 2007, Pages 3-16