Skip to content

Fragment of Algorithmic Contract Types Unified Standard in metric temporal logic

Notifications You must be signed in to change notification settings

cspr-rad/mtl-actus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MTL ACTUS

Abstract

A financial contract is an interaction between people involving money. Complex interactions among these parties may result in misunderstandings and errors, potentially leading to financial losses for all involved—an undesirable outcome. Previously, the Algorithmic Contract Types Unified Standard (ACTUS) attempted to tackle this twin problem by rendering interactions as atomic state machines that compose together. In this paper, we take a natural next step to Metric Temporal Logic (MTL) and take a contract to be an MTL specification, showing the proof of concept on the principal at maturity loan (PAM). Along the way, we implement MTL in the Lean prover. The code is available at the https url https://github.com/cspr-rad/mtl-actus.

Build (nix flakes)

Lean codebase

cd src
direnv allow
lake test

whitepaper

nix build .#whitepaper

About

Fragment of Algorithmic Contract Types Unified Standard in metric temporal logic

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published