Comparison of Prior Work
Superseded. This table is a judgement made before the systems were run. On 25 November 2026 Cedar, OPA/Rego and XACML were run on all 69 cases: with a disclosed wrapper each reproduces every decision, and natively they decide 39, 63 and 53 cases. Only 6 cases (C025–C029 and C057) are decided natively by none of the three, all because they need state across queries. See Evaluation Results.
Step 2 of the research plan, written 18 November 2026. It covers angles 7, 11 and 17. Each system has a note in this folder; this page compares them. The table below is systems × features. The table of cases × systems that the plan asks for is Cases × Systems.
Notes in this folder
Table: systems × features
Key: ✓ = supported as a first-class part of the system. partial = possible or limited (note says how). ✗ = absent, or not applicable.
Column meanings:
- Hyper: one rule connects many entity types (person, position, agent, asset class, action, use case, form, recipient).
- Purpose: purpose or use case as a structured, first-class notion.
- Form: an ordered ladder of output forms, with caps that lower the form.
- Forbid: forbid always overrides permit, as a property of the language.
- Bound: absolute boundaries that no other rule, owner or model can override.
- Default: a different default per class of asset.
- Deleg: delegation, acting on behalf of someone.
- Time: time and asset state in conditions.
- History: decisions depend on what was released before (disclosure).
- Prob: probability over uncertain facts.
- Sem: a formal semantics.
- Mech: machine-checked proofs about the language or engine.
- Analysis: rule-set analysis (equivalence, implication, change impact).
- Explain: a proof object or explanation per decision.
- LLM NI: a stated guarantee that a model's readings cannot cross a boundary.
| System | Hyper | Purpose | Form | Forbid | Bound | Default | Deleg | Time | History | Prob | Sem | Mech | Analysis | Explain | LLM NI |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Cedar (+Lean, SymCC) | partial: 4 fixed slots + context | ✗ | ✗ | ✓ | partial: any forbid wins, no protected tier | ✗ (always deny) | ✗ | partial: datetime attributes | ✗ | ✗ | ✓ | ✓ | ✓ | partial: which policies decided | ✗ |
| OPA / Rego | partial: any JSON | ✗ | ✗ | partial: author writes it | ✗ | partial: programmable | ✗ | partial | ✗ | ✗ | ✗ | ✗ | ✗ | partial: traces | ✗ |
| XACML 3.0 | partial: attribute categories | partial: purpose attribute (privacy profile) | ✗ | partial: one of several algorithms | partial: top-level deny-overrides | partial: via combining algorithm | partial: delegation profile | partial | ✗ | ✗ | partial: third-party | ✗ | ✓ (Margrave, ASP tools) | partial: obligations, advice | ✗ |
| ODRL 2.2 | partial: n-ary via constraints | partial: purpose operand, stated not checked |
partial: actions like aggregate, anonymize, no order |
partial: conflict option, default void |
✗ | ✗ | partial: assigner, assignee | ✓ | partial: count |
✗ | partial: draft | ✗ | partial: academic | ✗ | ✗ |
| Zanzibar / OpenFGA / SpiceDB | partial: binary relations | ✗ | ✗ | partial: but not |
✗ | ✗ | partial: usersets | partial: caveats, expiry | ✗ | ✗ | partial: simple, informal | ✗ | ✗ | partial: expand tree | ✗ |
| Oso Polar | partial | ✗ | ✗ | partial: by negation | ✗ | ✗ | partial | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | partial: trace | ✗ |
| SecPAL | ✓ | ✗ | ✗ | partial: negation in queries only | ✗ | ✗ | ✓ | partial: constraints | ✗ | ✗ | ✓ | ✗ | ✗ | ✓ proof graphs | ✗ |
| DKAL | partial | ✗ | ✗ | ✗ | ✗ | ✗ | ✓ | partial | ✗ | ✗ | ✓ | ✗ | ✗ | partial | ✗ |
| RT / Binder | partial: roles | ✗ | ✗ | ✗ (monotone) | ✗ | ✗ | ✓ | ✗ | ✗ | ✗ | ✓ | ✗ | ✓ (safety, containment) | partial: credential chains | ✗ |
| Datalog / Soufflé | ✓ n-ary | ✗ | partial: encodable | partial: stratified negation | ✗ | partial: programmable | partial | partial | partial: log as facts | ✗ | ✓ | partial: verified engines exist | partial: fragments only | ✓ derivations | ✗ |
| ProbLog | ✓ | ✗ | ✗ | partial | ✗ | ✗ | ✗ | ✗ | ✗ | ✓ | ✓ | ✗ | ✗ | partial: MPE, proofs | ✗ |
| Scallop | ✓ | ✗ | ✗ | partial | ✗ | ✗ | ✗ | ✗ | ✗ | ✓ | ✓ | ✗ | ✗ | ✓ top-k proofs | ✗ |
| ASP / clingo | ✓ | ✗ | partial: optimisation | partial | ✗ | partial: defaults with exceptions | ✗ | partial: telingo | ✗ | partial: many models, extensions | ✓ | ✗ | ✓ as analyser | partial | ✗ |
| Deontic logic | ✗ | ✗ | ✗ | partial: conflict is inconsistency | ✗ | ✗ | ✗ | partial: temporal variants | ✗ | ✗ | ✓ | ✗ | partial | ✗ | ✗ |
| Contextual integrity (Barth et al., LPU, PrivacyLFP) | partial: sender, recipient, subject, attribute, context | partial: contexts, purpose as goal formula | ✗ | ✓ all negative norms must hold | partial: negative norms | ✗ | ✗ | ✓ LTL past and future | partial: knowledge grows, no differencing | ✗ | ✓ | ✗ | ✓ entailment in PSPACE | partial: residual policies | ✗ |
| PBAC (Byun and Li) | partial | ✓ purpose tree | ✗ | ✓ prohibited wins | partial | ✗ | ✗ | ✗ | ✗ | ✗ | partial | ✗ | ✗ | ✗ | ✗ |
| Purpose restrictions (Tschantz, Datta, Wing) | ✗ | ✓ purpose as planning | ✗ | partial | ✗ | ✗ | ✗ | partial | partial: audit log | partial: MDP | ✓ | ✗ | ✗ | ✗ | ✗ |
| Query auditing | ✗ | ✗ | partial: aggregates only | ✗ | ✗ | ✗ | ✗ | ✗ | ✓ | partial: partial compromise | ✓ | ✗ | ✗ | ✗ | ✗ |
| Differential privacy | ✗ | ✗ | partial: noisy aggregates | ✗ | ✗ | ✗ | ✗ | ✗ | ✓ budget | partial: randomised release | ✓ | partial: verified frameworks | ✗ | ✗ | ✗ |
| IFC / non-interference | ✗ | ✗ | ✗ | ✗ | ✓ the lattice | partial: default labels | partial: DLM acts-for | partial: floating labels | ✗ | ✗ | ✓ | partial: many type systems | partial: type checking | ✗ | partial: theory only |
| CaMeL | ✗ | ✗ | ✗ | partial: per-tool code | partial | ✗ | ✗ | ✗ | partial: within a task | ✗ | ✗ (by construction) | ✗ | ✗ | partial: dependencies | partial: control flow, informal |
| FIDES | ✗ | ✗ | partial: capacity types for answers | ✓ | ✓ P-T, P-F fixed | ✗ | ✗ | partial: session label | partial: within a session | ✗ | ✓ | ✗ | ✗ | partial: labels | partial: paper proof, labels only |
| Progent | ✗ tools and arguments | ✗ | ✗ | partial: priority first | ✗ | ✗ (always block) | ✗ | partial: updates | ✗ | ✗ | partial | ✗ | partial: overlap via Z3 | partial: fallback reason | ✗ (model may widen) |
| Conseca | ✗ | partial: per-task policy | ✗ | partial | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | partial: human-readable policy | partial: deterministic check |
| AgentSpec | ✗ | ✗ | ✗ | partial | ✗ | ✗ | ✗ | partial: triggers | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ |
| ShieldAgent / ProbGuard | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | partial | partial: traces | ✓ | partial | ✗ | ✗ | partial | ✗ |
| PCAS (Datalog for agents) | ✓ n-ary | ✗ | ✗ | partial | ✗ | ✗ | ✗ | ✓ | partial: event history | ✗ | ✓ | ✗ | ✗ | partial | ✗ (not checked) |
| AgentCore Policy (Cedar) | as Cedar | ✗ | ✗ | ✓ | partial | ✗ | partial: identity of caller | partial | ✗ | ✗ | ✓ | ✓ | ✓ | partial | ✗ |
| Our language (target) | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
Notes on reading the table:
- "✓" for a theory (contextual integrity, query auditing) means the theory has it, not that a production system does.
- Rows for agent defences (CaMeL to AgentCore) are based on the papers' own claims plus our reading. We did not run any of them.
- Masking and row-access policies in databases (for example Snowflake, Oracle Virtual Private Database) do produce graded forms in practice. We did not survey them here. They have no formal semantics that we know of, but they belong in step 10's baselines.
What seems new
Each idea we need exists somewhere. Cedar has the fixed algebra with machine-checked proofs and decidable rule-set analysis. Contextual integrity has recipients, contexts and temporal norms with decidable entailment. Byun and Li have the purpose tree with "prohibition wins". Query auditing has the ledger and the rule that refusals must not leak. ProbLog and Scallop have a clean semantics for uncertain facts. FIDES has a proved non-interference result for an agent loop.
No system we found puts these together, and the combination is where the hard part is. Four things seem new, stated as a reviewer would accept them:
- The decision is a form, not a bit. Rules combine over an ordered ladder of output forms (metadata < count < aggregated < anonymised < pseudonymised < summarised < raw). Caps lower the form, forbids are absorbing, and the released form is the weakest one the use case needs and the ceiling allows. We found no access-control language with this as a typed, analysable part of its semantics. ODRL has the actions but no order; differential privacy and query auditing cover only numeric aggregates.
- A non-interference theorem against the model's readings, for an organisational rule language. Inputs are split by type into trusted facts and model readings. The theorem says: for any two readings with the same trusted facts, the boundary part of the decision is the same. FIDES proves something of this kind for labels on a planner; CaMeL and Progent argue by construction. None proves it for rules over people, positions, use cases and forms, and none mechanizes it.
- Probability is confined, and the confinement is a theorem. Readings are probabilistic (distribution semantics), but boundaries hold in every possible world, so they hold with probability 1 whatever the model's confidence is. Probability decides only between allow and ask, inside what the trusted facts already permit. ShieldAgent and ProbGuard use probabilities but give no such separation.
- History and access rules in one decision, with refusals that do not leak. The ledger of releases is checked against differencing (for sums and counts) by a simulatable auditor, and its verdict is one more trusted input to the same decision. PCAS has history in Datalog for agents, but not disclosure; query auditing has disclosure, but no access rules.
The use case as a first-class entity (owner, positions, maximum form, recipients, validity) sits between Byun and Li's purposes and contextual integrity's contexts. On its own it is not new. It becomes new as the thing that model readings are allowed to select, and nothing more.
What we cannot claim: that we solve purpose verification in general (Tschantz, Datta and Wing show purpose is a property of a plan, not of one request); that the ledger protects anything beyond the query classes auditing theory covers (Dinur and Nissim set a hard limit for many accurate aggregate answers); and that readings are right (the theorem bounds the damage of a wrong reading, it does not prevent it).
Most important to reuse
- Cedar's verification method and its decidable rule shape (Cutler et al. 2024; Disselkoen et al. 2024; Torlak, SymCert 2026). The semantics in Lean, proofs of forbid-overrides, default deny and order independence, differential testing of the engine, and an SMT encoding of quantifier-free rules for "equivalent", "implies" and "disjoint". We can follow it step by step, and compile the certain part of our rules to Cedar.
- Stratified Datalog with provenance (Ceri, Gottlob, Tanca 1989; Green, Karvounarakis, Tannen 2007; Scallop 2023). A unique model, guaranteed termination, polynomial decisions, and a derivation tree for every decision that a small separate checker can re-check. The same rules run with a Boolean semiring for the certain decision and a probability semiring for the uncertain one.
- Non-interference and robust declassification as the form of the boundary theorem (Goguen and Meseguer 1982; Zdancewic and Myers 2001; FIDES 2025). Readings are typed as untrusted; boundary predicates accept only trusted inputs; readings may choose among releases the trusted facts allow but never widen them. From FIDES: readings are small enums over known use cases, never free text.
- Simulatable auditing for the ledger (Kenthapadi, Mishra, Nissim 2005; Chin and Özsoyoğlu 1982). The decision to refuse may depend on the request, the ledger and the rules, never on the value that would be released. Answered sums are kept as linear constraints and checked before each release.
- Contextual integrity's flow shape and residual policies (Barth, Datta, Mitchell, Nissenbaum 2006; Garg, Jia, Datta 2011). Flows are (sender role, recipient, subject, attribute, context). "Allowed by some positive norm and by all negative norms" is a combining rule with a logical reading. Over three-valued facts,
reduceleaves a residual policy, and that residual is exactly the question an "ask" puts to a person.
Close behind: Byun and Li's purpose tree with "prohibition covers descendants" (for classes of use cases); ProbLog's annotated disjunctions for "one of these use cases"; RT's security analysis over future states ("can this ever reach an outside recipient if owners keep approving"); XACML's split Indeterminate{D,P,DP}; ODRL's vocabulary and duties.
Recommended logical fragment
This is a recommendation for step 3, not a result. Nothing below is proved yet, and it must be tested against the cases of step 1.
The fragment. Stratified Datalog over a finite, typed universe, in two layers, with a fixed effect algebra.
- Facts layer. Trusted facts only (directory, catalogue, approvals, clock, ledger verdict). Recursion is allowed here, but only to compute the closure of declared hierarchies (asset in class, team in department, position under position). This is ordinary recursive Datalog: polynomial, terminating, one model.
- Rules layer. Each rule is a hyperedge: a quantifier-free conjunction of atoms over the request's entities, their classes (from the closure), their attributes, constants, and order constraints over two finite or dense orders (the form ladder and time). No recursion in rules. Negation only over facts-layer predicates, so it is stratified.
- Effect algebra. A fixed, finite set of effects (permit up to form f, cap at form f, forbid, ask, duty). They combine by an operation that is commutative, associative and idempotent: forbid absorbs; caps take the minimum; permits take the maximum; the result is the meet of the permitted form and all caps. The released form is the weakest form the use case needs, if it is below that meet. The default per class of asset is a fact, not a rule.
- Readings. A separate sort, filled by the model, each a choice from a finite enum (which use case, which purpose). Two options, which is decision 3 in the plan. Option A: readings may appear only in rules that narrow (cap, forbid, ask). Then the boundary theorem is plain monotonicity. Option B: readings may also select a use case, but only among those the trusted facts already permit for this person and asset. Then the theorem is a robust-declassification statement: the decision is never above the ceiling computed from trusted facts alone. Both are syntactic restrictions a checker can enforce.
- Probability. ProbLog's distribution semantics over the readings only, as annotated disjunctions. Requests have few uncertain variables, so exact inference by listing the possible worlds is feasible. Boundaries are decided before probability is used.
- History. Outside the logic. A separate auditor keeps the ledger (linear constraints for sums and counts) and returns a trusted fact such as
ledger_ok(request), decided in a simulatable way.
Why this fragment.
- Per-request decisions are polynomial (in practice, linear in the rules retrieved for the request's entities), always terminate and have exactly one result. That is what we need for "decisions terminate and are unique".
- Rule-set questions stay decidable. Because rules are quantifier-free over the request's entities and finite orders, questions such as "are these two rule sets equivalent", "does this change allow anything new" and "can any request cross this boundary" become satisfiability of quantifier-free formulas over finite sorts and linear order. That is decidable (NP-complete in the worst case) and is exactly the regime where Cedar's analyser works. If we allowed recursion or negation inside rules, equivalence would become undecidable in general (Shmueli 1987 for recursive Datalog; first-order logic for non-recursive Datalog with negation).
- Every decision has a derivation tree. A small checker that knows only the effect algebra can re-check it.
- The non-interference theorem becomes a typing result (readings cannot reach boundary predicates), which is the easiest kind of theorem to prove in Lean.
- The certain part maps onto Cedar (permit, forbid, hierarchy), and the whole maps onto Scallop or ProbLog. Both are needed for step 6.
What it deliberately leaves out.
- Temporal logic. Contextual integrity's LTL is more expressive but PSPACE for policy questions. Time enters as facts and interval constraints. Duties that refer to the future ("notify the subject afterwards") are separate obligations checked by a monitor, as in ODRL; weak and strong compliance can come later.
- Modal deontic operators, because of the paradoxes. Permissions are for concrete tuples, never derived by logical consequence.
- Multiple models (ASP) in decisions. clingo and SMT are used only as analysers.
- Model-written or model-widened rules at run time (Progent-LLM, Conseca). A model may draft a rule; only an approved rule enters the rules layer.
Open risks to check in step 3.
- Some cases may need recursion in rules (for example chains of delegation). SecPAL and RT handle these in Datalog. If so, recursion should be limited to delegation over trusted facts, kept in the facts layer, so the rules layer stays quantifier-free.
- Aggregates over history beyond sums and counts (summaries, free text) are not covered by any auditing theory. For those the honest answer is deny, ask, or a noisy release.
- Exact probabilistic inference stops being cheap if readings are many and correlated.