Protection Monotonicity and Canonical Selector Algebra for Auditable State Machines

Public source edition. Original dates, research statuses, numerical results and stated limits belong to this source. Any private material is identified by a custody notice in the text.

Protection Monotonicity and Canonical Selector Algebra for Auditable State Machines

Author: E. M. Honeycutt III Affiliation: Honeycutt Ai Labs, Princeton, TX License: CC BY-NC 4.0 Prepared: 2026-09-30


The short version

Stateful control systems often enforce permissions, prohibitions, revocations, and exceptions over structured request domains. The difficult failures occur not when a policy is obviously removed, but when protection is weakened indirectly through restoration, supersession, partial replacement, lineage changes, policy updates, or future transition types whose implementations do not explicitly reason about earlier restrictions.

This paper develops a kernel-wide protection monotonicity framework for auditable state machines. Protection is represented as a function over a canonical request domain rather than as a collection of policy objects. Ordinary transitions are required to preserve or strengthen effective protection at every request point. Any decrease must occur through a separately typed and specifically authorized relaxation operation.

The principal technical problem is deciding whether

$$ \Pi_{S'}(x)\succeq\Pi_S(x) \qquad \forall x\in D $$

without enumerating an infinite or combinatorial request domain (D).

We solve this problem through a canonical selector algebra and exact finite partition construction. Selectors are normalized into semantic regions built from exact values, finite sets, wildcards, finite categorical predicates, and bounded or unbounded integer intervals. The boundaries induced by all active selectors partition the request space into finitely many cells on which policy applicability, and therefore effective protection, is constant. Protection comparison over the entire request domain then reduces to evaluation at one canonical representative per nonempty cell, with effective protection computed as a lattice join of all applicable rules (see the Effective Protection as Join and Monotonicity Theorem sections for the combinator requirement this imposes). Property-based tests specify the verification targets for normalization, exact containment and intersection, cell completeness, protection constancy, non-bypass, restore non-resurrection, and kernel-wide monotonicity; no implementation is verified here.

The framework formalizes global and lineage-scoped revocations, precedence, supersession, partial replacement, restore semantics, ordinary policy updates, explicit RELAX_REVOCATION transitions, rejection versus invariant failure, and future-event safety.

The result is a general method for turning protection preservation from an implementation convention into a machine-checkable semantic invariant.

Introduction

Authorization systems are commonly represented as collections of rules. A state may contain permissions, prohibitions, revocations, exceptions, scope selectors, lineage constraints, precedence levels, and replacement relationships. Implementations then determine whether a request is permitted by evaluating some subset of these objects.

This representation is operationally convenient but makes one important question surprisingly difficult: did this state transition weaken protection anywhere?

A transition can appear locally valid while producing a weaker global state. A snapshot restore may contain authority that was later revoked. Replacing one revocation with a narrower successor exposes the uncovered region. Changing a wildcard selector into a finite set leaves a gap. A lineage-specific policy may override a stronger global prohibition. Modifying interval endpoints can make a single request value newly permitted. A new transition type introduced without explicit protection reasoning may accidentally bypass existing revocation logic. In each case, testing only the policy object that changed is insufficient. Protection is an emergent property of the complete active rule set.

The correct comparison is therefore between two functions:

$$ \Pi_S:D\rightarrow\mathcal P $$

and

$$ \Pi_{S'}:D\rightarrow\mathcal P, $$

where (D) is the request domain and $\mathcal P$ is an ordered protection space. An ordinary transition is safe only if

$$ \forall x\in D: \Pi_{S'}(x)\succeq\Pi_S(x). $$

This paper develops a method for checking that condition exactly.

Protection as a Semantic Function

Let a request be represented by a tuple

$$ x= (x_1,\ldots,x_n) \in D. $$

Dimensions might include operation type, resource, actor, capability, lineage, environment, integer quantity, time bucket, and object class.

Policies are implementation objects. Protection is the semantic result after all applicable policies have been resolved. Define

$$ \Pi_S(x) $$

as the effective protection applied to request (x) in state (S). This distinction is fundamental. Two states may contain different policy objects yet implement the same function:

$$ \Pi_{S_1}=\Pi_{S_2}. $$

Conversely, a superficially small object change may alter protection for a large region of (D). The invariant must therefore compare semantics rather than policy syntax.

Canonical Protection Ordering

To compare protection, define an ordered set

$$ (\mathcal P,\preceq). $$

In the simplest binary system:

$$ ALLOW\prec DENY. $$

A more expressive lattice might contain:

$$ ALLOW \prec ALLOW_CONSTRAINED \prec REQUIRE_AUTH \prec DENY. $$

The exact labels are domain-specific. The essential condition is that the ordering encode protection strength. If

$$ p_1\preceq p_2, $$

then (p_2) is at least as protective as (p_1). The monotonicity direction is therefore:

$$ \Pi_{S'}(x)\succeq\Pi_S(x). $$

Partial Orders

Protection need not always admit a total order. Consider two restrictions:

$$ p_A= \text{network denied, filesystem allowed}, $$

$$ p_B= \text{network allowed, filesystem denied}. $$

Neither is universally stronger. A more general design represents protection as a product lattice:

$$ \mathcal P = \mathcal P_1\times\cdots\times\mathcal P_m. $$

Then $p\preceq q$ iff $p_j\preceq_j q_j$ for all (j). This allows monotonicity to be evaluated independently across protection dimensions. The binary examples used below are therefore special cases of the general framework.

The Kernel-Wide Protection Invariant

Let

$$ T:S\times E\rightarrow S' $$

be a state transition. For every ordinary transition type,

$$ \boxed{ \forall x\in D: \Pi_{S'}(x)\succeq\Pi_S(x) } $$

must hold unless the transition explicitly belongs to a class authorized to reduce protection. This is the kernel-wide monotonicity invariant. It applies to policy updates, restore operations, corrections, supersession, capability reissue, lineage operations, administrative transitions, and future event types. The importance of making the invariant kernel-wide is that future developers do not need to remember every historical revocation mechanism when implementing a new event type. The global checker supplies the safety boundary.

Protection Decrease

A decrease occurs when

$$ \exists x\in D: \Pi_{S'}(x)\prec\Pi_S(x). $$

Define the decreased region

$$ \Delta^{-}(S,S') = { x\in D: \Pi_{S'}(x)\prec\Pi_S(x) }. $$

Ordinary transitions require

$$ \Delta^{-}(S,S')=\varnothing. $$

A protection-relaxation transition may permit a nonempty $\Delta^{-}$, but only within its explicitly authorized scope.

Explicit Relaxation

Protection reduction is represented by a separate typed event:

$$ RELAX_REVOCATION. $$

This event is not an ordinary policy update. It has its own authorization contract. Let $R\subseteq D$ be the authorized relaxation domain. Then a valid relaxation requires

$$ \Delta^{-}(S,S') \subseteq R. $$

Protection outside the authorized relaxation region remains monotonic:

$$ \forall x\notin R: \Pi_{S'}(x)\succeq\Pi_S(x). $$

This yields a strong semantic property:

$$ \boxed{ \text{Every protection decrease must be attributable to an authorized relaxation event.} } $$

Why Ordinary Supersession Cannot Relax

Suppose revocation (r_1) protects domain (A). A successor (r_2) claims to supersede (r_1). If ordinary supersession were allowed to replace (A) with narrower region $B\subset A$, then requests in $A\setminus B$ would become less protected. The successor would function as a hidden relaxation. Ordinary supersession instead requires:

$$ \forall x\in D: Protection(r_2,x) \succeq Protection(r_1,x) $$

after accounting for other active higher-precedence rules. If not, the supersession request is rejected.

Revocation Objects

A revocation can be modeled as

$$ r= ( id, selector, lineage, precedence, protection, status, predecessor ). $$

The selector identifies the request region. The lineage identifies the branch or authority tree to which the revocation applies. Precedence determines how overlapping policies interact. Protection identifies the imposed restriction. Status may include: ACTIVE, SUPERSEDED, RELAXED, EXPIRED, REVOKED. Historical objects remain in the ledger even when no longer effective.

Global and Lineage-Scoped Revocation

A global revocation applies across all lineages:

$$ selector_{lineage}=*. $$

A lineage-scoped revocation applies only where

$$ lineage(x)\in L. $$

A lineage-specific permission cannot bypass an active global prohibition. If (r_g) is global and stronger than (r_l),

$$ Protection(r_g,x) \succeq Protection(r_l,x), $$

then the effective protection remains governed by (r_g). Specificity alone does not defeat prohibition.

Precedence

Let policy precedence be represented by

$$ prec(r)\in\mathbb Z $$

or another totally ordered domain. A naive resolver might select only the highest-precedence applicable rule. That model is unsafe if a lower-precedence prohibition can be silently erased by an unrelated higher-precedence permission. Instead, precedence must be defined together with protection semantics. One safe formulation treats active prohibitions as joins:

$$ \Pi_S(x) = \bigvee_{r\in Applicable(S,x)} Protection(r). $$

A policy can then strengthen protection but cannot reduce an independently active stronger prohibition unless explicit relaxation semantics permit it.

The join formulation is the combinator this framework requires. Non-join combinators, for example highest-rank-wins schemes with state-dependent rank, may produce protection values that vary across points sharing the same selector membership, violating the cell-constancy assumption that the Core Equivalence Theorem depends on. Implementers using non-join combinators must independently verify that effective protection is a pure function of the Active rule set before applying the partition algorithm.

Effective Protection as Join

If $\mathcal P$ is a lattice, define

$$ \Pi_S(x) = \bigvee { p_r: r\in Active(S), x\in selector(r) }. $$

The join operator provides a natural model for overlapping restrictions. For binary protection:

$$ ALLOW\vee DENY=DENY. $$

Thus one active prohibition is sufficient to protect the request regardless of weaker overlapping rules. Relaxation requires changing the active prohibitions themselves rather than inserting a conflicting permission.

Supersession

Let (r_2) supersede (r_1). A valid ordinary supersession requires: (1) (r_1) is an eligible active predecessor; (2) (r_2) has valid lineage relationship; (3) (r_2) does not weaken the predecessor's effective protection; (4) stronger overlapping rules remain effective; (5) the ledger records the replacement edge. After commit:

$$ status(r_1)=SUPERSEDED $$

and

$$ status(r_2)=ACTIVE. $$

The effective protection must satisfy kernel-wide monotonicity.

Partial Replacement

A successor may replace only part of a predecessor's domain. Suppose

$$ selector(r_1)=A $$

and

$$ selector(r_2)=B\subset A. $$

Ordinary partial supersession cannot simply deactivate (r_1). The uncovered region

$$ A\setminus B $$

must remain protected. This can be achieved by residualization:

$$ r_1 \rightarrow { r_2, r_{residual} }, $$

where

$$ selector(r_{residual}) = A\setminus B. $$

Then $A = B \cup (A\setminus B)$ and protection is preserved across the full predecessor scope.

No Bypass Through Multiple Successors

Partial replacements may occur repeatedly:

$$ A \rightarrow B_1+B_2+\cdots+B_k. $$

The union of successor coverage must satisfy

$$ A \subseteq \bigcup_{i=1}^{k}B_i $$

unless uncovered regions retain a residual predecessor policy. A sequence of individually plausible narrow replacements must not gradually erode protection. This is exactly why the final semantic comparison is required in addition to local supersession rules.

Restore Semantics

Suppose $S_\tau$ is an earlier state and (S_t) the current state. A literal restore would compute

$$ S_{t+1}=S_\tau. $$

This is unsafe because $S_\tau$ may contain capabilities or weaker protection that were later revoked. Restore must instead satisfy:

$$ \Pi_{S_{t+1}}(x) \succeq \Pi_{S_t}(x) $$

for ordinary restore. The historical state may restore data, hypothesis state, configuration, and nonprotected administrative information. It cannot resurrect weaker authority.

Cross-paper note (P-027 reconciliation): Restore Is Not Rollback: Monotonic Recovery for Stateful Safety Systems (publication P-027)'s Restore Preflight section addresses restore-as-monotonic-recovery but does not specify the partition state of the pre-restore and post-restore protection functions. The ⊕ construction in the next section formalizes the protection-floor merge. The interaction between P-025's partition representation and P-027's recovery model requires reconciliation, specifically whether the partition built from S_τ must be rebuilt against the ProtectionFloor(S_t) ruleset or can be merged symbolically. This is flagged for joint resolution at the P-027 revision cycle.

Protection-Aware Restore

A semantic restore may be expressed as

$$ S_{t+1} = RestoreBase(S_\tau) \oplus ProtectionFloor(S_t). $$

The operator $\oplus$ is defined at two levels.

At the protection-function level (the guarantee), at every request point:

$$ \Pi_{S_{t+1}}(x) = \Pi_{RestoreBase(S_\tau)}(x) \vee \Pi_{ProtectionFloor(S_t)}(x). $$

Thus current prohibitions survive rollback.

At the state-level construction (required for kernel correctness): S_{t+1} must be constructed so that its policy object set contains, at minimum, all active rules from ProtectionFloor(S_t) together with the non-protection state from RestoreBase(S_τ). Specifically: any rule object r from RestoreBase(S_τ) whose protection value at any point x would be strictly below $\Pi_{ProtectionFloor(S_t)}(x)$ must either be overridden by an explicit ProtectionFloor rule covering selector(r), or must be excluded from S_{t+1} and replaced by a residual floor rule. This ensures the join over Active(S_{t+1}) at any point x equals $\Pi_{RestoreBase}(x) \vee \Pi_{ProtectionFloor}(x)$ under the join combinator, and that the kernel's partition algorithm can derive the protection partition of S_{t+1} directly from its rule objects without needing access to the intermediate states S_τ and S_t.

Implementers must verify that rule interactions between the two object sets (e.g., overlapping selectors with differing precedence) do not produce an Active set that violates the protection-level guarantee. The protection comparison algorithm defined in the Exact Protection Comparison Algorithm section, applied to the pair (S_t, S_{t+1}), is the authoritative check.

Revocation Non-Resurrection

Suppose authority (a) existed at (t_1):

$$ Authorized(a,t_1)=1. $$

At (t_2):

$$ Revoke(a). $$

At (t_3), the system restores a snapshot from (t_1). The required result is:

$$ Authorized(a,t_3)=0. $$

Historical existence is restored as provenance. Operational force is not. This is the restore non-resurrection invariant.

Policy Update

A POLICY_UPDATE event may add restrictions, refine equivalent selectors, reorganize rules, or increase protection. It may not reduce effective protection unless it is explicitly typed as a relaxation operation. The validity condition is not merely:

$$ SchemaValid(update). $$

It is:

$$ SchemaValid(update) \land Monotonic(S,S'). $$

Correct State

A CORRECT_STATE event may repair incorrect historical or administrative information. Correction must not become a privileged bypass around protection. For ordinary correction:

$$ \Pi_{S'}(x) \succeq \Pi_S(x) \qquad \forall x. $$

If a correction truly needs to reduce a protection because the protection record itself was erroneous, that is still semantically a reduction. It should require explicit relaxation authority or an equivalent independently typed correction capability with reduction rights.

Future Event Types

Suppose a future implementation introduces event type (E_{new}). If no protection-specific logic is present in the event handler, (E_{new}) might accidentally modify structures that alter effective authority. Under the proposed design, every successful transition executes:

$$ S' = Handler_{E_{new}}(S,e), $$

followed by

$$ VerifyProtection(S,S',e). $$

If (e) lacks relaxation authority and $\Delta^{-}(S,S')\neq\varnothing$, the transition cannot commit. This creates extension safety.

Rejection Versus Invariant Failure

Two different failure classes must be distinguished.

Rejection means the requested transition is semantically inadmissible. For example, an ordinary supersession proposes a weaker selector. The kernel determines this before commit and returns REJECTED. This is expected behavior.

Invariant failure means the transition handler was expected to preserve protection but generated a weaker state. For example, an implementation defect incorrectly removes an unrelated revocation. The kernel detects $\Delta^{-}\neq\varnothing$ and returns INVARIANT_FAILURE.

The difference matters operationally. Rejection means the controller worked. Invariant failure means the implementation violated its own contract.

The Infinite-Domain Problem

The monotonicity condition is universal:

$$ \forall x\in D. $$

But (D) may be enormous or infinite. For example:

$$ D = Operations \times Resources \times Lineages \times \mathbb Z. $$

Checking every request is impossible. Random testing is insufficient because a protection gap may occur at a single endpoint. The problem therefore becomes: can the request domain be partitioned into finitely many regions on which protection is constant? The answer is yes when policies are expressed in the selector algebra defined below and effective protection is computed as a lattice join of applicable rules.

Selector Algebra

A selector defines a subset of one or more request dimensions. For one dimension (D_i), primitive selector types include ANY, EMPTY, EXACT(v), SET({v_1,...,v_k}), and for ordered integer dimensions, INTERVAL(l,u). A multidimensional selector is a product:

$$ s= s_1\times\cdots\times s_n. $$

Its denotation is

$$ \llbracket s\rrbracket \subseteq D. $$

Semantic Equality

Selectors are semantically equal when $\llbracket s_1\rrbracket = \llbracket s_2\rrbracket$. For example, SET({a}) ≡ EXACT(a). Likewise, INTERVAL(3,3) ≡ EXACT(3) for an integer domain. Canonical normalization ensures that equivalent selectors map to the same representation.

Normalization

Define (N(s)) as the canonical normalized selector. Required properties are:

Idempotence: N(N(s)) = N(s).

Semantic preservation: $\llbracket N(s)\rrbracket = \llbracket s\rrbracket$.

Canonical equality: if $\llbracket s_1\rrbracket = \llbracket s_2\rrbracket$, then ideally $N(s_1) = N(s_2)$ within the supported algebra.

Empty Selectors

Every impossible selector normalizes to EMPTY. For example, INTERVAL(5,2) → EMPTY. Similarly, SET($\varnothing$) → EMPTY. A multidimensional selector containing an empty component is empty:

$$ s_1\times\cdots\times EMPTY\times\cdots\times s_n = EMPTY. $$

This rule simplifies intersection and partition algorithms.

Wildcards

The wildcard selector ANY denotes the full dimension domain. It satisfies ANY ∩ s = s and s ⊆ ANY. For partition construction, ANY adds no boundaries of its own. Instead, it covers every cell induced by the other selectors.

Finite Sets

A finite set selector is normalized by removing duplicates, sorting under canonical order, collapsing cardinality one to EXACT, and collapsing cardinality zero to EMPTY. Thus:

$$ SET({b,a,a}) \rightarrow SET({a,b}). $$

The categorical primitives in this algebra, EXACT(v) and SET({v_1,...,v_k}), cover finite enumerable categorical dimensions. For hierarchical or prefix-structured categorical dimensions (for example, filesystem paths, URL namespaces, Kubernetes resource paths), the implementer must either enumerate the relevant set finitely or extend the algebra with a prefix primitive; such extension is out of scope here. The partition completeness guarantee described in the Categorical Partition Construction section applies only to the finite enumerable case.

Integer Intervals

For integer domains define INTERVAL(l,u), where endpoints may be $l\in\mathbb Z\cup{-\infty}$ and $u\in\mathbb Z\cup{+\infty}$. The denotation is:

$$ \llbracket INTERVAL(l,u)\rrbracket = { z\in\mathbb Z: l\le z\le u }. $$

This specification normalizes discrete integer intervals to inclusive closed bounds; other endpoint conventions must first be converted to that representation.

Interval Normalization

Normalization rules: INTERVAL(l,u) = EMPTY if l > u. If l = u ∈ ℤ, then INTERVAL(l,l) → EXACT(l). If both endpoints are unbounded, INTERVAL(-∞,+∞) → ANY.

Exact Interval Intersection

For intervals (I_1=[l_1,u_1]) and (I_2=[l_2,u_2]), the intersection is:

$$ I_1\cap I_2 = [ \max(l_1,l_2), \min(u_1,u_2) ]. $$

If $\max(l_1,l_2) > \min(u_1,u_2)$, the result is EMPTY. The same rule extends naturally to infinite endpoints.

Interval Containment

Interval (I_1) contains (I_2) iff $l_1\le l_2$ and $u_2\le u_1$:

$$ I_2\subseteq I_1 \iff l_1\le l_2 \land u_2\le u_1. $$

Containment tests are exact. No sampling is required.

Categorical Partition Construction

For a finite categorical dimension, collect all explicitly referenced values (V = {v_1,...,v_k}). The canonical cells are {v_1}, ..., {v_k}, and OTHER, where OTHER represents all values not individually named, if the underlying domain permits such values. If the categorical domain is itself known finite and fully enumerated, OTHER is unnecessary. Every selector is constant on each cell.

Integer Endpoint Partition Construction

For integer intervals, protection can change only at selector boundaries. Suppose active selectors contain finite endpoints (e_1 < e_2 < ... < e_m). For each interval endpoint, membership transitions may occur at (l) and (u+1). An exact discrete partition is therefore most naturally constructed from cut points:

$$ C= {l: l\text{ finite lower endpoint}} \cup {u+1: u\text{ finite upper endpoint}}. $$

Sort them (c_1 < ... < c_r). The resulting cells are (-∞, c_1-1], [c_1, c_2-1], ..., [c_r, +∞). Empty intervals are removed. Every original interval either covers each cell completely or does not intersect it.

Endpoint-Singleton Alternative

An equivalent partition may explicitly separate endpoints into singleton cells ({e_i}) and gaps between endpoints. For discrete integer selectors, the cut-point construction is usually smaller because adjacent integers with identical membership vectors remain in the same cell. Both approaches are correct if they guarantee constant selector membership.

Canonical Representatives

Each nonempty cell receives one representative. For finite interval [a,b], choose rep([a,b]) = a. For lower-unbounded interval (-∞,b], a canonical representative may be b. For upper-unbounded interval [a,+∞), choose a. For categorical singleton, rep({v}) = v. For OTHER, use a symbolic representative carrying the membership semantics rather than inventing a concrete domain value when the domain is abstract.

Representative Correctness

A representative is valid because every policy selector has constant membership within its cell. Let cell (C) satisfy:

$$ \forall s, \forall x,y\in C: \mathbf 1[x\in s] = \mathbf 1[y\in s]. $$

Because effective protection depends only on which selectors apply,

$$ \Pi_S(x)=\Pi_S(y) \qquad \forall x,y\in C. $$

Therefore:

$$ \Pi_S(C) = \Pi_S(rep(C)). $$

Multidimensional Cells

Suppose each dimension (D_i) is partitioned into cells (C_{i1},...,C_{ik_i}). The full request space is partitioned by Cartesian products:

$$ C_{1a_1} \times C_{2a_2} \times \cdots \times C_{na_n}. $$

Each product cell has canonical representative:

$$ rep(C) = ( rep(C_{1a_1}), \ldots, rep(C_{na_n}) ). $$

Policy applicability is constant throughout each product cell.

Cell Explosion

The naive Cartesian partition has size $\prod_{i=1}^{n}k_i$, which can become large. Several exact reductions are possible: discard impossible cross-dimensional combinations; partition only dimensions referenced by active policies; merge cells with identical policy membership vectors (see the Protection Signature section for the join-semantics condition this requires); compare only regions touched by changed policies plus overlap dependencies; use symbolic decision diagrams for large selector systems. These are optimizations. They must preserve the exact semantics of the canonical partition.

Protection Signature

For cell (C), define its policy-membership signature:

$$ Sig_S(C) = ( \mathbf 1[C\subseteq s_1], \ldots, \mathbf 1[C\subseteq s_m] ). $$

If two cells share identical signatures under all active policies, they have equal effective protection under join semantics. Equal signatures imply equal Active sets, and the join over an equal Active set is identical. This merge is a corollary of the Core Equivalence Theorem (the Monotonicity Theorem and the Core Theorem), which holds under join semantics; the corollary inherits the same combinator restriction.

For non-join combinators, signature equality implies equal Active sets but does not guarantee equal effective protection if the combinator depends on rule ordering or other state-dependent factors. Under non-join combinators, this merge must not be applied unless the implementer independently verifies that effective protection is a pure function of the Active set. Cells satisfying the signature-equality condition under join semantics may be merged for comparison purposes.

Exact Protection Comparison Algorithm

Given states (S) and (S'): collect all selectors appearing in either state; normalize them; extract dimension boundaries; construct canonical per-dimension partitions; form nonempty product cells; choose one representative per cell; compute

$$ p=\Pi_S(rep(C)), $$

$$ p'=\Pi_{S'}(rep(C)); $$

and verify $p'\succeq p$. If any cell violates this relation, return the cell as a finite witness.

Finite Witness

A failed monotonicity check produces explicit witness $C^\ast$ such that:

$$ \Pi_{S'}(rep(C^\ast)) \prec \Pi_S(rep(C^\ast)). $$

Because protection is constant over $C^\ast$,

$$ \forall x\in C^\ast: \Pi_{S'}(x) \prec \Pi_S(x). $$

Thus the verifier produces not merely a claim that the policy became weaker. It identifies the exact semantic request region where weakening occurred.

Monotonicity Theorem

Assume: (1) every policy scope is represented in the canonical selector algebra; (2) effective protection is computed as a lattice join of the Active rule set, that is, $\Pi_S(x) = \bigvee{p_r : r \in Active(S), x \in selector(r)}$, so that protection at any point depends only on selector membership and policy metadata constant within each selector; (3) the finite partition contains every boundary induced by selectors in both states.

Then:

$$ \forall C\in Partition(S,S'): \Pi_{S'}(rep(C)) \succeq \Pi_S(rep(C)) $$

iff

$$ \forall x\in D: \Pi_{S'}(x) \succeq \Pi_S(x). $$

Proof sketch

Every $x\in D$ belongs to exactly one cell (C). By construction, every selector has constant membership on (C). Under join semantics (assumption 2), Active(S, x) = Active(S, rep(C)) for all x in C, because Active membership is determined solely by selector membership, which is constant within C. Therefore:

$$ \Pi_S(x)=\Pi_S(rep(C)) $$

and

$$ \Pi_{S'}(x)=\Pi_{S'}(rep(C)). $$

Representative monotonicity therefore implies pointwise monotonicity. The reverse implication is immediate.

Empty Domain

If the valid request domain is empty (D=$\varnothing$), the universal monotonicity statement is vacuously true:

$$ \forall x\in\varnothing: \Pi_{S'}(x)\succeq\Pi_S(x). $$

The partition algorithm should return zero cells and PASS. It must not fabricate a representative.

Wildcard-Only Domain

If every active selector is ANY, no policy boundary exists. The domain contains one canonical cell (C=D). One representative is sufficient. This is the minimum partition.

Selector Intersection

Selectors must support exact intersection (s_1 ∩ s_2). For multidimensional product selectors:

$$ (s_1^1\times\cdots\times s_1^n) \cap (s_2^1\times\cdots\times s_2^n) $$

equals

$$ (s_1^1\cap s_2^1) \times \cdots \times (s_1^n\cap s_2^n). $$

If any component is empty, the full intersection is empty. This permits exact overlap analysis between revocations.

Selector Containment

Define $s_a\subseteq s_b$ iff $\llbracket s_a\rrbracket \subseteq \llbracket s_b\rrbracket$. For product selectors, containment holds iff each component is contained: $s_a^i\subseteq s_b^i$ for all (i). Containment is required for supersession validation, partial replacement, relaxation scope checking, and authorization scope checking.

Selector Difference

Partial replacement often requires $A\setminus B$. Difference may not be representable by one primitive selector. For example:

$$ [1,10]\setminus[4,6] = [1,3]\cup[7,10]. $$

The canonical algebra therefore allows a selector expression to normalize into a finite disjoint union:

$$ s = \bigcup_{k=1}^{m}s_k. $$

The members are normalized and pairwise disjoint.

Disjoint Normal Form

A useful canonical representation is:

$$ DNF(s) = {c_1,\ldots,c_m}, $$

where each (c_i) is a canonical selector cell and $c_i\cap c_j=\varnothing$ for $i\neq j$. Then:

$$ \llbracket s\rrbracket = \bigcup_i\llbracket c_i\rrbracket. $$

This representation simplifies exact set difference and policy coverage checks.

Revocation Replacement Validation

Suppose predecessor (r_p) is replaced by successors (R_s = {r_1,...,r_k}). Define predecessor region $A = \llbracket selector(r_p)\rrbracket$ and successor effective protection over (A) as $\Pi_{succ}(x)$. Ordinary replacement is valid only if

$$ \forall x\in A: \Pi_{succ}(x) \succeq Protection(r_p,x). $$

The finite partition algorithm makes this check exact.

Higher-Precedence Active Prohibitions

Suppose successor replacement would weaken its predecessor locally, but another active prohibition still maintains equal or stronger effective protection. At the kernel level, the relevant invariant concerns $\Pi_S$ rather than isolated object strength. Therefore if effective protection remains unchanged, $\Pi_{S'}(x)=\Pi_S(x)$ for all (x), and kernel monotonicity passes.

However, a stricter supersession contract may additionally require the successor itself to be no weaker than its predecessor. These are distinct checks. Local replacement validity requires $Protection(r_{successor}) \succeq Protection(r_{predecessor})$. Global protection validity requires $\Pi_{S'}\succeq\Pi_S$. Both can be required. The local rule prevents latent weakening that could become visible if an unrelated stronger policy is later removed.

Latent Protection

This motivates a distinction between effective protection and structural protection. Effective protection is what applies now. Structural protection records whether a replacement preserves the strength of the policy lineage independently of overlapping rules. A robust revocation system should preserve both. Otherwise a weak successor may remain hidden behind another prohibition until that prohibition legitimately expires.

Successor No-Weaker Rule

For ordinary supersession:

$$ selector(r_p)\subseteq Coverage(r_s) $$

and

$$ Protection(r_s,x) \succeq Protection(r_p,x) $$

throughout predecessor scope. If several successors jointly replace one predecessor, the same condition applies to their combined structural coverage. This ensures future removal of unrelated policies cannot expose a weakened gap.

Relaxation Scope Reduction

RELAX_REVOCATION permits an explicitly authorized reduction. Suppose predecessor protects (A) and the relaxation specifies authorized retained protection $B\subseteq A$. Then the relaxed region is $R = A\setminus B$. The event must declare (R) or an equivalent scope reduction directly. It may not encode the reduction indirectly through a weaker successor and ask the kernel to infer intent.

Relaxation Authorization

Let authorization (a) contain scope $Scope(a)\subseteq D$. Then a relaxation event with decreased region $\Delta^{-}$ requires:

$$ \Delta^{-} \subseteq Scope(a). $$

If the actual semantic decrease exceeds authorization by even one cell, the event is rejected. This makes the finite partition witness directly useful for authorization validation.

Relaxation Cannot Resurrect Old Authority

Suppose authority (A_0) existed before revocation. A later relaxation reduces the revocation only over domain (R). The result is not Restore(A_0). Instead, any resulting capability must be determined from the current active authorization state. Thus:

$$ RelaxRevocation \neq RestoreAuthorization. $$

A relaxed prohibition may expose that no permission currently exists. The system should then remain nonauthorized. This prevents revocation relaxation from silently resurrecting stale authority.

Ledger Semantics

Every protection-related transition should emit a receipt containing:

$$ ( event_id, type, actor, authorization, pre_state_hash, post_state_hash, changed_selectors, decrease_cells, result ). $$

For ordinary events, decrease_cells = $\varnothing$. For relaxation, decrease_cells must equal or be contained within the authorized relaxation scope.

Restore Ledger Semantics

A restore receipt should record the snapshot identifier, snapshot time, current protection floor, restored objects, nonrestored authority, surviving revocations, and any reconciliation actions. This makes it possible to verify that historical state was restored without historical capability being reactivated.

Replay Protection

A protection event must be applied at most once. If event identifier (e) has already committed, then replay returns REPLAY or the original receipt. It must not reapply selector mutations. This matters particularly for relaxation events, where replaying the same authorized decrease against a later state could produce unintended additional weakening.

Freshness

Protection events should bind to a known base state version:

$$ base_version(e)=v. $$

If current state version is $v'\neq v$, the event is stale unless an explicit reconciliation rule applies. This prevents an authorized narrow change from being applied after the surrounding policy landscape has materially changed.

Concurrency

Suppose two events are prepared against state (S_v): (e_1) and (e_2). If (e_1) commits first, $S_v\rightarrow S_{v+1}$, then (e_2) should not blindly apply to (S_{v+1}). It must either be rejected as stale or recomputed and revalidated against the new protection state. This protects the monotonicity invariant under concurrent policy changes.

Property-Based Testing Strategy

Example tests are insufficient because failures often occur at selector boundaries and transition sequences not anticipated by the implementer. Property-based tests can generate arbitrary selectors, interval endpoints, overlapping revocations, lineage structures, supersession chains, restore snapshots, policy update sequences, and authorized and unauthorized relaxations. The kernel then verifies universal invariants.

The properties in the following sections are targets for implementation against a concrete kernel using a property-based testing framework such as QuickCheck, Hypothesis, or PropEr. No implementation is verified here.

Normalization Properties

For arbitrary selector (s):

Idempotence: N(N(s)) = N(s).

Semantic preservation (for generated domain witnesses): x ∈ s iff x ∈ N(s).

Empty normalization: impossible selectors map to EMPTY.

Singleton interval normalization: [a,a] → EXACT(a).

Full interval normalization: [-∞,+∞] → ANY.

Intersection Properties

For arbitrary selectors:

Commutativity: s_1 ∩ s_2 = s_2 ∩ s_1.

Associativity: (s_1 ∩ s_2) ∩ s_3 = s_1 ∩ (s_2 ∩ s_3).

Idempotence: s ∩ s = s.

Empty annihilation: s ∩ EMPTY = EMPTY.

Wildcard identity: s ∩ ANY = s.

Containment Properties

Containment must satisfy:

Reflexivity: s ⊆ s.

Transitivity: s_1 ⊆ s_2 and s_2 ⊆ s_3 implies s_1 ⊆ s_3.

Antisymmetry modulo normalization: s_1 ⊆ s_2 and s_2 ⊆ s_1 implies N(s_1) = N(s_2).

Interval Endpoint Tests

Generated interval tests should emphasize adjacent endpoints, equal endpoints, one-point gaps, negative integers, zero crossings, large bounded endpoints, lower-unbounded intervals, upper-unbounded intervals, full unbounded intervals, and empty reversed intervals. These are precisely where hand-written selector code often fails.

Partition Completeness

For generated finite test windows (W), verify:

$$ \bigcup_{C\in Partition}C=W $$

and $C_i\cap C_j=\varnothing$ for $i\neq j$. For symbolic unbounded domains, equivalent structural proofs can verify that the exterior cells are included exactly once.

Protection Constancy

For each generated partition cell (C), sample multiple values $x,y\in C$ where possible and verify $\Pi_S(x)=\Pi_S(y)$. This is not the proof of constancy but is a powerful implementation test of the partition constructor.

Representative Equivalence

For each cell:

$$ \forall x\in C: \Pi_S(x)=\Pi_S(rep(C)). $$

Property-based testing can test finite samples inside bounded generated cells and boundary-focused points for unbounded ones.

Restore Non-Bypass Test

Generate state sequence:

$$ S_0 \rightarrow Grant(A) \rightarrow Snapshot \rightarrow Revoke(A) \rightarrow Restore(Snapshot). $$

Required property: Authorized(A) = 0. Protection after restore must satisfy $\Pi_{restored}\succeq\Pi_{pre-restore}$.

Ordinary Supersession Non-Bypass Test

Generate predecessor selector (A) and narrower candidate successor $B\subset A$. Attempt ordinary supersession. Required outcome: REJECT unless residual protection covers $A\setminus B$. The test should generate both valid and invalid partial replacements.

Relaxation Exclusivity Test

Generate a state with active revocation over region (A). Attempt to reduce protection through each ordinary event type (supersession, restore, correction, policy update, reissue, lineage move). The required property is $\Delta^{-}\neq\varnothing \Rightarrow REJECT$ for all ordinary event types. Then apply authorized RELAX_REVOCATION. Reduction is permitted only within declared scope.

Higher-Precedence Protection Test

Generate a predecessor revocation (r_1), a stronger overlapping prohibition (r_h), and a weaker successor (r_2). The global effective protection may remain unchanged because of (r_h). A strict implementation should still reject (r_2) as an invalid structural successor if successor no-weaker semantics are enabled. This test distinguishes latent from effective safety.

Future Event Property

Generate arbitrary synthetic event handlers that mutate unrelated state plus occasionally mutate policy state. For any event not marked as relaxation-capable, $\Delta^{-}=\varnothing$ must hold after successful commit. This verifies that the kernel-wide guard actually protects future extension points.

Sequence Properties

The most dangerous behaviors emerge across chains. Generate arbitrary sequences containing RESTORE, POLICY_UPDATE, SUPERSEDE, CORRECT_STATE, RELAX_REVOCATION, and REPLAY. For every prefix ending in an ordinary event:

$$ \Pi_{t+1}\succeq\Pi_t. $$

For relaxation events:

$$ \Delta^{-} \subseteq AuthorizedRelaxationScope. $$

Protection History

Because ordinary transitions are monotonic, protection along a transition path satisfies:

$$ \Pi_{S_0} \preceq \Pi_{S_1} \preceq \cdots \preceq \Pi_{S_n} $$

between explicit relaxation events. This creates a useful audit property. Every downward edge in protection history must correspond to a recorded relaxation event. If the ledger shows a protection decrease without such an event, there is an invariant violation or ledger corruption.

Protection Epochs

A system may divide history into epochs separated by authorized relaxations. Within epoch (k):

$$ \Pi_{k,0} \preceq \Pi_{k,1} \preceq \cdots \preceq \Pi_{k,n}. $$

At an authorized relaxation boundary, $\Pi_{k+1,0}$ may be lower on declared scope. This produces a concise historical model: monotonic epochs plus explicit downward transitions.

Formal Security Benefit

The architecture reduces the trusted transition surface. Without kernel-wide monotonicity, every event handler must correctly preserve every protection mechanism. With monotonicity checking, an event handler can be defective yet still fail closed if its resulting semantic state is weaker. This changes the security assumption from "every handler is correct" to "every committed state passes the semantic invariant." The invariant checker therefore becomes part of the trusted computing base.

Limits of the Method

The method guarantees only what the protection model represents. If a real capability dimension is omitted from (D), monotonicity over the modeled domain cannot protect it. Likewise, if $\Pi_S$ incorrectly computes effective protection, comparing it exactly does not repair the semantic error. The framework therefore depends on complete request-domain modeling, correct policy resolution, correct protection ordering, and correct selector semantics. These components require independent audit.

Event type classification is trusted input. The architecture does not provide the mechanism for authenticating that a RELAX_REVOCATION event was correctly typed at origin. Whether that classification is enforced by the host type system, by a kernel-level gate, or by cryptographic signature over the event payload is an architectural choice left to the implementer. Any gap between event-type assignment and event-type enforcement is outside this specification and constitutes an external trust dependency.

Liveness is outside this specification. The monotonicity invariant is a safety property: it prevents unauthorized protection decrease. It does not prevent protection from monotonically converging toward maximum denial. A handler that always returns MAX_PROTECTION satisfies every check. Guaranteeing that protection levels remain compatible with authorized service access is an application-level responsibility.

Dynamic Domains

Some systems contain domains whose members change over time: newly created resources, new principals, new capability types. Wildcards are especially important here. A prohibition over ANY must continue to apply to future members. Exact-value enumeration does not provide this property. Selector semantics must therefore distinguish "all currently known values" from ANY, where the latter is future-extensible.

Unknown Values

Categorical selectors may need explicit treatment of unknown or future values. A canonical partition can include symbolic cell OTHER. Policies applying to ANY include it. Policies applying only to listed finite values do not. This allows exact reasoning over categories without enumerating every possible future identifier.

Time Selectors

Time introduces additional complexity because policies may expire. If time is represented as an integer dimension, interval selectors can model ([t_{start},t_{end}]). However, ordinary passage of time may then reduce protection if a prohibition legitimately expires. Such behavior must be modeled intentionally.

Two approaches exist. First, classify expiry as an authorized protection transition: a clock-tick commit event is emitted at each expiry boundary (i.e., at time t_e a RELAX_REVOCATION or equivalent typed event commits the expiry), making mechanism (1) equivalent to mechanism (2) operationally. Second, define effective protection relative to policy validity so that scheduled expiry is preauthorized when the policy is created (see the next section).

These mechanisms are not interchangeable without additional specification. Mechanism (1) without an explicit clock-tick commit event at t_e creates an unchecked window: the invariant checker runs only at commit time, so if no commit event fires at expiry, the protection decrease from clock advancement is not detected. The implementer must ensure that expiry boundaries trigger a commit event, or must use mechanism (2). The system must choose explicitly. Hidden time-dependent weakening is incompatible with auditable monotonicity.

Preauthorized Expiry

A revocation may contain authorized interval ([t_0,t_e]). Policy creation itself then authorizes the eventual end of its protection at (t_e). The transition at expiry is not an unexpected relaxation because the decrease condition was part of the original signed policy. The ledger should still record expiry. This preserves auditability while permitting temporary restrictions.

Capability Reissue

Suppose a revoked capability is later reissued. Reissue must not be interpreted as undoing the revocation automatically. A fresh authorization creates Capability_{new}. It should carry a new identifier, current scope, current lineage, and current constraints. The old revoked capability remains revoked. This prevents capability resurrection through identifier reuse.

Lineage-Aware Reissue

If authority is lineage-scoped, a capability reissued in lineage (L_2) should not inherit rights from historical capability in (L_1) unless an explicit lineage transfer contract permits it. The selector domain therefore includes lineage as a first-class dimension. Protection comparison then naturally detects cross-lineage leakage.

Cross-Lineage Restore

Suppose a snapshot from lineage (L_1) is restored into descendant (L_2). The restore may recover historical data. It does not automatically restore lineage-specific authority. The protection floor is computed against the destination lineage's current revocations. This prevents branch rollback from bypassing branch-local restrictions.

Selector Algebra as an Audit Interface

The canonical selector algebra has value beyond runtime enforcement. Because every rule is reducible to a normalized semantic domain, auditors can ask "where exactly is this capability prohibited?" and receive a finite union of canonical cells. Likewise, "what changed between these policy states?" can be answered as

$$ \Delta^+, \quad \Delta^-, $$

where

$$ \Delta^+ = {x:\Pi_{S'}(x)\succ\Pi_S(x)}, $$

and

$$ \Delta^- = {x:\Pi_{S'}(x)\prec\Pi_S(x)}. $$

Canonical Diff

A policy-state diff should therefore be semantic rather than textual. Instead of "policy object 17 changed selector syntax," the system can report:

$$ [10,14]\times{WRITE} : ALLOW\rightarrow DENY. $$

or:

$$ [20,22]\times{EXECUTE} : DENY\rightarrow ALLOW $$

with the second transition requiring explicit relaxation authority. This gives reviewers directly actionable evidence.

Minimal Witness Reporting

When monotonicity fails, the verifier should return the canonical cell, representative, old effective protection, new effective protection, old contributing policies, new contributing policies, and transition event. For example:

$$ Witness: (operation=WRITE,\ size\in[101,120],\ lineage=L_3) $$

$$ Old=DENY $$

$$ New=ALLOW. $$

This makes invariant failures diagnosable.

Formal Transition Contract

A generic transition can be represented as:

$$ K(S,e) = \begin{cases} (S',receipt), & Valid(S,e,S')\ (S,rejection), & otherwise. \end{cases} $$

For ordinary event (e):

$$ Valid = Preconditions \land Schema \land Freshness \land Authorization \land ProtectionMonotonicity. $$

For relaxation event:

$$ Valid = Preconditions \land Schema \land Freshness \land RelaxAuthorization \land ScopedDecrease. $$

Commit Discipline

The proposed system uses compute → verify → commit. Not mutate → discover violation → attempt rollback. The candidate state is constructed privately as $\hat S'$. The monotonicity verifier checks $Verify(S, \hat S')$. Only on PASS does $S\leftarrow\hat S'$ occur. This prevents transient unauthorized states from becoming externally visible.

Crash Safety

If the process crashes after verification but before durable commit, the transition should be absent. If it crashes after commit, the receipt and state must agree. A transaction journal can enforce:

$$ StateVersion \leftrightarrow Receipt. $$

A relaxation must never exist in state without its corresponding authorization receipt.

Deterministic Reconciliation

After restart, the system may encounter durable state, a pending journal entry, or a receipt mismatch. Recovery should deterministically choose one committed state. It must never infer that a partially written relaxation probably succeeded. For downward-protection events, ambiguity should resolve to the stronger protection state. This is a fail-closed reconciliation rule.

Protection Monotonicity and Safety

The framework does not claim that stronger restriction is always better. Systems require legitimate authority changes. The claim is narrower: protection decreases are semantically important and should therefore require distinct, explicit authority. Ordinary maintenance operations should not accidentally perform them. This is analogous to type systems distinguishing read operations from writes even though writes are sometimes legitimate.

Relationship to Capability Systems

Capability systems ask whether an actor possesses an unforgeable authority token. Protection monotonicity addresses a different layer: can state evolution indirectly make a previously forbidden request possible? The two approaches are complementary. Capabilities constrain possession. Protection monotonicity constrains transition semantics.

Relationship to Access-Control Lists

ACL systems often resolve explicit allow and deny rules at request time. The selector algebra can represent ACL scopes, but the central contribution is not another resolution rule. It is exact comparison of two resolved protection functions over the complete request domain. ACL → ΠS is one possible policy backend. The monotonicity verifier operates above it.

Relationship to Formal Refinement

Ordinary transitions can be interpreted as protection refinements. If $\Pi_{S'}\succeq\Pi_S$, then (S') refines (S) with respect to protection. Authorized relaxation is an explicitly permitted anti-refinement over bounded scope. This places the framework naturally within refinement-oriented formal methods.

Falsification Criteria

The design fails if any of the following can be demonstrated: (1) two semantically equivalent selectors normalize differently in a way that changes policy resolution; (2) a partition omits a selector boundary; (3) protection differs at two points inside one claimed canonical cell; (4) ordinary restore resurrects revoked authority; (5) supersession leaves an unprotected predecessor region; (6) a weak successor is hidden behind a stronger unrelated policy and later becomes effective after that policy disappears; (7) ordinary correction or policy update produces a protection decrease; (8) relaxation exceeds its authorized selector scope; (9) an old authorization is resurrected by relaxation; (10) replay applies a protection decrease twice; (11) an unbounded interval is incorrectly truncated by the verifier; (12) an OTHER categorical region is omitted; (13) a future event type weakens protection without being typed as relaxation. These are concrete implementation failure modes.

Core Theorem

The architecture reduces to the following statement.

Let all policy scopes in states (S) and (S') belong to a selector algebra admitting a finite membership-constant partition

$$ \mathcal C(S,S'). $$

Let effective protection be computed as a lattice join of all applicable rules: $\Pi_S(x) = \bigvee{p_r : r \in Active(S), x \in selector(r)}$. Under this join-semantics condition, for any ordinary transition:

$$ \boxed{ \left[ \forall C\in\mathcal C: \Pi_{S'}(rep(C)) \succeq \Pi_S(rep(C)) \right] \iff \left[ \forall x\in D: \Pi_{S'}(x) \succeq \Pi_S(x) \right]. } $$

A potentially infinite universal protection comparison is therefore reduced exactly to finitely many evaluations.

Non-join combinators are not covered by this theorem. Implementers using precedence-sensitive or state-dependent combinators must independently verify that their combinator satisfies the cell-constancy condition (assumption 2 of the Monotonicity Theorem) before applying the partition-based comparison.

Architectural Summary

The complete protection pipeline is:

$$ \boxed{ \begin{array}{c} \text{Normalize policies}\ \downarrow\ \text{Construct canonical selector partition}\ \downarrow\ \text{Compute effective protection per cell}\ \downarrow\ \text{Construct candidate next state}\ \downarrow\ \text{Recompute protection per cell}\ \downarrow\ \text{Compare old and new protection}\ \downarrow\ \text{No decrease: ordinary transition may commit}\ \downarrow\ \text{Decrease: require typed relaxation authority}\ \downarrow\ \text{Record exact decreased cells in ledger} \end{array} } $$

Conclusion

Protection rules become difficult to audit when they are treated primarily as mutable objects. The central abstraction should instead be the semantic function:

$$ \Pi_S:D\rightarrow\mathcal P. $$

Once protection is represented this way, state-transition safety can be stated precisely: $\Pi_{S'}\succeq\Pi_S$ for every ordinary transition. The remaining difficulty is computational: determining this relation over large or infinite request domains.

Canonical selector algebra resolves that problem under join semantics. Exact values, sets, wildcards, categorical residuals (for finite enumerable dimensions), and bounded or unbounded integer intervals induce a finite partition of the request space. Every active selector has constant membership within each resulting cell. Under the join combinator, effective protection is therefore constant within each cell, allowing universal protection comparison to be reduced to one canonical representative per cell.

This construction gives restore, policy update, correction, revocation, and supersession operations a common semantic safety condition. Restore cannot resurrect authority. Partial replacement cannot expose gaps. A successor cannot weaken a predecessor invisibly. Higher-precedence prohibitions remain effective. Future event types inherit the same protection boundary automatically.

Most importantly, legitimate protection reduction is not forbidden. It is made explicit through a separately typed operation whose authorization scope must contain the exact semantic region being weakened.

The design can therefore be summarized by one invariant:

$$ \boxed{ \text{Protection may strengthen silently; it may weaken only explicitly.} } $$

That converts revocation preservation from a convention distributed across transition handlers into an executable property of the kernel itself.

Corrections in this version

2026-09-08: Two residual defects from the 2026-09-06 rewrite were repaired. First, an orphaned duplicate section heading ("Exact Protection Comparison Across Restore, Revocation, Supersession, and Policy Transitions") sat directly beneath the title block, immediately above "The short version," carrying no body text of its own. It was a leftover from an earlier restructure, already flagged as a disclosed-but-unfixed item in the Runtimes section below; it has been removed, leaving the H1 title as the sole title-level heading. Second, a LaTeX typo in the Higher-Precedence Active Prohibitions section rendered the source as $\\Pi_{S'}(x)=\Pi_S(x)$ with a stray double backslash before the primed term; corrected to $\Pi_{S'}(x)=\Pi_S(x)$.

Runtimes and their contribution

Authorship and all research judgments are the author's alone. Machine runtimes assisted with editorial restructuring, source-location checks, house-style normalization, and verification. They did not originate the research claims, perform unreported experiments, or receive creator credit. Detailed per-runtime provenance remains in the project audit record.

Download this public source

Public source text and line addresses
# Protection Monotonicity and Canonical Selector Algebra for Auditable State Machines

**Author:** E. M. Honeycutt III
**Affiliation:** Honeycutt Ai Labs, Princeton, TX
**License:** CC BY-NC 4.0
**Prepared:** 2026-09-30

---

## The short version

Stateful control systems often enforce permissions, prohibitions, revocations, and exceptions over structured request domains. The difficult failures occur not when a policy is obviously removed, but when protection is weakened indirectly through restoration, supersession, partial replacement, lineage changes, policy updates, or future transition types whose implementations do not explicitly reason about earlier restrictions.

This paper develops a kernel-wide protection monotonicity framework for auditable state machines. Protection is represented as a function over a canonical request domain rather than as a collection of policy objects. Ordinary transitions are required to preserve or strengthen effective protection at every request point. Any decrease must occur through a separately typed and specifically authorized relaxation operation.

The principal technical problem is deciding whether

$$
\Pi_{S'}(x)\succeq\Pi_S(x)
\qquad
\forall x\in D
$$

without enumerating an infinite or combinatorial request domain (D).

We solve this problem through a canonical selector algebra and exact finite partition construction. Selectors are normalized into semantic regions built from exact values, finite sets, wildcards, finite categorical predicates, and bounded or unbounded integer intervals. The boundaries induced by all active selectors partition the request space into finitely many cells on which policy applicability, and therefore effective protection, is constant. Protection comparison over the entire request domain then reduces to evaluation at one canonical representative per nonempty cell, with effective protection computed as a lattice join of all applicable rules (see the Effective Protection as Join and Monotonicity Theorem sections for the combinator requirement this imposes). Property-based tests specify the verification targets for normalization, exact containment and intersection, cell completeness, protection constancy, non-bypass, restore non-resurrection, and kernel-wide monotonicity; no implementation is verified here.

The framework formalizes global and lineage-scoped revocations, precedence, supersession, partial replacement, restore semantics, ordinary policy updates, explicit `RELAX_REVOCATION` transitions, rejection versus invariant failure, and future-event safety.

The result is a general method for turning protection preservation from an implementation convention into a machine-checkable semantic invariant.

## Introduction

Authorization systems are commonly represented as collections of rules. A state may contain permissions, prohibitions, revocations, exceptions, scope selectors, lineage constraints, precedence levels, and replacement relationships. Implementations then determine whether a request is permitted by evaluating some subset of these objects.

This representation is operationally convenient but makes one important question surprisingly difficult: did this state transition weaken protection anywhere?

A transition can appear locally valid while producing a weaker global state. A snapshot restore may contain authority that was later revoked. Replacing one revocation with a narrower successor exposes the uncovered region. Changing a wildcard selector into a finite set leaves a gap. A lineage-specific policy may override a stronger global prohibition. Modifying interval endpoints can make a single request value newly permitted. A new transition type introduced without explicit protection reasoning may accidentally bypass existing revocation logic. In each case, testing only the policy object that changed is insufficient. Protection is an emergent property of the complete active rule set.

The correct comparison is therefore between two functions:

$$
\Pi_S:D\rightarrow\mathcal P
$$

and

$$
\Pi_{S'}:D\rightarrow\mathcal P,
$$

where (D) is the request domain and $\mathcal P$ is an ordered protection space. An ordinary transition is safe only if

$$
\forall x\in D:
\Pi_{S'}(x)\succeq\Pi_S(x).
$$

This paper develops a method for checking that condition exactly.

## Protection as a Semantic Function

Let a request be represented by a tuple

$$
x=
(x_1,\ldots,x_n)
\in D.
$$

Dimensions might include operation type, resource, actor, capability, lineage, environment, integer quantity, time bucket, and object class.

Policies are implementation objects. Protection is the semantic result after all applicable policies have been resolved. Define

$$
\Pi_S(x)
$$

as the effective protection applied to request (x) in state (S). This distinction is fundamental. Two states may contain different policy objects yet implement the same function:

$$
\Pi_{S_1}=\Pi_{S_2}.
$$

Conversely, a superficially small object change may alter protection for a large region of (D). The invariant must therefore compare semantics rather than policy syntax.

## Canonical Protection Ordering

To compare protection, define an ordered set

$$
(\mathcal P,\preceq).
$$

In the simplest binary system:

$$
ALLOW\prec DENY.
$$

A more expressive lattice might contain:

$$
ALLOW
\prec
ALLOW_CONSTRAINED
\prec
REQUIRE_AUTH
\prec
DENY.
$$

The exact labels are domain-specific. The essential condition is that the ordering encode protection strength. If

$$
p_1\preceq p_2,
$$

then (p_2) is at least as protective as (p_1). The monotonicity direction is therefore:

$$
\Pi_{S'}(x)\succeq\Pi_S(x).
$$

## Partial Orders

Protection need not always admit a total order. Consider two restrictions:

$$
p_A=
\text{network denied, filesystem allowed},
$$

$$
p_B=
\text{network allowed, filesystem denied}.
$$

Neither is universally stronger. A more general design represents protection as a product lattice:

$$
\mathcal P
=
\mathcal P_1\times\cdots\times\mathcal P_m.
$$

Then $p\preceq q$ iff $p_j\preceq_j q_j$ for all (j). This allows monotonicity to be evaluated independently across protection dimensions. The binary examples used below are therefore special cases of the general framework.

## The Kernel-Wide Protection Invariant

Let

$$
T:S\times E\rightarrow S'
$$

be a state transition. For every ordinary transition type,

$$
\boxed{
\forall x\in D:
\Pi_{S'}(x)\succeq\Pi_S(x)
}
$$

must hold unless the transition explicitly belongs to a class authorized to reduce protection. This is the kernel-wide monotonicity invariant. It applies to policy updates, restore operations, corrections, supersession, capability reissue, lineage operations, administrative transitions, and future event types. The importance of making the invariant kernel-wide is that future developers do not need to remember every historical revocation mechanism when implementing a new event type. The global checker supplies the safety boundary.

## Protection Decrease

A decrease occurs when

$$
\exists x\in D:
\Pi_{S'}(x)\prec\Pi_S(x).
$$

Define the decreased region

$$
\Delta^{-}(S,S')
=
{
x\in D:
\Pi_{S'}(x)\prec\Pi_S(x)
}.
$$

Ordinary transitions require

$$
\Delta^{-}(S,S')=\varnothing.
$$

A protection-relaxation transition may permit a nonempty $\Delta^{-}$, but only within its explicitly authorized scope.

## Explicit Relaxation

Protection reduction is represented by a separate typed event:

$$
RELAX_REVOCATION.
$$

This event is not an ordinary policy update. It has its own authorization contract. Let $R\subseteq D$ be the authorized relaxation domain. Then a valid relaxation requires

$$
\Delta^{-}(S,S')
\subseteq R.
$$

Protection outside the authorized relaxation region remains monotonic:

$$
\forall x\notin R:
\Pi_{S'}(x)\succeq\Pi_S(x).
$$

This yields a strong semantic property:

$$
\boxed{
\text{Every protection decrease must be attributable to an authorized relaxation event.}
}
$$

## Why Ordinary Supersession Cannot Relax

Suppose revocation (r_1) protects domain (A). A successor (r_2) claims to supersede (r_1). If ordinary supersession were allowed to replace (A) with narrower region $B\subset A$, then requests in $A\setminus B$ would become less protected. The successor would function as a hidden relaxation. Ordinary supersession instead requires:

$$
\forall x\in D:
Protection(r_2,x)
\succeq
Protection(r_1,x)
$$

after accounting for other active higher-precedence rules. If not, the supersession request is rejected.

## Revocation Objects

A revocation can be modeled as

$$
r=
(
id,
selector,
lineage,
precedence,
protection,
status,
predecessor
).
$$

The selector identifies the request region. The lineage identifies the branch or authority tree to which the revocation applies. Precedence determines how overlapping policies interact. Protection identifies the imposed restriction. Status may include: ACTIVE, SUPERSEDED, RELAXED, EXPIRED, REVOKED. Historical objects remain in the ledger even when no longer effective.

## Global and Lineage-Scoped Revocation

A global revocation applies across all lineages:

$$
selector_{lineage}=*.
$$

A lineage-scoped revocation applies only where

$$
lineage(x)\in L.
$$

A lineage-specific permission cannot bypass an active global prohibition. If (r_g) is global and stronger than (r_l),

$$
Protection(r_g,x)
\succeq
Protection(r_l,x),
$$

then the effective protection remains governed by (r_g). Specificity alone does not defeat prohibition.

## Precedence

Let policy precedence be represented by

$$
prec(r)\in\mathbb Z
$$

or another totally ordered domain. A naive resolver might select only the highest-precedence applicable rule. That model is unsafe if a lower-precedence prohibition can be silently erased by an unrelated higher-precedence permission. Instead, precedence must be defined together with protection semantics. One safe formulation treats active prohibitions as joins:

$$
\Pi_S(x)
=
\bigvee_{r\in Applicable(S,x)}
Protection(r).
$$

A policy can then strengthen protection but cannot reduce an independently active stronger prohibition unless explicit relaxation semantics permit it.

The join formulation is the combinator this framework requires. Non-join combinators, for example highest-rank-wins schemes with state-dependent rank, may produce protection values that vary across points sharing the same selector membership, violating the cell-constancy assumption that the Core Equivalence Theorem depends on. Implementers using non-join combinators must independently verify that effective protection is a pure function of the Active rule set before applying the partition algorithm.

## Effective Protection as Join

If $\mathcal P$ is a lattice, define

$$
\Pi_S(x)
=
\bigvee
{
p_r:
r\in Active(S),
x\in selector(r)
}.
$$

The join operator provides a natural model for overlapping restrictions. For binary protection:

$$
ALLOW\vee DENY=DENY.
$$

Thus one active prohibition is sufficient to protect the request regardless of weaker overlapping rules. Relaxation requires changing the active prohibitions themselves rather than inserting a conflicting permission.

## Supersession

Let (r_2) supersede (r_1). A valid ordinary supersession requires: (1) (r_1) is an eligible active predecessor; (2) (r_2) has valid lineage relationship; (3) (r_2) does not weaken the predecessor's effective protection; (4) stronger overlapping rules remain effective; (5) the ledger records the replacement edge. After commit:

$$
status(r_1)=SUPERSEDED
$$

and

$$
status(r_2)=ACTIVE.
$$

The effective protection must satisfy kernel-wide monotonicity.

## Partial Replacement

A successor may replace only part of a predecessor's domain. Suppose

$$
selector(r_1)=A
$$

and

$$
selector(r_2)=B\subset A.
$$

Ordinary partial supersession cannot simply deactivate (r_1). The uncovered region

$$
A\setminus B
$$

must remain protected. This can be achieved by residualization:

$$
r_1
\rightarrow
{
r_2,
r_{residual}
},
$$

where

$$
selector(r_{residual})
=
A\setminus B.
$$

Then $A = B \cup (A\setminus B)$ and protection is preserved across the full predecessor scope.

## No Bypass Through Multiple Successors

Partial replacements may occur repeatedly:

$$
A
\rightarrow
B_1+B_2+\cdots+B_k.
$$

The union of successor coverage must satisfy

$$
A
\subseteq
\bigcup_{i=1}^{k}B_i
$$

unless uncovered regions retain a residual predecessor policy. A sequence of individually plausible narrow replacements must not gradually erode protection. This is exactly why the final semantic comparison is required in addition to local supersession rules.

## Restore Semantics

Suppose $S_\tau$ is an earlier state and (S_t) the current state. A literal restore would compute

$$
S_{t+1}=S_\tau.
$$

This is unsafe because $S_\tau$ may contain capabilities or weaker protection that were later revoked. Restore must instead satisfy:

$$
\Pi_{S_{t+1}}(x)
\succeq
\Pi_{S_t}(x)
$$

for ordinary restore. The historical state may restore data, hypothesis state, configuration, and nonprotected administrative information. It cannot resurrect weaker authority.

**Cross-paper note (P-027 reconciliation):** Restore Is Not Rollback: Monotonic Recovery for Stateful Safety Systems (publication P-027)'s Restore Preflight section addresses restore-as-monotonic-recovery but does not specify the partition state of the pre-restore and post-restore protection functions. The ⊕ construction in the next section formalizes the protection-floor merge. The interaction between P-025's partition representation and P-027's recovery model requires reconciliation, specifically whether the partition built from S_τ must be rebuilt against the ProtectionFloor(S_t) ruleset or can be merged symbolically. This is flagged for joint resolution at the P-027 revision cycle.

## Protection-Aware Restore

A semantic restore may be expressed as

$$
S_{t+1}
=
RestoreBase(S_\tau)
\oplus
ProtectionFloor(S_t).
$$

The operator $\oplus$ is defined at two levels.

At the protection-function level (the guarantee), at every request point:

$$
\Pi_{S_{t+1}}(x)
=
\Pi_{RestoreBase(S_\tau)}(x)
\vee
\Pi_{ProtectionFloor(S_t)}(x).
$$

Thus current prohibitions survive rollback.

At the state-level construction (required for kernel correctness): S_{t+1} must be constructed so that its policy object set contains, at minimum, all active rules from ProtectionFloor(S_t) together with the non-protection state from RestoreBase(S_τ). Specifically: any rule object r from RestoreBase(S_τ) whose protection value at any point x would be strictly below $\Pi_{ProtectionFloor(S_t)}(x)$ must either be overridden by an explicit ProtectionFloor rule covering selector(r), or must be excluded from S_{t+1} and replaced by a residual floor rule. This ensures the join over Active(S_{t+1}) at any point x equals $\Pi_{RestoreBase}(x) \vee \Pi_{ProtectionFloor}(x)$ under the join combinator, and that the kernel's partition algorithm can derive the protection partition of S_{t+1} directly from its rule objects without needing access to the intermediate states S_τ and S_t.

Implementers must verify that rule interactions between the two object sets (e.g., overlapping selectors with differing precedence) do not produce an Active set that violates the protection-level guarantee. The protection comparison algorithm defined in the Exact Protection Comparison Algorithm section, applied to the pair (S_t, S_{t+1}), is the authoritative check.

## Revocation Non-Resurrection

Suppose authority (a) existed at (t_1):

$$
Authorized(a,t_1)=1.
$$

At (t_2):

$$
Revoke(a).
$$

At (t_3), the system restores a snapshot from (t_1). The required result is:

$$
Authorized(a,t_3)=0.
$$

Historical existence is restored as provenance. Operational force is not. This is the restore non-resurrection invariant.

## Policy Update

A `POLICY_UPDATE` event may add restrictions, refine equivalent selectors, reorganize rules, or increase protection. It may not reduce effective protection unless it is explicitly typed as a relaxation operation. The validity condition is not merely:

$$
SchemaValid(update).
$$

It is:

$$
SchemaValid(update)
\land
Monotonic(S,S').
$$

## Correct State

A `CORRECT_STATE` event may repair incorrect historical or administrative information. Correction must not become a privileged bypass around protection. For ordinary correction:

$$
\Pi_{S'}(x)
\succeq
\Pi_S(x)
\qquad
\forall x.
$$

If a correction truly needs to reduce a protection because the protection record itself was erroneous, that is still semantically a reduction. It should require explicit relaxation authority or an equivalent independently typed correction capability with reduction rights.

## Future Event Types

Suppose a future implementation introduces event type (E_{new}). If no protection-specific logic is present in the event handler, (E_{new}) might accidentally modify structures that alter effective authority. Under the proposed design, every successful transition executes:

$$
S'
=
Handler_{E_{new}}(S,e),
$$

followed by

$$
VerifyProtection(S,S',e).
$$

If (e) lacks relaxation authority and $\Delta^{-}(S,S')\neq\varnothing$, the transition cannot commit. This creates extension safety.

## Rejection Versus Invariant Failure

Two different failure classes must be distinguished.

Rejection means the requested transition is semantically inadmissible. For example, an ordinary supersession proposes a weaker selector. The kernel determines this before commit and returns REJECTED. This is expected behavior.

Invariant failure means the transition handler was expected to preserve protection but generated a weaker state. For example, an implementation defect incorrectly removes an unrelated revocation. The kernel detects $\Delta^{-}\neq\varnothing$ and returns INVARIANT_FAILURE.

The difference matters operationally. Rejection means the controller worked. Invariant failure means the implementation violated its own contract.

## The Infinite-Domain Problem

The monotonicity condition is universal:

$$
\forall x\in D.
$$

But (D) may be enormous or infinite. For example:

$$
D
=
Operations
\times
Resources
\times
Lineages
\times
\mathbb Z.
$$

Checking every request is impossible. Random testing is insufficient because a protection gap may occur at a single endpoint. The problem therefore becomes: can the request domain be partitioned into finitely many regions on which protection is constant? The answer is yes when policies are expressed in the selector algebra defined below and effective protection is computed as a lattice join of applicable rules.

## Selector Algebra

A selector defines a subset of one or more request dimensions. For one dimension (D_i), primitive selector types include ANY, EMPTY, EXACT(v), SET({v_1,...,v_k}), and for ordered integer dimensions, INTERVAL(l,u). A multidimensional selector is a product:

$$
s=
s_1\times\cdots\times s_n.
$$

Its denotation is

$$
\llbracket s\rrbracket
\subseteq D.
$$

## Semantic Equality

Selectors are semantically equal when $\llbracket s_1\rrbracket = \llbracket s_2\rrbracket$. For example, SET({a}) ≡ EXACT(a). Likewise, INTERVAL(3,3) ≡ EXACT(3) for an integer domain. Canonical normalization ensures that equivalent selectors map to the same representation.

## Normalization

Define (N(s)) as the canonical normalized selector. Required properties are:

Idempotence: N(N(s)) = N(s).

Semantic preservation: $\llbracket N(s)\rrbracket = \llbracket s\rrbracket$.

Canonical equality: if $\llbracket s_1\rrbracket = \llbracket s_2\rrbracket$, then ideally $N(s_1) = N(s_2)$ within the supported algebra.

## Empty Selectors

Every impossible selector normalizes to EMPTY. For example, INTERVAL(5,2) → EMPTY. Similarly, SET($\varnothing$) → EMPTY. A multidimensional selector containing an empty component is empty:

$$
s_1\times\cdots\times EMPTY\times\cdots\times s_n
=
EMPTY.
$$

This rule simplifies intersection and partition algorithms.

## Wildcards

The wildcard selector ANY denotes the full dimension domain. It satisfies ANY ∩ s = s and s ⊆ ANY. For partition construction, ANY adds no boundaries of its own. Instead, it covers every cell induced by the other selectors.

## Finite Sets

A finite set selector is normalized by removing duplicates, sorting under canonical order, collapsing cardinality one to EXACT, and collapsing cardinality zero to EMPTY. Thus:

$$
SET({b,a,a})
\rightarrow
SET({a,b}).
$$

The categorical primitives in this algebra, `EXACT(v)` and `SET({v_1,...,v_k})`, cover finite enumerable categorical dimensions. For hierarchical or prefix-structured categorical dimensions (for example, filesystem paths, URL namespaces, Kubernetes resource paths), the implementer must either enumerate the relevant set finitely or extend the algebra with a prefix primitive; such extension is out of scope here. The partition completeness guarantee described in the Categorical Partition Construction section applies only to the finite enumerable case.

## Integer Intervals

For integer domains define INTERVAL(l,u), where endpoints may be $l\in\mathbb Z\cup{-\infty}$ and $u\in\mathbb Z\cup{+\infty}$. The denotation is:

$$
\llbracket INTERVAL(l,u)\rrbracket
=
{
z\in\mathbb Z:
l\le z\le u
}.
$$

This specification normalizes discrete integer intervals to inclusive closed bounds; other endpoint conventions must first be converted to that representation.

## Interval Normalization

Normalization rules: INTERVAL(l,u) = EMPTY if l > u. If l = u ∈ ℤ, then INTERVAL(l,l) → EXACT(l). If both endpoints are unbounded, INTERVAL(-∞,+∞) → ANY.

## Exact Interval Intersection

For intervals (I_1=[l_1,u_1]) and (I_2=[l_2,u_2]), the intersection is:

$$
I_1\cap I_2
=
[
\max(l_1,l_2),
\min(u_1,u_2)
].
$$

If $\max(l_1,l_2) > \min(u_1,u_2)$, the result is EMPTY. The same rule extends naturally to infinite endpoints.

## Interval Containment

Interval (I_1) contains (I_2) iff $l_1\le l_2$ and $u_2\le u_1$:

$$
I_2\subseteq I_1
\iff
l_1\le l_2
\land
u_2\le u_1.
$$

Containment tests are exact. No sampling is required.

## Categorical Partition Construction

For a finite categorical dimension, collect all explicitly referenced values (V = {v_1,...,v_k}). The canonical cells are {v_1}, ..., {v_k}, and OTHER, where OTHER represents all values not individually named, if the underlying domain permits such values. If the categorical domain is itself known finite and fully enumerated, OTHER is unnecessary. Every selector is constant on each cell.

## Integer Endpoint Partition Construction

For integer intervals, protection can change only at selector boundaries. Suppose active selectors contain finite endpoints (e_1 < e_2 < ... < e_m). For each interval endpoint, membership transitions may occur at (l) and (u+1). An exact discrete partition is therefore most naturally constructed from cut points:

$$
C=
{l:
l\text{ finite lower endpoint}}
\cup
{u+1:
u\text{ finite upper endpoint}}.
$$

Sort them (c_1 < ... < c_r). The resulting cells are (-∞, c_1-1], [c_1, c_2-1], ..., [c_r, +∞). Empty intervals are removed. Every original interval either covers each cell completely or does not intersect it.

## Endpoint-Singleton Alternative

An equivalent partition may explicitly separate endpoints into singleton cells ({e_i}) and gaps between endpoints. For discrete integer selectors, the cut-point construction is usually smaller because adjacent integers with identical membership vectors remain in the same cell. Both approaches are correct if they guarantee constant selector membership.

## Canonical Representatives

Each nonempty cell receives one representative. For finite interval [a,b], choose rep([a,b]) = a. For lower-unbounded interval (-∞,b], a canonical representative may be b. For upper-unbounded interval [a,+∞), choose a. For categorical singleton, rep({v}) = v. For OTHER, use a symbolic representative carrying the membership semantics rather than inventing a concrete domain value when the domain is abstract.

## Representative Correctness

A representative is valid because every policy selector has constant membership within its cell. Let cell (C) satisfy:

$$
\forall s,
\forall x,y\in C:
\mathbf 1[x\in s]
=
\mathbf 1[y\in s].
$$

Because effective protection depends only on which selectors apply,

$$
\Pi_S(x)=\Pi_S(y)
\qquad
\forall x,y\in C.
$$

Therefore:

$$
\Pi_S(C)
=
\Pi_S(rep(C)).
$$

## Multidimensional Cells

Suppose each dimension (D_i) is partitioned into cells (C_{i1},...,C_{ik_i}). The full request space is partitioned by Cartesian products:

$$
C_{1a_1}
\times
C_{2a_2}
\times
\cdots
\times
C_{na_n}.
$$

Each product cell has canonical representative:

$$
rep(C)
=
(
rep(C_{1a_1}),
\ldots,
rep(C_{na_n})
).
$$

Policy applicability is constant throughout each product cell.

## Cell Explosion

The naive Cartesian partition has size $\prod_{i=1}^{n}k_i$, which can become large. Several exact reductions are possible: discard impossible cross-dimensional combinations; partition only dimensions referenced by active policies; merge cells with identical policy membership vectors (see the Protection Signature section for the join-semantics condition this requires); compare only regions touched by changed policies plus overlap dependencies; use symbolic decision diagrams for large selector systems. These are optimizations. They must preserve the exact semantics of the canonical partition.

## Protection Signature

For cell (C), define its policy-membership signature:

$$
Sig_S(C)
=
(
\mathbf 1[C\subseteq s_1],
\ldots,
\mathbf 1[C\subseteq s_m]
).
$$

If two cells share identical signatures under all active policies, they have equal effective protection under join semantics. Equal signatures imply equal Active sets, and the join over an equal Active set is identical. This merge is a corollary of the Core Equivalence Theorem (the Monotonicity Theorem and the Core Theorem), which holds under join semantics; the corollary inherits the same combinator restriction.

For non-join combinators, signature equality implies equal Active sets but does not guarantee equal effective protection if the combinator depends on rule ordering or other state-dependent factors. Under non-join combinators, this merge must not be applied unless the implementer independently verifies that effective protection is a pure function of the Active set. Cells satisfying the signature-equality condition under join semantics may be merged for comparison purposes.

## Exact Protection Comparison Algorithm

Given states (S) and (S'): collect all selectors appearing in either state; normalize them; extract dimension boundaries; construct canonical per-dimension partitions; form nonempty product cells; choose one representative per cell; compute

$$
p=\Pi_S(rep(C)),
$$

$$
p'=\Pi_{S'}(rep(C));
$$

and verify $p'\succeq p$. If any cell violates this relation, return the cell as a finite witness.

## Finite Witness

A failed monotonicity check produces explicit witness $C^\ast$ such that:

$$
\Pi_{S'}(rep(C^\ast))
\prec
\Pi_S(rep(C^\ast)).
$$

Because protection is constant over $C^\ast$,

$$
\forall x\in C^\ast:
\Pi_{S'}(x)
\prec
\Pi_S(x).
$$

Thus the verifier produces not merely a claim that the policy became weaker. It identifies the exact semantic request region where weakening occurred.

## Monotonicity Theorem

Assume: (1) every policy scope is represented in the canonical selector algebra; (2) effective protection is computed as a lattice join of the Active rule set, that is, $\Pi_S(x) = \bigvee\{p_r : r \in Active(S), x \in selector(r)\}$, so that protection at any point depends only on selector membership and policy metadata constant within each selector; (3) the finite partition contains every boundary induced by selectors in both states.

Then:

$$
\forall C\in Partition(S,S'):
\Pi_{S'}(rep(C))
\succeq
\Pi_S(rep(C))
$$

iff

$$
\forall x\in D:
\Pi_{S'}(x)
\succeq
\Pi_S(x).
$$

### Proof sketch

Every $x\in D$ belongs to exactly one cell (C). By construction, every selector has constant membership on (C). Under join semantics (assumption 2), Active(S, x) = Active(S, rep(C)) for all x in C, because Active membership is determined solely by selector membership, which is constant within C. Therefore:

$$
\Pi_S(x)=\Pi_S(rep(C))
$$

and

$$
\Pi_{S'}(x)=\Pi_{S'}(rep(C)).
$$

Representative monotonicity therefore implies pointwise monotonicity. The reverse implication is immediate.

## Empty Domain

If the valid request domain is empty (D=$\varnothing$), the universal monotonicity statement is vacuously true:

$$
\forall x\in\varnothing:
\Pi_{S'}(x)\succeq\Pi_S(x).
$$

The partition algorithm should return zero cells and PASS. It must not fabricate a representative.

## Wildcard-Only Domain

If every active selector is ANY, no policy boundary exists. The domain contains one canonical cell (C=D). One representative is sufficient. This is the minimum partition.

## Selector Intersection

Selectors must support exact intersection (s_1 ∩ s_2). For multidimensional product selectors:

$$
(s_1^1\times\cdots\times s_1^n)
\cap
(s_2^1\times\cdots\times s_2^n)
$$

equals

$$
(s_1^1\cap s_2^1)
\times
\cdots
\times
(s_1^n\cap s_2^n).
$$

If any component is empty, the full intersection is empty. This permits exact overlap analysis between revocations.

## Selector Containment

Define $s_a\subseteq s_b$ iff $\llbracket s_a\rrbracket \subseteq \llbracket s_b\rrbracket$. For product selectors, containment holds iff each component is contained: $s_a^i\subseteq s_b^i$ for all (i). Containment is required for supersession validation, partial replacement, relaxation scope checking, and authorization scope checking.

## Selector Difference

Partial replacement often requires $A\setminus B$. Difference may not be representable by one primitive selector. For example:

$$
[1,10]\setminus[4,6]
=
[1,3]\cup[7,10].
$$

The canonical algebra therefore allows a selector expression to normalize into a finite disjoint union:

$$
s
=
\bigcup_{k=1}^{m}s_k.
$$

The members are normalized and pairwise disjoint.

## Disjoint Normal Form

A useful canonical representation is:

$$
DNF(s)
=
{c_1,\ldots,c_m},
$$

where each (c_i) is a canonical selector cell and $c_i\cap c_j=\varnothing$ for $i\neq j$. Then:

$$
\llbracket s\rrbracket
=
\bigcup_i\llbracket c_i\rrbracket.
$$

This representation simplifies exact set difference and policy coverage checks.

## Revocation Replacement Validation

Suppose predecessor (r_p) is replaced by successors (R_s = {r_1,...,r_k}). Define predecessor region $A = \llbracket selector(r_p)\rrbracket$ and successor effective protection over (A) as $\Pi_{succ}(x)$. Ordinary replacement is valid only if

$$
\forall x\in A:
\Pi_{succ}(x)
\succeq
Protection(r_p,x).
$$

The finite partition algorithm makes this check exact.

## Higher-Precedence Active Prohibitions

Suppose successor replacement would weaken its predecessor locally, but another active prohibition still maintains equal or stronger effective protection. At the kernel level, the relevant invariant concerns $\Pi_S$ rather than isolated object strength. Therefore if effective protection remains unchanged, $\Pi_{S'}(x)=\Pi_S(x)$ for all (x), and kernel monotonicity passes.

However, a stricter supersession contract may additionally require the successor itself to be no weaker than its predecessor. These are distinct checks. Local replacement validity requires $Protection(r_{successor}) \succeq Protection(r_{predecessor})$. Global protection validity requires $\Pi_{S'}\succeq\Pi_S$. Both can be required. The local rule prevents latent weakening that could become visible if an unrelated stronger policy is later removed.

## Latent Protection

This motivates a distinction between effective protection and structural protection. Effective protection is what applies now. Structural protection records whether a replacement preserves the strength of the policy lineage independently of overlapping rules. A robust revocation system should preserve both. Otherwise a weak successor may remain hidden behind another prohibition until that prohibition legitimately expires.

## Successor No-Weaker Rule

For ordinary supersession:

$$
selector(r_p)\subseteq
Coverage(r_s)
$$

and

$$
Protection(r_s,x)
\succeq
Protection(r_p,x)
$$

throughout predecessor scope. If several successors jointly replace one predecessor, the same condition applies to their combined structural coverage. This ensures future removal of unrelated policies cannot expose a weakened gap.

## Relaxation Scope Reduction

`RELAX_REVOCATION` permits an explicitly authorized reduction. Suppose predecessor protects (A) and the relaxation specifies authorized retained protection $B\subseteq A$. Then the relaxed region is $R = A\setminus B$. The event must declare (R) or an equivalent scope reduction directly. It may not encode the reduction indirectly through a weaker successor and ask the kernel to infer intent.

## Relaxation Authorization

Let authorization (a) contain scope $Scope(a)\subseteq D$. Then a relaxation event with decreased region $\Delta^{-}$ requires:

$$
\Delta^{-}
\subseteq
Scope(a).
$$

If the actual semantic decrease exceeds authorization by even one cell, the event is rejected. This makes the finite partition witness directly useful for authorization validation.

## Relaxation Cannot Resurrect Old Authority

Suppose authority (A_0) existed before revocation. A later relaxation reduces the revocation only over domain (R). The result is not Restore(A_0). Instead, any resulting capability must be determined from the current active authorization state. Thus:

$$
RelaxRevocation
\neq
RestoreAuthorization.
$$

A relaxed prohibition may expose that no permission currently exists. The system should then remain nonauthorized. This prevents revocation relaxation from silently resurrecting stale authority.

## Ledger Semantics

Every protection-related transition should emit a receipt containing:

$$
(
event_id,
type,
actor,
authorization,
pre_state_hash,
post_state_hash,
changed_selectors,
decrease_cells,
result
).
$$

For ordinary events, decrease_cells = $\varnothing$. For relaxation, decrease_cells must equal or be contained within the authorized relaxation scope.

## Restore Ledger Semantics

A restore receipt should record the snapshot identifier, snapshot time, current protection floor, restored objects, nonrestored authority, surviving revocations, and any reconciliation actions. This makes it possible to verify that historical state was restored without historical capability being reactivated.

## Replay Protection

A protection event must be applied at most once. If event identifier (e) has already committed, then replay returns REPLAY or the original receipt. It must not reapply selector mutations. This matters particularly for relaxation events, where replaying the same authorized decrease against a later state could produce unintended additional weakening.

## Freshness

Protection events should bind to a known base state version:

$$
base_version(e)=v.
$$

If current state version is $v'\neq v$, the event is stale unless an explicit reconciliation rule applies. This prevents an authorized narrow change from being applied after the surrounding policy landscape has materially changed.

## Concurrency

Suppose two events are prepared against state (S_v): (e_1) and (e_2). If (e_1) commits first, $S_v\rightarrow S_{v+1}$, then (e_2) should not blindly apply to (S_{v+1}). It must either be rejected as stale or recomputed and revalidated against the new protection state. This protects the monotonicity invariant under concurrent policy changes.

## Property-Based Testing Strategy

Example tests are insufficient because failures often occur at selector boundaries and transition sequences not anticipated by the implementer. Property-based tests can generate arbitrary selectors, interval endpoints, overlapping revocations, lineage structures, supersession chains, restore snapshots, policy update sequences, and authorized and unauthorized relaxations. The kernel then verifies universal invariants.

The properties in the following sections are targets for implementation against a concrete kernel using a property-based testing framework such as QuickCheck, Hypothesis, or PropEr. No implementation is verified here.

## Normalization Properties

For arbitrary selector (s):

Idempotence: N(N(s)) = N(s).

Semantic preservation (for generated domain witnesses): x ∈ s iff x ∈ N(s).

Empty normalization: impossible selectors map to EMPTY.

Singleton interval normalization: [a,a] → EXACT(a).

Full interval normalization: [-∞,+∞] → ANY.

## Intersection Properties

For arbitrary selectors:

Commutativity: s_1 ∩ s_2 = s_2 ∩ s_1.

Associativity: (s_1 ∩ s_2) ∩ s_3 = s_1 ∩ (s_2 ∩ s_3).

Idempotence: s ∩ s = s.

Empty annihilation: s ∩ EMPTY = EMPTY.

Wildcard identity: s ∩ ANY = s.

## Containment Properties

Containment must satisfy:

Reflexivity: s ⊆ s.

Transitivity: s_1 ⊆ s_2 and s_2 ⊆ s_3 implies s_1 ⊆ s_3.

Antisymmetry modulo normalization: s_1 ⊆ s_2 and s_2 ⊆ s_1 implies N(s_1) = N(s_2).

## Interval Endpoint Tests

Generated interval tests should emphasize adjacent endpoints, equal endpoints, one-point gaps, negative integers, zero crossings, large bounded endpoints, lower-unbounded intervals, upper-unbounded intervals, full unbounded intervals, and empty reversed intervals. These are precisely where hand-written selector code often fails.

## Partition Completeness

For generated finite test windows (W), verify:

$$
\bigcup_{C\in Partition}C=W
$$

and $C_i\cap C_j=\varnothing$ for $i\neq j$. For symbolic unbounded domains, equivalent structural proofs can verify that the exterior cells are included exactly once.

## Protection Constancy

For each generated partition cell (C), sample multiple values $x,y\in C$ where possible and verify $\Pi_S(x)=\Pi_S(y)$. This is not the proof of constancy but is a powerful implementation test of the partition constructor.

## Representative Equivalence

For each cell:

$$
\forall x\in C:
\Pi_S(x)=\Pi_S(rep(C)).
$$

Property-based testing can test finite samples inside bounded generated cells and boundary-focused points for unbounded ones.

## Restore Non-Bypass Test

Generate state sequence:

$$
S_0
\rightarrow
Grant(A)
\rightarrow
Snapshot
\rightarrow
Revoke(A)
\rightarrow
Restore(Snapshot).
$$

Required property: Authorized(A) = 0. Protection after restore must satisfy $\Pi_{restored}\succeq\Pi_{pre-restore}$.

## Ordinary Supersession Non-Bypass Test

Generate predecessor selector (A) and narrower candidate successor $B\subset A$. Attempt ordinary supersession. Required outcome: REJECT unless residual protection covers $A\setminus B$. The test should generate both valid and invalid partial replacements.

## Relaxation Exclusivity Test

Generate a state with active revocation over region (A). Attempt to reduce protection through each ordinary event type (supersession, restore, correction, policy update, reissue, lineage move). The required property is $\Delta^{-}\neq\varnothing \Rightarrow REJECT$ for all ordinary event types. Then apply authorized `RELAX_REVOCATION`. Reduction is permitted only within declared scope.

## Higher-Precedence Protection Test

Generate a predecessor revocation (r_1), a stronger overlapping prohibition (r_h), and a weaker successor (r_2). The global effective protection may remain unchanged because of (r_h). A strict implementation should still reject (r_2) as an invalid structural successor if successor no-weaker semantics are enabled. This test distinguishes latent from effective safety.

## Future Event Property

Generate arbitrary synthetic event handlers that mutate unrelated state plus occasionally mutate policy state. For any event not marked as relaxation-capable, $\Delta^{-}=\varnothing$ must hold after successful commit. This verifies that the kernel-wide guard actually protects future extension points.

## Sequence Properties

The most dangerous behaviors emerge across chains. Generate arbitrary sequences containing RESTORE, POLICY_UPDATE, SUPERSEDE, CORRECT_STATE, RELAX_REVOCATION, and REPLAY. For every prefix ending in an ordinary event:

$$
\Pi_{t+1}\succeq\Pi_t.
$$

For relaxation events:

$$
\Delta^{-}
\subseteq
AuthorizedRelaxationScope.
$$

## Protection History

Because ordinary transitions are monotonic, protection along a transition path satisfies:

$$
\Pi_{S_0}
\preceq
\Pi_{S_1}
\preceq
\cdots
\preceq
\Pi_{S_n}
$$

between explicit relaxation events. This creates a useful audit property. Every downward edge in protection history must correspond to a recorded relaxation event. If the ledger shows a protection decrease without such an event, there is an invariant violation or ledger corruption.

## Protection Epochs

A system may divide history into epochs separated by authorized relaxations. Within epoch (k):

$$
\Pi_{k,0}
\preceq
\Pi_{k,1}
\preceq
\cdots
\preceq
\Pi_{k,n}.
$$

At an authorized relaxation boundary, $\Pi_{k+1,0}$ may be lower on declared scope. This produces a concise historical model: monotonic epochs plus explicit downward transitions.

## Formal Security Benefit

The architecture reduces the trusted transition surface. Without kernel-wide monotonicity, every event handler must correctly preserve every protection mechanism. With monotonicity checking, an event handler can be defective yet still fail closed if its resulting semantic state is weaker. This changes the security assumption from "every handler is correct" to "every committed state passes the semantic invariant." The invariant checker therefore becomes part of the trusted computing base.

## Limits of the Method

The method guarantees only what the protection model represents. If a real capability dimension is omitted from (D), monotonicity over the modeled domain cannot protect it. Likewise, if $\Pi_S$ incorrectly computes effective protection, comparing it exactly does not repair the semantic error. The framework therefore depends on complete request-domain modeling, correct policy resolution, correct protection ordering, and correct selector semantics. These components require independent audit.

Event type classification is trusted input. The architecture does not provide the mechanism for authenticating that a `RELAX_REVOCATION` event was correctly typed at origin. Whether that classification is enforced by the host type system, by a kernel-level gate, or by cryptographic signature over the event payload is an architectural choice left to the implementer. Any gap between event-type assignment and event-type enforcement is outside this specification and constitutes an external trust dependency.

Liveness is outside this specification. The monotonicity invariant is a safety property: it prevents unauthorized protection decrease. It does not prevent protection from monotonically converging toward maximum denial. A handler that always returns MAX_PROTECTION satisfies every check. Guaranteeing that protection levels remain compatible with authorized service access is an application-level responsibility.

## Dynamic Domains

Some systems contain domains whose members change over time: newly created resources, new principals, new capability types. Wildcards are especially important here. A prohibition over ANY must continue to apply to future members. Exact-value enumeration does not provide this property. Selector semantics must therefore distinguish "all currently known values" from ANY, where the latter is future-extensible.

## Unknown Values

Categorical selectors may need explicit treatment of unknown or future values. A canonical partition can include symbolic cell OTHER. Policies applying to ANY include it. Policies applying only to listed finite values do not. This allows exact reasoning over categories without enumerating every possible future identifier.

## Time Selectors

Time introduces additional complexity because policies may expire. If time is represented as an integer dimension, interval selectors can model ([t_{start},t_{end}]). However, ordinary passage of time may then reduce protection if a prohibition legitimately expires. Such behavior must be modeled intentionally.

Two approaches exist. First, classify expiry as an authorized protection transition: a clock-tick commit event is emitted at each expiry boundary (i.e., at time t_e a RELAX_REVOCATION or equivalent typed event commits the expiry), making mechanism (1) equivalent to mechanism (2) operationally. Second, define effective protection relative to policy validity so that scheduled expiry is preauthorized when the policy is created (see the next section).

These mechanisms are not interchangeable without additional specification. Mechanism (1) without an explicit clock-tick commit event at t_e creates an unchecked window: the invariant checker runs only at commit time, so if no commit event fires at expiry, the protection decrease from clock advancement is not detected. The implementer must ensure that expiry boundaries trigger a commit event, or must use mechanism (2). The system must choose explicitly. Hidden time-dependent weakening is incompatible with auditable monotonicity.

## Preauthorized Expiry

A revocation may contain authorized interval ([t_0,t_e]). Policy creation itself then authorizes the eventual end of its protection at (t_e). The transition at expiry is not an unexpected relaxation because the decrease condition was part of the original signed policy. The ledger should still record expiry. This preserves auditability while permitting temporary restrictions.

## Capability Reissue

Suppose a revoked capability is later reissued. Reissue must not be interpreted as undoing the revocation automatically. A fresh authorization creates Capability_{new}. It should carry a new identifier, current scope, current lineage, and current constraints. The old revoked capability remains revoked. This prevents capability resurrection through identifier reuse.

## Lineage-Aware Reissue

If authority is lineage-scoped, a capability reissued in lineage (L_2) should not inherit rights from historical capability in (L_1) unless an explicit lineage transfer contract permits it. The selector domain therefore includes lineage as a first-class dimension. Protection comparison then naturally detects cross-lineage leakage.

## Cross-Lineage Restore

Suppose a snapshot from lineage (L_1) is restored into descendant (L_2). The restore may recover historical data. It does not automatically restore lineage-specific authority. The protection floor is computed against the destination lineage's current revocations. This prevents branch rollback from bypassing branch-local restrictions.

## Selector Algebra as an Audit Interface

The canonical selector algebra has value beyond runtime enforcement. Because every rule is reducible to a normalized semantic domain, auditors can ask "where exactly is this capability prohibited?" and receive a finite union of canonical cells. Likewise, "what changed between these policy states?" can be answered as

$$
\Delta^+,
\quad
\Delta^-,
$$

where

$$
\Delta^+
=
{x:\Pi_{S'}(x)\succ\Pi_S(x)},
$$

and

$$
\Delta^-
=
{x:\Pi_{S'}(x)\prec\Pi_S(x)}.
$$

## Canonical Diff

A policy-state diff should therefore be semantic rather than textual. Instead of "policy object 17 changed selector syntax," the system can report:

$$
[10,14]\times{WRITE}
:
ALLOW\rightarrow DENY.
$$

or:

$$
[20,22]\times{EXECUTE}
:
DENY\rightarrow ALLOW
$$

with the second transition requiring explicit relaxation authority. This gives reviewers directly actionable evidence.

## Minimal Witness Reporting

When monotonicity fails, the verifier should return the canonical cell, representative, old effective protection, new effective protection, old contributing policies, new contributing policies, and transition event. For example:

$$
Witness:
(operation=WRITE,\ size\in[101,120],\ lineage=L_3)
$$

$$
Old=DENY
$$

$$
New=ALLOW.
$$

This makes invariant failures diagnosable.

## Formal Transition Contract

A generic transition can be represented as:

$$
K(S,e)
=
\begin{cases}
(S',receipt), & Valid(S,e,S')\\
(S,rejection), & otherwise.
\end{cases}
$$

For ordinary event (e):

$$
Valid
=
Preconditions
\land
Schema
\land
Freshness
\land
Authorization
\land
ProtectionMonotonicity.
$$

For relaxation event:

$$
Valid
=
Preconditions
\land
Schema
\land
Freshness
\land
RelaxAuthorization
\land
ScopedDecrease.
$$

## Commit Discipline

The proposed system uses compute → verify → commit. Not mutate → discover violation → attempt rollback. The candidate state is constructed privately as $\hat S'$. The monotonicity verifier checks $Verify(S, \hat S')$. Only on PASS does $S\leftarrow\hat S'$ occur. This prevents transient unauthorized states from becoming externally visible.

## Crash Safety

If the process crashes after verification but before durable commit, the transition should be absent. If it crashes after commit, the receipt and state must agree. A transaction journal can enforce:

$$
StateVersion
\leftrightarrow
Receipt.
$$

A relaxation must never exist in state without its corresponding authorization receipt.

## Deterministic Reconciliation

After restart, the system may encounter durable state, a pending journal entry, or a receipt mismatch. Recovery should deterministically choose one committed state. It must never infer that a partially written relaxation probably succeeded. For downward-protection events, ambiguity should resolve to the stronger protection state. This is a fail-closed reconciliation rule.

## Protection Monotonicity and Safety

The framework does not claim that stronger restriction is always better. Systems require legitimate authority changes. The claim is narrower: protection decreases are semantically important and should therefore require distinct, explicit authority. Ordinary maintenance operations should not accidentally perform them. This is analogous to type systems distinguishing read operations from writes even though writes are sometimes legitimate.

## Relationship to Capability Systems

Capability systems ask whether an actor possesses an unforgeable authority token. Protection monotonicity addresses a different layer: can state evolution indirectly make a previously forbidden request possible? The two approaches are complementary. Capabilities constrain possession. Protection monotonicity constrains transition semantics.

## Relationship to Access-Control Lists

ACL systems often resolve explicit allow and deny rules at request time. The selector algebra can represent ACL scopes, but the central contribution is not another resolution rule. It is exact comparison of two resolved protection functions over the complete request domain. ACL → ΠS is one possible policy backend. The monotonicity verifier operates above it.

## Relationship to Formal Refinement

Ordinary transitions can be interpreted as protection refinements. If $\Pi_{S'}\succeq\Pi_S$, then (S') refines (S) with respect to protection. Authorized relaxation is an explicitly permitted anti-refinement over bounded scope. This places the framework naturally within refinement-oriented formal methods.

## Falsification Criteria

The design fails if any of the following can be demonstrated: (1) two semantically equivalent selectors normalize differently in a way that changes policy resolution; (2) a partition omits a selector boundary; (3) protection differs at two points inside one claimed canonical cell; (4) ordinary restore resurrects revoked authority; (5) supersession leaves an unprotected predecessor region; (6) a weak successor is hidden behind a stronger unrelated policy and later becomes effective after that policy disappears; (7) ordinary correction or policy update produces a protection decrease; (8) relaxation exceeds its authorized selector scope; (9) an old authorization is resurrected by relaxation; (10) replay applies a protection decrease twice; (11) an unbounded interval is incorrectly truncated by the verifier; (12) an OTHER categorical region is omitted; (13) a future event type weakens protection without being typed as relaxation. These are concrete implementation failure modes.

## Core Theorem

The architecture reduces to the following statement.

Let all policy scopes in states (S) and (S') belong to a selector algebra admitting a finite membership-constant partition

$$
\mathcal C(S,S').
$$

Let effective protection be computed as a lattice join of all applicable rules: $\Pi_S(x) = \bigvee\{p_r : r \in Active(S), x \in selector(r)\}$. Under this join-semantics condition, for any ordinary transition:

$$
\boxed{
\left[
\forall C\in\mathcal C:
\Pi_{S'}(rep(C))
\succeq
\Pi_S(rep(C))
\right]
\iff
\left[
\forall x\in D:
\Pi_{S'}(x)
\succeq
\Pi_S(x)
\right].
}
$$

A potentially infinite universal protection comparison is therefore reduced exactly to finitely many evaluations.

Non-join combinators are not covered by this theorem. Implementers using precedence-sensitive or state-dependent combinators must independently verify that their combinator satisfies the cell-constancy condition (assumption 2 of the Monotonicity Theorem) before applying the partition-based comparison.

## Architectural Summary

The complete protection pipeline is:

$$
\boxed{
\begin{array}{c}
\text{Normalize policies}\\
\downarrow\\
\text{Construct canonical selector partition}\\
\downarrow\\
\text{Compute effective protection per cell}\\
\downarrow\\
\text{Construct candidate next state}\\
\downarrow\\
\text{Recompute protection per cell}\\
\downarrow\\
\text{Compare old and new protection}\\
\downarrow\\
\text{No decrease: ordinary transition may commit}\\
\downarrow\\
\text{Decrease: require typed relaxation authority}\\
\downarrow\\
\text{Record exact decreased cells in ledger}
\end{array}
}
$$

## Conclusion

Protection rules become difficult to audit when they are treated primarily as mutable objects. The central abstraction should instead be the semantic function:

$$
\Pi_S:D\rightarrow\mathcal P.
$$

Once protection is represented this way, state-transition safety can be stated precisely: $\Pi_{S'}\succeq\Pi_S$ for every ordinary transition. The remaining difficulty is computational: determining this relation over large or infinite request domains.

Canonical selector algebra resolves that problem under join semantics. Exact values, sets, wildcards, categorical residuals (for finite enumerable dimensions), and bounded or unbounded integer intervals induce a finite partition of the request space. Every active selector has constant membership within each resulting cell. Under the join combinator, effective protection is therefore constant within each cell, allowing universal protection comparison to be reduced to one canonical representative per cell.

This construction gives restore, policy update, correction, revocation, and supersession operations a common semantic safety condition. Restore cannot resurrect authority. Partial replacement cannot expose gaps. A successor cannot weaken a predecessor invisibly. Higher-precedence prohibitions remain effective. Future event types inherit the same protection boundary automatically.

Most importantly, legitimate protection reduction is not forbidden. It is made explicit through a separately typed operation whose authorization scope must contain the exact semantic region being weakened.

The design can therefore be summarized by one invariant:

$$
\boxed{
\text{Protection may strengthen silently; it may weaken only explicitly.}
}
$$

That converts revocation preservation from a convention distributed across transition handlers into an executable property of the kernel itself.

## Corrections in this version

2026-09-08: Two residual defects from the 2026-09-06 rewrite were repaired. First, an orphaned duplicate section heading ("Exact Protection Comparison Across Restore, Revocation, Supersession, and Policy Transitions") sat directly beneath the title block, immediately above "The short version," carrying no body text of its own. It was a leftover from an earlier restructure, already flagged as a disclosed-but-unfixed item in the Runtimes section below; it has been removed, leaving the H1 title as the sole title-level heading. Second, a LaTeX typo in the Higher-Precedence Active Prohibitions section rendered the source as `$\\Pi_{S'}(x)=\Pi_S(x)$` with a stray double backslash before the primed term; corrected to `$\Pi_{S'}(x)=\Pi_S(x)$`.

## Runtimes and their contribution

Authorship and all research judgments are the author's alone. Machine runtimes assisted with editorial restructuring, source-location checks, house-style normalization, and verification. They did not originate the research claims, perform unreported experiments, or receive creator credit. Detailed per-runtime provenance remains in the project audit record.