transition-systems

How to model a transition system with SPIN

穿精又带淫゛_ 提交于 2019-12-24 00:42:45
问题 I am new to spin. I want to check whether a transition system satisfies the given LTL property. But I don't know how to model a transition system in promela. For example, the transition system shown below has two states, and the initial state is s0. How to check whether the LTL property: <>q is satisfied. Does anybody know how to describe this problem in promela? By the way, how to use the next operator of LTL in spin? 回答1: You can model your automata by using labels, atomic blocks and gotos: