Expand description
TLC’s level bound (SymbolNodeValueLookupProvider.getLevelBound and
getLevelBoundAppl, tlaplus 94d0c50).
TLC does not use SANY’s levels when it binds a model: it computes an upper
bound of an expression’s level itself, after the configuration has been
applied, and decides with it which constant definitions to evaluate at
start-up, which conjuncts of a SPECIFICATION are initial predicates and
how a PROPERTY splits. The bound differs from SANY’s level:
- a constant the configuration assigns a value has level 0, one it binds to
a definition (
C <- D) hasD’s level; - a definition TLC has already replaced by a value (start-up evaluation,
Op = v) has level 0, a Java override its annotation’sminLevel; - any operator, parameter or bound variable whose name is the name of a
root state variable has level 1 (
opName.getVarLoc() >= 0); - primes,
UNCHANGED,[A]_v,<<A>>_vand\cdotare 2, temporal operators 3 andENABLED1, without looking inside; - an operator’s parameters are not bound when TLC looks into its body, so a parameter there has level 0 unless the context binds it.