Debian Codegraph @

test/regress/cli/regress1/uflia/microwave21.ec.minimized.smt2

raw
1 ; initialize_defs
2 ; PROPERTY DEFGEN
3 (set-logic QF_UFNIA)
4 (set-info :status unsat)
5 (declare-fun _base () Int)
6 (declare-fun _n () Int)
7 (assert (>= _n 0))
8
9 ; maxdepth = 1
10 (declare-fun ___z2z___ (Int) Bool)
11 ; KP_START ; INPUT,STATE(1,)/102
12 (declare-fun ___z3z___ (Int) Bool)
13 ; KP_CLEAR ; INPUT,STATE(1,)/103
14 (declare-fun ___z4z___ (Int) Bool)
15 ; KP_0 ; INPUT,STATE(1,)/104
16 (declare-fun ___z5z___ (Int) Bool)
17 ; KP_1 ; INPUT,STATE(1,)/105
18 (declare-fun ___z6z___ (Int) Bool)
19 ; KP_2 ; INPUT,STATE(1,)/106
20 (declare-fun ___z7z___ (Int) Bool)
21 ; KP_3 ; INPUT,STATE(1,)/107
22 (declare-fun ___z8z___ (Int) Bool)
23 ; KP_4 ; INPUT,STATE(1,)/108
24 (declare-fun ___z9z___ (Int) Bool)
25 ; KP_5 ; INPUT,STATE(1,)/109
26 (declare-fun ___z10z___ (Int) Bool)
27 ; KP_6 ; INPUT,STATE(1,)/110
28 (declare-fun ___z11z___ (Int) Bool)
29 ; KP_7 ; INPUT,STATE(1,)/111
30 (declare-fun ___z12z___ (Int) Bool)
31 ; KP_8 ; INPUT,STATE(1,)/112
32 (declare-fun ___z13z___ (Int) Bool)
33 ; KP_9 ; INPUT,STATE(1,)/113
34 (declare-fun ___z14z___ (Int) Bool)
35 ; DOOR_CLOSED ; INPUT/114
36 (declare-fun ___z15z___ (Int) Bool)
37 ; OK ; OUTPUT/115
38 (declare-fun ___z19z___ (Int) Bool)
39 ; V20_START_PRESSED ; LOCAL/119
40 (declare-fun ___z20z___ (Int) Bool)
41 ; V21_CLEAR_PRESSED ; LOCAL/120
42 (declare-fun ___z21z___ (Int) Int)
43 ; V25_STEPS_TO_COOK ; LOCAL,STATE(1,)/121
44 (declare-fun ___z22z___ (Int) Bool)
45 ; V26_rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_clock ; LOCAL,STATE(1,)/122
46 (declare-fun ___z23z___ (Int) Bool)
47 ; V37_rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_init_step ; LOCAL,STATE(1,)/123
48 (declare-fun ___z24z___ (Int) Int)
49 ; V38_microwave_microwave_KEYPAD_PROCESSING_DISPLAY_LEFT_DIGIT_DIGIT_TO_DISPLAY ; LOCAL,STATE(1,)/124
50 (declare-fun ___z25z___ (Int) Int)
51 ; V39_microwave_microwave_KEYPAD_PROCESSING_DISPLAY_MIDDLE_DIGIT_DIGIT_TO_DISPLAY ; LOCAL,STATE(1,)/125
52 (declare-fun ___z26z___ (Int) Int)
53 ; V40_microwave_microwave_KEYPAD_PROCESSING_DISPLAY_RIGHT_DIGIT_DIGIT_TO_DISPLAY ; LOCAL,STATE(1,)/126
54 (declare-fun ___z33z___ (Int) Int)
55 ; V47_chart_microwave_mode_logic_start ; LOCAL/133
56 (declare-fun ___z34z___ (Int) Int)
57 ; V48_chart_microwave_mode_logic_clear_off ; LOCAL/134
58 (declare-fun ___z35z___ (Int) Int)
59 ; V49_chart_microwave_mode_logic_door_closed ; LOCAL/135
60 (declare-fun ___z36z___ (Int) Bool)
61 ; V51_rlt_eval_microwave_mode_logic_ON_rlt_fired_1 ; LOCAL/136
62 (declare-fun ___z37z___ (Int) Int)
63 ; V52_rlt_eval_microwave_mode_logic_ON_rlt_state_1_states___root ; LOCAL/137
64 (declare-fun ___z38z___ (Int) Int)
65 ; V53_rlt_eval_microwave_mode_logic_ON_rlt_state_2_states___root ; LOCAL/138
66 (declare-fun ___z39z___ (Int) Bool)
67 ; V54_rlt_eval_microwave_mode_logic_ON_rlt_fired_2 ; LOCAL/139
68 (declare-fun ___z40z___ (Int) Bool)
69 ; V55_rlt_eval_microwave_mode_logic_ON_rlt_complete_1 ; LOCAL/140
70 (declare-fun ___z41z___ (Int) Int)
71 ; V56_rlt_eval_microwave_mode_logic_ON_rlt_state_3_states___root ; LOCAL/141
72 (declare-fun ___z42z___ (Int) Int)
73 ; V57_rlt_eval_microwave_mode_logic_ON_rlt_state_3_outports_mode ; LOCAL/142
74 (declare-fun ___z43z___ (Int) Int)
75 ; V58_rlt_eval_microwave_mode_logic_ON_rlt_state_4_states___root ; LOCAL/143
76 (declare-fun ___z44z___ (Int) Int)
77 ; V59_rlt_eval_microwave_mode_logic_ON_rlt_state_4_outports_mode ; LOCAL/144
78 (declare-fun ___z45z___ (Int) Bool)
79 ; V60_rlt_eval_microwave_mode_logic_ON_rlt_fired_4 ; LOCAL/145
80 (declare-fun ___z46z___ (Int) Bool)
81 ; V61_rlt_eval_microwave_mode_logic_ON_rlt_complete_2 ; LOCAL/146
82 (declare-fun ___z47z___ (Int) Int)
83 ; V62_rlt_eval_microwave_mode_logic_ON_rlt_state_6_states___root ; LOCAL/147
84 (declare-fun ___z48z___ (Int) Int)
85 ; V63_rlt_eval_microwave_mode_logic_ON_rlt_state_6_outports_steps_remaining ; LOCAL/148
86 (declare-fun ___z49z___ (Int) Int)
87 ; V64_rlt_eval_microwave_mode_logic_ON_rlt_state_7_states___root ; LOCAL/149
88 (declare-fun ___z50z___ (Int) Bool)
89 ; V65_rlt_eval_microwave_mode_logic_ON_rlt_fired_5 ; LOCAL/150
90 (declare-fun ___z51z___ (Int) Int)
91 ; V66_rlt_eval_microwave_mode_logic_ON_rlt_state_8_outports_mode ; LOCAL/151
92 (declare-fun ___z52z___ (Int) Int)
93 ; V67_rlt_eval_microwave_mode_logic_ON_rlt_state_9_states___root ; LOCAL/152
94 (declare-fun ___z53z___ (Int) Int)
95 ; V68_rlt_eval_microwave_mode_logic_ON_rlt_state_10_states___root ; LOCAL/153
96 (declare-fun ___z54z___ (Int) Bool)
97 ; V69_rlt_eval_microwave_mode_logic_ON_rlt_fired_6 ; LOCAL/154
98 (declare-fun ___z55z___ (Int) Int)
99 ; V70_rlt_eval_microwave_mode_logic_ON_rlt_state_11_states___root ; LOCAL/155
100 (declare-fun ___z56z___ (Int) Int)
101 ; V71_rlt_eval_microwave_mode_logic_ON_rlt_state_11_outports_mode ; LOCAL/156
102 (declare-fun ___z57z___ (Int) Int)
103 ; V72_rlt_enter_microwave_mode_logic_ON_rlt_state_1_states___root ; LOCAL/157
104 (declare-fun ___z58z___ (Int) Bool)
105 ; V73_rlt_enter_microwave_mode_logic_ON_rlt_fired_0 ; LOCAL/158
106 (declare-fun ___z59z___ (Int) Bool)
107 ; V74_rlt_enter_microwave_mode_logic_ON_rlt_fired_1 ; LOCAL/159
108 (declare-fun ___z60z___ (Int) Int)
109 ; V75_rlt_enter_microwave_mode_logic_ON_rlt_state_2_states___root ; LOCAL/160
110 (declare-fun ___z61z___ (Int) Int)
111 ; V76_rlt_enter_microwave_mode_logic_ON_rlt_state_2_outports_mode ; LOCAL/161
112 (declare-fun ___z62z___ (Int) Bool)
113 ; V77_rlt_enter_microwave_mode_logic_ON_rlt_fired_2 ; LOCAL/162
114 (declare-fun ___z63z___ (Int) Int)
115 ; V78_rlt_enter_microwave_mode_logic_ON_rlt_state_4_states___root ; LOCAL/163
116 (declare-fun ___z64z___ (Int) Bool)
117 ; V79_rlt_eval_microwave_mode_logic_rlt_fired_0 ; LOCAL/164
118 (declare-fun ___z65z___ (Int) Int)
119 ; V80_rlt_eval_microwave_mode_logic_rlt_state_1_outports_steps_remaining ; LOCAL/165
120 (declare-fun ___z66z___ (Int) Bool)
121 ; V81_rlt_eval_microwave_mode_logic_rlt_fired_1 ; LOCAL/166
122 (declare-fun ___z67z___ (Int) Int)
123 ; V82_rlt_eval_microwave_mode_logic_rlt_state_2_states___root ; LOCAL/167
124 (declare-fun ___z68z___ (Int) Int)
125 ; V83_rlt_eval_microwave_mode_logic_rlt_state_3_states___root ; LOCAL/168
126 (declare-fun ___z69z___ (Int) Int)
127 ; V84_rlt_eval_microwave_mode_logic_rlt_state_3_outports_mode ; LOCAL/169
128 (declare-fun ___z70z___ (Int) Int)
129 ; V85_rlt_enter_microwave_mode_logic_rlt_state_2_states___root ; LOCAL/170
130 (declare-fun ___z71z___ (Int) Bool)
131 ; V86_chart_microwave_mode_logic_rlt_evtInitStep ; LOCAL,STATE(1,)/171
132 (declare-fun ___z72z___ (Int) Int)
133 ; V87_chart_microwave_mode_logic_begin_state_states___root ; LOCAL/172
134 (declare-fun ___z73z___ (Int) Int)
135 ; V88_chart_microwave_mode_logic_begin_state_outports_mode ; LOCAL/173
136 (declare-fun ___z74z___ (Int) Int)
137 ; V89_chart_microwave_mode_logic_begin_state_outports_steps_remaining ; LOCAL/174
138 (declare-fun ___z75z___ (Int) Int)
139 ; V90_chart_microwave_mode_logic_final_state_states___root ; LOCAL,STATE(1,)/175
140 (declare-fun ___z76z___ (Int) Int)
141 ; V92_chart_microwave_mode_logic_steps_remaining ; LOCAL,STATE(1,)/176
142 (declare-fun ___z77z___ (Int) Int)
143 ; V93_microwave_microwave_TIME_ON_DISPLAY_SECONDS_TO_MINUTES__QUOTIENT ; LOCAL/177
144 (declare-fun ___z80z___ (Int) Int)
145 ; V96_microwave_microwave_mode_logic_mode ; LOCAL,STATE(1,)/180
146
147
148 ; Generic definitions:
149 (define-fun DEF__172 ((_M Int)) Bool(= (___z72z___ _M) (ite (= _M _base) 0 (___z75z___ (- _M 1)))))
150 (define-fun DEF__173 ((_M Int)) Bool(= (___z73z___ _M) (ite (= _M _base) 0 (___z80z___ (- _M 1)))))
151 (define-fun DEF__174 ((_M Int)) Bool(= (___z74z___ _M) (ite (= _M _base) 0 (___z76z___ (- _M 1)))))
152 (define-fun DEF__175 ((_M Int)) Bool(= (___z75z___ _M) (ite (= (___z71z___ _M) true) (___z70z___ _M) (ite (= (and (not (___z66z___ _M)) (and (>= (___z68z___ _M) 1) (<= (___z68z___ _M) 3))) true) (ite (= (___z54z___ _M) true) (ite (= (not (= (___z55z___ _M) 3)) true) 3 (___z55z___ _M)) (___z55z___ _M)) (___z68z___ _M)))))
153 (define-fun DEF__133 ((_M Int)) Bool(= (___z33z___ _M) (ite (= (= (___z19z___ _M) false) true) 0 1)))
154 (define-fun DEF__176 ((_M Int)) Bool(= (___z76z___ _M) (ite (= (___z71z___ _M) true) (___z74z___ _M) (ite (= (and (not (___z66z___ _M)) (and (>= (___z68z___ _M) 1) (<= (___z68z___ _M) 3))) true) (ite (= (___z50z___ _M) true) (- (___z48z___ _M) 1) (___z48z___ _M)) (___z65z___ _M)))))
155 (define-fun DEF__134 ((_M Int)) Bool(= (___z34z___ _M) (ite (= (= (___z20z___ _M) false) true) 0 1)))
156 (define-fun DEF__177 ((_M Int)) Bool(= (___z77z___ _M) (div (div (___z76z___ _M) 1) 60)))
157 (define-fun DEF__135 ((_M Int)) Bool(= (___z35z___ _M) (ite (= (= (___z14z___ _M) false) true) 0 1)))
158 (define-fun DEF__136 ((_M Int)) Bool(= (___z36z___ _M) (and (and (= (___z68z___ _M) 2) (<= (___z65z___ _M) 0)) (= (___z68z___ _M) 2))))
159 (define-fun DEF__180 ((_M Int)) Bool(= (___z80z___ _M) (ite (= (___z71z___ _M) true) (ite (= (not (= (___z72z___ _M) 4)) true) 1 (___z73z___ _M)) (ite (= (and (not (___z66z___ _M)) (and (>= (___z68z___ _M) 1) (<= (___z68z___ _M) 3))) true) (ite (= (___z54z___ _M) true) (ite (= (not (= (___z55z___ _M) 3)) true) 3 (___z56z___ _M)) (___z56z___ _M)) (___z69z___ _M)))))
160 (define-fun DEF__137 ((_M Int)) Bool(= (___z37z___ _M) (ite (= (___z36z___ _M) true) (ite (= (and (>= (___z68z___ _M) 1) (<= (___z68z___ _M) 3)) true) 0 (___z68z___ _M)) (___z68z___ _M))))
161 (define-fun DEF__138 ((_M Int)) Bool(= (___z38z___ _M) (ite (= (___z36z___ _M) true) (ite (= (not (= (___z37z___ _M) 4)) true) 4 (___z37z___ _M)) (___z37z___ _M))))
162 (define-fun DEF__139 ((_M Int)) Bool(= (___z39z___ _M) (and (= (___z38z___ _M) 3) (and (and (ite (= (not (= (___z33z___ _M) 0)) true) true false) (ite (= (not (= (___z35z___ _M) 0)) true) true false)) (not (___z36z___ _M))))))
163 (define-fun DEF__140 ((_M Int)) Bool(= (___z40z___ _M) (or (___z39z___ _M) (___z36z___ _M))))
164 (define-fun DEF__141 ((_M Int)) Bool(= (___z41z___ _M) (ite (= (___z39z___ _M) true) (ite (= (___z38z___ _M) 3) 1 (___z38z___ _M)) (___z38z___ _M))))
165 (define-fun DEF__142 ((_M Int)) Bool(= (___z42z___ _M) (ite (= (___z36z___ _M) true) (ite (= (not (= (___z37z___ _M) 4)) true) 1 (___z69z___ _M)) (___z69z___ _M))))
166 (define-fun DEF__143 ((_M Int)) Bool(= (___z43z___ _M) (ite (= (___z39z___ _M) true) (ite (= (not (= (___z41z___ _M) 2)) true) 2 (___z41z___ _M)) (___z41z___ _M))))
167 (define-fun DEF__144 ((_M Int)) Bool(= (___z44z___ _M) (ite (= (___z39z___ _M) true) (ite (= (not (= (___z41z___ _M) 2)) true) 2 (___z42z___ _M)) (___z42z___ _M))))
168 (define-fun DEF__145 ((_M Int)) Bool(= (___z45z___ _M) (and (and (= (___z43z___ _M) 3) (and (ite (= (not (= (___z34z___ _M) 0)) true) true false) (not (___z40z___ _M)))) (and (= (___z43z___ _M) 3) (not (___z40z___ _M))))))
169 (define-fun DEF__146 ((_M Int)) Bool(= (___z46z___ _M) (or (___z45z___ _M) (___z40z___ _M))))
170 (define-fun DEF__147 ((_M Int)) Bool(= (___z47z___ _M) (ite (= (___z45z___ _M) true) (ite (= (and (>= (___z43z___ _M) 1) (<= (___z43z___ _M) 3)) true) 0 (___z43z___ _M)) (___z43z___ _M))))
171 (define-fun DEF__148 ((_M Int)) Bool(= (___z48z___ _M) (ite (= (___z45z___ _M) true) 0 (___z65z___ _M))))
172 (define-fun DEF__149 ((_M Int)) Bool(= (___z49z___ _M) (ite (= (___z45z___ _M) true) (ite (= (not (= (___z47z___ _M) 4)) true) 4 (___z47z___ _M)) (___z47z___ _M))))
173 (define-fun DEF__150 ((_M Int)) Bool(= (___z50z___ _M) (and (= (___z49z___ _M) 2) (and (> (___z48z___ _M) 0) (not (___z46z___ _M))))))
174 (define-fun DEF__151 ((_M Int)) Bool(= (___z51z___ _M) (ite (= (___z45z___ _M) true) (ite (= (not (= (___z47z___ _M) 4)) true) 1 (___z44z___ _M)) (___z44z___ _M))))
175 (define-fun DEF__152 ((_M Int)) Bool(= (___z52z___ _M) (ite (= (___z50z___ _M) true) (ite (= (___z49z___ _M) 2) 1 (___z49z___ _M)) (___z49z___ _M))))
176 (define-fun DEF__153 ((_M Int)) Bool(= (___z53z___ _M) (ite (= (___z50z___ _M) true) (ite (= (not (= (___z52z___ _M) 2)) true) 2 (___z52z___ _M)) (___z52z___ _M))))
177 (define-fun DEF__154 ((_M Int)) Bool(= (___z54z___ _M) (and (= (___z53z___ _M) 2) (and (or (ite (= (not (= (___z34z___ _M) 0)) true) true false) (not (ite (= (not (= (___z35z___ _M) 0)) true) true false))) (not (or (___z50z___ _M) (___z46z___ _M)))))))
178 (define-fun DEF__155 ((_M Int)) Bool(= (___z55z___ _M) (ite (= (___z54z___ _M) true) (ite (= (___z53z___ _M) 2) 1 (___z53z___ _M)) (___z53z___ _M))))
179 (define-fun DEF__156 ((_M Int)) Bool(= (___z56z___ _M) (ite (= (___z50z___ _M) true) (ite (= (not (= (___z52z___ _M) 2)) true) 2 (___z51z___ _M)) (___z51z___ _M))))
180 (define-fun DEF__157 ((_M Int)) Bool(= (___z57z___ _M) (ite (= (not (and (>= (___z67z___ _M) 1) (<= (___z67z___ _M) 3))) true) 1 (___z67z___ _M))))
181 (define-fun DEF__115 ((_M Int)) Bool(= (___z15z___ _M) (ite (= _M _base) (or (not (and (___z22z___ _M) (not (___z3z___ _M)))) (or (not (or (or (or (or (or (or (or (or (or (___z5z___ _M) (___z6z___ _M)) (___z7z___ _M)) (___z8z___ _M)) (___z9z___ _M)) (___z10z___ _M)) (___z11z___ _M)) (___z12z___ _M)) (___z13z___ _M)) (___z4z___ _M))) (= (___z77z___ _M) (div (div (___z21z___ _M) 1) 60)))) (or (not (and (___z22z___ _M) (not (___z3z___ _M)))) (or (not (or (or (or (or (or (or (or (or (or (and (___z5z___ _M) (not (___z5z___ (- _M 1)))) (and (___z6z___ _M) (not (___z6z___ (- _M 1))))) (and (___z7z___ _M) (not (___z7z___ (- _M 1))))) (and (___z8z___ _M) (not (___z8z___ (- _M 1))))) (and (___z9z___ _M) (not (___z9z___ (- _M 1))))) (and (___z10z___ _M) (not (___z10z___ (- _M 1))))) (and (___z11z___ _M) (not (___z11z___ (- _M 1))))) (and (___z12z___ _M) (not (___z12z___ (- _M 1))))) (and (___z13z___ _M) (not (___z13z___ (- _M 1))))) (and (___z4z___ _M) (not (___z4z___ (- _M 1)))))) (= (___z77z___ _M) (div (div (___z21z___ _M) 1) 60)))))))
182 (define-fun DEF__158 ((_M Int)) Bool(= (___z58z___ _M) (and (not (and (>= (___z67z___ _M) 1) (<= (___z67z___ _M) 3))) (and (>= (___z57z___ _M) 1) (<= (___z57z___ _M) 3)))))
183 (define-fun DEF__159 ((_M Int)) Bool(= (___z59z___ _M) (and (___z58z___ _M) (and (and (>= (___z57z___ _M) 1) (<= (___z57z___ _M) 3)) (ite (= (not (= (___z35z___ _M) 0)) true) true false)))))
184 (define-fun DEF__160 ((_M Int)) Bool(= (___z60z___ _M) (ite (= (___z59z___ _M) true) (ite (= (not (= (___z57z___ _M) 2)) true) 2 (___z57z___ _M)) (___z57z___ _M))))
185 (define-fun DEF__161 ((_M Int)) Bool(= (___z61z___ _M) (ite (= (___z59z___ _M) true) (ite (= (not (= (___z57z___ _M) 2)) true) 2 (___z73z___ _M)) (___z73z___ _M))))
186 (define-fun DEF__119 ((_M Int)) Bool(= (___z19z___ _M) (ite (= _M _base) (___z2z___ _M) (and (___z2z___ _M) (not (___z2z___ (- _M 1)))))))
187 (define-fun DEF__162 ((_M Int)) Bool(= (___z62z___ _M) (and (___z58z___ _M) (and (and (>= (___z60z___ _M) 1) (<= (___z60z___ _M) 3)) (not (___z59z___ _M))))))
188 (define-fun DEF__120 ((_M Int)) Bool(= (___z20z___ _M) (ite (= _M _base) (___z3z___ _M) (and (___z3z___ _M) (not (___z3z___ (- _M 1)))))))
189 (define-fun DEF__163 ((_M Int)) Bool(= (___z63z___ _M) (ite (= (___z62z___ _M) true) (ite (= (not (= (___z60z___ _M) 3)) true) 3 (___z60z___ _M)) (___z60z___ _M))))
190 (define-fun DEF__121 ((_M Int)) Bool(= (___z21z___ _M) (ite (= _M _base) (ite (= (and (___z23z___ _M) (not (___z22z___ _M))) true) 0 (* (+ (+ (* (___z26z___ _M) 1) (* (___z25z___ _M) 10)) (* (___z24z___ _M) 60)) 1)) (ite (= (and (___z23z___ _M) (not (___z22z___ _M))) true) 0 (ite (= (___z22z___ _M) true) (* (+ (+ (* (___z26z___ _M) 1) (* (___z25z___ _M) 10)) (* (___z24z___ _M) 60)) 1) (___z21z___ (- _M 1)))))))
191 (define-fun DEF__164 ((_M Int)) Bool(= (___z64z___ _M) (= (___z72z___ _M) 4)))
192 (define-fun DEF__122 ((_M Int)) Bool(= (___z22z___ _M) (ite (= _M _base) true (ite (= 1 (___z80z___ (- _M 1))) true false))))
193 (define-fun DEF__165 ((_M Int)) Bool(= (___z65z___ _M) (ite (= (___z64z___ _M) true) (___z21z___ _M) (___z74z___ _M))))
194 (define-fun DEF__123 ((_M Int)) Bool(= (___z23z___ _M) (ite (= _M _base) true (ite (= (not (___z22z___ _M)) true) true (ite (= (___z22z___ (- _M 1)) true) false (___z23z___ (- _M 1)))))))
195 (define-fun DEF__166 ((_M Int)) Bool(= (___z66z___ _M) (and (___z64z___ _M) (and (= (___z72z___ _M) 4) (and (ite (= (not (= (___z33z___ _M) 0)) true) true false) (ite (= (not (= (ite (= (= (> (___z21z___ _M) 0) false) true) 0 1) 0)) true) true false))))))
196 (define-fun DEF__124 ((_M Int)) Bool(= (___z24z___ _M) (ite (= _M _base) 0 (ite (= (___z22z___ _M) true) (ite (= (___z23z___ _M) true) 0 (ite (= (___z3z___ _M) true) 0 (ite (= (ite (<= (ite (= (and (___z4z___ _M) (not (___z4z___ (- _M 1)))) true) 0 (ite (= (and (___z5z___ _M) (not (___z5z___ (- _M 1)))) true) 1 (ite (= (and (___z6z___ _M) (not (___z6z___ (- _M 1)))) true) 2 (ite (= (and (___z7z___ _M) (not (___z7z___ (- _M 1)))) true) 3 (ite (= (and (___z8z___ _M) (not (___z8z___ (- _M 1)))) true) 4 (ite (= (and (___z9z___ _M) (not (___z9z___ (- _M 1)))) true) 5 (ite (= (and (___z10z___ _M) (not (___z10z___ (- _M 1)))) true) 6 (ite (= (and (___z11z___ _M) (not (___z11z___ (- _M 1)))) true) 7 (ite (= (and (___z12z___ _M) (not (___z12z___ (- _M 1)))) true) 8 (ite (= (and (___z13z___ _M) (not (___z13z___ (- _M 1)))) true) 9 10)))))))))) 9) true false) true) (___z25z___ (- _M 1)) (___z24z___ (- _M 1))))) (___z24z___ (- _M 1))))))
197 (define-fun DEF__167 ((_M Int)) Bool(= (___z67z___ _M) (ite (= (___z66z___ _M) true) (ite (= (___z72z___ _M) 4) 0 (___z72z___ _M)) (___z72z___ _M))))
198 (define-fun DEF__125 ((_M Int)) Bool(= (___z25z___ _M) (ite (= _M _base) 0 (ite (= (___z22z___ _M) true) (ite (= (___z23z___ _M) true) 0 (ite (= (___z3z___ _M) true) 0 (ite (= (ite (<= (ite (= (and (___z4z___ _M) (not (___z4z___ (- _M 1)))) true) 0 (ite (= (and (___z5z___ _M) (not (___z5z___ (- _M 1)))) true) 1 (ite (= (and (___z6z___ _M) (not (___z6z___ (- _M 1)))) true) 2 (ite (= (and (___z7z___ _M) (not (___z7z___ (- _M 1)))) true) 3 (ite (= (and (___z8z___ _M) (not (___z8z___ (- _M 1)))) true) 4 (ite (= (and (___z9z___ _M) (not (___z9z___ (- _M 1)))) true) 5 (ite (= (and (___z10z___ _M) (not (___z10z___ (- _M 1)))) true) 6 (ite (= (and (___z11z___ _M) (not (___z11z___ (- _M 1)))) true) 7 (ite (= (and (___z12z___ _M) (not (___z12z___ (- _M 1)))) true) 8 (ite (= (and (___z13z___ _M) (not (___z13z___ (- _M 1)))) true) 9 10)))))))))) 9) true false) true) (___z26z___ (- _M 1)) (___z25z___ (- _M 1))))) (___z25z___ (- _M 1))))))
199 (define-fun DEF__168 ((_M Int)) Bool(= (___z68z___ _M) (ite (= (___z66z___ _M) true) (___z63z___ _M) (___z67z___ _M))))
200 (define-fun DEF__126 ((_M Int)) Bool(= (___z26z___ _M) (ite (= _M _base) (ite (= (___z3z___ _M) true) 0 (ite (= (ite (<= (ite (= (___z4z___ _M) true) 0 (ite (= (___z5z___ _M) true) 1 (ite (= (___z6z___ _M) true) 2 (ite (= (___z7z___ _M) true) 3 (ite (= (___z8z___ _M) true) 4 (ite (= (___z9z___ _M) true) 5 (ite (= (___z10z___ _M) true) 6 (ite (= (___z11z___ _M) true) 7 (ite (= (___z12z___ _M) true) 8 (ite (= (___z13z___ _M) true) 9 10)))))))))) 9) true false) true) (ite (= (___z4z___ _M) true) 0 (ite (= (___z5z___ _M) true) 1 (ite (= (___z6z___ _M) true) 2 (ite (= (___z7z___ _M) true) 3 (ite (= (___z8z___ _M) true) 4 (ite (= (___z9z___ _M) true) 5 (ite (= (___z10z___ _M) true) 6 (ite (= (___z11z___ _M) true) 7 (ite (= (___z12z___ _M) true) 8 (ite (= (___z13z___ _M) true) 9 10)))))))))) 0)) (ite (= (___z22z___ _M) true) (ite (= (___z23z___ _M) true) (ite (= (___z3z___ _M) true) 0 (ite (= (ite (<= (ite (= (___z4z___ _M) true) 0 (ite (= (___z5z___ _M) true) 1 (ite (= (___z6z___ _M) true) 2 (ite (= (___z7z___ _M) true) 3 (ite (= (___z8z___ _M) true) 4 (ite (= (___z9z___ _M) true) 5 (ite (= (___z10z___ _M) true) 6 (ite (= (___z11z___ _M) true) 7 (ite (= (___z12z___ _M) true) 8 (ite (= (___z13z___ _M) true) 9 10)))))))))) 9) true false) true) (ite (= (___z4z___ _M) true) 0 (ite (= (___z5z___ _M) true) 1 (ite (= (___z6z___ _M) true) 2 (ite (= (___z7z___ _M) true) 3 (ite (= (___z8z___ _M) true) 4 (ite (= (___z9z___ _M) true) 5 (ite (= (___z10z___ _M) true) 6 (ite (= (___z11z___ _M) true) 7 (ite (= (___z12z___ _M) true) 8 (ite (= (___z13z___ _M) true) 9 10)))))))))) 0)) (ite (= (___z3z___ _M) true) 0 (ite (= (ite (<= (ite (= (and (___z4z___ _M) (not (___z4z___ (- _M 1)))) true) 0 (ite (= (and (___z5z___ _M) (not (___z5z___ (- _M 1)))) true) 1 (ite (= (and (___z6z___ _M) (not (___z6z___ (- _M 1)))) true) 2 (ite (= (and (___z7z___ _M) (not (___z7z___ (- _M 1)))) true) 3 (ite (= (and (___z8z___ _M) (not (___z8z___ (- _M 1)))) true) 4 (ite (= (and (___z9z___ _M) (not (___z9z___ (- _M 1)))) true) 5 (ite (= (and (___z10z___ _M) (not (___z10z___ (- _M 1)))) true) 6 (ite (= (and (___z11z___ _M) (not (___z11z___ (- _M 1)))) true) 7 (ite (= (and (___z12z___ _M) (not (___z12z___ (- _M 1)))) true) 8 (ite (= (and (___z13z___ _M) (not (___z13z___ (- _M 1)))) true) 9 10)))))))))) 9) true false) true) (ite (= (and (___z4z___ _M) (not (___z4z___ (- _M 1)))) true) 0 (ite (= (and (___z5z___ _M) (not (___z5z___ (- _M 1)))) true) 1 (ite (= (and (___z6z___ _M) (not (___z6z___ (- _M 1)))) true) 2 (ite (= (and (___z7z___ _M) (not (___z7z___ (- _M 1)))) true) 3 (ite (= (and (___z8z___ _M) (not (___z8z___ (- _M 1)))) true) 4 (ite (= (and (___z9z___ _M) (not (___z9z___ (- _M 1)))) true) 5 (ite (= (and (___z10z___ _M) (not (___z10z___ (- _M 1)))) true) 6 (ite (= (and (___z11z___ _M) (not (___z11z___ (- _M 1)))) true) 7 (ite (= (and (___z12z___ _M) (not (___z12z___ (- _M 1)))) true) 8 (ite (= (and (___z13z___ _M) (not (___z13z___ (- _M 1)))) true) 9 10)))))))))) (___z26z___ (- _M 1))))) (___z26z___ (- _M 1))))))
201 (define-fun DEF__169 ((_M Int)) Bool(= (___z69z___ _M) (ite (= (___z66z___ _M) true) (ite (= (___z62z___ _M) true) (ite (= (not (= (___z60z___ _M) 3)) true) 3 (___z61z___ _M)) (___z61z___ _M)) (___z73z___ _M))))
202 (define-fun DEF__170 ((_M Int)) Bool(= (___z70z___ _M) (ite (= (not (= (___z72z___ _M) 4)) true) 4 (___z72z___ _M))))
203 (define-fun DEF__171 ((_M Int)) Bool(= (___z71z___ _M) (ite (= _M _base) true (ite (= true true) false (___z71z___ (- _M 1))))))
204 ; Transition:
205 (define-fun trans ((_M Int)) Bool (and (DEF__171 _M) (DEF__170 _M) (DEF__169 _M) (DEF__126 _M) (DEF__168 _M) (DEF__125 _M) (DEF__167 _M) (DEF__124 _M) (DEF__166 _M) (DEF__123 _M) (DEF__165 _M) (DEF__122 _M) (DEF__164 _M) (DEF__121 _M) (DEF__163 _M) (DEF__120 _M) (DEF__162 _M) (DEF__119 _M) (DEF__161 _M) (DEF__160 _M) (DEF__159 _M) (DEF__158 _M) (DEF__115 _M) (DEF__157 _M) (DEF__156 _M) (DEF__155 _M) (DEF__154 _M) (DEF__153 _M) (DEF__152 _M) (DEF__151 _M) (DEF__150 _M) (DEF__149 _M) (DEF__148 _M) (DEF__147 _M) (DEF__146 _M) (DEF__145 _M) (DEF__144 _M) (DEF__143 _M) (DEF__142 _M) (DEF__141 _M) (DEF__140 _M) (DEF__139 _M) (DEF__138 _M) (DEF__137 _M) (DEF__180 _M) (DEF__136 _M) (DEF__135 _M) (DEF__177 _M) (DEF__134 _M) (DEF__176 _M) (DEF__133 _M) (DEF__175 _M) (DEF__174 _M) (DEF__173 _M) (DEF__172 _M) ))
206
207 (define-fun P ((_M Int)) Bool(= (___z15z___ _M) true))
208
209
210
211 ; BASE DONE
212
213 ; Begin induction:
214 ; print_initialization
215 ; def_assert_both1
216 ; def_assert_both
217 (assert (DEF__172 0))
218 ; print_checker_assertion
219 (assert (DEF__173 0))
220 ; print_checker_assertion
221 (assert (DEF__174 0))
222 ; print_checker_assertion
223 (assert (DEF__175 0))
224 ; print_checker_assertion
225 (assert (DEF__133 0))
226 ; print_checker_assertion
227 (assert (DEF__176 0))
228 ; print_checker_assertion
229 (assert (DEF__134 0))
230 ; print_checker_assertion
231 (assert (DEF__177 0))
232 ; print_checker_assertion
233 (assert (DEF__135 0))
234 ; print_checker_assertion
235 (assert (DEF__136 0))
236 ; print_checker_assertion
237 (assert (DEF__180 0))
238 ; print_checker_assertion
239 (assert (DEF__137 0))
240 ; print_checker_assertion
241 (assert (DEF__138 0))
242 ; print_checker_assertion
243 (assert (DEF__139 0))
244 ; print_checker_assertion
245 (assert (DEF__140 0))
246 ; print_checker_assertion
247 (assert (DEF__141 0))
248 ; print_checker_assertion
249 (assert (DEF__142 0))
250 ; print_checker_assertion
251 (assert (DEF__143 0))
252 ; print_checker_assertion
253 (assert (DEF__144 0))
254 ; print_checker_assertion
255 (assert (DEF__145 0))
256 ; print_checker_assertion
257 (assert (DEF__146 0))
258 ; print_checker_assertion
259 (assert (DEF__147 0))
260 ; print_checker_assertion
261 (assert (DEF__148 0))
262 ; print_checker_assertion
263 (assert (DEF__149 0))
264 ; print_checker_assertion
265 (assert (DEF__150 0))
266 ; print_checker_assertion
267 (assert (DEF__151 0))
268 ; print_checker_assertion
269 (assert (DEF__152 0))
270 ; print_checker_assertion
271 (assert (DEF__153 0))
272 ; print_checker_assertion
273 (assert (DEF__154 0))
274 ; print_checker_assertion
275 (assert (DEF__155 0))
276 ; print_checker_assertion
277 (assert (DEF__156 0))
278 ; print_checker_assertion
279 (assert (DEF__157 0))
280 ; print_checker_assertion
281 (assert (DEF__115 0))
282 ; print_checker_assertion
283 (assert (DEF__158 0))
284 ; print_checker_assertion
285 (assert (DEF__159 0))
286 ; print_checker_assertion
287 (assert (DEF__160 0))
288 ; print_checker_assertion
289 (assert (DEF__161 0))
290 ; print_checker_assertion
291 (assert (DEF__119 0))
292 ; print_checker_assertion
293 (assert (DEF__162 0))
294 ; print_checker_assertion
295 (assert (DEF__120 0))
296 ; print_checker_assertion
297 (assert (DEF__163 0))
298 ; print_checker_assertion
299 (assert (DEF__121 0))
300 ; print_checker_assertion
301 (assert (DEF__164 0))
302 ; print_checker_assertion
303 (assert (DEF__122 0))
304 ; print_checker_assertion
305 (assert (DEF__165 0))
306 ; print_checker_assertion
307 (assert (DEF__123 0))
308 ; print_checker_assertion
309 (assert (DEF__166 0))
310 ; print_checker_assertion
311 (assert (DEF__124 0))
312 ; print_checker_assertion
313 (assert (DEF__167 0))
314 ; print_checker_assertion
315 (assert (DEF__125 0))
316 ; print_checker_assertion
317 (assert (DEF__168 0))
318 ; print_checker_assertion
319 (assert (DEF__126 0))
320 ; print_checker_assertion
321 (assert (DEF__169 0))
322 ; print_checker_assertion
323 (assert (DEF__170 0))
324 ; print_checker_assertion
325 (assert (DEF__171 0))
326 ; print_checker_assertion
327 ; def_assert_both1
328 ; def_assert_both
329 (assert (DEF__172 (- 0 1)))
330 ; print_checker_assertion
331 (assert (DEF__173 (- 0 1)))
332 ; print_checker_assertion
333 (assert (DEF__174 (- 0 1)))
334 ; print_checker_assertion
335 (assert (DEF__175 (- 0 1)))
336 ; print_checker_assertion
337 (assert (DEF__133 (- 0 1)))
338 ; print_checker_assertion
339 (assert (DEF__176 (- 0 1)))
340 ; print_checker_assertion
341 (assert (DEF__134 (- 0 1)))
342 ; print_checker_assertion
343 (assert (DEF__177 (- 0 1)))
344 ; print_checker_assertion
345 (assert (DEF__135 (- 0 1)))
346 ; print_checker_assertion
347 (assert (DEF__136 (- 0 1)))
348 ; print_checker_assertion
349 (assert (DEF__180 (- 0 1)))
350 ; print_checker_assertion
351 (assert (DEF__137 (- 0 1)))
352 ; print_checker_assertion
353 (assert (DEF__138 (- 0 1)))
354 ; print_checker_assertion
355 (assert (DEF__139 (- 0 1)))
356 ; print_checker_assertion
357 (assert (DEF__140 (- 0 1)))
358 ; print_checker_assertion
359 (assert (DEF__141 (- 0 1)))
360 ; print_checker_assertion
361 (assert (DEF__142 (- 0 1)))
362 ; print_checker_assertion
363 (assert (DEF__143 (- 0 1)))
364 ; print_checker_assertion
365 (assert (DEF__144 (- 0 1)))
366 ; print_checker_assertion
367 (assert (DEF__145 (- 0 1)))
368 ; print_checker_assertion
369 (assert (DEF__146 (- 0 1)))
370 ; print_checker_assertion
371 (assert (DEF__147 (- 0 1)))
372 ; print_checker_assertion
373 (assert (DEF__148 (- 0 1)))
374 ; print_checker_assertion
375 (assert (DEF__149 (- 0 1)))
376 ; print_checker_assertion
377 (assert (DEF__150 (- 0 1)))
378 ; print_checker_assertion
379 (assert (DEF__151 (- 0 1)))
380 ; print_checker_assertion
381 (assert (DEF__152 (- 0 1)))
382 ; print_checker_assertion
383 (assert (DEF__153 (- 0 1)))
384 ; print_checker_assertion
385 (assert (DEF__154 (- 0 1)))
386 ; print_checker_assertion
387 (assert (DEF__155 (- 0 1)))
388 ; print_checker_assertion
389 (assert (DEF__156 (- 0 1)))
390 ; print_checker_assertion
391 (assert (DEF__157 (- 0 1)))
392 ; print_checker_assertion
393 (assert (DEF__115 (- 0 1)))
394 ; print_checker_assertion
395 (assert (DEF__158 (- 0 1)))
396 ; print_checker_assertion
397 (assert (DEF__159 (- 0 1)))
398 ; print_checker_assertion
399 (assert (DEF__160 (- 0 1)))
400 ; print_checker_assertion
401 (assert (DEF__161 (- 0 1)))
402 ; print_checker_assertion
403 (assert (DEF__119 (- 0 1)))
404 ; print_checker_assertion
405 (assert (DEF__162 (- 0 1)))
406 ; print_checker_assertion
407 (assert (DEF__120 (- 0 1)))
408 ; print_checker_assertion
409 (assert (DEF__163 (- 0 1)))
410 ; print_checker_assertion
411 (assert (DEF__121 (- 0 1)))
412 ; print_checker_assertion
413 (assert (DEF__164 (- 0 1)))
414 ; print_checker_assertion
415 (assert (DEF__122 (- 0 1)))
416 ; print_checker_assertion
417 (assert (DEF__165 (- 0 1)))
418 ; print_checker_assertion
419 (assert (DEF__123 (- 0 1)))
420 ; print_checker_assertion
421 (assert (DEF__166 (- 0 1)))
422 ; print_checker_assertion
423 (assert (DEF__124 (- 0 1)))
424 ; print_checker_assertion
425 (assert (DEF__167 (- 0 1)))
426 ; print_checker_assertion
427 (assert (DEF__125 (- 0 1)))
428 ; print_checker_assertion
429 (assert (DEF__168 (- 0 1)))
430 ; print_checker_assertion
431 (assert (DEF__126 (- 0 1)))
432 ; print_checker_assertion
433 (assert (DEF__169 (- 0 1)))
434 ; print_checker_assertion
435 (assert (DEF__170 (- 0 1)))
436 ; print_checker_assertion
437 (assert (DEF__171 (- 0 1)))
438 ; print_checker_assertion
439
440 ; Checking k=2 base
441 ; not refinement_pass
442 (assert (not (=> (= _base (- 0 1)) (and (P (- 0 1)) (P 0)))))
443 (assert true)
444 (check-sat)