Skip to Main content Skip to Navigation
New interface
Conference papers

Program Equivalence by Circular Reasoning

Dorel Lucanu 1 Vlad Rusu 2 
2 DREAMPAL - Dynamic Reconfigurable Massively Parallel Architectures and Languages
Université de Lille, Sciences et Technologies, Inria Lille - Nord Europe, CNRS - Centre National de la Recherche Scientifique
Abstract : We propose a logic and a deductive system for stating and automatically proving the equivalence of programs in deterministic languages having a rewriting-based operational semantics. The deductive system is circular in nature and is proved sound and weakly complete; together, these results say that, when it terminates, our system correctly solves the program-equivalence problem as we state it. We show that our approach is suitable for proving the equivalence of both terminating and non-terminating programs, and also the equivalence of both concrete and symbolic programs. The latter are programs in which some statements or expressions are symbolic variables. By proving the equivalence between symbolic programs, one proves in one shot the equivalence of (possibly, infinitely) many concrete programs obtained by replacing the variables by concrete statements or expressions. We also report on a prototype implementation of the proposed deductive system in the K Framework.
Document type :
Conference papers
Complete list of metadata

Cited literature [16 references]  Display  Hide  Download
Contributor : Mister Dart Connect in order to contact the contributor
Submitted on : Monday, May 6, 2013 - 6:31:18 PM
Last modification on : Thursday, January 20, 2022 - 5:27:30 PM
Long-term archiving on: : Tuesday, April 4, 2017 - 5:48:36 AM


Files produced by the author(s)


  • HAL Id : hal-00820871, version 1



Dorel Lucanu, Vlad Rusu. Program Equivalence by Circular Reasoning. Integrated Formal Methods, Jun 2013, Turku, Finland. pp.362-377. ⟨hal-00820871⟩



Record views


Files downloads