Alchemy PR: Prove/Explore check domain invariants with Z3 across 13,310 command sequences

samgoodwin89 · x · 2026-11-12

Draft PR #3260 in alchemy-run/alchemy adds invariant checking for Alchemy Domain: Prove verifies an aggregate's invariants across every state and command, while Explore runs every short sequence of commands through the model's APIs, following policies, sagas and schedules. Both read the source and let the Z3 SMT solver pick values — the Bank example explores 13,310 sequences / 15,014 states and surfaces a concrete breaking command combo without hand-written test values.

Related event: Alchemy experiments with Z3 to verify domain invariants(2 posts)→

Original post →

More from coding & agent

coding & agent channel →