Hi, I have some experience with TLA+. Currently, I am writing a specification which gives the following error,
"Error: Successor state is not completely specified by the next-state action."
The transition function in the model which causes this error is,
BootRomOp ==
/\ pc = "rom"
/\ BootRom_state' = IF (BootRom_corrupt=0)
THEN "malicious"
ELSE "good"
/\ pc' = "boot"
/\ UNCHANGED <<variables>>
---end---
However, the error goes away and TLC completes successfully, if I remove the "IF THEN ELSE" construct from the above transition function, and reformulate the function as, for example,
BootRomOp ==
/\ pc = "rom"
/\ BootRom_state' = "good"
/\ pc' = "boot"
/\ UNCHANGED <<variables>>
----end-----
Can someone give me an insight into why I am getting the "Successor state is not completely specified" error?
