Skip to main content

Showing 1–43 of 43 results for author: Bartoletti, M

.
  1. arXiv:2406.07700  [pdf, other

    cs.CR

    Scalable UTXO Smart Contracts via Fine-Grained Distributed State

    Authors: Massimo Bartoletti, Riccardo Marchesin, Roberto Zunino

    Abstract: Current UTXO-based smart contracts face an efficiency bottleneck, requiring any transaction sent to a contract to specify the entire updated contract state. This requirement becomes particularly burdensome when the contract state contains dynamic data structures, such as maps, which are needed in many use cases for tracking users interactions with the contract. The problem is twofold: on the one h… ▽ More

    Submitted 11 June, 2024; originally announced June 2024.

  2. arXiv:2404.17864  [pdf, ps, other

    cs.CR cs.PL

    Solvent: liquidity verification of smart contracts

    Authors: Massimo Bartoletti, Angelo Ferrando, Enrico Lipparini, Vadim Malvone

    Abstract: Smart contracts are an attractive target for attackers, as evidenced by a long history of security incidents. A current limitation of smart contract verification tools is that they are not really effective in expressing and verifying liquidity properties regarding the exchange of crypto-assets: for example, is it true that in every reachable state a user can fire a sequence of transactions to with… ▽ More

    Submitted 20 June, 2024; v1 submitted 27 April, 2024; originally announced April 2024.

  3. arXiv:2404.04129  [pdf, other

    cs.CR cs.PL

    Smart Contract Languages: a comparative analysis

    Authors: Massimo Bartoletti, Lorenzo Benetollo, Michele Bugliesi, Silvia Crafa, Giacomo Dal Sasso, Roberto Pettinau, Andrea Pinna, Mattia Piras, Sabina Rossi, Stefano Salis, Alvise Spanò, Viacheslav Tkachenko, Roberto Tonelli, Roberto Zunino

    Abstract: Decentralized blockchain platforms support the secure exchange of assets among users without relying on trusted third parties. These exchanges are programmed with smart contracts, computer programs directly executed by blockchain nodes. Multiple smart contract languages are available nowadays to developers, each with its own distinctive features, strengths, and weaknesses. In this paper, we examin… ▽ More

    Submitted 5 April, 2024; originally announced April 2024.

  4. arXiv:2402.10750  [pdf, other

    cs.LO

    Towards benchmarking of Solidity verification tools

    Authors: Massimo Bartoletti, Fabio Fioravanti, Giulia Matricardi, Roberto Pettinau, Franco Sainas

    Abstract: Formal verification of smart contracts has become a hot topic in academic and industrial research, given the growing value of assets managed by decentralized applications and the consequent incentive for adversaries to tamper with them. Most of the current research on the verification of contracts revolves around Solidity, the main high-level language supported by Ethereum and other leading blockc… ▽ More

    Submitted 16 February, 2024; originally announced February 2024.

  5. arXiv:2402.06064  [pdf, other

    cs.LO cs.CE cs.GT

    Formalizing Automated Market Makers in the Lean 4 Theorem Prover

    Authors: Daniele Pusceddu, Massimo Bartoletti

    Abstract: Automated Market Makers (AMMs) are an integral component of the decentralized finance (DeFi) ecosystem, as they allow users to exchange crypto-assets without the need for trusted authorities or external price oracles. Although these protocols are based on relatively simple mechanisms, e.g., to algorithmically determine the exchange rate between crypto-assets, they give rise to complex economic beh… ▽ More

    Submitted 8 February, 2024; originally announced February 2024.

  6. arXiv:2309.10781  [pdf, other

    cs.CR

    DeFi composability as MEV non-interference

    Authors: Massimo Bartoletti, Riccardo Marchesin, Roberto Zunino

    Abstract: Complex DeFi services are usually constructed by composing a variety of simpler smart contracts. The permissionless nature of the blockchains where these smart contracts are executed makes DeFi services exposed to security risks, since adversaries can target any of the underlying contracts to economically damage the compound service. We introduce a new notion of secure composability of smart contr… ▽ More

    Submitted 8 January, 2024; v1 submitted 19 September, 2023; originally announced September 2023.

  7. arXiv:2305.09545  [pdf, ps, other

    cs.CR

    Secure compilation of rich smart contracts on poor UTXO blockchains

    Authors: Massimo Bartoletti, Riccardo Marchesin, Roberto Zunino

    Abstract: Most blockchain platforms from Ethereum onwards render smart contracts as stateful reactive objects that update their state and transfer crypto-assets in response to transactions. A drawback of this design is that when users submit a transaction, they cannot predict in which state it will be executed. This exposes them to transaction-ordering attacks, a widespread class of attacks where adversarie… ▽ More

    Submitted 22 April, 2024; v1 submitted 16 May, 2023; originally announced May 2023.

  8. arXiv:2302.02154  [pdf, other

    cs.CR

    A theoretical basis for Blockchain Extractable Value

    Authors: Massimo Bartoletti, Roberto Zunino

    Abstract: Extractable Value refers to a wide class of economic attacks to public blockchains, where adversaries with the power to reorder, drop or insert transactions in a block can "extract" value from smart contracts. Empirical research has shown that mainstream protocols, like e.g. decentralized exchanges, are massively targeted by these attacks, with detrimental effects on their users and on the blockch… ▽ More

    Submitted 16 May, 2023; v1 submitted 4 February, 2023; originally announced February 2023.

  9. arXiv:2206.01333  [pdf, other

    cs.SE

    Formal Analysis of Lending Pools in Decentralized Finance

    Authors: Massimo Bartoletti, James Chiang, Tommi Junttila, Alberto Lluch Lafuente, Massimiliano Mirelli, Andrea Vandin

    Abstract: Decentralised Finance (DeFi) applications constitute an entire financial ecosystem deployed on blockchains. Such applications are based on complex protocols and incentive mechanisms whose financial safety is hard to determine. Besides, their adoption is rapidly growing, hence imperilling an increasingly higher amount of assets. Therefore, accurate formalisation and verification of DeFi application… ▽ More

    Submitted 16 September, 2022; v1 submitted 1 June, 2022; originally announced June 2022.

    MSC Class: 68N30 ACM Class: I.6.4

  10. Sound approximate and asymptotic probabilistic bisimulations for PCTL

    Authors: Massimo Bartoletti, Maurizio Murgia, Roberto Zunino

    Abstract: We tackle the problem of establishing the soundness of approximate bisimilarity with respect to PCTL and its relaxed semantics. To this purpose, we consider a notion of bisimilarity inspired by the one introduced by Desharnais, Laviolette, and Tracol, and parametric with respect to an approximation error $δ$, and to the depth $n$ of the observation along traces. Essentially, our soundness theorem… ▽ More

    Submitted 30 March, 2023; v1 submitted 4 November, 2021; originally announced November 2021.

    Journal ref: Logical Methods in Computer Science, Volume 19, Issue 1 (March 31, 2023) lmcs:10158

  11. arXiv:2106.01870  [pdf, other

    cs.CR cs.CE cs.FL cs.GT

    Maximizing Extractable Value from Automated Market Makers

    Authors: Massimo Bartoletti, James Hsin-yu Chiang, Alberto Lluch-Lafuente

    Abstract: Automated Market Makers (AMMs) are decentralized applications that allow users to exchange crypto-tokens without the need for a matching exchange order. AMMs are one of the most successful DeFi use cases: indeed, major AMM platforms process a daily volume of transactions worth USD billions. Despite their popularity, AMMs are well-known to suffer from transaction-ordering issues: adversaries can in… ▽ More

    Submitted 19 July, 2022; v1 submitted 2 June, 2021; originally announced June 2021.

    Comments: FC'22 proceedings version with proofs in appendix

    MSC Class: 68N30 ACM Class: I.6.4

  12. A theory of Automated Market Makers in DeFi

    Authors: Massimo Bartoletti, James Hsin-yu Chiang, Alberto Lluch-Lafuente

    Abstract: Automated market makers (AMMs) are one of the most prominent decentralized finance (DeFi) applications. AMMs allow users to trade different types of crypto-tokens, without the need to find a counter-party. There are several implementations and models for AMMs, featuring a variety of sophisticated economic mechanisms. We present a theory of AMMs. The core of our theory is an abstract operational mo… ▽ More

    Submitted 16 December, 2022; v1 submitted 22 February, 2021; originally announced February 2021.

    MSC Class: 68N30 ACM Class: I.6.4

    Journal ref: Logical Methods in Computer Science, Volume 18, Issue 4 (December 19, 2022) lmcs:8955

  13. arXiv:2012.13230  [pdf, ps, other

    cs.CR cs.GT q-fin.GN

    SoK: Lending Pools in Decentralized Finance

    Authors: Massimo Bartoletti, James Hsin-yu Chiang, Alberto Lluch-Lafuente

    Abstract: Lending pools are decentralized applications which allow mutually untrusted users to lend and borrow crypto-assets. These applications feature complex, highly parametric incentive mechanisms to equilibrate the loan market. This complexity makes the behaviour of lending pools difficult to understand and to predict: indeed, ineffective incentives and attacks could potentially lead to emergent unwant… ▽ More

    Submitted 24 December, 2020; originally announced December 2020.

    Comments: 20 pages. Under submission

    MSC Class: 68N30 ACM Class: I.6.4

  14. Verifying liquidity of recursive Bitcoin contracts

    Authors: Massimo Bartoletti, Stefano Lande, Maurizio Murgia, Roberto Zunino

    Abstract: Smart contracts - computer protocols that regulate the exchange of crypto-assets in trustless environments - have become popular with the spread of blockchain technologies. A landmark security property of smart contracts is liquidity: in a non-liquid contract, it may happen that some assets remain frozen, i.e. not redeemable by anyone. The relevance of this issue is witnessed by recent liquidity a… ▽ More

    Submitted 31 January, 2022; v1 submitted 28 November, 2020; originally announced November 2020.

    Comments: arXiv admin note: text overlap with arXiv:2003.00296

    Journal ref: Logical Methods in Computer Science, Volume 18, Issue 1 (February 1, 2022) lmcs:6943

  15. A theory of transaction parallelism in blockchains

    Authors: Massimo Bartoletti, Letterio Galletta, Maurizio Murgia

    Abstract: Decentralized blockchain platforms have enabled the secure exchange of crypto-assets without the intermediation of trusted authorities. To this purpose, these platforms rely on a peer-to-peer network of byzantine nodes, which collaboratively maintain an append-only ledger of transactions, called blockchain. Transactions represent the actions required by users, e.g. the transfer of some units of cr… ▽ More

    Submitted 17 November, 2021; v1 submitted 27 November, 2020; originally announced November 2020.

    Comments: arXiv admin note: text overlap with arXiv:1905.04366

    Journal ref: Logical Methods in Computer Science, Volume 17, Issue 4 (November 18, 2021) lmcs:6935

  16. arXiv:2010.01347  [pdf, ps, other

    cs.CR

    Computationally sound Bitcoin tokens

    Authors: Massimo Bartoletti, Stefano Lande, Roberto Zunino

    Abstract: We propose a secure and efficient implementation of fungible tokens on Bitcoin. Our technique is based on a small extension of the Bitcoin script language, which allows the spending conditions in a transaction to depend on the neighbour transactions. We show that our implementation is computationally sound: that is, adversaries can make tokens diverge from their ideal functionality only with negli… ▽ More

    Submitted 9 February, 2021; v1 submitted 3 October, 2020; originally announced October 2020.

  17. arXiv:2009.12140  [pdf, ps, other

    cs.CR

    A formal model of Algorand smart contracts

    Authors: Massimo Bartoletti, Andrea Bracciali, Cristian Lepore, Alceste Scalas, Roberto Zunino

    Abstract: We develop a formal model of Algorand stateless smart contracts (stateless ASC1.) We exploit our model to prove fundamental properties of the Algorand blockchain, and to establish the security of some archetypal smart contracts. While doing this, we highlight various design patterns supported by Algorand. We perform experiments to validate the coherence of our formal model w.r.t. the actual implem… ▽ More

    Submitted 26 January, 2021; v1 submitted 25 September, 2020; originally announced September 2020.

  18. arXiv:2006.03918  [pdf, ps, other

    cs.PL cs.CR

    Bitcoin covenants unchained

    Authors: Massimo Bartoletti, Stefano Lande, Roberto Zunino

    Abstract: Covenants are linguistic primitives that extend the Bitcoin script language, allowing transactions to constrain the scripts of the redeeming ones. Advocated as a way of improving the expressiveness of Bitcoin contracts while preserving the simplicity of the UTXO design, various forms of covenants have been proposed over the years. A common drawback of the existing descriptions is the lack of forma… ▽ More

    Submitted 26 July, 2020; v1 submitted 6 June, 2020; originally announced June 2020.

  19. arXiv:2003.00296  [pdf, ps, other

    cs.CR cs.PL

    Renegotiation and recursion in Bitcoin contracts

    Authors: Massimo Bartoletti, Maurizio Murgia, Roberto Zunino

    Abstract: BitML is a process calculus to express smart contracts that can be run on Bitcoin. One of its current limitations is that, once a contract has been stipulated, the participants cannot renegotiate its terms: this prevents expressing common financial contracts, where funds have to be added by participants at run-time. In this paper, we extend BitML with a new primitive for contract renegotiation. At… ▽ More

    Submitted 21 April, 2020; v1 submitted 29 February, 2020; originally announced March 2020.

    Comments: Full version of the paper presented at COORDINATION 2020

  20. arXiv:1909.05242   

    cs.PL cs.LO

    Proceedings 12th Interaction and Concurrency Experience

    Authors: Massimo Bartoletti, Ludovic Henrio, Anastasia Mavridou, Alceste Scalas

    Abstract: This volume contains the proceedings of ICE'19, the 12th Interaction and Concurrency Experience, which was held in Copenhagen, Denmark on the 20th and 21st of June 2019, as a satellite event of DisCoTec'19. The ICE workshop series features a distinguishing review and selection procedure, allowing PC members to interact anonymously with authors. As in the past 11 editions, this interaction consider… ▽ More

    Submitted 11 September, 2019; originally announced September 2019.

    Journal ref: EPTCS 304, 2019

  21. arXiv:1908.02709  [pdf, ps, other

    cs.PL

    A minimal core calculus for Solidity contracts

    Authors: Massimo Bartoletti, Letterio Galletta, Maurizio Murgia

    Abstract: The Ethereum platform supports the decentralized execution of smart contracts, i.e. computer programs that transfer digital assets between users. The most common language used to develop these contracts is Solidity, a Javascript-like language which compiles into EVM bytecode, the language actually executed by Ethereum nodes. While much research has addressed the formalisation of the semantics of E… ▽ More

    Submitted 6 August, 2019; originally announced August 2019.

    Comments: arXiv admin note: substantial text overlap with arXiv:1905.04366

  22. arXiv:1905.07639  [pdf, other

    cs.PL

    Develo** secure Bitcoin contracts with BitML

    Authors: Nicola Atzei, Massimo Bartoletti, Stefano Lande, Nobuko Yoshida, Roberto Zunino

    Abstract: We present a toolchain for develo** and verifying smart contracts that can be executed on Bitcoin. The toolchain is based on BitML, a recent domain-specific language for smart contracts with a computationally sound embedding into Bitcoin. Our toolchain automatically verifies relevant properties of contracts, among which liquidity, ensuring that funds do not remain frozen within a contract foreve… ▽ More

    Submitted 2 August, 2019; v1 submitted 18 May, 2019; originally announced May 2019.

  23. arXiv:1905.04366  [pdf, ps, other

    cs.PL

    A true concurrent model of smart contracts executions

    Authors: Massimo Bartoletti, Letterio Galletta, Maurizio Murgia

    Abstract: The development of blockchain technologies has enabled the trustless execution of so-called smart contracts, i.e. programs that regulate the exchange of assets (e.g., cryptocurrency) between users. In a decentralized blockchain, the state of smart contracts is collaboratively maintained by a peer-to-peer network of mutually untrusted nodes, which collect from users a set of transactions (represent… ▽ More

    Submitted 27 April, 2020; v1 submitted 10 May, 2019; originally announced May 2019.

    Comments: Full version of the paper presented at COORDINATION 2020

  24. Blockchain for social good: a quantitative analysis

    Authors: Massimo Bartoletti, Tiziana Cimoli, Livio Pompianu, Sergio Serusi

    Abstract: The rise of blockchain technologies has given a boost to social good projects, which are trying to exploit various characteristic features of blockchains: the quick and inexpensive transfer of cryptocurrency, the transparency of transactions, the ability to tokenize any kind of assets, and the increase in trustworthiness due to decentralization. However, the swift pace of innovation in blockchain… ▽ More

    Submitted 2 November, 2018; originally announced November 2018.

    Comments: In GOODTECHS 2018

  25. arXiv:1810.02053   

    cs.LO cs.DC cs.PL

    Proceedings 11th Interaction and Concurrency Experience

    Authors: Massimo Bartoletti, Sophia Knight

    Abstract: This volume contains the proceedings of ICE'18, the 11th Interaction and Concurrency Experience, which was held in Madrid, Spain on the 20th and 21st of June 2018 as a satellite event of DisCoTec'18. The ICE workshop series features a distinguishing review and selection procedure, allowing PC members to interact anonymously with authors. As in the past ten editions, this interaction considerabl… ▽ More

    Submitted 4 October, 2018; originally announced October 2018.

    Journal ref: EPTCS 279, 2018

  26. arXiv:1803.00646  [pdf, ps, other

    cs.CR

    Data mining for detecting Bitcoin Ponzi schemes

    Authors: Massimo Bartoletti, Barbara Pes, Sergio Serusi

    Abstract: Soon after its introduction in 2009, Bitcoin has been adopted by cyber-criminals, which rely on its pseudonymity to implement virtually untraceable scams. One of the typical scams that operate on Bitcoin are the so-called Ponzi schemes. These are fraudulent investments which repay users with the funds invested by new users that join the scheme, and implode when it is no longer possible to find new… ▽ More

    Submitted 1 March, 2018; originally announced March 2018.

  27. arXiv:1711.10708   

    cs.LO cs.PL

    Proceedings 10th Interaction and Concurrency Experience

    Authors: Massimo Bartoletti, Laura Bocchi, Ludovic Henrio, Sophia Knight

    Abstract: This volume contains the proceedings of ICE 2017, the 10th Interaction and Concurrency Experience, which was held in Neuchâtel, Switzerland on the 21st and 22nd of June 2017 as a satellite event of DisCoTec'17. The ICE procedure for paper selection allows PC members to interact, anonymously, with authors. During the review phase, each submitted paper is published on a discussion forum whose acce… ▽ More

    Submitted 29 November, 2017; originally announced November 2017.

    Journal ref: EPTCS 261, 2017

  28. Timed Session Types

    Authors: Massimo Bartoletti, Tiziana Cimoli, Maurizio Murgia

    Abstract: Timed session types formalise timed communication protocols between two participants at the endpoints of a session. They feature a decidable compliance relation, which generalises to the timed setting the progress-based compliance between untimed session types. We show a sound and complete technique to decide when a timed session type admits a compliant one. Then, we show how to construct the most… ▽ More

    Submitted 7 December, 2017; v1 submitted 15 October, 2017; originally announced October 2017.

    Journal ref: Logical Methods in Computer Science, Volume 13, Issue 4 (December 8, 2017) lmcs:4130

  29. arXiv:1707.01021  [pdf, ps, other

    cs.CR

    A general framework for blockchain analytics

    Authors: Massimo Bartoletti, Andrea Bracciali, Stefano Lande, Livio Pompianu

    Abstract: Modern cryptocurrencies exploit decentralised blockchains to record a public and unalterable history of transactions. Besides transactions, further information is stored for different, and often undisclosed, purposes, making the blockchains a rich and increasingly growing source of valuable information, in part of difficult interpretation. Many data analytics have been developed, mostly based on s… ▽ More

    Submitted 6 November, 2017; v1 submitted 4 July, 2017; originally announced July 2017.

    Comments: Authors' version of a paper presented at SERIAL'17

  30. An empirical analysis of smart contracts: platforms, applications, and design patterns

    Authors: Massimo Bartoletti, Livio Pompianu

    Abstract: Smart contracts are computer programs that can be consistently executed by a network of mutually distrusting nodes, without the arbitration of a trusted authority. Because of their resilience to tampering, smart contracts are appealing in many scenarios, especially in those which require transfers of money to respect certain agreed rules (like in financial services and in games). Over the last few… ▽ More

    Submitted 18 March, 2017; originally announced March 2017.

    Comments: WTSC 2017

  31. arXiv:1703.03779  [pdf, other

    cs.CR

    Dissecting Ponzi schemes on Ethereum: identification, analysis, and impact

    Authors: Massimo Bartoletti, Salvatore Carta, Tiziana Cimoli, Roberto Saia

    Abstract: Ponzi schemes are financial frauds which lure users under the promise of high profits. Actually, users are repaid only with the investments of new users joining the scheme: consequently, a Ponzi scheme implodes soon after users stop joining it. Originated in the offline world 150 years ago, Ponzi schemes have since then migrated to the digital world, approaching first the Web, and more recently ha… ▽ More

    Submitted 12 August, 2019; v1 submitted 10 March, 2017; originally announced March 2017.

  32. arXiv:1702.01024  [pdf, other

    cs.CR

    An analysis of Bitcoin OP_RETURN metadata

    Authors: Massimo Bartoletti, Livio Pompianu

    Abstract: The Bitcoin protocol allows to save arbitrary data on the blockchain through a special instruction of the scripting language, called OP_RETURN. A growing number of protocols exploit this feature to extend the range of applications of the Bitcoin blockchain beyond transfer of currency. A point of debate in the Bitcoin community is whether loading data through OP_RETURN can negatively affect the per… ▽ More

    Submitted 1 March, 2017; v1 submitted 3 February, 2017; originally announced February 2017.

    Comments: BITCOIN 2017

  33. arXiv:1608.03131   

    cs.PL cs.LO

    Proceedings 9th Interaction and Concurrency Experience

    Authors: Massimo Bartoletti, Ludovic Henrio, Sophia Knight, Hugo Torres Vieira

    Abstract: This volume contains the proceedings of ICE 2016, the 9th Interaction and Concurrency Experience, which was held in Heraklion, Greece on the 8th and 9th of June 2016 as a satellite event of DisCoTec 2016. The ICE procedure for paper selection allows PC members to interact, anonymously, with authors. During the review phase, each submitted paper is published on a discussion forum whose access is re… ▽ More

    Submitted 10 August, 2016; originally announced August 2016.

    Journal ref: EPTCS 223, 2016

  34. Combining behavioural types with security analysis

    Authors: Massimo Bartoletti, Ilaria Castellani, Pierre-Malo Deniélou, Mariangiola Dezani-Ciancaglini, Silvia Ghilezan, Jovanka Pantovic, Jorge A. Pérez, Peter Thiemann, Bernardo Toninho, Hugo Torres Vieira

    Abstract: Today's software systems are highly distributed and interconnected, and they increasingly rely on communication to achieve their goals; due to their societal importance, security and trustworthiness are crucial aspects for the correctness of these systems. Behavioural types, which extend data types by describing also the structured behaviour of programs, are a widely studied approach to the enforc… ▽ More

    Submitted 8 October, 2015; originally announced October 2015.

    Journal ref: Journal of Logical and Algebraic Methods in Programming, Elsevier, 2015, pp.18

  35. arXiv:1508.04853  [pdf, other

    cs.LO cs.PL cs.SE

    The LTS WorkBench

    Authors: Alceste Scalas, Massimo Bartoletti

    Abstract: Labelled Transition Systems (LTSs) are a fundamental semantic model in many areas of informatics, especially concurrency theory. Yet, reasoning on LTSs and relations between their states can be difficult and elusive: very simple process algebra terms can give rise to a large (possibly infinite) number of intricate transitions and interactions. To ease this kind of study, we present LTSwb, a flex… ▽ More

    Submitted 19 August, 2015; originally announced August 2015.

    Comments: In Proceedings ICE 2015, arXiv:1508.04595

    ACM Class: D.2.2; D.3.1; F.3.2

    Journal ref: EPTCS 189, 2015, pp. 86-98

  36. A note on two notions of compliance

    Authors: Massimo Bartoletti, Tiziana Cimoli, G. Michele Pinna

    Abstract: We establish a relation between two models of contracts: binary session types, and a model based on event structures and game-theoretic notions. In particular, we show that compliance in session types corresponds to the existence of certain winning strategies in game-based contracts.

    Submitted 27 October, 2014; originally announced October 2014.

    Comments: In Proceedings ICE 2014, arXiv:1410.7013

    Journal ref: EPTCS 166, 2014, pp. 86-93

  37. Contract agreements via logic

    Authors: Massimo Bartoletti, Tiziana Cimoli, Paolo Di Giamberardino, Roberto Zunino

    Abstract: We relate two contract models: one based on event structures and game theory, and the other one based on logic. In particular, we show that the notions of agreement and winning strategies in the game-theoretic model are related to that of provability in the logical model.

    Submitted 17 October, 2013; v1 submitted 31 May, 2013; originally announced June 2013.

    Comments: In Proceedings ICE 2013, arXiv:1310.4019

    Journal ref: EPTCS 131, 2013, pp. 5-19

  38. An event-based model for contracts

    Authors: Massimo Bartoletti, Tiziana Cimoli, G. Michele Pinna, Roberto Zunino

    Abstract: We introduce a basic model for contracts. Our model extends event structures with a new relation, which faithfully captures the circular dependencies among contract clauses. We establish whether an agreement exists which respects all the contracts at hand (i.e. all the dependencies can be resolved), and we detect the obligations of each participant. The main technical contribution is a corresp… ▽ More

    Submitted 26 February, 2013; originally announced February 2013.

    Comments: In Proceedings PLACES 2012, arXiv:1302.5798

    Journal ref: EPTCS 109, 2013, pp. 13-20

  39. Lending Petri nets and contracts

    Authors: Massimo Bartoletti, Tiziana Cimoli, G. Michele Pinna

    Abstract: Choreography-based approaches to service composition typically assume that, after a set of services has been found which correctly play the roles prescribed by the choreography, each service respects his role. Honest services are not protected against adversaries. We propose a model for contracts based on a extension of Petri nets, which allows services to protect themselves while still realizing… ▽ More

    Submitted 30 May, 2013; v1 submitted 15 November, 2012; originally announced November 2012.

  40. Honesty by Ty**

    Authors: Massimo Bartoletti, Alceste Scalas, Emilio Tuosto, Roberto Zunino

    Abstract: We propose a type system for a calculus of contracting processes. Processes can establish sessions by stipulating contracts, and then can interact either by kee** the promises made, or not. Type safety guarantees that a typeable process is honest - that is, it abides by the contracts it has stipulated in all possible contexts, even in presence of dishonest adversaries. Type inference is decidabl… ▽ More

    Submitted 27 December, 2016; v1 submitted 12 November, 2012; originally announced November 2012.

    ACM Class: D.2.4; D.3.1; D.3.2; F.3.1; F.3.2

    Journal ref: Logical Methods in Computer Science, Volume 12, Issue 4 (April 27, 2017) lmcs:2619

  41. arXiv:1201.6188  [pdf, ps, other

    cs.PL

    On the realizability of contracts in dishonest systems

    Authors: Massimo Bartoletti, Emilio Tuosto, Roberto Zunino

    Abstract: We develop a theory of contracting systems, where behavioural contracts may be violated by dishonest participants after they have been agreed upon - unlike in traditional approaches based on behavioural types. We consider the contracts of \cite{CastagnaPadovaniGesbert09toplas}, and we embed them in a calculus that allows distributed participants to advertise contracts, reach agreements, query the… ▽ More

    Submitted 30 January, 2012; originally announced January 2012.

  42. arXiv:1108.0471  [pdf, ps, other

    cs.PL cs.DC cs.LO cs.SE

    Contracts in distributed systems

    Authors: Massimo Bartoletti, Emilio Tuosto, Roberto Zunino

    Abstract: We present a parametric calculus for contract-based computing in distributed systems. By abstracting from the actual contract language, our calculus generalises both the contracts-as-processes and contracts-as-formulae paradigms. The calculus features primitives for advertising contracts, for reaching agreements, and for querying the fulfilment of contracts. Coordination among principals happens… ▽ More

    Submitted 1 August, 2011; originally announced August 2011.

    Comments: In Proceedings ICE 2011, arXiv:1108.0144

    Journal ref: EPTCS 59, 2011, pp. 130-147

  43. arXiv:1010.5570  [pdf, ps, other

    cs.PL cs.LO cs.SE

    Primitives for Contract-based Synchronization

    Authors: Massimo Bartoletti, Roberto Zunino

    Abstract: We investigate how contracts can be used to regulate the interaction between processes. To do that, we study a variant of the concurrent constraints calculus presented in [1], featuring primitives for multi-party synchronization via contracts. We proceed in two directions. First, we exploit our primitives to model some contract-based interactions. Then, we discuss how several models for concurrenc… ▽ More

    Submitted 27 October, 2010; originally announced October 2010.

    Comments: In Proceedings ICE 2010, arXiv:1010.5308

    Journal ref: EPTCS 38, 2010, pp. 67-82