Synthesis of ranking functions using extremal counterexamples
Synthesis of ranking functions using extremal counterexamples
复制标题
使用极值反例综合排名函数
DOI:
10.1145/2737924.2737976
复制
发表时间:
2015
期刊:
影响因子:
--
通讯作者:
Gabriel Radanne
中科院分区:
文献类型:
--
作者:
L. Gonnord;D. Monniaux;Gabriel Radanne
We present a complete method for synthesizing lexicographic linear ranking functions (and thus proving termination), supported by inductive invariants, in the case where the transition relation of the program includes disjunctions and existentials (large block encoding of control flow). Previous work would either synthesize a ranking function at every basic block head, not just loop headers, which reduces the scope of programs that may be proved to be terminating, or expand large block transitions including tests into (exponentially many) elementary transitions, prior to computing the ranking function, resulting in a very large global constraint system. In contrast, our algorithm incrementally refines a global linear constraint system according to extremal counterexamples: only constraints that exclude spurious solutions are included. Experiments with our tool Termite show marked performance and scalability improvements compared to other systems.