; COMMAND-LINE: --produce-interpolants --interpolants-mode=default ; SCRUBBER: grep -v -E '(\(define-fun)' ; EXIT: 0 (set-logic ALL) (declare-datatypes ((List 0)) (((nil) (cons (head Int) (tail List))))) (declare-fun x () List) (declare-fun y () List) (assert ((_ is cons) x)) (assert ((_ is nil) (tail x))) (assert (= (head x) 0)) (assert (= x y)) (get-interpolant A (distinct y nil))