| 1 |
; COMMAND-LINE: --produce-interpolants --interpolants-mode=conjecture --sygus-enum=fast --check-interpolants |
| 2 |
; SCRUBBER: grep -v -E '(\(define-fun)' |
| 3 |
; EXIT: 0 |
| 4 |
(set-logic ALL) |
| 5 |
(declare-fun cfg@1 () (_ BitVec 1)) |
| 6 |
(declare-fun witness_0@1 () Bool) |
| 7 |
(declare-fun op@1 () (_ BitVec 4)) |
| 8 |
(declare-fun counter@1 () (_ BitVec 16)) |
| 9 |
(declare-fun input14@1 () (_ BitVec 1)) |
| 10 |
(declare-fun clk@1 () (_ BitVec 1)) |
| 11 |
(declare-fun a@1 () (_ BitVec 16)) |
| 12 |
(declare-fun b@1 () (_ BitVec 16)) |
| 13 |
(declare-fun cfg@0 () (_ BitVec 1)) |
| 14 |
(declare-fun witness_0@0 () Bool) |
| 15 |
(declare-fun counter@0 () (_ BitVec 16)) |
| 16 |
(declare-fun op@0 () (_ BitVec 4)) |
| 17 |
(declare-fun input14@0 () (_ BitVec 1)) |
| 18 |
(declare-fun b@0 () (_ BitVec 16)) |
| 19 |
(declare-fun a@0 () (_ BitVec 16)) |
| 20 |
(assert (and (and (and (and true (= counter@0 (_ bv0 16))) witness_0@0) (= cfg@0 (_ bv1 1))) (and (and (and (and true (= witness_0@1 (not (= (bvand (ite (bvugt counter@0 ((_ zero_extend 15) (_ bv0 1))) (_ bv1 1) (_ bv0 1)) (bvnot (ite (bvugt counter@0 ((_ zero_extend 15) (_ bv0 1))) (bvcomp (ite (not (distinct op@0 (_ bv0 4))) (bvadd a@0 b@0) (bvsub a@0 b@0)) (bvadd a@0 b@0)) input14@0))) (_ bv1 1))))) (= op@1 (ite (= cfg@0 (_ bv1 1)) (_ bv0 4) op@0))) (= counter@1 (bvadd counter@0 ((_ zero_extend 15) (_ bv1 1))))) (= cfg@1 (_ bv0 1))))) |
| 21 |
(assert (and (or (and (and (and true (= counter@0 (_ bv0 16))) witness_0@0) (= cfg@0 (_ bv1 1))) witness_0@0) (and (and (and (and true (= witness_0@1 (not (= (bvand (ite (bvugt counter@0 ((_ zero_extend 15) (_ bv0 1))) (_ bv1 1) (_ bv0 1)) (bvnot (ite (bvugt counter@0 ((_ zero_extend 15) (_ bv0 1))) (bvcomp (ite (not (distinct op@0 (_ bv0 4))) (bvadd a@0 b@0) (bvsub a@0 b@0)) (bvadd a@0 b@0)) input14@0))) (_ bv1 1))))) (= op@1 (ite (= cfg@0 (_ bv1 1)) (_ bv0 4) op@0))) (= counter@1 (bvadd counter@0 ((_ zero_extend 15) (_ bv1 1))))) (= cfg@1 (_ bv0 1))))) |
| 22 |
(declare-fun cfg@2 () (_ BitVec 1)) |
| 23 |
(declare-fun counter@2 () (_ BitVec 16)) |
| 24 |
(declare-fun op@2 () (_ BitVec 4)) |
| 25 |
(declare-fun witness_0@2 () Bool) |
| 26 |
(assert (and (and (and (and true (= counter@0 (_ bv0 16))) witness_0@0) (= cfg@0 (_ bv1 1))) (and (and (and (and true (= witness_0@1 (not (= (bvand (ite (bvugt counter@0 ((_ zero_extend 15) (_ bv0 1))) (_ bv1 1) (_ bv0 1)) (bvnot (ite (bvugt counter@0 ((_ zero_extend 15) (_ bv0 1))) (bvcomp (ite (not (distinct op@0 (_ bv0 4))) (bvadd a@0 b@0) (bvsub a@0 b@0)) (bvadd a@0 b@0)) input14@0))) (_ bv1 1))))) (= op@1 (ite (= cfg@0 (_ bv1 1)) (_ bv0 4) op@0))) (= counter@1 (bvadd counter@0 ((_ zero_extend 15) (_ bv1 1))))) (= cfg@1 (_ bv0 1))))) |
| 27 |
(get-interpolant I (not (and (and true (and (and (and (and true (= witness_0@2 (not (= (bvand (ite (bvugt counter@1 ((_ zero_extend 15) (_ bv0 1))) (_ bv1 1) (_ bv0 1)) (bvnot (ite (bvugt counter@1 ((_ zero_extend 15) (_ bv0 1))) (bvcomp (ite (not (distinct op@1 (_ bv0 4))) (bvadd a@1 b@1) (bvsub a@1 b@1)) (bvadd a@1 b@1)) input14@1))) (_ bv1 1))))) (= op@2 (ite (= cfg@1 (_ bv1 1)) (_ bv0 4) op@1))) (= counter@2 (bvadd counter@1 ((_ zero_extend 15) (_ bv1 1))))) (= cfg@2 (_ bv0 1)))) (not witness_0@2)))) |