首页> 外文期刊>Journal of Logic and Algebraic Programming >Local variable scoping and Kleene algebra with tests
【24h】

Local variable scoping and Kleene algebra with tests

机译:局部变量作用域和Kleene代数与测试

获取原文
获取原文并翻译 | 示例

摘要

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.
机译:我们以Kleene代数的方式探索关系语义和方程推理的功能,以分析具有可变的,静态范围的局部变量的程序。我们提供(i)一阶编程语言的完全组合关系语义,并带有用于局部变量声明和破坏性更新的结构; (ii)一个基于Kleene代数的方程式证明系统,带有用于证明该语言程序等效性的测试。我们证明了证明系统相对于没有局部变量的基础方程理论是健全且完整的。我们通过几个示例来说明该系统的用法。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号