Basic CSP "sync" - some working CSPM

This commit is contained in:
Nicholas Kariniemi 2015-08-13 21:58:03 +03:00
parent cec0060984
commit 2736769825

7
csp/sync.csp Normal file
View file

@ -0,0 +1,7 @@
channel input:{0,1,2}
USER(i) = input!i -> USER((i+1)%3)
CLIENT(i) = input?j -> CLIENT(j)
SYSTEM = USER(0) ||| CLIENT(0)
assert SYSTEM :[deadlock free [F]]