کد مقاله کد نشریه سال انتشار مقاله انگلیسی نسخه تمام متن
438992 690394 2010 21 صفحه PDF دانلود رایگان
عنوان انگلیسی مقاله ISI
A bisimulation-like proof method for contextual properties in untyped λ-calculus with references and deallocation
موضوعات مرتبط
مهندسی و علوم پایه مهندسی کامپیوتر نظریه محاسباتی و ریاضیات
پیش نمایش صفحه اول مقاله
A bisimulation-like proof method for contextual properties in untyped λ-calculus with references and deallocation
چکیده انگلیسی

We develop a general method for proving properties of programs under arbitrary contexts–including (but not limited to) observational equivalence, space improvement, and a form of memory safety of the programs–in untyped call-by-value λ-calculus with first-class, dynamically allocated, higher-order references and deallocation. The method generalizes Sumii et al.’s environmental bisimulation technique, and gives a sound and complete characterization of each proved property, in the sense that the “bisimilarity” (the largest set satisfying the bisimulation-like conditions) equals the set of terms with the property to be proved. We give examples of contextual properties concerning typical data structures such as linked lists, binary search trees, and directed acyclic graphs with reference counts, all with deletion operations that release memory. This shows the scalability of the environmental approach from contextual equivalence to other binary relations (such as space improvement) and unary predicates (such as memory safety), as well as to languages with non-monotone store.

ناشر
Database: Elsevier - ScienceDirect (ساینس دایرکت)
Journal: Theoretical Computer Science - Volume 411, Issues 51–52, 4 December 2010, Pages 4358-4378