ExTLA.Spec.DomainError exception (ExTLA v0.6.0)

Copy Markdown View Source

Raised by f[x] where x is outside the domain of f (02-dsl-semantics.md ยง1.6).

TLA+ leaves f[x] undefined there, and ExTLA.Spec.Helpers.at/3 โ€” what f[x] compiles to inside a spec block โ€” raises rather than returning nil. A nil compares unequal to whatever a guard expected, so the action would look disabled and the checker would explore a smaller state space and report success.