# Formal-verification extension: new fund-flow contracts (z3 SMT + full regression) Date: 2026-07-19 Scope: three new money contracts for Aere Network, modelled in z3 in the exact style of the existing consensus/contract SMT corpus, plus a full regression of the new-contract test suite to confirm the recent security fixes (M1 giveFeedback gate, L1 codeless-gateway guards, L2 VectorStore receipt binding) broke nothing. Honesty posture (same caveat as the rest of the corpus): each SMT script checks the DESIGN-level accounting/guard logic over the modelled transitions with unbounded Ints, NOT the compiled EVM bytecode. A model counts as non-vacuous only because a NEGATIVE CONTROL (one guard removed) fires a real counterexample. Trusted external primitives (SP1 gateway proof soundness, the Falcon-512 precompile at 0x0AE1, SafeERC20 whole-tx revert) are marked [VERIFY] and are not re-proved here. All verdicts below are the REAL z3 output and the REAL mocha output, reproduced verbatim from the runs. --- ## PART 1: new z3 SMT models All three scripts live in `aerenew/formal-consensus/` (they join the existing corpus next to `spokepool_smt.py`, `settlementhub_smt.py`, `threshold_account_smt.py`). Run each with `python