2025-03-03
Footprint logic for object-oriented components (extended paper)
Publication
Publication
Formal Aspects of Computing , Volume 37 - Issue 2 p. 11:1- 11:23
We introduce a new way of reasoning about invariance in terms of footprints in a program logic for object-oriented components. A footprint of an object-oriented component is formalized as a monadic predicate that describes which objects on the heap can be affected by the execution of the component. Assuming encapsulation, this amounts to specifying which objects of the component can be called. Adaptation of local specifications into global specifications amounts to showing invariance of assertions, which is ensured by means of a form of bounded quantification which excludes references to a given footprint. The new approach is compared to two existing approaches to reason about invariance: separation logic and dynamic frames.
Additional Metadata | |
---|---|
, , | |
doi.org/10.1145/3703921 | |
Formal Aspects of Computing | |
Organisation | Centrum Wiskunde & Informatica, Amsterdam (CWI), The Netherlands |
de Boer, F., de Gouw, S., Hiep, H.-D., & Bian, J. (2025). Footprint logic for object-oriented components (extended paper). Formal Aspects of Computing, 37(2), 11:1–11:23. doi:10.1145/3703921 |