[关闭]
@nrailgun 2015-10-26T22:16:58.000000Z 字数 405 阅读 1419

Spin Temporal Logic Modeling

强力软件


Promela / spin use boolean temporal logic to ensure safety property and liveness property of program.

Syntax:

  1. ltl <ltlname> { <ltl> }

For Example:

  1. ltl NeverEnter { [] !cs }

TIPs: It's a god damn good idea to surround logic statement with ().

A run is called weakly fair iff the following holds: each continuously executable statement is executed eventually. If statement is not continuously executable (perhaps, block), fairness is not guaranteed.

添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注