【发布时间】:2012-02-08 08:36:47
【问题描述】:
我发现以下简单 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)
这会给出以下警告:
WARNING: failed to find a pattern for quantifier (quantifier id: k!18)
sat
........
........
我想知道警告信息。我知道我错过了一些东西,但我无法理解。谁能帮我解决这个问题?
【问题讨论】:
标签: z3