Modular invariants for layered object structures
✍ Scribed by Peter Müller; Arnd Poetzsch-Heffter; Gary T. Leavens
- Publisher
- Elsevier Science
- Year
- 2006
- Tongue
- English
- Weight
- 740 KB
- Volume
- 62
- Category
- Article
- ISSN
- 0167-6423
No coin nor oath required. For personal study only.
✦ Synopsis
Classical specification and verification techniques support invariants for individual objects whose fields are primitive values, but do not allow sound modular reasoning about invariants involving more complex object structures. Such non-trivial object structures are common, and occur in lists, hash tables, and whenever systems are built in layers. A sound and modular verification technique for layered object structures has to deal with the well-known problem of representation exposure and the problem that invariants of higher layers are potentially violated by methods in lower layers; such methods cannot be modularly shown to preserve these invariants.
We generalize classical techniques to cover layered object structures using a refined semantics for invariants based on an ownership model for alias control. This semantics enables sound and modular reasoning. We further extend this ownership technique to even more expressive invariants that gain their modularity by imposing certain visibility requirements.
📜 SIMILAR VOLUMES
Let the mod 2 Steenrod algebra, , and the general linear group, GL k = GL k 2 , act on P k = 2 x 1 x k with deg x i = 1 in the usual manner. We prove that, for a family of some rather small subgroups G of GL k , every element of positive degree in the invariant algebra P G k is hit by in P k . In ot