Ex4pmDomain.Verifiers.VerifySoundness (ex4pm v26.9.9)

Copy Markdown View Source

Spark DSL Verifier enforcing mathematical 1-Safe Soundness on Ash state machine resources at compile-time.

If an Ash resource defines to_workflow_net/0, this verifier compiles the reachability graph and proves:

  1. Option to complete (liveness)
  2. Proper completion (no lingering tokens in sink place)
  3. No dead transitions (fireability)
  4. 1-Safety (no place contains > 1 token)

If any invariant fails, compilation immediately halts with a Spark.Error.DslError.