зеркало из https://github.com/microsoft/ivy.git
15 строки
178 B
Plaintext
15 строки
178 B
Plaintext
|
#lang ivy1.6
|
||
|
|
||
|
action a(x:bool) returns (x:bool) = {
|
||
|
x := ~x;
|
||
|
assert ~(x & old x)
|
||
|
}
|
||
|
|
||
|
action b(y:bool) returns (z:bool) = {
|
||
|
z := a(y);
|
||
|
assert ~(y & z)
|
||
|
}
|
||
|
|
||
|
export b
|
||
|
|