A Language-Independent Proof System for Mutual Program Equivalence

  • Ştefan Ciobâcă
  • Dorel Lucanu
  • Vlad Rusu
  • Grigore Roşu
Conference paper

DOI: 10.1007/978-3-319-11737-9_6

Part of the Lecture Notes in Computer Science book series (LNCS, volume 8829)
Cite this paper as:
Ciobâcă Ş., Lucanu D., Rusu V., Roşu G. (2014) A Language-Independent Proof System for Mutual Program Equivalence. In: Merz S., Pang J. (eds) Formal Methods and Software Engineering. ICFEM 2014. Lecture Notes in Computer Science, vol 8829. Springer, Cham

Abstract

Two programs are mutually equivalent if they both diverge or they both terminate with the same result. In this paper we introduce a language-independent proof system for mutual equivalence, which is parametric in the operational semantics of two languages and in a state-similarity relation. We illustrate it on two programs in two different languages (an imperative one and a functional one), that both compute the Collatz sequence.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Springer International Publishing Switzerland 2014

Authors and Affiliations

  • Ştefan Ciobâcă
    • 1
  • Dorel Lucanu
    • 1
  • Vlad Rusu
    • 2
  • Grigore Roşu
    • 1
    • 3
  1. 1.“Alexandru Ioan Cuza” UniversityRomania
  2. 2.Inria LilleFrance
  3. 3.University of Illinois at Urbana-ChampaignUSA

Personalised recommendations