Algebraic Semantics of Governed Execution: Monoidal Categories, Effect Algebras, and Coterminous Boundaries
Alan L. McCann

TL;DR
This paper develops an algebraic, compositional semantics for governed execution using monoidal categories and effect systems, ensuring governance properties are preserved and verified within a formal framework.
Contribution
It introduces a formal, mechanized algebraic framework for governed execution that guarantees governance properties through axioms and categorical structures, with verified properties and an executable OCaml implementation.
Findings
Verified coherence conditions in the governance category
Capability bounds ensure only governance-preserving handlers are constructed
Executable OCaml implementation matches the formal specification with property-based testing
Abstract
We present an algebraic semantics for governed execution in which governance is axiomatized, compositional, and coterminous with expressibility. The framework, mechanized in 32 Rocq modules (~12,000 lines, 454 theorems, 0 admitted), is built on interaction trees and parameterized coinduction. A three-axiom GovernanceAlgebra record (safety, transparency, properness) induces a symmetric monoidal category with verified pentagon, triangle, and hexagon coherence, where every tensor composition preserves governance. An algebraic effect system constrains the handler algebra so that only governance-preserving handlers can be constructed in the safe fragment; programs in the empty capability set provably emit only observability directives. Capability-indexed composition bundles programs with machine-checked capability bounds, and a dual guarantee theorem establishes that within_caps and gov_safe…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
