Lightweight Non-Termination Inference with CHCs. Kafle, B., Gange, G., Schachte, P., Søndergaard, H., & Stuckey, P. J. In Calinescu, R. & Păsăreanu, C., editors, Software Engineering and Formal Methods, volume 13085, of Lecture Notes in Computer Science, pages 383–402, 2021.
doi  abstract   bibtex   
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.
@InProceedings{Kaf-Gan-Sch-Son-Stu_SEFM21,
  author    = {Bishoksan Kafle and 
		Graeme Gange and 
		Peter Schachte and
		Harald S{\o}ndergaard and
		Peter J. Stuckey},
  title     = {Lightweight Non-Termination Inference with {CHCs}},
  editor    = {R. Calinescu and C. P{\u{a}}s{\u{a}}reanu},
  booktitle = {Software Engineering and Formal Methods},
  series    = {Lecture Notes in Computer Science},
  volume    = {13085},
  pages     = {383--402},
  year      = {2021},
  doi       = {10.1007/978-3-030-92124-8_22},
  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
		<span style="font-variant: small-caps;">NtHorn</span>, 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. 
		<span style="font-variant: small-caps;">NtHorn</span> 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.},
  keywords  = {Program verification, Program transformation, Partial evaluation, Nontermination analysis, Horn clauses},
}

Downloads: 0