KIT | KIT-Bibliothek | Impressum | Datenschutz

Formally Verifying an Efficient Sorter

Beckert, Bernhard ORCID iD icon 1; Sanders, Peter ORCID iD icon 2; Ulbrich, Mattías ORCID iD icon 1; Witt, Sascha 2; Wiesler, Julian
1 Institut für Informationssicherheit und Verlässlichkeit (KASTEL), Karlsruher Institut für Technologie (KIT)
2 Institut für Theoretische Informatik (ITI), Karlsruher Institut für Technologie (KIT)

Abstract:

In this experience report, we present the complete formal verification of a Java implementation of inplace superscalar sample sort (ips4o) using the KeY program verification system. As ips4o is one of the fastest general purpose sorting algorithms, this is an important step towards a collection of basic toolbox components that are both provably correct and highly efficient. At the same time, it is an important case study of how careful, highly efficient implementations of complicated algorithms can be formally verified directly. We provide an analysis of which features of the KeY system and its verification calculus are instrumental in enabling algorithm verification without any compromise on algorithm efficiency.


Volltext §
DOI: 10.5445/IR/1000167846
Veröffentlicht am 29.01.2024
Cover der Publikation
Zugehörige Institution(en) am KIT Institut für Informationssicherheit und Verlässlichkeit (KASTEL)
Institut für Theoretische Informatik (ITI)
Publikationstyp Forschungsbericht/Preprint
Publikationsdatum 29.01.2024
Sprache Englisch
Identifikator KITopen-ID: 1000167846
Verlag Karlsruher Institut für Technologie (KIT)
Umfang 26 S.
Schlagwörter program verification, algorithm verification
KIT – Die Forschungsuniversität in der Helmholtz-Gemeinschaft
KITopen Landing Page