Open Access. Powered by Scholars. Published by Universities.®

Law Commons

Open Access. Powered by Scholars. Published by Universities.®

Contracts

Research Collection Yong Pung How School Of Law

2023

Contract automation

Articles 1 - 1 of 1

Full-Text Articles in Law

Deontics And Time In Contracts: An Executable Semantics For The L4 Dsl, Seng Joe Watt, Oliver Goodenough, Meng Weng (Huang Mingrong) Wong Dec 2023

Deontics And Time In Contracts: An Executable Semantics For The L4 Dsl, Seng Joe Watt, Oliver Goodenough, Meng Weng (Huang Mingrong) Wong

Research Collection Yong Pung How School Of Law

Existing approaches to modelling contracts often rely on deontic logic to reason about norms, and only treat time qualitatively. Using L4, a textual domain specific language (DSL) for the law, we offer a more operational interpretation of norms, based on states and transitions, that also accounts for the granular timing of events. In this paper, we present a higher-level rendering of the loan agreement from Flood & Goodenough in L4, and an accompanying operational semantics amenable to execution and static analysis. We also implement this semantics in Maude and show how this lets us visualize the execution of the loan …