Computational Law Governs AI Systems with Wolfram Language.

James K. Wiles· August 17, 2026 View original

Key takeaways

  • AI governance can be achieved by formalizing obligations, permissions, and prohibitions, rather than understanding internal reasoning.
  • Computational law, implemented in Wolfram Language, can integrate legal rules directly into AI operational code.
  • GPT-4 currently struggles with accurately translating natural language legal statements into formal computational logic.
  • Formalized rules enable AI systems to produce auditable justifications for their behavior, enhancing transparency and compliance.

Who benefits

LegalTechGovernance & ComplianceAI EthicsRoboticsFinancial Services

Summary

This paper presents an implementation of Reified Input/Output Logic in Wolfram Language for governing AI systems, demonstrating how formalized rules can extend into an agent's operational code to produce auditable justifications for its behavior. It also highlights GPT-4's failures in translating legal statements into this formal logic.

Governing AI systems, especially those with opaque reasoning, doesn't necessarily require understanding their internal logic. Instead, effective governance focuses on clearly defining what an AI system is obligated, permitted, or forbidden to do, and then verifying its compliance. This research introduces an implementation of Reified Input/Output Logic, a formalism underpinning the DAPRECO knowledge base, within Wolfram Language. This implementation covers core I/O axioms, obligations, permissions, constitutive norms, reified eventualities, and temporal operators. The study then explores the capability of GPT-4 to translate English legal statements into this formal computational law. The results reveal several shortcomings, including the hallucination of functions, omission of crucial temporal scopes, deviations from the specified formalism, and, in some cases, generating plausible-looking but fundamentally incorrect code that silently encodes the wrong norms. A practical case study involving an "AI guard dog" operating under a computational contract illustrates the potential. It shows how formalized rules can directly integrate into an embodied agent's operational code, enabling the AI to produce symbolic, auditable justifications for its actions. The author advocates for computational law as a powerful governance tool, suggesting that formalizing programmatically executable legal rules should be a key objective for future AI regulation.

Why it matters

Professionals involved in AI ethics, governance, legal compliance, and system design can leverage computational law to create transparent, auditable, and compliant AI systems, mitigating legal and ethical risks and building public trust.

How to implement this in your domain

  1. 1Explore the principles of computational law and Reified Input/Output Logic for defining AI system behavior and compliance.
  2. 2Investigate using formal languages like Wolfram Language to encode legal and ethical rules directly into AI system specifications or operational code.
  3. 3Develop tools and processes for automatically checking AI system actions against formalized legal and ethical obligations.
  4. 4Implement mechanisms for AI systems to generate symbolic, auditable justifications for their decisions and actions based on encoded rules.
  5. 5Train legal and compliance teams on the potential of computational law to bridge the gap between legal text and AI system behavior.

Original post by James K. Wiles

"arXiv:2608.13958v1 Announce Type: new Abstract: How do we govern AI systems whose reasoning we cannot fully inspect? Governance does not require understanding a system's reasoning. It requires stating what the system is obliged, permitted, and forbidden to do, and checking whethe…"

View on X

Originally posted by James K. Wiles on X · view source

Want to go deeper?

Turn these trends into skills with Learnijoy's hands-on AI & tech courses.

Explore courses

More in AI News & Tools