1 % (c) 2009-2026 Lehrstuhl fuer Softwaretechnik und Programmiersprachen,
2 % Heinrich Heine Universitaet Duesseldorf
3 % This software is licenced under EPL 1.0 (http://www.eclipse.org/org/documents/epl-v10.html)
4
5 % each cli_testcase consists of: id, list of categories, arguments to probcli, comment
6
7 :- module(testcases, [cli_testcase/5,
8 set_generating_coverage/0, unset_generating_coverage/0,
9 test_requires_extension/3, test_category_requires_extension/2,
10 test_requires_previous_test/2,
11 cli_testcase_diff_check_output/3, cli_testcase_do_not_delete/2,
12 extra_testcase_file/2]).
13
14 %:- use_module('../extensions/profiler/profiler.pl').
15 %:- use_module('../extensions/profiler/profiler_te.pl').
16 %:- enable_profiling(cli_testcase/5).
17
18 :- use_module(probsrc(module_information),[module_info/2]).
19 :- module_info(group,testing).
20 :- module_info(description,'This module defines the (integration) tests.').
21
22 :- use_module(library(lists), [append/2]).
23 cli_testcase(Id,Groups,TestConfiguration,Arguments,Description) :-
24 ? cli_testcase(Id,Groups,ArgumentsTemp,Description),
25 options_all_tests(Id,AdditionalArguments),
26 append(ArgumentsTemp,AdditionalArguments,Arguments),
27 findall(Conf,additional_configuration(Id,Conf),TestConfiguration).
28
29
30 % options that should be used in all testcases
31 options_all_tests(1303,['-strict']) :- !.
32 options_all_tests(1351,['-strict']) :- !. % tests generate warnings and we still want to load the B machines
33 options_all_tests(1658,['-strict']) :- !.
34 options_all_tests(_,['-strict','-p','STRICT_RAISE_WARNINGS','TRUE']).
35
36 :- dynamic generating_coverage/0.
37 set_generating_coverage :- (generating_coverage -> true ; assertz(generating_coverage)).
38 unset_generating_coverage :- retractall(generating_coverage).
39
40 :- public real_clpfd_solver_unavailable/0.
41 real_clpfd_solver_unavailable :- \+ real_clpfd_solver_available.
42 real_clpfd_solver_available :-
43 current_prolog_flag(version_data,sicstus(V1,V2,_,_,_)),
44 v(V1,V2) @>= v(4,10). % full real solver requires SICStus 4.10 CLPFD
45
46
47 :- use_module(probsrc(tools_platform), [host_platform/1, platform_is_64_bit/0]).
48 :- use_module(probsrc(parsercall),[get_parser_version/6]).
49 additional_configuration(37, conditional_skip(\+(platform_is_64_bit))). /* CLP(FD) buffer overflow on win32 */
50 additional_configuration(43, conditional_skip(\+(platform_is_64_bit))). /* integer too large for 32-bit systems */
51 additional_configuration(50, conditional_skip(host_platform(windows))).
52 additional_configuration(161, conditional_skip(host_platform(windows))).
53 additional_configuration(271, conditional_skip(host_platform(windows))).
54 %additional_configuration(324, skip). /* because only works if SMT mode is allowed to instantiate */
55 additional_configuration(539, conditional_skip(host_platform(windows))).
56 additional_configuration(469, conditional_skip(\+(platform_is_64_bit))). /* timeout */
57 additional_configuration(767, conditional_skip(\+(platform_is_64_bit))). /* integer overflow on 32-bit systems */
58 additional_configuration(875, skip). % The type checker temporarily also allows {x|->y | x=y+1 } (added to support UNION/INTER with Prolog BParser)
59 additional_configuration(943, skip). % Skip until we move to new parser
60 additional_configuration(1101, conditional_skip(\+(platform_is_64_bit))). % not enough memory
61 additional_configuration(1102, conditional_skip(\+(platform_is_64_bit))). % not enough memory
62 additional_configuration(1103, conditional_skip(\+(platform_is_64_bit))). % not enough memory
63 additional_configuration(1131, conditional_skip(\+(platform_is_64_bit))). % not enough memory
64 additional_configuration(1157, conditional_skip(\+(platform_is_64_bit))). % not enough memory
65 additional_configuration(1162, conditional_skip(host_platform(linux))). /* linux32 is too slow for this testcase Timeout when posting constraint: clpfd_interface:(list_to_fdset([506,506],_374556577),_374485321 in_set _374556577) -> timeout; ditto for linux 64?! */
66 additional_configuration(1207, conditional_skip(\+(platform_is_64_bit))). /* integer overflow on 32-bit systems */
67 additional_configuration(1360, conditional_skip(\+(platform_is_64_bit))). /* funnily enough: no clpfd overflow */
68 additional_configuration(844, skip). % repl option is not anymore available
69 additional_configuration(988, skip). % skip test case until merging 'feature/avl_sets_csp' with 'develop'
70 additional_configuration(987, skip). % no reductions can be gained in this test case
71 additional_configuration(1316, conditional_skip(host_platform(windows))).
72 % Crashes on Windows, but only when running entire b_test category.
73 % Probably caused by an earlier test, but don't know which.
74 additional_configuration(1414, conditional_skip(host_platform(windows))).
75 additional_configuration(1441, conditional_skip(\+(platform_is_64_bit))). /* timeout */
76 additional_configuration(1447, conditional_skip(\+(platform_is_64_bit))). /* timeout */
77 additional_configuration(1452, conditional_skip(\+(platform_is_64_bit))). /* timeout */
78 additional_configuration(1609, conditional_skip(\+(platform_is_64_bit))). /* integer overflow on 32-bit systems */
79 additional_configuration(1654, conditional_skip(host_platform(windows))). % file contains unicode and can not be checked out properly on windows
80 additional_configuration(1716, conditional_skip(\+(platform_is_64_bit))). /* timeout */
81 %additional_configuration(1753, conditional_skip(\+(host_platform(linux)))). % solving table/2 issue causes further slowdown; TODO: re-evaluate for SICStus 4.8; not_exists is now better expanded into forall, cutting down huge search space for kp parameter in centimetre with 2 million values
82 additional_configuration(1771, conditional_skip(host_platform(windows))).
83 additional_configuration(1792, conditional_skip(\+(platform_is_64_bit))). /* CLP(FD) overflow on win32 */
84 additional_configuration(2423, conditional_skip(\+(platform_is_64_bit))).
85 additional_configuration(2425, conditional_skip(\+(platform_is_64_bit))).
86
87 % seems slow on Windows for SICStus 4.6 and 4.7
88 additional_configuration(1800, conditional_skip((host_platform(windows), current_prolog_flag(version_data,sicstus(V1,V2,_,_,_)), v(V1,V2) @>= v(4,6)))).
89
90 %additional_configuration(1812, skip). % sometimes unknown or segfault using 4.12.2, wait for release of 4.12.3;
91 % now we have mk_expr_skip failed error messages for GearsDoorsHandle3_mch; commented out
92
93 additional_configuration(1926, conditional_skip(host_platform(windows))). % Alloy bug on windows: https://github.com/AlloyTools/org.alloytools.alloy/issues/112
94
95 % platoon_2_mch and platoon_3_0_mch platoon_4_0_mch are not animatable (any more) with more restrictive enumeration warning treatment; they require infinite total functions (xpos: NATURAL ** .... --> )
96 additional_configuration(129, skip).
97 additional_configuration(130, skip).
98 additional_configuration(131, skip).
99 additional_configuration(132, skip).
100 additional_configuration(333, skip).
101 additional_configuration(334, skip).
102 %additional_configuration(1308, skip). % Kodkod test, now fails with more conservative card treatment, 20th April 2016, git sha: a422afcd2949b8b0a40821f0029b41240935e695; works again 7th March 2024
103 additional_configuration(1552, skip). % removed unsafe function application treatment in b_compiler, 22nd July 2016
104 additional_configuration(1705, skip). % requires feature b_write_eventb_machine_to_classicalb_to_file to be added to cli_start_mc_with_tlc
105 additional_configuration(1809, skip). % skip until Kodkod problem solved
106 %additional_configuration(2001, conditional_skip((get_parser_version(_,V1,V2,V3,_,_), v(V1,V2,V3) @>= v(2,13,5)))). % Machine hash changes with new parser version
107 %additional_configuration(2021, conditional_skip(host_platform(windows))). % skip until kernel_attr used for not_empty_set and eq_empty_set
108 additional_configuration(2166, conditional_skip(host_platform(windows))). % occasional cdclt timeouts on windows
109 additional_configuration(2179, conditional_skip(host_platform(windows))). % currently reproducibly causes a native crash on Windows
110 additional_configuration(2249, conditional_skip(host_platform(windows))). %
111 additional_configuration(2252, conditional_skip(host_platform(windows))). %
112 additional_configuration(2261, conditional_skip(host_platform(windows))). %
113 additional_configuration(2262, conditional_skip(host_platform(windows))). %
114 additional_configuration(2267, conditional_skip(host_platform(windows))). %
115 additional_configuration(2280, conditional_skip(host_platform(windows))). %
116 additional_configuration(2281, conditional_skip(host_platform(windows))). %
117 additional_configuration(2282, conditional_skip((host_platform(windows) ; generating_coverage))). % some also time out in coverage build
118 additional_configuration(2293, conditional_skip(host_platform(windows))). %
119 additional_configuration(2294, conditional_skip(host_platform(windows))). %
120 additional_configuration(2363, conditional_skip((host_platform(windows) ; generating_coverage))). %
121 additional_configuration(2365, conditional_skip(host_platform(windows))). %
122 additional_configuration(2366, conditional_skip(host_platform(windows))). %
123 additional_configuration(2367, conditional_skip(host_platform(windows))). %
124 additional_configuration(2368, conditional_skip(host_platform(windows))). %
125 additional_configuration(2369, conditional_skip((host_platform(windows) ; generating_coverage))). %
126 additional_configuration(2370, conditional_skip((host_platform(windows) ; generating_coverage))). %
127 additional_configuration(2374, conditional_skip(host_platform(windows))). %
128 additional_configuration(2375, conditional_skip(host_platform(windows))). %
129 additional_configuration(2376, conditional_skip(host_platform(windows))). %
130
131 % these machines cannot be model checked symbolically as of now
132 % solvers / provers are too weak
133 % or they just take too long
134 additional_configuration(1431, skip).
135 additional_configuration(1582, skip).
136 additional_configuration(1583, skip).
137 additional_configuration(1585, skip).
138
139 additional_configuration(2423, conditional_skip(real_clpfd_solver_available)). % aggressive solving slightly different with new CLP(FD) solver from SICStus 4.10
140 additional_configuration(2561, conditional_skip(real_clpfd_solver_available)). % no longer works in SICStus 4.10, see SPRM-21541
141 additional_configuration(2562, conditional_skip(real_clpfd_solver_unavailable)). % requires SICStus 4.10 CLPFD real solver
142 additional_configuration(2566, conditional_skip(real_clpfd_solver_unavailable)). % requires SICStus 4.10 CLPFD real solver
143 additional_configuration(2569, conditional_skip(real_clpfd_solver_unavailable)). % requires SICStus 4.10 CLPFD real solver
144 additional_configuration(2581, conditional_skip(real_clpfd_solver_unavailable)). % requires SICStus 4.10 CLPFD real solver
145 additional_configuration(2622, conditional_skip(real_clpfd_solver_unavailable)). % requires SICStus 4.10 CLPFD real solver
146
147 additional_configuration(2596, skip). % test takes two minutes; hence skip by default
148
149 % crashes in SICStus 4.10.2-beta2, should be fixed in beta3 or final; TODO: remove skip
150 % they now no longer crash in 4.10.2-beta3:
151 %additional_configuration(2431, conditional_skip(real_clpfd_solver_available)).
152 %additional_configuration(2565, conditional_skip(real_clpfd_solver_available)).
153 %additional_configuration(2578, conditional_skip(real_clpfd_solver_available)).
154
155 % Very slow (or possibly hanging) on SWI
156 additional_configuration(24, conditional_skip(current_prolog_flag(dialect, swi))).
157 additional_configuration(31, conditional_skip(current_prolog_flag(dialect, swi))).
158 additional_configuration(62, conditional_skip(current_prolog_flag(dialect, swi))).
159 %additional_configuration(1829, conditional_skip(current_prolog_flag(dialect, swi))). % seems fixed
160 additional_configuration(2265, conditional_skip(current_prolog_flag(dialect, swi))). % animation step 3 (operation aa358) takes 6-13 minutes on CI
161 additional_configuration(2428, conditional_skip(current_prolog_flag(dialect, swi))). % Slow, now 13 secs on M2 MBA
162 additional_configuration(810, conditional_skip(current_prolog_flag(dialect, swi))). % resource_error(stack), using 1 GB of stack on SWI 10.0, with set_prolog_flag(stack_limit, 2_147_483_648). the test passes
163
164 % fails due to limitation of CLP(FD) in SWI, not detecting failure of X #= Y+1, Y #=X+1.
165 additional_configuration(2415, swi_expected_failure).
166 additional_configuration(2561, swi_expected_failure). % used to be part of test 2415
167
168 % Tests that are currently expected to fail on SWI - used to check for regressions in SWI support.
169 % Note: Many of these are because of timeouts and will pass with a higher timeout.
170 % TODO Allow selectively increasing/multiplying timeouts for certain tests on SWI
171
172 % Unexpected residue
173 additional_configuration(289, swi_expected_failure). % happens since c274ab9695d37ee2e78db8c930ae809cf8b9c637 (or up to 2 commits before) on CI with SWI 9.1, not locally with 9.0.3; even though commit has no influence whatsoever on generated ast
174 additional_configuration(981, swi_expected_failure).
175 additional_configuration(1263, swi_expected_failure).
176 additional_configuration(1161, swi_expected_failure). % happens only on CI currently?
177 additional_configuration(1352, swi_expected_failure).
178 additional_configuration(1373, swi_expected_failure). % happens only on CI currently?
179 additional_configuration(1376, swi_expected_failure).
180 additional_configuration(2131, swi_expected_failure).
181 additional_configuration(2132, swi_expected_failure).
182 additional_configuration(2134, swi_expected_failure).
183 additional_configuration(2264, swi_expected_failure).
184
185
186 % Unexpected unbounded enumeration
187 additional_configuration(362, swi_expected_failure).
188 additional_configuration(1038, swi_expected_failure).
189 additional_configuration(1175, swi_expected_failure).
190 additional_configuration(1488, swi_expected_failure). % since Jan 2, 2023 ace9abbc9f6bf295c7d9e37421b57d0d215e6dc6
191 % possibly due to change in order of waking up not_equal_object after changing block to when
192 additional_configuration(1619, swi_expected_failure).
193 additional_configuration(2210, swi_expected_failure).
194
195 % Timeout while expanding a set comprehension, closure, forall, etc.
196 additional_configuration(40, swi_expected_failure).
197 additional_configuration(496, swi_expected_failure).
198 additional_configuration(979, swi_expected_failure).
199 additional_configuration(980, swi_expected_failure).
200 additional_configuration(982, swi_expected_failure).
201 additional_configuration(1059, swi_expected_failure).
202 additional_configuration(1101, swi_expected_failure).
203 additional_configuration(1108, swi_expected_failure).
204 additional_configuration(1331, swi_expected_failure).
205 additional_configuration(1332, swi_expected_failure).
206 additional_configuration(1384, swi_expected_failure).
207 additional_configuration(1562, swi_expected_failure). % not always a time-out
208 additional_configuration(1679, swi_expected_failure).
209 additional_configuration(1739, swi_expected_failure).
210 additional_configuration(2014, swi_expected_failure).
211 additional_configuration(2033, swi_expected_failure).
212 additional_configuration(2128, swi_expected_failure).
213 additional_configuration(2129, swi_expected_failure).
214 additional_configuration(2385, swi_expected_failure).
215
216 % Timeout during constants setup or transition
217 additional_configuration(41, swi_expected_failure).
218 additional_configuration(49, swi_expected_failure).
219 additional_configuration(292, swi_expected_failure).
220 additional_configuration(293, swi_expected_failure).
221 additional_configuration(305, swi_expected_failure).
222 additional_configuration(307, swi_expected_failure).
223 additional_configuration(387, swi_expected_failure).
224 additional_configuration(456, swi_expected_failure).
225 additional_configuration(642, swi_expected_failure). % sometimes times out
226 additional_configuration(708, swi_expected_failure).
227 additional_configuration(710, swi_expected_failure).
228 additional_configuration(1112, swi_expected_failure).
229 additional_configuration(1157, swi_expected_failure).
230 additional_configuration(1194, swi_expected_failure).
231 additional_configuration(1222, swi_expected_failure).
232 additional_configuration(1305, swi_expected_failure).
233 additional_configuration(1316, swi_expected_failure).
234 additional_configuration(1338, swi_expected_failure).
235 additional_configuration(1393, swi_expected_failure).
236 additional_configuration(1631, swi_expected_failure).
237 additional_configuration(1634, swi_expected_failure).
238 additional_configuration(1920, swi_expected_failure).
239 additional_configuration(1976, swi_expected_failure).
240 additional_configuration(2110, swi_expected_failure).
241 additional_configuration(2185, swi_expected_failure).
242 additional_configuration(2187, swi_expected_failure).
243 additional_configuration(2189, swi_expected_failure).
244 additional_configuration(2413, swi_expected_failure).
245 additional_configuration(2452, swi_expected_failure).
246
247 % Timeout during model check, CBC deadlock check, etc.
248 additional_configuration(324, swi_expected_failure).
249 additional_configuration(1306, swi_expected_failure).
250 additional_configuration(2399, swi_expected_failure).
251 additional_configuration(2445, swi_expected_failure). % occasionally times out on CI
252
253 % Timeout during something else
254 additional_configuration(1165, swi_expected_failure).
255 additional_configuration(1611, swi_expected_failure).
256 additional_configuration(2106, swi_expected_failure).
257
258 % Trace replay fails
259 additional_configuration(220, swi_expected_failure).
260 additional_configuration(626, swi_expected_failure). % only on CI
261 additional_configuration(1105, swi_expected_failure).
262 additional_configuration(1276, swi_expected_failure).
263 additional_configuration(1394, swi_expected_failure).
264 additional_configuration(1751, swi_expected_failure).
265 additional_configuration(1886, swi_expected_failure).
266 additional_configuration(1924, swi_expected_failure).
267 additional_configuration(1925, swi_expected_failure).
268
269 % Apparently bogus invariant violations found
270 additional_configuration(654, swi_expected_failure). % caused by https://github.com/SWI-Prolog/swipl-devel/issues/1160
271 additional_configuration(1185, swi_expected_failure). % ditto
272 additional_configuration(1207, swi_expected_failure). % time-out
273 additional_configuration(1655, swi_expected_failure). % also caused by table bug in CLPFD of SWI, issue 1160
274 additional_configuration(2315, swi_expected_failure). % see test 654, SetRelLaws_NatBool
275
276 % Apparently bogus general_error_occurred
277 additional_configuration(2463, swi_expected_failure).
278
279 % Did not get expected error
280 additional_configuration(396, swi_expected_failure). % happens only on CI currently?
281
282 % Predicate unknown, but no timeout
283 additional_configuration(1247, swi_expected_failure).
284
285 % Errors from external function READ_CSV
286 additional_configuration(1575, swi_expected_failure).
287
288 % External functions HASH and hash use term_hash/2
289 % and so gives different hashes on SWI than on SICStus.
290 additional_configuration(2182, swi_expected_failure).
291
292 % enumeration warning generated, unclear why; maybe different order of co-routines?
293 additional_configuration(2549, swi_expected_failure).
294
295 % pending co-routines after enumeration order enabled for SWI
296 additional_configuration(2279, swi_expected_failure).
297
298 % stale lock files of crashed processes are not detected on Windows
299 additional_configuration(2658, conditional_skip(host_platform(windows))).
300
301
302 additional_configuration(2705, skip). % until we implement the improved inference for small quantifier cardinality
303 additional_configuration(2812, swi_expected_failure). % missing meta_interface extension
304
305 % -----------------------------------
306
307 % we can infer required extensions for a test by looking at probcli commands, preferences
308 % but sometimes preferences are hidden in B model and/or in -evalt strings like -evalt :kodkod ...
309 % test_requires_extension(TestNr,Categories,...)
310 test_requires_extension(1538,_,kodkod_extension).
311 test_requires_extension(1856,_,avl_ugraphs_extension).
312 test_requires_extension(1935,_,xml2b_extension).
313 test_requires_extension(1936,_,xml2b_extension).
314 test_requires_extension(2039,_,wd_extension).
315 test_requires_extension(2053,_,unsat_core_extension).
316 test_requires_extension(2221,_,meta_interface_extension).
317 ?test_requires_extension(_,Cats,Extension) :- member(Cat,Cats), test_category_requires_extension(Cat,Extension).
318
319 % associate some test categories with extensions that are definitely required
320 test_category_requires_extension(alloy,alloy2b_extension).
321 %test_category_requires_extension(cache,cache_extension). % value_persistance
322 test_category_requires_extension(bmc,symbolic_model_checker_extension).
323 test_category_requires_extension(cache,probhash_extension). % cache needs probhash for machines
324 test_category_requires_extension(cbc_tests,cbc_extension).
325 test_category_requires_extension(chr,chr_extension).
326 test_category_requires_extension(cse,cse_extension).
327 test_category_requires_extension(cse_test,cse_extension).
328 test_category_requires_extension(csp_test,cspm_extension).
329 test_category_requires_extension(cspb,cspm_extension).
330 test_category_requires_extension(clingo,b2asp_extension).
331 test_category_requires_extension(ctl,ltl_extension).
332 test_category_requires_extension(disprover,disprover_extension).
333 test_category_requires_extension(dot,dot_extension).
334 test_category_requires_extension(dot,meta_interface_extension).
335 test_category_requires_extension(cdclt,cdclt_extension).
336 test_category_requires_extension(enabling,cbc_extension).
337 test_category_requires_extension(fairness,ltl_extension).
338 test_category_requires_extension(hash,probhash_extension).
339 test_category_requires_extension(json_trace_replay,json_extension).
340 test_category_requires_extension(kodkod,kodkod_extension).
341 test_category_requires_extension(latex,latex_extension).
342 test_category_requires_extension(ltl,ltl_extension).
343 test_category_requires_extension(ltsmin_test,ltsmin_extension).
344 test_category_requires_extension(mcm_tests,cbc_extension). % mcm test case generation is in sap.pl
345 % Previously we said that only operation_reuse_full requires opcache_extension.
346 % But even with OPERATION_REUSE = TRUE (not full),
347 % ProB gives a warning if opcache_extension is unavailable,
348 % and the warning counts as an unexpected error and makes the tests fail.
349 test_category_requires_extension(operation_reuse,opcache_extension).
350 %test_category_requires_extension(pge,pge_extension).
351 %test_category_requires_extension(pge_fast,pge_extension).
352 test_category_requires_extension(por,por_extension).
353 test_category_requires_extension(proz,fuzz_extension).
354 test_category_requires_extension(random,random_permutations).
355 test_category_requires_extension(reals,external_reals_extension).
356 test_category_requires_extension(refinement,refinement_extension).
357 test_category_requires_extension(regex,regexp_extension).
358 test_category_requires_extension(rulesdsl,rulesdsl_extension).
359 test_category_requires_extension(satsolver_test,satsolver_extension).
360 test_category_requires_extension(setlog,setlog_extension).
361 test_category_requires_extension(smt,smtlib_extension).
362 test_category_requires_extension(smt_solver_integration,smt_extension).
363 test_category_requires_extension(symbolic_model_checker,symbolic_model_checker_extension).
364 test_category_requires_extension(symmetry_test,symmetry_extension).
365 test_category_requires_extension(tla,tla2b_extension).
366 test_category_requires_extension(tlc,tlc4b_extension).
367 test_category_requires_extension(visb,visb_extension).
368 test_category_requires_extension(wd,wd_extension).
369 test_category_requires_extension(xml,xml2b_extension).
370
371 % -----------------------------------
372
373 cli_testcase(0, [unit], ['-selfcheck', '-strict', '-p', 'CLPFD', 'FALSE'], 'Unit tests').
374 cli_testcase(1, [unit], ['-selfcheck', '-strict', '-p', 'CLPFD', 'TRUE'], 'Unit tests (with CLPFD)').
375 cli_testcase(2, [unit], ['-selfcheck', '-strict', '-p', 'CLPFD', 'TRUE', '-p', 'SYMBOLIC', 'TRUE'], 'Unit tests (with CLPDFD and SYMBOLIC)').
376 cli_testcase(3, [b_test], ['-t', '-strict', '../prob_examples/public_examples/B/FeatureChecks/DEFINITIONS/SETPREF.mch', '-p', 'MAXINT', '1024', '-card', 'ID', '3'], 'check set MAXINT & card').
377 cli_testcase(4, [b_test], ['-t', '-strict', '../prob_examples/public_examples/B/FeatureChecks/DEFINITIONS/DefinitionScopeOk.mch'], 'DEFINITION scope test').
378 cli_testcase(5, [b_test,forall], ['-t', '-strict', '../prob_examples/public_examples/B/FeatureChecks/ForAll_VariousVersions.mch'], 'For all test').
379 cli_testcase(6, [b_test], ['../prob_examples/public_examples/B/FeatureChecks/NotMemberCheck.mch', '-t', '-strict', '-assertions', '-expcterr', virtual_time_out], 'Not member closures test').
380 cli_testcase(7, [bench], ['../prob_examples/public_examples/B/Benchmarks/CarlaTravelAgencyErr.mch', '-t', '-strict'], 'Carla Travel Agency trace check').
381 cli_testcase(8, [bench], ['../prob_examples/public_examples/B/Benchmarks/RouteIsSeq.mch', '-t', '-strict'], '').
382 cli_testcase(9, [bench], ['../prob_examples/public_examples/B/Benchmarks/Sets2.mch', '-t', '-strict'], '').
383 cli_testcase(10, [bench], ['../prob_examples/public_examples/B/Benchmarks/Doors.mch', '-t', '-strict'], '').
384 cli_testcase(11, [bench], ['../prob_examples/public_examples/B/Benchmarks/DSP0.mch', '-t', '-mc', '100', '-noinv', '-strict', '-nodead', '-expcterr', 'model_check_incomplete'], '').
385 cli_testcase(12, [bench], ['../prob_examples/public_examples/B/Benchmarks/DSP0_complicated_initialisation.mch', '-t', '-mc', '100', '-noinv', '-strict', '-nodead', '-expcterr', 'model_check_incomplete'], '').
386 cli_testcase(13, [bench], ['../prob_examples/public_examples/B/Benchmarks/CSM.mch', '-mc', '1000', '-strict', '-check_complete', '-cc', '341', '1229'], 'Model check CSM').
387 cli_testcase(14, [bench], ['../prob_examples/public_examples/B/Benchmarks/scheduler.mch', '-t', '-mc', '100', '-strict', '-check_complete', '-cc', '36', '121'], 'Model check scheduler').
388 cli_testcase(15, [bench], ['../prob_examples/public_examples/B/Benchmarks/phonebook7.mch', '-t', '-mc', '100', '-expcterr', 'model_check_incomplete', '-strict'], 'Model check phonebook7').
389 cli_testcase(16, [bench], ['../prob_examples/public_examples/B/Benchmarks/tictac.mch', '-mc', '100', '-noinv', '-nodead', '-expcterr', 'model_check_incomplete', '-strict'], '').
390 cli_testcase(17, [bench,case], ['../prob_examples/public_examples/B/Benchmarks/Teletext_bench.mch', '-mc', '100', '-check_complete', '-cc', '14', '122', '-strict'], 'Teletext benchmark').
391 cli_testcase(18, [bench], ['../prob_examples/public_examples/B/Benchmarks/Cruise_finite1.mch', '-t', '-strict'], '').
392 cli_testcase(19, [bench], ['../prob_examples/public_examples/B/BZTT/TestBZTT_Data.mch', '-mc', '100', '-check_complete', '-cc', '26', '176', '-strict', '-l', 'log/TestBZTT_Data.log'], '').
393 cli_testcase(20, [performance_tests], ['../prob_examples/public_examples/B/Daniel/Kodkod/Power2Nr.mch', '-strict', '-t', '-p', 'CLPFD', 'TRUE', '-aa', '4', '0', '0'], '').
394 cli_testcase(21, [performance_tests], ['../prob_examples/public_examples/B/Daniel/Kodkod/Power2Nr.mch', '-strict', '-t', '-p', 'CLPFD', 'TRUE', '-ma', '4', '0', '0'], '').
395 cli_testcase(22, [performance_tests], ['../prob_examples/public_examples/B/Daniel/Kodkod/StarTopologySingleSol.mch', '-strict', '-t', '-p', 'CLPFD', 'TRUE'], '').
396 cli_testcase(23, [performance_tests,codespeed], ['../prob_examples/public_examples/B/PerformanceTests/conc_seq_test.mch', '-strict', '-t'], 'sequence concatenation test').
397 cli_testcase(24, [performance_tests], ['../prob_examples/public_examples/B/PerformanceTests/LargeSets/PartialFunCheck.mch', '-strict', '-t'], '').
398 cli_testcase(25, [performance_tests,forall], ['../prob_examples/public_examples/B/PerformanceTests/ForAll/ForAll_NATURAL.mch', '-strict', '-t'], '').
399 cli_testcase(26, [performance_tests,forall], ['../prob_examples/public_examples/B/PerformanceTests/ForAll/ForAllExpansion.mch', '-strict', '-t', '-mc', 100, '-p', 'MAX_INITIALISATIONS', 10, '-cc', 15, 49], 'Forall quantifier test').
400 cli_testcase(27, [performance_tests,forall], ['../prob_examples/public_examples/B/PerformanceTests/ForAll/ForAllExpansian_Cartesian.mch', '-strict', '-t', '-assertions'], '').
401 cli_testcase(28, [performance_tests,forall], ['../prob_examples/public_examples/B/PerformanceTests/ForAll/ForAllExpansion_Cartesian2.mch', '-strict', '-t', '-assertions', '-p', 'CLPFD', 'FALSE'], '').
402 cli_testcase(29, [performance_tests,forall], ['../prob_examples/public_examples/B/PerformanceTests/ForAll/ForAllExpansion_Cartesian2.mch', '-strict', '-t', '-assertions', '-p', 'CLPFD', 'TRUE'], '').
403 cli_testcase(30, [performance_tests,forall], ['../prob_examples/public_examples/B/PerformanceTests/ForAll/ForAllExpansion_Cartesian3.mch', '-strict', '-t', '-assertions'], '').
404 cli_testcase(31, [performance_tests], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
405 '../prob_examples/public_examples/B/PerformanceTests/LargeSets/SeqCheck.mch', '-strict', '-t'], 'checks on large sequences').
406 cli_testcase(32, [performance_tests], ['../prob_examples/public_examples/B/PerformanceTests/SetLogInefficiencies.mch', '-t', '-strict'], '').
407 cli_testcase(33, [performance_tests], ['../prob_examples/public_examples/B/PerformanceTests/SetLogInefficiencies2.mch',
408 '-p', 'SMT', 'TRUE', '-t', '-strict'], 'A complex propagation test with sets of cardinality 1'). % TO DO: also get to work without SMT mode
409 cli_testcase(34, [performance_tests], ['../prob_examples/public_examples/B/PerformanceTests/SetLogInefficiencies3.mch', '-p', 'SMT', 'TRUE', '-t', '-strict'], 'A complex propagation test with many sets of cardinality 4'). % TO DO: also get to work efficiently without SMT mode; times-out on Windows runner without SMT
410 cli_testcase(35, [performance_tests], ['../prob_examples/public_examples/B/PerformanceTests/InfiniteClosures.mch', '-strict', '-t'], 'check whether ProB deals adequately with some infinite closures 1').
411 cli_testcase(36, [performance_tests], ['../prob_examples/public_examples/B/PerformanceTests/InfiniteClosures2.mch', '-strict', '-t'], 'check whether ProB deals adequately with some infinite closures 2').
412 cli_testcase(37, [performance_tests], ['../prob_examples/public_examples/B/PerformanceTests/InfiniteAbsSqrt.mch', '-strict', '-t'], 'InfiniteAbsSqrt').
413 cli_testcase(38, [performance_tests,card], ['../prob_examples/public_examples/B/PerformanceTests/InfCardChecks.mch', '-p', 'CLPFD', 'TRUE', '-strict', '-t'], 'InfCardChecks').
414 cli_testcase(39, [performance_tests], ['../prob_examples/public_examples/B/PerformanceTests/ID_Checks.mch', '-strict', '-t', '-assertions'], '').
415 cli_testcase(40, [performance_tests,codespeed], ['../prob_examples/public_examples/B/PerformanceTests/DirectProductPerformance.mch', '-strict', '-init', '-p', 'TIME_OUT', '20000'], 'Test the performance of the direct product operator.').
416 cli_testcase(41, [performance_tests], ['../prob_examples/public_examples/B/PerformanceTests/DirectProductPerformance.mch', '-strict', '-init', '-p', 'SYMBOLIC', 'TRUE', '-p', 'TIME_OUT', '15000'], '').
417 cli_testcase(42, [performance_tests], ['../prob_examples/public_examples/B/Mathematical/Sieve.mch', '-mc', '1000', '-strict', '-expcterr', 'goal_found', '-l', 'log/Sieve.log', '-expcterr', virtual_time_out], '').
418 % StartSieve generates virtual_time_out
419 cli_testcase(43, [performance_tests], ['../prob_examples/public_examples/B/Mathematical/BinomialCoefficients.mch', '-t', '-strict'], '').
420 cli_testcase(44, [performance_tests], ['../prob_examples/public_examples/B/Mathematical/SieveAlternate.mch', '-mc', '1000', '-strict', '-expcterr', 'goal_found', '-l', 'log/SieveAlternate.log', '-expcterr', virtual_time_out], '').
421 cli_testcase(45, [performance_tests], ['../prob_examples/public_examples/B/Mathematical/GraphIso/CheckGraphIsomorphism.mch', '-t', '-strict', '-l', 'log/CheckGraphIsomorphism.log'], '').
422 cli_testcase(46, [performance_tests], ['../prob_examples/public_examples/B/Mathematical/GraphIso/CheckLargeGraphIsomorphismAsConstants.mch', '-t', '-strict', '-p', 'CLPFD', 'TRUE', '-p', 'TIME_OUT', '5000'], '').
423 cli_testcase(47, [performance_tests], ['../prob_examples/public_examples/B/Mathematical/Theories/FiniteSequences1.mch', '-t', '-mc', '100', '-expcterr', 'model_check_incomplete', '-strict'], '').
424 cli_testcase(48, [performance_tests], ['../prob_examples/public_examples/B/Mathematical/Theories/FiniteSequences2.mch', '-t', '-mc', '100', '-expcterr', 'model_check_incomplete', '-strict'], '').
425 cli_testcase(49, [performance_tests,sat,codespeed], ['../prob_examples/public_examples/B/PerformanceTests/SATLIB/flat200-90.mch', '-t', '-p', 'STATIC_ORDERING', 'TRUE', '-strict', '-p', 'TIME_OUT', '15000', '-l', 'log/SAT_flat200-90.log'], 'SAT test (flat200-90)').
426 cli_testcase(50, [parser,performance_tests,sat], ['../prob_examples/public_examples/B/PerformanceTests/SATLIB/sudoku.mch', '-init', '-p', 'STATIC_ORDERING', 'TRUE', '-strict', '-p', 'TIME_OUT', '60000'], 'Large machine to test the parser/JVM, skipped on Windows because the Windows build bot can not reserve enough memory.'). % used to require LARGE_JVM
427 cli_testcase(51, [performance_tests], ['../prob_examples/public_examples/B/PerformanceTests/ConstraintPropagation/MaxPropagation.mch', '-strict', '-t'], '').
428 cli_testcase(52, [performance_tests], ['../prob_examples/public_examples/B/PerformanceTests/ConstraintPropagation/MaxPropagation2.mch', '-strict', '-t'], '').
429 cli_testcase(53, [performance_tests], ['../prob_examples/public_examples/B/PerformanceTests/ConstraintPropagation/SetMembershipInference.mch', '-strict', '-t'], '').
430 cli_testcase(54, [performance_tests], ['../prob_examples/public_examples/B/PerformanceTests/ConstraintPropagation/SetMembershipReification.mch', '-strict', '-t'], '').
431 cli_testcase(55, [performance_tests,codespeed], ['../prob_examples/public_examples/B/Demo/SortByPermutation_v2.mch', '-strict', '-t','-p', 'TIME_OUT', '7000'], 'Sort by permutation').
432 cli_testcase(56, [performance_tests,codespeed], ['../prob_examples/public_examples/B/IPD/colouring/GraphColouringNAT2.mch', '-t', '-strict'], 'Graph colouring').
433 cli_testcase(57, [performance_tests,codespeed], ['../prob_examples/public_examples/EventBPrologPackages/Puzzles/Instance_small_60_400_9_ctx.eventb', '-init', '-strict', '-p', 'CLPFD', 'TRUE'], '').
434 cli_testcase(58, [performance_tests], ['../prob_examples/public_examples/B/BZTT/PO_Scheduler.mch', '-mc', '100', '-check_complete', '-cc', '7', '6', '-strict', '-t', '-nodead'], 'Scheduler variation').
435 cli_testcase(59, [performance_tests], ['../prob_examples/public_examples/B/PerformanceTests/SMTLIB/IDL_SimpleUnsat.mch', '-strict', '-init', '-expcterr', 'setup_constants_fails'], '').
436 cli_testcase(60, [performance_tests], ['../prob_examples/public_examples/B/PerformanceTests/SMTLIB/int_completeness1.mch', '-strict', '-init', '-p', 'CLPFD', 'TRUE', '-expcterr', 'setup_constants_fails'], '').
437 cli_testcase(61, [performance_tests], ['../prob_examples/public_examples/B/PerformanceTests/SMTLIB/int_completeness1_event.mch', '-strict', '-p', 'CLPFD', 'TRUE', '-t'], '').
438 cli_testcase(62, [performance_tests], ['../prob_examples/public_examples/B/PerformanceTests/SMTLIB/SquareEquivalenceProblem.mch', '-strict', '-t', '-p', 'CLPFD', 'TRUE', '-mc', '10', '-cc', '2', '2'], '').
439 cli_testcase(63, [performance_tests], ['../prob_examples/public_examples/B/PerformanceTests/clpfd_constraint_checks/IntegerComprSets.mch', '-strict', '-t'], '').
440 cli_testcase(64, [performance_tests], ['../prob_examples/public_examples/B/PerformanceTests/SeqEnumWithLargeMAXINT.mch', '-strict', '-t'], '').
441 cli_testcase(65, [performance_tests,sequences,codespeed], ['../prob_examples/public_examples/B/PerformanceTests/ConstraintPropagation/SequenceSolving.mch', '-strict', '-t'], 'SequenceSolving').
442 cli_testcase(66, [performance_tests,codespeed], ['../prob_examples/public_examples/B/PerformanceTests/SAT_Tests/SubsetReificationTest.mch', '-strict', '-t'], '').
443 cli_testcase(67, [symmetry_test], ['-p', 'MAXINT', '5', '../prob_examples/public_examples/B/Demo/monitor2.mch', '-mc', '100', '-cc', '15', '92', '-p', 'SYMMETRY_MODE', 'nauty', '-strict'], '').
444 cli_testcase(68, [symmetry_test], ['-p', 'MAXINT', '5', '../prob_examples/public_examples/B/Demo/Symetric.mch', '-mc', '100', '-cc', '2', '6', '-p', 'DEFAULT_SETSIZE', '3', '-p', 'SYMMETRY_MODE', 'nauty', '-strict'], '').
445 cli_testcase(69, [symmetry_test], ['-p', 'MAXINT', '5', '../prob_examples/public_examples/B/Demo/scheduler.mch', '-mc', '100', '-cc', '11', '47', '-p', 'DEFAULT_SETSIZE', '3', '-p', 'SYMMETRY_MODE', 'nauty', '-strict'], '').
446 cli_testcase(70, [symmetry_test], ['-p', 'MAXINT', '5', '../prob_examples/public_examples/B/Demo/scheduler.mch', '-mc', '100', '-cc', '36', '156', '-p', 'DEFAULT_SETSIZE', '3', '-p', 'SYMMETRY_MODE', 'off', '-strict'], '').
447 cli_testcase(71, [symmetry_test], ['-p', 'MAXINT', '5', '../prob_examples/public_examples/B/Demo/scheduler.mch', '-mc', '100', '-cc', '11', '47', '-p', 'DEFAULT_SETSIZE', '3', '-p', 'SYMMETRY_MODE', 'hash', '-strict'], '').
448 cli_testcase(72, [symmetry_test], ['-p', 'MAXINT', '5', '../prob_examples/public_examples/B/Demo/scheduler.mch', '-mc', '100', '-cc', '36', '73', '-p', 'DEFAULT_SETSIZE', '3', '-p', 'SYMMETRY_MODE', 'flood', '-strict'], '').
449 cli_testcase(73, [symmetry_test], ['-p', 'MAXINT', '5', '../prob_examples/public_examples/B/SymmetryReduction/scheduler1.ref', '-mc', '150', '-cc', '145', '447', '-p', 'DEFAULT_SETSIZE', '3', '-p', 'SYMMETRY_MODE', 'off', '-strict'], '').
450 cli_testcase(74, [symmetry_test], ['-p', 'MAXINT', '5', '../prob_examples/public_examples/B/SymmetryReduction/scheduler1.ref', '-mc', '100', '-cc', '29', '92', '-p', 'DEFAULT_SETSIZE', '3', '-p', 'SYMMETRY_MODE', 'nauty', '-strict'], 'scheduler1.ref with nauty (3)'). % used to be 94 instead of 92 transitions; change of INITIALISATION argument treatment April 2016
451 cli_testcase(75, [symmetry_test], ['-p', 'MAXINT', '5', '../prob_examples/public_examples/B/SymmetryReduction/scheduler1.ref', '-mc', '100', '-cc', '29', '92', '-p', 'DEFAULT_SETSIZE', '3', '-p', 'SYMMETRY_MODE', 'hash', '-strict'], 'scheduler1.ref with hash (3)'). % used to be 94 instead of 92 transitions; change of INITIALISATION argument treatment April 2016
452 cli_testcase(76, [symmetry_test], ['-p', 'MAXINT', '5', '../prob_examples/public_examples/B/SymmetryReduction/scheduler1.ref', '-mc', '150', '-cc', '145', '210', '-p', 'DEFAULT_SETSIZE', '3', '-p', 'SYMMETRY_MODE', 'flood', '-strict'], '').
453 cli_testcase(77, [symmetry_test], ['-p', 'MAXINT', '5', '../prob_examples/public_examples/B/SymmetryReduction/scheduler1.ref', '-mc', '100', '-cc', '51', '208', '-p', 'DEFAULT_SETSIZE', '4', '-p', 'SYMMETRY_MODE', 'nauty', '-p', 'MAX_INITIALISATIONS', '20', '-p', 'MAX_OPERATIONS', '120', '-strict'], 'scheduler1.ref with nauty (4)'). % used to be 211 instead of 208 transitions; change of INITIALISATION argument treatment April 2016
454 cli_testcase(78, [symmetry_test], ['-p', 'MAXINT', '5', '../prob_examples/public_examples/B/SymmetryReduction/scheduler1.ref', '-mc', '100', '-cc', '51', '208', '-p', 'DEFAULT_SETSIZE', '4', '-p', 'SYMMETRY_MODE', 'hash', '-p', 'MAX_INITIALISATIONS', '20', '-p', 'MAX_OPERATIONS', '120', '-strict'], 'scheduler1.ref with hash (4)'). % used to be 211 instead of 208 transitions; change of INITIALISATION argument treatment April 2016
455 cli_testcase(79, [symmetry_test], ['-p', 'MAXINT', '5', '../prob_examples/public_examples/B/SymmetryReduction/scheduler1.ref', '-mc', '1000', '-cc', '81', '401', '-p', 'DEFAULT_SETSIZE', '5', '-p', 'SYMMETRY_MODE', 'nauty', '-p', 'MAX_INITIALISATIONS', '20', '-p', 'MAX_OPERATIONS', '120', '-strict'], 'scheduler1.ref with nauty (5)'). % used to be 405 transitions, see above
456 cli_testcase(80, [symmetry_test], ['-p', 'MAXINT', '5', '../prob_examples/public_examples/B/SymmetryReduction/scheduler1.ref', '-mc', '1000', '-cc', '81', '401', '-p', 'DEFAULT_SETSIZE', '5', '-p', 'SYMMETRY_MODE', 'hash', '-p', 'MAX_INITIALISATIONS', '20', '-p', 'MAX_OPERATIONS', '120', '-strict'], 'scheduler1.ref with hash (5)'). % used to be 405 transitions, see above
457 cli_testcase(81, [symmetry_test], ['-p', 'MAXINT', '5', '../prob_examples/public_examples/B/SymmetryReduction/scheduler1.ref', '-mc', '1000', '-cc', '120', '696', '-p', 'DEFAULT_SETSIZE', '6', '-p', 'SYMMETRY_MODE', 'nauty', '-p', 'MAX_INITIALISATIONS', '20', '-p', 'MAX_OPERATIONS', '120', '-strict'], 'scheduler1.ref with nauty (6)'). % used to be 701 transitions, see above
458 cli_testcase(82, [symmetry_test], ['-p', 'MAXINT', '5', '../prob_examples/public_examples/B/SymmetryReduction/scheduler1.ref', '-mc', '1000', '-cc', '120', '696', '-p', 'DEFAULT_SETSIZE', '6', '-p', 'SYMMETRY_MODE', 'hash', '-p', 'MAX_INITIALISATIONS', '20', '-p', 'MAX_OPERATIONS', '120', '-strict'], 'scheduler1.ref with hash (6)'). % used to be 701 transitions, see above
459 cli_testcase(83, [symmetry_test], ['-p', 'MAXINT', '5', '../prob_examples/public_examples/B/SymmetryReduction/scheduler1.ref', '-mc', '1000', '-cc', '169', '1121', '-p', 'DEFAULT_SETSIZE', '7', '-p', 'SYMMETRY_MODE', 'nauty', '-p', 'MAX_INITIALISATIONS', '20', '-p', 'MAX_OPERATIONS', '120', '-strict'], 'scheduler1.ref with nauty (7)'). % used to be 1127 transitions, see above
460 cli_testcase(84, [symmetry_test], ['-p', 'MAXINT', '5', '../prob_examples/public_examples/B/SymmetryReduction/scheduler1.ref', '-mc', '1000', '-cc', '169', '1121', '-p', 'DEFAULT_SETSIZE', '7', '-p', 'SYMMETRY_MODE', 'hash', '-p', 'MAX_INITIALISATIONS', '20', '-p', 'MAX_OPERATIONS', '120', '-strict'], 'scheduler1.ref with hash (7)'). % used to be 1127 transitions, see above
461 cli_testcase(85, [symmetry_test], ['-p', 'MAXINT', '5', '../prob_examples/public_examples/B/SymmetryReduction/PairRelation.mch', '-mc', '100', '-cc', '39', '173', '-p', 'DEFAULT_SETSIZE', '3', '-strict'], '').
462 cli_testcase(86, [symmetry_test], ['-p', 'MAXINT', '5', '../prob_examples/public_examples/B/SymmetryReduction/PairRelation.mch', '-mc', '100', '-cc', '11', '47', '-p', 'DEFAULT_SETSIZE', '3', '-p', 'SYMMETRY_MODE', 'nauty', '-strict'], '').
463 cli_testcase(87, [symmetry_test], ['-p', 'MAXINT', '5', '../prob_examples/public_examples/B/SymmetryReduction/PairRelation.mch', '-mc', '100', '-cc', '39', '75', '-p', 'DEFAULT_SETSIZE', '3', '-p', 'SYMMETRY_MODE', 'flood', '-strict'], '').
464 cli_testcase(88, [symmetry_test], ['-p', 'MAXINT', '5', '../prob_examples/public_examples/B/SymmetryReduction/SetRelation.mch', '-mc', '100', '-cc', '38', '172', '-p', 'DEFAULT_SETSIZE', '3', '-p', 'SYMMETRY_MODE', 'off', '-strict'], '').
465 cli_testcase(89, [symmetry_test], ['-p', 'MAXINT', '5', '../prob_examples/public_examples/B/SymmetryReduction/SetRelation.mch', '-mc', '100', '-cc', '10', '46', '-p', 'DEFAULT_SETSIZE', '3', '-p', 'SYMMETRY_MODE', 'nauty', '-strict'], '').
466 cli_testcase(90, [symmetry_test], ['-p', 'MAXINT', '5', '../prob_examples/public_examples/B/SymmetryReduction/SetRelation.mch', '-mc', '100', '-cc', '38', '74', '-p', 'DEFAULT_SETSIZE', '3', '-p', 'SYMMETRY_MODE', 'flood', '-strict'], '').
467 cli_testcase(91, [symmetry_test], ['-p', 'MAXINT', '5', '../prob_examples/public_examples/B/SymmetryReduction/RussianPostalPuzzle.mch', '-mc', '1000', '-cc', '81', '177', '-p', 'DEFAULT_SETSIZE', '2', '-p', 'SYMMETRY_MODE', 'off', '-nogoal', '-strict'], '').
468 cli_testcase(92, [symmetry_test], ['-p', 'MAXINT', '5', '../prob_examples/public_examples/B/SymmetryReduction/RussianPostalPuzzle.mch', '-mc', '1000', '-cc', '48', '105', '-p', 'DEFAULT_SETSIZE', '2', '-p', 'SYMMETRY_MODE', 'nauty', '-nogoal', '-strict'], '').
469 cli_testcase(93, [symmetry_test], ['-p', 'MAXINT', '5', '../prob_examples/public_examples/B/SymmetryReduction/RussianPostalPuzzle.mch', '-mc', '1000', '-cc', '48', '105', '-p', 'DEFAULT_SETSIZE', '2', '-p', 'SYMMETRY_MODE', 'hash', '-nogoal', '-strict', '-expcterr', 'model_check_incomplete'], '').
470 cli_testcase(94, [symmetry_test], ['-p', 'MAXINT', '5', '../prob_examples/public_examples/B/SymmetryReduction/RussianPostalPuzzle.mch', '-mc', '1000', '-cc', '81', '138', '-p', 'DEFAULT_SETSIZE', '2', '-p', 'SYMMETRY_MODE', 'flood', '-nogoal', '-strict'], '').
471 cli_testcase(95, [symmetry_test], ['-p', 'MAXINT', '5', '../prob_examples/public_examples/B/SymmetryReduction/TicTacToe_SimplerSym.mch', '-mc', '1500', '-cc', '1450', '4547', '-p', 'DEFAULT_SETSIZE', '2', '-p', 'SYMMETRY_MODE', 'hash', '-nogoal', '-nodead', '-strict', '-expcterr', 'model_check_incomplete'], '').
472 cli_testcase(96, [symmetry_test], ['-p', 'MAXINT', '5', '../prob_examples/public_examples/B/SymmetryReduction/TicTacToe_SimplerSym.mch', '-mc', '1500', '-cc', '1450', '4547', '-p', 'DEFAULT_SETSIZE', '2', '-p', 'SYMMETRY_MODE', 'nauty', '-nogoal', '-nodead', '-strict'], '').
473 cli_testcase(97, [symmetry_test], ['-p', 'MAXINT', '5', '../prob_examples/public_examples/B/SymmetryReduction/TicTacToe_SimplerSym.mch', '-mc', '6000', '-cc', '5480', '8577', '-p', 'DEFAULT_SETSIZE', '2', '-p', 'SYMMETRY_MODE', 'flood', '-nogoal', '-nodead', '-strict'], '').
474 cli_testcase(98, [symmetry_test], ['../prob_examples/public_examples/B/SymmetryReduction/USB_4Endpoints.mch', '-mc', '1000', '-p', 'DEFAULT_SETSIZE', '2', '-p', 'SYMMETRY_MODE', 'nauty', '-cc', '355', '11220', '-strict'], '').
475 cli_testcase(99, [symmetry_test,codespeed], ['../prob_examples/public_examples/B/SymmetryReduction/USB_4Endpoints.mch', '-mc', '1000', '-p', 'DEFAULT_SETSIZE', '2', '-p', 'SYMMETRY_MODE', 'hash', '-cc', '355', '11220', '-strict'], 'USB with Hash symmetry').
476 cli_testcase(100, [symmetry_test], ['../prob_examples/public_examples/B/SymmetryReduction/USB_4Endpoints.mch', '-mc', '1000', '-p', 'DEFAULT_SETSIZE', '2', '-p', 'SYMMETRY_MODE', 'flood', '-cc', '694', '11572', '-strict'], '').
477 cli_testcase(101, [symmetry_test], ['../prob_examples/public_examples/B/SymmetryReduction/USB_4Endpoints.mch', '-mc', '10000', '-p', 'DEFAULT_SETSIZE', '3', '-p', 'SYMMETRY_MODE', 'hash', '-cc', '3013', '97730', '-strict', '-expcterr', 'model_check_incomplete'], '').
478 cli_testcase(102, [symmetry_test,proz], ['../prob_examples/public_examples/Z/Derrick/video_club_abz08.fuzz', '-strict', '-card', 'TITLE', '2', '-card', 'PERSON', '2', '-mc', '100000', '-p', 'SYMMETRY_MODE', 'hash', '-cc', '113', '596', '-expcterr', 'model_check_incomplete', '-expcterr', virtual_time_out], '').
479 cli_testcase(103, [symmetry_test], ['../prob_examples/public_examples/B/Puzzles/Hanoi6Sym.mch', '-mc', '10000', '-p', 'SYMMETRY_MODE', 'off', '-cc', '731', '2187', '-nogoal', '-strict'], '').
480 cli_testcase(104, [symmetry_test], ['../prob_examples/public_examples/B/Puzzles/Hanoi6Sym.mch', '-mc', '10000', '-p', 'SYMMETRY_MODE', 'hash', '-cc', '367', '1095', '-nogoal', '-strict'], 'Hanoi6Sym with hash'). % used to be 1096 transitions; changed in April 2016 due to INITIALISATION arg treatment change
481 cli_testcase(105, [symmetry_test], ['../prob_examples/public_examples/B/Puzzles/Hanoi6Sym.mch', '-mc', '10000', '-p', 'SYMMETRY_MODE', 'nauty', '-cc', '367', '1095', '-nogoal', '-strict'], 'Hanoi6Sym with nauty'). % was also 1096 transitions, see above
482 cli_testcase(106, [symmetry_test,tickets], ['-p', 'MAXINT', '5', '../prob_examples/public_examples/B/Demo/DiningCryptographers.mch', '-mc', '100', '-cc', '65', '96', '-p', 'MAX_INITIALISATIONS', '100', '-p', 'SYMMETRY_MODE', 'off', '-strict'], '').
483 cli_testcase(107, [symmetry_test], ['-p', 'MAXINT', '5', '../prob_examples/public_examples/B/Demo/DiningCryptographers.mch', '-mc', '100', '-cc', '65', '96', '-p', 'MAX_INITIALISATIONS', '100', '-p', 'SYMMETRY_MODE', 'nauty', '-strict'], '').
484 cli_testcase(108, [symmetry_test], ['-p', 'MAXINT', '5', '../prob_examples/public_examples/B/Demo/DiningCryptographers.mch', '-mc', '100', '-cc', '65', '96', '-p', 'MAX_INITIALISATIONS', '100', '-p', 'SYMMETRY_MODE', 'hash', '-strict'], '').
485 cli_testcase(109, [symmetry_test], ['-p', 'MAXINT', '5', '../prob_examples/public_examples/B/SymmetryReduction/Fraikin/Library_FullSym.mch', '-mc', '10000', '-cc', '1158', '12064', '-p', 'MAX_INITIALISATIONS', '100', '-p', 'SYMMETRY_MODE', 'hash', '-strict', '-expcterr', 'model_check_incomplete'], '').
486 cli_testcase(110, [symmetry_test], ['../prob_examples/public_examples/EventBPrologPackages/SSF/Bepi_Soton/M0_mch.eventb', '-p', 'DEFAULT_SETSIZE', '2', '-mc', '10000', '-strict', '-nodead', '-cc', '149', '248', '-expcterr', 'model_check_incomplete'], '').
487 cli_testcase(111, [symmetry_test], ['../prob_examples/public_examples/EventBPrologPackages/SSF/Bepi_Soton/M0_mch.eventb', '-p', 'DEFAULT_SETSIZE', '2', '-mc', '10000', '-strict', '-nodead', '-cc', '82', '136', '-p', 'SYMMETRY_MODE', 'nauty', '-expcterr', 'model_check_incomplete'], ''). % used to be 137 transitions; changed in April 2016 due to INITIALISATION arg treatment change
488 cli_testcase(112, [symmetry_test], ['../prob_examples/public_examples/EventBPrologPackages/SSF/Bepi_Soton/M0_mch.eventb', '-p', 'DEFAULT_SETSIZE', '2', '-mc', '10000', '-strict', '-nodead', '-cc', '82', '136', '-p', 'SYMMETRY_MODE', 'hash', '-expcterr', 'model_check_incomplete'], ''). % ditto
489 cli_testcase(113, [symmetry_test], ['../prob_examples/public_examples/EventBPrologPackages/SSF/Bepi_Soton/M0_mch.eventb', '-p', 'DEFAULT_SETSIZE', '2', '-mc', '10000', '-strict', '-nodead', '-cc', '149', '204', '-p', 'SYMMETRY_MODE', 'flood', '-expcterr', 'model_check_incomplete'], '').
490 cli_testcase(114, [symmetry_test], ['../prob_examples/public_examples/EventBPrologPackages/SSF/Bepi_Soton/M0_mch.eventb', '-p', 'DEFAULT_SETSIZE', '3', '-mc', '10000', '-strict', '-nodead', '-cc', '144', '331', '-p', 'SYMMETRY_MODE', 'nauty', '-expcterr', 'model_check_incomplete'], '').% used to be 332 transitions; changed in April 2016 due to INITIALISATION arg treatment change
491 cli_testcase(115, [symmetry_test], ['../prob_examples/public_examples/EventBPrologPackages/SSF/Bepi_Soton/M0_mch.eventb', '-p', 'DEFAULT_SETSIZE', '3', '-mc', '10000', '-strict', '-nodead', '-cc', '144', '331', '-p', 'SYMMETRY_MODE', 'hash', '-expcterr', 'model_check_incomplete'], ''). % ditto
492 cli_testcase(116, [symmetry_test], ['../prob_examples/public_examples/EventBPrologPackages/SSF/Bepi_Soton/M0_mch.eventb', '-p', 'DEFAULT_SETSIZE', '4', '-mc', '10000', '-strict', '-nodead', '-cc', '360', '1093', '-p', 'SYMMETRY_MODE', 'nauty', '-expcterr', 'model_check_incomplete'], '').
493 cli_testcase(117, [symmetry_test], ['../prob_examples/public_examples/EventBPrologPackages/SSF/Bepi_Soton/M0_mch.eventb', '-p', 'DEFAULT_SETSIZE', '4', '-mc', '10000', '-strict', '-nodead', '-cc', '360', '1093', '-p', 'SYMMETRY_MODE', 'hash' , '-expcterr', 'model_check_incomplete'], '').
494 cli_testcase(118, [symmetry_test], ['../prob_examples/public_examples/EventBPrologPackages/SSF/Bepi_Soton/M1_mch.eventb', '-p', 'DEFAULT_SETSIZE', '3', '-mc', '10000', '-strict', '-nodead', '-cc', '1339', '3786', '-p', 'SYMMETRY_MODE', 'hash' , '-expcterr', 'model_check_incomplete'], ''). % used to be 3787 transitions; changed in April 2016 due to INITIALISATION arg treatment change
495 cli_testcase(119, [symmetry_test], ['../prob_examples/public_examples/EventBPrologPackages/SSF/Bepi_Soton/M1_mch.eventb', '-p', 'DEFAULT_SETSIZE', '3', '-mc', '10000', '-strict', '-nodead', '-cc', '1339', '3786', '-p', 'SYMMETRY_MODE', 'nauty', '-expcterr', 'model_check_incomplete'], ''). % used to be 3787 transitions; changed in April 2016 due to INITIALISATION arg treatment change
496 cli_testcase(120, [symmetry_test], ['../prob_examples/public_examples/EventBPrologPackages/SSF/Bepi_Soton/M1_mch.eventb', '-p', 'DEFAULT_SETSIZE', '3', '-mc', '10000', '-strict', '-nodead', '-cc', '3893', '10970', '-p', 'SYMMETRY_MODE', 'off', '-expcterr', 'model_check_incomplete'], '').
497 cli_testcase(121, [symmetry_test], ['../prob_examples/public_examples/B/SymmetryReduction/PhilRing.mch', '-mc', '1000', '-p', 'DEFAULT_SETSIZE', '2', '-p', 'SYMMETRY_MODE', 'hash', '-cc', '8', '18', '-strict' , '-expcterr', 'model_check_incomplete'], '').
498 cli_testcase(122, [symmetry_test], ['../prob_examples/public_examples/B/SymmetryReduction/PhilRing.mch', '-mc', '1000', '-p', 'DEFAULT_SETSIZE', '2', '-p', 'SYMMETRY_MODE', 'nauty', '-cc', '8', '18', '-strict'], '').
499 cli_testcase(123, [symmetry_test], ['../prob_examples/public_examples/B/SymmetryReduction/PhilRing.mch', '-mc', '1000', '-p', 'DEFAULT_SETSIZE', '3', '-p', 'SYMMETRY_MODE', 'nauty', '-cc', '13', '46', '-strict'], ''). % used to be 47 transitions; changed in April 2016 due to INITIALISATION arg treatment change
500 cli_testcase(124, [symmetry_test], ['../prob_examples/public_examples/B/SymmetryReduction/PhilRing.mch', '-mc', '1000', '-p', 'DEFAULT_SETSIZE', '3', '-p', 'SYMMETRY_MODE', 'hash', '-cc', '13', '46', '-strict' , '-expcterr', 'model_check_incomplete'], ''). % ditto
501 cli_testcase(125, [symmetry_test], ['../prob_examples/public_examples/B/SymmetryReduction/PhilRing.mch', '-mc', '1000', '-p', 'DEFAULT_SETSIZE', '5', '-p', 'SYMMETRY_MODE', 'nauty', '-cc', '53', '342', '-strict', '-expcterr', 'model_check_incomplete'], ''). % used to be 345 transitions; changed in April 2016 due to INITIALISATION arg treatment change
502 cli_testcase(126, [symmetry_test], ['../prob_examples/public_examples/B/SymmetryReduction/PhilRing.mch', '-mc', '1000', '-p', 'DEFAULT_SETSIZE', '5', '-p', 'SYMMETRY_MODE', 'hash', '-cc', '53', '342', '-strict' , '-expcterr', 'model_check_incomplete'], ''). % ditto
503 cli_testcase(127, [eventb_test], ['../prob_examples/public_examples/EventBPrologPackages/TestValidation_ctx.eventb', '-init', '-aa', '10', '0', '0', '-strict'], 'Assertion validation on Event-B model'). % 17.11.2018: there were 11 assertions; now that labels are respected there are 10
504 cli_testcase(128, [eventb_test], ['../prob_examples/public_examples/EventBPrologPackages/platoon/platoon_1_mch.eventb', '-t', '-strict', '-expcterr', virtual_time_out], '').
505 cli_testcase(129, [eventb_test], ['../prob_examples/public_examples/EventBPrologPackages/platoon/platoon_2_mch.eventb', '-t', '-p', 'CLPFD', 'FALSE', '-strict'], '').
506 cli_testcase(130, [eventb_test], ['../prob_examples/public_examples/EventBPrologPackages/platoon/platoon_2_mch.eventb', '-t', '-p', 'CLPFD', 'TRUE', '-strict'], '').
507 cli_testcase(131, [eventb_test], ['../prob_examples/public_examples/EventBPrologPackages/platoon/platoon_3_0_mch.eventb', '-t', '-strict'], '').
508 cli_testcase(132, [eventb_test], ['../prob_examples/public_examples/EventBPrologPackages/platoon/platoon_4_0_mch.eventb', '-t', '-strict'], '').
509 cli_testcase(133, [eventb_test], ['../prob_examples/public_examples/EventBPrologPackages/Records/SampleThreeRecordsTranslated.mch', '-t', '-strict', '-mc', '100', '-cc', '4', '6'], 'Check record translation').
510 cli_testcase(134, [eventb_test], ['../prob_examples/public_examples/EventBPrologPackages/Records/INTEGER_Record.mch', '-t', '-strict', '-p', 'USE_RECORD_CONSTRUCTION', 'TRUE'], '').
511 cli_testcase(135, [eventb_test], ['../prob_examples/public_examples/EventBPrologPackages/Test1.0/Testid_mch.eventb', '-t', '-strict', '-pref_group', integer, int32, '-p', 'CLPFD', 'TRUE'], '').
512 cli_testcase(136, [eventb_test,hash], ['../prob_examples/public_examples/EventBPrologPackages/sieve.eventb', '-t', '-strict', '-mc', '1000', '-check_complete', '-cc', '33', '33', '-strict',
513 '--hash64', 797695222146570849 % used to be 177433764074139889 until June 11th 2024 when packing of avl leaves updated
514 % used to be 142217803204665821 until Sep 9th 2021 until state packing adapted
515 ], 'Complete model check of Sieve').
516 cli_testcase(137, [eventb_test], ['../prob_examples/public_examples/EventBPrologPackages/TrafficLight/tlm_0.eventb', '-t', '-strict'], '').
517 cli_testcase(138, [eventb_test], ['../prob_examples/public_examples/EventBPrologPackages/TrafficLight/tlm_1.eventb', '-t', '-strict'], '').
518 cli_testcase(139, [eventb_test], ['../prob_examples/public_examples/EventBPrologPackages/TrafficLight/tlm_3.eventb', '-t', '-strict'], '').
519 cli_testcase(140, [eventb_test], ['../prob_examples/public_examples/EventBPrologPackages/Alexei/ttrain_fifo_mch.eventb', '-t', '-strict'], '').
520 cli_testcase(141, [eventb_test], ['../prob_examples/public_examples/EventBPrologPackages/SET_Game/SET_Game_mch.eventb', '-t', '-strict', '-p', 'CLPFD', 'TRUE', '-p', 'MAX_OPERATIONS', 93], '').
521 cli_testcase(142, [eventb_test], ['../prob_examples/public_examples/EventBPrologPackages/Stefan_SecureBuilding/M21_mch.eventb', '-mc', '10000', '-t', '-check_complete', '-cc', '11', '80', '-strict'], 'Event-B Secure Building').
522 cli_testcase(143, [eventb_test], ['../prob_examples/public_examples/EventBPrologPackages/Abrial_Train_Ch17/train_4_mch_lukas.eventb', '-mc', '200', '-t', '-strict', '-noass', '-expcterr', 'model_check_incomplete'], 'Abrial Train 4').
523 cli_testcase(144, [eventb_test], ['../prob_examples/public_examples/EventBPrologPackages/Test1.0/Testid_mch.eventb', '-t', '-strict', '-p', 'MAXINT', '99999', '-p', 'MININT', '-99999', '-p', 'CLPFD', 'TRUE'], '').
524 cli_testcase(145, [eventb_test], ['../prob_examples/public_examples/EventBPrologPackages/Test1.0/Testprj_mch.eventb', '-t', '-strict', '-p', 'MAXINT', '99999', '-p', 'MININT', '-99999'], '').
525 cli_testcase(146, [eventb_test], ['../prob_examples/public_examples/EventBPrologPackages/Test1.0/TestPartition_mch.eventb', '-t', '-strict'], 'Partition for Event-B').
526 cli_testcase(147, [eventb_test], ['../prob_examples/public_examples/B/EventB_AtelierB/Lift.sys', '-t', '-strict'], '').
527 cli_testcase(148, [eventb_test], ['../prob_examples/public_examples/EventBPrologPackages/MultiLevel/TestMC_m1_mch.eventb', '-mc', '1000', '-strict', '-p', 'NUMBER_OF_ANIMATED_ABSTRACTIONS', '20', '-nodead', '-expcterr', 'event_error:evt1:simulation_error'], 'Test simulation error').
528 cli_testcase(149, [eventb_test,hash], ['../prob_examples/public_examples/EventBPrologPackages/Convergence/countdown_r_mch.eventb', '-mc', '100', '-strict', '-p', 'NUMBER_OF_ANIMATED_ABSTRACTIONS', '20', '-cc', '7', '7', '--hash64', 714084921427841469], '').
529 cli_testcase(150, [eventb_test], ['../prob_examples/public_examples/EventBPrologPackages/Convergence/anticipated_grd_error.eventb', '-mc', '100', '-strict', '-p', 'NUMBER_OF_ANIMATED_ABSTRACTIONS', '20', '-nodead', '-expcterr', 'event_error:decr:variant_negative'], '').
530 cli_testcase(151, [eventb_test], ['../prob_examples/public_examples/EventBPrologPackages/Convergence/anticipated_var_error.eventb', '-mc', '100', '-strict', '-p', 'NUMBER_OF_ANIMATED_ABSTRACTIONS', '20', '-nodead', '-expcterr', 'event_error:inc:invalid_variant'], '').
531 cli_testcase(152, [eventb_test], ['../prob_examples/public_examples/EventBPrologPackages/Convergence/anticipated_svar_error.eventb', '-mc', '100', '-strict', '-p', 'NUMBER_OF_ANIMATED_ABSTRACTIONS', '20', '-nodead', '-expcterr', 'event_error:add:invalid_variant'], '').
532 cli_testcase(153, [eventb_test], ['../prob_examples/public_examples/EventBPrologPackages/Convergence/convergent_grd_error.eventb', '-mc', '100', '-strict', '-p', 'NUMBER_OF_ANIMATED_ABSTRACTIONS', '20', '-nodead', '-expcterr', 'event_error:decr:variant_negative'], '').
533 cli_testcase(154, [eventb_test], ['../prob_examples/public_examples/EventBPrologPackages/Convergence/convergent_var_error.eventb', '-mc', '100', '-strict', '-p', 'NUMBER_OF_ANIMATED_ABSTRACTIONS', '20', '-nodead', '-expcterr', 'event_error:decr:invalid_variant'], '').
534 cli_testcase(155, [eventb_test], ['../prob_examples/public_examples/EventBPrologPackages/Convergence/convergent_svar_error.eventb', '-mc', '100', '-strict', '-p', 'NUMBER_OF_ANIMATED_ABSTRACTIONS', '20', '-nodead', '-expcterr', 'event_error:do_nothing:invalid_variant'], '').
535 cli_testcase(156, [eventb_test], ['../prob_examples/public_examples/EventBPrologPackages/Convergence/variant_integer.eventb', '-mc', '100', '-strict', '-p', 'NUMBER_OF_ANIMATED_ABSTRACTIONS', '20', '-nodead', '-cc', '8', '19'], 'Event-B variant check').
536 cli_testcase(157, [eventb_test], ['../prob_examples/public_examples/EventBPrologPackages/Convergence/variant_set.eventb', '-mc', '100', '-strict', '-p', 'NUMBER_OF_ANIMATED_ABSTRACTIONS', '20', '-nodead', '-cc', '17', '97'], '').
537 cli_testcase(158, [eventb_test], ['../prob_examples/public_examples/EventBPrologPackages/Merging/merging_R2.eventb', '-mc', '100', '-strict', '-p', 'NUMBER_OF_ANIMATED_ABSTRACTIONS', '20', '-nodead', '-cc', '12', '11'], '').
538 cli_testcase(159, [eventb_test], ['../prob_examples/public_examples/EventBPrologPackages/MultiLevel/TheoremsInGuardsOK.eventb', '-mc', '10', '-nodead', '-check_complete', '-cc', '5', '4', '-strict'], 'Theorems in guards').
539 cli_testcase(160, [eventb_test], ['../prob_examples/public_examples/EventBPrologPackages/MultiLevel/TheoremsInGuardsKO.eventb', '-mc', '10', '-nodead', '-expcterr', 'event_error:inc:invalid_theorem_in_guard', '-strict'], '').
540 cli_testcase(161, [csp_test], ['../prob_examples/public_examples/CSP/mydemos/CompareWithFDR/GenPrime.csp', '-t', '-strict'], '').
541 cli_testcase(162, [csp_test], ['../prob_examples/public_examples/CSP/mydemos/demo/buses.csp', '-t', '-strict'], '').
542 cli_testcase(163, [csp_test], ['../prob_examples/public_examples/CSP/mydemos/demo/Peterson_v2.csp', '-t', '-strict', '-mc',1000, '-cc', 215, 429], '').
543 cli_testcase(164, [csp_test], ['-cs', '../prob_examples/public_examples/CSP/mydemos/demo/mbuff.csp', '-t', '-strict'], '').
544 cli_testcase(165, [csp_test], ['../prob_examples/public_examples/CSP/mydemos/demo/crossing.csp', '-t', '-strict', '-mc', '3910', '-check_complete', '-cc', '3933', '9367'], 'CSP crossing').
545 cli_testcase(166, [csp_test], ['../prob_examples/public_examples/CSP/mydemos/SetCompTests.csp', '-t', '-strict'], '').
546 cli_testcase(167, [csp_test], ['../prob_examples/public_examples/CSP/mydemos/SimpleCompLinkedPar.csp', '-t', '-strict', '-v'], 'CSP linked parallel test and exercise verbose flag in CSP mode').
547 cli_testcase(168, [csp_test], ['-cs', '../prob_examples/public_examples/CSP/mydemos/SequenceComprTests2.csp', '-t', '-strict'], 'Sequence comprehension in CSP').
548 cli_testcase(169, [csp_test], ['../prob_examples/public_examples/CSP/mydemos/BigUnionInterTests.csp', '-t', '-strict'], '').
549 cli_testcase(170, [csp_test], ['../prob_examples/public_examples/B/Tickets/299/faust_deadlock.csp', '-mc', '100000', '-strict', '-expcterr', 'deadlock'], '').
550 cli_testcase(171, [csp_test], ['../prob_examples/public_examples/CSP/FDRFeatureTests/LargeStateSpace.csp',
551 '-silent', '-mc', '999999', '-cc', '101102', '101101', '-strict', '-expcterr', 'deadlock'], 'Long counter-example trace').
552 cli_testcase(172, [csp_test], ['../prob_examples/public_examples/CSP/FDRFeatureTests/RenameRecordPattern.csp', '-mc', '999999', '-t', '-check_complete', '-cc', '4', '4'], '').
553 cli_testcase(173, [csp_test], ['../prob_examples/public_examples/CSP/FDRFeatureTests/RenameRecordPattern2.csp', '-t', '-assertions', '-strict'], '').
554 cli_testcase(174, [csp_test], ['../prob_examples/public_examples/CSP/FDRFeatureTests/SimpleRefTest.csp', '-assertions', '-strict'], '').
555 cli_testcase(175, [csp_test], ['../prob_examples/public_examples/CSP/fontaine/RecDataType.csp', '-t', '-strict'], '').
556 cli_testcase(176, [csp_test], ['../prob_examples/public_examples/CSP/fontaine/RecDataTypeFunctions.csp', '-t', '-strict'], '').
557 cli_testcase(177, [csp_test], ['../prob_examples/public_examples/CSP/simple/InSituRefChecks.csp', '-csp_assertion', 'Q [F= MAIN', '-csp_assertion', 'MAIN [F= Q', '-csp_assertion', 'Q [T= R', '-csp_assertion', 'R [F= Q', '-cc', 9, 20, '-strict'], '').
558 cli_testcase(178, [csp_test], ['../prob_examples/public_examples/CSP/simple/InSituRefChecks.csp', '-csp_assertion', 'Q [F= MAIN', '-csp_assertion', 'Q [F= R', '-strict', '-expcterr', 'refinement_check_fails'], '').
559 cli_testcase(179, [csp_test], ['../prob_examples/public_examples/CSP/UML_Compass/Microwave.csp', '-assertions', '-strict'], '').
560 cli_testcase(180, [csp_test], ['../prob_examples/public_examples/CSP/mydemos/demo/roscoe_section2-2.csp', '-assertions', '-strict'], '').
561 cli_testcase(181, [csp_test,csp_bench], ['../prob_examples/public_examples/CSP/ref_benchmarks/SimpleDeadlockCheck.csp', '-assertions', '-strict'], '').
562 cli_testcase(182, [csp_test,csp_bench], ['../prob_examples/public_examples/CSP/simple/DivChecks.csp', '-assertions', '-strict'], '').
563 cli_testcase(183, [csp_test,csp_bench], ['../prob_examples/public_examples/CSP/other/Ivo/Failure_Divergence_Tests.csp', '-assertions', '-strict'], '').
564 cli_testcase(184, [csp_test], ['../prob_examples/public_examples/CSP/other/Ivo/Deadlock_Skip_Tests.csp', '-assertions', '-strict'], '').
565 cli_testcase(185, [csp_test], ['../prob_examples/public_examples/CSP/other/Ivo/Failures_Tests.csp', '-assertions', '-strict'], '').
566 cli_testcase(186, [csp_test], ['../prob_examples/public_examples/CSP/other/Ivo/AgentErrorsLetWithIn.csp', '-assertions', '-strict'], '').
567 cli_testcase(188, [csp_test], ['../prob_examples/public_examples/CSP/other/Ivo/Deterministic_simple_v2.csp', '-assertions', '-strict'], '').
568 cli_testcase(189, [csp_test,codespeed], ['../prob_examples/public_examples/CSP/ref_benchmarks/abp_chapter5_roscoe_bench.csp', '-assertions', '-strict'], 'Roscoe chapter 5 tests').
569 cli_testcase(190, [csp_test], ['../prob_examples/public_examples/CSP/ref_benchmarks/ucs1.csp', '-assertions', '-strict'], '').
570 cli_testcase(191, [csp_test], ['../prob_examples/public_examples/CSP/simple/check_print.csp', '-t', '-strict'], '').
571 cli_testcase(192, [csp_test], ['../prob_examples/public_examples/CSP/simple/check_set_compr_pat.csp', '-t', '-mc', '1000', '-nodead', '-cc', '6', '10', '-strict'], '').
572 cli_testcase(193, [csp_test], ['../prob_examples/public_examples/CSP/ref_benchmarks/failsim.csp', '-assertions', '-strict'], '').
573 cli_testcase(194, [typechecker_test], ['../prob_examples/public_examples/B/Tickets/305/Environment.mch', '-t', '-strict'], '').
574 cli_testcase(195, [typechecker_test], ['../prob_examples/public_examples/B/Tickets/308/Basic_Controller.mch', '-t', '-mc', '100', '-strict', '-expcterr', 'model_check_incomplete'], '').
575 cli_testcase(196, [typechecker_test,unit], ['-typecheckertest','../prob_examples/public_examples/B/Typecheckertests/expressions.mch', '-strict'], '').
576
577 % SBMF 2010
578 cli_testcase(197, [counterex], ['../prob_examples/public_examples/B/Counterexamples/CarlaTravelAgencyErr.mch', '-mc', '1000', '-expcterr', 'invariant_violation', '-strict'], 'SBMF TravelAgency').
579 cli_testcase(198, [counterex], ['../prob_examples/public_examples/EventBPrologPackages/Stefan_SecureBuilding/M21_err3_mch.eventb', '-mc', '1000', '-expcterr', 'invariant_violation', '-strict'], 'SBMF SecureBldg_M21_err3').
580 cli_testcase(199, [counterex], ['../prob_examples/public_examples/B/PerformanceTests/dfcheck_houseset.mch', '-mc', '1000', '-df', '-expcterr', 'invariant_violation', '-expcterr', 'invariant_violation', '-strict'], 'SBMF Houseset').
581 cli_testcase(200, [counterex], ['../prob_examples/public_examples/B/PerformanceTests/BreadthFirstTest.mch', '-mc', '100000', '-expcterr', 'invariant_violation', '-strict'], 'SBMF BFTest').
582 cli_testcase(201, [counterex], ['../prob_examples/public_examples/B/PerformanceTests/DepthFirstTest.mch', '-mc', '100000', '-expcterr', 'invariant_violation', '-strict'], 'SBMF DFTest').
583 cli_testcase(202, [counterex], ['../prob_examples/public_examples/B/SymmetryReduction/Peterson_err.mch', '-mc', '10000', '-expcterr', 'invariant_violation', '-strict'], 'SBMF Peterson_err').
584 cli_testcase(203, [counterex], ['../prob_examples/public_examples/EventBPrologPackages/SSF/Bepi_Soton/M0_mch.eventb', '-mc', '10000', '-strict', '-expcterr', 'deadlock'], '').
585 cli_testcase(204, [counterex], ['../prob_examples/public_examples/EventBPrologPackages/SSF/Bepi_Soton/M3_mch.eventb', '-mc', '10000', '-strict', '-expcterr', 'deadlock'], '').
586 cli_testcase(205, [counterex,infinite,total_function], ['../prob_examples/public_examples/EventBPrologPackages/SSF/Bepi_Soton/M0_infinite_int.eventb', '-p', 'CLPFD', 'TRUE',
587 '-p', 'DEFAULT_SETSIZE', 3,
588 '-t', '-expcterr', virtual_time_out ], 'Requires total function from NATURAL to TC_Type; now succeeds again'). % was '-expcterr', setup_constants_fails
589
590 cli_testcase(206, [log_performance_tests,hash], ['../prob_examples/public_examples/EventBPrologPackages/sieve.eventb', '-mc', '1000', '-l', 'log/sieve.log', '-strict',
591 '--hash64', 797695222146570849, % see test 136
592 '-check_complete', '-cc', '33', '33'], 'Sieve Event-B version'). % test 136 with log
593 cli_testcase(207, [puzzles_test], ['../prob_examples/public_examples/B/Demo/RussianPostalPuzzle.mch', '-mc', '10000', '-expcterr', 'goal_found'], '').
594 cli_testcase(208, [puzzles_test], ['../prob_examples/public_examples/B/Demo/TrainTorchPuzzle.mch', '-mc', '10000', '-nodead', '-expcterr', 'goal_found'], '').
595 cli_testcase(209, [puzzles_test], ['../prob_examples/public_examples/B/Puzzles/BlocksWorldGeneric.mch', '-mc', '10000', '-expcterr', 'goal_found'], '').
596 cli_testcase(210, [puzzles_test], ['../prob_examples/public_examples/B/Puzzles/Farmer.mch', '-mc', '10000', '-expcterr', 'goal_found'], '').
597 cli_testcase(211, [puzzles_test], ['../prob_examples/public_examples/B/Puzzles/Hanoi.mch', '-mc', '10000', '-expcterr', 'goal_found'], '').
598 cli_testcase(212, [puzzles_test], ['../prob_examples/public_examples/B/Puzzles/Hanoi6.mch', '-mc', '10000', '-expcterr', 'goal_found'], '').
599 cli_testcase(213, [puzzles_test], ['../prob_examples/public_examples/B/Puzzles/Hanoi8.mch', '-mc', '10000', '-expcterr', 'goal_found'], 'Hanoi 8').
600 cli_testcase(214, [puzzles_test,symmetry_test], ['../prob_examples/public_examples/B/Puzzles/Hanoi6Sym.mch', '-p', 'SYMMETRY_MODE', 'hash', '-mc', '10000', '-expcterr', 'goal_found'], '').
601 cli_testcase(215, [puzzles_test,symmetry_test], ['../prob_examples/public_examples/B/Puzzles/Hanoi6Sym.mch','-p','SYMMETRY_MODE','hash','-mc','10000','-card','Stakes','4','-expcterr','goal_found'], 'Hanoi 6 with symmetry').
602 cli_testcase(216, [puzzles_test,symmetry_test], ['../prob_examples/public_examples/B/Puzzles/Hanoi8Sym.mch', '-p', 'SYMMETRY_MODE', 'hash', '-mc', '10000', '-expcterr', 'goal_found'], 'Hanoi 8 with symmetry').
603 cli_testcase(217, [puzzles_test,xtl], ['-mc', '10000', '../prob_examples/public_examples/XTL/Hanoi.P', '-nodead', '-expcterr', 'xtl_error'], 'Test XTL Hanoi example').
604 cli_testcase(218, [puzzles_test], ['../prob_examples/public_examples/B/Puzzles/water.mch', '-mc', '10000', '-expcterr', 'goal_found', '-vv'], 'Water puzzle').
605 cli_testcase(219, [puzzles_test], ['../prob_examples/public_examples/B/Puzzles/LatinSquares.mch', '-mc', '10000', '-p', 'MAXINT', 5, '-expcterr', deadlock], 'Latin squares puzzle').
606 cli_testcase(220, [puzzles_test], ['../prob_examples/public_examples/B/Puzzles/CrewAllocationConstants.mch', '-t', '-p', 'TIME_OUT', '5000', '-p', 'CLPFD', 'FALSE'], 'Crew allocation puzzle (no CLPFD)').
607 cli_testcase(221, [puzzles_test,codespeed], ['../prob_examples/public_examples/B/Puzzles/CrewAllocationConstants.mch', '-t', '-p', 'TIME_OUT', '8000', '-p', 'CLPFD', 'TRUE'], 'Crew allocation puzzle').
608 cli_testcase(222, [b_test,cruise,codespeed,hash], ['../prob_examples/public_examples/B/Benchmarks/Cruise_finite1.mch', '-mc', '1400', '-cc', '1361', '25696', '-strict', '--hash64', 753243318772366897 , '-p', 'MAX_INITIALISATIONS', 5], 'Complete Model Check of Cruise Controller'). % 17.9.2021: adapted hash from 203058745203935766 for sorted order of variables, 8.12.2015: adapted hash from 212678735433640605 for new order of variables
609 cli_testcase(223, [error_checks,wd,card], ['../prob_examples/public_examples/B/ErrorMachines/CardInfOverflow.mch', '-mc', '100', '-strict', '-expcterr', 'card_overflow_error', % was 'well_definedness_error' until 12th May 2024
610 '-expcterr', 'invariant_violation', '-p', 'CLPFD', 'FALSE'], '').
611 cli_testcase(224, [error_checks], ['../prob_examples/public_examples/B/ErrorMachines/TwoOpsSameName.mch', '-strict', '-expcterr', 'type_error', '-expcterr', 'load_main_file'], 'Two operations with the same name').
612 cli_testcase(225, [error_checks], ['../prob_examples/public_examples/B/ErrorMachines/PreCondViolated.mch', '-mc', '10', '-strict', '-expcterr', 'precondition_error'], 'Precondition violation detected').
613 cli_testcase(226, [error_checks], ['../prob_examples/public_examples/B/ErrorMachines/AssertCondViolated.mch', '-mc', '10', '-strict', '-expcterr', 'assert_error'], 'Assertion condition violation detected').
614 cli_testcase(227, [error_checks,while], ['../prob_examples/public_examples/B/ErrorMachines/WhileLoopOk.mch', '-t', '-mc', '30', '-p', 'MAX_OPERATIONS', 30, '-check_complete', '-cc', '11', '66'], 'While loop check').
615 cli_testcase(228, [error_checks,while], ['../prob_examples/public_examples/B/ErrorMachines/WhileLoopVariantError.mch', '-mc', '10', '-strict', '-expcterr', 'while_variant_error'], '').
616 cli_testcase(229, [error_checks,while], ['../prob_examples/public_examples/B/ErrorMachines/WhileLoopVariantErr2.mch', '-mc', '10', '-strict', '-expcterr', 'while_variant_error'], '').
617 cli_testcase(230, [error_checks,while], ['../prob_examples/public_examples/B/ErrorMachines/WhileLoopInvariantError.mch', '-mc', '10', '-strict', '-expcterr', 'while_invariant_violation'], '').
618 cli_testcase(231, [error_checks,wd], ['../prob_examples/public_examples/B/ErrorMachines/FunLaws_wderror.mch', '-mc', '2500', '-strict', '-expcterr', 'well_definedness_error',
619 '-opterr', invariant_violation % as of 17.3.2023 we also raise an invariant error here
620 ], 'FunLaws with wd_error').
621 cli_testcase(232, [error_checks,wd], ['../prob_examples/public_examples/B/ErrorMachines/UndefinedArithmetic/DivByZero.mch', '-init', '-strict', '-expcterr', 'well_definedness_error'], '').
622 cli_testcase(233, [error_checks,wd], ['../prob_examples/public_examples/B/ErrorMachines/TestWDProblems_mch.eventb', '-init', '-animate', '1', '-strict', '-expcterr', 'well_definedness_error', '-expcterr', 'invariant_violation', '-expcterr', 'event_error:divby0:action_not_executable'], '').
623 cli_testcase(234, [error_checks,wd,exists], ['../prob_examples/public_examples/B/ErrorMachines/UndefinedArithmetic/DivByZeroInsideNotExists.mch', '-strict', '-init', '-expcterr', 'well_definedness_error', '-expcterr', 'setup_constants_unknown'], '').
624 cli_testcase(235, [error_checks,wd], ['../prob_examples/public_examples/B/ErrorMachines/UndefinedArithmetic/PowerOfNegativeNumber.mch', '-strict', '-t', '-expcterr', 'well_definedness_error'], '').
625 cli_testcase(236, [error_checks,wd], ['../prob_examples/public_examples/B/ErrorMachines/UndefinedInter.mch', '-init', '-animate', '1', '-strict', '-expcterr', 'well_definedness_error','-expcterr', 'animate'], '').
626 cli_testcase(237, [error_checks,wd,quantified], ['../prob_examples/public_examples/B/ErrorMachines/UndefinedBigINTER.mch', '-init', '-animate', '1', '-strict', '-expcterr', 'well_definedness_error','-expcterr', 'animate'], '').
627 cli_testcase(238, [error_checks,wd], ['../prob_examples/public_examples/B/ErrorMachines/UndefinedArithmetic/MaxOfEmptySet.mch', '-init', '-strict', '-expcterr', 'well_definedness_error'], '').
628 cli_testcase(239, [error_checks,wd], ['../prob_examples/public_examples/B/ErrorMachines/UndefinedArithmetic/MinOfEmptySet.mch', '-init', '-strict', '-expcterr', 'well_definedness_error'], '').
629 cli_testcase(240, [error_checks,wd], ['../prob_examples/public_examples/B/ErrorMachines/UndefinedSeqOperations/LastEmptySeq.mch', '-init', '-strict', '-expcterr', 'well_definedness_error'], '').
630 cli_testcase(241, [error_checks,wd], ['../prob_examples/public_examples/B/ErrorMachines/UndefinedSeqOperations/FrontEmptySeq.mch', '-init', '-strict', '-expcterr', 'well_definedness_error'], '').
631 cli_testcase(242, [error_checks], ['../prob_examples/public_examples/B/ErrorMachines/OpCalls/Caller.mch', '-strict', '-expcterr', 'precondition_error', '-mc', '100'], '').
632 cli_testcase(243, [error_checks], ['../prob_examples/public_examples/B/ErrorMachines/MultiAssignInit_bug.mch', '-t', '-strict', '-expcterr', 'type_error', '-expcterr', 'load_main_file'], 'Check that we detect when we assign a variable twice in the INITIALISATION').
633 cli_testcase(244, [error_checks], ['../prob_examples/public_examples/B/ErrorMachines/TypeError1.mch', '-strict', '-expcterr', 'type_error', '-expcterr', 'load_main_file'], '').
634 cli_testcase(245, [error_checks], ['../prob_examples/public_examples/B/ErrorMachines/TypeError2.mch', '-strict', '-expcterr', 'type_error', '-expcterr', 'load_main_file'], '').
635 cli_testcase(246, [error_checks], ['../prob_examples/public_examples/B/ErrorMachines/TypeError3.mch', '-strict', '-expcterr', 'type_error', '-expcterr', 'load_main_file'], '').
636 cli_testcase(247, [error_checks], ['../prob_examples/public_examples/B/ErrorMachines/TypeError4.mch', '-strict', '-expcterr', 'type_error', '-expcterr', 'load_main_file'], '').
637 cli_testcase(248, [error_checks], ['../prob_examples/public_examples/B/ErrorMachines/CstDefError1.mch', '-strict', '-expcterr', 'type_error', '-expcterr', 'load_main_file'], '').
638 cli_testcase(249, [error_checks], ['../prob_examples/public_examples/B/ErrorMachines/CstDefError2.mch', '-strict', '-expcterr', 'type_error', '-expcterr', 'load_main_file'], '').
639 cli_testcase(250, [error_checks], ['../prob_examples/public_examples/B/ErrorMachines/ParameterError1.mch', '-strict', '-expcterr', 'type_error', '-expcterr', 'load_main_file'], '').
640 cli_testcase(251, [error_checks], ['../prob_examples/public_examples/B/ErrorMachines/TicTacToe_ErrOp.mch','-strict','-expcterr','type_error','-expcterr','load_main_file','-expcterr',bmachine_static_checks], '').
641 cli_testcase(252, [error_checks], ['../prob_examples/public_examples/B/ErrorMachines/AssignmentToParameterErr.mch', '-strict', '-expcterr', 'type_error', '-expcterr', 'load_main_file'], '').
642 cli_testcase(253, [error_checks], ['../prob_examples/public_examples/B/ErrorMachines/NoTypingForPara.mch', '-strict', '-expcterr', 'type_error', '-expcterr', 'load_main_file'], '').
643 cli_testcase(254, [error_checks,parser], ['../prob_examples/public_examples/B/ErrorMachines/RecursiveDefinition.mch', '-strict', '-expcterrpos', 'parse_error', 10, 0, '-expcterr', 'load_main_file'], '').
644 cli_testcase(255, [tickets,codespeed], ['../prob_examples/public_examples/B/Tickets/184/ModeProtocolMachine_mch.eventb', '-mc', '20000', '-noass', '-card', 'MANAGERS', '1', '-p', 'MAX_INITIALISATIONS', '10', '-p', 'CLPFD', 'TRUE', '-strict' , '-expcterr', 'model_check_incomplete'], 'ModeProtocol model check').
645 cli_testcase(256, [tickets,card], ['../prob_examples/public_examples/B/Tickets/184/ModeProtocolMachine_mch.eventb', '-mc', '200000', '-noass', '-p', 'MAX_INITIALISATIONS', '10', '-cs', '--goal', 'card(incoming(MnAOC))>0 & card(outgoing(MnAOC))>0', '-strict', '-expcterr', 'goal_found'], 'ModeProtocol searching for goal').
646 cli_testcase(257, [tickets], ['../prob_examples/public_examples/B/Tickets/102/Bijections_mch.eventb', '-t', '-mc', '1000', '-nodead', '-check_complete', '-cc', '2', '1'], '').
647 cli_testcase(258, [tickets], ['../prob_examples/public_examples/B/Tickets/102/PartialInjections_mch.eventb', '-t', '-mc', '1000', '-nodead', '-check_complete', '-cc', '2', '1'], '').
648 cli_testcase(259, [tickets], ['../prob_examples/public_examples/B/Tickets/102/PartialFunctions_mch.eventb', '-mc', '1000', '-nodead', '-check_complete', '-cc', '2', '1'], '').
649 cli_testcase(260, [tickets], ['../prob_examples/public_examples/B/Tickets/102/Relations_mch.eventb', '-mc', '1000', '-nodead', '-check_complete', '-cc', '2', '1'], '').
650 cli_testcase(261, [tickets], ['../prob_examples/public_examples/B/Tickets/102/TotalFunctions_mch.eventb', '-mc', '1000', '-nodead', '-check_complete', '-cc', '2', '1'], '').
651 cli_testcase(262, [tickets], ['../prob_examples/public_examples/B/Tickets/102/TotalInjections_mch.eventb', '-mc', '1000', '-nodead', '-check_complete', '-cc', '2', '1'], '').
652 cli_testcase(263, [tickets], ['../prob_examples/public_examples/B/Tickets/102/TotalSurjections_mch.eventb', '-mc', '1000', '-t', '-nodead', '-check_complete', '-cc', '2', '1'], '').
653 cli_testcase(264, [tickets], ['../prob_examples/public_examples/B/Tickets/102/PartialSurjections_mch.eventb', '-mc', '1000', '-t', '-nodead', '-check_complete', '-cc', '2', '1'], '').
654 cli_testcase(265, [tickets], ['../prob_examples/public_examples/B/Tickets/102/TotalRelations_mch.eventb', '-mc', '1000', '-t', '-nodead', '-check_complete', '-cc', '2', '1'], '').
655 cli_testcase(266, [tickets], ['../prob_examples/public_examples/B/Tickets/Sven1/AbsIntern.mch', '-t', '-strict'], '').
656 cli_testcase(267, [tickets], ['../prob_examples/public_examples/B/Tickets/Sven1/AbsInternCst.mch', '-t', '-strict'], '').
657 cli_testcase(268, [tickets], ['../prob_examples/public_examples/B/Tickets/Valerio1/MAX_BIT_VECTOR_DEFINITION_v2.mch', '-t', '-strict', '-properties'], '').
658 cli_testcase(269, [tickets], ['../prob_examples/public_examples/B/Tickets/Valerio1/MAX_BIT_VECTOR_DEFINITION_v2.mch', '-t', '-strict', '-p', 'SYMBOLIC', 'TRUE'], '').
659 cli_testcase(270, [tickets], ['../prob_examples/public_examples/B/Tickets/Valerio1/MAX_BIT_VECTOR_DEFINITION_v2.mch', '-t', '-strict', '-p', 'MAXINT', '100', '-properties', '-p', 'SYMBOLIC', 'TRUE'], ''). % , '-p', 'EXPAND_CLOSURES_FOR_STATE', 'FALSE'
660 cli_testcase(271, [tickets], ['../prob_examples/public_examples/B/Tickets/Valerio1/MAX_BIT_VECTOR_DEFINITION_v2.mch', '-t', '-strict', '-p', 'MAXINT', '100', '-properties', '-p', 'SYMBOLIC', 'TRUE'], 'Valerio1 Ticket. Can not be run on windows due to memory restrictions.'). % , '-p', 'EXPAND_CLOSURES_FOR_STATE', 'TRUE'
661 cli_testcase(272, [tickets], ['../prob_examples/public_examples/B/Tickets/Butler1/M2_mch.eventb', '-mc', '1000', '-strict', '-expcterr', 'invariant_violation', '-expcterr', 'event_error:Enter:simulation_error'], '').
662 cli_testcase(273, [tickets], ['../prob_examples/public_examples/B/Tickets/Valerio3/BV16_DEFINITION.mch', '-t', '-strict', '-properties', '-p', 'SYMBOLIC', 'TRUE', '-p', 'CLPFD', 'TRUE'], ''). % , '-p', 'EXPAND_CLOSURES_FOR_STATE', 'FALSE'
663 cli_testcase(274, [tickets], ['../prob_examples/public_examples/B/Tickets/Valerio3/POWER2_v2.mch', '-init', '-strict', '-aa', '19', '0', '0'], '').
664 cli_testcase(275, [tickets], ['../prob_examples/public_examples/B/Tickets/Valerio3/POWER2.mch', '-init', '-strict', '-ma', '18', '0', '0'], '').
665 cli_testcase(276, [tickets], ['../prob_examples/public_examples/B/Tickets/Valerio4/FailingInit1.mch', '-init', '-strict', '-expcterr', 'initialisation_fails', '-expcterr', bmachine_static_checks], '').
666 cli_testcase(277, [tickets,wd], ['../prob_examples/public_examples/B/Tickets/Valerio4/FailingInit2.mch', '-init', '-strict', '-expcterr', 'initialisation_fails', '-expecterr', 'well_definedness_error', '-expcterr', bmachine_static_checks], '').
667 cli_testcase(278, [tickets,wd], ['../prob_examples/public_examples/B/Tickets/Valerio4/FailingInit3.mch', '-init', '-strict',
668 % '-expcterrpos', 'initialisation_fails', 10, 27,
669 '-expcterr', 'initialisation_fails', % we now have two errors, one with and one without position info
670 '-expcterr', 'well_definedness_error', '-expcterr', bmachine_static_checks], '').
671 cli_testcase(279, [tickets], ['../prob_examples/public_examples/B/Tickets/Valerio4/FailingInit4.mch', '-init', '-strict', '-expcterr', 'initialisation_fails', '-expcterr', bmachine_static_checks], '').
672 cli_testcase(280, [tickets], ['../prob_examples/public_examples/B/Tickets/Valerio4/FailingInit5.mch', '-init', '-strict', '-expcterr', 'initialisation_fails', '-expcterr', bmachine_static_checks], '').
673 cli_testcase(281, [tickets], ['../prob_examples/public_examples/B/Tickets/Valerio6/Z80_Simple.mch', '-strict', '-t', '-p', 'CLPFD', 'TRUE'], '').
674 cli_testcase(282, [tickets], ['../prob_examples/public_examples/B/Tickets/Alstom1/TestBecomesElementOf.mch', '-strict', '-t', '-p', 'CLPFD', 'TRUE'], 'becomes element of cartesian product').
675 cli_testcase(283, [tickets], ['../prob_examples/public_examples/B/Tickets/Alstom1/TestPFBecomeSuch.mch', '-strict', '-t', '-p', 'CLPFD', 'TRUE'], 'becomes element of partial function').
676 cli_testcase(284, [tickets], ['../prob_examples/public_examples/B/Tickets/Alstom1/MAXINT_M1.mch', '-strict', '-t', '-p', 'CLPFD', 'TRUE'], '').
677 cli_testcase(285, [tickets], ['../prob_examples/public_examples/B/Tickets/93/lift.eventb', '-strict', '-t', '-expcterr', 'event_error:ScheduleGoingUp:invalid_theorem_in_guard', '-expcterr', 'event_error:ScheduleGoingUp:invalid_modification'], '').
678 cli_testcase(286, [tickets,exists], ['../prob_examples/public_examples/B/Tester/TestExistsLetExtraction.mch', '-t', '-strict'], '').
679 cli_testcase(287, [tickets,imp], ['../prob_examples/public_examples/B/Tickets/177/loop_invariant.imp', '-strict', '-t'], '').
680 cli_testcase(288, [tickets], ['../prob_examples/public_examples/B/Tickets/181/alstom_memory.mch', '-strict', '-t', '-mc', '100', '-check_complete', '-cc', '3', '8'], '').
681 cli_testcase(289, [laws,rel_fnc], ['../prob_examples/public_examples/EventBPrologPackages/Laws/ExplicitComputationsEventB_ctx.eventb', '-init', '-strict', '-p', 'CLPFD', 'TRUE', '-p', 'TIME_OUT', '9500'], 'Many explicit computations which check that all operators work as expected on various concrete data (for Event-B).'). % increased time-out from 7 sec to 9.5 sec on 18th of May; TO DO: investigate whether we can reduce it again; % was slowed down by commit ab8c8667c43324c15b337c213c4140af6ec7d110 add propagate_result_to_input for domain operator
682 cli_testcase(290, [laws], ['../prob_examples/public_examples/EventBPrologPackages/Laws/LawsEventBSpecific.eventb', '-t', '-mc', '1000', '-nodead', '-strict','-p', 'DOUBLE_EVALUATION', 'TRUE', '-p', 'CLPFD', 'FALSE',
683 '-opterr', virtual_time_out, % no longer required when x:NATURAL translated to x>=0
684 '-expcterr', 'model_check_incomplete'], 'LawsEventBSpecific (CLPFD FALSE)').
685 cli_testcase(291, [laws], ['../prob_examples/public_examples/B/Laws/EqualityLaws.mch', '-t', '-mc', '100000', '-nodead', '-cs', '-strict','-p', 'DOUBLE_EVALUATION', 'TRUE'], '').
686 cli_testcase(292, [laws,rel_fnc], ['../prob_examples/public_examples/B/Laws/ExplicitComputations.mch', '-t', '-mc', '100000', '-nodead', '-cs', '-strict', '-p', 'CLPFD', 'FALSE', '-p', 'TIME_OUT', '7000'], 'Many explicit computations which check that all operators work as expected on various concrete data (CLPFD FALSE).').
687 cli_testcase(293, [laws,rel_fnc,cbc], ['../prob_examples/public_examples/B/Laws/ExplicitComputations.mch', '-t', '-mc', '100000', '-nodead', '-cs', '-strict', '-p', 'CLPFD', 'TRUE', '-p', 'TIME_OUT', '9000'], 'Many explicit computations which check that all operators work as expected on various concrete data (CLPFD mode).').
688 cli_testcase(294, [laws], ['../prob_examples/public_examples/B/Laws/BoolLaws.mch', '-mc', '100000', '-nodead', '-cs', '-strict','-p', 'DOUBLE_EVALUATION', 'TRUE'], 'Various laws about BOOL datatype and boolean connectives.').
689 cli_testcase(295, [laws], ['../prob_examples/public_examples/B/Laws/ArithmeticLaws.mch',
690 '../prob_examples/public_examples/B/Laws/ArithmeticExpLaws.mch',
691 '-mc', '100000', '-cs', '-nodead', '-strict','-p', 'DOUBLE_EVALUATION', 'TRUE'], 'Various arithmetic laws.').
692 cli_testcase(296, [laws], ['../prob_examples/public_examples/B/Laws/NatRangeLaws.mch', '-mc', '100000', '-cs', '-nodead', '-strict','-p', 'DOUBLE_EVALUATION', 'TRUE'], 'Laws about intervals etc.').
693 cli_testcase(297, [laws,rel_fnc], ['../prob_examples/public_examples/B/Laws/RelLaws.mch', '-mc', '500', '-cs', '-nogoal', '-nodead', '-strict','-p', 'DOUBLE_EVALUATION', 'TRUE', '-expcterr', 'model_check_incomplete'], 'Use model checking to check a variety of laws on relations.').
694 cli_testcase(298, [laws], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
695 '../prob_examples/public_examples/B/Laws/SetLaws.mch', '-mc', '600', '-cs', '-nogoal', '-nodead', '-strict', '-p', 'CLPFD', 'FALSE', '-cc', 513, 3841], 'Mathematical Laws about Sets').
696 cli_testcase(299, [laws], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
697 '../prob_examples/public_examples/B/Laws/SetLaws.mch', '-mc', '600', '-cs', '-nogoal', '-nodead', '-strict', '-p', 'SYMBOLIC', 'TRUE', '-p', 'CLPFD', 'FALSE', '-cc', 513, 3841], 'Mathematical Laws about Sets').
698 cli_testcase(300, [laws], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
699 '../prob_examples/public_examples/B/Laws/SetLaws.mch', '-mc', '600', '-cs', '-nogoal', '-nodead', '-strict', '-p', 'CLPFD', 'TRUE', '-cc', 513, 3841], 'Mathematical Laws about Sets').
700 cli_testcase(301, [laws], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
701 '../prob_examples/public_examples/B/Laws/SetLaws.mch', '-mc', '600', '-cs', '-nogoal', '-nodead', '-strict', '-p', 'CLPFD', 'TRUE', '-p', 'SYMBOLIC', 'TRUE', '-cc', 513, 3841], 'Mathematical Laws about Sets'). % 513 states = 8*8*8 + 1
702 cli_testcase(302, [laws], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
703 '../prob_examples/public_examples/B/Laws/SetLawsNat.mch', '-mc', '500', '-cs', '-nogoal', '-nodead', '-strict', '-p', 'CLPFD', 'FALSE', '-expcterr', 'model_check_incomplete'], 'Mathematical Laws about Sets (with Natural Numbers, CLPFD FALSE)').
704 cli_testcase(303, [laws], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
705 '../prob_examples/public_examples/B/Laws/SetLawsNat.mch', '-mc', '500', '-cs', '-nogoal', '-nodead', '-strict', '-p', 'CLPFD', 'TRUE','-p', 'DOUBLE_EVALUATION', 'TRUE', '-expcterr', 'model_check_incomplete'], 'Mathematical Laws about Sets (with Natural Numbers)').
706 cli_testcase(304, [laws], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
707 '../prob_examples/public_examples/B/Laws/SetLawsNat.mch', '-mc', '500', '-cs', '-nogoal', '-nodead', '-strict', '-p', 'SYMBOLIC', 'TRUE', '-expcterr', 'model_check_incomplete'], 'Mathematical Laws about Sets (with Natural Numbers)').
708 cli_testcase(305, [laws,repl], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
709 '../prob_examples/public_examples/B/Laws/REPL_UNIT_TESTS0.mch', '-t', '-mc', '100000', '-cs', '-strict', '-p', 'CLPFD', 'TRUE', '-assertions', '-p', 'TIME_OUT', '28000'], 'Some REPL Unit Tests').
710 cli_testcase(306, [laws,repl], ['../prob_examples/public_examples/B/Laws/REPL_UNIT_TESTS1.mch', '-t', '-mc', '100000', '-cs', '-strict', '-p', 'CLPFD', 'TRUE', '-assertions', '-p', 'TIME_OUT', '28000'], 'Some REPL Unit Tests').
711 cli_testcase(307, [laws,repl], ['../prob_examples/public_examples/B/Laws/REPL_UNIT_TESTS.mch', '-t', '-mc', '100000', '-cs', '-strict', '-p', 'CLPFD', 'TRUE', '-assertions', '-p', 'TIME_OUT', '45000'], 'Some REPL Unit Tests').
712 cli_testcase(308, [laws,rel_fnc], ['../prob_examples/public_examples/B/Daniel/rel_fnc.mch', '-t', '-mc', '20000', '-strict', '-p', 'CLPFD', 'TRUE', '-expcterr', 'model_check_incomplete'], 'A small machine to check that rel/fnc work as expected.').
713 cli_testcase(309, [laws,card], ['../prob_examples/public_examples/B/Laws/CardinalityLaws.mch', '-mc', '2500', '-cs', '-nogoal', '-nodead', '-strict', '-p', 'CLPFD', 'TRUE'], 'Cardinality Laws').
714 cli_testcase(310, [cbc_deadlock], ['../prob_examples/public_examples/EventBPrologPackages/SSF/Bepi_Soton/M0_mch.eventb', '-cbc_deadlock', '-expcterr', 'cbc_deadlock_check', '-strict'], '').
715 cli_testcase(311, [cbc_deadlock], ['../prob_examples/public_examples/EventBPrologPackages/SSF/Bepi_Soton/M1_mch.eventb', '-cbc_deadlock', '-expcterr', 'cbc_deadlock_check', '-strict'], '').
716 cli_testcase(312, [cbc_deadlock], ['../prob_examples/public_examples/EventBPrologPackages/SSF/Bepi_Soton/M2_mch.eventb', '-cbc_deadlock', '-expcterr', 'cbc_deadlock_check', '-strict'], '').
717 cli_testcase(313, [cbc_deadlock], ['../prob_examples/public_examples/EventBPrologPackages/SSF/Bepi_Soton/M3_mch.eventb', '-cbc_deadlock', '-expcterr', 'cbc_deadlock_check', '-strict'], '').
718 cli_testcase(314, [cbc_deadlock], ['../prob_examples/public_examples/B/Demo/Lift.mch', '-cbc_deadlock', '-strict'], '').
719 cli_testcase(315, [cbc_deadlock], ['../prob_examples/public_examples/B/Benchmarks/Cruise_finite1.mch', '-cbc_deadlock', '-strict'], '').
720 cli_testcase(316, [cbc_deadlock], ['../prob_examples/public_examples/B/Demo/RussianPostalPuzzle.mch', '-cbc_deadlock', '-strict'], '').
721 cli_testcase(317, [cbc_deadlock], ['../prob_examples/public_examples/B/CBC/NoDeadlock.mch', '-cbc_deadlock', '-strict'], '').
722 cli_testcase(318, [cbc_deadlock], ['../prob_examples/public_examples/B/CBC/SimpleDeadlock1.mch', '-cbc_deadlock', '-strict', '-expcterr', 'cbc_deadlock_check'], '').
723 cli_testcase(319, [cbc_deadlock], ['../prob_examples/public_examples/B/CBC/DeadlockIntBools.mch', '-cbc_deadlock', '-strict', '-expcterr', 'cbc_deadlock_check'], '').
724 cli_testcase(320, [cbc_deadlock], ['../prob_examples/public_examples/B/CBC/ProcessIDStarvation.mch', '-cbc_deadlock', '-strict', '-expcterr', 'cbc_deadlock_check'], '').
725 cli_testcase(321, [cbc_deadlock], ['../prob_examples/public_examples/B/CBC/ProcessIDStarvation_InvErr.mch', '-cbc_deadlock', '-strict'], '').
726 cli_testcase(322, [cbc_deadlock], ['../prob_examples/public_examples/B/CBC/MinSet_Deadlock.mch', '-cbc_deadlock', '-strict', '-expcterr', 'cbc_deadlock_check'], '').
727 cli_testcase(323, [cbc_deadlock,smt_test], ['../prob_examples/public_examples/EventBPrologPackages/Vizing_Breitner/m12_Deadlock_Freedom_mch.eventb', '-p','TIME_OUT','200','-cbc_deadlock', '-p', 'CLPFD', 'TRUE', '-p', 'SMT', 'TRUE', '-strict', '-p','DEFAULT_SETSIZE',1], ''). /* with size 2 only works if SMT mode is allowed to instantiate */
728 cli_testcase(324, [cbc,smt_test], ['../prob_examples/public_examples/EventBPrologPackages/Vizing_Breitner/m11_Conv_Stages_mch.eventb', '-cbc_deadlock', '-p', 'CLPFD', 'TRUE', '-p', 'SMT', 'TRUE', '-strict','-p', 'DEFAULT_SETSIZE',2,
729 '-p', 'TIME_OUT', '9500'], 'Vizing_Breitner challenging Deadlock Test'). % increased time-out for jenkins; locally the test runs in 22-23 seconds (MBA, Sept. 2015); time-out factor is 10 for -cbc_deadlock
730 % increased time-out from 7500 further for Windows gitlab runner on 14th Feb 2019
731 cli_testcase(325, [cbc_deadlock], ['../prob_examples/public_examples/EventBPrologPackages/Deadlock/BrakeSystem_mch.eventb', '-cbc_deadlock', '-strict', '-expcterr', 'cbc_deadlock_check'], '').
732 cli_testcase(326, [cbc_deadlock], ['../prob_examples/public_examples/EventBPrologPackages/Deadlock/QueenEventsTF_mch.eventb', '-cbc_deadlock', '-strict', '-expcterr', 'cbc_deadlock_check', '-p', 'CLPFD', 'FALSE'], '').
733 cli_testcase(327, [cbc_deadlock,smt_test], ['../prob_examples/public_examples/EventBPrologPackages/Deadlock/QueenEventsTF_mch.eventb', '-cbc_deadlock_pred', 'n=15', '-p', 'CLPFD', 'TRUE', '-p', 'SMT', 'TRUE', '-strict', '-expcterr', 'cbc_deadlock_check'], '').
734 cli_testcase(328, [cbc_deadlock,smt_test], ['../prob_examples/public_examples/EventBPrologPackages/Deadlock/QueenEventsTF_mch.eventb', '-cbc_deadlock_pred', 'n=32', '-p', 'CLPFD', 'TRUE', '-p', 'SMT', 'TRUE', '-strict', '-expcterr', 'cbc_deadlock_check'], '').
735 cli_testcase(329, [cbc_deadlock], ['../prob_examples/public_examples/EventBPrologPackages/Alexei/ttrain_mch.eventb', '-cbc_deadlock', '-strict', '-expcterr', 'cbc_deadlock_check'], '').
736 cli_testcase(330, [cbc_deadlock], ['../prob_examples/public_examples/EventBPrologPackages/Alexei/ttrain_mch_unproven.eventb', '-cbc_deadlock', '-strict', '-expcterr', 'cbc_deadlock_check'], '').
737 cli_testcase(331, [cbc_deadlock], ['../prob_examples/public_examples/EventBPrologPackages/Alexei/ttrain_fifo_mch.eventb', '-cbc_deadlock', '-strict', '-expcterr', 'cbc_deadlock_check'], '').
738 cli_testcase(332, [cbc_deadlock], ['../prob_examples/public_examples/EventBPrologPackages/platoon/platoon_1_mch.eventb', '-cbc_deadlock', '-strict', '-expcterr', 'cbc_deadlock_check' ,'-p', 'CLPFD', 'TRUE' % TO DO: investigate why we now need CLPFD or SMT
739 ], '').
740 cli_testcase(333, [cbc_deadlock], ['../prob_examples/public_examples/EventBPrologPackages/platoon/platoon_2_mch.eventb', '-cbc_deadlock', '-strict', '-expcterr', 'cbc_deadlock_check', '-p', 'CLPFD', 'FALSE'], '').
741 cli_testcase(334, [cbc_deadlock], ['../prob_examples/public_examples/EventBPrologPackages/platoon/platoon_2_mch.eventb', '-cbc_deadlock', '-strict', '-expcterr', 'cbc_deadlock_check', '-p', 'CLPFD', 'TRUE'], '').
742 cli_testcase(335, [cbc_deadlock], ['../prob_examples/public_examples/EventBPrologPackages/Abrial_Teaching/ch2_car/m0_mch_deadlock.eventb', '-cbc_deadlock', '-strict', '-expcterr', 'cbc_deadlock_check'], '').
743 cli_testcase(336, [cbc_deadlock], ['../prob_examples/public_examples/EventBPrologPackages/Abrial_Teaching/ch2_car/m0_mch_deadlock.eventb', '-cbc_deadlock', '-strict', '-expcterr', 'cbc_deadlock_check'], '').
744 cli_testcase(337, [cbc_deadlock], ['../prob_examples/public_examples/EventBPrologPackages/Abrial_Teaching/ch2_car/m0_mch.eventb', '-cbc_deadlock', '-strict'], '').
745 cli_testcase(338, [cbc_deadlock], ['../prob_examples/public_examples/EventBPrologPackages/Abrial_Teaching/ch2_car/m1_mch.eventb', '-cbc_deadlock', '-strict'], '').
746 cli_testcase(339, [cbc_deadlock], ['../prob_examples/public_examples/EventBPrologPackages/Abrial_Teaching/ch2_car/m2_mch.eventb',
747 '-cbc_deadlock', '-strict',
748 '-expcterr', 'enumeration_warning'], 'CBC Deadlock check with enumeration warning').
749 cli_testcase(340, [cbc_deadlock], ['../prob_examples/public_examples/EventBPrologPackages/Abrial_Teaching/ch2_car/m3_mch.eventb',
750 '-cbc_deadlock', '-strict',
751 '-expcterr', 'enumeration_warning'], 'CBC Deadlock check with enumeration warning').
752 cli_testcase(341, [cbc_deadlock], ['../prob_examples/public_examples/EventBPrologPackages/Abrial_Teaching/search/m_1b_mch.eventb', '-cbc_deadlock', '-strict'], '').
753 cli_testcase(342, [cbc_deadlock], ['../prob_examples/public_examples/EventBPrologPackages/TrafficLight/tlm_1.eventb', '-cbc_deadlock', '-strict', '-strict', '-expcterr', 'cbc_deadlock_check'], '').
754 cli_testcase(343, [cbc_deadlock], ['../prob_examples/public_examples/EventBPrologPackages/TrafficLight/tlm_2.eventb', '-cbc_deadlock', '-strict', '-strict', '-expcterr', 'cbc_deadlock_check'], '').
755 cli_testcase(344, [cbc_deadlock], ['../prob_examples/public_examples/EventBPrologPackages/TrafficLight/tlm_3.eventb', '-cbc_deadlock', '-strict', '-strict', '-expcterr', 'cbc_deadlock_check'], '').
756 cli_testcase(345, [cbc_deadlock], ['../prob_examples/public_examples/EventBPrologPackages/ProofDirected/benchmarks/siemens_mch_0.eventb', '-cbc_deadlock', '-strict'], '').
757 cli_testcase(346, [cbc_deadlock], ['../prob_examples/public_examples/EventBPrologPackages/ProofDirected/benchmarks/scheduler.eventb', '-cbc_deadlock', '-strict'], '').
758 cli_testcase(347, [cbc_deadlock], ['../prob_examples/public_examples/EventBPrologPackages/ProofDirected/benchmarks/earley_2.eventb', '-cbc_deadlock', '-strict', '-strict', '-expcterr', 'cbc_deadlock_check'], '').
759 cli_testcase(348, [cbc_deadlock], ['../prob_examples/public_examples/EventBPrologPackages/ProofDirected/benchmarks/mondex_m2.eventb', '-cbc_deadlock', '-strict', '-strict', '-expcterr', 'cbc_deadlock_check'], '').
760 cli_testcase(349, [cbc_deadlock], ['../prob_examples/public_examples/EventBPrologPackages/ProofDirected/benchmarks/cxcc0.eventb', '-cbc_deadlock', '-p', 'USE_RECORD_CONSTRUCTION', 'TRUE', '-expcterr', 'cbc_deadlock_check', '-v'], 'cxcc0 cbc_deadlock and exercise verbose mode').
761 cli_testcase(350, [cbc_deadlock], ['../prob_examples/public_examples/EventBPrologPackages/ProofDirected/benchmarks/cxcc0.eventb', '-cbc_deadlock', '-strict', '-expcterr', 'cbc_deadlock_check', '-p', 'USE_RECORD_CONSTRUCTION', 'FALSE'], '').
762 cli_testcase(351, [cbc_deadlock], ['../prob_examples/public_examples/EventBPrologPackages/ProofDirected/benchmarks/FMCH02.eventb', '-p', 'DEFAULT_SETSIZE', '1', '-cbc_deadlock', '-strict', '-expcterr', 'cbc_deadlock_check'], '').
763 cli_testcase(352, [cbc_deadlock,smt_test], ['../prob_examples/public_examples/EventBPrologPackages/BPEL2B_PurchaseOrder/Model_Machine_4_mch_WithInit.eventb', '-cbc_deadlock', '-strict', '-expcterr', 'cbc_deadlock_check', '-p', 'SMT', 'TRUE'], '').
764 cli_testcase(353, [cbc_deadlock,smt_test], ['../prob_examples/public_examples/EventBPrologPackages/BPEL2B_PurchaseOrder/Model_Machine_4_NoDeadlock.eventb', '-cbc_deadlock', '-strict', '-expcterr', 'cbc_deadlock_check', '-p', 'SMT', 'TRUE'], '').
765 cli_testcase(354, [cbc_deadlock,smt_test], ['../prob_examples/public_examples/EventBPrologPackages/BPEL2B_PurchaseOrder/Model_Machine_4_NoDeadlock_v2.eventb', '-cbc_deadlock', '-strict', '-expcterr', 'cbc_deadlock_check', '-p', 'SMT', 'TRUE'], '').
766 cli_testcase(355, [cbc_deadlock,smt_test], ['../prob_examples/public_examples/EventBPrologPackages/BPEL2B_PurchaseOrder/Model_Machine_4_NoDeadlock_v3.eventb', '-cbc_deadlock', '-strict', '-expcterr', 'cbc_deadlock_check', '-p', 'SMT', 'TRUE'], '').
767 cli_testcase(356, [cbc_deadlock,smt_test], ['../prob_examples/public_examples/EventBPrologPackages/BPEL2B_PurchaseOrder/Model_Machine_4_NoDeadlock_v4.eventb', '-cbc_deadlock', '-strict', '-expcterr', 'cbc_deadlock_check', '-p', 'SMT', 'TRUE'], '').
768 cli_testcase(357, [cbc_deadlock], ['../prob_examples/public_examples/EventBPrologPackages/BPEL2B_PurchaseOrder/Model_Machine_4_NoDeadlock_v5.eventb', '-cbc_deadlock', '-strict', '-p', 'DEFAULT_SETSIZE', '1'], '').
769 cli_testcase(358, [cbc_deadlock,smt_test], ['../prob_examples/public_examples/EventBPrologPackages/BPEL2B_PurchaseOrder/Model_Machine_4_NoDeadlock_v5.eventb', '-cbc_deadlock', '-strict', '-p', 'DEFAULT_SETSIZE', '2', '-expcterr', 'cbc_deadlock_check', '-p', 'SMT', 'TRUE', '-p', 'CLPFD', 'FALSE'], '').
770 cli_testcase(359, [cbc_deadlock,smt_test], ['../prob_examples/public_examples/EventBPrologPackages/BPEL2B_PurchaseOrder/Model_Machine_4_NoDeadlock_v5.eventb', '-cbc_deadlock', '-strict', '-p', 'DEFAULT_SETSIZE', '2', '-expcterr', 'cbc_deadlock_check', '-p', 'SMT', 'TRUE', '-p', 'CLPFD', 'TRUE'], '').
771 cli_testcase(360, [cbc_deadlock,smt_test], ['../prob_examples/public_examples/EventBPrologPackages/BPEL2B_PurchaseOrder/Model_Machine_4_NoDeadlock_v6.eventb', '-cbc_deadlock', '-strict', '-p', 'DEFAULT_SETSIZE', '1', '-p', 'SMT', 'TRUE'], '').
772 cli_testcase(361, [cbc_deadlock,smt_test], ['../prob_examples/public_examples/EventBPrologPackages/BPEL2B_PurchaseOrder/Model_Machine_4_NoDeadlock_v6.eventb', '-cbc_deadlock', '-strict', '-p', 'DEFAULT_SETSIZE', '2', '-p', 'SMT', 'TRUE'], '').
773 cli_testcase(362, [cbc_deadlock,smt_test], ['../prob_examples/public_examples/B/LTL/Turcanu/machineEco_mch4.eventb', '-cbc_deadlock', '-p', 'SMT', 'TRUE', '-strict', '-expcterr', 'cbc_deadlock_check'], 'Deadlock CBC Test with SMT pref').
774 cli_testcase(363, [cbc_deadlock], ['../prob_examples/public_examples/B/Mathematical/GraphIso/HardGraph.mch', '-cbc_deadlock', '-expcterr', 'cbc_deadlock_check_time_out', '-p', 'TIME_OUT', '30', '-p', 'MAX_INITIALISATIONS', '0', '-strict'], 'Test that time-out triggered within CBC Deadlock check'). % this test is now a bit fragile: with faster machines the check can be completed rather quickly
775 cli_testcase(364, [cbc_deadlock], ['../prob_examples/public_examples/EventBPrologPackages/BMS/Poker_v2/FiveCardSolo_mch.eventb', '-cbc_deadlock', '-strict'], '').
776 cli_testcase(365, [puzzles_test,hash], ['../prob_examples/public_examples/B/Puzzles/StableMarriages.mch', '-t', '-strict', '-cc', '7', '15', '-mc', '100', '--hash64', 192740982584039033], '').
777 cli_testcase(366, [puzzles_test,hash], ['../prob_examples/public_examples/B/Puzzles/StableMarriagesLarger.mch', '-t', '-strict', '-cc', '7', '46', '-mc', '100',
778 '-p', 'OPERATION_REUSE', 'FALSE', % for hash
779 '--hash64', 161314235289991900 % used to be 706576926696257193 % used to be 13443197532344872
780 ], 'Stable Marriages').
781 cli_testcase(367, [puzzles_test], ['../prob_examples/public_examples/B/Puzzles/GolombRuler.mch', '-t', '-p', 'CLPFD', 'TRUE', '-strict'], '').
782 cli_testcase(368, [puzzles_test,hash], ['../prob_examples/public_examples/B/Puzzles/Tischordnung.mch', '-t', '-strict', '-cc', '3', '7', '-mc', '100', '--hash64', 168992916868770688], '').
783 cli_testcase(369, [puzzles_test], ['../prob_examples/public_examples/B/Puzzles/Wegenetz.mch', '-mc', '1000', '-strict', '-nodead', '-expcterr', 'goal_found'], '').
784 cli_testcase(370, [puzzles_test], ['../prob_examples/public_examples/B/Demo/RussianPostalPuzzle.mch', '-mc', '1000', '-strict', '-nodead', '-expcterr', 'goal_found'], '').
785 cli_testcase(371, [puzzles_test], ['../prob_examples/public_examples/B/Demo/TrainTorchPuzzle.mch', '-mc', '1000', '-strict', '-nodead', '-expcterr', 'goal_found'], '').
786 cli_testcase(372, [puzzles_test], ['../prob_examples/public_examples/B/Puzzles/BlocksWorldGeneric.mch', '-mc', '1000', '-strict', '-nodead', '-expcterr', 'goal_found'], '').
787 cli_testcase(373, [puzzles_test], ['../prob_examples/public_examples/B/Puzzles/Farmer.mch', '-mc', '1000', '-strict', '-nodead', '-expcterr', 'goal_found'], '').
788 cli_testcase(374, [puzzles_test], ['../prob_examples/public_examples/B/Puzzles/Hanoi.mch', '-mc', '1000', '-strict', '-nodead', '-expcterr', 'goal_found'], '').
789 cli_testcase(375, [puzzles_test], ['../prob_examples/public_examples/B/Puzzles/water.mch', '-mc', '1000', '-strict', '-nodead', '-expcterr', 'goal_found'], '').
790 cli_testcase(376, [puzzles_test], ['-p', 'CLPFD', 'TRUE', '../prob_examples/public_examples/EventBPrologPackages/Puzzles/CopyPastAsEvent_mch.eventb', '-t', '-strict'], '').
791 cli_testcase(377, [puzzles_test], ['../prob_examples/public_examples/EventBPrologPackages/Puzzles/Sudoku_ctx.eventb', '-t', '-strict'], '').
792 cli_testcase(378, [puzzles_test,queens,codespeed], ['-p', 'CLPFD', 'TRUE', '-p', 'MAX_OPERATIONS', 5000,
793 '-p', 'TIME_OUT', 4000, % increase time-out for SWI because now time-out applies to all solutions of an event
794 '../prob_examples/public_examples/EventBPrologPackages/Puzzles/NQueensAsEvent_mch.eventb', '-t', '-strict'], 'NQueens as events').
795 cli_testcase(379, [puzzles_test], ['../prob_examples/public_examples/B/Puzzles/PexSolve.mch', '-t', '-strict'], '').
796 cli_testcase(380, [puzzles_test], ['../prob_examples/public_examples/B/Puzzles/KnightsTour.mch', '-t', '-strict'], '').
797 cli_testcase(381, [puzzles_test], ['../prob_examples/public_examples/B/Puzzles/KnightsTour_v2.mch', '-t', '-strict'], '').
798 cli_testcase(382, [puzzles_test], ['-p', 'CLPFD', 'TRUE', '../prob_examples/public_examples/B/Puzzles/SudokuAsConstant.mch', '-t', '-strict'], '').
799 cli_testcase(383, [puzzles_test,cbc,codespeed], ['-p', 'CLPFD', 'TRUE', '../prob_examples/public_examples/B/Puzzles/SudokuHexAsConstant.mch', '-t', '-properties', '-sptxt', '../prob_examples/public_examples/B/Puzzles/SudokuHexAsConstant_sptxt.txt', '-strict'], 'Sudoku Hex Puzzle').
800 cli_testcase(384, [puzzles_test], ['-p', 'CLPFD', 'TRUE', '../prob_examples/public_examples/B/Puzzles/SudokuAsConstantNoSolution.mch', '-init', '-strict', '-expcterr', 'setup_constants_fails'], '').
801 cli_testcase(385, [puzzles_test], ['-p', 'CLPFD', 'TRUE', '../prob_examples/public_examples/B/Puzzles/LatinSquaresBig.mch', '-t', '-strict'], '').
802 cli_testcase(386, [puzzles_test,queens,codespeed], ['-p', 'CLPFD', 'TRUE', '../prob_examples/public_examples/B/Puzzles/NQueens50.mch', '-t', '-properties', '-strict'], '').
803 cli_testcase(387, [puzzles_test,cbc,codespeed,clpfd_tables], ['-p', 'CLPFD', 'TRUE', '-p', 'MAX_INITIALISATIONS', 19,
804 '../prob_examples/public_examples/B/Puzzles/TwoQueensSevenKnights.mch', '-t', '-assertions', '-strict'], 'TwoQueensSevenKnights').
805 cli_testcase(388, [puzzles_test], ['-p', 'CLPFD', 'TRUE', '../prob_examples/public_examples/B/Puzzles/SendMoreMoney.mch', '-t', '-strict'], 'SendMoreMoney').
806 cli_testcase(389, [puzzles_test], ['-p', 'CLPFD', 'TRUE', '../prob_examples/public_examples/B/Puzzles/KissPassion.mch', '-t', '-strict'], 'KissPassion').
807 cli_testcase(390, [puzzles_test], ['-p', 'CLPFD', 'TRUE', '../prob_examples/public_examples/B/Puzzles/CopySavePasteTools.mch', '-t', '-strict'], '').
808 cli_testcase(391, [puzzles_test,cbc_tests], ['-p', 'CLPFD', 'TRUE', '../prob_examples/public_examples/B/Puzzles/NoNeighboursProblem.mch', '-cbc_sequence', 'SolAbove', '-strict'], 'Neighbour differ by more than one puzzle').
809 cli_testcase(392, [puzzles_test], ['-p', 'CLPFD', 'TRUE', '../prob_examples/public_examples/B/Puzzles/SubsetSum.mch', '-t', '-strict'], '').
810 cli_testcase(393, [puzzles_test], ['-p', 'CLPFD', 'TRUE', '../prob_examples/public_examples/B/Puzzles/SubsetSum2.mch', '-t', '-strict'], '').
811 cli_testcase(394, [puzzles_test], ['-p', 'CLPFD', 'TRUE', '../prob_examples/public_examples/B/Puzzles/WhoKilledAgatha.mch', '-t', '-mc', '100', '-p', 'MAX_INITIALISATIONS', '100', '-check_complete', '-cc', '13', '18'], 'Agatha puzzle').
812 cli_testcase(395, [puzzles_test,codespeed,symmetry_test], ['../prob_examples/public_examples/EventBPrologPackages/SET_Game/SET_GAM_Sym_NoSet20_mch.eventb', '-mc', '1000', '-p', 'SYMMETRY_MODE', 'hash', '-p', 'TIME_OUT', '7000', '-p', 'CLPFD', 'TRUE', '-df', '-goal', 'n=18', '-p', 'MAX_OPERATIONS', '20', '-strict', '-expcterr', 'goal_found'], 'SET Game Test').
813 cli_testcase(396, [time_out_tests], ['../prob_examples/public_examples/B/PerformanceTests/SMTLIB/DTP_k2_n35_c175_s1.mch', '-strict', '-init', '-expcterr', 'setup_constants_fails', '-expcterr', 'time_out', '-p', 'CLPFD', 'FALSE'], 'Without CLPFD, this test times out. 1191 is a copy of this test using CLPFD').
814 cli_testcase(397, [cbc,smt_test], ['../prob_examples/public_examples/B/Benchmarks/scheduler.mch', '-cbc', 'all', '-strict', '-p', 'SMT', 'TRUE'], '').
815 cli_testcase(398, [cbc,smt_test], ['../prob_examples/public_examples/B/CBC/NATURAL_Add.mch', '-cbc', 'all', '-strict', '-p', 'SMT', 'TRUE', '-p', 'CLPFD', 'TRUE'], '').
816 cli_testcase(399, [cbc], ['../prob_examples/public_examples/B/Demo/Lift.mch', '-cbc', 'all', '-strict', '-expcterr', 'cbc'], '').
817 cli_testcase(400, [cbc], ['../prob_examples/public_examples/B/Tutorial/DoubleCounter.mch', '-cbc', 'Double', '-strict', '-expcterr', 'cbc', '-p', 'CLPFD', 'TRUE'], '').
818 cli_testcase(401, [cbc], ['../prob_examples/public_examples/B/Tutorial/DoubleCounter.mch', '-cbc', 'Double', '-strict', '-expcterr', 'cbc', '-p', 'CLPFD', 'FALSE', '-p', 'MAXINT', '150'], '').
819 cli_testcase(402, [cbc], ['../prob_examples/public_examples/B/Special/ConstrainedBasedChecking/mesiSet.mch',
820 '../prob_examples/public_examples/B/Special/ConstrainedBasedChecking/mesiSet_simplified.mch',
821 '-cbc', 'all', '-strict', '-expcterr', 'cbc'], 'CBC mesiSet simplified').
822 cli_testcase(403, [cbc], ['../prob_examples/public_examples/B/Special/ConstrainedBasedChecking/mesiSet.mch', '-cbc', 'write', '-strict', '-expcterr', 'cbc'], 'CBC mesiSet').
823 cli_testcase(404, [cbc], ['../prob_examples/public_examples/B/CBC/ProcessIDStarvation_InvErr.mch', '-cbc', 'all', '-strict', '-expcterr', 'cbc'], '').
824 cli_testcase(405, [cbc], ['../prob_examples/public_examples/B/CBC/ProcessIDStarvation_InvErr.mch', '-cbc', 'Delete', '-strict', '-expcterr', 'cbc'], '').
825 cli_testcase(406, [cbc], ['../prob_examples/public_examples/B/CBC/ProcessIDStarvation_InvErr.mch', '-cbc', 'Run', '-strict'], '').
826 cli_testcase(407, [cbc], ['../prob_examples/public_examples/EventBPrologPackages/Alexei/ttrain_mch.eventb', '-cbc', 'all', '-strict'], '').
827 cli_testcase(408, [cbc], ['../prob_examples/public_examples/EventBPrologPackages/Alexei/ttrain_mch_unproven.eventb', '-cbc', 'bridge', '-strict'], '').
828 cli_testcase(409, [cbc,smt_test], ['../prob_examples/public_examples/EventBPrologPackages/Alexei/ttrain_mch_unproven.eventb', '-cbc', 'approach', '-strict', '-p', 'SMT', 'TRUE'], '').
829 cli_testcase(410, [cbc], ['../prob_examples/public_examples/EventBPrologPackages/Alexei/ttrain_mch_unproven.eventb', '-cbc', 'exit', '-strict'], '').
830 cli_testcase(411, [cbc], ['../prob_examples/public_examples/EventBPrologPackages/Alexei/ttrain_fifo_mch.eventb', '-cbc', 'bridge', '-strict', '-expcterr', 'cbc'], '').
831 cli_testcase(412, [cbc,smt_test], ['../prob_examples/public_examples/EventBPrologPackages/Alexei/ttrain_fifo_mch.eventb', '-cbc', 'approach', '-strict', '-p', 'SMT', 'TRUE'], '').
832 cli_testcase(413, [cbc], ['../prob_examples/public_examples/EventBPrologPackages/Alexei/ttrain_fifo_mch.eventb', '-cbc', 'exit', '-strict'], '').
833 cli_testcase(414, [cbc,smt_test,codespeed], ['../prob_examples/public_examples/EventBPrologPackages/BPEL2B_PurchaseOrder/Model_Machine_4_NoDeadlock_v5.eventb', '-cbc', 'all', '-p', 'DEFAULT_SETSIZE', '4', '-p', 'SMT', 'TRUE', '-strict'], 'BPEL2B_PurchaseOrder cbc check').
834 cli_testcase(415, [cbc,smt_test,codespeed], ['../prob_examples/public_examples/EventBPrologPackages/BPEL2B_PurchaseOrder/Model_Machine_4_NoDeadlock_v6.eventb', '-cbc', 'all', '-p', 'DEFAULT_SETSIZE', '2', '-p', 'SMT', 'TRUE', '-strict'], 'BPEL2B_PurchaseOrder cbc check').
835 cli_testcase(416, [cbc,smt_test], ['../prob_examples/public_examples/EventBPrologPackages/BPEL2B_PurchaseOrder/Model_Machine_4_NoDeadlock_v6.eventb', '-cbc', 'all', '-p', 'DEFAULT_SETSIZE', '3', '-p', 'SMT', 'TRUE', '-strict'], '').
836 cli_testcase(417, [cbc], ['../prob_examples/public_examples/EventBPrologPackages/Tests/Ticket167.eventb',
837 '-cbc', 'inc', '-strict',
838 '-expcterr', 'enumeration_warning'], 'CBC check with enumeration warning').
839 cli_testcase(418, [cbc], ['../prob_examples/public_examples/EventBPrologPackages/BMS/Poker_v2/FiveCardSolo_mch.eventb', '-p', 'CLPFD', 'TRUE', '-cbc', 'redeal', '-strict', '-expcterr', 'cbc'], '').
840 cli_testcase(419, [cbc], ['../prob_examples/public_examples/EventBPrologPackages/BMS/Poker_v2/FiveCardSolo_mch.eventb', '-p', 'CLPFD', 'TRUE', '-cbc', 'HasFlush', '-strict', '-expcterr', 'cbc'], '').
841 cli_testcase(420, [cbc], ['../prob_examples/public_examples/EventBPrologPackages/BMS/Poker_v2/FiveCardSolo_mch.eventb', '-p', 'CLPFD', 'TRUE', '-cbc', 'hasFourOfAKind', '-strict', '-expcterr', 'cbc'], '').
842 cli_testcase(421, [cbc], ['../prob_examples/public_examples/EventBPrologPackages/BMS/Poker_v2/FiveCardSolo_mch.eventb', '-p', 'CLPFD', 'TRUE', '-cbc', 'HasStraight', '-strict', '-expcterr', 'cbc'], '').
843 cli_testcase(422, [cbc], ['../prob_examples/public_examples/EventBPrologPackages/BMS/Poker_v2/FiveCardSolo_mch.eventb', '-p', 'CLPFD', 'TRUE', '-cbc', 'AddACredit', '-cbc', 'deal', '-strict', '-cbc', 'selectme', '-cbc', 'invselectme'], '').
844 cli_testcase(423, [cbc,smt_test], ['../prob_examples/public_examples/EventBPrologPackages/BMS/Poker_v2/FiveCardSolo_mch.eventb', '-p', 'CLPFD', 'TRUE', '-p', 'SMT', 'TRUE', '-cbc', 'hasFullHouse', '-strict', '-expcterr', 'cbc'], '').
845 cli_testcase(424, [cbc,smt_test], ['../prob_examples/public_examples/EventBPrologPackages/BMS/Poker_v2/FiveCardSolo_mch.eventb', '-p', 'CLPFD', 'TRUE', '-p', 'SMT', 'TRUE', '-cbc', 'all', '-strict', '-expcterr', 'cbc'], '').
846 cli_testcase(425, [cbc], ['../prob_examples/public_examples/EventBPrologPackages/SSF/Bepi_Soton/M0_mch.eventb', '-cbc', 'all', '-strict'], '').
847 cli_testcase(426, [cbc,smt_test], ['../prob_examples/public_examples/EventBPrologPackages/SSF/Bepi_Soton/M1_mch.eventb', '-cbc', 'all', '-strict', '-p', 'CLPFD', 'TRUE', '-p', 'SMT', 'TRUE'], '').
848 cli_testcase(427, [kodkod], ['-kodkod_comparision', '2', '../prob_examples/public_examples/B/Kodkod/expressions/functions.mch', '-strict'], '').
849 cli_testcase(428, [kodkod], ['-p', 'CLPFD', 'true', '-kodkod_comparision', '2', '../prob_examples/public_examples/B/Kodkod/expressions/triples.mch', '-strict'], '').
850 cli_testcase(429, [kodkod], ['-kodkod_comparision', '3', '../prob_examples/public_examples/B/Kodkod/expressions/relations.mch', '-strict'], '').
851 cli_testcase(430, [kodkod], ['-kodkod_comparision', '1', '../prob_examples/public_examples/B/Kodkod/expressions/sequences_v2.mch', '-strict'], '').
852 cli_testcase(431, [kodkod], ['-kodkod_comparision', '1', '../prob_examples/public_examples/B/Kodkod/NoNeighboursProblem.mch', '-strict'], '').
853 cli_testcase(432, [kodkod], ['-p','MAX_INITIALISATIONS',50,'-kodkod_comparision', '0', '../prob_examples/public_examples/B/Kodkod/WhoKilledAgatha.mch', '-strict'], '').
854 cli_testcase(433, [kodkod], ['-pacheck', '../prob_examples/public_examples/B/predicate_analysis/basic.mch', '-strict'], '').
855 cli_testcase(434, [kodkod], ['-pacheck', '../prob_examples/public_examples/B/predicate_analysis/function_cards.mch', '-strict'], '').
856 cli_testcase(435, [kodkod], ['-pacheck', '../prob_examples/public_examples/B/predicate_analysis/setext_dombug.mch', '-strict'], '').
857 cli_testcase(436, [csp_test], ['../prob_examples/public_examples/CSP/ref_benchmarks/general4.csp', '-assertions', '-strict'], '').
858 cli_testcase(437, [b_test], ['../prob_examples/public_examples/B/FeatureChecks/TestPrimedBecomeSuch.mch', '-t', '-strict', '-expcterr', virtual_time_out], 'Test for $0 usage in become such substitutions.').
859 cli_testcase(438, [csp_test], ['../prob_examples/public_examples/CSP/ref_benchmarks/basin_olderog_bank.csp', '-assertions', '-strict'], '').
860 cli_testcase(439, [b_test,strings], ['../prob_examples/public_examples/B/FeatureChecks/EmptyString.mch', '-t', '-strict', '-assertions'], 'Check that we allow the empty string.').
861
862 cli_testcase(440, [b_test,animate], ['../prob_examples/public_examples/B/Simple/UpCounter.mch', '-init','-animate', '10', '-strict', '-goal', 'c=10', '-check_goal', '-p', 'MAXINT', '100'], 'Check that animate executes exactly 10 operations after INITIALISATION.').
863 cli_testcase(441, [b_test,animate], ['../prob_examples/public_examples/B/Simple/UpCounter.mch','-animate', '10', '-strict', '-goal', 'c=8', '-check_goal', '-p', 'MAXINT', '100'], 'Without -init we exacte SETUP_CONSTANTS, INITIALISATION and 8 operations.').
864 cli_testcase(442, [b_test,animate], ['../prob_examples/public_examples/B/Simple/UpCounter.mch', '-init','-animate', '10', '-strict', '-goal', 'c=11', '-check_goal', '-p', 'MAXINT', '100', '-expcterr', 'check_goal'], 'Check that -check_goal fails if GOAL false.').
865 cli_testcase(443, [b_test,animate], ['../prob_examples/public_examples/B/Simple/UpCounter.mch','-animate', '10', '-strict', '-p', 'MAXINT', '100', '-det_check'], 'Check that all animation steps are deterministic.').
866 cli_testcase(444, [b_test,animate], ['../prob_examples/public_examples/B/Simple/UpCounter_NonDet.mch','-animate', '4', '-strict', '-p', 'MAXINT', '100', '-det_check', '-expcterr', 'det_check'], 'Check that all -det_check detects non-deterministic steps.').
867 cli_testcase(445, [b_test,animate], ['../prob_examples/public_examples/B/Simple/UpCounter.mch', '-init','-animate', '10', '-strict', '-goal', 'c=10 & c>1 & c<mx', '-check_goal', '-p', 'MAXINT', '100'], 'Check that -check_goal can also deal with conjuncts.').
868 cli_testcase(446, [b_test,animate], ['../prob_examples/public_examples/B/Simple/UpCounter.mch', '-init','-animate', '30', '-strict', '-goal', 'c=20', '-check_goal', '-p', 'MAXINT', '20', '-expcterr', 'animate'], 'Check that error raised if we cannot animate all steps -animate (but that we stay in the final state).').
869 cli_testcase(447, [b_test,animate], ['../prob_examples/public_examples/B/Simple/UpCounter.mch', '-init','-animate_all', '-animate_stats', '-strict', '-goal', 'c=20', '-check_goal', '-p', 'MAXINT', '20'], 'Check that no error raised if we cannot animate all steps -animate_all (and that we stay in the final state).').
870
871 cli_testcase(448, [tickets], ['../prob_examples/public_examples/B/Tickets/Hansen1/Bi_func.mch', '-mc', '1000', '-t', '-check_complete', '-cc', '3', '11'], 'Check issue with existential quantifier inside set comprehension.').
872 cli_testcase(449, [tickets], ['../prob_examples/public_examples/B/Tickets/Burdy1/TestOrApplyFun.mch', '-mc', '1000', '-t', '-check_complete', '-cc', '5', '10'], 'Check issue with undefined function application in context of disjunct.').
873 cli_testcase(450, [tickets], ['../prob_examples/public_examples/B/Tickets/Plagge1/KnightKnaves2.mch', '-init', '-strict'], 'Check that no time-out occurs in compiled mode').
874
875 cli_testcase(451, [b_test,animate,history], ['../prob_examples/public_examples/B/Simple/UpCounter.mch', '-init','-animate', '10', '-strict', '-p', 'MAXINT', '100', '-his', '../prob_examples/public_examples/B/Simple/UpCounter_his.txt'], 'Check that history properly written.').
876 cli_testcase(452, [b_test,animate,history], ['../prob_examples/public_examples/B/Simple/UpCounter.mch', '-init','-animate', '10', '-strict', '-p', 'MAXINT', '100', '-his', '../prob_examples/public_examples/B/Simple/UpCounter_his.txt','-his_option', 'show_states'], 'Check that history option -his_option show_states works.').
877 cli_testcase(453, [b_test,animate,history], ['../prob_examples/public_examples/B/Simple/UpCounter.mch', '-init','-animate', '10', '-strict', '-p', 'MAXINT', '100', '-his', '../prob_examples/public_examples/B/Simple/UpCounter_his.txt','-his_option', 'show_states','-his_option', 'show_init'], 'Check that history option -his_option show_states & show_init works.').
878 cli_testcase(454, [b_test,animate,history], ['../prob_examples/public_examples/B/Simple/UpCounter.mch', '-init','-animate', '10', '-strict', '-p', 'MAXINT', '100', '-his', '../prob_examples/public_examples/B/Simple/UpCounter_his.txt','-his_option', 'show_init'], 'Check that history option -his_option show_init works.').
879 cli_testcase(455, [b_test,animate,sptxt], ['../prob_examples/public_examples/B/Simple/UpCounter.mch', '-init','-animate', '10', '-strict', '-p', 'MAXINT', '100', '-sptxt', '../prob_examples/public_examples/B/Simple/UpCounter_sptxt.txt'], 'Check that history option -sptxt works.').
880
881 cli_testcase(456, [puzzles_test,queens], ['../prob_examples/public_examples/B/Puzzles/Queens/QueensAllSolutions.mch', '-t', '-strict', '-check_complete', '-mc', 100, '-check_complete', '-cc', '94', '185'], 'A version of N-Queens where all solutions are computed and we try to find N.').
882
883 cli_testcase(457, [laws,rel_fnc], ['../prob_examples/public_examples/B/Laws/FunLaws.mch', '-mc', '500', '-cs', '-nogoal', '-nodead', '-strict','-p', 'DOUBLE_EVALUATION', 'TRUE', '-expcterr', 'model_check_incomplete'], 'Use model checking to check a variety of laws on functions.').
884 cli_testcase(458, [laws,rel_fnc], ['../prob_examples/public_examples/B/Laws/FunLawsWithLambda.mch', '-mc', '500', '-cs', '-nogoal', '-nodead', '-strict','-p', 'DOUBLE_EVALUATION', 'TRUE', '-expcterr', 'model_check_incomplete'], 'Use model checking to check a variety of laws on functions, including lambda abstractions.').
885 cli_testcase(459, [b_test,history], ['../prob_examples/public_examples/B/Daniel/rel_fnc.mch', '-t', '-strict', '-p', 'CLPFD', 'TRUE','-his', '../prob_examples/public_examples/B/xxdoesnotexist/rel_fnc_his.txt','-expcterr','open_file','-expcterr','history'], 'Check that we generate an error if hist file destination does not exist.').
886 cli_testcase(460, [b_test,sptxt], ['../prob_examples/public_examples/B/Daniel/rel_fnc.mch', '-t', '-strict', '-p', 'CLPFD', 'TRUE','-sptxt', '../prob_examples/public_examples/B/xxdoesnotexist/rel_fnc_his.txt','-expcterr','open_file','-expcterr','sptxt'], 'Check that we generate an error if sptxt file destination does not exist.').
887 cli_testcase(461, [b_test,history], ['../prob_examples/public_examples/B/Daniel/rel_fnc.mch', '-t', '-strict', '-p', 'CLPFD', 'TRUE','-his', '../prob_examples/public_examples/B/Daniel/rel_fnc_his.txt','-his_option', 'show_states','-his_option', 'show_init', '-p','SHOW_EVENTB_ANY_VALUES','TRUE'], 'A small machine to check that rel/fnc work as expected; here we check it in conjunction with -his option.').
888 cli_testcase(462, [b_test,history], ['../prob_examples/public_examples/B/Simple/UpCounter.mch', '-mc', '100', '-goal', 'c=10','-strict', '-p', 'MAXINT', '100', '-his', '../prob_examples/public_examples/B/Simple/UpCounter_his.txt','-his_option', 'show_states','-his_option', 'show_init','-expcterr','goal_found'], 'Check that history option works together with model checking.').
889 cli_testcase(463, [cbc_deadlock,history], ['../prob_examples/public_examples/B/CBC/SimpleDeadlock1.mch', '-cbc_deadlock', '-strict', '-expcterr', 'cbc_deadlock_check','-his', '../prob_examples/public_examples/B/CBC/SimpleDeadlock1_his.txt','-his_option', 'show_states'], 'Check that -his works together with cbc_deadlock').
890 cli_testcase(464, [cbc,history], ['../prob_examples/public_examples/B/CBC/ProcessIDStarvation_InvErr.mch', '-cbc', 'Delete', '-strict', '-expcterr', 'cbc', '-his', '../prob_examples/public_examples/B/CBC/ProcessIDStarvation_InvErr_his.txt','-his_option', 'show_states', '-p', 'DEFAULT_SETSIZE', 6, '-p', 'TIME_OUT', 500], 'Check that -his works with cbc invariant checking.'). % set DEFAULT_SETSIZE on 28th Aug 2014 to check that partition in Invariant detected
891 cli_testcase(465, [b_test,animate], ['../prob_examples/public_examples/B/Simple/UpCounter.mch', '-animate', '5', '-strict', '-p', 'MAXINT', '100', '-load_state', '../prob_examples/public_examples/B/Simple/UpCounter_saved10.P', '-goal', 'c=15', '-check_goal'], 'Check that animate works after load_state.').
892 cli_testcase(466, [b_test,animate,while], ['../prob_examples/public_examples/B/PerformanceTests/WhileLoopBench.mch', '-animate', '22', '-strict', '-p', 'TIME_OUT', 28000, '-his', '../prob_examples/public_examples/B/PerformanceTests/WhileLoopBench_his.txt', '-his_option' , 'show_states'], 'Check animate with operation with while loop.').
893 cli_testcase(467, [b_test,history], ['../prob_examples/public_examples/B/FeatureChecks/IFTHENELSE.mch', '-t', '-strict','-his', '../prob_examples/public_examples/B/FeatureChecks/IFTHENELSE_his.txt','-his_option', 'show_states'], 'Check simple if-then-else works correctly, and check -his option writes operation arguments into file.').
894 cli_testcase(468, [b_test,history,sptxt], ['../prob_examples/public_examples/B/Puzzles/Farmer.mch', '-mc', '1000', '-bf','-strict', '-nodead', '-expcterr', 'goal_found','-his', '../prob_examples/public_examples/B/Puzzles/Farmer_his.txt','-sptxt','../prob_examples/public_examples/B/Puzzles/Farmer_sptxt.txt'], 'Check that -his and -sptxt work when used together').
895 cli_testcase(469, [b_test,sptxt], ['../prob_examples/public_examples/B/PerformanceTests/LargeSets/LargeExplicitSet.mch', '-animate', '7', '-strict', '-p', 'TIME_OUT', 5000,
896 '-nodead','-sptxt','../prob_examples/public_examples/B/PerformanceTests/LargeSets/LargeExplicitSet_sptxt.txt'], 'Check that -sptxt expands large sets.'). % introduced a time-out on 18th of May 2014 to avoid time-out during closure expansion; cause commit on May 12 to b_enumerate.pl; reduced TIME_OUT again on 19th of May [completely removing time-out seems to still cause issues]; another slowdown was caused by commit 13d3b41ff8e1f15cea7437b3530c883c4e3bda6b on Sep 20th 2013 (improve union of avl_set with large intervals)
897 cli_testcase(470, [b_test,sptxt,history], ['../prob_examples/public_examples/EventBPrologPackages/Abrial_Train_Ch17/train_4_mch_lukas.eventb', '-t', '-strict', '-noass','-his', '../prob_examples/public_examples/EventBPrologPackages/Abrial_Train_Ch17/train_4_mch_lukas_his.txt','-his_option','show_states','-sptxt','../prob_examples/public_examples/EventBPrologPackages/Abrial_Train_Ch17/train_4_mch_lukas_sptxt.txt'], 'Check -his and sptxt on a larger Event-B model.').
898
899 cli_testcase(471, [b_test,sptxt,history], ['../prob_examples/public_examples/B/Benchmarks/CarlaTravelAgencyErr.mch', '-t', '-strict', '-his', '../prob_examples/public_examples/B/Benchmarks/CarlaTravelAgencyErr_his.txt','-sptxt','../prob_examples/public_examples/B/Benchmarks/CarlaTravelAgencyErr_sptxt.txt'], 'Check -his and -sptxt on a larger classical B model.').
900 cli_testcase(472, [b_test,sptxt,history], ['../prob_examples/public_examples/B/SchneiderBook/Chapter12/TownsRRR.ref', '-t', '-strict', '-his', '../prob_examples/public_examples/B/SchneiderBook/Chapter12/TownsRRR_his.txt','-his_option','show_states','-sptxt','../prob_examples/public_examples/B/SchneiderBook/Chapter12/TownsRRR_sptxt.txt'], 'Check -his and -sptxt on a classical B refinement.').
901 cli_testcase(473, [b_test,sptxt,history,records], ['../prob_examples/public_examples/B/NewSyntax/SET_Game_Rec.mch', '-t', '-strict', '-his', '../prob_examples/public_examples/B/NewSyntax/SET_Game_Rec_his.txt','-his_option','show_states','-sptxt','../prob_examples/public_examples/B/NewSyntax/SET_Game_Rec_sptxt.txt'], 'Check -his and -sptxt for classical B records.').
902 cli_testcase(474, [b_test,sptxt,history,dot], ['../prob_examples/public_examples/B/ExpressionViewer/TotFunAnalyseTest.mch', '-ma', 1, 4, 0,
903 '-p', 'DOT_FORMULA_TREE_HTML', 'FALSE',
904 '-dot_output', '../prob_examples/public_examples/B/ExpressionViewer/dot_output/', '-dot_all'], 'Check -dot_output, -dot_all works.').
905 cli_testcase(475, [laws,repl], ['../prob_examples/public_examples/B/Laws/REPL_UNIT_TESTS2.mch', '-t', '-mc', '100000', '-cs', '-strict', '-p', 'CLPFD', 'TRUE', '-assertions', '-p', 'TIME_OUT', '60000'], 'Check that REPL unit tests work').
906 cli_testcase(476, [tickets,dot], ['-p', 'DOT_LEGEND', 'FALSE', '../prob_examples/public_examples/B/Tickets/Mejia1/TestInit_mch.eventb', '-t', '-mc', '1000', '-cc', 4, 13, '-strict', '-p', 'CLPFD', 'TRUE', '-dot', 'state_space', '../prob_examples/public_examples/B/Tickets/Mejia1/TestInit_statespace.dot', '-p', 'DOT_PROP', 'TRUE', '-pref_group', dot_colors, classic, '-p','DOT_PEN_WIDTH',1], 'Check that -dot state_space output works and that no warning generated for existential quantifier on disjunction in Event-B mode').
907 cli_testcase(477, [cbc,smt_test], ['-p', 'CLPFD', 'TRUE', '-p', 'SMT', 'TRUE', '-strict', '../prob_examples/public_examples/B/Puzzles/WhoKilledAgatha.mch', '-cbc_assertions'], 'Check CBC static assertion checking.').
908 cli_testcase(478, [cbc,smt_test], ['-p', 'CLPFD', 'TRUE', '-p', 'SMT', 'TRUE', '../prob_examples/public_examples/B/Puzzles/WhoKilledAgatha_wrongassert.mch','-strict', '-cbc_assertions','-expcterr',cbc_assertions], 'Check CBC static assertion checking with counter example.').
909 cli_testcase(479, [b_test,dot], ['-p', 'DOT_LEGEND', 'FALSE', '-p', 'CLPFD', 'TRUE', '-mc', '100', '-p', 'MAX_INITIALISATIONS', 7, '-bf', '../prob_examples/public_examples/B/Puzzles/WhoKilledAgatha.mch','-dot', 'state_space', '../prob_examples/public_examples/B/Puzzles/WhoKilledAgatha_statespace.dot','-strict', '-p', 'DOT_COLOR_ARC', steelblue, '-p', 'DOT_COLOR_NODE', olivedrab2, '-p', 'DOT_PEN_WIDTH', 2], 'Check Dot output with proper newline.').
910 cli_testcase(480, [b_test,dot], ['-p', 'DOT_LEGEND', 'FALSE', '-p', 'CLPFD', 'TRUE', '-p', 'DOT_LOOPS', 'FALSE',
911 '-p', 'DOT_ROOT', 'FALSE', '-p', 'MAX_INITIALISATIONS', 5,
912 '../prob_examples/public_examples/B/Benchmarks/Cruise_finite1.mch','-mc', 4 ,'-bf' ,'-dot', 'state_space', '../prob_examples/public_examples/B/Benchmarks/Cruise_finite1_statespace.dot','-strict', '-pref_group', dot_colors, classic, '-p','DOT_PEN_WIDTH',1, '-expcterr', 'model_check_incomplete'], 'Check Dot output with proper newline.').
913 cli_testcase(481, [b_test,let], ['../prob_examples/public_examples/B/FeatureChecks/LET_multiple_variables.mch', '-t', '-strict', '-expcterr','type_error', '-expcterr', 'load_main_file'], 'Check illegal LET with multiple variables.'). % added '-expcterr','type_error' : we now detect the error in the type checker
914 cli_testcase(482, [b_test,let], ['../prob_examples/public_examples/B/FeatureChecks/LET_multiple_variables.mch', '-mc', 100, '-expcterr','type_error', '-expcterr', 'load_main_file'], 'Check that LET with non-equation predicate does not work.'). % error now detected during type check, not during model checking
915 cli_testcase(483, [csp_test,csp_bench], ['../prob_examples/public_examples/CSP/ref_benchmarks/abp_chapter5_roscoe_DLK_DIV_bench.csp', '-assertions', '-strict'], 'Check performance of Deadlock & DIV checks').
916 cli_testcase(484, [csp_test,csp_bench], ['../prob_examples/public_examples/CSP/NastyFDRDemos/LargeSpecRefineCheck.csp', '-assertions', '-strict'], 'Check performance with Large Spec and small Impl').
917 cli_testcase(485, [csp_test,csp_bench], ['../prob_examples/public_examples/CSP/simple/DeadlockTimeout.csp', '-assertions', '-strict'], 'Check that deadlock checker works with timeout generated tau transitions').
918 cli_testcase(486, [csp_test,csp_bench,refinement], ['../prob_examples/public_examples/CSP/simple/ParallelIntChoice.csp', '-assertions', '-strict'], 'Check that deadlock checker works with internal choice generated tau transitions').
919 cli_testcase(487, [csp_test,refinement], ['../prob_examples/public_examples/CSP/simple/DivChecks3.csp', '-assertions', '-strict'], 'Check that ProB deals with Divergence correctly').
920 cli_testcase(488, [csp_test,csp_bench], ['../prob_examples/public_examples/CSP/simple/ParallelIntChoice.csp', '-assertions', '-strict', '-p', 'CSP_STRIP_SOURCE_LOC', 'TRUE'], 'Check that stripping of source location works.').
921 cli_testcase(489, [csp_test,csp_bench], ['../prob_examples/public_examples/CSP/ref_benchmarks/section7-1.csp', '-assertions', '-strict'], 'Check more CSP assertions from Roscoe book usc').
922 cli_testcase(490, [csp_test,refinement], ['../prob_examples/public_examples/CSP/simple/exception_operator.csp', '-assertions', '-strict'], 'Check that new exception operator works').
923 cli_testcase(491, [csp_test,csp_bench], ['../prob_examples/public_examples/CSP/ref_benchmarks/section7-2.csp', '-assertions', '-strict'], 'Check more CSP assertions from Roscoe book usc, here with exception operator').
924 cli_testcase(492, [csp_test],['../prob_examples/public_examples/CSP/evans/traffic_spec.csp', '-assertions', '-strict'], 'Checking CSP assertions.').
925 cli_testcase(493, [tickets], ['../prob_examples/public_examples/B/Tickets/Mejia2/ticket_simplified.mch', '-t', '-mc',100,'-assertions', '-check_complete', '-cc', '3', '4'], 'Check cartesian product ticket').
926 cli_testcase(494, [laws,case], ['../prob_examples/public_examples/B/Laws/SubstitutionLaws.mch', '-mc', '100', '-cs', '-t', '-nodead', '-strict','-p', 'DOUBLE_EVALUATION', 'TRUE'], 'Check basic properties of B substitutions.').
927
928 cli_testcase(495, [error_checks], ['../prob_examples/public_examples/B/ErrorMachines/SubstitutionSeqCompAssertErrCheck.mch', '-mc', '100', '-nodead', '-strict','-expcterr', 'assert_error'], 'Check that ProB finds error in Substitution assertion').
929 cli_testcase(496, [laws,card], ['../prob_examples/public_examples/B/Laws/ExplicitComputationsCLPFD.mch', '-assertions', '-mc', '100000', '-nodead', '-cs', '-strict', '-p', 'TIME_OUT', '7000'], 'Many explicit computations which check that all operators work as expected on various concrete data.').
930 cli_testcase(497, [b_test], ['../prob_examples/public_examples/B/Benchmarks/Cruise_finite1.mch', '-pp', '../prob_examples/public_examples/B/Benchmarks/Cruise_finite1_pp.mch', '-strict'], 'Check that pretty printing works').
931 cli_testcase(498, [b_test], ['../prob_examples/public_examples/B/Benchmarks/Cruise_finite1_prettyprinted.mch', '-pp', '../prob_examples/public_examples/B/Benchmarks/Cruise_finite1_pp.mch', '-strict'], 'Check that pretty printing works').
932 cli_testcase(499, [b_test], ['../prob_examples/public_examples/B/Benchmarks/Cruise_finite1.mch', '-ppf', '../prob_examples/public_examples/B/Benchmarks/Cruise_finite1_pp.mch', '-strict'], 'Check that pretty printing works').
933 cli_testcase(500, [b_test], ['../prob_examples/public_examples/B/Benchmarks/Cruise_finite1_prettyprintedf.mch', '-ppf', '../prob_examples/public_examples/B/Benchmarks/Cruise_finite1_pp.mch', '-strict'], 'Check that pretty printing works').
934 cli_testcase(501, [b_test], ['../prob_examples/public_examples/B/Benchmarks/Cruise_finite1.mch', '-mc', '1400', '-cc', '1361', '25696', '-p', 'COMPRESSION', 'TRUE', '-strict', '-p', 'MAX_INITIALISATIONS', 5], 'Check that compression works').
935 cli_testcase(502, [laws], ['../prob_examples/public_examples/B/Abrial_BBook/BBook_Page80.mch', '-init', '-assertions', '-strict'], 'Check example from B-Book').
936 cli_testcase(503, [laws], ['../prob_examples/public_examples/B/Abrial_BBook/BBook_Page83.mch', '-init', '-assertions', '-strict'], 'Check example from B-Book').
937 cli_testcase(504, [laws], ['../prob_examples/public_examples/B/Abrial_BBook/MembershipProperty4_Page96.mch', '-init', '-expcterr', 'setup_constants_fails', '-p', 'CLPFD', 'TRUE', '-strict'], 'Check rule from B-Book').
938 cli_testcase(505, [laws], ['../prob_examples/public_examples/B/Abrial_BBook/MembershipProperty5_Page96.mch', '-init', '-p', 'CLPFD', 'TRUE', '-strict'], 'Check that ProB finds counter example to erroneous rule from B-Book').
939 cli_testcase(506, [laws], ['../prob_examples/public_examples/B/Abrial_BBook/MembershipProperty6_Page96.mch', '-init', '-p', 'CLPFD', 'TRUE', '-strict'], 'Check that ProB finds counter example to erroneous rule from B-Book').
940 cli_testcase(507, [laws], ['../prob_examples/public_examples/B/Laws/BoolLaws_SetCompr.mch', '-mc', '1000', '-nodead', '-cs', '-strict'], 'Various laws about boolean connectives in set comprehension form.').
941 cli_testcase(508, [laws], ['../prob_examples/public_examples/B/Laws/BoolLaws_SetComprCLPFD.mch', '-mc', '1000', '-nodead', '-cs', '-strict'], 'Various laws about boolean connectives in set comprehension form.').
942 cli_testcase(509, [laws,strings], ['../prob_examples/public_examples/B/Laws/StringLaws.mch', '-t', '-mc', '500', '-nogoal', '-nodead', '-strict'], 'Some Laws about the STRING datatype').
943 cli_testcase(510, [laws], ['../prob_examples/public_examples/B/Laws/RelLaws.mch', '-init','-ppf', '../prob_examples/public_examples/B/Laws/RelLaws_internal.mch', '-strict'], 'Check that Pretty Printing works on a file with many operators').
944 cli_testcase(511, [csp_test,csp_det], ['../prob_examples/public_examples/CSP/other/Ivo/Deterministic1.csp', '-assertions', '-strict'], 'Check more CSP deterministic assertions').
945 cli_testcase(512, [csp_test,csp_det], ['../prob_examples/public_examples/CSP/other/Ivo/Deterministic2_v2.csp', '-assertions', '-strict'], 'Check more CSP deterministic assertions').
946 cli_testcase(513, [csp_test,csp_det,refinement], ['../prob_examples/public_examples/CSP/other/Ivo/WaterBoiler.csp', '-assertions', '-strict'], 'Check CSP assertions from WaterBoiler.csp example.').
947 cli_testcase(514, [tickets,dot], ['../prob_examples/public_examples/B/Mathematical/Voting/NoCondorcetWinnerKodkod.mch',
948 '-p', 'DOT_FORMULA_TREE_HTML', 'FALSE','-t', '-strict', '-assertions',
949 '-dot_output', '../prob_examples/public_examples/B/Mathematical/Voting/dot_output/', '-dot_all'], 'Check that we have no problem with the existential quantifier; check dot output for assertion with perm.').
950 cli_testcase(515, [b_test,dot], ['-p', 'DOT_LEGEND', 'FALSE', '-p', 'MAXINT', '5', '../prob_examples/public_examples/B/Demo/scheduler.mch', '-mc', '100', '-cc', '36', '156', '-p', 'DEFAULT_SETSIZE', '3', '-df', '-strict','-dot', 'signature_merge','../prob_examples/public_examples/B/Demo/scheduler_spmdot.dot','-dot', dfa_merge, '../prob_examples/public_examples/B/Demo/scheduler_spddot.dot', '-dot','state_space', '../prob_examples/public_examples/B/Demo/scheduler_spdot.dot', '-pref_group', dot_colors, classic, '-p','DOT_PEN_WIDTH',1], 'Test reduced state space dot output.').
951 cli_testcase(516, [symmetry_test], ['../prob_examples/public_examples/B/SymmetryReduction/Contrived/PartiallyEnumeratedSet.mch', '-mc', '100', '-cc', '3', '16', '-p', 'SYMMETRY_MODE', 'hash', '-strict'], 'Check that we detect unused enumerated set elements as symmetrical').
952 cli_testcase(517, [symmetry_test], ['../prob_examples/public_examples/B/SymmetryReduction/Contrived/PartiallyEnumeratedSet.mch', '-mc', '100', '-cc', '3', '16', '-p', 'SYMMETRY_MODE', 'nauty', '-strict'], 'Check that we detect unused enumerated set elements as symmetrical').
953 cli_testcase(518, [symmetry_test], ['-p', 'MAXINT', '5', '../prob_examples/public_examples/B/Demo/monitor2.mch', '-mc', '100', '-cc', '15', '92', '-p', 'SYMMETRY_MODE', 'hash', '-strict'], 'Check that we detect unused enumerated set elements as symmetrical').
954 cli_testcase(519, [symmetry_test], ['-p', 'MAXINT', '5', '../prob_examples/public_examples/B/Demo/monitor2.mch', '-mc', '100', '-cc', '81', '529', '-p', 'SYMMETRY_MODE', 'off', '-strict'], 'Check original without symmetry').
955 cli_testcase(520, [tickets,csp_test], ['../prob_examples/public_examples/CSP/Tickets/Shi/hanoi7.csp', '-mc', '100', '-t', '-strict', '-expcterr', 'model_check_incomplete'], 'Check that exception does not occur (Ticket)').
956 cli_testcase(521, [tickets,csp_test], ['../prob_examples/public_examples/CSP/Tickets/Shi/hanoi4.csp', '-assertions', '-strict'], 'Check that exception does not occur (Ticket)').
957 cli_testcase(522, [tickets,csp_test], ['../prob_examples/public_examples/CSP/Tickets/ErrManagerLoop/PrintRoom.csp', '-mc', 100, '-strict','-expcterr', 'general_error_occurred', '-expcterr', check_channel_output_value], 'Check that channel output error detected and no infinite loop in printing error').
958 cli_testcase(523, [b_test,infinite,union], ['../prob_examples/public_examples/B/PerformanceTests/InfiniteClosures4.mch', '-strict','-assertions'], 'Check that infininite function represented by union is detected and can be applied; also test setting MAXINT using 2**31-1').
959 cli_testcase(524, [tickets], ['../prob_examples/public_examples/B/Tickets/Beauger1/PredProblem.mch', '-t', '-strict'], 'Check that we can use relational composition ; with pred.').
960 cli_testcase(525, [b_test,infinite,finite], ['../prob_examples/public_examples/B/PerformanceTests/InfiniteParityFunction.mch', '-t', '-strict', '-assertions'], 'Some more tests with infinite functions.').
961 cli_testcase(526, [b_test,infinite], ['../prob_examples/public_examples/EventBPrologPackages/Tests/FiniteInfiniteFunctions_ctx.eventb', '-assertions', '-strict'], 'Some more tests with infinite functions and the finite check in Event-B.').
962 cli_testcase(527, [b_test,infinite], ['../prob_examples/public_examples/B/PerformanceTests/InfinitePartialSqrtFunction.mch', '-t', '-strict'], 'Check that we can deal with a partial infinite function.').
963 cli_testcase(528, [b_test,external], ['../prob_examples/public_examples/B/ExternalFunctions/UsesLibraryMath.mch', '-t', '-strict', '-assertions'], 'Check that external functions work.').
964 cli_testcase(529, [b_test,external], ['../prob_examples/public_examples/B/ExternalFunctions/PrologFun.mch', '-assertions', '-strict'], 'Check that external functions PROLOG_FUN work.').
965 cli_testcase(530, [b_test,external], ['../prob_examples/public_examples/B/ExternalFunctions/PrintExternal.mch', '-t', '-strict'], 'Check that external printing functions work.').
966 cli_testcase(531, [b_test,external,strings], ['../prob_examples/public_examples/B/ExternalFunctions/LibraryStrings.mch', '-assertions', '-strict'], 'Check that external String functions work.').
967 cli_testcase(532, [symmetry_test], ['../prob_examples/public_examples/B/SymmetryReduction/mondex_m1_c1_2.eventb', '-mc', 1000, '-p','SYMMETRY_MODE', hash, '-p','MAXINT',20, '-p','CLPFD', 'TRUE','-cc', 269, 4079, '-strict', '-expcterr', 'model_check_incomplete'], 'Check that symmetry reduction and detection of unused constants also works if we have too many disequality axioms.').
968 cli_testcase(533, [b_test,infinite], ['../prob_examples/public_examples/B/PerformanceTests/InfiniteLanguageConcatenation.mch', '-mc', 1000, '-nodead','-assertions', '-check_complete', '-cc', '3', '2'], 'Check that this function is detected as infinite and not expanded.').
969 cli_testcase(534, [tickets], ['../prob_examples/public_examples/B/Tickets/Hansen3/TestingCircDef2.mch', '-mc', 1000, '-nodead','-assertions', '-check_complete', '-cc', '3', '2'], 'Check that the erroneous circular definition problem is gone.').
970 cli_testcase(535, [parser,tickets], ['-init', '-strict', '-evalt', '1+1=3', '-expcterr', 'eval_string'], 'Test that parser for eval strings works and that erroneous result caught.').
971 cli_testcase(536, [parser,tickets,infinite], ['../prob_examples/public_examples/B/PerformanceTests/InfiniteParityFunction.mch', '-init', '-strict', '-evalt', 'not(finite({x|x>2}))','-evalt', 'not(finite(NATURAL))', '-evalf', 'finite({x|x>2})', '-evalt', 'finite(NAT1)', '-evalt', 'NATURAL /: FIN1(INTEGER)'], 'Test that parser for eval strings works.').
972 cli_testcase(537, [tickets,strings], [ '-init', '-strict', '-p','MAXINT',10,
973 '-evalt', 'INTEGER/<:{1,2,3,7,9,10}',
974 '-evalt', 'NATURAL/<:{1,2,3,7,9,10}',
975 '-evalt', 'NATURAL1/<:{1,2,3,7,9,10}',
976 '-evalt', 'NATURAL1/<:{0,1,2,3,4}',
977 '-evalt', 'NATURAL1/<<:{1,2,3,7,9,10}',
978 '-evalt', 'NATURAL1/<<:1..100',
979 '-evalt', 'NATURAL1/<<:{x|x<100}',
980 '-evalt', 'NATURAL1/<<:{x|x>0}',
981 '-evalt', 'NATURAL1/<<:{x|x>=2}',
982 '-evalf', 'NATURAL1/<<:{x|x>=0}',
983 '-evalt', 'NATURAL/<<:{x|x>=0}',
984 '-evalt', 'NATURAL1/<<:0..MAXINT',
985 '-evalt', 'NATURAL1/<:0..MAXINT',
986 '-evalt', 'NATURAL/<:0..MAXINT',
987 '-evalf', 'NATURAL<:0..MAXINT',
988 '-evalt', 'INTEGER/<:MININT..MAXINT',
989 '-evalt', 'STRING/<<:{"a"}',
990 '-evalt', 'STRING/<:{"a"}',
991 '-evalf', 'STRING<:{"a"}',
992 '-evalf', 'STRING<<:{"a"}',
993 '-evalf', 'STRING/<:STRING',
994 '-evalt', 'STRING/<<:STRING',
995 '-evalt', 'BOOL /<<: {TRUE,FALSE}',
996 '-evalf', 'BOOL /<: {TRUE,FALSE}',
997 '-evalt', 'BOOL /<: {TRUE}'
998 %, '-expcterr', 'eval_string_enum_warning'
999 ], 'Test subset works without enum warnings.'). % used to be: 'Test that eval_string catches expansion errors.').
1000 cli_testcase(538, [tickets], [ '-init', '-strict', '-p','MAXINT',10, '-evalt', '1..10 <: NATURAL1'], 'Test that these predicates do not cause enumeration warnings.').
1001 cli_testcase(539, [b_test,kodkod], ['../prob_examples/public_examples/B/Kodkod/CrewAllocationConstantsLarge.mch', '-t', '-strict', '-p','TIME_OUT',3000, '-p', 'SOLVER_FOR_PROPERTIES', 'kodkod', '-properties', '-assertions'], 'Check that Kodkod translator works and that solution is ok (via -assertions). Skipped on Windows because of Memory restrictions.').
1002 cli_testcase(540, [cbc,cbc_tests], ['../prob_examples/public_examples/B/TestCaseGeneration/SimpleCounter.mch', '-cbc_tests', 5 ,'count=MAX-1', '../prob_examples/public_examples/B/TestCaseGeneration/SimpleCounter_results.xml', '-cbc_cover', 'Increase', '-cbc_cover', 'Reset', '-cbc_cover', 'Halfway', '-p', 'CLPFD', 'TRUE', '-strict'], 'Check that CBC test-case generation works.').
1003 cli_testcase(541, [csp_test,ltl], ['../prob_examples/public_examples/CSP/Tickets/WilliamsLTL/SimpleLTL.csp', '-ltlformulat', 'G([a] => F(e(a)))', '-strict'],'Check LTL formula in File.').
1004 cli_testcase(542, [csp_test,ltl], ['../prob_examples/public_examples/CSP/Tickets/WilliamsLTL/SimpleLTL.csp', '-ltlformulat', 'not (GF e(a) => GF [a]) => F [b]', '-strict'],'Check LTL formula in File.').
1005 cli_testcase(543, [csp_test,ltl], ['../prob_examples/public_examples/CSP/other/Ivo/VendingMachine.csp', '-ltlformulat', 'G([coin] => F (e(coffee) & e(tea)))', '-strict'],'Check LTL formula in File.').
1006 cli_testcase(544, [csp_test,ltl], ['../prob_examples/public_examples/CSP/other/Ivo/VendingMachine.csp', '-ltlformulat', 'GF(e(coin))', '-strict'],'Check LTL formula in File.').
1007 cli_testcase(545, [csp_test,ltl], ['../prob_examples/public_examples/CSP/other/Ivo/dot_tuples_ltl_simple.csp', '-ltlformulat', 'G([d] => F(e(ch.a)))', '-strict'],'Check LTL formula in File.').
1008 cli_testcase(546, [csp_test,ltl], ['../prob_examples/public_examples/CSP/other/Ivo/dot_tuples_ltl_simple.csp', '-ltlassertions', '-strict'],'Check LTL formulas in File.').
1009 cli_testcase(547, [csp_test,ltl], ['../prob_examples/public_examples/CSP/other/Ivo/Simple_LTL_Tupels.csp', '-ltlassertions', '-strict'],'Check LTL formulas in File.').
1010 cli_testcase(548, [csp_test,ltl], ['../prob_examples/public_examples/CSP/other/Ivo/Simple_LTL_Tupels.csp', '-ltlformulat', 'GF([tau] => not e(c.a.10.10))', '-strict'],'Check LTL formula in File.').
1011 cli_testcase(549, [csp_test,ltl], ['../prob_examples/public_examples/CSP/other/Ivo/Simple_LTL_Tupels.csp', '-ltlformulat', '[e] U [c.a.1.10]', '-strict'],'Check LTL formula in File.').
1012 cli_testcase(550, [b_test,recursion,external,infinite], ['../prob_examples/public_examples/B/ExternalFunctions/SortSet.mch', '-assertions', '-strict', '-p', 'CLPFD', 'TRUE'], 'Check that recursive sorting function works.').
1013 cli_testcase(551, [csp_test], ['../prob_examples/public_examples/CSP/other/Ivo/TestingCardinality.csp',
1014 '-aa', 2, 0, 0 % '-expcterr', virtual_time_out, model was rewritten to get rid of virtual timeout which now leads to unknown result
1015 ], 'CSP Cardinality tests').
1016 cli_testcase(552, [csp_test], ['../prob_examples/public_examples/CSP/other/Ivo/DotTupleTestCase.csp', '-assertions', '-strict'], '').
1017 cli_testcase(553, [b_test,recursion,external,infinite], ['../prob_examples/public_examples/B/RecursiveFunctions/RecursiveSeqLenFunction.mch', '-t', '-strict', '-p', 'SYMBOLIC', 'FALSE'], 'Test that recursive functions work in non-symbolic mode.').
1018 cli_testcase(554, [b_test,recursion,infinite,external], ['../prob_examples/public_examples/B/RecursiveFunctions/Factorial.mch', '-t', '-strict', '-p', 'SYMBOLIC', 'FALSE', '-assertions'], 'Test that other recursive function works.').
1019 cli_testcase(555, [b_test,recursion,external,choose,sigma,union], ['../prob_examples/public_examples/B/RecursiveFunctions/RecursiveSigmaCHOOSEv1.mch', '-t', '-strict', '-p', 'SYMBOLIC', 'FALSE', '-assertions'], 'Test that union of explicit set and recursive lambda function works.').
1020 cli_testcase(556, [parser,tickets], ['../prob_examples/public_examples/B/Tickets/DefinitionCallSwallow/PerserDefBug.mch', '-strict', '-mc', '1', '-expcterr', 'model_check_incomplete'], 'Regression test for Definitions Bug in Parser').
1021 cli_testcase(557, [b_test,recursion,external,infinite], ['../prob_examples/public_examples/B/RecursiveFunctions/Tests/NestedDef.mch', '-init', '-assertions','-strict', '-p', 'SYMBOLIC', 'FALSE'], 'Test that we do not accidentally treat nested definion of variable with same name as abstract constant.').
1022 cli_testcase(558, [b_test,recursion,external,infinite], ['../prob_examples/public_examples/B/RecursiveFunctions/Tests/RecursiveIntegerEquation.mch', '-init', '-assertions', '-p', 'SYMBOLIC', 'FALSE', '-mc', 100, '-nodead', '-check_complete', '-cc', '3', '3'], 'Test that we do not accidentally treat equation over non-relation type.').
1023 cli_testcase(559, [b_test,recursion,external,infinite], ['../prob_examples/public_examples/B/RecursiveFunctions/Tests/RecursiveEnumEquation.mch', '-init', '-assertions','-strict', '-p', 'SYMBOLIC', 'FALSE', '-mc', 100, '-nodead', '-check_complete', '-cc', '3', '2'], 'Test that we do not accidentally treat equation over non-relation type.').
1024 cli_testcase(560, [b_test,csp_test], ['../prob_examples/public_examples/CSPB/Dining/Dining.mch', '-mc', '1000', '-strict', '-p', 'MAX_INITIALISATIONS', 15, '-check_complete', '-cc', '337', '1320'], 'Test that the dining philosophers without guidance by CSP have no deadlock').
1025 cli_testcase(561, [b_test,csp_test,cspb], ['../prob_examples/public_examples/CSPB/Dining/Dining.mch', '-csp-guide', '../prob_examples/public_examples/CSPB/Dining/Dining.csp', '-mc', '1000', '-strict', '-expecterr', 'deadlock'], 'Test that the dining philosophers with guidance by CSP have a deadlock').
1026 cli_testcase(562, [b_test,cbc_tests], ['../prob_examples/public_examples/EventBPrologPackages/Pitesti/BankAccount_mch.eventb', '-test_description', '../prob_examples/public_examples/EventBPrologPackages/Pitesti/test_description.xml', '-strict'], 'Simple constraint based test case generation').
1027 cli_testcase(563, [b_test,mcm_tests], ['../prob_examples/public_examples/B/Daniel/TestM.mch', '-mcm_tests', '20', '1000', 'state = End', '../prob_examples/public_examples/B/Daniel/TestM_testcases.xml', '-strict'],'State based test generation').
1028 cli_testcase(564, [b_test,csp_test,cspb], ['../prob_examples/public_examples/CSPB/Tickets/Treharne1/Test_corrected.mch', '-csp-guide', '../prob_examples/public_examples/CSPB/Tickets/Treharne1/Test-ctrl.csp', '-mc', '1000', '-strict', '-cc', 5, 6], 'Test that BOOL synchronises with CSP booleans').
1029
1030 cli_testcase(565, [b_test,proz],['../prob_examples/public_examples/Z/Testcases/comsets.fuzz', '-t', '-strict'],'ProZ test').
1031 cli_testcase(566, [b_test,proz],['../prob_examples/public_examples/Z/Testcases/distributed_concatenation.fuzz', '-t', '-strict'],'ProZ test').
1032 cli_testcase(567, [b_test,proz],['../prob_examples/public_examples/Z/Testcases/compaction.fuzz', '-t', '-strict'],'ProZ test').
1033 cli_testcase(568, [b_test,proz],['../prob_examples/public_examples/Z/Testcases/zrm_refcard_ops.fuzz', '-t', '-strict'],'ProZ test').
1034 cli_testcase(569, [b_test,ltl], ['../prob_examples/public_examples/B/SymmetryReduction/Fraikin/Library.mch','-p','IGNORE_HASH_COLLISIONS',
1035 'TRUE','-p','FORGET_STATE_SPACE','FALSE','-p','SYMMETRY_MODE','hash', '-expcterr', 'model_check_incomplete','-mc','9999',
1036 '-ltlformulat','G( e(Reserve(m1,b1)) => not({b1:dom(reservation) & m1 : ran(reservation(b1))}) )', '-strict'],'Check enabled e() with multiple parameters').
1037 cli_testcase(571, [b_test, let], ['../prob_examples/public_examples/B/Daniel/CommonSubLetBug.mch','-mc', '100', '-nodead', '-strict'], 'Regression test regarding let predicate and common subexpression elimination').
1038 cli_testcase(572, [b_test,ltl],['../prob_examples/public_examples/B/LTL/DerrickSmith/Abstract.mch', '-ltlassertions', '-strict'],'Check ltl assertions from DEFINITIONS').
1039 cli_testcase(573, [b_test,ltl],['../prob_examples/public_examples/B/LTL/Mikrowelle.mch', '-ltlassertions', '-strict'],'Check ltl assertions from DEFINITIONS').
1040 cli_testcase(574, [b_test,ltl],['../prob_examples/public_examples/CSPB/Dining/Dining.mch', '-ltlassertions', '-expcterr', ltl, '-strict'],'Check ltl assertions from DEFINITIONS in Dining.mch').
1041 cli_testcase(575, [csp_test,ltl,pragmas],['../prob_examples/public_examples/CSPB/Dining/Dining.csp', '-ltlassertions', '-strict'],'Check ltl assertions from Pragmas in Dining.csp').
1042 cli_testcase(576, [b_test,ltl,cspb],['../prob_examples/public_examples/CSPB/Dining/Dining.mch', '-csp-guide', '../prob_examples/public_examples/CSPB/Dining/Dining.csp', '-ltlassertions', '-strict'],'Check ltl assertions from both Dining models in Csp and B.').
1043 cli_testcase(577, [b_test,ltl],['../prob_examples/public_examples/B/LTL/DerrickSmith/Abstract.mch', '-ltlformulat', 'G([AOp2] => F(sink))', '-strict'],'Check ltl formula').
1044 cli_testcase(578, [b_test,ltl],['../prob_examples/public_examples/B/LTL/DerrickSmith/Abstract.mch', '-ltlformulat', 'G([AOp2] => F(deadlock))', '-strict'],'Check ltl formula').
1045 cli_testcase(579, [csp_test],['../prob_examples/public_examples/CSP/mydemos/ReplicatedSharing.csp', '-mc', '100000', '-t', '-check_complete', '-cc', '78', '302'],'Model check and trace replicated sharing processes.').
1046 cli_testcase(580, [csp_test],['../prob_examples/public_examples/CSP/mydemos/SimpleReplicatedLinkedParallel.csp', '-mc', '100000', '-t', '-strict'],'Model check and trace replicated linked parallel processes.').
1047 cli_testcase(581, [csp_test],['../prob_examples/public_examples/CSP/mydemos/SeqTests.csp', '-mc', '100000', '-nodead', '-t', '-strict'], 'Testing CSP sequences.').
1048 cli_testcase(582, [csp_test],['../prob_examples/public_examples/CSP/other/Ivo/Sequences.csp', '-mc', '100000', '-t', '-strict'], 'Testing CSP sequence structures.').
1049 cli_testcase(583, [b_test,tla],['../prob_examples/public_examples/TLA/GraphIso/GraphIso.tla', '-t', '-strict', '-p','TIME_OUT',7000], 'Testing TLA2B translation and loading.'). % increased time-out for commit 884a6ece23363e6d120cc9fdb3f72da9f6348f15: TO DO Investigate
1050 cli_testcase(584, [b_test,tla],['../prob_examples/public_examples/TLA/ErrorTests/GraphIso.tla', '-init', '-strict'
1051 %'-expcterr', tla2b_parser, '-expcterr', load_main_file % TLA2B no longer generates .mch file !
1052 ],'Check that TLA2B does not overwrite pre-existing machine file').
1053 cli_testcase(585, [b_test],['-strict',
1054 '-evalt_file', '../prob_examples/public_examples/Eval/SendMoreMoney.eval', '-p', 'CLPFD', 'TRUE'],'Check that we can evaluate expr/pred from file without loading another machine').
1055 cli_testcase(586, [b_test,tla],['../prob_examples/public_examples/TLA/Login/Login_Deadlock.tla', '-init', '-strict',
1056 '-mc', 100, '-p', 'SYMMETRY_MODE', hash, '-expcterr', deadlock],'Check that config file found and model checking TLA works').
1057 cli_testcase(587, [csp_test],['../prob_examples/public_examples/CSP/other/Ivo/SeqsAndSetsTest.csp', '-t', '-strict'], 'Testing the CSP-M builtin functions seq(-) and set(-).').
1058 cli_testcase(588, [b_test,pragmas],['../prob_examples/public_examples/B/Pragmas/SymbolicPragmas.mch', '-init',
1059 '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
1060 '-assertions', '-strict'], 'Test that symbolic annotation pragma works.').
1061 cli_testcase(589,[csp_test], ['../prob_examples/public_examples/CSP/other/Ivo/InputOutputChannelValues.csp', '-mc', '10000', '-t', '-strict'], 'Testing complicated CSP-M datatypes.').
1062 cli_testcase(590,[csp_test], ['../prob_examples/public_examples/CSP/other/Ivo/CurryAgents.csp', '-mc', '10000', '-t', '-strict'], 'Testing Curry Agents in CSP-M models.').
1063 cli_testcase(591,[csp_test], ['../prob_examples/public_examples/CSP/other/Ivo/replicates.csp', '-mc', '10000', '-t', '-strict'], 'Testing replicate processes.').
1064 cli_testcase(592,[csp_test], ['../prob_examples/public_examples/CSP/other/Ivo/replicates2.csp', '-mc', '10000', '-t', '-strict'], 'Testing replicate processes.').
1065 cli_testcase(593, [b_test,cruise,operation_reuse,hash], ['../prob_examples/public_examples/B/Benchmarks/Cruise_finite1.mch', '-mc', '1400', '-cc', '1361', '25696', '--hash64', 753243318772366897,
1066 '-strict', '-p', 'OPERATION_REUSE', 'TRUE', '-p', 'MAX_INITIALISATIONS', 5], 'Test Operation Reuse'). % 17.9.2021: adapted hash from 203058745203935766 for sorted order of variables
1067 cli_testcase(594, [b_test], [ '-init', '-strict',
1068 '-evalt_rc', '!x.(x:1..10=>x<11)', '-evalf_rc', '!y.(y:1..10 => y<10)'], 'Test that universally quantified predicates work in eval_string.').
1069 cli_testcase(595, [b_test],['-strict',
1070 '-eval_rule_file', '../prob_examples/public_examples/Eval/KnightsKnaves.eval', '-p', 'CLPFD', 'TRUE'],'Check that we can evaluate expr/pred from file with universal quantification').
1071 cli_testcase(596, [b_test,laws],['../prob_examples/public_examples/B/Laws/TautologiesPL.mch', '-p', 'CLPFD', 'TRUE', '-mc',100, '-nodead', '-cc',17,16, '-strict', '-p', 'MAX_INITIALISATIONS', 15],'Check a list of tautologies').
1072 cli_testcase(597,[csp_test], ['../prob_examples/public_examples/CSP/other/Ivo/DotDatatypes.csp', '-mc', '10000', '-t', '-strict'], 'Testing complex datatypes.').
1073 cli_testcase(598,[tickets], ['../prob_examples/public_examples/B/Tickets/DefMchSameName/DefMchSameName.mch', '-ma', 7, 0 , 0, '-strict'], 'Testing that -main_assertions work properly.').
1074 cli_testcase(599,[tickets], ['../prob_examples/public_examples/B/Tickets/858/ubahn_mch4.eventb', '-init', '-expcterr', setup_constants_inconsistent , '-strict'], 'Testing that no call_residue.').
1075 cli_testcase(600,[tickets,symmetry_test], ['../prob_examples/public_examples/B/Tickets/1043/SymTest.mch', '-mc', 300, '-cc', 3, 31 , '-p', 'SYMMETRY_MODE', hash, '-strict'], 'Testing that symmetry detected for enumerated set elements which are not used.'). % used to be -cc 3 44 but now INITIALISATION arguments are derived from target state
1076 cli_testcase(601,[tickets,symmetry_test], ['../prob_examples/public_examples/B/Tickets/1043/SymTest.mch', '-mc', 300, '-cc', 3, 31 , '-p', 'SYMMETRY_MODE', nauty, '-strict'], 'Testing that symmetry detected for enumerated set elements which are not used.'). % used to be -cc 3 44 but now INITIALISATION arguments are derived from target state
1077 cli_testcase(602,[tickets,symmetry_test], ['../prob_examples/public_examples/B/Tickets/1043/SymTest.mch', '-mc', 300, '-cc', 197, 238 , '-p', 'SYMMETRY_MODE', flood, '-strict'], 'Testing that symmetry detected for enumerated set elements which are not used.').
1078 cli_testcase(603,[b_test], ['../prob_examples/public_examples/B/Tester/DefinitionMultiInclude/Main.mch', '-init', '-aa', 3, 0,0, '-strict'], 'Test same DEFINITION file include twice in different contexts.').
1079 cli_testcase(604, [csp_test,ltl],['../prob_examples/public_examples/CSP/mydemos/demo/Peterson_v2.csp', '-ltlformulat', 'G(not [critical.2])', '-strict', '-expcterr' ,ltl ],'Check ltl formula is reported as false').
1080 cli_testcase(605, [b_test], ['../prob_examples/public_examples/B/Benchmarks/scheduler.mch', '-init', '-strict', '-eval', '(A <=> (waiting={})) & A', %'-p', 'BOOL_AS_PREDICATE', 'FALSE',
1081 '-expcterr' ,parse_machine_predicate_error], 'Test that BOOL as predicate can be disabled.').
1082 % BOOL_AS_PREDICATE is no longer supported:
1083 %cli_testcase(606, [b_test], ['../prob_examples/public_examples/B/Benchmarks/scheduler.mch', '-init', '-strict', '-evalt', '(A <=> (waiting={})) & A', '-evalf', '(B <=> (waiting={})) & (B <=> not(waiting={}))', '-evalt', '!x.(x:1..10 => (A <=> x>z)) & z:0..11 & not(A)', '-p', 'BOOL_AS_PREDICATE', 'TRUE'], 'Test that BOOL as predicate works.').
1084 %cli_testcase(607, [b_test,sat],['-strict',
1085 % '-evalt_file', '../prob_examples/public_examples/Eval/SAT_uf20-02_pred.eval', '-p', 'CLPFD', 'TRUE', '-p', 'BOOL_AS_PREDICATE', 'TRUE'],'Test that BOOL as predicate works.').
1086 cli_testcase(608,[tickets], ['../prob_examples/public_examples/B/Tickets/ConcatDisjUnion/SimpleGrammar.mch', '-init', '-mc', 100 , '-nodead', '-cc', 4, 3, '-strict'], 'Testing that concat does not generate wrong solutions.').
1087 cli_testcase(609,[tickets,b_test], ['../prob_examples/public_examples/B/Compilers/SyracuseGrammar.mch', '-init', '-mc', 100 , '-expcterr', deadlock, '-strict', '-p', 'CLPFD', 'FALSE'], 'Testing that concat works efficiently enough.').
1088 cli_testcase(610,[tickets,b_test], ['../prob_examples/public_examples/B/Compilers/SyracuseGrammar.mch', '-init', '-mc', 100 , '-expcterr', deadlock, '-strict', '-p', 'CLPFD', 'TRUE'], 'Testing that concat works efficiently enough.').
1089 cli_testcase(611,[b_test,infinite], ['../prob_examples/public_examples/B/PerformanceTests/InfiniteRelationImage.mch', '-init', '-assertions', '-properties', '-strict', '-p', 'CLPFD', 'TRUE'], 'Testing that image for infinite relation works.').
1090 cli_testcase(612, [b_test,recursion,external,quantified,union,infinite], ['../prob_examples/public_examples/B/Compilers/NFA.mch', '-t', '-mc', 100, '-cc', 6, 12, '-assertions','-strict'], 'Test recursive function with recursive call inside UNION.').
1091 cli_testcase(613, [b_test,pragmas],['../prob_examples/public_examples/B/Pragmas/AssertionPragmas.mch', '-init', '-pp', '../prob_examples/public_examples/B/Pragmas/AssertionPragmas_internal.mch', '-strict'], 'Test that labels recognised.').
1092 cli_testcase(614, [b_test,recursion,infinite,quantified,refinement],['../prob_examples/public_examples/B/Compilers/NFA_det.ref', '-init', '-refchk', '../prob_examples/public_examples/B/Compilers/NFA_nondet_refine_spec.P', '-cc', 10, 22, '-strict'], 'Test trace refinement checking and ABSTRACT_CONSTANT reuse in NFA_det.').
1093 cli_testcase(615,[b_test,ltl], ['../prob_examples/public_examples/B/LTL/Tests/LTL_1State.mch', '../prob_examples/public_examples/B/LTL/Tests/LTL_2States.mch', '-init', '-ltlassertions', '-strict'], 'Testing LTL formulas on simple statespaces.').
1094 cli_testcase(616, [b_test],['../prob_examples/public_examples/B/Tester/Partition.mch', '-init', '-assertions','-pp','../prob_examples/public_examples/B/Tester/Partition_internal.mch', '-strict'], 'Test that partition properly solved and printed.').
1095 cli_testcase(617, [parser,b_test,tickets],['../prob_examples/public_examples/B/Tickets/RefLoadLoop/NFA_det.ref', '-expcterr', parse_error, '-expcterr', load_main_file, '-strict'], 'Test that parser does not loop.').
1096 cli_testcase(618,[b_test,ltl], ['../prob_examples/public_examples/B/LTL/Tests/LTL_4States.mch', '-init', '-ltlassertions', '-strict'], 'Testing LTL formulas on simple statespaces.').
1097 cli_testcase(619,[b_test,ctl], ['../prob_examples/public_examples/B/LTL/Tests/CTL_SetMove_2States.mch', '-init',
1098 '-ctlformulat', 'AG(EX{xx=bb})', '-ctlformula', 'AGEFEX[Move]true', '-ctlformula', 'AGEFEX[Set(aa)]{xx=aa}',
1099 '-ctlformulat', 'not(EF EX[Set(aa)]{xx=bb})',
1100 '-ctlformulat', 'EF EG {xx=bb}',
1101 '-ctlformulat', '{xx=bb} => EG {xx=bb}',
1102 '-ctlformulat', '{xx=bb} => not AF {xx=aa}',
1103 '-ctlformulat', '{xx=bb} => AF {not(xx=aa)}',
1104 '-strict'], 'Testing CTL formulas on simple statespaces.').
1105 cli_testcase(620,[b_test,ctl], ['../prob_examples/public_examples/B/LTL/Tests/CTL_SetMove_2States.mch', '-init', '-ctlformulat', '(EF EX[Set(aa)]{xx=bb})', '-expcterr', ctl,'-strict'], 'Testing CTL formulas on simple statespaces.').
1106 cli_testcase(621,[b_test,ctl], ['../prob_examples/public_examples/B/Benchmarks/scheduler.mch', '-init',
1107 '-ctlformulat', 'AG ( EX[swap]true => {active /= {}})',
1108 '-ctlformulat', 'AG ( (EX[new]true) or (EX[del]true) or (EX[swap]true) )',
1109 '-ctlformulat', 'AF {card(waiting)>0}',
1110 '-ctlformulat', 'AG( {card(active)>0} => EG e(swap))',
1111 '-strict'], 'Testing CTL formulas on simple statespaces.').
1112 cli_testcase(622,[b_test,ctl], ['../prob_examples/public_examples/B/Benchmarks/scheduler.mch', '-init','-ctlformulat', 'AG ( (EX[new]true) or (EX[del]true) )', '-expcterr', ctl,'-strict'], 'Testing CTL formulas on simple statespaces.').
1113 cli_testcase(623,[tickets,infinite,closure1], ['../prob_examples/public_examples/B/PerformanceTests/Closure1_Computations.mch', '-init', '-assertions','-strict'], 'Check that closure1 works well for large or infinite sets.').
1114 cli_testcase(624,[csp_test], ['../prob_examples/public_examples/CSP/Tickets/3675/AIDCPRB_small.csp', '-mc', '10000', '-t', '-strict'], 'Testing complex datatypes.').
1115 cli_testcase(625, [b_test,tla,choose],['../prob_examples/public_examples/TLA/Tests/ChooseTest.tla', '-mc', 100, '-check_complete', '-cc', '3', '3'], 'Testing TLA2B translation and loading.').
1116 cli_testcase(626, [b_test],['../prob_examples/public_examples/B/PerformanceTests/TestFD_Domain_Narrowing.mch', '-t', '-p', 'CLPFD', 'TRUE', '-strict'], 'Test CLPFD on enumerated sets.').
1117 cli_testcase(627, [cbc,smt_test,cbc_tests], ['../prob_examples/public_examples/B/Benchmarks/scheduler.mch', '-cbc_sequence', 'new;new;del;ready', '-strict', '-p', 'CLPFD', 'TRUE', '-p', 'SMT', 'TRUE'], 'Check cbc_sequence').
1118 cli_testcase(628, [cbc,smt_test,cbc_tests], ['../prob_examples/public_examples/B/Benchmarks/scheduler.mch', '-cbc_sequence', 'new;new;del;del;del', '-strict', '-p', 'SMT', 'TRUE', '-p', 'CLPFD', 'TRUE', '-expcterr', cbc_sequence_no_solution_found], 'Check cbc_sequence').
1119 cli_testcase(629, [tickets,wd], ['../prob_examples/public_examples/B/Tickets/Burdy1/TestOrApplyFunErr.mch', '-mc', '1000', '-expcterr', well_definedness_error, '-strict'], 'Check issue with undefined function application in context of disjunct.').
1120 cli_testcase(630, [tickets], ['../prob_examples/public_examples/B/Tickets/PROBCORE-45/NotIntervalSol.mch', '-init', '-p', 'MAX_INITIALISATIONS', 30, '-mc', '1000', '-expcterr', 'model_check_incomplete', '-nodead', '-assertions', '-cbc_assertions', '-strict'], 'Check problem with not subset for intervals.').
1121 cli_testcase(631, [tickets], ['../prob_examples/public_examples/B/Tickets/PROBCORE-45/NotIntervalSol.mch', '-init', '-p', 'MAX_INITIALISATIONS', 30, '-p', 'CLPFD', 'TRUE', '-mc', '1000', '-expcterr', 'model_check_incomplete', '-nodead', '-assertions', '-cbc_assertions', '-strict'], 'Check problem with not subset for intervals.').
1122 cli_testcase(632, [cbc,smt_test], ['-p', 'CLPFD', 'TRUE', '-p', 'SMT', 'TRUE', '-strict', '-p', 'DEFAULT_SETSIZE', 2, '../prob_examples/public_examples/B/CBC/data_structure1_ctx_theorem_error.eventb', '-cbc_assertions', '-expcterr',cbc_assertions, '-p', 'PROOF_INFO', 'TRUE'], 'Check CBC static assertion checking.').
1123 cli_testcase(633, [tickets], ['../prob_examples/public_examples/EventBPrologPackages/ProofDirected/TestR_label_reuse.eventb', '-mc', 1000, '-noass', '-strict', '-expcterr', 'invariant_violation', '-p', 'PROOF_INFO', 'TRUE'], 'Test that PROOF_INFO not confused by two invariants with same name (inv3).').
1124 cli_testcase(634, [b_test,kodkod,dot,closure1], ['-p', 'DOT_LEGEND', 'FALSE', '../prob_examples/public_examples/B/Kodkod/Loop.mch', '-strict', '-mc', 20, '-nodead', '-bf', '-p', 'MAX_INITIALISATIONS', 8, '-p', 'CLPFD', 'TRUE', '-cc', 15, 14, '-dot', 'state_space', '../prob_examples/public_examples/B/Kodkod/Loop_statespace.dot'], 'Test performance on example where ProB used to be very slow'). %% HAD TO INCREASE MAX_INITIALISATION to 15 from 8 since adding in_domain_wf to element_of_closure1_wf; TO DO: FIX
1125 cli_testcase(635, [b_test,kodkod], ['../prob_examples/public_examples/B/Kodkod/Loop.mch', '-strict', '-mc', 20, '-nodead', '-bf', '-p', 'MAX_INITIALISATIONS', 8, '-p', 'SOLVER_FOR_PROPERTIES', 'kodkod', '-cc', 15, 14], 'Test performance on Loop example with Kodkod').
1126 cli_testcase(636, [b_test], ['../prob_examples/public_examples/EventBPrologPackages/ConfigChooser/PetChooser_mch.eventb', '-strict', '-mc', 300, '-p', 'CLPFD', 'TRUE', '-cc', 41, 236], 'Test performance on example where ProB used to be very slow').
1127 cli_testcase(637, [b_test,kodkod,strings,closure1], ['../prob_examples/public_examples/B/Kodkod/LoopAsStrings.mch', '-strict', '-mc', 20, '-nodead', '-bf', '-p', 'MAX_INITIALISATIONS', 8, '-p', 'CLPFD', 'TRUE', '-cc', 15, 14], 'Test performance on example where ProB used to be very slow'). %% HAD TO INCREASE MAX_INITIALISATION to 15 from 8 since adding in_domain_wf to element_of_closure1_wf; TO DO: FIX
1128 cli_testcase(638, [b_test,recursion,external,infinite], ['../prob_examples/public_examples/B/Tickets/TransitiveClosure/ComputeTClos_mch.eventb', '-t', '-strict', '-p', 'SYMBOLIC', 'FALSE', '-assertions'], 'Test that recursive function works in Event-B.').
1129 cli_testcase(639, [laws], ['../prob_examples/public_examples/B/Laws/SetLawsPow.mch', '-mc', '500', '-nogoal', '-nodead', '-strict', '-p', 'CLPFD', 'FALSE', '-expcterr', 'model_check_incomplete'], 'Laws about sets of sets').
1130 cli_testcase(640, [laws], ['../prob_examples/public_examples/B/Laws/SetLawsPow.mch', '-mc', '500', '-nogoal', '-nodead', '-strict', '-p', 'CLPFD', 'TRUE', '-expcterr', 'model_check_incomplete'], 'Laws about sets of sets').
1131 cli_testcase(641, [laws], ['../prob_examples/public_examples/B/Laws/SetLawsPow.mch', '-mc', '500', '-nogoal', '-nodead', '-strict', '-p', 'CLPFD', 'TRUE', '-p', 'SYMBOLIC', 'TRUE', '-expcterr', 'model_check_incomplete'], 'Laws about sets of sets').
1132 cli_testcase(642, [laws], ['../prob_examples/public_examples/B/Laws/SetLawsPowPow.mch', '-mc', '250', '-nogoal', '-nodead', '-strict', '-p', 'CLPFD', 'TRUE', '-expcterr', 'model_check_incomplete'], 'Laws about sets of sets').
1133 cli_testcase(643, [laws,card], ['../prob_examples/public_examples/EventBPrologPackages/Deploy/s1_mch1_switches_mch.eventb', '-mc', '250', '-p', 'DEFAULT_SETSIZE', 2, '-strict', '-p', 'CLPFD', 'TRUE', '-cc', 10, 30], 'Check that deferred set is set to at least 3').
1134 cli_testcase(644, [laws,card], ['../prob_examples/public_examples/EventBPrologPackages/Laws/TestPartitionDeferredSetCardMch_mch.eventb', '-mc', '250', '-nodead', '-p', 'DEFAULT_SETSIZE', 2, '-strict', '-p', 'CLPFD', 'TRUE', '-cc', 5, 6], 'Check that deferred set is set to at least 6').
1135 %cli_testcase(645, [plugin_units,wd,pragmas], ['../prob_examples/public_examples/B/PragmasUnits/Tests/WrongComparisonInInvariant.mch', '-plugin', 'units', '-expecterr', 'well_definedness_error', '-strict', '-mc', 5], '').
1136 cli_testcase(646, [b_test,cache], ['../prob_examples/public_examples/B/Puzzles/CrewAllocationConstants.mch', '-t', '-strict', '-p','TIME_OUT',3000, '-cache', 'cache_does_not_exist/', '-expecterr', cache], 'Check that -cache option works on simple example.').
1137 cli_testcase(647, [b_test,cache], ['../prob_examples/public_examples/B/Puzzles/CrewAllocationConstants.mch', '-t', '-strict', '-p','TIME_OUT',3000, '-cache', '../prob_examples/public_examples/cache/'], 'Check that -cache option works on simple example.').
1138 cli_testcase(648, [b_test,cache], ['../prob_examples/public_examples/B/Puzzles/CrewAllocationConstants.mch', '-t', '-strict', '-p','TIME_OUT',3000, '-cache', '../prob_examples/public_examples/cache/'], 'Check that -cache option works on simple example (2nd time).').
1139 cli_testcase(649, [tickets,infinite], ['../prob_examples/public_examples/B/Tickets/PROB-83/Time.mch', '-t', '-strict'], 'Check infinite function works. (PROB-83)').
1140 cli_testcase(650, [tickets,cbc,override], ['../prob_examples/public_examples/B/Tickets/Berkani1/CartesianProductOverrideAssertion.mch', '-cbc_assertions', '-strict', '-expcterr',cbc_assertions], 'Check that counter example for Cartesian product found.').
1141 cli_testcase(651, [tickets,override], ['../prob_examples/public_examples/B/Tickets/Berkani1/CartesianProductOverride.mch', '-init', '-strict', '-p', 'CLPFD', 'TRUE', '-properties', '-assertions'], 'Check that counter example for Cartesian product found.').
1142 cli_testcase(652, [tickets,infinite,recursion], ['../prob_examples/public_examples/B/Compilers/TuringMachine_Goedelisation.mch', '-mc', 300, '-p', 'CLPFD', 'TRUE', '-expecterr', deadlock, '-strict', '-cc', 245, 244], 'Check machine with several complicated infinite & recursive functions.').
1143 cli_testcase(653, [tickets], ['../prob_examples/public_examples/B/Tickets/Mejia5/essai_fncs.mch', '-t', '-strict'], 'Check ticket (with NAT >+> NAT)').
1144 cli_testcase(654, [laws], ['../prob_examples/public_examples/B/Laws/SetRelLaws_NatBool.mch', '-mc', '750', '-nodead', '-cs', '-strict','-p', 'DOUBLE_EVALUATION', 'TRUE', '-p', 'CLPFD', 'TRUE', '-expcterr', 'model_check_incomplete'], 'Various laws about relations.').
1145 cli_testcase(655, [typechecker_test,tickets], ['-mc','1000','../prob_examples/public_examples/B/Tickets/PROB-46/Validate.mch','-expecterr',type_error ,'-expecterr', load_main_file, '-expecterr', b_read_write_info, '-strict'], 'Check type-error: Operation calls another operation of the same machine.'). % ADDED '-expecterr', btypechecker --> TO DO: ensure that we do not raise internal errors here !! <--------------
1146 cli_testcase(656, [b_test], ['../prob_examples/public_examples/B/Mathematical/PostCorrespondence_Turing_MC.mch', '-mc', '750', '-nodead', '-strict', '-p', 'CLPFD', 'TRUE', '-expecterr', goal_found], 'A non-trivial machine.').
1147 %cli_testcase(657, [plugin_units,pragmas], ['../prob_examples/public_examples/B/PragmasUnits/InternalRepresentationTests/SimpleCorrectUsage.mch', '-plugin', 'units', '-strict', '-pp', '../prob_examples/public_examples/B/PragmasUnits/InternalRepresentationTests/SimpleCorrectUsage_internal.mch'], '').
1148 cli_testcase(658, [cbc,cbc_deadlock], ['../prob_examples/public_examples/EventBPrologPackages/Deploy/s4_mch9_schedule_mch.eventb', '-cbc_deadlock', '-p', 'SMT', 'TRUE', '-strict', '-p', 'CLPFD', 'TRUE', '-p','DEFAULT_SETSIZE',1], 'Check no typing error.').
1149 cli_testcase(659, [cbc,cbc_deadlock], ['../prob_examples/public_examples/EventBPrologPackages/Deploy/s4_mch9_schedule_mch.eventb', '-cbc', 'all', '-p', 'SMT', 'TRUE', '-strict', '-p', 'CLPFD', 'TRUE', '-p','DEFAULT_SETSIZE',1], '').
1150 cli_testcase(660, [b_test,external], ['../prob_examples/public_examples/B/ExternalFunctions/TestLibraryIO.mch', '-t', '-strict', '-p', 'CLPFD', 'TRUE'], 'Test IO Library').
1151 %cli_testcase(661, [plugin_units,pragmas], ['../prob_examples/public_examples/B/PragmasUnits/InternalRepresentationTests/MultiplicationConversion.mch', '-plugin', 'units', '-strict', '-pp', '../prob_examples/public_examples/B/PragmasUnits/InternalRepresentationTests/MultiplicationConversion_internal.mch'], '').
1152 %cli_testcase(662, [plugin_units,pragmas], ['../prob_examples/public_examples/B/PragmasUnits/InternalRepresentationTests/KnownExponent.mch', '-plugin', 'units', '-strict', '-pp', '../prob_examples/public_examples/B/PragmasUnits/InternalRepresentationTests/KnownExponent_internal.mch'], '').
1153 cli_testcase(664, [ltl], ['../prob_examples/public_examples/B/TestCaseGeneration/SimpleCounter.mch', '-ltllimit', '50', '-ltlformula', 'G({1=1}=>X{2=2})', '-strict',
1154 '-p', 'use_safety_ltl_model_checker', false,
1155 '-expcterr', ltl_incomplete, '-expcterr', state_space], 'check that no error reported for incomplete model check').
1156 %cli_testcase(665, [plugin_units,pragmas], ['../prob_examples/public_examples/B/PragmasUnits/CaseStudies/TrafficLightWarning/Car.mch', '-plugin', 'units', '-strict', '-pp', '../prob_examples/public_examples/B/PragmasUnits/CaseStudies/TrafficLightWarning/Car_internal.mch'], '').
1157 %cli_testcase(666, [plugin_units,pragmas], ['../prob_examples/public_examples/B/PragmasUnits/CaseStudies/TrafficLightWarning/TrafficLight.mch', '-plugin', 'units', '-strict', '-pp', '../prob_examples/public_examples/B/PragmasUnits/CaseStudies/TrafficLightWarning/TrafficLight_internal.mch'], '').
1158 %cli_testcase(667, [plugin_units,pragmas], ['../prob_examples/public_examples/B/PragmasUnits/CaseStudies/TrafficLightWarning/System.mch', '-plugin', 'units', '-strict', '-pp', '../prob_examples/public_examples/B/PragmasUnits/CaseStudies/TrafficLightWarning/System_internal.mch'], '').
1159 cli_testcase(668, [ltl,csp_test], ['../prob_examples/public_examples/CSP/other/Ivo/BobAlice.csp', '-ltlassertions', '-strict'],'Check LTL formulas in File.').
1160 %cli_testcase(669, [plugin_units,pragmas], ['../prob_examples/public_examples/B/PragmasUnits/Tests/IncorrectUnitDefinition.mch', '-plugin', 'units', '-strict', '-expecterr', 'incorrect_unit_definition'], '').
1161 %cli_testcase(670, [plugin_units,pragmas], ['../prob_examples/public_examples/B/PragmasUnits/Tests/BoolAndString.mch', '-plugin', 'units', '-strict','-mc', 5], 'Bool and String are not annotated / used by the unit plugin. Just check that there is no error.').
1162 %cli_testcase(672, [plugin_units,wd,pragmas], ['../prob_examples/public_examples/B/PragmasUnits/Tests/WrongOperation.mch', '-plugin', 'units', '-strict', '-expecterr', 'well_definedness_error', '-mc', 5], '').
1163 %cli_testcase(673, [plugin_units,pragmas], ['../prob_examples/public_examples/B/PragmasUnits/InternalRepresentationTests/IrregularConversions.mch', '-plugin', 'units', '-strict', '-pp', '../prob_examples/public_examples/B/PragmasUnits/InternalRepresentationTests/IrregularConversions_internal.mch'], '').
1164 %cli_testcase(675, [plugin_units,wd,pragmas], ['../prob_examples/public_examples/B/PragmasUnits/InternalRepresentationTests/IfTypeAndClash.mch','-plugin','units','-expecterr','well_definedness_error','-strict','-pp','../prob_examples/public_examples/B/PragmasUnits/InternalRepresentationTests/IfTypeAndClash_internal.mch'], '').
1165 %cli_testcase(676, [plugin_units,pragmas], ['../prob_examples/public_examples/B/PragmasUnits/InternalRepresentationTests/UserDefinedAlias.mch', '-plugin', 'units', '-strict', '-pp', '../prob_examples/public_examples/B/PragmasUnits/InternalRepresentationTests/UserDefinedAlias_internal.mch'], '').
1166 %cli_testcase(677, [plugin_units,pragmas], ['../prob_examples/public_examples/B/PragmasUnits/CaseStudies/FuelLevel/ctx.mch', '-plugin', 'units', '-strict', '-pp', '../prob_examples/public_examples/B/PragmasUnits/CaseStudies/FuelLevel/ctx_internal.mch'], '').
1167 %cli_testcase(678, [plugin_units,imp,pragmas], ['../prob_examples/public_examples/B/PragmasUnits/CaseStudies/FuelLevel/ctx_i.imp', '-plugin', 'units', '-strict', '-pp', '../prob_examples/public_examples/B/PragmasUnits/CaseStudies/FuelLevel/ctx_i_internal.mch'], '').
1168 %cli_testcase(679, [plugin_units,pragmas], ['../prob_examples/public_examples/B/PragmasUnits/CaseStudies/FuelLevel/fuel0.mch', '-plugin', 'units', '-strict', '-pp', '../prob_examples/public_examples/B/PragmasUnits/CaseStudies/FuelLevel/fuel0_internal.mch'], '').
1169 %cli_testcase(680, [plugin_units,imp,pragmas,refinement], ['../prob_examples/public_examples/B/PragmasUnits/CaseStudies/FuelLevel/fuel_i.imp', '-plugin', 'units', '-strict', '-pp', '../prob_examples/public_examples/B/PragmasUnits/CaseStudies/FuelLevel/fuel_i_internal.mch'],
1170 %'also checks that invariants copied to refinement machine').
1171 %cli_testcase(681, [plugin_units,wd,pragmas], ['../prob_examples/public_examples/B/PragmasUnits/InternalRepresentationTests/IntegerOperations.mch', '-plugin', 'units', '-strict', '-expecterr', 'well_definedness_error', '-pp', '../prob_examples/public_examples/B/PragmasUnits/InternalRepresentationTests/IntegerOperations_internal.mch','-p', 'plugin(units,fixpoint_halt_on_error)','false'], '').
1172 cli_testcase(682, [ltl,csp_test], ['../prob_examples/public_examples/CSP/slicing/peterson_modelcheck.csp', '-ltlassertions', '-strict'],'Check LTL formulas in File.').
1173 %cli_testcase(683, [plugin_units,pragmas], ['../prob_examples/public_examples/B/PragmasUnits/InternalRepresentationTests/AdditionConversion.mch', '-plugin', 'units', '-strict', '-pp', '../prob_examples/public_examples/B/PragmasUnits/InternalRepresentationTests/AdditionConversion_internal.mch'], '').
1174 cli_testcase(684, [csp_test], ['../prob_examples/public_examples/CSP/Tickets/3675/AIDCPRB.csp', '-mc', '10000', '-nodead', '-check_complete', '-cc', '8650', '20089'],'Model checking test for fixed bug number 3675.').
1175 cli_testcase(685, [csp_test], ['../prob_examples/public_examples/CSP/Tickets/3675/SafetyPRB.csp', '-mc', '150000', '-nodead', '-cc', '74528', '297023'],'Model checking test for fixed bug number 3675.').
1176 %cli_testcase(686, [plugin_units,pragmas], ['../prob_examples/public_examples/B/PragmasUnits/InternalRepresentationTests/SequenceOperations.mch', '-plugin', 'units', '-strict', '-pp', '../prob_examples/public_examples/B/PragmasUnits/InternalRepresentationTests/SequenceOperations_internal.mch'], '').
1177 cli_testcase(687, [b_test,csp_test,cspb,strings], ['../prob_examples/public_examples/CSPB/FeatureTests/StringMachine.mch', '-csp-guide', '../prob_examples/public_examples/CSPB/FeatureTests/StringMachine.csp', '-mc', '1000', '-strict', '-expecterr', 'deadlock'], 'Test that the machine with guidance by CSP have a deadlock').
1178 %cli_testcase(688, [plugin_units,wd,pragmas], ['../prob_examples/public_examples/B/PragmasUnits/Tests/SomeUnitErrors.mch', '-plugin', 'units', '-strict', '-expecterr', 'well_definedness_error'], '').
1179 cli_testcase(689, [cbc], ['../prob_examples/public_examples/EventBPrologPackages/Advance/Safety_Metro_23_08_2012/GCDoor_M2_mch.eventb', '-cbc', all, '-strict'], 'Test that proof info works well and no invariant checked').
1180 cli_testcase(690, [cbc,refinement], ['../prob_examples/public_examples/EventBPrologPackages/ProofDirected/M1_err_mch.eventb', '-cbc', all, '-strict', '-expecterr', cbc, '-expecterr', 'event_refinement', '-p', 'SMT', 'TRUE', '-p', 'CLPFD', 'TRUE'], 'Test that error detected').
1181 cli_testcase(691, [eventb_test], ['../prob_examples/public_examples/EventBPrologPackages/ProofDirected/TestInvPreserv_M2_ko_mch.eventb', '-mc', 100, '-strict', '-expecterr', 'invariant_violation', '-p', 'SMT', 'TRUE', '-p', 'CLPFD', 'TRUE', '-p', 'NUMBER_OF_ANIMATED_ABSTRACTIONS', 1], 'Test that error detected').
1182 cli_testcase(692, [eventb_test,smt_test], ['../prob_examples/public_examples/EventBPrologPackages/ProofDirected/TestInvPreserv_M2_ko_mch.eventb', '-mc', 100, '-nodead', '-strict', '-expecterr', 'event_error:setX:action_not_executable', '-p', 'SMT', 'TRUE', '-p', 'CLPFD', 'TRUE'], 'Test that error detected').
1183 cli_testcase(693, [eventb_test,smt_test], ['../prob_examples/public_examples/EventBPrologPackages/ProofDirected/TestInvPreserv_M2_ko_rename.eventb', '-mc', 100, '-strict', '-expecterr', 'invariant_violation', '-p', 'SMT', 'TRUE', '-p', 'CLPFD', 'TRUE', '-p', 'NUMBER_OF_ANIMATED_ABSTRACTIONS', 1], 'Test that error detected').
1184 cli_testcase(694, [eventb_test,smt_test], ['../prob_examples/public_examples/EventBPrologPackages/ProofDirected/TestInvPreserv_M2_ko_rename.eventb', '-mc', 100, '-nodead', '-strict', '-expecterr', 'event_error:setX3:action_not_executable', '-p', 'SMT', 'TRUE', '-p', 'CLPFD', 'TRUE'], 'Test that error detected').
1185 %cli_testcase(695, [plugin_units,pragmas], ['../prob_examples/public_examples/B/PragmasUnits/InferenceTests/InvolvedConstraintUnits.mch', '-plugin', 'units', '-strict', '-pp', '../prob_examples/public_examples/B/PragmasUnits/InferenceTests/InvolvedConstraintUnits_internal.mch'], '').
1186 %cli_testcase(696, [plugin_units,wd,pragmas], ['../prob_examples/public_examples/B/PragmasUnits/InferenceTests/InvolvedConstraintUnitsUnsat.mch', '-plugin', 'units', '-strict','-expecterr', 'well_definedness_error', '-pp', '../prob_examples/public_examples/B/PragmasUnits/InferenceTests/InvolvedConstraintUnitsUnsat_internal.mch'], '').
1187 cli_testcase(697, [tickets,external], ['../prob_examples/public_examples/B/Tickets/Burlando1/machine_test_PRINTF.mch', '-t', '-strict'], 'Test PRINTF').
1188 cli_testcase(698, [b_test], ['-p', 'CLPFD', 'TRUE', '../prob_examples/public_examples/B/Puzzles/SudokuAsConstant.mch', '-t','-strict', '-p', 'TRACE_INFO', 'TRUE'], 'Check TRACE_INFO flag').
1189 cli_testcase(699, [cbc,cbc_deadlock,exists], ['../prob_examples/public_examples/B/CBC/ExistsDeadlockTests.mch', '-cbc_deadlock', '-p', 'TRACE_INFO', 'TRUE','-expcterr', 'cbc_deadlock_check', '-strict'], 'Check that guard simplification works correctly').
1190 %cli_testcase(700, [plugin_units,pragmas], ['../prob_examples/public_examples/B/PragmasUnits/CaseStudies/Abrial_Hybrid/hybrid_train/T_m0.mch', '-plugin', 'units', '-strict', '-pp', '../prob_examples/public_examples/B/PragmasUnits/CaseStudies/Abrial_Hybrid/hybrid_train/T_m0_internal.mch'], '').
1191 %cli_testcase(701, [plugin_units,pragmas], ['../prob_examples/public_examples/B/PragmasUnits/CaseStudies/Abrial_Hybrid/hybrid_train/T_m1.mch', '-plugin', 'units', '-strict', '-pp', '../prob_examples/public_examples/B/PragmasUnits/CaseStudies/Abrial_Hybrid/hybrid_train/T_m1_internal.mch'], '').
1192 cli_testcase(702, [b_test,tla],['../prob_examples/public_examples/TLA/Tests/SetLaws.tla', '-mc', 1000, '-nodead', '-strict', '-expcterr', 'model_check_incomplete'], 'Testing TLA2B translation laws.').
1193 cli_testcase(703, [b_test,tla],['../prob_examples/public_examples/TLA/Tests/NatLaws.tla', '-mc', 1000, '-nodead', '-strict', '-expcterr', 'model_check_incomplete'], 'Testing TLA2B translation laws.').
1194 %cli_testcase(704, [plugin_units,pragmas], ['../prob_examples/public_examples/B/PragmasUnits/CaseStudies/Abrial_Hybrid/hybrid_nuclear/C_m0.mch', '-plugin', 'units', '-strict', '-pp', '../prob_examples/public_examples/B/PragmasUnits/CaseStudies/Abrial_Hybrid/hybrid_nuclear/C_m0_internal.mch'], '').
1195 %cli_testcase(705, [plugin_units,pragmas], ['../prob_examples/public_examples/B/PragmasUnits/CaseStudies/Abrial_Hybrid/hybrid_nuclear/C_m1.mch','-expcterr',bmachine_static_checks, '-plugin', 'units', '-strict', '-pp', '../prob_examples/public_examples/B/PragmasUnits/CaseStudies/Abrial_Hybrid/hybrid_nuclear/C_m1_internal.mch'], '').
1196 %cli_testcase(706, [plugin_units,pragmas], ['../prob_examples/public_examples/B/PragmasUnits/CaseStudies/Abrial_Hybrid/hybrid_nuclear/C_m2.mch','-expcterr',bmachine_static_checks, '-plugin', 'units', '-strict', '-pp', '../prob_examples/public_examples/B/PragmasUnits/CaseStudies/Abrial_Hybrid/hybrid_nuclear/C_m2_internal.mch'], '').
1197 %cli_testcase(707, [plugin_units,pragmas], ['../prob_examples/public_examples/B/PragmasUnits/CaseStudies/Abrial_Hybrid/hybrid_nuclear/C_m3.mch','-expcterr',bmachine_static_checks, '-plugin', 'units', '-strict', '-pp', '../prob_examples/public_examples/B/PragmasUnits/CaseStudies/Abrial_Hybrid/hybrid_nuclear/C_m3_internal.mch'], '').
1198 cli_testcase(708, [laws],['../prob_examples/public_examples/B/Kodkod/LawsArithmeticCsts.mch', '-init', '-expcterr', 'setup_constants_fails','-strict', '-p', 'CLPFD', 'TRUE'], 'Testing setting up constants finds no counter-example to mathematical laws.').
1199 cli_testcase(709, [laws,kodkod],['../prob_examples/public_examples/B/Kodkod/LawsArithmeticCsts.mch', '-init', '-expcterr', 'setup_constants_fails','-strict', '-p', 'CLPFD', 'FALSE', '-p', 'SOLVER_FOR_PROPERTIES', 'kodkod','-p', 'TIME_OUT', '9000', '-p', 'KODKOD_RAISE_WARNINGS', 'TRUE'], 'Testing setting up constants finds no counter-example to mathematical laws.').
1200 cli_testcase(710, [laws],['../prob_examples/public_examples/B/Kodkod/LawsSetsCsts.mch', '-init', '-expcterr', 'setup_constants_fails', '-p', 'CLPFD', 'TRUE', '-strict', '-p', 'TIME_OUT', 3500], 'Testing setting up constants finds no counter-example to mathematical laws.').
1201 cli_testcase(711, [laws,kodkod],['../prob_examples/public_examples/B/Kodkod/LawsRelCsts.mch', '-init', '-expcterr', 'setup_constants_fails','-strict', '-p', 'CLPFD', 'FALSE', '-p', 'SOLVER_FOR_PROPERTIES', 'kodkod', '-p', 'KODKOD_RAISE_WARNINGS', 'TRUE'], 'Testing setting up constants finds no counter-example to mathematical laws.').
1202 cli_testcase(712, [error_checks,csp_test], ['../prob_examples/public_examples/CSP/ErrorModels/csp_sequences/AppendBuiltInFunctionTypeError.csp', '-strict', '-mc', 10,'-expcterr', 'csp_sequences', '-expcterr', 'deadlock'], 'Testing if the built-in operator ^ raises expected error.').
1203 cli_testcase(713, [error_checks,csp_test], ['../prob_examples/public_examples/CSP/ErrorModels/csp_sequences/ConcatBuiltInFunctionTypeError1.csp', '-strict', '-mc', 10,'-expcterr', 'csp_sequences', '-expcterr', 'deadlock'], 'Testing if the concat(<...>) built-in function raises expected error.').
1204 cli_testcase(714, [error_checks,csp_test], ['../prob_examples/public_examples/CSP/ErrorModels/csp_sequences/ConcatBuiltInFunctionTypeError2.csp', '-strict', '-mc', 10,'-expcterr', 'csp_sequences', '-expcterr', 'deadlock'], 'Testing if the concat(<...>) built-in function raises expected error.').
1205 cli_testcase(715, [error_checks,csp_test], ['../prob_examples/public_examples/CSP/ErrorModels/csp_sequences/ExpandingInfiniteSequenceError.csp', '-strict', '-mc', 10,'-expcterr', 'csp_sequences', '-expcterr', 'deadlock'], 'Testing of raising error by expanding infinite sequences.').
1206 cli_testcase(716, [error_checks,csp_test], ['../prob_examples/public_examples/CSP/ErrorModels/csp_sequences/HeadBuiltInFunctionTypeError.csp', '-strict', '-mc', 10,'-expcterr', 'csp_sequences', '-expcterr', 'deadlock'], 'Testing if the head(-) built-in function raises expected error.').
1207 cli_testcase(717, [error_checks,csp_test], ['../prob_examples/public_examples/CSP/ErrorModels/csp_sequences/IsElemListTypeError.csp', '-strict', '-mc', 10,'-expcterr', 'csp_sequences', '-expcterr', 'general_error_occurred'], 'Testing if the elem(-,-) built-in function raises expected error.').
1208 cli_testcase(718, [error_checks,csp_test], ['../prob_examples/public_examples/CSP/ErrorModels/csp_sequences/LengthBuiltInFunctionInfiniteSeqError.csp', '-mc', 10,'-expcterr', 'csp_sequences', '-expcterr', 'deadlock', '-strict'], 'Testing if the length(-) built-in function raises expected error by calling it with infinite sequence.').
1209 cli_testcase(719, [error_checks,csp_test], ['../prob_examples/public_examples/CSP/ErrorModels/csp_sequences/LengthBuiltInFunctionTypeError.csp', '-strict', '-mc', 10,'-expcterr', 'csp_sequences', '-expcterr', 'deadlock'], 'Testing if the length(-) built-in function raises expected error.').
1210 cli_testcase(720, [error_checks,csp_test], ['../prob_examples/public_examples/CSP/ErrorModels/csp_sequences/NullBuiltInFunctionTypeError.csp', '-strict', '-mc', 10,'-expcterr', 'csp_sequences', '-expcterr', 'deadlock'], 'Testing if the null(-) built-in function raises expected error.').
1211 cli_testcase(721, [error_checks,csp_test], ['../prob_examples/public_examples/CSP/ErrorModels/csp_sequences/SeqBuiltInFunctionTypeError.csp', '-strict', '-mc', 10,'-expcterr', 'csp_sequences', '-expcterr', 'deadlock'], 'Testing if the seq(-) built-in function raises expected error.').
1212 cli_testcase(722, [error_checks,csp_test], ['../prob_examples/public_examples/CSP/ErrorModels/csp_sequences/SetBuiltInFunctionTypeError.csp', '-strict', '-mc', 10,'-expcterr', 'csp_sequences', '-expcterr', 'deadlock'], 'Testing if the set(-) built-in function raises expected error.').
1213 cli_testcase(723, [error_checks,csp_test], ['../prob_examples/public_examples/CSP/ErrorModels/csp_sequences/TailBuiltInFunctionTypeError.csp', '-strict', '-mc', 10,'-expcterr', 'csp_sequences', '-expcterr', 'deadlock'], 'Testing if the tail(-) built-in function raises expected error.').
1214 cli_testcase(724, [error_checks,csp_test], ['../prob_examples/public_examples/CSP/ErrorModels/haskell_csp/ReplicatedInternalChoiceEmptySetError.csp', '-strict', '-mc', 10,'-expcterr', 'cspm_trans', '-expcterr', 'deadlock'], 'Testing of error raising by defining a replicated internal choice process over an empty set.').
1215 cli_testcase(725, [error_checks,csp_test], ['../prob_examples/public_examples/CSP/ErrorModels/csp_sets/EmptySetTypeError.csp', '-strict', '-mc', 10,'-expcterr', 'csp_sets', '-expcterr', 'deadlock'], 'Testing if the empty(-) built-in function raises expected error.').
1216 cli_testcase(726, [csp_test], ['../prob_examples/public_examples/CSP/mydemos/OtherCoverageTests/ReplicatedOperatorsOverEmptyPatternSets.csp', '-strict', '-mc', 10], 'Testing replicated operators over over empty pattern sets (||| x:{}@ P, ; x:<>@P, || x:{} @[a] P and [|a|] x:{} @P).').
1217 cli_testcase(727, [error_checks,csp_test], ['../prob_examples/public_examples/CSP/ErrorModels/haskell_csp/EmptySetInReplicatedLinkedParallelError.csp', '-strict', '-mc', 10,'-expcterr', 'haskell_csp', '-expcterr', 'csp_sequences', '-expcterr', 'general_error_occurred'], 'Testing of error raising by defining a replicated linked parallel process over an empty set.').
1218 cli_testcase(728, [error_checks, csp_test], ['../prob_examples/public_examples/CSP/ErrorModels/haskell_csp/InterleavingSpecialCase.csp', '-strict', '-mc', 10, '-expcterr', 'deadlock'], 'Testing a special case of the |||-operator (STOP ||| STOP).').
1219 cli_testcase(729, [error_checks, csp_test], ['../prob_examples/public_examples/CSP/ErrorModels/haskell_csp/UndefinedConstructError.csp', '-strict', '-mc', 10, '-expcterr', 'general_error_occurred', '-expcterr', 'full_normalise_csp_process'], 'Testing for raising undefined constructor error.').
1220 cli_testcase(730, [error_checks, csp_test], ['../prob_examples/public_examples/CSP/ErrorModels/haskell_csp/TooManyOutputValuesOnChannelError.csp', '-strict', '-mc', 10, '-expcterr', 'enumerate_action', '-expcterr', 'general_error_occurred'], 'Testing for raising an error, when there are too many output values on channel.').
1221 cli_testcase(731, [error_checks, csp_test], ['../prob_examples/public_examples/CSP/ErrorModels/haskell_csp/NotABooleanValueErrorIfThenElse.csp', '-strict', '-mc', 10, '-expcterr', 'haskell_csp', '-expcterr', 'deadlock'], 'Testing for raising an error, when there is no boolean value expression in the if-then-else-condition.').
1222 cli_testcase(732, [laws,kodkod],['../prob_examples/public_examples/B/Kodkod/LawsSetsCsts.mch', '-init', '-expcterr', 'setup_constants_fails','-strict', '-p', 'SOLVER_FOR_PROPERTIES', 'kodkod', '-p', 'KODKOD_RAISE_WARNINGS', 'TRUE'], 'Testing setting up constants finds no counter-example to mathematical laws.').
1223 cli_testcase(733, [b_test,csp_test,cspb], ['../prob_examples/public_examples/CSPB/TestVariableProbing.mch', '-csp-guide', '../prob_examples/public_examples/CSPB/TestVariableProbing.csp', '-t', '-strict'], 'Test probing of B variables').
1224 cli_testcase(734, [laws,kodkod], ['../prob_examples/public_examples/B/Laws/BoolLaws_SetCompr.mch', '-init', '-cs', '-p', 'KODKOD','TRUE', '-p', 'KODKOD_RAISE_WARNINGS', 'TRUE', '-strict'], 'Various laws about boolean connectives in set comprehension form.').
1225 cli_testcase(735, [laws,kodkod], ['../prob_examples/public_examples/B/Laws/BoolLaws_SetComprCLPFD.mch', '-init', '-cs', '-p', 'KODKOD','TRUE', '-p', 'KODKOD_RAISE_WARNINGS', 'TRUE', '-strict'], 'Various laws about boolean connectives in set comprehension form.').
1226 cli_testcase(736, [b_test,csp_test,cspb], ['../prob_examples/public_examples/CSPB/EventB/m_partner_behaviour.eventb', '-csp-guide', '../prob_examples/public_examples/CSPB/EventB/m_partner_behaviour.csp', '-t', '-strict'], 'Test Event-B+CSP + discharged calc'). % Warning: Event-B model has error (modification of variable EndStateVar not allowed in receive_Request)
1227 cli_testcase(737, [b_test,external], ['../prob_examples/public_examples/B/ExternalFunctions/LibraryFiles.mch', '-init', '-assertions','-strict'], 'Check that external functions work.').
1228 cli_testcase(738, [b_test,proz],['../prob_examples/public_examples/Z/Testcases/freetypes.fuzz', '-mc', '1000', '-nodead', '-strict'],'ProZ test for freetypes').
1229 cli_testcase(739, [error_checks, csp_test], ['../prob_examples/public_examples/CSP/ErrorModels/csp_tupels/ChannelOutputValuesError.csp', '-strict', '-mc', 10, '-expcterr', 'evaluate_channel_outputs', '-expcterr', 'deadlock'], 'Testing raising an error when no channel tuple is given as prefix event.').
1230 cli_testcase(740, [error_checks, csp_test], ['../prob_examples/public_examples/CSP/ErrorModels/haskell_csp/TypeErrorInChannelOutput.csp', '-strict', '-mc', 10, '-expcterr', 'check_channel_output_value', '-expcterr', 'general_error_occurred'], 'Testing raising of channel output error.').
1231 cli_testcase(741, [error_checks, csp_test], ['../prob_examples/public_examples/CSP/ErrorModels/csp_tupels/ChannelNotDeclaredError.csp', '-strict', '-mc', 10, '-expcterr', 'evaluate_channel_outputs', '-expcterr', 'general_error_occurred', '-expcterr', 'enumerate_action'], 'Testing raising of channel not declared errors.').
1232 cli_testcase(742, [error_checks, csp_test], ['../prob_examples/public_examples/CSP/ErrorModels/csp_tupels/ListProjectionError1.csp', '-strict', '-mc', 10, '-expcterr', 'list_projection','-expcterr', 'general_error_occurred'], 'Testing for list projection errors inside local definitions (let-within clauses).').
1233 cli_testcase(743, [error_checks, csp_test], ['../prob_examples/public_examples/CSP/ErrorModels/csp_tupels/ListProjectionError2.csp', '-strict', '-mc', 10, '-expcterr', 'list_projection','-expcterr', 'deadlock'], 'Testing for list projection errors inside local definitions (let-within clauses).').
1234 cli_testcase(744, [error_checks, csp_test], ['../prob_examples/public_examples/CSP/ErrorModels/csp_tupels/ListProjectionError3.csp', '-strict', '-mc', 10, '-expcterr', 'list_projection','-expcterr', 'deadlock'], 'Testing for list projection errors inside local definitions (let-within clauses).').
1235 cli_testcase(745, [error_checks, csp_test], ['../prob_examples/public_examples/CSP/ErrorModels/csp_tupels/TupleProjectionError1.csp', '-strict', '-mc', 10, '-expcterr', 'csp_tuples','-expcterr', 'deadlock'], 'Testing for tuple projection errors inside local definitions (let-within clauses).').
1236 cli_testcase(746, [error_checks, csp_test], ['../prob_examples/public_examples/CSP/ErrorModels/csp_tupels/TupleProjectionError2.csp', '-strict', '-mc', 10, '-expcterr', 'csp_tuples','-expcterr', 'deadlock'], 'Testing for tuple projection errors inside local definitions (let-within clauses).').
1237 cli_testcase(747, [error_checks, csp_test], ['../prob_examples/public_examples/CSP/ErrorModels/csp_tupels/NaTupleProjectionError1.csp', '-strict', '-mc', 10, '-expcterr', 'csp_tuples','-expcterr', 'deadlock'], 'Testing for not-associative tuple projection errors inside local definitions (let-within clauses).').
1238 cli_testcase(748, [error_checks, csp_test], ['../prob_examples/public_examples/CSP/ErrorModels/csp_tupels/NaTupleProjectionError2.csp', '-strict', '-mc', 10, '-expcterr', 'csp_tuples','-expcterr', 'deadlock'], 'Testing for not-associative tuple projection errors inside local definitions (let-within clauses).').
1239 cli_testcase(749, [error_checks,csp_test], ['../prob_examples/public_examples/CSP/ErrorModels/csp_sets/CardinalityOfInfiniteSetError.csp', '-strict', '-mc', 10,'-expcterr', 'csp_sets', '-expcterr', 'deadlock'], 'Testing if the card(-) built-in function raises expected error by calling it with infinite set.').
1240 cli_testcase(750, [error_checks,csp_test], ['../prob_examples/public_examples/CSP/ErrorModels/csp_sets/CardinalityTypeError.csp', '-strict', '-mc', 10,'-expcterr', 'csp_sets', '-expcterr', 'deadlock'], 'Testing if the card(-) built-in function raises expected type error by calling it with expression, which is not a set.').
1241 cli_testcase(751, [error_checks,csp_test], ['../prob_examples/public_examples/CSP/ErrorModels/csp_sets/InterEmptySetError.csp', '-strict', '-mc', 10,'-expcterr', 'csp_sets', '-expcterr', 'deadlock'], 'Testing if the Inter(-) built-in function raises expected error by calling it with an empty set.').
1242 cli_testcase(752, [error_checks,csp_test], ['../prob_examples/public_examples/CSP/ErrorModels/csp_sets/ExpandClosureSetError.csp', '-strict', '-mc', 10,'-expcterr', 'csp_sets', '-expcterr', 'deadlock'], 'Testing for errors by expanding closure set elements (error occurs if the element is not a channel name e.g. just constructor).').
1243 cli_testcase(753, [error_checks,csp_test], ['../prob_examples/public_examples/CSP/ErrorModels/csp_sets/ExpandingSymbolicSetError1.csp', '-strict', '-mc', 10,'-expcterr', 'expand_symbolic_set', '-expcterr', 'deadlock'], 'Testing for errors by expanding symbolic sets.').
1244 cli_testcase(754, [csp_test], ['../prob_examples/public_examples/CSP/mydemos/demo/Peterson_v2.csp', '-mc', 1000, '-strict', '-p', 'COMPRESSION', 'TRUE', '-cc', 215, 429, '-statistics'], 'Test compression with CSP').
1245 cli_testcase(755, [csp_test], ['../prob_examples/public_examples/CSPB/TestVariableProbing.csp', '-MAIN', 'OTHER', '-mc', 100, '-cc', 4, 4, '-strict'], 'Test setting main process').
1246 cli_testcase(756, [xtl], ['../prob_examples/public_examples/XTL/Promela/promela_int.P', '-t', '-mc', 100,
1247 '-cc', 23, 29, '-strict'], 'Test Promela XTL interpreter').
1248 cli_testcase(757, [error_checks,csp_test], ['../prob_examples/public_examples/CSP/ErrorModels/haskell_csp/TestingForParseAndLoadErrors.csp', '-strict', '-expcterr', 'haskell_csp'], 'Testing the error clauses of the pasrse and load predicates in the haskell_csp module.').
1249 cli_testcase(758, [csp_test], ['../prob_examples/public_examples/CSP/other/Ivo/Farmer.csp', '-strict', '-get_csp_assertions_as_string'], 'Testing getting Csp assertions from file.').
1250 cli_testcase(759, [error_checks,csp_test], ['../prob_examples/public_examples/CSP/ErrorModels/haskell_csp/EnumerateInfiniteChannelInputError1.csp', '-strict', '-mc', 10, '-expcterr', 'enumerate_channel_input_value', '-expcterr', 'general_error_occurred'], 'Testing enumerating infinite channel input error.').
1251 cli_testcase(760, [error_checks,csp_test], ['../prob_examples/public_examples/CSP/ErrorModels/haskell_csp/EnumerateIllegalTypeOfChannelError.csp', '-strict', '-mc', 10, '-expcterr', 'enumerate_channel_input_value', '-expcterr', 'general_error_occurred'], 'Testing enumerating infinite channel input error.').
1252 cli_testcase(761, [error_checks,csp_test], ['../prob_examples/public_examples/CSP/ErrorModels/haskell_csp/EnumerateInfiniteChannelInputError2.csp', '-strict', '-mc', 10, '-expcterr', 'enumerate_channel_input_value', '-expcterr', 'general_error_occurred'], 'Testing for raising enumerating infinite channel type error for sequences.').
1253 cli_testcase(762, [error_checks,csp_test], ['../prob_examples/public_examples/CSP/ErrorModels/haskell_csp/ChannelInputSetEnumerationResultError.csp', '-strict', '-mc', 10, '-expcterr', 'set_enumeration_tuple_result', '-expcterr', 'deadlock'], 'Testing for raising type error on channel input.').
1254 cli_testcase(763, [error_checks,csp_test], ['../prob_examples/public_examples/CSP/ErrorModels/haskell_csp/ChannelTooFewValuesOnChannelError.csp', '-strict', '-mc', 10, '-expcterr', 'enumerate_action', '-expcterr', 'general_error_occurred'], 'Testing for raising type error in channel input.').
1255 cli_testcase(764, [csp_test], ['../prob_examples/public_examples/CSP/mydemos/OtherCoverageTests/InterleavedIfThenElseBlocks.csp', '-strict', '-mc', 1000], 'Testing interleaved if-then-else blocks.').
1256 % 765, 766 missing
1257 cli_testcase(767, [private,data_validation,siemens], ['../prob_examples/examples/B/Siemens/BAC9_ZC/pas_as_env_inv_ld.mch','-strict', '-t', '-p',
1258 'CLPFD', 'TRUE', '-aa', 27, 0, 0, '-p', 'MAX_OPERATIONS', 1, '-p', 'WARN_IF_DEFINITION_HIDES_VARIABLE', 'FALSE', '-sptxt', '../prob_examples/examples/B/Siemens/BAC9_ZC/pas_as_env_inv_ld_sptxt.txt'], 'Siemens Data Validation Test.').
1259 cli_testcase(777, [private,data_validation,siemens], ['../prob_examples/examples/B/Siemens/AdaptedBModelPropCheck/acs_as_env_ctx_aiguille.mch','-strict', '-p','CLPFD', 'TRUE', '-aa', 49, 2, 0, '-p', 'MAX_OPERATIONS', 0, '-p', 'MAXINT', 2147483647, '-p', 'TIME_OUT', 5000, '-p', 'EXPAND_FORALL_UPTO', 0, '-strict'], 'Siemens Data Validation Test.').
1260 cli_testcase(778, [private,data_validation,siemens,codespeed], ['../prob_examples/examples/B/Siemens/AdaptedBModelPropCheck/acs_as_env_cfg_ipart.mch','-strict', '-p','CLPFD', 'TRUE', '-aa', 144, 4, 0, '-p', 'MAX_OPERATIONS', 0, '-p', 'MAXINT', 2147483647, '-p', 'TIME_OUT', 5000, '-p', 'EXPAND_FORALL_UPTO', 0], 'Siemens Data Validation Test.').
1261 cli_testcase(779, [private,data_validation,siemens], ['../prob_examples/examples/B/Siemens/AdaptedBModelPropCheck/acs_as_env_cfg_ipart.mch','-strict', '-p','CLPFD', 'TRUE', '-ma', 95, 2, 0, '-p', 'MAX_OPERATIONS', 0, '-p', 'MAXINT', 2147483647, '-p', 'TIME_OUT', 5000, '-p', 'EXPAND_FORALL_UPTO', 0], 'Siemens Data Validation Test (main assertions).').
1262 cli_testcase(780, [private,data_validation,siemens], ['../prob_examples/examples/B/Siemens/Canarsie_PAR1_PAL/cbtc_mes_as_env_inv_easitf_bs.mch','-strict', '-p','CLPFD', 'TRUE', '-aa', 127, 0, 0, '-p', 'MAX_OPERATIONS', 0, '-p', 'MAXINT', 2147483647, '-p', 'TIME_OUT', 5000, '-p', 'EXPAND_FORALL_UPTO', 0], 'Siemens Data Validation Test.').
1263 cli_testcase(781, [private,data_validation,siemens,codespeed], ['../prob_examples/examples/B/Siemens/Canarsie_PAR1_PAL/cbtc_mes_as_env_inv_easitf_bs.mch','-strict', '-p','CLPFD', 'TRUE', '-ma', 22, 0, 0, '-p', 'MAX_OPERATIONS', 0, '-p', 'MAXINT', 2147483647, '-p', 'TIME_OUT', 5000, '-p', 'EXPAND_FORALL_UPTO', 0], 'Siemens Data Validation Test (main assertions).').
1264 cli_testcase(782, [private,data_validation,siemens], ['../prob_examples/examples/B/Siemens/Canarsie_PAR1_PAL/cbtc_mes_as_env_inv_etors_bs.mch','-strict', '-p','CLPFD', 'TRUE', '-aa', 142, 0, 0, '-p', 'MAX_OPERATIONS', 0, '-p', 'MAXINT', 2147483647, '-p', 'TIME_OUT', 5000, '-p', 'EXPAND_FORALL_UPTO', 0], 'Siemens Data Validation Test.').
1265 cli_testcase(783, [private,data_validation,siemens], ['../prob_examples/examples/B/Siemens/Canarsie_PAR1_PAL/cbtc_mes_as_env_inv_stors_bs.mch','-strict', '-p','CLPFD', 'TRUE', '-aa', 147, 1, 0, '-p', 'MAX_OPERATIONS', 0, '-p', 'MAXINT', 2147483647, '-p', 'TIME_OUT', 5000, '-p', 'EXPAND_FORALL_UPTO', 0], 'Siemens Data Validation Test.').
1266 cli_testcase(784, [private,data_validation,siemens], ['../prob_examples/examples/B/Siemens/Canarsie_PAR1_PAL/par1_mes_as_env_inv_etors_bs.mch','-strict', '-p','CLPFD', 'TRUE', '-aa', 125, 0, 0, '-p', 'MAX_OPERATIONS', 0, '-p', 'MAXINT', 2147483647, '-p', 'TIME_OUT', 5000, '-p', 'EXPAND_FORALL_UPTO', 0], 'Siemens Data Validation Test.').
1267 cli_testcase(785, [private,data_validation,siemens], ['../prob_examples/examples/B/Siemens/Canarsie_PAR1_PAL/par1_pans_as_env_inv_etors_bs.mch','-strict', '-p','CLPFD', 'TRUE', '-aa', 188, 0, 0, '-p', 'MAX_OPERATIONS', 0, '-p', 'MAXINT', 2147483647, '-p', 'TIME_OUT', 5000, '-p', 'EXPAND_FORALL_UPTO', 0], 'Siemens Data Validation Test.').
1268 cli_testcase(786, [private,data_validation,siemens], ['../prob_examples/examples/B/Siemens/Canarsie_PAR1_PAL/par1_pans_as_env_inv_etors_dist_bs.mch','-strict', '-p','CLPFD', 'TRUE', '-aa', 184, 0, 0, '-p', 'MAX_OPERATIONS', 0, '-p', 'MAXINT', 2147483647, '-p', 'TIME_OUT', 5000, '-p', 'EXPAND_FORALL_UPTO', 0], 'Siemens Data Validation Test.').
1269 cli_testcase(787, [private,data_validation,siemens], ['../prob_examples/examples/B/Siemens/Canarsie_PAR1_PAL/par1_pans_as_env_inv_mesitf_bs.mch','-strict', '-p','CLPFD', 'TRUE', '-aa', 182, 0, 0, '-p', 'MAX_OPERATIONS', 0, '-p', 'MAXINT', 2147483647, '-p', 'TIME_OUT', 5000, '-p', 'EXPAND_FORALL_UPTO', 0], 'Siemens Data Validation Test.').
1270 cli_testcase(788, [private,data_validation,siemens], ['../prob_examples/examples/B/Siemens/Canarsie_PAR1_PAL/par1_pans_as_env_inv_pasitf_bs.mch','-strict', '-p','CLPFD', 'TRUE', '-aa', 176, 1, 0, '-p', 'MAX_OPERATIONS', 0, '-p', 'MAXINT', 2147483647, '-p', 'TIME_OUT', 5000, '-p', 'EXPAND_FORALL_UPTO', 0], 'Siemens Data Validation Test.').
1271 cli_testcase(789, [private,data_validation,siemens], ['../prob_examples/examples/B/Siemens/Canarsie_PAR1_PAL/par1_pans_as_env_inv_se_dj_bs.mch','-strict', '-p','CLPFD', 'TRUE', '-aa', 174, 2, 0, '-p', 'MAX_OPERATIONS', 0, '-p', 'MAXINT', 2147483647, '-p', 'TIME_OUT', 5000, '-p', 'EXPAND_FORALL_UPTO', 0], 'Siemens Data Validation Test.').
1272 cli_testcase(790, [private,data_validation,siemens], ['../prob_examples/examples/B/Siemens/Canarsie_PAR1_PAL/par1_pans_as_env_inv_ss_bs.mch','-strict', '-p','CLPFD', 'TRUE', '-aa', 192, 0, 0, '-p', 'MAX_OPERATIONS', 0, '-p', 'MAXINT', 2147483647, '-p', 'TIME_OUT', 5000, '-p', 'EXPAND_FORALL_UPTO', 0], 'Siemens Data Validation Test.').
1273 cli_testcase(791, [private,data_validation,siemens], ['../prob_examples/examples/B/Siemens/Canarsie_PAR1_PAL/par1_pans_as_env_inv_stors_bs.mch','-strict', '-p','CLPFD', 'TRUE', '-aa', 192, 0, 0, '-p', 'MAX_OPERATIONS', 0, '-p', 'MAXINT', 2147483647, '-p', 'TIME_OUT', 5000, '-p', 'EXPAND_FORALL_UPTO', 0], 'Siemens Data Validation Test.').
1274 cli_testcase(792, [private,data_validation,siemens], ['../prob_examples/examples/B/Siemens/Canarsie_PAR1_PAL/par1_pans_as_env_inv_tcs_bs.mch','-strict', '-p','CLPFD', 'TRUE', '-aa', 183, 8, 0, '-p', 'MAX_OPERATIONS', 0, '-p', 'MAXINT', 2147483647, '-p', 'TIME_OUT', 5000, '-p', 'EXPAND_FORALL_UPTO', 0, '-p', 'DATA_VALIDATION', 'TRUE'], 'Siemens Data Validation Test.'). % added DATA_VALIDATION to prevent merging of assertions, otherwise we get 179 TRUE + 8 FALSE
1275 cli_testcase(793, [private,data_validation,siemens], ['../prob_examples/examples/B/Siemens/CBTC_Sol_Line4_SaoPaulo/pas_as_env_inv_etorf.mch','-strict', '-p','CLPFD', 'TRUE', '-init', '-expcterr', 'setup_constants_inconsistent',
1276 '-opterr','setup_constants_fails', % setup can fail when value too large to be stored and no partial_setup_constants is done
1277 '-p', 'MAX_OPERATIONS', 0, '-p', 'MAXINT', 2147483647, '-p', 'TIME_OUT', 5000, '-p', 'EXPAND_FORALL_UPTO', 0], 'Siemens Data Validation Test.').
1278 cli_testcase(794, [private,data_validation,siemens], ['../prob_examples/examples/B/Siemens/CBTC_Sol_Line4_SaoPaulo/pas_as_env_inv_etorf.mch','-strict', '-p','CLPFD', 'TRUE', '-init', '-expcterr', 'setup_constants_inconsistent',
1279 '-opterr','setup_constants_fails', % setup can fail when value too large to be stored and no partial_setup_constants is done
1280 '-p', 'MAX_OPERATIONS', 0, '-p', 'MAXINT', 2147483647, '-p', 'TIME_OUT', 5000, '-p', 'WARN_IF_DEFINITION_HIDES_VARIABLE', 'FALSE','-p', 'EXPAND_FORALL_UPTO', 0], 'Siemens Data Validation Test.').
1281 cli_testcase(795, [private,data_validation,siemens], ['../prob_examples/examples/B/Siemens/CBTC_Sol_Line4_SaoPaulo/cmnb_heure_cst_gen.mch','-strict', '-p','CLPFD', 'TRUE', '-aa', 7, 0, 0, '-p', 'MAX_OPERATIONS', 0, '-p', 'MAXINT', 2147483647, '-p', 'TIME_OUT', 5000, '-p', 'WARN_IF_DEFINITION_HIDES_VARIABLE', 'FALSE','-p', 'EXPAND_FORALL_UPTO', 0], 'Siemens Data Validation Test.').
1282 cli_testcase(796, [private,data_validation,siemens], ['../prob_examples/examples/B/Siemens/CBTC_Sol_Line4_SaoPaulo/pas_as_env_ctx_trainstop.mch','-strict', '-p','CLPFD', 'TRUE', '-aa', 6, 0, 0, '-p', 'MAX_OPERATIONS', 0, '-p', 'MAXINT', 2147483647, '-p', 'TIME_OUT', 5000, '-p', 'WARN_IF_DEFINITION_HIDES_VARIABLE', 'FALSE','-p', 'EXPAND_FORALL_UPTO', 0], 'Siemens Data Validation Test.').
1283 cli_testcase(797, [private,data_validation,siemens], ['../prob_examples/examples/B/Siemens/CBTC_Sol_Line4_SaoPaulo/pas_as_env_inv_quai.mch','-strict', '-p','CLPFD', 'TRUE', '-aa', 50, 0, 0, '-p', 'MAX_OPERATIONS', 0, '-p', 'MAXINT', 2147483647, '-p', 'TIME_OUT', 5000, '-p', 'WARN_IF_DEFINITION_HIDES_VARIABLE', 'FALSE','-p', 'EXPAND_FORALL_UPTO', 0], 'Siemens Data Validation Test.'). % changed -aa 51 to 50 due to partition detection in Sept. 2014
1284 cli_testcase(798, [private,data_validation,siemens], ['../prob_examples/examples/B/Siemens/CBTC_Sol_Line4_SaoPaulo/pas_as_env_inv_zaum.mch','-strict', '-p','CLPFD', 'TRUE', '-aa', 40, 0, 0, '-p', 'MAX_OPERATIONS', 0, '-p', 'MAXINT', 2147483647, '-p', 'TIME_OUT', 5000, '-p', 'WARN_IF_DEFINITION_HIDES_VARIABLE', 'FALSE','-p', 'EXPAND_FORALL_UPTO', 0], 'Siemens Data Validation Test.').
1285 cli_testcase(799, [private,data_validation,siemens,closure1], ['../prob_examples/examples/B/Siemens/CBTC_Sol_Line4_SaoPaulo/pas_as_env_inv_cv_sui_v2.mch','-strict', '-p','CLPFD', 'TRUE','-aa', 61, 2, 0, % was '-aa', 62, 1, 0, for pas_as_env_inv_cv_sui.mch with prior closure(.) definition
1286 '-p', 'MAX_OPERATIONS', 0, '-p', 'MAXINT', 2147483647, '-p', 'TIME_OUT', 25000, '-p', 'WARN_IF_DEFINITION_HIDES_VARIABLE', 'FALSE','-p', 'EXPAND_FORALL_UPTO', 0], 'Siemens Data Validation Test.').
1287 cli_testcase(800, [private,smt_test,bosch,codespeed], ['../prob_examples/examples/RodinModels/Bosch/CrCtl_0.5.0_v9/CrCtl_Comb2_Final_mch.eventb', '-cbc_deadlock_pred', 'Counter=10 & P_CrCtl_Mode=STANDBY', '-p', 'SMT', 'TRUE',
1288 '-p', 'CLPFD', 'TRUE', '-p', 'USE_RECORD_CONSTRUCTION', 'TRUE', '-p', 'MAXINT', 2, '-p', 'DEFAULT_SETSIZE', 1, '-strict', '-expcterr', cbc_deadlock_check, '-p', 'MAX_INITIALISATIONS', 0],'Bosch CBC Test.').
1289 cli_testcase(801, [private,smt_test,bosch], ['../prob_examples/examples/RodinModels/Bosch/CrCtl_0.5.0_v8/CrCtl_Comb2_Final_mch.eventb', '-cbc_deadlock_pred', 'Counter=10', '-p', 'SMT', 'TRUE',
1290 '-p', 'CLPFD', 'TRUE', '-p', 'USE_RECORD_CONSTRUCTION', 'TRUE', '-p', 'MAXINT', 2, '-p', 'DEFAULT_SETSIZE', 1, '-strict', '-expcterr', cbc_deadlock_check, '-p', 'MAX_INITIALISATIONS', 0],'Bosch CBC Test.').
1291 cli_testcase(802, [private,smt_test,bosch], ['../prob_examples/examples/RodinModels/Bosch/CrCtl_0.5.0_v7/CrCtl_Comb2_Final_mch.eventb', '-cbc_deadlock_pred', 'Counter=10', '-p', 'SMT', 'TRUE',
1292 '-p', 'CLPFD', 'TRUE', '-p', 'USE_RECORD_CONSTRUCTION', 'TRUE', '-p', 'MAXINT', 2, '-p', 'DEFAULT_SETSIZE', 1, '-strict', '-expcterr', cbc_deadlock_check, '-p', 'MAX_INITIALISATIONS', 0],'Bosch CBC Test.').
1293 cli_testcase(803, [private,smt_test,bosch,codespeed], ['../prob_examples/examples/RodinModels/Bosch/CrCtl_0.5.0_v6/CrCtl_Comb2_Final_mch.eventb', '-cbc_deadlock_pred', 'Counter=10', '-p', 'SMT', 'TRUE',
1294 '-p', 'CLPFD', 'TRUE', '-p', 'USE_RECORD_CONSTRUCTION', 'TRUE', '-p', 'MAXINT', 2, '-p', 'DEFAULT_SETSIZE', 1, '-strict', '-expcterr', cbc_deadlock_check, '-p', 'MAX_INITIALISATIONS', 0],'Bosch CBC Test.').
1295 cli_testcase(804, [private,smt_test,bosch], ['../prob_examples/examples/RodinModels/Bosch/CrCtl_0.5.0_v5/CrCtl_Comb2_Final_mch.eventb', '-cbc_deadlock_pred', 'Counter=10', '-p', 'SMT', 'TRUE',
1296 '-p', 'CLPFD', 'TRUE', '-p', 'USE_RECORD_CONSTRUCTION', 'TRUE', '-p', 'MAXINT', 2, '-p', 'DEFAULT_SETSIZE', 1, '-strict', '-expcterr', cbc_deadlock_check, '-p', 'MAX_INITIALISATIONS', 0],'Bosch CBC Test.').
1297 cli_testcase(805, [private,smt_test,bosch], ['../prob_examples/examples/RodinModels/Bosch/CrCtl_0.5.0_v5/CrCtl_Comb2_Final_mch.eventb', '-cbc_deadlock', '-p', 'SMT', 'TRUE',
1298 '-p', 'CLPFD', 'TRUE', '-p', 'USE_RECORD_CONSTRUCTION', 'TRUE', '-p', 'MAXINT', 2, '-p', 'DEFAULT_SETSIZE', 1, '-strict', '-expcterr', cbc_deadlock_check, '-p', 'MAX_INITIALISATIONS', 0],'Bosch CBC Test.').
1299 cli_testcase(806, [private,smt_test,bosch], ['../prob_examples/examples/RodinModels/Bosch/CrCtl_0.5.0_v4/CrCtl_Comb2_Final_mch.eventb', '-cbc_deadlock_pred', 'Counter=10', '-p', 'SMT', 'TRUE',
1300 '-p', 'CLPFD', 'TRUE', '-p', 'USE_RECORD_CONSTRUCTION', 'TRUE', '-p', 'MAXINT', 2, '-p', 'DEFAULT_SETSIZE', 1, '-strict', '-expcterr', cbc_deadlock_check, '-p', 'MAX_INITIALISATIONS', 0],'Bosch CBC Test.').
1301 cli_testcase(807, [tickets,csp_test], ['../prob_examples/public_examples/CSP/Tickets/Shi/milnerSched5.csp', '-assertions', '-strict'], 'Check that exception does not occur (Ticket PROB-43)').
1302 cli_testcase(808, [b_test,dot], ['../prob_examples/public_examples/B/Benchmarks/CarlaTravelAgencyErr.mch', '-t', '-strict', '-dot', 'state_as_graph', '../prob_examples/public_examples/B/Benchmarks/CarlaTravelAgencyErr_state_graph.dot'], 'Check State Graph Generation').
1303 cli_testcase(809, [private,data_validation], ['../prob_examples/public_examples/B/Tickets/LargeMachTypeErr/LargeValueOk.mch', '-assertions', '-strict'], 'Check loading large data').
1304 cli_testcase(810, [private,typechecker_test], ['../prob_examples/public_examples/B/Tickets/LargeMachTypeErr/sequenceur_values.mch', '-expcterr', type_error, '-expcterr', load_main_file, '-strict'], 'Check large number of errors'). % takes 1m23secs with 1.13.0 and 2m29secs with 1.15.0
1305 cli_testcase(811, [error_checks,csp_test], ['../prob_examples/public_examples/CSP/ErrorModels/csp_tupels/ChannelNameUsedAsValueError.csp', '-strict', '-mc', 10, '-expcterr', 'valid_value', '-expcterr', 'general_error_occurred','-expcterr', 'check_channel_output_value'], 'Testing for raising channel name used as value error.').
1306 cli_testcase(812, [error_checks,csp_test], ['../prob_examples/public_examples/CSP/ErrorModels/csp_tupels/IllegalDataValueError.csp', '-strict', '-mc', 10, % '-expcterr', 'valid_value', % after fixing issue 304 cf test 2301 we no longer raise valid_value error for sets
1307 '-expcterr', 'general_error_occurred','-expcterr', 'check_channel_output_value'], 'Testing for raising illegal data value error.').
1308 cli_testcase(813, [error_checks,csp_test], ['../prob_examples/public_examples/CSP/ErrorModels/csp_tupels/MismatchNumberOfArgumentsForChannelSynchrError.csp', '-strict', '-mc', 10, '-expcterr', 'unify_tuple_args', '-expcterr', 'deadlock'], 'Testing for raising mismatch number of arguments error.').
1309 cli_testcase(814, [error_checks,csp_test], ['../prob_examples/public_examples/CSP/ErrorModels/csp_sets/TypeErrorInEquality1.csp', '-strict', '-mc', 10
1310 % '-expcterr', 'haskell_csp', '-expcterr', 'general_error_occurred' % This is actually not a type error ! Removed 8.Dec 2025
1311 ], 'Testing for type errors in equality.').
1312
1313 cli_testcase(815, [error_checks,csp_test], ['../prob_examples/public_examples/CSP/ErrorModels/csp_sets/TypeErrorInEquality2.csp', '-strict', '-mc', 10, '-expcterr', 'haskell_csp', '-expcterr', 'general_error_occurred'], 'Testing for type errors in equality.').
1314 cli_testcase(816, [error_checks,csp_test], ['../prob_examples/public_examples/CSP/ErrorModels/csp_sets/TypeErrorInEquality3.csp', '-strict', '-mc', 10, '-expcterr', 'haskell_csp', '-expcterr', 'general_error_occurred'], 'Testing for type errors in equality.').
1315 cli_testcase(817, [error_checks,csp_test], ['../prob_examples/public_examples/CSP/ErrorModels/csp_sets/TypeErrorInEquality4.csp', '-strict', '-mc', 10, '-expcterr', 'haskell_csp', '-expcterr', 'general_error_occurred'], 'Testing for type errors in equality.').
1316 cli_testcase(818, [error_checks,csp_test], ['../prob_examples/public_examples/CSP/ErrorModels/csp_sets/TypeErrorInEquality5.csp', '-strict', '-mc', 10, '-expcterr', 'haskell_csp', '-expcterr', 'deadlock'], 'Testing for type errors in equality.').
1317 cli_testcase(819, [error_checks,csp_test], ['../prob_examples/public_examples/CSP/ErrorModels/csp_sets/TypeErrorInEquality6.csp', '-strict', '-mc', 10, '-expcterr', 'haskell_csp', '-expcterr', 'deadlock'], 'Testing for type errors in equality.').
1318 cli_testcase(820, [error_checks,csp_test], ['../prob_examples/public_examples/CSP/ErrorModels/csp_sets/TypeErrorInEquality7.csp', '-strict', '-mc', 10, '-expcterr', 'haskell_csp', '-expcterr', 'deadlock'], 'Testing for type errors in equality.').
1319 cli_testcase(821, [error_checks,csp_test], ['../prob_examples/public_examples/CSP/ErrorModels/csp_sets/TypeErrorInEquality8.csp', '-strict', '-mc', 10, '-expcterr', 'haskell_csp', '-expcterr', 'deadlock'], 'Testing for type errors in equality.').
1320 cli_testcase(822, [error_checks,csp_test], ['../prob_examples/public_examples/CSP/ErrorModels/csp_sets/TypeErrorInEquality9.csp', '-strict', '-mc', 10, '-expcterr', 'haskell_csp', '-expcterr', 'deadlock'], 'Testing for type errors in equality.').
1321 cli_testcase(823, [error_checks,csp_test], ['../prob_examples/public_examples/CSP/ErrorModels/csp_sets/TypeErrorInEquality10.csp', '-strict', '-mc', 10, '-expcterr', 'haskell_csp', '-expcterr', 'deadlock'], 'Testing for type errors in equality.').
1322 cli_testcase(824, [error_checks,csp_test], ['../prob_examples/public_examples/CSP/ErrorModels/csp_sets/TypeErrorInEquality11.csp', '-strict', '-mc', 10, '-expcterr', 'haskell_csp', '-expcterr', 'deadlock'], 'Testing for type errors in equality.').
1323 cli_testcase(825, [error_checks,csp_test], ['../prob_examples/public_examples/CSP/ErrorModels/csp_sets/TypeErrorInEquality12.csp', '-strict', '-mc', 10, '-expcterr', 'haskell_csp', '-expcterr', 'deadlock'], 'Testing for type errors in equality.').
1324 cli_testcase(826, [error_checks,csp_test], ['../prob_examples/public_examples/CSP/ErrorModels/csp_sets/TypeErrorInNonEquality1.csp', '-strict', '-mc', 10, '-expcterr', 'haskell_csp', '-expcterr', 'deadlock'], 'Testing for type errors in equality.').
1325 cli_testcase(827, [error_checks,csp_test], ['../prob_examples/public_examples/CSP/ErrorModels/csp_sets/TypeErrorInNonEquality2.csp', '-strict', '-mc', 10, '-expcterr', 'haskell_csp', '-expcterr', 'general_error_occurred'], 'Testing for type errors in equality.').
1326 cli_testcase(828, [error_checks,csp_test], ['../prob_examples/public_examples/CSP/ErrorModels/csp_sets/TypeErrorInNonEquality3.csp', '-strict', '-mc', 10, '-expcterr', 'haskell_csp', '-expcterr', 'general_error_occurred'], 'Testing for type errors in equality.').
1327 cli_testcase(829, [error_checks,csp_test], ['../prob_examples/public_examples/CSP/ErrorModels/csp_sets/TypeErrorInNonEquality4.csp', '-strict', '-mc', 10, '-expcterr', 'haskell_csp', '-expcterr', 'general_error_occurred'], 'Testing for type errors in equality.').
1328 cli_testcase(830, [error_checks,csp_test], ['../prob_examples/public_examples/CSP/ErrorModels/csp_sets/TypeErrorInNonEquality5.csp', '-strict', '-mc', 10, '-expcterr', 'haskell_csp', '-expcterr', 'deadlock'], 'Testing for type errors in equality.').
1329 cli_testcase(831, [error_checks,csp_test], ['../prob_examples/public_examples/CSP/ErrorModels/csp_sets/TypeErrorInNonEquality6.csp', '-strict', '-mc', 10, '-expcterr', 'haskell_csp', '-expcterr', 'deadlock'], 'Testing for type errors in equality.').
1330 cli_testcase(832, [error_checks,csp_test], ['../prob_examples/public_examples/CSP/ErrorModels/csp_sets/TypeErrorInNonEquality7.csp', '-strict', '-mc', 10, '-expcterr', 'haskell_csp', '-expcterr', 'deadlock'], 'Testing for type errors in equality.').
1331 cli_testcase(833, [error_checks,csp_test], ['../prob_examples/public_examples/CSP/ErrorModels/csp_sets/TypeErrorInNonEquality8.csp', '-strict', '-mc', 10, '-expcterr', 'haskell_csp', '-expcterr', 'deadlock'], 'Testing for type errors in equality.').
1332 cli_testcase(834, [error_checks,csp_test], ['../prob_examples/public_examples/CSP/ErrorModels/csp_sets/TypeErrorInNonEquality9.csp', '-strict', '-mc', 10, '-expcterr', 'haskell_csp', '-expcterr', 'deadlock'], 'Testing for type errors in equality.').
1333 cli_testcase(835, [error_checks,csp_test], ['../prob_examples/public_examples/CSP/ErrorModels/csp_sets/TypeErrorInNonEquality10.csp', '-strict', '-mc', 10, '-expcterr', 'haskell_csp', '-expcterr', 'deadlock'], 'Testing for type errors in equality.').
1334 cli_testcase(836, [error_checks,csp_test], ['../prob_examples/public_examples/CSP/ErrorModels/csp_sets/TypeErrorInNonEquality11.csp', '-strict', '-mc', 10, '-expcterr', 'haskell_csp', '-expcterr', 'deadlock'], 'Testing for type errors in equality.').
1335 cli_testcase(837, [error_checks,csp_test], ['../prob_examples/public_examples/CSP/ErrorModels/csp_sets/TypeErrorInNonEquality12.csp', '-strict', '-mc', 10, '-expcterr', 'haskell_csp', '-expcterr', 'deadlock'], 'Testing for type errors in equality.').
1336 cli_testcase(838, [csp_test], ['../prob_examples/public_examples/CSP/mydemos/OtherCoverageTests/TestingComprehensionSetGuards.csp', '-strict', '-mc', 10000], 'Testing set comprehension guards.').
1337 cli_testcase(839, [csp_test], ['../prob_examples/public_examples/CSP/mydemos/OtherCoverageTests/ExpandingDataTypeDefBody.csp', '-strict', '-mc', 10], 'Testing expanding symbolic sets.').
1338 cli_testcase(840, [error_checks, csp_test], ['../prob_examples/public_examples/CSP/ErrorModels/csp_sets/ChannelNameUsedForLocalVariableError.csp', '-strict', '-expcterr', 'csp_sets'], 'Testing for raising channel name used as local variable error.').
1339 cli_testcase(841, [error_checks, csp_test], ['../prob_examples/public_examples/CSP/ErrorModels/csp_sets/PatternListTooLongForChannelError.csp', '-strict', '-mc', 10, '-expcterr', 'csp_sets', '-expcterr', 'deadlock'], 'Testing raising pattern list too long error.').
1340 cli_testcase(842, [error_checks, csp_test], ['../prob_examples/public_examples/CSP/ErrorModels/haskell_csp/TooManyValuesInRenamePatternError.csp', '-strict', '-mc', 10, '-expcterr', 'haskell_csp', '-expcterr', 'general_error_occurred'], 'Testing raising too many values in rename pattern error.').
1341 cli_testcase(843, [error_checks, csp_test], ['../prob_examples/public_examples/CSP/ErrorModels/haskell_csp/TypeErrorForChannelInputVariable.csp', '-strict', '-mc', 10, '-expcterr', 'enumerate_datatype_el', '-expcterr', 'deadlock'], 'Testing raising type error for channel input variable exception.').
1342 cli_testcase(844, [csp_test], ['../prob_examples/public_examples/CSP/other/Ivo/Farmer.csp', '-strict', '-get_csp_enumerated_assertions_as_string'], 'Testing getting enumerated assertions from file.').
1343 cli_testcase(845, [csp_test], ['../prob_examples/public_examples/CSP/other/Ivo/Farmer.csp', '-strict', '-prologOut', '../prob_examples/public_examples/CSP/other/Ivo/Farmer_temp.pl'], 'Testing translating CSP-M file to specific prolog file.').
1344 cli_testcase(846, [error_checks,csp_test], ['../prob_examples/public_examples/CSP/ErrorModels/csp_sets/IsMemberSetCouldNotEvaluateError.csp', '-strict', '-mc', 10, '-expcterr', 'csp_sets', '-expcterr', 'deadlock'], 'Testing for raising could not evaluate error for the member(-,-) built-in function.').
1345 cli_testcase(847, [error_checks,csp_test], ['../prob_examples/public_examples/CSP/ErrorModels/csp_sets/NotASingletonSetError.csp', '-strict', '-mc', 10, '-expcterr', 'singleSetElement', '-expcterr', 'deadlock'], 'Testing for raising not a singleton set error.').
1346 cli_testcase(848, [error_checks,csp_test], ['../prob_examples/public_examples/CSP/ErrorModels/csp_sets/TypeErrorInEquality13.csp', '-strict', '-mc', 10000], 'Testing for type errors in equality.').
1347 cli_testcase(849, [error_checks,csp_test], ['../prob_examples/public_examples/CSP/ErrorModels/csp_sets/TypeErrorInNonEquality13.csp', '-strict', '-mc', 10000], 'Testing for type errors in disequality.').
1348 cli_testcase(850, [error_checks,csp_test], ['../prob_examples/public_examples/CSP/ErrorModels/haskell_csp/NotABooleanExpressionError.csp', '-strict', '-mc', 10, '-expcterr', 'haskell_csp', '-expcterr', 'deadlock'], 'Testing for raising not a boolean expression error.').
1349 cli_testcase(851, [csp_test], ['../prob_examples/public_examples/CSP/mydemos/subtype_ex.csp', '-strict', '-mc', 1000,'-expcterr', 'deadlock' ,'-df'], 'Testing complex subtype expressions.').
1350 cli_testcase(852, [csp_test], ['../prob_examples/public_examples/CSP/mydemos/subtype_nametype_ex.csp', '-strict', '-mc', 2500,'-expcterr', 'deadlock'], 'Testing complex subtype expressions.').
1351 cli_testcase(853, [private,csp_test], ['../prob_examples/examples/CSP/Winter/miniAlvey.csp', '-strict', '-t', '-c'], 'Testing complex CSP spec.').
1352 cli_testcase(854, [error_checks,csp_test], ['../prob_examples/public_examples/CSP/ErrorModels/haskell_csp/NoMatchingCaseForFunctionCallError.csp', '-strict', '-mc', 10, '-expcterr', 'haskell_csp', '-expcterr', 'cspm_trans', '-expcterr', 'deadlock'], 'Testing for no matching case for function call error.').
1353 cli_testcase(855, [b_test,cache], ['-p', 'MAXINT', '5', '../prob_examples/public_examples/B/SymmetryReduction/RussianPostalPuzzle.mch', '-mc', '1000', '-cc', '81', '177', '-p', 'DEFAULT_SETSIZE', '2', '-nogoal', '-strict', '-cache', '../prob_examples/public_examples/cache/'], 'Check that no error in reuse of cached operations').
1354 cli_testcase(856, [error_checks,csp_test], ['../prob_examples/public_examples/CSP/ErrorModels/csp_sets/TypeErrorInEquality14.csp', '-strict', '-mc', 10000], 'Testing for type errors in equality.').
1355 cli_testcase(857, [error_checks,csp_test], ['../prob_examples/public_examples/CSP/ErrorModels/csp_sets/TypeErrorInNonEquality14.csp', '-strict', '-mc', 10000], 'Testing for type errors in disequality.').
1356 cli_testcase(858, [csp_test], ['../prob_examples/public_examples/CSP/other/Ivo/Farmer.csp', '-strict', '-mc', 1000, '-expcterr', 'deadlock', '-save', '../prob_examples/public_examples/CSP/other/Ivo/Farmer_state.txt'], 'Testing saving XSB Specification state.').
1357 cli_testcase(859, [error_checks,csp_test], ['../prob_examples/public_examples/CSP/ErrorModels/haskell_csp/NotEnoughArgumentsOnChannelError.csp', '-strict', '-mc', 20, '-bf', '-expcterr', 'l_enumerate_channel_input_value', '-expcterr', 'deadlock'], 'Testing for raising not enough arguments on channel error.').
1358 cli_testcase(860, [csp_test], ['../prob_examples/public_examples/CSP/mydemos/OtherCoverageTests/TestingIsMemberBuiltInFunction.csp', '-mc', '100000', '-nodead', '-strict', '-assertions'], 'Testing member(-,-) builtin function.').
1359 cli_testcase(861, [error_checks,csp_test], ['../prob_examples/public_examples/CSP/ErrorModels/haskell_csp/UnknownExpandChannelPatternExpressionError.csp', '-strict', '-mc', 10, '-expcterr', 'haskell_csp', '-expcterr', 'deadlock'], 'Testing for raising unknown expand channel pattern expression error (possible when expanding sharing, synchronisation-sets/closures).').
1360 cli_testcase(862, [error_checks,csp_test,refinement], ['../prob_examples/public_examples/CSP/ErrorModels/haskell_csp/UnsupportedRefinementOperatorError.csp', '-strict', '-assertions', '-expcterr', 'unsupported_refinement_operator',
1361 '-expcterr', 'check_assertions' % the assertions are not checked and hence unknown
1362 ], 'Testing for raising unsupproted refinement operator error (e.g. [R=).').
1363 cli_testcase(863, [error_checks,csp_test], ['../prob_examples/public_examples/CSP/ErrorModels/haskell_csp/NonAtomicArgumentError.csp', '-strict', '-mc', 10, '-expcterr', 'haskell_csp', '-expcterr', deadlock, '-bf'], 'Testing for raising Non-atomic argument error.').
1364 %cli_testcase(864, [csp_test], ['../prob_examples/public_examples/CSP/mydemos/OtherCoverageTests/TestingUnicodeFeatures.csp', '-strict', '-csp_add_unicode','../prob_examples/public_examples/CSP/mydemos/OtherCoverageTests/TestingUnicodeFeatures_unicode.csp'], 'Testing the unicode features of the CSPM tool.').
1365 %cli_testcase(865, [csp_test], ['../prob_examples/public_examples/CSP/mydemos/OtherCoverageTests/TestingUnicodeFeatures_unicode_saved.csp', '-strict', '-csp_remove_unicode', '../prob_examples/public_examples/CSP/mydemos/OtherCoverageTests/TestingUnicodeFeatures_no_unicode.csp'], 'Testing the unicode features of the CSPM tool.').
1366 cli_testcase(866, [error_checks,csp_test], ['../prob_examples/public_examples/CSP/ErrorModels/csp_sets/CouldNotExpandInfiniteDatatypeBody.csp', '-strict', '-mc', 10, '-expcterr', 'csp_sets', '-expcterr', 'deadlock'], 'Testing for raising could not expand infinite datatype body error.').
1367 cli_testcase(867, [csp_test], ['../prob_examples/public_examples/CSP/mydemos/OtherCoverageTests/ExpandingDatatypeBodies.csp', '-strict', '-mc', 10], 'Testing expanding datatype bodies with complicated datat structures.').
1368 cli_testcase(868, [parser,tickets,ltl], ['../prob_examples/public_examples/CSPB/Dining/Dining.mch', '-ltlformulat', 'G {taken= {} ', '-strict', '-expcterr', 'ltl'], 'Testing that LTL parser does not loop. (PARSERLIB-11)').
1369 cli_testcase(869, [parser,tickets,ctl], ['../prob_examples/public_examples/CSPB/Dining/Dining.mch', '-ctlformula', 'AG {taken= {} ', '-strict', '-expcterr', 'ctl'], 'Testing that CTL parser does not loop. (PARSERLIB-11)').
1370 cli_testcase(870, [csp_test], ['../prob_examples/public_examples/CSP/mydemos/OtherCoverageTests/Renaming.csp', '-strict', '-mc', 10], 'Testing for raising could not expand infinite datatype body error.').
1371 cli_testcase(871, [tickets], ['../prob_examples/public_examples/EventBPrologPackages/openETCS/ATB/Model_ctx.eventb', '-init', '-strict', '-properties'], 'Check that no time-out occurs; check C <: S21*S22 <=> C : S21 <-> S22 rule in check_subset_of0').
1372 %cli_testcase(872, [plugin_units,wd,pragmas], ['../prob_examples/public_examples/B/PragmasUnits/Tests/WrongOperationTopParameter.mch', '-plugin', 'units', '-strict', '-expecterr', well_definedness_error, '-mc', 5], '').
1373 %cli_testcase(873, [plugin_units,wd,pragmas], ['../prob_examples/public_examples/B/PragmasUnits/Tests/WrongConversionMultiplication.mch', '-plugin', 'units', '-strict', '-expecterr', well_definedness_error, '-mc', 5], '').
1374 %cli_testcase(874, [plugin_units,wd,pragmas], ['../prob_examples/public_examples/B/PragmasUnits/Tests/WrongConversionAddition.mch', '-plugin', 'units', '-strict', '-expecterr', well_definedness_error, '-mc', 5], '').
1375 cli_testcase(875, [tickets,error_checks], ['-eval', 'g = {x|->y | x=y+1 }', '-expecterr', type_expression_error], 'Check that a type error instead of an internal failure is reported when an expression is used where an identifier is expected (Ticket PROB-213).').
1376 cli_testcase(876, [csp_test], ['../prob_examples/public_examples/CSP/mydemos/demo/mbuff.csp', '-assertions', '-strict'], 'Checking CSP assertions.').
1377 cli_testcase(877, [csp_test], ['../prob_examples/public_examples/CSP/mydemos/demo/crossing.csp', '-assertions', '-strict'], 'Checking CSP assertions.').
1378 cli_testcase(878, [csp_test], ['-csp_eval', '(seq(set(<1,2,3>))==<1,2,3>) and (set(seq({1,2,3}))=={1,2,3})', '-strict'], 'Checking CSP expressions without loading a specific model first.').
1379 cli_testcase(879, [csp_test], ['../prob_examples/public_examples/CSP/mydemos/demo/crossing.csp', '-csp_eval', 'diff(NonTock,{|enter,leave|}) == {error,gate.down,gate.go_down,gate.go_up,gate.up,sensor.in,sensor.out}', '-strict'], 'Checking CSP expressions.').
1380 cli_testcase(880, [csp_test], ['../prob_examples/public_examples/CSP/mydemos/demo/crossing.csp', '-csp_eval', 'diff(NonTock,{|enter,leave|}', '-expcterr', 'parsing_csp_expression', '-strict'], 'Checking raising parse error while evaluating syntactically non correct CSP expressions.').
1381 %cli_testcase(881, [plugin_units,wd,pragmas], ['../prob_examples/public_examples/B/PragmasUnits/InternalRepresentationTests/Choice.mch', '-plugin', 'units', '-strict','-expecterr', 'well_definedness_error','-pp','../prob_examples/public_examples/B/PragmasUnits/InternalRepresentationTests/Choice_internal.mch'], '').
1382 cli_testcase(882,[private,data_validation],['../prob_examples/examples/B/Alstom/Ticket_Oct11_2012/Rule_DB_SIGAREA_0024.mch','-strict', '-t', '-assertions'], 'Issue related to cut in b_try_check_boolean_expression_lwf.').
1383 cli_testcase(883, [csp_test], ['../prob_examples/public_examples/CSP/ucsexamples/chapter14/maxpro.csp', '-assertions', '-strict'], 'Checking CSP assertions from file').
1384 cli_testcase(884, [b_test,proz], ['../prob_examples/public_examples/Z/Woodcock/InnerMember.fuzz', '-t', '-mc', 100,
1385 '-expcterr', 'bmachine_static_checks', '-strict'], 'Checking Z model and check warning for TRUE/FALSE clash generated'). % added -expcterr 23/2/2021
1386 cli_testcase(885, [error_checks,csp_test], ['../prob_examples/public_examples/CSP/ErrorModels/haskell_csp/TryingToApplyUndefinedFunctionError.csp', '-strict', '-mc', 10, '-expcterr', 'evaluate_agent_call_parameters', '-expcterr', 'cspm_trans', '-expcterr', 'deadlock'], 'Testing for raising trying to apply undefined process/function error.').
1387 cli_testcase(886, [error_checks,csp_test], ['../prob_examples/public_examples/CSP/ErrorModels/haskell_csp/CouldNotUnifyLambdaArgsError.csp', '-strict', '-mc', 10, '-expcterr', 'cspm_trans', '-expcterr', 'deadlock'], 'Testing for raising of could not unify lambda args error.').
1388 cli_testcase(887, [error_checks,csp_test], ['../prob_examples/public_examples/CSP/ErrorModels/haskell_csp/CallingNonAtomicFunctionArgumentError.csp', '-strict', '-mc', 10, '-expcterr', 'haskell_csp', '-expcterr', 'deadlock'], 'Testing for raising of trying to call non-atomic function error.').
1389 cli_testcase(888, [error_checks,csp_test], ['../prob_examples/public_examples/CSP/ErrorModels/haskell_csp_analyzer/UnsupportedAppendPatternError.csp', '-expcterr', 'compile_head_para', '-strict'], 'Testing for raising of unsupported append pattern error.').
1390 cli_testcase(889, [csp_test], ['../prob_examples/public_examples/CSP/mydemos/OtherCoverageTests/TestingComplexChannelTypes.csp', '-assertions', '-strict'], 'Testing outputing channel values of complex types.').
1391 cli_testcase(890, [error_checks,csp_test], ['../prob_examples/public_examples/CSP/ErrorModels/haskell_csp_analyzer/IllegalASTCSPProcessInIllegalPositionError.csp', '-expcterr', 'haskell_csp_analyzer', '-strict'], 'Testing for raising of unsupported append pattern error.').
1392 cli_testcase(891, [csp_test], ['../prob_examples/public_examples/CSP/mydemos/OtherCoverageTests/PatternMatchingAppendPatternsAsChannelInputValues.csp', '-mc', 1000, '-nodead', '-assertions', '-strict'], 'Testing for pattern matching append patterns as input values.').
1393 cli_testcase(892, [csp_test], ['../prob_examples/public_examples/CSP/mydemos/OtherCoverageTests/CheckingPossibleInputVariablesOnChannel.csp', '-assertions', '-strict'], 'Testing for possible input patterns on channels.').
1394 cli_testcase(893,[private,cbc_tests],['../prob_examples/examples/B/L4MicroKernel/L4API/API.mch','-strict', '-cbc_sequence', 'TimeoutIPC','-p', 'DEFAULT_SETSIZE', 3], 'Check that no errors produced by cbc_sequence (Ticket PROB-215).').
1395 cli_testcase(894,[tickets,enabling],['-enabling_analysis_csv','../prob_examples/public_examples/B/Daniel/minienabling_analysis.csv','../prob_examples/public_examples/B/Daniel/minienabling.mch'], 'Check CSV output of a simple enabling analysis (Ticket PROB-215).').
1396 cli_testcase(895, [csp_test], ['../prob_examples/public_examples/CSP/Tickets/3675/SafetyPRB.csp', '-assertions', '-strict'],'Assertions check of processes with complex events.').
1397 cli_testcase(896, [kodkod], ['-p','KODKOD','TRUE', '-p', 'KODKOD_RAISE_WARNINGS', 'TRUE','-eval','card(10..x) = 0 & x : 0..100 & (x<10 => x+x>5)', '-strict'],'The translation to Kodkod should not fail because a helper variable has no possible values (Ticket PROB-218)').
1398 cli_testcase(897, [kodkod], ['-p','KODKOD','TRUE','-p', 'KODKOD_RAISE_WARNINGS', 'TRUE','-eval','S<:1..10 & S/={}', '-strict'],'Checking the information about the integer range of the elements of an empty set (Ticket PROB-220)').
1399 cli_testcase(898, [b_test], ['-evalt', 'x \\/ 2..n = 0..(n+10) & x /\\ 2..n = {} & x <: 0..n+20 & n=10000', '-strict'],'Checking set partition inside eval').
1400 cli_testcase(899, [kodkod], ['-p','KODKOD','TRUE','-p', 'KODKOD_RAISE_WARNINGS', 'TRUE', '-mc',1000,'../prob_examples/public_examples/B/Tickets/PROB-217/kodkod_overflow.mch', '-nodead', '-strict'],'The output of the predicate analysis alone does not prevent integer overflows - (Ticket PROB-217)').
1401 cli_testcase(900, [csp_test,refinement], ['../prob_examples/public_examples/CSP/other/Ivo/ProcessesWithArguments.csp', '-csp_assertion', 'Q(3) [F= Q3', '-csp_assertion', 'Q3 [F= Q(3)', '-csp_assertion', 'Q(4) [T= Q(1,3)', '-csp_assertion', 'Q(1,3) [F= Q(4)', '-strict'], 'Checking various refinement assertions of processes with arguments.').
1402 cli_testcase(901, [csp_test], ['../prob_examples/public_examples/CSP/other/Ivo/ProcessesWithArguments.csp', '-csp_assertion', 'Q(10) :[deadlock free [FD]]', '-expcterr', 'model_check_fails', '-strict'], 'Deadlock checking of a process called with argument.').
1403 cli_testcase(902, [csp_test], ['../prob_examples/public_examples/CSP/other/Ivo/ProcessesWithArguments.csp', '-csp_assertion', 'Q2(9) :[livelock free]', '-cc', 13, 12, '-strict'], 'Livelock checking of a process called with argument.').
1404 cli_testcase(903, [csp_test, csp_det], ['../prob_examples/public_examples/CSP/other/Ivo/ProcessesWithArguments.csp', '-csp_assertion', 'Q2(9) :[deterministic [FD]]', '-expcterr', 'model_check_fails','-strict'], 'Determinism checking of a process called with argument (must fail).').
1405 cli_testcase(904, [csp_test, csp_det], ['../prob_examples/public_examples/CSP/other/Ivo/ProcessesWithArguments.csp', '-csp_assertion', 'a.1 -> a.2 -> STOP :[deadlock free [FD]]', '-expcterr', 'model_check_fails', '-strict'], 'Deadlock checking of a process called with argument.').
1406 cli_testcase(905, [csp_test], ['../prob_examples/public_examples/CSP/other/Ivo/ProcessesWithArguments.csp', '-csp_assertion', 'a.1 -> a.2 -> STOP [T= a.1 -> STOP', '-strict'], '').
1407 cli_testcase(906, [csp_test,refinement], ['../prob_examples/public_examples/CSP/other/Ivo/ProcessesWithArguments.csp', '-csp_assertion', 'a.1 -> a.2 -> STOP [F= a.1 -> STOP', '-expcterr', 'refinement_check_fails', '-strict'], '').
1408 cli_testcase(907, [csp_test,refinement], ['../prob_examples/public_examples/CSP/other/Ivo/ProcessesWithArguments.csp', '-csp_assertion', 'a.1 -> a.2 -> STOP [F= a.1 -> b.1 -> STOP', '-expcterr', 'parsing_csp_declaration', '-strict'], 'Checking expecting error to occur.').
1409 cli_testcase(908, [csp_test], ['../prob_examples/public_examples/CSP/other/Ivo/ProcessesWithArguments.csp', '-csp_assertion', 'a.1 -> a.2 -> STOP [F= a.1 -> a.1.1 -> STOP',
1410 '-expcterr', 'refinement_check_fails',
1411 '-expcterr', 'enumerate_action', '-strict'], 'CSP model with too many values on output channel').
1412 cli_testcase(909, [csp_test], ['../prob_examples/public_examples/CSP/other/Ivo/ProcessesWithArguments.csp', '-csp_assertion', 'Q(4) [] Q(2) [FD= Q(2,2) [] Q(1,1)', '-strict'], '').
1413 cli_testcase(910, [analysis_test, kodkod], ['-pacheck','../prob_examples/public_examples/B/predicate_analysis/sets.mch', '-strict'], 'Test cases for the predicate analysis: rules about sets').
1414 cli_testcase(911, [analysis_test,sigma, kodkod], ['-pacheck','../prob_examples/public_examples/B/predicate_analysis/arithmetic.mch', '-strict'], 'Test cases for the predicate analysis: some arithmetic (mainly SIGMA)').
1415 cli_testcase(912, [kodkod,cbc], ['../prob_examples/public_examples/B/Kodkod/TestCBCAssertionCheck.mch', '-cbc_assertions', '-strict', '-p','SOLVER_FOR_PROPERTIES', 'kodkod', '-p', 'KODKOD_RAISE_WARNINGS', 'TRUE', '-expcterr',cbc_assertions], 'Check that Kodkod CBC Checking works.').
1416 cli_testcase(913, [csp_test], ['../prob_examples/public_examples/CSP/mydemos/OtherCoverageTests/ExpandingDataTypeDefBody.csp', '-csp_eval', 'D1 == {A,B.0,B.1,B.2,B.3,C.0.0,C.0.1,C.0.2,C.0.3,C.1.0,C.1.1,C.1.2,C.1.3,C.2.0,C.2.1,C.2.2,C.2.3,C.3.0,C.3.1,C.3.2,C.3.3}', '-strict'], 'Evaluating CSP-M expressions.').
1417 cli_testcase(914, [csp_test], ['../prob_examples/public_examples/CSP/mydemos/OtherCoverageTests/ExpandingDataTypeDefBody.csp', '-csp_eval', '{|c.C|} =={c.(C.0.0),c.(C.0.1),c.(C.0.2),c.(C.0.3),c.(C.1.0),c.(C.1.1),c.(C.1.2),c.(C.1.3),c.(C.2.0),c.(C.2.1),c.(C.2.2),c.(C.2.3),c.(C.3.0),c.(C.3.1),c.(C.3.2),c.(C.3.3)}', '-strict'], 'Evaluating CSP-M expressions').
1418 cli_testcase(915, [csp_test], ['../prob_examples/public_examples/CSP/mydemos/OtherCoverageTests/ExpandingDataTypeDefBody.csp', '-csp_eval', '{1..3} == {1,2,3}', '-strict'], 'Evaluating CSP-M expressions.').
1419 cli_testcase(916, [csp_test], ['../prob_examples/public_examples/CSP/simple/verysimple.csp', '-csp_eval', 'Events', '-strict'], 'Evaluating CSP-M expressions.').
1420 cli_testcase(917, [csp_test], ['../prob_examples/public_examples/CSP/simple/verysimple.csp', '-csp_eval', '{|a|}', '-strict'], 'Evaluating CSP-M expressions.').
1421 cli_testcase(918, [error_checks, csp_test], ['../prob_examples/public_examples/CSP/simple/verysimple.csp', '-csp_eval', '{1..}','-strict','-expcterr',expand_symbolic_set], 'Testing raising of infinite set error.').
1422 cli_testcase(919, [b_test, csp_test,cspb], ['../prob_examples/public_examples/CSP/Tickets/WilliamsCSPB/Airports.mch', '-csp-guide', '../prob_examples/public_examples/CSP/Tickets/WilliamsCSPB/AirportsCtrl.csp', '-assertions', '-cc', 859, 3533, '-strict'], 'Checking CSP-M assertions for CSP-M || B models.').
1423 cli_testcase(920, [csp_test], ['../prob_examples/public_examples/CSP/mydemos/OtherCoverageTests/ExpandingDataTypeDefBody.csp', '-csp_eval',
1424 '{x | x <- D1, (B.1) != x} == {A,B.0,B.2,B.3,C.0.0,C.0.1,C.0.2,C.0.3,C.1.0,C.1.1,C.1.2,C.1.3,C.2.0,C.2.1,C.2.2,C.2.3,C.3.0,C.3.1,C.3.2,C.3.3}', '-strict'], 'Evaluating CSP-M expressions.').
1425 cli_testcase(921, [error_checks, csp_test], ['../prob_examples/public_examples/CSP/ErrorModels/csp_sets/EmptySetNotAllowedForInterError.csp', '-mc', 10,'-expcterr', 'is_member_set2', '-expcterr', 'general_error_occurred', '-strict', '-expcterr', virtual_time_out], 'Testing raising of empty set not allowed for Inter(-) error.').
1426 cli_testcase(922, [csp_test], ['-csp_eval', 'if member(1,{1..10}) then true else false', '-strict'], 'Evaluating CSP-M expressions.').
1427 cli_testcase(923, [error_checks], ['-mc', 1000, '../prob_examples/public_examples/B/Tickets/PROB-226/parallel_subst.mch', '-expcterr', 'type_error', '-expcterr', 'load_main_file', '-strict'], 'Parallel assignments to the same variable should be forbidden. (Ticket PROB-226)').
1428 cli_testcase(924, [error_checks], ['-mc', 1000, '../prob_examples/public_examples/B/ErrorMachines/UnknownPromotedOp.mch', '-expcterr', 'type_error', '-expcterr', 'load_main_file', '-strict'], 'Type-checker error when promoting an operation that does not exist.').
1429 cli_testcase(925, [error_checks], ['-mc', 1000, '-nodead',
1430 '../prob_examples/public_examples/B/ErrorMachines/IncludeSeenOnlyOnce.mch',
1431 % '-expcterr', 'type_error', '-expcterr', 'load_main_file', % removed October 10 2025
1432 '-assertions'], 'No longer expecting error when including a machine twice that is used as a seen/used machine.').
1433 cli_testcase(926, [csp_test,ltl], ['../prob_examples/public_examples/CSP/simple/verysimple.csp', '-ltlformulat', 'GF [a]', '-expcterr', 'ltl', '-strict'],'Checking for raising number of arguments not correct error.').
1434 cli_testcase(927, [typechecker_test], ['-eval', 'a-b=c & a=0', '-strict'], 'Type-checking a minus when the type of the arguments is determinded later (an integer).').
1435 cli_testcase(928, [typechecker_test], ['-eval', 'a-b=c & a={0}', '-strict'], 'Type-checking a minus when the type of the arguments is determinded later (a set).').
1436 cli_testcase(929, [csp_test,ltl], ['../prob_examples/public_examples/CSP/ErrorModels/ltl/ExtraArgumentsInCSPLTLPatternError.csp', '-ltlassertions', '-expcterr', 'enumerate_action', '-expcterr', 'ltl', '-strict'],'Checking for raising number of arguments not correct error.').
1437 cli_testcase(930, [csp_test,ltl], ['../prob_examples/public_examples/CSP/ErrorModels/ltl/MissingElementsInCSPPatternError.csp', '-ltlassertions', '-expcterr', 'ltl', '-strict'],'Checking for raising number of arguments not correct error.').
1438 cli_testcase(931, [csp_test], ['../prob_examples/public_examples/CSP/ucsexamples/chapter20/phone.csp', '-csp_eval', 'Phones', '-strict'], 'Evaluating CSP-M expressions.').
1439 cli_testcase(932, [typechecker_test,error_checks], ['-eval', 'a-b=c & a=TRUE', '-expcterr', 'type_expression_error', '-strict'], 'Type-checking a minus when the type of the arguments is determinded later (type error).').
1440 cli_testcase(933, [typechecker_test,error_checks], ['-eval', 'a*b=c & a=TRUE', '-expcterr', 'type_expression_error', '-strict'], 'Type-checking * when the type of the arguments is determinded later (type error).').
1441 cli_testcase(934, [typechecker_test], ['-eval', '[a,c:=1,3](a<b&b<c)', '-strict'], 'Type-checking a substitution on a predicate').
1442 cli_testcase(935, [typechecker_test,error_checks], ['-eval', '[a,c:=1,3,5](a<b&b<c)', '-expcterr', 'type_expression_error', '-strict'], 'Type-checking a substitution on a predicate (type error)').
1443 cli_testcase(936, [b_test, csp_test,ltl,cspb], ['../prob_examples/public_examples/CSP/Tickets/WilliamsCSPB/Airports.mch', '-csp-guide', '../prob_examples/public_examples/CSP/Tickets/WilliamsCSPB/AirportsCtrl.csp',
1444 %'-p', 'csp_event_visible_to_user', 'false', % used to be csp_event probcli option
1445 '-ltlformulat', 'G not [link.AMS.AMS]', '-strict'], 'Checking ltl formulas for CSP-M || B models.').
1446 cli_testcase(937, [b_test, csp_test,ltl,cspb], ['../prob_examples/public_examples/CSP/Tickets/WilliamsCSPB/Airports.mch', '-csp-guide', '../prob_examples/public_examples/CSP/Tickets/WilliamsCSPB/AirportsCtrl.csp', '-ltlformulat', 'G not [link(AMS,AMS)]', '-strict'], 'Checking ltl formulas for CSP-M || B models.').
1447 cli_testcase(938, [error_checks,refinement], ['-mc', 1000, '-expcterr', 'type_error', '-expcterr', 'load_main_file', '-strict', '../prob_examples/public_examples/B/ErrorMachines/MachineWithParametersErr1.ref'], 'Check for error: Wrong number of parameters in refinement.').
1448 cli_testcase(939, [error_checks,refinement], ['-mc', 1000, '-expcterr', 'type_error', '-expcterr', 'load_main_file', '-strict', '../prob_examples/public_examples/B/ErrorMachines/MachineWithParametersErr2.ref'], 'Check for error: Wrong parameters in refinement.').
1449 cli_testcase(940, [cbc], ['-cbc', all, '-p','CLPFD', 'TRUE', '-strict', '../prob_examples/public_examples/B/Tickets/Treharne1/House_Tracker16.mch'], 'Check that we quickly see that there is no counterexample.').
1450 cli_testcase(941, [cbc], ['-cbc', all, '-p','CLPFD', 'TRUE', '-strict', '../prob_examples/public_examples/B/CBC/ReservationLivre.mch', '-expcterr',cbc], 'Check that we find counterexample with larger scope.').
1451 %cli_testcase(942, [plugin_units,wd,case,pragmas], ['../prob_examples/public_examples/B/PragmasUnits/InternalRepresentationTests/Case.mch', '-plugin', 'units', '-strict', '-expcterr', 'well_definedness_error', '-pp', '../prob_examples/public_examples/B/PragmasUnits/InternalRepresentationTests/Case_internal.mch','-p','plugin(units,fixpoint_halt_on_error)','false'], '').
1452 cli_testcase(943, [parser,typechecker_test,pragmas], ['../prob_examples/public_examples/B/Pragmas/UnrecognisedPragma.mch','-strict','-expcterr',load_main_file,'-expcterrpos',parse_error, 7, 5],'Check Pragma error message (with SNAPSHOT parser from 12/3/2019 we no longer get parse errors)').
1453 cli_testcase(944, [dot], ['-evalt','r:1..3-->>1..3 & r(1)/=1 & r(1)/=2 & r(2)/=2', '-evaldot', '../prob_examples/public_examples/Eval/evalout.dot','-strict'],'').
1454 cli_testcase(945, [eventb_test, theories], ['-t', '-strict', '../prob_examples/public_examples/EventBPrologPackages/Theory/TestBoolOps_mch.eventb'], 'Check BoolOps Theory.').
1455 cli_testcase(946, [cbc,smt_test,refinement], ['../prob_examples/public_examples/B/Tickets/CBC_Refinement/M2_mch.eventb', '-p', 'CLPFD', 'TRUE', '-cbc', all, '-strict', '-expcterr', 'cbc', '-p', 'SMT', 'TRUE'], 'Check counter-example found in SMT mode').
1456 cli_testcase(947, [cbc,smt_test,refinement], ['../prob_examples/public_examples/B/Tickets/CBC_Refinement/M2_mch.eventb', '-p', 'CLPFD', 'TRUE', '-cbc', 'RemAuth', '-strict', '-expcterr', 'cbc', '-p', 'SMT', 'TRUE'], 'Check counter-example found in SMT mode').
1457 cli_testcase(948, [csp_test], ['../prob_examples/public_examples/CSP/other/Ivo/WaterBoiler.csp', '-csp_eval', 'member(fill.3,{|fill|}) == true', '-strict'], 'Evaluating CSP-M expressions.').
1458 cli_testcase(949, [tickets], ['-assertions', '-strict', '../prob_examples/public_examples/B/Tickets/PrjMemCheck/PrjTestsOK.mch',
1459 '../prob_examples/public_examples/B/Tickets/PrjMemCheck/PrjTestsOK_For_AtelierB.mch'], 'Check that we prj1/prj2 work correctly.').
1460 cli_testcase(950, [tickets,wd], ['-assertions', '-strict', '../prob_examples/public_examples/B/Tickets/PrjMemCheck/PrjTestsKO1.mch', '-expcterr', 'well_definedness_error', '-expcterr', 'check_assertions', '-p', 'TRY_FIND_ABORT', 'TRUE'], 'Check that we prj1/prj2 detect wd errors.').
1461 cli_testcase(951, [tickets,wd], ['-assertions', '-strict', '../prob_examples/public_examples/B/Tickets/PrjMemCheck/PrjTestsKO2.mch', '-expcterr', 'well_definedness_error', '-expcterr', 'check_assertions', '-p', 'TRY_FIND_ABORT', 'TRUE'], 'Check that we prj1/prj2 detect wd errors.').
1462 cli_testcase(952, [tickets,wd], ['-assertions', '-strict', '../prob_examples/public_examples/B/Tickets/PrjMemCheck/PrjTestsKO3.mch', '-expcterr', 'well_definedness_error', '-expcterr', 'check_assertions', '-p', 'TRY_FIND_ABORT', 'TRUE'], 'Check that we prj1/prj2 detect wd errors.').
1463 cli_testcase(953, [tickets,wd], ['-assertions', '-strict', '../prob_examples/public_examples/B/Tickets/PrjMemCheck/PrjTestsKO4.mch', '-expcterr', 'well_definedness_error', '-expcterr', 'check_assertions', '-p', 'TRY_FIND_ABORT', 'TRUE'], 'Check that we prj1/prj2 detect wd errors.').
1464 cli_testcase(954, [eventb_test, theories], ['-t','-strict','../prob_examples/public_examples/EventBPrologPackages/Theory/DumbDataTheoryModel.eventb'],'Check model that uses user defined datatypes via the Theory Plugin.').
1465 cli_testcase(955, [eventb_test, theories], ['-mc',100,'-strict','../prob_examples/public_examples/EventBPrologPackages/Theory/NonTrivialTypeParameters.eventb'],'Theory Plugin: Datatypes whose type parameters are not only type expressions').
1466 cli_testcase(956, [eventb_test,card], ['-mc',1000,'-strict','../prob_examples/public_examples/EventBPrologPackages/Puzzles/Hanoi_mch_3s_6d.eventb', '-noass', '-cc', 731, 2186, '-p', 'CLPFD', 'TRUE'],'Check that constraint solver not perplexed by use of card() for last').
1467 %cli_testcase(957, [plugin_units,pragmas], ['../prob_examples/public_examples/B/PragmasUnits/InternalRepresentationTests/DifferentUnitNotations.mch', '-plugin', 'units', '-strict', '-pp', '../prob_examples/public_examples/B/PragmasUnits/InternalRepresentationTests/DifferentUnitNotations_internal.mch'], '').
1468 cli_testcase(958, [eventb_test], ['-t', '-p', 'CLPFD', 'FALSE', '-p', 'PROOF_INFO', 'FALSE' , '-p', 'TIME_OUT', '100', '-expcterr', 'time_out_for_invariant',
1469 '-strict','../prob_examples/public_examples/EventBPrologPackages/ProofDirected/ComplicatedProvenInvariant2_v2.eventb'],'Check that Time Out occurs without Proof Info usage. (CLPFD disabled because it causes an overflow on the 32 bit testbots').
1470 cli_testcase(959, [eventb_test], ['-mc',100, '-t', '-p', 'TIME_OUT', '200', '-strict','../prob_examples/public_examples/EventBPrologPackages/ProofDirected/ComplicatedProvenInvariant2_v2.eventb', '-expcterr', 'model_check_incomplete'],'Check that Proof Info works').
1471 cli_testcase(960, [eventb_test], ['-mc',0, '-p', 'PROOF_INFO', 'FALSE' , '-p', 'TIME_OUT', '200', '-expcterr', 'time_out_for_assertions', '-strict','../prob_examples/public_examples/EventBPrologPackages/ProofDirected/ComplicatedProvenInvariant_INITCheck_mch.eventb', '-expcterr', 'model_check_incomplete'],'Check that Proof Info works also for INITIALISATION').
1472 cli_testcase(961, [eventb_test], ['-mc',100, '-p', 'PROOF_INFO', 'TRUE' , '-p', 'TIME_OUT', '200', '-strict','../prob_examples/public_examples/EventBPrologPackages/ProofDirected/ComplicatedProvenInvariant_INITCheck_mch.eventb', '-expcterr', 'model_check_incomplete'],'Check that Proof Info works also for INITIALISATION').
1473 cli_testcase(962, [eventb_test], ['-mc',100, '-p', 'PROOF_INFO', 'TRUE' , '-p', 'TIME_OUT', '200', '-strict','../prob_examples/public_examples/EventBPrologPackages/ProofDirected/ComplicatedProvenDynamicTheorem_mch.eventb', '-expcterr', 'model_check_incomplete'],'Check that Proof Info works also for dynamic theorems').
1474
1475 cli_testcase(963, [csp_test,ltl], ['../prob_examples/public_examples/CSP/other/Ivo/WaterBoiler.csp', '-ltlformulat', '[open] => ((X [fill._]) or (X [close])) ', '-strict'],'Check LTL formula in File.').
1476 cli_testcase(964, [eventb_test,wd], ['-mc',100, '-p', 'PROOF_INFO', 'TRUE' , '-expcterr', well_definedness_error, '-expcterr', invariant_violation, '-strict','../prob_examples/public_examples/EventBPrologPackages/ProofDirected/TestProofDirected_WD_Inv_mch.eventb'],'Check that Proof Info works well in conjunction with ill-defined invariants').
1477 cli_testcase(965, [eventb_test,wd], ['-mc',100, '-p', 'PROOF_INFO', 'TRUE' , '-expcterr', well_definedness_error, '-expcterr', assertion_violation,
1478 %'-expcterr', checking_assertions, % was actually a warning generated by translate_events_in_current_scope_to_warnings
1479 '-strict','../prob_examples/public_examples/EventBPrologPackages/ProofDirected/TestProofDirected_WD_Thm_mch.eventb'],'Check that Proof Info works well in conjunction with ill-defined theorems').
1480 cli_testcase(966, [eventb_test], ['-mc',100, '-noass', '-nodead', '-p', 'PROOF_INFO', 'FALSE' , '-expcterr', invariant_violation, '-strict','../prob_examples/public_examples/EventBPrologPackages/ProofDirected/TestProofDirected_WD_Thm_mch.eventb'],'Check that Proof Info works well in conjunction with ill-defined theorems and -noass checking').
1481 cli_testcase(967, [eventb_test], ['-mc',100, '-noass', '-nodead',
1482 '-p', 'PROOF_INFO', 'TRUE' ,
1483 %'-expcterr', invariant_violation, % the proof of the invariant relies on the theorem, which is proven but has wd-problem
1484 '-expcterr', 'model_check_incomplete',
1485 '-strict','../prob_examples/public_examples/EventBPrologPackages/ProofDirected/TestProofDirected_WD_Thm_mch.eventb'],'Check that Proof Info works well in conjunction with ill-defined theorems and -noass checking').
1486 cli_testcase(968, [eventb_test], ['-mc',100, '-noass', '-nodead', '-p', 'PROOF_INFO', 'TRUE' , '-expcterr', 'model_check_incomplete', '-strict','../prob_examples/public_examples/EventBPrologPackages/ProofDirected/TestProofDirected_FalseThm_mch.eventb'],'Check that Proof Info works well in conjunction with ill-defined theorems and -noass checking').
1487 cli_testcase(969, [b_test,recursion,external], ['-assertions', '-strict','../prob_examples/public_examples/B/Tickets/Bracknell1/C0.mch'],'Check that no recursion detected').
1488 cli_testcase(970, [b_test,recursion,external], ['-init', '-strict','../prob_examples/public_examples/B/Tickets/Bracknell1/C0_ctx.eventb'],'Check that no recursion detected').
1489 cli_testcase(971, [b_test], ['../prob_examples/public_examples/B/Tester/Prj1NATURAL.mch', '-t', '-mc', '1000', '-strict'], 'Check that prj1(NATURAL,...) not expanded').
1490 cli_testcase(972, [cbc], ['../prob_examples/public_examples/B/CBC/plavis_MemoryLoad_SP_14_TestComp_v2.mch',
1491 '-p', 'CLPFD', 'TRUE', '-p', 'MAXINT', 3, '-p', 'MININT', -1, '-init', '-strict'],
1492 'Check that partitioning into components and seq enum works'). % changed to _v2 model with extra constraint on 6/1/2021
1493 cli_testcase(973, [cbc], ['../prob_examples/public_examples/B/CBC/ComponentPartitioningTest.mch', '-p', 'CLPFD', 'TRUE', '-init', '-strict'], 'Check that partitioning into components works').
1494 cli_testcase(974, [cbc], ['../prob_examples/public_examples/B/CBC/PartitionConstraintAssertionCheck.mch', '-p', 'CLPFD', 'TRUE', '-cbc_deadlock', '-expcterr', 'cbc_deadlock_check', '-strict'],
1495 'Check that partitioning into components works').
1496 cli_testcase(975, [por], ['../prob_examples/public_examples/B/Ivo/PruningActionsTest1.mch', '-mc', '1000000', '-p', 'por', ample_sets, '-expcterr', invariant_violation, '-strict'], 'POR test.').
1497 cli_testcase(976, [por], ['../prob_examples/public_examples/B/Ivo/PruningActionsTest2.mch', '-mc', '1000000', '-p', 'por', ample_sets, '-expcterr', deadlock, '-strict'], 'POR test (deadlock and invariant violation).').
1498 cli_testcase(977, [por], ['../prob_examples/public_examples/B/Ivo/BridgeTransitions.mch', '-mc', '1000000', '-cc', 55, '_', '-check_complete_operation_coverage', '-p', 'por', ample_sets, '-min_max_coverage', '../prob_examples/public_examples/B/Ivo/BridgeTransitions_por.cov', '-strict'], 'POR test (no state space reductions).').
1499 cli_testcase(978, [por], ['../prob_examples/public_examples/B/Ivo/CycleDetections.mch', '-mc', '1000000', '-p', 'por', ample_sets, '-expcterr', invariant_violation, '-strict'], 'POR test.').
1500 % commit 484a10c2cdd8cc4b13f1be8f30e8eac7be5a30c3 from 23 Oct 2013 broke 979-982; CSE optimization should recover performance
1501 cli_testcase(979, [while,private,data_validation], ['../prob_examples/examples/B/Alstom/CompilatonProject/Regles/Rule_TMS_Overlap_0017_2_ori.mch', '-animate_all', '-strict', '-cc', 113, 112, '-p', 'TIME_OUT', 35000, '-p', 'CLPFD', 'FALSE', '-p', 'MAXINT', 2147483647, '-p', 'MININT', -2147483647, '-his', '../prob_examples/examples/B/Alstom/CompilatonProject/Regles/Rule_TMS_Overlap_0017_2_ori.his','-expcterr', invariant_violation], 'Rule Test 4 of Alstom compilation project'). % increased time-out from 15000; added -p CLPFD FALSE
1502 cli_testcase(980, [while,private,data_validation,codespeed], ['../prob_examples/examples/B/Alstom/CompilatonProject/Regles/Rule_DB_SIGAREA_0024_ori.mch', '-animate_all', '-strict', '-cc', 40, 39, '-p', 'TIME_OUT', 35000, '-p', 'CLPFD', 'FALSE', '-p', 'MAXINT', 2147483647, '-p', 'MININT', -2147483647, '-his', '../prob_examples/examples/B/Alstom/CompilatonProject/Regles/Rule_DB_SIGAREA_0024_ori.his'], 'Rule Test 5 of Alstom compilation project'). % increased time-out from 15000; added -p CLPFD FALSE
1503 cli_testcase(981, [private,data_validation,codespeed], ['../prob_examples/examples/B/Alstom/CompilatonProject/Regles/Rule_DB_Route_0001ori.mch', '-animate_all', '-strict', '-cc', 97, 96, '-p', 'TIME_OUT', 28000, '-p', 'CLPFD', 'FALSE', '-p', 'MAXINT', 2147483647, '-p', 'MININT', -2147483647, '-his', '../prob_examples/examples/B/Alstom/CompilatonProject/Regles/Rule_DB_Route_0001ori.his'], 'Rule Test 1 of Alstom compilation project'). % increased time-out from 15000; added -p CLPFD FALSE
1504 cli_testcase(982, [private,data_validation,alstom], ['../prob_examples/examples/B/Alstom/CompilatonProject/Regles/Rule_TMS_Overlap_0017_1_ori.mch', '-animate_all', '-strict', '-cc', 48, 47, '-p', 'TIME_OUT', 55000, '-p', 'CLPFD', 'FALSE', '-p', 'MAXINT', 2147483647, '-p', 'MININT', -2147483647, '-his', '../prob_examples/examples/B/Alstom/CompilatonProject/Regles/Rule_TMS_Overlap_0017_1_ori.his','-expcterr', invariant_violation], 'Rule Test 3 of Alstom compilation project'). % increased time-out from 45000; added -p CLPFD FALSE
1505 cli_testcase(983, [private,data_validation,alstom], ['../prob_examples/examples/B/Alstom/CompilatonProject/Regles/Rule_TMS_ESA_TRIGGER_0009_ori.mch', '-strict', '-cc', 112, 111, '-p', 'MAXINT', 2147483647, '-p', 'MININT', -2147483647, '-t'], 'Rule Test 2 of Alstom compilation project').
1506 cli_testcase(984, [private,symmetry_test], ['../prob_examples/examples/B/BossaAcadie/scheduler.mch', '-strict', '-cc', 145, 1935, '-p', 'MAXINT', 2147483647, '-p', 'MININT', -2147483647, '-mc', 9000, '-p', 'MAX_OPERATIONS', 20, '-p', 'SYMMETRY_MODE', hash, '-expcterr', 'model_check_incomplete'], 'Bossa example'). % was 1936 transitions; now 1935 with INITIALISATION arguments derived from target state
1507 cli_testcase(985, [cbc], ['../prob_examples/public_examples/B/Mathematical/GraphIso/HardGraph_Nr5.mch', '-strict', '-cc', 3, 3, '-p', 'TIME_OUT', 5000, '-mc', 20, '-p', 'MAX_OPERATIONS', 4, '-p', 'CLPFD', 'TRUE', '-expcterr', 'model_check_incomplete'], 'Hard graph; isomorphism detected means no deadlock').
1508 cli_testcase(986, [eventb_test], ['-t','-mc',800,'-strict','../prob_examples/public_examples/EventBPrologPackages/Puzzles/MRushHour_new.eventb','-expcterr', invariant_violation],'Check that new Proof Info works with wd in guards/actions accepted').
1509 cli_testcase(987, [por], ['../prob_examples/public_examples/EventBPrologPackages/Advance/CAN_Bus/CB3FSMM_mch_v2.eventb', '-mc', '1000000', '-noass', '-nogoal', '-p', 'por', ample_sets, '-strict'], 'Testing if coverages of the constants and values of the generated reduced state space are matching with the coverages of the constants and values of the full state space.').
1510 cli_testcase(988, [csp_test,dot], ['../prob_examples/public_examples/CSP/simple/Copy.csp', '-df', '-mc', '1000', '-cc', '14', '24', '-strict','-dot','signature_merge','../prob_examples/public_examples/CSP/simple/Copy_spmdot.dot','-dot', 'dfa_merge','../prob_examples/public_examples/CSP/simple/Copy_spddot.dot', '-pref_group', dot_colors, classic, '-p','DOT_PEN_WIDTH',1], 'Test reduced state space dot output for CSP. (DF search to avoid different dot graphs due to order of exploration)').
1511 cli_testcase(989, [eventb_test], ['-assertions','-strict','../prob_examples/public_examples/EventBPrologPackages/PerformanceTests/LargeConstants_ctx.eventb','-pp', '../prob_examples/public_examples/EventBPrologPackages/PerformanceTests/LargeConstants_ctx_internal.mch'],'Check that set comprehensions converted properly').
1512 cli_testcase(990, [b_test,smt_test], ['-evalt', 'ran(%v0.(v0: 0..30001 | v0)) = 0..30001', '-p', 'SMT', 'TRUE', '-strict'],'Checking non-regresson against issue reported by Medeiros Jr on 28.1.2013').
1513 cli_testcase(991, [tickets,csp_test], ['../prob_examples/public_examples/CSP/Tickets/RecursiveInclude/Procs.csp', '-mc', 100000, '-t', '-strict'], 'Testing of recursive and local (by means of no absolute path files must be given in order to include a CSP model to another CSP model) including for CSP models.').
1514 cli_testcase(992, [b_test], ['-evalt', '{x| x = x mod 33 & x = x mod 44} = 0..32', '-p', 'CLPFD', 'TRUE', '-strict'],'Ensure mod constraint propagation works').
1515 cli_testcase(993, [csp_test], ['../prob_examples/examples/CSP/Kharmeh_PhD/4-isa-system-evaluation.csp', '-mc', 2000, '-cc', 264, 430, '-strict'],'Non trivial test case'). % changed from -cc 265 431 after adding more normalisation rules
1516 cli_testcase(994, [b_test,case], ['../prob_examples/public_examples/B/FeatureChecks/CaseStmt.mch', '-t', '-mc', 200, '-cc', 4, 13, '-strict'],'Check case statement with else').
1517 cli_testcase(995, [laws,rel_fnc], ['../prob_examples/public_examples/B/Laws/FunLawsWithLambda.mch', '-mc', '500', '-cs', '-nogoal', '-nodead', '-strict','-p', 'MEMO', 'TRUE', '-p', 'CLPFD', 'TRUE', '-expcterr', 'model_check_incomplete'], 'Laws this time with MEMO and CLPFD').
1518 cli_testcase(996, [b_test,smt_test], ['-evalt', '{x|x/2 : 20..30} = 40..61', '-evalt', '{x|x/20 : 22..23} = 440..479', '-evalt', 'ran(%v0.(v0: 0..20000 | [v0 mod 2/1,v0 mod 4/2,v0 mod 8/4,v0 mod 16/8,v0 mod 32/16,v0 mod 64/32,v0 mod 128/64])) = 1..7 --> 0..1', '-p', 'CLPFD', 'TRUE', '-p', 'SMT', 'TRUE', '-strict'],'Ensure division constraint propagation works').
1519 cli_testcase(997, [csp_test,refusal_trace_refinement,refinement], ['../prob_examples/public_examples/CSP/RefusalBasedRefinement/RefusalBasedRefinement_simple.csp', '-assertions', '-strict'],'Simple test case for refusal based refinement checking (CSP).').
1520 cli_testcase(998, [csp_test,refusal_trace_refinement,refinement], ['../prob_examples/public_examples/CSP/RefusalBasedRefinement/RefTestRoscoeBook.csp', '-assertions', '-strict'],'Test case for refusal based refinement checking (CSP) from Roscoe\'s book. Note: Difference in the results delivered by FDR and ProB of the commented out assertion "P2 [R= P1".').
1521 cli_testcase(999, [eventb_test], ['../prob_examples/public_examples/B/Tickets/197/robot_ctx02_ctx.eventb', '-init', '-properties', '-p', 'DEFAULT_SETSIZE', 2, '-strict'],'Check WD Axiom loading').
1522 cli_testcase(1000, [b_test,union,card], ['-evalt', 'x \\/ y \\/ z <: 1011..1013 & card(x) > card(y) & card(y)>card(z)', '-evalt', '{x,y,z|x \\/ y \\/ z <: 21011..21012 & card(x) > card(y) & card(y)>card(z)} = {(({21011,21012}|->{21011})|->{}),(({21011,21012}|->{21012})|->{})}', '-p', 'CLPFD', 'TRUE', '-strict'], 'Ensure that domains propagated to union arguments.').
1523 cli_testcase(1001, [b_test,union,card], ['-evalt', '{x|x <| [1,2,3] = [1,2] & card(x)=2} = {{1,2}}',
1524 '-evalt', 'x <| s = [1,2,3] \\/ {29|->29} & x <: 1..1000 & s = %i.(i:1..300|i)',
1525 '-evalt', 's |> x = [1,2,3] \\/ {29|->29} & x <: 1..1000 & s = %i.(i:1..300|i)',
1526 '-evalt', '{x| [1,4,3]|>x = [1,4] & card(x)=2}={{1,4}}',
1527 '-evalf', 's |> x = [1,2,3] \\/ {29|->29} & x <: 2..3000 & s = %i.(i:1..900|i) ',
1528 '-evalt', '{x|#s.(x <| s = [1,2,3] \\/ {29|->29} & x <: 1..30 & s = %i.(i:1..300|i))} = {{1,2,3,29}}',
1529 '-evalt', '{z,x|[1,2,z] |>> x = [1,2] & z:12..13 & x<:11..12}={(12|->{11,12}),(12|->{12})}',
1530 '-evalt', 'x <<| [11,12,13,14,z] = [11,12,13,14] & z:12..13 ',
1531 '-evalt', 'x <| [111,222,333,444,555] = [111,222,333,444]',
1532 '-evalt', 'x <<| [111,222,333,444,555] = [111,222,333,444]',
1533 '-evalt', '[111,222,333,444,555] |>x = [111,222,333,444]',
1534 '-evalt', '[111,222,333,444,555] |>>x = [111,222,333,444]',
1535 '-evalt', '{x|{x} <<| [111,222,333,444,555,666] = [111,222,333,444,555]} = {6}',
1536 '-evalt', '{x| [111,222,333,444,555,666] |>> {x} = [111,222,333,444,555]} = {666}',
1537 '-evalt', '{x| {x} <| [111,222,333,444,555,666] = {5|->555}} = {5}',
1538 '-evalt', '{x| [111,222,333,444,555,666] |> {x} = {5|->555}} = {555}',
1539 '-evalt', '{x| [111,222,333,444,555,555] |> {x} = {5|->555,6|->555}} = {555}',
1540 '-p', 'CLPFD', 'TRUE', '-strict'], 'Ensure that domain/range restriction properly treated.').
1541 cli_testcase(1002, [cbc,private], ['-p', 'CLPFD', 'TRUE', '-p', 'MAXINT', 127, '-p', 'MININT', -128,
1542 '-evalt_file', '../prob_examples/examples/Setlog/prob-ttf/bank-Extraer_SP_29.prob',
1543 '-evalt_file', '../prob_examples/examples/Setlog/prob-ttf/bancoG-Withdraw_NR_22.prob',
1544 '-evalt_file', '../prob_examples/examples/Setlog/prob-ttf/qsee-LoadMemory_SP_11.prob',
1545 '-evalt_file', '../prob_examples/examples/Setlog/prob-ttf/qsee-LoadMemory_SP_12.prob'
1546 %,'-expcterr', 'eval_string_enum_warning'
1547 ], 'SetLog tests now succeeding tests').
1548 cli_testcase(1003, [cbc,private], ['-p', 'CLPFD', 'TRUE', '-p', 'MAXINT', 127, '-p', 'MININT', -128,
1549 %sc
1550 '-evalt_file', '../prob_examples/examples/Setlog/prob-ttf/sc-SCAddCat_SP_4.prob',
1551 '-evalt_file', '../prob_examples/examples/Setlog/prob-ttf/sc-SCAddCat_SP_22.prob',
1552 '-evalt_file', '../prob_examples/examples/Setlog/prob-ttf/sc-SCSetLevel_DNF_3.prob',
1553 '-evalt_file', '../prob_examples/examples/Setlog/prob-ttf/sc-SCSetSC_DNF_3.prob',
1554 %bank
1555 '-evalt_file', '../prob_examples/examples/Setlog/prob-ttf/bank-CerrarCaja_SP_12.prob',
1556 %banco G
1557 '-evalt_file', '../prob_examples/examples/Setlog/prob-ttf/bancoG-Withdraw_NR_18.prob',
1558 '-evalt_file', '../prob_examples/examples/Setlog/prob-ttf/bancoG-Withdraw_NR_2.prob',
1559 '-evalt_file', '../prob_examples/examples/Setlog/prob-ttf/bancoG-Withdraw_NR_24.prob',
1560 '-evalt_file', '../prob_examples/examples/Setlog/prob-ttf/bancoG-Withdraw_NR_25.prob',
1561 '-evalt_file', '../prob_examples/examples/Setlog/prob-ttf/bancoG-Withdraw_NR_4.prob',
1562 '-evalt_file', '../prob_examples/examples/Setlog/prob-ttf/bancoG-Withdraw_NR_5.prob',
1563 '-evalt_file', '../prob_examples/examples/Setlog/prob-ttf/bancoG-Withdraw_NR_8.prob',
1564 %qsee
1565 '-evalt_file', '../prob_examples/examples/Setlog/prob-ttf/qsee-LoadMemory_SP_10.prob',
1566 '-evalt_file', '../prob_examples/examples/Setlog/prob-ttf/qsee-LoadMemory_SP_9.prob',
1567 '-evalt_file', '../prob_examples/examples/Setlog/prob-ttf/qsee-TransmitMemoryDumpAux_SP_6.prob',
1568 '-evalt_file', '../prob_examples/examples/Setlog/prob-ttf/qsee-TransmitMemoryDumpAux_SP_8.prob',
1569 '-evalt_file', '../prob_examples/examples/Setlog/prob-ttf/qsee-TransmitMemoryDumpOk21_SP_3.prob',
1570 '-evalt_file', '../prob_examples/examples/Setlog/prob-ttf/qsee-TransmitMemoryDumpOk21_SP_6.prob',
1571 '-evalt_file', '../prob_examples/examples/Setlog/prob-ttf/qsee-TransmitMemoryDumpOk21_SP_8.prob', % see finite_interval_equality_wf
1572 '-evalt_file', '../prob_examples/examples/Setlog/prob-ttf/qsee-TransmitScientificData_SP_16.prob',
1573 '-evalt_file', '../prob_examples/examples/Setlog/prob-ttf/qsee-TransmitScientificData_SP_24.prob',
1574 '-evalt_file', '../prob_examples/examples/Setlog/prob-ttf/qsee-TransmitScientificData_SP_8.prob',
1575 %plavis ; two more missing
1576 '-evalt_file', '../prob_examples/examples/Setlog/prob-ttf/plavis-TransData_SP_45.prob',
1577 '-evalt_file', '../prob_examples/examples/Setlog/prob-ttf/plavis-TransData_SP_52.prob',
1578 '-evalt_file', '../prob_examples/examples/Setlog/prob-ttf/plavis-MemoryLoad_SP_55.prob',
1579 '-evalt_file', '../prob_examples/examples/Setlog/prob-ttf/plavis-RetrieveEData_SP_23.prob',
1580 '-evalt_file', '../prob_examples/examples/Setlog/prob-ttf/plavis-TransData_SP_13.prob',
1581 '-evalt_file', '../prob_examples/examples/Setlog/prob-ttf/plavis-TransData_SP_24.prob',
1582 '-evalt_file', '../prob_examples/examples/Setlog/prob-ttf/plavis-TransData_SP_3.prob',
1583 '-evalt_file', '../prob_examples/examples/Setlog/prob-ttf/plavis-TransData_SP_31.prob',
1584 '-evalt_file', '../prob_examples/examples/Setlog/prob-ttf/plavis-TransData_SP_38.prob',
1585 '-evalt_file', '../prob_examples/examples/Setlog/prob-ttf/plavis-TransData_SP_39.prob',
1586 % iae
1587 '-evalt_file', '../prob_examples/examples/Setlog/prob-ttf/iae-DetectReferenceEvent_NR_103.prob',
1588 '-evalt_file', '../prob_examples/examples/Setlog/prob-ttf/iae-DetectReferenceEvent_NR_146.prob',
1589 '-evalt_file', '../prob_examples/examples/Setlog/prob-ttf/iae-DetectReferenceEvent_NR_148.prob',
1590 '-evalt_file', '../prob_examples/examples/Setlog/prob-ttf/iae-DetectReferenceEvent_NR_149.prob',
1591 '-evalt_file', '../prob_examples/examples/Setlog/prob-ttf/iae-DetectReferenceEvent_NR_18.prob',
1592 '-evalt_file', '../prob_examples/examples/Setlog/prob-ttf/iae-DetectReferenceEvent_NR_56.prob',
1593 '-evalt_file', '../prob_examples/examples/Setlog/prob-ttf/iae-DetectReferenceEvent_NR_58.prob',
1594 '-evalt_file', '../prob_examples/examples/Setlog/prob-ttf/iae-DetectReferenceEvent_NR_59.prob',
1595 % sensors
1596 '-evalt_file', '../prob_examples/examples/Setlog/prob-ttf/sensors-KeepMaxReading_SP_5.prob'
1597 %,'-expcterr', 'eval_string_enum_warning'
1598 ], 'SetLog tests some originally succeeding tests').
1599 cli_testcase(1004, [cbc_refinement,refinement], ['../prob_examples/public_examples/EventBPrologPackages/RefinementChecking/CCounterErr_mch.eventb', '-cbc_refinement', '-expcterr', cbc_refinement], '').
1600 cli_testcase(1005, [cbc_refinement,refinement], ['../prob_examples/public_examples/EventBPrologPackages/RefinementChecking/CCounter_mch.eventb', '-cbc_refinement'], '').
1601 cli_testcase(1006, [cbc_refinement,refinement], ['../prob_examples/public_examples/EventBPrologPackages/RefinementChecking/CEnterLeave_mch.eventb', '-cbc_refinement'], '').
1602 cli_testcase(1007, [cbc_refinement,refinement], ['../prob_examples/public_examples/EventBPrologPackages/RefinementChecking/CEnterLeaveErr1_mch.eventb', '-cbc_refinement', '-expcterr', cbc_refinement], '').
1603 cli_testcase(1008, [cbc_refinement,refinement], ['../prob_examples/public_examples/EventBPrologPackages/RefinementChecking/CEnterLeave_Rename_mch.eventb', '-cbc_refinement'], '').
1604 cli_testcase(1009, [cbc_refinement,refinement], ['../prob_examples/public_examples/EventBPrologPackages/RefinementChecking/CMergeErr_mch.eventb', '-cbc_refinement', '-expcterr', cbc_refinement, '-p', 'CLPFD', 'TRUE'], '').
1605 cli_testcase(1010, [cbc_refinement,refinement], ['../prob_examples/public_examples/EventBPrologPackages/RefinementChecking/CMerge_mch.eventb', '-cbc_refinement'], '').
1606 cli_testcase(1011, [cbc_refinement,refinement], ['./distribution_examples/Refinement/ServerR.ref', '-cbc_refinement'], '').
1607 cli_testcase(1012, [cbc_refinement,refinement], ['./distribution_examples/Refinement/ServerR_wrong.ref', '-cbc_refinement' %, '-expcterr', cbc_refinement % this is actually a correct refinement in B; changed 26.6.2025
1608 ], 'check CBC refinement does not find counter example').
1609 cli_testcase(1013, [cbc_refinement,imp,refinement], ['../prob_examples/public_examples/B/Implementations/ConcreteVars/MI.imp', '-cbc_refinement'], 'CBC refinement check on implementation').
1610 cli_testcase(1014, [b_test], ['../prob_examples/public_examples/B/Mathematical/FibMemo.mch', '-mc', 120, '-p', 'CLPFD', 'TRUE', '-strict', '-expcterr', 'deadlock', '-cc', 100, 99], 'Test that no CLPFD overflow occurs'). % no warning is generated for clpfd overflows at the moment; so the test is not really that useful
1611 cli_testcase(1015, [cbc_refinement,imp,refinement], ['../prob_examples/public_examples/B/Implementations/Copy/ReturnEqualI.imp', '-cbc_refinement'], '').
1612 cli_testcase(1016, [cbc_refinement,imp,refinement], ['../prob_examples/public_examples/B/Implementations/Division/DivisionImplOk.imp', '-cbc_refinement'], '').
1613 cli_testcase(1017, [cbc_refinement,imp,refinement], ['../prob_examples/public_examples/B/Implementations/Division/DivisionImplWrongCondition.imp', '-cbc_refinement', '-expcterr', cbc_refinement], '').
1614 cli_testcase(1018, [b_test,refinement], ['../prob_examples/public_examples/B/RefinementChecking/Schedular/Schedular1.mch', '-refchk', '../prob_examples/public_examples/B/RefinementChecking/Schedular/Schedular0_refine_spec.P', '-expcterr', 'refinement_check_fails', '-strict'], 'Checking for expected refinement error. Example taken from the paper: Automatic Refinement Checking for B.').
1615 cli_testcase(1019, [cbc_refinement,refinement], ['../prob_examples/public_examples/B/Implementations/FTP/FileTransfer1.ref', '-cbc_refinement'], '').
1616 cli_testcase(1020, [cbc_refinement,refinement], ['../prob_examples/public_examples/B/Implementations/FTP/FileTransfer2.ref', '-cbc_refinement'], '').
1617 cli_testcase(1021, [cbc_refinement,imp,refinement], ['../prob_examples/public_examples/B/Implementations/Mul/MulImp.imp', '-cbc_refinement'], '').
1618 cli_testcase(1022, [cbc_refinement,imp,refinement], ['../prob_examples/public_examples/B/Implementations/Mul/MulImpErr.imp', '-cbc_refinement', '-expcterr', cbc_refinement], '').
1619 cli_testcase(1023, [cbc_refinement,imp,refinement], ['../prob_examples/public_examples/B/Implementations/Power/AExpBImpl.imp', '-cbc_refinement'], '').
1620 cli_testcase(1024, [cbc_refinement,imp,refinement], ['../prob_examples/public_examples/B/Implementations/Simple10/Simple10Imp.imp', '-cbc_refinement'], '').
1621 cli_testcase(1025, [cbc_refinement,imp,refinement], ['../prob_examples/public_examples/B/Implementations/Simple10/Simple10ImpErr.imp', '-cbc_refinement', '-expcterr', cbc_refinement, '-p', 'CLPFD', 'TRUE'], '').
1622 cli_testcase(1026, [cbc_refinement,imp,refinement], ['../prob_examples/public_examples/B/Implementations/Simple10/Simple10ImpErr2.imp', '-cbc_refinement', '-expcterr', cbc_refinement], '').
1623 cli_testcase(1027, [cbc_refinement,refinement], ['../prob_examples/public_examples/B/RefinementChecking/ServerR.ref', '-cbc_refinement'], '').
1624 cli_testcase(1028, [cbc_refinement,refinement], ['../prob_examples/public_examples/B/RefinementChecking/ServerR_wrong.ref', '-cbc_refinement'
1625 %, '-expcterr', cbc_refinement
1626 ], ''). % duplicate of test 1012
1627 cli_testcase(1029, [cbc_refinement,refinement], ['../prob_examples/public_examples/B/RefinementChecking/SwapR.ref', '-cbc_refinement'], '').
1628 cli_testcase(1030, [b_test,infinite,sequences, theories], ['../prob_examples/public_examples/B/FunctionalProgramming/SequenceTheory.mch', '-t', '-assertions'], 'Check infinite functions and sets').
1629 cli_testcase(1031, [b_test,card], ['../prob_examples/public_examples/B/FeatureChecks/DeferredSetAndConstants.mch', '-init',
1630 '-evalt', 'ID3=3 & ID1:ID2 & ID0:ID2 & (xx=ID5 => not(xx=ID6)) & (xx=ID6 => not(xx=ID5))'],'Check that name clashes between deferred set ids and other ids handled gracefully').
1631 cli_testcase(1032, [csp_test,refusal_trace_refinement,refinement], ['../prob_examples/public_examples/CSP/RefusalBasedRefinement/RefusalBasedRefinement_DIV.csp', '-assertions', '-strict'],'Simple test case for refusals-divergence based refinement checking (CSP).').
1632 cli_testcase(1033, [dot], ['-p', 'DOT_LEGEND', 'FALSE', '../prob_examples/public_examples/B/Benchmarks/scheduler.mch', '-bf', '-mc', 1000, '-strict', '-dotexpr', transition_diagram, 'card(active)',
1633 '../prob_examples/public_examples/B/Benchmarks/scheduler_transition_diagram.dot',
1634 '-p', 'DOT_LOOPS', 'FALSE' % added 7/11/2023
1635 ],'Check Transition Diagram for Expression.').
1636 cli_testcase(1034, [tickets], ['../prob_examples/public_examples/B/Tickets/leuschel4/SetBecomeElementOf.mch', '-t'], 'check no error with ::').
1637 cli_testcase(1035, [tickets], ['../prob_examples/public_examples/B/Tester/SubstSetInTests.mch', '-t', '-p', 'CLPFD' ,'TRUE', '-p', 'SYMBOLIC', 'TRUE'], 'check no error with ::').
1638 cli_testcase(1036, [tickets,smt_test], ['../prob_examples/public_examples/B/PerformanceTests/LargeRelationSetTests.mch', '-t', '-p', 'CLPFD' ,'TRUE', '-p', 'SMT', 'TRUE', '-p', 'SYMBOLIC', 'TRUE'], 'check no residue in symbolic mode due to lambda_res projected away').
1639 cli_testcase(1037, [b_test], ['-evalt', '{x|x**4 = 160000}={-20,20}', '-evalt', '{x|x**3 = -125000} = {-50}', '-evalt', 'x**4 = y & y=160000', '-evalt', '{x,y|x**4 = y & y:140000..160004}={(-20|->160000),(20|->160000)}', '-p', 'CLPFD', 'TRUE', '-strict'], 'Ensure exponentation constraint propagation.').
1640 cli_testcase(1038, [b_test], ['-evalt', 'x mod 100000 >= 99999',
1641 '-evalf', 'x mod 100000 > 99999',
1642 '-evalt', '(x+2) mod 100000 >= 99999',
1643 '-evalt', '(x-2) mod 100000 >= 99999 & x>2',
1644 '-evalt', '{x,y|x mod y = x & y : 10..11 & x>0 & x+3>y}={(8|->10),(9|->10),(9|->11),(10|->11)}',
1645 '-evalt', 'x:NATURAL & x mod 10000 = 9999',
1646 '-evalt', 'x:NATURAL & x mod 10000 = 998',
1647 '-evalf', 'x:NATURAL & x mod 10000 = 10000',
1648 '-evalf', 'x:NATURAL & x mod 10000 = 10001',
1649 '-evalt', '{X|X:1..20 & X**8 = 256} = {2}',
1650 '-evalt', '{X|X:1..20 & X**9 = 256} = {}',
1651 '-evalt', '{X,Y,Z|X:1..20 & Y : 8..9 & Z : 255..513 & X**Y = Z} = {(2,8,256),(2,9,512)}',
1652 '-evalt', '{X,Y,Z|X:1..20 & Y : 8..9 & Z : 1..513 & X**Y = Z} = {((1|->8)|->1),((1|->9)|->1),((2|->8)|->256),((2|->9)|->512)}',
1653 '-p', 'CLPFD', 'TRUE', '-strict'
1654 %, '-expcterr', eval_string_enum_warning
1655 ], 'Ensure modulo constraint propagation.').
1656 cli_testcase(1039, [cbc_refinement,imp,refinement], ['../prob_examples/public_examples/B/Implementations/MaxDevelopment/MaxImp.imp', '-cbc_refinement'], '').
1657 cli_testcase(1040, [cbc_refinement,imp,refinement], ['../prob_examples/public_examples/B/Implementations/MaxDevelopment/MaxImpVector.imp', '-cbc_refinement'], '').
1658 cli_testcase(1041, [cbc_refinement,wd,refinement], ['../prob_examples/public_examples/B/Implementations/MaxDevelopment/MaxR.ref', '-cbc_refinement', '-expcterr', 'well_definedness_error'], 'Max is applied to an empty set here - wd error in constraint solver').
1659 cli_testcase(1042, [cbc_refinement,refinement], ['../prob_examples/public_examples/B/Implementations/MaxDevelopment/MaxR2.ref', '-cbc_refinement'], '').
1660 cli_testcase(1043, [operation_reuse], ['../prob_examples/public_examples/B/Benchmarks/CAN_BUS_tlc.mch', '-mc', '1000000', '-bf', '-p', 'OPERATION_REUSE', 'full', %'-p', pge, full,
1661 '-get_coverage_information', '../prob_examples/public_examples/B/Benchmarks/CAN_BUS_tlc.cov',
1662 '-strict'],
1663 'Testing for identical coverage information after the PGE optimization.').
1664 cli_testcase(1044, [operation_reuse], ['../prob_examples/public_examples/B/EventB/EventB_Projekt/lift_solution.mch', '-mc', '1000000', '-bf', '-p', 'OPERATION_REUSE', 'full', %'-p', pge, full,
1665 '-p', timeout_cbc_analysis, 60000, '-get_coverage_information', '../prob_examples/public_examples/B/EventB/EventB_Projekt/lift_solution_Coverage_pge.txt', '-strict'], 'Testing for identical coverage information after the PGE optimization.').
1666 cli_testcase(1045, [operation_reuse,private], ['../prob_examples/examples/RodinModels/Deploy/Bosch/CruiseControl/CrsCtl_m4.eventb', '-mc', '1000000', '-bf',
1667 '-p', 'OPERATION_REUSE', 'TRUE', %-p', pge, full,
1668 '-get_coverage_information', '../prob_examples/examples/RodinModels/Deploy/Bosch/CruiseControl/CrsCtl_m4_Coverage_pge.txt', '-strict', '-expecterr', 'model_check_incomplete'], 'Testing for identical coverage information after the PGE optimization.').
1669 cli_testcase(1046, [por], ['../prob_examples/public_examples/B/Ivo/PruningActionsTest2.mch', '-mc', '1000000', '-noinv', '-p', 'por', ample_sets, '-expcterr', deadlock, '-strict'], 'POR test (deadlock).').
1670 cli_testcase(1047, [por], ['../prob_examples/public_examples/B/Ivo/ActivatingDepAction.mch', '-mc', '1000000', '-nodead', '-p', 'por', ample_sets, '-expcterr', invariant_violation, '-strict'], 'POR test (invariant violation).').
1671 cli_testcase(1048, [eventb_test], ['../prob_examples/public_examples/B/Tickets/Georghe1/seq_m_mch_concrete_constants.eventb', '-mc', '100', '-expecterr', 'deadlock', '-expecterr', 'event_error:append:action_not_executable'], 'Can now also be initialized with ProB and enumeration_warning exception detection.').
1672 cli_testcase(1049, [eventb_test], ['../prob_examples/public_examples/B/Tickets/Georghe1/seq_m_mch_abstract_constants.eventb', '-mc', '100', '-expecterr', 'deadlock', '-expecterr', 'event_error:append:action_not_executable'], 'Same as 1048, no with abstract constants - should not time out').
1673 cli_testcase(1050, [eventb_test,cbc,private], ['../prob_examples/examples/EventBPrologPackages/Advance_WP2/SubstationMeter_2603_2013.eventb', '-cbc', 'all', '-strict'], 'Test that proof info correctly used; machine fully proven.').
1674 cli_testcase(1051, [laws], ['../prob_examples/public_examples/B/Laws/FinitenessLaws.mch', '-init', '-assertions', '-strict','-p', 'DOUBLE_EVALUATION', 'TRUE', '-p', 'CLPFD', 'TRUE'], 'Various laws about finitness of sets.').
1675 cli_testcase(1052, [eventb_test,cbc,infinite,private], ['../prob_examples/examples/EventBPrologPackages/Advance_WP2/SubstationMeter_finite_mch.eventb', '-strict', '-mc', 50, '-p', 'CLPFD', 'TRUE', '-expcterr', 'model_check_incomplete'], 'Test multi-level animation.').
1676 % generates many "Keeping comprehension-set symbolic" messages due to assignment in confirm event:
1677 % quoted := quoted |>> {a|->c|->d|->e|a : NAT & (c : NAT1 & (d : NAT1 & (e : NAT & a = prj1(INTEGER,INTEGER)(prj1(INTEGER*INTEGER,INTEGER)(prj1((INTEGER*INTEGER)*INTEGER,INTEGER)(quoted(reqid)))))))}
1678 cli_testcase(1054, [b_test, let], ['../prob_examples/public_examples/B/FeatureChecks/NestedAnys.mch', '-t', '-mc', 100, '-cc', 6, 7], 'Check LET extraction').
1679 cli_testcase(1055, [csp_test,refinement], ['../prob_examples/public_examples/CSP/ucsexamples/chapter04/abp.csp','-assertions','-strict'], 'Checking CSP-M assertions.').
1680 cli_testcase(1056, [csp_test,refusal_trace_refinement,refinement], ['../prob_examples/public_examples/CSP/other/Williams/vg.csp','-assertions','-strict'], 'Checking CSP-M assertions of refusal trace refinements.').
1681 cli_testcase(1057, [tickets], ['../prob_examples/public_examples/B/Tickets/LoopPartition/bug.eventb', '-init','-expecterr', %'setup_constants_fails'
1682 'setup_constants_inconsistent' % with changes from May 15th 2026 we now get PARTIAL_SETUP_CONSTANTS solutions
1683 ], 'Check that partition(SET,{A},{B},{A,B}) does not lead to a loop in find_inequal_global_set_identifiers').
1684 cli_testcase(1058, [csp_test,refusal_trace_refinement,refinement], ['../prob_examples/public_examples/CSP/Tickets/WilliamsCSP/protocol_short.csp','-assertions','-t','-strict'], 'Expanding partial constructors inside of closures (see declaration: Network_Data_Fwd = {| CData |} in file).').
1685 cli_testcase(1059, [b_test,card], ['-evalt', '{X,F|bool(X /\\ {1} = {} & X \\/ {1} = 1..50000)=F & F:{TRUE,FALSE} & F=bool({1} <: {2,1})} = { (2..50000,TRUE) }',
1686 '-evalt', '{X,F|bool(X /\\ {1} = {} & X \\/ {1} = 1..50000)=F & F:{TRUE,FALSE} & F=bool({1} <: {2,1})} <<: { (2..50000,TRUE), ({},TRUE) }',
1687 '-evalt', 'card(%(X,F).(bool(X /\\ {1} = {} & X \\/ {1} = 1..50000)=F & F:{TRUE,FALSE} & F=bool({1} <: {2,1})|F))=1',
1688 '-evalt', '{X| X /\\ {1} = {} & X \\/ {1} = 1..20} = {2..20}'], 'Check partition detection inside expressions').
1689 cli_testcase(1060, [b_test], ['../prob_examples/public_examples/B/FeatureChecks/PartitionDetection.mch', '-t'], 'Check partition detection inside substitutions').
1690 cli_testcase(1061, [b_test], ['-evalt', '#f.(f : 1..11 --> 1..10 & dom(f~) = 1..10)', '-evalt', '#f.(f:1..49 -->> 1..49)', '-evalf', '#f.(f:1..19 -->> 1..20)',
1691 '-evalt', '#f.(f : 1..10 --> 1..10 & ran(f) = 1..10)'],'Check that range/domain/-->> scale properly').
1692 cli_testcase(1062, [b_test,infinite], ['-evalt', '#(i,f).(i = %x.(x:INTEGER|x+1) & f = (i;i;i;i;i;i;i;i) & 2008 = f(2000))', '-evalt', '#(i,f).(i = %x.(x:INTEGER|x*x) & f = (i;i) & f[{1,2,4,8,101}]={1,2**4,4**4,8**4,104060401})',
1693 '-evalt', '#(i,m,f).(i = %x.(x:INTEGER|x+1) & m = %y.(y:NATURAL|y*y) & f = (i;m;i) & 1+2001**2 = f(2000))',
1694 '-evalt', 'i = %(x,y).(x:INTEGER&y:INTEGER|x+y) & m = %y.(y:NATURAL|y*y) & f = (i;m) & 2500 = f(20,30)',
1695 '-evalt', 'i = %(x,y).(x:INTEGER&y:INTEGER|x+y) & m = %y.(y:NATURAL1|bool(y>100)) & f = (i;m) & TRUE = f(20,90)',
1696 '-evalt', 'poly = %(x,y,z).(x:INTEGER&y:INTEGER&z:INTEGER|x*x+y*y+z*z) & dec = %v.(v:NATURAL1|v-1) & f = (poly ; dec) & f(1,2,3)=13',
1697 '-evalt', 'max0 = %x.(x<:INTEGER|max(x)-1) & inc = %v.(v:INTEGER|v+1) & m = (max0;inc) & m(1..100 \\/ {4321})=4321',
1698 '-evalt', 'max0 = %x.(x<:INTEGER|max(x)-2) & inc = %v.(v:INTEGER|v+1) & is=%s.(s<:INTEGER|inc[s]) & m = (is;max0;inc) & m(1..100 \\/ {4321})=4321'
1699 ],'Check that relational composition of infinite function works').
1700 cli_testcase(1063, [eventb_test], ['../prob_examples/public_examples/EventBPrologPackages/FeatureTests/ThmInGuard_mch.eventb', '-mc', 100, '-strict', '-expcterr', 'model_check_incomplete'], 'Test that theorem in guards can be loaded.').
1701 cli_testcase(1064, [eventb_test], ['../prob_examples/public_examples/EventBPrologPackages/FeatureTests/EventWithSlash_mch.eventb', '-mc', 100, '-expcterr', invariant_violation, '-strict'], 'Test that slash in Event Name does not cause problems.').
1702
1703 cli_testcase(1065, [b_test], ['-evalt', '{X,Y,Z,V,W,A,B,C} = {1,2,3,4,5,6,7,8} & X>Y & Y>Z & Z>V & V>W & W>A & A>B & B>C',
1704 '-evalf', '{X,Y,Z,V,W,A,B,C} = {1,2,3,4,5,7,8} & X>Y & Y>Z & Z>V & V>W & W>A & A>B & B>C'], 'Test that constraint propagation for set extension works').
1705
1706 cli_testcase(1066, [b_test,wd], ['../prob_examples/public_examples/B/Mathematical/GCD.mch', '-init',
1707 '-p', 'CLPFD', 'TRUE', '-p', 'MAXINT', 128,
1708 '-evalt', 'half(201)=100',
1709 '-evalnwd', 'gcd({10,15})', % this one is not well defined
1710 '-evalt', 'gcdc({1000,750})=250'], 'Check that expression values enumerated'). % gcd({10,15}) requires enumeration of result value
1711
1712 cli_testcase(1067, [cbc,cbc_tests], ['../prob_examples/public_examples/B/Benchmarks/scheduler.mch', '-cbc_sequence', 'new;del', '-cbc_sequence', 'new;ready', '-cbc_sequence', 'new;ready,swap'], 'Check that constraints can be solved').
1713 cli_testcase(1068, [cbc,cbc_tests], ['../prob_examples/public_examples/B/Benchmarks/scheduler.mch', '-cbc_sequence', 'new;del;del', '-expcterr', cbc_sequence_no_solution_found], 'Check that constraints cannot be solved').
1714 cli_testcase(1069, [cbc,cbc_tests], ['../prob_examples/public_examples/B/Benchmarks/scheduler.mch', '-cbc_tests', 3, '1=1', '../prob_examples/public_examples/B/Benchmarks/scheduler_cbc_tests.xml'], 'Check that full coverage can be achieved').
1715 cli_testcase(1070, [cbc,cbc_tests], ['../prob_examples/public_examples/B/TestCaseGeneration/InvolvedSequences.mch', '-cbc_sequence', 'BookFlight;BookHotel;BookReturnFlight', '-cbc_sequence', 'BookFlight;BookReturnFlight;BookHotel;BookHotel'], 'Check that constraints can be solved').
1716 cli_testcase(1071, [cbc,cbc_tests], ['../prob_examples/public_examples/B/TestCaseGeneration/InvolvedSequences2.mch', '-cbc_sequence', 'Op1;Op2;Op3;Target3', '-p', 'CLPFD', 'TRUE'], 'Check that constraints can be solved').
1717 cli_testcase(1072, [cbc,cbc_tests], ['../prob_examples/public_examples/B/TestCaseGeneration/InvolvedSequences2.mch', '-cbc_tests', 2, '1=1', '../prob_examples/public_examples/B/TestCaseGeneration/InvolvedSequences2_cbc_tests.xml', '-p', 'CLPFD', 'TRUE', '-expcterr', 'cbc_tests'], 'Check that coverage cannot be achieved').
1718 cli_testcase(1073, [cbc,cbc_tests], ['../prob_examples/public_examples/B/TestCaseGeneration/InvolvedSequences2.mch', '-cbc_tests', 4, '1=1', '../prob_examples/public_examples/B/TestCaseGeneration/InvolvedSequences2_cbc_tests.xml', '-p', 'CLPFD', 'TRUE'], 'Check that full coverage can be achieved').
1719 cli_testcase(1074, [cbc,tla,smt_test,cbc_tests], ['../prob_examples/public_examples/TLA/SumAndProduct/Merz/SumAndProductTransition.tla', '-cbc_sequence', 'Step2;Step3;Step4', '-p', 'CLPFD', 'TRUE', '-p', 'SMT', 'TRUE' ], 'Check cbc sequence on TLA example').
1720 cli_testcase(1075, [b_test], ['../prob_examples/public_examples/B/PerformanceTests/SetLogInefficiencies4.mch', '-init', '-p', 'CLPFD', 'TRUE', '-p', 'MAXINT', 128, '-assertions'], 'Check that ProB deals well with certain examples which Setlog cannot deal with').
1721 cli_testcase(1076, [b_test], ['../prob_examples/public_examples/B/FeatureChecks/VariableCaptureComprSet.mch', '-cbc' ,'all', '-expcterr', 'cbc', '-assertions', '-p', 'CLPFD', 'TRUE', '-mc', 100, '-expcterr', 'invariant_violation'], 'Check that variable capture problems do not confuse ProB').
1722
1723 cli_testcase(1077, [b_test,closure1,card], ['-evalt', '{y|#(r,r2).({x,y|x<y} = r & r2 = (r;r) & 20|->y : r2 & y|->25 : r2)} = (22..23)',
1724 '-evalf', '{y|#(r,r2).({x,y|x<y} = r & r2 = (r;r) & 20|->y : r2 & y|->25 : r2)} = (22..24)',
1725 '-evalt', 'f = %x.(x:NATURAL|x+x) & f2 = (f;f) & i = f2[1..n] & card(i)=n & min(i)=4 & max(i)=4*n & n=5000',
1726 '-evalt', 'f = %x.(x:NATURAL|x+x) & f2 = (f;f) & f4 = (f2;f2) & i = f4[1..n] & card(i)=n & min(i)=16 & max(i)=16*n & n=2000',
1727 '-evalt', 'f = %x.(x:NATURAL|x+x) & f2 = (f;f) & r1 = {x,y|x:1..n & y:{x,x+1}} & comp = {x,z|#y.(x|->y:r1 & y|->z:f2)} & comp2 = (r1 ; f2) & comp=comp2 & n=1000 & card(comp2) = 2*n & max(ran(comp2))=4*(n+1)',
1728 '-evalt', 'half = {x,y|y+y=x} & card(half[1024 .. xx] \\/ (closure1(half) ; half)[1024 .. xx])=10 & xx=1024',
1729 '-p', 'SYMBOLIC', 'TRUE', '-p', 'CLPFD', 'TRUE'
1730 , '-p', 'TIME_OUT', 7000 % TEMPORARILY INCREASE TIME OUT: TO DO investigate why r1 = {x,y|x:1..n & y:{x,x+1}} & comp = {x,z|#y.(x|->y:r1 & z=y+y+y+y)} & n=1000 & max(ran(comp))=4*(n+1) is much slower since frozen_dif_aux checks for int_plus4
1731 ], 'Test that symbolic relational composition works').
1732 cli_testcase(1078, [private,data_validation], ['../prob_examples/examples/B/Systerel/PerformanceIssue_Apr13/TOP3_CONC_def7_obs_original.mch', '-init' ,'-aa', 0,1,0, '-p', 'SYMBOLIC', 'TRUE'], 'Check that performance issue related to symbolic relational composition solved').
1733 cli_testcase(1079, [cbc,smt_test], ['../prob_examples/public_examples/TLA/SumAndProduct/Merz/SumAndProductCst.mch', '-assertions', '-init', '-det_check', '-p', 'CLPFD', 'TRUE', '-p', 'SMT', 'TRUE' , '-p' ,'TIME_OUT', 12000], 'Check solving on example with nested set comprehensions').
1734 cli_testcase(1080, [b_test,closure1], ['../prob_examples/public_examples/B/Laws/RelClosureLaws.mch', '-init' ,'-assertions', '-p', 'CLPFD', 'TRUE'], 'Check various assertions about relational composition and closure1').
1735 cli_testcase(1081, [b_test,closure1], ['../prob_examples/public_examples/B/Laws/RelClosureLaws.mch', '-t', '-p', 'CLPFD', 'TRUE', '-mc', 20, '-nogoal', '-nodead', '-expcterr', 'model_check_incomplete'], 'Check various assertions about relational composition and closure1').
1736 cli_testcase(1082, [csp_test], ['../prob_examples/public_examples/CSP/Tickets/TUBerlin/Interleaving.csp','-assertions','-strict'], 'Checking CSP-M assertions.').
1737 cli_testcase(1083, [tickets,data_validation], ['-evalt', 'adii = %ii.(ii : INTEGER +-> {FALSE,TRUE}|(ii |>> {FALSE})) & afq = {y,z|z : BOOL & (y : {(0|->1)}[{m}] & z = FALSE)} & afs = adii(afq)', '-p', 'SYMBOLIC', 'TRUE',
1738 '-p', 'MEMO', 'TRUE' %, '-expcterr' , eval_string_enum_warning
1739 ],'ensure no avl_set(empty) is generated anymore').
1740 cli_testcase(1084, [cbc,card], ['-evalt', 'r:INTEGER<->INTEGER & dom(r)=2..20',
1741 '-evalt', 'r:INTEGER<->BOOL & dom(r)=2..50',
1742 '-evalt', 'r:INTEGER<->INTEGER & ran(r)=2..50',
1743 %'-evalt', 'r:INTEGER<->INTEGER & ran(r)=2..16 & card(r)>=15',
1744 %'-evalt', 'r:INTEGER<->INTEGER & dom(r)=2..16 & card(r)>=15',
1745 '-evalt', 'r:INTEGER<->INTEGER & dom(r)=10002..10016',
1746 '-evalt', 'r:INTEGER<->INTEGER & ran(r)=10002..10016',
1747 '-evalt', 'card({r|r:INTEGER<->INTEGER & dom(r)=61..64 & card(r)=4 & ran(r) = 55..56})=14',
1748 '-evalt', 'card({r|r:INTEGER<->INTEGER & dom(r)=9961..9964 & card(r)=4 & ran(r) = 2155..2158})=24',
1749 '-evalt', 'card({r|r:INTEGER<->INTEGER & dom(r)=61..64 & card(r)=4 & ran(r) = 155..159})=0',
1750 '-p', 'CLPFD', 'TRUE' %, '-expcterr', eval_string_enum_warning
1751 ],'ensure proper constraint-solving for domain/range').
1752 cli_testcase(1085, [b_test], ['../prob_examples/public_examples/EventBPrologPackages/Advance/DoorLockSystem/LOCKSR2_mch.eventb', '-mc', 100, '-cc', 24, 32, '-vacuity_check', '-expcterr', vacuity_check, '-strict'], 'Checking vacuity_check command').
1753 cli_testcase(1086, [csp_test, cbc], ['../prob_examples/public_examples/CSP/clpfd_tests/SetComprehensionCBC.csp','-p', 'CLPFD', 'TRUE', '-assertions','-strict', '-p', 'TIME_OUT', 7500], % increase timeout for windows and gitlab
1754 'Checking CSP-M assertions (CBC test case).'). % was skipped in 2013 188167bc320f854a4634146299c3f19278047c8e
1755 cli_testcase(1087, [b_test,infinite], ['../prob_examples/public_examples/B/PerformanceTests/InfiniteIntersection.mch', '-p', 'CLPFD', 'TRUE', '-init', '-assertions'], 'Check we can take intersection with infinite sets').
1756 cli_testcase(1088, [cbc,smt_test], ['../prob_examples/public_examples/B/Benchmarks/phonebook7.mch','-p', 'CLPFD', 'TRUE',
1757 '-p', 'TIME_OUT', 5000, % increased time-out after change of pfun enumeration priority; TO DO: fix
1758 '-p', 'SMT', 'TRUE', % added SMT option after adding wait flag for propagate_result_to_input in domain_wf in kernel_relations
1759 '-cbc', 'all','-strict'], 'Check that we do not time-out (due to delaying normalisation of variables).').
1760 cli_testcase(1089, [b_test], ['../prob_examples/public_examples/B/PerformanceTests/InfiniteIntersection2.mch', '-p', 'CLPFD', 'TRUE', '-p', 'SYMBOLIC', 'FALSE','-init', '-assertions'], 'Check ProB now detects even/odd automatically as symbolic').
1761 cli_testcase(1090, [b_test,infinite,sigma,union], [
1762 '-evalt', 'f = {x,y,z| x*x + y*y = z*z} & {y|(3,4,y):f} = {-5,5}',
1763 '-evalt', 's = {x,y,z| z:seq(NATURAL) & x^y=z} & {v|([1111,2222,3333,4444],[99999,8888],v):s} = {[1111,2222,3333,4444,99999,8888]}',
1764 '-evalt', 's = {x,y| x<:POW(NATURAL) & union(x)=y & SIGMA(z).(z:y|z)>1000} & s({{890},{},{1,199}}) = res & SIGMA(v).(v:res|v)=1090',
1765 '-p', 'CLPFD', 'TRUE'],'ensure ProB detects certain relations as infinite automatically').
1766 cli_testcase(1091, [csp_test, csp_det,refinement], ['../prob_examples/public_examples/CSP/Tickets/Ivo/AgentCurry.csp', '-assertions','-strict'], 'Checking CSP-M assertions (agent curry calls).').
1767 cli_testcase(1092, [csp_test, csp_det,refinement], ['../prob_examples/public_examples/CSP/ucsexamples/chapter06/commsec.csp', '-assertions','-strict'], 'Checking CSP-M assertions (agent curry calls).').
1768 cli_testcase(1093, [b_test,infinite,override,sigma,union,card], [
1769 '-evalt', 'f = %x.(x:NATURAL|x+x) & g = f <+ {0|->1} & g(0)=res0 & g(111)=res1',
1770 '-evalt', 'f = {x,y|x:NATURAL & y=x+x or y=x*x} & g = f <+ {0|->111,222|->1024} & union({res|g[{222}] =res})=rr222 & union({res|g[{1000}] =res}) = rr1000 & card(rr222)=1 & card(rr1000)=2 & SIGMA(z).(z:rr1000|z)=1002000',
1771 '-evalt', 'r1 = {x,y|x*x<y & (x+1)*(x+1)>y} & r2 = %z.(z>20|z) & r12 = r1 <+ r2 & (21,x21):r12 & {x10|10|->x10 : r12}=r10 & SIGMA(v).(v:r10|v)+x21=2231',
1772 '-evalt', 'r1 = {x,y|x*x<y & (x+1)*(x+1)>y} & r2 = %z.(z>20|z) & r21 = r2 <+ r1 & {x|21|->x : r21}=x21 & x21 = ((21*21)+1)..((22*22)-1)',
1773 '-p', 'CLPFD', 'TRUE'],'ensure symbolic treatment of override').
1774 cli_testcase(1094, [tickets, proz], ['../prob_examples/public_examples/Z/Tickets/Thompson1/System.fuzz', '-init', '-eval', 'map={}','-strict'], 'Checking CSP-M assertions (agent curry calls).').
1775 cli_testcase(1095, [b_test,cbc], ['../prob_examples/public_examples/B/BZTT/GSM_revue.mch', '-t', '-mc', 3000, '-cc', 1850, 53594, '-cbc_deadlock', '-strict', '-p', 'CLPFD', 'TRUE'], 'Checking old BZTT example.').
1776 cli_testcase(1096, [b_test,cbc,smt_test], ['../prob_examples/public_examples/B/BZTT/GSM_revue.mch', '-cbc', all, '-cbc_deadlock', '-strict', '-p', 'CLPFD', 'TRUE', '-p', 'SMT', 'TRUE'], 'Checking old BZTT example.').
1777 cli_testcase(1097, [tickets,eventb_test], ['../prob_examples/public_examples/B/Tickets/PROB-292/MTool1__04.eventb', '-mc', 100, '-expcterr', invariant_violation, '-p', 'PROOF_INFO', 'TRUE'], 'Check that proof info not confused by event extending itself (PROB-292)').
1778 cli_testcase(1098, [tickets,tla,tlc], ['../prob_examples/public_examples/B/Tickets/Hansen4/Test.mch', '-state_trace', '../prob_examples/public_examples/B/Tickets/Hansen4/Test.tla.trace'], 'Check that state_trace works with constants').
1779 cli_testcase(1099, [b_test,card,infinite], [ '-p', 'TIME_OUT', 1500,
1780 '-evalt', 'f = /*@symbolic*/ {x,y|x:0..2**32 & x mod 2 =0 & y=x*x} & f(x) = 10000',
1781 '-evalt', 'f = /*@symbolic*/ {x,y|x:0..2**132 & x mod 2 =0 & y=x*x} & f(x) = 10000',
1782 '-evalt', 'f = /*@symbolic*/ {x,y|x:0..2**25 & x mod 2 =0 & y=x*x} & {r|f(r) = 10000}=res & card(res)=1 & #vv.(vv:res &vv=100)',
1783 '-p', 'CLPFD', 'TRUE'],'ensure detection of large set comprehensions'). % TO DO: see if we can it to work again without symbolic
1784 cli_testcase(1100, [b_test,card], [
1785 '-evalt', 'r = {(111,2222),(333,4444)} & s = (2000..2001)*{v|v>3000} & x : (r||s)',
1786 '-evalt', 'card(((1..100)*(50..60) || (2..30)*(20..22))) = 95700',
1787 '-evalt', 'card(((1..100)*(50..60) || (2..30)*(23..22)))=0',
1788 '-evalt', '(((1..10)*(50..60) || (2..30)*(23..24)))~ = (((50..60)*(1..10) || (23..24)*(2..30)))',
1789 '-evalt', 'card(((1..1000)*(50..60) || (2..30)*(20..22))) = 957000',
1790 '-evalt', 'card(((1..n)*(50..60) || (2..30)*(20..22))) = 957*n & n=10',
1791 '-p', 'CLPFD', 'TRUE' %, '-expcterr', 'eval_string_enum_warning'
1792 ],'ensure symbolic treatment of parallel product works').
1793
1794 cli_testcase(1101, [private,data_validation,infinite,union],[
1795 '../prob_examples/examples/B/Systerel/C578.EML.014/360_002.mch',
1796 '../prob_examples/examples/B/Systerel/C578.EML.014/380_002.mch',
1797 '../prob_examples/examples/B/Systerel/C578.EML.014/612_001.mch',
1798 '../prob_examples/examples/B/Systerel/C578.EML.014/019_100_corrected.mch',
1799 '../prob_examples/examples/B/Systerel/C578.EML.014/CF_TVD_8.mch',
1800 '../prob_examples/examples/B/Systerel/C578.EML.014/CF_CBTC_TER_1.mch',
1801 '../prob_examples/examples/B/Systerel/C578.EML.014/CF_ZMA_PRUD_1.mch',
1802 '../prob_examples/examples/B/Systerel/C578.EML.014/CF_ZMA_PRUD_7.mch',
1803 '-p', 'TIME_OUT', '11000', '-p', 'SYMBOLIC', 'TRUE', '-p', 'DOUBLE_EVALUATION', 'FALSE', '-p', 'EXPAND_FORALL_UPTO', '0', '-p', 'CLPFD', 'TRUE', '-p', 'MEMO', 'TRUE', '-init', '-assertions',
1804 '-p', 'TRACE_INFO', 'FALSE', % changed to FALSE to reduce output
1805 '-p', 'ENUMERATE_INFINITE_TYPES', 'FALSE', '-strict'],
1806 'check data validation tasks with infinite sets').
1807 cli_testcase(1102, [private,data_validation,infinite],[
1808 '../prob_examples/examples/B/Systerel/C578.EML.014/019_100.mch',
1809 '-p', 'TIME_OUT', '9000', '-p', 'SYMBOLIC', 'TRUE', '-p', 'DOUBLE_EVALUATION', 'FALSE', '-p', 'EXPAND_FORALL_UPTO', '0', '-p', 'CLPFD', 'TRUE', '-p', 'MEMO', 'TRUE', '-init', '-aa', 12,1,0,'-p', 'TRACE_INFO', 'TRUE', '-p', 'ENUMERATE_INFINITE_TYPES', 'FALSE', '-strict'],
1810 'check data validation tasks with infinite sets').
1811 cli_testcase(1103, [private,data_validation,infinite],[
1812 '../prob_examples/examples/B/Systerel/C578.EML.014/435_002.mch',
1813 '-p', 'TIME_OUT', '9000', '-p', 'SYMBOLIC', 'TRUE', '-p', 'DOUBLE_EVALUATION', 'FALSE', '-p', 'EXPAND_FORALL_UPTO', '0', '-p', 'CLPFD', 'TRUE', '-p', 'MEMO', 'TRUE', '-init', '-aa', 0,1,0,'-p', 'TRACE_INFO', 'TRUE', '-p', 'ENUMERATE_INFINITE_TYPES', 'FALSE', '-strict'],
1814 'check data validation tasks with infinite sets').
1815 cli_testcase(1104, [b_test, let,quantified,union,card], [
1816 '-evalt', 'INTER(x , y,z ).(x=1..y & y=5&z=2|x) = {1,2,3,4,5}',
1817 '-evalt', 'UNION(x , y,z ).(x=1..y & y=5&z=2|x) = {1,2,3,4,5}',
1818 '-evalt', 'UNION(x , y ).(x=1..y & y=20|x)=1..20',
1819 '-evalt', 'UNION(beu).(beu=1|{2}) = {2}',
1820 '-evalt', 'UNION(xx).(xx<:55..60|xx) = 55..60',
1821 '-evalt', 'UNION(x , y ).(x=1..y & y=20&v<10|x)=r & v=20 & r={}',
1822 '-evalt', 'UNION(x , y ).(x=1..y & y=20&v<10|x)=r & v=5 & r=1..20',
1823 '-evalt', 'UNION(x).(x=1 & x>2|{1}) = {}',
1824 '-evalf', 'card(UNION(x).(x=1 & x>2|{1}))>0',
1825 '-evalt', 'UNION(x).(x=1 & (x>2 or x<3)|{x}) = {1}',
1826 '-evalt', 'UNION(x,y).(x=1 & (x>2 or x<y) & y:0..3|{x|->y}) = {(1|->2),(1|->3)}',
1827 '-evalt', 'UNION(x,y).(x=y & y=x+1 & x:1..100|{x|->y}) = {}',
1828 '-evalt', 'UNION(x,y).(x=1 & y:1..2|{x+y}) = {2,3}',
1829 '-evalt', 'INTER(x,y).(x=1 & y:1..2|{x+y}) = {}',
1830 '-evalt', 'INTER(x,y).(x=1 & y:1..2|{x+y,x+y+1})={3}',
1831 '-evalt', 'INTER(x,y,z).(x=1000 & z=x+1000 & y:1..2|{x+y+z,x+y+z+1}) = {3002}',
1832 '-evalf', '!(x,y).(x=1 & y:(x+1)..(x+19) => y+y<30)',
1833 '-evalt', '!(x,y).(x=1 & y:(x+1)..(x+19) => y+y<42)',
1834 '-evalt', '!x.(x=100 & x>200 => x>999)',
1835 '-evalt', '!x.(x=100 & x>50 => x>99)',
1836 '-evalf', '!x.(x=100 & x>50 => x>100)',
1837 '-evalt', '!(x,y,z,v).(x=10 & y=20 & z=x+y & v:x..z => v:NATURAL1)',
1838 '-evalt', 'f = {1|->2} & !e.(2:dom(f) & e=f(2) => e>100)',
1839 '-evalf', 'f = {1|->2} & !e.(1:dom(f) & e=f(1) => e>100)',
1840 '-evalf', 'f = {1|->2} & !e.(e=f(1) => e>100)',
1841 '-evalt', 'f = {1|->200} & !e.(e=f(1) => e>199)'
1842 ],'ensure UNION/INTER can be dealt with by typechecker, + LET introduction works correctly...').
1843 cli_testcase(1105,[private, data_validation,alstom,codespeed],[
1844 '../prob_examples/examples/B/Alstom/sgd_Jun11/vital_gradient_v3/vital_gradient_optimized.mch',
1845 '-p', 'CLPFD', 'TRUE', '-p', 'MAXINT', '2147483647', '-p', 'MININT', '-2147483648', '-p', 'TIME_OUT', '35000', '-t'],
1846 'check that trace can be replayed').
1847 cli_testcase(1106, [b_test,recursion,external,infinite], ['../prob_examples/public_examples/B/RecursiveFunctions/PrimitiveRecursiveFunctions.mch',
1848 '../prob_examples/public_examples/B/RecursiveFunctions/SumTLA.mch',
1849 '../prob_examples/public_examples/B/RecursiveFunctions/TransitiveClosureFunction.mch',
1850 '../prob_examples/public_examples/B/RecursiveFunctions/TransitiveClosureFunctionIFTE.mch',
1851 '-assertions', '-strict', '-p', 'SYMBOLIC', 'FALSE'], 'Test that other recursive functions work.').
1852 cli_testcase(1107, [ltl,csp_test,refinement], ['../prob_examples/public_examples/CSP/RefusalBasedRefinement/RefusalBasedRefinement_simple.csp', '-ltlassertions', '-strict'],'Check LTL formulas with the \'Av(-)\'-operator from File.').
1853 cli_testcase(1108, [b_test,sigma,card,forall], ['-p', 'CLPFD', 'TRUE',
1854 '-evalt', 'bool(!(x,y).(x:1..400000 & y:1..x => x>=y)) /= bool(!(x,y).(x:1..400000 & y:1..x => x>y))',
1855 '-evalt', 'bool(!x.(x:POW(1..100) & card(x)>1 => SIGMA(y).(y:x|y)>3)) = bool(!x.(x:POW(1..100) & card(x)>1 => SIGMA(y).(y:x|y)<200))',
1856 % we wrap into bool to avoid top-level rewriting of !
1857 '-evalt', '!(x,y).(x:1..400000 & y:1..x => x>=y)',
1858 '-evalf', '!(x,y).(x:1..400000 & y:1..x => x>y)',
1859 '-evalf', '!x.(x:POW(1..100) & card(x)>1 => SIGMA(y).(y:x|y)>3)',
1860 '-evalf', '!x.(x:POW(1..100) & card(x)>1 => SIGMA(y).(y:x|y)<200)',
1861 '-strict'], 'Check that forall can now deal with large domains').
1862 cli_testcase(1109, [tickets,infinite], ['../prob_examples/public_examples/B/Tickets/Valerio3/BV16_DEFINITION.mch', '-strict', '-init', '-p', 'SYMBOLIC', 'TRUE', '-p', 'CLPFD', 'TRUE',
1863 '-evalf', '!(vec).( vec : BIT_VECTOR => size (vec)<=16)',
1864 '-evalt', 'bool(!(vec).( vec : BIT_VECTOR => size (vec)<=16))=bool(!(vec).( vec : BIT_VECTOR => size (vec)<=2))'
1865 %,'-expcterr', 'eval_string_enum_warning'
1866 ], 'Check that ProB now detects this quantification to be false'). % previously it was not detected due to limited enumeration
1867 cli_testcase(1110, [ltl], ['../prob_examples/public_examples/B/Ivo/PruningActionsTest2.mch', '-ltlassertions', '-strict'], 'Checking independency of actions by means of LTL Formulas.').
1868 cli_testcase(1111, [tickets,quantified,union],['../prob_examples/public_examples/B/PerformanceTests/UNION_PerfTest.mch',
1869 '-p', 'SYMBOLIC', 'TRUE', '-assertions' ,'-p' ,'CLPFD', 'TRUE',
1870 '-p', 'TIME_OUT', 1000], 'Ensure symbolic ran closure can be expanded efficiently').
1871 cli_testcase(1112, [tickets,alstom],['../prob_examples/examples/B/Alstom/cbtc/params_cbtc.mch',
1872 '-init' ,'-p' ,'IGNORE_PRJ_TYPES', 'TRUE', '-p', 'TIME_OUT', '3500'], 'Ensure symbolic ran closure can be expanded efficiently').
1873 cli_testcase(1113, [b_test,card], ['-p', 'CLPFD', 'TRUE',
1874 '-evalt', 'card({x|#y.(y:111..112 & x = {{y*y}})}) = 2',
1875 '-evalt', 'card({x|#y.(y:111..112 & x = {{{{{y*y}}}}})}) = 2',
1876 '-evalt', 'card({x|#y.(y:POW(BOOL) & card(y)=1 & x = ({(y,TRUE)},TRUE,TRUE,FALSE,TRUE,FALSE,TRUE,FALSE))}) =2',
1877 '-evalt', '{x|#y.(y:POW(BOOL) & card(y)=1 & x = {(y,TRUE,FALSE,TRUE)})} = {{((({FALSE}|->TRUE)|->FALSE)|->TRUE)},{((({TRUE}|->TRUE)|->FALSE)|->TRUE)}}',
1878 '-evalt', '{x,y|#z.(z:{1024,2048,4096} & x=z+z & y={{z*z}})} = {(2048|->{{1048576}}),(4096|->{{4194304}}),(8192|->{{16777216}})}',
1879 '-evalt', '{x|#z.(z:1..2**20 & x=z & x+z<100)} = 1..49',
1880 '-strict'], 'Check closures with top-level existential quantifiers').
1881 cli_testcase(1114, [tickets,csp_test],['../prob_examples/public_examples/B/Tickets/315/ANN_Neuron.csp',
1882 '-t' , '-mc', 200, '-check_complete', '-cc', 26, 42], 'Ensure ticket remains fixed').
1883 cli_testcase(1115, [tickets,eventb_test],['../prob_examples/public_examples/EventBPrologPackages/Ticket_ThmGuard/M2_mch.eventb',
1884 '-t' , '-mc', 200, '-check_complete'], 'Ensure theorem in guards work').
1885 cli_testcase(1116, [dot,eventb_test,dot],['-p', 'DOT_LEGEND', 'FALSE', '../prob_examples/public_examples/EventBPrologPackages/Tests/UnicodeIds_mch.eventb',
1886 '-mc', 200, '-nodead', '-check_complete', '-dot', 'state_space', '../prob_examples/public_examples/EventBPrologPackages/Tests/UnicodeIds_spdot.dot'], 'Ensure Unicode characters work in Dot export').
1887 cli_testcase(1117, [tickets],['../prob_examples/public_examples/B/Tickets/Srivastava1/Total_M1.mch',
1888 '-t' , '-strict'], 'Ensure that expensive arg in relations check not computed').
1889 cli_testcase(1118, [eventb_test, theories], ['../prob_examples/public_examples/EventBPrologPackages/Theory/ClosureTest.eventb','-assertions','-strict','-cc',2,1], 'Check if the closure definition works').
1890 cli_testcase(1119, [csp_test,cspb], ['-expecterr','deadlock','../prob_examples/public_examples/CSPB/Tickets/Bauer/machine.mch','-csp-guide','../prob_examples/public_examples/CSPB/Tickets/Bauer/machine.csp','-mc',1000,'-his','../prob_examples/public_examples/CSPB/Tickets/Bauer/machine_his.txt','-his_option','show_states','-strict'], 'Check if the closure definition works').
1891 cli_testcase(1120, [tickets,csp_test],['../prob_examples/public_examples/CSP/ErrorModels/haskell_csp/TypeErrorInChannelInput.csp', '-mc', 10, '-expcterr', 'check_channel_output_value', '-expcterr', 'general_error_occurred'], 'Checking for raising type error in channel input.').
1892 cli_testcase(1121, [tickets,csp_test],['../prob_examples/public_examples/CSP/other/Ivo/ComplexDataTypes.csp', '-t'], 'Checking complex input/output values for channel.').
1893
1894 cli_testcase(1122, [private,data_validation,exists], ['../prob_examples/examples/B/Systerel/C578/2013/machines_14082013/410_002.mch', '-init' ,'-assertions', '-p', 'SYMBOLIC', 'TRUE'], 'Check that WD issue inside negate exists solved').
1895 cli_testcase(1123, [tickets,exists], ['../prob_examples/public_examples/B/ErrorMachines/IllegalFunCalls/FunCall_Exists_correct.mch', '-init' ,'-assertions'], 'Check that WD issue inside negate exists solved').
1896 cli_testcase(1124, [tickets,wd,exists], ['../prob_examples/public_examples/B/ErrorMachines/IllegalFunCalls/FunCall_Exists_error.mch', '-init' ,'-assertions', '-expcterr', 'well_definedness_error', '-expcterr', check_assertions], 'Check that WD issue inside negate exists solved').
1897 cli_testcase(1125, [b_test,data_validation,infinite,override], ['-p', 'SYMBOLIC', 'TRUE',
1898 '-evalt', 'r=INTEGER*{3333} & s= {(1,1)} & ov = r <+ s & r1 = ov(1) & r2 = ov(2) & r3 = ov[1..3] & r3={r1}\\/{r2} & r1000=ov(1000) & r1000>3332'],
1899 'Test that override works symbolically').
1900 cli_testcase(1126, [private,data_validation,infinite,override], ['../prob_examples/examples/B/Systerel/C578/2013/machines_14082013/PB_00611_005.mch',
1901 '../prob_examples/examples/B/Systerel/C578/2013/machines_14082013/PS_00611_006.mch',
1902 '-init' ,'-assertions', '-p', 'SYMBOLIC', 'TRUE'], 'Check symbolic override issues solved').
1903 cli_testcase(1127, [tickets], ['../prob_examples/public_examples/B/Tickets/PROB-306/OperationCallBug.mch', '-strict', '-init',
1904 '-expcterr', 'type_error', '-expcterr', 'load_main_file'], 'Check type checker for wrong number of arguments in operation call').
1905 cli_testcase(1128, [tickets], ['../prob_examples/public_examples/B/Tickets/PROB-306/OperationCallBug2.mch', '-strict', '-init',
1906 '-expcterr', 'type_error', '-expcterr', 'load_main_file'], 'Check type checker for wrong number of results in operation call').
1907 cli_testcase(1130, [private,data_validation], ['../prob_examples/examples/B/Systerel/C578/2013/machines_03092013/error/0050_001.mch',
1908 '-init' ,'-assertions', '-p', 'SYMBOLIC', 'TRUE', '-p', 'TIME_OUT', 3500], 'Check bug remains solved (unification in b_compute_expression2)').
1909 cli_testcase(1131, [private,data_validation],[
1910 '../prob_examples/examples/B/Systerel/C578/2013/machines_06092013/C_02_001.mch',
1911 '-p', 'TIME_OUT', '11000', '-p', 'SYMBOLIC', 'TRUE', '-p', 'DOUBLE_EVALUATION', 'FALSE', '-p', 'EXPAND_FORALL_UPTO', '0', '-p', 'CLPFD', 'TRUE', '-p', 'MEMO', 'TRUE', '-init', '-assertions', '-p', 'TRACE_INFO', 'FALSE', '-p', 'ENUMERATE_INFINITE_TYPES', 'FALSE', '-strict'],
1912 'check memory consumption ok').
1913 cli_testcase(1132,[csp_test], ['../prob_examples/public_examples/CSP/CSPOZ/CurriedNATupleFunNested.csp', '-assertions', '-strict'], 'Nested NA-Tuples.').
1914
1915 cli_testcase(1133, [csp_test], ['../prob_examples/public_examples/CSP/mydemos/demo/basin_olderog_bank.csp', '-mc', 1000, '-cc', 129, 673, '-strict'], '').
1916 cli_testcase(1134, [csp_test], ['../prob_examples/public_examples/CSP/other/Ivo/AgentErrorsLetWithIn.csp', '-mc', 10, '-nodead', '-expcterr', 'general_error_occurred', '-expcterr', 'singleSetElement', '-strict'], 'Testing raising of singleSetElement error.').
1917 cli_testcase(1135, [csp_test], ['../prob_examples/public_examples/CSP/CSPOZ/CurriedNATupleFunNested.csp', '-assertions', '-t', '-strict'], 'Testing curry functions.').
1918 cli_testcase(1136, [csp_test], ['../prob_examples/public_examples/CSP/evans/KeyNETv2.csp', '-mc', '1000', '-nodead', '-cc', 24, 23, '-assertions', '-strict'], '').
1919 cli_testcase(1137, [csp_test], ['../prob_examples/public_examples/CSP/other/Ivo/DIV.csp', '-mc', '10', '-cc', 2, 3, '-strict'], 'Testing normalising of DIV |~| DIV.').
1920 cli_testcase(1138, [por], ['../prob_examples/public_examples/B/Ivo/SleepSetsStudyCase.mch', '-mc', 1000, '-noinv', '-expcterr', 'deadlock', '-cc',7,7, '-p', por, 'ample_sets', '-strict'], 'Model checking with partial order reduction.').
1921 cli_testcase(1139, [por,ltl], ['../prob_examples/public_examples/B/Ivo/SleepSetsStudyCase.mch', '-ltlformulat', 'F {x=1 & y=1}', '-cc',10,12, '-p', por, ample_sets,'-strict'], 'LTL Model checking with partial order reduction.').
1922 cli_testcase(1140, [por], ['../prob_examples/public_examples/B/Ivo/SleepSetsStudyCase.mch', '-mc', 1000, '-nodead', '-cc',11,17, '-p', por, 'ample_sets', '-strict'], 'Model checking with partial order reduction (no state space reductions).').
1923 cli_testcase(1141, [por], ['../prob_examples/public_examples/B/Ivo/BenchmarksPOR/BPEL2B/Model_Machine_4_NoDeadlock_v2.eventb', '-mc', 10000, '-noinv', '-p', por, 'ample_sets', '-expcterr', deadlock,'-strict'], 'Model checking with partial order reduction (deadlock check).').
1924 cli_testcase(1142, [por], ['../prob_examples/public_examples/B/Ivo/BenchmarksPOR/BPEL2B/Model_Machine_4_NoDeadlock_v3.eventb', '-mc', 10000, '-noinv', '-p', por, 'ample_sets', '-expcterr', deadlock,'-strict'], 'Model checking with partial order reduction (deadlock check).').
1925 cli_testcase(1143, [por], ['../prob_examples/public_examples/B/Ivo/BenchmarksPOR/BPEL2B/Model_Machine_4_NoDeadlock_v4.eventb', '-mc', 10000, '-noinv', '-p', por, 'ample_sets', '-expcterr', deadlock,'-strict'], 'Model checking with partial order reduction (deadlock check).').
1926 cli_testcase(1144, [por], ['../prob_examples/public_examples/B/Ivo/BenchmarksPOR/BPEL2B/Model_Machine_4_NoDeadlock_v5.eventb', '-mc', 10000, '-check_complete_operation_coverage', '-p', por, 'ample_sets', '-min_max_coverage', '../prob_examples/public_examples/B/Ivo/BenchmarksPOR/BPEL2B/Model_Machine_4_NoDeadlock_v5_Coverage_POR.txt', '-strict', '-expcterr', 'model_check_incomplete'], 'Model checking with partial order reduction (min...max coverage check).').
1927 cli_testcase(1145, [b_test], ['-p', 'CLPFD', 'TRUE',
1928 '-evalt', '{} <: (1..100000000 \\/ {-1})'],
1929 'Check that we do not compute <: if first arg {}').
1930 cli_testcase(1146, [private,data_validation], ['../prob_examples/examples/B/Systerel/C578/2013/machines_06092013/T_032_002.mch',
1931 '-init' ,'-aa', 0,1,0, '-p', 'SYMBOLIC', 'TRUE', '-p', 'MEMO', 'TRUE', '-p', 'TIME_OUT', 11500, '-p', 'CLPFD', 'TRUE',
1932 '-p', 'ENUMERATE_INFINITE_TYPES', 'FALSE', '-p', 'EXPAND_FORALL_UPTO', 0 ], 'Check test eq_emtpy_set bug remains solved'). % increased time-out from 7500
1933 cli_testcase(1147, [por], ['../prob_examples/public_examples/B/Ivo/BenchmarksPOR/Peterson/em_abs.mch', '-mc', 10000, '-p', por, 'ample_sets', '-min_max_coverage', '../prob_examples/public_examples/B/Ivo/BenchmarksPOR/Peterson/em_abs_Coverage_POR.txt', '-strict'], 'Model checking with partial order reduction (min...max coverage check). Peterson\'s algorithm').
1934 cli_testcase(1148, [por], ['../prob_examples/public_examples/B/Ivo/BenchmarksPOR/Peterson/peterson_R.ref', '-mc', 10000, '-p', por, 'ample_sets', '-check_complete_operation_coverage', '-min_max_coverage', '../prob_examples/public_examples/B/Ivo/BenchmarksPOR/Peterson/peterson_R_Coverage_POR.txt', '-strict'], 'Model checking with partial order reduction (min...max coverage check). Peterson\'s algorithm').
1935 cli_testcase(1149, [por], ['../prob_examples/public_examples/B/Ivo/BenchmarksPOR/Peterson/syspeterson.mch', '-mc', 10000, '-p', por, 'ample_sets', '-expcterr', invariant_violation, '-strict'], 'Model checking with partial order reduction (invariant violation is expected). Peterson\'s algorithm').
1936 cli_testcase(1150, [eventb_test, theories], ['../prob_examples/public_examples/EventBPrologPackages/Theory/BoolOpsTest1.eventb', '-mc', 10, '-nodead', '-check_complete', '-cc', '5', '9'], 'Checking the BoolOps theory').
1937 cli_testcase(1151, [eventb_test, theories], ['../prob_examples/public_examples/EventBPrologPackages/Theory/ListTest1.eventb', '-mc', 100, '-nodead', '-check_complete', '-cc', '86', '236'], 'Checking the List theory').
1938 cli_testcase(1152, [eventb_test, theories,symmetry_test], ['../prob_examples/public_examples/EventBPrologPackages/Theory/ClosureTest1.eventb', '-p', 'SYMMETRY_MODE', nauty, '-p', 'MAX_OPERATIONS', 100, '-mc', 1000, '-nodead', '-check_complete', '-cc', '756', '4371'], 'Checking the closure theory').
1939 cli_testcase(1153, [eventb_test, theories], ['../prob_examples/public_examples/EventBPrologPackages/Theory/SumProductTest1.eventb', '-mc', 100, '-nodead', '-check_complete', '-cc', '86', '85'], 'Checking the SUM and PRODUCT theory').
1940 cli_testcase(1154, [b_test,union], ['-p', 'CLPFD', 'TRUE',
1941 '-evalt', 'x : 1..1000040 \\/ {10000061} & x mod 2 = 0',
1942 '-evalt', 'x : 1..10000040 \\/ {10000061} & x mod 2 = 0',
1943 '-evalt', 'x : 1..10000040 \\/ {10000061}'
1944 % does not work yet: ,'-evalt', ' x : {-33} \/ {0} \/ 1..10000040 \/ {10000061} \/ {-22}'
1945 ], 'Check union of AVL with large interval does not expand interval').
1946 cli_testcase(1155, [eventb_test, theories], ['../prob_examples/public_examples/EventBPrologPackages/Theory/BinaryTreeTest1.eventb', '-mc', 100, '-nodead', '-strict', '-expcterr', 'model_check_incomplete'], 'Checking the BinaryTree theory').
1947 cli_testcase(1156, [eventb_test, theories], ['../prob_examples/public_examples/EventBPrologPackages/Theory/SeqTest1.eventb', '-mc', 2000, '-nodead', '-strict'], 'Checking the Seq theory').
1948 cli_testcase(1157, [private,data_validation,infinite,override],[
1949 '../prob_examples/examples/B/Systerel/C578.EML.014/670_002.mch',
1950 '-p', 'TIME_OUT', '15000', '-p', 'SYMBOLIC', 'TRUE', '-p', 'DOUBLE_EVALUATION', 'FALSE', '-p', 'EXPAND_FORALL_UPTO', '0', '-p', 'CLPFD', 'TRUE', '-p', 'MEMO', 'TRUE', '-init', '-assertions', '-p', 'TRACE_INFO', 'FALSE', '-p', 'ENUMERATE_INFINITE_TYPES', 'FALSE', '-strict'],
1951 'check override computed explicitly for A*B*C <+ {...} for reasonable sizes'). % increased TIME_OUT from 11000
1952 cli_testcase(1158, [b_test], ['-p', 'SYMBOLIC', 'TRUE','-p', 'CLPFD', 'TRUE',
1953 '-evalt', '95|->93 : dom({x,y,z| x>z & y<z})',
1954 '-evalf', '94|->93 : dom({x,y,z| x>z & y<z})' ],
1955 'check symbolic treatment of domain').
1956 cli_testcase(1159, [b_test,card], ['-p', 'CLPFD', 'TRUE',
1957 '-evalt', '{S1|S1 <: {"d","f","3","14","play"} & {"d"} /<<: S1 & card(S1):4..5} = {{"14","3","f","play"}}' ],
1958 'simple CBC check from old paper').
1959 cli_testcase(1160, [b_test,infinite], ['-p', 'SYMBOLIC', 'TRUE','-p', 'CLPFD', 'TRUE',
1960 '-evalt', 'f = %i.(i:1..100|i*i) & f[NATURAL1] = x & max(x)=10000',
1961 '-evalt', 'f = %i.(i:1..100|i*i) & f[{v|v<=20}] = x & max(x)=400',
1962 '-evalt', 'f = %i.(i:0..100|i*i) & f[NATURAL1] = x & min(x)=1'],
1963 'test that we can take image of infinite set').
1964 cli_testcase(1161, [private,data_validation], ['../prob_examples/examples/B/Systerel/C578/2013/machines_24092013/07_001.mch',
1965 '-init' ,'-assertions', '-p', 'SYMBOLIC', 'TRUE', '-p', 'MEMO', 'TRUE', '-p', 'TIME_OUT', 39500,
1966 '-p', 'ENUMERATE_INFINITE_TYPES', 'FALSE', '-p', 'EXPAND_FORALL_UPTO', 0 ], 'Check performance'). % increased time-out from 9500 (16th July 2014)
1967 cli_testcase(1162, [private,data_validation], [%'../prob_examples/examples/B/Systerel/C578/2013/machines_24092013/02_001_adapted.mch', % moved to test 1376
1968 '../prob_examples/examples/B/Systerel/C578/2013/machines_24092013/30_001_adapted.mch',
1969 '-init' ,'-assertions', '-p', 'SYMBOLIC', 'TRUE', '-p', 'MEMO', 'TRUE', '-p', 'CLPFD', 'TRUE', '-p', 'TIME_OUT', 35000,
1970 '-p', 'ENUMERATE_INFINITE_TYPES', 'FALSE', '-p', 'EXPAND_FORALL_UPTO', 0 ], 'Check performance').
1971 cli_testcase(1163, [b_test], ['-p', 'CLPFD', 'TRUE',
1972 '-evalf', '0..x <: 1..100000 & x>0',
1973 '-evalt', '0..101001 <: 0..x & x <1001000',
1974 '-evalt', '1..2**65 <: 1..2**66',
1975 '-evalf', '1..2**67 <: 1..2**66',
1976 '-evalt', '1..2**65 <: x..2**66 & x:0..10',
1977 '-evalf', '1..2**65 <: x..2**66 & x:2..100000',
1978 '-evalf', 'x:180..200 & y: 3000..4000 & x+y=z & x..z <: x..w & w<3500 & w<z',
1979 '-evalt', 'x:180..200 & y: 3000..4000 & x+y=z & x..z <: x..w & w<3500 & w<=z',
1980
1981 '-evalf', '0..x <<: 1..100000 & x>0',
1982 '-evalt', '0..101001 <<: 0..x & x <1001000',
1983 '-evalt', '1..2**65 <<: 1..2**66',
1984 '-evalf', '1..2**66 <<: 1..2**66',
1985 '-evalt', '2..2**66 <<: 1..2**66',
1986 '-evalt', '-10000..x <<: 1..2 & x>-(2**20)',
1987 '-evalf', 'x:180..200 & y: 3000..4000 & x+y=z & x..z <<: x..w & w<3500 & w<=z',
1988
1989 '-evalt', '{x|1..x /<: 1..10000 & x<10003} = {10001,10002}',
1990 '-evalt', '1000..x /<: 1..y & y..1010 /<: y..1009 & x..1010 /<: x..1009 & y>0',
1991
1992 '-evalt', '1..2**65 /<<: 1..2**65',
1993 '-evalf', '1..2**65 /<<: 1..2**66',
1994 '-evalf', '2..2**66 /<<: 1..2**66',
1995 '-evalf', 'x..y /<<: 1001..1002 & x:100..200 & y:0..10',
1996 '-evalt', '{x,y|x..y /<<: 1001..1002 & x:100..200 & y:0..100}={(100,100)}',
1997 '-evalt', '{x,y|x..y /<<: 1001..1002 & x:1001..1030 & y<1004} = {(1001|->1002),(1001|->1003),(1002|->1003),(1003|->1003)}',
1998 '-evalt', '{x,y|x..y /<<: 1001..1002 & x:1001..1030 & y<1005} = {(1001|->1002),(1001|->1003),(1001|->1004),(1002|->1003),(1002|->1004),(1003|->1003),(1003|->1004),(1004|->1004)}',
1999 '-evalt', '10..y /<<: 200..x & x>100 & y:1..5',
2000 '-evalt', '{x,y|10000..x /<<: 10000..y & y>10000 & y<150000 & x<10005} = {(10001|->10001),(10002|->10001),(10002|->10002),(10003|->10001),(10003|->10002),(10003|->10003),(10004|->10001),(10004|->10002),(10004|->10003),(10004|->10004)}'
2001
2002 ], 'Check interval treatment in subset').
2003 cli_testcase(1164, [csp_test], ['../prob_examples/public_examples/CSP/BPMN/intervention.csp', '-mc', '10', '-nodead', '-strict', '-expcterr', 'model_check_incomplete'], 'Testing the CSPM-Tool for parsing very long CSP expressions.').
2004 cli_testcase(1165, [b_test,sequences,strings], ['-p', 'CLPFD', 'TRUE', %'-expcterr', eval_string_enum_warning,
2005 '-evalt', 'mdp = 5 * 43 & (yy: mdp + 1 .. ( mdp + 43 ) & yy: dom(memp)) & memp:seq(STRING)',
2006 '-evalt', '16: dom(memp) & memp:seq(STRING)',
2007 '-evalt', 'memp:seq(STRING) & 16: dom(memp)',
2008 '-evalt', 'memp:seq(STRING) & mdp = 5 * 43 & (yy: mdp + 1 .. ( mdp + 43 ) & yy: dom(memp))',
2009 '-evalt', '{x} /\\ 0..2000 = {} & x>0'
2010 ], 'Check constraint propagation of in domain + in sequence + interval intersection').
2011 cli_testcase(1166, [b_test], ['-p', 'CLPFD', 'TRUE',
2012 '-evalt', 'x /\\ 1000..2000 = {1001}',
2013 '-evalt', 'x /\\ 1000..2000 = {y}',
2014 '-evalt', '1000..2000 /\\ x = {y}',
2015 '-evalt', '{x} /\\ 10000..999999 = r & r={y}',
2016 '-evalt', '{x} /\\ 10000..999999 = {y}',
2017 '-evalt', '10000..x = {y}',
2018 '-evalf', '10000..20000000 = {y}',
2019 '-evalf', '{x|x>2} = {y}',
2020 '-evalt', 'x:0..999999 & y:0..99999 & {x} /\\ 10000..999999 = {y}',
2021 '-evalt', '{x} /\\ {y} /= {} & x:1000..2000 & y>=0',
2022 '-evalt', '{x} /\\ {y} /= {} & x:1000000..20000000 & y>=0',
2023 '-evalt', 'a..b = {x} & x:100..1002',
2024 '-evalt', '{a,b,x|a..b = {x} & x:1000..1002} = {((1000|->1000)|->1000),((1001|->1001)|->1001),((1002|->1002)|->1002)}',
2025
2026 '-evalt', '{x|x>0} = NATURAL1',
2027 '-evalf', '{x|x>0} = NATURAL',
2028 '-evalt', '{x|x>0} /= NATURAL',
2029 '-evalt', '{x|x<110} /= NATURAL',
2030 '-evalt', '{x|x>0} <: NATURAL1',
2031 '-evalf', '{x|x>=0} <: NATURAL1',
2032 '-evalt', '{x|x>0} <: INTEGER',
2033 '-evalt', '{x|x>0} <: {x|x>-1}',
2034 '-evalt', '{x|x>0} <: {x|x>0}',
2035 '-evalf', '{x|x>0} <: {x|x>1}',
2036 '-evalf', 'NATURAL1 <: 0..10000',
2037 '-evalt', '{x|x>1} <<: {x|x>0}',
2038 '-evalf', '{x|x>0} <<: {x|x>0}',
2039 '-evalf', '{x|x>0} <<: NATURAL1',
2040 '-evalt', '{x|x>0} <<: NATURAL',
2041 '-evalt', '{x|x>0} <<: INTEGER',
2042 '-evalf', '{x|x>0} <<: {x|x>2}',
2043 '-evalt', '{x|x>0} <<: {x|x>-200}',
2044 '-evalf', 'NATURAL1 <<: 0..10000',
2045 '-evalf', '{x|x<20000} <<: 0..10000',
2046 '-evalf', '{x|x>0} /<: NATURAL1',
2047 '-evalt', '{x|x>=0} /<: NATURAL1',
2048 '-evalf', '{x|x>0} /<: INTEGER',
2049 '-evalf', '{x|x>0} /<: {x|x>-1}',
2050 '-evalf', '{x|x>0} /<: {x|x>0}',
2051 '-evalt', '{x|x>0} /<: {x|x>1}',
2052 '-evalt', 'NATURAL1 /<: 0..10000',
2053 '-evalt', '{x|x>=0} /<<: NATURAL',
2054 '-evalt', '{x|x>=0} /<<: NATURAL1',
2055 '-evalf', '{x|x>=0} /<<: INTEGER',
2056 '-evalt', 'NATURAL /<<: NATURAL1',
2057 '-evalf', '1..100 /<<: NATURAL1',
2058 '-evalt', '0..100 /<<: NATURAL1',
2059 '-evalt', '{x|x<20000} /<<: 0..10000',
2060 '-evalt', 'NATURAL1 /<<: 0..10000',
2061
2062 '-evalf', '0..B <: 1..B & B:1..1000000',
2063 '-evalf', '0..x <: 1..1000 & x>0',
2064 '-evalf', '0..B <<: 1..B & B:1..1000000',
2065 '-evalf', '0..x <<: 1..1000 & x>0',
2066 '-evalt', '{x,y} /<<: NATURAL1 & x:2..3 & y:0..5',
2067 '-evalf', '{x,y} /<<: NATURAL1 & x:2..3 & y:1..5',
2068 '-evalt', '{x,y} <<: NATURAL1 & x:2..3 & y:4..5',
2069 '-evalf', '{x,y} <<: NATURAL1 & x:-22..-3 & y:-4..0',
2070 '-evalt', '%(x,y).( x:1..4 & y : {-1, 0, 1} | x + y)[INTEGER*INTEGER] /\\ {x|x<=3} = 0..3',
2071 '-evalt', '{x,z|x:1..z & x:z..3} = {(1|->1),(2|->2),(3|->3)}' % just a check about interval propagation
2072 %,
2073 %'-evalt', 'x /\\ y /= {} & x<:1..10000 & y<:10000..20000',
2074 %'-evalt', 'x /\\ y /= {} & x = {y|y : 1..n & y mod 2 = 0} & y = {v|v:1..n & v mod 17 = 0} & n = 10000',
2075 %'-evalt', '{x|NATURAL1 /\\ 0..x /= {} & x< 20} = 1..19'
2076 ], 'Check constraint propagation of intersection with intervals').
2077 cli_testcase(1167, [laws,union], ['../prob_examples/public_examples/EventBPrologPackages/Laws/generalized_union_inter_ctx.eventb', '-mc', 1250, '-nodead', '-p', 'DEFAULT_SETSIZE', 3, '-p', 'MAX_INITIALISATIONS', 100, '-strict', '-p', 'CLPFD', 'TRUE', '-assertions', '-cbc_assertions'], 'Check laws about generalized union/inter').
2078 cli_testcase(1168, [b_test,smt_test], ['-p', 'CLPFD', 'TRUE', '-p', 'SMT', 'TRUE',
2079 '-evalt', '{y,f|f = %x.(x:1..10|x+y) & f(5)=1005} = {(1000|->[1001,1002,1003,1004,1005,1006,1007,1008,1009,1010])}'
2080 ], 'Check constraint propagation for partially known functions').
2081 cli_testcase(1169, [b_test,cbc], ['-p', 'CLPFD', 'TRUE',
2082 '-p','MAX_INITIALISATIONS', 0, '-cbc_assertions',
2083 '../prob_examples/public_examples/B/CBC/RULE_r967_1.mch', '-expcterr', 'cbc_assertions'
2084 ], 'Check ProB finds counter example for rule').
2085 cli_testcase(1170, [b_test,cbc], ['-p', 'CLPFD', 'TRUE',
2086 '-p','MAX_INITIALISATIONS', 0, '-cbc_assertions_proof', '-p', 'DISPROVER_MODE', 'TRUE',
2087 '-expcterr', 'cbc_assertions_enumeration_warning',
2088 '../prob_examples/public_examples/B/CBC/RULE_InSetLeavesXY_32_1.mch',
2089 '../prob_examples/public_examples/B/CBC/RULE_r967_preuve_backward.mch'
2090 ], 'Check ProB finds counter example for rule').
2091 cli_testcase(1171, [b_test,cbc], ['-p', 'CLPFD', 'TRUE',
2092 '-p','MAX_INITIALISATIONS', 0, '-cbc_assertions_proof', '-p', 'DISPROVER_MODE', 'TRUE',
2093 '-expcterr', 'cbc_assertions_enumeration_warning',
2094 '../prob_examples/public_examples/EventBPrologPackages/Disprover/EnumWarningTests/DefSet_ShouldGenerateEnumWarning2.mch'
2095 ], 'Check ProB finds no counter example for rule and no proof').
2096 cli_testcase(1172, [b_test,cbc], ['-p', 'CLPFD', 'TRUE',
2097 '-p','MAX_INITIALISATIONS', 0, '-cbc_assertions_proof', '-p', 'DISPROVER_MODE', 'TRUE',
2098 '../prob_examples/public_examples/EventBPrologPackages/Disprover/EnumWarningTests/DefSet_NoEnumWarning1.mch'
2099 ], 'Check ProB finds no counter example for rule and no proof').
2100
2101 cli_testcase(1173, [b_test,cbc], ['-p', 'CLPFD', 'FALSE',
2102 '-p','MAX_INITIALISATIONS', 0, '-cbc_assertions_proof', '-p', 'DISPROVER_MODE', 'TRUE',
2103 '-expcterr', 'cbc_assertions_enumeration_warning',
2104 '../prob_examples/public_examples/EventBPrologPackages/Disprover/EnumWarningTests/DefSet_ShouldGenerateEnumWarning1.mch'
2105 ], 'Check ProB finds no counter example for rule and no proof').
2106 cli_testcase(1174, [b_test,cbc], ['-p', 'CLPFD', 'TRUE',
2107 '-p','MAX_INITIALISATIONS', 0, '-cbc_assertions_proof', '-p', 'DISPROVER_MODE', 'TRUE',
2108 '-expcterr', 'cbc_assertions_enumeration_warning',
2109 '../prob_examples/public_examples/EventBPrologPackages/Disprover/EnumWarningTests/DefSet_ShouldGenerateEnumWarning1.mch'
2110 ], 'Check ProB finds no counter example for rule and no proof').
2111 cli_testcase(1175, [b_test,card], ['-p', 'CLPFD', 'TRUE',
2112 '-evalf', 'n: INTEGER & {n} = r & r={n1} & (n1/=n)',
2113 '-evalf', 'n: POW(INTEGER) & {n} = r & r={n1} & (n1/=n)',
2114 '-evalf', 'n: BOOL & {n} = r & r={n1} & (n1/=n)',
2115 '-evalf', 'n>0 & {n} ={n1} & (n1/=n)',
2116 '-evalf', 'f:POW(NATURAL) & f2 = f \\/ {p2} & p1:f & p1/:f2 & p1/=p2',
2117 '-evalf', 'f:POW(NATURAL) & f2 = f \\/ {p2} & p1:f & p1/:f2',
2118 '-evalf', 'p1:dom(f) & f2 = {p2} <<| f & p1 /: dom(f2) & p1/=p2 & f:NATURAL <->NATURAL',
2119 '-evalt', 'p1:dom(f) & f2 = {p2} <<| f & p1 /: dom(f2) & p1=p2 & f:NATURAL <->NATURAL',
2120 '-evalf', 'x /= y & s={x,y,z} & x/=z & y/=z & x:NATURAL1 & card(s)<3',
2121 '-evalf', 'x:s & y:s & z:s & x /= y & x/=z & y/=z & x:NATURAL1 & card(s)<3',
2122 '-evalf', 'x /= y & x/=z & y/=z & s={x,y,z} & card(s)<3 & s<:STRING',
2123 '-evalf', 'f:NATURAL +-> INTEGER & f2 = f <+ {p2|->1} & p1:dom(f) & p1/:dom(f2) & p1/=p2',
2124 '-evalt', 'x /= "a" & (x /= "a" => y>1000000) & (y>1000000 => x = "b") & y<2000000',
2125 '-evalt', 'x /= "a" & (x /= "a" => y>100000 & y<200000) & (y>100000 => x = "b")',
2126 '-evalt', 'x /= "a" & ("a" /= x => y>100000 & y<200000) & (y>100000 => x = "b")',
2127 '-evalt', 'x /= 33 & (x /= 33 => y>1000000) & (y>1000000 => x = 2133) & y<2000000',
2128 '-evalt', 'x /= 1 & (1 /= x => y>100000 & y<200000) & (y>100000 => x = 2)',
2129 '-evalf', 'x /= 1 & (1 /= x => y>100000 & y<200000) & (y>100000 => x = 1)'
2130 ], 'Check that a few inconsistencies can be detected without enumeration').
2131 cli_testcase(1176, [por], ['../prob_examples/public_examples/B/Ivo/BenchmarksPOR/Peterson/em_abs.mch', '-mc', 10000, '-noinv', '-p', por, 'ample_sets', '-strict'], 'Model checking with partial order reduction (Without Coverage). Peterson\'s algorithm').
2132 cli_testcase(1177, [por], ['../prob_examples/public_examples/B/Ivo/BenchmarksPOR/Peterson/em_abs.mch', '-mc', 10000, '-check_complete_operation_coverage', '-p', por, 'ample_sets', '-strict'], 'Model checking with partial order reduction (Operations Coverage Check). Peterson\'s algorithm').
2133 cli_testcase(1178, [por], ['../prob_examples/public_examples/B/Ivo/BenchmarksPOR/Peterson/peterson_R.ref', '-mc', 10000, '-check_complete_operation_coverage', '-p', por, 'ample_sets', '-strict'], 'Model checking with partial order reduction (min...max coverage check). Peterson\'s algorithm').
2134 cli_testcase(1179, [por], ['../prob_examples/public_examples/B/Ivo/BenchmarksPOR/Peterson/syspeterson.mch', '-noinv', '-mc', 10000, '-p', por, 'ample_sets', '-strict'], 'Model checking with partial order reduction (min...max coverage check). Peterson\'s algorithm').
2135 cli_testcase(1180, [b_test,card], ['-p', 'CLPFD', 'TRUE',
2136 '-evalt', '{x|#y.(y>x & (y mod 1000 = 0 or y<x+20)) & x:1..4} = 1..4',
2137 '-evalt', '{x|#y.(y>x & (y mod 1000 = 0 or y<x+20)) & x:1..40} = 1..40',
2138 '-evalf', '{x|#y.(y>x & (y mod 1000 = 0 or y<x+20)) & x:1..40} = 1..4',
2139 '-evalf', '{x|#y.(y>x & (y mod 1000 = 0 or y<x+20)) & x:1..40} /= 1..40',
2140 '-evalt', '{x|#y.(y>x) & x:1..100} /= {}',
2141 '-evalf', '{x|#y.(y>x) & x:1..100} = {}',
2142 '-evalt', 'card({x|#y.(y>x) & x:1..100}) = 100',
2143 '-evalt', 'card({x,y| x>=60000 & x<=64999 & x mod 2 =1 & y=x+x}) = 2500',
2144 '-evalt', 'card({x,y| x>=60000 & x<=64999 & x mod 2 =1 & y=x+x}) = 2500',
2145 '-evalt', 'x = (1 .. 100000) - {4} & card(x) = 99999',
2146 '-evalt', '{x| x:1..100 & {y|y:x..x+10} = {z|z>=x & z<x+11 & #v.(v>x)}} = 1..100',
2147 '-evalt', '[0,0,0,0,0,0,0,0,0,1]:{x|x:seq(0..1) & 1:ran(x)}',
2148 '-evalf', '[0,0,0,0,0,0,0,0,0,0]:{x|x:seq(0..1) & 1:ran(x)}',
2149 '-evalt', '[0,0,1,1,0,1,0]:{x|x:seq(0..1) & card(x)>5}',
2150 '-evalt', '{x| x:1..10 or x:{2**20,2**21} or x = 2**27} = {1,2,3,4,5,6,7,8,9,10,1048576,2097152,134217728}'
2151 ],'Check enum warnings properly dealt with').
2152 cli_testcase(1181, [b_test,card,sequences], ['-p', 'CLPFD', 'TRUE', '-expcterr', 'eval_string',
2153 '-evalf', '{x|x:seq(0..1) & card(x)>5 & card(x)-50 /= 50} /= {x|x:seq(0..1) & card(x)>5 & card(x) /= 20}'
2154 ],'Check enum warnings generated').
2155 cli_testcase(1182, [tickets], ['../prob_examples/public_examples/B/Tickets/Hansen6/PerfectNumber_v2.mch', '-t'], 'Check proper working of ProB for perfect number set comprehension').
2156 cli_testcase(1183, [tickets], ['../prob_examples/public_examples/B/Tickets/Valerio3/POWER2.mch', '-init', '-strict', '-aa', '18', '0', '1'], 'Variation of test 274; check that enum warning generated').
2157 cli_testcase(1184, [eventb_test,cbc], ['../prob_examples/examples/EventBPrologPackages/Advance_WP2/SubstationMeter_2703_2013.eventb', '-strict', '-mc', 1000, '-p', 'CLPFD', 'TRUE', '-expcterr', virtual_time_out, '-expcterr', 'model_check_incomplete'], 'Test multi-level animation (like 1052 but without finite restriction on events).').
2158 cli_testcase(1185, [laws], ['../prob_examples/public_examples/EventBPrologPackages/Laws/LawsEventBSpecific.eventb', '-t', '-mc', '1000', '-nodead', '-strict','-p', 'DOUBLE_EVALUATION', 'TRUE', '-p', 'CLPFD', 'TRUE', '-expcterr', 'model_check_incomplete'], 'same as 290 (but no virtual time-out with CLPFD)').
2159 cli_testcase(1186, [laws], ['../prob_examples/public_examples/EventBPrologPackages/Laws/finiteTest_ctx.eventb',
2160 '-mc', '1000', '-p', 'MAX_INITIALISATIONS', 30, '-nodead', '-strict','-p', 'DOUBLE_EVALUATION', 'TRUE', '-p', 'CLPFD', 'TRUE', '-cbc_assertions', '-assertions', '-p', 'PROOF_INFO', 'FALSE'], 'some checks with the finite operator').
2161 cli_testcase(1187, [b_test,sequences,card], ['-evalt', 'x:seq({1}) & 55:dom(x)', '-evalf', 'x:seq({1}) & 55:dom(x) & card(x)=10', '-evalt',
2162 'x:seq({1}) & 5:dom(x) & card(x)>6', '-p', 'DISPROVER_MODE', 'TRUE', % required to enable special card treatment
2163 '-p', 'CLPFD', 'FALSE', '-strict'
2164 %, '-expcterr', eval_string_enum_warning
2165 ], 'Ensure proper enumeration of sequences (CLPFD=FALSE).').
2166 cli_testcase(1188, [b_test,external], ['../prob_examples/public_examples/B/ExternalFunctions/Argv.mch', '-mc', '1000', '-nodead', '-strict', '-argv', 'one two three', '-cc', 5, 12 ], 'check the ARGV external function').
2167 cli_testcase(1189, [b_test,tickets,closure1], ['../prob_examples/public_examples/B/Tickets/Hansen7/ClosureTest2.mch', '-init', '-properties'], 'Check closure1 enumeration issue resolved').
2168 cli_testcase(1190, [b_test], ['../prob_examples/public_examples/B/Implementations/ReverseArray.mch', '-init', '-mc', 1000, '-p', 'MAX_INITIALISATIONS', 100 ], 'Check simple example with WHILE loop').
2169 cli_testcase(1191, [time_out_tests], ['../prob_examples/public_examples/B/PerformanceTests/SMTLIB/DTP_k2_n35_c175_s1.mch', '-strict', '-init', '-expcterr', 'setup_constants_fails'], 'Copy of 396 using CLPFD. This time, no time_out occurs.').
2170 cli_testcase(1192, [eventb_test,records], ['../prob_examples/public_examples/EventBPrologPackages/Records/SampleThreeRecordMachine_mch.eventb', '-t', '-strict', '-p', 'USE_RECORD_CONSTRUCTION', 'TRUE', '-t', '-cc', 4, 6], 'Check that record detection works with nested records').
2171 cli_testcase(1193, [eventb_test,records], ['../prob_examples/public_examples/EventBPrologPackages/Records/IntBoolMachine_mch.eventb', '-t', '-strict', '-p', 'USE_RECORD_CONSTRUCTION', 'TRUE', '-t', '-expcterr', virtual_time_out,
2172 '-evalt', 'make_BIBIRec((TRUE,55),(FALSE,66)) = ((TRUE,55),(FALSE,66))'], 'Check that record detection works with nested records').
2173 cli_testcase(1194, [eventb_test], ['../prob_examples/public_examples/EventBPrologPackages/platoon/platoon1_prob_simplified_v3.eventb',
2174 % '../prob_examples/public_examples/EventBPrologPackages/platoon/platoon1_prob_simplified.eventb', % fixed power_of WD error
2175 '-t', '-strict', '-p', 'USE_RECORD_CONSTRUCTION', 'TRUE', '-p', 'MAX_OPERATIONS', 20, '-p', 'MAX_INITIALISATIONS', 40,
2176 '-expcterr', virtual_time_out,
2177 '-evalt', 'sqrt(0)=0',
2178 '-evalt', 'sqrt(10)=3',
2179 '-evalt', 'sqrt(10000)=100',
2180 '-evalt', 'dist(make(10|->20) |-> make(10|->20)) = 0',
2181 '-evalt', 'dist(make(10|->20) |-> make(10|->30)) = 10',
2182 '-evalt', 'dist(make(10|->20) |-> make(0|->20)) = 10', % WD error with platoon1_prob_simplified.eventb
2183 '-evalt', 'dist(make(0|->20) |-> make(10|->20)) = 10',
2184 '-evalt', 'dist(make(10|->20) |-> make(20|->20)) = 10',
2185 '-evalt', 'dist(make(10|->10) |-> make(20|->20)) = 14',
2186 '-evalt', 'dist(make(10|->10) |-> make(10010|->10010)) = 14142',
2187 '-evalt', 'xcoord(make(1024,2048)) = 1024',
2188 '-evalt', 'ycoord(make(1024,2048)) = 2048'
2189 ], 'Check that record detection + symbolic treatment work').
2190 cli_testcase(1195, [performance_tests,b_test,codespeed], ['../prob_examples/public_examples/B/Mathematical/GraphIso/CheckLargeGraphIsomorphismAsConstants_v2.mch',
2191 '-t', '-strict', '-p', 'CLPFD', 'TRUE', '-p', 'TIME_OUT', '5000'],
2192 'Test constraint solving for larger graph').
2193 cli_testcase(1196, [b_test], ['../prob_examples/public_examples/B/Benchmarks/CarlaTravelAgencyErr.mch', '-t', '-strict',
2194 '-csvhist', 'card(session) |-> card(session_response) |-> card(user_hotel_bookings) |-> user_rental_bookings',
2195 '../prob_examples/public_examples/B/Benchmarks/CarlaTravelAgencyErr.csv'],
2196 'Test evaluating expression over history and saving to CSV file').
2197 cli_testcase(1197, [cbc], ['../prob_examples/public_examples/EventBPrologPackages/Tests/PartitionTest_ctx.eventb', '-init', '-assertions', '-strict'], 'Test partition border cases').
2198 cli_testcase(1198, [b_test,infinite,total_function], [
2199 '-evalt', '(NATURAL * NATURAL)* {1024} : (NATURAL*NATURAL) --> NATURAL',
2200 '-evalt', 'NATURAL * {0} : NATURAL --> NATURAL',
2201 '-evalt', 'NATURAL * {0} : NATURAL +-> NATURAL',
2202 '-evalt', 'NATURAL1 * {0} : NATURAL +-> NATURAL',
2203 '-evalt', 'NATURAL1 * {0} : INTEGER +-> NATURAL',
2204 '-evalf', 'NATURAL * {0} : NATURAL --> NATURAL1',
2205 '-evalf', 'NATURAL * {0} : NATURAL +-> NATURAL1',
2206 '-evalf', 'NATURAL1 * {0} : NATURAL --> NATURAL',
2207 '-evalf', 'NATURAL * {0} : NATURAL1 --> NATURAL'
2208 ], 'Test cartesian product with singleton set recognised as total function').
2209 cli_testcase(1199, [eventb_test,tickets,infinite, theories], ['../prob_examples/public_examples/EventBPrologPackages/Tickets/Kanso_Symbolic/C_Cart_ctx.eventb',
2210 '../prob_examples/public_examples/EventBPrologPackages/Tickets/Kanso_Symbolic/C_bijNAT_ctx.eventb',
2211 '../prob_examples/public_examples/EventBPrologPackages/Tickets/Kanso_Symbolic/C_symbolic_ctx.eventb',
2212 '../prob_examples/public_examples/EventBPrologPackages/Theory/ConstraintSolving_Demo_ctx.eventb',
2213 '-init','-assertions', '-strict'], 'Checking that various infinite functions can be defined and checked').
2214 cli_testcase(1200, [b_test], ['../prob_examples/public_examples/B/Mathematical/MaxClique.mch',
2215 '-init','-assertions', '-strict'], 'Checking constraint solving capabilities').
2216 cli_testcase(1201, [eventb_test, theories], ['../prob_examples/public_examples/EventBPrologPackages/Theory/SeqTest2_ctx.eventb', '-init', '-assertions', '-strict'], 'Test Theory Plugin support').
2217 cli_testcase(1202, [eventb_test,recursion,infinite], ['../prob_examples/public_examples/EventBPrologPackages/Tickets/Kanso_ModularExp/ExpModFunctionCtxt_ctx.eventb',
2218 '../prob_examples/public_examples/EventBPrologPackages/Tickets/Kanso_ModularExp/ModularExponenation.mch', '-init', '-assertions', '-strict'], 'Test Recursive Function support').
2219 cli_testcase(1203, [b_test,queens], ['../prob_examples/public_examples/B/Puzzles/PeaceableQueens/JustQueens_8_8.mch', '-init', '-strict'], 'A constraint solving example').
2220 cli_testcase(1204, [eventb_test, theories], ['../prob_examples/public_examples/EventBPrologPackages/Theory/NaturalTest.eventb', '-mc', 10, '-nodead', '-cc', 8, 7, '-strict'], 'Checking the operators of the inductive theory of natural numbers').
2221 cli_testcase(1205, [eventb_test, theories, recursion, infinite], ['../prob_examples/public_examples/EventBPrologPackages/Theory/RecOpTypeTest.eventb', '-assertions', '-strict'], 'Checking a reference to a theory\'s type parameter in a recursive operator definition').
2222 cli_testcase(1206, [tickets], ['../prob_examples/public_examples/B/Tickets/PROB-320/Hierarchical_temp.mch', '-t',
2223 '-mc', 1000, '-noinv', '-bf',
2224 '-expcterr', 'precondition_error'], 'Check precondition error raised and error message generation works. (Ticket PROB-320)').
2225 cli_testcase(1207, [tickets], ['-p', 'TIME_OUT', 7000, '-p', 'CLPFD', 'TRUE',
2226 '-evalf', '61*(x*x)+1 = y*y & x:1..1500000 & y>0'], 'Check that no instantiation error or other problem occurs').
2227 cli_testcase(1208, [typechecker_test,unit], ['-typecheckertest','../prob_examples/public_examples/B/Typecheckertests/including.mch', '-strict'], 'Typechecker test when including other machines').
2228 cli_testcase(1209, [typechecker_test,unit], ['-typecheckertest','../prob_examples/public_examples/B/Typecheckertests/definitions.mch', '-strict'], 'Typechecker test when using definitions').
2229 cli_testcase(1210, [typechecker_test,unit,parser,refinement], ['-typecheckertest','../prob_examples/public_examples/B/Typecheckertests/refi.ref', '-strict'], 'Typechecker test when using refinement').
2230 cli_testcase(1211, [csp_test], ['../prob_examples/public_examples/CSP/Tickets/Ivo/ListPattern.csp', '-t', '-strict'], 'Testing compiling of list patterns given as function parameters.').
2231 cli_testcase(1212, [csp_test], ['../prob_examples/public_examples/CSP/ucsexamples/chapter15/cache.csp', '-assertions', '-strict'], 'Testing compiling of list patterns given as function parameters.').
2232 cli_testcase(1213, [puzzles_test], ['../prob_examples/public_examples/B/Puzzles/EulerWay.mch', '-init'], 'Test that this puzzle can be solved quickly; used to take very long; solved in svn commit r12434').
2233 cli_testcase(1214, [csp_test], ['../prob_examples/public_examples/CSP/other/Ivo/OverridingBuiltinFunctions.csp', '-assertions', '-strict'], 'Testing if we can override built-in functions.').
2234 cli_testcase(1215, [csp_test], ['../prob_examples/public_examples/CSP/other/Ivo/OverridingBuiltinFunctionsLets.csp', '-assertions', '-strict'], 'Testing if we can override built-in functions.').
2235 cli_testcase(1216, [b_test,cbc,union,card], [
2236 '-evalt', 'z:10001..10002 & {x,y} \\/ t = {z}',
2237 '-evalt', 'z:10001..10002 & {x} \\/ {y} = {z}',
2238 '-evalf', 'z:10001..10002 & {x,y} \\/ t = {z} & y<10001',
2239 '-evalf', 'z:10001..10002 & {x,y} \\/ t = {z} & t<:9000..10000 & t/= {}',
2240 '-evalf', 'z:10001..10002 & {x,y} \\/ t = {z} & t:POW1(9000..10000)',
2241 '-evalt', 'z:10001..10002 & {x} \\/ {y,v} = {z}',
2242 '-evalt', 'z:10001..10002 & {x,v} \\/ {y} = {z}',
2243 '-evalt', 'z:10001..10002 & {x,v} \\/ t = {z} & {a} \\/ {b} = t',
2244 '-evalt', 'union({{x},{y},{z}}) = {3333}', % works by ast_cleanup translating to union
2245 '-evalt', 'union({{x}}) = {3333}', % ditto
2246 '-evalt', 'union({{x},{y},{z},{w}}) = {v} & v:200001..300001 & w:300001..400001', % ditto
2247 '-evalt', 'union({S,V,W}) = 1..10 & S/\\V = {} & S/\\W ={} & V /\\ W = {} & card(S) < card(V) & card(V) < card(W)' % ditto + partition detection
2248 % TO DO: z:10001..10002 & {x,w} \\/ {y,v} = {z}
2249 ], 'Testing propagation in union from result to arguments.').
2250 cli_testcase(1217, [cbc], ['../prob_examples/public_examples/EventBPrologPackages/Disprover/ProofTests/TestPrj_Nat_ctx.eventb', '-cbc_assertions',
2251 '-p', 'PROOF_INFO', 'FALSE', '-strict'], 'Testing if prj1|->prj2 theorems can be proven').
2252 cli_testcase(1218, [b_test,sequences], [
2253 '-evalf', 'p:perm(5..20) & p(10)=21'
2254 ], 'Testing propagation for permutation sequence.').
2255 cli_testcase(1219, [puzzles_test,queens], ['-p', 'CLPFD', 'TRUE', '../prob_examples/public_examples/B/Puzzles/NQueens40_perm.mch', '-init', '-properties', '-strict'], '').
2256 cli_testcase(1220, [csp_test], ['../prob_examples/public_examples/CSP/other/Ivo/AssertionsLet.csp', '-csp_assertion', 'c?x -> c.x -> STOP [T= c?x:{1..3} -> c.x -> STOP', '-assertions', '-cc', 38, 41, '-strict'], '').
2257 cli_testcase(1221, [ltl], ['../prob_examples/public_examples/CSP/Tickets/PROB-319/toy3.csp', '-ltllimit', 10000, '-ltlfile','../prob_examples/public_examples/CSP/Tickets/PROB-319/toyprop3c.ltl','-expcterr', ltl_counterexample, '-strict'], 'Regression test for ticket PROB-319: Unable to find a counter-example in the SCC').
2258 cli_testcase(1222, [private,cbc], ['-p', 'CLPFD', 'TRUE', '../prob_examples/examples/B/ClearSy/alloc_large.mch', '-init', '-p', 'TIME_OUT', '18500'],
2259 'Test that ProB finds isomorphism for large graph'). % increased time out from 9500
2260 cli_testcase(1223, [b_test,card], [
2261 '-evalf', 'z:11..10002 & z2:10003..520004 & z3: -1000..10 & z4:-22222..-2000 &a: {z,z2} & a:{z3,z4}',
2262 '-evalt', 'z:11..10002 & z2:10003..520004 & z3: -1000..11 & z4:-22222..-2000 &a: {z2,z} & a:{z3,z4}',
2263 '-evalf', 'x <: 1..7 & y <: 1..7 & (x<:y <=> y<:x) & x/\\y = {3} & x\\/y = 1..7 & card(x) = card(y)+1',
2264 '-evalt', 'y:1..1000001 & f:100001..100005 --> 1..9000 & x:dom(f) & x:2..100003 & (x>5000 => y:100001..100002)',
2265 '-evalf', 'f: 1..10 --> 100..200 & x:dom(f~) & x>200',
2266 '-evalf', 'f: 10..200 --> 1..200000 & x|->y : f & (x>200 or x<10)',
2267 '-evalf', 'f: (BOOL*BOOL) --> 100..200000 & b|->x : f & (x>200000 or x<100)',
2268 '-evalf', 'f: 10001..10110 --> NATURAL & !x.(x:dom(f) => f(x):dom(f)) & g:20010..20020 --> BOOL & !x.(x:dom(f) => f(x):dom(g))',
2269 '-evalt', 'f : 1001..2001 --> 1900..3333 & x|->y : f & y<x',
2270 '-evalf', 'f : 1001..2001 --> 1900..3333 & x|->y : f & y+101<x',
2271 '-evalf', 'x:1..400 & y:1..400 & f: 2..390 --> 391..399 & x|->y :f & y|->x :f',
2272 '-evalt', 'r: 1001..1005 <-> 1000..1099 & x|->y : r & v|->w : r & x+y = v+w+103 & card(r) = 3',
2273 '-evalt', 'card({r,x,y,v,w|r: 1001..1005 <-> 1000..1099 & x|->y : r & v|->w : r & x+y = v+w+103 & card(r) = 2}) = 1',
2274 '-evalt', '{r,x,y,v,w|r: 1001..1005 <-> 1000..1099 & x|->y : r & v|->w : r & x+y = v+w+103 & card(r) = 2} = {(((({(1001|->1000),(1005|->1099)}|->1005)|->1099)|->1001)|->1000)}',
2275 '-evalt', 'card({r,x,y,v,w|r: 1001..1005 <-> 1000..1099 & x|->y : r & v|->w : r & x+y = v+w+103 & card(r) = 3}) = 498',
2276 '-evalt', 'card({r,x,y,v,w|r: 1001..1005 +-> 1000..1099 & x|->y : r & v|->w : r & x+y = v+w+103 & card(r) = 3}) = 300',
2277 '-evalt', 's = {(1,rec(a:1)), (2,rec(a:2))} & (1,rec(a:x)) : s',
2278 '-evalt', 'a = {rec(x:1,y:22),rec(x:2,y:44)} & {v,w|rec(x:v,y:w):a} = {(1,22),(2,44)}',
2279 '-evalt', 'a = {rec(x:(1,33),y:22),rec(x:(2,34),y:44),rec(x:(3,34),y:45)} & {v1,w|rec(x:(v1,34),y:w):a} = {(2|->44),(3|->45)}',
2280 '-evalf', 'a = {rec(x:(1,33),y:22),rec(x:(2,34),y:44),rec(x:(3,34),y:45)} & rec(x:(v1,v2),y:w):a & v1+v2+w <56',
2281 '-evalt', 'a = {rec(x:(1,33),y:22),rec(x:(2,34),y:44),rec(x:(3,34),y:45)} & rec(x:(v1,v2),y:w):a & v1+v2+w <57',
2282 '-evalt', 'ran({vv,ww,x|x=rec(x:ww,y:vv) & vv:1..n & ww:33..34})=r1 & n=50 & rec(x:a,y:b):r1 & rec(x:a+1,y:b):r1 & b>a',
2283 '-evalt', 'a = {rec(x:(1,33),y:22,z:TRUE),rec(x:(2,34),y:44,z:TRUE),rec(x:(3,34),y:45,z:TRUE)} & rec(x:(v1,v2),y:w,z:bb):a & v1+v2+w <57',
2284 '-evalf', 'a = {rec(x:(1,33),y:22,z:FALSE),rec(x:(2,34),y:44,z:TRUE),rec(x:(3,34),y:45,z:TRUE)} & rec(x:(v1,v2),y:w,z:TRUE):a & v1+v2+w <57'
2285 ], 'Testing propagation for membership.').
2286 cli_testcase(1224, [typechecker_test,tickets], ['-init','../prob_examples/public_examples/EventBPrologPackages/Tickets/PROB-323/PROB-323.eventb','-strict'], 'This machine should not throw a type error.').
2287 cli_testcase(1225, [eventb_test,laws, theories], ['../prob_examples/public_examples/EventBPrologPackages/Theory/ListLaws_ctx.eventb',
2288 '../prob_examples/public_examples/EventBPrologPackages/Theory/PairLaws_ctx.eventb',
2289 '-assertions','-strict'], 'Various checks for sets involving freetypes (Lists Theory)').
2290 cli_testcase(1226, [b_test,finite], [
2291 '-evalu', 's=({x|x mod 2 = 0 & x>200}) & s:FIN(s)'
2292 , '-expcterr', eval_string_enum_warning
2293 ], 'Check that finite warning produced').
2294 cli_testcase(1227, [eventb_test,laws, proz,theories], ['../prob_examples/public_examples/EventBPrologPackages/Theory/ListLawsMC_mch.eventb','-mc',500, '-bf', '-strict',
2295 '-expcterr', 'virtual_time_out', '-expcterr', 'model_check_incomplete'], 'Various checks for sets involving freetypes (Lists Theory)').
2296 cli_testcase(1228, [cbc], ['../prob_examples/public_examples/EventBPrologPackages/Disprover/EnumWarningTests/MammarLaleau_Failures_ReadDoors_inv8_selected.mch', '-cbc_assertions',
2297 '-p', 'PROOF_INFO', 'FALSE', '-strict'], 'Check no enum warning occurs when using bool with integer inside').
2298 cli_testcase(1229, [eventb_test], ['../prob_examples/public_examples/EventBPrologPackages/Tickets/PROB-322/ExpressionTest.eventb','-init','-strict'], 'Checking usage of typeof-Operator').
2299 cli_testcase(1230, [cbc], ['../prob_examples/public_examples/EventBPrologPackages/Disprover/EnumWarningTests/MammarLaleau_Cylinders_LockGearCylinder_inv4_selected.mch',
2300 %'../prob_examples/public_examples/EventBPrologPackages/Disprover/EnumWarningTests/MammarLaleau_Doors_Make_GearExtended_inv2_all.mch',
2301 '-cbc_assertions',
2302 '-p', 'PROOF_INFO', 'FALSE' ,'-p', 'DISPROVER_MODE', 'TRUE', '-strict'], 'Check no time-out occurs').
2303 cli_testcase(1231, [b_test,fairness,ltl], ['../prob_examples/public_examples/B/LTL/Fairness/TestingFairness.mch', '-ltlassertions', '-strict'], 'Test fairness implementation.').
2304 cli_testcase(1232, [b_test,fairness,ltl], ['../prob_examples/public_examples/B/LTL/Fairness/MutualExclusion.mch', '-ltlassertions', '-strict'], 'Test fairness implementation.').
2305 cli_testcase(1233, [b_test,fairness,ltl], ['../prob_examples/public_examples/B/LTL/Fairness/WeakFairnessTest.mch', '-ltlassertions', '-strict'], 'Test fairness implementation.').
2306 cli_testcase(1234, [csp_test,fairness,ltl], ['../prob_examples/public_examples/CSP/LTL/phils.csp', '-ltlassertions', '-strict'], 'Test fairness implementation.').
2307 cli_testcase(1235, [csp_test,fairness,ltl], ['../prob_examples/public_examples/CSP/LTL/FairnessUnderscoreArgs.csp', '-ltlassertions', '-strict'], 'Test fairness.').
2308 cli_testcase(1236, [b_test,fairness,ltl], ['../prob_examples/public_examples/B/LTL/Fairness/RecursiveSCCs.mch', '-ltlformula', 'SF(C) => GF {addr=4 or addr =5}', '-expcterr', ltl, '-strict'], 'Test fairness implementation for finding the right counter example.').
2309 cli_testcase(1237, [b_test,fairness,ltl], ['../prob_examples/public_examples/B/LTL/Fairness/RecursiveSCCs.mch', '-ltlformula', 'SF(E) => GF {addr=4 or addr =5}', '-expcterr', ltl, '-strict'], 'Test fairness implementation for finding the right counter example.').
2310 cli_testcase(1238, [b_test,fairness,ltl], ['../prob_examples/public_examples/B/LTL/Fairness/RecursiveSCCs.mch', '-ltlformula', 'SF(D) => GF {addr=4 or addr =5}', '-expcterr', ltl, '-strict'], 'Test fairness implementation for finding the right counter example.').
2311 cli_testcase(1239, [b_test,fairness,ltl], ['../prob_examples/public_examples/B/LTL/Fairness/RecursiveSCCs.mch', '-ltlformula', 'SF(C) & SF(E) => GF {addr=4 or addr =5}', '-expcterr', ltl, '-strict'], 'Test fairness implementation for finding the right counter example.').
2312 cli_testcase(1240, [b_test,fairness,ltl], ['../prob_examples/public_examples/B/LTL/Fairness/RecursiveSCCs.mch', '-ltlformula', '(SF(C) & SF(E)) or (SF(F) & SF(E)) => GF {addr = 4 or addr = 5}', '-expcterr', ltl, '-strict'], 'Test fairness implementation for finding the right counter example.').
2313 cli_testcase(1241, [b_test,fairness,ltl], ['../prob_examples/public_examples/B/LTL/Fairness/RecursiveSCCs.mch', '-ltlformula', '(SF(C) & SF(E)) or (SF(F) & SF(E)) => GF {addr = 4 or addr = 5}', '-expcterr', ltl, '-strict'], 'Test fairness implementation for finding the right counter example.').
2314 cli_testcase(1242, [csp_test,fairness,ltl], ['../prob_examples/public_examples/CSP/LTL/rabp_scc_issue.csp', '-ltlassertions', '-strict'], 'Test fairness.').
2315 cli_testcase(1243, [csp_test,fairness,ltl], ['../prob_examples/public_examples/CSP/LTL/rabp_scc_issue.csp', '-ltlformula', 'SEF => G ([left.0] => F [right.0])', '-strict'], 'Test general fairness.').
2316 cli_testcase(1244, [b_test, ltl], ['../prob_examples/public_examples/B/LTL/Fairness/TestingFairness.mch',
2317 '-ltlformulat', true, '-ltlformulat', 'G{1=1}',
2318 '-ctlformulat', 'AG{1=1}', '-ctlformulaf', 'EF{1=2}',
2319 %'-ltlformulaf', false, % does not work !
2320 '-ltlformulaf', 'G{1=2}', '-strict'], 'Testing the trivial LTL formula true + other trivial ones.').
2321 cli_testcase(1245, [b_test, ltl], ['../prob_examples/public_examples/B/LTL/Fairness/TestingFairness.mch', '-ltlformulat', false, '-expcterr', 'ltl', '-strict'], 'Testing the trivial LTL formula false.').
2322 cli_testcase(1246, [cbc], [
2323 '-evalf', 'x/0 = 1 & x:1..20',
2324 '-evalf', 'x:-2..2 & 10/x =1',
2325 '-evalt', 'x:-2..2 & 10/x = 5',
2326 '-p', 'DISPROVER_MODE', 'TRUE'], 'Testing no WD error generated in disprover mode.').
2327 cli_testcase(1247, [cbc], [
2328 '-evalt', 'i>200 & (i mod 37 = 7)',
2329 '-evalt', 'i>200 & (i mod 37 = 1)',
2330 '-evalt', 'i>20 & (i mod 2 = 0)',
2331 '-evalf', 'i>200 & (i mod 37 = 7) & i < 229',
2332 '-evalt', '{i|i>200 & (i mod 50 = 10) & i<1000} = {210,260,310,360,410,460,510,560,610,660,710,760,810,860,910,960}',
2333 '-evalt', '{i|i>200 & (i mod 50 = 10) & i<1000 & i mod 100 /= 10} = {260,360,460,560,660,760,860,960}',
2334 '-evalt', 'x > 0 & x mod 30 =0 & x mod 19 = 0',
2335 '-evalt', 'x > 0 & x mod 50 =0 & x mod 61 = 0 & x mod 23 = 0',
2336 '-evalf', 'x > 0 & x mod 50 =0 & x mod 61 = 0 & x mod 23 = 0 & x<70150'
2337 ], 'Testing improved constraint propagation for modulo.').
2338 cli_testcase(1248, [tickets], ['../prob_examples/public_examples/B/Tickets/Disprover_InstantiationError/GraphColour_PO.mch', '-init', '-p', 'TIME_OUT', 300, '-p', 'DISPROVER_MODE', 'TRUE',
2339 '-expcterr', setup_constants_fails, '-opterr', time_out, '-strict'], 'Check that no instantiation error occurs'). % time_out may not occur on fast machines
2340 cli_testcase(1249, [cbc,slot], ['../prob_examples/public_examples/B/PerformanceTests/SlotToolSolver_Inconsistency.mch',
2341 '-init', '-p', 'TIME_OUT', 2500, '-expcterr', setup_constants_fails,
2342 '-opterr', 'setup_constants_inconsistent', '-strict'
2343 %,'-expcterr', det_value_not_stored_for_constant % changed from warning to message 18/02/2018
2344 ], 'Check that inconsistency detected quickly').
2345 cli_testcase(1250, [cbc], [
2346 '-evalf', 'f:0..100 --> POW(1..100) & f(20) = {99} & !x.(x:dom(f) => !y.(y:f(x) => y /= 99))',
2347 '-evalt', 'f:0..100 --> POW(1..100) & f(20) = {98} & !x.(x:dom(f) => !y.(y:f(x) => y /= 99))',
2348 '-evalf', 'f:0..100 --> POW(1..100) & f(20) = {99} & !x.(x:dom(f) => !y.(y:f(x) & y>20 => y /= 99))'
2349 ], 'Check universal quantification inconsistency detected').
2350 cli_testcase(1251, [cbc,chr], ['../prob_examples/examples/RodinModels/Pacemaker/PO_M4_AATR_Decrease_Interval_inv2_INV.mch', '-init', '-p', 'TIME_OUT', 500, '-p', 'DISPROVER_MODE', 'TRUE', '-expcterr', %'setup_constants_fails'
2351 'setup_constants_inconsistent' % with changes from May 15th 2026 we now get PARTIAL_SETUP_CONSTANTS solutions
2352 ], 'Check that inconsistency detected quickly (with CHR)').
2353 cli_testcase(1252, [cbc,wd], ['../prob_examples/examples/RodinModels/Pacemaker/PO_M4_AATR_Decrease_Interval_inv2_INV.mch', '-init', '-p', 'TIME_OUT', 300, '-p', 'DISPROVER_MODE', 'FALSE', '-expcterr', setup_constants_fails,
2354 '-opterr', 'setup_constants_unknown',
2355 '-opterr', time_out,
2356 '-opterr', virtual_time_out,
2357 '-expcterr', well_definedness_error, '-strict'], 'Check that division by zero detected.').
2358 cli_testcase(1253, [tickets,union], ['../prob_examples/public_examples/B/Tickets/LambdaUnionEnumWarning/Seq1UnionFunction.mch',
2359 '-init', '-assertions', '-strict'], 'Check that symbolic function not expanded in rel. composition').
2360 cli_testcase(1254, [cbc, tickets, chr], ['-p', 'CHR', 'TRUE',
2361 '-evalf', 'x> a & x: 33..a',
2362 '-evalt', 'x>=a & x>=33 & x<=a',
2363 '-evalf', 'x>a & x>=33 & x<=a'
2364 ], 'Check CHR detects inconsistencies').
2365 cli_testcase(1255, [cbc], ['-p', 'DISPROVER_MODE', 'TRUE',
2366 '-evalf', 'z>0 & z mod z = 100 & x:{1,2,3} & not(x>0)'], 'Check no enum warning').
2367 cli_testcase(1256, [tickets,card], [
2368 '../prob_examples/public_examples/EventBPrologPackages/Tickets/Cansell_RingLead/ring_ctx.eventb',
2369 '-init'], 'Check no infinite loop when computing minimum cardinality').
2370 cli_testcase(1257, [b_test,csp_test,ltl,fairness,cspb],['../prob_examples/public_examples/CSPB/Williams/ME.mch', '-csp-guide', '../prob_examples/public_examples/CSPB/Williams/ME.csp', '-ltlassertions', '-strict'],'Check ltl assertions with imposed fairness constraints in (ME.mch|| ME.csp).').
2371 cli_testcase(1258, [eventb_test,ltl],['../prob_examples/public_examples/B/Ivo/BenchmarksPOR/Concurrent/fact_m_v3_mch.eventb', '-ltlformulat', 'F ([found0])', '-strict'],'Check an ltl formula on an Event-B model.').
2372 cli_testcase(1259, [b_test,csp_test,ltl,fairness,cspb],['../prob_examples/public_examples/CSPB/Williams/pris.mch', '-csp-guide', '../prob_examples/public_examples/CSPB/Williams/pris.csp', '-ltlformulat', 'SF(In.p1) & SF(In.p2) & SF(In.p3) => F[Done]', '-strict'],'Check an LTL formula with imposed fairness constraints in (pris.mch|| pris.csp).').
2373 cli_testcase(1260, [b_test,proz,theories,infinite],['../prob_examples/public_examples/B/NewSyntax/FreetypeIntList.mch',
2374 '../prob_examples/public_examples/B/NewSyntax/FreeTypeAndRecursion.mch',
2375 '-p','MAXINT',10,'-t','-strict'],
2376 'Check rudimental freetype functionally').
2377 cli_testcase(1261, [cbc], [
2378 '-evalt', '(x:{y|y:NATURAL & y mod 100 = 1} <=> v=0) & v=0 & x>1'
2379 ], 'Test reification of closures').
2380 cli_testcase(1262, [b_test,union],['../prob_examples/public_examples/B/Tickets/Hansen8/EnumerateFunctionTests.mch','-mc', 1000, '-cc', 4,10,'-strict'],'Check union with full relations does not time out').
2381 cli_testcase(1263, [b_test,tickets,card],['../prob_examples/public_examples/EventBPrologPackages/Tickets/CardTruthBody/DPLL_Backtrack_mch_not_symbolic.eventb', '-t', '-mc', 100, '-strict'],'Check function unit_resolve detected as symbolic without symbolic annotation').
2382 cli_testcase(1264, [b_test,infinite], ['../prob_examples/public_examples/B/Mathematical/FormaleSprachen.mch',
2383 '-init','-assertions', '-strict'], 'Checking various operations work on infinite sets (e.g., complement set).').
2384 cli_testcase(1265, [tickets,card], ['../prob_examples/public_examples/EventBPrologPackages/Tickets/MinCardInference/RegularGrammar_Ex1_ctx.eventb', '-init',
2385 '-evalt', 'card(Symbols)=4',
2386 '-evalt', 'card(NonTerminals)=2',
2387 '-evalt', 'card(Terminals)=2'], 'Check that minimum cardinality inference works').
2388 cli_testcase(1266, [b_test],['../prob_examples/public_examples/B/Tickets/Hansen9/SimpleCSGGrammar2_SlowCLPFD.mch','-t','-strict','-p','CLPFD','TRUE'],'Check no time-out').
2389 cli_testcase(1267, [cbc,sequences], [
2390 '-evalt', '{n|[11,22,3,4,5,6,7] /|\\ n = [11,22]} = {2}'
2391 , '-evalt', '{l|[2222]^l /|\\ 7 = l} = {[2222,2222,2222,2222,2222,2222,2222]}'
2392 , '-evalt', '{x,n|[1111,x,33,44] /|\\ n = [1111,2222] & n:0..4} = {(2222,2)}'
2393 , '-evalt', '{x,y,n|[1111,x,3333,4444,y,y] /|\\ n = [1111,2222,3333,4444,5555] & n:0..6} = {((2222|->5555)|->5)}'
2394 %,'-evalt', '{n,x,y|[11,22,3,4,5,6,7] /|\ n = [x,y]} = {((2|->11)|->22)}' % does not work yet TO DO
2395 ],
2396 'test sequence constraint solving').
2397 cli_testcase(1268, [b_test,recursion,external,infinite], ['../prob_examples/public_examples/B/RecursiveFunctions/Factorial_TLAStyle.mch', '-init', '-assertions', '-strict', '-p', 'SYMBOLIC', 'FALSE'], 'Test that other recursive function works also with TLA style if-then-else.').
2398 cli_testcase(1269, [tickets,card], [
2399 '-evalt', 'm={{1,2},{1,3}} & {k1,k2|k1:m & 1:k1 & k2:m & 1:k2 & k1/=k2} =r & card(r)=2',
2400 '-evalt', 'm={{1,2},{1,3},{2,3}} & {k1,k2|k1:m & 1:k1 & k2:m & 1:k2 & k1/=k2} =r & card(r)=2',
2401 '-evalt', 'm={{1,2},{1,3}} & {k1,k2|k1:m & 1:k1 & k2:m-{k1} & 1:k2} =r & card(r)=2',
2402 '-evalt', 'm={{1,2},{1,3},{2,3}} & {k1,k2|k1:m & 1:k1 & k2:m-{k1} & 1:k2} =r & card(r)=2'
2403 ], 'ensure bug in not_equal_object for sets remains fixed').
2404 cli_testcase(1270, [laws], ['../prob_examples/public_examples/B/Laws/SetLawsPow2.mch', '-mc', '200', '-bf', '-nogoal', '-nodead', '-strict', '-p', 'CLPFD', 'TRUE', '-expcterr', 'model_check_incomplete'], 'More laws about sets of sets').
2405 cli_testcase(1271, [b_test],['../prob_examples/public_examples/B/Tickets/Hansen10/PrettyPrintBug.mch','-mc', 200, '-t', '-his', '../prob_examples/public_examples/B/Tickets/Hansen10/PrettyPrintBug_his.txt','-strict'],'Check no time-out').
2406 cli_testcase(1272, [cbc,card], [
2407 '-evalf', 'card({x|x:1..10 & x*x<i}) = 0 & i>1',
2408 '-evalt', 'card({x|x>1 & x<2**e & x mod 2 = 0}) = 0',
2409 '-evalt', 'card({b|b:1..8 & b mod n = 1})=c & n:2..4',
2410 '-evalt', 'f: 1..n --> 0..1000 & f(1)=0 & card({i|i:1..n & f(i)>0}) = n/2 & n=100',
2411 '-evalt', 'n=20 & f:1..n --> BOOL & card({x|x:1..n & f(x)=TRUE})=n/2 & !y.(y:1..(n-1) => ( f(y)=TRUE => f(y+1)=TRUE))',
2412 '-evalt', 'n=100 & f:1..n --> BOOL & card({x|x:dom(f) & f(x)=TRUE})=50'
2413 ], 'ensure proper reification of card').
2414 cli_testcase(1273, [cbc,card], [
2415 '-evalf', '{10,22} <: {x|x>10 & x mod 2 = 0}',
2416 '-evalt', '{100,22} <: {x|x>10 & x mod 2 = 0}',
2417 '-evalf', '{11,22} <: {x|x>10 & x mod 2 = 0}',
2418 '-evalt', 'card({S|S <<: 12..15 & (12:S => 15:S & 14 /:S) & (13:S <=> 12:S) & S/={}})=4',
2419 '-evalt', 'card({S|S <<: 12..14 & (12:S => 15:S & 14 /:S) & (13:S <=> 12:S) & S/={}}) =1',
2420 '-evalt', 'card({S|S <<: 12..19 & (12:S => 15:S & 14 /:S) & (13:S <=> 12:S) & S/={}})=79',
2421 '-evalt', 'card({S|S <<: 11..18 & (12:S => 15:S & 14 /:S) & (15:S <=> 12:S) & S/={}})=95',
2422 '-evalt', 'card({S|S <: 11..18 & (12:S => 15:S & 14 /:S) & (15:S <=> 12:S) & S/={}})=95',
2423 '-evalt', 'card({S|S <: 12..15 & (12:S => 15:S) & 14 /:S }) = 6',
2424 '-evalt', 'card({S|S <<: 12..15 & (12:S => 15:S) & 14 /:S }) = 6',
2425 '-evalt', '({S|S <: 12..15 & (12:S => 15:S) & 14 /:S }) = {{},{12,15},{13},{12,13,15},{13,15},{15}}'
2426 ], 'ensure no expansion in subset and proper computation of all solutions').
2427 cli_testcase(1274, [tickets],['../prob_examples/public_examples/B/Tickets/Hansen11/RecNatFunLoop.mch', '-init', '-assertions', '-strict', '-vv'],'Check no infinite recursion').
2428 cli_testcase(1275, [tickets,typechecker_test,let],['../prob_examples/public_examples/B/ErrorMachines/TestScopeLHSAssignmentLET.mch', '-init', '-strict', '-expcterr', type_error, '-expcterr', load_main_file],'LET introduces a duplicate variable').
2429 cli_testcase(1276, [tickets,cbc],['../prob_examples/public_examples/B/Compilers/LLParsing.mch', '-t', '-strict'],'Check no enumeration warning due to existential quantifiers').
2430 cli_testcase(1277, [tickets,typechecker_test],['../prob_examples/public_examples/B/Tickets/PROB-333/InvalidAssignmentBecomesSuch.mch', '-init', '-strict', '-expcterr', type_error, '-expcterr', load_main_file],'A becomes such assignment is not allowed to write to an read-only identifier').
2431 cli_testcase(1278, [tickets,typechecker_test],['../prob_examples/public_examples/B/Tickets/PROB-333/InvalidAssignmentElementOf.mch', '-init', '-strict', '-expcterr', type_error, '-expcterr', load_main_file],'An element of assignment is not allowed to write to an read-only identifier').
2432 cli_testcase(1279, [tickets,typechecker_test],['../prob_examples/public_examples/B/Tickets/PROB-333/InvalidAssignmentOpCall.mch', '-init', '-strict', '-expcterr', type_error, '-expcterr', load_main_file],'An operation call assignment is not allowed to write to an read-only identifier').
2433 cli_testcase(1280, [tickets,typechecker_test],['../prob_examples/public_examples/B/Tickets/PROB-333/InvalidAssignmentToAnyVar.mch', '-init', '-strict', '-expcterr', type_error, '-expcterr', load_main_file],'Assignment to variables introduced by ANY are not allowed').
2434 cli_testcase(1281, [tickets,typechecker_test,let],['../prob_examples/public_examples/B/Tickets/PROB-333/InvalidAssignmentToLetVar.mch', '-init', '-strict', '-expcterr', type_error, '-expcterr', load_main_file],'Assignment to variables introduced by LET are not allowed').
2435 cli_testcase(1282, [tickets,let,card],['../prob_examples/public_examples/B/Tickets/PROB-333/M1.mch'
2436 , '-init', '-strict', '-assertions'
2437 , '-evalt', '#(b).(b:NAT)'
2438 , '-evalt', '#(a).(a:NAT)'
2439 , '-evalt', '!(a).(a:ID => card(ID-{a}) = 1)'
2440 , '-evalt', '!(ab).(ab:ID => card(ID-{ab}) = 1)'
2441 , '-evalt', ' #aa.(not(myTRUE))'
2442 , '-evalt', '{aa|myTRUE} = {aa}'
2443 , '-expcterrpos', definition_variable_capture, 6, 10
2444 , '-expcterrpos', definition_variable_capture, 7, 5
2445 , '-expcterrpos', definition_variable_capture, 1, 10
2446 , '-expcterrpos', definition_variable_capture, 1, 4 % from -evalt's above
2447 ],'Assignment to variables introduced by LET are not allowed').
2448 cli_testcase(1283, [b_test,wd], ['../prob_examples/public_examples/B/ErrorMachines/NestedFunUpdate_Error.mch', '-nodead', '-mc', 10, '-strict',
2449 '-expcterr', 'well_definedness_error'], 'Ensure we find error in assignment.').
2450 cli_testcase(1284, [eventb_test,tickets], ['../prob_examples/public_examples/EventBPrologPackages/Tickets/SlowLambdaFunctions/TestParIf2_v2_mch.eventb',
2451 '-p', 'MAX_OPERATIONS', 40,
2452 '-p', 'TIME_OUT', 1000,
2453 '-mc', 1000, '-expcterr', 'model_check_incomplete', '-cc', 193, 4369,
2454 '-strict'], 'Ensure performance acceptable for nested function applications.').
2455 cli_testcase(1285, [cbc], ['../prob_examples/public_examples/B/Tickets/PartialFunCBCPerformance/Prove_simpler_ctx.eventb',
2456 '../prob_examples/public_examples/B/Tickets/PartialFunCBCPerformance/ProveCommutativityAxioms_ctx.eventb',
2457 '-p', 'TIME_OUT', 1000, '-p', 'MAX_INITIALISATIONS', 90,
2458 '-init', '-mc', 1000, '-nodead', '-strict'
2459 ], 'Ensure we find solution to initalisation.').
2460 cli_testcase(1286, [eventb_test,choose, theories],['../prob_examples/public_examples/EventBPrologPackages/Theory/TestHilbert.eventb','-assertions','-strict'], 'Test if the tagged CHOOSE operator in a theory works.').
2461 cli_testcase(1287, [eventb_test, recursion, infinite, theories],['../prob_examples/public_examples/EventBPrologPackages/Theory/RecursiveSetFunctions_ctx.eventb','-assertions', '-init', '-strict',
2462 '-evalt', 'sumset(1..1000) = 500500'], 'Test that recursive functions with COND work and that we can use Theory operators in evalt.').
2463 cli_testcase(1288, [tickets,smt_test,chr,siemens],['../prob_examples/examples/B/Siemens/RuleValidation/v7_4_trad_pour_m_leuschel-2012-05-04/OrderXY_78_1.mch',
2464 '-p', 'CLPFD', 'TRUE', '-p', 'SMT', 'TRUE', '-p', 'CHR', 'TRUE', '-p', 'DISPROVER_MODE', 'TRUE', '-p', 'TIME_OUT', 100,
2465 '-expcterr', cbc_assertions_time_out,
2466 '-cbc_assertions','-strict'], 'Test Siemens Proof Rule.').
2467 cli_testcase(1289, [tickets,records],['../prob_examples/public_examples/B/Tickets/Hansen12/RecordCallResidue.mch', '-init', '-assertions', '-strict'],'Check no call residue for records.').
2468 cli_testcase(1290, [tickets,infinite],['../prob_examples/public_examples/B/Tickets/Hansen13/VirtualTimeout.mch', '-init', '-mc', 100, '-strict', '-expcterr', 'time_out_for_invariant',
2469 '-expcterr', 'model_check_incomplete', '-p', 'TRY_FIND_ABORT', 'TRUE' % prevents merging invariants
2470 ],'Check virtual time-out in invariant handled.').
2471 cli_testcase(1291, [tickets,infinite,override],['../prob_examples/public_examples/B/Tickets/Hansen13/OverrideSymbolicTest.mch', '-t', '-strict'],'Check override substitution works symbolically.').
2472 cli_testcase(1292, [b_test,case],['../prob_examples/examples/B/Satpathy/Teletext104/Teletext104_deterministic.mch', '-t', '-strict'],'Check this relatively large machine works.').
2473 cli_testcase(1293, [b_test,tla],['../prob_examples/public_examples/TLA/Tests/TLC_Regression_Tests/test1.tla', '-mc', 100, '-strict'], 'TLC regression test: equality.').
2474 cli_testcase(1294, [b_test,tla],['../prob_examples/public_examples/TLA/Tests/TLC_Regression_Tests/test2.tla', '-mc', 100, '-strict'], 'TLC regression test: functions.').
2475 %cli_testcase(1295, [b_test,tla],['../prob_examples/public_examples/TLA/Tests/TLC_Regression_Tests/test3.tla', '-mc', 100, '-strict'], 'TLC regression test: function application.'). virtual timeout PROB-367
2476 cli_testcase(1296, [b_test,tla],['../prob_examples/public_examples/TLA/Tests/TLC_Regression_Tests/test4.tla', '-mc', 100, '-strict'], 'TLC regression test: sets.').
2477 cli_testcase(1297, [b_test,tla],['../prob_examples/public_examples/TLA/Tests/TLC_Regression_Tests/test5.tla', '-mc', 100, '-strict'], 'TLC regression test: Cartesian Product.').
2478 cli_testcase(1298, [b_test,tla],['../prob_examples/public_examples/TLA/Tests/TLC_Regression_Tests/test6.tla', '-mc', 100, '-strict'], 'TLC regression test: Propositional Logic.').
2479 cli_testcase(1299, [b_test,tla,choose],['../prob_examples/public_examples/TLA/Tests/TLC_Regression_Tests/test7.tla',
2480 '-expcterrpos', 'bmachine_static_checks', 34, 9, % forall rhs does not use ids
2481 '-mc', 100, '-strict'], 'TLC regression test: Choose operator.').
2482 cli_testcase(1300, [cbc], [
2483 '-evalf', '[1,2,3,3,3,4] : seq({1, 2, 3}) - seq({1, 2})',
2484 '-evalt', '[1,2,3,3,3,4] /: seq({1, 2, 3}) - seq({1, 2})',
2485 '-evalf', '[1,2,2,2,2,1] : seq({1, 2, 3}) - seq({1, 2})',
2486 '-evalt', '[1,2,2,2,2,1] /: seq({1, 2, 3}) - seq({1, 2})',
2487 '-evalt', '[1,2,3,3,3,2] : seq({1, 2, 3}) - seq({1, 2})',
2488 '-evalf', '[1,2,3,3,3,2] /: seq({1, 2, 3}) - seq({1, 2})',
2489 '-evalt', '[1,2,2,2,2,1,v] : seq({1, 2, 3}) - seq({1, 2}) & v>1',
2490 '-evalt', '{x | x : NATURAL - {x|x>10}} = 0..10',
2491 '-evalt', '{x | x : NATURAL - NATURAL1} = 0..0',
2492 '-evalt', 'x /: NATURAL - {x|x>10} & x>0 & x<100',
2493 '-evalt', '11..99 = {x|x /: NATURAL - {x|x>10} & x>0 & x<100}',
2494 '-evalt', 'x : NATURAL1 /\\ {x|x>20 & x mod 2 = 0}',
2495 '-evalt', 'x /: NATURAL1 /\\ {x|x>20 & x mod 2 = 0}',
2496 '-evalt', '-11 /: NATURAL1 /\\ {x|x>20 & x mod 2 = 0}',
2497 '-evalt', '1024 : NATURAL1 /\\ {x|x>20 & x mod 2 = 0}',
2498 '-evalf', '1024 /: NATURAL1 /\\ {x|x>20 & x mod 2 = 0}',
2499 '-evalt', '1025 /: NATURAL1 /\\ {x|x>20 & x mod 2 = 0}',
2500 '-evalf', '1025 : NATURAL1 /\\ {x|x>20 & x mod 2 = 0}',
2501 '-evalt', '[1,2] : seq({1, 2, 3}) /\\ seq({0, 1, 2})',
2502 '-evalt', '[1,2,3] /: seq({1, 2, 3}) /\\ seq({0, 1, 2})',
2503 '-evalt', '[1,2,3,4] /: seq({1, 2, 3}) /\\ seq({0, 1, 2})',
2504 '-evalt', '[1,2,2,2,1,2] : seq({1, 2, 3}) /\\ seq({0, 1, 2})',
2505 '-evalt', 'seq({1, 2, 3}) /\\ seq({0, 1, 2}) = sq & [1,2,2,2,1] : sq',
2506 '-evalt', 'seq({1, 2, 3}) \\/ seq({0, 1, 2}) = sq & [1,2,3,3,2] : sq',
2507 '-evalf', 'seq({1, 2, 3}) \\/ seq({0, 1, 2}) = sq & [1,2,3,3,2] /: sq',
2508 '-evalt', 'seq({1, 2, 3}) \\/ seq({0, 1, 2}) = sq & [1,2,3,3,2,0] /: sq',
2509 '-evalf', 'seq({1, 2, 3}) \\/ seq({0, 1, 2}) = sq & [1,2,3,3,2,0] : sq',
2510 '-evalt', '{200,201,301,400} - {x|x>0 & x mod 100 = 0} = {201,301}',
2511 '-evalt', '{200,201,301,400} /\\ {x|x>0 & x mod 100 = 0} = {200,400}',
2512 '-evalt', '500 : ( {x|x>0 & x mod 100 = 0} - {200,400})',
2513 '-evalt', '400 /: ( {x|x>0 & x mod 100 = 0} - {200,400})',
2514 '-evalf', '400 : ( {x|x>0 & x mod 100 = 0} - {200,400})',
2515 '-evalt', 'abs = id(NATURAL) \\/ %x.(x<0|-x) & abs(2001)=2001 & abs(-2002)=2002', % added 23.3.2015
2516 '-evalt', 'f = id(NATURAL) /\\ %x.(x<100|-x) & f={0|->0}', % added 23.3.2015
2517 '-evalt', 'abs = %x.(x<0|-x) \\/ id(NATURAL) & abs(2001)=2001 & abs(-2002)=2002', % added 23.3.2015
2518 '-evalt', '0: NATURAL - {1} - {2}', % added 14.5.2018
2519 '-evalt', '3: NATURAL - {1} - {2}', % added 14.5.2018
2520 '-evalf', '1: NATURAL - {1} - {2}', % added 14.5.2018
2521 '-evalf', '2: NATURAL - {1} - {2}', % added 14.5.2018
2522 '-evalt', '33: NATURAL - {1} - {2}', % added 14.5.2018
2523 '-evalf', '0: NATURAL1 - {11} - {22}', % added 14.5.2018
2524 '-evalf', '11: NATURAL1 - {11} - {22}', % added 14.5.2018
2525 '-evalf', '22: NATURAL1 - {11} - {22}', % added 14.5.2018
2526 '-evalt', '1: NATURAL1 - {11} - {22}', % added 14.5.2018
2527 '-evalt', '23: NATURAL1 - {11} - {22}', % added 14.5.2018
2528 '-evalf', '{} = NATURAL1 - {11} - {22}' % added 14.5.2018
2529 ], 'ensure symbolic treatment of set difference and intersection membership').
2530 cli_testcase(1301, [tickets,infinite,strings,card], [
2531 '-evalt', 'NATURAL1 /: {NATURAL,INTEGER,NATURAL,1..2,{}}',
2532 '-evalf', 'NATURAL1 : {NATURAL,INTEGER,NATURAL,1..2,{}}',
2533 '-evalt', 'NATURAL1 : {NATURAL,INTEGER,NATURAL1,1..2,{}}',
2534 '-evalt', '1..2 : {NATURAL,INTEGER,NATURAL1,1..2,{},1..3,{2}}',
2535 '-evalt', '{} : {NATURAL,INTEGER,NATURAL1,1..2,{},1..3,{2}}',
2536 '-evalt', '{NATURAL} <: {NATURAL,INTEGER,NATURAL1,1..2,{},1..3,{2}}',
2537 '-evalt', '{NATURAL} <<: {NATURAL,INTEGER,NATURAL1,1..2,{},1..3,{2}}',
2538 '-evalt', '{NATURAL,{},INTEGER} <<: {NATURAL,INTEGER,NATURAL1,1..2,{},1..3,{2}}',
2539 '-evalt', '{NATURAL,{},INTEGER,{1,2}} <<: {NATURAL,INTEGER,NATURAL1,1..2,{},1..3,{2}}',
2540 '-evalf', '{NATURAL,{},INTEGER,{1,3}} <<: {NATURAL,INTEGER,NATURAL1,1..2,{},1..3,{2}}',
2541 '-evalt', '7=card({NATURAL,INTEGER,NATURAL1,1..2,{},1..3,{2}})',
2542 '-evalt', '5=card({NATURAL1,INTEGER,NATURAL1,1..2,{},1..3,{1,2}})',
2543 '-evalt', '{NATURAL1,INTEGER,x} = r & {}:r',
2544 '-evalt', '{STRING,{},{"hallo"}} = s & card(s)=3 & {}:s & STRING:s',
2545 '-evalt', 'r = { {1..2},{NATURAL}, {INTEGER}, {{}}, {NATURAL1}, {NATURAL1,NATURAL} } & {x} : r & x=NATURAL',
2546 '-evalt', 'r = { {1..2},{NATURAL}, {INTEGER}, {{}}, {NATURAL1}, {NATURAL1,NATURAL} } & {x,y} : r & x=NATURAL & y=NATURAL1',
2547 '-evalf', 'r = { {1..2},{NATURAL}, {INTEGER}, {{}}, {NATURAL1}, {NATURAL1,INTEGER} } & {x,y} : r & x=NATURAL & y=NATURAL1',
2548 '-evalt', '{x|x>10 & x*x = 100} : {NATURAL,{},1..3,{2},INTEGER}',
2549 '-evalt', '{x|x>4 & x*x = 100} : {NATURAL,{},1..3,{10},INTEGER}',
2550 '-evalt', '{3,2,1} : {NATURAL1,{},1..3,{2},INTEGER}'
2551 ], 'test putting infinite global sets into AVL sets').
2552 cli_testcase(1302,[private,data_validation,alstom,while],['../prob_examples/examples/B/Alstom/Ticket_July2_2014/Rule_TMS_Signal_0107.mch','-strict', '-t', '-pref_group', integer, int32, '-p', 'TIME_OUT', 15000 ], 'Ticket related to variables only read in while loop').
2553 cli_testcase(1303,[private,data_validation,alstom,while],['../prob_examples/examples/B/Alstom/Ticket_July2_2014/Rule_DB_SIGAREA_0030.mch','-strict', '-t', '-pref_group', integer, int32, '-p', 'TIME_OUT', 15000,
2554 '-mc', 100, '-bf',
2555 '-expcterr', 'invariant_violation' , '-expcterr', bmachine_static_checks, '-expcterrpos', type_error, 719, 48], 'Ticket related to local variables modified in while loop which are also constants of another machine (length)').
2556 cli_testcase(1304, [eventb_test,laws, proz, theories], ['../prob_examples/public_examples/EventBPrologPackages/Theory/ListLawsMC_inf_mch.eventb','-t', '-strict',
2557 '-expcterr', 'virtual_time_out'], 'Various checks for sets involving freetypes (Lists Theory; PROB-325) that no wd-error occurs').
2558 cli_testcase(1305, [cbc], ['../prob_examples/public_examples/B/Puzzles/Euler_Project/Euler_Problem_009.mch', '-init', '-strict', '-p', 'CLPFD', 'TRUE', '-properties'], 'Test that this puzzle now solved also when encoded as machine').
2559 cli_testcase(1306, [b_test],['../prob_examples/public_examples/B/Tickets/Hansen15/PostCorrespondence_MC.mch','-mc', 50, '-t', '-strict', '-p', 'TIME_OUT', 3500, '-expcterr', 'model_check_incomplete'],'Check no call residue').
2560 cli_testcase(1307,[private,b_test,alstom,data_validation],['../prob_examples/examples/B/Alstom/Ticket_July9_2014/Rule_TMS_Overlap_0062.mch','-strict', '-expcterr', type_error, '-expcterr', load_main_file], 'Ticket related to operation defined multiple times + raising of error messages').
2561 cli_testcase(1308, [b_test,kodkod,tickets], ['../prob_examples/public_examples/B/Tickets/PROB-331/HadamardMatrixRel_ForKodkod.mch', '-init', '-strict', '-p','TIME_OUT',3000, '-p', 'SOLVER_FOR_PROPERTIES', 'kodkod', '-p', 'KODKOD_ONLY_FULL', 'FALSE'], 'Check that Kodkod finds solution. (PROB-331)').
2562 cli_testcase(1309,[proz,recursion],['../prob_examples/public_examples/Z/Tickets/PROB-343/RecursiveDatatype.fuzz','-p','DEFAULT_SETSIZE','2','-p','TIME_OUT','1000','-mc',1000,'-nodead','-cc',4,3,'-strict'],'Z Freetypes: Checking simple recursive definition').
2563 cli_testcase(1310, [tickets], [
2564 '../prob_examples/public_examples/B/Tickets/PROB-335/RecordDetectionBugSimple.mch', % used to generate a virtual time-out (fixed July 13th 2014)
2565 '../prob_examples/public_examples/B/Tickets/PROB-335/ExtremaFinding.mch', '-mc', 100, '-p', 'MAX_INITIALISATIONS', 20, '-nodead',
2566 '-init', '-assertions', '-strict'], 'Check that Record Detection does not mess up. (PROB-335)').
2567 cli_testcase(1311, [cbc], ['-evalt', 'a : NATURAL & b : NATURAL & c : NATURAL & a < b & b < c & a**2 + b ** 2 = c ** 2 & a + b + c = 1000 & result=PI(x).(x:{a,b,c}|x)'], 'Test that Euler Puzzle 9 can be solved using Eval console').
2568 cli_testcase(1312, [cbc], ['../prob_examples/public_examples/B/Puzzles/Euler_Project/Euler_Problem_004.mch', '-init', '-strict', '-p', 'CLPFD', 'TRUE', '-properties', '-assertions','-p', 'TIME_OUT', 10000 ], 'Test that this puzzle can be solved'). % temporariliy set an increased time-out (Sept. 2014) TO DO: remove again !!
2569 cli_testcase(1313, [tickets,infinite],
2570 ['-evalt', 'x=prj1(INTEGER,INTEGER) & y=prj1(INTEGER,INTEGER) & x=y',
2571 '-evalt', 'x=prj1(INTEGER,POW(NATURAL*INTEGER)) & y=prj1(INTEGER,POW(NATURAL*INTEGER)) & x=y',
2572 '-evalt', 'prj1(NATURAL1,NATURAL1)(222,333)=222',
2573 '-evalt', 'prj2(NATURAL1,NATURAL1)(222,333)=333',
2574 '-evalt', 'dom(prj1(NATURAL,NATURAL1)) = NATURAL*NATURAL1',
2575 '-evalt', 'dom(prj2(NATURAL1,NATURAL1)) = NATURAL1*NATURAL1'
2576 ], 'Check that no infinite expansion occurs when comparing two prj1 functions + other prj1/prj2 tests (PROB-346)').
2577 cli_testcase(1314, [cbc,card], [
2578 '-evalt', ' s = [x,y,z] & rev(s) = {1|->v,v|->w,w|->v} & v>w',
2579 '-evalt', '{s,x,y,z,v,w|s = [x,y,z] & rev(s) = {1|->v,v|->w,w|->v} & v>w} = {((((([2,3,3]|->2)|->3)|->3)|->3)|->2)}',
2580 '-evalt', 'rev({x|->y}) = {v|->w} & w:NATURAL',
2581 '-evalt', 'card({s,x,y,z,v,w|s = [x,y,z] & rev(s) = {1|->v,v|->w,w|->v} }) = 2',
2582 '-evalt', '{s,x,y,z,v,w|s = [x,y,z] & rev(s) = {1|->v,v|->w,w|->v} } = {((((([2,3,2]|->2)|->3)|->2)|->2)|->3),((((([2,3,3]|->2)|->3)|->3)|->3)|->2)}',
2583 '-evalt' , '{v,w,x,y,z|{1|->v,v|->w,w|->v} = [x,y,z]} = {((((2|->3)|->2)|->3)|->2),((((3|->2)|->3)|->3)|->2)}',
2584 '-evalt' , '{v,w,x,y|{1|->v,v|->w,w|->v} = [x,y,x]} = {(((2|->3)|->2)|->3)}',
2585 '-evalt', 'min({1+10,x}) = max({1+10,x})',
2586 '-evalt', '{x|min({1+10,x}) = max({1+10,x})} = {11}'
2587 ], 'Testing constraint propagation for reverse and unification with set extensions.').
2588 cli_testcase(1315, [cbc], [
2589 '-evalf', 'x:INTEGER & x>y & x=y',
2590 '-evalf', 'x+1 > y+1 & x=y',
2591 '-evalf', 'x+1 < y+1 & x=y',
2592 % require CHR: '-evalf', 'x<y & y<z & x=z', or '-evalf', 'x+1 < y & x=y'
2593 '-evalt', '!(x,y).(x:INTEGER & x>y => x/=y)'
2594 ], 'Check simple inconsistencies with <, > detected now').
2595 cli_testcase(1316, [cbc], ['../prob_examples/public_examples/B/Puzzles/Euler_Project/Euler_Problem_067.mch', '-init', '-strict', '-p', 'CLPFD', 'TRUE', '-assertions','-p', 'TIME_OUT', 5000 %increased time-out for cobra
2596 ], 'Test challenging puzzle').
2597 cli_testcase(1317, [csp_test,ltl], ['../prob_examples/public_examples/CSP/other/Ivo/Underscore_LTL.csp', '-ltlassertions', '-strict'], 'Checking underscore arguments in LTL formulas.').
2598 cli_testcase(1318, [b_test], ['-p', 'MAXINT', '5', '../prob_examples/public_examples/B/Demo/scheduler.mch', '-mc', '100', '-cc', '36', '156', '-p', 'DEFAULT_SETSIZE', '3', '-p', 'COMPRESSION' , 'TRUE'], 'Test COMPRESSION for spec using sets').
2599 cli_testcase(1319, [b_test], ['-p', 'MAXINT', '5', '../prob_examples/public_examples/B/Demo/scheduler.mch',
2600 '-mc', '100', '-bf', '-cc', '36', '156', '-p', 'DEFAULT_SETSIZE', '3', '-save_state',
2601 '../prob_examples/public_examples/B/Demo/scheduler_bf_states.P'], 'Test -save_state works').
2602 cli_testcase(1320, [cbc], [
2603 '-evalt', 's = {y|y>2 & y mod 33 /= 1} & r={x|x:30..100 & x /:s} & r={34,67,100}'], 'check b_not_test_closure_enum works').
2604 cli_testcase(1321, [cbc,wd], [
2605 '-evalnwd', '{} : (1..(10/0) +-> {22})',
2606 '-expcterr', well_definedness_error], 'check WD error detected for binary_in_definitely_true').
2607 cli_testcase(1322, [cbc,wd], [
2608 '-evalnwd', '{} : POW(1..(10/0))',
2609 '-expcterr', well_definedness_error], 'check WD error detected for unary_in_definitely_true').
2610 cli_testcase(1323, [eventb_test,tickets,theories], ['../prob_examples/public_examples/EventBPrologPackages/Tickets/testSUM_Theory_agg_op_ctx.eventb',
2611 '-init', '-assertions',
2612 '-strict'], 'Ensure no variable clash with agg_op1/2.').
2613 cli_testcase(1324, [b_test], [
2614 '-eval', 'a & b', % <-- error
2615 '-evalt', 'a=5',
2616 % '-p', 'BOOL_AS_PREDICATE', 'TRUE' % no longer exists, hence we now get an error:
2617 '-expcterr' ,parse_machine_predicate_error
2618 ], 'Extended formula syntax (is no longer supported).').
2619 cli_testcase(1325, [b_test,refinement,card], ['../prob_examples/public_examples/B/FeatureChecks/Refinement/RefDefSetAsEnumSet.mch',
2620 '-init', '-assertions',
2621 '-strict'], 'Ensure enumerated set declaration in refinement using all-diff with card detected.').
2622 cli_testcase(1326, [b_test,cse, cse_test, strings], ['-p', 'CSE', 'TRUE', '-p', 'TIME_OUT', 150,
2623 '-evalf', 'x:1..500000 & y:1..500000 & (x+y)**2 = 4+(x+y)**2',
2624 '-evalf', '(x*y*z) = (y*x*z)+10',
2625 '-evalf', '(x*y*z) = (y*z*x)+10',
2626 '-evalf', '(x*(z*y)) = ((y*x)*z)+10',
2627 '-evalf', '(x*y*z*z*x) = (z*x*y*x*z)+10',
2628 '-evalf', '(x*y*(z*z)*x) = (z*(x*y)*x*z)+10',
2629 '-evalf', '(x\\/y\\/v\\/x) /= (v\\/x\\/y) & x<:BOOL', % CSE does not fully detect LHS and RHS identical (because of idempotence)
2630 '-evalf', '(x\\/y\\/v\\/x) /= (v\\/x\\/x\\/y) & x<:BOOL',
2631 '-evalf', '(x\\/y\\/v\\/x) /= (v\\/x\\/x\\/y) & x<:STRING',
2632 '-evalf', '(x\\/y\\/v\\/x) <<: (v\\/x\\/x\\/y) & x<:STRING',
2633 '-evalf', '(x\\/y\\/v\\/x) /<: (v\\/x\\/x\\/y) & x<:STRING',
2634 '-evalt', '(x\\/y\\/v\\/x) <: (v\\/x\\/x\\/y) & x<:BOOL',
2635 '-evalt', '(x\\/y\\/v\\/x) /<<: (v\\/x\\/x\\/y) & x<:BOOL',
2636 '-evalt', '(x*y*(z*z)*x) = (z*(x*y)*x*z*x)-36 & x:0..2 & y:0..2 & z:0..3',
2637 '-evalt', '#x.((x>10+10) & (x>10+10 => b=TRUE) & x:1..200)',
2638 '-evalt', '{0|->1,4|->2}(x*2+x*2) > 1',
2639 '-evalt', '{0|->x*x, 1|->(x*x)+1}(v) = 9 & v:0..1 & x:0..10', % had WD error v:0..10
2640 '-evalt', '{xx,yy| xx:1..100 & yy>xx & yy<110 & xx|->yy:{yy,xx|xx:20..22 & yy:{xx-2,xx-3}}} = {(17|->20),(18|->20),(18|->21),(19|->21),(19|->22),(20|->22)}',
2641 '-evalt', '{xx,yy| xx:1..(90+5*2) & yy>xx & yy<100+(5*2) & xx|->yy:{yy,xx|xx:(10+5*2)..22 & yy:{xx-2,xx-3}}} = {(17|->20),(18|->20),(18|->21),(19|->21),(19|->22),(20|->22)}',
2642 '-evalt', '{xx,yy| xx:1..(90+5*2) & yy>xx & yy<100+(5*2) & xx-2 > 15 & xx-2 < 18 & xx|->yy:{yy,xx|xx:(10+5*2)..22 & yy:{xx-2,xx-3}}} = {(18|->20),(18|->21),(19|->21),(19|->22)}'
2643 ], 'Ensure CSE works').
2644 cli_testcase(1327, [tickets,cse], ['-p', 'CSE', 'TRUE', '-p', 'TIME_OUT', '150s',
2645 '-expcterr', set_eclipse_preference
2646 ], 'Ensure error in set preference discovered').
2647 cli_testcase(1328, [cbc_refinement,refinement], ['../prob_examples/examples/RodinModels/Seiter_RefinementChecking/auth_0_mch.eventb', '-cbc_refinement'], '').
2648 cli_testcase(1329, [cbc_refinement,refinement], ['../prob_examples/examples/RodinModels/Seiter_RefinementChecking/auth_1_mch.eventb', '-cbc_refinement'], '').
2649 cli_testcase(1330, [cbc_refinement,refinement], ['../prob_examples/examples/RodinModels/Seiter_RefinementChecking/auth_2_mch.eventb', '-cbc_refinement', '-expcterr', cbc_refinement], '').
2650 cli_testcase(1331, [tickets, slot], ['../prob_examples/public_examples/B/Tickets/PROB-356/SlotSolver.mch',
2651 '-init', '-p', 'TIME_OUT', '25000', '-eval', 'CHECK(ges, ger, 1)'
2652 ], 'Ensure no access record errors (PROB-356)').
2653 cli_testcase(1332, [tickets, slot], ['../prob_examples/public_examples/B/Tickets/PROB-355/SlotSolver.mch',
2654 '-init', '-p', 'TIME_OUT', '20000', '-eval', 's1 : COURSES & CHECK(s1, soz, 1)'
2655 ], 'Ensure no infinite loop (PROB-355)').
2656 cli_testcase(1333, [cbc_deadlock,cache], ['../prob_examples/public_examples/B/Benchmarks/Cruise_finite1.mch',
2657 '-p', 'MAX_INITIALISATIONS', 5, '-cbc_deadlock', '-strict', '-mc', '100', '-cache', '../prob_examples/public_examples/cache/', '-expcterr', 'model_check_incomplete'], 'Check that test 315 works with cache'). % TO DO: is much slower than without cache
2658 cli_testcase(1334, [b_test,cruise,cse_test,codespeed,hash], ['../prob_examples/public_examples/B/Benchmarks/Cruise_finite1.mch', '-strict', '-model_check', '-p', 'CSE', 'TRUE', '--hash64', 753243318772366897, '-p', 'MAX_INITIALISATIONS', 5, '-cc', '1361', '25696'], 'Check CSE for Cruise Controller'). % the hash is only valid on 64-bit systems ( conditional skip added); % 17.9.2021: adapted hash from 203058745203935766 for sorted order of variables, adapted hash on 8.12.2015 for new variable order
2659 cli_testcase(1335, [b_test,hash], ['../prob_examples/public_examples/B/Benchmarks/Cruise_finite1.mch', '-strict', '-mc', '20', '--hash64', 1095242179479036905, '-expcterr', 'hash', '-expcterr', 'model_check_incomplete'], 'Check that --hash option works').
2660 cli_testcase(1336, [tickets,slot,codespeed], ['../prob_examples/public_examples/B/Tickets/SLOT-24_no_print/SlotSolver.mch',
2661 '-init', '-evalt', 'CHECK(ges, ger, 1)', '-evalf', 'CHECK(rom, jap, 1)', '-main_assertions'
2662 ], 'Ensure no access record errors (SLOT-24)').
2663 cli_testcase(1337, [parser,tickets], ['../prob_examples/public_examples/B/Tickets/PARSERLIB-32/TestDefOrder.mch',
2664 '-mc', 100
2665 ], 'Ensure that definition order for predicate-definitions does not matter (PARSERLIB-32)').
2666 cli_testcase(1338, [private, tickets, recursion,slot, unsat_core], ['../prob_examples/examples/B/SlotTool/SlotTool_19092014/SlotSolver.mch',
2667 '-init', '-assertions'
2668 ], 'Ensure complicated unsat core computations keep on working (SLOT-24)').
2669 %cli_testcase(1339, [plugin_units,pragmas], ['../prob_examples/public_examples/B/PragmasUnits/InternalRepresentationTests/GenericUsageOfSquare.mch', '-plugin', 'units', '-strict', '-pp', '../prob_examples/public_examples/B/PragmasUnits/InternalRepresentationTests/GenericUsageOfSquare_internal.mch'], 'Check that operations calls and definitions are parametrical regarding units').
2670 cli_testcase(1340, [b_test,fairness,ltl], ['../prob_examples/public_examples/B/LTL/Fairness/RecursiveSCCs.mch', '-ltlformula', 'SF(C) & WF(D) => GF {addr=4 or addr =5}', '-expcterr', ltl, '-strict'], 'Test fairness implementation for finding the right counter example.').
2671 cli_testcase(1341, [b_test,cbc,cbc_tests], ['../prob_examples/public_examples/B/Demo/Bakery0.mch', '-bf', '-mc', 100, '--all_paths', '../prob_examples/public_examples/B/Demo/Bakery0_all_paths.xml', '-strict'], 'XML all path export.').
2672 cli_testcase(1342, [b_test,fairness,ltl], ['../prob_examples/public_examples/B/LTL/Fairness/M_Events_with_Args.mch', '-ltlformula', 'SF(Evt) => F (not(e(Evt1)) & not(e(Evt2)))', '-expcterr', ltl, '-strict'], 'Test fairness implementation for finding the right counter example.').
2673 cli_testcase(1343, [csp_test,assertions], ['../prob_examples/public_examples/CSP/other/Ivo/AlsoPatterns.csp', '-assertions', '-strict'], 'Testing enumerating of also patterns on channel data types.').
2674 cli_testcase(1344, [csp_test,assertions], ['../prob_examples/public_examples/CSP/other/Ivo/AParallel.csp', '-assertions', '-strict'], 'Testing pattern matching for alphabetised parallel operators.').
2675 cli_testcase(1345, [csp_test,assertions], ['../prob_examples/public_examples/CSP/other/Ivo/AParallel1.csp', '-assertions', '-strict'], 'Testing pattern matching for alphabetised parallel operators.').
2676 cli_testcase(1346, [csp_test,assertions], ['../prob_examples/public_examples/CSP/other/Andreas_Hense/P2P/p2p_v3.csp', '-assertions', '-strict'], 'Testing assertions in the CSP specification (for this specification ProB performs better than FDR2).').
2677 cli_testcase(1347, [csp_test], ['../prob_examples/public_examples/CSP/other/Andreas_Hense/ATM/ATM_v5.csp', '-t', '-strict'], '').
2678 cli_testcase(1348, [csp_test,assertions,records], ['../prob_examples/public_examples/CSP/other/Ivo/EnumeratingDataTypes.csp', '-assertions', '-strict'], 'Enumerating partial data type records.').
2679 cli_testcase(1349, [b_test,ltl], ['../prob_examples/public_examples/B/Ivo/Threads.mch', '-ltlassertions',
2680 '-ltlformula', 'GF deadlock(Step1_p1,Step1_p2)',
2681 '-ltlformula', 'G deterministic(Step1_p1,Sync)',
2682 '-ltlformula', 'G(e(Step1_p2) or controller(Step1_p1,Sync))',
2683 '-strict'], 'Covering the new APs (deadlock(...),deterministic(...), and controller(...)) of the LTL interpreter.').
2684 cli_testcase(1350, [cbc,tickets,cbc_tests], ['../prob_examples/examples/EventBPrologPackages/Savary/R08_ByteArray_mch.eventb', '-cbc_sequence', 'aload_R07' ], 'Check cbc sequence on example with partially enumerated sets').
2685 cli_testcase(1351, [tickets,data_validation], ['../prob_examples/examples/B/ClearSy/GeneralElectric_DV/Ticket_CLPFD_Overflow/Machine_Bug3.mch', '-init', '-p', 'MAXINT', '2147483647', '-p', 'MININT', '-2147483648', '-p', 'TIME_OUT', '3500',
2686 '-expcterrpos', type_error, 716, 48,
2687 '-expecterr', 'bmachine_construction',
2688 '-expcterrpos', 'bmachine_static_checks', 716, 0 % added this 15.12.2015 as we now also generate warning for length
2689 ], 'Check abs DEFINITION error message works (and VAR hides constant)').
2690 cli_testcase(1352, [tickets,while,data_validation], ['../prob_examples/examples/B/ClearSy/GeneralElectric_DV/Ticket_CLPFD_Overflow/Machine_Bug3_renamed.mch',
2691 '-t', '-p', 'MAXINT', '2147483647', '-p', 'MININT', '-2147483648', '-p', 'TIME_OUT', '3500' ], 'Check no error in compiling While loop').
2692 cli_testcase(1353, [b_test], [
2693 '-evalt', '{x|x>99988844111111222200 & x<99988844111111222300 & x mod 20 = 1} = res & 2000 /: res & 99988844111111222201 : res',
2694 '-eval', '{x|x>99988844111111222200 & x<99988844111111222300 & x mod 20 = 1}'
2695 , '-evalt', '{x|x>ll & x<99988844111111222300 & x mod 20 = 9} = res & (ll=99988844111111222200 or ll = 99988844111111222201) & 99988844111111222209 : res'
2696 , '-evalt', '{x|x>ll & x<99988844111111222300 & x mod 20 = 2} = res & 2000 /: res & 99988844111111222202 : res & (ll=99988844111111222200 or ll = 99988844111111222201)'
2697 ], 'Check CLPFD Overflow is caught').
2698 cli_testcase(1354, [ltl], ['../prob_examples/public_examples/B/Ivo/HDCP/HDCP0_mch_mch.eventb','-ltllimit', 10000,'-ltlfile','../prob_examples/public_examples/B/Ivo/HDCP/HDCP0.ltl', '-strict'], 'Regression test for checking LTL formulas.').
2699 cli_testcase(1355, [ltl], ['../prob_examples/public_examples/B/Ivo/HDCP/HDCP1_mch_mch.eventb','-ltllimit', 10000,'-ltlfile','../prob_examples/public_examples/B/Ivo/HDCP/HDCP1.ltl', '-strict'], 'Regression test for checking LTL formulas.').
2700 cli_testcase(1356, [cbc,cbc_tests], ['../prob_examples/public_examples/B/Benchmarks/Cruise_finite1.mch', '-cbc_tests', 4, '1=1', '../prob_examples/public_examples/B/Benchmarks/Cruise_finite1_cbc_tests.xml', '-expcterr', 'cbc_tests'], 'Check that full coverage cannot be achieved').
2701 cli_testcase(1357, [cbc,cbc_tests,enabling], ['../prob_examples/public_examples/B/Benchmarks/Cruise_finite1.mch', '-cbc_tests', 5, '1=1', '../prob_examples/public_examples/B/Benchmarks/Cruise_finite1_cbc_tests.xml', '-feasibility_analysis'], 'Check that full coverage can be achieved').
2702 cli_testcase(1358, [cbc,enabling], ['../prob_examples/examples/EventBPrologPackages/Savary/R08_ByteArray_enum_partition.eventb',
2703 '-p', 'TIME_OUT', 3000,
2704 '-feasibility_analysis_csv', 1500,
2705 '../prob_examples/examples/EventBPrologPackages/Savary/R08_ByteArray_enum_partition_feasibility.csv'], 'Check feasibility analysis works').
2706 cli_testcase(1359, [cbc,tickets], ['../prob_examples/public_examples/EventBPrologPackages/Tickets/SeqTest/SeqTest_ctx.eventb', '../prob_examples/public_examples/EventBPrologPackages/Tickets/SeqTest/SeqTest3_ctx.eventb',
2707 '../prob_examples/public_examples/EventBPrologPackages/Tickets/SeqTest/SortRecFunction_ctx.eventb',
2708 '-p', 'MAXINT', '3', '-t' ,'-assertions'], 'Check no enumeration warning').
2709 cli_testcase(1360, [cbc,enabling], ['../prob_examples/public_examples/B/CBC/FeasibilityOperationCheck.mch',
2710 '-opterr', 'clpfd_overflow',
2711 '-feasibility_analysis_csv', 750,'../prob_examples/public_examples/B/CBC/FeasibilityOperationCheck_feasibility.csv'], 'Check feasibility analysis works').
2712 cli_testcase(1361, [ctl,tickets], ['../prob_examples/public_examples/B/LTL/MammarFrappier/FlightSystem_corrected_3_3.mch',
2713 '-expcterrpos', 'bmachine_static_checks', 65, 4, % forall rhs does not use ids
2714 '-ctlformula', 'AG({Customers1|->Flights1 /: tickets} => EF({Customers1|->Flights1 : tickets}))',
2715 '-ltllimit', 100, '-expcterr', 'ctl_incomplete', '-expcterr', 'state_space',
2716 '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE'], 'Check that incomplete CTL model check detected').
2717 cli_testcase(1362, [ctl,tickets], ['../prob_examples/public_examples/B/LTL/MammarFrappier/FlightSystem_corrected_3_3.mch',
2718 '-expcterrpos', 'bmachine_static_checks', 65, 4, % forall rhs does not use ids
2719 '-ctlformulat', 'AG({Customers1|->Flights1 /: tickets} => EF({Customers1|->Flights1 : tickets}))',
2720 '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE', '-cc', 2199, 15212], 'Check that CTL model check works without ltllimit').
2721 cli_testcase(1363, [ctl], ['../prob_examples/public_examples/B/Simple/UpCounter.mch',
2722 '-p', 'MAXINT', 20,
2723 '-ctlformulaf', 'AG({c<mx})', '-his', '../prob_examples/public_examples/B/Simple/UpCounter_his.txt', '-his_option','show_states'
2724 ], 'Check that CTL model check works without ltllimit').
2725 cli_testcase(1364, [ctl], ['../prob_examples/public_examples/B/Demo/scheduler.mch',
2726 '-p', 'DEFAULT_SETSIZE', '3',
2727 '-ctlformulaf', 'AG {active={} or ready = {} or waiting ={}}', '-bf', '-mc', 9999, '-his', '../prob_examples/public_examples/B/Demo/scheduler_his.txt', '-his_option','show_states'
2728 ], 'Check that CTL model check generates correct counter example').
2729 cli_testcase(1365, [ctl], ['../prob_examples/public_examples/B/Demo/scheduler.mch',
2730 '-ctlformulat', 'AG({card(ready)>1} => EF {card(active)>0})',
2731 '-ctlformulat', 'AG EF {active = {}}',
2732 '-ctlformulat', 'EG {active = {}}',
2733 '-p', 'DEFAULT_SETSIZE', '3'
2734 ], 'Check CTL formulas').
2735 cli_testcase(1366, [cbc, cbc_tests,bmc], ['../prob_examples/public_examples/B/SymbolicModelChecking/TimingExampleSimpler_v2.mch', '-bmc', 50, '-his', '../prob_examples/public_examples/B/SymbolicModelChecking/TimingExampleSimpler_v2_his.txt', '-his_option','show_states',
2736 '-expcterr', 'invariant_violation'], 'Check BMC works').
2737 cli_testcase(1367, [cbc,tickets,bmc], ['../prob_examples/public_examples/B/Tickets/OpCallModifiesInfo/OpCallModifiesInfo.mch', '-bmc', 5,
2738 '-expcterr', 'invariant_violation'], 'Check Modifies Info correct for operation calls').
2739 cli_testcase(1368, [cbc,tickets], ['../prob_examples/public_examples/B/Tickets/ComponentPartitioning/ManyPartialFunctions.mch', '-init',
2740 '-p', 'DEFAULT_SETSIZE', 5], 'Check component partition works with equality inlining').
2741 cli_testcase(1369, [b_test,tla,tlc],['../prob_examples/public_examples/B/Simple/UpCounter.mch', '-mc_with_tlc'], 'TLC regression test').
2742 cli_testcase(1370, [cbc,cbc_tests], ['../prob_examples/public_examples/B/TestCaseGeneration/Aymerick/CBC_M_mch.eventb', '-cbc_tests', 4, '', '', '-expcterr', 'cbc_tests'], 'Check that full coverage cannot be achieved and no exceptions').
2743 cli_testcase(1371, [cbc,cbc_tests], ['../prob_examples/public_examples/B/TestCaseGeneration/Aymerick/CBC_M_mch.eventb', '-cbc_tests', 4, '', '', '-cbc_cover_match', 'c'], 'Check that cbc_cover_match option works').
2744 cli_testcase(1372, [b_test], ['../prob_examples/public_examples/B/Mathematical/FormaleSprachen.mch',
2745 '-p', 'SMT', 'TRUE',
2746 '-init','-assertions', '-strict'], 'Test 1264 but with SMT mode.').
2747 cli_testcase(1373, [private,codespeed,data_validation], ['../prob_examples/examples/B/Alstom/vesg_Aug11/gradient_train_altitude.mch',
2748 '-animate', 5, '-p', 'TIME_OUT', 300000000, '-p', 'MAXINT', 2147483647, '-p', 'MININT', -2147483647, '-p', 'CLPFD', 'FALSE'], 'Test Alstom example').
2749 cli_testcase(1374, [tickets,card], [
2750 '-evalf', 'n:0..4 & m=6 & not(((((card((1 .. n <-> 5 .. m) \\/ {{0 |-> 0}}) = 1 + card(1 .. n <-> 5 .. m) & card((1 .. n +-> 5 .. m) \\/ {{0 |-> 0}}) = 1 + card(1 .. n +-> 5 .. m)) & card((1 .. n --> 5 .. m) \\/ {{0 |-> 0}}) = 1 + card(1 .. n --> 5 .. m)) & card((1 .. n >+> 5 .. m) \\/ {{0 |-> 0}}) = 1 + card(1 .. n >+> 5 .. m)) & card((1 .. n >-> 5 .. m) \\/ {{0 |-> 0}}) = 1 + card(1 .. n >-> 5 .. m)) & card((1 .. n -->> 5 .. m) \\/ {{0 |-> 0}}) = 1 + card(1 .. n -->> 5 .. m))'],
2751 'Test that no choice points due to add_element').
2752 cli_testcase(1375, [cbc, cbc_tests, tickets,bmc], ['../prob_examples/public_examples/B/SymbolicModelChecking/Counters/VerySimpleCounterWrong.mch', '-bmc', 6,
2753 '-expcterr', 'invariant_violation'], 'Check BMC works').
2754 cli_testcase(1376, [private,data_validation], ['../prob_examples/examples/B/Systerel/C578/2013/machines_24092013/02_001_adapted.mch',
2755 '-init' ,'-assertions', '-p', 'SYMBOLIC', 'TRUE', '-p', 'MEMO', 'TRUE', '-p', 'CLPFD', 'TRUE', '-p', 'TIME_OUT', 155000,
2756 '-p', 'ENUMERATE_INFINITE_TYPES', 'FALSE', '-p', 'EXPAND_FORALL_UPTO', 0 ], 'Check performance (previously part of 1162)').
2757 cli_testcase(1377, [private,data_validation,cse_test], ['../prob_examples/examples/B/Alstom/CompilatonProject/Regles/Rule_TMS_Overlap_0017_2_ori.mch', '-animate_all', '-strict', '-cc', 49, 48, '-p', 'TIME_OUT', 35000, '-p', 'CLPFD', 'FALSE', '-p', 'MAXINT', 2147483647, '-p', 'MININT', -2147483647,
2758 '-p', 'MAX_OPERATIONS', 1, '-his', '../prob_examples/examples/B/Alstom/CompilatonProject/Regles/Rule_TMS_Overlap_0017_2_ori.his', '-sptxt', '../prob_examples/examples/B/Alstom/CompilatonProject/Regles/Rule_TMS_Overlap_0017_2_ori.sptxt', '-expcterr', invariant_violation, '-p', 'CSE', 'TRUE'], 'Rule Test 4 of Alstom compilation project with CSE'). % Signal_Overlap_SDDBs is non-deterministic: hence MAX_OPERATIONS 1
2759 cli_testcase(1378, [private,data_validation,cse_test], ['../prob_examples/examples/B/Alstom/CompilatonProject/Regles/Rule_DB_SIGAREA_0024_ori.mch', '-animate_all', '-strict', '-cc', 40, 39, '-p', 'TIME_OUT', 35000, '-p', 'CLPFD', 'FALSE', '-p', 'MAXINT', 2147483647, '-p', 'MININT', -2147483647, '-his', '../prob_examples/examples/B/Alstom/CompilatonProject/Regles/Rule_DB_SIGAREA_0024_ori.his', '-p', 'CSE', 'TRUE'], 'Rule Test 5 of Alstom compilation project with CSE').
2760 cli_testcase(1379, [private,data_validation,cse_test], ['../prob_examples/examples/B/Alstom/CompilatonProject/Regles/Rule_DB_Route_0001ori.mch', '-animate_all', '-strict', '-cc', 97, 96, '-p', 'TIME_OUT', 28000, '-p', 'CLPFD', 'FALSE', '-p', 'MAXINT', 2147483647, '-p', 'MININT', -2147483647, '-his', '../prob_examples/examples/B/Alstom/CompilatonProject/Regles/Rule_DB_Route_0001ori.his', '-p', 'CSE', 'TRUE'], 'Rule Test 1 of Alstom compilation project (test 981) with CSE').
2761 cli_testcase(1380, [private,data_validation,alstom,cse_test], ['../prob_examples/examples/B/Alstom/CompilatonProject/Regles/Rule_TMS_ESA_TRIGGER_0009_ori.mch', '-strict', '-cc', 112, 111, '-p', 'MAXINT', 2147483647, '-p', 'MININT', -2147483647, '-t', '-p', 'CSE', 'TRUE'], 'Rule Test 2 of Alstom compilation project with CSE').
2762 cli_testcase(1381, [tickets,cse_test], ['../prob_examples/public_examples/B/Tickets/CSE/BoolValue.mch',
2763 '../prob_examples/public_examples/B/Tickets/CSE/ExplicitComputations_Reduced.mch',
2764 '-init', '-p', 'CSE', 'TRUE'], 'Check sharing of predicates works').
2765 cli_testcase(1382, [cbc, disprover], ['../prob_examples/examples/B/Alstom/DisproverProject/prob13265_hyp_removed.mch',
2766 '-cbc_assertions', '-p', 'MAX_INITIALISATIONS', 0], 'Check partitioning for cbc_assertions works').
2767 cli_testcase(1383, [tickets, external,data_validation], ['../prob_examples/examples/B/Alstom/Ticket_Dec08_2014/Segment_refAdhesionLevel_GER5.mch',
2768 '-t', '-sptxt', '../prob_examples/examples/B/Alstom/Ticket_Dec08_2014/Segment_refAdhesionLevel_GER5_sptxt.txt'], 'Check join works in conjunction with perm with paritally instantiated lists').
2769 cli_testcase(1384, [cbc,sigma,card], [
2770 '-evalt', '{y|SIGMA(x).(x:1..10 & x mod 5 = 0|x+y) = 215} = {100}',
2771 '-evalt', '{y|PI(x).(x:1..10 & x mod 5 = 0|x+y) = 66} = {-16,1}',
2772 '-evalt', 'SIGMA(x).(x:{y} \\/ {z}|x) = 10 & y>z & z>0',
2773 '-evalt', '{y,z|SIGMA(x).(x:{y} \\/ {z}|x+3) = 10 & y>z & z>0} = {(3,1)}',
2774 '-evalt', 'SIGMA(i).(i:1..1000|i)=500500',
2775 '-evalt', 'SIGMA(i).(i:0..1000|i)=500500',
2776 '-evalt', 'SIGMA(i).(i:-2..1000|i)=500497',
2777 '-evalt', 'SIGMA(i).(i:-3..1000|i)=500494',
2778 '-evalt', 'SIGMA(i).(i:-2..-3|i)=0',
2779 '-evalt', '{y,m|PI(x).(x:1..3|x+y) = m & m:25..100} = {(2,60)}',
2780 '-evalt', 'x = [a,b,c,d,e,f,g,h,i,j,k,l,m,n,o] & SIGMA(i).(i:dom(x)|x(i))=124 & !j.(j:2..size(x) => x(j-1)<x(j)) & a>0',
2781 '-evalf', 's:seq(NATURAL1) & size(s)=220 & SIGMA(i).(i:1..size(s)|s(i)) = 200',
2782 '-evalf', 'x = SIGMA(i).(i:1..n|i) & x<0',
2783 '-evalt', 'x = SIGMA(i).(i:1..n|i) & n>1 & x = 5050',
2784 '-evalt', '{n|5050 = SIGMA(i).(i:1..n|i)} = {100}',
2785 '-evalf', 'x = SIGMA(i).(i:1..n|i) & n>100 & x < 5151',
2786 '-evalt', '{x,n|x = SIGMA(i).(i:-3..n|i) & n>1 & x < 5150 & x>5100} = {(5145,101)}',
2787 '-evalf', 's = [x,10,y] & PI(i).(i:dom(s)|s(i)) = r & x>0 & y>0 & r<10',
2788 '-evalt', 's<:11..15 & card(s)<3 & SIGMA(x).(x:s|x)=23'
2789 ], 'Check constraint propagation of SIGMA / PI work better now').
2790 cli_testcase(1385, [cbc,sigma], ['../prob_examples/public_examples/B/Puzzles/Minesweeper.mch',
2791 '../prob_examples/public_examples/B/Puzzles/Minesweeper_v2.mch',
2792 %'../prob_examples/public_examples/B/Puzzles/Minesweeper_v3.mch', still time-out
2793 '../prob_examples/public_examples/B/Puzzles/Minesweeper_v4.mch',
2794 '-init', '-cbc_assertions'], 'Check this version with SIGMA can be solved efficiently').
2795 cli_testcase(1386, [cbc,atelierb], ['../prob_examples/examples/B/Alstom/DisproverProject/FalsePO1.mch',
2796 '-cbc_assertions', '-expecterr', 'cbc_assertions', '-cbc_result_file', '../prob_examples/examples/B/Alstom/DisproverProject/ProB_Result.txt'], 'Test Atelier-B Disprover interface').
2797 cli_testcase(1387, [cbc,atelierb,chr], ['../prob_examples/examples/B/Alstom/DisproverProject/TimeOutPO1.mch',
2798 '-p', 'CHR', 'TRUE', '-p', 'DISPROVER_MODE', 'TRUE',
2799 '-cbc_assertions',
2800 '-cbc_result_file', '../prob_examples/examples/B/Alstom/DisproverProject/ProB_Result.txt'], 'Test Atelier-B Disprover interface').
2801 cli_testcase(1388, [cbc,atelierb,chr], ['../prob_examples/examples/B/Alstom/DisproverProject/TruePO1.mch',
2802 '-p', 'CHR', 'TRUE', '-p', 'DISPROVER_MODE', 'TRUE',
2803 '-cbc_assertions',
2804 '-cbc_result_file', '../prob_examples/examples/B/Alstom/DisproverProject/ProB_Result.txt'], 'Test Atelier-B Disprover interface').
2805 cli_testcase(1389, [cbc,atelierb,chr], ['../prob_examples/examples/B/Alstom/DisproverProject/DeferredSetPO1.mch',
2806 '-p', 'CHR', 'TRUE', '-p', 'DISPROVER_MODE', 'TRUE',
2807 '-cbc_assertions',
2808 '-cbc_result_file', '../prob_examples/examples/B/Alstom/DisproverProject/ProB_Result.txt'], 'Test Atelier-B Disprover interface').
2809 cli_testcase(1390, [tickets,infinite], [
2810 '-evalf', '({1}*INTEGER)=f & res = f[{1}] & res=MININT..MAXINT', %'-expcterr', eval_string_enum_warning]
2811 '-evalf', '({1}*NATURAL1)=f & res = f[{1}] & res=MININT..MAXINT',
2812 '-evalt', '({1}*INT)=f & res = f[{1}] & res=MININT..MAXINT',
2813 '-evalt', '({1}*INTEGER)=f & res = f[{1}] & not(res:FIN(res))',
2814 '-evalt', '({1}*NATURAL)=f & res = f[{1}] & res = NATURAL'],
2815 'Check that we do not report first formula as true'). % we used to report unknown until "image for infinite cartesian product" improvement in Aug 2025
2816 cli_testcase(1391, [tickets,proz], ['../prob_examples/public_examples/Z/Daniel/Praxis/network2.fuzz',
2817 '../prob_examples/public_examples/Z/Daniel/scheduler.fuzz',
2818 '../prob_examples/public_examples/Z/Daniel/SudokuSETS9.fuzz',
2819 '../prob_examples/public_examples/Z/Daniel/watergate.fuzz',
2820 '-t'],
2821 'Ensure no pending co-routines for instantiation of freetype value (network2)').
2822 cli_testcase(1392, [cbc,sigma], [
2823 '-evalt', 'r = {s1,s2| SIGMA(i).(i:s1|i) = SIGMA(j).(j:s2|j)} & {x,y}|->{10}:r & {6}|->{x}:r',
2824 '-evalt', 'r = {s1,s2| SIGMA(i).(i:s1|i) = SIGMA(j).(j:s2|j)} & {x,y|{x,y}|->{10}:r & {6}|->{x}:r} = {(6,4)}',
2825 '-evalf', '{x,y}=s & {v,w,z}=r & s<:r & r<:11..14 & SIGMA(i).(i:s|i) > SIGMA(j).(j:r|j)' % already worked before
2826 ], 'Check that we can find a solution : choice point enumerated before enumerating y').
2827 cli_testcase(1393, [tickets,slot,codespeed], ['../prob_examples/public_examples/B/Tickets/SLOT-PERFORMANCE3_no_print/WiWiSolver.mch',
2828 '-init', % '-v', % generates non-ground closure warnings
2829 '-evalt', '{x,s,y| x:MAJORS & s : 1..6 & y = bool(CHECK_P_WP_SEMESTER(x, s))} = {((bwl_bachelor|->1)|->TRUE),((bwl_bachelor|->2)|->TRUE),((bwl_bachelor|->3)|->FALSE),((bwl_bachelor|->4)|->FALSE),((bwl_bachelor|->5)|->FALSE),((bwl_bachelor|->6)|->TRUE),((bwl_master|->1)|->FALSE),((bwl_master|->2)|->FALSE),((bwl_master|->3)|->FALSE),((bwl_master|->4)|->TRUE),((bwl_master|->5)|->TRUE),((bwl_master|->6)|->TRUE),((vwl_bachelor|->1)|->TRUE),((vwl_bachelor|->2)|->TRUE),((vwl_bachelor|->3)|->FALSE),((vwl_bachelor|->4)|->FALSE),((vwl_bachelor|->5)|->TRUE),((vwl_bachelor|->6)|->TRUE),((vwl_master|->1)|->FALSE),((vwl_master|->2)|->TRUE),((vwl_master|->3)|->FALSE),((vwl_master|->4)|->TRUE),((vwl_master|->5)|->TRUE),((vwl_master|->6)|->TRUE),((wichem_bachelor|->1)|->TRUE),((wichem_bachelor|->2)|->TRUE),((wichem_bachelor|->3)|->TRUE),((wichem_bachelor|->4)|->TRUE),((wichem_bachelor|->5)|->FALSE),((wichem_bachelor|->6)|->FALSE),((wichem_master|->1)|->TRUE),((wichem_master|->2)|->FALSE),((wichem_master|->3)|->TRUE),((wichem_master|->4)|->TRUE),((wichem_master|->5)|->TRUE),((wichem_master|->6)|->TRUE)}'
2830 ], 'Ensure no time-out due to total-function setup too late').
2831 cli_testcase(1394, [tickets,alstom,private,codespeed,union,data_validation], ['../prob_examples/examples/B/Alstom/ixl/lausanne.mch', '-t',
2832 '-p', 'TIME_OUT', 5000], 'Ensure no time-out due to rel_compose calling union without WF').
2833 cli_testcase(1395, [cbc, symmetry_test], ['../prob_examples/public_examples/B/SymmetryReduction/DefSetWithConstantsTest2.mch', '-init',
2834 '-expecterr', 'setup_constants_fails', '-p', 'TIME_OUT', '9000'], 'Ensure static symmetry reduction works').
2835 cli_testcase(1396, [cbc, symmetry_test], ['../prob_examples/public_examples/B/SymmetryReduction/DefSetWithConstantsTest3.mch', '-mc', 9999, '-nodead',
2836 '-cc', 19, 18 ], 'Ensure static symmetry reduction works').
2837 cli_testcase(1397, [cbc, forall], ['../prob_examples/public_examples/B/Puzzles/HandshakeSimple_TotFun.mch', '-mc', 1000, '-nodead', '-assertions', '-expcterr', 'model_check_incomplete' ], 'Ensure forall quantifier also uses contrapositive').
2838 cli_testcase(1398, [cbc, symmetry_test,cbc_tests], ['../prob_examples/public_examples/B/SymmetryReduction/DefSetWithConstantsTest2.mch', '-cbc_sequence', '',
2839 '-expecterr', 'cbc_sequence_no_solution_found'], 'Ensure static symmetry reduction works').
2840
2841 cli_testcase(1399, [cbc], [
2842 '-evalf', 'v0 = (x0 - x2) & v1 = (x1 - x2) & v2 = (x0 - x1) & v0 <= 1 & v0 >= 0 & v1 <= 1 & v1 >= 0 & not(x0 = x1) & not(v2 = 1) & not(v2 = -1) & v2+v1=v0'
2843 ], 'Check that we can detect inconsistency without enum warning'). % requires propagate_zero in clpfd_interface; variation of toroidal queens 2 with v2+v1=v0 added for CLPFD
2844 cli_testcase(1400, [cbc,disprover,chr], [
2845 '-evalf', 'v0 = (x0 - x2) & v1 = (x1 - x2) & v2 = (x0 - x1) & v0 <= 1 & v0 >= 0 & v1 <= 1 & v1 >= 0 & not(x0 = x1) & not(v2 = 1) & not(v2 = -1)',
2846 '-evalf' , 'not(v2=1) & v0 = (x0 - x2) & v1+x2 = (x1) & v2+x1 = (x0) & v0:0..1 & v1:0..1 & not(x0 = x1) & not(v2 = -1)',
2847 '-p', 'CHR', 'TRUE'
2848 ], 'Check that we can detect inconsistency without enum warning'). % requires propagate_zero in clpfd_interface + IDL CHR rules; derived from toroidal queens 2 SMT benchmark
2849
2850 cli_testcase(1401, [tickets,csp_test,cspb,sequences], ['../prob_examples/public_examples/CSPB/Tickets/PROB-369/BufferSpec2.fuzz', '-csp-guide', '../prob_examples/public_examples/CSPB/Tickets/PROB-369/BufferSpec2.csp', '-mc', '100', '-strict', '-t',
2851 '-evalt', '-2 mod 3 = 1'], 'Check synchronisation with sequence type works and z minor mode set for modulo (PROB-368, PROB-369, PROB-371)').
2852 cli_testcase(1402, [cbc,atelierb,chr,disprover,private], ['../prob_examples/examples/B/Alstom/DisproverProject/TruePO1_Taut.mch',
2853 '-p', 'CHR', 'TRUE', '-p', 'DISPROVER_MODE', 'TRUE',
2854 '-cbc_assertions_tautology_proof',
2855 '-cbc_result_file', '../prob_examples/examples/B/Alstom/DisproverProject/ProB_Result.txt'], 'Test Atelier-B Disprover interface').
2856 cli_testcase(1403, [cbc,smt,chr], [
2857 %'../prob_examples/public_examples/SMT/QF_IDL/queens_bench/n_queen/queen3-1.smt2', % Virtual Timeout
2858 '../prob_examples/public_examples/SMT/QF_IDL/queens_bench/n_queen/queen8-1.smt2',
2859 '../prob_examples/public_examples/SMT/QF_IDL/queens_bench/n_queen/queen10-1.smt2',
2860 '../prob_examples/public_examples/SMT/QF_IDL/queens_bench/n_queen/queen20-1.smt2',
2861 '../prob_examples/public_examples/SMT/QF_IDL/queens_bench/toroidal_bench/toroidal_queen2-1.smt2',
2862 '../prob_examples/public_examples/SMT/QF_IDL/queens_bench/toroidal_bench/toroidal_queen3-1.smt2',
2863 '../prob_examples/public_examples/SMT/QF_IDL/queens_bench/toroidal_bench/toroidal_queen5-1.smt2',
2864 '../prob_examples/public_examples/SMT/QF_IDL/queens_bench/super_queen/super_queen10-1.smt2',
2865 '../prob_examples/public_examples/SMT/QF_IDL/queens_bench/super_queen/super_queen20-1.smt2',
2866 '../prob_examples/public_examples/SMT/QF_IDL/mathsat/fischer/FISCHER1-1-ninc.smt2',
2867 '../prob_examples/public_examples/SMT/QF_IDL/mathsat/fischer/FISCHER1-2-ninc.smt2',
2868 '../prob_examples/public_examples/SMT/QF_IDL/mathsat/fischer/FISCHER2-1-ninc.smt2',
2869 '../prob_examples/public_examples/SMT/QF_IDL/mathsat/fischer/FISCHER2-2-ninc.smt2',
2870 '../prob_examples/public_examples/SMT/QF_IDL/mathsat/fischer/FISCHER2-3-ninc.smt2',
2871 '../prob_examples/public_examples/SMT/QF_IDL/mathsat/fischer/FISCHER3-1-ninc.smt2',
2872 '../prob_examples/public_examples/SMT/QF_IDL/mathsat/fischer/FISCHER3-2-ninc.smt2',
2873 '../prob_examples/public_examples/SMT/QF_IDL/mathsat/fischer/FISCHER3-3-ninc.smt2',
2874 '../prob_examples/public_examples/SMT/QF_IDL/mathsat/fischer/FISCHER3-4-ninc.smt2',
2875 '../prob_examples/public_examples/SMT/QF_IDL/mathsat/fischer/FISCHER4-1-ninc.smt2',
2876 '../prob_examples/public_examples/SMT/QF_IDL/mathsat/fischer/FISCHER4-2-ninc.smt2',
2877 '../prob_examples/public_examples/SMT/QF_IDL/mathsat/fischer/FISCHER5-2-ninc.smt2',
2878 '../prob_examples/public_examples/SMT/QF_IDL/mathsat/fischer/FISCHER12-2-ninc.smt2',
2879 '-p', 'CHR', 'TRUE', '-p', 'SMT', 'TRUE'], 'Test SMT interface and solving').
2880 %
2881
2882 cli_testcase(1404, [ltl], ['../prob_examples/public_examples/EventBPrologPackages/ABZ_Landing_Gear/Ref4_ControllerHandle_mch.eventb', '-mc', 99999, '-cc' , 8629, 41811,
2883 '-ltlformulaf', 'G (deterministic(con_stop_stimulate_extend_gear_valve,con_stimulate_extend_gear_valve,con_stop_stimulate_retract_gear_valve,con_stimulate_retract_gear_valve,con_stop_stimulate_close_door_valve,con_stimulate_close_door_valve,con_stop_stimulate_open_door_valve,con_stimulate_open_door_valve))'
2884 ], 'Check LTL pattern deterministic (false: e.g. con_stimulate_close_door_valve and con_stimulate_open_door_valve are enabled together)'). % changed formula expectation on 28.11.2026, the deterministic check had a bug
2885 cli_testcase(1405, [dot], ['-p', 'DOT_LEGEND', 'FALSE', '../prob_examples/public_examples/B/Simple/VerySimpleDFA.mch', '-bf', '-mc', 1000, '-strict', '-dotexpr', transition_diagram, 's',
2886 '../prob_examples/public_examples/B/Simple/VerySimpleDFA_transition_diagram.dot',
2887 '-p', 'DOT_LOOPS', 'FALSE' % added 7/11/2023
2888 ],'Check Transition Diagram for Expression.').
2889 cli_testcase(1406, [b_test,cbc,atelierb,disprover], ['-cbc_assertions_tautology_proof', '-p', 'DISPROVER_MODE', 'TRUE', '-p', 'ALLOW_UNTYPED_IDENTIFIERS', 'TRUE',
2890 '-expcterr', 'cbc_assertions_enumeration_warning',
2891 '../prob_examples/examples/B/Alstom/DisproverProject/TypingIssues/prob17066_not_provable.mch'
2892 ], 'Check ProB finds no counter example for rule and no proof').
2893 cli_testcase(1407, [b_test,cbc,atelierb,disprover], ['-cbc_assertions_tautology_proof', '-p', 'DISPROVER_MODE', 'TRUE', '-p', 'ALLOW_UNTYPED_IDENTIFIERS', 'TRUE',
2894 '../prob_examples/examples/B/Alstom/DisproverProject/TypingIssues/prob17066_provable.mch'
2895 ], 'Check ProB finds no counter example for rule and no proof').
2896
2897 cli_testcase(1408, [cbc,sigma], [
2898 '-evalt', 'x+y+z+v=40 & x<y & y<z & z<v &x>0 & all = {x,y,z,v} & gen = {a1,a2,a3,r| a1\\/a2\\/a3=all & a1/\\a2={} & a2/\\a3={} & a1/\\a3={} & r=SIGMA(t1).(t1:a1|t1)-SIGMA(t2).(t2:a2|t2)} & 1..40 <: ran(gen)', % Stones Puzzle
2899 '-evalt' , 'all = {1,2,4} & gen = {a1,a2,r| a1\\/a2=all & a1/\\a2={} & r=SIGMA(t1).(t1:a1|t1)+SIGMA(t2).(t2:a2|t2)}'
2900 ], 'Check that partition propagates well (no enum warning)').
2901
2902 cli_testcase(1409, [cbc,disprover,private], [
2903 '../prob_examples/public_examples/ProofObligations/GearDoor1_mch.pl',
2904 '../prob_examples/public_examples/ProofObligations/GearsDoorsHandle3_mch.pl',
2905 '../prob_examples/examples/ProofObligations/ABZ14_Mery/M2_mch.pl',
2906 '../prob_examples/examples/ProofObligations/ABZ14_Mery/M20_mch.pl',
2907 '../prob_examples/examples/ProofObligations/ABZ14_Mery/M3_mch.pl',
2908 '../prob_examples/examples/ProofObligations/ABZ14_Mery/M30_mch.pl',
2909 '../prob_examples/public_examples/ProofObligations/Abrial_ABZ_Devel3/m1_true.pl',
2910 '../prob_examples/public_examples/ProofObligations/Abrial_ABZ_Devel3/m2_mch.pl',
2911 '-p', 'DOUBLE_EVALUATION', 'FALSE'
2912 %,'../prob_examples/examples/ProofObligations/ABZ14_Mery/M4_mch.pl'
2913 ],'Check Disprover can prove all POs').
2914 cli_testcase(1410, [cbc,disprover,private], [
2915 '../prob_examples/examples/ProofObligations/Abrial_Ch4_Brp/brp_1_true.pl',
2916 '../prob_examples/examples/ProofObligations/Abrial_Ch4_Brp/brp_3_true.pl',
2917 '-p', 'DOUBLE_EVALUATION', 'FALSE'
2918 ],'Check Disprover can prove all POs; this test also checks register predicate works better').
2919 cli_testcase(1411, [cbc,disprover], [
2920 '../prob_examples/public_examples/ProofObligations/DisproverDefSetTest2_ctx.pl',
2921 '../prob_examples/public_examples/ProofObligations/DisproverDefSetTest3_ctx.pl',
2922 '../prob_examples/public_examples/ProofObligations/DisproverDefSetTest4_ctx.pl',
2923 '-check_disprover_result', 0,0,2,
2924 '-p', 'DOUBLE_EVALUATION', 'FALSE'
2925 ],'Check Disprover cannot prove po').
2926 cli_testcase(1412, [cbc,random,sigma], [
2927 '-p', 'RANDOMISE_ENUMERATION_ORDER', 'TRUE',
2928 '-evalt', 'x:1..20 --> 1..100 & SIGMA(v).(v:1..20|x(v)) = 20*50'
2929 % without random we get x = [100,100,100,100,100,100,100,100,100,90,1,1,1,1,1,1,1,1,1,1]
2930 % with it: e.g., x = [46,29,99,5,2,61,100,49,46,23,8,61,37,100,99,29,98,8,5,95]
2931 ],'Check random enumeration').
2932 cli_testcase(1413, [cbc,chr,disprover], [
2933 '-p', 'CHR', 'TRUE',
2934 '-evalf', 'xx>0 & xx+1 <= p & xx=p'
2935 %'-evalf', 'xx>0 & xx+2 <= p & xx=p' % does not work yet
2936 ],'Check CHR propagation').
2937 cli_testcase(1414, [b_test,cbc,atelierb,disprover,private], ['-cbc_assertions_tautology_proof', '-p', 'DISPROVER_MODE', 'TRUE',
2938 '-p', 'CHR', 'TRUE', '-p', 'CSE', 'TRUE',
2939 %'../prob_examples/examples/B/Alstom/DisproverProject/ProvableByPP/prob9313.mch', % does not work yet
2940 '../prob_examples/examples/B/Alstom/DisproverProject/ProvableByPP/prob9313_1.mch'
2941 ], 'Check ProB finds proof').
2942 cli_testcase(1415, [cbc,random], [
2943 '-p', 'RANDOMISE_ENUMERATION_ORDER', 'TRUE',
2944 '../prob_examples/public_examples/B/FeatureChecks/RandomEnumeration.mch',
2945 '-init', '-assertions'
2946 ],'Check random enumeration').
2947 cli_testcase(1416, [b_test], ['../prob_examples/public_examples/B/ErrorMachines/ImplicationPriority.mch','-expcterr',bmachine_static_checks, '-init'], 'Test warning thrown for strange PROPERTIES clause.').
2948 cli_testcase(1417, [cbc,card], ['../prob_examples/public_examples/B/PerformanceTests/SetMultipleSolutions.mch', '-mc', 100, '-nodead'], 'Test no max-reached warning (improvement to cardinality_as_int1 which avoids unordered enumeration).').
2949 cli_testcase(1418, [cbc,sigma,card], [
2950 '-evalf', 'card(s)=5 & card(r)=3 & SIGMA(x).(x:r|x)=SIGMA(y).(y:s|y) & s<:0..16 & r<:s',
2951 '-evalt', 'card(x)=10 & !y.(y:x & y<50 => y+1:x) & x<:1..50',
2952 '-evalt', '{x|card(x)=10 & !y.(y:x & y<50 => y+1:x) & x<:1..50} = {41..50}',
2953 '-evalt', '{x|card(x)=50 & !y.(y:x & y<50 => y+1:x) & x<:1..50} = {1..50}',
2954 '-evalt', '{x|card(x)=150 & !y.(y:x & y<50 => y+1:x) & x<:1..50} = {}',
2955 '-evalt', 'card(x)=10 & !(y,z).(y|->z:x & y<50 => y+1|->z:x) & x<:(1..50)*{TRUE}',
2956 '-evalt', 'card(x)=10 & !(y).(y:x & y\'f1<50 => rec(f1:y\'f1+1):x) & x<:struct(f1:1..50)',
2957 '-evalt', 'card(x)=10 & !(y,z).(y|->z:x & y<50 => y+1|->z:x) & x<:(1..50)*{"A","B"}'
2958 % slow:'-evalt', 'card(x)=10 & !(y).(y:x & y\'f1<50 => rec(f1:y\'f1+1,f2:y\'f2):x) & x<:struct(f1:1..50,f2:BOOL)'
2959 % also slow: card(x)=10 & !(y).(y:x & prj1(INTEGER,BOOL)(y)<50 => (prj1(INTEGER,BOOL)(y)+1,TRUE):x) & x<:(1..50)*BOOL
2960 % fast: card(x)=10 & !(y).(y:x & prj1(INTEGER,BOOL)(y)<50 => (prj1(INTEGER,BOOL)(y)+1,prj2(INTEGER,BOOL)(y)):x) & x<:(1..50)*BOOL
2961 % slow card(x)=4 & !(y).(y:x & y'f2<50 => rec(f2:y'f2+1,f1:y'f1):x) & x<:struct(f2:1..50,f1:BOOL)
2962 % slow : card(x)=10 & !(y,z).(z|->y:x => ( y<50 => z|->y+1:x)) & x<:BOOL*(1..50)
2963 ], 'Test this is solved quickly using new ordered_value check for card.').
2964 cli_testcase(1419, [cbc,card], [ '-p', 'SMT', 'TRUE',
2965 '-evalt', 'card(x)=1 & !(y).(y:x & y\'f1<50 => rec(f1:y\'f1+1,f2:y\'f2):x) & x<:struct(f1:1..50,f2:BOOL)',
2966 '-evalt', 'card(x)=10 & !(y).(y:x & y\'f1<50 => rec(f1:y\'f1+1,f2:y\'f2):x) & x<:struct(f1:1..50,f2:{TRUE})',
2967 '-evalt', 'card(x)=1 & !(y).(y:x & prj1(INTEGER,BOOL)(y)<50 => (prj1(INTEGER,BOOL)(y)+1,TRUE):x) & x<:(1..50)*BOOL'
2968 ], 'Test this is solved quickly using new ordered_value check for card & avoid bug in expand all quantifier.').
2969 cli_testcase(1420, [tickets,sigma], [
2970 '-evalt', 'Z={((((1|->1)|->-59843)|->-57163)),((((2|->1)|->-57163)|->-56910))} & r=SIGMA(a,b,c,d).((a,b,c,d):Z|d-c)'
2971 ], 'Test issue with Sigma/Pi for multiple variables').
2972 cli_testcase(1421, [symbolic_model_checker], ['../prob_examples/public_examples/B/SymbolicModelChecking/Counters/InfiniteAndFiniteCounterCorrect.mch', '-symbolic_model_check', 'ic3'], 'Contains Finite and Infinite Counter').
2973 cli_testcase(1422, [symbolic_model_checker], ['../prob_examples/public_examples/B/SymbolicModelChecking/Counters/InfiniteAndFiniteCounterWrong.mch', '-symbolic_model_check', 'ic3', '-expcterr', 'invariant_violation'], 'Contains Finite and Infinite Counter + Invariant Violation').
2974 cli_testcase(1423, [symbolic_model_checker], ['../prob_examples/public_examples/B/SymbolicModelChecking/Counters/InfiniteCounter.mch', '-symbolic_model_check', 'ic3'], 'Contains Infinite Counter').
2975 cli_testcase(1424, [symbolic_model_checker], ['../prob_examples/public_examples/B/SymbolicModelChecking/Counters/VerySimpleCounter.mch', '-symbolic_model_check', 'ic3'], 'Simple Counter').
2976 cli_testcase(1425, [symbolic_model_checker], ['../prob_examples/public_examples/B/SymbolicModelChecking/Counters/VerySimpleCounterWrong.mch', '-symbolic_model_check', 'ic3', '-expcterr', 'invariant_violation'], 'Simple Counter + Invariant Violation').
2977 cli_testcase(1426, [symbolic_model_checker], ['../prob_examples/public_examples/B/SymbolicModelChecking/Counters/VerySimpleCounterWrongLargeBranching.mch', '-symbolic_model_check', 'ic3', '-expcterr', 'invariant_violation'],'Simple Counter with large branching factor').
2978 cli_testcase(1427, [error_checks], ['../prob_examples/public_examples/B/ErrorMachines/InitTriesToAssignConstant.mch', '-t', '-strict', '-expcterr', 'type_error', '-expcterr', 'load_main_file'], 'Check that we detect when we assign a constant in the INITIALISATION').
2979 cli_testcase(1428, [symbolic_model_checker], ['../prob_examples/public_examples/B/SymbolicModelChecking/Bakery0.mch', '-symbolic_model_check', 'ic3'], 'Bakery Model without Invariant Violation').
2980 cli_testcase(1429, [symbolic_model_checker], ['../prob_examples/public_examples/B/SymbolicModelChecking/Bakery0Wrong.mch', '-symbolic_model_check', 'ic3', '-expcterr', 'invariant_violation'], 'Bakery Model with Invariant Violation').
2981 cli_testcase(1430, [laws], ['../prob_examples/public_examples/B/Laws/SetLawsNatural.mch', '-mc', '500', '-cs', '-nogoal', '-nodead', '-strict', '-p', 'CLPFD', 'TRUE', '-expcterr', 'model_check_incomplete'], 'Mathematical Laws about Sets with Natural sets mixed').
2982 cli_testcase(1431, [symbolic_model_checker], ['../prob_examples/public_examples/B/SymbolicModelChecking/TimingExampleSimpler_v2_VariablesEvenMoreLimited.mch', '-symbolic_model_check', 'ic3', '-expcterr', 'invariant_violation'], 'Invariant Violation, Variables limited to finite sets').
2983 cli_testcase(1432, [symbolic_model_checker], ['../prob_examples/public_examples/B/SymbolicModelChecking/TimingExampleSimpler_v3_VariablesLimited.mch', '-symbolic_model_check', 'ic3'], 'No Invariant Violation, Variables limited to finite sets').
2984 cli_testcase(1433, [symbolic_model_checker], ['../prob_examples/public_examples/B/SymbolicModelChecking/TimingExampleSimpler_v2.mch', '-symbolic_model_check', 'ic3', '-expcterr', 'model_check_incomplete'], 'Negative Test: Currently the solvers are too weak for this test.').
2985 cli_testcase(1434, [symbolic_model_checker], ['../prob_examples/public_examples/B/SymbolicModelChecking/TimingExampleSimpler_v3.mch', '-symbolic_model_check', 'ic3', '-expcterr', 'model_check_incomplete'], 'Negative Test: Currently the solvers are too weak for this test.').
2986 cli_testcase(1435, [cbc, symmetry_test,card], ['../prob_examples/public_examples/B/CBC/GraphMining_RunningExample_Unsat.mch', '-init', '-expcterr', 'setup_constants_fails',
2987 '-opterr', 'setup_constants_inconsistent'], 'Test odered set symmetry breaking works with card(S)>Nr constraint.').
2988 cli_testcase(1436, [cbc,disprover,private], [
2989 '../prob_examples/public_examples/ProofObligations/GearDoor1_mch.pl',
2990 '../prob_examples/public_examples/ProofObligations/GearsDoorsHandle3_mch.pl',
2991 '../prob_examples/examples/ProofObligations/ABZ14_Mery/M2_mch.pl',
2992 '../prob_examples/examples/ProofObligations/ABZ14_Mery/M20_mch.pl',
2993 '../prob_examples/examples/ProofObligations/ABZ14_Mery/M3_mch.pl',
2994 '../prob_examples/examples/ProofObligations/ABZ14_Mery/M30_mch.pl',
2995 '../prob_examples/public_examples/ProofObligations/Abrial_ABZ_Devel3/m1_true.pl',
2996 '../prob_examples/public_examples/ProofObligations/Abrial_ABZ_Devel3/m2_mch.pl',
2997 '../prob_examples/public_examples/ProofObligations/Abrial_ABZ_Devel2/m0_mch.pl',
2998 '../prob_examples/public_examples/ProofObligations/Abrial_ABZ_Devel2/m1_mch.pl',
2999 '../prob_examples/public_examples/ProofObligations/Abrial_ABZ_Devel2/m2_mch.pl',
3000 '../prob_examples/public_examples/ProofObligations/Abrial_ABZ_Devel1/LPN0_mch.pl',
3001 '../prob_examples/public_examples/ProofObligations/Abrial_ABZ_Devel1/LPN1_mch.pl',
3002 '../prob_examples/public_examples/ProofObligations/Abrial_ABZ_Devel1/LPN2_mch.pl',
3003 '-p', 'DOUBLE_EVALUATION', 'TRUE'
3004 %,'../prob_examples/examples/ProofObligations/ABZ14_Mery/M4_mch.pl'
3005 ],'Test 1409 with double check').
3006 cli_testcase(1437, [cbc,disprover,private], [
3007 '../prob_examples/examples/ProofObligations/Abrial_Ch4_Brp/brp_1_true.pl',
3008 '../prob_examples/examples/ProofObligations/Abrial_Ch4_Brp/brp_3_true.pl',
3009 '-p', 'DOUBLE_EVALUATION', 'TRUE'
3010 ],'Test 1410 with double check').
3011 cli_testcase(1438, [cbc,disprover], [
3012 '../prob_examples/public_examples/ProofObligations/DisproverDefSetTest2_ctx.pl',
3013 '../prob_examples/public_examples/ProofObligations/DisproverDefSetTest3_ctx.pl',
3014 '../prob_examples/public_examples/ProofObligations/DisproverDefSetTest4_ctx.pl',
3015 '-check_disprover_result', 0,0,2,
3016 '-p', 'DOUBLE_EVALUATION', 'TRUE'
3017 ],'Test 1411 with double check').
3018 cli_testcase(1439, [cbc], ['../prob_examples/public_examples/B/Tickets/LambdaInverse/LambdaInverseBehaviour.mch', '-init', '-sptxt', '../prob_examples/public_examples/B/Tickets/LambdaInverse/LambdaInverseBehaviour.sptxt'], 'Test no lambda closure in result state.').
3019 cli_testcase(1440, [cbc,disprover], [
3020 '../prob_examples/public_examples/ProofObligations/InconsistenHyp_ctx.pl',
3021 '-p', 'DOUBLE_EVALUATION', 'TRUE', '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
3022 '-expcterr', 'disprover_inconsistent_hypotheses'
3023 ],'Test 1411 with double check').
3024 cli_testcase(1441, [disprover,s21], [
3025 '../prob_examples/public_examples/ProofObligations/S21/train_0_mch.pl',
3026 '-timeout', 500, % sets disprover_timeout
3027 '-opterr', 'disprover_inconsistent_hypotheses', % with larger time_out or faster machine we can find those
3028 '-check_disprover_result', '>10',0,'<25' % on faster machine we can get 12,0,23
3029 % [inv6/WD,inv7/WD,inv8/WD,INITIALISATION/inv3/INV,INITIALISATION/inv5/INV,INITIALISATION/inv4/INV,INITIALISATION/inv6/INV,INITIALISATION/inv7/INV,INITIALISATION/inv8/INV,FRONT_MOVE_1/grd2/WD,FRONT_MOVE_1/act1/WD]
3030 ],'S21 proof obligations').
3031 cli_testcase(1442, [disprover,s21], [
3032 '../prob_examples/public_examples/ProofObligations/S21/train_1_mch.pl',
3033 '-check_disprover_result', '>15',0,'<28', % changed 8th January 2018 to 16,0,27, was 15,0,28, after improved propagation for function application; see test 1885; changed to >15,0,<28 for faster Gitlab Win64 runners
3034 '-opterr', 'disprover_inconsistent_hypotheses' % with larger time_out or faster machine we can find those
3035 ],'S21 proof obligations').
3036 cli_testcase(1443, [disprover,s21], [
3037 '../prob_examples/public_examples/ProofObligations/S21/train_2_mch.pl',
3038 '-timeout', 500, % sets disprover_timeout
3039 '-opterr', 'disprover_inconsistent_hypotheses', % with larger time_out or faster machine we can find those
3040 '-check_disprover_result', '>=0',0,'=<6'
3041 ],'S21 proof obligations').
3042 cli_testcase(1444, [disprover,s21], [
3043 '../prob_examples/public_examples/ProofObligations/S21/train_3_mch.pl',
3044 '-check_disprover_result', 11,0,0,
3045 '-expcterr', 'disprover_inconsistent_hypotheses'
3046 ],'S21 proof obligations').
3047 cli_testcase(1445, [disprover,s21], [
3048 '../prob_examples/public_examples/ProofObligations/S21/train_4_mch.pl',
3049 '-check_disprover_result', 1,0,0,
3050 '-expcterr', 'disprover_inconsistent_hypotheses'
3051 ],'S21 proof obligations').
3052 cli_testcase(1446, [disprover,s21], [
3053 '../prob_examples/public_examples/ProofObligations/S21/train_5_mch.pl',
3054 '-check_disprover_result', 79,0,0,
3055 '-expcterr', 'disprover_inconsistent_hypotheses'
3056 ],'S21 proof obligations').
3057 cli_testcase(1447, [disprover,s21], [
3058 '../prob_examples/public_examples/ProofObligations/S21/train_ctx0_ctx.pl',
3059 % '-check_disprover_result', 1,10,6,
3060 '-check_disprover_result', 5,10,2,
3061 % proven: [axm10/WD]
3062 % disproven: [axm2/THM,axm3/THM,axm4/THM,axm5/THM,axm6/THM,axm7/THM,axm8/THM,axm11/THM,axm10/THM,axm9/THM]
3063 '-timeout', 2000 % timeout per PO
3064 ],'S21 proof obligations').
3065 cli_testcase(1448, [disprover,s21], [
3066 '../prob_examples/public_examples/ProofObligations/S21/train_ctx1_ctx.pl',
3067 '-check_disprover_result', 1,0,2
3068 ],'S21 proof obligations, axm2/WD can be proven'). /* was skipped: PO 'axm2/WD' no longer provable due to change of cardinality3 block declaration; was fixed by merging kernel_cardinality */
3069 cli_testcase(1449, [disprover,s21], [
3070 '../prob_examples/public_examples/ProofObligations/S21/train_ctx2_ctx.pl',
3071 '-check_disprover_result', 7,0,0,
3072 '-expcterr', 'disprover_inconsistent_hypotheses'
3073 ],'S21 proof obligations').
3074 cli_testcase(1450, [disprover,s21], [
3075 '../prob_examples/public_examples/ProofObligations/S21/train_ctx5_ctx.pl',
3076 '-check_disprover_result', 0,0,0
3077 ],'S21 proof obligations').
3078 cli_testcase(1451, [cbc,atelierb,chr,unsat_core], ['../prob_examples/examples/B/Alstom/DisproverProject/TrueContradiction.mch',
3079 '-p', 'CHR', 'TRUE', '-p', 'DISPROVER_MODE', 'TRUE',
3080 '-cbc_assertions', '-cbc_option', contradiction_check, '-cbc_option', tautology_check , '-cbc_option', unsat_core,
3081 '-cbc_result_file', '../prob_examples/examples/B/Alstom/DisproverProject/ProB_Result.txt',
3082 '-strict', '-expcterr', contradiction_in_hypotheses], 'Test Atelier-B Disprover interface').
3083 cli_testcase(1452, [disprover,exists], [
3084 '../prob_examples/public_examples/ProofObligations/Mammar_Laleau_ABZ/Cylinders_mch.pl',
3085 '-timeout', 2500, % sets disprover_timeout
3086 '-check_disprover_result', 37,0,0,
3087 '-expcterr',bmachine_static_checks % the body of an existential quantifier is indeed accidentally an implication
3088 ],'ABZ Mammar Laleau - requires exists expansion').
3089 cli_testcase(1453, [disprover], [
3090 '../prob_examples/public_examples/ProofObligations/Mammar_Laleau_ABZ/Gears_mch.pl',
3091 %'../prob_examples/public_examples/ProofObligations/Mammar_Laleau_ABZ/Doors_mch.pl',
3092 '../prob_examples/public_examples/ProofObligations/Mammar_Laleau_ABZ/GearsIntermediateStates_mch.pl',
3093 '../prob_examples/public_examples/ProofObligations/Mammar_Laleau_ABZ/Failures_mch.pl', % requires good reification of partial_function test
3094 '-opterr',bmachine_static_checks % the body of an existential quantifier is indeed accidentally an implication
3095 % #x.(P(x)) => Q is actually parsed (#x. P(x) => Q) in Rodin !!
3096 ],'ABZ Mammar Laleau POs should all be proven, test closure reification').
3097 cli_testcase(1454, [disprover,cbc], ['-p','SMT','TRUE',
3098 '-evalf', 'not(handler_ind : dom({FALSE |-> d,TRUE |-> c}) &{FALSE |-> a,TRUE |-> b} : BOOL +-> INTEGER) & handler_ind : BOOL & d:INTEGER', % other small test
3099 '-evalf', 'not(handler_ind : dom({FALSE |-> d,TRUE |-> c}) &{FALSE |-> a,TRUE |-> b} : BOOL --> INTEGER) & handler_ind : BOOL & d:INTEGER', % other small test
3100 '-evalf', 'not(f<+{po |-> {TRUE |-> currentTime + 12,FALSE |-> 16}(po)} : BOOL --> NATURAL) & f : BOOL --> NATURAL&po=TRUE & currentTime:NATURAL', % this checks not_total_function improvement
3101 '-evalf', 'not(f <+ {po |-> {TRUE |-> currentTime + 12,FALSE |-> 16}(po)} : BOOL +-> NATURAL) & f : BOOL +-> NATURAL & currentTime>0', % this checks not_partial_function improvement
3102 '-evalf', 'not(BOOL * {currentTime + 4} : BOOL --> NATURAL) & currentTime >0' % this checks not_subset improvement for not_total_function
3103 ],'Check reification of x:NATURAL and choice point in not_total_function and not_partial_function').
3104 cli_testcase(1455, [cbc,atelierb,disprover], ['-p', 'CHR', 'TRUE', '-p', 'DISPROVER_MODE', 'TRUE',
3105 '-evalf', 'not(#(i0).(i0 : INTEGER & ((tdc <+ {i |-> TRUE}) <+ {i0 |-> TRUE} = {1,2,3} * {TRUE} & door_closing = TRUE => door_closed = FALSE))) & (door_closing = TRUE => (door_open = FALSE & door_closed = FALSE))',
3106 '-opterr',bmachine_static_checks
3107 ], 'Test splitting of existential quantifier').
3108 % some laws also checked in CHR+DISPROVER mode:
3109 cli_testcase(1456, [laws,rel_fnc,cbc,disprover], ['../prob_examples/public_examples/B/Laws/ExplicitComputations.mch', '-t', '-mc', '100000', '-nodead', '-cs', '-strict', '-p', 'CLPFD', 'TRUE', '-p', 'TIME_OUT', '9000',
3110 '-p', 'DISPROVER_MODE', 'TRUE'], 'Many explicit computations which check that all operators work as expected on various concrete data (CLPFD+DISPROVER mode).').
3111 cli_testcase(1457, [laws,chr], ['../prob_examples/public_examples/B/Laws/BoolLaws.mch', '-mc', '100000', '-nodead', '-cs', '-strict','-p', 'DOUBLE_EVALUATION', 'TRUE',
3112 '-p', 'DISPROVER_MODE', 'TRUE', '-p', 'CHR', 'TRUE'], 'Various laws about BOOL datatype and boolean connectives.').
3113 cli_testcase(1458, [laws,chr], ['../prob_examples/public_examples/B/Laws/ArithmeticLaws.mch', '-mc', '100000', '-cs', '-nodead', '-strict','-p', 'DOUBLE_EVALUATION', 'TRUE',
3114 '-p', 'DISPROVER_MODE', 'TRUE', '-p', 'CHR', 'TRUE'], 'Various arithmetic laws.').
3115 cli_testcase(1459, [laws,chr], ['../prob_examples/public_examples/B/Laws/NatRangeLaws.mch', '-mc', '100000', '-cs', '-nodead', '-strict','-p', 'DOUBLE_EVALUATION', 'TRUE',
3116 '-p', 'DISPROVER_MODE', 'TRUE', '-p', 'CHR', 'TRUE'], 'Laws about intervals etc.').
3117 cli_testcase(1460, [laws,rel_fnc,chr], ['../prob_examples/public_examples/B/Laws/RelLaws.mch', '-mc', '500', '-cs', '-nogoal', '-nodead', '-strict','-p', 'DOUBLE_EVALUATION', 'TRUE',
3118 '-p', 'DISPROVER_MODE', 'TRUE', '-p', 'CHR', 'TRUE', '-expcterr', 'model_check_incomplete'], 'Use model checking to check a variety of laws on relations.').
3119 cli_testcase(1461, [laws,chr], ['../prob_examples/public_examples/B/Laws/SetLaws.mch', '-mc', '500', '-cs', '-nogoal', '-nodead', '-strict', '-p', 'CLPFD', 'FALSE',
3120 '-p', 'DISPROVER_MODE', 'TRUE', '-p', 'CHR', 'TRUE', '-expcterr', 'model_check_incomplete'], 'Mathematical Laws about Sets').
3121 cli_testcase(1462, [cbc,atelierb,disprover], ['-p', 'CHR', 'TRUE', '-p', 'DISPROVER_MODE', 'TRUE',
3122 '-evalf', 'not(!(i0).(i0 : {1,2,3} => (three_door_open <+ {i |-> FALSE})(i0) = FALSE or three_door_closed(i0) = FALSE)) & three_door_open : {1,2,3} --> BOOL & three_door_closed : {1,2,3} --> BOOL & ( door_open = TRUE => three_door_open = {1,2,3} * {TRUE}) & ( door_closed = TRUE => three_door_closed = {1,2,3} * {TRUE}) & !(i).(i : {1,2,3} => three_door_open(i) = FALSE or three_door_closed(i) = FALSE) & (door_open = FALSE or door_closed = FALSE)',
3123 '-evalf', 'not( (gears_rtr = TRUE <=> three_gears_rtr <+ {i |-> TRUE} = {1,2,3} * {TRUE} )) & ( gears_rtr = TRUE <=> three_gears_rtr = {1,2,3} * {TRUE}) & i : {1,2,3} & three_gears_ext(i) = FALSE & three_gears_rtr(i) = FALSE & (three_gears_rtr <+ {i |-> TRUE}) /= {1,2,3} * {TRUE} '
3124 ], 'Test improved treatment of function overwrite').
3125 cli_testcase(1463, [disprover], [
3126 '../prob_examples/public_examples/ProofObligations/Abrial_ABZ_Devel2/m6_mch.pl',
3127 '-timeout', 600, % sets disprover_timeout
3128 '-check_disprover_result', '>101',0,'<2' % on a fast machine we can get 103 true and 0 unknown, otherwise 102 and 1
3129 ],'Requires function overwrite + better sharing of negated preds').
3130 cli_testcase(1464, [cbc,cse, cse_test,sigma], [ '-p', 'CSE', 'TRUE',
3131 '-evalf', 'x+y >100 & x+y <99',
3132 '-evalt', '(x+y)+(x+y)=(x+y) & x:INTEGER',
3133 '-evalt', '((x+y)+z)*(x+y)+((x+z)+y) + (x+z) = 0',
3134 '-evalt', '!x.(x:NATURAL &x+z<10 => x+z<11) & z=2',
3135 '-evalt', 'SIGMA(x).(x:NATURAL &x+z<4 | x+z)=5 & z=2',
3136 '-evalt', 'PI(x).(x:NATURAL &x+z<4 | x+z)=6 & z=2',
3137 '-evalt', '(z>1 => #x.(x:NATURAL &x+z<10 & x+z<11)) & z=2',
3138 '-evalt', '%(x).(x:NATURAL1 &x+z<4 | x+z)=[3] & z=2',
3139 '-evalt', '{x,r | x:NATURAL1 &x+z<4 & r= x+z}=[3] & z=2',
3140 '-evalt', '{v|v+(x+x) : 0..10 & v:0..5 & v+(x+x) < 3}={0} & x+x : 0..4',
3141 '-evalt', 'f:BOOL +-> 0..10 & (f/={} => f(TRUE)>5) & (FALSE:dom(f)=> f(TRUE)>5)',
3142 '-evalt', 'f:BOOL +-> 0..10 & (f/={} => f(TRUE)>5) <=> b=TRUE & (FALSE:dom(f)=> f(TRUE)>5) <=> b=FALSE',
3143 '-evalt', 'f:1..3+->1..3 & (x:dom(f) => #r.(r=f(x) & r>2 & r<10))<=>b=TRUE & x:3..4 & f={}',
3144 '-evalt', 'f:BOOL +-> 0..10 & (f/={} => (f(TRUE)>5 <=> c=TRUE)) <=> b=TRUE & (FALSE:dom(f)=> (f(TRUE)>5<=>c=FALSE)) <=> b=FALSE & c=FALSE',
3145 '-evalf', 'a: 1..6 --> {0,1,5} & b: 1..3 --> {30,210,21} & SIGMA(i).(i:1..0|a(i))+SIGMA(j).(j:1..3|b(i))=20 & r=b(i)'
3146 ], 'Some simple CSE tests').
3147
3148 cli_testcase(1465,[cse, cse_test,private],['-p', 'CSE', 'TRUE', '-p', 'MAXINT', 127, '-p', 'MININT', -128,
3149
3150 '-evalt_file', '../prob_examples/examples/Setlog/prob-ttf/plavis-MemoryLoad_SP_55.prob',
3151 '-evalt_file', '../prob_examples/examples/Setlog/prob-ttf/qsee-TransmitMemoryDumpOk21_SP_6.prob'
3152 % ,'-evalt_file', '../prob_examples/examples/Setlog/prob-ttf/plavis-TransData_SP_13.prob' %% does not work yet
3153 ], 'Test from 1003').
3154 cli_testcase(1466,[cse,tickets], ['-p', 'CSE', 'TRUE',
3155 '../prob_examples/public_examples/ProofObligations/Abrial_ABZ_Devel3/m3_act0_inv2_as_b.mch',
3156 '-init'
3157 ], 'Test WD issue does not prevent from finding solution').
3158
3159 cli_testcase(1467, [disprover,private], [
3160 '../prob_examples/examples/ProofObligations/Pacemaker_1_15March2011/M0_AOO_mch.pl',
3161 '-check_disprover_result', 27,0,1
3162 ],'Pacemaker proof obligations').
3163 cli_testcase(1468, [por,enabling], ['../prob_examples/public_examples/B/Ivo/DepEnabling.mch', '-mc', '1000000', '-noinv', '-p', 'por', ample_sets, '-expcterr', deadlock, '-strict'], 'Testing whether the deadlock state is found when model checking with POR.').
3164 cli_testcase(1469, [por,enabling], ['../prob_examples/public_examples/B/Ivo/DepEnabling.mch', '-mc', '1000000', '-noinv', '-p', 'por', ample_sets, '-expcterr', deadlock, '-strict'], 'Testing whether the deadlock state is found when model checking with POR.').
3165 cli_testcase(1470, [csp_test,fairness,ltl], ['../prob_examples/public_examples/CSP/LTL/mbuff.csp', '-ltlformula', 'SF(snd_mess.t1.d1) & SF(mess.t1.d1) & SF(rcv_mess.t1.d1) & SF(right.t1.d1) => G ([left.t1.d1] => F [right.t1.d1])', '-check_complete', '-cc', '1406', '4063', '-strict'], 'Test fairness implementation.').
3166 cli_testcase(1471, [csp_test,fairness,ltl], ['../prob_examples/public_examples/CSP/LTL/mbuff.csp', '-ltlformula', 'SEF => G ([left.t1.d1] => F [right.t1.d1])', '-check_complete', '-cc', '1406', '4063', '-strict'], 'Test fairness implementation.').
3167 cli_testcase(1472, [csp_test,fairness,ltl], ['../prob_examples/public_examples/CSP/LTL/peterson.csp', '-ltlformula', 'WF(p2enter) & WF(p2critical) & WF(p2leave) & WF(p2resetflag2) & WF(p2set1turn) & WF(p1set2turn) & WF(p1gettrueflag2) & WF(p2gettrueflag2) & WF(p2gettrueflag1) & WF(p1get1turn) & WF(p2get2turn) & WF(p1enter) => G ([p1setflag1] => F [p1enter])', '-check_complete', '-cc', 57, 113, '-strict'], 'Test fairness implementation.').
3168 cli_testcase(1473, [csp_test,fairness,ltl], ['../prob_examples/public_examples/CSP/LTL/peterson.csp', '-ltlformula', 'WEF => G ([p1setflag1] => F [p1enter])', '-check_complete', '-cc', 57, 113, '-strict'], 'Test fairness implementation (skipped until next ProB parser release).').
3169 cli_testcase(1474, [csp_test,fairness,ltl], ['../prob_examples/public_examples/CSP/LTL/pris.csp', '-ltlformula', 'SF(in.A) & SF(in.B) & SF(in.C) => F[done]', '-cc', 48, 61, '-strict'], 'Test fairness implementation.').
3170 cli_testcase(1475, [csp_test,fairness,ltl], ['../prob_examples/public_examples/CSP/LTL/pris.csp', '-ltlformula', 'SEF => F[done]', '-cc', 48, 61, '-strict'], 'Test fairness implementation (skipped until next ProB parser release).').
3171 cli_testcase(1476, [csp_test,fairness,ltl], ['../prob_examples/public_examples/CSP/LTL/scheduler.csp', '-ltlformula', 'WF(ready.5) & WF(ready.4) & WF(ready.3) & WF(ready.2) & WF(leave.1) => G ([enter.1] => F [leave.1])', '-cc', 3194, 12046, '-strict'], 'Test fairness implementation.').
3172 cli_testcase(1477, [csp_test,fairness,ltl], ['../prob_examples/public_examples/CSP/LTL/scheduler.csp', '-ltlformula', 'WEF => G ([enter.1] => F [leave.1])', '-cc', 3194, 12046, '-strict'], 'Test fairness implementation (skipped until next ProB parser release).').
3173 cli_testcase(1478, [cbc,cse, cse_test,sigma], [ '-p', 'CSE', 'FALSE', '-p', 'SMT', 'TRUE',
3174 '-evalf', 'a: 1..6 --> {0,1,5} & b: 1..3 --> {30,210,21} & SIGMA(i).(i:1..0|a(i))+SIGMA(j).(j:1..3|b(i))=20 & r=b(i)'
3175 ], 'Test new FDSET collection for function application').
3176 cli_testcase(1479, [csp_test,fairness,ltl], ['../prob_examples/public_examples/CSP/LTL/scheduler.csp', '-ltlformula', 'SF(ready.5) & SF(ready.4) & SF(ready.3) & SF(ready.2) & SF(leave.1) => G ([enter.1] => F [leave.1])', '-strict'], 'Test fairness implementation (fix of the memory exhaustion issue).').
3177 cli_testcase(1480, [csp_test,fairness,ltl], ['../prob_examples/public_examples/CSP/LTL/scheduler.csp', '-ltlformula', 'SF(ready.5) & SF(ready.4) & SF(ready.3) & SF(ready.2) & SF(delete.1) => G ([new.1] => F [delete.1])', '-strict'], 'Test fairness implementation (fix of the memory exhaustion issue).').
3178 cli_testcase(1481, [csp_test,fairness,ltl], ['../prob_examples/public_examples/CSP/LTL/phils.csp', '-ltlformula', 'SF(sits._) => G ([sits.0] => F [eats.0])', '-expcterr', ltl, '-strict'], 'Testing fairness check to fail when using _ as argument in order to set a group of events (e.g. sits._) as fairness constraints.').
3179 cli_testcase(1482, [tickets,override], ['../prob_examples/public_examples/EventBPrologPackages/Tests/FunOverrideTest.mch', '-mc', 99, '-strict'], 'Test f(x) := E substitution deals with f being a relation.').
3180 cli_testcase(1483, [laws,sequences], ['../prob_examples/public_examples/B/Laws/SeqLaws.mch', '-mc', '500', '-nogoal', '-nodead', '-strict', '-p', 'CLPFD', 'TRUE', '-assertions'], 'Laws about sequences').
3181 cli_testcase(1484, [cbc,tickets], [
3182 '-evalt', 'res=x*x+4*x+14',
3183 '-evalt', 'x*x+4*x+14=res'
3184 ], 'Check no CLPFD overflow').
3185 cli_testcase(1485, [tickets], [
3186 '-evalt', 'x = -(x) & y={x,2} & z={x,3}',
3187 '-evalt', 'x = -v & v=2+w & w=10 & y={x,2} & z={x,3}'
3188 ], 'Check no error in predicate partitioning and equality replacement').
3189 cli_testcase(1486, [b_test,override], ['-t', '-strict', '../prob_examples/public_examples/B/FeatureChecks/OverrideRelationAssignment.mch'], 'Check function override assignment works for relation').
3190 cli_testcase(1487, [records,cbc], [
3191 '-evalf', 'r:struct(f1:11..20,f2:12..20) & r\'f1+10 = r\'f2',
3192 '-evalt', 'r:struct(f1:11..20,f2:12..30) & r\'f1+10 = r\'f2',
3193 '-evalt', 'r:struct(f1:11..20,f2:12..30) & r\'f1+10 = r\'f2 & s:struct(f1:15..20,f2:1..100) & s=r'
3194 ], 'A few REPL tests with records').
3195 cli_testcase(1488, [cbc], [
3196 '-evalf', 'A /= {} & A <<: {x} & x:INTEGER', % NotSubsetoOfSingleton
3197 '-evalf', '{(x,y)} <: R & x /: dom(R) & R : INTEGER <-> INTEGER', % SingletonNotSubsetRel
3198 '-evalf', 'X /\\ Y = Z & X = {} & Z /= {} & X<:INTEGER', % dinters(X,Y,Z) & X = {} & Z neq {} --> false
3199 '-evalf', 'R:INTEGER<->INTEGER & A={} & Q= A <| R & dom(Q)=D & D /= {}', %DresEmpty2 % is_rel(R) & A = {} & dres(A,R,Q) & dom(Q,D) & D neq {}
3200 '-evalf', 'R:INTEGER<->INTEGER & R /= {} & dom(R)=D & D <<: {X}', % DomNotSubsetOfSingleton % is_rel(R) & R neq {} & dom(R,D) & ssubset(D,{X})
3201 '-evalf', 'R:INTEGER<->INTEGER & R /= {} & dom(R)=D & A=D & A <| R=Q & R /\\ Q = {}', % DresCapEqual
3202 '-evalf', 'R:INTEGER<->INTEGER & R /= {} & dom(R)=D & A=D & A <| R = {}', % DresEqual
3203 '-evalf', 'R:INTEGER<->INTEGER & dom(R)=D & X /: D & dom({(X,Y),B}) = DS & D=DS & Y:INTEGER', % SingletonMappletNotInDom % is_rel(R) & dom(R,D) & X nin D & dom({[X,Y] / B},DS) & D = DS
3204 % This does not work R:INTEGER<->INTEGER & dom(R)=D & X /: D & dom({(X,Y),B,B2}) = DS & D=DS & Y:INTEGER
3205 '-p', 'CLPFD', 'TRUE'
3206 ], 'Check that ProB can handle Setlog TTF filtering rules').
3207 cli_testcase(1489, [b_test,proz,private],['../prob_examples/examples/Z/Cristia/birthdayBook/zspec.fuzz', '-t', '-p', 'DEFAULT_SETSIZE', 3, '-strict'],'ProZ test (new Init/init schema detection)').
3208 cli_testcase(1490, [cbc_tests,cbc,proz,private],['../prob_examples/examples/Z/Cristia/birthdayBook/zspec.fuzz',
3209 '-cbc_tests', 2 ,'', '', '-cbc_cover_all'],'Check that we can cover all events').
3210 cli_testcase(1491, [eventb_test,infinite,override], ['../prob_examples/public_examples/EventBPrologPackages/FeatureTests/InfiniteChanges_mch.eventb', '-t'], 'Test that we can override infinite functions.').
3211 cli_testcase(1492, [tickets,alstom,random,private], ['../prob_examples/examples/B/Alstom/ixl_Apr_2015/scheduler_i.mch', '-animate', 10, '-p', 'CLPFD', 'FALSE',
3212 '-p', 'TIME_OUT', 12000, % increased time-out from 6000 for gitlab windows runner on Feb 9th 2020
3213 '-p', 'RANDOMISE_ENUMERATION_ORDER', 'TRUE'], 'Test that random enumeration works without CLPFD.').
3214 cli_testcase(1493, [operation_reuse], ['../prob_examples/public_examples/B/Ivo/SkippingComplexGuardsEvaluation_mch_mx5000.eventb',
3215 '-mc', 1000000, '-p', 'OPERATION_REUSE', 'TRUE', %'-p', 'pge', full,
3216 '-expcterr', bmachine_static_checks, % implication inside exists
3217 '-get_coverage_information',
3218 '../prob_examples/public_examples/B/Ivo/SkippingComplexGuardsEvaluation_mch_mx5000_Coverage.txt', '-strict'], 'Pathological test case for the PGE optimisation: 0 guard evaluations should be skipped.').
3219 cli_testcase(1494, [operation_reuse], ['../prob_examples/public_examples/B/Ivo/NoDisablings_mx5.eventb', '-mc', 1000000,
3220 '-p', 'OPERATION_REUSE', 'TRUE', %'-p', 'pge', full,
3221 '-get_coverage_information', '../prob_examples/public_examples/B/Ivo/NoDisablings_mx5_Coverage.txt', '-strict'], 'Pathological test case for the PGE optimisation: fixed number of guard evaluations should be skipped.').
3222 cli_testcase(1495, [operation_reuse,enabling], ['../prob_examples/public_examples/B/Ivo/PGE_Deadlock.mch', '-mc', 1000000, '-noinv', '-p', 'OPERATION_REUSE', 'TRUE', % '-p', 'pge', full,
3223 '-expcterr', deadlock, '-strict'], 'Testing whether the deadlock state is discovered when -noinv is set (invariant should not be used for the enabling analysis when model checking just for deadlock freedom).').
3224 cli_testcase(1496, [operation_reuse], ['../prob_examples/public_examples/B/Ivo/PGE_Deadlock.mch', '-mc', 1000000,
3225 '-p', 'OPERATION_REUSE', 'TRUE', %'-p', 'pge', full,
3226 '-expcterr', invariant_violation, '-strict'], 'Testing whether the invariant violation is discovered.').
3227 cli_testcase(1497, [operation_reuse], ['../prob_examples/public_examples/B/Ivo/PGE_Deadlock.mch', '-ltlformulaf', 'G not deadlock', '-p', 'OPERATION_REUSE', 'TRUE', % '-p', pge, full,
3228 '-strict'], 'Testing whether the deadlock state is discovered when using PGE while LTL model checking.').
3229 cli_testcase(1498, [cbc,queens,card], [
3230 '-evalt', '{x| x:1..3 -->> 5..7 & x(2)=6} = {{(1|->5),(2|->6),(3|->7)},{(1|->7),(2|->6),(3|->5)}}',
3231 '-evalt', '{x| x:1..3 -->> 5..7 & x(2)>x(3)} = {{(1|->7),(2|->6),(3|->5)},{(1|->5),(2|->7),(3|->6)},{(1|->6),(2|->7),(3|->5)}}',
3232 '-evalt', '{x| x:1..3 -->> 5..8 & x(2)>x(3)}={}',
3233 '-evalt', 'n = 50 & queens : 1..n -->> 1..n &!(q1,q2).(q1:1..n & q2:2..n & q2>q1 => queens(q1)+q2-q1 /= queens(q2) & queens(q1)-q2+q1 /= queens(q2))',
3234 '-evalt', '{x| x:1..3 +->> 5..7 & x(2)=6} = {{(1|->5),(2|->6),(3|->7)},{(1|->7),(2|->6),(3|->5)}}',
3235 '-evalt', '{x| x:1..3 +->> 5..7 & x(2)>x(3)} = {{(1|->7),(2|->6),(3|->5)},{(1|->5),(2|->7),(3|->6)},{(1|->6),(2|->7),(3|->5)}}',
3236 '-evalt', '{x| x:1..3 +->> 5..8 & x(2)>x(3)}={}',
3237 '-evalt', 'n = 50 & queens : 1..n +->> 1..n &!(q1,q2).(q1:1..n & q2:2..n & q2>q1 => queens(q1)+q2-q1 /= queens(q2) & queens(q1)-q2+q1 /= queens(q2))',
3238 '-evalt', 'n = 50 & queens : 1..n >->> 1..n &!(q1,q2).(q1:1..n & q2:2..n & q2>q1 => queens(q1)+q2-q1 /= queens(q2) & queens(q1)-q2+q1 /= queens(q2))' % now added also total_bijection
3239 ], 'Check -->> / +->> optimization works correctly (test new treatment to treat like >-> when domain card = range card; now also >->>)').
3240 cli_testcase(1499, [cbc,cse], ['../prob_examples/public_examples/B/Special/ConstrainedBasedChecking/mesiSet.mch',
3241 '../prob_examples/public_examples/B/Special/ConstrainedBasedChecking/mesiSet_simplified.mch',
3242 '-cbc', 'all', '-strict', '-expcterr', 'cbc', '-p', 'CSE', 'TRUE'], 'Test 402 with CSE enabled; nonvar types occur').
3243 cli_testcase(1500, [cse,hash], ['../prob_examples/public_examples/B/PerformanceTests/CommonSubexpressions/Sequence_CSE_Test2.mch', '-mc', '1002', '-nodead', '-bf', '-hash64', 667488836707065541, '-p', 'CSE', 'TRUE'], 'Test CSE with Sequence Substitutions'). % % 17.9.2021: adapted hash from 25104873554326101 for sorted order of variables
3244 cli_testcase(1501, [cse,hash], ['../prob_examples/public_examples/B/PerformanceTests/CommonSubexpressions/WhileLoop_CSE_Test1.mch', '-mc', '500', '-nodead', '-bf', '-hash64', 137772507059734089, '-p', 'CSE', 'TRUE', '-expcterr', 'model_check_incomplete'], 'Test CSE with While Substitutions').
3245 cli_testcase(1502, [cse,hash], ['../prob_examples/public_examples/B/PerformanceTests/CommonSubexpressions/WhileLoop_CSE_Test2.mch', '-mc', '500', '-nodead', '-bf', '-hash64', 642472838688353119, '-p', 'CSE', 'TRUE', '-expcterr', 'model_check_incomplete'], 'Test CSE with While Substitutions').
3246 cli_testcase(1503, [cse,hash], ['../prob_examples/public_examples/B/PerformanceTests/CommonSubexpressions/WhileLoop_CSE_Test3.mch', '-mc', '500', '-nodead', '-bf', '-hash64', 642472838688353119, '-p', 'CSE', 'TRUE', '-expcterr', 'model_check_incomplete'], 'Test CSE with While Substitutions').
3247 cli_testcase(1504, [cse,hash], ['../prob_examples/public_examples/B/PerformanceTests/CommonSubexpressions/WhileLoop_CSE_Test5.mch', '-mc', '500', '-nodead', '-bf', '-hash64', 571377810868391599, '-p', 'CSE', 'TRUE', '-expcterr', 'model_check_incomplete'], 'Test CSE with While Substitutions').
3248 cli_testcase(1505, [smt_solver_integration], [
3249 '-evalt', ':z3-double-check x = 1',
3250 '-evalf', ':z3-double-check x = 1 & x > 2'
3251 ], 'some simple constraints that should be solved by z3').
3252 cli_testcase(1506, [smt_solver_integration], [
3253 '-evalt', ':z3-double-check r:struct(f1:11..20,f2:12..30) & r\'f1+10 = r\'f2',
3254 '-evalf', ':z3-double-check r:struct(f1:11..20,f2:12..20) & r\'f1+10 = r\'f2',
3255 '-evalt', ':z3-double-check r:struct(f1:11..20,f2:12..30) & r\'f1+10 = r\'f2 & s:struct(f1:15..20,f2:1..100) & s=r',
3256 '-evalt', ':z3-double-check v1:struct(lderb:{TRUE},mspue:{FALSE},fhhxr:{TRUE})',
3257 '-evalt', ':z3-double-check Dom = struct(f1:-1..3)',
3258 '-evalt', ':z3-double-check Dom = struct(f1:-1..3) & SS : POW(Dom)',
3259 '-evalf', ':z3-double-check Dom = struct(r:1..3) & ff:Dom<->BOOL & gg:Dom<->BOOL & not(ff <<: gg => #xx.(xx:gg & xx/:ff))'
3260 ], 'records support by smt solvers').
3261 cli_testcase(1507, [cvc5], [
3262 '-evalt', ':cvc5 test = \"asdfasdfasdF\"'
3263 ], 'string support by smt solvers').
3264 cli_testcase(1508, [smt_solver_integration], [
3265 '-evalf', ':z3-double-check x>0 & x+1 <= p & x=p',
3266 '-evalf', ':z3-double-check x>0 & x+2 <= p & x=p',
3267 '-evalf', ':z3 not(Pace_Int - sp >= 0) & (sp > 0 & sp < Pace_Int)' % taken from pacemaker disprover testcase; requires CHR probably to double check
3268 ], 'check that smt solvers would be able to replace the chr code in some cases').
3269 cli_testcase(1509, [smt_solver_integration], [
3270 '-evalt', ':z3-double-check {x} <: {999}',
3271 '-evalt', ':z3-double-check {x} <: {999,1000} & x > 999',
3272 '-evalt', ':z3-double-check x = {1,2} /\\ {3,4}',
3273 '-evalt', ':z3-double-check x={(1,2),(3,4),(4,5),(6,7),(8,9)} & y|->v : x & y|->w : x'
3274 ], 'simple set constraints for smt solvers').
3275 cli_testcase(1510, [smt_solver_integration], [
3276 '-evalt', ':z3-double-check x : {1,2} --> NAT',
3277 '-evalf', ':z3-double-check x : {1,2} --> NAT & x = {(1,1)}',
3278 '-evalt', ':z3-double-check x : {1,2} --> NAT & x = {(1,1),(2,1)}'
3279 ], 'functions for z3 (in theory supported by cvc4, but often unknown)').
3280 cli_testcase(1511, [smt_solver_integration], [
3281 '-evalf', ':z3-double-check s = min({1}) & s=2',
3282 '-evalf', ':z3-double-check s = min({1,2}) & s>2'
3283 %'-evalf', ':cvc s = min({1}) & s=2',
3284 %'-evalf', ':cvc s = min({1,2}) & s>2'
3285 ], 'check that smt solvers can falsify min / max').
3286 cli_testcase(1512, [cse, ltl], ['../prob_examples/public_examples/B/LTL/Fairness/TestingFairness.mch',
3287 '-p', 'CSE', 'TRUE', '-p', 'CSE_SUBST', 'TRUE',
3288 '-ltlformulat', true, '-ltlformulat', 'G{1=1}',
3289 '-ctlformulat', 'AG{1=1}', '-ctlformulaf', 'EF{1=2}',
3290 %'-ltlformulaf', false, % does not work !
3291 '-ltlformulaf', 'G{1=2}', '-strict'], 'Test 1244 with CSE_SUBST, checks top-level PRE detected inside lazy_let_subst.').
3292 cli_testcase(1513, [smt_solver_integration], [
3293 '-evalt', ':z3-double-check x=dom({(1,2)})',
3294 '-evalt', ':z3-double-check x=ran({(1,2)})'
3295 ], 'domain and range computation using z3').
3296 cli_testcase(1514, [cse,case],['../prob_examples/examples/B/Satpathy/Teletext104/Teletext104_deterministic.mch', '-t',
3297 '-p', 'CSE', 'TRUE', '-p', 'CSE_SUBST', 'TRUE'
3298 ],'Test 1292 with CSE_SUBST: Check this relatively large machine works.').
3299 cli_testcase(1515, [cse], [
3300 '-p', 'CSE', 'TRUE', '-p', 'CSE_SUBST', 'TRUE',
3301 '-evalt', '(x>1 => 10/x>2) & #v.(v:10..20 & (x>2 => 10/x=v))'
3302 ], 'check that no pending co-routines or wd problem').
3303 cli_testcase(1516, [smt_solver_integration], [
3304 '-evalf', ':z3-double-check x = {(1,5),(2,6),(3,7)} & i = x[{1,2}] & 7:i',
3305 '-evalt', ':z3-double-check x = {(1,5),(2,6),(3,7)} & i = x[{1,2}]'
3306 ], 'check that smt solvers can falsify image (at least z3 can)').
3307 cli_testcase(1517, [smt_solver_integration], [
3308 '-evalf', ':z3-double-check x = 1 .. 4 & z = x /\\ 5 ..3 & z /= {}',
3309 %'-evalf', ':cvc x = 1 .. 4 & z = x /\\ 5 ..3 & z /= {}',
3310 '-evalt', ':z3-double-check x = 1 .. 4 & z = x /\\ 5 .. 3'
3311 %'-evalt', ':cvc x = 1 .. 4 & z = x /\\ 5 .. 3' removed for now
3312 ], 'intervals for smt solvers').
3313 cli_testcase(1518, [cbc], [
3314 '-evalt', 'x = %i.(i:1..10|i+i) & x[{j}]={8}',
3315 '-evalt', 'ran({x,j|x = {1|->2,2|->4, 4|->8, 5|->8} & x[{j}]={8}})=4..5',
3316 '-evalt', 'ran({x,j|x = {1|->2,23|->4, 44|->8, 55|->8} & x[{j}]={8}})={44,55}',
3317 '-evalt', 'x = %i.(i:1001..1100|i+i) & x[{j}]={2100}',
3318 '-evalt', 'x = %i.(i:1..10|i+i) & x[{5,j}]={16,10}',
3319 '-evalf', 'x = %i.(i:1..10|i+i) & x[{5,j}]={16,11}'
3320 ], 'check that we propagate/instantiate for image').
3321 cli_testcase(1519, [b_test,external,records,strings], ['../prob_examples/public_examples/B/ExternalFunctions/LibraryStrings.mch',
3322 '-evalt', '{rec(sa:"1.101"),rec(sa:"1.102")} =x & x<: (struct(sa : {s| s : STRING & size(STRING_SPLIT(s,"."))=2}))',
3323 '-evalf', '{rec(sa:"1.101"),rec(sa:"1.102.3")} =x & x<: (struct(sa : {s| s : STRING & size(STRING_SPLIT(s,"."))=2}))'
3324 ], 'Check that no infinite expansion occurs here.').
3325 cli_testcase(1520, [b_test,unicode,atelierb],
3326 ['../prob_examples/public_examples/B/Tickets/UnicodeSupport/t1_2_atelierb.mch', '-t'
3327 ],'Test Atelier-B unicode support.').
3328 cli_testcase(1521, [b_test,external,records,infinite],
3329 ['../prob_examples/public_examples/B/Tickets/SymbolicSubArgs/SymbolicSubArg.mch',
3330 '-p', 'ENUMERATE_INFINITE_TYPES', 'FALSE', % test also passes without this
3331 '-assertions'
3332 ], 'Check that no infinite expansion occurs here.').
3333 cli_testcase(1522, [b_test,external,records,infinite],
3334 ['../prob_examples/public_examples/B/Tickets/SymbolicSubArgs/SymbolicSubArg.mch',
3335 '../prob_examples/public_examples/B/Tickets/SymbolicSubArgs/NonSymbolicSubArg.mch',
3336 '../prob_examples/public_examples/B/Tickets/SymbolicSubArgs/NonSymbolicSubArgDEF.mch',
3337 '-assertions'
3338 ], 'Like test 1521, but a few virtual time outs occur for NonSymbolic files.').
3339 cli_testcase(1523, [smt_solver_integration], [
3340 '-eval', ':z3-version',
3341 '-evalt', ':z3-double-check x = %i.(i:1..10|i+i) & x[{j}]={8}',
3342 '-evalt', ':z3-double-check x = %i.(i:1..10|i+i) & x[{5,j}]={16,10}',
3343 '-evalf', ':z3-double-check x = %i.(i:1..10|i+i) & x[{5,j}]={16,11}'
3344 ], 'parts of test 1518 using smt solvers').
3345 cli_testcase(1524, [tickets,records], [
3346 '../prob_examples/public_examples/B/Tickets/PROB-381/DuplicateFieldInRecord.mch',
3347 '../prob_examples/public_examples/B/Tickets/PROB-381/DuplicateFieldInRecordType.mch', '-init',
3348 '-expcterr', 'type_error', '-expcterr', 'load_main_file'], 'Check multiple use of record field detected. (Ticket PROB-381)').
3349 cli_testcase(1525, [cbc], [
3350 '-evalf', 'x:S & y:S & y/:T & S<:NATURAL & T=S'
3351 ], 'ensure above is detected FALSE wo enum warning; requires better reification for FD equality').
3352 cli_testcase(1526, [cbc], [
3353 '-evalt', 'f = {(1|->2),(2|->3),(3|->4),(4|->5),(5|->6),(6|->7),(7|->8),(8|->9),(9|->10),(10|->8)} & x = f[x] & x /= {}',
3354 '-evalt', 'f = %x.(x:1..9|x+1) \\/ {10|->8} & x = f[x] & x /= {}',
3355 '-evalt', 'f = %x.(x:1..n|x+1) \\/ {n+1|->8} & x = f[x] & x /= {} & n=10'
3356 ], 'ensure above solved without enum warning (better propagation for image)').
3357 cli_testcase(1527, [smt_solver_integration], [
3358 '-evalt', ':z3-double-check x:1..400 & y:1..400 & f: 280..290 --> 290..299 & x|->y :f & y|->x :f'
3359 ], 'check that a model with a complicated representation can be translated back from z3 to prob').
3360 cli_testcase(1528, [cbc], [
3361 '-evalt', 'x = ["A","G","G"] & z = ["A","G","T","G","G"] & n = min({size(x),size(z)}) & m :1..n & xi: 1..m >-> 1..size(x) & zi: 1..m >-> 1..size(z) & !i.(i:1..m => x(xi(i)) = z(zi(i))) & !j.(j:1..(m-1) => xi(j)<xi(j+1) & zi(j)<zi(j+1)) & m>2 & sol1 = (xi;x) & sol2 = (zi;z)',
3362 '-evalt', 'x = ["A","G","G"] & z = ["A","G","T","G","G"] & n = min({size(x),size(z)}) & m :1..n & xi: 1..m >-> 1..size(x) & zi: 1..m >-> 1..size(z) & !j.(j:1..(m-1) => xi(j)<xi(j+1) & zi(j)<zi(j+1)) & m>2 & (xi;x) = (zi;z)',
3363 '-evalt', 'x = ["A","G","G","Z","G"] & z = ["A","G","T","G","G","T","G"] & n = min({size(x),size(z)}) & m :1..n & xi: 1..m >-> 1..size(x) & zi: 1..m >-> 1..size(z) & !j.(j:1..(m-1) => xi(j)<xi(j+1) & zi(j)<zi(j+1)) & m>3 & (xi;x) = (zi;z)',
3364 '-evalf', 'x = ["A","G","G"] & z = ["A","G","T","G","G"] & n = min({size(x),size(z)}) & m :1..n & xi: 1..m >-> 1..size(x) & zi: 1..m >-> 1..size(z) & !i.(i:1..m => x(xi(i)) = z(zi(i))) & !j.(j:1..(m-1) => xi(j)<xi(j+1) & zi(j)<zi(j+1)) & m>3 & sol1 = (xi;x) & sol2 = (zi;z)' ], 'find longest common substring example').
3365 cli_testcase(1529, [csp_test], ['../prob_examples/public_examples/CSP/simple/verysimple.csp',
3366 '-csp_assertion', 'MAIN |= LTL: \"G ([b.blue.blue] => X [c.blue.blue])\"',
3367 '-csp_assertion', 'MAIN |= LTL: \"G ([i.2] => X [j.3])\"',
3368 '-csp_assertion', 'MAIN |= LTL: \"G ([a.red] => X e(b.red._))\"',
3369 '-csp_assertion', 'MAIN |= CTL: \"EGAF e(a.red)\"' , '-strict'
3370 ], 'Check LTL and CTL assertions (all are satisfied by the MAIN process).').
3371 cli_testcase(1530, [csp_test], ['../prob_examples/public_examples/CSP/simple/verysimple.csp',
3372 '-csp_assertion', 'MAIN |= LTL: \"G ([i.2] => X [j.4])\"', '-expcterr', model_check_fails, '-strict'
3373 ], 'Check LTL assertion (check should fail).').
3374 cli_testcase(1531, [csp_test], ['../prob_examples/public_examples/CSP/simple/verysimple.csp',
3375 '-csp_assertion', 'MAIN |= CTL: \"AGAF e(a.red)\"', '-strict'
3376 ], 'Check CTL assertion (check should not fail).').
3377 cli_testcase(1532, [cbc,hash], ['../prob_examples/public_examples/B/Tickets/FiveWayTraffic/FiveWay_new_mch.eventb',
3378 '-mc', 1000, '-strict','-cc', '29', '65',
3379 '--hash64', 1088314065090582434 % used to be 591402958158885188 % used to be 971801032035978952
3380 ], 'Check no time-out for setup-constants (relational image for singleton set).').
3381 cli_testcase(1533, [cbc,disprover], [
3382 '../prob_examples/public_examples/B/Tickets/FiveWayTraffic/TwoWay_mch.pl',
3383 '../prob_examples/public_examples/B/Tickets/FiveWayTraffic/Traffic_Context2_prob_ctx.pl'
3384 %, '../prob_examples/public_examples/B/Tickets/FiveWayTraffic/FiveWay_new_prob_mch.pl' % requires higher-timeout
3385 ],'Check Disprover can prove all POs').
3386 cli_testcase(1534, [cbc,union,card], [
3387 '-evalt', 'card({x,y| { x \\/ y } <: {{1} \\/ {2}}}) = 9' % { x \/ y } <: {{1} \/ {2}} from Grieskamp Zeta paper
3388 ], 'check set comprehenion can be computed without enum warning (union constraint propagation)').
3389 cli_testcase(1535, [cbc,card], [
3390 '-evalt', '{x,y| x = {1,2} & x \\/ y = {1,2,3} & 1:y } = {({1,2}|->{1,3}),({1,2}|->{1,2,3})}'
3391 ,'-evalt', 'card({x,y| x<:1..3 & y<:1..3 & ( x \\/ y) = (1..3) }) = 27'
3392 ,'-evalt', 'card({x,y| { x \\/ y } <: {{1} \\/ {2} \\/ {3}} }) = 27'
3393 ,'-evalt', '{x,y| x = {1,2} & x \\/ y = 1..5 & 1:y } = {({1,2}|->{1,2,3,4,5}),({1,2}|->{1,3,4,5})}'
3394 ,'-evalt', '{x,y| x = {1,2} & x \\/ y = 1..5 } = {({1,2}|->{1,2,3,4,5}),({1,2}|->{1,3,4,5}),({1,2}|->{2,3,4,5}),({1,2}|->{3,4,5})}'
3395 ,'-evalt', 'card({x,y| x \\/ y = 1..5 }) = 243'
3396 ], 'Check kernel bug in add_element and copy_list_skeleton fixed').
3397 cli_testcase(1536, [cbc], [
3398 '-evalt', 'sqr = %x.(x>=0|x*x) & (sqr)[{xx}] = {2500}'
3399 , '-evalt', 'sqr = %x.(x>=0&x<52|x*x) & (sqr)[{xx}] = {2500}'
3400 , '-evalt', 'sqr = %x.(x>=0|x*x) & (sqr)[{xx,vv}] = {2500}'
3401 ], 'check no enum warning (image propagation)').
3402 cli_testcase(1537, [tickets,laws], [
3403 '-evalf', 'x:0..5 & (-2) ** x = (8)'
3404 , '-evalt', 'x:0..5 & (-2) ** x = -8'
3405 , '-evalt', '{x|x>0 & (-2) ** x = -8} = {3}'
3406 , '-evalf', 'x:0..3 & (-1) ** x = (-46)'
3407 , '-evalf', 'x:-18..-11 & -1 ** x = -46'
3408 , '-evalt', '{x|x:0..5 & (-1) ** x = -1} = {1,3,5}'
3409 , '-evalt', '{x|x:0..5 & (-1) ** x = 1} = {0,2,4}'
3410 , '-evalt', '{x|x:0..5 & (1) ** x = 1} = 0..5'
3411 % , '-evalf', 'x=2 & x**y <1 & y>0' % check propagation
3412 , '-evalf', 'x:INTEGER & x**1 /= x' % check propagation
3413 , '-evalf', 'x:INTEGER & x**0 /= 1' % check propagation
3414 , '-evalf', '1**x /= 1 & x>0' % check propagation
3415 ], 'check no instantiation error when base is 1 or -1').
3416 cli_testcase(1538, [kodkod], [ '-p', 'KODKOD_RAISE_WARNINGS', 'TRUE',
3417 '-evalt', ':kodkod-double-check 2+3=x' % check no warning because nothing for kodkod to solve
3418 ,'-evalt', ':kodkod-double-check G = %x.(x:1..n|(x+1) mod n) & A\\/B = dom(G)\\/ran(G) & A/\\B={} & G[A]<:B & G[B]<:A & n=15 & 1:A' % bipartite graph detection
3419 ], 'check no warning and :kodkod works').
3420 cli_testcase(1539, [laws,tla],['../prob_examples/public_examples/TLC/Laws/NegDivision.tla', '-mc', 1000, '-strict'], 'Test that the division semantics of TLA preserved.').
3421 cli_testcase(1540, [laws,proz,sequences],['../prob_examples/public_examples/Z/ZLive/IntegerTests.fuzz',
3422 '../prob_examples/public_examples/Z/ZLive/SetTests.fuzz',
3423 '../prob_examples/public_examples/Z/ZLive/SequenceTests.fuzz',
3424 '../prob_examples/public_examples/Z/ZLive/RelationTests.fuzz',
3425 '../prob_examples/public_examples/Z/ZLive/FreeTypeTests.fuzz',
3426 '../prob_examples/public_examples/Z/ZLive/MiscTests.fuzz',
3427 '../prob_examples/public_examples/Z/ZLive/LetTests.fuzz',
3428 '-mc', 1000, '-nodead', '-strict'], 'Test Integer Z laws and that the division semantics of Z is preserved.').
3429 cli_testcase(1541, [cbc], [
3430 '-evalt', '2 : ran({y|y : INTEGER * INTEGER & #(x).(y = x |-> x + 2 & x : NATURAL)})',
3431 '-evalt', '-2 /: ran({y|y : INTEGER * INTEGER & #(x).(y = x |-> x + 2 & x : NATURAL)})',
3432 '-evalt', '1 /: ran({y|y : INTEGER * INTEGER & #(x).(y = x |-> x + 2 & x : NATURAL)})',
3433 '-evalt', '-10..1 /\\ ran({y|y : INTEGER * INTEGER & #(x).(y = x |-> x + 2 & x : NATURAL)}) = {}',
3434 '-evalt', '-10..10 /\\ ran({y|y : INTEGER * INTEGER & #(x).(y = x |-> x + 2 & x : NATURAL)}) = 2..10',
3435 '-evalf', '-2 : ran({y|y : INTEGER * INTEGER & #(x).(y = x |-> x + 2 & x : NATURAL)})',
3436 '-evalt', '2:ran({x|x:BOOL*BOOL*INTEGER & #(b,z).( x = (b,b,z) & z>1 & z<10)})',
3437 '-evalt', '22:ran({x|x:BOOL*BOOL*INTEGER & #(b,z).( x = (b,b,z) & z>1)})',
3438 '-evalt', '1/:ran({x|x:BOOL*BOOL*INTEGER & #(b,z).( x = (b,b,z) & z>1 )})',
3439 '-evalt', '1 : dom({y|y : INTEGER * INTEGER & #(x).(y = x |-> x + 2 & x : NATURAL)})',
3440 '-evalt', '(TRUE,TRUE):dom({x|x:BOOL*BOOL*INTEGER & #(b,z).( x = (b,b,z) & z>1 )})',
3441 '-evalf', '(TRUE,FALSE):dom({x|x:BOOL*BOOL*INTEGER & #(b,z).( x = (b,b,z) & z>1 )})'
3442 ],'ensure proper symbolic treatment for domain/range').
3443 cli_testcase(1542, [cbc], [
3444 '-evalf', '{x|x>100 & x mod 102 = 2} = {}',
3445 '-evalf', '%x.(x>100 & x mod 102 = 2|x*x) = {}',
3446 '-evalt', '{x|x>100 & x mod 102 = 2} /\\ {x| x<100 & x mod 102 =2} = {}',
3447 '-evalt', '%x.(x>100 & x mod 102 = 2|x*x) /= {}',
3448 '-evalt', '{x|x>100 & x mod 102 = 2} /= {}',
3449 '-evalt', '{x|x*x < i & x>2} ={} & i>2',
3450 '-evalt', '{x|x*x < i & x>2} /= {} & i>9',
3451 '-evalt', '{x|x<20} /= {}',
3452 '-evalf', '{x|x<20} = {}'
3453 ], 'symbolic treatment of closure emptiness').
3454 cli_testcase(1543, [b_test,tickets],
3455 ['../prob_examples/public_examples/B/Tickets/Beauger2/bug_not_labels_corrected.mch', '-aa', 0,3,0,
3456 '-ppf', '../prob_examples/public_examples/B/Tickets/Beauger2/bug_not_labels_corrected_ppf.mch'
3457 ], 'Check that labels correctly assigned.').
3458 cli_testcase(1544, [b_test,trees,sequences],['../prob_examples/public_examples/B/Tester/TreeExample.mch',
3459 '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE', '-assertions', '-init', '-strict'], 'Test that the Atelier-B tree operators supported.').
3460 cli_testcase(1545, [laws], ['../prob_examples/public_examples/B/Laws/ArithmeticLaws.mch',
3461 '../prob_examples/public_examples/B/Laws/ArithmeticExpLaws.mch',
3462 '-mc', '100000', '-cs', '-nodead', '-strict','-p', 'DOUBLE_EVALUATION', 'TRUE',
3463 '-p', 'NORMALIZE_AST', 'TRUE'], 'Various arithmetic laws with AST Normalization.').
3464 cli_testcase(1546, [cbc,trees,sequences], [
3465 '-evalt', '{si|si : dom((%u.(u : seq(INTEGER)|[1] ^ u) ; {[1] |-> 33,[1,2] |-> 55})) & si/=[]} = {[2]}',
3466 '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
3467 '-evalt', 'arity({[]|->22,[1]|->33,[1,1]|->44,[1,2]|->55},[1])=2'
3468 ], 'ensure proper constraint solving/propagation for sequence concatenation').
3469 cli_testcase(1547, [laws,trees,sequences], ['../prob_examples/public_examples/B/Laws/TreeLaws.mch',
3470 '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE', '-mc', '100', '-nogoal', '-nodead', '-strict', '-p', 'CLPFD', 'TRUE', '-expcterr', 'model_check_incomplete'], 'Laws about trees').
3471 cli_testcase(1548, [b_test,fairness,ltl], ['../prob_examples/public_examples/B/Ivo/Tickets/Test2.mch', '-ltlformula', 'WEF => not (GF {addr=2} & GF [C])', '-expcterr', ltl, '-strict'], 'Test fairness implementation for finding the right counter example.').
3472 cli_testcase(1549, [b_test,fairness,ltl], ['../prob_examples/public_examples/B/Ivo/Tickets/Test2.mch', '-ltlformula', 'SEF => not (GF {addr=2} & GF [C])', '-strict'], '').
3473 cli_testcase(1550, [cbc], [ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
3474 '-evalt', 'not((y > 0 & y * y > 20) <=> (y * y > 25 & y > 0))',
3475 '-evalf', 'not((y > 0 & y * y > 20) <=> (y * y > 21 & y > 0))'
3476 ], 'test constraint solving for <=>').
3477 cli_testcase(1551, [cbc], [ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
3478 '-evalt', '{b|[a,b,c](2)=333} =res & a : res & b:res'
3479 ], 'test constraint solving and compilation of closures (apply sequence extension)').
3480 cli_testcase(1552, [cbc,trees], [ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
3481 '-evalt', 'a = {(1, {([]|->2)} ), (2, const(1, [a(1)]))}',
3482 '-evalt', 'a = {1 |-> {[] |-> 2}, 2 |-> (dom({pi,ff,p|((pi : seq(INTEGER) & ff : INTEGER) & p : seq(INTEGER)) & (p |-> ff : [a(1)](1) & pi = 1 -> p)}) \\/ {[] |-> 1})}',
3483 '-evalt', 'a : 1..2 --> tree({1,2}) & a = {(2, bin(2)), (1, const(1, [a(2)]))}'
3484 ], 'test constraint solving and compilation of closures (function application)').
3485 cli_testcase(1553, [csp_test], [
3486 '../prob_examples/public_examples/CSP/Tickets/Ivo/RenamedSymbol.csp', '-assertions', '-strict'],
3487 '').
3488 cli_testcase(1554, [tickets,while],['../prob_examples/public_examples/B/Tickets/Hansen18_While/Loop.mch',
3489 '../prob_examples/public_examples/B/Tickets/Hansen18_While/LoopBy2.mch',
3490 '../prob_examples/public_examples/B/Tickets/Hansen18_While/LoopByDouble.mch',
3491 '../prob_examples/public_examples/B/Tickets/Hansen18_While/LoopByTwiceSeqComp.mch',
3492 '../prob_examples/public_examples/B/Tickets/Hansen18_While/LoopByClash.mch',
3493 '-t', '-mc', 100, '-strict'],
3494 'Check compilation of operation calls inside while loop.').
3495 cli_testcase(1555, [tickets,cbc,slot,trees],[
3496 '../prob_examples/public_examples/B/Tickets/Schneider2_Trees/NewSolver_v2.mch',
3497 '../prob_examples/public_examples/B/Tickets/Schneider2_Trees/NewSolver_v3.mch',
3498 '-evalt', 'CHOOSE_MODULES("bk-phi-H-2013", solution)'], 'Test constraint solving with trees').
3499 cli_testcase(1556, [cbc],[ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
3500 '../prob_examples/public_examples/EventBPrologPackages/Laws/Mengen_Gesetze_PowBool_ctx.eventb',
3501 '../prob_examples/public_examples/EventBPrologPackages/Laws/Mengen_Gesetze_FiniteInt_ctx.eventb',
3502 '-cbc_assertion', 'Gesetze:assoc1', '-cbc_assertion', 'Gesetze:assoc2',
3503 '-cbc_assertion', 'Gesetze:comm1', '-cbc_assertion', 'Gesetze:comm2',
3504 '-cbc_assertion', 'Gesetze:DeMorgan1', '-cbc_assertion', 'Gesetze:DeMorgan2',
3505 '-p', 'PROOF_INFO', 'FALSE'], 'Test cbc assertion with label works').
3506 cli_testcase(1557, [laws],[ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
3507 '../prob_examples/public_examples/EventBPrologPackages/Laws/Mengen_Gesetze_Bool_ctx.eventb',
3508 '../prob_examples/public_examples/EventBPrologPackages/Laws/KuratowskiPairDefinition_Enum_ctx.eventb',
3509 %'../prob_examples/public_examples/EventBPrologPackages/Laws/KuratowskiPairDefinition_Int_ctx.eventb',
3510 %'../prob_examples/public_examples/EventBPrologPackages/Laws/Mengen_Gesetze_PowBool_ctx.eventb', % tales 24 seconds
3511 '-cbc_assertions', '-p', 'PROOF_INFO', 'FALSE'], 'Test laws over sets using cbc').
3512 cli_testcase(1558, [cbc,card],[ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
3513 '-evalt', 'f: 1..40 --> BOOL & card({x|x|->TRUE:((1..40)*BOOL) & x|->TRUE :f}) : 10..11', % did not work before
3514 '-evalt', 'f: 1..40 --> BOOL & card({x|x:1..40 & x|->TRUE :f}) : 10..11'
3515 ], 'Test reification of closure for cardinality').
3516 cli_testcase(1559, [cbc,tickets,card],[ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
3517 '../prob_examples/public_examples/EventBPrologPackages/Tickets/EinsteinPuzzle/UnsatCore_einstein_ctx_v2.mch', '-init',
3518 '-evalt', 't: Menschen >-> Getraenke & Daene |-> Tee : t',
3519 '-evalt', 't: Menschen -->> Getraenke & Daene |-> Tee : t',
3520 '-evalt', 't: Menschen --> Getraenke & Daene |-> Tee : t',
3521 '-evalt', 't: Menschen >->> Getraenke & Daene |-> Tee : t'
3522 ], 'Test reification of closure for cardinality').
3523 cli_testcase(1560, [cbc,card], [ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
3524 '-evalf', 'n>=0 & n1>0 & {n1} \\/ {n} = r & r={n} & not(n1=n)',
3525 '-evalf', '{n} /<: {n,n1} & n:INTEGER',
3526 '-evalf', '0..B <: 1..B & B:1..1000000',
3527 '-evalf', '0..x <: 1..1000 & x>0',
3528 '-evalt', '{x|x>0} <: NATURAL1',
3529 '-evalf', 'x:seq1(0..1) & x:seq1(2..3)',
3530 '-evalt', 'a..b = {x} & x:100..1002',
3531 '-evalt', 'x <: (1..100000000 \\/ {-1}) & x={}',
3532 '-evalt', 'card(iseq1(1 .. 3) \\/ {{}}) = 16',
3533 '-evalt', 'bool(!x.(x<:1..10 => card(x) <11))',
3534 '-evalt', 'r:INTEGER<->INTEGER & dom(r)=1..4',
3535 '-evalt', 'r:INTEGER<->INTEGER & ran(r)=2..20 & dom(r) = 1..10',
3536 '-evalf', '{x|x>20} = {1,y,5,x,4}',
3537 '-evalf', '{x|x>20} = y & 1:y',
3538 '-evalt', '{x|x>20} = y & 21:y',
3539 '-evalf', '2..b = {1,y,5,x,4}',
3540 '-evalt', '{X| X /\\ {1} = {} & X \\/ {1} = 1..20} = {2..20}',
3541 '-evalt', 'a..b = {x} & x:100..1002',
3542 '-eval', '{x|[1,2,3,4,5,6] |>> {x} = [1,2,3,4,5]}',
3543 '-eval', '{x|[33] |>> {x} = []}',
3544 '-evalt', 'all = [S,E,N,D, M,O,R, Y] & {S,E,N,D, M,O,R, Y} <: 0..9 & S >0 & M >0 & card(ran(all)) = size(all) & S*1000 + E*100 + N*10 + D + M*1000 + O*100 + R*10 + E = M*10000 + O*1000 + N*100 + E*10 + Y'
3545 ], 'test a few constraints from the ProB-TO-DO-List').
3546 cli_testcase(1561, [cbc], [
3547 '-evalf', 'not(#x.(x>100))',
3548 '-evalt', '1..b = {1,y,5,x,4}',
3549 '-evalt', 'a..b = {1,y,5,x,4}'
3550 ], 'test a few constraints from the ProB-TO-DO-List (with enum warning)').
3551 cli_testcase(1562, [slot,trees,parser,card],[
3552 '../prob_examples/public_examples/B/Tickets/Schneider5_Trees/Solver.mch',
3553 '-p', 'TIME_OUT', 35000,
3554 '-evalt', '%(x).(x : dom(course_module_combinations) & card(course_module_combinations(x)) > 0|1)={("bk-phi-H-2013"|->1)}',
3555 '-evalt', '%(x).(x : dom(course_module_combinations) & course_module_combinations(x) /= {} |1)={("bk-phi-H-2013"|->1)}'
3556 % '-evalt', '%(x).(x : dom(course_module_combinations) & card(course_module_combinations(x)) > 1|1)={("bk-phi-H-2013"|->1)}' % still causes problem
3557 ], 'Test no complicated set-unification with backtracking').
3558 cli_testcase(1563, [parser,tickets], [
3559 '../prob_examples/public_examples/B/Tickets/CommentsOneLine/OneLineComments.mch', '-t'
3560 ], 'Test parser can deal with one line comments').
3561 cli_testcase(1564, [kodkod], [ '-p', 'KODKOD_RAISE_WARNINGS', 'TRUE',
3562 '-evalf', 'x:0..3 & y:0..3 & (x*y)+7<0',
3563 '-evalf', ':kodkod-double-check x:0..3 & y:0..3 & (x*y)+7<0'
3564 ], 'Test Kodkod bug fixed').
3565 cli_testcase(1565, [fairness], [
3566 '../prob_examples/public_examples/B/LTL/Fairness/RecursiveSCCs2.mch', '-ltlformula', 'SF(E) & WF(C) => F {addr = 4 or addr = 5}', '-expcterr', 'ltl', '-strict'], 'Test finding the right fairness loop.').
3567 cli_testcase(1566, [fairness], [
3568 '../prob_examples/public_examples/B/LTL/Fairness/RecursiveSCCs2.mch', '-ltlformula', 'SF(C) & SF(E) & SF(G) => F {addr = 4 or addr = 5}', '-expcterr', 'ltl', '-strict'], 'Test finding the right fairness loop.').
3569 cli_testcase(1567, [fairness], [
3570 '../prob_examples/public_examples/B/LTL/Fairness/RecursiveSCCs2.mch', '-ltlformula', 'SEF => F {addr = 4 or addr = 5}', '-strict'], 'Testing the fairness algorithm.').
3571 cli_testcase(1568, [fairness], [
3572 '../prob_examples/public_examples/B/LTL/Fairness/RecursiveSCCs3.mch', '-ltlformula', 'SF(E) & SF(D) => F { addr = 8}', '-expcterr', 'ltl', '-strict'], 'Test finding the right fairness loop.').
3573 cli_testcase(1569, [fairness], [
3574 '../prob_examples/public_examples/B/LTL/Fairness/RecursiveSCCs3.mch', '-ltlformula', 'SF(B) & SF(G) & SF(E) & SF(D) => F { addr = 8}', '-expcterr', 'ltl', '-strict'], 'Test finding the right fairness loop.').
3575 cli_testcase(1570, [fairness], [
3576 '../prob_examples/public_examples/B/LTL/Fairness/RecursiveSCCs3.mch', '-ltlformula', 'WEF => F { addr = 8}', '-expcterr', 'ltl', '-strict'], 'Test finding the right fairness loop.').
3577 cli_testcase(1571, [fairness], [
3578 '../prob_examples/public_examples/B/LTL/Fairness/RecursiveSCCs3.mch', '-ltlformula', 'SEF => F { addr = 8}', '-strict'], 'Testing the fairness checking algorithm.').
3579 cli_testcase(1572, [fairness], [
3580 '../prob_examples/public_examples/CSP/LTL/Fairness/bully.csp', '-csp_assertion', 'Network |= LTL: \"WEF => G ([fail.2] => F [coordinator.1.2])\"', '-expcterr', 'model_check_fails', '-strict'], 'Test finding the right fairness loop.').
3581 cli_testcase(1573, [fairness], [
3582 '../prob_examples/public_examples/CSP/LTL/Fairness/bully.csp', '-csp_assertion', 'Network |= LTL: \"SEF => G ([fail.2] => F [coordinator.1.2])\"', '-expcterr', 'model_check_fails', '-strict'], 'Test finding the right fairness loop.').
3583 cli_testcase(1574, [chr,card], ['-p', 'CHR', 'TRUE', '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
3584 '-evalt', '{x,y,s|x..y <: 11..18 & card(x..y)=s & x=y} = {((11|->11)|->1),((12|->12)|->1),((13|->13)|->1),((14|->14)|->1),((15|->15)|->1),((16|->16)|->1),((17|->17)|->1),((18|->18)|->1)}',
3585 '-evalt', '{x,y|x..y <: 11..18 & card(x..y)=5 & x<y} = {(11|->15),(12|->16),(13|->17),(14|->18)}'
3586 ], 'Test CHR interval propagation').
3587 cli_testcase(1575, [external, b_test], [
3588 '../prob_examples/public_examples/B/ExternalFunctions/CSV_Reader.mch',
3589 '../prob_examples/public_examples/B/ExternalFunctions/CSV/ChemicalElements.mch', '-t'], 'test CSV reader.').
3590 cli_testcase(1576, [chr], ['-p', 'CHR', 'TRUE',
3591 '-evalt', 'x+y=100 & x>y',
3592 '-evalt', 'x=100-y & x>y'
3593 ], 'Test stronger CHR IDL propagation').
3594 cli_testcase(1577, [cbc,union,infinite], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
3595 '-evalt', 'x = NATURAL1 \\/ -3..-1 & 11:x & -3:x & 0 /: x',
3596 '-evalt', '-3..-1 \\/ NATURAL1 = x & 11:x & -3:x & 0 /: x',
3597 '-evalt', 'x = NATURAL1 \\/ {-1} & 11:x & -1:x & 0 /: x',
3598 '-evalt', 'x = NATURAL1 \\/ {-1,-3} & 11:x & -1:x & -3:x & 0 /: x',
3599 '-evalt', 'x = {-1,-33} \\/ NATURAL1 & 11:x & -1:x & -33:x & 0 /: x'
3600 ], 'Test better symbolic treatment of union').
3601 cli_testcase(1578, [cbc,bmc], ['../prob_examples/public_examples/B/CBC/BinarySearchEvents_Overflow_v2.mch', '-bmc', 5,
3602 '-expcterr', 'invariant_violation'], 'Check error found using bmc').
3603 cli_testcase(1579, [cbc,bmc,clpfd_tables], ['../prob_examples/public_examples/B/CBC/BinarySearchEvents_Overflow_v3.mch', '-bmc', 10,
3604 '-expcterr', 'invariant_violation', '-p', 'TIME_OUT', 3500], 'Check error found using bmc'). % increased time-out for windows runner from default 2500, Feb 17th 2020
3605 cli_testcase(1580, [symbolic_model_checker], [
3606 '../prob_examples/public_examples/B/CBC/BinarySearchEvents_Overflow_v1.mch',
3607 %'../prob_examples/public_examples/B/CBC/BinarySearchEvents_Overflow_v2.mch', % fails with SICStus 4.5; fd_degree behaves differently
3608 '-symbolic_model_check', 'bmc',
3609 '-p', 'TRACE_INFO', 'TRUE',
3610 '-expcterr', 'invariant_violation'], 'Check error found using BMC').
3611 cli_testcase(1582, [symbolic_model_checker], ['../prob_examples/public_examples/B/CBC/BinarySearchEvents_Overflow_v2.mch', '-symbolic_model_check', 'ic3',
3612 '-expcterr', 'invariant_violation'], 'Check error found using IC3').
3613 cli_testcase(1583, [symbolic_model_checker], ['../prob_examples/public_examples/B/CBC/BinarySearchEvents_Overflow_v2.mch', '-symbolic_model_check', 'ctigar',
3614 '-expcterr', 'invariant_violation'], 'Check error found using CTIGAR').
3615 cli_testcase(1584, [symbolic_model_checker], [
3616 '../prob_examples/public_examples/B/CBC/BinarySearchEvents_Overflow_v1.mch',
3617 % '../prob_examples/public_examples/B/CBC/BinarySearchEvents_Overflow_v2.mch', % fails with SICStus 4.5; see test 1580
3618 '-symbolic_model_check', 'bmc',
3619 '-expcterr', 'invariant_violation'], 'Check error found using BMC').
3620 cli_testcase(1585, [symbolic_model_checker], ['../prob_examples/public_examples/B/CBC/BinarySearchEvents_Overflow_v2.mch', '-symbolic_model_check', 'kinduction',
3621 '-expcterr', 'invariant_violation'], 'Check error found using k-Induction').
3622 cli_testcase(1586, [cbc,wd,error_checks,union], ['-p', 'TRY_FIND_ABORT', 'TRUE',
3623 '-evalnwd', 'r = {1|->2, 2|-> 1/0}(1)',
3624 '-expcterr', 'well_definedness_error'
3625 ], 'Test better symbolic treatment of union').
3626 cli_testcase(1587, [cbc], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
3627 '-evalt', 'x:0..127 & y:0..127 & x2=x & y2=y+1 & not(x2:0..127 & y2:0..127)',
3628 '-evalt', 'f: 1..100 --> 10..20 & x:10..20 & f2=f & x2=x+1 & not(f2:1..100 --> 10..20 & x2:11..20)',
3629 '-evalf', 'f: 1..100 --> 10..20 & x:10..20 & f2=f & x2=x+1 & not(f2:1..100 --> 10..20 & x2:11..21)'
3630 ], 'Test inlining of id1=id2 equalities and subsequent detection of identical predicates').
3631 cli_testcase(1588, [cbc], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
3632 '-p', 'CLPFD', 'FALSE',
3633 '-evalt', 'x:0..127 & y:0..127 & x2=x & y2=y+1 & not(x2:0..127 & y2:0..127)',
3634 '-evalt', 'f: 1..100 --> 10..20 & x:10..20 & f2=f & x2=x+1 & not(f2:1..100 --> 10..20 & x2:11..20)'
3635 % '-evalf', 'f: 1..100 --> 10..20 & x:10..20 & f2=f & x2=x+1 & not(f2:1..100 --> 10..20 & x2:11..21)' requires CLPFD
3636 ], 'Test 1587 without CLPFD').
3637 cli_testcase(1589, [cbc,forall], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
3638 '../prob_examples/public_examples/B/Tickets/ForallDomainExpansion/UnsatCore.mch',
3639 '-init'
3640 ],'Test that forall with domain is expanded').
3641 cli_testcase(1590, [cbc,bmc,forall], [
3642 '../prob_examples/public_examples/B/Tickets/ForallDomainExpansion/binarySearchFail_impl_prob_mch.eventb',
3643 '-bmc', 10, '-expcterr', 'invariant_violation'
3644 ],'Test that forall with domain is expanded and BMC finds problem').
3645
3646 cli_testcase(1591, [tla,tlc],['../prob_examples/public_examples/B/SymmetryReduction/Peterson.mch', '-mc_with_tlc'], 'TLC regression test').
3647 cli_testcase(1592, [tla,tlc],['../prob_examples/public_examples/B/SymmetryReduction/Peterson_err.mch', '-mc_with_tlc'
3648 %, '-expcterr', 'invariant_violation' % currently there is no feedback to probcli about invariant violations found
3649 ], 'TLC regression test').
3650 cli_testcase(1593, [puzzles_test],['../prob_examples/public_examples/B/Puzzles/Bridges.mch', '-init'
3651 ], 'Bridges Puzzle').
3652 cli_testcase(1594, [cbc,sigma,card], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
3653 '-evalt', 'SIGMA(x).(x:M|30) = 3000 & M<:1..100',
3654 '-evalt', '{M|SIGMA(x).(x:M|30) = 300 & M<:1..10} = {1..10}',
3655 '-evalt', '{M|SIGMA(x).(x:M|30) = 270 & M<:1..10}=res & card(res)=10',
3656 % this is slow: {M|SIGMA(x).(x:M|30) = 570 & M<:1..20}=res & card(res)=20; 17 seconds
3657 % this does not work: {M|SIGMA(x).(x:M|30) = 3000 & M<:1..100}
3658 '-evalt', 'SIGMA(x).(x:M|cp(x)) = 3000 & M=1..100 & cp:M --> {0,15,30}',
3659 '-evalt', 'M=1..20 & {cp|SIGMA(x).(x:M|cp(x)) = 570 & cp:M --> {0,30}}=res & card(res)=20',
3660 '-evalt', 'M=1..100 & {cp|SIGMA(x).(x:M|cp(x)) = 3000 & cp:M --> {0,15,30}}=res & card(res)=1',
3661 '-evalt', 'PI(x).(x:{-1} \\/ 1..20|x) = -2432902008176640000',
3662 '-evalt', 'PI(x).(x:M|20) = 400 & M<:1..10',
3663 '-evalf', 'SIGMA(x).(x:M|20) = 50 & M<:1..10',
3664 '-evalf', 'PI(x).(x:M|20) = 500 & M<:1..10'
3665 ], 'Test SIGMA and PI').
3666 cli_testcase(1595, [tickets,eventb_test],['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
3667 '../prob_examples/public_examples/EventBPrologPackages/Tickets/TheoremInGuards/TestM1_mch.eventb',
3668 '../prob_examples/public_examples/EventBPrologPackages/Tickets/TheoremInGuards/VM_1_mch.eventb',
3669 '-t', '-mc', 100 ], 'Test theorem in guards can use dropped abstract variables').
3670 cli_testcase(1596, [tickets,eventb_test],['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
3671 '../prob_examples/public_examples/EventBPrologPackages/Tickets/TheoremInGuards/TestM1_error_mch.eventb',
3672 '-mc', 100, '-expcterr', 'event_error:teste:invalid_theorem_in_guard'
3673 ], 'Test theorem in guards can use dropped abstract variables and error found').
3674 cli_testcase(1597, [tickets,tla,exists],['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
3675 '../prob_examples/public_examples/B/Tickets/ExistsEnumeration/MC_AlternatingBit_Internal.mch',
3676 '-t', '-mc', 500 , '-expcterr', 'model_check_incomplete'], 'Test no problem with LoseAck action and existential quantifier').
3677 cli_testcase(1598, [tickets,tla,hash],['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
3678 '../prob_examples/public_examples/TLA/TLA_Distribution/FIFO/MCInnerFIFO.mch', '-scope', 'card(q)<=qLen',
3679 '-p', 'MAX_INITIALISATIONS', 40,
3680 '-mc', 6000, '-cc', 5810, 9661 ,
3681 '-p', 'OPERATION_REUSE', 'FALSE', % for hash
3682 '--hash64', 1092224097070366805 % 413665275772098592 %1134041423096647838 % changed after packing rec/1, used to be 66366088829346955 and 523977694511884201
3683 ], 'Test SCOPE works correctly').
3684 cli_testcase(1599, [b_test], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
3685 '-expcterr', 'bmachine_static_checks',
3686 '../prob_examples/public_examples/B/Tester/ExistentialGlobalSetIDTest.mch', '-mc', '1000',
3687 '-evalt', '#(ID).( cc /: ID & dom({x,y|x=1 & y:ID}) = {})'
3688 ], 'Check that local identifier ID does not confuse optimiser').
3689 cli_testcase(1600, [tickets,private,quantified,union], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
3690 '../prob_examples/examples/B/Tickets/MemoryError_bugly.mch', '-init', '-assertions'
3691 ], 'Check that UNION and dom(dom()) memory consumption issue solved').
3692 cli_testcase(1601, [b_test, imp, refinement,private], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
3693 '../prob_examples/examples/B/ClearSy/turbomeca/pld_i.imp',
3694 '../prob_examples/examples/B/ClearSy/control/M1_i.imp',
3695 '../prob_examples/examples/B/ClearSy/JCRE/opcodes_i.imp', '-t'
3696 ], 'Check implementation machines').
3697 cli_testcase(1602, [b_test], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
3698 '../prob_examples/public_examples/B/SchneiderBook/Chapter17/Array.mch','-t'
3699 ], 'Check Schneider example').
3700 cli_testcase(1603, [private,alstom,data_validation], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
3701 '../prob_examples/examples/B/Alstom/exemple7.mch',
3702 '../prob_examples/examples/B/Alstom/exemple7_occuper_zone.mch',
3703 '-t'
3704 ], 'Check Alstom machines').
3705 cli_testcase(1604, [eventb_test,private], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
3706 '../prob_examples/examples/RodinModels/PaulSimon/ca_m01_mch.eventb',
3707 '-p', 'MAX_INITIALISATIONS', '30', '-p', 'MAX_OPERATIONS', '30',
3708 '-p', 'DEFAULT_SETSIZE', '3',
3709 '-t'
3710 ], 'Check Paul Simon complicated EventB machine').
3711 cli_testcase(1605, [cbc, infinite], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
3712 '-evalt', 'f = %x.(x:INTEGER|0) & f : INTEGER --> {0}',
3713 '-evalt', 'f = %x.(x:INTEGER|0) & f : INTEGER +-> {0}',
3714 '-evalt', 'f = %x.(x:INTEGER|0) & f : INTEGER +-> {u}',
3715 '-evalt', 'f = %x.(x:INTEGER|0) & {u|f : INTEGER +-> {u}} = {0}',
3716 '-evalt', 'f = %x.(x:INTEGER|0) & {u|f : INTEGER --> {u}} = {0}',
3717 '-evalt', 'f = %x.(x:INTEGER|0) & f : INTEGER +-> NATURAL',
3718 '-evalt', 'f = %x.(x:INTEGER|0) & f : INTEGER --> NATURAL',
3719 '-evalt', 'f = %x.(x:INTEGER|0) & f : INTEGER +-> 0..2',
3720 '-evalf', 'f = %x.(x:INTEGER|0) & f : INTEGER +-> 1..2',
3721 '-evalf', 'f = %x.(x:INTEGER|0) & f : INTEGER --> 1..2',
3722 '-evalt', 'f = %x.(x:INTEGER|1000) & f : INTEGER +-> 999..1002',
3723 '-evalt', 'f = %x.(x:INTEGER|1000) & f : INTEGER --> 999..1002',
3724 '-evalt', 'f = INTEGER*{1000} & f : INTEGER --> 999..1002',
3725 '-evalt', 'f = %x.(x:INTEGER|1000) & f = INTEGER*{1000}',
3726 '-evalf', 'f = %x.(x:INTEGER|1000) & f = INTEGER*{1001}',
3727 '-evalf', 'f = %x.(x:INTEGER|0) & f : INTEGER +-> NATURAL1',
3728 '-evalt', 'f = %x.(x:INTEGER|0) & f : INTEGER -->> {0}',
3729 '-evalf', 'f = %x.(x:INTEGER|0) & f : INTEGER -->> {0,1}',
3730 '-evalt', 'f = %x.(x/=0|1000/x) & f : INTEGER +-> INTEGER & f(500)=2',
3731 '-evalf', 'f = %x.(x/=0|1000/x) & f : INTEGER --> INTEGER',
3732 '-evalt', '{x|x/=0} = INTEGER \\ {0}',
3733 '-evalf', '{x|x/=0} = INTEGER \\ {1}',
3734 '-evalf', '{x|x/=0} /= INTEGER \\ {0}',
3735 '-evalt', '{x|x/=0} /= INTEGER \\ {1}',
3736 '-evalf', '{x|x/=0} = INTEGER',
3737 '-evalt', '{x|x/=0} /= INTEGER',
3738 '-evalf', 'INTEGER={x|x/=0}',
3739 '-evalt', 'INTEGER/={x|x/=0}',
3740 '-evalt', '{b|INTEGER={x|x/=0} <=> b=TRUE}={FALSE}',
3741 '-evalt', 'NATURAL/={x|x/=0}',
3742 '-evalt', 'NATURAL1/={x|x/=0}',
3743 '-evalt', '{x|x/=0} /= NATURAL1',
3744 '-evalf', '{x|x/=0} = NATURAL',
3745 '-evalt', '{x,y,z|x <: BOOL & y = x*x & y:{z}-->{z}} = {({FALSE}|->{(FALSE|->FALSE)}|->FALSE),({TRUE}|->{(TRUE|->TRUE)}|->TRUE)}',
3746 '-evalt', 'card({x,y,z|x <: BOOL & y = x*x & y/:{z}-->{z}})=6',
3747 '-evalt', 'dom({x1,x2,y|x1 <: BOOL & x2<:BOOL & y = (x1*x2)*{TRUE} & y:(BOOL*{TRUE})+->{FALSE}}) = {({}|->{}),({}|->{FALSE}),({}|->{FALSE,TRUE}),({}|->{TRUE}),({FALSE}|->{}),({FALSE,TRUE}|->{}),({TRUE}|->{})}'
3748 ], 'Check that %x.(x:P|E) is detected as cartesian product closure for dom_range_for_specific_closure').
3749 cli_testcase(1606, [cbc,card], [
3750 '-evalt', 'n=10000000 & x : (1..n) \\ {5000000}',
3751 '-evalt', 'x:(1000..a) \\ {b}',
3752 '-evalt', 'x: 1000..b /\\ 1500..c',
3753 '-evalt', 'x:1000..2000 & x /: b..2000',
3754 '-evalt', 'x:(1000..2000) \\ (b..2000)',
3755 '-evalt', 'x:(1000..a) \\ (b..a)',
3756 '-evalt', '{x,y| x:200..205 & y : 101..190 & x /: y..y+100} = {(202|->101),(203|->101),(203|->102),(204|->101),(204|->102),(204|->103),(205|->101),(205|->102),(205|->103),(205|->104)}',
3757 '-evalt', 'card({x,y| x:200..295 & y : 101..190 & x /: y..y+100})=4455'
3758 ], 'Test symbolic treatment of set-difference membership').
3759 cli_testcase(1607, [tickets,forall], ['../prob_examples/public_examples/B/Tester/TestAnyChoice.mch',
3760 '-t', '-strict'], 'Test that definition can be used at top-level of forall quantifier').
3761 cli_testcase(1608, [symmetry_test,proz,card], ['../prob_examples/public_examples/Z/Daniel/Derrick_ICFEM06.fuzz', '-strict',
3762 '-mc', '10000', '-cc', '29', '149' ], 'Test min card inference works.').
3763 cli_testcase(1609, [cbc,tickets], [ '-p', 'MAXINT', 2147483648,
3764 '-evalt', 'x : NAT1 +-> {1,2,3} & (n:NAT & 1..n = dom(x)) & x /= {}'
3765 ], 'Test that pf does not expand NAT1').
3766 cli_testcase(1610, [cbc,card], [ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
3767 '-evalt', 'f=[{1},{3},{6,2,4,8},{1,2,3}] & x:1..4 & y=f(x) & card(y)>3',
3768 '-evalt', '{f,x,y|f=[{1},{3},{6,2,4,8},{1,2,3}] & x:1..4 & y=f(x) & card(y)>3} = {(([{1},{3},{2,4,6,8},{1,2,3}]|->3)|->{2,4,6,8})}'
3769 ], 'Test cardinality restriction').
3770 cli_testcase(1611, [b_test,sequences,card], ['-evalt', 'x:seq({1}) & 55:dom(x)', '-evalf', 'x:seq({1}) & 55:dom(x) & card(x)=10', '-evalt', 'x:seq({1}) & 5:dom(x) & card(x)>6', '-p', 'CLPFD', 'TRUE', '-strict'
3771 %, '-expcterr', eval_string_enum_warning
3772 ], 'Ensure proper enumeration of sequences (CLPFD=TRUE).'). % variation of test 1187
3773 cli_testcase(1612, [eventb_test, theories], [ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE', '-assertions',
3774 '../prob_examples/public_examples/EventBPrologPackages/Theory/Sequences/TestConcat_ctx.eventb',
3775 '../prob_examples/public_examples/EventBPrologPackages/Theory/Sequences/TestMySequences_ctx_ok.eventb',
3776 '../prob_examples/public_examples/EventBPrologPackages/Theory/Sequences/TestMySequences_ctx_ok2.eventb'], 'Check Sequence Theory Mapping.').
3777 cli_testcase(1613, [eventb_test, theories], [ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
3778 '-assertions', '-expecterr', 'check_assertions',
3779 '../prob_examples/public_examples/EventBPrologPackages/Theory/Sequences/TestMySequences_ctx_err.eventb'],
3780 'Check Sequence Theory Mapping leads to error (due to wrong mapping).').
3781 cli_testcase(1614, [eventb_test, theories], [ '-assertions',
3782 '../prob_examples/public_examples/EventBPrologPackages/Theory/Sequences/MySequences_ctx.eventb'], 'Check Sequence Theory in context.').
3783 cli_testcase(1615, [cbc, cbc_tests,bmc], ['../prob_examples/public_examples/B/SymbolicModelChecking/Counters/CounterArticle.mch', '-bmc', 4,
3784 '-expcterr', 'invariant_violation'], 'Check BMC works').
3785 cli_testcase(1616, [symbolic_model_checker], ['../prob_examples/public_examples/B/SymbolicModelChecking/Counters/CounterArticle64_ok.mch', '-symbolic_model_check', 'kinduction'], 'Check kinduction works for this example').
3786 cli_testcase(1617, [bmc,tickets], [ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
3787 '../prob_examples/public_examples/EventBPrologPackages/Tickets/bmc_unsat_axioms/f_m0.eventb',
3788 '../prob_examples/public_examples/EventBPrologPackages/Tickets/bmc_unsat_axioms/f_m1.eventb',
3789 '-bmc', 10], 'Check no counter example reported').
3790 cli_testcase(1618, [cbc], [ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
3791 '../prob_examples/public_examples/B/Mathematical/ArgumentationAsSets.mch',
3792 '../prob_examples/public_examples/EventBPrologPackages/Mathematical/Arguments_Example_ctx.eventb',
3793 '-assertions'], 'Check Argumentation Theory example').
3794 cli_testcase(1619, [b_test, infinite,total_function], ['-evalt', 'x mod 100000 >= 99999',
3795 '-evalt', 'x : NATURAL --> {1,2,3}',
3796 '-evalt', 'x : NATURAL --> {1,2,3} & x(7) = 3',
3797 '-evalf', 'x : NATURAL --> {1,2,3} & x(7) = 3 & x(7) = 2',
3798 '-evalt', 'not(x : INTEGER --> {1,2})',
3799 '-evalf', 'y/=x & {x,y} = {x|x > 2}'
3800 ], 'Ensure symbolic treatment of (infinite) total functions.').
3801 cli_testcase(1620, [b_test,external,choose], ['../prob_examples/public_examples/B/ExternalFunctions/ChooseExternal.mch', '-assertions'], 'Test choose and MU operator.').
3802 cli_testcase(1621, [b_test,let], [
3803 '../prob_examples/public_examples/B/Tester/LetTest_IllegalCyclic.mch',
3804 '../prob_examples/public_examples/B/Tester/LetTest_IllegalNondet.mch',
3805 '../prob_examples/public_examples/B/Tester/LetTest_IllegalNotAllDefined.mch',
3806 '../prob_examples/public_examples/B/Tester/LetTest_IllegalNotVarLHS.mch',
3807 '../prob_examples/public_examples/B/Tester/LetTest_IllegalVar.mch',
3808 '-expcterr','type_error', '-expcterr', 'load_main_file'], 'Check illegal LETs detected.').
3809 cli_testcase(1622, [b_test,recursion,infinite,let], ['../prob_examples/public_examples/B/FunctionalProgramming/Factorial_NewSyntax.mch',
3810 '../prob_examples/public_examples/B/FunctionalProgramming/SeqNaturalFoldr_NewSyntax.mch',
3811 '../prob_examples/public_examples/B/RecursiveFunctions/SortSet_NewSyntax.mch',
3812 '-t', '-strict'], 'Test new IF-THEN-ELSE / LET Syntax for expressions.').
3813 cli_testcase(1623, [b_test], [
3814 '-evalf', 'z < first([z]) & 0<z',
3815 '-evalf', 'z < first([z]) & z:INTEGER',
3816 '-evalf', 'z < last([z]) & 0<z',
3817 %'-evalf', 'z < first([z,z]) & 0<z', % currently requires DISPROVER_MODE
3818 %'-evalf', 'z < first(v) & v=[z] & 0<z',
3819 '-evalf', 'z > first([z]) & z>0'
3820 ], 'Ensure ast_cleanup removes first/last.').
3821 cli_testcase(1624, [cbc,card], [
3822 '-evalt', 'x:1..n --> BOOL & card({y|y:1..n & y|->FALSE:x})=cf & cf:15..26 & card({y|y:1..n & y|->TRUE:x})=ct &ct:22..25 & ct+cf=n & x(n/2)=FALSE & x(n/4)=FALSE & n=40',
3823 '-evalt', 'x:1..n --> BOOL & card({y|y:1..n & y|->FALSE:x})=cf & cf:15..26 & card({y|y:1..n & y|->TRUE:x})=ct &ct:22..25 & x(n/2)=FALSE & x(n/4)=FALSE & n=40',
3824 '-evalt', 'x:1..n --> BOOL & card({y|y:1..n & y|->FALSE:x})=cf & cf:15..26 & card({y|y:1..n & y|->TRUE:x})=ct &ct:22..25 & ct+cf=n & x(n/2)=TRUE & x(n/4)=TRUE & n=40',
3825 '-evalt', 'x:1..n --> BOOL & card({y|y:1..n & y|->FALSE:x})=cf & cf:5..16 & card({y|y:1..n & y|->TRUE:x})=ct &ct:27..29 & ct+cf=n & x(n/2)=FALSE & x(n/4)=FALSE & n=40 & x(3*n/4)=TRUE',
3826 '-evalf', 'x:1..n --> BOOL & card({y|y:1..n & y|->FALSE:x})=cf & cf:15..19 & card({y|y:1..n & y|->TRUE:x})=ct &ct:15..20 & ct+cf=n & x(n/2)=FALSE & x(n/4)=FALSE & n=40',
3827 % x:1..n --> BOOL & card({y|y:1..n & y|->FALSE:x})=cf & cf:15..19 & card({y|y:1..n & y|->TRUE:x})=ct &ct:15..20 & x(n/2)=FALSE & x(n/4)=FALSE & n=40 % this is not yet detected as failing quickly
3828 '-evalt', 'x:1..n --> BOOL & card(x~[{FALSE}])=cf & cf:15..26 & card(x~[{TRUE}])=ct & ct:22..25 & x(n/2)=FALSE & x(n/4)=FALSE & ct+cf=n & n=40',
3829 % '-evalt', 'x:1..n --> BOOL & card(x~[{FALSE}]):15..26 & card(x~[{TRUE}]):22..25 & x(n/2)=FALSE & x(n/4)=FALSE & n=40' does not work yet
3830 '-evalt', 's=1..20 & x <: s & card(x)=cx & cx:3..4 & y <: s & card(y)=cy & cy:3..4 & x/\\y={} & cx+cy=7 & (9:x or 9:y) & (18:y or 10:x)', % this test does not really exercise reification yet
3831 '-evalt', 's=1..20 & x: s-->BOOL & card({t|t:1..20 & t|->TRUE:x})=cx & cx:3..4 & y:s-->BOOL & card({t|t:1..20 & t|->TRUE:y})=cy & cy:3..4 & x~[{TRUE}]/\\y~[{TRUE}]={} & cx+cy=7 & (9|->TRUE:x or 9|->TRUE:y) & (18|->TRUE:y or 10|->TRUE:x)', % THIS ONE IS FASTER: reason t:1..20 TO DO: try and get rid of need for this !!
3832 '-evalt', 's=1..n & x<:s & card(x):15..26 & n/2/:x & n/4/:x & n=40' % another test; not requiring reification
3833 ], 'Test cardinality reification propagates through check_finite_card.').
3834 cli_testcase(1625, [cbc,card], [
3835 '-evalt', 'i=2..x & card(i):10..9122110 & x > 9121000'], 'Check card of interval propagates').
3836 cli_testcase(1626, [cbc,records,card], [
3837 '-evalt', '{v|v:0..5 & card({x,y|x|->y:{(2,2),(2,4)} & x+y>v}):2..3}=0..3',
3838 '-evalt', '{c,v,z|card({x|rec(a:x):v & x:(z..(z+3))})=c & v={rec(a:2),rec(a:4)} & c>1} = {((2|->{rec(a:2),rec(a:4)})|->1),((2|->{rec(a:2),rec(a:4)})|->2)}'
3839 ], 'A few card tests; test reification involving records').
3840 cli_testcase(1627, [cbc,card], [
3841 '-evalt', 's=1..20 & x: s-->BOOL & card({t|t|->TRUE:x})=cx & cx:3..4 & y:s-->BOOL & card({t|t|->TRUE:y})=cy & cy:3..4 & x~[{TRUE}]/\\y~[{TRUE}]={} & cx+cy=7 & (9|->TRUE:x or 9|->TRUE:y) & (18|->TRUE:y or 10|->TRUE:x)', % this counter part was much slower ! due to missing t:1..20 constraint; now solved
3842 '-evalt', 'x:1..n --> BOOL & card({y|y|->FALSE:x}):15..26 & card({y|y|->TRUE:x}):12..25 & x(n/2)=FALSE & x(n/4)=FALSE & n=40',
3843 '-evalt', 's=1..20 & x: s-->BOOL & card({t|t|->TRUE:x}):18..19',
3844 '-evalt', 's=1..20 & x: s-->BOOL & card({t|t|->FALSE:x}):18..19',
3845 '-evalt', 's=1..130 & x: s-->BOOL & card({t|t|->TRUE:x}):128..129',
3846 '-evalt', 's=1..258 & x: s-->BOOL & card({t|t|->FALSE:x})=card({t|t|->TRUE:x})',
3847 '-evalt', 's:1..n --> 1..n & card({x|x|->x:s})=n & n=50',
3848 '-evalt', 'card({s,n|s:1..n --> 1..n & card({x|x|->x:s})=n & n=50})=1', % non-linear pattern
3849 '-evalt', 's: 1..20 --> (BOOL*(1..20)) & card({x|x|->(TRUE|->x):s})=10 & card({x|x|->(FALSE|->x):s})=10',
3850 '-evalt', 's: 1..20 --> (BOOL*(1..20)) & card({x|x|->(TRUE|->x):s})=10 & card({x|x|->(FALSE|->x+1):s})=10', % non-linear pattern with addition
3851 '-evalt', 's: 1..20 --> (BOOL*(1..20)) & card({x|x|->(FALSE|->x):s})=10 & card({x|x|->(TRUE|->x-1):s})=10' % non-linear pattern with minus
3852 ], 'Check card propagates without need for t:1..20 constraint').
3853 cli_testcase(1628, [cbc,tickets,card], [
3854 '-evalt', 'card({f|f : 1..20 --> POW(7..11) & !x.(x:1..20 => card(f(x)) = 4 & {7,8,9} <: f(x)) & !x.(x:1..10 => f(x) /= f(x+10)) & !x.(x:1..9 => f(10+x) /= f(1+x)) & 10: f(1) })=1',
3855 % {f|f : 1..20 --> POW(7..11) & !x.(x:1..20 => card(f(x)) = 4 & {7,8,9} <: f(x)) & !x.(x:1..10 => f(x) /= f(x+10)) & !x.(x:1..9 => f(10+x) /= f(1+x)) & 10: f(1) & printf("~nf(1)=~w~n",f(1)) & !i.(i:2..20 => printf("f(i)=~w~n",(i,f(i)))) }
3856 '-evalt', '1=card({f|f : 1..100 --> POW(7..11) & !x.(x:1..100 => card(f(x)) = 4 & {7,8,9} <: f(x)) & !x.(x:1..90 => f(x) /= f(x+10)) & !x.(x:1..9 => f(90+x) /= f(1+x)) & 10: f(1)})'
3857 ], 'A variation of test 34; computing all solutions').
3858 cli_testcase(1629, [cbc,queens,card],
3859 ['../prob_examples/public_examples/B/Tickets/CardReify1/MaxQueensNoCheck_v5.mch',
3860 '-t', '-mc', 10], 'Check reification of card works with dom of total function').
3861 cli_testcase(1630, [cbc,card], [
3862 '-evalt', 'f:1..20 >->> 1..20 & card({i|i:1..20 & f~(i)=i})=4', %this also worked before
3863 '-evalt', 'f:1..20 >->> 1..20 & card({i|i:ran(f) & f~(i)=i})=4'
3864 ], 'Check reification of card with range').
3865 cli_testcase(1631, [cbc,card], ['../prob_examples/public_examples/B/Puzzles/Queens/NBishopsSets.mch',
3866 '-p', 'TIME_OUT', 25000, % got slower between 1.9.0 and 1.9.1 (commit 943d37585be8eeac46c93705d51c2392fde0fda3)
3867 % got slower again with e1c23513051449cc13b0767394959b4c485e306f ,but _v2 of model is faster
3868 '-init'], 'See that ProB can solve this puzzle').
3869 cli_testcase(1632, [cbc,while], ['../prob_examples/public_examples/B/Tickets/Hansen23_WhilePerformance/WhileSlow_CartProduct.mch', '-t',
3870 '-p', 'TIME_OUT', 15000 ], % increased time-out for jenkins
3871 'See that performance of while loop with IF with existential quantifier is ok').
3872 cli_testcase(1633, [kodkod], [ '-p', 'KODKOD_RAISE_WARNINGS', 'TRUE',
3873 '-evalf', ':kodkod-double-check args<:{1,2,3,4} & x:args & x<2 & x/=1',
3874 '-evalf', ':kodkod-double-check args<:{2,4,5,9,16,32} & x:args & x<4 & x/=2', % used to generate java.lang.IllegalArgumentException: too many atoms (32 <= 2^6) for too few powers of 2 (4< 6),
3875 '-evalt', ':kodkod-double-check args<:{2,4,5,9,16,32} & x:args & x<4' % used to generate java.lang.IllegalArgumentException: too many atoms (32 <= 2^6) for too few powers of 2 (4< 6)
3876 % '-evalf', ':kodkod args={1,2,3} & atts : args <-> args & dom(atts) = args & x = card(atts)&x < 2' %% TO DO: fix KODKOD
3877 ], 'check kodkod integer ranges are correctly computed, prevent regression').
3878 cli_testcase(1634, [b_test,external], [
3879 '../prob_examples/public_examples/B/ExternalFunctions/MAXIMIZE_Test.mch',
3880 '../prob_examples/public_examples/B/Puzzles/Queens/MaxQueensNoCheck_MAXIMIZE.mch',
3881 '../prob_examples/public_examples/B/Mathematical/Argumentation/Example3_MAXIMIZE.mch',
3882 '-assertions'],
3883 'Check MAXIMIZE external function').
3884 cli_testcase(1635, [private,tickets,codespeed,data_validation], ['../prob_examples/examples/B/Alstom/DataValidationProject/Tickets/Burdy3/Rule_DB_General_0006.mch', '-t',
3885 %'-p','SHOW_EVENTB_ANY_VALUES','TRUE', '-p', 'MAX_OPERATIONS', 1000,
3886 '-p', 'MAXINT', 2147483647, '-p', 'MININT', -2147483647, '-p', 'TIME_OUT', 5000, '-p','CLPFD', 'TRUE'
3887 ],
3888 'Codespeed test; test that cartesian product / concat_sequence performance issue fixed'). % AlstomBurdy_Rule6_CLP
3889 cli_testcase(1636, [b_test,tickets,wd,private,data_validation], [
3890 '../prob_examples/examples/B/ClearSy/GeneralElectric_DV/Ticket_Coudour1/rule.mch',
3891 '-expcterr', well_definedness_error,
3892 '-mc', 10, '-nodead'],
3893 'Check WD error found').
3894 cli_testcase(1637, [b_test,tickets,private,data_validation], [
3895 '../prob_examples/examples/B/ClearSy/GeneralElectric_DV/Ticket_Coudour2/fonction_totale.mch',
3896 '-t', '-expcterr', setup_constants_inconsistent,
3897 '-properties', '-expcterr', check_properties],
3898 'Check partial setup constants possible despite inconsistency').
3899 cli_testcase(1638, [b_test,tickets,private,data_validation], [
3900 '../prob_examples/examples/B/ClearSy/GeneralElectric_DV/Ticket_Coudour2/fonction_totale_v2.mch',
3901 '-animate_all', '-expcterr', setup_constants_fails,
3902 '-opterr', 'setup_constants_inconsistent'], % we now also generate this msg when not all csts are found deterministically
3903 'Check inconsistent properties detected by animate_all').
3904 cli_testcase(1639, [b_test], ['-check_java_version'], 'Check check_java_version works').
3905 cli_testcase(1640, [tickets], ['-evalt', '{}/:STRING --> BOOL',
3906 '-evalt', '{"ab"|->TRUE }/:STRING --> BOOL',
3907 '-evalt', '{"ab"|->TRUE,"ab"|->FALSE }/:STRING --> BOOL',
3908 '-evalt', 'not({TRUE|->"STRING2"} : BOOL >+>> STRING)',
3909 '-evalt', 'not({TRUE|->"STRING2"} : BOOL +->> STRING)'
3910 ], 'Check bug in not_total_function fixed').
3911 cli_testcase(1641, [laws,rel_fnc], ['../prob_examples/public_examples/B/Laws/FunLawsStrings.mch', '-mc', '500', '-cs', '-nogoal', '-nodead', '-strict','-p', 'DOUBLE_EVALUATION', 'TRUE', '-expcterr', 'model_check_incomplete'], 'Use model checking to check a variety of laws on functions over infinite base domain.').
3912 cli_testcase(1642, [private,tickets,operation_reuse,data_validation], [
3913 '../prob_examples/examples/B/ClearSy/GeneralElectric_DV/Ticket_Coudour3/rule1.mch',
3914 '-t', '-p', 'OPERATION_REUSE', 'TRUE',
3915 '-expcterr', invariant_violation],
3916 'Check operation reuse problem fixed').
3917 cli_testcase(1643, [b_test,operation_reuse], ['../prob_examples/public_examples/B/Benchmarks/CSM.mch', '-mc', '1000', '-strict',
3918 '-p', 'OPERATION_REUSE', 'TRUE','-check_complete', '-cc', '341', '1229'], 'Test 13 with operation reuse').
3919 cli_testcase(1644, [b_test,operation_reuse,symmetry_test], ['-p', 'MAXINT', '5', '../prob_examples/public_examples/B/SymmetryReduction/scheduler1.ref', '-mc', '150', '-cc', '145', '447',
3920 '-p', 'OPERATION_REUSE', 'TRUE', '-p', 'DEFAULT_SETSIZE', '3', '-p', 'SYMMETRY_MODE', 'off', '-strict'], 'Test 73 with operation reuse').
3921 cli_testcase(1645, [b_test,operation_reuse,symmetry_test], ['-p', 'MAXINT', '5', '../prob_examples/public_examples/B/Demo/DiningCryptographers.mch', '-mc', '100', '-cc', '65', '96', '-p', 'MAX_INITIALISATIONS', '100', '-p', 'OPERATION_REUSE', 'TRUE','-p', 'SYMMETRY_MODE', 'off', '-strict'], 'Test 106 with operation reuse').
3922 cli_testcase(1646, [cbc,operation_reuse,hash], ['../prob_examples/public_examples/B/Tickets/FiveWayTraffic/FiveWay_new_mch.eventb',
3923 '-mc', 1000, '-strict','-p', 'OPERATION_REUSE', 'TRUE', '-p', 'COMPRESSION', 'FALSE',
3924 '-cc', '29', '65',
3925 '--hash64', 1088314065090582434 % used to be 591402958158885188 % used to be 971801032035978952 until 9 Sep 2021 after changes to state_packing
3926 ], 'Test 1532 with operation reuse.').
3927 cli_testcase(1647, [b_test,csp_test,operation_reuse,cspb],['../prob_examples/public_examples/CSPB/Williams/ME.mch', '-csp-guide', '../prob_examples/public_examples/CSPB/Williams/ME.csp', '-mc', 10000, '-p', 'OPERATION_REUSE', 'TRUE' %,'-p', 'pge', disabled
3928 ],'Testing operation reduce optimisation for (ME.mch||ME.csp).').
3929 cli_testcase(1648, [b_test,csp_test,operation_reuse,cspb],['../prob_examples/public_examples/CSPB/Ivo/verysimple.mch', '-csp-guide', '../prob_examples/public_examples/CSPB/Ivo/verysimple.csp', '-mc', 10000, '-bf', '-p', 'OPERATION_REUSE', 'TRUE', %'-p', 'pge', disabled,
3930 '-expcterr', deadlock, '-strict'],'Finding the deadlock because of the impossibility to execute the b operation (verysimple.mch||verysimple.csp).').
3931 cli_testcase(1649, [cbc,card], [
3932 '-evalf', 'occupies : Pigeons >-> Holes & Pigeons=1..100 & Holes=1..99',
3933 '-evalt', 'occupies : Pigeons >-> Holes & Pigeons=2..100 & Holes=1..99',
3934 '-evalt', 'id(NATURAL) : NATURAL >-> NATURAL', % also check infinite functions work
3935 '-evalt', 'id(NATURAL1) : NATURAL1 >-> NATURAL1', % also check infinite functions work
3936 '-evalt', 'id(NATURAL1) : NATURAL1 >-> NATURAL',
3937 '-evalf', 'id(NATURAL1) : NATURAL >-> NATURAL',
3938 '-evalf', 'id(NATURAL) : NATURAL1 >-> NATURAL',
3939 '-evalf', 'id(NATURAL) : NATURAL >-> NATURAL1',
3940 '-evalt', 'id(NATURAL1) /: NATURAL >-> NATURAL'
3941 ], 'Ensure card. check for total_injection works').
3942 cli_testcase(1650, [parser,tickets], [
3943 '../prob_examples/public_examples/B/Tester/SyntaxErrors/MissingSemicolon.mch',
3944 '-expcterrpos', parse_error, 13, 2, '-expcterr', 'load_main_file'],
3945 'Check parser correctly reports syntax error and position').
3946 cli_testcase(1651, [b_test,execute], ['../prob_examples/public_examples/B/Simple/UpCounter.mch', '-init','-execute_all',
3947 '-animate_stats', '-strict', '-goal', 'c=20', '-p', 'MAXINT', '20'], 'Check -execute_all.').
3948 cli_testcase(1652, [parser,tickets], [
3949 '-eval', '2>1 & & 3>2',
3950 '-expcterrpos', parse_machine_predicate_error, 1, 6 ],
3951 'Check parser correctly reports syntax error and position for eval').
3952 cli_testcase(1653, [b_test,tickets,hash], [
3953 '../prob_examples/public_examples/B/Tester/SelectMultipleTrueCases.mch',
3954 '-t', '-mc', 100, '-nogoal', '-cc', 4, 10, '--hash64', 357695998652715541 ],
3955 'Select with multiple true branches dealt with').
3956 cli_testcase(1654, [parser,tickets], [
3957 '../prob_examples/public_examples/B/Tickets/PARSERLIB-44/BinPacking_UnicodeMinus.mch',
3958 '-init' ],
3959 'Check parser correctly parses unicode minus used for --> (PARSERLIB-44)').
3960 cli_testcase(1655, [laws,records], ['../prob_examples/public_examples/B/NewSyntax/RecSetLaws.mch', '-mc', '1000', '-nogoal', '-nodead', '-cs', '-strict','-p', 'DOUBLE_EVALUATION', 'TRUE', '-t', '-expcterr', 'model_check_incomplete'], 'Various laws about records.').
3961 cli_testcase(1656, [tickets,records,private], ['../prob_examples/examples/B/Tickets/record_projection_bugly.mch', '-assertions'], 'Check performance.').
3962 cli_testcase(1657, [eventb_test,tickets,private], [
3963 '../prob_examples/examples/EventBPrologPackages/Advance_WP2/v5_Aug2014/ex_mch.eventb',
3964 '-t' ],
3965 'Check COMMS__ComputeLeastCostRoutes efficient (avoiding re-calculation of same assignment; see PROB-351)').
3966 cli_testcase(1658, [parser,tickets], [
3967 '../prob_examples/public_examples/B/Tickets/Hansen25_OpNamingWarning/Naming_VAR.mch',
3968 '-expcterrpos', type_error, 5, 6
3969 ],
3970 'Check type checker reports id clash in VAR').
3971 cli_testcase(1659, [parser,tickets], [
3972 '-eval', ' 2 = TRUE',
3973 '-expcterrpos', type_expression_error, 1, 7 ],
3974 'Check type checker correctly reports error and position in eval').
3975 cli_testcase(1660, [parser,tickets], [
3976 '../prob_examples/public_examples/B/Tickets/Hansen25_OpNamingWarning/ReadingUninitialisedVar.mch', '-animate', 10,
3977 '-expcterrpos', reading_undefined_variable, 6, 12 , '-nodead' ],
3978 'Check interpreter reports unitialised var and that -nodead works for -animate').
3979 cli_testcase(1661, [eventb_test,tickets,private], [
3980 '../prob_examples/examples/EventBPrologPackages/Advance_WP2/v5_Aug2014/ex_mch.eventb',
3981 '-mc', 10 , '-opterr', 'time_out_for_assertions', % not raised anymore 26.2.2021, see test 2087
3982 '-expcterr', 'model_check_incomplete'],
3983 'Check that virtual-time_out in assertion checking caught (or not raised)').
3984 cli_testcase(1662, [b_test,csp_test,cspb], ['../prob_examples/public_examples/CSPB/FeatureTests/AssertionViolation.mch',
3985 '-csp-guide', '../prob_examples/public_examples/CSPB/FeatureTests/AssertionViolation.csp',
3986 '-mc', '1000', '-expcterr', assertion_violation, '-nodead'], 'Test that static assertion violation found').
3987 cli_testcase(1663, [b_test,csp_test,cspb], ['../prob_examples/public_examples/CSPB/FeatureTests/AssertionViolationDynamic.mch',
3988 '-csp-guide', '../prob_examples/public_examples/CSPB/FeatureTests/AssertionViolationDynamic.csp',
3989 '-mc', '1000', '-expcterr', assertion_violation], 'Test that dynamic assertion violation found').
3990 cli_testcase(1664, [b_test,csp_test,cspb], ['../prob_examples/public_examples/CSPB/FeatureTests/AssertionViolationDynamic.mch',
3991 '-csp-guide', '../prob_examples/public_examples/CSPB/FeatureTests/AssertionViolationDynamicShort.csp',
3992 '-mc', '1000', '-nodead'], 'Test that no dynamic assertion violation found').
3993 %cli_testcase(1665, [plugin_units,pragmas], ['../prob_examples/public_examples/B/PragmasUnits/InternalRepresentationTests/Records.mch',
3994 % '-plugin', 'units', '-strict',
3995 % '-pp', '../prob_examples/public_examples/B/PragmasUnits/InternalRepresentationTests/Records_internal.mch'],
3996 % 'Check that records are supported in unit plugin').
3997 cli_testcase(1666, [kodkod,tickets,random], [
3998 '../prob_examples/public_examples/B/Tickets/BendispostoTutoren/tuts_cando_only.mch', '-init', '-assertions',
3999 '-p', 'RANDOMISE_ENUMERATION_ORDER', 'TRUE', '-p', 'SOLVER_FOR_PROPERTIES', 'kodkod', '-p', 'KODKOD_RAISE_WARNINGS', 'TRUE' ],
4000 'Check that Randomise Enumeration order and Kodkod work together').
4001 cli_testcase(1667, [cbc,tickets,kodkod,random], [
4002 '../prob_examples/public_examples/B/Tickets/BendispostoTutoren/tuts_working.mch', '-init', '-assertions',
4003 '-p', 'RANDOMISE_ENUMERATION_ORDER', 'TRUE', '-p', 'SOLVER_FOR_PROPERTIES', 'kodkod', '-p', 'KODKOD_RAISE_WARNINGS', 'TRUE' ],
4004 'Check that Randomise Enumeration order and Kodkod work together').
4005 cli_testcase(1668, [cbc,random], [
4006 '../prob_examples/public_examples/B/Tickets/BendispostoTutoren/tuts_working.mch', '-init', '-assertions',
4007 '-p', 'RANDOMISE_ENUMERATION_ORDER', 'TRUE', '-p', 'KODKOD', 'FALSE' ],
4008 'Check that Randomise Enumeration order and Kodkod work together').
4009 cli_testcase(1669, [tickets,cbc,card], ['-p', 'MAXINT', 3,
4010 '-evalt', 'card(perm(NAT))=24',
4011 '-evalt', 'perm(NAT) /= {}',
4012 '-evalf', 'perm(NAT) = {}',
4013 '-evalt', 'perm(NAT) ={[1,0,2,3],[1,0,3,2],[2,0,1,3],[2,0,3,1],[3,0,1,2],[3,0,2,1],[0,1,2,3],[0,1,3,2],[2,1,0,3],[2,1,3,0],[3,1,0,2],[3,1,2,0],[0,2,1,3],[0,2,3,1],[1,2,0,3],[1,2,3,0],[3,2,0,1],[3,2,1,0],[0,3,1,2],[0,3,2,1],[1,3,0,2],[1,3,2,0],[2,3,0,1],[2,3,1,0]}',
4014 '-evalt', 'perm(NAT) = perm(0..MAXINT)',
4015 '-evalt', 'perm(NAT1) = perm(1..MAXINT)',
4016 '-evalt', 'card(perm(INT))=120',
4017 '-evalt', 'card(iseq(NAT)) = 65'
4018 ],
4019 'Check that perm(NAT)={} bug fixed').
4020 cli_testcase(1670, [b_test], ['-t', '-expcterr', trace_checking_fails,
4021 '../prob_examples/public_examples/B/FeatureChecks/DEFINITIONS/SETPREF.mch', '-p', 'MAXINT', '22', '-card', 'ID', '2'], 'check trace checking fails').
4022 cli_testcase(1671, [tickets, parser], ['-t', '--model-check',
4023 '../prob_examples/public_examples/B/FeatureChecks/DollarSymbol/ValidMachines/AssignByPredicateWithDEFTransitive.mch',
4024 '../prob_examples/public_examples/B/FeatureChecks/DollarSymbol/ValidMachines/AssignByPredicateWithDEF.mch'],
4025 'check $0 can be used within definitions (PARSERLIB-47)').
4026 cli_testcase(1672, [tickets, parser], [
4027 '../prob_examples/public_examples/B/FeatureChecks/DollarSymbol/ErrorMachines/DollarInInvariant.mch',
4028 '-expcterrpos', type_error, 2, 21, '-expcterr', load_main_file],
4029 'check $0 cannot be used in invariant (PARSERLIB-47)').
4030 cli_testcase(1673, [tickets, parser], [
4031 '../prob_examples/public_examples/B/ErrorMachines/IllegalSeesIncludes/CyclicM1.mch',
4032 '-expcterr', parse_error, '-expcterr', load_main_file],
4033 'check cyclic sees detected and does not lead to parser exception').
4034 cli_testcase(1674, [pragmas, parser], ['-init',
4035 '../prob_examples/public_examples/B/Pragmas/FilePragma.mch',
4036 '../prob_examples/public_examples/B/Pragmas/Files2/FilePragma2.mch'],
4037 'check @file "Path" pragma works').
4038 cli_testcase(1675, [b_test,mcm_tests], ['../prob_examples/public_examples/B/TestCaseGeneration/MCM_Tests/SimpleTestModel.mch', '-mcm_tests', '20', '1000', '1=1', '../prob_examples/public_examples/B/TestCaseGeneration/MCM_Tests/SimpleTestModel_mcm_tests.xml', '-strict'],'State based test generation with non-deterministic initialisation').
4039 cli_testcase(1676, [b_test,mcm_tests,private], ['../prob_examples/examples/EventBPrologPackages/Soton/MCM_Tests/FENCEM7_mch.eventb',
4040 '-mcm_tests', '10', '4000', '1=1',
4041 '../prob_examples/examples/EventBPrologPackages/Soton/MCM_Tests/tests.xml',
4042 '-mcm_cover', 'IssueLoad IssueStore ObserveLoadAfterStore',
4043 '-p', 'INTERNAL_ARGUMENT_PREFIX', 'p',
4044 '-strict'],'State based test generation with internal operation arguments').
4045 cli_testcase(1677, [tickets,while], [
4046 '../prob_examples/public_examples/B/Tickets/PROB-412/WhileVariantNotDecreased.mch', '-animate', 10,
4047 '-expcterr', animate, '-expcterrpos', while_variant_error, 24, 16 ],
4048 'Check variant not decreasing error found and position ok (PROB-412)').
4049 cli_testcase(1678, [while,tickets], [
4050 '../prob_examples/public_examples/B/Tickets/Hansen24_WhileSeesBug/While.mch',
4051 '../prob_examples/public_examples/B/Tickets/Hansen24_WhileSeesBug/Runner.mch',
4052 '-t', '-mc', 1000 ],
4053 'Check bug with while loop compilation because of incorrect read/modifies info (not renamed) fixed').
4054 cli_testcase(1679, [b_test], [
4055 '../prob_examples/public_examples/B/Tester/ParityFunction.mch',
4056 '../prob_examples/public_examples/B/Mathematical/Sieve_WithMin.mch',
4057 '../prob_examples/public_examples/B/Benchmarks/Chapter13/Booksrr.ref',
4058 '../prob_examples/public_examples/B/Benchmarks/Chapter_10/Safes.mch',
4059 '-t'],
4060 'A few trace tests from the Tcl/Tk Regression Test suite').
4061 cli_testcase(1680, [b_test,private], [
4062 '../prob_examples/examples/B/Siemens/TestString.mch',
4063 '-expcterr', 'virtual_time_out',
4064 '-t'],
4065 'A few trace tests from the Tcl/Tk Regression Test suite').
4066 cli_testcase(1681, [b_test,private,exists], [
4067 '../prob_examples/examples/B/ClearSy/control/M1.ref',
4068 %'../prob_examples/examples/B/ClearSy/control/M1_i.imp', % bmachine_static_checks: Operation result "status" has the same name as a variable or constant in operation "UTILS.nextState".
4069 '-t'],
4070 'Check no exists body warning').
4071 cli_testcase(1682, [tickets,private,data_validation], [
4072 '../prob_examples/examples/B/Alstom/ssp/tms_ssp_0004.mch',
4073 '-p', 'TIME_OUT', 3500, % increase time-out for SWI because now the time-out applies to all solutions of an event
4074 '-t'],
4075 'Check no time-out').
4076 cli_testcase(1683, [cbc], [ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
4077 '-evalt', '(A=TRUE) <=> (X:Y..Z) & Y:1..10 & Z:0..2 & X >12 & (A=FALSE => X:15..16)'
4078 ], 'check interval reification').
4079 cli_testcase(1684, [cbc], [ '-p', 'CLPFD', 'FALSE', '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
4080 '-evalt', '(A=TRUE) <=> (X:Y..Z) & Y:1..10 & Z:0..2 & X >12 & (A=FALSE => X:15..16)'
4081 ], 'check interval reification').
4082 cli_testcase(1685, [cbc], [
4083 '-evalt', 'NATURAL1 : x & (x = { {22}, {33}} or x={ NATURAL1 })',
4084 '-evalf', 'NATURAL1 : x & x = { {22}, {33}}',
4085 '-evalt', '{x|x>30 & x mod 3 =0} /\\ {x|x<50 & x mod 2 =0} = {36,42,48}'
4086 ], 'a few checks').
4087
4088 cli_testcase(1686, [cbc,laws,finite], [ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
4089 '-evalt', 'x:FIN(x) & x=POW(POW(1..9))',
4090 '-evalf', 'x/:FIN(x) & x=POW(POW(1..9))',
4091 '-evalt', 'x:FIN(x) & x=FIN(POW(1..10))',
4092 '-evalt', 'x:FIN(x) & x=POW(POW(1..10))',
4093 '-evalf', 'x/:FIN(x) & x=POW(POW(1..10))',
4094 '-evalt', 'x:FIN(x) & x=POW(POW(POW(1..10)))',
4095 '-evalf', 'x:FIN(x) & x=POW(POW(POW(NATURAL1)))',
4096 '-evalt', 'x/:FIN(x) & x=POW(POW(POW(NATURAL1)))',
4097 '-evalf', 'x:FIN(x) & x=FIN(POW(POW(NATURAL1)))',
4098 '-evalt', 'x/:FIN(x) & x=FIN(POW(POW(NATURAL1)))',
4099 '-evalf', 'x:FIN(x) & x=FIN(INTEGER)',
4100 '-evalt', 'x/:FIN(x) & x=FIN(INTEGER)',
4101 '-evalt', 'x/:FIN(x) & x=POW(INTEGER)',
4102 '-evalf', 'x:FIN(x) & x = %x.(x:NATURAL1|1)',
4103 '-evalt', 'x:FIN(x) & x = %x.(x:POW(POW(1..11))|1)',
4104 % '-evalt', 'x/:FIN(x) & x = %x.(x:POW(POW(1..11))|1)', % computes x, time-out
4105 '-evalt', 'x:FIN(x) & x = (3..2)*INTEGER',
4106 '-evalt', 'x:FIN(x) & x = INTEGER*(3..2)',
4107 '-evalf', 'x:FIN(x) & x = INTEGER*(2..3)',
4108 '-evalt', 'x:FIN(x) & x = POW(POW(1..10))*(2..3)',
4109 '-evalt', 'x:FIN(x) & x = POW(POW(1..11))*(2..3)',
4110 '-evalt', 'x:FIN(x) & x = POW(POW(1..11))*{2,4}',
4111 '-evalt', 'x:FIN(x) & x = POW(POW(1..11))*(4..3)',
4112 '-evalt', 'x:FIN(x) & x = NATURAL1*(4..3)',
4113 '-evalf', 'x:FIN(x) & x = NATURAL1*{2,4}',
4114 '-evalf', 'x:FIN(x) & x = (1..2)*NATURAL1',
4115 '-evalf', 'x:FIN(x) & x = INTEGER*NATURAL1',
4116 '-evalt', 'x:FIN(x) & x=iseq(1..10)',
4117 '-evalf', 'x:FIN(x) & x=iseq(NATURAL)',
4118 '-evalt', 'x:FIN(x) & x=perm(POW(1..9))',
4119 '-evalf', 'x:FIN(x) & x= {x|x : INTEGER & x < 3}',
4120 '-evalt', 'x:FIN(x) & x=iseq(POW(POW(1..11)))',
4121 '-evalt', 'x:FIN(x) & x=iseq1(POW(POW(1..11)))',
4122 '-evalf', 'x:FIN(x) & x=seq(POW(POW(1..11)))',
4123 '-evalf', 'x:FIN(x) & x=seq1(POW(POW(1..11)))',
4124 '-evalt', 'x:FIN(x) & x=seq(4..3)',
4125 '-evalt', 'x:FIN(x) & x=seq1(4..3)',
4126 '-evalt', 'x:FIN(x) & x=id(POW(POW(1..11)))',
4127 '-evalt', 'x:FIN(x) & x=perm(NATURAL)', % perm(S) is empty for infinite S
4128 '-evalt', 'x:FIN(x) & x=perm(POW(POW(1..11)))',
4129 '-evalf', 'x/:FIN(x) & x=perm(POW(POW(1..11)))',
4130 '-evalt', '{z|z:seq(BOOL) & size(z)<=0} = {[]}'
4131 ], 'a few checks about finite').
4132 cli_testcase(1687, [tickets,parser], [
4133 '../prob_examples/public_examples/B/Tickets/Hansen27_NestedMchErr/M1.mch',
4134 '-expcterr', load_main_file, '-expcterrpos', parse_error, 2, 5 ],
4135 'Check error found and position ok').
4136 cli_testcase(1688, [cbc,laws,finite], [ '-p', 'DISPROVER_MODE', 'TRUE',
4137 '-evalf', 'x/:FIN(x) & x=(POW(1..11) +-> POW(1..9))',
4138 '-evalt', 'x:FIN(x) & x=(POW(1..11) +-> POW(1..9))',
4139 '-evalt', 'x:FIN(x) & x=perm(POW(1..9))',
4140 '-evalt', '{b|x:FIN(x) <=> b=TRUE}=bb & x = %x.(x:POW(POW(1..200)*POW(1..300))|card(x)) & bb={TRUE}',
4141 '-evalt', ' {b|x:FIN(x) <=> b=TRUE}=bb & x = %x.(x:POW(POW(1..200)*POW(1..300)*STRING*POW(1..100))|card(x)) & bb={FALSE}',
4142 '-evalt', ' {b|x:FIN(x) <=> b=TRUE}=bb & x = %x.(x:POW(POW(1..200)*POW(1..3000)*STRING*POW(1..1000))|card(x)) & bb={FALSE}'
4143 % '-expcterr', 'eval_string_enum_warning'
4144 ], 'a few checks about finite').
4145 cli_testcase(1689, [tickets,kodkod], [
4146 '-evalf', ':kodkod args={1,2,3} & atts : args <-> args & dom(atts) = args & x = card(atts)&x < 2',
4147 '-opterr', 'kodkod_fail'
4148 ], 'check card interval analysis bug fixed (PROB-411)').
4149 cli_testcase(1690, [tickets], [
4150 '../prob_examples/public_examples/B/Tickets/Hansen21_Sees/AllGroups.mch',
4151 '-t', '-mc', 100, '-bf',
4152 '-expcterr', 'invariant_violation'
4153 ], 'check sees bug remains fixed').
4154 cli_testcase(1691, [tickets,records], [
4155 '../prob_examples/public_examples/B/Tickets/RecordPartiallyTyped/Knowledge_loop.mch',
4156 '-init',
4157 '-expcterrpos', 'type_expression_error', 17, 45
4158 ], 'check that record type bug fixed, no type generated: record([field(a,b)|any])').
4159 cli_testcase(1692, [tickets,quantified,union], [ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
4160 '-evalt', 'UNION(i).(i:1..2|{i|->i}) ^ UNION(j).(j:1..3|{j|->j}) = [1,2,1,2,3]',
4161 '-evalt', 'UNION(i).(i:1..2|{i|->i}) ^ {} = [1,2]',
4162 '-evalf', 'UNION(i).(i:1..2|{i|->i}) ^ UNION(j).(j:1..3|{j|->j}) = [1,2,3,4,5]'
4163 ], 'ensure both UNIONs are translated').
4164 cli_testcase(1693, [tickets,let], [
4165 '-eval', 'i = 20 & (LET i BE i= i+1 IN i END) =res',
4166 '-expcterr', type_expression_error
4167 ], 'ensure error in nested LET expression detected').
4168 cli_testcase(1694, [tickets,error_checks,let], [
4169 '-eval', '(LET i,j BE i=i+10 & j=i+20 IN i+j END)',
4170 '-expcterr', type_expression_error,
4171 '-expcterr', eval_string
4172 ], 'ensure error in nested LET expression detected').
4173 cli_testcase(1695, [tickets,error_checks,let], [
4174 '-eval', '(LET i,j BE j=i+20 & i=10 IN i+j END)',
4175 '-expcterr', type_expression_error,
4176 '-expcterr', eval_string
4177 ], 'ensure error in nested LET expression detected').
4178 cli_testcase(1696, [tickets,let], [ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
4179 '-evalt', 'i=1 & r=LET i BE i=10 IN LET j BE j=i+20 IN i+j END END & r=40',
4180 % '-evalt', 'k = 1..n & n:2..3 & (LET i,j BE i={10}\\/k & j= i \\/ i IN res=i \\/ j END)',
4181 % '-evalt', '(LET i,j BE i=10 & j=i+20 IN i+j END) =40',
4182 '-evalt', 'i = 100 & (LET i,j BE i={10} & j= 20 IN (LET j BE j=i \\/ i IN i \\/ j END) END) = {10}',
4183 '-evalt', 'x=1 & y=2 & #(x,y).(x=30 & y=x+x & res=y+x) & res=90'
4184 ], 'ensure nested LET predicate and expression work').
4185 cli_testcase(1697, [cbc], [ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
4186 '-evalt', '{y,n|{x|x:1..n} = {y}} = {1|->1}',
4187 '-evalt', 'x:{y|y>0 & y mod 100 = 0} & x:{z|z<1000 & z mod 500 = 0}',
4188 '-evalt', '{x|x:1..n} = {y}'
4189 ], 'check improved set comprehension propagation').
4190 cli_testcase(1698, [cbc], [
4191 '-evalt', 'x:c1 & c1={y|y>0 & y mod 100 = 0} & x:c2 & c2= {z|z<1000 & z mod 500 = 0}',
4192 % these now did not work before:
4193 '-evalt', 'p = {x|x>100 & x<n & x mod 2 =0} & p = {102,104}',
4194 '-evalt', 'p = {x|x>100 & x<n & x mod 2 =0} & p = {102,104,106,108}',
4195 '-evalt', 'p = {x|x>100 & x<n & x mod 2 =0} & p = {102,104,106,108} & n=110',
4196 '-evalf', 'p = {x|x>100 & x<n & x mod 2 =0} & p = {102,104,106,108,113}'
4197 % '-evalf', 'p = {x|x>100 & x<n & x mod 2 =0} & p = {102,104,106,108,112}' % TO DO: does not work yet
4198 % '-evalt', 'p = {x|x>100 & x<n & x mod 2 =0} & {102} <: p' % TO DO: nor this
4199 ], 'check improved set comprehension propagation').
4200 cli_testcase(1699, [private,csp_test,cspb,hash], ['../prob_examples/examples/CSPB/Treharne/CSPB-SwanseaPlanModel/Interlocking.mch',
4201 '-csp-guide', '../prob_examples/examples/CSPB/Treharne/CSPB-SwanseaPlanModel/Ctrl.csp',
4202 '-mc', '40', '-bf', '-cc', 148, 687,
4203 '--hash64', 418094361645960853, % 197635050763058334, % used to be 537894344680006343, % used to be 838177507379154842 until Sep 9th 2021
4204 '-expcterr', 'model_check_incomplete'], 'Test CSP||B model'). % % 17.9.2021: adapted hash from 268712975971443200 for sorted order of variable, before hash was 906866094249096570, but we changed order of machine inclusion
4205 cli_testcase(1700, [private,csp_test,hash], ['../prob_examples/public_examples/B/Ivo/BenchmarksFairness/ProB/DPhil/dphil_ltl6.csp',
4206 '-mc', '3000', '-bf', '-cc', 1764, 7125, '--hash64', 419761536083491376], 'Test Dining Philosophers state space (CSP normalisation)').
4207 cli_testcase(1701, [csp_test,cspb,hash], ['../prob_examples/public_examples/CSPB/Counter.mch',
4208 '-csp-guide', '../prob_examples/public_examples/CSPB/Counter.csp',
4209 '-mc', '40', '-bf', '-cc', 15, 15, '--hash64', 987057609118852348], 'Test CSP||B model').
4210 cli_testcase(1702,[cbc,enabling],[
4211 '-enabling_analysis_csv','../prob_examples/public_examples/B/Benchmarks/Cruise_finite1_enabling_analysis.csv',
4212 '../prob_examples/public_examples/B/Benchmarks/Cruise_finite1.mch',
4213 '-p', 'TIME_OUT', 5000
4214 ], 'Check CSV output of Cruise Control').
4215 cli_testcase(1703,[cbc,enabling],[
4216 '-enabling_analysis_csv','../prob_examples/public_examples/EventBPrologPackages/Advance/CAN_Bus/CB3FSMM_mch_v2_enabling_analysis.csv',
4217 '../prob_examples/public_examples/EventBPrologPackages/Advance/CAN_Bus/CB3FSMM_mch_v2.eventb',
4218 '-p', 'TIME_OUT', 5000,
4219 '-expcterr', well_definedness_error % added 28/5/2018, T2ReleaseBus -> Update, was previously not detected
4220 ], 'Check CSV output of CAN Bus Control').
4221 cli_testcase(1704, [tickets], ['../prob_examples/public_examples/B/Tickets/Space InPath/phonebook7.mch', '-t', '-mc', '100', '-strict', '-expcterr', 'model_check_incomplete'], 'check space in path works').
4222 cli_testcase(1705, [tla,tlc], ['../prob_examples/public_examples/EventBPrologPackages/Tickets/ExportClassicalB/TestLeftAsVar_mch.eventb',
4223 '../prob_examples/public_examples/EventBPrologPackages/Tickets/Tester/UseBKeywords.eventb', '-mc_with_tlc'], 'check TLC for Event-B model with classical B keywords').
4224 cli_testcase(1706, [b_test, infinite,total_function], [
4225 '-evalt', 'f : NATURAL --> STRING',
4226 '-evalt', 'f : NATURAL --> POW(INTEGER)',
4227 '-evalt', 'f : STRING --> {11,22,33} & f("abc")>22 & f("xyz") < 22',
4228 '-evalt', 'f : STRING --> STRING & f("abc")="ABC" & f("xyz") = "XYZ"'
4229 ], 'Ensure symbolic treatment of (infinite) total functions with complicated range types.').
4230 cli_testcase(1707, [b_test,cruise,operation_reuse,codespeed,hash], ['../prob_examples/public_examples/B/Benchmarks/Cruise_finite1.mch', '-mc', '1400', '-cc', '1361', '25696', '-strict', '--hash64', 753243318772366897, '-p', 'MAX_INITIALISATIONS', 5,
4231 '-p', 'OPERATION_REUSE', 'TRUE',
4232 '-check_op_cache_stats', 663, 294, 26, 24 % was 296, 26, 25 before merging invariants
4233 ], 'Complete Model Check of Cruise Controller'). % 17.9.2021: adapted hash from 203058745203935766 for sorted order of variable
4234 cli_testcase(1708, [private,tickets,operation_reuse,operation_reuse_full,data_validation], [
4235 '../prob_examples/examples/B/ClearSy/GeneralElectric_DV/Ticket_Coudour3/rule1.mch',
4236 '-t', '-p', 'OPERATION_REUSE', 'full',
4237 '-p', 'TIME_OUT', '9000', % try and fix performance issue on Gitlab windows runner
4238 '-expcterr', invariant_violation],
4239 'Check operation reuse problem fixed').
4240 cli_testcase(1709, [b_test,operation_reuse,operation_reuse_full], ['../prob_examples/public_examples/B/Benchmarks/CSM.mch', '-mc', '1000', '-strict',
4241 '-p', 'OPERATION_REUSE', 'full','-check_complete', '-cc', '341', '1229'], 'Test 13 with operation reuse').
4242 cli_testcase(1710, [cbc], [
4243 '-evalt', 'x = {1|->2, 2|->3, 3|->4} & r={y|(y,3):x} & r={2}',
4244 '-evalt', 'x = {1|->2, 2|->3, 3|->4, 22|->3} & r={y|(y,3):x} & r={2,22}',
4245 '-evalt', 'x = {1|->2, 2|->3, 3|->4} & r={y|(y,5):x} & r={}'
4246 ], 'Test new compilation of set membership.').
4247 cli_testcase(1711, [tickets], ['../prob_examples/public_examples/B/ErrorMachines/ParseErrors/DefinitionInQuantifier2.mch',
4248 '-expcterrpos', type_error, 16, 18,
4249 '-expcterrpos', bmachine_construction, 12, 1, '-expcterr', 'load_main_file'
4250 ], 'Check illegal DEFINITION args detected').
4251 cli_testcase(1712, [b_test], ['../prob_examples/public_examples/B/Tester/DefGoal.mch',
4252 '-execute_all', '-nogoal', '-check_goal'
4253 ], 'Check -check_goal works with -execute_all').
4254 cli_testcase(1713, [b_test,external,hash], ['../prob_examples/public_examples/B/ExternalFunctions/TestLibraryMeta.mch', '-model-check', '-strict'], 'Check that external functions on state space work.').
4255 cli_testcase(1714, [cbc, clpfd_tables], [
4256 '-evalf', 'r = {x,y,z|x:{1,4,7,10,13,16,19,21,24,27,30,33,36,39,42,45,48}&y=x+1&z=y+1} & (x |-> y) |-> z : r & y : 10 .. 13 & z < 11', % takes Kodkod about 2 seconds to solve
4257 '-evalt', 'r = {x,y,z|x:{1,4,7,10,13,16,19,21,24,27,30,33,36,39,42,45,48}&y=x+1&z=y+1} & (x |-> y) |-> z : r & y : 10 .. 13 & z > 11', % takes Kodkod about 2 seconds, z3 90 ms, ProB 10 ms
4258 '-evalt', 'r = {x,y,z|x:{1,4,7,10,13,16,19,21,24,27,30,33,36,39,42,45,48}&y=x+1&z=y+1} & {x,y,z|(x |-> y) |-> z : r & y : 10 .. 13 & z >11} = {(10,11,12)}'
4259 ], 'Test new clpfd_table module.'). % tests also pass with prior version of ProB
4260 cli_testcase(1715, [tickets,codespeed,data_validation], [
4261 '../prob_examples/examples/B/Alstom/Boucles_Jul11/essai2_boucle1.mch',
4262 '-t', '-strict',
4263 '-expcterr', 'invariant_violation',
4264 '-p', 'MAXINT', 10000000, '-p', 'MININT', -10000000, '-p', 'TIME_OUT', 14000], % increased from 8000 for windows jenkins jobs
4265 'Test performance (codespeed test Alstom_essai2_boucle1) + tests watched-literal function application').
4266 cli_testcase(1716, [tickets,slot,clpfd_tables], ['../prob_examples/public_examples/B/Tickets/SLOT-PERFORMANCE6_no_print/Solver_v2.mch',
4267 '-p', 'TIME_OUT', 75000, % increased time-out for Gitlab Windows runner from 25000 on Feb 9th 2020
4268 '-init', % '-v', % generates non-ground closure warnings
4269 '-evalt', 'CHECK({"BK-GER-H-2013"}, cmcc, choiceUnits, choiceGroups)', % this worked before
4270 '-evalt', 'CHECK_wr({"BK-GES-H-2013"}, cmcc, choiceUnits, choiceGroups,{mod47,mod46, mod45, mod44, mod43},{au76,au77,au79,au80,au81},UNITS)', % this also worked before
4271 '-evalt', 'CHECK_wr({"BK-GES-H-2013"}, cmcc, choiceUnits, choiceGroups,{mod47,mod46, mod45, mod44, mod43},{au76,au77,au79,au80,au81,au82,au83,au84},{unit182,unit183,unit184,unit185,unit186,unit187,unit188,unit189,unit190,unit191,unit192,unit193,unit194,unit234,unit267,unit268} )' % this did NOT work before
4272 % '-evalt', 'CHECK({"BK-GES-H-2013"}, cmcc, choiceUnits, choiceGroups)' % does not yet work
4273 ], 'Ensure no time-out and that new element/3 constraint for function application and table constraint work').
4274 cli_testcase(1717, [cbc,clpfd_tables], [
4275 '-evalf', 'f = {aa|->(1,aa), x|->(2,x+1), y|->(3,y+1)} & x:1..2 & aa:0..1 & y:4..5 & r = f(v) & v:3..4 & x+y<v',
4276 '-evalf', 'f = {aa|->(1,aa), x|->(2,x+1), y|->(3,y+1)} & x:1..2 & aa:0..1 & y:3..5 & r = f(v) & v:2..4 & prj1(INTEGER,INTEGER)(r) /: 2..3',
4277 '-evalt', 'f = {aa|->(1,aa), x|->(2,x+1), y|->(3,y+1)} & x:1..2 & aa:0..1 & y:3..5 & r = f(v) & v:2..4 & prj1(INTEGER,INTEGER)(r) =2',
4278 '-evalf', 'f = {aa|->rec(p1:1,p2:aa), x|->rec(p1:2,p2:x+1), y|->rec(p1:3,p2:y+1)} & x:1..2 & aa:0..1 & y:3..5 & r = f(v) & v:2..4 & r\'p1 /: 2..3',
4279 '-evalt', 'f = {aa|->rec(p1:1,p2:aa), x|->rec(p1:2,p2:x+1), y|->rec(p1:3,p2:y+1)} & x:1..2 & aa:0..1 & y:3..5 & r = f(v) & v:2..4 & r\'p1 =2'
4280 ], 'Exercise new element/3 function application treatment').
4281 cli_testcase(1718, [cbc,cbc_tests], ['../prob_examples/public_examples/B/Demo/Lift_inf.mch', '-cbc_sequence', 'dec;inc;inc;inc;inc;inc;inc;inc;inc;inc;inc;inc;inc;inc;inc;inc;inc;inc;inc;inc;inc;inc;inc;inc;inc;inc;inc;inc;inc;inc;inc;inc;inc;inc;inc;inc;inc;inc', '-strict', '-goal', 'curfloor=40', '-check_goal'], 'Check cbc_sequence for longer sequence').
4282 cli_testcase(1719, [smt_solver_integration], [
4283 '-p','SMT_SUPPORTED_INTERPRETER','TRUE',
4284 '-evalt', 'x = 1',
4285 '-evalf', 'x = 1 & x > 2',
4286 '-evalf', 'x:INTEGER & x>y & y>x',
4287 '-evalt', 'r:struct(f1:11..20,f2:12..30) & r\'f1+10 = r\'f2',
4288 '-evalf', 'r:struct(f1:11..20,f2:12..20) & r\'f1+10 = r\'f2',
4289 '-evalt', 'r:struct(f1:11..20,f2:12..30) & r\'f1+10 = r\'f2 & s:struct(f1:15..20,f2:1..100) & s=r',
4290 '-evalt', 'v1:struct(lderb:{TRUE},mspue:{FALSE},fhhxr:{TRUE})',
4291 '-evalf', 'x>0 & x+2 <= p & x=p',
4292 % '-evalf', 'not(Pace_Int - sp >= 0) & (sp > 0 & sp < Pace_Int)', % relies on timeout_constraint, only works with enable_time_out_for_constraints compile flag
4293 '-evalt', '{x} <: {999}',
4294 '-evalt', '{x} <: {999,1000} & x > 999',
4295 '-evalt', 'x = {1,2} /\\ {3,4}',
4296 '-evalt', 'x = {(1,2),(3,4),(4,5),(6,7),(8,9)} & y|->v : x & y|->w : x',
4297 '-evalt', 'x : {1,2} --> NAT',
4298 '-evalf', 'x : {1,2} --> NAT & x = {(1,1)}',
4299 '-evalt', 'x : {1,2} --> NAT & x = {(1,1),(2,1)}',
4300 '-evalf', 's = min({1}) & s=2',
4301 '-evalf', 's = min({1,2}) & s>2',
4302 '-evalt', 'x = %i.(i:1..10|i+i) & x[{j}]={8}',
4303 '-evalt', 'x = %i.(i:1..10|i+i) & x[{5,j}]={16,10}',
4304 '-evalf', 'x = %i.(i:1..10|i+i) & x[{5,j}]={16,11}',
4305 '-evalt', 'x:1..10 & #y.(y:1..10 & y>x) & #y.(y:1..10 & y<x)'
4306 ], 'some constraints that should be solved by the integrated ProB / SMT solver').
4307 cli_testcase(1720, [cbc], [ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
4308 '-evalt', '{x|x:1..n} = {y,y+1}',
4309 '-evalt', '1..n = {y,y+1}',
4310 '-evalt', '1..n = r & r={y,y+1}',
4311 '-evalt', '{n,y|#r.(1001..n = r & r={y,y+1})} = {(1002,1001)}',
4312 '-evalf', '1001..n = r & r={y,y+2}',
4313 '-evalt', '1001..n = {y,y+2,y+1} & n<20000' % TO DO: get rid of necessity for n<20000
4314 ], 'test improved constraint propagation for in_interval and frozen_dif').
4315 cli_testcase(1721, [cbc], [ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
4316 '-evalf', 'X:INTEGER & X*Y /= X*Y2 & Y2=Y',
4317 '-evalf', 'X:INTEGER & X+Y /= Y2+X & Y2=Y'
4318 ], 'test improved clpfd_neq_expr').
4319 cli_testcase(1722, [cbc,cse], [ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE', '-p', 'CSE', 'TRUE',
4320 '-evalf', 'not(#(x,y,z).((x+1)*y = 1000 & (x+1)*z=y & z=(x+1) ))', % already worked before
4321 '-evalt', 'not(#(x,y,z).((x+1)*y = 1001 & (x+1)*z=y & z=(x+1) ))', % already worked before
4322 '-evalt', 'not(#(X,Y,Z,Z1,Z2,Z3,Z4).(X:INTEGER & X*Y=Z1 & Z1*Z = Z2 & Z*X = Z3 & Z3*Y = Z4 & Z2 /= Z4))',
4323 '-evalf', 'not(not(#(X,Y,Z,Z1,Z2,Z3,Z4).(X:INTEGER & X*Y=Z1 & Z1*Z = Z2 & Z*X = Z3 & Z3*Y = Z4 & Z2 /= Z4)))',
4324 '-evalf', '#(X,Y,Z).(X:INTEGER & #(Z1,Z2,Z3,Z4).(X*Y=Z1 & Z1*Z = Z2 & Z*X = Z3 & Z3*Y = Z4 & Z2 /= Z4))'
4325 ], 'test single usage identifier inlining').
4326 cli_testcase(1723, [cbc], [ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
4327 '-evalf', 'X:INTEGER & Y*X /= X*Y2 & Y2=Y',
4328 '-evalf', 'X:INTEGER & X*Y*(Z+V) /= (V+Z)*X*Y',
4329 '-evalf', 'X:INTEGER & X+Y+(Z*V) /= (V*Z)+X+Y',
4330 '-evalt', 'not(#(X,Y,Z,Z1,Z2,Z3,Z4).(X:INTEGER & X*Y=Z1 & Z1*Z = Z2 & Z*X = Z3 & Z3*Y = Z4 & Z2 /= Z4))',
4331 '-evalf', 'x:INTEGER & (x-(x+a*b)) /= (y-(b*a+x)) & y=x', % added later
4332 '-evalf', 'x:INTEGER & (-(x+a*b)) /= (-(b*a+y)) & y=x' % added later
4333 ], 'test improved commutativity detection in clpfd_neq_expr').
4334 cli_testcase(1724, [tickets], [ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
4335 '-execute_all', '-check_goal',
4336 '../prob_examples/public_examples/B/Tester/CheckGoal.mch'],'test check_goal with executed_all').
4337 cli_testcase(1725, [tickets, b_test], [ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
4338 '-assertions', '-init',
4339 '../prob_examples/public_examples/B/Tester/Visibility/M2_xx.mch'],'test visibility in assertions clause').
4340 cli_testcase(1726, [b_test,external,xml], ['../prob_examples/public_examples/B/ExternalFunctions/XML_Reader.mch', '-t', '-assertions',
4341 '-evalt', 'READ_XML_FROM_STRING("<h3>hallo</h3>") = [rec(attributes:{},element:"h3",meta:{("xmlLineNumber"|->"1")},pId:0,recId:1), rec(attributes:{("text"|->"hallo")},element:"CText",meta:{("xmlLineNumber"|-> "1")},pId:1,recId:2)]',
4342 '-strict'], 'Check that external function to read XML works.').
4343 cli_testcase(1727, [b_test,ltl,safety], ['../prob_examples/public_examples/B/LTL/SafetyMC/BeverageVendingMachine.mch', '-ltlformulaf', 'G not [bget]', '-p', 'use_safety_ltl_model_checker', true, '-strict'],'Check that safety model checker does not produce incomplete counter examples when transition propositions appear in the safety ltl formula.').
4344 cli_testcase(1728, [error_checks], [ '-strict',
4345 '-expcterrpos', 'bmachine_static_checks', 10, 15,
4346 '../prob_examples/public_examples/B/Tester/InitialisationChecks/IllegalOrderOfInits.mch'],'test detection of illegal initialisations').
4347 cli_testcase(1729, [error_checks], [ '-strict',
4348 '-expcterrpos', 'bmachine_static_checks', 10, 25,
4349 '../prob_examples/public_examples/B/Tester/InitialisationChecks/IllegalParallelInit.mch'],'test detection of illegal initialisations').
4350 cli_testcase(1730, [error_checks], [ '-strict',
4351 '-expcterrpos', 'bmachine_static_checks', 14, 2,
4352 '../prob_examples/public_examples/B/Tester/InitialisationChecks/IllegalChoiceOrderInit.mch'],'test detection of illegal initialisations').
4353 cli_testcase(1731, [cbc,infinite], [ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
4354 '-p', 'ENUMERATE_INFINITE_TYPES', 'FALSE',
4355 '-evalt', 'f=%x.(x:iseq(struct(a:STRING))|x) & f([rec(a:"a")])=[rec(a:"a")]',
4356 '-evalt', 'f=%x.(x:iseq(struct(a:STRING,b:BOOL))|x) & f([rec(a:"a",b:TRUE)])=[rec(a:"a",b:xx)] & xx=TRUE',
4357 '-evalt', 'f=%x.(x:iseq(struct(a:NATURAL,b:BOOL))|x) & f([rec(a:222,b:TRUE)])=[rec(a:222,b:xx)] & xx=TRUE',
4358 '-evalt', 'f=%x.(x:iseq1(struct(a:NATURAL,b:BOOL))|x) & f([rec(a:222,b:TRUE)])=[rec(a:222,b:xx)] & xx=TRUE',
4359 '-evalt', 'f=%x.(x:seq1(struct(a:NATURAL,b:BOOL))|x) & f([rec(a:222,b:TRUE)])=[rec(a:222,b:xx)] & xx=TRUE',
4360 '-evalt', 'f=%x.(x:seq(struct(a:NATURAL,b:BOOL))|x) & f([rec(a:222,b:TRUE)])=[rec(a:222,b:xx)] & xx=TRUE',
4361 '-evalt', 'f=%x.(x:iseq(struct(a:seq1(NATURAL),b:BOOL))|x) & f([rec(a:[222],b:TRUE)])=[rec(a:[222],b:xx)] & xx=TRUE',
4362 '-evalf', 'f=%x.(x:iseq(struct(a:STRING))|x) & f([rec(a:"a")])=[rec(a:"b")]'],
4363 'test detection of infinite function without virtual time-outs').
4364 cli_testcase(1732, [tickets], [
4365 '../prob_examples/public_examples/B/Tickets/Hansen31_VirtualTimeout/VirtualTimeout.mch', '-mc', 1000, '-expcterr','model_check_incomplete','-expcterr','virtual_time_out'], 'Check that we detect that model-checking incomplete.').
4366 cli_testcase(1733, [tickets,execute], [ % '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
4367 '../prob_examples/public_examples/B/Tickets/Hansen31_VirtualTimeout/VirtualTimeout.mch', '-execute', 1000,
4368 '-animate_stats',
4369 '-expcterr','virtual_time_out_execute'], 'Check that we detect that execute incomplete.').
4370 cli_testcase(1734, [tickets,animate], [ % '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
4371 '../prob_examples/public_examples/B/Tickets/Hansen31_VirtualTimeout/VirtualTimeout.mch', '-animate', 5,
4372 '-animate_stats',
4373 '-expcterr','virtual_time_out'], 'Check that we detect that execute incomplete.').
4374 cli_testcase(1735, [cbc,cbc_tests], ['../prob_examples/public_examples/B/Tester/InitialisationChecks/InitCBCCheck.mch', '-cbc_sequence', 'Goal', '-strict'], 'Check cbc_sequence with non-det. INITIALISATION').
4375 cli_testcase(1736, [error_checks,b_test], ['../prob_examples/public_examples/B/Tester/InitialisationChecks/InitIF_Fails.mch', '-init',
4376 %'-expcterrpos', initialisation_fails, 13,17,
4377 '-expcterr', 'initialisation_fails', % we now store the error as a state error with more precise pos 14,23 and
4378 % and the error is also raised in probcli in perform_random_init_after_setup_constants without position info
4379 '-strict'], 'Check INITIALISATION error inside IF located').
4380 cli_testcase(1737, [cbc,b_test,quantified,union,card], ['../prob_examples/public_examples/B/PerformanceTests/UNION_CardGT.mch', '-t'], 'test_closure for lambda closures avoid interference between domain and range expression').
4381 cli_testcase(1738, [external,b_test,xml], ['../prob_examples/public_examples/B/ExternalFunctions/XML/utf8_data.mch', '-assertions'], 'test READ_XML with UTF-8 encoding').
4382 cli_testcase(1739, [cbc,private], ['../prob_examples/examples/B/Alloy/req2_v3_not_conj_check.mch',
4383 '../prob_examples/examples/B/Alloy/req2_v3_not_conj_check2.mch', % version with larger CONTEXT set, more difficult
4384 '-t', '-p', 'TIME_OUT', '9500'], 'test not conjunction treatment of kernel').
4385 cli_testcase(1740, [cbc], [ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
4386 '-p', 'ENUMERATE_INFINITE_TYPES', 'FALSE',
4387 '-evalt', '#x.(x:1..10000 & x mod 22 = 11) or b=TRUE',
4388 '-evalt', '(#x.(x:1..10000 & x mod 22 = 11) or b=TRUE) => b=FALSE',
4389 '-evalt', '(#x.(x:1..10000 & x mod 22 = 22) or b=TRUE) => b=FALSE',
4390 '-evalf', '(b=FALSE => (#x.(x:1..10000 & x mod 22 = 22) or b=TRUE)) & (b=TRUE => (#x.(x:1..10000 & x mod 22 = 22) or b=FALSE))'
4391 ],
4392 'test reification of RHS of disjunction (or)').
4393 cli_testcase(1741, [ctl], ['../prob_examples/public_examples/B/Ivo/CTLIssue.mch', '-ctlformulat', 'AF {x=4}'], 'Testing bug-fix caused by an unnecessary cut.').
4394 cli_testcase(1742, [csp_test], ['../prob_examples/public_examples/CSP/simple/verysimple.csp',
4395 '-ltlformulat', 'GF e(a.red)', '-strict'
4396 ], 'Test check should show that verysimple fulfills the LTL formula, which is equivalent to the CTL formula AGAF e(a.red).').
4397 cli_testcase(1743, [cbc,infinite,union], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
4398 '-evalt', '{3} <| %x.(x:NATURAL|x+1) = {3|->4}',
4399 '-evalf', '{3} <| %x.(x:NATURAL|x+1) = {a,b} & a/=b',
4400 '-evalt', '2..4 = ran((1..3) <| %x.(x:NATURAL|x+1))',
4401 '-evalt', '1..3 = dom(%x.(x:NATURAL|x+1)|>(2..4))',
4402 '-evalt', '(1..9) <| pred = %x.(x:1..9|x-1)',
4403 '-evalt', '(1..9) <| succ = %x.(x:1..9|x+1)',
4404 '-evalt', '{n} <| succ = {15|->x} & n<20'
4405 ], 'Test better symbolic treatment of union').
4406 cli_testcase(1744, [cbc,infinite,union], [
4407 '-evalt', '4|->b : {3} <<| %x.(x:NATURAL|x+1)',
4408 '-evalf', '4|->b : (%x.(x:NATURAL|x+1) |>> (1..9))',
4409 '-evalt', '14|->b : (%x.(x:NATURAL|x+1) |>> (1..9))',
4410 '-evalt', '{b|14|->b : (%x.(x:NATURAL|x+1) |>> (1..9))} = {15}',
4411 '-evalt', 'x = {-1,-33} \\/ NATURAL1 & 11:x & -1:x & -33:x & 0 /: x'
4412 ], 'Test better symbolic treatment of union').
4413 cli_testcase(1745, [tickets,codespeed], [
4414 '../prob_examples/public_examples/B/Puzzles/EulerWay.mch',
4415 %'../prob_examples/public_examples/B/Puzzles/EulerWayDisjunction.mch', % this does not work yet; disjoin_true change makes this version too slow
4416 '-init', '-p', 'TIME_OUT', 9500
4417 ],
4418 'EulerWay Codespeed Test').
4419 cli_testcase(1746, [cbc], [
4420 '../prob_examples/public_examples/B/CBC/Feasibility_baloadR07.mch',
4421 '-init'
4422 ],
4423 'Check reification of existential quantifier with 27 cases not problematic').
4424 cli_testcase(1747, [codespeed], [
4425 '../prob_examples/public_examples/B/Demo/SortByPermutation_v2.mch',
4426 '-t', '-p', 'TIME_OUT', 9500, '-p', 'CLPFD', 'FALSE'],
4427 'SortByPermutation_v2 Codespeed Test 55 wo CLPFD').
4428 cli_testcase(1748, [codespeed], [
4429 '../prob_examples/public_examples/B/PerformanceTests/ModelChecking/CountToMAXINT.mch',
4430 '-mc', 500002, '-p', 'MAXINT', 500000, '-nodead'],
4431 'MC_CountToMAXINT_50000 Codespeed Test'). % count to half a million, takes about 22 seconds
4432 cli_testcase(1749, [codespeed, symmetry_test,cse], ['../prob_examples/public_examples/EventBPrologPackages/SET_Game/SET_GAM_Sym_NoSet20_mch.eventb', '-mc', '1000', '-p', 'SYMMETRY_MODE', 'hash', '-p', 'TIME_OUT', '7000', '-p', 'CLPFD', 'TRUE', '-df', '-goal', 'n=18', '-p', 'MAX_OPERATIONS', '20', '-strict', '-expcterr', 'goal_found', '-p', 'CSE', 'TRUE'], 'Test 395 with CSE').
4433 cli_testcase(1750, [private,alstom,codespeed,data_validation], [
4434 '../prob_examples/examples/B/Alstom/axl3/axl3.mch',
4435 '-t', '-p', 'CLPFD', 'TRUE'],
4436 'axl3 Codespeed Test').
4437 cli_testcase(1751, [private,alstom,codespeed,data_validation], [
4438 '../prob_examples/examples/B/Alstom/cbtc/actions_cbtc.mch',
4439 '-t', '-p', 'CLPFD', 'TRUE'],
4440 'actions_cbtc Codespeed Test').
4441 cli_testcase(1752, [private,codespeed,private,data_validation], [
4442 '../prob_examples/examples/B/Alstom/DataValidationProject/Rule_TMS_Route_0006.mch',
4443 '-p', 'MAXINT', 10000000, '-p', 'MININT', -10000000, '-p', 'TIME_OUT', '60000',
4444 '-p', 'SHOW_EVENTB_ANY_VALUES', 'true',
4445 '-mc', 1000, '-df', '-nodead', '-expcterr', 'invariant_violation',
4446 '-p', 'CLPFD', 'FALSE'],
4447 'ClearSy_RuleTMS_R0006 Codespeed Test').
4448 cli_testcase(1753, [codespeed,private,data_validation,clpfd_tables], [
4449 '../prob_examples/examples/B/Alstom/DataValidationProject/Rule_TMS_Route_0006.mch',
4450 '-p', 'MAXINT', 10000000, '-p', 'MININT', -10000000,
4451 '-p', 'TIME_OUT', '80000', % sometimes breaks on windows test runner; requires 31 seconds on MacBookPro
4452 % has become slower when switching to table/3 using method(aux) option
4453 '-p', 'SHOW_EVENTB_ANY_VALUES', 'true',
4454 '-mc', 1000, '-df', '-nodead', '-expcterr', 'invariant_violation',
4455 '-p', 'CLPFD', 'TRUE'],
4456 'ClearSy_RuleTMS_R0006_CLPFD Codespeed Test').
4457 cli_testcase(1754, [cbc,sigma], [
4458 '../prob_examples/public_examples/B/CBC/Tests/TestSIGMA.mch',
4459 '-init', '-assertions'
4460 ],
4461 'Check reification of IF-THEN-ELSE in SIGMA + WD detection of total avl function').
4462 cli_testcase(1755, [tickets,quantified,union], [ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
4463 '-evalt', 'UNION(x).(x:1..4|{x+y}) = 12..15',
4464 '-evalf', 'UNION(x).(x:1..4|{x+y}) = 12..16',
4465 '-evalt', '{y|UNION(x).(x:1..4|{x+y}) = 12..15} = {11}',
4466 '-evalt', '{n|UNION(x).(x:1..10|{x}) = 1..n} = {10}',
4467 '-evalt', 'UNION(x).(x:1..n|{x}) = 1..10', % used to generate warning
4468 '-evalf', '{n|UNION(x).(x:1..n|{x}) = 1..0} = {0}', % used to generate virtual time-out
4469 '-evalt', '{n|n:NATURAL & UNION(x).(x:1..n|{x}) = 1..0} = {0}',
4470 '-evalt', '{n|n:-1..3 & UNION(x).(x:1..n|{x}) = 1..0} = {-1,0}'
4471 ], 'ensure new UNION treatment with better propagation').
4472 cli_testcase(1756, [tickets,card], [
4473 '../prob_examples/public_examples/B/Tester/SetSetupTests/CardDefSetConstraint.mch',
4474 '-init', '-assertions'
4475 ],
4476 'Check deferred set size inference improved').
4477 cli_testcase(1757, [cbc], [ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
4478 '-evalt', '{x,y|IF x:0..3 THEN y=2 ELSE 1=0 END} = {(0|->2),(1|->2),(2|->2),(3|->2)}',
4479 '-evalt', '{x,y|IF x/:0..3 THEN 1=0 ELSE y=2 END} = {(0|->2),(1|->2),(2|->2),(3|->2)}'
4480 ], 'exercise => FALSE AST simplification').
4481 cli_testcase(1758, [b_test,ltl,safety], [
4482 '../prob_examples/public_examples/B/LTL/SafetyMC/BeverageVendingMachine.mch',
4483 '-ltlformulaf', 'G not [bget]',
4484 '-p', 'use_safety_ltl_model_checker', true, '-strict'
4485 ],
4486 'Check that safety model checker does not produce incomplete counter examples when transition propositions appear in the safety ltl formula.').
4487 cli_testcase(1759, [b_test,ltl,safety], [
4488 '../prob_examples/public_examples/B/LTL/SafetyMC/BeverageVendingMachine.mch',
4489 '-ltlformulaf', 'G not ({nsoda = 0} => X [sget])',
4490 '-p', 'use_safety_ltl_model_checker', true, '-strict'
4491 ],
4492 'Check that safety model checker does not produce incomplete counter examples when transition propositions appear in the safety ltl formula.').
4493 cli_testcase(1760, [b_test,ltl,safety], [
4494 '../prob_examples/public_examples/B/LTL/SafetyMC/BeverageVendingMachine.mch',
4495 '-ltlformulaf', '{paid=FALSE} or ({nbeer=1} & {nsoda =1}) & (({nbeer = 0}) R (X [bget]))',
4496 '-p', 'use_safety_ltl_model_checker', true, '-strict'
4497 ],'Check that safety model checker does not produce incomplete counter examples when transition propositions appear in the safety ltl formula.').
4498 cli_testcase(1761, [b_test,ltl,safety], [
4499 '../prob_examples/public_examples/B/LTL/SafetyMC/BeverageVendingMachine.mch',
4500 '-ltlassertions', '-p', 'use_safety_ltl_model_checker', true, '-strict'
4501 ],'Checking that the safety LTL model checker succeeds on each assertions.').
4502 cli_testcase(1762, [b_test,ltl,safety], [
4503 '../prob_examples/public_examples/B/LTL/SafetyMC/BeverageVendingMachine.mch',
4504 '-ltlformulaf', 'F [ret_coin] => {paid=TRUE}', '-p', 'use_safety_ltl_model_checker', true, '-strict'
4505 ],'Check that safety model checker does not produce incomplete counter examples when transition propositions appear in the safety ltl formula.').
4506 cli_testcase(1763, [cbc,slot,tickets,wd, unsat_core,let], ['../prob_examples/public_examples/B/Tickets/SLOT-WD-ISSUE/Solver.mch',
4507 '-assertions',
4508 '-expcterrpos', definition_variable_capture, 270, 12,
4509 '-evalt', 'UNSAT_CORE_SESSIONS({group3, group4}) = {session3,session4}'
4510 ], 'Check that wd issue with let predicates solved (expressions not guarded)').
4511 cli_testcase(1764, [laws], [ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
4512 '../prob_examples/public_examples/B/Laws/BoolLaws.mch',
4513 '../prob_examples/public_examples/B/Laws/ArithmeticLaws.mch',
4514 '../prob_examples/public_examples/B/Laws/ArithmeticExpLaws.mch',
4515 '../prob_examples/public_examples/B/Laws/SetLaws.mch',
4516 '../prob_examples/public_examples/B/Laws/SetLawsNat.mch',
4517 '-mc', '500', '-cs', '-nogoal', '-nodead', '-strict', '-p', 'OPTIMIZE_AST', 'FALSE', '-opterr', 'model_check_incomplete'], 'Mathematical Laws with AST optimization disabled').
4518 cli_testcase(1765, [cbc,private], ['../prob_examples/examples/B/AWE_JASP/v7/JavaBC0.mch',
4519 '-t', '-mc', '200',
4520 '-nogoal', '-noass'
4521 ], 'Check Java Bytecode interpreter').
4522 cli_testcase(1766, [private,case,forall], ['../prob_examples/public_examples/B/Tester/ForAllExpansionEnumWarning.mch',
4523 '-init', '-aa', 0,0,1
4524 ], 'Check forall not expanded').
4525 cli_testcase(1767, [b_test,case], ['../prob_examples/public_examples/B/Tester/CaseStmt_v2.mch', '-t', '-strict'],'Check case statement with multiple values for same case').
4526 cli_testcase(1768, [b_test,case], ['../prob_examples/public_examples/B/Tester/CaseStmt_Illegal1.mch', '-init',
4527 '-expcterrpos', type_error, 24, 10, '-expcterr', load_main_file,
4528 '-strict'],'Check case statement with else').
4529 cli_testcase(1769, [tickets,kodkod,card], [ '-p', 'KODKOD_RAISE_WARNINGS', 'TRUE', '-p', 'KODKOD_RAISE_WARNINGS', 'TRUE',
4530 '-evalt', ':kodkod-double-check card({a,b|a:BOOL & b:1..k})=4 & k:0..2',
4531 '-evalf', ':kodkod-double-check card({a,b|a:BOOL & b:1..k})=3 & k:0..10',
4532 '-evalt', ':kodkod-double-check card({a,b,c})=1 & {a,b,c}<:BOOL',
4533 '-evalt', ':kodkod-double-check card({a,b,c})=2 & {a,b,c}<:1..10 & a+b+c=20'
4534 ], 'check card interval analysis succeeds (PROB-411)').
4535 cli_testcase(1770,[cbc,enabling],[
4536 '-enabling_analysis_csv','../prob_examples/public_examples/B/CBC/Enabling/ChoiceByPredicate_enabling_analysis.csv',
4537 '../prob_examples/public_examples/B/CBC/Enabling/ChoiceByPredicate.mch',
4538 '-p', 'TIME_OUT', 1000
4539 ], 'Check CSV enabling output for becomes_such').
4540 cli_testcase(1771,[cbc,enabling,case],[
4541 '-enabling_analysis_csv','../prob_examples/public_examples/B/CBC/Enabling/OpParameterTests_enabling_analysis.csv',
4542 '../prob_examples/public_examples/B/CBC/Enabling/OpParameterTests.mch',
4543 '-p', 'TIME_OUT', 6500 % enabling analysis takes 0.1 this
4544 ], 'Check CSV enabling output for variety of substitutions').
4545 cli_testcase(1772, [por,ltl], ['../prob_examples/public_examples/B/Ivo/Threads51.mch', '-ltlformulat', 'GF {v1=n}',
4546 '-p', por, ample_sets], 'Check LTL property with partial order reduction.').
4547 cli_testcase(1773, [por,ltl], ['../prob_examples/public_examples/B/Ivo/Threads51.mch', '-ltlformulat', 'G not {v1>n+1}',
4548 '-p', use_safety_ltl_model_checker, true, '-p', por, ample_sets], 'Check LTL property with partial order reduction.').
4549 cli_testcase(1774, [por,ltl], ['../prob_examples/public_examples/B/Benchmarks/CAN_BUS_tlc.mch',
4550 '-ltlformulat', 'G not deadlock', '-p', por, ample_sets, '-p', 'OPERATION_REUSE', 'TRUE' % '-p', pge, full
4551 ], 'Check LTL property with partial order reduction.').
4552 cli_testcase(1775, [por,ltl], ['../prob_examples/public_examples/B/Benchmarks/CAN_BUS_tlc.mch',
4553 '-ltlformulat', 'G not deadlock', '-p', por, ample_sets, '-p', 'OPERATION_REUSE', 'TRUE', % '-p', pge, full,
4554 '-p', use_safety_ltl_model_checker, true
4555 ], 'Check LTL property with partial order reduction.').
4556 cli_testcase(1776, [tickets,while], [
4557 '../prob_examples/public_examples/B/Tickets/Hansen32_CompileBug/M1.mch',
4558 '../prob_examples/public_examples/B/Tickets/Hansen32_CompileBug/M1_Internal.mch',
4559 '../prob_examples/public_examples/B/Tickets/Hansen32_CompileBug/M1_Internal_v2.mch',
4560 '../prob_examples/public_examples/B/Tickets/Hansen32_CompileBug/M1_Internal_v3.mch',
4561 '-t'
4562 ],
4563 'Check compilation of while with op call and inner while works').
4564 cli_testcase(1777, [por], ['../prob_examples/public_examples/B/Ivo/PORTest_WriteDependencies.mch', '-model_check', '-noinv', '-p', por, ample_sets,
4565 '-expcterr', deadlock], 'Check that no incorrect reduction is performed on the model.').
4566 cli_testcase(1778, [laws,random], [ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
4567 '../prob_examples/public_examples/B/Laws/BoolLaws.mch',
4568 '../prob_examples/public_examples/B/Laws/ArithmeticLaws.mch',
4569 '../prob_examples/public_examples/B/Laws/ArithmeticExpLaws.mch',
4570 '../prob_examples/public_examples/B/Laws/SetLaws.mch',
4571 '../prob_examples/public_examples/B/Laws/SetLawsNat.mch',
4572 '-mc', '500', '-cs', '-nogoal', '-nodead', '-strict', '-p', 'RANDOMISE_ENUMERATION_ORDER', 'TRUE', '-opterr', 'model_check_incomplete'], 'Mathematical Laws with random enumeration').
4573 cli_testcase(1779, [b_test], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
4574 '../prob_examples/public_examples/B/Tester/Constants6.mch',
4575 '../prob_examples/public_examples/B/Tester/Constants7.mch',
4576 '-property', 'minnr = 7 & mxnr =9 & pid(p1) = a & pid(p2)=b & pid(p3)=c & pnr(p1)=minnr & pnr(p3)=mxnr & root=a',
4577 '-t'
4578 ],
4579 'Check -property command works').
4580 cli_testcase(1780, [external,b_test,xml], ['../prob_examples/public_examples/B/ExternalFunctions/XML_Reader_Writer.mch', '-init', '-assertions'], 'test READ_XML and WRITE_XML').
4581 cli_testcase(1781, [b_test,preferences], ['../prob_examples/public_examples/B/ErrorMachines/SET_PREF_Illegal.mch', '-init', '-expcterr', pref_definitions], 'test we detect setting illegal preference').
4582 cli_testcase(1782, [b_test,preferences], ['../prob_examples/public_examples/B/FeatureChecks/LocalOperationCall.mch',
4583 '../prob_examples/public_examples/B/FeatureChecks/LocalOperationCall2.mch',
4584 '-t'], 'test calling local operations').
4585 cli_testcase(1783, [b_test,error_checks], ['../prob_examples/public_examples/B/FeatureChecks/DEFINITIONS/HygMacroTest.mch', '-init', '-expcterr', definition_variable_capture], 'test we detect variable capture problem').
4586 cli_testcase(1784, [b_test,error_checks,execute], ['../prob_examples/public_examples/B/FeatureChecks/ExecuteNonDetCsts.mch', '-init', '-det_constants', '-execute_all', '-expcterr', det_check], 'test we detect non-deterministic constant setup').
4587 cli_testcase(1785, [b_test,execute], ['../prob_examples/public_examples/B/FeatureChecks/ExecuteNonDetCsts.mch', '-execute_all', '-check_goal'], 'test execute + check goal').
4588 cli_testcase(1786, [b_test,error_checks], ['../prob_examples/public_examples/B/ErrorMachines/OpCalls/IllegalOpCall.mch', '-init', '-expcterrpos', bmachine_static_checks, 15,19], 'test error raised when operation call left hand side is not an identifier').
4589 cli_testcase(1787, [b_test], ['../prob_examples/public_examples/B/Tester/OpCalls/UseCopy.mch', '-t'
4590 ], 'test output parameters can be read').
4591 cli_testcase(1788, [b_test], ['../prob_examples/public_examples/B/Implementations/Values/Sensor0_i.imp',
4592 '../prob_examples/public_examples/B/Implementations/Values/DefSetsImp.imp',
4593 '-t'
4594 ], 'test VALUES clause').
4595 cli_testcase(1789, [b_test,external,records,strings], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
4596 '../prob_examples/public_examples/B/ExternalFunctions/LibraryStrings.mch',
4597 '-evalt', '{rec(sa:"1.101"),rec(sa:"1.102")} =x & x<: (struct(sa : /*@symbolic*/ {s| s : STRING & size(STRING_SPLIT(s,"."))=2}))',
4598 '-evalf', '{rec(sa:"1.101"),rec(sa:"1.102.3")} =x & x<: (struct(sa : /*@symbolic*/ {s| s : STRING & size(STRING_SPLIT(s,"."))=2}))'
4599 ], 'Check that no infinite expansion occurs here.').
4600 cli_testcase(1790, [b_test,external,hash], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
4601 '../prob_examples/public_examples/B/ExternalFunctions/TestLibraryHash.mch', '-assertions'], 'Check HASH and SHA_HASH').
4602 cli_testcase(1791, [b_test,external,rulesdsl], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
4603 '../prob_examples/public_examples/Rules/CSV/Runner_CSV.rmch', '-execute_all',
4604 '-goal', '(RULE_AW1="FAIL" & card(RULE_AW1_Counterexamples) = 6)',
4605 '-check_goal'], 'Check Rules DSL example with CSV reading').
4606 cli_testcase(1792, [cbc,exists], [ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
4607 '-evalt', 'y:7..30000000000 & not(#x.(x:1..10 & x:8..y))',
4608 '-evalf', 'y:20..30000000000 & not(#x.(x:1..10 & x:8..y))',
4609 '-evalf', 'y:7..30000000000 & not(#x.(x /: 1..y))',
4610 '-evalf', 'y:7..30000000000 & not(#x.(not(x : 1..y)))',
4611 '-evalt', 'x<:BOOL & x/={} & #y.(y /: x)'
4612 ], 'check translation of exists into not equal empty_set').
4613 cli_testcase(1793,[cbc,enabling,private],['-enabling_analysis_csv','../prob_examples/examples/B/Amira_Genisys/ConferenceReviewSystem/Functional_Simplified_v2_enabling.csv',
4614 '../prob_examples/examples/B/Amira_Genisys/ConferenceReviewSystem/Functional_Simplified_v2.mch'], 'Check CSV output of a simple enabling analysis (Ticket PROB-215).').
4615 cli_testcase(1794,[cbc,exists],['-t', '-cc', 5, 4,
4616 '../prob_examples/public_examples/B/CBC/Constraint_with_exists.mch',
4617 '../prob_examples/public_examples/B/CBC/Constraint_with_exists_v2.mch'], 'Check improved treatment of in_domain_subtraction and restriction.').
4618 cli_testcase(1795, [cbc,forall], [ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
4619 '-evalf', 'yy:1..5 & !x.(x<:POW(INTEGER) => {yy}:x)',
4620 '-evalt', '!x.(x:INTEGER => x<0 or x>y) & y:-1..10',
4621 '-evalf', '!x.(x:INTEGER => x<0 or x>y) & y:1..10',
4622 '-evalf', 'yy:1..5 & !x.(x<:POW(NATURAL) => {yy}:x)',
4623 '-evalt', 'yy:-1..5 & !x.(x<:POW(NATURAL) => {yy}/:x)',
4624 '-evalf', 'yy:1..5 & !x.(x<:POW(1..10) => {yy}:x)',
4625 '-evalf', '!x.(x:NATURAL => x>y) & y:1..10',
4626 '-evalt', '!x.(x:NATURAL => x>y) & y:-1..10',
4627 '-evalf', '!x.(x:INTEGER => (x:NATURAL => x>y)) & y:1..10',
4628 '-evalt', '!x.(x:INTEGER => (x:NATURAL => x>y)) & y:-1..10'
4629 ], 'check improved treatment of forall').
4630 cli_testcase(1796,[eventb_test,wd],['-t', '-mc', 100, '-bf',
4631 '../prob_examples/public_examples/EventBPrologPackages/Tickets/VariantWDError2_mch.eventb',
4632 '-expcterr', well_definedness_error,
4633 '-expcterr', 'event_error:inc:event_wd_error' ], 'Check detection of WD errors for variants.').
4634 cli_testcase(1797,[enabling,eventb_test,read_write],[
4635 '../prob_examples/public_examples/B/Ivo/BenchmarksPOR/Concurrent_Program_Development/conc_4_mch_finite.eventb',
4636 '-t',
4637 '-read_write_matrix_csv', '../prob_examples/public_examples/B/Ivo/BenchmarksPOR/Concurrent_Program_Development/conc_4_rw_matrix.csv'
4638 ], 'Check read-write-matrix with witnesses correctly computed.').
4639 cli_testcase(1798, [laws,rel_fnc,wd], ['../prob_examples/public_examples/B/Laws/FunLawsWithLambda.mch', '-mc', '500', '-cs', '-nogoal', '-nodead', '-strict','-p', 'DOUBLE-EVALUATION', 'TRUE',
4640 '-p', 'TRY-FIND-ABORT', 'TRUE', '-expcterr', 'model_check_incomplete'], 'Test 458 with TRY_FIND_ABORT (and test using - instead of _).').
4641 cli_testcase(1799,[tickets,cbc,clpfd_tables],[
4642 '-evalf', 'deadline : BOOL --> 0..1 & (%d.(d : BOOL & deadline(d) > 0|deadline(d) - 1) /: BOOL <-> NATURAL)',
4643 '-evalf', 'deadline : BOOL --> 0..2 & (%d.(d : BOOL & deadline(d) > 0|deadline(d) - 1) /: BOOL +-> NATURAL)',
4644 '-evalt', 'deadline : BOOL --> 0..10 & (%d.(d : BOOL & deadline(d) >= 0|deadline(d) - 1) /: BOOL +-> NATURAL)',
4645 '-evalf', 'deadline : BOOL --> 1..2 & (%d.(d : BOOL & deadline(d) > 1|deadline(d) - 2) /: BOOL <-> NATURAL)'
4646 ], 'Check element/3 SICStus bug solved.').
4647 cli_testcase(1800,[tickets,disprover,cbc,clpfd_tables],[
4648 '../prob_examples/public_examples/EventBPrologPackages/Disprover/Tickets/LOCKR1_mch.pl',
4649 '-expecterr', disprover_unsound,
4650 %'-check_disprover_result', 0,1,10 % Update/inv6/INV is reported false : check that this is correct, the counter example seems indeed valid; there was probably a bug in an earlier version of Rodin
4651 %'-check_disprover_result', 3,1,7 % when using the new WD prover we can prove 3 POs
4652 %'-check_disprover_result', 5,1,5, % and now 4,5 POs
4653 '-check_disprover_result', 8,1,2, % and now 8 POs
4654 '-timeout', 1000 % for Windows (and now Linux as well to avoid timeout in WD prover; see also get_alternate_prover_timeout for wd_prover)
4655 ], 'Check element/3 SICStus bug solved.'). % we still have issue with CHR and element/3
4656 cli_testcase(1801, [tickets,eventb_test,records], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
4657 '../prob_examples/public_examples/EventBPrologPackages/Tickets/InitialisationByPredicate/TestBecomeSuch.mch',
4658 '../prob_examples/public_examples/EventBPrologPackages/Tickets/InitialisationByPredicate/TestBecomeSuch_mch.eventb',
4659 '../prob_examples/public_examples/EventBPrologPackages/Tickets/InitialisationByPredicate/M0_v4_mch.eventb', % record detection
4660 '-t'
4661 ], 'Check that Event-B becomes_such works correctly, in particular with record detection.').
4662 cli_testcase(1802,[eventb_test,witnesses],[ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
4663 '../prob_examples/public_examples/EventBPrologPackages/Tests/Witnesses/NonDetAssign1_mch.eventb',
4664 '../prob_examples/public_examples/EventBPrologPackages/Tests/Witnesses/NonDetAssign1_finite_unproven_mch.eventb',
4665 '-t', '-mc', 500, '-opterr', model_check_incomplete
4666 ], 'Check witness for removed abstract variable.').
4667 cli_testcase(1803,[eventb_test,witnesses,cbc],[ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
4668 '../prob_examples/public_examples/EventBPrologPackages/Tests/Witnesses/NonDetAssign1_finite_unproven_mch.eventb',
4669 '-cbc', 'all'
4670 ], 'Check cbc invariant with witnesses.').
4671 cli_testcase(1804,[eventb_test,witnesses],[ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
4672 '../prob_examples/public_examples/EventBPrologPackages/Tests/Witnesses/NonDetAssign1_error_mch.eventb',
4673 '-mc', 500,
4674 '-expcterr', 'event_error:inc:action_not_executable'
4675 ], 'Check witness error found.').
4676 cli_testcase(1805,[eventb_test,witnesses],[ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
4677 '../prob_examples/public_examples/EventBPrologPackages/Tests/Witnesses/Guard0_simerror_mch.eventb',
4678 '-mc', 500, '-nodead',
4679 '-expcterr', 'event_error:even_dec:simulation_error'
4680 ], 'Check witness error found.').
4681 cli_testcase(1806,[eventb_test],[ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
4682 '../prob_examples/public_examples/EventBPrologPackages/Tests/Witnesses/VariantNegative_mch.eventb',
4683 '-mc', 500, '-nodead',
4684 '-expcterr', 'event_error:dec:variant_negative'
4685 ], 'Check variant error found.').
4686 cli_testcase(1807,[eventb_test],[ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
4687 '../prob_examples/public_examples/EventBPrologPackages/Tests/Witnesses/VariantError_mch.eventb',
4688 '-mc', 500, '-nodead',
4689 '-expcterr', 'event_error:dec:invalid_variant'
4690 ], 'Check variant error found.').
4691 cli_testcase(1808,[eventb_test],[ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
4692 '../prob_examples/public_examples/EventBPrologPackages/Tests/Witnesses/TheoremInGuardError_mch.eventb',
4693 '-mc', 500, '-nodead',
4694 '-expcterr', 'event_error:dec:invalid_theorem_in_guard'
4695 ], 'Check variant error found.').
4696 cli_testcase(1809, [tickets,kodkod], [ '-p', 'KODKOD_RAISE_WARNINGS', 'TRUE',
4697 '../prob_examples/public_examples/B/Tickets/Kodkod7_QueensBug/Queen_BoardVersion.mch',
4698 '../prob_examples/public_examples/B/Tickets/Kodkod7_QueensBug/Queen_BoardVersion_v2.mch',
4699 '../prob_examples/public_examples/B/Tickets/Kodkod7_QueensBug/Queen_BoardVersion_v3.mch',
4700 '-init'
4701 ], 'check Kodkod bug fixed').
4702 cli_testcase(1810, [b_test,unicode,atelierb],
4703 ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
4704 '../prob_examples/public_examples/B/Tickets/UnicodeSupport/TestUmlauteInString.mch', '-assertions',
4705 '-pp', '../prob_examples/public_examples/B/Tickets/UnicodeSupport/TestUmlauteInString_Internal.mch'
4706 ],'Test unicode support.').
4707 cli_testcase(1811, [tickets,eventb_test,records], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
4708 '../prob_examples/public_examples/B/FeatureChecks/SheBang.mch', '-t'
4709 ], 'Test parser accepts she-bang line starting with #!.').
4710 cli_testcase(1812, [smt_solver_integration,private], [
4711 '../prob_examples/public_examples/ProofObligations/GearDoor1_mch.pl',
4712 %'../prob_examples/public_examples/ProofObligations/GearsDoorsHandle3_mch.pl', % mk_expr_skip failed message
4713 '../prob_examples/examples/ProofObligations/ABZ14_Mery/M2_mch.pl',
4714 '../prob_examples/examples/ProofObligations/ABZ14_Mery/M20_mch.pl',
4715 '../prob_examples/examples/ProofObligations/ABZ14_Mery/M3_mch.pl',
4716 '../prob_examples/examples/ProofObligations/ABZ14_Mery/M30_mch.pl',
4717 %'../prob_examples/public_examples/ProofObligations/Abrial_ABZ_Devel3/m1_true.pl',
4718 '-p', 'DOUBLE_EVALUATION', 'FALSE', '-p','SMT_SUPPORTED_INTERPRETER','TRUE'
4719 %,'../prob_examples/examples/ProofObligations/ABZ14_Mery/M4_mch.pl'
4720 ],'Check Disprover can prove all POs (subset of 1409,1436 for z3)').
4721 cli_testcase(1813, [smt_solver_integration,private], [
4722 '../prob_examples/examples/ProofObligations/Abrial_Ch4_Brp/brp_1_true.pl',
4723 '-p', 'DOUBLE_EVALUATION', 'FALSE', '-p','SMT_SUPPORTED_INTERPRETER','TRUE',
4724 '-check_disprover_result', 7,0,0
4725 ],'Check Disprover can prove all POs; this test also checks register predicate works better').
4726 cli_testcase(1814, [smt_solver_integration,private], [
4727 '../prob_examples/examples/ProofObligations/Abrial_Ch4_Brp/brp_3_true.pl',
4728 '-p', 'DOUBLE_EVALUATION', 'FALSE', '-p','SMT_SUPPORTED_INTERPRETER','TRUE',
4729 '-check_disprover_result', 60,0,0
4730 ],'Check Disprover can prove all POs; this test also checks register predicate works better').
4731 cli_testcase(1815, [smt_solver_integration], [
4732 '../prob_examples/public_examples/ProofObligations/DisproverDefSetTest2_ctx.pl',
4733 '../prob_examples/public_examples/ProofObligations/DisproverDefSetTest3_ctx.pl',
4734 '../prob_examples/public_examples/ProofObligations/DisproverDefSetTest4_ctx.pl',
4735 '-p', 'DOUBLE_EVALUATION', 'FALSE', '-p','SMT_SUPPORTED_INTERPRETER','TRUE',
4736 '-check_disprover_result', 0,0,2
4737 ],'Check Disprover cannot prove po').
4738 cli_testcase(1816, [b_test,external,strings], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
4739 '../prob_examples/public_examples/B/ExternalFunctions/SubStringFunctions.mch', '-assertions',
4740 '-evalt', 'INT_TO_DEC_STRING(101,2)="1.01"',
4741 '-evalt', 'INT_TO_DEC_STRING(101,-2)="10100"',
4742 '-evalt', 'INT_TO_DEC_STRING(-1001,2)="-10.01"',
4743 '-evalt', 'INT_TO_DEC_STRING(-101,-2)="-10100"',
4744 '-evalt', 'INT_TO_DEC_STRING(-101,3)="-0.101"',
4745 '-evalt', 'STRING_CONTAINS_STRING("aabb","ab")',
4746 '-evalt', 'STRING_CONTAINS_STRING("aabb","")',
4747 '-evalf', 'STRING_CONTAINS_STRING("aabbab","bbb")'
4748 ], 'Check substring and decimal string conversion external functions.').
4749 cli_testcase(1817, [cbc], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE', '-p', 'CLPFD', 'FALSE',
4750 '-evalt', '{x|x>10 & x<20 & x mod 5=0} = {15}',
4751 '-evalt', 'x>10 & x<20',
4752 '-evalt', 'x>18 & y<1024 & x<20 & y>1020' % does not work yet
4753 %'-evalt', 'x>18 & (y<1024 & (x<20 & y>1020))' % no longer works
4754 ], 'Test detection of intervals when CLPFD disabled').
4755 cli_testcase(1818, [cbc,union], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE', '-p', 'CLPFD', 'FALSE',
4756 '-evalt', 'UNION(x).(x:1..RANGE_LAMBDA|{x+1})=res & RANGE_LAMBDA:{10,11} & res = 2..11',
4757 '-evalt', 'UNION(x).(x:1..12|{x+1})={2,3,4,5,6,7,8,9,10,11,12,13}',
4758 '-evalt', 'UNION(x).(x:1..2|{x+y}) = 12..13',
4759 '-evalt', '{y|UNION(x).(x:1..2|{x+y}) = 12..13} = {11}'
4760 ], 'Test UNION translation for singleton set').
4761 cli_testcase(1819, [b_test,strings], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
4762 '-evalt', ' "ab c " = \'\'\'ab c \'\'\' ', % "ab c " = '''ab c '''
4763 '-evalf', ' "ab c" = \'\'\'abc\'\'\' ',
4764 '-evalf', ' "abc" = " abc" ',
4765 '-evalt', ' "ab\'c" = "ab\\\'c" ', % a \' inside "..." is now one character
4766 '-evalt', ' "ab\\\'c" /= "ab\\\\\'c" ', % "ab\'c" /= "ab\\'c"
4767 '-evalf', ' "ab\'c" = "ab\\\\\'c" ',
4768 '-evalt', ' "ab\\x" = "ab\\\\x" ',
4769 '-evalt', ' "ab\\\"c" = \'\'\'ab"c\'\'\' ', % "ab\"c" = '''ab"c'''
4770 '-evalt', ' "ab\'c" = \'\'\'ab\'c\'\'\' ' % "ab'c" = '''ab'c'''
4771 ], 'Test alternate STRING literal form with three apostrophes').
4772 cli_testcase(1820, [laws,unicode], ['../prob_examples/public_examples/B/Laws/UnicodeLaws.mch', '-init', '-assertions', '-strict','-p', 'DOUBLE_EVALUATION', 'TRUE', '-p', 'CLPFD', 'TRUE', '-mc', 1000, '-nodead'], 'Various laws about Unicode symbols and their ASCII counterpart.').
4773 cli_testcase(1821, [cbc], ['../prob_examples/public_examples/B/TestCaseGeneration/BMC/CounterWrongInit.mch', '-cbc', 'INITIALISATION', '-strict', '-expcterr', 'cbc'], 'Check INITIALISATION counter-example found').
4774 cli_testcase(1822, [cbc], ['../prob_examples/public_examples/B/TestCaseGeneration/BMC/CounterWrongInit.mch', '-cbc', 'all', '-strict', '-expcterr', 'cbc'], 'Check INITIALISATION counter-example found').
4775 cli_testcase(1823, [cbc,bmc], ['../prob_examples/public_examples/B/TestCaseGeneration/BMC/CounterWrongInit.mch', '-bmc', '10', '-strict', '-expcterr', 'invariant_violation'], 'Check INITIALISATION counter-example found').
4776 cli_testcase(1824, [cbc], [
4777 '-evalt', '(not((3 = soda) <=> (soda > coins / coins & coins = coins)) & (coins : NATURAL & soda : NATURAL)) & coins /= 0 ',
4778 '-evalt', '{x,y| y = x/x & x = y+y}= {(2,1)}',
4779 '-evalt', '{x,y| y = x/x & x = y+y+100}= {(102,1)}'
4780 ], 'Check propagation of division x/x').
4781 cli_testcase(1825, [cbc,wd], [
4782 '-evalnwd', 'r = x/x & r<10 & x<1 & x>-1',
4783 '-expcterr', 'well_definedness_error'
4784 ], 'Check propagation of division x/x does not prevent WD error detection').
4785 cli_testcase(1826, [rulesdsl], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
4786 '../prob_examples/public_examples/Rules_Machines/SimpleRulesMachine.rmch',
4787 '-execute_all', '-execute_expect_steps', 2,
4788 '-evalt', 'test="SUCCESS"',
4789 '-evalt', 'test_Counterexamples={}'
4790 ], 'Check simple Rules machine').
4791 cli_testcase(1827, [cbc,wd,sequences], ['-p', 'STRING_AS_SEQUENCE', 'TRUE',
4792 '-evalt', '"a" ^ x = "ab" ^ y & x^x = "bb"',
4793 '-evalt', '{x,y|"a" ^ x = "ab" ^ y & x^x = "bb"} = {("b","")}',
4794 '-evalt', '"a"^"b"^"c" = "abc"'
4795 ], 'Check concat operator works on strings').
4796 cli_testcase(1828, [cbc,tickets,union,card], [
4797 '-evalt', '{x,s|union(s) = {} & x<:INTEGER & x:s} = { ({},{{}}) }',
4798 '-evalt', 'union(s) = {} & x<:INTEGER & x:s',
4799 '-evalt', 'union(s) = {} & x<:INTEGER & x:s & card(s)=1',
4800 '-evalf', 'union(s) = {} & x<:INTEGER & x:s & card(s)=2',
4801 '-evalf', 'union(s) = {} & x<:INTEGER & x:s & card(s)=3',
4802 '-evalf', 'union(s) = {} & x<:INTEGER & x:s & card(s)>1',
4803 '-evalf', 'union(s) = {} & s<:POW(1..2) & card(s)>1',
4804 '-evalt', 'union(s) = {1} & s<:POW(1..2) & card(s)>1',
4805 '-evalf', 'union(s) = {1} & s<:POW(1..2) & card(s)>2',
4806 '-evalf', 'union(s) = {1} & s<:POW(1..2) & card(s)=3',
4807 '-evalf', 'union(s) = {TRUE} & s<:POW(BOOL) & card(s)>2',
4808 '-evalf', 'union(s) = {TRUE} & s<:POW(BOOL) & card(s)=3',
4809 '-evalt', 'union(s) = {TRUE} & s<:POW(BOOL) & card(s)=2',
4810 '-evalt', 'union(s) = {TRUE} & s<:POW(BOOL) & card(s)>1',
4811 '-evalt', ' {s,x|x<:{2,3} & x:s & card(s)=2 & {2,3}:s & 2/: x} = {({{},{2,3}}|->{}),({{2,3},{3}}|->{3})}',
4812 '-evalf', 'x<:{2,3} & s = {x} \\/ s2 & card(s)=3 & s2 = {{2,3},{2}} & 2:x'
4813 ], 'Check card operator does not generate solutions with repeated entries').
4814 cli_testcase(1829, [cbc,forall], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
4815 '-p', 'DEFAULT_SETSIZE', 5,
4816 '../prob_examples/public_examples/EventBPrologPackages/GraphColouring/Coloring_40_wo_axm9.eventb',
4817 '-p', 'TIME_OUT', '8000', % has gotten slower with SICStus 4.6; especially COLORING1 step
4818 '-t'
4819 ], 'Check forall improvements').
4820 cli_testcase(1830, [cbc,forall], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
4821 '-evalt', '!y.(y>3 => !x.(x>2 => TRUE=TRUE))',
4822 '-evalt', '!y.(y>3 => !x.(x>2 => 2>1))',
4823 '-evalt', 'y:4..5 & !y.(y>3 => !x.(x>2 => 2>1))',
4824 '-evalt', '{y|y:3..5 & !y.(y>3 => !x.(x>2 => 1<11))} = 3..5'
4825 ], 'Check forall useless detection improvement').
4826 cli_testcase(1831, [tickets,while,rulesdsl], ['../prob_examples/public_examples/B/Tickets/Hansen34_compile2/FunctionWithWhileLoop.rmch', '-t' ], % increased time-out for jenkins
4827 'Check that compile issue solved when expanding Operation Calls with return parameters').
4828 cli_testcase(1832, [laws], ['../prob_examples/public_examples/B/Laws/BoolWithArithLaws.mch', '-mc', '100000', '-nodead', '-cs', '-strict','-p', 'DOUBLE_EVALUATION', 'TRUE'], 'Various laws about BOOL datatype and boolean connectives; this times using arithmetic operators.').
4829 cli_testcase(1833, [laws], ['../prob_examples/public_examples/B/Laws/INTEGERSET_Laws.mch', '-mc', '100000', '-nodead', '-cs', '-strict','-p', 'DOUBLE_EVALUATION', 'TRUE', '-assertions'], 'Various laws about BOOL datatype and boolean connectives; this times using arithmetic operators.').
4830 cli_testcase(1834, [performance_tests,b_test,codespeed], ['../prob_examples/public_examples/B/PerformanceTests/EnumeratedSetDetection.mch',
4831 '-t', '-strict', '-p', 'CLPFD', 'TRUE', '-p', 'TIME_OUT', '1000'],
4832 'Test enumerated set detection').
4833 cli_testcase(1835, [tickets], ['../prob_examples/public_examples/B/Tester/NameClashes/scheduler0.mch',
4834 '-p', 'STRICT_CLASH_CHECKING', 'TRUE',
4835 '-init', '-expcterr', 'bmachine_static_checks'],
4836 'Test enumerated set detection (PROB-60)').
4837 cli_testcase(1836, [tickets], [
4838 '../prob_examples/public_examples/B/Tickets/DefinitionCapture/DefCaptureAtelierB.mch',
4839 '../prob_examples/public_examples/B/Tickets/DefinitionCapture/DefCapture.mch',
4840 '-opterr', 'bmachine_static_checks', % forall rhs does not use ids due to capture
4841 '-init', '-expcterr', 'definition_variable_capture'],
4842 'Test detection of variable capture (PROB-71)').
4843 cli_testcase(1837, [tickets,enabling], [
4844 '../prob_examples/public_examples/B/CBC/Enabling/OpCallSelect.mch',
4845 '-feasibility_analysis_csv', 1000, '../prob_examples/public_examples/B/CBC/Enabling/OpCallSelect_feasibility.csv'],
4846 'Test that operation call treated in enabling condition (PROB-379)').
4847 cli_testcase(1838, [cbc,card], [
4848 '-evalt', 'x \\/ y \\/ z = 1..10 & x/\\ y = {} & x /\\ z = {} & y /\\ z = {} & x=1..8 & y={10}',
4849 '-evalt', 'union({x,y,z}) = 1..10 & x/\\ y = {} & x /\\ z = {} & y /\\ z = {} & z=1..7 & y={8,10}',
4850 '-evalt', 'x \\/ y \\/ z = BOOL & x/\\ y = {} & x /\\ z = {} & y /\\ z = {} & x={TRUE} & y={FALSE}',
4851 '-evalt', 'x \\/ y \\/ z = {"a","b","c"} & x/\\ y = {} & x /\\ z = {} & y /\\ z = {} & x={"a"} & y={"b"}',
4852 '-evalt', 'x \\/ y \\/ z = {"a","b","c"} & x/\\ y = {} & x /\\ z = {} & y /\\ z = {} & x={"a"} & y={"b"} & z=s',
4853 '-evalf', 'x \\/ y \\/ z = {"a","b","c"} & x/\\ y = {} & x /\\ z = {} & y /\\ z = {} & x={"a"} & y={"b"} & card(z)=2',
4854 '-evalt', 'x \\/ y \\/ z = {{"a","b"},{"c"},{"d"}} & x/\\ y = {} & x /\\ z = {} & y /\\ z = {} & x={{"c"}} & z={{"d"}}'
4855 ], 'Testing partition propagation (all_but_one_set_known).').
4856 cli_testcase(1839, [cbc], [
4857 '-evalt', '{r,t|{x| bool(x>2)=t & x<5}=r & t=TRUE} = {({3,4}|->TRUE)}',
4858 '-evalt', '{r,t|{x| bool(x<=2)=t & x<5}=r & t=FALSE} = {({3,4}|->FALSE)}'
4859 ], 'Testing bool simplification in b_compiler.').
4860 cli_testcase(1840, [latex, b_test], [
4861 '../prob_examples/public_examples/Latex/tests/ProBLatex.mch', '-init', '-animate', 5,
4862 '-latex', '../prob_examples/public_examples/Latex/tests/prob_latex_doc_raw.tex',
4863 '../prob_examples/public_examples/Latex/tests/prob_latex_doc.tex'
4864 ], 'Testing Latex mode.').
4865
4866 cli_testcase(1841, [cbc], [
4867 '../prob_examples/public_examples/B/Benchmarks/scheduler.mch',
4868 '../prob_examples/public_examples/B/Benchmarks/phonebook7.mch',
4869 '-cbc_redundant_invariants', 0, '-strict'], 'Test searching for redundant invariants').
4870 cli_testcase(1842, [cbc], [
4871 '../prob_examples/public_examples/B/Benchmarks/Cruise_finite1.mch',
4872 '-expcterr', cbc_redundant_invariants,
4873 '-cbc_redundant_invariants', 0, '-strict'], 'Test searching for redundant invariants').
4874 cli_testcase(1843, [cbc], [
4875 '../prob_examples/public_examples/B/Benchmarks/Cruise_finite1.mch',
4876 '-cbc_redundant_invariants', 6, '-strict'], 'Test searching for redundant invariants').
4877 cli_testcase(1844, [b_test], ['../prob_examples/public_examples/B/FeatureChecks/SetOperators/TestPartition.mch',
4878 '../prob_examples/public_examples/B/FeatureChecks/SetOperators/TestPartition3.mch',
4879 '../prob_examples/public_examples/B/FeatureChecks/SetOperators/TestPartition2.mch',
4880 '../prob_examples/public_examples/B/Mathematical/LeaderElectionRing.mch',
4881 '-t', '-strict'], 'Test B partition and other tests from Tcl/Tk regression tests').
4882 cli_testcase(1845, [b_test,cruise], ['../prob_examples/examples/B/ClearSy/spec_Cruise/Cruise1.ref',
4883 '-t', '-mc', 100, '-expcterr', 'model_check_incomplete',
4884 '-strict'], 'Test Cruise refinement machine').
4885 cli_testcase(1846, [csp_test], ['../prob_examples/public_examples/CSP/other/Kleine/coz-example.csp',
4886 '-cc', 12886, 38955, '-mc', 20000, '-strict'], 'Test OZ CSP translation and possible CSP process detection').
4887 cli_testcase(1847, [execute,b_test,wd], ['../prob_examples/public_examples/B/Tester/Execute/execute_wd_error.mch',
4888 '-execute', 20, '-expcterr', 'execute', '-expcterr', 'well_definedness_error',
4889 '-nodead', '-nogoal', '-strict', '-goal', 'i=10', '-check_goal'], 'Test WD error caught').
4890 cli_testcase(1848, [cbc,records,card], [
4891 '-evalt', '{rec(a:999,b:999,c:TRUE)}:POW({r|r\'a : 1..1000 & r\'b : 1..1000 & r:struct(a:INTEGER,b:INTEGER,c:BOOL)})',
4892 '-evalt', '{rec(a:999,b:999,c:TRUE),rec(a:1,b:2,c:FALSE)}:POW({r|r\'a : 1..2000 & r\'b : 1..20000 & r:struct(a:INTEGER,b:INTEGER,c:BOOL)})',
4893 '-evalt', '{rec(a:999,b:999,c:TRUE)}:POW({r|r\'a : 1..1000 & r\'b : 1..1000 & r:struct(a:NATURAL,b:NATURAL,c:{TRUE})})',
4894 '-evalt', '{rec(a:999,b:999,c:FALSE)}/:POW({r|r\'a : 1..1000 & r\'b : 1..1000 & r:struct(a:NATURAL,b:NATURAL,c:{TRUE})})',
4895 '-evalf', '{rec(a:999,b:1001,c:TRUE)}:POW({r|r\'a : 1..1000 & r\'b : 1..1000 & r:struct(a:NATURAL,b:NATURAL,c:{TRUE})})',
4896 '-evalf', '{rec(a:999,b:0,c:TRUE)}:POW({r|r\'a : 1..1000 & r\'b : -1..1000 & r:struct(a:NATURAL,b:NATURAL1,c:{TRUE})})',
4897 '-evalt', 'card({r|r\'a : 1..1000 & r\'b : 1..1000 & r:struct(a:INTEGER,b:INTEGER,c:BOOL)}) = 2000000',
4898 '-evalt', 'card({r|r\'a : 1..1000 & r\'b : 1..1000 & r:struct(a:INTEGER,b:NATURAL,c:BOOL)}) = 2000000'
4899 ], 'Testing struct comprehension set detection in ast cleanup.').
4900 cli_testcase(1849, [proz,records], [
4901 '../prob_examples/public_examples/Z/Ledru/RoZ_simple/model.fuzz',
4902 '../prob_examples/public_examples/Z/Ledru/RoZ_simple/model_internal_simplified.mch', '-p', 'ALLOW_COMPLEX_LETS', 'TRUE',
4903 '-t', '-mc', 10, '-strict', '-expcterr', 'model_check_incomplete'], 'Test Z models with complex records,... work').
4904 cli_testcase(1850, [proz,b_test], [
4905 '../prob_examples/public_examples/Z/Ledru/RoZ_simple/model.tex',
4906 '../prob_examples/public_examples/Z/Testcases/comsets.tex',
4907 '../prob_examples/public_examples/Z/Testcases/distributed_concatenation.tex',
4908 '../prob_examples/public_examples/Z/Testcases/compaction.tex',
4909 '../prob_examples/public_examples/Z/Testcases/zrm_refcard_ops.tex',
4910 '-t', '-mc', 10, '-nodead', '-strict', '-opterr', 'model_check_incomplete'], 'Test loading .tex file works').
4911 cli_testcase(1851, [cbc], [
4912 '-evalt_file', '../prob_examples/public_examples/Eval/synthesis/synthesis_constraint_restricted_domains_smaller_library.eval'
4913 ], 'Test solving a complicated synthesis constraint').
4914 cli_testcase(1852, [b_test,refinement], [
4915 '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
4916 '../prob_examples/public_examples/B/RefinementChecking/Simple/Spec1_with_new_op_err.ref',
4917 '-init','-expcterr', 'type_error',
4918 '-opterr', 'load_main_file', % prob now emits a warning rather than an error, and can thus load the file
4919 '-strict'], 'Test ALLOW_NEW_OPERATIONS_IN_REFINEMENT preference').
4920 cli_testcase(1853, [b_test,refinement], [
4921 '../prob_examples/public_examples/B/RefinementChecking/Simple/Spec1_with_new_op.ref',
4922 '-t', '-mc', 10, '-strict'], 'Test ALLOW_NEW_OPERATIONS_IN_REFINEMENT preference').
4923 cli_testcase(1854, [cbc,records], [
4924 '-evalt', 'union(ran(f)) <: 2..3 & f = %x.(x:n..(n+1)|{x}) & n:1..1500000',
4925 '-evalt', 'union(ran(f)) : POW(2..3) & f = %x.(x:n..(n+1)|{x}) & n:1..1500000'
4926 ], 'Testing ast cleanup improvement.').
4927 cli_testcase(1855, [slot,tickets,private,xml, unsat_core], [
4928 '../prob_examples/examples/B/SlotTool/Ticket_11092017/Solver.mch',
4929 '-init',
4930 '-expcterrpos', definition_variable_capture, 279, 12,
4931 '-eval', 'UNSAT_CORE_SESSIONS({group3, group4})',
4932 '-evalt', 'UNSAT_CORE_SESSIONS({group3, group4})={session3,session4}', '-strict'],
4933 'Test instantiate to any issue solved').
4934 cli_testcase(1856, [b_test,external,closure1], [
4935 '../prob_examples/public_examples/B/ExternalFunctions/UGraphsFunctions.mch',
4936 '-init', '-assertions'], 'Test CLOSURE1 and SCCS external functions').
4937 cli_testcase(1857, [tickets,b_test], [
4938 '../prob_examples/public_examples/B/Tickets/PROB-403/CONTEXT_JUST_SETS.mch',
4939 '../prob_examples/public_examples/B/Tickets/PROB-403/CONTEXT2.mch', % does work now: constants are no longer up multiple times (but properties are still included multiple times)
4940 '-t' ],
4941 'Check constants, sets, ... can be included multiple times without prefix (PROB-403)').
4942 cli_testcase(1858, [proz,records], [
4943 '../prob_examples/public_examples/Z/Ledru/RoZ_constraint/model.zed',
4944 %'../prob_examples/public_examples/Z/Ledru/RoZ/model.tex',
4945 '-t', '-mc', 10, '-strict', '-expcterr', 'model_check_incomplete'], 'Test Z models using new rec__ SYMBOLIC annotation and do_not_enumerate_binary_boolean_operator/wfx_no_enumeration').
4946 cli_testcase(1859, [b_test,external,strings,wd], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
4947 '../prob_examples/public_examples/B/ExternalFunctions/SubStringFunctions.mch',
4948 '-evalnwd', 'STRING_TO_INT("1.1")',
4949 '-expcterr', well_definedness_error
4950 ], 'Check that error raised when converting float to int.').
4951 cli_testcase(1860, [b_test,card], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
4952 '../prob_examples/public_examples/B/PerformanceTests/CardPropagation/DeferredSetSurjectionTest.mch',
4953 '-init'
4954 ], 'Check that cardinality of deferred set adjusted for surjections.').
4955 cli_testcase(1861, [b_test,wd], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
4956 '-evalnwd', '[11,22,33] /|\\ 4',
4957 '-expcterr', well_definedness_error
4958 ], 'Check wd error for prefix sequence.').
4959 cli_testcase(1862, [b_test], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
4960 '-evalt', '{x,y|x:INTEGER & y=x+1} = r & r2 = r~ & res = r2[{22,23}] & SIGMA(xx).(xx:res|xx)=43',
4961 '-evalt', '{x,y|x:INTEGER & y=x+1} = r & r2 = r~ & res = r2[{x}] & SIGMA(x).(x:res|x)=x-1 & x:{50,51}'
4962 ], 'Check that relational inverse works on infinite set').
4963 cli_testcase(1863, [b_test,wd], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
4964 '-p', 'TRY_FIND_ABORT', 'TRUE',
4965 '-evalnwd', 'f : 1..2 +-> 3..4 & f(3) = 3',
4966 '-expcterr', well_definedness_error
4967 ], 'Check wd error for function application outside of domain.').
4968 cli_testcase(1864, [b_test,wd], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
4969 '-p', 'TRY_FIND_ABORT', 'TRUE',
4970 '-evalnwd', 'f : 1..2 --> 3..4 & f(3) = 3', % total function; hits another area of ProB source code
4971 '-expcterr', well_definedness_error
4972 ], 'Check wd error for function application outside of domain.').
4973 cli_testcase(1865, [b_test], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
4974 '-evalt', 'idc = {x,y|x:INTEGER & y:INTEGER & y=x} & res = idc[{550}] & res = {550}',
4975 '-evalt', 'idc = {x,y|x:INTEGER & y:NATURAL & y=x} & res = idc[{550}] & res = {550}',
4976 %'-evalt', 'idc = {x,y|x:NATURAL & y:NATURAL & y=x} & res = idc[{550}] & res = {550}',
4977 '-evalt', 'idc = {x,y|x:INTEGER & y:NATURAL & y=x} & res = idc[{-550}] & res={}',
4978 '-evalt', 'idc = {x,y|x:INTEGER & y:INTEGER & y=x} & dom(idc)=INTEGER'
4979 ], 'Check that id closures can be manipulated').
4980 cli_testcase(1866, [b_test,wd], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
4981 '-evalnwd', '22 mod -3',
4982 '-expcterr', well_definedness_error
4983 ], 'Check wd error for modulo negative number.').
4984 cli_testcase(1867, [b_test], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
4985 '-p', 'REMOVE_IMPLIED_CONSTRAINTS', 'TRUE',
4986 '-evalt', 'n=1000 & f:1..n --> BOOL & f:1..n +-> BOOL & !x.(x:dom(f) => f(x) = bool(x>50)) & f: 1..n <-> BOOL & dom(f)=1..n'
4987 ], 'Exercise REMOVE_IMPLIED_CONSTRAINTS').
4988 cli_testcase(1868, [while,private,xml], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
4989 '../prob_examples/examples/B/Thales/Ticket_closure_body_enum/ENV_Model.prob',
4990 %'../prob_examples/examples/B/Thales/Ticket_closure_body_enum/src/test/environment/ENV_Model.mch',
4991 '-t'
4992 ], 'Check that closure body enumeration in while issue fixed.').
4993 cli_testcase(1869, [b_test],
4994 [%'../prob_examples/public_examples/B/Benchmarks/scheduler.mch', % does not work with non-det
4995 '../prob_examples/public_examples/B/Benchmarks/phonebook7.mch',
4996 '-strict','-t',
4997 '-p', 'MAX_OPERATIONS', 0], 'Check that trace replay works with MAX_OPERATIONS == 0').
4998 cli_testcase(1870, [b_test,while],
4999 ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
5000 '-p', 'TYPE_CHECK_DEFINITIONS', 'TRUE',
5001 '../prob_examples/public_examples/B/Tester/OpCalls/GetTrain2.mch',
5002 '../prob_examples/public_examples/B/Tester/OpCalls/SwitchParameters2.mch',
5003 '../prob_examples/public_examples/B/Tester/OpCalls/GetTrain_v2/GetTrain2.mch',
5004 '../prob_examples/public_examples/B/Tester/OpCalls/GetTrain_v2/GetTrain2_LargeVariant.mch',
5005 '../prob_examples/public_examples/B/Tester/OpCalls/GetTrain_v2/GetTrain3.mch',
5006 '../prob_examples/public_examples/B/Tester/OpCalls/ReadOutput/OpCallR.ref',
5007 '-strict','-t'], 'Check that OpCalls can be used to assign output with same result variable name').
5008 cli_testcase(1871, [b_test],
5009 ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
5010 '../prob_examples/public_examples/B/Tester/OpCalls/ReadOutput/OpCallErrR.ref', '-mc', 10, '-nodead',
5011 '-strict', '-expcterr', 'precondition_error'
5012 ], 'Check that precondition_error on output variable previous value detected').
5013 cli_testcase(1872, [b_test,external,strings], [
5014 '../prob_examples/public_examples/B/ExternalFunctions/TestLibraryStrings.mch',
5015 '-p', 'TYPE_CHECK_DEFINITIONS', 'TRUE',
5016 '-evalt', 'STRINGIFY("abc\\nef") = "\\"abc\\\\nef\\""',
5017 '-init', '-assertions'], 'Test STRING_TO_ENUM and STRINGIFY external functions and escaping').
5018 cli_testcase(1873, [b_test,external,rulesdsl], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
5019 '-p', 'TYPE_CHECK_DEFINITIONS', 'TRUE',
5020 '../prob_examples/public_examples/Rules/CSV/RulesChemistry.rmch',
5021 '-execute_all', '-execute_expect_steps', 5,
5022 '-evalt', 'check_atomic_number="SUCCESS"', '-evalt', 'check_atomic_number_Counterexamples={}',
5023 '-evalt', 'check_atomic_weight_increasing="FAIL"', '-evalt', 'check_atomic_weight_increasing_Counterexamples={(1|->"Atomic weight not increasing for element: 18 Argon with aw=399480, next aw =390983 of Potassium\\n"),(1|->"Atomic weight not increasing for element: 27 Cobalt with aw=589332, next aw =586934 of Nickel\\n"),(1|->"Atomic weight not increasing for element: 52 Tellurium with aw=1276000, next aw =1269045 of Iodine\\n"),(1|->"Atomic weight not increasing for element: 90 Thorium with aw=2320381, next aw =2310359 of Protactinium\\n"),(1|->"Atomic weight not increasing for element: 92 Uranium with aw=2380289, next aw =2370480 of Neptunium\\n"),(1|->"Atomic weight not increasing for element: 94 Plutonium with aw=2440642, next aw =2430614 of Americium\\n")}',
5024 '-evalt', 'compute_atomic_weights="EXECUTED"',
5025 '-evalt', 'import_data="EXECUTED"'
5026 ],
5027 'Check Rules DSL example with CSV reading').
5028 cli_testcase(1874, [b_test,infinite], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
5029 '-evalt', '%x.(x:NATURAL|x) : NATURAL --> NATURAL',
5030 '-evalf', '%x.(x:NATURAL|x) : INTEGER --> NATURAL',
5031 '-evalf', '%x.(x:NATURAL|x) : NATURAL1 --> NATURAL',
5032 '-evalf', '%x.(x:NATURAL1|x) : NATURAL --> NATURAL',
5033 '-evalt', '%x.(x:NATURAL|x+1) : NATURAL --> NATURAL',
5034 '-evalt', '%x.(x:NATURAL|x+1) : NATURAL --> NATURAL1',
5035 '-evalf', '%x.(x:NATURAL|x-1) : NATURAL --> NATURAL',
5036 '-evalt', '%(x,y).(x:NATURAL&y:NATURAL|x+y) : NATURAL*NATURAL --> NATURAL',
5037 '-evalf', '%(x,y).(x:NATURAL&y:NATURAL|x+y) : NATURAL*NATURAL --> NATURAL1',
5038 '-evalt', '%(x,y).(x:1..100 & y:1..100|x+y) : (1..100)*(1..100) --> (2..200)',
5039 '-evalt', '%(x,y).(x:1..100 & y:1..100|x+y) : (1..100)*(1..100) --> (1..10000)',
5040 '-evalf', '%(x,y).(x:1..100 & y:1..100|x+y) : (1..100)*(1..100) --> (3..200)',
5041 '-evalt', '%(x,y).(x:1..100 & y:1..100|x*y) : (1..100)*(1..100) --> (1..10000)',
5042 '-evalf', '%(x,y).(x:1..100 & y:1..100|x*y) : (1..100)*(1..100) --> (2..10000)',
5043 '-evalf', '%(x,y).(x:1..100 & y:1..101|x*y) : (1..100)*(1..101) --> (1..10000)',
5044 % '-evalt', '%(x,y).(x:0..999 & y:0..999|(x*y) mod 1000) : (0..999)*(0..999) --> (0..999)', % slow due to expansion
5045 '-evalt', '%(x,y).(x:0..9999 & y:0..9999|(x*y) mod 10000) : (0..9999)*(0..9999) --> (0..9999)',
5046 % TO DO:
5047 % {x|x:NATURAL*NATURAL & prj1(INTEGER,INTEGER)(x)=prj2(INTEGER,INTEGER)(x)} : NATURAL --> NATURAL % not detected as lambda,
5048 '-evalt', '%(aa).(aa : INTEGER | [aa]) : INTEGER --> seq(INTEGER)',
5049 %'-evalf', '%(aa).(aa : INTEGER | [aa]) : INTEGER --> seq(NATURAL)', % succeeds but has non-critical enum warning
5050 '-evalt', '%(aa).(aa : NATURAL1 | [aa]) : NATURAL1 --> seq(NATURAL1)',
5051 '-evalt', 'n=16 & cc = /*@symbolic*/ %ui.(ui:0..((2**n)-1) | ui/(2**8)) & cc:(0..((2**n)-1))--> 0..255',
5052 '-evalf', 'n=16 & cc = /*@symbolic*/ %ui.(ui:0..((2**n)-1) | ui/(2**8)) & cc:(0..((2**n)-1))--> 0..254'
5053 ], 'Check new symbolic total function range detection').
5054 cli_testcase(1875, [b_test,external], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
5055 '../prob_examples/public_examples/B/ExternalFunctions/TestBitLibrary.mch',
5056 '-p', 'TYPE_CHECK_DEFINITIONS', 'TRUE',
5057 '-init', '-assertions'
5058 ], 'Check new bitwise external functions BAND, BOR, BXOR,...').
5059 cli_testcase(1876, [error_checks,b_test], ['../prob_examples/public_examples/B/ErrorMachines/TypeErrorUnusedDefinition.mch',
5060 '-p', 'TYPE_CHECK_DEFINITIONS', 'TRUE',
5061 '-expcterrpos', definition_type_error, 9, 21,
5062 '-expcterrpos', definition_type_error, 10, 35,
5063 '-expcterrpos', definition_type_error, 10, 39
5064 ], 'Check type error in unused DEFINITION detected').
5065 cli_testcase(1877, [b_test,external,random], [
5066 '../prob_examples/public_examples/B/ExternalFunctions/TestLibraryRandom.mch',
5067 '-mc', 100, '-assertions'], 'Test random_subset, random_permutation').
5068 cli_testcase(1878, [tickets,private], [
5069 '../prob_examples/examples/B/Alstom/Ticket_Nov28_2017/scheduler_pb.mch', '-t',
5070 '-p', 'SYMBOLIC', 'TRUE',
5071 '-p', 'MAXINT', 2147483647, '-p', 'MININT', -2147483647, '-check_goal',
5072 '-evalt', 'x:in_cmd_signals',
5073 '-evalt', 'in_cmd_signals : t_signal --> t_color', '-p', 'TIME_OUT', '7000'
5074 ], 'Test symbolic override works as expected').
5075 cli_testcase(1879, [b_test,closure1,infinite,wd], ['../prob_examples/public_examples/B/Tickets/Hansen7/ClosureTest.mch', '-init', % '-expecterr', 'virtual_time_out', % reflexive closure now detected infinite
5076 '-expcterr', 'setup_constants_fails',
5077 '-opterr', 'setup_constants_inconsistent', % we now also generate this msg when not all csts are found deterministically
5078 '-opterr', 'setup_constants_unknown', '-opterr', 'virtual_time_out', '-opterr', 'well_definedness_error' % with changes from May 15th 2026 properties which do not affect constants are processed at the end; hence WD error now caught
5079 ], 'Check closure now infinite').
5080 cli_testcase(1880, [b_test,closure1], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
5081 '-evalt', '22|->22 : closure({})',
5082 '-evalf', '22|->21 : closure({})',
5083 '-evalt', '22|->22 : iterate({},0)',
5084 '-evalt', '11|->66 : closure({11|->22,22|->33,22|->44,33|->55,33|->66})',
5085 '-evalt', '{100|->100,11|->66} <: closure({11|->22,22|->33,22|->44,33|->55,33|->66})',
5086 '-evalt', 'closure1({11|->22,22|->33,22|->44,33|->55,33|->66}) <: closure({11|->22,22|->33,22|->44,33|->55,33|->66})',
5087 '-evalf', '33|->22 : closure({11|->22,22|->33,22|->44,33|->55,33|->66})'
5088 ], 'Check some reflexive closure predicates').
5089 cli_testcase(1881, [cbc,symmetry_test], ['../prob_examples/public_examples/B/SymmetryReduction/StaticSymmetryReduction/DefSetTest1.mch', '-mc', '15',
5090 '-nodead',
5091 '-cc', '7', '6', '-strict' ], 'Check that static symmetry reduction works as expected').
5092 cli_testcase(1882, [b_test,closure1,forall], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
5093 '-evalt', '!(x,y).(x:S & y:S => (x>y => x=y+2)) & S = {0,x} & x>0',
5094 '-evalf', '!(x,y).(x:S & y:S => (x>y => x=y+2)) & S = {0,x,y} & x>y & y>0',
5095 '-evalf', '!(x,y).(x:y & y<:1..2 => x>2)'
5096 ], 'Test forall splitting').
5097 cli_testcase(1883, [b_test,closure1], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
5098 '-evalf', 'x: 1..n --> 1..n & closure1(x)[{1}] = {} & n=25',
5099 '-evalt', 'x: 1..n --> 1..n & closure1(x)[{1}] = 3..n & n=7'
5100 ], 'Check image for closure1 improvements').
5101 cli_testcase(1884, [b_test,card], ['../prob_examples/public_examples/B/FeatureChecks/DeferredSetAndConstants2.mch', '-mc', '5',
5102 '-nodead',
5103 '-cc', '3', '2', '-strict'], 'Check that enumerated set / partition detection works').
5104 cli_testcase(1885, [cbc], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
5105 '-p', 'TRY_FIND_ABORT', 'FALSE',
5106 '-evalf', 'f = %x.(x:1..90|100+x) & f(v)+f(w)+f(y)+f(z) < 400',
5107 '-evalf', 'f = %x.(x:1..90|rec(a:100+x,b:x)) & f(v)\'a+f(w)\'a+f(y)\'a+f(z)\'a < 400',
5108 '-evalt', 'v={1|->rec(a:11,b:22), 2|->rec(a:22,b:33)}& r={x|v(x)\'b = x}'
5109 ], 'Test improved propagation for function application, also in combination with record field reduction in b_compiler').
5110 cli_testcase(1886,[private, data_validation,alstom,codespeed],[
5111 '../prob_examples/examples/B/Alstom/sgd_Jun11/vital_gradient_v3/vital_gradient_optimized.mch',
5112 '-p', 'DATA_VALIDATION', 'TRUE', % data_validation_mode preference
5113 '-p', 'CLPFD', 'TRUE', '-p', 'MAXINT', '2147483647', '-p', 'MININT', '-2147483648', '-p', 'TIME_OUT', '35000', '-t'],
5114 'test 1105 in DATA_VALIDATION mode').
5115 cli_testcase(1887, [b_test,symmetry_test], [
5116 '../prob_examples/public_examples/B/SymmetryReduction/StaticSymmetryReduction/DefSetPartTest1.mch',
5117 '../prob_examples/public_examples/B/SymmetryReduction/StaticSymmetryReduction/DefSetPartTest2.mch',
5118 '../prob_examples/public_examples/B/SymmetryReduction/StaticSymmetryReduction/DefSetPartTest3.mch',
5119 '../prob_examples/public_examples/B/SymmetryReduction/StaticSymmetryReduction/DefSetPartTest4.mch',
5120 '../prob_examples/public_examples/B/SymmetryReduction/StaticSymmetryReduction/DefSetPartTest5.mch',
5121 '-mc', '1000', '-nodead', '-nogoal', '-assertions', '-strict'], 'Check that partition symmetry reduction works').
5122 cli_testcase(1888, [cbc], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
5123 '-p', 'TRY_FIND_ABORT', 'FALSE',
5124 '-evalnwd', 'v = %x.(x:1..20|x+x) & y<4 & z=v(y) & (y:{-1,2}) & y /= 2',
5125 '-expcterr', well_definedness_error
5126 ], 'Test improved propagation for function application does not prevent finding WD problem').
5127 cli_testcase(1889, [cbc], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
5128 '-p', 'TRY_FIND_ABORT', 'FALSE',
5129 '-evalnwd', 'v = %x.(x:1..20|x+x) & {y,z|y<4 & z=v(y) & (y:{-1,2})} =res',
5130 '-expcterr', well_definedness_error
5131 ], 'Test improved propagation for function application does not prevent finding WD problem').
5132 cli_testcase(1890, [private,data_validation], ['../prob_examples/examples/B/Systerel/C578/2013/machines_24092013/07_001.mch',
5133 '-init' ,'-assertions', '-p', 'SYMBOLIC', 'TRUE', '-p', 'MEMO', 'TRUE', '-p', 'TIME_OUT', 39500,
5134 '-p', 'DETECT_LAMBDAS', 'TRUE',
5135 '-p', 'ENUMERATE_INFINITE_TYPES', 'FALSE', '-p', 'EXPAND_FORALL_UPTO', 0 ], 'Test 1161 with lambda detection').
5136 cli_testcase(1891, [cbc], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
5137 '../prob_examples/public_examples/B/CBC/Tests/TestSequenceVariable.mch',
5138 '-cbc', 'all', '-expcterr', cbc
5139 ], 'Test cbc finds error with sequence type').
5140 cli_testcase(1892, [cbc,symmetry_test], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
5141 '../prob_examples/public_examples/B/CBC/Tests/TestPartitionStaticSymReduction.mch',
5142 '-cbc', 'all'
5143 ], 'Test static symmetry reduction works with cbc').
5144 cli_testcase(1893, [cbc], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
5145 '-evalf', '{1,2}*(1..1000) = {}',
5146 '-evalt', '{1,2}*(1..1000) /= {}',
5147 '-evalf', '{1,2}*x = {} & x<:INTEGER & 22:x',
5148 '-evalt', '{1,2}*x /= {} & x<:INTEGER & 22:x',
5149 '-evalf', 'x*x = {} & x<:INTEGER & 22:x',
5150 '-evalt', 'x*x /= {} & x<:INTEGER & 22:x'
5151 ], 'Test improved detection of empty cartesian product closures').
5152 cli_testcase(1894, [cbc], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
5153 '../prob_examples/public_examples/B/CBC/RiverCrossing_BMC.mch',
5154 '-init', '-assertions', '-model-check', '-nogoal', '-nodead'
5155 ], 'Test constraints solved quickly').
5156 cli_testcase(1895, [b_test,let], [
5157 '-evalt', '40 = LET i,j BE i=10 & j=i+20 IN i+j END'
5158 ], 'ensure error in nested LET expression detected').
5159 cli_testcase(1896, [proz,let], [ '../prob_examples/public_examples/Z/Daniel/tests/let.tex', '-t',
5160 '-mc', 2000, '-cc', 1839, 4195
5161 ], 'ensure Zed LETs treated correctly').
5162 cli_testcase(1897, [cbc,card], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
5163 '-evalt', 'card(%(x,y).(x:(1..10) --> BOOL&y:iseq(1..2)|1)) = 5120',
5164 '-evalt', 'card(%(x,y).(x:(1..10) --> BOOL&y:(1..10) --> BOOL|1))>100',
5165 '-evalt', 'card(%(x,y).(x:(1..10) --> BOOL&y:(1..10) +-> BOOL|1))>100',
5166 '-evalt', 'card(%(x,y).(x:(1..10) -->> BOOL&y:(1..10) +->> BOOL|1))>100',
5167 '-evalt', 'card(%(x,y).(x:(1..10) <-> BOOL&y:(1..10) >->> (2..11)|1))>100'
5168 ], 'Test improved detection of cartesian product closures').
5169 cli_testcase(1898, [tickets,strings], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
5170 '-evalt', 'x = "a\\\\" & y="bcd"',
5171 '-evalf', 'x = "a\\\\" & x="a"'
5172 ], 'Test \\ at end of string (no pushback overflow)').
5173 cli_testcase(1899, [tickets,proz,private], [ '-p', 'MAX_OPERATIONS', 900, % TO DO: try and reduce the need for this high value
5174 '../prob_examples/examples/Z/Patterns/forProB/ReturnHome ProZ v1.tex',
5175 '-t', '-model-check'],
5176 'Ensure no timeouts').
5177 cli_testcase(1900, [tickets,proz,private], [ '-p', 'MAX_OPERATIONS', 1800,
5178 '../prob_examples/examples/Z/Patterns/forProB/ReturnHome ProZ v2.tex',
5179 '-t', '-model-check'],
5180 'Ensure no timeouts').
5181 cli_testcase(1901, [tickets, let], [
5182 '../prob_examples/public_examples/B/ErrorMachines/LET_Illegal.mch',
5183 '-expcterrpos', type_error, 14, 35, '-expcterrpos', type_error, 14, 53, '-expcterr', load_main_file],
5184 'check illegal LET detected').
5185 cli_testcase(1902, [tickets,private,data_validation,let], [
5186 '../prob_examples/examples/B/Alstom/Ticket_LET_Mar26_2018/essai.mch',
5187 '-expcterrpos', type_error, 25, 5, '-expcterr', load_main_file],
5188 'check illegal LET detected and no infinite loop in typechecker').
5189 cli_testcase(1903, [b_test,infinite,total_function], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
5190 '-evalt', 'f = NATURAL1 * {22} & f: NATURAL1 --> NATURAL',
5191 '-evalt', 'f = %x.(x:NATURAL1|x+1) & f: NATURAL1 --> NATURAL',
5192 '-evalf', 'f = %x.(x:NATURAL|x+1) & f: NATURAL1 --> NATURAL',
5193 '-evalt', 'f = /*@symbolic*/ {x|x:NATURAL1*INTEGER & prj2(INTEGER,INTEGER)(x)=prj1(INTEGER,INTEGER)(x)+1} & r = f(2)',
5194 % '-evalt', 'f = /*@symbolic*/ {x|x:NATURAL1*INTEGER & prj2(INTEGER,INTEGER)(x)=prj1(INTEGER,INTEGER)(x)+1} & f: NATURAL1 --> NATURAL' % TODO
5195 %'-evalf', 'f = NATURAL1 * {22,33} & f: NATURAL1 --> NATURAL' %% TO DO
5196 '-evalt', ' %(x,z).(x:NATURAL & z:NATURAL|x+z) : (NATURAL*NATURAL)-->NATURAL',
5197 '-evalt', ' %(x,z).(x:NATURAL & z:NATURAL|max({z,x,x/z,-x})) : (NATURAL*NATURAL)-->NATURAL'
5198 %'-evalf', '%(x,z).(x:NATURAL & z:NATURAL|min({z,x,x/z,-x})) : (NATURAL*NATURAL)-->NATURAL' % raises enum warning; but finds counter example; see test 1956
5199 ], 'Test symbolic treatment of total function').
5200 cli_testcase(1904,[enabling,private,read_write],[
5201 '../prob_examples/examples/B/ASTD/wetransfer-545a33/Case_Study_Handmade/TRAIN_CONTROL_M6.mch',
5202 '-t',
5203 '-read_write_matrix_csv', '../prob_examples/examples/B/ASTD/wetransfer-545a33/Case_Study_Handmade/TRAIN_CONTROL_M6_rw_matrix.csv'
5204 ], 'Check read-write-matrix with nested operation calls.').
5205 cli_testcase(1905, [b_test,infinite,total_function,card], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
5206 '-p', 'CLPFD', 'FALSE', '-p', 'DISPROVER_MODE', 'TRUE',
5207 '-evalt', 'card({x|x > 2 & x mod 2 =0 & x<=10})=4',
5208 '-evalt', '{x|x > 2 & x mod 2 =0 & x<=10} = {4,6,8,10}',
5209 '-evalt', '{x|x > 2 & x mod 2 =0 & x<10} = {4,6,8}',
5210 '-evalt', '{x|x >= 2 & x mod 2 =0 & x<10} = {2,4,6,8}',
5211 '-evalt', '{x|x : NATURAL & x mod 2 = 0 & x <= 10} = {0,2,4,6,8,10}',
5212 '-evalt', '{x|x : NATURAL1 & x mod 2 = 0 & x <= 10} = {2,4,6,8,10}'
5213 ], 'Test improved integer enumeration in non-CLPFD mode').
5214 cli_testcase(1906, [b_test,while,private,records],
5215 ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
5216 '-p', 'TYPE_CHECK_DEFINITIONS', 'TRUE',
5217 '../prob_examples/examples/B/SupervisoryControl/obs1/DES_12_3_Prop4_H_Fig8b_PartitionV1.mch',
5218 '-strict','-t'], 'Check that type checking definitions not confounded by parameter/variable A clash').
5219 cli_testcase(1907,[csp_test], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
5220 '../prob_examples/public_examples/CSP/Tickets/WilliamsCSPB/AirportsCtrl.csp',
5221 '-t', '-strict'], 'Testing example with src_span_operator.').
5222 cli_testcase(1908,[csp_test,private], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
5223 '../prob_examples/examples/B/ASTD/Library/Library_2_1.csp',
5224 '-t', '-mc', 90, '-strict'], 'Test state space finite using new [] normalisation rule.').
5225 cli_testcase(1909, [ltl,xtl], ['../prob_examples/public_examples/XTL/BauerZiege.P',
5226 '-ltlformulat', 'G not(deadlock)',
5227 '-ltlformulaf', 'G not(e(move))',
5228 '-ltlformulaf', 'G not({unsafe})'], 'Test XTL LTL example').
5229 cli_testcase(1910, [b_test,pragmas], [
5230 '../prob_examples/public_examples/B/Pragmas/package_pragma/a/aa/Machine_A.mch',
5231 '-init'], 'Test package pragme with dot').
5232 cli_testcase(1911, [tickets,tla,wd], [
5233 '../prob_examples/public_examples/TLA/Thales/PingPong/scn_1_node.tla',
5234 '../prob_examples/public_examples/TLA/Thales/PingPong_ASSERT/scn_1_node.tla',
5235 '-t', '-mc', 40], 'Check no wd errors thrown').
5236 cli_testcase(1912, [cbc], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
5237 '-evalf', 'NATURAL \\{1} \\ {2} = NATURAL \\ {3} \\ {1}',
5238 '-evalt', 'NATURAL \\{1} \\ {2} = NATURAL \\ {2} \\ {1}',
5239 '-evalt', 'NATURAL \\{12} \\ {22} = NATURAL \\ {22} \\ {12}',
5240 '-evalt', 'NATURAL1 \\{12} \\ {22} = NATURAL1 \\ {22} \\ {12}',
5241 '-evalt', 'NATURAL \\{0} \\ {2} = NATURAL \\ {2} \\ {0}',
5242 '-evalt', 'NATURAL \\{0} \\ {1} = NATURAL \\ {1} \\ {0}',
5243 '-evalf', 'NATURAL \\{0} \\ {2} = NATURAL \\ {1} \\ {0}',
5244 '-evalf', 'NATURAL \\{0} \\ {1} = NATURAL \\ {2} \\ {0}',
5245 '-evalt', 'NATURAL1 \\{12} \\ {22} = NATURAL \\ {22} \\ {12} \\ {0}',
5246 '-evalf', 'NATURAL1 \\{12} = NATURAL \\{12}',
5247 '-evalf', '{x|x>22 & x<100} = {y|y>=k}',
5248 '-evalt', '{x|x>22} = {y|y>=k}',
5249 '-evalt', '{x|x>22} = {x|x>=k}',
5250 '-evalt', '{x|x>22 & x<100} = {y|y>=k & y<m}',
5251 '-evalt', '{x,y|x>22&y>100} = /*@symbolic*/ {y1,x1|x1>k & y1>m}',
5252 '-evalf', 'NATURAL1 = NATURAL - {1}',
5253 '-evalt', 'NATURAL1 = NATURAL - {0}',
5254 '-evalt', 'NATURAL1 = NATURAL1 - {0}',
5255 '-evalf', '{x|x>0 & x mod 22 = 0 & x < 1000} = NATURAL'
5256 %'-evalf', '{x|x>0 & x mod 22 = 0 & x < 1000} = NATURAL \\{12}' % commented out for the moment; conflict with 1081
5257 ], 'ensure symbolic treatment of equality').
5258 cli_testcase(1913, [cbc], [
5259 '-evalf', '{x|x>0 & x mod 22 = 0} = NATURAL \\{12}',
5260 '-evalf', '{x|x>0 & x mod 2 = 0} = {x|x>0 & x mod 3 = 0}',
5261 '-evalt', '{x|x>0 & x /= 22} = {x|x>0 & (x = 22 => x>22)}',
5262 '-evalf', 'NATURAL1 \\{12} = INTEGER \\{12}'
5263 ], 'ensure symbolic treatment of equality').
5264 cli_testcase(1914, [cbc,sequences,sigma], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
5265 '-evalt', 'x:iseq(50001..50002) & y:1..100005 & SIGMA(yy).(yy:1..size(x)|x(yy)) = y & y>50002',
5266 '-evalt', 'x:iseq(50001..50002) & y:1..100005 & SIGMA(yy).(yy:dom(x)|x(yy)) = y & y>50002',
5267 '-evalt', 'x:iseq(80001..80002) & y:1..100005 & SIGMA(yy).(yy:dom(x)|x(yy)) = y'
5268 ], 'ensure earlier enumeration of iseq').
5269 cli_testcase(1915, [cbc,private,enabling,wd], ['../prob_examples/examples/B/Alstom/etcs/actions_scn_f6_372_bis.mch',
5270 '-feasibility_analysis_csv', 1000, '../prob_examples/examples/B/Alstom/etcs/actions_feasibility.csv'
5271 ], 'Check that feasibility can be shown without wd errors').
5272 cli_testcase(1916,[cbc],[
5273 '../prob_examples/public_examples/EventBPrologPackages/Advance/CAN_Bus/CB3FSMM_mch_v2.eventb',
5274 '-cbc', 'T2ReleaseBus', '-expcterr', 'cbc'
5275 ], 'Check invariant violation found despite use of unproven finite() in invariant').
5276 cli_testcase(1917, [b_test,card], ['-strict', '../prob_examples/public_examples/B/FeatureChecks/DeferredSetMaxCardWithUnion.mch', '-init' ,'-assertions'], 'check enumerated set detected despite use of subsidiary identifier').
5277 cli_testcase(1918, [refinement], ['../prob_examples/public_examples/B/EventB_AtelierB/SimpleCounter1.ref',
5278 '-t', '-mc', 100, '-cc', 10, 28,
5279 '-strict'], 'Test ref keyword for Atelier-B Event-B model').
5280 cli_testcase(1919, [external], ['../prob_examples/public_examples/B/ExternalFunctions/SORT_External.mch',
5281 '-assertions', '-t'], 'test SORT and SQUASH external functions').
5282 cli_testcase(1920,[while, codespeed],[
5283 '../prob_examples/public_examples/B/PerformanceTests/While/LiftExec.mch','-strict',
5284 '-init', '-property', 'LIM=500', '-p', 'TIME_OUT', 2500,
5285 '-animate', 1,
5286 '-goal', 'counter=LIM', '-check_goal' ], 'Performance of while loop').
5287 cli_testcase(1921,[wd, error_checks],[
5288 '../prob_examples/public_examples/B/ErrorMachines/WD_SetCompr_Error.mch', '-strict',
5289 '-init', '-expcterr', well_definedness_error,
5290 '-opterr', 'setup_constants_fails', % as of 17.3.2023 we have partial_setup_constants
5291 '-opterr', setup_constants_unknown
5292 ], 'Check error detected and no constants found').
5293 cli_testcase(1922,[wd, tickets],[
5294 '../prob_examples/public_examples/B/Tickets/VBF_DB_EnumWarning/Ticket.mch', '-strict',
5295 '-init'
5296 ], 'Check no enum warning raised due to large CLPFD interval but small fd_size').
5297 cli_testcase(1923, [tickets,infinite], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
5298 '-p', 'MAXINT', 2147483647, '-p', 'MININT', -2147483647,
5299 '-evalt', 'x <: INT - {0}',
5300 '-evalf', '{0,1,2} <: INT - {0}',
5301 '-evalt', '{-2147483647,1,2,2147483647} <: INT - {0}',
5302 '-evalf', '{2147483648} <: INT - {0}'
5303 ], 'ensure symbolic treatment of set difference').
5304 cli_testcase(1924,[tickets,while],[
5305 '../prob_examples/public_examples/B/Tester/OpCalls/ParaClash/Call1.mch', '-strict',
5306 '-t'
5307 ], 'Check no issue with compilation of operation calls with id clashes').
5308 cli_testcase(1925,[tickets,while],[
5309 '../prob_examples/public_examples/B/Tester/OpCalls/ParaClash/Call1_Clash.mch', '-strict',
5310 '-expcterr', bmachine_static_checks, % Warnings about variable clashes
5311 '-t'
5312 ], 'Check no issue with compilation of operation calls with id clashes').
5313 cli_testcase(1926,[alloy],[
5314 '../prob_examples/public_examples/Alloy/SimpleTests/Join_Binary.als',
5315 '../prob_examples/public_examples/Alloy/SimpleTests/Join_Complex.als',
5316 '../prob_examples/public_examples/Alloy/SimpleTests/Quantifiers.als',
5317 '../prob_examples/public_examples/Alloy/SimpleTests/Comprehension.als',
5318 '../prob_examples/public_examples/Alloy/SimpleTests/CartesianProduct.als',
5319 '../prob_examples/public_examples/Alloy/SimpleTests/Restrictions.als',
5320 '../prob_examples/public_examples/Alloy/SimpleTests/EmptyAssert.als',
5321 '../prob_examples/public_examples/Alloy/SimpleTests/EmptyPred.als',
5322 %'../prob_examples/public_examples/Alloy/SimpleTests/TestUtilInteger.als',
5323 '../prob_examples/public_examples/Alloy/SimpleTests/natural_no_alias.als',
5324 '../prob_examples/public_examples/Alloy/SimpleTests/natural.als',
5325 '../prob_examples/public_examples/Alloy/SimpleTests/Arithmetic.als',
5326 '../prob_examples/public_examples/Alloy/SimpleTests/TestUtilBool.als',
5327 '../prob_examples/public_examples/Alloy/SimpleTests/BinaryDifferentlyTyped.als',
5328 '../prob_examples/public_examples/Alloy/SimpleTests/ambiguous_field_name.als',
5329 '../prob_examples/public_examples/Alloy/Puzzles/harry-potter.als',
5330 '../prob_examples/public_examples/Alloy/Puzzles/queens.als',
5331 '../prob_examples/public_examples/Alloy/Puzzles/queens_with_pred.als',
5332 '-strict', '-t', '-p', 'ALLOY_STRICT_INTEGERS', 'TRUE'
5333 ], 'Check Alloy translation').
5334 cli_testcase(1927,[alloy,cbc,cbc_tests],['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
5335 '../prob_examples/public_examples/Alloy/alloy_models/toys/grandpa.als',
5336 '../prob_examples/public_examples/Alloy/alloy_models/toys/grandpa.als',
5337 '-cbc_sequence', run0,
5338 '-expcterr', 'cbc_sequence_no_solution_found',
5339 '-strict'], 'Test Alloy model and *no* solution for run0').
5340 cli_testcase(1928,[alloy,cbc],['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
5341 '../prob_examples/public_examples/Alloy/SimpleTests/multiplicity_birthday_test.als',
5342 '-t', '-mc', 100, '-cc', 3, 3, % 3 nodes: root, setup_constants, init
5343 '-strict'], 'Test Alloy models have exactly one solution').
5344 cli_testcase(1929,[alloy,cbc,cbc_tests],['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
5345 '../prob_examples/public_examples/Alloy/laws/orderings.als',
5346 '-cbc_sequence', run0,
5347 '-strict'], 'Test Alloy model and solution for run0 found').
5348 cli_testcase(1930,[alloy,cbc,cbc_tests],['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
5349 '../prob_examples/public_examples/Alloy/alloy_models/systems/lists.als',
5350 '-cbc_sequence', run0,
5351 '-strict'], 'Test Alloy model and solution for run0 found').
5352 cli_testcase(1931,[b_test],['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
5353 '../prob_examples/public_examples/B/FeatureChecks/DEFINITIONS/VariableListAsDEFINITION.mch',
5354 '-init'], 'Try using DEFINITION as variable list').
5355 cli_testcase(1932,[private_source_not_available],['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
5356 '../private_examples/Thales/Hansen_CSV_Loop/CSV_Input.rmch',
5357 '-execute_all', '-animate_stats', '-p', 'CLPFD', 'TRUE'], 'Ensure complex set unification due to partial sequence skeleton is avoided').
5358 /* requires new parser: */
5359 cli_testcase(1933, [union,infinite], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
5360 '-p', 'MAXINT', 2147483647, '-p', 'MININT', -2147483647,
5361 '-evalt', 'r = /*@symbolic*/ UNION(x).(x:NATURAL|{x,x+100}) & 100:r',
5362 '-evalf', 'r = /*@symbolic*/ UNION(x).(x:NATURAL|{x,x+100}) & -100:r',
5363 '-evalt', 'r = /*@symbolic*/ UNION(x).(x:NATURAL|{x+1}) & 1:r & 0/:r',
5364 '-evalt', 'r = /*@symbolic*/ UNION(x).(x:NATURAL|{x+2,x+3}) & 2:r & 1/:r',
5365 '-evalt', 'r = /*@symbolic*/ {u|#x.(x : NATURAL & u : {x |-> x * x,x |-> x + x})} & 10|->20 : r',
5366 '-evalt', '!y.(y:10..12 => #x.(x : NATURAL & y|->2*y : {x |-> x * x,x |-> x + x}))',
5367 '-evalf', '!y.(y:10..12 => #x.(x : NATURAL & y|->3*y : {x |-> x * x,x |-> x + x}))',
5368 '-evalt', 'r = /*@symbolic*/ UNION(x).(x:NATURAL|{x|->x*x, x|->x+x}) & r[10..11]=x',
5369 '-evalt', 'r = /*@symbolic*/ UNION(x).(x:NATURAL|{x|->x*x, x|->x+x}) & r[10..11]={20,22,100,121}',
5370 '-evalt', '{u,v|u=10|->v & #x.(x : NATURAL & u : {x |-> x * x,x |-> x + x})} = {((10|->20)|->20),((10|->100)|->100)}'
5371 ], 'ensure symbolic treatment of UNION').
5372 cli_testcase(1934,[cbc],['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
5373 '../prob_examples/public_examples/B/Tester/TestProjection.mch',
5374 '-assertions'], 'Ensure projection onto static assertion filters out unrelated constant').
5375 cli_testcase(1935,[private_source_not_available],['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
5376 '../private_examples/Thales/Hansen_EnumerationProblem/Runner_EnumerationProblem.rmch',
5377 '-execute_all', '-animate_stats',
5378 '-p', 'CLPFD', 'FALSE', '-p', 'TIME_OUT', 1000,
5379 '-p', 'TRY_FIND_ABORT', 'TRUE', '-p', 'DATA_VALIDATION', 'TRUE',
5380 '-silent', '-noinv'], 'Ensure no time-out in COMP_CSVRecords').
5381 cli_testcase(1936,[private_source_not_available],['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
5382 '../private_examples/Thales/Hansen_EnumerationProblem/Runner_EnumerationProblem.rmch',
5383 '-execute_all', '-animate_stats',
5384 '-p', 'CLPFD', 'FALSE', '-p', 'TIME_OUT', 1000,
5385 '-p', 'TRY_FIND_ABORT', 'FALSE', '-p', 'DATA_VALIDATION', 'TRUE',
5386 '-silent', '-noinv'], 'Ensure no time-out in COMP_CSVRecords (TRY_FIND_ABORT=FALSE)').
5387 cli_testcase(1937, [b_test,pragmas], ['../prob_examples/public_examples/B/Pragmas/TestLabel.mch', '-pp', '../prob_examples/public_examples/B/Pragmas/TestLabel_pp.mch', '-strict'], 'Check that pretty printing label pragma works').
5388 cli_testcase(1938, [laws,strings,external], ['../prob_examples/public_examples/B/Laws/StringLiteralTests.mch', '-assertions', '-strict'], 'Some tests about the STRING literals').
5389 cli_testcase(1939, [union,infinite], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
5390 '-p', 'MAXINT', 127, '-p', 'MININT', -128,
5391 '-evalt', 'x = INTEGER \\ {1000} & !v.(v:x => v/=1000)',
5392 '-evalf', 'x = INTEGER \\ {1000} & !v.(v:x => v>2000)',
5393 '-evalt', 'x = INTEGER \\ {10} & x \\/ {11} = res & res=x'
5394 ], 'Test for not-member closures').
5395 cli_testcase(1940, [tickets,pragmas], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
5396 '-aa', 2, 0, 0, % check that label pragmas respected
5397 '-properties',
5398 '../prob_examples/public_examples/B/Tickets/Pragmas/LabelBoolPragmaDisappears.mch'
5399 ], 'Test label pragma respected by assertions').
5400 cli_testcase(1941, [refinement,b_test], ['-p', 'DOT_LEGEND', 'FALSE', '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
5401 '-p', 'DOT_FORMULA_TREE_HTML', 'FALSE',
5402 '-init',
5403 '-dot', invariant, '../prob_examples/public_examples/B/RefinementChecking/LinkingInvariants/M1_invariant.dot',
5404 '-dot', machine_hierarchy, '../prob_examples/public_examples/B/RefinementChecking/LinkingInvariants/M1_hierarchy.dot',
5405 '../prob_examples/public_examples/B/RefinementChecking/LinkingInvariants/M1.ref'
5406 ], 'Test one invariant copied from abstract machine').
5407 cli_testcase(1942, [error_checks,private], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
5408 '../prob_examples/examples/B/Satpathy/SystemOnChip/Router.mch', '-t'
5409 ], 'Check no bmachine_static_checks for disjunction in invariant').
5410 cli_testcase(1943, [b_test,external,regex], ['../prob_examples/public_examples/B/ExternalFunctions/TestLibraryRegexp.mch', '-assertions', '-force_no_silent'], 'Test Regular Expression Library').
5411 cli_testcase(1944,[eventb_test],[
5412 '../prob_examples/public_examples/EventBPrologPackages/TreeFileSysContPerm/FMCH02.eventb',
5413 '-t', '-p', 'DEFAULT_SETSIZE', 2
5414 ], 'Check Event-B model with complicated properties (and axiomatized transitive closure)').
5415 cli_testcase(1945,[private_source_not_available],['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
5416 '../private_examples/ClearSy/N_ITERa_avec_DV_sans_DV/rule_avec_DV.mch',
5417 '-execute_all', '-animate_stats',
5418 '-p', 'CLPFD', 'FALSE', '-p', 'TIME_OUT', 1000,
5419 '-p', 'TRY_FIND_ABORT', 'FALSE', '-p', 'DATA_VALIDATION', 'TRUE',
5420 % '-p', 'LIFT_EXISTS', 'TRUE', % should also work without this
5421 '-execute_expect_steps', 44,
5422 '-evalt', 'caval__rule__1__done=TRUE & caval__rule__1__ALL={({}|->TRUE)} & caval__rule__1__isKO=FALSE',
5423 '-evalt', 'caval__rule__2__done=TRUE & caval__rule__2__dataverified={} & caval__rule__2__isKO=FALSE',
5424 '-evalt', 'caval__rule__3__done=TRUE & caval__rule__3__dataverified={} & caval__rule__3__isKO=FALSE',
5425 '-evalt', 'caval__rule__4__done=TRUE & card(caval__rule__4__ALL)=3 & caval__rule__4__isKO=TRUE',
5426 '-evalt', 'caval__rule__5__done=TRUE & card(caval__rule__5__ALL)=5 & caval__rule__5__isKO=TRUE',
5427 '-evalt', 'caval__rule__6__done=TRUE & caval__rule__6__dataverified={} & caval__rule__6__isKO=TRUE',
5428 '-silent', '-noinv'], 'Ensure no problem with caval__rule__2__ALL set comprehension and lifting out of exists quantifier').
5429 cli_testcase(1946,[private_source_not_available],['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
5430 '../private_examples/ClearSy/N_ITERa_avec_DV_sans_DV/rule_avec_DV.mch',
5431 '-execute_all', '-animate_stats',
5432 '-p', 'CLPFD', 'FALSE', '-p', 'TIME_OUT', 1000,
5433 '-p', 'TRY_FIND_ABORT', 'FALSE', '-p', 'LIFT_EXISTS', 'TRUE',
5434 '-execute_expect_steps', 44,
5435 '-evalt', 'caval__rule__1__done=TRUE & caval__rule__1__ALL={({}|->TRUE)} & caval__rule__1__isKO=FALSE',
5436 '-evalt', 'caval__rule__2__done=TRUE & caval__rule__2__dataverified={} & caval__rule__2__isKO=FALSE',
5437 '-evalt', 'caval__rule__3__done=TRUE & caval__rule__3__dataverified={} & caval__rule__3__isKO=FALSE',
5438 '-evalt', 'caval__rule__4__done=TRUE & card(caval__rule__4__ALL)=3 & caval__rule__4__isKO=TRUE',
5439 '-evalt', 'caval__rule__5__done=TRUE & card(caval__rule__5__ALL)=5 & caval__rule__5__isKO=TRUE',
5440 '-evalt', 'caval__rule__6__done=TRUE & caval__rule__6__dataverified={} & caval__rule__6__isKO=TRUE',
5441 '-silent', '-noinv'], 'Ensure no problem with caval__rule__2__ALL set comprehension and lifting out of exists quantifier').
5442 cli_testcase(1947, [smt_solver_integration], [
5443 '../prob_examples/public_examples/B/Tickets/Z3/Aufgabe2.mch', '-init', %'-vv',
5444 '-evalt', ':z3-double-check x:liefert',
5445 '-evalt', ':z3-double-check x:bes',
5446 '-evalt', ':z3-double-check x|->a3:liefert',
5447 '-evalf', ':z3-double-check l2|->a3:liefert',
5448 '-evalt', ':z3-double-check x:liefert[{l1}]',
5449 '-evalt', ':z3-double-check x:liefert[{l1}] & k|->b : bes & x:b',
5450 '-evalf', ':z3-double-check x:liefert[{l1}] & k|->b : bes & x:b & k /= k2 & x /= a1 & k /= k3'
5451 ], 'some constraints that should be solved by z3; check ticket with ProB state').
5452 cli_testcase(1948, [infinite,tickets], [
5453 '../prob_examples/public_examples/B/Tickets/Hansen36_Lambda/TestBugly.mch', '-init',
5454 '-p', 'CLPFD', 'FALSE', '-p', 'TIME_OUT', 1000,
5455 '-p', 'TRY_FIND_ABORT', 'FALSE', '-p', 'TRACE_INFO', 'TRUE',
5456 '-mc', 100, '-nodead'
5457 ], 'check nested function calls cause no problem').
5458 cli_testcase(1949, [b_test], [
5459 '-evalt', '{x,res|IF x>2 THEN 22 ELSIF x<0 THEN 33 ELSE 44 END = res & x<3 & x>0} = {(1|->44),(2|->44)}'
5460 ], 'test ELSIF for expressions').
5461 cli_testcase(1950,[private_source_not_available],['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
5462 '../private_examples/ClearSy/Well_def_1.9.0_b5/Err/rule_SSO_SLOT_MSG_ID_SET_SSO/rule.mch',
5463 '-execute_all', '-animate_stats',
5464 '-p', 'CLPFD', 'FALSE', '-p', 'TIME_OUT', 1000,
5465 '-p', 'DATA_VALIDATION', 'TRUE',
5466 '-p', 'COMPRESSION', 'TRUE',
5467 '-execute_expect_steps', 6,
5468 '-evalt', 'caval__rule__4__done=TRUE & caval__rule__4__isKO=TRUE',
5469 '-ppf', '../private_examples/ClearSy/Well_def_1.9.0_b5/Err/rule_SSO_SLOT_MSG_ID_SET_SSO/rule_SSO_SLOT_bugly.mch',
5470 '-p', 'BUGLY', 'TRUE',
5471 '-silent'
5472 ], 'Ensure wd-problem solved').
5473 cli_testcase(1951,[wd,tickets,private,data_validation],['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
5474 '../prob_examples/examples/B/ClearSy/Tickets/Well_def_1.9.0_b5/rule_bugly.mch',
5475 '-execute_all', '-animate_stats',
5476 '-p', 'CLPFD', 'FALSE', '-p', 'TIME_OUT', 1000,
5477 '-p', 'DATA_VALIDATION', 'TRUE',
5478 '-p', 'COMPRESSION', 'TRUE',
5479 '-silent'], 'Ensure wd-problem solved (BUGLY version of test 1950)').
5480 cli_testcase(1952,[private_source_not_available],['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
5481 '../private_examples/ClearSy/ComparePv10Pv11/DebugPv10/rule_Test__RGP_71237__RI_091/rule.mch',
5482 '../private_examples/ClearSy/ComparePv10Pv11/DebugPv11/rule_Test__RGP_71237__RI_091/rule.mch',
5483 '-execute', 9, '-animate_stats', '-silent',
5484 '-p', 'CLPFD', 'FALSE', '-p', 'TIME_OUT', 1000,
5485 '-p', 'DATA_VALIDATION', 'TRUE',
5486 '-p', 'COMPRESSION', 'TRUE', '-p', 'MAXINT', 2147483647, '-p', 'MININT', -2147483647,
5487 '-silent'], 'Ensure in_domain delay solved').
5488 cli_testcase(1953,[b_test,operation_calls_in_expr],['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
5489 '../prob_examples/public_examples/B/NewSyntax/CallOperationInExprSimple.mch',
5490 '-p', 'ALLOW_OPERATION_CALLS_IN_EXPRESSIONS', 'TRUE',
5491 '-t', '-assertions',
5492 '-evalt', 'Double(33)=66',
5493 '-evalt', 'Double(Double(33))=132',
5494 '-evalf', 'Double(3)=3',
5495 '-evalt', 'Divisors(17)=2'
5496 ], 'Test calling operations in expressions').
5497 cli_testcase(1954,[b_test,operation_calls_in_expr],['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
5498 '../prob_examples/public_examples/B/NewSyntax/CallOperationInExpr_Compile.mch',
5499 '-p', 'ALLOW_OPERATION_CALLS_IN_EXPRESSIONS', 'TRUE',
5500 '-t'
5501 ], 'Test calling operations in expressions with closure compilation').
5502 cli_testcase(1955,[b_test],['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
5503 '../prob_examples/public_examples/B/Tester/LogXML/WD_Error.mch',
5504 '-execute_all', '-logxml', '../prob_examples/public_examples/B/Tester/LogXML/problog.xml',
5505 '-expcterr', well_definedness_error
5506 ], 'Test generation of locations in xml file').
5507 % file should contain start_line,end_line XML info; we cannot test with a diff, as time-stamp and prob version info is found in the logxml file !
5508 % xmllint --schema doc/logxml_xsd.xml ../prob_examples/public_examples/B/Tester/LogXML/problog.xml -noout
5509 cli_testcase(1956, [b_test,infinite,total_function], [
5510 '-evalf', '%(x,z).(x:NATURAL & z:NATURAL1|min({z,x,x/z,-x})) : (NATURAL*NATURAL1)-->NATURAL' % raises enum warning; but finds counter example
5511 ], 'Test symbolic treatment of total function').
5512 cli_testcase(1957,[private_source_not_available], % also covering operation_calls_in_expr
5513 ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
5514 '../private_examples/Thales/Hansen_Compile/Main_StringToIPV4.mch',
5515 '-execute', 4, '-animate_stats', '-silent', '-expcterr', deadlock,
5516 '-p', 'CLPFD', 'FALSE', '-p', 'MAXINT', 2147483647, '-p', 'MININT', -2147483647,
5517 '-silent'], 'Ensure compilation of operation_call_in_expr with op(.) identifiers in read info solved; contains while'). % ALLOW_OPERATION_CALLS_IN_EXPRESSIONS
5518 cli_testcase(1958, [b_test,cbc], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
5519 '-evalt', '{x|1..x <: {1,2,3,5} & x>1} = 2..3',
5520 '-evalt', 'card({x|1..x <: {1,2,3,5} & x>1}) = 2',
5521 '-evalt', '{ss | ss <: 0..0 & ss /= {} & ss=0..max(ss)} = {{0}}',
5522 '-evalt', '{ss | ss <: 0..2 & ss /= {} & ss=0..max(ss)} = {{0},{0,1},{0,1,2}}'
5523 %'-evalt', '{x,y|x..y <: {10,12,13,15} & y>x} = 12..13', % requires CHR
5524 ], 'Ensure improved treatment of interval subset').
5525 cli_testcase(1959, [b_test,cbc], [
5526 '-evalt', '/*@symbolic */ {z|z>3 & z mod 3 =0} <: {x|x>5 & x mod 3=0}',
5527 '-evalf', '/*@symbolic */ {z|z>3 & z mod 3 =0} <: {x|x>6 & x mod 3=0}',
5528 '-evalt', '/*@symbolic */ {z|z>3 & z mod 3 =0} <: {x|x>1}',
5529 '-evalf', '{z|z:seq(BOOL) & 1|->TRUE:z} <: {z|z:seq(BOOL) & 1|->FALSE:z}',
5530 '-evalt', '/*@symbolic */ {z,v|z:seq(BOOL) & 1|->TRUE:z & v>2} <: /*@symbolic */ {v,z|v:seq(BOOL) & 1|->TRUE:v & z>1}',
5531 '-evalf', '/*@symbolic */ {z,v|z:seq(BOOL) & 1|->TRUE:z & v>2} <: /*@symbolic */ {v,z|v:seq(BOOL) & 1|->TRUE:v & z>3}',
5532 '-evalt', '{z|z>3 & z mod 3 =0} <: NATURAL'
5533 ], 'Ensure improved symbolic treatment of subset').
5534 cli_testcase(1960,[b_test,operation_calls_in_expr],['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
5535 '../prob_examples/public_examples/B/NewSyntax/OperationWithAssert.mch',
5536 '-p', 'ALLOW_OPERATION_CALLS_IN_EXPRESSIONS', 'TRUE',
5537 '-assertions'
5538 ], 'Test calling operations with assertions inside expressions').
5539 cli_testcase(1961,[refinement],['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
5540 '../prob_examples/public_examples/B/RefinementChecking/AtelierB_EventB/Main1.ref',
5541 '-mc', 1000
5542 ], 'Check that abstract events not copied to refinement machine, as they are refined.').
5543 cli_testcase(1962,[alloy,cbc,cbc_tests],['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
5544 '../prob_examples/public_examples/Alloy/laws/SetLaws_Scope2.als',
5545 '-cbc_sequence', check0,
5546 '-expcterr', 'cbc_sequence_no_solution_found',
5547 '-strict'], 'Test Alloy laws and *no* solution for check0').
5548 cli_testcase(1963, [b_test,cruise,codespeed], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
5549 '../prob_examples/public_examples/B/Benchmarks/Cruise_finite1.mch', '-mc', '1400', '-bf',
5550 '-cc', '1361', '1379', % was 1360, but now we store transitions for uncovered operations
5551 '-strict', '-nodead', '-p', 'MAX_INITIALISATIONS', 5,
5552 '-p', 'SAFETY_MODEL_CHECK', 'TRUE'], 'Complete Model Check of Cruise Controller with SAFETY_MODEL_CHECK').
5553 cli_testcase(1964, [refinement], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
5554 '../prob_examples/public_examples/B/RefinementChecking/AtelierB_EventB/Main1_v2.ref',
5555 '../prob_examples/public_examples/B/RefinementChecking/AtelierB_EventB/Main2_v2.ref',
5556 '../prob_examples/public_examples/B/RefinementChecking/AtelierB_EventB/Main2_v3.ref',
5557 '-strict','-mc', '1000'], 'Check invariants copied correctly').
5558 cli_testcase(1965, [refinement], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
5559 '../prob_examples/public_examples/B/RefinementChecking/AtelierB_EventB/Main1_err.ref',
5560 '-expcterr', 'invariant_violation', '-strict',
5561 '-mc', '1000'], 'Check invariants copied correctly').
5562 cli_testcase(1966, [wd,exists,rulesdsl], [
5563 '../prob_examples/public_examples/B/Tickets/Hansen37_WD_Exists/WD_Exists.rmch',
5564 '-expcterr', well_definedness_error, '-expcterr', animate,
5565 '-animate', 3], 'Check WD error inside negated existential quantifier detected').
5566 cli_testcase(1967, [b_test,infinite,total_function,wd], [
5567 '-evalnwd', '%(x,z).(x:NATURAL & z:NATURAL|min({z,x,x/z,-x})) : (NATURAL*NATURAL)-->NATURAL', % raises enum warning; but finds counter example
5568 '-expcterr', well_definedness_error,
5569 '-opterr', eval_string_enum_warning
5570 ], 'Test wd error found due to division by 0').
5571 cli_testcase(1968, [b_test,infinite,memoize], ['../prob_examples/public_examples/B/FunctionalProgramming/MemoizationTests.mch', '-assertions'], 'Check function memoization works').
5572 cli_testcase(1969, [b_test,operation_calls_in_expr], ['../prob_examples/public_examples/B/NewSyntax/ExpressionsWithOperations/TopologyOpExpr.mch',
5573 '-p', 'ALLOW_OPERATION_CALLS_IN_EXPRESSIONS', 'TRUE',
5574 '-t', '-assertions'], 'Check local operations called in expressions').
5575 cli_testcase(1970, [laws,rel_fnc,wd,memoize], ['../prob_examples/public_examples/B/Laws/FunLawsWithLambdaMemo.mch',
5576 '-mc', '500', '-cs', '-nogoal', '-nodead', '-strict','-p', 'DOUBLE-EVALUATION', 'TRUE',
5577 '-p', 'MEMOIZE_FUNCTIONS', 'TRUE',
5578 '-expcterr', 'model_check_incomplete'], 'Test 458 with MEMOIZE_FUNCTIONS.').
5579 cli_testcase(1971, [b_test], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
5580 '-evalt_rc', '%x.(x:NATURAL|x) : NATURAL +-> NATURAL',
5581 '-evalt_rc', '%x.(x:NATURAL1|x) : INTEGER +-> NATURAL1',
5582 '-evalf_rc', '%x.(x:NATURAL|x) : NATURAL1 +-> NATURAL',
5583 '-evalf_rc', '%x.(x:NATURAL|x) : NATURAL +-> NATURAL1',
5584 '-evalt_rc', '%x.(x:NATURAL|x+1) : NATURAL +-> NATURAL',
5585 '-evalt_rc', '%x.(x:NATURAL|x+1) : NATURAL +-> NATURAL1',
5586 '-evalf_rc', '%x.(x:NATURAL|x-1) : NATURAL +-> NATURAL',
5587 '-evalt_rc', 'f=%x.(x:NATURAL1|x-1) & f: NATURAL1 +-> NATURAL',
5588 '-evalt_rc', 'f=%x.(x:NATURAL1|x-1) & f: NATURAL +-> NATURAL',
5589 '-evalt_rc', 'f=%x.(x:NATURAL1|x-1) & f: INTEGER +-> NATURAL',
5590 '-evalt_rc', '%(x,y).(x:NATURAL&y:NATURAL|x+y) : NATURAL*NATURAL +-> NATURAL',
5591 '-evalf_rc', '%(x,y).(x:NATURAL&y:NATURAL|x+y) : NATURAL*NATURAL +-> NATURAL1',
5592 '-evalt_rc', '%(x,y).(x:1..100 & y:1..100|x+y) : (1..100)*(1..100) +-> (2..200)',
5593 '-evalt_rc', '%(x,y).(x:1..100 & y:1..100|x+y) : (1..100)*(1..100) +-> (1..10000)',
5594 '-evalf_rc', '%(x,y).(x:1..100 & y:1..100|x+y) : (1..100)*(1..100) +-> (3..200)',
5595 '-evalt_rc', '%(x,y).(x:1..100 & y:1..100|x*y) : (1..100)*(1..100) +-> (1..10000)',
5596 '-evalf_rc', '%(x,y).(x:1..100 & y:1..100|x*y) : (1..100)*(1..100) +-> (2..10000)',
5597 '-evalf_rc', '%(x,y).(x:1..100 & y:1..101|x*y) : (1..100)*(1..101) +-> (1..10000)',
5598 '-evalt_rc', '%(x,y).(x:0..9999 & y:0..9999|(x*y) mod 10000) : (0..9999)*(0..9999) +-> (0..9999)',
5599 '-evalt_rc', '%(aa).(aa : INTEGER | [aa]) : INTEGER +-> seq(INTEGER)',
5600 %'-evalf_rc', '%(aa).(aa : INTEGER | [aa]) : INTEGER +-> seq(NATURAL)', % succeeds but has non-critical enum warning
5601 '-evalt_rc', '%(aa).(aa : NATURAL1 | [aa]) : NATURAL +-> seq(NATURAL1)'
5602 ], 'Check new symbolic partial function range detection').
5603 cli_testcase(1972, [tickets,sequences], [
5604 '../prob_examples/public_examples/B/Tickets/ReversePendingCoroutine/TestSuffixWithReverse.mch',
5605 '-mc', 100, '-nodead', '-assertions', '-cc', 5,4], 'Check no pending co-routine in reverse of sequence').
5606 cli_testcase(1973,[private_source_not_available],['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
5607 '../private_examples/ClearSy/2019_June/string_tail/rule_nok.mch',
5608 '-execute', 4, '-animate_stats', '-silent', '-expcterr', deadlock,
5609 '-execute_expect_steps', 3,
5610 '-evalt', 'caval__rule__1__done=TRUE',
5611 '-evalt', 'caval__rule__1__isKO=FALSE',
5612 '-silent'], 'Ensure pending co-routing in reverse of sequence solved').
5613 cli_testcase(1974,[private_source_not_available],['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
5614 '../private_examples/ClearSy/2019_June/performance/toto_ko.mch',
5615 '-execute', 4, '-animate_stats', '-expcterr', deadlock,
5616 '-execute_expect_steps', 3,
5617 '-evalt', 'caval__rule__5__done=TRUE',
5618 '-evalt', 'caval__rule__5__isKO=TRUE',
5619 '-evalt', 'caval__rule__5__ALL = {({(1|->2|->3|->4|->2)}|->FALSE),({(1|->2|->3|->4|->3)}|->FALSE)}',
5620 '-silent'], 'Ensure we do not wait for identifier in exists using used_ids_defined_by_equality optimisation').
5621 cli_testcase(1975, [b_test,exists], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE', '-version',
5622 '-evalt_rc', '{x | x=1 & #(OO,MM).(MM>x & OO:NATURAL1)} = {1}',
5623 '-evalt_rc', '{x | x>1 & x<10 & #(OO,MM).(MM>x & OO:NATURAL1)} = 2..9',
5624 '-evalt_rc', '{x | x=1 & #(OO,MM,VV).(MM>x & OO:NATURAL1 & VV>x)} = {1}',
5625 '-evalt_rc', '{x | x:10..12 & #(OO,MM,VV).(MM>x & OO:NATURAL1 & MM<12 & VV>x)} = {10}'
5626 ], 'Partitioning of exists works').
5627 cli_testcase(1976, [laws,rel_fnc,data_validation], ['../prob_examples/public_examples/B/Laws/ExplicitComputations.mch', '-t', '-mc', '100000', '-nodead', '-cs', '-strict',
5628 '-p', 'CLPFD', 'TRUE', % currently fails with FALSE !
5629 '-p', 'TIME_OUT', '7000',
5630 '-p', 'DATA_VALIDATION', 'TRUE'], 'Test 292 in DATA_VALIDATION mode.').
5631 cli_testcase(1977,[private_source_not_available],[
5632 '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE', % Note: generated virtual timeout, no longer does after override does not try to expand symbolic closures anymore
5633 '../private_examples/ClearSy/2019_Aug/call_residue/rule_erreur.mch',
5634 '-p', 'RAISE_ABORT_IMMEDIATELY', 'TRUE', % FALSE was necessary as of 3974491412f39ab8b6beea3d2a7c47e7c56315ae
5635 '-execute_all', '-animate_stats', '-noinv',
5636 '-execute_expect_steps', 23,
5637 '-evalt', 'caval__ic___DFCT___COMPUTED__CLA_01218__Poste_enclenchement__done=TRUE',
5638 '-evalt', 'caval__ic___DFCT___COMPUTED__ATR_42912__Numero_poste_organe__done=TRUE',
5639 '-silent'], 'Ensure we have no call_residue internal error').
5640 cli_testcase(1978, [b_test], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE', '-p', 'OPTIMIZE_AST', 'FALSE',
5641 '-evalf_rc', '2=3 & 1=1 <=> 4=5 & 2=2',
5642 '-evalt_rc', '2**3**2 = 512',
5643 '-evalt_rc', '10-5+4-3=6',
5644 '-evalt_rc', '8 / 2 * 4 = 16',
5645 '-evalt_rc', '8 / 4 / 2 = 1',
5646 '-evalf_rc', '!x.(x=100 & x>50 => x>100)',
5647 '-evalt_rc', '#x.(not(x:BOOL --> {1,2}))'
5648 ], 'Test associativity of certain B operators').
5649 cli_testcase(1979, [error_checks,wd,sequences], [
5650 '-evalf', 'x:perm(NATURAL)',
5651 '-evalt', 'perm(NATURAL) = {}'
5652 ], 'Test that x:perm(S) is false for infinite set S (perm(S) is empty)').
5653 cli_testcase(1980,[private_source_not_available],[
5654 '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
5655 '../private_examples/ClearSy/2019_Sep/rule_dummy/rule_dummy_acc.mch',
5656 '-execute_all', '-animate_stats', '-noinv',
5657 '-execute_expect_steps', 3,
5658 '-evalt', 'caval__rule__1__done=TRUE',
5659 '-evalt', 'card(caval__rule__1__ALL)=4299'
5660 ], 'Ensure that compilation of set_extension works properly').
5661 cli_testcase(1981,[private_source_not_available,regex],[
5662 '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
5663 '../private_examples/ClearSy/2019_Sep/non_ground_closure/rule.mch',
5664 '-execute_all', '-animate_stats', '-noinv',
5665 '-execute_expect_steps', 13,
5666 '-evalt', 'caval__rule__1__done=TRUE',
5667 '-evalt', 'caval__rule__10__done=TRUE',
5668 '-evalt', 'card(caval__rule__10__ALL)=254',
5669 '-evalt', 'caval__rule__11__done=TRUE',
5670 '-evalt', 'card(caval__rule__11__ALL)=254'
5671 ], 'Ensure that no internal error due to non-ground closure').
5672 cli_testcase(1982, [eventb_test,private], ['../prob_examples/examples/EventBPrologPackages/Abrial/ess_simple/m0_mch.eventb',
5673 '-expcterr', 'virtual_time_out', '-t'],
5674 'Test trace replay and execute by predicate for Event-B.').
5675 cli_testcase(1983,[private,regex],[
5676 '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
5677 '../prob_examples/examples/B/ClearSy/Caval/2019_Sep/memo_error/rule.mch',
5678 '-execute', 5, '-animate_stats', '-noinv',
5679 '-evalt', 'caval__rule__1__done=TRUE',
5680 '-evalt', 'caval__rule__2__done=TRUE',
5681 '-evalt', 'caval__rule__3__done=TRUE',
5682 '-evalt', 'caval__rule__3__ALL={({}|->{428}|->{}|->TRUE),({}|->{447}|->{}|->TRUE),({}|->{464}|->{}|->TRUE),({}|->{483}|->{}|->TRUE),({}|->{503}|->{}|->TRUE),({}|->{521}|->{}|->TRUE),({}|->{540}|->{}|->TRUE),({}|->{560}|->{}|->TRUE)}',
5683 '-evalt', 'caval__rule__4__done=FALSE'
5684 ], 'Ensure memoization expansion problem solved').
5685 cli_testcase(1984,[private_source_not_available],[
5686 '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE', '-p', 'RAISE_ABORT_IMMEDIATELY', 'TRUE',
5687 '../private_examples/ClearSy/2019_Sep/wd_issue/rule.mch',
5688 '-execute_all', '-animate_stats',
5689 '-execute_expect_steps', 3,
5690 '-evalt', 'caval__rule__1__done=TRUE',
5691 '-evalt', 'caval__rule__1__ALL={({("WholeGuideway"|->"struct(segment: [struct(segment: struct(edge: 1, offset0: 0.00, offset1: 999.99), direction: UP), struct(segment: struct(edge: 2, offset0: 0.00, offset1: 199.99), direction: UP)])")}|->FALSE),({("WholeGuideway"|->"struct(segment: [struct(segment: struct(edge: 2, offset0: 0.00, offset1: 199.99), direction: DOWN), struct(segment: struct(edge: 1, offset0: 0.00, offset1: 999.99), direction: DOWN)])")}|->FALSE),({("WholeGuideway"|->"struct(segment: [struct(segment: struct(edge: 5, offset0: 0.00, offset1: 199.99), direction: DOWN)])")}|->FALSE),({("WholeGuideway"|->"struct(segment: [struct(segment: struct(edge: 5, offset0: 0.00, offset1: 199.99), direction: UP)])")}|->FALSE)}'
5692 ], 'Ensure no spurious wd error due to enumeration of assertion_expression for function application').
5693 cli_testcase(1985, [b_test], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE', '-p', 'OPTIMIZE_AST', 'FALSE',
5694 '-evalt_rc', 'hl : 1..10 +-> 0..11 & (DL=TRUE => (2..4) * {11} <: hl) & (6 |-> hl(4) : hl) & DL=TRUE',
5695 '-evalt_rc', 'hl : 1..10 +-> 0..11 & (DL=TRUE => (2..4) * {11} <: hl) & (6 |-> hl(4) : hl)',
5696 '-evalt_rc', 'hl : 1..10 +-> 0..11 & (DL=TRUE => (2..4) * {11} <: hl) & (6 |-> hl(4) : hl) & (DL=FALSE => (3..5) * {11} <: hl) & (6 |-> hl(4) : hl)',
5697 '-evalt_rc', 'hl : 1..12 +-> 0..300 & (DL=TRUE => (2..4) * {100} <: hl) & (6 |-> hl(4) : hl) & (DL=FALSE => (3..5) * {11} <: hl) & (6 |-> hl(4) : hl)'
5698 ], 'Ensure reified subset test instantiates solution').
5699 cli_testcase(1986, [b_test,cbc], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
5700 '-evalt_rc', '{b,x,y|({x|->y}: 1..2 +-> 3..4 <=> b=TRUE) & x:0..1 & y:2..3} = {(FALSE|->0|->2),(FALSE|->0|->3),(FALSE|->1|->2),(TRUE|->1|->3)}',
5701 '-evalt_rc', '{b,x,y|({x|->y,x+1|->y+1}: 1..2 --> 3..4 <=> b=TRUE) & x:0..1 & y:2..3} = {(FALSE|->0|->2),(FALSE|->0|->3),(FALSE|->1|->2),(TRUE|->1|->3)}',
5702 '-evalt_rc', '{b,x,y|({x|->y}: 1..2 +-> 3..4 <=> b=TRUE) & x:0..1 & y:2..3} = {(FALSE|->0|->2),(FALSE|->0|->3),(FALSE|->1|->2),(TRUE|->1|->3)}',
5703 '-evalt_rc', '{b,x,y|({x|->y}: 1..2 +-> 3..4 <=> b=TRUE) & x:0..1 & y:2..3} = {(FALSE|->0|->2),(FALSE|->0|->3),(FALSE|->1|->2),(TRUE|->1|->3)}',
5704 '-evalt_rc', '{b,x,y|({x|->y}: 1..3 +-> 3..4 <=> b=TRUE) & x:0..1 & y:2..3} = {(FALSE|->0|->2),(FALSE|->0|->3),(FALSE|->1|->2),(TRUE|->1|->3)}',
5705 '-evalt_rc', '{b,x,y|({x|->y}: 1..3 --> 3..4 <=> b=TRUE) & x:0..1 & y:2..3} = {(FALSE|->0|->2),(FALSE|->0|->3),(FALSE|->1|->2),(FALSE|->1|->3)}'
5706 ], 'Ensure reification of partial_function works').
5707 cli_testcase(1987, [alloy,cbc_tests], ['../prob_examples/public_examples/Alloy/SimpleTests/sequence_tests.als', '-cbc_sequence', 'run0;run1;run2'], 'Test translation of sequences from Alloy to B.').
5708 cli_testcase(1988, [b_test,external], ['../prob_examples/public_examples/B/ExternalFunctions/TestDoNotEnumerate.mch', '-t', '-assertions'], 'Test DO_NOT_ENUMERATE external function works.').
5709 cli_testcase(1989, [b_test], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE', '-p', 'OPTIMIZE_AST', 'FALSE',
5710 '-evalt_rc', ' f = {1|->2,2|->x} & f /: 1..2 -->> 2..3 & x :2..3',
5711 '-evalt_rc', '{x| #f.(f = {1|->2,2|->x} & f /: 1..2 -->> 2..3) & x :2..3} = {2}',
5712 '-evalt_rc', ' f = {1|->2,x|->x} & f /: 1..2 -->> 2..3 & x :2..4',
5713 '-evalt_rc', ' {x|#f.(f = {1|->2,x|->x} & f /: 1..2 -->> 2..3) & x :2..4} = 2..4',
5714 '-evalt_rc', ' {x|#f.(f = {1|->2,x|->x+1} & f /: 1..2 -->> 2..3) & x :2..4} = 3..4',
5715 '-evalt_rc', ' {x|#f.(f = {1|->2,x|->x+1} & f /: 1..2 -->> 2..4) & x :2..4} = 2..4',
5716 '-evalt_rc', ' f = {1|->2,2|->x} & f /: 1..2 >-> 2..4 & x :2..3',
5717 '-evalt_rc', ' {x|#f.(f = {1|->2,2|->x} & f /: 1..2 >-> 2..4) & x :2..3} = {2}',
5718 '-evalt_rc', ' {x|#f.(f = {1|->3,2|->x} & f /: 1..2 >-> 2..4) & x :2..5} = {3,5}'
5719 ], 'Ensure reified total_function test for not total surjection and injection works').
5720 cli_testcase(1990, [strings,external], [
5721 '-evalt_rc', 'size("abc")=3',
5722 '-evalt_rc', 'conc(["a","b","c"])= "abc"',
5723 '-evalt_rc', 'conc(["a","b","c"])= "a"^"b"^"c"',
5724 '-evalt_rc', 'size(conc(["a","b","c"]))= 3',
5725 '-evalt_rc', 'size(conc([ [1],[2],[3]]))= size(conc(["a","b","c"]))',
5726 '-evalt_rc', 'conc([x,".",y]) = "file.txt"',
5727 '-evalt_rc', '{x,y|conc([x,".",y]) = "file.txt"} = {("file","txt")}'
5728 ], 'Test conc and size can be applied to STRING literals').
5729 cli_testcase(1991, [b_test,error_checks],
5730 ['../prob_examples/public_examples/B/ErrorMachines/InconsistentPROPERTIES.mch',
5731 '-p', 'ALLOW_INCOMPLETE_SETUP_CONSTANTS', 'FALSE',
5732 '-execute_all', '-expcterr', 'setup_constants_inconsistent'], 'Test inconsistent PROPERTIES detected in execute.').
5733 cli_testcase(1992, [b_test,error_checks],
5734 ['../prob_examples/public_examples/B/ErrorMachines/InconsistentPROPERTIES.mch',
5735 '-p', 'ALLOW_INCOMPLETE_SETUP_CONSTANTS', 'TRUE',
5736 '-execute_all', '-expcterr', 'setup_constants_inconsistent'], 'Test inconsistent PROPERTIES detected in execute with ALLOW_INCOMPLETE_SETUP_CONSTANTS.').
5737 cli_testcase(1993,[alloy],[
5738 '../prob_examples/public_examples/Alloy/SimpleTests/TestUtilInteger.als',
5739 '-strict', '-t', '-p', 'ALLOY_STRICT_INTEGERS', 'FALSE'
5740 ], 'Check Alloy translation without strict integers').
5741 cli_testcase(1994, [cbc,smt,chr], [
5742 '../prob_examples/public_examples/Eval/smtlib_trans_for_z3/z3_pow.smt2',
5743 '../prob_examples/public_examples/Eval/smtlib_trans_for_z3/z3_knights_knaves.smt2',
5744 '-p', 'SMTLIB_BOOL_ARRAYS_TO_SETS', 'TRUE',
5745 '-p', 'SMTLIB_PREPROCESS', 'TRUE',
5746 '-p', 'CHR', 'TRUE', '-p', 'SMT', 'TRUE'], 'Test SMT interface and solving').
5747 cli_testcase(1995, [b_test], [
5748 '-p', 'DATA_VALIDATION', 'TRUE',
5749 '-evalt_rc', '([1,2] ; %x.(x:NATURAL|x+2) ; %y.(y:NATURAL|bool(y>3)) ; {TRUE|->"true", FALSE |-> "false"})(2) = "true"',
5750 '-evalt_rc', '([1,2] ; %x.(x:NATURAL|x+2) ; (%y.(y:NATURAL|bool(y>3)) ; {TRUE|->"true", FALSE |-> "false"}))(2) = "true"',
5751 '-evalt_rc', '([1,2] ; %x.(x:NATURAL|x+2) ; %y.(y:NATURAL|bool(y>3)) ; {TRUE|->"true", FALSE |-> "false"})(1) = "false"',
5752 '-evalt_rc', ' ([1,2] ; %x.(x:NATURAL|x+2) ; %y.(y:NATURAL|bool(y>3)))(2)=TRUE',
5753 '-evalt_rc', '([1,2,3] ; %x.(x:NATURAL|x+2) ; %y.(y:NATURAL|y*2))(2) = 8'
5754 ], 'Test relational composition ast cleanup rewrites').
5755 cli_testcase(1996, [laws,strings,external], ['stdlib/AssertionsForLibraries.mch', '-assertions', '-strict'], 'Assertions for external functions'). % for LibraryMath, LibraryStrings
5756
5757 cli_testcase(1997, [private,data_validation], ['../prob_examples/examples/B/Alstom/CompilatonProject/Regles/Rule_DB_Route_0001ori.mch', '-animate_all', '-strict', '-cc', 97, 96, '-p', 'TIME_OUT', 28000, '-p', 'CLPFD', 'FALSE', '-p', 'MAXINT', 2147483647, '-p', 'MININT', -2147483647, '-his', '../prob_examples/examples/B/Alstom/CompilatonProject/Regles/Rule_DB_Route_0001ori.his',
5758 '-p', 'DATA_VALIDATION', 'TRUE'], 'Rule Test 1 of Alstom compilation project (test 981) with DATA_VALIDATION').
5759 cli_testcase(1998, [private,data_validation,siemens,closure1], ['../prob_examples/examples/B/Siemens/CBTC_Sol_Line4_SaoPaulo/pas_as_env_inv_cv_sui_v2.mch','-strict',
5760 '-p','CLPFD', 'TRUE',
5761 '-p', 'DATA_VALIDATION', 'TRUE',
5762 '-aa', 61, 2, 0, % was '-aa', 62, 1, 0, for pas_as_env_inv_cv_sui.mch with prior closure(.) definition
5763 '-p', 'MAX_OPERATIONS', 0, '-p', 'MAXINT', 2147483647, '-p', 'TIME_OUT', 25000, '-p', 'WARN_IF_DEFINITION_HIDES_VARIABLE', 'FALSE','-p', 'EXPAND_FORALL_UPTO', 0], 'Siemens Data Validation Test 799 with DATA_VALIDATION.').
5764 cli_testcase(1999, [private,data_validation,siemens,closure1], ['../prob_examples/examples/B/Siemens/CBTC_Sol_Line4_SaoPaulo/pas_as_env_inv_cv_sui_v2.mch','-strict',
5765 '-p','CLPFD', 'FALSE',
5766 '-p', 'DATA_VALIDATION', 'TRUE',
5767 '-aa', 61, 2, 0, % was '-aa', 62, 1, 0, for pas_as_env_inv_cv_sui.mch with prior closure(.) definition
5768 '-p', 'MAX_OPERATIONS', 0, '-p', 'MAXINT', 2147483647, '-p', 'TIME_OUT', 25000, '-p', 'WARN_IF_DEFINITION_HIDES_VARIABLE', 'FALSE','-p', 'EXPAND_FORALL_UPTO', 0], 'Siemens Data Validation Test 799 with DATA_VALIDATION and CLPFD FALSE.').
5769 cli_testcase(2000, [private,data_validation], ['../prob_examples/examples/B/Systerel/C578/2013/machines_24092013/07_001.mch',
5770 '-init' ,'-assertions', '-p', 'SYMBOLIC', 'TRUE', '-p', 'MEMO', 'TRUE', '-p', 'TIME_OUT', 9500,
5771 '-p', 'DATA_VALIDATION', 'TRUE',
5772 '-p', 'ENUMERATE_INFINITE_TYPES', 'FALSE', '-p', 'EXPAND_FORALL_UPTO', 0 ], 'Test 1161/1890 with DATA_VALIDATION').
5773 cli_testcase(2001, [b_test,hash], [
5774 '../prob_examples/public_examples/B/Benchmarks/Cruise_finite1.mch',
5775 '-machine_statistics', '-machine_files',
5776 '-machine_hash',
5777 '-machine_hash_check', '18cb322231c1f57fbdb2c535f00910ecb1efeee9',
5778 % before adding hygienic_def infos ed7d35c52140690e56423762063b8d71b59042d7',
5779 % before adding read_output_positions info 'fc7a46352bd24dbbf8120aef128a2e4dd6f2a1eb',
5780 % before extending raw_operator/list_operator for def. position '712fcdfdbc7482738bd9a616ced01c9b457e77ed',
5781 % before improved position info for operation names, etc. (parser 2.13.5): '5f2171aad61098a8bff85cc09ea09f9ad8b72c8a',
5782 % before avoiding duplicate removed_typing: 'db72de00b9638c148db966df68d234226261418e',
5783 % before avoiding duplicate nodeid entries in info field for conjunct/1: 'ff47205b5011f1e35f75002b2d2fc115d3d9aff1',
5784 % before flat conjunct term format (parser 2.9.31): 'aab862683ad0396cce6178d6a3fe024be7504866',
5785 % before new parser pos infos: '749253625ce2e799e722ab57631d67859e7f0774',
5786 % before removing if_elsif position infos: '5159c4e2368c5be7b393a588434b86dc8588fedb',
5787 % before removing nodeid(none): '9644995ace8f8f24e2ac48d026503b1e4ed4520c', 3/3/2021
5788 % before fixing computation of reads info for SELECT: '0612a27195f445d314bdd5f7cc8de5ef91c91577',
5789 % before adding meta about header positions: '841add099ffe2d4c2f049649586f0c4013417af0',
5790 '-strict'], 'Test machine information commands').
5791 cli_testcase(2002,[private_source_not_available],[
5792 '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE', '-p', 'RAISE_ABORT_IMMEDIATELY', 'TRUE',
5793 '-p', 'DATA_VALIDATION', 'TRUE',
5794 '../private_examples/ClearSy/2020/01_Jan/regressions2/rule_Regle_Transverse_Variable_Q_DIR/rule.mch',
5795 '-execute_all', '-silent',
5796 '-execute_expect_steps', 6,
5797 '-evalt', 'caval__rule__1__done=TRUE & caval__rule__2__done=TRUE & caval__rule__3__done=TRUE & caval__rule__4__done=TRUE',
5798 '-evalt', 'card(caval__rule__1__ALL) = 1187 & card(caval__rule__4__ALL) = 180'
5799 ], 'Ensure useless existentially quantified variable (value) does not perturb enumeration').
5800 cli_testcase(2003,[private_source_not_available],[
5801 '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE', '-p', 'RAISE_ABORT_IMMEDIATELY', 'TRUE',
5802 '-p', 'DATA_VALIDATION', 'TRUE',
5803 '../private_examples/ClearSy/2020/01_Jan/ticket_record_typing/ruleERR_missingdata.mch',
5804 '-execute_all',
5805 '-execute_expect_steps', 3, '-silent',
5806 '-evalt', 'caval__rule__1__done=TRUE',
5807 '-evalt', 'caval__rule__1__ALL={({("FINAL_GEIF__id1"|->1|->"eq11"|->"eq11"|->1|->"aa")}|->FALSE),({("FINAL_GEIF__id1"|->1|->"eq21"|->"eq21"|->1|->"aa")}|->FALSE),({("FINAL_GEIF__id1"|->2|->"A_equ2__tst2"|->"A_equ2__tst2"|->2|->"aa")}|->FALSE),({("FINAL_GEIF__id2"|->3|->"A_equ2__tst1"|->"A_equ2__tst1"|->3|->"aa")}|->FALSE),({("FINAL_GEIF__id2"|->4|->"A_equ2__tst2"|->"A_equ2__tst1"|->4|->"aa")}|->FALSE)}'
5808 ], 'Ensure problem with type checker and wrongly sorted record fields solved').
5809 cli_testcase(2004,[private_source_not_available],[
5810 '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE', '-p', 'RAISE_ABORT_IMMEDIATELY', 'TRUE',
5811 '-p', 'DATA_VALIDATION', 'TRUE',
5812 '../private_examples/ClearSy/2020/01_Jan/ticket_record_typing/ruleOK_noExpectedName.mch',
5813 '-execute_all', '-execute_expect_steps', 3,
5814 '-silent',
5815 '-evalt', 'caval__rule__1__done=TRUE',
5816 '-evalt', 'caval__rule__1__ALL={({("FINAL_GEIF__id1"|->1|->"eq11"|->1|->"{1,2,3,4}")}|->FALSE),({("FINAL_GEIF__id1"|->1|->"eq21"|->1|->"{1,2,3,4}")}|->FALSE),({("FINAL_GEIF__id1"|->2|->"A_equ2__tst2"|->2|->"{1,2,3,4}")}|->FALSE),({("FINAL_GEIF__id2"|->3|->"A_equ2__tst1"|->3|->"{1,2,3,4}")}|->FALSE),({("FINAL_GEIF__id2"|->4|->"A_equ2__tst2"|->4|->"{1,2,3,4}")}|->FALSE)} '
5817 ], 'Variation of test 2003 with file which did not exhibit initial problem').
5818 cli_testcase(2005,[tickets,records],[
5819 '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
5820 '../prob_examples/public_examples/B/Tester/RecordInDefinitions.mch',
5821 '-mc', '10', '-assertions'
5822 ], 'Ensure problem with type checker and wrongly sorted record fields solved').
5823 cli_testcase(2006,[tickets],[
5824 '../prob_examples/public_examples/B/Tickets/Vu_Inclusion/BError_1.mch',
5825 '-init'
5826 ], 'Check no variable clash in machine inclusion').
5827 cli_testcase(2007,[private_source_not_available],[
5828 '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE', '-p', 'RAISE_ABORT_IMMEDIATELY', 'TRUE',
5829 '-p', 'DATA_VALIDATION', 'TRUE',
5830 '../private_examples/ClearSy/2020/01_Jan/memory/Debug__2486__INF/rule_OPS_SDS_2486/rule.mch',
5831 '../private_examples/ClearSy/2020/01_Jan/memory/Debug__2486__TO_STRING/rule_OPS_SDS_2486/rule.mch',
5832 '-execute_all', '-silent',
5833 '-evalt', 'caval__rule__1__done=TRUE & caval__rule__2__done=TRUE & caval__rule__3__done=TRUE'
5834 ], 'Test infinite loop in instantiated_enough for filter_cannot_match in b_compiler solved').
5835 cli_testcase(2008, [cbc,wd,sequences,strings], ['-p', 'STRING_AS_SEQUENCE', 'TRUE',
5836 '-evalt', 'rev("ab")="ba"',
5837 '-evalt', '{"abc","aba","a",""} = a & {x|x:a & x=rev(x)} = {"","a","aba"}',
5838 '-evalt', 'rev("a" ^ "b" ^ "c") = "cba"',
5839 '-evalt', 'rev(conc(["a" , "b" , "c"])) = "cba"'
5840 ], 'Check rev operator works on strings').
5841 cli_testcase(2009, [b_test,card,sequences], ['-p', 'CLPFD', 'TRUE',
5842 '-evalt', '/*@symbolic */ {x|x:seq(0..1) & card(x)>5} /= /*@symbolic */ {x|x:seq(0..1) & card(x)>5 & card(x) /= 10}',
5843 '-evalt', '/*@symbolic */ {x|x:seq(0..1) & card(x)>5} /= /*@symbolic */ {x|x:seq(0..1) & card(x)>6}',
5844 '-evalt', '/*@symbolic */ {x|x:seq(0..2) & card(x)>5} /= /*@symbolic */ {x|x:seq(0..1) & card(x)>5}',
5845 '-evalt', '/*@symbolic */ {x|x:seq(0..1) & card(x)>5} /= /*@symbolic */ {x|x:seq(0..2) & card(x)>5}',
5846 '-evalf', '/*@symbolic */ {x|x:seq(0..2) & card(x)>5} /= /*@symbolic */ {x|x:seq(0..2) & card(x)>5}',
5847 '-evalt', 'z : seq(0 .. 2) & card(z) > 5 & not ( z : seq(0 .. 1) & card(z) > 5)',
5848 '-evalf', '!z.(z :seq(INTEGER) => (z : /*@symbolic*/ {x|x : seq((0 .. 1)) & card(x) > 5}) <=> (z : /*@symbolic*/ {x|x : seq((0 .. 2)) & card(x) > 5}))'
5849 %'-evalf', '!z.(z : POW(INTEGER * INTEGER) => (z : /*@symbolic*/ {x|x : seq((0 .. 1)) & card(x) > 5}) <=> (z : /*@symbolic*/ {x|x : seq((0 .. 2)) & card(x) > 5}))' % requires to infer seq type from RHS of forall with <=>
5850 ],'Check symbolic treatment works'). % also works without /*@symbolic */
5851 % skipped on 3.3.2026: btypechecker no longer infers seq(.) type, leading to failure for get_identity_as_equivalence
5852 % unskipped on 4.3.2026 after adding infer_seq_type to create_forall and comprehension_sets
5853 cli_testcase(2010,[cbc],[
5854 '../prob_examples/public_examples/B/Mathematical/DominatingSets/TestSolverStrength_DomBV.mch',
5855 '-init', '-p', 'TIME_OUT', 7500 % Linux Gitlab runners seem considerably slower than MacBook here
5856 ], 'Check SOLVER_STRENGTH used for reification').
5857 cli_testcase(2011, [cbc,tickets], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
5858 '-evalt', '{Knights,Knaves| Knights \\/ Knaves = All & Knights /\\ Knaves = {} & (1:Knights <=> (2:Knaves or 3:Knaves)) & (2:Knights <=> 1:Knights)}=Res & All=1..3 & Res = {({1,2}|->{3})}',
5859 '-evalt', 'Knights \\/ Knaves = All & Knights /\\ Knaves = {} & (1:Knights <=> (2:Knaves or 3:Knaves)) & (2:Knights <=> 1:Knights)',
5860 '-evalt', '{ck,Knights,Knaves| ck=card(Knights) & Knights \\/ Knaves = All & Knights /\\ Knaves = {} & (1:Knights <=> (2:Knaves or 3:Knaves)) & (2:Knights <=> 1:Knights)}=Res & All=1..3 & Res = {(2|->{1,2}|->{3})}'
5861 ], 'Test would produce set lists with repeated entries').
5862 cli_testcase(2012,[cbc],[
5863 '../prob_examples/public_examples/B/PerformanceTests/Generated/Assertions/GenAssertions1000.mch',
5864 '../prob_examples/public_examples/B/PerformanceTests/Generated/Assertions/GenPowAssertions1000.mch',
5865 '-p', 'DOUBLE_EVALUATION', 'TRUE',
5866 '-init', '-assertions'
5867 ], 'Check generated assertions all solvable').
5868 cli_testcase(2013,[cbc],[
5869 '../prob_examples/public_examples/B/PerformanceTests/SAT_Tests/ReificationCompTests.mch',
5870 '-t'
5871 ], 'Check reification with function applications work').
5872 cli_testcase(2014, [private,data_validation,pragmas], ['../prob_examples/examples/B/Systerel/C578/2013/machines_06092013/T_032_002_pragmas.mch',
5873 '-init' ,'-aa', 0,1,0, '-p', 'SYMBOLIC', 'FALSE', '-p', 'TIME_OUT', 7500, '-p', 'CLPFD', 'TRUE',
5874 '-p', 'ENUMERATE_INFINITE_TYPES', 'FALSE', '-p', 'EXPAND_FORALL_UPTO', 0 ], 'Test 1146 with SYMBOLIC FALSE').
5875 cli_testcase(2015,[private_source_not_available],[ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
5876 '../private_examples/ClearSy/2020/02_Feb/well-def2/rule_OK.mch',
5877 '-execute_all', '-silent',
5878 '-evalt', 'caval__rule__1__done=TRUE & caval__rule__2__done=TRUE & caval__rule__3__done=TRUE & caval__rule__4__done=TRUE',
5879 '-evalt', 'caval__rule__4__ALL = {({}|->36|->TRUE),({}|->114|->TRUE),({("DVP_OK_paquet_commutable.xls"|->"MSG_P_SI11_MA_SI11-SI21-S"|->"P_SI11_E1"|->444)}|->132|->FALSE)}'
5880 ], 'Test idle waitflag not variable issue in exists solved').
5881 cli_testcase(2016, [codespeed], ['-version', '-cpp-version'], 'Just check startup time').
5882 cli_testcase(2017,[wd],[
5883 '../prob_examples/public_examples/EventBPrologPackages/Tests/testPowerWD_ctx.eventb',
5884 '-init', '-expcterr', well_definedness_error, '-expcterr', setup_constants_fails,
5885 '-opterr', 'setup_constants_unknown' %% ?? or unknown ???
5886 ], 'Test WD error for power_of with negative base found').
5887 cli_testcase(2018,[wd,wd_prover],[
5888 '-evalt', ':wd x = 10/2',
5889 '-evalf', ':wd x = 10/0',
5890 '-evalt', ':wd a>0 & x>0 & x:1..10 & f:1..10-->INTEGER & f(x)=2 & x>1',
5891 '-evalt', ':wd z:2..8 & f=%x.(x:2..10|x) & y=f(z)',
5892 '-evalt', ':wd x:2..4 & f=%x.(x:1..8|x) & r=f(x)',
5893 '-evalt', ':wd %x.(x:2..8 | %x.(x:2..8|10/3)(x)) = x',
5894 '-evalt', ':wd %x.(x:2..8 | %x.(x:2..8|10/x)(x)) = x',
5895 '-evalt', ':wd x:NATURAL1 & y:NATURAL1 & x mod y = x/y',
5896 '-evalt', ':wd x:NAT1 & y:1..MAXINT & x mod y = x/y',
5897 '-evalt', ':wd s:perm(1..10) & f=s(1)',
5898 '-evalf', ':wd s:perm(1..10) & f=s(0)',
5899 '-evalf', ':wd s:perm(1..10) & f=s(11)',
5900 '-evalt', ':wd s:perm(1..10) & x:dom(s) & s2:perm(1..10) & s2(x)=res',
5901 '-evalt', ':wd x:iseq(BOOL) & size(x) = 1',
5902 '-evalt', ':wd x:POW(1..2) & card(x)=1',
5903 '-evalt', ':wd x:FIN(NATURAL1) & card(x)=1',
5904 '-evalt', ':wd card(iseq(BOOL))=r',
5905 '-evalf', ':wd card(seq(BOOL))=r',
5906 '-evalt', ':wd x:seq(NATURAL) & card(x)=2',
5907 '-evalt', ':wd x:seq(NATURAL1) & size(x)=2',
5908 '-evalt', ':wd size([1,2,x])=3',
5909 '-evalt', ':wd x={} & card(x)=0 & 1:x',
5910 '-evalt', ':wd size([1,2,4])=3',
5911 '-evalt', ':wd first(x->[2])=1',
5912 '-evalt', ':wd first(rev([1,2,3])) = 1',
5913 '-evalt', ':wd y:iseq(1..2) & first(y^rev([1,2,3])) >1',
5914 '-evalt', ':wd conc([[1] , [2]]) = res',
5915 '-evalt', ':wd first([1,2,3])=res',
5916 '-evalt', ':wd [1,2,3] /|\\ 2 = res',
5917 '-evalt', ':wd f = aGraph*{[]} & g:aGraph & f(g)=[2] & aGraph<:BOOL',
5918 '-evalt', ':wd f: BOOL +-> seq(INTEGER) & f = aGraph*{[]} & g:aGraph & f(g)=[2]',
5919 '-evalt', ':wd x:NATURAL1 & y>=x & x mod y = x/y',
5920 '-evalt', ':wd f : NATURAL1 --> INTEGER & x>2 & res=f(x)',
5921 '-evalt', ':wd x/={} & inter(x)={1}',
5922 '-evalt', ':wd f = %(p1,z1).(p1:A & z1:A|p1+z1) & A <: INTEGER & g: INTEGER +-> A & 1:dom(g) & res = f(g(1),g(1))',
5923 '-evalt', ':wd SIGMA(x).(x:1..10|x) =res',
5924 '-evalt', ':wd x:1..10 & f:1..10 --> BOOL & r=f(x)',
5925 '-evalf', ':wd x:1..10 & f:2..10 --> BOOL & r=f(x)',
5926 '-evalt', ':wd x=0 or res=10/x',
5927 '-evalt', ':wd f : NATURAL1 --> NATURAL1 & x>2 & res=f( f(x) )',
5928 '-evalt', ':wd f : NATURAL --> NATURAL1 & x>2 & res=f( f(x) )',
5929 '-evalt', ':wd f : INTEGER --> NATURAL1 & x>2 & res=f( f(x) )',
5930 '-evalf', ':wd f : NATURAL1 --> NATURAL & x>2 & res=f( f(x) )',
5931 '-evalt', ':wd f: 1..10 --> BOOL & card(S <| f)=9 & card(f <+ {x|->TRUE})=10 & card(S2 <<| f)=0 & card(f|>{TRUE})=0',
5932 '-evalt', ':wd f: 1..10 -->BOOL & res = (f <+ {11 |-> TRUE})(10)',
5933 '-evalf', ':wd f: 1..10 -->BOOL & res = (f <+ {11 |-> TRUE})(0)',
5934 '-evalt', ':wd f : 1..n --> BOOL & n=3 & f(3)=TRUE',
5935 '-evalt', ':wd f : {1,3,5,7,9} --> {1,3,5,7,9} & f(5)=3',
5936 '-evalt', ':wd f : {a,b} --> {1,3,5,7,9} & f(a)=3 & a:INTEGER',
5937 '-evalt', ':wd teamr : 1..11 >-> 1..22 & pp:ran(teamr) & res=teamr~(pp)',
5938 '-evalt', ':wd teamr : 1..11 >-> 1..22 & pp:ran(teamr) & res=teamr(teamr~(pp))',
5939 '-evalt', ':wd card( { tr | tr: 1..NRTrains & tr : other}) = 1',
5940 '-evalt', ':wd S <: NATURAL1 & f : S >+> S & pl : ran(f) & vps : S --> 0..mx & res=vps(pl)',
5941 '-evalt', ':wd S <: NATURAL1 & f : S >+> S & pl : dom(f) & vps : S --> 0..mx & res=vps(pl)',
5942 '-evalt', ':wd a:iseq(BOOL) & x:dom(a) & r=10/x',
5943 '-evalt', ':wd a:INTEGER+->NATURAL1 & x:ran(a) & r=10/x',
5944 '-evalf', ':wd a:INTEGER+->NATURAL1 & x:dom(a) & r=10/x',
5945 '-evalf', ':wd a:INTEGER+->z..y & x:ran(a) & r=10/x',
5946 '-evalf', ':wd a:INTEGER+->x..y & x:ran(a) & r=10/x',
5947 '-evalt', ':wd S_ESPC <: NAT & aspect_pi : S_ESPC --> INT & S_ESPC = {PL02,PL04} & res = aspect_pi (PL02)',
5948 '-evalt', ':wd a:1..10 & b:2..20 & f: (1..10)*(2..40) --> BOOL & f(a|->b)=TRUE',
5949 '-evalt', ':wd a:1..10 & b:2..20 & f: (1..10) --> ((2..40) --> BOOL) & f(a)(b)=TRUE',
5950 '-evalt', ':wd x:FIN(x) & x<:INTEGER & card(x)=10',
5951 '-evalt', ':wd x:FIN(x) & x<:INTEGER & y <: x & card(y)=10',
5952 '-evalt', ':wd x:FIN(x) & x<:INTEGER & y <<: x & card(y)=10',
5953 '-evalt', ':wd f:NATURAL1 --> NATURAL1 & a:NATURAL1 & b:NATURAL & f(a)=c & f(b+1)=c', %% PP runs forever
5954 '-evalt', ':wd f:NATURAL1 --> NATURAL1 & a:NATURAL1 & b:NATURAL & 10 / f(a) = 10 / a & 10 / f(b+1) = 10 / (b+1)', %% PP runs forever
5955 '-evalt', ':wd f:NATURAL1 --> NATURAL1 & a:NATURAL1 & b:NATURAL & max({a,b,c})=c',
5956 '-evalt', ':wd f:NATURAL1 --> NATURAL1 & a:NATURAL1 & b:NATURAL & c>a & max(a..c)=c',
5957 '-evalt', ':wd g:a..c --> NATURAL1 & a:NATURAL1 & b:NATURAL & c>a & g(a)=g(c)',
5958 '-evalt', ':wd a:NATURAL1 & b:NATURAL & c>a & s <: {a,b,c} & card(s)=3',
5959 '-evalt', ':wd %x.(x:2..4 | %x.(x:4..8|10/x)(2*x)) = x',
5960 '-evalf', ':wd %x.(x:2..4 | %x.(x:4..7|10/x)(2*x)) = x',
5961 '-evalf', ':wd %x.(x:2..4 | %x.(x:5..8|10/x)(2*x)) = x',
5962 '-evalt', ':wd x:1..10 & f:1..100 --> INT & f(9*x+10)=res',
5963 '-evalt', ':wd x:1..10 & f:1..99 --> INT & f(9*x+9)=res',
5964 '-evalf', ':wd x:1..10 & f:1..99 --> INT & f(9*x+10)=res',
5965 '-evalt', ':wd x:10..109 & f:1..10 --> INT & f(x/10)=res',
5966 '-evalf', ':wd x:9..109 & f:1..10 --> INT & f(x/10)=res',
5967 '-evalf', ':wd x:10..110 & f:1..10 --> INT & f(x/10)=res',
5968 '-evalt', ':wd a : 1 .. sz --> INTEGER & p : perm(dom(a)) & i : 1 .. sz - 1 & res= p(i)',
5969 '-evalt', ':wd a : 1 .. sz --> INTEGER & sz=5 & p : perm(dom(a)) & i : 1 .. sz - 1 & res= p(i)',
5970 '-evalt', ':wd ff: BOOL <-> BOOL & x:dom(ff) & fnc(ff)(x) = res',
5971 '-evalt', ':wd y /=0 & res = x/-y',
5972 '-evalt', ':wd x>0 & (y>=0 & z>=0 => (x**(y*z) = (x**y)**z))',
5973 '-evalt', ':wd (y>=0 & z>=0 & x:INTEGER => (x**(y+z) = x**y * x**z)) ',
5974 '-evalt', ':wd card(perm(1..10)) > 10 & card({x,y|x:1..22 & y=x}) = 22 & card({x,y|x<:1..10 & y=x}) = 1024',
5975 '-evalf', ':wd card({x,y|x:INTEGER & y=x})> 0',
5976 '-evalt', ':wd {n| #x.(x<:(BOOL*BOOL*BOOL) & card(x)=n)} = 0..8',
5977 '-evalt', ':wd x<:INTEGER & {n| #x.(x<:(BOOL*BOOL*BOOL) & card(x)=n)} = 0..8',
5978 '-evalf', ':wd x<:BOOL & {n| #x.(x<:(BOOL*INTEGER*BOOL) & card(x)=n)} = 0..8',
5979 '-evalt', ':wd tail( %x.(x:1..10|TRUE) )=res',
5980 '-evalf', ':wd tail( %x.(x:1..yy|TRUE) )=res',
5981 '-evalt', ':wd card({rr|rr:BOOL<->BOOL & closure1(rr)=rr}) =res',
5982 '-evalt', ':wd r={TRUE|->FALSE} & card({y,x|x|->y:r})=c',
5983 '-evalt', ':wd card({rr|rr:BOOL+->BOOL & closure1(rr)=rr}) =res',
5984 %'-evalt', ':wd f = {x,y|x<:1..10 & y=x} & res = f((1..2))',
5985 %'-evalt', ':wd f = {x,y|x<:1..10 & y=x} & res = f({1,10})',
5986 '-evalt', ':wd r=[1,11,111] & card({y,x|x|->y:r}) = s',
5987 '-evalt', ':wd r = [1,11,11] & card(r~[{11}])=1',
5988 '-evalt', ':wd r = pred & card(r[1..10])=10',
5989 '-evalt', ':prove r = pred => pred:INTEGER +->INTEGER',
5990 '-evalt', ':prove r = pred => pred:INTEGER -->INTEGER',
5991 '-evalt', ':wd r = succ & card(r[1..10])=10',
5992 '-evalt', ':wd x={1|->11,3|->33,5|->55,7|->77,9|->99,100000|->0} & y:dom(x) & res= x(y)',
5993 '-evalt', ':wd x={1|->rec(d:11),3|->rec(d:33),100000|->rec(d:0)} & y:dom(x) & res= x(y)',
5994 '-evalt', ':wd f={1|->x, 3|->y} & 11=f(1)',
5995 '-evalt', ':wd x:1..n-->BOOL & !i.(i:1..(n-2) => (x(i)=TRUE <=> (x(i+1)=FALSE & x(i+2)=FALSE)))',
5996 '-evalt', ':wd s1 |-> s2 : {(1,2),(2,3),(3,5)} & [0,100,200,300,400,500,600,700](s1) = res',
5997 '-evalt', ':wd s1 |-> s2 : {(1,2),(2,3),(3,5)}~ & [0,100,200,300,400,500,600,700](s2) = res',
5998 '-evalt', ':wd s2 : ran({(1,2),(2,3),(3,5)}) & [0,100,200,300,400,500,600,700](s2) = res',
5999 '-evalt', ':wd i5 = %x.(x>10|100+x) & 100:dom(i5) & res=i5(100)',
6000 '-evalf', ':wd i5 = %x.(x>10|100+x) & 11:dom(i5) & res=i5(10)',
6001 '-evalt', ':wd card(struct(f1:1..2,f2:1..2))=res',
6002 '-evalf', ':wd card(struct(f1:1..2,f2:NATURAL))=res',
6003 '-evalt', ':wd target = [2,1,1,2,1] & n=size(target) & i:1..n & target(i)=res',
6004 '-evalf', ':wd target = [2,1,1,2,1] & n=size(target) & i:1..n & target(i+1)=res',
6005 '-evalf', ':wd target = [2,1,1,2,1] & n=size(target) & i:0..n & target(i)=res',
6006 '-evalt', ':wd Right:seq(BOOL) & (Right/=[] => tail(Right)=res)',
6007 '-evalt', ':wd Right:seq(BOOL) & (Right<-FALSE)(1)=cur',
6008 '-evalt', ':wd ds : (POW(INTEGER)*seq(BOOL)) --> POW(INTEGER) & res=ds(cur,[input])',
6009 '-evalt', ':wd K : seq(BOOL) <-> seq(BOOL) & ix|->iy:K & res= ix^iy',
6010 '-evalt', ':wd arr : 1 .. n --> BOOL & j : 1 .. n - 1 & i=j & i2=i+1 & arr(i2)=res',
6011 '-evalf', ':wd f: BOOL --> 1..10 & g : 2..20 --> BOOL & bb:BOOL & (f;g)(bb)=res',
6012 '-evalt', ':wd f: BOOL --> 1..10 & g : 0..20 --> BOOL & bb:BOOL & (f;g)(bb)=res',
6013 '-evalt', ':wd f: BOOL --> 1..10 & g : 0..20 --> BOOL & bb:BOOL & fg = (f;g) & (fg)(bb)=res',
6014 '-evalt', ':wd f: BOOL --> 1..10 & g : 0..20 --> 8..16 & bb:BOOL & g(((f;g))(bb))=res',
6015 '-evalt', ':wd f: BOOL --> 1..10 & g : 0..20 --> 8..16 & bb:BOOL & fg = (f;g) & g((fg)(bb))=res',
6016 '-evalt', ':wd max({1} \\/ (1..100 /\\ {x|x>2 & x<2}))=res',
6017 '-evalf', ':wd max((1..100 /\\ {x|x>2 & x<2}))=res',
6018 '-evalt', ':wd iv:seq(BOOL) & size(iv)>0 & res=first(iv)',
6019 '-evalt', ':wd iv:seq(INT) & size(iv)>=1 & res=first(iv)',
6020 '-evalt', ':wd iv:seq(NAT) & card(iv)>=1 & res=first(iv)',
6021 '-evalf', ':wd iv:seq(INT) & size(iv)>=0 & res=first(iv)',
6022 '-evalt', ':wd iv:seq(NATURAL1) & size(iv)>x & x>=1 & res=first(iv)',
6023 % '-evalt', ':wd iv:seq(NATURAL1) & b:seq(BOOL) & size(iv)>size(b) & res=first(iv)',
6024 '-evalt', ':wd iv:seq(NATURAL1) & b:seq(BOOL) & size(iv)>size(b) & size(b) > 0 & res=first(iv)',
6025 '-evalt', ':wd iv:seq(NATURAL1) & b:seq(BOOL) & size(iv)>size(b) & card(b) > 0 & res=first(iv)',
6026 '-evalt', ':wd iv:seq(NATURAL1) & b:seq(BOOL) & size(iv)>size(b) & b /= {} & res=first(iv)',
6027 '-evalt', ':wd ff:seq(BOOL) & (ff/=<> => (first(ff) = last(rev(ff)) & last(ff) = first(rev(ff))))',
6028 '-evalt', ':wd ff:seq(BOOL) & card(ff^ff) > card(rev(ff))',
6029 '-evalt', ':wd ff:seq1(INT) & x=max(ran((ff)))',
6030 '-evalt', ':wd ff:seq1(INT) & x=max(ran(rev(ff)))',
6031 '-evalt', ':wd ff:seq1(INT) & x=max(ran(ff^ff))',
6032 '-evalt', ':wd ff: 1..10 --> INT & m = max(ran(ff))',
6033 '-evalf', ':wd ff: 1..10 +-> INT & m = max(ran(ff))',
6034 '-evalt', ':wd ff:seq(BOOL) & xx:1..(size(ff)) => (( (ff/|\\xx)/\\(ff\\|/xx) ) = <> )',
6035 '-evalt', ':wd ff:seq(BOOL) & xx:NAT1 & xx:1..(size(ff)) => (( (ff/|\\xx)/\\(ff\\|/xx) ) = <> )',
6036 '-evalt', ':wd f:1..10 --> BOOL & x:NATURAL1 & x<11 & res=f(x)',
6037 '-evalt', ':wd f:1..10 --> BOOL & x:NATURAL1 & x<=card(f) & res=f(x)',
6038 '-evalt', ':wd f:1..10 --> BOOL & x:NAT1 & x<11 & res=f(x)',
6039 '-evalt', ':wd f:1..10 --> BOOL & x:NAT1 & x<size(f) & res=f(x)',
6040 '-evalt', ':wd f:1..10 --> BOOL & x:NAT1 & x<card(f) & res=f(x)',
6041 '-evalt', ':wd min(NAT1)=1 & min(NAT)=0 & max(NAT)=maxint',
6042 '-evalt', ':wd ff:seq1(BOOL) => (first(ff)=ff(1) & last(ff) = ff(size(ff)))',
6043 '-evalt', ':wd s:seq(BOOL) & i:NATURAL1 & i<= size(s) & res=s(i)',
6044 '-evalt', ':wd s:seq(BOOL) & j:NATURAL1 & i>j & i<= size(s) & res=s(i)',
6045 '-evalt', ':wd (IF y>0 THEN [1] ELSE [2] END)^[3] = x',
6046 '-evalt', ':wd (IF y>0 THEN [1] ELSE [2] END)^[3,4] = x',
6047 '-evalt', ':wd first(IF y>0 THEN [1] ELSE [2] END) = x',
6048 '-evalt', ':wd y:seq(INT) & r=tail(IF x<0 THEN [0] ELSE [x] END^y)',
6049 '-evalt', ':wd yy:1..9 & xx<yy & r=1/(10-xx)',
6050 '-evalt', ':wd yy:1..10 & xx<yy & r=1/(10-xx)', % requires to store < in hyps
6051 '-evalt', ':wd yy:1..10 & yy>xx & r=1/(10-xx)', % ditto
6052 '-evalf', ':wd yy:1..10 & xx<=yy & r=1/(10-xx)',
6053 '-evalt', ':wd ts = [TRUE,FALSE,TRUE] & t={1,3,5} & i:1..card(t) & res=ts(i)',
6054 '-evalt', ':wd ts = [TRUE,FALSE,TRUE] & t={1,3,5} & i:0..card(t)-1 & res=ts(i+1)',
6055 '-evalt', ':wd d=1..n & a:d --> 1..100 & d /= {} & res=max(d)',
6056 '-evalt', ':wd a:1..n --> 1..100 & 1..n /= {} & res=a(1)',
6057 '-evalt', ':wd d=1..n & a:d --> 1..100 & d /= {} & res=a(1)',
6058 '-evalt', ':wd d=1..n & a:d --> 1..100 & d /= {} & res=a(n)',
6059 '-evalt', ':wd g : 1 .. n >-> NATURAL & k:1..n & j:k..n & n>k & j>=k & res = min(g[k..j])',
6060 '-evalt', ':wd f : i..j --> BOOL & x:i..j & res=f(i)',
6061 '-evalt', ':wd g : 1 .. n >-> NATURAL & k:1..n & j:k..n & res = min(g[k..j])',
6062 '-evalt', ':wd j : k .. n & ll : k .. j & g : 1 .. n >-> NATURAL & k : 1 .. n & ll:NATURAL & res = g(ll)',
6063 '-evalt', ':wd j:1..k & f:1..k --> BOOL & j/=k & res=f(j+1)',
6064 '-evalt', ':wd j:1..k & f:1..k --> BOOL & j/=1 & res=f(j-1)',
6065 '-evalt', ':wd f: 1..10 +-> BOOL & 1..9 <: dom(f) & res=f(1)',
6066 '-evalt', ':wd f: 1..10 +-> BOOL & !x.(x:1..9 => x:dom(f)) & res=f(1)',
6067 '-evalf', ':wd f: 1..10 +-> BOOL & !x.(x:1..9 => x:dom(f)) & 1..9 <: dom(f) &res=f(10)',
6068 '-evalt', ':wd s:seq(BOOL) & size(s)=10 & xx:1..n & n<10 & res = (s /|\\ n)(xx)',
6069 '-evalt', ':wd s:seq(BOOL) & size(s)=10 & xx:1..n & n<=10 & res = (s /|\\ n)(xx)',
6070 '-evalf', ':wd s:seq(BOOL) & size(s)=10 & xx:1..n & n<=10 & res = (s /|\\ n)(xx+1)',
6071 '-evalf', ':wd s:seq(BOOL) & size(s)=10 & xx:1..11 & n<=10 & res = (s /|\\ n)(xx)',
6072 '-evalt', ':wd sze = 8 & MSG = 1 .. sze --> BIT & BIT = {0,1} & c:MSG & res = c(1)',
6073 '-evalf', ':wd sze = 8 & MSG = 1 .. sze --> BIT & BIT = {0,1} & c:MSG & res = c(0)',
6074 '-evalt', ':wd make = id(INTEGER * INTEGER) & coord = make~ & xcoord = (coord ; %(z_,z__).(z_ : INTEGER & z__ : INTEGER|z_)) & res = xcoord((1,2))',
6075 '-evalt', ':wd make = id(NATURAL1 * NATURAL1) & coord = make~ & xcoord = (coord ; %(z_,z__).(z_ : INTEGER & z__ : INTEGER|z_)) & res = xcoord((1,2))',
6076 '-evalf', ':wd make = id(NATURAL1 * NATURAL1) & coord = make~ & xcoord = (coord ; %(z_,z__).(z_ : INTEGER & z__ : INTEGER|z_)) & res = xcoord((1,0))',
6077 '-evalf', ':wd j : k .. n & l: k..j & g : 1 .. n >-> NATURAL & res = g(l)', % l not guaranteed >= 1
6078 '-evalt', ':wd k>=1 & j : k .. n & l: k..j & g : 1 .. n >-> NATURAL & res = g(l)',
6079 '-evalt', ':wd BVc=16 & BIdx = 1..BVc & s:BIdx --> BOOL & res=size(s)',
6080 '-evalf', ':wd BVc>=0 & BIdx = 1..BVc & s:BIdx --> BOOL & res=first(s)',
6081 '-evalt', ':wd BVc>0 & BIdx = 1..BVc & s:BIdx --> BOOL & res=first(s)',
6082 '-evalt', ':wd BVc=16 & BIT={0,1} & BIdx = 1..BVc & bt:BIdx --> BIT & bit_not : BIT >->> BIT & res = bit_not(bt(1))',
6083 '-evalt', ':wd BVc=16 & BIT={0,1} & BIdx = 1..BVc & BV16 = BIdx --> BIT & bt:BV16 & bit_not : BIT >->> BIT & res = bit_not(bt(1))',
6084 '-evalt', ':wd U_MAX = (pow2__16) -1 & U_MIN = 0 & USHORT = U_MIN..U_MAX & v0 : USHORT & res = v0 mod 2',
6085 '-evalt', ':wd U_MAX = pow2__8 - 1 & U_MIN = 0 & UCHAR = ( U_MIN .. U_MAX) & uchar_byte = % ( v0 ) . ( v0 : UCHAR | [v0 mod 2,v0/2]) & w1:UCHAR & res=uchar_byte(w1)',
6086 '-evalt', ':wd x: iseq(BOOL) & TRUE:ran(x) & res = x~(TRUE)',
6087 '-evalt', ':wd f : BOOL --> iseq(BOOL) & x=f(TRUE) & p1:dom(x) & res=x(p1)',
6088 '-evalt', ':wd f : BOOL --> iseq(BOOL) & x:ran(f) & p1:dom(x) & res=x(p1)',
6089 '-evalt', ':wd PFT = BOOL --> iseq(BOOL) & f : PFT & x:ran(f) & p1:dom(x) & res=x(p1)',
6090 '-evalt', ':wd PFT = iseq(BOOL) --> BOOL & f : PFT & x:dom(f) & p1:dom(x) & res=x(p1)',
6091 '-evalt', ':wd s : seq1(BOOL) & i=size(s) & res = s(i)',
6092 '-evalt', ':wd s : seq1(BOOL) & i=size(s) & res = s /|\\ i',
6093 '-evalt', ':wd s : seq1(BOOL) & i=size(s)/2 & res = s /|\\ (size(s)/2)',
6094 % does not work yet: :wd s : seq1(BOOL) & i=size(s)/2 & res = s /|\ i
6095 '-evalt', ':wd stackTypes : -4 .. MaxSize --> BOOL & MaxSize : 0 .. 9 & stackSz <= MaxSize & stackSz > 1 & shart = stackTypes(stackSz)',
6096 % does not work yet: :wd stackTypes : -4 .. MaxSize-1 --> BOOL & MaxSize : 0 .. 9 & stackSz <= MaxSize & stackSz > 1 & shart = stackTypes(stackSz-1)
6097 '-evalt', ':wd ZO=3 & ZQ=4 & adz = {ZO|->TRUE,ZQ|->FALSE} & r:dom(adz) & res=adz(r)',
6098 '-evalt', ':wd ZO=3 & ZQ=4 & adz = {ZO|->TRUE,ZQ|->FALSE} & r:{3} & res=adz(r)',
6099 '-evalt', ':wd ZO=3 & ZQ=4 & adz = {ZO|->TRUE,ZQ|->FALSE} & r:{ZO,ZQ} & res=adz(r)',
6100 % :wd ZO=3 & ZQ=4 & adz = {3|->TRUE,4|->vv} & r:{3,4} & res=adz(r) % TODO
6101 % :wd ZO=3 & ZQ=4 & adz = {ZO|->TRUE,ZQ|->FALSE} & r:{3,4} & res=adz(r) % TODO
6102 '-evalt', ':wd CS : INTEGER +-> INTEGER & {3,4} <: dom(CS) & 5:dom(CS) & res=CS(3)',
6103 '-evalt', ':wd CS : INTEGER +-> INTEGER & {3,x} <: dom(CS) & res=CS(x)',
6104 '-evalt', ':wd CS : INTEGER +-> INTEGER & {y,x} <: dom(CS) & res=CS(x)',
6105 '-evalt', ':wd CS : INTEGER +-> INTEGER & ds <: dom(CS) & x:ds & res=CS(x)',
6106 '-evalt', ':wd CS : INTEGER +-> INTEGER & x = dom(CS) - other & 3:x & res=CS(3)',
6107 '-evalt', ':wd CS : INTEGER +-> INTEGER & {3} = dom(CS) - other & res=CS(3)',
6108 '-evalt', ':wd x:struct(f:BOOL --> STRING,g:POW(1..2)) & res= card(x\'g)',
6109 '-evalt', ':wd x:TS & TS=struct(f:BOOL --> STRING,g:POW(1..2)) & res= card(x\'g)',
6110 '-evalt', ':wd x:struct(f:BOOL --> STRING, g:BOOL) & res= x\'f(TRUE)',
6111 '-evalt',':wd x:struct(f:BOOL --> STRING) & xf = x\'f & res= xf(TRUE)',
6112 '-evalt', ':wd x:TS & TS=struct(f:BOOL --> STRING) & xf = x\'f & res= xf(TRUE)',
6113 '-evalt', ':wd X = Y \\/ Z & Y /\\ Z = {} & Y<:1..10 & Z <:1..10 & Y /= {} & res=max(X)',
6114 '-evalt', ':wd X = Y \\/ Z & Y /\\ Z = {} & Y<:1..10 & Z <:1..10 & 2:Y & res=max(X)',
6115 '-evalt', ':wd v:NAT1 & {TRUE|->v,FALSE|->w/v}(bool(x>10)) = res',
6116 '-evalt', ':wd V : N >-> NAT & da /= {} & V[da] /= {} & da <: 1..100 & res = V~(max(V[da]))',
6117 '-evalf', ':wd V : N >-> NAT & da /= {} & da <: 1..100 & res = V~(max(V[da]))', % cannot prove not empty
6118 '-evalt', ':wd f = %v1.(v1 : 0..512 & v1 <= SMAX|v1) \\/ %v1.(v1 : 0..512 & not(v1 <= SMAX)|v1 - 256) & f(0)=res',
6119 '-evalt', ':wd A<:NAT & f:A*A --> INTEGER & g:BOOL-->A & res= f(g(x),g(y))',
6120 '-evalt', ':wd N<:NAT & V : N >-> NAT & y:dom(V) & k = V(y) & m = (V~ ; a) & a : N +-> N & n : N >->> N & k |-> y : m & res = V~(k)',
6121 '-evalt', ':wd SIG : ran(fst) >->> NAT & fst : BOOL --> NATURAL & res = SIG(fst(r))',
6122 '-evalt', ':wd accel : 1 .. VEH --> MIN_A .. MAX_A & VEH >= 2 & v : 2 .. d_veh - 1 & d_veh : 1 .. VEH + 1 & res=accel(v-1)',
6123 '-evalt', ':wd b : RwSmallDom --> BOOL & x:RwDom & RwSmallDom = MinRwAddress .. MaxRwAddress & RwDom = MinRwPointer .. MaxRwPointer & MinRwAddress = MinRwPointer & MaxRwAddress = 3 + MaxRwPointer & res =b(x)',
6124 '-evalf', ':wd lightArcTo = {towinglight |-> 2475} \\/ {allroundlight |-> 3600} \\/ {sternlight |-> 2475} \\/ {sidelightPort |-> 3600} \\/ {sidelightStarboard |-> 1125} \\/ {mastheadlight |-> 1125} & towinglight:STRING & res = lightArcTo(towinglight)',
6125 '-evalt', ':wd lightArcTo = {11 |-> 2475} \\/ {22 |-> 3600} \\/ {33 |-> 2475} \\/ {44 |-> 3600} \\/ {55 |-> 1125} \\/ {66 |-> 1125} & res = lightArcTo(55)',
6126 '-evalt', ':wd cdoor=1..10 & cmd_doors : BOOL --> POW(cdoor) & carriage_ds : cdoor --> BOOL & cmd:dom(cmd_doors) & d : cmd_doors(cmd) & res = carriage_ds(d)',
6127 '-evalf', ':wd res = 3 mod -2',
6128 '-evalt', ':wd f: NAT +-> NAT & dom(f) /\\ {a} /= {} & res=f(a)',
6129 '-evalt', ':wd f: NAT >+> NAT & {a} /\\ ran(f) /= {} & res=f~(a)',
6130 '-evalf', ':wd f: BOOL <-> INTEGER & card({TRUE} <| f)=10',
6131 '-evalt', ':wd f: NATURAL <-> 2..10 & card(1..10 <| f)=10',
6132 '-evalt', ':wd f: BOOL <-> INTEGER & card(f |> {11})=10',
6133 '-evalt', ':wd f: BOOL <-> NATURAL & card(f |> {11})=10',
6134 '-evalt', ':wd f : BOOL <-> INTEGER & card(dom(f))=1',
6135 '-evalt', ':wd f : 1..10 <-> INTEGER & card(dom(f))=1',
6136 '-evalf', ':wd f : INTEGER <-> 1..10 & card(dom(f))=1',
6137 '-evalt', ':wd f : INTEGER <-> 1..10 & card(ran(f))=1',
6138 '-evalt', ':wd x : {f | f: 1..10 --> BOOL & f(1)=f(10)} & res=x(1)',
6139 '-evalf', ':wd ff : NATURAL +-> BOOL & res=card(ff |> {FALSE})',
6140 '-evalt', ':wd f: NATURAL <-> NATURAL & x<:1..10 & res = card((1..2) <| f |> x)',
6141 '-evalt', ':wd T=BOOL & sq = {f|f : INTEGER +-> T & #n.(n >= 0 & f : 1 .. n --> T)} & 1:dom(s) & s:sq & res=s(1)',
6142 '-evalt', ':wd T=BOOL & sq = {f|f : INTEGER +-> T & #n.(n >= 0 & f : 1 .. n --> T)} & s1 = sq - {{}} & 1:dom(s) & s:s1 & res=s(1)',
6143 '-evalt', ':wd vehicle = 1 & accel : 1 .. VEHICLES --> BOOL & vehicle : 1 .. VEHICLES + 1 & VEHICLES : NAT1 & res = accel(vehicle)',
6144 '-evalt', ':wd D=1..10 & f:D-->BOOL & g:D-->BOOL & h:{f,g} & res= h(2)',
6145 '-evalt', ':wd i : BOOL --> dom(wtp) & wtp : NAT1 +-> BOOL & res = wtp(i(TRUE))',
6146 '-evalt', ':wd i : BOOL --> (BOOL --> dom(wtp)) & wtp : NAT1 +-> BOOL & res = wtp(i(TRUE)(TRUE))',
6147 '-evalt', ':wd MAtemp: BOOL +-> POW(INTEGER) & res = (({tr} <<| MAtemp) \\/ {tr |-> 1..2})(tr)',
6148 '-evalt', ':wd MAtemp: BOOL +-> POW(INTEGER) & res = ((MAtemp) <+ {tr |-> 1..2})(tr)',
6149 '-evalt', ':wd s = {1|->3} & res = s(card(s))',
6150 '-evalt', ':wd D=1..10 & d1:D & res = rev({} /\\ {1 |-> d1})',
6151 '-evalt', ':wd D=1..10 & d1:D & res = rev({1 |-> d1} /\\ [])',
6152 '-evalf', ':wd D=1..10 & d1:D & res = rev({1 |-> 1, 1 |-> d1})',
6153 '-evalt', ':wd D=1..10 & d1:D & res = rev({2 |-> d1, 1 |-> d1})',
6154 '-evalf', ':wd q: 0..10 --> BOOL & a>0 & res=q(a mod 12)',
6155 '-evalt', ':wd q: 0..10 --> BOOL & a>0 & res=q(a mod 11)',
6156 '-evalt', ':wd q: 0..10 --> BOOL & a>0 & a<11 & res=q(a mod 101)',
6157 '-evalt', ':wd n:NAT1 & q: 0..(n) --> BOOL & a>0 & res=q(a mod n)',
6158 '-evalt', ':wd n:NAT1 & q: 0..(n-1) --> BOOL & a>0 & res=q(a mod n)',
6159 '-evalt', ':wd wt : 1..w --> BOOL & wtp : NAT1 +-> BOOL & wt <: wtp & m:dom(wt) & res=wtp(m)',
6160 '-evalt', ':wd wt : 1..w --> BOOL & wtp : NAT1 +-> BOOL & wt <: wtp & m>0 & m<w & w>1 & res=wtp(m)',
6161 '-evalf', ':wd Trains <: NATURAL & isConnected : (trainKind~)[{13}] --> BOOL & tr : Trains & trainKind = {t1 |-> 11,t2 |-> 22} & trainKind : Trains --> TrainKind & res = isConnected(tr)',
6162 %'-evalt', ':wd Trains <: NATURAL & isConnected : (trainKind~)[{11}] --> BOOL & tr : Trains & trainKind = {t1 |-> 11,t2 |-> 22} & trainKind : Trains --> TrainKind & res = isConnected(tr)', % TODO: fix again
6163 '-evalt', ':wd tpp = {1,2} & ppp : tpp & ers = {1|->2,2|->1}(ppp)',
6164 '-evalf', ':wd a:NAT & tpp = {a,b} & a/=b & ppp : tpp & ers = {a|->1,a|->2}(ppp)',
6165 '-evalt', ':wd a:NAT & tpp = {a,b} & a/=b & ppp : tpp & ers = {a|->b,b|->a}(ppp)',
6166 '-evalt', ':wd f = %x.(x<10 |x-1) & res=f(1)',
6167 '-evalf', ':wd f = %x.(x<10 |x-1) & res=f(10)',
6168 '-evalt', ':wd f = %x.(x:NATURAL1 & x<10 |x-1) & res=f(1)',
6169 '-evalt', ':wd f = %x.(x:NATURAL1 & x:{1,3,5,7,y} |x-1) & res=f(1)',
6170 '-evalt', ':wd ic = struct(val:(1..2 --> BOOL)) & x:ic & res = x\'val(1)',
6171 '-evalt', ':wd ic = struct(val:seq1(BOOL)) & x:ic & res = x\'val(1)',
6172 '-evalt', ':wd ic = struct(val:seq1(BOOL)) & x:BOOL-->ic & res = x(TRUE)\'val(1)',
6173 '-evalt', ':wd ic = struct(val:seq1(BOOL)) & x:BOOL+->ic & TRUE:dom(x) & res = x(TRUE)\'val(1)',
6174 '-evalt', ':wd f = (%(x,y,z).(x:BOOL & y:1..2 & z:BOOL|1)) & res = f(TRUE,2,FALSE)',
6175 '-evalt', ':wd f = %x.(x:1..100 & x:aa|x+1) & y:aa & y:2..5 & res=f(y)',
6176 '-evalt', ':wd s = ["a","b"] & y:ran(s) & x: {s~(y)} & res = s(x)',
6177 '-evalt', ':wd s = ["a","b"] & y:ran(s) & v:dom(s) & x: {v,s~(y)} & res = s(x)',
6178 '-evalt', ':wd s = ["a","b"] & y:ran(s) & v:dom(s) & x: {v} \\/ {s~(y)} & res = s(x)',
6179 '-evalt', ':wd s = ["a","b"] & r = ["x","y","z"] & x:dom(s) & res= r(x)',
6180 '-evalf', ':wd s = ["a","b"] & r = ["x","y","z"] & x:dom(r) & res= s(x)',
6181 '-evalt', ':wd s = ["a","b"] & r = ["a","b","c"] & x:ran(s) & res= r~(x)',
6182 '-evalf', ':wd s = ["a","b"] & r = ["a","b","c"] & x:ran(r) & res= s~(x)',
6183 '-evalt', ':wd s = {"a","b","c","d"} & r = ["a","b","c","d","e","f"] & x:s & res= r~(x)',
6184 '-evalf', ':wd s = {"a","b","cc","d"} & r = ["a","b","c","d","e","f"] & x:s & res= r~(x)',
6185 '-evalf', ':wd y<10 & res=%x.(x:NATURAL1|x-1)(y)', % test assertion_expression
6186 '-evalt', ':wd y>1 & res=%x.(x:NATURAL1|x-1)(y)',
6187 '-evalt', ':wd f : BOOL --> (NATURAL * (BOOL --> BOOL)) & g = prj2(INTEGER,(BOOL<->BOOL))(f(TRUE)) & res = g(x)',
6188 '-evalt', ':wd f : BOOL --> ((BOOL --> BOOL)*NAT) & g = prj1((BOOL<->BOOL),INTEGER)(f(TRUE)) & res = g(x)',
6189 '-evalt', ':wd f : BOOL --> ((BOOL --> BOOL)*NAT) & g = prj1((BOOL<->BOOL),NAT)(f(TRUE)) & res = g(x)',
6190 '-evalt', ':wd f: BOOL +-> BOOL & g:BOOL +-> BOOL & dom(f) <: dom(g) & y:dom(f) & res=g(y)',
6191 '-evalt', ':wd f: BOOL +-> BOOL & g:BOOL +-> BOOL & !x,y.(x|->y:f => x:dom(g)) & y:dom(f) & res=g(y)',
6192 '-evalt', ':wd f: BOOL +-> BOOL & g:BOOL >+> BOOL & !x,y.(x|->y:f => x:ran(g)) & y:dom(f) & res=g~(y)',
6193 '-evalt', ':wd TRACK : FIN(NATURAL1) & x: TRACK +-> NATURAL1 & card(x)<3',
6194 '-evalt', ':wd TRACK : FIN(NATURAL1) & x: TRACK --> NATURAL1 & card(x)<3',
6195 '-evalf', ':wd TRACK : FIN(NATURAL1) & x: TRACK <-> NATURAL1 & card(x)<3',
6196 '-evalt', ':wd TRACK : FIN(NATURAL1) & x: TRACK <-> BOOL & card(x)<3',
6197 '-evalt', ':wd TRACK : FIN(NATURAL1) & x: TRACK <->> BOOL & card(x)<3',
6198 '-evalf', ':wd TRACK : FIN(NATURAL1) & x: NATURAL1 +-> TRACK & card(x)<3',
6199 '-evalt', ':wd TRACK : FIN(NATURAL1) & x: NATURAL1 >-> TRACK & card(x)<3',
6200 '-evalt', ':wd x>=0 & res= 10 / (2**x)',
6201 '-evalf', ':wd x>=0 & res= 10 / (x**2)',
6202 '-evalt', ':wd x>0 & res= 10 / (x**2)',
6203 '-evalt', ':wd x/=0 & res= 10 / (x**2)',
6204 '-evalt', ':wd x>=0 & res= 10 mod (2**x)',
6205 '-evalt', ':wd a:0..2**8 & z:0..8 & res = (a/(2**z)) mod 2',
6206 '-evalt', ':wd f = %(x,y).(x:NATURAL1 & y:NATURAL1 &x<y | x+y) & res = f(1,2)',
6207 '-evalf', ':wd f = %(x,y).(x:NATURAL1 & y:NATURAL1 &x<y | x+y) & res = f(2,2)',
6208 '-evalt', ':wd f = %(x,y,z).(x:NATURAL1 & y:NATURAL1 & z:NATURAL & x<y | x+y+z) & res = f(1,2,3)',
6209 '-evalt', ':wd f=%x.(x:seq1({0,1})|x) & res = f([1,0])',
6210 '-evalt', ':wd f=%(x,y).(x:POW(BOOL) & y:POW(BOOL) & card(x)=card(y)|x) & res = f({TRUE},{FALSE})',
6211 '-evalt', ':wd f=%(x,y).(x:POW1(BOOL) & y:POW1(BOOL) & card(x)=card(y)|x) & res = f({TRUE},{FALSE})',
6212 '-evalt', ':wd card({a,b|a:{1..2,1..3} & b:1..3}) = res',
6213 '-evalt', ':wd card({a,b|a={1,2} & b:1..3}) = res',
6214 '-evalf', ':wd card({x,y|x:{y,y+1} & y:{x,x-1} & x:INTEGER})=res',
6215 '-evalf', ':wd card({y,x|x:{y,y+1} & y:{x,x-1} & x:INTEGER})=res',
6216 '-evalt', ':wd card({y,x|x:{y,y+1} & y:1..2 & x:INTEGER})=res',
6217 '-evalt', ':wd card({x,y|x:{y,y+1} & y:1..2 & x:INTEGER})=res',
6218 '-evalt', ':wd card({v,w,x|x ={{1,v},{3,w}} & v:2..3 & w:2..3}) = res',
6219 '-evalt', ':wd card({v,w,x,a,b|x ={{1,v},{3,w}} & a=x & b=x & v:2..3 & w:2..3}) = res',
6220 '-evalt', ':wd card({x,y,z|z:{1,3} & x:1..z & {y}<:{x,x+1}})=8',
6221 '-evalt', ':wd card({x,y,z|z:{1,3} & x:1..z & {y}<<:{x,x+1}})=8',
6222 '-evalt', ':wd tt : BOOL --> FIN1(NATURAL) & res=max(tt(TRUE))',
6223 '-evalt', ':wd t : BOOL --> A & A<:BOOL & f : A --> BOOL & loc:ran(t) & res = f(loc)',
6224 '-evalt', ':wd t : BOOL --> FIN(A) & A<:BOOL & f : A --> BOOL & loc:ran(t) & pos: loc & res = f(pos)',
6225 '-evalf', ':wd t : BOOL --> FIN(A) & A<:BOOL & B<:A & f : B --> BOOL & loc:ran(t) & pos: loc & res = f(pos)',
6226 '-evalt', ':wd t : BOOL --> (A+->A) & A<:BOOL & f : (A*A) --> BOOL & loc:ran(t) & pos: loc & res = f(pos)',
6227 '-evalf', ':wd t : BOOL --> (A+->A) & A<:BOOL & B<:A & f : (A*B) --> BOOL & loc:ran(t) & pos: loc & res = f(pos)',
6228 '-evalt', ':wd t : BOOL --> (A+->B) & A<:BOOL & B<:A & f : (A*A) --> BOOL & loc:ran(t) & pos: loc & res = f(pos)',
6229 '-evalt', ':wd f: BOOL --> FIN(NATURAL) & f: BOOL <-> POW1(INTEGER) & res = max(f(TRUE))',
6230 '-evalt', ':wd f: BOOL --> FIN(NATURAL) & ran(f) <: POW1(INTEGER) & res = max(f(TRUE))',
6231 '-evalt', ':wd f: FIN(NATURAL) >+>> BOOL & dom(f) <: POW1(INTEGER) & res = max(f~(TRUE))',
6232 '-evalt', ':wd f: BOOL --> FIN(NATURAL) & !x.(x:ran(f)=> x/={}) & res = max(f(TRUE))',
6233 '-evalt', ':wd f: BOOL --> POW(NATURAL) & !x.(x:ran(f)=> x/={} & x:FIN(x)) & res = max(f(TRUE))',
6234 '-evalt', ':wd ll<:INTEGER & ll/={} & ll:FIN(ll) & ff=max(ll)', % added integer type
6235 '-evalt', ':wd xx : dom(ff) \\/ {yy} & ff: BOOL +-> BOOL & res = (ff <+ {yy |-> TRUE})(xx)',
6236 '-evalt', ':wd (xx : dom(ff) or xx: {yy}) & ff: BOOL +-> BOOL & res = (ff <+ {yy |-> TRUE})(xx)',
6237 '-evalt', ':wd f: NATURAL +-> INTEGER & x|->y:f & f(x)=res',
6238 '-evalt', ':wd a=[2,3,4] & res=first(front(a))',
6239 '-evalt', ':wd a=[2,3,4] & res=front(tail(a))',
6240 '-evalt', ':wd a=[2,3,4] & res=front(rev(tail(a)))',
6241 '-evalt', ':wd a=[2,3,4] & res=front(front(rev(a)))',
6242 '-evalt', ':wd a=[2,3,4] & res=front(front(rev(front(a))))',
6243 '-evalt', ':wd aa = [2,3,4,5] & size(1..3 <| aa) = 3',
6244 '-evalt', ':wd aa = [2,3,4,5] & b=[2,3] & size(dom(b) <| aa) = 2',
6245 '-evalf', ':wd a = {1|->2, 2|->3} & b = {2|->4,3|->5} & gg:1..10+->1..10 & x:1..3 & res = ((a;b) <+ (ss <| gg)) (x)',
6246 '-evalf', ':wd a = {1|->2, 2|->3, 3|->4} & b = {2|->4,3|->5} & gg:1..10+->1..10 & x:1..3 & res = ((a;b) <+ (ss <| gg)) (x)',
6247 '-evalt', ':wd a = {1|->2, 2|->3} & b = {2|->4,3|->5} & gg:1..10+->1..10 & x:1..2 & res = ((a;b) <+ (ss <| gg)) (x)',
6248 '-evalt', ':wd a = {1|->"a", 2|->"b"} & b = {"a"|->4,"b"|->5} & gg:1..10+->1..10 & x:1..2 & res = (a;b) (x)',
6249 '-evalt', ':wd a = {"A"|->"a", "B"|->"b"} & b = {"a"|->4,"b"|->5} & gg:STRING+->1..10 & x:{"A","B"} & res = ((a;b) <+ (ss <| gg)) (x)',
6250 '-evalt', ':wd f = %x.(x:1..10 & x mod 2 =0 | x/2) & y:1..10 & y mod 2 = 0 &res=f(y)',
6251 '-evalt', ':wd f = %x.(x:1..10 & x mod 2 =0 | x/2) & res=f(4)',
6252 '-evalf', ':wd x=card({x,y| x+y = 1})',
6253 '-evalt', ':wd x=card({x,y| [x,y] : iseq({0,1,2})})',
6254 '-evalt', ':wd x=card({x,y| rev([x,y]) : iseq({0,1,2})})',
6255 '-evalt', ':wd x=card({x,y| x:seq(INT) & y:seq(INT) & rev(x ^ y) : iseq({0,1,2})})',
6256 '-evalt', ':wd x=card({x,y| x \\/ y <: 1..5})',
6257 '-evalt', ':wd x=card({x| x+2 = 10})',
6258 '-evalt', ':wd x=card({x| x*2 : 1..10})',
6259 '-evalt', ':wd x=card({x,y| {x+1,y+2} \\/ {3} <: 1..5})',
6260 '-evalt', ':wd card({x| [0,0] <+ {x|->1} : 1..3 --> 0..1})=res',
6261 '-evalt', ':wd f : BOOL \\ a --> BOOL & x /: a & res = f(x)',
6262 '-evalf', ':wd f:INTEGER \\ (2..10) --> NAT & x<=2 & res=f(x)',
6263 '-evalt', ':wd f:INTEGER \\ (2..10) --> NAT & x<2 & res=f(x)',
6264 '-evalt', ':wd f:INTEGER \\ (2..10) --> NAT & x>10 & res=f(x)',
6265 '-evalt', ':wd f:INTEGER \\ ELS --> NAT & ELS = (2..10) & x<2 & res=f(x)',
6266 '-evalf', ':wd f = {x,r | x:BOOL & r > 2} & res = max(ran(f))',
6267 '-evalt', ':wd f = %x.(x:BOOL | 10+12) & res = max(ran(f))', % check we do not loose typing info of dom(f)=BOOL
6268 '-evalt', ':wd a:1..n --> 1..100 & a /= {} & res=a(1)',
6269 '-evalt', ':wd a:1..n --> 1..100 & a /= {} & res=a(n)',
6270 '-evalt', ':wd cf: BOOL <->BOOL & cf={} & x:dom(cf) & r=cf(x)',
6271 %'-evalt', ':wd a/=FALSE & f = {TRUE|->11} & res =f(a)',
6272 '-evalt', ':wd card(union({{1,2},{3,4}})) = r',
6273 '-evalt', ':wd x:POW(1..3) & card(union({{1,2},{3,4} \\/ x})) = r',
6274 '-evalt', ':wd real(1)=1.0',
6275 '-evalt', ':wd 1=floor(1.0)',
6276 '-evalt', ':wd 1=ceiling(1.0)',
6277 '-evalt', ':wd 1.0/2.0 > 0.0',
6278 '-evalt', ':wd SIGMA(x).(x:{1.0,2.0}|x/2.0) = 1.5',
6279 '-evalt', ':wd PI(x).(x:{4.0,2.0}|x/2.0) = 2.0',
6280 '-evalt', ':wd x<:POW(1..3) & card(union( x )) = r',
6281 '-evalt', ':wd x<:POW(1..3) & card(union({{1,2},{3,4}} \\/ x)) = r',
6282 '-evalt', ':wd x<:perm(1..3) & card(union( x )) = r',
6283 '-evalt', ':wd x:NAT & y:NAT & y=prj2(INT,INT)((x,y))',
6284 '-evalt', ':wd x<:INTEGER & card(inter({x,y,{1}})) = 1',
6285 '-evalt', ':wd x<:POW(INTEGER) & card(inter({{1}}\\/x) ) = 1',
6286 '-evalf', ':wd x<:POW(INTEGER) & card(inter({NATURAL}\\/x) ) = 1',
6287 '-evalf', ':wd SIGMA(x).(x:NATURAL|x) =res',
6288 '-evalt', ':wd PI(x).(x:1..100|x) =res',
6289 '-evalf', ':wd PI(x).(x:NATURAL|x) =res',
6290 '-prob-profile'
6291 % '-evalt', ':wd BV>0 & BIdx = 1..BV & s:BIdx --> BOOL & res=first(s)' % needs fix in parser: resetdefinitions
6292 ], 'Test new well-definedness analysis').
6293 cli_testcase(2019,[b_test],[
6294 '../prob_examples/public_examples/B/Tester/ASSERT_Disabled_Test.mch',
6295 '-t'
6296 ], 'Test ASSERT_CHECKING preference').
6297 cli_testcase(2020,[b_test],[
6298 '../prob_examples/public_examples/B/Tester/ASSERT_Enabled_Test.mch',
6299 '-mc', 100, '-no-state-errors', '-nodead',
6300 '-cc', 8, 10,
6301 '-expcterr', assert_error % assert error is still registered, but model checking runs to the end
6302 ], 'Test -no-state-errors model checking option').
6303 cli_testcase(2021,[cbc],[
6304 '-evalt', '{x} /\\ {y} /= {} & x:1000000..20000000 & y:0..2000000',
6305 '-evalt', 'x:1000000..20000000 & y:0..2000000 & {x} /\\ {y} /= {}' % used to be very slow
6306 ], 'Performance issue with intersection of two singleton sets, Check that non-empty set detected and x and y are unified').
6307 cli_testcase(2022, [disprover,infinite,total_function,wd], [
6308 '../prob_examples/public_examples/EventBPrologPackages/Tests/WD/TestWD_Prover_ctx.pl',
6309 '-check_disprover_result', 11,0,0,
6310 '-timeout', 200 % timeout per PO
6311 ],'WD proof obligations all discharged using new rule-based WD prover').
6312 cli_testcase(2023, [disprover,wd], [
6313 '../prob_examples/public_examples/EventBPrologPackages/Tests/WD/BitFunctions_ctx.pl',
6314 '-check_disprover_result', 4,0,0,
6315 '-timeout', 200 % timeout per PO
6316 ],'WD proof obligations all discharged using new rule-based WD prover (involving division)').
6317 cli_testcase(2024, [wd,wd_prover], [
6318 '../prob_examples/public_examples/B/Demo/SortByPermutation5.mch',
6319 '-wd', 10, 10, '-timeout', 200 % timeout per PO
6320 ],'Test all WD POs generated and discharged').
6321 cli_testcase(2025, [wd,wd_prover], [
6322 '../prob_examples/public_examples/B/Laws/ArithmeticLaws.mch',
6323 '-wd', 69, 71, % changed from 67/69 on Jul 29th 2023 due to change in machine
6324 '-timeout', 200, % timeout per PO
6325 '-silent' %-expcterr', 'well_def_analyser' % warnings for 2 undischarged POs due to min/max in non-silent mode
6326 ],'Test all WD POs generated and discharged').
6327 cli_testcase(2026, [wd,wd_prover], [
6328 '../prob_examples/public_examples/B/Mathematical/NFA_to_DFA_Unicode.mch',
6329 '-wd', 16, 16, '-timeout', 200 % timeout per PO
6330 ],'Test all WD POs generated and discharged').
6331 cli_testcase(2027, [wd,wd_prover], [
6332 '../prob_examples/public_examples/B/Mathematical/CardTrick.mch',
6333 '-wd', 28, 28, '-timeout', 200 % timeout per PO
6334 ],'Test all WD POs generated and discharged').
6335 cli_testcase(2028, [error_checks], [
6336 '../prob_examples/public_examples/B/Tester/Warnings/VarNotWritten.mch',
6337 '-lint',
6338 '-expcterrpos', bmachine_static_checks, 1, 8,
6339 '-expcterrpos', check_all_variables_written, 3, 10
6340 ],'Test extended static checking (ESC) aka linting').
6341 cli_testcase(2029, [wd,wd_prover], [
6342 '../prob_examples/public_examples/B/Tester/WD_Tests/Substitutions/SeqComp1.ref',
6343 '-wd', 1, 1, '-timeout', 200 % timeout per PO
6344 ],'Test sequential composition correctly dealt withby WD').
6345 cli_testcase(2030, [wd,wd_prover,sequences], ['../prob_examples/public_examples/B/Benchmarks/SeqLaws.mch',
6346 '-wd', 59, 59, '-timeout', 200 % timeout per PO
6347 ], 'Test all WD POs generated and discharged').
6348 cli_testcase(2031, [enabling,read_write], ['../prob_examples/public_examples/B/Benchmarks/CAN_BUS_tlc.mch',
6349 '-read_write_matrix_csv', '../prob_examples/public_examples/B/Benchmarks/CAN_BUS_tlc_rw_matrix.csv',
6350 '-strict'],
6351 'Check correct computation of read_write_matrix.').
6352 cli_testcase(2032, [b_test,records], ['../prob_examples/public_examples/B/FeatureChecks/AssignToRecordField.mch',
6353 '-t'
6354 ], 'Check that we can assign to the field of a record variable').
6355 cli_testcase(2033, [b_test,recursion,infinite], ['../prob_examples/public_examples/B/RecursiveFunctions/Tests/NFA_DFA_Explosion.mch',
6356 '-mc', 100
6357 ], 'Check that we total function check works for recursive function').
6358 cli_testcase(2034,[wd],[
6359 '-evalt', 'BOOL <<->> {TRUE} = {{(FALSE|->TRUE),(TRUE|->TRUE)}}',
6360 '-evalt', 'BOOL <->> {TRUE} = {{(FALSE|->TRUE)},{(FALSE|->TRUE),(TRUE|->TRUE)},{(TRUE|->TRUE)}}',
6361 '-evalt', 'BOOL <<-> {TRUE} = {{(FALSE|->TRUE),(TRUE|->TRUE)}}',
6362 '-evalt', '{TRUE} <<-> {BOOL} = {{(TRUE|->{FALSE,TRUE})}}',
6363 '-evalt', 'card((1..2)<<->BOOL) = 9',
6364 '-evalt', 'card((1..2)<<->>BOOL) = 7',
6365 '-evalt', 'card((1..2)<->>BOOL) = 9',
6366 '-evalt', 'card((1..5)<<->BOOL) = 3**5',
6367 '-evalt', 'card((1..5)<<->>BOOL) = 241',
6368 '-evalt', 'card((1..5)<->>BOOL) = 961',
6369 '-evalt', 'card((1..5)<->>BOOL) = card(BOOL <<-> (1..5))',
6370 '-evalt', 'card((1..8)<->>BOOL) = card(BOOL <<-> (1..8))',
6371 '-evalt', 'card((1..20)<<->BOOL) = 3486784401',
6372 '-evalt', 'card((1..20)<->>BOOL) = 1099509530625',
6373 '-evalt', 'card(BOOL<<->(1..20)) = 1099509530625',
6374 '-evalt', 'card((1..200)<<->{TRUE}) = 1'
6375 ], 'Check that Event-B special relation operators are supported').
6376 cli_testcase(2035, [cbc,bmc], ['../prob_examples/public_examples/B/CBC/DeadlockTest.mch', '-bdc', 5,
6377 '-expcterr', 'deadlock',
6378 '-his', '../prob_examples/public_examples/B/CBC/DeadlockTest_his.txt', '-his_option','show_states'
6379 ], 'Check new bounded deadlock checking command').
6380 cli_testcase(2036, [wd,wd_prover,sequences], ['../prob_examples/public_examples/B/ErrorMachines/FunLaws_wderror.mch',
6381 '-wd', 84, 90, '-timeout', 200, % timeout per PO
6382 '-silent' %-expcterr', 'well_def_analyser' % warnings for undischarged POs
6383 ], 'Test no cycle and timeout').
6384 cli_testcase(2037,[sequences],[ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
6385 '-evalt', 'cur = [1,2,3,4] & {pre,LHS | pre:seq(INTEGER) & LHS : {2,3,4} & cur = pre^[LHS]} = xx & [1,2,3]|->4:xx',
6386 '-evalt', 'cur = [1,2,3,4] & {pre,LHS | pre:seq(INTEGER) & LHS : {2,3,4} & cur = pre<-LHS} = xx & [1,2,3]|->4:xx',
6387 '-evalt', 'cur = [1,2,3,4] & {pre,RHS | pre:seq(INTEGER) & RHS : {1,3} & cur = RHS->pre} = xx & [2,3,4]|->1:xx',
6388 '-evalt', 'cur = [1,2,3,4] & {pre,post,LHS | LHS : {2,3} & cur = pre^([LHS]^post)} = xx & ran(xx)={2,3}',
6389 '-evalt', 'cur = [1,2,3,4] & {pre,post,LHS | LHS : {2,3} & cur = (pre^[LHS])^post} = xx & ran(xx)={2,3}'
6390 ], 'Check improved treatment of insert_tail and insert_front').
6391 cli_testcase(2038,[sequences,json_trace_replay],[ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
6392 '../prob_examples/public_examples/B/Mathematical/Info4/Kapitel3-CF/PDA/PDA_to_CFG.mch',
6393 '-trace_replay', 'json', '../prob_examples/public_examples/B/Mathematical/Info4/Kapitel3-CF/PDA/PDA_to_CFG.prob2trace'
6394 ], 'Check no enumeration warnings (insert_tail improvement)').
6395 cli_testcase(2039, [private_source_not_available], ['../private_examples/ClearSy/2020/03_Mar/wd_timeout/invalidRef_welldef.mch',
6396 '-wd', 616, 1132,
6397 % was 612/1132 until May 8th 2024 ba38a0d451ed87533a5c2df30edd2c16d35ef8c5 eval_set_extension improved,
6398 % was 620/1140 before 89519d2dc27ac03d4a6233dbe9fc4b6c2dcf3b50,
6399 % was 618/1148 was 711, and 714 before commit 5e3cb4b7 move assertions from LibraryFiles.mch to AssertionsForLibraryFiles.mch
6400 '-silent' %-expcterr', 'well_def_analyser' % warnings for undischarged POs
6401 ], 'Test performance on larger machine').
6402 cli_testcase(2040, [wd,wd_prover], ['../prob_examples/public_examples/EventBPrologPackages/EventB2Java/sort_m2_data400.mch',
6403 '-wd', 39, 39, '-timeout', 200 % timeout per PO
6404 ], 'Test machine with a lot of index computations').
6405 cli_testcase(2041, [wd,wd_prover], ['../prob_examples/public_examples/EventBPrologPackages/EventB2Java/sort_m2_data400_mch.eventb',
6406 '-wd', 43, 43, '-timeout', 200 % timeout per PO
6407 ], 'Test machine with a lot of index computations').
6408 cli_testcase(2042, [wd,wd_prover,records], ['../prob_examples/public_examples/EventBPrologPackages/Records/SampleThreeRecordsTranslated.mch',
6409 '-wd', 46, 46, '-timeout', 200 % timeout per PO
6410 ], 'Test machine with records and id usage').
6411 cli_testcase(2043, [wd,wd_prover], ['../prob_examples/public_examples/TLA/Consumer_Producer/buffer11_10_v3.mch',
6412 '-wd', 5, 5, '-timeout', 200 % timeout per PO
6413 ], 'Test machine with sequence manipulations').
6414 cli_testcase(2044, [wd,wd_prover], [ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
6415 '../prob_examples/public_examples/B/Tester/NastySetComprehensions.mch',
6416 '../prob_examples/public_examples/B/PerformanceTests/PartitionIntoComponentsTest2.mch',
6417 '../prob_examples/public_examples/B/Puzzles/EulerOfficers6.mch',
6418 '../prob_examples/public_examples/B/PerformanceTests/SAT_Tests/IceCream_kSAT.mch',
6419 '../prob_examples/public_examples/TLC/GOAL/RushHour_TLC.mch',
6420 '../prob_examples/public_examples/B/ABCD/TraceChecking/TravelAgency_TraceCheck.mch',
6421 '../prob_examples/public_examples/B/Tickets/Valerio1/BIT_DEFINITION.mch',
6422 '../prob_examples/public_examples/B/SymmetryReduction/Rubik_2by2_Sym.mch',
6423 '../prob_examples/public_examples/B/Puzzles/PeaceableQueens/NineQueensAndKingBW.mch',
6424 '../prob_examples/public_examples/B/TestCaseGeneration/Schleusen.mch',
6425 '../prob_examples/public_examples/B/BZTT/TestBZTT2.mch',
6426 '../prob_examples/public_examples/B/CBC/RiverCrossing_BMC.mch',
6427 '../prob_examples/public_examples/B/EventB/rodin_train_4.mch',
6428 '../prob_examples/public_examples/B/Mathematical/Voting/NoCondorcetWinnerKodkod.mch',
6429 '../prob_examples/public_examples/B/Laws/FunLawsWithLambda.mch',
6430 '../prob_examples/public_examples/B/PerformanceTests/SAT_Tests/ReificationCompTests.mch',
6431 '../prob_examples/public_examples/B/EventB/ETH_Elevator/elevator10.mch',
6432 '../prob_examples/public_examples/B/Benchmarks/SeqLaws.mch',
6433 '../prob_examples/public_examples/B/Compilers/LLParsingStaged.mch',
6434 '../prob_examples/public_examples/B/Puzzles/GardnerSwitchingPuzzle_v3.mch',
6435 % now no longer fully proven due to remove_finite rule made more conservative
6436 %'../prob_examples/public_examples/EventBPrologPackages/ProofDirected/benchmarks/mondex_m3.eventb',
6437 '../prob_examples/public_examples/TLC/NoError/USB_4Endpoints.mch',
6438 '../prob_examples/public_examples/EventBPrologPackages/ABZ_Landing_Gear_Journal/Ref3_ControllerSensors_mch_eventb.mch',
6439 '../prob_examples/public_examples/EventBPrologPackages/Advance/Safety_Metro_23_08_2012/EmergencyDoors_M2_mch.eventb',
6440 '../prob_examples/public_examples/EventBPrologPackages/platoon/platoon_3_0_mch.eventb',
6441 '-wd-check-all', '-global_time_out', 400 % time out per PO
6442 ], 'Test machine with sequence manipulations').
6443 cli_testcase(2045, [b_test,kodkod], ['../prob_examples/public_examples/B/Kodkod/GraphMiningSimple.mch', '-strict', '-p','TIME_OUT',1000, '-p', 'SOLVER_FOR_PROPERTIES', 'kodkod', '-p', 'KODKOD_RAISE_WARNINGS', 'TRUE', '-properties'], 'Check that Kodkod translator works for LET expressions.').
6444 cli_testcase(2046, [csp_test], ['../prob_examples/public_examples/CSP/mydemos/ReplicatedLinkedParallel.csp', '-nodead', '-mc', 100, '-assertions'], 'Test order of replicated linked parallel processes').
6445 cli_testcase(2047,[wd,wd_prover],[ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
6446 '-evalt', ':prove x:INTEGER & (x>y & y>z) => x>=z',
6447 '-evalu', ':prove x:INTEGER & (x>y & z>y) => x>=z',
6448 '-evalt', ':prove 2>1',
6449 '-evalt', ':prove (x:STRING & x/=y) => y/=x',
6450 '-evalt', ':prove x+1>=x',
6451 '-evalt', ':prove x/=1+x',
6452 '-evalt', ':prove x+2>x',
6453 '-evalt', ':prove x>x-1',
6454 '-evalt', ':prove (x:1..10 & f:1..11 --> BOOL => x:dom(f))',
6455 '-evalu', ':prove (x<:STRING) => (x <<: x)',
6456 '-evalt', ':prove (x<:STRING) => (x <: x)',
6457 '-evalt', ':prove (x<:STRING) => (x /\\ y <: x)',
6458 '-evalu', ':prove (x<:STRING) => (x \\/ y <: x)',
6459 '-evalt', ':prove (x<:STRING) => (x <: x \\/ y)',
6460 '-evalt', ':prove (x<:STRING & y={} ) => (x \\/ y <: x)',
6461 '-evalt', ':prove (x<y => x:x..y)',
6462 '-evalt', ':prove (x<=y => x:x..y)',
6463 '-evalu', ':prove (x>y => x:x..y)',
6464 '-evalt', ':prove (z:x..y => x:x..y)',
6465 '-evalu', ':prove (z:y..y => x:x..y)',
6466 '-evalt', ':prove (a>0 => 10+a>=10)',
6467 %'-evalt', ':prove (a>0 & b=10 => b+a>=b)', % TO DO
6468 '-evalt', ':prove (b>0 => a mod b <= b)',
6469 %'-evalt', ':prove (b>0 => a mod b < b)', % TO DO
6470 '-evalu', ':prove (x:1..n & n>1 => (x+1) mod n : 1..(n))', % mod could be 0
6471 '-evalt', ':prove (x:1..n & n>1 => (x+1) mod n : 0..(n))',
6472 '-evalu', ':prove (x:1..n & n>1 => (x+1) mod n : 0..(n-2))', % interval could be empty
6473 '-evalt', ':prove (x:1..n & n>1 => (x+1) mod n : 0..(n-1))',
6474 '-evalt', ':prove x:INTEGER & x<y & y<z => x < z',
6475 '-evalt', ':prove x:INTEGER & x<y & y<=z => x < z', % TO DO: x<=y & y<z => x < z
6476 '-evalu', ':prove x:INTEGER & x<=y & y<=z => x < z',
6477 '-evalt', ':prove (r : ran(V) & V: BOOL --> AType & AType = struct(attrs: STRING +-> STRING) ) => r\'attrs : (STRING) +-> (STRING)',
6478 '-evalt', ':prove a:NATURAL1 +-> BOOL & a/={} & dom(a)=1..n => 1:dom(a)',
6479 '-evalt', ':prove a:1..n --> BOOL & a/={} => 1:dom(a)',
6480 '-evalt', ':prove a:1..n >-> BOOL & a/={} => 1:dom(a)',
6481 '-evalu', ':prove a:1..n +-> BOOL & a/={} => 1:dom(a)',
6482 '-evalt', ':prove (A: BOOL+->BOOL & dom(A)={TRUE} => A /= {})',
6483 '-evalt', ':prove a:perm(BOOL) => 1:dom(a)',
6484 '-evalt', ':prove a:perm(BOOL) => 2:dom(a)',
6485 '-evalu', ':prove a:perm(BOOL) => 3:dom(a)',
6486 '-evalu', ':prove a:perm(BOOL) => 0:dom(a)',
6487 '-evalt', ':prove not(x=7) or not(x=3)',
6488 '-evalt', ':prove x=TRUE => x /= FALSE',
6489 '-evalt', ':prove x="TRUE" => x /= "FALSE"',
6490 '-evalu', ':prove (x="T" or x="F")',
6491 '-evalt', ':prove (x=TRUE or x=FALSE)',
6492 '-evalt', ':prove i={2} => i/={1}',
6493 '-evalt', ':prove i={2} => i/={1,3}',
6494 '-evalt', ':prove i={2,4} => i/={1}',
6495 '-evalu', ':prove i={2,4} => i/={4,2}',
6496 '-evalu', ':prove i={2,4} => i/={4,z}',
6497 '-evalu', ':prove {1,2}/={2,z1,z2,z3}',
6498 '-evalt', ':prove {1,2,4} /= {1,2,5} & {1,2,4} /= {xx,yy}',
6499 '-evalt', ':prove 1 < z => - z <= -2',
6500 '-evalu', ':prove 1 < z => - z < -2',
6501 '-evalt', ':prove z>2 => -3* z < -6',
6502 '-evalt', ':prove z>=3 => -3* z <= -9',
6503 '-evalu', ':prove z>=3 => -3* z <= -10',
6504 '-evalt', ':prove z <= 1 => 3*z <= 4',
6505 '-evalu', ':prove z <= 2 => 3*z <= 4',
6506 '-evalu', ':prove z <= -1 => 3*z <= -4',
6507 '-evalt', ':prove z <= -2 => 3*z <= -4',
6508 '-evalt', ':prove z <= -2 => 3*z <= -5',
6509 '-evalt', ':prove z <= -34 => 3*z <= -100',
6510 '-evalu', ':prove z <= -33 => 3*z <= -100',
6511 '-evalt', ':prove x>=6 => 11 <= 2*x',
6512 '-evalt', ':prove x>=5 => 10 <= 2*x',
6513 '-evalu', ':prove x>=5 => 11 <= 2*x',
6514 '-evalt', ':prove x>=-5 => -11 <= 2*x',
6515 '-evalt', ':prove z>=4 => (-3*z <= -10 & -3*z <= -12)',
6516 '-evalu', ':prove z>=3 => -3*z <= -10',
6517 '-evalt', ':prove x:INTEGER & -x>=-y => x <= y',
6518 '-evalt', ':prove x:INTEGER & x>y => -x < -y',
6519 '-evalt', ':prove not(- lo755 <= -1) or - lo755 <= 0',
6520 '-evalt', ':prove li2 <= 4 & -li2 <= -4 => not(li2 <= 0)',
6521 '-evalt', ':prove not(li2 <= 1) or (not(- li2 <= -1) or not(li2 <= 0))',
6522 '-evalt', ':prove (not(li2 <= 1) or not(- li2 <= -1)) or not(li2 <= 0)',
6523 '-evalt', ':prove ((x>0 => y>0) & x>0) => y>0',
6524 '-evalt', ':prove f:BOOL<->BOOL & (x<:dom(f) or x<:dom(g)) => x <: dom(f\\/g)',
6525 '-evalt', ':prove f:BOOL<->BOOL & (x:dom(f) or x:dom(g)) => x : dom(f\\/g)',
6526 '-evalt', ':prove !(x,f).(f:INTEGER +-> INTEGER => x:dom(f <+ {x|->x}))',
6527 '-evalt', ':prove !(x,y).(x<:INTEGER & x<:y & y<:x => y=x)',
6528 '-evalt', ':prove f:BOOL --> 0..n & p>f(TRUE) => p>=1',
6529 '-evalu', ':prove f:BOOL --> 0..n & p>f(TRUE) => p>=2',
6530 '-evalt', ':prove f:BOOL --> 1..n & p>f(TRUE) => p>=2',
6531 '-evalt', ':prove p>l1(niz) & p<=l2(niz) & l1:BOOL --> 1..TE & l2:BOOL-->1..TE & TE:NATURAL1 => ( p-1:1..TE )',
6532 '-evalt', ':prove f:BOOL --> 0..10 & p<f(TRUE) => p<=9',
6533 '-evalt', ':prove f:BOOL --> 0..10 & p<f(TRUE) => p+1<=10',
6534 '-evalt', ':prove f:BOOL --> 0..n & p<f(TRUE) => p+1<=n',
6535 '-evalt', ':prove f:BOOL --> m..n & p>f(TRUE) => p-1>=m',
6536 '-evalt', ':prove x>y => x/: 1..y',
6537 '-evalt', ':prove 10 <= n1 & 10 <= n2 => 20 <= n1+n2',
6538 '-evalu', ':prove 1 <= n1 & 1 <= n2 => 3 <= n1+n2',
6539 '-evalt', ':prove 1 <= n1 & 1 <= n2 => 2 <= n1+n2',
6540 '-evalu', ':prove -2 <= n1 & -2 <= n2 => -3 <= n1+n2',
6541 '-evalt', ':prove -1 <= n1 & -1 <= n2 => -3 <= n1+n2',
6542 '-evalu', ':prove 5 >= n1 & 5 >= n2 => 9 >= n1+n2',
6543 '-evalt', ':prove 10 >= n1 & 10 >= n2 => 20 >= n1+n2',
6544 '-evalu', ':prove -1 >= n1 & -1 >= n2 => -3 >= n1+n2',
6545 '-evalt', ':prove -1 >= n1 & -1 >= n2 => -2 >= n1+n2',
6546 '-evalu', ':prove x<= y & z <= y => x+z <= 1*y',
6547 '-evalt', ':prove x<= y & z <= y => x+z <= 2*y',
6548 '-evalt', ':prove x:INTEGER & x<= y1 & z <= y2 => x+z <= y1+y2',
6549 '-evalt', ':prove x:INTEGER & x<= y1 & z <= y2 => x+z <= y2+y1',
6550 '-evalt', ':prove a:INTEGER & a>=b & c>=d => a+c >= b+d',
6551 % :prove x:INTEGER & x<= y2 & z <= y1 => x+z <= y2+y1 % would require decompose_floor to be non-det
6552 % :prove (x>y & y>z) => x/=z % TO DO
6553 '-evalt', ':prove x=3 => not( x=3 => x=2)',
6554 '-evalt', ':prove x=2 => x=2',
6555 '-evalu', ':prove x=2 => x=3',
6556 '-evalu', ':prove not(x=3 => x=2)',
6557 '-evalt', ':prove (s2 = s \\/ {0} & s3 = s \\/ {0} & s4 = s2 \\/ {1} & s5 = s3 \\/ {1}) => s4 = s5',
6558 '-evalt', ':prove a={1|->11,2|->22} & b={1|->33,4|->44} & ab= a><b => 1:dom(ab)',
6559 '-evalu', ':prove a={1|->11,2|->22} & b={1|->33,4|->44} & ab= a><b => dom(ab) <: 2..4',
6560 '-evalt', ':prove a={1|->11,2|->22} & b={1|->33,4|->44} & ab= a><b => dom(ab) <: 1..4',
6561 '-evalt', ':prove f=%x.(x:1..10|x) & g=%y.(y:5..15|y+1) & fg=f><g & a:5..10 => a:dom(fg)',
6562 '-evalt', ':prove f=%x.(x:1..10|x+xx) & g=%y.(y:5..15|y+yy) & fg=f><g & a:5..10 => a:dom(fg)',
6563 '-evalu', ':prove f=%x.(x:1..10|x+xx) & g=%y.(y:5..zz|y+yy) & fg=f><g & a:5..10 & zz>=9 => a:dom(fg)',
6564 '-evalt', ':prove f=%x.(x:1..10|x+xx) & g=%y.(y:5..zz|y+yy) & fg=f><g & a:5..10 & zz>=10 => a:dom(fg)',
6565 '-evalt', ':prove {A,B,C} <: POW(INTEGER) & a:A+->B & b:A+->C => dom(a><b) <: A',
6566 '-evalt', ':prove {A,B,C} <: POW(INTEGER) & a:A+->B & b:A+->C => a><b : A+->(INTEGER*INTEGER)',
6567 '-evalt', ':prove f=%x.(x:INTEGER|{TRUE|->1,FALSE|->0}(bool(x>0))) => f(a):0..1',
6568 '-evalt', ':prove f=%x.(x:INTEGER|IF (x>0) THEN 0 ELSE 1 END) => f(a):0..1',
6569 '-evalt', ':prove f=%x.(x:INTEGER|IF (x>0) THEN -1 ELSE 1 END) => f(a):{-1,1}',
6570 '-evalu', ':prove a=0 & f=%a.(a:0..3|a) & x:0..10 => x:dom(f)',
6571 '-evalu', ':prove a:0..1 & f=%a.(a:2..3|a) => f(x) : 0..1',
6572 '-evalt', ':prove a:0..1 & f=%b.(b:2..3|a) => f(x) : 0..1',
6573 '-evalu', ':prove x:1..10 & y:1..11 => max({x,y}) : 1..10',
6574 '-evalt', ':prove x:1..10 & y:1..10 => max({x,y}) : 1..10',
6575 '-evalt', ':prove f = %x.(x:INTEGER|max({x,-x})) => f(y) >=0',
6576 '-evalt', ':prove f = %x.(x:INTEGER|max({-x,x})) => f(y) >=0',
6577 '-evalu', ':prove f:BOOL +-> BOOL & x|->TRUE /: (f) => f \\/ {x|->TRUE} : BOOL +-> BOOL', %% WRONG
6578 % '-evalt', ':prove f:BOOL +-> BOOL & x /: dom(f) => f \\/ {x|->TRUE} : BOOL +-> BOOL', %% NOT yet proven
6579 '-evalt', ':prove f:BOOL +-> BOOL & g <: f => f \\/ g : BOOL +-> BOOL',
6580 '-evalt', ':prove f:BOOL +-> BOOL & g <: f => g \\/ f : BOOL +-> BOOL',
6581 '-evalt', ':prove f:BOOL +-> BOOL & g <: f => f \\/ f : BOOL +-> BOOL',
6582 '-evalt', ':prove f:BOOL +-> BOOL & g <: f => g \\/ g : BOOL +-> BOOL',
6583 '-evalt', ':prove f:{FALSE} +-> BOOL => f \\/ {TRUE|->x} : BOOL +-> BOOL',
6584 '-evalt', ':prove f:BOOL +-> BOOL & x /: dom(f) => f \\/ {x|->TRUE} : BOOL +-> BOOL',
6585 '-evalt', ':prove f:BOOL +-> BOOL & x /: a & a=dom(f) => f \\/ {x|->TRUE} : BOOL +-> BOOL',
6586 '-evalt', ':prove a /\\ b = {} & a<:BOOL => (a-c) /\\ b = {}',
6587 '-evalt', ':prove a /\\ b = {} & a<:BOOL => (a-{x}) /\\ b = {}',
6588 '-evalt', ':prove a /\\ b = {} & a<:BOOL & a2 = a -{x} => b /\\ a2 = {}',
6589 '-evalt', ':prove a /\\ b = {} & a<:BOOL & a2 = a -{x} & b2=b => a2 /\\ b2 = {}',
6590 '-evalt', ':prove a <: b & b<:BOOL & B2 = b \\/ {x} => a<:B2',
6591 '-evalt', ':prove f:BOOL<->BOOL & f[a] <: b & b<:BOOL & B2 = b \\/ {x} => f[a]<:B2',
6592 '-evalt', ':prove T2_readpriority : NATURAL & BUSwrite : NATURAL +-> INTEGER & 0 : dom(BUSwrite) & T2_readpriority:dom(BUSwrite) & BUSwrite2 = BUSwrite <+ {ppriority |-> pv} => (T2_readpriority:dom(BUSwrite2))',
6593 '-evalt', ':prove NS=1..5 & BW:NS+->INTEGER & pmax=max(dom(BW)) => pmax>0',
6594 '-evalt', ':prove NS=1..5 & BW:NS+->INTEGER & B=pmax & v=BW(pmax) & pmax=max(dom(BW)) => B>0',
6595 '-evalt', ':prove A<:INT & f:A+->A => B <| f : A+->A',
6596 '-evalt', ':prove A<:INT & f:A+->A => B <<| f : A+->A',
6597 '-evalt', ':prove A<:INT & f:A+->A => f |> B : A+->A',
6598 '-evalt', ':prove A<:INT & f:A+->A => f |>> B : A+->A',
6599 '-evalt', ':prove A<:INT & f:A+->A => B <| f |> C : A+->A',
6600 '-evalt', ':prove x:1..5 & y:1..10 => !z.(z:x..y => z>=1)',
6601 '-evalt', ':prove x:1..5 & y:1..10 & z:0..3 => !z.(z:x..y => z>=1)',
6602 '-evalt', ':prove x:1..5 & y:1..10 & z:2..3 => !z.(z:x..y => z>=1)',
6603 '-evalu', ':prove x:1..5 & y:1..10 & z:2..3 => !z.(z:x..y => z>=2)',
6604 '-evalt', ':prove c<: INTEGER & a <: b & b<: c => a <: b',
6605 '-evalu', ':prove c<: INTEGER & a <: b & b<: c => c <: b',
6606 % '-evalt', ':prove a:0..1 & f=%b.(b:2..3|b) => f(x) : 2..3', % TO DO: add b:2..3 to hyps
6607 '-timeout', 200 % timeout per PO
6608 ], 'Test WD prover directly').
6609 cli_testcase(2048,[cbc],[ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
6610 '-evalt', 'dom(%(x,y,z).(x:BOOL & y:11..22 & z:BOOL|1)) = (X*A)*Z',
6611 '-evalf', 'dom(%(x,y,z).(x:BOOL & y:11..22 & z:BOOL|1)) \\/ {(TRUE,33,TRUE)} = (X*A)*Z',
6612 '-evalt', 'dom(%(x,y,z).(x:BOOL & y:11..22 & z:BOOL|1)) \\/ (BOOL*{33})*BOOL = (X*A)*Z',
6613 '-evalt', 'dom(%(x,y,z).(x:BOOL & y:11..22 & z:BOOL|1)) \\/ (BOOL*{33})*{TRUE} /= (BOOL*(1..1000000))*BOOL',
6614 '-evalt', 'dom(%(x,y,z).(x:BOOL & y:11..11 & z:BOOL|1)) \\/ (BOOL*{11})*{TRUE,FALSE} = (XX*AA)*XX',
6615 '-evalt', 'dom(%(x,y,z).(x:BOOL & y:11..22 & z:BOOL|1)) \\/ {(TRUE,33,TRUE)} = (X*A)*X <=> (A /= {100} or X/={TRUE})',
6616 '-evalt', 'avl = {1|->2, 1|->3} & avl = A*B',
6617 '-evalt', 'avl = {(1|->2),(1|->33),(2|->2),(2|->33)} & avl = A*B',
6618 '-evalt', 'avl = {(1|->2),(1|->33),(2|->2),(2|->33),(44|->2),(44|->33)} & avl = A*B',
6619 '-evalf', 'avl = {1|->2, 2|->3} & avl = A*B',
6620 '-evalf', 'avl = {1|->2, 1|->3, 2|->2} & avl = A*B',
6621 '-evalf', 'avl = {(1|->2),(1|->33),(2|->2),(2|->33),(44|->2),(44|->33),(44|->44)} & avl = A*B',
6622 '-evalf', 'avl = {(1|->2),(1|->33),(2|->2),(2|->33),(44|->2)} & avl = A*B',
6623 '-evalf', 'avl = {(1|->2),(1|->33),(2|->2),(44|->2),(44|->33)} & avl = A*B',
6624 '-evalf', 'avl = {(1|->2),(1|->33),(2|->33),(44|->2),(44|->33)} & avl = A*B',
6625 '-p', 'DATA_VALIDATION', 'TRUE'
6626 ], 'Test improved cartesian product equality').
6627 cli_testcase(2049,[kodkod],[ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE', '-p', 'KODKOD_RAISE_WARNINGS', 'TRUE',
6628 '-evalt', ':kodkod-double-check A={1,2,44} & B={2,33} & avl = {1|->2, 1|->33, 2|->2, 2|->33, 44|->2, 44|->33} & avl = A*B',
6629 '-evalt', ':kodkod-double-check A={1,2,44} & avl = {1|->2, 1|->33, 2|->2, 2|->33, 44|->2, 44|->33} & avl = A*B',
6630 '-evalt', ':kodkod-double-check avl = {1|->2, 1|->33, 2|->2, 2|->33, 44|->2, 44|->33} & avl = A*B',
6631 '-evalt', ':kodkod-double-check x = {1|->TRUE,2|->TRUE,5|->TRUE} & x=a*b',
6632 '-evalf', ':kodkod-double-check x = BOOL*BOOL*{TRUE} \\/ {(TRUE,TRUE,FALSE)} & x=a*b',
6633 '-evalt', ':kodkod-double-check x = BOOL*BOOL*BOOL & x=a*b'
6634 ], 'Test corrected cartesian product kodkod propagation rule').
6635 cli_testcase(2050, [b_test,enabling], ['../prob_examples/public_examples/B/Tester/ReadWriteAnalysis/BecomesSuchTest.mch',
6636 '-read_write_matrix_csv', '../prob_examples/public_examples/B/Tester/ReadWriteAnalysis/BecomesSuchTest_rw.csv'
6637 ], 'Check that read write analysis works for becomes such').
6638 cli_testcase(2051, [b_test,enabling], ['../prob_examples/public_examples/B/Tester/ReadWriteAnalysis/BecomesSuchTest2.mch',
6639 '-read_write_matrix_csv', '../prob_examples/public_examples/B/Tester/ReadWriteAnalysis/BecomesSuchTest2_rw.csv'
6640 ], 'Check that read write analysis works for becomes such').
6641 cli_testcase(2052, [wd,wd_prover], [ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
6642 '../prob_examples/examples/B/ClearSy/cbi/sydb.mch',
6643 '-wd-check-all', '-timeout', 200 % timeout per PO
6644 ], 'Test private machines can be proven 100%').
6645 cli_testcase(2053,[cbc],[ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
6646 '-evalf', ':core (A=TRUE or B=TRUE) & (A=TRUE or C=FALSE) & (A=FALSE or B=FALSE) & (B=TRUE or C=FALSE) & (A=FALSE or B=FALSE) & (A=FALSE or B=TRUE) & (B=FALSE or C=TRUE)',
6647 '-evalf', ':core x > 1 & x>2 & x>0 & x <10 & y > x & x > z & z > y & z <12 & y > 2',
6648 '-evalf', ':core LET a BE a=x+10 IN y<a & y<100 & y>0 & y>a END',
6649 '-evalf', ':core x>2 & y>2 & z>2 & y<2 & z<2 & x<2',
6650 '-evalf', ':cores x>2 & y>2 & z>2 & y<2 & z<2 & x<2',
6651 '-evalf', ':cores not(x<10 or x>=10 or z>0)',
6652 '-evalf', ':cores not(x<10 or x>=10 or z>0 or x>9)',
6653 '-evalf', ':min-core x>1 & x<y & y<z & z<2 & x<2',
6654 '-evalf', ':min-core x>2 & y>2 & z>2 & y<2 & z<2 & x<v & v<2 & x+y+v /= 0',
6655 '-evalf', ':core (x=TRUE => (y>1 & z>1)) & y<0 & (x=FALSE => (y>1 & z<1))'
6656 % '-evalf', ':core x>0 & 10/(x*x) < 1 & x<4' % we need to clear WD error !
6657 % '-evalu', ':core x<: POW(BOOL) & x={} & card(res)>1 & res = inter(x) '
6658 ], 'Test unsat core computation').
6659 cli_testcase(2054,[cbc,tickets],[ '-p', 'NORMALIZE_AST', 'TRUE', '-p', 'OPTIMIZE_AST', 'TRUE',
6660 '-evalt', '(# /* LET */ (v_1,v_0).( v_1=(8388608 + (P_4 * 2097152 + P_5)) & v_0=((IF P_9 = TRUE THEN 16 ELSE 0 END) + P_10) & (# /* LET */ (v_2).( v_2=bool(mux_I_87477 + v_1 * (3 * - 1) * 64 + P_6 + mux_I_87463 * P_8 + ((IF v_0 < 16 THEN v_0 ELSE v_0 - 32 END) * v_1 * 4 + 0) < 0) & 2 * dz + 1 = (IF not(mux_I_87448 = 0) & v_2 = TRUE THEN 1 ELSE 0 END) - (IF v_2 = TRUE THEN 1 ELSE 0 END))))) & mux_I_87463 <= 15 & 0 <= mux_I_87463 & mux_I_87477 <= 1073741823 & 1073741824 * - 1 <= mux_I_87477 & mux_I_87448 <= 4398046511103 & 0 <= mux_I_87448 & P_10 <= 15 & 0 <= P_10 & P_8 <= 58720268 & 0 <= P_8 & P_7 <= 15 & 0 <= P_7 & P_6 <= 3848290795520 & 0 <= P_6 & P_5 <= 3 & 0 <= P_5 & P_4 <= 3 & 0 <= P_4 & P_3 <= 1 * - 1 & 939524288 * - 1 <= P_3 & P_2 <= 43 & 0 <= P_2'
6661 ], 'Test unsat normalize AST issue fixed').
6662 cli_testcase(2055,[smt_solver_integration],[ '-p', 'NORMALIZE_AST', 'TRUE', '-p', 'OPTIMIZE_AST', 'TRUE',
6663 '-p', 'TIME_OUT', '10000',
6664 '-evalt', ':z3-double-check (# /* LET */ (v_1,v_0).( v_1=(8388608 + (P_4 * 2097152 + P_5)) & v_0=((IF P_9 = TRUE THEN 16 ELSE 0 END) + P_10) & (# /* LET */ (v_2).( v_2=bool(mux_I_87477 + v_1 * (3 * - 1) * 64 + P_6 + mux_I_87463 * P_8 + ((IF v_0 < 16 THEN v_0 ELSE v_0 - 32 END) * v_1 * 4 + 0) < 0) & 2 * dz + 1 = (IF not(mux_I_87448 = 0) & v_2 = TRUE THEN 1 ELSE 0 END) - (IF v_2 = TRUE THEN 1 ELSE 0 END))))) & mux_I_87463 <= 15 & 0 <= mux_I_87463 & mux_I_87477 <= 1073741823 & 1073741824 * - 1 <= mux_I_87477 & mux_I_87448 <= 4398046511103 & 0 <= mux_I_87448 & P_10 <= 15 & 0 <= P_10 & P_8 <= 58720268 & 0 <= P_8 & P_7 <= 15 & 0 <= P_7 & P_6 <= 3848290795520 & 0 <= P_6 & P_5 <= 3 & 0 <= P_5 & P_4 <= 3 & 0 <= P_4 & P_3 <= 1 * - 1 & 939524288 * - 1 <= P_3 & P_2 <= 43 & 0 <= P_2'
6665 ], 'Test overflow issue in Z3 interface solved').
6666 cli_testcase(2056,[chr,tickets],[ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE', '-p', 'CHR', 'TRUE',
6667 '-evalt', 'c1<c2 & x>=-5000 & c1+c2+x < -5000 & c1=-1 & c2=0'
6668 ], 'Test bug in CHR/clpfd_check_geq_nr fixed').
6669 cli_testcase(2057, [external, reals], [ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
6670 '../prob_examples/public_examples/B/NewSyntax/Reals/RealExternalFunctions.mch',
6671 '-evalt', 'r = /*@symbolic*/ {f|f/=1.0} & 2.0 : r',
6672 '-assertions'
6673 ], 'Test new features on reals').
6674 cli_testcase(2058,[cse,tickets],[ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE', '-p', 'CSE', 'TRUE',
6675 '-evalt', 'cc=0 & CUST=1..3 & tokens:CUST+->0..3 & not(cc:dom(tokens) & (tokens(cc)<3 => tokens<+{(cc,tokens(cc)+1)}:CUST+->0..3))'
6676 ], 'Test bug in CSE and compiling of lazy_lookup with non-WD expression fixed').
6677 cli_testcase(2059,[cse,tickets],[ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE', '-p', 'CSE', 'TRUE',
6678 '../prob_examples/public_examples/B/Laws/BoolLaws.mch',
6679 '-evalt', 'bool(not(pt or qt))=bool(not(pt) & not(qt)) & bool(not(PP=TRUE or TRUE=TRUE))=bool(not(QQ=TRUE) & not(TRUE=TRUE))'
6680 ], 'Test bug in CSE and double negation (and negated_cse info) fixed').
6681 cli_testcase(2060, [smt_solver_integration], [
6682 '../prob_examples/public_examples/B/Benchmarks/phonebook7.mch', % for SETS NAME, Code = {c1,c2,c3,c4}
6683 '-eval', ':z3-version',
6684 '-evalt', ':z3-double-check a<:{11}*{TRUE} & x:a',
6685 '-evalt', ':z3-double-check x = 2',
6686 '-evalt', ':z3-double-check a<:-1..3 & -1:a',
6687 '-evalf', ':z3-double-check a<:-1..3 & -2:a',
6688 '-evalt', ':z3-double-check x:BOOL & x=y',
6689 '-evalt', ':z3-double-check x:INTEGER & x=y',
6690 '-evalt', ':z3-double-check a<:(1..3)*{22} & x:a',
6691 %'-evalt', ':z3 a<:(1..n)*{22} & n:0..2 & x:a',
6692 '-evalt', ':z3-double-check x ={1|->TRUE, 2|->FALSE} & y=x', % ISSUE SSIMT-2
6693
6694 % some :prove examples from test 2047
6695 '-evalt', ':z3 x:INTEGER & (x>y & y>z) => x>=z',
6696 '-evalt', ':z3 !(x,y,z).(x:INTEGER & (x>=y & y>z) => x>z)',
6697 '-evalt', ':z3 !(x,y,z).(x:INTEGER & (x>y & y>=z) => x>z)',
6698 '-evalf', ':z3 !(x,y,z).(x:INTEGER & (x>=y & y>=z) => x>z)',
6699 '-evalt', ':z3 !x.(x:INTEGER => x+1>=x)',
6700 '-evalt', ':z3 !x.(x:INTEGER => x/=1+x)',
6701 '-evalt', ':z3 !x.(x:INTEGER => x>x-1)',
6702 %'-evalt', ':z3 !(x,f).(x:1..10 & f:1..11 --> BOOL => x:dom(f))', % UNKNOWN
6703 '-evalt', ':z3 !(x,y).(x:INTEGER & x<y => x:x..y)',
6704 '-evalt', ':z3 !(x,y).(x:INTEGER & x<=y => x:x..y)',
6705 '-evalf', ':z3 !(x,y).(x:INTEGER & x>y => x:x..y)',
6706 '-evalt', ':z3 !(x,y,z).(x:INTEGER & z:x..y => x:x..y)',
6707 '-evalf', ':z3 !(x,y,z).(x:INTEGER & z:y..y => x:x..y)',
6708 '-evalt', ':z3 !a.(a:INTEGER & a>0 => 10+a>=10)',
6709 '-evalt', ':z3 !(a,b).(a:INTEGER & a>=0 & b>0 => a mod b <= b)',
6710 '-evalt', ':z3 !(a,b).(a:INTEGER => a mod b <= b)',
6711 % :z3 !(x,n).(x:1..n & n>1 => (x+1) mod n : 1..(n)) % UNKNOWN
6712 '-evalt', ':z3 !(x,y,z).(x:INTEGER & x<y & y<z => x < z)',
6713 % :z3 !(a,n).(a:NATURAL1 +-> BOOL & a/={} & dom(a)=1..n => 1:dom(a)) % UNKNOWN
6714 % :z3 !(x,f).(f:INTEGER +-> INTEGER => x:dom(f <+ {x|->x})) % UNKNOWN
6715 % :z3 !(x,f).(f:1..10 --> INTEGER & x>1 & x<10 => x:dom(f)) % UNKNOWN
6716 '-evalt', ':z3 !(x,y).(x<:INTEGER & x<:y & y<:x => y=x)',
6717
6718 % examples using enumerated/deferred sets
6719 '-evalt', ':z3-double-check res = {c1} \\/ ({c2} /\\ {c1})',
6720 '-evalt', ':z3-double-check res = {c1} \\/ ({c2} \\ {c1})',
6721 '-evalt', ':z3-double-check not(c1:res) & not(c2:res) & c3:res',
6722
6723 '-evalt', ':z3-double-check x =[2,3] & y=x~ & d = {v|#(w).(w:{3} & (w,v):y)}',
6724 '-evalt', ':z3-double-check x =[2,3] & y=x~ & d = y[{3,4}]', % z3 sometimes reports d = {z_|z_ /: {1}} instead of d = {2} here and double-check fails
6725 '-evalt', ':z3 x =[2,3] & d = x~[{3,4}]',
6726
6727 '-evalt', ':z3-double-check x ={1|->TRUE, 2|->FALSE} & y=x~',
6728 '-evalt', ':z3-double-check x ={1|->TRUE, 2|->FALSE} & y= {TRUE|->FALSE}',
6729 '-evalt', ':z3-double-check x = %i.(i:1..10|i+i) & x[{5,j}]={16,10}',
6730 '-evalt', ':z3 dom({1|->1}/\\{2|->3}) = {}',
6731 '-evalt', ':z3-double-check ((IF id0 /= 0.0 THEN {1,2,3} ELSE inter({}) END) /<: {})',
6732 '-evalt', ':z3-double-check id0 : POW(POW(REAL)) & id1 : POW(INTEGER * POW(REAL)) & id3 : POW(INTEGER * (POW(INTEGER * POW(INTEGER * BOOL)) * POW(INTEGER * POW(INTEGER * (POW(INTEGER * (POW(INTEGER * REAL) * REAL)) * POW(INTEGER * POW(INTEGER * POW(INTEGER * INTEGER)))))))) * INTEGER * INTEGER & not(id0 /= {} & (id1 : seq1(POW(REAL)) & (inter(id0) - first(id1) /= {} & inter(id0) - first(id1) : FIN(inter(id0) - first(id1)) & /* falsity */ {} /= {})) & max(inter(id0) - first(id1)) < MU({}) * real(prj2(id3)))',
6733 '-evalt', ':z3-double-check id0 : POW(BOOL * POW(REAL)) & not(id0 /= {} & id0 : FIN(id0) & card(id0) <= 1 & (prj2(MU(id0)) /= {} & prj2(MU(id0)) : FIN(prj2(MU(id0))) & card(prj2(MU(id0))) <= 1 & /* falsity */ {} /= {}) & MU(prj2(MU(id0))) < - min({}))',
6734 '-evalt', ':z3-double-check id0 : REAL * INTEGER & id1 : REAL & id10 : REAL & id11 : POW(POW(POW(INTEGER * BOOL))) & id2 : REAL & id3 : POW(INTEGER * POW(INTEGER * INTEGER)) & id4 : INTEGER & id5 : POW(INTEGER * INTEGER) & id9 : POW(INTEGER * (REAL * INTEGER)) & not(id10 <= id10 & iseq(BOOL) <: union(id11) & ((id1 < 0.0 => 84.55477380542352 = real(floor(84.55477380542352))) & ((id1 = 0.0 => 0.0 <= 84.55477380542352) & (- id2 /= 0.0 & (RPOW(id1,84.55477380542352) / - id2 : dom({id0,id0} <+ {}) & ({id0,id0} <+ {} : REAL +-> INTEGER & ((pred : FIN(pred) => id3 : seq1(POW(INTEGER * INTEGER))) & ((not(pred : FIN(pred)) => id5 : seq(INTEGER)) & ((IF pred : FIN(pred) THEN first(id3) ELSE id4 -> id5 END) : seq1(INTEGER) & /* falsity */ -2548 > 0))))))) & ({id0,id0} <+ {})(RPOW(id1,84.55477380542352) / - id2) + first(IF pred : FIN(pred) THEN first(id3) ELSE id4 -> id5 END) = prj2(last(id9)) mod -2548))',
6735 '-evalt', ':z3-double-check id0 : POW(INTEGER * POW(INTEGER * INTEGER)) & id1 : INTEGER & id2 : POW(INTEGER * INTEGER) & not(id1 : dom(id0) & (id0 : INTEGER +-> POW(INTEGER * INTEGER) & (id2 : seq1(INTEGER) & (id0(id1) : seq(INTEGER) & (id0(id1) ^ front(id2) : seq1(INTEGER) & /* falsity */ -40 > 0)))) & last(id0(id1) ^ front(id2)) > - ((MININT + 1) mod -40))',
6736 '-evalt', ':z3-double-check id0 : POW(INTEGER * POW(INTEGER * INTEGER)) & id1 : INTEGER & id2 : POW(INTEGER * INTEGER) & not(id1 : dom(id0) & (id0 : INTEGER +-> POW(INTEGER * INTEGER) & (id2 : seq1(INTEGER) & (id0(id1) : seq(INTEGER) & (id0(id1) ^ front(id2) : seq1(INTEGER) & /* falsity */ -40 > 0)))) & last(id0(id1) ^ front(id2)) > - ((MININT + 1) mod -40))',
6737 '-evalt', ':z3-double-check id0 : INTEGER & id1 : POW(INTEGER * (INTEGER * REAL)) & not((31 / id0 >= MININT ** MININT => id1 : seq1(INTEGER * REAL)) & /* falsity */ {} /= {} & (IF id0 /= 0 & MININT >= 0 & 31 / id0 >= MININT ** MININT THEN prj1(first(id1)) ELSE min(pred[NAT1]) END) > inter({})(floor(real(MININT))))',
6738 '-evalt', ':z3-double-check id1 : POW(POW(POW(INTEGER * INTEGER)) * REAL * BOOL) & id2 : POW(POW(POW(INTEGER * INTEGER)) * REAL * BOOL) & id3 : INTEGER & id4 : POW(INTEGER * INTEGER) & id5 : REAL & not(id4 : seq(INTEGER) & (ceiling(id5) : 0 .. size(id4 <- MININT) & /* falsity */ {} /= {}) & (LET id0 BE id0=((id4 <- MININT) \\|/ ceiling(id5)) IN ( ASSERT_EXPR (bool(id1 <: id2),"lambda function %(id0) called outside of domain, condition false: ",MININT / id3 )) END) >= ceiling(3.405527294103958 - 65.31562945967323) + max({}))',
6739 '-evalt', ':z3-double-check id0 : INTEGER & id1 : POW(POW(POW(POW(POW(REAL)) * POW(INTEGER * INTEGER) * REAL)) * INTEGER) & id2 : POW(POW(POW(POW(REAL)) * POW(INTEGER * INTEGER) * REAL)) & id3 : POW(INTEGER * POW(INTEGER * INTEGER)) & id4 : POW(INTEGER * POW(INTEGER * INTEGER)) & not(MININT >= 0 & (id2 : dom(id1) & (id1 : POW(POW(POW(POW(REAL)) * POW(INTEGER * INTEGER) * REAL)) +-> INTEGER & (id1(id2) /= 0 & /* falsity */ {} /= {}))) & (id0 ** MININT / id1(id2)) ** MU({}) = last(conc(id3) ^ last(id4)))',
6740 '-evalt', ':z3-double-check id0 : POW(INTEGER * (POW(REAL * REAL) * (REAL * INTEGER))) & id1 : POW(BOOL * (REAL * REAL)) & not(id0 : seq(POW(REAL * REAL) * (REAL * INTEGER)) & (44 : 0 .. size(id0) & (rev(id0 \\|/ 44) : seq1(POW(REAL * REAL) * (REAL * INTEGER)) & /* falsity */ {} /= {})) & last(rev(id0 \\|/ 44)) /= (ran(BOOL <| id1) |-> MU({})))',
6741 '-evalt', ':z3-double-check id0 : POW(POW(INTEGER * POW(REAL)) * POW(INTEGER * REAL)) & id1 : POW(POW(BOOL)) * REAL * REAL & not([] : dom(id0) & (id0 : POW(INTEGER * POW(REAL)) +-> POW(INTEGER * REAL) & (id0([]) : seq1(REAL) & (tail(id0([])) : seq1(REAL) & /* falsity */ {} /= {}))) & last(tail(id0([]))) < min({}) / prj2(prj1(id1)))',
6742 '-evalt', ':z3-double-check id4 : POW(INTEGER * POW(REAL)) & not(id4 : seq1(POW(REAL)) & (first(id4) /= {} & first(id4) : FIN(first(id4)) & card(first(id4)) <= 1 & /* falsity */ {} /= {}) & MU(first(id4)) < min({}))',
6743 '-evalt', ':z3-double-check not(MININT : 0 .. size([]) & ([] \\|/ MININT : seq1(REAL) & /* falsity */ {} /= {}) & first([] \\|/ MININT) + MU({}) <= union(NAT1 +-> FLOAT)(floor(- 36.68245935131156)))',
6744 '-evalt', ':z3-double-check not({id3,id4,id5|id3 : INTEGER & id4 : BOOL * POW(POW(BOOL)) & id5 : POW(INTEGER)} : FIN({id3,id4,id5|id3 : INTEGER & id4 : BOOL * POW(POW(BOOL)) & id5 : POW(INTEGER)}) & ({id3,id4,id5,id6|id3 : POW(INTEGER * (BOOL * REAL)) & id4 : REAL & id5 : REAL & id6 : BOOL & bfalse} : FIN({id3,id4,id5,id6|id3 : POW(INTEGER * (BOOL * REAL)) & id4 : REAL & id5 : REAL & id6 : BOOL & bfalse}) & (SIGMA(id3,id4,id5,id6).(id3 : POW(INTEGER * (BOOL * REAL)) & id4 : REAL & id5 : REAL & id6 : BOOL & bfalse|MININT) /= 0 & /* falsity */ {} /= {})) & FDIV(PI(id3,id4,id5).(id3 : INTEGER & id4 : BOOL * POW(POW(BOOL)) & id5 : POW(INTEGER)|MAXINT),SIGMA(id3,id4,id5,id6).(id3 : POW(INTEGER * (BOOL * REAL)) & id4 : REAL & id5 : REAL & id6 : BOOL & bfalse|MININT)) <= MU({}))',
6745 '-evalt', ':z3-double-check id0 : POW(INTEGER * (BOOL * REAL)) & id1 : INTEGER & id2 : POW(INTEGER * POW(INTEGER * BOOL)) * REAL * REAL & id3 : POW(INTEGER * REAL) & id4 : POW(INTEGER * REAL) * POW(REAL) * REAL & not(id1 : dom(id0) & (id0 : INTEGER +-> BOOL * REAL & (id3 : seq1(REAL) & ((prj2(id2) < 0.0 => last(id3) = real(floor(last(id3)))) & ((prj2(id2) = 0.0 => 0.0 <= last(id3)) & /* falsity */ {} /= {})))) & prj2(id0(id1)) - RPOW(prj2(id2),last(id3)) : MU({}) /\\ prj2(prj1(id4)))',
6746 '-evalt', ':z3-double-check id4 : POW(INTEGER * INTEGER) & id5 : POW(INTEGER * REAL) & not({id0,id1,id2,id3|id0 : POW(INTEGER * BOOL) & id1 : BOOL & id2 : REAL & id3 : POW(BOOL * (BOOL * BOOL)) & (id5 : seq1(REAL) & (9.31527276375276 < 0.0 => 75.22337798147748 = real(floor(75.22337798147748))) & (id4 : seq1(INTEGER) & last(id4) > ceiling(13.145672480086924)))} : FIN({id0,id1,id2,id3|id0 : POW(INTEGER * BOOL) & id1 : BOOL & id2 : REAL & id3 : POW(BOOL * (BOOL * BOOL)) & (id5 : seq1(REAL) & (9.31527276375276 < 0.0 => 75.22337798147748 = real(floor(75.22337798147748))) & (id4 : seq1(INTEGER) & last(id4) > ceiling(13.145672480086924)))}) & /* falsity */ {} /= {} & SIGMA(id0,id1,id2,id3).(id0 : POW(INTEGER * BOOL) & id1 : BOOL & id2 : REAL & id3 : POW(BOOL * (BOOL * BOOL)) & (id5 : seq1(REAL) & (9.31527276375276 < 0.0 => 75.22337798147748 = real(floor(75.22337798147748))) & (id4 : seq1(INTEGER) & last(id4) > ceiling(13.145672480086924)))|first(id5) * RPOW(9.31527276375276,75.22337798147748)) <= RPOW(MU({}),MU(REAL) / MU(REAL)))',
6747 '-evalt', ':z3-double-check id0 : POW(POW(INTEGER)) & id3 : POW(POW(REAL)) * INTEGER & not((NAT1 <: inter(id0) => union({LAMBDA_RESULT___|LAMBDA_RESULT___ : POW(INTEGER) & bfalse}) /= {} & union({LAMBDA_RESULT___|LAMBDA_RESULT___ : POW(INTEGER) & bfalse}) : FIN(union({LAMBDA_RESULT___|LAMBDA_RESULT___ : POW(INTEGER) & bfalse})) & card(union({LAMBDA_RESULT___|LAMBDA_RESULT___ : POW(INTEGER) & bfalse})) <= 1) & ((not(NAT1 <: inter(id0)) => {id1,id2|id1 : INTEGER * REAL & id2 : BOOL} : FIN({id1,id2|id1 : INTEGER * REAL & id2 : BOOL})) & /* falsity */ {} /= {}) & (IF id0 /= {} & NAT1 <: inter(id0) THEN MU(union({LAMBDA_RESULT___|LAMBDA_RESULT___ : POW(INTEGER) & bfalse})) ELSE PI(id1,id2).(id1 : INTEGER * REAL & id2 : BOOL|prj2(id3)) END) < ceiling(min({})))',
6748 '-evalt', ':z3-double-check id0 : POW(INTEGER * POW(REAL * INTEGER)) & id1 : REAL & id2 : BOOL * POW(REAL * INTEGER) * POW(INTEGER * BOOL) & not(id0 : seq1(POW(REAL * INTEGER)) & (id1 - id1 : dom(first(id0)) & (first(id0) : REAL +-> INTEGER & ({id2|id2 : INTEGER & /* falsity */ not(btrue)} : FIN({id2|id2 : INTEGER & /* falsity */ not(btrue)}) & (SIGMA(id2).(id2 : INTEGER & /* falsity */ not(btrue)|FDIV(24,id2)) >= 0 & /* falsity */ {} /= {})))) & first(id0)(id1 - id1) ** SIGMA(id2).(id2 : INTEGER & /* falsity */ not(btrue)|FDIV(24,id2)) /= prj2(prj1(id2))(min({})))',
6749 '-evalt', ':z3-double-check id9 : POW(INTEGER * INTEGER) & not(id9 : seq(INTEGER) & (MININT : 0 .. size(id9) & (id9 /|\\ MININT : seq1(INTEGER) & /* falsity */ {} /= {})) & last(id9 /|\\ MININT) < max({}))',
6750 '-evalt', ':z3-double-check id1 : POW(INTEGER * POW(INTEGER)) & id2 : POW(POW(INTEGER * POW(INTEGER * REAL)) * BOOL * POW(INTEGER * INTEGER)) & id3 : POW(INTEGER * POW(INTEGER * REAL)) * BOOL & not({id0|id0 : REAL & (id3 : dom(id2) & (id2 : POW(INTEGER * POW(INTEGER * REAL)) * BOOL +-> POW(INTEGER * INTEGER) & id2(id3) : seq1(INTEGER)) & (id1 : seq(POW(INTEGER)) & floor(100.56482246140652) > size(id1)))} : FIN({id0|id0 : REAL & (id3 : dom(id2) & (id2 : POW(INTEGER * POW(INTEGER * REAL)) * BOOL +-> POW(INTEGER * INTEGER) & id2(id3) : seq1(INTEGER)) & (id1 : seq(POW(INTEGER)) & floor(100.56482246140652) > size(id1)))}) & (POW1({}) /= {} & POW1({}) : FIN(POW1({})) & card(POW1({})) <= 1 & (STRING : FIN(STRING) & /* falsity */ -63 > 0)) & SIGMA(id0).(id0 : REAL & (id3 : dom(id2) & (id2 : POW(INTEGER * POW(INTEGER * REAL)) * BOOL +-> POW(INTEGER * INTEGER) & id2(id3) : seq1(INTEGER)) & (id1 : seq(POW(INTEGER)) & floor(100.56482246140652) > size(id1)))|first(id2(id3))) >= MU(POW1({}))(card(STRING) mod -63))',
6751 '-evalt', ':z3-double-check id0 : POW(INTEGER * INTEGER) & not(conc([]) : seq1(INTEGER) & (tail(conc([])) : seq1(INTEGER) & id0 : seq(INTEGER)) & first(tail(conc([]))) <= - last(id0 <- MAXINT))',
6752 '-evalt', ':z3 id1 : POW(INTEGER * (POW(INTEGER * POW(INTEGER * BOOL)) * POW(BOOL))) * REAL & id2 : POW(INTEGER * POW(INTEGER * (POW(INTEGER * (POW(INTEGER * BOOL) * REAL)) * (POW(POW(POW(INTEGER * (REAL * (BOOL * INTEGER))))) * BOOL)))) & id4 : INTEGER * POW(INTEGER * POW(POW(INTEGER * POW(POW(POW(INTEGER * INTEGER)))))) * (INTEGER * INTEGER * POW(POW(INTEGER * (POW(INTEGER * (POW(INTEGER * BOOL) * REAL)) * (POW(POW(POW(INTEGER * (REAL * (BOOL * INTEGER))))) * BOOL))))) & id5 : POW(INTEGER * (INTEGER * INTEGER * POW(POW(INTEGER * (POW(INTEGER * (POW(INTEGER * BOOL) * REAL)) * (POW(POW(POW(INTEGER * (REAL * (BOOL * INTEGER))))) * BOOL)))))) & not(prj1(id1) : {} & (id2 : seq1(POW(INTEGER * (POW(INTEGER * (POW(INTEGER * BOOL) * REAL)) * (POW(POW(POW(INTEGER * (REAL * (BOOL * INTEGER))))) * BOOL)))) & (front(id2) : seq(seq(POW(INTEGER * (POW(INTEGER * BOOL) * REAL)) * (POW(POW(POW(INTEGER * (REAL * (BOOL * INTEGER))))) * BOOL))) & (97.54326068780833 /= 35.137962494237755 => id5 : seq1(INTEGER * INTEGER * POW(POW(INTEGER * (POW(INTEGER * (POW(INTEGER * BOOL) * REAL)) * (POW(POW(POW(INTEGER * (REAL * (BOOL * INTEGER))))) * BOOL)))))))) & ({}(prj1(id1)) ^ conc(front(id2))) /: ( ASSERT_EXPR (bool((IF 97.54326068780833 = 35.137962494237755 THEN prj2(id4) ELSE last(id5) END) : (succ |>> NAT1) * {}),"projection function called outside of domain: ",prj2(IF 97.54326068780833 = 35.137962494237755 THEN prj2(id4) ELSE last(id5) END) )))',
6753 '-evalt', ':z3 id4 : REAL & id5 : POW(POW(INTEGER * BOOL) * POW(INTEGER * POW(POW(INTEGER * POW(INTEGER * POW(INTEGER * BOOL))) * INTEGER) * REAL)) & not({id0,id1,id2,id3|id0 : INTEGER & id1 : INTEGER * INTEGER & id2 : POW(INTEGER * BOOL) & id3 : POW(INTEGER * (INTEGER * POW(INTEGER * REAL))) * BOOL & bfalse} : FIN({id0,id1,id2,id3|id0 : INTEGER & id1 : INTEGER * INTEGER & id2 : POW(INTEGER * BOOL) & id3 : POW(INTEGER * (INTEGER * POW(INTEGER * REAL))) * BOOL & bfalse}) & ((real(MININT) < 0.0 => SIGMA(id0,id1,id2,id3).(id0 : INTEGER & id1 : INTEGER * INTEGER & id2 : POW(INTEGER * BOOL) & id3 : POW(INTEGER * (INTEGER * POW(INTEGER * REAL))) * BOOL & bfalse|id4) = real(floor(SIGMA(id0,id1,id2,id3).(id0 : INTEGER & id1 : INTEGER * INTEGER & id2 : POW(INTEGER * BOOL) & id3 : POW(INTEGER * (INTEGER * POW(INTEGER * REAL))) * BOOL & bfalse|id4)))) & ((real(MININT) = 0.0 => 0.0 <= SIGMA(id0,id1,id2,id3).(id0 : INTEGER & id1 : INTEGER * INTEGER & id2 : POW(INTEGER * BOOL) & id3 : POW(INTEGER * (INTEGER * POW(INTEGER * REAL))) * BOOL & bfalse|id4)) & (id5 /= {} & id5 : FIN(id5) & card(id5) <= 1 & ({id6,id7|id6 : POW(INTEGER * INTEGER) & id7 : BOOL & bfalse} : FIN({id6,id7|id6 : POW(INTEGER * INTEGER) & id7 : BOOL & bfalse}) & (PI(id6,id7).(id6 : POW(INTEGER * INTEGER) & id7 : BOOL & bfalse|MAXINT) : {rel_x|rel_x : INTEGER & (rel_x : {} & #rel_y.(rel_y : INTEGER * POW(POW(INTEGER * POW(INTEGER * POW(INTEGER * BOOL))) * INTEGER) & rel_y : union({}[{rel_x}])))} & ({rel_x,rel_y|rel_x : INTEGER & rel_y : INTEGER * POW(POW(INTEGER * POW(INTEGER * POW(INTEGER * BOOL))) * INTEGER) & (rel_x : {} & rel_y : union({}[{rel_x}]))} : INTEGER +-> INTEGER * POW(POW(INTEGER * POW(INTEGER * POW(INTEGER * BOOL))) * INTEGER) & ({rel_x,rel_y|rel_x : INTEGER & rel_y : INTEGER * POW(POW(INTEGER * POW(INTEGER * POW(INTEGER * BOOL))) * INTEGER) & (rel_x : {} & rel_y : union({}[{rel_x}]))}(PI(id6,id7).(id6 : POW(INTEGER * INTEGER) & id7 : BOOL & bfalse|MAXINT)) : dom(prj2(MU(id5))) & prj2(MU(id5)) : INTEGER * POW(POW(INTEGER * POW(INTEGER * POW(INTEGER * BOOL))) * INTEGER) +-> REAL))))))) & RPOW(real(MININT),SIGMA(id0,id1,id2,id3).(id0 : INTEGER & id1 : INTEGER * INTEGER & id2 : POW(INTEGER * BOOL) & id3 : POW(INTEGER * (INTEGER * POW(INTEGER * REAL))) * BOOL & bfalse|id4)) + last([47.83110392595881,28.847294871004024,83.74217309396853,28.730975640438306]) < prj2(MU(id5))({rel_x,rel_y|rel_x : INTEGER & rel_y : INTEGER * POW(POW(INTEGER * POW(INTEGER * POW(INTEGER * BOOL))) * INTEGER) & (rel_x : {} & rel_y : union({}[{rel_x}]))}(PI(id6,id7).(id6 : POW(INTEGER * INTEGER) & id7 : BOOL & bfalse|MAXINT))))',
6754 '-evalt', ':z3-double-check id0 : POW(POW(INTEGER) * BOOL) & id1 : INTEGER * POW(INTEGER * POW(POW(POW(INTEGER * REAL) * INTEGER))) & id2 : INTEGER * POW(INTEGER * POW(POW(POW(INTEGER * REAL) * INTEGER))) & id3 : POW(POW(INTEGER) * POW(POW(INTEGER) * BOOL * BOOL)) & not(NAT : dom(id3) & (id3 : POW(INTEGER) +-> POW(POW(INTEGER) * BOOL * BOOL) & (conc([]) : seq1(POW(INTEGER * POW(INTEGER * (POW(INTEGER) * BOOL) * (POW(INTEGER * POW(POW(POW(INTEGER * REAL) * INTEGER))) * BOOL)))) & first(conc([])) : seq1(POW(INTEGER * (POW(INTEGER) * BOOL) * (POW(INTEGER * POW(POW(POW(INTEGER * REAL) * INTEGER))) * BOOL))))) & {`_prj_arg1__`,`_prj_arg2__`|`_prj_arg1__` : INTEGER & `_prj_arg2__` : POW(INTEGER) * BOOL & (`_prj_arg1__` : NATURAL & `_prj_arg2__` : id0)} <| ({id1,id2,id1,id2} || id3(NAT)) /<<: first(first(conc([]))))',
6755 % '-evalt', ':z3 id0 : REAL & id1 : INTEGER & id6 : POW(STRING) & not(conc([]) : seq1(INTEGER) & (id1 > 0 & (MAXINT mod id1 /= 0 & (floor(id0) / (MAXINT mod id1) >= 0 & ({id2,id3,id4,id5|id2 : INTEGER * (POW(POW(INTEGER)) * REAL) * POW(BOOL) & id3 : POW(BOOL) * POW(INTEGER * INTEGER) & id4 : INTEGER & id5 : BOOL & (STRING = id6\\/STRING & id6/\\STRING = {})} : FIN({id2,id3,id4,id5|id2 : INTEGER * (POW(POW(INTEGER)) * REAL) * POW(BOOL) & id3 : POW(BOOL) * POW(INTEGER * INTEGER) & id4 : INTEGER & id5 : BOOL & (STRING = id6\\/STRING & id6/\\STRING = {})}) & (FDIV(- id1,MININT - 1) > 0 & SIGMA(id2,id3,id4,id5).(id2 : INTEGER * (POW(POW(INTEGER)) * REAL) * POW(BOOL) & id3 : POW(BOOL) * POW(INTEGER * INTEGER) & id4 : INTEGER & id5 : BOOL & (STRING = id6\\/STRING & id6/\\STRING = {})|id1) >= 0))))) & first(conc([])) ** (floor(id0) / (MAXINT mod id1)) < SIGMA(id2,id3,id4,id5).(id2 : INTEGER * (POW(POW(INTEGER)) * REAL) * POW(BOOL) & id3 : POW(BOOL) * POW(INTEGER * INTEGER) & id4 : INTEGER & id5 : BOOL & (STRING = id6\\/STRING & id6/\\STRING = {})|id1) mod FDIV(- id1,MININT - 1))',
6756 % comment 23.10.2026: solving this relied upon the WD prover not being able to establish that this is well-defined,
6757 % which led ensure_wd to add 1:dom({}) as extra wd condition for first(conc([]))
6758 % which led to the bcompiler simplifying the predicate to btruth and Z3 was never called
6759 % now that FDIV is converted to floored_div, the prover can establish that FDIV(- id1,MININT - 1) > 0 is false
6760 % and everything that follows will never be executed and no 1:dom({}) is added by ensure_wd
6761 % which means that z3 is being called but it cannot translate the remaining predicate
6762 '-evalt', ':z3-double-check id0 : POW(BOOL * BOOL) & id1 : POW(INTEGER * INTEGER) & id5 : POW(INTEGER * POW(INTEGER * POW(INTEGER * REAL)) * POW(POW(POW(BOOL * INTEGER * (BOOL * INTEGER) * (POW(BOOL) * INTEGER))))) & not(#rel_x.(rel_x : INTEGER * POW(INTEGER * POW(INTEGER * REAL)) & (rel_x : dom(id5) & (closure1(id0) || iterate(id1,MININT)) >->> {} : union(id5[{rel_x}]))) & MININT >= 0)',
6763 % '-evalt', ':z3 id0 : POW(POW(INTEGER * BOOL)) * REAL & id5 : POW(POW(POW(POW(POW(POW(POW(POW(BOOL * BOOL) * (POW(INTEGER * BOOL) * POW(POW(INTEGER * POW(INTEGER * POW(INTEGER * POW(BOOL))))) * (POW(INTEGER * POW(INTEGER * REAL)) * (POW(BOOL) * POW(BOOL * INTEGER)) * BOOL * BOOL)) * INTEGER))) * INTEGER) * (BOOL * POW(INTEGER * INTEGER) * INTEGER * BOOL * INTEGER)) * REAL * POW(INTEGER * REAL))) & id6 : POW(POW(POW(INTEGER * REAL))) & id7 : POW(INTEGER) * POW(POW(POW(INTEGER * REAL))) & not(id6 /= {} & id6 : FIN(id6) & card(id6) <= 1 & (seq(REAL) \\/ MU(id6)) /: prj2(id7) & ([] <- id0 : {} & ([] : seq1(POW(POW(POW(POW(POW(POW(BOOL * BOOL) * (POW(INTEGER * BOOL) * POW(POW(INTEGER * POW(INTEGER * POW(INTEGER * POW(BOOL))))) * (POW(INTEGER * POW(INTEGER * REAL)) * (POW(BOOL) * POW(BOOL * INTEGER)) * BOOL * BOOL)) * INTEGER))) * INTEGER) * (BOOL * POW(INTEGER * INTEGER) * INTEGER * BOOL * INTEGER)) * REAL) & (rev([]) : seq1(POW(POW(POW(POW(POW(POW(BOOL * BOOL) * (POW(INTEGER * BOOL) * POW(POW(INTEGER * POW(INTEGER * POW(INTEGER * POW(BOOL))))) * (POW(INTEGER * POW(INTEGER * REAL)) * (POW(BOOL) * POW(BOOL * INTEGER)) * BOOL * BOOL)) * INTEGER))) * INTEGER) * (BOOL * POW(INTEGER * INTEGER) * INTEGER * BOOL * INTEGER)) * REAL) & (id5 /= {} & id5 : FIN(id5) & card(id5) <= 1))) & (({} +-> INTEGER) <-> {}([] <- id0)) <| {first([]),last(rev([]))} = dom({} <<| MU(id5))))',
6764 % z3 cannot solve this predicate when the WD Pos have not been added, see prob_examples/public_examples/Eval/z3/z3_cannot_solve_wo_wd_pos, commented out 25.2.2026
6765 % more tests have been commented out below for similar reason, a few maybe due to seq rewrites being fully applied leading to ProB not being able to pre-compute/expand quantifiers/set_comprehensions
6766 % '-evalt', ':z3-double-check id0 : POW(INTEGER * (INTEGER * INTEGER)) * (POW(REAL) * (POW(INTEGER * INTEGER) * INTEGER)) & id2 : POW(INTEGER * POW(INTEGER * (POW(REAL) * INTEGER))) & id3 : POW(REAL * POW(POW(POW(INTEGER * POW(INTEGER * INTEGER))))) & id4 : POW(POW(REAL) * REAL) & not(REAL : dom(id4) & (id4 : POW(REAL) +-> REAL & (id4(REAL) : dom(id3) & id3 : REAL +-> POW(POW(POW(INTEGER * POW(INTEGER * INTEGER)))))) & seq1(iseq(NAT1)) /: id3(id4(REAL)) & ([] : seq1(REAL * INTEGER) & (prj1(id0) : seq1(INTEGER * INTEGER) & (prj1(last(prj1(id0))) > 0 & (prj2(first([])) >= 0 & (id2 : seq(seq(POW(REAL) * INTEGER)) & conc(id2) : seq1(POW(REAL) * INTEGER))))) & prj2(first([])) mod prj1(last(prj1(id0))) = prj2(first(conc(id2)))))', % commented out 25.2.2026
6767 '-evalt', ':z3-double-check id1 : POW(INTEGER * POW(INTEGER * INTEGER)) & id2 : POW(POW(INTEGER)) & not([] : seq1(INTEGER) & (id1 : seq1(POW(INTEGER * INTEGER)) & (first(id1) : seq1(INTEGER) & (first(first(id1)) > 0 & (first([]) >= 0 & (union(id2) /= {} & union(id2) : FIN(union(id2))))))) & first([]) mod first(first(id1)) /= max(union(id2)))',
6768 % '-evalt', ':z3-double-check id0 : POW(INTEGER * POW(POW(INTEGER * POW(POW(INTEGER * INTEGER))) * POW(INTEGER * POW(POW(INTEGER * INTEGER))))) * POW(INTEGER * INTEGER) & not(prj1(id0) : seq1(POW(POW(INTEGER * POW(POW(INTEGER * INTEGER))) * POW(INTEGER * POW(POW(INTEGER * INTEGER))))) & (conc([]) : seq1(INTEGER) & first(conc([])) >= 0) & iterate(first(prj1(id0)),first(conc([]))) : FIN(iterate(first(prj1(id0)),first(conc([])))))',
6769 % '-evalt', ':z3 id0 : INTEGER * REAL * POW(INTEGER * POW(POW(INTEGER))) & not(MAXINT : 0 .. size([]) & ([] /|\\ MAXINT : seq1(POW(INTEGER)) & prj2(id0) : seq1(POW(POW(INTEGER)))) & POW1(first([] /|\\ MAXINT)) <: last(prj2(id0)) - POW1(NATURAL1))', % commented out 25.2.2026
6770 '-evalt', ':z3-double-check id0 : BOOL * POW(POW(POW(POW(BOOL)))) * BOOL & id1 : POW(POW(INTEGER * BOOL)) & id2 : POW(POW(INTEGER * BOOL)) & id3 : POW(INTEGER * BOOL) * POW(POW(INTEGER * POW(INTEGER * POW(BOOL * (BOOL * BOOL) * INTEGER)))) * POW(POW(INTEGER * BOOL)) & not([] : seq1(BOOL) & [prj1(prj1(id0)),first([]),last(TRUE -> []),TRUE] : (id1 - id2 \\/ prj2(id3)) /\\ {LAMBDA_RESULT___|LAMBDA_RESULT___ : POW(INTEGER * BOOL) & (MAXINT : 0 .. size([]) & LAMBDA_RESULT___ = [] /|\\ MAXINT)})',
6771 '-evalt', ':z3-double-check id1 : POW(INTEGER * POW(POW(INTEGER * INTEGER))) & not(MAXINT / 76 : {rel_x|rel_x : INTEGER & (rel_x : {} & #rel_y.(rel_y : POW(POW(INTEGER * BOOL) * POW(INTEGER * INTEGER) * POW(INTEGER * INTEGER)) & rel_y : union({}[{rel_x}])))} & {rel_x,rel_y|rel_x : INTEGER & rel_y : POW(POW(INTEGER * BOOL) * POW(INTEGER * INTEGER) * POW(INTEGER * INTEGER)) & (rel_x : {} & rel_y : union({}[{rel_x}]))} : INTEGER +-> POW(POW(INTEGER * BOOL) * POW(INTEGER * INTEGER) * POW(INTEGER * INTEGER)) & /*@symbolic*/ %(`_prj_arg1__`,`_prj_arg2__`).(`_prj_arg1__` : POW(INTEGER * BOOL) & `_prj_arg2__` : POW(INTEGER * INTEGER) & (`_prj_arg1__` : NAT1 >+> BOOL & (id1 : seq1(POW(POW(INTEGER * INTEGER))) & `_prj_arg2__` : last(id1)))|`_prj_arg2__`) /<<: {rel_x,rel_y|rel_x : INTEGER & rel_y : POW(POW(INTEGER * BOOL) * POW(INTEGER * INTEGER) * POW(INTEGER * INTEGER)) & (rel_x : {} & rel_y : union({}[{rel_x}]))}(MAXINT / 76))',
6772 % '-evalt', ':z3-double-check id0 : POW(POW(POW(REAL))) & id1 : POW(INTEGER * POW(REAL * BOOL)) & not((NAT1 +->> NAT1) /= {} & NAT1 +->> NAT1 : FIN(NAT1 +->> NAT1) & card(NAT1 +->> NAT1) <= 1 & conc([]) : seq1(POW(INTEGER * POW(REAL) * (INTEGER * POW(REAL * BOOL)))) & (MU(NAT1 +->> NAT1) || union(id0) * (FLOAT +-> BOOL)) <<: ((pred || {}) |> (NAT1 <| id1)) \\/ first(conc([])))', % commented out 25.2.2026
6773 '-evalt', ':z3-double-check id0 : POW(BOOL * INTEGER) & id1 : POW(INTEGER * POW(BOOL * INTEGER)) & id2 : POW(INTEGER * POW(INTEGER * POW(INTEGER))) & not(id1 : seq1(POW(BOOL * INTEGER)) & (real(28) : {} & ((id0 ; pred) /\\ first(id1) : BOOL +-> INTEGER & (id2 : seq1(POW(INTEGER * POW(INTEGER))) & (MAXINT - 63 : dom(first(id2)) & (first(id2) : INTEGER +-> POW(INTEGER) & (first(id2)(MAXINT - 63) /= {} & first(id2)(MAXINT - 63) : FIN(first(id2)(MAXINT - 63)) & card(first(id2)(MAXINT - 63)) <= 1)))))) & ((id0 ; pred) /\\ first(id1))({}(real(28))) >= MU(first(id2)(MAXINT - 63)))',
6774 % '-evalt', ':z3-double-check id2 : BOOL * (INTEGER * (POW(INTEGER * POW(INTEGER * POW(INTEGER * POW(INTEGER)))) * BOOL) * INTEGER) & not([] : seq1(INTEGER) & ({id2,id3|id2 : POW(INTEGER * (POW(INTEGER * POW(INTEGER * POW(REAL))) * POW(INTEGER * (REAL * REAL)))) & id3 : BOOL & MININT <= MININT} : FIN({id2,id3|id2 : POW(INTEGER * (POW(INTEGER * POW(INTEGER * POW(REAL))) * POW(INTEGER * (REAL * REAL)))) & id3 : BOOL & MININT <= MININT}) & prj2(prj2(id2)) >= 0) & first([]) <= SIGMA(id2,id3).(id2 : POW(INTEGER * (POW(INTEGER * POW(INTEGER * POW(REAL))) * POW(INTEGER * (REAL * REAL)))) & id3 : BOOL & MININT <= MININT|-45) ** prj2(prj2(id2)))', % commented out 25.2.2026
6775 % '-evalt', ':z3-double-check id0 : POW(BOOL * REAL) & id1 : POW(BOOL * POW(INTEGER * BOOL)) & id2 : POW(BOOL * POW(REAL * REAL)) & id3 : BOOL & id6 : POW(INTEGER * INTEGER) & id7 : POW(INTEGER * (BOOL * BOOL * (REAL * POW(INTEGER * BOOL)))) & id8 : INTEGER & not(47 <= id8 <=> - MAXINT >= min(NAT) & ((id0~ >-> ({} || id1)) /= {} & (id3 : dom(id2) & (id2 : BOOL +-> POW(REAL * REAL) & (MAXINT : 0 .. size([]) & [] \\|/ MAXINT : seq1(POW(REAL * BOOL))))) & inter(id0~ >-> ({} || id1))[(id2(id3) ; first([] \\|/ MAXINT))] = ran(union({}) - (id6 ; id7))))', % commented out 25.2.2026
6776 % '-evalt', ':z3-double-check id0 : POW(INTEGER * (INTEGER * BOOL)) & id1 : POW(POW(INTEGER * INTEGER) * (POW(INTEGER * INTEGER) * REAL)) & id2 : POW(POW(INTEGER * INTEGER)) & id3 : POW(REAL * POW(INTEGER * (INTEGER * (POW(POW(INTEGER * INTEGER)) * REAL)))) & not(id0 : seq1(INTEGER * BOOL) & {id1|id1 : POW(INTEGER)} : FIN({id1|id1 : POW(INTEGER)}) & prj1(first(id0)) < floor(PI(id1).(id1 : POW(INTEGER)|31.664361750768247)) & (MININT : 0 .. size([]) & ([] /|\\ MININT : dom(id1[id2]) & (id1[id2] : POW(INTEGER * INTEGER) +-> REAL & (id3 /= {} & id3 : FIN(id3) & card(id3) <= 1))) & id1[id2]([] /|\\ MININT) < prj1(MU(id3))))', % commented out 25.2.2026
6777 % '-evalt', ':z3-double-check id0 : POW(INTEGER * (INTEGER * BOOL)) & id1 : POW(POW(INTEGER * INTEGER) * (POW(INTEGER * INTEGER) * REAL)) & id2 : POW(POW(INTEGER * INTEGER)) & id3 : POW(REAL * POW(INTEGER * (INTEGER * (POW(POW(INTEGER * INTEGER)) * REAL)))) & not(id0 : seq1(INTEGER * BOOL) & {id1|id1 : POW(INTEGER)} : FIN({id1|id1 : POW(INTEGER)}) & prj1(first(id0)) < floor(PI(id1).(id1 : POW(INTEGER)|31.664361750768247)) & (MININT : 0 .. size([]) & ([] /|\\ MININT : dom(id1[id2]) & (id1[id2] : POW(INTEGER * INTEGER) +-> REAL & (id3 /= {} & id3 : FIN(id3) & card(id3) <= 1))) & id1[id2]([] /|\\ MININT) < prj1(MU(id3))))', % commented out 25.2.2026
6778 '-evalt', ':z3-double-check id2 : POW(INTEGER * REAL) & id3 : POW(INTEGER * (INTEGER * REAL)) & not({id0,id1|id0 : REAL & id1 : INTEGER & (id2 : seq1(REAL) & 14.442731089354858 < id0)} : FIN({id0,id1|id0 : REAL & id1 : INTEGER & (id2 : seq1(REAL) & 14.442731089354858 < id0)}) & (id3 : seq1(INTEGER * REAL) & prj2(17 |-> []) : seq1(REAL)) & PI(id0,id1).(id0 : REAL & id1 : INTEGER & (id2 : seq1(REAL) & 14.442731089354858 < id0)|last(id2)) + ( ASSERT_EXPR (bool(first(id3) : NAT * REAL),"projection function called outside of domain: ",prj2(first(id3)) )) <= first(prj2(17 |-> [])))',
6779 '-evalt', ':z3-double-check id4 : POW(POW(INTEGER * POW(INTEGER * POW(INTEGER * POW(POW(INTEGER * BOOL)))))) & id5 : POW(POW(INTEGER * POW(INTEGER * POW(INTEGER * POW(POW(INTEGER * BOOL))))) * BOOL) & id6 : POW(BOOL * BOOL) & id7 : POW(POW(INTEGER * BOOL) * POW(REAL)) & id8 : POW(POW(REAL)) & not({LAMBDA_RESULT___|LAMBDA_RESULT___ : POW(REAL) & (id4 <<| id5 /<: ({} ; id6) & (id7 /= {} & id7 : FIN(id7) & card(id7) <= 1 & LAMBDA_RESULT___ = prj2(MU(id7))))} /= {} & (ceiling(57.32899186303727) : {} & id8 /= {}) & inter({LAMBDA_RESULT___|LAMBDA_RESULT___ : POW(REAL) & (id4 <<| id5 /<: ({} ; id6) & (id7 /= {} & id7 : FIN(id7) & card(id7) <= 1 & LAMBDA_RESULT___ = prj2(MU(id7))))}) <<: {}(ceiling(57.32899186303727)) /\\ inter(id8))',
6780 '-evalt', ':z3-double-check not((MAXINT >= MAXINT => MININT >= 0) & ((MAXINT < MAXINT => {RANGE_LAMBDA__|RANGE_LAMBDA__ : POW(INTEGER * INTEGER) & RANGE_LAMBDA__ = succ} /= {}) & ((union({RANGE_LAMBDA__|RANGE_LAMBDA__ : POW(INTEGER) & RANGE_LAMBDA__ = NATURAL}) >-> {}) /= {} & union({RANGE_LAMBDA__|RANGE_LAMBDA__ : POW(INTEGER) & RANGE_LAMBDA__ = NATURAL}) >-> {} : FIN(union({RANGE_LAMBDA__|RANGE_LAMBDA__ : POW(INTEGER) & RANGE_LAMBDA__ = NATURAL}) >-> {}) & card(union({RANGE_LAMBDA__|RANGE_LAMBDA__ : POW(INTEGER) & RANGE_LAMBDA__ = NATURAL}) >-> {}) <= 1)) & union({LAMBDA_RESULT___|LAMBDA_RESULT___ : POW(INTEGER) & (STRING : FIN(STRING) & LAMBDA_RESULT___ = MININT .. MININT)}) <| (IF MAXINT >= MAXINT THEN iterate(pred,MININT) ELSE inter({RANGE_LAMBDA__|RANGE_LAMBDA__ : POW(INTEGER * INTEGER) & RANGE_LAMBDA__ = succ}) END) <<: MU(union({RANGE_LAMBDA__|RANGE_LAMBDA__ : POW(INTEGER) & RANGE_LAMBDA__ = NATURAL}) >-> {}))',
6781 '-evalt', ':z3-double-check id0 : POW(INTEGER * (BOOL * REAL)) & id1 : INTEGER & id2 : POW(INTEGER * POW(INTEGER * BOOL)) * REAL * REAL & id3 : POW(INTEGER * REAL) & id4 : POW(INTEGER * REAL) * POW(REAL) * REAL & not(id1 : dom(id0) & (id0 : INTEGER +-> BOOL * REAL & (id3 : seq1(REAL) & ((prj2(id2) < 0.0 => last(id3) = real(floor(last(id3)))) & ((prj2(id2) = 0.0 => 0.0 <= last(id3)) & /* falsity */ {} /= {})))) & prj2(id0(id1)) - RPOW(prj2(id2),last(id3)) : MU({}) /\\ prj2(prj1(id4)))',
6782 % '-evalt', ':z3-double-check id0 : POW(INTEGER * POW(INTEGER * POW(POW(INTEGER * REAL) * POW(INTEGER * REAL)))) & id1 : POW(INTEGER * POW(POW(INTEGER * REAL) * POW(INTEGER * REAL))) & id2 : INTEGER & not(conc([]) : seq1(POW(POW(INTEGER * REAL))) & (id1 : seq(POW(POW(INTEGER * REAL) * POW(INTEGER * REAL))) & (id2 : 0 .. size(id1) & id1 /|\\ id2 : seq1(POW(POW(INTEGER * REAL) * POW(INTEGER * REAL))))) & id((INTEGER<->REAL)) <: first(conc([])) <| first(id1 /|\\ id2) & (id0 : seq1(POW(INTEGER * POW(POW(INTEGER * REAL) * POW(INTEGER * REAL)))) & last(id0) : seq1(POW(POW(INTEGER * REAL) * POW(INTEGER * REAL))) & closure1(first(last(id0))) <: first(conc([])) <| first(id1 /|\\ id2)))', % commented out 25.2.2026
6783 % '-evalt', ':z3-double-check id1 : POW(BOOL) & id2 : INTEGER & id6 : POW(INTEGER * INTEGER) & id7 : POW(BOOL * (INTEGER * REAL)) & not(18 : 0 .. size([]) & ([] \\|/ 18 : seq1(INTEGER) & ({id3,id4,id5|id3 : INTEGER & id4 : POW(INTEGER * (INTEGER * (POW(INTEGER * POW(REAL)) * INTEGER))) & id5 : BOOL & (id6 : seq1(INTEGER) & id2 >= MAXINT)} : FIN({id3,id4,id5|id3 : INTEGER & id4 : POW(INTEGER * (INTEGER * (POW(INTEGER * POW(REAL)) * INTEGER))) & id5 : BOOL & (id6 : seq1(INTEGER) & id2 >= MAXINT)}) & (FALSE : dom(id7) & id7 : BOOL +-> INTEGER * REAL))) & ({id0|id0 : INTEGER & {} /<: id1 - BOOL} = dom((id2 .. MININT) * ({} <<-> NAT))\\/{first([] \\|/ 18),- card(BOOL),PI(id3,id4,id5).(id3 : INTEGER & id4 : POW(INTEGER * (INTEGER * (POW(INTEGER * POW(REAL)) * INTEGER))) & id5 : BOOL & (id6 : seq1(INTEGER) & id2 >= MAXINT)|first(id6)),prj1(id7(FALSE))}\\/{id8|id8 : INTEGER & FIN1(NATURAL1) /: {}} & dom((id2 .. MININT) * ({} <<-> NAT))/\\{first([] \\|/ 18),- card(BOOL),PI(id3,id4,id5).(id3 : INTEGER & id4 : POW(INTEGER * (INTEGER * (POW(INTEGER * POW(REAL)) * INTEGER))) & id5 : BOOL & (id6 : seq1(INTEGER) & id2 >= MAXINT)|first(id6)),prj1(id7(FALSE))} = {} & dom((id2 .. MININT) * ({} <<-> NAT))/\\{id8|id8 : INTEGER & FIN1(NATURAL1) /: {}} = {} & {first([] \\|/ 18),- card(BOOL),PI(id3,id4,id5).(id3 : INTEGER & id4 : POW(INTEGER * (INTEGER * (POW(INTEGER * POW(REAL)) * INTEGER))) & id5 : BOOL & (id6 : seq1(INTEGER) & id2 >= MAXINT)|first(id6)),prj1(id7(FALSE))}/\\{id8|id8 : INTEGER & FIN1(NATURAL1) /: {}} = {}))', % commented out 25.2.2026
6784 '-evalt', ':z3 id0 : POW(INTEGER * (POW(REAL * POW(INTEGER * POW(POW(INTEGER * REAL))) * POW(INTEGER * POW(REAL))) * POW(INTEGER * POW(INTEGER * (POW(BOOL * POW(INTEGER)) * POW(INTEGER * BOOL)))))) & id1 : POW(INTEGER * (POW(REAL * POW(INTEGER * POW(POW(INTEGER * REAL))) * POW(INTEGER * POW(REAL))) * REAL)) & id2 : BOOL * (POW(REAL * POW(INTEGER * POW(POW(INTEGER * REAL))) * POW(INTEGER * POW(REAL))) * REAL) & not(id0 : seq1(POW(REAL * POW(INTEGER * POW(POW(INTEGER * REAL))) * POW(INTEGER * POW(REAL))) * POW(INTEGER * POW(INTEGER * (POW(BOOL * POW(INTEGER)) * POW(INTEGER * BOOL))))) & (MAXINT : 0 .. size([]) & ([] /|\\ MAXINT : seq1(POW(REAL * POW(INTEGER * POW(POW(INTEGER * REAL))) * POW(INTEGER * POW(REAL)))) & (73 : NAT1 => id1 : seq1(POW(REAL * POW(INTEGER * POW(POW(INTEGER * REAL))) * POW(INTEGER * POW(REAL))) * REAL)))) & prj1(first(id0)) <+ first([] /|\\ MAXINT) /<<: prj1(IF 73 : NAT1 THEN last(id1) ELSE prj2(id2) END))',
6785 '-evalt', ':z3-double-check not(id0 /= 0 & 85 > 3 / id0)',
6786 '-evalt', '{RANGE_LAMBDA__|RANGE_LAMBDA__ : POW(POW(INTEGER * POW(INTEGER * POW(BOOL))) * POW(INTEGER * BOOL) * (POW(INTEGER * POW(INTEGER * POW(BOOL))) * POW(INTEGER * BOOL)) * BOOL * BOOL) & RANGE_LAMBDA__ = union({LAMBDA_RESULT___|LAMBDA_RESULT___ : POW(POW(INTEGER * POW(INTEGER * POW(BOOL))) * POW(INTEGER * BOOL) * (POW(INTEGER * POW(INTEGER * POW(BOOL))) * POW(INTEGER * BOOL)) * BOOL * BOOL) & (POW(NATURAL) /<<: {} & (MAXINT : 0 .. size([]) & [] \\|/ MAXINT : seq1(POW(POW(INTEGER * POW(INTEGER * POW(BOOL))) * POW(INTEGER * BOOL) * (POW(INTEGER * POW(INTEGER * POW(BOOL))) * POW(INTEGER * BOOL)) * BOOL * BOOL)) & LAMBDA_RESULT___ = first([] \\|/ MAXINT)))})} /= {} & (/*@symbolic*/ %(`_prj_arg1__`,`_prj_arg2__`).(`_prj_arg1__` : POW(INTEGER * POW(INTEGER * POW(BOOL))) * POW(INTEGER * BOOL) * (POW(INTEGER * POW(INTEGER * POW(BOOL))) * POW(INTEGER * BOOL)) & `_prj_arg2__` : BOOL & (`_prj_arg1__` : closure1({`__comp_result__`|`__comp_result__` : POW(INTEGER * POW(INTEGER * POW(BOOL))) * POW(INTEGER * BOOL) * (POW(INTEGER * POW(INTEGER * POW(BOOL))) * POW(INTEGER * BOOL)) & bfalse}) & (rev([]) : seq1(POW(BOOL)) & `_prj_arg2__` : first(rev([]))))|`_prj_arg2__`) ; id(union(FIN1({})))) /<<: inter({RANGE_LAMBDA__|RANGE_LAMBDA__ : POW(POW(INTEGER * POW(INTEGER * POW(BOOL))) * POW(INTEGER * BOOL) * (POW(INTEGER * POW(INTEGER * POW(BOOL))) * POW(INTEGER * BOOL)) * BOOL * BOOL) & RANGE_LAMBDA__ = union({LAMBDA_RESULT___|LAMBDA_RESULT___ : POW(POW(INTEGER * POW(INTEGER * POW(BOOL))) * POW(INTEGER * BOOL) * (POW(INTEGER * POW(INTEGER * POW(BOOL))) * POW(INTEGER * BOOL)) * BOOL * BOOL) & (POW(NATURAL) /<<: {} & (MAXINT : 0 .. size([]) & [] \\|/ MAXINT : seq1(POW(POW(INTEGER * POW(INTEGER * POW(BOOL))) * POW(INTEGER * BOOL) * (POW(INTEGER * POW(INTEGER * POW(BOOL))) * POW(INTEGER * BOOL)) * BOOL * BOOL)) & LAMBDA_RESULT___ = first([] \\|/ MAXINT)))})})',
6787
6788 % clash checks Code = {c1,c2,c3,c4}, db,active,activec={}
6789 '-evalf', ':z3-double-check dom(db) /= active',
6790 '-evalt', ':z3-double-check #active.(dom(db) /= active)',
6791 '-evalt', ':z3-double-check #db.(db /= active)',
6792 '-evalf', ':z3-double-check #(c1,c2).(c1:Name & c2:Code & db={c1|->c2})',
6793 '-evalt', ':z3-double-check #(c1,c2,db).(c1:Name & c2:Code & db={c2|->c1})',
6794 '-evalt', ':z3-double-check #(c1,c2).(c1:Name & c2:Code & (c1:active <=> c2:activec))',
6795 '-evalt', ':z3 !(c1,c2).(c1:db & c2:db => c1=c2)', % db is empty, was unsupported LEQ_SYM
6796 % precomputation
6797 '-evalt', ':z3-double-check x : POW({1,2,y}) & z:x & z>2',
6798 '-evalt', ':z3-double-check {1|->2,e}~ = r',
6799 '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE'
6800 ], 'some simple constraints that should be solved by cvc4 / z3').
6801 cli_testcase(2061, [cbc,atelierb,chr,disprover,private], [
6802 '../prob_examples/examples/B/Alstom/DisproverProject/ProvableByPP/prob2023.mch',
6803 '-p', 'CHR', 'TRUE', '-p', 'SMT', 'TRUE', '-p', 'DISPROVER_MODE', 'TRUE',
6804 '-cbc_assertions_tautology_proof',
6805 '-cbc_result_file', '../prob_examples/examples/B/Alstom/DisproverProject/ProB_Result.txt'],
6806 'Test Atelier-B Disprover interface and non-critical enum warning ignored').
6807 cli_testcase(2062, [kodkod,tickets], [
6808 '-evalt', ':kodkod-double-check b = {x | x>2 & x<3}',
6809 '-evalf', ':kodkod-double-check x>2 & x<3',
6810 '-evalt', ':kodkod-double-check (f3={a,c,e|a:NATURAL & c:NATURAL1 & e:{x|x=1 & x=2} & a=1 & c=2})',
6811 '-evalt', ':kodkod-double-check (f1={a,e|a:INTEGER & e:{TRUE} & a=1}) & (f2={a,c,e|a:INTEGER & e:{TRUE} & a=1 & c:NATURAL1 & e:{FALSE}}) & (f3={a,c,e|a:NATURAL & c:NATURAL1 & e:{x|x=1 & x=2} & a=1}) & (f4={a,c,e|a:NATURAL & c:NATURAL1 & e:INTEGER & a=-1}) & (f5={a,b|a>2 & a<1 & b=a}) & (f6=%x.(x>10 & x<20|100)) & (f7={a,b|a:NATURAL1 & b=a & a<=20}) & (i1={a,c,e|a:INTEGER & e:{TRUE} & a=1 & c:NATURAL1}) & (i2={a,c,e|a:INTEGER & e:{TRUE} & a=1 & c>4000}) & (i3={a,b,c|a:NATURAL1 & b<0 & c>10}) & (i4={a,b|a>=200 & b=a*a}) & (i5=%x.(x>10|100+x)) & (i6={x,y,z|z=x+y & x>100 & y:{200,201}}) & i4/:FIN(i4)' % not all predicates are translated
6812 ], 'check no inconsistency detected at top-level (Ticket KODKOD-4)').
6813 cli_testcase(2063, [smt_solver_integration,tickets], [
6814 '../prob_examples/public_examples/B/SymmetryReduction/StaticSymmetryReduction/DefSet5.mch',
6815 '-p', 'TIME_OUT', '30000',
6816 '-evalt', ':z3-double-check (ID=P1\\/P2) & (P1/\\P2={}) & (aa/=bb) & ({aa,bb,xx}<:ID) & (card(ID)=5) & (aa:P1) & (bb:P2) & (xx:P2) & (xx/=bb) & (card(P1)=1) & not((aa:P1) & (bb:P2) & (xx:P2) & (xx=bb) & (card(P1)=1))'
6817 % seems to run into time-out sometimes
6818 ], 'check model translation works and as const bug fixed (Ticket SSIMT-8)').
6819 cli_testcase(2064, [cbc,tickets,sigma], [
6820 '-evalf', 'PI(x).(x:{0,y}|x)=2', % was reporting solution y=2
6821 '-evalt', 'PI(x).(x:{1,y}|x)=2',
6822 '-evalf', 'SIGMA(x).(x:{1,y}|x)=2',
6823 '-evalt', 'SIGMA(x).(x:{1,y}|x)=3',
6824 '-evalt', 'SIGMA(x).(x:{0,y}|x)=22',
6825 '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE'
6826 ], 'check issue with PI and 0 accumulator fixed').
6827 cli_testcase(2065, [external,reals,sigma], [
6828 '-evalt', 'PI(x).(x:{1.0,y}|x)=2.0',
6829 '-evalt', 'SIGMA(x).(x:{1.0,2.0}|x) = 3.0',
6830 '-evalf', 'SIGMA(x).(x:{1.0,2.0}|x) = 2.0',
6831 '-evalt', 'PI(x).(x:{1.0,2.0}|x) = 2.0',
6832 '-evalt', 'SIGMA(x).(x:{1.0,2.0}|x+x) = 6.0',
6833 '-evalt', 'PI(x).(x:{1.0,2.0}|x+x) = 8.0',
6834 '-evalt', 'SIGMA(x).(x:1..100|real(x)) = 5050.0',
6835 '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE'
6836 ], 'check SIGMA and PI work with reals').
6837 cli_testcase(2066, [cbc,infinite], [
6838 '-evalt', 'f = /*@symbolic */ %x.(x:NATURAL|x mod 2) & res = f \\ f & r2 = f /\\ f',
6839 '-evalt', 'f = /*@symbolic */ %x.(x:NATURAL|x mod 2) & res = f \\ f & res={}',
6840 '-evalt', 'f = /*@symbolic */ %x.(x:NATURAL|x mod 2) & r2 = f /\\ f & r2 = f',
6841 '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE'
6842 ], 'check symbolic treatment of intersection and set subtraction / difference').
6843 cli_testcase(2067,[b_test,operation_calls_in_expr],['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
6844 '../prob_examples/public_examples/B/NewSyntax/CallOperationInExprMultipleReturns.mch',
6845 '-p', 'ALLOW_OPERATION_CALLS_IN_EXPRESSIONS', 'TRUE',
6846 '-assertions',
6847 '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE'
6848 ], 'Test calling operations in expressions with multiple return args').
6849 cli_testcase(2068, [sequences,infinite,exists], [
6850 '-evalt', 'SB = {x|#n.(x:1..n >-> BOOL)} & [TRUE,FALSE] : SB & [] : SB',
6851 '-evalt', 'SB = {x|#n.(x:1..n --> BOOL)} & [TRUE,FALSE] : SB & [TRUE,TRUE] : SB & [] : SB',
6852 '-evalt', 'SB = {x|#n.(n:NATURAL1 & x:1..n --> BOOL)} & [TRUE,FALSE] : SB & [TRUE,TRUE] : SB & [] /: SB',
6853 '-evalt', 'SB = {x|#n.(n>0 & x:1..n --> BOOL)} & [TRUE,FALSE] : SB & [TRUE,TRUE] : SB & [] /: SB',
6854 '-evalt', 'SB = {x|#n.(n>=1 & x:1..n --> BOOL)} & [TRUE,FALSE] : SB & [TRUE,TRUE] : SB & [] /: SB',
6855 '-evalt', 'SB = {x|#n.(0<n & x:1..n --> BOOL)} & [TRUE,FALSE] : SB & [TRUE,TRUE] : SB & [] /: SB',
6856 '-evalt', 'SB = {x|#n.(n:NATURAL & x:1..n --> BOOL)} & [TRUE,FALSE] : SB & [TRUE,TRUE] : SB & [] : SB',
6857 '-evalt', 'SB = {x|#n.(n:NATURAL1 & x:1..n >-> NATURAL)} & [11,22] : SB & [22,22] /: SB & [] /: SB',
6858 '-evalt', 'SB = {x|#n.(x:1..n >->> BOOL)} & [TRUE,FALSE] : SB & [TRUE,TRUE] /: SB & perm(BOOL) = SB',
6859 '-evalt', 'SB = {x|#n.(n:NATURAL1 & x:1..n >->> BOOL)} & [TRUE,FALSE] : SB & [TRUE,TRUE] /: SB & perm(BOOL) = SB',
6860 '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE'
6861 ], 'check detection of sequence operator written using exists').
6862 cli_testcase(2069, [cbc,infinite], [
6863 '-evalt', 'bs = (NATURAL*{TRUE}) & bs2 = bs <+ {0|->FALSE} & bf = 0..3 <| bs2',
6864 '-evalt', 'bs = (NATURAL*{TRUE}) & bs2 = bs <+ {2|->FALSE} & bf = 1..3 <| bs2 & bf = [TRUE,FALSE,TRUE]',
6865 '-evalt', 'bs = (NATURAL*{TRUE}) & bs2 = bs <+ {0|->FALSE} & bs3 = bs <+ {3|->FALSE} & bf = 0..4 <| bs2',
6866 '-evalt', 'bs = (NATURAL*{TRUE}) & bs2 = bs <+ {0|->FALSE} & bf = {x|x>3} <<| bs2',
6867 '-evalt', 'bs = (NATURAL*{TRUE}) & bs2 = bs <+ {0|->FALSE} & bf = {x|x>3} <<| bs2 & bf = {(0|->FALSE),(1|->TRUE),(2|->TRUE),(3|->TRUE)}',
6868 '-evalt', 'bs = (NATURAL*{TRUE}) & bf = bs |>> {TRUE}',
6869 '-evalt', 'bs = (NATURAL*{TRUE}) & bf = bs |>> {TRUE} & bf={}',
6870 '-evalt', 'f = /*@symbolic */ {x,y,z|x+y=z & x>y & x:NATURAL & y:NATURAL} & r=(0..2)*(0..1) <| f',
6871 '-evalt', 'f = /*@symbolic */ {x,y,z|x+y=z & x>y & x:NATURAL & y:NATURAL} & r=(0..2)*(0..1) <| f & r = {(1|->0|->1),(2|->0|->2),(2|->1|->3)}',
6872 '-evalt', 'f = /*@symbolic */ {x,y,z,r|x+y+z=r & x:NATURAL & y:NATURAL & z:NATURAL} & r= f |> {3}',
6873 '-evalt', 'f = /*@symbolic */ {x,y,z,r|x+y+z=r & x:NATURAL & y:NATURAL & z:NATURAL} & r= f |> {0,1} & r = {(0|->0|->0|->0),(0|->0|->1|->1),(0|->1|->0|->1),(1|->0|->0|->1)}',
6874 '-evalt', ' f = /*@symbolic */ {x,y,z,r|x+y+z=r & x:NATURAL & y:NATURAL & z:NATURAL} & BB={0,1} & ff = (BB*BB*BB) <| f ',
6875 '-evalt', ' f = /*@symbolic */ {x,y,z,r|x+y+z=r & x:NATURAL & y:NATURAL & z:NATURAL} & BB={0,1} & ff = (BB*BB*BB) <| f & ff = {(0|->0|->0|->0),(0|->0|->1|->1),(0|->1|->0|->1),(0|->1|->1|->2),(1|->0|->0|->1),(1|->0|->1|->2),(1|->1|->0|->2),(1|->1|->1|->3)}',
6876 '-evalt', 'f = /*@symbolic */ {x,y,z,r|x+y+z=r & x:NATURAL & y:NATURAL & z:NATURAL} & BB={1} & ff = (BB*BB*BB) <| f & ff = {1|->1|->1|->3}',
6877 '-evalt', 'f = /*@symbolic */ {x,y,z,r|x+y+z:{r,r+1} & x:NATURAL & y:NATURAL & z:NATURAL} & BB={1} & ff = (BB*BB*BB) <| f & ff = {(1|->1|->1|->2),(1|->1|->1|->3)}',
6878 % TO DO: bs = (NATURAL*{TRUE}) & bs2 = bs <+ {0|->FALSE} & bf = bs2 |> {FALSE}
6879 '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE'
6880 ], 'check symbolic treatment for domain restriction for closures').
6881 cli_testcase(2070, [cbc,clpfd_tables], [
6882 '-evalt', '3 : {r,r+1}',
6883 '-evalt', 'card({r|3 : {r,r+1}}) /= 3',
6884 '-evalt', '{r|3 : {r,r+1}} = {2,3}',
6885 '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE'
6886 ], 'check that element/3 constraint also enumerates before enumeration warnings are generated').
6887 cli_testcase(2071, [cbc,cbc_tests], [
6888 '../prob_examples/examples/B/Altran/SafetyLogic_Anime_m3_mch.eventb',
6889 '-cbc_tests', 5, 'trainKind(tr1):{Ertms}', '../prob_examples/examples/B/Altran/test_2071_cbc.xml',
6890 '-cbc_cover', 'trainEntring', '-force_no_silent'
6891 ], 'check that test-case generation works for Altran example').
6892 cli_testcase(2072, [cbc,cbc_tests], [
6893 '../prob_examples/examples/B/Altran/SafetyLogic_Anime_m3_mch.eventb',
6894 '-cbc_tests', 3, '{Ertms}=ran(trainKind)', '../prob_examples/examples/B/Altran/test_2072_cbc.xml',
6895 '-cbc_cover', 'trainEntring',
6896 '-expcterr', 'cbc_tests', '-force_no_silent'
6897 ], 'check that no instantation or other error; coverage cannot be achieved here').
6898 cli_testcase(2073, [cbc,infinite], [
6899 '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE', % added after we changed expand_and_convert_to_avl_set_catch
6900 %'-evalt', 'f = %x.(x:NATURAL|x+1) & g = f <+ {0|->0} & g : INTEGER +-> INTEGER', % NOW UNKNOWN
6901 %'-evalt', 'g = /*@symbolic*/ {x,rr|x |-> rr : {(0|->0)} or (x /: {0} & (x : NATURAL & rr = x + 1))} & g:NATURAL +-> NATURAL', % NOW UNKNOWN
6902 '-evalf', 'g = /*@symbolic*/ {x,rr|x |-> rr : {(0|->0)} or (x /: {0} & (x : NATURAL & rr = x + 1))} & g:NATURAL1 +-> NATURAL',
6903 '-evalf', 'g = /*@symbolic*/ {x,rr|x |-> rr : {(0|->0)} or (x /: {0} & (x : NATURAL & rr = x + 1))} & g:NATURAL +-> NATURAL1',
6904 '-evalf', 'g = /*@symbolic*/ {x,rr|x |-> rr : {(1|->1)} or (x /: {0} & (x : NATURAL & rr = x + 1))} & g:NATURAL +-> NATURAL1',
6905 %'-evalt', 'g = /*@symbolic*/ {x,rr|x |-> rr : {(1|->1)} or (x /: {1} & (x : NATURAL & rr = x + 1))} & g:NATURAL +-> NATURAL1', % NOW UNKNOWN, requires CHR
6906 '-evalf', 'f = /*@symbolic */ {x,y|x:NATURAL & (x>=100 => y=100) & (x<100 => y=x)} & f:NATURAL +-> NATURAL1',
6907 %'-evalt', 'f = /*@symbolic */ {x,y|x:NATURAL & (x>=100 => y=100) & (x<100 => y=x+1)} & f:NATURAL +-> NATURAL1', % NOW UNKNOWN
6908 %'-evalt', 'f = /*@symbolic */ {x,y|x:NATURAL & (x>=100 => y=100) & (x<100 => y=x)} & f:NATURAL +-> NATURAL',
6909 '-evalt', 'f = /*@symbolic */ {x,y|x:NATURAL & y = IF (x>=100) THEN 100 ELSE x END} & f:NATURAL +-> NATURAL',
6910 '-evalf', 'NATURAL*{1,3} = f & f: NATURAL +-> NATURAL',
6911 '-evalt', 'NATURAL*{1} = f & f: NATURAL +-> NATURAL1',
6912 '-evalt', 'f = %x.(x:1..10|10) \\/ %x.(x>10|11) & f: NATURAL1 +-> 10..11',
6913 % does not work: f = /*@symbolic */ {x,y|x:NATURAL & (x>=100 => y=100) & (x<100 => y=x+1)} & f:NATURAL +-> 1..100
6914 % because this does not work: {x,y|y /: (1 .. 10) & (x : NATURAL & (x >= 10 => y = 10) & (x < 10 => y = x + 1))} = {}
6915 % this does work: {x,y|y /: (1 .. 10) & (x : NATURAL & y=IF x >= 10 THEN 10 ELSE x + 1 END)} = {}
6916 '-evalf', 'x : NATURAL & (z1 = IF x>=100 THEN 100 ELSE x END ) & (x : NATURAL & (x >= 100 => z2 = 100) & (x < 100 => z2 = x)) & z1 /= z2' % part of functionality violations symbolic test
6917 %'-evalf', 'x : NATURAL & (x >= 100 => z_ = 100) & (x < 100 => z_ = x) & (x : NATURAL & (x >= 100 => z__ = 100) & (x < 100 => z__ = x)) & z_ /= z__' % does not work yet; either enumeration => LHSPredRes or detect IF-THEN-ELSE
6918 ], 'check symbolic treatment for partial function check').
6919 cli_testcase(2074, [cbc,infinite,exists], [
6920 '-evalt', 'g = /*@symbolic*/ {x,rr|x |-> rr : {(1|->1)} or (x /: {1} & (x : NATURAL & rr = x + 1))} & dom(g)=dd & dd=NATURAL',
6921 '-evalf', 'g = /*@symbolic*/ {x,rr|x |-> rr : {(1|->1)} or (x /: {1} & (x : NATURAL & rr = x + 1))} & dom(g)=dd & dd=NATURAL1',
6922 '-evalt', 'f = /*@symbolic*/ %x.(x:NATURAL|x+1) & g = f <+ {1|->1} & dom(g)=dd & dd=NATURAL',
6923 '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE'
6924 ], 'check symbolic treatment for domain with optimized exists construction').
6925 cli_testcase(2075, [cbc,infinite], [
6926 '-evalf', 'f = %x.(x:NATURAL|x+1) <+ {0|->0} & f:NATURAL --> NATURAL1',
6927 '-evalt', 'f = %x.(x:1..10|0) \\/ %x.(x>10|x) & f: NATURAL1 --> NATURAL',
6928 '-evalf', 'f = %x.(x:1..10|0) \\/ %x.(x>=10|x) & f: NATURAL1 --> NATURAL',
6929 '-evalt', 'f = %x.(x:1..10|10) \\/ %x.(x>=10|x) & f: NATURAL1 --> NATURAL',
6930 '-evalt', 'f = %x.(x:1..10|10) \\/ %x.(x>=10|x) & f: NATURAL1 --> NATURAL1',
6931 '-evalt', 'f = %x.(x:1..10|10) \\/ %x.(x>=10|x) & f: NATURAL1 --> GT9 & GT9 = {x|x>9}',
6932 '-evalt', 'f = %x.(x:1..10|10) \\/ %x.(x>10|11) & f: NATURAL1 --> 10..11',
6933 '-evalt', 'f = %x.(x:NATURAL|x) <+ {0|->1} & f:NATURAL --> NATURAL1',
6934 '-evalt', 'f = %x.(x:1..10|{10}) \\/ %x.(x>10|{x,10}) & f: NATURAL1 --> POW(NATURAL1)',
6935 '-evalt', 'f= /*@symbolic*/ {domid,ranid|domid |-> ranid : {(1|->TRUE)} or (domid /: {1} & (ranid = FALSE & domid : NATURAL))} & f:NATURAL --> BOOL', % example from Kraibi/Modele00_r1_prob_mch
6936 %'-evalt', 'f = %x.(x:NATURAL|x+1) <+ {0|->0} & f:NATURAL --> NATURAL'
6937 % f = %x.(x<=10|11) \/ %x.(x>=10|x+1) & f: INTEGER --> NATURAL
6938 % f = %x.(x:1..10|0) \/ %x.(x>10|x+1) & f: NATURAL1 --> NATURAL
6939 '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE'
6940 ], 'check symbolic treatment of total function').
6941 cli_testcase(2076, [alloy], [
6942 '../prob_examples/public_examples/Alloy/SimpleTests/overflow/milicevic.als',
6943 '-strict', '-mc', 10, '-nodead', '-cc', 2, 1
6944 ], 'Check util/boolean supported and no overflow detected').
6945 cli_testcase(2077, [b_test,json_trace_replay,visb], [
6946 '../prob_examples/public_examples/B/VisB/Train/SimpleTrainTrack.mch',
6947 '-trace_replay', 'json', '../prob_examples/public_examples/B/VisB/Train/SimpleTrainTrack.prob2trace',
6948 '-visb', '../prob_examples/public_examples/B/VisB/Train/Track.json',
6949 '../prob_examples/public_examples/B/VisB/Train/Track_Trace.html'], 'Check JSON replay and VisB HTML generation').
6950 cli_testcase(2078, [infinite], [
6951 '-evalt', 'f = %x.(x:INTEGER|x+1) & r = %y.(y:1..n|n+1) & res = ((r;f);f) & n=10000',
6952 '-evalt', 'f = %i.(i:1..3000|x+i) & a = %x.(x:INTEGER|x+1) & res = (f;a) & x:0..20 & res(1)=11'
6953 ], 'Check symbolic relational composition').
6954 cli_testcase(2079, [ltsmin_test], ['../prob_examples/public_examples/B/Ivo/SleepSetsStudyCase.mch', '-mc-with-lts-seq', '-noinv', '-expcterr', 'ltsmin_counter_example_found', %'deadlock', '-cc',7,7,
6955 '-strict'], 'A variation of deadlock test 1138 for LTSmin.').
6956 cli_testcase(2080, [ltsmin_test], ['../prob_examples/public_examples/EventBPrologPackages/SSF/Bepi_Soton/M0_mch.eventb',
6957 '-mc-with-lts-seq', '-noinv', '-expcterr', 'ltsmin_counter_example_found', %'deadlock',
6958 '-strict'], 'A variation of deadlock test 203 for LTSmin.').
6959 cli_testcase(2081, [ltsmin_test], ['../prob_examples/public_examples/EventBPrologPackages/SSF/Bepi_Soton/M3_mch.eventb',
6960 '-mc-with-lts-seq', '-noinv', '-expcterr', 'ltsmin_counter_example_found', %'deadlock',
6961 '-strict'], 'A variation of deadlock test 203 for LTSmin.').
6962 cli_testcase(2082, [eventb_test], ['../prob_examples/public_examples/EventBPrologPackages/SSF/Bepi_Soton/M0_mch.eventb',
6963 '-model-check', '-noinv', '-expcterr', 'deadlock',
6964 '-p', 'COMPRESSION', 'TRUE',
6965 '-strict'], 'A variation of deadlock test 203 with COMPRESSION.').
6966 cli_testcase(2083, [ltsmin_test], ['../prob_examples/public_examples/B/Benchmarks/CAN_BUS_tlc.mch',
6967 '-mc-with-lts-seq', '-nodead', '-strict'],
6968 'Test 1043 with LTSMin.').
6969 cli_testcase(2084, [ltsmin_test], [
6970 '../prob_examples/public_examples/B/Benchmarks/CSM.mch', % '-check_complete','-cc', '341', '1229'
6971 '../prob_examples/public_examples/B/Benchmarks/scheduler.mch', % '-check_complete', '-cc', '36', '121'
6972 '-mc-with-lts-seq', '-nodead', '-strict'],
6973 'Test 13, 14 with LTSMin.').
6974 cli_testcase(2085, [bench,operation_reuse,operation_reuse_full], ['../prob_examples/public_examples/B/Benchmarks/CSM.mch', '-mc', '1000', '-strict',
6975 '-p', 'COMPRESSION', 'TRUE', '-p', 'OPERATION_REUSE', full,
6976 '-check_complete', '-cc', '341', '1229'], 'Test 13 (CSM) with compression and reuse').
6977 cli_testcase(2086, [infinite], [
6978 '-evalf', 'f = %t.(t : NATURAL|t + 100) & f /: NATURAL +-> NATURAL',
6979 '-evalt', 'f = %t.(t : NATURAL|t + 100) & f : NATURAL +-> NATURAL',
6980 '-evalt', 'f = %t.(t : NATURAL|t + 100) & f /: NATURAL1 +-> NATURAL',
6981 '-evalt', 'f = %t.(t : NATURAL|t - 1) & f /: NATURAL +-> NATURAL',
6982 '-evalt', 'f = /*@symbolic */ %p.(p:BOOL|(%t.(t:NATURAL|t+100))) & f: BOOL --> (NATURAL +-> NATURAL)'
6983 ], 'Check symbolic treatment of not partial function test').
6984 cli_testcase(2087, [infinite], [
6985 '-evalf', 'f = %t.(t : NATURAL|t + 100) & f /: NATURAL --> NATURAL',
6986 '-evalt', 'f = %t.(t : NATURAL|t + 100) & f : NATURAL --> NATURAL1',
6987 '-evalt', 'f = %t.(t : NATURAL|t + 100) & f /: NATURAL1 --> NATURAL',
6988 '-evalt', 'f = %t.(t : NATURAL1|t + 100) & f /: NATURAL --> NATURAL',
6989 '-evalt', 'f = %t.(t : NATURAL|t - 1) & f /: NATURAL --> NATURAL',
6990 '-evalt', 'f = /*@symbolic */ %p.(p:BOOL|(%t.(t:NATURAL|t+100))) & f: BOOL --> (NATURAL --> NATURAL)'
6991 ], 'Check symbolic treatment of not total function test').
6992 cli_testcase(2088, [infinite], [
6993 '-evalf', 'n:NATURAL & n..(n+1) /<: NATURAL',
6994 '-evalt', 'n:NATURAL & n..(n+1) /<: NATURAL1',
6995 '-evalf', 'n:NATURAL & n..(n+1) /<: {x|x>=0}',
6996 '-evalf', 'n>100 & n..(n+1) /<: {x|x>=100}',
6997 '-evalt', 'n:NATURAL & n..(n+1) /<: {x|x<10}',
6998 '-evalt', 'n:NATURAL & n..(n) /<: {x|x<10}',
6999 '-evalf', 'n<10 & n..(n) /<: {x|x<10}',
7000 '-evalt', 'n<10 & n..(n+1) /<: {x|x<10}',
7001 '-evalf', 'n<9 & n..(n+1) /<: {x|x<10}',
7002 '-evalf', 'n..(n+1) /<: {x|x:INTEGER}',
7003 '-evalt', 'f = /*@symbolic */ %p.(p:BOOL|(%t.(t:NATURAL|t..(t+100)))) & f: BOOL --> (NATURAL --> POW(NATURAL))'
7004 ], 'Check symbolic treatment of not subset for intervals').
7005 cli_testcase(2089, [infinite], [
7006 '-evalf', 'f = %t.(t : NATURAL|t - 1) & f : NATURAL -->> NATURAL1',
7007 '-evalt', 'f = %t.(t : NATURAL|t - 1) & f /: NATURAL -->> NATURAL1',
7008 '-evalf', 'f = %t.(t : NATURAL|t - 1) & f : NATURAL +->> NATURAL1',
7009 '-evalf', 'f = %t.(t : NATURAL|t + 2) & f : NATURAL -->> NATURAL1',
7010 '-evalt', 'f = %t.(t : NATURAL|t - 1) & f /: NATURAL +->> NATURAL1',
7011 '-evalt', 'f = %t.(t : NATURAL|t - 1) & f /: NATURAL -->> NATURAL1',
7012 % still unknown: f = %t.(t : NATURAL|t + 1) & f /: NATURAL +->> NATURAL1 because z_ : NATURAL1 & not(#t.(t : NATURAL & z_ = t + 1)) is unknown
7013 '-evalf', '/*@symbolic */ {x|#y.(y:NATURAL & x=y-2)} <: NATURAL',
7014 '-evalt', '/*@symbolic */ {x|#y.(y:NATURAL & x=y+2)} <: NATURAL',
7015 % NATURAL <: {x|#y.(y:NATURAL & x=y-2)} is TRUE (the set is -2..inf); see test 2722
7016 '-evalf', 'NATURAL <: /*@symbolic */ {x|#y.(y:NATURAL & x=y+2)} ',
7017 '-evalt', 'NATURAL1 /<: /*@symbolic */ {x|#y.(y:NATURAL & x=y+2)}',
7018 '-evalf', '/*@symbolic */ {x|#y.(y:NATURAL & x=y+2)} /<: NATURAL',
7019 '-evalt', '/*@symbolic */ {x|#y.(y:NATURAL & x=y-2)} /<: NATURAL',
7020 '-evalt', 'z:NATURAL1 & not(#y.(y:NATURAL & z=y+2))',
7021 '-evalf', 'f = /*@symbolic */ %p.(p:BOOL|(%t.(t:NATURAL|t+100))) & f: BOOL --> (NATURAL -->> NATURAL)'
7022 ], 'Check symbolic treatment of total surjection and not subset').
7023 cli_testcase(2090, [tla,json_trace_replay], ['../prob_examples/public_examples/TLA/TLA_Google_Group/Einstein/Einstein_v2.tla',
7024 '-trace_replay', 'json', '../prob_examples/public_examples/TLA/TLA_Google_Group/Einstein/Einstein_v2.prob2trace',
7025 % '-t',
7026 '-mc', 5, '-nodead'], 'check TLA model can be solved and FALSE action loaded (requires tla2bast 1.1.4)').
7027 cli_testcase(2091, [cbc], [
7028 '-evalt', 'memp : seq(STRING) & memp /= [] & dom(memp) <<: 1 .. 20',
7029 '-evalt', 'memp : seq(STRING) & memp /= [] & dom(memp) <<: 1 .. 200',
7030 '-evalt', 'memp : seq(STRING) & memp /= [] & dom(memp) <<: 1 .. 2000',
7031 '-evalt', 'memp : seq(STRING) & memp /= [] & dom(memp) <<: 1 .. 20 & dom(memp) /= {}',
7032 '-evalt', 'memp : seq(STRING) & memp /= [] & dom(memp) <: 1 .. 20 & dom(memp) /= {}',
7033 '-evalt', 'memp : seq(STRING) & memp /= [] & dom(memp) <<: 1 .. 43',
7034 '-evalt', 'memp : seq(STRING) & (1 .. 43 /\\ dom(memp)) /= {} & dom(memp) <<: 1 .. 43',
7035 '-evalt', 'memp : seq(STRING) & mdp >=0 & mdp < 1 & memp /= {} & (mdp + 1 .. mdp + 43 /\\ dom(memp)) /= {} & dom(memp) <<: mdp + 1 .. mdp + 43'
7036 ], 'Check strict subset issues solved'). % related to test 1003 (plavis-TransData_SP_13.prob)
7037 cli_testcase(2092, [cbc], [
7038 '-evalf', 'n:NATURAL1 & not(1001:NATURAL)',
7039 '-evalf', 'n:NATURAL1 & not(1001:NATURAL1)',
7040 '-evalf', 'n:NATURAL & not(1001:NATURAL1)',
7041 '-evalf', 'n<100 & not(1001:NATURAL1)',
7042 %'-evalf', 'n:NATURAL1 & x:2..3 & not(x:NATURAL1)', % TODO: still unknown
7043 '-evalf', 'n>100 & not(1001:NATURAL1)',
7044 '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE'
7045 ], 'Check no enumeration warning issues leading to UNKNOWN').
7046 cli_testcase(2093, [cbc,bmc,tla],
7047 ['../prob_examples/public_examples/TLA/TLA_Google_Group/Einstein/TLA_Examples/Einstein.tla',
7048 '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
7049 '-bmc', 1, '-expcterr', 'invariant_violation',
7050 '-sptxt', '../prob_examples/public_examples/TLA/TLA_Google_Group/Einstein/TLA_Examples/prob_bmc_counterexample_test2093.mch'], 'check TLA model can be solved with bmc').
7051 cli_testcase(2094, [cbc,tla],
7052 ['../prob_examples/public_examples/TLA/TLA_Google_Group/Einstein/TLA_Examples/Einstein.tla',
7053 '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
7054 '-cbc', 'all', '-expcterr', 'cbc',
7055 '-sptxt', '../prob_examples/public_examples/TLA/TLA_Google_Group/Einstein/TLA_Examples/prob_cbc_counterexample_test2094.mch'], 'check TLA model can be solved with bmc').
7056 cli_testcase(2095,[alloy,cbc,cbc_tests],['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
7057 '../prob_examples/public_examples/Alloy/Puzzles/einsteins_puzzle.als',
7058 '-cbc_sequence', run0,
7059 '-strict'], 'Test Alloy model and solution for run0 found').
7060 cli_testcase(2096, [smt_solver_integration], [
7061 '-p', 'TIME_OUT', '30000',
7062 '-evalt', ':z3-double-check s=id(1..100)',
7063 '-evalt', ':z3-double-check s=union({{1,2,3},{4,5,6},{1,2,10}})',
7064 '-evalf', ':z3-double-check s=union({{1,2,3},{4,5,6},{1,2,10}}) & s={}',
7065 '-evalt', ':z3-double-check s=inter({{1,2,3},{4,5,6},{1,2,10}})',
7066 '-evalt', ':z3-double-check s=inter({{1,2,3},{1,2,6},{1,2,10}})',
7067 '-evalt', ':z3-double-check a=[1,2,3,4,5]~',
7068 '-evalt', ':z3-double-check x = %i.(i:1..10|i+i) & x[{j}]=a',
7069 '-evalt', ':z3-double-check x = %i.(i:1..10|i+i) & x[{j}]={8}',
7070 %'-evalt', ':z3-double-check f=%x.(x:INTEGER|x*x*x) & f(f(x))=y & y=512', % TODO: doesn't terminate since Z3 4.13.2
7071 '-evalt', ':z3-double-check a : FIN((1..3) * (1..3)) & a/={} & (2,2):a',
7072 '-evalt', ':z3-double-check a : FIN((1..3) * INT)',
7073 '-evalt', ':z3-double-check x:POW1(1..10) & y = x*x',
7074 '-evalf', ':z3-double-check x:POW1(1..10) & {} = x*x'
7075 ], 'check new z3 translation with lambdas').
7076 cli_testcase(2097,[cbc,bmc],['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
7077 '../prob_examples/public_examples/TLA/Benchmarks/Queens/NQueens.mch',
7078 '-bmc', 1, '-expecterr', 'invariant_violation',
7079 '-strict'], 'Test invariant violation after INITIALISATION found').
7080 cli_testcase(2098, [cbc], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
7081 '-evalt', 'q : 1 .. 16 --> 1 .. 16 & card(ran(q))=16',
7082 '-evalt', 'q : 1 .. 16 --> 1 .. 16 & card(ran(q))=card(dom(q))',
7083 %'-evalt', 'q : 1 .. 16 --> 1 .. 16 & card({R|R:INTEGER & #D.(D:dom(q) & R=q(D))})=card(dom(q))', % only works in Disprover mode
7084 %'-evalt', 'q : 1 .. 16 --> 1 .. 16 & card({R|R:INTEGER & #D.(D|->R:q)})=card(dom(q))',
7085 '-evalt', 'f=%x.(x:1..1000|x+1) & 1000=card(ran(f))',
7086 '-evalt', 'f=%x.(x:1..n|x+1) & res=card(ran(f))& n:{1000,1001} & res=1001'
7087 ], 'Test improved card of range treatment').
7088 cli_testcase(2099, [laws,bmc], [
7089 '../prob_examples/public_examples/B/Laws/ArithmeticExpLaws.mch',
7090 '-bmc', 7 %'-opterr', 'clpfd_overflow' % after changing get_assign_expr_priority_wf we no longer have an overflow
7091 ], 'BMC: Various arithmetic laws with power; see clpfd overflow caught or not generated.').
7092 cli_testcase(2100, [laws,bmc], [
7093 '../prob_examples/public_examples/B/Laws/BoolLaws.mch',
7094 '../prob_examples/public_examples/B/Laws/ArithmeticLaws.mch',
7095 '-bmc', 6], 'BMC: Various bool and arithmetic laws.').
7096 cli_testcase(2101, [laws,bmc], [
7097 '../prob_examples/public_examples/B/Laws/NatRangeLaws.mch',
7098 '-bmc', 4], 'BMC: Various intervals laws.').
7099 cli_testcase(2102, [laws,bmc], [
7100 '../prob_examples/public_examples/B/Laws/RelLaws.mch',
7101 '-bmc', 1], 'BMC: Various bool and arithmetic laws.'). % TO DO: examine timeouts for larger values of bmc
7102 cli_testcase(2103, [laws,bmc,tickets], [
7103 '../prob_examples/public_examples/B/Tickets/BMC_CallResidue/SetLaws_reduced2.mch',
7104 '-bmc', 4], 'BMC: check no pending co-routines due to POW (power_set use of findall).').
7105 cli_testcase(2104, [laws,bmc], [
7106 '../prob_examples/public_examples/B/Laws/SetLaws.mch',
7107 '-bmc', 3], 'BMC: Various set laws.'). % used to generate call_residue for b_not_test_conjunction/7 due to time-out
7108 cli_testcase(2105, [cdclt], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE', '-p', 'TIME_OUT', '10000',
7109 '-evalt', ':cdclt-double-check x=1 or x=2',
7110 '-evalf', ':cdclt-double-check x=1 & x=2',
7111 '-evalt', ':cdclt-double-check {S,E,N,D, M,O,R, Y} <: 0..9 & S >0 & M >0 & card({S,E,N,D, M,O,R, Y}) = 8 & S*1000 + E*100 + N*10 + D + M*1000 + O*100 + R*10 + E = M*10000 + O*1000 + N*100 + E*10 + Y',
7112 '-evalt', ':cdclt-double-check sqrt>0 & sqrt*sqrt <= i & (sqrt+1)*(sqrt+1)>i & i = 10000000',
7113 '-evalt', ':cdclt-double-check n = 8 & queens : 1..n >-> 1..n & !(q1,q2).(q1:1..n & q2:2..n & q2>q1 => queens(q1)+(q2-q1) /= queens(q2) & queens(q1)+(q1-q2) /= queens(q2))',
7114 '-evalt', ':cdclt-double-check DOM = 1..9 & SUBSQ = { {1,2,3}, {4,5,6}, {7,8,9} } & Board : DOM --> (DOM --> DOM) & !y.(y:DOM => !(x1,x2).(x1:DOM & x1<x2 & x2:DOM => Board(x1)(y) /= Board(x2)(y) & Board(y)(x1) /= Board(y)(x2))) & !(s1,s2).(s1:SUBSQ & s2:SUBSQ => !(x1,y1,x2,y2).( (x1:s1 & x2:s1 & x1>=x2 & (x1=x2 => y1>y2) & y1:s2 & y2:s2 & (x1,y1) /= (x2,y2)) => Board(x1)(y1) /= Board(x2)(y2))) & Board(1)(1)=7 & Board(1)(2)=8 & Board(1)(3)=1 & Board(1)(4)=6 & Board(1)(6)=2 & Board(1)(7)=9 & Board(1)(9) = 5 & Board(2)(1)=9 & Board(2)(3)=2 & Board(2)(4)=7 & Board(2)(5)=1 & Board(3)(3)=6 & Board(3)(4)=8 & Board(3)(8)=1 & Board(3)(9)=2 & Board(4)(1)=2 & Board(4)(4)=3 & Board(4)(7)=8 & Board(4)(8)=5 & Board(4)(9)=1 & Board(5)(2)=7 & Board(5)(3)=3 & Board(5)(4)=5 & Board(5)(9)=4 & Board(6)(3)=8 & Board(6)(6)=9 & Board(6)(7)=3 & Board(6)(8)=6 & Board(7)(1)=1 & Board(7)(2)=9 & Board(7)(6)=7 & Board(7)(8)=8 & Board(8)(1)=8 & Board(8)(2)=6 & Board(8)(3)=7 & Board(8)(6)=3 & Board(8)(7)=4 & Board(8)(9)=9 & Board(9)(3)=5 & Board(9)(7)=1',
7115 '-evalt', ':cdclt-double-check DOM = {1,2,3,4,5,6,7,8,9} & Board : DOM --> (DOM --> DOM) & (Board : INTEGER +-> ((INTEGER<->INTEGER)) & 1 : dom(Board) & 1 : dom(Board(1)) & Board(1) : INTEGER +-> INTEGER & Board(1)(1) = 7)',
7116 '-evalt', ':cdclt-double-check DOM = {1,2,3,4,5,6,7,8,9} & Board(1)(1) = 7',
7117 '-evalt', ':cdclt-double-check {K,P} <: 1..9 & {I,S,A,O,N} <: 0..9 & (1000*K+100*I+10*S+S) * (1000*K+100*I+10*S+S) = 1000000*P+100000*A+10000*S+1000*S+100*I+10*O+N & card({K, I, S, P, A, O, N}) = 7',
7118 '-evalt', ':cdclt-double-check (A=TRUE <=> (B=FALSE or C=FALSE)) & (B=TRUE <=> A=TRUE)',
7119 '-evalf', ':cdclt-double-check (A=TRUE <=> (B=FALSE or C=FALSE)) & (B=TRUE <=> A=TRUE) & B=FALSE',
7120 '-evalt', ':cdclt-double-check cube = %x.(x:INTEGER|x*x*x) & ([1,2,3,4,5] ; cube) = list & cube[1..10] = image & cube(y) = 15625',
7121 '-evalt', ':cdclt-double-check DOM = {1,2,3,4,5,6,7,8,9} & (Board : INTEGER +-> ((INTEGER<->INTEGER)) & 1 : dom(Board) & 1 : dom(Board(1)) & Board(1) : INTEGER +-> INTEGER & Board(1)(1) = 7)',
7122 % the following constraints have been found by the Prolog fuzzer
7123 '-evalt', ':cdclt-double-check {"a"} : FIN({"a"}) or 279936 < - (0 + (-32 - min({54,-27,2}))) + ((-23 + max({12,-51,30}) / 113) - 9) <=> {"n","6","o","e"} - {"7","s"} /= {"Cev"}',
7124 '-evalf', ':cdclt-double-check -54 .. 4 <<: {-19470,-19144,-19076,-17773,-11298,-9821,-8847,-8790,-8609,-8232,-508,245,416,1018,5075,6575,10043,18046,19308} <=> (not(-35 - - (- 28 * MAXINT) >= max({59,41,61,-4,-13,50,28,58,-17,58,54,-54,54,5,-20,-23,34,-8,-25,-16,-47,-42,-34,33,18,-49,-5,-7,-10,32,-35,-40,17,-25,10,-29,-15,23,-23,7,10})) <=> 0 /= -12187)',
7125 '-evalt', ':cdclt-double-check btrue => -21 .. -11 <<: {13761} & -32 .. -11 /<: {-11745,-5153,-16613,-17839,-3598,-11064,-15654,-1151,-14874,-13025,8362,-3180,12111,5227,-1287,18256,5858,18146,8052,-2114,18763,9259,-18295,2081,16790,9462,8630,11820,-11320,-15826,-12584,16862,6,-441,-6442,13118,-1346,-11977} => (btrue => - 1 * - (0 * (1 - min({41,49,28,-36,-61,-13,31,41,1,44,-10,-29,-39,-35,17,46,-57,-61,-56,16,16,27,-15,-34,-59}) / 4)) < MAXINT)',
7126 '-evalt', ':cdclt-double-check btrue => -32 .. -11 /<: {-11745,-5153} => (btrue => - 1 * - (0 * (1 - min({41,49}) / 4)) < MAXINT)',
7127 '-evalt', ':cdclt-double-check btrue => -21 .. -11 <<: {13761} & -32 .. -11 /<: {-11745,-5153} => (btrue => - 1 * - (0 * (1 - min({41,49}) / 4)) < MAXINT)',
7128 '-evalt', ':cdclt-double-check {-19910,-18746,-16773,-15446,-14701,-12806,-11000,-9666,-8702,-6212,6573,9274,11522,11745,12209,17151,17624,18421,18593,19723} - {-19961,-19856,-18755,-18112,-17873,-15773,-13681,-12937,-11171,-10677,-7082,-7061,-4992,-4435,-3456,-3261,-2223,-1579,315,609,971,1484,2294,2495,3596,5065,5194,5609,5813,6792,6798,6920,7107,7195,7404,7990,9187,9517,11009,13260,14137,14147,15716,18611,19110,19337,19513} <<: {-4672,-17796,-4395,-14514,-4171,-13133,18369,-10632,7894,-15167,9678,9553,14831,6214,-6487,3093,-19899,-16914,306,-5209,-19188,-19968,4718,6866,-18040,947,-18538,5729,18888,-5761,-6479,-6113,1143,5424,7706,16860,-8906,-8415} => (-50 .. 10 = {-15424,1561,3745,-2865,-2186,-8876,-15970,-10344,1889,2751,-14364,-19299,-8441,-2199,10931,-1527,-557,-8985,-1152,-11802,6361,13242,11952,16544} => {-19444,-18905,-13816,-9049,-8343,-7466,-6334,-4630,-4492,-4139,-3813,-2461,921,1467,2179,2359,3401,3891,4620,7103,7156,9120,9807,10217,13043,15032,15064,15710,15848,19094,19884} /\\ {12048,11231,1868,417,9577,-13582,2563,12378,14444,2407,-6123,-6200,-12295,-15450,-11725,-6065,-4717,-7484} <: {9763,-5634,-7807,15930,16096,9294,9872,6155,-7741,16455,13929,8926,-10738,479,10765} <=> 79 mod 101 >= max({}))',
7129 '-evalf', ':cdclt-double-check not(({FALSE,TRUE} : FIN({FALSE,TRUE})) <=> (-(-(45) / 13) >= MAXINT <=> TRUE /: {FALSE,TRUE} <=> (inter({{TRUE,TRUE,TRUE,TRUE,FALSE,TRUE,FALSE,TRUE,TRUE,TRUE,FALSE}}) : FIN(inter({{TRUE,TRUE,TRUE,TRUE,FALSE,TRUE,FALSE,TRUE,TRUE,TRUE,FALSE}}))) or union({{TRUE,FALSE,FALSE,TRUE,FALSE,FALSE,TRUE,TRUE,FALSE}}) : FIN(union({{TRUE,FALSE,FALSE,TRUE,FALSE,FALSE,TRUE,TRUE,FALSE}}))))',
7130 '-evalt', ':cdclt-double-check ({FALSE,TRUE} <<: {FALSE,TRUE} or {} <<: {"+n9r]I<","00ML","5nAgN<]2-6pF[tSEcB^","7!J<4*","8iL];D&Z:ni!s3*}(}k_}_?-w;",">GlCdZ:","?Nn!bHODO1wL;","C78H","G:n2D^L4","O_ijw=8Ji~7oK?ZF","O_vdN.ikYTh","S{}K2m","WF{3>i8E3","n9*Lq^do","_Mu04s,9DAXNc~&","e>kKr","gOmYLo7","jca","oJ","v2&!aeJLwl","y;f+]","9"}) & (not({} <<: {"+n9rI","00ML","5nAgN2-6pFtSEcB^","7!J4","8iLDZni!s3_?-w;",">GlCdZ:","?Nn!bHODO1wL","C78H","G:n2DL4","O_ijw=8Ji7oK?ZF","O_vdN.ikYTh","SK2m","WF3>i8E3","n9*Lq^do","_Mu04s,9DAXNc","ekKr","gOmYLo7","jca","oJ","v2&!aeJLwl","y;f+","9"}) or not({FALSE,TRUE} <<: {FALSE,TRUE})) & (({} <<: {FALSE,TRUE} & (not(TRUE : {FALSE,TRUE}) or not(0 > min({-62,-49,-45,-43,-41,-31,-29,-24,-17,-5,-2,5,11,12,14,28,37,43,46,56,61,62})) or not({FALSE,TRUE} \\/ {FALSE,TRUE} <<: {FALSE,TRUE}))) or (TRUE : {FALSE,TRUE} & 0 > min({-62,-49,-45,-43,-41,-31,-29,-24,-17,-5,-2,5,11,12,14,28,37,43,46,56,61,62}) & {FALSE,TRUE} \\/ {FALSE,TRUE} <<: {FALSE,TRUE} & not({} <<: {FALSE,TRUE})) or not({} <<: {-18838,-17452,-17385,-17368,-16258,-14024,-13647,-11800,-10149,-9457,-8517,-6852,-6530,-3702,-3635,-3275,-1683,-983,1569,5914,6252,7434,11539,15004,16490,16542,17084,17672,19117,19164})) & ({} <<: {-18838,-17452,-17385,-17368,-16258,-14024,-13647,-11800,-10149,-9457,-8517,-6852,-6530,-3702,-3635,-3275,-1683,-983,1569,5914,6252,7434,11539,15004,16490,16542,17084,17672,19117,19164} or ((not({} <<: {FALSE,TRUE}) or (TRUE : {FALSE,TRUE} & 0 > min({-62,-49,-45,-43,-41,-31,-29,-24,-17,-5,-2,5,11,12,14,28,37,43,46,56,61,62}) & {FALSE,TRUE} \\/ {FALSE,TRUE} <<: {FALSE,TRUE})) & (not(TRUE : {FALSE,TRUE}) or not(0 > min({-62,-49,-45,-43,-41,-31,-29,-24,-17,-5,-2,5,11,12,14,28,37,43,46,56,61,62})) or {} <<: {FALSE,TRUE})))',
7131 '-evalf', ':cdclt-double-check min({-9,62,62,52,10,56,-40,-21,-41,-10,55,36,-49,51,32,38,13,-25,57,30,2,-2,44,31,-2,52,34,-46,-37,-34,27,2,38,-12,12,13,11,10,-25,43,-3,-15,32,44,-29,11,-60,-25}) /= -5382 & -9 .. 26 /<<: {-19996,-19637,-17345,-16440,-16151,-14331,-14216,-13851,-13702,-13513,-13120,-12762,-12362,-11205,-10452,-9575,-8455,-7689,-6723,-6420,-4168,-4084,-2567,126,1166,2415,3104,5409,5412,7177,7411,9946,10042,12934,13241,13475,13619,13840,14144,14347,14970,15179,15440,15963,17294,17661,18921,19903} <=> (5 ** 6 * (66 mod 69)) / 42 > ((125 mod 19) / 121) * (MAXINT * max({}))',
7132 '-evalt', ':cdclt-double-check not(- MININT /= 1363 <=> ({TRUE,FALSE,FALSE,FALSE,FALSE,FALSE,TRUE,FALSE,TRUE,TRUE,FALSE,TRUE,FALSE,TRUE} <<: {FALSE,TRUE,TRUE,TRUE,TRUE,FALSE,TRUE,TRUE,TRUE,TRUE,FALSE,TRUE,FALSE,TRUE,FALSE,TRUE,FALSE,TRUE,FALSE,TRUE,FALSE,TRUE,FALSE,TRUE,FALSE,TRUE,FALSE,TRUE,FALSE,TRUE,TRUE,TRUE,TRUE,TRUE,FALSE,TRUE,FALSE,TRUE,TRUE,FALSE,TRUE,FALSE} & (1 ** 15 > (max({-49,-56,-18,61,50,-64,20,55,-51,-14,-37,49,5,59,40,59,-19,26,39,33,43}) / 111) * (31 * (113 mod 16)) <=> ([FALSE,FALSE,TRUE,FALSE,TRUE] \\|/ -54 = [TRUE,FALSE,FALSE,FALSE,FALSE,TRUE,TRUE,FALSE,FALSE,FALSE,TRUE,TRUE,TRUE,TRUE,FALSE,TRUE,FALSE,TRUE,TRUE,FALSE,FALSE,TRUE,FALSE,FALSE,FALSE]) or {FALSE,FALSE,TRUE,FALSE,TRUE,TRUE,TRUE,TRUE,TRUE,FALSE,FALSE,FALSE,TRUE} /<: {FALSE,TRUE,TRUE,TRUE})))',
7133 '-evalt', ':cdclt-double-check ({13863,-2724,15542,-18887,11221,-11891,-17574,-2849,-13338,19123,-9651,-5848,-12601,15297,4528,-5524,-4136,-5229,-16157,-12619,-8161,-1247,-16962,10733,-2138,16616,-14300,-4637,-19621,4539,-15785,-248,-10087,-15335,-10899,-2532,13760,11564,-12141,-11280,3565,-14514,19104,3527} - {-811,-12966,17308,-9349,2149,9738,-318,14025,-18399,-17958,15260,-19451,-15085,9909,15837,-16231,4087,6545} /<<: {-6211,7604,19023,-8033,14009,5059,9369,-18930,-13755,-14150,8712,-11423,-1960,18652,-9294,19555,4807,5600,-17247,-16758,2745,12564,-6405,-10912,13623,-4015,-5184,19632,-1836,15510,4486,-18481,-4349,5837,1862,-13487,7275,-17300,-5584,-876,-10597,13971,-19380,-9716,-14414} or ({-19777,-19020,-17674,-17355,-16229,-15507,-14186,-9887,-7089,-4810,-4582,-4364,149,5703,8016,8955,9972,10690,11129,13218,15561,16863,18620} \\/ {} <: {-16699,-14540,-8802,-8022,-6474,-5385,-3859,-3146,-2872,-2219,-650,-258,470,2074,2387,2999,4265,7137,9264,15016,15222,15771,16836,17115,17840,18226,18317,18571,19862} & not({FALSE} /<<: {}))) <=> 8 .. 26 /<<: {-9274,-5298,-13637,9226,-1388,-2737,11191,-4811,-18395,13977,-19670,-12926,-7852,5226,13179,-14651,16848,-8312,9455,7659,1725,-2596,-8742,-13336,-17732,-18768,16309,13978,10408,6762,-909,15051,-7266,-82,-6845,-16879,14941,15517,-15212,-14214,-12398,7673}',
7134 '-evalf', ':cdclt-double-check not(({13863,-2724,15542,-18887,11221,-11891,-17574,-2849,-13338,19123,-9651,-5848,-12601,15297,4528,-5524,-4136,-5229,-16157,-12619,-8161,-1247,-16962,10733,-2138,16616,-14300,-4637,-19621,4539,-15785,-248,-10087,-15335,-10899,-2532,13760,11564,-12141,-11280,3565,-14514,19104,3527} - {-811,-12966,17308,-9349,2149,9738,-318,14025,-18399,-17958,15260,-19451,-15085,9909,15837,-16231,4087,6545} /<<: {-6211,7604,19023,-8033,14009,5059,9369,-18930,-13755,-14150,8712,-11423,-1960,18652,-9294,19555,4807,5600,-17247,-16758,2745,12564,-6405,-10912,13623,-4015,-5184,19632,-1836,15510,4486,-18481,-4349,5837,1862,-13487,7275,-17300,-5584,-876,-10597,13971,-19380,-9716,-14414} or ({-19777,-19020,-17674,-17355,-16229,-15507,-14186,-9887,-7089,-4810,-4582,-4364,149,5703,8016,8955,9972,10690,11129,13218,15561,16863,18620} \\/ {} <: {-16699,-14540,-8802,-8022,-6474,-5385,-3859,-3146,-2872,-2219,-650,-258,470,2074,2387,2999,4265,7137,9264,15016,15222,15771,16836,17115,17840,18226,18317,18571,19862} & not({FALSE} /<<: {}))) <=> 8 .. 26 /<<: {-9274,-5298,-13637,9226,-1388,-2737,11191,-4811,-18395,13977,-19670,-12926,-7852,5226,13179,-14651,16848,-8312,9455,7659,1725,-2596,-8742,-13336,-17732,-18768,16309,13978,10408,6762,-909,15051,-7266,-82,-6845,-16879,14941,15517,-15212,-14214,-12398,7673})',
7135 '-evalt', ':cdclt-double-check id0 : seq(INTEGER) & {id1,id2,id3|id1 : POW(INTEGER) & id2 : POW(REAL) & id3 : STRING & (-1 >= 0 & 56.289243046663664 /: FLOAT)} : FIN({id1,id2,id3|id1 : POW(INTEGER) & id2 : POW(REAL) & id3 : STRING & (-1 >= 0 & 56.289243046663664 /: FLOAT)}) & first(MAXINT -> id0) > PI(id1,id2,id3).(id1 : POW(INTEGER) & id2 : POW(REAL) & id3 : STRING & (-1 >= 0 & 56.289243046663664 /: FLOAT)|MAXINT ** -1)',
7136 '-evalt', ':cdclt-double-check id0 : seq(INTEGER) & {id1,id2,id3|id1 : POW(INTEGER) & id2 : POW(REAL) & id3 : STRING & (MININT >= 0 & 56.289243046663664 /: FLOAT)} : FIN({id1,id2,id3|id1 : POW(INTEGER) & id2 : POW(REAL) & id3 : STRING & (MININT >= 0 & 56.289243046663664 /: FLOAT)}) & first(MAXINT -> id0) > PI(id1,id2,id3).(id1 : POW(INTEGER) & id2 : POW(REAL) & id3 : STRING & (MININT >= 0 & 56.289243046663664 /: FLOAT)|MAXINT ** MININT)',
7137 '-evalt', ':cdclt-double-check not(conc([[FALSE,TRUE]]) : seq(BOOL) & aecwp : seq(BOOL) & [[FALSE,TRUE]] : seq(seq(BOOL)) & conc([[FALSE,TRUE]]) ^ aecwp = [FALSE,TRUE]) & aecwp = [TRUE]',
7138 '-evalt', ':cdclt-double-check conc([[FALSE,TRUE]]) : seq(BOOL) & aecwp : seq(BOOL) & [[FALSE,TRUE]] : seq(seq(BOOL)) & conc([[FALSE,TRUE]]) ^ aecwp = [FALSE,TRUE]',
7139 '-evalt', ':cdclt x * y =10 & !z.(z:1..10 => z:1..x & z:1..10)',
7140 '-evalt', ':cdclt-double-check (pred : FIN(pred) => MININT >= 0) & (((id3 < 0.0 => 54.41823282691894 = real(floor(54.41823282691894))) & (id3 = 0.0 => 0.0 <= 54.41823282691894))) & real(IF pred : FIN(pred) THEN MININT ** MININT ELSE card(NAT) END) <= (40.23865881169138 + id3) - (id3 - 28.807142597628857)',
7141 '-evalt', ':cdclt-double-check ({zz|zz : POW(INTEGER) & bfalse} /= {} & {1,2} /= (inter({zz|zz : POW(INTEGER) & bfalse}))) <=> id10 < - 98',
7142 '-evalt', ':cdclt-double-check s={x,y|(x>y & y>=x & ASSERT_EXPR(FALSE,"err",x)=2)}',
7143 '-evalf', ':cdclt-double-check {(1,2)}={x,y|(x>y & y>=x & ASSERT_EXPR(FALSE,"err",x)=2)}',
7144 '-evalt', ':cdclt-double-check id10 : POW(POW(INTEGER * POW(INTEGER * INTEGER))) & id3 : POW(INTEGER * INTEGER) & id4 : INTEGER * INTEGER & id5 : POW(INTEGER) & id6 : POW(INTEGER * REAL) & id7 : POW(POW(POW(INTEGER * POW(INTEGER * INTEGER)))) & ({id0,id1,id2|id0 : BOOL & id1 : POW(INTEGER * POW(INTEGER * REAL)) & id2 : REAL & ((id5 = NAT1 => id6 : seq(REAL) & MININT : 0 .. size(id6)) & ((id5 /= NAT1 => id6 : seq(REAL) & MININT : 0 .. size(id6)) & (IF id5 = NAT1 THEN id6 \\|/ MININT ELSE id6 /|\\ MININT END) : seq1(REAL)) & (id3 : seq1(INTEGER) & last(id3) >= prj1(id4) => NATURAL >+> NAT /<: {}))} : FIN({id0,id1,id2|id0 : BOOL & id1 : POW(INTEGER * POW(INTEGER * REAL)) & id2 : REAL & ((id5 = NAT1 => id6 : seq(REAL) & MININT : 0 .. size(id6)) & ((id5 /= NAT1 => id6 : seq(REAL) & MININT : 0 .. size(id6)) & (IF id5 = NAT1 THEN id6 \\|/ MININT ELSE id6 /|\\ MININT END) : seq1(REAL)) & (id3 : seq1(INTEGER) & last(id3) >= prj1(id4) => NATURAL >+> NAT /<: {}))}) & (id7 /= {} & {RANGE_LAMBDA__|RANGE_LAMBDA__ : POW(POW(INTEGER * POW(INTEGER * INTEGER))) & RANGE_LAMBDA__ = id10} /= {}) & PI(id0,id1,id2).(id0 : BOOL & id1 : POW(INTEGER * POW(INTEGER * REAL)) & id2 : REAL & ((id5 = NAT1 => id6 : seq(REAL) & MININT : 0 .. size(id6)) & ((id5 /= NAT1 => id6 : seq(REAL) & MININT : 0 .. size(id6)) & (IF id5 = NAT1 THEN id6 \\|/ MININT ELSE id6 /|\\ MININT END) : seq1(REAL)) & (id3 : seq1(INTEGER) & last(id3) >= prj1(id4) => NATURAL >+> NAT /<: {}))|first(IF id5 = NAT1 THEN id6 \\|/ MININT ELSE id6 /|\\ MININT END)) /: {LAMBDA_RESULT___|LAMBDA_RESULT___ : POW(INTEGER * POW(INTEGER * POW(INTEGER * INTEGER))) * REAL & (NATURAL1 /= {} & NATURAL1 : FIN(NATURAL1) & card(NATURAL1) <= 1 & MU(NATURAL1) < FDIV(MAXINT,MININT) & (MININT : 0 .. size([]) & [] \\|/ MININT : seq1(POW(INTEGER * POW(INTEGER * POW(INTEGER * INTEGER))) * REAL) & LAMBDA_RESULT___ = first([] \\|/ MININT)))}[seq1(inter(id7) - inter({RANGE_LAMBDA__|RANGE_LAMBDA__ : POW(POW(INTEGER * POW(INTEGER * INTEGER))) & RANGE_LAMBDA__ = id10}))])'
7145 % following generates enumeration warning and AST contains redundant typing predicate: z_ : POW(INTEGER)
7146 %'-evalt', ':cdclt-double-check id0 : POW(INTEGER) & id1 : INTEGER * INTEGER * REAL * POW(INTEGER * POW(INTEGER)) & id10 : INTEGER * INTEGER & id6 : INTEGER & id8 : INTEGER & id9 : POW(INTEGER * (INTEGER * INTEGER)) & (prj2(id1) : seq1(POW(INTEGER)) & ((id0 \\/ last(prj2(id1))) /= {} & id0 \\/ last(prj2(id1)) : FIN(id0 \\/ last(prj2(id1))) & ({id2,id3|id2 : INTEGER & id3 : INTEGER & ({id7|id7 : INTEGER * POW(POW(INTEGER * INTEGER)) & bfalse} : FIN({id7|id7 : INTEGER * POW(POW(INTEGER * INTEGER)) & bfalse}) & (MININT > 0 & MININT >= 0) & ({id4,id5|id4 : INTEGER * POW(BOOL * (INTEGER * REAL)) & id5 : REAL * REAL & bfalse} : FIN({id4,id5|id4 : INTEGER * POW(BOOL * (INTEGER * REAL)) & id5 : REAL * REAL & bfalse}) & FDIV(MAXINT,MAXINT) >= SIGMA(id4,id5).(id4 : INTEGER * POW(BOOL * (INTEGER * REAL)) & id5 : REAL * REAL & bfalse|id6)))} : FIN({id2,id3|id2 : INTEGER & id3 : INTEGER & ({id7|id7 : INTEGER * POW(POW(INTEGER * INTEGER)) & bfalse} : FIN({id7|id7 : INTEGER * POW(POW(INTEGER * INTEGER)) & bfalse}) & (MININT > 0 & MININT >= 0) & ({id4,id5|id4 : INTEGER * POW(BOOL * (INTEGER * REAL)) & id5 : REAL * REAL & bfalse} : FIN({id4,id5|id4 : INTEGER * POW(BOOL * (INTEGER * REAL)) & id5 : REAL * REAL & bfalse}) & FDIV(MAXINT,MAXINT) >= SIGMA(id4,id5).(id4 : INTEGER * POW(BOOL * (INTEGER * REAL)) & id5 : REAL * REAL & bfalse|id6)))}) & (id9 : seq(INTEGER * INTEGER) & prj2(first(id9 <- id10)) /= 0))) & min(id0 \\/ last(prj2(id1))) < FDIV(SIGMA(id2,id3).(id2 : INTEGER & id3 : INTEGER & ({id7|id7 : INTEGER * POW(POW(INTEGER * INTEGER)) & bfalse} : FIN({id7|id7 : INTEGER * POW(POW(INTEGER * INTEGER)) & bfalse}) & (MININT > 0 & MININT >= 0) & ({id4,id5|id4 : INTEGER * POW(BOOL * (INTEGER * REAL)) & id5 : REAL * REAL & bfalse} : FIN({id4,id5|id4 : INTEGER * POW(BOOL * (INTEGER * REAL)) & id5 : REAL * REAL & bfalse}) & FDIV(MAXINT,MAXINT) >= SIGMA(id4,id5).(id4 : INTEGER * POW(BOOL * (INTEGER * REAL)) & id5 : REAL * REAL & bfalse|id6)))|SIGMA(id7).(id7 : INTEGER * POW(POW(INTEGER * INTEGER)) & bfalse|id8) ** (MININT mod MININT)),prj2(first(id9 <- id10))))'
7147 %'-evalt', ':cdclt-double-check id0 : POW(INTEGER * POW(INTEGER * INTEGER)) & id1 : POW(INTEGER * (POW(INTEGER * POW(INTEGER * BOOL)) * POW(INTEGER))) & (id0 : seq1(POW(INTEGER * INTEGER)) & (first(id0) : seq(INTEGER) & ({id1,id2,id3,id4|id1 : BOOL & id2 : REAL * POW(INTEGER * (REAL * INTEGER)) & id3 : POW(INTEGER * (BOOL * POW(POW(POW(INTEGER * BOOL))))) & id4 : POW(INTEGER) * BOOL & ({id5,id6,id7,id8|id5 : REAL * INTEGER & id6 : POW(INTEGER * INTEGER) & id7 : REAL & id8 : INTEGER} : FIN({id5,id6,id7,id8|id5 : REAL * INTEGER & id6 : POW(INTEGER * INTEGER) & id7 : REAL & id8 : INTEGER}) & bfalse)} : FIN({id1,id2,id3,id4|id1 : BOOL & id2 : REAL * POW(INTEGER * (REAL * INTEGER)) & id3 : POW(INTEGER * (BOOL * POW(POW(POW(INTEGER * BOOL))))) & id4 : POW(INTEGER) * BOOL & ({id5,id6,id7,id8|id5 : REAL * INTEGER & id6 : POW(INTEGER * INTEGER) & id7 : REAL & id8 : INTEGER} : FIN({id5,id6,id7,id8|id5 : REAL * INTEGER & id6 : POW(INTEGER * INTEGER) & id7 : REAL & id8 : INTEGER}) & bfalse)}) & ({id1,id2,id3,id4|id1 : INTEGER & id2 : INTEGER & id3 : REAL & id4 : POW(INTEGER * INTEGER) & /* falsity */ not(btrue)} : FIN({id1,id2,id3,id4|id1 : INTEGER & id2 : INTEGER & id3 : REAL & id4 : POW(INTEGER * INTEGER) & /* falsity */ not(btrue)}) & (PI(id1,id2,id3,id4).(id1 : INTEGER & id2 : INTEGER & id3 : REAL & id4 : POW(INTEGER * INTEGER) & /* falsity */ not(btrue)|91 mod MININT) /= 0 & (id1 : seq(POW(INTEGER * POW(INTEGER * BOOL)) * POW(INTEGER)) & (MAXINT : 0 .. size(id1) & (id1 \\|/ MAXINT : seq1(POW(INTEGER * POW(INTEGER * BOOL)) * POW(INTEGER)) & (prj2(first(id1 \\|/ MAXINT)) /= {} & prj2(first(id1 \\|/ MAXINT)) : FIN(prj2(first(id1 \\|/ MAXINT))))))))))) & size(MAXINT - MININT -> first(id0)) + FDIV(SIGMA(id1,id2,id3,id4).(id1 : BOOL & id2 : REAL * POW(INTEGER * (REAL * INTEGER)) & id3 : POW(INTEGER * (BOOL * POW(POW(POW(INTEGER * BOOL))))) & id4 : POW(INTEGER) * BOOL & ({id5,id6,id7,id8|id5 : REAL * INTEGER & id6 : POW(INTEGER * INTEGER) & id7 : REAL & id8 : INTEGER} : FIN({id5,id6,id7,id8|id5 : REAL * INTEGER & id6 : POW(INTEGER * INTEGER) & id7 : REAL & id8 : INTEGER}) & bfalse)|SIGMA(id5,id6,id7,id8).(id5 : REAL * INTEGER & id6 : POW(INTEGER * INTEGER) & id7 : REAL & id8 : INTEGER|id8)),PI(id1,id2,id3,id4).(id1 : INTEGER & id2 : INTEGER & id3 : REAL & id4 : POW(INTEGER * INTEGER) & /* falsity */ not(btrue)|91 mod MININT)) > min(prj2(first(id1 \\|/ MAXINT))))',
7148 %'-evalt', ':cdclt-double-check id0 : POW(INTEGER * POW(INTEGER * (POW(POW(INTEGER * POW(INTEGER * BOOL)) * REAL) * POW(INTEGER * REAL)))) & ({id0,id1,id2|id0 : REAL & id1 : REAL & id2 : POW(INTEGER * INTEGER) & ({LAMBDA_RESULT___|LAMBDA_RESULT___ : POW(REAL) & bfalse} /= {} & (inter({LAMBDA_RESULT___|LAMBDA_RESULT___ : POW(REAL) & bfalse}) /= {} & inter({LAMBDA_RESULT___|LAMBDA_RESULT___ : POW(REAL) & bfalse}) : FIN(inter({LAMBDA_RESULT___|LAMBDA_RESULT___ : POW(REAL) & bfalse}))) & (82 <= MININT & id1 /: {}))} : FIN({id0,id1,id2|id0 : REAL & id1 : REAL & id2 : POW(INTEGER * INTEGER) & ({LAMBDA_RESULT___|LAMBDA_RESULT___ : POW(REAL) & bfalse} /= {} & (inter({LAMBDA_RESULT___|LAMBDA_RESULT___ : POW(REAL) & bfalse}) /= {} & inter({LAMBDA_RESULT___|LAMBDA_RESULT___ : POW(REAL) & bfalse}) : FIN(inter({LAMBDA_RESULT___|LAMBDA_RESULT___ : POW(REAL) & bfalse}))) & (82 <= MININT & id1 /: {}))}) & (id0 : seq1(POW(INTEGER * (POW(POW(INTEGER * POW(INTEGER * BOOL)) * REAL) * POW(INTEGER * REAL)))) & (first(id0) /= {} & first(id0) : FIN(first(id0)) & card(first(id0)) <= 1)) & [PI(id0,id1,id2).(id0 : REAL & id1 : REAL & id2 : POW(INTEGER * INTEGER) & ({LAMBDA_RESULT___|LAMBDA_RESULT___ : POW(REAL) & bfalse} /= {} & (inter({LAMBDA_RESULT___|LAMBDA_RESULT___ : POW(REAL) & bfalse}) /= {} & inter({LAMBDA_RESULT___|LAMBDA_RESULT___ : POW(REAL) & bfalse}) : FIN(inter({LAMBDA_RESULT___|LAMBDA_RESULT___ : POW(REAL) & bfalse}))) & (82 <= MININT & id1 /: {}))|min(inter({LAMBDA_RESULT___|LAMBDA_RESULT___ : POW(REAL) & bfalse})))] = prj2(prj2(MU(first(id0)))))',
7149 %'-evalt', ':cdclt-double-check id1 : REAL & id10 : POW(BOOL * (POW(INTEGER * POW(REAL)) * INTEGER)) & id2 : POW(INTEGER * POW(INTEGER)) * REAL & id3 : POW(INTEGER * REAL) & id4 : INTEGER & id9 : POW(POW(INTEGER * POW(REAL)) * POW(INTEGER)) * (REAL * BOOL) & (id3 : seq(REAL) & (id1 /= 0.0 & {id5,id6,id7,id8|id5 : INTEGER & id6 : POW(REAL) & id7 : POW(REAL) * POW(INTEGER) & id8 : REAL & (id3 : seq(REAL) & (MININT / 14 : 0 .. size(rev(id3)) & /* falsity */ NATURAL /<: INTEGER) & {rel_x,rel_y|rel_x : POW(INTEGER * POW(REAL)) & rel_y : INTEGER & (rel_x : dom(prj1(id9)) & rel_y : union(prj1(id9)[{rel_x}]))} /= (id10 - id10)[BOOL \\/ BOOL])} : FIN({id5,id6,id7,id8|id5 : INTEGER & id6 : POW(REAL) & id7 : POW(REAL) * POW(INTEGER) & id8 : REAL & (id3 : seq(REAL) & (MININT / 14 : 0 .. size(rev(id3)) & /* falsity */ NATURAL /<: INTEGER) & {rel_x,rel_y|rel_x : POW(INTEGER * POW(REAL)) & rel_y : INTEGER & (rel_x : dom(prj1(id9)) & rel_y : union(prj1(id9)[{rel_x}]))} /= (id10 - id10)[BOOL \\/ BOOL])})) & (prj2(id2) + last(id1 -> id3)) - (real(FDIV(id4,71)) - - (64.81253750591223 / id1)) < PI(id5,id6,id7,id8).(id5 : INTEGER & id6 : POW(REAL) & id7 : POW(REAL) * POW(INTEGER) & id8 : REAL & (id3 : seq(REAL) & (MININT / 14 : 0 .. size(rev(id3)) & /* falsity */ NATURAL /<: INTEGER) & {rel_x,rel_y|rel_x : POW(INTEGER * POW(REAL)) & rel_y : INTEGER & (rel_x : dom(prj1(id9)) & rel_y : union(prj1(id9)[{rel_x}]))} /= (id10 - id10)[BOOL \\/ BOOL])|{id11,id12|id11 : POW(INTEGER * REAL) & id12 : REAL & /* falsity */ NATURAL /<: INTEGER}(rev(id3) /|\\ MININT / 14)))',
7150 %'-evalt', ':cdclt-double-check id0 : POW(INTEGER * POW(INTEGER * POW(INTEGER * INTEGER))) & id1 : POW(POW(INTEGER * INTEGER) * POW(BOOL * (POW(POW(POW(BOOL))) * POW(POW(INTEGER * REAL)) * POW(INTEGER * BOOL) * BOOL) * INTEGER * POW(BOOL * POW(INTEGER * BOOL) * POW(POW(REAL))))) & id2 : POW(INTEGER * POW(REAL)) & id3 : POW(INTEGER * INTEGER) * POW(BOOL * (POW(POW(POW(BOOL))) * POW(POW(INTEGER * REAL)) * POW(INTEGER * BOOL) * BOOL) * INTEGER) & id4 : POW(BOOL * REAL) & (id2 : seq1(POW(REAL)) & first(id2) : dom(({} ; id1)) & ({} ; id1) : POW(REAL) +-> POW(BOOL * (POW(POW(POW(BOOL))) * POW(POW(INTEGER * REAL)) * POW(INTEGER * BOOL) * BOOL) * INTEGER * POW(BOOL * POW(INTEGER * BOOL) * POW(POW(REAL)))) & prj2(id3) /= {} & prj2(id3) : FIN(prj2(id3)) & card(prj2(id3)) <= 1 & MU(prj2(id3)) : dom(({} ; id1)(first(id2))) & ({} ; id1)(first(id2)) : BOOL * (POW(POW(POW(BOOL))) * POW(POW(INTEGER * REAL)) * POW(INTEGER * BOOL) * BOOL) * INTEGER +-> POW(BOOL * POW(INTEGER * BOOL) * POW(POW(REAL))) & id0 : seq(seq(POW(INTEGER * INTEGER))) & conc(id0) : {} & {}(conc(id0)) /= {} & {}(conc(id0)) : FIN({}(conc(id0))) & card({}(conc(id0))) <= 1 => !z_.(z_ : POW(POW(POW(REAL))) & z_ : MU({}(conc(id0))) => z_ <: ({} ; id1)(first(id2))(MU(prj2(id3)))[{rel_x,rel_y|rel_x : BOOL & rel_y : POW(INTEGER * BOOL) & (rel_x : dom((id4 ; {}) <+ {}) & rel_y : union(((id4 ; {}) <+ {})[{rel_x}]))}]))',
7151 %'-evalt', ':cdclt-double-check id1 : REAL & id10 : INTEGER & id11 : POW(INTEGER * POW(INTEGER * INTEGER)) & id2 : POW(INTEGER * INTEGER) & id3 : POW(INTEGER * POW(POW(INTEGER * INTEGER))) & id4 : POW(INTEGER * POW(INTEGER * (POW(INTEGER * BOOL * STRING) * POW(INTEGER * INTEGER)))) & id5 : POW(INTEGER * BOOL * STRING) * POW(INTEGER * INTEGER) & id6 : POW(POW(INTEGER * BOOL * STRING) * POW(INTEGER * INTEGER) * POW(INTEGER * INTEGER)) & id7 : BOOL * (BOOL * (POW(INTEGER * BOOL * STRING) * POW(INTEGER * INTEGER))) & id9 : INTEGER * POW(POW(INTEGER * POW(INTEGER * (BOOL * REAL))) * POW(INTEGER * POW(INTEGER * POW(INTEGER * POW(POW(INTEGER * (INTEGER * (INTEGER * (REAL * POW(POW(BOOL * (INTEGER * REAL))) * REAL))))))))) & (id3 : seq1(POW(POW(INTEGER * INTEGER))) & (MININT : dom(id4) & (id4 : INTEGER +-> POW(INTEGER * (POW(INTEGER * BOOL * STRING) * POW(INTEGER * INTEGER))) & (id4(MININT) : seq1(POW(INTEGER * BOOL * STRING) * POW(INTEGER * INTEGER)) & (id6 /= {} & id6 : FIN(id6) & card(id6) <= 1)))) & (((%fnc_x.(fnc_x : INTEGER|{fnc_x + 1}) ; {} <+ {}) +->> STRING) <| ({id0,LAMBDA_RESULT___|id0 : POW(INTEGER * BOOL * STRING) & LAMBDA_RESULT___ : POW(INTEGER * INTEGER) & (id1 <= 96.78377063569759 & (id2 : seq1(INTEGER) & LAMBDA_RESULT___ = tail(id2)))} |> {`__comp_result__`|`__comp_result__` : POW(INTEGER * INTEGER) & `__comp_result__` = []} - last(id3))) /= ({last(id4(MININT)),prj2([] |-> id5),prj1(MU(id6)),prj2(prj2(id7))} <+ {id8,LAMBDA_RESULT___|id8 : POW(INTEGER * BOOL * STRING) & LAMBDA_RESULT___ : POW(INTEGER * INTEGER) & (prj1(id9) >= FDIV(id10,MAXINT) & ((pred /<<: succ => 76 : 0 .. size([])) & (not(pred /<<: succ) => id11 : seq1(POW(INTEGER * INTEGER))) & LAMBDA_RESULT___ = (IF pred /<<: succ THEN [] \\|/ 76 ELSE last(id11) END)))}))',
7152 %'-evalt', ':cdclt-double-check id0 : POW(INTEGER * REAL) & id1 : POW(INTEGER * (POW(REAL * REAL) * REAL)) & (union({RANGE_LAMBDA__|RANGE_LAMBDA__ : POW(STRING) & RANGE_LAMBDA__ = {}}) : FIN(union({RANGE_LAMBDA__|RANGE_LAMBDA__ : POW(STRING) & RANGE_LAMBDA__ = {}})) => id0 /= {} & id0 : FIN(id0) & card(id0) <= 1 & (id1 : seq1(POW(REAL * REAL) * REAL) & {id2,id3,id4|id2 : INTEGER & id3 : REAL & id4 : BOOL & bfalse} : FIN({id2,id3,id4|id2 : INTEGER & id3 : REAL & id4 : BOOL & bfalse})) & prj2(MU(id0)) + prj2(first(id1)) <= SIGMA(id2,id3,id4).(id2 : INTEGER & id3 : REAL & id4 : BOOL & bfalse|{id5,id6|id5 : INTEGER & id6 : REAL & bfalse}(MININT ** MAXINT)))',
7153 %'-evalt', ':cdclt-double-check id10 : INTEGER & id11 : POW(INTEGER * POW(INTEGER)) & id12 : POW(BOOL * BOOL * (POW(INTEGER * POW(INTEGER * (POW(INTEGER * INTEGER) * INTEGER))) * BOOL)) & id13 : POW(POW(INTEGER * POW(REAL))) * REAL & id14 : POW(INTEGER * INTEGER) * POW(POW(INTEGER * (INTEGER * POW(INTEGER * BOOL)))) & id3 : POW(INTEGER * (BOOL * BOOL)) * POW(POW(INTEGER * POW(INTEGER * POW(INTEGER * (POW(INTEGER * REAL) * REAL))))) & id5 : POW(POW(POW(INTEGER * POW(INTEGER * POW(INTEGER * POW(POW(REAL))))) * REAL)) & id9 : INTEGER & closure({LAMBDA_RESULT___|LAMBDA_RESULT___ : BOOL * BOOL & (id5 /= {} & id5 : FIN(id5) & card(id5) <= 1 & {} /<<: MU(id5) & (prj1(id3) : seq1(BOOL * BOOL) & LAMBDA_RESULT___ = first(prj1(id3))))}) /= {LAMBDA_RESULT___|LAMBDA_RESULT___ : BOOL * BOOL & ((prj1(id13) : FIN(prj1(id13)) => succ |>> {} <<: prj1(id14)) & (id9 - id10 : first(id11) & (id12 /= {} & id12 : FIN(id12) & card(id12) <= 1) & LAMBDA_RESULT___ = (IF id11 : seq1(POW(INTEGER)) & id9 - id10 : first(id11) THEN prj1(MU(id12)) ELSE MU({}) END)))}',
7154 %'-evalt', ':cdclt-double-check id0 : INTEGER & id1 : POW(INTEGER * BOOL) & id2 : INTEGER * BOOL & id3 : POW(INTEGER * INTEGER) & (NATURAL /= {} & NATURAL : FIN(NATURAL) & card(NATURAL) <= 1 & (id0 + MAXINT >= 0 & (id1 : seq(BOOL) & (MAXINT : dom(id3) & (id3 : INTEGER +-> INTEGER & id3(MAXINT) /= 0)))) & - (MU(NATURAL) ** (id0 + MAXINT)) <= size(rev(id1)) - FDIV(prj1(id2),id3(MAXINT)) => {`__comp_result__`|`__comp_result__` : INTEGER & `__comp_result__` = 78 / MININT} /= {} & {`__comp_result__`|`__comp_result__` : INTEGER & `__comp_result__` = 78 / MININT} : FIN({`__comp_result__`|`__comp_result__` : INTEGER & `__comp_result__` = 78 / MININT}) & (prj2(37.40741472684934 |-> INTEGER) /= {} & prj2(37.40741472684934 |-> INTEGER) : FIN(prj2(37.40741472684934 |-> INTEGER)) & card(prj2(37.40741472684934 |-> INTEGER)) <= 1) & min({`__comp_result__`|`__comp_result__` : INTEGER & `__comp_result__` = 78 / MININT}) >= MU(prj2(37.40741472684934 |-> INTEGER)))'
7155 %'-evalt', ':cdclt-double-check {id0,id1,id2,id3|id0 : INTEGER & id1 : REAL * BOOL & id2 : BOOL & id3 : POW(STRING) & (MININT >= 0 & id4 < 70.20556312165694)} : FIN({id0,id1,id2,id3|id0 : INTEGER & id1 : REAL * BOOL & id2 : BOOL & id3 : POW(STRING) & (MININT >= 0 & id4 < 70.20556312165694)}) & - id6 /= 0 & PI(id0,id1,id2,id3).(id0 : INTEGER & id1 : REAL * BOOL & id2 : BOOL & id3 : POW(STRING) & (MININT >= 0 & id4 < 70.20556312165694)|MININT ** MININT) < prj2((INTEGER<->STRING),INTEGER)(id5) / - id6',
7156 %'-evalt', ':cdclt-double-check - id1 /= 0 & {id2,id3,id4,id5|id2 : INTEGER & id3 : POW(INTEGER * POW(BOOL)) * BOOL & id4 : POW(INTEGER * POW(INTEGER * (POW(POW(INTEGER * REAL)) * REAL))) * POW(INTEGER) & id5 : BOOL & (MININT > 0 & id2 >= 0 & 46.49107043099957 : {})} : FIN({id2,id3,id4,id5|id2 : INTEGER & id3 : POW(INTEGER * POW(BOOL)) * BOOL & id4 : POW(INTEGER * POW(INTEGER * (POW(POW(INTEGER * REAL)) * REAL))) * POW(INTEGER) & id5 : BOOL & (MININT > 0 & id2 >= 0 & 46.49107043099957 : {})}) & prj1(INTEGER,REAL)(id0) / - id1 /= SIGMA(id2,id3,id4,id5).(id2 : INTEGER & id3 : POW(INTEGER * POW(BOOL)) * BOOL & id4 : POW(INTEGER * POW(INTEGER * (POW(POW(INTEGER * REAL)) * REAL))) * POW(INTEGER) & id5 : BOOL & (MININT > 0 & id2 >= 0 & 46.49107043099957 : {})|id2 mod MININT)',
7157 %'-evalt', ':cdclt-double-check {id0|id0 : INTEGER & MININT > 0} : FIN({id0|id0 : INTEGER & MININT > 0}) & prj2(STRING,INTEGER)(id1) /= 0 & PI(id0).(id0 : INTEGER & MININT > 0|66 mod MININT) < - id0 / prj2(STRING,INTEGER)(id1)',
7158 %'-evalt', ':cdclt-double-check prj1(INTEGER,INTEGER)(id1) > 0 & (first(id0) >= 0 & (id0 : seq1(INTEGER) & {id2,id3|id2 : POW(INTEGER * REAL) & id3 : REAL & (MININT > 0 & MININT >= 0 & id4 /: INT)} : FIN({id2,id3|id2 : POW(INTEGER * REAL) & id3 : REAL & (MININT > 0 & MININT >= 0 & id4 /: INT)}))) & first(id0) mod prj1(INTEGER,INTEGER)(id1) >= PI(id2,id3).(id2 : POW(INTEGER * REAL) & id3 : REAL & (MININT > 0 & MININT >= 0 & id4 /: INT)|MININT mod MININT)',
7159 %'-evalt', ':cdclt-double-check not(conc([[FALSE,TRUE]]) : seq(BOOL) & aecwp : seq(BOOL) & [[FALSE,TRUE]] : seq(seq(BOOL)) & conc([[FALSE,TRUE]]) ^ aecwp = [FALSE,TRUE])',
7160 %'-evalt', ':cdclt-double-check not([FALSE,TRUE] : seq(BOOL) & [FALSE,TRUE] ^ aecwp = [FALSE,TRUE])'
7161 ], 'Some arbitrary constraints that should be solved by CDCL(T).').
7162 cli_testcase(2106, [cbc], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
7163 '-evalt', 'pubkey = 1000000993* 1000001011 & x>999000000 & y>x & x mod 2 = 1 & y mod 2 = 1 & pubkey = x*y', % from Z3 tutorial
7164 '-evalt', 'pubkey = 1000000993* 1000001001 & x>1000000720 & y>x & pubkey = x*y', % very fast with CLP(FD), z3 already 2.6 secs
7165 '-evalt', 'h*3600 + m*60 + s = tot & m:0..60 & s:0..60 & h2*3600 + m2*60 + s2 = tot & m2:0..60 & s2:0..60 & tot:1..10000 & (h,m,s) /= (h2,m2,s2)' % from article Functional synthesis for linear arithmetic and sets
7166 ], 'Constraints involving large numbers').
7167 cli_testcase(2107,[b_test,tickets],[
7168 '../prob_examples/public_examples/B/Tickets/VirtualTimeoutConstants.mch',
7169 '-model-check', '-pref_group', 'model_check', 'unlimited', '-expcterr', 'model_check_incomplete',
7170 '-expcterr', 'virtual_time_out'], 'Test virtual time out detected for disable_timeout').
7171 cli_testcase(2108,[b_test,tickets],[
7172 '../prob_examples/public_examples/B/Tickets/VirtualTimeoutConstants.mch',
7173 '-model-check', '-pref_group', 'model_check', 'disable_max', '-expcterr', 'model_check_incomplete',
7174 '-expcterr', 'virtual_time_out'], 'Test virtual time out detected also with time_out').
7175 cli_testcase(2109, [tickets], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
7176 '-evalt', 'ff = [1,2,3,4,5,6,7,8,9,10,11] & x:0..1 & b=TRUE <=> dom(ff) <: 1..10**x',
7177 '-evalt', 'ff = [1,2,3,4,5,6,7,8,9,10,11] & x:0..1 & b=TRUE <=> ff: 1..10**x --> INTEGER',
7178 '-evalt', 'ff = [1,2,3,4,5,6,7,8,9,10,11] & {x,b|x:0..1 & b=TRUE <=> ff: 1..10**x --> INTEGER} = {(0|->FALSE),(1|->FALSE)}',
7179 '-evalt', 'ff = [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16] & {x,b|x:0..5 & b=TRUE <=> ff: 1..2**x --> INTEGER} = res & 4|->TRUE : res'
7180 ], 'Check reification of subset/total function works (and does not instantiate/commit)').
7181 cli_testcase(2110, [tickets], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
7182 '../prob_examples/public_examples/B/PerformanceTests/LargeSets/SeqCheck.mch',
7183 '-mc', 100, '-cc', 10, 136], 'Check state space for test 31').
7184 cli_testcase(2111, [tickets], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
7185 '-p', 'SMT', 'TRUE',
7186 '-evalf', 'x:INTEGER & x<y & y<x',
7187 '-evalf', 'x:INTEGER & x<y & y<=x',
7188 '-evalf', 'x:INTEGER & x<=y & y<x',
7189 '-evalt', 'x:INT & x<=y & y<=x',
7190 '-evalf', 'x:POW(INTEGER) & x<<:y & y<<:x',
7191 '-evalf', 'x:POW(INTEGER) & x<<:y & y<:x',
7192 '-evalf', 'x:POW(INTEGER) & x<:y & y<<:x',
7193 '-evalt', 'x:POW(INT) & x<:y & y<:x'
7194 ], 'Check inconsistency detection when registering predicates (without CHR)').
7195 cli_testcase(2112, [b_test,cache], [
7196 '../prob_examples/public_examples/B/PerformanceTests/Cache/PrimeNumbers.mch',
7197 '../prob_examples/public_examples/B/PerformanceTests/Cache/PrimeNumbersSum.mch',
7198 '-p', 'CACHE_OPERATIONS', 'FALSE',
7199 '-mc', '10000', '-nodead',
7200 '-show_cache', % test this feature
7201 '-cache', '../prob_examples/public_examples/cache/'], 'Check that -cache option works with new preference and with subsidiary machine with multiple constant solutions.').
7202 cli_testcase(2113, [cbc], [
7203 '-evalt', 'y:NATURAL & (y<400 => #x.(y:10..x & x:1..100)) ',
7204 '-evalt', 'y:NATURAL & (not(y<400) or #x.(y:10..x & x:1..100)) '
7205 ], 'Test enumeration of implication when RHS not reified').
7206 cli_testcase(2114, [tickets, wd], [
7207 '-p', 'TRY_FIND_ABORT', 'TRUE',
7208 '-evalnwd', '{}(x) : {}(x) .. 5 & x:1..100 ',
7209 '-expcterr', 'well_definedness_error'
7210 ], 'Test we do not add unbounded FD variable for enumeration').
7211 cli_testcase(2115, [ltl,safety], ['../prob_examples/public_examples/B/LTL/Tests/LargeSCC.mch', '-ltllimit', '50', '-ltlformulaf', 'G({xx<10})', '-strict'
7212 %'-p', 'use_safety_ltl_model_checker', false,
7213 ], 'check that safety model check works even without ltl2ba for simple G {...} formula').
7214 cli_testcase(2116, [infinite], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
7215 '-evalt', '{x|x>100} /= {x|x mod 2 =0 & x>0}',
7216 '-evalf', ' /*@symbolic*/ {x|x:1..2**20 & x mod 3 =1} /= {x|x:1..2**20 & x mod 3 =1}',
7217 '-evalf', ' /*@symbolic*/ {x|x:1..2**25 & x mod 3 =1} /= {x|x:1..2**25 & x mod 3 =1}'
7218 ], 'Test we do not expand second arg to not equal when first is closure'). % useful with DOUBLE_EVALUATION in Evaluation View
7219 cli_testcase(2117, [smt_solver_integration], [
7220 '-evalt', ':z3-double-check a=prj1(INTEGER,INTEGER)((1,2))',
7221 '-evalt', ':z3-double-check 1=prj1(INTEGER,INTEGER)((1,2))',
7222 '-evalf', ':z3-double-check 2=prj1(INTEGER,INTEGER)((1,2))',
7223 '-evalt', ':z3-double-check a=prj2(INTEGER,INTEGER)((1,2))',
7224 '-evalt', ':z3-double-check 2=prj2(INTEGER,INTEGER)((1,2))',
7225 '-evalf', ':z3-double-check 1=prj2(INTEGER,INTEGER)((1,2))',
7226 '-evalt', ':z3-double-check a = (1..3)*(1..3) & b : a & c = prj1(INTEGER,INTEGER)(b)',
7227 '-evalt', ':z3-double-check a = (1..3)*POW(1..3) & b : a & c = prj1(INTEGER,POW(INTEGER))(b)',
7228 '-evalt', ':z3-double-check a = (1..3)*POW1(1..3) & b : a & c = prj1(INTEGER,POW(INTEGER))(b)'
7229 ], 'check couple projection functions for z3').
7230 cli_testcase(2118, [smt_solver_integration], [
7231 '-evalt', ':z3-double-check a={1}<<|{(1,2),(2,3)}',
7232 '-evalf', ':z3-double-check {}={4}<<|{(1,2),(2,3)}',
7233 '-evalt', ':z3-double-check {(2,3)}={1}<<|{(1,2),(2,3)}',
7234 '-evalt', ':z3-double-check a={1}<|{(1,2),(2,3)}',
7235 '-evalt', ':z3-double-check {}={3}<|{(1,2),(2,3)}',
7236 '-evalf', ':z3-double-check {}={1}<|{(1,2),(2,3)}',
7237 '-evalt', ':z3-double-check a={(1,2),(2,3)}|>{1}',
7238 '-evalf', ':z3-double-check {(1,2),(2,3)}={(1,2),(2,3)}|>{1}',
7239 '-evalt', ':z3-double-check a={(1,2),(2,3)}|>{3}',
7240 '-evalt', ':z3-double-check a={(1,2),(2,3)}|>>{3}',
7241 '-evalt', ':z3-double-check a={(1,2),(2,3)}|>>{1}',
7242 '-evalf', ':z3-double-check {}={(1,2),(2,3)}|>>{1}'
7243 ], 'check domain and range subtraction and restriction for z3').
7244 cli_testcase(2119, [smt_solver_integration,private], [
7245 '../prob_examples/examples/B/Other/BMaude/Mutex3.mch', '-init',
7246 '-evalt', ':z3-double-check a = pc <+ {2 |-> wait}',
7247 '-evalf', ':z3-double-check pc(1) = noncrit & pc(2) = noncrit & (pc(2) = noncrit & pc1 = pc <+ {2 |-> wait} & y1 = y & n1 = n) & not(pc1(1) = noncrit)'
7248 ], 'check z3 model translation for couple of enumerated set type and capitalised enumerated set').
7249 cli_testcase(2120, [smt_solver_integration], [
7250 '../prob_examples/public_examples/EventBPrologPackages/Abrial_Train_Ch17/Train_1_beebook_tlc.mch', '-init',
7251 '-evalt', ':z3-double-check nxt = {(R1|->{(A|->B),(B|->C),(L|->A)}),(R2|->{(A|->B),(B|->D),(D|->E),(E|->F),(F|->G),(L|->A)}),(R3|->{(A|->B),(B|->D),(D|->K),(J|->N),(K|->J),(L|->A)}),(R4|->{(F|->G),(H|->I),(I|->K),(K|->F),(M|->H)}),(R5|->{(H|->I),(I|->J),(J|->N),(M|->H)}),(R6|->{(A|->L),(B|->A),(C|->B)}),(R7|->{(A|->L),(B|->A),(D|->B),(E|->D),(F|->E),(G|->F)}),(R8|->{(A|->L),(B|->A),(D|->B),(J|->K),(K|->D),(N|->J)}),(R9|->{(F|->K),(G|->F),(H|->M),(I|->H),(K|->I)}),(R10|->{(H|->M),(I|->H),(J|->I),(N|->J)})}'
7252 ], 'check z3 model translation for nested couples').
7253 cli_testcase(2121, [smt_solver_integration], [
7254 '-evalt', ':z3-double-check x:INTEGER & y:INTEGER & (y /= 0 => ( -x/y = -(x/y) & x/-y = -(x/y) & (x>=0 & y>0 => (x mod y = x - y * ( x / y )))))',
7255 '-evalt', ':z3-double-check x:INTEGER & y:INTEGER & (y /= 0 => ( -x/y = -(x/y) & x/-y = -(x/y) & (x>=0 & y>0 => (x mod y = x - y * ( x / y ))))) & x/= 1',
7256 '-evalt', ':z3-double-check x:INTEGER & y:INTEGER & (y /= 0 => ( -x/y = -(x/y) & x/-y = -(x/y) & (x>=0 & y>0 => (x mod y = x - y * ( x / y ))))) & x/= 1 & x /=-1',
7257 '-evalt', ':z3-double-check x:INTEGER & y:INTEGER & (y /= 0 => ( -x/y = -(x/y) & x/-y = -(x/y) & (x>=0 & y>0 => (x mod y = x - y * ( x / y ))))) & x/= 1 & x /=-1 & y /= 0',
7258 '-evalt', ':z3 x:-3..3 & y:-3..3 & not( -x/y = -(x/y) )',
7259 '-evalf', ':z3-double-check x:-3..3 & y:-3..3 & y/=0 & not( -x/y = -(x/y) )',
7260 '-evalf', ':z3-double-check x:-3..3 & y:-3..3 & not (x>y or x<=y)',
7261 '-evalf', ':z3-double-check x:-3..3 & y:-3..3 & not ( (x<=y <=> min({x,y}) = x) )',
7262 '-evalt', ':z3-double-check a={x|x:-10..10 & (x/2 = 4 or x/2 = -4)}',
7263 '-evalt', ':z3-double-check a={x|x:-10..10 & x/2 = 4}',
7264 '-evalt', ':z3-double-check a={x|x:0..10 & (x mod 2 = 0 or x mod 2 = 0)}',
7265 '-evalt', ':z3-double-check a={x|x:1..10 & x < 5 & x mod 2 = 0}',
7266 '-evalt', ':z3-double-check a={x|x:1..10 & x < 5 & x mod 2 = 1}',
7267 '-evalt', ':z3-double-check a={x|x:1..10 & x mod 2 = 0}',
7268 '-evalt', ':z3-double-check a={x|x:1..10 & x mod 2 = 1}',
7269 '-evalt', ':z3-double-check a={x|x:1..100 & x mod 2 = 0}',
7270 '-evalt', ':z3-double-check a={x|x:1..100 & x mod 3 = 1}'
7271 ], 'check integer division in z3').
7272 cli_testcase(2122, [smt_solver_integration], [
7273 '-p', 'TIME_OUT', '30000',
7274 '-force_no_silent', % to debug Z3 crashes/infinite loops
7275 '-eval', ':z3-version',
7276 '-evalf', ':z3-double-check not({1} = dom({(1,2)}))', %% this was a bug in z3 version 4.8.10 and earlier when using pull_nested_quantifiers
7277 '-evalt', ':z3-double-check {1} = dom({(1,2)})', %% with lambda expressions that use an existential quantifier at the top-level
7278 '-evalf', ':z3-double-check not({2} = ran({(1,2)}))', %% (note that we don't use pull_nested_quantifiers anymore; slow for large constraints)
7279 '-evalt', ':z3-double-check {2} = ran({(1,2)})', %%
7280 '-evalf', ':z3-double-check not({1,2,3,4} = dom({(1,2),(2,2),(3,3),(4,4)}))',
7281 '-evalt', ':z3-double-check {1,2,3,4} = dom({(1,2),(2,2),(3,3),(4,4)})',
7282 '-evalt', ':z3-double-check not({1,2} = dom({(1,2),(2,2),(3,3),(4,4)}))',
7283 '-evalf', ':z3-double-check not({2,3,4} = ran({(1,2),(2,2),(3,3),(4,4)}))',
7284 '-evalt', ':z3-double-check {2,3,4} = ran({(1,2),(2,2),(3,3),(4,4)})',
7285 '-evalt', ':z3-double-check not({2,3} = ran({(1,2),(2,2),(3,3),(4,4)}))',
7286 %'-evalf', ':z3-double-check hh:1..3<->1..3 & not (iterate(hh,1)=(hh))', % unsupported: wait for Z3 to support lambda inside recursive functions again
7287 '-evalf', ':z3-double-check x:-3..3 & y:-3..3 & not(x*y = y*x)',
7288 '-evalf', ':z3-double-check x:-3..3 & y:-3..3 & z:-3..3 & not(x*(y+z) = x*y + x*z)',
7289 '-evalf', ':z3-double-check x:-3..3 & y:-3..3 & not(x+y = y+x)',
7290 '-evalf', ':z3-double-check x:-3..3 & y:-3..3 & not(x*1 = x)',
7291 '-evalf', ':z3-double-check x:-3..3 & y:-3..3 & not(1*x = x)',
7292 '-evalf', ':z3-double-check x:-3..3 & y:-3..3 & not(x*0 = 0)',
7293 '-evalf', ':z3-double-check x:-3..3 & y:-3..3 & not(0*x = 0)',
7294 '-evalf', ':z3-double-check x:-3..3 & y:-3..3 & z:-3..3 & not((x+y)+z = x + (y+z))',
7295 '-evalf', ':z3-double-check x:-3..3 & y:-3..3 & z:-3..3 & not((x*y)*z = x*(y*z))',
7296 '-evalf', ':z3-double-check x:-3..3 & y:-3..3 & not(2*x = x+x)',
7297 '-evalf', ':z3-double-check x:-3..3 & y:-3..3 & not(x**2 = x*x)',
7298 '-evalt', ':z3-double-check x:-3..3 & y:-3..3 & (x>=0 => 1**x = 1)',
7299 '-evalt', ':z3-double-check x:-3..3 & y:-3..3 & (x>=0 => (((x / 2)*2 = x) <=> (x mod 2 = 0)))',
7300 '-evalf', ':z3-double-check x:-3..3 & y:-3..3 & not(x>y or x<=y)',
7301 '-evalf', ':z3-double-check x:-3..3 & y:-3..3 & not(x>y or x=y or x<y)',
7302 '-evalf', ':z3-double-check x:-3..3 & y:-3..3 & not(x>=y or x<y)',
7303 '-evalf', ':z3-double-check x:-3..3 & y:-3..3 & not(x>=y or x<=y)',
7304 '-evalf', ':z3-double-check x:-3..3 & y:-3..3 & (x>y & x<=y)',
7305 '-evalf', ':z3-double-check x:-3..3 & y:-3..3 & (x<y & y<x)',
7306 '-evalf', ':z3-double-check x:-3..3 & y:-3..3 & not(x-x = 0 )',
7307 '-evalf', ':z3-double-check x:-3..3 & y:-3..3 & not(x=y <=> x-y = 0)',
7308 '-evalf', ':z3-double-check x:-3..3 & y:-3..3 & not(x>y <=> x >= y+1)',
7309 '-evalf', ':z3-double-check x:-3..3 & y:-3..3 & not(x<y <=> x <= y-1)',
7310 '-evalf', ':z3-double-check x:-3..3 & y:-3..3 & not((x<y or y<x) <=> x/=y)',
7311 '-evalf', ':z3-double-check x:-3..3 & y:-3..3 & not((x<y & y<=z) => x<z)',
7312 '-evalf', ':z3-double-check x:-3..3 & y:-3..3 & not((x<y & y<z) => x<z)',
7313 '-evalf', ':z3-double-check x:-3..3 & y:-3..3 & not((x<=y & y<z) => x<z)',
7314 '-evalf', ':z3-double-check x:-3..3 & y:-3..3 & not((x<=y & y<=z) => x<=z)',
7315 '-evalf', ':z3-double-check x:-3..3 & y:-3..3 & not((x<=y & y<=x) => x=y)',
7316 '-evalf', ':z3-double-check x:-3..3 & y:-3..3 & not(x=y <=> y=x)',
7317 '-evalf', ':z3-double-check x:-3..3 & y:-3..3 & not(x/=y <=> y/=x)',
7318 '-evalf', ':z3-double-check x:-3..3 & y:-3..3 & not(x<y <=> y>x)',
7319 '-evalf', ':z3-double-check x:-3..3 & y:-3..3 & not(x>y <=> y<x)',
7320 '-evalf', ':z3-double-check x:-3..3 & y:-3..3 & not(x<=y <=> y>=x)',
7321 '-evalf', ':z3-double-check x:-3..3 & y:-3..3 & not(x>=y <=> y<=x)',
7322 '-evalf', ':z3-double-check x:-3..3 & y:-3..3 & not(not(x<y) <=> x>=y)',
7323 '-evalf', ':z3-double-check x:-3..3 & y:-3..3 & not(not(x<=y) <=> x>y)',
7324 '-evalf', ':z3-double-check x:-3..3 & y:-3..3 & not((x=y or x=z) => (y=x or z=x))',
7325 '-evalf', ':z3-double-check x:-3..3 & y:-3..3 & not((x=y or x=z) <=> (y=x or z=x))',
7326 '-evalf', ':z3-double-check x:-3..3 & y:-3..3 & not((x=y <=> x=z) => (y=z or x/=y))',
7327 '-evalf', ':z3-double-check x:-3..3 & y:-3..3 & not ( (x-y-x+y = 0) )',
7328 '-evalf', ':z3-double-check x:-3..3 & y:-3..3 & not ( x*x >= 0 )',
7329 '-evalf', ':z3-double-check x:-3..3 & y:-3..3 & not ( (x*x = 0 <=> x=0) )',
7330 '-evalf', ':z3-double-check x:-3..3 & y:-3..3 & not ( x*x = -x * -x )',
7331 '-evalf', ':z3-double-check x:-3..3 & y:-3..3 & not (x<=y <=> min({x,y}) = x)',
7332 '-evalf', ':z3-double-check x:-3..3 & y:-3..3 & not (x<=y <=> max({x,y}) = y)',
7333 '-evalf', ':z3-double-check x:-3..3 & y:-3..3 & not (x<y <=> max({x,y}) /= x)',
7334 '-evalf', ':z3-double-check x:-3..3 & y:-3..3 & not (x<y <=> min({x,y}) /= y)',
7335 '-evalt', ':z3-double-check x:-3..3 & y:-3..3 & (x>=0 & y>0 => ((x/y) * y = x - x mod y))',
7336 '-evalf', ':z3-double-check x:-3..3 & y:-3..3 & not(succ(x) = x+1)',
7337 '-evalf', ':z3-double-check x:-3..3 & y:-3..3 & not(pred(x) = x-1)',
7338 '-evalf', ':z3-double-check x:-3..3 & y:-3..3 & not(x < succ(x))',
7339 '-evalf', ':z3-double-check x:-3..3 & y:-3..3 & not(x > pred(x))',
7340 '-evalf', ':z3-double-check x:-3..3 & y:-3..3 & not(pred(succ(x)) = x)',
7341 '-evalf', ':z3-double-check x:-3..3 & y:-3..3 & not(x+succ(y) = succ(x+y))',
7342 '-evalf', ':z3-double-check x:-3..3 & y:-3..3 & not(x*succ(y) = x+x*y)',
7343 '-evalf', ':z3-double-check x:-3..3 & y:-3..3 & not (x**1 = x)',
7344 '-evalf', ':z3-double-check x:-3..3 & y:-3..3 & not(#x.(x:INTEGER & {x} \\/ {1,2} = {1,2} ) )',
7345 '-evalf', ':z3-double-check x:-3..3 & y:-3..3 & not( min({x}) = x )',
7346 '-evalt', ':z3-double-check x:-3..3 & y:-3..3 & (x <= y => min({x,y}) = x )',
7347 '-evalt', ':z3-double-check x:-3..3 & y:-3..3 & (y <= x => min({x,y}) = y )',
7348 '-evalf', ':z3-double-check x:-3..3 & y:-3..3 & z:-3..3 & not( x:y..z <=> (y<=x & x<=z))',
7349 '-evalf', ':z3-double-check x:-3..3 & y:-3..3 & z:-3..3 & not( x:y..z <=> (y<=x & x<=z & y<=z))',
7350 '-evalf', ':z3-double-check x:-3..3 & y:-3..3 & y /= 0 & not ( -x/y = -(x/y) )',
7351 '-evalf', ':z3-double-check (2=3 & 1=1 <=> 4=5 & 2=2)',
7352 '-evalf', ':z3-double-check SS : POW(-1..3) & not (SS = {z|z:INTEGER & #x.(x:SS & z=x*1)})', % Unknown with Z3 4.11.2 but can be solved with 4.12.0
7353 '-evalf', ':z3-double-check SS : POW(-1..3) & VV : POW(-1..3) & not ( SS <<: VV or SS /<<: VV )',
7354 '-evalf', ':z3-double-check SS : POW(-1..3) & VV : POW(-1..3) & not ( (VV <<: SS & SS <: TT) => (VV <<: TT))',
7355 '-evalt', ':z3-double-check #t1.(t1:INTEGER & (#t2.(!(t8,rr).(t8 |-> rr : t2 => t1 >= t8 ) & ran(t2) = {1,3} )))',
7356 '-evalt', ':z3-double-check ff:1..3<->BOOL & gg:1..3<->BOOL & a={a,b,c,d|a|->b : ff & c|->d : gg} & ff/={} & gg/={}',
7357 '-evalt', ':z3-double-check ff:1..3<->BOOL & gg:1..3<->BOOL & dom((ff ; (gg~))) <: dom(ff)',
7358 '-evalt', ':z3-double-check ff:1..3<->BOOL & gg:1..3<->BOOL & dom((ff ; (gg~))) <: dom(ff) & ff /= {}',
7359 '-evalt', ':z3-double-check ff:1..3<->BOOL & gg:1..3<->BOOL & dom((ff ; (gg~))) <: dom(ff) & ff /= {} & gg /= {}',
7360 '-evalt', ':z3-double-check ff:1..3<->BOOL & gg:1..3<->BOOL & a = ff><gg',
7361 '-evalt', ':z3-double-check ff:1..3<->BOOL & gg:1..3<->BOOL & a = ff><gg & ff /= {}',
7362 '-evalt', ':z3-double-check ff:1..3<->BOOL & gg:1..3<->BOOL & a = ff><gg & ff /= {} & gg /= {}',
7363 %'-evalf', ':z3-double-check ff:1..3<->BOOL & gg:1..3<->BOOL & not(dom(ff><gg) = dom(ff)/\\dom(gg))', % Unknown with Z3 4.11.2 but can be solved with 4.12.0
7364 '-evalt', ':z3-double-check ff:1..3<->BOOL & gg:1..3<->BOOL & a=(ff||gg)',
7365 '-evalt', ':z3-double-check ff:1..3<->BOOL & gg:1..3<->BOOL & a=(ff||gg) & ff/={}',
7366 '-evalt', ':z3-double-check ff:1..3<->BOOL & gg:1..3<->BOOL & a=(ff||gg) & ff/={} & gg/={}',
7367 %'-evalt', ':z3 {x|x>2 & x / 22 > 10} = x & (x={} <=> B=TRUE)', % double check with ProB not possible due to enumeration warnings; enumeration warning when translating SMT-LIB model to B
7368 %'-evalf', ':z3-double-check x<:BOOL & x <: y & not(POW(x) <: POW(y))', % Time-out or loop since Z3 5.3.1 on Linux
7369 %'-evalt', ':z3-double-check x<:BOOL & x <: y & not(POW(x) <<: POW(y))', % unknown since Z3 4.12.2
7370 %'-evalf', ':z3-double-check x<:BOOL & x <<: y & not(POW(x) <<: POW(y))', % Z3 answers unknown
7371 %'-evalf', ':z3-double-check x:-3..3 & y:-3..3 & z:-3..3 & not(z>=0 => (x*y)**z = x**z * y**z)', % Z3 answers unknown
7372 %'-evalf', ':z3-double-check x:-3..3 & y:-3..3 & z:-3..3 & not(y>=0 & z>=0 => (x**(y+z) = x**y * x**z))', % Z3 answers unknown
7373 %'-evalf', ':z3-double-check x:-3..3 & y:-3..3 & z:-3..3 & not(y>=0 & z>=0 => (x**(y*z) = (x**y)**z))', % Z3 answers unknown
7374 '-evalf', ':z3-double-check x:-3..3 & y:-3..3 & not(#x.(x:INTEGER & {x} \\/ {1,2} = {1,2} ) )',
7375 '-evalf', ':z3-double-check x:-3..3 & y:-3..3 & not( min({x}) = x )',
7376 '-evalf', ':z3-double-check x:-3..3 & y:-3..3 & not(x <= y => min({x,y}) = x )',
7377 '-evalf', ':z3-double-check x:-3..3 & y:-3..3 & not(y <= x => min({x,y}) = y )',
7378 %'-evalf', ':z3-double-check x:-3..3 & y:-3..3 & z:-3..3 & not( min({x}\\/{y,z}) = min({min({x}), min({y,z})}) )', % Z3 answers unknown
7379 %'-evalf', ':z3-double-check x:-3..3 & y:-3..3 & z:-3..3 & not( min({y,z} \\/ {x}) = min({min({y,z}),x}) )', % Z3 answers unknown
7380 '-evalf', ':z3-double-check x:-3..3 & y:-3..3 & z:-3..3 & not( x:y..z <=> (y<=x & x<=z))',
7381 '-evalf', ':z3-double-check x:-3..3 & y:-3..3 & z:-3..3 & not( x:y..z <=> (y<=x & x<=z & y<=z))',
7382 '-evalf', ':z3-double-check x:-3..3 & y:-3..3 & y /= 0 & not ( -x/y = -(x/y) )',
7383 '-evalf', ':z3-double-check (2=3 & 1=1 <=> 4=5 & 2=2)',
7384 '-evalf', ':z3-double-check S : {{},{0}} & not (S = ran(%x.(x:S|x*1)))',
7385 '-evalf', ':z3-double-check S : POW(-1..3) & not (S = ran(%x.(x:S|x*1)))',
7386 '-evalf', ':z3-double-check S : POW(-1..3) & not (S = {z|z:INTEGER & #x.(x:S & z=x*1)})',
7387 '-evalf', ':z3-double-check S : POW(-1..3) & VV : POW(-1..3) & not ( S <<: VV or S /<<: VV )',
7388 '-evalf', ':z3-double-check S : POW(-1..3) & VV : POW(-1..3) & not ( (VV <<: S & S <: TT) => (VV <<: TT))',
7389 '-evalf', ':z3-double-check S : POW(-1..3) & VV : POW(-1..3) & not (S /\\ VV = {} <=> S <: (-1..3) - VV)',
7390 %'-evalf', ':z3-double-check S : POW(-1..3) & VV : POW(-1..3) & not((S=VV & S /= {}) => (max(S) = max(VV) & min(S)=min(VV)))', % unknown
7391 %'-evalf', ':z3-double-check S : POW(-1..3) & VV : POW(-1..3) & not((S <: VV & S/= {}) => (max(S) <= max(VV) & min(S) >= min(VV)))', % sometimes unknown
7392 '-evalf', ':z3-double-check a<:1..3 & b<:1..3 & not( a<:b <=> POW(a) <: POW(b) )',
7393 %'-evalf', ':z3-double-check a<:1..3 & b<:1..3 & not( a<<:b <=> POW(a) <<: POW(b))', % Z3 answers unknown
7394 %'-evalf', ':z3-double-check a<:1..3 & b<:1..3 & not( POW(a) /<: POW1(b) & FIN(a) /<: FIN1(b))', % Z3 answers unknown
7395 '-evalf', ':z3-double-check a<:1..3 & b<:1..3 & c<:1..3 & d<:1..3 & not( (a={} or b={}) => (a*b)={} & (a*b) <: (c*d) )',
7396 '-evalf', ':z3-double-check a<:1..3 & b<:1..3 & c<:1..3 & d<:1..3 & not( ( (a={} or b={} & f : a <-> b) => f: c <-> d ))',
7397 '-evalf', ':z3-double-check a<:1..3 & b<:1..3 & c<:1..3 & d<:1..3 & not( ( (a={} or b={} & f : a +-> b) => f: c +-> d ))',
7398 '-evalf', ':z3-double-check a<:1..3 & b<:1..3 & c<:1..3 & d<:1..3 & not( ( (a={} or b={} & f : a >+> b) => f: c >+> d ))',
7399 '-evalf', ':z3-double-check a<:1..3 & b<:1..3 & c<:1..3 & d<:1..3 & not( ( a <: c & b<:d => (a*b) <: c*d))',
7400 '-evalf', ':z3-double-check a<:1..3 & b<:1..3 & c<:1..3 & d<:1..3 & not( a <: c & b<:d & f : a <-> b => f: c <-> d )',
7401 '-evalf', ':z3-double-check a<:1..3 & b<:1..3 & c<:1..3 & d<:1..3 & not( a <: c & b<:d & f : a +-> b => f: c +-> d )',
7402 '-evalf', ':z3-double-check a<:1..3 & b<:1..3 & c<:1..3 & d<:1..3 & not( a <: c & b<:d & f : a >+> b => f: c >+> d )',
7403 '-evalf', ':z3-double-check a<:1..3 & b<:1..3 & c<:1..3 & d<:1..3 & not( b<:d & f : a --> b => f: a --> d )',
7404 '-evalf', ':z3-double-check a<:1..3 & b<:1..3 & c<:1..3 & d<:1..3 & not( b<:d & f : a >-> b => f: a >-> d )',
7405 '-evalf', ':z3-double-check a<:1..3 & b<:1..3 & c<:1..3 & d<:1..3 & not( a<:c & f : a +->> b => f: c +->> b )',
7406 '-evalf', ':z3-double-check s1:STRING & s2:STRING & not((s1=s2 <=> s2=s1))',
7407 '-evalf', ':z3-double-check s1:STRING & s2:STRING & not( s1=s2 or s1 /= s2 )',
7408 '-evalf', ':z3-double-check s1:STRING & s2:STRING & not( s1=s2 & s2=s3 => s1 = s3 )',
7409 '-evalf', ':z3-double-check s1:STRING & s2:STRING & not( s1=s2 & s2/=s3 => s1 /= s3 )',
7410 %'-evalf', ':z3-double-check s1:STRING & s2:STRING & not(s1=s2 <=> card({s1,s2}) = 1)', % Z3 answers unknown
7411 '-evalf', ':z3-double-check s1:STRING & s2:STRING & not( s1=s2 <=> {s1,s2} = {s1} )',
7412 '-evalf', ':z3-double-check s1:STRING & s2:STRING & not({s1,s2,s3} = {s3} \\/ {s2} \\/ {s1} )',
7413 '-evalf', ':z3-double-check s1:STRING & s2:STRING & not({x| x=s1 or x=s2} = {s2,s1} )',
7414 %'-evalf', ':z3-double-check s1:STRING & s2:STRING & not( s1 : dom( { s2 |-> s2, s3|->s3, s1 |->s1} ) )', % this seems to hang with Z3 5.3.1
7415 '-evalf', ':z3-double-check s1:STRING & s2:STRING & not((s1/=s2 => s1 /: dom( { s2 |-> s2} ) ) )',
7416 '-evalf', ':z3-double-check s1:STRING & s2:STRING & not( s1 /: {s1,s2,s3} - {s2,s1} )',
7417 '-evalf', ':z3-double-check S={"a","b"} & s1:S & s2:S & s3:S & not(card({s1,s2,s3} - {s2,s1}) < 2)',
7418 '-evalf', ':z3-double-check s1:STRING & s2:STRING & not( s1:STRING <=> 1=1 )',
7419 '-evalf', ':z3-double-check s1:STRING & s2:STRING & not( s1/:STRING <=> 1=2 )',
7420 '-evalf', ':z3-double-check s1:STRING & s2:STRING & not( s1=s2 <=> {s1} \\/ {s2} = {s1})',
7421 '-evalf', ':z3-double-check s1:STRING & s2:STRING & not( {s1,s2} \\/ {s3} = {s1,s2,s3})',
7422 '-evalf', ':z3-double-check s1:STRING & s2:STRING & not( {s2} \\/ {s1,s2,s3} = {s1,s2,s3} )',
7423 '-evalf', ':z3-double-check S={"a","b"} & s1:S & s2:S & s3:S & not( s1 /= s3 => ({s1,s2} /\\ {s3,s2} = {s2}))',
7424 '-evalf', ':z3-double-check S={"a","b"} & s1:S & s2:S & s3:S & not( #x.(x:STRING & {x} \\/ {s1,s2} = {s1,s2} & x:{s1,s2,s3}))',
7425 '-evalf', ':z3-double-check S={"a","b"} & s1:S & s2:S & s3:S & not( #x.(x:STRING & {x} \\/ {s1,s2} = {s1,s2} ) )',
7426 '-evalf', ':z3-double-check SS<:POW(BOOL) & not( SS \\/ (TT /\\ VV) = (SS \\/ TT) /\\ (SS \\/ VV))',
7427 '-evalf', ':z3-double-check x<:BOOL & not(POW(x) = POW1(x) \\/ {{}})', % z3-cns can solve this, z3-axm takes very long/hangs
7428 %'-evalt', ':z3-double-check x/={{1,19}} & x/={{1,7},{2,-1},{2,-3}} & x/={} & x/={{}} & x/={{0,1},{0,-9},{0,-1}} & x/={{4,2},{2,-1},{3,-4},{5,10},{9,-3},{3,7}}', % model translation became unknown with Z3 version 4.12.3
7429 '-evalf', ':z3-double-check rx:BOOL <-> BOOL & not(( id(BOOL) ; rx) = rx)',
7430 '-evalt', ':z3-double-check a : STRING +-> STRING',
7431 '-evalt', ':z3-double-check a : STRING +-> STRING & a /= {}',
7432 '-evalt', ':z3-double-check a : STRING +-> STRING & a = {"a"|->"b"}',
7433 % z3 answers unknown for the following constraints
7434 %'-evalf', ':z3-double-check not(#t1.(t1:INTEGER & (#t2.(!(t8,rr).(t8 |-> rr : t2 => t1 >= t8 ) & ran(t2) = {1,3} ))))',
7435 %'-evalf', ':z3-double-check ff:1..3<->BOOL & gg:1..3<->BOOL & not (ff <<: gg => (card(ff) < card(gg)))',
7436 %'-evalf', ':z3-double-check SS : POW(-1..3) & VV : POW(-1..3) & not (SS <<: VV => (card(SS) < card(VV)))',
7437 %'-evalf', ':z3-double-check SS : POW(-1..3) & VV : POW(-1..3) & not (SS <: VV => (card(SS) <= card(VV)))'
7438 '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE'
7439 ], 'check some laws for z3').
7440 cli_testcase(2123, [b_test], [ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
7441 '../prob_examples/public_examples/B/Benchmarks/phonebook7.mch',
7442 % clash checks Code = {c1,c2,c3,c4}, db,active,activec={}
7443 '-evalf', 'dom(db) /= active', % z3 reports Unknwon !
7444 '-evalt', '#active.(dom(db) /= active)',
7445 '-evalt', '#db.(db /= active)',
7446 '-evalf', '#(c1,c2).(c1:Name & c2:Code & db={c1|->c2})',
7447 '-evalt', '#(c1,c2,db).(c1:Name & c2:Code & db={c2|->c1})',
7448 '-evalt', '#(c1,c2).(c1:Name & c2:Code & (c1:active <=> c2:activec))'
7449 ], 'check REPL deals well with clashes of quantified variables').
7450 cli_testcase(2124, [cbc], [ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
7451 '-evalt', 'card({x | x:{1,3} or x:{4,9}}) = 4',
7452 '-evalt', 'card({x | x:{1,3} or x:{3,9}}) = 3'
7453 ], 'check clpfd_reify_inlist works with enumeration').
7454 cli_testcase(2125, [cbc], [ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
7455 '-evalf', '#(x,y,z,v,xz).(x:BOOL & x/=y & v/=z & x=v & (x=z <=> xz=TRUE) & (xz=FALSE => x=TRUE) & (xz=FALSE => x=FALSE))',
7456 '-evalt', '#(x,y,z,v,xz).(x:BOOL & x/=y & v/=z & x=v & (x=z <=> xz=TRUE) & (xz=FALSE => x=TRUE) & (xz=TRUE => x=FALSE))',
7457 '-evalt', '{x,y|x=TRUE => y=TRUE} = {(FALSE,TRUE),(FALSE,FALSE),(TRUE,TRUE)}'
7458 ], 'check let detection for implication not applied').
7459 cli_testcase(2126, [cbc], [
7460 '-evalf', 'x>2 & x:3..10 & x mod 3 = 1 & x mod 3 = 2',
7461 '-evalt', 'x>2 & x:3..10 & x mod 3 = 1 & x mod 3 /= 2'
7462 ], 'check modulo propagation terminates').
7463 cli_testcase(2127, [csp_test,ltl], ['../prob_examples/public_examples/CSP/Tickets/WilliamsLTL/SimpleLTL.csp',
7464 '-ltlformulat', 'globally([a] implies finally(e(a)))',
7465 '-ltlformulat', 'not (globally finally e(a) implies GF [a]) implies finally [b]','-strict'],
7466 'Check LTL using new textual forms; variations of tests 541, 542. Requires parser 2.9.28').
7467 cli_testcase(2128, [b_test,external], ['../prob_examples/public_examples/B/ExternalFunctions/TestDoNotEnumerateAnalysis.mch',
7468 '../prob_examples/public_examples/B/ExternalFunctions/TestDoNotEnumerateAnalysis2.mch',
7469 '-t', '-assertions'], 'Test DO_NOT_ENUMERATE analysis; like test 1988 but automatic annotation.').
7470 cli_testcase(2129, [cbc,external], ['../prob_examples/public_examples/EventBPrologPackages/Abrial_Train_Ch17/Train_1_beebook_tlc.mch',
7471 '-evalt', 'tf : domain --> ROUTES & tf <: rtbl & OCC1 <: domain & tf[OCC1] = frm1 & A : OCC1 & A|->R5 /: tf',
7472 '-evalt', 'tf : domain --> ROUTES & tf <: rtbl & OCC1 <: domain & tf[OCC1] <: frm1 & A : OCC1 & A|->R5 /: tf', % delayed enumeration for frm1
7473 '-evalt', 'rsrtbl1 : resbl1 --> resrt1 & rsrtbl1 <: rtbl & OCC1 <: resbl1 & rsrtbl1[OCC1] = frm1 & LBT1 <: OCC1 & R5 /: resrt - ran(rsrtbl1) & (A : LBT1 & (OCC2 = OCC1 - {A} & rsrtbl2 = {A} <<| rsrtbl1)) & R5 /: resrt - ran(rsrtbl2)',
7474 '-evalt', 'rsrtbl1 : resbl1 --> resrt1 & rsrtbl1 <: rtbl & OCC1 <: resbl1 & rsrtbl1[OCC1] <: frm1 & LBT1 <: OCC1 & R5 /: resrt - ran(rsrtbl1) & (A : LBT1 & (OCC2 = OCC1 - {A} & rsrtbl2 = {A} <<| rsrtbl1)) & R5 /: resrt - ran(rsrtbl2)', % delayed enumeration for frm1
7475 '-evalt', 'not((rsrtbl1 : resbl1 --> resrt1 & rsrtbl1 <: rtbl & OCC1 <: resbl1 & rsrtbl1[OCC1] <: frm1 & LBT1 <: OCC1 & R5 /: resrt - ran(rsrtbl1) & (A : LBT1 & (OCC2 = OCC1 - {A} & rsrtbl2 = {A} <<| rsrtbl1))) => R5 : resrt - ran(rsrtbl2))' % with implication
7476 ], 'Test DO_NOT_ENUMERATE analysis; infer also delayed enumeration for certain variables.').
7477 cli_testcase(2130, [cbc,sigma], [
7478 '-evalt', 'SIGMA(x).(x=y+z|x)=3 & z<0 & z>-10',
7479 '-evalt', 'SIGMA(x).({x}<:{0,y}|x)=22', % normally rewritten to member by ast_cleanup
7480 '-evalf', 'PI(x).({x}<:{0,y}|x)=2',
7481 '-p', 'OPTIMIZE_AST', 'FALSE',
7482 '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE'
7483 ], 'check detection of equality and subset in PI/SIGMA').
7484 cli_testcase(2131, [laws], [
7485 '-p', 'TIME_OUT', 7000,
7486 '-evalf', 'VV={1,3} & not(#(c,f).(c:0..3 & f:1..c >->> VV & 1<c))',
7487
7488 '-evalf', 'ff:1..3<->BOOL & gg:1..2<->BOOL & not ((dom(ff\\/gg) = dom(ff) \\/ dom(gg)) )',
7489 '-evalf', 'ff:1..3<->BOOL & gg:1..2<->BOOL & not ( ran(ff\\/gg) = ran(ff) \\/ ran(gg) )',
7490 '-evalf', 'ff:1..3<->BOOL & gg:1..2<->BOOL & not ( dom(ff/\\gg) <: dom(ff) /\\ dom(gg) )',
7491 '-evalf', 'ff:1..3<->BOOL & gg:1..2<->BOOL & not ( ran(ff/\\gg) <: ran(ff) /\\ ran(gg) )',
7492 '-evalf', 'ff:1..3<->BOOL & gg:1..2<->BOOL & not ( (ff \\/ gg)~ = ff~ \\/ gg~ )',
7493 '-evalf', 'ff:1..3<->BOOL & gg:1..2<->BOOL & not ( dom((ff ; (gg~))) <: dom(ff) )',
7494 '-evalf', 'ff:1..3<->BOOL & gg:1..2<->BOOL & not (ff : setX --> setY <=> (ff: setX +-> setY & dom(ff) = setX))',
7495 '-evalf', 'ff:1..3<->BOOL & gg:1..2<->BOOL & not (ff <: ff \\/ gg & gg <: ff \\/ gg )',
7496 '-evalf', 'ff:1..3<->BOOL & gg:1..2<->BOOL & not (ff /\\ gg <: ff & ff /\\ gg <: gg)',
7497 '-evalf', 'ff:1..3<->BOOL & gg:1..2<->BOOL & not ( {xx | xx: ff & xx:gg} = ff /\\ gg)',
7498 '-evalf', 'ff:1..3<->BOOL & gg:1..2<->BOOL & not ( {xx | xx: ff & not(xx:gg)} = ff \\ gg)',
7499 '-evalf', 'ff:1..3<->BOOL & gg:1..2<->BOOL & not (!xx.(xx:ff & xx:gg => xx: ff /\\ gg))',
7500 '-evalf', 'ff:1..3<->BOOL & gg:1..2<->BOOL & not (!xx.(xx:ff & not(xx:gg) => (xx: ff \\ gg & xx /: gg)))',
7501 '-evalf', 'ff:1..3<->BOOL & gg:1..2<->BOOL & not (#xx.(xx:ff & xx/:gg) => not(ff \\/ gg = gg) & not(ff \\ gg = {}))',
7502 '-evalf', 'ff:1..3<->BOOL & gg:1..2<->BOOL & not ( ff <<: gg or ff /<<: gg )',
7503 '-evalf', 'ff:1..3<->BOOL & gg:1..2<->BOOL & not ( ff : POW(gg) or ff /: POW(gg) )',
7504 '-evalf', 'ff:1..3<->BOOL & gg:1..2<->BOOL & not ( (ff <: gg & ff /<<: gg) => ff = gg)',
7505 '-evalf', 'ff:1..3<->BOOL & gg:1..2<->BOOL & not ( (ff <<: gg ) => (ff /= gg & card(gg)>0))',
7506 '-evalf', 'ff:1..3<->BOOL & gg:1..2<->BOOL & not ( ff <<: gg => #xx.(xx:gg & xx/:ff))',
7507 '-evalf', 'ff:1..3<->BOOL & gg:1..2<->BOOL & not ( ff <: gg <=> !x.(x:ff => x:gg) )',
7508 '-evalf', 'ff:1..1<->BOOL & gg:1..2<->BOOL & not (ff <<: gg => (card(ff) < card(gg)))',
7509 %% '-evalf', 'ff:1..1<->BOOL & gg:1..2<->BOOL & not (card(ff \\/ gg) <= (card(ff) + card(gg)))', % TIME_OUT
7510 %% probably due to CLPFD propagation; this ff={} & gg:1..1<->BOOL & (card(ff \/ gg) > card(gg)) has issue as well
7511 '-evalf', 'ff:1..3<->BOOL & gg:1..2<->BOOL & not (ff /\\ gg = {} <=> ff <: ((1..3)*BOOL) - gg)',
7512 '-evalf', 'ff:1..3<->BOOL & gg:1..2<->BOOL & not ( (ff<+gg) = (gg \\/ (dom(gg)<<|ff)) )',
7513 '-evalf', 'ff:1..3<->BOOL & gg:1..2<->BOOL & not ( ff<+{} = ff & {}<+ff = ff & ff<+ff = ff)',
7514 '-evalf', 'ff:1..3<->BOOL & gg:1..2<->BOOL & not (ff~ = {yy,xx|xx:dom(ff)&yy:ran(ff)&({xx|->yy}<:ff)})',
7515 '-evalf', 'ff:1..3<->BOOL & gg:1..2<->BOOL & not (id(ff) = {xx,yy|xx:ff&yy:ff&xx=yy})',
7516 '-evalf', 'ff:1..2<->BOOL & gg:1..2<->BOOL & not (prj1(ff,gg) = ({xx,yy,zz|xx:(ff)&yy:(gg)&zz=xx}) )',
7517 '-evalf', 'ff:1..2<->BOOL & gg:1..2<->BOOL & not (prj2(ff,gg) = ({xx,yy,zz|xx:(ff)&yy:(gg)&zz=yy}) )',
7518 '-evalf', 'hh:1..3<->1..3 & not (iterate(hh,1)=(hh))',
7519 '-evalf', 'ff:1..3<->BOOL & gg:1..3<->BOOL & not (dom(ff><gg) = dom(ff)/\\dom(gg)) // Crashes Z3',
7520 '-evalf', 'ff:1..2<->BOOL & gg:1..2<->BOOL & not (card((ff><gg)) <= card(ff)*card(gg))',
7521 '-evalf', 'ff:1..2<->BOOL & gg:1..2<->BOOL & not ( dom((ff||gg)) = dom(ff)*dom(gg)) // Crashes Z3',
7522 '-evalf', 'xx:0..3 & zz:0..3 & not( xx: xx..xx+1 )',
7523 '-evalf', 'xx:0..3 & zz:0..3 & not(xx: xx..xx+1 )',
7524 '-evalf', 'xx:0..3 & zz:0..3 & not(xx: xx..xx )',
7525 '-evalf', 'xx:0..3 & zz:0..3 & not(xx: xx-1..xx )',
7526 '-evalf', 'xx:0..3 & zz:0..3 & not((xx<zz <=> xx:0..zz-1) )',
7527 '-evalf', 'xx:0..3 & zz:0..3 & not((xx<=zz <=> xx:0..zz) )',
7528 '-evalf', 'xx:0..3 & zz:0..3 & not(card(xx..xx) = 1 & card(xx..xx-1) = 0 )',
7529 '-evalf', 'xx:0..3 & zz:0..3 & not(card(xx..xx+1) = 2 )',
7530 '-evalf', 'xx:0..3 & zz:0..3 & not((xx>zz <=> card(xx..zz) = 0) )',
7531 '-evalf', 'xx:0..3 & zz:0..3 & not((xx<=zz => card(xx..zz) = zz-xx+1) )',
7532 '-evalf', 'xx:0..3 & zz:0..3 & not((xx<1 => {} : 1..xx --> INTEGER) )',
7533 '-evalf', 'xx:0..3 & zz:0..3 & not({} : 1..0 --> INTEGER )',
7534 '-evalf', 'xx:0..3 & zz:0..3 & not(xx..zz = {nn | nn:INT & nn>=xx & nn<=zz})',
7535 '-evalf', 'xx:0..3 & zz:0..3 & not( (xx..zz = {} <=> zz < xx) )',
7536 '-evalf', 'xx:0..3 & zz:0..3 & not( (xx..zz /= {} <=> zz >= xx) )',
7537 '-evalf', 'xx:0..3 & zz:0..3 & not( (#v.(v:xx..zz) <=> zz >= xx) )',
7538 '-evalf', 'xx:0..3 & zz:0..3 & not( !v.(v:xx..zz => v>=xx & v <= zz))',
7539 '-evalf', 'xx:0..3 & zz:0..3 & not( xx..(xx-1) <: xx..zz )',
7540 '-evalf', 'xx:0..3 & zz:0..3 & not( xx..zz <: xx..zz )',
7541 '-evalf', 'xx:0..3 & zz:0..3 & not( xx..zz <: xx..(zz+1) )',
7542 '-evalf', 'xx:0..3 & zz:0..3 & not( (xx+1)..zz <: xx..zz )',
7543 '-evalf', 'xx:0..3 & zz:0..3 & not( xx..(zz-1) <: xx..zz )',
7544 '-evalf', 'xx:0..3 & zz:0..3 & not( (xx+1)..(zz-1) <: xx..zz)',
7545 '-evalf', 'x:-3..3 & y:-3..3 & not(x*y = y*x)',
7546 '-evalf', 'x:-3..3 & y:-3..3 & z:-3..3 & not(x*(y+z) = x*y + x*z)',
7547 '-evalf', 'x:-3..3 & y:-3..3 & not(x+y = y+x)',
7548 '-evalf', 'x:-3..3 & y:-3..3 & not(x*1 = x)',
7549 '-evalf', 'x:-3..3 & y:-3..3 & not(1*x = x)',
7550 '-evalf', 'x:-3..3 & y:-3..3 & not(x*0 = 0)',
7551 '-evalf', 'x:-3..3 & y:-3..3 & not(0*x = 0)',
7552 '-evalf', 'x:-3..3 & y:-3..3 & z:-3..3 & not((x+y)+z = x + (y+z))',
7553 '-evalf', 'x:-3..3 & y:-3..3 & z:-3..3 & not((x*y)*z = x*(y*z))',
7554 '-evalf', 'x:-3..3 & y:-3..3 & not(2*x = x+x)',
7555 '-evalf', 'x:-3..3 & y:-3..3 & not(x**2 = x*x)',
7556 '-evalf', 'x:-3..3 & y:-3..3 & not(x>=0 => 1**x = 1)',
7557 '-evalf', 'x:-3..3 & y:-3..3 & not(x>=0 => (((x / 2)*2 = x) <=> (x mod 2 = 0)))',
7558 '-evalf', 'x:-3..3 & y:-3..3 & not(x>0 => 2**x = 2*(2**(x-1)))',
7559 '-evalf', 'x:-3..3 & y:-3..3 & not(x>0 => 2**(10*x) = 2*(2**(10*x-1)))',
7560 '-evalf', 'x:-3..3 & y:-3..3 & not(x>0 => 3**(10*x) = 3*(3**(10*x-1)))',
7561 '-evalf', 'x:-3..3 & y:-3..3 & not(x>y or x<=y) ',
7562 '-evalf', 'x:-3..3 & y:-3..3 & not(x>y or x=y or x<y) ',
7563 '-evalf', 'x:-3..3 & y:-3..3 & not(x>=y or x<y) ',
7564 '-evalf', 'x:-3..3 & y:-3..3 & not(x>=y or x<=y) ',
7565 '-evalf', 'x:-3..3 & y:-3..3 & (x>y & x<=y) ',
7566 '-evalf', 'x:-3..3 & y:-3..3 & (x<y & y<x) ',
7567 '-evalf', 'x:-3..3 & y:-3..3 & not(x-x = 0 )',
7568 '-evalf', 'x:-3..3 & y:-3..3 & not(x=y <=> x-y = 0) ',
7569 '-evalf', 'x:-3..3 & y:-3..3 & not(x>y <=> x >= y+1) ',
7570 '-evalf', 'x:-3..3 & y:-3..3 & not(x<y <=> x <= y-1) ',
7571 '-evalf', 'x:-3..3 & y:-3..3 & not((x<y or y<x) <=> x/=y) ',
7572 '-evalf', 'x:-3..3 & y:-3..3 & not((x<y & y<=z) => x<z) ',
7573 '-evalf', 'x:-3..3 & y:-3..3 & z:-4..4 & not((x<y & y<z) => x<z) ',
7574 '-evalf', 'x:-3..3 & y:-3..3 & z:-4..4 & not((x<=y & y<z) => x<z) ',
7575 '-evalf', 'x:-3..3 & y:-3..3 & not((x<=y & y<=z) => x<=z) ',
7576 '-evalf', 'x:-3..3 & y:-3..3 & not((x<=y & y<=x) => x=y)',
7577 '-evalf', 'x:-3..3 & y:-3..3 & not(x=y <=> y=x) ',
7578 '-evalf', 'x:-3..3 & y:-3..3 & not(x/=y <=> y/=x) ',
7579 '-evalf', 'x:-3..3 & y:-3..3 & not(x<y <=> y>x) ',
7580 '-evalf', 'x:-3..3 & y:-3..3 & not(x>y <=> y<x) ',
7581 '-evalf', 'x:-3..3 & y:-3..3 & not(x<=y <=> y>=x) ',
7582 '-evalf', 'x:-3..3 & y:-3..3 & not(x>=y <=> y<=x) ',
7583 '-evalf', 'x:-3..3 & y:-3..3 & not(not(x<y) <=> x>=y) ',
7584 '-evalf', 'x:-3..3 & y:-3..3 & not(not(x<=y) <=> x>y) ',
7585 '-evalf', 'x:-3..3 & y:-3..3 & not((x=y or x=z) => (y=x or z=x)) ',
7586 '-evalf', 'x:-3..3 & y:-3..3 & not((x=y or x=z) <=> (y=x or z=x)) ',
7587 '-evalf', 'x:-3..3 & y:-3..3 & not((x=y <=> x=z) => (y=z or x/=y))',
7588 '-evalf', 'x:-3..3 & y:-3..3 & not ( (x-y-x+y = 0) )',
7589 '-evalf', 'x:-3..3 & y:-3..3 & not ( x*x >= 0 )',
7590 '-evalf', 'x:-3..3 & y:-3..3 & not ( (x*x = 0 <=> x=0) )',
7591 '-evalf', 'x:-3..3 & y:-3..3 & not ( (x*x = 0 => x=0) )',
7592 '-evalf', 'x:-3..3 & y:-3..3 & not ( (x=0 => x*x = 0) )',
7593 '-evalf', 'x:-3..3 & y:-3..3 & not ( x*x = -x * -x )',
7594 '-evalf', 'x:-3..3 & y:-3..3 & not (x<=y <=> min({x,y}) = x)',
7595 '-evalf', 'x:-3..3 & y:-3..3 & not (x<=y <=> max({x,y}) = y)',
7596 '-evalf', 'x:-3..3 & y:-3..3 & not (x<y <=> max({x,y}) /= x)',
7597 '-evalf', 'x:-3..3 & y:-3..3 & not (x<y <=> min({x,y}) /= y)',
7598 '-evalf', 'x:-3..3 & y:-3..3 & not(x>=0 & y>0 => ((x/y) * y = x - x mod y))',
7599 '-evalf', 'x:-3..3 & y:-3..3 & z:-3..3 & not(x/=y & x/=z & y/=z => SIGMA(zz).(zz:{x,y,z}|zz) = x+y+z)',
7600 '-evalf', 'x:-3..3 & y:-3..3 & z:-3..3 & not(x/=y & x/=z & y/=z => PI(zz).(zz:{x,y,z}|zz) = x*y*z)',
7601 '-evalf', 'x:-3..3 & y:-3..3 & not(SIGMA(zz).(zz:{x}|zz) = x)',
7602 '-evalf', 'x:-3..3 & y:-3..3 & not(PI(zz).(zz:{x}|zz) = x)',
7603 '-evalf', 'x:-3..3 & y:-3..3 & not(succ(x) = x+1) ',
7604 '-evalf', 'x:-3..3 & y:-3..3 & not(pred(x) = x-1) ',
7605 '-evalf', 'x:-3..3 & y:-3..3 & not(x < succ(x))',
7606 '-evalf', 'x:-3..3 & y:-3..3 & not(x > pred(x))',
7607 '-evalf', 'x:-3..3 & y:-3..3 & not(pred(succ(x)) = x)',
7608 '-evalf', 'x:-3..3 & y:-3..3 & not(x+succ(y) = succ(x+y))',
7609 '-evalf', 'x:-3..3 & y:-3..3 & not(x*succ(y) = x+x*y)',
7610 '-evalf', 'x:-3..3 & y:-3..3 & not(x>=0 => 1**x = 1)',
7611 '-evalf', 'x:-3..3 & y:-3..3 & not (x**1 = x)',
7612 '-evalf', 'x:-3..3 & y:-3..3 & not (x**0 = 1)',
7613 '-evalf', 'x:-3..3 & y:-3..3 & not(x>0 => 0**x = 0)',
7614 '-evalf', 'x:-3..3 & y:-3..3 & z:-3..3 & not(z>=0 => (x*y)**z = x**z * y**z)',
7615 '-evalf', 'x:-3..3 & y:-3..3 & z:-3..3 & not(y>=0 & z>=0 => (x**(y+z) = x**y * x**z))',
7616 '-evalf', 'x:-3..3 & y:-3..3 & z:-3..3 & not(y>=0 & z>=0 => (x**(y*z) = (x**y)**z))',
7617 '-evalf', 'x:-3..3 & y:-3..3 & not(#x.(x:INTEGER & {x} \\/ {1,2} = {1,2} ) )',
7618 '-evalf', 'x:-3..3 & y:-3..3 & not( min({x}) = x )',
7619 '-evalf', 'x:-3..3 & y:-3..3 & not(x <= y => min({x,y}) = x )',
7620 '-evalf', 'x:-3..3 & y:-3..3 & not(y <= x => min({x,y}) = y )',
7621 '-evalf', 'x:-3..3 & y:-3..3 & z:-3..3 & not( min({x}\\/{y,z}) = min({min({x}), min({y,z})}) )',
7622 '-evalf', 'x:-3..3 & y:-3..3 & z:-3..3 & not( min({y,z} \\/ {x}) = min({min({y,z}),x}) )',
7623 '-evalf', 'x:-3..3 & y:-3..3 & z:-3..3 & not( x:y..z <=> (y<=x & x<=z))',
7624 '-evalf', 'x:-3..3 & y:-3..3 & z:-3..3 & not( x:y..z <=> (y<=x & x<=z & y<=z))',
7625 '-evalf', 'x:-3..3 & y:-3..3 & y /= 0 & not ( -x/y = -(x/y) )',
7626 '-evalf', '(2=3 & 1=1 <=> 4=5 & 2=2)',
7627 '-evalf', 'SS : POW(-1..3) & not (SS = ran(%x.(x:SS|x*1)))',
7628 '-evalf', 'SS : POW(-1..3) & not (SS = {z|z:INTEGER & #x.(x:SS & z=x*1)})',
7629 '-evalf', 'SS : POW(-1..3) & VV : POW(-1..3) & not ( SS <<: VV or SS /<<: VV )',
7630 '-evalf', 'SS : POW(-1..3) & VV : POW(-1..3) & not ( (VV <<: SS & SS <: TT) => (VV <<: TT))',
7631 '-evalf', 'SS : POW(-1..3) & VV : POW(-1..3) & not (SS <<: VV => (card(SS) < card(VV)))',
7632 '-evalf', 'SS : POW(-1..3) & VV : POW(-1..3) & not (SS <: VV => (card(SS) <= card(VV)))',
7633 '-evalf', 'SS : POW(-1..3) & VV : POW(-1..3) & not (SS /\\ VV = {} <=> SS <: (-1..3) - VV)',
7634 '-evalf', 'SS : POW(-1..3) & VV : POW(-1..3) & not((SS=VV & SS /= {}) => (max(SS) = max(VV) & min(SS)=min(VV)))',
7635 '-evalf', 'SS : POW(-1..3) & VV : POW(-1..3) & not((SS <: VV & SS/= {}) => (max(SS) <= max(VV) & min(SS) >= min(VV)))',
7636 '-evalf', 'a<:1..3 & b<:1..3 & not( a<:b <=> POW(a) <: POW(b) )',
7637 '-evalf', 'a<:1..3 & b<:1..3 & not( a<<:b <=> POW(a) <<: POW(b))',
7638 '-evalf', 'a<:1..3 & b<:1..3 & not( POW(a) /<: POW1(b) & FIN(a) /<: FIN1(b))',
7639 '-evalf', 'a<:1..3 & b<:1..3 & c<:1..3 & d<:1..3 & not( (a={} or b={}) => (a*b)={} & (a*b) <: (c*d) )',
7640 '-evalf', 'a<:1..3 & b<:1..3 & c<:1..3 & d<:1..3 & not( ( (a={} or b={} & f : a <-> b) => f: c <-> d ))',
7641 '-evalf', 'a<:1..3 & b<:1..3 & c<:1..3 & d<:1..3 & not( ( (a={} or b={} & f : a +-> b) => f: c +-> d ))',
7642 '-evalf', 'a<:1..3 & b<:1..3 & c<:1..3 & d<:1..3 & not( ( (a={} or b={} & f : a >+> b) => f: c >+> d ))',
7643 '-evalf', 'a<:1..3 & b<:1..3 & c<:1..3 & d<:1..3 & not( ( a <: c & b<:d => (a*b) <: c*d))',
7644 '-evalf', 'a<:1..3 & b<:1..3 & c<:1..3 & d<:1..3 & not( a <: c & b<:d & f : a <-> b => f: c <-> d )',
7645 '-evalf', 'a<:1..3 & b<:1..3 & c<:1..3 & d<:1..3 & not( a <: c & b<:d & f : a +-> b => f: c +-> d )',
7646 '-evalf', 'a<:1..3 & b<:1..3 & c<:1..3 & d<:1..3 & not( a <: c & b<:d & f : a >+> b => f: c >+> d )',
7647 '-evalf', 'a<:1..3 & b<:1..3 & c<:1..3 & d<:1..3 & not( b<:d & f : a --> b => f: a --> d )',
7648 '-evalf', 'a<:1..3 & b<:1..3 & c<:1..3 & d<:1..3 & not( b<:d & f : a >-> b => f: a >-> d )',
7649 '-evalf', 'a<:1..3 & b<:1..3 & c<:1..3 & d<:1..3 & not( a<:c & f : a +->> b => f: c +->> b )',
7650 '-evalf', 's1:STRING & s2:STRING & not((s1=s2 <=> s2=s1))',
7651 '-evalf', 's1:STRING & s2:STRING & not( s1=s2 or s1 /= s2 )',
7652 '-evalf', 's1:STRING & s2:STRING & not( s1=s2 & s2=s3 => s1 = s3 )',
7653 '-evalf', 's1:STRING & s2:STRING & not( s1=s2 & s2/=s3 => s1 /= s3 )',
7654 '-evalf', 's1:STRING & s2:STRING & not(s1=s2 <=> card({s1,s2}) = 1)',
7655 '-evalf', 's1:STRING & s2:STRING & not( s1=s2 <=> {s1,s2} = {s1} )',
7656 '-evalf', 's1:STRING & s2:STRING & not({s1,s2,s3} = {s3} \\/ {s2} \\/ {s1} )',
7657 '-evalf', 's1:STRING & s2:STRING & not({x| x=s1 or x=s2} = {s2,s1} )',
7658 '-evalf', 's1:STRING & s2:STRING & not( s1 : dom( { s2 |-> s2, s3|->s3, s1 |->s1} ) )',
7659 '-evalf', 's1:STRING & s2:STRING & not((s1/=s2 => s1 /: dom( { s2 |-> s2} ) ) )',
7660 '-evalf', 's1:STRING & s2:STRING & not( s1 /: {s1,s2,s3} - {s2,s1} )',
7661 '-evalf', 'S={"a","b"} & s1:S & s2:S & s3:S & not(card({s1,s2,s3} - {s2,s1}) < 2)',
7662 '-evalf', 's1:STRING & s2:STRING & not( s1:STRING <=> 1=1 )',
7663 '-evalf', 's1:STRING & s2:STRING & not( s1/:STRING <=> 1=2 )',
7664 '-evalf', 's1:STRING & s2:STRING & not( s1=s2 <=> {s1} \\/ {s2} = {s1})',
7665 '-evalf', 's1:STRING & s2:STRING & not( {s1,s2} \\/ {s3} = {s1,s2,s3})',
7666 '-evalf', 's1:STRING & s2:STRING & not( {s2} \\/ {s1,s2,s3} = {s1,s2,s3} )',
7667 '-evalf', 'S={"a","b"} & s1:S & s2:S & s3:S & not( s1 /= s3 => ({s1,s2} /\\ {s3,s2} = {s2}))',
7668 '-evalf', 'S={"a","b"} & s1:S & s2:S & s3:S & not( #x.(x:STRING & {x} \\/ {s1,s2} = {s1,s2} & x:{s1,s2,s3}))',
7669 '-evalf', 'S={"a","b"} & s1:S & s2:S & s3:S & not( #x.(x:STRING & {x} \\/ {s1,s2} = {s1,s2} ) )',
7670 '-evalf', 'SS<:POW(BOOL) & not( SS \\/ (TT /\\ VV) = (SS \\/ TT) /\\ (SS \\/ VV))',
7671 '-evalf', 'SS<:POW(BOOL) & not( SS <<: VV => (card(SS) < card(VV)) )',
7672 '-evalf', 'x<:BOOL & not(POW(x) = POW1(x) \\/ {{}})',
7673 '-evalf', 'not(#t138.(x<:BOOL & (!t135.(t135 <: x => t135 : t138 \\/ {{}}) & !t135.(t135 : t138 \\/ {{}} => t135 <: x) & (!t137.(t137 <: x & not(t137 = {}) => t137 : t138) & !t137.(t137 : t138 => t137 <: x & not(t137 = {}))))))', % translation of above for z3
7674 '-evalf', 'x<:BOOL & x <<: y & not(POW(x) <<: POW(y))',
7675 '-evalf', 'x<:BOOL & not(x = y) & x <: y & not(not(#t166.(btrue & (!t163.(t163 <: x => t163 : t166) & !t163.(t163 : t166 => t163 <: x) & (!t165.(t165 <: y => t165 : t166) & !t165.(t165 : t166 => t165 <: y))))) & #(t168,t170).(t168 <: t170 & (!t167.(t167 <: x => t167 : t168) & !t167.(t167 : t168 => t167 <: x) & (!t169.(t169 <: y => t169 : t170) & !t169.(t169 : t170 => t169 <: y)))))', % translation of above for z3
7676 '-evalf', 'SS<:BOOL & VV<:BOOL & not(union({SS,VV})=SS \\/ VV)',
7677 '-evalf', 'SS<:BOOL & VV<:BOOL & not(union({SS,VV,WW})=SS \\/ VV \\/ WW)',
7678 '-evalf', 'SS<:BOOL & VV<:BOOL & SV = {SS}\\/{VV} & SVW= SV\\/{WW} & not(union(SVW)=SS \\/ VV \\/ WW)',
7679 '-evalt', 'SS<:BOOL & VV<:BOOL & SV = {SS}\\/{VV} & SVW= SV\\/{WW} & not(inter(SVW)=SS \\/ VV \\/ WW)',
7680 '-evalf', 'SS<:BOOL & VV<:BOOL & SV = {SS}\\/{VV} & SVW= SV\\/{WW} & not(inter(SVW)=SS /\\ VV /\\ WW)',
7681 '-evalf', 'SS<:POW(BOOL) & not(union({SS,TT}) = SS \\/ TT)',
7682 '-evalf', 'SS<:POW(BOOL) & not(SS/={} & TT/={} => inter(SS \\/ TT) = inter(SS) /\\ inter(TT))',
7683 '-evalf', 'r:BOOL <-> BOOL & not(r <: closure1(r))',
7684 '-evalf', 'r:BOOL <-> BOOL & not(r <: closure(r))',
7685 '-evalf', 'rx:BOOL <-> BOOL & not(id( dom(rx) \\/ ran(rx) ) <: closure(rx))',
7686 '-evalf', 'rx:BOOL <-> BOOL & not(( id(BOOL) ; rx) = rx)',
7687 '-evalf', 'rx:BOOL <-> BOOL & not(( rx ; id(BOOL) ) = rx)',
7688 '-evalf', 'rx:BOOL <-> BOOL & ff:BOOL<->BOOL & not(( rx; ff )~ = (ff~ ; rx ~))',
7689 '-evalf', 'rx:BOOL <-> BOOL & ff:BOOL<->BOOL & not( (ff ; rx)[HH] = rx[ff[HH]])',
7690 '-evalf', 'ff:BOOL<->BOOL & not( gg <+ ff = (dom(ff) <<| gg) \\/ ff )',
7691 '-evalf', 'ff:BOOL<->BOOL & gg:BOOL<->BOOL & not( dom(ff) <<| gg = {a,b| (a,b):gg & a/:dom(ff)} )',
7692 '-evalf', 'ff:BOOL<->BOOL & gg:BOOL<->BOOL & not( gg |>> ran(ff) = {a,b| (a,b):gg & b/:ran(ff)})',
7693 '-evalf', 'ff:BOOL<->BOOL & ii=1 & not (iterate(ff,ii) = ff)',
7694 '-evalf', 'x<:BOOL & x <: y & not(POW(x) <: POW(y))',
7695 '-evalt', 'x<:BOOL & x <: y & not(POW(x) <<: POW(y))', % True,
7696 '-evalf', 'x<:BOOL & x <<: y & not(POW(x) <<: POW(y))',
7697 '-evalf', 'xx:0..3 & not(xx>xx-1 & card(xx..xx) = 1)', % used to cause timeout in CHR mode
7698 '-evalf', 'f:BOOL-->POW(BOOL) & card(f(TRUE))=0 & card(f(FALSE))=0 & card(union(ran(f)))>0',
7699 '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE'
7700 ], 'check laws expressed as individual constraints').
7701
7702 cli_testcase(2132, [laws], ['-p', 'SMT', 'TRUE',
7703 '-evalf', 'x:-3..3 & y:-3..3 & not((x<y & y<z) => x<z) ', % does not work with CLPFD=FALSE
7704 '-evalf', 'x:-3..3 & y:-3..3 & not((x<=y & y<z) => x<z) '
7705 |Cmds],'Test 2131 with SMT true') :-
7706 cli_testcase(2131, _, Cmds,_).
7707 cli_testcase(2133, [laws, chr], ['-p', 'CHR', 'TRUE' |Cmds],'Test 2131 with SMT and CHR true') :-
7708 cli_testcase(2132, _, Cmds,_).
7709 cli_testcase(2134, [laws], ['-p', 'CLPFD', 'FALSE' |Cmds],'Test 2131 with CLPFD false') :-
7710 cli_testcase(2131, _, Cmds,_).
7711 cli_testcase(2135, [b_test], [
7712 '../prob_examples/public_examples/B/Tester/Uses/MachineB_wrong_uses.mch',
7713 '-expcterr', 'type_error', '-expcterr', 'load_main_file'], 'Check that operations of a used machine cannot be called').
7714 cli_testcase(2136, [b_test], [ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
7715 '../prob_examples/public_examples/B/PerformanceTests/ModelChecking/IncrementalStatePackingTestLargeSlow_err.mch',
7716 '-mc', 20, '-p', 'PROOF_INFO', 'TRUE',
7717 '-expcterr', 'invariant_violation'], 'Check that invariant (proven for all events) violation found').
7718 cli_testcase(2137, [b_test, operation_reuse, operation_reuse_full], [ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
7719 '../prob_examples/public_examples/B/PerformanceTests/ModelChecking/IncrementalStatePackingTestLargeSlow_err.mch',
7720 '-mc', 20, '-p', 'OPERATION_REUSE', 'full', '-p', 'PROOF_INFO', 'TRUE',
7721 '-expcterr', 'invariant_violation'], 'Check that invariant (proven for all events) violation found').
7722 cli_testcase(2138, [eventb_test, operation_reuse, operation_reuse_full, codespeed], [ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
7723 '../prob_examples/public_examples/EventBPrologPackages/ABZ_Landing_Gear/Ref3_ControllerSensors_mch.eventb',
7724 '-mc', 2500, '-p', 'OPERATION_REUSE', 'full', '-p', 'COMPRESSION', 'TRUE', '-nodead',
7725 '-cc', 2354, 10154,
7726 '-check_op_cache_stats', 242, 0, 24, 0 % used to be 248,24,2;
7727 % but after improving Proof info 6 calls to invariant checks have disappeared; see also test 2218
7728 ], 'Check that operation reuse works for Event-B').
7729 cli_testcase(2139, [b_test, operation_reuse, operation_reuse_full, codespeed], [ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
7730 '../prob_examples/public_examples/B/Other/Meeduse/gpuScheduler_main.mch',
7731 '-mc', 4000, '-p', 'OPERATION_REUSE', 'full', '-p', 'COMPRESSION', 'TRUE', '-noass',
7732 '-cc', 3180, 26054,
7733 '-check_op_cache_stats', 9598, 3566, 4, 10],% 3566 was 3500, before remove_finite rule made more conservative
7734 'Check Meeduse model').
7735 cli_testcase(2140, [b_test, operation_reuse, operation_reuse_full, codespeed], [ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
7736 '../prob_examples/public_examples/B/Other/Meeduse/gpuScheduler_main.mch',
7737 '-mc', 4000, '-p', 'OPERATION_REUSE', 'full', '-p', 'COMPRESSION', 'TRUE', '-noass',
7738 '-nodead', '-p', 'SAFETY_MODEL_CHECK', 'TRUE', '-bf',
7739 '-cc', 3180, 3181, % was 3179, but now we store at least one transition per operation for coverage
7740 '-check_op_cache_stats', 9598 , 3566, 4, 10], % 3566 was 3500, before remove_finite rule made more conservative
7741 'Test 2140 with safety invariant model checking').
7742 cli_testcase(2141, [eventb_test, operation_reuse, operation_reuse_full, codespeed], [
7743 '../prob_examples/examples/EventBPrologPackages/Advance_WP2/v6_Sep2014/ex_mch.eventb',
7744 '-animate', 300, '-p', 'OPERATION_REUSE', 'full', '-p', 'COMPRESSION', 'TRUE',
7745 '-check_op_cache_stats', '_', '_', 41, 28], 'Test used to pose problem to operation reuse').
7746 cli_testcase(2142, [cbc], [
7747 '-evalt','x>1 & y:NATURAL & y=x+x & z={y,x}',
7748 '-p', 'CLPFD', 'TRUE', '-p', 'CHR', 'FALSE'], 'Check CLPFD overflows are caught').
7749 cli_testcase(2143, [operation_reuse, csp_test,cspb], ['-p', 'STRICT_RAISE_ENUM_WARNINGS','TRUE',
7750 '../prob_examples/public_examples/CSP/Tickets/WilliamsCSPB/Airports.mch', '-csp-guide',
7751 '../prob_examples/public_examples/CSP/Tickets/WilliamsCSPB/AirportsCtrl.csp',
7752 '-p', 'COMPRESSION', 'TRUE', '-p', 'OPERATION_REUSE', 'TRUE', '-mc', 1000,
7753 '-check_op_cache_stats', 127, 0, 2 , 0,
7754 '-cc', 843, 3504, '-strict'], 'Checking operation reuse CSP-M || B models.').
7755 cli_testcase(2144, [operation_reuse,csp_test,cspb],['-p', 'STRICT_RAISE_ENUM_WARNINGS','TRUE',
7756 '../prob_examples/public_examples/CSPB/Dining/Dining.mch', '-csp-guide',
7757 '../prob_examples/public_examples/CSPB/Dining/Dining.csp',
7758 '-p', 'COMPRESSION', 'TRUE', '-p', 'OPERATION_REUSE', 'TRUE',
7759 '-mc', 5000, '-nodead',
7760 '-p', 'MAX_INITIALISATIONS', 100,
7761 '-check_op_cache_stats', 516, 373, 3 , 2,
7762 '-cc', 1862, 4957,
7763 '-strict'],'Check operation_reuse in Dining.csp').
7764 cli_testcase(2145, [operation_reuse,csp_test,cspb],[ '-p', 'STRICT_RAISE_ENUM_WARNINGS','TRUE',
7765 '../prob_examples/public_examples/CSPB/LTSMin/Counters_smaller.mch', '-csp-guide',
7766 '../prob_examples/public_examples/CSPB/LTSMin/Counters.csp',
7767 '-p', 'COMPRESSION', 'TRUE', '-p', 'OPERATION_REUSE', 'TRUE',
7768 '-mc', 85000,
7769 '-check_op_cache_stats', 63, 0 , 3 , 0,
7770 '-cc', 21486, 21486,
7771 '-strict'],'Check operation_reuse in Dining.csp').
7772 cli_testcase(2146, [b_test,card], ['-strict', '-p', 'STRICT_RAISE_ENUM_WARNINGS','TRUE',
7773 '../prob_examples/public_examples/B/FeatureChecks/DeferredSetsDisjointSubsets1.mch', '-init' ,'-assertions'], 'check cardinality of deferred set detects disjoint subsets').
7774 cli_testcase(2147, [smt_solver_integration], [
7775 '-evalt', ':z3-double-check a="(!&/()=>\\"<,.\\"-_%?"',
7776 '-evalt', ':z3-double-check a=""',
7777 '-evalt', ':z3-double-check a="\\""',
7778 '-evalt', ':z3-double-check a="\\"\\""'
7779 ], 'check z3 model translation for strings').
7780 cli_testcase(2148, [operation_reuse,eventb_test],[
7781 '../prob_examples/examples/EventBPrologPackages/Soton/UML-B/drone_0_mch.eventb',
7782 '-p', 'COMPRESSION', 'TRUE', '-p', 'OPERATION_REUSE', 'TRUE',
7783 '-mc', 3000, '-scope', 'card(SCXML_eq)<5',
7784 '-check_op_cache_stats', 1164, 0, 15 , 0,
7785 % analysed are these, but many more are added to the state space'-cc', 2422, 10767,
7786 '-strict'],'Check operation_reuse with scope').
7787 cli_testcase(2149, [smt_solver_integration], [
7788 '-evalt', ':z3-double-check rev(["a","b"]) = a',
7789 '-evalf', ':z3-double-check rev(["a"]) = []',
7790 '-evalt', ':z3-double-check first(["a","b"]) = a',
7791 '-evalt', ':z3-double-check last(["a","b"]) = a',
7792 '-evalt', ':z3-double-check ["a","b"]<-"c" = a',
7793 '-evalt', ':z3-double-check "c"->["a","b"] = a',
7794 '-evalt', ':z3-double-check tail(["a","b"]) = a',
7795 '-evalt', ':z3-double-check front(["a","b"]) = a',
7796 '-evalt', ':z3-double-check rev([3,4]) = a',
7797 '-evalf', ':z3-double-check rev([6]) = []',
7798 '-evalt', ':z3-double-check first([7,8]) = a',
7799 '-evalt', ':z3-double-check last([9,10]) = a',
7800 '-evalt', ':z3-double-check [11,12,13]<-14 = a',
7801 '-evalt', ':z3-double-check 9->[6,155] = a',
7802 '-evalt', ':z3-double-check tail([4,7]) = a',
7803 '-evalt', ':z3-double-check front([4,7]) = a',
7804 '-evalt', ':z3-double-check size([4,7,5]) = a',
7805 '-evalt', ':z3-double-check size([4,7,5]) = 3',
7806 '-evalf', ':z3-double-check size([4,7,5]) = 4'
7807 ], 'check sequences with z3').
7808 cli_testcase(2150, [operation_reuse,eventb_test],[
7809 '../prob_examples/examples/RodinModels/SAP/TUCC_Example/v3/m_wodel123_partner_behaviour.eventb',
7810 '-p', 'COMPRESSION', 'TRUE', '-p', 'OPERATION_REUSE', 'TRUE',
7811 '-mc', 1000, '-expcterr', 'model_check_incomplete',
7812 '-op_cache_profile',
7813 '-strict'],'Check that unmodifiable check works and read vars are correctly computed').
7814 cli_testcase(2151, [pragmas,eventb_test],[ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
7815 '../prob_examples/public_examples/EventBPrologPackages/Tests/TestProBIgnoreAxioms_ctx.eventb',
7816 '-init', '-p', 'USE_IGNORE_PRAGMAS', 'TRUE',
7817 '-strict'],'Check prob-ignore labels respected').
7818 cli_testcase(2152, [b_test],[ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
7819 '../prob_examples/public_examples/B/PerformanceTests/Compression/TotFunSkeleton.mch',
7820 '-mc', 1000, '-expcterr', 'model_check_incomplete',
7821 '-p', 'COMPRESSION', 'full', '-memory', '-prob-profile', % TODO: check that we Stored 1 AVL sets
7822 '-strict'],'Exercise bit-vector compression').
7823 cli_testcase(2153, [b_test,json_trace_replay,records,operation_reuse], ['../prob_examples/public_examples/B/FeatureChecks/AssignToRecordField.mch',
7824 '-p', 'COMPRESSION', 'TRUE', '-p', 'OPERATION_REUSE', 'full',
7825 '-trace_replay', 'json', '../prob_examples/public_examples/B/FeatureChecks/AssignToRecordField.prob2trace'
7826 ], 'Check read information correctly identfied').
7827 cli_testcase(2154, [tickets,json_trace_replay], ['../prob_examples/public_examples/B/Tickets/PartitionPrettyPrintBug/ABZ16_m4.eventb',
7828 '-pp', '../prob_examples/public_examples/B/Tickets/PartitionPrettyPrintBug/ABZ16_m4_pp.mch',
7829 '-trace_replay', 'json', '../prob_examples/public_examples/B/Tickets/PartitionPrettyPrintBug/ABZ16_m4.prob2trace'
7830 ], 'Check partition pretty-printing properly parenthesised').
7831 cli_testcase(2155, [b_test,cruise,external,operation_reuse], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
7832 '../prob_examples/public_examples/B/Benchmarks/Cruise_finite1.mch', '-mc', '1400', '-bf',
7833 '-scope', 'PROB_STATISTICS("bf-level")<5',
7834 '-p', 'OPERATION_REUSE', 'TRUE', '-p', 'COMPRESSION', 'TRUE',
7835 '-cc', '833', '6578', % 456 are ignored
7836 '-strict', '-nodead', '-p', 'MAX_INITIALISATIONS', 5], 'Test SCOPE with breadth-first level predicate').
7837 cli_testcase(2156, [wd], ['../prob_examples/public_examples/B/Tickets/PartitionPrettyPrintBug/ABZ16_m4.eventb',
7838 '-evalu', ':prove not(x=STANDBY) => not(x=PREPARATION)',
7839 '-evalu', ':prove x=STANDBY => x=PREPARATION',
7840 '-evalt', ':prove x=TRUE => not(x=FALSE)',
7841 '-evalt', ':prove not(x=TRUE) => x=FALSE',
7842 '-evalt', ':prove x=STANDBY => not(x=PREPARATION)'
7843 ], 'Check simple equalities proven by wd prover').
7844 cli_testcase(2157, [infinite,external,choose], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
7845 '-evalt', 's={f|f = /*@symbolic*/ %x.(x : NATURAL | IF x = 1 THEN 1 ELSE x+1 END)} & res = CHOOSE(s)(2)',
7846 '-evalt', 'f = /*@symbolic*/ %x.(x : NATURAL | IF x = 1 THEN 1 ELSE x+1 END) & s = {f} & res = CHOOSE(s)(2)',
7847 '-evalt', 's={f|f = /*@symbolic*/ %x.(x : NATURAL | IF x = 1 THEN 1 ELSE x+1 END)} & res = MU(s)(2)',
7848 '-evalt', 'f = /*@symbolic*/ %x.(x : NATURAL | IF x = 1 THEN 1 ELSE x+1 END) & s = {f} & 3 = MU(s)(2)'
7849 % '-evalt', 'f = /*@symbolic*/ %x.(x : NATURAL | IF x = 1 THEN 1 ELSE x+1 END) & s = {f, {0|->0}}' % does not work
7850 ], 'Check singleton sets with infinite element are not expanded, and check MU/CHOOSE').
7851 cli_testcase(2158, [infinite,external,choose,recursion], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
7852 '-evalt', 'f = /*@symbolic*/ %x.(x : NATURAL | IF x = 0 THEN 0 ELSE 2+f(x-1) END) /*@desc recursive_let */ & f(20)=40',
7853 '-evalt', 'f = /*@symbolic*/ %x.(x >=0 | IF x = 0 THEN 1 ELSE 2+f(x-1) END) /*@desc letrec */ & f(20)=41',
7854 '-evalt', '{f|f = /*@symbolic*/ %x.(x : NATURAL | IF x = 0 THEN 0 ELSE 2+f(x-1) END) /*@desc recursive_let*/ } = s & rf = CHOOSE(s) & res = rf(10)',
7855 '-evalt', '{f|f = /*@symbolic*/ %x.(x : NATURAL | IF x = 0 THEN 0 ELSE 2+f(x-1) END) /*@desc recursive_let*/ } = s & rf = MU(s) & 20 = rf(10)',
7856 '-evalt', 'MU({f|f = /*@symbolic*/ %x.(x>=0 | IF x = 0 THEN 0 ELSE 2+f(x-1) END) /*@desc recursive_let*/ })(10) = 20',
7857 '-evalt', 'MU({f|f = /*@symbolic*/ %x.(x : NATURAL1 | IF x = 1 THEN 0 ELSE 1+f(x/2) END) /*@desc letrec */})(1024) = 10',
7858 '-evalt', 'card({f|f = /*@symbolic*/ %x.(x : NATURAL1 | IF x = 1 THEN 0 ELSE 1+f(x/2) END) /*@desc letrec */})=1'
7859 ], 'Check recursive_let pragma annotation').
7860 cli_testcase(2159, [infinite,external,choose], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
7861 '-evalt', 'ilog2 = /*@symbolic */ {x,r| x:NATURAL & 2**r<=x & 2**(r+1) > x} & res=ilog2(1024)',
7862 '-evalt', 'ilog2 = /*@symbolic */ {x,r| x:NATURAL & 2**r<=x & 2**(r+1) > x} & 10=ilog2(1024) & ilog2(1025)=10 & ilog2(2048)=11',
7863 '-evalt', 'ilog3 = /*@symbolic */ {x,r| x:NATURAL & 3**r<=x & 3**(r+1) > x} & 4=ilog3(81) & ilog3(1000)=6',
7864 '-evalt', '1**r = t & t:0..100'
7865 ], 'Check propagation of power_of / exponentiation').
7866 cli_testcase(2160, [external], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
7867 '../prob_examples/public_examples/B/FeatureChecks/NonDetDetection/NonDetSelect.mch',
7868 '-mc', 1000, '-noinv', '-noass', '-expecterr', 'goal_found'
7869 ], 'Check NON_DET_STATE external function and use of external functions in GOAL').
7870 cli_testcase(2161, [recursion,json_trace_replay,infinite], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
7871 '../prob_examples/public_examples/B/RecursiveFunctions/Factorial_NewSyntax.mch',
7872 '-trace_replay', json, '../prob_examples/public_examples/B/RecursiveFunctions/Factorial_NewSyntax.prob2trace',
7873 '-assertions'
7874 ], 'Check JSON trace replay works with recursive function').
7875 cli_testcase(2162, [cdclt], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
7876 '../prob_examples/public_examples/B/SmtSolverTests/ABZ16_m4/ABZ16_m4.eventb', '-init',
7877 '-p', 'TIME_OUT', '60000',
7878 '-evalf', ':cdclt-file ../prob_examples/public_examples/B/SmtSolverTests/ABZ16_m4/m4_monolithic_bmc_k_0.eval',
7879 '-evalf', ':cdclt-file ../prob_examples/public_examples/B/SmtSolverTests/ABZ16_m4/m4_monolithic_bmc_k_1.eval',
7880 '-evalf', ':cdclt-file ../prob_examples/public_examples/B/SmtSolverTests/ABZ16_m4/m4_monolithic_bmc_k_2.eval',
7881 '-evalf', ':cdclt-file ../prob_examples/public_examples/B/SmtSolverTests/ABZ16_m4/m4_monolithic_bmc_k_3.eval',
7882 '-evalf', ':cdclt-file ../prob_examples/public_examples/B/SmtSolverTests/ABZ16_m4/m4_monolithic_bmc_k_4.eval',
7883 '-evalf', ':cdclt-file ../prob_examples/public_examples/B/SmtSolverTests/ABZ16_m4/m4_monolithic_bmc_k_5.eval',
7884 '-evalf', ':cdclt-file ../prob_examples/public_examples/B/SmtSolverTests/ABZ16_m4/m4_monolithic_bmc_k_6.eval',
7885 '-evalf', ':cdclt-file ../prob_examples/public_examples/B/SmtSolverTests/ABZ16_m4/m4_monolithic_bmc_k_7.eval',
7886 '-evalf', ':cdclt-file ../prob_examples/public_examples/B/SmtSolverTests/ABZ16_m4/m4_monolithic_bmc_k_8.eval',
7887 '-evalf', ':cdclt-file ../prob_examples/public_examples/B/SmtSolverTests/ABZ16_m4/m4_monolithic_bmc_k_9.eval',
7888 '-evalf', ':cdclt-file ../prob_examples/public_examples/B/SmtSolverTests/ABZ16_m4/m4_monolithic_bmc_k_10.eval',
7889 '-evalf', ':cdclt-file ../prob_examples/public_examples/B/SmtSolverTests/ABZ16_m4/m4_monolithic_bmc_k_11.eval',
7890 '-evalf', ':cdclt-file ../prob_examples/public_examples/B/SmtSolverTests/ABZ16_m4/m4_monolithic_bmc_k_12.eval',
7891 '-evalf', ':cdclt-file ../prob_examples/public_examples/B/SmtSolverTests/ABZ16_m4/m4_monolithic_bmc_k_13.eval',
7892 '-evalf', ':cdclt-file ../prob_examples/public_examples/B/SmtSolverTests/ABZ16_m4/m4_monolithic_bmc_k_14.eval',
7893 '-evalf', ':cdclt-file ../prob_examples/public_examples/B/SmtSolverTests/ABZ16_m4/m4_monolithic_bmc_k_15.eval'
7894 ], 'Double check CDCL(T) solver for BMC constraints of ABZ16_m4'). % see test 2553 for Z3 checks
7895 cli_testcase(2163, [cdclt], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
7896 '../prob_examples/public_examples/B/SmtSolverTests/ABZ16_m6/ABZ16_m6.eventb', '-init',
7897 '-p', 'TIME_OUT', '60000',
7898 '-eval', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/ABZ16_m6/m6_monolithic_bmc_k_0.eval',
7899 '-eval', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/ABZ16_m6/m6_monolithic_bmc_k_1.eval',
7900 '-eval', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/ABZ16_m6/m6_monolithic_bmc_k_2.eval',
7901 '-eval', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/ABZ16_m6/m6_monolithic_bmc_k_3.eval',
7902 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/ABZ16_m6/m6_monolithic_bmc_k_0.eval',
7903 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/ABZ16_m6/m6_monolithic_bmc_k_1.eval',
7904 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/ABZ16_m6/m6_monolithic_bmc_k_2.eval',
7905 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/ABZ16_m6/m6_monolithic_bmc_k_3.eval'
7906 ], 'Double check CDCL(T) solver for BMC constraints of ABZ16_m6 containing unfixed deferred sets').
7907 cli_testcase(2164, [cdclt], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
7908 '../prob_examples/public_examples/B/SmtSolverTests/LandingGearSwitch/R5_Switch.eventb', '-init',
7909 '-p', 'TIME_OUT', '60000',
7910 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearSwitch/Ref5_Switch_monolithic_bmc_k_0.eval',
7911 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearSwitch/Ref5_Switch_monolithic_bmc_k_1.eval',
7912 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearSwitch/Ref5_Switch_monolithic_bmc_k_2.eval',
7913 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearSwitch/Ref5_Switch_monolithic_bmc_k_3.eval',
7914 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearSwitch/Ref5_Switch_monolithic_bmc_k_0.eval',
7915 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearSwitch/Ref5_Switch_monolithic_bmc_k_1.eval',
7916 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearSwitch/Ref5_Switch_monolithic_bmc_k_2.eval',
7917 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearSwitch/Ref5_Switch_monolithic_bmc_k_3.eval'
7918 %'-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearSwitch/Ref5_Switch_monolithic_bmc_k_4.eval' % needs more than 60 seconds
7919 ], 'Double check CDCL(T) solver for BMC constraints of Landing Gear R5 Switch').
7920 cli_testcase(2165, [cdclt], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'FALSE',
7921 '../prob_examples/public_examples/B/SmtSolverTests/LandingGearLights/R6_Lights.eventb', '-init',
7922 '-p', 'TIME_OUT', '60000',
7923 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearLights/Ref6_CockpitLights_monolithic_bmc_k_0.eval',
7924 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearLights/Ref6_CockpitLights_monolithic_bmc_k_1.eval',
7925 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearLights/Ref6_CockpitLights_monolithic_bmc_k_2.eval',
7926 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearLights/Ref6_CockpitLights_monolithic_bmc_k_3.eval',
7927 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearLights/Ref6_CockpitLights_monolithic_bmc_k_0.eval',
7928 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearLights/Ref6_CockpitLights_monolithic_bmc_k_1.eval',
7929 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearLights/Ref6_CockpitLights_monolithic_bmc_k_2.eval',
7930 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearLights/Ref6_CockpitLights_monolithic_bmc_k_3.eval'
7931 %'-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearLights/Ref6_CockpitLights_monolithic_bmc_k_4.eval', % needs more than 60 seconds
7932 %'-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearLights/Ref6_CockpitLights_monolithic_bmc_k_5.eval', %
7933 %'-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearLights/Ref6_CockpitLights_monolithic_bmc_k_6.eval' %
7934 ], 'Double check CDCL(T) solver for BMC constraints of Landing Gear R6 Lights').
7935 cli_testcase(2166, [cdclt], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'FALSE',
7936 '../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching.mch', '-init',
7937 '-p', 'TIME_OUT', '60000',
7938 '-evalt', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/core_bug.eval',
7939 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_0.eval',
7940 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_1.eval',
7941 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_2.eval',
7942 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_3.eval',
7943 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_4.eval',
7944 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_5.eval',
7945 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_6.eval',
7946 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_7.eval',
7947 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_8.eval',
7948 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_9.eval',
7949 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_10.eval',
7950 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_11.eval',
7951 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_12.eval',
7952 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_13.eval',
7953 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_14.eval',
7954 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_15.eval',
7955 % long runtime for the following tests
7956 %'-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_16.eval',
7957 %'-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_17.eval',
7958 %'-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_18.eval',
7959 %'-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_19.eval',
7960 %'-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_20.eval',
7961 %'-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_21.eval',
7962 %'-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_22.eval',
7963 %'-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_23.eval',
7964 %'-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_24.eval',
7965 %'-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_25.eval',
7966 % same constraints but not considering the current state
7967 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/core_bug.eval',
7968 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_0.eval',
7969 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_1.eval',
7970 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_2.eval',
7971 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_3.eval',
7972 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_4.eval',
7973 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_5.eval',
7974 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_6.eval',
7975 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_7.eval',
7976 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_8.eval',
7977 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_9.eval',
7978 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_10.eval',
7979 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_11.eval',
7980 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_12.eval',
7981 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_13.eval',
7982 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_14.eval',
7983 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_15.eval',
7984 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_16.eval',
7985 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_17.eval',
7986 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_18.eval',
7987 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_19.eval',
7988 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_20.eval',
7989 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_21.eval',
7990 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_22.eval',
7991 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_23.eval',
7992 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_24.eval',
7993 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_25.eval'
7994
7995 ], 'Double check CDCL(T) solver for BMC constraints of LargeBranching').
7996 cli_testcase(2167, [cdclt], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
7997 '../prob_examples/public_examples/B/SmtSolverTests/SimpleTwoPhase/SimpleTwoPhase.tla', '-init',
7998 '-p', 'TIME_OUT', '60000',
7999 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SimpleTwoPhase/SimpleTwoPhase_monolithic_bmc_k_0.eval',
8000 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SimpleTwoPhase/SimpleTwoPhase_monolithic_bmc_k_1.eval',
8001 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SimpleTwoPhase/SimpleTwoPhase_monolithic_bmc_k_2.eval',
8002 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SimpleTwoPhase/SimpleTwoPhase_monolithic_bmc_k_3.eval',
8003 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SimpleTwoPhase/SimpleTwoPhase_monolithic_bmc_k_4.eval',
8004 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SimpleTwoPhase/SimpleTwoPhase_monolithic_bmc_k_5.eval',
8005 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SimpleTwoPhase/SimpleTwoPhase_monolithic_bmc_k_6.eval',
8006 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SimpleTwoPhase/SimpleTwoPhase_monolithic_bmc_k_7.eval',
8007 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SimpleTwoPhase/SimpleTwoPhase_monolithic_bmc_k_8.eval',
8008 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SimpleTwoPhase/SimpleTwoPhase_monolithic_bmc_k_9.eval',
8009 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SimpleTwoPhase/SimpleTwoPhase_monolithic_bmc_k_10.eval',
8010 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SimpleTwoPhase/SimpleTwoPhase_monolithic_bmc_k_11.eval',
8011 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SimpleTwoPhase/SimpleTwoPhase_monolithic_bmc_k_12.eval',
8012 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SimpleTwoPhase/SimpleTwoPhase_monolithic_bmc_k_13.eval',
8013 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SimpleTwoPhase/SimpleTwoPhase_monolithic_bmc_k_14.eval',
8014 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SimpleTwoPhase/SimpleTwoPhase_monolithic_bmc_k_15.eval',
8015 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SimpleTwoPhase/SimpleTwoPhase_monolithic_bmc_k_16.eval',
8016 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SimpleTwoPhase/SimpleTwoPhase_monolithic_bmc_k_17.eval',
8017 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SimpleTwoPhase/SimpleTwoPhase_monolithic_bmc_k_18.eval',
8018 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SimpleTwoPhase/SimpleTwoPhase_monolithic_bmc_k_19.eval',
8019 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SimpleTwoPhase/SimpleTwoPhase_monolithic_bmc_k_20.eval',
8020 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SimpleTwoPhase/SimpleTwoPhase_monolithic_bmc_k_21.eval',
8021 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SimpleTwoPhase/SimpleTwoPhase_monolithic_bmc_k_22.eval',
8022 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SimpleTwoPhase/SimpleTwoPhase_monolithic_bmc_k_23.eval',
8023 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SimpleTwoPhase/SimpleTwoPhase_monolithic_bmc_k_24.eval',
8024 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SimpleTwoPhase/SimpleTwoPhase_monolithic_bmc_k_25.eval',
8025 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SimpleTwoPhase/SimpleTwoPhase_monolithic_bmc_k_0.eval',
8026 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SimpleTwoPhase/SimpleTwoPhase_monolithic_bmc_k_1.eval',
8027 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SimpleTwoPhase/SimpleTwoPhase_monolithic_bmc_k_2.eval',
8028 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SimpleTwoPhase/SimpleTwoPhase_monolithic_bmc_k_3.eval',
8029 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SimpleTwoPhase/SimpleTwoPhase_monolithic_bmc_k_4.eval',
8030 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SimpleTwoPhase/SimpleTwoPhase_monolithic_bmc_k_5.eval',
8031 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SimpleTwoPhase/SimpleTwoPhase_monolithic_bmc_k_6.eval',
8032 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SimpleTwoPhase/SimpleTwoPhase_monolithic_bmc_k_7.eval',
8033 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SimpleTwoPhase/SimpleTwoPhase_monolithic_bmc_k_8.eval',
8034 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SimpleTwoPhase/SimpleTwoPhase_monolithic_bmc_k_9.eval',
8035 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SimpleTwoPhase/SimpleTwoPhase_monolithic_bmc_k_10.eval',
8036 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SimpleTwoPhase/SimpleTwoPhase_monolithic_bmc_k_11.eval',
8037 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SimpleTwoPhase/SimpleTwoPhase_monolithic_bmc_k_12.eval',
8038 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SimpleTwoPhase/SimpleTwoPhase_monolithic_bmc_k_13.eval',
8039 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SimpleTwoPhase/SimpleTwoPhase_monolithic_bmc_k_14.eval',
8040 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SimpleTwoPhase/SimpleTwoPhase_monolithic_bmc_k_15.eval',
8041 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SimpleTwoPhase/SimpleTwoPhase_monolithic_bmc_k_16.eval',
8042 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SimpleTwoPhase/SimpleTwoPhase_monolithic_bmc_k_17.eval',
8043 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SimpleTwoPhase/SimpleTwoPhase_monolithic_bmc_k_18.eval',
8044 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SimpleTwoPhase/SimpleTwoPhase_monolithic_bmc_k_19.eval',
8045 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SimpleTwoPhase/SimpleTwoPhase_monolithic_bmc_k_20.eval',
8046 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SimpleTwoPhase/SimpleTwoPhase_monolithic_bmc_k_21.eval',
8047 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SimpleTwoPhase/SimpleTwoPhase_monolithic_bmc_k_22.eval',
8048 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SimpleTwoPhase/SimpleTwoPhase_monolithic_bmc_k_23.eval',
8049 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SimpleTwoPhase/SimpleTwoPhase_monolithic_bmc_k_24.eval',
8050 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SimpleTwoPhase/SimpleTwoPhase_monolithic_bmc_k_25.eval'
8051
8052 ], 'Double check CDCL(T) solver for BMC constraints of SimpleTwoPhase').
8053 cli_testcase(2168, [cdclt], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
8054 '../prob_examples/public_examples/B/SmtSolverTests/SearchEvents/SearchEvents.mch', '-init',
8055 '-p', 'TIME_OUT', '60000',
8056 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SearchEvents/SearchEvents_monolithic_bmc_k_0.eval',
8057 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SearchEvents/SearchEvents_monolithic_bmc_k_1.eval',
8058 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SearchEvents/SearchEvents_monolithic_bmc_k_0.eval'
8059 %'-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SearchEvents/SearchEvents_monolithic_bmc_k_1.eval' % sometimes exceeds the time limit on the Mac runner
8060 ], 'Double check CDCL(T) solver for BMC constraints of SearchEvents').
8061 cli_testcase(2169, [eventb_test,json_trace_replay,operation_reuse], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
8062 '../prob_examples/public_examples/EventBPrologPackages/Abrial_Teaching/ch2_car/m3_mch.eventb',
8063 '-p', 'OPERATION_REUSE', 'TRUE', '-p', 'COMPRESSION', 'TRUE', '-mc', 500,
8064 '-property', 'd=3', '-cc', 239, 505,
8065 '-trace_replay', 'json',
8066 '../prob_examples/public_examples/EventBPrologPackages/Abrial_Teaching/ch2_car/m3_mch.prob2trace',
8067 '-read_write_matrix_csv', '../prob_examples/public_examples/EventBPrologPackages/Abrial_Teaching/ch2_car/m3_rw_matrix.csv'
8068 ], 'Check variant variables lead to no problem').
8069 cli_testcase(2170, [b_test,recursion,external,quantified,sequences,union,json_trace_replay,infinite], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
8070 '../prob_examples/public_examples/B/Compilers/NFA.mch',
8071 '-trace_replay', 'json','../prob_examples/public_examples/B/Compilers/NFA.prob2trace'], 'Test trace replay with recursive symbolic functions.').
8072 cli_testcase(2171, [infinite], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
8073 '-evalt', '%n.(n:NATURAL|%x.(x:NATURAL|2*x+n)) = f & f = %n.(n:NATURAL|%y.(y:NATURAL|2*y+n))'
8074 ], 'Test comparison of symbolic functions / sets with alpha-conversion').
8075 cli_testcase(2172, [cbc], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
8076 '../prob_examples/public_examples/B/SmtSolverTests/SearchEvents/SearchEvents.mch', '-init',
8077 '-p', 'TIME_OUT', '30000',
8078 '-evalf', ':prob-file ../prob_examples/public_examples/B/SmtSolverTests/SearchEvents/SearchEvents_monolithic_bmc_k_0.eval',
8079 '-evalt', ':prob-file ../prob_examples/public_examples/B/SmtSolverTests/SearchEvents/SearchEvents_monolithic_bmc_k_1.eval',
8080 '-evalf', ':prob-file ../prob_examples/public_examples/B/SmtSolverTests/SearchEvents/SearchEvents_monolithic_bmc_k_2.eval'
8081 % SearchEvents_monolithic_bmc_k_3.eval too slow
8082 ], 'Adapted version of test 2168 for prob').
8083 cli_testcase(2173, [cdclt], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
8084 '-p', 'TIME_OUT', '60000',
8085 '-evalt', ':cdclt-double-check #file ../prob_examples/public_examples/Eval/SAT_uf20-02.eval',
8086 '-evalt', ':cdclt-double-check #file ../prob_examples/public_examples/Eval/SAT_uf20-02_pred.eval',
8087 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/Eval/SAT_uf20-02_unsat.eval'
8088 ], 'Double check CDCL(T) solver for SAT constraints').
8089 cli_testcase(2174, [smt_solver_integration], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'FALSE',
8090 '../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching.mch',
8091 '-p', 'TIME_OUT', '3000', '-init',
8092
8093 '-evalf', ':prob-file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_0.eval',
8094 '-evalt', ':prob-file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_1.eval',
8095 '-evalt', ':prob-file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_2.eval',
8096 '-evalt', ':prob-file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_3.eval',
8097
8098 '-evalf', ':z3-free-file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_0.eval',
8099 '-evalt', ':z3-free-file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_1.eval',
8100 '-evalt', ':z3-free-file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_2.eval',
8101 '-evalt', ':z3-free-file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_3.eval'
8102 ], 'Variation of test 2166 with z3 and prob; testing new :z3-free command').
8103 cli_testcase(2175, [smt_solver_integration], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'FALSE',
8104 '-p', 'TIME_OUT', '3000',
8105 '-evalt', ':z3-double-check l = {1,2,4} & !x.(x:l => y /= x) & (#z.(z:l & y=z+z) <=> b=TRUE)',
8106 '-evalt', ':z3-double-check x : POW({1,2,y}) & z:x & z>2', % check precomputation does not fail
8107 '-evalt', ':z3-double-check !(x,y).(x|->y:[1,2,3] => v /= x)',
8108 '-evalt', ':z3-cns DOM = 1..3 & Board : POW(DOM * DOM * DOM)', % check POW elimination
8109 '-evalt', ':z3-cns Board : POW(DOM * DOM * DOM) & DOM <: INTEGER',
8110 %'-evalt', ':z3-axm Board : POW(DOM * DOM * DOM) & DOM <: INTEGER', % unknown since Z3 4.12.2
8111 '-evalt', ':z3-cns mxint = 500 & goal : -mxint ..mxint', % is now more performant
8112 '-evalt', ':z3-double-check not(A\\/B=BOOL & A/\\B={}) & A={TRUE} & A \\/ B = BOOL', % check negated partition
8113 %'-evalt', ':z3-double-check ((x:FIN(x) or x<:NATURAL1) => B=TRUE) & (x=1..10 or x = NATURAL) & B=TRUE', % TODO: mk_value fails
8114 '-evalt', ':z3-file ../prob_examples/public_examples/Eval/argumentation_theory.eval'
8115 ], 'Check quantifier expansion for z3').
8116 cli_testcase(2176, [cdclt], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
8117 '-p', 'TIME_OUT', '60000',
8118 '-evalf', ':cdclt-double-check ii=1 & aa:1..3 --> BOOL & !ii.(ii:2..3 => aa(ii)/=aa(ii-1)) & ran(aa)={FALSE}',
8119 '-evalf', ':cdclt-double-check ii=1 & aa:1..3 --> BOOL & !ii.(ii:2..3 => aa(ii)/=aa(ii-1)) & ran(aa)={FALSE}',
8120 '-evalf', ':cdclt-double-check ii=1 & aa:1..3 --> BOOL & {ii|aa(ii)=TRUE} = dom(aa) & FALSE:ran(aa)',
8121 '-evalt', ':cdclt-double-check ii=1 & aa:1..3 --> BOOL & SIGMA(ii).(ii|->TRUE:aa|ii) = 6',
8122 '-evalf', ':cdclt-double-check ii=1 & aa:1..3 --> BOOL & SIGMA(ii).(ii|->TRUE:aa|ii) = 6 & FALSE:ran(aa)',
8123 '-evalt', ':cdclt-double-check ii=1 & aa:1..3 --> BOOL & PI(ii).(ii|->TRUE:aa|ii+1) = 24',
8124 '-evalf', ':cdclt-double-check ii=1 & aa:1..3 --> BOOL & PI(ii).(ii|->TRUE:aa|ii+1) = 24 & FALSE:ran(aa)',
8125 '-evalt', ':cdclt-double-check ii=1 & aa:1..3 --> BOOL & UNION(ii).(ii|->TRUE:aa |{ii}) = 1..3',
8126 '-evalf', ':cdclt-double-check ii=1 & aa:1..3 --> BOOL & UNION(ii).(ii|->TRUE:aa |{ii}) = 1..3 & FALSE:ran(aa)',
8127 '-evalt', ':cdclt-double-check ii=1 & aa:1..3 --> BOOL & INTER(ii).(ii|->TRUE:aa or ii=0|ii..(ii+1)) = 0..1',
8128 '-evalf', ':cdclt-double-check ii=1 & aa:1..3 --> BOOL & INTER(ii).(ii|->TRUE:aa or ii=0|ii..(ii+1)) = 0..1 & TRUE:ran(aa)',
8129 '-evalt', ':cdclt-double-check ii=1 & aa:1..3 --> BOOL & LET ii BE ii=3 IN aa(ii)=TRUE & x=1..ii END & a(ii)=FALSE'
8130 ], 'Check quantifier scoping for cdclt'). % see test 2557 for Z3 counterparts
8131 cli_testcase(2177, [cdclt], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
8132 '../prob_examples/public_examples/B/SmtSolverTests/SearchEvents/SearchEvents.mch', '-init',
8133 '-p', 'TIME_OUT', '60000',
8134 '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'false',
8135 '-p', 'cdclt_perform_static_analysis', 'true',
8136 '-evalt', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SearchEvents/min_example_wd_problem.eval',
8137 '-evalt', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SearchEvents/min_example_wd_problem2.eval',
8138 '-evalt', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SearchEvents/SearchEvents_monolithic_bmc_k_3_core_v2.eval',
8139 '-evalt', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SearchEvents/SearchEvents_monolithic_bmc_k_3_core_v2_static_analysis_bug.eval',
8140 '-evalt', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SearchEvents/SearchEvents_monolithic_bmc_k_3_core_v2_static_analysis_bug2.eval',
8141 '-evalt', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SearchEvents/SearchEvents_monolithic_bmc_k_3_core_v2_static_analysis_bug3.eval',
8142 '-evalt', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SearchEvents/SearchEvents_monolithic_bmc_k_3_core_v3_wd.eval',
8143 '-evalt', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SearchEvents/SearchEvents_monolithic_bmc_k_3_core_v3_wd2.eval',
8144 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SearchEvents/SearchEvents_monolithic_bmc_k_3_core_v3_wd_contradiction.eval',
8145 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SearchEvents/min_example_wd_problem.eval',
8146 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SearchEvents/min_example_wd_problem2.eval',
8147 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SearchEvents/SearchEvents_monolithic_bmc_k_3_core_v2.eval',
8148 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SearchEvents/SearchEvents_monolithic_bmc_k_3_core_v2_static_analysis_bug.eval',
8149 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SearchEvents/SearchEvents_monolithic_bmc_k_3_core_v2_static_analysis_bug2.eval',
8150 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SearchEvents/SearchEvents_monolithic_bmc_k_3_core_v2_static_analysis_bug3.eval',
8151 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SearchEvents/SearchEvents_monolithic_bmc_k_3_core_v3_wd.eval',
8152 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SearchEvents/SearchEvents_monolithic_bmc_k_3_core_v3_wd2.eval',
8153 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SearchEvents/SearchEvents_monolithic_bmc_k_3_core_v3_wd_contradiction.eval'
8154 ], 'Test well-definedness issue for CDCL(T) solver to not report unsatisfiability for satisfiable formulas: SearchEvents').
8155 cli_testcase(2178, [cdclt], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
8156 '../prob_examples/public_examples/B/SmtSolverTests/LandingGearLights/R6_Lights.eventb', '-init',
8157 '-p', 'TIME_OUT', '60000',
8158 '-p', 'cdclt_perform_static_analysis', 'true',
8159 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearLights/Ref6_CockpitLights_monolithic_bmc_k_1_core.eval',
8160 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearLights/Ref6_CockpitLights_monolithic_bmc_k_1_core.eval',
8161 '-evalt', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearLights/Ref6_CockpitLights_monolithic_bmc_k_6_wd.eval',
8162 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearLights/Ref6_CockpitLights_monolithic_bmc_k_6_wd.eval',
8163 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearLights/Ref6_CockpitLights_monolithic_bmc_k_6_wd2.eval',
8164 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearLights/Ref6_CockpitLights_monolithic_bmc_k_6_wd2.eval',
8165 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearLights/Ref6_CockpitLights_monolithic_bmc_k_6_wd3.eval',
8166 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearLights/Ref6_CockpitLights_monolithic_bmc_k_6_wd3.eval',
8167 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearLights/Ref6_CockpitLights_monolithic_bmc_k_6_wd_contradiction.eval',
8168 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearLights/Ref6_CockpitLights_monolithic_bmc_k_6_wd_contradiction.eval'
8169 ], 'Test well-definedness issue for CDCL(T) solver to not report unsatisfiability for satisfiable formulas: LandingGearLights').
8170 cli_testcase(2179, [cdclt], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
8171 '../prob_examples/public_examples/B/SmtSolverTests/SearchEvents/SearchEvents.mch', '-init',
8172 '-p', 'TIME_OUT', '60000',
8173 '-p', 'cdclt_perform_static_analysis', 'false',
8174 '-p', 'cdclt_perform_symmetry_breaking', 'true',
8175 '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'false',
8176 '-evalt', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SearchEvents/min_example_wd_problem.eval',
8177 '-evalt', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SearchEvents/min_example_wd_problem2.eval',
8178 '-evalt', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SearchEvents/SearchEvents_monolithic_bmc_k_3_core_v2.eval',
8179 '-evalt', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SearchEvents/SearchEvents_monolithic_bmc_k_3_core_v2_static_analysis_bug.eval',
8180 '-evalt', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SearchEvents/SearchEvents_monolithic_bmc_k_3_core_v2_static_analysis_bug2.eval',
8181 '-evalt', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SearchEvents/SearchEvents_monolithic_bmc_k_3_core_v2_static_analysis_bug3.eval',
8182 '-evalt', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SearchEvents/SearchEvents_monolithic_bmc_k_3_core_v3_wd.eval',
8183 '-evalt', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SearchEvents/SearchEvents_monolithic_bmc_k_3_core_v3_wd2.eval',
8184 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SearchEvents/SearchEvents_monolithic_bmc_k_3_core_v3_wd_contradiction.eval',
8185 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SearchEvents/min_example_wd_problem.eval',
8186 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SearchEvents/min_example_wd_problem2.eval',
8187 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SearchEvents/SearchEvents_monolithic_bmc_k_3_core_v2.eval',
8188 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SearchEvents/SearchEvents_monolithic_bmc_k_3_core_v2_static_analysis_bug.eval',
8189 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SearchEvents/SearchEvents_monolithic_bmc_k_3_core_v2_static_analysis_bug2.eval',
8190 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SearchEvents/SearchEvents_monolithic_bmc_k_3_core_v2_static_analysis_bug3.eval',
8191 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SearchEvents/SearchEvents_monolithic_bmc_k_3_core_v3_wd.eval',
8192 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SearchEvents/SearchEvents_monolithic_bmc_k_3_core_v3_wd2.eval',
8193 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SearchEvents/SearchEvents_monolithic_bmc_k_3_core_v3_wd_contradiction.eval'
8194 ], 'Test well-definedness issue for CDCL(T) solver to not report unsatisfiability for satisfiable formulas without static analysis: SearchEvents').
8195 cli_testcase(2180, [cdclt], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
8196 '../prob_examples/public_examples/B/SmtSolverTests/LandingGearLights/R6_Lights.eventb', '-init',
8197 '-p', 'cdclt_perform_static_analysis', 'false',
8198 '-p', 'TIME_OUT', '60000',
8199 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearLights/Ref6_CockpitLights_monolithic_bmc_k_1_core.eval',
8200 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearLights/Ref6_CockpitLights_monolithic_bmc_k_1_core.eval',
8201 '-evalt', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearLights/Ref6_CockpitLights_monolithic_bmc_k_6_wd.eval',
8202 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearLights/Ref6_CockpitLights_monolithic_bmc_k_6_wd.eval',
8203 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearLights/Ref6_CockpitLights_monolithic_bmc_k_6_wd2.eval',
8204 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearLights/Ref6_CockpitLights_monolithic_bmc_k_6_wd2.eval',
8205 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearLights/Ref6_CockpitLights_monolithic_bmc_k_6_wd3.eval',
8206 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearLights/Ref6_CockpitLights_monolithic_bmc_k_6_wd3.eval',
8207 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearLights/Ref6_CockpitLights_monolithic_bmc_k_6_wd_contradiction.eval',
8208 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearLights/Ref6_CockpitLights_monolithic_bmc_k_6_wd_contradiction.eval'
8209 ], 'Test well-definedness issue for CDCL(T) solver to not report unsatisfiability for satisfiable formulas without static analysis: LandingGearLights').
8210 cli_testcase(2181, [b_test], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
8211 '-evalt', '#file .(file:1..2)',
8212 '-evalt', '#file . (file:1..2)'], 'Check #file can be used for existential quantifier').
8213 cli_testcase(2182, [b_test,external,hash], ['stdlib/AssertionsForLibraryHash.mch', '-assertions', '-strict'], 'Assertions for LibraryHash').
8214 cli_testcase(2183, [b_test,forall], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
8215 '-evalf', '!(x,y).(x|->y : { (y,x),(1,2)} => x<y)',
8216 '-evalf', '!(x,y).(x|->y : { (y,x),(1,2)} => x>y)',
8217 '-evalf', '!(x,y).(x>0 & x|->y : { (y,10/x),(1,2)} => y/=2)',
8218 '-evalt', '!(x,y).(x|->y : { (y,x),(1,2)} & x>0 & y>0 => x+y>0)'
8219 ], 'Test forall with sets reusing parameters').
8220 cli_testcase(2184, [cbc,forall], ['../prob_examples/public_examples/B/PerformanceTests/ForAll/QueensWithEvents_ForallTest1.mch',
8221 '-p', 'TIME_OUT', 18000, % increase time-out because now time-out applies to all solutions of an event
8222 '-mc', 60, '-cc', 43, 82, '-strict'], 'Check forall instead of perm in N-Queens').
8223 cli_testcase(2185, [cbc,forall], ['../prob_examples/public_examples/B/PerformanceTests/ForAll/QueensWithEvents_ForallTest2.mch',
8224 '-p', 'TIME_OUT', 4500, % increase time-out for macOS runner because now time-out applies to all solutions of an event
8225 '-mc', 60, '-cc', 7, 10, '-strict'], 'Check forall instead of perm in N-Queens').
8226 cli_testcase(2186, [cbc,forall], ['../prob_examples/public_examples/B/PerformanceTests/ForAll/QueensWithEvents_ForallTest3.mch',
8227 '-p', 'TIME_OUT', 5200, % increase time-out for swipl runner because now time-out applies to all solutions of an event
8228 '-mc', 60, '-cc', 7, 10, '-strict'], 'Check forall instead of perm in N-Queens').
8229 cli_testcase(2187, [cbc,forall], ['../prob_examples/public_examples/B/PerformanceTests/ForAll/QueensWithEvents_ForallTest2b.mch',
8230 '-p', 'TIME_OUT', 5200, % increase time-out because the time-out applies to all solutions of an event
8231 '-mc', 60, '-cc', 7, 10, '-strict'], 'Check forall instead of perm in N-Queens').
8232 cli_testcase(2188, [b_test,forall], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
8233 '-evalt', 'a:1..n --> BOOL & !i.(i|->TRUE:a => i mod 2=0) & n=40 & !i.(i|->FALSE:a => i mod 2=1)',
8234 '-evalf', 'a:1..n --> BOOL & n=200 & !i.(i|->FALSE:a => i mod 2=1) & a(n)=FALSE',
8235 '-evalf', 'a:1..n --> BOOL & n=200 & !i.(i|->FALSE:a => i mod 2=1) & a(2)=FALSE'
8236 ], 'Test forall for set membership with a pattern is not delaying').
8237 cli_testcase(2189, [cbc,card,forall], ['../prob_examples/public_examples/B/Puzzles/Queens/NBishopsSets_v2.mch',
8238 '-p', 'TIME_OUT', 5000, % set it higher for Windows bot
8239 '-init'], 'See that ProB can solve this puzzle; variation of test 1631').
8240 cli_testcase(2190, [cbc_refinement,refinement], [
8241 '../prob_examples/public_examples/CSP/simple/RefinementChecks.csp',
8242 '--MAIN', 'A', '-mc', '100',
8243 '-save', '../prob_examples/public_examples/CSP/simple/RefinementChecks_A_spec.P'
8244 ], 'Save CSP state space for later refinement check').
8245 cli_testcase(2191, [cbc_refinement,refinement], [
8246 '../prob_examples/public_examples/CSP/simple/RefinementChecks.csp',
8247 '--MAIN', 'C',
8248 '-refchk', '../prob_examples/public_examples/CSP/simple/RefinementChecks_A_spec_saved.P'
8249 ], 'CSP refinement check against saved state space').
8250 cli_testcase(2192, [cbc_refinement,refinement], [
8251 '../prob_examples/public_examples/CSP/simple/RefinementChecks.csp',
8252 '--MAIN', 'D',
8253 '-refchk', '../prob_examples/public_examples/CSP/simple/RefinementChecks_A_spec_saved.P'
8254 ], 'CSP refinement check against saved state space').
8255 cli_testcase(2193, [cbc_refinement,refinement], [
8256 '../prob_examples/public_examples/CSP/simple/RefinementChecks.csp',
8257 '--MAIN', 'E',
8258 '-refchk', '../prob_examples/public_examples/CSP/simple/RefinementChecks_A_spec_saved.P'
8259 ], 'CSP refinement check against saved state space').
8260 cli_testcase(2194,[private_source_not_available],[
8261 '../private_examples/Thales/Hansen_FMTools_Issue2/WD_Issue.prob',
8262 '-df', '-mc', 200, '-expcterr', goal_found,
8263 '-p', 'TRY_FIND_ABORT', 'FALSE'], 'Ensure no wd error found').
8264 cli_testcase(2195, [tickets, union], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
8265 '-evalt', '%i.(i:dom(g)|UNION(x,y).(x=g(i) & x:dom(f) & y = f(x) & y /= {} |y))=res & f = {2|->{22}} & g=[1,2]',
8266 '-evalt', '%i.(i:dom(g)|UNION(x,y).(x=g(i) & x:dom(f) & y = f(x) & y /= {} |y))=res & f = {2|->{22}} & g=[1,2] & res = {(1|->{}),(2|->{22})}',
8267 '-p', 'TRY_FIND_ABORT', 'TRUE'], 'Ensure no wd error found due to quant_union_inter_let/find_one_point rules bug').
8268 cli_testcase(2196, [error_checks], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
8269 '-eval', 'x = {(1|->2)|->3, 44|->(55|->66)}',
8270 '-expcterr', 'type_expression_error'],
8271 'Ensure type error caught').
8272 cli_testcase(2197, [kodkod], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE', '-p', 'KODKOD_RAISE_WARNINGS', 'TRUE',
8273 '-evalf', ':kodkod-double-check mx=10 & x: (0-mx)..mx & y:(0-1)..mx & z:(0-1)..mx & not((x=y or x=z) => (y=x or z=x)) & ((x=y <=> x=z) => (y=z or x/=y))',
8274 '-evalt', ':kodkod-double-check mx=10 & x: (0-mx)..mx & y:(0-1)..mx & z:(0-1)..mx & ((x=y or x=z) => (y=x or z=x)) & ((x=y <=> x=z) => (y=z or x/=y))',
8275 '-evalt', ':kodkod-double-check card({x,y,z,mx| mx=3 & x: (0-mx)..mx & y:(0-1)..mx & z:(0-1)..mx & ((x=y or x=z) => (y=x or z=x)) & ((x=y <=> x=z) => (y=z or x/=y))})=175',
8276 '-evalt', ':kodkod-double-check ({x,y,z,mx| mx=10 & x: (0-mx)..mx & y:(0-1)..mx & z:(0-1)..mx & not((x=y or x=z) => (y=x or z=x)) & ((x=y <=> x=z) => (y=z or x/=y))})={}',
8277 '-evalt', ':kodkod-double-check card({x,y,z,mx| mx=3 & x: (0-mx)..mx & y:(0-1)..mx & z:(0-1)..mx & ((x:{y,z}) => (x:{z,y})) & ((x=y <=> x=z) => (y=z or x/=y))})=175',
8278 '-evalt', ':kodkod-double-check ({x,y,z,mx| mx=10 & x: (0-mx)..mx & y:(0-1)..mx & z:(0-1)..mx & not((x:{y,z}) => (x:{z,y})) & ((x=y <=> x=z) => (y=z or x/=y))})={}',
8279 '-evalt', 'card({x,y,z,mx| mx=3 & x: (0-mx)..mx & y:(0-1)..mx & z:(0-1)..mx & (((x:{y,y}) => (x:{z,z})) & ((x=y <=> x=z) => (y=z or x/=y)))})=155'
8280 ], 'Ensure issue in kodkod integer cast typing solved').
8281 cli_testcase(2198, [b_test], ['../prob_examples/public_examples/B/Implementations/Values/DefSetsPartiallyEnum.mch',
8282 '../prob_examples/public_examples/B/Implementations/Values/DefSetsPartiallyEnumImp.imp',
8283 '../prob_examples/public_examples/B/Implementations/Values/DefSetsPartiallyEnum_v2.mch',
8284 '../prob_examples/public_examples/B/Implementations/Values/ArrayValuationAImp.imp',
8285 '../prob_examples/public_examples/B/Implementations/Values/EnumSetImp.imp',
8286 '-t', '-assertions', '-mc', 10, '-nodead'
8287 ], 'test VALUES clause can access constants in abstraction and check partial enumerated sets detection').
8288 cli_testcase(2199, [smt], ['../prob_examples/public_examples/SMT/SendMoreMoney.smt2',
8289 '../prob_examples/public_examples/SMT/KnightsKnaves.smt2'
8290 ], 'test Send More Money in SMTLib format').
8291 cli_testcase(2200, [ltl], ['../prob_examples/public_examples/B/LTL/Tests/UnchangedOperator.mch',
8292 '../prob_examples/public_examples/B/LTL/Tests/UnchangedOperator2.mch',
8293 '-ltlassertions',
8294 '-p', 'LTL_SAFETY_MODEL_CHECK', 'TRUE'
8295 ], 'test new LTL operators unchanged, changed, increasing, decreasing, BA').
8296 cli_testcase(2201, [ltl], ['../prob_examples/public_examples/B/LTL/Tests/UnchangedOperator.mch',
8297 '../prob_examples/public_examples/B/LTL/Tests/UnchangedOperator2.mch',
8298 '-ltlassertions',
8299 '-p', 'LTL_SAFETY_MODEL_CHECK', 'FALSE'
8300 ], 'test 2001 without LTL safety mc').
8301 cli_testcase(2202, [tickets], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
8302 '-evalf', 'ff:1..1<->BOOL & not (ff : setX --> setY <=> (ff: setX +-> setY & dom(ff) = setX))',
8303 '-evalf', 'ff:1..3<->BOOL & gg:1..2<->BOOL & not (ff : setX --> setY <=> (ff: setX +-> setY & dom(ff) = setX))',
8304 % these below were already false before fixing the ticket; they just test other similar dangerous calls:
8305 '-evalf', 'ff:1..2<->BOOL & setX <: 1..3 & not (ff : setX --> setY <=> (ff: setX +-> setY & SIGMA(y).(y:dom(ff)|y)= SIGMA(y).(y:setX|y)))',
8306 '-evalf', 'SIGMA(y).(y:S|y) = 2 & S<:0..1',
8307 '-evalf', 'SIGMA(y).(y:S|y) = 2 & S<:0..1 & S={s1,s2}',
8308 '-evalt', 'SIGMA(y).(y:S|y) = 1 & S<:0..1 & S={s1,s2}',
8309 '-evalf', 'SIGMA(y).(y:S|y) = 4 & (S<:1..2 <=> f:1..2 --> BOOL) & f:1..2 +->BOOL & card(f)=2'
8310 ], 'check that subset-reification issue generating lists with duplicates is solved on SWI').
8311 cli_testcase(2203, [tickets,union], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
8312 '-evalt', 'UNION(x,y).(x:INTEGER & y=x+1|{x|->y}) = f & f(2)=3',
8313 '-evalt', 'UNION(a,b).(a:1..2 & b:BOOL|{b|->a}) = UNION(b,a).(a:1..2 & b:BOOL|{b|->a})',
8314 '-evalt', 'UNION(a,b).(a:1..2 & b:BOOL|{b|->a}) = UNION(b,a,c).(a:1..2 & b:BOOL & c=a+1|{b|->a})',
8315 '-evalt', 'UNION(a,b,c).(a:BOOL & b:1..6 & c:10..20 & b+b=c|{b|->a}) = {(5|->FALSE),(5|->TRUE),(6|->FALSE),(6|->TRUE)}'
8316 ,
8317 '-evalt', 'UNION(c,b,a).(a:BOOL & b:1..6 & c:10..20 & b+b=c|{b|->a}) = {(5|->FALSE),(5|->TRUE),(6|->FALSE),(6|->TRUE)}',
8318 '-evalt', 'UNION(c,a,b).(a:BOOL & b:1..6 & c:10..20 & b+b=c|{b|->a}) = {(5|->FALSE),(5|->TRUE),(6|->FALSE),(6|->TRUE)}'
8319 ], 'check UNION into comprehension set translation').
8320 cli_testcase(2204,[wd,wd_prover],[
8321 '-evalt', ':prove (x>1 & x<20) => not(x mod 20 = 0)',
8322 '-evalt', ':prove (x>=1 & x<20) => not(x mod 20 = 0)',
8323 '-evalt', ':prove (x>1 & x<y) => not(x mod y = 0)',
8324 '-evalt', ':prove (x>=1 & x<20) => (x mod 20) >= 1',
8325 '-evalu', ':prove (x>1 & x<=20) => not(x mod 20 = 0)',
8326 '-evalu', ':prove (x>=1 & x<=20) => (x mod 20) >= 1',
8327 '-evalu', ':prove x>1 => not(x mod 20 = 0)',
8328 '-evalu', ':prove not(x mod 2 = 0) or not(x > 1)',
8329
8330
8331 '-evalt', ':prove x mod 2 /= 2',
8332 '-evalt', ':prove x mod 2 : 0..1',
8333 '-evalt', ':prove x mod 2 < 2',
8334 '-evalt', ':prove 2 mod x <= 2',
8335 '-evalt', ':prove x mod 2 : NATURAL',
8336 '-evalt', ':prove x mod 2 : {0,1}',
8337 '-evalt', ':prove x mod 2 : {0,1,3}',
8338 '-evalt', ':prove x:0..3 => x mod 4 : {0,1,2,3}',
8339 '-evalt', ':prove x:0..3 => x mod 4 : {0,1,2,3,5}',
8340 '-evalt', ':prove x:0..3 => x mod 6 : {0,1,2,3,4}',
8341 '-evalt', ':prove x:0..3 => x mod 5 : {0,1,2,3,5}',
8342 '-evalt', ':prove x:{1,2,3,4,5} => x mod 10 : {0,1,2,3,4,5,9}',
8343 '-evalt', ':prove x:{1,3,5} => x mod 10 : {0,1,2,3,4,5,9}',
8344 '-evalu', ':prove x mod 2 /= 1',
8345 '-evalu', ':prove x mod 2 /= 0',
8346 '-evalu', ':prove 2 mod x <= 1',
8347 '-evalu', ':prove 2 mod x > 0',
8348 '-evalu', ':prove x mod 2 : NATURAL1',
8349 '-evalu', ':prove x:0..3 => x mod 5 : {0,1,3,5}',
8350 '-evalu', ':prove x:{1,3,5,6} => x mod 10 : {0,1,2,3,4,5,9}',
8351 '-evalu', ':prove x mod 3 < 2'
8352 ], 'check bug in modulo proof rule fixed').
8353 cli_testcase(2205, [infinite, external, regex, let], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
8354 '-evalt', 'f = %s.(s:STRING & REGEX_MATCH(s,"[a-z]+")=TRUE | s)',
8355 '-evalt', 'f = %s.(s:STRING & REGEX_MATCH(s,"[a-z]+")=TRUE | s) & f("abz") = "abz"',
8356 '-evalt', 'f = %s.(s:STRING & REGEX_MATCH(s,"[a-z]+")=TRUE | s) & "ab0" /: dom(f)',
8357 '-evalt', 'f = %s.(s:STRING & GET_STRING_IS_DECIMAL(s) = TRUE| s) & f("10.0") = "10.0" & "a" /: dom(f)',
8358 '-evalt', 'f = LET pat BE pat = "[a-z]+" IN %s.(s:STRING & REGEX_MATCH(s,pat)=TRUE | (pat,s)) END & f("abz")=r',
8359 '-evalt', 'f = LET pat BE pat = "[a-z]+" IN %s.(s:STRING & REGEX_MATCH(s,pat)=TRUE | REGEX_REPLACE(s,pat,"xx")) END & f("abz")="xx"',
8360 '-evalt', 'f = LET pat BE pat = "([a-z]+)([A-Z]*)" IN %s.(s:STRING & REGEX_MATCH(s,pat)=TRUE | REGEX_REPLACE(s,pat,"$1")) END & f("abzAZ")=abz', % also checks $1 feature
8361 '-evalt', 'f = LET pat BE pat = "([a-z]+)([A-Z]*)" IN %s.(s:STRING & REGEX_MATCH(s,pat)=TRUE | REGEX_REPLACE(s,pat,"$1.$2")) END & f("abzAZ")=abz.AZ', % also checks $1 feature
8362 '-evalt', 'f = %x.(x /= "" | x^x) & f("a") = "aa"',
8363 '-evalt', 'f = %x.("" /= x | x^x) & f("a") = "aa"',
8364 '-evalt', 'f = %x.(x /= 0 | 100/x) & f(2) = 50',
8365 '-evalt', 'f = %(x,y).(x /= 0 | y/x) & f(2,100) = 50',
8366 '-evalt', 'f = %(x,y).(x /= y | y/(y-x)) & f(5,10) = 2',
8367 '-evalt', 'f = %x.(x < y*y | x+x) & f(2)=res & y:3..5',
8368 '-evalt', 'f = %x.(x > y*y | x+x) & f(200)=res & y:3..5',
8369 '-evalt', 'f = %x.(x <= y*y | x+x) & f(2)=res & y:3..5',
8370 '-evalt', 'f = %x.(x >= y*y | x+x) & f(200)=res & y:3..5',
8371 '-evalt', 'f = %x.( y*y <= x | x+x) & f(200)=res & y:3..5'
8372 ], 'check detection of function as symbolic involving certain external predicates').
8373 cli_testcase(2206, [cdclt], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
8374 '../prob_examples/public_examples/B/SmtSolverTests/SearchEvents/SearchEvents.mch', '-init',
8375 '-p', 'TIME_OUT', '60000',
8376 '-p', 'cdclt_perform_static_analysis', 'false',
8377 '-p', 'cdclt_perform_symmetry_breaking', 'false',
8378 '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'false',
8379 '-evalt', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SearchEvents/min_example_wd_problem.eval',
8380 '-evalt', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SearchEvents/min_example_wd_problem2.eval',
8381 '-evalt', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SearchEvents/SearchEvents_monolithic_bmc_k_3_core_v2.eval',
8382 '-evalt', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SearchEvents/SearchEvents_monolithic_bmc_k_3_core_v2_static_analysis_bug.eval',
8383 '-evalt', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SearchEvents/SearchEvents_monolithic_bmc_k_3_core_v2_static_analysis_bug2.eval',
8384 '-evalt', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SearchEvents/SearchEvents_monolithic_bmc_k_3_core_v2_static_analysis_bug3.eval',
8385 '-evalt', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SearchEvents/SearchEvents_monolithic_bmc_k_3_core_v3_wd.eval',
8386 '-evalt', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SearchEvents/SearchEvents_monolithic_bmc_k_3_core_v3_wd2.eval',
8387 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SearchEvents/SearchEvents_monolithic_bmc_k_3_core_v3_wd_contradiction.eval',
8388 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SearchEvents/min_example_wd_problem.eval',
8389 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SearchEvents/min_example_wd_problem2.eval',
8390 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SearchEvents/SearchEvents_monolithic_bmc_k_3_core_v2.eval',
8391 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SearchEvents/SearchEvents_monolithic_bmc_k_3_core_v2_static_analysis_bug.eval',
8392 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SearchEvents/SearchEvents_monolithic_bmc_k_3_core_v2_static_analysis_bug2.eval',
8393 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SearchEvents/SearchEvents_monolithic_bmc_k_3_core_v2_static_analysis_bug3.eval',
8394 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SearchEvents/SearchEvents_monolithic_bmc_k_3_core_v3_wd.eval',
8395 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SearchEvents/SearchEvents_monolithic_bmc_k_3_core_v3_wd2.eval',
8396 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SearchEvents/SearchEvents_monolithic_bmc_k_3_core_v3_wd_contradiction.eval'
8397 ], 'Test well-definedness issue for CDCL(T) solver to not report unsatisfiability for satisfiable formulas without static analysis and symmetry breaking: SearchEvents').
8398 cli_testcase(2207, [cdclt], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
8399 '../prob_examples/public_examples/B/SmtSolverTests/LandingGearLights/R6_Lights.eventb', '-init',
8400 '-p', 'TIME_OUT', '60000',
8401 '-p', 'cdclt_perform_static_analysis', 'true',
8402 '-p', 'cdclt_perform_symmetry_breaking', 'false',
8403 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearLights/Ref6_CockpitLights_monolithic_bmc_k_1_core.eval',
8404 '-evalt', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearLights/Ref6_CockpitLights_monolithic_bmc_k_6_wd.eval',
8405 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearLights/Ref6_CockpitLights_monolithic_bmc_k_1_core.eval',
8406 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearLights/Ref6_CockpitLights_monolithic_bmc_k_6_wd.eval',
8407 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearLights/Ref6_CockpitLights_monolithic_bmc_k_6_wd2.eval',
8408 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearLights/Ref6_CockpitLights_monolithic_bmc_k_6_wd2.eval',
8409 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearLights/Ref6_CockpitLights_monolithic_bmc_k_6_wd3.eval',
8410 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearLights/Ref6_CockpitLights_monolithic_bmc_k_6_wd3.eval',
8411 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearLights/Ref6_CockpitLights_monolithic_bmc_k_6_wd_contradiction.eval'
8412 ], 'Test well-definedness issue for CDCL(T) solver to not report unsatisfiability for satisfiable formulas: LandingGearLights (static analysis but no symmetry breaking)').
8413 cli_testcase(2208, [cdclt], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
8414 '../prob_examples/public_examples/B/SmtSolverTests/LandingGearLights/R6_Lights.eventb', '-init',
8415 '-p', 'TIME_OUT', '60000',
8416 '-p', 'cdclt_perform_static_analysis', 'false',
8417 '-p', 'cdclt_perform_symmetry_breaking', 'false',
8418 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearLights/Ref6_CockpitLights_monolithic_bmc_k_1_core.eval',
8419 '-evalt', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearLights/Ref6_CockpitLights_monolithic_bmc_k_6_wd.eval',
8420 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearLights/Ref6_CockpitLights_monolithic_bmc_k_1_core.eval',
8421 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearLights/Ref6_CockpitLights_monolithic_bmc_k_6_wd.eval',
8422 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearLights/Ref6_CockpitLights_monolithic_bmc_k_6_wd2.eval',
8423 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearLights/Ref6_CockpitLights_monolithic_bmc_k_6_wd2.eval',
8424 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearLights/Ref6_CockpitLights_monolithic_bmc_k_6_wd3.eval',
8425 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearLights/Ref6_CockpitLights_monolithic_bmc_k_6_wd3.eval',
8426 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearLights/Ref6_CockpitLights_monolithic_bmc_k_6_wd_contradiction.eval'
8427 ], 'Test well-definedness issue for CDCL(T) solver to not report unsatisfiability for satisfiable formulas: LandingGearLights (no static analysis or symmetry breaking)').
8428 cli_testcase(2209,[private_source_not_available],[
8429 '../private_examples/ClearSy/2022/28_Apr/rule_RVF219/rule_RVF219_compo.mch',
8430 '-execute_all', '-silent',
8431 '-evalt', 'caval__rule__1__done=TRUE & caval__rule__2__done=TRUE & caval__rule__3__done=TRUE & caval__rule__4__done=TRUE & caval__rule__8__done=TRUE',
8432 '-evalt', 'card(caval__rule__2__ALL)=25504'
8433 ], 'Test performance issue with term_variables in exists').
8434 cli_testcase(2210,[cbc,quantified,exists],[
8435 '-evalt', '{x|x:1..10 & #y.(y>x & y*y >10)}=res',
8436 '-evalt', 'card({x|x:1..10 & #y.(y>x & y*y >10)})=10'
8437 ], 'Check enumeration warning in existential quantifier not propagated out').
8438 cli_testcase(2211,[wd,wd_prover],[
8439 '-evalt', ':prove shock_absorber:INTEGER => not(shock_absorber : {ground,flight} \\ {shock_absorber})',
8440 '-evalt', ':prove shock_absorber:INTEGER => (shock_absorber /: {ground,flight} \\ {shock_absorber})',
8441 '-evalu', ':prove shock_absorber:INTEGER => not(shock_absorber /: {ground,flight} \\ {shock_absorber})',
8442 '-evalt', ':prove x:INTEGER & x=shock_absorber => (x /: {ground,flight} \\ {shock_absorber})',
8443 '-evalt', ':prove x:BOOL & x=shock_absorber => not(x : {ground,flight} \\ {shock_absorber})',
8444 '-evalt', ':prove x<:BOOL & x /<: y => x/=y',
8445 '-evalt', ':prove x<:BOOL & x /<: y => y/=x',
8446 '-evalt', ':prove x<:BOOL & x /<: y => not(y=x)',
8447 '-evalt', ':prove x>0 & y>0 => not(x>0 & y<=0)',
8448 '-evalt', ':prove x>0 & y>0 => not(x<=0 & y>0)',
8449 '-evalt', ':prove x>0 & y>0 => not(x<=0 & y<=1)',
8450 '-evalu', ':prove x>0 & y>0 => not(x<=1 & y<=1)',
8451 '-evalt', ':prove x>0 & y>0 => not(x<=0 or y<=0)',
8452 '-evalu', ':prove x>0 & y>0 => not(x<=0 or y>0)',
8453 '-evalt', ':prove x>0 => (y>0 => not(x<=0 or y<=0))',
8454 '-evalt', ':prove x>0 => ( x=1 or x>1)',
8455 '-evalu', ':prove x>0 => not( x=1 or x>1)',
8456 '-evalt', ':prove x>0 => not( x/=1 & not(x>1))',
8457 '-evalt', ':prove x>1 & y>2 => not( x>0 => not(y>2))',
8458 '-evalt', ':prove a <:b & a /<<: {1,2} => b /<<: {1,2}', % requires to push all hyps (push_more_hyps option)
8459 '-evalt', ':prove a ={} & b<:BOOL => b/<<:a',
8460 '-evalt', ':prove a =BOOL & b<:BOOL => a/<<:b',
8461 '-evalu', ':prove a ={} & b<:BOOL => a/<<:b',
8462 '-evalu', ':prove a =BOOL & b<:BOOL => b/<<:a',
8463 '-evalt', ':prove a ={} & b<:BOOL & a/=b => b/<:a',
8464 '-evalt', ':prove a ={} & b<:BOOL & a/=b => not(b<:a)',
8465 '-evalu', ':prove a ={} & b<:BOOL & a/=c => not(b<:a)',
8466 '-evalt', ':prove a=b => (a>0 <=> b>0)',
8467 '-evalu', ':prove a=b => (a>0 <=> b>=0)',
8468 '-evalu', ':prove a>=b => (a>0 <=> b>0)',
8469 '-evalt', ':prove a:INTEGER => (a>b <=> not(b>=a))',
8470 '-evalt', ':prove a:INTEGER => not(a>b <=> not(a>b))',
8471 '-evalu', ':prove a:INTEGER => not(a>b <=> not(a>=b))',
8472 '-evalu', ':prove a<:BOOL => not(a<:b <=> b<:a)',
8473 '-evalu', ':prove a<:BOOL => not(not(a<:b) <=> not(b<:a))',
8474 '-evalt', ':prove a<:BOOL => not((a<:b) <=> not(a<:b))', % requires to push all hyps
8475 '-evalt', ':prove a<:BOOL => not(not(a<<:b) <=> (a<<:b))', % ditto, requires push_more_hyps option
8476 '-evalt', ':prove x<:INTEGER & inter({x,y,{1}}) : FIN(inter({x,y,{1}}))',
8477 '-evalt', ':prove x<:POW(INTEGER) & inter({{1}}\\/x) : FIN(inter({{1}}\\/x))',
8478 '-evalu', ':prove x<:POW(INTEGER) & inter({NATURAL}\\/x) : FIN(inter({NATURAL}\\/x))'
8479 ], 'check wd prover can deal with negations in goal').
8480 cli_testcase(2212, [b_test,json_trace_replay], [
8481 '../prob_examples/public_examples/B/Tester/Includes/InclQueue.mch',
8482 '-trace_replay', 'json', '../prob_examples/public_examples/B/Tester/Includes/InclQueue.prob2trace'
8483 ], 'Check inclusion of machine with parameters').
8484 cli_testcase(2213, [cbc,disprover,private], [
8485 '../prob_examples/public_examples/ProofObligations/Tickets/TestPartialFunctionBuggyProofRule_ctx.pl',
8486 '-check_disprover_result', 0,1,0,
8487 '-p', 'DOUBLE_EVALUATION', 'TRUE',
8488 '-export_po' % exercise the export_po_as_machine (nested_print_sequent_as_classicalb)
8489 % this is also done in ProB for Rodin
8490 ],'Test this PO involving partial function cannot be proven').
8491 cli_testcase(2214, [ltl], ['../prob_examples/public_examples/EventBPrologPackages/OperatingSystem/12301853/m03_proB_mch.eventb',
8492 '--model-check', '-expcterr', 'model_check_incomplete' , '-cc', 465, 1662,
8493 '-p', 'CLPFD', 'FALSE', '-p', 'MAX_OPERATIONS', 20,
8494 '-ltlfile',
8495 '../prob_examples/public_examples/EventBPrologPackages/OperatingSystem/12301853/LTL_m03.ltl'],
8496 'Check Rodin LTL file format now supported').
8497 cli_testcase(2215, [ltl], ['../prob_examples/public_examples/EventBPrologPackages/OperatingSystem/12301853/m06_proB_mch.eventb',
8498 '--model-check', '-expcterr', 'model_check_incomplete' , '-cc', 309, 964,
8499 '-p', 'CLPFD', 'FALSE', '-p', 'MAX_OPERATIONS', 30,
8500 '-ltlfile',
8501 '../prob_examples/public_examples/EventBPrologPackages/OperatingSystem/12301853/LTL_m06.ltl'],
8502 'Check Rodin LTL file format now supported').
8503 cli_testcase(2216, [ltl], ['../prob_examples/public_examples/EventBPrologPackages/OperatingSystem/12301853/m11_proB_mch.eventb',
8504 '--model-check', '-cc', 105, 252,
8505 '-p', 'CLPFD', 'FALSE', '-p', 'MAX_OPERATIONS', 30, '-p', 'MAX_INITIALISATIONS', 100,
8506 '-ltlfile',
8507 '../prob_examples/public_examples/EventBPrologPackages/OperatingSystem/12301853/LTL_m11.ltl'],
8508 'Check Rodin LTL file format now supported').
8509 cli_testcase(2217, [eventb_test,operation_reuse],
8510 ['../prob_examples/examples/RodinModels/Pacemaker/M4_VVIR_prob_mch.eventb',
8511 '-mc', 100000, '-cc', 25814, 42617 , '-p', 'OPERATION_REUSE', 'TRUE', '-p', 'COMPRESSION', 'TRUE',
8512 '-expcterr', 'model_check_incomplete'
8513 ], 'Check Pacemaker model with operation reuse.').
8514 cli_testcase(2218, [eventb_test,operation_reuse],
8515 ['../prob_examples/examples/RodinModels/Pacemaker/M4_VVIR_prob_mch.eventb',
8516 '-cbc', all,
8517 '-p', 'CLPFD', 'FALSE', '-p', 'TIME_OUT', 100
8518 ], 'Check that all proof info available for Pacemaker model (with conjuncts as invariants).').
8519 cli_testcase(2219, [tickets], ['../prob_examples/public_examples/B/ErrorMachines/ParseErrors/SemicolonError.mch',
8520 '-expcterrpos', parse_error, 6, 17,
8521 '-expcterrpos', parse_error, 8, 18, '-expcterr', 'load_main_file'
8522 ], 'Check semicolons detected'). % https://github.com/hhu-stups/prob-issues/issues/141
8523 cli_testcase(2220, [b_test,json_trace_replay,visb], [
8524 '../prob_examples/public_examples/B/VisB/TrafficLight/TrafficLight.mch', '-init',
8525 '-visb-click', 'peds_green',
8526 '-visb-click', 'peds_red',
8527 '-visb-click', 'cars_yellow_1',
8528 '-visb-click', 'cars_green',
8529 '-visb-click', 'cars_yellow_2',
8530 '-visb-click', 'cars_red',
8531 '-visb-click', 'peds_green',
8532 '-visb', '../prob_examples/public_examples/B/VisB/TrafficLight/traffic_light.json',
8533 '../prob_examples/public_examples/B/VisB/TrafficLight/TrafficLight_Trace.html',
8534 '-his', '../prob_examples/public_examples/B/VisB/TrafficLight/TrafficLight_Trace.txt'
8535 %'-his_option','json' % cannot be tested for equality at moment because of metadata
8536 ],
8537 'Check VisB click response').
8538 cli_testcase(2221, [b_test,infinite,memoize,recursion], [
8539 '../prob_examples/public_examples/B/RecursiveFunctions/Fibonacci_Memoized.mch', '-assertions', '-init',
8540 '-csv', 'prob_memo_profile', 'user_output',
8541 '-csv', 'constants_analysis', 'user_output',
8542 '-assertions'],
8543 'test new prob_memo_profile csv command').
8544 cli_testcase(2222, [xtl,ctl], ['../prob_examples/public_examples/XTL/microwave.P',
8545 '-ctlformulat', 'AG ({closed} or {open})',
8546 '-ctlformulat', 'EF ( EG ({closed}))',
8547 '-ctlformulaf', 'EG ({closed})',
8548 '-ctlformulat', 'EF ({heat})',
8549 '-ctlformulaf', 'EF ( AG ({closed}))',
8550 '-ctlformulaf', 'AF ({heat})',
8551 '-ctlformulat', 'AX ({closed})',
8552 '-ctlformulat', 'AX AX({heat} or {open})'
8553 ], 'Testing CTL for XTL model').
8554 cli_testcase(2223,[cbc,external],[
8555 '-evalt', '{v|%(r,s).(r:INTEGER|r+s)(0|->%(x,y).(x:INTEGER|x*y)(v|->v))=10000} = {-100,100}',
8556 '-evalt', '{v|%(r,s).(r:INTEGER|r*s)(v|->%(x,y).(x:INTEGER|x*y)(v|->v))=1000} = {10}',
8557 '-evalt', '{v|%(r,s).(r:INTEGER|r*s)(v|->%(x,v).(x:INTEGER|x*v)(v|->v))=1000} = {10}',
8558 '-evalf', '%(r,s).(r:INTEGER|r+s)(0|->%(x,y).(x:INTEGER|x*y)(v|->v))=1000',
8559 '-evalf', '%(r,s).(r:INTEGER|r*s)(v|->%(x,y).(x:INTEGER|x*y)(v|->v))=10000',
8560 '-evalf', '%(r,s).(r:INTEGER|r*s)(v|->%(x,v).(x:INTEGER|x*v)(v|->v))=10000',
8561 '-evalt', '(%(x,y).(x:INTEGER|%v.(v:INTEGER|v+x*y))(v|->v))(0)=10000',
8562 '-evalf', '(%(x,y).(x:INTEGER|%v.(v:INTEGER|v+x*y))(v|->v))(0)=1000',
8563 '-evalt', '{v|(%(x,y).(x:INTEGER|%v.(v:INTEGER|v+x*y))(v|->v))(0)=10000}={-100,100}',
8564 '-evalt', 's=STRINGIFY(%(r,s).(r:INTEGER|r*s)(v|->%(x,y).(x:INTEGER|x*y)(v|->v))) & s = "v * (v * v)"'
8565 ], 'Check lambda function call inlining').
8566 cli_testcase(2224, [error_checks,wd], [
8567 '../prob_examples/public_examples/B/FeatureChecks/DEFINITIONS/DefCallStackDisplay.mch',
8568 '../prob_examples/public_examples/B/FeatureChecks/DEFINITIONS/DefCallStackDisplay2.mch',
8569 '../prob_examples/public_examples/B/FeatureChecks/DEFINITIONS/DefCallStackDisplay3.mch',
8570 '-model_check',
8571 '-expcterr', well_definedness_error
8572 ],
8573 'exercise printing of call stack').
8574
8575 cli_testcase(2225,[b_test,operation_calls_in_expr],['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
8576 '../prob_examples/public_examples/B/Tickets/OpCallsInExpr/OpCallInExpression.mch',
8577 '../prob_examples/public_examples/B/Tickets/OpCallsInExpr/OpCallInExpression_v4.mch',
8578 '../prob_examples/public_examples/B/Tickets/OpCallsInExpr/OpCallInExpression2.mch',
8579 '-mc', '1000',
8580 '-assertions'
8581 ], 'Test calling operations in expressions mixed with allowing local calls').
8582 cli_testcase(2226,[b_test,operation_calls_in_expr],['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
8583 '../prob_examples/public_examples/B/Tickets/OpCallsInExpr/OpCallInExpression_v2.mch',
8584 '-init',
8585 '-expcterrpos', type_error, 13, 31, '-expcterr', load_main_file
8586 ], 'Detect erroneous operation call').
8587 cli_testcase(2227,[b_test,operation_calls_in_expr],['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
8588 '../prob_examples/public_examples/B/Tickets/OpCallsInExpr/OpCallInExpression_v3.mch',
8589 '-init',
8590 '-expcterrpos', type_error, 14, 11, '-expcterr', load_main_file
8591 ], 'Detect erroneous operation call').
8592 cli_testcase(2228, [laws,rel_fnc], ['../prob_examples/public_examples/B/Laws/RelLaws.mch', '-mc', '500', '-cs', '-nogoal', '-nodead', '-strict','-p', 'DOUBLE_EVALUATION', 'TRUE', '-expcterr', 'model_check_incomplete',
8593 '-p', 'OPTIMIZE_AST', 'FALSE'], 'Test 297 without OPTIMIZE_AST.').
8594 cli_testcase(2229, [eventb_test, theories], ['-mc', 100, '-cc', 9, 16, '-strict', '../prob_examples/public_examples/EventBPrologPackages/Theory/Mammar_Somme/sum_set.eventb'], 'Check support for SUM axiomatic operator on sets of integers').
8595 cli_testcase(2230, [eventb_test, theories, json_trace_replay],
8596 ['-mc', 100, '-expcterr', 'model_check_incomplete', '-assertions',
8597 '-trace_replay', 'json', '../prob_examples/public_examples/EventBPrologPackages/Theory/TestTheoryFloats1_mch.prob2trace',
8598 '../prob_examples/public_examples/EventBPrologPackages/Theory/TestTheoryFloats1_mch.eventb'],
8599 'Check support for real operators').
8600 cli_testcase(2231, [eventb_test, theories, json_trace_replay,strings],
8601 ['-mc', 3, '-assertions', '-nodead',
8602 '-p', 'AUTO_DETECT_THEORY_MAPPING', 'TRUE',
8603 '../prob_examples/public_examples/EventBPrologPackages/Theory/StandardLibrary/RealTheoryTests1_ctx.eventb',
8604 '../prob_examples/public_examples/EventBPrologPackages/Theory/TestStringTheory1_ctx.eventb',
8605 '../prob_examples/public_examples/EventBPrologPackages/Theory/TestRealsOpTheory_ctx.eventb'],
8606 'Check support for strings, unicode REAL and new preference').
8607 cli_testcase(2232, [eventb_test, theories, clpfd_tables],
8608 ['-mc', 100, '-opterr', 'model_check_incomplete', '-assertions', '-nodead',
8609 '-opterr', 'virtual_time_out',
8610 '-p', 'AUTO_DETECT_THEORY_MAPPING', 'TRUE',
8611 '../prob_examples/public_examples/EventBPrologPackages/Theory/StandardLibrary/Sampler_mch.eventb',
8612 '../prob_examples/public_examples/EventBPrologPackages/Theory/StandardLibrary/Sampler2_mch.eventb',
8613 '../prob_examples/public_examples/EventBPrologPackages/Theory/StandardLibrary/JobQueue_mch.eventb',
8614 '../prob_examples/public_examples/EventBPrologPackages/Theory/StandardLibrary/ConnectedNetwork_mch.eventb'],
8615 % Sampler2 creates a simulation_error when using SICStus 4.7 standard table/2 constraint
8616 'Check support for standard library without .ptm theory mapping file and fix issue with SICS table/2').
8617 cli_testcase(2233, [cbc,sigma], [
8618 '-evalt', ' data = {TRUE|->0, FALSE|->-1} & res = SIGMA(x,y).(x|->y:data|y) & res=-1',
8619 '-evalt', ' data = {1|->0, 2|->-1} & res = SIGMA(x,y).(x|->y:data|y) & res=-1',
8620 '-evalt', ' data = {1|->-1, 2|->-1} & res = SIGMA(x,y).(x|->y:data|y) & res=-2',
8621 '-evalt', ' data = {1|->1, 2|->-1} & res = SIGMA(x,y).(x|->y:data|y) & res=0',
8622 '-evalt', ' data = {1|->-1, 2|->-1} & res = PI(x,y).(x|->y:data|y) & res=1',
8623 '-evalt', ' data = {1|->0, 2|->-1} & res = SIGMA(x,y).(x|->y:data|y) & res<0',
8624 '-evalt', ' data = {1|->0, 2|->-1} & res = PI(x,y).(x|->y:data|y) & res=0',
8625 '-evalt', ' data = {1|->2, 2|->-1} & res = PI(x,y).(x|->y:data|y) & res=-2',
8626 '-evalt', ' data = {1|->0, 3|->-1} & res = SIGMA(x,y).(x|->y:data|y) & res=-1',
8627 '-evalt', ' data = {1|->0, 2|->0, 3|->-1} & res = SIGMA(x,y).(x|->y:data|y) & res=-1',
8628 '-evalt', ' data = {1|->0, 2|->0, 3|->-1, 4|->0} & res = SIGMA(x,y).(x|->y:data|y) & res=-1',
8629 '-evalt', ' data = {1|->0, 2|->0, 3|->-1, 4|->0, -1|->0} & res = SIGMA(x,y).(x|->y:data|y) & res=-1',
8630 '-evalt', ' data = {1|->0, 2|->0, 3|->-1, 4|->0, -1|->2} & res = SIGMA(x,y).(x|->y:data|y) & res=1',
8631 '-evalt', ' data = {1|->0, 2|->0, 3|->-1, 5|->0, -11|->2} & res = SIGMA(x,y).(x|->y:data|y) & res=1',
8632 '-evalt', ' data = {"a"|->0, "b"|->-1} & res = SIGMA(x,y).(x|->y:data|y) & res=-1',
8633 '-evalt', ' data = {(1,1)|->0, (1,2)|->-1} & res = SIGMA(x,y).(x|->y:data|y) & res=-1',
8634 '-evalt', ' data = {(1,1)|->0, (2,1)|->-1} & res = SIGMA(x,y).(x|->y:data|y) & res=-1',
8635 '-evalt', ' data = {1|->0, 1|->-1} & res = SIGMA(x,y).(x|->y:data|y) & res=-1',
8636 '-evalt', ' data = {(1,1)|->0, (1,1)|->-1} & res = SIGMA(x,y).(x|->y:data|y) & res=-1',
8637 '-evalt', ' data = {(1,1)|->0, (1,1)|->-1, (1,2)|->0} & res = SIGMA(x,y).(x|->y:data|y) & res=-1',
8638 '-evalt', ' data = {rec(f:1)|->0, rec(f:2)|->-1} & res = SIGMA(x,y).(x|->y:data|y) & res=-1',
8639 '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE'
8640 ], 'check bug in clpfd:table/2 circumvented').
8641 cli_testcase(2234, [tla,visb,cbc], ['../prob_examples/public_examples/TLA/TLA_Examples/EinsteinRiddle/Einstein.tla',
8642 '-cbc', all, '-expecterr', cbc,
8643 '-visb_with_vars', '../prob_examples/public_examples/TLA/TLA_Examples/EinsteinRiddle/Einstein_tla.json',
8644 '../prob_examples/public_examples/TLA/TLA_Examples/EinsteinRiddle/Einstein.html'
8645 ], 'check TLA model can be solved and visualised'). % see also test 2090
8646 cli_testcase(2235, [visb,dot], ['../prob_examples/public_examples/B/Mathematical/AI/MCTS.mch',
8647 '-animate', 100,
8648 '-dot', 'custom_graph', '../prob_examples/public_examples/B/Mathematical/AI/MCTS_100.dot',
8649 % we could also generate .pdf
8650 '-visb_with_vars', '../prob_examples/public_examples/B/Mathematical/AI/MCTS_visb.json',
8651 '../prob_examples/public_examples/B/Mathematical/AI/MCTS_100.html'
8652 ], 'check MCTS with VisB and CustomGraph').
8653 cli_testcase(2236, [b_test,strings], [
8654 '-evalt', ' size("a//") = 3',
8655 '-evalt', ' size("a// ") = 4',
8656 '-evalt', ' "abc//def" = "abc/" ^ "/def"',
8657 '-evalt', ' size("a// ") = 4 // comment',
8658 '-evalt', ' size("a// ") = /* comment */ 4 // comment',
8659 '-evalt', ' size("a\\\\") = 2'
8660 ], 'check double slash in strings').
8661 cli_testcase(2237, [laws], ['../prob_examples/public_examples/B/Laws/ArithmeticLaws.mch',
8662 '../prob_examples/public_examples/B/Laws/ArithmeticExpLaws.mch',
8663 '-p', 'CLPFD', 'FALSE',
8664 '-mc', '100000', '-cs', '-nodead', '-strict','-p', 'DOUBLE_EVALUATION', 'TRUE'], 'Test 295 without CLPFD.').
8665 cli_testcase(2238,[tickets,json_trace_replay],[ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
8666 '../prob_examples/public_examples/B/Tickets/Gruteser1/Ticket_clpfd_Rangierfahrt.mch',
8667 '-trace_replay', 'json', '../prob_examples/public_examples/B/Tickets/Gruteser1/Ticket_clpfd_Rangierfahrt.prob2trace'
8668 ], 'Check opt_ground_atom accidental cut issue solved').
8669 cli_testcase(2239,[tickets,json_trace_replay],[ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
8670 '../prob_examples/public_examples/B/Tickets/Gruteser1/Rangierfahrt0_prob.mch',
8671 '-trace_replay', 'json', '../prob_examples/public_examples/B/Tickets/Gruteser1/ProblemTrace.prob2trace'
8672 ], 'Check opt_ground_atom accidental cut issue solved on larger example'). % step 24 is the important one
8673 cli_testcase(2240,[tickets,operation_reuse,json_trace_replay],[ % prob-issues #238
8674 '../prob_examples/public_examples/B/Tickets/Vu_TraceReplayOpReuse/Poker.mch', '-p', 'OPERATION_REUSE', 'TRUE',
8675 '-trace_replay', 'json', '../prob_examples/public_examples/B/Tickets/Vu_TraceReplayOpReuse/Poker.prob2trace'
8676 ], 'Check operation caching copies max reached infos to ensure executed by predicate is used by trace replay').
8677 cli_testcase(2241, [cruise,ltl,safety], ['../prob_examples/public_examples/B/Benchmarks/Cruise_finite1.mch', '-ltlformulat', 'G ([CruiseBecomesAllowed] => X e(SetCruiseSpeed))', '-p', 'LTL_SAFETY_MODEL_CHECK', 'TRUE',
8678 '-cc', '1361', '25696', '-p', 'MAX_INITIALISATIONS', 5], 'Ensure safety mc inspects entire state space').
8679 cli_testcase(2242,[b_test,json_trace_replay],[
8680 '../prob_examples/public_examples/B/Other/Leftpad/Leftpad_i.imp',
8681 '-trace_replay', 'json', '../prob_examples/public_examples/B/Other/Leftpad/Leftpad_i.prob2trace'
8682 ], 'Check VALUES clause with interval as set').
8683 cli_testcase(2243,[ltl,external],[ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
8684 '../prob_examples/public_examples/B/LTL/Tests/NonDetOutput.mch',
8685 '-ltlformulat', 'G {GET_IS_DET("Set")=TRUE}',
8686 '-ltlformulaf', 'G {GET_IS_DET_OUTPUT("Choose")=TRUE}',
8687 '-ltlformulat', 'G {NON_DET_STATE=FALSE}',
8688 '-ltlformulaf', 'G {NON_DET_OUTPUT_STATE=FALSE}',
8689 '-ltlformulat', 'G {not("Set" : NON_DET_OUTPUT_OPERATIONS)}',
8690 '-ltlformulaf', 'G {not("Choose" : NON_DET_OUTPUT_OPERATIONS)}'
8691 ], 'Check using external determinism checking functions in LTL').
8692 cli_testcase(2244,[wd],[ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
8693 '-evalt', ':check-ast x/0 = x mod 0',
8694 '-evalt', ':check-ast first({})=1 => last({})=2',
8695 '-evalt', ':check-ast last({})=1 => tail([3,2])=[2]',
8696 '-evalt', ':check-ast (min({})=1 or max({})=1) <=> {}(2)>0',
8697 '-evalt', ':check-ast (-1)**2 = x',
8698 '-evalt', ':check-ast 2>3 => (-1)**2 = x',
8699 '-evalt', ':check-ast #lkyde.(union(lkyde) <: {FALSE,TRUE})'
8700 ], 'Run a few ASTs with WD conditions through check-ast').
8701 cli_testcase(2245,[b_test,refinement,json_trace_replay],[ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
8702 '../prob_examples/public_examples/B/FeatureChecks/InclusionChecks/SimpleRefSees/Ref1.ref',
8703 '-trace_replay', 'json', '../prob_examples/public_examples/B/FeatureChecks/InclusionChecks/SimpleRefSees/Ref1.prob2trace'
8704 ], 'Check inclusion at abstract and refined level').
8705 cli_testcase(2246,[b_test,refinement,json_trace_replay],[ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
8706 '../prob_examples/examples/B/KILOK/Aufteilung/Rangierfahrt_KI_prob.mch',
8707 '-trace_replay', 'json', '../prob_examples/examples/B/KILOK/Aufteilung/Rangierfahrt_KI_prob.prob2trace'
8708 ], 'Check inclusion at abstract and refined level').
8709 cli_testcase(2247,[b_test,refinement,json_trace_replay],[
8710 '../prob_examples/examples/B/KILOK/Aufteilung/Rangierfahrt_KI.mch',
8711 '-trace_replay', 'json', '../prob_examples/examples/B/KILOK/Aufteilung/Rangierfahrt_KI.prob2trace'
8712 ], 'Check inclusion at abstract and refined level, in particular for deferred sets'). % machine has invariant violation
8713 cli_testcase(2248,[cbc,tickets],[
8714 '-evalt', 'mousePositionBlockSlot : POW(INTEGER) & not(mousePositionBlockSlot = {})',
8715 '-evalt', 'mp : POW(INTEGER) & isClickedBlock = mp & not(mp <: blockedTime) & not(mp = {})',
8716 '-p', 'TRACE_INFO', 'TRUE', '-p', 'SMT', 'TRUE'
8717 ], 'Check trace value printing issue fixed').
8718 cli_testcase(2249, [cdclt], [%'-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
8719 '../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/R4_Handle.eventb', '-init',
8720 '-p', 'TIME_OUT', '60000',
8721 '-evalt', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/test.eval',
8722 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_0.eval',
8723 '-evalt', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_1.eval',
8724 '-evalt', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_2.eval',
8725 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_1_contradiction.eval',
8726 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_1_contradiction2.eval',
8727 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_2_contradiction.eval',
8728 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_2_contradiction2.eval',
8729 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_2_contradiction3.eval',
8730 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_2_contradiction4.eval',
8731 '-evalt', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_1_solution.eval',
8732 %'-evalt', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_1_solution2.eval', % timeout
8733 '-evalt', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_1_solution3.eval',
8734 '-evalt', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_1_solution4.eval',
8735 '-evalt', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_2_solution.eval',
8736 '-evalt', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_2_solution2.eval',
8737 '-evalt', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_2_solution3.eval',
8738 '-evalt', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_2_solution5.eval',
8739 '-evalt', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_2_solution6.eval',
8740 %'-evalt', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_2_solution7.eval', % timeout
8741 '-evalt', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_2_solution8.eval',
8742 %'-evalt', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_2_solution9.eval', % timeout
8743 %'-evalt', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_2_solution10.eval', % timeout again after eval_set_extension pre-compiles sets with enumerated set elements
8744 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/test.eval',
8745 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_0.eval',
8746 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_1.eval',
8747 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_1_contradiction.eval',
8748 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_1_contradiction2.eval',
8749 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_2_contradiction.eval',
8750 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_2_contradiction2.eval',
8751 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_2_contradiction3.eval',
8752 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_2_contradiction4.eval',
8753 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_1_solution.eval',
8754 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_1_solution2.eval',
8755 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_1_solution3.eval',
8756 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_1_solution4.eval',
8757 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_2_solution.eval',
8758 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_2_solution2.eval',
8759 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_2_solution3.eval',
8760 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_2_solution4.eval',
8761 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_2_solution5.eval',
8762 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_2_solution6.eval',
8763 %'-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_2_solution7.eval', % timeout
8764 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_2_solution8.eval'
8765 %'-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_2_solution9.eval', % timeout
8766 ], 'Double check CDCL(T) solver for BMC constraints of Landing Gear R4 Handle').
8767 cli_testcase(2250, [cdclt], [ %'-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
8768 '../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/R4_Handle.eventb', '-init',
8769 '-p', 'TIME_OUT', '60000',
8770 '-p', 'cdclt_perform_static_analysis', 'false',
8771 '-p', 'cdclt_perform_symmetry_breaking', 'false',
8772 '-evalt', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/test.eval',
8773 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_0.eval',
8774 '-evalt', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_1.eval',
8775 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_1_contradiction.eval',
8776 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_1_contradiction2.eval',
8777 '-evalt', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_2.eval',
8778 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_2_contradiction.eval',
8779 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_2_contradiction2.eval',
8780 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_2_contradiction3.eval',
8781 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_2_contradiction4.eval',
8782 '-evalt', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_1_solution.eval',
8783 '-evalt', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_1_solution2.eval',
8784 '-evalt', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_1_solution3.eval',
8785 '-evalt', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_1_solution4.eval',
8786 '-evalt', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_2_solution.eval',
8787 '-evalt', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_2_solution2.eval',
8788 '-evalt', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_2_solution3.eval',
8789 '-evalt', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_2_solution5.eval',
8790 '-evalt', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_2_solution6.eval',
8791 %'-evalt', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_2_solution7.eval', % timeout
8792 %'-evalt', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_2_solution8.eval', % timeout
8793 %'-evalt', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_2_solution9.eval', % timeout
8794 %'-evalt', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_2_solution10.eval', % timeout
8795 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/test.eval',
8796 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_0.eval',
8797 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_1.eval',
8798 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_1_contradiction.eval',
8799 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_1_contradiction2.eval',
8800 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_2_contradiction.eval',
8801 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_2_contradiction2.eval',
8802 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_2_contradiction3.eval',
8803 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_2_contradiction4.eval',
8804 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_1_solution.eval',
8805 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_1_solution2.eval',
8806 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_1_solution3.eval',
8807 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_1_solution4.eval',
8808 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_2_solution.eval',
8809 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_2_solution2.eval',
8810 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_2_solution3.eval',
8811 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_2_solution4.eval',
8812 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_2_solution5.eval',
8813 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_2_solution6.eval',
8814 %'-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_2_solution7.eval', % timeout
8815 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_2_solution8.eval'
8816 %'-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_2_solution9.eval', % timeout
8817 %'-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_2_solution10.eval' % timeout due to adding finite PO
8818 ], 'Double check CDCL(T) solver without static analysis and symmetry breaking for BMC constraints of Landing Gear R4 Handle').
8819 cli_testcase(2251, [smt_solver_integration], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
8820 '../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/R4_Handle.eventb', '-init',
8821 '-p', 'TIME_OUT', '60000',
8822 %'-evalt', ':z3-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/test.eval', % timeout
8823 %'-evalf', ':z3-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_0.eval', % unknown
8824 %'-evalt', ':z3-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_1.eval', % unknown
8825 '-evalf', ':z3-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_1_contradiction.eval',
8826 '-evalf', ':z3-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_1_contradiction2.eval',
8827 '-evalf', ':z3-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_2_contradiction.eval',
8828 '-evalf', ':z3-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_2_contradiction2.eval',
8829 '-evalf', ':z3-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_2_contradiction3.eval',
8830 '-evalf', ':z3-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_2_contradiction4.eval',
8831 '-evalt', ':z3-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_1_solution.eval',
8832 %'-evalt', ':z3-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_1_solution2.eval', % unknown
8833 '-evalt', ':z3-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_1_solution3.eval',
8834 %'-evalt', ':z3-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_1_solution4.eval', % unknown
8835 %'-evalt', ':z3-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_2_solution.eval', % timeout
8836 %'-evalt', ':z3-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_2_solution2.eval', % unknown
8837 '-evalt', ':z3-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_2_solution3.eval',
8838 %'-evalt', ':z3-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/test.eval', % unknown
8839 %'-evalf', ':z3-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_0.eval', % unknown
8840 %'-evalt', ':z3-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_1.eval', % occasional unknown
8841 '-evalf', ':z3-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_1_contradiction.eval',
8842 '-evalf', ':z3-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_1_contradiction2.eval',
8843 '-evalf', ':z3-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_2_contradiction.eval',
8844 '-evalf', ':z3-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_2_contradiction2.eval',
8845 '-evalf', ':z3-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_2_contradiction3.eval',
8846 '-evalf', ':z3-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_2_contradiction4.eval',
8847 '-evalt', ':z3-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_1_solution.eval',
8848 %'-evalt', ':z3-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_1_solution2.eval', % occasional unknown
8849 '-evalt', ':z3-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_1_solution3.eval'
8850 %'-evalt', ':z3-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_1_solution4.eval', % unknown
8851 %'-evalt', ':z3-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_2_solution.eval', % unknown
8852 %'-evalt', ':z3-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_2_solution2.eval', % unknown
8853 %'-evalt', ':z3-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LandingGearHandle/Ref4_ControllerHandle_monolithic_bmc_k_2_solution3.eval' % unknown since Z3 version 4.13.0
8854 ], 'Double check Z3 interface for BMC constraints of Landing Gear R4 Handle').
8855 cli_testcase(2252, [cdclt], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
8856 '../prob_examples/public_examples/B/SmtSolverTests/PM_M0_AAI/PM_M0_AAI.eventb', '-init',
8857 '-p', 'TIME_OUT', '60000',
8858 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M0_AAI/M0_AAI_Change_Pace_Int.eval',
8859 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M0_AAI/M0_AAI_Pace_OFF.eval',
8860 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M0_AAI/M0_AAI_Pace_OFF_with_Sensor.eval',
8861 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M0_AAI/M0_AAI_Pace_ON.eval',
8862 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M0_AAI/M0_AAI_Sense_ON.eval',
8863 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M0_AAI/M0_AAI_tic.eval',
8864 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M0_AAI/M0_AAI_Change_Pace_Int.eval',
8865 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M0_AAI/M0_AAI_Pace_OFF.eval',
8866 %'-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M0_AAI/M0_AAI_Pace_OFF_with_Sensor.eval', % timeout
8867 %'-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M0_AAI/M0_AAI_Pace_ON.eval', % timeout
8868 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M0_AAI/M0_AAI_Sense_ON.eval'
8869 %'-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M0_AAI/M0_AAI_tic.eval' % timeout
8870 ], 'Double check CDCL(T) solver for inductive invariant constraints of a pacemaker model').
8871 cli_testcase(2253, [cdclt], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
8872 '../prob_examples/public_examples/B/SmtSolverTests/PM_M0_AAI/PM_M0_AAI.eventb', '-init',
8873 '-p', 'TIME_OUT', '60000',
8874 '-p', 'cdclt_perform_static_analysis', 'false',
8875 '-p', 'cdclt_perform_symmetry_breaking', 'false',
8876 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M0_AAI/M0_AAI_Change_Pace_Int.eval',
8877 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M0_AAI/M0_AAI_Pace_OFF.eval',
8878 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M0_AAI/M0_AAI_Pace_OFF_with_Sensor.eval',
8879 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M0_AAI/M0_AAI_Pace_ON.eval',
8880 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M0_AAI/M0_AAI_Sense_ON.eval',
8881 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M0_AAI/M0_AAI_tic.eval',
8882 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M0_AAI/M0_AAI_Change_Pace_Int.eval',
8883 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M0_AAI/M0_AAI_Pace_OFF.eval',
8884 %'-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M0_AAI/M0_AAI_Pace_OFF_with_Sensor.eval', % timeout
8885 %'-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M0_AAI/M0_AAI_Pace_ON.eval', % timeout
8886 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M0_AAI/M0_AAI_Sense_ON.eval'
8887 %'-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M0_AAI/M0_AAI_tic.eval' % timeout
8888 ], 'Double check CDCL(T) solver without static symmetry breaking and static analysis for inductive invariant constraints of a pacemaker model').
8889 cli_testcase(2254, [smt_solver_integration], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
8890 '../prob_examples/public_examples/B/SmtSolverTests/PM_M0_AAI/PM_M0_AAI.eventb', '-init',
8891 '-p', 'TIME_OUT', '5000',
8892 '-evalf', ':z3-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M0_AAI/M0_AAI_Change_Pace_Int.eval',
8893 '-evalf', ':z3-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M0_AAI/M0_AAI_Pace_OFF.eval',
8894 '-evalf', ':z3-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M0_AAI/M0_AAI_Pace_OFF_with_Sensor.eval',
8895 '-evalf', ':z3-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M0_AAI/M0_AAI_Pace_ON.eval',
8896 '-evalf', ':z3-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M0_AAI/M0_AAI_Sense_ON.eval',
8897 '-evalf', ':z3-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M0_AAI/M0_AAI_tic.eval',
8898 '-evalf', ':z3-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M0_AAI/M0_AAI_Change_Pace_Int.eval',
8899 '-evalf', ':z3-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M0_AAI/M0_AAI_Pace_OFF.eval',
8900 '-evalf', ':z3-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M0_AAI/M0_AAI_Pace_OFF_with_Sensor.eval',
8901 '-evalf', ':z3-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M0_AAI/M0_AAI_Pace_ON.eval',
8902 '-evalf', ':z3-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M0_AAI/M0_AAI_Sense_ON.eval',
8903 '-evalf', ':z3-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M0_AAI/M0_AAI_tic.eval'
8904 ], 'Double check integration of Z3 for inductive invariant constraints of a pacemaker model').
8905 cli_testcase(2255, [cdclt], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
8906 '-p', 'maxNrOfInitialisations', '1',
8907 '-p', 'TIME_OUT', '60000',
8908 '../prob_examples/public_examples/B/SmtSolverTests/PM_M1_VOOR/PM_M1_VOOR.eventb', '-init',
8909 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M1_VOOR/M1_VOOR_Acler_sensed.eval',
8910 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M1_VOOR/M1_VOOR_Pace_OFF.eval',
8911 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M1_VOOR/M1_VOOR_Pace_ON.eval',
8912 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M1_VOOR/M1_VOOR_Decrease_Interval.eval',
8913 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M1_VOOR/M1_VOOR_Increase_Interval.eval',
8914 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M1_VOOR/M1_VOOR_tic.eval',
8915 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M1_VOOR/M1_VOOR_Acler_sensed.eval',
8916 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M1_VOOR/M1_VOOR_Pace_OFF.eval',
8917 %'-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M1_VOOR/M1_VOOR_Pace_ON.eval', % timeout
8918 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M1_VOOR/M1_VOOR_Decrease_Interval.eval',
8919 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M1_VOOR/M1_VOOR_Increase_Interval.eval',
8920 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M1_VOOR/M1_VOOR_tic.eval'
8921 ], 'Double check CDCL(T) solver for inductive invariant constraints of a pacemaker model').
8922 cli_testcase(2256, [cdclt], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
8923 '-p', 'maxNrOfInitialisations', '1',
8924 '-p', 'TIME_OUT', '60000',
8925 '-p', 'cdclt_perform_static_analysis', 'false',
8926 '-p', 'cdclt_perform_symmetry_breaking', 'false',
8927 '../prob_examples/public_examples/B/SmtSolverTests/PM_M1_VOOR/PM_M1_VOOR.eventb', '-init',
8928 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M1_VOOR/M1_VOOR_Acler_sensed.eval',
8929 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M1_VOOR/M1_VOOR_Pace_OFF.eval',
8930 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M1_VOOR/M1_VOOR_Pace_ON.eval',
8931 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M1_VOOR/M1_VOOR_Decrease_Interval.eval',
8932 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M1_VOOR/M1_VOOR_Increase_Interval.eval',
8933 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M1_VOOR/M1_VOOR_tic.eval',
8934 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M1_VOOR/M1_VOOR_Acler_sensed.eval',
8935 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M1_VOOR/M1_VOOR_Pace_OFF.eval',
8936 %'-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M1_VOOR/M1_VOOR_Pace_ON.eval', % timeout
8937 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M1_VOOR/M1_VOOR_Decrease_Interval.eval',
8938 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M1_VOOR/M1_VOOR_Increase_Interval.eval'
8939 %'-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M1_VOOR/M1_VOOR_tic.eval' % timeout
8940 ], 'Double check CDCL(T) solver without static symmetry breaking and static analysis for inductive invariant constraints of a pacemaker model').
8941 cli_testcase(2257, [smt_solver_integration], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
8942 '-p', 'maxNrOfInitialisations', '1',
8943 '-p', 'TIME_OUT', '20000',
8944 '../prob_examples/public_examples/B/SmtSolverTests/PM_M1_VOOR/PM_M1_VOOR.eventb', '-init',
8945 '-evalf', ':z3-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M1_VOOR/M1_VOOR_Acler_sensed.eval',
8946 '-evalf', ':z3-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M1_VOOR/M1_VOOR_Pace_OFF.eval',
8947 '-evalf', ':z3-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M1_VOOR/M1_VOOR_Pace_ON.eval',
8948 '-evalf', ':z3-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M1_VOOR/M1_VOOR_Decrease_Interval.eval',
8949 '-evalf', ':z3-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M1_VOOR/M1_VOOR_Increase_Interval.eval',
8950 '-evalf', ':z3-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M1_VOOR/M1_VOOR_tic.eval',
8951 '-evalf', ':z3-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M1_VOOR/M1_VOOR_Acler_sensed.eval',
8952 '-evalf', ':z3-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M1_VOOR/M1_VOOR_Pace_OFF.eval',
8953 '-evalf', ':z3-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M1_VOOR/M1_VOOR_Pace_ON.eval',
8954 '-evalf', ':z3-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M1_VOOR/M1_VOOR_Decrease_Interval.eval',
8955 '-evalf', ':z3-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M1_VOOR/M1_VOOR_Increase_Interval.eval',
8956 '-evalf', ':z3-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M1_VOOR/M1_VOOR_tic.eval'
8957 ], 'Double check integration of Z3 for inductive invariant constraints of a pacemaker model').
8958
8959 cli_testcase(2258, [kodkod, tickets], [
8960 '../prob_examples/public_examples/B/SmtSolverTests/PM_M1_VOOR/PM_M1_VOOR.eventb',
8961 '-init', '-p', 'SOLVER_FOR_PROPERTIES', 'kodkod'], 'Check division bug in Kodkod interval analysis').
8962
8963 cli_testcase(2259, [smt_solver_integration], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'FALSE',
8964 '../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching.mch', '-init',
8965 '-p', 'TIME_OUT', '60000',
8966 '-evalt', ':z3-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/core_bug.eval',
8967 '-evalf', ':z3-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_0.eval',
8968 '-evalf', ':z3-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_1.eval',
8969 '-evalf', ':z3-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_2.eval',
8970 '-evalf', ':z3-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_3.eval',
8971 % same constraints but not considering the current state
8972 '-evalt', ':z3-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/core_bug.eval',
8973 '-evalf', ':z3-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_0.eval',
8974 '-evalt', ':z3-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_1.eval',
8975 '-evalt', ':z3-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_2.eval',
8976 '-evalt', ':z3-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_3.eval'
8977 ], 'Double check integration of Z3 solver for BMC constraints of LargeBranching').
8978 cli_testcase(2260, [smt_solver_integration], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
8979 '../prob_examples/public_examples/B/SmtSolverTests/SimpleTwoPhase/SimpleTwoPhase.tla', '-init',
8980 '-p', 'TIME_OUT', '60000',
8981 %'-evalf', ':z3-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SimpleTwoPhase/SimpleTwoPhase_monolithic_bmc_k_0.eval', % unknown in Gitlab pipeline
8982 '-evalf', ':z3-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SimpleTwoPhase/SimpleTwoPhase_monolithic_bmc_k_1.eval',
8983 '-evalf', ':z3-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SimpleTwoPhase/SimpleTwoPhase_monolithic_bmc_k_2.eval',
8984 '-evalf', ':z3-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SimpleTwoPhase/SimpleTwoPhase_monolithic_bmc_k_3.eval',
8985 '-evalf', ':z3-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SimpleTwoPhase/SimpleTwoPhase_monolithic_bmc_k_23.eval',
8986 '-evalf', ':z3-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SimpleTwoPhase/SimpleTwoPhase_monolithic_bmc_k_24.eval',
8987 '-evalf', ':z3-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SimpleTwoPhase/SimpleTwoPhase_monolithic_bmc_k_25.eval',
8988 %'-evalf', ':z3-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SimpleTwoPhase/SimpleTwoPhase_monolithic_bmc_k_0.eval', % unknown in Gitlab pipeline
8989 '-evalf', ':z3-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SimpleTwoPhase/SimpleTwoPhase_monolithic_bmc_k_1.eval',
8990 '-evalf', ':z3-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SimpleTwoPhase/SimpleTwoPhase_monolithic_bmc_k_2.eval',
8991 '-evalf', ':z3-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SimpleTwoPhase/SimpleTwoPhase_monolithic_bmc_k_3.eval',
8992 '-evalf', ':z3-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SimpleTwoPhase/SimpleTwoPhase_monolithic_bmc_k_23.eval',
8993 '-evalf', ':z3-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SimpleTwoPhase/SimpleTwoPhase_monolithic_bmc_k_24.eval',
8994 '-evalf', ':z3-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/SimpleTwoPhase/SimpleTwoPhase_monolithic_bmc_k_25.eval'
8995 ], 'Double check integration of Z3 solver for BMC constraints of SimpleTwoPhase').
8996 cli_testcase(2261, [cdclt], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
8997 '-p', 'TIME_OUT', '60000',
8998 '../prob_examples/public_examples/EventBPrologPackages/BinarySearch/binary_search_prob_mch.eventb', '-init',
8999 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/BinarySearch/binary_search_prob_mch_monolithic_bmc_k_0.eval',
9000 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/BinarySearch/binary_search_prob_mch_monolithic_bmc_k_1.eval',
9001 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/BinarySearch/binary_search_prob_mch_monolithic_bmc_k_5.eval',
9002 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/BinarySearch/binary_search_prob_mch_monolithic_bmc_k_10.eval',
9003 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/BinarySearch/binary_search_prob_mch_monolithic_bmc_k_0.eval',
9004 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/BinarySearch/binary_search_prob_mch_monolithic_bmc_k_1.eval',
9005 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/BinarySearch/binary_search_prob_mch_monolithic_bmc_k_5.eval'
9006 ], 'Double check CDCL(T) solver for BMC constraints of a binary search model').
9007 cli_testcase(2262, [cdclt], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
9008 '-p', 'TIME_OUT', '60000',
9009 '-p', 'cdclt_perform_static_analysis', 'false',
9010 '-p', 'cdclt_perform_symmetry_breaking', 'false',
9011 '../prob_examples/public_examples/EventBPrologPackages/BinarySearch/binary_search_prob_mch.eventb', '-init',
9012 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/BinarySearch/binary_search_prob_mch_monolithic_bmc_k_0.eval',
9013 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/BinarySearch/binary_search_prob_mch_monolithic_bmc_k_1.eval',
9014 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/BinarySearch/binary_search_prob_mch_monolithic_bmc_k_5.eval',
9015 %'-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/BinarySearch/binary_search_prob_mch_monolithic_bmc_k_10.eval', % sometimes throws clpfd overflow error in unsat core computation, CDCL(T) result is fine
9016 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/BinarySearch/binary_search_prob_mch_monolithic_bmc_k_0.eval',
9017 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/BinarySearch/binary_search_prob_mch_monolithic_bmc_k_1.eval',
9018 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/BinarySearch/binary_search_prob_mch_monolithic_bmc_k_5.eval'
9019 %'-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/BinarySearch/binary_search_prob_mch_monolithic_bmc_k_10.eval'
9020 ], 'Double check CDCL(T) solver without static symmetry breaking and static analysis for BMC constraints of a binary search model').
9021 cli_testcase(2263, [smt_solver_integration], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
9022 '-p', 'TIME_OUT', '60000',
9023 '../prob_examples/public_examples/EventBPrologPackages/BinarySearch/binary_search_prob_mch.eventb', '-init',
9024 '-evalf', ':z3-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/BinarySearch/binary_search_prob_mch_monolithic_bmc_k_0.eval',
9025 '-evalf', ':z3-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/BinarySearch/binary_search_prob_mch_monolithic_bmc_k_1.eval',
9026 '-evalf', ':z3-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/BinarySearch/binary_search_prob_mch_monolithic_bmc_k_5.eval',
9027 '-evalf', ':z3-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/BinarySearch/binary_search_prob_mch_monolithic_bmc_k_10.eval',
9028 '-evalf', ':z3-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/BinarySearch/binary_search_prob_mch_monolithic_bmc_k_0.eval',
9029 '-evalf', ':z3-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/BinarySearch/binary_search_prob_mch_monolithic_bmc_k_1.eval',
9030 '-evalf', ':z3-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/BinarySearch/binary_search_prob_mch_monolithic_bmc_k_5.eval',
9031 '-evalf', ':z3-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/BinarySearch/binary_search_prob_mch_monolithic_bmc_k_10.eval'
9032 ], 'Double check integration of Z3 for BMC constraints of a binary search model').
9033 cli_testcase(2264, [cbc,tickets], [
9034 '-evalf', 'x=SIGMA(y).(y:1..n|y) & x = PI(y).(y:1..n|y) & n:4..10', % used to be issue in norm_expr, mapping PI to SIGMA
9035 '-evalt', 'x=SIGMA(y).(y:1..n|y) & x = PI(y).(y:1..n|y) & n:2..10'
9036 ], 'Check issue in norm_expr fixed').
9037
9038 cli_testcase(2265, [private], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
9039 '-p', 'TIME_OUT', '1000', '-p', 'CLPFD', 'FALSE', '-pref_group', 'integer', 'int32', '-noinv',
9040 '-execute_all', '-animate_stats',
9041 '-evalt', 'aa41=TRUE & aa42=FALSE & aa44=TRUE & aa45=FALSE & aa48=TRUE & aa50=TRUE & card(aa49)=160',
9042 '../prob_examples/examples/B/ClearSy/Olaf/rule_Regle_P3_NID_C/rule_olaf_bugly.mch'],'Data validation run').
9043 cli_testcase(2266,[private],['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
9044 '../prob_examples/examples/B/ClearSy/Caval/N_ITERa_avec_DV_sans_DV/rule_avec_DV_bugly.mch',
9045 '-execute_all', '-animate_stats',
9046 '-p', 'CLPFD', 'FALSE', '-p', 'TIME_OUT', 1000,
9047 '-p', 'TRY_FIND_ABORT', 'FALSE', '-p', 'DATA_VALIDATION', 'TRUE',
9048 % '-p', 'LIFT_EXISTS', 'TRUE', % should also work without this
9049 '-execute_expect_steps', 44,
9050 '-evalt', 'card(aa100)=243 & aa101=TRUE & card(aa102)=128 & aa103=TRUE',
9051 '-evalt', 'card(aa111)=234 & aa112=TRUE & card(aa119)=246 & aa120=TRUE',
9052 '-evalt', 'card(aa96)=110 & aa97=TRUE & card(aa98)=110 & aa99=TRUE',
9053 %'-silent',
9054 '-noinv'], 'Scrambled version of test 1945').
9055 cli_testcase(2267, [cdclt], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
9056 '-p', 'TIME_OUT', '60000',
9057 '../prob_examples/public_examples/B/Simple/TwoPurses.mch', '-init',
9058 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/TwoPurses/TwoPurses_monolithic_bmc_k_0.eval',
9059 % '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/TwoPurses/TwoPurses_monolithic_bmc_k_1.eval', % sometimes times out
9060 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/TwoPurses/TwoPurses_monolithic_bmc_k_0.eval'
9061 %'-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/TwoPurses/TwoPurses_monolithic_bmc_k_1.eval' % successful but takes some time
9062 ], 'Double check CDCL(T) solver for BMC constraints of a simple model with nested quantified formulas and WD conditions.').
9063 cli_testcase(2268,[private],['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
9064 '../prob_examples/examples/B/ClearSy/Caval/rule_SSO_SLOT_MSG_ID_SET_SSO_Well_def/rule_SSO_SLOT_bugly.mch',
9065 '-execute_all', '-animate_stats',
9066 '-p', 'CLPFD', 'FALSE', '-p', 'TIME_OUT', 1000,
9067 '-p', 'DATA_VALIDATION', 'TRUE',
9068 '-p', 'COMPRESSION', 'TRUE',
9069 '-execute_expect_steps', 6,
9070 '-evalt', 'aa33=TRUE & aa34=TRUE & aa36=TRUE & aa37=TRUE & aa39=TRUE & aa40=FALSE & aa41={} &aa42=TRUE & aa43=FALSE',
9071 '-silent'
9072 ], 'Scrambled version of 1950; ensure wd-problem solved').
9073 cli_testcase(2270,[private],['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
9074 '../prob_examples/examples/B/ClearSy/Caval/rule_Test__RGP_71237__RI_091/rule_DebugPv10_bugly.mch',
9075 '../prob_examples/examples/B/ClearSy/Caval/rule_Test__RGP_71237__RI_091/rule_DebugPv11_bugly.mch',
9076 '-execute', 9, '-animate_stats', '-silent',
9077 '-evalt', 'aa650=FALSE & aa651=TRUE & aa718=TRUE & aa716=TRUE & aa717=(NATURAL1 * {[]}) & aa721=(NATURAL1 * {FALSE})',
9078 '-p', 'CLPFD', 'FALSE', '-p', 'TIME_OUT', 1000,
9079 '-p', 'DATA_VALIDATION', 'TRUE',
9080 '-p', 'COMPRESSION', 'TRUE', '-p', 'MAXINT', 2147483647, '-p', 'MININT', -2147483647], 'Scrambled version of 1952; Ensure in_domain delay solved. In addition check cartesian product detection with seq types.').
9081 cli_testcase(2271,[private],['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
9082 '../prob_examples/examples/B/ClearSy/Caval/2019_June/string_tail/rule_nok_bugly.mch',
9083 '-execute', 4, '-animate_stats', '-silent',
9084 '-expcterr', deadlock,
9085 '-execute_expect_steps', 3,
9086 '-evalt', 'aa747=TRUE',
9087 '-evalt', 'aa748=FALSE & aa749={({}|->TRUE)}'
9088 ], 'Scrambled version of test 1973, Ensure pending co-routing in reverse of sequence solved').
9089 cli_testcase(2272,[private],['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
9090 '../prob_examples/examples/B/ClearSy/Caval/2019_June/performance/toto_ko_bugly.mch',
9091 '-execute', 4, '-animate_stats', '-expcterr', deadlock,
9092 '-execute_expect_steps', 3,
9093 '-evalt', 'aa6=TRUE',
9094 '-evalt', 'aa7=TRUE',
9095 '-evalt', 'aa8 = {({(1|->2|->3|->4|->2)}|->FALSE),({(1|->2|->3|->4|->3)}|->FALSE)}' ], 'Scrambled version of 1974, Ensure we do not wait for identifier in exists using used_ids_defined_by_equality optimisation').
9096 cli_testcase(2273,[private],[
9097 '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE', % Note: generated virtual timeout, no longer does after override does not try to expand symbolic closures anymore
9098 '../prob_examples/examples/B/ClearSy/Caval/2019_Aug/call_residue/rule_erreur_bugly.mch',
9099 '-p', 'RAISE_ABORT_IMMEDIATELY', 'FALSE', % necessary as of 3974491412f39ab8b6beea3d2a7c47e7c56315ae
9100 '-execute_all', '-animate_stats', '-noinv',
9101 '-execute_expect_steps', 23,
9102 '-evalt', 'aa518=TRUE',
9103 '-evalt', 'aa553=TRUE',
9104 '-evalt', 'aa555=TRUE'], 'Scrambled version of test 1977; Ensure we have no call_residue internal error').
9105 cli_testcase(2274,[private],[
9106 '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
9107 '../prob_examples/examples/B/ClearSy/Caval/2019_Sep/rule_dummy/rule_dummy_acc_bugly.mch',
9108 '-execute_all', '-animate_stats', '-noinv',
9109 '-execute_expect_steps', 3,
9110 '-evalt', 'aa32=TRUE',
9111 '-evalt', 'card(aa33)=4299'
9112 ], 'Scrambled version of 1980, Ensure that compilation of set_extension works properly').
9113 cli_testcase(2275,[private,regex],[
9114 '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
9115 '../prob_examples/examples/B/ClearSy/Caval/2019_Sep/non_ground_closure/rule_bugly.mch',
9116 '-execute_all', '-animate_stats', '-noinv',
9117 '-execute_expect_steps', 13,
9118 '-evalt', 'aa155=TRUE',
9119 '-evalt', 'aa157=TRUE',
9120 '-evalt', 'card(aa158)=254',
9121 '-evalt', 'aa159=TRUE',
9122 '-evalt', 'card(aa160)=254'
9123 ], 'Scrambled version of 1981; Ensure that no internal error due to non-ground closure').
9124 cli_testcase(2276,[private],[
9125 '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE', '-p', 'RAISE_ABORT_IMMEDIATELY', 'TRUE',
9126 '-p', 'DATA_VALIDATION', 'TRUE',
9127 '../prob_examples/examples/B/ClearSy/Caval/2020/01_Jan/regressions2/rule_Regle_Transverse_Variable_Q_DIR/rule_bugly.mch', '-p', 'BUGLY', 'TRUE',
9128 '-execute_all', %'-silent',
9129 '-animate_stats',
9130 '-execute_expect_steps', 6,
9131 '-evalt', 'aa40=TRUE & aa42=TRUE & aa44=TRUE & aa46=TRUE',
9132 '-evalt', 'card(aa41) = 1187 & card(aa47) = 180'
9133 ], 'Scrambled version of test 2002, Ensure useless existentially quantified variable (value) does not perturb enumeration').
9134 cli_testcase(2277,[private],[
9135 '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE', '-p', 'RAISE_ABORT_IMMEDIATELY', 'TRUE',
9136 '-p', 'DATA_VALIDATION', 'TRUE',
9137 '../prob_examples/examples/B/ClearSy/Caval/2020/01_Jan/ticket_record_typing/ruleERR_missingdata_bugly.mch',
9138 '-execute_all',
9139 '-execute_expect_steps', 3, %'-silent',
9140 '-evalt', 'aa646=TRUE',
9141 '-evalt', 'caval__rule__1__ALL={({("FINAL_GEIF__id1"|->1|->"eq11"|->"eq11"|->1|->"aa")}|->FALSE),({("FINAL_GEIF__id1"|->1|->"eq21"|->"eq21"|->1|->"aa")}|->FALSE),({("FINAL_GEIF__id1"|->2|->"A_equ2__tst2"|->"A_equ2__tst2"|->2|->"aa")}|->FALSE),({("FINAL_GEIF__id2"|->3|->"A_equ2__tst1"|->"A_equ2__tst1"|->3|->"aa")}|->FALSE),({("FINAL_GEIF__id2"|->4|->"A_equ2__tst2"|->"A_equ2__tst1"|->4|->"aa")}|->FALSE)}'
9142 ], 'Scrambled version of 2003; Ensure problem with type checker and wrongly sorted record fields solved').
9143 cli_testcase(2278,[private],[
9144 '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE', '-p', 'RAISE_ABORT_IMMEDIATELY', 'TRUE',
9145 '-p', 'DATA_VALIDATION', 'TRUE',
9146 '../prob_examples/examples/B/ClearSy/Caval/2020/01_Jan/ticket_record_typing/ruleOK_noExpectedName_bugly.mch',
9147 '-execute_all', '-execute_expect_steps', 3,
9148 '-silent',
9149 '-evalt', 'caval__rule__1__done=TRUE',
9150 '-evalt', 'caval__rule__1__ALL={({("FINAL_GEIF__id1"|->1|->"eq11"|->1|->"{1,2,3,4}")}|->FALSE),({("FINAL_GEIF__id1"|->1|->"eq21"|->1|->"{1,2,3,4}")}|->FALSE),({("FINAL_GEIF__id1"|->2|->"A_equ2__tst2"|->2|->"{1,2,3,4}")}|->FALSE),({("FINAL_GEIF__id2"|->3|->"A_equ2__tst1"|->3|->"{1,2,3,4}")}|->FALSE),({("FINAL_GEIF__id2"|->4|->"A_equ2__tst2"|->4|->"{1,2,3,4}")}|->FALSE)} '
9151 ], 'Scrambled version of test 2004; Variation of test 2003 with file which did not exhibit initial problem').
9152 cli_testcase(2279,[private],[
9153 '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE', '-p', 'RAISE_ABORT_IMMEDIATELY', 'FALSE',
9154 '-p', 'DATA_VALIDATION', 'TRUE',
9155 '../prob_examples/examples/B/ClearSy/Caval/2020/01_Jan/memory/Debug__2486__INF/rule_OPS_SDS_2486/rule_bugly.mch',
9156 %'../private_examples/ClearSy/2020/01_Jan/memory/Debug__2486__TO_STRING/rule_OPS_SDS_2486/rule.mch',
9157 '-execute', 4, %'-execute_all', '-execute_expect_steps', 5, %'-silent',
9158 '-animate_stats',
9159 '-evalt', 'aa151=TRUE & aa153=TRUE & aa155=FALSE'
9160 ], 'Scrambled version of 2007 restricted to 4 steps; Test infinite loop in instantiated_enough for filter_cannot_match in b_compiler solved. Also test enum warning due to seq/set type and record values solved.').
9161 cli_testcase(2280, [cdclt], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
9162 '-p', 'TIME_OUT', '60000',
9163 '-p', 'cdclt_perform_symmetry_breaking', 'false', % disable bliss to avoid GC: marked cell count is wrong SPRM-21543
9164 '../prob_examples/public_examples/EventBPrologPackages/SSF/Bepi_Soton/M0_mch.eventb', '-init',
9165 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/Bepi_Soton/M0_mch_monolithic_bmc_k_0.eval',
9166 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/Bepi_Soton/M0_mch_monolithic_bmc_k_1.eval',
9167 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/Bepi_Soton/M0_mch_monolithic_bmc_k_2.eval',
9168 '-eval', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/Bepi_Soton/M0_mch_monolithic_bmc_k_0.eval',
9169 '-eval', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/Bepi_Soton/M0_mch_monolithic_bmc_k_1.eval',
9170 '-eval', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/Bepi_Soton/M0_mch_monolithic_bmc_k_2.eval'
9171 ], 'Double check CDCL(T) solver for BMC constraints that cannot be decided due to the use of unfixed deferred sets.').
9172 cli_testcase(2281, [cdclt], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
9173 '-p', 'TIME_OUT', '60000',
9174 '-p', 'cdclt_perform_symmetry_breaking', 'false', % disable bliss to avoid GC: marked cell count is wrong SPRM-21543
9175 '../prob_examples/public_examples/EventBPrologPackages/SSF/Bepi_Soton/M1_mch.eventb', '-init',
9176 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/Bepi_Soton/M1_mch_monolithic_bmc_k_0.eval',
9177 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/Bepi_Soton/M1_mch_monolithic_bmc_k_1.eval',
9178 '-evalt', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/Bepi_Soton/M1_mch_monolithic_bmc_k_2.eval',
9179 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/Bepi_Soton/M1_mch_monolithic_bmc_k_0.eval',
9180 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/Bepi_Soton/M1_mch_monolithic_bmc_k_1.eval',
9181 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/Bepi_Soton/M1_mch_monolithic_bmc_k_2.eval'
9182 ], 'Double check CDCL(T) solver for BMC constraints some of which cannot be decided due to the use of unfixed deferred sets.').
9183 cli_testcase(2282, [cdclt], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
9184 '-p', 'TIME_OUT', '60000',
9185 '-p', 'cdclt_use_idl_theory_solver', 'true',
9186 '../prob_examples/public_examples/B/SmtSolverTests/PM_M0_AAI/PM_M0_AAI.eventb', '-init',
9187 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M0_AAI/M0_AAI_monolithic_bmc_k_0.eval',
9188 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M0_AAI/M0_AAI_monolithic_bmc_k_1.eval',
9189 '-evalf', ':cdclt #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M0_AAI/M0_AAI_monolithic_bmc_k_2.eval', % ProB is not able to double check the result
9190 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M0_AAI/M0_AAI_monolithic_bmc_k_0.eval',
9191 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M0_AAI/M0_AAI_monolithic_bmc_k_1.eval',
9192 '-evalf', ':cdclt-free #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M0_AAI/M0_AAI_monolithic_bmc_k_2.eval'
9193 ], 'Double check CDCL(T) solver for BMC constraints including IDL constraints.').
9194 cli_testcase(2283,[private_source_not_available],[
9195 '-p', 'JVM_PARSER_HEAP_MB', '12000', '-p', 'TIME_OUT', 20000, '-p', 'DATA_VALIDATION', 'TRUE', '-release-java-parser',
9196 '../private_examples/ClearSy/2023/rules_GDE_TAILLE_loss/rule_CHAMPS_COMMUNS_AUX_FICHIERS_MCMDORIGINE_RVF64_MCMD_FOLIO.mch',
9197 '-execute_all', '-execute_expect_steps', 10, %'-silent',
9198 '-animate_stats',
9199 '-evalt', 'card(caval__rule__3__ALL)=426',
9200 '-evalt', 'card(caval__rule__4__ALL)=395',
9201 '-evalt', 'card(caval__rule__6__ALL)=395',
9202 '-evalt', 'card(caval__rule__8__ALL)=563',
9203 '-evalt', 'caval__rule__8__done=TRUE'
9204 ], 'Issue with allow_to_lift_exists annotation for domain/range solved.'). % takes about 70 seconds; has strongly nested type with huge cardinalities
9205 cli_testcase(2284,[tickets],[
9206 '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
9207 '-evalt', '{x|x<:BOOL & card(x) <= 0} = {{}}',
9208 '-evalt', '{x|x<:BOOL & card(x) = 0} = {{}}',
9209 '-evalt', '{x|x<:BOOL & card(x) > 0} = {{TRUE,FALSE},{TRUE},{FALSE}}',
9210 '-evalt', '{x|x<:BOOL & card(x) >= 1} = {{TRUE,FALSE},{TRUE},{FALSE}}'
9211 ], 'Detect card to equal/not_equal empty_set transformations work correctly').
9212 cli_testcase(2285,[b_test,refinement,json_trace_replay],[
9213 '../prob_examples/public_examples/B/Tester/TraceReplay/CheckOptimizedReplay.mch',
9214 '-expcterr', 'replay_json_trace_file', % it is actually a warning for imprecise replay
9215 '-expcterr', 'trace_replay', % ditto
9216 '-evalt', 'cnt=5 & pc=1', % check we are in right end state
9217 '-trace_replay', 'json', '../prob_examples/public_examples/B/Tester/TraceReplay/CheckOptimizedReplay.prob2trace'
9218 ], 'Check flexible replay where parameter is negated').
9219 cli_testcase(2286,[infinite,cbc],[
9220 '-evalt', 'closure1({1|->2,2|->3}) : 1..3 <-> 1..3',
9221 '-evalf', 'closure({1|->2,2|->3}) : 1..3 <-> 1..3',
9222 '-evalf', 'closure({1|->2,2|->3}) : INTEGER <-> 1..3',
9223 '-evalf', 'closure({1|->2,2|->3}) : 1..3 <-> INTEGER',
9224 '-evalf', 'closure({1|->2,2|->3}) : 1..3 <->> 1..3',
9225 '-evalf', 'closure({1|->2,2|->3}) : 1..3 <<-> 1..3',
9226 '-evalf', 'closure({1|->2,2|->3}) : 1..3 <<->> 1..3',
9227 '-evalf', 'closure({1|->2,2|->3}) : 1..3 +-> 1..3',
9228 '-evalf', 'closure({1|->2,2|->3}) : 1..3 +->> 1..3',
9229 '-evalf', 'closure({1|->2,2|->3}) : 1..3 --> 1..3',
9230 '-evalf', 'closure({1|->2,2|->3}) : 1..3 -->> 1..3',
9231 '-evalf', 'closure({1|->2,2|->3}) : 1..3 >-> 1..3',
9232 '-evalf', 'closure({1|->2,2|->3}) : 1..3 >->> 1..3',
9233 '-evalf', 'closure({1|->2,2|->3}) : 1..3 >+> 1..3',
9234 '-evalt', 'f=%x.(x:INTEGER|x*x) & f:INTEGER +-> INTEGER',
9235 '-evalf', 'f=%x.(x:INTEGER|x*x) & f:INTEGER >+> INTEGER'
9236 % does not work yet: closure({1|->2,2|->3}) /: 1..3 <-> 1..3
9237 ], 'Check infinite reflexive closure result can be checked symbolically').
9238 cli_testcase(2287,[private_source_not_available],[
9239 '-p', 'JVM_PARSER_HEAP_MB', '12000', '-p', 'TIME_OUT', 25000, '-p', 'DATA_VALIDATION', 'TRUE', '-release-java-parser',
9240 '../private_examples/ClearSy/2023/Machines_perf_0111/Thales_All/rule_zcpa2.mch',
9241 '-noinv', % there are invariant violations
9242 '-execute_all', '-execute_expect_steps', 5, %'-silent',
9243 '-animate_stats',
9244 '-evalt', 'caval__rule__1__done=TRUE & caval__rule__2__done=TRUE',
9245 '-evalt', 'card(caval__rule__1__ALL)=96',
9246 '-evalt', 'card(caval__rule__2__ALL)=17'
9247 ], 'Issue with virtual timeout in exists for rel_composition/iterate solved.'). % takes about 30 seconds
9248 cli_testcase(2288, [smt_solver_integration], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
9249 '-p', 'TIME_OUT', '20000',
9250 '../prob_examples/public_examples/B/SmtSolverTests/PM_M0_AAI/PM_M0_AAI.eventb', '-init',
9251 '-evalf', ':z3-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M0_AAI/M0_AAI_monolithic_bmc_k_0.eval',
9252 '-evalf', ':z3-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M0_AAI/M0_AAI_monolithic_bmc_k_1.eval',
9253 '-evalf', ':z3 #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M0_AAI/M0_AAI_monolithic_bmc_k_2.eval', % ProB is not able to double check the result
9254 '-evalf', ':z3-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M0_AAI/M0_AAI_monolithic_bmc_k_0.eval',
9255 '-evalf', ':z3-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M0_AAI/M0_AAI_monolithic_bmc_k_1.eval',
9256 '-evalf', ':z3-free #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M0_AAI/M0_AAI_monolithic_bmc_k_2.eval'
9257 ], 'Double check Z3 solver for BMC constraints including IDL constraints.').
9258 cli_testcase(2289, [smt_solver_integration], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
9259 '-p', 'TIME_OUT', '1000',
9260 '-p', 'z3_solve_for_animation', 'true',
9261 '../prob_examples/public_examples/B/SmtSolverTests/unfixed_deferred_sets/simple_unfixed_deferred_sets.mch', '-init',
9262 '-evalt', ':z3-double-check f:BOOL --> DS3',
9263 '-evalt', ':z3-double-check f:BOOL >-> DS3',
9264 '-evalf', ':z3-double-check !x.(x:INTEGER => card(DS) = x)',
9265 '-evalf', ':z3-double-check !x.(x:INTEGER => card(DS3) = x)',
9266 '-evalf', ':z3-double-check f:1..4 >-> DS3',
9267 '-evalf', ':z3-double-check f:1..4 >->> DS3',
9268 '-evalf', ':z3-double-check f:BOOL -->> DS3',
9269 '-evalt', ':z3-double-check x:INTEGER & card(DS) = x',
9270 '-evalt', ':z3-double-check x:INTEGER & card(DS3) = x',
9271 '-evalt', ':z3-double-check f:1..3 -->> DS3',
9272 '-evalt', ':z3-double-check f:BOOL <-> DS3',
9273 '-evalt', ':z3-free-double-check f:BOOL --> DS3',
9274 '-evalt', ':z3-free-double-check f:BOOL >-> DS3',
9275 '-eval', ':z3-free-double-check !x.(x:INTEGER => card(DS) = x)', % unfixed deferred set
9276 '-eval', ':z3-free-double-check !x.(x:INTEGER => card(DS3) = x)', % unfixed deferred set
9277 '-eval', ':z3-free-double-check f:1..4 >-> DS3', % unfixed deferred set
9278 '-eval', ':z3-free-double-check f:1..4 >->> DS3', % unfixed deferred set
9279 '-eval', ':z3-free-double-check f:BOOL -->> DS3', % unfixed deferred set
9280 '-evalt', ':z3-free-double-check x:INTEGER & card(DS) = x',
9281 '-evalt', ':z3-free-double-check x:INTEGER & card(DS3) = x',
9282 '-evalt', ':z3-free-double-check f:1..3 -->> DS3',
9283 '-evalt', ':z3-free-double-check f:BOOL <-> DS3',
9284 '-eval', ':z3-free-double-check f:1..5 -->> (DS3*(1..2))', % nested unfixed deferred set
9285 '-eval', ':z3-free-double-check f:1..6 -->> (DS3*(1..2))'
9286 ], 'Double check Z3 solver for constraints involving unfixed deferred sets.').
9287 cli_testcase(2290, [cdclt], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
9288 '-p', 'TIME_OUT', '60000',
9289 '../prob_examples/public_examples/B/SmtSolverTests/unfixed_deferred_sets/simple_unfixed_deferred_sets.mch', '-init',
9290 '-evalt', ':cdclt-double-check f:BOOL --> DS3',
9291 '-evalt', ':cdclt-double-check f:BOOL >-> DS3',
9292 '-evalf', ':cdclt-double-check !x.(x:INTEGER => card(DS) = x)',
9293 '-evalf', ':cdclt-double-check !x.(x:INTEGER => card(DS3) = x)',
9294 '-evalf', ':cdclt-double-check f:1..4 >-> DS3',
9295 '-evalf', ':cdclt-double-check f:1..4 >->> DS3',
9296 '-evalf', ':cdclt-double-check f:BOOL -->> DS3',
9297 '-evalt', ':cdclt-free-double-check x:INTEGER & card(DS) = x',
9298 '-evalt', ':cdclt-free-double-check x:INTEGER & card(DS3) = x',
9299 '-evalt', ':cdclt-double-check f:1..3 -->> DS3',
9300 '-evalt', ':cdclt-double-check f:BOOL <-> DS3',
9301 '-evalt', ':cdclt-free-double-check f:BOOL --> DS3',
9302 '-evalt', ':cdclt-free-double-check f:BOOL >-> DS3',
9303 '-eval', ':cdclt-free-double-check !x.(x:INTEGER => card(DS) = x)', % unfixed deferred set
9304 '-eval', ':cdclt-free-double-check !x.(x:INTEGER => card(DS3) = x)', % unfixed deferred set
9305 '-eval', ':cdclt-free-double-check f:1..4 >-> DS3', % unfixed deferred set
9306 '-eval', ':cdclt-free-double-check f:1..4 >->> DS3', % unfixed deferred set
9307 '-eval', ':cdclt-free-double-check f:BOOL -->> DS3', % unfixed deferred set
9308 '-evalt', ':cdclt-free-double-check x:INTEGER & card(DS) = x',
9309 '-evalt', ':cdclt-free-double-check x:INTEGER & card(DS3) = x',
9310 '-evalt', ':cdclt-free-double-check f:1..3 -->> DS3',
9311 '-evalt', ':cdclt-free-double-check f:BOOL <-> DS3',
9312 '-eval', ':cdclt-free-double-check f:1..5 -->> (DS3*(1..2))', % nested unfixed deferred set
9313 '-eval', ':cdclt-free-double-check f:1..6 -->> (DS3*(1..2))'
9314 ], 'Double check CDCL(T) solver for constraints involving unfixed deferred sets.').
9315 cli_testcase(2291, [external,reals,wd], [
9316 '-evalt', 'max({2.0,3.0,x})=r & x:{2.0,4.1} & r>3.0',
9317 '-evalt', 'min({2.0,3.0,x})=r & x:{2.0,1.1} & r<2.0',
9318 '-evalf', 'min({2.0,3.0,x})=r & x:{2.0,4.1} & r>3.0',
9319 '-evalt', 'max(ran(%x.(x:1..100|2.0 / real(x)))) = 2.0',
9320 '-evalt', 'min(ran(%x.(x:1..100|2.0 / real(x)))) = 0.02',
9321 '-evalt', 'min(ran(%x.(x:1..100|-2.0 / real(x)))) = -2.0',
9322 '-evalt', ':wd ll<:REAL & ll/={} & ll:FIN(ll) & ff=max(ll)', % from test 2018 with REAL
9323 '-evalt', ':wd ll<:REAL & ll/={} & ll:FIN(ll) & ff=min(ll)',
9324 '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE'
9325 ], 'check min and max work with reals').
9326 cli_testcase(2292, [smt_solver_integration], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
9327 '-p', 'TIME_OUT', '1000',
9328 '-p', 'z3_solve_for_animation', 'true',
9329 '../prob_examples/public_examples/TLC/NoError/safecap2549260349036854403.mch', '-init',
9330 '-eval', ':z3-double-check not(tl : TRAIN +-> AMBIT) & tl = {} <+ {tt |-> {A_S10 |-> AD,S10_S12 |-> AE,S12_S14 |-> AG,S14_S16 |-> AI,S14_S116 |-> AI,S16_B |-> AL,S116_C |-> BL}({A_B |-> A_S10,A_C |-> A_S10}(ll))}',
9331 '-eval', ':z3-double-check not(tl : TRAIN +-> AMBIT) & tl = {tt |-> AD}',
9332 '-eval', ':z3-double-check aa : TRAIN -->> AMBIT',
9333 '-eval', ':z3-free-double-check not(tl : TRAIN +-> AMBIT) & tl = {} <+ {tt |-> {A_S10 |-> AD,S10_S12 |-> AE,S12_S14 |-> AG,S14_S16 |-> AI,S14_S116 |-> AI,S16_B |-> AL,S116_C |-> BL}({A_B |-> A_S10,A_C |-> A_S10}(ll))}',
9334 '-eval', ':z3-free-double-check not(tl : TRAIN +-> AMBIT) & tl = {tt |-> AD}',
9335 '-eval', ':z3-free-double-check aa : TRAIN -->> AMBIT'
9336 ], 'Double check Z3 solver for constraints involving unfixed deferred sets.').
9337 cli_testcase(2293, [cdclt], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
9338 '-p', 'TIME_OUT', '60000',
9339 '../prob_examples/public_examples/TLC/NoError/safecap2549260349036854403.mch', '-init',
9340 '-eval', ':cdclt-double-check not(tl : TRAIN +-> AMBIT) & tl = {} <+ {tt |-> {A_S10 |-> AD,S10_S12 |-> AE,S12_S14 |-> AG,S14_S16 |-> AI,S14_S116 |-> AI,S16_B |-> AL,S116_C |-> BL}({A_B |-> A_S10,A_C |-> A_S10}(ll))}',
9341 '-eval', ':cdclt-double-check not(tl : TRAIN +-> AMBIT) & tl = {tt |-> AD}',
9342 '-eval', ':cdclt-double-check aa : TRAIN -->> AMBIT',
9343 '-eval', ':cdclt-free-double-check not(tl : TRAIN +-> AMBIT) & tl = {} <+ {tt |-> {A_S10 |-> AD,S10_S12 |-> AE,S12_S14 |-> AG,S14_S16 |-> AI,S14_S116 |-> AI,S16_B |-> AL,S116_C |-> BL}({A_B |-> A_S10,A_C |-> A_S10}(ll))}',
9344 '-eval', ':cdclt-free-double-check not(tl : TRAIN +-> AMBIT) & tl = {tt |-> AD}',
9345 '-eval', ':cdclt-free-double-check aa : TRAIN -->> AMBIT'
9346 ], 'Double check CDCL(T) solver for constraints involving unfixed deferred sets.').
9347 cli_testcase(2294, [cdclt], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
9348 '-p', 'TIME_OUT', '60000',
9349 '../prob_examples/public_examples/B/PerformanceTests/ModelChecking/BooleanFunctions.mch', '-init',
9350 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/BooleanFunctions/BooleanFunctions_monolithic_bmc_k_3.eval',
9351 %'-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/BooleanFunctions/BooleanFunctions_monolithic_bmc_k_4.eval', % sometimes throws enumeration warning
9352 % '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/BooleanFunctions/BooleanFunctions_monolithic_bmc_k_5.eval', % comment out to avoid unknowns in buildbot
9353 %'-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/BooleanFunctions/BooleanFunctions_monolithic_bmc_k_6.eval', % can take some time
9354 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/BooleanFunctions/BooleanFunctions_monolithic_bmc_k_3.eval',
9355 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/BooleanFunctions/BooleanFunctions_monolithic_bmc_k_4.eval'
9356 % '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/BooleanFunctions/BooleanFunctions_monolithic_bmc_k_5.eval' % sometimes unknown on buildbot
9357 %'-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/BooleanFunctions/BooleanFunctions_monolithic_bmc_k_6.eval' % can take some time
9358 ], 'Double check CDCL(T) solver for constraints involving choice points within ProB\'s constraint solver for which we use chronological backtracking instead of backjumping.').
9359 cli_testcase(2295, [eventb_test, theories], [
9360 '-p', 'AUTO_DETECT_THEORY_MAPPING', 'TRUE',
9361 '../prob_examples/public_examples/EventBPrologPackages/Theory/Float/ctx_float_tests_nodiv_ctx.eventb',
9362 '-assertions'],
9363 'Check that Event-B float theory with inductive datatype').
9364 cli_testcase(2296, [cbc], [
9365 '../prob_examples/public_examples/EventBPrologPackages/Tickets/Cansell_RingLead/elect2_2_mch.eventb',
9366 '-evalf', ':prob-file ../prob_examples/public_examples/EventBPrologPackages/Tickets/Cansell_RingLead/bmc/elect2_2_mch_monolithic_bmc_k_1.eval'], 'Ensure we do not produce unfixed_deferred_set Unknown result').
9367 cli_testcase(2297, [cbc], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
9368 '-evalt', '{y|y<:BOOL & %x.(x:INTEGER|x+1)(card(y))=2} = {{FALSE},{TRUE}}',
9369 '-evalt', '{x|x<:BOOL & %x.(x:INTEGER|x+1)(card(x))=2} = {{FALSE},{TRUE}}',
9370 '-evalt', '{v|(%(x,v).(x:INTEGER|x*v)(v|->v))=100} = {-10,10}'
9371 ], 'Check no issues with variable clashes and lambda function (inlining)').
9372 cli_testcase(2298,[private_source_not_available],[
9373 '-p', 'JVM_PARSER_HEAP_MB', '12000', '-p', 'TIME_OUT', 20000, '-p', 'DATA_VALIDATION', 'TRUE', '-release-java-parser',
9374 '../private_examples/ClearSy/2019_May/perf_3264/rule_186.mch',
9375 '-execute', 49, %'-silent',
9376 '-animate_stats',
9377 '-evalt', 'card(ic___OPS_SDS_3264_BBS)=218',
9378 '-evalt', 'card(ic___OPS_SDS_3264_DPS)=185',
9379 '-evalt', 'card(ic___edge_chaining)=304',
9380 '-evalt', 'card(ic___ns___edge_paths)=17186',
9381 '-evalt', 'caval__ic___ns___edge_paths__initialized=TRUE',
9382 '-evalt', 'caval__ic___edge_normal_chaining__done=TRUE',
9383 '-evalt', 'caval__ic___OPS_SDS_3264_OTHER_DP_IN_BLOCK__done = TRUE',
9384 '-evalt', 'caval__acc___edge__LINK_DOWN_TANGENT__done=TRUE'
9385 ], 'Issue with lambda treatment of b_test_closure.'). % takes about 62 seconds for 49 steps; difficult step is number 51
9386 cli_testcase(2299, [cbc,cbc_tests], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
9387 '../prob_examples/public_examples/B/TestCaseGeneration/Ontology/Person_incremental.mch',
9388 '-cbc_sequence_with_target', 'add', '{(hasSpeed |-> 0)} : dom(testcases)',
9389 '-cbc_sequence_with_target', 'add', '{(hasSpeed |-> 1)} : dom(testcases)'
9390 ], 'Check issue with expansion of large set solved').
9391 cli_testcase(2300, [cbc], [%'-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
9392 '-evalt', '/*@symbolic */ {x|x:1..100000000 & x / 22 > 10} = x & (x={} <=> B=TRUE)',
9393 '-evalt', '/*@symbolic */ {x|x>2 & x / 22 > 10} = x & (x={} <=> B=TRUE)',
9394 '-evalf', '/*@symbolic */ {x|x>2 & x / 22 > 10} = x & (x={} <=> B=TRUE) & /*@symbolic */ {x|x>2 & x / 23 > 11} = x & (x={} <=> B=FALSE)',
9395 '-evalt', '/*@symbolic */ {x|x>2 & x / 22 > 10} = x & (x*{1}) /= (x*{2})',
9396 % some with WD conditions:
9397 '-evalt', '/*@symbolic */ {x|x:1..100000000 & x mod 22=1} = x & (x={} <=> B=TRUE)',
9398 '-evalt', '/*@symbolic */ {x|x>2 & x mod 22=1} = x & (x={} <=> B=TRUE)',
9399 '-evalf', '/*@symbolic */ {x|x>2 & x mod 22=1} = x & (x={} <=> B=TRUE) & /*@symbolic */ {x|x>2 & x mod 23=1} = x & (x={} <=> B=FALSE)',
9400 '-evalt', '/*@symbolic */ {x|x>2 & x mod 22=1} = x & (x*{1}) /= (x*{2})',
9401 '-evalf', '/*@symbolic */ {x|x<0 & x mod 22=1 & x>-1000} = x & (x={} <=> B=TRUE) & (!x.(x:1..10000 => (B=FALSE <=> x+x < 20000))) & (!x.(x:1..10000 => (B=TRUE <=> x+x < 20000))) '
9402 ], 'Check that empty-ness check of closures has been improved').
9403 cli_testcase(2301, [csp_test], [
9404 '../prob_examples/public_examples/CSP/Tickets/304/SetChannelSynchronisation.csp',
9405 '-t'
9406 ], 'Check issue 304 with synchronisation of CSP sets').
9407 cli_testcase(2302, [cbc], [%'-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
9408 '-evalt', 'id0 <: {1} & INTEGER - id0 +-> {} : FIN1(INTEGER +-> {})',
9409 '-evalt', 'id0 <: {1} & INTEGER - id0 +-> {} : POW1(INTEGER +-> {})',
9410 '-evalt', 'id0 <: {1} & INTEGER - id0 +-> {} : FIN(INTEGER +-> {})',
9411 '-evalt', 'INTEGER --> {1} : FIN1(INTEGER --> {1})'
9412 ], 'Check no problem with inf Prolog term for cardinality').
9413 cli_testcase(2303, [infinite,b_test,json_trace_replay], [
9414 '../prob_examples/public_examples/B/PerformanceTests/DeferredSets/InfiniteDeferredSets.mch',
9415 '../prob_examples/public_examples/B/PerformanceTests/DeferredSets/InfiniteDeferredSets2.mch',
9416 '-trace_replay', 'json', % model name removed in trace file
9417 '../prob_examples/public_examples/B/PerformanceTests/DeferredSets/InfiniteDeferredSets.prob2trace',
9418 '-expcterr', 'virtual_time_out', % TODO: should this be generated here?
9419 '-evalt', 'ID2 /= ID3 & {iv}:FIN1(ID) & {iv,ID2,ID3,ID4}:FIN1(ID)',
9420 '-evalt', '#ss.(ss<:ID & card(ss) = 3)',
9421 '-evalt', '#ss.(ss<:ID & card(ss) = 20)',
9422 '-evalt', 'ss={iv,ID2,ID3,ID4} & ii /: ss',
9423 '-evalf', 'ID : FIN(ID)',
9424 '-evalt', 'not(ID = {iv})',
9425 '-evalf', '(ID = {iv})',
9426 '-evalt', 'iv:ID',
9427 '-evalt', '#x.(x /= iv)',
9428 '-evalt', 'not(#x.(ID = {x}))',
9429 '-evalf', '(#x.(ID = {x}))',
9430 '-evalf', '(B=TRUE <=> ({x}=ID)) & (B=TRUE <=> ({x} /= ID))',
9431 '-evalt', 'f:BOOL >-> ID',
9432 '-evalf', 'f:BOOL >->> ID'
9433 ], 'Check issue 304 with synchronisation of CSP sets').
9434 cli_testcase(2304, [wd,wd_prover], [ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
9435 '../prob_examples/public_examples/EventBPrologPackages/ProofDirected/benchmarks/mondex_m3.eventb',
9436 '-silent',
9437 '-wd', 65, 72, '-timeout', 400 % timeout per PO
9438 ], 'Test we no longer prove all POs'). % some were unprovable, old remove_finite cleanup rule was unsound for proving
9439 cli_testcase(2305, [external,reals,json_trace_replay], [
9440 '../prob_examples/public_examples/B/Tester/TraceReplay/TestNonDetInitReplayReals.mch',
9441 '-trace_replay', 'json', '../prob_examples/public_examples/B/Tester/TraceReplay/TestNonDetInitReplayReals.prob2trace',
9442 '-evalt', 'ff(aa)=30.0 & ff(bb)=21.0'
9443 ], 'Check trace replay with becomes element of :: and reals work').
9444 cli_testcase(2306, [infinite,eventb_test,json_trace_replay], [
9445 '../prob_examples/examples/EventBPrologPackages/SEMCODT/MachineSystemLibrary_mch.eventb',
9446 '-expcterr', 'virtual_time_out', % TODO: should this be generated here?
9447 '-trace_replay', 'json', '../prob_examples/examples/EventBPrologPackages/SEMCODT/MachineSystemLibrary_mch.prob2trace'
9448 ], 'Check infinite deferred set works').
9449 cli_testcase(2307, [b_test,let], [%'-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
9450 '-evalt', 'LET x BE x=1+1 IN %y.(y:0..x|y+x+x) END (x) = res & x=0 & res=4',
9451 '-evalf', 'LET x BE x=1+1 IN %y.(y:0..x|y+x+x) END (x) = res & x=0 & res=6',
9452 '-evalt', 'LET x BE x=1+1 IN %y.(y:0..x|y+x+x) END (xx) = res & xx=0 & res=4'
9453 ], 'Check lambda inlining with LET expressions').
9454 cli_testcase(2308, [external,reals,json_trace_replay], [
9455 '../prob_examples/public_examples/B/ErrorMachines/UninitialisedVAR/Person_LeiTai.mch',
9456 '-trace_replay', 'json', '../prob_examples/public_examples/B/ErrorMachines/UninitialisedVAR/Person_LeiTai.prob2trace',
9457 %Note: if we animate one step further we get a problem reading an uninitialised variable
9458 '-evalt', 'card(testcases)=16'
9459 ], 'Check no time-out in invariant due to closure expansion for WF priority').
9460 cli_testcase(2309, [cdclt], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
9461 '-evalt', ':cdclt-double-check y:-10..10 & n:-10..10 & a=IF n>7 THEN 1/y ELSE 1/n END', % rewrite if and add y/=0 and n/=0
9462 '-evalt', ':cdclt-double-check z:-10..10 & a=LET x BE x=1/z IN 2*x*x END', % rewrite let and add z/=0
9463 '-evalt', ':cdclt-double-check z:-10..10 & LET x BE x=1/z IN %y.(y:0..x|y+x+x) END (x) = res', % add z/=0
9464 '-evalt', ':cdclt-double-check x:INTEGER & s:POW(1..10) & x=min(s)', % add s/={}
9465 '-evalt', ':cdclt-double-check x:INTEGER & s:POW(1..10) & x=max(s)', % add s/={}
9466 '-evalt', ':cdclt-double-check x:INTEGER & {(1,2)}(x)=2', % add x:dom({(1,2)})
9467 '-evalf', ':cdclt !(y,n).(y:-10..10 & n:-10..10 => IF n>7 THEN 1/y ELSE 1/n END<100)', % not WD: could be true or false depending on whether you add POs to LHS or RHS of forall
9468 '-evalt', ':cdclt-double-check #(y,n).(y:-10..10 & n:-10..10 & IF n>7 THEN 1/y ELSE 1/n END<100)',
9469 '-evalt', ':cdclt-double-check a=bool(#(y,n).(y:-10..10 & n:-10..10 & IF n>7 THEN 1/y ELSE 1/n END<100))'
9470 ], 'Check rewriting of if- and let-expressions and some WD conditions for the SMT solver').
9471 cli_testcase(2310,[private_source_not_available],[
9472 '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
9473 '../private_examples/ClearSy/2023/rules_GDE_TAILLE_loss/rule_CHAMPS_COMMUNS_AUX_FICHIERS_MCMDORIGINE_RVF64_MCMD_FOLIO.mch',
9474 '-execute_all', '-animate_stats', '-noinv',
9475 '-execute_expect_steps', 10, '-p', 'TIME_OUT', 30000,
9476 '-evalt', 'caval__rule__8__done=TRUE',
9477 '-evalt', 'card(caval__rule__3__ALL)=426 & card(caval__rule__4__ALL)=395 & card(caval__rule__6__ALL)=395' ],
9478 'Ensure no timeout due to exists not lifted'). % now takes about 70 seconds for 10 steps; see e99501de85ca9cba167aec3cbae67c1271121b32
9479 cli_testcase(2311, [proz,json_trace_replay], [
9480 '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
9481 '../prob_examples/public_examples/Z/Daniel/Praxis/network2.tex',
9482 '-trace_replay', 'json', '../prob_examples/public_examples/Z/Daniel/Praxis/network2.prob2trace',
9483 '-evalt', 'card({wsIdle,wsEditing})=2',
9484 '-evalt', 'wsWaiting({1}) = wsWaiting({x})'
9485 ], 'Check JSON trace replay works with freetype ids in trace').
9486 cli_testcase(2312, [eventb_test, theories], ['../prob_examples/public_examples/EventBPrologPackages/Theory/ListTest1.eventb', '-init',
9487 '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
9488 '-evalt', 'cons(2,nil) /= nil',
9489 '-evalf', 'cons(2,nil) = cons(3,x)',
9490 '-evalt', 'cons(x,nil) /= nil & x>2 & x<10',
9491 '-evalt', 'card({cons(2,nil) , cons(3,nil)})=2',
9492 '-evalt', 'cons(TRUE,nil) /= cons(FALSE,nil)'
9493 % '-evalt', 'card({cons(2,nil) , cons(3,nil)})=2 & cons(TRUE,nil) /= cons(FALSE,nil)' % does not work yet; type error
9494 ], 'Checking using polymorphic freetype constructors in formulas').
9495 cli_testcase(2313,[private],[
9496 '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE', '-p', 'RAISE_ABORT_IMMEDIATELY', 'FALSE',
9497 '-p', 'DATA_VALIDATION', 'TRUE',
9498 '../prob_examples/examples/B/ClearSy/Caval/2023/Machines_perf0323/Lowesoft/rule_Eq_9_internal_bugly.mch',
9499 '-execute_all', '-execute_expect_steps', 4, %'-silent',
9500 '-animate_stats',
9501 '-evalt', 'aa56=TRUE & card(aa57)=9670 & aa58=TRUE & aa59={}'
9502 ], 'Test no slowdown'). % was due to apply_check_tuple_delay real division, although issue only appears in original file before scrambling, as it modifies strings and results
9503 cli_testcase(2314,[private_source_not_available],[
9504 '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE', '-p', 'RAISE_ABORT_IMMEDIATELY', 'FALSE',
9505 '-p', 'DATA_VALIDATION', 'TRUE',
9506 '../private_examples/ClearSy/2023/Machines_perf_0323/Lowesoft/rule_Rule_Eq_0009.mch',
9507 '-execute_all', '-execute_expect_steps', 4, %'-silent',
9508 '-animate_stats',
9509 '-evalt', 'caval__rule__1__done=TRUE & card(caval__rule__1__ALL)=9670 & caval__rule__2__done=TRUE & card(caval__rule__2__ALL)=795'
9510 ], 'version of 2313 not scrambled'). % tests fix in 30e348cf02697748b3f902c7f7e7fd2bccd279bb
9511 cli_testcase(2315, [laws,data_validation], [
9512 '../prob_examples/public_examples/B/Laws/RelLaws.mch',
9513 '../prob_examples/public_examples/B/Laws/EqualityLaws.mch',
9514 '../prob_examples/public_examples/B/Laws/BoolLaws.mch',
9515 '../prob_examples/public_examples/B/Laws/ArithmeticLaws.mch',
9516 '../prob_examples/public_examples/B/Laws/SetLaws.mch',
9517 '../prob_examples/public_examples/B/Laws/SetLawsNat.mch',
9518 '../prob_examples/public_examples/B/Laws/CardinalityLaws.mch',
9519 '../prob_examples/public_examples/B/Laws/FunLaws.mch',
9520 '../prob_examples/public_examples/B/Laws/SubstitutionLaws.mch',
9521 '../prob_examples/public_examples/B/Laws/BoolLaws_SetCompr.mch',
9522 '../prob_examples/public_examples/B/Laws/SetLawsPow.mch',
9523 '../prob_examples/public_examples/B/Laws/SetLawsPowPow.mch',
9524 '../prob_examples/public_examples/B/Laws/SetRelLaws_NatBool.mch',
9525 '../prob_examples/public_examples/B/Laws/RelLaws_BOOL1.mch',
9526 '../prob_examples/public_examples/B/Laws/RelLaws_BOOL2.mch',
9527 '../prob_examples/public_examples/B/Laws/RelLaws_BOOL3.mch',
9528 '../prob_examples/public_examples/B/Laws/RelLaws_STRING1.mch',
9529 '../prob_examples/public_examples/B/Laws/RelLaws_REAL1.mch', % still fails with CLP(FD) real solver in 4.10
9530 '../prob_examples/public_examples/B/Laws/RelLaws_REC1.mch',
9531 '../prob_examples/public_examples/B/Laws/FunLawsRecStrings.mch',
9532 '../prob_examples/public_examples/B/Laws/FunLawsRecReals.mch',
9533 '-mc', '500', '-cs', '-nogoal', '-nodead', '-strict','-p', 'DOUBLE_EVALUATION', 'TRUE', '-opterr', 'model_check_incomplete',
9534 '-p', 'CLPFD', 'TRUE', '-p', 'DATA_VALIDATION', 'TRUE'], 'Laws (297,...) with DATA_VALIDATION.').
9535 cli_testcase(2316,[private_source_not_available],[
9536 '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE', '-p', 'RAISE_ABORT_IMMEDIATELY', 'FALSE',
9537 '-p', 'DATA_VALIDATION', 'TRUE', '-release-java-parser', '-noinv',
9538 '../private_examples/ClearSy/2023/perf_0704/rule_genz.mch',
9539 '-execute_all', '-execute_expect_steps', 17, %'-silent',
9540 '-animate_stats',
9541 '-evalt', 'caval__rule__1__done=TRUE & card(caval__rule__1__ALL)=1808 & card(ic___Elementary_ZoneKpMax)=1809'
9542 ], 'test we do not lift gz,bmz_name exists and idle waitflag works without duplication of calls'). % takes around 90 secs
9543 cli_testcase(2317,[wd,wd_prover],[
9544 '-evalt', ':prove x<:INTEGER & card(x):0..1 => x:FIN(x)',
9545 '-evalt', ':prove x<:INTEGER & card(x)<= y => x:FIN(x)',
9546 '-evalt', ':prove x<:INTEGER & card(x)<= 10 => x:FIN(x)',
9547 '-evalt', ':prove x<:INTEGER & card(x)< 10 => x:FIN(x)',
9548 '-evalt', ':prove x<:INTEGER & 10>card(x) => x:FIN(x)',
9549 '-evalt', ':prove x<:INTEGER & y>=card(x) => x:FIN(x)',
9550 '-evalt', ':prove real(1) /= 0.0',
9551 '-evalt', ':prove real(1) /= real(0)',
9552 '-evalt', ':prove floor(1.1) = ceiling(0.9)',
9553 '-evalt', ':prove floor(1.1) /= ceiling(1.1)',
9554 '-evalu', ':prove real(0) /= 0.0'
9555 ], 'check wd prover can use previous card hyps to prove finite and some simple real literals').
9556 cli_testcase(2318,[cbc],[
9557 '-evalt', 'iterate(%x.(x:NATURAL|x+2),2000)[{20}] = {4020}',
9558 '-evalt', 'iterate(%x.(x:NATURAL|x+2),2000)(20) = 4020',
9559 '-evalt', 'iterate(%x.(x:NATURAL|x+2),20000)[{20}] = {40020}',
9560 '-evalt', 'iterate(%x.(x:1..20100|x+2),10000)[{20}] = {20020}',
9561 % now also check that image of closure / closure1 still works:
9562 '-evalt', 'closure1(%x.(x:NATURAL|x/2))[{20}] = {10,5,2,1,0}',
9563 '-evalt', 'closure1(%x.(x:1..1000|x/2))[{20}] = {10,5,2,1,0}',
9564 '-evalt', 'closure(%x.(x:NATURAL|x/2))[{20}] = {20,10,5,2,1,0}',
9565 '-evalt', 'closure(%x.(x:1..1000|x/2))[{20}] = {20,10,5,2,1,0}'
9566 ], 'check performance improvement for image of iterate').
9567 cli_testcase(2319,[smt_solver_integration],[
9568 '-evalt', ':z3-double-check a:REAL',
9569 '-evalt', ':z3-double-check a:REAL & a=1.1',
9570 '-evalt', ':z3-double-check a:REAL & a=-1.1',
9571 '-evalt', ':z3-double-check a:REAL & a/=b',
9572 '-evalt', ':z3-double-check a:REAL & a=1.2*b',
9573 '-evalt', ':z3-double-check a:REAL & a=1.2+b',
9574 '-evalt', ':z3-double-check a:REAL & a=1.2-b',
9575 '-evalt', ':z3-double-check a:REAL & a=1.2/b',
9576 '-evalt', ':z3-double-check a:REAL & b/=0.0 & a=1.2/b',
9577 '-evalt', ':z3-double-check a:REAL & b/=0.0 & b/=1.0 & a=1.2/b',
9578 '-evalt', ':z3-double-check a:REAL & a=1.2*0.5',
9579 '-evalf', ':z3-double-check a:REAL & a=1.2*0.5 & a /= 0.6',
9580 '-evalt', ':z3-double-check a:REAL & a=1.2/0.5',
9581 '-evalt', ':z3-double-check a:REAL & a=1.2+0.5',
9582 '-evalt', ':z3-double-check a:REAL & a=1.2-0.5',
9583 '-evalt', ':z3-double-check a:REAL & a=1.2-0.5',
9584 '-evalt', ':z3-double-check a:REAL & a=max({1.1,1.2,1.3})',
9585 '-evalf', ':z3-double-check a:REAL & a=max({1.1,1.2,1.3}) & a/=1.3',
9586 '-evalt', ':z3-double-check a:REAL & a=min({1.1,1.2,1.3})',
9587 '-evalf', ':z3-double-check a:REAL & a=min({1.1,1.2,1.3}) & a/=1.1',
9588 '-evalt', ':z3-double-check a=1.0/49.0',
9589 '-evalt', ':z3-double-check 0.0=0.0/49.0',
9590 '-evalt', ':z3-double-check a=1.0/1000000000.0',
9591 '-evalt', ':z3 x*2.2=4.4 & x=2.0',
9592 '-evalf', ':z3 x*2.2=4.4 & x=3.0',
9593 '-evalt', ':z3 a=3.2*8.9 & a=28.48',
9594 '-evalt', ':z3-double-check a=3.2/8.9',
9595 '-evalt', ':z3-double-check a=3.2/8.9*3.564',
9596 '-evalt', ':z3-double-check floor(4.2) = 4',
9597 '-evalt', ':z3-double-check floor(4.9) = 4',
9598 '-evalt', ':z3-double-check floor(-4.2) = -5',
9599 '-evalt', ':z3-double-check floor(-4.9) = -5',
9600 '-evalt', ':z3-double-check ceiling(4.2) = 5',
9601 '-evalt', ':z3-double-check ceiling(4.9) = 5',
9602 '-evalt', ':z3-double-check ceiling(-4.2) = -4',
9603 '-evalt', ':z3-double-check ceiling(-4.9) = -4',
9604 '-evalt', ':z3 a:REAL & a=3.2+8.90000000000001 & floor(a)=b & a=12.10000000000001 & b=12',
9605 '-evalt', ':z3 a:REAL & a=3.2+8.9 & floor(a)=b & a=12.1 & b=12',
9606 '-evalf', ':z3 a:REAL & a=3.2+8.9 & floor(a)=b & a=12.1 & b=10',
9607 '-evalf', ':z3 !(id0).(id0 : REAL => 0 <= floor(id0))',
9608 '-evalf', ':z3 !(id0).(id0 : REAL => 0 <= ceiling(id0))',
9609 '-evalf', ':z3 !(id0,id1,id2,id3).(id0 : STRING * INTEGER & id1 : REAL & id2 : POW(INTEGER * POW(INTEGER * STRING)) & id3 : INTEGER & MAXINT / 52 <= floor(id1) => id3 + id3 <= 94 / 31)',
9610 '-evalt', ':z3-double-check id1 : INTEGER & real(id1) = 0.0',
9611 '-evalf', ':z3-double-check id1 : INTEGER & real(id1) = 0.0 & id1 = 1',
9612 '-evalt', ':z3-double-check id0 : REAL & id1 : INTEGER & not(real(id1) /= 0.0 & - ((id0 + 46.65095758838716) / real(id1)) /: dom(union({LAMBDA_RESULT___|LAMBDA_RESULT___ : POW(REAL * POW(INTEGER * REAL)) & bfalse})))',
9613 '-evalt', ':z3-double-check id3 : INTEGER & (42.994762156651845 / 7.561341603220248) * real(id3) <= real(ceiling(29.615766387109186))',
9614 '-evalt', ':z3 id10 : REAL & id11 : POW(REAL) * REAL & id3 : POW(BOOL * (BOOL * POW(BOOL))) & id4 : POW(BOOL * POW(BOOL) * POW(INTEGER)) & ({LAMBDA_RESULT___|LAMBDA_RESULT___ : POW(BOOL * POW(INTEGER) * REAL) & bfalse} /= {} & ((id3 ; id4) <| {rel_x,rel_y|rel_x : BOOL * POW(INTEGER) & rel_y : REAL & (rel_x : {} & rel_y : union({}[{rel_x}]))}) /= (inter({LAMBDA_RESULT___|LAMBDA_RESULT___ : POW(BOOL * POW(INTEGER) * REAL) & bfalse}) /\\ union({LAMBDA_RESULT___|LAMBDA_RESULT___ : POW(BOOL * POW(INTEGER) * REAL) & bfalse}))) <=> 71.86386245644421 * (76.4118627261523 + id10) < - 98.95914556742649 + prj2(id11)'
9615 %'-evalt', ':z3-double-check a=max({1.2,1.3,1.4,0.4}) & b=floor(a)', % Z3 is not able to solve the following formulas
9616 %'-evalt', ':z3-double-check a=max({1.2,1.3,1.4,0.4}) & b=ceiling(a)',
9617 %'-evalt', ':z3-double-check a=min({1.2,1.3,1.4,0.4}) & b=floor(a+0.35)',
9618 %'-evalt', ':z3-double-check a=min({1.2,1.3,1.4,0.4}) & b=ceiling(a*3.2)',
9619 ], 'simple formulas to double check real support of Z3').
9620 cli_testcase(2320,[tickets, infinite],[
9621 '-evalt', 'ran(id2) <: BOOL & {} <<: (pred ; id2)'
9622 ], 'check symbolic composition works with list value'). % required type argument to construct closure
9623 cli_testcase(2322,[tickets, wd],[
9624 '-evalt', '(id0 : seq1(INTEGER) & last(id0) < 84 * MAXINT) <=> (first(id5) /= 0.0 & (id5 : seq1(REAL) & {id6|id6 : POW(INTEGER * REAL) & bfalse} : FIN({id6|id6 : POW(INTEGER * REAL) & bfalse})) & (id4 - 96.9113325147011) / first(id5) < PI(id6).(id6 : POW(INTEGER * REAL) & bfalse|prj1(REAL,POW(REAL))(id7)))',
9625 '-evalt', '(id0 : seq1(INTEGER) & last(id0) < 252) <=> (first(id5) /= 0.0 & (id5 : seq1(REAL) & (id4 - 96.9113325147011) / first(id5) < 1.0))'
9626 %'-expcterr', well_definedness_error % was evalnw but with reification of REAL comparison (3b3f2834dde2a25ffc480300bdf5e11f28a4aabf) we now find solution
9627 ], 'check no pending coroutine').
9628 cli_testcase(2323, [external,wd], [
9629 '-evalt', ':wd x>0 & r:BOOL<->BOOL & iterate(r,x) = res',
9630 '-evalf', ':wd x<10 & r:BOOL<->BOOL & iterate(r,x) = res',
9631 '-evalt', ':wd x:NATURAL & r:BOOL<->BOOL & iterate(r,x) = res',
9632 '-evalt', ':wd x<:BOOL & r:BOOL<->BOOL & iterate(r,card(x)) = res',
9633 '-evalt', ':wd x<:1..10 & r:BOOL<->BOOL & iterate(r,card(x)) = res',
9634 '-evalt', 'r : BOOL<->BOOL & (x:3..4 => iterate(r,y) = iterate(r,y-1)) & y:0..10 & x>10 & x<100'
9635 ], 'check wd works with iterate ').
9636 cli_testcase(2324, [external,tickets], [
9637 '-evalt', ':prob (id0 : seq1(REAL) & real(MININT) = first(id0)) <=> prj2(REAL,REAL)(id1) <= id2'
9638 ], 'ensure default instantiation for REAL generated in case term not needed').
9639 cli_testcase(2325, [wd], [ '-p', 'TRACE_INFO', 'TRUE',
9640 '-evalf', '(card(inter({rr|rr : POW(INTEGER) & rr = NATURAL1})) <= 1 & inter({rr|rr : POW(INTEGER) & rr = NATURAL1}) : FIN(inter({rr|rr : POW(INTEGER) & rr = NATURAL1}))) & SIGMA(id0,id1,id2).(id0 : STRING & id1 : STRING & id2 : STRING & FLOAT <: id3|79 * MININT) >= MU(inter({rr|rr : POW(INTEGER) & rr = NATURAL1}))'
9641 ], 'test improved WD treatment for predicate components'). % WFE grounded at end for all components in one go
9642 cli_testcase(2326, [wd], [ '-p', 'TRACE_INFO', 'TRUE',
9643 '-evalnwd', '(card(inter({rr|rr : POW(INTEGER) & rr = NATURAL1})) <= 1 & SIGMA(id0).(id0 : BOOL|79 * MININT) >= MU(inter({rr|rr : POW(INTEGER) & rr = NATURAL1})))',
9644 '-evalnwd', '(card(inter({rr|rr : POW(INTEGER) & rr = NATURAL1})) <= 1 & SIGMA(id0).(id0 : BOOL|79 * MININT) < 2)',
9645 '-expcterr', 'well_definedness_error'
9646 ], 'test improved WD treatment for predicate components'). % WFE grounded at end for all components in one go
9647 cli_testcase(2327, [b_test], [
9648 '-eval', '{xx,xx|xx:BOOL} =res & res:BOOL<->BOOL',
9649 '-expcterr', 'type_expression_error'
9650 ], 'test duplicate ids in comprehension set detected').
9651 cli_testcase(2328, [b_test,infinite, total_function], [ '-p', 'TRACE_INFO', 'TRUE',
9652 '-eval', '(id10 ; id11) : STRING --> BOOL & ran(id10)<:BOOL',
9653 '-eval', '(id10 ; id11) : STRING --> BOOL & ran(id10)<:BOOL & id11 = id(BOOL)', % this one could be solved in principle
9654 '-evalt', '(id10 ; id11) : STRING --> BOOL & ran(id10)<:BOOL & id11 = id(BOOL) & id10 = STRING*{TRUE}',
9655 '-expcterr', 'eval_string_enum_warning'
9656 ], 'test no call_residue due to symbolic total function closure').
9657 cli_testcase(2329, [wd], [
9658 '-evalnwd', 'max(NATURAL1)>0',
9659 '-evalnwd', 'max(NATURAL)>0',
9660 '-evalnwd', 'max(INTEGER)>0',
9661 '-evalnwd', 'min(INTEGER)<0',
9662 '-expcterr', 'well_definedness_error'
9663 ], 'test reporting of min/max of unbounded global sets as non wd').
9664 cli_testcase(2330, [tickets], [ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
9665 '-evalt', '(id1 : dom(id0) & id0 : POW(INTEGER * POW(POW(STRING))) +-> INTEGER & MININT * 61 < id0(id1)) <=> (id3 : dom(id2) & id2 : INTEGER +-> POW(INTEGER * INTEGER * INTEGER) & prj2(NATURAL,INT) = id2(id3))',
9666 '-evalt', 'x={NATURAL1,NATURAL} & y:x & 0:y' % was also working before
9667 ], 'Check no enumeration warning thrown during normalisation').
9668 cli_testcase(2331, [b_test], [ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
9669 '-evalt', '{x\x22c5\x:1..10|x*x} = {1,4,9,16,25,36,49,64,81,100}', % \x22c5\ is Unicode dot
9670 '-evalt', '{x\x22c5\x:1..10|x*x} = {1,4,9,16,25,36,49,64,81,100}',
9671 '-evalt', '{x,y\x22c5\x:1..5 & y:2..3|x*y} = {2,3,4,6,8,9,10,12,15}',
9672 '-evalt', '{x\x22c5\ x:{x,y\x22c5\x:1..5 & y:2..3|x*y} & x<12 & x>9|x*10} = {100}',
9673 '-evalt', 'prj2(prj1(1|->2|->3)) = 2',
9674 '-evalt', 'prj1(prj1(1|->2|->3)) = 1',
9675 '-evalt', 'prj2(1|->2|->3) = 3',
9676 '-evalt', 'prj2(prj1(1|->2|->3)) = prj2(INTEGER,INTEGER)(prj1(INTEGER*INTEGER,INTEGER)(1|->2|->3))', % mix
9677 '-evalt', 'prj2(INTEGER,INTEGER)[{2}*{3}] = {3}' % old style still works
9678 ], 'Check new Event-B prj1/prj2 and set comprehension syntax').
9679 cli_testcase(2332, [tickets,card], [ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
9680 '-evalt', '(INTEGER /\\ id0) /= {} & INTEGER /\\ id0 : FIN(INTEGER /\\ id0) & card(id0) <= 1 & MU(INTEGER /\\ id0) = 111',
9681 '-evalt', '(INTEGER /\\ id0) /= {} & INTEGER /\\ id0 : FIN(INTEGER /\\ id0) & card(INTEGER /\\ id0) <= 1 & MU(INTEGER /\\ id0) = 0',
9682 '-evalt', '(INTEGER /\\ id0) /= {} & INTEGER /\\ id0 : FIN(INTEGER /\\ id0) & card(INTEGER /\\ id0) <= 1 & MU(INTEGER /\\ id0) >= 0'
9683 ], 'Check cyclic term issue in construct_interval_closure solved').
9684 cli_testcase(2333, [tickets,card,wd], [
9685 '-evalnwd', 'id1 <: INT & 1 < card(seq1(id1))',
9686 %'-evalnwd', ' id1 <: INT & 1 + ceiling(id0) < card(seq1(id1))', % with new solver in 4.10 this finds solution id1={}
9687 '-evalnwd', 'id1 : POW1(INT) & 1 + ceiling(id0) < card(seq1(id1))',
9688 %'-evalnwd', 'id1 : POW1(INT) & 1 + ceiling(id0) < card(seq1(id1)) & id0>11.0 & id0 <11.0+10.0**(-13)', % does not work with 4.9
9689 '-opterr', 'eval_string_enum_warning',
9690 '-expcterr', 'well_definedness_error'
9691 ], 'Check CLPFD unification with inf is prevented').
9692 cli_testcase(2334,[smt_solver_integration],[
9693 '-evalt', ':z3-double-check size([]) /: {}'
9694 ], 'ensure bug in size of empty sequence for Z3 fixed').
9695 cli_testcase(2335,[infinite,external],[
9696 '-evalf', '(INTEGER<->id1) /= {} & INTEGER<->id1 : FIN(INTEGER<->id1) & card(INTEGER<->id1) <= 1 & MU(INTEGER<-> id1) /= {x,y | x : INTEGER & y : BOOL & bfalse}', % used to be -evalu
9697 '-evalnwd', '(INTEGER<->id1) /= {} & card(INTEGER<->id1) <= 1 & MU(INTEGER<-> id1) /= {x,y | x : INTEGER & y : BOOL & bfalse}',
9698 '-opterr', 'eval_string_enum_warning',
9699 '-expcterr', 'well_definedness_error'
9700 ], 'ensure no representation error due to infinite cardinality').
9701 cli_testcase(2336, [infinite], [
9702 '-evalt', 'INTEGER /= {x}',
9703 '-evalf', 'INTEGER = {x}',
9704 '-evalt', '{x} /= INTEGER',
9705 '-evalt', 'REAL /= {x}',
9706 '-evalt', 'FLOAT /= {x}',
9707 '-evalt', 'NATURAL /= {x}',
9708 '-evalt', 'NATURAL1 /= {x}',
9709 '-evalt', 'STRING /= {x}',
9710 '-evalt', '{x,y} /= INTEGER',
9711 '-evalt', '{x,y} /= REAL',
9712 '-evalt', '{x,y,z} /= INTEGER',
9713 '-evalt', '{x,y,z} /= INTEGER <=> B=TRUE',
9714 '-evalt', '{x,y,z} /= INTEGER <=> B=TRUE & card({x,y,z})=3',
9715 '-evalt', '{x|x>1} /= {x}',
9716 '-evalt', '{x|x<2} /= {x}',
9717 '-evalt', '{x} /= {z|z>100}'
9718 %'-evalt', '{x,y,z} /= {z|z>100} <=> B=TRUE' % does not work yet
9719 ], 'test not equal with infinite global sets succeed').
9720 cli_testcase(2337, [wd,tickets], [
9721 '-evalt', '{id19,id20|id19 : BOOL & id20 <: INTEGER}(id1) = x'
9722 % in principle this is a WD error as the relation is not a function
9723 % here this leads to x not being assigned a value as id20 is marked as do_not_enumerate
9724 ], 'test no pending co-routines for WD issue').
9725 cli_testcase(2338, [infinite,tickets], [
9726 '-evalf', 'not({1|->2} : INTEGER <->> {2})',
9727 '-evalt', '({1|->2} : INTEGER <->> {2})',
9728 '-evalt', 'not({1|->2,2|->3} : INTEGER <->> {2})',
9729 '-evalt', 'not({1|->3,2|->3} : INTEGER <->> {2,3})',
9730 '-evalt', 'not({1|->2,2|->4} : INTEGER <->> {2,3,4})',
9731 '-evalf', 'not({1|->4,2|->2} : INTEGER <->> {2,4})',
9732 '-evalt', '({1|->4,2|->2} : INTEGER <->> {2,4})',
9733 '-evalf', 'not({1|->4,2|->3} : INTEGER <->> 3..4)',
9734 '-evalt', '({1|->4,2|->3} : INTEGER <->> 3..4)'
9735 ], 'test issue with negation of surjection_relation').
9736 cli_testcase(2339, [infinite,tickets,reals], [
9737 '-evalt', 'not(REAL <<: {})',
9738 '-evalt', 'not(FLOAT <<: {})',
9739 '-evalt', 'not(FLOAT <<: {1.0})',
9740 '-evalt', 'not(REAL <<: {1.0})',
9741 '-evalt', 'not(REAL <<: {1.0}) & not( REAL <: {}) & not( REAL <: {1.0})',
9742 '-evalf', 'REAL <<: {}',
9743 '-evalf', 'REAL <: {}',
9744 '-evalf', 'REAL <: {1.0,2.0}',
9745 '-evalf', 'FLOAT <: {1.0,2.0}'
9746 ], 'test issue with negation of strict subset for reals').
9747 cli_testcase(2340, [laws,reals], ['../prob_examples/public_examples/B/Laws/RealLaws.mch', '-mc', '600', '-nogoal', '-nodead', '-strict'], 'Some Laws about the REAL datatype').
9748 cli_testcase(2341, [laws,reals,strings], ['../prob_examples/public_examples/B/Laws/SetRelLaws_RecRealString.mch', '-mc', '500', '-nogoal', '-nodead','-expcterr', 'model_check_incomplete'], 'Some Laws using both STRING and REAL datatype').
9749 cli_testcase(2342, [tickets,records], [
9750 '-eval', 'rec(a:1,a:2) = rec(a:1)',
9751 '-expcterr', 'type_expression_error'
9752 ], 'test duplicate record field with same type detected').
9753 cli_testcase(2343, [b_test,refinement],['../prob_examples/public_examples/B/RefinementChecking/Simple/ifabc1.mch', '-init', '-ref_check','F', '../prob_examples/public_examples/B/RefinementChecking/Simple/ifabc2_refine_spec.P'], 'Test failure trace refinement checking for B.').
9754 cli_testcase(2344, [b_test,refinement],['../prob_examples/public_examples/B/RefinementChecking/Simple/ifabc2.mch', '-init', '-ref_check', 'F', '../prob_examples/public_examples/B/RefinementChecking/Simple/ifabc1_refine_spec.P',
9755 '-expcterr', 'refinement_check_fails'], 'Test failure trace refinement checking for B finds counter example.').
9756 cli_testcase(2345, [cbc,json_trace_replay],['../prob_examples/public_examples/B/PerformanceTests/SAT_Tests/IceCream_Generic.mch',
9757 '-trace_replay', 'json', '../prob_examples/public_examples/B/PerformanceTests/SAT_Tests/IceCream_Generic.prob2trace'],
9758 'Test example is now solved without SMT mode.').
9759 cli_testcase(2346, [cbc],['../prob_examples/examples/EventBPrologPackages/Stock/concreteTrace_ctx.eventb',
9760 '-init'],
9761 'Test propagation of empty total function range to relation').
9762 cli_testcase(2347, [cbc,random],['../prob_examples/public_examples/B/Mathematical/Info4/TuringMachine_Cook_SAT.mch',
9763 '-evalt', ':prob #Alphabet.(1:Alphabet)', % and check existential quantifier with clash not removed
9764 '-evalt', '#Alphabet.(1:Alphabet)', % ditto
9765 '-evalt', ':prob #Alphabet.(I/:Alphabet)', % ditto
9766 '-evalf', '!x.(x : POW(Alphabet) => card(x) = 3)', % ditto
9767 '-init'],
9768 'Test SAT-style encoding of Cook of TM works').
9769 cli_testcase(2348, [tickets,records], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
9770 '-evalf', '{x,y,z,v,w,a} <: 1..3 & {x|->y,x|->z,v|->z,v|->w,a|->w,w|->a} /\\ {z|->y,z|->v,y|->x,w|->x,w|->z,a|->z,a|->y,w|->y,a|->x,v|->y} = {}',
9771 '-evalt', '{x,y,z,v,w,a} <: 1..150 & {x|->y,x|->z,v|->z,v|->w,a|->w,w|->a} /\\ {z|->y,z|->v,y|->x,w|->x,w|->z,a|->z,a|->y,w|->y,a|->x,v|->y} = {}',
9772 '-evalt', '{x,y,z,v,w,a} <: 1..3 & {x|->y,x|->z,v|->z,v|->w,a|->w,w|->a} /\\ {z|->y,z|->v,y|->x,w|->x,w|->z,a|->z,a|->y,w|->y,a|->x} = {}'
9773 ], 'Test expansion of disjointness of set extensions').
9774 cli_testcase(2349, [csp_test], [
9775 '../prob_examples/public_examples/CSP/other/Kleine/needham-schroeder.csp',
9776 '-assertions', '-p', 'TIME_OUT', 5000], % increase time-out as test can sometimes fail on slow test runners
9777 'Test no call residues due to ignore_infinite_datatypes kludge.').
9778 cli_testcase(2350, [tickets,external], [ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
9779 '-evalt', 'e_ne : {rec(Id:{"ne_1717"}),rec(Id:{"ne_102"})} & MU(e_ne\'Id) = "ne_1717" & i_e = "sig1725" & {iC1,iC2} <: ({"ne_1717" |->{("ic1"|->0.0),("ic2"|->0.167),("ic3"|->1.0)}})(MU(e_ne\'Id))~ & prj1(iC1) <= 0.2 & 0.2 < prj1(iC2) & {(0.0|->"ic1"|->1),(0.167|->"ic2"|->2),(1.0|->"ic3"|->3)}(iC1) = pred({(0.0|->"ic1"|->1),(0.167|->"ic2"|->2),(1.0|->"ic3"|->3)}(iC2))', % used to fail
9780 '-evalt', 'e_ne : {rec(Id:{"ne_1717"}),rec(Id:{"ne_102"})} & MU(e_ne\'Id) = "ne_1717" & i_e = "sig1725" & {iC1,iC2} <: ({"ne_1717" |->{("ic1"|->0.0),("ic2"|->0.167),("ic3"|->1.0)}})(MU(e_ne\'Id))~ & prj1(iC1) <= 0.2 & 0.2 < prj1(iC2) & {(0.0|->"ic1"|->1),(0.167|->"ic2"|->2),(1.0|->"ic3"|->3)}(iC1) = pred({(0.0|->"ic1"|->1),(0.167|->"ic2"|->2),(1.0|->"ic3"|->3)}(iC2)) & iC1 = (0.167|->"ic2")', % was ok
9781 '-evalt', 'e_ne : {rec(Id:{"ne_1717"}),rec(Id:{"ne_102"})} & MU(e_ne\'Id) = "ne_1717" & i_e = "sig1725" & {iC1,iC2} <: ({"ne_1717" |->{("ic1"|->0.0),("ic2"|->0.167),("ic3"|->1.0)}})(MU(e_ne\'Id))~ & prj1(iC1) <= 0.2 & 0.2 < prj1(iC2) & {(0.0|->"ic1"|->1),(0.167|->"ic2"|->2)}(iC1) = pred({(0.167|->"ic2"|->2),(1.0|->"ic3"|->3)}(iC2))', % used to fail
9782 '-evalt', 'e_ne : {rec(Id:{"ne_1717"}),rec(Id:{"ne_102"})} & MU(e_ne\'Id) = "ne_1717" & i_e = "sig1725" & {iC1,iC2} <: ({"ne_1717" |->{("ne_1717_aps01_ic1"|->0),("ne_1717_aps01_ic2"|->1),("ne_1717_aps01_ic3"|->10)}})(MU(e_ne\'Id))~ & prj1(iC1) <= 2 & 2 < prj1(iC2) & {(0|->"ne_1717_aps01_ic1"|->1),(1|->"ne_1717_aps01_ic2"|->2),(10|->"ne_1717_aps01_ic3"|->3)}(iC1) = pred({(0|->"ne_1717_aps01_ic1"|->1),(1|->"ne_1717_aps01_ic2"|->2),(10|->"ne_1717_aps01_ic3"|->3)}(iC2)) & e_sloc = ("ne_1717"|->2)'
9783 ],
9784 'Test equality reification for floating numbers fixed.').
9785 cli_testcase(2351, [b_test,records,union], [ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
9786 '-p', 'CLPFD', 'FALSE', % ensure fast without CLPFD propagations
9787 '-evalt', ':prob n=10000 & s=UNION(x).(x:1..n|{rec(f1:x,f2:x+1)}) & !y,z.(y:2..n & rec(f1:y,f2:z):s => z>2)', % used to take 12 secs
9788 '-evalt', ':prob n=10000 & s=UNION(x).(x:1..n|{rec(f1:x,f2:x+1)}) & !y,r.(y:2..n & r\'f1=y & r:s => r\'f2>2)'
9789 ], 'Test performance of looking up records').
9790 cli_testcase(2352, [smt_solver_integration], [ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
9791 % see smt_solvers_interface/ast_cleanup_for_smt.pl and smt_solvers_interface/set_rewriter.pl
9792 '-evalt', ':z3-double-check x:INTEGER & card({x,y,z}) < 3',
9793 '-evalt', ':z3-double-check x:INTEGER & 3 > card({x,y,z})',
9794 '-evalt', ':z3-double-check x:INTEGER & card({x,y,z}) <= 2',
9795 '-evalt', ':z3-double-check x:INTEGER & 2 >= card({x,y,z})',
9796 '-evalt', ':z3-double-check x:INTEGER & card({x,y,z}) < 4',
9797 '-evalt', ':z3-double-check x:INTEGER & 4 > card({x,y,z})',
9798 '-evalt', ':z3-double-check x:INTEGER & card({x,y,z}) <= 4',
9799 '-evalt', ':z3-double-check x:INTEGER & 4 >= card({x,y,z})',
9800 '-evalt', ':z3-double-check x:INTEGER & card({x,y,z}) <= 3',
9801 '-evalt', ':z3-double-check x:INTEGER & 3 >= card({x,y,z})',
9802 '-evalt', ':z3-double-check x:INTEGER & card({x,y,z}) >= 3',
9803 '-evalt', ':z3-double-check x:INTEGER & 3 >= card({x,y,z})',
9804 '-evalf', ':z3-double-check x:INTEGER & card({x,y,z}) > 3',
9805 '-evalf', ':z3-double-check x:INTEGER & 3 < card({x,y,z})',
9806 '-evalt', ':z3-double-check x:INTEGER & card({x,y,z}) > 2',
9807 '-evalt', ':z3-double-check x:INTEGER & 2 < card({x,y,z})',
9808 '-evalt', ':z3-double-check x:INTEGER & card({x,y,z}) >= 1',
9809 '-evalt', ':z3-double-check x:INTEGER & 1 <= card({x,y,z})',
9810 '-evalt', ':z3-double-check x:INTEGER & card({x,y}) = 1',
9811 '-evalt', ':z3-double-check x:INTEGER & 1 = card({x,y})',
9812 '-evalt', ':z3-double-check x:INTEGER & card({x,y}) /= 1',
9813 '-evalt', ':z3-double-check x:INTEGER & 1 /= card({x,y})',
9814 '-evalf', ':z3-double-check x:INTEGER & card({x,y,z}) = 0',
9815 '-evalf', ':z3-double-check x:INTEGER & 0 = card({x,y,z})',
9816 '-evalt', ':z3-double-check x:INTEGER & card({x,y,z}) = 3',
9817 '-evalt', ':z3-double-check x:INTEGER & 3 = card({x,y,z})',
9818 '-evalf', ':z3-double-check x:INTEGER & card({x,y,z}) = 0',
9819 '-evalf', ':z3-double-check x:INTEGER & card({x,y,z}) >= 4',
9820 '-evalf', ':z3-double-check x:INTEGER & 4 <= card({x,y,z})',
9821 '-evalf', ':z3-double-check x:INTEGER & 0 = card({x,y,z})',
9822 '-evalt', ':z3-double-check x:POW(INTEGER) & card(x) = 0', % these rules also work for sets that are not statically finite
9823 '-evalt', ':z3-double-check x:POW(INTEGER) & 0 = card(x)',
9824 '-evalt', ':z3-double-check x:POW(INTEGER) & card(x) /= 0',
9825 '-evalt', ':z3-double-check x:POW(INTEGER) & 0 /= card(x)',
9826 '-evalt', ':z3-double-check x:POW(INTEGER) & card(x) > 0',
9827 '-evalt', ':z3-double-check x:POW(INTEGER) & 0 < card(x)'
9828 ], 'Test rewriting of cardinality constraints using finite sets for Z3.').
9829 cli_testcase(2353, [b_test,external,records,rulesdsl,xml], [ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
9830 '../prob_examples/examples/Rules/RailML_Simple/RailML3_IS.rmch',
9831 '-execute_all', '-execute_expect_steps', 86,
9832 '-evalt', 'RailML3_IS_NETWORK_IDS={"nw01"} & card(RailML_spotLocation)=41 & card(RailML_signalIS)=13 & card(RailML_netRelation)=13',
9833 '-evalt', 'card(warnings_linearLocation_Counterexamples)=72 & warnings_level_Counterexamples={}',
9834 '-evalt', 'card(warnings_spotLocation_Counterexamples)=41 & warnings_netRelation_Counterexamples={}',
9835 '-evalt', 'TEST /= {}'
9836 ], 'Test avl indexed lookup for complex records with set field values works').
9837 cli_testcase(2354, [cbc], [ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
9838 '-p', 'SOLVER_STRENGTH', 10, % will force attempt_reification
9839 '-evalt', ':prob n=2000 & f:1..n-->BOOL & !i.(i:2..n => (f(i)=TRUE =>f(i-1)=FALSE)) & f(1)=TRUE'
9840 ], 'Test performance wrt reification').
9841 cli_testcase(2355, [satsolver_test], [ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
9842 '-evalt', ':sat-double-check x=TRUE or x=FALSE',
9843 '-evalf', ':sat-double-check x=TRUE & x=FALSE',
9844 '-evalt', ':sat-double-check x=TRUE & (x=TRUE => y=TRUE) & (y=TRUE => x=TRUE)',
9845 '-evalf', ':sat-double-check x=TRUE & (x=TRUE => y=TRUE) & (y=TRUE => x=FALSE)',
9846 '-evalt', ':sat-double-check x=TRUE & (x=TRUE <=> y=TRUE) & (y=TRUE <=> z=TRUE)',
9847 '-evalt', ':sat-double-check n=12 & f:1..n-->BOOL & !i.(i:2..n => (f(i)=TRUE =>f(i-1)=FALSE)) & f(1)=TRUE',
9848 '-evalt', ':sat-double-check n=12 & f:1..n-->BOOL & !i.(i:2..n => (f(i)=TRUE =>f(i-1)=FALSE)) & f(1)=TRUE & f(12)=TRUE',
9849 '-evalf', ':sat-double-check n=12 & f:1..n-->BOOL & !i.(i:2..n => (f(i)=TRUE <=>f(i-1)=FALSE)) & f(1)=TRUE & f(12)=TRUE',
9850 '-evalt', ':sat-double-check n=12 & f:1..n-->BOOL & card({i|i:1..n & f(i)=TRUE})=1',
9851 '-evalf', ':sat-double-check n=12 & f:1..n-->BOOL & card({i|i:1..n & f(i)=TRUE})=1 & card({i|i:1..n & f(i)=FALSE})=1',
9852 '-evalt', ':sat-double-check n=6 & f:1..n-->BOOL & card({i|i:1..n & f(i)=TRUE})>2 & card({i|i:1..n & f(i)=FALSE})>2',
9853 '-evalf', ':sat-double-check n=6 & f:1..n-->BOOL & card({i|i:1..n & f(i)=TRUE})>3 & card({i|i:1..n & f(i)=FALSE})>2',
9854 '-evalt', ':sat-double-check n=6 & f:1..n-->BOOL & card({i|i:1..n & f(i)=TRUE})<4 & card({i|i:1..n & f(i)=FALSE})<4',
9855 '-evalf', ':sat-double-check n=6 & f:1..n-->BOOL & card({i|i:1..n & f(i)=TRUE})<3 & card({i|i:1..n & f(i)=FALSE})<4',
9856 '-evalt', ':sat-double-check f:1..3-->BOOL & card({y|y:1..3 & f(y)=TRUE}) <=2 &f(1)=TRUE & f(3)=TRUE',
9857 '-evalf', ':sat-double-check f:1..3-->BOOL & card({y|y:1..3 & f(y)=TRUE}) <=2 &f(1)=TRUE & f(3)=TRUE & f(2)=TRUE',
9858 '-evalf', ':sat-double-check f:1..100-->BOOL & card({y|y:1..100 & f(y)=TRUE}) <=6 &f(1)=TRUE & f(3)=TRUE & !i.(i:1..10 => (f(i)=FALSE => f(i*10)=TRUE))',
9859 '-evalt', ':sat-double-check f:1..100-->BOOL & card({y|y:1..100 & f(y)=TRUE}) <=10 &f(1)=TRUE & f(3)=TRUE & !i.(i:1..10 => (f(i)=FALSE => f(i*10)=TRUE))',
9860 '-evalf', ':sat f:1..100-->BOOL & card({y|y:1..100 & f(y)=TRUE}) >=20 & card({y|y:1..100 & f(y)=TRUE}) <=19', % ProB times out here
9861 '-evalt', ':sat-double-check f:1..100-->BOOL & card({y|y:1..100 & f(y)=TRUE}) >=20 & card({y|y:1..100 & f(y)=TRUE}) <=20',
9862 '-evalt', ':sat-double-check n=3 & f:1..n-->BOOL & f(1)=TRUE & card({i|i:1..n & (f(i)=TRUE or i=2)})=2',
9863 '-evalf', ':sat-double-check n=3 & f:1..n-->BOOL & f(1)=TRUE & card({i|i:1..n & (f(i)=TRUE or i=2)})=1',
9864 '-evalt', ':sat-double-check f:1..n --> BOOL & n=50 & f(1)=TRUE & !i.(i:2..n => f(i) /= f(i-1))',
9865 '-evalf', ':sat-double-check f:1..n --> BOOL & n=3 & f(1)=TRUE & !i.(i:2..n => f(i) /= f(i-1)) & card({i|i:1..3 & (f(i)=TRUE or i=1)})=3',
9866 '-evalf', ':sat-double-check f:1..n --> BOOL & n=3 & f(1)=TRUE & !i.(i:2..n => f(i) /= f(i-1)) & card({i|i:1..3 & (f(i)=TRUE or i=1)})=1',
9867 '-evalt', ':sat-double-check f:1..n --> BOOL & n=3 & f(1)=TRUE & !i.(i:2..n => f(i) /= f(i-1)) & card({i|i:1..3 & (f(i)=TRUE or i=1)})=2',
9868 '-evalf', ':sat-double-check f:1..n --> BOOL & n=3 & f(1)=TRUE & !i.(i:2..n => f(i) /= f(i-1)) & card({i|i:1..3 & (f(i)=TRUE or i=2)})=2',
9869 '-evalt', ':sat-double-check f:1..n --> BOOL & n=3 & f(1)=TRUE & !i.(i:2..n => f(i) /= f(i-1)) & card({i|i:1..3 & (f(i)=TRUE or i=2)})=3',
9870 '-evalt', ':sat-double-check IF x=TRUE THEN y=TRUE ELSE z=TRUE END & y=FALSE',
9871 '-evalf', ':sat-double-check not(IF x=TRUE THEN y=TRUE ELSE z=TRUE END) & y=TRUE & z=TRUE'
9872 ], 'Test new satsolver backend.').
9873 cli_testcase(2356, [smt_solver_integration], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
9874 '../prob_examples/public_examples/B/SmtSolverTests/ABZ16_m6/ABZ16_m6.eventb', '-init',
9875 '-p', 'TIME_OUT', '60000',
9876 '-eval', ':z3-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/ABZ16_m6/m6_monolithic_bmc_k_0.eval',
9877 '-eval', ':z3-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/ABZ16_m6/m6_monolithic_bmc_k_1.eval',
9878 '-eval', ':z3-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/ABZ16_m6/m6_monolithic_bmc_k_2.eval',
9879 '-eval', ':z3-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/ABZ16_m6/m6_monolithic_bmc_k_3.eval',
9880 '-eval', ':z3-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/ABZ16_m6/m6_monolithic_bmc_k_1.eval',
9881 '-eval', ':z3-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/ABZ16_m6/m6_monolithic_bmc_k_2.eval'
9882 ], 'Double check integration of Z3 for BMC constraints of ABZ16_m6 containing unfixed deferred sets').
9883 cli_testcase(2357,[private_source_not_available],['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
9884 '-p', 'JVM_PARSER_HEAP_MB', '12000', '-p', 'TIME_OUT', 20000, '-p', 'DATA_VALIDATION', 'TRUE', '-release-java-parser',
9885 '../private_examples/ClearSy/2023/error_0720/rule_CHAMPS_COMMUNS_AUX_FICHIERS_MCMDOUVERTUREITIAU_RVF65_MCMD_FOLIO.mch',
9886 '-execute_all', '-execute_expect_steps', 15, %'-silent',
9887 '-animate_stats',
9888 '-evalt', 'card(caval__rule__12__ALL)=8',
9889 '-evalt', 'caval__rule__1__ALL={({}|->{109}|->{}|->TRUE)}',
9890 '-evalt', 'caval__rule__10__ALL={} & caval__rule__11__ALL={}',
9891 '-evalt', 'caval__rule__2__ALL={} & caval__rule__5__ALL={} & caval__rule__6__ALL={}',
9892 '-evalt', 'caval__rule__13__done=TRUE'
9893 ], 'Issue used_ids field wrong fro memoization closure leading to identifier not found error'). % fixed in c5e3cd063a89b7b6d3c8c255ec6517ee76981415
9894 cli_testcase(2358,[private,regex],['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE', '-p', 'PROB_SAFE_MODE', 'TRUE',
9895 '-p', 'JVM_PARSER_HEAP_MB', '12000', '-p', 'TIME_OUT', 20000, '-p', 'DATA_VALIDATION', 'TRUE', '-release-java-parser',
9896 '../prob_examples/examples/B/ClearSy/Caval/2023/error_0720/rule_RVF65_bugly.mch',
9897 '-execute_all', '-execute_expect_steps', 15, %'-silent',
9898 '-animate_stats',
9899 '-evalt', 'card(aahm)=16',
9900 '-evalt', 'aajl={({}|->{109}|->{}|->TRUE)}',
9901 '-evalt', 'aarl={} & aatl={}',
9902 '-evalt', 'aall={} & aahl={} & aadm={}',
9903 '-evalt', 'aaam=TRUE'
9904 ], 'Bugly version of test 2357'). % not sure the original error also occurs with this model
9905 cli_testcase(2359,[private_source_not_available],['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
9906 '-p', 'JVM_PARSER_HEAP_MB', '12000', '-p', 'TIME_OUT', 20000, '-p', 'DATA_VALIDATION', 'TRUE', '-release-java-parser',
9907 '../private_examples/ClearSy/2023/Machines_0731/rule_OPS_SDS_4537/rule.mch',
9908 '-execute_all', '-execute_expect_steps', 3, %'-silent',
9909 '-animate_stats',
9910 '-evalt', 'caval__rule__1__ALL={} & caval__Compute_Variables_CounterExamples={}',
9911 '-evalt', 'caval__rule__1__done=TRUE'
9912 ], 'Test no virtual time-out (ZC_PROP_1 in UNION used only in one disjunct)').
9913 % in principle a virtual time-out is ok as ZC_PROP_1 has infinitely many values, but is not used in result of UNION
9914 cli_testcase(2360, [error_checks], ['../prob_examples/public_examples/B/ErrorMachines/Clashes/DefParaClash.mch', '-strict', '-expcterr', 'type_error', '-expcterr', 'load_main_file'], 'Ensure no internal error').
9915 cli_testcase(2361,[private,data_validation,external,regex],['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
9916 '-p', 'TIME_OUT', 2000, '-p', 'DATA_VALIDATION', 'TRUE', '-animate_all',
9917 '../prob_examples/examples/B/ClearSy/Caval/2023/perf_0810/RVF354_MDYS_op1.mch',
9918 '-evalt', 'card(rule_check_1)=1108 & rule_done_1=TRUE'
9919 ], 'Test Caval prob-users example works fast'). % was still slow with 1.12.1, fast since 6796bf80d653dbdfa2f88a30980158c82af0a5ec
9920 cli_testcase(2362,[private,data_validation,external,regex],['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
9921 '-p', 'TIME_OUT', 2000, '-p', 'DATA_VALIDATION', 'TRUE', '-animate_all',
9922 '../prob_examples/examples/B/ClearSy/Caval/2023/perf_0810/RVF354_MDYS_op2.mch',
9923 '-evalt', 'card(rule_check_2)=1108 & rule_done_2=TRUE'
9924 ], 'Test Caval prob-users example works fast'). % ditto, was still slow with 1.12.1
9925 cli_testcase(2363, [cdclt], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'FALSE',
9926 '../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching.mch', '-init',
9927 '-p', 'TIME_OUT', '60000',
9928 '-p', 'cdclt_use_idl_theory_solver', 'true',
9929 '-evalt', ':cdclt-double-check -ct <= -2 & ct <= 33554432',
9930 '-evalt', ':cdclt-double-check -ct <= -2 & not(-ct <= -33554432) & ct <= 33554432',
9931 '-evalt', ':cdclt-double-check -ct <= -2 & -ct <= -2 & not(-ct <= -33554432) & ct <= 33554432 & ct__ <= 0 & not(-ct__ <= -33554432)',
9932 '-evalf', ':cdclt-double-check ct <= 2 & -ct <= -2 & not(-ct <= -33554432) & ct <= 33554432 & ct__ <= 0 & not(-ct__ <= -33554432) & ct__ <= 33554432',
9933 '-evalf', ':cdclt-double-check lim <= 33554432 & -lim <= -33554432 & ct <= 2 & -ct <= -2 & not(-ct <= -33554432) & ct <= 33554432 & ct__ <= 0 & not(-ct__ <= -33554432) & ct__ <= 33554432',
9934 '-evalt', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/core_bug.eval',
9935 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_0.eval',
9936 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_1.eval',
9937 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_2.eval',
9938 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_3.eval',
9939 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_4.eval',
9940 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_5.eval',
9941 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_6.eval',
9942 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_7.eval',
9943 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_8.eval',
9944 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_9.eval',
9945 %'-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_10.eval', % sometimes times out on Windows
9946 '-evalt', ':cdclt-free-double-check -ct <= -2 & ct <= 33554432',
9947 '-evalt', ':cdclt-free-double-check -ct <= -2 & not(-ct <= -33554432) & ct <= 33554432',
9948 '-evalt', ':cdclt-free-double-check -ct <= -2 & -ct <= -2 & not(-ct <= -33554432) & ct <= 33554432 & ct__ <= 0 & not(-ct__ <= -33554432)',
9949 '-evalt', ':cdclt-free-double-check ct <= 2 & -ct <= -2 & not(-ct <= -33554432) & ct <= 33554432 & ct__ <= 0 & not(-ct__ <= -33554432) & ct__ <= 33554432',
9950 '-evalt', ':cdclt-free-double-check lim <= 33554432 & -lim <= -33554432 & ct <= 2 & -ct <= -2 & not(-ct <= -33554432) & ct <= 33554432 & ct__ <= 0 & not(-ct__ <= -33554432) & ct__ <= 33554432',
9951 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/core_bug.eval',
9952 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_0.eval',
9953 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_1.eval',
9954 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_2.eval',
9955 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_3.eval',
9956 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_4.eval',
9957 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_5.eval',
9958 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_6.eval',
9959 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_7.eval',
9960 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_8.eval',
9961 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_9.eval',
9962 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_10.eval',
9963 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_11.eval',
9964 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_12.eval',
9965 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_13.eval',
9966 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_14.eval',
9967 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_15.eval',
9968 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_16.eval',
9969 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_17.eval',
9970 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_18.eval',
9971 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_19.eval',
9972 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_20.eval',
9973 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_21.eval',
9974 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_22.eval',
9975 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_23.eval',
9976 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_24.eval',
9977 '-evalt', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/LargeBranching/LargeBranching_monolithic_bmc_k_25.eval'
9978 ], 'Double check CDCL(T) using the additional IDL solver similar to test 2166.').
9979 cli_testcase(2364, [cdclt], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
9980 '-evalt', ':idl x:INTEGER & x>y',
9981 '-evalf', ':idl x:INTEGER & x>y & y>x',
9982 '-evalt', ':idl x:INTEGER & x=1',
9983 '-evalf', ':idl x:INTEGER & x<3 & x>3',
9984 '-evalf', ':idl x:INTEGER & x<3 & x-1>3',
9985 '-evalt', ':idl x:INTEGER & x<3 & y<4',
9986 '-evalt', ':idl x:INTEGER & x<3 & y-2>4',
9987 '-evalt', ':idl x:INTEGER & x<3 & y-2<4',
9988 '-evalf', ':idl x:INTEGER & x<3-2 & x-2>(-1)',
9989 '-evalt', ':idl x:INTEGER & x+y<x+2',
9990 '-evalt', ':idl x:INTEGER & x-y<=2 & y-z<=1 & z-x<=-1',
9991 '-evalf', ':idl x:INTEGER & x-y<=2 & y-z<=1 & z-x<=-4',
9992 '-evalf', ':idl x:INTEGER & x<y+3 & y<=z+2 & z<x-4',
9993 '-evalf', ':idl x:INTEGER & x<=z-6 & x<=w-3 & y<=x+3 & z<=y+2 & z<=w-1 & w<=y+5',
9994 '-evalt', ':idl x:INTEGER & x<=z-5 & x<=w-3 & y<=x+3 & z<=y+2 & z<=w-1 & w<=y+5',
9995 '-evalf', ':idl x:INTEGER & x<=z-5 & x<=w-3 & y<=x+3 & z=y+2 & z=w-1 & w=y+5',
9996 '-evalt', ':idl x:INTEGER & x=w-3 & y=x+3 & z=y+2'
9997 ], 'Simple tests for the graph-based solver for the IDL.').
9998 cli_testcase(2365, [cdclt], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
9999 '-p', 'TIME_OUT', '60000',
10000 '-p', 'maxNrOfInitialisations', '1',
10001 '../prob_examples/public_examples/B/SmtSolverTests/PM_M1_VOOR/PM_M1_VOOR.eventb', '-init',
10002 '-p', 'cdclt_use_idl_theory_solver', 'true',
10003 '-p', 'cdclt_perform_static_analysis', 'true',
10004 '-p', 'cdclt_perform_symmetry_breaking', 'false', % disable bliss to avoid GC: marked cell count is wrong SPRM-21543
10005 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M1_VOOR/M1_VOOR_monolithic_bmc_k_0.eval',
10006 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M1_VOOR/M1_VOOR_monolithic_bmc_k_2.eval',
10007 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M1_VOOR/M1_VOOR_Acler_sensed.eval',
10008 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M1_VOOR/M1_VOOR_Pace_OFF.eval',
10009 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M1_VOOR/M1_VOOR_Pace_ON.eval',
10010 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M1_VOOR/M1_VOOR_Decrease_Interval.eval',
10011 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M1_VOOR/M1_VOOR_Increase_Interval.eval',
10012 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M1_VOOR/M1_VOOR_tic.eval',
10013 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M1_VOOR/M1_VOOR_monolithic_bmc_k_0.eval',
10014 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M1_VOOR/M1_VOOR_monolithic_bmc_k_1.eval',
10015 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M1_VOOR/M1_VOOR_Acler_sensed.eval',
10016 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M1_VOOR/M1_VOOR_Pace_OFF.eval',
10017 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M1_VOOR/M1_VOOR_Decrease_Interval.eval',
10018 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M1_VOOR/M1_VOOR_Increase_Interval.eval'
10019 ], 'Double check CDCL(T) using the additional IDL solver for constraints from inductive invariant checking of a pacemaker model.').
10020 cli_testcase(2366, [cdclt], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
10021 '-p', 'TIME_OUT', '60000',
10022 '-p', 'maxNrOfInitialisations', '1',
10023 '../prob_examples/public_examples/B/SmtSolverTests/PM_M1_VOOR/PM_M1_VOOR.eventb', '-init',
10024 '-p', 'cdclt_use_idl_theory_solver', 'true',
10025 '-p', 'cdclt_perform_static_analysis', 'false',
10026 '-p', 'cdclt_perform_symmetry_breaking', 'false',
10027 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M1_VOOR/M1_VOOR_monolithic_bmc_k_0.eval',
10028 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M1_VOOR/M1_VOOR_monolithic_bmc_k_2.eval',
10029 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M1_VOOR/M1_VOOR_Acler_sensed.eval',
10030 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M1_VOOR/M1_VOOR_Pace_OFF.eval',
10031 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M1_VOOR/M1_VOOR_Pace_ON.eval',
10032 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M1_VOOR/M1_VOOR_Decrease_Interval.eval',
10033 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M1_VOOR/M1_VOOR_Increase_Interval.eval',
10034 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M1_VOOR/M1_VOOR_monolithic_bmc_k_0.eval',
10035 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M1_VOOR/M1_VOOR_monolithic_bmc_k_1.eval',
10036 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M1_VOOR/M1_VOOR_Acler_sensed.eval',
10037 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M1_VOOR/M1_VOOR_Pace_OFF.eval',
10038 %'-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M1_VOOR/M1_VOOR_Pace_ON.eval', % CDCLT FINDS SOLUTION if IDL not used (see test 2556), and sometimes causes enumeration warnings (hence only checked in 2556)
10039 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M1_VOOR/M1_VOOR_Decrease_Interval.eval',
10040 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M1_VOOR/M1_VOOR_Increase_Interval.eval'
10041 ], 'Double check CDCL(T) using the additional IDL solver as in test 2365 but without the additional static analysis.').
10042 cli_testcase(2367, [cdclt], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
10043 '-p', 'TIME_OUT', '60000',
10044 '-p', 'maxNrOfInitialisations', '1',
10045 '../prob_examples/public_examples/B/SmtSolverTests/PM_M0_VOO/PM_M0_VOO.eventb', '-init',
10046 '-p', 'cdclt_use_idl_theory_solver', 'true',
10047 '-p', 'cdclt_perform_static_analysis', 'true',
10048 '-p', 'cdclt_perform_symmetry_breaking', 'false', % disable bliss to avoid GC: marked cell count is wrong SPRM-21543
10049 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M0_VOO/M0_VOO_monolithic_bmc_k_0.eval',
10050 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M0_VOO/M0_VOO_monolithic_bmc_k_1.eval',
10051 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M0_VOO/M0_VOO_monolithic_bmc_k_2.eval',
10052 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M0_VOO/M0_VOO_monolithic_bmc_k_3.eval',
10053 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M0_VOO/M0_VOO_monolithic_bmc_k_4.eval',
10054 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M0_VOO/M0_VOO_monolithic_bmc_k_5.eval',
10055 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M0_VOO/M0_VOO_monolithic_bmc_k_6.eval',
10056 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M0_VOO/M0_VOO_monolithic_bmc_k_7.eval',
10057 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M0_VOO/M0_VOO_monolithic_bmc_k_0.eval',
10058 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M0_VOO/M0_VOO_monolithic_bmc_k_1.eval'
10059 %'-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M0_VOO/M0_VOO_monolithic_bmc_k_2.eval' % sometimes times out on Windows
10060 ], 'Double check CDCL(T) using the additional IDL solver for constraints from bounded model checking of a pacemaker model.').
10061 cli_testcase(2368, [cdclt], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
10062 '-p', 'TIME_OUT', '60000',
10063 '-p', 'maxNrOfInitialisations', '1',
10064 '../prob_examples/public_examples/B/SmtSolverTests/PM_M0_VOO/PM_M0_VOO.eventb', '-init',
10065 '-p', 'cdclt_use_idl_theory_solver', 'true',
10066 '-p', 'cdclt_perform_static_analysis', 'false',
10067 '-p', 'cdclt_perform_symmetry_breaking', 'false',
10068 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M0_VOO/M0_VOO_monolithic_bmc_k_0.eval',
10069 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M0_VOO/M0_VOO_monolithic_bmc_k_1.eval',
10070 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M0_VOO/M0_VOO_monolithic_bmc_k_2.eval',
10071 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M0_VOO/M0_VOO_monolithic_bmc_k_3.eval',
10072 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M0_VOO/M0_VOO_monolithic_bmc_k_4.eval',
10073 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M0_VOO/M0_VOO_monolithic_bmc_k_5.eval',
10074 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M0_VOO/M0_VOO_monolithic_bmc_k_6.eval',
10075 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M0_VOO/M0_VOO_monolithic_bmc_k_7.eval',
10076 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M0_VOO/M0_VOO_monolithic_bmc_k_0.eval',
10077 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M0_VOO/M0_VOO_monolithic_bmc_k_1.eval',
10078 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M0_VOO/M0_VOO_monolithic_bmc_k_2.eval'
10079 ], 'Double check CDCL(T) using the additional IDL solver as in test 2367 but without the additional static analysis.').
10080 cli_testcase(2369, [cdclt], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
10081 '-p', 'TIME_OUT', '60000',
10082 '-p', 'maxNrOfInitialisations', '1',
10083 '../prob_examples/public_examples/B/SmtSolverTests/PM_M3_AAI/PM_M3_AAI.eventb', '-init',
10084 '-p', 'cdclt_use_idl_theory_solver', 'true',
10085 '-p', 'cdclt_perform_static_analysis', 'true',
10086 '-p', 'cdclt_perform_symmetry_breaking', 'false', % disable bliss to avoid GC: marked cell count is wrong SPRM-21543
10087 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M3_AAI/M3_AAI_monolithic_bmc_k_0.eval',
10088 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M3_AAI/M3_AAI_monolithic_bmc_k_1.eval',
10089 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M3_AAI/M3_AAI_monolithic_bmc_k_2.eval',
10090 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M3_AAI/M3_AAI_monolithic_bmc_k_3.eval',
10091 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M3_AAI/M3_AAI_monolithic_bmc_k_4.eval',
10092 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M3_AAI/M3_AAI_monolithic_bmc_k_5.eval',
10093 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M3_AAI/M3_AAI_monolithic_bmc_k_6.eval',
10094 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M3_AAI/M3_AAI_monolithic_bmc_k_7.eval',
10095 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M3_AAI/M3_AAI_monolithic_bmc_k_0.eval',
10096 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M3_AAI/M3_AAI_monolithic_bmc_k_1.eval',
10097 '-evalf', ':cdclt-free #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M3_AAI/M3_AAI_monolithic_bmc_k_2.eval' % cannot be solved by ProB in time
10098 %'-evalf', ':cdclt-free #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M3_AAI/M3_AAI_monolithic_bmc_k_3.eval' %
10099 ], 'Double check CDCL(T) using the additional IDL solver for constraints from bounded model checking of a pacemaker model.').
10100 cli_testcase(2370, [cdclt], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
10101 '-p', 'TIME_OUT', '60000',
10102 '-p', 'maxNrOfInitialisations', '1',
10103 '../prob_examples/public_examples/B/SmtSolverTests/PM_M3_AAI/PM_M3_AAI.eventb', '-init',
10104 '-p', 'cdclt_use_idl_theory_solver', 'true',
10105 '-p', 'cdclt_perform_static_analysis', 'false',
10106 '-p', 'cdclt_perform_symmetry_breaking', 'false', % disable bliss to avoid GC: marked cell count is wrong SPRM-21543
10107 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M3_AAI/M3_AAI_monolithic_bmc_k_0.eval',
10108 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M3_AAI/M3_AAI_monolithic_bmc_k_1.eval',
10109 %'-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M3_AAI/M3_AAI_monolithic_bmc_k_2.eval', % time_out without bliss symmetry
10110 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M3_AAI/M3_AAI_monolithic_bmc_k_3.eval',
10111 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M3_AAI/M3_AAI_monolithic_bmc_k_4.eval',
10112 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M3_AAI/M3_AAI_monolithic_bmc_k_5.eval',
10113 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M3_AAI/M3_AAI_monolithic_bmc_k_6.eval',
10114 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M3_AAI/M3_AAI_monolithic_bmc_k_7.eval',
10115 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M3_AAI/M3_AAI_monolithic_bmc_k_0.eval',
10116 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M3_AAI/M3_AAI_monolithic_bmc_k_1.eval'
10117 % '-evalf', ':cdclt-free #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M3_AAI/M3_AAI_monolithic_bmc_k_2.eval' % cannot be solved by ProB in time, requires static analysis for cdclt
10118 %'-evalf', ':cdclt-free #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M3_AAI/M3_AAI_monolithic_bmc_k_3.eval' % sometimes times out on Windows
10119 ], 'Double check CDCL(T) using the additional IDL solver as in test 2369 but without the additional static analysis.').
10120 cli_testcase(2371, [smt_solver_integration], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
10121 '-p', 'TIME_OUT', '60000',
10122 '-p', 'maxNrOfInitialisations', '1',
10123 '../prob_examples/public_examples/B/SmtSolverTests/PM_M1_VOOR/PM_M1_VOOR.eventb', '-init',
10124 '-evalf', ':z3-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M1_VOOR/M1_VOOR_monolithic_bmc_k_0.eval',
10125 '-evalf', ':z3-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M1_VOOR/M1_VOOR_monolithic_bmc_k_2.eval',
10126 '-evalf', ':z3-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M1_VOOR/M1_VOOR_Acler_sensed.eval',
10127 '-evalf', ':z3-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M1_VOOR/M1_VOOR_Pace_OFF.eval',
10128 '-evalf', ':z3-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M1_VOOR/M1_VOOR_Pace_ON.eval',
10129 '-evalf', ':z3-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M1_VOOR/M1_VOOR_Decrease_Interval.eval',
10130 '-evalf', ':z3-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M1_VOOR/M1_VOOR_Increase_Interval.eval',
10131 '-evalf', ':z3-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M1_VOOR/M1_VOOR_tic.eval',
10132 '-evalf', ':z3-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M1_VOOR/M1_VOOR_monolithic_bmc_k_0.eval',
10133 '-evalf', ':z3-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M1_VOOR/M1_VOOR_monolithic_bmc_k_1.eval',
10134 '-evalf', ':z3-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M1_VOOR/M1_VOOR_Acler_sensed.eval',
10135 '-evalf', ':z3-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M1_VOOR/M1_VOOR_Pace_OFF.eval',
10136 '-evalf', ':z3-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M1_VOOR/M1_VOOR_Pace_ON.eval',
10137 '-evalf', ':z3-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M1_VOOR/M1_VOOR_Decrease_Interval.eval',
10138 '-evalf', ':z3-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M1_VOOR/M1_VOOR_Increase_Interval.eval',
10139 '-evalf', ':z3-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M1_VOOR/M1_VOOR_tic.eval'
10140 ], 'Double check Z3 using constraints from inductive invariant checking of a pacemaker.').
10141 cli_testcase(2372, [smt_solver_integration], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
10142 '-p', 'TIME_OUT', '60000',
10143 '-p', 'maxNrOfInitialisations', '1',
10144 '../prob_examples/public_examples/B/SmtSolverTests/PM_M0_VOO/PM_M0_VOO.eventb', '-init',
10145 '-evalf', ':z3-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M0_VOO/M0_VOO_monolithic_bmc_k_0.eval',
10146 '-evalf', ':z3-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M0_VOO/M0_VOO_monolithic_bmc_k_1.eval',
10147 '-evalf', ':z3-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M0_VOO/M0_VOO_monolithic_bmc_k_2.eval',
10148 '-evalf', ':z3-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M0_VOO/M0_VOO_monolithic_bmc_k_3.eval',
10149 '-evalf', ':z3-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M0_VOO/M0_VOO_monolithic_bmc_k_4.eval',
10150 '-evalf', ':z3-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M0_VOO/M0_VOO_monolithic_bmc_k_5.eval',
10151 '-evalf', ':z3-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M0_VOO/M0_VOO_monolithic_bmc_k_6.eval',
10152 '-evalf', ':z3-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M0_VOO/M0_VOO_monolithic_bmc_k_7.eval',
10153 '-evalf', ':z3-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M0_VOO/M0_VOO_monolithic_bmc_k_0.eval',
10154 '-evalf', ':z3-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M0_VOO/M0_VOO_monolithic_bmc_k_1.eval',
10155 '-evalf', ':z3-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M0_VOO/M0_VOO_monolithic_bmc_k_2.eval',
10156 '-evalf', ':z3-free #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M0_VOO/M0_VOO_monolithic_bmc_k_3.eval', % cannot be solved by ProB in time
10157 '-evalf', ':z3-free #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M0_VOO/M0_VOO_monolithic_bmc_k_4.eval', %
10158 '-evalf', ':z3-free #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M0_VOO/M0_VOO_monolithic_bmc_k_5.eval', %
10159 '-evalf', ':z3-free #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M0_VOO/M0_VOO_monolithic_bmc_k_6.eval', %
10160 '-evalf', ':z3-free #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M0_VOO/M0_VOO_monolithic_bmc_k_7.eval' %
10161 ], 'Double check Z3 using constraints from boundel model checking of a pacemaker.').
10162 cli_testcase(2373, [smt_solver_integration], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
10163 '-p', 'TIME_OUT', '60000',
10164 '-p', 'maxNrOfInitialisations', '1',
10165 '../prob_examples/public_examples/B/SmtSolverTests/PM_M3_AAI/PM_M3_AAI.eventb', '-init',
10166 '-evalf', ':z3-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M3_AAI/M3_AAI_monolithic_bmc_k_0.eval',
10167 '-evalf', ':z3-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M3_AAI/M3_AAI_monolithic_bmc_k_1.eval',
10168 '-evalf', ':z3-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M3_AAI/M3_AAI_monolithic_bmc_k_2.eval',
10169 '-evalf', ':z3-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M3_AAI/M3_AAI_monolithic_bmc_k_3.eval',
10170 '-evalf', ':z3-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M3_AAI/M3_AAI_monolithic_bmc_k_4.eval',
10171 '-evalf', ':z3-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M3_AAI/M3_AAI_monolithic_bmc_k_5.eval',
10172 '-evalf', ':z3-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M3_AAI/M3_AAI_monolithic_bmc_k_6.eval',
10173 '-evalf', ':z3-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M3_AAI/M3_AAI_monolithic_bmc_k_7.eval',
10174 '-evalf', ':z3-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M3_AAI/M3_AAI_monolithic_bmc_k_0.eval',
10175 '-evalf', ':z3-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M3_AAI/M3_AAI_monolithic_bmc_k_1.eval',
10176 '-evalf', ':z3-free #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M3_AAI/M3_AAI_monolithic_bmc_k_2.eval', % cannot be solved by ProB in time
10177 '-evalf', ':z3-free #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M3_AAI/M3_AAI_monolithic_bmc_k_3.eval', %
10178 '-evalf', ':z3-free #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M3_AAI/M3_AAI_monolithic_bmc_k_4.eval', %
10179 '-evalf', ':z3-free #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M3_AAI/M3_AAI_monolithic_bmc_k_5.eval', %
10180 '-evalf', ':z3-free #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M3_AAI/M3_AAI_monolithic_bmc_k_6.eval', %
10181 '-evalf', ':z3-free #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M3_AAI/M3_AAI_monolithic_bmc_k_7.eval' %
10182 ], 'Double check Z3 using constraints from boundel model checking of a pacemaker refinement used in test 2372.').
10183 cli_testcase(2374, [cdclt], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
10184 '-p', 'TIME_OUT', '60000',
10185 '../prob_examples/public_examples/B/SmtSolverTests/Lightbot/Lightbot.mch', '-init',
10186 '-p', 'cdclt_perform_static_analysis', 'true',
10187 '-p', 'cdclt_perform_symmetry_breaking', 'false', % disable bliss to avoid GC: marked cell count is wrong SPRM-21543
10188 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/Lightbot/Lightbot_monolithic_bmc_k_0.eval',
10189 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/Lightbot/Lightbot_monolithic_bmc_k_1.eval',
10190 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/Lightbot/Lightbot_monolithic_bmc_k_2.eval',
10191 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/Lightbot/Lightbot_monolithic_bmc_k_3.eval',
10192 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/Lightbot/Lightbot_monolithic_bmc_k_4.eval',
10193 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/Lightbot/Lightbot_monolithic_bmc_k_5.eval',
10194 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/Lightbot/Lightbot_monolithic_bmc_k_6.eval',
10195 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/Lightbot/Lightbot_monolithic_bmc_k_7.eval',
10196 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/Lightbot/Lightbot_monolithic_bmc_k_8.eval',
10197 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/Lightbot/Lightbot_monolithic_bmc_k_9.eval',
10198 %'-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/Lightbot/Lightbot_monolithic_bmc_k_10.eval', % sometimes times out on Windows
10199 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/Lightbot/Lightbot_monolithic_bmc_k_0.eval',
10200 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/Lightbot/Lightbot_monolithic_bmc_k_1.eval'
10201 ], 'Double check CDCL(T) for constraints from bounded model checking of a lightbot model.').
10202 cli_testcase(2375, [cdclt], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
10203 '-p', 'TIME_OUT', '60000',
10204 '../prob_examples/public_examples/B/SmtSolverTests/Lightbot/Lightbot.mch', '-init',
10205 '-p', 'cdclt_perform_static_analysis', 'false',
10206 '-p', 'cdclt_perform_symmetry_breaking', 'false',
10207 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/Lightbot/Lightbot_monolithic_bmc_k_0.eval',
10208 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/Lightbot/Lightbot_monolithic_bmc_k_1.eval',
10209 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/Lightbot/Lightbot_monolithic_bmc_k_2.eval',
10210 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/Lightbot/Lightbot_monolithic_bmc_k_3.eval',
10211 %'-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/Lightbot/Lightbot_monolithic_bmc_k_4.eval', % sometimes times out in 4.10.2
10212 %'-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/Lightbot/Lightbot_monolithic_bmc_k_5.eval', % times out in 4.10.2
10213 %'-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/Lightbot/Lightbot_monolithic_bmc_k_6.eval', % ditto?
10214 %'-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/Lightbot/Lightbot_monolithic_bmc_k_7.eval', % ditto?
10215 %'-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/Lightbot/Lightbot_monolithic_bmc_k_8.eval', % ditto?
10216 %'-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/Lightbot/Lightbot_monolithic_bmc_k_9.eval', % ditto?
10217 %'-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/Lightbot/Lightbot_monolithic_bmc_k_10.eval', % sometimes times out on Windows
10218 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/Lightbot/Lightbot_monolithic_bmc_k_0.eval',
10219 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/Lightbot/Lightbot_monolithic_bmc_k_1.eval'
10220 ], 'Double check CDCL(T) for the same constraints used in test 2374 but without the additional static analysis.').
10221 cli_testcase(2376, [cdclt], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
10222 '-p', 'TIME_OUT', '60000',
10223 '../prob_examples/public_examples/B/SmtSolverTests/Lightbot/Lightbot.mch', '-init',
10224 '-p', 'cdclt_use_idl_theory_solver', 'true',
10225 '-p', 'cdclt_perform_static_analysis', 'true',
10226 '-p', 'cdclt_perform_symmetry_breaking', 'false', % disable bliss to avoid GC: marked cell count is wrong SPRM-21543
10227 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/Lightbot/Lightbot_monolithic_bmc_k_0.eval',
10228 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/Lightbot/Lightbot_monolithic_bmc_k_1.eval',
10229 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/Lightbot/Lightbot_monolithic_bmc_k_2.eval',
10230 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/Lightbot/Lightbot_monolithic_bmc_k_3.eval',
10231 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/Lightbot/Lightbot_monolithic_bmc_k_4.eval',
10232 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/Lightbot/Lightbot_monolithic_bmc_k_0.eval',
10233 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/Lightbot/Lightbot_monolithic_bmc_k_1.eval'
10234 ], 'Double check CDCL(T) for the same constraints used in test 2374 but using the additional IDL solver.').
10235 cli_testcase(2377, [smt_solver_integration], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
10236 '-p', 'TIME_OUT', '60000',
10237 '../prob_examples/public_examples/B/SmtSolverTests/Lightbot/Lightbot.mch', '-init',
10238 '-evalf', ':z3-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/Lightbot/Lightbot_monolithic_bmc_k_0.eval',
10239 '-evalf', ':z3-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/Lightbot/Lightbot_monolithic_bmc_k_1.eval',
10240 '-evalf', ':z3-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/Lightbot/Lightbot_monolithic_bmc_k_2.eval',
10241 '-evalf', ':z3-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/Lightbot/Lightbot_monolithic_bmc_k_3.eval',
10242 '-evalf', ':z3-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/Lightbot/Lightbot_monolithic_bmc_k_4.eval',
10243 '-evalf', ':z3-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/Lightbot/Lightbot_monolithic_bmc_k_5.eval',
10244 '-evalf', ':z3-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/Lightbot/Lightbot_monolithic_bmc_k_6.eval',
10245 '-evalf', ':z3-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/Lightbot/Lightbot_monolithic_bmc_k_7.eval',
10246 '-evalf', ':z3-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/Lightbot/Lightbot_monolithic_bmc_k_8.eval',
10247 '-evalf', ':z3-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/Lightbot/Lightbot_monolithic_bmc_k_9.eval',
10248 '-evalf', ':z3-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/Lightbot/Lightbot_monolithic_bmc_k_10.eval',
10249 '-evalf', ':z3-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/Lightbot/Lightbot_monolithic_bmc_k_0.eval',
10250 '-evalf', ':z3-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/Lightbot/Lightbot_monolithic_bmc_k_1.eval',
10251 '-evalf', ':z3-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/Lightbot/Lightbot_monolithic_bmc_k_2.eval',
10252 '-evalf', ':z3-free #file ../prob_examples/public_examples/B/SmtSolverTests/Lightbot/Lightbot_monolithic_bmc_k_3.eval', % cannot be solved by ProB in time
10253 '-evalf', ':z3-free #file ../prob_examples/public_examples/B/SmtSolverTests/Lightbot/Lightbot_monolithic_bmc_k_4.eval', %
10254 '-evalf', ':z3-free #file ../prob_examples/public_examples/B/SmtSolverTests/Lightbot/Lightbot_monolithic_bmc_k_5.eval', %
10255 '-evalf', ':z3-free #file ../prob_examples/public_examples/B/SmtSolverTests/Lightbot/Lightbot_monolithic_bmc_k_6.eval', %
10256 '-evalf', ':z3-free #file ../prob_examples/public_examples/B/SmtSolverTests/Lightbot/Lightbot_monolithic_bmc_k_7.eval', %
10257 '-evalf', ':z3-free #file ../prob_examples/public_examples/B/SmtSolverTests/Lightbot/Lightbot_monolithic_bmc_k_8.eval', %
10258 '-evalf', ':z3-free #file ../prob_examples/public_examples/B/SmtSolverTests/Lightbot/Lightbot_monolithic_bmc_k_9.eval', %
10259 '-evalf', ':z3-free #file ../prob_examples/public_examples/B/SmtSolverTests/Lightbot/Lightbot_monolithic_bmc_k_10.eval'
10260 ], 'Double check Z3 for constraints from bounded model checking of a lightbot model.').
10261
10262 cli_testcase(2378, [setlog], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
10263 '-evalt', ':slog-double-check f:1..3 --> 1..3 & card(ran(f))=3 & f(1)>1',
10264 '-evalt', ':slog-double-check f:INTEGER+->INTEGER & dom(f)=1..2 & dom(f)/=1..1 & f/={}',
10265 '-evalt', ':slog-double-check f:INTEGER+->INTEGER & dom(f)=1..2 & dom(f)/=1..1 & f/={} & ran(f)=1..2',
10266 '-evalt', ':slog-double-check f:INTEGER+->INTEGER & dom(f)<:1..2 & dom(f)/=1..1 & dom(f)/={}',
10267 '-evalt', ':slog-double-check a<:1..3 & (2:a <=> 3:a) & (2:a <=> 1/:a) & a /\\ 1..1 = {}',
10268 '-evalf', ':slog-double-check ff:1..3<->BOOL & gg:1..3<->BOOL & not ((dom(ff\\/gg) = dom(ff) \\/ dom(gg)) )', % was failing with 4.9.8-14h version of setlog, and quite a few more below; now works with 4.9.9-1g
10269 '-evalf', ':slog-double-check f:1..3 --> BOOL & f~:BOOL +-> INTEGER',
10270 '-evalf', ':slog-double-check f:1..3 --> BOOL & f~:BOOL +-> INTEGER & card(ran(f))<=2',
10271 '-evalt', ':slog-double-check x:BOOL & x/=TRUE',
10272 '-evalf', ':slog-double-check x:BOOL & x/=TRUE & x/=FALSE',
10273 '-evalt', ':slog-double-check s<:1..10 & not(1..3 <:s or s<:1..3)',
10274 '-evalf', ':slog-double-check f:1..3 --> BOOL & f~:BOOL +-> INTEGER & ran(f) <: {TRUE,FALSE}',
10275 '-evalf', ':slog-double-check x <: {TRUE,FALSE} & {TRUE} <: x & {FALSE}<: x & x/= BOOL',
10276 '-evalf', ':slog-double-check x<:1..3 & not(2:x <=> 3:x) & 3:x & 2:x',
10277 '-evalt', ':slog-double-check x:1..10 & #y.(y:BOOL & y=TRUE & x<2)',
10278 '-evalt', ':slog-double-check x:1..10 & !y.(y:1..9 => x>y)',
10279 '-evalt', ':slog x <: 1..5 & r[x]=x & r[{1}] /= {1} & card(x)=3',
10280 '-evalt', ':slog x <: 1..5 & r[x]=x & r[{1}] /= {1} & card(x)=3 & r[{2}]={2}',
10281 '-evalt', ':slog-double-check x <: 1..5 & r:1..5 <-> 1..5 & r[x]=x & r[{1}] /= {1} & card(x)=3 & r[{2}]={2}', % a bit slow
10282 '-evalt', ':slog x>0 & x:S & x=max(S)',
10283 '-evalt', ':slog x>0 & x:S & (x=max(S) or (y:S & y>x))',
10284 '-evalt', ':slog x>0 & x:S & not(x=max(S)) & (y:S & y>x)',
10285 '-evalt', ':slog x>1 & x:S & !y.(y:S => y<=x)',
10286 %'-evalt', ':slog x>1 & x:S & !y.(y:S => #z.(z:S & z>y))', % translation failed
10287 '-evalt', ':slog-double-check {x|x:1..10 & x>z} = 3..10',
10288
10289 % idl from test 2364
10290 '-evalt', ':slog x:INTEGER & x>y',
10291 '-evalf', ':slog-double-check x:INTEGER & x>y & y>x',
10292 '-evalt', ':slog-double-check x:INTEGER & x=1',
10293 '-evalf', ':slog-double-check x:INTEGER & x<3 & x>3',
10294 '-evalf', ':slog-double-check x:INTEGER & x<3 & x-1>3',
10295 '-evalt', ':slog-double-check x:INTEGER & x<3 & y<4',
10296 '-evalt', ':slog x:INTEGER & x<3 & y-2>4',
10297 '-evalt', ':slog-double-check x:INTEGER & x<3 & y-2<4',
10298 '-evalf', ':slog-double-check x:INTEGER & x<3-2 & x-2>(-1)',
10299 '-evalt', ':slog x:INTEGER & x+y<x+2',
10300 '-evalt', ':slog x:INTEGER & x-y<=2 & y-z<=1 & z-x<=-1',
10301 '-evalf', ':slog x:INTEGER & x-y<=2 & y-z<=1 & z-x<=-4',
10302 '-evalf', ':slog x:INTEGER & x<y+3 & y<=z+2 & z<x-4',
10303 '-evalf', ':slog x:INTEGER & x<=z-6 & x<=w-3 & y<=x+3 & z<=y+2 & z<=w-1 & w<=y+5',
10304 '-evalt', ':slog x:INTEGER & x<=z-5 & x<=w-3 & y<=x+3 & z<=y+2 & z<=w-1 & w<=y+5',
10305 '-evalf', ':slog x:INTEGER & x<=z-5 & x<=w-3 & y<=x+3 & z=y+2 & z=w-1 & w=y+5',
10306 '-evalt', ':slog x:INTEGER & x=w-3 & y=x+3 & z=y+2',
10307 % from test 2309
10308 '-evalt', ':slog-double-check x:INTEGER & s:POW(1..10) & x=min(s)',
10309 '-evalt', ':slog-double-check x:INTEGER & s:POW(1..10) & x=max(s)',
10310 '-evalt', ':slog-double-check x:INTEGER & {(1,2)}(x)=2',
10311 % from test 2211
10312 '-evalf', ':slog-double-check not(x<:BOOL & x /<: y => x/=y)',
10313 '-evalf', ':slog-double-check not(x<:BOOL & x /<: y => y/=x)',
10314 '-evalf', ':slog-double-check not(x<:BOOL & x /<: y => not(y=x))',
10315 '-evalf', ':slog not(x>0 & y>0 => not(x>0 & y<=0))',
10316 '-evalf', ':slog not(x>0 & y>0 => not(x<=0 & y>0))',
10317 '-evalf', ':slog not(x>0 & y>0 => not(x<=0 & y<=1))',
10318 '-evalt', ':slog not(x>0 & y>0 => not(x<=1 & y<=1))',
10319 '-evalf', ':slog not(x>0 & y>0 => not(x<=0 or y<=0))',
10320 '-evalt', ':slog not(x>0 & y>0 => not(x<=0 or y>0))',
10321 '-evalf', ':slog not(x>0 => (y>0 => not(x<=0 or y<=0)))',
10322 '-evalf', ':slog not(x>0 => ( x=1 or x>1))',
10323 '-evalt', ':slog not(x>0 => not( x=1 or x>1))',
10324 '-evalf', ':slog not(x>0 => not( x/=1 & not(x>1)))',
10325 '-evalf', ':slog not(x>1 & y>2 => not( x>0 => not(y>2)))',
10326 '-evalf', ':slog not(a <:b & a /<<: {1,2} => b /<<: {1,2})',
10327 '-evalf', ':slog not(a ={} & b<:BOOL => b/<<:a)',
10328 '-evalf', ':slog-double-check not(a =BOOL & b<:BOOL => a/<<:b)',
10329 '-evalt', ':slog-double-check not(a ={} & b<:BOOL => a/<<:b)',
10330 '-evalt', ':slog-double-check not(a =BOOL & b<:BOOL => b/<<:a)',
10331 '-evalf', ':slog-double-check not(a ={} & b<:BOOL & a/=b => b/<:a)',
10332 '-evalf', ':slog-double-check not(a ={} & b<:BOOL & a/=b => not(b<:a))',
10333 '-evalt', ':slog-double-check not(a ={} & b<:BOOL & a/=c => not(b<:a))',
10334 '-evalf', ':slog not(a=b => (a>0 <=> b>0))',
10335 '-evalt', ':slog not(a=b => (a>0 <=> b>=0))',
10336 '-evalt', ':slog not(a>=b => (a>0 <=> b>0))',
10337 '-evalf', ':slog not(a:INTEGER => (a>b <=> not(b>=a)))',
10338 '-evalf', ':slog not(a:INTEGER => not(a>b <=> not(a>b)))',
10339 '-evalt', ':slog not(a:INTEGER => not(a>b <=> not(a>=b)))',
10340 '-evalt', ':slog not(a<:BOOL => not(a<:b <=> b<:a))',
10341 '-evalt', ':slog not(a<:BOOL => not(not(a<:b) <=> not(b<:a)))',
10342 '-evalf', ':slog not(a<:BOOL => not((a<:b) <=> not(a<:b)))',
10343 '-evalf', ':slog not(a<:BOOL => not(not(a<<:b) <=> (a<<:b)))',
10344
10345 '-evalf', ':slog-double-check x:POW({1,2}) & 3:x',
10346 '-evalf', ':slog-double-check x:POW({1,2}) & card(x)>2',
10347 '-evalt', ':slog-double-check x:FIN1({1,2}) & 2:x & card(x)=2',
10348 '-evalf', ':slog-double-check x: 1..3 +-> 1..2 & 3:ran(x)',
10349 '-evalt', ':slog-double-check x: 1..3 +-> 1..2 & 2:ran(x)',
10350 '-evalf', ':slog-double-check x: 1..2 +-> NATURAL1 & 0:ran(x)',
10351 '-evalt', ':slog-double-check x: 1..2 +-> NATURAL & 0:ran(x)',
10352 '-evalf', ':slog-double-check x: 0..2<->1..2 & 0:ran(x)',
10353 '-evalf', ':slog-double-check x: 1..2<->1..2 & 0:ran(x)',
10354 '-evalf', ':slog-double-check x: 1..2<->1..2 & 0:dom(x)',
10355 '-evalt', ':slog-double-check x: 0..2<->1..2 & 0:dom(x)',
10356 '-evalf', ':slog-double-check x: NATURAL1<->1..2 & 0:ran(x)',
10357 '-evalt', ':slog x: NATURAL1<->1..2 & 2:ran(x)',
10358 '-evalf', ':slog-double-check x: NATURAL1<->1..2 & 0:dom(x)',
10359 '-evalt', ':slog-double-check x: NATURAL<->1..2 & 0:dom(x)',
10360 '-evalf', ':slog-double-check x: NATURAL1 +-> 1..2 & 0:dom(x)',
10361 '-evalt', ':slog-double-check x: NATURAL +-> 1..2 & 0:dom(x)',
10362 '-evalt', ':slog-double-check x: NATURAL1 +-> NATURAL1 & 1:dom(x) & 1:ran(x)',
10363 '-evalf', ':slog-double-check x: NATURAL1 +-> NATURAL1 & (0:dom(x) or 0:ran(x))',
10364 '-evalt', ':slog x: NATURAL1 +-> NATURAL1 & (1:dom(x) or 0:ran(x))',
10365 '-evalt', ':slog-double-check x <: NATURAL1 & x<:0..1 & card(x)=1',
10366 '-evalf', ':slog-double-check x <: NATURAL1 & x<:0..1 & card(x)=2',
10367 '-evalf', ':slog-double-check x : NATURAL1 <-> 0..1 & dom(x)<:-1..0 & x /= {}',
10368 '-evalt', ':slog-double-check x /: NATURAL1 <-> INTEGER & dom(x)<:-1..1 & ran(x)<:3..4',
10369 '-evalf', ':slog x /: NATURAL1 <-> INTEGER & dom(x)<:1..2 & ran(x)<:3..4',
10370 '-evalt', ':slog-double-check x<: -1..2 & not(x<:NATURAL)',
10371 '-evalf', ':slog-double-check x<: 1..2 & not(x<:NATURAL)',
10372 '-evalf', ':slog-double-check x:POW1(NATURAL1) & x<:-1..0',
10373 '-evalt', ':slog-double-check x:POW1(NATURAL1) & x<:0..1',
10374 '-evalt', ':slog-double-check x/:POW1(NATURAL) & x<:-1..0',
10375 '-evalf', ':slog-double-check x/:POW(NATURAL) & x<:2..3',
10376 '-evalt', ':slog-double-check x/:POW1(NATURAL) & x<:2..3',
10377 '-evalf', ':slog-double-check x/:POW1(NATURAL) & x<:2..3 & x/={}',
10378 '-evalt', ':slog-double-check f:1..2 +-> 1..2 & not(f \\/ {1 |-> 1} : INTEGER +->INTEGER)',
10379 '-evalf', ':slog-double-check f:1..2 +-> 1..2 & not(f \\/ {1 |-> f(1)} : INTEGER +->INTEGER)',
10380 '-evalt', ':slog-double-check f:1..2 +-> 1..2 & not(f <+ {3 |-> 1} : 1..2 +->INTEGER)',
10381 '-evalf', ':slog-double-check f:1..2 +-> 1..2 & not(f <+ {1 |-> 1} : 1..2 +->INTEGER)',
10382 '-evalt', ':slog-double-check f:1..2 +-> 1..2 & not(f \\/ {1 |-> 3} : 1..2 +->INTEGER)',
10383 '-evalt', ':slog-double-check f:1..2 +-> 1..2 & not(f \\/ {1 |-> 1} : 1..2 +->1..2)',
10384 '-evalt', ':slog-double-check f:BOOL --> POW(1..2) & not(f <+ {TRUE|->1..3} : BOOL +-> POW(1..2))',
10385 '-evalf', ':slog-double-check f:BOOL --> POW(1..2) & not(f <+ {TRUE|->1..2} : BOOL +-> POW(1..2))',
10386 '-evalt', ':slog-double-check x = POW(1 .. 2)',
10387 '-evalt', ':slog-double-check f: BOOL --> (BOOL +-> BOOL) & f(TRUE):BOOL-->BOOL',
10388 '-evalt', ':slog-double-check f: BOOL --> (BOOL +-> BOOL) & f(FALSE)={}',
10389 '-evalt', ':slog-double-check f: BOOL --> POW(BOOL) & f(TRUE)={TRUE} & f(FALSE)={}',
10390 '-evalt', ':slog-double-check f: BOOL --> POW(BOOL) & f(TRUE):POW1(BOOL) & f(FALSE)={}'
10391 % does not work :slog-double-check f: BOOL --> (BOOL +-> BOOL) & f(FALSE)={} & f(TRUE):BOOL-->BOOL
10392 % times out: :slog f:BOOL +-> BOOL & not(f <+ {TRUE |-> TRUE} : BOOL +->BOOL)
10393 % :slog (1 .. 2) * (1 .. 2) = x -> % relational operators cannot be freely combined with intervals due to decidability issues in setlog
10394 ], 'Simple tests for setlog solver.').
10395 cli_testcase(2379, [eventb_test, theories, reals], ['../prob_examples/examples/EventBPrologPackages/Toulouse/Dupont/RealsTest_mch.eventb',
10396 '--model-check', '-cc', '7', '6', '-nodead',
10397 '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
10398 '-evalt', 'plus(Rone,Rone) |-> Rone : gt', '-evalt', 'plus(Rone,Rzero) = Rone',
10399 '-evalt', 'times(Rone,Rzero) = Rzero',
10400 '-evalt', 'plus(Rone,Rzero) : RReal'
10401 ], 'Checking real theory with currying of binary operators').
10402 cli_testcase(2380, [eventb_test, theories], ['../prob_examples/public_examples/EventBPrologPackages/Theory/SeqTest1.eventb', '-mc', 2000, '-nodead', '-strict',
10403 '-p', 'TRY_FIND_ABORT', 'TRUE'], 'Test 1156 for Seq theory with TRY_FIND_ABORT').
10404 cli_testcase(2381, [b_test,json_trace_replay,visb], [
10405 '../prob_examples/examples/EventBPrologPackages/Toulouse/Mendil/T_TemperatureMachine_mch.eventb',
10406 '-expcterr', virtual_time_out,
10407 '-evalt', 'unit(xx)=Kelvin & value(xx)=-100',
10408 '-evalf', 'unit(xx)=Kelvin & unit(xx)=Celsius',
10409 '-trace_replay', 'json', '../prob_examples/examples/EventBPrologPackages/Toulouse/Mendil/T_TemperatureMachine_presentation.prob2trace',
10410 '-visb', '../prob_examples/examples/EventBPrologPackages/Toulouse/Mendil/Temp_VisB.json',
10411 '../prob_examples/examples/EventBPrologPackages/Toulouse/Mendil/Temp_VisB.html'], 'Check JSON replay and VisB HTML generation with theory operators').
10412 cli_testcase(2382, [eventb_test, theories, reals], [
10413 '../prob_examples/examples/EventBPrologPackages/Toulouse/Dupont/SimpleRealsPlusTest_ctx.eventb',
10414 '-evalt', 'plus(Rone,Rzero) : RReal',
10415 '-evalt', 'plus(Rone,Rzero) : RRealPlus',
10416 '-assertions'],
10417 'Check that reals are allowed for type checking in Event-B theories that use reals').
10418 cli_testcase(2383, [b_test,wd], [
10419 '../prob_examples/examples/EventBPrologPackages/Toulouse/Mendil/T_TemperatureMachinePrefix_mch.eventb',
10420 '-p', 'TRY_FIND_ABORT', 'TRUE', '-expcterr', model_check_incomplete,
10421 '-expcterr', virtual_time_out, '-mc', 100], 'Check no spurious WD errors').
10422 cli_testcase(2384, [b_test,wd], [
10423 '-evalf', 'bla = %x.(x:NATURAL|x+1) & bla /: POW(NATURAL*NATURAL)', % was wrong
10424 '-evalt', 'bla = %x.(x:NATURAL|x+1) & bla : POW(NATURAL*NATURAL)',
10425 '-evalt', 'bla = %x.(x:NATURAL|x-1) & bla /: POW(NATURAL*NATURAL)',
10426 '-evalf', 'bla = %x.(x:NATURAL|x-1) & bla : POW(NATURAL*NATURAL)'
10427 ], 'Check issue in symbolic subset check solved'). % bug was in get_subset_counter_example_closure
10428 cli_testcase(2385, [b_test], [
10429 './distribution_examples/Simple/ACounter.mch',
10430 './distribution_examples/Simple/Bakery0.mch',
10431 './distribution_examples/Simple/Bakery1.mch',
10432 './distribution_examples/Simple/GCD.mch',
10433 './distribution_examples/Simple/KnightsKnaves.mch',
10434 % './distribution_examples/Simple/Lift.mch', % invariant violation
10435
10436 './distribution_examples/LessSimple/CSM.mch',
10437 './distribution_examples/LessSimple/Schleusen.mch',
10438 './distribution_examples/LessSimple/SATLIB_blocksworld_medium.mch',
10439 './distribution_examples/LessSimple/SATLIB_uf20-903.mch',
10440 './distribution_examples/LessSimple/Sieve.mch',
10441 './distribution_examples/LessSimple/Sorting.mch',
10442 './distribution_examples/LessSimple/SortingUnicode.mch',
10443 % './distribution_examples/LessSimple/TravelAgency.mch', % invariant violation
10444 './distribution_examples/LessSimple/phonebook.mch',
10445 %'./distribution_examples/LessSimple/phonebook6.mch', % invariant violation
10446 './distribution_examples/LessSimple/scheduler.mch',
10447 './distribution_examples/LessSimple/tictac.mch',
10448 './distribution_examples/LessSimple/GraphColouring/GraphColouringNAT.mch',
10449
10450 './distribution_examples/Records/Schleusen_Records.mch',
10451 './distribution_examples/Refinement/Server.mch',
10452 './distribution_examples/Refinement/ServerR.ref',
10453 './distribution_examples/Tutorial/StackConstructive.mch',
10454
10455 './distribution_examples/Puzzles/Farmer.mch',
10456 './distribution_examples/Puzzles/GardnerSwitchingPuzzle_v2.mch',
10457 './distribution_examples/Puzzles/GolombRuler2.mch',
10458 './distribution_examples/Puzzles/Hanoi.mch',
10459 './distribution_examples/Puzzles/KissPassion.mch',
10460 './distribution_examples/Puzzles/NoNeighboursProblem.mch',
10461 './distribution_examples/Puzzles/PexSolve.mch',
10462 './distribution_examples/Puzzles/RussianPostalPuzzle.mch',
10463 './distribution_examples/Puzzles/SendMoreMoney.mch',
10464 './distribution_examples/Puzzles/SubsetSum2.mch',
10465 './distribution_examples/Puzzles/SudokuSETS9.mch',
10466 './distribution_examples/Puzzles/TrainTorchPuzzle.mch',
10467 './distribution_examples/Puzzles/WhoKilledAgatha.mch',
10468
10469 './distribution_examples/GraphicalAnimation/BlocksWorldGeneric.mch',
10470 './distribution_examples/GraphicalAnimation/CopySavePasteTools.mch',
10471 './distribution_examples/GraphicalAnimation/Hanoi.mch',
10472 './distribution_examples/GraphicalAnimation/Jars.mch',
10473 './distribution_examples/GraphicalAnimation/LatinSquares.mch',
10474 './distribution_examples/GraphicalAnimation/Lift0.mch',
10475 './distribution_examples/GraphicalAnimation/Lift2.mch',
10476 './distribution_examples/GraphicalAnimation/Lift3.mch',
10477 './distribution_examples/GraphicalAnimation/Mandelbrot.mch',
10478 './distribution_examples/GraphicalAnimation/NQueens.mch',
10479 './distribution_examples/GraphicalAnimation/NQueens.mch',
10480 './distribution_examples/GraphicalAnimation/NQueensBig.mch',
10481 './distribution_examples/GraphicalAnimation/Puzzle8.mch',
10482 './distribution_examples/GraphicalAnimation/RushHour.mch',
10483 './distribution_examples/GraphicalAnimation/SamuraiSudoku_Hard.mch',
10484 './distribution_examples/GraphicalAnimation/SendMoreMoney.mch',
10485 './distribution_examples/GraphicalAnimation/SudokuAsConstant.mch',
10486 './distribution_examples/GraphicalAnimation/TwoQueensSevenKnights.mch',
10487 './distribution_examples/GraphicalAnimation/gol.mch',
10488 './distribution_examples/GraphicalAnimation/gol_v2.mch',
10489 './distribution_examples/GraphicalAnimation/scheduler.mch',
10490 '-init', '-mc', 15, '-opterr', model_check_incomplete, '-nogoal', '-nodead' ], 'Check distribution examples can be loaded').
10491 cli_testcase(2386, [b_test,cbc], [
10492 '-evalf', 'x1 : (0 .. 4294967295) & x2 : (0 .. 255) & res = x1 / 2 ** x2 & res <0',
10493 '-evalf', 'x1 : (0 .. 4294967295) & x2 : (0 .. 255) & res = x1 / 2 ** x2 & res > 4294967295',
10494 '-evalf', 'x1 : (0 .. 4294967295) & x2 : (0 .. 255) & res = x1 / 2 ** x2 & res /: (0 .. 4294967295)',
10495 '-evalt', 'x1 : (0 .. 4294967295) & x2 : (0 .. 255) & res = x1 / 2 ** x2 & res /: (1 .. 4294967295)'
10496 ], 'Check no CLPFD overflow').
10497 cli_testcase(2387,[private_source_not_available],['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
10498 '-p', 'JVM_PARSER_HEAP_MB', '12000', '-p', 'TIME_OUT', 2000, '-p', 'DATA_VALIDATION', 'TRUE', '-release-java-parser',
10499 '../private_examples/ClearSy/2023/perf_1124/rule.mch',
10500 '-execute_all', '-execute_expect_steps', 5, %'-silent',
10501 '-animate_stats',
10502 '-evalt', 'card(caval__rule__1__ALL)=303',
10503 '-evalt', 'card(caval__rule__2__ALL)=303',
10504 '-evalt', 'card(caval__rule__3__ALL)=71',
10505 '-evalt', 'caval__rule__3__done=TRUE'
10506 ], 'Fix issue in STRING_JOIN sorting too early').
10507 cli_testcase(2388,[private,external,strings],['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
10508 '-p', 'JVM_PARSER_HEAP_MB', '12000', '-p', 'TIME_OUT', 2000, '-p', 'DATA_VALIDATION', 'TRUE', '-release-java-parser',
10509 '../prob_examples/examples/B/ClearSy/Caval/2023/perf_1124/rule_bugly.mch',
10510 '-execute_all', '-execute_expect_steps', 5, %'-silent',
10511 '-evalt', 'card(aaxc)=303',
10512 '-evalt', 'card(aazc)=303',
10513 '-evalt', 'card(aabd)=71',
10514 '-evalt', 'aayc=TRUE'
10515 ], 'Fix issue in STRING_JOIN sorting too early'). % bugly version of test 2387
10516 cli_testcase(2389, [b_test,infinite], [
10517 '-evalt', 'NEG /\\ NATURAL = {} & NEG \\/ NATURAL = INTEGER ',
10518 '-evalt', 'NEG /\\ NATURAL = {} & NEG \\/ NATURAL = INTEGER & -1:NEG & -1000:NEG & 0 /: NEG & 1/:NEG',
10519 '-evalt', 'NEG /\\ NATURAL1 = {} & NEG \\/ NATURAL1 = INTEGER & -1:NEG & -1000:NEG & 0 : NEG & 1/:NEG',
10520 '-evalt', 'NEG = {x|x < 0} & NEG /\\ NATURAL = {}',
10521 '-evalt', 'NEG = {x|x < 1} & NEG /\\ NATURAL1 = {}',
10522 '-evalf', 'NEG = {x|x < 1} & NEG /\\ NATURAL = {}',
10523 '-evalt', 'NEG = {x|x < 1} & NEG \\/ NATURAL1 = INTEGER',
10524 '-evalt', 'NEG = {x|x < 1} & NEG \\/ NATURAL = INTEGER',
10525 '-evalt', 'NEG = {x|x /: NATURAL} & NEG \\/ NATURAL =INTEGER',
10526 '-evalt', 'NEG = {x|x /: NATURAL} & NEG \\/ NATURAL1 = res & res /= INTEGER & 0/:res & 1000:res',
10527 '-evalt', 'NEG = {x|x /: NATURAL} & NEG /\\ NATURAL = {}',
10528 '-evalt', 'NEG = {x|x /: NATURAL} & NEG /\\ NATURAL1 = {}',
10529 '-evalt', 'NEG = {x|x /: NATURAL1} & NEG /\\ NATURAL1 = {}',
10530 '-evalf', 'NEG = {x|x /: NATURAL1} & NEG /\\ NATURAL = {}',
10531 '-evalt', 'NEG = {x|x /: NATURAL1} & NATURAL1 /\\ NEG = {}'
10532 ], 'Check infinite partition works').
10533 cli_testcase(2390, [b_test], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
10534 './distribution_examples/Simple/Lift.mch', % invariant violation
10535 './distribution_examples/LessSimple/TravelAgency.mch', % invariant violation
10536 './distribution_examples/LessSimple/phonebook6.mch', % invariant violation
10537 '-init', '-mc', 1500, '-bf',
10538 '-expcterr', invariant_violation, '-nogoal', '-nodead' ], 'Check distribution examples can be loaded').
10539 cli_testcase(2391, [external,json_trace_replay], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
10540 '../prob_examples/public_examples/B/ExternalFunctions/JSON/ReadProB2JSON.mch',
10541 '-trace_replay', 'json', '../prob_examples/public_examples/B/ExternalFunctions/JSON/ReadProB2JSON.prob2trace'
10542 ], 'Check READ_JSON_AS_XML').
10543 cli_testcase(2392, [cbc,forall], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
10544 '-evalt_file', '../prob_examples/public_examples/B/B2SAT/pigeon/pigeon_bv_simple2_expanded2.eval',
10545 '-evalt_file', '../prob_examples/public_examples/B/B2SAT/pigeon/pigeon_bv_simple2_expanded3.eval',
10546 '-evalt_file', '../prob_examples/public_examples/B/B2SAT/pigeon/pigeon_bv_simple2_expanded5.eval',
10547 % two files below led to a time-out after is_just_type detects {FALSE,TRUE} as BOOL;
10548 % improved forall_splitting in ast_cleanup fixed this again (7.11.2025)
10549 '-evalt_file', '../prob_examples/public_examples/B/B2SAT/pigeon/pigeon_bv_simple2_expanded3_v2.eval',
10550 '-evalt_file', '../prob_examples/public_examples/B/B2SAT/pigeon/pigeon_bv_simple2_expanded5_v2.eval'
10551 ], 'Check many quantifiers and disjunctions and merging of FD info from disjuncts').
10552 cli_testcase(2393, [satsolver_test], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
10553 '../prob_examples/public_examples/B/B2SAT/pigeon/Pigeon_30_bv.mch', '-init',
10554 '-properties'
10555 ], 'Test b2sat performance and quantifier expansion'). %SET_PREF_SOLVER_FOR_PROPERTIES
10556 cli_testcase(2394, [smt_solver_integration], [
10557 '-evalf', ':z3-sat A=TRUE & A=FALSE',
10558 '-evalf', ':z3-sat A=TRUE & (A=FALSE or B=TRUE) & B=FALSE',
10559 '-evalt', ':z3-sat A=TRUE & B=TRUE',
10560 '-evalt', ':z3-sat A=TRUE & B=TRUE & (A=FALSE or B=FALSE or C=TRUE)',
10561 '-evalf', ':z3-sat A=TRUE & B=TRUE & (A=FALSE or B=FALSE or C=TRUE) & C=FALSE',
10562 '-evalt', ':z3-sat (A=TRUE => B=FALSE) & A=FALSE & B=TRUE',
10563 '-evalf', ':z3-sat (A=TRUE => B=FALSE) & A=TRUE & B=TRUE',
10564 '-evalf', ':z3-sat (A=TRUE <=> B=FALSE) & A=TRUE & B=TRUE',
10565 '-evalt', ':z3-sat (A=TRUE <=> B=FALSE) & A=TRUE & B=FALSE',
10566 '-evalt', ':z3-sat not(A=TRUE)',
10567 '-evalf', ':z3-sat not(A=TRUE) & A=TRUE'
10568 ], 'Some simple tests for Z3 SAT solver').
10569 % z3-sat uses normal B to Z3-SMTlib translation, but different settings of Z3
10570 % sat-z3 uses b2sat translation and then Z3 as ordinary sat solver
10571 cli_testcase(2395, [satsolver_test,smt_solver_integration], [ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
10572 '-evalt', ':sat-z3-double-check x=TRUE or x=FALSE',
10573 '-evalf', ':sat-z3-double-check x=TRUE & x=FALSE',
10574 '-evalt', ':sat-z3-double-check x=TRUE & (x=TRUE => y=TRUE) & (y=TRUE => x=TRUE)',
10575 '-evalf', ':sat-z3-double-check x=TRUE & (x=TRUE => y=TRUE) & (y=TRUE => x=FALSE)',
10576 '-evalt', ':sat-z3-double-check x=TRUE & (x=TRUE <=> y=TRUE) & (y=TRUE <=> z=TRUE)',
10577 '-evalt', ':sat-z3-double-check n=12 & f:1..n-->BOOL & !i.(i:2..n => (f(i)=TRUE =>f(i-1)=FALSE)) & f(1)=TRUE',
10578 '-evalt', ':sat-z3-double-check n=12 & f:1..n-->BOOL & !i.(i:2..n => (f(i)=TRUE =>f(i-1)=FALSE)) & f(1)=TRUE & f(12)=TRUE',
10579 '-evalf', ':sat-z3-double-check n=12 & f:1..n-->BOOL & !i.(i:2..n => (f(i)=TRUE <=>f(i-1)=FALSE)) & f(1)=TRUE & f(12)=TRUE',
10580 '-evalt', ':sat-z3-double-check n=12 & f:1..n-->BOOL & card({i|i:1..n & f(i)=TRUE})=1',
10581 '-evalf', ':sat-z3-double-check n=12 & f:1..n-->BOOL & card({i|i:1..n & f(i)=TRUE})=1 & card({i|i:1..n & f(i)=FALSE})=1',
10582 '-evalt', ':sat-z3-double-check n=6 & f:1..n-->BOOL & card({i|i:1..n & f(i)=TRUE})>2 & card({i|i:1..n & f(i)=FALSE})>2',
10583 '-evalf', ':sat-z3-double-check n=6 & f:1..n-->BOOL & card({i|i:1..n & f(i)=TRUE})>3 & card({i|i:1..n & f(i)=FALSE})>2',
10584 '-evalt', ':sat-z3-double-check n=6 & f:1..n-->BOOL & card({i|i:1..n & f(i)=TRUE})<4 & card({i|i:1..n & f(i)=FALSE})<4',
10585 '-evalf', ':sat-z3-double-check n=6 & f:1..n-->BOOL & card({i|i:1..n & f(i)=TRUE})<3 & card({i|i:1..n & f(i)=FALSE})<4',
10586 '-evalt', ':sat-z3-double-check f:1..3-->BOOL & card({y|y:1..3 & f(y)=TRUE}) <=2 &f(1)=TRUE & f(3)=TRUE',
10587 '-evalf', ':sat-z3-double-check f:1..3-->BOOL & card({y|y:1..3 & f(y)=TRUE}) <=2 &f(1)=TRUE & f(3)=TRUE & f(2)=TRUE',
10588 '-evalf', ':sat-z3-double-check f:1..100-->BOOL & card({y|y:1..100 & f(y)=TRUE}) <=6 &f(1)=TRUE & f(3)=TRUE & !i.(i:1..10 => (f(i)=FALSE => f(i*10)=TRUE))',
10589 '-evalt', ':sat-z3-double-check f:1..100-->BOOL & card({y|y:1..100 & f(y)=TRUE}) <=10 &f(1)=TRUE & f(3)=TRUE & !i.(i:1..10 => (f(i)=FALSE => f(i*10)=TRUE))',
10590 '-evalf', ':sat f:1..100-->BOOL & card({y|y:1..100 & f(y)=TRUE}) >=20 & card({y|y:1..100 & f(y)=TRUE}) <=19', % ProB times out here
10591 %'-evalt', ':sat-z3-double-check f:1..100-->BOOL & card({y|y:1..100 & f(y)=TRUE}) >=20 & card({y|y:1..100 & f(y)=TRUE}) <=20', % TODO: THIS crashes with SIGBUS on macOS with Z3 version 5.3.1
10592 '-evalt', ':sat-z3-double-check n=3 & f:1..n-->BOOL & f(1)=TRUE & card({i|i:1..n & (f(i)=TRUE or i=2)})=2',
10593 '-evalf', ':sat-z3-double-check n=3 & f:1..n-->BOOL & f(1)=TRUE & card({i|i:1..n & (f(i)=TRUE or i=2)})=1',
10594 '-evalt', ':sat-z3-double-check f:1..n --> BOOL & n=50 & f(1)=TRUE & !i.(i:2..n => f(i) /= f(i-1))',
10595 '-evalf', ':sat-z3-double-check f:1..n --> BOOL & n=3 & f(1)=TRUE & !i.(i:2..n => f(i) /= f(i-1)) & card({i|i:1..3 & (f(i)=TRUE or i=1)})=3',
10596 '-evalf', ':sat-z3-double-check f:1..n --> BOOL & n=3 & f(1)=TRUE & !i.(i:2..n => f(i) /= f(i-1)) & card({i|i:1..3 & (f(i)=TRUE or i=1)})=1',
10597 '-evalt', ':sat-z3-double-check f:1..n --> BOOL & n=3 & f(1)=TRUE & !i.(i:2..n => f(i) /= f(i-1)) & card({i|i:1..3 & (f(i)=TRUE or i=1)})=2',
10598 '-evalf', ':sat-z3-double-check f:1..n --> BOOL & n=3 & f(1)=TRUE & !i.(i:2..n => f(i) /= f(i-1)) & card({i|i:1..3 & (f(i)=TRUE or i=2)})=2',
10599 '-evalt', ':sat-z3-double-check f:1..n --> BOOL & n=3 & f(1)=TRUE & !i.(i:2..n => f(i) /= f(i-1)) & card({i|i:1..3 & (f(i)=TRUE or i=2)})=3'
10600 ], 'Test new satsolver backend (test 2355) but with Z3 as sat solver.').
10601 cli_testcase(2396, [cbc,external,strings], [
10602 '-evalt', '{x,y|conc([x,"_",y])="a_b"} = {("a"|->"b")}',
10603 '-evalt', '{x|conc(x) = "a_b" & size(x)=3 & x(2)="_"} = {["a","_","b"]}',
10604 '-evalt', '{x|conc(x) = "a_b" & size(x)=3 & x(2)=""} = {["","","a_b"],["a","","_b"],["a_","","b"],["a_b","",""]}',
10605 '-evalf', 'x:seq(STRING) & conc(x)="a_b" & x(2)="x" & size(x)<3' % <4 does not work yet
10606 %'-evalf', 'conc(x)="a_b" & x(2)="x" & size(x)<3' % this is not well-defined, without tight enumeration we find errors
10607 ], 'Test predicates with conc for strings').
10608 cli_testcase(2397, [tickets,json_trace_replay], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
10609 '../prob_examples/public_examples/B/Tickets/LetPredicateReify/tictac_MCTS.mch',
10610 '-trace_replay', 'json', '../prob_examples/public_examples/B/Tickets/LetPredicateReify/tictac_MCTS.prob2trace',
10611 '-evalt', 'WIN(0) or WIN(1)',
10612 '-evalt', 'not(WIN(1) => WIN(0))'
10613 ], 'Check let_predicate predicate reuse issue solved').
10614 cli_testcase(2398, [tickets], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
10615 '-evalt', '{x,v,y|x:1..2 & x:y & y<:1..4 & v=x+1 & LET x BE x=v+v IN x:y END} = {(1|->2|->{1,4}),(1|->2|->{1,2,4}),(1|->2|->{1,2,3,4}),(1|->2|->{1,3,4})}',
10616 '-evalt', 'x:1..2 & y:3..4 & (x:z or LET x BE x=y+y IN x:z & x+1:z END) & z<:6..8'
10617 ], 'Check let_predicate predicate reuse issue solved').
10618 cli_testcase(2399, [eventb_test,theories], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
10619 '../prob_examples/examples/EventBPrologPackages/Floats/AitSadoune_MEDI2023/TestPowOperator_ctx.eventb',
10620 '../prob_examples/examples/EventBPrologPackages/Floats/AitSadoune_MEDI2023/TestFloatTheory2_ctx.eventb',
10621 '../prob_examples/examples/EventBPrologPackages/Floats/AitSadoune_MEDI2023/TestFloatTheory3_ctx.eventb',
10622 '-init', '-assertions'],'Check float theory with axiomatic operators via set comprehensions').
10623 cli_testcase(2400, [eventb_test,theories,json_trace_replay], [
10624 '../prob_examples/examples/EventBPrologPackages/Floats/AitSadoune_MEDI2023/mch_floating_point_speed2_v2.eventb',
10625 '-trace_replay', 'json', '../prob_examples/examples/EventBPrologPackages/Floats/AitSadoune_MEDI2023/mch_floating_point_speed2_v2.prob2trace',
10626 '-expcterr', 'virtual_time_out'],'Check overriding direct def predicate operators via set comprehensions').
10627 cli_testcase(2401, [laws], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
10628 '-evalt', '{n|n>0 & 2**n <= 7} = 1..2',
10629 '-evalt', '{n|n>0 & 2**n <= 8} = 1..3',
10630 '-evalt', '{n|n>0 & 2**n <= 1024} = 1..10',
10631 '-evalt', '{n|n>0 & 2**n <= 1023} = 1..9',
10632 '-evalt', '{n|n>0 & 2**n <= 2000} = 1..10',
10633 '-evalt', '{n|n>0 & 2**n <= 2**33+1} = 1..33',
10634 '-evalt', '{n|n>0 & 3**n <= 3**10} = 1..10',
10635 '-evalt', '!b.(b:2..10 => {n|n>0 & b**n <= b**10} = 1..10)',
10636 '-evalt', '!b.(b:2..10 => {n|n>0 & b**n <= b**11-1} = 1..10)'
10637 ], 'Check power propagation').
10638 cli_testcase(2402, [eventb_test,dot], ['../prob_examples/public_examples/EventBPrologPackages/MultiLevel/TestMC_m1_mch.eventb', '-mc', '1000', '-strict', '-p', 'NUMBER_OF_ANIMATED_ABSTRACTIONS', '20', '-nodead', '-expcterr', 'event_error:evt1:simulation_error',
10639 '-p', 'DOT_FORMULA_TREE_HTML', 'FALSE', '-dot', 'last_error', '../prob_examples/public_examples/EventBPrologPackages/MultiLevel/TestMC_m1_sim_error.dot'], 'Test dot visualisation of simulation error from test 148').
10640 cli_testcase(2403, [eventb_test,theories], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
10641 '../prob_examples/public_examples/EventBPrologPackages/Theory/Inductive/BaumTest_ctx.eventb',
10642 '../prob_examples/public_examples/EventBPrologPackages/Theory/Inductive/BaumTest2_ctx.eventb',
10643 '../prob_examples/public_examples/EventBPrologPackages/Theory/Inductive/TestInductiveRecOp_ctx.eventb',
10644 '-init', '-assertions'],'Check inductive datatypes').
10645 cli_testcase(2404, [tickets], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE', '-p', 'DATA_VALIDATION', 'TRUE',
10646 '-evalf', 'S=[11,22,33] & ((x=1 & #y.(3|->y:S)) or (x=2 & not(#y.(3|->y:S)))) <=> P=TRUE & x>1 & x<10 & P=TRUE',
10647 '-evalf', 'S=[11,22,33] & ((x=1 & v:ran(S)) or (x=2 & not(v:ran(S)))) <=> P=TRUE & x>1 & x<10 & P=TRUE & v:{22,33}'
10648 ],'Check interference between predicate reuse of exists in reification and non-required predicates').
10649 cli_testcase(2405,[private_source_not_available],['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
10650 '-p', 'JVM_PARSER_HEAP_MB', '12000', '-p', 'TIME_OUT', 2000, '-p', 'DATA_VALIDATION', 'TRUE', '-release-java-parser',
10651 '../private_examples/ClearSy/2024/perf_0126/rule_RVF192_MSVI_FOLIO.mch',
10652 '-execute_all', '-execute_expect_steps', 3, %'-silent',
10653 '-animate_stats',
10654 '-evalt', 'card(caval__rule__1__ALL)=0',
10655 '-evalt', 'caval__rule__1__done=TRUE'
10656 ], 'Check interference between predicate reuse of exists in reification and non-required predicates').
10657 cli_testcase(2406,[private_source_not_available],['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
10658 '-p', 'JVM_PARSER_HEAP_MB', '12000', '-p', 'TIME_OUT', 2000, '-p', 'DATA_VALIDATION', 'TRUE', '-release-java-parser',
10659 '../private_examples/ClearSy/2023/Machines_perf_0323/CCSL/rule_TYPES_AUTORISES_RVF3_GEN__MRGA.mch',
10660 '-execute_all', '-execute_expect_steps', 3, %'-silent',
10661 '-animate_stats',
10662 '-evalt', 'card(caval__rule__1__ALL)=84458',
10663 '-evalt', 'caval__rule__1__done=TRUE'
10664 ], 'Performance check for non-det reification of exists').
10665 cli_testcase(2407, [eventb_test,theories,json_trace_replay], [
10666 '../prob_examples/examples/EventBPrologPackages/ABZ2023/Mammar_v15/M3_sep5_mch.eventb',
10667 '-trace_replay', 'json', '../prob_examples/examples/EventBPrologPackages/ABZ2023/Mammar_v15/M3_sep5_mch.prob2trace',
10668 '-expcterr', 'setup_constants_unknown',
10669 '-expcterr', 'virtual_time_out'],'Check prob-ignore label recognised with 8722 hyphen').
10670 cli_testcase(2408, [eventb_test], ['../prob_examples/examples/EventBPrologPackages/ABZ2023/Mammar_v16/C2_ctx.eventb', '-mc', '10', '-strict',
10671 '-nodead', '-expcterr', 'model_check_incomplete'], 'Test cardinality inference for deferred set works').
10672 cli_testcase(2409, [eventb_test,theories,json_trace_replay,visb], [
10673 '../prob_examples/examples/EventBPrologPackages/ABZ2023/Mammar_v19/M8_mch.eventb',
10674 '-trace_replay', 'json', '../prob_examples/examples/EventBPrologPackages/ABZ2023/Mammar_v19/M8_mch.prob2trace',
10675 '-visb', '../prob_examples/examples/EventBPrologPackages/ABZ2023/Mammar_v19/visualization/AMAN_M8_vis.json',
10676 '../prob_examples/examples/EventBPrologPackages/ABZ2023/Mammar_v19/m8_VisB.html'
10677 ],'Check that new description_event terms recognised').
10678 cli_testcase(2410, [kodkod], [ '-p', 'KODKOD_RAISE_WARNINGS', 'TRUE',
10679 '-evalt', ':kodkod-double-check sss - {TRUE} = {} & sss = {TRUE} '
10680 ,'-evalt', ':kodkod-double-check sss - {TRUE} = {FALSE} & sss /= {FALSE}'
10681 ,'-evalf', ':kodkod-double-check sss - {TRUE} = {FALSE} & FALSE /: sss'
10682 ,'-evalt', ':kodkod-double-check sss - {1,4,5} = {} & sss = {1,4,5}'
10683 ], 'check constraint propagation bug for set_subtraction fixed').
10684 cli_testcase(2411, [b_test, imp, refinement,while], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
10685 '../prob_examples/examples/B/B2Sol/SAC_2024_CaseStudy/B_weth_i.imp', '-mc', 100,
10686 '-expcterr', 'model_check_incomplete'
10687 ], 'Check visibility and $0 access in invariant of while loops').
10688 cli_testcase(2412, [b_test, operation_reuse,while], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
10689 '-p', 'OPERATION_REUSE', 'TRUE', '-p', 'COMPRESSION', 'TRUE',
10690 '../prob_examples/public_examples/B/PerformanceTests/codegenerator/SetCardBig.mch', '-mc', 100,
10691 '-cc', 3,3
10692 ], 'Check correct read info for while loop').
10693 cli_testcase(2413,[private,systerel],['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
10694 '../prob_examples/examples/B/Systerel/Ticket_C578.EML.010/bug65anofirst_wo_adc_pragma.mch',
10695 '-p', 'DOUBLE_EVALUATION', 'FALSE', '-aa', 4, 0, 0, '-init', '-p', 'CLPFD', 'FALSE', % much slower with CLPFD
10696 %'-p', 'SYMBOLIC', 'TRUE', % this takes very long
10697 '-p', 'TIME_OUT', 10000
10698 ], 'Check ticket Ticket_C578.EML.010 from 2013'). % used to be big difference from source, much slower than with probcli
10699 cli_testcase(2414, [smt_solver_integration], [
10700 '../prob_examples/public_examples/EventBPrologPackages/Abrial_Train_Ch17/Train_1_beebook_tlc.mch', '-init',
10701 '-p', 'TIME_OUT', '30000',
10702 '-evalf', ':z3 #(TRK,frm,resrt,rsrtbl).(not(rsrtbl : resbl --> resrt & r = R8 & r : resrt - frm & TRK1 = ((dom(nxt(r)) <<| TRK) |>> ran(nxt(r))) \\/ nxt(r) & frm1 = frm & nxt1 = nxt & resrt1 = resrt & rsrtbl1 = rsrtbl & (r1 = R9 & r1 : resrt - ran(rsrtbl) & (resrt2 = resrt - {r1} & frm2 = frm - {r1}) & TRK2 = TRK & nxt2 = nxt & rsrtbl2 = rsrtbl) & (r2 = R9 & r2 : resrt1 - ran(rsrtbl1) & (resrt3 = resrt1 - {r2} & frm3 = frm1 - {r2}) & TRK3 = TRK1 & nxt3 = nxt1 & rsrtbl3 = rsrtbl1) & (r3 = R8 & r3 : resrt2 - frm2 & TRK4 = ((dom(nxt2(r3)) <<| TRK2) |>> ran(nxt2(r3))) \\/ nxt2(r3) & frm4 = frm2 & nxt4 = nxt2 & resrt4 = resrt2 & rsrtbl4 = rsrtbl2) => TRK3 = TRK4 & frm3 = frm4 & nxt3 = nxt4 & resrt3 = resrt4 & rsrtbl3 = rsrtbl4))',
10703 '-evalf', ':z3 #(LBT,TRK,frm,OCC,resbl,resrt,rsrtbl).(not(rsrtbl : resbl --> resrt & rsrtbl <: rtbl & OCC <: resbl & !r.(r : ROUTES => nxt(r)[(rtbl~)[{r}] - (rsrtbl~)[{r}]] /\\ (rsrtbl~)[{r}] - OCC = {}) & !r.(r : ROUTES => nxt(r)[(rsrtbl~)[{r}]] <: (rsrtbl~)[{r}]) & !r.(r : ROUTES => nxt(r)[(rsrtbl~)[{r}] - OCC] <: (rsrtbl~)[{r}] - OCC) & TRK : BLOCKS >+> BLOCKS & frm <: resrt & rsrtbl[OCC] <: frm & !r.(r : resrt - frm => rtbl |> {r} = rsrtbl |> {r}) & !(x,y).(x |-> y : TRK => #r.(x |-> y : nxt(r))) & !r.(r : frm => (rsrtbl~)[{r}] <| nxt(r) = (rsrtbl~)[{r}] <| TRK) & LBT <: OCC & !(a,b).(b : LBT & (b : ran(nxt(rsrtbl(b))) & (a = (nxt(rsrtbl(b))~)(b) & a : dom(rsrtbl))) => rsrtbl(a) /= rsrtbl(b)) & rsrtbl : resbl --> resrt & rsrtbl <: rtbl & OCC <: resbl & !r.(r : ROUTES => nxt(r)[(rtbl~)[{r}] - (rsrtbl~)[{r}]] /\\ (rsrtbl~)[{r}] - OCC = {}) & !r.(r : ROUTES => nxt(r)[(rsrtbl~)[{r}]] <: (rsrtbl~)[{r}]) & !r.(r : ROUTES => nxt(r)[(rsrtbl~)[{r}] - OCC] <: (rsrtbl~)[{r}] - OCC) & (R2 : resrt - frm & (rsrtbl~)[{R2}] <| {(A|->B),(B|->D),(D|->E),(E|->F),(F|->G),(L|->A)} = (rsrtbl~)[{R2}] <| TRK & R7 : resrt - ran(rsrtbl)) & (R7 : resrt - ran(rsrtbl) & (resrt1 = resrt - {R7} & frm1 = frm - {R7}) & LBT1 = LBT & TRK1 = TRK & OCC1 = OCC & resbl1 = resbl & rsrtbl1 = rsrtbl & fst1 = fst & lst1 = lst & nxt1 = nxt & rtbl1 = rtbl) & rsrtbl1 = resrtbl => R2 : resrt1 - frm1 & (rsrtbl1~)[{R2}] <| {(A|->B),(B|->D),(D|->E),(E|->F),(F|->G),(L|->A)} = (rsrtbl1~)[{R2}] <| TRK))',
10704 '-evalf', 'not(rsrtbl : resbl --> resrt & rsrtbl <: rtbl & OCC <: resbl & !r.(r : ROUTES => nxt(r)[(rtbl~)[{r}] - (rsrtbl~)[{r}]] /\\ (rsrtbl~)[{r}] - OCC = {}) & !r.(r : ROUTES => nxt(r)[(rsrtbl~)[{r}]] <: (rsrtbl~)[{r}]) & !r.(r : ROUTES => nxt(r)[(rsrtbl~)[{r}] - OCC] <: (rsrtbl~)[{r}] - OCC) & TRK : BLOCKS >+> BLOCKS & frm <: resrt & rsrtbl[OCC] <: frm & !r.(r : resrt - frm => rtbl |> {r} = rsrtbl |> {r}) & !(x,y).(x |-> y : TRK => #r.(x |-> y : nxt(r))) & !r.(r : frm => (rsrtbl~)[{r}] <| nxt(r) = (rsrtbl~)[{r}] <| TRK) & LBT <: OCC & !(a,b).(b : LBT & (b : ran(nxt(rsrtbl(b))) & (a = (nxt(rsrtbl(b))~)(b) & a : dom(rsrtbl))) => rsrtbl(a) /= rsrtbl(b)) & rsrtbl : resbl --> resrt & rsrtbl <: rtbl & OCC <: resbl & !r.(r : ROUTES => nxt(r)[(rtbl~)[{r}] - (rsrtbl~)[{r}]] /\\ (rsrtbl~)[{r}] - OCC = {}) & !r.(r : ROUTES => nxt(r)[(rsrtbl~)[{r}]] <: (rsrtbl~)[{r}]) & !r.(r : ROUTES => nxt(r)[(rsrtbl~)[{r}] - OCC] <: (rsrtbl~)[{r}] - OCC) & (K : LBT & K : dom(TRK) & TRK(K) : OCC & (OCC1 = OCC - {K} & rsrtbl1 = {K} <<| rsrtbl & resbl1 = resbl - {K} & LBT1 = LBT - {K} \\/ {TRK(K)}) & TRK1 = TRK) & (J : OCC & J : dom(TRK) & TRK(J) /: OCC & OCC2 = OCC \\/ {TRK(J)} & LBT2 = LBT & TRK2 = TRK & resbl2 = resbl & rsrtbl2 = rsrtbl) & (J : OCC1 & J : dom(TRK1) & TRK1(J) /: OCC1 & OCC3 = OCC1 \\/ {TRK1(J)} & LBT3 = LBT1 & TRK3 = TRK1 & resbl3 = resbl1 & rsrtbl3 = rsrtbl1) & (K : LBT2 & K : dom(TRK2) & TRK2(K) : OCC2 & (OCC4 = OCC2 - {K} & rsrtbl4 = {K} <<| rsrtbl2 & resbl4 = resbl2 - {K} & LBT4 = LBT2 - {K} \\/ {TRK2(K)}) & TRK4 = TRK2) => LBT3 = LBT4 & OCC3 = OCC4 & TRK3 = TRK4 & resbl3 = resbl4 & rsrtbl3 = rsrtbl4)',
10705 '-evalf', ':z3 #(LBT,TRK,frm,OCC,resbl,resrt,rsrtbl).(not(rsrtbl : resbl --> resrt & rsrtbl <: rtbl & OCC <: resbl & !r.(r : ROUTES => nxt(r)[(rtbl~)[{r}] - (rsrtbl~)[{r}]] /\\ (rsrtbl~)[{r}] - OCC = {}) & !r.(r : ROUTES => nxt(r)[(rsrtbl~)[{r}]] <: (rsrtbl~)[{r}]) & !r.(r : ROUTES => nxt(r)[(rsrtbl~)[{r}] - OCC] <: (rsrtbl~)[{r}] - OCC) & TRK : BLOCKS >+> BLOCKS & frm <: resrt & rsrtbl[OCC] <: frm & !r.(r : resrt - frm => rtbl |> {r} = rsrtbl |> {r}) & !(x,y).(x |-> y : TRK => #r.(x |-> y : nxt(r))) & !r.(r : frm => (rsrtbl~)[{r}] <| nxt(r) = (rsrtbl~)[{r}] <| TRK) & LBT <: OCC & !(a,b).(b : LBT & (b : ran(nxt(rsrtbl(b))) & (a = (nxt(rsrtbl(b))~)(b) & a : dom(rsrtbl))) => rsrtbl(a) /= rsrtbl(b)) & rsrtbl : resbl --> resrt & rsrtbl <: rtbl & OCC <: resbl & !r.(r : ROUTES => nxt(r)[(rtbl~)[{r}] - (rsrtbl~)[{r}]] /\\ (rsrtbl~)[{r}] - OCC = {}) & !r.(r : ROUTES => nxt(r)[(rsrtbl~)[{r}]] <: (rsrtbl~)[{r}]) & !r.(r : ROUTES => nxt(r)[(rsrtbl~)[{r}] - OCC] <: (rsrtbl~)[{r}] - OCC) & (R2 : resrt - frm & (rsrtbl~)[{R2}] <| nxt(R2) = (rsrtbl~)[{R2}] <| TRK & R7 : resrt - ran(rsrtbl)) & (R7 : resrt - ran(rsrtbl) & (resrt1 = resrt - {R7} & frm1 = frm - {R7}) & LBT1 = LBT & TRK1 = TRK & OCC1 = OCC & resbl1 = resbl & rsrtbl1 = rsrtbl & fst1 = fst & lst1 = lst & nxt1 = nxt & rtbl1 = rtbl) => R2 : resrt1 - frm1 & (rsrtbl~)[{R2}] <| nxt(R2) = (rsrtbl~)[{R2}] <| TRK))'
10706 ], 'check AST optimization for z3').
10707 cli_testcase(2415, [cbc,infinite], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
10708 '-evalt', 'F=%x.(x:INTEGER|x+1) & F /: FIN(F)',
10709 '-evalt', 'F=%x.(x>2|x+1) & F /: FIN(F)',
10710 '-evalt', 'F=%x.(x>2 or x=0|x+1) & F /: FIN(F)',
10711 %'-evalt', 'F= %(x,y).(x=y+1 & y=x+1 | x+y) & F : FIN(F)', % moved to test 2561
10712 '-evalt', 'F=%x.(x:NATURAL1 & x/=2 & x/=4| x+1)',
10713 '-evalt', 'F=%afh.(afh: INTEGER +-> INTEGER & afh/={} | card(afh))',
10714 '-evalt', 'F=%afh.(afh: INTEGER +-> INTEGER & {}/=afh | card(afh))',
10715 '-evalt', 'F=%afh.(afh: INTEGER <-> INTEGER & {}/=afh | card(afh))',
10716 '-evalt', 'F=%afh.(afh: INTEGER --> INTEGER & {}/=afh | card(afh))',
10717 '-evalt', 'F=%afh.(afh: BOOL --> INTEGER & {}/=afh | card(afh))',
10718 '-evalt', 'F=/*@symbolic*/{x| x:S1 or x:S2} & F /: FIN(F) & S1<:INTEGER & S1 = NATURAL1 & S2 <: 1..5',
10719 '-evalt', 'F=/*@symbolic*/{x| x:S1 or x:S2} & F /: FIN(F) & S1<:INTEGER & S1 <: 1..5 & S2 = NATURAL1',
10720 '-evalt', 'F=%x.(x:NATURAL1 & x/=2 & x/=4| x+1) & F /: FIN(F)',
10721 '-evalt', 'F=%x.(x:POW(NATURAL1) & x/={}| card(x)) & F /: FIN(F)',
10722 '-evalt', 'F=%x.(x:POW(INTEGER) & x/={}| card(x)) & F /: FIN(F)',
10723 '-evalt', 'F=%afh.(afh: INTEGER --> INTEGER & {}/=afh | card(afh)) & F /: FIN(F)',
10724 '-evalt', 'F=%afh.(afh: POW(INTEGER --> INTEGER) & {}/=afh | card(afh)) & F /: FIN(F)',
10725 '-evalt', 'F=%afh.(afh: seq(STRING +-> INTEGER) & {}/=afh | card(afh)) & F /: FIN(F)',
10726 '-evalf', 'F=%afh.(afh: seq({}) & afh:INTEGER<->INTEGER & {}/=afh | card(afh)) & F /: FIN(F)',
10727 '-evalt', 'F=%afh.(afh: seq({}) & afh:INTEGER<->INTEGER & {}/=afh | card(afh)) & F : FIN(F)',
10728 '-evalt', '%(afh,afi).(afh: INTEGER +-> INTEGER & afh/={} & afi: INTEGER |afi)=F & F/:FIN(F)'
10729 ], 'check improved infinite detection allowing not_equal works').
10730 cli_testcase(2416, [b_test,closure1,infinite,wd], ['../prob_examples/public_examples/B/Tickets/Hansen7/ClosureTest_NotWD.mch', '-init',
10731 '-expecterr', 'well_definedness_error', '-opterr', 'setup_constants_unknown',
10732 '-opterr', 'virtual_time_out', '-expcterr', 'setup_constants_fails'
10733 ], 'Version of test 1879 where wd error not masked by failure').
10734 cli_testcase(2417, [eventb_test,theories,json_trace_replay,visb], [
10735 '../prob_examples/public_examples/B/Tickets/TraceReplaySlow/Execute_by_Predicate_Problem_Enumerated.mch',
10736 '-p', 'MAX_OPERATIONS', 0, % avoid virtual_time_out
10737 '-trace_replay', 'json', '../prob_examples/public_examples/B/Tickets/TraceReplaySlow/Execute_by_Predicate_Problem_Enumerated.prob2trace'
10738 ],'Check that execute by predicate with seq. composition and becomes_such works').
10739 cli_testcase(2418, [eventb_test,card], [
10740 '../prob_examples/examples/EventBPrologPackages/Soton/Property/c0_property_Prob_ctx_v1.eventb',
10741 '-init'], 'Check deferred set detection works via card(.) axiom of other deferred set').
10742 cli_testcase(2419, [eventb_test,card], [ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
10743 '../prob_examples/examples/EventBPrologPackages/Toulouse/Riviere/bdi/TermsContext_ctx.eventb',
10744 '-p', 'DEFAULT_SETSIZE', 20,
10745 '-init'], 'Check deferred max set size detection works via card(.) and partition').
10746 cli_testcase(2420, [eventb_test,infinite,theories], [ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
10747 '../prob_examples/examples/EventBPrologPackages/Toulouse/Riviere/bdi/bdireasoning_mch_v2.eventb',
10748 '-p', 'DEFAULT_SETSIZE', 20,
10749 '-init'], 'Check no virtual time-out due to function with symbolic results').
10750 cli_testcase(2421, [b_test,proz,theories,infinite],['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
10751 '../prob_examples/public_examples/B/NewSyntax/FreeTypeInFreeType.mch',
10752 '-init','-assertions'],
10753 'Check freetypes can use fields with other freetypes as type').
10754 cli_testcase(2422, [tla,reals,external],['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
10755 '../prob_examples/public_examples/TLA/Reals/Demo01_generated.mch',
10756 '-init'],
10757 'Check TLA+ division via CHOOSE is treated').
10758 cli_testcase(2423, [reals,external], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE', '-p', 'REAL_SOLVER', real_solver,
10759 '-evalt', '{x|x-1.0=3.0} = {y|y=3.0+1.0}',
10760 '-evalt', 'X+10.0e10 = 1.0e-9 & sol=-1.0E+11 & (X=sol or X=RNEXT(sol) or RNEXT(sol)=X)', % FALSE with precise_float_solver
10761 '-evalt', '{x|x+1.0=3.0} = {y|y=3.0-1.0}', % FALSE with precise_float_solver
10762 '-evalt', '{x|0.001 + x = 1000.0} = {999.999}' % FALSE in SICStus 4.10 with CLP(FD) solver, we get {999.9989999999999,999.999,999.9990000000001}
10763 ], 'check deterministic constraint propagation for real addition/subtraction').
10764 cli_testcase(2424, [reals,external], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE', '-p', 'REAL_SOLVER', precise_float_solver,
10765 '-evalt', '{x,y,ok|RNEXT(100.0) = x & x = RNEXT(y) & (y=100.0 <=> ok=TRUE)} = {(100.00000000000001|->100.0|->TRUE)}',
10766 '-evalt', 'REPSILON>0.0',
10767 '-evalt', 'RNEXT(0.0) = REPSILON',
10768 '-evalt', 'RMAXFLOAT > 10.0E30'
10769 ], 'check new float operators').
10770 cli_testcase(2425, [reals,external], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE', '-p', 'REAL_SOLVER', precise_float_solver,
10771 '-evalt', '{x|0.001 + x = 1000.0} = {999.999}',
10772 '-evalt', '{x|0.001 - x = 1000.0} = {-999.999}',
10773 '-evalt', '{x|300.0-x=20.0} = {280.0}',
10774 '-evalt', '{x|x-180.0=20.0} = {200.0}',
10775 '-evalt', '{x|x-1.0=3.0} = {y|y=3.0+1.0}',
10776 '-evalf', 'X+10.0e10 = 1.0e-9 & sol=-1.0E+11 & (X=sol or X=RNEXT(sol) or RNEXT(sol)=X)', % non-solution rejected
10777 '-evalt', '{x|10.0e10 = 1.0e-9-x} = {-1.0E+11}', % but it is a solution for minus
10778 '-evalt', 'x + 1.0 = 3.0 & RNEXT(p)=2.0 & x:{p,1.0,3.0}', % check that predecessor of 2.0 accepted as solution
10779 '-evalt', '{x|1.0 = 3.0 - x} = {2.0}',
10780 '-evalt', '{x|2.0*x=4.0} = {2.0}',
10781 '-evalt', '{x|x*2.0=4.0} = {2.0}',
10782 '-evalf', 'x*0.0 = 2.0',
10783 '-evalt', 'x * 12.0 = 4.0 & RPREV(p)=4.0/12.0 & x:{p,1.0,2.0}' % check that succ accepted as solution
10784 %'-evalt', '{x|x+1.0=3.0} = {y|y=3.0-1.0}', % rejected due to ambiguous solution
10785 ], 'check deterministic constraint propagation with default precise solver'). % these tests rely on 64-bit floats
10786 cli_testcase(2426, [wd], [
10787 '-evalt', ':wd x:seq(1..10) & !i.(i:2..size(x) => x(i-1)<x(i))'
10788 ], 'check wd works with arithmetic manipulations of sequence indexes ').
10789 cli_testcase(2427, [private_source_not_available], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
10790 '../prob_examples/examples/B/PlanPro/PlanProGross.mch', '-init',
10791 '-release-java-parser', '-p', 'JVM_PARSER_HEAP_MB', 12000, '-p', 'COMPRESSION', 'TRUE',
10792 '-p', 'jvm_parser_fastrw', 'TRUE', '-p', 'TIME_OUT', 30000
10793 ], 'check SICS 4.9 call_cleanup performance problem solved'). % source is available but test takes quite long
10794 cli_testcase(2428, [eventb_test,infinite,theories], [
10795 '../prob_examples/examples/EventBPrologPackages/Toulouse/Riviere/HorlageDeepInstance_ctx.eventb', '-init',
10796 '-evalt', 'BAP(clock)[{tick_midnight}][Inv(clock) /\\ Grd(clock)[{tick_midnight}]] <: Inv(clock)',
10797 '-evalt', 'BAP(clock)[{tick_min}][Inv(clock) /\\ Grd(clock)[{tick_min}]] <: Inv(clock)',
10798 '-evalt', 'BAP(clock)[{tick_min}][AP(clock)] = {1|->0}',
10799 '-assertions' ], % check assertions worked due to expansion of quantifier for events and because label was not recognised, improved symbolic treatment from 25.5.2024 fixes this (but checking still slower than if theorem axm16 expanded)
10800 'check symbolic image treatment works').
10801 cli_testcase(2429, [eventb_test,infinite,theories], [
10802 '../prob_examples/examples/EventBPrologPackages/Toulouse/Riviere/HorlogeDeepMachine_mch.eventb', '-model-check', '-noass',
10803 '-cc', 1442, 1442],
10804 'check symbolic image treatment works'). % still generates a lot of enum warnings on the console, TODO: fix
10805 cli_testcase(2430, [reals,external], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE', '-p', 'REAL_SOLVER', precise_float_solver,
10806 '-evalt', '{x|x + 2.0 = 3.0} = {0.9999999999999998,0.9999999999999999,1.0,1.0000000000000002}',
10807 '-evalt', 'card({x|x + 2.0 = 3.0}) = 4',
10808 '-evalt', 'card({x|x + 1.0 = 3.0}) = 2',
10809 '-evalt', 'card({x|x + 2.5 = 3.0}) = 7',
10810 '-evalt', '0.5000000000000002 : ({x|x + 2.5 = 3.0})',
10811 '-evalt', 'x + 2.99 = 3.0 & x:{0.01, 0.02}',
10812 '-evalt', '{x|x*3.0 = 4.0} = {1.3333333333333333,1.3333333333333335}',
10813 '-evalt', '{x,y|x+0.005 = 0.006 & y+0.005 = x} = {(0.001|->-0.004)}',
10814 '-evalt', '{y|y+0.005 = 0.0009999999999999998} = {}',
10815 '-evalf', 'y+0.005 = 0.0009999999999999998',
10816 '-evalf', 'y*y = -0.01',
10817 %'-evalt', 'y*y = 0.0', % can be solved but currently generates enumeration warning as there are many solutions
10818 '-evalt', 'y*y = 4.0',
10819 '-evalt', 'y*y = 16.0',
10820 '-evalt', '{y|y*y = 16.0}={-4.0,4.0}',
10821 '-evalt', '{x|x * x = 16.0 & x<2.0} = {-4.0}',
10822 '-evalt', '{y|y*y = 100.0}={-10.0, 10.0}',
10823 '-evalt', '{y|y*y = 3.0}={}',
10824 '-evalt', '{y|y**2 = 16.0}={-4.0,4.0}',
10825 '-evalt', '{y|y**2 = 100.0}={-10.0, 10.0}',
10826 '-evalt', '{y|y**2 = 3.0}={}',
10827 '-evalt', 'c=card({y|y*y=x}) & x = 2.0E-309 & c=14', % there are 7 square roots
10828 '-evalt', 'n=%r.(r:REAL|RNEXT(r)) & cs = {x,c|x: UNION(i).(i:1..100|iterate(n,i)[{2.0}]) & c=card({y|y*y=x})/2} & r=ran(cs) & ok=card({x|x|->1:cs}) & r={0,1} & ok=71', % 71 of 100 numbers after 2.0 have a square root
10829 '-evalt', '{i|i:10..20 & 10.0**i + 1.0 = 10.0**i} = 16..20',
10830 '-evalt', '{y|y/2.0 = 4.0}={8.0}',
10831 '-evalt', '{x|x / 0.01 = 3.0}={0.03,0.030000000000000002}',
10832 '-evalt', '{x|RABS(x) = 2.0} = {2.0, -2.0}',
10833 '-evalt', '{x|RABS(x) = -2.0} = {}',
10834 '-evalt', '{x|RABS(x) = 0.0} = {0.0}',
10835 '-evalt', '{x| -x = 2.0} = {-2.0}',
10836 '-evalt', '{y|x = RSQRT(y)}=r & x=4.0 & r={16.0,16.000000000000004}',
10837 '-evalt', '{y|x = RSQRT(y)}=r & x=-4.0 & r={}'
10838 ], 'check non-deterministic constraint propagation with default precise solver'). % these tests rely on 64-bit floats
10839 cli_testcase(2431, [reals,json_trace_replay,visb], [
10840 '../prob_examples/public_examples/B/VisB/Physics/MovingParticles4.mch',
10841 '-trace_replay', 'json', '../prob_examples/public_examples/B/VisB/Physics/MovingParticles4.prob2trace',
10842 '-visb', '../prob_examples/public_examples/B/VisB/Physics/four_bodies.json',
10843 '../prob_examples/public_examples/B/VisB/Physics/MovingParticles4.html'], 'Check JSON replay and VisB HTML generation with reals').
10844 cli_testcase(2432, [tickets,theories], [
10845 '../prob_examples/public_examples/EventBPrologPackages/Tickets/IllegalEvent/J_ClientServer_mch.eventb',
10846 '-mc', 100, '-nodead', '-cc', 17, 16], 'Check issue with adding non-default declaration to events solved').
10847 cli_testcase(2433, [rulesdsl], [ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
10848 '../prob_examples/public_examples/Rules_Machines/RulesExample.rmch',
10849 '-execute_all',
10850 '-evalt', 'TestOnSuccess = "FAIL"',
10851 '-evalt', 'TestOnSuccess_Counterexamples = {(1,"fail for x = 0"),(1,"fail for x = 1"),(1,"fail for x = 2"),(1,"fail for x = 3"),(1,"fail for x = 4"),(1,"fail for x = 5")}',
10852 '-evalt', 'TestOnSuccess_Successful = {(1,"success for x = 3"),(1,"success for x = 5"),(2,"success for x = 4")}'
10853 ], 'Check success messages and counter examples of rulesdsl.').
10854 cli_testcase(2434, [cbc,infinite], [
10855 '../prob_examples/public_examples/B/Mathematical/DecompositionNaturalNumber.mch',
10856 '-init', '-assertions'], 'Check example with infinite functions work').
10857 cli_testcase(2435, [rulesdsl], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
10858 '../prob_examples/public_examples/Rules_Machines/TestDependency.rmch',
10859 '-execute_all', '-execute_expect_steps', 6,
10860 '-evalt', 'check_y="SUCCESS"', '-evalt', 'check_y_Counterexamples={}',
10861 '-evalt', 'check_y_sum="SUCCESS"', '-evalt', 'check_y_sum_Counterexamples={}',
10862 '-evalt', 'set_limit="EXECUTED"', '-evalt', 'limit=10',
10863 '-evalt', 'set_x_to_prime="EXECUTED"', '-evalt', 'x={13}',
10864 '-evalt', 'set_y_to_next_primes="EXECUTED"', '-evalt', 'y={13,17,19,23}'
10865 ], 'Check simple Rules machine').
10866 cli_testcase(2436, [cbc,infinite,smt_test], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'FALSE', '-p', 'SMT', 'TRUE',
10867 '-evalt', 'a:1..10 & c:1..10 & f(a)=c & f:NATURAL1 --> NATURAL1',
10868 '-evalt', 'f(a)=c & f:NATURAL1 --> NATURAL1 & a:1..10 & c:1..10',
10869 '-evalt', 'f(2)=3 & f(3)=4 & f:NATURAL1 --> NATURAL1'
10870 ], 'check force_in_domain does not instantiate too early').
10871 cli_testcase(2437, [cbc,infinite], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'FALSE', '-p', 'SMT', 'TRUE',
10872 '-evalt', 'cs = INTEGER \\ (1..100) & x: cs & x>0',
10873 '-evalf', 'cs = INTEGER \\ (1..1000) & x: cs & x>0 & x<999',
10874 '-evalt', 'cs = INTEGER \\ (1..1000) & x: cs & x>2',
10875 '-evalt', '(x<1 or x>100) & x>0',
10876 '-evalt', 'x /: 1..100 & x>0'
10877 ], 'check not element of avl interval propagates CLPFD info').
10878 cli_testcase(2438, [b_test,proz,theories], [ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
10879 '../prob_examples/public_examples/B/NewSyntax/FreeTypeNonRecursive.mch',
10880 '-init', '-assertions'], 'Check examples with finite freetypes').
10881 cli_testcase(2439, [laws,theories], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
10882 '../prob_examples/public_examples/B/Laws/SetLawsFreeType.mch',
10883 '../prob_examples/public_examples/B/Laws/SetLawsFreeType2.mch',
10884 '../prob_examples/public_examples/B/Laws/SetLawsFreeType3.mch',
10885 '-mc', '740', '-cs', '-nogoal', '-nodead', '-strict'], 'Mathematical Laws about sets with finite freetype elements'). % has more than 513 = 8*8*8+1 states as freetype(Id) value not normalised
10886 cli_testcase(2440, [laws,theories], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
10887 '../prob_examples/public_examples/B/Laws/SeqLawsFreeType.mch',
10888 '-mc', '500', '-cs', '-nogoal', '-nodead', '-strict'], 'Mathematical Laws about sequences with finite freetype elements').
10889 cli_testcase(2441, [laws,theories], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
10890 '../prob_examples/public_examples/B/Laws/RelLawsFreeType.mch',
10891 '../prob_examples/public_examples/B/Laws/RelLawsFreeType2.mch',
10892 '-mc', '500', '-cs', '-nogoal', '-nodead', '-strict',
10893 '-p', 'DOUBLE_EVALUATION', 'TRUE', '-expcterr', 'model_check_incomplete'], 'Mathematical Laws about relations with finite freetype elements').
10894 cli_testcase(2442, [laws,theories], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
10895 '../prob_examples/public_examples/B/Laws/SeqLawsFreeType2.mch',
10896 '-noass', % they still lead to a time-out
10897 '-mc', '500', '-cs', '-nogoal', '-nodead', '-strict'], 'Mathematical Laws about sequences with finite freetype elements').
10898 cli_testcase(2443, [laws,eventb_test,theories], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
10899 '../prob_examples/public_examples/EventBPrologPackages/Laws/SetLaws.eventb',
10900 '../prob_examples/public_examples/EventBPrologPackages/Laws/SetLaws2_mch.eventb',
10901 '-mc', '513', '-cs', '-nogoal', '-nodead', '-strict'], 'Mathematical Laws about sets with finite freetype elements').
10902 cli_testcase(2444, [laws,theories], [
10903 '../prob_examples/public_examples/B/Laws/SetLawsPowFreetypes.mch', % 4098 states
10904 '../prob_examples/public_examples/B/Laws/SetLawsPowBOOL.mch',
10905 '-mc', '500', '-nogoal', '-nodead', '-strict', '-expcterr', 'model_check_incomplete'], 'Laws about sets of sets with freetypes').
10906 cli_testcase(2445, [laws,theories], [
10907 '../prob_examples/public_examples/B/Laws/SetLawsPowPowFreetypes.mch',
10908 '../prob_examples/public_examples/B/Laws/SetLawsPowPowBOOL.mch',
10909 '-mc', '50', '-nogoal', '-nodead', '-strict', '-expcterr', 'model_check_incomplete'], 'Laws about sets of sets of sets with freetypes').
10910 cli_testcase(2446, [satsolver_test], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
10911 '../prob_examples/public_examples/B/B2SAT/isomorphism/Iso2.mch',
10912 '-init', '-assertions'
10913 ], 'Check example with equality for graph1 late in properties works').
10914 cli_testcase(2447, [json_trace_replay,b_test], [
10915 '../prob_examples/public_examples/B/Tester/OpParameters/OpAnyParaTest.mch', '-prob-profile',
10916 '-expecterr', 'virtual_time_out',
10917 '-trace_replay', 'json', '../prob_examples/public_examples/B/Tester/OpParameters/OpAnyParaTest.prob2trace'], 'Check JSON replay with virtual ANY params').
10918 cli_testcase(2448, [json_trace_replay,operation_reuse], [
10919 '../prob_examples/public_examples/B/Tester/OpParameters/OpAnyParaTest.mch', '-prob-profile',
10920 '-expecterr', 'virtual_time_out', '-p', 'OPERATION_REUSE', 'TRUE',
10921 '-trace_replay', 'json', '../prob_examples/public_examples/B/Tester/OpParameters/OpAnyParaTest.prob2trace'], 'Check enum warnings preserved by caching'). % so that JSON trace replay attempts execution by predicate
10922 cli_testcase(2449, [b_test], [
10923 '../prob_examples/public_examples/B/FeatureChecks/INCLUDES_USES_SEES/InitialisationOverride/TestOverrideInit2.mch',
10924 '../prob_examples/public_examples/B/FeatureChecks/INCLUDES_USES_SEES/InitialisationOverride/TestOverrideInit3.mch',
10925 '../prob_examples/public_examples/B/FeatureChecks/INCLUDES_USES_SEES/InitialisationOverride/TestOverrideInit4.mch',
10926 '-p', 'ALLOW_INITIALISATION_OVERRIDE', 'TRUE', '--model-check', '-nodead', '-cc',2,1], 'Check new feature to allow overriding INITIALISATION').
10927 cli_testcase(2450, [b_test], [
10928 '../prob_examples/public_examples/B/FeatureChecks/INCLUDES_USES_SEES/InitialisationOverride/TestOverrideInit2.mch',
10929 '../prob_examples/public_examples/B/FeatureChecks/INCLUDES_USES_SEES/InitialisationOverride/TestOverrideInit3.mch',
10930 '../prob_examples/public_examples/B/FeatureChecks/INCLUDES_USES_SEES/InitialisationOverride/TestOverrideInit4.mch',
10931 '-p', 'ALLOW_INITIALISATION_OVERRIDE', 'FALSE', '-expecterr', 'type_error', '-expecterr', 'load_main_file'], 'Check error when new feature not activated').
10932 cli_testcase(2451, [b_test,external,hash], [
10933 '../prob_examples/public_examples/B/ExternalFunctions/SHA/TestShaHashFile.mch', '-init', '-assertions'], 'Check SHA_HASH_FILE_HEX external function').
10934 cli_testcase(2452, [tickets,private], [
10935 '../prob_examples/examples/B/ClearSy/Tickets/mejia_exception/DLFunctions_1.mch', '-init', '-assertions', '-p', 'TIME_OUT', 2500], 'Check exception when doubling priority fixed').
10936 cli_testcase(2453, [b_test,json_trace_replay], [ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
10937 '../prob_examples/public_examples/B/Tester/DefRecordFieldTest1.mch',
10938 '-trace_replay', 'json', '../prob_examples/public_examples/B/Tester/DefRecordFieldTest1.prob2trace'
10939 ], 'Check definition can rewrite record fields').
10940 cli_testcase(2454, [b_test], [
10941 '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
10942 '../prob_examples/public_examples/B/Tester/DefRecordFieldTest2_err.mch', '-init',
10943 '-expcterrpos', 'type_error', 5, 21,
10944 '-expcterrpos', 'definition_rewrite', 9, 13, '-expcterr', load_main_file
10945 ], 'Check illegal definition rewrite of record field detected').
10946 cli_testcase(2455, [json_trace_replay,visb], [
10947 '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
10948 '../prob_examples/public_examples/B/VisB/GroupExample2.mch',
10949 '-trace_replay', 'json', '../prob_examples/public_examples/B/VisB/GroupExample2.prob2trace',
10950 '-visb', '',
10951 '../prob_examples/public_examples/B/VisB/GroupExample2.html'], 'Check PROB_REQUIRED_VERSION definition and using tuples for VISB_SVG_OBJECTS').
10952 cli_testcase(2456, [b_test], [
10953 '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
10954 '../prob_examples/public_examples/B/Tester/ProBRequiredVersionTest.mch', '-init',
10955 '-expcterrpos', 'prob_too_old', 3, 26], 'Check PROB_REQUIRED_VERSION reports prob too old').
10956 cli_testcase(2457, [json_trace_replay,b_test], [
10957 '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
10958 '../prob_examples/public_examples/B/Tester/DefTestIdentifierList.mch',
10959 '-trace_replay', 'json', '../prob_examples/public_examples/B/Tester/DefTestIdentifierList.prob2trace'], 'Check definition with list of ids can be used').
10960 cli_testcase(2458, [json_trace_replay,visb], [
10961 '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
10962 '../prob_examples/public_examples/B/VisB/GroupExample3.mch',
10963 '-trace_replay', 'json', '../prob_examples/public_examples/B/VisB/GroupExample3.prob2trace',
10964 '-visb', '',
10965 '../prob_examples/public_examples/B/VisB/GroupExample3.html'], 'Check new group_id feature').
10966 cli_testcase(2459, [b_test,wd], [
10967 '-expcterr', well_definedness_error,
10968 '-evalnwd', 'x={i,j|i:0..10 & j={v|v:0..i & v/(10-i) > 0}}',
10969 '-evalnwd', 'x={i,j,k|i:0..10 & k={v|v:0..i & v mod 2 =0} & j={v|v:0..i & v/(10-i) > 0}}',
10970 '-evalnwd', 'x={i,j,k|i:0..10 & j={v|v:0..i & v/(10-i) > 0} & k={v|v:0..i & v mod 2 =0} }',
10971 '-evalt', 'x={i,j,k|i:0..10 & j={v|v:0..i & v/(10-i) > 0} & k={v|v:0..i & v mod 2 =0} & 3:k}',
10972 '-evalt', 'LIM:9..10 & r={x|x/={} & x={i,j,k|i:0..LIM & j={v|v:0..i & v/(10-i) > 0} & k={v|v:0..i & v mod 2 =0}}} & LIM<10',
10973 '-evalnwd', 'LIM:9..10 & r={x|x/={} & x={i,j,k|i:0..LIM & j={v|v:0..i & v/(10-i) > 0} & k={v|v:0..i & v mod 2 =0}}} & LIM>9',
10974 '-evalnwd', 'res={LIM,r|LIM:9..10 & r={x|x/={} & x={i,j,k|i:0..LIM & j={v|v:0..i & v/(10-i) > 0} & k={v|v:0..i & v mod 2 =0}}} }',
10975 '-evalt', 'res={LIM,r|LIM:8..10 & r={x|x/={} & x={i,j,k|i:0..LIM & j={v|v:0..i & v/(10-i) > 0} & k={v|v:0..i & v mod 2 =0}}} & {ll|ll:8..LIM & ll mod 2=0} = {8}} & card(res)=2',
10976 '-evalnwd', 'res={LIM,r|LIM:8..10 & r={x|x/={} & x={i,j,k|i:0..LIM & j={v|v:0..i & v/(10-i) > 0} & k={v|v:0..i & v mod 2 =0}}} & {ll|ll:8..LIM & ll mod 2=0} = {8,10}}'
10977 % TODO: this should probably be caught as not WD,
10978 % we need to avoid assigning set compr result in case of WD error which makes card fail
10979 % res={LIM,r|LIM:8..10 & r={x|x/={} & x={i,j,k|i:0..LIM & j={v|v:0..i & v/(10-i) > 0} & k={v|v:0..i & v mod 2 =0}}} & {ll|ll:8..LIM & ll mod 2=0} = {8,10}} & card(res)=2
10980 ],
10981 'Check wd treatment for nested set comprehensions').
10982 cli_testcase(2460, [private_source_not_available], [
10983 '../private_examples/ClearSy/2024/wd_test/scenario_figure_24_prob.prob',
10984 '-trace_replay', 'json','../private_examples/ClearSy/2024/wd_test/scenario_figure_24_prob.prob2trace',
10985 '-evalnwd', 'GET_IS_ENABLED("rbc_calcul_loc_dht_aval")=TRUE',
10986 '-expcterr', well_definedness_error,
10987 '-visb', '',
10988 '../private_examples/ClearSy/2024/wd_test/scenario_figure_24_prob.html'], 'Check wd error detected').
10989 cli_testcase(2461, [b_test,infinite], [
10990 '-evalt', 'f = prj1(INTEGER,INTEGER) & comp = ((f ; [11,22,33]) ; succ) & res = comp(2,99999)',
10991 '-evalt', 'f = prj1(INTEGER,INTEGER) & comp = (f ; ([11,22,33] ; succ)) & res = comp(2,99999)', % already worked before
10992 '-evalt', 'f = prj1(NATURAL,INTEGER) & comp = ((f ; [11,22,33,44,55]) ; succ) & res = comp(5,99999)',
10993 '-evalt', ' f = prj1(2..3,INTEGER) & comp = ((f ; [11,22,33,44,55]) ; succ) & 34=comp(3,1)',
10994 '-evalt', 'f = prj1(INTEGER,INTEGER) & comp = ((f ; [11,22,33,44,55]) ; succ) & comp[(2..2)*{1}] = {23}',
10995 '-evalt', 'f = prj1(INTEGER,INTEGER) & comp = ((f ; [11,22,33,44,55]) ; succ) & comp[(2..3)*{1}] = {23,34}',
10996 '-evalt', 'f = prj1(NATURAL,INTEGER) & comp = ((f ; [11,22,33,44,55]) ; succ) & comp[(2..2)*{1}] = {23}'
10997 ], 'Check some infinite compositions now work by detecting projection').
10998 cli_testcase(2462, [b_test,external,records,rulesdsl,xml], [
10999 '../prob_examples/examples/Rules/railML_FLB/RailML3_validation.rmch',
11000 '-execute_all', '-execute_expect_steps', 234, %'-animate-stats',
11001 '-evalt', 'card(warnings_tvdSection_Counterexamples)=2 & warnings_tvdSection_Successful={}'
11002 ], 'Test larger railML example'). % generates enum warnings
11003 cli_testcase(2463, [b_test,external,recursion,infinite], [
11004 '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
11005 '../prob_examples/examples/B/SupervisoryControl/non_ground_closure/section5_1_5_2.mch',
11006 '-model-check', '-expecterr', model_check_incomplete, '-cc', 4, 46
11007 ], 'Test supervisory control example which used to generate non-ground closure message').
11008 cli_testcase(2464, [b_test,external,recursion,infinite], [
11009 '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
11010 '../prob_examples/examples/B/SupervisoryControl/performance_test/test_composite_component_LB_processing.mch',
11011 '-execute_all', '-execute_expect_steps', 7
11012 ], 'Test supervisory control example which used to take very long'). % 370 secs in version 1.7.1, 24 secs in 1.8.0 and 3 secs in 1.13.1
11013 cli_testcase(2465, [tickets,json_trace_replay], [
11014 '../prob_examples/public_examples/B/Tickets/ForallBothTrueFalse_NotCallResidue/ProB_Rodin_PO_SelectedHyps.mch',
11015 '-trace_replay', 'json','../prob_examples/public_examples/B/Tickets/ForallBothTrueFalse_NotCallResidue/ProB_Rodin_PO_SelectedHyps.prob2trace'
11016 ], 'Test call residue in disprover mode solved').
11017 cli_testcase(2466, [b_test,cbc], [
11018 '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
11019 '-evalt', 'chams:POW({TRUE}*STRING*INTEGER) & cproj={("a"|->13),("b"|->17),("c"|->19)} & cproj = {c2,c3| TRUE|->c2|->c3:chams}', % worked before
11020 '-evalt', 'chams:POW({TRUE}*STRING*INTEGER) & col={"b"}& cproj:col-->INTEGER & cproj[{"b"}]={13} & cproj = {c2,c3| TRUE|->c2|->c3:chams}',
11021 '-evalt', 'chams:POW({TRUE}*STRING*INTEGER) & col={"b","r","y"}& cproj:col-->INTEGER & cproj[{"b"}]={13} & cproj[{"r"}]={15} & cproj[{"y"}]={17} & cproj = {c2,c3| TRUE|->c2|->c3:chams}',
11022 '-evalt', 'col={"b","r","y"} & res={chams,cproj | chams:POW({TRUE}*STRING*INTEGER) & cproj:col-->INTEGER & cproj[{"b"}]={13} & cproj[{"r"}]={15} & cproj[{"y"}]={17} & cproj = {c2,c3| TRUE|->c2|->c3:chams} & !(i,j,k).((i,j,k):chams => i=TRUE & (j,k):cproj)} & card(res)=1', % added universal quantification
11023 '-evalt', 'col={"b","r","y"} & res={chams,cproj | chams:POW({TRUE}*STRING*INTEGER) & cproj:col-->INTEGER & cproj[{"b"}]={13} & cproj[{"r"}]={15} & cproj[{"y"}]={17} & cproj = {c2,c3| TRUE|->c2|->c3:chams} }', % requires propagation from body of closure to result
11024 '-evalt', 'col={"b","r","y"} & res={chams,cproj | chams:POW({TRUE}*STRING*INTEGER) & cproj:col-->INTEGER & cproj[{"b"}]={13} & cproj[{"r"}]={15} & cproj[{"y"}]={17} & /*@symbolic*/{c2,c3| TRUE|->c2|->c3:chams}<:cproj }'
11025 %
11026 ], 'Check closure expansion results are lazily checked').
11027 % does not work yet:
11028 % col={"b","r","y"} & res={chams,cproj | chams:POW({TRUE}*STRING*INTEGER) & cproj:col-->INTEGER & cproj[{"b"}]={13} & cproj[{"r"}]={15} & cproj[{"y"}]={17} & {c2,c3| TRUE|->c2|->c3:chams}<:cproj }
11029 % we need to use b_compute_comprehension_set_symbolic for arg1 of <:
11030 cli_testcase(2467, [cbc,alloy], [
11031 '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
11032 '../prob_examples/public_examples/Alloy/Alloy6/chameleons_schmidt_Internal1b.mch',
11033 '-model-check', '-cc', 362, 992
11034 ], 'Test adapted version of conversion of Alloy6 chameleon model').
11035 cli_testcase(2468, [b_test,cbc], [
11036 '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
11037 '-evalt', '{} /= {x|x>10 & x< 7000000 & x mod 10 = 0}', % takes 0.7 secs when expanded
11038 '-evalt', '{x|x>10 & x< 7000000 & x mod 10 = 0} /= {}',
11039 '-evalt', '{} /= {x|x>10 & x< 7000000 & x mod 10 = 0}',
11040 '-evalt', '{i|i:1..100 & {x|x>10 & x< 7000000+i & x mod 10 = 0} /= {}} = 1..100', % now takes 3 ms
11041 '-evalt', '{i|i:1..100 & {} /= {x|x>10 & x< 7000000+i & x mod 10 = 0} } = 1..100',
11042 '-evalt', '{i|i:1..100 & {} /= {x|x>10 & x< 10+i & x mod 100 = 0} } = 91..100'
11043 ], 'Test comprehension sets not expanded').
11044 cli_testcase(2469,[wd,wd_prover],[
11045 '-evalt', ':prove x:POW1(BOOL) => x \\/ y /= {}',
11046 '-evalu', ':prove x:POW1(BOOL) => x \\ y /= {}',
11047 '-evalu', ':prove x:POW1(BOOL) & x<:y => x \\ y /= {}',
11048 '-evalt', ':prove x:POW1(BOOL) & x/<:y => x \\ y /= {}',
11049 '-evalt', ':prove x:POW1(BOOL) & y<<:x => x \\ y /= {}',
11050 '-evalu', ':prove a <: b & a<:BOOL => b\\a = {}',
11051 '-evalt', ':prove a <: b & a<:BOOL => a\\b = {}',
11052 '-evalt', ':prove a <<: b & a<:BOOL => a\\b = {}',
11053 '-evalt', ':prove a = b & a<:BOOL => a\\b = {}',
11054 '-evalt', ':prove a = b & a<:BOOL => POW1(a\\b) = {}',
11055 '-evalt', ':prove a <: b & a<:BOOL => x /: a\\b',
11056 '-evalt', ':prove a <: b & a<:BOOL => x /\\ a\\b = {}',
11057 '-evalt', ':prove a<b => a..b /= {}',
11058 '-evalt', ':prove a<b => b..a = {}',
11059 '-evalt', ':prove a<b => POW1(b..a) = {}',
11060 '-evalt', ':prove a<b => dom((POW1(b..a)*NATURAL)~) = {}',
11061 '-evalu', ':prove x<<:{1} => {}=x<->x',
11062 '-evalt', ':prove x<<:{1} => {}/=x<->x',
11063 '-evalu', ':prove x<<:{1,2} => {}/={1}<<->x',
11064 '-evalu', ':prove x<<:{1,2} => {}/={1}-->x',
11065 '-evalt', ':prove x<<:{1,2} => {}/=x<<->{1}',
11066 '-evalt', ':prove x<<:{1,2} => {}/=x-->{1}',
11067 '-evalt', ':prove x<<:{1,2} => {}/=x<<->x',
11068 '-evalt', ':prove x<<:{1,2} => {}/=x-->x',
11069 '-evalt', ':prove a<b => {}/=(b..a)<<->(x..b)', % empty set is a total relation
11070 '-evalt', ':prove a<b => {}/=(b..a)-->(x..b)',
11071 '-evalt', ':prove a<b => {}=(a..b)<<->(b..a)',
11072 '-evalt', ':prove a<b => {}=(a..b)-->(b..a)',
11073 '-evalt', ':prove a<b => {}/={1}<<->(a..b)',
11074 '-evalt', ':prove a<b => {}/={1}-->(a..b)',
11075 '-evalt', ':prove x<<:{1} => {}=x',
11076 '-evalt', ':prove x/<<:{1} => {}/=x',
11077 '-evalu', ':prove x<<:{2,1} => {}=x',
11078 '-evalt', ':prove x:BOOL => card({x}) = 1',
11079 '-evalt', ':prove not({{TRUE}} <: { {} } )',
11080 '-evalt', ':prove x:BOOL => not({{x}} <: { {} } )',
11081 '-evalt', ':prove x:BOOL => union({{x}}) /= {}',
11082 '-evalt', ':prove x:BOOL & s={x} => union({s}) /= {}',
11083 '-evalt', ':prove x:BOOL & s={x} => union({s,s2,s3}) /= {}',
11084 '-evalt', ':prove x:BOOL => not({x} : {{}})',
11085 % '-evalt', ':prove x:BOOL & {x}:s => not( s <: { {} })',
11086 '-evalt', ':prove x=1 & not(x=1) => y=77', % detect false_hyp
11087 '-evalt', ':prove not(x>=2) & x>1 => y=33',
11088 '-evalt', ':prove (x=1 => y>1) => (x=1 => y>1)', % trigger implications
11089 '-evalt', ':prove (x=1 => y>1) => (x=1 => y>0)',
11090 '-evalt', ':prove (x=1 => y>1) & x=1 => y>0',
11091 '-evalu', ':prove (x=1 => y=77) & not(y=78) => (x=1 => z>3)',
11092 '-evalt', ':prove (x=1 => y=77) & not(y=77) => (x=1 => z>3)',
11093 '-evalt', ':prove (x=1 => y=1) & (y=1 => (x=1 => v=11)) & x=1 => v=11',
11094 '-evalt', ':prove (x=1 => y=1) & (y=1 => (x=1 <=> v=11)) & x=1 => v=11',
11095 '-evalt', ':prove (x=1 => y=1) & (y=1 => (not(v=11) => not(x=1))) & x=1 => v=11',
11096 '-evalt', ':prove (x=1 => y=1) & (x=1 => z=2) & ((y=1 & z=2) => v=11) & x=1 => v=11',
11097 '-evalt', ':prove (x=1 => (y=1 & z=2)) & ((y=1 & z=2) => v=11) & x=1 => v=11',
11098 '-evalt', ':prove (x=1 => (y=1 & z=2 & w=3)) & ((y=1 & z=2 & w=3) => v=11) & x=1 => v=11',
11099 '-evalu', ':prove (x=1 => (y=1 & z=2 & w=3)) & v=5 & ((y=1 & z=2 & w=3 & v=4) => v=11) & x=1 => v=11',
11100 '-evalu', ':prove (x=1 => (y=1 & z=22 & w=3)) & v=4 & ((y=1 & z=2 & w=3 & v=4) => v=11) & x=1 => v=11',
11101 '-evalt', ':prove (x=1 => (y=1 & z=2 & w=3)) & v=4 & ((y=1 & z=2 & w=3 & v=4) => v=11) & x=1 => v=11',
11102 '-evalt', ':prove (x=1 => (z=2 & y=1 & w=3)) & v=4 & ((y=1 & v=4 & z=2 & w=3) => v=11) & x=1 => v=11'
11103 % :prove (not(x=1) or y=22) => (x=1 => y=22)
11104 % :prove (not(x=1) or y>1) => (x=1 => y>0)
11105 ], 'check not_empty set proof rules').
11106 cli_testcase(2470, [wd], [
11107 '-evalt', ':wd (%p.(p:NATURAL|(%t.(t:NATURAL|t+1))))(1)(0)=1'
11108 ], 'check wd works with useless lets and nested function applications').
11109 cli_testcase(2471, [wd,wd_prover], [
11110 '-evalt', ':prove s: BOOL >->> BOOL => s : BOOL >+> BOOL',
11111 '-evalt', ':prove s: BOOL >->> BOOL => s : BOOL --> BOOL',
11112 '-evalt', ':prove s: BOOL >->> BOOL => s : BOOL >-> BOOL',
11113 '-evalu', ':prove s: {TRUE} --> BOOL => s : BOOL >-> BOOL',
11114 '-evalt', ':prove s: {TRUE} >-> BOOL => s : BOOL +-> BOOL',
11115 '-evalt', ':wd gn = %s.(s: BOOL >+> BOOL | s) & sv: BOOL >->> BOOL & res=gn(sv)',
11116 '-evalt', ':wd f:BOOL +-> BOOL & g:BOOL +-> BOOL & d=dom(f;g) & x:d & res=(f;g)(x)',
11117 '-evalt', ':wd f : I --> INTEGER & I=1..2 & f<: I*I & y:I & res=f(f(y))',
11118 '-evalt', ':wd f : I --> INTEGER & I=1..2 & fi<: I*I & fi~=f & y:I & res=f(f(y))',
11119 '-evalt', ':wd f : I --> INTEGER & I=1..2 & fi<: I*I & f~=fi & y:I & res=f(f(y))',
11120 '-evalt', ':wd f : I --> INTEGER & I=1..2 & fi<: I*I & fi~=(f~)~ & y:I & res=f(f(y))',
11121 '-evalt', ':prove f:{TRUE}+->BOOL & g:BOOL+->BOOL => dom(f;g) <: {TRUE}',
11122 '-evalt', ':prove A<:NATURAL & f:A+->BOOL & g:BOOL+->BOOL => dom(f;g) <: A',
11123 '-evalt', ':prove s:iseq(NATURAL) & dom(s) <: A => dom(tail(s)) <: A',
11124 '-evalt', ':prove s:iseq(NATURAL) & dom(s) <: A => dom(front(s)) <: A',
11125 '-evalt', ':prove dom(s) <: D & s:seq(BOOL) => dom(s \\|/ k) <: D',
11126 '-evalt', ':prove dom(s) <: D & s:seq(BOOL) => dom(s /|\\ k) <: D'
11127 ], 'check function transitivity and domain/range inference rules').
11128 cli_testcase(2472, [external,json_trace_replay], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
11129 '../prob_examples/public_examples/B/ExternalFunctions/JSON/ReadProB2JSONNew.mch',
11130 '-trace_replay', 'json', '../prob_examples/public_examples/B/ExternalFunctions/JSON/ReadProB2JSONNew.prob2trace'
11131 ], 'Check READ_JSON').
11132 cli_testcase(2473, [cbc], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
11133 '-evalt', '{x| ABS(x) < 5 & ABS(x)>2} = {-4,-3,3,4}',
11134 '-evalt', '{x|ABS(x)+1:2..3}={-2,-1,1,2}',
11135 '-evalt', '{x|ABS(x):2..3} = {-2,-3,2,3}',
11136 '-evalt', '{x| 2*ABS(x) < 10}=-4..4',
11137 '-evalt', 'card({x,y| ABS(x)*ABS(y) < 10 & x>0 & y>0})=23'
11138 ], 'check constraint solving with ABS').
11139 cli_testcase(2474, [cbc], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
11140 'stdlib/LibraryBits.def',
11141 '-evalt', '{X|BXOR(2,X) : 8..9}=10..11',
11142 '-evalt', '!x.(x:-20..20 => BXOR(x,x) = 0)',
11143 '-evalt', '{x,y|x:8..9 & BXOR(x,y)=x} = {(8|->0),(9|->0)}',
11144 '-evalt', '{x|BNOT(x):2..3} = {-4,-3}',
11145 '-evalt', '!x.(x:-20..20 => BNOT(BNOT(x)) = x)'
11146 ], 'check constraint solving with bitwise operators').
11147 cli_testcase(2475, [cbc], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
11148 '-evalt', 'x = max({i|i:1..5 & i+x<=8})',
11149 '-evalt', '{x|x = max({i|i:1..5 & i+x<=8})} = {4}',
11150 '-evalt', 'x = min({i|i:1..5 & i+x<=8})',
11151 '-evalt', '{x|x = min({i|i:1..5 & i+x<=8})} = {1}',
11152 '-evalt', 'f:1..5-->NATURAL & f = %x.(x:1..5|max({i| i:1..5 & (i+1:1..5 => f(i+1)>i)}))',
11153 '-evalt', 'n=117 & f:1..n-->INTEGER & !x.(x:1..n => f(x)=max({i| i:1..n & (x+1:1..n => f(x+1)>i)}))' % worked before
11154 ], 'check improved propagation for min/max').
11155 cli_testcase(2476, [tickets,reals], [
11156 '-evalt', '#(id0,id1,id2).(id0 : REAL & id1 : REAL & id2 : POW(REAL * REAL) & ({rel_x,rel_y|rel_x : REAL & rel_y : REAL & (rel_x : dom({}~) & rel_y : union(({}~)[{rel_x}]))} /= ({id0,id1,id1} <| id2~) & btrue /* LEQ_SYM(id0,id1) */))',
11157 '-evalt', '#id0.(id0 : POW(REAL) & (id0 --> INT) >+> (NAT <->> FLOAT) : FIN((id0 --> INT) >+> (NAT <->> FLOAT)))',
11158 '-evalf', 'a..b : {INTEGER,NATURAL1}',
11159 '-evalf', '#(id0,id1).(id0 : REAL & id1 : INTEGER & ceiling(id0) .. id1 - 1 : {INTEGER,NATURAL1} - {id2|id2 : POW(INTEGER) & bfalse})',
11160 '-evalf', '#(id0,id1).(id0 .. id1 : {INTEGER} )',
11161 '-evalt', '#(id0,id1).(id0 .. id1 /: {INTEGER} )',
11162 '-evalt', 'a..b : {INTEGER,NATURAL1} <=> c=TRUE',
11163 '-evalf', '#(id0,id1).(id0 : POW(REAL) & id1 : POW(BOOL) & seq1(id0) +-> POW1(BOOL) = iseq(FLOAT) >+> {BOOL,id1})',
11164 '-evalt', '#(id0,id1,id2).(id0 : INTEGER & id1 : POW(BOOL * INTEGER) & id2 : POW(BOOL) & NAT1 - (id0 .. 78) <<: {id1|id1 : INTEGER} \\/ id1[id2])', % exception in difference_interval
11165 '-evalf', 'not(id0 : INTEGER & id1 : POW(INTEGER * INTEGER) & id2 : INTEGER * REAL & (id0 >= 0 & size([]) > MAXINT ** id0 => id1 : seq1(INTEGER) & last(id1) < prj1(id2)))', % exception in integer_log
11166 '-evalf', ' 3**x = y & y > -100 & y < -2'
11167 ], 'check tickets found by fuzzing').
11168 cli_testcase(2477, [parser,b_test,tickets], ['../prob_examples/public_examples/B/Tickets/RefLoadLoop/NFA_det_test.ref', '-expcterr', parse_error, '-expcterr', load_main_file, '-strict'], 'Test that parser does not loop even when machine names match (variant of test 617)').
11169 cli_testcase(2478, [tickets,wd,wd_prover], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
11170 '-evalu', ':prove not(MININT/4 : NAT)',
11171 '-evalu', ':prove MININT / 4 : NAT => id0 + id0 >= size({}<|[1.0])',
11172 '-evalt', ':prove-double-check x:1..10 => x/4 : 0..2',
11173 '-evalt', ':prove-double-check x:-43..-4 => x/4 : -10..-1',
11174 '-evalt', ':prove-double-check x>=-43 => x/4 >= -10',
11175 '-evalu', ':prove x>=-44 => x/4 >= -10',
11176 '-evalt', ':prove-double-check x>=-3 => x/4 >= 0',
11177 '-evalu', ':prove x>=-4 => x/4 >= 0',
11178 '-evalt', ':prove-double-check BOOL <<: id0 => not(MAXINT<=id1)', % ensure peel forall doesn't interfere with implication proof
11179 '-evalu', ':prove id0 : POW(BOOL) & perm(id0) <: perm(BOOL)', % was proven
11180 '-evalu', ':prove id0 : POW(BOOL) & iseq(id0) <: perm(BOOL)',
11181 '-evalt', ':prove-double-check id0 : POW(BOOL) & perm(id0) <: iseq(BOOL)',
11182 '-evalt', ':prove not(MININT : INTEGER - NAT1 & MININT : INTEGER - NAT1 & MAXINT : INTEGER - NAT1 & MAXINT : INTEGER - NAT1)', % used to loop
11183 '-evalu', ':prove MININT:INT => MININT + MININT <= 42 * MININT',
11184 '-evalu', ':prove MININT + MININT <= 42 * MININT',
11185 '-evalu', ':prove x<= y & z <= y => x+z <= 3*y'
11186 ], 'check tickets found by fuzzing').
11187 cli_testcase(2479, [wd,wd_prover], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
11188 '-evalt', ':prove-double-check a=1 => a*x <= x',
11189 '-evalt', ':prove-double-check a=1 => a*x >= x',
11190 '-evalt', ':prove-double-check a=1 => a*x = x',
11191 '-evalt', ':prove-double-check x*a /= x => a/=1', % check implication proof of contra-positive works
11192 '-evalt', ':prove-double-check a=1 => x/a=x',
11193 '-evalt', ':prove-double-check x/a /= x => a/=1',
11194 '-eval', ':repeat :prove-double-check @RANDOMISE a=@INT & x/a /= x => a/=1',
11195 '-eval', ':repeat :prove-double-check @RANDOMISE a=@INT & x/a /= x => a/=@INT',
11196 '-eval', ':repeat :prove-double-check @RANDOMISE a: @INT..@INT => a*x >= x',
11197 '-eval', ':repeat :prove-double-check @RANDOMISE a: @INT..@INT => a*x >= a+x',
11198 '-eval', ':repeat :prove-double-check @RANDOMISE a: @INT..@INT & x:@INT..@INT => a*x >= a+x',
11199 '-eval', ':repeat :prove-double-check @RANDOMISE a: @INT..@INT & x:@INT..@INT => a*x <= x'
11200 ], 'check proof involving multiplication and division').
11201 cli_testcase(2480, [cbc,tickets], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
11202 '-evalf', ':prob id0:(POW(BOOL)*INTEGER) & BOOL <<: prj1(id0)',
11203 '-evalf', ':prob id0:(POW(BOOL)*STRING) & BOOL <<: prj1(id0)',
11204 '-evalf', ':prob id0:(REAL*POW(BOOL)) & BOOL <<: prj2(id0)',
11205 '-evalf', ':prob id0:(REAL*POW(BOOL)) & {id0|id0 : BOOL} <<: prj2(id0)',
11206 '-evalf', 'id0:(POW(BOOL)*INTEGER) & BOOL <<: prj1(id0)',
11207 '-evalt', ':prob id0:(POW(BOOL)*INTEGER) & BOOL <: prj1(id0)',
11208 '-evalf', ':prob f:INTEGER <-> BOOL & BOOL <<: f[id0]',
11209 '-evalf', ':prob id0:(POW(POW(BOOL))*INTEGER) & POW(BOOL) <<: prj1(id0)',
11210 '-evalt', ':prob id0:(POW(POW(BOOL))*INTEGER) & POW(BOOL) <: prj1(id0)'
11211 ], 'check issue in strict subset with duplicates in list fixed').
11212 cli_testcase(2481, [private_source_not_available], [ % not really private, but requires installed ML prover
11213 '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
11214 '-evalt', ':ml x:NATURAL1 => x:NATURAL',
11215 '-evalt', ':ml x<:INTEGER & x<<:y => x<:y ',
11216 '-evalt', ':ml x:NATURAL => -1 <= x',
11217 '-evalt', ':ml x:NATURAL => x >= -1',
11218 '-evalt', ':ml x:NATURAL => -1 < x',
11219 '-evalt', ':ml x:NATURAL => x > -1',
11220 '-evalt', ':ml x:NATURAL1 => x > 0',
11221 '-evalt', ':ml x=a => x: {a,2}',
11222 '-evalt', ':ml {x|x>0} <: NATURAL',
11223 '-evalu', ':ml (id0 : POW((INTEGER) * POW(INTEGER)) & {rel_x,rel_y|rel_x : (INTEGER) & rel_y : INTEGER & (rel_x : dom(id0) & rel_y : union(id0[{rel_x}]))} = {} => 1=2)',
11224 '-evalu', ':ml not(NAT1 = NAT) => {aaa|aaa : POW(INTEGER)} : FIN({aaa|aaa : POW(INTEGER)})',
11225 '-evalu', ':ml MININT < MININT',
11226 '-evalt', ':ml x:POW1(NATURAL) => x/={}',
11227 '-evalt', ':ml x:iseq1(BOOL) => x /= <>',
11228 '-evalt', ':ml x:perm(BOOL) => x:iseq(BOOL)'
11229 ], 'check ML normalisation process works').
11230 cli_testcase(2482, [wd,wd_prover], [
11231 '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
11232 '-evalt', ':prove INT /<: NAT1',
11233 '-evalt', ':prove INT /<: NAT',
11234 '-evalt', ':prove NAT /<: NAT1',
11235 '-evalu', ':prove NAT1 /<: NAT1',
11236 '-evalu', ':prove NAT1 /<: NAT',
11237 '-evalt', ':prove 1..3 /<: 1..2',
11238 '-evalt', ':prove 1..3 /<: 0..2',
11239 '-evalt', ':prove 1..3 /<: 2..4',
11240 '-evalu', ':prove 1..3 /<: 1..3',
11241 '-evalu', ':prove 1..3 /<: 1..4',
11242 '-evalu', ':prove 1..3 /<: 0..3',
11243 '-evalt', ':prove INTEGER /<: NAT',
11244 '-evalt', ':prove NATURAL /<: NAT',
11245 '-evalt', ':prove NATURAL1 /<: NAT',
11246 '-evalt', ':prove NATURAL /<<: NAT',
11247 '-evalt', ':prove NATURAL1 /<<: NAT',
11248 '-evalu', ':prove NATURAL1 /<: NATURAL',
11249 %'-evalt', ':prove NATURAL /<: NATURAL1'
11250 '-evalt', ':prove 1..3 /= 0..3',
11251 '-evalu', ':prove x..3 /= 0..3',
11252 '-evalt', ':prove x..3 /= 0..2',
11253 '-evalu', ':prove x>=y => y..x /= 0..y',
11254 '-evalt', ':prove x>y => y..x /= 0..y',
11255 '-evalt', ':prove INT /<<: NAT1',
11256 '-evalt', ':prove INT /<<: NAT',
11257 '-evalt', ':prove NAT /<<: NAT1',
11258 '-evalt', ':prove NAT1 /<<: NAT1',
11259 '-evalu', ':prove NAT1 /<<: NAT',
11260 '-evalt', ':prove 1..3 /<<: 1..2',
11261 '-evalt', ':prove 1..3 /<<: 0..2',
11262 '-evalt', ':prove 1..3 /<<: 2..4',
11263 '-evalt', ':prove 1..3 /<<: 1..3',
11264 '-evalu', ':prove 1..3 /<<: 1..4',
11265 '-evalu', ':prove 1..3 /<<: 0..3'
11266 ], 'check WD proof rules for not_subset of intervals').
11267 cli_testcase(2483, [infinite,records], [
11268 '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
11269 '-evalt', '{x|x:struct(a:INTEGER,b:BOOL) & x\'b=FALSE} <: struct(a:INTEGER,b:BOOL)',
11270 '-evalt', 'struct(a:INTEGER,b:{TRUE}) <: struct(a:INTEGER,b:BOOL)',
11271 '-evalt', 'struct(a:INTEGER,b:{TRUE}) <<: struct(a:INTEGER,b:BOOL)',
11272 '-evalt', '{x|x:struct(a:INTEGER,b:BOOL) & x\'b=FALSE} <<: struct(a:INTEGER,b:BOOL)',
11273 '-evalt', 'card({x|x:struct(a:INTEGER,b:BOOL) & x\'a=11}) = 2',
11274 '-evalf', 'x : struct(a:seq(INTEGER),b:{FALSE,TRUE}) & x\'b = FALSE & not(x : struct(a:seq(INTEGER),b:{FALSE,TRUE}))',
11275 '-evalt', '{x|x : struct(a:seq(INTEGER),b:{FALSE,TRUE}) & x\'b = FALSE & not(x : struct(a:seq(INTEGER),b:{FALSE,TRUE}))} = {}',
11276 '-evalf', '/*@symbolic */{v|v:struct(a:seq(INTEGER),b:BOOL) & v\'b=TRUE} = struct(a:seq(INTEGER),b:BOOL)',
11277 '-evalt', 'not(/*@symbolic */{v|v:struct(a:seq(INTEGER),b:BOOL) & v\'b=TRUE} = struct(a:seq(INTEGER),b:BOOL))',
11278 '-evalf', 'struct(a:seq(INTEGER),b:BOOL) <: /*@symbolic */{x|x:struct(a:seq(INTEGER),b:BOOL) & x\'b=FALSE}',
11279 '-evalt', '/*@symbolic */{x|x:struct(a:seq(INTEGER),b:BOOL) & x\'b=FALSE} <: struct(a:seq(INTEGER),b:BOOL)',
11280 '-evalt', '/*@symbolic */{x|x:struct(a:seq(INTEGER),b:BOOL) & x\'b=FALSE} <<: struct(a:seq(INTEGER),b:BOOL)',
11281 '-evalt', '/*@symbolic */{x|x:struct(a:INTEGER,b:BOOL,c:seq(INTEGER)) & x\'b=FALSE} <: struct(a:INTEGER,b:BOOL,c:seq(INTEGER))',
11282 '-evalt', 'not( struct(a:INTEGER,b:{TRUE}) : FIN(struct(a:INTEGER,b:{TRUE})))',
11283 '-evalt', 's= {x|x:struct(a:INTEGER,b:BOOL) & x\'b=FALSE} & not( s : FIN(s))',
11284 '-evalt', 's= {x|x:struct(a:INTEGER,b:BOOL) & x\'a=22} & ( s : FIN(s))',
11285 '-evalt', 's= {x|x:struct(a:INTEGER,b:BOOL) & x\'b=TRUE & x\'b=FALSE} & ( s : FIN(s))',
11286 '-evalt', 's= {x|x:struct(a:INTEGER,b:STRING) & x\'b : {"a","b","c"}} & not( s : FIN(s))',
11287 '-evalf', 'v:0..1 & s= {x|x:struct(a:INTEGER,b:INTEGER) & x\'b : 2..v} & not( s : FIN(s))',
11288 '-evalt', 'v:0..1 & s= {x|x:struct(a:INTEGER,b:INTEGER) & x\'b : 2..v} & ( s : FIN(s))',
11289 %'-evalt', 'card({x,z|x:{x+1,x+2} & z:INTEGER}) = 0', % moved to 2561; see SPRM-21541
11290 %'-evalt', 'card({x,y,v|x:INTEGER & y:{y+1,y+2} & v=x}) = 0', % ditto
11291 '-evalt', 'card({x,y,z|x:INTEGER & y=x & x=y+1 & z:INTEGER} )=0', % this somehow still works in SICStus 4.10
11292 '-evalt', 'card({x|x:struct(a:INTEGER,b:seq1(BOOL)) & x\'b=[]}) = 0',
11293 '-evalt', 'x=TRUE <=> (/*@symbolic */{v|v:struct(a:seq(INTEGER),b:BOOL) & v\'b=TRUE} = struct(a:seq(INTEGER),b:BOOL))',
11294 %'-evalt', 'card({x,y,v|x:INTEGER & y:{v+1,v+2} & v=y}) = 0', % moved to 2561
11295 %'-evalt', 'card({x,y|x:INTEGER & y=x+1 & x=y}) = 0', % ditto
11296 '-evalt', 's = {x,y,v|x:INTEGER & v=(y,y) & y=x+x} & not(s:FIN(s))',
11297 '-evalt', 's = {x,y,v|x:INTEGER & y=x+x & v=(y,y)} & not(s:FIN(s))'
11298 ], 'infinite sets of records and other infinite set checks').
11299 cli_testcase(2484, [infinite,records,recursion], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
11300 '../prob_examples/public_examples/B/FunctionalProgramming/Clojure/clj-base_v2.mch',
11301 '-init', '-assertions'], 'Check that infinite set of records work').
11302 cli_testcase(2485, [error_checks], [ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
11303 '../prob_examples/public_examples/ProofObligations/Mammar_Laleau_ABZ/TestExistImplicationOrder_ctx.eventb',
11304 '-assertions',
11305 '-expcterr',bmachine_static_checks % the body of an existential quantifier is an implication
11306 ],'Check we detect implication in exists').
11307 cli_testcase(2486, [error_checks], [ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
11308 '-evalt', 'f: 1..3 --> NAT & f = [0,0,0] & #i.(i:INTEGER & (i:dom(f) => f(i)>0))',
11309 '-expcterr',bmachine_static_checks % the body of an existential quantifier is an implication
11310 ],'Check we detect implication in exists').
11311 cli_testcase(2487, [wd,wd_prover], [
11312 '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
11313 '-evalt', ':prove f: 1..10 <-> 3..12 => dom(closure1(f)) <: 1..10',
11314 '-evalt', ':prove f: 1..10 <-> 3..12 => ran(closure1(f)) <: 3..12',
11315 '-evalt', ':prove f: 1..10 <-> 3..12 => closure1(f) : 1..10 <-> 3..12',
11316 '-evalu', ':prove f: 1..10 <-> 3..12 => closure1(f) : 1..9 <-> 3..12',
11317 '-evalu', ':prove f: 1..10 <-> 3..12 => closure1(f) : 1..10 <-> 4..12',
11318 '-evalu', ':prove f: 1..10 <-> 3..12 => closure1(f) /: 1..10 <-> 4..12'
11319 % '-evalt', ':prove f: 1..10 <-> 3..12 & f /= {} => closure1(f) /: 11..12 <-> 3..12'
11320 % :prove f: 1..10 <-> 3..12 & f /= {} => f /: 11..12 <-> 3..12
11321 % '-evalt', ':prove closure1(f): 1..10 <-> 3..12 => dom(f) <: 1..10',
11322 % '-evalt', ':prove closure1(f): 1..10 <-> 3..12 => dom(f) <: 1..10'
11323 ], 'check WD proof rules for closure1').
11324 cli_testcase(2488, [clingo], [
11325 '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
11326 '-evalt', ':clingo-double-check x:BOOL & x=y',
11327 '-evalt', ':clingo-double-check x:BOOL & x/=TRUE',
11328 '-evalf', ':clingo-double-check x:BOOL & x/=TRUE & x/=FALSE',
11329 '-evalf', ':clingo-double-check not(x<:BOOL & x /<: y => x/=y)',
11330 '-evalf', ':clingo-double-check not(x<:BOOL & x /<: y => y/=x)',
11331 '-evalf', ':clingo-double-check not(x<:BOOL & x /<: y => not(y=x))',
11332 % '-evalt', ':clingo-double-check x <: (1..2)*(1..2) & x /= {} & card(x)=3'
11333 '-evalt', ':clingo-double-check x<:BOOL & card(x)=2',
11334 '-evalt', ':clingo-double-check x <: BOOL*BOOL & x/= {} & x<<:y',
11335 '-evalt', ':clingo-double-check x : BOOL*BOOL & x=(TRUE,FALSE)',
11336 '-evalt', ':clingo-double-check x = {TRUE|->FALSE, FALSE|->TRUE}',
11337 '-evalt', ':clingo-double-check x = {TRUE|->FALSE, FALSE|->TRUE} & res=closure1(x)',
11338 '-evalt', ':clingo-double-check x /= (FALSE,FALSE) & x= (y,y)',
11339 '-evalf', ':clingo-double-check x /= (FALSE,FALSE) & x= (y,y) & y /= TRUE',
11340 '-evalt', ':clingo-double-check x /= (FALSE,TRUE) & x= (y,y) & y /= TRUE',
11341 '-evalt', ':clingo-double-check x <: BOOL*BOOL & (TRUE,FALSE):x & (y,y):x & y/=TRUE',
11342 '-evalt', ':clingo-double-check x <: BOOL*BOOL & (TRUE,FALSE):x & (y,y):x & y/=TRUE & card(x)>2',
11343 '-evalf', ':clingo-double-check x <: BOOL*BOOL & (TRUE,FALSE):x & (y,y):x & y/=TRUE & card(x)<2',
11344 '-evalt', ':clingo-double-check x <: BOOL*BOOL & (TRUE,FALSE):x & (y,y):x & (y/=TRUE or card(x)<2)',
11345 '-evalf', ':clingo-double-check x <: BOOL*BOOL & (TRUE,FALSE):x & (y,y):x & (card(x)=1 or card(x)=0)',
11346 '-evalt', ':clingo-double-check x <: BOOL*BOOL & (TRUE,FALSE):x & (y,y):x & (card(x)=1 or card(x)=4)',
11347 '-evalt', ':clingo-double-check r = {TRUE|->FALSE,FALSE|->TRUE} & s={TRUE} & res = r[s]',
11348 '-evalt', ':clingo-double-check r = {TRUE|->FALSE,FALSE|->TRUE} & {FALSE} = r[S]',
11349 '-evalt', ':clingo-double-check r = {TRUE|->FALSE,FALSE|->TRUE} & dres = {TRUE} <| r',
11350 '-evalt', ':clingo-double-check r = {TRUE|->FALSE,FALSE|->TRUE} & dsub = {TRUE} <<| r',
11351 '-evalt', ':clingo-double-check r = {TRUE|->FALSE,FALSE|->TRUE} & rres = r |> {TRUE}',
11352 '-evalt', ':clingo-double-check r = {TRUE|->FALSE,FALSE|->TRUE} & rsub = r |>> {TRUE}',
11353 '-evalf', ':clingo-double-check not(a ={} & b<:BOOL => b/<<:a)',
11354 '-evalf', ':clingo-double-check not(a =BOOL & b<:BOOL => a/<<:b)',
11355 '-evalt', ':clingo-double-check not(a ={} & b<:BOOL => a/<<:b)',
11356 '-evalt', ':clingo-double-check not(a =BOOL & b<:BOOL => b/<<:a)',
11357 '-evalf', ':clingo-double-check not(a ={} & b<:BOOL & a/=b => b/<:a)',
11358 '-evalf', ':clingo-double-check not(a ={} & b<:BOOL & a/=b => not(b<:a))',
11359 '-evalt', ':clingo-double-check not(a ={} & b<:BOOL & a/=c => not(b<:a))',
11360 '-evalt', ':clingo-double-check not(a<:BOOL => not(a<:b <=> b<:a))',
11361 '-evalt', ':clingo-double-check not(a<:BOOL => not(not(a<:b) <=> not(b<:a)))',
11362 '-evalf', ':clingo-double-check not(a<:BOOL => not((a<:b) <=> not(a<:b)))',
11363 '-evalf', ':clingo-double-check not(a<:BOOL => not(not(a<<:b) <=> (a<<:b)))',
11364 '-evalt', ':clingo-double-check (A=TRUE <=> (B=FALSE or C=FALSE)) & (B=TRUE <=> A=TRUE)',
11365 '-evalf', ':clingo-double-check (A=TRUE <=> (B=FALSE or C=FALSE)) & (B=TRUE <=> A=TRUE) & B=FALSE',
11366 '-evalt', ':clingo-double-check x = {TRUE|->FALSE}~',
11367 '-evalt', ':clingo-double-check x <: BOOL*BOOL & x=x~ & x/={}',
11368 '-evalt', ':clingo-double-check prj1(x)=TRUE & prj2(x)=FALSE',
11369 '-evalt', ':clingo-double-check f={TRUE|->FALSE,FALSE|->TRUE} & f(x)=TRUE',
11370 '-evalf', ':clingo-double-check {TRUE}:POW1(x) & {FALSE}:POW(x) & x/=BOOL',
11371 '-evalt', ':clingo-double-check {TRUE}:POW1(x) & {FALSE}:POW(x)',
11372 '-evalt', ':clingo-double-check x:BOOL <-> {TRUE} & card(x)>1',
11373 '-evalf', ':clingo-double-check x={TRUE|->FALSE} & (x;y) = (BOOL*BOOL)',
11374 '-evalt', ':clingo-double-check x={TRUE|->FALSE} & (x;y) = ({TRUE}*BOOL)',
11375 '-evalt', ':clingo-double-check x={TRUE|->FALSE,FALSE|->FALSE} & (x<+{TRUE|->TRUE}) = res',
11376 '-evalt', ':clingo-double-check x={TRUE|->FALSE} & (x<+y) = ({TRUE}*BOOL)',
11377 '-evalt', ':clingo-double-check x=id({TRUE})',
11378 '-evalt', ':clingo-double-check f:BOOL+->BOOL & card(f)=2',
11379 '-evalf', ':clingo-double-check f:BOOL+->BOOL & card(f)=3',
11380 '-evalt', ':clingo-double-check (f\\/g):BOOL >+> BOOL & card(f\\/g)=2',
11381 '-evalt', ':clingo-double-check (f\\/g):BOOL --> BOOL & card(f\\/g)=2',
11382 '-evalt', ':clingo-double-check (f\\/g):BOOL --> BOOL & card(f\\/g)=2',
11383 '-evalt', ':clingo-double-check (f\\/g):BOOL --> BOOL & card(f\\/g)=2',
11384 '-evalf', ':clingo-double-check X /\\ Y = {} & X \\/ Y = BOOL & X=Y',
11385 '-evalt', ':clingo-double-check X /\\ Y = {} & X \\/ Y = BOOL',
11386 '-evalt', ':clingo-double-check X /\\ Y = {} & X \\/ Y = BOOL & X=BOOL',
11387 '-evalt', ':clingo-double-check (f\\/g):BOOL >-> BOOL & card(f\\/g)=2',
11388 '-evalt', ':clingo-double-check (f\\/g):BOOL -->> BOOL & card(f\\/g)=2',
11389 '-evalt', ':clingo-double-check (f\\/g):BOOL +->> BOOL & card(f\\/g)=2',
11390 '-evalt', ':clingo-double-check (f\\/g):BOOL >->> BOOL & card(f\\/g)=2',
11391 '-evalf', ':clingo-double-check (f\\/g):BOOL >+>> BOOL & card(f\\/g)=1',
11392 '-evalt', ':clingo-double-check (f\\/g):BOOL >+>> BOOL & card(f)=2',
11393 '-evalt', ':clingo-double-check (f\\/g):BOOL <->> BOOL & card(f\\/g)=3',
11394 '-evalt', ':clingo-double-check (f\\/g):BOOL <<-> BOOL & card(f\\/g)=3',
11395 '-evalt', ':clingo-double-check (f\\/g):BOOL <<->> BOOL & card(f\\/g)=3',
11396 '-evalf', ':clingo-double-check !x.(x:BOOL => x:s) & FALSE /: s',
11397 '-evalt', ':clingo-double-check !x.(x:BOOL => x:s) & FALSE : s',
11398 '-evalt', ':clingo-double-check v={TRUE} & !x.(x:v => x/:s) & !x.(x:BOOL-v => x:s)',
11399 '-evalt', ':clingo-double-check v={TRUE} & !x.(x:v & x=FALSE => x:s) & !x.(x:BOOL-v => x/:s)',
11400 '-evalt', ':clingo-double-check !(x,y).(x:{TRUE} & y:BOOL => x:v & y:w) & !(x,y).(x:{FALSE} & y=x => x/:v)',
11401 '-evalt', ':clingo-double-check x = {y|y:BOOL & y/:v} & v = {TRUE}',
11402 '-evalt', ':clingo-double-check x = {y,z|y:BOOL & y/:v & z:v} & v = {TRUE}',
11403 '-evalf', ':clingo-double-check !x. (x:BOOL => {x} /\\ s = {TRUE})',
11404 '-evalf', ':clingo-double-check !x.(x:BOOL => x=TRUE)',
11405 '-evalt', ':clingo-double-check !x.(x:BOOL => x=TRUE or x=FALSE)',
11406 '-evalf', ':clingo-double-check c = closure1({TRUE|->FALSE}) & card(c)>1',
11407 '-evalt', ':clingo-double-check c = closure1(({TRUE|->TRUE} ; c) ) & c /= {}',
11408 '-evalt', ':clingo-double-check c = closure1(({TRUE|->TRUE} ; c) ) & c /= {} & card(c)>1',
11409 '-evalf', ':clingo-double-check X={TRUE}*BOOL & f:X+->X & x:X & y:X & not( f <+ {x|->y} : X+->X)',
11410 '-evalt', ':clingo-double-check X={TRUE}*BOOL & f:X+->X & y:X & not( f <+ {x|->y} : X+->X)',
11411 '-evalt', ':clingo-double-check IF x=TRUE THEN y=TRUE ELSE z=TRUE END & y=FALSE',
11412 '-evalf', ':clingo-double-check not(IF x=TRUE THEN y=TRUE ELSE z=TRUE END) & y=TRUE & z=TRUE',
11413 '-evalt', ':clingo-double-check x:0..1 & y:1..3 & z:1..3 & IF IF x>0 THEN y=1 ELSE y=2 END THEN z=1 ELSE z=2 END & y=3',
11414 '-evalf', ':clingo-double-check x:0..1 & y:1..3 & z:1..3 & IF IF x>0 THEN y=1 ELSE y=2 END THEN z=1 ELSE z=2 END & y=3 & z=1'
11415 ], 'check clingo backend').
11416 cli_testcase(2489, [xtl,json_trace_replay], ['../prob_examples/public_examples/XTL/sequent_prover.P',
11417 '-trace_replay', 'json', '../prob_examples/public_examples/XTL/sequent_prover.prob2trace'
11418 ], 'Check JSON trace replay works in XTL mode').
11419 cli_testcase(2490, [xtl,json_trace_replay], ['../prob_examples/public_examples/XTL/Ambiguous.P',
11420 '-trace_replay', 'json', '../prob_examples/public_examples/XTL/Ambiguous.prob2trace'
11421 ], 'Check JSON trace replay works in XTL mode with parameters').
11422 cli_testcase(2491, [private_source_not_available], ['../prob_examples/public_examples/B/Kodkod/Loop_clingo.mch',
11423 '-init', '-assertions', '-properties',
11424 '-p', 'MAX_INITIALISATIONS', 8, '-cc', 15, 14, '-mc', 20, '-nodead', '-bf'
11425 ], 'Check clingo as SOLVER_FOR_PROPERTIES'). % see test 634
11426 cli_testcase(2492, [wd,wd_prover,finite], [
11427 '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
11428 '-evalt', ':prove s0:POW(NAT) => (s0 /\\ (INTEGER\\NATURAL)):FIN(s0 /\\ (INTEGER\\NATURAL))',
11429 '-evalu', ':prove NEG=(INTEGER\\NATURAL) & s0:POW1(NATURAL) => (s0 /\\ (NEG)):FIN(s0 /\\ (NEG))',
11430 '-evalt', ':prove NEG=(INTEGER\\NATURAL) & s0:POW1(NAT) => (s0 /\\ (NEG)):FIN(s0 /\\ (NEG))',
11431 '-evalt', 'NEG=(INTEGER\\NATURAL) & s0:POW1(NAT) & (s0 /\\ (NEG)):FIN(s0 /\\ (NEG))'
11432 ], 'check WD proof rules for finite and encoding of negative numbers').
11433 cli_testcase(2493, [eventb_test, theories], ['../prob_examples/public_examples/EventBPrologPackages/Theory/BBSL/Interval_ctx.eventb',
11434 '../prob_examples/public_examples/EventBPrologPackages/Theory/BBSL/BB_ctx.eventb',
11435 %'../prob_examples/public_examples/EventBPrologPackages/Theory/BBSL/GenericMchBBSL_mch.eventb', % Enum warning
11436 '-init', '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE'
11437 ], 'Checking issue with any type in registered freetype').
11438 cli_testcase(2494,[private,json_trace_replay],[
11439 '../prob_examples/examples/B/ClearSy/RoboSim/SRanger_CSSP_sim_Jun25/logic_i.imp',
11440 '-trace_replay', 'json', '../prob_examples/examples/B/ClearSy/RoboSim/SRanger_CSSP_sim_Jun25/logic_i.prob2trace'
11441 ], 'Check duplicate LOCAL_OPERATIONS are filtered out').
11442 cli_testcase(2495, [private_source_not_available], ['../prob_examples/public_examples/B/Kodkod/Loop.mch',
11443 '-init', '-assertions', '-properties',
11444 '-p', 'SOLVER_FOR_PROPERTIES', 'clingo',
11445 '-p', 'MAX_INITIALISATIONS', 8, '-cc', 15, 14, '-mc', 20, '-nodead', '-bf'
11446 ], 'Check clingo as SOLVER_FOR_PROPERTIES with universal quantification'). % see test 634, 2491
11447 cli_testcase(2496, [private_source_not_available],
11448 ['../prob_examples/public_examples/B/PerformanceTests/SAT_Tests/IceCream_Clingo.mch',
11449 '-properties'],
11450 'Test example with clingo.'). % see test 2345
11451 cli_testcase(2497, [cbc, cbc_tests,bmc], ['../prob_examples/public_examples/TLA/Apalache/y2k_cinit.tla', '-bmc', 5,
11452 '-expcterr', 'invariant_violation'], 'Check BMC works').
11453 cli_testcase(2498, [cache], ['../prob_examples/public_examples/B/PerformanceTests/Cache/Counter.mch',
11454 '-expcterr','model_check_incomplete', '-mc', 50, '-bf',
11455 '-cache', '../prob_examples/public_examples/cache/', '-clear_cache',
11456 '-cache_stats', '-check_cache_stats', 0, 98], 'Reset cache and check no reuse happens').
11457 cli_testcase(2499, [cache], ['../prob_examples/public_examples/B/PerformanceTests/Cache/Counter.mch',
11458 '-expcterr','model_check_incomplete', '-mc', 50, '-bf',
11459 '-cache', '../prob_examples/public_examples/cache/',
11460 '-cache_stats', '-check_cache_stats', 98, 0], 'Now check full reuse happens').
11461 cli_testcase(2500, [cache], ['../prob_examples/public_examples/B/PerformanceTests/Cache/Counter.mch',
11462 '-execute', 10, '-animate_stats',
11463 '-cache', '../prob_examples/public_examples/cache/',
11464 '-cache_stats', '-check_cache_stats', 8, 0], 'Now check full reuse happens with execute as well').
11465 cli_testcase(2501, [cache], ['../prob_examples/public_examples/B/PerformanceTests/Cache/UsesCounter.mch',
11466 '-animate', 10, '-animate_stats',
11467 '-cache', '../prob_examples/public_examples/cache/', '-clear_cache_for', 'UsesCounter',
11468 '-cache_stats', '-check_cache_stats', 16, 8], 'Now check full reuse happens with animate and subsidiary op calls').
11469 cli_testcase(2502, [cache], ['../prob_examples/public_examples/B/PerformanceTests/Cache/ExtendsCounter.mch',
11470 '-mc', 50, '-bf', '-expcterr', 'model_check_incomplete',
11471 '-cache', '../prob_examples/public_examples/cache/', '-clear_cache',
11472 '-cache_stats', '-check_cache_stats', 0, 22], 'Setup test 2503'). % 76 reused transitions, 22 stored transitions
11473 cli_testcase(2503, [cache], ['../prob_examples/public_examples/B/PerformanceTests/Cache/Counter.mch',
11474 '-execute', 10,
11475 '-cache', '../prob_examples/public_examples/cache/',
11476 '-cache_stats', '-check_cache_stats', 8, 0], 'Check that running ExtendsCounter.mch in test 2502 sets up cache for Counter.mch').
11477 cli_testcase(2504, [b_test,operation_calls_in_expr], ['../prob_examples/examples/B/Tickets/operation_in_expression/rule_operation_in_expression/rule.mch',
11478 '../prob_examples/examples/B/Tickets/operation_in_expression2/rule_operation_in_expression/rule.mch',
11479 '-mc', 10], 'Check renaming issue fixed').
11480 cli_testcase(2505, [cache], ['../prob_examples/public_examples/B/PerformanceTests/Cache/Counter.mch',
11481 '-mc', 10, '-bf', '-expcterr', 'model_check_incomplete',
11482 '-cache', '../prob_examples/public_examples/cache/', '-clear_cache', '-check_cache_stats', 0, 18,
11483 '-silent'], 'Setup test 2506').
11484 cli_testcase(2506, [cache], ['../prob_examples/public_examples/B/PerformanceTests/Cache/ModifiedMachines/Counter.mch',
11485 '-mc', 5, '-bf', '-expcterr', 'model_check_incomplete',
11486 '-cache', '../prob_examples/public_examples/cache/',
11487 '-csv', 'prob_cache_info', user_output, '-p', 'PROFILING_INFO', 'TRUE',
11488 '-check_cache_stats', 4, 4], 'Check that modifying constant invalidates cache for inc, but GetSquare can be reused').
11489 cli_testcase(2507, [cache], ['../prob_examples/public_examples/B/PerformanceTests/Cache/CounterMemo.mch',
11490 '-mc', 33, '-bf',
11491 '-cache', '../prob_examples/public_examples/cache/', '-clear_cache', '-check_cache_stats', 0, 92
11492 ], 'Setup test 2508').
11493 cli_testcase(2508, [cache,memoize], ['../prob_examples/public_examples/B/PerformanceTests/Cache/CounterMemo.mch',
11494 '-mc', 33, '-bf',
11495 '-cache', '../prob_examples/public_examples/cache/',
11496 '-check_cache_stats', 93, 0 % this is 93 rather than 92, as the last increment operation is disabled, but the empty list was stored and not counter in test 2507, but is re-used and counted here
11497 ], 'Check memoization works with cache').
11498 cli_testcase(2509, [ctl], ['../prob_examples/public_examples/XTL/markov/SimpleMarkov.P',
11499 '-mc', 100, '-nodead',
11500 '-pctlformulat', 'P={0.0} [F<=1 {finished}]',
11501 '-pctlformulat', 'P={0.25} [F<=2 {finished}]',
11502 '-pctlformulat', 'P={0.375} [F<=3 {finished}]',
11503 '-pctlformulat', 'P={1.0} [F {finished}]',
11504 '-pctlformulat', 'P={p} [F<=4 {finished}]',
11505 '-pctlformulat', 'P={1.0} [F not({unlocked})]',
11506 '-pctlformulat', 'P={0.5} [F<=1 not({unlocked})]',
11507 '-pctlformulat', 'P={0.0} [G not({finished})]',
11508 '-pctlformulat', 'P={0.75} [G<=2 not({finished})]',
11509 '-pctlformulat', 'P={0.25} [F<=2 {finished}] & P={0.75} [G<=2 not({finished})]',
11510 '-pctlformulat', 'P={0.25} [F<=2 {finished}] & P={0.625} [G<=3 not({finished})]'
11511 ], 'Simple PCTL tests').
11512 cli_testcase(2510, [operation_reuse,tickets], [ '../prob_examples/public_examples/B/Tickets/PGE_Ticket/ProB_test_v3.mch',
11513 '--model-check', '-bf', '-p', 'OPERATION_REUSE', 'TRUE',
11514 '-ltlformulat', '(X {card(v1)=1}) => not(X X {card(v1)=1})'
11515 ], 'Check no additional transitions'). % test failed with old PGE optimisation
11516 cli_testcase(2511, [xtl], ['-p', 'USE_SCOPE_DEFINITION', 'TRUE',
11517 '../prob_examples/public_examples/XTL/trafficLight.P',
11518 '--model-check', '-evalt', 'PROB_STATISTICS("states")=4'
11519 ], 'Check SCOPE definition in XTL mode using prob_pragma_string.').
11520 cli_testcase(2512, [xtl], ['-p', 'USE_SCOPE_DEFINITION', 'TRUE',
11521 '../prob_examples/public_examples/XTL/trafficLight.P',
11522 '-scope','STATE_PROPERTY("tl_peds") = "red"',
11523 '--model-check', '-evalt', 'PROB_STATISTICS("states")=6'
11524 ], 'Check SCOPE in XTL mode using CLI argument.').
11525 cli_testcase(2513, [b_test,operation_reuse], ['../prob_examples/public_examples/B/Tester/OpCalls/UseCopy.mch', '-t',
11526 '-p', 'OPERATION_REUSE', 'TRUE',
11527 '-read_write_matrix_csv', '../prob_examples/public_examples/B/Tester/OpCalls/UseCopy_rw_matrix.csv'
11528 ], 'test read info correctly computed when output parameters read by subsidiary operation call').
11529 cli_testcase(2514, [infinite], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
11530 '-evalt', 'bap= {i,j|i:NATURAL & #z.(z:INTEGER & j=(i,z))} & 2|->(2,3):bap',
11531 '-evalt', 'bap= {i,j|i:NATURAL & #z.(z:INTEGER & j=(i,z))} & not(bap:FIN(bap))',
11532 '-evalt', '{n| #x.(x<:(BOOL*BOOL*BOOL) & card(x)=n)} = r & r:FIN(r)',
11533 '-evalf', '{n| #x.(x<:(BOOL*BOOL*BOOL) & card(x)=n)} = r & not(r:FIN(r))',
11534 '-evalt', '{i,n| #x.(x<:(INTEGER*INTEGER) & x[{i}]=n)} = r & not(r:FIN(r))'
11535 ], 'test detection of infinite closures with exists in body').
11536 cli_testcase(2515, [infinite], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
11537 '-evalt', 'p=BOOL*INTEGER & res = p[{TRUE}]',
11538 '-evalt', 'p=BOOL*NATURAL & res = p[{TRUE}] & NATURAL <: res',
11539 '-evalt', 'p={2,3}*NATURAL & res = p[{3}] & NATURAL <: res',
11540 '-evalt', 'p={2,4}*NATURAL & res = p[{3}] & 0..100 /\\ res = {}'
11541 ], 'test image of infinite cartesian product').
11542 cli_testcase(2516, [infinite], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE', '-p', 'SYMBOLIC', 'TRUE',
11543 '-evalt', 'res = {v|#w.(w:1..10 & v = v+w-2)}', % should be kept symbolic
11544 '-evalt', 'res = {v|#w.(w:1..10 & v = w+w)} & card(res)=10', % should be expanded
11545 '-evalt', 'res = {v|#w.(w:1..10 & v = w+w)} & res2 = {v|#w.(w:res & v = w+w)} & card(res2)=10',
11546 '-evalt', 'r = FORCE((1..10)*(2..11)) & res = {v|#(x,y).((x,y):r & v = x+y)} & card(res)=19',
11547 '-evalt', 'r = FORCE((1..10)*(2..11)) & res = {v|#(x).((x,11):r & v = x+x)} & card(res)=10'
11548 ], 'test definitely_expand in SYMBOLIC mode').
11549 cli_testcase(2517, [tickets, infinite],['../prob_examples/public_examples/B/Tickets/Hansen13/VirtualTimeout.mch', '-init', '-mc', 100, '-strict', '-expcterr', 'invariant_violation' % when merging invariants (enable_merge_invariants) the 1=2 is moved to front
11550 ],'Check virtual time-out in invariant handled.'). % see test 1290
11551 cli_testcase(2518, [cbc,random],['../prob_examples/public_examples/B/Puzzles/PeaceableQueens/JustQueens_8_8.mch', '-init',
11552 '-p', 'RANDOMISE_ENUMERATION_ORDER', 'TRUE', '-p', 'CLPFD_LABELING', 'occurrence', '-p', 'TIME_OUT', '20000'
11553 ],'Check new labeling preference.').
11554 cli_testcase(2519, [clingo], [
11555 '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
11556 '-evalt', ':clingo-double-check !x.(x:1..10 => x<11)',
11557 '-evalf', ':clingo-double-check !x.(x:1..20 => x<19)',
11558 '-evalf', ':clingo-double-check x:1..10 & x>15',
11559 '-evalt', ':clingo-double-check x:1..10 & x>5',
11560 '-evalt', ':clingo-double-check !x.(x:1..10 & x>15 => 1=2)',
11561 '-evalt', ':clingo-double-check x <: BOOL & card(x)=y',
11562 '-evalf', ':clingo-double-check x <: BOOL & card(x)=y & y > 2',
11563 '-evalt', ':clingo-double-check x <: BOOL & card(x)=y & y > 1',
11564 '-evalt', ':clingo-double-check x <: BOOL & card(x)=y & y < 2',
11565 '-evalt', ':clingo-double-check x <: 4..7 & y:x',
11566 '-evalt', ':clingo-double-check x <<: 4..7 & y:x',
11567 '-evalt', ':clingo-double-check x : POW(4..7) & y:x',
11568 '-evalt', ':clingo-double-check x : 5..10 & y = x*x',
11569 '-evalt', ':clingo-double-check {x,y,z} <: 5..10 & x+y+z >27',
11570 '-evalf', ':clingo-double-check {x,y,z} <: 5..10 & x+y+z >27 & x < y & y < z',
11571 '-evalt', ':clingo-double-check x:5..10 & y=(x,x)',
11572 '-evalt', ':clingo-double-check x:5..10 & y=(x,TRUE)',
11573 '-evalt', ':clingo-double-check pq = {22,33}',
11574 '-evalt', ':clingo-double-check pq = 22..33',
11575 '-evalt', ':clingo-double-check pq = 22..33 /\\ {22,33}',
11576 '-evalt', ':clingo-double-check pq = 20..22 \\/ {22,33}',
11577 '-evalt', ':clingo-double-check pq = {y} & y:12..24',
11578 '-evalt', ':clingo-double-check pq = 20..22 \\/ {y} & y:5..6',
11579 '-evalf', ':clingo-double-check 22..33 = 11..x & x:9..12',
11580 '-evalt', ':clingo-double-check 122..33 = 11..x & x:9..12',
11581 '-evalt', ':clingo x:10..15 & y:9..11 & x..y = 3..2',
11582 '-evalt', ':clingo x:10..15 & y:9..11 & x..y = {}',
11583 '-evalf', ':clingo-double-check 3 : {0,1}', % Kodkod used to wrongly find solution here
11584 '-evalf', ':clingo-double-check 5 : {1,2,3}', % ditto
11585 '-evalt', ':clingo-double-check 2000 + x = y & 3000 + y : {10000,10001}', % ditto
11586 '-evalf', ':clingo-double-check x:1..10 & !i.(i:1..x => y<i) & y:1..10',
11587 '-evalt', ':clingo-double-check x:1..10 & !i.(i:1..x => y<i) & y:0..10',
11588 '-evalt', ':clingo-double-check s<: 0..5 & s <: 3..7 & x:s',
11589 '-evalt', ':clingo-double-check s<: 0..2 & s <: 3..7', % empty set is solution
11590 '-evalt', ':clingo-double-check x : (5..10)*(5..10)',
11591 '-evalt', ':clingo-double-check x : (5..10)*(5..10)*(6..10)',
11592 '-evalt', ':clingo-double-check x : (5..10)*BOOL*(6..10)',
11593 '-evalt', ':clingo-double-check x <: (5..10)*(6..10) & y:x',
11594 '-evalt', ':clingo-double-check (x*y) = (1..2)*(3..z) & z:6..7',
11595 '-evalt', ':clingo-double-check (x*y) = (1..2)*(3..z) & z:1..7 & x=1..3',
11596 '-evalt', ':clingo-double-check f : 4..6 --> 13..14 & f(4)=f(6)',
11597 '-evalf', ':clingo-double-check x : 4..6 --> 13..14 & y:dom(x) & y:ran(x)',
11598 '-evalt', ':clingo-double-check x : 4..15 --> 13..14 & y:dom(x) & y:ran(x)',
11599 '-evalt', ':clingo-double-check x : 4..15 --> 13..14 & y=x[1..3]',
11600 '-evalt', ':clingo-double-check x : 4..15 --> 13..14 & y:x[1..5]',
11601 '-evalt', ':clingo-double-check f: 11..12 --> 30..32 & y = f(11)',
11602 '-evalt', ':clingo-double-check f: 11..12 --> 30..32 & y = f(11) & z:y..f(12)',
11603 '-evalf', ':clingo-double-check f: 11..12 --> 30..3 & y=f(11)',
11604 '-evalt', ':clingo-double-check x:(1..2)+->(6..8) & 1:dom(x) & x(1)=6',
11605 % '-evalt', ':clingo-double-check x:(1..2)+->(6..8) & y = x(1)' % NOT WD: leads to unexpected solutions
11606 '-evalt', ':clingo-double-check x<:1..3 & !y.(y:0..3 & x*(1..2)=(1..2)*(1..y) => y=2)',
11607 '-evalf', ':clingo-double-check x<:1..3 & card(x)<1 & !y.(y:0..3 & x*(1..2)=(1..2)*(1..y) => y=2)',
11608 '-evalt', ':clingo-double-check x="a"',
11609 '-evalt', ':clingo-double-check x:{"a"}',
11610 '-evalt', ':clingo-double-check x : {"a","b"}',
11611 '-evalt', ':clingo-double-check x : POW1( {"a","b"})',
11612 '-evalt', ':clingo-double-check f:1..n --> BOOL & n=3 & f(1)=TRUE & !i.(i:2..n => f(i) /= f(i-1))',
11613 '-evalt', ':clingo-double-check max({x,1}) = 7 & x:0..8',
11614 '-evalt', ':clingo-double-check max({x,1})+max({x,4}) = 7 & x:0..8',
11615 '-evalt', ':clingo-double-check x = IF y>1 THEN 0 ELSE 1 END & x:0..1 & y:0..3',
11616 '-evalt', ':clingo-double-check x = IF y>1 THEN {0} ELSE {1} END & x<:0..1 & y:0..3',
11617 '-evalt', ':clingo-double-check x: 5..6 <-> 7..8 & xi = x~ & x/={}',
11618 '-evalt', ':clingo-double-check r = {(11,22),(15,30)} & x:dom(r) & 2*x:ran(r)',
11619 '-evalt', ':clingo-double-check x:3..3 & y:x/2..x',
11620 '-evalt', ':clingo-double-check x: 11..13 <-> 21..22 & f:(11..13)*(21..22) --> BOOL & card({e|e:x & f(e)=TRUE})=3 & card(x)=4',
11621 '-evalt', ':clingo-double-check r = {1|->2, 2|->3, 3|->4} & s<:(1..4)*(1..4) & s=iterate(r,2)',
11622 '-evalt', ':clingo-double-check r = {1|->2, 2|->3, 3|->4} & i:1..3 & s=iterate(r,i) & 1|->4:s',
11623 '-evalf', ':clingo-double-check x<:(11..12)*(33..44) & closure1(x) = c & 11|->44:c & card(x)=2 & 11|->44 /: x',
11624 '-evalt', ':clingo-double-check x<:(11..12)*(12..13) & closure1(x) = c & 11|->13:c & card(x)=2 & 11|->13 /: x',
11625 % x : seq(6 .. 8) & x(1) = 6 & dom(x) = 1 .. 2 % bounds analysis does not work yet
11626 '-evalt', ':clingo-double-check x /\\ 1..3 = {2} & x \\/ 1..3 = 1..4',
11627 '-evalt', ':clingo-double-check x - {11,13} = {10,12}',
11628 '-evalt', ':clingo-double-check r<: (1..2)*(5..6) & r[1..1] = {} & r/={}',
11629 '-evalt', ':clingo-double-check r:11..13 <-> 11..13 & x: {11,12} <<| r',
11630 '-evalt', ':clingo-double-check r1 : (11..12)<->(12..14) & r2 : (13..15)<->(20..21) & x|->y : (r1;r2)',
11631 '-evalt', ':clingo-double-check x = [0,1,2,3,4] & y:dom(x) & x(y)>3',
11632 '-evalt', ':clingo-double-check y<:1..10 & !x.(x:1..2 => (y={x} or y={x+1}))',
11633 '-evalt', ':clingo-double-check y<:1..10 & !x.(x:1..2 => (y={x} or y={2}))', % check filtering inside !
11634 '-evalt', ':clingo-double-check f:1..2<->BOOL & !x.(x:1..2 => f:1..x +-> BOOL)',
11635 '-evalt', ':clingo-double-check f:1..2 <<-> BOOL & !x.(x:1..2 => (1..x<|f):1..x +-> BOOL)',
11636 '-evalt', ':clingo-double-check f:1..10 +-> 1..10 & !(x,y).(x:1..10 & y:1..10 & x>y => (y:dom(f) & f(x)>f(y)))',
11637 '-evalt', ':clingo-double-check X=1..12 & a\\/b = X & a/\\b = {}',
11638 '-evalt', ':clingo-double-check X= 1..5 & X = a \\/ {5}',
11639 '-evalt', ':clingo-double-check X= 1..5 & X = a \\/ b'
11640 ],'Clingo tests which require bounds analysis').
11641 cli_testcase(2520, [clingo], [
11642 '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
11643 '../prob_examples/public_examples/B/B2ASP_Clingo/JustQueens_8_9.mch', % takes very long with other backends
11644 '../prob_examples/public_examples/B/B2ASP_Clingo/NQueensBig.mch',
11645 '../prob_examples/public_examples/B/B2ASP_Clingo/IceCream_Clingo.mch',
11646 '../prob_examples/public_examples/B/B2ASP_Clingo/CrewAllocationConstants.mch',
11647 '../prob_examples/public_examples/B/B2ASP_Clingo/DominatingSet_BV_Middle.mch',
11648 '../prob_examples/public_examples/B/B2ASP_Clingo/flat200-90.mch',
11649 '../prob_examples/public_examples/B/B2ASP_Clingo/HardGraph_Nr5.mch',
11650 '../prob_examples/public_examples/B/Puzzles/Queens/NBishopsSets_v2_clingo.mch',
11651 '../prob_examples/public_examples/B/Puzzles/Queens/Guyomard_Queens8_v2.mch',
11652 '../prob_examples/public_examples/B/B2SAT/crowded/CrowdedChessBoard4_clingo.mch',
11653 '-init', '-properties',
11654 '-p', 'SOLVER_FOR_PROPERTIES', 'clingo'],'Check clingo on complex constraints.').
11655 cli_testcase(2521, [ltl,tickets,safety], [
11656 '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
11657 '../prob_examples/public_examples/B/LTL/test_anim_prob/M0_i.imp',
11658 '-ltlformulaf', 'G( not( calls(M0_i.move_a) & F( {status=e1}) ) )',
11659 '-ltlformulaf', 'G( not( calls(M0_i.move_a) & XX( calls(M0_i.move_l) & XX calls(M0_i.stop)) ) )',
11660 '-ltlformulaf', 'G( not( calls(M0_i.move_a) & F( calls(M0_i.move_l) & F calls(M0_i.stop)) ) )',
11661 '-ltlformulaf', 'G( not( calls(M0_i.move_a) & X ([update_status] & X( calls(M0_i.move_l) ) ) ) )',
11662 '-ltlformulaf', 'G( not( calls(M0_i.move_a) & X ([update_status] & X( calls(M0_i.move_l) & X([update_status] & X calls(M0_i.stop)) ) ) ) )'
11663 ],'Check new calls operator and safet_mc bug fixed.').
11664 cli_testcase(2522, [ltl,tickets,safety], [
11665 '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
11666 '../prob_examples/public_examples/EventBPrologPackages/Tickets/EventTimeout/BDISemanticsRoboticCleaning2_mch.eventb',
11667 '-animate', 5, '-animate_stats'], 'Check no exception due to inf_overflow').
11668 % in basic_type_list_cardinality in exists_should_be_lifted
11669 cli_testcase(2523, [ltl,tickets], [
11670 '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
11671 '../prob_examples/public_examples/B/LTL/Tests/Simple.mch',
11672 '-animate_until_ltl_steps', 'F XXXX [end]', 7], 'Check new feature works').
11673 cli_testcase(2524, [b_test,tickets,imp,refinement], [
11674 '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
11675 '../prob_examples/public_examples/B/Tester/Includes/Renaming/MC_i.imp',
11676 '-assertions', '-model_check', '-nodead'], 'Check multiple SEES with prefix works').
11677 cli_testcase(2525, [b_test,tickets], [
11678 '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
11679 '../prob_examples/public_examples/B/Tester/Includes/IncludesSeesClash/M3.mch',
11680 '-assertions', '-model_check', '-nodead'], 'Check multiple SEES with prefix works').
11681 cli_testcase(2526,[tickets,json_trace_replay],[ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
11682 '../prob_examples/public_examples/B/Tester/NonDetAssignments.mch',
11683 '-trace_replay', 'json', '../prob_examples/public_examples/B/Tester/NonDetAssignments.prob2trace', '-mc', 100
11684 ], 'Check becomes_such with more than two variables works').
11685 cli_testcase(2527,[b_test],[ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
11686 '../prob_examples/public_examples/B/Tester/LOCAL_OPERATIONS/CounterLocalOperation.mch', '-mc', 52, '-nodead',
11687 '-cc', 52, 51
11688 ], 'Check LOCAL_OPERATIONS work by default').
11689 cli_testcase(2528, [cbc,forall], [
11690 '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
11691 '-evalt', '!x.((x|->"1.0"):S => x=1000) & S = {y|->"1.0", 2000 |-> "2.0"}',
11692 '-evalt', '!x.((x|->1.0):S => x=1000) & S = {y|->1.0, 2000 |-> 2.0}',
11693 '-evalt', '!(x,y).(y:S & x:S & x/=y => y+x=10) & S = {v,w}',
11694 '-evalf', '!(x,y).(y:S & x:S & x/=y => y-x=1) & S = {v,w} & v:100..110 & v/=w',
11695 '-evalt', '!(x,y).(y:S & x:S & x<y => y-x=10) & S = {v,w} & v:100..110 & v>w',
11696 '-evalt', '!(x,y).(y:S & x:S & x<y => y-x=10) & S = {v,w} & v:100..110 & v<w', % failed before
11697 '-evalt', '!(x,y,z).(x|->y : S & y|->z : S => x|->z : S) & S = {11|->22, 22|->33, v|->w}' % ditto
11698 ], 'Check forall set membership optimisation').
11699 cli_testcase(2529,[tickets,json_trace_replay,while],[ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
11700 '../prob_examples/public_examples/B/Tester/Includes/WhileWithRenaming/Main.mch',
11701 '-trace_replay', 'json', '../prob_examples/public_examples/B/Tester/Includes/WhileWithRenaming/Main.prob2trace'
11702 ], 'Check variable clash of operation parameters and local vars with sees renaming solved').
11703 cli_testcase(2530, [b_test,union], [ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
11704 '-evalt', 'UNION(x).(x=0|{22}) = {22}',
11705 '-evalt', 'UNION(x).(x=0&v>2|{22}) = r & v=3 & card(r)>0',
11706 '-evalt', 'UNION(x).(x=0&v>2|{22}) = r & v=1 & card(r)<1',
11707 '-evalt', 'UNION(x,y).(x=10 & y:11..12|{x+y}) = {21,22}',
11708 '-evalt', 'UNION(x,y).(x=2**10 & y:1..2|{x*y}) = {1024, 2048}',
11709 '-evalt', 'UNION(x,y).(y:9..10 & x=2**y|{y|->x}) = {(9|->512),(10|->1024)}',
11710 '-evalt', 'UNION(x,y).(y:9..10 & x=2*y & y<x|{y|->x}) = {(9|->18),(10|->20)}',
11711 '-evalt', 'UNION(x,y,z).(y:9..10 & x=2**y & z=x+x|{y|->x|->z}) = {(9|->512|->1024),(10|->1024|->2048)}'
11712 ], 'Test quantified UNION rules').
11713 cli_testcase(2531,[tickets,json_trace_replay,while],[ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
11714 '../prob_examples/public_examples/B/PerformanceTests/AVL_Index_Test.mch', '--model-check'
11715 ], 'Check performance of avl_fetch_with_flexible_index'). % operation Count_xw times out with older ProB not using this feature
11716 cli_testcase(2532, [wd,wd_prover,external,strings], [
11717 '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
11718 '-evalt', ':prove f=%x.(x:STRING|STRING_SPLIT(x,".")) => ran(f)<:seq1(STRING)',
11719 '-evalu', ':prove f=%x.(x:STRING|STRING_CHARS(x)) => ran(f)<:seq1(STRING)',
11720 '-evalt', ':prove x1="a" & f=%x.(x:STRING & x /= "" | STRING_CHARS(x)) => ran(f)<:seq1(STRING)',
11721 '-evalu', ':prove x="" & f=%x.(x:STRING & x /= "a" | STRING_CHARS(x)) => ran(f)<:seq1(STRING)',
11722 '-evalt', ':prove x="a" & f=%x.(x:STRING & x /= "" | STRING_CHARS(x)) => ran(f)<:seq1(STRING)',
11723 '-evalu', ':prove chars = %(s).(s:STRING|STRING_CHARS(s)) & x /= "a" => chars(x) : seq1(STRING)',
11724 '-evalt', ':prove chars = %(s).(s:STRING|STRING_CHARS(s)) & x /= "" => chars(x) : seq1(STRING)',
11725 '-evalt', ':prove chars = %(s).(s:STRING & s/=""|STRING_CHARS(s)) & x /= "" => chars(x) : seq1(STRING)',
11726 '-evalu', ':prove x:ran(f) & f:STRING<->STRING & y:dom(f) => x:f[{y}]',
11727 '-evalu', ':prove x:ran(f) & f:STRING<->STRING & y:dom(f) => x:f[{y,v}]',
11728 '-evalu', ':prove x:ran(f) & f:STRING<->STRING & S<:dom(f) => x:f[S]',
11729 '-evalt', ':prove x:ran(f) & f:STRING<->STRING & dom(f)<:S => x:f[S]',
11730 '-evalt', ':prove x:dom(f) & f:STRING <-> STRING => f[{x}] /= {}',
11731 '-evalt', ':prove tr1:BOOL & f: {tr1,tr2} --> BOOL => tr1:dom(f)',
11732 '-evalt', ':prove tr1:BOOL & f: {tr1|->tr2,tr2|->tr1}[BOOL] --> BOOL => tr1:dom(f)',
11733 %'-evalt', ':prove tr1:BOOL & f: {tr1|->tr2,tr2|->tr1}[{tr2}] --> BOOL => tr1:dom(f)', %TODO, see test 2018
11734 '-evalt', ':prove tr1:BOOL & f: {1|->2,2|->1}[{2}] --> BOOL => 1:dom(f)',
11735 '-evalu', ':prove tr1:BOOL & f: {FALSE|->TRUE,TRUE|->FALSE}[{FALSE}] --> BOOL => FALSE:dom(f)',
11736 '-evalt', ':prove tr1:BOOL & f: {FALSE|->TRUE,TRUE|->FALSE}[{TRUE}] --> BOOL => FALSE:dom(f)',
11737 '-evalt', ':prove tr1:BOOL & f: {FALSE|->TRUE,TRUE|->FALSE}~[{TRUE}] --> BOOL => FALSE:dom(f)',
11738 '-evalu', ':prove f<:STRING => IF x:g THEN g ELSE f END /= {}',
11739 '-evalt', ':prove f:POW1(STRING) => IF x:g THEN g ELSE f END /= {}',
11740 '-evalt', ':prove f:POW1(STRING) => IF g={} THEN f ELSE g END /= {}',
11741 '-evalt', ':wd x<:BOOL & IF card(x)=1 THEN CHOOSE(x) ELSE TRUE END = y ',
11742 '-evalt', ':prove s<:BOOL & f : BOOL --> POW(s) & x:(f(TRUE)) => x:s',
11743 '-evalt', ':prove s<:BOOL & f : BOOL --> s & x:ran(f) => x:s',
11744 '-evalt', ':prove s<:BOOL & f : BOOL --> POW(INTEGER*s) & x:ran(f(TRUE)) => x:s',
11745 '-evalt', ':prove s2 = dom({x,y|x:s1 & x:INTEGER & x>y}) => s2<:s1',
11746 '-evalu', ':prove s2 = dom({x,y|x:s1 & y:1..10 & x>y}) => s1<:s2',
11747 '-evalt', ':prove s2 = {x|x:s1 & x:INTEGER & x>n} => s2<:s1',
11748 '-evalu', ':prove s2 = {x|x:s1 & x:INTEGER & x>n} => s1<:s2',
11749 '-evalt', ':prove y:INTEGER & s2 = {x|x:s1 & x>n} & y:s2 => y:s1',
11750 '-evalt', ':prove (s1) <:STRING & s2 = dom({x,y|x:s1 & y:STRING & x|->y:s3}) & z:s2 => z:s1',
11751 '-evalt', ':prove (s1) <:STRING & s2 = dom(dom({x,y,z|x:s1 & y:STRING & x|->y:s3 & z|->y:s3})) => s2 <: s1',
11752 '-evalt', ':prove s2 = {x| x:POW(s3) & x /= {""}} => s2 <: POW(s3)',
11753 '-evalt', ':prove s2 = {x| x<:(s3) & x /= {""}} => s2 <: POW(s3)',
11754 '-evalt', ':prove x<:s & s<:STRING => CHOOSE(x):s',
11755 '-evalt', ':prove rl = {x,y| x:dom(f) & y:f(x)} & rl : INTEGER <-> INTEGER => max(rl~[{v}]):dom(f)',
11756 '-evalt', ':prove rl = {x,y| x:dom(f) & y:f(x)} & rl : INTEGER <-> INTEGER & cand = rl~[{v}] => CHOOSE(cand):dom(f)',
11757 '-evalt', ':prove x = {1,2,3,4,5} & x<:s => CHOOSE(x):s',
11758 '-evalt', ':prove x = {1,2,4,6} & x<:s => CHOOSE(x):s',
11759 '-evalt', ':prove x = {1,2,4,6} & x<:s & x2<: x => min(x2):s',
11760 '-evalt', ':prove x:INTEGER & x : s1 \\/ s2 => IF x:s1 THEN s1 ELSE s2 END /= {}',
11761 '-evalt', ':prove x : A /\\ B & x:STRING => IF x:A THEN {1} ELSE {} END /= {}',
11762 '-evalt', ':prove x>10 & f={y,v|y<x & not(x>10) & v=y} => ran(f)<:{}', % Note: ={} does not work yet
11763 '-evalt', ':prove ims:BOOL<->BOOL & numero : dom(ims) \\/ dom(no_ims) => numero: dom(IF numero : dom(ims) THEN ims ELSE no_ims END )',
11764 '-evalt', ':prove ims:BOOL<->BOOL & numero : ran(ims) \\/ ran(no_ims) => numero: ran(IF numero : ran(ims) THEN ims ELSE no_ims END )',
11765 '-evalt', ':prove ABS(x) >=0',
11766 '-evalt', ':prove x:INTEGER => LCM(x,y) >=0',
11767 %'-evalt', ':prove x>1 => x+SIGN(x) >=0',
11768 '-evalt', ':prove SIGN(x) >= -1'
11769 ], 'check WD proof for external functions and function application').
11770 cli_testcase(2533, [xtl,json_trace_replay], ['../prob_examples/public_examples/XTL/tests/trace_replay/simple_trace_test_before.P',
11771 '-trace_replay', 'json', '../prob_examples/public_examples/XTL/tests/trace_replay/test_params_with_exec_by_pred.prob2trace'
11772 ], 'Check JSON trace replay works in XTL mode with parameters for unmodified state representation').
11773 cli_testcase(2534, [xtl,json_trace_replay], ['../prob_examples/public_examples/XTL/tests/trace_replay/simple_trace_test_after.P',
11774 '-trace_replay', 'json', '../prob_examples/public_examples/XTL/tests/trace_replay/test_params_with_exec_by_pred.prob2trace',
11775 '-expcterr', 'trace_replay', '-expcterr', 'replay_json_trace_file', % imperfect replay
11776 '-evalt', 'size(HISTORY)=17'
11777 ], 'Check JSON trace replay works in XTL mode with parameters (with and without custom names) for modified state representation').
11778 cli_testcase(2535, [csp_test],
11779 ['../prob_examples/public_examples/CSP/Tickets/Frappier1/alloc-ressource.csp',
11780 '-t', '-mc', 8700, '-cc', 8579, 30441
11781 ], 'Check agent_call inside set expression used in diff').
11782 cli_testcase(2536, [cbc_refinement,refinement],
11783 ['../prob_examples/public_examples/EventBPrologPackages/Tickets/cbc_inv_ticket/isqrt1_vorlesung25_mch.eventb',
11784 '-cbc_refinement', '-expcterr', cbc_refinement
11785 ], 'Check cbc refinement check works with decomposed guard').
11786 cli_testcase(2537, [xtl,json_trace_replay,disprover],
11787 ['../prob_examples/public_examples/ProofObligations/Abrial_Bridge/m0_island_bridge_mch.probpo',
11788 '-trace_replay', 'json',
11789 '../prob_examples/public_examples/ProofObligations/Abrial_Bridge/m0_island_bridge_mch.prob2trace'
11790 ], 'Check replay of a simple proof').
11791 cli_testcase(2538, [wd,wd_prover], [
11792 '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
11793 '-evalt', ':prove {hD} \\/ {hU} <: HSTATE & HSTATE <: NATURAL => BOOL * {hD} : BOOL +-> HSTATE',
11794 '-evalu', ':prove x<:INTEGER => dom(BOOL*x) = BOOL', % x could be empty
11795 '-evalu', ':prove x<:INTEGER => ran(x*BOOL) = BOOL', % ditto
11796 '-evalt', ':prove x<:INTEGER => dom((1..3)*x) <: 1..3',
11797 '-evalt', ':prove f:BOOL +-> BOOL & dom(f)=BOOL => f:BOOL --> BOOL',
11798 '-evalt', ':prove {hD} \\/ {hU} <: HSTATE & HSTATE <: NATURAL => BOOL * {hD} : BOOL --> HSTATE',
11799 '-evalt', ':prove f: BOOL +-> 1..2 & g:3..4 -->BOOL => (1..2) /\\ dom(g) = {}',
11800 '-evalt', ':prove f: BOOL +-> 1..2 & g:3..4 +->BOOL => (f;g)={}',
11801 '-evalu', ':prove f: BOOL +-> 1..2 & g:a..4 +->BOOL & a>=2 => (f;g)={}',
11802 '-evalt', ':prove f: BOOL +-> 1..2 & g:a..4 +->BOOL & a>2 => (f;g)={}',
11803 '-evalt', ':prove x-1<0 => x-1-1<0',
11804 '-evalt', ':prove 1+x>=0 => (x+1)+1>=0',
11805 '-evalt', ':prove x<:BOOL & x=y & v=z => x \\/ v = z \\/ y', % equality of union
11806 '-evalt', ':prove x:NAT & x=y & v=z => x + v = z + y',
11807 '-evalt', ':prove x={} & y={} & z={} & x<:BOOL & s={x,y,z} => union(s) = {}', % SIMP_KUNION_EQUAL_EMPTY
11808 '-evalt', ':prove y>0 & x:NATURAL & x+1>0 & not(x+1+1>0) => bfalse'
11809 ], 'Check wd prover for Cartesian products as functions and a few more rules').
11810 cli_testcase(2539, [xtl,json_trace_replay,disprover],
11811 ['../prob_examples/public_examples/ProofObligations/SequentProver/TestSequentProverRules_ctx.probpo',
11812 '-trace_replay', 'json',
11813 '../prob_examples/public_examples/ProofObligations/SequentProver/TestSequentProverRules_ctx.prob2trace'
11814 ], 'Check replay of a simple proof').
11815 cli_testcase(2540, [cbc,bmc,tla],
11816 ['../prob_examples/public_examples/TLA/TLA_Google_Group/Einstein/TLA_Examples/Einstein_tla2b.mch',
11817 '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
11818 '-bmc', 1, '-expcterr', 'invariant_violation',
11819 '-sptxt', '../prob_examples/public_examples/TLA/TLA_Google_Group/Einstein/TLA_Examples/prob_bmc_counterexample_test2093.mch'], 'check TLA model with additional LET can be solved with bmc'). % variation of test 2093
11820 cli_testcase(2541, [b_test],
11821 ['../prob_examples/public_examples/B/FeatureChecks/DEFINITIONS/TestDefDuplication.mch',
11822 '-init'],'check HYGIENIC_DEFINITIONS performance').
11823 cli_testcase(2542,[alloy],['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
11824 '../prob_examples/public_examples/Alloy/alloy_models/thesis_schmidt/railway_var_capture.als',
11825 '-cbc_sequence', check0,
11826 '-expcterr', 'cbc_sequence_no_solution_found'], 'Test variable capture problem solved with hygienic macros').
11827 cli_testcase(2543, [tickets], [
11828 '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
11829 '-evalt', 'y=5 & LET x BE x=y-1 IN #y.(y:NATURAL1 & y<x) END'],
11830 'Test variable capture problem in LET cleanup solved').
11831 cli_testcase(2544, [b_test],
11832 ['../prob_examples/public_examples/B/FeatureChecks/DEFINITIONS/HygMacroTest.mch',
11833 '-p', 'HYGIENIC_DEFINITIONS','TRUE',
11834 '-init'],'Test variable capture problem in LET cleanup solved'). % see test 178
11835 cli_testcase(2545, [wd,wd_prover,external,strings], [ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
11836 'stdlib/LibraryProB.def',
11837 '-evalt', ':prove ASSERT_TRUE(bool(x>0),"err") => x>0',
11838 '-evalt', ':wd x:3..5 & ASSERT_TRUE(bool(x>0),"err") & res = 1/x',
11839 '-evalt', ':wd x:3..5 & ASSERT_EXPR(bool(x>0),"err", 1/x)=res'
11840 ],'Test WD Prover for ASSERT_TRUE').
11841 cli_testcase(2546, [cache], ['../prob_examples/public_examples/B/FeatureChecks/Cache/SEES/M_Main.mch',
11842 '-execute_all',
11843 '-evalt', 'sum=66',
11844 '-ccache', '../prob_examples/public_examples/B/FeatureChecks/Cache/SEES/cache', '-clear_cache',
11845 '-cache_stats', '-check_cache_stats', 0, 3], 'Reset cache and check no reuse happens').
11846 cli_testcase(2547, [cache], ['../prob_examples/public_examples/B/FeatureChecks/Cache/SEES/M_Main2.mch',
11847 '-execute_all', '-clear_cache_for', 'M_Main2',
11848 '-evalt', 'sum=66',
11849 '-evalt', 'msum2=66',
11850 '-ccache', '../prob_examples/public_examples/B/FeatureChecks/Cache/SEES/cache',
11851 '-cache_stats', '-check_cache_stats', 2, 1], 'Check reuse from test 2546 for other main machine').
11852 cli_testcase(2548, [cache], ['../prob_examples/public_examples/B/FeatureChecks/Cache/SEES/M_Main3.mch',
11853 '-execute_all', '-clear_cache_for', 'M_Main3',
11854 '-evalt', 'sum=66',
11855 '-evalt', 'msum3=66',
11856 '-ccache', '../prob_examples/public_examples/B/FeatureChecks/Cache/SEES/cache',
11857 '-cache_stats', '-check_cache_stats', 2, 1], 'Check reuse from test 2547 for other main machine using INCLUDES rather than SEES').
11858 cli_testcase(2549, [sequences,tickets], ['../prob_examples/public_examples/B/Tickets/TreeSeqTicket/TreeSeqTicket_or1.mch',
11859 '../prob_examples/public_examples/B/Tickets/TreeSeqTicket/TreeSeqTicket_or.mch',
11860 '../prob_examples/public_examples/B/Tickets/TreeSeqTicket/TreeSeqTicket.mch',
11861 '-assertions'],
11862 'Check that reification of complex seq1 type does not lead to failure').
11863 cli_testcase(2550, [sequences,tickets], [
11864 '-evalt', 'x/: {[1,2]^[3] } & card(x)=1 & 1/:dom(x)',
11865 '-evalt', '{x} /<: {[1,2]^[3] } & card(x)=1 & 1/:dom(x)',
11866 '-evalt', '{x} /<<: {[1,2]^[3] } & card(x)=1 & 1/:dom(x)',
11867 '-evalt', 'x /= [1,2] & card(x)=1 & dom(x)<:2..3',
11868 '-evalt', '(id0 /: seq(BOOL)) & card(id0)<3',
11869 '-evalt', 'not(id0 : seq(BOOL)) & card(id0)<3', % not working yet
11870 '-evalt', '{x} \\/ { [1,2] } = {y,z} & card(y)=1 & dom(y)={2} & card(z)=2 ',
11871 '-evalt', '{x | x/: {[1,2]^[3] } & card(x)=1 & dom(x)={2} & ran(x)<:0..1} = {{2|->0}, {2|->1}}',
11872 '-evalt', 'x : seq({FALSE,TRUE}) & not(x : seq({TRUE}))'
11873 ],'Test seq(.) type inference does not lead to unsoundess due to tight_enumerate').
11874 cli_testcase(2551, [simb,ltl], ['../prob_examples/public_examples/B/SimB/RandomWalk.mch',
11875 '-mc-simulate','../prob_examples/public_examples/B/SimB/RandomWalk_simulation2.json', 100, 1001,
11876 '-simulate-until-time', 12000, '-simulate-until-ltl-ap', '{position>9}', '-simb-profile', '-silent'],
11877 'Check basic SimB Monte Carlo simulation').
11878 cli_testcase(2552, [xtl,ctl,ltl], ['../prob_examples/public_examples/XTL/trafficLight.P',
11879 '-p','USE_SCOPE_DEFINITION','FALSE',
11880 '-ltlformulaf','GF {tl_cars = green}',
11881 '-ltlformulat','((GF e(switch_tl_peds) => GF [switch_tl_peds])) => GF {tl_peds = green}',
11882 '-ctlformulat','EF {tl_cars = green}'
11883 ], 'Check LTL/CTL formulas containing Prolog terms as APs in XTL mode.').
11884 cli_testcase(2553, [smt_solver_integration], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
11885 '../prob_examples/public_examples/B/SmtSolverTests/ABZ16_m4/ABZ16_m4.eventb', '-init',
11886 '-p', 'TIME_OUT', '60000',
11887 '-evalf', ':z3-file ../prob_examples/public_examples/B/SmtSolverTests/ABZ16_m4/m4_monolithic_bmc_k_0.eval', %% Z3
11888 '-evalf', ':z3-file ../prob_examples/public_examples/B/SmtSolverTests/ABZ16_m4/m4_monolithic_bmc_k_1.eval' %% Z3
11889 ], 'Z3 for BMC constraints of ABZ16_m4'). % see test 2162 for cdclt version
11890 cli_testcase(2554, [cdclt], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'FALSE', '-p', 'TIME_OUT', '60000',
11891 '-evalt', ':cdclt id0 : POW(INTEGER * REAL) * INTEGER & id1 : INTEGER * BOOL & id2 : POW(INTEGER) * POW(INTEGER * POW(INTEGER * INTEGER)) & (({LAMBDA_RESULT___|LAMBDA_RESULT___ : POW(POW(POW(INTEGER * INTEGER))) & bfalse} /= {} & (iseq(NAT1) \\/ seq(NATURAL)) /: inter({LAMBDA_RESULT___|LAMBDA_RESULT___ : POW(POW(POW(INTEGER * INTEGER))) & bfalse})) or FDIV(MAXINT,MININT) * floor(51.72862577682177) > MAXINT ** 26 + (MININT - 1) or (MININT : 0 .. size([]) & [] \\|/ MININT : perm(INTEGER) & (NATURAL /= {} & NATURAL : FIN(NATURAL) & min(NATURAL) < prj2(id0))) <=> (prj1(id2) /= {} & prj1(id2) : FIN(prj1(id2)) & card(prj1(id2)) <= 1 & prj1(id1) < MU(prj1(id2))))' % originally in test 2105
11892 ], 'Some arbitrary constraints that should be solved by CDCL(T) with enum warnings').
11893 cli_testcase(2555, [cdclt], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'FALSE',
11894 '-p', 'TIME_OUT', '60000',
11895 '../prob_examples/public_examples/EventBPrologPackages/BinarySearch/binary_search_prob_mch.eventb', '-init',
11896 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/BinarySearch/binary_search_prob_mch_monolithic_bmc_k_10.eval' % originally in test 2261
11897 ], 'Double check CDCL(T) solver for BMC constraints of a binary search model (with enum warning)').
11898 cli_testcase(2556, [cdclt], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'FALSE',
11899 '-p', 'TIME_OUT', '60000',
11900 '-p', 'maxNrOfInitialisations', '1',
11901 '-p', 'cdclt_use_idl_theory_solver', 'true', % TODO: the double-checks fail without this; meaning there is a bug in CDCLT!
11902 '../prob_examples/public_examples/B/SmtSolverTests/PM_M1_VOOR/PM_M1_VOOR.eventb', '-init',
11903 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M1_VOOR/M1_VOOR_Pace_ON.eval', % test 2365
11904 '-evalf', ':cdclt-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M1_VOOR/M1_VOOR_tic.eval', % originally in test 2366
11905 '-evalf', ':cdclt-free-double-check #file ../prob_examples/public_examples/B/SmtSolverTests/PM_M1_VOOR/M1_VOOR_tic.eval' % originally in test 2366
11906 ], 'CDCL(T) using the additional IDL solver for constraint with enum warnings').
11907 cli_testcase(2557, [smt_solver_integration], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
11908 '-p', 'TIME_OUT', '60000',
11909 %'-evalf', ':z3-double-check ii=1 & aa:1..3 --> BOOL & !ii.(ii:2..3 => aa(ii)/=aa(ii-1)) & ran(aa)={FALSE}', % unknown
11910 %'-evalt', ':z3-double-check ii=1 & aa:1..3 --> BOOL & !ii.(ii:2..3 => aa(ii)/=aa(ii-1)) & ran(aa)={FALSE,TRUE}', % unknown
11911 %'-evalf', ':z3-double-check ii=1 & aa:1..3 --> BOOL & !ii.(ii:2..3 => aa(ii)/=aa(ii-1)) & ran(aa)={FALSE}', % unknown
11912 '-evalf', ':z3-double-check ii=1 & aa:1..3 --> BOOL & {ii|aa(ii)=TRUE} = dom(aa) & FALSE:ran(aa)',
11913 '-evalt', ':z3-double-check ii=1 & aa:1..3 --> BOOL & UNION(ii).(ii|->TRUE:aa |{ii}) = 1..3',
11914 '-evalf', ':z3-double-check ii=1 & aa:1..3 --> BOOL & UNION(ii).(ii|->TRUE:aa |{ii}) = 1..3 & FALSE:ran(aa)',
11915 '-evalt', ':z3-double-check ii=1 & aa:1..3 --> BOOL & LET ii BE ii=3 IN aa(ii)=TRUE & x=1..ii END & a(ii)=FALSE'
11916 % :z3 ii=1 & aa:1..3 --> BOOL & SIGMA(ii).(ii|->TRUE:aa|ii) = 6 % translation failed
11917 ], 'Check quantifier scoping for Z3'). % see 2176 for cdclt counterparts
11918 cli_testcase(2558, [infinite,records], [
11919 '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
11920 '-evalt', 'f = {x,y|x>2 & y>3 & y=4} & f /: FIN(f)',
11921 '-evalt', 'f = {x,y|x>2 & y>3 & y=3} & f : FIN(f)', % TODO: {x,y|x > 2 & y > x}
11922 '-evalt', 'f = {x,y|x>12 & y<3 & y=2} & f /: FIN(f)',
11923 '-evalt', 'f = {b,a|a:NATURAL1 & b:NATURAL & b=0} & f /: FIN(f)',
11924 '-evalt', 'f = {a,b|a:NATURAL1 & b:NATURAL & b=0} & f /: FIN(f)',
11925 '-evalt', 'f = {a,b|a:NATURAL1 & b:NATURAL1 & b=0} & f : FIN(f)',
11926 '-evalt', 'f = {a,b,c,d|a:NATURAL1 & (b:NATURAL & (c:NATURAL1 & (d:NATURAL & a=1)))} & f /: FIN(f)',
11927 '-evalt', 'f = {x,y|x>12 & y<3 & y<2 & x>20} & f /: FIN(f)',
11928 '-evalt', 'f = {x,y|x>12 & y<3 & y<2 & x>20 & x=21} & f /: FIN(f)',
11929 '-evalt', 'f = {x,y|x>12 & y<3 & y<2 & x=20 & x>20 } & f : FIN(f)',
11930 '-evalt', 'f = {x,y|x>12 & y<3 & y<2 & x>20 & y=1} & f /: FIN(f)',
11931 '-evalt', 'f = {x,y|x>12 & y<3 & y<2 & y<100 & x>20 & y=2} & f : FIN(f)',
11932 '-evalt', 'f = {x,y|x>12 & y<3 & y=2 & y<2 & x>20} & f : FIN(f)'
11933 ], 'check infinite equality closure detection improvements').
11934 cli_testcase(2559, [proz], [
11935 '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
11936 '../prob_examples/public_examples/Z/Tickets/Frank/failing.tex',
11937 '../prob_examples/public_examples/Z/Tickets/Frank/working.tex',
11938 '-mc', 10, '-nodead'], 'Test issues with rel operator solved').
11939 cli_testcase(2560, [wd], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
11940 '-evalt', 'f = %(x).(x:pred | x) & not(f:FIN(f))',
11941 '-evalf', 'f = %(x).(x:succ | x) & f:FIN(f)',
11942 '-evalt', 'not(prj1(succ,INTEGER) : FIN(prj1(succ,INTEGER)))',
11943 '-evalt', ':prove x = {3,2,3,1} => x=1..3',
11944 '-evalt', ':prove x = {3,2,3,1} & n=3 => x=1..n',
11945 '-evalt', ':prove x=1..3 => x = {3,2,3,1}',
11946 '-evalt', ':prove x = {3,2,3,1} & n=3 => x=1..n',
11947 '-evalt', ':prove x = 1..n & n<1 => x = {}',
11948 '-evalt', ':prove x = 1..n & n>=1 => x /= {}',
11949 '-evalt', ':prove x<3 & i=2..10 => card(i \\/ i)>x',
11950 '-evalt', ':prove i=1..10 => [2,3,4][1..3] = 2..4',
11951 '-evalt', ':prove i=1..3 => [2,3,4][i] = 2..4',
11952 '-evalu', ':prove i=1..10 & succf = [2,3,4,5,6,7,8,9,10] => succf[1..10] = 2..11',
11953 '-evalt', ':prove i=1..10 & succf = [2,3,4,5,6,7,8,9,10,11] => succf[1..10] = 2..11' % TODO: succ[1..10] = 2..11 ?
11954 ], 'test detection of infinite closures with pred/succ').
11955 cli_testcase(2561, [cbc,infinite], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
11956 % '-evalt', 'F=%x.(x=10 or x<0|x+1) & F /: FIN(F)', % does not work yet
11957 '-evalt', 'F= %(x,y).(x=y+1 & y=x+1 | x+y) & F : FIN(F)', % this no longer works in SICStus 4.10, see SPRM-21541
11958 % ?- X #= Y+1, Y #= X+1. reports no in SICStus 4.7, 4.8, 4.9 detecting inconsistency; but not longer in 4.10
11959 '-evalt', 'card({x,z|x:{x+1,x+2} & z:INTEGER}) = 0', % also no longer works in 4.10;
11960 % ?- Y #= X+1, Y=X. reports no in SICStus 4.9, but X=Y, Y in inf .. sup in 4.10
11961 '-evalt', 'card({x,y,v|x:INTEGER & y:{y+1,y+2} & v=x}) = 0',
11962 '-evalt', 'card({x,y,v|x:INTEGER & y:{v+1,v+2} & v=y}) = 0',
11963 '-evalt', 'card({x,y|x:INTEGER & y=x+1 & x=y}) = 0'
11964 ], 'check improved infinite detection allowing not_equal works (originally part of test 2415)').
11965 cli_testcase(2562, [reals,external], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE', '-p', 'REAL_SOLVER', precise_float_solver,
11966 '-evalt', 'x>10.0 & x<20.0',
11967 '-evalf', 'x > 10.0 & x < 10.0',
11968 '-evalt', 'RABS(x) = 10.0 & x < 0.0',
11969 '-evalt', '{x|x * x = 16.0 & x<2.0} = {-4.0}',
11970 '-evalt', 'x > 100.0 & y > 2.0*x & x+y <305.0',
11971 '-evalt', 'card({x| x+0.9 = 1.0 }) = 13',
11972 '-evalt', '{x| x+0.9 = 1.0 } = {0.09999999999999992,0.09999999999999994,0.09999999999999995,0.09999999999999996,0.09999999999999998,0.09999999999999999,0.1,0.10000000000000002,0.10000000000000003,0.10000000000000005,0.10000000000000006,0.10000000000000007,0.10000000000000009}',
11973 '-evalt', 'card({x| x+0.99 = 1.0 }) = 97',
11974 '-evalt', 'ceiling(x) > 22 & ceiling(x) < 24',
11975 '-evalt', 'floor(x) = 10 & ceiling(x) = 11',
11976 '-evalf', 'x > 11.0 & x < 12.0 & real(y) = x',
11977 '-evalt', 'x > 11.0 & x < 12.1 & real(y) = x',
11978 '-evalt', 'x >= 12.0 & (x >= 5.0 <=> y=TRUE) & (y=TRUE => x > 13.1) & x < 100.0',
11979 '-evalt', 'x > 11.0 & x< 12.0 & i=ROUND(x)',
11980 '-evalt', 'x > 11.0 & i=ROUND(x) & i=122',
11981 '-evalt', 'x >= 0.0 & x <= 0.1 & s = RSIN(x) & s < 0.03',
11982 '-evalt', 'RLOGe(x) = 1.0',
11983 '-evalt', 'RLOG(x,2.0) = v & x = 4.0', % not constraint propagation; just checking RLOG/2 works
11984 '-evalt', 'RMAX(x,2.0) = 2.0 & RMIN(x,2.0) = 1.0',
11985 '-evalt', 'x >= 1.0 & x <= 2.0 & y = 10.0 / x & y > 6.0',
11986 '-evalt', '{x|x >= 1.0 & x <= 2.0 & y = 10.0 / x} = r & y = 6.0 & card(r) = 1',
11987 '-evalt', 'RSIGN(x) = r & x>0.1 & (r=1.0 => x> 4.9 & x < 5.0)',
11988 '-evalt', 'max({y,2.0}) = 30.0',
11989 '-evalt', 'max({y,z,2.0}) = 3.0 & y>2.99 & z>y',
11990 '-evalt', 'min({y,22.0}) = 11.5',
11991 '-evalt', 'min({y,z,22.0}) = 3.0 & y<3.01 & z<y',
11992 '-evalt', 's:seq(REAL) & size(s)=10 & !i.(i:dom(s) => floor(s(i))=i) & SIGMA(i).(i:1..10|s(i)) = 60.1',
11993 '-evalf', 's:seq(REAL) & size(s)=10 & !i.(i:dom(s) => floor(s(i))=i) & SIGMA(i).(i:1..10|s(i)) = 54.0',
11994 %'-evalt', 's:seq(REAL) & size(s)=10 & !i.(i:dom(s) => floor(s(i))=i) & SIGMA(i).(i:1..10|s(i)) = 55.0',
11995 % used to crashes with 55.0 or 65.0; TODO: test with new beta release of SICStus 4.10.2, now times out
11996 '-evalf', 's:seq(REAL) & size(s)=4 & !i.(i:dom(s) => floor(s(i))=i) & PI(i).(i:dom(s)|s(i)) = 10.0',
11997 '-evalt', 's:seq(REAL) & size(s)=4 & !i.(i:dom(s) => floor(s(i))=i) & PI(i).(i:dom(s)|s(i)) = 24.0',
11998 '-evalt', 's:seq(REAL) & size(s)=4 & !i.(i:dom(s) => floor(s(i))=i) & PI(i).(i:dom(s)|s(i)) = 25.0',
11999 '-evalt', 'x1>=0.0 & x1 <= 10.0 & x2>=10.1 & x2 <= 20.0 & RABS(x1-x2) <= 0.1',
12000 '-evalt', 'x1>=0.0 & x1 <= 10.0 & x2>=10.1 & x2 <= 20.0 & (x1-x2)*(x1-x2) <= 0.01',
12001 '-evalt', 'x1>=0.0 & x1 <= 10.0 & x2>=10.1 & x2 <= 20.0 & (x1-x2)**2 <= 0.01',
12002 '-evalt', 'floor(z)=floor(x)+floor(y) & z<= 10.0 & x>=3.0 & floor(y) > floor(x) & z<x+y-1.5',
12003 '-evalf', 'floor(z)=floor(x)+floor(y) & z<= 10.0 & x>=3.0 & floor(y) > floor(x) & z>x*y',
12004 '-evalt', 'floor(z)=floor(x)+floor(y) & z<= 10.0 & x>=1.0 & floor(y) > floor(x) & z>x*y',
12005 '-evalf', 's1=60.0 & v1=10.0 & v2=5.0 & x2=72.0 & x>=0.0 & x<= 300.0 & (x<=s1 => t=x/v1) & (x>s1 => t=s1/v1+(x-s1)/v2) & t>7.5 & x < x2-5.0',
12006 '-evalt', 's1=60.0 & v1=10.0 & v2=5.0 & x2=72.0 & x>=0.0 & x<= 300.0 & (x<=s1 => t=x/v1) & (x>s1 => t=s1/v1+(x-s1)/v2) & t>7.0 & x < x2-5.0',
12007 '-evalt', 'x=2.93 & a= RNEXT(b) & b=10.0 & la = RLOG(x,a) & lb = RLOG(x,b) & a>b & la >= lb', % check monotonicity of log for base 10, see https://purplesyringa.moe/blog/log-is-non-monotonic-in-php-and-lua/
12008 '-evalt', 'RPOW(2.0,e) = 1024.0', % still commented out until real_power_of code activated
12009 '-evalt', 'RDECIMAL(23,x) = 2300.0', % ditto
12010 '-evalt', '{x|RDECIMAL(23,x) = 2300.0} = {2}'
12011 ], 'test new CLP(FD) based real solver').
12012 cli_testcase(2563, [external], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
12013 'stdlib/LibraryIO.def',
12014 '-evalt', 'TIMESTAMP(2075,5,8,10,0,0) = ts & ts = TIMESTAMP(YY,MM,DD,H,M,S) & YY=2075'
12015 ], 'test date functions, 2038 bug check').
12016 cli_testcase(2564, [infinite], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
12017 '-evalt', 'x = {0|->1} & f = %x.(x>=0|x+11) & xf = x <+ f & xf(0)=res & res=11'
12018 ], 'test override with symbolic function').
12019 cli_testcase(2565, [reals,visb], [
12020 '../prob_examples/public_examples/B/Hybrid/AbrialSawWithHistory.mch',
12021 '-animate', 4, '-animate_stats', '-visb', '',
12022 '../prob_examples/public_examples/B/Hybrid/AbrialSawWithHistory.html'], 'Check VisB export with reals'). % crashes with 4.10-beta2 when exporting VisB
12023 cli_testcase(2566, [reals], [ '-p', solver_for_reals, real_solver,
12024 '-evalt', '{x|x*x=3.0 & x>0.0} = r & 1.7320508075688774:r' % r is empty with precise_float_solver
12025 ], 'test real solver').
12026 cli_testcase(2567, [reals,tickets], [
12027 '../prob_examples/examples/B/Tickets/RealsRailML/FLB/FLB_data.mch', '-assertions',
12028 '-evalt', '"ne_105" = prj1(e_sloc) & (1.0) <= prj2(e_sloc) & (prj2(e_sloc) = 1.0 => prj2(e_sloc) <= (1.0))'
12029 %'-evalt', '"ne_105" = prj1(e_sloc) & prj1(prj2(e_sloc)) <: 1..3 & (1.0) <= prj2(prj2(e_sloc)) & (prj2(prj2(e_sloc)) = 1.0 => a=TRUE)' % this does not work yet in 4.10 due to SICStus bug SPRM-21560
12030 ], 'test real solver unification / prj2 problem').
12031 cli_testcase(2568, [reals], [
12032 '-evalt', 'x > 1.0 & (x=0.9 <=> not(a=11.0)) & (a=11.0 => x = 1.1)',
12033 '-evalt', 'x >= 1.0 & (x<1.0 <=> not(a=11.0)) & (a=11.0 => x = 1.1)'
12034 ], 'test reification of reals').
12035 cli_testcase(2569, [reals], [
12036 '-evalt', '{x,a|x >= 1.0 & (x<1.0 <=> not(a=11.0)) & (a=11.0 => x = 1.1)} = {(1.1|->11.0)}',
12037 '-evalt', '{x,a|x > 1.0 & (x=1.0 <=> not(a=11.0)) & (a = 11.0 => x = 1.1)} = {(1.1|->11.0)}'
12038 ], 'test reification of reals (requiring 4.10 real solver)').
12039 cli_testcase(2570, [infinite,reals], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
12040 '-p', solver_for_reals, precise_float_solver,
12041 '-expcterr', 'well_definedness_error',
12042 '-evalt', 'x = /*@symbolic */ {y|y>=11.0} & min(x) = r',
12043 '-evalt', 'x = {y|y>=11.0} & CHOOSE(x) = r',
12044 '-evalt', 'x = {y|y<=11.0} & max(x) = r',
12045 '-evalt', 'x = {y|y<=11.0} & CHOOSE(x) = r',
12046 '-evalt', 'x = {y|y>1.0} & min(x) = r & r > 1.0', % requires precise_float_solver to have a value
12047 '-evalt', 'x = {y|y<12.0} & max(x) = r & r < 12.0', % requires precise_float_solver to have a value
12048 '-evalt', 'x = {y|y>=1.0 & y<=20.0} & min(x) < max(x)',
12049 '-evalt', 'x = {y|y>=1.0 & y<=20.0 & y>=2.0} & min(x) < max(x)',
12050 '-evalt', 'x = {y|y<=v} & max(x) = r & v:{0.1,0.2} & v>0.0',
12051 '-evalt', 'x = {y|y<=v & y >= 3.0} & max(x) = r & v:{12.0,11.0}',
12052 '-evalnwd', 'x = {y|y<=v & y >= 3.0} & max(x) = r & v:{2.0,1.0}', % was FALSE before WD error was also raised for variable bounds
12053 '-evalt', 'x = {y|y<=v & y >= 3.0 & y<= w} & max(x) = r & v:{12.0,11.0} & w:{12.0,13.0} & v+1.0<w',
12054 % does not work yet due to normalisation of interval closure:{x,v,w,r|x = {y|y<=v & y >= 3.0 & y<= w} & max(x) = r & v:{12.0,11.0} & w:{12.0,13.0} & v+1.0<w}
12055 % ditto: {x,v|x = {y|y<=v & y >= 3.0} & v:{12.0,11.0}}
12056 '-evalt', 'f= %x.(x>0.0|x) & f : REAL +-> REAL',
12057 '-evalt', 'CHOOSE(REAL) = c & c: REAL',
12058 '-evalt', 'CHOOSE({x|x>=10.0}) = c & c >= 10.0',
12059 '-evalt', 'CHOOSE({x|x<=10.0}) = c & c <= 10.0',
12060 '-evalt', 'CHOOSE({x|x>=10.0 & x<= 20.0}) = c & c >= 10.0 & c <= 20.0',
12061 '-evalt', 'CHOOSE(STRING) : STRING',
12062 '-evalt', 'f = %x.(x>0.0|x) & g= %x.(x<= 0.0|-x) & fg = f\\/g & fg[{3.0,-4.0}] = res & res <: dom(f)',
12063 '-evalt', 'f = %x.(x:REAL|x) & g= %x.(x<= 0.0|-x) & fg = f<+g & fg[{3.0,-4.0}] = res & res /<:dom(g)'
12064 ], 'min/max/CHOOSE/... for infinite real sets').
12065 cli_testcase(2571, [infinite], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
12066 '-evalt', 'f=%xx.(xx>=0|xx) & f:NATURAL --> INTEGER',
12067 '-evalt', 'f=%xx.(xx>=0|xx) & f:NATURAL --> NATURAL',
12068 '-evalt', 'f=%xx.(xx>=0|xx) & f/:INTEGER --> INTEGER',
12069 %'-evalt', 'f= %x.(x>0.0|x) & f /: REAL --> REAL' % Enumeration warning occured for _equality_sets_
12070 '-evalt', 'f = /*@symbolic*/ {x,y| x: {xx|xx>0 & x mod 2 = 0} & y=x+x} & f: NATURAL +-> INTEGER',
12071 '-evalf', 'f = /*@symbolic*/ {x,y| x: {xx|xx>0 & x mod 2 = 0} & y=x+x} & f: NATURAL --> INTEGER',
12072 '-evalt', 'f = {x,y| x|->y : %xx.(xx>0|xx) or (x <= 0 & y=1)} & dom(f)=INTEGER',
12073 '-evalt', 'f = {x,y| x|->y : %xx.(xx>0|xx) or (x <= 0 & y=1)} & f: INTEGER +-> INTEGER',
12074 '-evalt', 'f = {x,y| x|->y : %xx.(xx>0|xx) or (x <= 0 & y=1)} & f: INTEGER --> INTEGER',
12075 '-evalf', 'f = {x,y| x|->y : %xx.(xx>0|xx) or (x <= 0 & y=1)} & f: NATURAL --> INTEGER',
12076 '-evalf', 'f = {x,y| x|->y : %xx.(xx>=0|xx) or (x <= 0 & y=1)} & f: INTEGER --> INTEGER',
12077 % f = {x,y| x|->y : %xx.(xx>0.0|xx) or (x <= 0.0 & y=1.0)} & f: REAL +-> REAL % requires 4.10 CLP(FD) Real support
12078 '-evalt', 'f = /*@symbolic*/ {t,lmd|t |-> lmd : /*@symbolic*/ %t.(0.0 <= t|5.3 - 0.49 * (t - 0.0)) or (t /: dom(/*@symbolic*/ %t.(0.0 <= t|5.3 - 0.49 * (t - 0.0))) & (0.0 <= t & lmd = 5.3))} & not(f:FIN(f))',
12079 '-evalt', '/*@symbolic*/ {tt,lmd|tt |-> lmd : /*@symbolic*/ %t.(0 <= t|t) or (tt /: dom(/*@symbolic*/ %t.(0 <= t|t)) & (0 <= tt & lmd = 53))} : INTEGER +-> INTEGER',
12080 '-evalt', '/*@symbolic*/ {t,lmd|t |-> lmd : /*@symbolic*/ %t.(0 <= t|t) or (t /: dom(/*@symbolic*/ %t.(0 <= t|t)) & (0 <= t & lmd = 53))} : INTEGER +-> INTEGER', % same with variable clash
12081 '-evalt', '%tt.(0 <= tt|53-tt) : INTEGER +-> INTEGER',
12082 '-evalt', '%tt.(0 <= tt|53-tt) : NATURAL --> INTEGER'
12083 % '-evalt', '/*@symbolic*/ {tt,lmd∣tt |-> lmd : %t.(0 <= t|53-t) or (tt >0 & (0 <= tt & lmd = 53))} : INTEGER +-> INTEGER' % does not work yet, note: 0 <= x & z_ = 53-t & z__ = 53-t & z_ /= z__ is unknown without CSE, (x |-> z_ : %t.(0 <= t|53 - t)) & (x |-> z__ : %t.(0 <= t|53 - t) ) & z_ /= z__ is unknown with CSE (remove_member_comprehension would need to be improved)
12084 ], 'total function checks').
12085 cli_testcase(2572, [satsolver_test], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
12086 '../prob_examples/public_examples/B/B2SAT/simple/program_analysis_simple.mch',
12087 '-init', '-assertions'
12088 ], 'Check double negation conversion').
12089 cli_testcase(2573, [infinite,tickets], [
12090 '../prob_examples/public_examples/B/Compilers/LLParsingStagedEfficient.mch', '-t'
12091 ], 'test issue with max exception in closures solved').
12092 cli_testcase(2574, [satsolver_test,dot], [ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
12093 '../prob_examples/public_examples/SAT/KnightsKnavesSat.cnf',
12094 '-properties',
12095 '-dot', 'custom_graph', '../prob_examples/public_examples/SAT/KnightsKnavesSat_VIG.dot'
12096 ], 'test loading of cnf file').
12097 cli_testcase(2575, [b_test], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
12098 '-evalt', '{11}?+22 = 33',
12099 '-evalt', 'r = rec(a:{11},b:{2}) & r\'a?+22=33'
12100 ], 'test new ? syntax for MU').
12101 cli_testcase(2576, [b_test], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
12102 '-expcterr', 'bmachine_static_checks',
12103 '../prob_examples/public_examples/B/Tester/Warnings/TopLevelImplicationInvariant.mch', '-init'
12104 ], 'Check that top-level implication in invariant detected').
12105 cli_testcase(2577, [laws,rel_fnc,reals], ['../prob_examples/public_examples/B/Laws/FunLawsReals.mch', '-mc', '500', '-cs', '-nogoal', '-nodead', '-strict','-p', 'DOUBLE_EVALUATION', 'TRUE', '-expcterr', 'model_check_incomplete'], 'Use model checking to check a variety of laws on functions over infinite REAL base domain.'). % see test 1641
12106 cli_testcase(2578, [laws,bmc,reals], [
12107 '../prob_examples/public_examples/B/Laws/RealLaws.mch',
12108 '-bmc', 2], 'BMC: Various arithmetic laws for Reals.'). % crashes on 4.10.2-beta
12109 cli_testcase(2579, [b_test,recursion,infinite,json_trace_replay], [
12110 '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
12111 '../prob_examples/examples/B/SupervisoryControl/fandb/fandb_unicode.mch', '-mc', 100,
12112 '-trace_replay', 'json', '../prob_examples/examples/B/SupervisoryControl/fandb/fandb_unicode.prob2trace',
12113 '-assertions'
12114 ], 'Test supervisory control example which used to take very long').
12115 cli_testcase(2580, [b_test,recursion,json_trace_replayinfinite,json_trace_replay], [
12116 '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
12117 '../prob_examples/examples/B/SupervisoryControl/fandb/fandbTrain_optimized2.mch',
12118 '-trace_replay', 'json', '../prob_examples/examples/B/SupervisoryControl/fandb/fandbTrain_optimized2.prob2trace',
12119 '-assertions'
12120 ], 'Test supervisory control example which used to take very long').
12121 cli_testcase(2581, [reals], [
12122 '-evalt', '2.4 < x & x < 2.6 & -10.0 < y & y < 10.0 & y = RCOS(x)', % https://github.com/danbryce/dreal/blob/master/src/tests/nra/01.smt2
12123 '-evalf', '0.5 < x & x < 1.0 & 0.5 < y & y < 1.0 & y=RSIN(x) & x = RTAN(y)', % https://github.com/danbryce/dreal/blob/master/src/tests/nra/02.smt2
12124 '-evalf', 'RABS(x) < 0.0 & -15.0 <= x & x <= 15.0' % abs_2.smt2
12125 ], 'tests from dReal SMT solver').
12126 cli_testcase(2582, [cache], ['../prob_examples/public_examples/B/FeatureChecks/Cache/PREFS/InvViolationWithLargeMAXINT.mch',
12127 '-p', 'MAXINT', 10, '-clear_cache', '-p', 'CACHE_OPERATIONS', 'TRUE',
12128 '-model_check', '-nodead',
12129 '-ccache', '../prob_examples/public_examples/B/FeatureChecks/Cache/PREFS/cache',
12130 '-cache_stats', '-check_cache_stats', 0, 10], % 0 reused, 10 stored transitions
12131 'Initialise cache for tests 2583 and 2584').
12132 cli_testcase(2583, [cache], ['../prob_examples/public_examples/B/FeatureChecks/Cache/PREFS/InvViolationWithLargeMAXINT.mch',
12133 '-p', 'MAXINT', 10, '-p', 'CACHE_OPERATIONS', 'TRUE',
12134 '-model_check', '-nodead',
12135 '-ccache', '../prob_examples/public_examples/B/FeatureChecks/Cache/PREFS/cache',
12136 '-cache_stats', '-check_cache_stats', 11, 0], % 10 reused, 0 stored transitions
12137 'Check reuse from test 2582').
12138 cli_testcase(2584, [cache], ['../prob_examples/public_examples/B/FeatureChecks/Cache/PREFS/InvViolationWithLargeMAXINT.mch',
12139 '-p', 'MAXINT', 20000, '-p', 'CACHE_OPERATIONS', 'TRUE',
12140 '-model_check', '-nodead', '-expcterr', 'invariant_violation',
12141 '-ccache', '../prob_examples/public_examples/B/FeatureChecks/Cache/PREFS/cache',
12142 '-cache_stats', '-check_cache_stats', 0, '*'], % 0 reused
12143 'Check no cache reuse from test 2582/2583 with different MAXINT leading to invariant violation').
12144 cli_testcase(2585, [cbc,sigma], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
12145 '-evalt', 'X=1..12 & a \\/ b = X & a /\\ b = {} & SIGMA(x).(x:a|x) = SIGMA(y).(y:b|y)',
12146 '-evalt', '{n|n>10 & (n mod 20=3 & n mod 20 = 4) & n<100} = {}'],
12147 'Check partition sum problem solved').
12148 cli_testcase(2586, [infinite], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
12149 '-evalt', '{test,lhs,rhs,res|(IF test=TRUE THEN lhs=TRUE ELSE rhs=TRUE END)<=> res=TRUE} = {(FALSE|->FALSE|->FALSE|->FALSE),(FALSE|->FALSE|->TRUE|->TRUE),(FALSE|->TRUE|->FALSE|->FALSE),(FALSE|->TRUE|->TRUE|->TRUE),(TRUE|->FALSE|->FALSE|->FALSE),(TRUE|->FALSE|->TRUE|->FALSE),(TRUE|->TRUE|->FALSE|->TRUE),(TRUE|->TRUE|->TRUE|->TRUE)}',
12150 '-evalt', 'IF x>0 THEN y=1 ELSE y=2 END & x:-10..10',
12151 %'-evalt', 'IF x>0 THEN y=1 ELSE y=2 END', % creates enum warning on SWI as y=1 tried first
12152 '-evalt', 'IF IF x>0 THEN y=1 ELSE y=2 END THEN z=1 ELSE z=2 END & y=3 & x:-10..10',
12153 %'-evalt', 'IF IF x>0 THEN y=1 ELSE y=2 END THEN z=1 ELSE z=2 END & y=3', % creates enum warning on SWI for z
12154 '-evalf', 'IF IF x>0 THEN y=1 ELSE y=2 END THEN z=1 ELSE z=2 END & y=3 & z=1',
12155 '-evalt', 'not(IF IF x>0 THEN y=1 ELSE y=2 END THEN z=1 ELSE z=2 END) & y=3 & z=1',
12156 '-evalt', '{x,y,z| x:{0,1} & y:1..3 & IF IF x>0 THEN y=1 ELSE y=2 END THEN z=1 ELSE z=2 END} = {(0|->1|->2),(0|->2|->1),(0|->3|->2),(1|->1|->1),(1|->2|->2),(1|->3|->2)}'
12157 ], 'test IF-THEN-ELSE as predicate').
12158 cli_testcase(2587, [wd], [
12159 '-evalt', ':wd IF x>0 THEN r=10/x ELSE r=0 END',
12160 '-evalf', ':wd IF x>0 THEN r=10*x ELSE r=10/x END',
12161 % '-evalt', ':wd IF IF x>0 THEN y>1 ELSE y>0 END THEN r=10/y ELSE r=0 END', % wd prover cannot extract info from disjunction
12162 %'-evalt', ':wd IF x>0 THEN y>1 ELSE y>0 END & r=10/y', % ditto
12163 '-evalt', ':wd x>0 & IF x>0 THEN y>1 ELSE y>0 END & r=10/y',
12164 '-evalt', ':wd IF x>0 THEN y>1 ELSE y>0 END & x>0 & r=10/y',
12165 '-evalt', ':wd (x<=1 => y>1) & x<=0 & r=10/y',
12166 '-evalf', ':wd (x<=1 => y>1) & x<=2 & r=10/y',
12167 '-evalt', ':wd (x>0 => y>1) & x>1 & r=10/y',
12168 '-evalt', ':wd (x>0 => y>1) & x>=1 & r=10/y',
12169 '-evalt', ':wd (x>0 => y>1) & x>=2 & r=10/y',
12170 '-evalf', ':wd (x>2 => y>1) & x>1 & r=10/y',
12171 '-evalt', ':wd S<:BOOL & (x<:S => y>1) & x<<:S & r=10/y',
12172 '-evalf', ':wd S<:BOOL & (x<<:S => y>1) & x<:S & r=10/y',
12173 '-evalt', ':wd (x/=2 => y>1) & 2/=x & r=10/y',
12174 '-evalt', ':wd (x/=2 => y>1) & (z>=0 => 2/=x) & z>0 & r=10/y',
12175 '-evalt', ':wd IF x>0 THEN y>1 ELSE y>0 END & x>1 & r=10/y',
12176 '-evalt', ':wd IF x>0 THEN y>0 ELSE y>=0 END & IF x>1 THEN r=10/y ELSE r= 0 END',
12177 '-evalf', ':wd IF x>1 THEN y>0 ELSE y>=0 END & IF x>0 THEN r=10/y ELSE r= 0 END'
12178 ], 'check wd works with IF-THEN-ELSE predicate and new improved implication triggering').
12179 cli_testcase(2588, [b_test,forall,records], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
12180 '-evalt', 'R<:struct(b:{TRUE},x:NATURAL) & !v.(rec(b:TRUE,x:v):R => v:11..12) & R /= {}',
12181 '-evalf', 'R<:struct(b:{TRUE},x:NATURAL) & !v.(rec(b:TRUE,x:v):R => v:11..12) & R /= {} & card(R)>2',
12182 '-evalt', '{R|R<:struct(b:{TRUE},x:NATURAL) & !v.(rec(b:TRUE,x:v):R => v:11..12) & R /= {}} = {{rec(b:TRUE,x:11)},{rec(b:TRUE,x:11),rec(b:TRUE,x:12)},{rec(b:TRUE,x:12)}}',
12183 '-evalt', 'R<:struct(b:{TRUE},x:NATURAL,y:NATURAL) & !(v,w).(rec(b:TRUE,x:v,y:w):R => v:11..12 & w:22..23) & R /= {} & card(R)>1',
12184 '-evalt', 'R<:struct(b:{TRUE},x:NATURAL,y:NATURAL) & !(v,w).(rec(y:w,x:v,b:TRUE):R => v:11..12 & w:22..23) & R /= {} & card(R)>3',
12185 % R<:struct(b:{TRUE},x:NATURAL,y:NATURAL) & !v.(rec(b:TRUE,x:v,y:v):R => v:11..12) & R /= {} & card(R)>1
12186 '-evalt', 'E<:POW(BOOL) & E={{}} & R<:struct(b:E,x:NATURAL) & !(v).(rec(b:{},x:v):R => v:11..12 ) & R /= {} & card(R)>1',
12187 '-evalt', 'E<:POW(BOOL) & E={{TRUE}} & R<:struct(b:E,x:NATURAL) & !(v).(rec(b:{TRUE},x:v):R => v:11..12 ) & R /= {} & card(R)>1'
12188 ], 'Test forall for set membership with a record pattern is not delaying').
12189 cli_testcase(2589, [cache], ['../prob_examples/public_examples/B/FeatureChecks/Cache/OpChange/CheckOkTrue.mch',
12190 '-execute_all',
12191 '-evalt', 'ok=TRUE',
12192 '-ccache', '../prob_examples/public_examples/B/FeatureChecks/Cache/OpChange/cache', '-clear_cache',
12193 '-cache_stats', '-check_cache_stats', 0, 1], 'Reset cache and check no reuse happens').
12194 cli_testcase(2590, [cache], ['../prob_examples/public_examples/B/FeatureChecks/Cache/OpChange/CheckOkFalse.mch',
12195 '-execute_all',
12196 '-evalt', 'ok=FALSE',
12197 '-cache', '../prob_examples/public_examples/B/FeatureChecks/Cache/OpChange/cache',
12198 '-cache_stats', '-check_cache_stats', 0, 1], 'Check no reuse happens for changed operation').
12199 cli_testcase(2591, [cache], ['../prob_examples/public_examples/B/FeatureChecks/Cache/OpChange/CheckOkFalse.mch',
12200 '-execute_all',
12201 '-evalt', 'ok=FALSE',
12202 '-cache', '../prob_examples/public_examples/B/FeatureChecks/Cache/OpChange/cache',
12203 '-cache_stats', '-check_cache_stats', 1, 0], 'Check reuse now happens').
12204 cli_testcase(2592, [disprover,wd_prover], [
12205 '../prob_examples/public_examples/EventBPrologPackages/VisB/Bank/Bank_mch.probpo',
12206 '-check_disprover_result', '>7',0,'<6',
12207 '-timeout', 200 % timeout per PO
12208 ],'WD proof obligation thm4/THM proved by wd_prover'). % requires typing information in hyps
12209 cli_testcase(2593, [smt_solver_integration], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
12210 '-evalt', ':z3-double-check (7 / -2) = x',
12211 '-evalt', ':z3-double-check FDIV(7,-2) = x',
12212 '-evalt', ':z3-double-check (7.0 / -2.0) = x'
12213 ],'Check proper processing of division by Z3').
12214 cli_testcase(2594, [ltl], ['../prob_examples/public_examples/B/LTL/Tests/LtlcLoopSearch.mch',
12215 '-ltlformulaf', 'F G {s /= 1}'
12216 ],'Check loop search issue in LTL model checker fixed').
12217 % would either report Verification of LTL formula counter example yielded unexpected result: false
12218 % or report no loop found in SCC, this is a bug in the model checker! and terminate
12219 cli_testcase(2595, [ltl,fairness], ['../prob_examples/public_examples/B/LTL/Tests/LtlcFairLoopSearch.mch',
12220 '-ltlformulaf', 'SF(a) & SF(b) & SF(c) => F {s = 3}',
12221 '-ltlformulaf', 'WF(c) & SF(a) & SF(b) => F {s=3}',
12222 '-ltlformulaf', 'SEF => F {s = 3}'
12223 ],'Check loop search issue in LTL model checker fixed').
12224 % would report no loop found in SCC, this is a bug in the model checker! and terminate
12225 cli_testcase(2596, [ltl], ['../prob_examples/public_examples/B/LTL/Tests/LtlcLongCounterexample.mch',
12226 '-ltlformulaf', '{x >= 0} U {x < 0}', '-silent'
12227 ],'Check stack overflow issue in LTL model checker fixed'). % used to produce segmentation fault 11
12228 % test takes 123 seconds walltime; hence it is marked as skip
12229 cli_testcase(2597, [ltl,fairness], ['../prob_examples/public_examples/B/LTL/Tests/LtlcWeakFairnessDisjunction.mch',
12230 '-ltlformulaf', '(WF(a) or WF(b)) & SF(c) => F {s = 9}'
12231 ],'Check stack overflow issue in LTL model checker fixed'). % used to produce no loop found in SCC, this is a bug in the model checker!
12232 cli_testcase(2598, [ltl,fairness], ['../prob_examples/public_examples/B/LTL/Tests/LtlcLoopClosingTransition.mch',
12233 '-ltlformulaf', 'SF(c) & SF(d) => F {s = 9}'
12234 ],'Check correct closing loop respecting fairness found').
12235 cli_testcase(2599, [ltl,fairness], ['../prob_examples/public_examples/B/LTL/Tests/LtlcDeadlockNext.mch',
12236 '-ltlformulaf', 'F({s = 1} & X {s = 1})'
12237 ],'Check deadlock next issue solved'). % old probcli would sometimes report true
12238 cli_testcase(2600, [ltl,fairness], ['../prob_examples/public_examples/B/LTL/Tests/LtlcRingSF.mch',
12239 '-ltlformulaf', 'SF(c) => F {s = n}'
12240 ],'Check quadratic performance issue solved'). % did give segmentation fault
12241 cli_testcase(2601, [ltl,fairness], ['../prob_examples/public_examples/B/LTL/Tests/LtlcRingWF.mch',
12242 '-ltlformulaf', 'WF(a) => F {s = n}'
12243 ],'Check quadratic performance issue solved'). % did give segmentation fault
12244 cli_testcase(2602, [satsolver_test], [ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
12245 '-evalt', ':sat-double-check S<:BOOL & card(S) > -2', % used to produce ! Uncaught Exception in REPL: system_error('model has fewer variables than the list to assign')
12246 '-evalt', ':sat-double-check (x=TRUE or y=TRUE) & x = bool(n>0) & n = 1', % ditto
12247 '-evalt', ':sat-free-double-check (x=TRUE or y=TRUE) & x = bool(n>0) & n = 1' % used to fail
12248 ],'Check b2sat issues solved').
12249 cli_testcase(2603, [satsolver_test], [ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
12250 % cardinality constraints with bounds <= 0 or larger than the number of candidates
12251 '-evalt', ':sat-double-check f:1..5-->BOOL & card({i|i:1..5 & f(i)=TRUE}) >= 0 & f(1)=FALSE',
12252 '-evalt', ':sat-double-check f:1..5-->BOOL & card({i|i:1..5 & f(i)=TRUE}) >= -1 & !i.(i:1..5 => f(i)=FALSE)',
12253 '-evalt', ':sat-double-check f:1..5-->BOOL & card({i|i:1..5 & f(i)=TRUE}) > -3 & !i.(i:1..5 => f(i)=FALSE)',
12254 '-evalf', ':sat-double-check f:1..5-->BOOL & card({i|i:1..5 & f(i)=TRUE}) = -1',
12255 '-evalf', ':sat-double-check f:1..5-->BOOL & card({i|i:1..5 & f(i)=TRUE}) <= -1',
12256 '-evalf', ':sat-double-check f:1..5-->BOOL & card({i|i:1..5 & f(i)=TRUE}) < 0',
12257 '-evalf', ':sat-double-check f:1..5-->BOOL & card({i|i:1..5 & f(i)=TRUE}) >= 6',
12258 '-evalt', ':sat-double-check f:1..5-->BOOL & card({i|i:1..5 & f(i)=TRUE}) <= 5 & !i.(i:1..5 => f(i)=TRUE)',
12259 '-evalt', ':sat-double-check f:1..8-->BOOL & card({i|i:1..8 & f(i)=TRUE}) = 5 & f(1)=FALSE & f(2)=FALSE & f(3)=FALSE',
12260 '-evalf', ':sat-double-check f:1..8-->BOOL & card({i|i:1..8 & f(i)=TRUE}) = 5 & f(1)=FALSE & f(2)=FALSE & f(3)=FALSE & f(4)=FALSE',
12261 '-evalf', ':sat-double-check f:1..8-->BOOL & card({i|i:1..8 & f(i)=TRUE}) >= 1 & !i.(i:1..8 => f(i)=FALSE)',
12262 % SAT variables bound by ProB before the CNF is sent to the solver
12263 '-evalt', ':sat-double-check (x=TRUE or y=TRUE) & (x=TRUE or z=TRUE) & x = bool(n>0) & n = 1',
12264 '-evalt', ':sat-double-check (x=FALSE or y=TRUE) & y = bool(n>0) & n = 1 & x=TRUE',
12265 '-evalf', ':sat-double-check (x=FALSE or y=TRUE) & y = bool(n>0) & n = 0 & x=TRUE',
12266 % disjunctions which cannot be fully converted to CNF
12267 '-evalt', ':sat-double-check x:BOOL & (x=TRUE or n>2) & n=1',
12268 '-evalf', ':sat-double-check x:BOOL & (x=TRUE or n>2) & n=1 & x=FALSE',
12269 % equalities and inequalities between boolean variables
12270 '-evalt', ':sat-double-check x:BOOL & x /= y & y /= z',
12271 '-evalf', ':sat-double-check x:BOOL & x /= y & y /= z & x /= z',
12272 '-evalf', ':sat-double-check not(x=TRUE <=> y=TRUE) & x=y',
12273 '-evalt', ':sat-double-check not(x=TRUE <=> y=TRUE) & x=TRUE',
12274 '-evalt', ':sat-double-check (x=TRUE => y=TRUE) & (y=TRUE => z=TRUE) & (z=TRUE => x=FALSE) & x=FALSE',
12275 '-evalf', ':sat-double-check (x=TRUE => y=TRUE) & (y=TRUE => z=TRUE) & (z=TRUE => x=FALSE) & x=TRUE',
12276 '-evalt', ':sat-double-check not(x=TRUE & y=TRUE) & not(x=FALSE & y=FALSE)',
12277 '-evalf', ':sat-double-check not(x=TRUE or y=TRUE) & (x=TRUE or z=TRUE) & not(z=TRUE)',
12278 '-evalt', ':sat-double-check IF x=TRUE THEN y=TRUE ELSE y=FALSE END & y=FALSE',
12279 '-evalf', ':sat-double-check IF x=TRUE THEN y=TRUE ELSE y=FALSE END & x=TRUE & y=FALSE',
12280 % quantifiers and small pigeonhole problems
12281 '-evalf', ':sat-double-check f:1..5-->BOOL & !i.(i:1..5 => f(i)=TRUE) & #j.(j:1..5 & f(j)=FALSE)',
12282 '-evalt', ':sat-double-check p1:1..2-->BOOL & p2:1..2-->BOOL & !i.(i:1..2 => p1(i)=TRUE or p2(i)=TRUE) & !(i,j).(i:1..2 & j:1..2 & i<j => (p1(i)=FALSE or p1(j)=FALSE) & (p2(i)=FALSE or p2(j)=FALSE))',
12283 '-evalf', ':sat-double-check p1:1..3-->BOOL & p2:1..3-->BOOL & !i.(i:1..3 => p1(i)=TRUE or p2(i)=TRUE) & !(i,j).(i:1..3 & j:1..3 & i<j => (p1(i)=FALSE or p1(j)=FALSE) & (p2(i)=FALSE or p2(j)=FALSE))'
12284 ],'Check b2sat cardinality bounds, propagation and partial conversion').
12285 cli_testcase(2604, [cvc5], [ '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
12286 '-evalt', ':cvc5 x = 1', % see test 1505
12287 '-evalf', ':cvc5 x = 1 & x > 2',
12288 '-evalt', ':cvc5 r:struct(f1:11..20,f2:12..30) & r\'f1+10 = r\'f2', % see test 1506
12289 '-evalf', ':cvc5 r:struct(f1:11..20,f2:12..20) & r\'f1+10 = r\'f2',
12290 '-evalt', ':cvc5 r:struct(f1:11..20,f2:12..30) & r\'f1+10 = r\'f2 & s:struct(f1:15..20,f2:1..100) & s=r',
12291 '-evalt', ':cvc5 v1:struct(lderb:{TRUE},mspue:{FALSE},fhhxr:{TRUE})',
12292 '-evalf', ':cvc x>0 & x+1 <= p & x=p', % test 1508
12293 '-evalf', ':cvc x>0 & x+2 <= p & x=p',
12294 '-evalf', ':cvc not(Pace_Int - sp >= 0) & (sp > 0 & sp < Pace_Int)', % taken from pacemaker disprover testcase
12295 '-evalt', ':cvc5 {x} <: {999}', % from test 1509
12296 '-evalt', ':cvc5 {x} <: {999,1000} & x > 999',
12297 '-evalt', ':cvc5 x={(1,2),(3,4),(4,5),(6,7),(8,9)} & y|->v : x & y|->w : x'
12298 ], 'some constraints that should be solved by cvc5').
12299 cli_testcase(2605, [clingo], [
12300 '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
12301 '-expcterr', b2asp,
12302 '-evalu', ':clingo y:1..3 & not(#x.(x:1..3 & x>y))' % Existential quantifier in negative or mixed context not yet supported
12303 ], 'check b2asp does not give wrong answer').
12304 cli_testcase(2606, [clingo], [
12305 '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
12306 % sequence and total function checks inside forall with a local variable (j) which is not used by the relation:
12307 % the clingo predicates must get the same filtered local variables in all clauses
12308 '-evalf', ':clingo-double-check s = {1|->TRUE, 3|->FALSE} & !(i,j).(i:1..3 & j:1..2 => ((1..i) <| s) : seq(BOOL))',
12309 '-evalt', ':clingo-double-check s = {1|->TRUE, 2|->FALSE} & !(i,j).(i:1..3 & j:1..2 => ((1..i) <| s) : seq(BOOL))',
12310 '-evalf', ':clingo-double-check f = {1|->TRUE, 3|->FALSE} & !(i,j).(i:1..3 & j:1..2 => ((1..i) <| f) : 1..i --> BOOL)',
12311 '-evalt', ':clingo-double-check f = {1|->TRUE, 2|->TRUE, 3|->FALSE} & !(i,j).(i:1..3 & j:1..2 => ((1..i) <| f) : 1..i --> BOOL)'
12312 ], 'Check b2asp translation of seq and total functions inside forall').
12313 cli_testcase(2607, [kodkod], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE', '-p', 'KODKOD_RAISE_WARNINGS', 'TRUE',
12314 % integers used as set elements must have an integer atom, otherwise Kodkod's cast yields the empty set
12315 '-evalf', ':kodkod-double-check 3 : {0,1}', % was TRUE
12316 '-evalf', ':kodkod-double-check 5 : {0,1}',
12317 '-evalf', ':kodkod-double-check -1 : {0,1}',
12318 '-evalt', ':kodkod-double-check 1 : {0,1}',
12319 '-evalt', ':kodkod-double-check 3 /: {0,1}', % was FALSE
12320 '-evalf', ':kodkod-double-check {3} <: {0,1}',
12321 '-evalt', ':kodkod-double-check {1} <: {0,1}',
12322 '-evalf', ':kodkod-double-check s<:0..1 & 3:s',
12323 '-evalt', ':kodkod-double-check s<:0..1 & 3/:s',
12324 '-evalf', ':kodkod-double-check r <: (0..1)*(0..1) & (0,3) : r',
12325 '-evalt', ':kodkod-double-check r <: (0..1)*(0..1) & (0,3) /: r',
12326 '-evalt', ':kodkod-double-check r <: (0..1)*(0..1) & (0,1) : r',
12327 '-evalf', ':kodkod-double-check b={1} & 3:b', % example from email Kodkod7_QueensBug vom 23.6.2017
12328 '-evalt', ':kodkod-double-check b <: {1} & b /= {} & 3 /: b' % ditto
12329 ], 'Check Kodkod translation of integers outside of the integer atoms used in sets').
12330 cli_testcase(2608, [kodkod], [ '-p', 'KODKOD_RAISE_WARNINGS', 'TRUE',
12331 % floored division was translated as truncated division
12332 '-evalt', ':kodkod-double-check x:-10..10 & FDIV(x,2) = -4 & x>-8',
12333 '-evalf', ':kodkod-double-check x:-10..10 & FDIV(x,2) = 0 & x<0',
12334 '-evalt', ':kodkod-double-check x:-10..10 & y:-3..3 & y/=0 & FDIV(x,y) = 3 & x+y = -9',
12335 '-evalf', ':kodkod-double-check x:-10..10 & y:-4..4 & y/=0 & r = x - FDIV(x,y)*y & not((y>0 & r>=0 & r<y) or (y<0 & r<=0 & r>y))'
12336 ], 'Check Kodkod translation of floored division for negative numbers').
12337 cli_testcase(2609, [kodkod], [ '-p', 'KODKOD_RAISE_WARNINGS', 'TRUE',
12338 % Kodkod could choose integer values outside of the intervals of the predicate analysis
12339 '-evalt', ':kodkod-double-check 2000 + x = y & 3000 + y : {10000,10001} & x = 5000', % gave x=6204 & y=8204
12340 '-evalf', ':kodkod-double-check 2000 + x = y & 3000 + y : {10000,10001} & x /= 5000 & x /= 5001',
12341 '-evalf', ':kodkod-double-check x + 3000 = y & y : 10000..10003 & x+y = 17001'
12342 ], 'Check Kodkod restricts integers to the intervals computed by the predicate analysis').
12343 cli_testcase(2610, [kodkod], [ '-p', 'KODKOD_RAISE_WARNINGS', 'TRUE',
12344 % the interval of a division was not recalculated, the results did not have integer atoms
12345 '-evalf', ':kodkod-double-check x:0..100 & y:1..100 & x / y : {0,1} & x > 3*y', % gave x=97 & y=10
12346 '-evalf', ':kodkod-double-check x:0..100 & y:1..100 & x / y : {0,1} & x = 10 & y = 2',
12347 '-evalt', ':kodkod-double-check x:0..100 & y:1..100 & x / y : {0,1} & x > y',
12348 '-evalf', ':kodkod-double-check x:-100..100 & y:1..100 & x / y : {-1,0,1} & x < -3*y',
12349 '-evalf', ':kodkod-double-check x:0..100 & y:-100..-1 & x / y : {0,-1} & x > -3*y'
12350 ], 'Check Kodkod translation of division used as set element').
12351 cli_testcase(2611, [kodkod], [ '-p', 'KODKOD_RAISE_WARNINGS', 'TRUE',
12352 % check Kodkod solutions with ProB's default solver
12353 '-evalt', ':kodkod-double-check x:0..100 & y:1..100 & x / y : {0,1} & x > y',
12354 '-evalf', ':kodkod-double-check x:0..100 & y:1..100 & x / y : {0,1} & x > 3*y',
12355 '-evalt', ':kodkod-double-check 2000 + x = y & 3000 + y : {10000,10001}',
12356 '-evalt', ':kodkod-double-check x:-10..10 & y:-3..3 & y/=0 & FDIV(x,y) = 3 & x+y = -9',
12357 '-evalt', ':kodkod-double-check r <: (0..3)*(0..3) & (1,2) : r & r~ = r & dom(r) = {1,2}',
12358 '-evalf', ':kodkod-double-check r <: (0..3)*(0..3) & (1,2) : r & r~ = r & dom(r) = {1}'
12359 ], 'Check :kodkod-double-check command').
12360 cli_testcase(2612, [kodkod], [ '-p', 'KODKOD_RAISE_WARNINGS', 'TRUE',
12361 % KODKOD_RAISE_WARNINGS ensures that a failed translation of card makes the test fail
12362 '-evalt', ':kodkod-double-check s <: 0..5 & card(s) = 3',
12363 '-evalf', ':kodkod-double-check s <: 0..5 & card(s) = 3 & 2:s & s <: 1..2',
12364 '-evalt', ':kodkod-double-check s <: -2..5 & card(s) = 8',
12365 '-evalt', ':kodkod-double-check r <: (0..3)*(0..3) & card(r) = 3 & (1,2):r',
12366 '-evalt', ':kodkod-double-check r <: (0..3)*(0..3) & card(dom(r)) = 3 & card(r) = 5',
12367 '-evalt', ':kodkod-double-check s <: 0..30 & card(s) = 31 & x:s & y:s & x*y = 900',
12368 '-evalt', ':kodkod-double-check f : 0..4 --> 0..4 & card(ran(f)) = 2 & card(f~[{1}]) = 3'
12369 ], 'Check that Kodkod can translate the cardinality of integer sets and relations').
12370 cli_testcase(2613, [kodkod], [ '-p', 'KODKOD_RAISE_WARNINGS', 'TRUE',
12371 % SIGMA: the sum 67 used to overflow to 3 with 7 bits
12372 '-evalf', ':kodkod-double-check s <: 0..20 & card(s) = 4 & SIGMA(z).(z:s|z) = 3',
12373 '-evalt', ':kodkod-double-check s <: 0..20 & SIGMA(z).(z:s|z) = 5 & 2:s',
12374 % empty intervals: x..y = {} does not imply x <= y
12375 '-evalt', ':kodkod-double-check z:2..3 & y:0..1 & s <: -3..0 & (z..y) = s',
12376 '-evalt', ':kodkod-double-check z:-2..-1 & s <: 0..5 & s <: (1..z)',
12377 '-evalf', ':kodkod-double-check z:-2..-1 & s <: 0..5 & s <: (1..z) & 0:s',
12378 % subset with an inconsistent element analysis of the left-hand side
12379 '-evalf', ':kodkod-double-check z:-2..-1 & s <: 0..5 & t <: 0..5 & t /\\ s <: 1..z & 0:s & 0:t',
12380 '-evalt', ':kodkod-double-check z:-2..-1 & s <: 0..5 & t <: 0..5 & not(t /\\ s <: 1..z)',
12381 % only negative integer atoms: probkodkod requires 0 to be an atom
12382 '-evalt', ':kodkod-double-check s <: -3..-1 & card(s) = 2'
12383 ], 'Check Kodkod bugs found by fuzzing with :kodkod-double-check').
12384 cli_testcase(2614, [kodkod], [
12385 % PI is not translated, but the predicate analysis used to fail with a warning
12386 '-evalt', ':kodkod s <: 1..4 & x:0..3 & PI(v).(v:s|v) = 6 & x+1:s',
12387 '-evalf', ':kodkod s <: 1..4 & x:0..3 & PI(v).(v:s|v) = 7 & x+1:s',
12388 % a set extension with an element without analysis information (min) used to be found inconsistent
12389 '-evalt', ':kodkod y:-1..-1 & w:0..3 & t <: 0..5 & p:1..3 & w : {min(t \\/ {p}),y}',
12390 '-expcterr', kodkod_fail % PI and min cannot be translated
12391 ], 'Check Kodkod predicate analysis for PI and min').
12392 cli_testcase(2615, [clingo], [
12393 '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
12394 % clingo does not allow comparing two aggregates, e.g., #count{..} = #count{..}
12395 '-evalt', ':clingo-double-check s <: 1..3 & t <: 1..4 & card(s) = card(t) & 2:s',
12396 '-evalf', ':clingo-double-check s <: 1..3 & t <: 1..4 & card(s) = card(t) & 3:t & s={}',
12397 '-evalt', ':clingo-double-check s <: 1..3 & t <: 1..4 & card(s) /= card(t)',
12398 '-evalt', ':clingo-double-check s <: 1..3 & t <: 1..4 & not(card(s) < card(t))',
12399 '-evalt', ':clingo-double-check s <: 1..3 & t <: 1..4 & max(s) > min(t) & s/={} & t/={}',
12400 '-evalf', ':clingo-double-check s <: 1..3 & t <: 4..5 & max(s) > min(t) & s/={} & t/={}'
12401 ], 'check b2asp comparisons of two set aggregates (found by fuzzing)').
12402 cli_testcase(2616, [smt], ['../prob_examples/public_examples/SMT/Tickets/nary_operators.smt2'
12403 ], 'check SMT-LIB left-associative - and /, pairwise distinct and real division of integers').
12404 cli_testcase(2617, [smt], ['../prob_examples/public_examples/SMT/Tickets/dropped_assertion.smt2',
12405 '-expcterr', 'smtlib2_translation', '-expcterr', 'smtlib2_interpreter',
12406 '-expcterr', 'check_sat_incomplete' % str.len not supported; check-sat must not report sat
12407 ], 'check that SMT-LIB check-sat does not report sat when an assertion could not be translated').
12408 cli_testcase(2618, [smt], ['../prob_examples/public_examples/SMT/Tickets/div_mod.smt2'
12409 ], 'check SMT-LIB Euclidean div and mod, and get-value after several check-sat commands').
12410 cli_testcase(2619, [smt], ['../prob_examples/public_examples/SMT/Tickets/bitvectors.smt2'
12411 ], 'check SMT-LIB bit-vector arithmetic, comparisons, shifts, extract/extend/concat and #x literals').
12412 cli_testcase(2620, [smt], ['../prob_examples/public_examples/SMT/Tickets/to_int.smt2'
12413 ], 'check SMT-LIB to_int, is_int and to_real').
12414 cli_testcase(2621, [kodkod], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE', '-p', 'KODKOD_RAISE_WARNINGS', 'TRUE',
12415 '../prob_examples/public_examples/B/Tickets/Kodkod7_QueensBug/Queen_BoardVersion.mch',
12416 '-init', '-properties', '-assertions'
12417 ], 'Check issue with kodkod integers solved'). % see also test 2607
12418 cli_testcase(2622, [reals], [
12419 '-evalf', '1.0 < r & r < 2.0 & real(floor(r))=r',
12420 '-evalt', '1.0 < r & r <= 2.0 & real(floor(r))=r',
12421 '-evalf', 'x = floor(r) & real(x) > r & r>0.0 & r<100.0' % without explicit bounds it is currently unknown
12422 ], 'tests with real/integer conversion').
12423 cli_testcase(2623, [wd,wd_prover], [
12424 '-evalt', ':wd g : -1..2 --> -1..2 & res = INTER(i).(i:dom(g)|{i,i+1})',
12425 '-evalt', ':wd res = INTER(i).(i:-1..2|{i,i+1})',
12426 '-evalt', ':wd s <: 1..3 & s /= {} & res = inter({y|#(a,b).(a:s & b:1..2 & y={a,b})})',
12427 '-evalt', ':wd s <: 1..3 & res = inter({x|x <: s})',
12428 '-evalt', ':wd res = inter({y|#a.(a:1..3 & y <: {a,a+1})})', % y <: E with E mentioning other bound variables
12429 '-evalt', ':wd res = inter({y|#a.(a:1..3 & y <<: {a,a+1})})',
12430 '-evalt', ':wd s <: 1..3 & s /= {} & res = inter({y|y <<: s})',
12431 '-evalt', ':wd x:1..3 & res = inter({y|#a.(a > x & y={a})})',
12432 '-evalt', ':wd x:1..3 & res = inter({y|#a.(a <= x & y={a})})',
12433 '-evalt', ':wd x:1..3 & res = inter({y|#a.(a /= x & y={a})})',
12434 '-evalt', ':wd x:BOOL & res = inter({y|#a.(a /= x & y={a})})',
12435 '-evalt', ':wd s <: 1..3 & s /= {} & res = inter({y|#(a,b).(a:s & b:a..a & y={b})})', % b:S with S mentioning a
12436 '-evalt', ':wd a:1..3 & s <: 1..3 & s /= {} & res = inter({y|#a.(a:s & y={a})})', % bound a clashes with outer a
12437 '-evalf', ':wd s <: 1..3 & res = INTER(i).(i:s|{i})', % s could be empty
12438 '-evalf', ':wd s <: 1..3 & res = INTER(i).(i:1..3 & i:s|{i})', % ditto
12439 '-evalf', ':wd s <: 1..3 & res = inter({y|#a.(a:s & y <: {a})})', % ditto
12440 '-evalf', ':wd s <: 1..3 & res = inter({y|y <<: s})', % s could be empty
12441 '-evalf', ':wd x:1..3 & res = inter({y|#a.(a > x & a < x & y={a})})',
12442 '-evalf', ':wd a:1..3 & res = inter({y|#(a,b).(a:NATURAL & b:a..3 & y={b})})', % outer a<=3 must not be used for bound a
12443 '-evalf', ':wd s <: 1..3 & s /= {} & res = inter({y|#a.(a:s & y={a} & y={1})})', % empty if s={2}
12444 '-evalt', ':prove {x|x>1} /= {}',
12445 '-evalu', ':prove {x|x>1 & x<1} /= {}',
12446 '-evalu', ':prove {x|x>y+0 & y>x} /= {}',
12447 '-evalt', ':prove x>0 => {v,w| v:1..x & w>v} /= {}',
12448 '-evalu', ':prove x>0 => {v,w| v:2..x & w>v} /= {}',
12449 %'-evalt', ':prove x>1 => {v,w | v:1..x & w:0..v} /= {}', % does not work (yet)
12450 '-evalt', ':prove x>0 => {v,w | v:1..x & w:1..x} /= {}',
12451 '-evalu', ':prove x>1 => {v,w | v:1..x & w:2..v} /= {}',
12452 '-evalt', ':prove x>0 & y>0 => {x,w | x:1..y & w:1..y} /= {}',
12453 '-evalu', ':prove x>0 & y>0 => {x,w | x:1..x & w:1..y} /= {}'
12454 ], 'check WD prover can prove non-emptiness of set comprehensions').
12455 cli_testcase(2624, [visb], [
12456 'tests/visb/VisBConstantId.mch', '-init',
12457 '-visb', '', 'tests/visb/VisBConstantId.html'
12458 ], 'check VisB update id given by constant is evaluated in constants state (title child created)').
12459 cli_testcase(2625, [visb], [
12460 'tests/visb/svg_path/machine/VisBSvgPath.mch', '-init',
12461 '-visb', 'tests/visb/svg_path/json/no_svg_attr.json', 'tests/visb/svg_path/no_svg_attr.html'
12462 ], 'check relative VISB_SVG_FILE is resolved relative to machine when JSON file has no svg attribute').
12463 cli_testcase(2626, [visb], [
12464 'tests/visb/svg_path/machine/VisBSvgPath.mch', '-init',
12465 '-visb', 'tests/visb/svg_path/json/override_svg_attr.json', 'tests/visb/svg_path/override_svg_attr.html'
12466 ], 'check relative VISB_SVG_FILE is resolved relative to machine when overriding svg attribute of JSON file').
12467 cli_testcase(2627, [visb], [
12468 'tests/visb/VisBHoverVisibility.mch', '-init', '-animate', 2,
12469 '-visb_with_vars', '', 'tests/visb/VisBHoverVisibility.html'
12470 ], 'check VisB export with hover making another object visible').
12471 cli_testcase(2628, [visb], [
12472 'tests/visb/VisBViewBoxRecord.mch', '-init',
12473 '-visb', '', 'tests/visb/VisBViewBoxRecord.html'
12474 ], 'check VISB_SVG_BOX with viewBox record').
12475 cli_testcase(2629, [visb], [
12476 'tests/visb/VisBViewBoxWidthError.mch', '-init',
12477 '-visb', '', 'tests/visb/VisBViewBoxWidthError.html',
12478 '-expcterr', visb_visualiser
12479 ], 'check VISB_SVG_BOX with illegal viewBox width').
12480 cli_testcase(2630, [visb], [
12481 'tests/visb/VisBViewBoxMinxError.mch', '-init',
12482 '-visb', '', 'tests/visb/VisBViewBoxMinxError.html',
12483 '-expcterr', visb_visualiser
12484 ], 'check VISB_SVG_BOX with illegal viewBox minx').
12485 cli_testcase(2631, [visb], [
12486 'tests/visb/VisBViewBoxIllegalFields.mch', '-init',
12487 '-visb', '', 'tests/visb/VisBViewBoxIllegalFields.html',
12488 '-expcterr', visb_visualiser
12489 ], 'check VISB_SVG_BOX with illegal viewBox record fields').
12490 cli_testcase(2632, [visb], [
12491 'tests/visb/VisBNoSvg.mch', '-init', '-animate', 3,
12492 '-visb_with_vars', '', 'tests/visb/VisBNoSvg.html',
12493 '-expcterr', visb_visualiser % warning that no JSON file and no VISB_SVG_OBJECTS exist
12494 ], 'check VisB HTML export of trace without SVG (footer must not require SVG)').
12495 cli_testcase(2633, [visb], [
12496 'tests/visb/VisBExecKindPred.mch', '-init',
12497 '-visb_click', heur, '-visb_click', heur, '-visb_click', minout, '-visb_click', open,
12498 '-visb_click', fallback, '-visb_click', result, '-visb_click', after,
12499 '-visb', '', 'tests/visb/VisBExecKindPred.html',
12500 '-his', 'tests/visb/VisBExecKindPred_his.txt'
12501 ], 'check VisB execution kinds heuristic, min_out_degree, explore_open and random with predicates').
12502 cli_testcase(2634, [external,regex], [
12503 'tests/regex/TestLibraryRegexBorderCases.mch', '-assertions', '-strict', '-force_no_silent'
12504 ], 'check border cases and problematic cases of regular expressions in LibraryRegex.def').
12505 cli_testcase(2635, [cache], ['tests/cache/v1/SeesCtr.mch', '-mc', 100, '-nodead', '-check_complete', '-cc', 37, 61,
12506 '-ccache', 'tests/cache/cache/', '-clear_cache',
12507 '-cache_stats', '-check_cache_stats', 0, 10], 'Reset cache for SEEN machine Ctr (operation Ctr.inc in dummy main machine)'). % 0 reused, 10 stored (5 step from SeesCtr.mch and 5 inc from Ctr.mch)
12508 cli_testcase(2636, [cache], ['tests/cache/v1/SeesCtr.mch', '-mc', 100, '-nodead', '-check_complete', '-cc', 37, 61,
12509 '-ccache', 'tests/cache/cache/',
12510 '-cache_stats', '-check_cache_stats', 12, 0], 'Check reuse of prefixed operation Ctr.inc does not lose transitions').
12511 % previously an empty list of transitions was stored for Ctr.inc and only 6 states were found
12512 cli_testcase(2637, [cache], ['tests/cache/v2/SeesCtr.mch', '-mc', 100, '-nodead', '-check_complete', '-cc', 37, 91,
12513 '-ccache', 'tests/cache/cache/',
12514 '-cache_stats', '-check_cache_stats', 12, 5], 'Add operation dec to Ctr: refreshes operations index file (setup for test 2638)').
12515 cli_testcase(2638, [cache], ['tests/cache/v2/SeesCtr.mch', '-mc', 100, '-nodead', '-check_complete', '-cc', 37, 91,
12516 '-ccache', 'tests/cache/cache/',
12517 '-cache_stats', '-check_cache_stats', 18, 0], 'Check that new operation dec stored in test 2637 is reused (setup for test 2639)').
12518 % previously test 2637 did not add operation/2 for dec to the fully loaded .probops file, so its transitions were ignored and stored again
12519 cli_testcase(2639, [cache], ['tests/cache/v2/SeesCtr.mch', '-mc', 100, '-nodead', '-check_complete', '-cc', 37, 91,
12520 '-ccache', 'tests/cache/cache/',
12521 '-cache_stats', '-check_cache_stats', 18, 0], 'Check refreshing index file in test 2637 kept transitions of prefixed operation Ctr.inc').
12522 % previously the refresh dropped the stored transitions of Ctr.inc from the .probops file
12523 cli_testcase(2640, [cache], ['tests/cache/acst_v1/MainAbsCst.mch', '-init',
12524 '-ccache', 'tests/cache/cache/', '-clear_cache',
12525 '-evalt', 'mc = 11 & ac = 1'], 'Reset cache and store constants of main machine including machine with only ABSTRACT_CONSTANTS').
12526 cli_testcase(2641, [cache], ['tests/cache/acst_v1/MainAbsCst.mch', '-init',
12527 '-ccache', 'tests/cache/cache/',
12528 '-evalt', 'mc = 11 & ac = 1'], 'Check constants are reused (setup for test 2642)').
12529 cli_testcase(2642, [cache], ['tests/cache/acst_v2/MainAbsCst.mch', '-init',
12530 '-ccache', 'tests/cache/cache/',
12531 '-evalt', 'mc = 12 & ac = 2'], 'Check changed PROPERTIES of included machine with only ABSTRACT_CONSTANTS prevent reuse of constants').
12532 % previously such machines were ignored in the constants signature and the stale value mc=11 was reused
12533 cli_testcase(2643, [cache], ['tests/cache/csthash/TwoLargeCsts.mch', '-execute_all_inits',
12534 '-ccache', 'tests/cache/cache/', '-clear_cache',
12535 '-cache_stats', '-check_cache_stats', 0, 2], 'Check pre-computed hashes of large constants are not reused for initial states with other constant values').
12536 % previously the hash of c=1..100 was used for c=1..200 and the second transition was not stored (deemed already in cache)
12537 cli_testcase(2644, [cache], ['tests/cache/csthash/TwoLargeCsts.mch', '-execute_all_inits',
12538 '-ccache', 'tests/cache/cache/',
12539 '-cache_stats', '-check_cache_stats', 2, 0], 'Check both constant solutions saved by test 2643 are reused').
12540 % previously each execution overwrote the .probcst file, so only the last constant solution was stored
12541 cli_testcase(2645, [cache], ['tests/cache/csthash/OneLargeCst.mch', '-init', '-execute', 1,
12542 '-ccache', 'tests/cache/cache/', '-clear_cache',
12543 '-cache_stats', '-check_cache_stats', 0, 1], 'Check -execute from initialised state can store transitions in cache').
12544 % previously this raised type_error(list,expanded_const_and_vars(...)) in add_new_transition_to_cache_from_expanded_state
12545 cli_testcase(2646, [cache], ['tests/cache/csthash/OneLargeCst.mch', '-init', '-execute', 1,
12546 '-ccache', 'tests/cache/cache/',
12547 '-cache_stats', '-check_cache_stats', 1, 0], 'Check transition stored by test 2645 is reused').
12548 cli_testcase(2647, [cache], ['tests/cache/csthash/TwoLargeCsts.mch', '-execute_repeat', 3, 2,
12549 '-ccache', 'tests/cache/cache/', '-clear_cache',
12550 '-cache_stats', '-check_cache_stats', 0, 1], 'Check -execute_repeat can store transitions in cache').
12551 % previously this raised type_error(list,expanded_const_and_vars(...)) in add_new_transition_to_cache_from_expanded_state
12552 cli_testcase(2648, [cache], ['tests/cache/corrupt/CorruptCtr.mch', '-mc', 100, '-nodead', '-check_complete', '-cc', 7, 11,
12553 '-ccache', 'tests/cache/cache/', '-clear_cache',
12554 '-cache_stats', '-check_cache_stats', 0, 10], 'Reset cache for CorruptCtr (setup for test 2649)').
12555 cli_testcase(2649, [cache], ['tests/cache/corrupt/CorruptCacheFile.mch', '-init'], 'Corrupt the .probops file stored by test 2648').
12556 cli_testcase(2650, [cache], ['tests/cache/corrupt/CorruptCtr.mch', '-mc', 100, '-nodead', '-check_complete', '-cc', 7, 11,
12557 '-ccache', 'tests/cache/cache/',
12558 '-cache_stats', '-check_cache_stats', 0, 10, '-expcterr', 'value_persistance'], 'Check corrupted .probops file is detected and cache rebuilt').
12559 cli_testcase(2651, [cache], ['tests/cache/corrupt/CorruptCtr.mch', '-mc', 100, '-nodead', '-check_complete', '-cc', 7, 11,
12560 '-ccache', 'tests/cache/cache/',
12561 '-cache_stats', '-check_cache_stats', 12, 0], 'Check cache rebuilt in test 2650 is reused').
12562 % previously the transitions read before the corrupted entry were kept and written back to the .probops file,
12563 % pointing into the deleted .opdata file; all later runs raised errors
12564 cli_testcase(2652, [cache], ['tests/cache/corrupt/CorruptCtr.mch', '-mc', 100, '-nodead', '-check_complete', '-cc', 7, 11,
12565 '-ccache', 'tests/cache/cache/', '-ignore_cache_for', 'CorruptCtr',
12566 '-cache_stats', '-check_cache_stats', 0, 0], 'Check -ignore_cache_for prevents reuse of cached operations of test 2651').
12567 % previously the ignored machines were reset by initialise_value_persistance before the cache was loaded
12568 cli_testcase(2653, [cache], ['tests/cache/ignref/IgnSub.mch', '-init',
12569 '-ccache', 'tests/cache/cache/', '-clear_cache',
12570 '-check_cache_constants_stats', 0, 0], 'Store constants of IgnSub (setup for tests 2654-2656)').
12571 cli_testcase(2654, [cache], ['tests/cache/ignref/IgnMain.mch', '-init', '-evalt', 'mc=6',
12572 '-ccache', 'tests/cache/cache/', '-clear_cache_for', 'IgnMain', '-ignore_cache_for', 'IgnSub',
12573 '-check_cache_constants_stats', 0, 0], 'Check -ignore_cache_for prevents reuse of constants of included machine').
12574 % previously ignore_cache_for_machine was checked for the including machine rather than the included machine
12575 cli_testcase(2655, [cache], ['tests/cache/ignref/IgnMain.mch', '-init', '-evalt', 'mc=6',
12576 '-ccache', 'tests/cache/cache/', '-clear_cache_for', 'IgnMain',
12577 '-check_cache_constants_stats', 0, 1], 'Check constants of included machine are reused and store constants of IgnMain').
12578 cli_testcase(2656, [cache], ['tests/cache/ignref/IgnMain.mch', '-init', '-evalt', 'mc=6',
12579 '-ccache', 'tests/cache/cache/', '-ignore_cache_for', 'IgnMain',
12580 '-check_cache_constants_stats', 0, 1], 'Check -ignore_cache_for prevents reuse of constants of main machine stored by test 2655').
12581 cli_testcase(2657, [cache], ['tests/cache/lock/StaleLock.mch', '-init',
12582 '-ccache', 'tests/cache/cache/', '-clear_cache_for', 'LockCtr'], 'Create lock file of non-existing process for LockCtr (setup for test 2658)').
12583 cli_testcase(2658, [cache], ['tests/cache/lock/LockCtr.mch', '-mc', 100, '-nodead', '-check_complete', '-cc', 7, 11,
12584 '-ccache', 'tests/cache/cache/',
12585 '-cache_stats', '-check_cache_stats', 0, 10], 'Check stale lock file created by test 2657 is removed and cache written').
12586 % previously a lock file left behind by a crashed process prevented writing the cache forever
12587 cli_testcase(2659, [cache], ['tests/cache/lock/LockCtr.mch', '-mc', 100, '-nodead', '-check_complete', '-cc', 7, 11,
12588 '-ccache', 'tests/cache/cache/',
12589 '-cache_stats', '-check_cache_stats', 12, 0], 'Check cache written in test 2658 is reused').
12590 cli_testcase(2660, [cache], ['tests/cache/lock/LiveLock.mch', '-init',
12591 '-ccache', 'tests/cache/cache/', '-clear_cache_for', 'LockCtr'], 'Create lock file of running process for LockCtr (setup for test 2661)').
12592 cli_testcase(2661, [cache], ['tests/cache/lock/LockCtr.mch', '-mc', 100, '-nodead', '-check_complete', '-cc', 7, 11,
12593 '-ccache', 'tests/cache/cache/',
12594 '-cache_stats', '-check_cache_stats', 0, 0], 'Check lock file of running process created by test 2660 is respected').
12595 cli_testcase(2662, [cache], ['tests/cache/alt/v1/AltMain.mch', '-mc', 100, '-nodead', '-check_complete', '-cc', 38, 50,
12596 '-ccache', 'tests/cache/cache/', '-clear_cache', '-cache_stats',
12597 '-check_cache_constants_stats', 0, 0, '-check_cache_stats', 0, 26], 'Reset cache for AltMain including AltInc (which includes AltInc2) and seeing AltSeen').
12598 cli_testcase(2663, [cache], ['tests/cache/alt/v1/AltMain.mch', '-mc', 100, '-nodead', '-check_complete', '-cc', 38, 50,
12599 '-ccache', 'tests/cache/cache/', '-cache_stats',
12600 '-check_cache_constants_stats', 1, 0, '-check_cache_stats', 39, 0], 'Check constants and operations of AltMain are reused').
12601 cli_testcase(2664, [cache], ['tests/cache/alt/v2/AltMain.mch', '-mc', 100, '-nodead', '-check_complete', '-cc', 50, 74,
12602 '-ccache', 'tests/cache/cache/', '-cache_stats',
12603 '-check_cache_constants_stats', 0, 0, '-check_cache_stats', 3, 37], 'Check changed PROPERTIES of seen machine AltSeen prevent reuse of constants of AltMain').
12604 cli_testcase(2665, [cache], ['tests/cache/alt/v3/AltMain.mch', '-mc', 100, '-nodead', '-check_complete', '-cc', 14, 18,
12605 '-ccache', 'tests/cache/cache/', '-cache_stats',
12606 '-check_cache_constants_stats', 0, 0, '-check_cache_stats', 3, 8], 'Check changed PROPERTIES of included machine AltInc prevent reuse of constants of AltMain').
12607 cli_testcase(2666, [cache], ['tests/cache/alt/v1/AltMain.mch', '-mc', 100, '-nodead', '-check_complete', '-cc', 38, 50,
12608 '-ccache', 'tests/cache/cache/', '-cache_stats',
12609 '-check_cache_constants_stats', 0, 0, '-check_cache_stats', 39, 0], 'Check switching back to the original PROPERTIES reuses the operations stored in test 2663').
12610 cli_testcase(2667, [cache], ['tests/cache/alt/v4/AltMain.mch', '-mc', 100, '-nodead', '-check_complete', '-cc', 20, 26,
12611 '-ccache', 'tests/cache/cache/', '-cache_stats',
12612 '-check_cache_constants_stats', 1, 0, '-check_cache_stats', 3, 12], 'Check changed operation bump of AltInc2 called by addk of AltInc called by step prevents reuse of step').
12613 % previously the hash of step only took the operations called directly by step into account, but not bump called by addk;
12614 % the stale transitions of test 2666 were reused and 38 states found instead of 20
12615 cli_testcase(2668, [cache], ['tests/cache/alt/v4/AltMain.mch', '-mc', 100, '-nodead', '-check_complete', '-cc', 20, 26,
12616 '-ccache', 'tests/cache/cache/', '-cache_stats',
12617 '-check_cache_constants_stats', 1, 0, '-check_cache_stats', 21, 0], 'Check operations stored in test 2667 for changed operation bump are reused').
12618 cli_testcase(2669, [cache], ['tests/cache/alt/v1/AltMain.mch', '-mc', 100, '-nodead', '-check_complete', '-cc', 38, 50,
12619 '-ccache', 'tests/cache/cache/', '-cache_stats',
12620 '-check_cache_constants_stats', 1, 0, '-check_cache_stats', 3, 24], 'Check switching back to the original operation bump does not reuse transitions of test 2668').
12621 cli_testcase(2670, [cache], ['tests/cache/nocst/v1/NoCstMain.mch', '-mc', 100, '-nodead', '-check_complete', '-cc', 6, 6,
12622 '-ccache', 'tests/cache/cache/', '-clear_cache', '-cache_stats',
12623 '-check_cache_constants_stats', 0, 0, '-check_cache_stats', 0, 4], 'Reset cache for NoCstMain without constants of its own, including NoCstInc with constants').
12624 cli_testcase(2671, [cache], ['tests/cache/nocst/v1/NoCstMain.mch', '-mc', 100, '-nodead', '-check_complete', '-cc', 6, 6,
12625 '-ccache', 'tests/cache/cache/', '-cache_stats',
12626 '-check_cache_constants_stats', 1, 0, '-check_cache_stats', 4, 0], 'Check constants of main machine NoCstMain without constants of its own are reused').
12627 % previously constants were only stored for main machines with constants of their own
12628 cli_testcase(2672, [cache], ['tests/cache/nocst/v2/NoCstMain.mch', '-mc', 100, '-nodead', '-check_complete', '-cc', 4, 4,
12629 '-ccache', 'tests/cache/cache/', '-cache_stats',
12630 '-check_cache_constants_stats', 0, 0, '-check_cache_stats', 0, 2], 'Check changed PROPERTIES of included NoCstInc prevent reuse of constants of NoCstMain').
12631 cli_testcase(2673, [cache], ['tests/cache/nocst/v2/NoCstMain.mch', '-mc', 100, '-nodead', '-check_complete', '-cc', 4, 4,
12632 '-ccache', 'tests/cache/cache/', '-cache_stats',
12633 '-check_cache_constants_stats', 1, 0, '-check_cache_stats', 2, 0], 'Check constants stored in test 2672 for changed PROPERTIES are reused').
12634 cli_testcase(2674, [cache], ['tests/cache/nocst/v1/NoCstMain.mch', '-mc', 100, '-nodead', '-check_complete', '-cc', 6, 6,
12635 '-ccache', 'tests/cache/cache/', '-cache_stats',
12636 '-check_cache_constants_stats', 0, 0, '-check_cache_stats', 4, 0], 'Check switching back to the original PROPERTIES reuses the operations stored in test 2670').
12637 cli_testcase(2675, [cache], ['tests/cache/ren/v1/RenMain.mch', '-mc', 100, '-nodead', '-check_complete', '-cc', 13, 13,
12638 '-ccache', 'tests/cache/cache/', '-clear_cache', '-cache_stats',
12639 '-check_cache_constants_stats', 0, 0, '-check_cache_stats', 0, 12], 'Reset cache for RenMain calling operation i.addk of renamed included machine i.RenInc').
12640 cli_testcase(2676, [cache], ['tests/cache/ren/v1/RenMain.mch', '-mc', 100, '-nodead', '-check_complete', '-cc', 13, 13,
12641 '-ccache', 'tests/cache/cache/', '-cache_stats',
12642 '-check_cache_constants_stats', 0, 0, '-check_cache_stats', 12, 0], 'Check operation step calling i.addk of renamed included machine is reused').
12643 % previously no hash was found for i.addk: the transitions of step were stored without operation hash, then ignored and stored again
12644 cli_testcase(2677, [cache], ['tests/cache/ren/v2/RenMain.mch', '-mc', 100, '-nodead', '-check_complete', '-cc', 7, 7,
12645 '-ccache', 'tests/cache/cache/', '-cache_stats',
12646 '-check_cache_constants_stats', 0, 0, '-check_cache_stats', 0, 6], 'Check changed operation bump called by i.addk called by step prevents reuse of step').
12647 cli_testcase(2678, [cache], ['tests/cache/ren/v2/RenMain.mch', '-mc', 100, '-nodead', '-check_complete', '-cc', 7, 7,
12648 '-ccache', 'tests/cache/cache/', '-cache_stats',
12649 '-check_cache_constants_stats', 0, 0, '-check_cache_stats', 6, 0], 'Check operations stored in test 2677 for changed operation bump are reused').
12650 cli_testcase(2679, [cache], ['tests/cache/ren/v1/RenMain.mch', '-mc', 100, '-nodead', '-check_complete', '-cc', 13, 13,
12651 '-ccache', 'tests/cache/cache/', '-cache_stats',
12652 '-check_cache_constants_stats', 0, 0, '-check_cache_stats', 0, 12], 'Check switching back to the original operation bump does not reuse transitions of test 2678').
12653 cli_testcase(2680, [b_test,memoize], ['tests/memoize/MemoNotElemEmptySet.mch', '-init', '-assertions', '-strict'], 'Check not element of memoized function with empty set result').
12654 % previously an atom wf was passed instead of the waitflags, leading to an internal error
12655 cli_testcase(2681, [b_test,memoize], ['tests/memoize/MemoNonFunctions.mch', '-p', 'MEMOIZE_FUNCTIONS', 'TRUE',
12656 '-init', '-assertions', '-strict'], 'Check MEMOIZE_FUNCTIONS does not affect abstract constants which are relations or sets of non-pairs').
12657 % previously relations were treated as functions (e.g., (2,2):r was false) and sets of non-pairs led to internal errors
12658 cli_testcase(2682, [b_test,memoize], ['tests/memoize/MemoAnnotatedSet.mch',
12659 '-init', '-assertions', '-strict', '-expcterr', 'b_interpreter'], 'Check memo annotation for set of non-pairs is ignored with a warning').
12660 cli_testcase(2683, [reals], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE', '-p', 'REAL_SOLVER', precise_float_solver,
12661 '-evalt', 'x*49.0 = 1.0',
12662 '-evalt', '{x|x*49.0 = 1.0} = {0.020408163265306124}', % 1.0/49.0 = 0.02040816326530612 is not a solution, but next larger float is
12663 '-evalt', '{x|49.0*x = 2.0} = {0.04081632653061225}',
12664 '-evalt', '{x|x*(-49.0) = 1.0} = {-0.020408163265306124}', % here the next smaller float is the solution
12665 '-evalt', '{x|x*925.6 = 64.0} = {0.06914433880726016}',
12666 '-evalt', '874.8000000000001 : {x|x-362.8 = 512.0} & 874.8 /: {x|x-362.8 = 512.0}', % 512.0+362.8 = 874.8 is not a solution
12667 '-evalt', '{x|x*x=3.0} = {}', % still no solution if neither the candidate nor its neighbours are solutions
12668 '-evalt', '{x|x*49.0 = 1.0 & x /= 0.020408163265306124} = {}'
12669 ], 'Check precise float solver also examines neighbours of inverse candidate solution').
12670 cli_testcase(2684, [reals], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE', '-p', 'REAL_SOLVER', float_solver,
12671 '-evalt', 'x*x = 4.0', % previously led to unbounded enumeration of x
12672 '-evalt', '{x|x*x = 4.0} = {-2.0,2.0}',
12673 '-evalt', '{x|x*x = 6.25 & x<0.0} = {-2.5}',
12674 '-evalt', '{x|x*x = 0.0} = {0.0}',
12675 '-evalt', '{x|x*x = -1.0} = {}',
12676 '-evalt', 'x**2 = 9.0 & x>0.0 & x=3.0'
12677 ], 'Check square inverse propagation also works with simple float solver').
12678 cli_testcase(2685, [reals,wd], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
12679 '-expcterr', 'well_definedness_error',
12680 '-evalnwd', 'max({z|z:REAL & z>=6.0 & z<=5.0})', % previously these just failed without WD error
12681 '-evalnwd', 'min({z|z:REAL & z>=6.0 & z<=5.0})',
12682 '-evalnwd', 'y = max({z|z:REAL & z>6.0 & z<5.0})',
12683 '-evalnwd', 'y = min({z|z:REAL & z>6.0 & z<5.0})',
12684 '-evalnwd', 'x = 7.0 & y = min({z|z>=x & z<=5.0})',
12685 '-evalnwd', 'y = max({z|z>=x & z<=5.0}) & x = 7.0', % bounds only known later
12686 '-evalnwd', 'x = {y|y>=v & y <= 3.0} & min(x) = r & v:{4.0,5.0}',
12687 '-evalt', 'max({z|z:REAL & z>=5.0 & z<=5.0}) = 5.0 & min({z|z:REAL & z>=5.0 & z<=5.0}) = 5.0',
12688 '-evalt', 'y = max({z|z>=x & z<=5.0}) & x = 4.0 & y = 5.0',
12689 '-evalt', 'y = min({z|z>=1.0 & z<=x}) & y = 1.0 & x = 2.0'
12690 ], 'Check max/min of empty real interval raises WD error').
12691 cli_testcase(2686, [reals,wd,external], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
12692 '-expcterr', 'well_definedness_error',
12693 '-evalnwd', 'real(10**400)', % previously led to an uncaught exception
12694 '-evalnwd', 'x = 10**400 & real(x) > 1.0',
12695 '-evalnwd', 'RDECIMAL(10**400,1)',
12696 '-evalt', 'real(10**300) > 1.0',
12697 '-evalt', 'real(3) = 3.0 & real(x) = 4.0 & x = 4',
12698 '-evalt', 'RDECIMAL(15,2) = 1500.0'
12699 ], 'Check float overflow in integer to real conversion raises WD error').
12700 cli_testcase(2687, [reals,external], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE', '-p', 'REAL_SOLVER', float_solver,
12701 % float_solver does not use the CLP(FD) real solver; check inverse propagation for exponents 1 and 2 also works with SICStus 4.10
12702 '-evalt', '{x|RPOW(x,1.0) = 5.0} = {5.0}',
12703 '-evalt', '{x|x**1 = 5.0} = {5.0}',
12704 '-evalt', '{x|RPOW(x,y) = 9.0} = {-3.0,3.0} & y = 1.0+1.0', % exponent 2.0 only known later
12705 '-evalt', 'RPOW(x,y) = 9.0 & y : {2.0} & x>0.0 & x = 3.0',
12706 '-evalt', '{x,y|x**y = 9.0 & y:{1,2}} = {(-3.0,2),(3.0,2),(9.0,1)}',
12707 '-evalt', 'RPOW(2.0,3.0) = 8.0',
12708 '-evalt', '{y|RPOW(2.0,y)=8.0 & y:{2.0,3.0}} = {3.0}',
12709 '-evalt', '{x|x:{2.0,3.0} & RPOW(x,3.0) = 27.0} = {3.0}'
12710 ], 'Check real power inverse propagation without CLP(FD) real solver').
12711 cli_testcase(2688, [reals,wd,external], [
12712 '-expcterr', 'well_definedness_error',
12713 % check that WD errors are also detected when using the CLP(FD) real solver of SICStus 4.10 (default precise_float_solver)
12714 '-evalnwd', '1.0/0.0',
12715 '-evalnwd', 'x = 0.0 & 1.0/x > 1.0',
12716 '-evalnwd', '1.0/x > 1.0 & x = 0.0',
12717 '-evalnwd', 'RSQRT(-1.0)',
12718 '-evalnwd', 'RLOGe(0.0)',
12719 '-evalnwd', 'RASIN(2.0)',
12720 '-evalnwd', 'RPOW(-8.0,0.5)',
12721 '-evalnwd', 'RPOW(0.0,-1.0)',
12722 '-evalnwd', '10.0**400',
12723 '-evalnwd', '1.0e308*10.0',
12724 '-evalnwd', '1.0e308+1.0e308',
12725 '-evalnwd', '-1.0e308-1.0e308',
12726 '-evalnwd', 'x = 1.0e308 & x*10.0 > 1.0',
12727 '-evalnwd', 'x = 1.0e308 & x+x > 1.0',
12728 '-evalnwd', 'x = 400.0 & RPOW(10.0,x) > 1.0'
12729 ], 'Check WD errors for real operators (division by zero, undefined, overflow)').
12730 cli_testcase(2689, [reals,wd,external], ['-p', 'REAL_SOLVER', real_solver,
12731 '-expcterr', 'well_definedness_error',
12732 '-evalnwd', '1.0/0.0',
12733 '-evalnwd', 'RSQRT(-1.0)',
12734 '-evalnwd', 'RLOGe(0.0)',
12735 '-evalnwd', 'RASIN(2.0)',
12736 '-evalnwd', '10.0**400',
12737 '-evalnwd', '1.0e308*10.0',
12738 '-evalnwd', '1.0e308+1.0e308',
12739 '-evalnwd', '-1.0e308-1.0e308',
12740 '-evalnwd', 'RPOW(10.0,400.0)',
12741 '-evalnwd', 'RPOW(-8.0,0.5)',
12742 % Note: with the CLP(FD) real solver of SICStus 4.10 the real_solver does not detect WD errors
12743 % for arguments which only become known after the operator was called (CLP(FD) fails or sets the result to finf/fsup), e.g.:
12744 % 'x = 0.0 & 1.0/x > 1.0', 'x = -1.0 & RSQRT(x) > 1.0', 'x = 1.0e308 & x+x > 1.0'
12745 '-evalt', 'x = 2.0 & 1.0/x = 0.5 & RSQRT(x*x) = x & x+x = 4.0 & x-x = 0.0'
12746 ], 'Check WD errors for real operators with real_solver').
12747 cli_testcase(2690, [b_test,sequences,card], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
12748 % previously sequences longer than the cardinality bound of the tail of a partial list skeleton were not enumerated
12749 '-evalt', 'card({s|s:seq(BOOL) & card(s)<4 & s/=[]}) = 14', % was 6
12750 '-evalt', '{s|s:seq(BOOL) & card(s)<4 & s/=[]} = {s|s:seq(BOOL) & card(s):1..3}',
12751 '-evalt', 'card({s|s:seq(BOOL) & card(s)<4 & 1:dom(s)}) = 14',
12752 '-evalt', 'card({s|s:seq(BOOL) & card(s)<4 & s(1)=TRUE}) = 7',
12753 '-evalt', 'card({s|s:seq(BOOL) & card(s)<5 & s/=[]}) = 30',
12754 '-evalt', 'card({s|s:seq(1..3) & card(s)<4 & 1:dom(s)}) = 39',
12755 '-evalt', 'card({s|s:seq(BOOL) & card(s)<4 & 3:dom(s)}) = 8',
12756 '-evalt', 'card({s|s:seq(BOOL) & card(s)<4}) = 15',
12757 '-evalt', 'card({s|s:iseq(1..3) & card(s)<3 & s/=[]}) = 9',
12758 '-evalt', '{s|s:seq(BOOL) & card(s)<2 & 2:dom(s)} = {}',
12759 '-evalf', '{s|s:seq(BOOL) & card(s)<3 & s/=[]} = {{(1|->FALSE)},{(1|->TRUE)}}',
12760 '-evalt', '{s|s:seq(BOOL) & card(s)<3 & s/=[]} = {[TRUE],[FALSE],[TRUE,TRUE],[FALSE,FALSE],[TRUE,FALSE],[FALSE,TRUE]}'
12761 ], 'Check enumeration of sequences with partial skeleton and bounded cardinality').
12762 cli_testcase(2691, [b_test,cbc], ['-p', 'CLPFD', 'FALSE', '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
12763 '-evalt', 'x:1..3 & a:5..6 & b:7..8 & x..x /<: a..b', % led to internal error without CLP(FD): lower bound a was set to minus_inf
12764 '-evalt', 'x..x /<: a..b & x:1..3 & a:5..6 & b:7..8',
12765 '-evalt', 'card({x,a,b|x:1..3 & a:1..3 & b:1..3 & x..x /<: a..b}) = 17',
12766 '-evalt', 'card({x,a|x:1..3 & a:1..3 & x..x /<: a..3}) = 3',
12767 '-evalt', '{x|x:-1..1 & x..x /<: NATURAL} = {-1}',
12768 '-evalf', 'x:1..3 & x..x /<: NATURAL1',
12769 '-evalf', 'x:1..3 & x..x /<: 0..10'
12770 ], 'Check not subset for singleton interval with unknown bounds (without CLPFD)').
12771 cli_testcase(2692, [b_test,cbc], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
12772 '-evalt', 'x:1..3 & a:5..6 & b:7..8 & x..x /<: a..b', % led to internal error without CLP(FD): lower bound a was set to minus_inf
12773 '-evalt', 'x..x /<: a..b & x:1..3 & a:5..6 & b:7..8',
12774 '-evalt', 'card({x,a,b|x:1..3 & a:1..3 & b:1..3 & x..x /<: a..b}) = 17',
12775 '-evalt', 'card({x,a|x:1..3 & a:1..3 & x..x /<: a..3}) = 3',
12776 '-evalt', '{x|x:-1..1 & x..x /<: NATURAL} = {-1}',
12777 '-evalf', 'x:1..3 & x..x /<: NATURAL1',
12778 '-evalf', 'x:1..3 & x..x /<: 0..10'
12779 ], 'Check not subset for singleton interval with unknown bounds (with CLPFD)').
12780 cli_testcase(2693, [b_test,memoize], ['tests/memoize/MemoRecursiveDelayed.mch',
12781 '-mc', '100', '-nodead', '-cc', '5', '4', '-assertions', '-strict'], 'Check recursive memoized function can be called before its registration is completed').
12782 % previously the function call woke up before the function was registered, leading to errors and no solutions
12783 cli_testcase(2694, [b_test,card], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
12784 % previously for integers > 1000000000 the peano cardinality was left unconstrained
12785 '-evalf', 'x:1..2 & y:3..4 & f : {x,y} >->> 1..2000000000', % was TRUE with f = {(1|->1),(3|->2)}
12786 '-evalf', 'f : {1,2} >->> 1..2000000000',
12787 '-evalf', 'f : 1..2000000000 >->> {1,2}',
12788 '-evalf', 'f : {1,2} -->> 1..2000000000',
12789 '-evalf', 'f : {1,2} >->> NATURAL',
12790 '-evalf', 'card(1..2000000000) = card({1,2})',
12791 '-evalf', 's<:1..3 & card(s) >= 2000000000',
12792 '-evalf', 's<:1..3 & card(s) = 2000000000',
12793 '-evalt', 'f : {1,2} >-> 1..2000000000',
12794 '-evalt', 'f : {1,2} >->> 5..6',
12795 '-evalt', 'card(1..2000000000) = 2000000000 & card(1..2000000000) >= 3'
12796 ], 'Check cardinality constraints with very large integers (lazy peano conversion)').
12797 cli_testcase(2695, [b_test,cbc], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
12798 % the integer logarithm used for inverse propagation raised a float overflow for powers above the double range
12799 '-evalt', 'y:0..2000 & 2**y = 2**1030 & y = 1030',
12800 '-evalt', '2**y = 2**1030 & y = 1030',
12801 '-evalt', 'y:0..2000 & 3**y = 3**700 & y = 700',
12802 '-evalt', 'y:0..2000 & (-3)**y = (-3)**701 & y = 701',
12803 '-evalt', 'y:0..5000 & 10**y = 10**400 & y = 400',
12804 '-evalt', 'y:NATURAL & 2**y = 2**1000 & y = 1000',
12805 '-evalf', 'y:0..2000 & 2**y = 2**1030+1',
12806 % propagation computed 2^100000000000000, leading to a memory resource error
12807 '-evalt', '{y,z|y:1..100000000000000 & z:1..100 & 2**y = z} = {(1,2),(2,4),(3,8),(4,16),(5,32),(6,64)}',
12808 '-evalt', 'x:2..3 & y:1..100000000000000 & z:1..100 & x**y = z & z>7',
12809 '-evalt', 'x = 3**y & y:3..5 & x /= 27 & x /= 243 & x = 81'
12810 ], 'Check integer power with very large numbers (no float overflow or memory error)').
12811 cli_testcase(2696, [b_test,cbc], ['-p', 'CLPFD', 'FALSE', '-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
12812 % the integer square root was computed using floats: imprecise above 2^53 and float overflow for very large numbers
12813 '-evalt', '{x|x*x = 10000000000000000200000000000000001} = {-100000000000000001,100000000000000001}', % was {}
12814 '-evalt', 'x:NATURAL & x*x = 10**400 & x = 10**200', % was float overflow
12815 '-evalt', 'x:NATURAL & x*x = 152415787532388367501905199875019052100 & x = 12345678901234567890',
12816 '-evalf', 'x*x = 152415787532388367501905199875019052101',
12817 '-evalf', 'x*x = 10**400+1',
12818 '-evalt', '{x|x*x = 49} = {-7,7}',
12819 '-evalf', 'x*x = 50',
12820 '-evalt', 'x*x = 0 & x = 0',
12821 '-evalt', '2**y = 2**1030 & y = 1030'
12822 ], 'Check integer square root with very large numbers (without CLPFD)').
12823 cli_testcase(2697, [b_test,wd,relations], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE', '-expcterr', 'well_definedness_error',
12824 % image/application of iterate with negative index looped forever for symbolic or larger relations
12825 '-evalnwd', 'iterate(%x.(x:NATURAL|x+2),-1)[{20}]',
12826 '-evalnwd', 'iterate(%x.(x:NATURAL|x+2),-1)(20)',
12827 '-evalnwd', 'iterate({x,y|x:1..5000 & y=x+1},-1)[{1}]',
12828 '-evalnwd', 'iterate({1|->2,2|->3},-1)[{1}]',
12829 '-evalnwd', 'iterate({x,y|x:1..5000 & y=x+1},-2)(1)',
12830 '-evalt', 'iterate(%x.(x:NATURAL|x+2),0)[{20}] = {20}',
12831 '-evalt', 'iterate(%x.(x:NATURAL|x+2),2)[{20}] = {24}',
12832 '-evalt', 'iterate(%x.(x:NATURAL|x+2),3)(20) = 26',
12833 '-evalt', 'r = {x,y|x:1..5000 & y=x+1} & iterate(r,25)[{1,2}] = {26,27}',
12834 '-evalt', 'k:{-1,2} & s = iterate(%x.(x:NATURAL|x+2),k)[{20}] & k>0 & s={24}',
12835 %'-evalnwd', 'iterate(r,-1)[{}]=res & r<:BOOL*BOOL', % does not trigger WD error
12836 %'-evalnwd', 'iterate(r,-1)[s]=res & r<:BOOL*BOOL & s={} & res /= {}', % does not trigger WD error
12837 '-evalnwd', 'iterate(r,-1)[s]=res & r<:BOOL*BOOL & s={}'
12838 ], 'Check image of iterate with negative index raises WD error (no infinite loop)').
12839 cli_testcase(2698, [b_test,strings,external], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
12840 '-evalt', 'STRING_REPLACE("abc","","x") = "abc"', % looped forever with empty pattern
12841 '-evalt', 'STRING_REPLACE("","","x") = ""',
12842 '-evalt', 'STRING_REPLACE("abcabc","bc","_") = "a_a_"',
12843 '-evalt', 'STRING_REPLACE("aaa","a","") = ""',
12844 '-evalt', 'STRING_REPLACE("aaa","aa","b") = "ba"',
12845 '-evalt', 'STRING_REPLACE("abc","d","x") = "abc"',
12846 '-evalt', 'p:{"","b"} & STRING_REPLACE("abc",p,"x") = r & r /= "abc" & r = "axc"'
12847 ], 'Check STRING_REPLACE with empty pattern terminates').
12848 cli_testcase(2699, [b_test,strings,external], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
12849 % reverse STRING_SPLIT: joining the elements was not checked against the forward direction
12850 '-evalf', 'STRING_SPLIT(x,"aa") = ["a","b"]', % was TRUE with x="aaab", but STRING_SPLIT("aaab","aa") = ["","ab"]
12851 '-evalt', 'STRING_SPLIT(x,"ab") = ["a","b"] & x="aabb"',
12852 '-evalf', 'STRING_SPLIT(x,"ab") = ["a","bab"]',
12853 '-evalf', 'STRING_SPLIT(x,"_") = ["a","_","c"]',
12854 '-evalf', 'STRING_SPLIT(x,",") = {(1,"a"),(3,"b")}', % not a sequence
12855 '-evalf', 'STRING_SPLIT(x,",") = {}',
12856 '-evalf', 'STRING_SPLIT(x,"") = ["a","b"]',
12857 '-evalt', 'STRING_SPLIT(x,"") = ["a"] & x="a"', % was FALSE
12858 '-evalt', 'STRING_SPLIT(x,"aa") = ["b","c"] & x="baac"',
12859 '-evalt', 'STRING_SPLIT(x,",") = ["a","","b"] & x="a,,b"',
12860 '-evalt', 'STRING_SPLIT(x,",") = [""] & x=""',
12861 '-evalt', 'STRING_SPLIT("aaab","aa") = ["","ab"]',
12862 '-evalt', '{x,y|STRING_SPLIT(x,"ab") = [y,"b"] & y:{"a","c","","ab"}} = {("aabb","a"),("cabb","c"),("abb","")}',
12863 % reverse STRING_CHARS: elements were joined without checking that they are single characters of a sequence
12864 '-evalf', 'STRING_CHARS(x) = ["ab","c"]', % was TRUE with x="abc"
12865 '-evalf', 'STRING_CHARS(x) = ["a",""]',
12866 '-evalf', 'STRING_CHARS(x) = {(1,"a"),(3,"b")}', % was TRUE with x="ab"
12867 '-evalf', 'STRING_CHARS(x) = {(2,"a"),(3,"b")}',
12868 '-evalt', 'STRING_CHARS(x) = ["a","b","c"] & x="abc"',
12869 '-evalt', 'STRING_CHARS(x) = [] & x=""',
12870 '-evalt', 'STRING_CHARS("abc") = ["a","b","c"]',
12871 '-evalt', '{x,y|STRING_CHARS(x) = ["a",y] & y:{"b","bc",""}} = {("ab","b")}'
12872 ], 'Check reverse direction of STRING_SPLIT and STRING_CHARS is sound').
12873 cli_testcase(2700, [b_test,strings,external], ['-p', 'STRICT_RAISE_ENUM_WARNINGS', 'TRUE',
12874 '-evalf', 'STRING_CODES(x) = [-1]', % was uncaught representation_error
12875 '-evalf', 'STRING_CODES(x) = [65,-66]',
12876 '-evalf', 'STRING_CODES(x) = [65,1114112]', % beyond largest Unicode code point 0x10FFFF
12877 '-evalt', 'STRING_CODES(x) = [65,1114111] & STRING_LENGTH(x)=2',
12878 '-evalf', 'STRING_CODES(x) = {(1,65),(3,66)}', % not a sequence; was an error message with solution x="AB"
12879 '-evalf', 'STRING_CODES(x) = {(2,65)}',
12880 '-evalt', 'STRING_CODES(x) = [65,66] & x="AB"',
12881 '-evalt', 'STRING_CODES(x) = [] & x=""',
12882 '-evalt', 'STRING_CODES("AB") = [65,66]',
12883 '-evalt', '{x,c|STRING_CODES(x) = [65,c] & c:{-1,66,97}} = {("AB",66),("Aa",97)}',
12884 '-evalt', 'STRING_CODES(x) = [228,8364] & STRING_LENGTH(x)=2 & STRING_CODES(x)(2)=8364'
12885 ], 'Check reverse direction of STRING_CODES with invalid codes or indexes').
12886 cli_testcase(2701, [b_test,memoize], ['tests/memoize/MemoNotElemDelayed.mch',
12887 '-mc', '100', '-nodead', '-cc', '5', '4', '-assertions', '-strict'], 'Check non-membership for memoized function registered after the check').
12888 % previously (5,1) /: sq failed as the suspended function application was treated as success by if/3
12889 cli_testcase(2702, [b_test,error_checks], ['tests/error_checks/NoOutputAssignment.mch',
12890 '-p', 'REQUIRE_OUTPUT_ASSIGNMENT', 'TRUE', '-mc', '100', '-nodead',
12891 '-expcterr', missing_assignment_error, '-strict'], 'Check REQUIRE_OUTPUT_ASSIGNMENT detects operation not assigning to its output').
12892 % previously no error was raised: ReportError flag did not match in store:lookup_and_delete_value
12893 cli_testcase(2703, [b_test,error_checks], ['tests/error_checks/NoOutputAssignment.mch',
12894 '-mc', '100', '-nodead', '-cc', '4', '7', '-strict'], 'Check missing output assignment is not an error by default').
12895 cli_testcase(2704, [cbc,card,records], [
12896 '-evalt', 's=1..20 & x: s-->struct(a:s,b:BOOL) & card({t|t|->rec(a:t,b:TRUE):x}):18..19',
12897 '-evalt', 's=1..20 & x: s-->struct(a:s,b:BOOL) & card({t|t|->rec(a:t,b:FALSE):x}):18..19',
12898 '-evalt', 's=1..20 & x: s-->struct(a:s,b:BOOL) & card({t|t|->rec(a:t,b:TRUE):x})=c & c:3..4 & x(9)=rec(a:9,b:TRUE)',
12899 '-evalf', 's=1..20 & x: s-->struct(a:s,b:BOOL) & card({t|t|->rec(a:t,b:TRUE):x})=21',
12900 '-evalt', 'x = {rec(a:1,b:p), rec(a:2,b:q), rec(a:3,b:r), rec(a:4,b:TRUE)} & card({t|rec(a:t,b:TRUE):x}) = 3 & q=FALSE',
12901 '-evalt', '{p,q,r|card({t|rec(a:t,b:TRUE):{rec(a:1,b:p), rec(a:2,b:q), rec(a:3,b:r)}}) = 2} = {(FALSE,TRUE,TRUE),(TRUE,FALSE,TRUE),(TRUE,TRUE,FALSE)}',
12902 '-evalt', '{p,q,r|#x.({rec(a:1,b:p), rec(a:2,b:q), rec(a:3,b:r)} = x & card({t|rec(a:t,b:TRUE):x}) = 2)} = {(FALSE,TRUE,TRUE),(TRUE,FALSE,TRUE),(TRUE,TRUE,FALSE)}'
12903 ], 'Check small quantifier cardinality inference works for record patterns (record variant of test 1627)').
12904 % previously the skeleton was built as record(Fields) instead of rec(Fields) and never matched; first three timed out
12905 cli_testcase(2705, [cbc,card,records], [
12906 '-evalt', 's=1..20 & x: s-->struct(b:BOOL,c:1..2) & card({t,u|t|->rec(b:TRUE,c:u):x}):18..19',
12907 '-evalt', 's=1..20 & x: s-->(BOOL*(1..2)) & card({t,u|t|->(TRUE|->u):x}):18..19',
12908 '-evalt', 's=1..40 & x: s-->struct(b:BOOL,c:1..2) & card({t,u|t|->rec(b:FALSE,c:u):x})=card({t,u|t|->rec(b:TRUE,c:u):x})',
12909 '-evalt', 's=1..3 & card({x|x: s-->struct(b:BOOL,c:1..2) & card({t,u|t|->rec(b:TRUE,c:u):x})=2}) = 24',
12910 '-evalt', 's=1..10 & x: s-->(BOOL*BOOL) & card({t,u|t|->(TRUE|->u):x}):8..9',
12911 '-evalt', '{a,b,c| a:1..2 & b:1..2 & c:1..2 & a/=b & card({t,u|(t|->u):{1|->a,1|->b,2|->c} & u=1})=2} = {(1,2,1),(2,1,1)}',
12912 '-evalt', 'x = {1|->a, 1|->b, 2|->c} & a:1..2 & b:1..2 & c:1..2 & a<b & card({t,u|t|->u:x & u=1}) = 2'
12913 ], 'Check small quantifier cardinality inference when a parameter is not yet known but has a small finite domain').
12914 % previously the inference failed if a matched element was not ground for all parameters; first three timed out
12915 cli_testcase(2706, [b_test,wd], [
12916 '-evalnwd', '{z|z:1..3 & z = {(1,1),(1,2)}(1)}',
12917 '-evalnwd', 'f = {(1,1),(1,2)} & S = {z|z:1..3 & z = f(1)}',
12918 '-evalt', '{z|z:1..3 & z = {(1,1),(2,2)}(1)} = {1}',
12919 '-evalt', 'f = {(1,1),(2,3)} & {z|z:1..3 & z = f(2)} = {3}',
12920 '-expcterr', well_definedness_error
12921 ], 'Check b_compiler does not pre-compute a function application of a relation which is not a function').
12922 % previously the first value was used, e.g., the first two returned {1} instead of NOT-WELL-DEFINED
12923 cli_testcase(2707, [b_test,wd], [
12924 '-evalt', '{z|z:1..2 & z>5 & iterate({(1,1)},-1) = {}} = {}',
12925 '-evalt', '{z|z:1..2 & !y.(y:{v|v:1..3 & v>5} => iterate({(1,1)},-1) = {})} = {1,2}',
12926 '-evalt', '{z|z:1..2 & iterate({(1,2),(2,3)},2) = {(1,3)}} = {1,2}',
12927 '-evalnwd', '{z|z:1..2 & iterate({(1,1)},-1) = {}}',
12928 '-expcterr', well_definedness_error
12929 ], 'Check b_compiler does not pre-compute iterate with a negative argument where it is not needed').
12930 % previously the first two raised a well-definedness error, even though the iterate is not evaluated by the interpreter
12931 cli_testcase(2708, [b_test,clpfd], [
12932 '-evalt', '{n|n:-3..5 & SIGMA(i).(i:1..n|i)=0} = {-3,-2,-1,0}',
12933 '-evalt', '{n|n:-3..5 & SIGMA(i).(i:n..2|i)=0} = {-2,3,4,5}',
12934 '-evalt', 'n:0..5 & SIGMA(i).(i:0..n|i) = 0',
12935 '-evalt', '{n|n:0..5 & SIGMA(i).(i:0..n|i) = 0} = {0}',
12936 '-evalt', '{n|n:-3..5 & SIGMA(i).(i:1..n|i)=6} = {3}',
12937 '-evalf', 'n:1..5 & m:n..10 & SIGMA(i).(i:n..m|i) = 0'
12938 ], 'Check SIGMA over an interval with unknown bounds can be zero (empty interval or 0..0)').
12939 % previously the CLPFD propagation in sum_interval_clpfd_prop required the sum to be >0 if the lower bound was >= 0
12940 cli_testcase(2709, [b_test,sets], [
12941 '-evalt', 'NATURAL1 <: {x|x /= 0}',
12942 '-evalt', 'NATURAL1 <: {x|x*x > 0}',
12943 '-evalt', 'NATURAL1 <: INTEGER - {0}',
12944 '-evalt', 'bool(NATURAL1 <: {x|x/=0})=TRUE',
12945 '-evalt', 'not(NATURAL1 /<: {x|x/=0})',
12946 '-evalt', 'NATURAL <: INTEGER - {-1}',
12947 '-evalt', 'INTEGER <: {x|x=x}',
12948 '-evalf', 'NATURAL <: {x|x /= 0}',
12949 '-evalf', 'NATURAL <: INTEGER - {0}',
12950 '-evalf', 'NATURAL1 <: {x|x<1000}',
12951 '-evalt', 'NATURAL1 /<: {x|x<1000}',
12952 '-evalt', '1..5 <: {x|x/=0}',
12953 '-evalf', '0..5 <: {x|x/=0}'
12954 ], 'Check subset of infinite interval in symbolic set').
12955 % previously the first five returned FALSE, as check_interval_in_custom_set fails for infinite intervals
12956 cli_testcase(2710, [b_test,wd,sets], [
12957 '-evalnwd', 'x..y <: {v|10 / (v-1) /= 0} & x=0 & y=2',
12958 '-evalnwd', 'x..y <: {v|10 mod v >= 0} & x=-1 & y=2',
12959 '-evalt', 'x..y <: {v|10 / (v-1) /= 0} & x=2 & y=4',
12960 '-evalt', 'x..y <: {v|v/=1 & 10 / (v-1) /= 0} & x=0 & y=0',
12961 '-evalf', 'x..y <: {v|10 / (v-1) > 2} & x=2 & y=5',
12962 '-expcterr', well_definedness_error
12963 ], 'Check WD errors are detected when checking an interval with unknown bounds is a subset of a symbolic set').
12964 % previously the first two returned UNKNOWN with a Prolog residue, as the waitflag was not passed in check_interval_in_custom_set_aux
12965 cli_testcase(2711, [b_test,sets], [
12966 '-evalt', 'r = (((1..1001) \\ {500}) * {0}) \\/ {1|->1} & 500 /: dom(r)',
12967 '-evalt', 'r = (((1..1001) \\ {500}) * {0}) \\/ {1|->1} & card(dom(r)) = 1000',
12968 '-evalt', 'r = (((1..1001) \\ {500}) * {0}) \\/ {1|->1} & dom(r) = (1..1001) \\ {500}',
12969 '-evalt', 'r = ((1..2000) * {0}) \\/ {1|->1} & dom(r) = 1..2000',
12970 '-evalt', 'r = ((1..2000) * {0,1}) & dom(r) = 1..2000 & card(dom(r))=2000',
12971 '-evalt', 'f = %x.(x:1..1500|x*x) & dom(f) = 1..1500'
12972 ], 'Check domain of large relation is not wrongly converted into an interval').
12973 % previously domain_of_avl_set counted pairs rather than distinct domain elements; the first three were FALSE
12974 cli_testcase(2712, [b_test,sets,clpfd], [
12975 '-evalt', '#(a,b,c,d).(a:3..4 & b:0..1 & c:5..6 & d:1..2 & a..b = c..d)',
12976 '-evalf', '#(a,b,c,d).(a..b /= c..d & a:3..4 & b:0..1 & c:5..6 & d:1..2)',
12977 '-evalt', '{a,b,c,d| a..b = c..d & a:3..3 & b:1..1 & c:5..5 & d:2..2} /= {}',
12978 '-evalf', '{x|x>=3 & x<=1} /= {x|x>=5 & x<=2}',
12979 '-evalt', '{x|x>=3 & x<=1} = {x|x>=5 & x<=2}',
12980 '-evalt', '{a,b|a..b = 2..1 & a:0..3 & b:0..3} = {(2,0),(2,1),(3,0),(3,1),(3,2),(1,0)}',
12981 '-evalt', 'bool(a..b = c..d) = TRUE & a=3 & b=1 & c=9 & d=0',
12982 '-evalt', 'bool(a..b = c..d) = FALSE & a=3 & b=1 & c=9 & d=10',
12983 '-evalt', 'a..b = c..d & a=5 & b=4 & c=1 & d<1',
12984 '-evalf', 'a..b = c..d & a=5 & b=4 & c=1 & d=1',
12985 '-evalt', 'x..y = 5..7 & x:INTEGER & y:INTEGER',
12986 '-evalf', 'a..b = 1..3 & a=1 & b=4',
12987 '-evalf', 'a..b = NATURAL & a=4 & b=1'
12988 ], 'Check equality of empty intervals with different bounds').
12989 % previously intervals were compared only by their bounds, the first five gave the wrong result
12990 cli_testcase(2713, [b_test,sets,clpfd], [ '-p', 'SYMBOLIC', 'TRUE',
12991 '-evalt', '#(a,b,c,d).(a:3..4 & b:0..1 & c:5..6 & d:1..2 & a..b = c..d)',
12992 '-evalf', '#(a,b,c,d).(a..b /= c..d & a:3..4 & b:0..1 & c:5..6 & d:1..2)',
12993 '-evalt', '{a,b,c,d| a..b = c..d & a:3..3 & b:1..1 & c:5..5 & d:2..2} /= {}',
12994 '-evalf', '{x|x>=3 & x<=1} /= {x|x>=5 & x<=2}',
12995 '-evalt', '{x|x>=3 & x<=1} = {x|x>=5 & x<=2}',
12996 '-evalt', '{a,b|a..b = 2..1 & a:0..3 & b:0..3} = {(2,0),(2,1),(3,0),(3,1),(3,2),(1,0)}',
12997 '-evalt', 'bool(a..b = c..d) = TRUE & a=3 & b=1 & c=9 & d=0',
12998 '-evalt', 'bool(a..b = c..d) = FALSE & a=3 & b=1 & c=9 & d=10',
12999 '-evalt', 'a..b = c..d & a=5 & b=4 & c=1 & d<1',
13000 '-evalf', 'a..b = c..d & a=5 & b=4 & c=1 & d=1',
13001 '-evalt', 'x..y = 5..7 & x:INTEGER & y:INTEGER',
13002 '-evalf', 'a..b = 1..3 & a=1 & b=4',
13003 '-evalf', 'a..b = NATURAL & a=4 & b=1'
13004 ], 'Check equality of empty intervals with different bounds (test 2712 in SYMBOLIC mode)').
13005 cli_testcase(2714, [b_test,sets,card,wd], [
13006 '-evalf', '#n.(n:1..2 & /*@symbolic*/ {x|x:seq1(seq(1..n))} = {})',
13007 '-evalf', '#n.(n:1..2 & /*@symbolic*/ {x|x:seq1(POW(1..n))} = {})',
13008 '-evalf', '#n.(n:1..2 & /*@symbolic*/ {x|x:seq1(FIN(1..n))} = {})',
13009 '-evalf', '#n.(n:1..2 & /*@symbolic*/ {x|x:seq1(iseq(1..n))} = {})',
13010 '-evalf', '#n.(n:0..2 & /*@symbolic*/ {x|x:seq1(seq(1..n))} = {})',
13011 '-evalt', '#n.(n:1..2 & /*@symbolic*/ {x|x:seq1(seq(1..n))} /= {})',
13012 '-evalt', '#n.(n:1..2 & /*@symbolic*/ {x|x:seq(POW(1..n))} /= {})',
13013 '-evalt', '#n.(n:1..2 & /*@symbolic*/ {x|x:seq1(1..n)} /= {})',
13014 '-evalt', '#n.(n:-1..0 & /*@symbolic*/ {x|x:seq1(1..n)} = {})',
13015 '-evalt', '#n.(n:-1..0 & /*@symbolic*/ {x|x:seq(1..n)} /= {})',
13016 '-evalnwd', '#n.(n:1..2 & card(/*@symbolic*/ {x|x:seq1(seq(1..n))}) = 0)',
13017 '-expcterr', well_definedness_error
13018 ], 'Check sequences of power sets and sequences are not considered empty').
13019 % previously get_cart_product_of_values used {} as representative non-empty set for POW, FIN, seq, iseq; the first five were TRUE and the card was 0
13020 cli_testcase(2715, [b_test,reals,sets], [ '-strict',
13021 '-evalt', '(REAL - {1.0}) /= REAL',
13022 '-evalt', '2.0 : REAL - {1.0}',
13023 '-evalf', '1.0 : REAL - {1.0}',
13024 '-evalt', '{x|x:{1.0,2.0,3.0} & x : REAL - {1.0,3.0}} = {2.0}'
13025 ], 'Check complement of REAL has correct type').
13026 % previously is_very_large_maximal_global_set used type string for REAL, leading to a type merge warning
13027 cli_testcase(2716, [b_test,wd], [
13028 '-evalnwd', '(((0..20)*{0})\\/{1|->1})(1)',
13029 '-evalnwd', '(((0..20)*{0})\\/{4|->1})(4)',
13030 '-evalnwd', '(((0..20)*{0})\\/{7|->1})(7)',
13031 '-evalnwd', '(((0..20)*{0})\\/{12|->1})(12)',
13032 '-evalnwd', '(((0..20)*{0})\\/{18|->1})(18)',
13033 '-evalnwd', '(((0..20)*{0})\\/{20|->1})(20)',
13034 '-evalt', 'r=((0..20)*{0})\\/{21|->1} & r(21)=1 & r(20)=0',
13035 '-evalt', 'f=%x.(x:1..1000|x*x) & f(500)=250000',
13036 '-expcterr', well_definedness_error
13037 ], 'Check function application of a relation with duplicate keys deeper in the AVL tree is detected').
13038 % previously avl_apply only checked the immediate children; e.g., r(1), r(4), r(7), r(12), r(18) returned 0
13039 cli_testcase(2717, [b_test,wd], [
13040 '-evalnwd', 'r = {1|->1,1|->2,2|->3} & r(x) = 1',
13041 '-evalnwd', 'r = {1|->1,1|->2,2|->3} & r(x) = 1 & x:dom(r)',
13042 '-evalt', 'r = {1|->1,1|->2,2|->3} & r(x) = 3',
13043 '-evalt', 'r = {1|->1,2|->2,3|->3,4|->2} & r(x) = 2 & x>3',
13044 '-evalt', '{x|r = {1|->1,2|->2,3|->3,4|->2} & r(x) = 2} = {2,4}',
13045 '-evalf', 'r = {1|->1,2|->2} & r(x) = 3',
13046 '-expcterr', well_definedness_error
13047 ], 'Check inverse function application detects that a relation is not a function').
13048 % previously the first two returned TRUE with x=1, as the inverse lookup did not check for a unique image
13049 cli_testcase(2718, [cbc,clpfd], [
13050 '-evalt', 'x:1..10 & y:1..10 & x*x*y /= x*y*y',
13051 '-evalt', 'x:1..10 & y:2..10 & x*x*y /= y*x',
13052 '-evalt', 'x:1..10 & y:1..10 & (x+x+y)*3 /= (x+y+y)*3',
13053 '-evalt', 'x:1..10 & y:1..10 & x+x+y /= x+y+y',
13054 '-evalt', '{x,y|x:1..3 & y:1..3 & x*x*y /= x*y*y} = {x,y|x:1..3 & y:1..3 & x/=y}',
13055 '-evalf', 'x:1..10 & y:1..10 & x*y*x /= x*x*y',
13056 '-evalf', 'x:1..10 & y:1..10 & (x+y)*x /= x*(y+x)'
13057 ], 'Check inequality of products with repeated factors is not treated as inconsistent').
13058 % previously sort/2 removed duplicate factors in comm_assoc_dif, making x*x*y look identical to x*y*y
13059 cli_testcase(2719, [infinite], [
13060 '-evalu', 'NATURAL <: /*@symbolic */ {x|#y.(y:NATURAL & x=y-2)}',
13061 '-expcterr', eval_string_enum_warning
13062 ], 'Check NATURAL <: symbolic superset is not FALSE (it is TRUE; ProB cannot prove it yet)').
13063 cli_testcase(2720, [cbc,clpfd,external], [
13064 '-evalt', 'x:0..3 & r = GCD(x,5) & x < 1 & r=5',
13065 '-evalt', 'x:0..3 & r = LCM(x,5) & x < 1 & r=0',
13066 '-evalt', 'x:-5..5 & GCD(x,0)=3 & x<0',
13067 '-evalt', 'GCD(0,0)=0 & LCM(0,0)=0 & GCD(0,-4)=4 & LCM(-4,0)=0',
13068 '-evalt', '{x,y|x:-3..3 & y:-3..3 & GCD(x,y)=0} = {(0,0)}',
13069 '-evalt', '{x,y|x:-2..2 & y:-2..2 & LCM(x,y)=0} = {x,y|x:-2..2 & y:-2..2 & (x=0 or y=0)}',
13070 '-evalt', '{x,y,r|x:-4..4 & y:-4..4 & r=GCD(x,y)} = {x,y,r|x:-4..4 & y:-4..4 & r:0..4 & r=GCD(x,y)}',
13071 '-evalt', 'x:1..20 & y:1..20 & GCD(x,y)=7 & x<y',
13072 '-evalt', 'x:2..20 & y:2..20 & LCM(x,y)=15 & x<y',
13073 '-evalf', 'x:1..20 & y:-20..20 & GCD(x,y)=0',
13074 '-evalf', 'x:1..20 & y:1..20 & LCM(x,y)=0'
13075 ], 'Check GCD and LCM with zero arguments').
13076 % previously the CLPFD constraints required GCD>0 and LCM>=abs(x); LCM(0,0) raised a division by zero
13077 cli_testcase(2721, [cbc,clpfd,clpfd_tables], [
13078 '-evalt', '(x,y):{(1,2),(2,3),(3,1152921504606846977)} & x>2 & y=1152921504606846977',
13079 '-evalt', '(x,y):{(1,2),(2,3),(3,1152921504606846977)} & y<3 & x=1',
13080 '-evalt', 'x|->y : {(-1152921504606846978,2),(2,3),(3,4)} & y>3 & x=3',
13081 '-evalt', 'r:{rec(a:1,b:2),rec(a:2,b:3),rec(a:3,b:1152921504606846977)} & r\'a>2 & r = rec(a:3,b:1152921504606846977)',
13082 '-evalt', '{x,y|(x,y):{(1,2),(2,3),(3,1152921504606846977),(4,5)} & x>1} = {(2,3),(3,1152921504606846977),(4,5)}',
13083 '-evalf', '(x,y):{(1,2),(2,3),(3,1152921504606846977)} & x>3',
13084 '-evalt', '(x,y):{(1,2),(2,3),(3,4)} & x>2 & y=4'
13085 ], 'Check membership in set of tuples with large integers does not raise CLPFD overflow').
13086 % previously only the root of the AVL tree was checked for large integers before posting a table constraint
13087 cli_testcase(2722, [b_test,wd,sequences], [
13088 '-evalnwd', 'tail({1|->2,1|->3})',
13089 '-evalnwd', 'tail({1|->2,3|->3})',
13090 '-evalnwd', 'rev({1|->2,1|->3,2|->4})',
13091 '-evalnwd', '5->{1|->2,1|->3}',
13092 '-evalnwd', 'conc({1|->[2],1|->[3]})',
13093 '-evalnwd', 'conc({1|->{1|->2,3|->4}})',
13094 '-evalnwd', 'conc({2|->[2]})',
13095 '-evalnwd', '[1]^{1|->2,1|->3}',
13096 '-evalnwd', 'front({2|->7,3|->8})',
13097 '-evalnwd', 'last({2|->7,3|->8})',
13098 '-evalt', 'tail([1,2,3]) = [2,3]',
13099 '-evalt', 'rev([1,2,3]) = [3,2,1]',
13100 '-evalt', '5->[1,2] = [5,1,2]',
13101 '-evalt', 'conc([[1,2],[],[3]]) = [1,2,3]',
13102 '-evalt', 'front([1,2,3]) = [1,2]',
13103 '-evalt', 'last([1,2,3]) = 3',
13104 '-evalt', '[1,2]^[3] = [1,2,3]',
13105 '-evalt', 'rev(x)=[1,2,3] & x=[3,2,1]',
13106 '-evalt', 'x<-5=[1,2,5] & x=[1,2]',
13107 '-evalt', 'tail([7]) = []',
13108 '-expcterr', well_definedness_error
13109 ], 'Check sequence operators detect arguments which are not sequences').
13110 % previously all of the first ten returned a value
13111 cli_testcase(2723, [b_test,wd,sequences], [ '-p', 'TRY_FIND_ABORT', 'TRUE',
13112 '-evalnwd', 'front({1|->7,3|->8})',
13113 '-evalnwd', 'last({1|->7,3|->8})',
13114 '-evalnwd', 'last({1|->7,1|->8,2|->9})',
13115 '-evalt', 'front([1,2,3]) = [1,2]',
13116 '-evalt', 'last([1,2,3]) = 3',
13117 '-expcterr', well_definedness_error
13118 ], 'Check front and last detect arguments which are not sequences with TRY_FIND_ABORT').
13119 % without TRY_FIND_ABORT only cheap O(log n) checks are performed for front and last
13120 cli_testcase(2724, [cbc,clpfd], [
13121 '-evalt', 'y:1..2 & x:{y,1152921504606846977,3} & x<3',
13122 '-evalt', 'y:1..2 & (x,b):{(y,TRUE),(1152921504606846977,FALSE),(3,TRUE)} & x<3',
13123 '-evalt', 'y:1..2 & x:{y,-1152921504606846978,3} & x>2',
13124 '-evalf', 'y:1..2 & x:{y,1152921504606846977,3} & x<1'
13125 ], 'Check filtering of set elements with large integers does not raise CLPFD overflow').
13126 % previously clpfd_can_match_nr raised a representation error for integers outside of the CLPFD range
13127 cli_testcase(2725, [cbc,clpfd], [
13128 '-evalt', 'b:BOOL & x = IF b=TRUE THEN 1152921504606846977 ELSE 1152921504606846978 END',
13129 '-evalt', 'b:BOOL & x = IF b=TRUE THEN 1152921504606846977 ELSE 2 END & x<5 & b=FALSE',
13130 '-evalt', 'b:BOOL & 2 = IF b=TRUE THEN 1152921504606846977 ELSE 2 END & b=FALSE',
13131 '-evalt', 'x = IF b=TRUE THEN 1152921504606846977 ELSE 2 END & x=1152921504606846977 & b=TRUE',
13132 '-evalt', '{b,x|b:BOOL & x = IF b=TRUE THEN 1152921504606846977 ELSE 2 END} = {(TRUE,1152921504606846977),(FALSE,2)}',
13133 '-evalf', 'b:BOOL & 3 = IF b=TRUE THEN 1152921504606846977 ELSE 2 END'
13134 ], 'Check IF-THEN-ELSE expression with large integers does not raise CLPFD overflow').
13135 % previously the element/3 constraint was posted without catching overflows
13136 cli_testcase(2726, [cbc,clpfd,clpfd_tables], [
13137 '-evalt', 'f = {x|->2, y|->3} & x:1..2 & y:4..5 & r = f(4) & r=3 & y=4',
13138 '-evalt', 'f = {x|->(2,x+1), y|->(3,y+1)} & x:1..2 & y:4..5 & r = f(v) & v:3..4 & r=(3,5)',
13139 '-evalt', 'f = {x|->TRUE, y|->FALSE, z|->TRUE} & x:1..2 & y:4..5 & z:7..9 & f(v)=FALSE & v>3 & v=y',
13140 '-evalt', 'f = {x|->rec(a:TRUE,b:x+1), y|->rec(a:FALSE,b:y)} & x:1..2 & y:4..5 & r = f(v) & r\'b>4 & r=rec(a:FALSE,b:5)',
13141 '-evalt', '{v,r|#(f,x,y).(f = {x|->(x+1), y|->(y+1)} & x:1..2 & y:4..5 & r = f(v))} = {1|->2,2|->3,4|->5,5|->6}',
13142 '-evalf', 'f = {x|->2, y|->3} & x:1..2 & y:4..5 & f(v) = 3 & v<4'
13143 ], 'Check element constraint for function application with pairs, booleans and records').
13144 cli_testcase(2728, [b_test,infinite], [
13145 '-evalt', '{x,y| x : {x+1,x+2} & y > 0} = {}',
13146 '-evalt', 'card({x,y| x:{x+1,x+2} & y:NATURAL})=0',
13147 '-evalt', '{x,y| x : {x+1} & y > 0} = {}',
13148 '-evalt', '{x,y| x : {x+1,x+2} & y > 0} : FIN({x,y| x : {x+1,x+2} & y > 0})',
13149 '-evalf', '{x,y| x : {1,2} & y > 0} : FIN({x,y| x : {1,2} & y > 0})',
13150 '-evalt', '{x,y| x : {1,2} & y > 0} /= {}'
13151 ], 'Check closure with a parameter constrained by a set referring to the parameter itself is not treated as infinite').
13152 % previously the first check was FALSE and the second NOT-WELL-DEFINED, as is_infinite_equality_closure did not check that x does not occur in {x+1,x+2}
13153
13154 cli_testcase(2729, [cbc,clpfd], [
13155 '-evalt', 'f = {(a,1)|->1152921504606846977, (b,1)|->2} & a:1..2 & b:3..4 & r = f(x)',
13156 '-evalt', 'f = {(a,1)|->2, (b,1)|->1152921504606846977} & a:1..2 & b:3..4 & r = f(x)',
13157 '-evalt', 'f = {{a}|->1152921504606846977, {b}|->2} & a:1..2 & b:3..4 & r = f(x)',
13158 '-evalt', '{r|#(f,a,b,x).(f = {(a,1)|->2, (b,1)|->1152921504606846977} & a:1..2 & b:3..4 & r = f(x))} = {2,1152921504606846977}',
13159 '-evalt', 'f = {(a,1)|->2, (b,1)|->3} & a:1..2 & b:3..4 & r = f(x) & r>2 & r=3',
13160 '-evalf', 'f = {(a,1)|->2, (b,1)|->1152921504606846977} & a:1..2 & b:3..4 & 3 = f(x)'
13161 ], 'Check range propagation for function application with large integers does not raise CLPFD overflow').
13162 % previously fd_set/2 was called for integers outside of the CLPFD range
13163 cli_testcase(2730, [cbc,clpfd], [
13164 '-evalt', 'y:1..2 & x:{y,1152921504606846977}',
13165 '-evalt', 'y:1..2 & x:{y,1152921504606846977,1152921504606846978}',
13166 '-evalt', '{x|#y.(y:1..2 & x:{y,1152921504606846977})} = {1,2,1152921504606846977}',
13167 '-evalt', 'y:1..2 & (x,b):{(y,TRUE),(1152921504606846977,FALSE)} & b=TRUE & x=y',
13168 '-evalt', '{x|#y.(y:1..2 & x:{y,3})} = 1..3',
13169 '-evalf', 'y:1..2 & x:{y,1152921504606846977} & x=3'
13170 ], 'Check membership in list with large integers does not raise CLPFD overflow').
13171 % previously element/3 was posted without catching overflows
13172 cli_testcase(2731, [cbc,clpfd,clpfd_tables], [
13173 '-evalt', 'f = {a|->1152921504606846977, b|->2} & a:1..2 & b:3..4 & r = f(x)',
13174 '-evalt', 'a:1..2 & b:3..4 & r = {a|->1152921504606846977, b|->2}(x)',
13175 '-evalt', 'f = {a|->2, b|->c} & a:1..2 & b:3..4 & r = f(x) & c=1152921504606846977',
13176 '-evalt', 'f = {a|->1152921504606846977, b|->2} & a:1..2 & b:3..4 & r = f(x) & x>2 & r=2',
13177 '-evalt', 'f = {a|->1152921504606846977, b|->2} & a:1..2 & b:3..4 & 1152921504606846977 = f(x) & x=a',
13178 '-evalf', 'f = {a|->1152921504606846977, b|->2} & a:1..2 & b:3..4 & 3 = f(x)'
13179 ], 'Check function application with large integers in range does not raise CLPFD overflow').
13180 % previously the element/3 constraints for function application were posted without catching overflows
13181 cli_testcase(2732, [b_test,infinite,deferred_sets], ['tests/deferred_sets/InfiniteDeferredSet.mch', '-init',
13182 '-evalt', 'a : S - {b}',
13183 '-evalt', 'r = S /\\ {a,b} & r = {a,b}',
13184 '-evalu', 'r = S - {a} & a/:r',
13185 '-expcterr', 'eval_string_enum_warning'
13186 ], 'Check expanding an infinite deferred set').
13187 % previously enum_fd was called with an upper bound of inf, raising a CLPFD domain error
13188 cli_testcase(2733, [b_test,card,error_checks], [
13189 '-evalt', 'card((1..5) >+>> (1..3)) = 60',
13190 '-evalt', 'card((1..5) >+>> POW(1..1100)) = 0',
13191 '-evalu', 'card(POW(1..1100) >+>> (1..5)) > 0',
13192 '-evalu', 'card(POW(1..1100) -->> (1..5)) > 0',
13193 '-expcterr', card_overflow_error
13194 ], 'Check cardinality of partial bijections with very large domain').
13195 % previously partial_bijection_card called choose_nk with inf_overflow, raising a type error
13196 cli_testcase(2734, [b_test,card], [
13197 '-evalt', 'card((1..4) -->> (1..2)) = 14',
13198 '-evalt', 'card((1..3) +->> (1..2)) = 12',
13199 '-evalt', 'card((1..5) -->> (1..3)) = 150',
13200 '-evalt', 'card((1..2) -->> (1..3)) = 0',
13201 '-evalt', 'card((1..28) -->> (1..14)) = 12970646659082235068963297280000',
13202 '-evalt', 'card((1..40) +->> (1..20)) > 2**100',
13203 '-evalu', 'card((1..2000) -->> (1..2)) > 0',
13204 '-expcterr', card_overflow_error
13205 ], 'Check cardinality of total and partial surjections is computed quickly').
13206 % previously the computation took time exponential in the size of the range (about 8 seconds for 1..28 -->> 1..14)
13207 cli_testcase(2735, [b_test,card], [
13208 '-evalt', 'x = 1000**103 & x = 10**309',
13209 '-evalt', '(-3)**647 < 0',
13210 '-evalt', 'card((1..102) --> (1..1000)) = 10**306',
13211 '-evalt', 'card((1..646) --> (1..3)) = 3**646',
13212 '-evalu', 'card((1..103) --> (1..1000)) > 0',
13213 '-expcterr', card_overflow_error
13214 ], 'Check the overflow threshold for cardinalities of function sets depends on the size of the result').
13215 % previously only the exponent was checked, e.g., 1000^441 was computed exactly but 4^512 was an overflow
13216 cli_testcase(2736, [b_test,model_checking], [
13217 'tests/max_operations/ExactMaxOperations.mch', '-mc', '100', '-nodead', '-strict',
13218 '-p', 'MAX_OPERATIONS', '3'
13219 ], 'Check that an operation with exactly MAX_OPERATIONS solutions does not make model checking incomplete').
13220 cli_testcase(2737, [b_test,model_checking], [
13221 'tests/max_operations/ExactMaxOperations.mch', '-mc', '100', '-nodead', '-strict',
13222 '-p', 'MAX_OPERATIONS', '2', '-expcterr', 'model_check_incomplete'
13223 ], 'Check that an operation with more than MAX_OPERATIONS solutions makes model checking incomplete').
13224 cli_testcase(2738, [b_test,model_checking], [
13225 'tests/max_operations/ExactMaxInitialisations.mch', '-mc', '100', '-nodead', '-strict',
13226 '-p', 'MAX_INITIALISATIONS', '1', '-expcterr', 'model_check_incomplete'
13227 ], 'Constants with exactly one solution and MAX_INITIALISATIONS=1: still reported as incomplete, as constant solving leaves a choicepoint (could be improved)').
13228 cli_testcase(2739, [b_test,model_checking], [
13229 'tests/max_operations/ExactMaxInitialisations.mch', '-mc', '100', '-nodead', '-strict',
13230 '-p', 'MAX_INITIALISATIONS', '2'
13231 ], 'Constants with exactly one solution and MAX_INITIALISATIONS=2: model checking is complete').
13232 % TODO: try and get this to work with MAX_INITIALISATIONS 1
13233 cli_testcase(2740, [b_test,model_checking,invariant], [
13234 'tests/invariant_timeout/InvariantTimeOutOtherState.mch', '-mc', '100', '-bf', '-nodead', '-strict',
13235 '-expcterr', 'invariant_violation', '-expcterr', 'time_out_for_invariant'
13236 ], 'Check that an invariant time-out in one state does not hide an invariant violation in another state').
13237 cli_testcase(2741, [operation_reuse,b_test,model_checking], [
13238 'tests/operation_reuse/OpcGuard.mch', '-mc', '1000', '-nodead', '-strict',
13239 '-p', 'OPERATION_REUSE', 'full',
13240 '-check_op_cache_stats', 12, '_', 3, '_', % 12: Find is computed for every value of h; was 9 when the guard failure was reused
13241 '-expcterr', 'model_check_incomplete', '-expcterr', 'virtual_time_out'
13242 ], 'Check OPERATION_REUSE full does not reuse a guard failure caused by an enumeration warning').
13243 cli_testcase(2742, [b_test,model_checking,invariant], [
13244 'tests/invariant_timeout/InvariantTimeOutSaveState.mch', '-mc', '100', '-bf', '-nodead', '-strict',
13245 '-expcterr', 'time_out_for_invariant', '-expcterr', 'model_check_incomplete',
13246 '-save_state', 'tests/invariant_timeout/InvariantTimeOutSaveState_saved.P'
13247 ], 'Check that -save_state also saves invariant time-outs').
13248 cli_testcase(2743, [b_test,model_checking,invariant], [
13249 'tests/invariant_timeout/InvariantTimeOutSaveState.mch', '-load_state', 'tests/invariant_timeout/InvariantTimeOutSaveState_saved_ref.P', '-mc', '100', '-nodead', '-strict',
13250 '-expcterr', 'time_out_for_invariant', '-expcterr', 'model_check_incomplete'
13251 ], 'Check that invariant time-outs are restored by -load_state').
13252
13253 cli_testcase(2744, [cache], ['tests/cache/sets/v1/SetsCol.mch', '-execute_all', '-evalt', 'a=green',
13254 '-ccache', 'tests/cache/cache/', '-clear_cache', '-p', 'CACHE_OPERATIONS', 'TRUE', '-cache_stats',
13255 '-check_cache_stats', 0, 1], 'Reset cache for SetsCol with SETS COL = {red, green}').
13256 cli_testcase(2745, [cache], ['tests/cache/sets/v2/SetsCol.mch', '-execute_all', '-evalt', 'a=green',
13257 '-ccache', 'tests/cache/cache/', '-p', 'CACHE_OPERATIONS', 'TRUE', '-cache_stats',
13258 '-check_cache_stats', 0, 1], 'Check operations stored in test 2744 are not reused when an enumerated set changes').
13259 % previously compute was reused from the cache, returning fd(2,'COL'), which is blue in v2
13260 cli_testcase(2746, [cache], ['tests/cache/sets/v2/SetsCol.mch', '-execute_all', '-evalt', 'a=green',
13261 '-ccache', 'tests/cache/cache/', '-p', 'CACHE_OPERATIONS', 'TRUE', '-cache_stats',
13262 '-check_cache_stats', 1, 0], 'Check operations stored in test 2745 are reused for unchanged enumerated sets').
13263 cli_testcase(2747, [b_test,model_checking], [
13264 'tests/model_checking/ContinueAfterErrorTimeOut.mch', '-mc', '100000000', '-timeout', '1000', '-bf', '-nodead', '-strict',
13265 '-p', 'mc_continue_after_error', 'TRUE', '-expcterr', 'invariant_violation'
13266 ], 'Check that an error found with mc_continue_after_error is reported when the model checking time-out is reached').
13267 cli_testcase(2748, [b_test,model_checking], [
13268 'tests/model_checking/ContinueAfterGeneralError.mch', '-mc', '100', '-bf', '-nodead', '-strict',
13269 '-p', 'mc_continue_after_error', 'TRUE', '-expcterr', 'well_definedness_error'
13270 ], 'Check model checking with mc_continue_after_error and well-definedness errors in two states').
13271 cli_testcase(2749, [cbc,cbc_tests], [
13272 'tests/cbc/CbcTimeOut.mch', '-cbc', 'all', '-p', 'TIME_OUT', '300', '-strict', '-expcterr', 'cbc',
13273 '-cbc_result_file', 'tests/cbc/CbcTimeOut_result.txt'
13274 ], 'Check that a time-out of the constraint-based invariant check is reported as time_out').
13275 cli_testcase(2750, [eventb_test,model_checking,proof_info], [
13276 'tests/proof_info/ProofInfoTimeOut_mch.eventb', '-mc', '100', '-bf', '-nodead', '-p', 'PROOF_INFO', 'TRUE', '-strict',
13277 '-expcterr', 'invariant_violation', '-expcterr', 'time_out_for_invariant'
13278 ], 'Check that proof information is not used for successors of a state whose invariant check timed out').
13279 cli_testcase(2751, [cbc,cbc_tests], [
13280 'tests/cbc/CbcSequenceAll.mch', '-cbc_sequence_all', 'set', '-check_cbc_sequence_solutions', '3', '-strict'
13281 ], 'Check that -cbc_sequence_all finds all solutions').
13282 cli_testcase(2752, [cbc,cbc_tests], [
13283 'tests/cbc/CbcSequenceAll.mch', '-cbc_sequence_all', 'set;set', '-check_cbc_sequence_solutions', '9', '-strict'
13284 ], 'Check that -cbc_sequence_all finds all solutions for a sequence of two operations').
13285 cli_testcase(2753, [cbc,cbc_tests], [
13286 'tests/cbc/CbcSequenceAll.mch', '-cbc_sequence_with_target_all', 'set;set', 'x>1', '-check_cbc_sequence_solutions', '6', '-strict'
13287 ], 'Check that -cbc_sequence_with_target_all finds all solutions').
13288 cli_testcase(2754, [cbc,cbc_tests], [
13289 'tests/cbc/StaticAssertionWithVariables.mch', '-cbc_assertions', '-expcterr', 'cbc_assertions', '-strict',
13290 '-evalt', 'c=10'
13291 ], 'Check that a counterexample for a static assertion in a machine with variables is added as a constants state').
13292 cli_testcase(2755, [csp_test], [
13293 'tests/csp/CtlAssertionKeepsErrors.csp',
13294 '-csp_assertion', 'P |= CTL: "AG(EF [c])"', '-csp_assertion', 'P |= CTL: "AG(EF [b])"', '-strict',
13295 '-expcterr', 'ltl', '-expcterr', 'ctl', '-expcterr', 'checkAssertion'
13296 ], 'Check that a CTL assertion check does not discard errors of an earlier assertion check').
13297 cli_testcase(2756, [b_test,history], [
13298 'tests/exec_statement/ExecStatementHistory.mch', '-init', '-eval', ':exec v := 2', '-eval', ':exec v := 0', '-strict',
13299 '-his', 'tests/exec_statement/ExecStatementHistory_his.txt'
13300 ], 'Check that a transition added by :exec appears in the history and not as a jump').
13301 cli_testcase(2757, [b_test,trace_replay,json_trace_replay], [
13302 'tests/trace_replay/Postconditions.mch', '-trace_replay', 'json', 'tests/trace_replay/Postconditions_ok.prob2trace', '-strict'
13303 ], 'Check that postconditions in JSON trace files are read and checked').
13304 cli_testcase(2758, [b_test,trace_replay,json_trace_replay], [
13305 'tests/trace_replay/Postconditions.mch', '-trace_replay', 'json', 'tests/trace_replay/Postconditions_fail.prob2trace', '-strict',
13306 '-expcterr', 'replay_json_trace_file', '-expcterr', 'trace_replay'
13307 ], 'Check that a postcondition in a JSON trace file which does not hold is detected').
13308 cli_testcase(2759, [b_test,trace_replay,json_trace_replay], [
13309 'tests/trace_replay/Postconditions.mch', '-trace_replay', 'json', 'tests/trace_replay/Postconditions_preds.prob2trace', '-strict'
13310 ], 'Check that preds and enabledness postconditions of a JSON trace step without destState are evaluated in the full destination state').
13311 cli_testcase(2760, [b_test,trace_replay,json_trace_replay], [
13312 'tests/trace_replay/Postconditions.mch', '-trace_replay', 'json', 'tests/trace_replay/Postconditions_badkind.prob2trace', '-strict',
13313 '-expcterr', 'translate_postcondition', '-expcterr', 'read_json_trace_file', '-expcterr', 'trace_replay'
13314 ], 'Check that a JSON trace file which cannot be translated is reported as a failed replay').
13315 cli_testcase(2761, [b_test,trace_replay,json_trace_replay], [
13316 'tests/trace_replay/NonDetModifiesUnchanged.mch', '-p', 'MAX_OPERATIONS', '0', '-trace_replay', 'json', 'tests/trace_replay/NonDetModifiesUnchanged.prob2trace', '-evalt', 'v=3', '-strict',
13317 '-expcterr', 'replay_json_trace_file', '-expcterr', 'trace_replay'
13318 ], 'Check that replay by predicate keeps the parameters when a step lists modified variables as unchanged').
13319 cli_testcase(2762, [csp_test], ['tests/csp_deadlock/DeadlockTimeOutGuard.csp', '-p', 'TIME_OUT', 500,
13320 '-csp_assertion', 'MAIN :[ deadlock free [F] ]', '-expcterr', 'model_check_incomplete',
13321 '-expcterr', 'time_out'
13322 ], 'Check that a CSP state whose transitions timed out is not reported as deadlock').
13323 % the deadlock check used to report a deadlock in Q
13324 cli_testcase(2763, [csp_test], ['tests/csp_deadlock/DeadlockTimeOutGuard.csp', '-p', 'TIME_OUT', 500,
13325 '-csp_assertion', 'MAIN :[ livelock free [FD] ]', '-expcterr', 'model_check_incomplete',
13326 '-expcterr', 'time_out'
13327 ], 'Check that a CSP livelock check with a time-out reports the check as incomplete').
13328 % the livelock check used to report MAIN as livelock free
13329 cli_testcase(2764, [b_test,exists], [
13330 '-evalf', '#x.(x:INTEGER & x : {x+1, x+2})', % times-out on SICStus 4.10
13331 '-evalt', '#x.(x:INTEGER & x : {x, x+1})',
13332 '-evalt', '#x.(x:INTEGER & x : {1,2})'
13333 ], 'Check that #x.(x:S) is only simplified to TRUE if x does not occur in S').
13334 cli_testcase(2765, [b_test,trace_replay], [
13335 'tests/trace_replay/TraceEncoding.mch', '-trace_replay', 'prolog', 'tests/trace_replay/TraceEncoding_latin1.trace', '-strict'
13336 ], 'Check that a Prolog trace file in ISO-8859-1 encoding can be replayed').
13337 cli_testcase(2766, [b_test,trace_replay], [
13338 'tests/trace_replay/TraceEncoding.mch', '-trace_replay', 'prolog', 'tests/trace_replay/TraceEncoding_utf8.trace', '-strict'
13339 ], 'Check that a Prolog trace file in UTF-8 encoding can be replayed').
13340 cli_testcase(2767, [b_test,trace_replay], [
13341 'tests/trace_replay/TraceEncoding.mch', '-trace_replay', 'prolog', 'tests/trace_replay/TraceEncoding_syntax_error.trace', '-strict',
13342 '-expcterr', 'trace_checking_fails', '-expcterr', 'trace_check'
13343 ], 'Check that a syntax error in a Prolog trace file makes the trace check fail').
13344 cli_testcase(2768, [b_test,exists], [
13345 '-evalf', '#b.(!x0.(x0:{b-1} => b <= x0))',
13346 '-evalf', '#b.(!x0.(x0:{b+1} => b >= x0))',
13347 '-evalt', '#b.(!x0.(x0:{1,5,3} => b <= x0))',
13348 '-evalt', '#b.(!x0.(x0:{1,5,3} => b >= x0))'
13349 ], 'Check that the min/max exists tautology is only applied if b does not occur in the finite set').
13350 cli_testcase(2769, [b_test,sequences], [
13351 '-evalf', 'n=10 & ([5] : {s|#n.(s:1..n --> 0..n)})',
13352 '-evalf', 'n=10 & ([5] : {s|#n.(n:NATURAL1 & s:1..n --> 0..n)})',
13353 '-evalt', '[5] : {s|#n.(s:1..n --> 0..10)}',
13354 '-evalt', '[1,2] : {s|#n.(s:1..n >-> 0..3)}'
13355 ], 'Check that a sequence comprehension is only rewritten to seq(S) if the length variable does not occur in S').
13356 cli_testcase(2770, [b_test,wd], [ '-p', 'TRY_FIND_ABORT', 'TRUE', '-expcterr', well_definedness_error,
13357 '-evalnwd', 'x=1 & r={x|->2,1|->3}(1) & r=2', % Not WD, w/o TRY_FIND_ABORT it is currently true
13358 '-evalt', 'x=2 & r={x|->2,1|->3}(1) & r=3',
13359 '-evalt', 'x=1 & r={x|->2,2|->3}(2) & r=3',
13360 '-evalt', 'r={1|->2,2|->3}(1) & r=2'
13361 ], 'Check that applying a set extension is only simplified if no other left-hand side can match the argument').
13362 cli_testcase(2771, [b_test,wd], [
13363 '-evalt', 'r = INTER(x).(x=1 & x<2|{x}) & r={1}',
13364 '-evalt', 'r = UNION(x).(x=1 & x>2|{x}) & r={}',
13365 '-evalnwd', 'INTER(x).(x=1 & x>2|{x})',
13366 '-expcterr', well_definedness_error
13367 ], 'Check that INTER with a one-point index variable is not well-defined when the index set is empty').
13368 cli_testcase(2772, [b_test,wd], [
13369 'tests/wd_cleanup/ImplTruthWD.mch', '-init', '-expcterr', well_definedness_error, '-opterr', setup_constants_unknown
13370 ], 'Check that P => btrue is only simplified to btrue if P is well-defined').
13371 cli_testcase(2773, [b_test,wd], [
13372 'tests/wd_cleanup/ExistsNotEmptyWD.mch', '-init', '-expcterr', well_definedness_error, '-opterr', setup_constants_unknown
13373 ], 'Check that #x.(x:E) is only simplified to btrue if E is well-defined').
13374 cli_testcase(2774, [b_test], [
13375 'tests/wd_cleanup/ExistsNotEmptyOK.mch', '-init', '-assertions'
13376 ], 'Check that #x.(x:E) is still simplified correctly if E is well-defined').
13377 cli_testcase(2775, [b_test,wd], [
13378 'tests/wd_cleanup/CancelComparisonWD.mch', '-init', '-expcterr', well_definedness_error, '-opterr', setup_constants_unknown
13379 ], 'Check that X+A < X+B is only simplified to A < B if X is well-defined').
13380 cli_testcase(2776, [b_test], [
13381 'tests/wd_cleanup/CancelComparisonOK.mch', '-init', '-assertions'
13382 ], 'Check that cancelling well-defined terms in comparisons is still correct').
13383 cli_testcase(2777, [b_test,wd], [
13384 '-evalt', '(1,x)=(1,3) & x=3',
13385 '-evalf', '(1,x)=(2,3)',
13386 '-evalt', '(x,1) /= (3,1) & x:1..3',
13387 '-evalt', 'f={(1,2)|->3} & (1,x)|->3 : f',
13388 '-evalt', 'a=(1,2) & a=(1,x) & x=2',
13389 '-evalt', '{(1,x)} = {(1,4)} & x=4',
13390 '-evalnwd', 'y=0 & (1/y,x)=(1/y,3)',
13391 '-expcterr', well_definedness_error
13392 ], 'Check simplification of equalities between pairs').
13393 cli_testcase(2778, [b_test], [
13394 'tests/wd_cleanup/ImplTruthOK.mch', '-init', '-assertions',
13395 '-evalt', 'x=0 & (x=1 => btrue)',
13396 '-evalt', 'x=0 & (1/x=1 => btrue)'
13397 ], 'Check that P => btrue is still simplified, and that it is simplified in -eval where WD improvements are allowed').
13398 cli_testcase(2779, [b_test,wd], [
13399 'tests/wd_cleanup/UselessBecomesElementWD.mch', '-p', 'USELESS_CODE_ELIMINATION', 'TRUE', '-mc', 100, '-nodead',
13400 '-expcterr', well_definedness_error
13401 ], 'Check that a useless x :: S in a sequence is only removed if S is well-defined').
13402 cli_testcase(2780, [b_test], [
13403 'tests/wd_cleanup/UselessBecomesElementOK.mch', '-p', 'USELESS_CODE_ELIMINATION', 'TRUE', '-mc', 100, '-nodead', '-cc', 5, 11
13404 ], 'Check that useless code elimination still works for x :: S with S well-defined').
13405 cli_testcase(2781, [b_test,wd], [
13406 'tests/wd_cleanup/MemberComprehensionWD.mch', '-init', '-expcterr', well_definedness_error, '-opterr', setup_constants_unknown
13407 ], 'Check that E:{x|P} is only simplified to P if E is well-defined when x does not occur in P').
13408 cli_testcase(2782, [b_test,wd], [
13409 'tests/wd_cleanup/NotMemberComprehensionWD.mch', '-init', '-expcterr', well_definedness_error, '-opterr', setup_constants_unknown
13410 ], 'Check that E/:{x|P} is only simplified to not(P) if E is well-defined when x does not occur in P').
13411 cli_testcase(2783, [b_test], [
13412 'tests/wd_cleanup/MemberComprehensionOK.mch', '-init', '-assertions'
13413 ], 'Check that E:{x|P} and E/:{x|P} are still simplified correctly').
13414 cli_testcase(2784, [b_test,smt], [
13415 'tests/wd_cleanup/NotDisjointCapture.mch', '-p', 'SMT', 'TRUE', '-init', '-assertions'
13416 ], 'Check that rewriting A /\\ B /= {} into an existential quantifier does not capture an identifier of A or B').
13417 cli_testcase(2785, [b_test,card], [
13418 '-p', 'OPTIMIZE_AST', 'FALSE',
13419 '-evalt', 'perm(NATURAL) = {}',
13420 '-evalf', 'perm(NATURAL) /= {}',
13421 '-evalt', 'card(perm(NATURAL)) = 0',
13422 '-evalt', 'perm(NATURAL) : FIN(perm(NATURAL))',
13423 '-evalt', 'perm(INTEGER) = {} & perm(STRING) = {}',
13424 '-evalt', 'card(perm(1..4)) = 24',
13425 '-evalt', 'perm(1..2) = {[1,2],[2,1]}',
13426 '-evalt', 'perm(1..3) : FIN(perm(1..3))'
13427 ], 'Check that perm(S) is empty and finite for infinite S').
13428 cli_testcase(2786, [b_test,wd], [
13429 'tests/wd_cleanup/CompileConjunctWD.mch', '-init', '-assertions', '-expcterr', well_definedness_error, '-expcterr', check_assertions
13430 ], 'Check that b_compiler only simplifies A & false to false if A is well-defined').
13431 cli_testcase(2787, [b_test,wd], [
13432 'tests/wd_cleanup/CompileDisjunctWD.mch', '-init', '-assertions', '-expcterr', well_definedness_error, '-expcterr', check_assertions
13433 ], 'Check that b_compiler only simplifies A or true to true if A is well-defined').
13434 cli_testcase(2788, [b_test], [
13435 'tests/wd_cleanup/CompileConjunctOK.mch', '-init', '-assertions'
13436 ], 'Check that b_compiler still simplifies conjunctions and disjunctions with well-defined left-hand sides').
13437 cli_testcase(2789, [b_test,wd], [
13438 'tests/wd_cleanup/CompileDomSeqWD.mch', '-init', '-assertions', '-expcterr', well_definedness_error, '-expcterr', check_assertions
13439 ], 'Check that b_compiler does not compute dom of a sequence extension with ill-defined elements').
13440 cli_testcase(2790, [b_test,wd], [
13441 'tests/wd_cleanup/CompileDomSeqOK.mch', '-init', '-assertions'
13442 ], 'Check that b_compiler still computes dom of a sequence extension with well-defined elements').
13443
13444 cli_testcase(2791, [b_test,refinement], [
13445 'tests/refinement_checker/RefSpecCtr.mch', '-mc', 4, '-nodead', '-strict',
13446 '-save', 'tests/refinement_checker/RefSpecCtr_refine_spec.P', '-expcterr', 'model_check_incomplete'
13447 ], 'Save partially explored state space for refinement checking').
13448 cli_testcase(2792, [b_test,refinement], [
13449 'tests/refinement_checker/RefImplCtr.mch', '-refchk', 'tests/refinement_checker/RefSpecCtr_refine_spec_ref.P', '-strict'
13450 ], 'Check refinement against partially explored specification, where the implementation has state ids unexplored in the specification').
13451 % used to report refinement_check_incomplete: implementation state 4 was checked against spec_not_all_transitions_added(4)
13452 cli_testcase(2793, [b_test,refinement], [
13453 'tests/refinement_checker/RefImplCtrBeyond.mch', '-refchk', 'tests/refinement_checker/RefSpecCtr_refine_spec_ref.P', '-strict',
13454 '-expcterr', 'refinement_check_incomplete'
13455 ], 'Check refinement check is incomplete if the implementation goes beyond the explored part of the specification').
13456 cli_testcase(2794, [b_test,refinement], [
13457 'tests/refinement_checker/RefImplCtr.mch', '-ref_check', 'V', 'tests/refinement_checker/RefSpecCtr_refine_spec_ref.P', '-strict',
13458 '-expcterr', 'unsupported_refinement_operator'
13459 ], 'Check that the unsupported revivals model raises an error').
13460 % used to silently perform a trace refinement check
13461 cli_testcase(2795, [cache], ['tests/cache/dsets/v1/DSetMain.mch', '-execute_all', '-evalt', 'n=2',
13462 '-ccache', 'tests/cache/cache/', '-clear_cache', '-p', 'CACHE_OPERATIONS', 'TRUE', '-cache_stats',
13463 '-check_cache_stats', 0, 1], 'Reset cache for DSetMain where the seen machine fixes card(ID)=2').
13464 cli_testcase(2796, [cache], ['tests/cache/dsets/v2/DSetMain.mch', '-execute_all', '-evalt', 'n=3',
13465 '-ccache', 'tests/cache/cache/', '-p', 'CACHE_OPERATIONS', 'TRUE', '-cache_stats',
13466 '-check_cache_stats', 0, 1], 'Check operations stored in test 2795 are not reused when the size of a deferred set of a seen machine changes').
13467 cli_testcase(2797, [cache], ['tests/cache/dsets/v2/DSetMain.mch', '-execute_all', '-evalt', 'n=3',
13468 '-ccache', 'tests/cache/cache/', '-p', 'CACHE_OPERATIONS', 'TRUE', '-cache_stats',
13469 '-check_cache_stats', 1, 0], 'Check operations stored in test 2796 are reused for unchanged deferred set sizes').
13470 cli_testcase(2798, [clingo], [
13471 '-expcterr', b2asp, % warning about restricting STRING
13472 '-evalu', ':clingo s<:STRING & card(s)=5', % was FALSE: only the strings of the formula and some fresh strings were considered
13473 '-evalf', ':clingo s:STRING & s="a" & s="b"' % genuine contradiction, STRING not restricted
13474 ], 'check b2asp does not report a contradiction which is due to restricting the STRING type').
13475 cli_testcase(2799, [b_test], ['tests/definitions/HygArgCapture.mch', '-p', 'HYGIENIC_DEFINITIONS', 'TRUE', '-init', '-assertions',
13476 '-expcterr', bmachine_static_checks, % variables x and p have the same name as definition parameters
13477 '-evalt', 'not(pos(1,x))', '-evalt', 'ok(p+1)', '-evalt', 'inc(x_1+x)=6'
13478 ], 'Check hygienic definitions do not capture identifiers of the call arguments').
13479 cli_testcase(2800, [eventb_test,theories], [
13480 '../prob_examples/public_examples/EventBPrologPackages/Theory/Units/mch_floating_point_version_mch.eventb',
13481 '-strict', '-init',
13482 '-expcterr', bmachine_eventb % warnings: inv and pow translated automatically, div not recognized
13483 ], 'Check unrecognised axiomatic theory operator (div) only gives a warning when loading').
13484 cli_testcase(2801, [eventb_test,theories], [
13485 '../prob_examples/public_examples/EventBPrologPackages/Theory/Units/mch_floating_point_version_mch.eventb',
13486 '-strict', '-init',
13487 '-expcterr', bmachine_eventb, % warnings: inv and pow translated automatically, div not recognized
13488 '-evalt', 'speed = speed', % formulas not using div can be evaluated
13489 '-evalu', 'speed = div(traveled_distance,measured_time)',
13490 '-expcterr', external_functions % evaluating div raises an error
13491 ], 'Check unrecognised axiomatic theory operator (div) raises an error when evaluated').
13492 cli_testcase(2802, [b_test], ['tests/definitions/HygNested.mch', '-p', 'HYGIENIC_DEFINITIONS', 'TRUE', '-init', '-assertions',
13493 '-expcterr', bmachine_static_checks, % variable x has the same name as definition parameters
13494 '-evalt', 'f(x+1) = 13', '-evalt', 'h(x+1) = 7'
13495 ], 'Check fresh identifiers of hygienic definitions do not capture identifiers of nested definitions').
13496 cli_testcase(2803, [b_test], ['tests/record_detection/RecordEmptyDomain.mch', '-p', 'USE_RECORD_CONSTRUCTION', 'TRUE', '-init',
13497 '-expcterr', setup_constants_inconsistent
13498 ], 'Check record detection keeps the property that deferred sets are non-empty').
13499 cli_testcase(2804, [cbc,cbc_deadlock], ['tests/cbc/CbcDeadlockSelectElse.mch', '-cbc_deadlock', '-expcterr', 'cbc_deadlock_check', '-strict'], 'Check that the guard of SELECT with ELSE takes inner guards into account').
13500 cli_testcase(2805, [b_test,wd], [
13501 '-evalnwd', 'a={} & x = a - {1/0}', % set_subtraction: first argument {} determines the value
13502 '-evalnwd', 'a={} & b=0 & x = a <| {1|->1/b}', % domain_restriction
13503 '-evalnwd', 'a : INTEGER <-> INTEGER & a={} & b=0 & x = (a ; {1|->1/b})', % composition
13504 '-evalt', 'a={} & x = a - {1/2}', % second argument is well-defined
13505 '-expcterr', well_definedness_error
13506 ], 'Check WD errors in the second argument are found when the first argument determines the value').
13507 cli_testcase(2806, [b_test], ['tests/record_detection/RecordDomainUsesSet.mch', '-p', 'USE_RECORD_CONSTRUCTION', 'TRUE', '-init',
13508 '-evalt', 'card(S)=card(D) & S/={}'
13509 ], 'Check record detection is not applied if the type of the domain refers to the deferred set').
13510 cli_testcase(2807, [b_test], ['tests/record_detection/RecordAccessors.mch', '-p', 'USE_RECORD_CONSTRUCTION', 'TRUE', '-init',
13511 '-assertions'
13512 ], 'Check record detection with field accessors but without update functions').
13513 cli_testcase(2808, [b_test], ['tests/record_detection/RecordUpdates.mch', '-p', 'USE_RECORD_CONSTRUCTION', 'TRUE', '-init',
13514 '-assertions'
13515 ], 'Check record detection only replaces genuine update functions and assigns them to the right field').
13516 cli_testcase(2809, [cbc,cbc_deadlock], ['tests/cbc/CbcDeadlockImpreciseGuard.mch', '-cbc_deadlock', '-expcterr', 'cbc_deadlock_check_imprecise', '-strict'], 'Check that cbc deadlock checking warns about imprecise guards when no deadlock is found').
13517 cli_testcase(2810, [b_test,pragmas], ['tests/pragmas/PartitionIgnore.mch', '-p', 'USE_IGNORE_PRAGMAS', 'TRUE',
13518 '-init', '-assertions', '-strict'], 'Check that a prob-ignore predicate is not merged into a partition predicate').
13519 cli_testcase(2811, [clingo], ['-p', 'MAXINT', 10, '-p', 'MININT', -10,
13520 '-expcterr', b2asp, % warning about restricting INTEGER
13521 '-evalu', ':clingo s<:INTEGER & card(s)=25', % was FALSE: only MININT..MAXINT was considered
13522 '-evalu', ':clingo x:INTEGER & y:INTEGER & x+y=100 & x=y', % ditto
13523 '-evalf', ':clingo x:INTEGER & x>2 & x<1' % genuine contradiction, INTEGER not restricted
13524 ], 'check b2asp does not report a contradiction which is due to restricting the INTEGER type').
13525 cli_testcase(2812, [cbc], ['tests/cbc/DetCheckEnumWarning.mch', '-init',
13526 '-csv', 'det_check_constants', 'tests/cbc/DetCheckEnumWarning_det.csv',
13527 '-expcterr', 'virtual_time_out', '-expcterr', 'cbc_constants_det_check', '-strict'],
13528 'Check that det_check_constants does not claim a forced value after an enumeration warning').
13529 cli_testcase(2813, [cbc], ['tests/cbc/CbcAssertionsAfterInit.mch',
13530 '-cbc_assertions_after', 'INITIALISATION', '-cbc_assertions_after', 'reset',
13531 '-expcterr', 'cbc', '-strict'],
13532 'Check constraint-based checking of dynamic assertions after INITIALISATION and an operation').
13533 cli_testcase(2814, [b_test], ['tests/substitution_expr/SubstExprCapture.mch', '-init', '-assertions',
13534 '-evalt', 'x=1 & [x:=x+1](x=2)', '-evalt', '!x.(x:1..3 => [x:=x*2](x mod 2 = 0))', '-strict'
13535 ], 'Check that [x:=E](P) does not capture x inside E').
13536 cli_testcase(2815, [cbc], ['tests/cbc/RedundantInvariantsAfterPropagation.mch', '-cbc_redundant_invariants', 2, '-strict'],
13537 'Check that components without identifiers are not skipped when solving for relevant identifiers only').
13538 cli_testcase(2816, [b_test,error_checks], ['tests/error_checks/DoubleAssign.mch',
13539 '-expcterr', type_error, '-expcterr', load_main_file, '-strict'], 'Check that assigning a variable twice in the same assignment or operation call is a type error').
13540 cli_testcase(2817, [b_test,error_checks], ['tests/error_checks/ComplexLetSelfRef.mch', '-p', 'ALLOW_COMPLEX_LETS', 'TRUE',
13541 '-expcterr', type_error, '-expcterr', load_main_file, '-strict'], 'Check that ALLOW_COMPLEX_LETS still rejects self and forward references in LET').
13542 cli_testcase(2818, [b_test], ['tests/error_checks/ComplexLetOk.mch', '-p', 'ALLOW_COMPLEX_LETS', 'TRUE',
13543 '-init', '-mc', 100, '-nodead', '-cc', 3, 3, '-strict'], 'Check that ALLOW_COMPLEX_LETS allows LET to use ids defined earlier').
13544 cli_testcase(2819, [b_test], ['tests/definitions/ForallNestedDef.mch', '-init', '-properties', '-strict'],
13545 'Check that a definition expanding to another definition can be used as body of a universal quantification').
13546 cli_testcase(2820, [b_test], ['tests/definitions/DefCaptureOwnParam.mch', '-init', '-assertions', '-strict'],
13547 'Check that calling D(x) with its own formal parameter name x does not generate a variable capture warning').
13548 cli_testcase(2821, [cbc,execute], ['tests/cbc/ExecuteSelfDisable.mch',
13549 '-execute_all', '-execute_expect_steps', 9, '-strict'],
13550 'Check that -execute static enabling analysis does not wrongly assume an operation disables itself when it modifies identifiers used on the RHS').
13551 cli_testcase(2822, [b_test,error_checks], ['tests/error_checks/OpCallArgType.mch',
13552 '-expcterr', type_error, '-expcterr', load_main_file, '-strict'], 'Check type errors in arguments and results of operation calls').
13553 cli_testcase(2823, [cbc,execute], ['tests/cbc/ExecuteSelfDisableRec.mch',
13554 '-execute_all', '-execute_expect_steps', 7, '-strict'],
13555 'Check -execute static enabling analysis with record field assignments').
13556 cli_testcase(2824, [b_test,error_checks], ['tests/error_checks/OpResultIsArg.mch',
13557 '-expcterrpos', type_error, 4, 11, '-expcterrpos', type_error, 5, 16, '-expcterr', load_main_file, '-strict'],
13558 'Check that an operation result which is also an argument is reported as duplicate identifier').
13559 cli_testcase(2825, [cbc,execute,eventb_test], ['tests/cbc/ExecuteSelfDisableEventB.eventb',
13560 '-execute_all', '-execute_expect_steps', 6, '-strict'],
13561 'Check -execute static enabling analysis for Event-B events').
13562 cli_testcase(2826, [cbc,enabling], ['tests/cbc/EnablingImpreciseGuard.mch',
13563 '-enabling_analysis_csv', 'tests/cbc/EnablingImpreciseGuard_enabling.csv', '-strict'],
13564 'Check that the enabling analysis does not draw conclusions from the negation of an imprecise guard').
13565 cli_testcase(2827, [cbc,enabling], ['tests/cbc/FeasibilityError.mch',
13566 '-feasibility_analysis_csv', 1000, 'tests/cbc/FeasibilityError_feasibility.csv',
13567 '-feasibility_analysis_csv', 1000, 'tests/cbc/FeasibilityError_feasibility2.csv',
13568 '-expcterr', 'well_definedness_error'],
13569 'Check that solver errors are reported in the feasibility analysis and that cached results list all operations').
13570 cli_testcase(2828, [b_test], ['tests/error_checks/CaseNegLiteral.mch', '-mc', 100, '-nodead', '-cc', 5, 5, '-strict'],
13571 'Check that negative numbers are accepted as CASE literals').
13572 cli_testcase(2829, [b_test,error_checks,reals], ['tests/error_checks/CaseRealDuplicate.mch',
13573 '-expcterrpos', type_error, 9, 12, '-expcterr', load_main_file, '-strict'],
13574 'Check that 1.0 and 1.00 are detected as duplicate CASE literals').
13575 cli_testcase(2830, [b_test,reals], ['tests/reals/SetExtReals.mch', '-init', '-assertions', '-strict',
13576 '-p', 'OPTIMIZE_AST', 'TRUE'],
13577 'Check optimised conversion of set and sequence extensions with REAL literals').
13578 cli_testcase(2831, [b_test,error_checks], ['tests/error_checks/ConcatOnIntegers.mch',
13579 '-expcterr', type_error, '-expcterr', load_main_file, '-strict'],
13580 'Check errors for concat on integers and that nested ill-typed concats are type checked quickly').
13581 cli_testcase(2832, [b_test,wd], ['tests/wd_cleanup/SeqGuardWD.mch', '-init', '-strict'],
13582 'Check that sequence operators guarded by s:seq(INTEGER) raise no WD error when s is not a sequence (compiler and exists partitioning)').
13583 cli_testcase(2833, [b_test,wd], ['tests/wd_cleanup/SeqGuardWDError.mch', '-init',
13584 '-expcterr', well_definedness_error, '-expcterr', setup_constants_unknown, '-strict'],
13585 'Check that a sequence operator before its guard still raises a WD error').
13586 cli_testcase(2834, [b_test,wd], ['-evalt', 's = {(2,1)} & not(s : seq(INTEGER) & rev(s) = [1])',
13587 '-evalt', 's = {(2,1)} & not(s : seq(INTEGER) & s^[1] = [2,1])', '-strict'],
13588 'Check that the compiler does not precompute rev or concat before their WD guard').
13589 cli_testcase(2835, [private, tickets, recursion,slot,cse, unsat_core], ['../prob_examples/examples/B/SlotTool/SlotTool_19092014/SlotSolver.mch',
13590 '-init', '-assertions', '-p', 'CSE', 'TRUE' % used to fail
13591 ], 'Ensure complicated unsat core computations keep on working with CSE TRUE (SLOT-24)').
13592 cli_testcase(2836, [b_test,wd], [
13593 '-evalt', 's = {(2,1)} & not(#x.(x:1..2 & s : seq(INTEGER) & rev(s) = [x]))',
13594 '-evalt', 's = {(2,1)} & not(#x.(x:1..2 & s : seq(INTEGER) & first(s) = x))',
13595 '-evalt', 's = {(2,1)} & not(#x.(x:1..2 & s : seq(INTEGER) & size(s) = x))',
13596 '-evalt', 's = {(2,1)} & not(#x.(x:1..2 & s : seq(INTEGER) & s^[x] = [x]))',
13597 '-evalnwd', 's = {(2,1)} & not(#x.(x:1..2 & first(s) = x & s : seq(INTEGER)))',
13598 '-expcterr', well_definedness_error, '-strict'],
13599 'Check that partitioning an exists does not move a sequence operator before its WD guard, also with allow_improving_wd_mode (REPL)').
13600 cli_testcase(2837, [cbc,cbc_tests], ['tests/cbc/CbcTestsXmlEscape.mch',
13601 '-cbc_tests', 1, '1=1', 'tests/cbc/CbcTestsXmlEscape_tests.xml', '-strict'],
13602 'Check that -cbc_tests escapes XML special characters in values and writes modified values of parameterless operations').
13603 cli_testcase(2838, [visb], ['tests/visb/VisBValidAttrValues.mch', '-init',
13604 '-visb', '', 'tests/visb/VisBValidAttrValues.html', '-strict'],
13605 'check that valid SVG attribute values (numeric font-weight, hyphenated alignment-baseline, colour keywords) give no VisB warning').
13606 cli_testcase(2839, [simb], ['tests/simb/SimbSingleParams.mch',
13607 '-simulate', 'tests/simb/SimbSingleParams.json', 15, '-cc', 60, '_', '-strict'],
13608 'Check SimB INITIALISATION activation with a predicate, rescheduling of a single:max activation with parameters and JSON booleans').
13609 cli_testcase(2840, [simb], ['tests/simb/SimbUniform.mch',
13610 '-simulate', 'tests/simb/SimbUniform.json', 30, '-cc', 4, '_', '-strict'],
13611 'Check that SimB transitionSelection uniform chooses among the transitions of all operations in execute').
13612 cli_testcase(2842, [simb], ['tests/simb/SimbUniform.mch',
13613 '-simulate', 'tests/simb/SimbProbZero.json', 30, '-cc', 3, '_', '-strict'],
13614 'Check that a SimB activating entry with probability 0 is never triggered (the last probabilistic entry used to be forced)').
13615 cli_testcase(2843, [b_test,indent], [
13616 '-indent_b_file', 'tests/indent/IndentCase.mch', 'tests/indent/IndentCase_indented.mch',
13617 '-reformat_b_file', 'tests/indent/IndentCase.mch', 'tests/indent/IndentCase_reformatted.mch',
13618 '-indent_b_file', 'tests/indent/IndentCase_indented_saved.mch', 'tests/indent/IndentCase_reindented.mch',
13619 '-strict'],
13620 'Check source indenter: CASE needs two ENDs, multi-line comments, no trailing spaces, and indenting is idempotent').
13621 cli_testcase(2844, [b_test,indent], ['tests/indent/IndentCase_reformatted_saved.mch', '-init', '-strict'],
13622 'Check that the reformatted B machine can still be loaded').
13623 cli_testcase(2845, [b_test,indent], [
13624 % uses the already indented file: should the check ever fail, the file is rewritten with the same content
13625 '-indent_b_file', 'tests/indent/IndentCase_indented_saved.mch', 'tests/indent/./IndentCase_indented_saved.mch',
13626 '-expcterr', probcli, '-strict'],
13627 'Check that the source indenter refuses to overwrite its input file spelled differently').
13628 cli_testcase(2846, [external,b_test], ['tests/pgm/ReadPgmHeaders.mch', '-init', '-assertions', '-strict'],
13629 'check READ_PGM_IMAGE_FILE with tabs, repeated spaces, comments and a one-line header').
13630 cli_testcase(2847, [external,b_test,xml], ['tests/xml/ReadXmlWindows1252.mch', '-init', '-assertions', '-strict'],
13631 'check that READ_XML detects a windows-1252 encoding in the XML header').
13632 cli_testcase(2848, [external,b_test,xml], ['tests/xml/ReadXmlLineNumbers.mch', '-init', '-assertions', '-strict'],
13633 'check READ_XML line numbers of multi-line start tags, trimming of text, and line numbers of JSON values').
13634 cli_testcase(2849, [ctl], ['tests/ltl/CtlEgTwoInits.mch',
13635 '-ctlformulat', 'AF {x=3}', '-ctlformulat', 'AF {x>=2}', '-ctlformulaf', 'EG {x<3}', '-strict'],
13636 'check that a false EG result is recorded in the CTL table, also for states on the explored path').
13637 cli_testcase(2850, [ltl], ['tests/ltl/LtlDeterministic.mch',
13638 '-ltlformulaf', 'G deterministic(a,b,c)', '-ltlformulaf', 'G deterministic(b,a,c)',
13639 '-ltlformulat', 'G deterministic(a,b)', '-ltlformulat', 'G deterministic(b,c)', '-strict'],
13640 'check that a disabled operation does not reset the count in deterministic(...)').
13641 cli_testcase(2851, [ltl,fairness], ['tests/ltl/LtlFairnessParams.mch',
13642 '-ltlformulaf', 'WF(inc(x+1)) => G F {x=0}',
13643 '-ltlformulat', 'WF(inc(x+1)) => G({x=0} => F {x=1})', '-ltlformulaf', 'G({x=0} => F {x=1})', '-strict'],
13644 'check that a fairness pattern like WF(inc(x+1)) is evaluated in the source state of each transition').
13645 cli_testcase(2852, [ltl,fairness], ['tests/ltl/LtlFairnessParams.mch',
13646 '-ltlformulat', 'WEF => G F {x=0}', '-ltlformulat', 'SEF => G F {x=0}',
13647 '-ltlformulaf', 'WEF => G {x<2}', '-ltlformulaf', 'SEF => G {x<2}', '-ltlformulaf', 'WEF => F G {x=2}', '-strict'],
13648 'check fairness on all events for operations with parameters and results (the counterexample loop is re-checked in Prolog)').
13649 cli_testcase(2853, [ltl], ['tests/ltl/LtlPastOnLasso.mch',
13650 '-ltlformulaf', 'G F ({x=1} & Y {x=0})', '-ltlformulat', 'F G ({x=1} => Y {x=2})',
13651 '-ltlformulaf', 'G F ({x=1} & Y Y {x=1} & Y Y Y {x=0})', '-ltlformulat', 'F G ({x=1} => Y Y {x=1})',
13652 '-ltlformulat', 'G F ({x=2} & ({x/=0} S {x=0}))', '-ltlformulat', 'G ({x=2} => O {x=0})',
13653 '-ltlformulaf', 'G F ({x=1} & H {x/=2})', '-ltlformulaf', 'G F ({x=2} & Y Y Y {x=0})', '-strict'],
13654 'check that counterexamples for LTL formulas with past operators pass the Prolog re-check on lassos').
13655 cli_testcase(2854, [ltl,safety], ['tests/ltl/LtlDeadlockNext.mch', '-p', use_safety_ltl_model_checker, true,
13656 '-ltlformulaf', 'G({x=3} => X {x=5})', '-ltlformulaf', 'G({x=3} => X {1=1})', '-ltlformulaf', 'G X true',
13657 '-ltlformulaf', 'G([Inc] or {x<3})', '-ltlformulat', 'G({x=3} => not X {1=1})',
13658 '-ltlformulat', 'G({x<3} => X {x>0})', '-ltlformulat', 'G({x<3} => X true)', '-ltlformulat', 'G({x=3} => not [Inc])', '-strict'],
13659 'check that the safety LTL model checker treats X(...) and [Op] as false in a deadlock, like the C checker').
13660 cli_testcase(2855, [ltl], ['tests/ltl/LtlDeadlockNext.mch', '-p', use_safety_ltl_model_checker, false,
13661 '-ltlformulaf', 'G({x=3} => X {x=5})', '-ltlformulaf', 'G({x=3} => X {1=1})', '-ltlformulaf', 'G X true',
13662 '-ltlformulaf', 'G([Inc] or {x<3})', '-ltlformulat', 'G({x=3} => not X {1=1})',
13663 '-ltlformulat', 'G({x<3} => X {x>0})', '-ltlformulat', 'G({x<3} => X true)', '-ltlformulat', 'G({x=3} => not [Inc])', '-strict'],
13664 'check that X true is not simplified to true (it is false in a deadlock)').
13665 cli_testcase(2856, [b_test,pretty_print], ['tests/pretty_print/PPSeqParallel.mch', '-execute', 2,
13666 '-evalt', 'x=1 & y=1 & z=0 & w=5 & v=5',
13667 '-pp', 'tests/pretty_print/PPSeqParallel_pp.mch', '-strict'],
13668 'Check that -pp puts a sequence inside a parallel into BEGIN ... END').
13669 cli_testcase(2857, [b_test,pretty_print], ['tests/pretty_print/PPSeqParallel_pp_saved.mch', '-execute', 2,
13670 '-evalt', 'x=1 & y=1 & z=0 & w=5 & v=5', '-strict'],
13671 'Check that the pretty-printed machine of test 2856 behaves like the original').
13672 cli_testcase(2858, [eventb_test,pretty_print], ['tests/pretty_print/PPPartition_ctx.eventb', '-init',
13673 '-pp', 'tests/pretty_print/PPPartition_pp.mch', '-strict'],
13674 'Check that -pp adds parentheses for a union inside an expanded partition').
13675 cli_testcase(2859, [b_test,pretty_print], ['tests/pretty_print/PPPartition_pp_saved.mch', '-init',
13676 '-evalt', 's={1,2,3} & a={1} & b={2} & c={3}', '-strict'],
13677 'Check that the pretty-printed partition of test 2858 is still satisfiable').
13678 cli_testcase(2860, [ltl], ['tests/ltl/LtlPastOnLasso.mch', '-v',
13679 '-ltlformulaf', 'F {x=5} or ({x>5} T {x>5})', '-ltlformulat', 'G F {x=2} or ({x>5} T {x>5})', '-strict'],
13680 'check that a liveness formula with the trigger operator T is not sent to the safety model checker in verbose mode').
13681 cli_testcase(2861, [ctl], ['tests/ltl/CtlIncomplete.mch', '-ltllimit', 1, '-ctlformula', 'EF {x=3} & {x=0}',
13682 '-expcterr', ctl_incomplete, '-expcterr', state_space, '-strict'],
13683 'check that CTL reports incomplete (not a definite result) when the state space was not explored far enough').
13684 cli_testcase(2862, [ctl], ['tests/ltl/CtlIncomplete.mch', '-ltllimit', 1, '-ctlformula', 'EF {x=3} or {x=5}',
13685 '-expcterr', ctl_incomplete, '-expcterr', state_space, '-strict'],
13686 'check that CTL reports incomplete (not a definite result) when the state space was not explored far enough').
13687 cli_testcase(2863, [ctl], ['tests/ltl/CtlIncomplete.mch', '-ltllimit', 1, '-ctlformula', 'EX EF {x=3}',
13688 '-expcterr', ctl_incomplete, '-expcterr', state_space, '-strict'],
13689 'check that CTL reports incomplete (not a definite result) when the state space was not explored far enough').
13690 cli_testcase(2864, [ctl], ['tests/ltl/CtlIncomplete.mch', '-ltllimit', 1, '-ctlformula', 'AF {x>=5}',
13691 '-expcterr', ctl_incomplete, '-expcterr', state_space, '-strict'],
13692 'check that CTL reports incomplete (not a definite result) when the state space was not explored far enough').
13693 cli_testcase(2865, [ctl], ['tests/ltl/CtlIncomplete.mch',
13694 '-ctlformulaf', 'EF {x=3} & {x=0}', '-ctlformulaf', 'EF {x=3} or {x=5}', '-ctlformulaf', 'EX EF {x=3}',
13695 '-ctlformulaf', 'AF {x>=5}', '-ctlformulat', 'EG {x<5}', '-ctlformulat', 'EX {x=1}', '-strict'],
13696 'check the CTL formulas of the incomplete tests when the state space is fully explored').
13697 cli_testcase(2866, [ltl,safety], ['tests/ltl/LtlSafetyOrInit.mch', '-p', use_safety_ltl_model_checker, true,
13698 '-ltlformulaf', 'G({x>0} & [Inc])', '-ltlformulaf', 'G({x>=0} & [Inc])', '-ltlformulat', 'G({x>=0} or [Inc])', '-strict'],
13699 'check that duplicate initial product states do not make the safety LTL model checker fail').
13700 cli_testcase(2867, [ltl,ctl], ['tests/ltl/LtlNoInit.mch',
13701 '-ltlformula', 'F {x>0}', '-ctlformula', 'AG {x>0}', '-ltlformulat', 'G {x>0}',
13702 '-expcterr', initialisation_fails, '-expcterr', ltl, '-expcterr', ctl, '-strict'],
13703 'check that LTL and CTL report a missing initial state as an error, not as an internal error').
13704 cli_testcase(2868, [b_test,pretty_print,symmetry_test], ['tests/pretty_print/PPPrefsLibs.mch', '-init', '-evalt', 'c=1 & m=3.0',
13705 '-pp', 'tests/pretty_print/PPPrefsLibs_pp.mch', '-strict'],
13706 'Check that -pp quotes non-boolean SET_PREF values and keeps standard libraries such as LibraryBits.def').
13707 cli_testcase(2869, [b_test,pretty_print,symmetry_test], ['tests/pretty_print/PPPrefsLibs_pp_saved.mch', '-init', '-evalt', 'c=1 & m=3.0', '-strict'],
13708 'Check that the pretty-printed machine of test 2868 can be loaded and behaves like the original').
13709 cli_testcase(2870, [ltl], ['tests/ltl/LtlDeadlockNext.mch', '-ltlfile', 'tests/ltl/LtlFileRodin.ltl', '-strict'],
13710 'check reading an LTL file in Rodin format with indented comments and a formula starting with [').
13711 cli_testcase(2871, [ltl], ['tests/ltl/LtlDeadlockNext.mch', '-ltlfile', 'tests/ltl/LtlFileSections.ltl', '-strict'],
13712 'check reading an LTL file with sections and an indented comment').
13713 cli_testcase(2872, [ltl], ['tests/ltl/LtlDeadlockNext.mch', '-ltlfile', 'tests/ltl/LtlFileSyntaxError.ltl',
13714 '-expcterr', ltl, '-expcterr', ltl_tools, '-strict'], % but no ltl_counterexample error
13715 'check that a formula with a syntax error in an LTL file is reported and not checked as false').
13716 cli_testcase(2873, [b_test,pretty_print], ['tests/pretty_print/PPKeywords.mch', '-init', '-evalt', '`mod`=2 & `EVENTS`=8',
13717 '-pp', 'tests/pretty_print/PPKeywords_pp.mch', '-strict'],
13718 'Check that -pp puts identifiers such as struct, mod, or, VAR, WHEN, rec, FREETYPES, EVENTS into backquotes').
13719 cli_testcase(2874, [b_test,pretty_print], ['tests/pretty_print/PPKeywords_pp_saved.mch', '-init', '-evalt', '`mod`=2 & `EVENTS`=8', '-strict'],
13720 'Check that the pretty-printed machine of test 2873 can be loaded').
13721 cli_testcase(2875, [ltl,cspb], ['tests/ltl/LtlCspbArgs.mch', '-csp-guide', 'tests/ltl/LtlCspbArgs.csp',
13722 '-ltlformulaf', 'G not [get.1.1.0]', '-ltlformulat', 'G not [get.0.1.1]',
13723 '-ltlformulat', 'G ([get._._.0] => X [get._._.1])', '-ltlformulaf', 'G ([get._._.0] => X [get._._.0])', '-strict'],
13724 'check LTL patterns with arguments for CSP||B (the arguments are already parsed by the CSP parser)').
13725 cli_testcase(2876, [ltl,cspb], ['tests/ltl/LtlCspbArgs.mch', '-csp-guide', 'tests/ltl/LtlCspbShortChannel.csp',
13726 '-ltlformulaf', 'G not [get.1.1]', '-ltlformulat', 'G not [get.0.1]', '-strict'],
13727 'check LTL patterns for a CSP channel with fewer components than the B operation has parameters and results').
13728 cli_testcase(2877, [ltl], ['tests/ltl/LtlCalls.mch', '-p', 'STORE_DETAILED_TRANSITION_INFOS', 'TRUE',
13729 '-ltlformulat', 'G([loop] => calls(incr))', '-ltlformulat', 'G([let_call] => calls(get))',
13730 '-ltlformulat', 'G([plain] => calls(incr))', '-ltlformulaf', 'G([let_call] => not calls(get))', '-strict'],
13731 'check that calls(Op) also finds operation calls inside WHILE loops').
13732 cli_testcase(2878, [por], ['tests/por/PorGoal.mch', '-p', por, ample_sets, '-p', por_heur, first, '-mc', 100, '-nodead',
13733 '-expcterr', goal_found, '-strict'],
13734 'check that partial order reduction treats the GOAL as visible').
13735 cli_testcase(2879, [por], ['tests/por/PorAssertion.mch', '-p', por, ample_sets, '-p', por_heur, first, '-mc', 100, '-nodead',
13736 '-expcterr', assertion_violation, '-strict'],
13737 'check that partial order reduction treats dynamic ASSERTIONS as visible').
13738 cli_testcase(2880, [por], ['tests/por/PorGoal.mch', '-p', por, ample_sets2, '-p', por_heur, first, '-mc', 100, '-nodead',
13739 '-expcterr', goal_found, '-strict'],
13740 'check that partial order reduction treats the GOAL as visible').
13741 cli_testcase(2881, [por], ['tests/por/PorAssertion.mch', '-p', por, ample_sets2, '-p', por_heur, first, '-mc', 100, '-nodead',
13742 '-expcterr', assertion_violation, '-strict'],
13743 'check that partial order reduction treats dynamic ASSERTIONS as visible').
13744 cli_testcase(2882, [por], ['tests/por/PorEnableGraph.mch', '-p', por, ample_sets2, '-p', enable_graph, true, '-p', por_heur, first,
13745 '-mc', 1000, '-nodead', '-expcterr', invariant_violation, '-strict'],
13746 'check that ample_sets2 can use the enable graph with predicates (built when enable_graph is true)').
13747 cli_testcase(2883, [por], ['tests/por/PorEnableGraph.mch', '-p', por, ample_sets, '-p', enable_graph, true, '-p', por_heur, first,
13748 '-mc', 1000, '-nodead', '-expcterr', invariant_violation, '-strict'],
13749 'check ample_sets with the enable graph (default depth 1): executing operations along enabling paths').
13750 cli_testcase(2884, [por], ['tests/por/PorEnableGraph.mch', '-p', por, ample_sets, '-p', enable_graph, true, '-p', enable_graph_depth, 2,
13751 '-p', por_heur, first, '-mc', 1000, '-nodead', '-expcterr', invariant_violation, '-strict'],
13752 'check ample_sets with the enable graph at depth 2').
13753 cli_testcase(2885, [cdclt], [
13754 '-evalf', ':cdclt y:INT & (1/y = 2 => y = 7) & y < 1 & y > -1',
13755 '-evalf', ':cdclt y:INT & (1/y = 2 <=> y = 7) & y < 1 & y > -1',
13756 '-evalf', ':cdclt f : 1..3 --> 1..3 & (f(x) = 2 => x = 1) & x = 7',
13757 '-evalf', ':cdclt p <: 1..3 & (min(p) = 2 => p={1}) & p = {}',
13758 '-evalt', ':cdclt y:INT & (1/y = 2 => y = 7) & y = 2',
13759 '-strict'],
13760 'Check that CDCL(T) does not return solutions where the left side of an implication is not well-defined').
13761 cli_testcase(2886, [cdclt], ['tests/cdclt/CdcltTypingOnlyConstant.mch', '-p', 'SOLVER_FOR_PROPERTIES', cdclt, '-init',
13762 '-evalt', 'v = 11 & w = e', '-strict'],
13763 'Check that CDCL(T) binds constants which only occur in typing predicates').
13764 cli_testcase(2887, [cdclt], ['tests/cdclt/CdcltDeferredSet.mch',
13765 '-evalu', ':cdclt-free (card(D) > 5 or x = 1) & x = 2',
13766 '-evalu', ':cdclt-free (card(D) > 5 or x = 1) & (x = 2 or x = 3)',
13767 '-evalf', ':cdclt-free x:1..3 & x > 5', '-strict'],
13768 'Check that CDCL(T) reports unknown rather than false if a conflict depends on an unfixed deferred set').
13769
13770
13771 % indicate which tests require prior tests to be run
13772 test_requires_previous_test(2797,2796).
13773 test_requires_previous_test(2796,2795).
13774 test_requires_previous_test(2746,2745).
13775 test_requires_previous_test(2745,2744).
13776 test_requires_previous_test(2743,2742).
13777 test_requires_previous_test(2679,2678).
13778 test_requires_previous_test(2678,2677).
13779 test_requires_previous_test(2677,2676).
13780 test_requires_previous_test(2676,2675).
13781 test_requires_previous_test(2674,2673).
13782 test_requires_previous_test(2673,2672).
13783 test_requires_previous_test(2672,2671).
13784 test_requires_previous_test(2671,2670).
13785 test_requires_previous_test(2669,2668).
13786 test_requires_previous_test(2668,2667).
13787 test_requires_previous_test(2667,2666).
13788 test_requires_previous_test(2666,2665).
13789 test_requires_previous_test(2665,2664).
13790 test_requires_previous_test(2664,2663).
13791 test_requires_previous_test(2663,2662).
13792 test_requires_previous_test(2661,2660).
13793 test_requires_previous_test(2659,2658).
13794 test_requires_previous_test(2658,2657).
13795 test_requires_previous_test(2656,2655).
13796 test_requires_previous_test(2655,2654).
13797 test_requires_previous_test(2654,2653).
13798 test_requires_previous_test(2652,2651).
13799 test_requires_previous_test(2651,2650).
13800 test_requires_previous_test(2650,2649).
13801 test_requires_previous_test(2649,2648).
13802 test_requires_previous_test(2646,2645).
13803 test_requires_previous_test(2644,2643).
13804 test_requires_previous_test(2642,2641).
13805 test_requires_previous_test(2641,2640).
13806 test_requires_previous_test(2639,2638).
13807 test_requires_previous_test(2638,2637).
13808 test_requires_previous_test(2637,2636).
13809 test_requires_previous_test(2636,2635).
13810
13811 test_requires_previous_test(2584,2583).
13812 test_requires_previous_test(2583,2582).
13813 test_requires_previous_test(2548,2547).
13814 test_requires_previous_test(2547,2546).
13815 test_requires_previous_test(2508,2507).
13816 test_requires_previous_test(2506,2505).
13817
13818 test_requires_previous_test(2503,2502).
13819
13820 test_requires_previous_test(2501,2500).
13821 test_requires_previous_test(2500,2499).
13822 test_requires_previous_test(2499,2498).
13823
13824 % /Users/leuschel/git_root/prob_examples/public_examples/B/Simple/UpCounter.mch -ctlformula 'AG {c<mx}' -p MAXINT 10
13825 % store counter example
13826
13827 % sicstus -l tests/test_runner.pl --goal "id(690-694)."
13828 % INSERT NEW TESTCASES ABOVE THIS LINE; cli_testcase is sorted in ascending order
13829 % ----------------------------------------------------------------------
13830
13831 % ----------------------------------------------------------------------
13832 % ----------------------------------------------------------------------
13833
13834 % ----------------------------------------------------------------------
13835 % IF A NEW TESTCASE REQUIRES CHECKING OUTPUT, ADD NEW LINE(S) BELOW
13836 % cli_testcase_diff_check_output is sorted in descending order
13837 cli_testcase_diff_check_output(2873,'tests/pretty_print/PPKeywords_pp.mch','tests/pretty_print/PPKeywords_pp_saved.mch').
13838 cli_testcase_diff_check_output(2868,'tests/pretty_print/PPPrefsLibs_pp.mch','tests/pretty_print/PPPrefsLibs_pp_saved.mch').
13839 cli_testcase_diff_check_output(2858,'tests/pretty_print/PPPartition_pp.mch','tests/pretty_print/PPPartition_pp_saved.mch').
13840 cli_testcase_diff_check_output(2856,'tests/pretty_print/PPSeqParallel_pp.mch','tests/pretty_print/PPSeqParallel_pp_saved.mch').
13841 cli_testcase_diff_check_output(2791,'tests/refinement_checker/RefSpecCtr_refine_spec.P','tests/refinement_checker/RefSpecCtr_refine_spec_ref.P').
13842
13843 cli_testcase_diff_check_output(2742,'tests/invariant_timeout/InvariantTimeOutSaveState_saved.P','tests/invariant_timeout/InvariantTimeOutSaveState_saved_ref.P').
13844 cli_testcase_diff_check_output(2749,'tests/cbc/CbcTimeOut_result.txt','tests/cbc/CbcTimeOut_result_ref.txt').
13845 cli_testcase_diff_check_output(2756,'tests/exec_statement/ExecStatementHistory_his.txt','tests/exec_statement/ExecStatementHistory_his_ref.txt').
13846 cli_testcase_diff_check_output(2633,'tests/visb/VisBExecKindPred_his.txt','tests/visb/VisBExecKindPred_his_saved.txt').
13847 cli_testcase_diff_check_output(2513,
13848 '../prob_examples/public_examples/B/Tester/OpCalls/UseCopy_rw_matrix.csv',
13849 '../prob_examples/public_examples/B/Tester/OpCalls/UseCopy_rw_matrix_saved.csv').
13850 cli_testcase_diff_check_output(2402,
13851 '../prob_examples/public_examples/EventBPrologPackages/MultiLevel/TestMC_m1_sim_error.dot',
13852 '../prob_examples/public_examples/EventBPrologPackages/MultiLevel/TestMC_m1_sim_error_saved.dot').
13853 cli_testcase_diff_check_output(2220,
13854 '../prob_examples/public_examples/B/VisB/TrafficLight/TrafficLight_Trace.txt',
13855 '../prob_examples/public_examples/B/VisB/TrafficLight/TrafficLight_Trace_Saved.txt').
13856 cli_testcase_diff_check_output(2190,
13857 '../prob_examples/public_examples/CSP/simple/RefinementChecks_A_spec.P',
13858 '../prob_examples/public_examples/CSP/simple/RefinementChecks_A_spec_saved.P').
13859 cli_testcase_diff_check_output(2154,'../prob_examples/public_examples/B/Tickets/PartitionPrettyPrintBug/ABZ16_m4_pp.mch',
13860 '../prob_examples/public_examples/B/Tickets/PartitionPrettyPrintBug/ABZ16_m4_Internal.mch').
13861 cli_testcase_diff_check_output(2094,'../prob_examples/public_examples/TLA/TLA_Google_Group/Einstein/TLA_Examples/prob_cbc_counterexample_test2094.mch',
13862 '../prob_examples/public_examples/TLA/TLA_Google_Group/Einstein/TLA_Examples/prob_cbc_counterexample.mch').
13863 cli_testcase_diff_check_output(2093,'../prob_examples/public_examples/TLA/TLA_Google_Group/Einstein/TLA_Examples/prob_bmc_counterexample_test2093.mch',
13864 '../prob_examples/public_examples/TLA/TLA_Google_Group/Einstein/TLA_Examples/prob_bmc_counterexample.mch').
13865 cli_testcase_diff_check_output(2061,'../prob_examples/examples/B/Alstom/DisproverProject/ProB_Result.txt','../prob_examples/examples/B/Alstom/DisproverProject/ProB_Result_true.txt').
13866 cli_testcase_diff_check_output(2051,
13867 '../prob_examples/public_examples/B/Tester/ReadWriteAnalysis/BecomesSuchTest2_rw.csv',
13868 '../prob_examples/public_examples/B/Tester/ReadWriteAnalysis/BecomesSuchTest2_rw_saved.csv').
13869 cli_testcase_diff_check_output(2050,
13870 '../prob_examples/public_examples/B/Tester/ReadWriteAnalysis/BecomesSuchTest_rw.csv',
13871 '../prob_examples/public_examples/B/Tester/ReadWriteAnalysis/BecomesSuchTest_rw_saved.csv').
13872 cli_testcase_diff_check_output(2035,'../prob_examples/public_examples/B/CBC/DeadlockTest_his.txt','../prob_examples/public_examples/B/CBC/DeadlockTest_his_saved.txt').
13873 cli_testcase_diff_check_output(2031,'../prob_examples/public_examples/B/Benchmarks/CAN_BUS_tlc_rw_matrix.csv','../prob_examples/public_examples/B/Benchmarks/CAN_BUS_tlc_rw_matrix_saved.csv').
13874 cli_testcase_diff_check_output(2826,'tests/cbc/EnablingImpreciseGuard_enabling.csv','tests/cbc/EnablingImpreciseGuard_enabling_saved.csv').
13875 cli_testcase_diff_check_output(2827,'tests/cbc/FeasibilityError_feasibility.csv','tests/cbc/FeasibilityError_feasibility_saved.csv').
13876 cli_testcase_diff_check_output(2827,'tests/cbc/FeasibilityError_feasibility2.csv','tests/cbc/FeasibilityError_feasibility2_saved.csv').
13877 cli_testcase_diff_check_output(2837,'tests/cbc/CbcTestsXmlEscape_tests.xml','tests/cbc/CbcTestsXmlEscape_tests_saved.xml').
13878 cli_testcase_diff_check_output(2843,'tests/indent/IndentCase_indented.mch','tests/indent/IndentCase_indented_saved.mch').
13879 cli_testcase_diff_check_output(2843,'tests/indent/IndentCase_reformatted.mch','tests/indent/IndentCase_reformatted_saved.mch').
13880 cli_testcase_diff_check_output(2843,'tests/indent/IndentCase_reindented.mch','tests/indent/IndentCase_indented_saved.mch').
13881 cli_testcase_diff_check_output(1941,'../prob_examples/public_examples/B/RefinementChecking/LinkingInvariants/M1_invariant.dot', '../prob_examples/public_examples/B/RefinementChecking/LinkingInvariants/M1_invariant_saved.dot').
13882 cli_testcase_diff_check_output(1941,'../prob_examples/public_examples/B/RefinementChecking/LinkingInvariants/M1_hierarchy.dot', '../prob_examples/public_examples/B/RefinementChecking/LinkingInvariants/M1_hierarchy_saved.dot').
13883 cli_testcase_diff_check_output(1937,'../prob_examples/public_examples/B/Pragmas/TestLabel_pp.mch','../prob_examples/public_examples/B/Pragmas/TestLabel_pp_saved.mch').
13884
13885 cli_testcase_diff_check_output(1915,'../prob_examples/examples/B/Alstom/etcs/actions_feasibility.csv',
13886 '../prob_examples/examples/B/Alstom/etcs/actions_feasibility_saved.csv').
13887 cli_testcase_diff_check_output(1904,'../prob_examples/examples/B/ASTD/wetransfer-545a33/Case_Study_Handmade/TRAIN_CONTROL_M6_rw_matrix.csv',
13888 '../prob_examples/examples/B/ASTD/wetransfer-545a33/Case_Study_Handmade/TRAIN_CONTROL_M6_rw_matrix_saved.csv').
13889 cli_testcase_diff_check_output(1840,'../prob_examples/public_examples/Latex/tests/prob_latex_doc.tex',
13890 '../prob_examples/public_examples/Latex/tests/prob_latex_doc_saved.tex').
13891 cli_testcase_diff_check_output(1837,'../prob_examples/public_examples/B/CBC/Enabling/OpCallSelect_feasibility.csv',
13892 '../prob_examples/public_examples/B/CBC/Enabling/OpCallSelect_feasibility_saved.csv').
13893 cli_testcase_diff_check_output(1810,'../prob_examples/public_examples/B/Tickets/UnicodeSupport/TestUmlauteInString_Internal.mch',
13894 '../prob_examples/public_examples/B/Tickets/UnicodeSupport/TestUmlauteInString_Internal_Saved.mch').
13895 cli_testcase_diff_check_output(1797,'../prob_examples/public_examples/B/Ivo/BenchmarksPOR/Concurrent_Program_Development/conc_4_rw_matrix.csv',
13896 '../prob_examples/public_examples/B/Ivo/BenchmarksPOR/Concurrent_Program_Development/conc_4_rw_matrix_saved.csv').
13897 cli_testcase_diff_check_output(1793,'../prob_examples/examples/B/Amira_Genisys/ConferenceReviewSystem/Functional_Simplified_v2_enabling.csv',
13898 '../prob_examples/examples/B/Amira_Genisys/ConferenceReviewSystem/Functional_Simplified_v2_enabling_saved.csv').
13899 cli_testcase_diff_check_output(1771,'../prob_examples/public_examples/B/CBC/Enabling/OpParameterTests_enabling_analysis.csv', '../prob_examples/public_examples/B/CBC/Enabling/OpParameterTests_enabling_analysis_saved.csv').
13900 cli_testcase_diff_check_output(1770,'../prob_examples/public_examples/B/CBC/Enabling/ChoiceByPredicate_enabling_analysis.csv', '../prob_examples/public_examples/B/CBC/Enabling/ChoiceByPredicate_enabling_analysis_saved.csv').
13901 cli_testcase_diff_check_output(1703,'../prob_examples/public_examples/EventBPrologPackages/Advance/CAN_Bus/CB3FSMM_mch_v2_enabling_analysis.csv', '../prob_examples/public_examples/EventBPrologPackages/Advance/CAN_Bus/CB3FSMM_mch_v2_enabling_analysis_saved.csv').
13902 cli_testcase_diff_check_output(1702,'../prob_examples/public_examples/B/Benchmarks/Cruise_finite1_enabling_analysis.csv', '../prob_examples/public_examples/B/Benchmarks/Cruise_finite1_enabling_analysis_saved.csv').
13903 cli_testcase_diff_check_output(1676,'../prob_examples/examples/EventBPrologPackages/Soton/MCM_Tests/tests.xml', '../prob_examples/examples/EventBPrologPackages/Soton/MCM_Tests/FENCEM7_mcm_tests_1675_saved.xml').
13904 cli_testcase_diff_check_output(1675,'../prob_examples/public_examples/B/TestCaseGeneration/MCM_Tests/SimpleTestModel_mcm_tests.xml', '../prob_examples/public_examples/B/TestCaseGeneration/MCM_Tests/SimpleTestModel_mcm_tests_saved.xml').
13905 %cli_testcase_diff_check_output(1665,'../prob_examples/public_examples/B/PragmasUnits/InternalRepresentationTests/Records_internal.mch',
13906 % '../prob_examples/public_examples/B/PragmasUnits/InternalRepresentationTests/Records_internal_saved.mch').
13907 cli_testcase_diff_check_output(1543,'../prob_examples/public_examples/B/Tickets/Beauger2/bug_not_labels_corrected_ppf.mch','../prob_examples/public_examples/B/Tickets/Beauger2/bug_not_labels_corrected_ppf_saved.mch').
13908 cli_testcase_diff_check_output(1494,'../prob_examples/public_examples/B/Ivo/NoDisablings_mx5_Coverage.txt','../prob_examples/public_examples/B/Ivo/NoDisablings_mx5_Coverage_saved.txt').
13909 cli_testcase_diff_check_output(1493,'../prob_examples/public_examples/B/Ivo/SkippingComplexGuardsEvaluation_mch_mx5000_Coverage.txt','../prob_examples/public_examples/B/Ivo/SkippingComplexGuardsEvaluation_mch_mx5000_Coverage_saved.txt').
13910 cli_testcase_diff_check_output(1451,'../prob_examples/examples/B/Alstom/DisproverProject/ProB_Result.txt','../prob_examples/examples/B/Alstom/DisproverProject/ProB_Result_true.txt').
13911 cli_testcase_diff_check_output(1439,'../prob_examples/public_examples/B/Tickets/LambdaInverse/LambdaInverseBehaviour.sptxt','../prob_examples/public_examples/B/Tickets/LambdaInverse/LambdaInverseBehaviour_saved.sptxt').
13912 cli_testcase_diff_check_output(1405,'../prob_examples/public_examples/B/Simple/VerySimpleDFA_transition_diagram.dot','../prob_examples/public_examples/B/Simple/VerySimpleDFA_transition_diagram_saved.dot').
13913 cli_testcase_diff_check_output(1402,'../prob_examples/examples/B/Alstom/DisproverProject/ProB_Result.txt','../prob_examples/examples/B/Alstom/DisproverProject/ProB_Result_true.txt').
13914 cli_testcase_diff_check_output(1389,'../prob_examples/examples/B/Alstom/DisproverProject/ProB_Result.txt','../prob_examples/examples/B/Alstom/DisproverProject/ProB_Result_defset.txt').
13915 cli_testcase_diff_check_output(1388,'../prob_examples/examples/B/Alstom/DisproverProject/ProB_Result.txt','../prob_examples/examples/B/Alstom/DisproverProject/ProB_Result_true.txt').
13916 cli_testcase_diff_check_output(1387,'../prob_examples/examples/B/Alstom/DisproverProject/ProB_Result.txt','../prob_examples/examples/B/Alstom/DisproverProject/ProB_Result_enumwarning.txt').
13917 cli_testcase_diff_check_output(1386,'../prob_examples/examples/B/Alstom/DisproverProject/ProB_Result.txt','../prob_examples/examples/B/Alstom/DisproverProject/ProB_Result_false.txt').
13918 cli_testcase_diff_check_output(1383,'../prob_examples/examples/B/Alstom/Ticket_Dec08_2014/Segment_refAdhesionLevel_GER5_sptxt.txt','../prob_examples/examples/B/Alstom/Ticket_Dec08_2014/Segment_refAdhesionLevel_GER5_sptxt_saved.txt').
13919 cli_testcase_diff_check_output(1378,'../prob_examples/examples/B/Alstom/CompilatonProject/Regles/Rule_DB_SIGAREA_0024_ori.his','../prob_examples/examples/B/Alstom/CompilatonProject/Regles/Rule_DB_SIGAREA_0024_ori_saved.his').
13920 cli_testcase_diff_check_output(1377,'../prob_examples/examples/B/Alstom/CompilatonProject/Regles/Rule_TMS_Overlap_0017_2_ori.his','../prob_examples/examples/B/Alstom/CompilatonProject/Regles/Rule_TMS_Overlap_0017_2_ori_saved.his').
13921 cli_testcase_diff_check_output(1377,'../prob_examples/examples/B/Alstom/CompilatonProject/Regles/Rule_TMS_Overlap_0017_2_ori.sptxt','../prob_examples/examples/B/Alstom/CompilatonProject/Regles/Rule_TMS_Overlap_0017_2_ori_saved.sptxt').
13922 % the provided counter-example varies for test 1366:
13923 %cli_testcase_diff_check_output(1366,'../prob_examples/public_examples/B/SymbolicModelChecking/TimingExampleSimpler_v2_his.txt',
13924 % '../prob_examples/public_examples/B/SymbolicModelChecking/TimingExampleSimpler_v2_his_saved.txt').
13925 cli_testcase_diff_check_output(1364,'../prob_examples/public_examples/B/Demo/scheduler_his.txt',
13926 '../prob_examples/public_examples/B/Demo/scheduler_his_ctl_saved.txt').
13927 cli_testcase_diff_check_output(1363,'../prob_examples/public_examples/B/Simple/UpCounter_his.txt',
13928 '../prob_examples/public_examples/B/Simple/UpCounter_his_ctl20_saved.txt').
13929 cli_testcase_diff_check_output(1360,'../prob_examples/public_examples/B/CBC/FeasibilityOperationCheck_feasibility.csv',
13930 '../prob_examples/public_examples/B/CBC/FeasibilityOperationCheck_feasibility_saved.csv').
13931 cli_testcase_diff_check_output(1358,'../prob_examples/examples/EventBPrologPackages/Savary/R08_ByteArray_enum_partition_feasibility.csv',
13932 '../prob_examples/examples/EventBPrologPackages/Savary/R08_ByteArray_enum_partition_feasibility_saved.csv').
13933 cli_testcase_diff_check_output(1357,'../prob_examples/public_examples/B/Benchmarks/Cruise_finite1_cbc_tests.xml',
13934 '../prob_examples/public_examples/B/Benchmarks/Cruise_finite1_cbc_tests_saved.xml').
13935 cli_testcase_diff_check_output(1341,'../prob_examples/public_examples/B/Demo/Bakery0_all_paths.xml',
13936 '../prob_examples/public_examples/B/Demo/Bakery0_all_paths_saved.xml').
13937 %cli_testcase_diff_check_output(1339,'../prob_examples/public_examples/B/PragmasUnits/InternalRepresentationTests/GenericUsageOfSquare_internal.mch',
13938 % '../prob_examples/public_examples/B/PragmasUnits/InternalRepresentationTests/GenericUsageOfSquare_internal_saved.mch').
13939 cli_testcase_diff_check_output(1319,'../prob_examples/public_examples/B/Demo/scheduler_bf_states.P','../prob_examples/public_examples/B/Demo/scheduler_bf_saved_states.P').
13940 cli_testcase_diff_check_output(1271,'../prob_examples/public_examples/B/Tickets/Hansen10/PrettyPrintBug_his.txt','../prob_examples/public_examples/B/Tickets/Hansen10/PrettyPrintBug_his_saved.txt').
13941 cli_testcase_diff_check_output(1196,'../prob_examples/public_examples/B/Benchmarks/CarlaTravelAgencyErr.csv','../prob_examples/public_examples/B/Benchmarks/CarlaTravelAgencyErr_saved.csv').
13942 cli_testcase_diff_check_output(1148,'../prob_examples/public_examples/B/Ivo/BenchmarksPOR/Peterson/peterson_R_Coverage_POR.txt','../prob_examples/public_examples/B/Ivo/BenchmarksPOR/Peterson/peterson_R_Coverage_saved.txt').
13943 cli_testcase_diff_check_output(1147,'../prob_examples/public_examples/B/Ivo/BenchmarksPOR/Peterson/em_abs_Coverage_POR.txt','../prob_examples/public_examples/B/Ivo/BenchmarksPOR/Peterson/em_abs_Coverage_saved.txt').
13944 cli_testcase_diff_check_output(1144,'../prob_examples/public_examples/B/Ivo/BenchmarksPOR/BPEL2B/Model_Machine_4_NoDeadlock_v5_Coverage_POR.txt','../prob_examples/public_examples/B/Ivo/BenchmarksPOR/BPEL2B/Model_Machine_4_NoDeadlock_v5_Coverage_saved.txt').
13945 cli_testcase_diff_check_output(1119,'../prob_examples/public_examples/CSPB/Tickets/Bauer/machine_his.txt','../prob_examples/public_examples/CSPB/Tickets/Bauer/machine_his_saved.txt').
13946 cli_testcase_diff_check_output(1116,'../prob_examples/public_examples/EventBPrologPackages/Tests/UnicodeIds_spdot.dot','../prob_examples/public_examples/EventBPrologPackages/Tests/UnicodeIds_spdot_saved.dot').
13947 cli_testcase_diff_check_output(1045,'../prob_examples/examples/RodinModels/Deploy/Bosch/CruiseControl/CrsCtl_m4_Coverage_pge.txt','../prob_examples/examples/RodinModels/Deploy/Bosch/CruiseControl/CrsCtl_m4_Coverage.txt').
13948 cli_testcase_diff_check_output(1044,'../prob_examples/public_examples/B/EventB/EventB_Projekt/lift_solution_Coverage_pge.txt','../prob_examples/public_examples/B/EventB/EventB_Projekt/lift_solution_Coverage.txt').
13949 cli_testcase_diff_check_output(1043,'../prob_examples/public_examples/B/Benchmarks/CAN_BUS_tlc.cov','../prob_examples/public_examples/B/Benchmarks/CAN_BUS_tlc_saved.cov').
13950 cli_testcase_diff_check_output(1033,'../prob_examples/public_examples/B/Benchmarks/scheduler_transition_diagram.dot','../prob_examples/public_examples/B/Benchmarks/scheduler_transition_diagram_saved.dot').
13951 cli_testcase_diff_check_output(989,'../prob_examples/public_examples/EventBPrologPackages/PerformanceTests/LargeConstants_ctx_internal.mch','../prob_examples/public_examples/EventBPrologPackages/PerformanceTests/LargeConstants_ctx_internal_saved.mch').
13952 cli_testcase_diff_check_output(988,'../prob_examples/public_examples/CSP/simple/Copy_spmdot.dot','../prob_examples/public_examples/CSP/simple/Copy_spmdot_saved.dot').
13953 cli_testcase_diff_check_output(988,'../prob_examples/public_examples/CSP/simple/Copy_spddot.dot','../prob_examples/public_examples/CSP/simple/Copy_spddot_saved.dot').
13954 cli_testcase_diff_check_output(987,'../prob_examples/public_examples/EventBPrologPackages/Advance/CAN_Bus/CB3FSMM_mch_v2_por.cov','../prob_examples/public_examples/EventBPrologPackages/Advance/CAN_Bus/CB3FSMM_mch_v2.cov').
13955 cli_testcase_diff_check_output(977,'../prob_examples/public_examples/B/Ivo/BridgeTransitions_por.cov','../prob_examples/public_examples/B/Ivo/BridgeTransitions.cov').
13956 cli_testcase_diff_check_output(982,'../prob_examples/examples/B/Alstom/CompilatonProject/Regles/Rule_TMS_Overlap_0017_1_ori.his','../prob_examples/examples/B/Alstom/CompilatonProject/Regles/Rule_TMS_Overlap_0017_1_ori_saved.his').
13957 cli_testcase_diff_check_output(981,'../prob_examples/examples/B/Alstom/CompilatonProject/Regles/Rule_DB_Route_0001ori.his','../prob_examples/examples/B/Alstom/CompilatonProject/Regles/Rule_DB_Route_0001ori_saved.his').
13958 cli_testcase_diff_check_output(980,'../prob_examples/examples/B/Alstom/CompilatonProject/Regles/Rule_DB_SIGAREA_0024_ori.his','../prob_examples/examples/B/Alstom/CompilatonProject/Regles/Rule_DB_SIGAREA_0024_ori_saved.his').
13959 cli_testcase_diff_check_output(979,'../prob_examples/examples/B/Alstom/CompilatonProject/Regles/Rule_TMS_Overlap_0017_2_ori.his','../prob_examples/examples/B/Alstom/CompilatonProject/Regles/Rule_TMS_Overlap_0017_2_ori_saved.his').
13960 %cli_testcase_diff_check_output(957,'../prob_examples/public_examples/B/PragmasUnits/InternalRepresentationTests/DifferentUnitNotations_internal.mch',
13961 %'../prob_examples/public_examples/B/PragmasUnits/InternalRepresentationTests/DifferentUnitNotations_internal_saved.mch').
13962 cli_testcase_diff_check_output(944,'../prob_examples/public_examples/Eval/evalout.dot','../prob_examples/public_examples/Eval/evalout_saved.dot').
13963 %cli_testcase_diff_check_output(942,'../prob_examples/public_examples/B/PragmasUnits/InternalRepresentationTests/Case_internal.mch',
13964 %'../prob_examples/public_examples/B/PragmasUnits/InternalRepresentationTests/Case_internal_saved.mch').
13965 cli_testcase_diff_check_output(894,'../prob_examples/public_examples/B/Daniel/minienabling_analysis.csv',
13966 '../prob_examples/public_examples/B/Daniel/minienabling_analysis_saved.csv').
13967 %cli_testcase_diff_check_output(881,'../prob_examples/public_examples/B/PragmasUnits/InternalRepresentationTests/Choice_internal.mch',
13968 %'../prob_examples/public_examples/B/PragmasUnits/InternalRepresentationTests/Choice_internal_saved.mch').
13969 %cli_testcase_diff_check_output(865,'../prob_examples/public_examples/CSP/mydemos/OtherCoverageTests/TestingUnicodeFeatures_no_unicode.csp',
13970 %'../prob_examples/public_examples/CSP/mydemos/OtherCoverageTests/TestingUnicodeFeatures_no_unicode_saved.csp').
13971 %cli_testcase_diff_check_output(864,'../prob_examples/public_examples/CSP/mydemos/OtherCoverageTests/TestingUnicodeFeatures_unicode.csp',
13972 %'../prob_examples/public_examples/CSP/mydemos/OtherCoverageTests/TestingUnicodeFeatures_unicode_saved.csp').
13973 cli_testcase_diff_check_output(808,'../prob_examples/public_examples/B/Benchmarks/CarlaTravelAgencyErr_state_graph.dot',
13974 '../prob_examples/public_examples/B/Benchmarks/CarlaTravelAgencyErr_state_graph_saved.dot').
13975 cli_testcase_diff_check_output(767,'../prob_examples/examples/B/Siemens/BAC9_ZC/pas_as_env_inv_ld_sptxt.txt',
13976 '../prob_examples/examples/B/Siemens/BAC9_ZC/pas_as_env_inv_ld_sptxt_saved.txt').
13977 %cli_testcase_diff_check_output(707,'../prob_examples/public_examples/B/PragmasUnits/CaseStudies/Abrial_Hybrid/hybrid_nuclear/C_m3_internal.mch',
13978 %'../prob_examples/public_examples/B/PragmasUnits/CaseStudies/Abrial_Hybrid/hybrid_nuclear/C_m3_internal_saved.mch').
13979 %cli_testcase_diff_check_output(706,'../prob_examples/public_examples/B/PragmasUnits/CaseStudies/Abrial_Hybrid/hybrid_nuclear/C_m2_internal.mch',
13980 %'../prob_examples/public_examples/B/PragmasUnits/CaseStudies/Abrial_Hybrid/hybrid_nuclear/C_m2_internal_saved.mch').
13981 %cli_testcase_diff_check_output(705,'../prob_examples/public_examples/B/PragmasUnits/CaseStudies/Abrial_Hybrid/hybrid_nuclear/C_m1_internal.mch',
13982 %'../prob_examples/public_examples/B/PragmasUnits/CaseStudies/Abrial_Hybrid/hybrid_nuclear/C_m1_internal_saved.mch').
13983 %cli_testcase_diff_check_output(704,'../prob_examples/public_examples/B/PragmasUnits/CaseStudies/Abrial_Hybrid/hybrid_nuclear/C_m0_internal.mch',
13984 %'../prob_examples/public_examples/B/PragmasUnits/CaseStudies/Abrial_Hybrid/hybrid_nuclear/C_m0_internal_saved.mch').
13985 %cli_testcase_diff_check_output(701,'../prob_examples/public_examples/B/PragmasUnits/CaseStudies/Abrial_Hybrid/hybrid_train/T_m1_internal.mch',
13986 %'../prob_examples/public_examples/B/PragmasUnits/CaseStudies/Abrial_Hybrid/hybrid_train/T_m1_internal_saved.mch').
13987 %cli_testcase_diff_check_output(700,'../prob_examples/public_examples/B/PragmasUnits/CaseStudies/Abrial_Hybrid/hybrid_train/T_m0_internal.mch',
13988 %'../prob_examples/public_examples/B/PragmasUnits/CaseStudies/Abrial_Hybrid/hybrid_train/T_m0_internal_saved.mch').
13989 %cli_testcase_diff_check_output(696,'../prob_examples/public_examples/B/PragmasUnits/InferenceTests/InvolvedConstraintUnitsUnsat_internal.mch',
13990 %'../prob_examples/public_examples/B/PragmasUnits/InferenceTests/InvolvedConstraintUnitsUnsat_internal_saved.mch').
13991 %cli_testcase_diff_check_output(695,'../prob_examples/public_examples/B/PragmasUnits/InferenceTests/InvolvedConstraintUnits_internal.mch',
13992 %'../prob_examples/public_examples/B/PragmasUnits/InferenceTests/InvolvedConstraintUnits_internal_saved.mch').
13993 %cli_testcase_diff_check_output(686,'../prob_examples/public_examples/B/PragmasUnits/InternalRepresentationTests/SequenceOperations_internal.mch',
13994 %'../prob_examples/public_examples/B/PragmasUnits/InternalRepresentationTests/SequenceOperations_internal_saved.mch').
13995 %cli_testcase_diff_check_output(683,'../prob_examples/public_examples/B/PragmasUnits/InternalRepresentationTests/AdditionConversion_internal.mch',
13996 %'../prob_examples/public_examples/B/PragmasUnits/InternalRepresentationTests/AdditionConversion_internal_saved.mch').
13997 %cli_testcase_diff_check_output(681,'../prob_examples/public_examples/B/PragmasUnits/InternalRepresentationTests/IntegerOperations_internal.mch',
13998 %'../prob_examples/public_examples/B/PragmasUnits/InternalRepresentationTests/IntegerOperations_internal_saved.mch').
13999 %cli_testcase_diff_check_output(680,'../prob_examples/public_examples/B/PragmasUnits/CaseStudies/FuelLevel/fuel_i_internal.mch',
14000 %'../prob_examples/public_examples/B/PragmasUnits/CaseStudies/FuelLevel/fuel_i_internal_saved.mch').
14001 %cli_testcase_diff_check_output(679,'../prob_examples/public_examples/B/PragmasUnits/CaseStudies/FuelLevel/fuel0_internal.mch',
14002 %'../prob_examples/public_examples/B/PragmasUnits/CaseStudies/FuelLevel/fuel0_internal_saved.mch').
14003 %cli_testcase_diff_check_output(678,'../prob_examples/public_examples/B/PragmasUnits/CaseStudies/FuelLevel/ctx_i_internal.mch',
14004 %'../prob_examples/public_examples/B/PragmasUnits/CaseStudies/FuelLevel/ctx_i_internal_saved.mch').
14005 %cli_testcase_diff_check_output(677,'../prob_examples/public_examples/B/PragmasUnits/CaseStudies/FuelLevel/ctx_internal.mch',
14006 %'../prob_examples/public_examples/B/PragmasUnits/CaseStudies/FuelLevel/ctx_internal_saved.mch').
14007 %cli_testcase_diff_check_output(676,'../prob_examples/public_examples/B/PragmasUnits/InternalRepresentationTests/UserDefinedAlias_internal.mch',
14008 %'../prob_examples/public_examples/B/PragmasUnits/InternalRepresentationTests/UserDefinedAlias_internal_saved.mch').
14009 %cli_testcase_diff_check_output(675,'../prob_examples/public_examples/B/PragmasUnits/InternalRepresentationTests/IfTypeAndClash_internal.mch',
14010 %'../prob_examples/public_examples/B/PragmasUnits/InternalRepresentationTests/IfTypeAndClash_internal_saved.mch').
14011 %cli_testcase_diff_check_output(673,'../prob_examples/public_examples/B/PragmasUnits/InternalRepresentationTests/IrregularConversions_internal.mch',
14012 % '../prob_examples/public_examples/B/PragmasUnits/InternalRepresentationTests/IrregularConversions_internal_saved.mch').
14013 %cli_testcase_diff_check_output(667,'../prob_examples/public_examples/B/PragmasUnits/CaseStudies/TrafficLightWarning/System_internal.mch',
14014 % '../prob_examples/public_examples/B/PragmasUnits/CaseStudies/TrafficLightWarning/System_internal_saved.mch').
14015 %cli_testcase_diff_check_output(666,'../prob_examples/public_examples/B/PragmasUnits/CaseStudies/TrafficLightWarning/TrafficLight_internal.mch',
14016 % '../prob_examples/public_examples/B/PragmasUnits/CaseStudies/TrafficLightWarning/TrafficLight_internal_saved.mch').
14017 %cli_testcase_diff_check_output(665,'../prob_examples/public_examples/B/PragmasUnits/CaseStudies/TrafficLightWarning/Car_internal.mch',
14018 % '../prob_examples/public_examples/B/PragmasUnits/CaseStudies/TrafficLightWarning/Car_internal_saved.mch').
14019 %cli_testcase_diff_check_output(662,'../prob_examples/public_examples/B/PragmasUnits/InternalRepresentationTests/KnownExponent_internal.mch',
14020 % '../prob_examples/public_examples/B/PragmasUnits/InternalRepresentationTests/KnownExponent_internal_saved.mch').
14021 %cli_testcase_diff_check_output(661,'../prob_examples/public_examples/B/PragmasUnits/InternalRepresentationTests/MultiplicationConversion_internal.mch',
14022 %'../prob_examples/public_examples/B/PragmasUnits/InternalRepresentationTests/MultiplicationConversion_internal_saved.mch').
14023 %cli_testcase_diff_check_output(657,'../prob_examples/public_examples/B/PragmasUnits/InternalRepresentationTests/SimpleCorrectUsage_internal.mch',
14024 % '../prob_examples/public_examples/B/PragmasUnits/InternalRepresentationTests/SimpleCorrectUsage_internal_saved.mch').
14025 cli_testcase_diff_check_output(634,'../prob_examples/public_examples/B/Kodkod/Loop_statespace.dot',
14026 '../prob_examples/public_examples/B/Kodkod/Loop_statespace_saved.dot').
14027 cli_testcase_diff_check_output(616,'../prob_examples/public_examples/B/Tester/Partition_internal.mch',
14028 '../prob_examples/public_examples/B/Tester/Partition_internal_saved.mch').
14029 cli_testcase_diff_check_output(613,'../prob_examples/public_examples/B/Pragmas/AssertionPragmas_internal.mch',
14030 '../prob_examples/public_examples/B/Pragmas/AssertionPragmas_internal_saved.mch').
14031 cli_testcase_diff_check_output(540,'../prob_examples/public_examples/B/TestCaseGeneration/SimpleCounter_results.xml',
14032 '../prob_examples/public_examples/B/TestCaseGeneration/SimpleCounter_results_saved.xml').
14033
14034 cli_testcase_diff_check_output(514,'../prob_examples/public_examples/B/Mathematical/Voting/dot_output/NoCondorcetWinnerKodkod_A0_true.dot','../prob_examples/public_examples/B/Mathematical/Voting/dot_output/NoCondorcetWinnerKodkod_A0_true_saved.dot').
14035 cli_testcase_diff_check_output(514,'../prob_examples/public_examples/B/Mathematical/Voting/dot_output/NoCondorcetWinnerKodkod_A1_true.dot','../prob_examples/public_examples/B/Mathematical/Voting/dot_output/NoCondorcetWinnerKodkod_A1_true_saved.dot').
14036 cli_testcase_diff_check_output(514,'../prob_examples/public_examples/B/Mathematical/Voting/dot_output/NoCondorcetWinnerKodkod_A2_true.dot','../prob_examples/public_examples/B/Mathematical/Voting/dot_output/NoCondorcetWinnerKodkod_A2_true_saved.dot').
14037 cli_testcase_diff_check_output(514,'../prob_examples/public_examples/B/Mathematical/Voting/dot_output/NoCondorcetWinnerKodkod_A3_true.dot','../prob_examples/public_examples/B/Mathematical/Voting/dot_output/NoCondorcetWinnerKodkod_A3_true_saved.dot').
14038
14039
14040 cli_testcase_diff_check_output(584,'../prob_examples/public_examples/TLA/ErrorTests/GraphIso_tla.mch', '../prob_examples/public_examples/TLA/ErrorTests/GraphIso_tla_saved.mch').
14041 cli_testcase_diff_check_output(563,'../prob_examples/public_examples/B/Daniel/TestM_testcases.xml', '../prob_examples/public_examples/B/Daniel/TestM_testcases_saved.xml').
14042 cli_testcase_diff_check_output(562,'../prob_examples/public_examples/EventBPrologPackages/Pitesti/bank_testfile.xml','../prob_examples/public_examples/EventBPrologPackages/Pitesti/bank_testfile_saved.xml').
14043 cli_testcase_diff_check_output(515,'../prob_examples/public_examples/B/Demo/scheduler_spdot.dot','../prob_examples/public_examples/B/Demo/scheduler_spdot_saved.dot').
14044 cli_testcase_diff_check_output(515,'../prob_examples/public_examples/B/Demo/scheduler_spmdot.dot','../prob_examples/public_examples/B/Demo/scheduler_spmdot_saved.dot').
14045 cli_testcase_diff_check_output(515,'../prob_examples/public_examples/B/Demo/scheduler_spddot.dot','../prob_examples/public_examples/B/Demo/scheduler_spddot_saved.dot').
14046 cli_testcase_diff_check_output(510,'../prob_examples/public_examples/B/Laws/RelLaws_internal.mch','../prob_examples/public_examples/B/Laws/RelLaws_internal_saved.mch').
14047 cli_testcase_diff_check_output(500,'../prob_examples/public_examples/B/Benchmarks/Cruise_finite1_pp.mch','../prob_examples/public_examples/B/Benchmarks/Cruise_finite1_prettyprintedf.mch').
14048 cli_testcase_diff_check_output(499,'../prob_examples/public_examples/B/Benchmarks/Cruise_finite1_pp.mch','../prob_examples/public_examples/B/Benchmarks/Cruise_finite1_prettyprintedf.mch').
14049 cli_testcase_diff_check_output(498,'../prob_examples/public_examples/B/Benchmarks/Cruise_finite1_pp.mch','../prob_examples/public_examples/B/Benchmarks/Cruise_finite1_pp_saved.mch').
14050 cli_testcase_diff_check_output(497,'../prob_examples/public_examples/B/Benchmarks/Cruise_finite1_pp.mch','../prob_examples/public_examples/B/Benchmarks/Cruise_finite1_prettyprinted.mch').
14051 cli_testcase_diff_check_output(451,'../prob_examples/public_examples/B/Simple/UpCounter_his.txt','../prob_examples/public_examples/B/Simple/UpCounter_his_saved.txt').
14052 cli_testcase_diff_check_output(452,'../prob_examples/public_examples/B/Simple/UpCounter_his.txt','../prob_examples/public_examples/B/Simple/UpCounter_his_saved2.txt').
14053 cli_testcase_diff_check_output(453,'../prob_examples/public_examples/B/Simple/UpCounter_his.txt','../prob_examples/public_examples/B/Simple/UpCounter_his_saved3.txt').
14054 cli_testcase_diff_check_output(454,'../prob_examples/public_examples/B/Simple/UpCounter_his.txt','../prob_examples/public_examples/B/Simple/UpCounter_his_saved4.txt').
14055 cli_testcase_diff_check_output(455,'../prob_examples/public_examples/B/Simple/UpCounter_sptxt.txt','../prob_examples/public_examples/B/Simple/UpCounter_sptxt_saved.txt').
14056 cli_testcase_diff_check_output(461,'../prob_examples/public_examples/B/Daniel/rel_fnc_his.txt','../prob_examples/public_examples/B/Daniel/rel_fnc_his_saved.txt').
14057
14058 cli_testcase_diff_check_output(462,'../prob_examples/public_examples/B/Simple/UpCounter_his.txt','../prob_examples/public_examples/B/Simple/UpCounter_his_saved3.txt').
14059 cli_testcase_diff_check_output(463,'../prob_examples/public_examples/B/CBC/SimpleDeadlock1_his.txt','../prob_examples/public_examples/B/CBC/SimpleDeadlock1_his_saved.txt'). % FAILS with old write_history
14060 cli_testcase_diff_check_output(464,'../prob_examples/public_examples/B/CBC/ProcessIDStarvation_InvErr_his.txt','../prob_examples/public_examples/B/CBC/ProcessIDStarvation_InvErr_his_saved.txt').
14061 cli_testcase_diff_check_output(466,'../prob_examples/public_examples/B/PerformanceTests/WhileLoopBench_his.txt','../prob_examples/public_examples/B/PerformanceTests/WhileLoopBench_saved_his.txt').
14062 cli_testcase_diff_check_output(467,'../prob_examples/public_examples/B/FeatureChecks/IFTHENELSE_his.txt','../prob_examples/public_examples/B/FeatureChecks/IFTHENELSE_saved_his.txt').
14063 cli_testcase_diff_check_output(468,'../prob_examples/public_examples/B/Puzzles/Farmer_sptxt.txt','../prob_examples/public_examples/B/Puzzles/Farmer_saved_sptxt.txt').
14064 cli_testcase_diff_check_output(468,'../prob_examples/public_examples/B/Puzzles/Farmer_his.txt','../prob_examples/public_examples/B/Puzzles/Farmer_saved_his.txt').
14065 cli_testcase_diff_check_output(469,'../prob_examples/public_examples/B/PerformanceTests/LargeSets/LargeExplicitSet_sptxt.txt','../prob_examples/public_examples/B/PerformanceTests/LargeSets/LargeExplicitSet_saved_sptxt.txt').
14066 cli_testcase_diff_check_output(470,'../prob_examples/public_examples/EventBPrologPackages/Abrial_Train_Ch17/train_4_mch_lukas_his.txt','../prob_examples/public_examples/EventBPrologPackages/Abrial_Train_Ch17/train_4_mch_lukas_saved_his.txt').
14067 cli_testcase_diff_check_output(470,'../prob_examples/public_examples/EventBPrologPackages/Abrial_Train_Ch17/train_4_mch_lukas_sptxt.txt','../prob_examples/public_examples/EventBPrologPackages/Abrial_Train_Ch17/train_4_mch_lukas_saved_sptxt.txt').
14068 cli_testcase_diff_check_output(471,'../prob_examples/public_examples/B/Benchmarks/CarlaTravelAgencyErr_sptxt.txt','../prob_examples/public_examples/B/Benchmarks/CarlaTravelAgencyErr_saved_sptxt.txt').
14069 cli_testcase_diff_check_output(471,'../prob_examples/public_examples/B/Benchmarks/CarlaTravelAgencyErr_his.txt','../prob_examples/public_examples/B/Benchmarks/CarlaTravelAgencyErr_saved_his.txt').
14070 cli_testcase_diff_check_output(472,'../prob_examples/public_examples/B/SchneiderBook/Chapter12/TownsRRR_sptxt.txt','../prob_examples/public_examples/B/SchneiderBook/Chapter12/TownsRRR_saved_sptxt.txt').
14071 cli_testcase_diff_check_output(472,'../prob_examples/public_examples/B/SchneiderBook/Chapter12/TownsRRR_his.txt','../prob_examples/public_examples/B/SchneiderBook/Chapter12/TownsRRR_saved_his.txt').
14072 cli_testcase_diff_check_output(473,'../prob_examples/public_examples/B/NewSyntax/SET_Game_Rec_sptxt.txt','../prob_examples/public_examples/B/NewSyntax/SET_Game_Rec_saved_sptxt.txt').
14073 cli_testcase_diff_check_output(473,'../prob_examples/public_examples/B/NewSyntax/SET_Game_Rec_his.txt','../prob_examples/public_examples/B/NewSyntax/SET_Game_Rec_saved_his.txt').
14074 cli_testcase_diff_check_output(474,'../prob_examples/public_examples/B/ExpressionViewer/dot_output/TotFunAnalyseTest_A0_true.dot','../prob_examples/public_examples/B/ExpressionViewer/dot_output/TotFunAnalyseTest_A0_true_saved.dot').
14075 cli_testcase_diff_check_output(474,'../prob_examples/public_examples/B/ExpressionViewer/dot_output/TotFunAnalyseTest_A1_false.dot','../prob_examples/public_examples/B/ExpressionViewer/dot_output/TotFunAnalyseTest_A1_false_saved.dot').
14076 cli_testcase_diff_check_output(474,'../prob_examples/public_examples/B/ExpressionViewer/dot_output/TotFunAnalyseTest_A2_false.dot','../prob_examples/public_examples/B/ExpressionViewer/dot_output/TotFunAnalyseTest_A2_false_saved.dot').
14077 cli_testcase_diff_check_output(474,'../prob_examples/public_examples/B/ExpressionViewer/dot_output/TotFunAnalyseTest_A3_false.dot','../prob_examples/public_examples/B/ExpressionViewer/dot_output/TotFunAnalyseTest_A3_false_saved.dot').
14078 cli_testcase_diff_check_output(474,'../prob_examples/public_examples/B/ExpressionViewer/dot_output/TotFunAnalyseTest_A4_false.dot','../prob_examples/public_examples/B/ExpressionViewer/dot_output/TotFunAnalyseTest_A4_false_saved.dot').
14079 cli_testcase_diff_check_output(476,'../prob_examples/public_examples/B/Tickets/Mejia1/TestInit_statespace.dot','../prob_examples/public_examples/B/Tickets/Mejia1/TestInit_statespace_saved.dot').
14080 cli_testcase_diff_check_output(479,'../prob_examples/public_examples/B/Puzzles/WhoKilledAgatha_statespace.dot','../prob_examples/public_examples/B/Puzzles/WhoKilledAgatha_statespace_saved.dot').
14081 cli_testcase_diff_check_output(480,'../prob_examples/public_examples/B/Benchmarks/Cruise_finite1_statespace.dot','../prob_examples/public_examples/B/Benchmarks/Cruise_finite1_statespace_saved.dot').
14082 cli_testcase_diff_check_output(383,'../prob_examples/public_examples/B/Puzzles/SudokuHexAsConstant_sptxt.txt','../prob_examples/public_examples/B/Puzzles/SudokuHexAsConstant_sptxt_saved.txt').
14083 cli_testcase_diff_check_output(2812,'tests/cbc/DetCheckEnumWarning_det.csv','tests/cbc/DetCheckEnumWarning_det_saved.csv').
14084
14085 % specify that a testcase output file should not be deleted before running the tests
14086 cli_testcase_do_not_delete(584,'../prob_examples/public_examples/TLA/ErrorTests/GraphIso_tla.mch').
14087
14088 % declaration of additinoal testcase files; in order to be able to generate archives
14089 % of standalone tests
14090 extra_testcase_file(305,'../prob_examples/public_examples/B/Laws/REPL_UNIT_TESTS0.def').
14091 extra_testcase_file(306,'../prob_examples/public_examples/B/Laws/REPL_UNIT_TESTS1.def').
14092 extra_testcase_file(307,'../prob_examples/public_examples/B/Laws/REPL_UNIT_TESTS.def').
14093 extra_testcase_file(465,'../prob_examples/public_examples/B/Simple/UpCounter_saved10.P').
14094 extra_testcase_file(472,'../prob_examples/public_examples/B/SchneiderBook/Chapter12/TownsRR.ref').
14095 extra_testcase_file(472,'../prob_examples/public_examples/B/SchneiderBook/Chapter12/TownsR.ref').
14096 extra_testcase_file(472,'../prob_examples/public_examples/B/SchneiderBook/Chapter12/Towns.mch').
14097 extra_testcase_file(475,'../prob_examples/public_examples/B/Laws/REPL_UNIT_TESTS2.def').
14098
14099 % use
14100 % sicstus -l tests/test_runner.pl --goal "run_last_test, halt ; halt."
14101 % or
14102 % make runlast
14103 % to just run last test case
14104 % use
14105 % sicstus -l tests/test_runner.pl --goal "id(ID), halt ; halt."
14106 % to run a specific test