arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.15317cs.CL
收藏

PYTHEN:一种用于法律推理的灵活框架

PYTHEN: A Flexible Framework for Legal Reasoning in Python

Center for Juris-Informatics, ROIS-DS, Tokyo, Japan(法律信息中心,ROIS-DS,东京,日本);Research and Development Center for Large Language Models, NII, Tokyo, Japan(大语言模型研究开发中心,NII,东京,日本)

Ha-Thanh Nguyen, Ken Satoh

AI总结:

本文介绍PYTHEN,一种基于Python的新型法律推理框架,通过灵活的语法支持法律规则、条件和例外的表示,结合Python内置函数提升灵活性,并探讨其在自动形式化和下一代法律AI系统中的应用。

摘要:

本文介绍PYTHEN,一种基于Python的新型法律推理框架,旨在通过灵活的语法支持法律规则、条件和例外的表示,结合Python内置函数提升灵活性,并探讨其在自动形式化和下一代法律AI系统中的应用。

英文摘要:

This paper introduces PYTHEN, a novel Python-based framework for defeasible legal reasoning. PYTHEN is designed to model the inherently defeasible nature of legal argumentation, providing a flexible and intuitive syntax for representing legal rules, conditions, and exceptions. Inspired by PROLEG (PROlog-based LEGal reasoning support system) and guided by the philosophy of The Zen of Python, PYTHEN leverages Python's built-in any() and all() functions to offer enhanced flexibility by natively supporting both conjunctive (ALL) and disjunctive (ANY) conditions within a single rule, as well as a more expressive exception-handling mechanism. This paper details the architecture of PYTHEN, provides a comparative analysis with PROLEG, and discusses its potential applications in autoformalization and the development of next-generation legal AI systems. By bridging the gap between symbolic reasoning and the accessibility of Python, PYTHEN aims to democratize formal legal reasoning for young researchers, legal tech developers, and professionals without extensive logic programming expertise. We position PYTHEN as a practical bridge between the powerful symbolic reasoning capabilities of logic programming and the rich, ubiquitous ecosystem of Python, making formal legal reasoning accessible to a broader range of developers and legal professionals.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑