Warpspec runs TLA+ model checking on a GPU, reported 4,600x faster than TLC
Praveen Perera
A Show HN post presents Warpspec, a TLA+ model checker that runs on a GPU, claimed to be 4,600 times faster than the standard TLC checker. It drew 60 points on Hacker News.
Source: praveenperera.com ↗ · +1 more ↓ · By CapyLaunch
Quick facts
| Maker | Praveen Perera |
|---|---|
| License | Apache-2.0 |
| PaxosCommit, RM = 3 | TLC 4 h 40 min; warpspec RTX 5090 3.65 s |
| Distinct states, PaxosCommit | 1,357,590,081 |
| Other GPU runs | EWD998 N=4 0.121 s; LamportMutex N=4 0.473 s |
What is it
Warpspec is an open source TLA+ model checker that runs on an NVIDIA GPU or on every core of a CPU. It compiles a TLA+ spec and its .cfg file into a fixed-size, bit-packed Rust state machine, then searches the state graph. It is released under the Apache-2.0 license.
How it works
The compiler works out a fixed type for each variable from TypeOK, or from Init and Next when there is no TypeOK. It flattens sets into bitsets, records into fields, and integers into bit ranges. Each state becomes a small fixed array of 64-bit words, so adding or checking a message is a single bitwise operation. The same generated code runs on the CPU and the GPU.
Why it matters
Checking distributed protocol specs means walking millions or billions of states, and much of that work can run in parallel. The author reports that on the models both checkers finish, warpspec matches TLC's distinct state, generated state and depth counts, and runs much faster. The reported speedups are 4,600 times faster than TLC on PaxosCommit with RM = 3, measured on an RTX 5090.
For builders: If you write formal specs for distributed systems or protocols, a GPU-based checker could cut verification time, but check the benchmark details before relying on the speedup.
Who + how to try
For: Developers and founders who write formal specs for distributed systems or protocols and want faster model checking.
Try:
https://praveenperera.com/blog/tla-model-checking-4600x-faster-on-a-gpu/
FAQ
Are the speedups measured the same way?
CPU and GPU times are search time. TLC times are its reported totals. The author did not run TLC on the two largest rows, and those models do not fit in RAM on the CPU checker.
Do the results match TLC?
On every model both checkers finish, warpspec reports the same distinct states, generated states and search depth. The author says any difference would be a bug.
How does it compare to other Rust checkers?
On single-threaded PaxosCommit with RM = 2, tla-mc and everystate take around 26 seconds, while warpspec's generated CPU code finishes in half a second.
Also new this week in Developer tools
All 28 Developer tools stories →Momentic uses GPT-6.2 Sol and GPT-6 Luna for adaptive software testing
OpenAI published a customer story about Momentic, which uses GPT-6.2 Sol and GPT-6 Luna in agents that run workflow tests, bug-bash apps and diagnose failures. The aim is to let engineers spend less time on testing.
GoModel, an open-source AI gateway, reports growth and new features since April
GoModel, an open-source AI gateway positioned as an alternative to LiteLLM, says it has seen over 145K Docker pulls and 45+ contributors. Since April it added an MCP proxy, guardrails, a plugin system, an Anthropic-compatible messages API and rate limits.
Simon Willison: Large CSV imports in Datasette (Datasette Advent Day 1)
Simon Willison's first Datasette Advent video covers large CSV imports, a feature landed in Datasette 1.0a46. Files of any size can be uploaded in the browser, streamed and parsed client-side, then sent to the insert API in batches.
Astral's ty type checker for Python reaches 1.0
Astral has released version 1.0 of ty, its fast Python type checker, and now recommends it for production use. OpenAI says it is the default type checker there, with a median 24x speedup and 73% lower peak memory use after migrating.
Spotted a mistake? Email hello@capylaunch.com and we will correct it. How we make CapyLaunch TLDR News.

