Abstract
This paper shows that a bisimulation approach can be used to prove the correctness of unfold/fold program transformation algorithms. As an illustration, we show how our approach can be use to prove the correctness of positive supercompilation (due to Sørensen et al). Traditional program equivalence proofs show the original and transformed programs are contextually equivalent, i.e., have the same termination behaviour in all closed contexts. Contextual equivalence can, however, be difficult to establish directly. Gordon and Howe use an alternative approach: to represent a program's behaviour by a labelled transition system whose bisimilarity relation is a congruence that coincides with contextual equivalence. Labelled transition systems are well-suited to represent global program behaviour. On the other hand, unfold/fold program transformations use generalization and folding, and neither is easy to describe contextually, due to use of non-local information. We show that weak bisimulation on labelled transition systems gives an elegant framework to prove contextual equivalence of original and transformed programs. One reason is that folds can be seen in the context of corresponding unfolds.
Originalsprog | Engelsk |
---|---|
Titel | Perspectives of Systems Informatics : 8th International Andrei Ershov Memorial Conference, PSI 2011, Novosibirsk, Russia, June 27-July 1, 2011, Revised Selected Papers |
Redaktører | Edmund Clarke, Irina Virbitskaite, Andrei Voronkov |
Antal sider | 17 |
Forlag | Springer |
Publikationsdato | 2012 |
Sider | 153-169 |
ISBN (Trykt) | 978-3-642-29708-3 |
ISBN (Elektronisk) | 978-3-642-29709-0 |
DOI | |
Status | Udgivet - 2012 |
Begivenhed | 8th International Andrei Ershov Memorial Conference on Perspectives of Systems Informatics - Novosibirsk, Rusland Varighed: 27 jun. 2011 → 1 jul. 2011 Konferencens nummer: 8 |
Konference
Konference | 8th International Andrei Ershov Memorial Conference on Perspectives of Systems Informatics |
---|---|
Nummer | 8 |
Land/Område | Rusland |
By | Novosibirsk |
Periode | 27/06/2011 → 01/07/2011 |
Navn | Lecture notes in computer science |
---|---|
Vol/bind | 7162 |
ISSN | 0302-9743 |