Retractable Contracts
Logic in Computer Science
2016-02-12 v1 Programming Languages
Abstract
In calculi for modelling communication protocols, internal and external choices play dual roles. Two external choices can be viewed naturally as dual too, as they represent an agreement between the communicating parties. If the interaction fails, the past agreements are good candidates as points where to roll back, in order to take a different agreement. We propose a variant of contracts with synchronous rollbacks to agreement points in case of deadlock. The new calculus is equipped with a compliance relation which is shown to be decidable.
Keywords
Cite
@article{arxiv.1602.03595,
title = {Retractable Contracts},
author = {Franco Barbanera and Mariangiola Dezani-Ciancaglini and Ivan Lanese and Ugo de'Liguoro},
journal= {arXiv preprint arXiv:1602.03595},
year = {2016}
}
Comments
In Proceedings PLACES 2015, arXiv:1602.03254