我发现了一个问题,如下面的简单SMT-LIB程序所示.
SMT-LIB代码:
(declare-fun isDigit (Int) Bool)
(assert (forall ((x Int))
(=> (isDigit x)
(and (>= x 0) (< x 10))
)
)
)
(assert (forall ((x Int))
(=> (and (>= x 12) (< x 15))
(exists ((y Int))
(and (>= y 1) (< y 6)
(isHost (- x y))
)
)
)
)
)
(check-sat)
(get-model)
Run Code Online (Sandbox Code Playgroud)
这给出了以下警告:
WARNING: failed to find a pattern for quantifier (quantifier id: k!18)
sat
........
........
Run Code Online (Sandbox Code Playgroud)
我想知道警告信息.我知道我错过了什么,但我无法理解.任何人都可以帮我解决这个问题吗?