By Their Fruits You Will Know Them: Comparing Formalizations of Law by the Decisions They Encode

Julius Vernie, Matthias Grabmair


Abstract
Formalizing legal provisions promises machine-accessible law and automated legal reasoning, and recent LLMs make it tempting to generate such formalizations directly from statutory text. However, any formalization makes implicit interpretive choices whose consequences are hard to anticipate, especially if an LLM is the author. We present a method for systematically comparing different formalizations of the same legal provision by their inferences on individual cases. Given multiple formalizations of a provision, we match them at the node level, derive a shared interface for each pair from the matching, and use a SAT solver to enumerate the edge cases on which any two formalizations disagree. Selected edge cases are then verbalized into concrete factual scenarios that a legal expert can examine and act on. We apply our method to formalizations of ten EU provisions generated by nine frontier LLMs. We find that behavioral divergence between formalizations is essentially uncorrelated with their structural agreement and that the verbalized cases reveal qualitatively distinct types of disagreement, including divergences that mirror genuine controversies in the legal commentary.
Anthology ID:
2026.emnlp-main.2011
Volume:
Proceedings of the 2026 Conference on Empirical Methods in Natural Language Processing
Month:
October
Year:
2026
Address:
Budapest, Hungary
Editors:
Hung-Yi Lee, Sunipa Dev, Jessy Li, Desmond Elliott
Venue:
EMNLP
SIG:
SIGDAT
Publisher:
Association for Computational Linguistics
Note:
Pages:
45830–45855
Language:
URL:
https://aclanthology.org/2026.emnlp-main.2011/
DOI:
Bibkey:
Cite (ACL):
Julius Vernie and Matthias Grabmair. 2026. By Their Fruits You Will Know Them: Comparing Formalizations of Law by the Decisions They Encode. In Proceedings of the 2026 Conference on Empirical Methods in Natural Language Processing, pages 45830–45855, Budapest, Hungary. Association for Computational Linguistics.
Cite (Informal):
By Their Fruits You Will Know Them: Comparing Formalizations of Law by the Decisions They Encode (Vernie & Grabmair, EMNLP 2026)
Copy Citation:
PDF:
https://aclanthology.org/2026.emnlp-main.2011.pdf