ALab / ty
Find the design bug before you build it.
Give ty a spec and a property. It returns holds, a replayable counterexample, or cannot compute with the reason, never a guess. The goal: a proof-carrying replacement for TLC.
github.com/alabsystems/ty · ALab Academic Use License · written in Rust · TLA+, Petri nets, hardware
- 28 of 181
- tlaplus/Examples configs certified end to end at 45 s (144 decline, 9 time out)ALab's own measurement, August 2026, older release
- 158 of 181
- tlaplus/Examples configs matching TLC (0 mismatches, 16 ty failures, 7 untested)ALab's own measurement, 2026-08-26, older release
- measuring
- measuring: ty against TLC on 141 tlaplus/Examples configs, current release, six paired repetitions
Get ty
macOS, Apple silicon
aterm pkg install ty
Get aterm first. Astral’s Python type checker is also named ty: check ty --version and the command’s path. ↗
Linux, Windows, Intel Macs. No current build. The ty package and the trust toolchain are built for Apple-silicon macOS only. ↗
How you use it
Run ty tutorial demo. ty checks the Die Hard puzzle, prints Error: Invariant NotSolved is violated. with the trace to big = 4 and exits 1. On your own spec, add --output json to ty check for machine-readable results and --require-exhaustive for a CI gate.
Works today
ty check Spec.tlareads existing TLC configs, with standard and community modules compiled into the binary.- Untrusted specs cannot run shell commands:
IOExecstays off without--allow-io. ty certifyemits a safety certificate thatty cert-checkreplays without sharing search state.ty petriruns any of the 13 Model Checking Contest examinations directly on PNML Petri nets.ty aigerandty btor2check hardware safety;ty btor2 --witness FILEwrites the trace.
Not yet
- Known false pass: package 1.20261116.1 reported success on an
ENABLED/INSTANCEregression spec where TLC violatedInv. - Not a validated drop-in replacement for TLC. Check your models against TLC before relying on a verdict.
- Where TLC errors on an underspecified successor state, ty can still return a verdict instead of refusing.
not proved: ty is built with targo --unverified, which carries no proof claim about its Rust implementation.
Against the competitions
-
Model Checking Contest 2026StateSpace
3rd of 4 tools (4,599 points); 0 wrong of 1,252 values.
Official entry, submitted binary run by MCC organizers (1 h, 16 GB, June 2026). ↗
-
Model Checking Contest 2026GlobalProperties
3rd of 4 tools (27,798 points); 15 wrong of 2,406 values.
Official entry, submitted 2026 binary (not current main), run by MCC organizers (1 h, 16 GB). ↗
-
Model Checking Contest 2026Reachability, UpperBounds, CTL, LTL
4th of 4 in Reachability (98 wrong); 3rd of 3 in the other three (34 wrong).
Official entry, submitted 2026 binary (1 h, 16 GB); overall 44,894 of 45,041 values correct (147 wrong). ↗
-
Model Checking Contest 20266 categories, 312-cell sample
3,626 local points vs 4,522 summed from each category’s leading tool on those cells; 0 wrong.
ALab’s own measurement (2026-10-05 local-machine replay, not an entry): 168 cells at 3600 s, 144 reusing 300 s. ↗
Follow the work
- releases every signed package
- release-notes/ what changed in each release
ALab