test/regress/cli/regress1/sygus/interpol_dt.smt2
raw| 1 | ; COMMAND-LINE: --produce-interpolants --interpolants-mode=default |
| 2 | ; SCRUBBER: grep -v -E '(\(define-fun)' |
| 3 | ; EXIT: 0 |
| 4 | (set-logic ALL) |
| 5 | (declare-datatypes ((List 0)) (((nil) (cons (head Int) (tail List))))) |
| 6 | (declare-fun x () List) |
| 7 | (declare-fun y () List) |
| 8 | (assert ((_ is cons) x)) |
| 9 | (assert ((_ is nil) (tail x))) |
| 10 | (assert (= (head x) 0)) |
| 11 | (assert (= x y)) |
| 12 | (get-interpolant A (distinct y nil)) |