@inproceedings{a2af1407b59d481ea96c15f2884cc3e1,
title = "User-defined smart contracts using answer set programming",
abstract = "We present a novel approach to the creation of smart contracts that takes an existing legal document and allows it to be incrementally elaborated into a tested smart contract by domain experts. Smart contracts are currently built with compiled imperative languages, and suffer from lack of agility, elevated risks from errors and security flaws, and high development costs. This paper describes a smart editor that uses a declarative language (Answer Set Programming (ASP)) to represent the business logic of legal documents. The document is incrementally elaborated in a fixed sequence of steps beginning with an ontology discovery step that identifies the explicit and implicit artefacts and applicable constraints. This information is used to generate ASP representations which provide the foundation required for modelling the legal logic. Furthermore, we have achieved the verbalisation of rules built during modelling, and have developed a method of representing artefacts visually which allows logic modelling, model validation and program verification to be visual. During these steps, the original legal document is enhanced with additional embedded information, which results in a tested executable ASP program which can then be used as a smart contract if modifications are made to the blockchain smart contract infrastructure.",
keywords = "Answer Set Programming, Legal Logic, Model Validation, Ontology, Smart Contract, Verbalisation, Visualisation",
author = "Kevin Purnell and Rolf Schwitter",
year = "2022",
doi = "10.1007/978-3-030-97546-3_24",
language = "English",
isbn = "9783030975456",
series = "Lecture Notes in Computer Science",
publisher = "Springer, Springer Nature",
pages = "291--303",
editor = "Guodong Long and Xinghuo Yu and Sen Wang",
booktitle = "AI 2021: Advances in Artificial Intelligence",
address = "United States",
note = "34th Australasian Joint Conference on Artificial Intelligence, AI 2021 ; Conference date: 02-02-2022 Through 04-02-2022",
}