首页> 外文会议>International Conference of B Users >Interpreting Invariant Composition in the B Method Using the Spec# Ownership Relation: A Way to Explain and Relax B Restrictions
【24h】

Interpreting Invariant Composition in the B Method Using the Spec# Ownership Relation: A Way to Explain and Relax B Restrictions

机译:使用规范#所有权关系解释B方法中的不变成分:解释和放松B限制的方式

获取原文

摘要

In the B method, the invariant of a component cannot be violated outside its own operations. This approach has a great advantage: the users of a component can assume its invariant without having to prove it. But, B users must deal with important architecture restrictions that ensure the soundness of reasonings involving invariants. Moreover, understanding how these restrictions ensure soundness is not trivial. This paper studies a meta-model of invariant composition, inspired from the Spec# approach. Basically, in this model, invariant violations are monitored using ghost variables. The consistency of assumptions about invariants is controlled by very simple proof obligations. Hence, this model provides a simple framework to understand B composition rules and to study some conservative extensions of B authorizing more architectures and providing more control on components initialization.
机译:在B方法中,组件的不变量不能在其自己的操作之外违反。这种方法具有很大的优势:组件的用户可以假设其不变性而无需证明它。但是,B用户必须处理重要的架构限制,以确保涉及不变性的推理的健全性。此外,了解这些限制如何确保声音并不琐碎。本文研究了一种不变成分的元模型,灵感来自规格#方法。基本上,在这个模型中,使用Ghost变量监视不变的违规。关于不变性的假设的一致性由非常简单的证明义务控制。因此,该模型提供了一个简单的框架来了解B组成规则,并研究B授权更多架构的一些保守扩展,并在组件初始化提供更多控制。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号