Proceedingsbeitrag
Zitieren …

Proving equivalence between imperative and MapReduce implementations using program transformations

B. Beckert ORCID-iD-Icon 1, T. Bingmann 1, M. Kiefer 1, P. Sanders ORCID-iD-Icon 1, M. Ulbrich ORCID-iD-Icon 1 und A. Weigl ORCID-iD-Icon 1
1 Institut für Theoretische Informatik (ITI), Karlsruher Institut für Technologie (KIT)
DOI: 10.5445/IR/1000083954
Preprint veröffentlicht am 01.04.2019
CC BY 3.0
Abstract

Distributed programs are often formulated in popular functional frameworks like MapReduce,

Spark and Thrill, but writing efficient algorithms for such frameworks is usually a non-trivial

task. As the costs of running faulty algorithms at scale can be severe, it is highly desirable

to verify their correctness.

We propose to employ existing imperative reference implementations as specifications

for MapReduce implementations. To this end, we present a novel verification approach in

which equivalence between an imperative and a MapReduce implementation is established

by a series of program transformations.

In this paper, we present how the equivalence framework can be used to prove equivalence

between an imperative implementation of the PageRank algorithm and its MapReduce

variant. The eight individual transformation steps are individually presented and explained.