| 1 |
; COMMAND-LINE: --finite-model-find --e-matching --uf-ss-fair-monotone |
| 2 |
; EXPECT: sat |
| 3 |
(set-logic ALL) |
| 4 |
(set-info :status sat) |
| 5 |
(declare-sort a_ 0) |
| 6 |
(declare-fun __nun_card_witness_0 () a_) |
| 7 |
(declare-codatatypes ((llist_ 0)) |
| 8 |
(((LCons_ (_select_LCons__0 a_) (_select_LCons__1 llist_)) (LNil_)))) |
| 9 |
(declare-fun xs_ () llist_) |
| 10 |
(declare-fun y_ () a_) |
| 11 |
(declare-fun ys_ () llist_) |
| 12 |
(declare-datatypes ((_nat 0)) (((_succ (_select__succ_0 _nat)) (_zero)))) |
| 13 |
(declare-fun decr_lprefix_ () _nat) |
| 14 |
(declare-sort G_lprefix__neg 0) |
| 15 |
(declare-fun __nun_card_witness_1 () G_lprefix__neg) |
| 16 |
(declare-fun lprefix__- (_nat llist_ llist_) Bool) |
| 17 |
(declare-fun proj_G_lprefix__neg_0 (G_lprefix__neg) _nat) |
| 18 |
(declare-fun proj_G_lprefix__neg_1 (G_lprefix__neg) llist_) |
| 19 |
(declare-fun proj_G_lprefix__neg_2 (G_lprefix__neg) llist_) |
| 20 |
(assert |
| 21 |
(forall ((a/60 G_lprefix__neg)) |
| 22 |
(=> |
| 23 |
(or (= (proj_G_lprefix__neg_0 a/60) _zero) |
| 24 |
(and ((_ is _succ) (proj_G_lprefix__neg_0 a/60)) |
| 25 |
(= (proj_G_lprefix__neg_1 a/60) LNil_)) |
| 26 |
(and |
| 27 |
(=> |
| 28 |
(exists ((a/68 G_lprefix__neg)) |
| 29 |
(and |
| 30 |
(= (_select_LCons__1 (proj_G_lprefix__neg_2 a/60)) |
| 31 |
(proj_G_lprefix__neg_2 a/68)) |
| 32 |
(= (_select_LCons__1 (proj_G_lprefix__neg_1 a/60)) |
| 33 |
(proj_G_lprefix__neg_1 a/68)) |
| 34 |
(= (_select__succ_0 (proj_G_lprefix__neg_0 a/60)) |
| 35 |
(proj_G_lprefix__neg_0 a/68)))) |
| 36 |
(lprefix__- (_select__succ_0 (proj_G_lprefix__neg_0 a/60)) |
| 37 |
(_select_LCons__1 (proj_G_lprefix__neg_1 a/60)) |
| 38 |
(_select_LCons__1 (proj_G_lprefix__neg_2 a/60)))) |
| 39 |
((_ is _succ) (proj_G_lprefix__neg_0 a/60)) |
| 40 |
((_ is LCons_) (proj_G_lprefix__neg_1 a/60)) |
| 41 |
((_ is LCons_) (proj_G_lprefix__neg_2 a/60)) |
| 42 |
(= (_select_LCons__0 (proj_G_lprefix__neg_2 a/60)) |
| 43 |
(_select_LCons__0 (proj_G_lprefix__neg_1 a/60))))) |
| 44 |
(lprefix__- (proj_G_lprefix__neg_0 a/60) (proj_G_lprefix__neg_1 a/60) |
| 45 |
(proj_G_lprefix__neg_2 a/60))))) |
| 46 |
(declare-sort G_lprefix__pos 0) |
| 47 |
(declare-fun __nun_card_witness_2 () G_lprefix__pos) |
| 48 |
(declare-fun lprefix__+ (llist_ llist_) Bool) |
| 49 |
(declare-fun proj_G_lprefix__pos_0 (G_lprefix__pos) llist_) |
| 50 |
(declare-fun proj_G_lprefix__pos_1 (G_lprefix__pos) llist_) |
| 51 |
(assert |
| 52 |
(forall ((a/69 G_lprefix__pos)) |
| 53 |
(=> |
| 54 |
(lprefix__+ (proj_G_lprefix__pos_0 a/69) (proj_G_lprefix__pos_1 a/69)) |
| 55 |
(or (= (proj_G_lprefix__pos_0 a/69) LNil_) |
| 56 |
(and |
| 57 |
(lprefix__+ (_select_LCons__1 (proj_G_lprefix__pos_0 a/69)) |
| 58 |
(_select_LCons__1 (proj_G_lprefix__pos_1 a/69))) |
| 59 |
(exists ((a/77 G_lprefix__pos)) |
| 60 |
(and |
| 61 |
(= (_select_LCons__1 (proj_G_lprefix__pos_1 a/69)) |
| 62 |
(proj_G_lprefix__pos_1 a/77)) |
| 63 |
(= (_select_LCons__1 (proj_G_lprefix__pos_0 a/69)) |
| 64 |
(proj_G_lprefix__pos_0 a/77)))) |
| 65 |
((_ is LCons_) (proj_G_lprefix__pos_0 a/69)) |
| 66 |
((_ is LCons_) (proj_G_lprefix__pos_1 a/69)) |
| 67 |
(= (_select_LCons__0 (proj_G_lprefix__pos_1 a/69)) |
| 68 |
(_select_LCons__0 (proj_G_lprefix__pos_0 a/69)))))))) |
| 69 |
(declare-fun nun_sk_0 () llist_) |
| 70 |
(assert |
| 71 |
(or |
| 72 |
(and |
| 73 |
(not |
| 74 |
(=> |
| 75 |
(exists ((a/109 G_lprefix__neg)) |
| 76 |
(and (= (LCons_ y_ ys_) (proj_G_lprefix__neg_2 a/109)) |
| 77 |
(= xs_ (proj_G_lprefix__neg_1 a/109)) |
| 78 |
(= decr_lprefix_ (proj_G_lprefix__neg_0 a/109)))) |
| 79 |
(lprefix__- decr_lprefix_ xs_ (LCons_ y_ ys_)))) |
| 80 |
(or (= xs_ LNil_) |
| 81 |
(and (= xs_ (LCons_ y_ nun_sk_0)) (lprefix__+ xs_ ys_) |
| 82 |
(exists ((a/113 G_lprefix__pos)) |
| 83 |
(and (= ys_ (proj_G_lprefix__pos_1 a/113)) |
| 84 |
(= xs_ (proj_G_lprefix__pos_0 a/113))))))) |
| 85 |
(and (not (= xs_ LNil_)) |
| 86 |
(forall ((xs_H_/120 llist_)) |
| 87 |
(or (not (= xs_ (LCons_ y_ xs_H_/120))) |
| 88 |
(not |
| 89 |
(=> |
| 90 |
(exists ((a/124 G_lprefix__neg)) |
| 91 |
(and (= ys_ (proj_G_lprefix__neg_2 a/124)) |
| 92 |
(= xs_ (proj_G_lprefix__neg_1 a/124)) |
| 93 |
(= decr_lprefix_ (proj_G_lprefix__neg_0 a/124)))) |
| 94 |
(lprefix__- decr_lprefix_ xs_ ys_))))) |
| 95 |
(lprefix__+ xs_ (LCons_ y_ ys_)) |
| 96 |
(exists ((a/125 G_lprefix__pos)) |
| 97 |
(and (= (LCons_ y_ ys_) (proj_G_lprefix__pos_1 a/125)) |
| 98 |
(= xs_ (proj_G_lprefix__pos_0 a/125))))))) |
| 99 |
(check-sat) |