Skip to content
Snippets Groups Projects
sq_id_fp_nra_4_unsat.smt2 500 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)))

(assert (not
	(= (- (+ (* x x) (* y y)) (* 2.0 x y)) (* (- x y) (+ (- y) x)))
))
(check-sat)