کد مقاله کد نشریه سال انتشار مقاله انگلیسی نسخه تمام متن
432319 1441281 2008 15 صفحه PDF دانلود رایگان
عنوان انگلیسی مقاله ISI
Local variable scoping and Kleene algebra with tests
موضوعات مرتبط
مهندسی و علوم پایه مهندسی کامپیوتر نظریه محاسباتی و ریاضیات
پیش نمایش صفحه اول مقاله
Local variable scoping and Kleene algebra with tests
چکیده انگلیسی

We explore the power of relational semantics and equational reasoning in the style of Kleene algebra for analyzing programs with mutable, statically scoped local variables. We provide (i) a fully compositional relational semantics for a first-order programming language with constructs for local variable declaration and destructive update; and (ii) an equational proof system based on Kleene algebra with tests for proving the equivalence of programs in this language. We show that the proof system is sound and complete relative to the underlying equational theory without local variables. We illustrate the use of the system with several examples.

ناشر
Database: Elsevier - ScienceDirect (ساینس دایرکت)
Journal: The Journal of Logic and Algebraic Programming - Volume 76, Issue 1, May–June 2008, Pages 3-17