Refinement of Parallel Algorithms Down to LLVM: Applied to Practically Efficient Parallel Sorting

Peter Lammich
DOI: https://doi.org/10.1007/s10817-024-09701-w
2024-06-21
Journal of Automated Reasoning
Abstract:We present a stepwise refinement approach to develop verified parallel algorithms, down to efficient LLVM code. The resulting algorithms' performance is competitive with their counterparts implemented in C++. Our approach is backwards compatible with the Isabelle Refinement Framework, such that existing sequential formalizations can easily be adapted or re-used. As case study, we verify a parallel quicksort algorithm that is competitive to unverified state-of-the-art algorithms.
computer science, artificial intelligence
What problem does this paper attempt to address?