| 1 |
; REQUIRES: cocoa |
| 2 |
; EXPECT: sat |
| 3 |
; EXPECT: sat |
| 4 |
; COMMAND-LINE: --ff-solver split --incremental |
| 5 |
; COMMAND-LINE: --ff-solver gb --incremental |
| 6 |
; Tests the ff rewriter |
| 7 |
(set-info :smt-lib-version 2.6) |
| 8 |
(set-info :category "crafted") |
| 9 |
(set-logic QF_FF) |
| 10 |
; all disjuncts should be false |
| 11 |
(define-sort F () (_ FiniteField 17)) |
| 12 |
(declare-fun a () F) |
| 13 |
(declare-fun b () F) |
| 14 |
(assert (= (ff.mul a a) b)) |
| 15 |
(assert (= a (as ff1 F))) |
| 16 |
(check-sat) |
| 17 |
(declare-fun c () F) |
| 18 |
(assert (= (ff.mul c c) c)) |
| 19 |
(assert (= (ff.mul c c) b)) |
| 20 |
(check-sat) |