首页> 外文期刊>Journal of Logic and Algebraic Programming >Linking operational semantics and algebraic semantics for a probabilistic timed shared-variable language
【24h】

Linking operational semantics and algebraic semantics for a probabilistic timed shared-variable language

机译:链接概率语义共享变量语言的操作语义和代数语义

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

摘要

Complex software systems typically involve features like time, concurrency and probability, with probabilistic computations playing an increasing role. However, it is currently challenging to formalize languages incorporating all those features. Recently, the language PTSC has been proposed to integrate probability and time with shared-variable concurrency (Zhu et al. (2006, 2009) [51,53]), where the operational semantics has been explored and a set of algebraic laws has been investigated via bisimulation. This paper investigates the link between the operational and algebraic semantics of PTSC, highlighting both its theoretical and practical aspects. The link is obtained by deriving the operational semantics from the algebraic semantics, an approach that may be understood as establishing soundness of the operational semantics with respect to the algebraic semantics. Algebraic laws are provided that suffice to convert any PTSC program into a form consisting of a guarded choice or an internal choice between programs, which are initially deterministic. That form corresponds to a simple execution of the program, so it is used as a basis for an operational semantics. In that way, the operational semantics is derived from the algebraic semantics, with transition rules resulting from the derivation strategy. In fact the derived transition rules and the derivation strategy are shown to be equivalent, which may be understood as establishing completeness of the operational semantics with respect to the algebraic semantics. That theoretical approach to the link is complemented by a practical one, which animates the link using Prolog. The link between the two semantics proceeds via head normal form. Firstly, the generation of head normal form is explored, in particular animating the expansion laws for probabilistic interleaving. Then the derivation of the operational semantics is animated using a strategy that exploits head normal form. The operational semantics is also animated. These animations, which again supports to claim soundness and completeness of the operational semantics with respect to the algebraic, are interesting because they provide a practical demonstration of the theoretical results.
机译:复杂的软件系统通常包含时间,并发性和概率之类的功能,而概率计算的作用越来越大。但是,目前要使包含所有这些功能的语言形式化是一项挑战。最近,有人提出使用PTSC语言来将概率和时间与共享变量并发集成在一起(Zhu等人(2006,2009)[51,53]),其中对操作语义进行了探索,并提出了一组代数定律。通过双仿真进行调查。本文研究了PTSC的运算和代数语义之间的联系,突出了其理论和实践方面。通过从代数语义派生操作语义来获得链接,该方法可以理解为相对于代数语义建立操作语义的健全性。提供了代数定律,足以将任何PTSC程序转换为由程序确定的程序之间的受保护选择或内部选择组成的形式。该形式对应于程序的简单执行,因此它用作操作语义的基础。这样,操作语义是从代数语义派生的,转换规则是从派生策略得出的。实际上,导出的转换规则和导出策略显示为等效,这可以理解为相对于代数语义建立操作语义的完整性。实用的链接是对链接的理论方法的补充,该实用方法使用Prolog对链接进行了动画处理。两种语义之间的联系是通过头部规范形式进行的。首先,探索头部法线形式的产生,特别是动画化概率交织的扩展规律。然后,使用一种利用头部正常形式的策略对操作语义的派生进行动画处理。操作语义也很生动。这些动画再次支持要求关于代数的操作语义的健全性和完整性,因此很有趣,因为它们提供了理论结果的实际证明。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号