TY - JOUR
T1 - Decidable verification of uninterpreted programs
AU - Mathur, Umang
AU - Madhusudan, P.
AU - Viswanathan, Mahesh
N1 - Publisher Copyright:
© 2019 Copyright held by the owner/author(s).
PY - 2019/1
Y1 - 2019/1
N2 - We study the problem of completely automatically verifying uninterpreted programsÐprograms that work over arbitrary data models that provide an interpretation for the constants, functions and relations the program uses. The verification problem asks whether a given program satisfies a postcondition written using quantifier-free formulas with equality on the final state, with no loop invariants, contracts, etc. being provided. We show that this problem is undecidable in general. The main contribution of this paper is a subclass of programs, called coherent programs that admits decidable verification, and can be decided in Pspace. We then extend this class of programs to classes of programs that are k-coherent, where k ∈ N, obtained by (automatically) adding k ghost variables and assignments that make them coherent. We also extend the decidability result to programs with recursive function calls and prove several undecidability results that show why our restrictions to obtain decidability seem necessary.
AB - We study the problem of completely automatically verifying uninterpreted programsÐprograms that work over arbitrary data models that provide an interpretation for the constants, functions and relations the program uses. The verification problem asks whether a given program satisfies a postcondition written using quantifier-free formulas with equality on the final state, with no loop invariants, contracts, etc. being provided. We show that this problem is undecidable in general. The main contribution of this paper is a subclass of programs, called coherent programs that admits decidable verification, and can be decided in Pspace. We then extend this class of programs to classes of programs that are k-coherent, where k ∈ N, obtained by (automatically) adding k ghost variables and assignments that make them coherent. We also extend the decidability result to programs with recursive function calls and prove several undecidability results that show why our restrictions to obtain decidability seem necessary.
KW - Coherence
KW - Decidability
KW - Program Verification
KW - Streaming Congruence Closure
KW - Uninterpreted Programs
UR - http://www.scopus.com/inward/record.url?scp=85077469379&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=85077469379&partnerID=8YFLogxK
U2 - 10.1145/3290359
DO - 10.1145/3290359
M3 - Article
AN - SCOPUS:85077469379
SN - 2475-1421
VL - 3
JO - Proceedings of the ACM on Programming Languages
JF - Proceedings of the ACM on Programming Languages
IS - POPL
M1 - 46
ER -