首页> 外文会议>International Conference of B and Z Users >Guards, Preconditions, and Refinement in Z
【24h】

Guards, Preconditions, and Refinement in Z

机译:z的守卫,前提条件和细化

获取原文

摘要

In the common Z specification style operations are, in general, partial relations. The domains of these partial operations are traditionally called preconditions, and there are two interpretations of the result of applying an operation outside its domain. In the traditional interpretation anything may result whereas in the alternative, guarded, interpretation the operation is blocked outside its precondition. In fact these two interpretations can be combined, and this allows representation of both refusals and underspecification in the same model. In this paper we explore this issue, and we extend existing work in this area by allowing arbitrary predicates in the guard. To do so we adopt a non-standard three valued interpretation of an operation by introducing a third truth value. This value corresponds to a situation where we don't care what effect the operation has, i.e. the guard holds but we may be outside the precondition. Using such a three valued interpretation leads to a simple and intuitive semantics for operation refinement, where refinement means reduction of undefinedness or reduction of non-determinism. We illustrate the ideas in the paper by means of a small example.
机译:在共同的Z规范风格中,通常是部分关系。这些部分操作的域传统上称为前提条件,并且有两个解释在其域外应用操作的结果。在传统的解释中,任何可能导致的,而在替代,保护的解释中,操作被阻止在其前提之外。实际上,可以组合这两个解释,这允许在同一模型中表示拒绝和缺点。在本文中,我们探讨了这个问题,我们通过允许在警卫中任意谓词延长了该领域的现有工作。为此,我们通过引入第三个真值来采用非标准三项价值解释操作。该值对应于我们不关心操作有什么影响的情况,即警卫持有但我们可能在前提下。使用这样的三个值解释导致操作细化的简单和直观的语义,其中改进意味着减少未定义或减少非确定性。我们通过小示例说明了论文中的想法。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号