Download MCMT v1.1.1 - User Manual (Draft)

Transcript
: transition
: var
x
: var
y
: var
j
: guard
(= a[x] 1)
: numcases
3
: case
: val
2
: val
s[j]
: val
w[j]
: case
(= s[j] 1)
: val
a[j]
: val
s[j]
: val
w[j]
: case
(not (= s[j] 1))
: val
8
: val
s[j]
: val
w[j]
is the following
(exists (x::INDEX) (and
(= a[x] 1)
(= (a’ s’ w’) (lambda (j::INDEX)
(case of
(= x j) :
(2, s[j], w[j])
(and (not (= (x j)) (= s[j] 1)) :
(a[j], s[j], w[j])
(and (not (= (x j)) (not (= s[j] 1))) :
(8, s[j], w[j])
)))))
where we indicated with a’, s’, w’ the updated arrays.
REMARK: Version 1.1 gives the possibility of declaring transitions with zero variables
in the guard: this is particularly useful when formalizing time elapsing transitions in timed
12