Paper 2 Lean Crosswalk

These links pair the bounded manuscript with the Lean sources at revision eac922d4. Each entry describes what the checked statement establishes and which runtime or security conditions it uses. The article follows the same transaction from authorization through recovery.

Binding and Persistence

Exact artifact and full ciphertext

Paper 2 §, §.

Lean proves that two distinct messages at a fixed presentation can share an exact component and have different full ciphertext bytes. The raw manifest orders the exact-artifact digest and full-ciphertext digest under distinct slot tags. The two digests may coincide. Any bytes can occupy the ciphertext slot. Geometric validity enters through a separate certificate. Exact-component counterexample · Directory and seal · BindsOriginal

Delivery and recovery

Paper 2 §, §.

The checked intent names the manifest root and the computed history anchor includes the same directory. Given the original-observation certificate, canonical target sample, well-formed runtime, issued scoped token and available bytes, retrieval returns the original coefficients or identifies an accepted byte-hash collision. Retained-base recovery uses the private source presentation. Caller authentication, confidential token delivery, availability and global key retirement require application mechanisms. Native history and recovery · Private base and held token · Scope and delivery limits

Encrypted cells and directory fragments

Paper 2 §, §.

A cell stores the complete encrypted byte record. The reference index looks up its SHA-256 digest and rehashes the complete response. Successful insertion implies readback. At a trusted original address, different accepted bytes exhibit a collision. A verified directory binds context, ordered IDs and digests and rejects duplicate IDs. Checked fragments of one authority agree on overlap and determine a unique lookup on their union. Independently checked directories at the same root retain the collision alternative. Cell reads · Directory verification · Overlap · Unique merged lookup

Persistence and historical replay

Paper 2 §, §.

The local POSIX implementation checks all named objects before publishing with a cooperating writer lock and same-directory rename. Process restart needs an independently obtained pin. Power-loss durability needs filesystem synchronization. A reader verifies the public release records and rechecks each archived packet against its historical predecessor, fixed verifier profile and vote target. A separately authenticated ledger checkpoint can reopen the complete successor. Continuation verifies the exact archive-root prefix and rechecks the suffix. These are reference I/O routines with proved per-step and prefix properties. Agreement among independent ledger participants requires consensus. Publication model · Archive step theorem and replay loop · Checkpoint continuation

Checks and State Transitions

Proof packet and ordered evidence

Paper 2 §, §.

The checker fixes an exact public subject containing the intent, metadata, ciphertext digest and selected profile. The projection profile puts seven subject/proof entries in one ordered bundle. Hard, naturality and final checks require the first five, six and seven entries respectively. The guarded version compares all seven digest names and the root with the same record’s database. Terminal acceptance yields a corresponding certificate or a false acceptance by the selected backend. A rational calibration identifies real radii under four coordinate equalities. Its three comparison checks alone give no far-region guarantee. Slot counts and claims · Database and leaf checks · Calibration

Optional Paper 3 scalar check

Paper 2 §, §.

Before one uniform draw from the 12,289-element field, the verifier fixes the intended packet’s two-column payload and integer radius r. It checks the echoed challenge, polynomial degree below 1,024 and fewer than r mismatches over all 4,096 positions, then runs the original packet checker. At modular source distance at least r/4,096 the acceptance probability is bounded by the fixed line’s bad-challenge fraction. A bound ε for all lines requires the corresponding pair-MCA hypothesis. The paper proves the exact probability 1/12,289 for its diagonal example with both columns evaluating X^1024, for 0 < r ≤ 3,072 and a separately accepting packet. Its cancelling field element is −1. A deployment must enforce one draw and authenticate the session. Checks · Probability theorems · Manuscript

Accepted update and fixture

Paper 2 §, §.

Given the configured authorization and payload verifier soundness, acceptance yields the computed successor. The marking removes one copy of the input and creates one copy of a fresh, distinct output with equal asset and amount. The input joins the spent set. Total catalogue value per asset is preserved. Unit inventory and spent-ID exclusion are preserved when the initial inventory satisfies them. The same input fails from the successor even under a new proposal. This is a sequential state property. Accepted update, value, markings and replay · Reused-input rejection · Executable acceptance · Executable successor

Proof Profiles and Release

Credentials, program approval and arithmetic

Paper 2 §, §.

V1 names a salted source credential, hash of the target presentation and digest of the full ciphertext. V2 replaces the target presentation hash with a commitment opened by a private 32-byte nonce and uses versioned codecs. A quorum authenticates the registration descriptor. Verification compares the actual expected program bytes, parses the selected verifier key and common reference string (CRS), and uses the context-derived key and full signing message. This establishes which program ran. Secure setup, backend soundness and compilation of credential/byte/hash constraints remain obligations. The prime-field range result gives a unique bounded integer lift for the ciphertext arithmetic under its modulus bounds. V1 relation · V2 names and check · Descriptor approval · V2 approved execution · Finite arithmetic

V1 forgery

Paper 2 §, §.

The bounded adaptive signing experiment uses the raw operator root. The adversary can receive the full target ciphertext. Given a hybrid inequality for its actual fresh-forgery test, Lean bounds success by the sum of the hybrid error and the probabilities of failed extraction, recovery of the original coefficients, snapshot-byte collision and ciphertext-byte collision. The application theorem covers completion of the single challenged credential’s returned target under setup parsing and context alignment. The proof primitive must bind the full message because the geometric witness relation alone accepts that witness across messages. A numerical security estimate requires bounds for the terms on this experiment. Full-ciphertext theorem · Application hypotheses · Message binding

V2 message recovery and public visibility

Paper 2 §, §.

For one fresh-sign sample with a uniform n-bit message, at most S simulator and Q decoder public byte-oracle queries, and deterministic key disclosure L, the exact-recovery bound is |im L|/2^n + (S+Q+2)/256^32 + ε. The actual and simulated prefixes must be within ε in total variation on the hidden sampled target, disclosure, instance/ciphertext, optional released transfer and live oracle cache. Failed releases count. A backend must establish this joint premise. The transfer releases public IDs and a ciphertext digest. Different input IDs distinguish two such releases perfectly. A direct remote read exposes its digest. Fetching the entire fixed bucket gives identical server transcripts for local choices within that bucket at the cost of the full download. Joint-prefix theorem · Public ID distinction · Fixed-bucket transcripts and bandwidth

Fixture Evidence and Build Record

Resource 0 belongs to owner 0 and resource 1 belongs to owner 1. Each represents seven units of the same asset. The sender signs in the byte-owner profile as [1]. The initial marking is 0 ↦ 1 with an empty spent set. The exact payload is zero and the raw ciphertext slot contains [3, 8, 13]. The fixture uses a byte-sum digest, a signature consisting of byte 71 followed by the encoded intent, and payload proof [72]. The manuscript reports a 3,524-byte canonical packet. The executable checks 0 ↦ 0, 1 ↦ 1, input 0 spent, rejection of a re-signed altered manifest, rejection of the original replay, and rejection of a new draft spending 0. Its signature and proof bytes exercise the checker’s interface. Native ciphertext recovery has the separate hypotheses in item 2. Catalogue · Fixture primitives · Executable assertions · Packet size as reported

Upstream push run 46356695423 passed at eac922d4b54a6375f53bac0bb1522dec5c4dbd09. The Lean job built the aggregate that imports the Paper 2 protocol and ran the separate native encryption and byte-recovery demo. The manuscript job compiled Paper 2. This audit verified the owned-transfer fixture in source and the author’s report of its execution. The workflow has no execution step for that fixture. Lean job · Manuscript job · Workflow

The upstream README labels the disconnected private trade as a proposal. Its route-advertisement, escrow, external-payment and communication-privacy requirements extend the directory and transition theorems. Proposed trade example