计算机科学 > 计算机科学中的逻辑
[提交于 2019年7月10日]
标题:Handling localisation in rely/guarantee concurrency: An algebraic approach
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:The rely/guarantee approach of Jones extends Hoare logic with rely and guarantee conditions in order to allow compositional reasoning about shared-variable concurrent programs. This paper focuses on localisation in the context of rely/guarantee concurrency in order to support local variables. Because we allow the body of a local variable block to contain component processes that run in parallel, the approach needs to allow variables local to a block to become shared variables of its component parallel processes. To support the mechanisation of the rely/guarantee approach, we have developed a synchronous concurrent refinement algebra. Its foundation consists of a small set of primitive commands plus a small set of primitive operators from which all remaining constructs are defined. To support local variables we add a primitive localisation operator to our algebra that is used to define local variable blocks. From this we can prove properties of localisation, including its interaction with rely and guarantee conditions.
提交历史
来自:Ian Hayes[v1] 2019年7月10日 星期三 00:00:00 UTC