Seedelf-Wallet

Chunk 49 · No locked Register UTxOs, and the proofs’ loose ends

Status: ⬜ not started. Written 2026-11-12 on chunk 48’s branch (PR #381), so a new session can pick it up after that merges. The owner: “the remaining items you want to do, write them into a chunk that can be saved on this branch. That way after merger we can continue them in a new context window”.

Chunk 48 (its record) proved all three Seedelf scripts in the kernel, for every transaction: wallet_accepts_iff, policy_accepts_iff and always_false_errors. Those say what the scripts accept. This chunk adds that an honest owner can always meet that bar. It also closes the proof suite’s last open audit finding and carries chunk 48’s open calls.

Start here

Steps

1. ⬜ Lake rebuilds a module when its .hex changes

This is the audit’s last open finding, script-hex-not-lake-inputs (Audit/review/findings.md). #import_uplc reads Seedelf/Scripts/*.hex and the Lovejoin ones, but Lake doesn’t track them. So after an extract run, check.sh replays the old ✅ as ok for bytes that are no longer there, and the README tells you to delete the Scripts modules’ builds by hand.

2. ⬜ An honest owner can always spend: completeness, in the kernel

wallet_accepts_iff says a Register moves exactly when schnorrProve holds and vkh signed. Nothing yet says an owner who knows x can make schnorrProve hold. That’s the no-locked-funds property, and CLAUDE.md’s first protocol invariant: the same scalar d on both points keeps a Register spendable.

3. ⬜ The Rust prover through the deployed bytes: a proptest

This was chunk 40’s offer, carried by chunk 46 as ❓, and now it’s the empirical half of step 2. Today seedelf-crypto’s proptests check proofs only against Rust’s own prove, and eval_test.rs replays fixed chain transactions. Nothing runs a fresh proof through the wallet’s deployed bytes.

4. ✅ An outside read of the readable statements

The proofs show that the bytes equal walletAccepts, schnorrProve and policyAccepts. They can’t show that those say what Seedelf means.

Done in chunk 51 (2026-11-18), as its lanes V1 and V2 (its record). Each ran in a fresh context with only the sources and the definitions, the theorems cut to their statements.

5. ❓ schnorrProve against Seedelf.V1.schnorrAccepts

The two Schnorr specs, the kernel’s and the Blaster modules’, aren’t proved equal. The kernel can’t unfold schnorrAccepts: its match starts on scalarOf z, which it reduces down to deciding n < q. Three options:

The owner picks.

6. ❓ The Blaster Seedelf modules: keep or retire

Since chunk 48 they’re a cross-check. wallet_accepts_iff covers what Signers/ (125 modules, 250 theorems) and WalletAnyTx* prove, and policy_accepts_iff covers what Slice/ and PolicyLines*AnyTx prove.

The owner picks. Chunk 48 kept them all.

Not in this chunk

The owner’s decisions