Invariants for non-hierarchical object structures

R. Middelkoop, C. Huizing, R. Kuiper, E.J. Luit

Research output: Chapter in Book/Report/Conference proceedingConference contributionAcademicpeer-review

6 Citations (Scopus)
1 Downloads (Pure)

Abstract

We present a Hoare-style specification and verification approach for invariants in sequential OO programs. It allows invariants over non-hierarchical object structures, in which update patterns that span several objects and methods occur frequently. This gives rise to invalidating and subsequent re-establishing of invariants in a way that compromises standard data induction, which assumes invariants hold when a method is called. We provide specification constructs (inc and coop) that identify objects and methods involved in such patterns, allowing a refined form of data induction. The approach now handles practical designs, as illustrated by a specification of the Observer Pattern.
Original languageEnglish
Title of host publicationProceedings of the Brazilian Symposium on Formal Methods (SBMF 2006, Natal, Rio Grande de Norte, Brazil, September 17-23, 2006)
EditorsA.M. Moreira, L. Ribeiro
Pages211-229
DOIs
Publication statusPublished - 2008

Publication series

NameElectronic Notes in Theoretical Computer Science
Volume195
ISSN (Print)1571-0061

Fingerprint Dive into the research topics of 'Invariants for non-hierarchical object structures'. Together they form a unique fingerprint.

  • Cite this

    Middelkoop, R., Huizing, C., Kuiper, R., & Luit, E. J. (2008). Invariants for non-hierarchical object structures. In A. M. Moreira, & L. Ribeiro (Eds.), Proceedings of the Brazilian Symposium on Formal Methods (SBMF 2006, Natal, Rio Grande de Norte, Brazil, September 17-23, 2006) (pp. 211-229). (Electronic Notes in Theoretical Computer Science; Vol. 195). https://doi.org/10.1016/j.entcs.2007.08.034