Statechart The chart shows how a system moves between states, in the words of the person who reads it. That person, the reader, decides whether the behavior is right. Run Work in a scratch folder outside the repo. Write a TLA+ spec and its config. Then run: is TypeScript, so run it with a runtime that can execute TypeScript. The first run installs TLC and Java with mise and needs the network. Write the spec - Write each rule that the reader agrees to as an INVARIANT. A rule can be about a screen, a result, a stored value, or a message. If the model has no variable for a rule, add the variable…