Data-driven equivalence checking

Rahul Sharma, Eric Schkufza, Berkeley R. Churchill, Alex Aiken

Abstract

We present a data driven algorithm for equivalence checking of two loops. The algorithm infers simulation relations using data from test runs. Once a candidate simulation relation has been obtained, off-the-shelf SMT solvers are used to check whether the simulation relation actually holds. The algorithm is sound: insufficient data will cause the proof to fail. We demonstrate a prototype implementation, called DDEC, of our algorithm, which is the first sound equivalence checker for loops written in x86 assembly.
BibTeX
@inproceedings{sharma2013data,
  author = {Rahul Sharma and Eric Schkufza and Berkeley R. Churchill and Alex Aiken},
  title = {{Data-driven equivalence checking}},
  booktitle = {OOPSLA},
  year = {2013},
  doi = {10.1145/2509136.2509509},
}

Loading related content...

Figure