Your new experience awaits. Try the new design now and help us make it even better

ORIGINAL RESEARCH article

Front. Blockchain

Sec. Smart Contracts

Defeasible Logic Reasoner to Support Legal Reasoning in Smart Contracts on Blockchain

Provisionally accepted
Marko  MarkovićMarko Marković*Stevan  GostojićStevan Gostojić
  • University of Novi Sad Faculty of Technical Sciences, Novi Sad, Serbia

The final, formatted version of the article will be published soon.

The introduction of information and communication technologies in the legal domain has enabled the automation of some activities in the legal profession. With the advent of blockchain and smart contracts, new tools have emerged for lawyers and their clients, enhancing transparency and increasing trust compared to traditional legal instruments. Once deployed, smart contracts should be able to respond to various events that can occur during the contract's lifecycle. However, this kind of automation in smart contracts requires them to embed necessary legal knowledge and implement support for legal reasoning. In this paper, we propose a legal reasoning method for smart contracts that incorporates defeasible logic, a key requirement for automated reasoning in the legal domain. The entire reasoning process in our approach is performed on the blockchain infrastructure, making the drawing of conclusions fully transparent and accessible to all interested parties. To demonstrate our concept, we illustrate how certain rights prescribed under labour law can be embedded within a smart contract and deployed on the blockchain as a legal reasoning service. Then, we show how an employment contract can use the reasoning contract to automatically apply legal norms to infer conclusions and determine legal consequences in particular cases. We analyse the benefits and potential issues of this method and discuss directions for future work. Optimisation of the reasoning engine is one of the challenges we identified that needs to be tackled in future.

Keywords: Defeasible logic, Legal reasoning, Smart contracts, Blockchain, Solidity

Received: 13 Oct 2025; Accepted: 09 Dec 2025.

Copyright: © 2025 Marković and Gostojić. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) or licensor are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.

* Correspondence: Marko Marković

Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.