Source type
MT103 = header ⊗ sender ⊗ receiver ⊗ amount ⊗ currency ⊗ reference ⊗ trailer
UAE SWIFT MT103, as a tensor. Header and trailer are waste: they must be discarded, not silently dropped.
Flagship · Clearstream
Clearstream is 1Origin's rail bridge. A financial message is a linear type. A connector is a proof of Source ⊸ Dest. The kernel that runs is the same object a counterparty can re-hash. There is no grammar walk, no AST, and no dlopen.
Source type
UAE SWIFT MT103, as a tensor. Header and trailer are waste: they must be discarded, not silently dropped.
Dest type
SEPA credit transfer. Settlement currency is a refinement (EUR). Parties require Proof(!Sanctioned). Amount requires Proof(amount ≤ cap), Proof(Insured), and Proof(¬Tainted). The debtor requires Proof(Authorization). CloseDest issues a ReversalToken.
Dual-kernel pair
MT103 ⊸ IR and IR ⊸ SEPA compose, via the cut rule, to MT103 ⊸ SEPA. Intermediate IR fields are eliminated. The composed kernel reads MT103 bytes and writes SEPA bytes.
Half-kernel A
Bank A on SWIFT. The inbound proof consumes MT103 and produces Canonical IR.
Half-kernel B
Bank B on SEPA. The outbound proof consumes IR and produces a SEPA credit transfer.
The payment
United Arab Emirates → European Union. Real-time monitoring is on because UAE requires it. The compiled amount cap is 1000000 dest minor units (tighter of the two CDD triggers). Signed FxBook version 1 (refreshable; integer mantissa and scale, no floats). Synthetic names.
Source wire
MT103|header=F01BANKAEADXXXX|sender=ACME LLC DUBAI|receiver=WIDGETS GMBH BERLIN|amount=100050|currency=AED|reference=INV-2026-0001|trailer=CHKOK
Dest wire
SEPA|payment_id=0db32f41d764297e643402873fad83bfa4ea7a9ee8f583f97fa19862921bbe0f|debtor=ACME LLC DUBAI|creditor=WIDGETS GMBH BERLIN|amount=25063|currency=EUR|remittance_info=INV-2026-0001
Payment id (BLAKE3 of the source wire and dest schema, not a random UUID): 0db32f41d764297e643402873fad83bfa4ea7a9ee8f583f97fa19862921bbe0f. Converted to EUR. Ordered at height 0 on a 4-validator in-process quorum (k-of-n, hash-chained; not tendermint).
Proof net
Each link consumes a linear resource exactly once. The certificate is a BLAKE3 of the canonical kernel. Anyone who has the program can recompute it. Origin's word is not required.
discard headerdiscard trailerpayment_id → payment_idsender → debtorreceiver → creditoramount → amountcurrency → currencytruncate reference to 140 → remittance_infoconvert to EUR¬Sanctioned on debtor¬Sanctioned on creditoramount ≤ cap on amountinsured ≤ statutory cap on amountauthorized on debtor¬Tainted on amountissue ReversalToken (90 days)Kernel certificate ae789f22f3693d7e4e77a092c50d4be2816b581a13fb85568e168e815f7f304f for MT103 ⊸ SEPA. Payment attestation dest digest 39fb9073b5f71e3c788d6d8ed47ff63b5d1845ee6a887e724659e7dd29083a83 (digest-bound PaymentAttestation, not Groth16).
Encodings of the same types
SWIFTNet and SFTP adapters wrap the linear record. They are not live membership.
SWIFT MT103 blocks
{1:F01BANKAEADAXXX0000000000}{2:I103BANKDEFFXXXXN}{4:
:20:INV-2026-0001
:32A:260818AED1000,50
:50K:ACME LLC DUBAI
:59:WIDGETS GMBH BERLIN
-}{5:{CHK:CHKOK}}ISO 20022 pain.001
<?xml version="1.0" encoding="UTF-8"?>
<Document xmlns="urn:iso:std:iso:20022:tech:xsd:pain.001.001.09">
<CstmrCdtTrfInitn>
<PmtInf>
<CdtTrfTxInf>
<PmtId><EndToEndId>0db32f41d764297e643402873fad83bfa4ea7a9ee8f583f97fa19862921bbe0f</EndToEndId></PmtId>
<Amt><InstdAmt Ccy="EUR">250.63</InstdAmt></Amt>
<Dbtr><Nm>ACME LLC DUBAI</Nm></Dbtr>
<Cdtr><Nm>WIDGETS GMBH BERLIN</Nm></Cdtr>
<RmtInf><Ustrd>INV-2026-0001</Ustrd></RmtInf>
</CdtTrfTxInf>
</PmtInf>
</CstmrCdtTrfInitn>
</Document>
Trace
Failing closed
No Proof(!Sanctioned) for BLOCKED ENTITY LLC. CloseDest never runs.
The kernel still verified. Execution could not produce Proof(!Sanctioned), so CloseDest never ran and no SEPA message exists.
Deposit insurance as a linear token
When the kernel closes, Origin issues a fixture-signed policy on the originating deposit and a second policy on the converted dest amount. The chain for this payment: UAE-DGS 100050 AED → EU-DGS 25063 EUR. Split conserves the covered amount. Claim consumes the policy. Signers are derived fixture keys in an AuthorityRegistry. Live agency material enters through register when provided — this cut does not hold FDIC / FSCS HSMs.
Reversal and taint
The dest rail issues a ReversalToken valid for 90 days. Present it once to claw back funds that still exist and are not frozen or devalued. After the window the token is consumed and the transfer is irreversible.
TaintedFunds are not Funds. The type system will not spend them. Allowed steps: freeze, clawback (with a matching reversal token), or devalue. DevaluedFunds fail every merchant proof that requires Funds. Marks live on a hash-chained taint ledger (height 1 in this walkthrough) with optional quorum endorsements. Hosts that hold the same chain see the same marks. This is not the FCRA Root Ledger.
Funds held by TAINTED HOLDER are TaintedFunds on the global taint ledger. Spend is not well-typed.
No Proof(Insured) for 12525299 EUR held by ACME LLC DUBAI. The statutory cap is a type, not paperwork.
cash_out consumes a Deposit and emits ExternalCash. cash_in refuses a serial devalued on the taint ledger. Ink on a banknote cannot be erased.
Authorization
Two factors, no scoring: account-holder signature ⊗ device attestation. Origin does not take biometrics and does not issue behavioural certificates. A circuit breaker is Funds ⊸ FrozenFunds.
No Proof(Authorization) for UNAUTHORIZED HOLDER. CloseDest never runs.
Linear types: ⊗, ⊸, !, refinements. Schemas for MT103, Canonical IR, SEPA, NPP. Type-directed wire, not a grammar.
Search, linearity verifier, cut elimination, proof nets, digest-bound certificates. A VerifiedKernel is the only runnable value, the same technique as GL1.
The product: a signed FX book, jurisdiction tables as integers, Confirmation-of-Payee, registry-checked insurance proofs, reversal tokens, taint as a type, QuorumConsensus plus ReplicaNetwork vote packets, SWIFTNet/SFTP/NppPort adapters. Amount caps are digest-bound PaymentAttestations, not Groth16.
Honest limits
Proof search is the RailLogic fragment, not Lolli. The kernel ISA is the GL1 technique applied to rails, not LLVM extraction. Origin forbids unsafe and therefore forbids dlopen: institutions publish types; composition is proof search. Amount-cap witnesses are digest-bound predicates — Origin already says that about credit attestations, and Clearstream does not switch stories to Groth16. Insurance signers are derived keys in a registry; register is how live FDIC / FSCS verifying keys enter when an agency supplies them. Physical cash ink cannot be devalued from software. ReplicaNetwork ships signed CanonicalJson vote bytes — not tendermint, not gRPC. NPP overlay encoding ships next to MT103 blocks and pain.001. This cut does not hold national HSMs.
Crates: origin-raillogic, origin-pap, origin-clearstream. Notes live in docs/clearstream.md. Nine credit capabilities.