【发布时间】:2015-05-30 08:27:04
【问题描述】:
问题是:我在rise4fun 中尝试时超时:
我已经尝试不使用“forall”,但它也不起作用。
(declare-const x Real)
(declare-const y Real)
(declare-const t Real)
(declare-const u Real)
(declare-const v Real)
(declare-const w Real)
(declare-fun f (Real) Real)
(assert (forall ((x Real) (y Real)) (<= (+ (f x) (f y)) (* 2 (f (/ (+ x y) 2))))))
(assert (<= (+ 2 (f (* 2 (+ t u))) (f (* 2 (+ v w))) (f (+ t u v w))) (+ 2 (* 3 (f (+ t u v w))))))
(check-sat)
(get-model)
有人可以帮忙吗?
【问题讨论】:
标签: z3