Seedelf-Wallet

Chunk 48 · Seedelf in every transaction, in the kernel

Branch web-wallet/seedelf-every-tx from main (14b24e59), worktree ../Seedelf-Wallet-chunk48. The work is in seedelf-verification/Seedelf/Every/. Its README has the method’s differences from chunk 45, the modules and the pitfalls.

Status: ✅ done 2026-11-12, all three scripts, in PR #381. What it left open is chunk 49’s steps 4 to 6.

The owner’s call

What was built

Chunk 45’s method on Seedelf’s three deployed scripts. Each spec is the compiled code read back as Lean over Data, one Ev theorem per region, induction for each loop. Then each is restated in its Aiken source’s terms, for every typed V3 ScriptContext. Every headline theorem rests on propext, Classical.choice and Quot.sound alone, and #guard_msgs checks that in the build.

Script Theorem What it says
wallet 94bca9c0… wallet_accepts_iff The program returns () exactly when walletAccepts holds: a spend whose redeemer is a Proof, and then any non-Register datum, or a Register for which schnorr.prove holds and vkh is among the signatories, however many there are
policy 84967d91… policy_accepts_iff Exactly when policyAccepts holds: a mint, a bytestring redeemer, exactly one line, an input, and the xor of the burn and mint blocks, over PlutusCoreBlaster’s own slice
always_false 6777ba4d… always_false_errors Never: any argument reaches Error

wallet_exec_iff and policy_exec_iff say the same of any context Data. The _error theorems add that a run which doesn’t accept reaches Error and never halts.

./check.sh seedelf-every builds the 14 modules after their 14 imports. A clean build of the 14 takes about four and a half minutes, with peaks of 9.5 GB (Mint) and 8.8 GB (Root), so they run at 16 GB and 30 minutes, like lovejoin-every.

What it changes in the claims (CLAIMS.md, the README):

Open, the owner’s calls

Moved to chunk 49: the outside read of the readable statements (step 4), schnorrProve against schnorrAccepts (step 5), and whether to keep the Blaster Seedelf modules (step 6). #78’s migration is chunk 46’s.

Next it opens

No locked Register UTxOs (completeness in the kernel, and a Rust proptest through the deployed bytes) is chunk 49’s steps 2 and 3.

Record

PR #381 (web-wallet/seedelf-every-tx, into main, merged as 4e5ee500):