Open yav opened 5 years ago
In the following model, sally successfully validates ok1, but returns unknown on ok2, which is the same as ok1 but or-ed with another boolean value.
sally
ok1
unknown
ok2
or
(define-state-type S ( (ok1 Bool) (ok2 Bool) (x Int) (y Int) ) ( (a Bool) ) ) (define-transition-system TS S (and (= x 1) (= y 2) (= ok1 true) (= ok2 true) ) (and (= next.x state.y) (= next.y state.x) (= next.ok1 (not (= next.x next.y)) ) (= next.ok2 (or (not (= next.x next.y)) input.a)) ) ) (query TS ok1) (query TS ok2) >sally test1.sally --engine=kind valid unknown
In the following model,
sally
successfully validatesok1
, but returnsunknown
onok2
, which is the same asok1
butor
-ed with another boolean value.