Advanced automata-based algorithms for program termination checking

Author:

Chen Yu-Fang1,Heizmann Matthias2,Lengál Ondřej3,Li Yong4,Tsai Ming-Hsien5,Turrini Andrea4,Zhang Lijun4

Affiliation:

1. Academia Sinica, Taiwan / National Taipei University, Taiwan

2. University of Freiburg, Germany

3. Brno University of Technology, Czechia

4. Institute of Software at Chinese Academy of Sciences, China

5. Academia Sinica, Taiwan

Abstract

In 2014, Heizmann et al. proposed a novel framework for program termination analysis. The analysis starts with a termination proof of a sample path. The path is generalized to a Büchi automaton (BA) whose language (by construction) represents a set of terminating paths. All these paths can be safely removed from the program. The removal of paths is done using automata difference, implemented via BA complementation and intersection. The analysis constructs in this way a set of BAs that jointly "cover" the behavior of the program, thus proving its termination. An implementation of the approach in Ultimate Automizer won the 1st place in the Termination category of SV-COMP 2017. In this paper, we exploit advanced automata-based algorithms and propose several non-trivial improvements of the framework. To alleviate the complementation computation for BAs---one of the most expensive operations in the framework---, we propose a multi-stage generalization construction. We start with generalizations producing subclasses of BAs (such as deterministic BAs) for which efficient complementation algorithms are known, and proceed to more general classes only if necessary. Particularly, we focus on the quite expressive subclass of semideterministic BAs and provide an improved complementation algorithm for this class. Our experimental evaluation shows that the proposed approach significantly improves the power of termination checking within the Ultimate Automizer framework.

Publisher

Association for Computing Machinery (ACM)

Subject

Computer Graphics and Computer-Aided Design,Software

Reference54 articles.

1. Software Verification Competition (SV-Comp) Benchmarks. https://github.com/sosy-lab/sv-benchmarks. Accessed: 2017-11-01. Software Verification Competition (SV-Comp) Benchmarks. https://github.com/sosy-lab/sv-benchmarks. Accessed: 2017-11-01.

2. Christel Baier and Joost-Pieter Katoen. 2008. Principles of Model Checking. The MIT Press. Christel Baier and Joost-Pieter Katoen. 2008. Principles of Model Checking . The MIT Press.

3. Amir M. Ben-Amram. 2010. Size-Change Termination Monotonicity Constraints and Ranking Functions. Logical Methods in Computer Science 6 3 (2010). http://arxiv.org/abs/1005.0253 Amir M. Ben-Amram. 2010. Size-Change Termination Monotonicity Constraints and Ranking Functions. Logical Methods in Computer Science 6 3 (2010). http://arxiv.org/abs/1005.0253

4. Amir M. Ben-Amram. 2011. Monotonicity Constraints for Termination in the Integer Domain. Logical Methods in Computer Science 7 3 (2011). Amir M. Ben-Amram. 2011. Monotonicity Constraints for Termination in the Integer Domain. Logical Methods in Computer Science 7 3 (2011).

Cited by 7 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Proving Termination of C Programs with Lists;Automated Deduction – CADE 29;2023

2. Neural termination analysis;Proceedings of the 30th ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering;2022-11-07

3. Complementing Büchi Automata with Ranker;Computer Aided Verification;2022

4. Seminator 2 Can Complement Generalized Büchi Automata via Improved Semi-determinization;Computer Aided Verification;2020

5. ROLL 1.0: $$\omega $$ -Regular Language Learning Library;Tools and Algorithms for the Construction and Analysis of Systems;2019

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3