- state 状态
A state is an assignment of values to variables.
一个状态就是一组为变量赋值的操作。
- state function 状态函数
A state function is an ordinary expression (one with no ′ ' ′ or □ \square □) that can contain variables and constants.
一个状态函数就是一个普通的表达式,包含变量和常量,但不包含 ′ ' ′ 和 □ \square □操作符.
- state predicate 状态谓词
A state predicate is a Boolean-valued state function:
一个状态谓词就是值为布尔值的状态函数.
- step 步骤
A pair of successive states, is called a step:
一个步骤就是一对连续的状态
- action 动作
An ordinary mathematical formula, except that it contains primed as well as unprimed variables, is called an action. An action is true or false of a step, a step that satisfies the action A is called an A step.
一个动作是一个普通数学公式,同时包含 ′ ' ′和非 ′ ' ′的变量,它表征一个步骤的真假,一个满足公式A的步骤叫做A步骤.
- behavior 行为
A behavior is an infinite sequence of states:
一个行为就是由一组状态组成的无穷序列。
- specification 规约
A TLA+ specification is an abstraction of the system, choosing the variables that represent the system’s state and the granularity of the steps that change those variables’values.
一个TLA+规约是对系统的抽象,需要合理选择变量表示系统的状态,还需要选择合适的改变这些变量的步骤粒度。