Ships in tla-plus. Installing the plugin adds it to Claude Code.
What the command file sets; muted values are Claude Code's defaults
Generate liveness properties (temporal properties) for: "$ARGUMENTS"
Liveness properties assert that "something good eventually happens."
Common Liveness Patterns:
Termination:
Termination == <>(\A p \in Procs : pc[p] = "done")
Progress (leads-to):
Progress == \A p \in Procs :
pc[p] = "waiting" ~> pc[p] = "served"
Eventual Response:
EventualResponse == \A req \in Requests :
req \in pending ~> req \in completed
Starvation Freedom:
StarvationFree == \A p \in Procs :
pc[p] = "trying" ~> pc[p] = "critical"
Eventual Consistency:
EventualConsistency ==
<>(\A r1, r2 \in Replicas : data[r1] = data[r2])
Fairness Requirements:
FairSpec == Spec
/\ \A p \in Procs : WF_vars(Action(p))
/\ SF_vars(CriticalAction)
Generate:
SPECIFICATION FairSpec
PROPERTIES
Termination
Progress
Note: Liveness checking is more expensive than safety checking. Test with small models first.
7-day visitors to each command page
6 commands in this plugin
/configGenerate TLC ConfigurationGenerate or update a TLC configuration file for a TLA+ spec/invariantGenerate TLA+ InvariantsGenerate invariants for an existing TLA+ specification/pluscalGenerate PlusCal AlgorithmGenerate a PlusCal algorithm with TLA+ translation/reviewReview TLA+ SpecificationReview and improve an existing TLA+ specification/specGenerate TLA+ SpecificationGenerate a new TLA+ specification from a system descriptionnpx claudepluginhub andrueandersoncs/claude-tla-plus-plugin --plugin tla-plus