Hello, Temporal Typing
Welcome to A Tour of Temporal Typing.
Python's typing module says what values a program takes and gives.
temporal-typing says how its state may change: invariants, actions,
contracts, fairness, temporal properties, and refinement — with the semantics of
TLA⁺.
The specification sits directly on the Python code it describes, so the two cannot drift
apart silently. On the right is Leslie Lamport's classic HourClock — a clock
that shows only the hour from 1 to 12.
The tour is interactive. Click Check (or press Shift+Enter) to run the front-end and check the model. Switch to the TLA⁺ tab in the bottom-right pane at any time to see the equivalent TLA⁺ specification.
self.hr != 12 to self.hr != 13
in the method body and click Check again — watch the checker catch the
mismatch between code and specification. Click Reset to restore the original code.
Navigate with the < and > buttons below (or PageUp / PageDown), or open the Table of Contents from the top-right menu.