@techreport{kawaguchi2011towards, author = {Kawaguchi, Ming and Lahiri, Shuvendu and Rebelo, Henrique and Hawblitzel, Chris}, title = {Towards Modularly Comparing Programs using Automated Theorem Provers}, year = {2011}, month = {October}, abstract = {In this paper, we present a general framework for modularly comparing two (imperative) programs that can leverage single-program verifiers based on automated theorem provers. We formalize (i) mutual summaries for comparing the summaries of two programs, and (ii) relative termination to describe conditions under which two programs relatively terminate. The two rules together allow for checking correctness of interprocedural transformations. We also provide a general framework for dealing with unstructured control fow (including loops) in this framework. We demonstrate the usefulness and limitations of the framework for verifying equivalence, compiler optimizations, and interprocedural transformations.}, url = {http://approjects.co.za/?big=en-us/research/publication/towards-modularly-comparing-programs-using-automated-theorem-provers/}, number = {MSR-TR-2011-112}, note = {The set of benchmarks used in this paper, along with the proof (in text format). }, }