mirror of
https://github.com/c-cube/sidekick.git
synced 2025-12-06 11:15:43 -05:00
test: regressions test for LRA
This commit is contained in:
parent
e481c74398
commit
73289d1ded
2 changed files with 21 additions and 0 deletions
9
tests/unsat/reg_lra_3.smt2
Normal file
9
tests/unsat/reg_lra_3.smt2
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
(set-info :smt-lib-version 2.6)
|
||||||
|
(set-logic QF_UFLRA)
|
||||||
|
(set-info :source |modified from smtlib.626179.smt2|)
|
||||||
|
(set-info :status unsat)
|
||||||
|
(declare-fun f3 () Real)
|
||||||
|
(declare-fun f4 () Real)
|
||||||
|
(assert (not (=> (< f3 f4) (=> (< f4 (* 2.0 f3)) (< 0.0 (- f4 f3))))))
|
||||||
|
(check-sat)
|
||||||
|
(exit)
|
||||||
12
tests/unsat/reg_lra_4.smt2
Normal file
12
tests/unsat/reg_lra_4.smt2
Normal file
|
|
@ -0,0 +1,12 @@
|
||||||
|
(set-logic QF_LRA)
|
||||||
|
(set-info :status unsat)
|
||||||
|
(declare-fun a () Real)
|
||||||
|
(declare-fun b () Real)
|
||||||
|
(declare-fun p1 () Bool)
|
||||||
|
(declare-fun p2 () Bool)
|
||||||
|
|
||||||
|
(assert (<= a b))
|
||||||
|
(assert (= p1 (>= a 1)))
|
||||||
|
(assert (= p2 (<= b (/ 1 2))))
|
||||||
|
(check-sat-assuming (p1 p2))
|
||||||
|
(exit)
|
||||||
Loading…
Add table
Reference in a new issue