Lightweight nontermination inference with CHCs

Bishoksan Kafle, Graeme Gange, Peter Schachte, Harald Søndergaard, Peter J. Stuckey

Research output: Chapter in Book/Report/Conference proceedingConference PaperResearch

1 Citation (Scopus)

Abstract

Non-termination is an unwanted program property (considered a bug) for some software systems, and a safety property for other systems. In either case, automated discovery of preconditions for non-termination is of interest. We introduce NtHorn, a fast lightweight non-termination analyser, able to deduce non-trivial sufficient conditions for non-termination. Using Constrained Horn Clauses (CHCs) as a vehicle, we show how established techniques for CHC program transformation and abstract interpretation can be exploited for the purpose of non-termination analysis. NtHorn is comparable in power to the state-of-the-art non-termination analysis tools, as measured on standard competition benchmark suites (consisting of integer manipulating programs), while typically solving problems an order of magnitude faster.

Original languageEnglish
Title of host publication19th International Conference, SEFM 2021 Virtual Event, December 6–10, 2021 Proceedings
EditorsRadu Calinescu, Corina S. Pasareanu
Place of PublicationCham Switzerland
PublisherSpringer
Pages383-402
Number of pages20
ISBN (Electronic)9783030921248
ISBN (Print)9783030921231
DOIs
Publication statusPublished - 2021
EventInternational Conference on Software Engineering and Formal Methods 2021 - Online, Switzerland
Duration: 6 Dec 202110 Dec 2021
Conference number: 19th
https://link.springer.com/book/10.1007/978-3-030-92124-8 (Proceedings)

Publication series

NameLecture Notes in Computer Science
PublisherSpringer
Volume13085
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

ConferenceInternational Conference on Software Engineering and Formal Methods 2021
Abbreviated titleSEFM 2021
Country/TerritorySwitzerland
Period6/12/2110/12/21
Internet address

Cite this