TLA+ for All: Model Checking in a Python Notebook
summary
Course-ready setup that runs the TLC jar inside a Python notebook, pulls TLA+ specs from GitHub, and executes model checking and simulation with a tiny Python glue layer that exposes TLA ripple cells for inline checks and trace inspection. It proves zero-install Python notebook workflows work for teaching basic safety and liveness examples, while full pretty printing requires a local LaTeX/latte environment. Uses the TLC jar and simple scripts; classroom use is successful.
AI-written summary · about
chapters (11)
- 0:00Introduction and background
- 3:20Adoption challenges in formal methods
- 6:12Institutional context and demographics
- 9:06Curricular context and pipeline
- 11:15Connecting courses with testing
- 13:27Introducing TLA+ in the classroom
- 16:16Safety and liveness properties
- 18:03Fun examples in TLA+
- 20:56Running TLA+ conveniently
- 22:21Python notebook for zero-install TLA+
- 26:38Conclusion and future plans
