A Lightweight Approach to Nontermination Inference Using Constrained Horn Clauses. Kafle, B., Gange, G., Schachte, P., Søndergaard, H., & Stuckey, P. J. Software and Systems Modeling, 23:319–342, 2024.
doi  abstract   bibtex   
Nontermination is an unwanted program property for some software systems, and a safety property for other systems. In either case, automated discovery of preconditions for nontermination is of interest. We introduce NtHorn, a fast lightweight nontermination analyser, which is able to deduce non-trivial sufficient conditions for nontermination. 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 nontermination analysis. NtHorn is comparable in effectiveness to the state-of-the-art nontermination analysis tools, as measured on standard competition benchmark suites (consisting of integer manipulating programs), while typically solving problems faster by one order of magnitude.
@Article{Kaf-Gan-Sch-Son-Stu_SoSyM24,
  author    = {Bishoksan Kafle and 
		Graeme Gange and 
		Peter Schachte and
		Harald S{\o}ndergaard and
		Peter J. Stuckey},
  title     = {A Lightweight Approach to Nontermination Inference Using
	  	{Constrained} {Horn} {Clauses}},
  journal   = {Software and Systems Modeling},
  volume    = {23},
  pages     = {319--342},
  year      = {2024},
  doi       = {10.1007/s10270-024-01161-5},
  abstract  = {Nontermination is an unwanted program property for some 
	  	software systems, and a safety property for other systems.
		In either case, automated discovery of preconditions for 
		nontermination is of interest. We introduce 
		<span style="font-variant: small-caps;">NtHorn</span>,
		a fast lightweight nontermination analyser, which is able to
		deduce non-trivial sufficient conditions for nontermination.
		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 nontermination analysis. 
		<span style="font-variant: small-caps;">NtHorn</span> is 
		comparable in effectiveness to the state-of-the-art 
		nontermination analysis tools, as measured on standard 
		competition benchmark suites (consisting of integer 
		manipulating programs), while typically solving problems 
		faster by one order of magnitude.},
}

Downloads: 0