This walkthrough builds a formal model for a simple order validation rule: "orders must be rejected if quantity exceeds 10,000".
Designed for coding agents. Every SpecLogician CLI command is built to be issued by an LLM coding agent — typed flags, structured --json output, no interactive prompts. The walkthrough below is exactly what an agent would run; you can run it by hand to learn the surface.
Two commands worth knowing before you start:
speclogician --help # discover commands and flagsspeclogician prompt --out agent.md # generate the agent instruction guide
Hand agent.md to your coding agent before delegating modeling work — it's a self-contained guide to the modeling discipline and command surface.
speclogician view state --compact # summary of everythingspeclogician view diff # what changed since last statespeclogician reach summary # reachability analysis
You now have a formal model with:
2 predicates (complementary pair)
1 transition (branching logic)
2 scenarios (one per behavioral path)
Symbolic complement analysis showing uncovered regions