tlc_check
Verify a TLA+ specification by running the TLC model checker in exhaustive breadth-first mode, checking all reachable states for invariants, properties, and deadlock.
Instructions
Run TLC model checker in exhaustive breadth-first mode to verify a TLA+ specification. Checks all reachable states against invariants, properties, and (optionally) deadlock freedom.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tla_file | Yes | Absolute path to the .tla specification file | |
| cfg_file | No | Path to .cfg file (defaults to same basename as tla_file with .cfg extension) | |
| workers | No | Number of worker threads, or 'auto' for all cores | |
| deadlock | No | Check for deadlock (default true). Set false to disable deadlock checking. | |
| continue | No | Continue model checking after finding a violation | |
| dfid | No | Use depth-first iterative deepening with given depth | |
| diff_trace | No | Show only changed variables between trace states | |
| max_set_size | No | Override TLC's max set size (default 1000000) | |
| generate_states | No | Dump state graph in DOT format | |
| dump_path | No | Override directory path for DOT state graph dump (default: <cwd>/states). Parent directories are created if needed. | |
| extra_args | No | Additional raw arguments to pass to TLC | |
| output_file | Yes | Required absolute path. Raw TLC output is written here so it doesn't flood the agent context. Response contains the output_file path; callers Read the file when they need the raw text. |