A trace-based model for multiparty contracts

Tom Hvitved, Felix Klaedtke, Eugen Zălinescu

12 Citationer (Scopus)

Abstract

In this article we present a model for multiparty contracts in which contract conformance
is defned abstractly as a property on traces. A key feature of our model is blame assignment, which means that for a given contract, every breach is attributed to a set of parties.
We show that blame assignment is compositional by de¿ning contract conjunction and
contract disjunction. Moreover, to specify real-world contracts, we introduce the contract
speci¿cation language CSL with an operational semantics. We show that each CSL contract
has a counterpart in our trace-based model and from the operational semantics we derive a
run-time monitor. CSL overcomes limitations of previously proposed formalisms for specifying contracts by supporting: (history sensitive and conditional) commitments, parametrised
contract templates, relative and absolute temporal constraints, potentially in¿nite contracts,
and in-place arithmetic expressions. Finally, we illustrate the general applicability of CSL by
formalising in CSL various contracts from different domains.
OriginalsprogEngelsk
TidsskriftJournal of Logic and Algebraic Programming
Vol/bind81
Udgave nummer2
Sider (fra-til)72-98
Antal sider27
ISSN2352-2208
DOI
StatusUdgivet - feb. 2012
Begivenhed4th Workshop on Formal Languages and Analysis of Contract-Oriented Software - Pisa, Italien
Varighed: 17 sep. 201018 sep. 2010
Konferencens nummer: 4

Konference

Konference4th Workshop on Formal Languages and Analysis of Contract-Oriented Software
Nummer4
Land/OmrådeItalien
ByPisa
Periode17/09/201018/09/2010

Fingeraftryk

Dyk ned i forskningsemnerne om 'A trace-based model for multiparty contracts'. Sammen danner de et unikt fingeraftryk.

Citationsformater