Manuscript Offprint
arXiv:2608.29134Mechanizing Typed Regulatory Actions for Security Tokens: Semantics, Falsification, and Bounded EVM Evidence
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
ABSTRACT
Security-token standards expose privileged controls without identifying the legal effect executed or the evidence and reversal obligations it carries. We formalize in Isabelle/HOL a reference execution semantics for the six ERC-8319 meanings: FREEZE, SEIZE, CONFISCATE, LIQUIDATE, RESTRICT, and RECOVER. It distinguishes applied, rejected, and operational-failure outcomes and mechanizes action-specific reversals, replay and epoch rules, complete frames, case-local terminality, and final receipts; the session builds without unproved placeholders or additional axioms. An indistinguishability theorem shows that bound kernel inputs cannot establish external facts about title, settlement, or entitlement. Constructive witnesses and direct mutations establish reachability and sensitivity for the declared fault set. For one ERC-TRUST Solidity/EVM candidate, we report separately scoped Foundry, Certora, Kontrol/KEVM, mutation, deterministic-build, and runtime-identity evidence. The publication profile qualifies 7/7 reusable packages, 49/49 Core obligations, and 24/24 mandatory Supporting obligations; six optional ERC-3643 obligations remain unclaimed. A current-state abstraction relation is unique and functional under pinned-runtime premises, while package and row corollaries remain conditional on hash-bound certificates. These results do not establish complete Isabelle-to-Solidity-to-EVM refinement, compiler correctness, audit completion, production readiness, deployment verification, or external legal truth. They provide a machine-checked domain semantics and an explicit map of proved, bounded, assumed, and open results.
Keywords security tokens · regulatory actions · smart contracts · formal verification · Isabelle/HOL · Solidity · EVM · refinement · mutation testing
1 INTRODUCTION
Security-token contracts already contain powerful control mechanisms. ERC-3643 distinguishes forced transfer, recovery, freezing, unfreezing, pausing, and role-governed compliance [14]; ERC-7943 defines a neutral forced-transfer and frozen-token interface [15]; ERC-1450 gives a registered transfer agent exclusive execution authority and defines a request lifecycle with rejection reasons, terminal states, and one-time request identifiers [17]. The open problem addressed here is therefore not the absence of privileged mechanics. It is that the on-chain observations of these standards do not identify which legally distinct effect a privileged movement executed: the same balance movement may serve custody, confiscation, recovery, or liquidation while carrying different evidence, reversal, terminality, and receipt obligations. Proposed ERC-8319, a companion proposal co-authored by the present author [12], names those six effects; this paper supplies the execution semantics and the evidence boundary for them.
The distinction matters because a successful call can be technically correct while its external premise is false. A contract may faithfully move a balance to a declared custodian without proving legal title, consume an entitlement commitment without proving rightful ownership, or bind a settlement reference without proving that a sale occurred. Conversely, a normal policy denial and an unavailable or malformed dependency may both revert while requiring different audit and retry treatment. A verification claim that collapses these cases can be stronger than its evidence.
This paper asks four questions:
RQ1: How can the six ERC-8319 regulatory effects and their declared reversals be represented as a typed execution semantics without claiming external legal truth?
RQ2: Which replay, epoch, frame, terminality, outcome, and receipt properties can be machine-checked in the abstract model, and are their premises nonvacuous?
RQ3: Which relationships between that model and one Solidity/EVM candidate have current evidence, and which remain conditional or bounded?
RQ4: How should heterogeneous tool results and artifact identities be reported without adding them into a nonexistent end-to-end soundness theorem?
Contributions. The work makes four bounded contributions. First, it instantiates the six-action vocabulary of proposed ERC-8319 [12] as a machine-checked reference execution semantics with separate reversal and three-way outcome domains. Second, it proves a domain theorem suite covering state frames, replay and stale epochs, case-local terminality, final receipts, failure stutter, and an indistinguishability boundary for external truth. Third, it supplies constructive witnesses evaluated from an executable manifest covering all six actions under all three outcome scenarios, together with mutation-based falsification for the declared semantic distinctions. Fourth, it presents a correspondence case study for one ERC-TRUST candidate, separating model theorems, a unique and functional current-state abstraction relation, conditional profile-scoped refinement corollaries, Solidity rules and tests, selected EVM seams (narrow, high-risk correspondence points such as ABI decoding, external calls, and revert paths), artifact identity, and the absent deployment boundary.
The case study also contributes two disciplines that are reusable outside this standard: an evidence stratification in which no combination of tool passes may imply a stronger cross-layer theorem, and an artifact-identity regime that separates semantic runtime drift from packaging drift and rejects expected-hash overwrites. A stable-identifier objection register accompanies the paper so that any disposition can be overturned by a stronger standard, theorem, trace, or counterexample.
The paper does not introduce regulated-token control mechanisms, generic typed outcomes, nonce-based replay protection, smart-contract formal verification, mutation testing, or software provenance. It also does not establish a complete Isabelle-to-Solidity-to-EVM refinement theorem. Prior systems have verified EVM bytecode in Isabelle, supplied executable EVM semantics, given Solidity a denotational semantics and a deep embedding in Isabelle/HOL, generated Solidity from verified transition systems, and provided verified compilation to EVM [1, 10, 9, 18, 19, 20, 24]. The present result is a domain-specific semantics and evidence-boundary study.
Reading paths. Implementers of the standard can start with the overview and evidence sections (sections 3, 7 and 8) and the correspondence and command appendices (Appendices C and G). Standards reviewers can start with the objection analysis (section 10, Appendix H). Formal-methods readers can start with the semantics and mechanization sections (sections 4 to 6) and the theorem and assumption appendices (Appendices A and B). Practitioners in regulated assets can read the overview (section 3), the boundary column of table 1, and the external and deployment limitations in section 11. Appendix I defines the recurring technical vocabulary.
2.1 Mechanism, meaning, and assurance
We separate three questions that are often merged in security-token discussions. A mechanism is a callable transition such as a freeze or forced transfer. A meaning identifies which regulatory effect that transition is intended to realize and which action-specific record it must preserve. An assurance statement names the exact model, implementation, tool, and environmental assumptions supporting a claim. ERC-7943 deliberately chooses mechanism-neutral names; ERC-8319 supplies legal-effect vocabulary; ERC-TRUST is studied here as an execution and conformance layer between them.
The mechanized action vocabulary is bound to the ERC-8319 draft text as published in ethereum/ERCs pull request 1848 at commit a7267cb3ce81e6e50fe6ef00b98ec98bb76264f8 (retrieved 2026-08-29). Editorial revisions of ERC-8319 after that commit create new conformance obligations for future versions of this artifact and are not retroactively covered.
2.2 System model
The abstract system contains a persistent state , a typed command , an authorization and policy context , an external observation , an outcome , and a declared observation . Commands are forward actions or reversals. A forward action belongs to
and the declared reversal domain contains UNFREEZE, RELEASE, and UNRESTRICT. The kernel evaluates the command and its bindings and yields one of Applied (written AppliedOnChain in the artifact), Rejected, or OperationalFailure.
The concrete case study uses an immutable Solidity state owner, read-only fail-closed dependencies, a same-transaction exact-use ticket for sensitive ERC-7943 selectors, and an optional fixture-bound ERC-3643 adapter profile. The reference candidate is not a claim that every conforming system must use this architecture.
ERC-TRUST is the working name of a pre-ERC draft specification. No ERC number has been assigned, no ethereum/ERCs pull request has been opened for it, and no editorial status is implied by the name.
2.3 Threat model
The model permits malformed commands, replay attempts, stale epochs, denied policy observations, dependency reverts, malformed return data, selector bypass attempts, duplicate reversals, out-of-order restoration, and inconsistent artifact identities. It also considers a dishonest external world that supplies a syntactically valid but substantively false attestation. The kernel is expected to fail closed on malformed or unavailable declared inputs and to preserve its state on rejected or operational outcomes.
The model does not assume that a regulatory authority is legitimate, that keys are uncompromised, that an oracle reports truth, that a settlement occurred, or that a legal entitlement belongs to the named person. These are distinct governance and external-world assumptions.
2.4 Observation alphabet and non-goals
Failure stutter, the requirement that a rejected or operationally failed step leaves state exactly unchanged, is declared over persistent kernel state, declared downstream state, committed logs, and return/revert classification. It does not cover gas consumption, timing, mempool observation, miner or validator ordering, or every side channel. The paper further excludes compiler correctness, arbitrary proxy and migration systems, arbitrary ERC-3643 deployments, live deployment identity, legal advice, audit completion, and production readiness.
3 ERC-TRUST OVERVIEW
Figure 1 summarizes the execution pipeline: a typed command undergoes one canonical assessment and yields exactly one of three outcomes, while external legal and factual truth stays outside the kernel boundary.

Figure 1: Typed regulatory execution. The three outcomes have different meanings even when two of them revert. External truth is deliberately outside the kernel observation.
3.1 Actions and reversals
Table 1 lists each action's declared reversal, its declared on-chain effect, and the external fact the kernel deliberately does not establish. A case is an identifier for one regulatory proceeding, such as one seizure or liquidation matter; terminality is declared per case, never for the whole token.
Reversal is not modeled as a second untyped balance operation. A reversal refers to an original action and its recorded prior state; a stale, duplicate, or out-of-order attempt is rejected with full persistent-state stutter, and an applied restoration produces a terminal record for that restoration attempt. CONFISCATE, LIQUIDATE, and RECOVER do not acquire an implicit reversal merely because another transfer could later be executed.
3.2 Three outcomes
Applied means that the declared on-chain transition and canonical receipt committed. Rejected means the required checks completed and denied the command. OperationalFailure means a required dependency was unavailable, malformed, stale, inconsistent, or otherwise unable to return a canonical assessment. ERC-1066 already distinguishes classes of status and exceptional failure [28]; the contribution here is the regulatory-action-specific state, receipt, and audit semantics attached to the partition.
Table 1: Declared action effects, reversals, and external-truth boundaries.
| Action | Declared reversal | Declared on-chain effect | Not established by the kernel |
|---|---|---|---|
| FREEZE | UNFREEZE | Strictly raise the absolute frozen target; an explicit reversal restores the referenced prior target | Legitimacy of the freezing order |
| SEIZE | RELEASE | Transfer into declared custody and record prior holder and encumbrance | Legal or beneficial title |
| CONFISCATE | none (terminal for the case) | Terminal privileged disposition for the case | Lawfulness or final adjudication |
| LIQUIDATE | none | Bind token disposition to settlement and proceeds commitments | Actual sale, proceeds receipt, or debt discharge |
| RESTRICT | UNRESTRICT | Set an ordinary-transfer restriction; the reversal restores the prior flag | Substantive validity of the restriction policy |
| RECOVER | none | Consume an entitlement commitment and credit a declared destination once | Rightful ownership or identity truth |
3.3 Reference architecture

Figure 2: The reference architecture. Bound external inputs are consumed by an immutable kernel and a single regulatory-state owner. The dashed boundary marks what the kernel cannot know from its bound inputs, a proved limit (theorem 4.6), not merely an implementation disclaimer.
Figure 2 shows the reference topology. The architecture keeps regulatory state and receipts in one owner. Read-only dependency modules are bound by address, runtime code, schema, configuration, epoch, and command echo. Sensitive ERC-7943 calls require an exact-use ticket bound to caller, selector, calldata, policy binding, epochs, and command identifier, then consumed in the same transaction. ERC-3643 support is an optional deployment profile; the present evidence covers a sealed governor and exclusive-adapter fixture only.
The reference candidate deliberately avoids upgradeable proxy and Diamond patterns. Delegatecall indirection, storage-slot aliasing, and admin-controlled implementation substitution would multiply the state-correspondence and runtime-identity obligations that the present evidence discharges, and would break the exact-runtime premises used by the retrieve relation. This is a proof-cost decision for the reference candidate, not a claim that a conforming implementation must be non-upgradeable.
4 TYPED REGULATORY EXECUTION SEMANTICS
4.1 State, commands, and observations
The state record includes balances, allowances, frozen targets, restriction flags, case state, custody and encumbrance records, action and reversal histories, consumed nonces and entitlements, authority and policy epochs, configuration bindings, receipts, and auxiliary state. An applied step commits an ordered sequence of observations, so receipt finality is well defined over that order.
Each operation declares a write set. This makes a frame theorem falsifiable: fields outside the declared set must be preserved. The declared write sets are not free to inflate: a separate exact-effects theorem pins each applied transition to its declared effect fields, and a frame-removal mutation must break the complete-frame consumer (table 3).
A command binds domain, implementation, chain, action or reversal kind, source, destination, amount, case, authority and policy epochs, nonce, validity interval, provenance commitment, and action-specific evidence. The exact concrete encoding belongs to the implementation relation, not the abstract definition.
Definition 4.1 (Canonical execution). For state s, command c, authorization context a, and external observation e, canonical execution is a total function
It either applies the typed effect and writes one final canonical receipt, or returns a rejected or operational outcome with declared persistent-state stutter.
Theorem 4.2 (Outcome classification and stutter). Within the declared abstract domain, canonical execution assigns exactly one of Applied, Rejected, or OperationalFailure to every step. If it returns Rejected or OperationalFailure, its post-state equals its pre-state over the complete persistent state record.
Disjointness of the outcome constructors holds by construction; the content of the theorem is the total classification and the machine-checked full-state stutter for canonical rejection and operational failure, together with their entrypoint and transaction-level refinements inside the model. The exact Isabelle names are listed in Appendix A. The theorem does not assert equal gas or timing.
Theorem 4.3 (Entrypoint convergence). Within the declared model, every typed entrypoint normalizes to the same canonical executor, and the untyped legacy entrypoint fails closed.
On an applied result, the mechanized post-state fixes the exact regulatory mode, balance and custody effects, case record, authorization and nonce consumption, pre/post observation commitments, and final canonical receipt. On rejected or operational failure, the complete persistent state stutters, and the success theorem preserves every unrelated field named by the full frame.
4.2 Replay, epochs, and frames
Replay protection combines a domain-bound command identifier with an authority-epoch and nonce tuple. Successful execution consumes the identifier and nonce. Authority rotation and policy rebinding invalidate stale authorizations. ERC-2612 already establishes domain-bound nonce and deadline patterns, and ERC-3009 adds cancellation and single consumption [16, 13]; the specific contribution here is their integration with typed regulatory effects, case dynamics, and action-specific receipts.
Theorem 4.4 (Frame and final receipt). For an applied canonical action, every persistent field outside its declared write set is preserved, and the applied receipt is the final persistent receipt observation of the step. Rejected and operational outcomes commit no receipt.
Theorem 4.5 (Reversal admissibility). A reversal command refers to a specific original action and its recorded prior state. A stale, duplicate, or out-of-order reversal is rejected with full persistent-state stutter; an applied reversal restores the referenced prior state and commits a terminal record for that restoration attempt.
4.3 Case-local terminality
Terminality is indexed by case rather than global token state: a machine-checked theorem scopes terminality to the affected case, so unrelated cases and assets proceed after one case becomes terminal. A deliberately conflated global-terminal mutation is distinguished by the current-profile state theorem.
4.4 External-truth claim boundary
Theorem 4.6 (External-truth non-identifiability). There exist two concrete external worlds that disagree about retained title, whether a sale occurred, whether debt was discharged, and whether the recipient is rightful, yet for every kernel state and entry they induce the same core observation. The kernel therefore cannot establish any of those external facts from its bound inputs alone.
The mechanized statement is universally quantified over kernel states and entries, with the two disagreeing worlds given as explicit record values:
theorem same_core_input_cannot_distinguish_external_legal_truth: "core_observation world_with_all_external_truths st entry = core_observation world_with_no_external_truths st entry" by (simp add: core_observation_def) theorem external_worlds_really_disagree: "world_title_retained world_with_all_external_truths ≠ world_title_retained world_with_no_external_truths ∧ world_sale_occurred world_with_all_external_truths ≠ world_sale_occurred world_with_no_external_truths ∧ world_debt_discharged world_with_all_external_truths ≠ world_debt_discharged world_with_no_external_truths ∧ world_recipient_rightful world_with_all_external_truths ≠ world_recipient_rightful world_with_no_external_truths" by (simp add: world_with_all_external_truths_def world_with_no_external_truths_def)
Here core_observation is the artifact's projection of the kernel state and entry that canonical execution may depend on; the external-world fields are deliberately excluded from it. This is a positive limitation theorem: it prevents an implementation or paper from silently upgrading a checked commitment into a legal or factual truth claim.
Three actions make the boundary concrete in the mechanization, each as an assume-guarantee theorem placed next to its nonclaim. For SEIZE, the model guarantees custody accounting, the declared prior-holder reference, and encumbrance preservation, while actual legal or beneficial title remains a nonclaim. For LIQUIDATE, it binds the token disposition to settlement and proceeds commitments without asserting that a sale occurred, proceeds were received, or debt was discharged. For RECOVER, it guarantees the declared provider destination, the entitlement commitment, and its one-time consumption, while rightful ownership remains a nonclaim. A companion theorem fixes the exact inventory of claims the model is permitted to make, so a silently added claim fails the inventory check.
5 ISABELLE/HOL MECHANIZATION AND ERC-TRUST INSTANTIATION

Each edge has its own evidence class. A missing edge cannot be reconstructed by adding PASS results from adjacent tools.
Figure 3: From normative prose to a falsifiable implementation obligation. The proof and implementation relations are separate edges: proving the model does not by itself discharge the implementation obligation.
Figure 3 traces the pipeline this section mechanizes: a normative sentence becomes a typed definition, a theorem, a witness-and-mutation obligation, and finally an implementation obligation, and each edge carries its own evidence class.
The candidate’s Isabelle2025-2 [21] session contains 30 top-level theory files and 369 named theorem, lemma, or corollary declarations at the pinned candidate. The session builds cleanly, and the proof-source audit reports zero banned source forms (such as sorry or oops) and zero proof oracles beyond the standard HOL foundation. These counts describe the source inventory; they are not a count of independent contributions. The load-bearing theory groups are summarized in table 2 and listed more precisely in Appendix A.
The mechanization keeps the six legal-effect kinds and the seven foundation transition labels as deliberately separate inventories:
definition all_transition_labels :: "reg_action list" where "all_transition_labels = [FREEZE, SEIZE, CONFISCATE, RESTRICT, UNFREEZE, UNRESTRICT, RELEASE]"
definition all_rcp_actions :: "legal_action_kind list" where "all_rcp_actions = [Legal_Freeze, Legal_Seize, Legal_Confiscate, Legal_Restrict, Legal_Recover, Legal_Liquidate]"
RECOVER and LIQUIDATE are transfer-layer legal actions with no dedicated foundation label, and RELEASE is a reversal label with no forward legal meaning (rcp_action_of_forward_label RELEASE = None); a named theorem keeps the two inventories from being conflated.
In the mechanized compatibility model, a strict ERC-7943 frozen-amount increase converges to typed FREEZE. An equal or decreasing raw forward call is rejected; a decrease requires a separately authorized UNFREEZE reversal. A forced transfer requires a typed binding, and an unbound forced transfer fails closed. A further theorem shows that the compatibility mapping
Table 2: Mechanization groups and representative results.
| Group | Representative result | Boundary |
|---|---|---|
| Action mapping | Six actions are distinct from transition labels and reversals | Imports ERC-8319 vocabulary; does not invent it |
| Canonical semantics | Outcome separation, failure stutter, frames, final receipt | Declared abstract state and observation alphabet |
| Simulation and witnesses | Reachable action/outcome and reversal cases | Nonvacuity, not model adequacy by itself |
| Compatibility | ERC-7943 typed binding and explicit ERC-3643 subset | Abstract mapping, not arbitrary deployment proof |
| Claim boundary | Same input cannot distinguish disagreeing external worlds | No claim about which external world is true |
| Transaction relation | Success, failure, malformed input, and receipt consequences | Modeled transaction relation, not compiler correctness |
| Conditional composition | Typed consequences under a runtime-link premise | Runtime link is an assumption, not a discharged central theorem |
| Current profile | Package-conditioned row corollaries and distinguishing negatives | Exact candidate and receipt premises |
does not expand the claim boundary. These results hold in the abstract compatibility model; they are not proofs about arbitrary third-party token deployments.
5.1 The conditional theorem named end-to-end refinement
The source contains a theorem named end_to_end_refinement. Its name must not be read as a completion claim. It is inside locale pinned_runtime_refinement, whose runtime_link assumption already states that a runtime execution satisfies the abstract transaction relation. The locale header makes the assumption explicit:
locale pinned_runtime_refinement = fixes manifest :: trust_runtime_manifest and bridge :: trust_transaction_bridge and certificate :: trust_runtime_certificate and assumptions :: trust_external_assumptions and runtime_execution :: "trust_transaction_execution ⇒ bool" and runtime_abstraction :: "trust_transaction_execution ⇒ trust_transaction_abstraction" assumes certificate_complete: "runtime_certificate_complete certificate" and external_assumptions: "external_assumptions_complete assumptions" and runtime_link: "runtime_execution execution ⇒ alpha_transaction manifest bridge execution (runtime_abstraction execution)"
The theorem repeats that premise and exposes a useful typed consequence interface. The missing work is a machine-checked construction of that premise from the compiler, runtime semantics, and concrete execution. The development also records compiler correctness as an explicitly named nonclaim (compiler_correctness_remains_a_nonclaim) rather than an implied consequence. The theorem name end_to_end_refinement is retained for artifact-identity stability; its correct reading is fixed here and in Appendix A.
5.2 Foundation and instantiation
The regulatory model uses reusable state-machine foundations from the Cross-Domain State Preservation development [11]. Because the historical dependency object became unreachable at its public remote, the candidate pins a reachable successor and records file-by-file succession for the 14 foundation theories it consumes. Negative probes cover theorem-body mutation and wrong-import and wrong-commit substitutions, and the checks separate proof-content failure from supply-chain identity failure. This proves neither that the dependency repository is infallible nor that the Solidity candidate refines every foundation theorem; it fixes the exact formal inputs consumed by the current Isabelle build.
6 CONCRETE NONVACUITY AND DIRECT FALSIFICATION
Falsification evidence throughout means a deliberately mutated system in which a removed condition makes its consumer theorem or check fail, showing that the condition is load-bearing.
6.1 Constructive reachability
The executable manifest is an evaluated artifact rather than a copied outcome table: its 18 distinct inputs are exactly the Cartesian product of six actions and three outcome scenarios, and each row's outcome, target state, required observable, and write set is computed from the executable manifest semantics. Isabelle supplies reachable applied, authorization-denial, and policy-unavailable witnesses for every action; separate reachable witnesses cover all three reversals, ordinary-transfer success and denial, and alternate-overlay compatibility paths. These witnesses prevent a theorem from passing merely because its premise is uninhabited. They do not by themselves establish model adequacy.
6.2 Direct falsification
The abstract negative campaign removes or changes load-bearing conditions such as action/receipt identity, epoch invalidation, outcome separation, frame preservation, and case-local terminality; table 3 names the consumer that each removed distinction must break. A direct mutation must change the consumer theorem or verification result it is intended to test. At the pinned candidate, the abstract campaign comprises 15 direct mutations, and each is detected by the consumer it targets. This is narrower than mutation adequacy in general: specification mutation and Solidity-specific mutation testing predate this work [4, 2].
Table 3: Representative falsification obligations.
| Removed distinction | Expected counterexample | Consumer |
|---|---|---|
| Action/receipt identity | A receipt can be replayed or attributed to the wrong effect | Receipt and replay theorems |
| Policy or authority epoch | A stale authorization remains admissible | Lifecycle and stale-epoch theorems |
| Rejected/operational split | A dependency outage becomes an ordinary policy denial | Outcome partition and audit semantics |
| Frame condition | Unrelated state can change during an action | Complete-frame theorem |
| Case-local terminality | One terminal case blocks unrelated cases | Scoped-terminality theorem |
| Prior-state reversal link | Stale, duplicate, or out-of-order restoration succeeds | Reversal admissibility and restoration |
Concrete positive and negative paths add evidence across a different layer. They do not prove the abstract model correct; they make specific correspondence claims falsifiable.
7 RELATIONSHIP TO THE SOLIDITY AND EVM IMPLEMENTATION
7.1 Abstraction relation
The current retrieve (abstraction) relation maps concrete balances, frozen targets, restriction flags, custody records, case terminality, nonces, epochs, and receipts into an abstract state. Under its declared well-formedness and pinned-runtime premises, it is unique and functional, rejects runtime substitution, and projects nonces, freeze and restriction overlays, custody, and case terminality exactly. The abstraction is a function of the currently bound on-chain state and pinned configuration (dependency topology, endpoint identity, manifest, and storage footprint), not of any assumed execution history. The transaction relation then connects modeled concrete executions with applied, rejected, operational, malformed-input, and dependency-revert outcomes.
This narrows the model-to-code gap but remains below verified compilation. Amani et al. construct a sound bytecode logic in Isabelle/HOL [1]; KEVM supplies executable EVM semantics and bytecode verification [10]; Marmsoler and Brucker give Solidity itself a denotational semantics and a deep embedding in Isabelle/HOL [18, 19]; VeriSolid generates Solidity from verified transition models [20]; DeepSEA supplies a verified compiler and end-to-end case studies [24]. The present candidate instead combines a hand-written Solidity implementation, conditional Isabelle relations, bounded Solidity verification, and selected compiled-EVM seams.
7.2 ABI, storage, calls, and traces
The correspondence map names the following obligations:
• canonical ABI decoding and rejection of malformed length, enum, address, and fixed-width values;
• storage projection for balances, state overlays, custody, case terminality, nonces, epochs, and receipts;
• low-level read-only dependency call and return-data classification;
• same-transaction exact-use ticket creation, consumption, and deletion;
• action and reversal effects, rollback, and complete failure stutter;
• event order and final canonical receipt;
• creation/runtime bytecode, method identifiers, storage layout, and immutable-reference identity.
The fixed-width decoder result uses an explicit cross-kernel composition: KEVM proves conditional runtime reachability, Isabelle proves that the listed word bounds hold over the fixed 256-bit domain, and a hash-bound record states the K/Isabelle correspondence. No single kernel checks that last correspondence, so it remains in the trusted computing base.
7.3 Open central obligation
The open result is a proof object that constructs the runtime-link relation for every accepted execution in the declared profile from source, compiler or bytecode semantics, external-call assumptions, and trace observations. A deep embedding of Solidity in Isabelle/HOL [19] is one candidate substrate for constructing that relation; evaluating its coverage of the candidate's Solidity 0.8.36 feature set and storage model is part of the open obligation. Nevertheless, the current version includes conditional, profile-scoped refinement theorems: named package and row corollaries derive typed state, failure, and receipt consequences once their hash-bound qualification certificates and abstract-summary premises hold. We reserve complete end-to-end refinement for a theorem that constructs the runtime link rather than assumes it.
8 LAYERED IMPLEMENTATION EVIDENCE
Figure 4 arranges the evidence classes and marks the two open edges: the model-to-Solidity relation and the deployment boundary.

Green denotes machine-checked results in the declared model; blue denotes tool-specific evidence. Dashed red edges remain explicit obligations. Solid edges hand evidence to the next layer; they are not logical composition.
Figure 4: Evidence layers and open boundaries. Tool-specific PASS results do not create a stronger upward edge.
8.1 Current profile
A publication profile is the declared set of implementation obligations that the candidate claims at release. Each obligation row names one checkable requirement; a reusable package groups the expensive runtime evidence that several rows share; and a qualification certificate is a hash-bound record that binds a row's evidence to the exact artifacts it covers. Qualification is a published, repository-defined pass criterion, not a third-party certification, audit, or regulatory approval. The pinned release index reports 7/7 reusable packages, 49/49 current-profile Core obligations, 24/24 mandatory Supporting obligations, and an optional backlog at 0/6; the Core rows cover the native financial-core refinement obligations, the Supporting rows cover the surrounding binding and process obligations, and the optional backlog is the extended ERC-3643 deployment profile. Qualification is current-profile-specific: every row receives a successor root, but unchanged results may carry forward only through a verifier-enforced exact source delta and named current evidence; no partial credit is used. This is not a claim that 73 independent whole-runtime proofs were rerun. The package layer groups expensive runtime reasoning around state/ABI normalization, authorization and replay, dependencies, exact-use routing, forward financial effects, reversals, and transaction commit/rollback/receipt behavior.
These fractions are not a progress score toward an unconditional theorem. They state that every row in a declared publication profile has a current qualification object. The central cross-layer theorem remains absent.
8.2 Foundry and Certora
At the pinned candidate, the implementation reports 31 Foundry [8] tests, two fuzz properties with 256 runs each, and three stateful invariants with 256 runs by 500 calls. These are bounded tests, and the fuzz and invariant budgets are modest search budgets, not coverage claims. Certora [5] reports two of two targeted current-candidate rules passing with advanced sanity: the production internal FREEZE shape validator accepts a strict increase, while an equal or decreasing target reverts and restores inherited storage in the wrapper transaction. This harness does not prove the complete external entrypoint, authorization, dependencies, receipts, events, or whole runtime. Two exploratory full financial-core runs ended UNKNOWN because of the same provider internal error and receive no proof credit. A successful rule applies only to its exact harness, summaries, and prover assumptions.
8.3 Kontrol and KEVM
Kontrol [23] reports four of four declared current-candidate proofs passing: raw sensitive selectors, operational-failure rollback, equal-or-decreasing FREEZE stutter, and liquidation delta with the final receipt log. Additional KEVM claims target ABI boundaries, dependency calls, receipt order, decoder guards, and package-to-row consequences. KEVM provides an executable EVM semantic foundation [10], but using it on selected claims does not mean every runtime path was symbolically verified.
8.4 Mutation and artifact identity
At the Solidity level, a campaign of 12 declared implementation mutations reports all 12 killed and none surviving; this is detector evidence for the declared faults, not an audit. The two-layer runtime qualification preserves historical whole-file bindings while independently checking ABI, semantic storage layout, creation bytecode, runtime bytecode, method identifiers, and immutable-reference positions. All seven artifact instances tracked by the runtime binding are semantic-payload exact. The identity campaign detects all 42 declared semantic-identity mutations, classifies seven packaging-only mutations as non-semantic drift, and rejects seven expected-hash overwrite attempts. The release manifest binds UTF-8 text inputs after line-ending canonicalization, and deterministic builds bind source and compiler settings to creation and runtime bytecode. Artifact provenance and semantic drift classification are established fields, with related approaches in Sourcify, Solidity compiler metadata, and in-toto [26, 25, 27]. Their use here supports reproducibility rather than a new provenance theory.
8.5 What the current evidence supports
For a reader who builds the candidate at the stated commit, the current evidence supports exactly this. In the abstract model, rejected and operational outcomes provably leave every declared persistent field unchanged, and an applied action writes exactly its declared write set and one final receipt. The corresponding Solidity behaviors are exercised by the Foundry suite, the bounded fuzz and invariant runs, and the configured Certora Verification Language (CVL) rules under their stated assumptions. Selected compiled-EVM paths for ABI decoding, dependency classification, rollback, and receipt order carry symbolic evidence. The shipped bytecode is reproducibly bound to the stated source and compiler settings. None of this is an audit, a whole-program proof, or production readiness (section 11).
9 ARTIFACT AND REPRODUCIBILITY
The paper is bound to the following exact artifact coordinates for the reviewed candidate. Repository merge status is an external release event and does not change the hash-bound evidence below.
| Repository | github.com/Oraclizer/erc-trust [22] |
|---|---|
| Candidate | 0.1.0-candidate.2 |
| Candidate commit | cb188b1c4adab0460b200acf34c1b22afea30709 |
| Release-manifest source root | 1657dc3856b7f4c33e7fd2c2713233c2761b2666c650caca4ea6379d7ce2e581 |
| Minimum replay entry | scripts/replay-current-profile-release.psl |
| Replay verifier | scripts/verify-current-profile-release-v2.mjs |
The repository contains Isabelle theories, Solidity source and tests, Certora specifications, Kontrol/KEVM claims, mutation scripts, conformance vectors, schemas, runtime bindings, and replay scripts [22].
Appendix G lists the full command set. Model closure, model mutations, Foundry, Certora, Kontrol/KEVM, deterministic-build, runtime-binding, and release-identity checks remain separate commands because they consume different environments and establish different facts.
Reproduction of every command would show that the published artifact regenerates its declared results under the pinned environments. It would still not prove compiler correctness, tool implementation correctness, deployment identity, or external legal truth.
10 ADVERSARIAL ANALYSIS AND STANDARDIZATION OBJECTIONS
Each objection is stated in the strongest form we could construct, under stable identifiers intended to survive public review. The body discusses those with the broadest scope; Appendix H lists all 22 with dispositions and residual limits.
10.1 Existing standards already contain typed controls
OBJ-01. ERC-3643 already separates recovery and freezing, ERC-1450 defines a request state machine, and ERC-7943 defines precise neutral mechanics. TRUST cannot claim that typed regulated-token controls were absent. Its narrower increment is a common semantics for the complete six-effect vocabulary where custody, confiscation, liquidation, and recovery may share a balance-movement mechanism but have different state, evidence, terminality, and receipt obligations.
OBJ-02. The contract cannot judge legal truth. We accept this objection as a design boundary and prove it in the model. Applied means that a declared transition committed under bound inputs; it is not a legal judgment.
OBJ-03. A six-action vocabulary may be too rigid across jurisdictions. The model separates effect vocabulary from jurisdiction policy. A jurisdiction that requires a new observable effect needs a new action or profile and a corresponding proof update; it should not silently overload an existing effect.
10.2 Execution distinctions may duplicate established patterns
OBJ-04. Action/reversal separation is not new in itself because freeze/unfreeze and pause/unpause precede this work. The domain-specific result is the combination of referenced prior state, stale and duplicate rejection, case-local terminality, and typed receipt identity.
OBJ-05. Expected rejection and exceptional failure also predate this work. The relevant result is their connection to regulatory audit/retry meaning and complete persistent-state stutter.
OBJ-06 and OBJ-07. Nonces and single consumption are established, and the exact-use ticket could be read as one more one-time authorization pattern. The candidate's narrower mechanism binds the legacy selector, caller, calldata, policy, epochs, and command into a same-transaction ticket and deletes it immediately; raw sensitive selectors remain closed.
10.3 The proof may validate only its own model
OBJ-09. The Isabelle-to-runtime gap is real. The paper exposes rather than hides it. A conditional theorem cannot discharge its own runtime-link assumption.
OBJ-10. Tool PASS results do not compose automatically. Each result remains in its own evidence class.
OBJ-12. Mutation sensitivity is not proof adequacy. It covers only the declared fault set.
OBJ-13. Nonvacuity witnesses may inhabit a wrong model. Cross-layer positive and negative evidence makes selected disagreements observable, while model adequacy remains open to specification review and counterexamples.
10.4 Operational and governance limits
OBJ-15. A pinned compiler may miscompile. The compiler remains trusted; bytecode evidence and provenance are reported separately.
OBJ-16. The verified candidate may differ from a deployment. This version makes no deployment claim.
OBJ-17. A malicious authority can execute a wrongful command through verified code. The model constrains scope, epoch, cancellation, state, and receipt; it does not establish legitimacy or key security.
OBJ-20. Runtime size is fragile. Two isolated clean builds agree on a 24,177-byte runtime template, leaving 399 bytes under the EIP-170 limit. The runtime-binding layer separately resolves constructor immutables to a distinct byte sequence of the same length; its pure fixture is an identity result, not evidence that a constructor or deployment transaction executed. The proximity remains an engineering limitation, and compiler or feature drift can exhaust the margin.
OBJ-21. ERC-8319 was proposed through ethereum/ERCs pull request 1848 and was not a canonically merged dependency at the pinned input commit. ERC-TRUST has no assigned ERC number, and no pull request for ERC-TRUST itself has been opened in ethereum/ERCs; an official submission with intended header requires: 20, 165, 7943, 8319 is planned only after ERC-8319 is merged. These facts are stated as of this version and are updated in any future revision.
A public reviewer may overturn any initial disposition by producing a stronger standard, theorem, trace, or counterexample; new identifiers can be added without renumbering existing ones.
11 LIMITATIONS, TRUSTED COMPUTING BASE, AND NONCLAIMS
11.1 Trusted computing base
The trusted computing base includes Isabelle2025-2 and its HOL libraries, the pinned K/KEVM/Kore stack and solver, Solidity 0.8.36, the Foundry 1.7.1 and Certora toolchains, Kontrol harnesses, manifest and hashing scripts, ABI and storage extractors, the explicit K/Isabelle word correspondence, operating-system and filesystem behavior relevant to replay, and human review of specification-to-code mappings. Some components provide proof kernels; others are ordinary programs whose correctness is not proved here.
11.2 Model limitations
The model abstracts gas, timing, mempool and sequencing behavior, denial of service, reentrancy beyond the declared architecture, and the full range of third-party dependency behavior. It fixes a reference action vocabulary and a current immutable architecture. Proxy, migration, arbitrary batch profiles, and broader ERC-3643 topologies require new conformance and evidence.
11.3 Implementation limitations
No complete machine-checked central refinement theorem connects all Isabelle states and traces to all Solidity/EVM executions. Selected EVM seams and bounded rules do not imply whole-program correctness. The six optional profile obligations remain unclaimed. The runtime is close to the EIP-170 size bound. The reference candidate is unaudited and not for production.
11.4 External and deployment limitations
No theorem proves authority legitimacy, policy correctness, identity, settlement, proceeds, title, entitlement, or rightful ownership. No deployed chain, address, constructor argument, role assignment, or live dependency is bound in this version. A future deployment manifest would establish identity for one deployment, not every deployment or its operational safety.
12 RELATED WORK AND CONTRIBUTION BOUNDARIES
12.1 Security-token standards
ERC-1400 supplies controller operations and restriction metadata [7]. ERC-3643 integrates identities, compliance, roles, recovery, forced transfer, and freeze controls [14]. ERC-7943 deliberately specifies neutral RWA mechanics [15]. ERC-1450 centralizes execution in a registered transfer agent and defines request lifecycle and regulatory operational patterns [17]. Proposed ERC-8319 supplies the six legal-effect meanings that this paper mechanizes [12]. The contribution is not a new collection of privileged functions; it is a reference semantics and evidence boundary for those meanings.
12.2 Typed legal and business workflows
Stipula gives legal contracts a formal semantics, observational equivalence, and type inference [6]. Daml provides typed choices, authorization, delegation, and atomic commit for real-world multiparty workflows [3]. These systems foreclose any claim that legal meaning or authorization was first represented by types here. ERC-TRUST addresses a narrower Ethereum security-token execution vocabulary and its model-to-runtime evidence obligations.
12.3 Smart-contract formal verification
The literature includes Isabelle reasoning over EVM bytecode [1], executable EVM semantics and verification [10], semantic security properties in F* [9], a denotational semantics and deep embedding of Solidity in Isabelle/HOL [18, 19], correct-by-design model-to-Solidity workflows [20], and verified compilation to EVM [24]. Compared with these systems, the current candidate is weaker in cross-layer proof strength. Its distinct value is the regulatory-action domain theory, explicit external-truth boundary, witness-and-mutation falsification, and evidence stratification for an independently written candidate.
12.4 Mutation and provenance
Specification mutation and Solidity mutation testing are established techniques [4, 2]. Software-supply-chain provenance and exact-match distinctions likewise have mature references [27, 26, 25]. The artifact applies these ideas to make domain claims falsifiable and release identity inspectable.
13 CONCLUSION
This paper mechanizes a reference execution semantics for the six regulatory effects proposed in ERC-8319 and instantiates it for ERC-TRUST. Within the declared model, the artifact establishes typed action and reversal behavior, three-way outcomes, replay and epoch rules, complete frames, case-local terminality, canonical receipts, constructive nonvacuity, and a theorem-level boundary against inferring external legal truth. For one Solidity/EVM candidate, it records qualified current-profile obligations and separately scoped Foundry, Certora, Kontrol/KEVM, mutation, deterministic-build, and runtime-identity evidence.
The four research questions receive matching answers. RQ1 is answered by the typed semantics and its external-truth boundary (section 4); RQ2 by the mechanized theorem groups, their constructive witnesses, and their direct mutations (sections 5 and 6); RQ3 by the retrieve and transaction relations, the conditional profile-scoped theorems, and the named open central obligation (section 7); RQ4 by the evidence stratification and artifact-identity discipline that keep each result in its own class (sections 8 and 9).
The open obligations for public contributors are explicit: (i) a machine-checked construction of the runtime-link relation from source, compiler or bytecode semantics, external-call assumptions, and trace observations, discharging the conditional composition; (ii) a mechanized replacement for the trusted K/Isabelle word-correspondence record (section 7); (iii) the six optional profile obligations, including exclusive-topology and bytecode evidence for real ERC-3643 deployments beyond the sealed fixture; (iv) a deployment manifest binding chain, address, runtime code, constructor arguments, roles, and dependencies for a specific deployment; (v) adversarial review of model adequacy through new counterexamples or new objection identifiers; and (vi) alternative conforming architectures, including proxy, migration, and batch profiles, evaluated against the same semantics with new conformance evidence. Appendix C records the per-obligation status.
Three elements are reusable outside this standard: the typed outcome partition with complete persistent-state stutter for regulated assets, the evidence-stratification discipline that keeps heterogeneous tool results from combining into an unproved stronger theorem, and the stable-identifier objection register whose dispositions any reviewer can overturn with a stronger standard, theorem, trace, or counterexample.
The result is deliberately incomplete across layers. A conditional runtime-link locale is not a complete compiler-to-EVM proof. Tool PASS results do not add into such a theorem, and no deployment or legal truth is verified. This boundary is part of the contribution: it gives standard reviewers a stable target for stronger proofs, counterexamples, alternative architectures, and public objections without requiring them to accept a stronger claim than the artifact supports.
A THEOREM INVENTORY
Table 4 lists the load-bearing Isabelle declarations behind each manuscript result. It selects principal declarations rather than counting every helper lemma as a contribution. The exact sources are part of the release-manifest source root stated in section 9; theory files whose historical names embed internal milestone prefixes are described by role here and are recoverable by searching the repository for the stated theorem names.
Table 4: Load-bearing declarations by manuscript result.
| Result and boundary | Source and principal declarations |
|---|---|
| Typed action inventory and mapping.Boundary: maps normative identities; does not prove legal truth. | RCP_Action_Mapping.thy: rcp_action_inventory, six_actions_are_not_seven_transition_labels, recover_and_liquidate_are_transfer_layer_actions, deescalation_labels_are_not_rcp_actions, forward_mapping_roundtrip |
| Canonical execution and outcome partition.Boundary: abstract state and observation alphabet only. | Regulatory_Execution_Semantics.thy: every_entrypoint_converges_on_canonical_execution, untyped_entrypoint_is_fail_closed, canonical_rejection_is_full_state_stutter, canonical_operational_failure_is_full_state_stutter, successful_execution_complete_frame, successful_execution_exact_core_effects, successful_execution_writes_applied_receipt_last |
| Concrete nonvacuity and regulatory cases.Boundary: witnesses do not by themselves establish model adequacy. | Regulatory_Execution_Simulation.thy: action and outcome witnesses; ce02_retrieve_relation; ce11_liquidate_assume_guarantee; ce11_liquidate_binds_settlement_without_asserting_external_truth; ce12_recover_assume_guarantee; ce12_recover_binds_entitlement_destination_and_consumption |
| Executable manifest evaluation. Boundary: manifest rows are evaluated from reachable fixtures, not copied constants. | Executable_Regulatory_Kernel.thy: trust_manifest_domain_isExactlySix_by_three, trust_manifest_kernel_is_actual_execution_evaluation, every_manifestfixture_scenario_is_reachable, six_by_three_and_five_by_seven_are_not_conflated |
| Result and boundary | Source and principal declarations |
|---|---|
| External-truth nonclaim. Boundary: an epistemic boundary, not the truth or falsity of any external world. | Claim_Boundary.thy:same_core_input_cannot_distinguish_external_legal_truth,external_worlds_really_disagree,ce02_guarantee_is_declared_custody_not_legal_title,ce11_guarantee_is_binding_not_sale_or_debt_truth,ce12_guarantee_is_binding_not_rightful_owner_truth,allowed_claim_inventory_is_exact |
| Token compatibility. Boundary: the compatibility model does not prove arbitrary concrete deployments. | Token_Compatibility.thy:erc7943_frozen_amount_increase_converges_to_freeze,erc7943_frozen_amount_decrease_converges_to_unfreeze,erc7943_forced_transfer_requires_typed_binding,erc7943_forced_transfer_fails_closed_without_binding,erc3643_profile_is_an_explicit_subset,compatibility_does_not-expand_the_claim_boundary |
| Transaction-level abstract relation. Boundary: an Isabelle relation over modeled concrete transactions. | TRUST_Transaction_Refinement.thy: action success results, three reversal results, rejection_is_persistent_stutter,operational_failure_is_persistent_stutter,malformed_transaction_is_abstract_stutter,dependency_revert_is_abstract_stutter,success_has_final_canonical_receipt_event |
| Current-state retrieve relation. Boundary: the exact-runtime premise is part of the relation. | TRUST_Retrieve_Relation.thy:current_state_abstraction_well_defined,alpha_current_is_functional,alpha_currentrequires_exact_runtime,alpha_current_rejects_runtime_substitution,nonce_projection_is_exact,case_terminality_is_scoped |
| Reusable package summaries. Boundary: summaries consume package premises; they are not a new EVM semantics. | TRUST_Reusable_Summaries.thy:action_summary_success_commits_exact_abstract_state,action_summary_failure_restores_state_and_authorization,successful_summary_receipt_storage_return_and_final_event_agree |
| Conditional heterogeneous composition.Boundary: the locale assumes runtime_link; the theorem named end_to_end_refinement is conditional. | TRUST_End_To_End_Composition.thy:compiler_correctness_remains_a_nonclaim,runtime_execution_implements_concrete_transaction,action and reversal consequences,runtime_rejection_stutters,runtime_operational_failure_stutters,end_to_end_refinement,heterogeneous_composition_is_conditional_until_certificate |
| Decoder guard composition. Boundary: the cross-kernel correspondence record remains a trusted seam. | Decode-slice and redundant-hypothesis theories: exact length, enumeration, and fixed-width unsigned guard results together with redundant-hypothesis theorems for the fixed 256-bit domain. |
| Current-profile state distinctions. Boundary: direct negative adequacy for two load-bearing distinctions. | Current-profile state theories: freeze_and_restriction_are_independent,state04_conflated_projection_is_distinguished,case_terminality_is_scoped,state05_global_terminal_mutant_is_distinguished |
| Current-profile row consequences. Boundary: conditional on named package receipts and the product inhabitant. | Row-corollary theories: per-row corollaries, action and reversal omission distinctions,freeze_success_refines_if_current_profile_receipts_hold |
B ASSUMPTION AND NONCLAIM LEDGER
Table 5: Principal assumptions and nonclaims.
| Item | Consumed by | Not established |
|---|---|---|
| Runtime-link relation | Conditional composition theorems | Compiler-to-EVM correspondence |
| Bound dependency identity | Native action execution | Truth of the returned external fact |
| Pinned compiler and settings | Runtime identity | Compiler correctness |
| Pinned | Selected symbolic claims | Tool implementation correctness |
| KEVM/Kore/solver stack | ||
| Exact ERC-3643 fixture topology | Verified Full fixture tests | Arbitrary deployment conformance |
| Current-profile receipt set | Package and row corollaries | A single end-to-end proof object |
| No deployment input | Current claim boundary | Chain, address, constructor, roles, dependencies |
C MODEL-TO-CODE CORRESPONDENCE MAP
Table 6 records, for every semantic obligation, its abstract anchor, its concrete anchor in the candidate, the evidence that currently exists, and the obligation that remains open. The open-obligation column is the working map for public contributors.
Table 6: Semantic obligations, present evidence, and open obligations.
| Obligation | Abstract anchor | Concrete anchor | Present evidence | Open obligation |
|---|---|---|---|---|
| Six typed actions | Action datatype, mapping, success semantics | Action dispatcher and effect storage in the token source | Unit/fuzz tests, financial-core CVL rules, current-profile row corollaries | One proof object deriving every runtime path from the abstract step relation |
| Three reversals | Reversal type, original-action reference, admissibility | Reversal dispatcher and prior-state restoration | Unit tests, reversal CVL package, row corollaries | Full correspondence for all failure, storage, and event paths |
| Outcome partition | Abstract three-way partition and full-state stutter | Custom errors, revert behavior, dependency classifier | Foundry, CVL, selected KEVM/Kontrol seams | Ambient observations such as gas and mempool behavior remain outside the model |
| Authorization, epoch, nonce, replay | Command lifecycle and stale invalidation | Action identifiers, authority and delegation epochs, nonce consumption | Authorization/replay package, mutation, tests | Authority legitimacy and key operations remain external |
| External dependency binding | Bound address, code, config, schema, epoch, input | Read-only fail-closed policy and evidence adapters | Classifier CVL, malformed-return and revert seams | Truth of policy, identity, settlement, proceeds, or entitlement is not established |
| ERC-7943 exact-use path | Strict-increase FREEZE, explicit UNFREEZE, and fail-closed untyped path | Same-transaction route ticket and nonincreasing-target guard | Route invariant, raw-selector and failure-stutter symbolic evidence, direction and deletion mutants | Arbitrary third-party implementations require their own inventory |
| ERC-3643 profile | Explicit optional subset | Adapter plus sealed governor fixture | Fixture-bound topology tests | Exclusive topology and exact bytecode evidence for each real deployment |
| Success effects and receipt | Exact write set, final receipt observation | Regulatory state owner, effect record, receipt storage and event | Current-profile packages, tests, selected final-log proof | One compiled-runtime simulation covering every effect and emitted trace |
| Obligation | Abstract anchor | Concrete anchor | Present evidence | Open obligation |
|---|---|---|---|---|
| Runtime identity | Exact-runtime retrieve relation | Pinned compiler, ABI, storage, creation/runtime bytecode, method IDs, immutable references | Deterministic build, runtime-binding verifier, negative classification campaign | Compiler correctness and deployed-address identity |
| Deployment | Intentionally outside the current model | No deployed address in the candidate evidence | None claimed | A future deployment manifest must bind chain, address, runtime, constructor, roles, and dependencies |
D TOOL-EVIDENCE MATRIX
Table 7: Evidence classes and their ceilings.
| Layer | Establishes | Does not establish |
|---|---|---|
| Isabelle/HOL | Theorems in the declared mathematical domain | Solidity, compiler, EVM, or deployment correctness |
| Certora | Configured CVL rules under harness and summary assumptions | Full model correspondence or all external environments |
| Foundry | Concrete unit, fuzz, invariant, and mutation evidence | Exhaustive state-space soundness |
| Kontrol/KEVM | Selected compiled-EVM path and seam claims | Every runtime path or the missing central relation |
| Manifests/build | Provenance and declared artifact identity | Compiler correctness |
| Mutation | Sensitivity to declared faults | Complete fault model or proof adequacy |
| Deployment manifest | One deployment's identity if later supplied | Legal truth or universal operational safety |
E FALSIFICATION INVENTORY
The declared families include action/receipt identity removal, stale-epoch acceptance, outcome conflation, frame removal, global terminality, reversal prior-state omission, Native and adapter nonincreasing-FREEZE acceptance, exact-use ticket deletion, custody-accounting omission, receipt-binding omission, semantic runtime drift, packaging-only drift, and expected-hash overwrite. Each public mutation must identify its consumer; an unconsumed mutation does not earn evidence credit. Table 8 summarizes the counted campaigns at the pinned candidate; counts are recounted at the merged public commit before release.
Table 8: Counted falsification campaigns at the pinned candidate.
| Campaign | Layer | Result | Declared consumer |
|---|---|---|---|
| Abstract model mutations | Isabelle model | 15 of 15 detected | Consumer theorems and closure checks |
| Implementation mutations | Solidity candidate | 12 of 12 killed | Foundry mutation harness |
| Semantic runtime-identity mutations | Artifact binding | 42 of 42 detected | Runtime-binding verifier |
| Packaging-only changes | Artifact binding | 7 of 7 classified non-semantic | Drift classifier |
| Expected-hash overwrite attempts | Release manifest | 7 of 7 rejected | Release-identity check |
F CLAIM-TO-SOURCE MAP
Table 9 assigns every headline statement to its evidence class, its required qualifier, and the expansion it must never receive. The abstract, introduction, contribution summary, and conclusion all repeat the absence of a complete end-to-end theorem, compiler correctness, audit, production readiness, deployment verification, and external legal-truth proof.
Table 9: Headline claims, evidence classes, qualifiers, and forbidden expansions.
| Claim | Evidence class | Required qualifier | Forbidden expansion |
|---|---|---|---|
| Six regulatory actions and three reversals have distinct typed identities and effects in the abstract model | Machine-checked theorem | Within the declared Isabelle/HOL semantic domain | Legal validity or correct real-world classification |
| Applied, Rejected, and OperationalFailure are distinct outcomes; the latter two preserve the declared persistent state | Machine-checked theorem | Persistent abstract state and declared observation alphabet | Gas, timing, mempool, or every environmental observation |
| Replay protection and stale-authorization invalidation are modeled by bound identifiers, epochs, nonce consumption, and cancellation | Theorem plus bounded implementation evidence | Declared request domain and current candidate | Authority legitimacy, key custody, or universal replay freedom for every integration |
| Action and reversal success paths are nonvacuous | Constructive model witness and concrete tests | Witnessed declared paths | Complete model adequacy or production reachability |
| External legal and factual truth is deliberately unprovable from the kernel's bound inputs alone | Machine-checked indistinguishability boundary | Same kernel input can correspond to different external worlds | A claim that external attestations are false or useless |
| The native reference candidate implements the six typed actions and three reversals | Source inspection and bounded tool evidence | Exact candidate and declared current profile | Whole-program or arbitrary-deployment correctness |
| The current profile qualifies seven reusable packages, 49 Core obligations, and 24 mandatory Supporting obligations | Hash-bound release evidence | No partial credit; six optional backlog obligations remain 0/6 and unclaimed | A complete end-to-end refinement theorem |
| The conditional Isabelle composition derives action-specific results from a runtime-link premise | Machine-checked conditional theorem | runtime_link is a locale assumption | Describing end_to_end_refinement as a discharged compiler-to-EVM proof |
| Selected ABI, call, revert, rollback, log, receipt, decoder, and runtime-identity seams have symbolic or bounded evidence | Tool-specific bounded or symbolic evidence | Only the named seam, source, schedule, and assumptions | All EVM paths, all external contracts, or compiler correctness |
| Deterministic builds and runtime binding identify the tested artifact | Provenance and negative identity evidence | Identical declared inputs and pinned toolchain | Compiler correctness or deployed-address identity |
| Mutation campaigns show that declared fault operators affect their intended consumers | Negative adequacy evidence | Only the declared mutation family | Completeness of the fault model or proof soundness by mutation score |
| The ERC-3643 result is fixture-bound | Bounded conformance evidence | Exact sealed-governor, exclusive-adapter fixture topology only | All ERC-3643 deployments satisfy the profile |
G VERIFICATION COMMANDS
All commands run from the root of the artifact repository [22] at the commit stated in section 9. The scripts are PowerShell; on Linux or macOS, install PowerShell 7 and replace powershell -File with pwsh -File. Every layer runs locally except the Certora layer, which requires a Certora account. Each command establishes only its own layer's facts, so the commands remain separate by design.
Full current-profile replay and its verifier
powershell -File scripts/replay-current-profile-release.ps1 node scripts/verify-current-profile-release-v2.mjs
Isabelle model closure and model-level negative mutations
powershell -File formal/isabelle/ERC_TRUST/evidence/model-verification/run-trust-closure.ps1 powershell -File formal/isabelle/ERC_TRUST/evidence/model-verification/run-negative-mutations.ps1
Solidity build (with runtime sizes) and Foundry tests
forge build --sizes
forge test
Current targeted Certora rules (requires a Certora account)
cd implementation
certoraRun certora/TrustFreezeDirection.conf \
--rule strict_increase_is_the_only_accepted_freeze_shape \
nonincreasing_freeze_shape_reverts_and_restores_storage
cd ..
Kontrol/KEVM claims (four names in evidence/kontrol-results-v2.json)
kontrol prove --foundry-project-root . --schedule CANCUN --match-test <proof-name>
Artifact identity: deterministic build, release identity, runtime binding
powershell -File scripts/check-deterministic-build.ps1
node scripts/verify-release.mjs
node scripts/generate-pure-runtime-fixture.mjs --check
node scripts/verify-runtime-binding.mjs --check-receipt
The proof-name placeholder enumerates the four entries in evidence/kontrol-results-v2.json. The repository scripts and configuration files are the executable source of truth.
H FULL OBJECTION-DISPOSITION TABLE
Table 10 lists all 22 objections under stable identifiers. Every objection is stated in its strongest plausible form; initial dispositions are manuscript decisions and may change after public review. Public review may add new identifiers without renumbering existing ones.
Table 10: Objections, dispositions, and residual limits.
| ID | Strongest objection | Evidence and response | Residual limit | Disposition |
|---|---|---|---|---|
| 01 | ERC-3643 separates recovery and freezing, ERC-1450 supplies a request lifecycle, ERC-7943 defines neutral mechanics; TRUST merely recombines existing controls | The paper does not deny those typed controls. Its narrower increment is one common semantics for all six ERC-8319 legal effects, especially effects sharing one balance-movement mechanism while requiring different custody, settlement, entitlement, terminality, and receipt obligations | Adoption value is a standards question, not a theorem | bounded |
| 02 | A contract cannot decide legal truth, so typed regulatory execution is conceptually invalid | The model proves the separation: identical kernel input can coexist with disagreeing external worlds. Applied means the bound on-chain transition occurred, not that a court order, title, sale, debt, or entitlement is true | Bad or fraudulent external input can still drive verified code | accepted limitation |
| 03 | Six actions freeze jurisdiction-specific policy into one taxonomy | The action vocabulary fixes observable effect classes; jurisdiction policy remains in versioned external bindings and authority configuration | Some jurisdictions may require additional effect classes or profiles | bounded |
| 04 | Freeze/unfreeze and pause/unpause already separate actions from reversals | The paper claims only the domain-specific combination of referenced prior state, stale, duplicate, and out-of-order rejection, case-local terminality, and typed receipt identity | The current domain declares only three reversals | fixed in declared domain |
| 05 | Typed expected-error and exceptional-failure categories predate TRUST, so the three-way partition is not new | The paper claims the regulatory audit and retry meanings plus complete declared-state and log stutter, not the invention of typed outcomes | Revert payload and monitoring infrastructure must preserve the distinction operationally | bounded |
| ID | Strongest objection | Evidence and response | Residual limit | Disposition |
|---|---|---|---|---|
| 06 | ERC-2612 and ERC-3009 already provide domain binding, nonce, deadline, cancellation, and single consumption | TRUST combines those established controls with action-specific case, epoch, evidence, and receipt semantics; it does not claim to invent replay protection | Key compromise and authority legitimacy remain outside the proof | bounded |
| 07 | The exact-use ticket is only another one-time authorization pattern | Its narrow increment binds a legacy selector, caller, calldata, policy, epochs, and command to same-transaction immediate consumption; raw ERC-7943 selectors remain closed in the candidate | Third-party token variants need separate topology evidence | fixed for candidate |
| 08 | ERC-3643 owner, Agent, batch, or compliance paths can bypass an adapter | This version claims only an exact sealed-governor, exclusive-adapter fixture. Arbitrary deployments are outside the claim without a new inventory | The optional broader profile backlog is 0/6 and unclaimed | accepted limitation |
| 09 | Isabelle and Solidity/EVM remain separated by an assumed correspondence | Correct. The paper exposes the conditional locale, retrieve relation, package receipts, and selected runtime seams without calling them a complete central theorem | Full compiler-to-runtime simulation remains open | accepted limitation |
| 10 | Multiple tools do not compose into soundness | Each tool receives its own projection, and upward inference from combined PASS counts is forbidden | Tool implementations and configurations remain in the trusted computing base | fixed in claim discipline |
| 11 | Fuzz and invariant counts create a false impression of generality | They are reported as bounded counterexample evidence with exact runs and calls | Unexplored sequences and inputs remain possible | bounded |
| 12 | Mutation kills do not establish proof adequacy | Mutations demonstrate sensitivity only for declared fault operators and consumer claims | The fault model is not complete | accepted limitation |
| 13 | Nonvacuity witnesses can validate a wrong model against itself | Abstract witnesses are paired with concrete positive and negative paths and selected EVM seams | Model adequacy still depends on specification review and external counterexamples | accepted limitation |
| 14 | Revert stutter cannot preserve gas, timing, mempool, or every observable side effect | The observation alphabet is limited to persistent declared state, declared downstream state, logs, and return/revert classification | Ambient execution observations are out of scope | fixed by scope |
| 15 | Hash binding is useless if the pinned compiler miscompiles | Provenance and bytecode evidence are separated, and compiler correctness is an explicit nonclaim | The pinned compiler is in the trusted computing base | accepted limitation |
| 16 | A verified candidate may differ from the deployed contract | This version makes no deployment claim. A future deployment manifest must bind chain, address, runtime, constructor, roles, and dependencies | No deployment evidence exists in this version | accepted limitation |
| 17 | A malicious or compromised authority can use verified code to execute wrongful actions correctly | Scope, epoch, cancellation, and receipt properties constrain execution | Legitimacy, governance quality, key custody, and lawful instruction are outside the theorem | accepted limitation |
| 18 | SEIZE custody and declared prior-holder fields do not restore legal ownership | The theorem deliberately guarantees custody accounting and declared relations, not beneficial title | External title adjudication remains outside the system | accepted limitation |
| 19 | A globally terminal implementation could block unrelated assets after one case closes | Current-profile state theorems make terminality case-scoped and distinguish a global-terminal mutant | Product changes must rerun this negative | fixed for candidate |
| ID | Strongest objection | Evidence and response | Residual limit | Disposition |
|---|---|---|---|---|
| 20 | A runtime near EIP-170 is operationally fragile | Two isolated builds report a 24,177-byte runtime with a 399-byte EIP-170 margin; pure immutable resolution changes the bytes but not their length and does not claim constructor execution | Compiler or feature drift can exhaust the margin | accepted limitation |
| 21 | ERC-8319 is not canonical, so TRUST cannot claim a canonical dependency | The manuscript says proposed ERC-8319, records its pending status, and states that TRUST has no assigned number and no opened pull request | Number and dependency status are restated in any future revision | fixed in provenance |
| 22 | The manuscript is a standards advertisement rather than an academic contribution | The paper separates the domain execution semantics, its theorem and falsification structure, the external-truth impossibility boundary, the evidence taxonomy, and the open correspondence obligations from TRUST-specific advocacy | Novelty judgment ultimately rests with reviewers and future prior art | bounded |
I TERMINOLOGY
Case. An identifier for one regulatory proceeding, such as one seizure or liquidation matter. Terminality is declared per case, never for the whole token.
Core observation. The artifact's projection of the kernel state and entry that canonical execution may depend on; external-world fields are deliberately excluded from it.
CVL. Certora Verification Language, the rule language checked by the Certora Prover.
Distinguishing negative. A mutated artifact or projection that the current profile's checks must reject, demonstrating that the check can fail.
Evidence package. A named group of expensive verification results, such as authorization and replay, shared by several obligation rows through hash-bound certificates.
Exact-use ticket. A one-time authorization record bound to the exact caller, selector, calldata, policy binding, epochs, and command identifier, created and consumed within a single transaction.
Executable manifest. The evaluated action-by-outcome scenario table computed from the executable kernel semantics rather than written down as constants.
Frozen target. The absolute frozen-token amount recorded for a holding; FREEZE must strictly increase it, while a decrease requires an explicit UNFREEZE reversal. It is not a relative delta or the holder's address.
Hash-bound. Valid only for artifacts whose cryptographic hashes equal those recorded in the binding record.
Kernel. The immutable execution core that evaluates typed commands and owns regulatory state and receipts.
Locale. An Isabelle mechanism for a named context of fixed parameters and assumptions; theorems inside a locale are conditional on its assumptions.
Native path. The kernel's own execution path, as opposed to the optional ERC-3643 adapter profile.
Nonvacuity. The property that a theorem's premises are satisfiable, so the theorem is not true merely because no state meets them.
Obligation row. One entry in the published current-profile index; each row carries its own evidence and qualification certificate.
Packaging drift. A change confined to artifact wrapping or metadata that leaves the semantic payload byte-identical; semantic drift, by contrast, changes the payload.
Publication profile. The declared, versioned scope of obligations and configurations under which evidence is claimed for the exact candidate.
Qualification certificate. A machine-checkable record stating that a row's or package's evidence was produced against artifacts with exactly the recorded hashes. Qualification is a published, repository-defined pass criterion, not a third-party certification, audit, or regulatory approval.
Retrieve relation. The abstraction mapping from a concrete storage state to an abstract model state, in the sense used by refinement methods.
Runtime link. The assumed relation stating that an accepted runtime execution satisfies the abstract transaction relation. Constructing it is the open central obligation.
Sealed-governor, exclusive-adapter fixture. The only ERC-3643 topology claimed: governance is sealed and the adapter is the sole privileged route.
Seam. A narrow, high-risk boundary in the compiled EVM code, such as ABI decoding or external-call classification, verified in isolation rather than by whole-program proof.
Stutter. A step that leaves every declared persistent field unchanged; the term is borrowed from refinement theory.
Witness. A concrete state and input on which a scenario actually executes, showing that a premise is satisfiable.
Disclosure. The author is a co-author of proposed ERC-8319 and leads the development of the ERC-TRUST reference candidate at Oraclizer Labs. The claim-to-source map, the stable objection register, and the explicit nonclaims exist partly so that this interest can be checked against the artifact rather than taken on trust.
License. This manuscript is licensed under the Creative Commons Attribution 4.0 International License (CC BY 4.0). Software, tests, and machine-checkable artifacts in the repository are licensed under BSD 3-Clause; the pre-ERC specification text is dedicated under CC0 1.0, matching the EIP-1 copyright requirement for an eventual ERC submission.
REFERENCES
[1] Sidney Amani, Myriam Bégel, Maksym Bortin, and Mark Staples. Towards verifying Ethereum smart contract bytecode in Isabelle/HOL. In Proceedings of the 7th ACM SIGPLAN International Conference on Certified Programs and Proofs, pages 66–77, 2018.
[2] Morena Barboni, Andrea Morichetta, and Andrea Polini. SuMo: A mutation testing strategy for Solidity smart contracts. arXiv preprint arXiv:2105.03626, 2021.
[3] Alexander Bernauer, Sofia Faro, Rémy Hämmerle, Martin Huschenbett, Moritz Kiefer, Andreas Lochbihler, Jussi Mäki, Francesco Mazzoli, Simon Meier, Neil Mitchell, and Ratko G. Veprek. Daml: A smart contract language for securely automating real-world multi-party business workflows. arXiv preprint arXiv:2303.03749, 2023.
[4] Paul E. Black, Vadim Okun, and Yaacov Yesha. Mutation operators for specifications. In 15th IEEE International Conference on Automated Software Engineering, 2000.
[5] Certora. Certora prover documentation, 2026. Accessed 2026-08-29.
[6] Silvia Crafa, Cosimo Laneve, Giovanni Sartor, and Adele Veschetti. Pacta sunt servanda: Legal contracts in Stipula. Science of Computer Programming, 225:102911, 2023.
[7] Adam Dossa, Pablo Ruiz, Fabian Vogelsteller, and Stephane Gosselin. ERC-1400: Security token standard. GitHub specification, 2018. Accessed 2026-08-29.
[8] Foundry Contributors. Foundry: A smart contract development toolchain, 2026. Accessed 2026-08-29.
[9] Ilya Grishchenko, Matteo Maffei, and Clara Schneidewind. A semantic framework for the security analysis of Ethereum smart contracts. In Principles of Security and Trust, pages 243–269, 2018.
[10] Everett Hildenbrandt, Manasvi Saxena, Nishant Rodrigues, Xiaoran Zhu, Philip Daian, Dwight Guth, Brandon Moore, Daejun Park, Yi Zhang, Andrei Stefanescu, and Grigore Rosu. KEVM: A complete formal semantics of the Ethereum virtual machine. In 31st IEEE Computer Security Foundations Symposium, pages 204–217, 2018.
[11] Jinwook Kim. The cross-domain state preservation functor: A mechanized theory of regulatory state synchronization in Isabelle/HOL. arXiv preprint arXiv:2604.03844, 2026.
[12] Jinwook Kim, Rob Viglione, and Dan Spuller. Regulatory compliance protocol. Proposed Standards Track ERC, ethereum/ERCs pull request 1848, 2026. Canonical merge pending as of 2026-08-29.
[13] Peter Jihoon Kim, Kevin Britz, and David Knott. ERC-3009: Transfer with authorization. Ethereum Improvement Proposals, 2020. Accessed 2026-08-29.
[14] Joachim Lebrun, Tony Malghem, Kevin Thizy, Luc Falempin, and Adam Boudjemaa. ERC-3643: T-REX – token for regulated EXchanges. Ethereum Improvement Proposals, 2021. Final; accessed 2026-08-29.
[15] Dario Lo Buglio, Tino Martinez Molina, and Mihai Colceriu. ERC-7943: uRWA – universal real world asset interface. Ethereum Improvement Proposals, 2025. Final; accessed 2026-08-29.
[16] Martin Lundfall. ERC-2612: Permit extension for EIP-20 signed approvals. Ethereum Improvement Proposals, 2020. Final; accessed 2026-08-29.
[17] Howard Marks, Devender Gollapally, Joe Mathews, Jordan Jahja, John Shiple, and David Zhang. ERC-1450: RTA-controlled security token. Ethereum Improvement Proposals, 2018. Final; accessed 2026-08-29.
[18] Diego Marmsoler and Achim D. Brucker. A denotational semantics of Solidity in Isabelle/HOL. In Software Engineering and Formal Methods (SEFM 2021), volume 13085 of Lecture Notes in Computer Science, pages 403–422. Springer, 2021.
[19] Diego Marmsoler and Achim D. Brucker. Isabelle/Solidity: A deep embedding of Solidity in Isabelle/HOL. Formal Aspects of Computing, 2025.
[20] Anastasia Mavridou, Aron Laszka, Emmanouela Stachtiari, and Abhishek Dubey. VeriSolid: Correct-by-design smart contracts for Ethereum. In Financial Cryptography and Data Security, 2019.
[21] Tobias Nipkow, Lawrence C. Paulson, and Markus Wenzel. Isabelle/HOL: A Proof Assistant for Higher-Order Logic, volume 2283 of Lecture Notes in Computer Science. Springer, 2002.
[22] Oraclizer. ERC-TRUST reference candidate and verification artifact, 2026. Candidate 0.1.0-candidate.2; exact commit stated in the paper.
[23] Runtime Verification. Kontrol documentation, 2026. Accessed 2026-08-29.
[24] Vilhelm Sjöberg, Kinnari Dave, Daniel Britten, Maria A. Schett, Xinyuan Sun, Qinshi Wang, Sean Noble Anderson, Steve Reeves, and Zhong Shao. Foundational verification of smart contracts through verified compilation. arXiv preprint arXiv:2405.08348, 2024.
[25] Solidity Team. Using the Solidity compiler, 2026. Accessed 2026-08-29.
[26] Sourcify. Exact match versus match, 2026. Accessed 2026-08-29.
[27] Santiago Torres-Arias, Hammad Afzali, Trishank Karthik Kuppusamy, Reza Curtmola, and Justin Cappos. in-toto: Providing farm-to-table guarantees for bits and bytes. In 28th USENIX Security Symposium, 2019.
[28] Brooklyn Zelenka, Tom Carchrae, and Gleb Naumenko. ERC-1066: Status codes. Ethereum Improvement Proposals, 2018. Stagnant; accessed 2026-08-29.