A Modular Way To Reason About Iteration

NFM 2016: Proceedings of the 8th International Symposium on NASA Formal Methods - Volume 9690(2016)

引用 10|浏览33
暂无评分
摘要
In this paper we present an approach to specify programs performing iterations. The idea is to specify iteration in terms of the finite sequence of the elements enumerated so far, and only those. In particular, we are able to deal with non-deterministic and possibly infinite iteration. We show how to cope with the issue of an iteration no longer being consistent with mutable data.We validate our proposal using the deductive verification tool Why3 and two iteration paradigms, namely cursors and higher-order iterators. For each paradigm, we verify several implementations of iterators and client code. This is done in a modular way, i.e., the client code only relies on the specification of the iteration.
更多
查看译文
关键词
Hash Table, Proof Obligation, Proof Assistant, Infinite Iteration, Automatic Proof
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要