Decidable verification of uninterpreted programs

Research output: Contribution to journalArticlepeer-review


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.

Original languageEnglish (US)
Article number46
JournalProceedings of the ACM on Programming Languages
Issue numberPOPL
StatePublished - Jan 2019


  • Coherence
  • Decidability
  • Program Verification
  • Streaming Congruence Closure
  • Uninterpreted Programs

ASJC Scopus subject areas

  • Software
  • Safety, Risk, Reliability and Quality


Dive into the research topics of 'Decidable verification of uninterpreted programs'. Together they form a unique fingerprint.

Cite this