-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathtoto_sat2.smt2
More file actions
30 lines (28 loc) · 1.35 KB
/
toto_sat2.smt2
File metadata and controls
30 lines (28 loc) · 1.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
(set-info :smt-lib-version 2.6)
(set-info :source |The authors Robert Vajda and Zoltan Kovacs released this problem in the paper that can be found in "http://ceur-ws.org/Vol-2752/paper15.pdf". A short description of the problem can be found down below.
Triangle-Bottema1.3:
Comparison of Expressions Related to Triangle Sides via realgeom (Bottema 1.3):Let A, B, C be arbitrary points. Let t1 be the polygon A, B, C. Let c be the segment A, B. Let a be the segment B, C. Let b be the segment C, A. Compare (a + b - c) (b + c - a) (c + a - b) and a b c.
This problem was added to SMT-LIB by Tereso del Rio and Matthew England.| )
(set-info :category "industrial")
(set-info :license "https://creativecommons.org/licenses/by/4.0/")
(set-info :status sat)
(set-logic QF_NRA)
(declare-fun m () Real)
(declare-fun v10 () Real)
(declare-fun v5 () Real)
(declare-fun v6 () Real)
(declare-fun v7 () Real)
(declare-fun v8 () Real)
(declare-fun v9 () Real)
(assert
(and
(< 0 m)
(< 0 v8)
(< 0 v7)
(< 0 v9)
(= (+ (* v5 v5) (* v6 v6) (* (* v7 v7) (- 1) )(* v5 (- 2) )1) 0)
(= (+ (* v5 v5) (* v6 v6) (* (* v8 v8) (- 1))) 0)
(= (+ (* v10 v6) (- 1) )0) (= (+ (* v9 (- 1) )1) 0)
(= (+ (* (* m v7 v8) (- 1) )(* (* v7 v7 v7) (- 1) )(* (* v7 v7) v8) (* v7 (* v8 v8)) (* (* v8 v8 v8) (- 1) )(* v7 v7) (* (* v7 v8) (- 2) )(* v8 v8) v7 v8 (- 1) )0)))
(check-sat)
(exit)