ivy/test/somemin.ivy

21 строка
192 B
XML

#lang ivy1.6
type t
type q
relation p(X:t)
init p(X)
action foo = {
if some x:t. p(x) minimizing x {
call bar(x)
}
}
action bar(x:t)
interpret t -> bv[1]
export foo
import bar