Debian Codegraph @

test/regress/cli/regress0/ufdt/clam-goal65.smt2

raw
1 ; COMMAND-LINE: --dt-stc-ind
2 ; EXPECT: unsat
3 (set-logic UFDT)
4 (declare-datatype Nat ((succ (pred Nat)) (zero)))
5 (declare-datatype Lst ((cons (head Nat) (tail Lst)) (nil)))
6 (declare-fun append (Lst Lst) Lst)
7 (assert (forall ((x Lst)) (= (append nil x) x) ))
8 (assert (forall ((x Nat) (y Lst) (z Lst)) (= (append (cons x y) z) (cons x (append y z))) ))
9 (declare-fun len (Lst) Nat)
10 (assert (= (len nil) zero))
11 (assert (forall ((x Nat) (y Lst)) (= (len (cons x y)) (succ (len y))) ))
12 (assert (not (forall ((w Lst) (x Nat) (y Nat) (z Lst)) (= (len (append w (cons x (cons y z)))) (succ (succ (len (append w z))))) )))
13 (check-sat)