Table of Contents
Fetching ...

Policies for Fair Exchanges of Resources

Lorenzo Ceragioli, Pierpaolo Degano, Letterio Galletta, Luca Viganò

TL;DR

The paper addresses the problem of fair exchanges of digital resources on platforms where each participant specifies exchange policies. It introduces MuAC, a declarative policy language, and MuACL, a decidable logic that combines linear and non-linear reasoning with a linear contractual implication to capture circular promises. A correctness bridge is built by compiling MuAC policies into MuACL formulas, proving that exchange fairness reduces to MuACL provability and witness generation, amenable to a blockchain based NFT exchange with a TTP role implemented by a smart contract. The work demonstrates a rigorous, verifiable foundation for fair exchanges, enabling off chain proof generation with on chain verification, and points to practical deployment and future enhancements including richer policy features and time/value considerations.

Abstract

People increasingly use digital platforms to exchange resources in accordance with some policies stating what resources users offer and what they require in return. In this paper, we propose a formal model of these environments, focussing on how users' policies are defined and enforced, so ensuring that malicious users cannot take advantage of honest ones. To that end, we introduce the declarative policy language MuAC and equip it with a formal semantics. To determine if a resource exchange is fair, i.e., if it respects the MuAC policies in force, we introduce the non-standard logic MuACL that combines non-linear, linear and contractual aspects, and prove it decidable. Notably, the operator for contractual implication of MuACL is not expressible in linear logic. We define a semantics preserving compilation of MuAC policies into MuACL, thus establishing that exchange fairness is reduced to finding a proof in MuACL. Finally, we show how this approach can be put to work on a blockchain to exchange non-fungible tokens.

Policies for Fair Exchanges of Resources

TL;DR

The paper addresses the problem of fair exchanges of digital resources on platforms where each participant specifies exchange policies. It introduces MuAC, a declarative policy language, and MuACL, a decidable logic that combines linear and non-linear reasoning with a linear contractual implication to capture circular promises. A correctness bridge is built by compiling MuAC policies into MuACL formulas, proving that exchange fairness reduces to MuACL provability and witness generation, amenable to a blockchain based NFT exchange with a TTP role implemented by a smart contract. The work demonstrates a rigorous, verifiable foundation for fair exchanges, enabling off chain proof generation with on chain verification, and points to practical deployment and future enhancements including richer policy features and time/value considerations.

Abstract

People increasingly use digital platforms to exchange resources in accordance with some policies stating what resources users offer and what they require in return. In this paper, we propose a formal model of these environments, focussing on how users' policies are defined and enforced, so ensuring that malicious users cannot take advantage of honest ones. To that end, we introduce the declarative policy language MuAC and equip it with a formal semantics. To determine if a resource exchange is fair, i.e., if it respects the MuAC policies in force, we introduce the non-standard logic MuACL that combines non-linear, linear and contractual aspects, and prove it decidable. Notably, the operator for contractual implication of MuACL is not expressible in linear logic. We define a semantics preserving compilation of MuAC policies into MuACL, thus establishing that exchange fairness is reduced to finding a proof in MuACL. Finally, we show how this approach can be put to work on a blockchain to exchange non-fungible tokens.

Paper Structure

This paper contains 33 sections, 52 theorems, 105 equations, 7 figures.

Key Result

Theorem 5.6

An always-terminating algorithm exists that decides if an initial sequent is valid in MuACL.

Figures (7)

  • Figure 1: Policies of Alice, Bob, and Charlie expressed in natural language.
  • Figure 2: Examples of agreements among players.
  • Figure 3: MuACL rules.
  • Figure 4: Normal forms for MuACL proofs.
  • Figure 5: A MuACL proof for \ref{['ex:col-cir']} where double lines represent multiple applications of the same rule and dashed lines represent omitted trivial derivations.
  • ...and 2 more figures

Theorems & Definitions (133)

  • Example 2.1: Direct exchange
  • Example 2.2: I pay for you
  • Example 2.3: Circular Exchange
  • Example 2.4: Resource Supplier
  • Example 2.5: Policy violation
  • Example 2.6: Double Spending
  • Definition 3.1: Exchange and Exchange Environment
  • Example 3.2
  • Definition 3.3: Exchange Approval and Policies
  • Example 3.4
  • ...and 123 more