| 1 |
Considering object completion on: |
| 2 |
rl [enter] : go([N]) < [N] : Proc | mode : wait > => < [N] : Proc | mode : |
| 3 |
critical > . |
| 4 |
Transformed rule: |
| 5 |
rl [enter] : go([N]) < [N] : V:Proc | mode : wait, Atts:AttributeSet > => < [ |
| 6 |
N] : V:Proc | mode : critical, Atts:AttributeSet > . |
| 7 |
|
| 8 |
Considering object completion on: |
| 9 |
rl [exit] : < [N] : Proc | mode : critical > => < [N] : Proc | mode : wait > |
| 10 |
go([s N]) . |
| 11 |
Transformed rule: |
| 12 |
rl [exit] : < [N] : V:Proc | mode : critical, Atts:AttributeSet > => < [N] : |
| 13 |
V:Proc | mode : wait, Atts:AttributeSet > go([s N]) . |
| 14 |
|
| 15 |
Considering object completion on: |
| 16 |
eq (< X : Proc | mode : critical > C) |= inCrit(X) = true . |
| 17 |
Transformed equation: |
| 18 |
eq (< X : V:Proc | mode : critical, Atts:AttributeSet > C) |= inCrit(X) = |
| 19 |
true . |
| 20 |
|
| 21 |
Considering object completion on: |
| 22 |
eq (< X : Proc | mode : critical > < Y : Proc | mode : critical > C) |= |
| 23 |
twoInCrit = true . |
| 24 |
Transformed equation: |
| 25 |
eq (< X : V:Proc | mode : critical, Atts:AttributeSet > < Y : V2:Proc | mode |
| 26 |
: critical, Atts2:AttributeSet > C) |= twoInCrit = true . |
| 27 |
|
| 28 |
op _`,_ left-identity collapse from AttributeSet to Attribute is unequal. |
| 29 |
op __ left-identity collapse from [State] to State is unequal. |
| 30 |
op __ left-identity collapse from TransitionList to Transition is unequal. |
| 31 |
op __ right-identity collapse from TransitionList to Transition is unequal. |
| 32 |
========================================== |
| 33 |
reduce in CHECK-RROBIN-5 : modelCheck(init, []~ twoInCrit) . |
| 34 |
ModelChecker: Property automaton has 2 states. |
| 35 |
ModelCheckerSymbol: Examined 10 system states. |
| 36 |
rewrites: 52 |
| 37 |
result Bool: true |
| 38 |
========================================== |
| 39 |
reduce in CHECK-RROBIN-5 : modelCheck(init, []guaranteedReentrance) . |
| 40 |
ModelChecker: Property automaton has 52 states. |
| 41 |
ModelCheckerSymbol: Examined 10 system states. |
| 42 |
rewrites: 2263 |
| 43 |
result Bool: true |
| 44 |
========================================== |
| 45 |
reduce in CHECK-RROBIN-5 : modelCheck(init, [](inCrit([1]) -> O O O inCrit([ |
| 46 |
1]))) . |
| 47 |
ModelChecker: Property automaton has 5 states. |
| 48 |
ModelCheckerSymbol: Examined 10 system states. |
| 49 |
rewrites: 67 |
| 50 |
result ModelCheckResult: counterexample({go([0]) < [0] : Proc | mode : wait > < |
| 51 |
[1] : Proc | mode : wait > < [2] : Proc | mode : wait > < [3] : Proc | mode |
| 52 |
: wait > < [4] : Proc | mode : wait >, 'enter} {< [0] : Proc | mode : |
| 53 |
critical > < [1] : Proc | mode : wait > < [2] : Proc | mode : wait > < [3] |
| 54 |
: Proc | mode : wait > < [4] : Proc | mode : wait >, 'exit} {go([1]) < [0] |
| 55 |
: Proc | mode : wait > < [1] : Proc | mode : wait > < [2] : Proc | mode : |
| 56 |
wait > < [3] : Proc | mode : wait > < [4] : Proc | mode : wait >, 'enter} { |
| 57 |
< [0] : Proc | mode : wait > < [1] : Proc | mode : critical > < [2] : Proc |
| 58 |
| mode : wait > < [3] : Proc | mode : wait > < [4] : Proc | mode : wait >, |
| 59 |
'exit} {go([2]) < [0] : Proc | mode : wait > < [1] : Proc | mode : wait > < |
| 60 |
[2] : Proc | mode : wait > < [3] : Proc | mode : wait > < [4] : Proc | mode |
| 61 |
: wait >, 'enter} {< [0] : Proc | mode : wait > < [1] : Proc | mode : wait |
| 62 |
> < [2] : Proc | mode : critical > < [3] : Proc | mode : wait > < [4] : |
| 63 |
Proc | mode : wait >, 'exit}, {go([3]) < [0] : Proc | mode : wait > < [1] : |
| 64 |
Proc | mode : wait > < [2] : Proc | mode : wait > < [3] : Proc | mode : |
| 65 |
wait > < [4] : Proc | mode : wait >, 'enter} {< [0] : Proc | mode : wait > |
| 66 |
< [1] : Proc | mode : wait > < [2] : Proc | mode : wait > < [3] : Proc | |
| 67 |
mode : critical > < [4] : Proc | mode : wait >, 'exit} {go([4]) < [0] : |
| 68 |
Proc | mode : wait > < [1] : Proc | mode : wait > < [2] : Proc | mode : |
| 69 |
wait > < [3] : Proc | mode : wait > < [4] : Proc | mode : wait >, 'enter} { |
| 70 |
< [0] : Proc | mode : wait > < [1] : Proc | mode : wait > < [2] : Proc | |
| 71 |
mode : wait > < [3] : Proc | mode : wait > < [4] : Proc | mode : critical |
| 72 |
>, 'exit} {go([0]) < [0] : Proc | mode : wait > < [1] : Proc | mode : wait |
| 73 |
> < [2] : Proc | mode : wait > < [3] : Proc | mode : wait > < [4] : Proc | |
| 74 |
mode : wait >, 'enter} {< [0] : Proc | mode : critical > < [1] : Proc | |
| 75 |
mode : wait > < [2] : Proc | mode : wait > < [3] : Proc | mode : wait > < [ |
| 76 |
4] : Proc | mode : wait >, 'exit} {go([1]) < [0] : Proc | mode : wait > < [ |
| 77 |
1] : Proc | mode : wait > < [2] : Proc | mode : wait > < [3] : Proc | mode |
| 78 |
: wait > < [4] : Proc | mode : wait >, 'enter} {< [0] : Proc | mode : wait |
| 79 |
> < [1] : Proc | mode : critical > < [2] : Proc | mode : wait > < [3] : |
| 80 |
Proc | mode : wait > < [4] : Proc | mode : wait >, 'exit} {go([2]) < [0] : |
| 81 |
Proc | mode : wait > < [1] : Proc | mode : wait > < [2] : Proc | mode : |
| 82 |
wait > < [3] : Proc | mode : wait > < [4] : Proc | mode : wait >, 'enter} { |
| 83 |
< [0] : Proc | mode : wait > < [1] : Proc | mode : wait > < [2] : Proc | |
| 84 |
mode : critical > < [3] : Proc | mode : wait > < [4] : Proc | mode : wait |
| 85 |
>, 'exit}) |
| 86 |
Bye. |