Z3初心者です。しかし、Z3に入力された次のプログラムでのタイムアウトの理由を理解したい:
(declare-fun ADDR (Int) Int)
(declare-fun STAR (Int Int) Int)
(declare-fun VAR (Int Int) Int)
(declare-const error Int)
(assert (forall ((x Int)) (= x (STAR (ADDR x) 0))) );causes a timeout?
(assert (forall ((x Int)) (>= (ADDR x) 4000)) )
(assert (not (= (VAR error 0) 1)))
(check-sat)
(get-model)
もう 1 つの質問は、バージョン 3.2 の forall に何か新しいものはありますか? (x Int) の周りに追加の括弧を配置する必要がありました。そうしないと、エラーがスローされました。
ありがとう。