equal
deleted
inserted
replaced
136 expected_modes : (string * int list list) option, |
136 expected_modes : (string * int list list) option, |
137 show_steps : bool, |
137 show_steps : bool, |
138 show_mode_inference : bool, |
138 show_mode_inference : bool, |
139 show_proof_trace : bool, |
139 show_proof_trace : bool, |
140 show_intermediate_results : bool, |
140 show_intermediate_results : bool, |
|
141 show_compilation : bool, |
|
142 skip_proof : bool, |
141 |
143 |
142 inductify : bool, |
144 inductify : bool, |
143 rpred : bool, |
145 rpred : bool, |
144 depth_limited : bool |
146 depth_limited : bool |
145 }; |
147 }; |
147 fun expected_modes (Options opt) = #expected_modes opt |
149 fun expected_modes (Options opt) = #expected_modes opt |
148 fun show_steps (Options opt) = #show_steps opt |
150 fun show_steps (Options opt) = #show_steps opt |
149 fun show_mode_inference (Options opt) = #show_mode_inference opt |
151 fun show_mode_inference (Options opt) = #show_mode_inference opt |
150 fun show_intermediate_results (Options opt) = #show_intermediate_results opt |
152 fun show_intermediate_results (Options opt) = #show_intermediate_results opt |
151 fun show_proof_trace (Options opt) = #show_proof_trace opt |
153 fun show_proof_trace (Options opt) = #show_proof_trace opt |
|
154 fun show_compilation (Options opt) = #show_compilation opt |
|
155 fun skip_proof (Options opt) = #skip_proof opt |
152 |
156 |
153 fun is_inductify (Options opt) = #inductify opt |
157 fun is_inductify (Options opt) = #inductify opt |
154 fun is_rpred (Options opt) = #rpred opt |
158 fun is_rpred (Options opt) = #rpred opt |
155 fun is_depth_limited (Options opt) = #depth_limited opt |
159 fun is_depth_limited (Options opt) = #depth_limited opt |
156 |
160 |
158 expected_modes = NONE, |
162 expected_modes = NONE, |
159 show_steps = false, |
163 show_steps = false, |
160 show_intermediate_results = false, |
164 show_intermediate_results = false, |
161 show_proof_trace = false, |
165 show_proof_trace = false, |
162 show_mode_inference = false, |
166 show_mode_inference = false, |
|
167 show_compilation = false, |
|
168 skip_proof = false, |
|
169 |
163 inductify = false, |
170 inductify = false, |
164 rpred = false, |
171 rpred = false, |
165 depth_limited = false |
172 depth_limited = false |
166 } |
173 } |
167 |
174 |
168 |
175 |
169 fun print_step options s = |
176 fun print_step options s = |
170 if show_steps options then tracing s else () |
177 if show_steps options then tracing s else () |
171 |
|
172 |
178 |
173 (* tuple processing *) |
179 (* tuple processing *) |
174 |
180 |
175 fun expand_tuples thy intro = |
181 fun expand_tuples thy intro = |
176 let |
182 let |