Solving Invariant Generation for Unsolvable Loops. Amrollahi, D., Bartocci, E., Kenison, G., Kovács, L., Moosbrugger, M., & Stankovič, M. arXiv:2206.06943 [cs], June, 2022. arXiv: 2206.06943
Paper abstract bibtex Automatically generating invariants, key to computer-aided analysis of probabilistic and deterministic programs and compiler optimisation, is a challenging open problem. Whilst the problem is in general undecidable, the goal is settled for restricted classes of loops. For the class of solvable loops, introduced by Kapur and Rodr\'iguez-Carbonell in 2004, one can automatically compute invariants from closed-form solutions of recurrence equations that model the loop behaviour. In this paper we establish a technique for invariant synthesis for loops that are not solvable, termed unsolvable loops. Our approach automatically partitions the program variables and identifies the so-called defective variables that characterise unsolvability. We further present a novel technique that automatically synthesises polynomials, in the defective variables, that admit closed-form solutions and thus lead to polynomial loop invariants. Our implementation and experiments demonstrate both the feasibility and applicability of our approach to both deterministic and probabilistic programs.
@article{amrollahi_solving_2022,
title = {Solving {Invariant} {Generation} for {Unsolvable} {Loops}},
url = {http://arxiv.org/abs/2206.06943},
abstract = {Automatically generating invariants, key to computer-aided analysis of probabilistic and deterministic programs and compiler optimisation, is a challenging open problem. Whilst the problem is in general undecidable, the goal is settled for restricted classes of loops. For the class of solvable loops, introduced by Kapur and Rodr{\textbackslash}'iguez-Carbonell in 2004, one can automatically compute invariants from closed-form solutions of recurrence equations that model the loop behaviour. In this paper we establish a technique for invariant synthesis for loops that are not solvable, termed unsolvable loops. Our approach automatically partitions the program variables and identifies the so-called defective variables that characterise unsolvability. We further present a novel technique that automatically synthesises polynomials, in the defective variables, that admit closed-form solutions and thus lead to polynomial loop invariants. Our implementation and experiments demonstrate both the feasibility and applicability of our approach to both deterministic and probabilistic programs.},
urldate = {2022-06-21},
journal = {arXiv:2206.06943 [cs]},
author = {Amrollahi, Daneshvar and Bartocci, Ezio and Kenison, George and Kovács, Laura and Moosbrugger, Marcel and Stankovič, Miroslav},
month = jun,
year = {2022},
note = {arXiv: 2206.06943},
keywords = {computer science, mentions sympy, programming languages},
}
Downloads: 0
{"_id":"uZXTbGe6dGCfLtWBs","bibbaseid":"amrollahi-bartocci-kenison-kovcs-moosbrugger-stankovi-solvinginvariantgenerationforunsolvableloops-2022","author_short":["Amrollahi, D.","Bartocci, E.","Kenison, G.","Kovács, L.","Moosbrugger, M.","Stankovič, M."],"bibdata":{"bibtype":"article","type":"article","title":"Solving Invariant Generation for Unsolvable Loops","url":"http://arxiv.org/abs/2206.06943","abstract":"Automatically generating invariants, key to computer-aided analysis of probabilistic and deterministic programs and compiler optimisation, is a challenging open problem. Whilst the problem is in general undecidable, the goal is settled for restricted classes of loops. For the class of solvable loops, introduced by Kapur and Rodr\\'iguez-Carbonell in 2004, one can automatically compute invariants from closed-form solutions of recurrence equations that model the loop behaviour. In this paper we establish a technique for invariant synthesis for loops that are not solvable, termed unsolvable loops. Our approach automatically partitions the program variables and identifies the so-called defective variables that characterise unsolvability. We further present a novel technique that automatically synthesises polynomials, in the defective variables, that admit closed-form solutions and thus lead to polynomial loop invariants. Our implementation and experiments demonstrate both the feasibility and applicability of our approach to both deterministic and probabilistic programs.","urldate":"2022-06-21","journal":"arXiv:2206.06943 [cs]","author":[{"propositions":[],"lastnames":["Amrollahi"],"firstnames":["Daneshvar"],"suffixes":[]},{"propositions":[],"lastnames":["Bartocci"],"firstnames":["Ezio"],"suffixes":[]},{"propositions":[],"lastnames":["Kenison"],"firstnames":["George"],"suffixes":[]},{"propositions":[],"lastnames":["Kovács"],"firstnames":["Laura"],"suffixes":[]},{"propositions":[],"lastnames":["Moosbrugger"],"firstnames":["Marcel"],"suffixes":[]},{"propositions":[],"lastnames":["Stankovič"],"firstnames":["Miroslav"],"suffixes":[]}],"month":"June","year":"2022","note":"arXiv: 2206.06943","keywords":"computer science, mentions sympy, programming languages","bibtex":"@article{amrollahi_solving_2022,\n\ttitle = {Solving {Invariant} {Generation} for {Unsolvable} {Loops}},\n\turl = {http://arxiv.org/abs/2206.06943},\n\tabstract = {Automatically generating invariants, key to computer-aided analysis of probabilistic and deterministic programs and compiler optimisation, is a challenging open problem. Whilst the problem is in general undecidable, the goal is settled for restricted classes of loops. For the class of solvable loops, introduced by Kapur and Rodr{\\textbackslash}'iguez-Carbonell in 2004, one can automatically compute invariants from closed-form solutions of recurrence equations that model the loop behaviour. In this paper we establish a technique for invariant synthesis for loops that are not solvable, termed unsolvable loops. Our approach automatically partitions the program variables and identifies the so-called defective variables that characterise unsolvability. We further present a novel technique that automatically synthesises polynomials, in the defective variables, that admit closed-form solutions and thus lead to polynomial loop invariants. Our implementation and experiments demonstrate both the feasibility and applicability of our approach to both deterministic and probabilistic programs.},\n\turldate = {2022-06-21},\n\tjournal = {arXiv:2206.06943 [cs]},\n\tauthor = {Amrollahi, Daneshvar and Bartocci, Ezio and Kenison, George and Kovács, Laura and Moosbrugger, Marcel and Stankovič, Miroslav},\n\tmonth = jun,\n\tyear = {2022},\n\tnote = {arXiv: 2206.06943},\n\tkeywords = {computer science, mentions sympy, programming languages},\n}\n\n\n\n","author_short":["Amrollahi, D.","Bartocci, E.","Kenison, G.","Kovács, L.","Moosbrugger, M.","Stankovič, M."],"key":"amrollahi_solving_2022","id":"amrollahi_solving_2022","bibbaseid":"amrollahi-bartocci-kenison-kovcs-moosbrugger-stankovi-solvinginvariantgenerationforunsolvableloops-2022","role":"author","urls":{"Paper":"http://arxiv.org/abs/2206.06943"},"keyword":["computer science","mentions sympy","programming languages"],"metadata":{"authorlinks":{}}},"bibtype":"article","biburl":"https://bibbase.org/zotero-group/nicoguaro/525293","dataSources":["YtBDXPDiQEyhyEDZC","fhHfrQgj3AaGp7e9E","qzbMjEJf5d9Lk78vE","45tA9RFoXA9XeH4MM","MeSgs2KDKZo3bEbxH","nSXCrcahhCNfzvXEY","ecatNAsyr4f2iQyGq","tpWeaaCgFjPTYCjg3"],"keywords":["computer science","mentions sympy","programming languages"],"search_terms":["solving","invariant","generation","unsolvable","loops","amrollahi","bartocci","kenison","kovács","moosbrugger","stankovič"],"title":"Solving Invariant Generation for Unsolvable Loops","year":2022}