Skip to content
Snippets Groups Projects
sq_id_fp_nra_1_unsat.smt2 641 B
Newer Older

(set-info :smt-lib-version 2.6)
(set-logic QF_FPNRA)
(set-info :category |Crafted from GATeL POs|)
(set-info :status unsat)

(declare-fun dx () Float64)
(declare-fun dy () Float64)
(define-fun x () Real
  (fp.to_real dx))
(define-fun y () Real
  (fp.to_real dy))
(define-fun isFinite ((F Float64)) Bool
  (and (not (fp.isInfinite F))
       (not (fp.isNaN F))))
(assert (and (isFinite dx) (isFinite dy)))

(define-fun s2 () Real
  (+ (+ (+ (- (* (* 1.9 x) x)
	      (* y y))
	   (* (* 2.0 x) y))
	(* (* 1.1 x) x))
     (* (* 4.0 y) y)))

(assert (not
        (=> (and (<= (- 2.0) x 2.0) (<= (- 2.0) y 2.0)) (<= 0.0 s2 32.0))
))
(check-sat)