Reproduce “LLM-Assisted Formalization Enables Deterministic Detection of Statutory Inconsistency in the Internal Revenue Code” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Borchuluun Yadamsuren, Steven Keith Platt, Miguel Diaz

A hybrid neuro-symbolic framework deterministically detects statutory inconsistencies in complex legal texts, showcasing its reliability by identifying a known conflict within IRC Section 121. The system, leveraging LLM-assisted Prolog formalization, achieved 100% success in finding the inconsistency, significantly outperforming an LLM used as a standalone probabilistic reasoning engine which had only a 33% success rate.

Key insights

  • LLMs serve as effective assistive tools for legal formalization, prompt augmentation, and debugging, but are unreliable as standalone primary reasoning engines for deterministic legal analysis.
  • Symbolic logic systems provide the essential deterministic execution, auditable logic, and reproducible results that are non-negotiable for high-stakes legal applications.
  • The research computationally mapped a precise 'inconsistency zone' within IRC §121, identifying the exact parameters where different statutory interpretations diverge and converge, providing insights into statutory design.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.