Skip to Main content Skip to Navigation
Journal articles

A theory of retractable and speculative contracts

Franco Barbanera 1 Ivan Lanese 2 Ugo De'Liguoro 3
2 FOCUS - Foundations of Component-based Ubiquitous Systems
CRISAM - Inria Sophia Antipolis - Méditerranée , DISI - Dipartimento di Informatica - Scienza e Ingegneria [Bologna]
Abstract : Behavioral contracts are abstract descriptions of expected communication patterns followed by either clients or servers during their interaction. Behavioral contracts come naturally equipped with a notion of compliance: when a client and a server follow compliant contracts, their interaction is guaranteed to progress or successfully complete. We study two extensions of behavioral contracts, retractable contracts dealing with backtracking and speculative contracts dealing with speculative execution. We show that the two extensions give rise to the same notion of compliance. As a consequence, they also give rise to the same subcontract relation, which determines when one server can be replaced by another preserving compliance. Moreover, compliance and subcontract relation are both decidable in quadratic time. Finally, we study the relationship between retractable contracts and calculi for reversible computing.
Complete list of metadata

Cited literature [47 references]  Display  Hide  Download
Contributor : Ivan Lanese Connect in order to contact the contributor
Submitted on : Tuesday, November 6, 2018 - 10:32:57 PM
Last modification on : Friday, October 30, 2020 - 12:04:03 PM
Long-term archiving on: : Friday, February 8, 2019 - 1:06:19 AM


Files produced by the author(s)




Franco Barbanera, Ivan Lanese, Ugo De'Liguoro. A theory of retractable and speculative contracts. Science of Computer Programming, Elsevier, 2018, 167, pp.25 - 50. ⟨10.1016/j.scico.2018.06.005⟩. ⟨hal-01912858⟩



Les métriques sont temporairement indisponibles