Authors
Ton Chanh Le, Timos Antonopoulos, Parisa Fathololumi, Eric Koskinen, ThanhVu Nguyen
Publication date
2020/11/13
Journal
Proceedings of the ACM on Programming Languages
Volume
4
Issue
OOPSLA
Pages
1-30
Publisher
ACM
Description
There is growing interest in termination reasoning for nonlinear programs and, meanwhile, recent dynamic strategies have shown they are able to infer invariants for such challenging programs. These advances led us to hypothesize that perhaps such dynamic strategies for nonlinear invariants could be adapted to learn recurrent sets (for non-termination) and/or ranking functions (for termination).
In this paper, we exploit dynamic analysis and draw termination and non-termination as well as static and dynamic strategies closer together in order to tackle nonlinear programs. For termination, our algorithm infers ranking functions from concrete transitive closures, and, for non-termination, the algorithm iteratively collects executions and dynamically learns conditions to refine recurrent sets. Finally, we describe an integrated algorithm that allows these algorithms to mutually inform each other, taking counterexamples …
Total citations
20212022202320243967
Scholar articles
TC Le, T Antonopoulos, P Fathololumi, E Koskinen… - Proceedings of the ACM on Programming Languages, 2020