Debian Codegraph @

test/regress/cli/regress0/ff/negneg.smt2

raw
1 ; REQUIRES: cocoa
2 ; EXPECT: unsat
3 ; x, m, is_zero: field
4 ; The constraints mx - 1 + is_zero = 0
5 ; is_zero*x = 0
6 ; Imply that is_zero is zero or one and = (x == 0)
7 (set-info :smt-lib-version 2.6)
8 (set-info :category "crafted")
9 (set-logic QF_FF)
10 (define-sort F () (_ FiniteField 17))
11 (declare-fun x () F)
12 (assert (not (= (ff.neg (ff.neg x)) x)))
13 (check-sat)