expert-specl
Expert for Specl, a modern specification language and model checker for concurrent and distributed systems. Covers the full Specl language, CLI toolchain, distributed protocols (Raft, Paxos, consensus, BFT), concurrent algorithms, and formal verification. Use when: writing/debugging .specl files, modeling distributed systems, verifying safety properties, analyzing invariant violations, optimizing state space exploration, or translating TLA+. Keywords: specl, model checking, formal verification, TLA+, distributed systems, consensus, Raft, Paxos, BFT, invariants, state space, specification language. --- # Specl — Specification Language & Model Checker Specl is an exhaustive model checker for concurrent and distributed systems. Write a spec (state machine), and the checker explores every reachable state to verify invariants or produce minimal counterexample traces. **Modern TLA+ alternative** with clean syntax, implicit frame semantics, and a fast Rust engine (1M+ states/second). ## Quick Reference ### Installation ```bash # From Specl repo at /Users/danwt/Documents/repos/specl/specl cargo install --path crates/specl-cli # `specl` binary cargo install --path crates/specl-lsp # language server (optional) ``` **VSCode extension**: https://marketplace.visualstudio.com/items?itemName=specl.specl ### Essential Commands ```bash specl check spec.specl -c N=3 -c MAX=10 # check with constants specl check spec.specl --no-deadlock # skip deadlock check (for protocols) specl check spec.specl --fast # fingerprint-only (10x less memory, no traces) specl check spec.specl --por # partial order reduction specl check spec.specl --symmetry # symmetry reduction specl fmt spec.specl --write # auto-format specl fmt spec.specl --lint # fast syntax + type + compile check specl info spec.specl -c N=3 # state space analysis + estimates specl watch spec.specl -c N=3 # re-check on save s
Changelog: Source: GitHub https://github.com/danwt/specl
No comments yet. Be the first one!