...
首页> 外文期刊>Theoretical computer science >A Hoare logic for dynamic networks of asynchronously communicating deterministic processes
【24h】

A Hoare logic for dynamic networks of asynchronously communicating deterministic processes

机译:用于异步通信确定性过程的动态网络的Hoare逻辑

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

摘要

This paper introduces a compositional Hoare logic for reasoning about the partial correctness and absence of deadlock of a certain class of programs. Considered are programs that describe networks composed of a dynamically evolving collection of processes which are all executing in parallel, and which know each other by maintaining and passing around process-references via an asynchronous communication mechanism based on (unbounded) FIFO buffers. The Hoare logic formalizes reasoning about such dynamic networks on an abstraction level that is at least as high as that of the programming language. This means that the only operations on 'pointers' (that is, references to processes) are testing for equality and dereferencing. Moreover, in a given state of the system, it is only possible to mention the processes that exist in that state. Processes that have not (yet) been created do not play a role. Soundness and completeness of the logic is proved with respect to a compositional characterization of the initial/final state semantics of programs. This characterization generalizes the compositional semantics of deterministic Kahn (data-flow) networks (where the number of processes and communication structure is fixed).
机译:本文介绍了组成Hoare逻辑,用于推理某些类程序的部分正确性和没有死锁。考虑的是描述由动态演化的进程集合组成的网络的程序,这些进程全部并行执行,并且通过基于(无界)FIFO缓冲区的异步通信机制通过维护和传递进程引用来相互了解。 Hoare逻辑在至少与编程语言一样高的抽象级别上规范了这种动态网络的推理。这意味着对“指针”(即对流程的引用)的唯一操作是测试是否相等和取消引用。而且,在系统的给定状态下,仅可能提及该状态下存在的进程。尚未创建的进程不起作用。关于程序的初始/最终状态语义的组成特征,证明了逻辑的健全性和完整性。此特征概括了确定性Kahn(数据流)网络的组成语义(过程和通信结构的数量是固定的)。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号