Debian Codegraph @

test/regress/cli/regress0/push-pop/bug654-dd.smt2

raw
1 ; COMMAND-LINE: --incremental --fmf-fun
2 ; DISABLE-TESTER: model
3 (set-logic ALL)
4 (declare-datatypes ((List_T_C 0) (T_CustomerType 0)) (
5 ((List_T_C$CNil_T_CustomerType) (ListTC (ListTC$head T_CustomerType) (ListTC$tail List_T_C)))
6 ((T_CustomerType$C_T_CustomerType (T_CustomerType$C_T_CustomerType$a_CompanyName Int) (T_CustomerType$C_T_CustomerType$a_ContactName Int) (ID Int)))
7 ))
8 (declare-fun f (List_T_C) Bool)
9 (declare-fun tail_uf_1 (List_T_C) List_T_C)
10 (declare-fun head_uf_2 (List_T_C) T_CustomerType)
11 (declare-sort U 0)
12 (declare-fun a (U) List_T_C)
13 (declare-fun z (U) U)
14 (assert
15 (forall ((?i U))
16 (= (f (a ?i)) (not ((_ is ListTC) (a ?i)))
17 )))
18 (assert
19 (forall ((?i U))
20 (= (a (z ?i)) (tail_uf_1 (a ?i)))) )
21 ; EXPECT: sat
22 (push 1)
23 (check-sat)
24 (pop 1)
25 ; EXPECT: sat
26 (push 1)
27 (check-sat)
28 (pop 1)