Abstract
In this feasibility study we discuss reasoning about the correctness of Java interfaces using histories, with a particular application to Java’s Collection interface. We introduce a new specification method (in the KeY theorem prover) using histories, that record method invocations including their parameters and return value, on an interface. We outline the challenges of proving client code correct with respect to arbitrary implementations, and describe a practical specification and verification effort of part of the Collection interface using KeY (including source and video material).
Original language | English |
---|---|
Title of host publication | Integrated Formal Methods - 16th International Conference, IFM 2020, Proceedings |
Subtitle of host publication | 16th International Conference, IFM 2020 |
Editors | Brijesh Dongol, Elena Troubitsyna |
Place of Publication | Lugano, Switzerland |
Publisher | Springer |
Pages | 199-217 |
Number of pages | 19 |
ISBN (Electronic) | 9783030634612 |
ISBN (Print) | 9783030634605 |
DOIs | |
Publication status | Published - 13 Nov 2020 |
Event | 16th international conference, Integrated Formal Methods 2020 - Online, Lugano, Switzerland Duration: 16 Nov 2020 → 20 Nov 2020 Conference number: 16 https://ifm20.si.usi.ch/ |
Publication series
Series | Lecture Notes in Computer Science |
---|---|
ISSN | 0302-9743 |
Conference
Conference | 16th international conference, Integrated Formal Methods 2020 |
---|---|
Abbreviated title | IFM 2020 |
Country/Territory | Switzerland |
City | Lugano |
Period | 16/11/20 → 20/11/20 |
Internet address |
Keywords
- Formal verification
- Interface specification
- KeY