A trace-based model for multiparty contracts

Tom Hvitved, Felix Klaedtke, Eugen Zălinescu

12 Citations (Scopus)

Abstract

In this article we present a model for multiparty contracts in which contract conformance is defined 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 defining contract conjunction and contract disjunction. Moreover, to specify real-world contracts, we introduce the contract specification 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 infinite contracts, and in-place arithmetic expressions. Finally, we illustrate the general applicability of CSL by formalising in CSL various contracts from different domains.

Original languageEnglish
JournalJournal of Logic and Algebraic Programming
Volume81
Issue number2
Pages (from-to)72-98
Number of pages27
ISSN2352-2208
DOIs
Publication statusPublished - Feb 2012
Event4th Workshop on Formal Languages and Analysis of Contract-Oriented Software - Pisa, Italy
Duration: 17 Sept 201018 Sept 2010
Conference number: 4

Conference

Conference4th Workshop on Formal Languages and Analysis of Contract-Oriented Software
Number4
Country/TerritoryItaly
CityPisa
Period17/09/201018/09/2010

Fingerprint

Dive into the research topics of 'A trace-based model for multiparty contracts'. Together they form a unique fingerprint.

Cite this