Welcome · Page 3 of 3
TLA⁺ Semantics & Verdicts
Every specification class defines a TLA⁺ state machine:
Spec ≡ Init ∧ □[Next]vars ∧ Fairness
Here vars is every State and Ghost field,
Init describes the starting states, Next is the disjunction of all
actions, and Fairness states scheduler assumptions. Every Invariant,
ActionInvariant, and Property is a claim about Spec.
Checking a Model produces one of three verdicts:
| Verdict | Meaning |
|---|---|
| PASS | Holds for every reachable state of the finite model (for those constants, domains, and constraints). |
| FAIL | Found a violation, reported with a step-by-step counterexample trace in Python terms. |
| ERROR | Nothing was checked — a static front-end diagnostic (e.g., level error or missing domain). |
Try it: Click Check on
Countdown. It fails
strictly_positive because step() reaches n == 0!
Fix either the invariant (s.n >= 0) or the guard (s.n > 1)
and check again to see PASS.