tlc_generate_trace_spec
Generate a Trace Explorer spec (SpecTE.tla) from a TLA+ counterexample trace to debug model-checking failures.
Instructions
Run TLC model-checking on a TLA+ spec with -generateSpecTE to produce a Trace Explorer spec (SpecTE.tla / SpecTE.cfg). This is useful for debugging counter-examples: it generates a standalone spec that replays the error trace.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tla_file | Yes | Absolute path to the .tla file | |
| cfg_file | No | Path to the .cfg configuration file. Defaults to <tla_file>.cfg | |
| monolith | No | Generate a monolithic SpecTE (single file). Set false for multi-file output. | |
| extra_args | No | Additional TLC arguments |