KIT | KIT-Bibliothek | Impressum | Datenschutz

A Framework for the Interoperable Specification and Verification of Encapsulated Data Structures

Pfeifer, Wolfram ORCID iD icon 1; Ulbrich, Mattias ORCID iD icon 1; Dietl, Werner
1 Institut für Informationssicherheit und Verlässlichkeit (KASTEL), Karlsruher Institut für Technologie (KIT)

Abstract (englisch):

Well-designed data structures are fundamental to the construction of robust programmes, particularly when their correctness can be established using formal methods. Currently, various successful deductive verification techniques exist but necessitate distinct and non-interoperable specifications and verification methods for data structure implementations. This paper presents a technique enabling cross-paradigm interoperable specification and verification of encapsulated data structures.

The novel approach builds on the shared mathematical foundations of algebraic data types (ADTs) across these diverse methodologies. The technique enables the coherent integration of components that have been verified using different deductive program verification approaches within a single project, provided that a regime of encapsulation is followed, which is slightly stricter than those imposed by the tools originally.

We formally introduce and discuss the encapsulation principle using a simplified conceptual object-oriented language and subsequently instantiate it for the Java programming language. This integration incorporates KeY, VeriFast, and Universe Types, thereby enabling heterogeneous verification projects in Java that encompass separation logic, dynamic frames, and ownership types.
... mehr


Volltext §
DOI: 10.5445/IR/1000191071
Veröffentlicht am 03.03.2026
Cover der Publikation
Zugehörige Institution(en) am KIT Institut für Informationssicherheit und Verlässlichkeit (KASTEL)
Publikationstyp Forschungsbericht/Preprint
Publikationsdatum 02.03.2026
Sprache Englisch
Identifikator KITopen-ID: 1000191071
Umfang 28 S.
Projektinformation KeY, 443187992 (DFG, DFG EIN, UL 433/3-1)
KeY, 443187992 (DFG, DFG EIN, BE 2334/9-1)
Schlagwörter Deductive Program Verification, Collaborative Verification, Interoperability of Formal Methods, Algebraic Data Types (ADTs)
Nachgewiesen in OpenAlex
KIT – Die Universität in der Helmholtz-Gemeinschaft
KITopen Landing Page