Program Equivalence by Circular Reasoning - Archive ouverte HAL Accéder directement au contenu
Communication Dans Un Congrès Année : 2013

Program Equivalence by Circular Reasoning

Résumé

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.
Fichier principal
Vignette du fichier
ifm.pdf (527.93 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)
Loading...

Dates et versions

hal-00820871 , version 1 (06-05-2013)

Identifiants

  • HAL Id : hal-00820871 , version 1

Citer

Dorel Lucanu, Vlad Rusu. Program Equivalence by Circular Reasoning. Integrated Formal Methods, Jun 2013, Turku, Finland. pp.362-377. ⟨hal-00820871⟩
231 Consultations
281 Téléchargements

Partager

Gmail Facebook X LinkedIn More