English

Verification of Object-Oriented Programs: a Transformational Approach

Logic in Computer Science 2011-11-09 v3 Programming Languages

Abstract

We show that verification of object-oriented programs by means of the assertional method can be achieved in a simple way by exploiting a syntax-directed transformation from object-oriented programs to recursive programs. This transformation suggests natural proofs rules and its correctness helps us to establish soundness and relative completeness of the proposed proof system. One of the difficulties is how to properly deal in the assertion language with the instance variables and aliasing. The discussed programming language supports arrays, instance variables, failures and recursive methods with parameters.

Keywords

Cite

@article{arxiv.1004.4656,
  title  = {Verification of Object-Oriented Programs: a Transformational Approach},
  author = {Krzysztof R. Apt and Frank S. de Boer and Ernst-Ruediger Olderog and Stijn de Gouw},
  journal= {arXiv preprint arXiv:1004.4656},
  year   = {2011}
}

Comments

49 pages. To appear in Journal of Computer and System Sciences. Stijn de Gouw is now a new author

R2 v1 2026-06-21T15:15:09.746Z