summaryrefslogtreecommitdiff
path: root/test/regress/regress1/arith/mult.02.smt2
blob: 57167fc76d0024d97c453146a6cf81361f1d0787 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
; EXPECT: (error "A non-linear fact was asserted to arithmetic in a linear logic.
; EXPECT: The fact in question: (>= (* (- 1.0) (* n n)) (- 1.0))
; EXPECT: ")
; EXIT: 1
(set-logic QF_LRA)
(set-info :status unknown)
(declare-fun n () Real)

; This example is test that LRA rejects multiplication terms

(assert (= (* n n) 1))

(check-sat)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback