← Lab /Software

Admission fences let trusted payment services fully account and block later payments

A trusted payment service using an admission fence can guarantee complete accounting of all payments in an epoch and prevent any further payments under earlier authority

Software arXiv 14 Nov 2026 Method Prototype evidence

Published as “TrustBound: Mechanized Completeness for Payment Epochs Initiated by AI Agents”

Why it matters

Operators can reliably determine when an AI-agent-driven payment epoch is fully closed, enabling definitive audit and reconciliation of payments.

Summary

The paper shows that a three-rule admission discipline (record-before-grant, fenced admission, discharge + report) guarantees exact closure of a payment epoch-future payments are excluded and past payments are fully accounted for. The authors mechanize the admission and provider-contract models and prove the closure theorem in Lean, and they build an executable service that implements the discipline. Extensive evaluation (864 generated schedules, 84 concurrent-worker cases) confirms the proofs, and a reconciliation bug caused by reordered provider reads was discovered and fixed. The evidence is strong: all formal checks pass and the implementation satisfies the theorem under the tested scenarios.

What they found 3

  1. All formal results check in Lean without custom axioms.

    “All eight admission results and six provider-contract results check in Lean 4.19.0 using only the standard axioms propext and Quot.sound; no custom axioms or unfinished proofs are accepted.”

  2. The service passes all generated test cases, correctly resolving or retaining authority.

    “All 864 cases pass: 768 resolve and 96 correctly retain outstanding authority.”

  3. A reconciliation bug due to out-of-order provider reads was found and fixed.

    “The first version of this experiment exposed six false conflicts. One reconciler read a payment as still requiring capture and paused; a second recorded the terminal outcome; the first then applied its older response. Both reports were truthful when read, but the gate recorded a conflict and could never close.”

Caveats 5

  • The initial implementation suffered a reconciliation conflict caused by reordered provider reads, showing that without proper serialization the system can fail to achieve exact closure.
  • The fix introduces a performance trade-off: slow provider reads now block journal writers, requiring adapters to bound timeouts.
  • The cost is that slow provider reads block journal writers, so adapters must bound timeouts.
  • We leave to future work the outcome-preserving refinement proof from the service to the model, which would turn the trace-level evidence into a guarantee for all executions.
  • Conditional model result. No claim of real-world coverage, exact amounts or independent-issuer evidence.

What’s new here 4

  • Provides a mechanized Lean proof linking a concrete admission discipline to exact closure of payment epochs.
  • Introduces a provider-contract model that maps real payment provider actions to the abstract admission model.
  • Implements and evaluates an executable service that enforces the discipline, uncovering a subtle reconciliation bug.
  • Demonstrates coverage of the theorem across 864 schedule variations and concurrent worker configurations.