Applying TLA+ in a Safety-Critical Railway Project
summary
A railway control platform with SIL4 safety requirements uses TLA+/PlusCal and TLC to model a new redundancy architecture and applies property-driven design to encode invariants and liveness: models generate C state machines that match implementation, uncovering unexpected scenarios with traces of >30 steps. TLC liveness checks run hours on a 40‑core, 96 GB machine; the team reduces state space with timed abstractions, finds real bugs early, and publishes an open‑source example.
AI-written summary · about
chapters (12)
- 0:00Platform background
- 1:11Architecture and hardware
- 2:10Adopting formal methods
- 3:49Evaluating tools
- 5:38Property driven design
- 6:44Model checking strategy
- 9:28Ensuring system liveness
- 11:47Property-driven development
- 13:50Learning and outcomes
- 17:29Implementation and scaling
- 20:08Tooling and future needs
- 23:32Conclusion
