AI-generation and verification disclosure. This addendum, the illustrative formal model, and its finite-state checker were AI-generated. The checker was rerun, and its transition counts were separately tabulated from its transition generator for this revision. The checker source is not distributed with this document. The example proves properties of a specified finite abstraction, not of any production CRM, Calendar, or customer-notification integration. The separate enterprise-scale workload estimates near the end come from the author’s other work; they are not derived or validated by this checker.

Definitions

Let the enterprise-wide inventory be 𝖨𝗇𝗏=(ℬ,𝒪,𝒲)\mathsf{Inv}=(\mathcal B,\mathcal O,\mathcal W), where ℬ={B1,…,Bk}\mathcal B=\{B_1,\ldots,B_k\} is the set of cohesive business/software subdomains, 𝒪\mathcal O records principals, systems, resources, and information sources, and 𝒲\mathcal W records their dependencies, including indirect and asynchronous effects. The global security-relevant state is

s=(x1,…,xk,𝖠𝗎𝗍𝗁𝖲𝗍𝖺𝗍𝖾,𝖥𝗅𝗈𝗐,𝖯𝗋𝗈𝗏𝖾𝗇𝖺𝗇𝖼𝖾,𝖠𝗀𝖾𝗇𝗍𝖲𝗍𝖺𝗍𝖾,𝖮𝗉𝗌,𝖤𝗏𝗂𝖽𝖾𝗇𝖼𝖾)∈S. s=(x_1,\ldots,x_k,\mathsf{AuthState},\mathsf{Flow},\mathsf{Provenance},\mathsf{AgentState},\mathsf{Ops},\mathsf{Evidence})\in S.

Here xix_i is the business state of subdomain BiB_i; 𝖠𝗎𝗍𝗁𝖲𝗍𝖺𝗍𝖾\mathsf{AuthState} records identities, mandates, approvals, revocations, and policy versions; 𝖥𝗅𝗈𝗐\mathsf{Flow} records authorized information flows; 𝖯𝗋𝗈𝗏𝖾𝗇𝖺𝗇𝖼𝖾\mathsf{Provenance} records source integrity; 𝖠𝗀𝖾𝗇𝗍𝖲𝗍𝖺𝗍𝖾\mathsf{AgentState} includes plans and persistent memory; 𝖮𝗉𝗌\mathsf{Ops} includes requests, commitments, queues, retries, and callbacks; 𝖤𝗏𝗂𝖽𝖾𝗇𝖼𝖾\mathsf{Evidence} includes independent observations, audit, and fail-safe status. SS is the specified global state space. Agents may operate across all subdomains; the partition is for implementation and proof, not a restriction on agents’ plans.

Let 𝖨𝗇𝗂𝗍⊆S\mathsf{Init}\subseteq S be the possible initial states; UU the operations (including proposals, approvals, delegation, execution, and refusal); EE the environmental events; and oo an agent observation. Agent jj may propose u∈Πj(s,o)⊆Uu\in\Pi_j(s,o)\subseteq U; Πj\Pi_j may be nondeterministic. An adaptive control HH may rank or veto proposals. Independent enforcement GG must satisfy

Enabled⁡G+H(s)⊆Enabled⁡G(s), \operatorname{Enabled}_{G+H}(s)\subseteq\operatorname{Enabled}_{G}(s),

where Enabled\operatorname{Enabled} is the set of externally effective operations admitted by the indicated controls. An authenticated approval is bound to a specific effect, principal and mandate, policy/state versions, revocation status, and any required separation of duties. An agent may approve another agent’s proposal—or its own where permitted—but approval authority cannot be created through model output. Lower-integrity input may influence a choice among authorized actions, not expand the authorized set or elevate the source’s integrity.

Define P:S→{0,1}P:S\rightarrow\{0,1\} as the permitted-state predicate and J:S×U×E×S→{0,1}J:S\times U\times E\times S\rightarrow\{0,1\} as the permitted-transition predicate, incorporating authorization, information flow, ordering, and external effects. Both are necessary: even two permitted endpoint states can be connected by a forbidden transition.

For subdomain BiB_i, define an interface contract

Ki=(Xi,Σi,𝖠𝗌𝗌𝗆i,𝖦𝗎𝖺𝗋i,αi). K_i=(X_i,\Sigma_i,\mathsf{Assm}_i,\mathsf{Guar}_i,\alpha_i).

Here XiX_i is the subdomain’s abstract state, Σi\Sigma_i its typed operations/events, 𝖠𝗌𝗌𝗆i\mathsf{Assm}_i its assumptions about callers and the environment, 𝖦𝗎𝖺𝗋i\mathsf{Guar}_i its guarantees about effects, failures, and evidence, and αi\alpha_i its implementation-to-contract abstraction. A cross-domain contract K×K_{\times} describes coordination and relational invariants. TKT_K is the transition relation of their compatible composition; TrealT_{\mathrm{real}} describes actual enterprise transitions, including external actors and integrations. Neither TKT_K nor a successful interface response automatically establishes conformity of TrealT_{\mathrm{real}}.

CRM–Calendar proof instance

Consider a single booking-creation workflow requiring CRM and Calendar commitments to agree at every business-visible state. Customer notification is prohibited until their joint commitment has been independently verified. Define ten Boolean variables, each either 0 (false) or 1 (true):

Variable Meaning when equal to 1
ccrmc_{\mathrm{crm}} The booking is committed and business-visible in CRM
ccalc_{\mathrm{cal}} The booking is committed and business-visible in Calendar
nn A customer notification has actually been sent; this effect is irreversible
vv An independent verifier observed the joint commitment
mm An applicable delegated mandate exists
aa A trusted, effect-bound approval is currently valid
rr The mandate or approval has been revoked
qq A booking request is pending
dd The request was safely denied before business commitment
λ\lambda A lower-trust source-content flag, which may change nondeterministically

The booking state is sB=(ccrm,ccal,n,v,m,a,r,q,d,λ)s_B=(c_{\mathrm{crm}},c_{\mathrm{cal}},n,v,m,a,r,q,d,\lambda); its initial value is sB0=(0,0,0,0,1,0,0,0,0,0)s_{B0}=(0,0,0,0,1,0,0,0,0,0). The five required invariant clauses define

PB(sB)≡(ccrm=ccal)∧(v⇒ccrm∧ccal)∧(n⇒v)∧(d⇒¬ccrm∧¬ccal∧¬n)∧(a⇒m∧¬r). \begin{aligned} P_B(s_B)\equiv {}& (c_{\mathrm{crm}}=c_{\mathrm{cal}})\\ &\land(v\Rightarrow c_{\mathrm{crm}}\land c_{\mathrm{cal}})\\ &\land(n\Rightarrow v)\\ &\land(d\Rightarrow\neg c_{\mathrm{crm}}\land\neg c_{\mathrm{cal}}\land\neg n)\\ &\land(a\Rightarrow m\land\neg r). \end{aligned}

The clauses require joint commitment, genuine postcondition evidence before notification, denial without business effects, and validity of approval under the mandate. In this creation-only model, a sent notification is never undone; cancellation after a completed booking is not modeled. Approval provenance and any separation-of-duties rule are assumed to have been checked by the trusted approval action; their internal mechanisms are not separately verified by this instance.

Exact transition guards and effects

The table below specifies the nine transition kinds actually used by the executed checker. Every guard is evaluated on the pre-state. The effect changes exactly the named fields; all other fields remain unchanged. A false guard disables that transition. The abbreviations in the first column are operation labels, not additional state variables.

Operation Required guard Exact effect
stutter true No change
propose ¬q∧¬d∧¬n\neg q\land\neg d\land\neg n q←1q\leftarrow1
trusted_approval q∧m∧¬r∧¬a∧¬dq\land m\land\neg r\land\neg a\land\neg d a←1a\leftarrow1
atomic_joint_commit q∧a∧m∧¬r∧¬d∧¬ccrm∧¬ccalq\land a\land m\land\neg r\land\neg d\land\neg c_{\mathrm{crm}}\land\neg c_{\mathrm{cal}} (ccrm,ccal)←(1,1)(c_{\mathrm{crm}},c_{\mathrm{cal}})\leftarrow(1,1) in one visible step
independent_attestation ccrm∧ccal∧¬vc_{\mathrm{crm}}\land c_{\mathrm{cal}}\land\neg v v←1v\leftarrow1
send_confirmation q∧ccrm∧ccal∧v∧a∧m∧¬r∧¬n∧¬dq\land c_{\mathrm{crm}}\land c_{\mathrm{cal}}\land v\land a\land m\land\neg r\land\neg n\land\neg d n←1n\leftarrow1
external_revoke ¬r\neg r (r,a)←(1,0)(r,a)\leftarrow(1,0)
safe_refusal q∧¬ccrm∧¬ccal∧¬n∧¬dq\land\neg c_{\mathrm{crm}}\land\neg c_{\mathrm{cal}}\land\neg n\land\neg d (q,d,a)←(0,1,0)(q,d,a)\leftarrow(0,1,0)
untrusted_source_change true λ←¬λ\lambda\leftarrow\neg\lambda

In particular, commit requires ¬d\neg d, approval requires q∧¬aq\land\neg a, notification requires ¬n\neg n, and propose requires ¬d\neg d: a denied request cannot be re-proposed without a new, separately specified workflow. The transition-policy predicate JB(sB,u,sB′)J_B(s_B,u,s'_B) is true only when the table’s guard and exact effect hold; it rejects all other operation/effect pairs.

The general JJ includes an environmental event argument ee. In this instance, the two explicit environmental events—revocation and lower-trust source change—are included as operation labels (external_revoke and untrusted_source_change), so the abbreviated JB(sB,u,sB′)J_B(s_B,u,s'_B) does not need a separate ee parameter.

Concurrency and trusted actions. The checker uses interleaving semantics: one modeled atomic transition at a time, with nondeterministic ordering. The atomicity of each modeled step, especially the joint CRM–Calendar commit, is an interface assumption. Real concurrent or partially completed operations require a justified refinement to this model; the checker does not prove real distributed atomicity. Trusted approval issuance, independent attestation, and the absence of unmodeled side effects are likewise explicit interface assumptions.

Source-integrity scope. No guard for a permitted authority transition reads λ\lambda, so the non-amplification property holds by construction in this example. Lower-trust content may affect which already-enabled operation an agent chooses, including whether to proceed or refuse; the checker enumerates both possible choices rather than modeling the agent’s preference. The deliberately defective source_authority_promotion variant introduces an approval based on the source flag and produces a counterexample. This is not an independent proof of prompt-injection resistance in a real agent.

Conditional enterprise safety proposition

Assume:

  1. Initial states. Every s∈𝖨𝗇𝗂𝗍s\in\mathsf{Init} satisfies P(s)P(s).
  2. Contract correctness and compatibility. Each implementation meets 𝖦𝗎𝖺𝗋i\mathsf{Guar}_i when 𝖠𝗌𝗌𝗆i\mathsf{Assm}_i holds; neighboring guarantees and K×K_{\times} discharge those assumptions without unsupported circular reasoning.
  3. Global closure. For each composed interface transition (s,u,e,s′)∈TK(s,u,e,s')\in T_K, if P(s)P(s), then P(s′)∧J(s,u,e,s′)P(s')\land J(s,u,e,s'). This includes failures, revocation, approvals, and external effects represented by the contracts.
  4. Complete refinement and predicate preservation. All trust-relevant real transitions refine the composed contracts under the abstractions αi\alpha_i, preserving the meaning of PP and JJ. Let αent:Sreal→S\alpha_{\mathrm{ent}}:S_{\mathrm{real}}\to S be the jointly consistent enterprise abstraction, including the shared trust state. In particular, the real-state predicates are the abstractions’ pullbacks: Preal(z):=P(αent(z))P_{\mathrm{real}}(z):=P(\alpha_{\mathrm{ent}}(z)), and the real-transition policy uses J(αent(z),u,e,αent(z′))J(\alpha_{\mathrm{ent}}(z),u,e,\alpha_{\mathrm{ent}}(z')). Every actual trust-relevant effect must be represented. A real transition classified as not trust-relevant must stutter on the entire security-relevant abstract state, with no hidden trust-relevant side effect.
  5. Independent complete mediation. Agent-originated effects cannot bypass the independent enforcement boundary, and adaptive controls cannot expand the authorized action set.

Proposition (conditional safety). Under assumptions 1–5, every state reached by any admitted real execution satisfies PrealP_{\mathrm{real}}, and every effective real transition satisfies the pulled-back JJ. This is universal over admitted agent choices and environment events, not a probability or a claim about unmodeled actions.

Proof. The initial abstract state satisfies PP by assumption 1 and refinement. Suppose a real execution reaches a state whose abstraction satisfies PP. Assumptions 2, 4, and 5 show that the next trust-relevant real effect maps to a valid composed transition. Assumption 3 makes that transition preserve PP and satisfy JJ. A genuinely non-trust-relevant step stutters on the abstraction by assumption 4 and preserves PP. Induction over finite execution prefixes establishes state safety and transition compliance for every admitted choice. End of proof.

Scope of the proposition. This is standard inductive-invariant reasoning combined with assume–guarantee/specification composition, in the tradition of Jones and Abadi–Lamport. Assumption 3 contains the global one-step safety obligation; the proposition does not derive it for free. The substance is independently discharging assumptions 2–4 for real enterprise interfaces, especially validating contract compatibility, proving composed closure, and establishing complete implementation refinement. The conditional induction itself is not presented as a novel theorem or a production certification.

Counterexample to sequential CRM–Calendar writes. Starting from (ccrm,ccal)=(0,0)(c_{\mathrm{crm}},c_{\mathrm{cal}})=(0,0), any first business-visible write to only CRM or only Calendar reaches (1,0)(1,0) or (0,1)(0,1), violating PBP_B. Later rollback cannot erase that intermediate violation. If the CRM write also sends an external notification, (ccrm,ccal,n)=(0,0,0)→(1,0,1)(c_{\mathrm{crm}},c_{\mathrm{cal}},n)=(0,0,0)\to(1,0,1) additionally sends a notification before independent verification. Rolling back the CRM record cannot retract the false notification to the customer. The specified enterprise requirement therefore calls for a truly atomic business-visible transition, an alternative verified interface, or safe refusal; the checker assumes, rather than implements, the atomic option. End of counterexample.

Separate completion obligation. Safety alone does not establish progress. One possible additional requirement is: every pending request (q=1q=1) eventually reaches a customer-notified state (n=1n=1) or safe denial (d=1d=1). Such a result requires separate scheduling, availability, and failure-containment assumptions. Revocation after joint commit but before notification can block both outcomes in the current abstraction; this liveness property was not proved. State/version changes require rechecking the assumptions and proofs they affect.

Executed finite-state enumeration

The example has ten Boolean fields and hence 210=1,0242^{10}=1{,}024 candidate assignments. This is a universe of logical combinations, not a count of actual agent executions. Of these, 100 meet PBP_B. Specifically, 40 have both bookings uncommitted: then v=n=0v=n=0, and there are 5 valid (m,a,r)(m,a,r) combinations and 8 (q,d,λ)(q,d,\lambda) combinations, giving 5×8=405\times8=40. 60 have both bookings committed: then d=0d=0, (v,n)∈{(0,0),(1,0),(1,1)}(v,n)\in\{(0,0),(1,0),(1,1)\}, there are the same 5 mandate/approval/revocation combinations and 4 (q,λ)(q,\lambda) combinations, giving 3×5×4=603\times5\times4=60. Some of these 100 permitted assignments are unreachable from the initial state: PBP_B checks state admissibility, while the transition guards impose further workflow ordering.

The executed checker examined 332 transition instances from all 100 permitted states, with zero violations of PBP_B or JBJ_B. The exact count is:

Transition kind Checked instances
Stutter 100
Untrusted-source content change 100
External revocation 60
Proposal 30
Independent attestation 20
Safe refusal 10
Trusted approval 8
Atomic joint commit 2
Customer notification 2
Total 332

Thus 200 of these are stutters or source-content changes, and 132 are the other seven transition kinds; the total should not be interpreted as 332 distinct business operations. Separately, exhaustive reachable-state exploration from sB0s_{B0} found 26 states and 86 transition instances, with zero violations. A permitted successful route is propose → trusted_approval → atomic_joint_commit → independent_attestation → send_confirmation.

Eight deliberately faulty variants each yielded a counterexample: sequential CRM write; premature notification; CRM write with automatic email before Calendar commitment; accepting an unverified tool acknowledgment as attestation; committing without approval; untrusted source granting approval; unmediated Calendar callback; and a forbidden write followed by a proposed rollback. The approval-bypass and source-promotion variants violate JBJ_B, even where their resulting state happens to satisfy PBP_B.

Verification method and reproducibility. The checker was actually executed using exhaustive enumeration, with the nine operations and guards given above. SMT-based verification and a Lean 4 mechanized proof are alternative methods for larger or different models; neither was run here. The source is not published. For provenance, the executed Python checker has SHA-256 494fe0bb79036499f47bfe28e77ba3e2ecf4ea661629f64c5303710b667c1573. This checksum identifies the checked source if it is later shared, but does not itself make an unpublished checker independently reproducible.

What this proves. The admitted finite transition relation is closed under its specified invariant and transition policy, and each deliberately defective variant includes a checked violation. What it does not prove. Completeness of enterprise requirements, production transaction atomicity, trustworthiness of real approval/attestation systems, separation of duties in actual deployments, coverage of unobserved effects, or successful completion under arbitrary failures. Those remain contract, integration, and implementation-refinement obligations.

How this scales

The same safety reasoning can be organized as induction and compositional contracts instead of full-state enumeration. Nine transition kinds checked against five invariant clauses give 45 basic transition-by-clause pairs, though some are trivial and the guards, contracts, and refinement assumptions introduce additional obligations. This 45 is an illustrative organization of checks, not the 332 enumerated transition instances.

Separate engineering estimate (not derived from this example): The author’s other work estimates that even a single real product with agentic access may involve on the order of 1,000 or more machine-checked items, roughly 20–50 times the basic obligations in this example. An enterprise containing many such systems and their cross-domain agreements may need another one to two orders of magnitude. These are indicative estimates from separate work; their derivation is neither reproduced nor validated by this enumeration and the counts depend on abstraction, threat coverage, and reuse of verified contracts.

At that scale, verification is practical only if most obligations can be discharged automatically, affected proofs are rechecked when systems change, and evidence distinguishes formal proof, model assumptions, adversarial testing, and unverified external guarantees.