Seedelf-Wallet

Chunk 45 · Lovejoin in every transaction

Done (2026-11-06): mix_logic and one_shot_mint in every transaction, kernel-checked, stated in the Aiken source’s terms. The claim is in seedelf-verification/CLAIMS.md (the owner’s call), and the chunk landed as one PR to main, #368 (What its PR did, at the end). What still holds is in seedelf-verification/Lovejoin/Every/README.md: how to build and change the proofs, the method, the pitfalls, the tools and every module’s theorems. Read it before changing a proof.

Where things are

The goal and the owner’s words

The owner, 2026-11-06, with the old pools empty and the 5 ₳ v2 pool live:

The bar (memory formal-verification-bar): every action’s rule, both directions, in every transaction. The scope is variant 1’s Seedelf scripts (done, PR #362) and Lovejoin v2’s contracts, with fee_contract out (unused). Before this chunk, Lovejoin/AnyTx/README.md had these kernel-checked for every V3 context:

That left two:

The classifier stopped this work three times on 2026-11-05. This session it stopped nothing (one transient “no verdict” error, retried fine).

The method, the pitfalls, the tools and the modules

In seedelf-verification/Lovejoin/Every/README.md since 1.8.1’s release review, where they stay true as the proofs change: The method (the spec as the compiled code read back, one theorem per region, ev_go), Pitfalls already paid for (the CEK regions’, the launch’s and the readable layer’s), The tools (pseudo.py, scope.py, lpath.py, pp.py, fillpaths.py) and The modules, every module’s theorems.

So both scripts that lacked it are proved in every transaction: mix_logic (every purpose, both withdrawals, the redeemer’s checks, the root) and one_shot_mint (the launch, every other purpose), first over raw Data, then in the Aiken source’s terms. With mix_box and reference_holder from before, that is all of Lovejoin v2 in scope (fee_contract out).

The steps, in order (all done)

1. The Mix branch: DONE (the README’s The modules; the notes below were the map)

Already read from the bytes (regenerate pseudo.txt, Mix starts at let i_128). ρZ slots: 0 i_107, 1 i_106, 2 i_105 (boxes), 3 i_81 (rd), 4 i_80, 6 i_78, 10 i_74, 11 i_73, 12 i_72, 17 i_20 (red), 18 i_19 (info), then the builtins.

2. The plumbing above the main body: DONE (Withdraw.lean, Typed.lean)

3. The typed statement: DONE (Typed.lean, MintTyped.lean, Readable*.lean)

4. one_shot_mint’s launch: DONE (Mint*.lean)

Decode Lovejoin/Template/Scripts/one_shot_mint.hex with the same tools and use the same method. The owner’s LaunchSeedSearch and LaunchOutputSearch are loop lemmas in the old style: reuse their facts or rewrite them in this style. A whole-launch Blaster attempt passed 16 GB; this method has no such cost.

5. Land it: DONE

The claim, drafted (true as written; the caveats stay in the docs):

Two phrases carry weight. Every transaction: Seedelf’s wallet is proved for up to 128 signatories, where the size limit allows 125; everything else has no bound. The Lovejoin v2 contracts it uses: mix_box, mix_logic, reference_holder and one_shot_mint; fee_contract (unused) and the older pools’ scripts are out, so “Lovejoin’s contracts” alone would overclaim.

The original list, all done:

Upstream

The upstream checks of 2026-11-06 (PlutusCoreBlaster’s #71 and #72 merged, #73 and #27 open, the aliases never offered, Lean-blaster #455 conflicting, and what was offered to the owner) are in chunk 41’s plan, Where upstream stands. The decisions are still the owner’s.

What its PR did

#368 (web-wallet/lovejoin-every-tx, into main, merged as d190f717):

1.8.1’s release review then fixed the docs (CLAIMS.md’s Where it stops, the READMEs) and check.sh (an Every module named alone gets the family’s caps, and the family builds the 51 modules it imports from elsewhere first), guarded the two cited theorems’ axioms by name, moved what still holds into Lovejoin/Every/README.md and the upstream checks into chunk 41’s plan, and archived this file.