ivy/test/ifsome1.ivy

20 строки
223 B
XML

#lang ivy1.7
# Testing problem with traces and 'if some'
type t
relation p(X:t)
var v : t
action a = {
if some (x:t) p(x) {
v := x;
}
else {
assume false;
};
assert false;
}
export a