Debian Codegraph @

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

raw
1 ; REQUIRES: cocoa
2 ; EXPECT: sat
3 (set-info :smt-lib-version 2.6)
4 (set-info :category "crafted")
5 (set-logic QF_UFFF)
6 (define-sort FF () (_ FiniteField 17))
7 (declare-fun g (FF) FF)
8 (declare-fun a () FF)
9 (declare-fun b () FF)
10 (declare-fun c () FF)
11 (declare-fun d () FF)
12 (assert (= a (g c)))
13 (assert (= b (g d)))
14
15 ; c = d
16 (assert (= (ff.mul c c) c))
17 (assert (= (ff.mul d d) d))
18 (assert (= (ff.add (as ff1 FF) (ff.neg c) (ff.neg d) (ff.mul (as ff2 FF) c d)) (as ff1 FF)))
19
20 (assert (= a (ff.add b (as ff0 FF))))
21
22 (check-sat)
23