首页> 外文会议>International symposium on formal methods >Flexible Invariants through Semantic Collaboration
【24h】

Flexible Invariants through Semantic Collaboration

机译:通过语义协作实现灵活的不变量

获取原文

摘要

Modular reasoning about class invariants is challenging in the presence of collaborating objects that need to maintain global consistency. This paper presents semantic collaboration: a novel methodology to specify and reason about class invariants of sequential object-oriented programs, which models dependencies between collaborating objects by semantic means. Combined with a simple ownership mechanism and useful default schemes, semantic collaboration achieves the flexibility necessary to reason about complicated inter-object dependencies but requires limited annotation burden when applied to standard specification patterns. The methodology is implemented in AutoProof, our program verifier for the Eiffel programming language (but it is applicable to any language supporting some form of representation invariants). An evaluation on several challenge problems proposed in the literature demonstrates that it can handle a variety of idiomatic collaboration patterns, and is more widely applicable than the existing invariant methodologies.
机译:在存在需要保持全局一致性的协作对象的情况下,有关类不变式的模块化推理具有挑战性。本文提出了语义协作:一种用于指定和推理顺序对象程序的类不变性的新颖方法,该方法通过语义手段对协作对象之间的依赖关系进行建模。结合简单的所有权机制和有用的默认方案,语义协作可实现推理复杂的对象间依存关系所需的灵活性,但在应用于标准规范模式时需要有限的注释负担。该方法在AutoProof中实现,AutoProof是我们的埃菲尔编程语言的程序验证程序(但适用于支持某种形式的表示形式不变式的任何语言)。对文献中提出的几个挑战性问题的评估表明,它可以处理多种惯用的协作模式,并且比现有的不变方法更广泛地应用。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号