English

Can Legislation Be Made Machine-Readable in PROLEG?

Computation and Language 2026-01-06 v1

Abstract

The anticipated positive social impact of regulatory processes requires both the accuracy and efficiency of their application. Modern artificial intelligence technologies, including natural language processing and machine-assisted reasoning, hold great promise for addressing this challenge. We present a framework to address the challenge of tools for regulatory application, based on current state-of-the-art (SOTA) methods for natural language processing (large language models or LLMs) and formalization of legal reasoning (the legal representation system PROLEG). As an example, we focus on Article 6 of the European General Data Protection Regulation (GDPR). In our framework, a single LLM prompt simultaneously transforms legal text into if-then rules and a corresponding PROLEG encoding, which are then validated and refined by legal domain experts. The final output is an executable PROLEG program that can produce human-readable explanations for instances of GDPR decisions. We describe processes to support the end-to-end transformation of a segment of a regulatory document (Article 6 from GDPR), including the prompting frame to guide an LLM to "compile" natural language text to if-then rules, then to further "compile" the vetted if-then rules to PROLEG. Finally, we produce an instance that shows the PROLEG execution. We conclude by summarizing the value of this approach and note observed limitations with suggestions to further develop such technologies for capturing and deploying regulatory frameworks.

Keywords

Cite

@article{arxiv.2601.01477,
  title  = {Can Legislation Be Made Machine-Readable in PROLEG?},
  author = {May-Myo Zin and Sabine Wehnert and Yuntao Kong and Ha-Thanh Nguyen and Wachara Fungwacharakorn and Jieying Xue and Michał Araszkiewicz and Randy Goebel and Ken Satoh and Le-Minh Nguyen},
  journal= {arXiv preprint arXiv:2601.01477},
  year   = {2026}
}
R2 v1 2026-07-01T08:49:50.451Z