Abstract
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.
Original language | English |
---|---|
Title of host publication | Formal Aspects of Component Software - 18th International Conference, FACS 2022, Virtual Event, November 10-11, 2022, Proceedings |
Editors | Silvia Lizeth Tapia Tarifa, José Proença |
Place of Publication | cham |
Publisher | Springer |
Pages | 141-160 |
Number of pages | 20 |
Volume | 13712 |
Edition | 1 |
ISBN (Electronic) | 9783031208720 |
DOIs | |
Publication status | Published - 2 Nov 2022 |
Event | 18th International Conference on Formal Aspects of Component Software - Oslo, Norway Duration: 10 Nov 2022 → 11 Nov 2022 Conference number: 18 https://facs-conference.github.io/2022/ |
Publication series
Series | Lecture Notes in Computer Science |
---|
Conference
Conference | 18th International Conference on Formal Aspects of Component Software |
---|---|
Abbreviated title | FACS 2022 |
Country/Territory | Norway |
City | Oslo |
Period | 10/11/22 → 11/11/22 |
Internet address |
Keywords
- Hoare logic
- Invariance
- Strong partial correctness