Why Law Is Law-Shaped
Law's structure as an incrementally maintained, distributed system with stable addressing resembles software codebases, necessitating tools akin to compilers for accurate legal state representation. The hierarchical tree format of legal texts is a limitation of paper, while the actual operation of law forms a complex graph through cross-references, overrides, and dependencies. Amendments function as discrete operations rather than simple text edits, requiring systematic processing to maintain legal integrity over time.
- ▪Law is incrementally maintained, meaning changes are made through amendments to specific provisions rather than full restatements of legal codes.
- ▪Legal texts are structured as trees for navigability in print, but their inter-referential nature creates a functional graph structure across statutes and jurisdictions.
- ▪Amendments are formal operations with defined targets, actions, payloads, and sources, not mere textual edits, preserving the provenance and integrity of legal changes.
- ▪Systems like Akoma Ntoso, ELI, and LegalRuleML have long recognized the need to separate legal document structure from semantic content and relationships.
- ▪The legal system's reliance on stable, fine-grained addressing is critical to prevent broken references in contracts, court decisions, and other laws.
Opening excerpt (first ~120 words) tap to expand
Why Law Is Law-Shaped And why that shape demands a compiler. Elias Kunnas I. The Structural Constraint Law is an incrementally maintained system authored by distributed agents with partial authority over time, requiring stable fine-grained addresses for external reference. This structure holds across civil law, common law, and hybrid systems. The surface differs — statutes vs. acts, articles vs. sections, codified vs. uncodified — but the structural constraint is the same. Every element of the definition is load-bearing: Incrementally maintained: Parliament cannot restate the entire legal corpus each session. Amendments modify specific provisions of existing statutes.
…
Excerpt limited to ~120 words for fair-use compliance. The full article is at LawVM.