From 6a916a0eb4e9a348c3efb56ca705a5bc86cbf28d Mon Sep 17 00:00:00 2001 From: ajreynol Date: Thu, 20 Aug 2026 12:28:34 -0500 Subject: [PATCH 1/2] Refactoring non-conforming benchmarks, fix SMT-LIB to standard syntax. --- README.md | 82 +- .../General_Track/from_2018/array_sum_2_15.sl | 7 - .../General_Track/from_2018/array_sum_2_5.sl | 7 - .../General_Track/from_2018/twolets10.sl | 36 - .../General_Track/from_2018/twolets6.sl | 36 - .../General_Track/from_2018/twolets7.sl | 36 - .../General_Track/from_2018/twolets8.sl | 36 - .../General_Track/from_2018/twolets9.sl | 36 - .../Inv_Track/cegist-cav18/cegar2.sl | 27 - ...nchmark_svcomp_const_true-unreach-call1.sl | 25 - ...ark_svcomp_functions_true-unreach-call1.sl | 23 - ...mark_svcomp_multivar_true-unreach-call1.sl | 25 - ...hmark_svcomp_overflow_true-unreach-call.sl | 23 - ...chmark_svcomp_phases_true-unreach-call2.sl | 25 - ...chmark_svcomp_simple_true-unreach-call1.sl | 23 - ...chmark_svcomp_simple_true-unreach-call2.sl | 23 - ...chmark_svcomp_simple_true-unreach-call3.sl | 25 - ...chmark_svcomp_simple_true-unreach-call4.sl | 23 - ...k_svcomp_underapprox_true-unreach-call1.sl | 25 - ...k_svcomp_underapprox_true-unreach-call2.sl | 25 - .../Inv_Track/cegist-cav18/dec_simpl.sl | 24 - .../Inv_Track/cegist-cav18/formula22.sl | 26 - .../Inv_Track/cegist-cav18/hola.05.sl | 29 - .../Inv_Track/cegist-cav18/hola.44.sl | 29 - .../Inv_Track/cegist-cav18/hola_add.sl | 27 - .../Inv_Track/cegist-cav18/inc_simp.sl | 25 - lib/General_Track/from_2018/General_plus10.sl | 2 +- .../from_2018/array_sum_10_15.sl | 3 +- .../General_Track/from_2018/array_sum_10_5.sl | 3 +- lib/General_Track/from_2018/array_sum_2_15.sl | 8 + lib/General_Track/from_2018/array_sum_2_5.sl | 8 + .../General_Track/from_2018/array_sum_3_15.sl | 3 +- .../General_Track/from_2018/array_sum_3_5.sl | 3 +- .../General_Track/from_2018/array_sum_4_15.sl | 3 +- .../General_Track/from_2018/array_sum_4_5.sl | 7 +- .../General_Track/from_2018/array_sum_5_15.sl | 3 +- .../General_Track/from_2018/array_sum_6_15.sl | 3 +- .../General_Track/from_2018/array_sum_6_5.sl | 3 +- .../General_Track/from_2018/array_sum_7_15.sl | 3 +- .../General_Track/from_2018/array_sum_7_5.sl | 3 +- .../General_Track/from_2018/array_sum_8_15.sl | 3 +- .../General_Track/from_2018/array_sum_8_5.sl | 3 +- .../General_Track/from_2018/array_sum_9_15.sl | 3 +- .../General_Track/from_2018/array_sum_9_5.sl | 3 +- .../General_Track/from_2018/logcount-d1.sl | 15 +- .../General_Track/from_2018/logcount-d5.sl | 15 +- .../General_Track/from_2018/logcount.sl | 21 +- .../General_Track/from_2018/logcount2-d1.sl | 15 +- .../General_Track/from_2018/logcount2-d5.sl | 15 +- .../General_Track/from_2018/logcount2.sl | 15 +- .../General_Track/from_2018/seven_c1.sl | 7 +- .../General_Track/from_2018/seven_c2.sl | 7 +- .../General_Track/from_2018/seven_c3.sl | 7 +- .../General_Track/from_2018/seven_c4.sl | 7 +- .../General_Track/from_2018/seven_three_d0.sl | 10 +- .../General_Track/from_2018/seven_three_d1.sl | 10 +- .../General_Track/from_2018/sevenfuncs.sl | 21 +- .../General_Track/from_2018/three.sl | 5 +- .../General_Track/from_2018/three_d0.sl | 7 +- .../General_Track/from_2018/three_d1.sl | 7 +- .../General_Track/from_2018/three_d2.sl | 7 +- .../General_Track/from_2018/three_d3.sl | 7 +- .../General_Track/from_2018/twolets1.sl | 10 +- lib/General_Track/from_2018/twolets10.sl | 38 + .../General_Track/from_2018/twolets3.sl | 10 +- .../General_Track/from_2018/twolets4.sl | 10 +- .../General_Track/from_2018/twolets5.sl | 10 +- lib/General_Track/from_2018/twolets6.sl | 38 + lib/General_Track/from_2018/twolets7.sl | 38 + lib/General_Track/from_2018/twolets8.sl | 38 + lib/General_Track/from_2018/twolets9.sl | 38 + .../find_cc_const_eq_bvadd_x_s_t.sl | 0 .../find_cc_const_eq_bvand_x_s_t.sl | 0 .../find_cc_const_eq_bvashr_s_x_t.sl | 0 .../find_cc_const_eq_bvashr_x_s_t.sl | 0 .../find_cc_const_eq_bvlshr_s_x_t.sl | 0 .../find_cc_const_eq_bvlshr_x_s_t.sl | 0 .../find_cc_const_eq_bvmul_x_s_t.sl | 0 .../find_cc_const_eq_bvshl_s_x_t.sl | 0 .../find_cc_const_eq_bvshl_x_s_t.sl | 0 .../find_cc_const_eq_bvudiv_s_x_t.sl | 0 .../find_cc_const_eq_bvudiv_x_s_t.sl | 0 .../find_cc_const_eq_bvurem_s_x_t.sl | 0 .../find_cc_const_eq_bvurem_x_s_t.sl | 0 .../find_cc_const_eq_bvxor_x_s_t.sl | 0 .../find_cc_const_eq_x_s.sl | 0 .../find_ic_const_eq_bvadd_x_s_t.sl | 0 .../find_ic_const_eq_bvand_x_s_t.sl | 0 .../find_ic_const_eq_bvashr_s_x_t.sl | 0 .../find_ic_const_eq_bvashr_x_s_t.sl | 0 .../find_ic_const_eq_bvlshr_s_x_t.sl | 0 .../find_ic_const_eq_bvlshr_x_s_t.sl | 0 .../find_ic_const_eq_bvmul_x_s_t.sl | 0 .../find_ic_const_eq_bvshl_s_x_t.sl | 0 .../find_ic_const_eq_bvshl_x_s_t.sl | 0 .../find_ic_const_eq_bvudiv_s_x_t.sl | 0 .../find_ic_const_eq_bvudiv_x_s_t.sl | 0 .../find_ic_const_eq_bvurem_s_x_t.sl | 0 .../find_ic_const_eq_bvurem_x_s_t.sl | 0 .../find_ic_const_eq_bvxor_x_s_t.sl | 0 .../find_ic_const_eq_x_s.sl | 0 .../uclid5/IntSW-system-assign-1.ucl.sl | 0 .../uclid5/IntSW-system-if-1.ucl.sl | 0 .../uclid5/IntSW-system-if-2.ucl.sl | 0 .../Intersection_BMC-system-assign-1.ucl.sl | 0 .../Intersection_BMC-system-assign-2.ucl.sl | 0 .../Intersection_BMC-system-if-1.ucl.sl | 0 .../Intersection_BMC-system-if-2.ucl.sl | 0 ...ection_Induction-spec-replace-inv-1.ucl.sl | 0 ...ection_Induction-spec-replace-inv-2.ucl.sl | 0 ...ection_Induction-spec-replace-inv-3.ucl.sl | 0 ...ection_Induction-spec-replace-inv-4.ucl.sl | 0 ...ection_Induction-spec-replace-inv-5.ucl.sl | 0 ...sophers-no-deadlock-system-assign-1.ucl.sl | 0 ...sophers-no-deadlock-system-assign-2.ucl.sl | 0 ...hilosophers-no-deadlock-system-if-1.ucl.sl | 0 ...hilosophers-no-deadlock-system-if-2.ucl.sl | 0 ...electronic_purse-spec-replace-inv-1.ucl.sl | 0 ...ctronic_purse-system-replace-func-1.ucl.sl | 0 ...ctronic_purse-system-replace-func-2.ucl.sl | 0 .../ex4.5-traffic-light-system-assign.ucl.sl | 0 .../ex4.5-traffic-light-system-if.ucl.sl | 0 ...two-phase-commit-spec-replace-inv-1.ucl.sl | 0 ...two-phase-commit-spec-replace-inv-2.ucl.sl | 0 ...two-phase-commit-spec-replace-inv-3.ucl.sl | 0 ...two-phase-commit-spec-replace-inv-4.ucl.sl | 0 .../Inv_Track/andrew_lustre/ccp01.lus.sl | 710 ++++-------- .../Inv_Track/andrew_lustre/ccp02.lus.sl | 710 ++++-------- .../Inv_Track/andrew_lustre/ccp03.lus.sl | 698 ++++------- .../Inv_Track/andrew_lustre/ccp04.lus.sl | 690 ++++------- .../Inv_Track/andrew_lustre/ccp05.lus.sl | 690 ++++------- .../Inv_Track/andrew_lustre/ccp06.lus.sl | 1028 ++++------------- .../Inv_Track/andrew_lustre/ccp07.lus.sl | 991 ++++------------ .../Inv_Track/andrew_lustre/ccp08.lus.sl | 920 ++++----------- .../Inv_Track/andrew_lustre/ccp09.lus.sl | 995 ++++------------ .../Inv_Track/andrew_lustre/ccp15.lus.sl | 999 ++++------------ .../Inv_Track/andrew_lustre/ccp16.lus.sl | 5 +- .../Inv_Track/andrew_lustre/ccp17.lus.sl | 999 ++++------------ .../Inv_Track/andrew_lustre/ccp18.lus.sl | 912 ++++----------- .../Inv_Track/andrew_lustre/ccp19.lus.sl | 1024 ++++------------ .../Inv_Track/andrew_lustre/ccp20.lus.sl | 1024 ++++------------ .../andrew_lustre/cruise_controller_01.lus.sl | 504 ++++---- .../andrew_lustre/cruise_controller_02.lus.sl | 504 ++++---- .../andrew_lustre/cruise_controller_03.lus.sl | 500 ++++---- .../andrew_lustre/cruise_controller_04.lus.sl | 500 ++++---- .../andrew_lustre/cruise_controller_05.lus.sl | 500 ++++---- .../andrew_lustre/cruise_controller_06.lus.sl | 599 ++++------ .../andrew_lustre/cruise_controller_07.lus.sl | 598 ++++------ .../andrew_lustre/cruise_controller_10.lus.sl | 599 ++++------ .../andrew_lustre/cruise_controller_11.lus.sl | 599 ++++------ .../andrew_lustre/cruise_controller_12.lus.sl | 562 ++++----- .../andrew_lustre/cruise_controller_13.lus.sl | 594 ++++------ .../andrew_lustre/cruise_controller_14.lus.sl | 566 ++++----- .../andrew_lustre/cruise_controller_18.lus.sl | 595 ++++------ .../andrew_lustre/cruise_controller_19.lus.sl | 595 ++++------ .../andrew_lustre/cruise_controller_24.lus.sl | 562 ++++----- .../andrew_lustre/microwave03.lus.sl | 2 +- .../andrew_lustre/microwave04.lus.sl | 2 +- .../andrew_lustre/microwave05.lus.sl | 2 +- .../andrew_lustre/microwave17.lus.sl | 2 +- .../andrew_lustre/microwave19.lus.sl | 2 +- .../andrew_lustre/microwave21.lus.sl | 2 +- .../andrew_lustre/microwave22.lus.sl | 2 +- .../andrew_lustre/microwave24.lus.sl | 2 +- .../andrew_lustre/microwave26.lus.sl | 2 +- .../andrew_lustre/microwave27.lus.sl | 2 +- .../andrew_lustre/microwave29.lus.sl | 2 +- .../andrew_lustre/microwave30.lus.sl | 2 +- .../andrew_lustre/production_cell.lus.sl | 2 +- .../production_cell_e7_207_e8_241.lus.sl | 2 +- .../andrew_lustre/production_cell_e8_6.lus.sl | 2 +- .../production_cell_e8_792.lus.sl | 2 +- lib/Inv_Track/andrew_lustre/stalmark.lus.sl | 2 +- .../andrew_lustre/stalmark_e7_27.lus.sl | 2 +- .../andrew_lustre/stalmark_e7_27_e7_31.lus.sl | 2 +- .../andrew_lustre/stalmark_e7_76.lus.sl | 2 +- .../andrew_lustre/steam_boiler_no_arr1.lus.sl | 2 +- ...eam_boiler_no_arr1_e4_23904_e4_2384.lus.sl | 2 +- lib/Inv_Track/andrew_lustre/tramway.lus.sl | 2 +- .../andrew_lustre/tramway_e7_1834.lus.sl | 2 +- .../tramway_e7_1834_e7_2363.lus.sl | 2 +- .../tramway_e7_1834_e8_3192.lus.sl | 2 +- .../andrew_lustre/tramway_e7_3304.lus.sl | 2 +- lib/Inv_Track/andrew_lustre/ums.lus.sl | 2 +- .../andrew_lustre/ums_e8_1032.lus.sl | 2 +- lib/Inv_Track/cegist-cav18/cegar2.sl | 21 + ...nchmark_svcomp_const_true-unreach-call1.sl | 21 + ...hmark_svcomp_diamond_true-unreach-call1.sl | 12 +- ...hmark_svcomp_diamond_true-unreach-call2.sl | 12 +- ...ark_svcomp_functions_true-unreach-call1.sl | 21 + ...mark_svcomp_multivar_true-unreach-call1.sl | 21 + ...hmark_svcomp_overflow_true-unreach-call.sl | 21 + ...chmark_svcomp_phases_true-unreach-call1.sl | 10 +- ...chmark_svcomp_phases_true-unreach-call2.sl | 21 + ...chmark_svcomp_simple_true-unreach-call1.sl | 21 + ...chmark_svcomp_simple_true-unreach-call2.sl | 21 + ...chmark_svcomp_simple_true-unreach-call3.sl | 21 + ...chmark_svcomp_simple_true-unreach-call4.sl | 21 + ...k_svcomp_underapprox_true-unreach-call1.sl | 21 + ...k_svcomp_underapprox_true-unreach-call2.sl | 21 + lib/Inv_Track/cegist-cav18/dec_simpl.sl | 20 + lib/Inv_Track/cegist-cav18/formula22.sl | 20 + lib/Inv_Track/cegist-cav18/hola.05.sl | 21 + lib/Inv_Track/cegist-cav18/hola.44.sl | 21 + lib/Inv_Track/cegist-cav18/hola_add.sl | 21 + lib/Inv_Track/cegist-cav18/inc_simp.sl | 21 + lib/PBE_SLIA_Track/euphony/11604909.sl | 7 +- lib/PBE_SLIA_Track/euphony/12948338.sl | 7 +- lib/PBE_SLIA_Track/euphony/17212077.sl | 7 +- lib/PBE_SLIA_Track/euphony/19274448.sl | 7 +- lib/PBE_SLIA_Track/euphony/19558979.sl | 7 +- lib/PBE_SLIA_Track/euphony/2171308.sl | 7 +- lib/PBE_SLIA_Track/euphony/23435880.sl | 7 +- lib/PBE_SLIA_Track/euphony/25239569.sl | 7 +- lib/PBE_SLIA_Track/euphony/28627624_1.sl | 7 +- lib/PBE_SLIA_Track/euphony/30732554.sl | 7 +- lib/PBE_SLIA_Track/euphony/31753108.sl | 7 +- lib/PBE_SLIA_Track/euphony/33619752.sl | 7 +- lib/PBE_SLIA_Track/euphony/34801680.sl | 7 +- lib/PBE_SLIA_Track/euphony/35016216.sl | 7 +- lib/PBE_SLIA_Track/euphony/35744094.sl | 7 +- lib/PBE_SLIA_Track/euphony/36462127.sl | 7 +- lib/PBE_SLIA_Track/euphony/37281007.sl | 7 +- lib/PBE_SLIA_Track/euphony/37534494.sl | 7 +- lib/PBE_SLIA_Track/euphony/38664547.sl | 7 +- lib/PBE_SLIA_Track/euphony/38871714.sl | 7 +- lib/PBE_SLIA_Track/euphony/39060015.sl | 7 +- lib/PBE_SLIA_Track/euphony/40498040.sl | 7 +- lib/PBE_SLIA_Track/euphony/41503046.sl | 7 +- lib/PBE_SLIA_Track/euphony/43120683.sl | 7 +- lib/PBE_SLIA_Track/euphony/43606446.sl | 7 +- lib/PBE_SLIA_Track/euphony/44789427.sl | 7 +- .../add-a-line-break-with-a-formula.sl | 7 +- .../cell-contains-all-of-many-things.sl | 7 +- .../euphony/cell-contains-number.sl | 7 +- .../cell-contains-one-of-many-things.sl | 7 +- ...ll-contains-one-of-many-with-exclusions.sl | 7 +- ...cell-contains-some-words-but-not-others.sl | 7 +- .../euphony/cell-contains-specific-text.sl | 7 +- .../euphony/cell-equals-one-of-many-things.sl | 7 +- .../change-negative-numbers-to-positive.sl | 7 +- .../clean-and-reformat-telephone-numbers.sl | 7 +- .../euphony/compare-two-strings.sl | 7 +- .../euphony/convert-numbers-to-text.sl | 7 +- .../euphony/convert-text-to-numbers.sl | 7 +- .../count-consecutive-monthly-orders.sl | 7 +- .../euphony/count-line-breaks-in-cell.sl | 7 +- .../count-specific-characters-in-a-cell.sl | 7 +- .../euphony/count-specific-words-in-a-cell.sl | 7 +- .../count-total-characters-in-a-cell.sl | 7 +- .../euphony/count-total-words-in-a-cell.sl | 7 +- .../euphony/create-email-address-from-name.sl | 7 +- ...eate-email-address-with-name-and-domain.sl | 7 +- lib/PBE_SLIA_Track/euphony/exceljet1.sl | 7 +- lib/PBE_SLIA_Track/euphony/exceljet2.sl | 7 +- lib/PBE_SLIA_Track/euphony/exceljet3.sl | 7 +- lib/PBE_SLIA_Track/euphony/exceljet4.sl | 7 +- .../extract-nth-word-from-text-string.sl | 7 +- .../extract-text-between-parentheses.sl | 7 +- .../extract-word-containing-specific-text.sl | 7 +- ...ord-that-begins-with-specific-character.sl | 7 +- .../find-nth-occurrence-of-character.sl | 7 +- .../get-domain-from-email-address_2.sl | 7 +- .../euphony/get-domain-name-from-url.sl | 7 +- .../get-first-name-from-name-with-comma.sl | 7 +- .../euphony/get-first-name-from-name.sl | 7 +- lib/PBE_SLIA_Track/euphony/get-first-word.sl | 7 +- .../euphony/get-last-line-in-cell.sl | 7 +- .../get-last-name-from-name-with-comma.sl | 7 +- .../euphony/get-last-name-from-name.sl | 7 +- lib/PBE_SLIA_Track/euphony/get-last-word.sl | 7 +- .../euphony/get-middle-name-from-full-name.sl | 7 +- .../euphony/join-cells-with-comma.sl | 7 +- .../euphony/join-first-and-last-name.sl | 7 +- .../euphony/most-frequently-occurring-text.sl | 7 +- lib/PBE_SLIA_Track/euphony/phone-5-short.sl | 7 +- lib/PBE_SLIA_Track/euphony/phone-6-short.sl | 7 +- lib/PBE_SLIA_Track/euphony/phone-7-short.sl | 7 +- lib/PBE_SLIA_Track/euphony/phone-9-short.sl | 7 +- ...on-of-2nd-3rd-etc-instance-of-character.sl | 7 +- .../euphony/remove-characters-from-left.sl | 7 +- .../euphony/remove-characters-from-right.sl | 7 +- .../remove-file-extension-from-filename.sl | 7 +- ...e-leading-and-trailing-spaces-from-text.sl | 7 +- .../euphony/remove-text-by-matching.sl | 7 +- .../euphony/remove-text-by-position.sl | 7 +- .../euphony/remove-unwanted-characters.sl | 7 +- .../replace-one-character-with-another.sl | 7 +- .../split-numbers-from-units-of-measure_1.sl | 7 +- .../split-numbers-from-units-of-measure_2.sl | 7 +- .../euphony/split-text-and-numbers.sl | 7 +- ...split-text-string-at-specific-character.sl | 7 +- lib/PBE_SLIA_Track/euphony/stackoverflow1.sl | 7 +- lib/PBE_SLIA_Track/euphony/stackoverflow10.sl | 7 +- lib/PBE_SLIA_Track/euphony/stackoverflow11.sl | 7 +- lib/PBE_SLIA_Track/euphony/stackoverflow2.sl | 7 +- lib/PBE_SLIA_Track/euphony/stackoverflow3.sl | 7 +- lib/PBE_SLIA_Track/euphony/stackoverflow4.sl | 7 +- lib/PBE_SLIA_Track/euphony/stackoverflow5.sl | 7 +- lib/PBE_SLIA_Track/euphony/stackoverflow6.sl | 7 +- lib/PBE_SLIA_Track/euphony/stackoverflow7.sl | 7 +- lib/PBE_SLIA_Track/euphony/stackoverflow8.sl | 7 +- lib/PBE_SLIA_Track/euphony/stackoverflow9.sl | 7 +- .../strip-html-from-text-or-numbers.sl | 7 +- .../euphony/strip-non-numeric-characters.sl | 7 +- .../strip-numeric-characters-from-cell.sl | 7 +- lib/PBE_SLIA_Track/from_2018/11440431.sl | 7 +- .../from_2018/bikes-long-repeat.sl | 7 +- lib/PBE_SLIA_Track/from_2018/bikes-long.sl | 7 +- lib/PBE_SLIA_Track/from_2018/bikes.sl | 7 +- lib/PBE_SLIA_Track/from_2018/bikes_small.sl | 3 +- .../from_2018/dr-name-long-repeat.sl | 7 +- lib/PBE_SLIA_Track/from_2018/dr-name-long.sl | 7 +- lib/PBE_SLIA_Track/from_2018/dr-name.sl | 7 +- lib/PBE_SLIA_Track/from_2018/dr-name_small.sl | 3 +- .../from_2018/firstname-long-repeat.sl | 7 +- .../from_2018/firstname-long.sl | 7 +- lib/PBE_SLIA_Track/from_2018/firstname.sl | 7 +- .../from_2018/firstname_small.sl | 3 +- .../from_2018/initials-long-repeat.sl | 7 +- lib/PBE_SLIA_Track/from_2018/initials-long.sl | 7 +- lib/PBE_SLIA_Track/from_2018/initials.sl | 7 +- .../from_2018/initials_small.sl | 3 +- .../from_2018/lastname-long-repeat.sl | 7 +- lib/PBE_SLIA_Track/from_2018/lastname-long.sl | 7 +- lib/PBE_SLIA_Track/from_2018/lastname.sl | 7 +- .../from_2018/lastname_small.sl | 3 +- lib/PBE_SLIA_Track/from_2018/max3.sl | 3 +- .../from_2018/name-combine-2-long-repeat.sl | 7 +- .../from_2018/name-combine-2-long.sl | 7 +- .../from_2018/name-combine-2.sl | 3 +- .../from_2018/name-combine-2_short.sl | 7 +- .../from_2018/name-combine-3-long-repeat.sl | 7 +- .../from_2018/name-combine-3-long.sl | 7 +- .../from_2018/name-combine-3.sl | 7 +- .../from_2018/name-combine-3_short.sl | 3 +- .../from_2018/name-combine-4-long-repeat.sl | 7 +- .../from_2018/name-combine-4-long.sl | 7 +- .../from_2018/name-combine-4.sl | 7 +- .../from_2018/name-combine-4_short.sl | 3 +- .../from_2018/name-combine-long-repeat.sl | 7 +- .../from_2018/name-combine-long.sl | 7 +- lib/PBE_SLIA_Track/from_2018/name-combine.sl | 7 +- .../from_2018/name-combine_short.sl | 3 +- .../from_2018/phone-1-long-repeat.sl | 7 +- lib/PBE_SLIA_Track/from_2018/phone-1-long.sl | 7 +- lib/PBE_SLIA_Track/from_2018/phone-1.sl | 7 +- .../from_2018/phone-10-long-repeat.sl | 7 +- lib/PBE_SLIA_Track/from_2018/phone-10-long.sl | 7 +- lib/PBE_SLIA_Track/from_2018/phone-10.sl | 7 +- .../from_2018/phone-10_short.sl | 3 +- lib/PBE_SLIA_Track/from_2018/phone-1_short.sl | 3 +- .../from_2018/phone-2-long-repeat.sl | 7 +- lib/PBE_SLIA_Track/from_2018/phone-2-long.sl | 7 +- lib/PBE_SLIA_Track/from_2018/phone-2.sl | 7 +- lib/PBE_SLIA_Track/from_2018/phone-2_short.sl | 3 +- .../from_2018/phone-3-long-repeat.sl | 7 +- lib/PBE_SLIA_Track/from_2018/phone-3-long.sl | 7 +- lib/PBE_SLIA_Track/from_2018/phone-3.sl | 7 +- lib/PBE_SLIA_Track/from_2018/phone-3_short.sl | 3 +- .../from_2018/phone-4-long-repeat.sl | 7 +- lib/PBE_SLIA_Track/from_2018/phone-4-long.sl | 7 +- lib/PBE_SLIA_Track/from_2018/phone-4.sl | 7 +- lib/PBE_SLIA_Track/from_2018/phone-4_short.sl | 3 +- .../from_2018/phone-5-long-repeat.sl | 7 +- lib/PBE_SLIA_Track/from_2018/phone-5-long.sl | 7 +- lib/PBE_SLIA_Track/from_2018/phone-5.sl | 7 +- lib/PBE_SLIA_Track/from_2018/phone-5_short.sl | 3 +- .../from_2018/phone-6-long-repeat.sl | 7 +- lib/PBE_SLIA_Track/from_2018/phone-6-long.sl | 7 +- lib/PBE_SLIA_Track/from_2018/phone-6.sl | 7 +- lib/PBE_SLIA_Track/from_2018/phone-6_short.sl | 3 +- .../from_2018/phone-7-long-repeat.sl | 7 +- lib/PBE_SLIA_Track/from_2018/phone-7-long.sl | 7 +- lib/PBE_SLIA_Track/from_2018/phone-7.sl | 7 +- lib/PBE_SLIA_Track/from_2018/phone-7_short.sl | 3 +- .../from_2018/phone-8-long-repeat.sl | 7 +- lib/PBE_SLIA_Track/from_2018/phone-8-long.sl | 7 +- lib/PBE_SLIA_Track/from_2018/phone-8.sl | 7 +- lib/PBE_SLIA_Track/from_2018/phone-8_short.sl | 3 +- .../from_2018/phone-9-long-repeat.sl | 7 +- lib/PBE_SLIA_Track/from_2018/phone-9-long.sl | 7 +- lib/PBE_SLIA_Track/from_2018/phone-9.sl | 7 +- lib/PBE_SLIA_Track/from_2018/phone-9_short.sl | 3 +- .../from_2018/phone-long-repeat.sl | 7 +- lib/PBE_SLIA_Track/from_2018/phone-long.sl | 7 +- lib/PBE_SLIA_Track/from_2018/phone.sl | 7 +- lib/PBE_SLIA_Track/from_2018/phone_short.sl | 3 +- .../from_2018/reverse-name-long-repeat.sl | 7 +- .../from_2018/reverse-name-long.sl | 7 +- lib/PBE_SLIA_Track/from_2018/reverse-name.sl | 7 +- .../from_2018/reverse-name_short.sl | 3 +- .../from_2018/univ_1-long-repeat.sl | 7 +- lib/PBE_SLIA_Track/from_2018/univ_1-long.sl | 7 +- lib/PBE_SLIA_Track/from_2018/univ_1.sl | 7 +- lib/PBE_SLIA_Track/from_2018/univ_1_short.sl | 3 +- .../from_2018/univ_2-long-repeat.sl | 7 +- lib/PBE_SLIA_Track/from_2018/univ_2-long.sl | 7 +- lib/PBE_SLIA_Track/from_2018/univ_2.sl | 7 +- lib/PBE_SLIA_Track/from_2018/univ_2_short.sl | 3 +- .../from_2018/univ_3-long-repeat.sl | 7 +- lib/PBE_SLIA_Track/from_2018/univ_3-long.sl | 7 +- lib/PBE_SLIA_Track/from_2018/univ_3.sl | 7 +- lib/PBE_SLIA_Track/from_2018/univ_3_short.sl | 3 +- .../from_2018/univ_4-long-repeat.sl | 7 +- lib/PBE_SLIA_Track/from_2018/univ_4-long.sl | 7 +- lib/PBE_SLIA_Track/from_2018/univ_4.sl | 7 +- lib/PBE_SLIA_Track/from_2018/univ_4_short.sl | 3 +- .../from_2018/univ_5-long-repeat.sl | 3 +- lib/PBE_SLIA_Track/from_2018/univ_5-long.sl | 7 +- lib/PBE_SLIA_Track/from_2018/univ_5.sl | 7 +- lib/PBE_SLIA_Track/from_2018/univ_5_short.sl | 3 +- .../from_2018/univ_6-long-repeat.sl | 3 +- lib/PBE_SLIA_Track/from_2018/univ_6-long.sl | 7 +- lib/PBE_SLIA_Track/from_2018/univ_6.sl | 7 +- lib/PBE_SLIA_Track/from_2018/univ_6_short.sl | 3 +- .../agent_problems/cliff_walking.sy | 0 .../frozen_lake/frozen_lake_size4_1.sy | 0 .../frozen_lake/frozen_lake_size4_2.sy | 0 .../frozen_lake/frozen_lake_size4_3.sy | 0 .../frozen_lake/frozen_lake_size4_4.sy | 0 .../frozen_lake/frozen_lake_size5_1.sy | 0 .../frozen_lake/frozen_lake_size5_2.sy | 0 .../frozen_lake/frozen_lake_size5_3.sy | 0 .../frozen_lake/frozen_lake_size5_4.sy | 0 .../frozen_lake/frozen_lake_size6_1.sy | 0 .../frozen_lake/frozen_lake_size6_2.sy | 0 .../frozen_lake/frozen_lake_size6_3.sy | 0 .../frozen_lake/frozen_lake_size7_1.sy | 0 .../frozen_lake/frozen_lake_size7_2.sy | 0 .../agent_problems/pitfall/pitfall_box0.sy | 0 .../agent_problems/pitfall/pitfall_box1.sy | 0 .../agent_problems/pitfall/pitfall_box2.sy | 0 .../agent_problems/pitfall/pitfall_box3.sy | 0 .../agent_problems/pitfall/pitfall_box4.sy | 0 .../agent_problems/pitfall/pitfall_box5.sy | 0 .../agent_problems/pitfall/pitfall_box6.sy | 0 .../pitfall/pitfall_map_left.sy | 0 .../pitfall/pitfall_map_right.sy | 0 .../agent_problems/pong_trajectory.sy | 0 .../agent_problems/taxi/taxi_dropoff1.sy | 0 .../agent_problems/taxi/taxi_dropoff2.sy | 0 .../agent_problems/taxi/taxi_dropoff3.sy | 0 .../agent_problems/taxi/taxi_dropoff4.sy | 0 .../agent_problems/taxi/taxi_dropoff5.sy | 0 .../agent_problems/taxi/taxi_pickup1.sy | 0 .../agent_problems/taxi/taxi_pickup2.sy | 0 .../agent_problems/taxi/taxi_pickup3.sy | 0 .../agent_problems/taxi/taxi_pickup4.sy | 0 .../agent_problems/taxi/taxi_pickup5.sy | 0 .../invariants/argument.sl | 9 +- .../invariants/check_equal_set_flag-2.sl | 1 + .../invariants/check_equal_set_flag.sl | 0 .../invariants/collect_indices_eq_value.sl | 1 + .../invariants/collect_indices_eq_value2.sl | 1 + .../invariants/collect_indices_eq_value3.sl | 1 + .../invariants/collect_indices_eq_value4.sl | 1 + .../invariants/copy_nonzero.sl | 1 + .../invariants/copy_nonzero2.sl | 1 + .../invariants/copy_positive.sl | 1 + .../invariants/copy_positive2.sl | 1 + .../invariants/equal_arrays.sl | 0 .../invariants/equal_arrays_2.sl | 0 .../invariants/exists.sl | 0 .../invariants/exists3.sl | 0 .../invariants/fill1.sl | 0 .../invariants/fill3.sl | 0 .../invariants/fill_harder.sl | 0 .../invariants/find1.sl | 1 + .../invariants/find2.sl | 1 + .../invariants/find_first_harder.sl | 0 .../invariants/find_max-2.sl | 1 + .../invariants/find_max.sl | 1 + .../invariants/paper_example.sl | 0 .../invariants/partition.sl | 0 .../invariants/partition1.sl | 0 .../invariants/partition2.sl | 0 .../invariants/partition3.sl | 0 .../invariants/partition4.sl | 0 .../invariants/partition5.sl | 0 .../invariants/partition6.sl | 0 .../invariants/partition7.sl | 0 .../invariants/permutation.sl | 0 .../invariants/permutation2.sl | 0 .../invariants/permutation3.sl | 0 .../invariants/permutation4.sl | 0 .../invariants/permutation5.sl | 0 .../invariants/simple_array.sl | 0 .../invariants/simple_array_and_one_var.sl | 0 .../invariants/simple_sum.sl | 0 .../invariants/str_len.sl | 1 + .../invariants/two_indices_harder.sl | 0 .../sketching/String.indexOf1-1.sl | 1 + .../sketching/String.indexOf1.synth.sl | 1 + .../sketching/StringUtils.abbreviate1-1.sl | 1 + .../sketching/StringUtils.abbreviate1-2.sl | 1 + .../StringUtils.abbreviateMiddle1-1.sl | 1 + .../StringUtils.abbreviateMiddle1-2.sl | 3 +- .../StringUtils.appendIfMissing1-1.sl | 1 + .../StringUtils.appendIfMissing1-2.sl | 1 + .../sketching/StringUtils.capitalize1-1.sl | 1 + .../sketching/StringUtils.capitalize1-2.sl | 1 + .../sketching/StringUtils.center1-1.sl | 1 + .../sketching/StringUtils.center1-2.sl | 1 + .../sketching/StringUtils.chomp1-1.sl | 1 + .../sketching/StringUtils.chomp1-2.sl | 1 + .../sketching/StringUtils.chop1-1.sl | 1 + .../sketching/StringUtils.chop1-2.sl | 1 + .../sketching/StringUtils.chop1.sl | 1 + .../sketching/StringUtils.contains1.sl | 1 + .../sketching/StringUtils.containsNone1.sl | 1 + 511 files changed, 8502 insertions(+), 15355 deletions(-) delete mode 100644 lib-nonconforming/General_Track/from_2018/array_sum_2_15.sl delete mode 100644 lib-nonconforming/General_Track/from_2018/array_sum_2_5.sl delete mode 100644 lib-nonconforming/General_Track/from_2018/twolets10.sl delete mode 100644 lib-nonconforming/General_Track/from_2018/twolets6.sl delete mode 100644 lib-nonconforming/General_Track/from_2018/twolets7.sl delete mode 100644 lib-nonconforming/General_Track/from_2018/twolets8.sl delete mode 100644 lib-nonconforming/General_Track/from_2018/twolets9.sl delete mode 100644 lib-nonconforming/Inv_Track/cegist-cav18/cegar2.sl delete mode 100644 lib-nonconforming/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_const_true-unreach-call1.sl delete mode 100644 lib-nonconforming/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_functions_true-unreach-call1.sl delete mode 100644 lib-nonconforming/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_multivar_true-unreach-call1.sl delete mode 100644 lib-nonconforming/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_overflow_true-unreach-call.sl delete mode 100644 lib-nonconforming/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_phases_true-unreach-call2.sl delete mode 100644 lib-nonconforming/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_simple_true-unreach-call1.sl delete mode 100644 lib-nonconforming/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_simple_true-unreach-call2.sl delete mode 100644 lib-nonconforming/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_simple_true-unreach-call3.sl delete mode 100644 lib-nonconforming/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_simple_true-unreach-call4.sl delete mode 100644 lib-nonconforming/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_underapprox_true-unreach-call1.sl delete mode 100644 lib-nonconforming/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_underapprox_true-unreach-call2.sl delete mode 100644 lib-nonconforming/Inv_Track/cegist-cav18/dec_simpl.sl delete mode 100644 lib-nonconforming/Inv_Track/cegist-cav18/formula22.sl delete mode 100644 lib-nonconforming/Inv_Track/cegist-cav18/hola.05.sl delete mode 100644 lib-nonconforming/Inv_Track/cegist-cav18/hola.44.sl delete mode 100644 lib-nonconforming/Inv_Track/cegist-cav18/hola_add.sl delete mode 100644 lib-nonconforming/Inv_Track/cegist-cav18/inc_simp.sl rename {lib-nonconforming => lib}/General_Track/from_2018/array_sum_10_15.sl (91%) rename {lib-nonconforming => lib}/General_Track/from_2018/array_sum_10_5.sl (91%) create mode 100644 lib/General_Track/from_2018/array_sum_2_15.sl create mode 100644 lib/General_Track/from_2018/array_sum_2_5.sl rename {lib-nonconforming => lib}/General_Track/from_2018/array_sum_3_15.sl (68%) rename {lib-nonconforming => lib}/General_Track/from_2018/array_sum_3_5.sl (68%) rename {lib-nonconforming => lib}/General_Track/from_2018/array_sum_4_15.sl (74%) rename {lib-nonconforming => lib}/General_Track/from_2018/array_sum_4_5.sl (90%) rename {lib-nonconforming => lib}/General_Track/from_2018/array_sum_5_15.sl (78%) rename {lib-nonconforming => lib}/General_Track/from_2018/array_sum_6_15.sl (81%) rename {lib-nonconforming => lib}/General_Track/from_2018/array_sum_6_5.sl (81%) rename {lib-nonconforming => lib}/General_Track/from_2018/array_sum_7_15.sl (84%) rename {lib-nonconforming => lib}/General_Track/from_2018/array_sum_7_5.sl (83%) rename {lib-nonconforming => lib}/General_Track/from_2018/array_sum_8_15.sl (89%) rename {lib-nonconforming => lib}/General_Track/from_2018/array_sum_8_5.sl (89%) rename {lib-nonconforming => lib}/General_Track/from_2018/array_sum_9_15.sl (87%) rename {lib-nonconforming => lib}/General_Track/from_2018/array_sum_9_5.sl (87%) rename {lib-nonconforming => lib}/General_Track/from_2018/logcount-d1.sl (62%) rename {lib-nonconforming => lib}/General_Track/from_2018/logcount-d5.sl (83%) rename {lib-nonconforming => lib}/General_Track/from_2018/logcount.sl (52%) rename {lib-nonconforming => lib}/General_Track/from_2018/logcount2-d1.sl (61%) rename {lib-nonconforming => lib}/General_Track/from_2018/logcount2-d5.sl (83%) rename {lib-nonconforming => lib}/General_Track/from_2018/logcount2.sl (60%) rename {lib-nonconforming => lib}/General_Track/from_2018/seven_c1.sl (88%) rename {lib-nonconforming => lib}/General_Track/from_2018/seven_c2.sl (86%) rename {lib-nonconforming => lib}/General_Track/from_2018/seven_c3.sl (89%) rename {lib-nonconforming => lib}/General_Track/from_2018/seven_c4.sl (89%) rename {lib-nonconforming => lib}/General_Track/from_2018/seven_three_d0.sl (87%) rename {lib-nonconforming => lib}/General_Track/from_2018/seven_three_d1.sl (87%) rename {lib-nonconforming => lib}/General_Track/from_2018/sevenfuncs.sl (85%) rename {lib-nonconforming => lib}/General_Track/from_2018/three.sl (89%) rename {lib-nonconforming => lib}/General_Track/from_2018/three_d0.sl (88%) rename {lib-nonconforming => lib}/General_Track/from_2018/three_d1.sl (87%) rename {lib-nonconforming => lib}/General_Track/from_2018/three_d2.sl (88%) rename {lib-nonconforming => lib}/General_Track/from_2018/three_d3.sl (90%) rename {lib-nonconforming => lib}/General_Track/from_2018/twolets1.sl (72%) create mode 100644 lib/General_Track/from_2018/twolets10.sl rename {lib-nonconforming => lib}/General_Track/from_2018/twolets3.sl (69%) rename {lib-nonconforming => lib}/General_Track/from_2018/twolets4.sl (74%) rename {lib-nonconforming => lib}/General_Track/from_2018/twolets5.sl (72%) create mode 100644 lib/General_Track/from_2018/twolets6.sl create mode 100644 lib/General_Track/from_2018/twolets7.sl create mode 100644 lib/General_Track/from_2018/twolets8.sl create mode 100644 lib/General_Track/from_2018/twolets9.sl rename {lib-nonconforming => lib}/General_Track/ternary-propagation/find_cc_const_eq_bvadd_x_s_t.sl (100%) rename {lib-nonconforming => lib}/General_Track/ternary-propagation/find_cc_const_eq_bvand_x_s_t.sl (100%) rename {lib-nonconforming => lib}/General_Track/ternary-propagation/find_cc_const_eq_bvashr_s_x_t.sl (100%) rename {lib-nonconforming => lib}/General_Track/ternary-propagation/find_cc_const_eq_bvashr_x_s_t.sl (100%) rename {lib-nonconforming => lib}/General_Track/ternary-propagation/find_cc_const_eq_bvlshr_s_x_t.sl (100%) rename {lib-nonconforming => lib}/General_Track/ternary-propagation/find_cc_const_eq_bvlshr_x_s_t.sl (100%) rename {lib-nonconforming => lib}/General_Track/ternary-propagation/find_cc_const_eq_bvmul_x_s_t.sl (100%) rename {lib-nonconforming => lib}/General_Track/ternary-propagation/find_cc_const_eq_bvshl_s_x_t.sl (100%) rename {lib-nonconforming => lib}/General_Track/ternary-propagation/find_cc_const_eq_bvshl_x_s_t.sl (100%) rename {lib-nonconforming => lib}/General_Track/ternary-propagation/find_cc_const_eq_bvudiv_s_x_t.sl (100%) rename {lib-nonconforming => lib}/General_Track/ternary-propagation/find_cc_const_eq_bvudiv_x_s_t.sl (100%) rename {lib-nonconforming => lib}/General_Track/ternary-propagation/find_cc_const_eq_bvurem_s_x_t.sl (100%) rename {lib-nonconforming => lib}/General_Track/ternary-propagation/find_cc_const_eq_bvurem_x_s_t.sl (100%) rename {lib-nonconforming => lib}/General_Track/ternary-propagation/find_cc_const_eq_bvxor_x_s_t.sl (100%) rename {lib-nonconforming => lib}/General_Track/ternary-propagation/find_cc_const_eq_x_s.sl (100%) rename {lib-nonconforming => lib}/General_Track/ternary-propagation/find_ic_const_eq_bvadd_x_s_t.sl (100%) rename {lib-nonconforming => lib}/General_Track/ternary-propagation/find_ic_const_eq_bvand_x_s_t.sl (100%) rename {lib-nonconforming => lib}/General_Track/ternary-propagation/find_ic_const_eq_bvashr_s_x_t.sl (100%) rename {lib-nonconforming => lib}/General_Track/ternary-propagation/find_ic_const_eq_bvashr_x_s_t.sl (100%) rename {lib-nonconforming => lib}/General_Track/ternary-propagation/find_ic_const_eq_bvlshr_s_x_t.sl (100%) rename {lib-nonconforming => lib}/General_Track/ternary-propagation/find_ic_const_eq_bvlshr_x_s_t.sl (100%) rename {lib-nonconforming => lib}/General_Track/ternary-propagation/find_ic_const_eq_bvmul_x_s_t.sl (100%) rename {lib-nonconforming => lib}/General_Track/ternary-propagation/find_ic_const_eq_bvshl_s_x_t.sl (100%) rename {lib-nonconforming => lib}/General_Track/ternary-propagation/find_ic_const_eq_bvshl_x_s_t.sl (100%) rename {lib-nonconforming => lib}/General_Track/ternary-propagation/find_ic_const_eq_bvudiv_s_x_t.sl (100%) rename {lib-nonconforming => lib}/General_Track/ternary-propagation/find_ic_const_eq_bvudiv_x_s_t.sl (100%) rename {lib-nonconforming => lib}/General_Track/ternary-propagation/find_ic_const_eq_bvurem_s_x_t.sl (100%) rename {lib-nonconforming => lib}/General_Track/ternary-propagation/find_ic_const_eq_bvurem_x_s_t.sl (100%) rename {lib-nonconforming => lib}/General_Track/ternary-propagation/find_ic_const_eq_bvxor_x_s_t.sl (100%) rename {lib-nonconforming => lib}/General_Track/ternary-propagation/find_ic_const_eq_x_s.sl (100%) rename {lib-nonconforming => lib}/General_Track/uclid5/IntSW-system-assign-1.ucl.sl (100%) rename {lib-nonconforming => lib}/General_Track/uclid5/IntSW-system-if-1.ucl.sl (100%) rename {lib-nonconforming => lib}/General_Track/uclid5/IntSW-system-if-2.ucl.sl (100%) rename {lib-nonconforming => lib}/General_Track/uclid5/Intersection_BMC-system-assign-1.ucl.sl (100%) rename {lib-nonconforming => lib}/General_Track/uclid5/Intersection_BMC-system-assign-2.ucl.sl (100%) rename {lib-nonconforming => lib}/General_Track/uclid5/Intersection_BMC-system-if-1.ucl.sl (100%) rename {lib-nonconforming => lib}/General_Track/uclid5/Intersection_BMC-system-if-2.ucl.sl (100%) rename {lib-nonconforming => lib}/General_Track/uclid5/Intersection_Induction-spec-replace-inv-1.ucl.sl (100%) rename {lib-nonconforming => lib}/General_Track/uclid5/Intersection_Induction-spec-replace-inv-2.ucl.sl (100%) rename {lib-nonconforming => lib}/General_Track/uclid5/Intersection_Induction-spec-replace-inv-3.ucl.sl (100%) rename {lib-nonconforming => lib}/General_Track/uclid5/Intersection_Induction-spec-replace-inv-4.ucl.sl (100%) rename {lib-nonconforming => lib}/General_Track/uclid5/Intersection_Induction-spec-replace-inv-5.ucl.sl (100%) rename {lib-nonconforming => lib}/General_Track/uclid5/dining-philosophers-no-deadlock-system-assign-1.ucl.sl (100%) rename {lib-nonconforming => lib}/General_Track/uclid5/dining-philosophers-no-deadlock-system-assign-2.ucl.sl (100%) rename {lib-nonconforming => lib}/General_Track/uclid5/dining-philosophers-no-deadlock-system-if-1.ucl.sl (100%) rename {lib-nonconforming => lib}/General_Track/uclid5/dining-philosophers-no-deadlock-system-if-2.ucl.sl (100%) rename {lib-nonconforming => lib}/General_Track/uclid5/electronic_purse-spec-replace-inv-1.ucl.sl (100%) rename {lib-nonconforming => lib}/General_Track/uclid5/electronic_purse-system-replace-func-1.ucl.sl (100%) rename {lib-nonconforming => lib}/General_Track/uclid5/electronic_purse-system-replace-func-2.ucl.sl (100%) rename {lib-nonconforming => lib}/General_Track/uclid5/ex4.5-traffic-light-system-assign.ucl.sl (100%) rename {lib-nonconforming => lib}/General_Track/uclid5/ex4.5-traffic-light-system-if.ucl.sl (100%) rename {lib-nonconforming => lib}/General_Track/uclid5/simple-two-phase-commit-spec-replace-inv-1.ucl.sl (100%) rename {lib-nonconforming => lib}/General_Track/uclid5/simple-two-phase-commit-spec-replace-inv-2.ucl.sl (100%) rename {lib-nonconforming => lib}/General_Track/uclid5/simple-two-phase-commit-spec-replace-inv-3.ucl.sl (100%) rename {lib-nonconforming => lib}/General_Track/uclid5/simple-two-phase-commit-spec-replace-inv-4.ucl.sl (100%) rename {lib-nonconforming => lib}/Inv_Track/andrew_lustre/ccp01.lus.sl (85%) rename {lib-nonconforming => lib}/Inv_Track/andrew_lustre/ccp02.lus.sl (85%) rename {lib-nonconforming => lib}/Inv_Track/andrew_lustre/ccp03.lus.sl (85%) rename {lib-nonconforming => lib}/Inv_Track/andrew_lustre/ccp04.lus.sl (86%) rename {lib-nonconforming => lib}/Inv_Track/andrew_lustre/ccp05.lus.sl (86%) rename {lib-nonconforming => lib}/Inv_Track/andrew_lustre/ccp06.lus.sl (88%) rename {lib-nonconforming => lib}/Inv_Track/andrew_lustre/ccp07.lus.sl (88%) rename {lib-nonconforming => lib}/Inv_Track/andrew_lustre/ccp08.lus.sl (87%) rename {lib-nonconforming => lib}/Inv_Track/andrew_lustre/ccp09.lus.sl (88%) rename {lib-nonconforming => lib}/Inv_Track/andrew_lustre/ccp15.lus.sl (88%) rename {lib-nonconforming => lib}/Inv_Track/andrew_lustre/ccp16.lus.sl (91%) rename {lib-nonconforming => lib}/Inv_Track/andrew_lustre/ccp17.lus.sl (88%) rename {lib-nonconforming => lib}/Inv_Track/andrew_lustre/ccp18.lus.sl (87%) rename {lib-nonconforming => lib}/Inv_Track/andrew_lustre/ccp19.lus.sl (88%) rename {lib-nonconforming => lib}/Inv_Track/andrew_lustre/ccp20.lus.sl (88%) rename {lib-nonconforming => lib}/Inv_Track/andrew_lustre/cruise_controller_01.lus.sl (87%) rename {lib-nonconforming => lib}/Inv_Track/andrew_lustre/cruise_controller_02.lus.sl (87%) rename {lib-nonconforming => lib}/Inv_Track/andrew_lustre/cruise_controller_03.lus.sl (87%) rename {lib-nonconforming => lib}/Inv_Track/andrew_lustre/cruise_controller_04.lus.sl (87%) rename {lib-nonconforming => lib}/Inv_Track/andrew_lustre/cruise_controller_05.lus.sl (87%) rename {lib-nonconforming => lib}/Inv_Track/andrew_lustre/cruise_controller_06.lus.sl (92%) rename {lib-nonconforming => lib}/Inv_Track/andrew_lustre/cruise_controller_07.lus.sl (91%) rename {lib-nonconforming => lib}/Inv_Track/andrew_lustre/cruise_controller_10.lus.sl (92%) rename {lib-nonconforming => lib}/Inv_Track/andrew_lustre/cruise_controller_11.lus.sl (92%) rename {lib-nonconforming => lib}/Inv_Track/andrew_lustre/cruise_controller_12.lus.sl (90%) rename {lib-nonconforming => lib}/Inv_Track/andrew_lustre/cruise_controller_13.lus.sl (91%) rename {lib-nonconforming => lib}/Inv_Track/andrew_lustre/cruise_controller_14.lus.sl (90%) rename {lib-nonconforming => lib}/Inv_Track/andrew_lustre/cruise_controller_18.lus.sl (91%) rename {lib-nonconforming => lib}/Inv_Track/andrew_lustre/cruise_controller_19.lus.sl (91%) rename {lib-nonconforming => lib}/Inv_Track/andrew_lustre/cruise_controller_24.lus.sl (90%) create mode 100644 lib/Inv_Track/cegist-cav18/cegar2.sl create mode 100644 lib/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_const_true-unreach-call1.sl rename {lib-nonconforming => lib}/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_diamond_true-unreach-call1.sl (52%) rename {lib-nonconforming => lib}/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_diamond_true-unreach-call2.sl (52%) create mode 100644 lib/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_functions_true-unreach-call1.sl create mode 100644 lib/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_multivar_true-unreach-call1.sl create mode 100644 lib/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_overflow_true-unreach-call.sl rename {lib-nonconforming => lib}/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_phases_true-unreach-call1.sl (55%) create mode 100644 lib/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_phases_true-unreach-call2.sl create mode 100644 lib/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_simple_true-unreach-call1.sl create mode 100644 lib/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_simple_true-unreach-call2.sl create mode 100644 lib/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_simple_true-unreach-call3.sl create mode 100644 lib/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_simple_true-unreach-call4.sl create mode 100644 lib/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_underapprox_true-unreach-call1.sl create mode 100644 lib/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_underapprox_true-unreach-call2.sl create mode 100644 lib/Inv_Track/cegist-cav18/dec_simpl.sl create mode 100644 lib/Inv_Track/cegist-cav18/formula22.sl create mode 100644 lib/Inv_Track/cegist-cav18/hola.05.sl create mode 100644 lib/Inv_Track/cegist-cav18/hola.44.sl create mode 100644 lib/Inv_Track/cegist-cav18/hola_add.sl create mode 100644 lib/Inv_Track/cegist-cav18/inc_simp.sl rename {lib-nonconforming => lib}/agent_problems/cliff_walking.sy (100%) rename {lib-nonconforming => lib}/agent_problems/frozen_lake/frozen_lake_size4_1.sy (100%) rename {lib-nonconforming => lib}/agent_problems/frozen_lake/frozen_lake_size4_2.sy (100%) rename {lib-nonconforming => lib}/agent_problems/frozen_lake/frozen_lake_size4_3.sy (100%) rename {lib-nonconforming => lib}/agent_problems/frozen_lake/frozen_lake_size4_4.sy (100%) rename {lib-nonconforming => lib}/agent_problems/frozen_lake/frozen_lake_size5_1.sy (100%) rename {lib-nonconforming => lib}/agent_problems/frozen_lake/frozen_lake_size5_2.sy (100%) rename {lib-nonconforming => lib}/agent_problems/frozen_lake/frozen_lake_size5_3.sy (100%) rename {lib-nonconforming => lib}/agent_problems/frozen_lake/frozen_lake_size5_4.sy (100%) rename {lib-nonconforming => lib}/agent_problems/frozen_lake/frozen_lake_size6_1.sy (100%) rename {lib-nonconforming => lib}/agent_problems/frozen_lake/frozen_lake_size6_2.sy (100%) rename {lib-nonconforming => lib}/agent_problems/frozen_lake/frozen_lake_size6_3.sy (100%) rename {lib-nonconforming => lib}/agent_problems/frozen_lake/frozen_lake_size7_1.sy (100%) rename {lib-nonconforming => lib}/agent_problems/frozen_lake/frozen_lake_size7_2.sy (100%) rename {lib-nonconforming => lib}/agent_problems/pitfall/pitfall_box0.sy (100%) rename {lib-nonconforming => lib}/agent_problems/pitfall/pitfall_box1.sy (100%) rename {lib-nonconforming => lib}/agent_problems/pitfall/pitfall_box2.sy (100%) rename {lib-nonconforming => lib}/agent_problems/pitfall/pitfall_box3.sy (100%) rename {lib-nonconforming => lib}/agent_problems/pitfall/pitfall_box4.sy (100%) rename {lib-nonconforming => lib}/agent_problems/pitfall/pitfall_box5.sy (100%) rename {lib-nonconforming => lib}/agent_problems/pitfall/pitfall_box6.sy (100%) rename {lib-nonconforming => lib}/agent_problems/pitfall/pitfall_map_left.sy (100%) rename {lib-nonconforming => lib}/agent_problems/pitfall/pitfall_map_right.sy (100%) rename {lib-nonconforming => lib}/agent_problems/pong_trajectory.sy (100%) rename {lib-nonconforming => lib}/agent_problems/taxi/taxi_dropoff1.sy (100%) rename {lib-nonconforming => lib}/agent_problems/taxi/taxi_dropoff2.sy (100%) rename {lib-nonconforming => lib}/agent_problems/taxi/taxi_dropoff3.sy (100%) rename {lib-nonconforming => lib}/agent_problems/taxi/taxi_dropoff4.sy (100%) rename {lib-nonconforming => lib}/agent_problems/taxi/taxi_dropoff5.sy (100%) rename {lib-nonconforming => lib}/agent_problems/taxi/taxi_pickup1.sy (100%) rename {lib-nonconforming => lib}/agent_problems/taxi/taxi_pickup2.sy (100%) rename {lib-nonconforming => lib}/agent_problems/taxi/taxi_pickup3.sy (100%) rename {lib-nonconforming => lib}/agent_problems/taxi/taxi_pickup4.sy (100%) rename {lib-nonconforming => lib}/agent_problems/taxi/taxi_pickup5.sy (100%) rename {lib-nonconforming => lib}/arrays_and_quantifiers/invariants/argument.sl (71%) rename {lib-nonconforming => lib}/arrays_and_quantifiers/invariants/check_equal_set_flag-2.sl (98%) rename {lib-nonconforming => lib}/arrays_and_quantifiers/invariants/check_equal_set_flag.sl (100%) rename {lib-nonconforming => lib}/arrays_and_quantifiers/invariants/collect_indices_eq_value.sl (98%) rename {lib-nonconforming => lib}/arrays_and_quantifiers/invariants/collect_indices_eq_value2.sl (98%) rename {lib-nonconforming => lib}/arrays_and_quantifiers/invariants/collect_indices_eq_value3.sl (98%) rename {lib-nonconforming => lib}/arrays_and_quantifiers/invariants/collect_indices_eq_value4.sl (98%) rename {lib-nonconforming => lib}/arrays_and_quantifiers/invariants/copy_nonzero.sl (98%) rename {lib-nonconforming => lib}/arrays_and_quantifiers/invariants/copy_nonzero2.sl (98%) rename {lib-nonconforming => lib}/arrays_and_quantifiers/invariants/copy_positive.sl (98%) rename {lib-nonconforming => lib}/arrays_and_quantifiers/invariants/copy_positive2.sl (98%) rename {lib-nonconforming => lib}/arrays_and_quantifiers/invariants/equal_arrays.sl (100%) rename {lib-nonconforming => lib}/arrays_and_quantifiers/invariants/equal_arrays_2.sl (100%) rename {lib-nonconforming => lib}/arrays_and_quantifiers/invariants/exists.sl (100%) rename {lib-nonconforming => lib}/arrays_and_quantifiers/invariants/exists3.sl (100%) rename {lib-nonconforming => lib}/arrays_and_quantifiers/invariants/fill1.sl (100%) rename {lib-nonconforming => lib}/arrays_and_quantifiers/invariants/fill3.sl (100%) rename {lib-nonconforming => lib}/arrays_and_quantifiers/invariants/fill_harder.sl (100%) rename {lib-nonconforming => lib}/arrays_and_quantifiers/invariants/find1.sl (98%) rename {lib-nonconforming => lib}/arrays_and_quantifiers/invariants/find2.sl (98%) rename {lib-nonconforming => lib}/arrays_and_quantifiers/invariants/find_first_harder.sl (100%) rename {lib-nonconforming => lib}/arrays_and_quantifiers/invariants/find_max-2.sl (98%) rename {lib-nonconforming => lib}/arrays_and_quantifiers/invariants/find_max.sl (98%) rename {lib-nonconforming => lib}/arrays_and_quantifiers/invariants/paper_example.sl (100%) rename {lib-nonconforming => lib}/arrays_and_quantifiers/invariants/partition.sl (100%) rename {lib-nonconforming => lib}/arrays_and_quantifiers/invariants/partition1.sl (100%) rename {lib-nonconforming => lib}/arrays_and_quantifiers/invariants/partition2.sl (100%) rename {lib-nonconforming => lib}/arrays_and_quantifiers/invariants/partition3.sl (100%) rename {lib-nonconforming => lib}/arrays_and_quantifiers/invariants/partition4.sl (100%) rename {lib-nonconforming => lib}/arrays_and_quantifiers/invariants/partition5.sl (100%) rename {lib-nonconforming => lib}/arrays_and_quantifiers/invariants/partition6.sl (100%) rename {lib-nonconforming => lib}/arrays_and_quantifiers/invariants/partition7.sl (100%) rename {lib-nonconforming => lib}/arrays_and_quantifiers/invariants/permutation.sl (100%) rename {lib-nonconforming => lib}/arrays_and_quantifiers/invariants/permutation2.sl (100%) rename {lib-nonconforming => lib}/arrays_and_quantifiers/invariants/permutation3.sl (100%) rename {lib-nonconforming => lib}/arrays_and_quantifiers/invariants/permutation4.sl (100%) rename {lib-nonconforming => lib}/arrays_and_quantifiers/invariants/permutation5.sl (100%) rename {lib-nonconforming => lib}/arrays_and_quantifiers/invariants/simple_array.sl (100%) rename {lib-nonconforming => lib}/arrays_and_quantifiers/invariants/simple_array_and_one_var.sl (100%) rename {lib-nonconforming => lib}/arrays_and_quantifiers/invariants/simple_sum.sl (100%) rename {lib-nonconforming => lib}/arrays_and_quantifiers/invariants/str_len.sl (97%) rename {lib-nonconforming => lib}/arrays_and_quantifiers/invariants/two_indices_harder.sl (100%) rename {lib-nonconforming => lib}/arrays_and_quantifiers/sketching/String.indexOf1-1.sl (98%) rename {lib-nonconforming => lib}/arrays_and_quantifiers/sketching/String.indexOf1.synth.sl (98%) rename {lib-nonconforming => lib}/arrays_and_quantifiers/sketching/StringUtils.abbreviate1-1.sl (98%) rename {lib-nonconforming => lib}/arrays_and_quantifiers/sketching/StringUtils.abbreviate1-2.sl (98%) rename {lib-nonconforming => lib}/arrays_and_quantifiers/sketching/StringUtils.abbreviateMiddle1-1.sl (98%) rename {lib-nonconforming => lib}/arrays_and_quantifiers/sketching/StringUtils.abbreviateMiddle1-2.sl (91%) rename {lib-nonconforming => lib}/arrays_and_quantifiers/sketching/StringUtils.appendIfMissing1-1.sl (98%) rename {lib-nonconforming => lib}/arrays_and_quantifiers/sketching/StringUtils.appendIfMissing1-2.sl (98%) rename {lib-nonconforming => lib}/arrays_and_quantifiers/sketching/StringUtils.capitalize1-1.sl (97%) rename {lib-nonconforming => lib}/arrays_and_quantifiers/sketching/StringUtils.capitalize1-2.sl (97%) rename {lib-nonconforming => lib}/arrays_and_quantifiers/sketching/StringUtils.center1-1.sl (99%) rename {lib-nonconforming => lib}/arrays_and_quantifiers/sketching/StringUtils.center1-2.sl (98%) rename {lib-nonconforming => lib}/arrays_and_quantifiers/sketching/StringUtils.chomp1-1.sl (98%) rename {lib-nonconforming => lib}/arrays_and_quantifiers/sketching/StringUtils.chomp1-2.sl (98%) rename {lib-nonconforming => lib}/arrays_and_quantifiers/sketching/StringUtils.chop1-1.sl (97%) rename {lib-nonconforming => lib}/arrays_and_quantifiers/sketching/StringUtils.chop1-2.sl (98%) rename {lib-nonconforming => lib}/arrays_and_quantifiers/sketching/StringUtils.chop1.sl (98%) rename {lib-nonconforming => lib}/arrays_and_quantifiers/sketching/StringUtils.contains1.sl (98%) rename {lib-nonconforming => lib}/arrays_and_quantifiers/sketching/StringUtils.containsNone1.sl (98%) diff --git a/README.md b/README.md index 786848fb..27c2e623 100644 --- a/README.md +++ b/README.md @@ -1,29 +1,53 @@ -# SyGuS Benchmarks - -This repository contains all the public benchmarks for the [SyGuS](http://sygus.org/) competition. - -**NOTE**: There may be errors and/or duplicates among the benchmarks! -We are working on automating the checking and deduplication of our benchmarks. -However, as of now, this process is largely manual. -We would love it if you could file a [bug report](https://github.com/SyGuS-Org/benchmarks/issues) -whenever you discover something like this. - -## Directory Structure - -``` -. -|--comp < the "official" SyGuS-Comp benchmarks -| |-- 2017 -: : -| `-- 20XX -| -|-- lib < latest snapshot of all benchmarks -| |-- X_Track -: : -| `-- Y_Track -| -`-- lib-nonconforming < valid benchmarks that do not conform to track restrictions - |-- X_Track - : - `-- Y_Track -``` \ No newline at end of file +# SyGuS Benchmarks + +This repository contains all the public benchmarks for the [SyGuS](http://sygus.org/) competition. + +**NOTE**: There may be errors and/or duplicates among the benchmarks! +We are working on automating the checking and deduplication of our benchmarks. +However, as of now, this process is largely manual. +We would love it if you could file a [bug report](https://github.com/SyGuS-Org/benchmarks/issues) +whenever you discover something like this. + +The benchmarks in `lib` use SyGuS-IF 2 syntax over SMT-LIB 2.7. +They are checked with `cvc5 --parse-only --strict-parsing`; see +"Known deviations" below for the remaining exceptions. + +## Directory Structure + +``` +. +|--comp < the "official" SyGuS-Comp benchmarks +| |-- 2017 +: : +| `-- 20XX +| +`-- lib < latest snapshot of all benchmarks + |-- X_Track < benchmarks within the restrictions of track X + : + |-- Y_Track + | + |-- agent_problems < families that do not belong to any competition track + `-- arrays_and_quantifiers +``` + +Not every benchmark under a `X_Track` directory conforms to that track's own +restrictions; some subdirectories were merged in from the former +`lib-nonconforming` tree. In particular: + +* `Inv_Track/andrew_lustre` contains `LIRA` and `UF` benchmarks, and + `Inv_Track/cegist-cav18` contains `BV` benchmarks, whereas the invariant + track itself is restricted to `LIA`. +* `General_Track/uclid5` and `arrays_and_quantifiers` use arrays and + quantifiers, which no track admits. + +## Known deviations + +* `General_Track/uclid5/dining-philosophers-no-deadlock-system-{assign,if}-{1,2}.ucl.sl` + use `(as const (Array ...))` for constant arrays. This is a widely + implemented extension rather than standard SMT-LIB, and there is no + term-level replacement for it. +* 20 invariant benchmarks are unsatisfiable because their precondition does + not imply their postcondition, so no invariant can exist regardless of the + grammar: 9 in `Inv_Track/xujie_code2inv`, 6 in `Inv_Track/cegist-cav18` and + 5 in `Inv_Track/from_2018`. `agent_problems/taxi/taxi_{dropoff,pickup}1.sy` + are likewise reported infeasible by cvc5. diff --git a/lib-nonconforming/General_Track/from_2018/array_sum_2_15.sl b/lib-nonconforming/General_Track/from_2018/array_sum_2_15.sl deleted file mode 100644 index 004c860c..00000000 --- a/lib-nonconforming/General_Track/from_2018/array_sum_2_15.sl +++ /dev/null @@ -1,7 +0,0 @@ -(set-logic LIA) -(synth-fun findSum ( (y1 Int) (y2 Int) )Int ((Start Int ( 0 1 2 y1 y2 z (+ Start Start) (let ((z Int Start)) Start) (ite BoolExpr Start Start))) (BoolExpr Bool ((< Start Start) (<= Start Start) (> Start Start) (>= Start Start))))) -(declare-var x1 Int) -(declare-var x2 Int) -(constraint (=> (> (+ x1 x2) 15) (= (findSum x1 x2 ) (+ x1 x2)))) -(constraint (=> (<= (+ x1 x2) 15) (= (findSum x1 x2 ) 0))) -(check-synth) diff --git a/lib-nonconforming/General_Track/from_2018/array_sum_2_5.sl b/lib-nonconforming/General_Track/from_2018/array_sum_2_5.sl deleted file mode 100644 index 2cefc186..00000000 --- a/lib-nonconforming/General_Track/from_2018/array_sum_2_5.sl +++ /dev/null @@ -1,7 +0,0 @@ -(set-logic LIA) -(synth-fun findSum ( (y1 Int) (y2 Int) )Int ((Start Int ( 0 1 2 y1 y2 z (+ Start Start) (let ((z Int Start)) Start) (ite BoolExpr Start Start))) (BoolExpr Bool ((< Start Start) (<= Start Start) (> Start Start) (>= Start Start))))) -(declare-var x1 Int) -(declare-var x2 Int) -(constraint (=> (> (+ x1 x2) 5) (= (findSum x1 x2 ) (+ x1 x2)))) -(constraint (=> (<= (+ x1 x2) 5) (= (findSum x1 x2 ) 0))) -(check-synth) diff --git a/lib-nonconforming/General_Track/from_2018/twolets10.sl b/lib-nonconforming/General_Track/from_2018/twolets10.sl deleted file mode 100644 index b3618315..00000000 --- a/lib-nonconforming/General_Track/from_2018/twolets10.sl +++ /dev/null @@ -1,36 +0,0 @@ -(set-logic LIA) - -;; f1 is x plus 2 ;; f2 is 2x plus 5 - -(synth-fun f1 ((x Int)) Int - ( - (Start Int ( - (let ((y1 Int CInt) (y2 Int CInt) (y3 Int CInt) (y4 Int CInt) (y5 Int CInt) - (y6 Int CInt) (y7 Int CInt) (y8 Int CInt) (y9 Int CInt) (y10 Int CInt)) - (+ (+ (+ (+ (+ (+ (+ (+ (+ (+ x y1) y2) y3) y4) y5) y6) y7) y8) y9) y10)) - ) - ) - (CInt Int (0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 -1 -2 -3 -4 -5 -6 -7 -8 -9 -10)) - ) -) - -(synth-fun f2 ((x Int)) Int - ( - (Start Int ( - (let ((y1 Int CInt) (y2 Int CInt) (y3 Int CInt) (y4 Int CInt) (y5 Int CInt) - (y6 Int CInt) (y7 Int CInt) (y8 Int CInt) (y9 Int CInt) (y10 Int CInt)) - (+ (+ (+ (+ (+ (+ (+ (+ (+ (+ x y1) y2) y3) y4) y5) y6) y7) y8) y9) y10)) - ) - ) - (CInt Int (0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 -1 -2 -3 -4 -5 -6 -7 -8 -9 -10)) - ) -) - - -(declare-var x1 Int) -(declare-var x2 Int) - -(constraint (= (+ (f1 x1)(f2 x2)) (+ (+ x2 x2) (+ x1 8)))) - -(check-synth) - diff --git a/lib-nonconforming/General_Track/from_2018/twolets6.sl b/lib-nonconforming/General_Track/from_2018/twolets6.sl deleted file mode 100644 index b62c1dc6..00000000 --- a/lib-nonconforming/General_Track/from_2018/twolets6.sl +++ /dev/null @@ -1,36 +0,0 @@ -(set-logic LIA) - -;; f1 is x plus 2 ;; f2 is 2x plus 5 - -(synth-fun f1 ((x Int)) Int - ( - (Start Int ( - (let ((y1 Int CInt) (y2 Int CInt) (y3 Int CInt) (y4 Int CInt) (y5 Int CInt) - (y6 Int CInt)) - (+ (+ (+ (+ (+ (+ x y1) y2) y3) y4) y5) y6)) - ) - ) - (CInt Int (0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 -1 -2 -3 -4 -5 -6 -7 -8 -9 -10)) - ) -) - -(synth-fun f2 ((x Int)) Int - ( -(Start Int ( - (let ((y1 Int CInt) (y2 Int CInt) (y3 Int CInt) (y4 Int CInt) (y5 Int CInt) - (y6 Int CInt)) - (+ (+ (+ (+ (+ (+ x y1) y2) y3) y4) y5) y6)) - ) - ) - (CInt Int (0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 -1 -2 -3 -4 -5 -6 -7 -8 -9 -10)) - ) -) - - -(declare-var x1 Int) -(declare-var x2 Int) - -(constraint (= (+ (f1 x1)(f2 x2)) (+ (+ x2 x2) (+ x1 8)))) - -(check-synth) - diff --git a/lib-nonconforming/General_Track/from_2018/twolets7.sl b/lib-nonconforming/General_Track/from_2018/twolets7.sl deleted file mode 100644 index 66d14afc..00000000 --- a/lib-nonconforming/General_Track/from_2018/twolets7.sl +++ /dev/null @@ -1,36 +0,0 @@ -(set-logic LIA) - -;; f1 is x plus 2 ;; f2 is 2x plus 5 - -(synth-fun f1 ((x Int)) Int - ( - (Start Int ( - (let ((y1 Int CInt) (y2 Int CInt) (y3 Int CInt) (y4 Int CInt) (y5 Int CInt) - (y6 Int CInt) (y7 Int CInt) ) - (+ (+ (+ (+ (+ (+ (+ x y1) y2) y3) y4) y5) y6) y7)) - ) - ) - (CInt Int (0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 -1 -2 -3 -4 -5 -6 -7 -8 -9 -10)) - ) -) - -(synth-fun f2 ((x Int)) Int - ( - (Start Int ( - (let ((y1 Int CInt) (y2 Int CInt) (y3 Int CInt) (y4 Int CInt) (y5 Int CInt) - (y6 Int CInt) (y7 Int CInt) ) - (+ (+ (+ (+ (+ (+ (+ x y1) y2) y3) y4) y5) y6) y7)) - ) - ) - (CInt Int (0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 -1 -2 -3 -4 -5 -6 -7 -8 -9 -10)) - ) -) - - -(declare-var x1 Int) -(declare-var x2 Int) - -(constraint (= (+ (f1 x1)(f2 x2)) (+ (+ x2 x2) (+ x1 8)))) - -(check-synth) - diff --git a/lib-nonconforming/General_Track/from_2018/twolets8.sl b/lib-nonconforming/General_Track/from_2018/twolets8.sl deleted file mode 100644 index 63b44f3c..00000000 --- a/lib-nonconforming/General_Track/from_2018/twolets8.sl +++ /dev/null @@ -1,36 +0,0 @@ -(set-logic LIA) - -;; f1 is x plus 2 ;; f2 is 2x plus 5 - -(synth-fun f1 ((x Int)) Int - ( - (Start Int ( - (let ((y1 Int CInt) (y2 Int CInt) (y3 Int CInt) (y4 Int CInt) (y5 Int CInt) - (y6 Int CInt) (y7 Int CInt) (y8 Int CInt) (y9 Int CInt) (y10 Int CInt)) - (+ (+ (+ (+ (+ (+ (+ (+ x y1) y2) y3) y4) y5) y6) y7) y8)) - ) - ) - (CInt Int (0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 -1 -2 -3 -4 -5 -6 -7 -8 -9 -10)) - ) -) - -(synth-fun f2 ((x Int)) Int - ( - (Start Int ( - (let ((y1 Int CInt) (y2 Int CInt) (y3 Int CInt) (y4 Int CInt) (y5 Int CInt) - (y6 Int CInt) (y7 Int CInt) (y8 Int CInt) (y9 Int CInt) (y10 Int CInt)) - (+ (+ (+ (+ (+ (+ (+ (+ x y1) y2) y3) y4) y5) y6) y7) y8)) - ) - ) - (CInt Int (0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 -1 -2 -3 -4 -5 -6 -7 -8 -9 -10)) - ) -) - - -(declare-var x1 Int) -(declare-var x2 Int) - -(constraint (= (+ (f1 x1)(f2 x2)) (+ (+ x2 x2) (+ x1 8)))) - -(check-synth) - diff --git a/lib-nonconforming/General_Track/from_2018/twolets9.sl b/lib-nonconforming/General_Track/from_2018/twolets9.sl deleted file mode 100644 index 19d5e31a..00000000 --- a/lib-nonconforming/General_Track/from_2018/twolets9.sl +++ /dev/null @@ -1,36 +0,0 @@ -(set-logic LIA) - -;; f1 is x plus 2 ;; f2 is 2x plus 5 - -(synth-fun f1 ((x Int)) Int - ( - (Start Int ( - (let ((y1 Int CInt) (y2 Int CInt) (y3 Int CInt) (y4 Int CInt) (y5 Int CInt) - (y6 Int CInt) (y7 Int CInt) (y8 Int CInt) (y9 Int CInt) (y10 Int CInt)) - (+ (+ (+ (+ (+ (+ (+ (+ (+ x y1) y2) y3) y4) y5) y6) y7) y8) y9)) - ) - ) - (CInt Int (0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 -1 -2 -3 -4 -5 -6 -7 -8 -9 -10)) - ) -) - -(synth-fun f2 ((x Int)) Int - ( - (Start Int ( - (let ((y1 Int CInt) (y2 Int CInt) (y3 Int CInt) (y4 Int CInt) (y5 Int CInt) - (y6 Int CInt) (y7 Int CInt) (y8 Int CInt) (y9 Int CInt) (y10 Int CInt)) - (+ (+ (+ (+ (+ (+ (+ (+ (+ x y1) y2) y3) y4) y5) y6) y7) y8) y9)) - ) - ) - (CInt Int (0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 -1 -2 -3 -4 -5 -6 -7 -8 -9 -10)) - ) -) - - -(declare-var x1 Int) -(declare-var x2 Int) - -(constraint (= (+ (f1 x1)(f2 x2)) (+ (+ x2 x2) (+ x1 8)))) - -(check-synth) - diff --git a/lib-nonconforming/Inv_Track/cegist-cav18/cegar2.sl b/lib-nonconforming/Inv_Track/cegist-cav18/cegar2.sl deleted file mode 100644 index 03c2280e..00000000 --- a/lib-nonconforming/Inv_Track/cegist-cav18/cegar2.sl +++ /dev/null @@ -1,27 +0,0 @@ -(set-logic BV) - -(synth-inv inv-f ((x (BitVec 32))(n (BitVec 32))(m (BitVec 32))) - ) - -(declare-primed-var x (BitVec 32)) - -(declare-primed-var n (BitVec 32)) - -(declare-primed-var m (BitVec 32)) - -(define-fun pre-f ((x (BitVec 32))(n (BitVec 32))(m (BitVec 32))) Bool - (and (= x #x00000000) (= m #x00000000)) -) - -(define-fun trans-f ((x (BitVec 32))(n (BitVec 32))(m (BitVec 32))(x! (BitVec 32))(n! (BitVec 32))(m! (BitVec 32))) Bool - (or (and (and (and (bvult x n) (= x! (bvadd x #x00000001))) (= n! n)) (= m! m)) (and (and (and (bvult x n) (= x! (bvadd x #x00000001))) (= n! n)) (= m! x))) -) - -(define-fun post-f ((x (BitVec 32))(n (BitVec 32))(m (BitVec 32))) Bool - (not (and (and (bvuge x n) (bvugt n #x00000000)) (or (bvule n m) (bvult m #x00000000)))) -) - -(inv-constraint inv-f pre-f trans-f post-f) -(check-synth) - - diff --git a/lib-nonconforming/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_const_true-unreach-call1.sl b/lib-nonconforming/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_const_true-unreach-call1.sl deleted file mode 100644 index bef08917..00000000 --- a/lib-nonconforming/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_const_true-unreach-call1.sl +++ /dev/null @@ -1,25 +0,0 @@ -(set-logic BV) - -(synth-inv inv-f ((x (BitVec 32))(y (BitVec 32))) - ) - -(declare-primed-var x (BitVec 32)) - -(declare-primed-var y (BitVec 32)) - -(define-fun pre-f ((x (BitVec 32))(y (BitVec 32))) Bool - (and (= x #x00000001) (= y #x00000000)) -) - -(define-fun trans-f ((x (BitVec 32))(x! (BitVec 32))(y (BitVec 32))(y! (BitVec 32))) Bool - (and (bvult y #x00000400) (and (= x! #x00000000) (= y! (bvadd y #x00000001)))) -) - -(define-fun post-f ((x (BitVec 32))(y (BitVec 32))) Bool - (or (= x #x00000000) (bvugt y #x00000400)) -) - -(inv-constraint inv-f pre-f trans-f post-f) -(check-synth) - - diff --git a/lib-nonconforming/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_functions_true-unreach-call1.sl b/lib-nonconforming/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_functions_true-unreach-call1.sl deleted file mode 100644 index 935a08d9..00000000 --- a/lib-nonconforming/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_functions_true-unreach-call1.sl +++ /dev/null @@ -1,23 +0,0 @@ -(set-logic BV) - -(synth-inv inv-f ((x (BitVec 32))) - ) - -(declare-primed-var x (BitVec 32)) - -(define-fun pre-f ((x (BitVec 32))) Bool - (= x #x00000000) -) - -(define-fun trans-f ((x (BitVec 32))(x! (BitVec 32))) Bool - (and (bvult x #x0fffffff) (= x! (bvadd #x00000002 x))) -) - -(define-fun post-f ((x (BitVec 32))) Bool - (= #x00000000 (bvurem x #x00000002)) -) - -(inv-constraint inv-f pre-f trans-f post-f) -(check-synth) - - diff --git a/lib-nonconforming/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_multivar_true-unreach-call1.sl b/lib-nonconforming/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_multivar_true-unreach-call1.sl deleted file mode 100644 index 404882f0..00000000 --- a/lib-nonconforming/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_multivar_true-unreach-call1.sl +++ /dev/null @@ -1,25 +0,0 @@ -(set-logic BV) - -(synth-inv inv-f ((x (BitVec 32))(y (BitVec 32))) - ) - -(declare-primed-var x (BitVec 32)) - -(declare-primed-var y (BitVec 32)) - -(define-fun pre-f ((x (BitVec 32))(y (BitVec 32))) Bool - (= x y) -) - -(define-fun trans-f ((x (BitVec 32))(x! (BitVec 32))(y (BitVec 32))(y! (BitVec 32))) Bool - (and (bvult x #x00000400) (and (= x! (bvadd x #x00000001)) (= y! (bvadd y #x00000001)))) -) - -(define-fun post-f ((x (BitVec 32))(y (BitVec 32))) Bool - (= x y) -) - -(inv-constraint inv-f pre-f trans-f post-f) -(check-synth) - - diff --git a/lib-nonconforming/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_overflow_true-unreach-call.sl b/lib-nonconforming/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_overflow_true-unreach-call.sl deleted file mode 100644 index 4286c058..00000000 --- a/lib-nonconforming/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_overflow_true-unreach-call.sl +++ /dev/null @@ -1,23 +0,0 @@ -(set-logic BV) - -(synth-inv inv-f ((x (BitVec 32))) - ) - -(declare-primed-var x (BitVec 32)) - -(define-fun pre-f ((x (BitVec 32))) Bool - (= x #x0000000A) -) - -(define-fun trans-f ((x (BitVec 32))(x! (BitVec 32))) Bool - (and (bvuge x #x0000000A) (= x! (bvadd x #x00000002))) -) - -(define-fun post-f ((x (BitVec 32))) Bool - (= #x00000000 (bvurem x #x00000002)) -) - -(inv-constraint inv-f pre-f trans-f post-f) -(check-synth) - - diff --git a/lib-nonconforming/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_phases_true-unreach-call2.sl b/lib-nonconforming/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_phases_true-unreach-call2.sl deleted file mode 100644 index 9a6a0366..00000000 --- a/lib-nonconforming/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_phases_true-unreach-call2.sl +++ /dev/null @@ -1,25 +0,0 @@ -(set-logic BV) - -(synth-inv inv-f ((x (BitVec 32))(y (BitVec 32))) - ) - -(declare-primed-var x (BitVec 32)) - -(declare-primed-var y (BitVec 32)) - -(define-fun pre-f ((x (BitVec 32))(y (BitVec 32))) Bool - (= x #x00000001) -) - -(define-fun trans-f ((x (BitVec 32))(y (BitVec 32))(x! (BitVec 32))(y! (BitVec 32))) Bool - (and (and (and (bvugt y #x00000000) (bvult x y)) (= y! y)) (or (and (and (bvugt x #x00000000) (bvult x (bvudiv y x))) (= x! (bvmul x x))) (= x! (bvadd x #x00000001)))) -) - -(define-fun post-f ((x (BitVec 32))(y (BitVec 32))) Bool - (or (= y #x00000000) (= x y)) -) - -(inv-constraint inv-f pre-f trans-f post-f) -(check-synth) - - diff --git a/lib-nonconforming/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_simple_true-unreach-call1.sl b/lib-nonconforming/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_simple_true-unreach-call1.sl deleted file mode 100644 index 2a7198e6..00000000 --- a/lib-nonconforming/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_simple_true-unreach-call1.sl +++ /dev/null @@ -1,23 +0,0 @@ -(set-logic BV) - -(synth-inv inv-f ((x (BitVec 32))) - ) - -(declare-primed-var x (BitVec 32)) - -(define-fun pre-f ((x (BitVec 32))) Bool - (= x #x00000000) -) - -(define-fun trans-f ((x (BitVec 32))(x! (BitVec 32))) Bool - (and (bvult x #x0fffffff) (= x! (bvadd x #x00000002))) -) - -(define-fun post-f ((x (BitVec 32))) Bool - (= #x00000000 (bvurem x #x00000002)) -) - -(inv-constraint inv-f pre-f trans-f post-f) -(check-synth) - - diff --git a/lib-nonconforming/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_simple_true-unreach-call2.sl b/lib-nonconforming/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_simple_true-unreach-call2.sl deleted file mode 100644 index 26e2729b..00000000 --- a/lib-nonconforming/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_simple_true-unreach-call2.sl +++ /dev/null @@ -1,23 +0,0 @@ -(set-logic BV) - -(synth-inv inv-f ((x (BitVec 32))) - ) - -(declare-primed-var x (BitVec 32)) - -(define-fun pre-f ((x (BitVec 32))) Bool - (= x x) -) - -(define-fun trans-f ((x (BitVec 32))(x! (BitVec 32))) Bool - (and (bvult x #x0fffffff) (= x! (bvadd x #x00000001))) -) - -(define-fun post-f ((x (BitVec 32))) Bool - (bvuge x #x0fffffff) -) - -(inv-constraint inv-f pre-f trans-f post-f) -(check-synth) - - diff --git a/lib-nonconforming/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_simple_true-unreach-call3.sl b/lib-nonconforming/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_simple_true-unreach-call3.sl deleted file mode 100644 index 046caf8f..00000000 --- a/lib-nonconforming/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_simple_true-unreach-call3.sl +++ /dev/null @@ -1,25 +0,0 @@ -(set-logic BV) - -(synth-inv inv-f ((x (BitVec 32))(N (BitVec 32))) - ) - -(declare-primed-var x (BitVec 32)) - -(declare-primed-var N (BitVec 32)) - -(define-fun pre-f ((x (BitVec 32))(N (BitVec 32))) Bool - (and (= x #x00000000) (= N (bvurem N #x0000FFFF))) -) - -(define-fun trans-f ((x (BitVec 32))(N (BitVec 32))(x! (BitVec 32))(N! (BitVec 32))) Bool - (and (bvult x N) (and (= x! (bvadd x #x00000002)) (= N! N))) -) - -(define-fun post-f ((x (BitVec 32))(N (BitVec 32))) Bool - (= #x00000000 (bvurem x #x00000002)) -) - -(inv-constraint inv-f pre-f trans-f post-f) -(check-synth) - - diff --git a/lib-nonconforming/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_simple_true-unreach-call4.sl b/lib-nonconforming/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_simple_true-unreach-call4.sl deleted file mode 100644 index 3975d35e..00000000 --- a/lib-nonconforming/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_simple_true-unreach-call4.sl +++ /dev/null @@ -1,23 +0,0 @@ -(set-logic BV) - -(synth-inv inv-f ((x (BitVec 32))) - ) - -(declare-primed-var x (BitVec 32)) - -(define-fun pre-f ((x (BitVec 32))) Bool - (= x #x0ffffff0) -) - -(define-fun trans-f ((x (BitVec 32))(x! (BitVec 32))) Bool - (and (bvugt x #x00000000) (= x! (bvsub x #x00000002))) -) - -(define-fun post-f ((x (BitVec 32))) Bool - (= #x00000000 (bvurem x #x00000002)) -) - -(inv-constraint inv-f pre-f trans-f post-f) -(check-synth) - - diff --git a/lib-nonconforming/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_underapprox_true-unreach-call1.sl b/lib-nonconforming/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_underapprox_true-unreach-call1.sl deleted file mode 100644 index 52ac4fbf..00000000 --- a/lib-nonconforming/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_underapprox_true-unreach-call1.sl +++ /dev/null @@ -1,25 +0,0 @@ -(set-logic BV) - -(synth-inv inv-f ((x (BitVec 32))(y (BitVec 32))) - ) - -(declare-primed-var x (BitVec 32)) - -(declare-primed-var y (BitVec 32)) - -(define-fun pre-f ((x (BitVec 32))(y (BitVec 32))) Bool - (and (= x #x00000000) (= y #x00000001)) -) - -(define-fun trans-f ((x (BitVec 32))(y (BitVec 32))(x! (BitVec 32))(y! (BitVec 32))) Bool - (and (bvult x #x00000006) (and (= x! (bvadd x #x00000001)) (= y! (bvmul y #x00000002)))) -) - -(define-fun post-f ((x (BitVec 32))(y (BitVec 32))) Bool - (= #x00000001 (bvurem y #x00000003)) -) - -(inv-constraint inv-f pre-f trans-f post-f) -(check-synth) - - diff --git a/lib-nonconforming/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_underapprox_true-unreach-call2.sl b/lib-nonconforming/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_underapprox_true-unreach-call2.sl deleted file mode 100644 index 92b5cc25..00000000 --- a/lib-nonconforming/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_underapprox_true-unreach-call2.sl +++ /dev/null @@ -1,25 +0,0 @@ -(set-logic BV) - -(synth-inv inv-f ((x (BitVec 32))(y (BitVec 32))) - ) - -(declare-primed-var x (BitVec 32)) - -(declare-primed-var y (BitVec 32)) - -(define-fun pre-f ((x (BitVec 32))(y (BitVec 32))) Bool - (and (= x #x00000000) (= y #x00000001)) -) - -(define-fun trans-f ((x (BitVec 32))(y (BitVec 32))(x! (BitVec 32))(y! (BitVec 32))) Bool - (and (bvult x #x00000006) (and (= x! (bvadd x #x00000001)) (= y! (bvmul y #x00000002)))) -) - -(define-fun post-f ((x (BitVec 32))(y (BitVec 32))) Bool - (= #x00000006 x) -) - -(inv-constraint inv-f pre-f trans-f post-f) -(check-synth) - - diff --git a/lib-nonconforming/Inv_Track/cegist-cav18/dec_simpl.sl b/lib-nonconforming/Inv_Track/cegist-cav18/dec_simpl.sl deleted file mode 100644 index ed225525..00000000 --- a/lib-nonconforming/Inv_Track/cegist-cav18/dec_simpl.sl +++ /dev/null @@ -1,24 +0,0 @@ -(set-logic BV) - -(synth-inv inv-f ((x (BitVec 32))(n (BitVec 32)))) - -(declare-primed-var x (BitVec 32)) - -(declare-primed-var n (BitVec 32)) - -(define-fun pre-f ((x (BitVec 32))(n (BitVec 32))) Bool - (= x n) -) - -(define-fun trans-f ((x (BitVec 32))(n (BitVec 32))(x! (BitVec 32))(n! (BitVec 32))) Bool - (and (and (bvugt x #x00000000) (= x! ( bvsub x #x00000001))) (= n! n)) -) - -(define-fun post-f ((x (BitVec 32))(n (BitVec 32))) Bool - (not (and (bvule x #x00000000) (and (not (= x #x00000000)) (bvuge n #x00000000)))) -) - -(inv-constraint inv-f pre-f trans-f post-f) -(check-synth) - - diff --git a/lib-nonconforming/Inv_Track/cegist-cav18/formula22.sl b/lib-nonconforming/Inv_Track/cegist-cav18/formula22.sl deleted file mode 100644 index 52ab5151..00000000 --- a/lib-nonconforming/Inv_Track/cegist-cav18/formula22.sl +++ /dev/null @@ -1,26 +0,0 @@ -(set-logic BV) - -(synth-inv inv-f ((x1 (BitVec 32))(x2 (BitVec 32))(x3 (BitVec 32)))) - -(declare-primed-var x1 (BitVec 32)) - -(declare-primed-var x2 (BitVec 32)) - -(declare-primed-var x3 (BitVec 32)) - -(define-fun pre-f ((x1 (BitVec 32))(x2 (BitVec 32))(x3 (BitVec 32))) Bool - (and (= x1 #x00000000) (and (= x2 #x00000000) (= x3 #x00000000))) -) - -(define-fun trans-f ((x1 (BitVec 32))(x2 (BitVec 32))(x3 (BitVec 32))(x1! (BitVec 32))(x2! (BitVec 32))(x3! (BitVec 32))) Bool - (and (bvsle x1! x2!) (or (bvsge x2! #x00000000) (bvsle (bvsub x2! x3!) #x00000002))) -) - -(define-fun post-f ((x1 (BitVec 32))(x2 (BitVec 32))(x3 (BitVec 32))) Bool - (and (bvsle x1 x2) (or (bvsge x2 #x00000000) (bvsle (bvsub x2 x3) #x00000002))) -) - -(inv-constraint inv-f pre-f trans-f post-f) -(check-synth) - - diff --git a/lib-nonconforming/Inv_Track/cegist-cav18/hola.05.sl b/lib-nonconforming/Inv_Track/cegist-cav18/hola.05.sl deleted file mode 100644 index c8c6820b..00000000 --- a/lib-nonconforming/Inv_Track/cegist-cav18/hola.05.sl +++ /dev/null @@ -1,29 +0,0 @@ -(set-logic BV) - -(synth-inv inv-f ((x (BitVec 32))(y (BitVec 32))(i (BitVec 32))(j (BitVec 32))) - ) - -(declare-primed-var x (BitVec 32)) - -(declare-primed-var y (BitVec 32)) - -(declare-primed-var i (BitVec 32)) - -(declare-primed-var j (BitVec 32)) - -(define-fun pre-f ((x (BitVec 32))(y (BitVec 32))(i (BitVec 32))(j (BitVec 32))) Bool - (and (= j #x00000000) (and (= i #x00000000) (and (= x #x00000000) (= y #x00000000)))) -) - -(define-fun trans-f ((x (BitVec 32))(y (BitVec 32))(i (BitVec 32))(j (BitVec 32))(x! (BitVec 32))(y! (BitVec 32))(i! (BitVec 32))(j! (BitVec 32))) Bool - (and (= x! (bvadd x #x00000001)) (and (= y! (bvadd y #x00000001)) (and (= i! (bvadd i (bvadd x #x00000001))) (or (= j! (bvadd j (bvadd y #x00000001))) (= j! (bvadd j (bvadd y #x00000002))))))) -) - -(define-fun post-f ((x (BitVec 32))(y (BitVec 32))(i (BitVec 32))(j (BitVec 32))) Bool - (bvuge j i) -) - -(inv-constraint inv-f pre-f trans-f post-f) -(check-synth) - - diff --git a/lib-nonconforming/Inv_Track/cegist-cav18/hola.44.sl b/lib-nonconforming/Inv_Track/cegist-cav18/hola.44.sl deleted file mode 100644 index 8756ee99..00000000 --- a/lib-nonconforming/Inv_Track/cegist-cav18/hola.44.sl +++ /dev/null @@ -1,29 +0,0 @@ -(set-logic BV) - -(synth-inv inv-f ((x (BitVec 32))(y (BitVec 32))(i (BitVec 32))(j (BitVec 32))) - ) - -(declare-primed-var x (BitVec 32)) - -(declare-primed-var y (BitVec 32)) - -(declare-primed-var i (BitVec 32)) - -(declare-primed-var j (BitVec 32)) - -(define-fun pre-f ((x (BitVec 32))(y (BitVec 32))(i (BitVec 32))(j (BitVec 32))) Bool - (and (= j #x00000000) (and (= i #x00000000) (or (= y #x00000001) (= y #x00000002)))) -) - -(define-fun trans-f ((x (BitVec 32))(y (BitVec 32))(i (BitVec 32))(j (BitVec 32))(x! (BitVec 32))(y! (BitVec 32))(i! (BitVec 32))(j! (BitVec 32))) Bool - (and (bvule i x) (and (= x! x) (and (= y! y) (and (= i! (bvadd i #x00000001)) (= j! (bvadd j y)))))) -) - -(define-fun post-f ((x (BitVec 32))(y (BitVec 32))(i (BitVec 32))(j (BitVec 32))) Bool - (or (bvule i x) (or (not (= y #x00000001)) (= i j))) -) - -(inv-constraint inv-f pre-f trans-f post-f) -(check-synth) - - diff --git a/lib-nonconforming/Inv_Track/cegist-cav18/hola_add.sl b/lib-nonconforming/Inv_Track/cegist-cav18/hola_add.sl deleted file mode 100644 index 6f2c68b2..00000000 --- a/lib-nonconforming/Inv_Track/cegist-cav18/hola_add.sl +++ /dev/null @@ -1,27 +0,0 @@ -(set-logic BV) - -(synth-inv inv-f ((x (BitVec 32))(y (BitVec 32))(n (BitVec 32))) - ) - -(declare-primed-var x (BitVec 32)) - -(declare-primed-var y (BitVec 32)) - -(declare-primed-var n (BitVec 32)) - -(define-fun pre-f ((x (BitVec 32))(y (BitVec 32))(n (BitVec 32))) Bool - (and (bvuge n #x00000000) (and (= x n) (= y #x00000000))) -) - -(define-fun trans-f ((x (BitVec 32))(y (BitVec 32))(n (BitVec 32))(x! (BitVec 32))(y! (BitVec 32))(n! (BitVec 32))) Bool - (and (bvugt x #x00000000) (and (= n! n) (and (= y! (bvadd y #x00000001)) (= x! ( bvsub x #x00000001))))) -) - -(define-fun post-f ((x (BitVec 32))(y (BitVec 32))(n (BitVec 32))) Bool - (or (bvugt x #x00000000) (= n (bvadd x y))) -) - -(inv-constraint inv-f pre-f trans-f post-f) -(check-synth) - - diff --git a/lib-nonconforming/Inv_Track/cegist-cav18/inc_simp.sl b/lib-nonconforming/Inv_Track/cegist-cav18/inc_simp.sl deleted file mode 100644 index a8bf7ae2..00000000 --- a/lib-nonconforming/Inv_Track/cegist-cav18/inc_simp.sl +++ /dev/null @@ -1,25 +0,0 @@ -(set-logic BV) - -(synth-inv inv-f ((x (BitVec 32))(n (BitVec 32))) - ) - -(declare-primed-var x (BitVec 32)) - -(declare-primed-var n (BitVec 32)) - -(define-fun pre-f ((x (BitVec 32))(n (BitVec 32))) Bool - (= x #x00000000) -) - -(define-fun trans-f ((x (BitVec 32))(n (BitVec 32))(x! (BitVec 32))(n! (BitVec 32))) Bool - (and (= n! n) (and (bvult x n) (= x! (bvadd x #x00000001)))) -) - -(define-fun post-f ((x (BitVec 32))(n (BitVec 32))) Bool - (or (not (bvuge x n)) (or (= x n) (bvult n #x00000000))) -) - -(inv-constraint inv-f pre-f trans-f post-f) -(check-synth) - - diff --git a/lib/General_Track/from_2018/General_plus10.sl b/lib/General_Track/from_2018/General_plus10.sl index bc1ea78e..ea25e826 100644 --- a/lib/General_Track/from_2018/General_plus10.sl +++ b/lib/General_Track/from_2018/General_plus10.sl @@ -8,7 +8,7 @@ ((Start Int)) ((Start Int ((Constant Int))))) -(constraint (= (fc) (+ (fb) 10))) +(constraint (= fc (+ fb 10))) (check-synth) diff --git a/lib-nonconforming/General_Track/from_2018/array_sum_10_15.sl b/lib/General_Track/from_2018/array_sum_10_15.sl similarity index 91% rename from lib-nonconforming/General_Track/from_2018/array_sum_10_15.sl rename to lib/General_Track/from_2018/array_sum_10_15.sl index 6273cc5e..4a81d7ff 100644 --- a/lib-nonconforming/General_Track/from_2018/array_sum_10_15.sl +++ b/lib/General_Track/from_2018/array_sum_10_15.sl @@ -1,5 +1,6 @@ (set-logic LIA) -(synth-fun findSum ( (y1 Int) (y2 Int) (y3 Int) (y4 Int) (y5 Int) (y6 Int) (y7 Int) (y8 Int) (y9 Int) (y10 Int) )Int ((Start Int ( 0 1 2 3 4 5 6 7 8 9 10 y1 y2 y3 y4 y5 y6 y7 y8 y9 y10 z (+ Start Start) (let ((z Int Start)) Start) (ite BoolExpr Start Start))) (BoolExpr Bool ((< Start Start) (<= Start Start) (> Start Start) (>= Start Start))))) +(synth-fun findSum ( (y1 Int) (y2 Int) (y3 Int) (y4 Int) (y5 Int) (y6 Int) (y7 Int) (y8 Int) (y9 Int) (y10 Int) )Int ((Start Int) (BoolExpr Bool)) + ((Start Int ( 0 1 2 3 4 5 6 7 8 9 10 y1 y2 y3 y4 y5 y6 y7 y8 y9 y10 (+ Start Start) (ite BoolExpr Start Start))) (BoolExpr Bool ((< Start Start) (<= Start Start) (> Start Start) (>= Start Start))))) (declare-var x1 Int) (declare-var x2 Int) (declare-var x3 Int) diff --git a/lib-nonconforming/General_Track/from_2018/array_sum_10_5.sl b/lib/General_Track/from_2018/array_sum_10_5.sl similarity index 91% rename from lib-nonconforming/General_Track/from_2018/array_sum_10_5.sl rename to lib/General_Track/from_2018/array_sum_10_5.sl index 080b3b59..df074dfb 100644 --- a/lib-nonconforming/General_Track/from_2018/array_sum_10_5.sl +++ b/lib/General_Track/from_2018/array_sum_10_5.sl @@ -1,5 +1,6 @@ (set-logic LIA) -(synth-fun findSum ( (y1 Int) (y2 Int) (y3 Int) (y4 Int) (y5 Int) (y6 Int) (y7 Int) (y8 Int) (y9 Int) (y10 Int) )Int ((Start Int ( 0 1 2 3 4 5 6 7 8 9 10 y1 y2 y3 y4 y5 y6 y7 y8 y9 y10 z (+ Start Start) (let ((z Int Start)) Start) (ite BoolExpr Start Start))) (BoolExpr Bool ((< Start Start) (<= Start Start) (> Start Start) (>= Start Start))))) +(synth-fun findSum ( (y1 Int) (y2 Int) (y3 Int) (y4 Int) (y5 Int) (y6 Int) (y7 Int) (y8 Int) (y9 Int) (y10 Int) )Int ((Start Int) (BoolExpr Bool)) + ((Start Int ( 0 1 2 3 4 5 6 7 8 9 10 y1 y2 y3 y4 y5 y6 y7 y8 y9 y10 (+ Start Start) (ite BoolExpr Start Start))) (BoolExpr Bool ((< Start Start) (<= Start Start) (> Start Start) (>= Start Start))))) (declare-var x1 Int) (declare-var x2 Int) (declare-var x3 Int) diff --git a/lib/General_Track/from_2018/array_sum_2_15.sl b/lib/General_Track/from_2018/array_sum_2_15.sl new file mode 100644 index 00000000..0c7145d6 --- /dev/null +++ b/lib/General_Track/from_2018/array_sum_2_15.sl @@ -0,0 +1,8 @@ +(set-logic LIA) +(synth-fun findSum ( (y1 Int) (y2 Int) )Int ((Start Int) (BoolExpr Bool)) + ((Start Int ( 0 1 2 y1 y2 (+ Start Start) (ite BoolExpr Start Start))) (BoolExpr Bool ((< Start Start) (<= Start Start) (> Start Start) (>= Start Start))))) +(declare-var x1 Int) +(declare-var x2 Int) +(constraint (=> (> (+ x1 x2) 15) (= (findSum x1 x2 ) (+ x1 x2)))) +(constraint (=> (<= (+ x1 x2) 15) (= (findSum x1 x2 ) 0))) +(check-synth) diff --git a/lib/General_Track/from_2018/array_sum_2_5.sl b/lib/General_Track/from_2018/array_sum_2_5.sl new file mode 100644 index 00000000..8769ee9c --- /dev/null +++ b/lib/General_Track/from_2018/array_sum_2_5.sl @@ -0,0 +1,8 @@ +(set-logic LIA) +(synth-fun findSum ( (y1 Int) (y2 Int) )Int ((Start Int) (BoolExpr Bool)) + ((Start Int ( 0 1 2 y1 y2 (+ Start Start) (ite BoolExpr Start Start))) (BoolExpr Bool ((< Start Start) (<= Start Start) (> Start Start) (>= Start Start))))) +(declare-var x1 Int) +(declare-var x2 Int) +(constraint (=> (> (+ x1 x2) 5) (= (findSum x1 x2 ) (+ x1 x2)))) +(constraint (=> (<= (+ x1 x2) 5) (= (findSum x1 x2 ) 0))) +(check-synth) diff --git a/lib-nonconforming/General_Track/from_2018/array_sum_3_15.sl b/lib/General_Track/from_2018/array_sum_3_15.sl similarity index 68% rename from lib-nonconforming/General_Track/from_2018/array_sum_3_15.sl rename to lib/General_Track/from_2018/array_sum_3_15.sl index 7c01fd33..e7f12921 100644 --- a/lib-nonconforming/General_Track/from_2018/array_sum_3_15.sl +++ b/lib/General_Track/from_2018/array_sum_3_15.sl @@ -1,5 +1,6 @@ (set-logic LIA) -(synth-fun findSum ( (y1 Int) (y2 Int) (y3 Int) )Int ((Start Int ( 0 1 2 3 y1 y2 y3 z (+ Start Start) (let ((z Int Start)) Start) (ite BoolExpr Start Start))) (BoolExpr Bool ((< Start Start) (<= Start Start) (> Start Start) (>= Start Start))))) +(synth-fun findSum ( (y1 Int) (y2 Int) (y3 Int) )Int ((Start Int) (BoolExpr Bool)) + ((Start Int ( 0 1 2 3 y1 y2 y3 (+ Start Start) (ite BoolExpr Start Start))) (BoolExpr Bool ((< Start Start) (<= Start Start) (> Start Start) (>= Start Start))))) (declare-var x1 Int) (declare-var x2 Int) (declare-var x3 Int) diff --git a/lib-nonconforming/General_Track/from_2018/array_sum_3_5.sl b/lib/General_Track/from_2018/array_sum_3_5.sl similarity index 68% rename from lib-nonconforming/General_Track/from_2018/array_sum_3_5.sl rename to lib/General_Track/from_2018/array_sum_3_5.sl index ca79ef25..70edd54b 100644 --- a/lib-nonconforming/General_Track/from_2018/array_sum_3_5.sl +++ b/lib/General_Track/from_2018/array_sum_3_5.sl @@ -1,5 +1,6 @@ (set-logic LIA) -(synth-fun findSum ( (y1 Int) (y2 Int) (y3 Int) )Int ((Start Int ( 0 1 2 3 y1 y2 y3 z (+ Start Start) (let ((z Int Start)) Start) (ite BoolExpr Start Start))) (BoolExpr Bool ((< Start Start) (<= Start Start) (> Start Start) (>= Start Start))))) +(synth-fun findSum ( (y1 Int) (y2 Int) (y3 Int) )Int ((Start Int) (BoolExpr Bool)) + ((Start Int ( 0 1 2 3 y1 y2 y3 (+ Start Start) (ite BoolExpr Start Start))) (BoolExpr Bool ((< Start Start) (<= Start Start) (> Start Start) (>= Start Start))))) (declare-var x1 Int) (declare-var x2 Int) (declare-var x3 Int) diff --git a/lib-nonconforming/General_Track/from_2018/array_sum_4_15.sl b/lib/General_Track/from_2018/array_sum_4_15.sl similarity index 74% rename from lib-nonconforming/General_Track/from_2018/array_sum_4_15.sl rename to lib/General_Track/from_2018/array_sum_4_15.sl index 5dd33dcb..73cb0a06 100644 --- a/lib-nonconforming/General_Track/from_2018/array_sum_4_15.sl +++ b/lib/General_Track/from_2018/array_sum_4_15.sl @@ -1,5 +1,6 @@ (set-logic LIA) -(synth-fun findSum ( (y1 Int) (y2 Int) (y3 Int) (y4 Int) )Int ((Start Int ( 0 1 2 3 4 y1 y2 y3 y4 z (+ Start Start) (let ((z Int Start)) Start) (ite BoolExpr Start Start))) (BoolExpr Bool ((< Start Start) (<= Start Start) (> Start Start) (>= Start Start))))) +(synth-fun findSum ( (y1 Int) (y2 Int) (y3 Int) (y4 Int) )Int ((Start Int) (BoolExpr Bool)) + ((Start Int ( 0 1 2 3 4 y1 y2 y3 y4 (+ Start Start) (ite BoolExpr Start Start))) (BoolExpr Bool ((< Start Start) (<= Start Start) (> Start Start) (>= Start Start))))) (declare-var x1 Int) (declare-var x2 Int) (declare-var x3 Int) diff --git a/lib-nonconforming/General_Track/from_2018/array_sum_4_5.sl b/lib/General_Track/from_2018/array_sum_4_5.sl similarity index 90% rename from lib-nonconforming/General_Track/from_2018/array_sum_4_5.sl rename to lib/General_Track/from_2018/array_sum_4_5.sl index 9e57f21b..532a467d 100644 --- a/lib-nonconforming/General_Track/from_2018/array_sum_4_5.sl +++ b/lib/General_Track/from_2018/array_sum_4_5.sl @@ -5,7 +5,8 @@ (set-logic LIA) (synth-fun findSum ((y1 Int) (y2 Int) (y3 Int) (y4 Int)) Int - ((Start Int (0 + ((Start Int) (BoolExpr Bool)) + ((Start Int (0 1 2 3 @@ -15,9 +16,7 @@ y2 y3 y4 - z - (+ Start Start) - (let ((z Int Start)) Start) + (+ Start Start) (ite BoolExpr Start Start))) (BoolExpr Bool ((< Start Start) diff --git a/lib-nonconforming/General_Track/from_2018/array_sum_5_15.sl b/lib/General_Track/from_2018/array_sum_5_15.sl similarity index 78% rename from lib-nonconforming/General_Track/from_2018/array_sum_5_15.sl rename to lib/General_Track/from_2018/array_sum_5_15.sl index a7aae884..de2da546 100644 --- a/lib-nonconforming/General_Track/from_2018/array_sum_5_15.sl +++ b/lib/General_Track/from_2018/array_sum_5_15.sl @@ -1,5 +1,6 @@ (set-logic LIA) -(synth-fun findSum ( (y1 Int) (y2 Int) (y3 Int) (y4 Int) (y5 Int) )Int ((Start Int ( 0 1 2 3 4 5 y1 y2 y3 y4 y5 z (+ Start Start) (let ((z Int Start)) Start) (ite BoolExpr Start Start))) (BoolExpr Bool ((< Start Start) (<= Start Start) (> Start Start) (>= Start Start))))) +(synth-fun findSum ( (y1 Int) (y2 Int) (y3 Int) (y4 Int) (y5 Int) )Int ((Start Int) (BoolExpr Bool)) + ((Start Int ( 0 1 2 3 4 5 y1 y2 y3 y4 y5 (+ Start Start) (ite BoolExpr Start Start))) (BoolExpr Bool ((< Start Start) (<= Start Start) (> Start Start) (>= Start Start))))) (declare-var x1 Int) (declare-var x2 Int) (declare-var x3 Int) diff --git a/lib-nonconforming/General_Track/from_2018/array_sum_6_15.sl b/lib/General_Track/from_2018/array_sum_6_15.sl similarity index 81% rename from lib-nonconforming/General_Track/from_2018/array_sum_6_15.sl rename to lib/General_Track/from_2018/array_sum_6_15.sl index 293bf6f4..5cd5cb3c 100644 --- a/lib-nonconforming/General_Track/from_2018/array_sum_6_15.sl +++ b/lib/General_Track/from_2018/array_sum_6_15.sl @@ -1,5 +1,6 @@ (set-logic LIA) -(synth-fun findSum ( (y1 Int) (y2 Int) (y3 Int) (y4 Int) (y5 Int) (y6 Int) )Int ((Start Int ( 0 1 2 3 4 5 6 y1 y2 y3 y4 y5 y6 z (+ Start Start) (let ((z Int Start)) Start) (ite BoolExpr Start Start))) (BoolExpr Bool ((< Start Start) (<= Start Start) (> Start Start) (>= Start Start))))) +(synth-fun findSum ( (y1 Int) (y2 Int) (y3 Int) (y4 Int) (y5 Int) (y6 Int) )Int ((Start Int) (BoolExpr Bool)) + ((Start Int ( 0 1 2 3 4 5 6 y1 y2 y3 y4 y5 y6 (+ Start Start) (ite BoolExpr Start Start))) (BoolExpr Bool ((< Start Start) (<= Start Start) (> Start Start) (>= Start Start))))) (declare-var x1 Int) (declare-var x2 Int) (declare-var x3 Int) diff --git a/lib-nonconforming/General_Track/from_2018/array_sum_6_5.sl b/lib/General_Track/from_2018/array_sum_6_5.sl similarity index 81% rename from lib-nonconforming/General_Track/from_2018/array_sum_6_5.sl rename to lib/General_Track/from_2018/array_sum_6_5.sl index a5f11368..d8ad13c1 100644 --- a/lib-nonconforming/General_Track/from_2018/array_sum_6_5.sl +++ b/lib/General_Track/from_2018/array_sum_6_5.sl @@ -1,5 +1,6 @@ (set-logic LIA) -(synth-fun findSum ( (y1 Int) (y2 Int) (y3 Int) (y4 Int) (y5 Int) (y6 Int) )Int ((Start Int ( 0 1 2 3 4 5 6 y1 y2 y3 y4 y5 y6 z (+ Start Start) (let ((z Int Start)) Start) (ite BoolExpr Start Start))) (BoolExpr Bool ((< Start Start) (<= Start Start) (> Start Start) (>= Start Start))))) +(synth-fun findSum ( (y1 Int) (y2 Int) (y3 Int) (y4 Int) (y5 Int) (y6 Int) )Int ((Start Int) (BoolExpr Bool)) + ((Start Int ( 0 1 2 3 4 5 6 y1 y2 y3 y4 y5 y6 (+ Start Start) (ite BoolExpr Start Start))) (BoolExpr Bool ((< Start Start) (<= Start Start) (> Start Start) (>= Start Start))))) (declare-var x1 Int) (declare-var x2 Int) (declare-var x3 Int) diff --git a/lib-nonconforming/General_Track/from_2018/array_sum_7_15.sl b/lib/General_Track/from_2018/array_sum_7_15.sl similarity index 84% rename from lib-nonconforming/General_Track/from_2018/array_sum_7_15.sl rename to lib/General_Track/from_2018/array_sum_7_15.sl index a28c5fb4..3e30159b 100644 --- a/lib-nonconforming/General_Track/from_2018/array_sum_7_15.sl +++ b/lib/General_Track/from_2018/array_sum_7_15.sl @@ -1,5 +1,6 @@ (set-logic LIA) -(synth-fun findSum ( (y1 Int) (y2 Int) (y3 Int) (y4 Int) (y5 Int) (y6 Int) (y7 Int) )Int ((Start Int ( 0 1 2 3 4 5 6 7 y1 y2 y3 y4 y5 y6 y7 z (+ Start Start) (let ((z Int Start)) Start) (ite BoolExpr Start Start))) (BoolExpr Bool ((< Start Start) (<= Start Start) (> Start Start) (>= Start Start))))) +(synth-fun findSum ( (y1 Int) (y2 Int) (y3 Int) (y4 Int) (y5 Int) (y6 Int) (y7 Int) )Int ((Start Int) (BoolExpr Bool)) + ((Start Int ( 0 1 2 3 4 5 6 7 y1 y2 y3 y4 y5 y6 y7 (+ Start Start) (ite BoolExpr Start Start))) (BoolExpr Bool ((< Start Start) (<= Start Start) (> Start Start) (>= Start Start))))) (declare-var x1 Int) (declare-var x2 Int) (declare-var x3 Int) diff --git a/lib-nonconforming/General_Track/from_2018/array_sum_7_5.sl b/lib/General_Track/from_2018/array_sum_7_5.sl similarity index 83% rename from lib-nonconforming/General_Track/from_2018/array_sum_7_5.sl rename to lib/General_Track/from_2018/array_sum_7_5.sl index 806ac3be..e6e30f35 100644 --- a/lib-nonconforming/General_Track/from_2018/array_sum_7_5.sl +++ b/lib/General_Track/from_2018/array_sum_7_5.sl @@ -1,5 +1,6 @@ (set-logic LIA) -(synth-fun findSum ( (y1 Int) (y2 Int) (y3 Int) (y4 Int) (y5 Int) (y6 Int) (y7 Int) )Int ((Start Int ( 0 1 2 3 4 5 6 7 y1 y2 y3 y4 y5 y6 y7 z (+ Start Start) (let ((z Int Start)) Start) (ite BoolExpr Start Start))) (BoolExpr Bool ((< Start Start) (<= Start Start) (> Start Start) (>= Start Start))))) +(synth-fun findSum ( (y1 Int) (y2 Int) (y3 Int) (y4 Int) (y5 Int) (y6 Int) (y7 Int) )Int ((Start Int) (BoolExpr Bool)) + ((Start Int ( 0 1 2 3 4 5 6 7 y1 y2 y3 y4 y5 y6 y7 (+ Start Start) (ite BoolExpr Start Start))) (BoolExpr Bool ((< Start Start) (<= Start Start) (> Start Start) (>= Start Start))))) (declare-var x1 Int) (declare-var x2 Int) (declare-var x3 Int) diff --git a/lib-nonconforming/General_Track/from_2018/array_sum_8_15.sl b/lib/General_Track/from_2018/array_sum_8_15.sl similarity index 89% rename from lib-nonconforming/General_Track/from_2018/array_sum_8_15.sl rename to lib/General_Track/from_2018/array_sum_8_15.sl index cb038afb..5d1c1eae 100644 --- a/lib-nonconforming/General_Track/from_2018/array_sum_8_15.sl +++ b/lib/General_Track/from_2018/array_sum_8_15.sl @@ -1,5 +1,6 @@ (set-logic LIA) -(synth-fun findSum ( (y1 Int) (y2 Int) (y3 Int) (y4 Int) (y5 Int) (y6 Int) (y7 Int) (y8 Int) )Int ((Start Int ( 0 1 2 3 4 5 6 7 8 y1 y2 y3 y4 y5 y6 y7 y8 z (+ Start Start) (let ((z Int Start)) Start) (ite BoolExpr Start Start))) (BoolExpr Bool ((< Start Start) (<= Start Start) (> Start Start) (>= Start Start))))) +(synth-fun findSum ( (y1 Int) (y2 Int) (y3 Int) (y4 Int) (y5 Int) (y6 Int) (y7 Int) (y8 Int) )Int ((Start Int) (BoolExpr Bool)) + ((Start Int ( 0 1 2 3 4 5 6 7 8 y1 y2 y3 y4 y5 y6 y7 y8 (+ Start Start) (ite BoolExpr Start Start))) (BoolExpr Bool ((< Start Start) (<= Start Start) (> Start Start) (>= Start Start))))) (declare-var x1 Int) (declare-var x2 Int) (declare-var x3 Int) diff --git a/lib-nonconforming/General_Track/from_2018/array_sum_8_5.sl b/lib/General_Track/from_2018/array_sum_8_5.sl similarity index 89% rename from lib-nonconforming/General_Track/from_2018/array_sum_8_5.sl rename to lib/General_Track/from_2018/array_sum_8_5.sl index d52b6868..909263af 100644 --- a/lib-nonconforming/General_Track/from_2018/array_sum_8_5.sl +++ b/lib/General_Track/from_2018/array_sum_8_5.sl @@ -1,5 +1,6 @@ (set-logic LIA) -(synth-fun findSum ( (y1 Int) (y2 Int) (y3 Int) (y4 Int) (y5 Int) (y6 Int) (y7 Int) (y8 Int) )Int ((Start Int ( 0 1 2 3 4 5 6 7 8 y1 y2 y3 y4 y5 y6 y7 y8 z (+ Start Start) (let ((z Int Start)) Start) (ite BoolExpr Start Start))) (BoolExpr Bool ((< Start Start) (<= Start Start) (> Start Start) (>= Start Start))))) +(synth-fun findSum ( (y1 Int) (y2 Int) (y3 Int) (y4 Int) (y5 Int) (y6 Int) (y7 Int) (y8 Int) )Int ((Start Int) (BoolExpr Bool)) + ((Start Int ( 0 1 2 3 4 5 6 7 8 y1 y2 y3 y4 y5 y6 y7 y8 (+ Start Start) (ite BoolExpr Start Start))) (BoolExpr Bool ((< Start Start) (<= Start Start) (> Start Start) (>= Start Start))))) (declare-var x1 Int) (declare-var x2 Int) (declare-var x3 Int) diff --git a/lib-nonconforming/General_Track/from_2018/array_sum_9_15.sl b/lib/General_Track/from_2018/array_sum_9_15.sl similarity index 87% rename from lib-nonconforming/General_Track/from_2018/array_sum_9_15.sl rename to lib/General_Track/from_2018/array_sum_9_15.sl index 7bfe33f1..9c0350e4 100644 --- a/lib-nonconforming/General_Track/from_2018/array_sum_9_15.sl +++ b/lib/General_Track/from_2018/array_sum_9_15.sl @@ -1,5 +1,6 @@ (set-logic LIA) -(synth-fun findSum ( (y1 Int) (y2 Int) (y3 Int) (y4 Int) (y5 Int) (y6 Int) (y7 Int) (y8 Int) (y9 Int) )Int ((Start Int ( 0 1 2 3 4 5 6 7 8 9 y1 y2 y3 y4 y5 y6 y7 y8 y9 z (+ Start Start) (let ((z Int Start)) Start) (ite BoolExpr Start Start))) (BoolExpr Bool ((< Start Start) (<= Start Start) (> Start Start) (>= Start Start))))) +(synth-fun findSum ( (y1 Int) (y2 Int) (y3 Int) (y4 Int) (y5 Int) (y6 Int) (y7 Int) (y8 Int) (y9 Int) )Int ((Start Int) (BoolExpr Bool)) + ((Start Int ( 0 1 2 3 4 5 6 7 8 9 y1 y2 y3 y4 y5 y6 y7 y8 y9 (+ Start Start) (ite BoolExpr Start Start))) (BoolExpr Bool ((< Start Start) (<= Start Start) (> Start Start) (>= Start Start))))) (declare-var x1 Int) (declare-var x2 Int) (declare-var x3 Int) diff --git a/lib-nonconforming/General_Track/from_2018/array_sum_9_5.sl b/lib/General_Track/from_2018/array_sum_9_5.sl similarity index 87% rename from lib-nonconforming/General_Track/from_2018/array_sum_9_5.sl rename to lib/General_Track/from_2018/array_sum_9_5.sl index 051fb8c5..da0698da 100644 --- a/lib-nonconforming/General_Track/from_2018/array_sum_9_5.sl +++ b/lib/General_Track/from_2018/array_sum_9_5.sl @@ -1,5 +1,6 @@ (set-logic LIA) -(synth-fun findSum ( (y1 Int) (y2 Int) (y3 Int) (y4 Int) (y5 Int) (y6 Int) (y7 Int) (y8 Int) (y9 Int) )Int ((Start Int ( 0 1 2 3 4 5 6 7 8 9 y1 y2 y3 y4 y5 y6 y7 y8 y9 z (+ Start Start) (let ((z Int Start)) Start) (ite BoolExpr Start Start))) (BoolExpr Bool ((< Start Start) (<= Start Start) (> Start Start) (>= Start Start))))) +(synth-fun findSum ( (y1 Int) (y2 Int) (y3 Int) (y4 Int) (y5 Int) (y6 Int) (y7 Int) (y8 Int) (y9 Int) )Int ((Start Int) (BoolExpr Bool)) + ((Start Int ( 0 1 2 3 4 5 6 7 8 9 y1 y2 y3 y4 y5 y6 y7 y8 y9 (+ Start Start) (ite BoolExpr Start Start))) (BoolExpr Bool ((< Start Start) (<= Start Start) (> Start Start) (>= Start Start))))) (declare-var x1 Int) (declare-var x2 Int) (declare-var x3 Int) diff --git a/lib-nonconforming/General_Track/from_2018/logcount-d1.sl b/lib/General_Track/from_2018/logcount-d1.sl similarity index 62% rename from lib-nonconforming/General_Track/from_2018/logcount-d1.sl rename to lib/General_Track/from_2018/logcount-d1.sl index c3773dcf..3855e8cf 100644 --- a/lib-nonconforming/General_Track/from_2018/logcount-d1.sl +++ b/lib/General_Track/from_2018/logcount-d1.sl @@ -1,13 +1,14 @@ (set-logic BV) -(synth-fun countSketch ((x (BitVec 8))) (BitVec 8) - ( - (Start (BitVec 8) ( x - (let ((tmp (BitVec 8) Start) (m (BitVec 8) ConstBV) (n (BitVec 8) ConstBV)) (bvadd (bvand tmp m) (bvand (bvlshr tmp n) m)) ) +(synth-fun countSketch ((x (_ BitVec 8))) (_ BitVec 8) + ((Start (_ BitVec 8)) (ConstBV (_ BitVec 8))) + ( + (Start (_ BitVec 8) ( x + (let ((tmp Start) (m ConstBV) (n ConstBV)) (bvadd (bvand tmp m) (bvand (bvlshr tmp n) m)) ) ) ) - (ConstBV (BitVec 8) ( + (ConstBV (_ BitVec 8) ( #x00 #xAA #xBB #xCC #xDD #xEE #xFF #xA0 #xB0 #xC0 #xD0 #xE0 #xF0 #x01 #x02 #x04 ) @@ -17,9 +18,9 @@ -(declare-var x1 (BitVec 8)) +(declare-var x1 (_ BitVec 8)) -(define-fun sumBits ((x (BitVec 8))) (BitVec 8) +(define-fun sumBits ((x (_ BitVec 8))) (_ BitVec 8) (bvadd (bvadd (bvadd (bvadd (bvadd (bvadd (bvadd (ite (= (bvand x #x01) #x01) #x01 #x00) (ite (= (bvand x #x02) #x02) #x01 #x00)) (ite (= (bvand x #x04) #x04) #x01 #x00)) diff --git a/lib-nonconforming/General_Track/from_2018/logcount-d5.sl b/lib/General_Track/from_2018/logcount-d5.sl similarity index 83% rename from lib-nonconforming/General_Track/from_2018/logcount-d5.sl rename to lib/General_Track/from_2018/logcount-d5.sl index 7772c187..ba13713f 100644 --- a/lib-nonconforming/General_Track/from_2018/logcount-d5.sl +++ b/lib/General_Track/from_2018/logcount-d5.sl @@ -1,13 +1,14 @@ (set-logic BV) -(synth-fun countSketch ((x (BitVec 8))) (BitVec 8) - ( - (Start (BitVec 8) ( x - (let ((tmp (BitVec 8) Start) (m (BitVec 8) ConstBV) (n (BitVec 8) ConstBV)) (bvadd (bvand tmp m) (bvand (bvlshr tmp n) m)) ) +(synth-fun countSketch ((x (_ BitVec 8))) (_ BitVec 8) + ((Start (_ BitVec 8)) (ConstBV (_ BitVec 8))) + ( + (Start (_ BitVec 8) ( x + (let ((tmp Start) (m ConstBV) (n ConstBV)) (bvadd (bvand tmp m) (bvand (bvlshr tmp n) m)) ) ) ) - (ConstBV (BitVec 8) ( + (ConstBV (_ BitVec 8) ( #x00 #x01 #x02 #x03 #x04 #x05 #x06 #x07 #x08 #x09 #x0A #x0B #x0C #x0D #x0E #x0F #x10 #x11 #x12 #x13 #x14 #x15 #x16 #x17 #x18 #x19 #x1A #x1B #x1C #x1D #x1E #x1F #x20 #x21 #x22 #x23 #x24 #x25 #x26 #x27 #x28 #x29 #x2A #x2B #x2C #x2D #x2E #x2F @@ -30,9 +31,9 @@ ) ) -(declare-var x1 (BitVec 8)) +(declare-var x1 (_ BitVec 8)) -(define-fun sumBits ((x (BitVec 8))) (BitVec 8) +(define-fun sumBits ((x (_ BitVec 8))) (_ BitVec 8) (bvadd (bvadd (bvadd (bvadd (bvadd (bvadd (bvadd (ite (= (bvand x #x01) #x01) #x01 #x00) (ite (= (bvand x #x02) #x02) #x01 #x00)) (ite (= (bvand x #x04) #x04) #x01 #x00)) diff --git a/lib-nonconforming/General_Track/from_2018/logcount.sl b/lib/General_Track/from_2018/logcount.sl similarity index 52% rename from lib-nonconforming/General_Track/from_2018/logcount.sl rename to lib/General_Track/from_2018/logcount.sl index f5b864be..a1aaea12 100644 --- a/lib-nonconforming/General_Track/from_2018/logcount.sl +++ b/lib/General_Track/from_2018/logcount.sl @@ -1,20 +1,21 @@ ;; expected program: tmp = in & AA + (in >> 1) & AA, tmp = tmp & CC + (tmp >> 2) & CC, tmp = tmp & E0 + (tmp >> 4) & E0 -;; (let ((tmp (BitVec 8) (x)) (m (BitVec 8) (#xE0)) (n (BitVec 8) (#x04))) -;;(let ((tmp (BitVec 8) (x)) (m (BitVec 8) (#xCC)) (n (BitVec 8) (#x02))) ( -;;(let ((tmp (BitVec 8) (x)) (m (BitVec 8) (#xAA)) (n (BitVec 8) (#x01)) (bvadd;; (bvand tmp m) (bvand (bvlshr tmp n) m)))) (bvadd (bvand tmp m) (bvand +;; (let ((tmp (_ BitVec 8) (x)) (m (_ BitVec 8) (#xE0)) (n (_ BitVec 8) (#x04))) +;;(let ((tmp (_ BitVec 8) (x)) (m (_ BitVec 8) (#xCC)) (n (_ BitVec 8) (#x02))) ( +;;(let ((tmp (_ BitVec 8) (x)) (m (_ BitVec 8) (#xAA)) (n (_ BitVec 8) (#x01)) (bvadd;; (bvand tmp m) (bvand (bvlshr tmp n) m)))) (bvadd (bvand tmp m) (bvand ;; (bvlshr tmp n) m)))) (bvadd (bvand tmp m) (bvand (bvlshr tmp n) m))) (set-logic BV) -(synth-fun countSketch ((x (BitVec 8))) (BitVec 8) - ( - (Start (BitVec 8) ( x - (let ((tmp (BitVec 8) Start) (m (BitVec 8) ConstBV) (n (BitVec 8) ConstBV)) (bvadd (bvand tmp m) (bvand (bvlshr tmp n) m)) ) +(synth-fun countSketch ((x (_ BitVec 8))) (_ BitVec 8) + ((Start (_ BitVec 8)) (ConstBV (_ BitVec 8))) + ( + (Start (_ BitVec 8) ( x + (let ((tmp Start) (m ConstBV) (n ConstBV)) (bvadd (bvand tmp m) (bvand (bvlshr tmp n) m)) ) ) ) - (ConstBV (BitVec 8) ( + (ConstBV (_ BitVec 8) ( #x00 #xAA #xCC #xE0 #x01 #x02 #x04 ) @@ -23,9 +24,9 @@ ) -(declare-var x1 (BitVec 8)) +(declare-var x1 (_ BitVec 8)) -(define-fun sumBits ((x (BitVec 8))) (BitVec 8) +(define-fun sumBits ((x (_ BitVec 8))) (_ BitVec 8) (bvadd (bvadd (bvadd (bvadd (bvadd (bvadd (bvadd (ite (= (bvand x #x01) #x01) #x01 #x00) (ite (= (bvand x #x02) #x02) #x01 #x00)) (ite (= (bvand x #x04) #x04) #x01 #x00)) diff --git a/lib-nonconforming/General_Track/from_2018/logcount2-d1.sl b/lib/General_Track/from_2018/logcount2-d1.sl similarity index 61% rename from lib-nonconforming/General_Track/from_2018/logcount2-d1.sl rename to lib/General_Track/from_2018/logcount2-d1.sl index 2706a6da..5aaa597c 100644 --- a/lib-nonconforming/General_Track/from_2018/logcount2-d1.sl +++ b/lib/General_Track/from_2018/logcount2-d1.sl @@ -1,13 +1,14 @@ (set-logic BV) -(synth-fun countSketch ((x (BitVec 8))) (BitVec 8) - ( - (Start (BitVec 8) ( x - (let ((tmp (BitVec 8) Start) (m (BitVec 8) ConstBV) (n (BitVec 8) ConstBV)(o (BitVec 8) ConstBV)) (bvadd (bvand tmp m) (bvand (bvlshr tmp n) o)) ) +(synth-fun countSketch ((x (_ BitVec 8))) (_ BitVec 8) + ((Start (_ BitVec 8)) (ConstBV (_ BitVec 8))) + ( + (Start (_ BitVec 8) ( x + (let ((tmp Start) (m ConstBV) (n ConstBV)(o ConstBV)) (bvadd (bvand tmp m) (bvand (bvlshr tmp n) o)) ) ) ) - (ConstBV (BitVec 8) ( + (ConstBV (_ BitVec 8) ( #x00 #xAA #xBB #xCC #xDD #xEE #xFF #xA0 #xB0 #xC0 #xD0 #xE0 #xF0 #x01 #x02 #x04 ) @@ -16,9 +17,9 @@ ) -(declare-var x1 (BitVec 8)) +(declare-var x1 (_ BitVec 8)) -(define-fun sumBits ((x (BitVec 8))) (BitVec 8) +(define-fun sumBits ((x (_ BitVec 8))) (_ BitVec 8) (bvadd (bvadd (bvadd (bvadd (bvadd (bvadd (bvadd (ite (= (bvand x #x01) #x01) #x01 #x00) (ite (= (bvand x #x02) #x02) #x01 #x00)) (ite (= (bvand x #x04) #x04) #x01 #x00)) diff --git a/lib-nonconforming/General_Track/from_2018/logcount2-d5.sl b/lib/General_Track/from_2018/logcount2-d5.sl similarity index 83% rename from lib-nonconforming/General_Track/from_2018/logcount2-d5.sl rename to lib/General_Track/from_2018/logcount2-d5.sl index bbffb634..2f5b4f35 100644 --- a/lib-nonconforming/General_Track/from_2018/logcount2-d5.sl +++ b/lib/General_Track/from_2018/logcount2-d5.sl @@ -1,13 +1,14 @@ (set-logic BV) -(synth-fun countSketch ((x (BitVec 8))) (BitVec 8) - ( - (Start (BitVec 8) ( x - (let ((tmp (BitVec 8) Start) (m (BitVec 8) ConstBV) (n (BitVec 8) ConstBV) (o (BitVec 8) ConstBV)) (bvadd (bvand tmp m) (bvand (bvlshr tmp n) o)) ) +(synth-fun countSketch ((x (_ BitVec 8))) (_ BitVec 8) + ((Start (_ BitVec 8)) (ConstBV (_ BitVec 8))) + ( + (Start (_ BitVec 8) ( x + (let ((tmp Start) (m ConstBV) (n ConstBV) (o ConstBV)) (bvadd (bvand tmp m) (bvand (bvlshr tmp n) o)) ) ) ) - (ConstBV (BitVec 8) ( + (ConstBV (_ BitVec 8) ( #x00 #x01 #x02 #x03 #x04 #x05 #x06 #x07 #x08 #x09 #x0A #x0B #x0C #x0D #x0E #x0F #x10 #x11 #x12 #x13 #x14 #x15 #x16 #x17 #x18 #x19 #x1A #x1B #x1C #x1D #x1E #x1F #x20 #x21 #x22 #x23 #x24 #x25 #x26 #x27 #x28 #x29 #x2A #x2B #x2C #x2D #x2E #x2F @@ -33,9 +34,9 @@ -(declare-var x1 (BitVec 8)) +(declare-var x1 (_ BitVec 8)) -(define-fun sumBits ((x (BitVec 8))) (BitVec 8) +(define-fun sumBits ((x (_ BitVec 8))) (_ BitVec 8) (bvadd (bvadd (bvadd (bvadd (bvadd (bvadd (bvadd (ite (= (bvand x #x01) #x01) #x01 #x00) (ite (= (bvand x #x02) #x02) #x01 #x00)) (ite (= (bvand x #x04) #x04) #x01 #x00)) diff --git a/lib-nonconforming/General_Track/from_2018/logcount2.sl b/lib/General_Track/from_2018/logcount2.sl similarity index 60% rename from lib-nonconforming/General_Track/from_2018/logcount2.sl rename to lib/General_Track/from_2018/logcount2.sl index 3e65f593..12c45af4 100644 --- a/lib-nonconforming/General_Track/from_2018/logcount2.sl +++ b/lib/General_Track/from_2018/logcount2.sl @@ -1,13 +1,14 @@ (set-logic BV) -(synth-fun countSketch ((x (BitVec 8))) (BitVec 8) - ( - (Start (BitVec 8) ( x - (let ((tmp (BitVec 8) Start) (m (BitVec 8) ConstBV) (n (BitVec 8) ConstBV) (o (BitVec 8) ConstBV)) (bvadd (bvand tmp m) (bvand (bvlshr tmp n) o)) ) +(synth-fun countSketch ((x (_ BitVec 8))) (_ BitVec 8) + ((Start (_ BitVec 8)) (ConstBV (_ BitVec 8))) + ( + (Start (_ BitVec 8) ( x + (let ((tmp Start) (m ConstBV) (n ConstBV) (o ConstBV)) (bvadd (bvand tmp m) (bvand (bvlshr tmp n) o)) ) ) ) - (ConstBV (BitVec 8) ( + (ConstBV (_ BitVec 8) ( #x00 #xAA #xCC #xE0 #x01 #x02 #x04 ) @@ -15,9 +16,9 @@ ) ) -(declare-var x1 (BitVec 8)) +(declare-var x1 (_ BitVec 8)) -(define-fun sumBits ((x (BitVec 8))) (BitVec 8) +(define-fun sumBits ((x (_ BitVec 8))) (_ BitVec 8) (bvadd (bvadd (bvadd (bvadd (bvadd (bvadd (bvadd (ite (= (bvand x #x01) #x01) #x01 #x00) (ite (= (bvand x #x02) #x02) #x01 #x00)) (ite (= (bvand x #x04) #x04) #x01 #x00)) diff --git a/lib-nonconforming/General_Track/from_2018/seven_c1.sl b/lib/General_Track/from_2018/seven_c1.sl similarity index 88% rename from lib-nonconforming/General_Track/from_2018/seven_c1.sl rename to lib/General_Track/from_2018/seven_c1.sl index 27329653..371e65aa 100644 --- a/lib-nonconforming/General_Track/from_2018/seven_c1.sl +++ b/lib/General_Track/from_2018/seven_c1.sl @@ -2,10 +2,11 @@ ; Synthesize x * 7 mod 10 -(set-logic LIA) +(set-logic NIA) (synth-fun f ((x Int)) Int - ((Start Int ( + ((Start Int) (StartConst Int) (StartBool Bool)) + ((Start Int ( x (Constant Int) (+ Start Start) @@ -14,7 +15,7 @@ (div Start StartConst) (mod Start StartConst) (ite StartBool Start Start) - (let (( z Int Start )) Start ))) + (let (( z Start )) Start ))) (StartConst Int (1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18)) (StartBool Bool ((and StartBool StartBool) (or StartBool StartBool) diff --git a/lib-nonconforming/General_Track/from_2018/seven_c2.sl b/lib/General_Track/from_2018/seven_c2.sl similarity index 86% rename from lib-nonconforming/General_Track/from_2018/seven_c2.sl rename to lib/General_Track/from_2018/seven_c2.sl index c643c957..07fd95c1 100644 --- a/lib-nonconforming/General_Track/from_2018/seven_c2.sl +++ b/lib/General_Track/from_2018/seven_c2.sl @@ -2,10 +2,11 @@ ; Synthesize x * 7 mod 10 -(set-logic LIA) +(set-logic NIA) (synth-fun f ((x Int)) Int - ((Start Int ( + ((Start Int) (StartConst Int)) + ((Start Int ( x (Constant Int) (+ Start Start) @@ -13,7 +14,7 @@ (* Start StartConst) (div Start StartConst) (mod Start StartConst) - (let (( z Int Start )) Start ))) + (let (( z Start )) Start ))) (StartConst Int (1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18)) )) diff --git a/lib-nonconforming/General_Track/from_2018/seven_c3.sl b/lib/General_Track/from_2018/seven_c3.sl similarity index 89% rename from lib-nonconforming/General_Track/from_2018/seven_c3.sl rename to lib/General_Track/from_2018/seven_c3.sl index 0f83f963..62aefebe 100644 --- a/lib-nonconforming/General_Track/from_2018/seven_c3.sl +++ b/lib/General_Track/from_2018/seven_c3.sl @@ -2,10 +2,11 @@ ; Synthesize x * 7 mod 10 -(set-logic LIA) +(set-logic NIA) (synth-fun f ((x Int)) Int - ((Start Int ( + ((Start Int) (StartConst Int) (StartBool Bool)) + ((Start Int ( x (Constant Int) (+ Start Start) @@ -14,7 +15,7 @@ (div Start StartConst) (mod Start StartConst) (ite StartBool Start Start) - (let (( z Int Start )) Start ))) + (let (( z Start )) Start ))) (StartConst Int (1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18)) (StartBool Bool ((and StartBool StartBool) diff --git a/lib-nonconforming/General_Track/from_2018/seven_c4.sl b/lib/General_Track/from_2018/seven_c4.sl similarity index 89% rename from lib-nonconforming/General_Track/from_2018/seven_c4.sl rename to lib/General_Track/from_2018/seven_c4.sl index f9d6a20c..8da9c85b 100644 --- a/lib-nonconforming/General_Track/from_2018/seven_c4.sl +++ b/lib/General_Track/from_2018/seven_c4.sl @@ -2,10 +2,11 @@ ; Synthesize x * 7 mod 10 -(set-logic LIA) +(set-logic NIA) (synth-fun f ((x Int)) Int - ((Start Int ( + ((Start Int) (StartConst Int) (StartBool Bool)) + ((Start Int ( x (Constant Int) (+ Start Start) @@ -14,7 +15,7 @@ (div Start StartConst) (mod Start StartConst) (ite StartBool Start Start) - (let (( z Int Start )) Start ))) + (let (( z Start )) Start ))) (StartConst Int (1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18)) (StartBool Bool ((and StartBool StartBool) diff --git a/lib-nonconforming/General_Track/from_2018/seven_three_d0.sl b/lib/General_Track/from_2018/seven_three_d0.sl similarity index 87% rename from lib-nonconforming/General_Track/from_2018/seven_three_d0.sl rename to lib/General_Track/from_2018/seven_three_d0.sl index 035f104d..bf7dcdb5 100644 --- a/lib-nonconforming/General_Track/from_2018/seven_three_d0.sl +++ b/lib/General_Track/from_2018/seven_three_d0.sl @@ -3,10 +3,11 @@ ; x * 3 mod 10 -(set-logic LIA) +(set-logic NIA) (synth-fun f ((x Int)) Int - ((Start Int ( + ((Start Int) (StartConst Int) (StartBool Bool)) + ((Start Int ( x (Constant Int) (+ Start Start) @@ -15,7 +16,7 @@ (mod Start StartConst) (div Start StartConst) (ite StartBool Start Start) - (let (( z Int Start )) Start ))) + (let (( z Start )) Start ))) (StartConst Int (1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18)) (StartBool Bool ((and StartBool StartBool) (or StartBool StartBool) @@ -26,7 +27,8 @@ (synth-fun g ((x Int)) Int - ((Start Int ( + ((Start Int) (StartConst Int)) + ((Start Int ( x (Constant Int) (* Start StartConst) diff --git a/lib-nonconforming/General_Track/from_2018/seven_three_d1.sl b/lib/General_Track/from_2018/seven_three_d1.sl similarity index 87% rename from lib-nonconforming/General_Track/from_2018/seven_three_d1.sl rename to lib/General_Track/from_2018/seven_three_d1.sl index 22be06cc..76c49ecb 100644 --- a/lib-nonconforming/General_Track/from_2018/seven_three_d1.sl +++ b/lib/General_Track/from_2018/seven_three_d1.sl @@ -3,10 +3,11 @@ ; x * 3 mod 10 -(set-logic LIA) +(set-logic NIA) (synth-fun f ((x Int)) Int - ((Start Int ( + ((Start Int) (StartConst Int) (StartBool Bool)) + ((Start Int ( x (Constant Int) (+ Start Start) @@ -14,7 +15,7 @@ (* Start StartConst) (div Start StartConst) (ite StartBool Start Start) - (let (( z Int Start )) Start ))) + (let (( z Start )) Start ))) (StartConst Int (1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18)) (StartBool Bool ((and StartBool StartBool) (or StartBool StartBool) @@ -25,7 +26,8 @@ (synth-fun g ((x Int)) Int - ((Start Int ( + ((Start Int) (StartConst Int)) + ((Start Int ( x (Constant Int) (* Start StartConst) diff --git a/lib-nonconforming/General_Track/from_2018/sevenfuncs.sl b/lib/General_Track/from_2018/sevenfuncs.sl similarity index 85% rename from lib-nonconforming/General_Track/from_2018/sevenfuncs.sl rename to lib/General_Track/from_2018/sevenfuncs.sl index aa116639..6e9c4903 100644 --- a/lib-nonconforming/General_Track/from_2018/sevenfuncs.sl +++ b/lib/General_Track/from_2018/sevenfuncs.sl @@ -1,7 +1,8 @@ (set-logic LIA) (synth-fun f1 ((p1 Int) (P1 Int)) Int - ((Start Int ( + ((Start Int)) + ((Start Int ( p1 P1 (- Start Start) @@ -10,7 +11,8 @@ ))) (synth-fun f2 ((p1 Int) (P1 Int)) Int - ((Start Int ( + ((Start Int)) + ((Start Int ( p1 P1 (+ Start Start) @@ -18,7 +20,8 @@ ))) (synth-fun f3 ((p1 Int) (P1 Int)) Int - ((Start Int ( + ((Start Int)) + ((Start Int ( p1 P1 (- Start Start) @@ -27,7 +30,8 @@ ))) (synth-fun f4 ((p1 Int) (P1 Int)) Int - ((Start Int ( + ((Start Int)) + ((Start Int ( p1 P1 (- Start Start) @@ -36,7 +40,8 @@ ))) (synth-fun f5 ((p1 Int) (P1 Int)) Int - ((Start Int ( + ((Start Int)) + ((Start Int ( p1 P1 (- Start Start) @@ -45,7 +50,8 @@ ))) (synth-fun g1 ((p1 Int) (P1 Int)) Int - ((Start Int ( + ((Start Int)) + ((Start Int ( p1 P1 (- Start Start) @@ -54,7 +60,8 @@ ))) (synth-fun g2 ((p1 Int) (P1 Int)) Int - ((Start Int ( + ((Start Int)) + ((Start Int ( p1 P1 (+ Start Start) diff --git a/lib-nonconforming/General_Track/from_2018/three.sl b/lib/General_Track/from_2018/three.sl similarity index 89% rename from lib-nonconforming/General_Track/from_2018/three.sl rename to lib/General_Track/from_2018/three.sl index 820af97d..d99463e6 100644 --- a/lib-nonconforming/General_Track/from_2018/three.sl +++ b/lib/General_Track/from_2018/three.sl @@ -2,10 +2,11 @@ ; Synthesize x * 3 mod 10 -(set-logic LIA) +(set-logic NIA) (synth-fun f ((x Int)) Int - ((Start Int ( + ((Start Int) (StartConst Int)) + ((Start Int ( x 3 7 diff --git a/lib-nonconforming/General_Track/from_2018/three_d0.sl b/lib/General_Track/from_2018/three_d0.sl similarity index 88% rename from lib-nonconforming/General_Track/from_2018/three_d0.sl rename to lib/General_Track/from_2018/three_d0.sl index 3a949c59..f486eda9 100644 --- a/lib-nonconforming/General_Track/from_2018/three_d0.sl +++ b/lib/General_Track/from_2018/three_d0.sl @@ -2,10 +2,11 @@ ; Synthesize x * 3 mod 10 -(set-logic LIA) +(set-logic NIA) (synth-fun f ((x Int)) Int - ((Start Int ( + ((Start Int) (StartConst Int) (StartBool Bool)) + ((Start Int ( x (Constant Int) (+ Start Start) @@ -14,7 +15,7 @@ (div Start StartConst) (mod Start StartConst) (ite StartBool Start Start) - (let (( z Int Start )) Start ))) + (let (( z Start )) Start ))) (StartConst Int (1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18)) (StartBool Bool ((and StartBool StartBool) (or StartBool StartBool) diff --git a/lib-nonconforming/General_Track/from_2018/three_d1.sl b/lib/General_Track/from_2018/three_d1.sl similarity index 87% rename from lib-nonconforming/General_Track/from_2018/three_d1.sl rename to lib/General_Track/from_2018/three_d1.sl index ae8df88f..9f531a75 100644 --- a/lib-nonconforming/General_Track/from_2018/three_d1.sl +++ b/lib/General_Track/from_2018/three_d1.sl @@ -2,17 +2,18 @@ ; Synthesize x * 3 mod 10 -(set-logic LIA) +(set-logic NIA) (synth-fun f ((x Int)) Int - ((Start Int ( + ((Start Int) (StartConst Int) (StartBool Bool)) + ((Start Int ( x (Constant Int) (- Start Start) (* Start StartConst) (div Start StartConst) (ite StartBool Start Start) - (let (( z Int Start )) Start ))) + (let (( z Start )) Start ))) (StartConst Int (1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18)) (StartBool Bool ((and StartBool StartBool) (or StartBool StartBool) diff --git a/lib-nonconforming/General_Track/from_2018/three_d2.sl b/lib/General_Track/from_2018/three_d2.sl similarity index 88% rename from lib-nonconforming/General_Track/from_2018/three_d2.sl rename to lib/General_Track/from_2018/three_d2.sl index fd7829fd..b0effe68 100644 --- a/lib-nonconforming/General_Track/from_2018/three_d2.sl +++ b/lib/General_Track/from_2018/three_d2.sl @@ -2,10 +2,11 @@ ; Synthesize x * 3 mod 10 -(set-logic LIA) +(set-logic NIA) (synth-fun f ((x Int)) Int - ((Start Int ( + ((Start Int) (StartConst Int) (StartBool Bool)) + ((Start Int ( x (Constant Int) (+ Start Start) @@ -13,7 +14,7 @@ (* Start StartConst) (div Start StartConst) (ite StartBool Start Start) - (let (( z Int Start )) Start ))) + (let (( z Start )) Start ))) (StartConst Int (1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18)) (StartBool Bool ((and StartBool StartBool) (or StartBool StartBool) diff --git a/lib-nonconforming/General_Track/from_2018/three_d3.sl b/lib/General_Track/from_2018/three_d3.sl similarity index 90% rename from lib-nonconforming/General_Track/from_2018/three_d3.sl rename to lib/General_Track/from_2018/three_d3.sl index 4654cc73..25660d76 100644 --- a/lib-nonconforming/General_Track/from_2018/three_d3.sl +++ b/lib/General_Track/from_2018/three_d3.sl @@ -2,10 +2,11 @@ ; Synthesize x * 3 mod 10 -(set-logic LIA) +(set-logic NIA) (synth-fun f ((x Int)) Int - ((Start Int ( + ((Start Int) (StartConst Int) (StartBool Bool)) + ((Start Int ( x 1 11 @@ -26,7 +27,7 @@ (* Start StartConst) (div Start StartConst) (ite StartBool Start Start) - (let (( z Int Start )) Start ))) + (let (( z Start )) Start ))) (StartConst Int (1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18)) (StartBool Bool ((and StartBool StartBool) diff --git a/lib-nonconforming/General_Track/from_2018/twolets1.sl b/lib/General_Track/from_2018/twolets1.sl similarity index 72% rename from lib-nonconforming/General_Track/from_2018/twolets1.sl rename to lib/General_Track/from_2018/twolets1.sl index 12edacc2..73a57baf 100644 --- a/lib-nonconforming/General_Track/from_2018/twolets1.sl +++ b/lib/General_Track/from_2018/twolets1.sl @@ -3,9 +3,10 @@ ;; f1 is x plus 2 ;; f2 is 2x plus 5 (synth-fun f1 ((x Int)) Int - ( + ((Start Int) (CInt Int)) + ( (Start Int ( - (let ((y Int CInt) (z Int CInt)) (+ (+ y x) z)) + (let ((y CInt) (z CInt)) (+ (+ y x) z)) ) ) (CInt Int (0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15)) @@ -14,9 +15,10 @@ ) (synth-fun f2 ((x Int)) Int - ( + ((Start Int) (CInt Int)) + ( (Start Int (x - (let ((y Int Start) (z Int CInt)) (+ (+ y x) z)) + (let ((y Start) (z CInt)) (+ (+ y x) z)) ) ) (CInt Int (0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15)) diff --git a/lib/General_Track/from_2018/twolets10.sl b/lib/General_Track/from_2018/twolets10.sl new file mode 100644 index 00000000..6af30115 --- /dev/null +++ b/lib/General_Track/from_2018/twolets10.sl @@ -0,0 +1,38 @@ +(set-logic LIA) + +;; f1 is x plus 2 ;; f2 is 2x plus 5 + +(synth-fun f1 ((x Int)) Int + ((Start Int) (CInt Int)) + ( + (Start Int ( + (let ((y1 CInt) (y2 CInt) (y3 CInt) (y4 CInt) (y5 CInt) + (y6 CInt) (y7 CInt) (y8 CInt) (y9 CInt) (y10 CInt)) + (+ (+ (+ (+ (+ (+ (+ (+ (+ (+ x y1) y2) y3) y4) y5) y6) y7) y8) y9) y10)) + ) + ) + (CInt Int (0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 (- 1) (- 2) (- 3) (- 4) (- 5) (- 6) (- 7) (- 8) (- 9) (- 10))) + ) +) + +(synth-fun f2 ((x Int)) Int + ((Start Int) (CInt Int)) + ( + (Start Int ( + (let ((y1 CInt) (y2 CInt) (y3 CInt) (y4 CInt) (y5 CInt) + (y6 CInt) (y7 CInt) (y8 CInt) (y9 CInt) (y10 CInt)) + (+ (+ (+ (+ (+ (+ (+ (+ (+ (+ x y1) y2) y3) y4) y5) y6) y7) y8) y9) y10)) + ) + ) + (CInt Int (0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 (- 1) (- 2) (- 3) (- 4) (- 5) (- 6) (- 7) (- 8) (- 9) (- 10))) + ) +) + + +(declare-var x1 Int) +(declare-var x2 Int) + +(constraint (= (+ (f1 x1)(f2 x2)) (+ (+ x2 x2) (+ x1 8)))) + +(check-synth) + diff --git a/lib-nonconforming/General_Track/from_2018/twolets3.sl b/lib/General_Track/from_2018/twolets3.sl similarity index 69% rename from lib-nonconforming/General_Track/from_2018/twolets3.sl rename to lib/General_Track/from_2018/twolets3.sl index 484df1ec..14e54404 100644 --- a/lib-nonconforming/General_Track/from_2018/twolets3.sl +++ b/lib/General_Track/from_2018/twolets3.sl @@ -3,9 +3,10 @@ ;; f1 is x plus 2 ;; f2 is 2x plus 5 (synth-fun f1 ((x Int)) Int - ( + ((Start Int) (CInt Int)) + ( (Start Int ( - (let ((y Int CInt) (z Int CInt) (w Int CInt)) (+ (+ (+ y x) z) w)) + (let ((y CInt) (z CInt) (w CInt)) (+ (+ (+ y x) z) w)) ) ) (CInt Int (0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15)) @@ -14,9 +15,10 @@ ) (synth-fun f2 ((x Int)) Int - ( + ((Start Int) (CInt Int)) + ( (Start Int (x - (let ((y Int Start) (z Int CInt) (w Int CInt)) (+ (+ (+ y x) z) w)) + (let ((y Start) (z CInt) (w CInt)) (+ (+ (+ y x) z) w)) ) ) (CInt Int (0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15)) diff --git a/lib-nonconforming/General_Track/from_2018/twolets4.sl b/lib/General_Track/from_2018/twolets4.sl similarity index 74% rename from lib-nonconforming/General_Track/from_2018/twolets4.sl rename to lib/General_Track/from_2018/twolets4.sl index 03799296..64ca5ce3 100644 --- a/lib-nonconforming/General_Track/from_2018/twolets4.sl +++ b/lib/General_Track/from_2018/twolets4.sl @@ -3,9 +3,10 @@ ;; f1 is x plus 2 ;; f2 is 2x plus 5 (synth-fun f1 ((x Int)) Int - ( + ((Start Int) (CInt Int)) + ( (Start Int ( - (let ((y Int CInt) (z Int CInt) (w Int CInt) (u Int CInt)) + (let ((y CInt) (z CInt) (w CInt) (u CInt)) (+ (+ (+ (+ y x) z) w) u)) ) ) @@ -15,9 +16,10 @@ ) (synth-fun f2 ((x Int)) Int - ( + ((Start Int) (CInt Int)) + ( (Start Int (x - (let ((y Int Start) (z Int CInt) (w Int CInt) (u Int CInt)) + (let ((y Start) (z CInt) (w CInt) (u CInt)) (+ (+ (+ (+ y x) z) w) u)) ) ) diff --git a/lib-nonconforming/General_Track/from_2018/twolets5.sl b/lib/General_Track/from_2018/twolets5.sl similarity index 72% rename from lib-nonconforming/General_Track/from_2018/twolets5.sl rename to lib/General_Track/from_2018/twolets5.sl index 05737f38..41309137 100644 --- a/lib-nonconforming/General_Track/from_2018/twolets5.sl +++ b/lib/General_Track/from_2018/twolets5.sl @@ -3,9 +3,10 @@ ;; f1 is x plus 2 ;; f2 is 2x plus 5 (synth-fun f1 ((x Int)) Int - ( + ((Start Int) (CInt Int)) + ( (Start Int ( - (let ((y1 Int CInt) (y2 Int CInt) (y3 Int CInt) (y4 Int CInt) (y5 Int CInt)) + (let ((y1 CInt) (y2 CInt) (y3 CInt) (y4 CInt) (y5 CInt)) (+ (+ (+ (+ y1 y2) y3) y4) y5)) ) ) @@ -14,9 +15,10 @@ ) (synth-fun f2 ((x Int)) Int - ( + ((Start Int) (CInt Int)) + ( (Start Int ( - (let ((y1 Int CInt) (y2 Int CInt) (y3 Int CInt) (y4 Int CInt) (y5 Int CInt)) + (let ((y1 CInt) (y2 CInt) (y3 CInt) (y4 CInt) (y5 CInt)) (+ (+ (+ (+ y1 y2) y3) y4) y5)) ) ) diff --git a/lib/General_Track/from_2018/twolets6.sl b/lib/General_Track/from_2018/twolets6.sl new file mode 100644 index 00000000..3fe0e3e8 --- /dev/null +++ b/lib/General_Track/from_2018/twolets6.sl @@ -0,0 +1,38 @@ +(set-logic LIA) + +;; f1 is x plus 2 ;; f2 is 2x plus 5 + +(synth-fun f1 ((x Int)) Int + ((Start Int) (CInt Int)) + ( + (Start Int ( + (let ((y1 CInt) (y2 CInt) (y3 CInt) (y4 CInt) (y5 CInt) + (y6 CInt)) + (+ (+ (+ (+ (+ (+ x y1) y2) y3) y4) y5) y6)) + ) + ) + (CInt Int (0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 (- 1) (- 2) (- 3) (- 4) (- 5) (- 6) (- 7) (- 8) (- 9) (- 10))) + ) +) + +(synth-fun f2 ((x Int)) Int + ((Start Int) (CInt Int)) + ( +(Start Int ( + (let ((y1 CInt) (y2 CInt) (y3 CInt) (y4 CInt) (y5 CInt) + (y6 CInt)) + (+ (+ (+ (+ (+ (+ x y1) y2) y3) y4) y5) y6)) + ) + ) + (CInt Int (0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 (- 1) (- 2) (- 3) (- 4) (- 5) (- 6) (- 7) (- 8) (- 9) (- 10))) + ) +) + + +(declare-var x1 Int) +(declare-var x2 Int) + +(constraint (= (+ (f1 x1)(f2 x2)) (+ (+ x2 x2) (+ x1 8)))) + +(check-synth) + diff --git a/lib/General_Track/from_2018/twolets7.sl b/lib/General_Track/from_2018/twolets7.sl new file mode 100644 index 00000000..0eeb65df --- /dev/null +++ b/lib/General_Track/from_2018/twolets7.sl @@ -0,0 +1,38 @@ +(set-logic LIA) + +;; f1 is x plus 2 ;; f2 is 2x plus 5 + +(synth-fun f1 ((x Int)) Int + ((Start Int) (CInt Int)) + ( + (Start Int ( + (let ((y1 CInt) (y2 CInt) (y3 CInt) (y4 CInt) (y5 CInt) + (y6 CInt) (y7 CInt) ) + (+ (+ (+ (+ (+ (+ (+ x y1) y2) y3) y4) y5) y6) y7)) + ) + ) + (CInt Int (0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 (- 1) (- 2) (- 3) (- 4) (- 5) (- 6) (- 7) (- 8) (- 9) (- 10))) + ) +) + +(synth-fun f2 ((x Int)) Int + ((Start Int) (CInt Int)) + ( + (Start Int ( + (let ((y1 CInt) (y2 CInt) (y3 CInt) (y4 CInt) (y5 CInt) + (y6 CInt) (y7 CInt) ) + (+ (+ (+ (+ (+ (+ (+ x y1) y2) y3) y4) y5) y6) y7)) + ) + ) + (CInt Int (0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 (- 1) (- 2) (- 3) (- 4) (- 5) (- 6) (- 7) (- 8) (- 9) (- 10))) + ) +) + + +(declare-var x1 Int) +(declare-var x2 Int) + +(constraint (= (+ (f1 x1)(f2 x2)) (+ (+ x2 x2) (+ x1 8)))) + +(check-synth) + diff --git a/lib/General_Track/from_2018/twolets8.sl b/lib/General_Track/from_2018/twolets8.sl new file mode 100644 index 00000000..47024325 --- /dev/null +++ b/lib/General_Track/from_2018/twolets8.sl @@ -0,0 +1,38 @@ +(set-logic LIA) + +;; f1 is x plus 2 ;; f2 is 2x plus 5 + +(synth-fun f1 ((x Int)) Int + ((Start Int) (CInt Int)) + ( + (Start Int ( + (let ((y1 CInt) (y2 CInt) (y3 CInt) (y4 CInt) (y5 CInt) + (y6 CInt) (y7 CInt) (y8 CInt) (y9 CInt) (y10 CInt)) + (+ (+ (+ (+ (+ (+ (+ (+ x y1) y2) y3) y4) y5) y6) y7) y8)) + ) + ) + (CInt Int (0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 (- 1) (- 2) (- 3) (- 4) (- 5) (- 6) (- 7) (- 8) (- 9) (- 10))) + ) +) + +(synth-fun f2 ((x Int)) Int + ((Start Int) (CInt Int)) + ( + (Start Int ( + (let ((y1 CInt) (y2 CInt) (y3 CInt) (y4 CInt) (y5 CInt) + (y6 CInt) (y7 CInt) (y8 CInt) (y9 CInt) (y10 CInt)) + (+ (+ (+ (+ (+ (+ (+ (+ x y1) y2) y3) y4) y5) y6) y7) y8)) + ) + ) + (CInt Int (0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 (- 1) (- 2) (- 3) (- 4) (- 5) (- 6) (- 7) (- 8) (- 9) (- 10))) + ) +) + + +(declare-var x1 Int) +(declare-var x2 Int) + +(constraint (= (+ (f1 x1)(f2 x2)) (+ (+ x2 x2) (+ x1 8)))) + +(check-synth) + diff --git a/lib/General_Track/from_2018/twolets9.sl b/lib/General_Track/from_2018/twolets9.sl new file mode 100644 index 00000000..208cc3dc --- /dev/null +++ b/lib/General_Track/from_2018/twolets9.sl @@ -0,0 +1,38 @@ +(set-logic LIA) + +;; f1 is x plus 2 ;; f2 is 2x plus 5 + +(synth-fun f1 ((x Int)) Int + ((Start Int) (CInt Int)) + ( + (Start Int ( + (let ((y1 CInt) (y2 CInt) (y3 CInt) (y4 CInt) (y5 CInt) + (y6 CInt) (y7 CInt) (y8 CInt) (y9 CInt) (y10 CInt)) + (+ (+ (+ (+ (+ (+ (+ (+ (+ x y1) y2) y3) y4) y5) y6) y7) y8) y9)) + ) + ) + (CInt Int (0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 (- 1) (- 2) (- 3) (- 4) (- 5) (- 6) (- 7) (- 8) (- 9) (- 10))) + ) +) + +(synth-fun f2 ((x Int)) Int + ((Start Int) (CInt Int)) + ( + (Start Int ( + (let ((y1 CInt) (y2 CInt) (y3 CInt) (y4 CInt) (y5 CInt) + (y6 CInt) (y7 CInt) (y8 CInt) (y9 CInt) (y10 CInt)) + (+ (+ (+ (+ (+ (+ (+ (+ (+ x y1) y2) y3) y4) y5) y6) y7) y8) y9)) + ) + ) + (CInt Int (0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 (- 1) (- 2) (- 3) (- 4) (- 5) (- 6) (- 7) (- 8) (- 9) (- 10))) + ) +) + + +(declare-var x1 Int) +(declare-var x2 Int) + +(constraint (= (+ (f1 x1)(f2 x2)) (+ (+ x2 x2) (+ x1 8)))) + +(check-synth) + diff --git a/lib-nonconforming/General_Track/ternary-propagation/find_cc_const_eq_bvadd_x_s_t.sl b/lib/General_Track/ternary-propagation/find_cc_const_eq_bvadd_x_s_t.sl similarity index 100% rename from lib-nonconforming/General_Track/ternary-propagation/find_cc_const_eq_bvadd_x_s_t.sl rename to lib/General_Track/ternary-propagation/find_cc_const_eq_bvadd_x_s_t.sl diff --git a/lib-nonconforming/General_Track/ternary-propagation/find_cc_const_eq_bvand_x_s_t.sl b/lib/General_Track/ternary-propagation/find_cc_const_eq_bvand_x_s_t.sl similarity index 100% rename from lib-nonconforming/General_Track/ternary-propagation/find_cc_const_eq_bvand_x_s_t.sl rename to lib/General_Track/ternary-propagation/find_cc_const_eq_bvand_x_s_t.sl diff --git a/lib-nonconforming/General_Track/ternary-propagation/find_cc_const_eq_bvashr_s_x_t.sl b/lib/General_Track/ternary-propagation/find_cc_const_eq_bvashr_s_x_t.sl similarity index 100% rename from lib-nonconforming/General_Track/ternary-propagation/find_cc_const_eq_bvashr_s_x_t.sl rename to lib/General_Track/ternary-propagation/find_cc_const_eq_bvashr_s_x_t.sl diff --git a/lib-nonconforming/General_Track/ternary-propagation/find_cc_const_eq_bvashr_x_s_t.sl b/lib/General_Track/ternary-propagation/find_cc_const_eq_bvashr_x_s_t.sl similarity index 100% rename from lib-nonconforming/General_Track/ternary-propagation/find_cc_const_eq_bvashr_x_s_t.sl rename to lib/General_Track/ternary-propagation/find_cc_const_eq_bvashr_x_s_t.sl diff --git a/lib-nonconforming/General_Track/ternary-propagation/find_cc_const_eq_bvlshr_s_x_t.sl b/lib/General_Track/ternary-propagation/find_cc_const_eq_bvlshr_s_x_t.sl similarity index 100% rename from lib-nonconforming/General_Track/ternary-propagation/find_cc_const_eq_bvlshr_s_x_t.sl rename to lib/General_Track/ternary-propagation/find_cc_const_eq_bvlshr_s_x_t.sl diff --git a/lib-nonconforming/General_Track/ternary-propagation/find_cc_const_eq_bvlshr_x_s_t.sl b/lib/General_Track/ternary-propagation/find_cc_const_eq_bvlshr_x_s_t.sl similarity index 100% rename from lib-nonconforming/General_Track/ternary-propagation/find_cc_const_eq_bvlshr_x_s_t.sl rename to lib/General_Track/ternary-propagation/find_cc_const_eq_bvlshr_x_s_t.sl diff --git a/lib-nonconforming/General_Track/ternary-propagation/find_cc_const_eq_bvmul_x_s_t.sl b/lib/General_Track/ternary-propagation/find_cc_const_eq_bvmul_x_s_t.sl similarity index 100% rename from lib-nonconforming/General_Track/ternary-propagation/find_cc_const_eq_bvmul_x_s_t.sl rename to lib/General_Track/ternary-propagation/find_cc_const_eq_bvmul_x_s_t.sl diff --git a/lib-nonconforming/General_Track/ternary-propagation/find_cc_const_eq_bvshl_s_x_t.sl b/lib/General_Track/ternary-propagation/find_cc_const_eq_bvshl_s_x_t.sl similarity index 100% rename from lib-nonconforming/General_Track/ternary-propagation/find_cc_const_eq_bvshl_s_x_t.sl rename to lib/General_Track/ternary-propagation/find_cc_const_eq_bvshl_s_x_t.sl diff --git a/lib-nonconforming/General_Track/ternary-propagation/find_cc_const_eq_bvshl_x_s_t.sl b/lib/General_Track/ternary-propagation/find_cc_const_eq_bvshl_x_s_t.sl similarity index 100% rename from lib-nonconforming/General_Track/ternary-propagation/find_cc_const_eq_bvshl_x_s_t.sl rename to lib/General_Track/ternary-propagation/find_cc_const_eq_bvshl_x_s_t.sl diff --git a/lib-nonconforming/General_Track/ternary-propagation/find_cc_const_eq_bvudiv_s_x_t.sl b/lib/General_Track/ternary-propagation/find_cc_const_eq_bvudiv_s_x_t.sl similarity index 100% rename from lib-nonconforming/General_Track/ternary-propagation/find_cc_const_eq_bvudiv_s_x_t.sl rename to lib/General_Track/ternary-propagation/find_cc_const_eq_bvudiv_s_x_t.sl diff --git a/lib-nonconforming/General_Track/ternary-propagation/find_cc_const_eq_bvudiv_x_s_t.sl b/lib/General_Track/ternary-propagation/find_cc_const_eq_bvudiv_x_s_t.sl similarity index 100% rename from lib-nonconforming/General_Track/ternary-propagation/find_cc_const_eq_bvudiv_x_s_t.sl rename to lib/General_Track/ternary-propagation/find_cc_const_eq_bvudiv_x_s_t.sl diff --git a/lib-nonconforming/General_Track/ternary-propagation/find_cc_const_eq_bvurem_s_x_t.sl b/lib/General_Track/ternary-propagation/find_cc_const_eq_bvurem_s_x_t.sl similarity index 100% rename from lib-nonconforming/General_Track/ternary-propagation/find_cc_const_eq_bvurem_s_x_t.sl rename to lib/General_Track/ternary-propagation/find_cc_const_eq_bvurem_s_x_t.sl diff --git a/lib-nonconforming/General_Track/ternary-propagation/find_cc_const_eq_bvurem_x_s_t.sl b/lib/General_Track/ternary-propagation/find_cc_const_eq_bvurem_x_s_t.sl similarity index 100% rename from lib-nonconforming/General_Track/ternary-propagation/find_cc_const_eq_bvurem_x_s_t.sl rename to lib/General_Track/ternary-propagation/find_cc_const_eq_bvurem_x_s_t.sl diff --git a/lib-nonconforming/General_Track/ternary-propagation/find_cc_const_eq_bvxor_x_s_t.sl b/lib/General_Track/ternary-propagation/find_cc_const_eq_bvxor_x_s_t.sl similarity index 100% rename from lib-nonconforming/General_Track/ternary-propagation/find_cc_const_eq_bvxor_x_s_t.sl rename to lib/General_Track/ternary-propagation/find_cc_const_eq_bvxor_x_s_t.sl diff --git a/lib-nonconforming/General_Track/ternary-propagation/find_cc_const_eq_x_s.sl b/lib/General_Track/ternary-propagation/find_cc_const_eq_x_s.sl similarity index 100% rename from lib-nonconforming/General_Track/ternary-propagation/find_cc_const_eq_x_s.sl rename to lib/General_Track/ternary-propagation/find_cc_const_eq_x_s.sl diff --git a/lib-nonconforming/General_Track/ternary-propagation/find_ic_const_eq_bvadd_x_s_t.sl b/lib/General_Track/ternary-propagation/find_ic_const_eq_bvadd_x_s_t.sl similarity index 100% rename from lib-nonconforming/General_Track/ternary-propagation/find_ic_const_eq_bvadd_x_s_t.sl rename to lib/General_Track/ternary-propagation/find_ic_const_eq_bvadd_x_s_t.sl diff --git a/lib-nonconforming/General_Track/ternary-propagation/find_ic_const_eq_bvand_x_s_t.sl b/lib/General_Track/ternary-propagation/find_ic_const_eq_bvand_x_s_t.sl similarity index 100% rename from lib-nonconforming/General_Track/ternary-propagation/find_ic_const_eq_bvand_x_s_t.sl rename to lib/General_Track/ternary-propagation/find_ic_const_eq_bvand_x_s_t.sl diff --git a/lib-nonconforming/General_Track/ternary-propagation/find_ic_const_eq_bvashr_s_x_t.sl b/lib/General_Track/ternary-propagation/find_ic_const_eq_bvashr_s_x_t.sl similarity index 100% rename from lib-nonconforming/General_Track/ternary-propagation/find_ic_const_eq_bvashr_s_x_t.sl rename to lib/General_Track/ternary-propagation/find_ic_const_eq_bvashr_s_x_t.sl diff --git a/lib-nonconforming/General_Track/ternary-propagation/find_ic_const_eq_bvashr_x_s_t.sl b/lib/General_Track/ternary-propagation/find_ic_const_eq_bvashr_x_s_t.sl similarity index 100% rename from lib-nonconforming/General_Track/ternary-propagation/find_ic_const_eq_bvashr_x_s_t.sl rename to lib/General_Track/ternary-propagation/find_ic_const_eq_bvashr_x_s_t.sl diff --git a/lib-nonconforming/General_Track/ternary-propagation/find_ic_const_eq_bvlshr_s_x_t.sl b/lib/General_Track/ternary-propagation/find_ic_const_eq_bvlshr_s_x_t.sl similarity index 100% rename from lib-nonconforming/General_Track/ternary-propagation/find_ic_const_eq_bvlshr_s_x_t.sl rename to lib/General_Track/ternary-propagation/find_ic_const_eq_bvlshr_s_x_t.sl diff --git a/lib-nonconforming/General_Track/ternary-propagation/find_ic_const_eq_bvlshr_x_s_t.sl b/lib/General_Track/ternary-propagation/find_ic_const_eq_bvlshr_x_s_t.sl similarity index 100% rename from lib-nonconforming/General_Track/ternary-propagation/find_ic_const_eq_bvlshr_x_s_t.sl rename to lib/General_Track/ternary-propagation/find_ic_const_eq_bvlshr_x_s_t.sl diff --git a/lib-nonconforming/General_Track/ternary-propagation/find_ic_const_eq_bvmul_x_s_t.sl b/lib/General_Track/ternary-propagation/find_ic_const_eq_bvmul_x_s_t.sl similarity index 100% rename from lib-nonconforming/General_Track/ternary-propagation/find_ic_const_eq_bvmul_x_s_t.sl rename to lib/General_Track/ternary-propagation/find_ic_const_eq_bvmul_x_s_t.sl diff --git a/lib-nonconforming/General_Track/ternary-propagation/find_ic_const_eq_bvshl_s_x_t.sl b/lib/General_Track/ternary-propagation/find_ic_const_eq_bvshl_s_x_t.sl similarity index 100% rename from lib-nonconforming/General_Track/ternary-propagation/find_ic_const_eq_bvshl_s_x_t.sl rename to lib/General_Track/ternary-propagation/find_ic_const_eq_bvshl_s_x_t.sl diff --git a/lib-nonconforming/General_Track/ternary-propagation/find_ic_const_eq_bvshl_x_s_t.sl b/lib/General_Track/ternary-propagation/find_ic_const_eq_bvshl_x_s_t.sl similarity index 100% rename from lib-nonconforming/General_Track/ternary-propagation/find_ic_const_eq_bvshl_x_s_t.sl rename to lib/General_Track/ternary-propagation/find_ic_const_eq_bvshl_x_s_t.sl diff --git a/lib-nonconforming/General_Track/ternary-propagation/find_ic_const_eq_bvudiv_s_x_t.sl b/lib/General_Track/ternary-propagation/find_ic_const_eq_bvudiv_s_x_t.sl similarity index 100% rename from lib-nonconforming/General_Track/ternary-propagation/find_ic_const_eq_bvudiv_s_x_t.sl rename to lib/General_Track/ternary-propagation/find_ic_const_eq_bvudiv_s_x_t.sl diff --git a/lib-nonconforming/General_Track/ternary-propagation/find_ic_const_eq_bvudiv_x_s_t.sl b/lib/General_Track/ternary-propagation/find_ic_const_eq_bvudiv_x_s_t.sl similarity index 100% rename from lib-nonconforming/General_Track/ternary-propagation/find_ic_const_eq_bvudiv_x_s_t.sl rename to lib/General_Track/ternary-propagation/find_ic_const_eq_bvudiv_x_s_t.sl diff --git a/lib-nonconforming/General_Track/ternary-propagation/find_ic_const_eq_bvurem_s_x_t.sl b/lib/General_Track/ternary-propagation/find_ic_const_eq_bvurem_s_x_t.sl similarity index 100% rename from lib-nonconforming/General_Track/ternary-propagation/find_ic_const_eq_bvurem_s_x_t.sl rename to lib/General_Track/ternary-propagation/find_ic_const_eq_bvurem_s_x_t.sl diff --git a/lib-nonconforming/General_Track/ternary-propagation/find_ic_const_eq_bvurem_x_s_t.sl b/lib/General_Track/ternary-propagation/find_ic_const_eq_bvurem_x_s_t.sl similarity index 100% rename from lib-nonconforming/General_Track/ternary-propagation/find_ic_const_eq_bvurem_x_s_t.sl rename to lib/General_Track/ternary-propagation/find_ic_const_eq_bvurem_x_s_t.sl diff --git a/lib-nonconforming/General_Track/ternary-propagation/find_ic_const_eq_bvxor_x_s_t.sl b/lib/General_Track/ternary-propagation/find_ic_const_eq_bvxor_x_s_t.sl similarity index 100% rename from lib-nonconforming/General_Track/ternary-propagation/find_ic_const_eq_bvxor_x_s_t.sl rename to lib/General_Track/ternary-propagation/find_ic_const_eq_bvxor_x_s_t.sl diff --git a/lib-nonconforming/General_Track/ternary-propagation/find_ic_const_eq_x_s.sl b/lib/General_Track/ternary-propagation/find_ic_const_eq_x_s.sl similarity index 100% rename from lib-nonconforming/General_Track/ternary-propagation/find_ic_const_eq_x_s.sl rename to lib/General_Track/ternary-propagation/find_ic_const_eq_x_s.sl diff --git a/lib-nonconforming/General_Track/uclid5/IntSW-system-assign-1.ucl.sl b/lib/General_Track/uclid5/IntSW-system-assign-1.ucl.sl similarity index 100% rename from lib-nonconforming/General_Track/uclid5/IntSW-system-assign-1.ucl.sl rename to lib/General_Track/uclid5/IntSW-system-assign-1.ucl.sl diff --git a/lib-nonconforming/General_Track/uclid5/IntSW-system-if-1.ucl.sl b/lib/General_Track/uclid5/IntSW-system-if-1.ucl.sl similarity index 100% rename from lib-nonconforming/General_Track/uclid5/IntSW-system-if-1.ucl.sl rename to lib/General_Track/uclid5/IntSW-system-if-1.ucl.sl diff --git a/lib-nonconforming/General_Track/uclid5/IntSW-system-if-2.ucl.sl b/lib/General_Track/uclid5/IntSW-system-if-2.ucl.sl similarity index 100% rename from lib-nonconforming/General_Track/uclid5/IntSW-system-if-2.ucl.sl rename to lib/General_Track/uclid5/IntSW-system-if-2.ucl.sl diff --git a/lib-nonconforming/General_Track/uclid5/Intersection_BMC-system-assign-1.ucl.sl b/lib/General_Track/uclid5/Intersection_BMC-system-assign-1.ucl.sl similarity index 100% rename from lib-nonconforming/General_Track/uclid5/Intersection_BMC-system-assign-1.ucl.sl rename to lib/General_Track/uclid5/Intersection_BMC-system-assign-1.ucl.sl diff --git a/lib-nonconforming/General_Track/uclid5/Intersection_BMC-system-assign-2.ucl.sl b/lib/General_Track/uclid5/Intersection_BMC-system-assign-2.ucl.sl similarity index 100% rename from lib-nonconforming/General_Track/uclid5/Intersection_BMC-system-assign-2.ucl.sl rename to lib/General_Track/uclid5/Intersection_BMC-system-assign-2.ucl.sl diff --git a/lib-nonconforming/General_Track/uclid5/Intersection_BMC-system-if-1.ucl.sl b/lib/General_Track/uclid5/Intersection_BMC-system-if-1.ucl.sl similarity index 100% rename from lib-nonconforming/General_Track/uclid5/Intersection_BMC-system-if-1.ucl.sl rename to lib/General_Track/uclid5/Intersection_BMC-system-if-1.ucl.sl diff --git a/lib-nonconforming/General_Track/uclid5/Intersection_BMC-system-if-2.ucl.sl b/lib/General_Track/uclid5/Intersection_BMC-system-if-2.ucl.sl similarity index 100% rename from lib-nonconforming/General_Track/uclid5/Intersection_BMC-system-if-2.ucl.sl rename to lib/General_Track/uclid5/Intersection_BMC-system-if-2.ucl.sl diff --git a/lib-nonconforming/General_Track/uclid5/Intersection_Induction-spec-replace-inv-1.ucl.sl b/lib/General_Track/uclid5/Intersection_Induction-spec-replace-inv-1.ucl.sl similarity index 100% rename from lib-nonconforming/General_Track/uclid5/Intersection_Induction-spec-replace-inv-1.ucl.sl rename to lib/General_Track/uclid5/Intersection_Induction-spec-replace-inv-1.ucl.sl diff --git a/lib-nonconforming/General_Track/uclid5/Intersection_Induction-spec-replace-inv-2.ucl.sl b/lib/General_Track/uclid5/Intersection_Induction-spec-replace-inv-2.ucl.sl similarity index 100% rename from lib-nonconforming/General_Track/uclid5/Intersection_Induction-spec-replace-inv-2.ucl.sl rename to lib/General_Track/uclid5/Intersection_Induction-spec-replace-inv-2.ucl.sl diff --git a/lib-nonconforming/General_Track/uclid5/Intersection_Induction-spec-replace-inv-3.ucl.sl b/lib/General_Track/uclid5/Intersection_Induction-spec-replace-inv-3.ucl.sl similarity index 100% rename from lib-nonconforming/General_Track/uclid5/Intersection_Induction-spec-replace-inv-3.ucl.sl rename to lib/General_Track/uclid5/Intersection_Induction-spec-replace-inv-3.ucl.sl diff --git a/lib-nonconforming/General_Track/uclid5/Intersection_Induction-spec-replace-inv-4.ucl.sl b/lib/General_Track/uclid5/Intersection_Induction-spec-replace-inv-4.ucl.sl similarity index 100% rename from lib-nonconforming/General_Track/uclid5/Intersection_Induction-spec-replace-inv-4.ucl.sl rename to lib/General_Track/uclid5/Intersection_Induction-spec-replace-inv-4.ucl.sl diff --git a/lib-nonconforming/General_Track/uclid5/Intersection_Induction-spec-replace-inv-5.ucl.sl b/lib/General_Track/uclid5/Intersection_Induction-spec-replace-inv-5.ucl.sl similarity index 100% rename from lib-nonconforming/General_Track/uclid5/Intersection_Induction-spec-replace-inv-5.ucl.sl rename to lib/General_Track/uclid5/Intersection_Induction-spec-replace-inv-5.ucl.sl diff --git a/lib-nonconforming/General_Track/uclid5/dining-philosophers-no-deadlock-system-assign-1.ucl.sl b/lib/General_Track/uclid5/dining-philosophers-no-deadlock-system-assign-1.ucl.sl similarity index 100% rename from lib-nonconforming/General_Track/uclid5/dining-philosophers-no-deadlock-system-assign-1.ucl.sl rename to lib/General_Track/uclid5/dining-philosophers-no-deadlock-system-assign-1.ucl.sl diff --git a/lib-nonconforming/General_Track/uclid5/dining-philosophers-no-deadlock-system-assign-2.ucl.sl b/lib/General_Track/uclid5/dining-philosophers-no-deadlock-system-assign-2.ucl.sl similarity index 100% rename from lib-nonconforming/General_Track/uclid5/dining-philosophers-no-deadlock-system-assign-2.ucl.sl rename to lib/General_Track/uclid5/dining-philosophers-no-deadlock-system-assign-2.ucl.sl diff --git a/lib-nonconforming/General_Track/uclid5/dining-philosophers-no-deadlock-system-if-1.ucl.sl b/lib/General_Track/uclid5/dining-philosophers-no-deadlock-system-if-1.ucl.sl similarity index 100% rename from lib-nonconforming/General_Track/uclid5/dining-philosophers-no-deadlock-system-if-1.ucl.sl rename to lib/General_Track/uclid5/dining-philosophers-no-deadlock-system-if-1.ucl.sl diff --git a/lib-nonconforming/General_Track/uclid5/dining-philosophers-no-deadlock-system-if-2.ucl.sl b/lib/General_Track/uclid5/dining-philosophers-no-deadlock-system-if-2.ucl.sl similarity index 100% rename from lib-nonconforming/General_Track/uclid5/dining-philosophers-no-deadlock-system-if-2.ucl.sl rename to lib/General_Track/uclid5/dining-philosophers-no-deadlock-system-if-2.ucl.sl diff --git a/lib-nonconforming/General_Track/uclid5/electronic_purse-spec-replace-inv-1.ucl.sl b/lib/General_Track/uclid5/electronic_purse-spec-replace-inv-1.ucl.sl similarity index 100% rename from lib-nonconforming/General_Track/uclid5/electronic_purse-spec-replace-inv-1.ucl.sl rename to lib/General_Track/uclid5/electronic_purse-spec-replace-inv-1.ucl.sl diff --git a/lib-nonconforming/General_Track/uclid5/electronic_purse-system-replace-func-1.ucl.sl b/lib/General_Track/uclid5/electronic_purse-system-replace-func-1.ucl.sl similarity index 100% rename from lib-nonconforming/General_Track/uclid5/electronic_purse-system-replace-func-1.ucl.sl rename to lib/General_Track/uclid5/electronic_purse-system-replace-func-1.ucl.sl diff --git a/lib-nonconforming/General_Track/uclid5/electronic_purse-system-replace-func-2.ucl.sl b/lib/General_Track/uclid5/electronic_purse-system-replace-func-2.ucl.sl similarity index 100% rename from lib-nonconforming/General_Track/uclid5/electronic_purse-system-replace-func-2.ucl.sl rename to lib/General_Track/uclid5/electronic_purse-system-replace-func-2.ucl.sl diff --git a/lib-nonconforming/General_Track/uclid5/ex4.5-traffic-light-system-assign.ucl.sl b/lib/General_Track/uclid5/ex4.5-traffic-light-system-assign.ucl.sl similarity index 100% rename from lib-nonconforming/General_Track/uclid5/ex4.5-traffic-light-system-assign.ucl.sl rename to lib/General_Track/uclid5/ex4.5-traffic-light-system-assign.ucl.sl diff --git a/lib-nonconforming/General_Track/uclid5/ex4.5-traffic-light-system-if.ucl.sl b/lib/General_Track/uclid5/ex4.5-traffic-light-system-if.ucl.sl similarity index 100% rename from lib-nonconforming/General_Track/uclid5/ex4.5-traffic-light-system-if.ucl.sl rename to lib/General_Track/uclid5/ex4.5-traffic-light-system-if.ucl.sl diff --git a/lib-nonconforming/General_Track/uclid5/simple-two-phase-commit-spec-replace-inv-1.ucl.sl b/lib/General_Track/uclid5/simple-two-phase-commit-spec-replace-inv-1.ucl.sl similarity index 100% rename from lib-nonconforming/General_Track/uclid5/simple-two-phase-commit-spec-replace-inv-1.ucl.sl rename to lib/General_Track/uclid5/simple-two-phase-commit-spec-replace-inv-1.ucl.sl diff --git a/lib-nonconforming/General_Track/uclid5/simple-two-phase-commit-spec-replace-inv-2.ucl.sl b/lib/General_Track/uclid5/simple-two-phase-commit-spec-replace-inv-2.ucl.sl similarity index 100% rename from lib-nonconforming/General_Track/uclid5/simple-two-phase-commit-spec-replace-inv-2.ucl.sl rename to lib/General_Track/uclid5/simple-two-phase-commit-spec-replace-inv-2.ucl.sl diff --git a/lib-nonconforming/General_Track/uclid5/simple-two-phase-commit-spec-replace-inv-3.ucl.sl b/lib/General_Track/uclid5/simple-two-phase-commit-spec-replace-inv-3.ucl.sl similarity index 100% rename from lib-nonconforming/General_Track/uclid5/simple-two-phase-commit-spec-replace-inv-3.ucl.sl rename to lib/General_Track/uclid5/simple-two-phase-commit-spec-replace-inv-3.ucl.sl diff --git a/lib-nonconforming/General_Track/uclid5/simple-two-phase-commit-spec-replace-inv-4.ucl.sl b/lib/General_Track/uclid5/simple-two-phase-commit-spec-replace-inv-4.ucl.sl similarity index 100% rename from lib-nonconforming/General_Track/uclid5/simple-two-phase-commit-spec-replace-inv-4.ucl.sl rename to lib/General_Track/uclid5/simple-two-phase-commit-spec-replace-inv-4.ucl.sl diff --git a/lib-nonconforming/Inv_Track/andrew_lustre/ccp01.lus.sl b/lib/Inv_Track/andrew_lustre/ccp01.lus.sl similarity index 85% rename from lib-nonconforming/Inv_Track/andrew_lustre/ccp01.lus.sl rename to lib/Inv_Track/andrew_lustre/ccp01.lus.sl index cbeea381..54919978 100644 --- a/lib-nonconforming/Inv_Track/andrew_lustre/ccp01.lus.sl +++ b/lib/Inv_Track/andrew_lustre/ccp01.lus.sl @@ -22,12 +22,12 @@ ) Bool (let - ((X1 Bool (>= top.usr.carSpeed_a_0 15.0))) + ((X1 (>= top.usr.carSpeed_a_0 15.0))) (let - ((X2 Bool (= top.usr.carGear_a_0 3))) + ((X2 (= top.usr.carGear_a_0 3))) (let ((X3 - Bool (and + (and (and (and (and (not top.usr.cancel_a_0) (not top.usr.brakePedal_a_0)) @@ -35,105 +35,105 @@ X1) top.usr.validInputs_a_0))) (let - ((X4 Bool true)) + ((X4 true)) (and (= top.impl.usr.zz183_a_0 top.usr.decelSet_a_0) (let - ((X5 Bool (and (not X4) top.impl.usr.zz183_a_0))) + ((X5 (and (not X4) top.impl.usr.zz183_a_0))) (let - ((X6 Bool true)) + ((X6 true)) (and (= top.impl.usr.zz178_a_0 top.usr.accelResume_a_0) (let - ((X7 Bool (and (not X6) top.impl.usr.zz178_a_0))) + ((X7 (and (not X6) top.impl.usr.zz178_a_0))) (let - ((X8 Int 0)) + ((X8 0)) (let - ((X9 Bool (and (and (>= X8 2) (<= X8 8)) (not top.usr.onOff_a_0)))) + ((X9 (and (and (>= X8 2) (<= X8 8)) (not top.usr.onOff_a_0)))) (let - ((X10 Int (ite (= X8 4) 3 X8))) + ((X10 (ite (= X8 4) 3 X8))) (let - ((X11 Int (ite (and (>= X8 3) (<= X8 6)) X10 X8))) + ((X11 (ite (and (>= X8 3) (<= X8 6)) X10 X8))) (let - ((X12 Int (ite (= X11 5) 3 X11))) + ((X12 (ite (= X11 5) 3 X11))) (let - ((X13 Int (ite (and (>= X8 3) (<= X8 6)) X12 X11))) + ((X13 (ite (and (>= X8 3) (<= X8 6)) X12 X11))) (let - ((X14 Int (ite (= X13 6) 3 X13))) + ((X14 (ite (= X13 6) 3 X13))) (let - ((X15 Int (ite (and (>= X8 3) (<= X8 6)) X14 X13))) + ((X15 (ite (and (>= X8 3) (<= X8 6)) X14 X13))) (let - ((X16 Int (ite (and (>= X8 3) (<= X8 6)) 2 X15))) + ((X16 (ite (and (>= X8 3) (<= X8 6)) 2 X15))) (let - ((X17 Int (ite (and (>= X8 2) (<= X8 8)) X16 X8))) + ((X17 (ite (and (>= X8 2) (<= X8 8)) X16 X8))) (let - ((X18 Int (ite (= X17 7) 2 X17))) + ((X18 (ite (= X17 7) 2 X17))) (let - ((X19 Int (ite (and (>= X8 2) (<= X8 8)) X18 X17))) + ((X19 (ite (and (>= X8 2) (<= X8 8)) X18 X17))) (let - ((X20 Int (ite (= X19 8) 2 X19))) + ((X20 (ite (= X19 8) 2 X19))) (let - ((X21 Int (ite (and (>= X8 2) (<= X8 8)) X20 X19))) + ((X21 (ite (and (>= X8 2) (<= X8 8)) X20 X19))) (let - ((X22 Int (ite (and (>= X8 2) (<= X8 8)) 0 X21))) + ((X22 (ite (and (>= X8 2) (<= X8 8)) 0 X21))) (let - ((X23 Int (ite X9 X22 X8))) + ((X23 (ite X9 X22 X8))) (let - ((X24 Int (ite (not (= X23 1)) 1 X23))) + ((X24 (ite (not (= X23 1)) 1 X23))) (let - ((X25 Int (ite X9 X24 X23))) + ((X25 (ite X9 X24 X23))) (let ((X26 - Bool (and + (and (= X25 1) (and top.usr.onOff_a_0 (not X9))))) (let - ((X27 Int (ite (= X25 1) 0 X25))) + ((X27 (ite (= X25 1) 0 X25))) (let - ((X28 Int (ite X26 X27 X25))) + ((X28 (ite X26 X27 X25))) (let ((X29 - Int (ite + (ite (not (and (>= X28 2) (<= X28 8))) 2 X28))) (let ((X30 - Bool (and + (and (not (and (>= X28 2) (<= X28 8))) (and (>= X29 2) (<= X29 8))))) (let - ((X31 Int (ite (not (= X29 7)) 7 X29))) + ((X31 (ite (not (= X29 7)) 7 X29))) (let - ((X32 Int (ite X30 X31 X29))) + ((X32 (ite X30 X31 X29))) (let - ((X33 Int (ite X26 X32 X28))) + ((X33 (ite X26 X32 X28))) (let ((X34 - Bool (and + (and (and (>= X33 3) (<= X33 6)) (not X3)))) (let - ((X35 Int (ite (= X33 4) 3 X33))) + ((X35 (ite (= X33 4) 3 X33))) (let ((X36 - Int (ite + (ite (and (>= X33 3) (<= X33 6)) X35 X33))) (let - ((X37 Int (ite (= X36 5) 3 X36))) + ((X37 (ite (= X36 5) 3 X36))) (let ((X38 - Int (ite + (ite (and (>= X33 3) (<= X33 6)) X37 X36))) (let - ((X39 Int (ite (= X38 6) 3 X38))) + ((X39 (ite (= X38 6) 3 X38))) (let ((X40 - Int (ite + (ite (and (>= X33 3) (<= X33 6)) @@ -141,25 +141,25 @@ X38))) (let ((X41 - Int (ite + (ite (and (>= X33 3) (<= X33 6)) 2 X40))) (let - ((X42 Int (ite X34 X41 X33))) + ((X42 (ite X34 X41 X33))) (let ((X43 - Int (ite + (ite (not (= X42 8)) 8 X42))) (let - ((X44 Int (ite X34 X43 X42))) + ((X44 (ite X34 X43 X42))) (let ((X45 - Bool (and + (and (= X44 8) (and (and @@ -180,13 +180,13 @@ (not X34))))) (let ((X46 - Int (ite (= X44 8) 2 X44))) + (ite (= X44 8) 2 X44))) (let ((X47 - Int (ite X45 X46 X44))) + (ite X45 X46 X44))) (let ((X48 - Int (ite + (ite (not (and (>= X47 3) @@ -195,7 +195,7 @@ X47))) (let ((X49 - Bool (and + (and (not (and (>= X47 3) @@ -205,28 +205,28 @@ (<= X48 6))))) (let ((X50 - Int (ite + (ite (not (= X48 4)) 4 X48))) (let ((X51 - Int (ite + (ite X49 X50 X48))) (let ((X52 - Int (ite + (ite X45 X51 X47))) (let ((X53 - Bool (or X45 X34))) + (or X45 X34))) (let ((X54 - Bool (and + (and (= X52 8) (and (and @@ -247,19 +247,19 @@ (not X53))))) (let ((X55 - Int (ite + (ite (= X52 8) 2 X52))) (let ((X56 - Int (ite + (ite X54 X55 X52))) (let ((X57 - Int (ite + (ite (not (and (>= @@ -272,7 +272,6 @@ X56))) (let ((X58 - Bool (and (not (and @@ -283,7 +282,6 @@ (<= X57 6))))) (let ((X59 - Int (ite (not (= X57 4)) @@ -291,27 +289,23 @@ X57))) (let ((X60 - Int (ite X58 X59 X57))) (let ((X61 - Int (ite X54 X60 X56))) (let ((X62 - Bool (or X54 X53))) (let ((X63 - Bool (and (= X61 7) (and @@ -333,21 +327,18 @@ (not X62))))) (let ((X64 - Int (ite (= X61 7) 2 X61))) (let ((X65 - Int (ite X63 X64 X61))) (let ((X66 - Int (ite (not (and @@ -361,7 +352,6 @@ X65))) (let ((X67 - Bool (and (not (and @@ -380,7 +370,6 @@ 6))))) (let ((X68 - Int (ite (not (= X66 4)) @@ -388,7 +377,6 @@ X66))) (let ((X69 - Int (ite X67 X68 @@ -403,23 +391,20 @@ (= X69 6)))) (let ((X70 - Int 0)) + 0)) (let ((X71 - Int (+ X70 1))) (let ((X72 - Int (ite top.usr.decelSet_a_0 X71 0))) (let ((X73 - Int (ite (>= 0 @@ -437,29 +422,25 @@ 20)) (let ((X74 - Bool (= top.impl.usr.zz176_a_0 20))) (let ((X75 - Int 0)) + 0)) (let ((X76 - Int (+ X75 1))) (let ((X77 - Int (ite top.usr.accelResume_a_0 X76 0))) (let ((X78 - Int (ite (>= 0 @@ -477,7 +458,6 @@ 20)) (let ((X79 - Bool (= top.impl.usr.zz170_a_0 20))) @@ -487,7 +467,6 @@ true) (let ((X80 - Int (ite (not (= X8 1)) @@ -495,26 +474,22 @@ X8))) (let ((X81 - Bool (or X26 X9))) (let ((X82 - Int (ite X63 X69 X65))) (let ((X83 - Bool (or X63 X62))) (let ((X84 - Bool (and (= X82 4) (not @@ -526,21 +501,18 @@ 0))))) (let ((X85 - Int (ite (= X82 4) 3 X82))) (let ((X86 - Int (ite X84 X85 X82))) (let ((X87 - Int (ite (not (= X86 4)) @@ -548,14 +520,12 @@ X86))) (let ((X88 - Int (ite X84 X87 X86))) (let ((X89 - Bool (and (= X88 4) (and @@ -569,21 +539,18 @@ (not X84))))) (let ((X90 - Int (ite (= X88 4) 3 X88))) (let ((X91 - Int (ite X89 X90 X88))) (let ((X92 - Int (ite (not (= X91 5)) @@ -591,20 +558,17 @@ X91))) (let ((X93 - Int (ite X89 X92 X91))) (let ((X94 - Bool (or X89 X84))) (let ((X95 - Bool (and (= X93 4) (and @@ -618,21 +582,18 @@ (not X94))))) (let ((X96 - Int (ite (= X93 4) 3 X93))) (let ((X97 - Int (ite X95 X96 X93))) (let ((X98 - Int (ite (not (= X97 6)) @@ -640,20 +601,17 @@ X97))) (let ((X99 - Int (ite X95 X98 X97))) (let ((X100 - Bool (or X95 X94))) (let ((X101 - Bool (and (= X99 6) (and @@ -669,21 +627,18 @@ X100))))) (let ((X102 - Int (ite (= X99 6) 3 X99))) (let ((X103 - Int (ite X101 X102 X99))) (let ((X104 - Int (ite (not (= @@ -693,20 +648,17 @@ X103))) (let ((X105 - Int (ite X101 X104 X103))) (let ((X106 - Bool (or X101 X100))) (let ((X107 - Bool (and (= X105 @@ -724,7 +676,6 @@ X106))))) (let ((X108 - Int (ite (= X105 @@ -733,14 +684,12 @@ X105))) (let ((X109 - Int (ite X107 X108 X105))) (let ((X110 - Int (ite (not (= @@ -750,14 +699,12 @@ X109))) (let ((X111 - Int (ite X107 X110 X109))) (let ((X112 - Int (ite (and (not X83) @@ -772,7 +719,6 @@ X82))) (let ((X113 - Int (ite (and (not X81) @@ -791,7 +737,6 @@ true) (let ((X114 - Int (ite top.impl.usr.SP3c_a_0 (ite @@ -845,12 +790,12 @@ ) Bool (let - ((X1 Bool (>= top.usr.carSpeed_a_1 15.0))) + ((X1 (>= top.usr.carSpeed_a_1 15.0))) (let - ((X2 Bool (= top.usr.carGear_a_1 3))) + ((X2 (= top.usr.carGear_a_1 3))) (let ((X3 - Bool (and + (and (and (and (and (not top.usr.cancel_a_1) (not top.usr.brakePedal_a_1)) @@ -858,105 +803,105 @@ X1) top.usr.validInputs_a_1))) (let - ((X4 Bool top.impl.usr.zz183_a_0)) + ((X4 top.impl.usr.zz183_a_0)) (and (= top.impl.usr.zz183_a_1 top.usr.decelSet_a_1) (let - ((X5 Bool (and (not X4) top.impl.usr.zz183_a_1))) + ((X5 (and (not X4) top.impl.usr.zz183_a_1))) (let - ((X6 Bool top.impl.usr.zz178_a_0)) + ((X6 top.impl.usr.zz178_a_0)) (and (= top.impl.usr.zz178_a_1 top.usr.accelResume_a_1) (let - ((X7 Bool (and (not X6) top.impl.usr.zz178_a_1))) + ((X7 (and (not X6) top.impl.usr.zz178_a_1))) (let - ((X8 Int top.impl.usr.zz161_a_0)) + ((X8 top.impl.usr.zz161_a_0)) (let - ((X9 Bool (and (and (>= X8 2) (<= X8 8)) (not top.usr.onOff_a_1)))) + ((X9 (and (and (>= X8 2) (<= X8 8)) (not top.usr.onOff_a_1)))) (let - ((X10 Int (ite (= X8 4) 3 X8))) + ((X10 (ite (= X8 4) 3 X8))) (let - ((X11 Int (ite (and (>= X8 3) (<= X8 6)) X10 X8))) + ((X11 (ite (and (>= X8 3) (<= X8 6)) X10 X8))) (let - ((X12 Int (ite (= X11 5) 3 X11))) + ((X12 (ite (= X11 5) 3 X11))) (let - ((X13 Int (ite (and (>= X8 3) (<= X8 6)) X12 X11))) + ((X13 (ite (and (>= X8 3) (<= X8 6)) X12 X11))) (let - ((X14 Int (ite (= X13 6) 3 X13))) + ((X14 (ite (= X13 6) 3 X13))) (let - ((X15 Int (ite (and (>= X8 3) (<= X8 6)) X14 X13))) + ((X15 (ite (and (>= X8 3) (<= X8 6)) X14 X13))) (let - ((X16 Int (ite (and (>= X8 3) (<= X8 6)) 2 X15))) + ((X16 (ite (and (>= X8 3) (<= X8 6)) 2 X15))) (let - ((X17 Int (ite (and (>= X8 2) (<= X8 8)) X16 X8))) + ((X17 (ite (and (>= X8 2) (<= X8 8)) X16 X8))) (let - ((X18 Int (ite (= X17 7) 2 X17))) + ((X18 (ite (= X17 7) 2 X17))) (let - ((X19 Int (ite (and (>= X8 2) (<= X8 8)) X18 X17))) + ((X19 (ite (and (>= X8 2) (<= X8 8)) X18 X17))) (let - ((X20 Int (ite (= X19 8) 2 X19))) + ((X20 (ite (= X19 8) 2 X19))) (let - ((X21 Int (ite (and (>= X8 2) (<= X8 8)) X20 X19))) + ((X21 (ite (and (>= X8 2) (<= X8 8)) X20 X19))) (let - ((X22 Int (ite (and (>= X8 2) (<= X8 8)) 0 X21))) + ((X22 (ite (and (>= X8 2) (<= X8 8)) 0 X21))) (let - ((X23 Int (ite X9 X22 X8))) + ((X23 (ite X9 X22 X8))) (let - ((X24 Int (ite (not (= X23 1)) 1 X23))) + ((X24 (ite (not (= X23 1)) 1 X23))) (let - ((X25 Int (ite X9 X24 X23))) + ((X25 (ite X9 X24 X23))) (let ((X26 - Bool (and + (and (= X25 1) (and top.usr.onOff_a_1 (not X9))))) (let - ((X27 Int (ite (= X25 1) 0 X25))) + ((X27 (ite (= X25 1) 0 X25))) (let - ((X28 Int (ite X26 X27 X25))) + ((X28 (ite X26 X27 X25))) (let ((X29 - Int (ite + (ite (not (and (>= X28 2) (<= X28 8))) 2 X28))) (let ((X30 - Bool (and + (and (not (and (>= X28 2) (<= X28 8))) (and (>= X29 2) (<= X29 8))))) (let - ((X31 Int (ite (not (= X29 7)) 7 X29))) + ((X31 (ite (not (= X29 7)) 7 X29))) (let - ((X32 Int (ite X30 X31 X29))) + ((X32 (ite X30 X31 X29))) (let - ((X33 Int (ite X26 X32 X28))) + ((X33 (ite X26 X32 X28))) (let ((X34 - Bool (and + (and (and (>= X33 3) (<= X33 6)) (not X3)))) (let - ((X35 Int (ite (= X33 4) 3 X33))) + ((X35 (ite (= X33 4) 3 X33))) (let ((X36 - Int (ite + (ite (and (>= X33 3) (<= X33 6)) X35 X33))) (let - ((X37 Int (ite (= X36 5) 3 X36))) + ((X37 (ite (= X36 5) 3 X36))) (let ((X38 - Int (ite + (ite (and (>= X33 3) (<= X33 6)) X37 X36))) (let - ((X39 Int (ite (= X38 6) 3 X38))) + ((X39 (ite (= X38 6) 3 X38))) (let ((X40 - Int (ite + (ite (and (>= X33 3) (<= X33 6)) @@ -964,25 +909,25 @@ X38))) (let ((X41 - Int (ite + (ite (and (>= X33 3) (<= X33 6)) 2 X40))) (let - ((X42 Int (ite X34 X41 X33))) + ((X42 (ite X34 X41 X33))) (let ((X43 - Int (ite + (ite (not (= X42 8)) 8 X42))) (let - ((X44 Int (ite X34 X43 X42))) + ((X44 (ite X34 X43 X42))) (let ((X45 - Bool (and + (and (= X44 8) (and (and @@ -1003,13 +948,13 @@ (not X34))))) (let ((X46 - Int (ite (= X44 8) 2 X44))) + (ite (= X44 8) 2 X44))) (let ((X47 - Int (ite X45 X46 X44))) + (ite X45 X46 X44))) (let ((X48 - Int (ite + (ite (not (and (>= X47 3) @@ -1018,7 +963,7 @@ X47))) (let ((X49 - Bool (and + (and (not (and (>= X47 3) @@ -1028,28 +973,28 @@ (<= X48 6))))) (let ((X50 - Int (ite + (ite (not (= X48 4)) 4 X48))) (let ((X51 - Int (ite + (ite X49 X50 X48))) (let ((X52 - Int (ite + (ite X45 X51 X47))) (let ((X53 - Bool (or X45 X34))) + (or X45 X34))) (let ((X54 - Bool (and + (and (= X52 8) (and (and @@ -1070,19 +1015,19 @@ (not X53))))) (let ((X55 - Int (ite + (ite (= X52 8) 2 X52))) (let ((X56 - Int (ite + (ite X54 X55 X52))) (let ((X57 - Int (ite + (ite (not (and (>= @@ -1095,7 +1040,6 @@ X56))) (let ((X58 - Bool (and (not (and @@ -1106,7 +1050,6 @@ (<= X57 6))))) (let ((X59 - Int (ite (not (= X57 4)) @@ -1114,27 +1057,23 @@ X57))) (let ((X60 - Int (ite X58 X59 X57))) (let ((X61 - Int (ite X54 X60 X56))) (let ((X62 - Bool (or X54 X53))) (let ((X63 - Bool (and (= X61 7) (and @@ -1156,21 +1095,18 @@ (not X62))))) (let ((X64 - Int (ite (= X61 7) 2 X61))) (let ((X65 - Int (ite X63 X64 X61))) (let ((X66 - Int (ite (not (and @@ -1184,7 +1120,6 @@ X65))) (let ((X67 - Bool (and (not (and @@ -1203,7 +1138,6 @@ 6))))) (let ((X68 - Int (ite (not (= X66 4)) @@ -1211,7 +1145,6 @@ X66))) (let ((X69 - Int (ite X67 X68 @@ -1226,23 +1159,20 @@ (= X69 6)))) (let ((X70 - Int top.impl.usr.zz176_a_0)) + top.impl.usr.zz176_a_0)) (let ((X71 - Int (+ X70 1))) (let ((X72 - Int (ite top.usr.decelSet_a_1 X71 0))) (let ((X73 - Int (ite (>= 0 @@ -1260,29 +1190,25 @@ 20)) (let ((X74 - Bool (= top.impl.usr.zz176_a_1 20))) (let ((X75 - Int top.impl.usr.zz170_a_0)) + top.impl.usr.zz170_a_0)) (let ((X76 - Int (+ X75 1))) (let ((X77 - Int (ite top.usr.accelResume_a_1 X76 0))) (let ((X78 - Int (ite (>= 0 @@ -1300,7 +1226,6 @@ 20)) (let ((X79 - Bool (= top.impl.usr.zz170_a_1 20))) @@ -1313,7 +1238,6 @@ top.impl.usr.zz155_a_0)) (let ((X80 - Int (ite (not (= X8 1)) @@ -1321,26 +1245,22 @@ X8))) (let ((X81 - Bool (or X26 X9))) (let ((X82 - Int (ite X63 X69 X65))) (let ((X83 - Bool (or X63 X62))) (let ((X84 - Bool (and (= X82 4) (not @@ -1352,21 +1272,18 @@ 0))))) (let ((X85 - Int (ite (= X82 4) 3 X82))) (let ((X86 - Int (ite X84 X85 X82))) (let ((X87 - Int (ite (not (= X86 4)) @@ -1374,14 +1291,12 @@ X86))) (let ((X88 - Int (ite X84 X87 X86))) (let ((X89 - Bool (and (= X88 4) (and @@ -1395,21 +1310,18 @@ (not X84))))) (let ((X90 - Int (ite (= X88 4) 3 X88))) (let ((X91 - Int (ite X89 X90 X88))) (let ((X92 - Int (ite (not (= X91 5)) @@ -1417,20 +1329,17 @@ X91))) (let ((X93 - Int (ite X89 X92 X91))) (let ((X94 - Bool (or X89 X84))) (let ((X95 - Bool (and (= X93 4) (and @@ -1444,21 +1353,18 @@ (not X94))))) (let ((X96 - Int (ite (= X93 4) 3 X93))) (let ((X97 - Int (ite X95 X96 X93))) (let ((X98 - Int (ite (not (= X97 6)) @@ -1466,20 +1372,17 @@ X97))) (let ((X99 - Int (ite X95 X98 X97))) (let ((X100 - Bool (or X95 X94))) (let ((X101 - Bool (and (= X99 6) (and @@ -1495,21 +1398,18 @@ X100))))) (let ((X102 - Int (ite (= X99 6) 3 X99))) (let ((X103 - Int (ite X101 X102 X99))) (let ((X104 - Int (ite (not (= @@ -1519,20 +1419,17 @@ X103))) (let ((X105 - Int (ite X101 X104 X103))) (let ((X106 - Bool (or X101 X100))) (let ((X107 - Bool (and (= X105 @@ -1550,7 +1447,6 @@ X106))))) (let ((X108 - Int (ite (= X105 @@ -1559,14 +1455,12 @@ X105))) (let ((X109 - Int (ite X107 X108 X105))) (let ((X110 - Int (ite (not (= @@ -1576,14 +1470,12 @@ X109))) (let ((X111 - Int (ite X107 X110 X109))) (let ((X112 - Int (ite (and (not X83) @@ -1598,7 +1490,6 @@ X82))) (let ((X113 - Int (ite (and (not X81) @@ -1617,7 +1508,6 @@ true) (let ((X114 - Int (ite top.impl.usr.SP3c_a_1 (ite @@ -1656,24 +1546,6 @@ )) -(declare-primed-var top.usr.onOff Bool) -(declare-primed-var top.usr.decelSet Bool) -(declare-primed-var top.usr.accelResume Bool) -(declare-primed-var top.usr.cancel Bool) -(declare-primed-var top.usr.brakePedal Bool) -(declare-primed-var top.usr.carGear Int) -(declare-primed-var top.usr.carSpeed Real) -(declare-primed-var top.usr.validInputs Bool) -(declare-primed-var top.usr.OK Bool) -(declare-primed-var top.res.init_flag Bool) -(declare-primed-var top.impl.usr.SP3c Bool) -(declare-primed-var top.impl.usr.zz155 Bool) -(declare-primed-var top.impl.usr.zz161 Int) -(declare-primed-var top.impl.usr.zz170 Int) -(declare-primed-var top.impl.usr.zz176 Int) -(declare-primed-var top.impl.usr.zz178 Bool) -(declare-primed-var top.impl.usr.zz183 Bool) - (define-fun init ( (top.usr.onOff Bool) @@ -1696,116 +1568,116 @@ ) Bool (let - ((X1 Bool (>= top.usr.carSpeed 15.0))) + ((X1 (>= top.usr.carSpeed 15.0))) (let - ((X2 Bool (= top.usr.carGear 3))) + ((X2 (= top.usr.carGear 3))) (let ((X3 - Bool (and + (and (and (and (and (not top.usr.cancel) (not top.usr.brakePedal)) X2) X1) top.usr.validInputs))) (let - ((X4 Bool true)) + ((X4 true)) (and (= top.impl.usr.zz183 top.usr.decelSet) (let - ((X5 Bool (and (not X4) top.impl.usr.zz183))) + ((X5 (and (not X4) top.impl.usr.zz183))) (let - ((X6 Bool true)) + ((X6 true)) (and (= top.impl.usr.zz178 top.usr.accelResume) (let - ((X7 Bool (and (not X6) top.impl.usr.zz178))) + ((X7 (and (not X6) top.impl.usr.zz178))) (let - ((X8 Int 0)) + ((X8 0)) (let - ((X9 Bool (and (and (>= X8 2) (<= X8 8)) (not top.usr.onOff)))) + ((X9 (and (and (>= X8 2) (<= X8 8)) (not top.usr.onOff)))) (let - ((X10 Int (ite (= X8 4) 3 X8))) + ((X10 (ite (= X8 4) 3 X8))) (let - ((X11 Int (ite (and (>= X8 3) (<= X8 6)) X10 X8))) + ((X11 (ite (and (>= X8 3) (<= X8 6)) X10 X8))) (let - ((X12 Int (ite (= X11 5) 3 X11))) + ((X12 (ite (= X11 5) 3 X11))) (let - ((X13 Int (ite (and (>= X8 3) (<= X8 6)) X12 X11))) + ((X13 (ite (and (>= X8 3) (<= X8 6)) X12 X11))) (let - ((X14 Int (ite (= X13 6) 3 X13))) + ((X14 (ite (= X13 6) 3 X13))) (let - ((X15 Int (ite (and (>= X8 3) (<= X8 6)) X14 X13))) + ((X15 (ite (and (>= X8 3) (<= X8 6)) X14 X13))) (let - ((X16 Int (ite (and (>= X8 3) (<= X8 6)) 2 X15))) + ((X16 (ite (and (>= X8 3) (<= X8 6)) 2 X15))) (let - ((X17 Int (ite (and (>= X8 2) (<= X8 8)) X16 X8))) + ((X17 (ite (and (>= X8 2) (<= X8 8)) X16 X8))) (let - ((X18 Int (ite (= X17 7) 2 X17))) + ((X18 (ite (= X17 7) 2 X17))) (let - ((X19 Int (ite (and (>= X8 2) (<= X8 8)) X18 X17))) + ((X19 (ite (and (>= X8 2) (<= X8 8)) X18 X17))) (let - ((X20 Int (ite (= X19 8) 2 X19))) + ((X20 (ite (= X19 8) 2 X19))) (let - ((X21 Int (ite (and (>= X8 2) (<= X8 8)) X20 X19))) + ((X21 (ite (and (>= X8 2) (<= X8 8)) X20 X19))) (let - ((X22 Int (ite (and (>= X8 2) (<= X8 8)) 0 X21))) + ((X22 (ite (and (>= X8 2) (<= X8 8)) 0 X21))) (let - ((X23 Int (ite X9 X22 X8))) + ((X23 (ite X9 X22 X8))) (let - ((X24 Int (ite (not (= X23 1)) 1 X23))) + ((X24 (ite (not (= X23 1)) 1 X23))) (let - ((X25 Int (ite X9 X24 X23))) + ((X25 (ite X9 X24 X23))) (let ((X26 - Bool (and + (and (= X25 1) (and top.usr.onOff (not X9))))) (let - ((X27 Int (ite (= X25 1) 0 X25))) + ((X27 (ite (= X25 1) 0 X25))) (let - ((X28 Int (ite X26 X27 X25))) + ((X28 (ite X26 X27 X25))) (let ((X29 - Int (ite + (ite (not (and (>= X28 2) (<= X28 8))) 2 X28))) (let ((X30 - Bool (and + (and (not (and (>= X28 2) (<= X28 8))) (and (>= X29 2) (<= X29 8))))) (let - ((X31 Int (ite (not (= X29 7)) 7 X29))) + ((X31 (ite (not (= X29 7)) 7 X29))) (let - ((X32 Int (ite X30 X31 X29))) + ((X32 (ite X30 X31 X29))) (let - ((X33 Int (ite X26 X32 X28))) + ((X33 (ite X26 X32 X28))) (let ((X34 - Bool (and + (and (and (>= X33 3) (<= X33 6)) (not X3)))) (let - ((X35 Int (ite (= X33 4) 3 X33))) + ((X35 (ite (= X33 4) 3 X33))) (let ((X36 - Int (ite + (ite (and (>= X33 3) (<= X33 6)) X35 X33))) (let - ((X37 Int (ite (= X36 5) 3 X36))) + ((X37 (ite (= X36 5) 3 X36))) (let ((X38 - Int (ite + (ite (and (>= X33 3) (<= X33 6)) X37 X36))) (let - ((X39 Int (ite (= X38 6) 3 X38))) + ((X39 (ite (= X38 6) 3 X38))) (let ((X40 - Int (ite + (ite (and (>= X33 3) (<= X33 6)) @@ -1813,25 +1685,25 @@ X38))) (let ((X41 - Int (ite + (ite (and (>= X33 3) (<= X33 6)) 2 X40))) (let - ((X42 Int (ite X34 X41 X33))) + ((X42 (ite X34 X41 X33))) (let ((X43 - Int (ite + (ite (not (= X42 8)) 8 X42))) (let - ((X44 Int (ite X34 X43 X42))) + ((X44 (ite X34 X43 X42))) (let ((X45 - Bool (and + (and (= X44 8) (and (and @@ -1852,13 +1724,13 @@ (not X34))))) (let ((X46 - Int (ite (= X44 8) 2 X44))) + (ite (= X44 8) 2 X44))) (let ((X47 - Int (ite X45 X46 X44))) + (ite X45 X46 X44))) (let ((X48 - Int (ite + (ite (not (and (>= X47 3) @@ -1867,7 +1739,7 @@ X47))) (let ((X49 - Bool (and + (and (not (and (>= X47 3) @@ -1877,28 +1749,28 @@ (<= X48 6))))) (let ((X50 - Int (ite + (ite (not (= X48 4)) 4 X48))) (let ((X51 - Int (ite + (ite X49 X50 X48))) (let ((X52 - Int (ite + (ite X45 X51 X47))) (let ((X53 - Bool (or X45 X34))) + (or X45 X34))) (let ((X54 - Bool (and + (and (= X52 8) (and (and @@ -1919,19 +1791,19 @@ (not X53))))) (let ((X55 - Int (ite + (ite (= X52 8) 2 X52))) (let ((X56 - Int (ite + (ite X54 X55 X52))) (let ((X57 - Int (ite + (ite (not (and (>= @@ -1944,7 +1816,6 @@ X56))) (let ((X58 - Bool (and (not (and @@ -1955,7 +1826,6 @@ (<= X57 6))))) (let ((X59 - Int (ite (not (= X57 4)) @@ -1963,27 +1833,23 @@ X57))) (let ((X60 - Int (ite X58 X59 X57))) (let ((X61 - Int (ite X54 X60 X56))) (let ((X62 - Bool (or X54 X53))) (let ((X63 - Bool (and (= X61 7) (and @@ -2005,21 +1871,18 @@ (not X62))))) (let ((X64 - Int (ite (= X61 7) 2 X61))) (let ((X65 - Int (ite X63 X64 X61))) (let ((X66 - Int (ite (not (and @@ -2033,7 +1896,6 @@ X65))) (let ((X67 - Bool (and (not (and @@ -2052,7 +1914,6 @@ 6))))) (let ((X68 - Int (ite (not (= X66 4)) @@ -2060,7 +1921,6 @@ X66))) (let ((X69 - Int (ite X67 X68 @@ -2075,23 +1935,20 @@ (= X69 6)))) (let ((X70 - Int 0)) + 0)) (let ((X71 - Int (+ X70 1))) (let ((X72 - Int (ite top.usr.decelSet X71 0))) (let ((X73 - Int (ite (>= 0 @@ -2109,29 +1966,25 @@ 20)) (let ((X74 - Bool (= top.impl.usr.zz176 20))) (let ((X75 - Int 0)) + 0)) (let ((X76 - Int (+ X75 1))) (let ((X77 - Int (ite top.usr.accelResume X76 0))) (let ((X78 - Int (ite (>= 0 @@ -2149,7 +2002,6 @@ 20)) (let ((X79 - Bool (= top.impl.usr.zz170 20))) @@ -2159,7 +2011,6 @@ true) (let ((X80 - Int (ite (not (= X8 1)) @@ -2167,26 +2018,22 @@ X8))) (let ((X81 - Bool (or X26 X9))) (let ((X82 - Int (ite X63 X69 X65))) (let ((X83 - Bool (or X63 X62))) (let ((X84 - Bool (and (= X82 4) (not @@ -2198,21 +2045,18 @@ 0))))) (let ((X85 - Int (ite (= X82 4) 3 X82))) (let ((X86 - Int (ite X84 X85 X82))) (let ((X87 - Int (ite (not (= X86 4)) @@ -2220,14 +2064,12 @@ X86))) (let ((X88 - Int (ite X84 X87 X86))) (let ((X89 - Bool (and (= X88 4) (and @@ -2241,21 +2083,18 @@ (not X84))))) (let ((X90 - Int (ite (= X88 4) 3 X88))) (let ((X91 - Int (ite X89 X90 X88))) (let ((X92 - Int (ite (not (= X91 5)) @@ -2263,20 +2102,17 @@ X91))) (let ((X93 - Int (ite X89 X92 X91))) (let ((X94 - Bool (or X89 X84))) (let ((X95 - Bool (and (= X93 4) (and @@ -2290,21 +2126,18 @@ (not X94))))) (let ((X96 - Int (ite (= X93 4) 3 X93))) (let ((X97 - Int (ite X95 X96 X93))) (let ((X98 - Int (ite (not (= X97 6)) @@ -2312,20 +2145,17 @@ X97))) (let ((X99 - Int (ite X95 X98 X97))) (let ((X100 - Bool (or X95 X94))) (let ((X101 - Bool (and (= X99 6) (and @@ -2341,21 +2171,18 @@ X100))))) (let ((X102 - Int (ite (= X99 6) 3 X99))) (let ((X103 - Int (ite X101 X102 X99))) (let ((X104 - Int (ite (not (= @@ -2365,20 +2192,17 @@ X103))) (let ((X105 - Int (ite X101 X104 X103))) (let ((X106 - Bool (or X101 X100))) (let ((X107 - Bool (and (= X105 @@ -2396,7 +2220,6 @@ X106))))) (let ((X108 - Int (ite (= X105 @@ -2405,14 +2228,12 @@ X105))) (let ((X109 - Int (ite X107 X108 X105))) (let ((X110 - Int (ite (not (= @@ -2422,14 +2243,12 @@ X109))) (let ((X111 - Int (ite X107 X110 X109))) (let ((X112 - Int (ite (and (not X83) @@ -2444,7 +2263,6 @@ X82))) (let ((X113 - Int (ite (and (not X81) @@ -2463,7 +2281,6 @@ true) (let ((X114 - Int (ite top.impl.usr.SP3c (ite @@ -2522,116 +2339,116 @@ ) Bool (let - ((X1 Bool (>= top.usr.carSpeed! 15.0))) + ((X1 (>= top.usr.carSpeed! 15.0))) (let - ((X2 Bool (= top.usr.carGear! 3))) + ((X2 (= top.usr.carGear! 3))) (let ((X3 - Bool (and + (and (and (and (and (not top.usr.cancel!) (not top.usr.brakePedal!)) X2) X1) top.usr.validInputs!))) (let - ((X4 Bool top.impl.usr.zz183)) + ((X4 top.impl.usr.zz183)) (and (= top.impl.usr.zz183! top.usr.decelSet!) (let - ((X5 Bool (and (not X4) top.impl.usr.zz183!))) + ((X5 (and (not X4) top.impl.usr.zz183!))) (let - ((X6 Bool top.impl.usr.zz178)) + ((X6 top.impl.usr.zz178)) (and (= top.impl.usr.zz178! top.usr.accelResume!) (let - ((X7 Bool (and (not X6) top.impl.usr.zz178!))) + ((X7 (and (not X6) top.impl.usr.zz178!))) (let - ((X8 Int top.impl.usr.zz161)) + ((X8 top.impl.usr.zz161)) (let - ((X9 Bool (and (and (>= X8 2) (<= X8 8)) (not top.usr.onOff!)))) + ((X9 (and (and (>= X8 2) (<= X8 8)) (not top.usr.onOff!)))) (let - ((X10 Int (ite (= X8 4) 3 X8))) + ((X10 (ite (= X8 4) 3 X8))) (let - ((X11 Int (ite (and (>= X8 3) (<= X8 6)) X10 X8))) + ((X11 (ite (and (>= X8 3) (<= X8 6)) X10 X8))) (let - ((X12 Int (ite (= X11 5) 3 X11))) + ((X12 (ite (= X11 5) 3 X11))) (let - ((X13 Int (ite (and (>= X8 3) (<= X8 6)) X12 X11))) + ((X13 (ite (and (>= X8 3) (<= X8 6)) X12 X11))) (let - ((X14 Int (ite (= X13 6) 3 X13))) + ((X14 (ite (= X13 6) 3 X13))) (let - ((X15 Int (ite (and (>= X8 3) (<= X8 6)) X14 X13))) + ((X15 (ite (and (>= X8 3) (<= X8 6)) X14 X13))) (let - ((X16 Int (ite (and (>= X8 3) (<= X8 6)) 2 X15))) + ((X16 (ite (and (>= X8 3) (<= X8 6)) 2 X15))) (let - ((X17 Int (ite (and (>= X8 2) (<= X8 8)) X16 X8))) + ((X17 (ite (and (>= X8 2) (<= X8 8)) X16 X8))) (let - ((X18 Int (ite (= X17 7) 2 X17))) + ((X18 (ite (= X17 7) 2 X17))) (let - ((X19 Int (ite (and (>= X8 2) (<= X8 8)) X18 X17))) + ((X19 (ite (and (>= X8 2) (<= X8 8)) X18 X17))) (let - ((X20 Int (ite (= X19 8) 2 X19))) + ((X20 (ite (= X19 8) 2 X19))) (let - ((X21 Int (ite (and (>= X8 2) (<= X8 8)) X20 X19))) + ((X21 (ite (and (>= X8 2) (<= X8 8)) X20 X19))) (let - ((X22 Int (ite (and (>= X8 2) (<= X8 8)) 0 X21))) + ((X22 (ite (and (>= X8 2) (<= X8 8)) 0 X21))) (let - ((X23 Int (ite X9 X22 X8))) + ((X23 (ite X9 X22 X8))) (let - ((X24 Int (ite (not (= X23 1)) 1 X23))) + ((X24 (ite (not (= X23 1)) 1 X23))) (let - ((X25 Int (ite X9 X24 X23))) + ((X25 (ite X9 X24 X23))) (let ((X26 - Bool (and + (and (= X25 1) (and top.usr.onOff! (not X9))))) (let - ((X27 Int (ite (= X25 1) 0 X25))) + ((X27 (ite (= X25 1) 0 X25))) (let - ((X28 Int (ite X26 X27 X25))) + ((X28 (ite X26 X27 X25))) (let ((X29 - Int (ite + (ite (not (and (>= X28 2) (<= X28 8))) 2 X28))) (let ((X30 - Bool (and + (and (not (and (>= X28 2) (<= X28 8))) (and (>= X29 2) (<= X29 8))))) (let - ((X31 Int (ite (not (= X29 7)) 7 X29))) + ((X31 (ite (not (= X29 7)) 7 X29))) (let - ((X32 Int (ite X30 X31 X29))) + ((X32 (ite X30 X31 X29))) (let - ((X33 Int (ite X26 X32 X28))) + ((X33 (ite X26 X32 X28))) (let ((X34 - Bool (and + (and (and (>= X33 3) (<= X33 6)) (not X3)))) (let - ((X35 Int (ite (= X33 4) 3 X33))) + ((X35 (ite (= X33 4) 3 X33))) (let ((X36 - Int (ite + (ite (and (>= X33 3) (<= X33 6)) X35 X33))) (let - ((X37 Int (ite (= X36 5) 3 X36))) + ((X37 (ite (= X36 5) 3 X36))) (let ((X38 - Int (ite + (ite (and (>= X33 3) (<= X33 6)) X37 X36))) (let - ((X39 Int (ite (= X38 6) 3 X38))) + ((X39 (ite (= X38 6) 3 X38))) (let ((X40 - Int (ite + (ite (and (>= X33 3) (<= X33 6)) @@ -2639,25 +2456,25 @@ X38))) (let ((X41 - Int (ite + (ite (and (>= X33 3) (<= X33 6)) 2 X40))) (let - ((X42 Int (ite X34 X41 X33))) + ((X42 (ite X34 X41 X33))) (let ((X43 - Int (ite + (ite (not (= X42 8)) 8 X42))) (let - ((X44 Int (ite X34 X43 X42))) + ((X44 (ite X34 X43 X42))) (let ((X45 - Bool (and + (and (= X44 8) (and (and @@ -2678,13 +2495,13 @@ (not X34))))) (let ((X46 - Int (ite (= X44 8) 2 X44))) + (ite (= X44 8) 2 X44))) (let ((X47 - Int (ite X45 X46 X44))) + (ite X45 X46 X44))) (let ((X48 - Int (ite + (ite (not (and (>= X47 3) @@ -2693,7 +2510,7 @@ X47))) (let ((X49 - Bool (and + (and (not (and (>= X47 3) @@ -2703,28 +2520,28 @@ (<= X48 6))))) (let ((X50 - Int (ite + (ite (not (= X48 4)) 4 X48))) (let ((X51 - Int (ite + (ite X49 X50 X48))) (let ((X52 - Int (ite + (ite X45 X51 X47))) (let ((X53 - Bool (or X45 X34))) + (or X45 X34))) (let ((X54 - Bool (and + (and (= X52 8) (and (and @@ -2745,19 +2562,19 @@ (not X53))))) (let ((X55 - Int (ite + (ite (= X52 8) 2 X52))) (let ((X56 - Int (ite + (ite X54 X55 X52))) (let ((X57 - Int (ite + (ite (not (and (>= @@ -2770,7 +2587,6 @@ X56))) (let ((X58 - Bool (and (not (and @@ -2781,7 +2597,6 @@ (<= X57 6))))) (let ((X59 - Int (ite (not (= X57 4)) @@ -2789,27 +2604,23 @@ X57))) (let ((X60 - Int (ite X58 X59 X57))) (let ((X61 - Int (ite X54 X60 X56))) (let ((X62 - Bool (or X54 X53))) (let ((X63 - Bool (and (= X61 7) (and @@ -2831,21 +2642,18 @@ (not X62))))) (let ((X64 - Int (ite (= X61 7) 2 X61))) (let ((X65 - Int (ite X63 X64 X61))) (let ((X66 - Int (ite (not (and @@ -2859,7 +2667,6 @@ X65))) (let ((X67 - Bool (and (not (and @@ -2878,7 +2685,6 @@ 6))))) (let ((X68 - Int (ite (not (= X66 4)) @@ -2886,7 +2692,6 @@ X66))) (let ((X69 - Int (ite X67 X68 @@ -2901,23 +2706,20 @@ (= X69 6)))) (let ((X70 - Int top.impl.usr.zz176)) + top.impl.usr.zz176)) (let ((X71 - Int (+ X70 1))) (let ((X72 - Int (ite top.usr.decelSet! X71 0))) (let ((X73 - Int (ite (>= 0 @@ -2935,29 +2737,25 @@ 20)) (let ((X74 - Bool (= top.impl.usr.zz176! 20))) (let ((X75 - Int top.impl.usr.zz170)) + top.impl.usr.zz170)) (let ((X76 - Int (+ X75 1))) (let ((X77 - Int (ite top.usr.accelResume! X76 0))) (let ((X78 - Int (ite (>= 0 @@ -2975,7 +2773,6 @@ 20)) (let ((X79 - Bool (= top.impl.usr.zz170! 20))) @@ -2988,7 +2785,6 @@ top.impl.usr.zz155)) (let ((X80 - Int (ite (not (= X8 1)) @@ -2996,26 +2792,22 @@ X8))) (let ((X81 - Bool (or X26 X9))) (let ((X82 - Int (ite X63 X69 X65))) (let ((X83 - Bool (or X63 X62))) (let ((X84 - Bool (and (= X82 4) (not @@ -3027,21 +2819,18 @@ 0))))) (let ((X85 - Int (ite (= X82 4) 3 X82))) (let ((X86 - Int (ite X84 X85 X82))) (let ((X87 - Int (ite (not (= X86 4)) @@ -3049,14 +2838,12 @@ X86))) (let ((X88 - Int (ite X84 X87 X86))) (let ((X89 - Bool (and (= X88 4) (and @@ -3070,21 +2857,18 @@ (not X84))))) (let ((X90 - Int (ite (= X88 4) 3 X88))) (let ((X91 - Int (ite X89 X90 X88))) (let ((X92 - Int (ite (not (= X91 5)) @@ -3092,20 +2876,17 @@ X91))) (let ((X93 - Int (ite X89 X92 X91))) (let ((X94 - Bool (or X89 X84))) (let ((X95 - Bool (and (= X93 4) (and @@ -3119,21 +2900,18 @@ (not X94))))) (let ((X96 - Int (ite (= X93 4) 3 X93))) (let ((X97 - Int (ite X95 X96 X93))) (let ((X98 - Int (ite (not (= X97 6)) @@ -3141,20 +2919,17 @@ X97))) (let ((X99 - Int (ite X95 X98 X97))) (let ((X100 - Bool (or X95 X94))) (let ((X101 - Bool (and (= X99 6) (and @@ -3170,21 +2945,18 @@ X100))))) (let ((X102 - Int (ite (= X99 6) 3 X99))) (let ((X103 - Int (ite X101 X102 X99))) (let ((X104 - Int (ite (not (= @@ -3194,20 +2966,17 @@ X103))) (let ((X105 - Int (ite X101 X104 X103))) (let ((X106 - Bool (or X101 X100))) (let ((X107 - Bool (and (= X105 @@ -3225,7 +2994,6 @@ X106))))) (let ((X108 - Int (ite (= X105 @@ -3234,14 +3002,12 @@ X105))) (let ((X109 - Int (ite X107 X108 X105))) (let ((X110 - Int (ite (not (= @@ -3251,14 +3017,12 @@ X109))) (let ((X111 - Int (ite X107 X110 X109))) (let ((X112 - Int (ite (and (not X83) @@ -3273,7 +3037,6 @@ X82))) (let ((X113 - Int (ite (and (not X81) @@ -3292,7 +3055,6 @@ true) (let ((X114 - Int (ite top.impl.usr.SP3c! (ite diff --git a/lib-nonconforming/Inv_Track/andrew_lustre/ccp02.lus.sl b/lib/Inv_Track/andrew_lustre/ccp02.lus.sl similarity index 85% rename from lib-nonconforming/Inv_Track/andrew_lustre/ccp02.lus.sl rename to lib/Inv_Track/andrew_lustre/ccp02.lus.sl index dc6cf6ec..752ba08a 100644 --- a/lib-nonconforming/Inv_Track/andrew_lustre/ccp02.lus.sl +++ b/lib/Inv_Track/andrew_lustre/ccp02.lus.sl @@ -22,12 +22,12 @@ ) Bool (let - ((X1 Bool (>= top.usr.carSpeed_a_0 15.0))) + ((X1 (>= top.usr.carSpeed_a_0 15.0))) (let - ((X2 Bool (= top.usr.carGear_a_0 3))) + ((X2 (= top.usr.carGear_a_0 3))) (let ((X3 - Bool (and + (and (and (and (and (not top.usr.cancel_a_0) (not top.usr.brakePedal_a_0)) @@ -35,105 +35,105 @@ X1) top.usr.validInputs_a_0))) (let - ((X4 Bool true)) + ((X4 true)) (and (= top.impl.usr.zz183_a_0 top.usr.decelSet_a_0) (let - ((X5 Bool (and (not X4) top.impl.usr.zz183_a_0))) + ((X5 (and (not X4) top.impl.usr.zz183_a_0))) (let - ((X6 Bool true)) + ((X6 true)) (and (= top.impl.usr.zz178_a_0 top.usr.accelResume_a_0) (let - ((X7 Bool (and (not X6) top.impl.usr.zz178_a_0))) + ((X7 (and (not X6) top.impl.usr.zz178_a_0))) (let - ((X8 Int 0)) + ((X8 0)) (let - ((X9 Bool (and (and (>= X8 2) (<= X8 8)) (not top.usr.onOff_a_0)))) + ((X9 (and (and (>= X8 2) (<= X8 8)) (not top.usr.onOff_a_0)))) (let - ((X10 Int (ite (= X8 4) 3 X8))) + ((X10 (ite (= X8 4) 3 X8))) (let - ((X11 Int (ite (and (>= X8 3) (<= X8 6)) X10 X8))) + ((X11 (ite (and (>= X8 3) (<= X8 6)) X10 X8))) (let - ((X12 Int (ite (= X11 5) 3 X11))) + ((X12 (ite (= X11 5) 3 X11))) (let - ((X13 Int (ite (and (>= X8 3) (<= X8 6)) X12 X11))) + ((X13 (ite (and (>= X8 3) (<= X8 6)) X12 X11))) (let - ((X14 Int (ite (= X13 6) 3 X13))) + ((X14 (ite (= X13 6) 3 X13))) (let - ((X15 Int (ite (and (>= X8 3) (<= X8 6)) X14 X13))) + ((X15 (ite (and (>= X8 3) (<= X8 6)) X14 X13))) (let - ((X16 Int (ite (and (>= X8 3) (<= X8 6)) 2 X15))) + ((X16 (ite (and (>= X8 3) (<= X8 6)) 2 X15))) (let - ((X17 Int (ite (and (>= X8 2) (<= X8 8)) X16 X8))) + ((X17 (ite (and (>= X8 2) (<= X8 8)) X16 X8))) (let - ((X18 Int (ite (= X17 7) 2 X17))) + ((X18 (ite (= X17 7) 2 X17))) (let - ((X19 Int (ite (and (>= X8 2) (<= X8 8)) X18 X17))) + ((X19 (ite (and (>= X8 2) (<= X8 8)) X18 X17))) (let - ((X20 Int (ite (= X19 8) 2 X19))) + ((X20 (ite (= X19 8) 2 X19))) (let - ((X21 Int (ite (and (>= X8 2) (<= X8 8)) X20 X19))) + ((X21 (ite (and (>= X8 2) (<= X8 8)) X20 X19))) (let - ((X22 Int (ite (and (>= X8 2) (<= X8 8)) 0 X21))) + ((X22 (ite (and (>= X8 2) (<= X8 8)) 0 X21))) (let - ((X23 Int (ite X9 X22 X8))) + ((X23 (ite X9 X22 X8))) (let - ((X24 Int (ite (not (= X23 1)) 1 X23))) + ((X24 (ite (not (= X23 1)) 1 X23))) (let - ((X25 Int (ite X9 X24 X23))) + ((X25 (ite X9 X24 X23))) (let ((X26 - Bool (and + (and (= X25 1) (and top.usr.onOff_a_0 (not X9))))) (let - ((X27 Int (ite (= X25 1) 0 X25))) + ((X27 (ite (= X25 1) 0 X25))) (let - ((X28 Int (ite X26 X27 X25))) + ((X28 (ite X26 X27 X25))) (let ((X29 - Int (ite + (ite (not (and (>= X28 2) (<= X28 8))) 2 X28))) (let ((X30 - Bool (and + (and (not (and (>= X28 2) (<= X28 8))) (and (>= X29 2) (<= X29 8))))) (let - ((X31 Int (ite (not (= X29 7)) 7 X29))) + ((X31 (ite (not (= X29 7)) 7 X29))) (let - ((X32 Int (ite X30 X31 X29))) + ((X32 (ite X30 X31 X29))) (let - ((X33 Int (ite X26 X32 X28))) + ((X33 (ite X26 X32 X28))) (let ((X34 - Bool (and + (and (and (>= X33 3) (<= X33 6)) (not X3)))) (let - ((X35 Int (ite (= X33 4) 3 X33))) + ((X35 (ite (= X33 4) 3 X33))) (let ((X36 - Int (ite + (ite (and (>= X33 3) (<= X33 6)) X35 X33))) (let - ((X37 Int (ite (= X36 5) 3 X36))) + ((X37 (ite (= X36 5) 3 X36))) (let ((X38 - Int (ite + (ite (and (>= X33 3) (<= X33 6)) X37 X36))) (let - ((X39 Int (ite (= X38 6) 3 X38))) + ((X39 (ite (= X38 6) 3 X38))) (let ((X40 - Int (ite + (ite (and (>= X33 3) (<= X33 6)) @@ -141,25 +141,25 @@ X38))) (let ((X41 - Int (ite + (ite (and (>= X33 3) (<= X33 6)) 2 X40))) (let - ((X42 Int (ite X34 X41 X33))) + ((X42 (ite X34 X41 X33))) (let ((X43 - Int (ite + (ite (not (= X42 8)) 8 X42))) (let - ((X44 Int (ite X34 X43 X42))) + ((X44 (ite X34 X43 X42))) (let ((X45 - Bool (and + (and (= X44 8) (and (and @@ -180,13 +180,13 @@ (not X34))))) (let ((X46 - Int (ite (= X44 8) 2 X44))) + (ite (= X44 8) 2 X44))) (let ((X47 - Int (ite X45 X46 X44))) + (ite X45 X46 X44))) (let ((X48 - Int (ite + (ite (not (and (>= X47 3) @@ -195,7 +195,7 @@ X47))) (let ((X49 - Bool (and + (and (not (and (>= X47 3) @@ -205,28 +205,28 @@ (<= X48 6))))) (let ((X50 - Int (ite + (ite (not (= X48 4)) 4 X48))) (let ((X51 - Int (ite + (ite X49 X50 X48))) (let ((X52 - Int (ite + (ite X45 X51 X47))) (let ((X53 - Bool (or X45 X34))) + (or X45 X34))) (let ((X54 - Bool (and + (and (= X52 8) (and (and @@ -247,19 +247,19 @@ (not X53))))) (let ((X55 - Int (ite + (ite (= X52 8) 2 X52))) (let ((X56 - Int (ite + (ite X54 X55 X52))) (let ((X57 - Int (ite + (ite (not (and (>= @@ -272,7 +272,6 @@ X56))) (let ((X58 - Bool (and (not (and @@ -283,7 +282,6 @@ (<= X57 6))))) (let ((X59 - Int (ite (not (= X57 4)) @@ -291,7 +289,6 @@ X57))) (let ((X60 - Int (ite X58 X59 @@ -306,23 +303,20 @@ (= X60 6)))) (let ((X61 - Int 0)) + 0)) (let ((X62 - Int (+ X61 1))) (let ((X63 - Int (ite top.usr.decelSet_a_0 X62 0))) (let ((X64 - Int (ite (>= 0 @@ -340,29 +334,25 @@ 20)) (let ((X65 - Bool (= top.impl.usr.zz176_a_0 20))) (let ((X66 - Int 0)) + 0)) (let ((X67 - Int (+ X66 1))) (let ((X68 - Int (ite top.usr.accelResume_a_0 X67 0))) (let ((X69 - Int (ite (>= 0 @@ -380,7 +370,6 @@ 20)) (let ((X70 - Bool (= top.impl.usr.zz170_a_0 20))) @@ -390,7 +379,6 @@ true) (let ((X71 - Int (ite (not (= X8 1)) @@ -398,26 +386,22 @@ X8))) (let ((X72 - Bool (or X26 X9))) (let ((X73 - Int (ite X54 X60 X56))) (let ((X74 - Bool (or X54 X53))) (let ((X75 - Bool (and (= X73 7) (and @@ -439,21 +423,18 @@ (not X74))))) (let ((X76 - Int (ite (= X73 7) 2 X73))) (let ((X77 - Int (ite X75 X76 X73))) (let ((X78 - Int (ite (not (and @@ -467,7 +448,6 @@ X77))) (let ((X79 - Bool (and (not (and @@ -486,7 +466,6 @@ 6))))) (let ((X80 - Int (ite (not (= X78 4)) @@ -494,27 +473,23 @@ X78))) (let ((X81 - Int (ite X79 X80 X78))) (let ((X82 - Int (ite X75 X81 X77))) (let ((X83 - Bool (or X75 X74))) (let ((X84 - Bool (and (= X82 4) (not @@ -526,21 +501,18 @@ 0))))) (let ((X85 - Int (ite (= X82 4) 3 X82))) (let ((X86 - Int (ite X84 X85 X82))) (let ((X87 - Int (ite (not (= X86 4)) @@ -548,14 +520,12 @@ X86))) (let ((X88 - Int (ite X84 X87 X86))) (let ((X89 - Bool (and (= X88 4) (and @@ -569,21 +539,18 @@ (not X84))))) (let ((X90 - Int (ite (= X88 4) 3 X88))) (let ((X91 - Int (ite X89 X90 X88))) (let ((X92 - Int (ite (not (= X91 5)) @@ -591,20 +558,17 @@ X91))) (let ((X93 - Int (ite X89 X92 X91))) (let ((X94 - Bool (or X89 X84))) (let ((X95 - Bool (and (= X93 4) (and @@ -618,21 +582,18 @@ (not X94))))) (let ((X96 - Int (ite (= X93 4) 3 X93))) (let ((X97 - Int (ite X95 X96 X93))) (let ((X98 - Int (ite (not (= X97 6)) @@ -640,20 +601,17 @@ X97))) (let ((X99 - Int (ite X95 X98 X97))) (let ((X100 - Bool (or X95 X94))) (let ((X101 - Bool (and (= X99 6) (and @@ -669,21 +627,18 @@ X100))))) (let ((X102 - Int (ite (= X99 6) 3 X99))) (let ((X103 - Int (ite X101 X102 X99))) (let ((X104 - Int (ite (not (= @@ -693,20 +648,17 @@ X103))) (let ((X105 - Int (ite X101 X104 X103))) (let ((X106 - Bool (or X101 X100))) (let ((X107 - Bool (and (= X105 @@ -724,7 +676,6 @@ X106))))) (let ((X108 - Int (ite (= X105 @@ -733,14 +684,12 @@ X105))) (let ((X109 - Int (ite X107 X108 X105))) (let ((X110 - Int (ite (not (= @@ -750,14 +699,12 @@ X109))) (let ((X111 - Int (ite X107 X110 X109))) (let ((X112 - Int (ite (and (not X83) @@ -772,7 +719,6 @@ X82))) (let ((X113 - Int (ite (and (not X72) @@ -791,7 +737,6 @@ true) (let ((X114 - Int (ite top.impl.usr.SP3c_a_0 (ite @@ -845,12 +790,12 @@ ) Bool (let - ((X1 Bool (>= top.usr.carSpeed_a_1 15.0))) + ((X1 (>= top.usr.carSpeed_a_1 15.0))) (let - ((X2 Bool (= top.usr.carGear_a_1 3))) + ((X2 (= top.usr.carGear_a_1 3))) (let ((X3 - Bool (and + (and (and (and (and (not top.usr.cancel_a_1) (not top.usr.brakePedal_a_1)) @@ -858,105 +803,105 @@ X1) top.usr.validInputs_a_1))) (let - ((X4 Bool top.impl.usr.zz183_a_0)) + ((X4 top.impl.usr.zz183_a_0)) (and (= top.impl.usr.zz183_a_1 top.usr.decelSet_a_1) (let - ((X5 Bool (and (not X4) top.impl.usr.zz183_a_1))) + ((X5 (and (not X4) top.impl.usr.zz183_a_1))) (let - ((X6 Bool top.impl.usr.zz178_a_0)) + ((X6 top.impl.usr.zz178_a_0)) (and (= top.impl.usr.zz178_a_1 top.usr.accelResume_a_1) (let - ((X7 Bool (and (not X6) top.impl.usr.zz178_a_1))) + ((X7 (and (not X6) top.impl.usr.zz178_a_1))) (let - ((X8 Int top.impl.usr.zz161_a_0)) + ((X8 top.impl.usr.zz161_a_0)) (let - ((X9 Bool (and (and (>= X8 2) (<= X8 8)) (not top.usr.onOff_a_1)))) + ((X9 (and (and (>= X8 2) (<= X8 8)) (not top.usr.onOff_a_1)))) (let - ((X10 Int (ite (= X8 4) 3 X8))) + ((X10 (ite (= X8 4) 3 X8))) (let - ((X11 Int (ite (and (>= X8 3) (<= X8 6)) X10 X8))) + ((X11 (ite (and (>= X8 3) (<= X8 6)) X10 X8))) (let - ((X12 Int (ite (= X11 5) 3 X11))) + ((X12 (ite (= X11 5) 3 X11))) (let - ((X13 Int (ite (and (>= X8 3) (<= X8 6)) X12 X11))) + ((X13 (ite (and (>= X8 3) (<= X8 6)) X12 X11))) (let - ((X14 Int (ite (= X13 6) 3 X13))) + ((X14 (ite (= X13 6) 3 X13))) (let - ((X15 Int (ite (and (>= X8 3) (<= X8 6)) X14 X13))) + ((X15 (ite (and (>= X8 3) (<= X8 6)) X14 X13))) (let - ((X16 Int (ite (and (>= X8 3) (<= X8 6)) 2 X15))) + ((X16 (ite (and (>= X8 3) (<= X8 6)) 2 X15))) (let - ((X17 Int (ite (and (>= X8 2) (<= X8 8)) X16 X8))) + ((X17 (ite (and (>= X8 2) (<= X8 8)) X16 X8))) (let - ((X18 Int (ite (= X17 7) 2 X17))) + ((X18 (ite (= X17 7) 2 X17))) (let - ((X19 Int (ite (and (>= X8 2) (<= X8 8)) X18 X17))) + ((X19 (ite (and (>= X8 2) (<= X8 8)) X18 X17))) (let - ((X20 Int (ite (= X19 8) 2 X19))) + ((X20 (ite (= X19 8) 2 X19))) (let - ((X21 Int (ite (and (>= X8 2) (<= X8 8)) X20 X19))) + ((X21 (ite (and (>= X8 2) (<= X8 8)) X20 X19))) (let - ((X22 Int (ite (and (>= X8 2) (<= X8 8)) 0 X21))) + ((X22 (ite (and (>= X8 2) (<= X8 8)) 0 X21))) (let - ((X23 Int (ite X9 X22 X8))) + ((X23 (ite X9 X22 X8))) (let - ((X24 Int (ite (not (= X23 1)) 1 X23))) + ((X24 (ite (not (= X23 1)) 1 X23))) (let - ((X25 Int (ite X9 X24 X23))) + ((X25 (ite X9 X24 X23))) (let ((X26 - Bool (and + (and (= X25 1) (and top.usr.onOff_a_1 (not X9))))) (let - ((X27 Int (ite (= X25 1) 0 X25))) + ((X27 (ite (= X25 1) 0 X25))) (let - ((X28 Int (ite X26 X27 X25))) + ((X28 (ite X26 X27 X25))) (let ((X29 - Int (ite + (ite (not (and (>= X28 2) (<= X28 8))) 2 X28))) (let ((X30 - Bool (and + (and (not (and (>= X28 2) (<= X28 8))) (and (>= X29 2) (<= X29 8))))) (let - ((X31 Int (ite (not (= X29 7)) 7 X29))) + ((X31 (ite (not (= X29 7)) 7 X29))) (let - ((X32 Int (ite X30 X31 X29))) + ((X32 (ite X30 X31 X29))) (let - ((X33 Int (ite X26 X32 X28))) + ((X33 (ite X26 X32 X28))) (let ((X34 - Bool (and + (and (and (>= X33 3) (<= X33 6)) (not X3)))) (let - ((X35 Int (ite (= X33 4) 3 X33))) + ((X35 (ite (= X33 4) 3 X33))) (let ((X36 - Int (ite + (ite (and (>= X33 3) (<= X33 6)) X35 X33))) (let - ((X37 Int (ite (= X36 5) 3 X36))) + ((X37 (ite (= X36 5) 3 X36))) (let ((X38 - Int (ite + (ite (and (>= X33 3) (<= X33 6)) X37 X36))) (let - ((X39 Int (ite (= X38 6) 3 X38))) + ((X39 (ite (= X38 6) 3 X38))) (let ((X40 - Int (ite + (ite (and (>= X33 3) (<= X33 6)) @@ -964,25 +909,25 @@ X38))) (let ((X41 - Int (ite + (ite (and (>= X33 3) (<= X33 6)) 2 X40))) (let - ((X42 Int (ite X34 X41 X33))) + ((X42 (ite X34 X41 X33))) (let ((X43 - Int (ite + (ite (not (= X42 8)) 8 X42))) (let - ((X44 Int (ite X34 X43 X42))) + ((X44 (ite X34 X43 X42))) (let ((X45 - Bool (and + (and (= X44 8) (and (and @@ -1003,13 +948,13 @@ (not X34))))) (let ((X46 - Int (ite (= X44 8) 2 X44))) + (ite (= X44 8) 2 X44))) (let ((X47 - Int (ite X45 X46 X44))) + (ite X45 X46 X44))) (let ((X48 - Int (ite + (ite (not (and (>= X47 3) @@ -1018,7 +963,7 @@ X47))) (let ((X49 - Bool (and + (and (not (and (>= X47 3) @@ -1028,28 +973,28 @@ (<= X48 6))))) (let ((X50 - Int (ite + (ite (not (= X48 4)) 4 X48))) (let ((X51 - Int (ite + (ite X49 X50 X48))) (let ((X52 - Int (ite + (ite X45 X51 X47))) (let ((X53 - Bool (or X45 X34))) + (or X45 X34))) (let ((X54 - Bool (and + (and (= X52 8) (and (and @@ -1070,19 +1015,19 @@ (not X53))))) (let ((X55 - Int (ite + (ite (= X52 8) 2 X52))) (let ((X56 - Int (ite + (ite X54 X55 X52))) (let ((X57 - Int (ite + (ite (not (and (>= @@ -1095,7 +1040,6 @@ X56))) (let ((X58 - Bool (and (not (and @@ -1106,7 +1050,6 @@ (<= X57 6))))) (let ((X59 - Int (ite (not (= X57 4)) @@ -1114,7 +1057,6 @@ X57))) (let ((X60 - Int (ite X58 X59 @@ -1129,23 +1071,20 @@ (= X60 6)))) (let ((X61 - Int top.impl.usr.zz176_a_0)) + top.impl.usr.zz176_a_0)) (let ((X62 - Int (+ X61 1))) (let ((X63 - Int (ite top.usr.decelSet_a_1 X62 0))) (let ((X64 - Int (ite (>= 0 @@ -1163,29 +1102,25 @@ 20)) (let ((X65 - Bool (= top.impl.usr.zz176_a_1 20))) (let ((X66 - Int top.impl.usr.zz170_a_0)) + top.impl.usr.zz170_a_0)) (let ((X67 - Int (+ X66 1))) (let ((X68 - Int (ite top.usr.accelResume_a_1 X67 0))) (let ((X69 - Int (ite (>= 0 @@ -1203,7 +1138,6 @@ 20)) (let ((X70 - Bool (= top.impl.usr.zz170_a_1 20))) @@ -1216,7 +1150,6 @@ top.impl.usr.zz155_a_0)) (let ((X71 - Int (ite (not (= X8 1)) @@ -1224,26 +1157,22 @@ X8))) (let ((X72 - Bool (or X26 X9))) (let ((X73 - Int (ite X54 X60 X56))) (let ((X74 - Bool (or X54 X53))) (let ((X75 - Bool (and (= X73 7) (and @@ -1265,21 +1194,18 @@ (not X74))))) (let ((X76 - Int (ite (= X73 7) 2 X73))) (let ((X77 - Int (ite X75 X76 X73))) (let ((X78 - Int (ite (not (and @@ -1293,7 +1219,6 @@ X77))) (let ((X79 - Bool (and (not (and @@ -1312,7 +1237,6 @@ 6))))) (let ((X80 - Int (ite (not (= X78 4)) @@ -1320,27 +1244,23 @@ X78))) (let ((X81 - Int (ite X79 X80 X78))) (let ((X82 - Int (ite X75 X81 X77))) (let ((X83 - Bool (or X75 X74))) (let ((X84 - Bool (and (= X82 4) (not @@ -1352,21 +1272,18 @@ 0))))) (let ((X85 - Int (ite (= X82 4) 3 X82))) (let ((X86 - Int (ite X84 X85 X82))) (let ((X87 - Int (ite (not (= X86 4)) @@ -1374,14 +1291,12 @@ X86))) (let ((X88 - Int (ite X84 X87 X86))) (let ((X89 - Bool (and (= X88 4) (and @@ -1395,21 +1310,18 @@ (not X84))))) (let ((X90 - Int (ite (= X88 4) 3 X88))) (let ((X91 - Int (ite X89 X90 X88))) (let ((X92 - Int (ite (not (= X91 5)) @@ -1417,20 +1329,17 @@ X91))) (let ((X93 - Int (ite X89 X92 X91))) (let ((X94 - Bool (or X89 X84))) (let ((X95 - Bool (and (= X93 4) (and @@ -1444,21 +1353,18 @@ (not X94))))) (let ((X96 - Int (ite (= X93 4) 3 X93))) (let ((X97 - Int (ite X95 X96 X93))) (let ((X98 - Int (ite (not (= X97 6)) @@ -1466,20 +1372,17 @@ X97))) (let ((X99 - Int (ite X95 X98 X97))) (let ((X100 - Bool (or X95 X94))) (let ((X101 - Bool (and (= X99 6) (and @@ -1495,21 +1398,18 @@ X100))))) (let ((X102 - Int (ite (= X99 6) 3 X99))) (let ((X103 - Int (ite X101 X102 X99))) (let ((X104 - Int (ite (not (= @@ -1519,20 +1419,17 @@ X103))) (let ((X105 - Int (ite X101 X104 X103))) (let ((X106 - Bool (or X101 X100))) (let ((X107 - Bool (and (= X105 @@ -1550,7 +1447,6 @@ X106))))) (let ((X108 - Int (ite (= X105 @@ -1559,14 +1455,12 @@ X105))) (let ((X109 - Int (ite X107 X108 X105))) (let ((X110 - Int (ite (not (= @@ -1576,14 +1470,12 @@ X109))) (let ((X111 - Int (ite X107 X110 X109))) (let ((X112 - Int (ite (and (not X83) @@ -1598,7 +1490,6 @@ X82))) (let ((X113 - Int (ite (and (not X72) @@ -1617,7 +1508,6 @@ true) (let ((X114 - Int (ite top.impl.usr.SP3c_a_1 (ite @@ -1656,24 +1546,6 @@ )) -(declare-primed-var top.usr.onOff Bool) -(declare-primed-var top.usr.decelSet Bool) -(declare-primed-var top.usr.accelResume Bool) -(declare-primed-var top.usr.cancel Bool) -(declare-primed-var top.usr.brakePedal Bool) -(declare-primed-var top.usr.carGear Int) -(declare-primed-var top.usr.carSpeed Real) -(declare-primed-var top.usr.validInputs Bool) -(declare-primed-var top.usr.OK Bool) -(declare-primed-var top.res.init_flag Bool) -(declare-primed-var top.impl.usr.SP3c Bool) -(declare-primed-var top.impl.usr.zz155 Bool) -(declare-primed-var top.impl.usr.zz161 Int) -(declare-primed-var top.impl.usr.zz170 Int) -(declare-primed-var top.impl.usr.zz176 Int) -(declare-primed-var top.impl.usr.zz178 Bool) -(declare-primed-var top.impl.usr.zz183 Bool) - (define-fun init ( (top.usr.onOff Bool) @@ -1696,116 +1568,116 @@ ) Bool (let - ((X1 Bool (>= top.usr.carSpeed 15.0))) + ((X1 (>= top.usr.carSpeed 15.0))) (let - ((X2 Bool (= top.usr.carGear 3))) + ((X2 (= top.usr.carGear 3))) (let ((X3 - Bool (and + (and (and (and (and (not top.usr.cancel) (not top.usr.brakePedal)) X2) X1) top.usr.validInputs))) (let - ((X4 Bool true)) + ((X4 true)) (and (= top.impl.usr.zz183 top.usr.decelSet) (let - ((X5 Bool (and (not X4) top.impl.usr.zz183))) + ((X5 (and (not X4) top.impl.usr.zz183))) (let - ((X6 Bool true)) + ((X6 true)) (and (= top.impl.usr.zz178 top.usr.accelResume) (let - ((X7 Bool (and (not X6) top.impl.usr.zz178))) + ((X7 (and (not X6) top.impl.usr.zz178))) (let - ((X8 Int 0)) + ((X8 0)) (let - ((X9 Bool (and (and (>= X8 2) (<= X8 8)) (not top.usr.onOff)))) + ((X9 (and (and (>= X8 2) (<= X8 8)) (not top.usr.onOff)))) (let - ((X10 Int (ite (= X8 4) 3 X8))) + ((X10 (ite (= X8 4) 3 X8))) (let - ((X11 Int (ite (and (>= X8 3) (<= X8 6)) X10 X8))) + ((X11 (ite (and (>= X8 3) (<= X8 6)) X10 X8))) (let - ((X12 Int (ite (= X11 5) 3 X11))) + ((X12 (ite (= X11 5) 3 X11))) (let - ((X13 Int (ite (and (>= X8 3) (<= X8 6)) X12 X11))) + ((X13 (ite (and (>= X8 3) (<= X8 6)) X12 X11))) (let - ((X14 Int (ite (= X13 6) 3 X13))) + ((X14 (ite (= X13 6) 3 X13))) (let - ((X15 Int (ite (and (>= X8 3) (<= X8 6)) X14 X13))) + ((X15 (ite (and (>= X8 3) (<= X8 6)) X14 X13))) (let - ((X16 Int (ite (and (>= X8 3) (<= X8 6)) 2 X15))) + ((X16 (ite (and (>= X8 3) (<= X8 6)) 2 X15))) (let - ((X17 Int (ite (and (>= X8 2) (<= X8 8)) X16 X8))) + ((X17 (ite (and (>= X8 2) (<= X8 8)) X16 X8))) (let - ((X18 Int (ite (= X17 7) 2 X17))) + ((X18 (ite (= X17 7) 2 X17))) (let - ((X19 Int (ite (and (>= X8 2) (<= X8 8)) X18 X17))) + ((X19 (ite (and (>= X8 2) (<= X8 8)) X18 X17))) (let - ((X20 Int (ite (= X19 8) 2 X19))) + ((X20 (ite (= X19 8) 2 X19))) (let - ((X21 Int (ite (and (>= X8 2) (<= X8 8)) X20 X19))) + ((X21 (ite (and (>= X8 2) (<= X8 8)) X20 X19))) (let - ((X22 Int (ite (and (>= X8 2) (<= X8 8)) 0 X21))) + ((X22 (ite (and (>= X8 2) (<= X8 8)) 0 X21))) (let - ((X23 Int (ite X9 X22 X8))) + ((X23 (ite X9 X22 X8))) (let - ((X24 Int (ite (not (= X23 1)) 1 X23))) + ((X24 (ite (not (= X23 1)) 1 X23))) (let - ((X25 Int (ite X9 X24 X23))) + ((X25 (ite X9 X24 X23))) (let ((X26 - Bool (and + (and (= X25 1) (and top.usr.onOff (not X9))))) (let - ((X27 Int (ite (= X25 1) 0 X25))) + ((X27 (ite (= X25 1) 0 X25))) (let - ((X28 Int (ite X26 X27 X25))) + ((X28 (ite X26 X27 X25))) (let ((X29 - Int (ite + (ite (not (and (>= X28 2) (<= X28 8))) 2 X28))) (let ((X30 - Bool (and + (and (not (and (>= X28 2) (<= X28 8))) (and (>= X29 2) (<= X29 8))))) (let - ((X31 Int (ite (not (= X29 7)) 7 X29))) + ((X31 (ite (not (= X29 7)) 7 X29))) (let - ((X32 Int (ite X30 X31 X29))) + ((X32 (ite X30 X31 X29))) (let - ((X33 Int (ite X26 X32 X28))) + ((X33 (ite X26 X32 X28))) (let ((X34 - Bool (and + (and (and (>= X33 3) (<= X33 6)) (not X3)))) (let - ((X35 Int (ite (= X33 4) 3 X33))) + ((X35 (ite (= X33 4) 3 X33))) (let ((X36 - Int (ite + (ite (and (>= X33 3) (<= X33 6)) X35 X33))) (let - ((X37 Int (ite (= X36 5) 3 X36))) + ((X37 (ite (= X36 5) 3 X36))) (let ((X38 - Int (ite + (ite (and (>= X33 3) (<= X33 6)) X37 X36))) (let - ((X39 Int (ite (= X38 6) 3 X38))) + ((X39 (ite (= X38 6) 3 X38))) (let ((X40 - Int (ite + (ite (and (>= X33 3) (<= X33 6)) @@ -1813,25 +1685,25 @@ X38))) (let ((X41 - Int (ite + (ite (and (>= X33 3) (<= X33 6)) 2 X40))) (let - ((X42 Int (ite X34 X41 X33))) + ((X42 (ite X34 X41 X33))) (let ((X43 - Int (ite + (ite (not (= X42 8)) 8 X42))) (let - ((X44 Int (ite X34 X43 X42))) + ((X44 (ite X34 X43 X42))) (let ((X45 - Bool (and + (and (= X44 8) (and (and @@ -1852,13 +1724,13 @@ (not X34))))) (let ((X46 - Int (ite (= X44 8) 2 X44))) + (ite (= X44 8) 2 X44))) (let ((X47 - Int (ite X45 X46 X44))) + (ite X45 X46 X44))) (let ((X48 - Int (ite + (ite (not (and (>= X47 3) @@ -1867,7 +1739,7 @@ X47))) (let ((X49 - Bool (and + (and (not (and (>= X47 3) @@ -1877,28 +1749,28 @@ (<= X48 6))))) (let ((X50 - Int (ite + (ite (not (= X48 4)) 4 X48))) (let ((X51 - Int (ite + (ite X49 X50 X48))) (let ((X52 - Int (ite + (ite X45 X51 X47))) (let ((X53 - Bool (or X45 X34))) + (or X45 X34))) (let ((X54 - Bool (and + (and (= X52 8) (and (and @@ -1919,19 +1791,19 @@ (not X53))))) (let ((X55 - Int (ite + (ite (= X52 8) 2 X52))) (let ((X56 - Int (ite + (ite X54 X55 X52))) (let ((X57 - Int (ite + (ite (not (and (>= @@ -1944,7 +1816,6 @@ X56))) (let ((X58 - Bool (and (not (and @@ -1955,7 +1826,6 @@ (<= X57 6))))) (let ((X59 - Int (ite (not (= X57 4)) @@ -1963,7 +1833,6 @@ X57))) (let ((X60 - Int (ite X58 X59 @@ -1978,23 +1847,20 @@ (= X60 6)))) (let ((X61 - Int 0)) + 0)) (let ((X62 - Int (+ X61 1))) (let ((X63 - Int (ite top.usr.decelSet X62 0))) (let ((X64 - Int (ite (>= 0 @@ -2012,29 +1878,25 @@ 20)) (let ((X65 - Bool (= top.impl.usr.zz176 20))) (let ((X66 - Int 0)) + 0)) (let ((X67 - Int (+ X66 1))) (let ((X68 - Int (ite top.usr.accelResume X67 0))) (let ((X69 - Int (ite (>= 0 @@ -2052,7 +1914,6 @@ 20)) (let ((X70 - Bool (= top.impl.usr.zz170 20))) @@ -2062,7 +1923,6 @@ true) (let ((X71 - Int (ite (not (= X8 1)) @@ -2070,26 +1930,22 @@ X8))) (let ((X72 - Bool (or X26 X9))) (let ((X73 - Int (ite X54 X60 X56))) (let ((X74 - Bool (or X54 X53))) (let ((X75 - Bool (and (= X73 7) (and @@ -2111,21 +1967,18 @@ (not X74))))) (let ((X76 - Int (ite (= X73 7) 2 X73))) (let ((X77 - Int (ite X75 X76 X73))) (let ((X78 - Int (ite (not (and @@ -2139,7 +1992,6 @@ X77))) (let ((X79 - Bool (and (not (and @@ -2158,7 +2010,6 @@ 6))))) (let ((X80 - Int (ite (not (= X78 4)) @@ -2166,27 +2017,23 @@ X78))) (let ((X81 - Int (ite X79 X80 X78))) (let ((X82 - Int (ite X75 X81 X77))) (let ((X83 - Bool (or X75 X74))) (let ((X84 - Bool (and (= X82 4) (not @@ -2198,21 +2045,18 @@ 0))))) (let ((X85 - Int (ite (= X82 4) 3 X82))) (let ((X86 - Int (ite X84 X85 X82))) (let ((X87 - Int (ite (not (= X86 4)) @@ -2220,14 +2064,12 @@ X86))) (let ((X88 - Int (ite X84 X87 X86))) (let ((X89 - Bool (and (= X88 4) (and @@ -2241,21 +2083,18 @@ (not X84))))) (let ((X90 - Int (ite (= X88 4) 3 X88))) (let ((X91 - Int (ite X89 X90 X88))) (let ((X92 - Int (ite (not (= X91 5)) @@ -2263,20 +2102,17 @@ X91))) (let ((X93 - Int (ite X89 X92 X91))) (let ((X94 - Bool (or X89 X84))) (let ((X95 - Bool (and (= X93 4) (and @@ -2290,21 +2126,18 @@ (not X94))))) (let ((X96 - Int (ite (= X93 4) 3 X93))) (let ((X97 - Int (ite X95 X96 X93))) (let ((X98 - Int (ite (not (= X97 6)) @@ -2312,20 +2145,17 @@ X97))) (let ((X99 - Int (ite X95 X98 X97))) (let ((X100 - Bool (or X95 X94))) (let ((X101 - Bool (and (= X99 6) (and @@ -2341,21 +2171,18 @@ X100))))) (let ((X102 - Int (ite (= X99 6) 3 X99))) (let ((X103 - Int (ite X101 X102 X99))) (let ((X104 - Int (ite (not (= @@ -2365,20 +2192,17 @@ X103))) (let ((X105 - Int (ite X101 X104 X103))) (let ((X106 - Bool (or X101 X100))) (let ((X107 - Bool (and (= X105 @@ -2396,7 +2220,6 @@ X106))))) (let ((X108 - Int (ite (= X105 @@ -2405,14 +2228,12 @@ X105))) (let ((X109 - Int (ite X107 X108 X105))) (let ((X110 - Int (ite (not (= @@ -2422,14 +2243,12 @@ X109))) (let ((X111 - Int (ite X107 X110 X109))) (let ((X112 - Int (ite (and (not X83) @@ -2444,7 +2263,6 @@ X82))) (let ((X113 - Int (ite (and (not X72) @@ -2463,7 +2281,6 @@ true) (let ((X114 - Int (ite top.impl.usr.SP3c (ite @@ -2522,116 +2339,116 @@ ) Bool (let - ((X1 Bool (>= top.usr.carSpeed! 15.0))) + ((X1 (>= top.usr.carSpeed! 15.0))) (let - ((X2 Bool (= top.usr.carGear! 3))) + ((X2 (= top.usr.carGear! 3))) (let ((X3 - Bool (and + (and (and (and (and (not top.usr.cancel!) (not top.usr.brakePedal!)) X2) X1) top.usr.validInputs!))) (let - ((X4 Bool top.impl.usr.zz183)) + ((X4 top.impl.usr.zz183)) (and (= top.impl.usr.zz183! top.usr.decelSet!) (let - ((X5 Bool (and (not X4) top.impl.usr.zz183!))) + ((X5 (and (not X4) top.impl.usr.zz183!))) (let - ((X6 Bool top.impl.usr.zz178)) + ((X6 top.impl.usr.zz178)) (and (= top.impl.usr.zz178! top.usr.accelResume!) (let - ((X7 Bool (and (not X6) top.impl.usr.zz178!))) + ((X7 (and (not X6) top.impl.usr.zz178!))) (let - ((X8 Int top.impl.usr.zz161)) + ((X8 top.impl.usr.zz161)) (let - ((X9 Bool (and (and (>= X8 2) (<= X8 8)) (not top.usr.onOff!)))) + ((X9 (and (and (>= X8 2) (<= X8 8)) (not top.usr.onOff!)))) (let - ((X10 Int (ite (= X8 4) 3 X8))) + ((X10 (ite (= X8 4) 3 X8))) (let - ((X11 Int (ite (and (>= X8 3) (<= X8 6)) X10 X8))) + ((X11 (ite (and (>= X8 3) (<= X8 6)) X10 X8))) (let - ((X12 Int (ite (= X11 5) 3 X11))) + ((X12 (ite (= X11 5) 3 X11))) (let - ((X13 Int (ite (and (>= X8 3) (<= X8 6)) X12 X11))) + ((X13 (ite (and (>= X8 3) (<= X8 6)) X12 X11))) (let - ((X14 Int (ite (= X13 6) 3 X13))) + ((X14 (ite (= X13 6) 3 X13))) (let - ((X15 Int (ite (and (>= X8 3) (<= X8 6)) X14 X13))) + ((X15 (ite (and (>= X8 3) (<= X8 6)) X14 X13))) (let - ((X16 Int (ite (and (>= X8 3) (<= X8 6)) 2 X15))) + ((X16 (ite (and (>= X8 3) (<= X8 6)) 2 X15))) (let - ((X17 Int (ite (and (>= X8 2) (<= X8 8)) X16 X8))) + ((X17 (ite (and (>= X8 2) (<= X8 8)) X16 X8))) (let - ((X18 Int (ite (= X17 7) 2 X17))) + ((X18 (ite (= X17 7) 2 X17))) (let - ((X19 Int (ite (and (>= X8 2) (<= X8 8)) X18 X17))) + ((X19 (ite (and (>= X8 2) (<= X8 8)) X18 X17))) (let - ((X20 Int (ite (= X19 8) 2 X19))) + ((X20 (ite (= X19 8) 2 X19))) (let - ((X21 Int (ite (and (>= X8 2) (<= X8 8)) X20 X19))) + ((X21 (ite (and (>= X8 2) (<= X8 8)) X20 X19))) (let - ((X22 Int (ite (and (>= X8 2) (<= X8 8)) 0 X21))) + ((X22 (ite (and (>= X8 2) (<= X8 8)) 0 X21))) (let - ((X23 Int (ite X9 X22 X8))) + ((X23 (ite X9 X22 X8))) (let - ((X24 Int (ite (not (= X23 1)) 1 X23))) + ((X24 (ite (not (= X23 1)) 1 X23))) (let - ((X25 Int (ite X9 X24 X23))) + ((X25 (ite X9 X24 X23))) (let ((X26 - Bool (and + (and (= X25 1) (and top.usr.onOff! (not X9))))) (let - ((X27 Int (ite (= X25 1) 0 X25))) + ((X27 (ite (= X25 1) 0 X25))) (let - ((X28 Int (ite X26 X27 X25))) + ((X28 (ite X26 X27 X25))) (let ((X29 - Int (ite + (ite (not (and (>= X28 2) (<= X28 8))) 2 X28))) (let ((X30 - Bool (and + (and (not (and (>= X28 2) (<= X28 8))) (and (>= X29 2) (<= X29 8))))) (let - ((X31 Int (ite (not (= X29 7)) 7 X29))) + ((X31 (ite (not (= X29 7)) 7 X29))) (let - ((X32 Int (ite X30 X31 X29))) + ((X32 (ite X30 X31 X29))) (let - ((X33 Int (ite X26 X32 X28))) + ((X33 (ite X26 X32 X28))) (let ((X34 - Bool (and + (and (and (>= X33 3) (<= X33 6)) (not X3)))) (let - ((X35 Int (ite (= X33 4) 3 X33))) + ((X35 (ite (= X33 4) 3 X33))) (let ((X36 - Int (ite + (ite (and (>= X33 3) (<= X33 6)) X35 X33))) (let - ((X37 Int (ite (= X36 5) 3 X36))) + ((X37 (ite (= X36 5) 3 X36))) (let ((X38 - Int (ite + (ite (and (>= X33 3) (<= X33 6)) X37 X36))) (let - ((X39 Int (ite (= X38 6) 3 X38))) + ((X39 (ite (= X38 6) 3 X38))) (let ((X40 - Int (ite + (ite (and (>= X33 3) (<= X33 6)) @@ -2639,25 +2456,25 @@ X38))) (let ((X41 - Int (ite + (ite (and (>= X33 3) (<= X33 6)) 2 X40))) (let - ((X42 Int (ite X34 X41 X33))) + ((X42 (ite X34 X41 X33))) (let ((X43 - Int (ite + (ite (not (= X42 8)) 8 X42))) (let - ((X44 Int (ite X34 X43 X42))) + ((X44 (ite X34 X43 X42))) (let ((X45 - Bool (and + (and (= X44 8) (and (and @@ -2678,13 +2495,13 @@ (not X34))))) (let ((X46 - Int (ite (= X44 8) 2 X44))) + (ite (= X44 8) 2 X44))) (let ((X47 - Int (ite X45 X46 X44))) + (ite X45 X46 X44))) (let ((X48 - Int (ite + (ite (not (and (>= X47 3) @@ -2693,7 +2510,7 @@ X47))) (let ((X49 - Bool (and + (and (not (and (>= X47 3) @@ -2703,28 +2520,28 @@ (<= X48 6))))) (let ((X50 - Int (ite + (ite (not (= X48 4)) 4 X48))) (let ((X51 - Int (ite + (ite X49 X50 X48))) (let ((X52 - Int (ite + (ite X45 X51 X47))) (let ((X53 - Bool (or X45 X34))) + (or X45 X34))) (let ((X54 - Bool (and + (and (= X52 8) (and (and @@ -2745,19 +2562,19 @@ (not X53))))) (let ((X55 - Int (ite + (ite (= X52 8) 2 X52))) (let ((X56 - Int (ite + (ite X54 X55 X52))) (let ((X57 - Int (ite + (ite (not (and (>= @@ -2770,7 +2587,6 @@ X56))) (let ((X58 - Bool (and (not (and @@ -2781,7 +2597,6 @@ (<= X57 6))))) (let ((X59 - Int (ite (not (= X57 4)) @@ -2789,7 +2604,6 @@ X57))) (let ((X60 - Int (ite X58 X59 @@ -2804,23 +2618,20 @@ (= X60 6)))) (let ((X61 - Int top.impl.usr.zz176)) + top.impl.usr.zz176)) (let ((X62 - Int (+ X61 1))) (let ((X63 - Int (ite top.usr.decelSet! X62 0))) (let ((X64 - Int (ite (>= 0 @@ -2838,29 +2649,25 @@ 20)) (let ((X65 - Bool (= top.impl.usr.zz176! 20))) (let ((X66 - Int top.impl.usr.zz170)) + top.impl.usr.zz170)) (let ((X67 - Int (+ X66 1))) (let ((X68 - Int (ite top.usr.accelResume! X67 0))) (let ((X69 - Int (ite (>= 0 @@ -2878,7 +2685,6 @@ 20)) (let ((X70 - Bool (= top.impl.usr.zz170! 20))) @@ -2891,7 +2697,6 @@ top.impl.usr.zz155)) (let ((X71 - Int (ite (not (= X8 1)) @@ -2899,26 +2704,22 @@ X8))) (let ((X72 - Bool (or X26 X9))) (let ((X73 - Int (ite X54 X60 X56))) (let ((X74 - Bool (or X54 X53))) (let ((X75 - Bool (and (= X73 7) (and @@ -2940,21 +2741,18 @@ (not X74))))) (let ((X76 - Int (ite (= X73 7) 2 X73))) (let ((X77 - Int (ite X75 X76 X73))) (let ((X78 - Int (ite (not (and @@ -2968,7 +2766,6 @@ X77))) (let ((X79 - Bool (and (not (and @@ -2987,7 +2784,6 @@ 6))))) (let ((X80 - Int (ite (not (= X78 4)) @@ -2995,27 +2791,23 @@ X78))) (let ((X81 - Int (ite X79 X80 X78))) (let ((X82 - Int (ite X75 X81 X77))) (let ((X83 - Bool (or X75 X74))) (let ((X84 - Bool (and (= X82 4) (not @@ -3027,21 +2819,18 @@ 0))))) (let ((X85 - Int (ite (= X82 4) 3 X82))) (let ((X86 - Int (ite X84 X85 X82))) (let ((X87 - Int (ite (not (= X86 4)) @@ -3049,14 +2838,12 @@ X86))) (let ((X88 - Int (ite X84 X87 X86))) (let ((X89 - Bool (and (= X88 4) (and @@ -3070,21 +2857,18 @@ (not X84))))) (let ((X90 - Int (ite (= X88 4) 3 X88))) (let ((X91 - Int (ite X89 X90 X88))) (let ((X92 - Int (ite (not (= X91 5)) @@ -3092,20 +2876,17 @@ X91))) (let ((X93 - Int (ite X89 X92 X91))) (let ((X94 - Bool (or X89 X84))) (let ((X95 - Bool (and (= X93 4) (and @@ -3119,21 +2900,18 @@ (not X94))))) (let ((X96 - Int (ite (= X93 4) 3 X93))) (let ((X97 - Int (ite X95 X96 X93))) (let ((X98 - Int (ite (not (= X97 6)) @@ -3141,20 +2919,17 @@ X97))) (let ((X99 - Int (ite X95 X98 X97))) (let ((X100 - Bool (or X95 X94))) (let ((X101 - Bool (and (= X99 6) (and @@ -3170,21 +2945,18 @@ X100))))) (let ((X102 - Int (ite (= X99 6) 3 X99))) (let ((X103 - Int (ite X101 X102 X99))) (let ((X104 - Int (ite (not (= @@ -3194,20 +2966,17 @@ X103))) (let ((X105 - Int (ite X101 X104 X103))) (let ((X106 - Bool (or X101 X100))) (let ((X107 - Bool (and (= X105 @@ -3225,7 +2994,6 @@ X106))))) (let ((X108 - Int (ite (= X105 @@ -3234,14 +3002,12 @@ X105))) (let ((X109 - Int (ite X107 X108 X105))) (let ((X110 - Int (ite (not (= @@ -3251,14 +3017,12 @@ X109))) (let ((X111 - Int (ite X107 X110 X109))) (let ((X112 - Int (ite (and (not X83) @@ -3273,7 +3037,6 @@ X82))) (let ((X113 - Int (ite (and (not X72) @@ -3292,7 +3055,6 @@ true) (let ((X114 - Int (ite top.impl.usr.SP3c! (ite diff --git a/lib-nonconforming/Inv_Track/andrew_lustre/ccp03.lus.sl b/lib/Inv_Track/andrew_lustre/ccp03.lus.sl similarity index 85% rename from lib-nonconforming/Inv_Track/andrew_lustre/ccp03.lus.sl rename to lib/Inv_Track/andrew_lustre/ccp03.lus.sl index 2942694f..04476d2d 100644 --- a/lib-nonconforming/Inv_Track/andrew_lustre/ccp03.lus.sl +++ b/lib/Inv_Track/andrew_lustre/ccp03.lus.sl @@ -22,12 +22,12 @@ ) Bool (let - ((X1 Bool (>= top.usr.carSpeed_a_0 15.0))) + ((X1 (>= top.usr.carSpeed_a_0 15.0))) (let - ((X2 Bool (= top.usr.carGear_a_0 3))) + ((X2 (= top.usr.carGear_a_0 3))) (let ((X3 - Bool (and + (and (and (and (and (not top.usr.cancel_a_0) (not top.usr.brakePedal_a_0)) @@ -35,118 +35,118 @@ X1) top.usr.validInputs_a_0))) (let - ((X4 Bool true)) + ((X4 true)) (and (= top.impl.usr.zz183_a_0 top.usr.decelSet_a_0) (let - ((X5 Bool (and (not X4) top.impl.usr.zz183_a_0))) + ((X5 (and (not X4) top.impl.usr.zz183_a_0))) (let - ((X6 Int 0)) + ((X6 0)) (let - ((X7 Bool (and (and (>= X6 2) (<= X6 8)) (not top.usr.onOff_a_0)))) + ((X7 (and (and (>= X6 2) (<= X6 8)) (not top.usr.onOff_a_0)))) (let - ((X8 Int (ite (= X6 4) 3 X6))) + ((X8 (ite (= X6 4) 3 X6))) (let - ((X9 Int (ite (and (>= X6 3) (<= X6 6)) X8 X6))) + ((X9 (ite (and (>= X6 3) (<= X6 6)) X8 X6))) (let - ((X10 Int (ite (= X9 5) 3 X9))) + ((X10 (ite (= X9 5) 3 X9))) (let - ((X11 Int (ite (and (>= X6 3) (<= X6 6)) X10 X9))) + ((X11 (ite (and (>= X6 3) (<= X6 6)) X10 X9))) (let - ((X12 Int (ite (= X11 6) 3 X11))) + ((X12 (ite (= X11 6) 3 X11))) (let - ((X13 Int (ite (and (>= X6 3) (<= X6 6)) X12 X11))) + ((X13 (ite (and (>= X6 3) (<= X6 6)) X12 X11))) (let - ((X14 Int (ite (and (>= X6 3) (<= X6 6)) 2 X13))) + ((X14 (ite (and (>= X6 3) (<= X6 6)) 2 X13))) (let - ((X15 Int (ite (and (>= X6 2) (<= X6 8)) X14 X6))) + ((X15 (ite (and (>= X6 2) (<= X6 8)) X14 X6))) (let - ((X16 Int (ite (= X15 7) 2 X15))) + ((X16 (ite (= X15 7) 2 X15))) (let - ((X17 Int (ite (and (>= X6 2) (<= X6 8)) X16 X15))) + ((X17 (ite (and (>= X6 2) (<= X6 8)) X16 X15))) (let - ((X18 Int (ite (= X17 8) 2 X17))) + ((X18 (ite (= X17 8) 2 X17))) (let - ((X19 Int (ite (and (>= X6 2) (<= X6 8)) X18 X17))) + ((X19 (ite (and (>= X6 2) (<= X6 8)) X18 X17))) (let - ((X20 Int (ite (and (>= X6 2) (<= X6 8)) 0 X19))) + ((X20 (ite (and (>= X6 2) (<= X6 8)) 0 X19))) (let - ((X21 Int (ite X7 X20 X6))) + ((X21 (ite X7 X20 X6))) (let - ((X22 Int (ite (not (= X21 1)) 1 X21))) + ((X22 (ite (not (= X21 1)) 1 X21))) (let - ((X23 Int (ite X7 X22 X21))) + ((X23 (ite X7 X22 X21))) (let ((X24 - Bool (and + (and (= X23 1) (and top.usr.onOff_a_0 (not X7))))) (let - ((X25 Int (ite (= X23 1) 0 X23))) + ((X25 (ite (= X23 1) 0 X23))) (let - ((X26 Int (ite X24 X25 X23))) + ((X26 (ite X24 X25 X23))) (let ((X27 - Int (ite + (ite (not (and (>= X26 2) (<= X26 8))) 2 X26))) (let ((X28 - Bool (and + (and (not (and (>= X26 2) (<= X26 8))) (and (>= X27 2) (<= X27 8))))) (let - ((X29 Int (ite (not (= X27 7)) 7 X27))) + ((X29 (ite (not (= X27 7)) 7 X27))) (let - ((X30 Int (ite X28 X29 X27))) + ((X30 (ite X28 X29 X27))) (let - ((X31 Int (ite X24 X30 X26))) + ((X31 (ite X24 X30 X26))) (let ((X32 - Bool (and + (and (and (>= X31 3) (<= X31 6)) (not X3)))) (let - ((X33 Int (ite (= X31 4) 3 X31))) + ((X33 (ite (= X31 4) 3 X31))) (let ((X34 - Int (ite + (ite (and (>= X31 3) (<= X31 6)) X33 X31))) (let - ((X35 Int (ite (= X34 5) 3 X34))) + ((X35 (ite (= X34 5) 3 X34))) (let ((X36 - Int (ite + (ite (and (>= X31 3) (<= X31 6)) X35 X34))) (let - ((X37 Int (ite (= X36 6) 3 X36))) + ((X37 (ite (= X36 6) 3 X36))) (let ((X38 - Int (ite + (ite (and (>= X31 3) (<= X31 6)) X37 X36))) (let ((X39 - Int (ite + (ite (and (>= X31 3) (<= X31 6)) 2 X38))) (let - ((X40 Int (ite X32 X39 X31))) + ((X40 (ite X32 X39 X31))) (let ((X41 - Int (ite (not (= X40 8)) 8 X40))) + (ite (not (= X40 8)) 8 X40))) (let - ((X42 Int (ite X32 X41 X40))) + ((X42 (ite X32 X41 X40))) (let ((X43 - Bool (and + (and (= X42 8) (and (and @@ -161,12 +161,12 @@ (not X32))))) (let ((X44 - Int (ite (= X42 8) 2 X42))) + (ite (= X42 8) 2 X42))) (let - ((X45 Int (ite X43 X44 X42))) + ((X45 (ite X43 X44 X42))) (let ((X46 - Int (ite + (ite (not (and (>= X45 3) @@ -175,7 +175,7 @@ X45))) (let ((X47 - Bool (and + (and (not (and (>= X45 3) @@ -185,13 +185,13 @@ (<= X46 6))))) (let ((X48 - Int (ite + (ite (not (= X46 4)) 4 X46))) (let ((X49 - Int (ite X47 X48 X46))) + (ite X47 X48 X46))) (and (= top.usr.OK_a_0 @@ -201,30 +201,30 @@ (= X49 5) (= X49 6)))) (let - ((X50 Bool true)) + ((X50 true)) (and (= top.impl.usr.zz178_a_0 top.usr.accelResume_a_0) (let ((X51 - Bool (and + (and (not X50) top.impl.usr.zz178_a_0))) (let - ((X52 Int 0)) + ((X52 0)) (let ((X53 - Int (+ X52 1))) + (+ X52 1))) (let ((X54 - Int (ite + (ite top.usr.decelSet_a_0 X53 0))) (let ((X55 - Int (ite + (ite (>= 0 X54) 0 X54))) @@ -237,28 +237,24 @@ 20)) (let ((X56 - Bool (= top.impl.usr.zz176_a_0 20))) (let - ((X57 Int 0)) + ((X57 0)) (let ((X58 - Int (+ X57 1))) (let ((X59 - Int (ite top.usr.accelResume_a_0 X58 0))) (let ((X60 - Int (ite (>= 0 @@ -276,7 +272,6 @@ 20)) (let ((X61 - Bool (= top.impl.usr.zz170_a_0 20))) @@ -286,7 +281,6 @@ true) (let ((X62 - Int (ite (not (= X6 1)) @@ -294,26 +288,22 @@ X6))) (let ((X63 - Bool (or X24 X7))) (let ((X64 - Int (ite X43 X49 X45))) (let ((X65 - Bool (or X43 X32))) (let ((X66 - Bool (and (= X64 8) (and @@ -335,21 +325,18 @@ (not X65))))) (let ((X67 - Int (ite (= X64 8) 2 X64))) (let ((X68 - Int (ite X66 X67 X64))) (let ((X69 - Int (ite (not (and @@ -363,7 +350,6 @@ X68))) (let ((X70 - Bool (and (not (and @@ -382,7 +368,6 @@ 6))))) (let ((X71 - Int (ite (not (= X69 4)) @@ -390,27 +375,23 @@ X69))) (let ((X72 - Int (ite X70 X71 X69))) (let ((X73 - Int (ite X66 X72 X68))) (let ((X74 - Bool (or X66 X65))) (let ((X75 - Bool (and (= X73 7) (and @@ -432,21 +413,18 @@ (not X74))))) (let ((X76 - Int (ite (= X73 7) 2 X73))) (let ((X77 - Int (ite X75 X76 X73))) (let ((X78 - Int (ite (not (and @@ -460,7 +438,6 @@ X77))) (let ((X79 - Bool (and (not (and @@ -479,7 +456,6 @@ 6))))) (let ((X80 - Int (ite (not (= X78 4)) @@ -487,27 +463,23 @@ X78))) (let ((X81 - Int (ite X79 X80 X78))) (let ((X82 - Int (ite X75 X81 X77))) (let ((X83 - Bool (or X75 X74))) (let ((X84 - Bool (and (= X82 4) (not @@ -519,21 +491,18 @@ 0))))) (let ((X85 - Int (ite (= X82 4) 3 X82))) (let ((X86 - Int (ite X84 X85 X82))) (let ((X87 - Int (ite (not (= X86 4)) @@ -541,14 +510,12 @@ X86))) (let ((X88 - Int (ite X84 X87 X86))) (let ((X89 - Bool (and (= X88 4) (and @@ -562,21 +529,18 @@ (not X84))))) (let ((X90 - Int (ite (= X88 4) 3 X88))) (let ((X91 - Int (ite X89 X90 X88))) (let ((X92 - Int (ite (not (= X91 5)) @@ -584,20 +548,17 @@ X91))) (let ((X93 - Int (ite X89 X92 X91))) (let ((X94 - Bool (or X89 X84))) (let ((X95 - Bool (and (= X93 4) (and @@ -611,21 +572,18 @@ (not X94))))) (let ((X96 - Int (ite (= X93 4) 3 X93))) (let ((X97 - Int (ite X95 X96 X93))) (let ((X98 - Int (ite (not (= X97 6)) @@ -633,20 +591,17 @@ X97))) (let ((X99 - Int (ite X95 X98 X97))) (let ((X100 - Bool (or X95 X94))) (let ((X101 - Bool (and (= X99 6) (and @@ -662,21 +617,18 @@ X100))))) (let ((X102 - Int (ite (= X99 6) 3 X99))) (let ((X103 - Int (ite X101 X102 X99))) (let ((X104 - Int (ite (not (= @@ -686,20 +638,17 @@ X103))) (let ((X105 - Int (ite X101 X104 X103))) (let ((X106 - Bool (or X101 X100))) (let ((X107 - Bool (and (= X105 @@ -717,7 +666,6 @@ X106))))) (let ((X108 - Int (ite (= X105 @@ -726,14 +674,12 @@ X105))) (let ((X109 - Int (ite X107 X108 X105))) (let ((X110 - Int (ite (not (= @@ -743,14 +689,12 @@ X109))) (let ((X111 - Int (ite X107 X110 X109))) (let ((X112 - Int (ite (and (not X83) @@ -765,7 +709,6 @@ X82))) (let ((X113 - Int (ite (and (not X63) @@ -784,7 +727,6 @@ true) (let ((X114 - Int (ite top.impl.usr.SP3c_a_0 (ite @@ -838,12 +780,12 @@ ) Bool (let - ((X1 Bool (>= top.usr.carSpeed_a_1 15.0))) + ((X1 (>= top.usr.carSpeed_a_1 15.0))) (let - ((X2 Bool (= top.usr.carGear_a_1 3))) + ((X2 (= top.usr.carGear_a_1 3))) (let ((X3 - Bool (and + (and (and (and (and (not top.usr.cancel_a_1) (not top.usr.brakePedal_a_1)) @@ -851,118 +793,118 @@ X1) top.usr.validInputs_a_1))) (let - ((X4 Bool top.impl.usr.zz183_a_0)) + ((X4 top.impl.usr.zz183_a_0)) (and (= top.impl.usr.zz183_a_1 top.usr.decelSet_a_1) (let - ((X5 Bool (and (not X4) top.impl.usr.zz183_a_1))) + ((X5 (and (not X4) top.impl.usr.zz183_a_1))) (let - ((X6 Int top.impl.usr.zz161_a_0)) + ((X6 top.impl.usr.zz161_a_0)) (let - ((X7 Bool (and (and (>= X6 2) (<= X6 8)) (not top.usr.onOff_a_1)))) + ((X7 (and (and (>= X6 2) (<= X6 8)) (not top.usr.onOff_a_1)))) (let - ((X8 Int (ite (= X6 4) 3 X6))) + ((X8 (ite (= X6 4) 3 X6))) (let - ((X9 Int (ite (and (>= X6 3) (<= X6 6)) X8 X6))) + ((X9 (ite (and (>= X6 3) (<= X6 6)) X8 X6))) (let - ((X10 Int (ite (= X9 5) 3 X9))) + ((X10 (ite (= X9 5) 3 X9))) (let - ((X11 Int (ite (and (>= X6 3) (<= X6 6)) X10 X9))) + ((X11 (ite (and (>= X6 3) (<= X6 6)) X10 X9))) (let - ((X12 Int (ite (= X11 6) 3 X11))) + ((X12 (ite (= X11 6) 3 X11))) (let - ((X13 Int (ite (and (>= X6 3) (<= X6 6)) X12 X11))) + ((X13 (ite (and (>= X6 3) (<= X6 6)) X12 X11))) (let - ((X14 Int (ite (and (>= X6 3) (<= X6 6)) 2 X13))) + ((X14 (ite (and (>= X6 3) (<= X6 6)) 2 X13))) (let - ((X15 Int (ite (and (>= X6 2) (<= X6 8)) X14 X6))) + ((X15 (ite (and (>= X6 2) (<= X6 8)) X14 X6))) (let - ((X16 Int (ite (= X15 7) 2 X15))) + ((X16 (ite (= X15 7) 2 X15))) (let - ((X17 Int (ite (and (>= X6 2) (<= X6 8)) X16 X15))) + ((X17 (ite (and (>= X6 2) (<= X6 8)) X16 X15))) (let - ((X18 Int (ite (= X17 8) 2 X17))) + ((X18 (ite (= X17 8) 2 X17))) (let - ((X19 Int (ite (and (>= X6 2) (<= X6 8)) X18 X17))) + ((X19 (ite (and (>= X6 2) (<= X6 8)) X18 X17))) (let - ((X20 Int (ite (and (>= X6 2) (<= X6 8)) 0 X19))) + ((X20 (ite (and (>= X6 2) (<= X6 8)) 0 X19))) (let - ((X21 Int (ite X7 X20 X6))) + ((X21 (ite X7 X20 X6))) (let - ((X22 Int (ite (not (= X21 1)) 1 X21))) + ((X22 (ite (not (= X21 1)) 1 X21))) (let - ((X23 Int (ite X7 X22 X21))) + ((X23 (ite X7 X22 X21))) (let ((X24 - Bool (and + (and (= X23 1) (and top.usr.onOff_a_1 (not X7))))) (let - ((X25 Int (ite (= X23 1) 0 X23))) + ((X25 (ite (= X23 1) 0 X23))) (let - ((X26 Int (ite X24 X25 X23))) + ((X26 (ite X24 X25 X23))) (let ((X27 - Int (ite + (ite (not (and (>= X26 2) (<= X26 8))) 2 X26))) (let ((X28 - Bool (and + (and (not (and (>= X26 2) (<= X26 8))) (and (>= X27 2) (<= X27 8))))) (let - ((X29 Int (ite (not (= X27 7)) 7 X27))) + ((X29 (ite (not (= X27 7)) 7 X27))) (let - ((X30 Int (ite X28 X29 X27))) + ((X30 (ite X28 X29 X27))) (let - ((X31 Int (ite X24 X30 X26))) + ((X31 (ite X24 X30 X26))) (let ((X32 - Bool (and + (and (and (>= X31 3) (<= X31 6)) (not X3)))) (let - ((X33 Int (ite (= X31 4) 3 X31))) + ((X33 (ite (= X31 4) 3 X31))) (let ((X34 - Int (ite + (ite (and (>= X31 3) (<= X31 6)) X33 X31))) (let - ((X35 Int (ite (= X34 5) 3 X34))) + ((X35 (ite (= X34 5) 3 X34))) (let ((X36 - Int (ite + (ite (and (>= X31 3) (<= X31 6)) X35 X34))) (let - ((X37 Int (ite (= X36 6) 3 X36))) + ((X37 (ite (= X36 6) 3 X36))) (let ((X38 - Int (ite + (ite (and (>= X31 3) (<= X31 6)) X37 X36))) (let ((X39 - Int (ite + (ite (and (>= X31 3) (<= X31 6)) 2 X38))) (let - ((X40 Int (ite X32 X39 X31))) + ((X40 (ite X32 X39 X31))) (let ((X41 - Int (ite (not (= X40 8)) 8 X40))) + (ite (not (= X40 8)) 8 X40))) (let - ((X42 Int (ite X32 X41 X40))) + ((X42 (ite X32 X41 X40))) (let ((X43 - Bool (and + (and (= X42 8) (and (and @@ -977,12 +919,12 @@ (not X32))))) (let ((X44 - Int (ite (= X42 8) 2 X42))) + (ite (= X42 8) 2 X42))) (let - ((X45 Int (ite X43 X44 X42))) + ((X45 (ite X43 X44 X42))) (let ((X46 - Int (ite + (ite (not (and (>= X45 3) @@ -991,7 +933,7 @@ X45))) (let ((X47 - Bool (and + (and (not (and (>= X45 3) @@ -1001,13 +943,13 @@ (<= X46 6))))) (let ((X48 - Int (ite + (ite (not (= X46 4)) 4 X46))) (let ((X49 - Int (ite X47 X48 X46))) + (ite X47 X48 X46))) (and (= top.usr.OK_a_1 @@ -1018,31 +960,31 @@ (= X49 6)))) (let ((X50 - Bool top.impl.usr.zz178_a_0)) + top.impl.usr.zz178_a_0)) (and (= top.impl.usr.zz178_a_1 top.usr.accelResume_a_1) (let ((X51 - Bool (and + (and (not X50) top.impl.usr.zz178_a_1))) (let ((X52 - Int top.impl.usr.zz176_a_0)) + top.impl.usr.zz176_a_0)) (let ((X53 - Int (+ X52 1))) + (+ X52 1))) (let ((X54 - Int (ite + (ite top.usr.decelSet_a_1 X53 0))) (let ((X55 - Int (ite + (ite (>= 0 X54) 0 X54))) @@ -1055,29 +997,25 @@ 20)) (let ((X56 - Bool (= top.impl.usr.zz176_a_1 20))) (let ((X57 - Int top.impl.usr.zz170_a_0)) + top.impl.usr.zz170_a_0)) (let ((X58 - Int (+ X57 1))) (let ((X59 - Int (ite top.usr.accelResume_a_1 X58 0))) (let ((X60 - Int (ite (>= 0 @@ -1095,7 +1033,6 @@ 20)) (let ((X61 - Bool (= top.impl.usr.zz170_a_1 20))) @@ -1108,7 +1045,6 @@ top.impl.usr.zz155_a_0)) (let ((X62 - Int (ite (not (= X6 1)) @@ -1116,26 +1052,22 @@ X6))) (let ((X63 - Bool (or X24 X7))) (let ((X64 - Int (ite X43 X49 X45))) (let ((X65 - Bool (or X43 X32))) (let ((X66 - Bool (and (= X64 8) (and @@ -1157,21 +1089,18 @@ (not X65))))) (let ((X67 - Int (ite (= X64 8) 2 X64))) (let ((X68 - Int (ite X66 X67 X64))) (let ((X69 - Int (ite (not (and @@ -1185,7 +1114,6 @@ X68))) (let ((X70 - Bool (and (not (and @@ -1204,7 +1132,6 @@ 6))))) (let ((X71 - Int (ite (not (= X69 4)) @@ -1212,27 +1139,23 @@ X69))) (let ((X72 - Int (ite X70 X71 X69))) (let ((X73 - Int (ite X66 X72 X68))) (let ((X74 - Bool (or X66 X65))) (let ((X75 - Bool (and (= X73 7) (and @@ -1254,21 +1177,18 @@ (not X74))))) (let ((X76 - Int (ite (= X73 7) 2 X73))) (let ((X77 - Int (ite X75 X76 X73))) (let ((X78 - Int (ite (not (and @@ -1282,7 +1202,6 @@ X77))) (let ((X79 - Bool (and (not (and @@ -1301,7 +1220,6 @@ 6))))) (let ((X80 - Int (ite (not (= X78 4)) @@ -1309,27 +1227,23 @@ X78))) (let ((X81 - Int (ite X79 X80 X78))) (let ((X82 - Int (ite X75 X81 X77))) (let ((X83 - Bool (or X75 X74))) (let ((X84 - Bool (and (= X82 4) (not @@ -1341,21 +1255,18 @@ 0))))) (let ((X85 - Int (ite (= X82 4) 3 X82))) (let ((X86 - Int (ite X84 X85 X82))) (let ((X87 - Int (ite (not (= X86 4)) @@ -1363,14 +1274,12 @@ X86))) (let ((X88 - Int (ite X84 X87 X86))) (let ((X89 - Bool (and (= X88 4) (and @@ -1384,21 +1293,18 @@ (not X84))))) (let ((X90 - Int (ite (= X88 4) 3 X88))) (let ((X91 - Int (ite X89 X90 X88))) (let ((X92 - Int (ite (not (= X91 5)) @@ -1406,20 +1312,17 @@ X91))) (let ((X93 - Int (ite X89 X92 X91))) (let ((X94 - Bool (or X89 X84))) (let ((X95 - Bool (and (= X93 4) (and @@ -1433,21 +1336,18 @@ (not X94))))) (let ((X96 - Int (ite (= X93 4) 3 X93))) (let ((X97 - Int (ite X95 X96 X93))) (let ((X98 - Int (ite (not (= X97 6)) @@ -1455,20 +1355,17 @@ X97))) (let ((X99 - Int (ite X95 X98 X97))) (let ((X100 - Bool (or X95 X94))) (let ((X101 - Bool (and (= X99 6) (and @@ -1484,21 +1381,18 @@ X100))))) (let ((X102 - Int (ite (= X99 6) 3 X99))) (let ((X103 - Int (ite X101 X102 X99))) (let ((X104 - Int (ite (not (= @@ -1508,20 +1402,17 @@ X103))) (let ((X105 - Int (ite X101 X104 X103))) (let ((X106 - Bool (or X101 X100))) (let ((X107 - Bool (and (= X105 @@ -1539,7 +1430,6 @@ X106))))) (let ((X108 - Int (ite (= X105 @@ -1548,14 +1438,12 @@ X105))) (let ((X109 - Int (ite X107 X108 X105))) (let ((X110 - Int (ite (not (= @@ -1565,14 +1453,12 @@ X109))) (let ((X111 - Int (ite X107 X110 X109))) (let ((X112 - Int (ite (and (not X83) @@ -1587,7 +1473,6 @@ X82))) (let ((X113 - Int (ite (and (not X63) @@ -1606,7 +1491,6 @@ true) (let ((X114 - Int (ite top.impl.usr.SP3c_a_1 (ite @@ -1645,24 +1529,6 @@ )) -(declare-primed-var top.usr.onOff Bool) -(declare-primed-var top.usr.decelSet Bool) -(declare-primed-var top.usr.accelResume Bool) -(declare-primed-var top.usr.cancel Bool) -(declare-primed-var top.usr.brakePedal Bool) -(declare-primed-var top.usr.carGear Int) -(declare-primed-var top.usr.carSpeed Real) -(declare-primed-var top.usr.validInputs Bool) -(declare-primed-var top.usr.OK Bool) -(declare-primed-var top.res.init_flag Bool) -(declare-primed-var top.impl.usr.SP3c Bool) -(declare-primed-var top.impl.usr.zz155 Bool) -(declare-primed-var top.impl.usr.zz161 Int) -(declare-primed-var top.impl.usr.zz170 Int) -(declare-primed-var top.impl.usr.zz176 Int) -(declare-primed-var top.impl.usr.zz178 Bool) -(declare-primed-var top.impl.usr.zz183 Bool) - (define-fun init ( (top.usr.onOff Bool) @@ -1685,129 +1551,129 @@ ) Bool (let - ((X1 Bool (>= top.usr.carSpeed 15.0))) + ((X1 (>= top.usr.carSpeed 15.0))) (let - ((X2 Bool (= top.usr.carGear 3))) + ((X2 (= top.usr.carGear 3))) (let ((X3 - Bool (and + (and (and (and (and (not top.usr.cancel) (not top.usr.brakePedal)) X2) X1) top.usr.validInputs))) (let - ((X4 Bool true)) + ((X4 true)) (and (= top.impl.usr.zz183 top.usr.decelSet) (let - ((X5 Bool (and (not X4) top.impl.usr.zz183))) + ((X5 (and (not X4) top.impl.usr.zz183))) (let - ((X6 Int 0)) + ((X6 0)) (let - ((X7 Bool (and (and (>= X6 2) (<= X6 8)) (not top.usr.onOff)))) + ((X7 (and (and (>= X6 2) (<= X6 8)) (not top.usr.onOff)))) (let - ((X8 Int (ite (= X6 4) 3 X6))) + ((X8 (ite (= X6 4) 3 X6))) (let - ((X9 Int (ite (and (>= X6 3) (<= X6 6)) X8 X6))) + ((X9 (ite (and (>= X6 3) (<= X6 6)) X8 X6))) (let - ((X10 Int (ite (= X9 5) 3 X9))) + ((X10 (ite (= X9 5) 3 X9))) (let - ((X11 Int (ite (and (>= X6 3) (<= X6 6)) X10 X9))) + ((X11 (ite (and (>= X6 3) (<= X6 6)) X10 X9))) (let - ((X12 Int (ite (= X11 6) 3 X11))) + ((X12 (ite (= X11 6) 3 X11))) (let - ((X13 Int (ite (and (>= X6 3) (<= X6 6)) X12 X11))) + ((X13 (ite (and (>= X6 3) (<= X6 6)) X12 X11))) (let - ((X14 Int (ite (and (>= X6 3) (<= X6 6)) 2 X13))) + ((X14 (ite (and (>= X6 3) (<= X6 6)) 2 X13))) (let - ((X15 Int (ite (and (>= X6 2) (<= X6 8)) X14 X6))) + ((X15 (ite (and (>= X6 2) (<= X6 8)) X14 X6))) (let - ((X16 Int (ite (= X15 7) 2 X15))) + ((X16 (ite (= X15 7) 2 X15))) (let - ((X17 Int (ite (and (>= X6 2) (<= X6 8)) X16 X15))) + ((X17 (ite (and (>= X6 2) (<= X6 8)) X16 X15))) (let - ((X18 Int (ite (= X17 8) 2 X17))) + ((X18 (ite (= X17 8) 2 X17))) (let - ((X19 Int (ite (and (>= X6 2) (<= X6 8)) X18 X17))) + ((X19 (ite (and (>= X6 2) (<= X6 8)) X18 X17))) (let - ((X20 Int (ite (and (>= X6 2) (<= X6 8)) 0 X19))) + ((X20 (ite (and (>= X6 2) (<= X6 8)) 0 X19))) (let - ((X21 Int (ite X7 X20 X6))) + ((X21 (ite X7 X20 X6))) (let - ((X22 Int (ite (not (= X21 1)) 1 X21))) + ((X22 (ite (not (= X21 1)) 1 X21))) (let - ((X23 Int (ite X7 X22 X21))) + ((X23 (ite X7 X22 X21))) (let ((X24 - Bool (and + (and (= X23 1) (and top.usr.onOff (not X7))))) (let - ((X25 Int (ite (= X23 1) 0 X23))) + ((X25 (ite (= X23 1) 0 X23))) (let - ((X26 Int (ite X24 X25 X23))) + ((X26 (ite X24 X25 X23))) (let ((X27 - Int (ite + (ite (not (and (>= X26 2) (<= X26 8))) 2 X26))) (let ((X28 - Bool (and + (and (not (and (>= X26 2) (<= X26 8))) (and (>= X27 2) (<= X27 8))))) (let - ((X29 Int (ite (not (= X27 7)) 7 X27))) + ((X29 (ite (not (= X27 7)) 7 X27))) (let - ((X30 Int (ite X28 X29 X27))) + ((X30 (ite X28 X29 X27))) (let - ((X31 Int (ite X24 X30 X26))) + ((X31 (ite X24 X30 X26))) (let ((X32 - Bool (and + (and (and (>= X31 3) (<= X31 6)) (not X3)))) (let - ((X33 Int (ite (= X31 4) 3 X31))) + ((X33 (ite (= X31 4) 3 X31))) (let ((X34 - Int (ite + (ite (and (>= X31 3) (<= X31 6)) X33 X31))) (let - ((X35 Int (ite (= X34 5) 3 X34))) + ((X35 (ite (= X34 5) 3 X34))) (let ((X36 - Int (ite + (ite (and (>= X31 3) (<= X31 6)) X35 X34))) (let - ((X37 Int (ite (= X36 6) 3 X36))) + ((X37 (ite (= X36 6) 3 X36))) (let ((X38 - Int (ite + (ite (and (>= X31 3) (<= X31 6)) X37 X36))) (let ((X39 - Int (ite + (ite (and (>= X31 3) (<= X31 6)) 2 X38))) (let - ((X40 Int (ite X32 X39 X31))) + ((X40 (ite X32 X39 X31))) (let ((X41 - Int (ite (not (= X40 8)) 8 X40))) + (ite (not (= X40 8)) 8 X40))) (let - ((X42 Int (ite X32 X41 X40))) + ((X42 (ite X32 X41 X40))) (let ((X43 - Bool (and + (and (= X42 8) (and (and @@ -1822,12 +1688,12 @@ (not X32))))) (let ((X44 - Int (ite (= X42 8) 2 X42))) + (ite (= X42 8) 2 X42))) (let - ((X45 Int (ite X43 X44 X42))) + ((X45 (ite X43 X44 X42))) (let ((X46 - Int (ite + (ite (not (and (>= X45 3) @@ -1836,7 +1702,7 @@ X45))) (let ((X47 - Bool (and + (and (not (and (>= X45 3) @@ -1846,13 +1712,13 @@ (<= X46 6))))) (let ((X48 - Int (ite + (ite (not (= X46 4)) 4 X46))) (let ((X49 - Int (ite X47 X48 X46))) + (ite X47 X48 X46))) (and (= top.usr.OK @@ -1862,30 +1728,30 @@ (= X49 5) (= X49 6)))) (let - ((X50 Bool true)) + ((X50 true)) (and (= top.impl.usr.zz178 top.usr.accelResume) (let ((X51 - Bool (and + (and (not X50) top.impl.usr.zz178))) (let - ((X52 Int 0)) + ((X52 0)) (let ((X53 - Int (+ X52 1))) + (+ X52 1))) (let ((X54 - Int (ite + (ite top.usr.decelSet X53 0))) (let ((X55 - Int (ite + (ite (>= 0 X54) 0 X54))) @@ -1898,28 +1764,24 @@ 20)) (let ((X56 - Bool (= top.impl.usr.zz176 20))) (let - ((X57 Int 0)) + ((X57 0)) (let ((X58 - Int (+ X57 1))) (let ((X59 - Int (ite top.usr.accelResume X58 0))) (let ((X60 - Int (ite (>= 0 @@ -1937,7 +1799,6 @@ 20)) (let ((X61 - Bool (= top.impl.usr.zz170 20))) @@ -1947,7 +1808,6 @@ true) (let ((X62 - Int (ite (not (= X6 1)) @@ -1955,26 +1815,22 @@ X6))) (let ((X63 - Bool (or X24 X7))) (let ((X64 - Int (ite X43 X49 X45))) (let ((X65 - Bool (or X43 X32))) (let ((X66 - Bool (and (= X64 8) (and @@ -1996,21 +1852,18 @@ (not X65))))) (let ((X67 - Int (ite (= X64 8) 2 X64))) (let ((X68 - Int (ite X66 X67 X64))) (let ((X69 - Int (ite (not (and @@ -2024,7 +1877,6 @@ X68))) (let ((X70 - Bool (and (not (and @@ -2043,7 +1895,6 @@ 6))))) (let ((X71 - Int (ite (not (= X69 4)) @@ -2051,27 +1902,23 @@ X69))) (let ((X72 - Int (ite X70 X71 X69))) (let ((X73 - Int (ite X66 X72 X68))) (let ((X74 - Bool (or X66 X65))) (let ((X75 - Bool (and (= X73 7) (and @@ -2093,21 +1940,18 @@ (not X74))))) (let ((X76 - Int (ite (= X73 7) 2 X73))) (let ((X77 - Int (ite X75 X76 X73))) (let ((X78 - Int (ite (not (and @@ -2121,7 +1965,6 @@ X77))) (let ((X79 - Bool (and (not (and @@ -2140,7 +1983,6 @@ 6))))) (let ((X80 - Int (ite (not (= X78 4)) @@ -2148,27 +1990,23 @@ X78))) (let ((X81 - Int (ite X79 X80 X78))) (let ((X82 - Int (ite X75 X81 X77))) (let ((X83 - Bool (or X75 X74))) (let ((X84 - Bool (and (= X82 4) (not @@ -2180,21 +2018,18 @@ 0))))) (let ((X85 - Int (ite (= X82 4) 3 X82))) (let ((X86 - Int (ite X84 X85 X82))) (let ((X87 - Int (ite (not (= X86 4)) @@ -2202,14 +2037,12 @@ X86))) (let ((X88 - Int (ite X84 X87 X86))) (let ((X89 - Bool (and (= X88 4) (and @@ -2223,21 +2056,18 @@ (not X84))))) (let ((X90 - Int (ite (= X88 4) 3 X88))) (let ((X91 - Int (ite X89 X90 X88))) (let ((X92 - Int (ite (not (= X91 5)) @@ -2245,20 +2075,17 @@ X91))) (let ((X93 - Int (ite X89 X92 X91))) (let ((X94 - Bool (or X89 X84))) (let ((X95 - Bool (and (= X93 4) (and @@ -2272,21 +2099,18 @@ (not X94))))) (let ((X96 - Int (ite (= X93 4) 3 X93))) (let ((X97 - Int (ite X95 X96 X93))) (let ((X98 - Int (ite (not (= X97 6)) @@ -2294,20 +2118,17 @@ X97))) (let ((X99 - Int (ite X95 X98 X97))) (let ((X100 - Bool (or X95 X94))) (let ((X101 - Bool (and (= X99 6) (and @@ -2323,21 +2144,18 @@ X100))))) (let ((X102 - Int (ite (= X99 6) 3 X99))) (let ((X103 - Int (ite X101 X102 X99))) (let ((X104 - Int (ite (not (= @@ -2347,20 +2165,17 @@ X103))) (let ((X105 - Int (ite X101 X104 X103))) (let ((X106 - Bool (or X101 X100))) (let ((X107 - Bool (and (= X105 @@ -2378,7 +2193,6 @@ X106))))) (let ((X108 - Int (ite (= X105 @@ -2387,14 +2201,12 @@ X105))) (let ((X109 - Int (ite X107 X108 X105))) (let ((X110 - Int (ite (not (= @@ -2404,14 +2216,12 @@ X109))) (let ((X111 - Int (ite X107 X110 X109))) (let ((X112 - Int (ite (and (not X83) @@ -2426,7 +2236,6 @@ X82))) (let ((X113 - Int (ite (and (not X63) @@ -2445,7 +2254,6 @@ true) (let ((X114 - Int (ite top.impl.usr.SP3c (ite @@ -2504,129 +2312,129 @@ ) Bool (let - ((X1 Bool (>= top.usr.carSpeed! 15.0))) + ((X1 (>= top.usr.carSpeed! 15.0))) (let - ((X2 Bool (= top.usr.carGear! 3))) + ((X2 (= top.usr.carGear! 3))) (let ((X3 - Bool (and + (and (and (and (and (not top.usr.cancel!) (not top.usr.brakePedal!)) X2) X1) top.usr.validInputs!))) (let - ((X4 Bool top.impl.usr.zz183)) + ((X4 top.impl.usr.zz183)) (and (= top.impl.usr.zz183! top.usr.decelSet!) (let - ((X5 Bool (and (not X4) top.impl.usr.zz183!))) + ((X5 (and (not X4) top.impl.usr.zz183!))) (let - ((X6 Int top.impl.usr.zz161)) + ((X6 top.impl.usr.zz161)) (let - ((X7 Bool (and (and (>= X6 2) (<= X6 8)) (not top.usr.onOff!)))) + ((X7 (and (and (>= X6 2) (<= X6 8)) (not top.usr.onOff!)))) (let - ((X8 Int (ite (= X6 4) 3 X6))) + ((X8 (ite (= X6 4) 3 X6))) (let - ((X9 Int (ite (and (>= X6 3) (<= X6 6)) X8 X6))) + ((X9 (ite (and (>= X6 3) (<= X6 6)) X8 X6))) (let - ((X10 Int (ite (= X9 5) 3 X9))) + ((X10 (ite (= X9 5) 3 X9))) (let - ((X11 Int (ite (and (>= X6 3) (<= X6 6)) X10 X9))) + ((X11 (ite (and (>= X6 3) (<= X6 6)) X10 X9))) (let - ((X12 Int (ite (= X11 6) 3 X11))) + ((X12 (ite (= X11 6) 3 X11))) (let - ((X13 Int (ite (and (>= X6 3) (<= X6 6)) X12 X11))) + ((X13 (ite (and (>= X6 3) (<= X6 6)) X12 X11))) (let - ((X14 Int (ite (and (>= X6 3) (<= X6 6)) 2 X13))) + ((X14 (ite (and (>= X6 3) (<= X6 6)) 2 X13))) (let - ((X15 Int (ite (and (>= X6 2) (<= X6 8)) X14 X6))) + ((X15 (ite (and (>= X6 2) (<= X6 8)) X14 X6))) (let - ((X16 Int (ite (= X15 7) 2 X15))) + ((X16 (ite (= X15 7) 2 X15))) (let - ((X17 Int (ite (and (>= X6 2) (<= X6 8)) X16 X15))) + ((X17 (ite (and (>= X6 2) (<= X6 8)) X16 X15))) (let - ((X18 Int (ite (= X17 8) 2 X17))) + ((X18 (ite (= X17 8) 2 X17))) (let - ((X19 Int (ite (and (>= X6 2) (<= X6 8)) X18 X17))) + ((X19 (ite (and (>= X6 2) (<= X6 8)) X18 X17))) (let - ((X20 Int (ite (and (>= X6 2) (<= X6 8)) 0 X19))) + ((X20 (ite (and (>= X6 2) (<= X6 8)) 0 X19))) (let - ((X21 Int (ite X7 X20 X6))) + ((X21 (ite X7 X20 X6))) (let - ((X22 Int (ite (not (= X21 1)) 1 X21))) + ((X22 (ite (not (= X21 1)) 1 X21))) (let - ((X23 Int (ite X7 X22 X21))) + ((X23 (ite X7 X22 X21))) (let ((X24 - Bool (and + (and (= X23 1) (and top.usr.onOff! (not X7))))) (let - ((X25 Int (ite (= X23 1) 0 X23))) + ((X25 (ite (= X23 1) 0 X23))) (let - ((X26 Int (ite X24 X25 X23))) + ((X26 (ite X24 X25 X23))) (let ((X27 - Int (ite + (ite (not (and (>= X26 2) (<= X26 8))) 2 X26))) (let ((X28 - Bool (and + (and (not (and (>= X26 2) (<= X26 8))) (and (>= X27 2) (<= X27 8))))) (let - ((X29 Int (ite (not (= X27 7)) 7 X27))) + ((X29 (ite (not (= X27 7)) 7 X27))) (let - ((X30 Int (ite X28 X29 X27))) + ((X30 (ite X28 X29 X27))) (let - ((X31 Int (ite X24 X30 X26))) + ((X31 (ite X24 X30 X26))) (let ((X32 - Bool (and + (and (and (>= X31 3) (<= X31 6)) (not X3)))) (let - ((X33 Int (ite (= X31 4) 3 X31))) + ((X33 (ite (= X31 4) 3 X31))) (let ((X34 - Int (ite + (ite (and (>= X31 3) (<= X31 6)) X33 X31))) (let - ((X35 Int (ite (= X34 5) 3 X34))) + ((X35 (ite (= X34 5) 3 X34))) (let ((X36 - Int (ite + (ite (and (>= X31 3) (<= X31 6)) X35 X34))) (let - ((X37 Int (ite (= X36 6) 3 X36))) + ((X37 (ite (= X36 6) 3 X36))) (let ((X38 - Int (ite + (ite (and (>= X31 3) (<= X31 6)) X37 X36))) (let ((X39 - Int (ite + (ite (and (>= X31 3) (<= X31 6)) 2 X38))) (let - ((X40 Int (ite X32 X39 X31))) + ((X40 (ite X32 X39 X31))) (let ((X41 - Int (ite (not (= X40 8)) 8 X40))) + (ite (not (= X40 8)) 8 X40))) (let - ((X42 Int (ite X32 X41 X40))) + ((X42 (ite X32 X41 X40))) (let ((X43 - Bool (and + (and (= X42 8) (and (and @@ -2641,12 +2449,12 @@ (not X32))))) (let ((X44 - Int (ite (= X42 8) 2 X42))) + (ite (= X42 8) 2 X42))) (let - ((X45 Int (ite X43 X44 X42))) + ((X45 (ite X43 X44 X42))) (let ((X46 - Int (ite + (ite (not (and (>= X45 3) @@ -2655,7 +2463,7 @@ X45))) (let ((X47 - Bool (and + (and (not (and (>= X45 3) @@ -2665,13 +2473,13 @@ (<= X46 6))))) (let ((X48 - Int (ite + (ite (not (= X46 4)) 4 X46))) (let ((X49 - Int (ite X47 X48 X46))) + (ite X47 X48 X46))) (and (= top.usr.OK! @@ -2682,31 +2490,31 @@ (= X49 6)))) (let ((X50 - Bool top.impl.usr.zz178)) + top.impl.usr.zz178)) (and (= top.impl.usr.zz178! top.usr.accelResume!) (let ((X51 - Bool (and + (and (not X50) top.impl.usr.zz178!))) (let ((X52 - Int top.impl.usr.zz176)) + top.impl.usr.zz176)) (let ((X53 - Int (+ X52 1))) + (+ X52 1))) (let ((X54 - Int (ite + (ite top.usr.decelSet! X53 0))) (let ((X55 - Int (ite + (ite (>= 0 X54) 0 X54))) @@ -2719,29 +2527,25 @@ 20)) (let ((X56 - Bool (= top.impl.usr.zz176! 20))) (let ((X57 - Int top.impl.usr.zz170)) + top.impl.usr.zz170)) (let ((X58 - Int (+ X57 1))) (let ((X59 - Int (ite top.usr.accelResume! X58 0))) (let ((X60 - Int (ite (>= 0 @@ -2759,7 +2563,6 @@ 20)) (let ((X61 - Bool (= top.impl.usr.zz170! 20))) @@ -2772,7 +2575,6 @@ top.impl.usr.zz155)) (let ((X62 - Int (ite (not (= X6 1)) @@ -2780,26 +2582,22 @@ X6))) (let ((X63 - Bool (or X24 X7))) (let ((X64 - Int (ite X43 X49 X45))) (let ((X65 - Bool (or X43 X32))) (let ((X66 - Bool (and (= X64 8) (and @@ -2821,21 +2619,18 @@ (not X65))))) (let ((X67 - Int (ite (= X64 8) 2 X64))) (let ((X68 - Int (ite X66 X67 X64))) (let ((X69 - Int (ite (not (and @@ -2849,7 +2644,6 @@ X68))) (let ((X70 - Bool (and (not (and @@ -2868,7 +2662,6 @@ 6))))) (let ((X71 - Int (ite (not (= X69 4)) @@ -2876,27 +2669,23 @@ X69))) (let ((X72 - Int (ite X70 X71 X69))) (let ((X73 - Int (ite X66 X72 X68))) (let ((X74 - Bool (or X66 X65))) (let ((X75 - Bool (and (= X73 7) (and @@ -2918,21 +2707,18 @@ (not X74))))) (let ((X76 - Int (ite (= X73 7) 2 X73))) (let ((X77 - Int (ite X75 X76 X73))) (let ((X78 - Int (ite (not (and @@ -2946,7 +2732,6 @@ X77))) (let ((X79 - Bool (and (not (and @@ -2965,7 +2750,6 @@ 6))))) (let ((X80 - Int (ite (not (= X78 4)) @@ -2973,27 +2757,23 @@ X78))) (let ((X81 - Int (ite X79 X80 X78))) (let ((X82 - Int (ite X75 X81 X77))) (let ((X83 - Bool (or X75 X74))) (let ((X84 - Bool (and (= X82 4) (not @@ -3005,21 +2785,18 @@ 0))))) (let ((X85 - Int (ite (= X82 4) 3 X82))) (let ((X86 - Int (ite X84 X85 X82))) (let ((X87 - Int (ite (not (= X86 4)) @@ -3027,14 +2804,12 @@ X86))) (let ((X88 - Int (ite X84 X87 X86))) (let ((X89 - Bool (and (= X88 4) (and @@ -3048,21 +2823,18 @@ (not X84))))) (let ((X90 - Int (ite (= X88 4) 3 X88))) (let ((X91 - Int (ite X89 X90 X88))) (let ((X92 - Int (ite (not (= X91 5)) @@ -3070,20 +2842,17 @@ X91))) (let ((X93 - Int (ite X89 X92 X91))) (let ((X94 - Bool (or X89 X84))) (let ((X95 - Bool (and (= X93 4) (and @@ -3097,21 +2866,18 @@ (not X94))))) (let ((X96 - Int (ite (= X93 4) 3 X93))) (let ((X97 - Int (ite X95 X96 X93))) (let ((X98 - Int (ite (not (= X97 6)) @@ -3119,20 +2885,17 @@ X97))) (let ((X99 - Int (ite X95 X98 X97))) (let ((X100 - Bool (or X95 X94))) (let ((X101 - Bool (and (= X99 6) (and @@ -3148,21 +2911,18 @@ X100))))) (let ((X102 - Int (ite (= X99 6) 3 X99))) (let ((X103 - Int (ite X101 X102 X99))) (let ((X104 - Int (ite (not (= @@ -3172,20 +2932,17 @@ X103))) (let ((X105 - Int (ite X101 X104 X103))) (let ((X106 - Bool (or X101 X100))) (let ((X107 - Bool (and (= X105 @@ -3203,7 +2960,6 @@ X106))))) (let ((X108 - Int (ite (= X105 @@ -3212,14 +2968,12 @@ X105))) (let ((X109 - Int (ite X107 X108 X105))) (let ((X110 - Int (ite (not (= @@ -3229,14 +2983,12 @@ X109))) (let ((X111 - Int (ite X107 X110 X109))) (let ((X112 - Int (ite (and (not X83) @@ -3251,7 +3003,6 @@ X82))) (let ((X113 - Int (ite (and (not X63) @@ -3270,7 +3021,6 @@ true) (let ((X114 - Int (ite top.impl.usr.SP3c! (ite diff --git a/lib-nonconforming/Inv_Track/andrew_lustre/ccp04.lus.sl b/lib/Inv_Track/andrew_lustre/ccp04.lus.sl similarity index 86% rename from lib-nonconforming/Inv_Track/andrew_lustre/ccp04.lus.sl rename to lib/Inv_Track/andrew_lustre/ccp04.lus.sl index 003984a9..8e900101 100644 --- a/lib-nonconforming/Inv_Track/andrew_lustre/ccp04.lus.sl +++ b/lib/Inv_Track/andrew_lustre/ccp04.lus.sl @@ -22,60 +22,60 @@ ) Bool (let - ((X1 Int 0)) + ((X1 0)) (let - ((X2 Bool (and (and (>= X1 2) (<= X1 8)) (not top.usr.onOff_a_0)))) + ((X2 (and (and (>= X1 2) (<= X1 8)) (not top.usr.onOff_a_0)))) (let - ((X3 Int (ite (= X1 4) 3 X1))) + ((X3 (ite (= X1 4) 3 X1))) (let - ((X4 Int (ite (and (>= X1 3) (<= X1 6)) X3 X1))) + ((X4 (ite (and (>= X1 3) (<= X1 6)) X3 X1))) (let - ((X5 Int (ite (= X4 5) 3 X4))) + ((X5 (ite (= X4 5) 3 X4))) (let - ((X6 Int (ite (and (>= X1 3) (<= X1 6)) X5 X4))) + ((X6 (ite (and (>= X1 3) (<= X1 6)) X5 X4))) (let - ((X7 Int (ite (= X6 6) 3 X6))) + ((X7 (ite (= X6 6) 3 X6))) (let - ((X8 Int (ite (and (>= X1 3) (<= X1 6)) X7 X6))) + ((X8 (ite (and (>= X1 3) (<= X1 6)) X7 X6))) (let - ((X9 Int (ite (and (>= X1 3) (<= X1 6)) 2 X8))) + ((X9 (ite (and (>= X1 3) (<= X1 6)) 2 X8))) (let - ((X10 Int (ite (and (>= X1 2) (<= X1 8)) X9 X1))) + ((X10 (ite (and (>= X1 2) (<= X1 8)) X9 X1))) (let - ((X11 Int (ite (= X10 7) 2 X10))) + ((X11 (ite (= X10 7) 2 X10))) (let - ((X12 Int (ite (and (>= X1 2) (<= X1 8)) X11 X10))) + ((X12 (ite (and (>= X1 2) (<= X1 8)) X11 X10))) (let - ((X13 Int (ite (= X12 8) 2 X12))) + ((X13 (ite (= X12 8) 2 X12))) (let - ((X14 Int (ite (and (>= X1 2) (<= X1 8)) X13 X12))) + ((X14 (ite (and (>= X1 2) (<= X1 8)) X13 X12))) (let - ((X15 Int (ite (and (>= X1 2) (<= X1 8)) 0 X14))) + ((X15 (ite (and (>= X1 2) (<= X1 8)) 0 X14))) (let - ((X16 Int (ite X2 X15 X1))) + ((X16 (ite X2 X15 X1))) (let - ((X17 Int (ite (not (= X16 1)) 1 X16))) + ((X17 (ite (not (= X16 1)) 1 X16))) (let - ((X18 Int (ite X2 X17 X16))) + ((X18 (ite X2 X17 X16))) (let ((X19 - Bool (and (= X18 1) (and top.usr.onOff_a_0 (not X2))))) + (and (= X18 1) (and top.usr.onOff_a_0 (not X2))))) (let - ((X20 Int (ite (= X18 1) 0 X18))) + ((X20 (ite (= X18 1) 0 X18))) (let - ((X21 Int (ite X19 X20 X18))) + ((X21 (ite X19 X20 X18))) (let ((X22 - Int (ite (not (and (>= X21 2) (<= X21 8))) 2 X21))) + (ite (not (and (>= X21 2) (<= X21 8))) 2 X21))) (let ((X23 - Bool (and + (and (not (and (>= X21 2) (<= X21 8))) (and (>= X22 2) (<= X22 8))))) (let - ((X24 Int (ite (not (= X22 7)) 7 X22))) + ((X24 (ite (not (= X22 7)) 7 X22))) (let - ((X25 Int (ite X23 X24 X22))) + ((X25 (ite X23 X24 X22))) (and (= top.usr.OK_a_0 @@ -83,12 +83,12 @@ (and (>= X25 3) (<= X25 6)) (or (= X25 7) (= X25 8)))) (let - ((X26 Bool (>= top.usr.carSpeed_a_0 15.0))) + ((X26 (>= top.usr.carSpeed_a_0 15.0))) (let - ((X27 Bool (= top.usr.carGear_a_0 3))) + ((X27 (= top.usr.carGear_a_0 3))) (let ((X28 - Bool (and + (and (and (and (and @@ -98,59 +98,59 @@ X26) top.usr.validInputs_a_0))) (let - ((X29 Bool true)) + ((X29 true)) (and (= top.impl.usr.zz183_a_0 top.usr.decelSet_a_0) (let ((X30 - Bool (and (not X29) top.impl.usr.zz183_a_0))) + (and (not X29) top.impl.usr.zz183_a_0))) (let - ((X31 Bool true)) + ((X31 true)) (and (= top.impl.usr.zz178_a_0 top.usr.accelResume_a_0) (let ((X32 - Bool (and + (and (not X31) top.impl.usr.zz178_a_0))) (let - ((X33 Int 0)) + ((X33 0)) (let - ((X34 Int (+ X33 1))) + ((X34 (+ X33 1))) (let ((X35 - Int (ite top.usr.decelSet_a_0 X34 0))) + (ite top.usr.decelSet_a_0 X34 0))) (let - ((X36 Int (ite (>= 0 X35) 0 X35))) + ((X36 (ite (>= 0 X35) 0 X35))) (and (= top.impl.usr.zz176_a_0 (ite (<= X36 20) X36 20)) (let ((X37 - Bool (= top.impl.usr.zz176_a_0 20))) + (= top.impl.usr.zz176_a_0 20))) (let - ((X38 Int 0)) + ((X38 0)) (let - ((X39 Int (+ X38 1))) + ((X39 (+ X38 1))) (let ((X40 - Int (ite + (ite top.usr.accelResume_a_0 X39 0))) (let ((X41 - Int (ite (>= 0 X40) 0 X40))) + (ite (>= 0 X40) 0 X40))) (and (= top.impl.usr.zz170_a_0 (ite (<= X41 20) X41 20)) (let ((X42 - Bool (= + (= top.impl.usr.zz170_a_0 20))) (and @@ -159,31 +159,31 @@ true) (let ((X43 - Int (ite + (ite (not (= X1 1)) 1 X1))) (let ((X44 - Int (ite X19 X25 X21))) + (ite X19 X25 X21))) (let - ((X45 Bool (or X19 X2))) + ((X45 (or X19 X2))) (let ((X46 - Bool (and + (and (and (>= X44 3) (<= X44 6)) (not X28)))) (let ((X47 - Int (ite + (ite (= X44 4) 3 X44))) (let ((X48 - Int (ite + (ite (and (>= X44 3) (<= X44 6)) @@ -191,13 +191,13 @@ X44))) (let ((X49 - Int (ite + (ite (= X48 5) 3 X48))) (let ((X50 - Int (ite + (ite (and (>= X44 3) (<= X44 6)) @@ -205,13 +205,13 @@ X48))) (let ((X51 - Int (ite + (ite (= X50 6) 3 X50))) (let ((X52 - Int (ite + (ite (and (>= X44 @@ -223,7 +223,7 @@ X50))) (let ((X53 - Int (ite + (ite (and (>= X44 @@ -235,13 +235,12 @@ X52))) (let ((X54 - Int (ite + (ite X46 X53 X44))) (let ((X55 - Int (ite (not (= X54 8)) @@ -249,14 +248,12 @@ X54))) (let ((X56 - Int (ite X46 X55 X54))) (let ((X57 - Bool (and (= X56 8) (and @@ -278,21 +275,18 @@ (not X46))))) (let ((X58 - Int (ite (= X56 8) 2 X56))) (let ((X59 - Int (ite X57 X58 X56))) (let ((X60 - Int (ite (not (and @@ -306,7 +300,6 @@ X59))) (let ((X61 - Bool (and (not (and @@ -325,7 +318,6 @@ 6))))) (let ((X62 - Int (ite (not (= X60 4)) @@ -333,27 +325,23 @@ X60))) (let ((X63 - Int (ite X61 X62 X60))) (let ((X64 - Int (ite X57 X63 X59))) (let ((X65 - Bool (or X57 X46))) (let ((X66 - Bool (and (= X64 8) (and @@ -375,21 +363,18 @@ (not X65))))) (let ((X67 - Int (ite (= X64 8) 2 X64))) (let ((X68 - Int (ite X66 X67 X64))) (let ((X69 - Int (ite (not (and @@ -403,7 +388,6 @@ X68))) (let ((X70 - Bool (and (not (and @@ -422,7 +406,6 @@ 6))))) (let ((X71 - Int (ite (not (= X69 4)) @@ -430,27 +413,23 @@ X69))) (let ((X72 - Int (ite X70 X71 X69))) (let ((X73 - Int (ite X66 X72 X68))) (let ((X74 - Bool (or X66 X65))) (let ((X75 - Bool (and (= X73 7) (and @@ -472,21 +451,18 @@ (not X74))))) (let ((X76 - Int (ite (= X73 7) 2 X73))) (let ((X77 - Int (ite X75 X76 X73))) (let ((X78 - Int (ite (not (and @@ -500,7 +476,6 @@ X77))) (let ((X79 - Bool (and (not (and @@ -519,7 +494,6 @@ 6))))) (let ((X80 - Int (ite (not (= X78 4)) @@ -527,27 +501,23 @@ X78))) (let ((X81 - Int (ite X79 X80 X78))) (let ((X82 - Int (ite X75 X81 X77))) (let ((X83 - Bool (or X75 X74))) (let ((X84 - Bool (and (= X82 4) (not @@ -559,21 +529,18 @@ 0))))) (let ((X85 - Int (ite (= X82 4) 3 X82))) (let ((X86 - Int (ite X84 X85 X82))) (let ((X87 - Int (ite (not (= X86 4)) @@ -581,14 +548,12 @@ X86))) (let ((X88 - Int (ite X84 X87 X86))) (let ((X89 - Bool (and (= X88 4) (and @@ -602,21 +567,18 @@ (not X84))))) (let ((X90 - Int (ite (= X88 4) 3 X88))) (let ((X91 - Int (ite X89 X90 X88))) (let ((X92 - Int (ite (not (= X91 5)) @@ -624,20 +586,17 @@ X91))) (let ((X93 - Int (ite X89 X92 X91))) (let ((X94 - Bool (or X89 X84))) (let ((X95 - Bool (and (= X93 4) (and @@ -651,21 +610,18 @@ (not X94))))) (let ((X96 - Int (ite (= X93 4) 3 X93))) (let ((X97 - Int (ite X95 X96 X93))) (let ((X98 - Int (ite (not (= X97 6)) @@ -673,20 +629,17 @@ X97))) (let ((X99 - Int (ite X95 X98 X97))) (let ((X100 - Bool (or X95 X94))) (let ((X101 - Bool (and (= X99 6) (and @@ -702,21 +655,18 @@ X100))))) (let ((X102 - Int (ite (= X99 6) 3 X99))) (let ((X103 - Int (ite X101 X102 X99))) (let ((X104 - Int (ite (not (= @@ -726,20 +676,17 @@ X103))) (let ((X105 - Int (ite X101 X104 X103))) (let ((X106 - Bool (or X101 X100))) (let ((X107 - Bool (and (= X105 @@ -757,7 +704,6 @@ X106))))) (let ((X108 - Int (ite (= X105 @@ -766,14 +712,12 @@ X105))) (let ((X109 - Int (ite X107 X108 X105))) (let ((X110 - Int (ite (not (= @@ -783,14 +727,12 @@ X109))) (let ((X111 - Int (ite X107 X110 X109))) (let ((X112 - Int (ite (and (not X83) @@ -805,7 +747,6 @@ X82))) (let ((X113 - Int (ite (and (not X45) @@ -824,7 +765,6 @@ true) (let ((X114 - Int (ite top.impl.usr.SP3c_a_0 (ite @@ -878,60 +818,60 @@ ) Bool (let - ((X1 Int top.impl.usr.zz161_a_0)) + ((X1 top.impl.usr.zz161_a_0)) (let - ((X2 Bool (and (and (>= X1 2) (<= X1 8)) (not top.usr.onOff_a_1)))) + ((X2 (and (and (>= X1 2) (<= X1 8)) (not top.usr.onOff_a_1)))) (let - ((X3 Int (ite (= X1 4) 3 X1))) + ((X3 (ite (= X1 4) 3 X1))) (let - ((X4 Int (ite (and (>= X1 3) (<= X1 6)) X3 X1))) + ((X4 (ite (and (>= X1 3) (<= X1 6)) X3 X1))) (let - ((X5 Int (ite (= X4 5) 3 X4))) + ((X5 (ite (= X4 5) 3 X4))) (let - ((X6 Int (ite (and (>= X1 3) (<= X1 6)) X5 X4))) + ((X6 (ite (and (>= X1 3) (<= X1 6)) X5 X4))) (let - ((X7 Int (ite (= X6 6) 3 X6))) + ((X7 (ite (= X6 6) 3 X6))) (let - ((X8 Int (ite (and (>= X1 3) (<= X1 6)) X7 X6))) + ((X8 (ite (and (>= X1 3) (<= X1 6)) X7 X6))) (let - ((X9 Int (ite (and (>= X1 3) (<= X1 6)) 2 X8))) + ((X9 (ite (and (>= X1 3) (<= X1 6)) 2 X8))) (let - ((X10 Int (ite (and (>= X1 2) (<= X1 8)) X9 X1))) + ((X10 (ite (and (>= X1 2) (<= X1 8)) X9 X1))) (let - ((X11 Int (ite (= X10 7) 2 X10))) + ((X11 (ite (= X10 7) 2 X10))) (let - ((X12 Int (ite (and (>= X1 2) (<= X1 8)) X11 X10))) + ((X12 (ite (and (>= X1 2) (<= X1 8)) X11 X10))) (let - ((X13 Int (ite (= X12 8) 2 X12))) + ((X13 (ite (= X12 8) 2 X12))) (let - ((X14 Int (ite (and (>= X1 2) (<= X1 8)) X13 X12))) + ((X14 (ite (and (>= X1 2) (<= X1 8)) X13 X12))) (let - ((X15 Int (ite (and (>= X1 2) (<= X1 8)) 0 X14))) + ((X15 (ite (and (>= X1 2) (<= X1 8)) 0 X14))) (let - ((X16 Int (ite X2 X15 X1))) + ((X16 (ite X2 X15 X1))) (let - ((X17 Int (ite (not (= X16 1)) 1 X16))) + ((X17 (ite (not (= X16 1)) 1 X16))) (let - ((X18 Int (ite X2 X17 X16))) + ((X18 (ite X2 X17 X16))) (let ((X19 - Bool (and (= X18 1) (and top.usr.onOff_a_1 (not X2))))) + (and (= X18 1) (and top.usr.onOff_a_1 (not X2))))) (let - ((X20 Int (ite (= X18 1) 0 X18))) + ((X20 (ite (= X18 1) 0 X18))) (let - ((X21 Int (ite X19 X20 X18))) + ((X21 (ite X19 X20 X18))) (let ((X22 - Int (ite (not (and (>= X21 2) (<= X21 8))) 2 X21))) + (ite (not (and (>= X21 2) (<= X21 8))) 2 X21))) (let ((X23 - Bool (and + (and (not (and (>= X21 2) (<= X21 8))) (and (>= X22 2) (<= X22 8))))) (let - ((X24 Int (ite (not (= X22 7)) 7 X22))) + ((X24 (ite (not (= X22 7)) 7 X22))) (let - ((X25 Int (ite X23 X24 X22))) + ((X25 (ite X23 X24 X22))) (and (= top.usr.OK_a_1 @@ -939,12 +879,12 @@ (and (>= X25 3) (<= X25 6)) (or (= X25 7) (= X25 8)))) (let - ((X26 Bool (>= top.usr.carSpeed_a_1 15.0))) + ((X26 (>= top.usr.carSpeed_a_1 15.0))) (let - ((X27 Bool (= top.usr.carGear_a_1 3))) + ((X27 (= top.usr.carGear_a_1 3))) (let ((X28 - Bool (and + (and (and (and (and @@ -954,59 +894,59 @@ X26) top.usr.validInputs_a_1))) (let - ((X29 Bool top.impl.usr.zz183_a_0)) + ((X29 top.impl.usr.zz183_a_0)) (and (= top.impl.usr.zz183_a_1 top.usr.decelSet_a_1) (let ((X30 - Bool (and (not X29) top.impl.usr.zz183_a_1))) + (and (not X29) top.impl.usr.zz183_a_1))) (let - ((X31 Bool top.impl.usr.zz178_a_0)) + ((X31 top.impl.usr.zz178_a_0)) (and (= top.impl.usr.zz178_a_1 top.usr.accelResume_a_1) (let ((X32 - Bool (and + (and (not X31) top.impl.usr.zz178_a_1))) (let - ((X33 Int top.impl.usr.zz176_a_0)) + ((X33 top.impl.usr.zz176_a_0)) (let - ((X34 Int (+ X33 1))) + ((X34 (+ X33 1))) (let ((X35 - Int (ite top.usr.decelSet_a_1 X34 0))) + (ite top.usr.decelSet_a_1 X34 0))) (let - ((X36 Int (ite (>= 0 X35) 0 X35))) + ((X36 (ite (>= 0 X35) 0 X35))) (and (= top.impl.usr.zz176_a_1 (ite (<= X36 20) X36 20)) (let ((X37 - Bool (= top.impl.usr.zz176_a_1 20))) + (= top.impl.usr.zz176_a_1 20))) (let - ((X38 Int top.impl.usr.zz170_a_0)) + ((X38 top.impl.usr.zz170_a_0)) (let - ((X39 Int (+ X38 1))) + ((X39 (+ X38 1))) (let ((X40 - Int (ite + (ite top.usr.accelResume_a_1 X39 0))) (let ((X41 - Int (ite (>= 0 X40) 0 X40))) + (ite (>= 0 X40) 0 X40))) (and (= top.impl.usr.zz170_a_1 (ite (<= X41 20) X41 20)) (let ((X42 - Bool (= + (= top.impl.usr.zz170_a_1 20))) (and @@ -1018,31 +958,31 @@ top.impl.usr.zz155_a_0)) (let ((X43 - Int (ite + (ite (not (= X1 1)) 1 X1))) (let ((X44 - Int (ite X19 X25 X21))) + (ite X19 X25 X21))) (let - ((X45 Bool (or X19 X2))) + ((X45 (or X19 X2))) (let ((X46 - Bool (and + (and (and (>= X44 3) (<= X44 6)) (not X28)))) (let ((X47 - Int (ite + (ite (= X44 4) 3 X44))) (let ((X48 - Int (ite + (ite (and (>= X44 3) (<= X44 6)) @@ -1050,13 +990,13 @@ X44))) (let ((X49 - Int (ite + (ite (= X48 5) 3 X48))) (let ((X50 - Int (ite + (ite (and (>= X44 3) (<= X44 6)) @@ -1064,13 +1004,13 @@ X48))) (let ((X51 - Int (ite + (ite (= X50 6) 3 X50))) (let ((X52 - Int (ite + (ite (and (>= X44 @@ -1082,7 +1022,7 @@ X50))) (let ((X53 - Int (ite + (ite (and (>= X44 @@ -1094,13 +1034,12 @@ X52))) (let ((X54 - Int (ite + (ite X46 X53 X44))) (let ((X55 - Int (ite (not (= X54 8)) @@ -1108,14 +1047,12 @@ X54))) (let ((X56 - Int (ite X46 X55 X54))) (let ((X57 - Bool (and (= X56 8) (and @@ -1137,21 +1074,18 @@ (not X46))))) (let ((X58 - Int (ite (= X56 8) 2 X56))) (let ((X59 - Int (ite X57 X58 X56))) (let ((X60 - Int (ite (not (and @@ -1165,7 +1099,6 @@ X59))) (let ((X61 - Bool (and (not (and @@ -1184,7 +1117,6 @@ 6))))) (let ((X62 - Int (ite (not (= X60 4)) @@ -1192,27 +1124,23 @@ X60))) (let ((X63 - Int (ite X61 X62 X60))) (let ((X64 - Int (ite X57 X63 X59))) (let ((X65 - Bool (or X57 X46))) (let ((X66 - Bool (and (= X64 8) (and @@ -1234,21 +1162,18 @@ (not X65))))) (let ((X67 - Int (ite (= X64 8) 2 X64))) (let ((X68 - Int (ite X66 X67 X64))) (let ((X69 - Int (ite (not (and @@ -1262,7 +1187,6 @@ X68))) (let ((X70 - Bool (and (not (and @@ -1281,7 +1205,6 @@ 6))))) (let ((X71 - Int (ite (not (= X69 4)) @@ -1289,27 +1212,23 @@ X69))) (let ((X72 - Int (ite X70 X71 X69))) (let ((X73 - Int (ite X66 X72 X68))) (let ((X74 - Bool (or X66 X65))) (let ((X75 - Bool (and (= X73 7) (and @@ -1331,21 +1250,18 @@ (not X74))))) (let ((X76 - Int (ite (= X73 7) 2 X73))) (let ((X77 - Int (ite X75 X76 X73))) (let ((X78 - Int (ite (not (and @@ -1359,7 +1275,6 @@ X77))) (let ((X79 - Bool (and (not (and @@ -1378,7 +1293,6 @@ 6))))) (let ((X80 - Int (ite (not (= X78 4)) @@ -1386,27 +1300,23 @@ X78))) (let ((X81 - Int (ite X79 X80 X78))) (let ((X82 - Int (ite X75 X81 X77))) (let ((X83 - Bool (or X75 X74))) (let ((X84 - Bool (and (= X82 4) (not @@ -1418,21 +1328,18 @@ 0))))) (let ((X85 - Int (ite (= X82 4) 3 X82))) (let ((X86 - Int (ite X84 X85 X82))) (let ((X87 - Int (ite (not (= X86 4)) @@ -1440,14 +1347,12 @@ X86))) (let ((X88 - Int (ite X84 X87 X86))) (let ((X89 - Bool (and (= X88 4) (and @@ -1461,21 +1366,18 @@ (not X84))))) (let ((X90 - Int (ite (= X88 4) 3 X88))) (let ((X91 - Int (ite X89 X90 X88))) (let ((X92 - Int (ite (not (= X91 5)) @@ -1483,20 +1385,17 @@ X91))) (let ((X93 - Int (ite X89 X92 X91))) (let ((X94 - Bool (or X89 X84))) (let ((X95 - Bool (and (= X93 4) (and @@ -1510,21 +1409,18 @@ (not X94))))) (let ((X96 - Int (ite (= X93 4) 3 X93))) (let ((X97 - Int (ite X95 X96 X93))) (let ((X98 - Int (ite (not (= X97 6)) @@ -1532,20 +1428,17 @@ X97))) (let ((X99 - Int (ite X95 X98 X97))) (let ((X100 - Bool (or X95 X94))) (let ((X101 - Bool (and (= X99 6) (and @@ -1561,21 +1454,18 @@ X100))))) (let ((X102 - Int (ite (= X99 6) 3 X99))) (let ((X103 - Int (ite X101 X102 X99))) (let ((X104 - Int (ite (not (= @@ -1585,20 +1475,17 @@ X103))) (let ((X105 - Int (ite X101 X104 X103))) (let ((X106 - Bool (or X101 X100))) (let ((X107 - Bool (and (= X105 @@ -1616,7 +1503,6 @@ X106))))) (let ((X108 - Int (ite (= X105 @@ -1625,14 +1511,12 @@ X105))) (let ((X109 - Int (ite X107 X108 X105))) (let ((X110 - Int (ite (not (= @@ -1642,14 +1526,12 @@ X109))) (let ((X111 - Int (ite X107 X110 X109))) (let ((X112 - Int (ite (and (not X83) @@ -1664,7 +1546,6 @@ X82))) (let ((X113 - Int (ite (and (not X45) @@ -1683,7 +1564,6 @@ true) (let ((X114 - Int (ite top.impl.usr.SP3c_a_1 (ite @@ -1722,24 +1602,6 @@ )) -(declare-primed-var top.usr.onOff Bool) -(declare-primed-var top.usr.decelSet Bool) -(declare-primed-var top.usr.accelResume Bool) -(declare-primed-var top.usr.cancel Bool) -(declare-primed-var top.usr.brakePedal Bool) -(declare-primed-var top.usr.carGear Int) -(declare-primed-var top.usr.carSpeed Real) -(declare-primed-var top.usr.validInputs Bool) -(declare-primed-var top.usr.OK Bool) -(declare-primed-var top.res.init_flag Bool) -(declare-primed-var top.impl.usr.SP3c Bool) -(declare-primed-var top.impl.usr.zz155 Bool) -(declare-primed-var top.impl.usr.zz161 Int) -(declare-primed-var top.impl.usr.zz170 Int) -(declare-primed-var top.impl.usr.zz176 Int) -(declare-primed-var top.impl.usr.zz178 Bool) -(declare-primed-var top.impl.usr.zz183 Bool) - (define-fun init ( (top.usr.onOff Bool) @@ -1762,59 +1624,59 @@ ) Bool (let - ((X1 Int 0)) + ((X1 0)) (let - ((X2 Bool (and (and (>= X1 2) (<= X1 8)) (not top.usr.onOff)))) + ((X2 (and (and (>= X1 2) (<= X1 8)) (not top.usr.onOff)))) (let - ((X3 Int (ite (= X1 4) 3 X1))) + ((X3 (ite (= X1 4) 3 X1))) (let - ((X4 Int (ite (and (>= X1 3) (<= X1 6)) X3 X1))) + ((X4 (ite (and (>= X1 3) (<= X1 6)) X3 X1))) (let - ((X5 Int (ite (= X4 5) 3 X4))) + ((X5 (ite (= X4 5) 3 X4))) (let - ((X6 Int (ite (and (>= X1 3) (<= X1 6)) X5 X4))) + ((X6 (ite (and (>= X1 3) (<= X1 6)) X5 X4))) (let - ((X7 Int (ite (= X6 6) 3 X6))) + ((X7 (ite (= X6 6) 3 X6))) (let - ((X8 Int (ite (and (>= X1 3) (<= X1 6)) X7 X6))) + ((X8 (ite (and (>= X1 3) (<= X1 6)) X7 X6))) (let - ((X9 Int (ite (and (>= X1 3) (<= X1 6)) 2 X8))) + ((X9 (ite (and (>= X1 3) (<= X1 6)) 2 X8))) (let - ((X10 Int (ite (and (>= X1 2) (<= X1 8)) X9 X1))) + ((X10 (ite (and (>= X1 2) (<= X1 8)) X9 X1))) (let - ((X11 Int (ite (= X10 7) 2 X10))) + ((X11 (ite (= X10 7) 2 X10))) (let - ((X12 Int (ite (and (>= X1 2) (<= X1 8)) X11 X10))) + ((X12 (ite (and (>= X1 2) (<= X1 8)) X11 X10))) (let - ((X13 Int (ite (= X12 8) 2 X12))) + ((X13 (ite (= X12 8) 2 X12))) (let - ((X14 Int (ite (and (>= X1 2) (<= X1 8)) X13 X12))) + ((X14 (ite (and (>= X1 2) (<= X1 8)) X13 X12))) (let - ((X15 Int (ite (and (>= X1 2) (<= X1 8)) 0 X14))) + ((X15 (ite (and (>= X1 2) (<= X1 8)) 0 X14))) (let - ((X16 Int (ite X2 X15 X1))) + ((X16 (ite X2 X15 X1))) (let - ((X17 Int (ite (not (= X16 1)) 1 X16))) + ((X17 (ite (not (= X16 1)) 1 X16))) (let - ((X18 Int (ite X2 X17 X16))) + ((X18 (ite X2 X17 X16))) (let - ((X19 Bool (and (= X18 1) (and top.usr.onOff (not X2))))) + ((X19 (and (= X18 1) (and top.usr.onOff (not X2))))) (let - ((X20 Int (ite (= X18 1) 0 X18))) + ((X20 (ite (= X18 1) 0 X18))) (let - ((X21 Int (ite X19 X20 X18))) + ((X21 (ite X19 X20 X18))) (let ((X22 - Int (ite (not (and (>= X21 2) (<= X21 8))) 2 X21))) + (ite (not (and (>= X21 2) (<= X21 8))) 2 X21))) (let ((X23 - Bool (and + (and (not (and (>= X21 2) (<= X21 8))) (and (>= X22 2) (<= X22 8))))) (let - ((X24 Int (ite (not (= X22 7)) 7 X22))) + ((X24 (ite (not (= X22 7)) 7 X22))) (let - ((X25 Int (ite X23 X24 X22))) + ((X25 (ite X23 X24 X22))) (and (= top.usr.OK @@ -1822,12 +1684,12 @@ (and (>= X25 3) (<= X25 6)) (or (= X25 7) (= X25 8)))) (let - ((X26 Bool (>= top.usr.carSpeed 15.0))) + ((X26 (>= top.usr.carSpeed 15.0))) (let - ((X27 Bool (= top.usr.carGear 3))) + ((X27 (= top.usr.carGear 3))) (let ((X28 - Bool (and + (and (and (and (and @@ -1837,90 +1699,90 @@ X26) top.usr.validInputs))) (let - ((X29 Bool true)) + ((X29 true)) (and (= top.impl.usr.zz183 top.usr.decelSet) (let ((X30 - Bool (and (not X29) top.impl.usr.zz183))) + (and (not X29) top.impl.usr.zz183))) (let - ((X31 Bool true)) + ((X31 true)) (and (= top.impl.usr.zz178 top.usr.accelResume) (let ((X32 - Bool (and + (and (not X31) top.impl.usr.zz178))) (let - ((X33 Int 0)) + ((X33 0)) (let - ((X34 Int (+ X33 1))) + ((X34 (+ X33 1))) (let ((X35 - Int (ite top.usr.decelSet X34 0))) + (ite top.usr.decelSet X34 0))) (let - ((X36 Int (ite (>= 0 X35) 0 X35))) + ((X36 (ite (>= 0 X35) 0 X35))) (and (= top.impl.usr.zz176 (ite (<= X36 20) X36 20)) (let ((X37 - Bool (= top.impl.usr.zz176 20))) + (= top.impl.usr.zz176 20))) (let - ((X38 Int 0)) + ((X38 0)) (let - ((X39 Int (+ X38 1))) + ((X39 (+ X38 1))) (let ((X40 - Int (ite + (ite top.usr.accelResume X39 0))) (let ((X41 - Int (ite (>= 0 X40) 0 X40))) + (ite (>= 0 X40) 0 X40))) (and (= top.impl.usr.zz170 (ite (<= X41 20) X41 20)) (let ((X42 - Bool (= + (= top.impl.usr.zz170 20))) (and (= top.impl.usr.zz155 true) (let ((X43 - Int (ite + (ite (not (= X1 1)) 1 X1))) (let ((X44 - Int (ite X19 X25 X21))) + (ite X19 X25 X21))) (let - ((X45 Bool (or X19 X2))) + ((X45 (or X19 X2))) (let ((X46 - Bool (and + (and (and (>= X44 3) (<= X44 6)) (not X28)))) (let ((X47 - Int (ite + (ite (= X44 4) 3 X44))) (let ((X48 - Int (ite + (ite (and (>= X44 3) (<= X44 6)) @@ -1928,13 +1790,13 @@ X44))) (let ((X49 - Int (ite + (ite (= X48 5) 3 X48))) (let ((X50 - Int (ite + (ite (and (>= X44 3) (<= X44 6)) @@ -1942,13 +1804,13 @@ X48))) (let ((X51 - Int (ite + (ite (= X50 6) 3 X50))) (let ((X52 - Int (ite + (ite (and (>= X44 @@ -1960,7 +1822,7 @@ X50))) (let ((X53 - Int (ite + (ite (and (>= X44 @@ -1972,13 +1834,12 @@ X52))) (let ((X54 - Int (ite + (ite X46 X53 X44))) (let ((X55 - Int (ite (not (= X54 8)) @@ -1986,14 +1847,12 @@ X54))) (let ((X56 - Int (ite X46 X55 X54))) (let ((X57 - Bool (and (= X56 8) (and @@ -2015,21 +1874,18 @@ (not X46))))) (let ((X58 - Int (ite (= X56 8) 2 X56))) (let ((X59 - Int (ite X57 X58 X56))) (let ((X60 - Int (ite (not (and @@ -2043,7 +1899,6 @@ X59))) (let ((X61 - Bool (and (not (and @@ -2062,7 +1917,6 @@ 6))))) (let ((X62 - Int (ite (not (= X60 4)) @@ -2070,27 +1924,23 @@ X60))) (let ((X63 - Int (ite X61 X62 X60))) (let ((X64 - Int (ite X57 X63 X59))) (let ((X65 - Bool (or X57 X46))) (let ((X66 - Bool (and (= X64 8) (and @@ -2112,21 +1962,18 @@ (not X65))))) (let ((X67 - Int (ite (= X64 8) 2 X64))) (let ((X68 - Int (ite X66 X67 X64))) (let ((X69 - Int (ite (not (and @@ -2140,7 +1987,6 @@ X68))) (let ((X70 - Bool (and (not (and @@ -2159,7 +2005,6 @@ 6))))) (let ((X71 - Int (ite (not (= X69 4)) @@ -2167,27 +2012,23 @@ X69))) (let ((X72 - Int (ite X70 X71 X69))) (let ((X73 - Int (ite X66 X72 X68))) (let ((X74 - Bool (or X66 X65))) (let ((X75 - Bool (and (= X73 7) (and @@ -2209,21 +2050,18 @@ (not X74))))) (let ((X76 - Int (ite (= X73 7) 2 X73))) (let ((X77 - Int (ite X75 X76 X73))) (let ((X78 - Int (ite (not (and @@ -2237,7 +2075,6 @@ X77))) (let ((X79 - Bool (and (not (and @@ -2256,7 +2093,6 @@ 6))))) (let ((X80 - Int (ite (not (= X78 4)) @@ -2264,27 +2100,23 @@ X78))) (let ((X81 - Int (ite X79 X80 X78))) (let ((X82 - Int (ite X75 X81 X77))) (let ((X83 - Bool (or X75 X74))) (let ((X84 - Bool (and (= X82 4) (not @@ -2296,21 +2128,18 @@ 0))))) (let ((X85 - Int (ite (= X82 4) 3 X82))) (let ((X86 - Int (ite X84 X85 X82))) (let ((X87 - Int (ite (not (= X86 4)) @@ -2318,14 +2147,12 @@ X86))) (let ((X88 - Int (ite X84 X87 X86))) (let ((X89 - Bool (and (= X88 4) (and @@ -2339,21 +2166,18 @@ (not X84))))) (let ((X90 - Int (ite (= X88 4) 3 X88))) (let ((X91 - Int (ite X89 X90 X88))) (let ((X92 - Int (ite (not (= X91 5)) @@ -2361,20 +2185,17 @@ X91))) (let ((X93 - Int (ite X89 X92 X91))) (let ((X94 - Bool (or X89 X84))) (let ((X95 - Bool (and (= X93 4) (and @@ -2388,21 +2209,18 @@ (not X94))))) (let ((X96 - Int (ite (= X93 4) 3 X93))) (let ((X97 - Int (ite X95 X96 X93))) (let ((X98 - Int (ite (not (= X97 6)) @@ -2410,20 +2228,17 @@ X97))) (let ((X99 - Int (ite X95 X98 X97))) (let ((X100 - Bool (or X95 X94))) (let ((X101 - Bool (and (= X99 6) (and @@ -2439,21 +2254,18 @@ X100))))) (let ((X102 - Int (ite (= X99 6) 3 X99))) (let ((X103 - Int (ite X101 X102 X99))) (let ((X104 - Int (ite (not (= @@ -2463,20 +2275,17 @@ X103))) (let ((X105 - Int (ite X101 X104 X103))) (let ((X106 - Bool (or X101 X100))) (let ((X107 - Bool (and (= X105 @@ -2494,7 +2303,6 @@ X106))))) (let ((X108 - Int (ite (= X105 @@ -2503,14 +2311,12 @@ X105))) (let ((X109 - Int (ite X107 X108 X105))) (let ((X110 - Int (ite (not (= @@ -2520,14 +2326,12 @@ X109))) (let ((X111 - Int (ite X107 X110 X109))) (let ((X112 - Int (ite (and (not X83) @@ -2542,7 +2346,6 @@ X82))) (let ((X113 - Int (ite (and (not X45) @@ -2561,7 +2364,6 @@ true) (let ((X114 - Int (ite top.impl.usr.SP3c (ite @@ -2620,60 +2422,60 @@ ) Bool (let - ((X1 Int top.impl.usr.zz161)) + ((X1 top.impl.usr.zz161)) (let - ((X2 Bool (and (and (>= X1 2) (<= X1 8)) (not top.usr.onOff!)))) + ((X2 (and (and (>= X1 2) (<= X1 8)) (not top.usr.onOff!)))) (let - ((X3 Int (ite (= X1 4) 3 X1))) + ((X3 (ite (= X1 4) 3 X1))) (let - ((X4 Int (ite (and (>= X1 3) (<= X1 6)) X3 X1))) + ((X4 (ite (and (>= X1 3) (<= X1 6)) X3 X1))) (let - ((X5 Int (ite (= X4 5) 3 X4))) + ((X5 (ite (= X4 5) 3 X4))) (let - ((X6 Int (ite (and (>= X1 3) (<= X1 6)) X5 X4))) + ((X6 (ite (and (>= X1 3) (<= X1 6)) X5 X4))) (let - ((X7 Int (ite (= X6 6) 3 X6))) + ((X7 (ite (= X6 6) 3 X6))) (let - ((X8 Int (ite (and (>= X1 3) (<= X1 6)) X7 X6))) + ((X8 (ite (and (>= X1 3) (<= X1 6)) X7 X6))) (let - ((X9 Int (ite (and (>= X1 3) (<= X1 6)) 2 X8))) + ((X9 (ite (and (>= X1 3) (<= X1 6)) 2 X8))) (let - ((X10 Int (ite (and (>= X1 2) (<= X1 8)) X9 X1))) + ((X10 (ite (and (>= X1 2) (<= X1 8)) X9 X1))) (let - ((X11 Int (ite (= X10 7) 2 X10))) + ((X11 (ite (= X10 7) 2 X10))) (let - ((X12 Int (ite (and (>= X1 2) (<= X1 8)) X11 X10))) + ((X12 (ite (and (>= X1 2) (<= X1 8)) X11 X10))) (let - ((X13 Int (ite (= X12 8) 2 X12))) + ((X13 (ite (= X12 8) 2 X12))) (let - ((X14 Int (ite (and (>= X1 2) (<= X1 8)) X13 X12))) + ((X14 (ite (and (>= X1 2) (<= X1 8)) X13 X12))) (let - ((X15 Int (ite (and (>= X1 2) (<= X1 8)) 0 X14))) + ((X15 (ite (and (>= X1 2) (<= X1 8)) 0 X14))) (let - ((X16 Int (ite X2 X15 X1))) + ((X16 (ite X2 X15 X1))) (let - ((X17 Int (ite (not (= X16 1)) 1 X16))) + ((X17 (ite (not (= X16 1)) 1 X16))) (let - ((X18 Int (ite X2 X17 X16))) + ((X18 (ite X2 X17 X16))) (let ((X19 - Bool (and (= X18 1) (and top.usr.onOff! (not X2))))) + (and (= X18 1) (and top.usr.onOff! (not X2))))) (let - ((X20 Int (ite (= X18 1) 0 X18))) + ((X20 (ite (= X18 1) 0 X18))) (let - ((X21 Int (ite X19 X20 X18))) + ((X21 (ite X19 X20 X18))) (let ((X22 - Int (ite (not (and (>= X21 2) (<= X21 8))) 2 X21))) + (ite (not (and (>= X21 2) (<= X21 8))) 2 X21))) (let ((X23 - Bool (and + (and (not (and (>= X21 2) (<= X21 8))) (and (>= X22 2) (<= X22 8))))) (let - ((X24 Int (ite (not (= X22 7)) 7 X22))) + ((X24 (ite (not (= X22 7)) 7 X22))) (let - ((X25 Int (ite X23 X24 X22))) + ((X25 (ite X23 X24 X22))) (and (= top.usr.OK! @@ -2681,12 +2483,12 @@ (and (>= X25 3) (<= X25 6)) (or (= X25 7) (= X25 8)))) (let - ((X26 Bool (>= top.usr.carSpeed! 15.0))) + ((X26 (>= top.usr.carSpeed! 15.0))) (let - ((X27 Bool (= top.usr.carGear! 3))) + ((X27 (= top.usr.carGear! 3))) (let ((X28 - Bool (and + (and (and (and (and @@ -2696,59 +2498,59 @@ X26) top.usr.validInputs!))) (let - ((X29 Bool top.impl.usr.zz183)) + ((X29 top.impl.usr.zz183)) (and (= top.impl.usr.zz183! top.usr.decelSet!) (let ((X30 - Bool (and (not X29) top.impl.usr.zz183!))) + (and (not X29) top.impl.usr.zz183!))) (let - ((X31 Bool top.impl.usr.zz178)) + ((X31 top.impl.usr.zz178)) (and (= top.impl.usr.zz178! top.usr.accelResume!) (let ((X32 - Bool (and + (and (not X31) top.impl.usr.zz178!))) (let - ((X33 Int top.impl.usr.zz176)) + ((X33 top.impl.usr.zz176)) (let - ((X34 Int (+ X33 1))) + ((X34 (+ X33 1))) (let ((X35 - Int (ite top.usr.decelSet! X34 0))) + (ite top.usr.decelSet! X34 0))) (let - ((X36 Int (ite (>= 0 X35) 0 X35))) + ((X36 (ite (>= 0 X35) 0 X35))) (and (= top.impl.usr.zz176! (ite (<= X36 20) X36 20)) (let ((X37 - Bool (= top.impl.usr.zz176! 20))) + (= top.impl.usr.zz176! 20))) (let - ((X38 Int top.impl.usr.zz170)) + ((X38 top.impl.usr.zz170)) (let - ((X39 Int (+ X38 1))) + ((X39 (+ X38 1))) (let ((X40 - Int (ite + (ite top.usr.accelResume! X39 0))) (let ((X41 - Int (ite (>= 0 X40) 0 X40))) + (ite (>= 0 X40) 0 X40))) (and (= top.impl.usr.zz170! (ite (<= X41 20) X41 20)) (let ((X42 - Bool (= + (= top.impl.usr.zz170! 20))) (and @@ -2760,31 +2562,31 @@ top.impl.usr.zz155)) (let ((X43 - Int (ite + (ite (not (= X1 1)) 1 X1))) (let ((X44 - Int (ite X19 X25 X21))) + (ite X19 X25 X21))) (let - ((X45 Bool (or X19 X2))) + ((X45 (or X19 X2))) (let ((X46 - Bool (and + (and (and (>= X44 3) (<= X44 6)) (not X28)))) (let ((X47 - Int (ite + (ite (= X44 4) 3 X44))) (let ((X48 - Int (ite + (ite (and (>= X44 3) (<= X44 6)) @@ -2792,13 +2594,13 @@ X44))) (let ((X49 - Int (ite + (ite (= X48 5) 3 X48))) (let ((X50 - Int (ite + (ite (and (>= X44 3) (<= X44 6)) @@ -2806,13 +2608,13 @@ X48))) (let ((X51 - Int (ite + (ite (= X50 6) 3 X50))) (let ((X52 - Int (ite + (ite (and (>= X44 @@ -2824,7 +2626,7 @@ X50))) (let ((X53 - Int (ite + (ite (and (>= X44 @@ -2836,13 +2638,12 @@ X52))) (let ((X54 - Int (ite + (ite X46 X53 X44))) (let ((X55 - Int (ite (not (= X54 8)) @@ -2850,14 +2651,12 @@ X54))) (let ((X56 - Int (ite X46 X55 X54))) (let ((X57 - Bool (and (= X56 8) (and @@ -2879,21 +2678,18 @@ (not X46))))) (let ((X58 - Int (ite (= X56 8) 2 X56))) (let ((X59 - Int (ite X57 X58 X56))) (let ((X60 - Int (ite (not (and @@ -2907,7 +2703,6 @@ X59))) (let ((X61 - Bool (and (not (and @@ -2926,7 +2721,6 @@ 6))))) (let ((X62 - Int (ite (not (= X60 4)) @@ -2934,27 +2728,23 @@ X60))) (let ((X63 - Int (ite X61 X62 X60))) (let ((X64 - Int (ite X57 X63 X59))) (let ((X65 - Bool (or X57 X46))) (let ((X66 - Bool (and (= X64 8) (and @@ -2976,21 +2766,18 @@ (not X65))))) (let ((X67 - Int (ite (= X64 8) 2 X64))) (let ((X68 - Int (ite X66 X67 X64))) (let ((X69 - Int (ite (not (and @@ -3004,7 +2791,6 @@ X68))) (let ((X70 - Bool (and (not (and @@ -3023,7 +2809,6 @@ 6))))) (let ((X71 - Int (ite (not (= X69 4)) @@ -3031,27 +2816,23 @@ X69))) (let ((X72 - Int (ite X70 X71 X69))) (let ((X73 - Int (ite X66 X72 X68))) (let ((X74 - Bool (or X66 X65))) (let ((X75 - Bool (and (= X73 7) (and @@ -3073,21 +2854,18 @@ (not X74))))) (let ((X76 - Int (ite (= X73 7) 2 X73))) (let ((X77 - Int (ite X75 X76 X73))) (let ((X78 - Int (ite (not (and @@ -3101,7 +2879,6 @@ X77))) (let ((X79 - Bool (and (not (and @@ -3120,7 +2897,6 @@ 6))))) (let ((X80 - Int (ite (not (= X78 4)) @@ -3128,27 +2904,23 @@ X78))) (let ((X81 - Int (ite X79 X80 X78))) (let ((X82 - Int (ite X75 X81 X77))) (let ((X83 - Bool (or X75 X74))) (let ((X84 - Bool (and (= X82 4) (not @@ -3160,21 +2932,18 @@ 0))))) (let ((X85 - Int (ite (= X82 4) 3 X82))) (let ((X86 - Int (ite X84 X85 X82))) (let ((X87 - Int (ite (not (= X86 4)) @@ -3182,14 +2951,12 @@ X86))) (let ((X88 - Int (ite X84 X87 X86))) (let ((X89 - Bool (and (= X88 4) (and @@ -3203,21 +2970,18 @@ (not X84))))) (let ((X90 - Int (ite (= X88 4) 3 X88))) (let ((X91 - Int (ite X89 X90 X88))) (let ((X92 - Int (ite (not (= X91 5)) @@ -3225,20 +2989,17 @@ X91))) (let ((X93 - Int (ite X89 X92 X91))) (let ((X94 - Bool (or X89 X84))) (let ((X95 - Bool (and (= X93 4) (and @@ -3252,21 +3013,18 @@ (not X94))))) (let ((X96 - Int (ite (= X93 4) 3 X93))) (let ((X97 - Int (ite X95 X96 X93))) (let ((X98 - Int (ite (not (= X97 6)) @@ -3274,20 +3032,17 @@ X97))) (let ((X99 - Int (ite X95 X98 X97))) (let ((X100 - Bool (or X95 X94))) (let ((X101 - Bool (and (= X99 6) (and @@ -3303,21 +3058,18 @@ X100))))) (let ((X102 - Int (ite (= X99 6) 3 X99))) (let ((X103 - Int (ite X101 X102 X99))) (let ((X104 - Int (ite (not (= @@ -3327,20 +3079,17 @@ X103))) (let ((X105 - Int (ite X101 X104 X103))) (let ((X106 - Bool (or X101 X100))) (let ((X107 - Bool (and (= X105 @@ -3358,7 +3107,6 @@ X106))))) (let ((X108 - Int (ite (= X105 @@ -3367,14 +3115,12 @@ X105))) (let ((X109 - Int (ite X107 X108 X105))) (let ((X110 - Int (ite (not (= @@ -3384,14 +3130,12 @@ X109))) (let ((X111 - Int (ite X107 X110 X109))) (let ((X112 - Int (ite (and (not X83) @@ -3406,7 +3150,6 @@ X82))) (let ((X113 - Int (ite (and (not X45) @@ -3425,7 +3168,6 @@ true) (let ((X114 - Int (ite top.impl.usr.SP3c! (ite diff --git a/lib-nonconforming/Inv_Track/andrew_lustre/ccp05.lus.sl b/lib/Inv_Track/andrew_lustre/ccp05.lus.sl similarity index 86% rename from lib-nonconforming/Inv_Track/andrew_lustre/ccp05.lus.sl rename to lib/Inv_Track/andrew_lustre/ccp05.lus.sl index de09200e..28bf001b 100644 --- a/lib-nonconforming/Inv_Track/andrew_lustre/ccp05.lus.sl +++ b/lib/Inv_Track/andrew_lustre/ccp05.lus.sl @@ -22,18 +22,18 @@ ) Bool (let - ((X1 Int 0)) + ((X1 0)) (let - ((X2 Int (ite (not (= X1 1)) 1 X1))) + ((X2 (ite (not (= X1 1)) 1 X1))) (and (= top.usr.OK_a_0 (or (= X2 1) (and (>= X2 2) (<= X2 8)))) (let - ((X3 Bool (>= top.usr.carSpeed_a_0 15.0))) + ((X3 (>= top.usr.carSpeed_a_0 15.0))) (let - ((X4 Bool (= top.usr.carGear_a_0 3))) + ((X4 (= top.usr.carGear_a_0 3))) (let ((X5 - Bool (and + (and (and (and (and (not top.usr.cancel_a_0) (not top.usr.brakePedal_a_0)) @@ -41,122 +41,122 @@ X3) top.usr.validInputs_a_0))) (let - ((X6 Bool true)) + ((X6 true)) (and (= top.impl.usr.zz183_a_0 top.usr.decelSet_a_0) (let - ((X7 Bool (and (not X6) top.impl.usr.zz183_a_0))) + ((X7 (and (not X6) top.impl.usr.zz183_a_0))) (let - ((X8 Bool true)) + ((X8 true)) (and (= top.impl.usr.zz178_a_0 top.usr.accelResume_a_0) (let - ((X9 Bool (and (not X8) top.impl.usr.zz178_a_0))) + ((X9 (and (not X8) top.impl.usr.zz178_a_0))) (let - ((X10 Int 0)) + ((X10 0)) (let - ((X11 Int (+ X10 1))) + ((X11 (+ X10 1))) (let - ((X12 Int (ite top.usr.decelSet_a_0 X11 0))) + ((X12 (ite top.usr.decelSet_a_0 X11 0))) (let - ((X13 Int (ite (>= 0 X12) 0 X12))) + ((X13 (ite (>= 0 X12) 0 X12))) (and (= top.impl.usr.zz176_a_0 (ite (<= X13 20) X13 20)) (let - ((X14 Bool (= top.impl.usr.zz176_a_0 20))) + ((X14 (= top.impl.usr.zz176_a_0 20))) (let - ((X15 Int 0)) + ((X15 0)) (let - ((X16 Int (+ X15 1))) + ((X16 (+ X15 1))) (let - ((X17 Int (ite top.usr.accelResume_a_0 X16 0))) + ((X17 (ite top.usr.accelResume_a_0 X16 0))) (let - ((X18 Int (ite (>= 0 X17) 0 X17))) + ((X18 (ite (>= 0 X17) 0 X17))) (and (= top.impl.usr.zz170_a_0 (ite (<= X18 20) X18 20)) (let - ((X19 Bool (= top.impl.usr.zz170_a_0 20))) + ((X19 (= top.impl.usr.zz170_a_0 20))) (and (= top.impl.usr.zz155_a_0 true) (let ((X20 - Bool (and + (and (and (>= X1 2) (<= X1 8)) (not top.usr.onOff_a_0)))) (let - ((X21 Int (ite (= X1 4) 3 X1))) + ((X21 (ite (= X1 4) 3 X1))) (let ((X22 - Int (ite (and (>= X1 3) (<= X1 6)) X21 X1))) + (ite (and (>= X1 3) (<= X1 6)) X21 X1))) (let - ((X23 Int (ite (= X22 5) 3 X22))) + ((X23 (ite (= X22 5) 3 X22))) (let ((X24 - Int (ite (and (>= X1 3) (<= X1 6)) X23 X22))) + (ite (and (>= X1 3) (<= X1 6)) X23 X22))) (let - ((X25 Int (ite (= X24 6) 3 X24))) + ((X25 (ite (= X24 6) 3 X24))) (let ((X26 - Int (ite + (ite (and (>= X1 3) (<= X1 6)) X25 X24))) (let ((X27 - Int (ite + (ite (and (>= X1 3) (<= X1 6)) 2 X26))) (let ((X28 - Int (ite + (ite (and (>= X1 2) (<= X1 8)) X27 X1))) (let - ((X29 Int (ite (= X28 7) 2 X28))) + ((X29 (ite (= X28 7) 2 X28))) (let ((X30 - Int (ite + (ite (and (>= X1 2) (<= X1 8)) X29 X28))) (let - ((X31 Int (ite (= X30 8) 2 X30))) + ((X31 (ite (= X30 8) 2 X30))) (let ((X32 - Int (ite + (ite (and (>= X1 2) (<= X1 8)) X31 X30))) (let ((X33 - Int (ite + (ite (and (>= X1 2) (<= X1 8)) 0 X32))) (let - ((X34 Int (ite X20 X33 X1))) + ((X34 (ite X20 X33 X1))) (let ((X35 - Int (ite (not (= X34 1)) 1 X34))) + (ite (not (= X34 1)) 1 X34))) (let - ((X36 Int (ite X20 X35 X34))) + ((X36 (ite X20 X35 X34))) (let ((X37 - Bool (and + (and (= X36 1) (and top.usr.onOff_a_0 (not X20))))) (let ((X38 - Int (ite (= X36 1) 0 X36))) + (ite (= X36 1) 0 X36))) (let - ((X39 Int (ite X37 X38 X36))) + ((X39 (ite X37 X38 X36))) (let ((X40 - Int (ite + (ite (not (and (>= X39 2) @@ -165,7 +165,7 @@ X39))) (let ((X41 - Bool (and + (and (not (and (>= X39 2) @@ -175,34 +175,34 @@ (<= X40 8))))) (let ((X42 - Int (ite + (ite (not (= X40 7)) 7 X40))) (let ((X43 - Int (ite X41 X42 X40))) + (ite X41 X42 X40))) (let ((X44 - Int (ite X37 X43 X39))) + (ite X37 X43 X39))) (let - ((X45 Bool (or X37 X20))) + ((X45 (or X37 X20))) (let ((X46 - Bool (and + (and (and (>= X44 3) (<= X44 6)) (not X5)))) (let ((X47 - Int (ite + (ite (= X44 4) 3 X44))) (let ((X48 - Int (ite + (ite (and (>= X44 3) (<= X44 6)) @@ -210,13 +210,13 @@ X44))) (let ((X49 - Int (ite + (ite (= X48 5) 3 X48))) (let ((X50 - Int (ite + (ite (and (>= X44 3) (<= X44 6)) @@ -224,13 +224,13 @@ X48))) (let ((X51 - Int (ite + (ite (= X50 6) 3 X50))) (let ((X52 - Int (ite + (ite (and (>= X44 @@ -242,7 +242,7 @@ X50))) (let ((X53 - Int (ite + (ite (and (>= X44 @@ -254,13 +254,12 @@ X52))) (let ((X54 - Int (ite + (ite X46 X53 X44))) (let ((X55 - Int (ite (not (= X54 8)) @@ -268,14 +267,12 @@ X54))) (let ((X56 - Int (ite X46 X55 X54))) (let ((X57 - Bool (and (= X56 8) (and @@ -297,21 +294,18 @@ (not X46))))) (let ((X58 - Int (ite (= X56 8) 2 X56))) (let ((X59 - Int (ite X57 X58 X56))) (let ((X60 - Int (ite (not (and @@ -325,7 +319,6 @@ X59))) (let ((X61 - Bool (and (not (and @@ -344,7 +337,6 @@ 6))))) (let ((X62 - Int (ite (not (= X60 4)) @@ -352,27 +344,23 @@ X60))) (let ((X63 - Int (ite X61 X62 X60))) (let ((X64 - Int (ite X57 X63 X59))) (let ((X65 - Bool (or X57 X46))) (let ((X66 - Bool (and (= X64 8) (and @@ -394,21 +382,18 @@ (not X65))))) (let ((X67 - Int (ite (= X64 8) 2 X64))) (let ((X68 - Int (ite X66 X67 X64))) (let ((X69 - Int (ite (not (and @@ -422,7 +407,6 @@ X68))) (let ((X70 - Bool (and (not (and @@ -441,7 +425,6 @@ 6))))) (let ((X71 - Int (ite (not (= X69 4)) @@ -449,27 +432,23 @@ X69))) (let ((X72 - Int (ite X70 X71 X69))) (let ((X73 - Int (ite X66 X72 X68))) (let ((X74 - Bool (or X66 X65))) (let ((X75 - Bool (and (= X73 7) (and @@ -491,21 +470,18 @@ (not X74))))) (let ((X76 - Int (ite (= X73 7) 2 X73))) (let ((X77 - Int (ite X75 X76 X73))) (let ((X78 - Int (ite (not (and @@ -519,7 +495,6 @@ X77))) (let ((X79 - Bool (and (not (and @@ -538,7 +513,6 @@ 6))))) (let ((X80 - Int (ite (not (= X78 4)) @@ -546,27 +520,23 @@ X78))) (let ((X81 - Int (ite X79 X80 X78))) (let ((X82 - Int (ite X75 X81 X77))) (let ((X83 - Bool (or X75 X74))) (let ((X84 - Bool (and (= X82 4) (not @@ -578,21 +548,18 @@ 0))))) (let ((X85 - Int (ite (= X82 4) 3 X82))) (let ((X86 - Int (ite X84 X85 X82))) (let ((X87 - Int (ite (not (= X86 4)) @@ -600,14 +567,12 @@ X86))) (let ((X88 - Int (ite X84 X87 X86))) (let ((X89 - Bool (and (= X88 4) (and @@ -621,21 +586,18 @@ (not X84))))) (let ((X90 - Int (ite (= X88 4) 3 X88))) (let ((X91 - Int (ite X89 X90 X88))) (let ((X92 - Int (ite (not (= X91 5)) @@ -643,20 +605,17 @@ X91))) (let ((X93 - Int (ite X89 X92 X91))) (let ((X94 - Bool (or X89 X84))) (let ((X95 - Bool (and (= X93 4) (and @@ -670,21 +629,18 @@ (not X94))))) (let ((X96 - Int (ite (= X93 4) 3 X93))) (let ((X97 - Int (ite X95 X96 X93))) (let ((X98 - Int (ite (not (= X97 6)) @@ -692,20 +648,17 @@ X97))) (let ((X99 - Int (ite X95 X98 X97))) (let ((X100 - Bool (or X95 X94))) (let ((X101 - Bool (and (= X99 6) (and @@ -721,21 +674,18 @@ X100))))) (let ((X102 - Int (ite (= X99 6) 3 X99))) (let ((X103 - Int (ite X101 X102 X99))) (let ((X104 - Int (ite (not (= @@ -745,20 +695,17 @@ X103))) (let ((X105 - Int (ite X101 X104 X103))) (let ((X106 - Bool (or X101 X100))) (let ((X107 - Bool (and (= X105 @@ -776,7 +723,6 @@ X106))))) (let ((X108 - Int (ite (= X105 @@ -785,14 +731,12 @@ X105))) (let ((X109 - Int (ite X107 X108 X105))) (let ((X110 - Int (ite (not (= @@ -802,14 +746,12 @@ X109))) (let ((X111 - Int (ite X107 X110 X109))) (let ((X112 - Int (ite (and (not X83) @@ -824,7 +766,6 @@ X82))) (let ((X113 - Int (ite (and (not X45) @@ -843,7 +784,6 @@ true) (let ((X114 - Int (ite top.impl.usr.SP3c_a_0 (ite @@ -897,18 +837,18 @@ ) Bool (let - ((X1 Int top.impl.usr.zz161_a_0)) + ((X1 top.impl.usr.zz161_a_0)) (let - ((X2 Int (ite (not (= X1 1)) 1 X1))) + ((X2 (ite (not (= X1 1)) 1 X1))) (and (= top.usr.OK_a_1 (or (= X2 1) (and (>= X2 2) (<= X2 8)))) (let - ((X3 Bool (>= top.usr.carSpeed_a_1 15.0))) + ((X3 (>= top.usr.carSpeed_a_1 15.0))) (let - ((X4 Bool (= top.usr.carGear_a_1 3))) + ((X4 (= top.usr.carGear_a_1 3))) (let ((X5 - Bool (and + (and (and (and (and (not top.usr.cancel_a_1) (not top.usr.brakePedal_a_1)) @@ -916,41 +856,41 @@ X3) top.usr.validInputs_a_1))) (let - ((X6 Bool top.impl.usr.zz183_a_0)) + ((X6 top.impl.usr.zz183_a_0)) (and (= top.impl.usr.zz183_a_1 top.usr.decelSet_a_1) (let - ((X7 Bool (and (not X6) top.impl.usr.zz183_a_1))) + ((X7 (and (not X6) top.impl.usr.zz183_a_1))) (let - ((X8 Bool top.impl.usr.zz178_a_0)) + ((X8 top.impl.usr.zz178_a_0)) (and (= top.impl.usr.zz178_a_1 top.usr.accelResume_a_1) (let - ((X9 Bool (and (not X8) top.impl.usr.zz178_a_1))) + ((X9 (and (not X8) top.impl.usr.zz178_a_1))) (let - ((X10 Int top.impl.usr.zz176_a_0)) + ((X10 top.impl.usr.zz176_a_0)) (let - ((X11 Int (+ X10 1))) + ((X11 (+ X10 1))) (let - ((X12 Int (ite top.usr.decelSet_a_1 X11 0))) + ((X12 (ite top.usr.decelSet_a_1 X11 0))) (let - ((X13 Int (ite (>= 0 X12) 0 X12))) + ((X13 (ite (>= 0 X12) 0 X12))) (and (= top.impl.usr.zz176_a_1 (ite (<= X13 20) X13 20)) (let - ((X14 Bool (= top.impl.usr.zz176_a_1 20))) + ((X14 (= top.impl.usr.zz176_a_1 20))) (let - ((X15 Int top.impl.usr.zz170_a_0)) + ((X15 top.impl.usr.zz170_a_0)) (let - ((X16 Int (+ X15 1))) + ((X16 (+ X15 1))) (let - ((X17 Int (ite top.usr.accelResume_a_1 X16 0))) + ((X17 (ite top.usr.accelResume_a_1 X16 0))) (let - ((X18 Int (ite (>= 0 X17) 0 X17))) + ((X18 (ite (>= 0 X17) 0 X17))) (and (= top.impl.usr.zz170_a_1 (ite (<= X18 20) X18 20)) (let - ((X19 Bool (= top.impl.usr.zz170_a_1 20))) + ((X19 (= top.impl.usr.zz170_a_1 20))) (and (= top.impl.usr.zz155_a_1 @@ -960,83 +900,83 @@ top.impl.usr.zz155_a_0)) (let ((X20 - Bool (and + (and (and (>= X1 2) (<= X1 8)) (not top.usr.onOff_a_1)))) (let - ((X21 Int (ite (= X1 4) 3 X1))) + ((X21 (ite (= X1 4) 3 X1))) (let ((X22 - Int (ite (and (>= X1 3) (<= X1 6)) X21 X1))) + (ite (and (>= X1 3) (<= X1 6)) X21 X1))) (let - ((X23 Int (ite (= X22 5) 3 X22))) + ((X23 (ite (= X22 5) 3 X22))) (let ((X24 - Int (ite (and (>= X1 3) (<= X1 6)) X23 X22))) + (ite (and (>= X1 3) (<= X1 6)) X23 X22))) (let - ((X25 Int (ite (= X24 6) 3 X24))) + ((X25 (ite (= X24 6) 3 X24))) (let ((X26 - Int (ite + (ite (and (>= X1 3) (<= X1 6)) X25 X24))) (let ((X27 - Int (ite + (ite (and (>= X1 3) (<= X1 6)) 2 X26))) (let ((X28 - Int (ite + (ite (and (>= X1 2) (<= X1 8)) X27 X1))) (let - ((X29 Int (ite (= X28 7) 2 X28))) + ((X29 (ite (= X28 7) 2 X28))) (let ((X30 - Int (ite + (ite (and (>= X1 2) (<= X1 8)) X29 X28))) (let - ((X31 Int (ite (= X30 8) 2 X30))) + ((X31 (ite (= X30 8) 2 X30))) (let ((X32 - Int (ite + (ite (and (>= X1 2) (<= X1 8)) X31 X30))) (let ((X33 - Int (ite + (ite (and (>= X1 2) (<= X1 8)) 0 X32))) (let - ((X34 Int (ite X20 X33 X1))) + ((X34 (ite X20 X33 X1))) (let ((X35 - Int (ite (not (= X34 1)) 1 X34))) + (ite (not (= X34 1)) 1 X34))) (let - ((X36 Int (ite X20 X35 X34))) + ((X36 (ite X20 X35 X34))) (let ((X37 - Bool (and + (and (= X36 1) (and top.usr.onOff_a_1 (not X20))))) (let ((X38 - Int (ite (= X36 1) 0 X36))) + (ite (= X36 1) 0 X36))) (let - ((X39 Int (ite X37 X38 X36))) + ((X39 (ite X37 X38 X36))) (let ((X40 - Int (ite + (ite (not (and (>= X39 2) @@ -1045,7 +985,7 @@ X39))) (let ((X41 - Bool (and + (and (not (and (>= X39 2) @@ -1055,34 +995,34 @@ (<= X40 8))))) (let ((X42 - Int (ite + (ite (not (= X40 7)) 7 X40))) (let ((X43 - Int (ite X41 X42 X40))) + (ite X41 X42 X40))) (let ((X44 - Int (ite X37 X43 X39))) + (ite X37 X43 X39))) (let - ((X45 Bool (or X37 X20))) + ((X45 (or X37 X20))) (let ((X46 - Bool (and + (and (and (>= X44 3) (<= X44 6)) (not X5)))) (let ((X47 - Int (ite + (ite (= X44 4) 3 X44))) (let ((X48 - Int (ite + (ite (and (>= X44 3) (<= X44 6)) @@ -1090,13 +1030,13 @@ X44))) (let ((X49 - Int (ite + (ite (= X48 5) 3 X48))) (let ((X50 - Int (ite + (ite (and (>= X44 3) (<= X44 6)) @@ -1104,13 +1044,13 @@ X48))) (let ((X51 - Int (ite + (ite (= X50 6) 3 X50))) (let ((X52 - Int (ite + (ite (and (>= X44 @@ -1122,7 +1062,7 @@ X50))) (let ((X53 - Int (ite + (ite (and (>= X44 @@ -1134,13 +1074,12 @@ X52))) (let ((X54 - Int (ite + (ite X46 X53 X44))) (let ((X55 - Int (ite (not (= X54 8)) @@ -1148,14 +1087,12 @@ X54))) (let ((X56 - Int (ite X46 X55 X54))) (let ((X57 - Bool (and (= X56 8) (and @@ -1177,21 +1114,18 @@ (not X46))))) (let ((X58 - Int (ite (= X56 8) 2 X56))) (let ((X59 - Int (ite X57 X58 X56))) (let ((X60 - Int (ite (not (and @@ -1205,7 +1139,6 @@ X59))) (let ((X61 - Bool (and (not (and @@ -1224,7 +1157,6 @@ 6))))) (let ((X62 - Int (ite (not (= X60 4)) @@ -1232,27 +1164,23 @@ X60))) (let ((X63 - Int (ite X61 X62 X60))) (let ((X64 - Int (ite X57 X63 X59))) (let ((X65 - Bool (or X57 X46))) (let ((X66 - Bool (and (= X64 8) (and @@ -1274,21 +1202,18 @@ (not X65))))) (let ((X67 - Int (ite (= X64 8) 2 X64))) (let ((X68 - Int (ite X66 X67 X64))) (let ((X69 - Int (ite (not (and @@ -1302,7 +1227,6 @@ X68))) (let ((X70 - Bool (and (not (and @@ -1321,7 +1245,6 @@ 6))))) (let ((X71 - Int (ite (not (= X69 4)) @@ -1329,27 +1252,23 @@ X69))) (let ((X72 - Int (ite X70 X71 X69))) (let ((X73 - Int (ite X66 X72 X68))) (let ((X74 - Bool (or X66 X65))) (let ((X75 - Bool (and (= X73 7) (and @@ -1371,21 +1290,18 @@ (not X74))))) (let ((X76 - Int (ite (= X73 7) 2 X73))) (let ((X77 - Int (ite X75 X76 X73))) (let ((X78 - Int (ite (not (and @@ -1399,7 +1315,6 @@ X77))) (let ((X79 - Bool (and (not (and @@ -1418,7 +1333,6 @@ 6))))) (let ((X80 - Int (ite (not (= X78 4)) @@ -1426,27 +1340,23 @@ X78))) (let ((X81 - Int (ite X79 X80 X78))) (let ((X82 - Int (ite X75 X81 X77))) (let ((X83 - Bool (or X75 X74))) (let ((X84 - Bool (and (= X82 4) (not @@ -1458,21 +1368,18 @@ 0))))) (let ((X85 - Int (ite (= X82 4) 3 X82))) (let ((X86 - Int (ite X84 X85 X82))) (let ((X87 - Int (ite (not (= X86 4)) @@ -1480,14 +1387,12 @@ X86))) (let ((X88 - Int (ite X84 X87 X86))) (let ((X89 - Bool (and (= X88 4) (and @@ -1501,21 +1406,18 @@ (not X84))))) (let ((X90 - Int (ite (= X88 4) 3 X88))) (let ((X91 - Int (ite X89 X90 X88))) (let ((X92 - Int (ite (not (= X91 5)) @@ -1523,20 +1425,17 @@ X91))) (let ((X93 - Int (ite X89 X92 X91))) (let ((X94 - Bool (or X89 X84))) (let ((X95 - Bool (and (= X93 4) (and @@ -1550,21 +1449,18 @@ (not X94))))) (let ((X96 - Int (ite (= X93 4) 3 X93))) (let ((X97 - Int (ite X95 X96 X93))) (let ((X98 - Int (ite (not (= X97 6)) @@ -1572,20 +1468,17 @@ X97))) (let ((X99 - Int (ite X95 X98 X97))) (let ((X100 - Bool (or X95 X94))) (let ((X101 - Bool (and (= X99 6) (and @@ -1601,21 +1494,18 @@ X100))))) (let ((X102 - Int (ite (= X99 6) 3 X99))) (let ((X103 - Int (ite X101 X102 X99))) (let ((X104 - Int (ite (not (= @@ -1625,20 +1515,17 @@ X103))) (let ((X105 - Int (ite X101 X104 X103))) (let ((X106 - Bool (or X101 X100))) (let ((X107 - Bool (and (= X105 @@ -1656,7 +1543,6 @@ X106))))) (let ((X108 - Int (ite (= X105 @@ -1665,14 +1551,12 @@ X105))) (let ((X109 - Int (ite X107 X108 X105))) (let ((X110 - Int (ite (not (= @@ -1682,14 +1566,12 @@ X109))) (let ((X111 - Int (ite X107 X110 X109))) (let ((X112 - Int (ite (and (not X83) @@ -1704,7 +1586,6 @@ X82))) (let ((X113 - Int (ite (and (not X45) @@ -1723,7 +1604,6 @@ true) (let ((X114 - Int (ite top.impl.usr.SP3c_a_1 (ite @@ -1762,24 +1642,6 @@ )) -(declare-primed-var top.usr.onOff Bool) -(declare-primed-var top.usr.decelSet Bool) -(declare-primed-var top.usr.accelResume Bool) -(declare-primed-var top.usr.cancel Bool) -(declare-primed-var top.usr.brakePedal Bool) -(declare-primed-var top.usr.carGear Int) -(declare-primed-var top.usr.carSpeed Real) -(declare-primed-var top.usr.validInputs Bool) -(declare-primed-var top.usr.OK Bool) -(declare-primed-var top.res.init_flag Bool) -(declare-primed-var top.impl.usr.SP3c Bool) -(declare-primed-var top.impl.usr.zz155 Bool) -(declare-primed-var top.impl.usr.zz161 Int) -(declare-primed-var top.impl.usr.zz170 Int) -(declare-primed-var top.impl.usr.zz176 Int) -(declare-primed-var top.impl.usr.zz178 Bool) -(declare-primed-var top.impl.usr.zz183 Bool) - (define-fun init ( (top.usr.onOff Bool) @@ -1802,139 +1664,139 @@ ) Bool (let - ((X1 Int 0)) + ((X1 0)) (let - ((X2 Int (ite (not (= X1 1)) 1 X1))) + ((X2 (ite (not (= X1 1)) 1 X1))) (and (= top.usr.OK (or (= X2 1) (and (>= X2 2) (<= X2 8)))) (let - ((X3 Bool (>= top.usr.carSpeed 15.0))) + ((X3 (>= top.usr.carSpeed 15.0))) (let - ((X4 Bool (= top.usr.carGear 3))) + ((X4 (= top.usr.carGear 3))) (let ((X5 - Bool (and + (and (and (and (and (not top.usr.cancel) (not top.usr.brakePedal)) X4) X3) top.usr.validInputs))) (let - ((X6 Bool true)) + ((X6 true)) (and (= top.impl.usr.zz183 top.usr.decelSet) (let - ((X7 Bool (and (not X6) top.impl.usr.zz183))) + ((X7 (and (not X6) top.impl.usr.zz183))) (let - ((X8 Bool true)) + ((X8 true)) (and (= top.impl.usr.zz178 top.usr.accelResume) (let - ((X9 Bool (and (not X8) top.impl.usr.zz178))) + ((X9 (and (not X8) top.impl.usr.zz178))) (let - ((X10 Int 0)) + ((X10 0)) (let - ((X11 Int (+ X10 1))) + ((X11 (+ X10 1))) (let - ((X12 Int (ite top.usr.decelSet X11 0))) + ((X12 (ite top.usr.decelSet X11 0))) (let - ((X13 Int (ite (>= 0 X12) 0 X12))) + ((X13 (ite (>= 0 X12) 0 X12))) (and (= top.impl.usr.zz176 (ite (<= X13 20) X13 20)) (let - ((X14 Bool (= top.impl.usr.zz176 20))) + ((X14 (= top.impl.usr.zz176 20))) (let - ((X15 Int 0)) + ((X15 0)) (let - ((X16 Int (+ X15 1))) + ((X16 (+ X15 1))) (let - ((X17 Int (ite top.usr.accelResume X16 0))) + ((X17 (ite top.usr.accelResume X16 0))) (let - ((X18 Int (ite (>= 0 X17) 0 X17))) + ((X18 (ite (>= 0 X17) 0 X17))) (and (= top.impl.usr.zz170 (ite (<= X18 20) X18 20)) (let - ((X19 Bool (= top.impl.usr.zz170 20))) + ((X19 (= top.impl.usr.zz170 20))) (and (= top.impl.usr.zz155 true) (let ((X20 - Bool (and + (and (and (>= X1 2) (<= X1 8)) (not top.usr.onOff)))) (let - ((X21 Int (ite (= X1 4) 3 X1))) + ((X21 (ite (= X1 4) 3 X1))) (let ((X22 - Int (ite (and (>= X1 3) (<= X1 6)) X21 X1))) + (ite (and (>= X1 3) (<= X1 6)) X21 X1))) (let - ((X23 Int (ite (= X22 5) 3 X22))) + ((X23 (ite (= X22 5) 3 X22))) (let ((X24 - Int (ite (and (>= X1 3) (<= X1 6)) X23 X22))) + (ite (and (>= X1 3) (<= X1 6)) X23 X22))) (let - ((X25 Int (ite (= X24 6) 3 X24))) + ((X25 (ite (= X24 6) 3 X24))) (let ((X26 - Int (ite + (ite (and (>= X1 3) (<= X1 6)) X25 X24))) (let ((X27 - Int (ite + (ite (and (>= X1 3) (<= X1 6)) 2 X26))) (let ((X28 - Int (ite + (ite (and (>= X1 2) (<= X1 8)) X27 X1))) (let - ((X29 Int (ite (= X28 7) 2 X28))) + ((X29 (ite (= X28 7) 2 X28))) (let ((X30 - Int (ite + (ite (and (>= X1 2) (<= X1 8)) X29 X28))) (let - ((X31 Int (ite (= X30 8) 2 X30))) + ((X31 (ite (= X30 8) 2 X30))) (let ((X32 - Int (ite + (ite (and (>= X1 2) (<= X1 8)) X31 X30))) (let ((X33 - Int (ite + (ite (and (>= X1 2) (<= X1 8)) 0 X32))) (let - ((X34 Int (ite X20 X33 X1))) + ((X34 (ite X20 X33 X1))) (let ((X35 - Int (ite (not (= X34 1)) 1 X34))) + (ite (not (= X34 1)) 1 X34))) (let - ((X36 Int (ite X20 X35 X34))) + ((X36 (ite X20 X35 X34))) (let ((X37 - Bool (and + (and (= X36 1) (and top.usr.onOff (not X20))))) (let ((X38 - Int (ite (= X36 1) 0 X36))) + (ite (= X36 1) 0 X36))) (let - ((X39 Int (ite X37 X38 X36))) + ((X39 (ite X37 X38 X36))) (let ((X40 - Int (ite + (ite (not (and (>= X39 2) @@ -1943,7 +1805,7 @@ X39))) (let ((X41 - Bool (and + (and (not (and (>= X39 2) @@ -1953,34 +1815,34 @@ (<= X40 8))))) (let ((X42 - Int (ite + (ite (not (= X40 7)) 7 X40))) (let ((X43 - Int (ite X41 X42 X40))) + (ite X41 X42 X40))) (let ((X44 - Int (ite X37 X43 X39))) + (ite X37 X43 X39))) (let - ((X45 Bool (or X37 X20))) + ((X45 (or X37 X20))) (let ((X46 - Bool (and + (and (and (>= X44 3) (<= X44 6)) (not X5)))) (let ((X47 - Int (ite + (ite (= X44 4) 3 X44))) (let ((X48 - Int (ite + (ite (and (>= X44 3) (<= X44 6)) @@ -1988,13 +1850,13 @@ X44))) (let ((X49 - Int (ite + (ite (= X48 5) 3 X48))) (let ((X50 - Int (ite + (ite (and (>= X44 3) (<= X44 6)) @@ -2002,13 +1864,13 @@ X48))) (let ((X51 - Int (ite + (ite (= X50 6) 3 X50))) (let ((X52 - Int (ite + (ite (and (>= X44 @@ -2020,7 +1882,7 @@ X50))) (let ((X53 - Int (ite + (ite (and (>= X44 @@ -2032,13 +1894,12 @@ X52))) (let ((X54 - Int (ite + (ite X46 X53 X44))) (let ((X55 - Int (ite (not (= X54 8)) @@ -2046,14 +1907,12 @@ X54))) (let ((X56 - Int (ite X46 X55 X54))) (let ((X57 - Bool (and (= X56 8) (and @@ -2075,21 +1934,18 @@ (not X46))))) (let ((X58 - Int (ite (= X56 8) 2 X56))) (let ((X59 - Int (ite X57 X58 X56))) (let ((X60 - Int (ite (not (and @@ -2103,7 +1959,6 @@ X59))) (let ((X61 - Bool (and (not (and @@ -2122,7 +1977,6 @@ 6))))) (let ((X62 - Int (ite (not (= X60 4)) @@ -2130,27 +1984,23 @@ X60))) (let ((X63 - Int (ite X61 X62 X60))) (let ((X64 - Int (ite X57 X63 X59))) (let ((X65 - Bool (or X57 X46))) (let ((X66 - Bool (and (= X64 8) (and @@ -2172,21 +2022,18 @@ (not X65))))) (let ((X67 - Int (ite (= X64 8) 2 X64))) (let ((X68 - Int (ite X66 X67 X64))) (let ((X69 - Int (ite (not (and @@ -2200,7 +2047,6 @@ X68))) (let ((X70 - Bool (and (not (and @@ -2219,7 +2065,6 @@ 6))))) (let ((X71 - Int (ite (not (= X69 4)) @@ -2227,27 +2072,23 @@ X69))) (let ((X72 - Int (ite X70 X71 X69))) (let ((X73 - Int (ite X66 X72 X68))) (let ((X74 - Bool (or X66 X65))) (let ((X75 - Bool (and (= X73 7) (and @@ -2269,21 +2110,18 @@ (not X74))))) (let ((X76 - Int (ite (= X73 7) 2 X73))) (let ((X77 - Int (ite X75 X76 X73))) (let ((X78 - Int (ite (not (and @@ -2297,7 +2135,6 @@ X77))) (let ((X79 - Bool (and (not (and @@ -2316,7 +2153,6 @@ 6))))) (let ((X80 - Int (ite (not (= X78 4)) @@ -2324,27 +2160,23 @@ X78))) (let ((X81 - Int (ite X79 X80 X78))) (let ((X82 - Int (ite X75 X81 X77))) (let ((X83 - Bool (or X75 X74))) (let ((X84 - Bool (and (= X82 4) (not @@ -2356,21 +2188,18 @@ 0))))) (let ((X85 - Int (ite (= X82 4) 3 X82))) (let ((X86 - Int (ite X84 X85 X82))) (let ((X87 - Int (ite (not (= X86 4)) @@ -2378,14 +2207,12 @@ X86))) (let ((X88 - Int (ite X84 X87 X86))) (let ((X89 - Bool (and (= X88 4) (and @@ -2399,21 +2226,18 @@ (not X84))))) (let ((X90 - Int (ite (= X88 4) 3 X88))) (let ((X91 - Int (ite X89 X90 X88))) (let ((X92 - Int (ite (not (= X91 5)) @@ -2421,20 +2245,17 @@ X91))) (let ((X93 - Int (ite X89 X92 X91))) (let ((X94 - Bool (or X89 X84))) (let ((X95 - Bool (and (= X93 4) (and @@ -2448,21 +2269,18 @@ (not X94))))) (let ((X96 - Int (ite (= X93 4) 3 X93))) (let ((X97 - Int (ite X95 X96 X93))) (let ((X98 - Int (ite (not (= X97 6)) @@ -2470,20 +2288,17 @@ X97))) (let ((X99 - Int (ite X95 X98 X97))) (let ((X100 - Bool (or X95 X94))) (let ((X101 - Bool (and (= X99 6) (and @@ -2499,21 +2314,18 @@ X100))))) (let ((X102 - Int (ite (= X99 6) 3 X99))) (let ((X103 - Int (ite X101 X102 X99))) (let ((X104 - Int (ite (not (= @@ -2523,20 +2335,17 @@ X103))) (let ((X105 - Int (ite X101 X104 X103))) (let ((X106 - Bool (or X101 X100))) (let ((X107 - Bool (and (= X105 @@ -2554,7 +2363,6 @@ X106))))) (let ((X108 - Int (ite (= X105 @@ -2563,14 +2371,12 @@ X105))) (let ((X109 - Int (ite X107 X108 X105))) (let ((X110 - Int (ite (not (= @@ -2580,14 +2386,12 @@ X109))) (let ((X111 - Int (ite X107 X110 X109))) (let ((X112 - Int (ite (and (not X83) @@ -2602,7 +2406,6 @@ X82))) (let ((X113 - Int (ite (and (not X45) @@ -2621,7 +2424,6 @@ true) (let ((X114 - Int (ite top.impl.usr.SP3c (ite @@ -2680,18 +2482,18 @@ ) Bool (let - ((X1 Int top.impl.usr.zz161)) + ((X1 top.impl.usr.zz161)) (let - ((X2 Int (ite (not (= X1 1)) 1 X1))) + ((X2 (ite (not (= X1 1)) 1 X1))) (and (= top.usr.OK! (or (= X2 1) (and (>= X2 2) (<= X2 8)))) (let - ((X3 Bool (>= top.usr.carSpeed! 15.0))) + ((X3 (>= top.usr.carSpeed! 15.0))) (let - ((X4 Bool (= top.usr.carGear! 3))) + ((X4 (= top.usr.carGear! 3))) (let ((X5 - Bool (and + (and (and (and (and (not top.usr.cancel!) (not top.usr.brakePedal!)) @@ -2699,124 +2501,124 @@ X3) top.usr.validInputs!))) (let - ((X6 Bool top.impl.usr.zz183)) + ((X6 top.impl.usr.zz183)) (and (= top.impl.usr.zz183! top.usr.decelSet!) (let - ((X7 Bool (and (not X6) top.impl.usr.zz183!))) + ((X7 (and (not X6) top.impl.usr.zz183!))) (let - ((X8 Bool top.impl.usr.zz178)) + ((X8 top.impl.usr.zz178)) (and (= top.impl.usr.zz178! top.usr.accelResume!) (let - ((X9 Bool (and (not X8) top.impl.usr.zz178!))) + ((X9 (and (not X8) top.impl.usr.zz178!))) (let - ((X10 Int top.impl.usr.zz176)) + ((X10 top.impl.usr.zz176)) (let - ((X11 Int (+ X10 1))) + ((X11 (+ X10 1))) (let - ((X12 Int (ite top.usr.decelSet! X11 0))) + ((X12 (ite top.usr.decelSet! X11 0))) (let - ((X13 Int (ite (>= 0 X12) 0 X12))) + ((X13 (ite (>= 0 X12) 0 X12))) (and (= top.impl.usr.zz176! (ite (<= X13 20) X13 20)) (let - ((X14 Bool (= top.impl.usr.zz176! 20))) + ((X14 (= top.impl.usr.zz176! 20))) (let - ((X15 Int top.impl.usr.zz170)) + ((X15 top.impl.usr.zz170)) (let - ((X16 Int (+ X15 1))) + ((X16 (+ X15 1))) (let - ((X17 Int (ite top.usr.accelResume! X16 0))) + ((X17 (ite top.usr.accelResume! X16 0))) (let - ((X18 Int (ite (>= 0 X17) 0 X17))) + ((X18 (ite (>= 0 X17) 0 X17))) (and (= top.impl.usr.zz170! (ite (<= X18 20) X18 20)) (let - ((X19 Bool (= top.impl.usr.zz170! 20))) + ((X19 (= top.impl.usr.zz170! 20))) (and (= top.impl.usr.zz155! (ite top.impl.usr.SP3c false top.impl.usr.zz155)) (let ((X20 - Bool (and + (and (and (>= X1 2) (<= X1 8)) (not top.usr.onOff!)))) (let - ((X21 Int (ite (= X1 4) 3 X1))) + ((X21 (ite (= X1 4) 3 X1))) (let ((X22 - Int (ite (and (>= X1 3) (<= X1 6)) X21 X1))) + (ite (and (>= X1 3) (<= X1 6)) X21 X1))) (let - ((X23 Int (ite (= X22 5) 3 X22))) + ((X23 (ite (= X22 5) 3 X22))) (let ((X24 - Int (ite (and (>= X1 3) (<= X1 6)) X23 X22))) + (ite (and (>= X1 3) (<= X1 6)) X23 X22))) (let - ((X25 Int (ite (= X24 6) 3 X24))) + ((X25 (ite (= X24 6) 3 X24))) (let ((X26 - Int (ite + (ite (and (>= X1 3) (<= X1 6)) X25 X24))) (let ((X27 - Int (ite + (ite (and (>= X1 3) (<= X1 6)) 2 X26))) (let ((X28 - Int (ite + (ite (and (>= X1 2) (<= X1 8)) X27 X1))) (let - ((X29 Int (ite (= X28 7) 2 X28))) + ((X29 (ite (= X28 7) 2 X28))) (let ((X30 - Int (ite + (ite (and (>= X1 2) (<= X1 8)) X29 X28))) (let - ((X31 Int (ite (= X30 8) 2 X30))) + ((X31 (ite (= X30 8) 2 X30))) (let ((X32 - Int (ite + (ite (and (>= X1 2) (<= X1 8)) X31 X30))) (let ((X33 - Int (ite + (ite (and (>= X1 2) (<= X1 8)) 0 X32))) (let - ((X34 Int (ite X20 X33 X1))) + ((X34 (ite X20 X33 X1))) (let ((X35 - Int (ite (not (= X34 1)) 1 X34))) + (ite (not (= X34 1)) 1 X34))) (let - ((X36 Int (ite X20 X35 X34))) + ((X36 (ite X20 X35 X34))) (let ((X37 - Bool (and + (and (= X36 1) (and top.usr.onOff! (not X20))))) (let ((X38 - Int (ite (= X36 1) 0 X36))) + (ite (= X36 1) 0 X36))) (let - ((X39 Int (ite X37 X38 X36))) + ((X39 (ite X37 X38 X36))) (let ((X40 - Int (ite + (ite (not (and (>= X39 2) @@ -2825,7 +2627,7 @@ X39))) (let ((X41 - Bool (and + (and (not (and (>= X39 2) @@ -2835,34 +2637,34 @@ (<= X40 8))))) (let ((X42 - Int (ite + (ite (not (= X40 7)) 7 X40))) (let ((X43 - Int (ite X41 X42 X40))) + (ite X41 X42 X40))) (let ((X44 - Int (ite X37 X43 X39))) + (ite X37 X43 X39))) (let - ((X45 Bool (or X37 X20))) + ((X45 (or X37 X20))) (let ((X46 - Bool (and + (and (and (>= X44 3) (<= X44 6)) (not X5)))) (let ((X47 - Int (ite + (ite (= X44 4) 3 X44))) (let ((X48 - Int (ite + (ite (and (>= X44 3) (<= X44 6)) @@ -2870,13 +2672,13 @@ X44))) (let ((X49 - Int (ite + (ite (= X48 5) 3 X48))) (let ((X50 - Int (ite + (ite (and (>= X44 3) (<= X44 6)) @@ -2884,13 +2686,13 @@ X48))) (let ((X51 - Int (ite + (ite (= X50 6) 3 X50))) (let ((X52 - Int (ite + (ite (and (>= X44 @@ -2902,7 +2704,7 @@ X50))) (let ((X53 - Int (ite + (ite (and (>= X44 @@ -2914,13 +2716,12 @@ X52))) (let ((X54 - Int (ite + (ite X46 X53 X44))) (let ((X55 - Int (ite (not (= X54 8)) @@ -2928,14 +2729,12 @@ X54))) (let ((X56 - Int (ite X46 X55 X54))) (let ((X57 - Bool (and (= X56 8) (and @@ -2957,21 +2756,18 @@ (not X46))))) (let ((X58 - Int (ite (= X56 8) 2 X56))) (let ((X59 - Int (ite X57 X58 X56))) (let ((X60 - Int (ite (not (and @@ -2985,7 +2781,6 @@ X59))) (let ((X61 - Bool (and (not (and @@ -3004,7 +2799,6 @@ 6))))) (let ((X62 - Int (ite (not (= X60 4)) @@ -3012,27 +2806,23 @@ X60))) (let ((X63 - Int (ite X61 X62 X60))) (let ((X64 - Int (ite X57 X63 X59))) (let ((X65 - Bool (or X57 X46))) (let ((X66 - Bool (and (= X64 8) (and @@ -3054,21 +2844,18 @@ (not X65))))) (let ((X67 - Int (ite (= X64 8) 2 X64))) (let ((X68 - Int (ite X66 X67 X64))) (let ((X69 - Int (ite (not (and @@ -3082,7 +2869,6 @@ X68))) (let ((X70 - Bool (and (not (and @@ -3101,7 +2887,6 @@ 6))))) (let ((X71 - Int (ite (not (= X69 4)) @@ -3109,27 +2894,23 @@ X69))) (let ((X72 - Int (ite X70 X71 X69))) (let ((X73 - Int (ite X66 X72 X68))) (let ((X74 - Bool (or X66 X65))) (let ((X75 - Bool (and (= X73 7) (and @@ -3151,21 +2932,18 @@ (not X74))))) (let ((X76 - Int (ite (= X73 7) 2 X73))) (let ((X77 - Int (ite X75 X76 X73))) (let ((X78 - Int (ite (not (and @@ -3179,7 +2957,6 @@ X77))) (let ((X79 - Bool (and (not (and @@ -3198,7 +2975,6 @@ 6))))) (let ((X80 - Int (ite (not (= X78 4)) @@ -3206,27 +2982,23 @@ X78))) (let ((X81 - Int (ite X79 X80 X78))) (let ((X82 - Int (ite X75 X81 X77))) (let ((X83 - Bool (or X75 X74))) (let ((X84 - Bool (and (= X82 4) (not @@ -3238,21 +3010,18 @@ 0))))) (let ((X85 - Int (ite (= X82 4) 3 X82))) (let ((X86 - Int (ite X84 X85 X82))) (let ((X87 - Int (ite (not (= X86 4)) @@ -3260,14 +3029,12 @@ X86))) (let ((X88 - Int (ite X84 X87 X86))) (let ((X89 - Bool (and (= X88 4) (and @@ -3281,21 +3048,18 @@ (not X84))))) (let ((X90 - Int (ite (= X88 4) 3 X88))) (let ((X91 - Int (ite X89 X90 X88))) (let ((X92 - Int (ite (not (= X91 5)) @@ -3303,20 +3067,17 @@ X91))) (let ((X93 - Int (ite X89 X92 X91))) (let ((X94 - Bool (or X89 X84))) (let ((X95 - Bool (and (= X93 4) (and @@ -3330,21 +3091,18 @@ (not X94))))) (let ((X96 - Int (ite (= X93 4) 3 X93))) (let ((X97 - Int (ite X95 X96 X93))) (let ((X98 - Int (ite (not (= X97 6)) @@ -3352,20 +3110,17 @@ X97))) (let ((X99 - Int (ite X95 X98 X97))) (let ((X100 - Bool (or X95 X94))) (let ((X101 - Bool (and (= X99 6) (and @@ -3381,21 +3136,18 @@ X100))))) (let ((X102 - Int (ite (= X99 6) 3 X99))) (let ((X103 - Int (ite X101 X102 X99))) (let ((X104 - Int (ite (not (= @@ -3405,20 +3157,17 @@ X103))) (let ((X105 - Int (ite X101 X104 X103))) (let ((X106 - Bool (or X101 X100))) (let ((X107 - Bool (and (= X105 @@ -3436,7 +3185,6 @@ X106))))) (let ((X108 - Int (ite (= X105 @@ -3445,14 +3193,12 @@ X105))) (let ((X109 - Int (ite X107 X108 X105))) (let ((X110 - Int (ite (not (= @@ -3462,14 +3208,12 @@ X109))) (let ((X111 - Int (ite X107 X110 X109))) (let ((X112 - Int (ite (and (not X83) @@ -3484,7 +3228,6 @@ X82))) (let ((X113 - Int (ite (and (not X45) @@ -3503,7 +3246,6 @@ true) (let ((X114 - Int (ite top.impl.usr.SP3c! (ite diff --git a/lib-nonconforming/Inv_Track/andrew_lustre/ccp06.lus.sl b/lib/Inv_Track/andrew_lustre/ccp06.lus.sl similarity index 88% rename from lib-nonconforming/Inv_Track/andrew_lustre/ccp06.lus.sl rename to lib/Inv_Track/andrew_lustre/ccp06.lus.sl index 4de321c1..04ae53f5 100644 --- a/lib-nonconforming/Inv_Track/andrew_lustre/ccp06.lus.sl +++ b/lib/Inv_Track/andrew_lustre/ccp06.lus.sl @@ -32,14 +32,14 @@ ) Bool (let - ((X1 Real 0.0)) + ((X1 0.0)) (let - ((X2 Bool (>= top.usr.carSpeed_a_0 15.0))) + ((X2 (>= top.usr.carSpeed_a_0 15.0))) (let - ((X3 Bool (= top.usr.carGear_a_0 3))) + ((X3 (= top.usr.carGear_a_0 3))) (let ((X4 - Bool (and + (and (and (and (and (not top.usr.cancel_a_0) (not top.usr.brakePedal_a_0)) @@ -47,143 +47,143 @@ X2) top.usr.validInputs_a_0))) (let - ((X5 Bool true)) + ((X5 true)) (and (= top.impl.usr.zz183_a_0 top.usr.decelSet_a_0) (let - ((X6 Bool (and (not X5) top.impl.usr.zz183_a_0))) + ((X6 (and (not X5) top.impl.usr.zz183_a_0))) (let - ((X7 Bool true)) + ((X7 true)) (and (= top.impl.usr.zz178_a_0 top.usr.accelResume_a_0) (let - ((X8 Bool (and (not X7) top.impl.usr.zz178_a_0))) + ((X8 (and (not X7) top.impl.usr.zz178_a_0))) (let - ((X9 Int 0)) + ((X9 0)) (let - ((X10 Int (+ X9 1))) + ((X10 (+ X9 1))) (let - ((X11 Int (ite top.usr.decelSet_a_0 X10 0))) + ((X11 (ite top.usr.decelSet_a_0 X10 0))) (let - ((X12 Int (ite (>= 0 X11) 0 X11))) + ((X12 (ite (>= 0 X11) 0 X11))) (and (= top.impl.usr.zz176_a_0 (ite (<= X12 20) X12 20)) (let - ((X13 Bool (= top.impl.usr.zz176_a_0 20))) + ((X13 (= top.impl.usr.zz176_a_0 20))) (let - ((X14 Int 0)) + ((X14 0)) (let - ((X15 Int (+ X14 1))) + ((X15 (+ X14 1))) (let - ((X16 Int (ite top.usr.accelResume_a_0 X15 0))) + ((X16 (ite top.usr.accelResume_a_0 X15 0))) (let - ((X17 Int (ite (>= 0 X16) 0 X16))) + ((X17 (ite (>= 0 X16) 0 X16))) (and (= top.impl.usr.zz170_a_0 (ite (<= X17 20) X17 20)) (let - ((X18 Bool (= top.impl.usr.zz170_a_0 20))) + ((X18 (= top.impl.usr.zz170_a_0 20))) (let - ((X19 Int 0)) + ((X19 0)) (let - ((X20 Int 0)) + ((X20 0)) (and (= top.impl.usr.zz155_a_0 true) (let - ((X21 Int (ite (not (= X20 1)) 1 X19))) + ((X21 (ite (not (= X20 1)) 1 X19))) (let ((X22 - Bool (and + (and (and (>= X20 2) (<= X20 8)) (not top.usr.onOff_a_0)))) (let - ((X23 Int (ite (= X20 4) 3 X20))) + ((X23 (ite (= X20 4) 3 X20))) (let ((X24 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) X23 X20))) (let - ((X25 Int (ite (= X24 5) 3 X24))) + ((X25 (ite (= X24 5) 3 X24))) (let ((X26 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) X25 X24))) (let - ((X27 Int (ite (= X26 6) 3 X26))) + ((X27 (ite (= X26 6) 3 X26))) (let ((X28 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) X27 X26))) (let ((X29 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) 2 X28))) (let ((X30 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) X29 X20))) (let - ((X31 Int (ite (= X30 7) 2 X30))) + ((X31 (ite (= X30 7) 2 X30))) (let ((X32 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) X31 X30))) (let - ((X33 Int (ite (= X32 8) 2 X32))) + ((X33 (ite (= X32 8) 2 X32))) (let ((X34 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) X33 X32))) (let ((X35 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) 0 X34))) (let - ((X36 Int (ite X22 X35 X20))) + ((X36 (ite X22 X35 X20))) (let ((X37 - Int (ite (not (= X36 1)) 1 X36))) + (ite (not (= X36 1)) 1 X36))) (let - ((X38 Int (ite X22 X37 X36))) + ((X38 (ite X22 X37 X36))) (let ((X39 - Bool (and + (and (= X38 1) (and top.usr.onOff_a_0 (not X22))))) (let ((X40 - Int (ite (= X38 1) 0 X38))) + (ite (= X38 1) 0 X38))) (let - ((X41 Int (ite X39 X40 X38))) + ((X41 (ite X39 X40 X38))) (let ((X42 - Int (ite + (ite (not (= X36 1)) 1 X19))) (let ((X43 - Int (ite X22 X42 X19))) + (ite X22 X42 X19))) (let ((X44 - Int (ite + (ite (not (and (>= X41 2) @@ -192,7 +192,7 @@ X41))) (let ((X45 - Bool (and + (and (not (and (>= X41 2) @@ -202,46 +202,46 @@ (<= X44 8))))) (let ((X46 - Int (ite + (ite (not (= X44 7)) 2 X43))) (let ((X47 - Int (ite X45 X46 X43))) + (ite X45 X46 X43))) (let ((X48 - Int (ite + (ite X39 X47 X43))) (let ((X49 - Int (ite + (ite (not (= X44 7)) 7 X44))) (let ((X50 - Int (ite + (ite X45 X49 X44))) (let ((X51 - Int (ite + (ite X39 X50 X41))) (let ((X52 - Bool (or + (or X39 X22))) (let ((X53 - Bool (and + (and (and (>= X51 @@ -252,13 +252,13 @@ (not X4)))) (let ((X54 - Int (ite + (ite (= X51 4) 3 X51))) (let ((X55 - Int (ite + (ite (and (>= X51 @@ -270,14 +270,12 @@ X51))) (let ((X56 - Int (ite (= X55 5) 3 X55))) (let ((X57 - Int (ite (and (>= @@ -290,14 +288,12 @@ X55))) (let ((X58 - Int (ite (= X57 6) 3 X57))) (let ((X59 - Int (ite (and (>= @@ -310,7 +306,6 @@ X57))) (let ((X60 - Int (ite (and (>= @@ -323,14 +318,12 @@ X59))) (let ((X61 - Int (ite X53 X60 X51))) (let ((X62 - Int (ite (not (= X61 8)) @@ -338,14 +331,12 @@ X61))) (let ((X63 - Int (ite X53 X62 X61))) (let ((X64 - Bool (and (= X63 8) (and @@ -367,21 +358,18 @@ (not X53))))) (let ((X65 - Int (ite (= X63 8) 2 X63))) (let ((X66 - Int (ite X64 X65 X63))) (let ((X67 - Int (ite (not (and @@ -395,7 +383,6 @@ X66))) (let ((X68 - Bool (and (not (and @@ -414,7 +401,6 @@ 6))))) (let ((X69 - Int (ite (not (= X67 4)) @@ -422,27 +408,23 @@ X67))) (let ((X70 - Int (ite X68 X69 X67))) (let ((X71 - Int (ite X64 X70 X66))) (let ((X72 - Bool (or X64 X53))) (let ((X73 - Bool (and (= X71 8) (and @@ -464,21 +446,18 @@ (not X72))))) (let ((X74 - Int (ite (= X71 8) 2 X71))) (let ((X75 - Int (ite X73 X74 X71))) (let ((X76 - Int (ite (not (and @@ -492,7 +471,6 @@ X75))) (let ((X77 - Bool (and (not (and @@ -511,7 +489,6 @@ 6))))) (let ((X78 - Int (ite (not (= X76 4)) @@ -519,27 +496,23 @@ X76))) (let ((X79 - Int (ite X77 X78 X76))) (let ((X80 - Int (ite X73 X79 X75))) (let ((X81 - Bool (or X73 X72))) (let ((X82 - Bool (and (= X80 7) (and @@ -561,21 +534,18 @@ (not X81))))) (let ((X83 - Int (ite (= X80 7) 2 X80))) (let ((X84 - Int (ite X82 X83 X80))) (let ((X85 - Int (ite (not (= X61 8)) @@ -583,14 +553,12 @@ X48))) (let ((X86 - Int (ite X53 X85 X48))) (let ((X87 - Int (ite (not (= X67 4)) @@ -598,21 +566,18 @@ X86))) (let ((X88 - Int (ite X68 X87 X86))) (let ((X89 - Int (ite X64 X88 X86))) (let ((X90 - Int (ite (not (= X76 4)) @@ -620,21 +585,18 @@ X89))) (let ((X91 - Int (ite X77 X90 X89))) (let ((X92 - Int (ite X73 X91 X89))) (let ((X93 - Int (ite (not (and @@ -648,7 +610,6 @@ X84))) (let ((X94 - Bool (and (not (and @@ -667,7 +628,6 @@ 6))))) (let ((X95 - Int (ite (not (= X93 4)) @@ -675,21 +635,18 @@ X92))) (let ((X96 - Int (ite X94 X95 X92))) (let ((X97 - Int (ite X82 X96 X92))) (let ((X98 - Int (ite (not (= X93 4)) @@ -697,27 +654,23 @@ X93))) (let ((X99 - Int (ite X94 X98 X93))) (let ((X100 - Int (ite X82 X99 X84))) (let ((X101 - Bool (or X82 X81))) (let ((X102 - Bool (and (= X100 @@ -731,7 +684,6 @@ 0))))) (let ((X103 - Int (ite (= X100 @@ -740,14 +692,12 @@ X100))) (let ((X104 - Int (ite X102 X103 X100))) (let ((X105 - Int (ite (not (= @@ -757,14 +707,12 @@ X104))) (let ((X106 - Int (ite X102 X105 X104))) (let ((X107 - Bool (and (= X106 @@ -781,7 +729,6 @@ X102))))) (let ((X108 - Int (ite (= X106 @@ -790,14 +737,12 @@ X106))) (let ((X109 - Int (ite X107 X108 X106))) (let ((X110 - Int (ite (not (= @@ -807,20 +752,17 @@ X109))) (let ((X111 - Int (ite X107 X110 X109))) (let ((X112 - Bool (or X107 X102))) (let ((X113 - Bool (and (= X111 @@ -837,7 +779,6 @@ X112))))) (let ((X114 - Int (ite (= X111 @@ -846,14 +787,12 @@ X111))) (let ((X115 - Int (ite X113 X114 X111))) (let ((X116 - Int (ite (not (= @@ -863,20 +802,17 @@ X115))) (let ((X117 - Int (ite X113 X116 X115))) (let ((X118 - Bool (or X113 X112))) (let ((X119 - Bool (and (= X117 @@ -894,7 +830,6 @@ X118))))) (let ((X120 - Int (ite (= X117 @@ -903,14 +838,12 @@ X117))) (let ((X121 - Int (ite X119 X120 X117))) (let ((X122 - Int (ite (not (= @@ -920,20 +853,17 @@ X121))) (let ((X123 - Int (ite X119 X122 X121))) (let ((X124 - Bool (or X119 X118))) (let ((X125 - Bool (and (= X123 @@ -951,7 +881,6 @@ X124))))) (let ((X126 - Int (ite (= X123 @@ -960,14 +889,12 @@ X123))) (let ((X127 - Int (ite X125 X126 X123))) (let ((X128 - Int (ite (not (= @@ -977,14 +904,12 @@ X97))) (let ((X129 - Int (ite X102 X128 X97))) (let ((X130 - Int (ite (not (= @@ -994,14 +919,12 @@ X129))) (let ((X131 - Int (ite X107 X130 X129))) (let ((X132 - Int (ite (not (= @@ -1011,14 +934,12 @@ X131))) (let ((X133 - Int (ite X113 X132 X131))) (let ((X134 - Int (ite (not (= @@ -1028,14 +949,12 @@ X133))) (let ((X135 - Int (ite X119 X134 X133))) (let ((X136 - Int (ite (not (= @@ -1045,14 +964,12 @@ X135))) (let ((X137 - Int (ite X125 X136 X135))) (let ((X138 - Int (ite (and (not @@ -1068,7 +985,6 @@ X97))) (let ((X139 - Int (ite (and (not X52) @@ -1096,39 +1012,34 @@ X19)) (let ((X140 - Bool (= top.impl.usr.mode_a_0 3))) (let ((X141 - Real (ite X140 X1 0.0))) (let ((X142 - Bool (= top.impl.usr.mode_a_0 4))) (let ((X143 - Real (ite X142 X1 X141))) (let ((X144 - Bool (= top.impl.usr.mode_a_0 5))) (let ((X145 - Bool X144)) + X144)) (and (= top.impl.usr.zz4_a_0 @@ -1146,23 +1057,21 @@ 0.0 (- X1 - (/ 1 20)))) + (/ 1.0 20.0)))) (let ((X146 - Real (ite X145 top.impl.usr.zz5_a_0 X143))) (let ((X147 - Bool (= top.impl.usr.mode_a_0 6))) (let ((X148 - Bool X147)) + X147)) (and (= top.impl.usr.zz1_a_0 @@ -1180,27 +1089,24 @@ 0.0 (+ X1 - (/ 1 20)))) + (/ 1.0 20.0)))) (let ((X149 - Real (ite X148 top.impl.usr.zz2_a_0 X146))) (let ((X150 - Bool false)) + false)) (let ((X151 - Bool (ite (= X20 4) false X150))) (let ((X152 - Bool (ite (and (>= @@ -1213,7 +1119,6 @@ X150))) (let ((X153 - Bool (ite (and (>= @@ -1226,21 +1131,18 @@ X150))) (let ((X154 - Bool (ite X22 X153 X150))) (let ((X155 - Bool (ite (= X51 4) false X154))) (let ((X156 - Bool (ite (and (>= @@ -1253,28 +1155,24 @@ X154))) (let ((X157 - Bool (ite X53 X156 X154))) (let ((X158 - Bool (ite X64 true X157))) (let ((X159 - Bool (ite X82 true X158))) (let ((X160 - Int (ite (not (= @@ -1284,20 +1182,17 @@ X127))) (let ((X161 - Int (ite X125 X160 X127))) (let ((X162 - Bool (or X125 X124))) (let ((X163 - Bool (ite (= X100 @@ -1306,21 +1201,18 @@ X159))) (let ((X164 - Bool (ite X102 X163 X159))) (let ((X165 - Bool (ite X102 true X164))) (let ((X166 - Bool (ite (= X106 @@ -1329,14 +1221,12 @@ X165))) (let ((X167 - Bool (ite X107 X166 X165))) (let ((X168 - Bool (ite (= X111 @@ -1345,14 +1235,12 @@ X167))) (let ((X169 - Bool (ite X113 X168 X167))) (let ((X170 - Bool (ite (and (not @@ -1364,7 +1252,6 @@ X169))) (let ((X171 - Bool (ite (and (not @@ -1380,7 +1267,6 @@ X159))) (let ((X172 - Bool (ite (and (not X52) @@ -1405,7 +1291,6 @@ X150)) (let ((X173 - Real (ite top.impl.usr.zz162_a_0 top.usr.carSpeed_a_0 @@ -1426,19 +1311,16 @@ X173))) (let ((X174 - Real (- top.impl.usr.desiredSpeed_a_0 top.usr.carSpeed_a_0))) (let ((X175 - Real (* X174 1.0))) (let ((X176 - Real (ite (< X175 @@ -1452,22 +1334,19 @@ X175)))) (let ((X177 - Real (/ X176 20.0))) (let ((X178 - Real 0.0)) + 0.0)) (let ((X179 - Real (+ X177 X178))) (let ((X180 - Real (ite (< X179 @@ -1481,7 +1360,6 @@ X179)))) (let ((X181 - Bool (or (or X142 @@ -1496,13 +1374,11 @@ 0.0)) (let ((X182 - Bool (>= top.impl.usr.cruiseThrottle_a_0 0.0))) (let ((X183 - Bool (<= top.impl.usr.cruiseThrottle_a_0 100.0))) @@ -1514,7 +1390,6 @@ X183)) (let ((X184 - Int (ite (not (= X20 1)) @@ -1522,7 +1397,6 @@ X20))) (let ((X185 - Int (ite (and (not @@ -1538,7 +1412,6 @@ X100))) (let ((X186 - Int (ite (and (not X52) @@ -1553,7 +1426,6 @@ X51))) (let ((X187 - Int (ite top.impl.usr.SP3c_a_0 (ite @@ -1627,14 +1499,14 @@ ) Bool (let - ((X1 Real top.impl.usr.desiredSpeed_a_0)) + ((X1 top.impl.usr.desiredSpeed_a_0)) (let - ((X2 Bool (>= top.usr.carSpeed_a_1 15.0))) + ((X2 (>= top.usr.carSpeed_a_1 15.0))) (let - ((X3 Bool (= top.usr.carGear_a_1 3))) + ((X3 (= top.usr.carGear_a_1 3))) (let ((X4 - Bool (and + (and (and (and (and (not top.usr.cancel_a_1) (not top.usr.brakePedal_a_1)) @@ -1642,45 +1514,45 @@ X2) top.usr.validInputs_a_1))) (let - ((X5 Bool top.impl.usr.zz183_a_0)) + ((X5 top.impl.usr.zz183_a_0)) (and (= top.impl.usr.zz183_a_1 top.usr.decelSet_a_1) (let - ((X6 Bool (and (not X5) top.impl.usr.zz183_a_1))) + ((X6 (and (not X5) top.impl.usr.zz183_a_1))) (let - ((X7 Bool top.impl.usr.zz178_a_0)) + ((X7 top.impl.usr.zz178_a_0)) (and (= top.impl.usr.zz178_a_1 top.usr.accelResume_a_1) (let - ((X8 Bool (and (not X7) top.impl.usr.zz178_a_1))) + ((X8 (and (not X7) top.impl.usr.zz178_a_1))) (let - ((X9 Int top.impl.usr.zz176_a_0)) + ((X9 top.impl.usr.zz176_a_0)) (let - ((X10 Int (+ X9 1))) + ((X10 (+ X9 1))) (let - ((X11 Int (ite top.usr.decelSet_a_1 X10 0))) + ((X11 (ite top.usr.decelSet_a_1 X10 0))) (let - ((X12 Int (ite (>= 0 X11) 0 X11))) + ((X12 (ite (>= 0 X11) 0 X11))) (and (= top.impl.usr.zz176_a_1 (ite (<= X12 20) X12 20)) (let - ((X13 Bool (= top.impl.usr.zz176_a_1 20))) + ((X13 (= top.impl.usr.zz176_a_1 20))) (let - ((X14 Int top.impl.usr.zz170_a_0)) + ((X14 top.impl.usr.zz170_a_0)) (let - ((X15 Int (+ X14 1))) + ((X15 (+ X14 1))) (let - ((X16 Int (ite top.usr.accelResume_a_1 X15 0))) + ((X16 (ite top.usr.accelResume_a_1 X15 0))) (let - ((X17 Int (ite (>= 0 X16) 0 X16))) + ((X17 (ite (>= 0 X16) 0 X16))) (and (= top.impl.usr.zz170_a_1 (ite (<= X17 20) X17 20)) (let - ((X18 Bool (= top.impl.usr.zz170_a_1 20))) + ((X18 (= top.impl.usr.zz170_a_1 20))) (let - ((X19 Int top.impl.usr.mode_a_0)) + ((X19 top.impl.usr.mode_a_0)) (let - ((X20 Int top.impl.usr.zz161_a_0)) + ((X20 top.impl.usr.zz161_a_0)) (and (= top.impl.usr.zz155_a_1 @@ -1689,101 +1561,101 @@ false top.impl.usr.zz155_a_0)) (let - ((X21 Int (ite (not (= X20 1)) 1 X19))) + ((X21 (ite (not (= X20 1)) 1 X19))) (let ((X22 - Bool (and + (and (and (>= X20 2) (<= X20 8)) (not top.usr.onOff_a_1)))) (let - ((X23 Int (ite (= X20 4) 3 X20))) + ((X23 (ite (= X20 4) 3 X20))) (let ((X24 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) X23 X20))) (let - ((X25 Int (ite (= X24 5) 3 X24))) + ((X25 (ite (= X24 5) 3 X24))) (let ((X26 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) X25 X24))) (let - ((X27 Int (ite (= X26 6) 3 X26))) + ((X27 (ite (= X26 6) 3 X26))) (let ((X28 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) X27 X26))) (let ((X29 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) 2 X28))) (let ((X30 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) X29 X20))) (let - ((X31 Int (ite (= X30 7) 2 X30))) + ((X31 (ite (= X30 7) 2 X30))) (let ((X32 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) X31 X30))) (let - ((X33 Int (ite (= X32 8) 2 X32))) + ((X33 (ite (= X32 8) 2 X32))) (let ((X34 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) X33 X32))) (let ((X35 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) 0 X34))) (let - ((X36 Int (ite X22 X35 X20))) + ((X36 (ite X22 X35 X20))) (let ((X37 - Int (ite (not (= X36 1)) 1 X36))) + (ite (not (= X36 1)) 1 X36))) (let - ((X38 Int (ite X22 X37 X36))) + ((X38 (ite X22 X37 X36))) (let ((X39 - Bool (and + (and (= X38 1) (and top.usr.onOff_a_1 (not X22))))) (let ((X40 - Int (ite (= X38 1) 0 X38))) + (ite (= X38 1) 0 X38))) (let - ((X41 Int (ite X39 X40 X38))) + ((X41 (ite X39 X40 X38))) (let ((X42 - Int (ite + (ite (not (= X36 1)) 1 X19))) (let ((X43 - Int (ite X22 X42 X19))) + (ite X22 X42 X19))) (let ((X44 - Int (ite + (ite (not (and (>= X41 2) @@ -1792,7 +1664,7 @@ X41))) (let ((X45 - Bool (and + (and (not (and (>= X41 2) @@ -1802,46 +1674,46 @@ (<= X44 8))))) (let ((X46 - Int (ite + (ite (not (= X44 7)) 2 X43))) (let ((X47 - Int (ite X45 X46 X43))) + (ite X45 X46 X43))) (let ((X48 - Int (ite + (ite X39 X47 X43))) (let ((X49 - Int (ite + (ite (not (= X44 7)) 7 X44))) (let ((X50 - Int (ite + (ite X45 X49 X44))) (let ((X51 - Int (ite + (ite X39 X50 X41))) (let ((X52 - Bool (or + (or X39 X22))) (let ((X53 - Bool (and + (and (and (>= X51 @@ -1852,13 +1724,13 @@ (not X4)))) (let ((X54 - Int (ite + (ite (= X51 4) 3 X51))) (let ((X55 - Int (ite + (ite (and (>= X51 @@ -1870,14 +1742,12 @@ X51))) (let ((X56 - Int (ite (= X55 5) 3 X55))) (let ((X57 - Int (ite (and (>= @@ -1890,14 +1760,12 @@ X55))) (let ((X58 - Int (ite (= X57 6) 3 X57))) (let ((X59 - Int (ite (and (>= @@ -1910,7 +1778,6 @@ X57))) (let ((X60 - Int (ite (and (>= @@ -1923,14 +1790,12 @@ X59))) (let ((X61 - Int (ite X53 X60 X51))) (let ((X62 - Int (ite (not (= X61 8)) @@ -1938,14 +1803,12 @@ X61))) (let ((X63 - Int (ite X53 X62 X61))) (let ((X64 - Bool (and (= X63 8) (and @@ -1967,21 +1830,18 @@ (not X53))))) (let ((X65 - Int (ite (= X63 8) 2 X63))) (let ((X66 - Int (ite X64 X65 X63))) (let ((X67 - Int (ite (not (and @@ -1995,7 +1855,6 @@ X66))) (let ((X68 - Bool (and (not (and @@ -2014,7 +1873,6 @@ 6))))) (let ((X69 - Int (ite (not (= X67 4)) @@ -2022,27 +1880,23 @@ X67))) (let ((X70 - Int (ite X68 X69 X67))) (let ((X71 - Int (ite X64 X70 X66))) (let ((X72 - Bool (or X64 X53))) (let ((X73 - Bool (and (= X71 8) (and @@ -2064,21 +1918,18 @@ (not X72))))) (let ((X74 - Int (ite (= X71 8) 2 X71))) (let ((X75 - Int (ite X73 X74 X71))) (let ((X76 - Int (ite (not (and @@ -2092,7 +1943,6 @@ X75))) (let ((X77 - Bool (and (not (and @@ -2111,7 +1961,6 @@ 6))))) (let ((X78 - Int (ite (not (= X76 4)) @@ -2119,27 +1968,23 @@ X76))) (let ((X79 - Int (ite X77 X78 X76))) (let ((X80 - Int (ite X73 X79 X75))) (let ((X81 - Bool (or X73 X72))) (let ((X82 - Bool (and (= X80 7) (and @@ -2161,21 +2006,18 @@ (not X81))))) (let ((X83 - Int (ite (= X80 7) 2 X80))) (let ((X84 - Int (ite X82 X83 X80))) (let ((X85 - Int (ite (not (= X61 8)) @@ -2183,14 +2025,12 @@ X48))) (let ((X86 - Int (ite X53 X85 X48))) (let ((X87 - Int (ite (not (= X67 4)) @@ -2198,21 +2038,18 @@ X86))) (let ((X88 - Int (ite X68 X87 X86))) (let ((X89 - Int (ite X64 X88 X86))) (let ((X90 - Int (ite (not (= X76 4)) @@ -2220,21 +2057,18 @@ X89))) (let ((X91 - Int (ite X77 X90 X89))) (let ((X92 - Int (ite X73 X91 X89))) (let ((X93 - Int (ite (not (and @@ -2248,7 +2082,6 @@ X84))) (let ((X94 - Bool (and (not (and @@ -2267,7 +2100,6 @@ 6))))) (let ((X95 - Int (ite (not (= X93 4)) @@ -2275,21 +2107,18 @@ X92))) (let ((X96 - Int (ite X94 X95 X92))) (let ((X97 - Int (ite X82 X96 X92))) (let ((X98 - Int (ite (not (= X93 4)) @@ -2297,27 +2126,23 @@ X93))) (let ((X99 - Int (ite X94 X98 X93))) (let ((X100 - Int (ite X82 X99 X84))) (let ((X101 - Bool (or X82 X81))) (let ((X102 - Bool (and (= X100 @@ -2331,7 +2156,6 @@ 0))))) (let ((X103 - Int (ite (= X100 @@ -2340,14 +2164,12 @@ X100))) (let ((X104 - Int (ite X102 X103 X100))) (let ((X105 - Int (ite (not (= @@ -2357,14 +2179,12 @@ X104))) (let ((X106 - Int (ite X102 X105 X104))) (let ((X107 - Bool (and (= X106 @@ -2381,7 +2201,6 @@ X102))))) (let ((X108 - Int (ite (= X106 @@ -2390,14 +2209,12 @@ X106))) (let ((X109 - Int (ite X107 X108 X106))) (let ((X110 - Int (ite (not (= @@ -2407,20 +2224,17 @@ X109))) (let ((X111 - Int (ite X107 X110 X109))) (let ((X112 - Bool (or X107 X102))) (let ((X113 - Bool (and (= X111 @@ -2437,7 +2251,6 @@ X112))))) (let ((X114 - Int (ite (= X111 @@ -2446,14 +2259,12 @@ X111))) (let ((X115 - Int (ite X113 X114 X111))) (let ((X116 - Int (ite (not (= @@ -2463,20 +2274,17 @@ X115))) (let ((X117 - Int (ite X113 X116 X115))) (let ((X118 - Bool (or X113 X112))) (let ((X119 - Bool (and (= X117 @@ -2494,7 +2302,6 @@ X118))))) (let ((X120 - Int (ite (= X117 @@ -2503,14 +2310,12 @@ X117))) (let ((X121 - Int (ite X119 X120 X117))) (let ((X122 - Int (ite (not (= @@ -2520,20 +2325,17 @@ X121))) (let ((X123 - Int (ite X119 X122 X121))) (let ((X124 - Bool (or X119 X118))) (let ((X125 - Bool (and (= X123 @@ -2551,7 +2353,6 @@ X124))))) (let ((X126 - Int (ite (= X123 @@ -2560,14 +2361,12 @@ X123))) (let ((X127 - Int (ite X125 X126 X123))) (let ((X128 - Int (ite (not (= @@ -2577,14 +2376,12 @@ X97))) (let ((X129 - Int (ite X102 X128 X97))) (let ((X130 - Int (ite (not (= @@ -2594,14 +2391,12 @@ X129))) (let ((X131 - Int (ite X107 X130 X129))) (let ((X132 - Int (ite (not (= @@ -2611,14 +2406,12 @@ X131))) (let ((X133 - Int (ite X113 X132 X131))) (let ((X134 - Int (ite (not (= @@ -2628,14 +2421,12 @@ X133))) (let ((X135 - Int (ite X119 X134 X133))) (let ((X136 - Int (ite (not (= @@ -2645,14 +2436,12 @@ X135))) (let ((X137 - Int (ite X125 X136 X135))) (let ((X138 - Int (ite (and (not @@ -2668,7 +2457,6 @@ X97))) (let ((X139 - Int (ite (and (not X52) @@ -2696,39 +2484,34 @@ X19)) (let ((X140 - Bool (= top.impl.usr.mode_a_1 3))) (let ((X141 - Real (ite X140 X1 0.0))) (let ((X142 - Bool (= top.impl.usr.mode_a_1 4))) (let ((X143 - Real (ite X142 X1 X141))) (let ((X144 - Bool (= top.impl.usr.mode_a_1 5))) (let ((X145 - Bool X144)) + X144)) (and (= top.impl.usr.zz4_a_1 @@ -2751,24 +2534,22 @@ top.impl.usr.zz3_a_1 (- X1 - (/ 1 20)) + (/ 1.0 20.0)) top.impl.usr.zz5_a_0))) (let ((X146 - Real (ite X145 top.impl.usr.zz5_a_1 X143))) (let ((X147 - Bool (= top.impl.usr.mode_a_1 6))) (let ((X148 - Bool X147)) + X147)) (and (= top.impl.usr.zz1_a_1 @@ -2791,28 +2572,25 @@ top.impl.usr.zz0_a_1 (+ X1 - (/ 1 20)) + (/ 1.0 20.0)) top.impl.usr.zz2_a_0))) (let ((X149 - Real (ite X148 top.impl.usr.zz2_a_1 X146))) (let ((X150 - Bool top.impl.usr.zz162_a_0)) + top.impl.usr.zz162_a_0)) (let ((X151 - Bool (ite (= X20 4) false X150))) (let ((X152 - Bool (ite (and (>= @@ -2825,7 +2603,6 @@ X150))) (let ((X153 - Bool (ite (and (>= @@ -2838,21 +2615,18 @@ X150))) (let ((X154 - Bool (ite X22 X153 X150))) (let ((X155 - Bool (ite (= X51 4) false X154))) (let ((X156 - Bool (ite (and (>= @@ -2865,28 +2639,24 @@ X154))) (let ((X157 - Bool (ite X53 X156 X154))) (let ((X158 - Bool (ite X64 true X157))) (let ((X159 - Bool (ite X82 true X158))) (let ((X160 - Int (ite (not (= @@ -2896,20 +2666,17 @@ X127))) (let ((X161 - Int (ite X125 X160 X127))) (let ((X162 - Bool (or X125 X124))) (let ((X163 - Bool (ite (= X100 @@ -2918,21 +2685,18 @@ X159))) (let ((X164 - Bool (ite X102 X163 X159))) (let ((X165 - Bool (ite X102 true X164))) (let ((X166 - Bool (ite (= X106 @@ -2941,14 +2705,12 @@ X165))) (let ((X167 - Bool (ite X107 X166 X165))) (let ((X168 - Bool (ite (= X111 @@ -2957,14 +2719,12 @@ X167))) (let ((X169 - Bool (ite X113 X168 X167))) (let ((X170 - Bool (ite (and (not @@ -2976,7 +2736,6 @@ X169))) (let ((X171 - Bool (ite (and (not @@ -2992,7 +2751,6 @@ X159))) (let ((X172 - Bool (ite (and (not X52) @@ -3017,7 +2775,6 @@ X150)) (let ((X173 - Real (ite top.impl.usr.zz162_a_1 top.usr.carSpeed_a_1 @@ -3038,19 +2795,16 @@ X173))) (let ((X174 - Real (- top.impl.usr.desiredSpeed_a_1 top.usr.carSpeed_a_1))) (let ((X175 - Real (* X174 1.0))) (let ((X176 - Real (ite (< X175 @@ -3064,22 +2818,19 @@ X175)))) (let ((X177 - Real (/ X176 20.0))) (let ((X178 - Real top.impl.usr.cruiseThrottle_a_0)) + top.impl.usr.cruiseThrottle_a_0)) (let ((X179 - Real (+ X177 X178))) (let ((X180 - Real (ite (< X179 @@ -3093,7 +2844,6 @@ X179)))) (let ((X181 - Bool (or (or X142 @@ -3108,13 +2858,11 @@ 0.0)) (let ((X182 - Bool (>= top.impl.usr.cruiseThrottle_a_1 0.0))) (let ((X183 - Bool (<= top.impl.usr.cruiseThrottle_a_1 100.0))) @@ -3126,7 +2874,6 @@ X183)) (let ((X184 - Int (ite (not (= X20 1)) @@ -3134,7 +2881,6 @@ X20))) (let ((X185 - Int (ite (and (not @@ -3150,7 +2896,6 @@ X100))) (let ((X186 - Int (ite (and (not X52) @@ -3165,7 +2910,6 @@ X51))) (let ((X187 - Int (ite top.impl.usr.SP3c_a_1 (ite @@ -3214,34 +2958,6 @@ )) -(declare-primed-var top.usr.onOff Bool) -(declare-primed-var top.usr.decelSet Bool) -(declare-primed-var top.usr.accelResume Bool) -(declare-primed-var top.usr.cancel Bool) -(declare-primed-var top.usr.brakePedal Bool) -(declare-primed-var top.usr.carGear Int) -(declare-primed-var top.usr.carSpeed Real) -(declare-primed-var top.usr.validInputs Bool) -(declare-primed-var top.usr.OK Bool) -(declare-primed-var top.res.init_flag Bool) -(declare-primed-var top.impl.usr.mode Int) -(declare-primed-var top.impl.usr.cruiseThrottle Real) -(declare-primed-var top.impl.usr.desiredSpeed Real) -(declare-primed-var top.impl.usr.SP3c Bool) -(declare-primed-var top.impl.usr.zz0 Bool) -(declare-primed-var top.impl.usr.zz1 Bool) -(declare-primed-var top.impl.usr.zz2 Real) -(declare-primed-var top.impl.usr.zz3 Bool) -(declare-primed-var top.impl.usr.zz4 Bool) -(declare-primed-var top.impl.usr.zz5 Real) -(declare-primed-var top.impl.usr.zz155 Bool) -(declare-primed-var top.impl.usr.zz161 Int) -(declare-primed-var top.impl.usr.zz162 Bool) -(declare-primed-var top.impl.usr.zz170 Int) -(declare-primed-var top.impl.usr.zz176 Int) -(declare-primed-var top.impl.usr.zz178 Bool) -(declare-primed-var top.impl.usr.zz183 Bool) - (define-fun init ( (top.usr.onOff Bool) @@ -3274,156 +2990,156 @@ ) Bool (let - ((X1 Real 0.0)) + ((X1 0.0)) (let - ((X2 Bool (>= top.usr.carSpeed 15.0))) + ((X2 (>= top.usr.carSpeed 15.0))) (let - ((X3 Bool (= top.usr.carGear 3))) + ((X3 (= top.usr.carGear 3))) (let ((X4 - Bool (and + (and (and (and (and (not top.usr.cancel) (not top.usr.brakePedal)) X3) X2) top.usr.validInputs))) (let - ((X5 Bool true)) + ((X5 true)) (and (= top.impl.usr.zz183 top.usr.decelSet) (let - ((X6 Bool (and (not X5) top.impl.usr.zz183))) + ((X6 (and (not X5) top.impl.usr.zz183))) (let - ((X7 Bool true)) + ((X7 true)) (and (= top.impl.usr.zz178 top.usr.accelResume) (let - ((X8 Bool (and (not X7) top.impl.usr.zz178))) + ((X8 (and (not X7) top.impl.usr.zz178))) (let - ((X9 Int 0)) + ((X9 0)) (let - ((X10 Int (+ X9 1))) + ((X10 (+ X9 1))) (let - ((X11 Int (ite top.usr.decelSet X10 0))) + ((X11 (ite top.usr.decelSet X10 0))) (let - ((X12 Int (ite (>= 0 X11) 0 X11))) + ((X12 (ite (>= 0 X11) 0 X11))) (and (= top.impl.usr.zz176 (ite (<= X12 20) X12 20)) (let - ((X13 Bool (= top.impl.usr.zz176 20))) + ((X13 (= top.impl.usr.zz176 20))) (let - ((X14 Int 0)) + ((X14 0)) (let - ((X15 Int (+ X14 1))) + ((X15 (+ X14 1))) (let - ((X16 Int (ite top.usr.accelResume X15 0))) + ((X16 (ite top.usr.accelResume X15 0))) (let - ((X17 Int (ite (>= 0 X16) 0 X16))) + ((X17 (ite (>= 0 X16) 0 X16))) (and (= top.impl.usr.zz170 (ite (<= X17 20) X17 20)) (let - ((X18 Bool (= top.impl.usr.zz170 20))) + ((X18 (= top.impl.usr.zz170 20))) (let - ((X19 Int 0)) + ((X19 0)) (let - ((X20 Int 0)) + ((X20 0)) (and (= top.impl.usr.zz155 true) (let - ((X21 Int (ite (not (= X20 1)) 1 X19))) + ((X21 (ite (not (= X20 1)) 1 X19))) (let ((X22 - Bool (and + (and (and (>= X20 2) (<= X20 8)) (not top.usr.onOff)))) (let - ((X23 Int (ite (= X20 4) 3 X20))) + ((X23 (ite (= X20 4) 3 X20))) (let ((X24 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) X23 X20))) (let - ((X25 Int (ite (= X24 5) 3 X24))) + ((X25 (ite (= X24 5) 3 X24))) (let ((X26 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) X25 X24))) (let - ((X27 Int (ite (= X26 6) 3 X26))) + ((X27 (ite (= X26 6) 3 X26))) (let ((X28 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) X27 X26))) (let ((X29 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) 2 X28))) (let ((X30 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) X29 X20))) (let - ((X31 Int (ite (= X30 7) 2 X30))) + ((X31 (ite (= X30 7) 2 X30))) (let ((X32 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) X31 X30))) (let - ((X33 Int (ite (= X32 8) 2 X32))) + ((X33 (ite (= X32 8) 2 X32))) (let ((X34 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) X33 X32))) (let ((X35 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) 0 X34))) (let - ((X36 Int (ite X22 X35 X20))) + ((X36 (ite X22 X35 X20))) (let ((X37 - Int (ite (not (= X36 1)) 1 X36))) + (ite (not (= X36 1)) 1 X36))) (let - ((X38 Int (ite X22 X37 X36))) + ((X38 (ite X22 X37 X36))) (let ((X39 - Bool (and + (and (= X38 1) (and top.usr.onOff (not X22))))) (let ((X40 - Int (ite (= X38 1) 0 X38))) + (ite (= X38 1) 0 X38))) (let - ((X41 Int (ite X39 X40 X38))) + ((X41 (ite X39 X40 X38))) (let ((X42 - Int (ite + (ite (not (= X36 1)) 1 X19))) (let ((X43 - Int (ite X22 X42 X19))) + (ite X22 X42 X19))) (let ((X44 - Int (ite + (ite (not (and (>= X41 2) @@ -3432,7 +3148,7 @@ X41))) (let ((X45 - Bool (and + (and (not (and (>= X41 2) @@ -3442,46 +3158,46 @@ (<= X44 8))))) (let ((X46 - Int (ite + (ite (not (= X44 7)) 2 X43))) (let ((X47 - Int (ite X45 X46 X43))) + (ite X45 X46 X43))) (let ((X48 - Int (ite + (ite X39 X47 X43))) (let ((X49 - Int (ite + (ite (not (= X44 7)) 7 X44))) (let ((X50 - Int (ite + (ite X45 X49 X44))) (let ((X51 - Int (ite + (ite X39 X50 X41))) (let ((X52 - Bool (or + (or X39 X22))) (let ((X53 - Bool (and + (and (and (>= X51 @@ -3492,13 +3208,13 @@ (not X4)))) (let ((X54 - Int (ite + (ite (= X51 4) 3 X51))) (let ((X55 - Int (ite + (ite (and (>= X51 @@ -3510,14 +3226,12 @@ X51))) (let ((X56 - Int (ite (= X55 5) 3 X55))) (let ((X57 - Int (ite (and (>= @@ -3530,14 +3244,12 @@ X55))) (let ((X58 - Int (ite (= X57 6) 3 X57))) (let ((X59 - Int (ite (and (>= @@ -3550,7 +3262,6 @@ X57))) (let ((X60 - Int (ite (and (>= @@ -3563,14 +3274,12 @@ X59))) (let ((X61 - Int (ite X53 X60 X51))) (let ((X62 - Int (ite (not (= X61 8)) @@ -3578,14 +3287,12 @@ X61))) (let ((X63 - Int (ite X53 X62 X61))) (let ((X64 - Bool (and (= X63 8) (and @@ -3607,21 +3314,18 @@ (not X53))))) (let ((X65 - Int (ite (= X63 8) 2 X63))) (let ((X66 - Int (ite X64 X65 X63))) (let ((X67 - Int (ite (not (and @@ -3635,7 +3339,6 @@ X66))) (let ((X68 - Bool (and (not (and @@ -3654,7 +3357,6 @@ 6))))) (let ((X69 - Int (ite (not (= X67 4)) @@ -3662,27 +3364,23 @@ X67))) (let ((X70 - Int (ite X68 X69 X67))) (let ((X71 - Int (ite X64 X70 X66))) (let ((X72 - Bool (or X64 X53))) (let ((X73 - Bool (and (= X71 8) (and @@ -3704,21 +3402,18 @@ (not X72))))) (let ((X74 - Int (ite (= X71 8) 2 X71))) (let ((X75 - Int (ite X73 X74 X71))) (let ((X76 - Int (ite (not (and @@ -3732,7 +3427,6 @@ X75))) (let ((X77 - Bool (and (not (and @@ -3751,7 +3445,6 @@ 6))))) (let ((X78 - Int (ite (not (= X76 4)) @@ -3759,27 +3452,23 @@ X76))) (let ((X79 - Int (ite X77 X78 X76))) (let ((X80 - Int (ite X73 X79 X75))) (let ((X81 - Bool (or X73 X72))) (let ((X82 - Bool (and (= X80 7) (and @@ -3801,21 +3490,18 @@ (not X81))))) (let ((X83 - Int (ite (= X80 7) 2 X80))) (let ((X84 - Int (ite X82 X83 X80))) (let ((X85 - Int (ite (not (= X61 8)) @@ -3823,14 +3509,12 @@ X48))) (let ((X86 - Int (ite X53 X85 X48))) (let ((X87 - Int (ite (not (= X67 4)) @@ -3838,21 +3522,18 @@ X86))) (let ((X88 - Int (ite X68 X87 X86))) (let ((X89 - Int (ite X64 X88 X86))) (let ((X90 - Int (ite (not (= X76 4)) @@ -3860,21 +3541,18 @@ X89))) (let ((X91 - Int (ite X77 X90 X89))) (let ((X92 - Int (ite X73 X91 X89))) (let ((X93 - Int (ite (not (and @@ -3888,7 +3566,6 @@ X84))) (let ((X94 - Bool (and (not (and @@ -3907,7 +3584,6 @@ 6))))) (let ((X95 - Int (ite (not (= X93 4)) @@ -3915,21 +3591,18 @@ X92))) (let ((X96 - Int (ite X94 X95 X92))) (let ((X97 - Int (ite X82 X96 X92))) (let ((X98 - Int (ite (not (= X93 4)) @@ -3937,27 +3610,23 @@ X93))) (let ((X99 - Int (ite X94 X98 X93))) (let ((X100 - Int (ite X82 X99 X84))) (let ((X101 - Bool (or X82 X81))) (let ((X102 - Bool (and (= X100 @@ -3971,7 +3640,6 @@ 0))))) (let ((X103 - Int (ite (= X100 @@ -3980,14 +3648,12 @@ X100))) (let ((X104 - Int (ite X102 X103 X100))) (let ((X105 - Int (ite (not (= @@ -3997,14 +3663,12 @@ X104))) (let ((X106 - Int (ite X102 X105 X104))) (let ((X107 - Bool (and (= X106 @@ -4021,7 +3685,6 @@ X102))))) (let ((X108 - Int (ite (= X106 @@ -4030,14 +3693,12 @@ X106))) (let ((X109 - Int (ite X107 X108 X106))) (let ((X110 - Int (ite (not (= @@ -4047,20 +3708,17 @@ X109))) (let ((X111 - Int (ite X107 X110 X109))) (let ((X112 - Bool (or X107 X102))) (let ((X113 - Bool (and (= X111 @@ -4077,7 +3735,6 @@ X112))))) (let ((X114 - Int (ite (= X111 @@ -4086,14 +3743,12 @@ X111))) (let ((X115 - Int (ite X113 X114 X111))) (let ((X116 - Int (ite (not (= @@ -4103,20 +3758,17 @@ X115))) (let ((X117 - Int (ite X113 X116 X115))) (let ((X118 - Bool (or X113 X112))) (let ((X119 - Bool (and (= X117 @@ -4134,7 +3786,6 @@ X118))))) (let ((X120 - Int (ite (= X117 @@ -4143,14 +3794,12 @@ X117))) (let ((X121 - Int (ite X119 X120 X117))) (let ((X122 - Int (ite (not (= @@ -4160,20 +3809,17 @@ X121))) (let ((X123 - Int (ite X119 X122 X121))) (let ((X124 - Bool (or X119 X118))) (let ((X125 - Bool (and (= X123 @@ -4191,7 +3837,6 @@ X124))))) (let ((X126 - Int (ite (= X123 @@ -4200,14 +3845,12 @@ X123))) (let ((X127 - Int (ite X125 X126 X123))) (let ((X128 - Int (ite (not (= @@ -4217,14 +3860,12 @@ X97))) (let ((X129 - Int (ite X102 X128 X97))) (let ((X130 - Int (ite (not (= @@ -4234,14 +3875,12 @@ X129))) (let ((X131 - Int (ite X107 X130 X129))) (let ((X132 - Int (ite (not (= @@ -4251,14 +3890,12 @@ X131))) (let ((X133 - Int (ite X113 X132 X131))) (let ((X134 - Int (ite (not (= @@ -4268,14 +3905,12 @@ X133))) (let ((X135 - Int (ite X119 X134 X133))) (let ((X136 - Int (ite (not (= @@ -4285,14 +3920,12 @@ X135))) (let ((X137 - Int (ite X125 X136 X135))) (let ((X138 - Int (ite (and (not @@ -4308,7 +3941,6 @@ X97))) (let ((X139 - Int (ite (and (not X52) @@ -4336,39 +3968,34 @@ X19)) (let ((X140 - Bool (= top.impl.usr.mode 3))) (let ((X141 - Real (ite X140 X1 0.0))) (let ((X142 - Bool (= top.impl.usr.mode 4))) (let ((X143 - Real (ite X142 X1 X141))) (let ((X144 - Bool (= top.impl.usr.mode 5))) (let ((X145 - Bool X144)) + X144)) (and (= top.impl.usr.zz4 @@ -4386,23 +4013,21 @@ 0.0 (- X1 - (/ 1 20)))) + (/ 1.0 20.0)))) (let ((X146 - Real (ite X145 top.impl.usr.zz5 X143))) (let ((X147 - Bool (= top.impl.usr.mode 6))) (let ((X148 - Bool X147)) + X147)) (and (= top.impl.usr.zz1 @@ -4420,27 +4045,24 @@ 0.0 (+ X1 - (/ 1 20)))) + (/ 1.0 20.0)))) (let ((X149 - Real (ite X148 top.impl.usr.zz2 X146))) (let ((X150 - Bool false)) + false)) (let ((X151 - Bool (ite (= X20 4) false X150))) (let ((X152 - Bool (ite (and (>= @@ -4453,7 +4075,6 @@ X150))) (let ((X153 - Bool (ite (and (>= @@ -4466,21 +4087,18 @@ X150))) (let ((X154 - Bool (ite X22 X153 X150))) (let ((X155 - Bool (ite (= X51 4) false X154))) (let ((X156 - Bool (ite (and (>= @@ -4493,28 +4111,24 @@ X154))) (let ((X157 - Bool (ite X53 X156 X154))) (let ((X158 - Bool (ite X64 true X157))) (let ((X159 - Bool (ite X82 true X158))) (let ((X160 - Int (ite (not (= @@ -4524,20 +4138,17 @@ X127))) (let ((X161 - Int (ite X125 X160 X127))) (let ((X162 - Bool (or X125 X124))) (let ((X163 - Bool (ite (= X100 @@ -4546,21 +4157,18 @@ X159))) (let ((X164 - Bool (ite X102 X163 X159))) (let ((X165 - Bool (ite X102 true X164))) (let ((X166 - Bool (ite (= X106 @@ -4569,14 +4177,12 @@ X165))) (let ((X167 - Bool (ite X107 X166 X165))) (let ((X168 - Bool (ite (= X111 @@ -4585,14 +4191,12 @@ X167))) (let ((X169 - Bool (ite X113 X168 X167))) (let ((X170 - Bool (ite (and (not @@ -4604,7 +4208,6 @@ X169))) (let ((X171 - Bool (ite (and (not @@ -4620,7 +4223,6 @@ X159))) (let ((X172 - Bool (ite (and (not X52) @@ -4645,7 +4247,6 @@ X150)) (let ((X173 - Real (ite top.impl.usr.zz162 top.usr.carSpeed @@ -4666,19 +4267,16 @@ X173))) (let ((X174 - Real (- top.impl.usr.desiredSpeed top.usr.carSpeed))) (let ((X175 - Real (* X174 1.0))) (let ((X176 - Real (ite (< X175 @@ -4692,22 +4290,19 @@ X175)))) (let ((X177 - Real (/ X176 20.0))) (let ((X178 - Real 0.0)) + 0.0)) (let ((X179 - Real (+ X177 X178))) (let ((X180 - Real (ite (< X179 @@ -4721,7 +4316,6 @@ X179)))) (let ((X181 - Bool (or (or X142 @@ -4736,13 +4330,11 @@ 0.0)) (let ((X182 - Bool (>= top.impl.usr.cruiseThrottle 0.0))) (let ((X183 - Bool (<= top.impl.usr.cruiseThrottle 100.0))) @@ -4754,7 +4346,6 @@ X183)) (let ((X184 - Int (ite (not (= X20 1)) @@ -4762,7 +4353,6 @@ X20))) (let ((X185 - Int (ite (and (not @@ -4778,7 +4368,6 @@ X100))) (let ((X186 - Int (ite (and (not X52) @@ -4793,7 +4382,6 @@ X51))) (let ((X187 - Int (ite top.impl.usr.SP3c (ite @@ -4872,158 +4460,158 @@ ) Bool (let - ((X1 Real top.impl.usr.desiredSpeed)) + ((X1 top.impl.usr.desiredSpeed)) (let - ((X2 Bool (>= top.usr.carSpeed! 15.0))) + ((X2 (>= top.usr.carSpeed! 15.0))) (let - ((X3 Bool (= top.usr.carGear! 3))) + ((X3 (= top.usr.carGear! 3))) (let ((X4 - Bool (and + (and (and (and (and (not top.usr.cancel!) (not top.usr.brakePedal!)) X3) X2) top.usr.validInputs!))) (let - ((X5 Bool top.impl.usr.zz183)) + ((X5 top.impl.usr.zz183)) (and (= top.impl.usr.zz183! top.usr.decelSet!) (let - ((X6 Bool (and (not X5) top.impl.usr.zz183!))) + ((X6 (and (not X5) top.impl.usr.zz183!))) (let - ((X7 Bool top.impl.usr.zz178)) + ((X7 top.impl.usr.zz178)) (and (= top.impl.usr.zz178! top.usr.accelResume!) (let - ((X8 Bool (and (not X7) top.impl.usr.zz178!))) + ((X8 (and (not X7) top.impl.usr.zz178!))) (let - ((X9 Int top.impl.usr.zz176)) + ((X9 top.impl.usr.zz176)) (let - ((X10 Int (+ X9 1))) + ((X10 (+ X9 1))) (let - ((X11 Int (ite top.usr.decelSet! X10 0))) + ((X11 (ite top.usr.decelSet! X10 0))) (let - ((X12 Int (ite (>= 0 X11) 0 X11))) + ((X12 (ite (>= 0 X11) 0 X11))) (and (= top.impl.usr.zz176! (ite (<= X12 20) X12 20)) (let - ((X13 Bool (= top.impl.usr.zz176! 20))) + ((X13 (= top.impl.usr.zz176! 20))) (let - ((X14 Int top.impl.usr.zz170)) + ((X14 top.impl.usr.zz170)) (let - ((X15 Int (+ X14 1))) + ((X15 (+ X14 1))) (let - ((X16 Int (ite top.usr.accelResume! X15 0))) + ((X16 (ite top.usr.accelResume! X15 0))) (let - ((X17 Int (ite (>= 0 X16) 0 X16))) + ((X17 (ite (>= 0 X16) 0 X16))) (and (= top.impl.usr.zz170! (ite (<= X17 20) X17 20)) (let - ((X18 Bool (= top.impl.usr.zz170! 20))) + ((X18 (= top.impl.usr.zz170! 20))) (let - ((X19 Int top.impl.usr.mode)) + ((X19 top.impl.usr.mode)) (let - ((X20 Int top.impl.usr.zz161)) + ((X20 top.impl.usr.zz161)) (and (= top.impl.usr.zz155! (ite top.impl.usr.SP3c false top.impl.usr.zz155)) (let - ((X21 Int (ite (not (= X20 1)) 1 X19))) + ((X21 (ite (not (= X20 1)) 1 X19))) (let ((X22 - Bool (and + (and (and (>= X20 2) (<= X20 8)) (not top.usr.onOff!)))) (let - ((X23 Int (ite (= X20 4) 3 X20))) + ((X23 (ite (= X20 4) 3 X20))) (let ((X24 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) X23 X20))) (let - ((X25 Int (ite (= X24 5) 3 X24))) + ((X25 (ite (= X24 5) 3 X24))) (let ((X26 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) X25 X24))) (let - ((X27 Int (ite (= X26 6) 3 X26))) + ((X27 (ite (= X26 6) 3 X26))) (let ((X28 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) X27 X26))) (let ((X29 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) 2 X28))) (let ((X30 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) X29 X20))) (let - ((X31 Int (ite (= X30 7) 2 X30))) + ((X31 (ite (= X30 7) 2 X30))) (let ((X32 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) X31 X30))) (let - ((X33 Int (ite (= X32 8) 2 X32))) + ((X33 (ite (= X32 8) 2 X32))) (let ((X34 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) X33 X32))) (let ((X35 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) 0 X34))) (let - ((X36 Int (ite X22 X35 X20))) + ((X36 (ite X22 X35 X20))) (let ((X37 - Int (ite (not (= X36 1)) 1 X36))) + (ite (not (= X36 1)) 1 X36))) (let - ((X38 Int (ite X22 X37 X36))) + ((X38 (ite X22 X37 X36))) (let ((X39 - Bool (and + (and (= X38 1) (and top.usr.onOff! (not X22))))) (let ((X40 - Int (ite (= X38 1) 0 X38))) + (ite (= X38 1) 0 X38))) (let - ((X41 Int (ite X39 X40 X38))) + ((X41 (ite X39 X40 X38))) (let ((X42 - Int (ite + (ite (not (= X36 1)) 1 X19))) (let ((X43 - Int (ite X22 X42 X19))) + (ite X22 X42 X19))) (let ((X44 - Int (ite + (ite (not (and (>= X41 2) @@ -5032,7 +4620,7 @@ X41))) (let ((X45 - Bool (and + (and (not (and (>= X41 2) @@ -5042,46 +4630,46 @@ (<= X44 8))))) (let ((X46 - Int (ite + (ite (not (= X44 7)) 2 X43))) (let ((X47 - Int (ite X45 X46 X43))) + (ite X45 X46 X43))) (let ((X48 - Int (ite + (ite X39 X47 X43))) (let ((X49 - Int (ite + (ite (not (= X44 7)) 7 X44))) (let ((X50 - Int (ite + (ite X45 X49 X44))) (let ((X51 - Int (ite + (ite X39 X50 X41))) (let ((X52 - Bool (or + (or X39 X22))) (let ((X53 - Bool (and + (and (and (>= X51 @@ -5092,13 +4680,13 @@ (not X4)))) (let ((X54 - Int (ite + (ite (= X51 4) 3 X51))) (let ((X55 - Int (ite + (ite (and (>= X51 @@ -5110,14 +4698,12 @@ X51))) (let ((X56 - Int (ite (= X55 5) 3 X55))) (let ((X57 - Int (ite (and (>= @@ -5130,14 +4716,12 @@ X55))) (let ((X58 - Int (ite (= X57 6) 3 X57))) (let ((X59 - Int (ite (and (>= @@ -5150,7 +4734,6 @@ X57))) (let ((X60 - Int (ite (and (>= @@ -5163,14 +4746,12 @@ X59))) (let ((X61 - Int (ite X53 X60 X51))) (let ((X62 - Int (ite (not (= X61 8)) @@ -5178,14 +4759,12 @@ X61))) (let ((X63 - Int (ite X53 X62 X61))) (let ((X64 - Bool (and (= X63 8) (and @@ -5207,21 +4786,18 @@ (not X53))))) (let ((X65 - Int (ite (= X63 8) 2 X63))) (let ((X66 - Int (ite X64 X65 X63))) (let ((X67 - Int (ite (not (and @@ -5235,7 +4811,6 @@ X66))) (let ((X68 - Bool (and (not (and @@ -5254,7 +4829,6 @@ 6))))) (let ((X69 - Int (ite (not (= X67 4)) @@ -5262,27 +4836,23 @@ X67))) (let ((X70 - Int (ite X68 X69 X67))) (let ((X71 - Int (ite X64 X70 X66))) (let ((X72 - Bool (or X64 X53))) (let ((X73 - Bool (and (= X71 8) (and @@ -5304,21 +4874,18 @@ (not X72))))) (let ((X74 - Int (ite (= X71 8) 2 X71))) (let ((X75 - Int (ite X73 X74 X71))) (let ((X76 - Int (ite (not (and @@ -5332,7 +4899,6 @@ X75))) (let ((X77 - Bool (and (not (and @@ -5351,7 +4917,6 @@ 6))))) (let ((X78 - Int (ite (not (= X76 4)) @@ -5359,27 +4924,23 @@ X76))) (let ((X79 - Int (ite X77 X78 X76))) (let ((X80 - Int (ite X73 X79 X75))) (let ((X81 - Bool (or X73 X72))) (let ((X82 - Bool (and (= X80 7) (and @@ -5401,21 +4962,18 @@ (not X81))))) (let ((X83 - Int (ite (= X80 7) 2 X80))) (let ((X84 - Int (ite X82 X83 X80))) (let ((X85 - Int (ite (not (= X61 8)) @@ -5423,14 +4981,12 @@ X48))) (let ((X86 - Int (ite X53 X85 X48))) (let ((X87 - Int (ite (not (= X67 4)) @@ -5438,21 +4994,18 @@ X86))) (let ((X88 - Int (ite X68 X87 X86))) (let ((X89 - Int (ite X64 X88 X86))) (let ((X90 - Int (ite (not (= X76 4)) @@ -5460,21 +5013,18 @@ X89))) (let ((X91 - Int (ite X77 X90 X89))) (let ((X92 - Int (ite X73 X91 X89))) (let ((X93 - Int (ite (not (and @@ -5488,7 +5038,6 @@ X84))) (let ((X94 - Bool (and (not (and @@ -5507,7 +5056,6 @@ 6))))) (let ((X95 - Int (ite (not (= X93 4)) @@ -5515,21 +5063,18 @@ X92))) (let ((X96 - Int (ite X94 X95 X92))) (let ((X97 - Int (ite X82 X96 X92))) (let ((X98 - Int (ite (not (= X93 4)) @@ -5537,27 +5082,23 @@ X93))) (let ((X99 - Int (ite X94 X98 X93))) (let ((X100 - Int (ite X82 X99 X84))) (let ((X101 - Bool (or X82 X81))) (let ((X102 - Bool (and (= X100 @@ -5571,7 +5112,6 @@ 0))))) (let ((X103 - Int (ite (= X100 @@ -5580,14 +5120,12 @@ X100))) (let ((X104 - Int (ite X102 X103 X100))) (let ((X105 - Int (ite (not (= @@ -5597,14 +5135,12 @@ X104))) (let ((X106 - Int (ite X102 X105 X104))) (let ((X107 - Bool (and (= X106 @@ -5621,7 +5157,6 @@ X102))))) (let ((X108 - Int (ite (= X106 @@ -5630,14 +5165,12 @@ X106))) (let ((X109 - Int (ite X107 X108 X106))) (let ((X110 - Int (ite (not (= @@ -5647,20 +5180,17 @@ X109))) (let ((X111 - Int (ite X107 X110 X109))) (let ((X112 - Bool (or X107 X102))) (let ((X113 - Bool (and (= X111 @@ -5677,7 +5207,6 @@ X112))))) (let ((X114 - Int (ite (= X111 @@ -5686,14 +5215,12 @@ X111))) (let ((X115 - Int (ite X113 X114 X111))) (let ((X116 - Int (ite (not (= @@ -5703,20 +5230,17 @@ X115))) (let ((X117 - Int (ite X113 X116 X115))) (let ((X118 - Bool (or X113 X112))) (let ((X119 - Bool (and (= X117 @@ -5734,7 +5258,6 @@ X118))))) (let ((X120 - Int (ite (= X117 @@ -5743,14 +5266,12 @@ X117))) (let ((X121 - Int (ite X119 X120 X117))) (let ((X122 - Int (ite (not (= @@ -5760,20 +5281,17 @@ X121))) (let ((X123 - Int (ite X119 X122 X121))) (let ((X124 - Bool (or X119 X118))) (let ((X125 - Bool (and (= X123 @@ -5791,7 +5309,6 @@ X124))))) (let ((X126 - Int (ite (= X123 @@ -5800,14 +5317,12 @@ X123))) (let ((X127 - Int (ite X125 X126 X123))) (let ((X128 - Int (ite (not (= @@ -5817,14 +5332,12 @@ X97))) (let ((X129 - Int (ite X102 X128 X97))) (let ((X130 - Int (ite (not (= @@ -5834,14 +5347,12 @@ X129))) (let ((X131 - Int (ite X107 X130 X129))) (let ((X132 - Int (ite (not (= @@ -5851,14 +5362,12 @@ X131))) (let ((X133 - Int (ite X113 X132 X131))) (let ((X134 - Int (ite (not (= @@ -5868,14 +5377,12 @@ X133))) (let ((X135 - Int (ite X119 X134 X133))) (let ((X136 - Int (ite (not (= @@ -5885,14 +5392,12 @@ X135))) (let ((X137 - Int (ite X125 X136 X135))) (let ((X138 - Int (ite (and (not @@ -5908,7 +5413,6 @@ X97))) (let ((X139 - Int (ite (and (not X52) @@ -5936,39 +5440,34 @@ X19)) (let ((X140 - Bool (= top.impl.usr.mode! 3))) (let ((X141 - Real (ite X140 X1 0.0))) (let ((X142 - Bool (= top.impl.usr.mode! 4))) (let ((X143 - Real (ite X142 X1 X141))) (let ((X144 - Bool (= top.impl.usr.mode! 5))) (let ((X145 - Bool X144)) + X144)) (and (= top.impl.usr.zz4! @@ -5991,24 +5490,22 @@ top.impl.usr.zz3! (- X1 - (/ 1 20)) + (/ 1.0 20.0)) top.impl.usr.zz5))) (let ((X146 - Real (ite X145 top.impl.usr.zz5! X143))) (let ((X147 - Bool (= top.impl.usr.mode! 6))) (let ((X148 - Bool X147)) + X147)) (and (= top.impl.usr.zz1! @@ -6031,28 +5528,25 @@ top.impl.usr.zz0! (+ X1 - (/ 1 20)) + (/ 1.0 20.0)) top.impl.usr.zz2))) (let ((X149 - Real (ite X148 top.impl.usr.zz2! X146))) (let ((X150 - Bool top.impl.usr.zz162)) + top.impl.usr.zz162)) (let ((X151 - Bool (ite (= X20 4) false X150))) (let ((X152 - Bool (ite (and (>= @@ -6065,7 +5559,6 @@ X150))) (let ((X153 - Bool (ite (and (>= @@ -6078,21 +5571,18 @@ X150))) (let ((X154 - Bool (ite X22 X153 X150))) (let ((X155 - Bool (ite (= X51 4) false X154))) (let ((X156 - Bool (ite (and (>= @@ -6105,28 +5595,24 @@ X154))) (let ((X157 - Bool (ite X53 X156 X154))) (let ((X158 - Bool (ite X64 true X157))) (let ((X159 - Bool (ite X82 true X158))) (let ((X160 - Int (ite (not (= @@ -6136,20 +5622,17 @@ X127))) (let ((X161 - Int (ite X125 X160 X127))) (let ((X162 - Bool (or X125 X124))) (let ((X163 - Bool (ite (= X100 @@ -6158,21 +5641,18 @@ X159))) (let ((X164 - Bool (ite X102 X163 X159))) (let ((X165 - Bool (ite X102 true X164))) (let ((X166 - Bool (ite (= X106 @@ -6181,14 +5661,12 @@ X165))) (let ((X167 - Bool (ite X107 X166 X165))) (let ((X168 - Bool (ite (= X111 @@ -6197,14 +5675,12 @@ X167))) (let ((X169 - Bool (ite X113 X168 X167))) (let ((X170 - Bool (ite (and (not @@ -6216,7 +5692,6 @@ X169))) (let ((X171 - Bool (ite (and (not @@ -6232,7 +5707,6 @@ X159))) (let ((X172 - Bool (ite (and (not X52) @@ -6257,7 +5731,6 @@ X150)) (let ((X173 - Real (ite top.impl.usr.zz162! top.usr.carSpeed! @@ -6278,19 +5751,16 @@ X173))) (let ((X174 - Real (- top.impl.usr.desiredSpeed! top.usr.carSpeed!))) (let ((X175 - Real (* X174 1.0))) (let ((X176 - Real (ite (< X175 @@ -6304,22 +5774,19 @@ X175)))) (let ((X177 - Real (/ X176 20.0))) (let ((X178 - Real top.impl.usr.cruiseThrottle)) + top.impl.usr.cruiseThrottle)) (let ((X179 - Real (+ X177 X178))) (let ((X180 - Real (ite (< X179 @@ -6333,7 +5800,6 @@ X179)))) (let ((X181 - Bool (or (or X142 @@ -6348,13 +5814,11 @@ 0.0)) (let ((X182 - Bool (>= top.impl.usr.cruiseThrottle! 0.0))) (let ((X183 - Bool (<= top.impl.usr.cruiseThrottle! 100.0))) @@ -6366,7 +5830,6 @@ X183)) (let ((X184 - Int (ite (not (= X20 1)) @@ -6374,7 +5837,6 @@ X20))) (let ((X185 - Int (ite (and (not @@ -6390,7 +5852,6 @@ X100))) (let ((X186 - Int (ite (and (not X52) @@ -6405,7 +5866,6 @@ X51))) (let ((X187 - Int (ite top.impl.usr.SP3c! (ite diff --git a/lib-nonconforming/Inv_Track/andrew_lustre/ccp07.lus.sl b/lib/Inv_Track/andrew_lustre/ccp07.lus.sl similarity index 88% rename from lib-nonconforming/Inv_Track/andrew_lustre/ccp07.lus.sl rename to lib/Inv_Track/andrew_lustre/ccp07.lus.sl index 051f586a..992abf7a 100644 --- a/lib-nonconforming/Inv_Track/andrew_lustre/ccp07.lus.sl +++ b/lib/Inv_Track/andrew_lustre/ccp07.lus.sl @@ -31,14 +31,14 @@ ) Bool (let - ((X1 Real 0.0)) + ((X1 0.0)) (let - ((X2 Bool (>= top.usr.carSpeed_a_0 15.0))) + ((X2 (>= top.usr.carSpeed_a_0 15.0))) (let - ((X3 Bool (= top.usr.carGear_a_0 3))) + ((X3 (= top.usr.carGear_a_0 3))) (let ((X4 - Bool (and + (and (and (and (and (not top.usr.cancel_a_0) (not top.usr.brakePedal_a_0)) @@ -46,143 +46,143 @@ X2) top.usr.validInputs_a_0))) (let - ((X5 Bool true)) + ((X5 true)) (and (= top.impl.usr.zz183_a_0 top.usr.decelSet_a_0) (let - ((X6 Bool (and (not X5) top.impl.usr.zz183_a_0))) + ((X6 (and (not X5) top.impl.usr.zz183_a_0))) (let - ((X7 Bool true)) + ((X7 true)) (and (= top.impl.usr.zz178_a_0 top.usr.accelResume_a_0) (let - ((X8 Bool (and (not X7) top.impl.usr.zz178_a_0))) + ((X8 (and (not X7) top.impl.usr.zz178_a_0))) (let - ((X9 Int 0)) + ((X9 0)) (let - ((X10 Int (+ X9 1))) + ((X10 (+ X9 1))) (let - ((X11 Int (ite top.usr.decelSet_a_0 X10 0))) + ((X11 (ite top.usr.decelSet_a_0 X10 0))) (let - ((X12 Int (ite (>= 0 X11) 0 X11))) + ((X12 (ite (>= 0 X11) 0 X11))) (and (= top.impl.usr.zz176_a_0 (ite (<= X12 20) X12 20)) (let - ((X13 Bool (= top.impl.usr.zz176_a_0 20))) + ((X13 (= top.impl.usr.zz176_a_0 20))) (let - ((X14 Int 0)) + ((X14 0)) (let - ((X15 Int (+ X14 1))) + ((X15 (+ X14 1))) (let - ((X16 Int (ite top.usr.accelResume_a_0 X15 0))) + ((X16 (ite top.usr.accelResume_a_0 X15 0))) (let - ((X17 Int (ite (>= 0 X16) 0 X16))) + ((X17 (ite (>= 0 X16) 0 X16))) (and (= top.impl.usr.zz170_a_0 (ite (<= X17 20) X17 20)) (let - ((X18 Bool (= top.impl.usr.zz170_a_0 20))) + ((X18 (= top.impl.usr.zz170_a_0 20))) (let - ((X19 Int 0)) + ((X19 0)) (let - ((X20 Int 0)) + ((X20 0)) (and (= top.impl.usr.zz155_a_0 true) (let - ((X21 Int (ite (not (= X20 1)) 1 X19))) + ((X21 (ite (not (= X20 1)) 1 X19))) (let ((X22 - Bool (and + (and (and (>= X20 2) (<= X20 8)) (not top.usr.onOff_a_0)))) (let - ((X23 Int (ite (= X20 4) 3 X20))) + ((X23 (ite (= X20 4) 3 X20))) (let ((X24 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) X23 X20))) (let - ((X25 Int (ite (= X24 5) 3 X24))) + ((X25 (ite (= X24 5) 3 X24))) (let ((X26 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) X25 X24))) (let - ((X27 Int (ite (= X26 6) 3 X26))) + ((X27 (ite (= X26 6) 3 X26))) (let ((X28 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) X27 X26))) (let ((X29 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) 2 X28))) (let ((X30 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) X29 X20))) (let - ((X31 Int (ite (= X30 7) 2 X30))) + ((X31 (ite (= X30 7) 2 X30))) (let ((X32 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) X31 X30))) (let - ((X33 Int (ite (= X32 8) 2 X32))) + ((X33 (ite (= X32 8) 2 X32))) (let ((X34 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) X33 X32))) (let ((X35 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) 0 X34))) (let - ((X36 Int (ite X22 X35 X20))) + ((X36 (ite X22 X35 X20))) (let ((X37 - Int (ite (not (= X36 1)) 1 X36))) + (ite (not (= X36 1)) 1 X36))) (let - ((X38 Int (ite X22 X37 X36))) + ((X38 (ite X22 X37 X36))) (let ((X39 - Bool (and + (and (= X38 1) (and top.usr.onOff_a_0 (not X22))))) (let ((X40 - Int (ite (= X38 1) 0 X38))) + (ite (= X38 1) 0 X38))) (let - ((X41 Int (ite X39 X40 X38))) + ((X41 (ite X39 X40 X38))) (let ((X42 - Int (ite + (ite (not (= X36 1)) 1 X19))) (let ((X43 - Int (ite X22 X42 X19))) + (ite X22 X42 X19))) (let ((X44 - Int (ite + (ite (not (and (>= X41 2) @@ -191,7 +191,7 @@ X41))) (let ((X45 - Bool (and + (and (not (and (>= X41 2) @@ -201,46 +201,46 @@ (<= X44 8))))) (let ((X46 - Int (ite + (ite (not (= X44 7)) 2 X43))) (let ((X47 - Int (ite X45 X46 X43))) + (ite X45 X46 X43))) (let ((X48 - Int (ite + (ite X39 X47 X43))) (let ((X49 - Int (ite + (ite (not (= X44 7)) 7 X44))) (let ((X50 - Int (ite + (ite X45 X49 X44))) (let ((X51 - Int (ite + (ite X39 X50 X41))) (let ((X52 - Bool (or + (or X39 X22))) (let ((X53 - Bool (and + (and (and (>= X51 @@ -251,13 +251,13 @@ (not X4)))) (let ((X54 - Int (ite + (ite (= X51 4) 3 X51))) (let ((X55 - Int (ite + (ite (and (>= X51 @@ -269,14 +269,12 @@ X51))) (let ((X56 - Int (ite (= X55 5) 3 X55))) (let ((X57 - Int (ite (and (>= @@ -289,14 +287,12 @@ X55))) (let ((X58 - Int (ite (= X57 6) 3 X57))) (let ((X59 - Int (ite (and (>= @@ -309,7 +305,6 @@ X57))) (let ((X60 - Int (ite (and (>= @@ -322,14 +317,12 @@ X59))) (let ((X61 - Int (ite X53 X60 X51))) (let ((X62 - Int (ite (not (= X61 8)) @@ -337,14 +330,12 @@ X61))) (let ((X63 - Int (ite X53 X62 X61))) (let ((X64 - Bool (and (= X63 8) (and @@ -366,21 +357,18 @@ (not X53))))) (let ((X65 - Int (ite (= X63 8) 2 X63))) (let ((X66 - Int (ite X64 X65 X63))) (let ((X67 - Int (ite (not (and @@ -394,7 +382,6 @@ X66))) (let ((X68 - Bool (and (not (and @@ -413,7 +400,6 @@ 6))))) (let ((X69 - Int (ite (not (= X67 4)) @@ -421,27 +407,23 @@ X67))) (let ((X70 - Int (ite X68 X69 X67))) (let ((X71 - Int (ite X64 X70 X66))) (let ((X72 - Bool (or X64 X53))) (let ((X73 - Bool (and (= X71 8) (and @@ -463,21 +445,18 @@ (not X72))))) (let ((X74 - Int (ite (= X71 8) 2 X71))) (let ((X75 - Int (ite X73 X74 X71))) (let ((X76 - Int (ite (not (and @@ -491,7 +470,6 @@ X75))) (let ((X77 - Bool (and (not (and @@ -510,7 +488,6 @@ 6))))) (let ((X78 - Int (ite (not (= X76 4)) @@ -518,27 +495,23 @@ X76))) (let ((X79 - Int (ite X77 X78 X76))) (let ((X80 - Int (ite X73 X79 X75))) (let ((X81 - Bool (or X73 X72))) (let ((X82 - Bool (and (= X80 7) (and @@ -560,21 +533,18 @@ (not X81))))) (let ((X83 - Int (ite (= X80 7) 2 X80))) (let ((X84 - Int (ite X82 X83 X80))) (let ((X85 - Int (ite (not (= X61 8)) @@ -582,14 +552,12 @@ X48))) (let ((X86 - Int (ite X53 X85 X48))) (let ((X87 - Int (ite (not (= X67 4)) @@ -597,21 +565,18 @@ X86))) (let ((X88 - Int (ite X68 X87 X86))) (let ((X89 - Int (ite X64 X88 X86))) (let ((X90 - Int (ite (not (= X76 4)) @@ -619,21 +584,18 @@ X89))) (let ((X91 - Int (ite X77 X90 X89))) (let ((X92 - Int (ite X73 X91 X89))) (let ((X93 - Int (ite (not (and @@ -647,7 +609,6 @@ X84))) (let ((X94 - Bool (and (not (and @@ -666,7 +627,6 @@ 6))))) (let ((X95 - Int (ite (not (= X93 4)) @@ -674,21 +634,18 @@ X92))) (let ((X96 - Int (ite X94 X95 X92))) (let ((X97 - Int (ite X82 X96 X92))) (let ((X98 - Int (ite (not (= X93 4)) @@ -696,27 +653,23 @@ X93))) (let ((X99 - Int (ite X94 X98 X93))) (let ((X100 - Int (ite X82 X99 X84))) (let ((X101 - Bool (or X82 X81))) (let ((X102 - Bool (and (= X100 @@ -730,7 +683,6 @@ 0))))) (let ((X103 - Int (ite (= X100 @@ -739,14 +691,12 @@ X100))) (let ((X104 - Int (ite X102 X103 X100))) (let ((X105 - Int (ite (not (= @@ -756,14 +706,12 @@ X104))) (let ((X106 - Int (ite X102 X105 X104))) (let ((X107 - Bool (and (= X106 @@ -780,7 +728,6 @@ X102))))) (let ((X108 - Int (ite (= X106 @@ -789,14 +736,12 @@ X106))) (let ((X109 - Int (ite X107 X108 X106))) (let ((X110 - Int (ite (not (= @@ -806,20 +751,17 @@ X109))) (let ((X111 - Int (ite X107 X110 X109))) (let ((X112 - Bool (or X107 X102))) (let ((X113 - Bool (and (= X111 @@ -836,7 +778,6 @@ X112))))) (let ((X114 - Int (ite (= X111 @@ -845,14 +786,12 @@ X111))) (let ((X115 - Int (ite X113 X114 X111))) (let ((X116 - Int (ite (not (= @@ -862,20 +801,17 @@ X115))) (let ((X117 - Int (ite X113 X116 X115))) (let ((X118 - Bool (or X113 X112))) (let ((X119 - Bool (and (= X117 @@ -893,7 +829,6 @@ X118))))) (let ((X120 - Int (ite (= X117 @@ -902,14 +837,12 @@ X117))) (let ((X121 - Int (ite X119 X120 X117))) (let ((X122 - Int (ite (not (= @@ -919,20 +852,17 @@ X121))) (let ((X123 - Int (ite X119 X122 X121))) (let ((X124 - Bool (or X119 X118))) (let ((X125 - Bool (and (= X123 @@ -950,7 +880,6 @@ X124))))) (let ((X126 - Int (ite (= X123 @@ -959,14 +888,12 @@ X123))) (let ((X127 - Int (ite X125 X126 X123))) (let ((X128 - Int (ite (not (= @@ -976,14 +903,12 @@ X97))) (let ((X129 - Int (ite X102 X128 X97))) (let ((X130 - Int (ite (not (= @@ -993,14 +918,12 @@ X129))) (let ((X131 - Int (ite X107 X130 X129))) (let ((X132 - Int (ite (not (= @@ -1010,14 +933,12 @@ X131))) (let ((X133 - Int (ite X113 X132 X131))) (let ((X134 - Int (ite (not (= @@ -1027,14 +948,12 @@ X133))) (let ((X135 - Int (ite X119 X134 X133))) (let ((X136 - Int (ite (not (= @@ -1044,14 +963,12 @@ X135))) (let ((X137 - Int (ite X125 X136 X135))) (let ((X138 - Int (ite (and (not @@ -1067,7 +984,6 @@ X97))) (let ((X139 - Int (ite (and (not X52) @@ -1095,39 +1011,34 @@ X19)) (let ((X140 - Bool (= top.impl.usr.mode_a_0 3))) (let ((X141 - Real (ite X140 X1 0.0))) (let ((X142 - Bool (= top.impl.usr.mode_a_0 4))) (let ((X143 - Real (ite X142 X1 X141))) (let ((X144 - Bool (= top.impl.usr.mode_a_0 5))) (let ((X145 - Bool X144)) + X144)) (and (= top.impl.usr.zz4_a_0 @@ -1145,23 +1056,21 @@ 0.0 (- X1 - (/ 1 20)))) + (/ 1.0 20.0)))) (let ((X146 - Real (ite X145 top.impl.usr.zz5_a_0 X143))) (let ((X147 - Bool (= top.impl.usr.mode_a_0 6))) (let ((X148 - Bool X147)) + X147)) (and (= top.impl.usr.zz1_a_0 @@ -1179,27 +1088,24 @@ 0.0 (+ X1 - (/ 1 20)))) + (/ 1.0 20.0)))) (let ((X149 - Real (ite X148 top.impl.usr.zz2_a_0 X146))) (let ((X150 - Bool false)) + false)) (let ((X151 - Bool (ite (= X20 4) false X150))) (let ((X152 - Bool (ite (and (>= @@ -1212,7 +1118,6 @@ X150))) (let ((X153 - Bool (ite (and (>= @@ -1225,21 +1130,18 @@ X150))) (let ((X154 - Bool (ite X22 X153 X150))) (let ((X155 - Bool (ite (= X51 4) false X154))) (let ((X156 - Bool (ite (and (>= @@ -1252,28 +1154,24 @@ X154))) (let ((X157 - Bool (ite X53 X156 X154))) (let ((X158 - Bool (ite X64 true X157))) (let ((X159 - Bool (ite X82 true X158))) (let ((X160 - Int (ite (not (= @@ -1283,20 +1181,17 @@ X127))) (let ((X161 - Int (ite X125 X160 X127))) (let ((X162 - Bool (or X125 X124))) (let ((X163 - Bool (ite (= X100 @@ -1305,21 +1200,18 @@ X159))) (let ((X164 - Bool (ite X102 X163 X159))) (let ((X165 - Bool (ite X102 true X164))) (let ((X166 - Bool (ite (= X106 @@ -1328,14 +1220,12 @@ X165))) (let ((X167 - Bool (ite X107 X166 X165))) (let ((X168 - Bool (ite (= X111 @@ -1344,14 +1234,12 @@ X167))) (let ((X169 - Bool (ite X113 X168 X167))) (let ((X170 - Bool (ite (and (not @@ -1363,7 +1251,6 @@ X169))) (let ((X171 - Bool (ite (and (not @@ -1379,7 +1266,6 @@ X159))) (let ((X172 - Bool (ite (and (not X52) @@ -1404,7 +1290,6 @@ X150)) (let ((X173 - Real (ite top.impl.usr.zz162_a_0 top.usr.carSpeed_a_0 @@ -1425,13 +1310,11 @@ X173))) (let ((X174 - Bool (>= top.impl.usr.desiredSpeed_a_0 0.0))) (let ((X175 - Bool (<= top.impl.usr.desiredSpeed_a_0 100.0))) @@ -1443,7 +1326,6 @@ X175)) (let ((X176 - Int (ite (not (= X20 1)) @@ -1451,7 +1333,6 @@ X20))) (let ((X177 - Int (ite (and (not @@ -1467,7 +1348,6 @@ X100))) (let ((X178 - Int (ite (and (not X52) @@ -1482,7 +1362,6 @@ X51))) (let ((X179 - Int (ite top.impl.usr.SP3c_a_0 (ite @@ -1554,14 +1433,14 @@ ) Bool (let - ((X1 Real top.impl.usr.desiredSpeed_a_0)) + ((X1 top.impl.usr.desiredSpeed_a_0)) (let - ((X2 Bool (>= top.usr.carSpeed_a_1 15.0))) + ((X2 (>= top.usr.carSpeed_a_1 15.0))) (let - ((X3 Bool (= top.usr.carGear_a_1 3))) + ((X3 (= top.usr.carGear_a_1 3))) (let ((X4 - Bool (and + (and (and (and (and (not top.usr.cancel_a_1) (not top.usr.brakePedal_a_1)) @@ -1569,45 +1448,45 @@ X2) top.usr.validInputs_a_1))) (let - ((X5 Bool top.impl.usr.zz183_a_0)) + ((X5 top.impl.usr.zz183_a_0)) (and (= top.impl.usr.zz183_a_1 top.usr.decelSet_a_1) (let - ((X6 Bool (and (not X5) top.impl.usr.zz183_a_1))) + ((X6 (and (not X5) top.impl.usr.zz183_a_1))) (let - ((X7 Bool top.impl.usr.zz178_a_0)) + ((X7 top.impl.usr.zz178_a_0)) (and (= top.impl.usr.zz178_a_1 top.usr.accelResume_a_1) (let - ((X8 Bool (and (not X7) top.impl.usr.zz178_a_1))) + ((X8 (and (not X7) top.impl.usr.zz178_a_1))) (let - ((X9 Int top.impl.usr.zz176_a_0)) + ((X9 top.impl.usr.zz176_a_0)) (let - ((X10 Int (+ X9 1))) + ((X10 (+ X9 1))) (let - ((X11 Int (ite top.usr.decelSet_a_1 X10 0))) + ((X11 (ite top.usr.decelSet_a_1 X10 0))) (let - ((X12 Int (ite (>= 0 X11) 0 X11))) + ((X12 (ite (>= 0 X11) 0 X11))) (and (= top.impl.usr.zz176_a_1 (ite (<= X12 20) X12 20)) (let - ((X13 Bool (= top.impl.usr.zz176_a_1 20))) + ((X13 (= top.impl.usr.zz176_a_1 20))) (let - ((X14 Int top.impl.usr.zz170_a_0)) + ((X14 top.impl.usr.zz170_a_0)) (let - ((X15 Int (+ X14 1))) + ((X15 (+ X14 1))) (let - ((X16 Int (ite top.usr.accelResume_a_1 X15 0))) + ((X16 (ite top.usr.accelResume_a_1 X15 0))) (let - ((X17 Int (ite (>= 0 X16) 0 X16))) + ((X17 (ite (>= 0 X16) 0 X16))) (and (= top.impl.usr.zz170_a_1 (ite (<= X17 20) X17 20)) (let - ((X18 Bool (= top.impl.usr.zz170_a_1 20))) + ((X18 (= top.impl.usr.zz170_a_1 20))) (let - ((X19 Int top.impl.usr.mode_a_0)) + ((X19 top.impl.usr.mode_a_0)) (let - ((X20 Int top.impl.usr.zz161_a_0)) + ((X20 top.impl.usr.zz161_a_0)) (and (= top.impl.usr.zz155_a_1 @@ -1616,101 +1495,101 @@ false top.impl.usr.zz155_a_0)) (let - ((X21 Int (ite (not (= X20 1)) 1 X19))) + ((X21 (ite (not (= X20 1)) 1 X19))) (let ((X22 - Bool (and + (and (and (>= X20 2) (<= X20 8)) (not top.usr.onOff_a_1)))) (let - ((X23 Int (ite (= X20 4) 3 X20))) + ((X23 (ite (= X20 4) 3 X20))) (let ((X24 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) X23 X20))) (let - ((X25 Int (ite (= X24 5) 3 X24))) + ((X25 (ite (= X24 5) 3 X24))) (let ((X26 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) X25 X24))) (let - ((X27 Int (ite (= X26 6) 3 X26))) + ((X27 (ite (= X26 6) 3 X26))) (let ((X28 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) X27 X26))) (let ((X29 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) 2 X28))) (let ((X30 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) X29 X20))) (let - ((X31 Int (ite (= X30 7) 2 X30))) + ((X31 (ite (= X30 7) 2 X30))) (let ((X32 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) X31 X30))) (let - ((X33 Int (ite (= X32 8) 2 X32))) + ((X33 (ite (= X32 8) 2 X32))) (let ((X34 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) X33 X32))) (let ((X35 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) 0 X34))) (let - ((X36 Int (ite X22 X35 X20))) + ((X36 (ite X22 X35 X20))) (let ((X37 - Int (ite (not (= X36 1)) 1 X36))) + (ite (not (= X36 1)) 1 X36))) (let - ((X38 Int (ite X22 X37 X36))) + ((X38 (ite X22 X37 X36))) (let ((X39 - Bool (and + (and (= X38 1) (and top.usr.onOff_a_1 (not X22))))) (let ((X40 - Int (ite (= X38 1) 0 X38))) + (ite (= X38 1) 0 X38))) (let - ((X41 Int (ite X39 X40 X38))) + ((X41 (ite X39 X40 X38))) (let ((X42 - Int (ite + (ite (not (= X36 1)) 1 X19))) (let ((X43 - Int (ite X22 X42 X19))) + (ite X22 X42 X19))) (let ((X44 - Int (ite + (ite (not (and (>= X41 2) @@ -1719,7 +1598,7 @@ X41))) (let ((X45 - Bool (and + (and (not (and (>= X41 2) @@ -1729,46 +1608,46 @@ (<= X44 8))))) (let ((X46 - Int (ite + (ite (not (= X44 7)) 2 X43))) (let ((X47 - Int (ite X45 X46 X43))) + (ite X45 X46 X43))) (let ((X48 - Int (ite + (ite X39 X47 X43))) (let ((X49 - Int (ite + (ite (not (= X44 7)) 7 X44))) (let ((X50 - Int (ite + (ite X45 X49 X44))) (let ((X51 - Int (ite + (ite X39 X50 X41))) (let ((X52 - Bool (or + (or X39 X22))) (let ((X53 - Bool (and + (and (and (>= X51 @@ -1779,13 +1658,13 @@ (not X4)))) (let ((X54 - Int (ite + (ite (= X51 4) 3 X51))) (let ((X55 - Int (ite + (ite (and (>= X51 @@ -1797,14 +1676,12 @@ X51))) (let ((X56 - Int (ite (= X55 5) 3 X55))) (let ((X57 - Int (ite (and (>= @@ -1817,14 +1694,12 @@ X55))) (let ((X58 - Int (ite (= X57 6) 3 X57))) (let ((X59 - Int (ite (and (>= @@ -1837,7 +1712,6 @@ X57))) (let ((X60 - Int (ite (and (>= @@ -1850,14 +1724,12 @@ X59))) (let ((X61 - Int (ite X53 X60 X51))) (let ((X62 - Int (ite (not (= X61 8)) @@ -1865,14 +1737,12 @@ X61))) (let ((X63 - Int (ite X53 X62 X61))) (let ((X64 - Bool (and (= X63 8) (and @@ -1894,21 +1764,18 @@ (not X53))))) (let ((X65 - Int (ite (= X63 8) 2 X63))) (let ((X66 - Int (ite X64 X65 X63))) (let ((X67 - Int (ite (not (and @@ -1922,7 +1789,6 @@ X66))) (let ((X68 - Bool (and (not (and @@ -1941,7 +1807,6 @@ 6))))) (let ((X69 - Int (ite (not (= X67 4)) @@ -1949,27 +1814,23 @@ X67))) (let ((X70 - Int (ite X68 X69 X67))) (let ((X71 - Int (ite X64 X70 X66))) (let ((X72 - Bool (or X64 X53))) (let ((X73 - Bool (and (= X71 8) (and @@ -1991,21 +1852,18 @@ (not X72))))) (let ((X74 - Int (ite (= X71 8) 2 X71))) (let ((X75 - Int (ite X73 X74 X71))) (let ((X76 - Int (ite (not (and @@ -2019,7 +1877,6 @@ X75))) (let ((X77 - Bool (and (not (and @@ -2038,7 +1895,6 @@ 6))))) (let ((X78 - Int (ite (not (= X76 4)) @@ -2046,27 +1902,23 @@ X76))) (let ((X79 - Int (ite X77 X78 X76))) (let ((X80 - Int (ite X73 X79 X75))) (let ((X81 - Bool (or X73 X72))) (let ((X82 - Bool (and (= X80 7) (and @@ -2088,21 +1940,18 @@ (not X81))))) (let ((X83 - Int (ite (= X80 7) 2 X80))) (let ((X84 - Int (ite X82 X83 X80))) (let ((X85 - Int (ite (not (= X61 8)) @@ -2110,14 +1959,12 @@ X48))) (let ((X86 - Int (ite X53 X85 X48))) (let ((X87 - Int (ite (not (= X67 4)) @@ -2125,21 +1972,18 @@ X86))) (let ((X88 - Int (ite X68 X87 X86))) (let ((X89 - Int (ite X64 X88 X86))) (let ((X90 - Int (ite (not (= X76 4)) @@ -2147,21 +1991,18 @@ X89))) (let ((X91 - Int (ite X77 X90 X89))) (let ((X92 - Int (ite X73 X91 X89))) (let ((X93 - Int (ite (not (and @@ -2175,7 +2016,6 @@ X84))) (let ((X94 - Bool (and (not (and @@ -2194,7 +2034,6 @@ 6))))) (let ((X95 - Int (ite (not (= X93 4)) @@ -2202,21 +2041,18 @@ X92))) (let ((X96 - Int (ite X94 X95 X92))) (let ((X97 - Int (ite X82 X96 X92))) (let ((X98 - Int (ite (not (= X93 4)) @@ -2224,27 +2060,23 @@ X93))) (let ((X99 - Int (ite X94 X98 X93))) (let ((X100 - Int (ite X82 X99 X84))) (let ((X101 - Bool (or X82 X81))) (let ((X102 - Bool (and (= X100 @@ -2258,7 +2090,6 @@ 0))))) (let ((X103 - Int (ite (= X100 @@ -2267,14 +2098,12 @@ X100))) (let ((X104 - Int (ite X102 X103 X100))) (let ((X105 - Int (ite (not (= @@ -2284,14 +2113,12 @@ X104))) (let ((X106 - Int (ite X102 X105 X104))) (let ((X107 - Bool (and (= X106 @@ -2308,7 +2135,6 @@ X102))))) (let ((X108 - Int (ite (= X106 @@ -2317,14 +2143,12 @@ X106))) (let ((X109 - Int (ite X107 X108 X106))) (let ((X110 - Int (ite (not (= @@ -2334,20 +2158,17 @@ X109))) (let ((X111 - Int (ite X107 X110 X109))) (let ((X112 - Bool (or X107 X102))) (let ((X113 - Bool (and (= X111 @@ -2364,7 +2185,6 @@ X112))))) (let ((X114 - Int (ite (= X111 @@ -2373,14 +2193,12 @@ X111))) (let ((X115 - Int (ite X113 X114 X111))) (let ((X116 - Int (ite (not (= @@ -2390,20 +2208,17 @@ X115))) (let ((X117 - Int (ite X113 X116 X115))) (let ((X118 - Bool (or X113 X112))) (let ((X119 - Bool (and (= X117 @@ -2421,7 +2236,6 @@ X118))))) (let ((X120 - Int (ite (= X117 @@ -2430,14 +2244,12 @@ X117))) (let ((X121 - Int (ite X119 X120 X117))) (let ((X122 - Int (ite (not (= @@ -2447,20 +2259,17 @@ X121))) (let ((X123 - Int (ite X119 X122 X121))) (let ((X124 - Bool (or X119 X118))) (let ((X125 - Bool (and (= X123 @@ -2478,7 +2287,6 @@ X124))))) (let ((X126 - Int (ite (= X123 @@ -2487,14 +2295,12 @@ X123))) (let ((X127 - Int (ite X125 X126 X123))) (let ((X128 - Int (ite (not (= @@ -2504,14 +2310,12 @@ X97))) (let ((X129 - Int (ite X102 X128 X97))) (let ((X130 - Int (ite (not (= @@ -2521,14 +2325,12 @@ X129))) (let ((X131 - Int (ite X107 X130 X129))) (let ((X132 - Int (ite (not (= @@ -2538,14 +2340,12 @@ X131))) (let ((X133 - Int (ite X113 X132 X131))) (let ((X134 - Int (ite (not (= @@ -2555,14 +2355,12 @@ X133))) (let ((X135 - Int (ite X119 X134 X133))) (let ((X136 - Int (ite (not (= @@ -2572,14 +2370,12 @@ X135))) (let ((X137 - Int (ite X125 X136 X135))) (let ((X138 - Int (ite (and (not @@ -2595,7 +2391,6 @@ X97))) (let ((X139 - Int (ite (and (not X52) @@ -2623,39 +2418,34 @@ X19)) (let ((X140 - Bool (= top.impl.usr.mode_a_1 3))) (let ((X141 - Real (ite X140 X1 0.0))) (let ((X142 - Bool (= top.impl.usr.mode_a_1 4))) (let ((X143 - Real (ite X142 X1 X141))) (let ((X144 - Bool (= top.impl.usr.mode_a_1 5))) (let ((X145 - Bool X144)) + X144)) (and (= top.impl.usr.zz4_a_1 @@ -2678,24 +2468,22 @@ top.impl.usr.zz3_a_1 (- X1 - (/ 1 20)) + (/ 1.0 20.0)) top.impl.usr.zz5_a_0))) (let ((X146 - Real (ite X145 top.impl.usr.zz5_a_1 X143))) (let ((X147 - Bool (= top.impl.usr.mode_a_1 6))) (let ((X148 - Bool X147)) + X147)) (and (= top.impl.usr.zz1_a_1 @@ -2718,28 +2506,25 @@ top.impl.usr.zz0_a_1 (+ X1 - (/ 1 20)) + (/ 1.0 20.0)) top.impl.usr.zz2_a_0))) (let ((X149 - Real (ite X148 top.impl.usr.zz2_a_1 X146))) (let ((X150 - Bool top.impl.usr.zz162_a_0)) + top.impl.usr.zz162_a_0)) (let ((X151 - Bool (ite (= X20 4) false X150))) (let ((X152 - Bool (ite (and (>= @@ -2752,7 +2537,6 @@ X150))) (let ((X153 - Bool (ite (and (>= @@ -2765,21 +2549,18 @@ X150))) (let ((X154 - Bool (ite X22 X153 X150))) (let ((X155 - Bool (ite (= X51 4) false X154))) (let ((X156 - Bool (ite (and (>= @@ -2792,28 +2573,24 @@ X154))) (let ((X157 - Bool (ite X53 X156 X154))) (let ((X158 - Bool (ite X64 true X157))) (let ((X159 - Bool (ite X82 true X158))) (let ((X160 - Int (ite (not (= @@ -2823,20 +2600,17 @@ X127))) (let ((X161 - Int (ite X125 X160 X127))) (let ((X162 - Bool (or X125 X124))) (let ((X163 - Bool (ite (= X100 @@ -2845,21 +2619,18 @@ X159))) (let ((X164 - Bool (ite X102 X163 X159))) (let ((X165 - Bool (ite X102 true X164))) (let ((X166 - Bool (ite (= X106 @@ -2868,14 +2639,12 @@ X165))) (let ((X167 - Bool (ite X107 X166 X165))) (let ((X168 - Bool (ite (= X111 @@ -2884,14 +2653,12 @@ X167))) (let ((X169 - Bool (ite X113 X168 X167))) (let ((X170 - Bool (ite (and (not @@ -2903,7 +2670,6 @@ X169))) (let ((X171 - Bool (ite (and (not @@ -2919,7 +2685,6 @@ X159))) (let ((X172 - Bool (ite (and (not X52) @@ -2944,7 +2709,6 @@ X150)) (let ((X173 - Real (ite top.impl.usr.zz162_a_1 top.usr.carSpeed_a_1 @@ -2965,13 +2729,11 @@ X173))) (let ((X174 - Bool (>= top.impl.usr.desiredSpeed_a_1 0.0))) (let ((X175 - Bool (<= top.impl.usr.desiredSpeed_a_1 100.0))) @@ -2983,7 +2745,6 @@ X175)) (let ((X176 - Int (ite (not (= X20 1)) @@ -2991,7 +2752,6 @@ X20))) (let ((X177 - Int (ite (and (not @@ -3007,7 +2767,6 @@ X100))) (let ((X178 - Int (ite (and (not X52) @@ -3022,7 +2781,6 @@ X51))) (let ((X179 - Int (ite top.impl.usr.SP3c_a_1 (ite @@ -3070,33 +2828,6 @@ )) -(declare-primed-var top.usr.onOff Bool) -(declare-primed-var top.usr.decelSet Bool) -(declare-primed-var top.usr.accelResume Bool) -(declare-primed-var top.usr.cancel Bool) -(declare-primed-var top.usr.brakePedal Bool) -(declare-primed-var top.usr.carGear Int) -(declare-primed-var top.usr.carSpeed Real) -(declare-primed-var top.usr.validInputs Bool) -(declare-primed-var top.usr.OK Bool) -(declare-primed-var top.res.init_flag Bool) -(declare-primed-var top.impl.usr.mode Int) -(declare-primed-var top.impl.usr.desiredSpeed Real) -(declare-primed-var top.impl.usr.SP3c Bool) -(declare-primed-var top.impl.usr.zz0 Bool) -(declare-primed-var top.impl.usr.zz1 Bool) -(declare-primed-var top.impl.usr.zz2 Real) -(declare-primed-var top.impl.usr.zz3 Bool) -(declare-primed-var top.impl.usr.zz4 Bool) -(declare-primed-var top.impl.usr.zz5 Real) -(declare-primed-var top.impl.usr.zz155 Bool) -(declare-primed-var top.impl.usr.zz161 Int) -(declare-primed-var top.impl.usr.zz162 Bool) -(declare-primed-var top.impl.usr.zz170 Int) -(declare-primed-var top.impl.usr.zz176 Int) -(declare-primed-var top.impl.usr.zz178 Bool) -(declare-primed-var top.impl.usr.zz183 Bool) - (define-fun init ( (top.usr.onOff Bool) @@ -3128,156 +2859,156 @@ ) Bool (let - ((X1 Real 0.0)) + ((X1 0.0)) (let - ((X2 Bool (>= top.usr.carSpeed 15.0))) + ((X2 (>= top.usr.carSpeed 15.0))) (let - ((X3 Bool (= top.usr.carGear 3))) + ((X3 (= top.usr.carGear 3))) (let ((X4 - Bool (and + (and (and (and (and (not top.usr.cancel) (not top.usr.brakePedal)) X3) X2) top.usr.validInputs))) (let - ((X5 Bool true)) + ((X5 true)) (and (= top.impl.usr.zz183 top.usr.decelSet) (let - ((X6 Bool (and (not X5) top.impl.usr.zz183))) + ((X6 (and (not X5) top.impl.usr.zz183))) (let - ((X7 Bool true)) + ((X7 true)) (and (= top.impl.usr.zz178 top.usr.accelResume) (let - ((X8 Bool (and (not X7) top.impl.usr.zz178))) + ((X8 (and (not X7) top.impl.usr.zz178))) (let - ((X9 Int 0)) + ((X9 0)) (let - ((X10 Int (+ X9 1))) + ((X10 (+ X9 1))) (let - ((X11 Int (ite top.usr.decelSet X10 0))) + ((X11 (ite top.usr.decelSet X10 0))) (let - ((X12 Int (ite (>= 0 X11) 0 X11))) + ((X12 (ite (>= 0 X11) 0 X11))) (and (= top.impl.usr.zz176 (ite (<= X12 20) X12 20)) (let - ((X13 Bool (= top.impl.usr.zz176 20))) + ((X13 (= top.impl.usr.zz176 20))) (let - ((X14 Int 0)) + ((X14 0)) (let - ((X15 Int (+ X14 1))) + ((X15 (+ X14 1))) (let - ((X16 Int (ite top.usr.accelResume X15 0))) + ((X16 (ite top.usr.accelResume X15 0))) (let - ((X17 Int (ite (>= 0 X16) 0 X16))) + ((X17 (ite (>= 0 X16) 0 X16))) (and (= top.impl.usr.zz170 (ite (<= X17 20) X17 20)) (let - ((X18 Bool (= top.impl.usr.zz170 20))) + ((X18 (= top.impl.usr.zz170 20))) (let - ((X19 Int 0)) + ((X19 0)) (let - ((X20 Int 0)) + ((X20 0)) (and (= top.impl.usr.zz155 true) (let - ((X21 Int (ite (not (= X20 1)) 1 X19))) + ((X21 (ite (not (= X20 1)) 1 X19))) (let ((X22 - Bool (and + (and (and (>= X20 2) (<= X20 8)) (not top.usr.onOff)))) (let - ((X23 Int (ite (= X20 4) 3 X20))) + ((X23 (ite (= X20 4) 3 X20))) (let ((X24 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) X23 X20))) (let - ((X25 Int (ite (= X24 5) 3 X24))) + ((X25 (ite (= X24 5) 3 X24))) (let ((X26 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) X25 X24))) (let - ((X27 Int (ite (= X26 6) 3 X26))) + ((X27 (ite (= X26 6) 3 X26))) (let ((X28 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) X27 X26))) (let ((X29 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) 2 X28))) (let ((X30 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) X29 X20))) (let - ((X31 Int (ite (= X30 7) 2 X30))) + ((X31 (ite (= X30 7) 2 X30))) (let ((X32 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) X31 X30))) (let - ((X33 Int (ite (= X32 8) 2 X32))) + ((X33 (ite (= X32 8) 2 X32))) (let ((X34 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) X33 X32))) (let ((X35 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) 0 X34))) (let - ((X36 Int (ite X22 X35 X20))) + ((X36 (ite X22 X35 X20))) (let ((X37 - Int (ite (not (= X36 1)) 1 X36))) + (ite (not (= X36 1)) 1 X36))) (let - ((X38 Int (ite X22 X37 X36))) + ((X38 (ite X22 X37 X36))) (let ((X39 - Bool (and + (and (= X38 1) (and top.usr.onOff (not X22))))) (let ((X40 - Int (ite (= X38 1) 0 X38))) + (ite (= X38 1) 0 X38))) (let - ((X41 Int (ite X39 X40 X38))) + ((X41 (ite X39 X40 X38))) (let ((X42 - Int (ite + (ite (not (= X36 1)) 1 X19))) (let ((X43 - Int (ite X22 X42 X19))) + (ite X22 X42 X19))) (let ((X44 - Int (ite + (ite (not (and (>= X41 2) @@ -3286,7 +3017,7 @@ X41))) (let ((X45 - Bool (and + (and (not (and (>= X41 2) @@ -3296,46 +3027,46 @@ (<= X44 8))))) (let ((X46 - Int (ite + (ite (not (= X44 7)) 2 X43))) (let ((X47 - Int (ite X45 X46 X43))) + (ite X45 X46 X43))) (let ((X48 - Int (ite + (ite X39 X47 X43))) (let ((X49 - Int (ite + (ite (not (= X44 7)) 7 X44))) (let ((X50 - Int (ite + (ite X45 X49 X44))) (let ((X51 - Int (ite + (ite X39 X50 X41))) (let ((X52 - Bool (or + (or X39 X22))) (let ((X53 - Bool (and + (and (and (>= X51 @@ -3346,13 +3077,13 @@ (not X4)))) (let ((X54 - Int (ite + (ite (= X51 4) 3 X51))) (let ((X55 - Int (ite + (ite (and (>= X51 @@ -3364,14 +3095,12 @@ X51))) (let ((X56 - Int (ite (= X55 5) 3 X55))) (let ((X57 - Int (ite (and (>= @@ -3384,14 +3113,12 @@ X55))) (let ((X58 - Int (ite (= X57 6) 3 X57))) (let ((X59 - Int (ite (and (>= @@ -3404,7 +3131,6 @@ X57))) (let ((X60 - Int (ite (and (>= @@ -3417,14 +3143,12 @@ X59))) (let ((X61 - Int (ite X53 X60 X51))) (let ((X62 - Int (ite (not (= X61 8)) @@ -3432,14 +3156,12 @@ X61))) (let ((X63 - Int (ite X53 X62 X61))) (let ((X64 - Bool (and (= X63 8) (and @@ -3461,21 +3183,18 @@ (not X53))))) (let ((X65 - Int (ite (= X63 8) 2 X63))) (let ((X66 - Int (ite X64 X65 X63))) (let ((X67 - Int (ite (not (and @@ -3489,7 +3208,6 @@ X66))) (let ((X68 - Bool (and (not (and @@ -3508,7 +3226,6 @@ 6))))) (let ((X69 - Int (ite (not (= X67 4)) @@ -3516,27 +3233,23 @@ X67))) (let ((X70 - Int (ite X68 X69 X67))) (let ((X71 - Int (ite X64 X70 X66))) (let ((X72 - Bool (or X64 X53))) (let ((X73 - Bool (and (= X71 8) (and @@ -3558,21 +3271,18 @@ (not X72))))) (let ((X74 - Int (ite (= X71 8) 2 X71))) (let ((X75 - Int (ite X73 X74 X71))) (let ((X76 - Int (ite (not (and @@ -3586,7 +3296,6 @@ X75))) (let ((X77 - Bool (and (not (and @@ -3605,7 +3314,6 @@ 6))))) (let ((X78 - Int (ite (not (= X76 4)) @@ -3613,27 +3321,23 @@ X76))) (let ((X79 - Int (ite X77 X78 X76))) (let ((X80 - Int (ite X73 X79 X75))) (let ((X81 - Bool (or X73 X72))) (let ((X82 - Bool (and (= X80 7) (and @@ -3655,21 +3359,18 @@ (not X81))))) (let ((X83 - Int (ite (= X80 7) 2 X80))) (let ((X84 - Int (ite X82 X83 X80))) (let ((X85 - Int (ite (not (= X61 8)) @@ -3677,14 +3378,12 @@ X48))) (let ((X86 - Int (ite X53 X85 X48))) (let ((X87 - Int (ite (not (= X67 4)) @@ -3692,21 +3391,18 @@ X86))) (let ((X88 - Int (ite X68 X87 X86))) (let ((X89 - Int (ite X64 X88 X86))) (let ((X90 - Int (ite (not (= X76 4)) @@ -3714,21 +3410,18 @@ X89))) (let ((X91 - Int (ite X77 X90 X89))) (let ((X92 - Int (ite X73 X91 X89))) (let ((X93 - Int (ite (not (and @@ -3742,7 +3435,6 @@ X84))) (let ((X94 - Bool (and (not (and @@ -3761,7 +3453,6 @@ 6))))) (let ((X95 - Int (ite (not (= X93 4)) @@ -3769,21 +3460,18 @@ X92))) (let ((X96 - Int (ite X94 X95 X92))) (let ((X97 - Int (ite X82 X96 X92))) (let ((X98 - Int (ite (not (= X93 4)) @@ -3791,27 +3479,23 @@ X93))) (let ((X99 - Int (ite X94 X98 X93))) (let ((X100 - Int (ite X82 X99 X84))) (let ((X101 - Bool (or X82 X81))) (let ((X102 - Bool (and (= X100 @@ -3825,7 +3509,6 @@ 0))))) (let ((X103 - Int (ite (= X100 @@ -3834,14 +3517,12 @@ X100))) (let ((X104 - Int (ite X102 X103 X100))) (let ((X105 - Int (ite (not (= @@ -3851,14 +3532,12 @@ X104))) (let ((X106 - Int (ite X102 X105 X104))) (let ((X107 - Bool (and (= X106 @@ -3875,7 +3554,6 @@ X102))))) (let ((X108 - Int (ite (= X106 @@ -3884,14 +3562,12 @@ X106))) (let ((X109 - Int (ite X107 X108 X106))) (let ((X110 - Int (ite (not (= @@ -3901,20 +3577,17 @@ X109))) (let ((X111 - Int (ite X107 X110 X109))) (let ((X112 - Bool (or X107 X102))) (let ((X113 - Bool (and (= X111 @@ -3931,7 +3604,6 @@ X112))))) (let ((X114 - Int (ite (= X111 @@ -3940,14 +3612,12 @@ X111))) (let ((X115 - Int (ite X113 X114 X111))) (let ((X116 - Int (ite (not (= @@ -3957,20 +3627,17 @@ X115))) (let ((X117 - Int (ite X113 X116 X115))) (let ((X118 - Bool (or X113 X112))) (let ((X119 - Bool (and (= X117 @@ -3988,7 +3655,6 @@ X118))))) (let ((X120 - Int (ite (= X117 @@ -3997,14 +3663,12 @@ X117))) (let ((X121 - Int (ite X119 X120 X117))) (let ((X122 - Int (ite (not (= @@ -4014,20 +3678,17 @@ X121))) (let ((X123 - Int (ite X119 X122 X121))) (let ((X124 - Bool (or X119 X118))) (let ((X125 - Bool (and (= X123 @@ -4045,7 +3706,6 @@ X124))))) (let ((X126 - Int (ite (= X123 @@ -4054,14 +3714,12 @@ X123))) (let ((X127 - Int (ite X125 X126 X123))) (let ((X128 - Int (ite (not (= @@ -4071,14 +3729,12 @@ X97))) (let ((X129 - Int (ite X102 X128 X97))) (let ((X130 - Int (ite (not (= @@ -4088,14 +3744,12 @@ X129))) (let ((X131 - Int (ite X107 X130 X129))) (let ((X132 - Int (ite (not (= @@ -4105,14 +3759,12 @@ X131))) (let ((X133 - Int (ite X113 X132 X131))) (let ((X134 - Int (ite (not (= @@ -4122,14 +3774,12 @@ X133))) (let ((X135 - Int (ite X119 X134 X133))) (let ((X136 - Int (ite (not (= @@ -4139,14 +3789,12 @@ X135))) (let ((X137 - Int (ite X125 X136 X135))) (let ((X138 - Int (ite (and (not @@ -4162,7 +3810,6 @@ X97))) (let ((X139 - Int (ite (and (not X52) @@ -4190,39 +3837,34 @@ X19)) (let ((X140 - Bool (= top.impl.usr.mode 3))) (let ((X141 - Real (ite X140 X1 0.0))) (let ((X142 - Bool (= top.impl.usr.mode 4))) (let ((X143 - Real (ite X142 X1 X141))) (let ((X144 - Bool (= top.impl.usr.mode 5))) (let ((X145 - Bool X144)) + X144)) (and (= top.impl.usr.zz4 @@ -4240,23 +3882,21 @@ 0.0 (- X1 - (/ 1 20)))) + (/ 1.0 20.0)))) (let ((X146 - Real (ite X145 top.impl.usr.zz5 X143))) (let ((X147 - Bool (= top.impl.usr.mode 6))) (let ((X148 - Bool X147)) + X147)) (and (= top.impl.usr.zz1 @@ -4274,27 +3914,24 @@ 0.0 (+ X1 - (/ 1 20)))) + (/ 1.0 20.0)))) (let ((X149 - Real (ite X148 top.impl.usr.zz2 X146))) (let ((X150 - Bool false)) + false)) (let ((X151 - Bool (ite (= X20 4) false X150))) (let ((X152 - Bool (ite (and (>= @@ -4307,7 +3944,6 @@ X150))) (let ((X153 - Bool (ite (and (>= @@ -4320,21 +3956,18 @@ X150))) (let ((X154 - Bool (ite X22 X153 X150))) (let ((X155 - Bool (ite (= X51 4) false X154))) (let ((X156 - Bool (ite (and (>= @@ -4347,28 +3980,24 @@ X154))) (let ((X157 - Bool (ite X53 X156 X154))) (let ((X158 - Bool (ite X64 true X157))) (let ((X159 - Bool (ite X82 true X158))) (let ((X160 - Int (ite (not (= @@ -4378,20 +4007,17 @@ X127))) (let ((X161 - Int (ite X125 X160 X127))) (let ((X162 - Bool (or X125 X124))) (let ((X163 - Bool (ite (= X100 @@ -4400,21 +4026,18 @@ X159))) (let ((X164 - Bool (ite X102 X163 X159))) (let ((X165 - Bool (ite X102 true X164))) (let ((X166 - Bool (ite (= X106 @@ -4423,14 +4046,12 @@ X165))) (let ((X167 - Bool (ite X107 X166 X165))) (let ((X168 - Bool (ite (= X111 @@ -4439,14 +4060,12 @@ X167))) (let ((X169 - Bool (ite X113 X168 X167))) (let ((X170 - Bool (ite (and (not @@ -4458,7 +4077,6 @@ X169))) (let ((X171 - Bool (ite (and (not @@ -4474,7 +4092,6 @@ X159))) (let ((X172 - Bool (ite (and (not X52) @@ -4499,7 +4116,6 @@ X150)) (let ((X173 - Real (ite top.impl.usr.zz162 top.usr.carSpeed @@ -4520,13 +4136,11 @@ X173))) (let ((X174 - Bool (>= top.impl.usr.desiredSpeed 0.0))) (let ((X175 - Bool (<= top.impl.usr.desiredSpeed 100.0))) @@ -4538,7 +4152,6 @@ X175)) (let ((X176 - Int (ite (not (= X20 1)) @@ -4546,7 +4159,6 @@ X20))) (let ((X177 - Int (ite (and (not @@ -4562,7 +4174,6 @@ X100))) (let ((X178 - Int (ite (and (not X52) @@ -4577,7 +4188,6 @@ X51))) (let ((X179 - Int (ite top.impl.usr.SP3c (ite @@ -4654,158 +4264,158 @@ ) Bool (let - ((X1 Real top.impl.usr.desiredSpeed)) + ((X1 top.impl.usr.desiredSpeed)) (let - ((X2 Bool (>= top.usr.carSpeed! 15.0))) + ((X2 (>= top.usr.carSpeed! 15.0))) (let - ((X3 Bool (= top.usr.carGear! 3))) + ((X3 (= top.usr.carGear! 3))) (let ((X4 - Bool (and + (and (and (and (and (not top.usr.cancel!) (not top.usr.brakePedal!)) X3) X2) top.usr.validInputs!))) (let - ((X5 Bool top.impl.usr.zz183)) + ((X5 top.impl.usr.zz183)) (and (= top.impl.usr.zz183! top.usr.decelSet!) (let - ((X6 Bool (and (not X5) top.impl.usr.zz183!))) + ((X6 (and (not X5) top.impl.usr.zz183!))) (let - ((X7 Bool top.impl.usr.zz178)) + ((X7 top.impl.usr.zz178)) (and (= top.impl.usr.zz178! top.usr.accelResume!) (let - ((X8 Bool (and (not X7) top.impl.usr.zz178!))) + ((X8 (and (not X7) top.impl.usr.zz178!))) (let - ((X9 Int top.impl.usr.zz176)) + ((X9 top.impl.usr.zz176)) (let - ((X10 Int (+ X9 1))) + ((X10 (+ X9 1))) (let - ((X11 Int (ite top.usr.decelSet! X10 0))) + ((X11 (ite top.usr.decelSet! X10 0))) (let - ((X12 Int (ite (>= 0 X11) 0 X11))) + ((X12 (ite (>= 0 X11) 0 X11))) (and (= top.impl.usr.zz176! (ite (<= X12 20) X12 20)) (let - ((X13 Bool (= top.impl.usr.zz176! 20))) + ((X13 (= top.impl.usr.zz176! 20))) (let - ((X14 Int top.impl.usr.zz170)) + ((X14 top.impl.usr.zz170)) (let - ((X15 Int (+ X14 1))) + ((X15 (+ X14 1))) (let - ((X16 Int (ite top.usr.accelResume! X15 0))) + ((X16 (ite top.usr.accelResume! X15 0))) (let - ((X17 Int (ite (>= 0 X16) 0 X16))) + ((X17 (ite (>= 0 X16) 0 X16))) (and (= top.impl.usr.zz170! (ite (<= X17 20) X17 20)) (let - ((X18 Bool (= top.impl.usr.zz170! 20))) + ((X18 (= top.impl.usr.zz170! 20))) (let - ((X19 Int top.impl.usr.mode)) + ((X19 top.impl.usr.mode)) (let - ((X20 Int top.impl.usr.zz161)) + ((X20 top.impl.usr.zz161)) (and (= top.impl.usr.zz155! (ite top.impl.usr.SP3c false top.impl.usr.zz155)) (let - ((X21 Int (ite (not (= X20 1)) 1 X19))) + ((X21 (ite (not (= X20 1)) 1 X19))) (let ((X22 - Bool (and + (and (and (>= X20 2) (<= X20 8)) (not top.usr.onOff!)))) (let - ((X23 Int (ite (= X20 4) 3 X20))) + ((X23 (ite (= X20 4) 3 X20))) (let ((X24 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) X23 X20))) (let - ((X25 Int (ite (= X24 5) 3 X24))) + ((X25 (ite (= X24 5) 3 X24))) (let ((X26 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) X25 X24))) (let - ((X27 Int (ite (= X26 6) 3 X26))) + ((X27 (ite (= X26 6) 3 X26))) (let ((X28 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) X27 X26))) (let ((X29 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) 2 X28))) (let ((X30 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) X29 X20))) (let - ((X31 Int (ite (= X30 7) 2 X30))) + ((X31 (ite (= X30 7) 2 X30))) (let ((X32 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) X31 X30))) (let - ((X33 Int (ite (= X32 8) 2 X32))) + ((X33 (ite (= X32 8) 2 X32))) (let ((X34 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) X33 X32))) (let ((X35 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) 0 X34))) (let - ((X36 Int (ite X22 X35 X20))) + ((X36 (ite X22 X35 X20))) (let ((X37 - Int (ite (not (= X36 1)) 1 X36))) + (ite (not (= X36 1)) 1 X36))) (let - ((X38 Int (ite X22 X37 X36))) + ((X38 (ite X22 X37 X36))) (let ((X39 - Bool (and + (and (= X38 1) (and top.usr.onOff! (not X22))))) (let ((X40 - Int (ite (= X38 1) 0 X38))) + (ite (= X38 1) 0 X38))) (let - ((X41 Int (ite X39 X40 X38))) + ((X41 (ite X39 X40 X38))) (let ((X42 - Int (ite + (ite (not (= X36 1)) 1 X19))) (let ((X43 - Int (ite X22 X42 X19))) + (ite X22 X42 X19))) (let ((X44 - Int (ite + (ite (not (and (>= X41 2) @@ -4814,7 +4424,7 @@ X41))) (let ((X45 - Bool (and + (and (not (and (>= X41 2) @@ -4824,46 +4434,46 @@ (<= X44 8))))) (let ((X46 - Int (ite + (ite (not (= X44 7)) 2 X43))) (let ((X47 - Int (ite X45 X46 X43))) + (ite X45 X46 X43))) (let ((X48 - Int (ite + (ite X39 X47 X43))) (let ((X49 - Int (ite + (ite (not (= X44 7)) 7 X44))) (let ((X50 - Int (ite + (ite X45 X49 X44))) (let ((X51 - Int (ite + (ite X39 X50 X41))) (let ((X52 - Bool (or + (or X39 X22))) (let ((X53 - Bool (and + (and (and (>= X51 @@ -4874,13 +4484,13 @@ (not X4)))) (let ((X54 - Int (ite + (ite (= X51 4) 3 X51))) (let ((X55 - Int (ite + (ite (and (>= X51 @@ -4892,14 +4502,12 @@ X51))) (let ((X56 - Int (ite (= X55 5) 3 X55))) (let ((X57 - Int (ite (and (>= @@ -4912,14 +4520,12 @@ X55))) (let ((X58 - Int (ite (= X57 6) 3 X57))) (let ((X59 - Int (ite (and (>= @@ -4932,7 +4538,6 @@ X57))) (let ((X60 - Int (ite (and (>= @@ -4945,14 +4550,12 @@ X59))) (let ((X61 - Int (ite X53 X60 X51))) (let ((X62 - Int (ite (not (= X61 8)) @@ -4960,14 +4563,12 @@ X61))) (let ((X63 - Int (ite X53 X62 X61))) (let ((X64 - Bool (and (= X63 8) (and @@ -4989,21 +4590,18 @@ (not X53))))) (let ((X65 - Int (ite (= X63 8) 2 X63))) (let ((X66 - Int (ite X64 X65 X63))) (let ((X67 - Int (ite (not (and @@ -5017,7 +4615,6 @@ X66))) (let ((X68 - Bool (and (not (and @@ -5036,7 +4633,6 @@ 6))))) (let ((X69 - Int (ite (not (= X67 4)) @@ -5044,27 +4640,23 @@ X67))) (let ((X70 - Int (ite X68 X69 X67))) (let ((X71 - Int (ite X64 X70 X66))) (let ((X72 - Bool (or X64 X53))) (let ((X73 - Bool (and (= X71 8) (and @@ -5086,21 +4678,18 @@ (not X72))))) (let ((X74 - Int (ite (= X71 8) 2 X71))) (let ((X75 - Int (ite X73 X74 X71))) (let ((X76 - Int (ite (not (and @@ -5114,7 +4703,6 @@ X75))) (let ((X77 - Bool (and (not (and @@ -5133,7 +4721,6 @@ 6))))) (let ((X78 - Int (ite (not (= X76 4)) @@ -5141,27 +4728,23 @@ X76))) (let ((X79 - Int (ite X77 X78 X76))) (let ((X80 - Int (ite X73 X79 X75))) (let ((X81 - Bool (or X73 X72))) (let ((X82 - Bool (and (= X80 7) (and @@ -5183,21 +4766,18 @@ (not X81))))) (let ((X83 - Int (ite (= X80 7) 2 X80))) (let ((X84 - Int (ite X82 X83 X80))) (let ((X85 - Int (ite (not (= X61 8)) @@ -5205,14 +4785,12 @@ X48))) (let ((X86 - Int (ite X53 X85 X48))) (let ((X87 - Int (ite (not (= X67 4)) @@ -5220,21 +4798,18 @@ X86))) (let ((X88 - Int (ite X68 X87 X86))) (let ((X89 - Int (ite X64 X88 X86))) (let ((X90 - Int (ite (not (= X76 4)) @@ -5242,21 +4817,18 @@ X89))) (let ((X91 - Int (ite X77 X90 X89))) (let ((X92 - Int (ite X73 X91 X89))) (let ((X93 - Int (ite (not (and @@ -5270,7 +4842,6 @@ X84))) (let ((X94 - Bool (and (not (and @@ -5289,7 +4860,6 @@ 6))))) (let ((X95 - Int (ite (not (= X93 4)) @@ -5297,21 +4867,18 @@ X92))) (let ((X96 - Int (ite X94 X95 X92))) (let ((X97 - Int (ite X82 X96 X92))) (let ((X98 - Int (ite (not (= X93 4)) @@ -5319,27 +4886,23 @@ X93))) (let ((X99 - Int (ite X94 X98 X93))) (let ((X100 - Int (ite X82 X99 X84))) (let ((X101 - Bool (or X82 X81))) (let ((X102 - Bool (and (= X100 @@ -5353,7 +4916,6 @@ 0))))) (let ((X103 - Int (ite (= X100 @@ -5362,14 +4924,12 @@ X100))) (let ((X104 - Int (ite X102 X103 X100))) (let ((X105 - Int (ite (not (= @@ -5379,14 +4939,12 @@ X104))) (let ((X106 - Int (ite X102 X105 X104))) (let ((X107 - Bool (and (= X106 @@ -5403,7 +4961,6 @@ X102))))) (let ((X108 - Int (ite (= X106 @@ -5412,14 +4969,12 @@ X106))) (let ((X109 - Int (ite X107 X108 X106))) (let ((X110 - Int (ite (not (= @@ -5429,20 +4984,17 @@ X109))) (let ((X111 - Int (ite X107 X110 X109))) (let ((X112 - Bool (or X107 X102))) (let ((X113 - Bool (and (= X111 @@ -5459,7 +5011,6 @@ X112))))) (let ((X114 - Int (ite (= X111 @@ -5468,14 +5019,12 @@ X111))) (let ((X115 - Int (ite X113 X114 X111))) (let ((X116 - Int (ite (not (= @@ -5485,20 +5034,17 @@ X115))) (let ((X117 - Int (ite X113 X116 X115))) (let ((X118 - Bool (or X113 X112))) (let ((X119 - Bool (and (= X117 @@ -5516,7 +5062,6 @@ X118))))) (let ((X120 - Int (ite (= X117 @@ -5525,14 +5070,12 @@ X117))) (let ((X121 - Int (ite X119 X120 X117))) (let ((X122 - Int (ite (not (= @@ -5542,20 +5085,17 @@ X121))) (let ((X123 - Int (ite X119 X122 X121))) (let ((X124 - Bool (or X119 X118))) (let ((X125 - Bool (and (= X123 @@ -5573,7 +5113,6 @@ X124))))) (let ((X126 - Int (ite (= X123 @@ -5582,14 +5121,12 @@ X123))) (let ((X127 - Int (ite X125 X126 X123))) (let ((X128 - Int (ite (not (= @@ -5599,14 +5136,12 @@ X97))) (let ((X129 - Int (ite X102 X128 X97))) (let ((X130 - Int (ite (not (= @@ -5616,14 +5151,12 @@ X129))) (let ((X131 - Int (ite X107 X130 X129))) (let ((X132 - Int (ite (not (= @@ -5633,14 +5166,12 @@ X131))) (let ((X133 - Int (ite X113 X132 X131))) (let ((X134 - Int (ite (not (= @@ -5650,14 +5181,12 @@ X133))) (let ((X135 - Int (ite X119 X134 X133))) (let ((X136 - Int (ite (not (= @@ -5667,14 +5196,12 @@ X135))) (let ((X137 - Int (ite X125 X136 X135))) (let ((X138 - Int (ite (and (not @@ -5690,7 +5217,6 @@ X97))) (let ((X139 - Int (ite (and (not X52) @@ -5718,39 +5244,34 @@ X19)) (let ((X140 - Bool (= top.impl.usr.mode! 3))) (let ((X141 - Real (ite X140 X1 0.0))) (let ((X142 - Bool (= top.impl.usr.mode! 4))) (let ((X143 - Real (ite X142 X1 X141))) (let ((X144 - Bool (= top.impl.usr.mode! 5))) (let ((X145 - Bool X144)) + X144)) (and (= top.impl.usr.zz4! @@ -5773,24 +5294,22 @@ top.impl.usr.zz3! (- X1 - (/ 1 20)) + (/ 1.0 20.0)) top.impl.usr.zz5))) (let ((X146 - Real (ite X145 top.impl.usr.zz5! X143))) (let ((X147 - Bool (= top.impl.usr.mode! 6))) (let ((X148 - Bool X147)) + X147)) (and (= top.impl.usr.zz1! @@ -5813,28 +5332,25 @@ top.impl.usr.zz0! (+ X1 - (/ 1 20)) + (/ 1.0 20.0)) top.impl.usr.zz2))) (let ((X149 - Real (ite X148 top.impl.usr.zz2! X146))) (let ((X150 - Bool top.impl.usr.zz162)) + top.impl.usr.zz162)) (let ((X151 - Bool (ite (= X20 4) false X150))) (let ((X152 - Bool (ite (and (>= @@ -5847,7 +5363,6 @@ X150))) (let ((X153 - Bool (ite (and (>= @@ -5860,21 +5375,18 @@ X150))) (let ((X154 - Bool (ite X22 X153 X150))) (let ((X155 - Bool (ite (= X51 4) false X154))) (let ((X156 - Bool (ite (and (>= @@ -5887,28 +5399,24 @@ X154))) (let ((X157 - Bool (ite X53 X156 X154))) (let ((X158 - Bool (ite X64 true X157))) (let ((X159 - Bool (ite X82 true X158))) (let ((X160 - Int (ite (not (= @@ -5918,20 +5426,17 @@ X127))) (let ((X161 - Int (ite X125 X160 X127))) (let ((X162 - Bool (or X125 X124))) (let ((X163 - Bool (ite (= X100 @@ -5940,21 +5445,18 @@ X159))) (let ((X164 - Bool (ite X102 X163 X159))) (let ((X165 - Bool (ite X102 true X164))) (let ((X166 - Bool (ite (= X106 @@ -5963,14 +5465,12 @@ X165))) (let ((X167 - Bool (ite X107 X166 X165))) (let ((X168 - Bool (ite (= X111 @@ -5979,14 +5479,12 @@ X167))) (let ((X169 - Bool (ite X113 X168 X167))) (let ((X170 - Bool (ite (and (not @@ -5998,7 +5496,6 @@ X169))) (let ((X171 - Bool (ite (and (not @@ -6014,7 +5511,6 @@ X159))) (let ((X172 - Bool (ite (and (not X52) @@ -6039,7 +5535,6 @@ X150)) (let ((X173 - Real (ite top.impl.usr.zz162! top.usr.carSpeed! @@ -6060,13 +5555,11 @@ X173))) (let ((X174 - Bool (>= top.impl.usr.desiredSpeed! 0.0))) (let ((X175 - Bool (<= top.impl.usr.desiredSpeed! 100.0))) @@ -6078,7 +5571,6 @@ X175)) (let ((X176 - Int (ite (not (= X20 1)) @@ -6086,7 +5578,6 @@ X20))) (let ((X177 - Int (ite (and (not @@ -6102,7 +5593,6 @@ X100))) (let ((X178 - Int (ite (and (not X52) @@ -6117,7 +5607,6 @@ X51))) (let ((X179 - Int (ite top.impl.usr.SP3c! (ite diff --git a/lib-nonconforming/Inv_Track/andrew_lustre/ccp08.lus.sl b/lib/Inv_Track/andrew_lustre/ccp08.lus.sl similarity index 87% rename from lib-nonconforming/Inv_Track/andrew_lustre/ccp08.lus.sl rename to lib/Inv_Track/andrew_lustre/ccp08.lus.sl index 90a5a442..41f2d187 100644 --- a/lib-nonconforming/Inv_Track/andrew_lustre/ccp08.lus.sl +++ b/lib/Inv_Track/andrew_lustre/ccp08.lus.sl @@ -24,12 +24,12 @@ ) Bool (let - ((X1 Bool (>= top.usr.carSpeed_a_0 15.0))) + ((X1 (>= top.usr.carSpeed_a_0 15.0))) (let - ((X2 Bool (= top.usr.carGear_a_0 3))) + ((X2 (= top.usr.carGear_a_0 3))) (let ((X3 - Bool (and + (and (and (and (and (not top.usr.cancel_a_0) (not top.usr.brakePedal_a_0)) @@ -37,139 +37,139 @@ X1) top.usr.validInputs_a_0))) (let - ((X4 Bool true)) + ((X4 true)) (and (= top.impl.usr.zz183_a_0 top.usr.decelSet_a_0) (let - ((X5 Bool (and (not X4) top.impl.usr.zz183_a_0))) + ((X5 (and (not X4) top.impl.usr.zz183_a_0))) (let - ((X6 Bool true)) + ((X6 true)) (and (= top.impl.usr.zz178_a_0 top.usr.accelResume_a_0) (let - ((X7 Bool (and (not X6) top.impl.usr.zz178_a_0))) + ((X7 (and (not X6) top.impl.usr.zz178_a_0))) (let - ((X8 Int 0)) + ((X8 0)) (let - ((X9 Int (+ X8 1))) + ((X9 (+ X8 1))) (let - ((X10 Int (ite top.usr.decelSet_a_0 X9 0))) + ((X10 (ite top.usr.decelSet_a_0 X9 0))) (let - ((X11 Int (ite (>= 0 X10) 0 X10))) + ((X11 (ite (>= 0 X10) 0 X10))) (and (= top.impl.usr.zz176_a_0 (ite (<= X11 20) X11 20)) (let - ((X12 Bool (= top.impl.usr.zz176_a_0 20))) + ((X12 (= top.impl.usr.zz176_a_0 20))) (let - ((X13 Int 0)) + ((X13 0)) (let - ((X14 Int (+ X13 1))) + ((X14 (+ X13 1))) (let - ((X15 Int (ite top.usr.accelResume_a_0 X14 0))) + ((X15 (ite top.usr.accelResume_a_0 X14 0))) (let - ((X16 Int (ite (>= 0 X15) 0 X15))) + ((X16 (ite (>= 0 X15) 0 X15))) (and (= top.impl.usr.zz170_a_0 (ite (<= X16 20) X16 20)) (let - ((X17 Bool (= top.impl.usr.zz170_a_0 20))) + ((X17 (= top.impl.usr.zz170_a_0 20))) (let - ((X18 Int 0)) + ((X18 0)) (let - ((X19 Int 0)) + ((X19 0)) (and (= top.impl.usr.zz155_a_0 true) (let - ((X20 Int (ite (not (= X19 1)) 1 X18))) + ((X20 (ite (not (= X19 1)) 1 X18))) (let ((X21 - Bool (and + (and (and (>= X19 2) (<= X19 8)) (not top.usr.onOff_a_0)))) (let - ((X22 Int (ite (= X19 4) 3 X19))) + ((X22 (ite (= X19 4) 3 X19))) (let ((X23 - Int (ite (and (>= X19 3) (<= X19 6)) X22 X19))) + (ite (and (>= X19 3) (<= X19 6)) X22 X19))) (let - ((X24 Int (ite (= X23 5) 3 X23))) + ((X24 (ite (= X23 5) 3 X23))) (let ((X25 - Int (ite + (ite (and (>= X19 3) (<= X19 6)) X24 X23))) (let - ((X26 Int (ite (= X25 6) 3 X25))) + ((X26 (ite (= X25 6) 3 X25))) (let ((X27 - Int (ite + (ite (and (>= X19 3) (<= X19 6)) X26 X25))) (let ((X28 - Int (ite + (ite (and (>= X19 3) (<= X19 6)) 2 X27))) (let ((X29 - Int (ite + (ite (and (>= X19 2) (<= X19 8)) X28 X19))) (let - ((X30 Int (ite (= X29 7) 2 X29))) + ((X30 (ite (= X29 7) 2 X29))) (let ((X31 - Int (ite + (ite (and (>= X19 2) (<= X19 8)) X30 X29))) (let - ((X32 Int (ite (= X31 8) 2 X31))) + ((X32 (ite (= X31 8) 2 X31))) (let ((X33 - Int (ite + (ite (and (>= X19 2) (<= X19 8)) X32 X31))) (let ((X34 - Int (ite + (ite (and (>= X19 2) (<= X19 8)) 0 X33))) (let - ((X35 Int (ite X21 X34 X19))) + ((X35 (ite X21 X34 X19))) (let ((X36 - Int (ite (not (= X35 1)) 1 X35))) + (ite (not (= X35 1)) 1 X35))) (let - ((X37 Int (ite X21 X36 X35))) + ((X37 (ite X21 X36 X35))) (let ((X38 - Bool (and + (and (= X37 1) (and top.usr.onOff_a_0 (not X21))))) (let ((X39 - Int (ite (= X37 1) 0 X37))) + (ite (= X37 1) 0 X37))) (let - ((X40 Int (ite X38 X39 X37))) + ((X40 (ite X38 X39 X37))) (let ((X41 - Int (ite + (ite (not (= X35 1)) 1 X18))) (let - ((X42 Int (ite X21 X41 X18))) + ((X42 (ite X21 X41 X18))) (let ((X43 - Int (ite + (ite (not (and (>= X40 2) @@ -178,7 +178,7 @@ X40))) (let ((X44 - Bool (and + (and (not (and (>= X40 2) @@ -188,40 +188,40 @@ (<= X43 8))))) (let ((X45 - Int (ite + (ite (not (= X43 7)) 2 X42))) (let ((X46 - Int (ite X44 X45 X42))) + (ite X44 X45 X42))) (let ((X47 - Int (ite X38 X46 X42))) + (ite X38 X46 X42))) (let ((X48 - Int (ite + (ite (not (= X43 7)) 7 X43))) (let ((X49 - Int (ite + (ite X44 X48 X43))) (let ((X50 - Int (ite + (ite X38 X49 X40))) (let ((X51 - Bool (or X38 X21))) + (or X38 X21))) (let ((X52 - Bool (and + (and (and (>= X50 @@ -232,13 +232,13 @@ (not X3)))) (let ((X53 - Int (ite + (ite (= X50 4) 3 X50))) (let ((X54 - Int (ite + (ite (and (>= X50 @@ -250,13 +250,12 @@ X50))) (let ((X55 - Int (ite + (ite (= X54 5) 3 X54))) (let ((X56 - Int (ite (and (>= X50 3) @@ -265,14 +264,12 @@ X54))) (let ((X57 - Int (ite (= X56 6) 3 X56))) (let ((X58 - Int (ite (and (>= @@ -285,7 +282,6 @@ X56))) (let ((X59 - Int (ite (and (>= @@ -298,14 +294,12 @@ X58))) (let ((X60 - Int (ite X52 X59 X50))) (let ((X61 - Int (ite (not (= X60 8)) @@ -313,14 +307,12 @@ X60))) (let ((X62 - Int (ite X52 X61 X60))) (let ((X63 - Bool (and (= X62 8) (and @@ -342,21 +334,18 @@ (not X52))))) (let ((X64 - Int (ite (= X62 8) 2 X62))) (let ((X65 - Int (ite X63 X64 X62))) (let ((X66 - Int (ite (not (and @@ -370,7 +359,6 @@ X65))) (let ((X67 - Bool (and (not (and @@ -389,7 +377,6 @@ 6))))) (let ((X68 - Int (ite (not (= X66 4)) @@ -397,27 +384,23 @@ X66))) (let ((X69 - Int (ite X67 X68 X66))) (let ((X70 - Int (ite X63 X69 X65))) (let ((X71 - Bool (or X63 X52))) (let ((X72 - Bool (and (= X70 8) (and @@ -439,21 +422,18 @@ (not X71))))) (let ((X73 - Int (ite (= X70 8) 2 X70))) (let ((X74 - Int (ite X72 X73 X70))) (let ((X75 - Int (ite (not (and @@ -467,7 +447,6 @@ X74))) (let ((X76 - Bool (and (not (and @@ -486,7 +465,6 @@ 6))))) (let ((X77 - Int (ite (not (= X75 4)) @@ -494,27 +472,23 @@ X75))) (let ((X78 - Int (ite X76 X77 X75))) (let ((X79 - Int (ite X72 X78 X74))) (let ((X80 - Bool (or X72 X71))) (let ((X81 - Bool (and (= X79 7) (and @@ -536,21 +510,18 @@ (not X80))))) (let ((X82 - Int (ite (= X79 7) 2 X79))) (let ((X83 - Int (ite X81 X82 X79))) (let ((X84 - Int (ite (not (= X60 8)) @@ -558,14 +529,12 @@ X47))) (let ((X85 - Int (ite X52 X84 X47))) (let ((X86 - Int (ite (not (= X66 4)) @@ -573,21 +542,18 @@ X85))) (let ((X87 - Int (ite X67 X86 X85))) (let ((X88 - Int (ite X63 X87 X85))) (let ((X89 - Int (ite (not (= X75 4)) @@ -595,21 +561,18 @@ X88))) (let ((X90 - Int (ite X76 X89 X88))) (let ((X91 - Int (ite X72 X90 X88))) (let ((X92 - Int (ite (not (and @@ -623,7 +586,6 @@ X83))) (let ((X93 - Bool (and (not (and @@ -642,7 +604,6 @@ 6))))) (let ((X94 - Int (ite (not (= X92 4)) @@ -650,21 +611,18 @@ X91))) (let ((X95 - Int (ite X93 X94 X91))) (let ((X96 - Int (ite X81 X95 X91))) (let ((X97 - Int (ite (not (= X92 4)) @@ -672,27 +630,23 @@ X92))) (let ((X98 - Int (ite X93 X97 X92))) (let ((X99 - Int (ite X81 X98 X83))) (let ((X100 - Bool (or X81 X80))) (let ((X101 - Bool (and (= X99 4) (not @@ -704,21 +658,18 @@ 0))))) (let ((X102 - Int (ite (= X99 4) 3 X99))) (let ((X103 - Int (ite X101 X102 X99))) (let ((X104 - Int (ite (not (= @@ -728,14 +679,12 @@ X103))) (let ((X105 - Int (ite X101 X104 X103))) (let ((X106 - Bool (and (= X105 @@ -752,7 +701,6 @@ X101))))) (let ((X107 - Int (ite (= X105 @@ -761,14 +709,12 @@ X105))) (let ((X108 - Int (ite X106 X107 X105))) (let ((X109 - Int (ite (not (= @@ -778,20 +724,17 @@ X108))) (let ((X110 - Int (ite X106 X109 X108))) (let ((X111 - Bool (or X106 X101))) (let ((X112 - Bool (and (= X110 @@ -808,7 +751,6 @@ X111))))) (let ((X113 - Int (ite (= X110 @@ -817,14 +759,12 @@ X110))) (let ((X114 - Int (ite X112 X113 X110))) (let ((X115 - Int (ite (not (= @@ -834,20 +774,17 @@ X114))) (let ((X116 - Int (ite X112 X115 X114))) (let ((X117 - Bool (or X112 X111))) (let ((X118 - Bool (and (= X116 @@ -865,7 +802,6 @@ X117))))) (let ((X119 - Int (ite (= X116 @@ -874,14 +810,12 @@ X116))) (let ((X120 - Int (ite X118 X119 X116))) (let ((X121 - Int (ite (not (= @@ -891,20 +825,17 @@ X120))) (let ((X122 - Int (ite X118 X121 X120))) (let ((X123 - Bool (or X118 X117))) (let ((X124 - Bool (and (= X122 @@ -922,7 +853,6 @@ X123))))) (let ((X125 - Int (ite (= X122 @@ -931,14 +861,12 @@ X122))) (let ((X126 - Int (ite X124 X125 X122))) (let ((X127 - Int (ite (not (= @@ -948,14 +876,12 @@ X96))) (let ((X128 - Int (ite X101 X127 X96))) (let ((X129 - Int (ite (not (= @@ -965,14 +891,12 @@ X128))) (let ((X130 - Int (ite X106 X129 X128))) (let ((X131 - Int (ite (not (= @@ -982,14 +906,12 @@ X130))) (let ((X132 - Int (ite X112 X131 X130))) (let ((X133 - Int (ite (not (= @@ -999,14 +921,12 @@ X132))) (let ((X134 - Int (ite X118 X133 X132))) (let ((X135 - Int (ite (not (= @@ -1016,14 +936,12 @@ X134))) (let ((X136 - Int (ite X124 X135 X134))) (let ((X137 - Int (ite (and (not @@ -1039,7 +957,6 @@ X96))) (let ((X138 - Int (ite (and (not X51) @@ -1067,25 +984,21 @@ X18)) (let ((X139 - Bool (= top.impl.usr.mode_a_0 6))) (let ((X140 - Bool (= top.impl.usr.mode_a_0 5))) (let ((X141 - Bool (= top.impl.usr.mode_a_0 4))) (let ((X142 - Bool (or (or X141 @@ -1093,17 +1006,15 @@ X139))) (let ((X143 - Bool false)) + false)) (let ((X144 - Bool (ite (= X19 4) false X143))) (let ((X145 - Bool (ite (and (>= @@ -1116,7 +1027,6 @@ X143))) (let ((X146 - Bool (ite (and (>= @@ -1129,21 +1039,18 @@ X143))) (let ((X147 - Bool (ite X21 X146 X143))) (let ((X148 - Bool (ite (= X50 4) false X147))) (let ((X149 - Bool (ite (and (>= @@ -1156,28 +1063,24 @@ X147))) (let ((X150 - Bool (ite X52 X149 X147))) (let ((X151 - Bool (ite X63 true X150))) (let ((X152 - Bool (ite X81 true X151))) (let ((X153 - Int (ite (not (= @@ -1187,41 +1090,35 @@ X126))) (let ((X154 - Int (ite X124 X153 X126))) (let ((X155 - Bool (or X124 X123))) (let ((X156 - Bool (ite (= X99 4) false X152))) (let ((X157 - Bool (ite X101 X156 X152))) (let ((X158 - Bool (ite X101 true X157))) (let ((X159 - Bool (ite (= X105 @@ -1230,14 +1127,12 @@ X158))) (let ((X160 - Bool (ite X106 X159 X158))) (let ((X161 - Bool (ite (= X110 @@ -1246,14 +1141,12 @@ X160))) (let ((X162 - Bool (ite X112 X161 X160))) (let ((X163 - Bool (ite (and (not @@ -1265,7 +1158,6 @@ X162))) (let ((X164 - Bool (ite (and (not @@ -1281,7 +1173,6 @@ X152))) (let ((X165 - Bool (ite (and (not X51) @@ -1312,7 +1203,6 @@ X142)) (let ((X166 - Int (ite (not (= X19 1)) @@ -1320,7 +1210,6 @@ X19))) (let ((X167 - Int (ite (and (not @@ -1336,7 +1225,6 @@ X99))) (let ((X168 - Int (ite (and (not X51) @@ -1351,7 +1239,6 @@ X50))) (let ((X169 - Int (ite top.impl.usr.SP3c_a_0 (ite @@ -1409,12 +1296,12 @@ ) Bool (let - ((X1 Bool (>= top.usr.carSpeed_a_1 15.0))) + ((X1 (>= top.usr.carSpeed_a_1 15.0))) (let - ((X2 Bool (= top.usr.carGear_a_1 3))) + ((X2 (= top.usr.carGear_a_1 3))) (let ((X3 - Bool (and + (and (and (and (and (not top.usr.cancel_a_1) (not top.usr.brakePedal_a_1)) @@ -1422,45 +1309,45 @@ X1) top.usr.validInputs_a_1))) (let - ((X4 Bool top.impl.usr.zz183_a_0)) + ((X4 top.impl.usr.zz183_a_0)) (and (= top.impl.usr.zz183_a_1 top.usr.decelSet_a_1) (let - ((X5 Bool (and (not X4) top.impl.usr.zz183_a_1))) + ((X5 (and (not X4) top.impl.usr.zz183_a_1))) (let - ((X6 Bool top.impl.usr.zz178_a_0)) + ((X6 top.impl.usr.zz178_a_0)) (and (= top.impl.usr.zz178_a_1 top.usr.accelResume_a_1) (let - ((X7 Bool (and (not X6) top.impl.usr.zz178_a_1))) + ((X7 (and (not X6) top.impl.usr.zz178_a_1))) (let - ((X8 Int top.impl.usr.zz176_a_0)) + ((X8 top.impl.usr.zz176_a_0)) (let - ((X9 Int (+ X8 1))) + ((X9 (+ X8 1))) (let - ((X10 Int (ite top.usr.decelSet_a_1 X9 0))) + ((X10 (ite top.usr.decelSet_a_1 X9 0))) (let - ((X11 Int (ite (>= 0 X10) 0 X10))) + ((X11 (ite (>= 0 X10) 0 X10))) (and (= top.impl.usr.zz176_a_1 (ite (<= X11 20) X11 20)) (let - ((X12 Bool (= top.impl.usr.zz176_a_1 20))) + ((X12 (= top.impl.usr.zz176_a_1 20))) (let - ((X13 Int top.impl.usr.zz170_a_0)) + ((X13 top.impl.usr.zz170_a_0)) (let - ((X14 Int (+ X13 1))) + ((X14 (+ X13 1))) (let - ((X15 Int (ite top.usr.accelResume_a_1 X14 0))) + ((X15 (ite top.usr.accelResume_a_1 X14 0))) (let - ((X16 Int (ite (>= 0 X15) 0 X15))) + ((X16 (ite (>= 0 X15) 0 X15))) (and (= top.impl.usr.zz170_a_1 (ite (<= X16 20) X16 20)) (let - ((X17 Bool (= top.impl.usr.zz170_a_1 20))) + ((X17 (= top.impl.usr.zz170_a_1 20))) (let - ((X18 Int top.impl.usr.mode_a_0)) + ((X18 top.impl.usr.mode_a_0)) (let - ((X19 Int top.impl.usr.zz161_a_0)) + ((X19 top.impl.usr.zz161_a_0)) (and (= top.impl.usr.zz155_a_1 @@ -1469,97 +1356,97 @@ false top.impl.usr.zz155_a_0)) (let - ((X20 Int (ite (not (= X19 1)) 1 X18))) + ((X20 (ite (not (= X19 1)) 1 X18))) (let ((X21 - Bool (and + (and (and (>= X19 2) (<= X19 8)) (not top.usr.onOff_a_1)))) (let - ((X22 Int (ite (= X19 4) 3 X19))) + ((X22 (ite (= X19 4) 3 X19))) (let ((X23 - Int (ite (and (>= X19 3) (<= X19 6)) X22 X19))) + (ite (and (>= X19 3) (<= X19 6)) X22 X19))) (let - ((X24 Int (ite (= X23 5) 3 X23))) + ((X24 (ite (= X23 5) 3 X23))) (let ((X25 - Int (ite + (ite (and (>= X19 3) (<= X19 6)) X24 X23))) (let - ((X26 Int (ite (= X25 6) 3 X25))) + ((X26 (ite (= X25 6) 3 X25))) (let ((X27 - Int (ite + (ite (and (>= X19 3) (<= X19 6)) X26 X25))) (let ((X28 - Int (ite + (ite (and (>= X19 3) (<= X19 6)) 2 X27))) (let ((X29 - Int (ite + (ite (and (>= X19 2) (<= X19 8)) X28 X19))) (let - ((X30 Int (ite (= X29 7) 2 X29))) + ((X30 (ite (= X29 7) 2 X29))) (let ((X31 - Int (ite + (ite (and (>= X19 2) (<= X19 8)) X30 X29))) (let - ((X32 Int (ite (= X31 8) 2 X31))) + ((X32 (ite (= X31 8) 2 X31))) (let ((X33 - Int (ite + (ite (and (>= X19 2) (<= X19 8)) X32 X31))) (let ((X34 - Int (ite + (ite (and (>= X19 2) (<= X19 8)) 0 X33))) (let - ((X35 Int (ite X21 X34 X19))) + ((X35 (ite X21 X34 X19))) (let ((X36 - Int (ite (not (= X35 1)) 1 X35))) + (ite (not (= X35 1)) 1 X35))) (let - ((X37 Int (ite X21 X36 X35))) + ((X37 (ite X21 X36 X35))) (let ((X38 - Bool (and + (and (= X37 1) (and top.usr.onOff_a_1 (not X21))))) (let ((X39 - Int (ite (= X37 1) 0 X37))) + (ite (= X37 1) 0 X37))) (let - ((X40 Int (ite X38 X39 X37))) + ((X40 (ite X38 X39 X37))) (let ((X41 - Int (ite + (ite (not (= X35 1)) 1 X18))) (let - ((X42 Int (ite X21 X41 X18))) + ((X42 (ite X21 X41 X18))) (let ((X43 - Int (ite + (ite (not (and (>= X40 2) @@ -1568,7 +1455,7 @@ X40))) (let ((X44 - Bool (and + (and (not (and (>= X40 2) @@ -1578,40 +1465,40 @@ (<= X43 8))))) (let ((X45 - Int (ite + (ite (not (= X43 7)) 2 X42))) (let ((X46 - Int (ite X44 X45 X42))) + (ite X44 X45 X42))) (let ((X47 - Int (ite X38 X46 X42))) + (ite X38 X46 X42))) (let ((X48 - Int (ite + (ite (not (= X43 7)) 7 X43))) (let ((X49 - Int (ite + (ite X44 X48 X43))) (let ((X50 - Int (ite + (ite X38 X49 X40))) (let ((X51 - Bool (or X38 X21))) + (or X38 X21))) (let ((X52 - Bool (and + (and (and (>= X50 @@ -1622,13 +1509,13 @@ (not X3)))) (let ((X53 - Int (ite + (ite (= X50 4) 3 X50))) (let ((X54 - Int (ite + (ite (and (>= X50 @@ -1640,13 +1527,12 @@ X50))) (let ((X55 - Int (ite + (ite (= X54 5) 3 X54))) (let ((X56 - Int (ite (and (>= X50 3) @@ -1655,14 +1541,12 @@ X54))) (let ((X57 - Int (ite (= X56 6) 3 X56))) (let ((X58 - Int (ite (and (>= @@ -1675,7 +1559,6 @@ X56))) (let ((X59 - Int (ite (and (>= @@ -1688,14 +1571,12 @@ X58))) (let ((X60 - Int (ite X52 X59 X50))) (let ((X61 - Int (ite (not (= X60 8)) @@ -1703,14 +1584,12 @@ X60))) (let ((X62 - Int (ite X52 X61 X60))) (let ((X63 - Bool (and (= X62 8) (and @@ -1732,21 +1611,18 @@ (not X52))))) (let ((X64 - Int (ite (= X62 8) 2 X62))) (let ((X65 - Int (ite X63 X64 X62))) (let ((X66 - Int (ite (not (and @@ -1760,7 +1636,6 @@ X65))) (let ((X67 - Bool (and (not (and @@ -1779,7 +1654,6 @@ 6))))) (let ((X68 - Int (ite (not (= X66 4)) @@ -1787,27 +1661,23 @@ X66))) (let ((X69 - Int (ite X67 X68 X66))) (let ((X70 - Int (ite X63 X69 X65))) (let ((X71 - Bool (or X63 X52))) (let ((X72 - Bool (and (= X70 8) (and @@ -1829,21 +1699,18 @@ (not X71))))) (let ((X73 - Int (ite (= X70 8) 2 X70))) (let ((X74 - Int (ite X72 X73 X70))) (let ((X75 - Int (ite (not (and @@ -1857,7 +1724,6 @@ X74))) (let ((X76 - Bool (and (not (and @@ -1876,7 +1742,6 @@ 6))))) (let ((X77 - Int (ite (not (= X75 4)) @@ -1884,27 +1749,23 @@ X75))) (let ((X78 - Int (ite X76 X77 X75))) (let ((X79 - Int (ite X72 X78 X74))) (let ((X80 - Bool (or X72 X71))) (let ((X81 - Bool (and (= X79 7) (and @@ -1926,21 +1787,18 @@ (not X80))))) (let ((X82 - Int (ite (= X79 7) 2 X79))) (let ((X83 - Int (ite X81 X82 X79))) (let ((X84 - Int (ite (not (= X60 8)) @@ -1948,14 +1806,12 @@ X47))) (let ((X85 - Int (ite X52 X84 X47))) (let ((X86 - Int (ite (not (= X66 4)) @@ -1963,21 +1819,18 @@ X85))) (let ((X87 - Int (ite X67 X86 X85))) (let ((X88 - Int (ite X63 X87 X85))) (let ((X89 - Int (ite (not (= X75 4)) @@ -1985,21 +1838,18 @@ X88))) (let ((X90 - Int (ite X76 X89 X88))) (let ((X91 - Int (ite X72 X90 X88))) (let ((X92 - Int (ite (not (and @@ -2013,7 +1863,6 @@ X83))) (let ((X93 - Bool (and (not (and @@ -2032,7 +1881,6 @@ 6))))) (let ((X94 - Int (ite (not (= X92 4)) @@ -2040,21 +1888,18 @@ X91))) (let ((X95 - Int (ite X93 X94 X91))) (let ((X96 - Int (ite X81 X95 X91))) (let ((X97 - Int (ite (not (= X92 4)) @@ -2062,27 +1907,23 @@ X92))) (let ((X98 - Int (ite X93 X97 X92))) (let ((X99 - Int (ite X81 X98 X83))) (let ((X100 - Bool (or X81 X80))) (let ((X101 - Bool (and (= X99 4) (not @@ -2094,21 +1935,18 @@ 0))))) (let ((X102 - Int (ite (= X99 4) 3 X99))) (let ((X103 - Int (ite X101 X102 X99))) (let ((X104 - Int (ite (not (= @@ -2118,14 +1956,12 @@ X103))) (let ((X105 - Int (ite X101 X104 X103))) (let ((X106 - Bool (and (= X105 @@ -2142,7 +1978,6 @@ X101))))) (let ((X107 - Int (ite (= X105 @@ -2151,14 +1986,12 @@ X105))) (let ((X108 - Int (ite X106 X107 X105))) (let ((X109 - Int (ite (not (= @@ -2168,20 +2001,17 @@ X108))) (let ((X110 - Int (ite X106 X109 X108))) (let ((X111 - Bool (or X106 X101))) (let ((X112 - Bool (and (= X110 @@ -2198,7 +2028,6 @@ X111))))) (let ((X113 - Int (ite (= X110 @@ -2207,14 +2036,12 @@ X110))) (let ((X114 - Int (ite X112 X113 X110))) (let ((X115 - Int (ite (not (= @@ -2224,20 +2051,17 @@ X114))) (let ((X116 - Int (ite X112 X115 X114))) (let ((X117 - Bool (or X112 X111))) (let ((X118 - Bool (and (= X116 @@ -2255,7 +2079,6 @@ X117))))) (let ((X119 - Int (ite (= X116 @@ -2264,14 +2087,12 @@ X116))) (let ((X120 - Int (ite X118 X119 X116))) (let ((X121 - Int (ite (not (= @@ -2281,20 +2102,17 @@ X120))) (let ((X122 - Int (ite X118 X121 X120))) (let ((X123 - Bool (or X118 X117))) (let ((X124 - Bool (and (= X122 @@ -2312,7 +2130,6 @@ X123))))) (let ((X125 - Int (ite (= X122 @@ -2321,14 +2138,12 @@ X122))) (let ((X126 - Int (ite X124 X125 X122))) (let ((X127 - Int (ite (not (= @@ -2338,14 +2153,12 @@ X96))) (let ((X128 - Int (ite X101 X127 X96))) (let ((X129 - Int (ite (not (= @@ -2355,14 +2168,12 @@ X128))) (let ((X130 - Int (ite X106 X129 X128))) (let ((X131 - Int (ite (not (= @@ -2372,14 +2183,12 @@ X130))) (let ((X132 - Int (ite X112 X131 X130))) (let ((X133 - Int (ite (not (= @@ -2389,14 +2198,12 @@ X132))) (let ((X134 - Int (ite X118 X133 X132))) (let ((X135 - Int (ite (not (= @@ -2406,14 +2213,12 @@ X134))) (let ((X136 - Int (ite X124 X135 X134))) (let ((X137 - Int (ite (and (not @@ -2429,7 +2234,6 @@ X96))) (let ((X138 - Int (ite (and (not X51) @@ -2457,25 +2261,21 @@ X18)) (let ((X139 - Bool (= top.impl.usr.mode_a_1 6))) (let ((X140 - Bool (= top.impl.usr.mode_a_1 5))) (let ((X141 - Bool (= top.impl.usr.mode_a_1 4))) (let ((X142 - Bool (or (or X141 @@ -2483,17 +2283,15 @@ X139))) (let ((X143 - Bool top.impl.usr.zz162_a_0)) + top.impl.usr.zz162_a_0)) (let ((X144 - Bool (ite (= X19 4) false X143))) (let ((X145 - Bool (ite (and (>= @@ -2506,7 +2304,6 @@ X143))) (let ((X146 - Bool (ite (and (>= @@ -2519,21 +2316,18 @@ X143))) (let ((X147 - Bool (ite X21 X146 X143))) (let ((X148 - Bool (ite (= X50 4) false X147))) (let ((X149 - Bool (ite (and (>= @@ -2546,28 +2340,24 @@ X147))) (let ((X150 - Bool (ite X52 X149 X147))) (let ((X151 - Bool (ite X63 true X150))) (let ((X152 - Bool (ite X81 true X151))) (let ((X153 - Int (ite (not (= @@ -2577,41 +2367,35 @@ X126))) (let ((X154 - Int (ite X124 X153 X126))) (let ((X155 - Bool (or X124 X123))) (let ((X156 - Bool (ite (= X99 4) false X152))) (let ((X157 - Bool (ite X101 X156 X152))) (let ((X158 - Bool (ite X101 true X157))) (let ((X159 - Bool (ite (= X105 @@ -2620,14 +2404,12 @@ X158))) (let ((X160 - Bool (ite X106 X159 X158))) (let ((X161 - Bool (ite (= X110 @@ -2636,14 +2418,12 @@ X160))) (let ((X162 - Bool (ite X112 X161 X160))) (let ((X163 - Bool (ite (and (not @@ -2655,7 +2435,6 @@ X162))) (let ((X164 - Bool (ite (and (not @@ -2671,7 +2450,6 @@ X152))) (let ((X165 - Bool (ite (and (not X51) @@ -2702,7 +2480,6 @@ X142)) (let ((X166 - Int (ite (not (= X19 1)) @@ -2710,7 +2487,6 @@ X19))) (let ((X167 - Int (ite (and (not @@ -2726,7 +2502,6 @@ X99))) (let ((X168 - Int (ite (and (not X51) @@ -2741,7 +2516,6 @@ X50))) (let ((X169 - Int (ite top.impl.usr.SP3c_a_1 (ite @@ -2782,26 +2556,6 @@ )) -(declare-primed-var top.usr.onOff Bool) -(declare-primed-var top.usr.decelSet Bool) -(declare-primed-var top.usr.accelResume Bool) -(declare-primed-var top.usr.cancel Bool) -(declare-primed-var top.usr.brakePedal Bool) -(declare-primed-var top.usr.carGear Int) -(declare-primed-var top.usr.carSpeed Real) -(declare-primed-var top.usr.validInputs Bool) -(declare-primed-var top.usr.OK Bool) -(declare-primed-var top.res.init_flag Bool) -(declare-primed-var top.impl.usr.mode Int) -(declare-primed-var top.impl.usr.SP3c Bool) -(declare-primed-var top.impl.usr.zz155 Bool) -(declare-primed-var top.impl.usr.zz161 Int) -(declare-primed-var top.impl.usr.zz162 Bool) -(declare-primed-var top.impl.usr.zz170 Int) -(declare-primed-var top.impl.usr.zz176 Int) -(declare-primed-var top.impl.usr.zz178 Bool) -(declare-primed-var top.impl.usr.zz183 Bool) - (define-fun init ( (top.usr.onOff Bool) @@ -2826,150 +2580,150 @@ ) Bool (let - ((X1 Bool (>= top.usr.carSpeed 15.0))) + ((X1 (>= top.usr.carSpeed 15.0))) (let - ((X2 Bool (= top.usr.carGear 3))) + ((X2 (= top.usr.carGear 3))) (let ((X3 - Bool (and + (and (and (and (and (not top.usr.cancel) (not top.usr.brakePedal)) X2) X1) top.usr.validInputs))) (let - ((X4 Bool true)) + ((X4 true)) (and (= top.impl.usr.zz183 top.usr.decelSet) (let - ((X5 Bool (and (not X4) top.impl.usr.zz183))) + ((X5 (and (not X4) top.impl.usr.zz183))) (let - ((X6 Bool true)) + ((X6 true)) (and (= top.impl.usr.zz178 top.usr.accelResume) (let - ((X7 Bool (and (not X6) top.impl.usr.zz178))) + ((X7 (and (not X6) top.impl.usr.zz178))) (let - ((X8 Int 0)) + ((X8 0)) (let - ((X9 Int (+ X8 1))) + ((X9 (+ X8 1))) (let - ((X10 Int (ite top.usr.decelSet X9 0))) + ((X10 (ite top.usr.decelSet X9 0))) (let - ((X11 Int (ite (>= 0 X10) 0 X10))) + ((X11 (ite (>= 0 X10) 0 X10))) (and (= top.impl.usr.zz176 (ite (<= X11 20) X11 20)) (let - ((X12 Bool (= top.impl.usr.zz176 20))) + ((X12 (= top.impl.usr.zz176 20))) (let - ((X13 Int 0)) + ((X13 0)) (let - ((X14 Int (+ X13 1))) + ((X14 (+ X13 1))) (let - ((X15 Int (ite top.usr.accelResume X14 0))) + ((X15 (ite top.usr.accelResume X14 0))) (let - ((X16 Int (ite (>= 0 X15) 0 X15))) + ((X16 (ite (>= 0 X15) 0 X15))) (and (= top.impl.usr.zz170 (ite (<= X16 20) X16 20)) (let - ((X17 Bool (= top.impl.usr.zz170 20))) + ((X17 (= top.impl.usr.zz170 20))) (let - ((X18 Int 0)) + ((X18 0)) (let - ((X19 Int 0)) + ((X19 0)) (and (= top.impl.usr.zz155 true) (let - ((X20 Int (ite (not (= X19 1)) 1 X18))) + ((X20 (ite (not (= X19 1)) 1 X18))) (let ((X21 - Bool (and + (and (and (>= X19 2) (<= X19 8)) (not top.usr.onOff)))) (let - ((X22 Int (ite (= X19 4) 3 X19))) + ((X22 (ite (= X19 4) 3 X19))) (let ((X23 - Int (ite (and (>= X19 3) (<= X19 6)) X22 X19))) + (ite (and (>= X19 3) (<= X19 6)) X22 X19))) (let - ((X24 Int (ite (= X23 5) 3 X23))) + ((X24 (ite (= X23 5) 3 X23))) (let ((X25 - Int (ite + (ite (and (>= X19 3) (<= X19 6)) X24 X23))) (let - ((X26 Int (ite (= X25 6) 3 X25))) + ((X26 (ite (= X25 6) 3 X25))) (let ((X27 - Int (ite + (ite (and (>= X19 3) (<= X19 6)) X26 X25))) (let ((X28 - Int (ite + (ite (and (>= X19 3) (<= X19 6)) 2 X27))) (let ((X29 - Int (ite + (ite (and (>= X19 2) (<= X19 8)) X28 X19))) (let - ((X30 Int (ite (= X29 7) 2 X29))) + ((X30 (ite (= X29 7) 2 X29))) (let ((X31 - Int (ite + (ite (and (>= X19 2) (<= X19 8)) X30 X29))) (let - ((X32 Int (ite (= X31 8) 2 X31))) + ((X32 (ite (= X31 8) 2 X31))) (let ((X33 - Int (ite + (ite (and (>= X19 2) (<= X19 8)) X32 X31))) (let ((X34 - Int (ite + (ite (and (>= X19 2) (<= X19 8)) 0 X33))) (let - ((X35 Int (ite X21 X34 X19))) + ((X35 (ite X21 X34 X19))) (let ((X36 - Int (ite (not (= X35 1)) 1 X35))) + (ite (not (= X35 1)) 1 X35))) (let - ((X37 Int (ite X21 X36 X35))) + ((X37 (ite X21 X36 X35))) (let ((X38 - Bool (and + (and (= X37 1) (and top.usr.onOff (not X21))))) (let ((X39 - Int (ite (= X37 1) 0 X37))) + (ite (= X37 1) 0 X37))) (let - ((X40 Int (ite X38 X39 X37))) + ((X40 (ite X38 X39 X37))) (let ((X41 - Int (ite + (ite (not (= X35 1)) 1 X18))) (let - ((X42 Int (ite X21 X41 X18))) + ((X42 (ite X21 X41 X18))) (let ((X43 - Int (ite + (ite (not (and (>= X40 2) @@ -2978,7 +2732,7 @@ X40))) (let ((X44 - Bool (and + (and (not (and (>= X40 2) @@ -2988,40 +2742,40 @@ (<= X43 8))))) (let ((X45 - Int (ite + (ite (not (= X43 7)) 2 X42))) (let ((X46 - Int (ite X44 X45 X42))) + (ite X44 X45 X42))) (let ((X47 - Int (ite X38 X46 X42))) + (ite X38 X46 X42))) (let ((X48 - Int (ite + (ite (not (= X43 7)) 7 X43))) (let ((X49 - Int (ite + (ite X44 X48 X43))) (let ((X50 - Int (ite + (ite X38 X49 X40))) (let ((X51 - Bool (or X38 X21))) + (or X38 X21))) (let ((X52 - Bool (and + (and (and (>= X50 @@ -3032,13 +2786,13 @@ (not X3)))) (let ((X53 - Int (ite + (ite (= X50 4) 3 X50))) (let ((X54 - Int (ite + (ite (and (>= X50 @@ -3050,13 +2804,12 @@ X50))) (let ((X55 - Int (ite + (ite (= X54 5) 3 X54))) (let ((X56 - Int (ite (and (>= X50 3) @@ -3065,14 +2818,12 @@ X54))) (let ((X57 - Int (ite (= X56 6) 3 X56))) (let ((X58 - Int (ite (and (>= @@ -3085,7 +2836,6 @@ X56))) (let ((X59 - Int (ite (and (>= @@ -3098,14 +2848,12 @@ X58))) (let ((X60 - Int (ite X52 X59 X50))) (let ((X61 - Int (ite (not (= X60 8)) @@ -3113,14 +2861,12 @@ X60))) (let ((X62 - Int (ite X52 X61 X60))) (let ((X63 - Bool (and (= X62 8) (and @@ -3142,21 +2888,18 @@ (not X52))))) (let ((X64 - Int (ite (= X62 8) 2 X62))) (let ((X65 - Int (ite X63 X64 X62))) (let ((X66 - Int (ite (not (and @@ -3170,7 +2913,6 @@ X65))) (let ((X67 - Bool (and (not (and @@ -3189,7 +2931,6 @@ 6))))) (let ((X68 - Int (ite (not (= X66 4)) @@ -3197,27 +2938,23 @@ X66))) (let ((X69 - Int (ite X67 X68 X66))) (let ((X70 - Int (ite X63 X69 X65))) (let ((X71 - Bool (or X63 X52))) (let ((X72 - Bool (and (= X70 8) (and @@ -3239,21 +2976,18 @@ (not X71))))) (let ((X73 - Int (ite (= X70 8) 2 X70))) (let ((X74 - Int (ite X72 X73 X70))) (let ((X75 - Int (ite (not (and @@ -3267,7 +3001,6 @@ X74))) (let ((X76 - Bool (and (not (and @@ -3286,7 +3019,6 @@ 6))))) (let ((X77 - Int (ite (not (= X75 4)) @@ -3294,27 +3026,23 @@ X75))) (let ((X78 - Int (ite X76 X77 X75))) (let ((X79 - Int (ite X72 X78 X74))) (let ((X80 - Bool (or X72 X71))) (let ((X81 - Bool (and (= X79 7) (and @@ -3336,21 +3064,18 @@ (not X80))))) (let ((X82 - Int (ite (= X79 7) 2 X79))) (let ((X83 - Int (ite X81 X82 X79))) (let ((X84 - Int (ite (not (= X60 8)) @@ -3358,14 +3083,12 @@ X47))) (let ((X85 - Int (ite X52 X84 X47))) (let ((X86 - Int (ite (not (= X66 4)) @@ -3373,21 +3096,18 @@ X85))) (let ((X87 - Int (ite X67 X86 X85))) (let ((X88 - Int (ite X63 X87 X85))) (let ((X89 - Int (ite (not (= X75 4)) @@ -3395,21 +3115,18 @@ X88))) (let ((X90 - Int (ite X76 X89 X88))) (let ((X91 - Int (ite X72 X90 X88))) (let ((X92 - Int (ite (not (and @@ -3423,7 +3140,6 @@ X83))) (let ((X93 - Bool (and (not (and @@ -3442,7 +3158,6 @@ 6))))) (let ((X94 - Int (ite (not (= X92 4)) @@ -3450,21 +3165,18 @@ X91))) (let ((X95 - Int (ite X93 X94 X91))) (let ((X96 - Int (ite X81 X95 X91))) (let ((X97 - Int (ite (not (= X92 4)) @@ -3472,27 +3184,23 @@ X92))) (let ((X98 - Int (ite X93 X97 X92))) (let ((X99 - Int (ite X81 X98 X83))) (let ((X100 - Bool (or X81 X80))) (let ((X101 - Bool (and (= X99 4) (not @@ -3504,21 +3212,18 @@ 0))))) (let ((X102 - Int (ite (= X99 4) 3 X99))) (let ((X103 - Int (ite X101 X102 X99))) (let ((X104 - Int (ite (not (= @@ -3528,14 +3233,12 @@ X103))) (let ((X105 - Int (ite X101 X104 X103))) (let ((X106 - Bool (and (= X105 @@ -3552,7 +3255,6 @@ X101))))) (let ((X107 - Int (ite (= X105 @@ -3561,14 +3263,12 @@ X105))) (let ((X108 - Int (ite X106 X107 X105))) (let ((X109 - Int (ite (not (= @@ -3578,20 +3278,17 @@ X108))) (let ((X110 - Int (ite X106 X109 X108))) (let ((X111 - Bool (or X106 X101))) (let ((X112 - Bool (and (= X110 @@ -3608,7 +3305,6 @@ X111))))) (let ((X113 - Int (ite (= X110 @@ -3617,14 +3313,12 @@ X110))) (let ((X114 - Int (ite X112 X113 X110))) (let ((X115 - Int (ite (not (= @@ -3634,20 +3328,17 @@ X114))) (let ((X116 - Int (ite X112 X115 X114))) (let ((X117 - Bool (or X112 X111))) (let ((X118 - Bool (and (= X116 @@ -3665,7 +3356,6 @@ X117))))) (let ((X119 - Int (ite (= X116 @@ -3674,14 +3364,12 @@ X116))) (let ((X120 - Int (ite X118 X119 X116))) (let ((X121 - Int (ite (not (= @@ -3691,20 +3379,17 @@ X120))) (let ((X122 - Int (ite X118 X121 X120))) (let ((X123 - Bool (or X118 X117))) (let ((X124 - Bool (and (= X122 @@ -3722,7 +3407,6 @@ X123))))) (let ((X125 - Int (ite (= X122 @@ -3731,14 +3415,12 @@ X122))) (let ((X126 - Int (ite X124 X125 X122))) (let ((X127 - Int (ite (not (= @@ -3748,14 +3430,12 @@ X96))) (let ((X128 - Int (ite X101 X127 X96))) (let ((X129 - Int (ite (not (= @@ -3765,14 +3445,12 @@ X128))) (let ((X130 - Int (ite X106 X129 X128))) (let ((X131 - Int (ite (not (= @@ -3782,14 +3460,12 @@ X130))) (let ((X132 - Int (ite X112 X131 X130))) (let ((X133 - Int (ite (not (= @@ -3799,14 +3475,12 @@ X132))) (let ((X134 - Int (ite X118 X133 X132))) (let ((X135 - Int (ite (not (= @@ -3816,14 +3490,12 @@ X134))) (let ((X136 - Int (ite X124 X135 X134))) (let ((X137 - Int (ite (and (not @@ -3839,7 +3511,6 @@ X96))) (let ((X138 - Int (ite (and (not X51) @@ -3867,25 +3538,21 @@ X18)) (let ((X139 - Bool (= top.impl.usr.mode 6))) (let ((X140 - Bool (= top.impl.usr.mode 5))) (let ((X141 - Bool (= top.impl.usr.mode 4))) (let ((X142 - Bool (or (or X141 @@ -3893,17 +3560,15 @@ X139))) (let ((X143 - Bool false)) + false)) (let ((X144 - Bool (ite (= X19 4) false X143))) (let ((X145 - Bool (ite (and (>= @@ -3916,7 +3581,6 @@ X143))) (let ((X146 - Bool (ite (and (>= @@ -3929,21 +3593,18 @@ X143))) (let ((X147 - Bool (ite X21 X146 X143))) (let ((X148 - Bool (ite (= X50 4) false X147))) (let ((X149 - Bool (ite (and (>= @@ -3956,28 +3617,24 @@ X147))) (let ((X150 - Bool (ite X52 X149 X147))) (let ((X151 - Bool (ite X63 true X150))) (let ((X152 - Bool (ite X81 true X151))) (let ((X153 - Int (ite (not (= @@ -3987,41 +3644,35 @@ X126))) (let ((X154 - Int (ite X124 X153 X126))) (let ((X155 - Bool (or X124 X123))) (let ((X156 - Bool (ite (= X99 4) false X152))) (let ((X157 - Bool (ite X101 X156 X152))) (let ((X158 - Bool (ite X101 true X157))) (let ((X159 - Bool (ite (= X105 @@ -4030,14 +3681,12 @@ X158))) (let ((X160 - Bool (ite X106 X159 X158))) (let ((X161 - Bool (ite (= X110 @@ -4046,14 +3695,12 @@ X160))) (let ((X162 - Bool (ite X112 X161 X160))) (let ((X163 - Bool (ite (and (not @@ -4065,7 +3712,6 @@ X162))) (let ((X164 - Bool (ite (and (not @@ -4081,7 +3727,6 @@ X152))) (let ((X165 - Bool (ite (and (not X51) @@ -4112,7 +3757,6 @@ X142)) (let ((X166 - Int (ite (not (= X19 1)) @@ -4120,7 +3764,6 @@ X19))) (let ((X167 - Int (ite (and (not @@ -4136,7 +3779,6 @@ X99))) (let ((X168 - Int (ite (and (not X51) @@ -4151,7 +3793,6 @@ X50))) (let ((X169 - Int (ite top.impl.usr.SP3c (ite @@ -4214,152 +3855,152 @@ ) Bool (let - ((X1 Bool (>= top.usr.carSpeed! 15.0))) + ((X1 (>= top.usr.carSpeed! 15.0))) (let - ((X2 Bool (= top.usr.carGear! 3))) + ((X2 (= top.usr.carGear! 3))) (let ((X3 - Bool (and + (and (and (and (and (not top.usr.cancel!) (not top.usr.brakePedal!)) X2) X1) top.usr.validInputs!))) (let - ((X4 Bool top.impl.usr.zz183)) + ((X4 top.impl.usr.zz183)) (and (= top.impl.usr.zz183! top.usr.decelSet!) (let - ((X5 Bool (and (not X4) top.impl.usr.zz183!))) + ((X5 (and (not X4) top.impl.usr.zz183!))) (let - ((X6 Bool top.impl.usr.zz178)) + ((X6 top.impl.usr.zz178)) (and (= top.impl.usr.zz178! top.usr.accelResume!) (let - ((X7 Bool (and (not X6) top.impl.usr.zz178!))) + ((X7 (and (not X6) top.impl.usr.zz178!))) (let - ((X8 Int top.impl.usr.zz176)) + ((X8 top.impl.usr.zz176)) (let - ((X9 Int (+ X8 1))) + ((X9 (+ X8 1))) (let - ((X10 Int (ite top.usr.decelSet! X9 0))) + ((X10 (ite top.usr.decelSet! X9 0))) (let - ((X11 Int (ite (>= 0 X10) 0 X10))) + ((X11 (ite (>= 0 X10) 0 X10))) (and (= top.impl.usr.zz176! (ite (<= X11 20) X11 20)) (let - ((X12 Bool (= top.impl.usr.zz176! 20))) + ((X12 (= top.impl.usr.zz176! 20))) (let - ((X13 Int top.impl.usr.zz170)) + ((X13 top.impl.usr.zz170)) (let - ((X14 Int (+ X13 1))) + ((X14 (+ X13 1))) (let - ((X15 Int (ite top.usr.accelResume! X14 0))) + ((X15 (ite top.usr.accelResume! X14 0))) (let - ((X16 Int (ite (>= 0 X15) 0 X15))) + ((X16 (ite (>= 0 X15) 0 X15))) (and (= top.impl.usr.zz170! (ite (<= X16 20) X16 20)) (let - ((X17 Bool (= top.impl.usr.zz170! 20))) + ((X17 (= top.impl.usr.zz170! 20))) (let - ((X18 Int top.impl.usr.mode)) + ((X18 top.impl.usr.mode)) (let - ((X19 Int top.impl.usr.zz161)) + ((X19 top.impl.usr.zz161)) (and (= top.impl.usr.zz155! (ite top.impl.usr.SP3c false top.impl.usr.zz155)) (let - ((X20 Int (ite (not (= X19 1)) 1 X18))) + ((X20 (ite (not (= X19 1)) 1 X18))) (let ((X21 - Bool (and + (and (and (>= X19 2) (<= X19 8)) (not top.usr.onOff!)))) (let - ((X22 Int (ite (= X19 4) 3 X19))) + ((X22 (ite (= X19 4) 3 X19))) (let ((X23 - Int (ite (and (>= X19 3) (<= X19 6)) X22 X19))) + (ite (and (>= X19 3) (<= X19 6)) X22 X19))) (let - ((X24 Int (ite (= X23 5) 3 X23))) + ((X24 (ite (= X23 5) 3 X23))) (let ((X25 - Int (ite + (ite (and (>= X19 3) (<= X19 6)) X24 X23))) (let - ((X26 Int (ite (= X25 6) 3 X25))) + ((X26 (ite (= X25 6) 3 X25))) (let ((X27 - Int (ite + (ite (and (>= X19 3) (<= X19 6)) X26 X25))) (let ((X28 - Int (ite + (ite (and (>= X19 3) (<= X19 6)) 2 X27))) (let ((X29 - Int (ite + (ite (and (>= X19 2) (<= X19 8)) X28 X19))) (let - ((X30 Int (ite (= X29 7) 2 X29))) + ((X30 (ite (= X29 7) 2 X29))) (let ((X31 - Int (ite + (ite (and (>= X19 2) (<= X19 8)) X30 X29))) (let - ((X32 Int (ite (= X31 8) 2 X31))) + ((X32 (ite (= X31 8) 2 X31))) (let ((X33 - Int (ite + (ite (and (>= X19 2) (<= X19 8)) X32 X31))) (let ((X34 - Int (ite + (ite (and (>= X19 2) (<= X19 8)) 0 X33))) (let - ((X35 Int (ite X21 X34 X19))) + ((X35 (ite X21 X34 X19))) (let ((X36 - Int (ite (not (= X35 1)) 1 X35))) + (ite (not (= X35 1)) 1 X35))) (let - ((X37 Int (ite X21 X36 X35))) + ((X37 (ite X21 X36 X35))) (let ((X38 - Bool (and + (and (= X37 1) (and top.usr.onOff! (not X21))))) (let ((X39 - Int (ite (= X37 1) 0 X37))) + (ite (= X37 1) 0 X37))) (let - ((X40 Int (ite X38 X39 X37))) + ((X40 (ite X38 X39 X37))) (let ((X41 - Int (ite + (ite (not (= X35 1)) 1 X18))) (let - ((X42 Int (ite X21 X41 X18))) + ((X42 (ite X21 X41 X18))) (let ((X43 - Int (ite + (ite (not (and (>= X40 2) @@ -4368,7 +4009,7 @@ X40))) (let ((X44 - Bool (and + (and (not (and (>= X40 2) @@ -4378,40 +4019,40 @@ (<= X43 8))))) (let ((X45 - Int (ite + (ite (not (= X43 7)) 2 X42))) (let ((X46 - Int (ite X44 X45 X42))) + (ite X44 X45 X42))) (let ((X47 - Int (ite X38 X46 X42))) + (ite X38 X46 X42))) (let ((X48 - Int (ite + (ite (not (= X43 7)) 7 X43))) (let ((X49 - Int (ite + (ite X44 X48 X43))) (let ((X50 - Int (ite + (ite X38 X49 X40))) (let ((X51 - Bool (or X38 X21))) + (or X38 X21))) (let ((X52 - Bool (and + (and (and (>= X50 @@ -4422,13 +4063,13 @@ (not X3)))) (let ((X53 - Int (ite + (ite (= X50 4) 3 X50))) (let ((X54 - Int (ite + (ite (and (>= X50 @@ -4440,13 +4081,12 @@ X50))) (let ((X55 - Int (ite + (ite (= X54 5) 3 X54))) (let ((X56 - Int (ite (and (>= X50 3) @@ -4455,14 +4095,12 @@ X54))) (let ((X57 - Int (ite (= X56 6) 3 X56))) (let ((X58 - Int (ite (and (>= @@ -4475,7 +4113,6 @@ X56))) (let ((X59 - Int (ite (and (>= @@ -4488,14 +4125,12 @@ X58))) (let ((X60 - Int (ite X52 X59 X50))) (let ((X61 - Int (ite (not (= X60 8)) @@ -4503,14 +4138,12 @@ X60))) (let ((X62 - Int (ite X52 X61 X60))) (let ((X63 - Bool (and (= X62 8) (and @@ -4532,21 +4165,18 @@ (not X52))))) (let ((X64 - Int (ite (= X62 8) 2 X62))) (let ((X65 - Int (ite X63 X64 X62))) (let ((X66 - Int (ite (not (and @@ -4560,7 +4190,6 @@ X65))) (let ((X67 - Bool (and (not (and @@ -4579,7 +4208,6 @@ 6))))) (let ((X68 - Int (ite (not (= X66 4)) @@ -4587,27 +4215,23 @@ X66))) (let ((X69 - Int (ite X67 X68 X66))) (let ((X70 - Int (ite X63 X69 X65))) (let ((X71 - Bool (or X63 X52))) (let ((X72 - Bool (and (= X70 8) (and @@ -4629,21 +4253,18 @@ (not X71))))) (let ((X73 - Int (ite (= X70 8) 2 X70))) (let ((X74 - Int (ite X72 X73 X70))) (let ((X75 - Int (ite (not (and @@ -4657,7 +4278,6 @@ X74))) (let ((X76 - Bool (and (not (and @@ -4676,7 +4296,6 @@ 6))))) (let ((X77 - Int (ite (not (= X75 4)) @@ -4684,27 +4303,23 @@ X75))) (let ((X78 - Int (ite X76 X77 X75))) (let ((X79 - Int (ite X72 X78 X74))) (let ((X80 - Bool (or X72 X71))) (let ((X81 - Bool (and (= X79 7) (and @@ -4726,21 +4341,18 @@ (not X80))))) (let ((X82 - Int (ite (= X79 7) 2 X79))) (let ((X83 - Int (ite X81 X82 X79))) (let ((X84 - Int (ite (not (= X60 8)) @@ -4748,14 +4360,12 @@ X47))) (let ((X85 - Int (ite X52 X84 X47))) (let ((X86 - Int (ite (not (= X66 4)) @@ -4763,21 +4373,18 @@ X85))) (let ((X87 - Int (ite X67 X86 X85))) (let ((X88 - Int (ite X63 X87 X85))) (let ((X89 - Int (ite (not (= X75 4)) @@ -4785,21 +4392,18 @@ X88))) (let ((X90 - Int (ite X76 X89 X88))) (let ((X91 - Int (ite X72 X90 X88))) (let ((X92 - Int (ite (not (and @@ -4813,7 +4417,6 @@ X83))) (let ((X93 - Bool (and (not (and @@ -4832,7 +4435,6 @@ 6))))) (let ((X94 - Int (ite (not (= X92 4)) @@ -4840,21 +4442,18 @@ X91))) (let ((X95 - Int (ite X93 X94 X91))) (let ((X96 - Int (ite X81 X95 X91))) (let ((X97 - Int (ite (not (= X92 4)) @@ -4862,27 +4461,23 @@ X92))) (let ((X98 - Int (ite X93 X97 X92))) (let ((X99 - Int (ite X81 X98 X83))) (let ((X100 - Bool (or X81 X80))) (let ((X101 - Bool (and (= X99 4) (not @@ -4894,21 +4489,18 @@ 0))))) (let ((X102 - Int (ite (= X99 4) 3 X99))) (let ((X103 - Int (ite X101 X102 X99))) (let ((X104 - Int (ite (not (= @@ -4918,14 +4510,12 @@ X103))) (let ((X105 - Int (ite X101 X104 X103))) (let ((X106 - Bool (and (= X105 @@ -4942,7 +4532,6 @@ X101))))) (let ((X107 - Int (ite (= X105 @@ -4951,14 +4540,12 @@ X105))) (let ((X108 - Int (ite X106 X107 X105))) (let ((X109 - Int (ite (not (= @@ -4968,20 +4555,17 @@ X108))) (let ((X110 - Int (ite X106 X109 X108))) (let ((X111 - Bool (or X106 X101))) (let ((X112 - Bool (and (= X110 @@ -4998,7 +4582,6 @@ X111))))) (let ((X113 - Int (ite (= X110 @@ -5007,14 +4590,12 @@ X110))) (let ((X114 - Int (ite X112 X113 X110))) (let ((X115 - Int (ite (not (= @@ -5024,20 +4605,17 @@ X114))) (let ((X116 - Int (ite X112 X115 X114))) (let ((X117 - Bool (or X112 X111))) (let ((X118 - Bool (and (= X116 @@ -5055,7 +4633,6 @@ X117))))) (let ((X119 - Int (ite (= X116 @@ -5064,14 +4641,12 @@ X116))) (let ((X120 - Int (ite X118 X119 X116))) (let ((X121 - Int (ite (not (= @@ -5081,20 +4656,17 @@ X120))) (let ((X122 - Int (ite X118 X121 X120))) (let ((X123 - Bool (or X118 X117))) (let ((X124 - Bool (and (= X122 @@ -5112,7 +4684,6 @@ X123))))) (let ((X125 - Int (ite (= X122 @@ -5121,14 +4692,12 @@ X122))) (let ((X126 - Int (ite X124 X125 X122))) (let ((X127 - Int (ite (not (= @@ -5138,14 +4707,12 @@ X96))) (let ((X128 - Int (ite X101 X127 X96))) (let ((X129 - Int (ite (not (= @@ -5155,14 +4722,12 @@ X128))) (let ((X130 - Int (ite X106 X129 X128))) (let ((X131 - Int (ite (not (= @@ -5172,14 +4737,12 @@ X130))) (let ((X132 - Int (ite X112 X131 X130))) (let ((X133 - Int (ite (not (= @@ -5189,14 +4752,12 @@ X132))) (let ((X134 - Int (ite X118 X133 X132))) (let ((X135 - Int (ite (not (= @@ -5206,14 +4767,12 @@ X134))) (let ((X136 - Int (ite X124 X135 X134))) (let ((X137 - Int (ite (and (not @@ -5229,7 +4788,6 @@ X96))) (let ((X138 - Int (ite (and (not X51) @@ -5257,25 +4815,21 @@ X18)) (let ((X139 - Bool (= top.impl.usr.mode! 6))) (let ((X140 - Bool (= top.impl.usr.mode! 5))) (let ((X141 - Bool (= top.impl.usr.mode! 4))) (let ((X142 - Bool (or (or X141 @@ -5283,17 +4837,15 @@ X139))) (let ((X143 - Bool top.impl.usr.zz162)) + top.impl.usr.zz162)) (let ((X144 - Bool (ite (= X19 4) false X143))) (let ((X145 - Bool (ite (and (>= @@ -5306,7 +4858,6 @@ X143))) (let ((X146 - Bool (ite (and (>= @@ -5319,21 +4870,18 @@ X143))) (let ((X147 - Bool (ite X21 X146 X143))) (let ((X148 - Bool (ite (= X50 4) false X147))) (let ((X149 - Bool (ite (and (>= @@ -5346,28 +4894,24 @@ X147))) (let ((X150 - Bool (ite X52 X149 X147))) (let ((X151 - Bool (ite X63 true X150))) (let ((X152 - Bool (ite X81 true X151))) (let ((X153 - Int (ite (not (= @@ -5377,41 +4921,35 @@ X126))) (let ((X154 - Int (ite X124 X153 X126))) (let ((X155 - Bool (or X124 X123))) (let ((X156 - Bool (ite (= X99 4) false X152))) (let ((X157 - Bool (ite X101 X156 X152))) (let ((X158 - Bool (ite X101 true X157))) (let ((X159 - Bool (ite (= X105 @@ -5420,14 +4958,12 @@ X158))) (let ((X160 - Bool (ite X106 X159 X158))) (let ((X161 - Bool (ite (= X110 @@ -5436,14 +4972,12 @@ X160))) (let ((X162 - Bool (ite X112 X161 X160))) (let ((X163 - Bool (ite (and (not @@ -5455,7 +4989,6 @@ X162))) (let ((X164 - Bool (ite (and (not @@ -5471,7 +5004,6 @@ X152))) (let ((X165 - Bool (ite (and (not X51) @@ -5502,7 +5034,6 @@ X142)) (let ((X166 - Int (ite (not (= X19 1)) @@ -5510,7 +5041,6 @@ X19))) (let ((X167 - Int (ite (and (not @@ -5526,7 +5056,6 @@ X99))) (let ((X168 - Int (ite (and (not X51) @@ -5541,7 +5070,6 @@ X50))) (let ((X169 - Int (ite top.impl.usr.SP3c! (ite diff --git a/lib-nonconforming/Inv_Track/andrew_lustre/ccp09.lus.sl b/lib/Inv_Track/andrew_lustre/ccp09.lus.sl similarity index 88% rename from lib-nonconforming/Inv_Track/andrew_lustre/ccp09.lus.sl rename to lib/Inv_Track/andrew_lustre/ccp09.lus.sl index d21c38ea..b6198476 100644 --- a/lib-nonconforming/Inv_Track/andrew_lustre/ccp09.lus.sl +++ b/lib/Inv_Track/andrew_lustre/ccp09.lus.sl @@ -31,14 +31,14 @@ ) Bool (let - ((X1 Real 0.0)) + ((X1 0.0)) (let - ((X2 Bool (>= top.usr.carSpeed_a_0 15.0))) + ((X2 (>= top.usr.carSpeed_a_0 15.0))) (let - ((X3 Bool (= top.usr.carGear_a_0 3))) + ((X3 (= top.usr.carGear_a_0 3))) (let ((X4 - Bool (and + (and (and (and (and (not top.usr.cancel_a_0) (not top.usr.brakePedal_a_0)) @@ -46,143 +46,143 @@ X2) top.usr.validInputs_a_0))) (let - ((X5 Bool true)) + ((X5 true)) (and (= top.impl.usr.zz183_a_0 top.usr.decelSet_a_0) (let - ((X6 Bool (and (not X5) top.impl.usr.zz183_a_0))) + ((X6 (and (not X5) top.impl.usr.zz183_a_0))) (let - ((X7 Bool true)) + ((X7 true)) (and (= top.impl.usr.zz178_a_0 top.usr.accelResume_a_0) (let - ((X8 Bool (and (not X7) top.impl.usr.zz178_a_0))) + ((X8 (and (not X7) top.impl.usr.zz178_a_0))) (let - ((X9 Int 0)) + ((X9 0)) (let - ((X10 Int (+ X9 1))) + ((X10 (+ X9 1))) (let - ((X11 Int (ite top.usr.decelSet_a_0 X10 0))) + ((X11 (ite top.usr.decelSet_a_0 X10 0))) (let - ((X12 Int (ite (>= 0 X11) 0 X11))) + ((X12 (ite (>= 0 X11) 0 X11))) (and (= top.impl.usr.zz176_a_0 (ite (<= X12 20) X12 20)) (let - ((X13 Bool (= top.impl.usr.zz176_a_0 20))) + ((X13 (= top.impl.usr.zz176_a_0 20))) (let - ((X14 Int 0)) + ((X14 0)) (let - ((X15 Int (+ X14 1))) + ((X15 (+ X14 1))) (let - ((X16 Int (ite top.usr.accelResume_a_0 X15 0))) + ((X16 (ite top.usr.accelResume_a_0 X15 0))) (let - ((X17 Int (ite (>= 0 X16) 0 X16))) + ((X17 (ite (>= 0 X16) 0 X16))) (and (= top.impl.usr.zz170_a_0 (ite (<= X17 20) X17 20)) (let - ((X18 Bool (= top.impl.usr.zz170_a_0 20))) + ((X18 (= top.impl.usr.zz170_a_0 20))) (let - ((X19 Int 0)) + ((X19 0)) (let - ((X20 Int 0)) + ((X20 0)) (and (= top.impl.usr.zz155_a_0 true) (let - ((X21 Int (ite (not (= X20 1)) 1 X19))) + ((X21 (ite (not (= X20 1)) 1 X19))) (let ((X22 - Bool (and + (and (and (>= X20 2) (<= X20 8)) (not top.usr.onOff_a_0)))) (let - ((X23 Int (ite (= X20 4) 3 X20))) + ((X23 (ite (= X20 4) 3 X20))) (let ((X24 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) X23 X20))) (let - ((X25 Int (ite (= X24 5) 3 X24))) + ((X25 (ite (= X24 5) 3 X24))) (let ((X26 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) X25 X24))) (let - ((X27 Int (ite (= X26 6) 3 X26))) + ((X27 (ite (= X26 6) 3 X26))) (let ((X28 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) X27 X26))) (let ((X29 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) 2 X28))) (let ((X30 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) X29 X20))) (let - ((X31 Int (ite (= X30 7) 2 X30))) + ((X31 (ite (= X30 7) 2 X30))) (let ((X32 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) X31 X30))) (let - ((X33 Int (ite (= X32 8) 2 X32))) + ((X33 (ite (= X32 8) 2 X32))) (let ((X34 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) X33 X32))) (let ((X35 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) 0 X34))) (let - ((X36 Int (ite X22 X35 X20))) + ((X36 (ite X22 X35 X20))) (let ((X37 - Int (ite (not (= X36 1)) 1 X36))) + (ite (not (= X36 1)) 1 X36))) (let - ((X38 Int (ite X22 X37 X36))) + ((X38 (ite X22 X37 X36))) (let ((X39 - Bool (and + (and (= X38 1) (and top.usr.onOff_a_0 (not X22))))) (let ((X40 - Int (ite (= X38 1) 0 X38))) + (ite (= X38 1) 0 X38))) (let - ((X41 Int (ite X39 X40 X38))) + ((X41 (ite X39 X40 X38))) (let ((X42 - Int (ite + (ite (not (= X36 1)) 1 X19))) (let ((X43 - Int (ite X22 X42 X19))) + (ite X22 X42 X19))) (let ((X44 - Int (ite + (ite (not (and (>= X41 2) @@ -191,7 +191,7 @@ X41))) (let ((X45 - Bool (and + (and (not (and (>= X41 2) @@ -201,46 +201,46 @@ (<= X44 8))))) (let ((X46 - Int (ite + (ite (not (= X44 7)) 2 X43))) (let ((X47 - Int (ite X45 X46 X43))) + (ite X45 X46 X43))) (let ((X48 - Int (ite + (ite X39 X47 X43))) (let ((X49 - Int (ite + (ite (not (= X44 7)) 7 X44))) (let ((X50 - Int (ite + (ite X45 X49 X44))) (let ((X51 - Int (ite + (ite X39 X50 X41))) (let ((X52 - Bool (or + (or X39 X22))) (let ((X53 - Bool (and + (and (and (>= X51 @@ -251,13 +251,13 @@ (not X4)))) (let ((X54 - Int (ite + (ite (= X51 4) 3 X51))) (let ((X55 - Int (ite + (ite (and (>= X51 @@ -269,14 +269,12 @@ X51))) (let ((X56 - Int (ite (= X55 5) 3 X55))) (let ((X57 - Int (ite (and (>= @@ -289,14 +287,12 @@ X55))) (let ((X58 - Int (ite (= X57 6) 3 X57))) (let ((X59 - Int (ite (and (>= @@ -309,7 +305,6 @@ X57))) (let ((X60 - Int (ite (and (>= @@ -322,14 +317,12 @@ X59))) (let ((X61 - Int (ite X53 X60 X51))) (let ((X62 - Int (ite (not (= X61 8)) @@ -337,14 +330,12 @@ X61))) (let ((X63 - Int (ite X53 X62 X61))) (let ((X64 - Bool (and (= X63 8) (and @@ -366,21 +357,18 @@ (not X53))))) (let ((X65 - Int (ite (= X63 8) 2 X63))) (let ((X66 - Int (ite X64 X65 X63))) (let ((X67 - Int (ite (not (and @@ -394,7 +382,6 @@ X66))) (let ((X68 - Bool (and (not (and @@ -413,7 +400,6 @@ 6))))) (let ((X69 - Int (ite (not (= X67 4)) @@ -421,27 +407,23 @@ X67))) (let ((X70 - Int (ite X68 X69 X67))) (let ((X71 - Int (ite X64 X70 X66))) (let ((X72 - Bool (or X64 X53))) (let ((X73 - Bool (and (= X71 8) (and @@ -463,21 +445,18 @@ (not X72))))) (let ((X74 - Int (ite (= X71 8) 2 X71))) (let ((X75 - Int (ite X73 X74 X71))) (let ((X76 - Int (ite (not (and @@ -491,7 +470,6 @@ X75))) (let ((X77 - Bool (and (not (and @@ -510,7 +488,6 @@ 6))))) (let ((X78 - Int (ite (not (= X76 4)) @@ -518,27 +495,23 @@ X76))) (let ((X79 - Int (ite X77 X78 X76))) (let ((X80 - Int (ite X73 X79 X75))) (let ((X81 - Bool (or X73 X72))) (let ((X82 - Bool (and (= X80 7) (and @@ -560,21 +533,18 @@ (not X81))))) (let ((X83 - Int (ite (= X80 7) 2 X80))) (let ((X84 - Int (ite X82 X83 X80))) (let ((X85 - Int (ite (not (= X61 8)) @@ -582,14 +552,12 @@ X48))) (let ((X86 - Int (ite X53 X85 X48))) (let ((X87 - Int (ite (not (= X67 4)) @@ -597,21 +565,18 @@ X86))) (let ((X88 - Int (ite X68 X87 X86))) (let ((X89 - Int (ite X64 X88 X86))) (let ((X90 - Int (ite (not (= X76 4)) @@ -619,21 +584,18 @@ X89))) (let ((X91 - Int (ite X77 X90 X89))) (let ((X92 - Int (ite X73 X91 X89))) (let ((X93 - Int (ite (not (and @@ -647,7 +609,6 @@ X84))) (let ((X94 - Bool (and (not (and @@ -666,7 +627,6 @@ 6))))) (let ((X95 - Int (ite (not (= X93 4)) @@ -674,21 +634,18 @@ X92))) (let ((X96 - Int (ite X94 X95 X92))) (let ((X97 - Int (ite X82 X96 X92))) (let ((X98 - Int (ite (not (= X93 4)) @@ -696,27 +653,23 @@ X93))) (let ((X99 - Int (ite X94 X98 X93))) (let ((X100 - Int (ite X82 X99 X84))) (let ((X101 - Bool (or X82 X81))) (let ((X102 - Bool (and (= X100 @@ -730,7 +683,6 @@ 0))))) (let ((X103 - Int (ite (= X100 @@ -739,14 +691,12 @@ X100))) (let ((X104 - Int (ite X102 X103 X100))) (let ((X105 - Int (ite (not (= @@ -756,14 +706,12 @@ X104))) (let ((X106 - Int (ite X102 X105 X104))) (let ((X107 - Bool (and (= X106 @@ -780,7 +728,6 @@ X102))))) (let ((X108 - Int (ite (= X106 @@ -789,14 +736,12 @@ X106))) (let ((X109 - Int (ite X107 X108 X106))) (let ((X110 - Int (ite (not (= @@ -806,20 +751,17 @@ X109))) (let ((X111 - Int (ite X107 X110 X109))) (let ((X112 - Bool (or X107 X102))) (let ((X113 - Bool (and (= X111 @@ -836,7 +778,6 @@ X112))))) (let ((X114 - Int (ite (= X111 @@ -845,14 +786,12 @@ X111))) (let ((X115 - Int (ite X113 X114 X111))) (let ((X116 - Int (ite (not (= @@ -862,20 +801,17 @@ X115))) (let ((X117 - Int (ite X113 X116 X115))) (let ((X118 - Bool (or X113 X112))) (let ((X119 - Bool (and (= X117 @@ -893,7 +829,6 @@ X118))))) (let ((X120 - Int (ite (= X117 @@ -902,14 +837,12 @@ X117))) (let ((X121 - Int (ite X119 X120 X117))) (let ((X122 - Int (ite (not (= @@ -919,20 +852,17 @@ X121))) (let ((X123 - Int (ite X119 X122 X121))) (let ((X124 - Bool (or X119 X118))) (let ((X125 - Bool (and (= X123 @@ -950,7 +880,6 @@ X124))))) (let ((X126 - Int (ite (= X123 @@ -959,14 +888,12 @@ X123))) (let ((X127 - Int (ite X125 X126 X123))) (let ((X128 - Int (ite (not (= @@ -976,14 +903,12 @@ X97))) (let ((X129 - Int (ite X102 X128 X97))) (let ((X130 - Int (ite (not (= @@ -993,14 +918,12 @@ X129))) (let ((X131 - Int (ite X107 X130 X129))) (let ((X132 - Int (ite (not (= @@ -1010,14 +933,12 @@ X131))) (let ((X133 - Int (ite X113 X132 X131))) (let ((X134 - Int (ite (not (= @@ -1027,14 +948,12 @@ X133))) (let ((X135 - Int (ite X119 X134 X133))) (let ((X136 - Int (ite (not (= @@ -1044,14 +963,12 @@ X135))) (let ((X137 - Int (ite X125 X136 X135))) (let ((X138 - Int (ite (and (not @@ -1067,7 +984,6 @@ X97))) (let ((X139 - Int (ite (and (not X52) @@ -1095,39 +1011,34 @@ X19)) (let ((X140 - Bool (= top.impl.usr.mode_a_0 3))) (let ((X141 - Real (ite X140 X1 0.0))) (let ((X142 - Bool (= top.impl.usr.mode_a_0 4))) (let ((X143 - Real (ite X142 X1 X141))) (let ((X144 - Bool (= top.impl.usr.mode_a_0 5))) (let ((X145 - Bool X144)) + X144)) (and (= top.impl.usr.zz4_a_0 @@ -1145,23 +1056,21 @@ 0.0 (- X1 - (/ 1 20)))) + (/ 1.0 20.0)))) (let ((X146 - Real (ite X145 top.impl.usr.zz5_a_0 X143))) (let ((X147 - Bool (= top.impl.usr.mode_a_0 6))) (let ((X148 - Bool X147)) + X147)) (and (= top.impl.usr.zz1_a_0 @@ -1179,27 +1088,24 @@ 0.0 (+ X1 - (/ 1 20)))) + (/ 1.0 20.0)))) (let ((X149 - Real (ite X148 top.impl.usr.zz2_a_0 X146))) (let ((X150 - Bool false)) + false)) (let ((X151 - Bool (ite (= X20 4) false X150))) (let ((X152 - Bool (ite (and (>= @@ -1212,7 +1118,6 @@ X150))) (let ((X153 - Bool (ite (and (>= @@ -1225,21 +1130,18 @@ X150))) (let ((X154 - Bool (ite X22 X153 X150))) (let ((X155 - Bool (ite (= X51 4) false X154))) (let ((X156 - Bool (ite (and (>= @@ -1252,28 +1154,24 @@ X154))) (let ((X157 - Bool (ite X53 X156 X154))) (let ((X158 - Bool (ite X64 true X157))) (let ((X159 - Bool (ite X82 true X158))) (let ((X160 - Int (ite (not (= @@ -1283,20 +1181,17 @@ X127))) (let ((X161 - Int (ite X125 X160 X127))) (let ((X162 - Bool (or X125 X124))) (let ((X163 - Bool (ite (= X100 @@ -1305,21 +1200,18 @@ X159))) (let ((X164 - Bool (ite X102 X163 X159))) (let ((X165 - Bool (ite X102 true X164))) (let ((X166 - Bool (ite (= X106 @@ -1328,14 +1220,12 @@ X165))) (let ((X167 - Bool (ite X107 X166 X165))) (let ((X168 - Bool (ite (= X111 @@ -1344,14 +1234,12 @@ X167))) (let ((X169 - Bool (ite X113 X168 X167))) (let ((X170 - Bool (ite (and (not @@ -1363,7 +1251,6 @@ X169))) (let ((X171 - Bool (ite (and (not @@ -1379,7 +1266,6 @@ X159))) (let ((X172 - Bool (ite (and (not X52) @@ -1404,7 +1290,6 @@ X150)) (let ((X173 - Real (ite top.impl.usr.zz162_a_0 top.usr.carSpeed_a_0 @@ -1425,19 +1310,16 @@ X173))) (let ((X174 - Bool (> top.impl.usr.desiredSpeed_a_0 0.0))) (let ((X175 - Bool (< top.impl.usr.desiredSpeed_a_0 0.0))) (let ((X176 - Bool (and X174 X175))) @@ -1448,7 +1330,6 @@ X176)) (let ((X177 - Int (ite (not (= X20 1)) @@ -1456,7 +1337,6 @@ X20))) (let ((X178 - Int (ite (and (not @@ -1472,7 +1352,6 @@ X100))) (let ((X179 - Int (ite (and (not X52) @@ -1487,7 +1366,6 @@ X51))) (let ((X180 - Int (ite top.impl.usr.SP3c_a_0 (ite @@ -1559,14 +1437,14 @@ ) Bool (let - ((X1 Real top.impl.usr.desiredSpeed_a_0)) + ((X1 top.impl.usr.desiredSpeed_a_0)) (let - ((X2 Bool (>= top.usr.carSpeed_a_1 15.0))) + ((X2 (>= top.usr.carSpeed_a_1 15.0))) (let - ((X3 Bool (= top.usr.carGear_a_1 3))) + ((X3 (= top.usr.carGear_a_1 3))) (let ((X4 - Bool (and + (and (and (and (and (not top.usr.cancel_a_1) (not top.usr.brakePedal_a_1)) @@ -1574,45 +1452,45 @@ X2) top.usr.validInputs_a_1))) (let - ((X5 Bool top.impl.usr.zz183_a_0)) + ((X5 top.impl.usr.zz183_a_0)) (and (= top.impl.usr.zz183_a_1 top.usr.decelSet_a_1) (let - ((X6 Bool (and (not X5) top.impl.usr.zz183_a_1))) + ((X6 (and (not X5) top.impl.usr.zz183_a_1))) (let - ((X7 Bool top.impl.usr.zz178_a_0)) + ((X7 top.impl.usr.zz178_a_0)) (and (= top.impl.usr.zz178_a_1 top.usr.accelResume_a_1) (let - ((X8 Bool (and (not X7) top.impl.usr.zz178_a_1))) + ((X8 (and (not X7) top.impl.usr.zz178_a_1))) (let - ((X9 Int top.impl.usr.zz176_a_0)) + ((X9 top.impl.usr.zz176_a_0)) (let - ((X10 Int (+ X9 1))) + ((X10 (+ X9 1))) (let - ((X11 Int (ite top.usr.decelSet_a_1 X10 0))) + ((X11 (ite top.usr.decelSet_a_1 X10 0))) (let - ((X12 Int (ite (>= 0 X11) 0 X11))) + ((X12 (ite (>= 0 X11) 0 X11))) (and (= top.impl.usr.zz176_a_1 (ite (<= X12 20) X12 20)) (let - ((X13 Bool (= top.impl.usr.zz176_a_1 20))) + ((X13 (= top.impl.usr.zz176_a_1 20))) (let - ((X14 Int top.impl.usr.zz170_a_0)) + ((X14 top.impl.usr.zz170_a_0)) (let - ((X15 Int (+ X14 1))) + ((X15 (+ X14 1))) (let - ((X16 Int (ite top.usr.accelResume_a_1 X15 0))) + ((X16 (ite top.usr.accelResume_a_1 X15 0))) (let - ((X17 Int (ite (>= 0 X16) 0 X16))) + ((X17 (ite (>= 0 X16) 0 X16))) (and (= top.impl.usr.zz170_a_1 (ite (<= X17 20) X17 20)) (let - ((X18 Bool (= top.impl.usr.zz170_a_1 20))) + ((X18 (= top.impl.usr.zz170_a_1 20))) (let - ((X19 Int top.impl.usr.mode_a_0)) + ((X19 top.impl.usr.mode_a_0)) (let - ((X20 Int top.impl.usr.zz161_a_0)) + ((X20 top.impl.usr.zz161_a_0)) (and (= top.impl.usr.zz155_a_1 @@ -1621,101 +1499,101 @@ false top.impl.usr.zz155_a_0)) (let - ((X21 Int (ite (not (= X20 1)) 1 X19))) + ((X21 (ite (not (= X20 1)) 1 X19))) (let ((X22 - Bool (and + (and (and (>= X20 2) (<= X20 8)) (not top.usr.onOff_a_1)))) (let - ((X23 Int (ite (= X20 4) 3 X20))) + ((X23 (ite (= X20 4) 3 X20))) (let ((X24 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) X23 X20))) (let - ((X25 Int (ite (= X24 5) 3 X24))) + ((X25 (ite (= X24 5) 3 X24))) (let ((X26 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) X25 X24))) (let - ((X27 Int (ite (= X26 6) 3 X26))) + ((X27 (ite (= X26 6) 3 X26))) (let ((X28 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) X27 X26))) (let ((X29 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) 2 X28))) (let ((X30 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) X29 X20))) (let - ((X31 Int (ite (= X30 7) 2 X30))) + ((X31 (ite (= X30 7) 2 X30))) (let ((X32 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) X31 X30))) (let - ((X33 Int (ite (= X32 8) 2 X32))) + ((X33 (ite (= X32 8) 2 X32))) (let ((X34 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) X33 X32))) (let ((X35 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) 0 X34))) (let - ((X36 Int (ite X22 X35 X20))) + ((X36 (ite X22 X35 X20))) (let ((X37 - Int (ite (not (= X36 1)) 1 X36))) + (ite (not (= X36 1)) 1 X36))) (let - ((X38 Int (ite X22 X37 X36))) + ((X38 (ite X22 X37 X36))) (let ((X39 - Bool (and + (and (= X38 1) (and top.usr.onOff_a_1 (not X22))))) (let ((X40 - Int (ite (= X38 1) 0 X38))) + (ite (= X38 1) 0 X38))) (let - ((X41 Int (ite X39 X40 X38))) + ((X41 (ite X39 X40 X38))) (let ((X42 - Int (ite + (ite (not (= X36 1)) 1 X19))) (let ((X43 - Int (ite X22 X42 X19))) + (ite X22 X42 X19))) (let ((X44 - Int (ite + (ite (not (and (>= X41 2) @@ -1724,7 +1602,7 @@ X41))) (let ((X45 - Bool (and + (and (not (and (>= X41 2) @@ -1734,46 +1612,46 @@ (<= X44 8))))) (let ((X46 - Int (ite + (ite (not (= X44 7)) 2 X43))) (let ((X47 - Int (ite X45 X46 X43))) + (ite X45 X46 X43))) (let ((X48 - Int (ite + (ite X39 X47 X43))) (let ((X49 - Int (ite + (ite (not (= X44 7)) 7 X44))) (let ((X50 - Int (ite + (ite X45 X49 X44))) (let ((X51 - Int (ite + (ite X39 X50 X41))) (let ((X52 - Bool (or + (or X39 X22))) (let ((X53 - Bool (and + (and (and (>= X51 @@ -1784,13 +1662,13 @@ (not X4)))) (let ((X54 - Int (ite + (ite (= X51 4) 3 X51))) (let ((X55 - Int (ite + (ite (and (>= X51 @@ -1802,14 +1680,12 @@ X51))) (let ((X56 - Int (ite (= X55 5) 3 X55))) (let ((X57 - Int (ite (and (>= @@ -1822,14 +1698,12 @@ X55))) (let ((X58 - Int (ite (= X57 6) 3 X57))) (let ((X59 - Int (ite (and (>= @@ -1842,7 +1716,6 @@ X57))) (let ((X60 - Int (ite (and (>= @@ -1855,14 +1728,12 @@ X59))) (let ((X61 - Int (ite X53 X60 X51))) (let ((X62 - Int (ite (not (= X61 8)) @@ -1870,14 +1741,12 @@ X61))) (let ((X63 - Int (ite X53 X62 X61))) (let ((X64 - Bool (and (= X63 8) (and @@ -1899,21 +1768,18 @@ (not X53))))) (let ((X65 - Int (ite (= X63 8) 2 X63))) (let ((X66 - Int (ite X64 X65 X63))) (let ((X67 - Int (ite (not (and @@ -1927,7 +1793,6 @@ X66))) (let ((X68 - Bool (and (not (and @@ -1946,7 +1811,6 @@ 6))))) (let ((X69 - Int (ite (not (= X67 4)) @@ -1954,27 +1818,23 @@ X67))) (let ((X70 - Int (ite X68 X69 X67))) (let ((X71 - Int (ite X64 X70 X66))) (let ((X72 - Bool (or X64 X53))) (let ((X73 - Bool (and (= X71 8) (and @@ -1996,21 +1856,18 @@ (not X72))))) (let ((X74 - Int (ite (= X71 8) 2 X71))) (let ((X75 - Int (ite X73 X74 X71))) (let ((X76 - Int (ite (not (and @@ -2024,7 +1881,6 @@ X75))) (let ((X77 - Bool (and (not (and @@ -2043,7 +1899,6 @@ 6))))) (let ((X78 - Int (ite (not (= X76 4)) @@ -2051,27 +1906,23 @@ X76))) (let ((X79 - Int (ite X77 X78 X76))) (let ((X80 - Int (ite X73 X79 X75))) (let ((X81 - Bool (or X73 X72))) (let ((X82 - Bool (and (= X80 7) (and @@ -2093,21 +1944,18 @@ (not X81))))) (let ((X83 - Int (ite (= X80 7) 2 X80))) (let ((X84 - Int (ite X82 X83 X80))) (let ((X85 - Int (ite (not (= X61 8)) @@ -2115,14 +1963,12 @@ X48))) (let ((X86 - Int (ite X53 X85 X48))) (let ((X87 - Int (ite (not (= X67 4)) @@ -2130,21 +1976,18 @@ X86))) (let ((X88 - Int (ite X68 X87 X86))) (let ((X89 - Int (ite X64 X88 X86))) (let ((X90 - Int (ite (not (= X76 4)) @@ -2152,21 +1995,18 @@ X89))) (let ((X91 - Int (ite X77 X90 X89))) (let ((X92 - Int (ite X73 X91 X89))) (let ((X93 - Int (ite (not (and @@ -2180,7 +2020,6 @@ X84))) (let ((X94 - Bool (and (not (and @@ -2199,7 +2038,6 @@ 6))))) (let ((X95 - Int (ite (not (= X93 4)) @@ -2207,21 +2045,18 @@ X92))) (let ((X96 - Int (ite X94 X95 X92))) (let ((X97 - Int (ite X82 X96 X92))) (let ((X98 - Int (ite (not (= X93 4)) @@ -2229,27 +2064,23 @@ X93))) (let ((X99 - Int (ite X94 X98 X93))) (let ((X100 - Int (ite X82 X99 X84))) (let ((X101 - Bool (or X82 X81))) (let ((X102 - Bool (and (= X100 @@ -2263,7 +2094,6 @@ 0))))) (let ((X103 - Int (ite (= X100 @@ -2272,14 +2102,12 @@ X100))) (let ((X104 - Int (ite X102 X103 X100))) (let ((X105 - Int (ite (not (= @@ -2289,14 +2117,12 @@ X104))) (let ((X106 - Int (ite X102 X105 X104))) (let ((X107 - Bool (and (= X106 @@ -2313,7 +2139,6 @@ X102))))) (let ((X108 - Int (ite (= X106 @@ -2322,14 +2147,12 @@ X106))) (let ((X109 - Int (ite X107 X108 X106))) (let ((X110 - Int (ite (not (= @@ -2339,20 +2162,17 @@ X109))) (let ((X111 - Int (ite X107 X110 X109))) (let ((X112 - Bool (or X107 X102))) (let ((X113 - Bool (and (= X111 @@ -2369,7 +2189,6 @@ X112))))) (let ((X114 - Int (ite (= X111 @@ -2378,14 +2197,12 @@ X111))) (let ((X115 - Int (ite X113 X114 X111))) (let ((X116 - Int (ite (not (= @@ -2395,20 +2212,17 @@ X115))) (let ((X117 - Int (ite X113 X116 X115))) (let ((X118 - Bool (or X113 X112))) (let ((X119 - Bool (and (= X117 @@ -2426,7 +2240,6 @@ X118))))) (let ((X120 - Int (ite (= X117 @@ -2435,14 +2248,12 @@ X117))) (let ((X121 - Int (ite X119 X120 X117))) (let ((X122 - Int (ite (not (= @@ -2452,20 +2263,17 @@ X121))) (let ((X123 - Int (ite X119 X122 X121))) (let ((X124 - Bool (or X119 X118))) (let ((X125 - Bool (and (= X123 @@ -2483,7 +2291,6 @@ X124))))) (let ((X126 - Int (ite (= X123 @@ -2492,14 +2299,12 @@ X123))) (let ((X127 - Int (ite X125 X126 X123))) (let ((X128 - Int (ite (not (= @@ -2509,14 +2314,12 @@ X97))) (let ((X129 - Int (ite X102 X128 X97))) (let ((X130 - Int (ite (not (= @@ -2526,14 +2329,12 @@ X129))) (let ((X131 - Int (ite X107 X130 X129))) (let ((X132 - Int (ite (not (= @@ -2543,14 +2344,12 @@ X131))) (let ((X133 - Int (ite X113 X132 X131))) (let ((X134 - Int (ite (not (= @@ -2560,14 +2359,12 @@ X133))) (let ((X135 - Int (ite X119 X134 X133))) (let ((X136 - Int (ite (not (= @@ -2577,14 +2374,12 @@ X135))) (let ((X137 - Int (ite X125 X136 X135))) (let ((X138 - Int (ite (and (not @@ -2600,7 +2395,6 @@ X97))) (let ((X139 - Int (ite (and (not X52) @@ -2628,39 +2422,34 @@ X19)) (let ((X140 - Bool (= top.impl.usr.mode_a_1 3))) (let ((X141 - Real (ite X140 X1 0.0))) (let ((X142 - Bool (= top.impl.usr.mode_a_1 4))) (let ((X143 - Real (ite X142 X1 X141))) (let ((X144 - Bool (= top.impl.usr.mode_a_1 5))) (let ((X145 - Bool X144)) + X144)) (and (= top.impl.usr.zz4_a_1 @@ -2683,24 +2472,22 @@ top.impl.usr.zz3_a_1 (- X1 - (/ 1 20)) + (/ 1.0 20.0)) top.impl.usr.zz5_a_0))) (let ((X146 - Real (ite X145 top.impl.usr.zz5_a_1 X143))) (let ((X147 - Bool (= top.impl.usr.mode_a_1 6))) (let ((X148 - Bool X147)) + X147)) (and (= top.impl.usr.zz1_a_1 @@ -2723,28 +2510,25 @@ top.impl.usr.zz0_a_1 (+ X1 - (/ 1 20)) + (/ 1.0 20.0)) top.impl.usr.zz2_a_0))) (let ((X149 - Real (ite X148 top.impl.usr.zz2_a_1 X146))) (let ((X150 - Bool top.impl.usr.zz162_a_0)) + top.impl.usr.zz162_a_0)) (let ((X151 - Bool (ite (= X20 4) false X150))) (let ((X152 - Bool (ite (and (>= @@ -2757,7 +2541,6 @@ X150))) (let ((X153 - Bool (ite (and (>= @@ -2770,21 +2553,18 @@ X150))) (let ((X154 - Bool (ite X22 X153 X150))) (let ((X155 - Bool (ite (= X51 4) false X154))) (let ((X156 - Bool (ite (and (>= @@ -2797,28 +2577,24 @@ X154))) (let ((X157 - Bool (ite X53 X156 X154))) (let ((X158 - Bool (ite X64 true X157))) (let ((X159 - Bool (ite X82 true X158))) (let ((X160 - Int (ite (not (= @@ -2828,20 +2604,17 @@ X127))) (let ((X161 - Int (ite X125 X160 X127))) (let ((X162 - Bool (or X125 X124))) (let ((X163 - Bool (ite (= X100 @@ -2850,21 +2623,18 @@ X159))) (let ((X164 - Bool (ite X102 X163 X159))) (let ((X165 - Bool (ite X102 true X164))) (let ((X166 - Bool (ite (= X106 @@ -2873,14 +2643,12 @@ X165))) (let ((X167 - Bool (ite X107 X166 X165))) (let ((X168 - Bool (ite (= X111 @@ -2889,14 +2657,12 @@ X167))) (let ((X169 - Bool (ite X113 X168 X167))) (let ((X170 - Bool (ite (and (not @@ -2908,7 +2674,6 @@ X169))) (let ((X171 - Bool (ite (and (not @@ -2924,7 +2689,6 @@ X159))) (let ((X172 - Bool (ite (and (not X52) @@ -2949,7 +2713,6 @@ X150)) (let ((X173 - Real (ite top.impl.usr.zz162_a_1 top.usr.carSpeed_a_1 @@ -2970,19 +2733,16 @@ X173))) (let ((X174 - Bool (> top.impl.usr.desiredSpeed_a_1 0.0))) (let ((X175 - Bool (< top.impl.usr.desiredSpeed_a_1 0.0))) (let ((X176 - Bool (and X174 X175))) @@ -2993,7 +2753,6 @@ X176)) (let ((X177 - Int (ite (not (= X20 1)) @@ -3001,7 +2760,6 @@ X20))) (let ((X178 - Int (ite (and (not @@ -3017,7 +2775,6 @@ X100))) (let ((X179 - Int (ite (and (not X52) @@ -3032,7 +2789,6 @@ X51))) (let ((X180 - Int (ite top.impl.usr.SP3c_a_1 (ite @@ -3080,33 +2836,6 @@ )) -(declare-primed-var top.usr.onOff Bool) -(declare-primed-var top.usr.decelSet Bool) -(declare-primed-var top.usr.accelResume Bool) -(declare-primed-var top.usr.cancel Bool) -(declare-primed-var top.usr.brakePedal Bool) -(declare-primed-var top.usr.carGear Int) -(declare-primed-var top.usr.carSpeed Real) -(declare-primed-var top.usr.validInputs Bool) -(declare-primed-var top.usr.OK Bool) -(declare-primed-var top.res.init_flag Bool) -(declare-primed-var top.impl.usr.mode Int) -(declare-primed-var top.impl.usr.desiredSpeed Real) -(declare-primed-var top.impl.usr.SP3c Bool) -(declare-primed-var top.impl.usr.zz0 Bool) -(declare-primed-var top.impl.usr.zz1 Bool) -(declare-primed-var top.impl.usr.zz2 Real) -(declare-primed-var top.impl.usr.zz3 Bool) -(declare-primed-var top.impl.usr.zz4 Bool) -(declare-primed-var top.impl.usr.zz5 Real) -(declare-primed-var top.impl.usr.zz155 Bool) -(declare-primed-var top.impl.usr.zz161 Int) -(declare-primed-var top.impl.usr.zz162 Bool) -(declare-primed-var top.impl.usr.zz170 Int) -(declare-primed-var top.impl.usr.zz176 Int) -(declare-primed-var top.impl.usr.zz178 Bool) -(declare-primed-var top.impl.usr.zz183 Bool) - (define-fun init ( (top.usr.onOff Bool) @@ -3138,156 +2867,156 @@ ) Bool (let - ((X1 Real 0.0)) + ((X1 0.0)) (let - ((X2 Bool (>= top.usr.carSpeed 15.0))) + ((X2 (>= top.usr.carSpeed 15.0))) (let - ((X3 Bool (= top.usr.carGear 3))) + ((X3 (= top.usr.carGear 3))) (let ((X4 - Bool (and + (and (and (and (and (not top.usr.cancel) (not top.usr.brakePedal)) X3) X2) top.usr.validInputs))) (let - ((X5 Bool true)) + ((X5 true)) (and (= top.impl.usr.zz183 top.usr.decelSet) (let - ((X6 Bool (and (not X5) top.impl.usr.zz183))) + ((X6 (and (not X5) top.impl.usr.zz183))) (let - ((X7 Bool true)) + ((X7 true)) (and (= top.impl.usr.zz178 top.usr.accelResume) (let - ((X8 Bool (and (not X7) top.impl.usr.zz178))) + ((X8 (and (not X7) top.impl.usr.zz178))) (let - ((X9 Int 0)) + ((X9 0)) (let - ((X10 Int (+ X9 1))) + ((X10 (+ X9 1))) (let - ((X11 Int (ite top.usr.decelSet X10 0))) + ((X11 (ite top.usr.decelSet X10 0))) (let - ((X12 Int (ite (>= 0 X11) 0 X11))) + ((X12 (ite (>= 0 X11) 0 X11))) (and (= top.impl.usr.zz176 (ite (<= X12 20) X12 20)) (let - ((X13 Bool (= top.impl.usr.zz176 20))) + ((X13 (= top.impl.usr.zz176 20))) (let - ((X14 Int 0)) + ((X14 0)) (let - ((X15 Int (+ X14 1))) + ((X15 (+ X14 1))) (let - ((X16 Int (ite top.usr.accelResume X15 0))) + ((X16 (ite top.usr.accelResume X15 0))) (let - ((X17 Int (ite (>= 0 X16) 0 X16))) + ((X17 (ite (>= 0 X16) 0 X16))) (and (= top.impl.usr.zz170 (ite (<= X17 20) X17 20)) (let - ((X18 Bool (= top.impl.usr.zz170 20))) + ((X18 (= top.impl.usr.zz170 20))) (let - ((X19 Int 0)) + ((X19 0)) (let - ((X20 Int 0)) + ((X20 0)) (and (= top.impl.usr.zz155 true) (let - ((X21 Int (ite (not (= X20 1)) 1 X19))) + ((X21 (ite (not (= X20 1)) 1 X19))) (let ((X22 - Bool (and + (and (and (>= X20 2) (<= X20 8)) (not top.usr.onOff)))) (let - ((X23 Int (ite (= X20 4) 3 X20))) + ((X23 (ite (= X20 4) 3 X20))) (let ((X24 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) X23 X20))) (let - ((X25 Int (ite (= X24 5) 3 X24))) + ((X25 (ite (= X24 5) 3 X24))) (let ((X26 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) X25 X24))) (let - ((X27 Int (ite (= X26 6) 3 X26))) + ((X27 (ite (= X26 6) 3 X26))) (let ((X28 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) X27 X26))) (let ((X29 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) 2 X28))) (let ((X30 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) X29 X20))) (let - ((X31 Int (ite (= X30 7) 2 X30))) + ((X31 (ite (= X30 7) 2 X30))) (let ((X32 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) X31 X30))) (let - ((X33 Int (ite (= X32 8) 2 X32))) + ((X33 (ite (= X32 8) 2 X32))) (let ((X34 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) X33 X32))) (let ((X35 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) 0 X34))) (let - ((X36 Int (ite X22 X35 X20))) + ((X36 (ite X22 X35 X20))) (let ((X37 - Int (ite (not (= X36 1)) 1 X36))) + (ite (not (= X36 1)) 1 X36))) (let - ((X38 Int (ite X22 X37 X36))) + ((X38 (ite X22 X37 X36))) (let ((X39 - Bool (and + (and (= X38 1) (and top.usr.onOff (not X22))))) (let ((X40 - Int (ite (= X38 1) 0 X38))) + (ite (= X38 1) 0 X38))) (let - ((X41 Int (ite X39 X40 X38))) + ((X41 (ite X39 X40 X38))) (let ((X42 - Int (ite + (ite (not (= X36 1)) 1 X19))) (let ((X43 - Int (ite X22 X42 X19))) + (ite X22 X42 X19))) (let ((X44 - Int (ite + (ite (not (and (>= X41 2) @@ -3296,7 +3025,7 @@ X41))) (let ((X45 - Bool (and + (and (not (and (>= X41 2) @@ -3306,46 +3035,46 @@ (<= X44 8))))) (let ((X46 - Int (ite + (ite (not (= X44 7)) 2 X43))) (let ((X47 - Int (ite X45 X46 X43))) + (ite X45 X46 X43))) (let ((X48 - Int (ite + (ite X39 X47 X43))) (let ((X49 - Int (ite + (ite (not (= X44 7)) 7 X44))) (let ((X50 - Int (ite + (ite X45 X49 X44))) (let ((X51 - Int (ite + (ite X39 X50 X41))) (let ((X52 - Bool (or + (or X39 X22))) (let ((X53 - Bool (and + (and (and (>= X51 @@ -3356,13 +3085,13 @@ (not X4)))) (let ((X54 - Int (ite + (ite (= X51 4) 3 X51))) (let ((X55 - Int (ite + (ite (and (>= X51 @@ -3374,14 +3103,12 @@ X51))) (let ((X56 - Int (ite (= X55 5) 3 X55))) (let ((X57 - Int (ite (and (>= @@ -3394,14 +3121,12 @@ X55))) (let ((X58 - Int (ite (= X57 6) 3 X57))) (let ((X59 - Int (ite (and (>= @@ -3414,7 +3139,6 @@ X57))) (let ((X60 - Int (ite (and (>= @@ -3427,14 +3151,12 @@ X59))) (let ((X61 - Int (ite X53 X60 X51))) (let ((X62 - Int (ite (not (= X61 8)) @@ -3442,14 +3164,12 @@ X61))) (let ((X63 - Int (ite X53 X62 X61))) (let ((X64 - Bool (and (= X63 8) (and @@ -3471,21 +3191,18 @@ (not X53))))) (let ((X65 - Int (ite (= X63 8) 2 X63))) (let ((X66 - Int (ite X64 X65 X63))) (let ((X67 - Int (ite (not (and @@ -3499,7 +3216,6 @@ X66))) (let ((X68 - Bool (and (not (and @@ -3518,7 +3234,6 @@ 6))))) (let ((X69 - Int (ite (not (= X67 4)) @@ -3526,27 +3241,23 @@ X67))) (let ((X70 - Int (ite X68 X69 X67))) (let ((X71 - Int (ite X64 X70 X66))) (let ((X72 - Bool (or X64 X53))) (let ((X73 - Bool (and (= X71 8) (and @@ -3568,21 +3279,18 @@ (not X72))))) (let ((X74 - Int (ite (= X71 8) 2 X71))) (let ((X75 - Int (ite X73 X74 X71))) (let ((X76 - Int (ite (not (and @@ -3596,7 +3304,6 @@ X75))) (let ((X77 - Bool (and (not (and @@ -3615,7 +3322,6 @@ 6))))) (let ((X78 - Int (ite (not (= X76 4)) @@ -3623,27 +3329,23 @@ X76))) (let ((X79 - Int (ite X77 X78 X76))) (let ((X80 - Int (ite X73 X79 X75))) (let ((X81 - Bool (or X73 X72))) (let ((X82 - Bool (and (= X80 7) (and @@ -3665,21 +3367,18 @@ (not X81))))) (let ((X83 - Int (ite (= X80 7) 2 X80))) (let ((X84 - Int (ite X82 X83 X80))) (let ((X85 - Int (ite (not (= X61 8)) @@ -3687,14 +3386,12 @@ X48))) (let ((X86 - Int (ite X53 X85 X48))) (let ((X87 - Int (ite (not (= X67 4)) @@ -3702,21 +3399,18 @@ X86))) (let ((X88 - Int (ite X68 X87 X86))) (let ((X89 - Int (ite X64 X88 X86))) (let ((X90 - Int (ite (not (= X76 4)) @@ -3724,21 +3418,18 @@ X89))) (let ((X91 - Int (ite X77 X90 X89))) (let ((X92 - Int (ite X73 X91 X89))) (let ((X93 - Int (ite (not (and @@ -3752,7 +3443,6 @@ X84))) (let ((X94 - Bool (and (not (and @@ -3771,7 +3461,6 @@ 6))))) (let ((X95 - Int (ite (not (= X93 4)) @@ -3779,21 +3468,18 @@ X92))) (let ((X96 - Int (ite X94 X95 X92))) (let ((X97 - Int (ite X82 X96 X92))) (let ((X98 - Int (ite (not (= X93 4)) @@ -3801,27 +3487,23 @@ X93))) (let ((X99 - Int (ite X94 X98 X93))) (let ((X100 - Int (ite X82 X99 X84))) (let ((X101 - Bool (or X82 X81))) (let ((X102 - Bool (and (= X100 @@ -3835,7 +3517,6 @@ 0))))) (let ((X103 - Int (ite (= X100 @@ -3844,14 +3525,12 @@ X100))) (let ((X104 - Int (ite X102 X103 X100))) (let ((X105 - Int (ite (not (= @@ -3861,14 +3540,12 @@ X104))) (let ((X106 - Int (ite X102 X105 X104))) (let ((X107 - Bool (and (= X106 @@ -3885,7 +3562,6 @@ X102))))) (let ((X108 - Int (ite (= X106 @@ -3894,14 +3570,12 @@ X106))) (let ((X109 - Int (ite X107 X108 X106))) (let ((X110 - Int (ite (not (= @@ -3911,20 +3585,17 @@ X109))) (let ((X111 - Int (ite X107 X110 X109))) (let ((X112 - Bool (or X107 X102))) (let ((X113 - Bool (and (= X111 @@ -3941,7 +3612,6 @@ X112))))) (let ((X114 - Int (ite (= X111 @@ -3950,14 +3620,12 @@ X111))) (let ((X115 - Int (ite X113 X114 X111))) (let ((X116 - Int (ite (not (= @@ -3967,20 +3635,17 @@ X115))) (let ((X117 - Int (ite X113 X116 X115))) (let ((X118 - Bool (or X113 X112))) (let ((X119 - Bool (and (= X117 @@ -3998,7 +3663,6 @@ X118))))) (let ((X120 - Int (ite (= X117 @@ -4007,14 +3671,12 @@ X117))) (let ((X121 - Int (ite X119 X120 X117))) (let ((X122 - Int (ite (not (= @@ -4024,20 +3686,17 @@ X121))) (let ((X123 - Int (ite X119 X122 X121))) (let ((X124 - Bool (or X119 X118))) (let ((X125 - Bool (and (= X123 @@ -4055,7 +3714,6 @@ X124))))) (let ((X126 - Int (ite (= X123 @@ -4064,14 +3722,12 @@ X123))) (let ((X127 - Int (ite X125 X126 X123))) (let ((X128 - Int (ite (not (= @@ -4081,14 +3737,12 @@ X97))) (let ((X129 - Int (ite X102 X128 X97))) (let ((X130 - Int (ite (not (= @@ -4098,14 +3752,12 @@ X129))) (let ((X131 - Int (ite X107 X130 X129))) (let ((X132 - Int (ite (not (= @@ -4115,14 +3767,12 @@ X131))) (let ((X133 - Int (ite X113 X132 X131))) (let ((X134 - Int (ite (not (= @@ -4132,14 +3782,12 @@ X133))) (let ((X135 - Int (ite X119 X134 X133))) (let ((X136 - Int (ite (not (= @@ -4149,14 +3797,12 @@ X135))) (let ((X137 - Int (ite X125 X136 X135))) (let ((X138 - Int (ite (and (not @@ -4172,7 +3818,6 @@ X97))) (let ((X139 - Int (ite (and (not X52) @@ -4200,39 +3845,34 @@ X19)) (let ((X140 - Bool (= top.impl.usr.mode 3))) (let ((X141 - Real (ite X140 X1 0.0))) (let ((X142 - Bool (= top.impl.usr.mode 4))) (let ((X143 - Real (ite X142 X1 X141))) (let ((X144 - Bool (= top.impl.usr.mode 5))) (let ((X145 - Bool X144)) + X144)) (and (= top.impl.usr.zz4 @@ -4250,23 +3890,21 @@ 0.0 (- X1 - (/ 1 20)))) + (/ 1.0 20.0)))) (let ((X146 - Real (ite X145 top.impl.usr.zz5 X143))) (let ((X147 - Bool (= top.impl.usr.mode 6))) (let ((X148 - Bool X147)) + X147)) (and (= top.impl.usr.zz1 @@ -4284,27 +3922,24 @@ 0.0 (+ X1 - (/ 1 20)))) + (/ 1.0 20.0)))) (let ((X149 - Real (ite X148 top.impl.usr.zz2 X146))) (let ((X150 - Bool false)) + false)) (let ((X151 - Bool (ite (= X20 4) false X150))) (let ((X152 - Bool (ite (and (>= @@ -4317,7 +3952,6 @@ X150))) (let ((X153 - Bool (ite (and (>= @@ -4330,21 +3964,18 @@ X150))) (let ((X154 - Bool (ite X22 X153 X150))) (let ((X155 - Bool (ite (= X51 4) false X154))) (let ((X156 - Bool (ite (and (>= @@ -4357,28 +3988,24 @@ X154))) (let ((X157 - Bool (ite X53 X156 X154))) (let ((X158 - Bool (ite X64 true X157))) (let ((X159 - Bool (ite X82 true X158))) (let ((X160 - Int (ite (not (= @@ -4388,20 +4015,17 @@ X127))) (let ((X161 - Int (ite X125 X160 X127))) (let ((X162 - Bool (or X125 X124))) (let ((X163 - Bool (ite (= X100 @@ -4410,21 +4034,18 @@ X159))) (let ((X164 - Bool (ite X102 X163 X159))) (let ((X165 - Bool (ite X102 true X164))) (let ((X166 - Bool (ite (= X106 @@ -4433,14 +4054,12 @@ X165))) (let ((X167 - Bool (ite X107 X166 X165))) (let ((X168 - Bool (ite (= X111 @@ -4449,14 +4068,12 @@ X167))) (let ((X169 - Bool (ite X113 X168 X167))) (let ((X170 - Bool (ite (and (not @@ -4468,7 +4085,6 @@ X169))) (let ((X171 - Bool (ite (and (not @@ -4484,7 +4100,6 @@ X159))) (let ((X172 - Bool (ite (and (not X52) @@ -4509,7 +4124,6 @@ X150)) (let ((X173 - Real (ite top.impl.usr.zz162 top.usr.carSpeed @@ -4530,19 +4144,16 @@ X173))) (let ((X174 - Bool (> top.impl.usr.desiredSpeed 0.0))) (let ((X175 - Bool (< top.impl.usr.desiredSpeed 0.0))) (let ((X176 - Bool (and X174 X175))) @@ -4553,7 +4164,6 @@ X176)) (let ((X177 - Int (ite (not (= X20 1)) @@ -4561,7 +4171,6 @@ X20))) (let ((X178 - Int (ite (and (not @@ -4577,7 +4186,6 @@ X100))) (let ((X179 - Int (ite (and (not X52) @@ -4592,7 +4200,6 @@ X51))) (let ((X180 - Int (ite top.impl.usr.SP3c (ite @@ -4669,158 +4276,158 @@ ) Bool (let - ((X1 Real top.impl.usr.desiredSpeed)) + ((X1 top.impl.usr.desiredSpeed)) (let - ((X2 Bool (>= top.usr.carSpeed! 15.0))) + ((X2 (>= top.usr.carSpeed! 15.0))) (let - ((X3 Bool (= top.usr.carGear! 3))) + ((X3 (= top.usr.carGear! 3))) (let ((X4 - Bool (and + (and (and (and (and (not top.usr.cancel!) (not top.usr.brakePedal!)) X3) X2) top.usr.validInputs!))) (let - ((X5 Bool top.impl.usr.zz183)) + ((X5 top.impl.usr.zz183)) (and (= top.impl.usr.zz183! top.usr.decelSet!) (let - ((X6 Bool (and (not X5) top.impl.usr.zz183!))) + ((X6 (and (not X5) top.impl.usr.zz183!))) (let - ((X7 Bool top.impl.usr.zz178)) + ((X7 top.impl.usr.zz178)) (and (= top.impl.usr.zz178! top.usr.accelResume!) (let - ((X8 Bool (and (not X7) top.impl.usr.zz178!))) + ((X8 (and (not X7) top.impl.usr.zz178!))) (let - ((X9 Int top.impl.usr.zz176)) + ((X9 top.impl.usr.zz176)) (let - ((X10 Int (+ X9 1))) + ((X10 (+ X9 1))) (let - ((X11 Int (ite top.usr.decelSet! X10 0))) + ((X11 (ite top.usr.decelSet! X10 0))) (let - ((X12 Int (ite (>= 0 X11) 0 X11))) + ((X12 (ite (>= 0 X11) 0 X11))) (and (= top.impl.usr.zz176! (ite (<= X12 20) X12 20)) (let - ((X13 Bool (= top.impl.usr.zz176! 20))) + ((X13 (= top.impl.usr.zz176! 20))) (let - ((X14 Int top.impl.usr.zz170)) + ((X14 top.impl.usr.zz170)) (let - ((X15 Int (+ X14 1))) + ((X15 (+ X14 1))) (let - ((X16 Int (ite top.usr.accelResume! X15 0))) + ((X16 (ite top.usr.accelResume! X15 0))) (let - ((X17 Int (ite (>= 0 X16) 0 X16))) + ((X17 (ite (>= 0 X16) 0 X16))) (and (= top.impl.usr.zz170! (ite (<= X17 20) X17 20)) (let - ((X18 Bool (= top.impl.usr.zz170! 20))) + ((X18 (= top.impl.usr.zz170! 20))) (let - ((X19 Int top.impl.usr.mode)) + ((X19 top.impl.usr.mode)) (let - ((X20 Int top.impl.usr.zz161)) + ((X20 top.impl.usr.zz161)) (and (= top.impl.usr.zz155! (ite top.impl.usr.SP3c false top.impl.usr.zz155)) (let - ((X21 Int (ite (not (= X20 1)) 1 X19))) + ((X21 (ite (not (= X20 1)) 1 X19))) (let ((X22 - Bool (and + (and (and (>= X20 2) (<= X20 8)) (not top.usr.onOff!)))) (let - ((X23 Int (ite (= X20 4) 3 X20))) + ((X23 (ite (= X20 4) 3 X20))) (let ((X24 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) X23 X20))) (let - ((X25 Int (ite (= X24 5) 3 X24))) + ((X25 (ite (= X24 5) 3 X24))) (let ((X26 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) X25 X24))) (let - ((X27 Int (ite (= X26 6) 3 X26))) + ((X27 (ite (= X26 6) 3 X26))) (let ((X28 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) X27 X26))) (let ((X29 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) 2 X28))) (let ((X30 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) X29 X20))) (let - ((X31 Int (ite (= X30 7) 2 X30))) + ((X31 (ite (= X30 7) 2 X30))) (let ((X32 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) X31 X30))) (let - ((X33 Int (ite (= X32 8) 2 X32))) + ((X33 (ite (= X32 8) 2 X32))) (let ((X34 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) X33 X32))) (let ((X35 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) 0 X34))) (let - ((X36 Int (ite X22 X35 X20))) + ((X36 (ite X22 X35 X20))) (let ((X37 - Int (ite (not (= X36 1)) 1 X36))) + (ite (not (= X36 1)) 1 X36))) (let - ((X38 Int (ite X22 X37 X36))) + ((X38 (ite X22 X37 X36))) (let ((X39 - Bool (and + (and (= X38 1) (and top.usr.onOff! (not X22))))) (let ((X40 - Int (ite (= X38 1) 0 X38))) + (ite (= X38 1) 0 X38))) (let - ((X41 Int (ite X39 X40 X38))) + ((X41 (ite X39 X40 X38))) (let ((X42 - Int (ite + (ite (not (= X36 1)) 1 X19))) (let ((X43 - Int (ite X22 X42 X19))) + (ite X22 X42 X19))) (let ((X44 - Int (ite + (ite (not (and (>= X41 2) @@ -4829,7 +4436,7 @@ X41))) (let ((X45 - Bool (and + (and (not (and (>= X41 2) @@ -4839,46 +4446,46 @@ (<= X44 8))))) (let ((X46 - Int (ite + (ite (not (= X44 7)) 2 X43))) (let ((X47 - Int (ite X45 X46 X43))) + (ite X45 X46 X43))) (let ((X48 - Int (ite + (ite X39 X47 X43))) (let ((X49 - Int (ite + (ite (not (= X44 7)) 7 X44))) (let ((X50 - Int (ite + (ite X45 X49 X44))) (let ((X51 - Int (ite + (ite X39 X50 X41))) (let ((X52 - Bool (or + (or X39 X22))) (let ((X53 - Bool (and + (and (and (>= X51 @@ -4889,13 +4496,13 @@ (not X4)))) (let ((X54 - Int (ite + (ite (= X51 4) 3 X51))) (let ((X55 - Int (ite + (ite (and (>= X51 @@ -4907,14 +4514,12 @@ X51))) (let ((X56 - Int (ite (= X55 5) 3 X55))) (let ((X57 - Int (ite (and (>= @@ -4927,14 +4532,12 @@ X55))) (let ((X58 - Int (ite (= X57 6) 3 X57))) (let ((X59 - Int (ite (and (>= @@ -4947,7 +4550,6 @@ X57))) (let ((X60 - Int (ite (and (>= @@ -4960,14 +4562,12 @@ X59))) (let ((X61 - Int (ite X53 X60 X51))) (let ((X62 - Int (ite (not (= X61 8)) @@ -4975,14 +4575,12 @@ X61))) (let ((X63 - Int (ite X53 X62 X61))) (let ((X64 - Bool (and (= X63 8) (and @@ -5004,21 +4602,18 @@ (not X53))))) (let ((X65 - Int (ite (= X63 8) 2 X63))) (let ((X66 - Int (ite X64 X65 X63))) (let ((X67 - Int (ite (not (and @@ -5032,7 +4627,6 @@ X66))) (let ((X68 - Bool (and (not (and @@ -5051,7 +4645,6 @@ 6))))) (let ((X69 - Int (ite (not (= X67 4)) @@ -5059,27 +4652,23 @@ X67))) (let ((X70 - Int (ite X68 X69 X67))) (let ((X71 - Int (ite X64 X70 X66))) (let ((X72 - Bool (or X64 X53))) (let ((X73 - Bool (and (= X71 8) (and @@ -5101,21 +4690,18 @@ (not X72))))) (let ((X74 - Int (ite (= X71 8) 2 X71))) (let ((X75 - Int (ite X73 X74 X71))) (let ((X76 - Int (ite (not (and @@ -5129,7 +4715,6 @@ X75))) (let ((X77 - Bool (and (not (and @@ -5148,7 +4733,6 @@ 6))))) (let ((X78 - Int (ite (not (= X76 4)) @@ -5156,27 +4740,23 @@ X76))) (let ((X79 - Int (ite X77 X78 X76))) (let ((X80 - Int (ite X73 X79 X75))) (let ((X81 - Bool (or X73 X72))) (let ((X82 - Bool (and (= X80 7) (and @@ -5198,21 +4778,18 @@ (not X81))))) (let ((X83 - Int (ite (= X80 7) 2 X80))) (let ((X84 - Int (ite X82 X83 X80))) (let ((X85 - Int (ite (not (= X61 8)) @@ -5220,14 +4797,12 @@ X48))) (let ((X86 - Int (ite X53 X85 X48))) (let ((X87 - Int (ite (not (= X67 4)) @@ -5235,21 +4810,18 @@ X86))) (let ((X88 - Int (ite X68 X87 X86))) (let ((X89 - Int (ite X64 X88 X86))) (let ((X90 - Int (ite (not (= X76 4)) @@ -5257,21 +4829,18 @@ X89))) (let ((X91 - Int (ite X77 X90 X89))) (let ((X92 - Int (ite X73 X91 X89))) (let ((X93 - Int (ite (not (and @@ -5285,7 +4854,6 @@ X84))) (let ((X94 - Bool (and (not (and @@ -5304,7 +4872,6 @@ 6))))) (let ((X95 - Int (ite (not (= X93 4)) @@ -5312,21 +4879,18 @@ X92))) (let ((X96 - Int (ite X94 X95 X92))) (let ((X97 - Int (ite X82 X96 X92))) (let ((X98 - Int (ite (not (= X93 4)) @@ -5334,27 +4898,23 @@ X93))) (let ((X99 - Int (ite X94 X98 X93))) (let ((X100 - Int (ite X82 X99 X84))) (let ((X101 - Bool (or X82 X81))) (let ((X102 - Bool (and (= X100 @@ -5368,7 +4928,6 @@ 0))))) (let ((X103 - Int (ite (= X100 @@ -5377,14 +4936,12 @@ X100))) (let ((X104 - Int (ite X102 X103 X100))) (let ((X105 - Int (ite (not (= @@ -5394,14 +4951,12 @@ X104))) (let ((X106 - Int (ite X102 X105 X104))) (let ((X107 - Bool (and (= X106 @@ -5418,7 +4973,6 @@ X102))))) (let ((X108 - Int (ite (= X106 @@ -5427,14 +4981,12 @@ X106))) (let ((X109 - Int (ite X107 X108 X106))) (let ((X110 - Int (ite (not (= @@ -5444,20 +4996,17 @@ X109))) (let ((X111 - Int (ite X107 X110 X109))) (let ((X112 - Bool (or X107 X102))) (let ((X113 - Bool (and (= X111 @@ -5474,7 +5023,6 @@ X112))))) (let ((X114 - Int (ite (= X111 @@ -5483,14 +5031,12 @@ X111))) (let ((X115 - Int (ite X113 X114 X111))) (let ((X116 - Int (ite (not (= @@ -5500,20 +5046,17 @@ X115))) (let ((X117 - Int (ite X113 X116 X115))) (let ((X118 - Bool (or X113 X112))) (let ((X119 - Bool (and (= X117 @@ -5531,7 +5074,6 @@ X118))))) (let ((X120 - Int (ite (= X117 @@ -5540,14 +5082,12 @@ X117))) (let ((X121 - Int (ite X119 X120 X117))) (let ((X122 - Int (ite (not (= @@ -5557,20 +5097,17 @@ X121))) (let ((X123 - Int (ite X119 X122 X121))) (let ((X124 - Bool (or X119 X118))) (let ((X125 - Bool (and (= X123 @@ -5588,7 +5125,6 @@ X124))))) (let ((X126 - Int (ite (= X123 @@ -5597,14 +5133,12 @@ X123))) (let ((X127 - Int (ite X125 X126 X123))) (let ((X128 - Int (ite (not (= @@ -5614,14 +5148,12 @@ X97))) (let ((X129 - Int (ite X102 X128 X97))) (let ((X130 - Int (ite (not (= @@ -5631,14 +5163,12 @@ X129))) (let ((X131 - Int (ite X107 X130 X129))) (let ((X132 - Int (ite (not (= @@ -5648,14 +5178,12 @@ X131))) (let ((X133 - Int (ite X113 X132 X131))) (let ((X134 - Int (ite (not (= @@ -5665,14 +5193,12 @@ X133))) (let ((X135 - Int (ite X119 X134 X133))) (let ((X136 - Int (ite (not (= @@ -5682,14 +5208,12 @@ X135))) (let ((X137 - Int (ite X125 X136 X135))) (let ((X138 - Int (ite (and (not @@ -5705,7 +5229,6 @@ X97))) (let ((X139 - Int (ite (and (not X52) @@ -5733,39 +5256,34 @@ X19)) (let ((X140 - Bool (= top.impl.usr.mode! 3))) (let ((X141 - Real (ite X140 X1 0.0))) (let ((X142 - Bool (= top.impl.usr.mode! 4))) (let ((X143 - Real (ite X142 X1 X141))) (let ((X144 - Bool (= top.impl.usr.mode! 5))) (let ((X145 - Bool X144)) + X144)) (and (= top.impl.usr.zz4! @@ -5788,24 +5306,22 @@ top.impl.usr.zz3! (- X1 - (/ 1 20)) + (/ 1.0 20.0)) top.impl.usr.zz5))) (let ((X146 - Real (ite X145 top.impl.usr.zz5! X143))) (let ((X147 - Bool (= top.impl.usr.mode! 6))) (let ((X148 - Bool X147)) + X147)) (and (= top.impl.usr.zz1! @@ -5828,28 +5344,25 @@ top.impl.usr.zz0! (+ X1 - (/ 1 20)) + (/ 1.0 20.0)) top.impl.usr.zz2))) (let ((X149 - Real (ite X148 top.impl.usr.zz2! X146))) (let ((X150 - Bool top.impl.usr.zz162)) + top.impl.usr.zz162)) (let ((X151 - Bool (ite (= X20 4) false X150))) (let ((X152 - Bool (ite (and (>= @@ -5862,7 +5375,6 @@ X150))) (let ((X153 - Bool (ite (and (>= @@ -5875,21 +5387,18 @@ X150))) (let ((X154 - Bool (ite X22 X153 X150))) (let ((X155 - Bool (ite (= X51 4) false X154))) (let ((X156 - Bool (ite (and (>= @@ -5902,28 +5411,24 @@ X154))) (let ((X157 - Bool (ite X53 X156 X154))) (let ((X158 - Bool (ite X64 true X157))) (let ((X159 - Bool (ite X82 true X158))) (let ((X160 - Int (ite (not (= @@ -5933,20 +5438,17 @@ X127))) (let ((X161 - Int (ite X125 X160 X127))) (let ((X162 - Bool (or X125 X124))) (let ((X163 - Bool (ite (= X100 @@ -5955,21 +5457,18 @@ X159))) (let ((X164 - Bool (ite X102 X163 X159))) (let ((X165 - Bool (ite X102 true X164))) (let ((X166 - Bool (ite (= X106 @@ -5978,14 +5477,12 @@ X165))) (let ((X167 - Bool (ite X107 X166 X165))) (let ((X168 - Bool (ite (= X111 @@ -5994,14 +5491,12 @@ X167))) (let ((X169 - Bool (ite X113 X168 X167))) (let ((X170 - Bool (ite (and (not @@ -6013,7 +5508,6 @@ X169))) (let ((X171 - Bool (ite (and (not @@ -6029,7 +5523,6 @@ X159))) (let ((X172 - Bool (ite (and (not X52) @@ -6054,7 +5547,6 @@ X150)) (let ((X173 - Real (ite top.impl.usr.zz162! top.usr.carSpeed! @@ -6075,19 +5567,16 @@ X173))) (let ((X174 - Bool (> top.impl.usr.desiredSpeed! 0.0))) (let ((X175 - Bool (< top.impl.usr.desiredSpeed! 0.0))) (let ((X176 - Bool (and X174 X175))) @@ -6098,7 +5587,6 @@ X176)) (let ((X177 - Int (ite (not (= X20 1)) @@ -6106,7 +5594,6 @@ X20))) (let ((X178 - Int (ite (and (not @@ -6122,7 +5609,6 @@ X100))) (let ((X179 - Int (ite (and (not X52) @@ -6137,7 +5623,6 @@ X51))) (let ((X180 - Int (ite top.impl.usr.SP3c! (ite diff --git a/lib-nonconforming/Inv_Track/andrew_lustre/ccp15.lus.sl b/lib/Inv_Track/andrew_lustre/ccp15.lus.sl similarity index 88% rename from lib-nonconforming/Inv_Track/andrew_lustre/ccp15.lus.sl rename to lib/Inv_Track/andrew_lustre/ccp15.lus.sl index 8f095191..6d8e7cdc 100644 --- a/lib-nonconforming/Inv_Track/andrew_lustre/ccp15.lus.sl +++ b/lib/Inv_Track/andrew_lustre/ccp15.lus.sl @@ -31,14 +31,14 @@ ) Bool (let - ((X1 Real 0.0)) + ((X1 0.0)) (let - ((X2 Bool (>= top.usr.carSpeed_a_0 15.0))) + ((X2 (>= top.usr.carSpeed_a_0 15.0))) (let - ((X3 Bool (= top.usr.carGear_a_0 3))) + ((X3 (= top.usr.carGear_a_0 3))) (let ((X4 - Bool (and + (and (and (and (and (not top.usr.cancel_a_0) (not top.usr.brakePedal_a_0)) @@ -46,143 +46,143 @@ X2) top.usr.validInputs_a_0))) (let - ((X5 Bool true)) + ((X5 true)) (and (= top.impl.usr.zz183_a_0 top.usr.decelSet_a_0) (let - ((X6 Bool (and (not X5) top.impl.usr.zz183_a_0))) + ((X6 (and (not X5) top.impl.usr.zz183_a_0))) (let - ((X7 Bool true)) + ((X7 true)) (and (= top.impl.usr.zz178_a_0 top.usr.accelResume_a_0) (let - ((X8 Bool (and (not X7) top.impl.usr.zz178_a_0))) + ((X8 (and (not X7) top.impl.usr.zz178_a_0))) (let - ((X9 Int 0)) + ((X9 0)) (let - ((X10 Int (+ X9 1))) + ((X10 (+ X9 1))) (let - ((X11 Int (ite top.usr.decelSet_a_0 X10 0))) + ((X11 (ite top.usr.decelSet_a_0 X10 0))) (let - ((X12 Int (ite (>= 0 X11) 0 X11))) + ((X12 (ite (>= 0 X11) 0 X11))) (and (= top.impl.usr.zz176_a_0 (ite (<= X12 20) X12 20)) (let - ((X13 Bool (= top.impl.usr.zz176_a_0 20))) + ((X13 (= top.impl.usr.zz176_a_0 20))) (let - ((X14 Int 0)) + ((X14 0)) (let - ((X15 Int (+ X14 1))) + ((X15 (+ X14 1))) (let - ((X16 Int (ite top.usr.accelResume_a_0 X15 0))) + ((X16 (ite top.usr.accelResume_a_0 X15 0))) (let - ((X17 Int (ite (>= 0 X16) 0 X16))) + ((X17 (ite (>= 0 X16) 0 X16))) (and (= top.impl.usr.zz170_a_0 (ite (<= X17 20) X17 20)) (let - ((X18 Bool (= top.impl.usr.zz170_a_0 20))) + ((X18 (= top.impl.usr.zz170_a_0 20))) (let - ((X19 Int 0)) + ((X19 0)) (let - ((X20 Int 0)) + ((X20 0)) (and (= top.impl.usr.zz155_a_0 true) (let - ((X21 Int (ite (not (= X20 1)) 1 X19))) + ((X21 (ite (not (= X20 1)) 1 X19))) (let ((X22 - Bool (and + (and (and (>= X20 2) (<= X20 8)) (not top.usr.onOff_a_0)))) (let - ((X23 Int (ite (= X20 4) 3 X20))) + ((X23 (ite (= X20 4) 3 X20))) (let ((X24 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) X23 X20))) (let - ((X25 Int (ite (= X24 5) 3 X24))) + ((X25 (ite (= X24 5) 3 X24))) (let ((X26 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) X25 X24))) (let - ((X27 Int (ite (= X26 6) 3 X26))) + ((X27 (ite (= X26 6) 3 X26))) (let ((X28 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) X27 X26))) (let ((X29 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) 2 X28))) (let ((X30 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) X29 X20))) (let - ((X31 Int (ite (= X30 7) 2 X30))) + ((X31 (ite (= X30 7) 2 X30))) (let ((X32 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) X31 X30))) (let - ((X33 Int (ite (= X32 8) 2 X32))) + ((X33 (ite (= X32 8) 2 X32))) (let ((X34 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) X33 X32))) (let ((X35 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) 0 X34))) (let - ((X36 Int (ite X22 X35 X20))) + ((X36 (ite X22 X35 X20))) (let ((X37 - Int (ite (not (= X36 1)) 1 X36))) + (ite (not (= X36 1)) 1 X36))) (let - ((X38 Int (ite X22 X37 X36))) + ((X38 (ite X22 X37 X36))) (let ((X39 - Bool (and + (and (= X38 1) (and top.usr.onOff_a_0 (not X22))))) (let ((X40 - Int (ite (= X38 1) 0 X38))) + (ite (= X38 1) 0 X38))) (let - ((X41 Int (ite X39 X40 X38))) + ((X41 (ite X39 X40 X38))) (let ((X42 - Int (ite + (ite (not (= X36 1)) 1 X19))) (let ((X43 - Int (ite X22 X42 X19))) + (ite X22 X42 X19))) (let ((X44 - Int (ite + (ite (not (and (>= X41 2) @@ -191,7 +191,7 @@ X41))) (let ((X45 - Bool (and + (and (not (and (>= X41 2) @@ -201,46 +201,46 @@ (<= X44 8))))) (let ((X46 - Int (ite + (ite (not (= X44 7)) 2 X43))) (let ((X47 - Int (ite X45 X46 X43))) + (ite X45 X46 X43))) (let ((X48 - Int (ite + (ite X39 X47 X43))) (let ((X49 - Int (ite + (ite (not (= X44 7)) 7 X44))) (let ((X50 - Int (ite + (ite X45 X49 X44))) (let ((X51 - Int (ite + (ite X39 X50 X41))) (let ((X52 - Bool (or + (or X39 X22))) (let ((X53 - Bool (and + (and (and (>= X51 @@ -251,13 +251,13 @@ (not X4)))) (let ((X54 - Int (ite + (ite (= X51 4) 3 X51))) (let ((X55 - Int (ite + (ite (and (>= X51 @@ -269,14 +269,12 @@ X51))) (let ((X56 - Int (ite (= X55 5) 3 X55))) (let ((X57 - Int (ite (and (>= @@ -289,14 +287,12 @@ X55))) (let ((X58 - Int (ite (= X57 6) 3 X57))) (let ((X59 - Int (ite (and (>= @@ -309,7 +305,6 @@ X57))) (let ((X60 - Int (ite (and (>= @@ -322,14 +317,12 @@ X59))) (let ((X61 - Int (ite X53 X60 X51))) (let ((X62 - Int (ite (not (= X61 8)) @@ -337,14 +330,12 @@ X61))) (let ((X63 - Int (ite X53 X62 X61))) (let ((X64 - Bool (and (= X63 8) (and @@ -366,21 +357,18 @@ (not X53))))) (let ((X65 - Int (ite (= X63 8) 2 X63))) (let ((X66 - Int (ite X64 X65 X63))) (let ((X67 - Int (ite (not (and @@ -394,7 +382,6 @@ X66))) (let ((X68 - Bool (and (not (and @@ -413,7 +400,6 @@ 6))))) (let ((X69 - Int (ite (not (= X67 4)) @@ -421,27 +407,23 @@ X67))) (let ((X70 - Int (ite X68 X69 X67))) (let ((X71 - Int (ite X64 X70 X66))) (let ((X72 - Bool (or X64 X53))) (let ((X73 - Bool (and (= X71 8) (and @@ -463,21 +445,18 @@ (not X72))))) (let ((X74 - Int (ite (= X71 8) 2 X71))) (let ((X75 - Int (ite X73 X74 X71))) (let ((X76 - Int (ite (not (and @@ -491,7 +470,6 @@ X75))) (let ((X77 - Bool (and (not (and @@ -510,7 +488,6 @@ 6))))) (let ((X78 - Int (ite (not (= X76 4)) @@ -518,27 +495,23 @@ X76))) (let ((X79 - Int (ite X77 X78 X76))) (let ((X80 - Int (ite X73 X79 X75))) (let ((X81 - Bool (or X73 X72))) (let ((X82 - Bool (and (= X80 7) (and @@ -560,21 +533,18 @@ (not X81))))) (let ((X83 - Int (ite (= X80 7) 2 X80))) (let ((X84 - Int (ite X82 X83 X80))) (let ((X85 - Int (ite (not (= X61 8)) @@ -582,14 +552,12 @@ X48))) (let ((X86 - Int (ite X53 X85 X48))) (let ((X87 - Int (ite (not (= X67 4)) @@ -597,21 +565,18 @@ X86))) (let ((X88 - Int (ite X68 X87 X86))) (let ((X89 - Int (ite X64 X88 X86))) (let ((X90 - Int (ite (not (= X76 4)) @@ -619,21 +584,18 @@ X89))) (let ((X91 - Int (ite X77 X90 X89))) (let ((X92 - Int (ite X73 X91 X89))) (let ((X93 - Int (ite (not (and @@ -647,7 +609,6 @@ X84))) (let ((X94 - Bool (and (not (and @@ -666,7 +627,6 @@ 6))))) (let ((X95 - Int (ite (not (= X93 4)) @@ -674,21 +634,18 @@ X92))) (let ((X96 - Int (ite X94 X95 X92))) (let ((X97 - Int (ite X82 X96 X92))) (let ((X98 - Int (ite (not (= X93 4)) @@ -696,27 +653,23 @@ X93))) (let ((X99 - Int (ite X94 X98 X93))) (let ((X100 - Int (ite X82 X99 X84))) (let ((X101 - Bool (or X82 X81))) (let ((X102 - Bool (and (= X100 @@ -730,7 +683,6 @@ 0))))) (let ((X103 - Int (ite (= X100 @@ -739,14 +691,12 @@ X100))) (let ((X104 - Int (ite X102 X103 X100))) (let ((X105 - Int (ite (not (= @@ -756,14 +706,12 @@ X104))) (let ((X106 - Int (ite X102 X105 X104))) (let ((X107 - Bool (and (= X106 @@ -780,7 +728,6 @@ X102))))) (let ((X108 - Int (ite (= X106 @@ -789,14 +736,12 @@ X106))) (let ((X109 - Int (ite X107 X108 X106))) (let ((X110 - Int (ite (not (= @@ -806,20 +751,17 @@ X109))) (let ((X111 - Int (ite X107 X110 X109))) (let ((X112 - Bool (or X107 X102))) (let ((X113 - Bool (and (= X111 @@ -836,7 +778,6 @@ X112))))) (let ((X114 - Int (ite (= X111 @@ -845,14 +786,12 @@ X111))) (let ((X115 - Int (ite X113 X114 X111))) (let ((X116 - Int (ite (not (= @@ -862,20 +801,17 @@ X115))) (let ((X117 - Int (ite X113 X116 X115))) (let ((X118 - Bool (or X113 X112))) (let ((X119 - Bool (and (= X117 @@ -893,7 +829,6 @@ X118))))) (let ((X120 - Int (ite (= X117 @@ -902,14 +837,12 @@ X117))) (let ((X121 - Int (ite X119 X120 X117))) (let ((X122 - Int (ite (not (= @@ -919,20 +852,17 @@ X121))) (let ((X123 - Int (ite X119 X122 X121))) (let ((X124 - Bool (or X119 X118))) (let ((X125 - Bool (and (= X123 @@ -950,7 +880,6 @@ X124))))) (let ((X126 - Int (ite (= X123 @@ -959,14 +888,12 @@ X123))) (let ((X127 - Int (ite X125 X126 X123))) (let ((X128 - Int (ite (not (= @@ -976,14 +903,12 @@ X97))) (let ((X129 - Int (ite X102 X128 X97))) (let ((X130 - Int (ite (not (= @@ -993,14 +918,12 @@ X129))) (let ((X131 - Int (ite X107 X130 X129))) (let ((X132 - Int (ite (not (= @@ -1010,14 +933,12 @@ X131))) (let ((X133 - Int (ite X113 X132 X131))) (let ((X134 - Int (ite (not (= @@ -1027,14 +948,12 @@ X133))) (let ((X135 - Int (ite X119 X134 X133))) (let ((X136 - Int (ite (not (= @@ -1044,14 +963,12 @@ X135))) (let ((X137 - Int (ite X125 X136 X135))) (let ((X138 - Int (ite (and (not @@ -1067,7 +984,6 @@ X97))) (let ((X139 - Int (ite (and (not X52) @@ -1095,39 +1011,34 @@ X19)) (let ((X140 - Bool (= top.impl.usr.mode_a_0 3))) (let ((X141 - Real (ite X140 X1 0.0))) (let ((X142 - Bool (= top.impl.usr.mode_a_0 4))) (let ((X143 - Real (ite X142 X1 X141))) (let ((X144 - Bool (= top.impl.usr.mode_a_0 5))) (let ((X145 - Bool X144)) + X144)) (and (= top.impl.usr.zz4_a_0 @@ -1145,23 +1056,21 @@ 0.0 (- X1 - (/ 1 20)))) + (/ 1.0 20.0)))) (let ((X146 - Real (ite X145 top.impl.usr.zz5_a_0 X143))) (let ((X147 - Bool (= top.impl.usr.mode_a_0 6))) (let ((X148 - Bool X147)) + X147)) (and (= top.impl.usr.zz1_a_0 @@ -1179,35 +1088,30 @@ 0.0 (+ X1 - (/ 1 20)))) + (/ 1.0 20.0)))) (let ((X149 - Real (ite X148 top.impl.usr.zz2_a_0 X146))) (let ((X150 - Bool (= X149 0.0))) (let ((X151 - Bool (= top.impl.usr.mode_a_0 1))) (let ((X152 - Bool (= top.impl.usr.mode_a_0 2))) (let ((X153 - Bool (or X151 X152))) @@ -1220,7 +1124,6 @@ X150)) (let ((X154 - Int (ite (not (= X20 1)) @@ -1228,7 +1131,6 @@ X20))) (let ((X155 - Int (ite (not (= @@ -1238,14 +1140,12 @@ X127))) (let ((X156 - Int (ite X125 X155 X127))) (let ((X157 - Int (ite (and (not @@ -1261,7 +1161,6 @@ X100))) (let ((X158 - Int (ite (and (not X52) @@ -1276,7 +1175,6 @@ X51))) (let ((X159 - Int (ite top.impl.usr.SP3c_a_0 (ite @@ -1290,17 +1188,15 @@ X159) (let ((X160 - Bool false)) + false)) (let ((X161 - Bool (ite (= X20 4) false X160))) (let ((X162 - Bool (ite (and (>= @@ -1313,7 +1209,6 @@ X160))) (let ((X163 - Bool (ite (and (>= @@ -1326,21 +1221,18 @@ X160))) (let ((X164 - Bool (ite X22 X163 X160))) (let ((X165 - Bool (ite (= X51 4) false X164))) (let ((X166 - Bool (ite (and (>= @@ -1353,34 +1245,29 @@ X164))) (let ((X167 - Bool (ite X53 X166 X164))) (let ((X168 - Bool (ite X64 true X167))) (let ((X169 - Bool (ite X82 true X168))) (let ((X170 - Bool (or X125 X124))) (let ((X171 - Bool (ite (= X100 @@ -1389,21 +1276,18 @@ X169))) (let ((X172 - Bool (ite X102 X171 X169))) (let ((X173 - Bool (ite X102 true X172))) (let ((X174 - Bool (ite (= X106 @@ -1412,14 +1296,12 @@ X173))) (let ((X175 - Bool (ite X107 X174 X173))) (let ((X176 - Bool (ite (= X111 @@ -1428,14 +1310,12 @@ X175))) (let ((X177 - Bool (ite X113 X176 X175))) (let ((X178 - Bool (ite (and (not @@ -1447,7 +1327,6 @@ X177))) (let ((X179 - Bool (ite (and (not @@ -1463,7 +1342,6 @@ X169))) (let ((X180 - Bool (ite (and (not X52) @@ -1488,7 +1366,6 @@ X160)) (let ((X181 - Real (ite top.impl.usr.zz162_a_0 top.usr.carSpeed_a_0 @@ -1567,14 +1444,14 @@ ) Bool (let - ((X1 Real top.impl.usr.desiredSpeed_a_0)) + ((X1 top.impl.usr.desiredSpeed_a_0)) (let - ((X2 Bool (>= top.usr.carSpeed_a_1 15.0))) + ((X2 (>= top.usr.carSpeed_a_1 15.0))) (let - ((X3 Bool (= top.usr.carGear_a_1 3))) + ((X3 (= top.usr.carGear_a_1 3))) (let ((X4 - Bool (and + (and (and (and (and (not top.usr.cancel_a_1) (not top.usr.brakePedal_a_1)) @@ -1582,45 +1459,45 @@ X2) top.usr.validInputs_a_1))) (let - ((X5 Bool top.impl.usr.zz183_a_0)) + ((X5 top.impl.usr.zz183_a_0)) (and (= top.impl.usr.zz183_a_1 top.usr.decelSet_a_1) (let - ((X6 Bool (and (not X5) top.impl.usr.zz183_a_1))) + ((X6 (and (not X5) top.impl.usr.zz183_a_1))) (let - ((X7 Bool top.impl.usr.zz178_a_0)) + ((X7 top.impl.usr.zz178_a_0)) (and (= top.impl.usr.zz178_a_1 top.usr.accelResume_a_1) (let - ((X8 Bool (and (not X7) top.impl.usr.zz178_a_1))) + ((X8 (and (not X7) top.impl.usr.zz178_a_1))) (let - ((X9 Int top.impl.usr.zz176_a_0)) + ((X9 top.impl.usr.zz176_a_0)) (let - ((X10 Int (+ X9 1))) + ((X10 (+ X9 1))) (let - ((X11 Int (ite top.usr.decelSet_a_1 X10 0))) + ((X11 (ite top.usr.decelSet_a_1 X10 0))) (let - ((X12 Int (ite (>= 0 X11) 0 X11))) + ((X12 (ite (>= 0 X11) 0 X11))) (and (= top.impl.usr.zz176_a_1 (ite (<= X12 20) X12 20)) (let - ((X13 Bool (= top.impl.usr.zz176_a_1 20))) + ((X13 (= top.impl.usr.zz176_a_1 20))) (let - ((X14 Int top.impl.usr.zz170_a_0)) + ((X14 top.impl.usr.zz170_a_0)) (let - ((X15 Int (+ X14 1))) + ((X15 (+ X14 1))) (let - ((X16 Int (ite top.usr.accelResume_a_1 X15 0))) + ((X16 (ite top.usr.accelResume_a_1 X15 0))) (let - ((X17 Int (ite (>= 0 X16) 0 X16))) + ((X17 (ite (>= 0 X16) 0 X16))) (and (= top.impl.usr.zz170_a_1 (ite (<= X17 20) X17 20)) (let - ((X18 Bool (= top.impl.usr.zz170_a_1 20))) + ((X18 (= top.impl.usr.zz170_a_1 20))) (let - ((X19 Int top.impl.usr.mode_a_0)) + ((X19 top.impl.usr.mode_a_0)) (let - ((X20 Int top.impl.usr.zz161_a_0)) + ((X20 top.impl.usr.zz161_a_0)) (and (= top.impl.usr.zz155_a_1 @@ -1629,101 +1506,101 @@ false top.impl.usr.zz155_a_0)) (let - ((X21 Int (ite (not (= X20 1)) 1 X19))) + ((X21 (ite (not (= X20 1)) 1 X19))) (let ((X22 - Bool (and + (and (and (>= X20 2) (<= X20 8)) (not top.usr.onOff_a_1)))) (let - ((X23 Int (ite (= X20 4) 3 X20))) + ((X23 (ite (= X20 4) 3 X20))) (let ((X24 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) X23 X20))) (let - ((X25 Int (ite (= X24 5) 3 X24))) + ((X25 (ite (= X24 5) 3 X24))) (let ((X26 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) X25 X24))) (let - ((X27 Int (ite (= X26 6) 3 X26))) + ((X27 (ite (= X26 6) 3 X26))) (let ((X28 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) X27 X26))) (let ((X29 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) 2 X28))) (let ((X30 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) X29 X20))) (let - ((X31 Int (ite (= X30 7) 2 X30))) + ((X31 (ite (= X30 7) 2 X30))) (let ((X32 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) X31 X30))) (let - ((X33 Int (ite (= X32 8) 2 X32))) + ((X33 (ite (= X32 8) 2 X32))) (let ((X34 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) X33 X32))) (let ((X35 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) 0 X34))) (let - ((X36 Int (ite X22 X35 X20))) + ((X36 (ite X22 X35 X20))) (let ((X37 - Int (ite (not (= X36 1)) 1 X36))) + (ite (not (= X36 1)) 1 X36))) (let - ((X38 Int (ite X22 X37 X36))) + ((X38 (ite X22 X37 X36))) (let ((X39 - Bool (and + (and (= X38 1) (and top.usr.onOff_a_1 (not X22))))) (let ((X40 - Int (ite (= X38 1) 0 X38))) + (ite (= X38 1) 0 X38))) (let - ((X41 Int (ite X39 X40 X38))) + ((X41 (ite X39 X40 X38))) (let ((X42 - Int (ite + (ite (not (= X36 1)) 1 X19))) (let ((X43 - Int (ite X22 X42 X19))) + (ite X22 X42 X19))) (let ((X44 - Int (ite + (ite (not (and (>= X41 2) @@ -1732,7 +1609,7 @@ X41))) (let ((X45 - Bool (and + (and (not (and (>= X41 2) @@ -1742,46 +1619,46 @@ (<= X44 8))))) (let ((X46 - Int (ite + (ite (not (= X44 7)) 2 X43))) (let ((X47 - Int (ite X45 X46 X43))) + (ite X45 X46 X43))) (let ((X48 - Int (ite + (ite X39 X47 X43))) (let ((X49 - Int (ite + (ite (not (= X44 7)) 7 X44))) (let ((X50 - Int (ite + (ite X45 X49 X44))) (let ((X51 - Int (ite + (ite X39 X50 X41))) (let ((X52 - Bool (or + (or X39 X22))) (let ((X53 - Bool (and + (and (and (>= X51 @@ -1792,13 +1669,13 @@ (not X4)))) (let ((X54 - Int (ite + (ite (= X51 4) 3 X51))) (let ((X55 - Int (ite + (ite (and (>= X51 @@ -1810,14 +1687,12 @@ X51))) (let ((X56 - Int (ite (= X55 5) 3 X55))) (let ((X57 - Int (ite (and (>= @@ -1830,14 +1705,12 @@ X55))) (let ((X58 - Int (ite (= X57 6) 3 X57))) (let ((X59 - Int (ite (and (>= @@ -1850,7 +1723,6 @@ X57))) (let ((X60 - Int (ite (and (>= @@ -1863,14 +1735,12 @@ X59))) (let ((X61 - Int (ite X53 X60 X51))) (let ((X62 - Int (ite (not (= X61 8)) @@ -1878,14 +1748,12 @@ X61))) (let ((X63 - Int (ite X53 X62 X61))) (let ((X64 - Bool (and (= X63 8) (and @@ -1907,21 +1775,18 @@ (not X53))))) (let ((X65 - Int (ite (= X63 8) 2 X63))) (let ((X66 - Int (ite X64 X65 X63))) (let ((X67 - Int (ite (not (and @@ -1935,7 +1800,6 @@ X66))) (let ((X68 - Bool (and (not (and @@ -1954,7 +1818,6 @@ 6))))) (let ((X69 - Int (ite (not (= X67 4)) @@ -1962,27 +1825,23 @@ X67))) (let ((X70 - Int (ite X68 X69 X67))) (let ((X71 - Int (ite X64 X70 X66))) (let ((X72 - Bool (or X64 X53))) (let ((X73 - Bool (and (= X71 8) (and @@ -2004,21 +1863,18 @@ (not X72))))) (let ((X74 - Int (ite (= X71 8) 2 X71))) (let ((X75 - Int (ite X73 X74 X71))) (let ((X76 - Int (ite (not (and @@ -2032,7 +1888,6 @@ X75))) (let ((X77 - Bool (and (not (and @@ -2051,7 +1906,6 @@ 6))))) (let ((X78 - Int (ite (not (= X76 4)) @@ -2059,27 +1913,23 @@ X76))) (let ((X79 - Int (ite X77 X78 X76))) (let ((X80 - Int (ite X73 X79 X75))) (let ((X81 - Bool (or X73 X72))) (let ((X82 - Bool (and (= X80 7) (and @@ -2101,21 +1951,18 @@ (not X81))))) (let ((X83 - Int (ite (= X80 7) 2 X80))) (let ((X84 - Int (ite X82 X83 X80))) (let ((X85 - Int (ite (not (= X61 8)) @@ -2123,14 +1970,12 @@ X48))) (let ((X86 - Int (ite X53 X85 X48))) (let ((X87 - Int (ite (not (= X67 4)) @@ -2138,21 +1983,18 @@ X86))) (let ((X88 - Int (ite X68 X87 X86))) (let ((X89 - Int (ite X64 X88 X86))) (let ((X90 - Int (ite (not (= X76 4)) @@ -2160,21 +2002,18 @@ X89))) (let ((X91 - Int (ite X77 X90 X89))) (let ((X92 - Int (ite X73 X91 X89))) (let ((X93 - Int (ite (not (and @@ -2188,7 +2027,6 @@ X84))) (let ((X94 - Bool (and (not (and @@ -2207,7 +2045,6 @@ 6))))) (let ((X95 - Int (ite (not (= X93 4)) @@ -2215,21 +2052,18 @@ X92))) (let ((X96 - Int (ite X94 X95 X92))) (let ((X97 - Int (ite X82 X96 X92))) (let ((X98 - Int (ite (not (= X93 4)) @@ -2237,27 +2071,23 @@ X93))) (let ((X99 - Int (ite X94 X98 X93))) (let ((X100 - Int (ite X82 X99 X84))) (let ((X101 - Bool (or X82 X81))) (let ((X102 - Bool (and (= X100 @@ -2271,7 +2101,6 @@ 0))))) (let ((X103 - Int (ite (= X100 @@ -2280,14 +2109,12 @@ X100))) (let ((X104 - Int (ite X102 X103 X100))) (let ((X105 - Int (ite (not (= @@ -2297,14 +2124,12 @@ X104))) (let ((X106 - Int (ite X102 X105 X104))) (let ((X107 - Bool (and (= X106 @@ -2321,7 +2146,6 @@ X102))))) (let ((X108 - Int (ite (= X106 @@ -2330,14 +2154,12 @@ X106))) (let ((X109 - Int (ite X107 X108 X106))) (let ((X110 - Int (ite (not (= @@ -2347,20 +2169,17 @@ X109))) (let ((X111 - Int (ite X107 X110 X109))) (let ((X112 - Bool (or X107 X102))) (let ((X113 - Bool (and (= X111 @@ -2377,7 +2196,6 @@ X112))))) (let ((X114 - Int (ite (= X111 @@ -2386,14 +2204,12 @@ X111))) (let ((X115 - Int (ite X113 X114 X111))) (let ((X116 - Int (ite (not (= @@ -2403,20 +2219,17 @@ X115))) (let ((X117 - Int (ite X113 X116 X115))) (let ((X118 - Bool (or X113 X112))) (let ((X119 - Bool (and (= X117 @@ -2434,7 +2247,6 @@ X118))))) (let ((X120 - Int (ite (= X117 @@ -2443,14 +2255,12 @@ X117))) (let ((X121 - Int (ite X119 X120 X117))) (let ((X122 - Int (ite (not (= @@ -2460,20 +2270,17 @@ X121))) (let ((X123 - Int (ite X119 X122 X121))) (let ((X124 - Bool (or X119 X118))) (let ((X125 - Bool (and (= X123 @@ -2491,7 +2298,6 @@ X124))))) (let ((X126 - Int (ite (= X123 @@ -2500,14 +2306,12 @@ X123))) (let ((X127 - Int (ite X125 X126 X123))) (let ((X128 - Int (ite (not (= @@ -2517,14 +2321,12 @@ X97))) (let ((X129 - Int (ite X102 X128 X97))) (let ((X130 - Int (ite (not (= @@ -2534,14 +2336,12 @@ X129))) (let ((X131 - Int (ite X107 X130 X129))) (let ((X132 - Int (ite (not (= @@ -2551,14 +2351,12 @@ X131))) (let ((X133 - Int (ite X113 X132 X131))) (let ((X134 - Int (ite (not (= @@ -2568,14 +2366,12 @@ X133))) (let ((X135 - Int (ite X119 X134 X133))) (let ((X136 - Int (ite (not (= @@ -2585,14 +2381,12 @@ X135))) (let ((X137 - Int (ite X125 X136 X135))) (let ((X138 - Int (ite (and (not @@ -2608,7 +2402,6 @@ X97))) (let ((X139 - Int (ite (and (not X52) @@ -2636,39 +2429,34 @@ X19)) (let ((X140 - Bool (= top.impl.usr.mode_a_1 3))) (let ((X141 - Real (ite X140 X1 0.0))) (let ((X142 - Bool (= top.impl.usr.mode_a_1 4))) (let ((X143 - Real (ite X142 X1 X141))) (let ((X144 - Bool (= top.impl.usr.mode_a_1 5))) (let ((X145 - Bool X144)) + X144)) (and (= top.impl.usr.zz4_a_1 @@ -2691,24 +2479,22 @@ top.impl.usr.zz3_a_1 (- X1 - (/ 1 20)) + (/ 1.0 20.0)) top.impl.usr.zz5_a_0))) (let ((X146 - Real (ite X145 top.impl.usr.zz5_a_1 X143))) (let ((X147 - Bool (= top.impl.usr.mode_a_1 6))) (let ((X148 - Bool X147)) + X147)) (and (= top.impl.usr.zz1_a_1 @@ -2731,36 +2517,31 @@ top.impl.usr.zz0_a_1 (+ X1 - (/ 1 20)) + (/ 1.0 20.0)) top.impl.usr.zz2_a_0))) (let ((X149 - Real (ite X148 top.impl.usr.zz2_a_1 X146))) (let ((X150 - Bool (= X149 0.0))) (let ((X151 - Bool (= top.impl.usr.mode_a_1 1))) (let ((X152 - Bool (= top.impl.usr.mode_a_1 2))) (let ((X153 - Bool (or X151 X152))) @@ -2773,7 +2554,6 @@ X150)) (let ((X154 - Int (ite (not (= X20 1)) @@ -2781,7 +2561,6 @@ X20))) (let ((X155 - Int (ite (not (= @@ -2791,14 +2570,12 @@ X127))) (let ((X156 - Int (ite X125 X155 X127))) (let ((X157 - Int (ite (and (not @@ -2814,7 +2591,6 @@ X100))) (let ((X158 - Int (ite (and (not X52) @@ -2829,7 +2605,6 @@ X51))) (let ((X159 - Int (ite top.impl.usr.SP3c_a_1 (ite @@ -2843,17 +2618,15 @@ X159) (let ((X160 - Bool top.impl.usr.zz162_a_0)) + top.impl.usr.zz162_a_0)) (let ((X161 - Bool (ite (= X20 4) false X160))) (let ((X162 - Bool (ite (and (>= @@ -2866,7 +2639,6 @@ X160))) (let ((X163 - Bool (ite (and (>= @@ -2879,21 +2651,18 @@ X160))) (let ((X164 - Bool (ite X22 X163 X160))) (let ((X165 - Bool (ite (= X51 4) false X164))) (let ((X166 - Bool (ite (and (>= @@ -2906,34 +2675,29 @@ X164))) (let ((X167 - Bool (ite X53 X166 X164))) (let ((X168 - Bool (ite X64 true X167))) (let ((X169 - Bool (ite X82 true X168))) (let ((X170 - Bool (or X125 X124))) (let ((X171 - Bool (ite (= X100 @@ -2942,21 +2706,18 @@ X169))) (let ((X172 - Bool (ite X102 X171 X169))) (let ((X173 - Bool (ite X102 true X172))) (let ((X174 - Bool (ite (= X106 @@ -2965,14 +2726,12 @@ X173))) (let ((X175 - Bool (ite X107 X174 X173))) (let ((X176 - Bool (ite (= X111 @@ -2981,14 +2740,12 @@ X175))) (let ((X177 - Bool (ite X113 X176 X175))) (let ((X178 - Bool (ite (and (not @@ -3000,7 +2757,6 @@ X177))) (let ((X179 - Bool (ite (and (not @@ -3016,7 +2772,6 @@ X169))) (let ((X180 - Bool (ite (and (not X52) @@ -3041,7 +2796,6 @@ X160)) (let ((X181 - Real (ite top.impl.usr.zz162_a_1 top.usr.carSpeed_a_1 @@ -3096,33 +2850,6 @@ )) -(declare-primed-var top.usr.onOff Bool) -(declare-primed-var top.usr.decelSet Bool) -(declare-primed-var top.usr.accelResume Bool) -(declare-primed-var top.usr.cancel Bool) -(declare-primed-var top.usr.brakePedal Bool) -(declare-primed-var top.usr.carGear Int) -(declare-primed-var top.usr.carSpeed Real) -(declare-primed-var top.usr.validInputs Bool) -(declare-primed-var top.usr.OK Bool) -(declare-primed-var top.res.init_flag Bool) -(declare-primed-var top.impl.usr.mode Int) -(declare-primed-var top.impl.usr.desiredSpeed Real) -(declare-primed-var top.impl.usr.SP3c Bool) -(declare-primed-var top.impl.usr.zz0 Bool) -(declare-primed-var top.impl.usr.zz1 Bool) -(declare-primed-var top.impl.usr.zz2 Real) -(declare-primed-var top.impl.usr.zz3 Bool) -(declare-primed-var top.impl.usr.zz4 Bool) -(declare-primed-var top.impl.usr.zz5 Real) -(declare-primed-var top.impl.usr.zz155 Bool) -(declare-primed-var top.impl.usr.zz161 Int) -(declare-primed-var top.impl.usr.zz162 Bool) -(declare-primed-var top.impl.usr.zz170 Int) -(declare-primed-var top.impl.usr.zz176 Int) -(declare-primed-var top.impl.usr.zz178 Bool) -(declare-primed-var top.impl.usr.zz183 Bool) - (define-fun init ( (top.usr.onOff Bool) @@ -3154,156 +2881,156 @@ ) Bool (let - ((X1 Real 0.0)) + ((X1 0.0)) (let - ((X2 Bool (>= top.usr.carSpeed 15.0))) + ((X2 (>= top.usr.carSpeed 15.0))) (let - ((X3 Bool (= top.usr.carGear 3))) + ((X3 (= top.usr.carGear 3))) (let ((X4 - Bool (and + (and (and (and (and (not top.usr.cancel) (not top.usr.brakePedal)) X3) X2) top.usr.validInputs))) (let - ((X5 Bool true)) + ((X5 true)) (and (= top.impl.usr.zz183 top.usr.decelSet) (let - ((X6 Bool (and (not X5) top.impl.usr.zz183))) + ((X6 (and (not X5) top.impl.usr.zz183))) (let - ((X7 Bool true)) + ((X7 true)) (and (= top.impl.usr.zz178 top.usr.accelResume) (let - ((X8 Bool (and (not X7) top.impl.usr.zz178))) + ((X8 (and (not X7) top.impl.usr.zz178))) (let - ((X9 Int 0)) + ((X9 0)) (let - ((X10 Int (+ X9 1))) + ((X10 (+ X9 1))) (let - ((X11 Int (ite top.usr.decelSet X10 0))) + ((X11 (ite top.usr.decelSet X10 0))) (let - ((X12 Int (ite (>= 0 X11) 0 X11))) + ((X12 (ite (>= 0 X11) 0 X11))) (and (= top.impl.usr.zz176 (ite (<= X12 20) X12 20)) (let - ((X13 Bool (= top.impl.usr.zz176 20))) + ((X13 (= top.impl.usr.zz176 20))) (let - ((X14 Int 0)) + ((X14 0)) (let - ((X15 Int (+ X14 1))) + ((X15 (+ X14 1))) (let - ((X16 Int (ite top.usr.accelResume X15 0))) + ((X16 (ite top.usr.accelResume X15 0))) (let - ((X17 Int (ite (>= 0 X16) 0 X16))) + ((X17 (ite (>= 0 X16) 0 X16))) (and (= top.impl.usr.zz170 (ite (<= X17 20) X17 20)) (let - ((X18 Bool (= top.impl.usr.zz170 20))) + ((X18 (= top.impl.usr.zz170 20))) (let - ((X19 Int 0)) + ((X19 0)) (let - ((X20 Int 0)) + ((X20 0)) (and (= top.impl.usr.zz155 true) (let - ((X21 Int (ite (not (= X20 1)) 1 X19))) + ((X21 (ite (not (= X20 1)) 1 X19))) (let ((X22 - Bool (and + (and (and (>= X20 2) (<= X20 8)) (not top.usr.onOff)))) (let - ((X23 Int (ite (= X20 4) 3 X20))) + ((X23 (ite (= X20 4) 3 X20))) (let ((X24 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) X23 X20))) (let - ((X25 Int (ite (= X24 5) 3 X24))) + ((X25 (ite (= X24 5) 3 X24))) (let ((X26 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) X25 X24))) (let - ((X27 Int (ite (= X26 6) 3 X26))) + ((X27 (ite (= X26 6) 3 X26))) (let ((X28 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) X27 X26))) (let ((X29 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) 2 X28))) (let ((X30 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) X29 X20))) (let - ((X31 Int (ite (= X30 7) 2 X30))) + ((X31 (ite (= X30 7) 2 X30))) (let ((X32 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) X31 X30))) (let - ((X33 Int (ite (= X32 8) 2 X32))) + ((X33 (ite (= X32 8) 2 X32))) (let ((X34 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) X33 X32))) (let ((X35 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) 0 X34))) (let - ((X36 Int (ite X22 X35 X20))) + ((X36 (ite X22 X35 X20))) (let ((X37 - Int (ite (not (= X36 1)) 1 X36))) + (ite (not (= X36 1)) 1 X36))) (let - ((X38 Int (ite X22 X37 X36))) + ((X38 (ite X22 X37 X36))) (let ((X39 - Bool (and + (and (= X38 1) (and top.usr.onOff (not X22))))) (let ((X40 - Int (ite (= X38 1) 0 X38))) + (ite (= X38 1) 0 X38))) (let - ((X41 Int (ite X39 X40 X38))) + ((X41 (ite X39 X40 X38))) (let ((X42 - Int (ite + (ite (not (= X36 1)) 1 X19))) (let ((X43 - Int (ite X22 X42 X19))) + (ite X22 X42 X19))) (let ((X44 - Int (ite + (ite (not (and (>= X41 2) @@ -3312,7 +3039,7 @@ X41))) (let ((X45 - Bool (and + (and (not (and (>= X41 2) @@ -3322,46 +3049,46 @@ (<= X44 8))))) (let ((X46 - Int (ite + (ite (not (= X44 7)) 2 X43))) (let ((X47 - Int (ite X45 X46 X43))) + (ite X45 X46 X43))) (let ((X48 - Int (ite + (ite X39 X47 X43))) (let ((X49 - Int (ite + (ite (not (= X44 7)) 7 X44))) (let ((X50 - Int (ite + (ite X45 X49 X44))) (let ((X51 - Int (ite + (ite X39 X50 X41))) (let ((X52 - Bool (or + (or X39 X22))) (let ((X53 - Bool (and + (and (and (>= X51 @@ -3372,13 +3099,13 @@ (not X4)))) (let ((X54 - Int (ite + (ite (= X51 4) 3 X51))) (let ((X55 - Int (ite + (ite (and (>= X51 @@ -3390,14 +3117,12 @@ X51))) (let ((X56 - Int (ite (= X55 5) 3 X55))) (let ((X57 - Int (ite (and (>= @@ -3410,14 +3135,12 @@ X55))) (let ((X58 - Int (ite (= X57 6) 3 X57))) (let ((X59 - Int (ite (and (>= @@ -3430,7 +3153,6 @@ X57))) (let ((X60 - Int (ite (and (>= @@ -3443,14 +3165,12 @@ X59))) (let ((X61 - Int (ite X53 X60 X51))) (let ((X62 - Int (ite (not (= X61 8)) @@ -3458,14 +3178,12 @@ X61))) (let ((X63 - Int (ite X53 X62 X61))) (let ((X64 - Bool (and (= X63 8) (and @@ -3487,21 +3205,18 @@ (not X53))))) (let ((X65 - Int (ite (= X63 8) 2 X63))) (let ((X66 - Int (ite X64 X65 X63))) (let ((X67 - Int (ite (not (and @@ -3515,7 +3230,6 @@ X66))) (let ((X68 - Bool (and (not (and @@ -3534,7 +3248,6 @@ 6))))) (let ((X69 - Int (ite (not (= X67 4)) @@ -3542,27 +3255,23 @@ X67))) (let ((X70 - Int (ite X68 X69 X67))) (let ((X71 - Int (ite X64 X70 X66))) (let ((X72 - Bool (or X64 X53))) (let ((X73 - Bool (and (= X71 8) (and @@ -3584,21 +3293,18 @@ (not X72))))) (let ((X74 - Int (ite (= X71 8) 2 X71))) (let ((X75 - Int (ite X73 X74 X71))) (let ((X76 - Int (ite (not (and @@ -3612,7 +3318,6 @@ X75))) (let ((X77 - Bool (and (not (and @@ -3631,7 +3336,6 @@ 6))))) (let ((X78 - Int (ite (not (= X76 4)) @@ -3639,27 +3343,23 @@ X76))) (let ((X79 - Int (ite X77 X78 X76))) (let ((X80 - Int (ite X73 X79 X75))) (let ((X81 - Bool (or X73 X72))) (let ((X82 - Bool (and (= X80 7) (and @@ -3681,21 +3381,18 @@ (not X81))))) (let ((X83 - Int (ite (= X80 7) 2 X80))) (let ((X84 - Int (ite X82 X83 X80))) (let ((X85 - Int (ite (not (= X61 8)) @@ -3703,14 +3400,12 @@ X48))) (let ((X86 - Int (ite X53 X85 X48))) (let ((X87 - Int (ite (not (= X67 4)) @@ -3718,21 +3413,18 @@ X86))) (let ((X88 - Int (ite X68 X87 X86))) (let ((X89 - Int (ite X64 X88 X86))) (let ((X90 - Int (ite (not (= X76 4)) @@ -3740,21 +3432,18 @@ X89))) (let ((X91 - Int (ite X77 X90 X89))) (let ((X92 - Int (ite X73 X91 X89))) (let ((X93 - Int (ite (not (and @@ -3768,7 +3457,6 @@ X84))) (let ((X94 - Bool (and (not (and @@ -3787,7 +3475,6 @@ 6))))) (let ((X95 - Int (ite (not (= X93 4)) @@ -3795,21 +3482,18 @@ X92))) (let ((X96 - Int (ite X94 X95 X92))) (let ((X97 - Int (ite X82 X96 X92))) (let ((X98 - Int (ite (not (= X93 4)) @@ -3817,27 +3501,23 @@ X93))) (let ((X99 - Int (ite X94 X98 X93))) (let ((X100 - Int (ite X82 X99 X84))) (let ((X101 - Bool (or X82 X81))) (let ((X102 - Bool (and (= X100 @@ -3851,7 +3531,6 @@ 0))))) (let ((X103 - Int (ite (= X100 @@ -3860,14 +3539,12 @@ X100))) (let ((X104 - Int (ite X102 X103 X100))) (let ((X105 - Int (ite (not (= @@ -3877,14 +3554,12 @@ X104))) (let ((X106 - Int (ite X102 X105 X104))) (let ((X107 - Bool (and (= X106 @@ -3901,7 +3576,6 @@ X102))))) (let ((X108 - Int (ite (= X106 @@ -3910,14 +3584,12 @@ X106))) (let ((X109 - Int (ite X107 X108 X106))) (let ((X110 - Int (ite (not (= @@ -3927,20 +3599,17 @@ X109))) (let ((X111 - Int (ite X107 X110 X109))) (let ((X112 - Bool (or X107 X102))) (let ((X113 - Bool (and (= X111 @@ -3957,7 +3626,6 @@ X112))))) (let ((X114 - Int (ite (= X111 @@ -3966,14 +3634,12 @@ X111))) (let ((X115 - Int (ite X113 X114 X111))) (let ((X116 - Int (ite (not (= @@ -3983,20 +3649,17 @@ X115))) (let ((X117 - Int (ite X113 X116 X115))) (let ((X118 - Bool (or X113 X112))) (let ((X119 - Bool (and (= X117 @@ -4014,7 +3677,6 @@ X118))))) (let ((X120 - Int (ite (= X117 @@ -4023,14 +3685,12 @@ X117))) (let ((X121 - Int (ite X119 X120 X117))) (let ((X122 - Int (ite (not (= @@ -4040,20 +3700,17 @@ X121))) (let ((X123 - Int (ite X119 X122 X121))) (let ((X124 - Bool (or X119 X118))) (let ((X125 - Bool (and (= X123 @@ -4071,7 +3728,6 @@ X124))))) (let ((X126 - Int (ite (= X123 @@ -4080,14 +3736,12 @@ X123))) (let ((X127 - Int (ite X125 X126 X123))) (let ((X128 - Int (ite (not (= @@ -4097,14 +3751,12 @@ X97))) (let ((X129 - Int (ite X102 X128 X97))) (let ((X130 - Int (ite (not (= @@ -4114,14 +3766,12 @@ X129))) (let ((X131 - Int (ite X107 X130 X129))) (let ((X132 - Int (ite (not (= @@ -4131,14 +3781,12 @@ X131))) (let ((X133 - Int (ite X113 X132 X131))) (let ((X134 - Int (ite (not (= @@ -4148,14 +3796,12 @@ X133))) (let ((X135 - Int (ite X119 X134 X133))) (let ((X136 - Int (ite (not (= @@ -4165,14 +3811,12 @@ X135))) (let ((X137 - Int (ite X125 X136 X135))) (let ((X138 - Int (ite (and (not @@ -4188,7 +3832,6 @@ X97))) (let ((X139 - Int (ite (and (not X52) @@ -4216,39 +3859,34 @@ X19)) (let ((X140 - Bool (= top.impl.usr.mode 3))) (let ((X141 - Real (ite X140 X1 0.0))) (let ((X142 - Bool (= top.impl.usr.mode 4))) (let ((X143 - Real (ite X142 X1 X141))) (let ((X144 - Bool (= top.impl.usr.mode 5))) (let ((X145 - Bool X144)) + X144)) (and (= top.impl.usr.zz4 @@ -4266,23 +3904,21 @@ 0.0 (- X1 - (/ 1 20)))) + (/ 1.0 20.0)))) (let ((X146 - Real (ite X145 top.impl.usr.zz5 X143))) (let ((X147 - Bool (= top.impl.usr.mode 6))) (let ((X148 - Bool X147)) + X147)) (and (= top.impl.usr.zz1 @@ -4300,35 +3936,30 @@ 0.0 (+ X1 - (/ 1 20)))) + (/ 1.0 20.0)))) (let ((X149 - Real (ite X148 top.impl.usr.zz2 X146))) (let ((X150 - Bool (= X149 0.0))) (let ((X151 - Bool (= top.impl.usr.mode 1))) (let ((X152 - Bool (= top.impl.usr.mode 2))) (let ((X153 - Bool (or X151 X152))) @@ -4341,7 +3972,6 @@ X150)) (let ((X154 - Int (ite (not (= X20 1)) @@ -4349,7 +3979,6 @@ X20))) (let ((X155 - Int (ite (not (= @@ -4359,14 +3988,12 @@ X127))) (let ((X156 - Int (ite X125 X155 X127))) (let ((X157 - Int (ite (and (not @@ -4382,7 +4009,6 @@ X100))) (let ((X158 - Int (ite (and (not X52) @@ -4397,7 +4023,6 @@ X51))) (let ((X159 - Int (ite top.impl.usr.SP3c (ite @@ -4411,17 +4036,15 @@ X159) (let ((X160 - Bool false)) + false)) (let ((X161 - Bool (ite (= X20 4) false X160))) (let ((X162 - Bool (ite (and (>= @@ -4434,7 +4057,6 @@ X160))) (let ((X163 - Bool (ite (and (>= @@ -4447,21 +4069,18 @@ X160))) (let ((X164 - Bool (ite X22 X163 X160))) (let ((X165 - Bool (ite (= X51 4) false X164))) (let ((X166 - Bool (ite (and (>= @@ -4474,34 +4093,29 @@ X164))) (let ((X167 - Bool (ite X53 X166 X164))) (let ((X168 - Bool (ite X64 true X167))) (let ((X169 - Bool (ite X82 true X168))) (let ((X170 - Bool (or X125 X124))) (let ((X171 - Bool (ite (= X100 @@ -4510,21 +4124,18 @@ X169))) (let ((X172 - Bool (ite X102 X171 X169))) (let ((X173 - Bool (ite X102 true X172))) (let ((X174 - Bool (ite (= X106 @@ -4533,14 +4144,12 @@ X173))) (let ((X175 - Bool (ite X107 X174 X173))) (let ((X176 - Bool (ite (= X111 @@ -4549,14 +4158,12 @@ X175))) (let ((X177 - Bool (ite X113 X176 X175))) (let ((X178 - Bool (ite (and (not @@ -4568,7 +4175,6 @@ X177))) (let ((X179 - Bool (ite (and (not @@ -4584,7 +4190,6 @@ X169))) (let ((X180 - Bool (ite (and (not X52) @@ -4609,7 +4214,6 @@ X160)) (let ((X181 - Real (ite top.impl.usr.zz162 top.usr.carSpeed @@ -4693,158 +4297,158 @@ ) Bool (let - ((X1 Real top.impl.usr.desiredSpeed)) + ((X1 top.impl.usr.desiredSpeed)) (let - ((X2 Bool (>= top.usr.carSpeed! 15.0))) + ((X2 (>= top.usr.carSpeed! 15.0))) (let - ((X3 Bool (= top.usr.carGear! 3))) + ((X3 (= top.usr.carGear! 3))) (let ((X4 - Bool (and + (and (and (and (and (not top.usr.cancel!) (not top.usr.brakePedal!)) X3) X2) top.usr.validInputs!))) (let - ((X5 Bool top.impl.usr.zz183)) + ((X5 top.impl.usr.zz183)) (and (= top.impl.usr.zz183! top.usr.decelSet!) (let - ((X6 Bool (and (not X5) top.impl.usr.zz183!))) + ((X6 (and (not X5) top.impl.usr.zz183!))) (let - ((X7 Bool top.impl.usr.zz178)) + ((X7 top.impl.usr.zz178)) (and (= top.impl.usr.zz178! top.usr.accelResume!) (let - ((X8 Bool (and (not X7) top.impl.usr.zz178!))) + ((X8 (and (not X7) top.impl.usr.zz178!))) (let - ((X9 Int top.impl.usr.zz176)) + ((X9 top.impl.usr.zz176)) (let - ((X10 Int (+ X9 1))) + ((X10 (+ X9 1))) (let - ((X11 Int (ite top.usr.decelSet! X10 0))) + ((X11 (ite top.usr.decelSet! X10 0))) (let - ((X12 Int (ite (>= 0 X11) 0 X11))) + ((X12 (ite (>= 0 X11) 0 X11))) (and (= top.impl.usr.zz176! (ite (<= X12 20) X12 20)) (let - ((X13 Bool (= top.impl.usr.zz176! 20))) + ((X13 (= top.impl.usr.zz176! 20))) (let - ((X14 Int top.impl.usr.zz170)) + ((X14 top.impl.usr.zz170)) (let - ((X15 Int (+ X14 1))) + ((X15 (+ X14 1))) (let - ((X16 Int (ite top.usr.accelResume! X15 0))) + ((X16 (ite top.usr.accelResume! X15 0))) (let - ((X17 Int (ite (>= 0 X16) 0 X16))) + ((X17 (ite (>= 0 X16) 0 X16))) (and (= top.impl.usr.zz170! (ite (<= X17 20) X17 20)) (let - ((X18 Bool (= top.impl.usr.zz170! 20))) + ((X18 (= top.impl.usr.zz170! 20))) (let - ((X19 Int top.impl.usr.mode)) + ((X19 top.impl.usr.mode)) (let - ((X20 Int top.impl.usr.zz161)) + ((X20 top.impl.usr.zz161)) (and (= top.impl.usr.zz155! (ite top.impl.usr.SP3c false top.impl.usr.zz155)) (let - ((X21 Int (ite (not (= X20 1)) 1 X19))) + ((X21 (ite (not (= X20 1)) 1 X19))) (let ((X22 - Bool (and + (and (and (>= X20 2) (<= X20 8)) (not top.usr.onOff!)))) (let - ((X23 Int (ite (= X20 4) 3 X20))) + ((X23 (ite (= X20 4) 3 X20))) (let ((X24 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) X23 X20))) (let - ((X25 Int (ite (= X24 5) 3 X24))) + ((X25 (ite (= X24 5) 3 X24))) (let ((X26 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) X25 X24))) (let - ((X27 Int (ite (= X26 6) 3 X26))) + ((X27 (ite (= X26 6) 3 X26))) (let ((X28 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) X27 X26))) (let ((X29 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) 2 X28))) (let ((X30 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) X29 X20))) (let - ((X31 Int (ite (= X30 7) 2 X30))) + ((X31 (ite (= X30 7) 2 X30))) (let ((X32 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) X31 X30))) (let - ((X33 Int (ite (= X32 8) 2 X32))) + ((X33 (ite (= X32 8) 2 X32))) (let ((X34 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) X33 X32))) (let ((X35 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) 0 X34))) (let - ((X36 Int (ite X22 X35 X20))) + ((X36 (ite X22 X35 X20))) (let ((X37 - Int (ite (not (= X36 1)) 1 X36))) + (ite (not (= X36 1)) 1 X36))) (let - ((X38 Int (ite X22 X37 X36))) + ((X38 (ite X22 X37 X36))) (let ((X39 - Bool (and + (and (= X38 1) (and top.usr.onOff! (not X22))))) (let ((X40 - Int (ite (= X38 1) 0 X38))) + (ite (= X38 1) 0 X38))) (let - ((X41 Int (ite X39 X40 X38))) + ((X41 (ite X39 X40 X38))) (let ((X42 - Int (ite + (ite (not (= X36 1)) 1 X19))) (let ((X43 - Int (ite X22 X42 X19))) + (ite X22 X42 X19))) (let ((X44 - Int (ite + (ite (not (and (>= X41 2) @@ -4853,7 +4457,7 @@ X41))) (let ((X45 - Bool (and + (and (not (and (>= X41 2) @@ -4863,46 +4467,46 @@ (<= X44 8))))) (let ((X46 - Int (ite + (ite (not (= X44 7)) 2 X43))) (let ((X47 - Int (ite X45 X46 X43))) + (ite X45 X46 X43))) (let ((X48 - Int (ite + (ite X39 X47 X43))) (let ((X49 - Int (ite + (ite (not (= X44 7)) 7 X44))) (let ((X50 - Int (ite + (ite X45 X49 X44))) (let ((X51 - Int (ite + (ite X39 X50 X41))) (let ((X52 - Bool (or + (or X39 X22))) (let ((X53 - Bool (and + (and (and (>= X51 @@ -4913,13 +4517,13 @@ (not X4)))) (let ((X54 - Int (ite + (ite (= X51 4) 3 X51))) (let ((X55 - Int (ite + (ite (and (>= X51 @@ -4931,14 +4535,12 @@ X51))) (let ((X56 - Int (ite (= X55 5) 3 X55))) (let ((X57 - Int (ite (and (>= @@ -4951,14 +4553,12 @@ X55))) (let ((X58 - Int (ite (= X57 6) 3 X57))) (let ((X59 - Int (ite (and (>= @@ -4971,7 +4571,6 @@ X57))) (let ((X60 - Int (ite (and (>= @@ -4984,14 +4583,12 @@ X59))) (let ((X61 - Int (ite X53 X60 X51))) (let ((X62 - Int (ite (not (= X61 8)) @@ -4999,14 +4596,12 @@ X61))) (let ((X63 - Int (ite X53 X62 X61))) (let ((X64 - Bool (and (= X63 8) (and @@ -5028,21 +4623,18 @@ (not X53))))) (let ((X65 - Int (ite (= X63 8) 2 X63))) (let ((X66 - Int (ite X64 X65 X63))) (let ((X67 - Int (ite (not (and @@ -5056,7 +4648,6 @@ X66))) (let ((X68 - Bool (and (not (and @@ -5075,7 +4666,6 @@ 6))))) (let ((X69 - Int (ite (not (= X67 4)) @@ -5083,27 +4673,23 @@ X67))) (let ((X70 - Int (ite X68 X69 X67))) (let ((X71 - Int (ite X64 X70 X66))) (let ((X72 - Bool (or X64 X53))) (let ((X73 - Bool (and (= X71 8) (and @@ -5125,21 +4711,18 @@ (not X72))))) (let ((X74 - Int (ite (= X71 8) 2 X71))) (let ((X75 - Int (ite X73 X74 X71))) (let ((X76 - Int (ite (not (and @@ -5153,7 +4736,6 @@ X75))) (let ((X77 - Bool (and (not (and @@ -5172,7 +4754,6 @@ 6))))) (let ((X78 - Int (ite (not (= X76 4)) @@ -5180,27 +4761,23 @@ X76))) (let ((X79 - Int (ite X77 X78 X76))) (let ((X80 - Int (ite X73 X79 X75))) (let ((X81 - Bool (or X73 X72))) (let ((X82 - Bool (and (= X80 7) (and @@ -5222,21 +4799,18 @@ (not X81))))) (let ((X83 - Int (ite (= X80 7) 2 X80))) (let ((X84 - Int (ite X82 X83 X80))) (let ((X85 - Int (ite (not (= X61 8)) @@ -5244,14 +4818,12 @@ X48))) (let ((X86 - Int (ite X53 X85 X48))) (let ((X87 - Int (ite (not (= X67 4)) @@ -5259,21 +4831,18 @@ X86))) (let ((X88 - Int (ite X68 X87 X86))) (let ((X89 - Int (ite X64 X88 X86))) (let ((X90 - Int (ite (not (= X76 4)) @@ -5281,21 +4850,18 @@ X89))) (let ((X91 - Int (ite X77 X90 X89))) (let ((X92 - Int (ite X73 X91 X89))) (let ((X93 - Int (ite (not (and @@ -5309,7 +4875,6 @@ X84))) (let ((X94 - Bool (and (not (and @@ -5328,7 +4893,6 @@ 6))))) (let ((X95 - Int (ite (not (= X93 4)) @@ -5336,21 +4900,18 @@ X92))) (let ((X96 - Int (ite X94 X95 X92))) (let ((X97 - Int (ite X82 X96 X92))) (let ((X98 - Int (ite (not (= X93 4)) @@ -5358,27 +4919,23 @@ X93))) (let ((X99 - Int (ite X94 X98 X93))) (let ((X100 - Int (ite X82 X99 X84))) (let ((X101 - Bool (or X82 X81))) (let ((X102 - Bool (and (= X100 @@ -5392,7 +4949,6 @@ 0))))) (let ((X103 - Int (ite (= X100 @@ -5401,14 +4957,12 @@ X100))) (let ((X104 - Int (ite X102 X103 X100))) (let ((X105 - Int (ite (not (= @@ -5418,14 +4972,12 @@ X104))) (let ((X106 - Int (ite X102 X105 X104))) (let ((X107 - Bool (and (= X106 @@ -5442,7 +4994,6 @@ X102))))) (let ((X108 - Int (ite (= X106 @@ -5451,14 +5002,12 @@ X106))) (let ((X109 - Int (ite X107 X108 X106))) (let ((X110 - Int (ite (not (= @@ -5468,20 +5017,17 @@ X109))) (let ((X111 - Int (ite X107 X110 X109))) (let ((X112 - Bool (or X107 X102))) (let ((X113 - Bool (and (= X111 @@ -5498,7 +5044,6 @@ X112))))) (let ((X114 - Int (ite (= X111 @@ -5507,14 +5052,12 @@ X111))) (let ((X115 - Int (ite X113 X114 X111))) (let ((X116 - Int (ite (not (= @@ -5524,20 +5067,17 @@ X115))) (let ((X117 - Int (ite X113 X116 X115))) (let ((X118 - Bool (or X113 X112))) (let ((X119 - Bool (and (= X117 @@ -5555,7 +5095,6 @@ X118))))) (let ((X120 - Int (ite (= X117 @@ -5564,14 +5103,12 @@ X117))) (let ((X121 - Int (ite X119 X120 X117))) (let ((X122 - Int (ite (not (= @@ -5581,20 +5118,17 @@ X121))) (let ((X123 - Int (ite X119 X122 X121))) (let ((X124 - Bool (or X119 X118))) (let ((X125 - Bool (and (= X123 @@ -5612,7 +5146,6 @@ X124))))) (let ((X126 - Int (ite (= X123 @@ -5621,14 +5154,12 @@ X123))) (let ((X127 - Int (ite X125 X126 X123))) (let ((X128 - Int (ite (not (= @@ -5638,14 +5169,12 @@ X97))) (let ((X129 - Int (ite X102 X128 X97))) (let ((X130 - Int (ite (not (= @@ -5655,14 +5184,12 @@ X129))) (let ((X131 - Int (ite X107 X130 X129))) (let ((X132 - Int (ite (not (= @@ -5672,14 +5199,12 @@ X131))) (let ((X133 - Int (ite X113 X132 X131))) (let ((X134 - Int (ite (not (= @@ -5689,14 +5214,12 @@ X133))) (let ((X135 - Int (ite X119 X134 X133))) (let ((X136 - Int (ite (not (= @@ -5706,14 +5229,12 @@ X135))) (let ((X137 - Int (ite X125 X136 X135))) (let ((X138 - Int (ite (and (not @@ -5729,7 +5250,6 @@ X97))) (let ((X139 - Int (ite (and (not X52) @@ -5757,39 +5277,34 @@ X19)) (let ((X140 - Bool (= top.impl.usr.mode! 3))) (let ((X141 - Real (ite X140 X1 0.0))) (let ((X142 - Bool (= top.impl.usr.mode! 4))) (let ((X143 - Real (ite X142 X1 X141))) (let ((X144 - Bool (= top.impl.usr.mode! 5))) (let ((X145 - Bool X144)) + X144)) (and (= top.impl.usr.zz4! @@ -5812,24 +5327,22 @@ top.impl.usr.zz3! (- X1 - (/ 1 20)) + (/ 1.0 20.0)) top.impl.usr.zz5))) (let ((X146 - Real (ite X145 top.impl.usr.zz5! X143))) (let ((X147 - Bool (= top.impl.usr.mode! 6))) (let ((X148 - Bool X147)) + X147)) (and (= top.impl.usr.zz1! @@ -5852,36 +5365,31 @@ top.impl.usr.zz0! (+ X1 - (/ 1 20)) + (/ 1.0 20.0)) top.impl.usr.zz2))) (let ((X149 - Real (ite X148 top.impl.usr.zz2! X146))) (let ((X150 - Bool (= X149 0.0))) (let ((X151 - Bool (= top.impl.usr.mode! 1))) (let ((X152 - Bool (= top.impl.usr.mode! 2))) (let ((X153 - Bool (or X151 X152))) @@ -5894,7 +5402,6 @@ X150)) (let ((X154 - Int (ite (not (= X20 1)) @@ -5902,7 +5409,6 @@ X20))) (let ((X155 - Int (ite (not (= @@ -5912,14 +5418,12 @@ X127))) (let ((X156 - Int (ite X125 X155 X127))) (let ((X157 - Int (ite (and (not @@ -5935,7 +5439,6 @@ X100))) (let ((X158 - Int (ite (and (not X52) @@ -5950,7 +5453,6 @@ X51))) (let ((X159 - Int (ite top.impl.usr.SP3c! (ite @@ -5964,17 +5466,15 @@ X159) (let ((X160 - Bool top.impl.usr.zz162)) + top.impl.usr.zz162)) (let ((X161 - Bool (ite (= X20 4) false X160))) (let ((X162 - Bool (ite (and (>= @@ -5987,7 +5487,6 @@ X160))) (let ((X163 - Bool (ite (and (>= @@ -6000,21 +5499,18 @@ X160))) (let ((X164 - Bool (ite X22 X163 X160))) (let ((X165 - Bool (ite (= X51 4) false X164))) (let ((X166 - Bool (ite (and (>= @@ -6027,34 +5523,29 @@ X164))) (let ((X167 - Bool (ite X53 X166 X164))) (let ((X168 - Bool (ite X64 true X167))) (let ((X169 - Bool (ite X82 true X168))) (let ((X170 - Bool (or X125 X124))) (let ((X171 - Bool (ite (= X100 @@ -6063,21 +5554,18 @@ X169))) (let ((X172 - Bool (ite X102 X171 X169))) (let ((X173 - Bool (ite X102 true X172))) (let ((X174 - Bool (ite (= X106 @@ -6086,14 +5574,12 @@ X173))) (let ((X175 - Bool (ite X107 X174 X173))) (let ((X176 - Bool (ite (= X111 @@ -6102,14 +5588,12 @@ X175))) (let ((X177 - Bool (ite X113 X176 X175))) (let ((X178 - Bool (ite (and (not @@ -6121,7 +5605,6 @@ X177))) (let ((X179 - Bool (ite (and (not @@ -6137,7 +5620,6 @@ X169))) (let ((X180 - Bool (ite (and (not X52) @@ -6162,7 +5644,6 @@ X160)) (let ((X181 - Real (ite top.impl.usr.zz162! top.usr.carSpeed! diff --git a/lib-nonconforming/Inv_Track/andrew_lustre/ccp16.lus.sl b/lib/Inv_Track/andrew_lustre/ccp16.lus.sl similarity index 91% rename from lib-nonconforming/Inv_Track/andrew_lustre/ccp16.lus.sl rename to lib/Inv_Track/andrew_lustre/ccp16.lus.sl index a3af2d5e..0d6a53a3 100644 --- a/lib-nonconforming/Inv_Track/andrew_lustre/ccp16.lus.sl +++ b/lib/Inv_Track/andrew_lustre/ccp16.lus.sl @@ -1,4 +1,4 @@ -(set-logic SAT) +(set-logic UF) (define-fun __node_init_top_0 ( @@ -28,9 +28,6 @@ )) -(declare-primed-var top.usr.OK Bool) -(declare-primed-var top.res.init_flag Bool) - (define-fun init ( (top.usr.OK Bool) diff --git a/lib-nonconforming/Inv_Track/andrew_lustre/ccp17.lus.sl b/lib/Inv_Track/andrew_lustre/ccp17.lus.sl similarity index 88% rename from lib-nonconforming/Inv_Track/andrew_lustre/ccp17.lus.sl rename to lib/Inv_Track/andrew_lustre/ccp17.lus.sl index 9932606d..432d3464 100644 --- a/lib-nonconforming/Inv_Track/andrew_lustre/ccp17.lus.sl +++ b/lib/Inv_Track/andrew_lustre/ccp17.lus.sl @@ -31,14 +31,14 @@ ) Bool (let - ((X1 Real 0.0)) + ((X1 0.0)) (let - ((X2 Bool (>= top.usr.carSpeed_a_0 15.0))) + ((X2 (>= top.usr.carSpeed_a_0 15.0))) (let - ((X3 Bool (= top.usr.carGear_a_0 3))) + ((X3 (= top.usr.carGear_a_0 3))) (let ((X4 - Bool (and + (and (and (and (and (not top.usr.cancel_a_0) (not top.usr.brakePedal_a_0)) @@ -46,143 +46,143 @@ X2) top.usr.validInputs_a_0))) (let - ((X5 Bool true)) + ((X5 true)) (and (= top.impl.usr.zz183_a_0 top.usr.decelSet_a_0) (let - ((X6 Bool (and (not X5) top.impl.usr.zz183_a_0))) + ((X6 (and (not X5) top.impl.usr.zz183_a_0))) (let - ((X7 Bool true)) + ((X7 true)) (and (= top.impl.usr.zz178_a_0 top.usr.accelResume_a_0) (let - ((X8 Bool (and (not X7) top.impl.usr.zz178_a_0))) + ((X8 (and (not X7) top.impl.usr.zz178_a_0))) (let - ((X9 Int 0)) + ((X9 0)) (let - ((X10 Int (+ X9 1))) + ((X10 (+ X9 1))) (let - ((X11 Int (ite top.usr.decelSet_a_0 X10 0))) + ((X11 (ite top.usr.decelSet_a_0 X10 0))) (let - ((X12 Int (ite (>= 0 X11) 0 X11))) + ((X12 (ite (>= 0 X11) 0 X11))) (and (= top.impl.usr.zz176_a_0 (ite (<= X12 20) X12 20)) (let - ((X13 Bool (= top.impl.usr.zz176_a_0 20))) + ((X13 (= top.impl.usr.zz176_a_0 20))) (let - ((X14 Int 0)) + ((X14 0)) (let - ((X15 Int (+ X14 1))) + ((X15 (+ X14 1))) (let - ((X16 Int (ite top.usr.accelResume_a_0 X15 0))) + ((X16 (ite top.usr.accelResume_a_0 X15 0))) (let - ((X17 Int (ite (>= 0 X16) 0 X16))) + ((X17 (ite (>= 0 X16) 0 X16))) (and (= top.impl.usr.zz170_a_0 (ite (<= X17 20) X17 20)) (let - ((X18 Bool (= top.impl.usr.zz170_a_0 20))) + ((X18 (= top.impl.usr.zz170_a_0 20))) (let - ((X19 Int 0)) + ((X19 0)) (let - ((X20 Int 0)) + ((X20 0)) (and (= top.impl.usr.zz155_a_0 true) (let - ((X21 Int (ite (not (= X20 1)) 1 X19))) + ((X21 (ite (not (= X20 1)) 1 X19))) (let ((X22 - Bool (and + (and (and (>= X20 2) (<= X20 8)) (not top.usr.onOff_a_0)))) (let - ((X23 Int (ite (= X20 4) 3 X20))) + ((X23 (ite (= X20 4) 3 X20))) (let ((X24 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) X23 X20))) (let - ((X25 Int (ite (= X24 5) 3 X24))) + ((X25 (ite (= X24 5) 3 X24))) (let ((X26 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) X25 X24))) (let - ((X27 Int (ite (= X26 6) 3 X26))) + ((X27 (ite (= X26 6) 3 X26))) (let ((X28 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) X27 X26))) (let ((X29 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) 2 X28))) (let ((X30 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) X29 X20))) (let - ((X31 Int (ite (= X30 7) 2 X30))) + ((X31 (ite (= X30 7) 2 X30))) (let ((X32 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) X31 X30))) (let - ((X33 Int (ite (= X32 8) 2 X32))) + ((X33 (ite (= X32 8) 2 X32))) (let ((X34 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) X33 X32))) (let ((X35 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) 0 X34))) (let - ((X36 Int (ite X22 X35 X20))) + ((X36 (ite X22 X35 X20))) (let ((X37 - Int (ite (not (= X36 1)) 1 X36))) + (ite (not (= X36 1)) 1 X36))) (let - ((X38 Int (ite X22 X37 X36))) + ((X38 (ite X22 X37 X36))) (let ((X39 - Bool (and + (and (= X38 1) (and top.usr.onOff_a_0 (not X22))))) (let ((X40 - Int (ite (= X38 1) 0 X38))) + (ite (= X38 1) 0 X38))) (let - ((X41 Int (ite X39 X40 X38))) + ((X41 (ite X39 X40 X38))) (let ((X42 - Int (ite + (ite (not (= X36 1)) 1 X19))) (let ((X43 - Int (ite X22 X42 X19))) + (ite X22 X42 X19))) (let ((X44 - Int (ite + (ite (not (and (>= X41 2) @@ -191,7 +191,7 @@ X41))) (let ((X45 - Bool (and + (and (not (and (>= X41 2) @@ -201,46 +201,46 @@ (<= X44 8))))) (let ((X46 - Int (ite + (ite (not (= X44 7)) 2 X43))) (let ((X47 - Int (ite X45 X46 X43))) + (ite X45 X46 X43))) (let ((X48 - Int (ite + (ite X39 X47 X43))) (let ((X49 - Int (ite + (ite (not (= X44 7)) 7 X44))) (let ((X50 - Int (ite + (ite X45 X49 X44))) (let ((X51 - Int (ite + (ite X39 X50 X41))) (let ((X52 - Bool (or + (or X39 X22))) (let ((X53 - Bool (and + (and (and (>= X51 @@ -251,13 +251,13 @@ (not X4)))) (let ((X54 - Int (ite + (ite (= X51 4) 3 X51))) (let ((X55 - Int (ite + (ite (and (>= X51 @@ -269,14 +269,12 @@ X51))) (let ((X56 - Int (ite (= X55 5) 3 X55))) (let ((X57 - Int (ite (and (>= @@ -289,14 +287,12 @@ X55))) (let ((X58 - Int (ite (= X57 6) 3 X57))) (let ((X59 - Int (ite (and (>= @@ -309,7 +305,6 @@ X57))) (let ((X60 - Int (ite (and (>= @@ -322,14 +317,12 @@ X59))) (let ((X61 - Int (ite X53 X60 X51))) (let ((X62 - Int (ite (not (= X61 8)) @@ -337,14 +330,12 @@ X61))) (let ((X63 - Int (ite X53 X62 X61))) (let ((X64 - Bool (and (= X63 8) (and @@ -366,21 +357,18 @@ (not X53))))) (let ((X65 - Int (ite (= X63 8) 2 X63))) (let ((X66 - Int (ite X64 X65 X63))) (let ((X67 - Int (ite (not (and @@ -394,7 +382,6 @@ X66))) (let ((X68 - Bool (and (not (and @@ -413,7 +400,6 @@ 6))))) (let ((X69 - Int (ite (not (= X67 4)) @@ -421,27 +407,23 @@ X67))) (let ((X70 - Int (ite X68 X69 X67))) (let ((X71 - Int (ite X64 X70 X66))) (let ((X72 - Bool (or X64 X53))) (let ((X73 - Bool (and (= X71 8) (and @@ -463,21 +445,18 @@ (not X72))))) (let ((X74 - Int (ite (= X71 8) 2 X71))) (let ((X75 - Int (ite X73 X74 X71))) (let ((X76 - Int (ite (not (and @@ -491,7 +470,6 @@ X75))) (let ((X77 - Bool (and (not (and @@ -510,7 +488,6 @@ 6))))) (let ((X78 - Int (ite (not (= X76 4)) @@ -518,27 +495,23 @@ X76))) (let ((X79 - Int (ite X77 X78 X76))) (let ((X80 - Int (ite X73 X79 X75))) (let ((X81 - Bool (or X73 X72))) (let ((X82 - Bool (and (= X80 7) (and @@ -560,21 +533,18 @@ (not X81))))) (let ((X83 - Int (ite (= X80 7) 2 X80))) (let ((X84 - Int (ite X82 X83 X80))) (let ((X85 - Int (ite (not (= X61 8)) @@ -582,14 +552,12 @@ X48))) (let ((X86 - Int (ite X53 X85 X48))) (let ((X87 - Int (ite (not (= X67 4)) @@ -597,21 +565,18 @@ X86))) (let ((X88 - Int (ite X68 X87 X86))) (let ((X89 - Int (ite X64 X88 X86))) (let ((X90 - Int (ite (not (= X76 4)) @@ -619,21 +584,18 @@ X89))) (let ((X91 - Int (ite X77 X90 X89))) (let ((X92 - Int (ite X73 X91 X89))) (let ((X93 - Int (ite (not (and @@ -647,7 +609,6 @@ X84))) (let ((X94 - Bool (and (not (and @@ -666,7 +627,6 @@ 6))))) (let ((X95 - Int (ite (not (= X93 4)) @@ -674,21 +634,18 @@ X92))) (let ((X96 - Int (ite X94 X95 X92))) (let ((X97 - Int (ite X82 X96 X92))) (let ((X98 - Int (ite (not (= X93 4)) @@ -696,27 +653,23 @@ X93))) (let ((X99 - Int (ite X94 X98 X93))) (let ((X100 - Int (ite X82 X99 X84))) (let ((X101 - Bool (or X82 X81))) (let ((X102 - Bool (and (= X100 @@ -730,7 +683,6 @@ 0))))) (let ((X103 - Int (ite (= X100 @@ -739,14 +691,12 @@ X100))) (let ((X104 - Int (ite X102 X103 X100))) (let ((X105 - Int (ite (not (= @@ -756,14 +706,12 @@ X104))) (let ((X106 - Int (ite X102 X105 X104))) (let ((X107 - Bool (and (= X106 @@ -780,7 +728,6 @@ X102))))) (let ((X108 - Int (ite (= X106 @@ -789,14 +736,12 @@ X106))) (let ((X109 - Int (ite X107 X108 X106))) (let ((X110 - Int (ite (not (= @@ -806,20 +751,17 @@ X109))) (let ((X111 - Int (ite X107 X110 X109))) (let ((X112 - Bool (or X107 X102))) (let ((X113 - Bool (and (= X111 @@ -836,7 +778,6 @@ X112))))) (let ((X114 - Int (ite (= X111 @@ -845,14 +786,12 @@ X111))) (let ((X115 - Int (ite X113 X114 X111))) (let ((X116 - Int (ite (not (= @@ -862,20 +801,17 @@ X115))) (let ((X117 - Int (ite X113 X116 X115))) (let ((X118 - Bool (or X113 X112))) (let ((X119 - Bool (and (= X117 @@ -893,7 +829,6 @@ X118))))) (let ((X120 - Int (ite (= X117 @@ -902,14 +837,12 @@ X117))) (let ((X121 - Int (ite X119 X120 X117))) (let ((X122 - Int (ite (not (= @@ -919,20 +852,17 @@ X121))) (let ((X123 - Int (ite X119 X122 X121))) (let ((X124 - Bool (or X119 X118))) (let ((X125 - Bool (and (= X123 @@ -950,7 +880,6 @@ X124))))) (let ((X126 - Int (ite (= X123 @@ -959,14 +888,12 @@ X123))) (let ((X127 - Int (ite X125 X126 X123))) (let ((X128 - Int (ite (not (= @@ -976,14 +903,12 @@ X97))) (let ((X129 - Int (ite X102 X128 X97))) (let ((X130 - Int (ite (not (= @@ -993,14 +918,12 @@ X129))) (let ((X131 - Int (ite X107 X130 X129))) (let ((X132 - Int (ite (not (= @@ -1010,14 +933,12 @@ X131))) (let ((X133 - Int (ite X113 X132 X131))) (let ((X134 - Int (ite (not (= @@ -1027,14 +948,12 @@ X133))) (let ((X135 - Int (ite X119 X134 X133))) (let ((X136 - Int (ite (not (= @@ -1044,14 +963,12 @@ X135))) (let ((X137 - Int (ite X125 X136 X135))) (let ((X138 - Int (ite (and (not @@ -1067,7 +984,6 @@ X97))) (let ((X139 - Int (ite (and (not X52) @@ -1095,39 +1011,34 @@ X19)) (let ((X140 - Bool (= top.impl.usr.mode_a_0 3))) (let ((X141 - Real (ite X140 X1 0.0))) (let ((X142 - Bool (= top.impl.usr.mode_a_0 4))) (let ((X143 - Real (ite X142 X1 X141))) (let ((X144 - Bool (= top.impl.usr.mode_a_0 5))) (let ((X145 - Bool X144)) + X144)) (and (= top.impl.usr.zz4_a_0 @@ -1145,23 +1056,21 @@ 0.0 (- X1 - (/ 1 20)))) + (/ 1.0 20.0)))) (let ((X146 - Real (ite X145 top.impl.usr.zz5_a_0 X143))) (let ((X147 - Bool (= top.impl.usr.mode_a_0 6))) (let ((X148 - Bool X147)) + X147)) (and (= top.impl.usr.zz1_a_0 @@ -1179,27 +1088,24 @@ 0.0 (+ X1 - (/ 1 20)))) + (/ 1.0 20.0)))) (let ((X149 - Real (ite X148 top.impl.usr.zz2_a_0 X146))) (let ((X150 - Bool false)) + false)) (let ((X151 - Bool (ite (= X20 4) false X150))) (let ((X152 - Bool (ite (and (>= @@ -1212,7 +1118,6 @@ X150))) (let ((X153 - Bool (ite (and (>= @@ -1225,21 +1130,18 @@ X150))) (let ((X154 - Bool (ite X22 X153 X150))) (let ((X155 - Bool (ite (= X51 4) false X154))) (let ((X156 - Bool (ite (and (>= @@ -1252,28 +1154,24 @@ X154))) (let ((X157 - Bool (ite X53 X156 X154))) (let ((X158 - Bool (ite X64 true X157))) (let ((X159 - Bool (ite X82 true X158))) (let ((X160 - Int (ite (not (= @@ -1283,20 +1181,17 @@ X127))) (let ((X161 - Int (ite X125 X160 X127))) (let ((X162 - Bool (or X125 X124))) (let ((X163 - Bool (ite (= X100 @@ -1305,21 +1200,18 @@ X159))) (let ((X164 - Bool (ite X102 X163 X159))) (let ((X165 - Bool (ite X102 true X164))) (let ((X166 - Bool (ite (= X106 @@ -1328,14 +1220,12 @@ X165))) (let ((X167 - Bool (ite X107 X166 X165))) (let ((X168 - Bool (ite (= X111 @@ -1344,14 +1234,12 @@ X167))) (let ((X169 - Bool (ite X113 X168 X167))) (let ((X170 - Bool (ite (and (not @@ -1363,7 +1251,6 @@ X169))) (let ((X171 - Bool (ite (and (not @@ -1379,7 +1266,6 @@ X159))) (let ((X172 - Bool (ite (and (not X52) @@ -1404,26 +1290,22 @@ X150)) (let ((X173 - Real (ite top.impl.usr.zz162_a_0 top.usr.carSpeed_a_0 X149))) (let ((X174 - Bool (= top.impl.usr.mode_a_0 1))) (let ((X175 - Bool (= top.impl.usr.mode_a_0 2))) (let ((X176 - Bool (or X174 X175))) @@ -1443,7 +1325,6 @@ X173))) (let ((X177 - Bool (= top.impl.usr.desiredSpeed_a_0 0.0))) @@ -1456,7 +1337,6 @@ X177)) (let ((X178 - Int (ite (not (= X20 1)) @@ -1464,7 +1344,6 @@ X20))) (let ((X179 - Int (ite (and (not @@ -1480,7 +1359,6 @@ X100))) (let ((X180 - Int (ite (and (not X52) @@ -1495,7 +1373,6 @@ X51))) (let ((X181 - Int (ite top.impl.usr.OKc_a_0 (ite @@ -1567,14 +1444,14 @@ ) Bool (let - ((X1 Real top.impl.usr.desiredSpeed_a_0)) + ((X1 top.impl.usr.desiredSpeed_a_0)) (let - ((X2 Bool (>= top.usr.carSpeed_a_1 15.0))) + ((X2 (>= top.usr.carSpeed_a_1 15.0))) (let - ((X3 Bool (= top.usr.carGear_a_1 3))) + ((X3 (= top.usr.carGear_a_1 3))) (let ((X4 - Bool (and + (and (and (and (and (not top.usr.cancel_a_1) (not top.usr.brakePedal_a_1)) @@ -1582,45 +1459,45 @@ X2) top.usr.validInputs_a_1))) (let - ((X5 Bool top.impl.usr.zz183_a_0)) + ((X5 top.impl.usr.zz183_a_0)) (and (= top.impl.usr.zz183_a_1 top.usr.decelSet_a_1) (let - ((X6 Bool (and (not X5) top.impl.usr.zz183_a_1))) + ((X6 (and (not X5) top.impl.usr.zz183_a_1))) (let - ((X7 Bool top.impl.usr.zz178_a_0)) + ((X7 top.impl.usr.zz178_a_0)) (and (= top.impl.usr.zz178_a_1 top.usr.accelResume_a_1) (let - ((X8 Bool (and (not X7) top.impl.usr.zz178_a_1))) + ((X8 (and (not X7) top.impl.usr.zz178_a_1))) (let - ((X9 Int top.impl.usr.zz176_a_0)) + ((X9 top.impl.usr.zz176_a_0)) (let - ((X10 Int (+ X9 1))) + ((X10 (+ X9 1))) (let - ((X11 Int (ite top.usr.decelSet_a_1 X10 0))) + ((X11 (ite top.usr.decelSet_a_1 X10 0))) (let - ((X12 Int (ite (>= 0 X11) 0 X11))) + ((X12 (ite (>= 0 X11) 0 X11))) (and (= top.impl.usr.zz176_a_1 (ite (<= X12 20) X12 20)) (let - ((X13 Bool (= top.impl.usr.zz176_a_1 20))) + ((X13 (= top.impl.usr.zz176_a_1 20))) (let - ((X14 Int top.impl.usr.zz170_a_0)) + ((X14 top.impl.usr.zz170_a_0)) (let - ((X15 Int (+ X14 1))) + ((X15 (+ X14 1))) (let - ((X16 Int (ite top.usr.accelResume_a_1 X15 0))) + ((X16 (ite top.usr.accelResume_a_1 X15 0))) (let - ((X17 Int (ite (>= 0 X16) 0 X16))) + ((X17 (ite (>= 0 X16) 0 X16))) (and (= top.impl.usr.zz170_a_1 (ite (<= X17 20) X17 20)) (let - ((X18 Bool (= top.impl.usr.zz170_a_1 20))) + ((X18 (= top.impl.usr.zz170_a_1 20))) (let - ((X19 Int top.impl.usr.mode_a_0)) + ((X19 top.impl.usr.mode_a_0)) (let - ((X20 Int top.impl.usr.zz161_a_0)) + ((X20 top.impl.usr.zz161_a_0)) (and (= top.impl.usr.zz155_a_1 @@ -1629,101 +1506,101 @@ false top.impl.usr.zz155_a_0)) (let - ((X21 Int (ite (not (= X20 1)) 1 X19))) + ((X21 (ite (not (= X20 1)) 1 X19))) (let ((X22 - Bool (and + (and (and (>= X20 2) (<= X20 8)) (not top.usr.onOff_a_1)))) (let - ((X23 Int (ite (= X20 4) 3 X20))) + ((X23 (ite (= X20 4) 3 X20))) (let ((X24 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) X23 X20))) (let - ((X25 Int (ite (= X24 5) 3 X24))) + ((X25 (ite (= X24 5) 3 X24))) (let ((X26 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) X25 X24))) (let - ((X27 Int (ite (= X26 6) 3 X26))) + ((X27 (ite (= X26 6) 3 X26))) (let ((X28 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) X27 X26))) (let ((X29 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) 2 X28))) (let ((X30 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) X29 X20))) (let - ((X31 Int (ite (= X30 7) 2 X30))) + ((X31 (ite (= X30 7) 2 X30))) (let ((X32 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) X31 X30))) (let - ((X33 Int (ite (= X32 8) 2 X32))) + ((X33 (ite (= X32 8) 2 X32))) (let ((X34 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) X33 X32))) (let ((X35 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) 0 X34))) (let - ((X36 Int (ite X22 X35 X20))) + ((X36 (ite X22 X35 X20))) (let ((X37 - Int (ite (not (= X36 1)) 1 X36))) + (ite (not (= X36 1)) 1 X36))) (let - ((X38 Int (ite X22 X37 X36))) + ((X38 (ite X22 X37 X36))) (let ((X39 - Bool (and + (and (= X38 1) (and top.usr.onOff_a_1 (not X22))))) (let ((X40 - Int (ite (= X38 1) 0 X38))) + (ite (= X38 1) 0 X38))) (let - ((X41 Int (ite X39 X40 X38))) + ((X41 (ite X39 X40 X38))) (let ((X42 - Int (ite + (ite (not (= X36 1)) 1 X19))) (let ((X43 - Int (ite X22 X42 X19))) + (ite X22 X42 X19))) (let ((X44 - Int (ite + (ite (not (and (>= X41 2) @@ -1732,7 +1609,7 @@ X41))) (let ((X45 - Bool (and + (and (not (and (>= X41 2) @@ -1742,46 +1619,46 @@ (<= X44 8))))) (let ((X46 - Int (ite + (ite (not (= X44 7)) 2 X43))) (let ((X47 - Int (ite X45 X46 X43))) + (ite X45 X46 X43))) (let ((X48 - Int (ite + (ite X39 X47 X43))) (let ((X49 - Int (ite + (ite (not (= X44 7)) 7 X44))) (let ((X50 - Int (ite + (ite X45 X49 X44))) (let ((X51 - Int (ite + (ite X39 X50 X41))) (let ((X52 - Bool (or + (or X39 X22))) (let ((X53 - Bool (and + (and (and (>= X51 @@ -1792,13 +1669,13 @@ (not X4)))) (let ((X54 - Int (ite + (ite (= X51 4) 3 X51))) (let ((X55 - Int (ite + (ite (and (>= X51 @@ -1810,14 +1687,12 @@ X51))) (let ((X56 - Int (ite (= X55 5) 3 X55))) (let ((X57 - Int (ite (and (>= @@ -1830,14 +1705,12 @@ X55))) (let ((X58 - Int (ite (= X57 6) 3 X57))) (let ((X59 - Int (ite (and (>= @@ -1850,7 +1723,6 @@ X57))) (let ((X60 - Int (ite (and (>= @@ -1863,14 +1735,12 @@ X59))) (let ((X61 - Int (ite X53 X60 X51))) (let ((X62 - Int (ite (not (= X61 8)) @@ -1878,14 +1748,12 @@ X61))) (let ((X63 - Int (ite X53 X62 X61))) (let ((X64 - Bool (and (= X63 8) (and @@ -1907,21 +1775,18 @@ (not X53))))) (let ((X65 - Int (ite (= X63 8) 2 X63))) (let ((X66 - Int (ite X64 X65 X63))) (let ((X67 - Int (ite (not (and @@ -1935,7 +1800,6 @@ X66))) (let ((X68 - Bool (and (not (and @@ -1954,7 +1818,6 @@ 6))))) (let ((X69 - Int (ite (not (= X67 4)) @@ -1962,27 +1825,23 @@ X67))) (let ((X70 - Int (ite X68 X69 X67))) (let ((X71 - Int (ite X64 X70 X66))) (let ((X72 - Bool (or X64 X53))) (let ((X73 - Bool (and (= X71 8) (and @@ -2004,21 +1863,18 @@ (not X72))))) (let ((X74 - Int (ite (= X71 8) 2 X71))) (let ((X75 - Int (ite X73 X74 X71))) (let ((X76 - Int (ite (not (and @@ -2032,7 +1888,6 @@ X75))) (let ((X77 - Bool (and (not (and @@ -2051,7 +1906,6 @@ 6))))) (let ((X78 - Int (ite (not (= X76 4)) @@ -2059,27 +1913,23 @@ X76))) (let ((X79 - Int (ite X77 X78 X76))) (let ((X80 - Int (ite X73 X79 X75))) (let ((X81 - Bool (or X73 X72))) (let ((X82 - Bool (and (= X80 7) (and @@ -2101,21 +1951,18 @@ (not X81))))) (let ((X83 - Int (ite (= X80 7) 2 X80))) (let ((X84 - Int (ite X82 X83 X80))) (let ((X85 - Int (ite (not (= X61 8)) @@ -2123,14 +1970,12 @@ X48))) (let ((X86 - Int (ite X53 X85 X48))) (let ((X87 - Int (ite (not (= X67 4)) @@ -2138,21 +1983,18 @@ X86))) (let ((X88 - Int (ite X68 X87 X86))) (let ((X89 - Int (ite X64 X88 X86))) (let ((X90 - Int (ite (not (= X76 4)) @@ -2160,21 +2002,18 @@ X89))) (let ((X91 - Int (ite X77 X90 X89))) (let ((X92 - Int (ite X73 X91 X89))) (let ((X93 - Int (ite (not (and @@ -2188,7 +2027,6 @@ X84))) (let ((X94 - Bool (and (not (and @@ -2207,7 +2045,6 @@ 6))))) (let ((X95 - Int (ite (not (= X93 4)) @@ -2215,21 +2052,18 @@ X92))) (let ((X96 - Int (ite X94 X95 X92))) (let ((X97 - Int (ite X82 X96 X92))) (let ((X98 - Int (ite (not (= X93 4)) @@ -2237,27 +2071,23 @@ X93))) (let ((X99 - Int (ite X94 X98 X93))) (let ((X100 - Int (ite X82 X99 X84))) (let ((X101 - Bool (or X82 X81))) (let ((X102 - Bool (and (= X100 @@ -2271,7 +2101,6 @@ 0))))) (let ((X103 - Int (ite (= X100 @@ -2280,14 +2109,12 @@ X100))) (let ((X104 - Int (ite X102 X103 X100))) (let ((X105 - Int (ite (not (= @@ -2297,14 +2124,12 @@ X104))) (let ((X106 - Int (ite X102 X105 X104))) (let ((X107 - Bool (and (= X106 @@ -2321,7 +2146,6 @@ X102))))) (let ((X108 - Int (ite (= X106 @@ -2330,14 +2154,12 @@ X106))) (let ((X109 - Int (ite X107 X108 X106))) (let ((X110 - Int (ite (not (= @@ -2347,20 +2169,17 @@ X109))) (let ((X111 - Int (ite X107 X110 X109))) (let ((X112 - Bool (or X107 X102))) (let ((X113 - Bool (and (= X111 @@ -2377,7 +2196,6 @@ X112))))) (let ((X114 - Int (ite (= X111 @@ -2386,14 +2204,12 @@ X111))) (let ((X115 - Int (ite X113 X114 X111))) (let ((X116 - Int (ite (not (= @@ -2403,20 +2219,17 @@ X115))) (let ((X117 - Int (ite X113 X116 X115))) (let ((X118 - Bool (or X113 X112))) (let ((X119 - Bool (and (= X117 @@ -2434,7 +2247,6 @@ X118))))) (let ((X120 - Int (ite (= X117 @@ -2443,14 +2255,12 @@ X117))) (let ((X121 - Int (ite X119 X120 X117))) (let ((X122 - Int (ite (not (= @@ -2460,20 +2270,17 @@ X121))) (let ((X123 - Int (ite X119 X122 X121))) (let ((X124 - Bool (or X119 X118))) (let ((X125 - Bool (and (= X123 @@ -2491,7 +2298,6 @@ X124))))) (let ((X126 - Int (ite (= X123 @@ -2500,14 +2306,12 @@ X123))) (let ((X127 - Int (ite X125 X126 X123))) (let ((X128 - Int (ite (not (= @@ -2517,14 +2321,12 @@ X97))) (let ((X129 - Int (ite X102 X128 X97))) (let ((X130 - Int (ite (not (= @@ -2534,14 +2336,12 @@ X129))) (let ((X131 - Int (ite X107 X130 X129))) (let ((X132 - Int (ite (not (= @@ -2551,14 +2351,12 @@ X131))) (let ((X133 - Int (ite X113 X132 X131))) (let ((X134 - Int (ite (not (= @@ -2568,14 +2366,12 @@ X133))) (let ((X135 - Int (ite X119 X134 X133))) (let ((X136 - Int (ite (not (= @@ -2585,14 +2381,12 @@ X135))) (let ((X137 - Int (ite X125 X136 X135))) (let ((X138 - Int (ite (and (not @@ -2608,7 +2402,6 @@ X97))) (let ((X139 - Int (ite (and (not X52) @@ -2636,39 +2429,34 @@ X19)) (let ((X140 - Bool (= top.impl.usr.mode_a_1 3))) (let ((X141 - Real (ite X140 X1 0.0))) (let ((X142 - Bool (= top.impl.usr.mode_a_1 4))) (let ((X143 - Real (ite X142 X1 X141))) (let ((X144 - Bool (= top.impl.usr.mode_a_1 5))) (let ((X145 - Bool X144)) + X144)) (and (= top.impl.usr.zz4_a_1 @@ -2691,24 +2479,22 @@ top.impl.usr.zz3_a_1 (- X1 - (/ 1 20)) + (/ 1.0 20.0)) top.impl.usr.zz5_a_0))) (let ((X146 - Real (ite X145 top.impl.usr.zz5_a_1 X143))) (let ((X147 - Bool (= top.impl.usr.mode_a_1 6))) (let ((X148 - Bool X147)) + X147)) (and (= top.impl.usr.zz1_a_1 @@ -2731,28 +2517,25 @@ top.impl.usr.zz0_a_1 (+ X1 - (/ 1 20)) + (/ 1.0 20.0)) top.impl.usr.zz2_a_0))) (let ((X149 - Real (ite X148 top.impl.usr.zz2_a_1 X146))) (let ((X150 - Bool top.impl.usr.zz162_a_0)) + top.impl.usr.zz162_a_0)) (let ((X151 - Bool (ite (= X20 4) false X150))) (let ((X152 - Bool (ite (and (>= @@ -2765,7 +2548,6 @@ X150))) (let ((X153 - Bool (ite (and (>= @@ -2778,21 +2560,18 @@ X150))) (let ((X154 - Bool (ite X22 X153 X150))) (let ((X155 - Bool (ite (= X51 4) false X154))) (let ((X156 - Bool (ite (and (>= @@ -2805,28 +2584,24 @@ X154))) (let ((X157 - Bool (ite X53 X156 X154))) (let ((X158 - Bool (ite X64 true X157))) (let ((X159 - Bool (ite X82 true X158))) (let ((X160 - Int (ite (not (= @@ -2836,20 +2611,17 @@ X127))) (let ((X161 - Int (ite X125 X160 X127))) (let ((X162 - Bool (or X125 X124))) (let ((X163 - Bool (ite (= X100 @@ -2858,21 +2630,18 @@ X159))) (let ((X164 - Bool (ite X102 X163 X159))) (let ((X165 - Bool (ite X102 true X164))) (let ((X166 - Bool (ite (= X106 @@ -2881,14 +2650,12 @@ X165))) (let ((X167 - Bool (ite X107 X166 X165))) (let ((X168 - Bool (ite (= X111 @@ -2897,14 +2664,12 @@ X167))) (let ((X169 - Bool (ite X113 X168 X167))) (let ((X170 - Bool (ite (and (not @@ -2916,7 +2681,6 @@ X169))) (let ((X171 - Bool (ite (and (not @@ -2932,7 +2696,6 @@ X159))) (let ((X172 - Bool (ite (and (not X52) @@ -2957,26 +2720,22 @@ X150)) (let ((X173 - Real (ite top.impl.usr.zz162_a_1 top.usr.carSpeed_a_1 X149))) (let ((X174 - Bool (= top.impl.usr.mode_a_1 1))) (let ((X175 - Bool (= top.impl.usr.mode_a_1 2))) (let ((X176 - Bool (or X174 X175))) @@ -2996,7 +2755,6 @@ X173))) (let ((X177 - Bool (= top.impl.usr.desiredSpeed_a_1 0.0))) @@ -3009,7 +2767,6 @@ X177)) (let ((X178 - Int (ite (not (= X20 1)) @@ -3017,7 +2774,6 @@ X20))) (let ((X179 - Int (ite (and (not @@ -3033,7 +2789,6 @@ X100))) (let ((X180 - Int (ite (and (not X52) @@ -3048,7 +2803,6 @@ X51))) (let ((X181 - Int (ite top.impl.usr.OKc_a_1 (ite @@ -3096,33 +2850,6 @@ )) -(declare-primed-var top.usr.onOff Bool) -(declare-primed-var top.usr.decelSet Bool) -(declare-primed-var top.usr.accelResume Bool) -(declare-primed-var top.usr.cancel Bool) -(declare-primed-var top.usr.brakePedal Bool) -(declare-primed-var top.usr.carGear Int) -(declare-primed-var top.usr.carSpeed Real) -(declare-primed-var top.usr.validInputs Bool) -(declare-primed-var top.usr.OK Bool) -(declare-primed-var top.res.init_flag Bool) -(declare-primed-var top.impl.usr.mode Int) -(declare-primed-var top.impl.usr.desiredSpeed Real) -(declare-primed-var top.impl.usr.OKc Bool) -(declare-primed-var top.impl.usr.zz0 Bool) -(declare-primed-var top.impl.usr.zz1 Bool) -(declare-primed-var top.impl.usr.zz2 Real) -(declare-primed-var top.impl.usr.zz3 Bool) -(declare-primed-var top.impl.usr.zz4 Bool) -(declare-primed-var top.impl.usr.zz5 Real) -(declare-primed-var top.impl.usr.zz155 Bool) -(declare-primed-var top.impl.usr.zz161 Int) -(declare-primed-var top.impl.usr.zz162 Bool) -(declare-primed-var top.impl.usr.zz170 Int) -(declare-primed-var top.impl.usr.zz176 Int) -(declare-primed-var top.impl.usr.zz178 Bool) -(declare-primed-var top.impl.usr.zz183 Bool) - (define-fun init ( (top.usr.onOff Bool) @@ -3154,156 +2881,156 @@ ) Bool (let - ((X1 Real 0.0)) + ((X1 0.0)) (let - ((X2 Bool (>= top.usr.carSpeed 15.0))) + ((X2 (>= top.usr.carSpeed 15.0))) (let - ((X3 Bool (= top.usr.carGear 3))) + ((X3 (= top.usr.carGear 3))) (let ((X4 - Bool (and + (and (and (and (and (not top.usr.cancel) (not top.usr.brakePedal)) X3) X2) top.usr.validInputs))) (let - ((X5 Bool true)) + ((X5 true)) (and (= top.impl.usr.zz183 top.usr.decelSet) (let - ((X6 Bool (and (not X5) top.impl.usr.zz183))) + ((X6 (and (not X5) top.impl.usr.zz183))) (let - ((X7 Bool true)) + ((X7 true)) (and (= top.impl.usr.zz178 top.usr.accelResume) (let - ((X8 Bool (and (not X7) top.impl.usr.zz178))) + ((X8 (and (not X7) top.impl.usr.zz178))) (let - ((X9 Int 0)) + ((X9 0)) (let - ((X10 Int (+ X9 1))) + ((X10 (+ X9 1))) (let - ((X11 Int (ite top.usr.decelSet X10 0))) + ((X11 (ite top.usr.decelSet X10 0))) (let - ((X12 Int (ite (>= 0 X11) 0 X11))) + ((X12 (ite (>= 0 X11) 0 X11))) (and (= top.impl.usr.zz176 (ite (<= X12 20) X12 20)) (let - ((X13 Bool (= top.impl.usr.zz176 20))) + ((X13 (= top.impl.usr.zz176 20))) (let - ((X14 Int 0)) + ((X14 0)) (let - ((X15 Int (+ X14 1))) + ((X15 (+ X14 1))) (let - ((X16 Int (ite top.usr.accelResume X15 0))) + ((X16 (ite top.usr.accelResume X15 0))) (let - ((X17 Int (ite (>= 0 X16) 0 X16))) + ((X17 (ite (>= 0 X16) 0 X16))) (and (= top.impl.usr.zz170 (ite (<= X17 20) X17 20)) (let - ((X18 Bool (= top.impl.usr.zz170 20))) + ((X18 (= top.impl.usr.zz170 20))) (let - ((X19 Int 0)) + ((X19 0)) (let - ((X20 Int 0)) + ((X20 0)) (and (= top.impl.usr.zz155 true) (let - ((X21 Int (ite (not (= X20 1)) 1 X19))) + ((X21 (ite (not (= X20 1)) 1 X19))) (let ((X22 - Bool (and + (and (and (>= X20 2) (<= X20 8)) (not top.usr.onOff)))) (let - ((X23 Int (ite (= X20 4) 3 X20))) + ((X23 (ite (= X20 4) 3 X20))) (let ((X24 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) X23 X20))) (let - ((X25 Int (ite (= X24 5) 3 X24))) + ((X25 (ite (= X24 5) 3 X24))) (let ((X26 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) X25 X24))) (let - ((X27 Int (ite (= X26 6) 3 X26))) + ((X27 (ite (= X26 6) 3 X26))) (let ((X28 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) X27 X26))) (let ((X29 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) 2 X28))) (let ((X30 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) X29 X20))) (let - ((X31 Int (ite (= X30 7) 2 X30))) + ((X31 (ite (= X30 7) 2 X30))) (let ((X32 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) X31 X30))) (let - ((X33 Int (ite (= X32 8) 2 X32))) + ((X33 (ite (= X32 8) 2 X32))) (let ((X34 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) X33 X32))) (let ((X35 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) 0 X34))) (let - ((X36 Int (ite X22 X35 X20))) + ((X36 (ite X22 X35 X20))) (let ((X37 - Int (ite (not (= X36 1)) 1 X36))) + (ite (not (= X36 1)) 1 X36))) (let - ((X38 Int (ite X22 X37 X36))) + ((X38 (ite X22 X37 X36))) (let ((X39 - Bool (and + (and (= X38 1) (and top.usr.onOff (not X22))))) (let ((X40 - Int (ite (= X38 1) 0 X38))) + (ite (= X38 1) 0 X38))) (let - ((X41 Int (ite X39 X40 X38))) + ((X41 (ite X39 X40 X38))) (let ((X42 - Int (ite + (ite (not (= X36 1)) 1 X19))) (let ((X43 - Int (ite X22 X42 X19))) + (ite X22 X42 X19))) (let ((X44 - Int (ite + (ite (not (and (>= X41 2) @@ -3312,7 +3039,7 @@ X41))) (let ((X45 - Bool (and + (and (not (and (>= X41 2) @@ -3322,46 +3049,46 @@ (<= X44 8))))) (let ((X46 - Int (ite + (ite (not (= X44 7)) 2 X43))) (let ((X47 - Int (ite X45 X46 X43))) + (ite X45 X46 X43))) (let ((X48 - Int (ite + (ite X39 X47 X43))) (let ((X49 - Int (ite + (ite (not (= X44 7)) 7 X44))) (let ((X50 - Int (ite + (ite X45 X49 X44))) (let ((X51 - Int (ite + (ite X39 X50 X41))) (let ((X52 - Bool (or + (or X39 X22))) (let ((X53 - Bool (and + (and (and (>= X51 @@ -3372,13 +3099,13 @@ (not X4)))) (let ((X54 - Int (ite + (ite (= X51 4) 3 X51))) (let ((X55 - Int (ite + (ite (and (>= X51 @@ -3390,14 +3117,12 @@ X51))) (let ((X56 - Int (ite (= X55 5) 3 X55))) (let ((X57 - Int (ite (and (>= @@ -3410,14 +3135,12 @@ X55))) (let ((X58 - Int (ite (= X57 6) 3 X57))) (let ((X59 - Int (ite (and (>= @@ -3430,7 +3153,6 @@ X57))) (let ((X60 - Int (ite (and (>= @@ -3443,14 +3165,12 @@ X59))) (let ((X61 - Int (ite X53 X60 X51))) (let ((X62 - Int (ite (not (= X61 8)) @@ -3458,14 +3178,12 @@ X61))) (let ((X63 - Int (ite X53 X62 X61))) (let ((X64 - Bool (and (= X63 8) (and @@ -3487,21 +3205,18 @@ (not X53))))) (let ((X65 - Int (ite (= X63 8) 2 X63))) (let ((X66 - Int (ite X64 X65 X63))) (let ((X67 - Int (ite (not (and @@ -3515,7 +3230,6 @@ X66))) (let ((X68 - Bool (and (not (and @@ -3534,7 +3248,6 @@ 6))))) (let ((X69 - Int (ite (not (= X67 4)) @@ -3542,27 +3255,23 @@ X67))) (let ((X70 - Int (ite X68 X69 X67))) (let ((X71 - Int (ite X64 X70 X66))) (let ((X72 - Bool (or X64 X53))) (let ((X73 - Bool (and (= X71 8) (and @@ -3584,21 +3293,18 @@ (not X72))))) (let ((X74 - Int (ite (= X71 8) 2 X71))) (let ((X75 - Int (ite X73 X74 X71))) (let ((X76 - Int (ite (not (and @@ -3612,7 +3318,6 @@ X75))) (let ((X77 - Bool (and (not (and @@ -3631,7 +3336,6 @@ 6))))) (let ((X78 - Int (ite (not (= X76 4)) @@ -3639,27 +3343,23 @@ X76))) (let ((X79 - Int (ite X77 X78 X76))) (let ((X80 - Int (ite X73 X79 X75))) (let ((X81 - Bool (or X73 X72))) (let ((X82 - Bool (and (= X80 7) (and @@ -3681,21 +3381,18 @@ (not X81))))) (let ((X83 - Int (ite (= X80 7) 2 X80))) (let ((X84 - Int (ite X82 X83 X80))) (let ((X85 - Int (ite (not (= X61 8)) @@ -3703,14 +3400,12 @@ X48))) (let ((X86 - Int (ite X53 X85 X48))) (let ((X87 - Int (ite (not (= X67 4)) @@ -3718,21 +3413,18 @@ X86))) (let ((X88 - Int (ite X68 X87 X86))) (let ((X89 - Int (ite X64 X88 X86))) (let ((X90 - Int (ite (not (= X76 4)) @@ -3740,21 +3432,18 @@ X89))) (let ((X91 - Int (ite X77 X90 X89))) (let ((X92 - Int (ite X73 X91 X89))) (let ((X93 - Int (ite (not (and @@ -3768,7 +3457,6 @@ X84))) (let ((X94 - Bool (and (not (and @@ -3787,7 +3475,6 @@ 6))))) (let ((X95 - Int (ite (not (= X93 4)) @@ -3795,21 +3482,18 @@ X92))) (let ((X96 - Int (ite X94 X95 X92))) (let ((X97 - Int (ite X82 X96 X92))) (let ((X98 - Int (ite (not (= X93 4)) @@ -3817,27 +3501,23 @@ X93))) (let ((X99 - Int (ite X94 X98 X93))) (let ((X100 - Int (ite X82 X99 X84))) (let ((X101 - Bool (or X82 X81))) (let ((X102 - Bool (and (= X100 @@ -3851,7 +3531,6 @@ 0))))) (let ((X103 - Int (ite (= X100 @@ -3860,14 +3539,12 @@ X100))) (let ((X104 - Int (ite X102 X103 X100))) (let ((X105 - Int (ite (not (= @@ -3877,14 +3554,12 @@ X104))) (let ((X106 - Int (ite X102 X105 X104))) (let ((X107 - Bool (and (= X106 @@ -3901,7 +3576,6 @@ X102))))) (let ((X108 - Int (ite (= X106 @@ -3910,14 +3584,12 @@ X106))) (let ((X109 - Int (ite X107 X108 X106))) (let ((X110 - Int (ite (not (= @@ -3927,20 +3599,17 @@ X109))) (let ((X111 - Int (ite X107 X110 X109))) (let ((X112 - Bool (or X107 X102))) (let ((X113 - Bool (and (= X111 @@ -3957,7 +3626,6 @@ X112))))) (let ((X114 - Int (ite (= X111 @@ -3966,14 +3634,12 @@ X111))) (let ((X115 - Int (ite X113 X114 X111))) (let ((X116 - Int (ite (not (= @@ -3983,20 +3649,17 @@ X115))) (let ((X117 - Int (ite X113 X116 X115))) (let ((X118 - Bool (or X113 X112))) (let ((X119 - Bool (and (= X117 @@ -4014,7 +3677,6 @@ X118))))) (let ((X120 - Int (ite (= X117 @@ -4023,14 +3685,12 @@ X117))) (let ((X121 - Int (ite X119 X120 X117))) (let ((X122 - Int (ite (not (= @@ -4040,20 +3700,17 @@ X121))) (let ((X123 - Int (ite X119 X122 X121))) (let ((X124 - Bool (or X119 X118))) (let ((X125 - Bool (and (= X123 @@ -4071,7 +3728,6 @@ X124))))) (let ((X126 - Int (ite (= X123 @@ -4080,14 +3736,12 @@ X123))) (let ((X127 - Int (ite X125 X126 X123))) (let ((X128 - Int (ite (not (= @@ -4097,14 +3751,12 @@ X97))) (let ((X129 - Int (ite X102 X128 X97))) (let ((X130 - Int (ite (not (= @@ -4114,14 +3766,12 @@ X129))) (let ((X131 - Int (ite X107 X130 X129))) (let ((X132 - Int (ite (not (= @@ -4131,14 +3781,12 @@ X131))) (let ((X133 - Int (ite X113 X132 X131))) (let ((X134 - Int (ite (not (= @@ -4148,14 +3796,12 @@ X133))) (let ((X135 - Int (ite X119 X134 X133))) (let ((X136 - Int (ite (not (= @@ -4165,14 +3811,12 @@ X135))) (let ((X137 - Int (ite X125 X136 X135))) (let ((X138 - Int (ite (and (not @@ -4188,7 +3832,6 @@ X97))) (let ((X139 - Int (ite (and (not X52) @@ -4216,39 +3859,34 @@ X19)) (let ((X140 - Bool (= top.impl.usr.mode 3))) (let ((X141 - Real (ite X140 X1 0.0))) (let ((X142 - Bool (= top.impl.usr.mode 4))) (let ((X143 - Real (ite X142 X1 X141))) (let ((X144 - Bool (= top.impl.usr.mode 5))) (let ((X145 - Bool X144)) + X144)) (and (= top.impl.usr.zz4 @@ -4266,23 +3904,21 @@ 0.0 (- X1 - (/ 1 20)))) + (/ 1.0 20.0)))) (let ((X146 - Real (ite X145 top.impl.usr.zz5 X143))) (let ((X147 - Bool (= top.impl.usr.mode 6))) (let ((X148 - Bool X147)) + X147)) (and (= top.impl.usr.zz1 @@ -4300,27 +3936,24 @@ 0.0 (+ X1 - (/ 1 20)))) + (/ 1.0 20.0)))) (let ((X149 - Real (ite X148 top.impl.usr.zz2 X146))) (let ((X150 - Bool false)) + false)) (let ((X151 - Bool (ite (= X20 4) false X150))) (let ((X152 - Bool (ite (and (>= @@ -4333,7 +3966,6 @@ X150))) (let ((X153 - Bool (ite (and (>= @@ -4346,21 +3978,18 @@ X150))) (let ((X154 - Bool (ite X22 X153 X150))) (let ((X155 - Bool (ite (= X51 4) false X154))) (let ((X156 - Bool (ite (and (>= @@ -4373,28 +4002,24 @@ X154))) (let ((X157 - Bool (ite X53 X156 X154))) (let ((X158 - Bool (ite X64 true X157))) (let ((X159 - Bool (ite X82 true X158))) (let ((X160 - Int (ite (not (= @@ -4404,20 +4029,17 @@ X127))) (let ((X161 - Int (ite X125 X160 X127))) (let ((X162 - Bool (or X125 X124))) (let ((X163 - Bool (ite (= X100 @@ -4426,21 +4048,18 @@ X159))) (let ((X164 - Bool (ite X102 X163 X159))) (let ((X165 - Bool (ite X102 true X164))) (let ((X166 - Bool (ite (= X106 @@ -4449,14 +4068,12 @@ X165))) (let ((X167 - Bool (ite X107 X166 X165))) (let ((X168 - Bool (ite (= X111 @@ -4465,14 +4082,12 @@ X167))) (let ((X169 - Bool (ite X113 X168 X167))) (let ((X170 - Bool (ite (and (not @@ -4484,7 +4099,6 @@ X169))) (let ((X171 - Bool (ite (and (not @@ -4500,7 +4114,6 @@ X159))) (let ((X172 - Bool (ite (and (not X52) @@ -4525,26 +4138,22 @@ X150)) (let ((X173 - Real (ite top.impl.usr.zz162 top.usr.carSpeed X149))) (let ((X174 - Bool (= top.impl.usr.mode 1))) (let ((X175 - Bool (= top.impl.usr.mode 2))) (let ((X176 - Bool (or X174 X175))) @@ -4564,7 +4173,6 @@ X173))) (let ((X177 - Bool (= top.impl.usr.desiredSpeed 0.0))) @@ -4577,7 +4185,6 @@ X177)) (let ((X178 - Int (ite (not (= X20 1)) @@ -4585,7 +4192,6 @@ X20))) (let ((X179 - Int (ite (and (not @@ -4601,7 +4207,6 @@ X100))) (let ((X180 - Int (ite (and (not X52) @@ -4616,7 +4221,6 @@ X51))) (let ((X181 - Int (ite top.impl.usr.OKc (ite @@ -4693,158 +4297,158 @@ ) Bool (let - ((X1 Real top.impl.usr.desiredSpeed)) + ((X1 top.impl.usr.desiredSpeed)) (let - ((X2 Bool (>= top.usr.carSpeed! 15.0))) + ((X2 (>= top.usr.carSpeed! 15.0))) (let - ((X3 Bool (= top.usr.carGear! 3))) + ((X3 (= top.usr.carGear! 3))) (let ((X4 - Bool (and + (and (and (and (and (not top.usr.cancel!) (not top.usr.brakePedal!)) X3) X2) top.usr.validInputs!))) (let - ((X5 Bool top.impl.usr.zz183)) + ((X5 top.impl.usr.zz183)) (and (= top.impl.usr.zz183! top.usr.decelSet!) (let - ((X6 Bool (and (not X5) top.impl.usr.zz183!))) + ((X6 (and (not X5) top.impl.usr.zz183!))) (let - ((X7 Bool top.impl.usr.zz178)) + ((X7 top.impl.usr.zz178)) (and (= top.impl.usr.zz178! top.usr.accelResume!) (let - ((X8 Bool (and (not X7) top.impl.usr.zz178!))) + ((X8 (and (not X7) top.impl.usr.zz178!))) (let - ((X9 Int top.impl.usr.zz176)) + ((X9 top.impl.usr.zz176)) (let - ((X10 Int (+ X9 1))) + ((X10 (+ X9 1))) (let - ((X11 Int (ite top.usr.decelSet! X10 0))) + ((X11 (ite top.usr.decelSet! X10 0))) (let - ((X12 Int (ite (>= 0 X11) 0 X11))) + ((X12 (ite (>= 0 X11) 0 X11))) (and (= top.impl.usr.zz176! (ite (<= X12 20) X12 20)) (let - ((X13 Bool (= top.impl.usr.zz176! 20))) + ((X13 (= top.impl.usr.zz176! 20))) (let - ((X14 Int top.impl.usr.zz170)) + ((X14 top.impl.usr.zz170)) (let - ((X15 Int (+ X14 1))) + ((X15 (+ X14 1))) (let - ((X16 Int (ite top.usr.accelResume! X15 0))) + ((X16 (ite top.usr.accelResume! X15 0))) (let - ((X17 Int (ite (>= 0 X16) 0 X16))) + ((X17 (ite (>= 0 X16) 0 X16))) (and (= top.impl.usr.zz170! (ite (<= X17 20) X17 20)) (let - ((X18 Bool (= top.impl.usr.zz170! 20))) + ((X18 (= top.impl.usr.zz170! 20))) (let - ((X19 Int top.impl.usr.mode)) + ((X19 top.impl.usr.mode)) (let - ((X20 Int top.impl.usr.zz161)) + ((X20 top.impl.usr.zz161)) (and (= top.impl.usr.zz155! (ite top.impl.usr.OKc false top.impl.usr.zz155)) (let - ((X21 Int (ite (not (= X20 1)) 1 X19))) + ((X21 (ite (not (= X20 1)) 1 X19))) (let ((X22 - Bool (and + (and (and (>= X20 2) (<= X20 8)) (not top.usr.onOff!)))) (let - ((X23 Int (ite (= X20 4) 3 X20))) + ((X23 (ite (= X20 4) 3 X20))) (let ((X24 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) X23 X20))) (let - ((X25 Int (ite (= X24 5) 3 X24))) + ((X25 (ite (= X24 5) 3 X24))) (let ((X26 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) X25 X24))) (let - ((X27 Int (ite (= X26 6) 3 X26))) + ((X27 (ite (= X26 6) 3 X26))) (let ((X28 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) X27 X26))) (let ((X29 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) 2 X28))) (let ((X30 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) X29 X20))) (let - ((X31 Int (ite (= X30 7) 2 X30))) + ((X31 (ite (= X30 7) 2 X30))) (let ((X32 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) X31 X30))) (let - ((X33 Int (ite (= X32 8) 2 X32))) + ((X33 (ite (= X32 8) 2 X32))) (let ((X34 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) X33 X32))) (let ((X35 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) 0 X34))) (let - ((X36 Int (ite X22 X35 X20))) + ((X36 (ite X22 X35 X20))) (let ((X37 - Int (ite (not (= X36 1)) 1 X36))) + (ite (not (= X36 1)) 1 X36))) (let - ((X38 Int (ite X22 X37 X36))) + ((X38 (ite X22 X37 X36))) (let ((X39 - Bool (and + (and (= X38 1) (and top.usr.onOff! (not X22))))) (let ((X40 - Int (ite (= X38 1) 0 X38))) + (ite (= X38 1) 0 X38))) (let - ((X41 Int (ite X39 X40 X38))) + ((X41 (ite X39 X40 X38))) (let ((X42 - Int (ite + (ite (not (= X36 1)) 1 X19))) (let ((X43 - Int (ite X22 X42 X19))) + (ite X22 X42 X19))) (let ((X44 - Int (ite + (ite (not (and (>= X41 2) @@ -4853,7 +4457,7 @@ X41))) (let ((X45 - Bool (and + (and (not (and (>= X41 2) @@ -4863,46 +4467,46 @@ (<= X44 8))))) (let ((X46 - Int (ite + (ite (not (= X44 7)) 2 X43))) (let ((X47 - Int (ite X45 X46 X43))) + (ite X45 X46 X43))) (let ((X48 - Int (ite + (ite X39 X47 X43))) (let ((X49 - Int (ite + (ite (not (= X44 7)) 7 X44))) (let ((X50 - Int (ite + (ite X45 X49 X44))) (let ((X51 - Int (ite + (ite X39 X50 X41))) (let ((X52 - Bool (or + (or X39 X22))) (let ((X53 - Bool (and + (and (and (>= X51 @@ -4913,13 +4517,13 @@ (not X4)))) (let ((X54 - Int (ite + (ite (= X51 4) 3 X51))) (let ((X55 - Int (ite + (ite (and (>= X51 @@ -4931,14 +4535,12 @@ X51))) (let ((X56 - Int (ite (= X55 5) 3 X55))) (let ((X57 - Int (ite (and (>= @@ -4951,14 +4553,12 @@ X55))) (let ((X58 - Int (ite (= X57 6) 3 X57))) (let ((X59 - Int (ite (and (>= @@ -4971,7 +4571,6 @@ X57))) (let ((X60 - Int (ite (and (>= @@ -4984,14 +4583,12 @@ X59))) (let ((X61 - Int (ite X53 X60 X51))) (let ((X62 - Int (ite (not (= X61 8)) @@ -4999,14 +4596,12 @@ X61))) (let ((X63 - Int (ite X53 X62 X61))) (let ((X64 - Bool (and (= X63 8) (and @@ -5028,21 +4623,18 @@ (not X53))))) (let ((X65 - Int (ite (= X63 8) 2 X63))) (let ((X66 - Int (ite X64 X65 X63))) (let ((X67 - Int (ite (not (and @@ -5056,7 +4648,6 @@ X66))) (let ((X68 - Bool (and (not (and @@ -5075,7 +4666,6 @@ 6))))) (let ((X69 - Int (ite (not (= X67 4)) @@ -5083,27 +4673,23 @@ X67))) (let ((X70 - Int (ite X68 X69 X67))) (let ((X71 - Int (ite X64 X70 X66))) (let ((X72 - Bool (or X64 X53))) (let ((X73 - Bool (and (= X71 8) (and @@ -5125,21 +4711,18 @@ (not X72))))) (let ((X74 - Int (ite (= X71 8) 2 X71))) (let ((X75 - Int (ite X73 X74 X71))) (let ((X76 - Int (ite (not (and @@ -5153,7 +4736,6 @@ X75))) (let ((X77 - Bool (and (not (and @@ -5172,7 +4754,6 @@ 6))))) (let ((X78 - Int (ite (not (= X76 4)) @@ -5180,27 +4761,23 @@ X76))) (let ((X79 - Int (ite X77 X78 X76))) (let ((X80 - Int (ite X73 X79 X75))) (let ((X81 - Bool (or X73 X72))) (let ((X82 - Bool (and (= X80 7) (and @@ -5222,21 +4799,18 @@ (not X81))))) (let ((X83 - Int (ite (= X80 7) 2 X80))) (let ((X84 - Int (ite X82 X83 X80))) (let ((X85 - Int (ite (not (= X61 8)) @@ -5244,14 +4818,12 @@ X48))) (let ((X86 - Int (ite X53 X85 X48))) (let ((X87 - Int (ite (not (= X67 4)) @@ -5259,21 +4831,18 @@ X86))) (let ((X88 - Int (ite X68 X87 X86))) (let ((X89 - Int (ite X64 X88 X86))) (let ((X90 - Int (ite (not (= X76 4)) @@ -5281,21 +4850,18 @@ X89))) (let ((X91 - Int (ite X77 X90 X89))) (let ((X92 - Int (ite X73 X91 X89))) (let ((X93 - Int (ite (not (and @@ -5309,7 +4875,6 @@ X84))) (let ((X94 - Bool (and (not (and @@ -5328,7 +4893,6 @@ 6))))) (let ((X95 - Int (ite (not (= X93 4)) @@ -5336,21 +4900,18 @@ X92))) (let ((X96 - Int (ite X94 X95 X92))) (let ((X97 - Int (ite X82 X96 X92))) (let ((X98 - Int (ite (not (= X93 4)) @@ -5358,27 +4919,23 @@ X93))) (let ((X99 - Int (ite X94 X98 X93))) (let ((X100 - Int (ite X82 X99 X84))) (let ((X101 - Bool (or X82 X81))) (let ((X102 - Bool (and (= X100 @@ -5392,7 +4949,6 @@ 0))))) (let ((X103 - Int (ite (= X100 @@ -5401,14 +4957,12 @@ X100))) (let ((X104 - Int (ite X102 X103 X100))) (let ((X105 - Int (ite (not (= @@ -5418,14 +4972,12 @@ X104))) (let ((X106 - Int (ite X102 X105 X104))) (let ((X107 - Bool (and (= X106 @@ -5442,7 +4994,6 @@ X102))))) (let ((X108 - Int (ite (= X106 @@ -5451,14 +5002,12 @@ X106))) (let ((X109 - Int (ite X107 X108 X106))) (let ((X110 - Int (ite (not (= @@ -5468,20 +5017,17 @@ X109))) (let ((X111 - Int (ite X107 X110 X109))) (let ((X112 - Bool (or X107 X102))) (let ((X113 - Bool (and (= X111 @@ -5498,7 +5044,6 @@ X112))))) (let ((X114 - Int (ite (= X111 @@ -5507,14 +5052,12 @@ X111))) (let ((X115 - Int (ite X113 X114 X111))) (let ((X116 - Int (ite (not (= @@ -5524,20 +5067,17 @@ X115))) (let ((X117 - Int (ite X113 X116 X115))) (let ((X118 - Bool (or X113 X112))) (let ((X119 - Bool (and (= X117 @@ -5555,7 +5095,6 @@ X118))))) (let ((X120 - Int (ite (= X117 @@ -5564,14 +5103,12 @@ X117))) (let ((X121 - Int (ite X119 X120 X117))) (let ((X122 - Int (ite (not (= @@ -5581,20 +5118,17 @@ X121))) (let ((X123 - Int (ite X119 X122 X121))) (let ((X124 - Bool (or X119 X118))) (let ((X125 - Bool (and (= X123 @@ -5612,7 +5146,6 @@ X124))))) (let ((X126 - Int (ite (= X123 @@ -5621,14 +5154,12 @@ X123))) (let ((X127 - Int (ite X125 X126 X123))) (let ((X128 - Int (ite (not (= @@ -5638,14 +5169,12 @@ X97))) (let ((X129 - Int (ite X102 X128 X97))) (let ((X130 - Int (ite (not (= @@ -5655,14 +5184,12 @@ X129))) (let ((X131 - Int (ite X107 X130 X129))) (let ((X132 - Int (ite (not (= @@ -5672,14 +5199,12 @@ X131))) (let ((X133 - Int (ite X113 X132 X131))) (let ((X134 - Int (ite (not (= @@ -5689,14 +5214,12 @@ X133))) (let ((X135 - Int (ite X119 X134 X133))) (let ((X136 - Int (ite (not (= @@ -5706,14 +5229,12 @@ X135))) (let ((X137 - Int (ite X125 X136 X135))) (let ((X138 - Int (ite (and (not @@ -5729,7 +5250,6 @@ X97))) (let ((X139 - Int (ite (and (not X52) @@ -5757,39 +5277,34 @@ X19)) (let ((X140 - Bool (= top.impl.usr.mode! 3))) (let ((X141 - Real (ite X140 X1 0.0))) (let ((X142 - Bool (= top.impl.usr.mode! 4))) (let ((X143 - Real (ite X142 X1 X141))) (let ((X144 - Bool (= top.impl.usr.mode! 5))) (let ((X145 - Bool X144)) + X144)) (and (= top.impl.usr.zz4! @@ -5812,24 +5327,22 @@ top.impl.usr.zz3! (- X1 - (/ 1 20)) + (/ 1.0 20.0)) top.impl.usr.zz5))) (let ((X146 - Real (ite X145 top.impl.usr.zz5! X143))) (let ((X147 - Bool (= top.impl.usr.mode! 6))) (let ((X148 - Bool X147)) + X147)) (and (= top.impl.usr.zz1! @@ -5852,28 +5365,25 @@ top.impl.usr.zz0! (+ X1 - (/ 1 20)) + (/ 1.0 20.0)) top.impl.usr.zz2))) (let ((X149 - Real (ite X148 top.impl.usr.zz2! X146))) (let ((X150 - Bool top.impl.usr.zz162)) + top.impl.usr.zz162)) (let ((X151 - Bool (ite (= X20 4) false X150))) (let ((X152 - Bool (ite (and (>= @@ -5886,7 +5396,6 @@ X150))) (let ((X153 - Bool (ite (and (>= @@ -5899,21 +5408,18 @@ X150))) (let ((X154 - Bool (ite X22 X153 X150))) (let ((X155 - Bool (ite (= X51 4) false X154))) (let ((X156 - Bool (ite (and (>= @@ -5926,28 +5432,24 @@ X154))) (let ((X157 - Bool (ite X53 X156 X154))) (let ((X158 - Bool (ite X64 true X157))) (let ((X159 - Bool (ite X82 true X158))) (let ((X160 - Int (ite (not (= @@ -5957,20 +5459,17 @@ X127))) (let ((X161 - Int (ite X125 X160 X127))) (let ((X162 - Bool (or X125 X124))) (let ((X163 - Bool (ite (= X100 @@ -5979,21 +5478,18 @@ X159))) (let ((X164 - Bool (ite X102 X163 X159))) (let ((X165 - Bool (ite X102 true X164))) (let ((X166 - Bool (ite (= X106 @@ -6002,14 +5498,12 @@ X165))) (let ((X167 - Bool (ite X107 X166 X165))) (let ((X168 - Bool (ite (= X111 @@ -6018,14 +5512,12 @@ X167))) (let ((X169 - Bool (ite X113 X168 X167))) (let ((X170 - Bool (ite (and (not @@ -6037,7 +5529,6 @@ X169))) (let ((X171 - Bool (ite (and (not @@ -6053,7 +5544,6 @@ X159))) (let ((X172 - Bool (ite (and (not X52) @@ -6078,26 +5568,22 @@ X150)) (let ((X173 - Real (ite top.impl.usr.zz162! top.usr.carSpeed! X149))) (let ((X174 - Bool (= top.impl.usr.mode! 1))) (let ((X175 - Bool (= top.impl.usr.mode! 2))) (let ((X176 - Bool (or X174 X175))) @@ -6117,7 +5603,6 @@ X173))) (let ((X177 - Bool (= top.impl.usr.desiredSpeed! 0.0))) @@ -6130,7 +5615,6 @@ X177)) (let ((X178 - Int (ite (not (= X20 1)) @@ -6138,7 +5622,6 @@ X20))) (let ((X179 - Int (ite (and (not @@ -6154,7 +5637,6 @@ X100))) (let ((X180 - Int (ite (and (not X52) @@ -6169,7 +5651,6 @@ X51))) (let ((X181 - Int (ite top.impl.usr.OKc! (ite diff --git a/lib-nonconforming/Inv_Track/andrew_lustre/ccp18.lus.sl b/lib/Inv_Track/andrew_lustre/ccp18.lus.sl similarity index 87% rename from lib-nonconforming/Inv_Track/andrew_lustre/ccp18.lus.sl rename to lib/Inv_Track/andrew_lustre/ccp18.lus.sl index a41ac7d0..07ab5ffc 100644 --- a/lib-nonconforming/Inv_Track/andrew_lustre/ccp18.lus.sl +++ b/lib/Inv_Track/andrew_lustre/ccp18.lus.sl @@ -24,12 +24,12 @@ ) Bool (let - ((X1 Bool (>= top.usr.carSpeed_a_0 15.0))) + ((X1 (>= top.usr.carSpeed_a_0 15.0))) (let - ((X2 Bool (= top.usr.carGear_a_0 3))) + ((X2 (= top.usr.carGear_a_0 3))) (let ((X3 - Bool (and + (and (and (and (and (not top.usr.cancel_a_0) (not top.usr.brakePedal_a_0)) @@ -37,128 +37,128 @@ X1) top.usr.validInputs_a_0))) (let - ((X4 Bool true)) + ((X4 true)) (and (= top.impl.usr.zz183_a_0 top.usr.decelSet_a_0) (let - ((X5 Bool (and (not X4) top.impl.usr.zz183_a_0))) + ((X5 (and (not X4) top.impl.usr.zz183_a_0))) (let - ((X6 Bool true)) + ((X6 true)) (and (= top.impl.usr.zz178_a_0 top.usr.accelResume_a_0) (let - ((X7 Bool (and (not X6) top.impl.usr.zz178_a_0))) + ((X7 (and (not X6) top.impl.usr.zz178_a_0))) (let - ((X8 Int 0)) + ((X8 0)) (let - ((X9 Int (+ X8 1))) + ((X9 (+ X8 1))) (let - ((X10 Int (ite top.usr.decelSet_a_0 X9 0))) + ((X10 (ite top.usr.decelSet_a_0 X9 0))) (let - ((X11 Int (ite (>= 0 X10) 0 X10))) + ((X11 (ite (>= 0 X10) 0 X10))) (and (= top.impl.usr.zz176_a_0 (ite (<= X11 20) X11 20)) (let - ((X12 Bool (= top.impl.usr.zz176_a_0 20))) + ((X12 (= top.impl.usr.zz176_a_0 20))) (let - ((X13 Int 0)) + ((X13 0)) (let - ((X14 Int (+ X13 1))) + ((X14 (+ X13 1))) (let - ((X15 Int (ite top.usr.accelResume_a_0 X14 0))) + ((X15 (ite top.usr.accelResume_a_0 X14 0))) (let - ((X16 Int (ite (>= 0 X15) 0 X15))) + ((X16 (ite (>= 0 X15) 0 X15))) (and (= top.impl.usr.zz170_a_0 (ite (<= X16 20) X16 20)) (let - ((X17 Bool (= top.impl.usr.zz170_a_0 20))) + ((X17 (= top.impl.usr.zz170_a_0 20))) (let - ((X18 Bool false)) + ((X18 false)) (let - ((X19 Int 0)) + ((X19 0)) (and (= top.impl.usr.zz155_a_0 true) (let ((X20 - Bool (and + (and (and (>= X19 2) (<= X19 8)) (not top.usr.onOff_a_0)))) (let - ((X21 Int (ite (= X19 4) 3 X19))) + ((X21 (ite (= X19 4) 3 X19))) (let ((X22 - Int (ite (and (>= X19 3) (<= X19 6)) X21 X19))) + (ite (and (>= X19 3) (<= X19 6)) X21 X19))) (let - ((X23 Int (ite (= X22 5) 3 X22))) + ((X23 (ite (= X22 5) 3 X22))) (let ((X24 - Int (ite + (ite (and (>= X19 3) (<= X19 6)) X23 X22))) (let - ((X25 Int (ite (= X24 6) 3 X24))) + ((X25 (ite (= X24 6) 3 X24))) (let ((X26 - Int (ite + (ite (and (>= X19 3) (<= X19 6)) X25 X24))) (let ((X27 - Int (ite + (ite (and (>= X19 3) (<= X19 6)) 2 X26))) (let ((X28 - Int (ite + (ite (and (>= X19 2) (<= X19 8)) X27 X19))) (let - ((X29 Int (ite (= X28 7) 2 X28))) + ((X29 (ite (= X28 7) 2 X28))) (let ((X30 - Int (ite + (ite (and (>= X19 2) (<= X19 8)) X29 X28))) (let - ((X31 Int (ite (= X30 8) 2 X30))) + ((X31 (ite (= X30 8) 2 X30))) (let ((X32 - Int (ite + (ite (and (>= X19 2) (<= X19 8)) X31 X30))) (let ((X33 - Int (ite + (ite (and (>= X19 2) (<= X19 8)) 0 X32))) (let - ((X34 Int (ite X20 X33 X19))) + ((X34 (ite X20 X33 X19))) (let ((X35 - Int (ite (not (= X34 1)) 1 X34))) + (ite (not (= X34 1)) 1 X34))) (let - ((X36 Int (ite X20 X35 X34))) + ((X36 (ite X20 X35 X34))) (let ((X37 - Bool (and + (and (= X36 1) (and top.usr.onOff_a_0 (not X20))))) (let - ((X38 Int (ite (= X36 1) 0 X36))) + ((X38 (ite (= X36 1) 0 X36))) (let - ((X39 Int (ite X37 X38 X36))) + ((X39 (ite X37 X38 X36))) (let ((X40 - Int (ite + (ite (not (and (>= X39 2) @@ -167,7 +167,7 @@ X39))) (let ((X41 - Bool (and + (and (not (and (>= X39 2) @@ -177,27 +177,27 @@ (<= X40 8))))) (let ((X42 - Int (ite + (ite (not (= X40 7)) 7 X40))) (let ((X43 - Int (ite X41 X42 X40))) + (ite X41 X42 X40))) (let ((X44 - Int (ite X37 X43 X39))) + (ite X37 X43 X39))) (let - ((X45 Bool (or X37 X20))) + ((X45 (or X37 X20))) (let ((X46 - Bool (ite + (ite (= X19 4) false X18))) (let ((X47 - Bool (ite + (ite (and (>= X19 3) (<= X19 6)) @@ -205,7 +205,7 @@ X18))) (let ((X48 - Bool (ite + (ite (and (>= X19 2) (<= X19 8)) @@ -213,26 +213,26 @@ X18))) (let ((X49 - Bool (ite + (ite X20 X48 X18))) (let ((X50 - Bool (and + (and (and (>= X44 3) (<= X44 6)) (not X3)))) (let ((X51 - Int (ite + (ite (= X44 4) 3 X44))) (let ((X52 - Int (ite + (ite (and (>= X44 3) (<= X44 6)) @@ -240,13 +240,13 @@ X44))) (let ((X53 - Int (ite + (ite (= X52 5) 3 X52))) (let ((X54 - Int (ite + (ite (and (>= X44 @@ -258,13 +258,12 @@ X52))) (let ((X55 - Int (ite + (ite (= X54 6) 3 X54))) (let ((X56 - Int (ite (and (>= X44 3) @@ -273,7 +272,6 @@ X54))) (let ((X57 - Int (ite (and (>= @@ -286,14 +284,12 @@ X56))) (let ((X58 - Int (ite X50 X57 X44))) (let ((X59 - Int (ite (not (= X58 8)) @@ -301,14 +297,12 @@ X58))) (let ((X60 - Int (ite X50 X59 X58))) (let ((X61 - Bool (and (= X60 8) (and @@ -330,21 +324,18 @@ (not X50))))) (let ((X62 - Int (ite (= X60 8) 2 X60))) (let ((X63 - Int (ite X61 X62 X60))) (let ((X64 - Int (ite (not (and @@ -358,7 +349,6 @@ X63))) (let ((X65 - Bool (and (not (and @@ -377,7 +367,6 @@ 6))))) (let ((X66 - Int (ite (not (= X64 4)) @@ -385,27 +374,23 @@ X64))) (let ((X67 - Int (ite X65 X66 X64))) (let ((X68 - Int (ite X61 X67 X63))) (let ((X69 - Bool (or X61 X50))) (let ((X70 - Bool (and (= X68 8) (and @@ -427,21 +412,18 @@ (not X69))))) (let ((X71 - Int (ite (= X68 8) 2 X68))) (let ((X72 - Int (ite X70 X71 X68))) (let ((X73 - Int (ite (not (and @@ -455,7 +437,6 @@ X72))) (let ((X74 - Bool (and (not (and @@ -474,7 +455,6 @@ 6))))) (let ((X75 - Int (ite (not (= X73 4)) @@ -482,27 +462,23 @@ X73))) (let ((X76 - Int (ite X74 X75 X73))) (let ((X77 - Int (ite X70 X76 X72))) (let ((X78 - Bool (or X70 X69))) (let ((X79 - Bool (and (= X77 7) (and @@ -524,21 +500,18 @@ (not X78))))) (let ((X80 - Int (ite (= X77 7) 2 X77))) (let ((X81 - Int (ite X79 X80 X77))) (let ((X82 - Int (ite (not (and @@ -552,7 +525,6 @@ X81))) (let ((X83 - Bool (and (not (and @@ -571,7 +543,6 @@ 6))))) (let ((X84 - Int (ite (not (= X82 4)) @@ -579,28 +550,24 @@ X82))) (let ((X85 - Int (ite X83 X84 X82))) (let ((X86 - Int (ite X79 X85 X81))) (let ((X87 - Bool (ite (= X44 4) false X49))) (let ((X88 - Bool (ite (and (>= @@ -613,34 +580,29 @@ X49))) (let ((X89 - Bool (ite X50 X88 X49))) (let ((X90 - Bool (ite X61 true X89))) (let ((X91 - Bool (ite X79 true X90))) (let ((X92 - Bool (or X79 X78))) (let ((X93 - Bool (and (= X86 4) (not @@ -652,21 +614,18 @@ 0))))) (let ((X94 - Int (ite (= X86 4) 3 X86))) (let ((X95 - Int (ite X93 X94 X86))) (let ((X96 - Int (ite (not (= X95 4)) @@ -674,14 +633,12 @@ X95))) (let ((X97 - Int (ite X93 X96 X95))) (let ((X98 - Bool (and (= X97 4) (and @@ -695,21 +652,18 @@ (not X93))))) (let ((X99 - Int (ite (= X97 4) 3 X97))) (let ((X100 - Int (ite X98 X99 X97))) (let ((X101 - Int (ite (not (= @@ -719,20 +673,17 @@ X100))) (let ((X102 - Int (ite X98 X101 X100))) (let ((X103 - Bool (or X98 X93))) (let ((X104 - Bool (and (= X102 @@ -749,7 +700,6 @@ X103))))) (let ((X105 - Int (ite (= X102 @@ -758,14 +708,12 @@ X102))) (let ((X106 - Int (ite X104 X105 X102))) (let ((X107 - Int (ite (not (= @@ -775,20 +723,17 @@ X106))) (let ((X108 - Int (ite X104 X107 X106))) (let ((X109 - Bool (or X104 X103))) (let ((X110 - Bool (and (= X108 @@ -806,7 +751,6 @@ X109))))) (let ((X111 - Int (ite (= X108 @@ -815,14 +759,12 @@ X108))) (let ((X112 - Int (ite X110 X111 X108))) (let ((X113 - Int (ite (not (= @@ -832,20 +774,17 @@ X112))) (let ((X114 - Int (ite X110 X113 X112))) (let ((X115 - Bool (or X110 X109))) (let ((X116 - Bool (and (= X114 @@ -863,7 +802,6 @@ X115))))) (let ((X117 - Int (ite (= X114 @@ -872,14 +810,12 @@ X114))) (let ((X118 - Int (ite X116 X117 X114))) (let ((X119 - Int (ite (not (= @@ -889,55 +825,47 @@ X118))) (let ((X120 - Int (ite X116 X119 X118))) (let ((X121 - Bool (or X116 X115))) (let ((X122 - Bool (ite (= X86 4) false X91))) (let ((X123 - Bool (ite X93 X122 X91))) (let ((X124 - Bool (ite X93 true X123))) (let ((X125 - Bool (ite (= X97 4) false X124))) (let ((X126 - Bool (ite X98 X125 X124))) (let ((X127 - Bool (ite (= X102 @@ -946,14 +874,12 @@ X126))) (let ((X128 - Bool (ite X104 X127 X126))) (let ((X129 - Bool (ite (and (not @@ -965,7 +891,6 @@ X128))) (let ((X130 - Bool (ite (and (not X92) @@ -980,7 +905,6 @@ X91))) (let ((X131 - Bool (ite (and (not X45) @@ -1008,7 +932,6 @@ X18)) (let ((X132 - Bool (= (ite (not @@ -1018,10 +941,9 @@ 1.0))) (let ((X133 - Int 0)) + 0)) (let ((X134 - Int (ite (not (= X19 1)) @@ -1029,7 +951,6 @@ X133))) (let ((X135 - Int (ite (not (= X34 1)) @@ -1037,14 +958,12 @@ X133))) (let ((X136 - Int (ite X20 X135 X133))) (let ((X137 - Int (ite (not (= X40 7)) @@ -1052,21 +971,18 @@ X136))) (let ((X138 - Int (ite X41 X137 X136))) (let ((X139 - Int (ite X37 X138 X136))) (let ((X140 - Int (ite (not (= X58 8)) @@ -1074,14 +990,12 @@ X139))) (let ((X141 - Int (ite X50 X140 X139))) (let ((X142 - Int (ite (not (= X64 4)) @@ -1089,21 +1003,18 @@ X141))) (let ((X143 - Int (ite X65 X142 X141))) (let ((X144 - Int (ite X61 X143 X141))) (let ((X145 - Int (ite (not (= X73 4)) @@ -1111,21 +1022,18 @@ X144))) (let ((X146 - Int (ite X74 X145 X144))) (let ((X147 - Int (ite X70 X146 X144))) (let ((X148 - Int (ite (not (= X82 4)) @@ -1133,21 +1041,18 @@ X147))) (let ((X149 - Int (ite X83 X148 X147))) (let ((X150 - Int (ite X79 X149 X147))) (let ((X151 - Int (ite (not (= X95 4)) @@ -1155,14 +1060,12 @@ X150))) (let ((X152 - Int (ite X93 X151 X150))) (let ((X153 - Int (ite (not (= @@ -1172,14 +1075,12 @@ X152))) (let ((X154 - Int (ite X98 X153 X152))) (let ((X155 - Int (ite (not (= @@ -1189,14 +1090,12 @@ X154))) (let ((X156 - Int (ite X104 X155 X154))) (let ((X157 - Int (ite (not (= @@ -1206,14 +1105,12 @@ X156))) (let ((X158 - Int (ite X110 X157 X156))) (let ((X159 - Int (ite (not (= @@ -1223,14 +1120,12 @@ X158))) (let ((X160 - Int (ite X116 X159 X158))) (let ((X161 - Int (ite (and (not X92) @@ -1245,7 +1140,6 @@ X150))) (let ((X162 - Int (ite (and (not X45) @@ -1270,7 +1164,6 @@ X133)) (let ((X163 - Bool (= top.impl.usr.mode_a_0 4))) @@ -1285,7 +1178,6 @@ X132))) (let ((X164 - Int (ite (not (= X19 1)) @@ -1293,7 +1185,6 @@ X19))) (let ((X165 - Int (ite (and (not X92) @@ -1308,7 +1199,6 @@ X86))) (let ((X166 - Int (ite (and (not X45) @@ -1323,7 +1213,6 @@ X44))) (let ((X167 - Int (ite top.impl.usr.SP3c_a_0 (ite @@ -1381,12 +1270,12 @@ ) Bool (let - ((X1 Bool (>= top.usr.carSpeed_a_1 15.0))) + ((X1 (>= top.usr.carSpeed_a_1 15.0))) (let - ((X2 Bool (= top.usr.carGear_a_1 3))) + ((X2 (= top.usr.carGear_a_1 3))) (let ((X3 - Bool (and + (and (and (and (and (not top.usr.cancel_a_1) (not top.usr.brakePedal_a_1)) @@ -1394,45 +1283,45 @@ X1) top.usr.validInputs_a_1))) (let - ((X4 Bool top.impl.usr.zz183_a_0)) + ((X4 top.impl.usr.zz183_a_0)) (and (= top.impl.usr.zz183_a_1 top.usr.decelSet_a_1) (let - ((X5 Bool (and (not X4) top.impl.usr.zz183_a_1))) + ((X5 (and (not X4) top.impl.usr.zz183_a_1))) (let - ((X6 Bool top.impl.usr.zz178_a_0)) + ((X6 top.impl.usr.zz178_a_0)) (and (= top.impl.usr.zz178_a_1 top.usr.accelResume_a_1) (let - ((X7 Bool (and (not X6) top.impl.usr.zz178_a_1))) + ((X7 (and (not X6) top.impl.usr.zz178_a_1))) (let - ((X8 Int top.impl.usr.zz176_a_0)) + ((X8 top.impl.usr.zz176_a_0)) (let - ((X9 Int (+ X8 1))) + ((X9 (+ X8 1))) (let - ((X10 Int (ite top.usr.decelSet_a_1 X9 0))) + ((X10 (ite top.usr.decelSet_a_1 X9 0))) (let - ((X11 Int (ite (>= 0 X10) 0 X10))) + ((X11 (ite (>= 0 X10) 0 X10))) (and (= top.impl.usr.zz176_a_1 (ite (<= X11 20) X11 20)) (let - ((X12 Bool (= top.impl.usr.zz176_a_1 20))) + ((X12 (= top.impl.usr.zz176_a_1 20))) (let - ((X13 Int top.impl.usr.zz170_a_0)) + ((X13 top.impl.usr.zz170_a_0)) (let - ((X14 Int (+ X13 1))) + ((X14 (+ X13 1))) (let - ((X15 Int (ite top.usr.accelResume_a_1 X14 0))) + ((X15 (ite top.usr.accelResume_a_1 X14 0))) (let - ((X16 Int (ite (>= 0 X15) 0 X15))) + ((X16 (ite (>= 0 X15) 0 X15))) (and (= top.impl.usr.zz170_a_1 (ite (<= X16 20) X16 20)) (let - ((X17 Bool (= top.impl.usr.zz170_a_1 20))) + ((X17 (= top.impl.usr.zz170_a_1 20))) (let - ((X18 Bool top.impl.usr.zz162_a_0)) + ((X18 top.impl.usr.zz162_a_0)) (let - ((X19 Int top.impl.usr.zz161_a_0)) + ((X19 top.impl.usr.zz161_a_0)) (and (= top.impl.usr.zz155_a_1 @@ -1442,85 +1331,85 @@ top.impl.usr.zz155_a_0)) (let ((X20 - Bool (and + (and (and (>= X19 2) (<= X19 8)) (not top.usr.onOff_a_1)))) (let - ((X21 Int (ite (= X19 4) 3 X19))) + ((X21 (ite (= X19 4) 3 X19))) (let ((X22 - Int (ite (and (>= X19 3) (<= X19 6)) X21 X19))) + (ite (and (>= X19 3) (<= X19 6)) X21 X19))) (let - ((X23 Int (ite (= X22 5) 3 X22))) + ((X23 (ite (= X22 5) 3 X22))) (let ((X24 - Int (ite + (ite (and (>= X19 3) (<= X19 6)) X23 X22))) (let - ((X25 Int (ite (= X24 6) 3 X24))) + ((X25 (ite (= X24 6) 3 X24))) (let ((X26 - Int (ite + (ite (and (>= X19 3) (<= X19 6)) X25 X24))) (let ((X27 - Int (ite + (ite (and (>= X19 3) (<= X19 6)) 2 X26))) (let ((X28 - Int (ite + (ite (and (>= X19 2) (<= X19 8)) X27 X19))) (let - ((X29 Int (ite (= X28 7) 2 X28))) + ((X29 (ite (= X28 7) 2 X28))) (let ((X30 - Int (ite + (ite (and (>= X19 2) (<= X19 8)) X29 X28))) (let - ((X31 Int (ite (= X30 8) 2 X30))) + ((X31 (ite (= X30 8) 2 X30))) (let ((X32 - Int (ite + (ite (and (>= X19 2) (<= X19 8)) X31 X30))) (let ((X33 - Int (ite + (ite (and (>= X19 2) (<= X19 8)) 0 X32))) (let - ((X34 Int (ite X20 X33 X19))) + ((X34 (ite X20 X33 X19))) (let ((X35 - Int (ite (not (= X34 1)) 1 X34))) + (ite (not (= X34 1)) 1 X34))) (let - ((X36 Int (ite X20 X35 X34))) + ((X36 (ite X20 X35 X34))) (let ((X37 - Bool (and + (and (= X36 1) (and top.usr.onOff_a_1 (not X20))))) (let - ((X38 Int (ite (= X36 1) 0 X36))) + ((X38 (ite (= X36 1) 0 X36))) (let - ((X39 Int (ite X37 X38 X36))) + ((X39 (ite X37 X38 X36))) (let ((X40 - Int (ite + (ite (not (and (>= X39 2) @@ -1529,7 +1418,7 @@ X39))) (let ((X41 - Bool (and + (and (not (and (>= X39 2) @@ -1539,27 +1428,27 @@ (<= X40 8))))) (let ((X42 - Int (ite + (ite (not (= X40 7)) 7 X40))) (let ((X43 - Int (ite X41 X42 X40))) + (ite X41 X42 X40))) (let ((X44 - Int (ite X37 X43 X39))) + (ite X37 X43 X39))) (let - ((X45 Bool (or X37 X20))) + ((X45 (or X37 X20))) (let ((X46 - Bool (ite + (ite (= X19 4) false X18))) (let ((X47 - Bool (ite + (ite (and (>= X19 3) (<= X19 6)) @@ -1567,7 +1456,7 @@ X18))) (let ((X48 - Bool (ite + (ite (and (>= X19 2) (<= X19 8)) @@ -1575,26 +1464,26 @@ X18))) (let ((X49 - Bool (ite + (ite X20 X48 X18))) (let ((X50 - Bool (and + (and (and (>= X44 3) (<= X44 6)) (not X3)))) (let ((X51 - Int (ite + (ite (= X44 4) 3 X44))) (let ((X52 - Int (ite + (ite (and (>= X44 3) (<= X44 6)) @@ -1602,13 +1491,13 @@ X44))) (let ((X53 - Int (ite + (ite (= X52 5) 3 X52))) (let ((X54 - Int (ite + (ite (and (>= X44 @@ -1620,13 +1509,12 @@ X52))) (let ((X55 - Int (ite + (ite (= X54 6) 3 X54))) (let ((X56 - Int (ite (and (>= X44 3) @@ -1635,7 +1523,6 @@ X54))) (let ((X57 - Int (ite (and (>= @@ -1648,14 +1535,12 @@ X56))) (let ((X58 - Int (ite X50 X57 X44))) (let ((X59 - Int (ite (not (= X58 8)) @@ -1663,14 +1548,12 @@ X58))) (let ((X60 - Int (ite X50 X59 X58))) (let ((X61 - Bool (and (= X60 8) (and @@ -1692,21 +1575,18 @@ (not X50))))) (let ((X62 - Int (ite (= X60 8) 2 X60))) (let ((X63 - Int (ite X61 X62 X60))) (let ((X64 - Int (ite (not (and @@ -1720,7 +1600,6 @@ X63))) (let ((X65 - Bool (and (not (and @@ -1739,7 +1618,6 @@ 6))))) (let ((X66 - Int (ite (not (= X64 4)) @@ -1747,27 +1625,23 @@ X64))) (let ((X67 - Int (ite X65 X66 X64))) (let ((X68 - Int (ite X61 X67 X63))) (let ((X69 - Bool (or X61 X50))) (let ((X70 - Bool (and (= X68 8) (and @@ -1789,21 +1663,18 @@ (not X69))))) (let ((X71 - Int (ite (= X68 8) 2 X68))) (let ((X72 - Int (ite X70 X71 X68))) (let ((X73 - Int (ite (not (and @@ -1817,7 +1688,6 @@ X72))) (let ((X74 - Bool (and (not (and @@ -1836,7 +1706,6 @@ 6))))) (let ((X75 - Int (ite (not (= X73 4)) @@ -1844,27 +1713,23 @@ X73))) (let ((X76 - Int (ite X74 X75 X73))) (let ((X77 - Int (ite X70 X76 X72))) (let ((X78 - Bool (or X70 X69))) (let ((X79 - Bool (and (= X77 7) (and @@ -1886,21 +1751,18 @@ (not X78))))) (let ((X80 - Int (ite (= X77 7) 2 X77))) (let ((X81 - Int (ite X79 X80 X77))) (let ((X82 - Int (ite (not (and @@ -1914,7 +1776,6 @@ X81))) (let ((X83 - Bool (and (not (and @@ -1933,7 +1794,6 @@ 6))))) (let ((X84 - Int (ite (not (= X82 4)) @@ -1941,28 +1801,24 @@ X82))) (let ((X85 - Int (ite X83 X84 X82))) (let ((X86 - Int (ite X79 X85 X81))) (let ((X87 - Bool (ite (= X44 4) false X49))) (let ((X88 - Bool (ite (and (>= @@ -1975,34 +1831,29 @@ X49))) (let ((X89 - Bool (ite X50 X88 X49))) (let ((X90 - Bool (ite X61 true X89))) (let ((X91 - Bool (ite X79 true X90))) (let ((X92 - Bool (or X79 X78))) (let ((X93 - Bool (and (= X86 4) (not @@ -2014,21 +1865,18 @@ 0))))) (let ((X94 - Int (ite (= X86 4) 3 X86))) (let ((X95 - Int (ite X93 X94 X86))) (let ((X96 - Int (ite (not (= X95 4)) @@ -2036,14 +1884,12 @@ X95))) (let ((X97 - Int (ite X93 X96 X95))) (let ((X98 - Bool (and (= X97 4) (and @@ -2057,21 +1903,18 @@ (not X93))))) (let ((X99 - Int (ite (= X97 4) 3 X97))) (let ((X100 - Int (ite X98 X99 X97))) (let ((X101 - Int (ite (not (= @@ -2081,20 +1924,17 @@ X100))) (let ((X102 - Int (ite X98 X101 X100))) (let ((X103 - Bool (or X98 X93))) (let ((X104 - Bool (and (= X102 @@ -2111,7 +1951,6 @@ X103))))) (let ((X105 - Int (ite (= X102 @@ -2120,14 +1959,12 @@ X102))) (let ((X106 - Int (ite X104 X105 X102))) (let ((X107 - Int (ite (not (= @@ -2137,20 +1974,17 @@ X106))) (let ((X108 - Int (ite X104 X107 X106))) (let ((X109 - Bool (or X104 X103))) (let ((X110 - Bool (and (= X108 @@ -2168,7 +2002,6 @@ X109))))) (let ((X111 - Int (ite (= X108 @@ -2177,14 +2010,12 @@ X108))) (let ((X112 - Int (ite X110 X111 X108))) (let ((X113 - Int (ite (not (= @@ -2194,20 +2025,17 @@ X112))) (let ((X114 - Int (ite X110 X113 X112))) (let ((X115 - Bool (or X110 X109))) (let ((X116 - Bool (and (= X114 @@ -2225,7 +2053,6 @@ X115))))) (let ((X117 - Int (ite (= X114 @@ -2234,14 +2061,12 @@ X114))) (let ((X118 - Int (ite X116 X117 X114))) (let ((X119 - Int (ite (not (= @@ -2251,55 +2076,47 @@ X118))) (let ((X120 - Int (ite X116 X119 X118))) (let ((X121 - Bool (or X116 X115))) (let ((X122 - Bool (ite (= X86 4) false X91))) (let ((X123 - Bool (ite X93 X122 X91))) (let ((X124 - Bool (ite X93 true X123))) (let ((X125 - Bool (ite (= X97 4) false X124))) (let ((X126 - Bool (ite X98 X125 X124))) (let ((X127 - Bool (ite (= X102 @@ -2308,14 +2125,12 @@ X126))) (let ((X128 - Bool (ite X104 X127 X126))) (let ((X129 - Bool (ite (and (not @@ -2327,7 +2142,6 @@ X128))) (let ((X130 - Bool (ite (and (not X92) @@ -2342,7 +2156,6 @@ X91))) (let ((X131 - Bool (ite (and (not X45) @@ -2370,7 +2183,6 @@ X18)) (let ((X132 - Bool (= (ite (not @@ -2380,10 +2192,9 @@ 1.0))) (let ((X133 - Int top.impl.usr.mode_a_0)) + top.impl.usr.mode_a_0)) (let ((X134 - Int (ite (not (= X19 1)) @@ -2391,7 +2202,6 @@ X133))) (let ((X135 - Int (ite (not (= X34 1)) @@ -2399,14 +2209,12 @@ X133))) (let ((X136 - Int (ite X20 X135 X133))) (let ((X137 - Int (ite (not (= X40 7)) @@ -2414,21 +2222,18 @@ X136))) (let ((X138 - Int (ite X41 X137 X136))) (let ((X139 - Int (ite X37 X138 X136))) (let ((X140 - Int (ite (not (= X58 8)) @@ -2436,14 +2241,12 @@ X139))) (let ((X141 - Int (ite X50 X140 X139))) (let ((X142 - Int (ite (not (= X64 4)) @@ -2451,21 +2254,18 @@ X141))) (let ((X143 - Int (ite X65 X142 X141))) (let ((X144 - Int (ite X61 X143 X141))) (let ((X145 - Int (ite (not (= X73 4)) @@ -2473,21 +2273,18 @@ X144))) (let ((X146 - Int (ite X74 X145 X144))) (let ((X147 - Int (ite X70 X146 X144))) (let ((X148 - Int (ite (not (= X82 4)) @@ -2495,21 +2292,18 @@ X147))) (let ((X149 - Int (ite X83 X148 X147))) (let ((X150 - Int (ite X79 X149 X147))) (let ((X151 - Int (ite (not (= X95 4)) @@ -2517,14 +2311,12 @@ X150))) (let ((X152 - Int (ite X93 X151 X150))) (let ((X153 - Int (ite (not (= @@ -2534,14 +2326,12 @@ X152))) (let ((X154 - Int (ite X98 X153 X152))) (let ((X155 - Int (ite (not (= @@ -2551,14 +2341,12 @@ X154))) (let ((X156 - Int (ite X104 X155 X154))) (let ((X157 - Int (ite (not (= @@ -2568,14 +2356,12 @@ X156))) (let ((X158 - Int (ite X110 X157 X156))) (let ((X159 - Int (ite (not (= @@ -2585,14 +2371,12 @@ X158))) (let ((X160 - Int (ite X116 X159 X158))) (let ((X161 - Int (ite (and (not X92) @@ -2607,7 +2391,6 @@ X150))) (let ((X162 - Int (ite (and (not X45) @@ -2632,7 +2415,6 @@ X133)) (let ((X163 - Bool (= top.impl.usr.mode_a_1 4))) @@ -2647,7 +2429,6 @@ X132))) (let ((X164 - Int (ite (not (= X19 1)) @@ -2655,7 +2436,6 @@ X19))) (let ((X165 - Int (ite (and (not X92) @@ -2670,7 +2450,6 @@ X86))) (let ((X166 - Int (ite (and (not X45) @@ -2685,7 +2464,6 @@ X44))) (let ((X167 - Int (ite top.impl.usr.SP3c_a_1 (ite @@ -2726,26 +2504,6 @@ )) -(declare-primed-var top.usr.onOff Bool) -(declare-primed-var top.usr.decelSet Bool) -(declare-primed-var top.usr.accelResume Bool) -(declare-primed-var top.usr.cancel Bool) -(declare-primed-var top.usr.brakePedal Bool) -(declare-primed-var top.usr.carGear Int) -(declare-primed-var top.usr.carSpeed Real) -(declare-primed-var top.usr.validInputs Bool) -(declare-primed-var top.usr.OK Bool) -(declare-primed-var top.res.init_flag Bool) -(declare-primed-var top.impl.usr.mode Int) -(declare-primed-var top.impl.usr.SP3c Bool) -(declare-primed-var top.impl.usr.zz155 Bool) -(declare-primed-var top.impl.usr.zz161 Int) -(declare-primed-var top.impl.usr.zz162 Bool) -(declare-primed-var top.impl.usr.zz170 Int) -(declare-primed-var top.impl.usr.zz176 Int) -(declare-primed-var top.impl.usr.zz178 Bool) -(declare-primed-var top.impl.usr.zz183 Bool) - (define-fun init ( (top.usr.onOff Bool) @@ -2770,139 +2528,139 @@ ) Bool (let - ((X1 Bool (>= top.usr.carSpeed 15.0))) + ((X1 (>= top.usr.carSpeed 15.0))) (let - ((X2 Bool (= top.usr.carGear 3))) + ((X2 (= top.usr.carGear 3))) (let ((X3 - Bool (and + (and (and (and (and (not top.usr.cancel) (not top.usr.brakePedal)) X2) X1) top.usr.validInputs))) (let - ((X4 Bool true)) + ((X4 true)) (and (= top.impl.usr.zz183 top.usr.decelSet) (let - ((X5 Bool (and (not X4) top.impl.usr.zz183))) + ((X5 (and (not X4) top.impl.usr.zz183))) (let - ((X6 Bool true)) + ((X6 true)) (and (= top.impl.usr.zz178 top.usr.accelResume) (let - ((X7 Bool (and (not X6) top.impl.usr.zz178))) + ((X7 (and (not X6) top.impl.usr.zz178))) (let - ((X8 Int 0)) + ((X8 0)) (let - ((X9 Int (+ X8 1))) + ((X9 (+ X8 1))) (let - ((X10 Int (ite top.usr.decelSet X9 0))) + ((X10 (ite top.usr.decelSet X9 0))) (let - ((X11 Int (ite (>= 0 X10) 0 X10))) + ((X11 (ite (>= 0 X10) 0 X10))) (and (= top.impl.usr.zz176 (ite (<= X11 20) X11 20)) (let - ((X12 Bool (= top.impl.usr.zz176 20))) + ((X12 (= top.impl.usr.zz176 20))) (let - ((X13 Int 0)) + ((X13 0)) (let - ((X14 Int (+ X13 1))) + ((X14 (+ X13 1))) (let - ((X15 Int (ite top.usr.accelResume X14 0))) + ((X15 (ite top.usr.accelResume X14 0))) (let - ((X16 Int (ite (>= 0 X15) 0 X15))) + ((X16 (ite (>= 0 X15) 0 X15))) (and (= top.impl.usr.zz170 (ite (<= X16 20) X16 20)) (let - ((X17 Bool (= top.impl.usr.zz170 20))) + ((X17 (= top.impl.usr.zz170 20))) (let - ((X18 Bool false)) + ((X18 false)) (let - ((X19 Int 0)) + ((X19 0)) (and (= top.impl.usr.zz155 true) (let ((X20 - Bool (and + (and (and (>= X19 2) (<= X19 8)) (not top.usr.onOff)))) (let - ((X21 Int (ite (= X19 4) 3 X19))) + ((X21 (ite (= X19 4) 3 X19))) (let ((X22 - Int (ite (and (>= X19 3) (<= X19 6)) X21 X19))) + (ite (and (>= X19 3) (<= X19 6)) X21 X19))) (let - ((X23 Int (ite (= X22 5) 3 X22))) + ((X23 (ite (= X22 5) 3 X22))) (let ((X24 - Int (ite + (ite (and (>= X19 3) (<= X19 6)) X23 X22))) (let - ((X25 Int (ite (= X24 6) 3 X24))) + ((X25 (ite (= X24 6) 3 X24))) (let ((X26 - Int (ite + (ite (and (>= X19 3) (<= X19 6)) X25 X24))) (let ((X27 - Int (ite + (ite (and (>= X19 3) (<= X19 6)) 2 X26))) (let ((X28 - Int (ite + (ite (and (>= X19 2) (<= X19 8)) X27 X19))) (let - ((X29 Int (ite (= X28 7) 2 X28))) + ((X29 (ite (= X28 7) 2 X28))) (let ((X30 - Int (ite + (ite (and (>= X19 2) (<= X19 8)) X29 X28))) (let - ((X31 Int (ite (= X30 8) 2 X30))) + ((X31 (ite (= X30 8) 2 X30))) (let ((X32 - Int (ite + (ite (and (>= X19 2) (<= X19 8)) X31 X30))) (let ((X33 - Int (ite + (ite (and (>= X19 2) (<= X19 8)) 0 X32))) (let - ((X34 Int (ite X20 X33 X19))) + ((X34 (ite X20 X33 X19))) (let ((X35 - Int (ite (not (= X34 1)) 1 X34))) + (ite (not (= X34 1)) 1 X34))) (let - ((X36 Int (ite X20 X35 X34))) + ((X36 (ite X20 X35 X34))) (let ((X37 - Bool (and + (and (= X36 1) (and top.usr.onOff (not X20))))) (let - ((X38 Int (ite (= X36 1) 0 X36))) + ((X38 (ite (= X36 1) 0 X36))) (let - ((X39 Int (ite X37 X38 X36))) + ((X39 (ite X37 X38 X36))) (let ((X40 - Int (ite + (ite (not (and (>= X39 2) @@ -2911,7 +2669,7 @@ X39))) (let ((X41 - Bool (and + (and (not (and (>= X39 2) @@ -2921,27 +2679,27 @@ (<= X40 8))))) (let ((X42 - Int (ite + (ite (not (= X40 7)) 7 X40))) (let ((X43 - Int (ite X41 X42 X40))) + (ite X41 X42 X40))) (let ((X44 - Int (ite X37 X43 X39))) + (ite X37 X43 X39))) (let - ((X45 Bool (or X37 X20))) + ((X45 (or X37 X20))) (let ((X46 - Bool (ite + (ite (= X19 4) false X18))) (let ((X47 - Bool (ite + (ite (and (>= X19 3) (<= X19 6)) @@ -2949,7 +2707,7 @@ X18))) (let ((X48 - Bool (ite + (ite (and (>= X19 2) (<= X19 8)) @@ -2957,26 +2715,26 @@ X18))) (let ((X49 - Bool (ite + (ite X20 X48 X18))) (let ((X50 - Bool (and + (and (and (>= X44 3) (<= X44 6)) (not X3)))) (let ((X51 - Int (ite + (ite (= X44 4) 3 X44))) (let ((X52 - Int (ite + (ite (and (>= X44 3) (<= X44 6)) @@ -2984,13 +2742,13 @@ X44))) (let ((X53 - Int (ite + (ite (= X52 5) 3 X52))) (let ((X54 - Int (ite + (ite (and (>= X44 @@ -3002,13 +2760,12 @@ X52))) (let ((X55 - Int (ite + (ite (= X54 6) 3 X54))) (let ((X56 - Int (ite (and (>= X44 3) @@ -3017,7 +2774,6 @@ X54))) (let ((X57 - Int (ite (and (>= @@ -3030,14 +2786,12 @@ X56))) (let ((X58 - Int (ite X50 X57 X44))) (let ((X59 - Int (ite (not (= X58 8)) @@ -3045,14 +2799,12 @@ X58))) (let ((X60 - Int (ite X50 X59 X58))) (let ((X61 - Bool (and (= X60 8) (and @@ -3074,21 +2826,18 @@ (not X50))))) (let ((X62 - Int (ite (= X60 8) 2 X60))) (let ((X63 - Int (ite X61 X62 X60))) (let ((X64 - Int (ite (not (and @@ -3102,7 +2851,6 @@ X63))) (let ((X65 - Bool (and (not (and @@ -3121,7 +2869,6 @@ 6))))) (let ((X66 - Int (ite (not (= X64 4)) @@ -3129,27 +2876,23 @@ X64))) (let ((X67 - Int (ite X65 X66 X64))) (let ((X68 - Int (ite X61 X67 X63))) (let ((X69 - Bool (or X61 X50))) (let ((X70 - Bool (and (= X68 8) (and @@ -3171,21 +2914,18 @@ (not X69))))) (let ((X71 - Int (ite (= X68 8) 2 X68))) (let ((X72 - Int (ite X70 X71 X68))) (let ((X73 - Int (ite (not (and @@ -3199,7 +2939,6 @@ X72))) (let ((X74 - Bool (and (not (and @@ -3218,7 +2957,6 @@ 6))))) (let ((X75 - Int (ite (not (= X73 4)) @@ -3226,27 +2964,23 @@ X73))) (let ((X76 - Int (ite X74 X75 X73))) (let ((X77 - Int (ite X70 X76 X72))) (let ((X78 - Bool (or X70 X69))) (let ((X79 - Bool (and (= X77 7) (and @@ -3268,21 +3002,18 @@ (not X78))))) (let ((X80 - Int (ite (= X77 7) 2 X77))) (let ((X81 - Int (ite X79 X80 X77))) (let ((X82 - Int (ite (not (and @@ -3296,7 +3027,6 @@ X81))) (let ((X83 - Bool (and (not (and @@ -3315,7 +3045,6 @@ 6))))) (let ((X84 - Int (ite (not (= X82 4)) @@ -3323,28 +3052,24 @@ X82))) (let ((X85 - Int (ite X83 X84 X82))) (let ((X86 - Int (ite X79 X85 X81))) (let ((X87 - Bool (ite (= X44 4) false X49))) (let ((X88 - Bool (ite (and (>= @@ -3357,34 +3082,29 @@ X49))) (let ((X89 - Bool (ite X50 X88 X49))) (let ((X90 - Bool (ite X61 true X89))) (let ((X91 - Bool (ite X79 true X90))) (let ((X92 - Bool (or X79 X78))) (let ((X93 - Bool (and (= X86 4) (not @@ -3396,21 +3116,18 @@ 0))))) (let ((X94 - Int (ite (= X86 4) 3 X86))) (let ((X95 - Int (ite X93 X94 X86))) (let ((X96 - Int (ite (not (= X95 4)) @@ -3418,14 +3135,12 @@ X95))) (let ((X97 - Int (ite X93 X96 X95))) (let ((X98 - Bool (and (= X97 4) (and @@ -3439,21 +3154,18 @@ (not X93))))) (let ((X99 - Int (ite (= X97 4) 3 X97))) (let ((X100 - Int (ite X98 X99 X97))) (let ((X101 - Int (ite (not (= @@ -3463,20 +3175,17 @@ X100))) (let ((X102 - Int (ite X98 X101 X100))) (let ((X103 - Bool (or X98 X93))) (let ((X104 - Bool (and (= X102 @@ -3493,7 +3202,6 @@ X103))))) (let ((X105 - Int (ite (= X102 @@ -3502,14 +3210,12 @@ X102))) (let ((X106 - Int (ite X104 X105 X102))) (let ((X107 - Int (ite (not (= @@ -3519,20 +3225,17 @@ X106))) (let ((X108 - Int (ite X104 X107 X106))) (let ((X109 - Bool (or X104 X103))) (let ((X110 - Bool (and (= X108 @@ -3550,7 +3253,6 @@ X109))))) (let ((X111 - Int (ite (= X108 @@ -3559,14 +3261,12 @@ X108))) (let ((X112 - Int (ite X110 X111 X108))) (let ((X113 - Int (ite (not (= @@ -3576,20 +3276,17 @@ X112))) (let ((X114 - Int (ite X110 X113 X112))) (let ((X115 - Bool (or X110 X109))) (let ((X116 - Bool (and (= X114 @@ -3607,7 +3304,6 @@ X115))))) (let ((X117 - Int (ite (= X114 @@ -3616,14 +3312,12 @@ X114))) (let ((X118 - Int (ite X116 X117 X114))) (let ((X119 - Int (ite (not (= @@ -3633,55 +3327,47 @@ X118))) (let ((X120 - Int (ite X116 X119 X118))) (let ((X121 - Bool (or X116 X115))) (let ((X122 - Bool (ite (= X86 4) false X91))) (let ((X123 - Bool (ite X93 X122 X91))) (let ((X124 - Bool (ite X93 true X123))) (let ((X125 - Bool (ite (= X97 4) false X124))) (let ((X126 - Bool (ite X98 X125 X124))) (let ((X127 - Bool (ite (= X102 @@ -3690,14 +3376,12 @@ X126))) (let ((X128 - Bool (ite X104 X127 X126))) (let ((X129 - Bool (ite (and (not @@ -3709,7 +3393,6 @@ X128))) (let ((X130 - Bool (ite (and (not X92) @@ -3724,7 +3407,6 @@ X91))) (let ((X131 - Bool (ite (and (not X45) @@ -3752,7 +3434,6 @@ X18)) (let ((X132 - Bool (= (ite (not @@ -3762,10 +3443,9 @@ 1.0))) (let ((X133 - Int 0)) + 0)) (let ((X134 - Int (ite (not (= X19 1)) @@ -3773,7 +3453,6 @@ X133))) (let ((X135 - Int (ite (not (= X34 1)) @@ -3781,14 +3460,12 @@ X133))) (let ((X136 - Int (ite X20 X135 X133))) (let ((X137 - Int (ite (not (= X40 7)) @@ -3796,21 +3473,18 @@ X136))) (let ((X138 - Int (ite X41 X137 X136))) (let ((X139 - Int (ite X37 X138 X136))) (let ((X140 - Int (ite (not (= X58 8)) @@ -3818,14 +3492,12 @@ X139))) (let ((X141 - Int (ite X50 X140 X139))) (let ((X142 - Int (ite (not (= X64 4)) @@ -3833,21 +3505,18 @@ X141))) (let ((X143 - Int (ite X65 X142 X141))) (let ((X144 - Int (ite X61 X143 X141))) (let ((X145 - Int (ite (not (= X73 4)) @@ -3855,21 +3524,18 @@ X144))) (let ((X146 - Int (ite X74 X145 X144))) (let ((X147 - Int (ite X70 X146 X144))) (let ((X148 - Int (ite (not (= X82 4)) @@ -3877,21 +3543,18 @@ X147))) (let ((X149 - Int (ite X83 X148 X147))) (let ((X150 - Int (ite X79 X149 X147))) (let ((X151 - Int (ite (not (= X95 4)) @@ -3899,14 +3562,12 @@ X150))) (let ((X152 - Int (ite X93 X151 X150))) (let ((X153 - Int (ite (not (= @@ -3916,14 +3577,12 @@ X152))) (let ((X154 - Int (ite X98 X153 X152))) (let ((X155 - Int (ite (not (= @@ -3933,14 +3592,12 @@ X154))) (let ((X156 - Int (ite X104 X155 X154))) (let ((X157 - Int (ite (not (= @@ -3950,14 +3607,12 @@ X156))) (let ((X158 - Int (ite X110 X157 X156))) (let ((X159 - Int (ite (not (= @@ -3967,14 +3622,12 @@ X158))) (let ((X160 - Int (ite X116 X159 X158))) (let ((X161 - Int (ite (and (not X92) @@ -3989,7 +3642,6 @@ X150))) (let ((X162 - Int (ite (and (not X45) @@ -4014,7 +3666,6 @@ X133)) (let ((X163 - Bool (= top.impl.usr.mode 4))) @@ -4029,7 +3680,6 @@ X132))) (let ((X164 - Int (ite (not (= X19 1)) @@ -4037,7 +3687,6 @@ X19))) (let ((X165 - Int (ite (and (not X92) @@ -4052,7 +3701,6 @@ X86))) (let ((X166 - Int (ite (and (not X45) @@ -4067,7 +3715,6 @@ X44))) (let ((X167 - Int (ite top.impl.usr.SP3c (ite @@ -4130,141 +3777,141 @@ ) Bool (let - ((X1 Bool (>= top.usr.carSpeed! 15.0))) + ((X1 (>= top.usr.carSpeed! 15.0))) (let - ((X2 Bool (= top.usr.carGear! 3))) + ((X2 (= top.usr.carGear! 3))) (let ((X3 - Bool (and + (and (and (and (and (not top.usr.cancel!) (not top.usr.brakePedal!)) X2) X1) top.usr.validInputs!))) (let - ((X4 Bool top.impl.usr.zz183)) + ((X4 top.impl.usr.zz183)) (and (= top.impl.usr.zz183! top.usr.decelSet!) (let - ((X5 Bool (and (not X4) top.impl.usr.zz183!))) + ((X5 (and (not X4) top.impl.usr.zz183!))) (let - ((X6 Bool top.impl.usr.zz178)) + ((X6 top.impl.usr.zz178)) (and (= top.impl.usr.zz178! top.usr.accelResume!) (let - ((X7 Bool (and (not X6) top.impl.usr.zz178!))) + ((X7 (and (not X6) top.impl.usr.zz178!))) (let - ((X8 Int top.impl.usr.zz176)) + ((X8 top.impl.usr.zz176)) (let - ((X9 Int (+ X8 1))) + ((X9 (+ X8 1))) (let - ((X10 Int (ite top.usr.decelSet! X9 0))) + ((X10 (ite top.usr.decelSet! X9 0))) (let - ((X11 Int (ite (>= 0 X10) 0 X10))) + ((X11 (ite (>= 0 X10) 0 X10))) (and (= top.impl.usr.zz176! (ite (<= X11 20) X11 20)) (let - ((X12 Bool (= top.impl.usr.zz176! 20))) + ((X12 (= top.impl.usr.zz176! 20))) (let - ((X13 Int top.impl.usr.zz170)) + ((X13 top.impl.usr.zz170)) (let - ((X14 Int (+ X13 1))) + ((X14 (+ X13 1))) (let - ((X15 Int (ite top.usr.accelResume! X14 0))) + ((X15 (ite top.usr.accelResume! X14 0))) (let - ((X16 Int (ite (>= 0 X15) 0 X15))) + ((X16 (ite (>= 0 X15) 0 X15))) (and (= top.impl.usr.zz170! (ite (<= X16 20) X16 20)) (let - ((X17 Bool (= top.impl.usr.zz170! 20))) + ((X17 (= top.impl.usr.zz170! 20))) (let - ((X18 Bool top.impl.usr.zz162)) + ((X18 top.impl.usr.zz162)) (let - ((X19 Int top.impl.usr.zz161)) + ((X19 top.impl.usr.zz161)) (and (= top.impl.usr.zz155! (ite top.impl.usr.SP3c false top.impl.usr.zz155)) (let ((X20 - Bool (and + (and (and (>= X19 2) (<= X19 8)) (not top.usr.onOff!)))) (let - ((X21 Int (ite (= X19 4) 3 X19))) + ((X21 (ite (= X19 4) 3 X19))) (let ((X22 - Int (ite (and (>= X19 3) (<= X19 6)) X21 X19))) + (ite (and (>= X19 3) (<= X19 6)) X21 X19))) (let - ((X23 Int (ite (= X22 5) 3 X22))) + ((X23 (ite (= X22 5) 3 X22))) (let ((X24 - Int (ite + (ite (and (>= X19 3) (<= X19 6)) X23 X22))) (let - ((X25 Int (ite (= X24 6) 3 X24))) + ((X25 (ite (= X24 6) 3 X24))) (let ((X26 - Int (ite + (ite (and (>= X19 3) (<= X19 6)) X25 X24))) (let ((X27 - Int (ite + (ite (and (>= X19 3) (<= X19 6)) 2 X26))) (let ((X28 - Int (ite + (ite (and (>= X19 2) (<= X19 8)) X27 X19))) (let - ((X29 Int (ite (= X28 7) 2 X28))) + ((X29 (ite (= X28 7) 2 X28))) (let ((X30 - Int (ite + (ite (and (>= X19 2) (<= X19 8)) X29 X28))) (let - ((X31 Int (ite (= X30 8) 2 X30))) + ((X31 (ite (= X30 8) 2 X30))) (let ((X32 - Int (ite + (ite (and (>= X19 2) (<= X19 8)) X31 X30))) (let ((X33 - Int (ite + (ite (and (>= X19 2) (<= X19 8)) 0 X32))) (let - ((X34 Int (ite X20 X33 X19))) + ((X34 (ite X20 X33 X19))) (let ((X35 - Int (ite (not (= X34 1)) 1 X34))) + (ite (not (= X34 1)) 1 X34))) (let - ((X36 Int (ite X20 X35 X34))) + ((X36 (ite X20 X35 X34))) (let ((X37 - Bool (and + (and (= X36 1) (and top.usr.onOff! (not X20))))) (let - ((X38 Int (ite (= X36 1) 0 X36))) + ((X38 (ite (= X36 1) 0 X36))) (let - ((X39 Int (ite X37 X38 X36))) + ((X39 (ite X37 X38 X36))) (let ((X40 - Int (ite + (ite (not (and (>= X39 2) @@ -4273,7 +3920,7 @@ X39))) (let ((X41 - Bool (and + (and (not (and (>= X39 2) @@ -4283,27 +3930,27 @@ (<= X40 8))))) (let ((X42 - Int (ite + (ite (not (= X40 7)) 7 X40))) (let ((X43 - Int (ite X41 X42 X40))) + (ite X41 X42 X40))) (let ((X44 - Int (ite X37 X43 X39))) + (ite X37 X43 X39))) (let - ((X45 Bool (or X37 X20))) + ((X45 (or X37 X20))) (let ((X46 - Bool (ite + (ite (= X19 4) false X18))) (let ((X47 - Bool (ite + (ite (and (>= X19 3) (<= X19 6)) @@ -4311,7 +3958,7 @@ X18))) (let ((X48 - Bool (ite + (ite (and (>= X19 2) (<= X19 8)) @@ -4319,26 +3966,26 @@ X18))) (let ((X49 - Bool (ite + (ite X20 X48 X18))) (let ((X50 - Bool (and + (and (and (>= X44 3) (<= X44 6)) (not X3)))) (let ((X51 - Int (ite + (ite (= X44 4) 3 X44))) (let ((X52 - Int (ite + (ite (and (>= X44 3) (<= X44 6)) @@ -4346,13 +3993,13 @@ X44))) (let ((X53 - Int (ite + (ite (= X52 5) 3 X52))) (let ((X54 - Int (ite + (ite (and (>= X44 @@ -4364,13 +4011,12 @@ X52))) (let ((X55 - Int (ite + (ite (= X54 6) 3 X54))) (let ((X56 - Int (ite (and (>= X44 3) @@ -4379,7 +4025,6 @@ X54))) (let ((X57 - Int (ite (and (>= @@ -4392,14 +4037,12 @@ X56))) (let ((X58 - Int (ite X50 X57 X44))) (let ((X59 - Int (ite (not (= X58 8)) @@ -4407,14 +4050,12 @@ X58))) (let ((X60 - Int (ite X50 X59 X58))) (let ((X61 - Bool (and (= X60 8) (and @@ -4436,21 +4077,18 @@ (not X50))))) (let ((X62 - Int (ite (= X60 8) 2 X60))) (let ((X63 - Int (ite X61 X62 X60))) (let ((X64 - Int (ite (not (and @@ -4464,7 +4102,6 @@ X63))) (let ((X65 - Bool (and (not (and @@ -4483,7 +4120,6 @@ 6))))) (let ((X66 - Int (ite (not (= X64 4)) @@ -4491,27 +4127,23 @@ X64))) (let ((X67 - Int (ite X65 X66 X64))) (let ((X68 - Int (ite X61 X67 X63))) (let ((X69 - Bool (or X61 X50))) (let ((X70 - Bool (and (= X68 8) (and @@ -4533,21 +4165,18 @@ (not X69))))) (let ((X71 - Int (ite (= X68 8) 2 X68))) (let ((X72 - Int (ite X70 X71 X68))) (let ((X73 - Int (ite (not (and @@ -4561,7 +4190,6 @@ X72))) (let ((X74 - Bool (and (not (and @@ -4580,7 +4208,6 @@ 6))))) (let ((X75 - Int (ite (not (= X73 4)) @@ -4588,27 +4215,23 @@ X73))) (let ((X76 - Int (ite X74 X75 X73))) (let ((X77 - Int (ite X70 X76 X72))) (let ((X78 - Bool (or X70 X69))) (let ((X79 - Bool (and (= X77 7) (and @@ -4630,21 +4253,18 @@ (not X78))))) (let ((X80 - Int (ite (= X77 7) 2 X77))) (let ((X81 - Int (ite X79 X80 X77))) (let ((X82 - Int (ite (not (and @@ -4658,7 +4278,6 @@ X81))) (let ((X83 - Bool (and (not (and @@ -4677,7 +4296,6 @@ 6))))) (let ((X84 - Int (ite (not (= X82 4)) @@ -4685,28 +4303,24 @@ X82))) (let ((X85 - Int (ite X83 X84 X82))) (let ((X86 - Int (ite X79 X85 X81))) (let ((X87 - Bool (ite (= X44 4) false X49))) (let ((X88 - Bool (ite (and (>= @@ -4719,34 +4333,29 @@ X49))) (let ((X89 - Bool (ite X50 X88 X49))) (let ((X90 - Bool (ite X61 true X89))) (let ((X91 - Bool (ite X79 true X90))) (let ((X92 - Bool (or X79 X78))) (let ((X93 - Bool (and (= X86 4) (not @@ -4758,21 +4367,18 @@ 0))))) (let ((X94 - Int (ite (= X86 4) 3 X86))) (let ((X95 - Int (ite X93 X94 X86))) (let ((X96 - Int (ite (not (= X95 4)) @@ -4780,14 +4386,12 @@ X95))) (let ((X97 - Int (ite X93 X96 X95))) (let ((X98 - Bool (and (= X97 4) (and @@ -4801,21 +4405,18 @@ (not X93))))) (let ((X99 - Int (ite (= X97 4) 3 X97))) (let ((X100 - Int (ite X98 X99 X97))) (let ((X101 - Int (ite (not (= @@ -4825,20 +4426,17 @@ X100))) (let ((X102 - Int (ite X98 X101 X100))) (let ((X103 - Bool (or X98 X93))) (let ((X104 - Bool (and (= X102 @@ -4855,7 +4453,6 @@ X103))))) (let ((X105 - Int (ite (= X102 @@ -4864,14 +4461,12 @@ X102))) (let ((X106 - Int (ite X104 X105 X102))) (let ((X107 - Int (ite (not (= @@ -4881,20 +4476,17 @@ X106))) (let ((X108 - Int (ite X104 X107 X106))) (let ((X109 - Bool (or X104 X103))) (let ((X110 - Bool (and (= X108 @@ -4912,7 +4504,6 @@ X109))))) (let ((X111 - Int (ite (= X108 @@ -4921,14 +4512,12 @@ X108))) (let ((X112 - Int (ite X110 X111 X108))) (let ((X113 - Int (ite (not (= @@ -4938,20 +4527,17 @@ X112))) (let ((X114 - Int (ite X110 X113 X112))) (let ((X115 - Bool (or X110 X109))) (let ((X116 - Bool (and (= X114 @@ -4969,7 +4555,6 @@ X115))))) (let ((X117 - Int (ite (= X114 @@ -4978,14 +4563,12 @@ X114))) (let ((X118 - Int (ite X116 X117 X114))) (let ((X119 - Int (ite (not (= @@ -4995,55 +4578,47 @@ X118))) (let ((X120 - Int (ite X116 X119 X118))) (let ((X121 - Bool (or X116 X115))) (let ((X122 - Bool (ite (= X86 4) false X91))) (let ((X123 - Bool (ite X93 X122 X91))) (let ((X124 - Bool (ite X93 true X123))) (let ((X125 - Bool (ite (= X97 4) false X124))) (let ((X126 - Bool (ite X98 X125 X124))) (let ((X127 - Bool (ite (= X102 @@ -5052,14 +4627,12 @@ X126))) (let ((X128 - Bool (ite X104 X127 X126))) (let ((X129 - Bool (ite (and (not @@ -5071,7 +4644,6 @@ X128))) (let ((X130 - Bool (ite (and (not X92) @@ -5086,7 +4658,6 @@ X91))) (let ((X131 - Bool (ite (and (not X45) @@ -5114,7 +4685,6 @@ X18)) (let ((X132 - Bool (= (ite (not @@ -5124,10 +4694,9 @@ 1.0))) (let ((X133 - Int top.impl.usr.mode)) + top.impl.usr.mode)) (let ((X134 - Int (ite (not (= X19 1)) @@ -5135,7 +4704,6 @@ X133))) (let ((X135 - Int (ite (not (= X34 1)) @@ -5143,14 +4711,12 @@ X133))) (let ((X136 - Int (ite X20 X135 X133))) (let ((X137 - Int (ite (not (= X40 7)) @@ -5158,21 +4724,18 @@ X136))) (let ((X138 - Int (ite X41 X137 X136))) (let ((X139 - Int (ite X37 X138 X136))) (let ((X140 - Int (ite (not (= X58 8)) @@ -5180,14 +4743,12 @@ X139))) (let ((X141 - Int (ite X50 X140 X139))) (let ((X142 - Int (ite (not (= X64 4)) @@ -5195,21 +4756,18 @@ X141))) (let ((X143 - Int (ite X65 X142 X141))) (let ((X144 - Int (ite X61 X143 X141))) (let ((X145 - Int (ite (not (= X73 4)) @@ -5217,21 +4775,18 @@ X144))) (let ((X146 - Int (ite X74 X145 X144))) (let ((X147 - Int (ite X70 X146 X144))) (let ((X148 - Int (ite (not (= X82 4)) @@ -5239,21 +4794,18 @@ X147))) (let ((X149 - Int (ite X83 X148 X147))) (let ((X150 - Int (ite X79 X149 X147))) (let ((X151 - Int (ite (not (= X95 4)) @@ -5261,14 +4813,12 @@ X150))) (let ((X152 - Int (ite X93 X151 X150))) (let ((X153 - Int (ite (not (= @@ -5278,14 +4828,12 @@ X152))) (let ((X154 - Int (ite X98 X153 X152))) (let ((X155 - Int (ite (not (= @@ -5295,14 +4843,12 @@ X154))) (let ((X156 - Int (ite X104 X155 X154))) (let ((X157 - Int (ite (not (= @@ -5312,14 +4858,12 @@ X156))) (let ((X158 - Int (ite X110 X157 X156))) (let ((X159 - Int (ite (not (= @@ -5329,14 +4873,12 @@ X158))) (let ((X160 - Int (ite X116 X159 X158))) (let ((X161 - Int (ite (and (not X92) @@ -5351,7 +4893,6 @@ X150))) (let ((X162 - Int (ite (and (not X45) @@ -5376,7 +4917,6 @@ X133)) (let ((X163 - Bool (= top.impl.usr.mode! 4))) @@ -5391,7 +4931,6 @@ X132))) (let ((X164 - Int (ite (not (= X19 1)) @@ -5399,7 +4938,6 @@ X19))) (let ((X165 - Int (ite (and (not X92) @@ -5414,7 +4952,6 @@ X86))) (let ((X166 - Int (ite (and (not X45) @@ -5429,7 +4966,6 @@ X44))) (let ((X167 - Int (ite top.impl.usr.SP3c! (ite diff --git a/lib-nonconforming/Inv_Track/andrew_lustre/ccp19.lus.sl b/lib/Inv_Track/andrew_lustre/ccp19.lus.sl similarity index 88% rename from lib-nonconforming/Inv_Track/andrew_lustre/ccp19.lus.sl rename to lib/Inv_Track/andrew_lustre/ccp19.lus.sl index 7397182a..842fa704 100644 --- a/lib-nonconforming/Inv_Track/andrew_lustre/ccp19.lus.sl +++ b/lib/Inv_Track/andrew_lustre/ccp19.lus.sl @@ -32,14 +32,14 @@ ) Bool (let - ((X1 Real 0.0)) + ((X1 0.0)) (let - ((X2 Bool (>= top.usr.carSpeed_a_0 15.0))) + ((X2 (>= top.usr.carSpeed_a_0 15.0))) (let - ((X3 Bool (= top.usr.carGear_a_0 3))) + ((X3 (= top.usr.carGear_a_0 3))) (let ((X4 - Bool (and + (and (and (and (and (not top.usr.cancel_a_0) (not top.usr.brakePedal_a_0)) @@ -47,143 +47,143 @@ X2) top.usr.validInputs_a_0))) (let - ((X5 Bool true)) + ((X5 true)) (and (= top.impl.usr.zz183_a_0 top.usr.decelSet_a_0) (let - ((X6 Bool (and (not X5) top.impl.usr.zz183_a_0))) + ((X6 (and (not X5) top.impl.usr.zz183_a_0))) (let - ((X7 Bool true)) + ((X7 true)) (and (= top.impl.usr.zz178_a_0 top.usr.accelResume_a_0) (let - ((X8 Bool (and (not X7) top.impl.usr.zz178_a_0))) + ((X8 (and (not X7) top.impl.usr.zz178_a_0))) (let - ((X9 Int 0)) + ((X9 0)) (let - ((X10 Int (+ X9 1))) + ((X10 (+ X9 1))) (let - ((X11 Int (ite top.usr.decelSet_a_0 X10 0))) + ((X11 (ite top.usr.decelSet_a_0 X10 0))) (let - ((X12 Int (ite (>= 0 X11) 0 X11))) + ((X12 (ite (>= 0 X11) 0 X11))) (and (= top.impl.usr.zz176_a_0 (ite (<= X12 20) X12 20)) (let - ((X13 Bool (= top.impl.usr.zz176_a_0 20))) + ((X13 (= top.impl.usr.zz176_a_0 20))) (let - ((X14 Int 0)) + ((X14 0)) (let - ((X15 Int (+ X14 1))) + ((X15 (+ X14 1))) (let - ((X16 Int (ite top.usr.accelResume_a_0 X15 0))) + ((X16 (ite top.usr.accelResume_a_0 X15 0))) (let - ((X17 Int (ite (>= 0 X16) 0 X16))) + ((X17 (ite (>= 0 X16) 0 X16))) (and (= top.impl.usr.zz170_a_0 (ite (<= X17 20) X17 20)) (let - ((X18 Bool (= top.impl.usr.zz170_a_0 20))) + ((X18 (= top.impl.usr.zz170_a_0 20))) (let - ((X19 Int 0)) + ((X19 0)) (let - ((X20 Int 0)) + ((X20 0)) (and (= top.impl.usr.zz155_a_0 true) (let - ((X21 Int (ite (not (= X20 1)) 1 X19))) + ((X21 (ite (not (= X20 1)) 1 X19))) (let ((X22 - Bool (and + (and (and (>= X20 2) (<= X20 8)) (not top.usr.onOff_a_0)))) (let - ((X23 Int (ite (= X20 4) 3 X20))) + ((X23 (ite (= X20 4) 3 X20))) (let ((X24 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) X23 X20))) (let - ((X25 Int (ite (= X24 5) 3 X24))) + ((X25 (ite (= X24 5) 3 X24))) (let ((X26 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) X25 X24))) (let - ((X27 Int (ite (= X26 6) 3 X26))) + ((X27 (ite (= X26 6) 3 X26))) (let ((X28 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) X27 X26))) (let ((X29 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) 2 X28))) (let ((X30 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) X29 X20))) (let - ((X31 Int (ite (= X30 7) 2 X30))) + ((X31 (ite (= X30 7) 2 X30))) (let ((X32 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) X31 X30))) (let - ((X33 Int (ite (= X32 8) 2 X32))) + ((X33 (ite (= X32 8) 2 X32))) (let ((X34 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) X33 X32))) (let ((X35 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) 0 X34))) (let - ((X36 Int (ite X22 X35 X20))) + ((X36 (ite X22 X35 X20))) (let ((X37 - Int (ite (not (= X36 1)) 1 X36))) + (ite (not (= X36 1)) 1 X36))) (let - ((X38 Int (ite X22 X37 X36))) + ((X38 (ite X22 X37 X36))) (let ((X39 - Bool (and + (and (= X38 1) (and top.usr.onOff_a_0 (not X22))))) (let ((X40 - Int (ite (= X38 1) 0 X38))) + (ite (= X38 1) 0 X38))) (let - ((X41 Int (ite X39 X40 X38))) + ((X41 (ite X39 X40 X38))) (let ((X42 - Int (ite + (ite (not (= X36 1)) 1 X19))) (let ((X43 - Int (ite X22 X42 X19))) + (ite X22 X42 X19))) (let ((X44 - Int (ite + (ite (not (and (>= X41 2) @@ -192,7 +192,7 @@ X41))) (let ((X45 - Bool (and + (and (not (and (>= X41 2) @@ -202,46 +202,46 @@ (<= X44 8))))) (let ((X46 - Int (ite + (ite (not (= X44 7)) 2 X43))) (let ((X47 - Int (ite X45 X46 X43))) + (ite X45 X46 X43))) (let ((X48 - Int (ite + (ite X39 X47 X43))) (let ((X49 - Int (ite + (ite (not (= X44 7)) 7 X44))) (let ((X50 - Int (ite + (ite X45 X49 X44))) (let ((X51 - Int (ite + (ite X39 X50 X41))) (let ((X52 - Bool (or + (or X39 X22))) (let ((X53 - Bool (and + (and (and (>= X51 @@ -252,13 +252,13 @@ (not X4)))) (let ((X54 - Int (ite + (ite (= X51 4) 3 X51))) (let ((X55 - Int (ite + (ite (and (>= X51 @@ -270,14 +270,12 @@ X51))) (let ((X56 - Int (ite (= X55 5) 3 X55))) (let ((X57 - Int (ite (and (>= @@ -290,14 +288,12 @@ X55))) (let ((X58 - Int (ite (= X57 6) 3 X57))) (let ((X59 - Int (ite (and (>= @@ -310,7 +306,6 @@ X57))) (let ((X60 - Int (ite (and (>= @@ -323,14 +318,12 @@ X59))) (let ((X61 - Int (ite X53 X60 X51))) (let ((X62 - Int (ite (not (= X61 8)) @@ -338,14 +331,12 @@ X61))) (let ((X63 - Int (ite X53 X62 X61))) (let ((X64 - Bool (and (= X63 8) (and @@ -367,21 +358,18 @@ (not X53))))) (let ((X65 - Int (ite (= X63 8) 2 X63))) (let ((X66 - Int (ite X64 X65 X63))) (let ((X67 - Int (ite (not (and @@ -395,7 +383,6 @@ X66))) (let ((X68 - Bool (and (not (and @@ -414,7 +401,6 @@ 6))))) (let ((X69 - Int (ite (not (= X67 4)) @@ -422,27 +408,23 @@ X67))) (let ((X70 - Int (ite X68 X69 X67))) (let ((X71 - Int (ite X64 X70 X66))) (let ((X72 - Bool (or X64 X53))) (let ((X73 - Bool (and (= X71 8) (and @@ -464,21 +446,18 @@ (not X72))))) (let ((X74 - Int (ite (= X71 8) 2 X71))) (let ((X75 - Int (ite X73 X74 X71))) (let ((X76 - Int (ite (not (and @@ -492,7 +471,6 @@ X75))) (let ((X77 - Bool (and (not (and @@ -511,7 +489,6 @@ 6))))) (let ((X78 - Int (ite (not (= X76 4)) @@ -519,27 +496,23 @@ X76))) (let ((X79 - Int (ite X77 X78 X76))) (let ((X80 - Int (ite X73 X79 X75))) (let ((X81 - Bool (or X73 X72))) (let ((X82 - Bool (and (= X80 7) (and @@ -561,21 +534,18 @@ (not X81))))) (let ((X83 - Int (ite (= X80 7) 2 X80))) (let ((X84 - Int (ite X82 X83 X80))) (let ((X85 - Int (ite (not (= X61 8)) @@ -583,14 +553,12 @@ X48))) (let ((X86 - Int (ite X53 X85 X48))) (let ((X87 - Int (ite (not (= X67 4)) @@ -598,21 +566,18 @@ X86))) (let ((X88 - Int (ite X68 X87 X86))) (let ((X89 - Int (ite X64 X88 X86))) (let ((X90 - Int (ite (not (= X76 4)) @@ -620,21 +585,18 @@ X89))) (let ((X91 - Int (ite X77 X90 X89))) (let ((X92 - Int (ite X73 X91 X89))) (let ((X93 - Int (ite (not (and @@ -648,7 +610,6 @@ X84))) (let ((X94 - Bool (and (not (and @@ -667,7 +628,6 @@ 6))))) (let ((X95 - Int (ite (not (= X93 4)) @@ -675,21 +635,18 @@ X92))) (let ((X96 - Int (ite X94 X95 X92))) (let ((X97 - Int (ite X82 X96 X92))) (let ((X98 - Int (ite (not (= X93 4)) @@ -697,27 +654,23 @@ X93))) (let ((X99 - Int (ite X94 X98 X93))) (let ((X100 - Int (ite X82 X99 X84))) (let ((X101 - Bool (or X82 X81))) (let ((X102 - Bool (and (= X100 @@ -731,7 +684,6 @@ 0))))) (let ((X103 - Int (ite (= X100 @@ -740,14 +692,12 @@ X100))) (let ((X104 - Int (ite X102 X103 X100))) (let ((X105 - Int (ite (not (= @@ -757,14 +707,12 @@ X104))) (let ((X106 - Int (ite X102 X105 X104))) (let ((X107 - Bool (and (= X106 @@ -781,7 +729,6 @@ X102))))) (let ((X108 - Int (ite (= X106 @@ -790,14 +737,12 @@ X106))) (let ((X109 - Int (ite X107 X108 X106))) (let ((X110 - Int (ite (not (= @@ -807,20 +752,17 @@ X109))) (let ((X111 - Int (ite X107 X110 X109))) (let ((X112 - Bool (or X107 X102))) (let ((X113 - Bool (and (= X111 @@ -837,7 +779,6 @@ X112))))) (let ((X114 - Int (ite (= X111 @@ -846,14 +787,12 @@ X111))) (let ((X115 - Int (ite X113 X114 X111))) (let ((X116 - Int (ite (not (= @@ -863,20 +802,17 @@ X115))) (let ((X117 - Int (ite X113 X116 X115))) (let ((X118 - Bool (or X113 X112))) (let ((X119 - Bool (and (= X117 @@ -894,7 +830,6 @@ X118))))) (let ((X120 - Int (ite (= X117 @@ -903,14 +838,12 @@ X117))) (let ((X121 - Int (ite X119 X120 X117))) (let ((X122 - Int (ite (not (= @@ -920,20 +853,17 @@ X121))) (let ((X123 - Int (ite X119 X122 X121))) (let ((X124 - Bool (or X119 X118))) (let ((X125 - Bool (and (= X123 @@ -951,7 +881,6 @@ X124))))) (let ((X126 - Int (ite (= X123 @@ -960,14 +889,12 @@ X123))) (let ((X127 - Int (ite X125 X126 X123))) (let ((X128 - Int (ite (not (= @@ -977,14 +904,12 @@ X97))) (let ((X129 - Int (ite X102 X128 X97))) (let ((X130 - Int (ite (not (= @@ -994,14 +919,12 @@ X129))) (let ((X131 - Int (ite X107 X130 X129))) (let ((X132 - Int (ite (not (= @@ -1011,14 +934,12 @@ X131))) (let ((X133 - Int (ite X113 X132 X131))) (let ((X134 - Int (ite (not (= @@ -1028,14 +949,12 @@ X133))) (let ((X135 - Int (ite X119 X134 X133))) (let ((X136 - Int (ite (not (= @@ -1045,14 +964,12 @@ X135))) (let ((X137 - Int (ite X125 X136 X135))) (let ((X138 - Int (ite (and (not @@ -1068,7 +985,6 @@ X97))) (let ((X139 - Int (ite (and (not X52) @@ -1096,39 +1012,34 @@ X19)) (let ((X140 - Bool (= top.impl.usr.mode_a_0 3))) (let ((X141 - Real (ite X140 X1 0.0))) (let ((X142 - Bool (= top.impl.usr.mode_a_0 4))) (let ((X143 - Real (ite X142 X1 X141))) (let ((X144 - Bool (= top.impl.usr.mode_a_0 5))) (let ((X145 - Bool X144)) + X144)) (and (= top.impl.usr.zz4_a_0 @@ -1146,23 +1057,21 @@ 0.0 (- X1 - (/ 1 20)))) + (/ 1.0 20.0)))) (let ((X146 - Real (ite X145 top.impl.usr.zz5_a_0 X143))) (let ((X147 - Bool (= top.impl.usr.mode_a_0 6))) (let ((X148 - Bool X147)) + X147)) (and (= top.impl.usr.zz1_a_0 @@ -1180,27 +1089,24 @@ 0.0 (+ X1 - (/ 1 20)))) + (/ 1.0 20.0)))) (let ((X149 - Real (ite X148 top.impl.usr.zz2_a_0 X146))) (let ((X150 - Bool false)) + false)) (let ((X151 - Bool (ite (= X20 4) false X150))) (let ((X152 - Bool (ite (and (>= @@ -1213,7 +1119,6 @@ X150))) (let ((X153 - Bool (ite (and (>= @@ -1226,21 +1131,18 @@ X150))) (let ((X154 - Bool (ite X22 X153 X150))) (let ((X155 - Bool (ite (= X51 4) false X154))) (let ((X156 - Bool (ite (and (>= @@ -1253,28 +1155,24 @@ X154))) (let ((X157 - Bool (ite X53 X156 X154))) (let ((X158 - Bool (ite X64 true X157))) (let ((X159 - Bool (ite X82 true X158))) (let ((X160 - Int (ite (not (= @@ -1284,20 +1182,17 @@ X127))) (let ((X161 - Int (ite X125 X160 X127))) (let ((X162 - Bool (or X125 X124))) (let ((X163 - Bool (ite (= X100 @@ -1306,21 +1201,18 @@ X159))) (let ((X164 - Bool (ite X102 X163 X159))) (let ((X165 - Bool (ite X102 true X164))) (let ((X166 - Bool (ite (= X106 @@ -1329,14 +1221,12 @@ X165))) (let ((X167 - Bool (ite X107 X166 X165))) (let ((X168 - Bool (ite (= X111 @@ -1345,14 +1235,12 @@ X167))) (let ((X169 - Bool (ite X113 X168 X167))) (let ((X170 - Bool (ite (and (not @@ -1364,7 +1252,6 @@ X169))) (let ((X171 - Bool (ite (and (not @@ -1380,7 +1267,6 @@ X159))) (let ((X172 - Bool (ite (and (not X52) @@ -1405,7 +1291,6 @@ X150)) (let ((X173 - Real (ite top.impl.usr.zz162_a_0 top.usr.carSpeed_a_0 @@ -1426,19 +1311,16 @@ X173))) (let ((X174 - Real (- top.impl.usr.desiredSpeed_a_0 top.usr.carSpeed_a_0))) (let ((X175 - Real (* X174 1.0))) (let ((X176 - Real (ite (< X175 @@ -1452,22 +1334,19 @@ X175)))) (let ((X177 - Real (/ X176 20.0))) (let ((X178 - Real 0.0)) + 0.0)) (let ((X179 - Real (+ X177 X178))) (let ((X180 - Real (ite (< X179 @@ -1481,7 +1360,6 @@ X179)))) (let ((X181 - Bool (or (or X142 @@ -1496,7 +1374,6 @@ 0.0)) (let ((X182 - Bool (= top.impl.usr.cruiseThrottle_a_0 0.0))) @@ -1510,7 +1387,6 @@ X182)) (let ((X183 - Int (ite (not (= X20 1)) @@ -1518,7 +1394,6 @@ X20))) (let ((X184 - Int (ite (and (not @@ -1534,7 +1409,6 @@ X100))) (let ((X185 - Int (ite (and (not X52) @@ -1549,7 +1423,6 @@ X51))) (let ((X186 - Int (ite top.impl.usr.SP3c_a_0 (ite @@ -1623,14 +1496,14 @@ ) Bool (let - ((X1 Real top.impl.usr.desiredSpeed_a_0)) + ((X1 top.impl.usr.desiredSpeed_a_0)) (let - ((X2 Bool (>= top.usr.carSpeed_a_1 15.0))) + ((X2 (>= top.usr.carSpeed_a_1 15.0))) (let - ((X3 Bool (= top.usr.carGear_a_1 3))) + ((X3 (= top.usr.carGear_a_1 3))) (let ((X4 - Bool (and + (and (and (and (and (not top.usr.cancel_a_1) (not top.usr.brakePedal_a_1)) @@ -1638,45 +1511,45 @@ X2) top.usr.validInputs_a_1))) (let - ((X5 Bool top.impl.usr.zz183_a_0)) + ((X5 top.impl.usr.zz183_a_0)) (and (= top.impl.usr.zz183_a_1 top.usr.decelSet_a_1) (let - ((X6 Bool (and (not X5) top.impl.usr.zz183_a_1))) + ((X6 (and (not X5) top.impl.usr.zz183_a_1))) (let - ((X7 Bool top.impl.usr.zz178_a_0)) + ((X7 top.impl.usr.zz178_a_0)) (and (= top.impl.usr.zz178_a_1 top.usr.accelResume_a_1) (let - ((X8 Bool (and (not X7) top.impl.usr.zz178_a_1))) + ((X8 (and (not X7) top.impl.usr.zz178_a_1))) (let - ((X9 Int top.impl.usr.zz176_a_0)) + ((X9 top.impl.usr.zz176_a_0)) (let - ((X10 Int (+ X9 1))) + ((X10 (+ X9 1))) (let - ((X11 Int (ite top.usr.decelSet_a_1 X10 0))) + ((X11 (ite top.usr.decelSet_a_1 X10 0))) (let - ((X12 Int (ite (>= 0 X11) 0 X11))) + ((X12 (ite (>= 0 X11) 0 X11))) (and (= top.impl.usr.zz176_a_1 (ite (<= X12 20) X12 20)) (let - ((X13 Bool (= top.impl.usr.zz176_a_1 20))) + ((X13 (= top.impl.usr.zz176_a_1 20))) (let - ((X14 Int top.impl.usr.zz170_a_0)) + ((X14 top.impl.usr.zz170_a_0)) (let - ((X15 Int (+ X14 1))) + ((X15 (+ X14 1))) (let - ((X16 Int (ite top.usr.accelResume_a_1 X15 0))) + ((X16 (ite top.usr.accelResume_a_1 X15 0))) (let - ((X17 Int (ite (>= 0 X16) 0 X16))) + ((X17 (ite (>= 0 X16) 0 X16))) (and (= top.impl.usr.zz170_a_1 (ite (<= X17 20) X17 20)) (let - ((X18 Bool (= top.impl.usr.zz170_a_1 20))) + ((X18 (= top.impl.usr.zz170_a_1 20))) (let - ((X19 Int top.impl.usr.mode_a_0)) + ((X19 top.impl.usr.mode_a_0)) (let - ((X20 Int top.impl.usr.zz161_a_0)) + ((X20 top.impl.usr.zz161_a_0)) (and (= top.impl.usr.zz155_a_1 @@ -1685,101 +1558,101 @@ false top.impl.usr.zz155_a_0)) (let - ((X21 Int (ite (not (= X20 1)) 1 X19))) + ((X21 (ite (not (= X20 1)) 1 X19))) (let ((X22 - Bool (and + (and (and (>= X20 2) (<= X20 8)) (not top.usr.onOff_a_1)))) (let - ((X23 Int (ite (= X20 4) 3 X20))) + ((X23 (ite (= X20 4) 3 X20))) (let ((X24 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) X23 X20))) (let - ((X25 Int (ite (= X24 5) 3 X24))) + ((X25 (ite (= X24 5) 3 X24))) (let ((X26 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) X25 X24))) (let - ((X27 Int (ite (= X26 6) 3 X26))) + ((X27 (ite (= X26 6) 3 X26))) (let ((X28 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) X27 X26))) (let ((X29 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) 2 X28))) (let ((X30 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) X29 X20))) (let - ((X31 Int (ite (= X30 7) 2 X30))) + ((X31 (ite (= X30 7) 2 X30))) (let ((X32 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) X31 X30))) (let - ((X33 Int (ite (= X32 8) 2 X32))) + ((X33 (ite (= X32 8) 2 X32))) (let ((X34 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) X33 X32))) (let ((X35 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) 0 X34))) (let - ((X36 Int (ite X22 X35 X20))) + ((X36 (ite X22 X35 X20))) (let ((X37 - Int (ite (not (= X36 1)) 1 X36))) + (ite (not (= X36 1)) 1 X36))) (let - ((X38 Int (ite X22 X37 X36))) + ((X38 (ite X22 X37 X36))) (let ((X39 - Bool (and + (and (= X38 1) (and top.usr.onOff_a_1 (not X22))))) (let ((X40 - Int (ite (= X38 1) 0 X38))) + (ite (= X38 1) 0 X38))) (let - ((X41 Int (ite X39 X40 X38))) + ((X41 (ite X39 X40 X38))) (let ((X42 - Int (ite + (ite (not (= X36 1)) 1 X19))) (let ((X43 - Int (ite X22 X42 X19))) + (ite X22 X42 X19))) (let ((X44 - Int (ite + (ite (not (and (>= X41 2) @@ -1788,7 +1661,7 @@ X41))) (let ((X45 - Bool (and + (and (not (and (>= X41 2) @@ -1798,46 +1671,46 @@ (<= X44 8))))) (let ((X46 - Int (ite + (ite (not (= X44 7)) 2 X43))) (let ((X47 - Int (ite X45 X46 X43))) + (ite X45 X46 X43))) (let ((X48 - Int (ite + (ite X39 X47 X43))) (let ((X49 - Int (ite + (ite (not (= X44 7)) 7 X44))) (let ((X50 - Int (ite + (ite X45 X49 X44))) (let ((X51 - Int (ite + (ite X39 X50 X41))) (let ((X52 - Bool (or + (or X39 X22))) (let ((X53 - Bool (and + (and (and (>= X51 @@ -1848,13 +1721,13 @@ (not X4)))) (let ((X54 - Int (ite + (ite (= X51 4) 3 X51))) (let ((X55 - Int (ite + (ite (and (>= X51 @@ -1866,14 +1739,12 @@ X51))) (let ((X56 - Int (ite (= X55 5) 3 X55))) (let ((X57 - Int (ite (and (>= @@ -1886,14 +1757,12 @@ X55))) (let ((X58 - Int (ite (= X57 6) 3 X57))) (let ((X59 - Int (ite (and (>= @@ -1906,7 +1775,6 @@ X57))) (let ((X60 - Int (ite (and (>= @@ -1919,14 +1787,12 @@ X59))) (let ((X61 - Int (ite X53 X60 X51))) (let ((X62 - Int (ite (not (= X61 8)) @@ -1934,14 +1800,12 @@ X61))) (let ((X63 - Int (ite X53 X62 X61))) (let ((X64 - Bool (and (= X63 8) (and @@ -1963,21 +1827,18 @@ (not X53))))) (let ((X65 - Int (ite (= X63 8) 2 X63))) (let ((X66 - Int (ite X64 X65 X63))) (let ((X67 - Int (ite (not (and @@ -1991,7 +1852,6 @@ X66))) (let ((X68 - Bool (and (not (and @@ -2010,7 +1870,6 @@ 6))))) (let ((X69 - Int (ite (not (= X67 4)) @@ -2018,27 +1877,23 @@ X67))) (let ((X70 - Int (ite X68 X69 X67))) (let ((X71 - Int (ite X64 X70 X66))) (let ((X72 - Bool (or X64 X53))) (let ((X73 - Bool (and (= X71 8) (and @@ -2060,21 +1915,18 @@ (not X72))))) (let ((X74 - Int (ite (= X71 8) 2 X71))) (let ((X75 - Int (ite X73 X74 X71))) (let ((X76 - Int (ite (not (and @@ -2088,7 +1940,6 @@ X75))) (let ((X77 - Bool (and (not (and @@ -2107,7 +1958,6 @@ 6))))) (let ((X78 - Int (ite (not (= X76 4)) @@ -2115,27 +1965,23 @@ X76))) (let ((X79 - Int (ite X77 X78 X76))) (let ((X80 - Int (ite X73 X79 X75))) (let ((X81 - Bool (or X73 X72))) (let ((X82 - Bool (and (= X80 7) (and @@ -2157,21 +2003,18 @@ (not X81))))) (let ((X83 - Int (ite (= X80 7) 2 X80))) (let ((X84 - Int (ite X82 X83 X80))) (let ((X85 - Int (ite (not (= X61 8)) @@ -2179,14 +2022,12 @@ X48))) (let ((X86 - Int (ite X53 X85 X48))) (let ((X87 - Int (ite (not (= X67 4)) @@ -2194,21 +2035,18 @@ X86))) (let ((X88 - Int (ite X68 X87 X86))) (let ((X89 - Int (ite X64 X88 X86))) (let ((X90 - Int (ite (not (= X76 4)) @@ -2216,21 +2054,18 @@ X89))) (let ((X91 - Int (ite X77 X90 X89))) (let ((X92 - Int (ite X73 X91 X89))) (let ((X93 - Int (ite (not (and @@ -2244,7 +2079,6 @@ X84))) (let ((X94 - Bool (and (not (and @@ -2263,7 +2097,6 @@ 6))))) (let ((X95 - Int (ite (not (= X93 4)) @@ -2271,21 +2104,18 @@ X92))) (let ((X96 - Int (ite X94 X95 X92))) (let ((X97 - Int (ite X82 X96 X92))) (let ((X98 - Int (ite (not (= X93 4)) @@ -2293,27 +2123,23 @@ X93))) (let ((X99 - Int (ite X94 X98 X93))) (let ((X100 - Int (ite X82 X99 X84))) (let ((X101 - Bool (or X82 X81))) (let ((X102 - Bool (and (= X100 @@ -2327,7 +2153,6 @@ 0))))) (let ((X103 - Int (ite (= X100 @@ -2336,14 +2161,12 @@ X100))) (let ((X104 - Int (ite X102 X103 X100))) (let ((X105 - Int (ite (not (= @@ -2353,14 +2176,12 @@ X104))) (let ((X106 - Int (ite X102 X105 X104))) (let ((X107 - Bool (and (= X106 @@ -2377,7 +2198,6 @@ X102))))) (let ((X108 - Int (ite (= X106 @@ -2386,14 +2206,12 @@ X106))) (let ((X109 - Int (ite X107 X108 X106))) (let ((X110 - Int (ite (not (= @@ -2403,20 +2221,17 @@ X109))) (let ((X111 - Int (ite X107 X110 X109))) (let ((X112 - Bool (or X107 X102))) (let ((X113 - Bool (and (= X111 @@ -2433,7 +2248,6 @@ X112))))) (let ((X114 - Int (ite (= X111 @@ -2442,14 +2256,12 @@ X111))) (let ((X115 - Int (ite X113 X114 X111))) (let ((X116 - Int (ite (not (= @@ -2459,20 +2271,17 @@ X115))) (let ((X117 - Int (ite X113 X116 X115))) (let ((X118 - Bool (or X113 X112))) (let ((X119 - Bool (and (= X117 @@ -2490,7 +2299,6 @@ X118))))) (let ((X120 - Int (ite (= X117 @@ -2499,14 +2307,12 @@ X117))) (let ((X121 - Int (ite X119 X120 X117))) (let ((X122 - Int (ite (not (= @@ -2516,20 +2322,17 @@ X121))) (let ((X123 - Int (ite X119 X122 X121))) (let ((X124 - Bool (or X119 X118))) (let ((X125 - Bool (and (= X123 @@ -2547,7 +2350,6 @@ X124))))) (let ((X126 - Int (ite (= X123 @@ -2556,14 +2358,12 @@ X123))) (let ((X127 - Int (ite X125 X126 X123))) (let ((X128 - Int (ite (not (= @@ -2573,14 +2373,12 @@ X97))) (let ((X129 - Int (ite X102 X128 X97))) (let ((X130 - Int (ite (not (= @@ -2590,14 +2388,12 @@ X129))) (let ((X131 - Int (ite X107 X130 X129))) (let ((X132 - Int (ite (not (= @@ -2607,14 +2403,12 @@ X131))) (let ((X133 - Int (ite X113 X132 X131))) (let ((X134 - Int (ite (not (= @@ -2624,14 +2418,12 @@ X133))) (let ((X135 - Int (ite X119 X134 X133))) (let ((X136 - Int (ite (not (= @@ -2641,14 +2433,12 @@ X135))) (let ((X137 - Int (ite X125 X136 X135))) (let ((X138 - Int (ite (and (not @@ -2664,7 +2454,6 @@ X97))) (let ((X139 - Int (ite (and (not X52) @@ -2692,39 +2481,34 @@ X19)) (let ((X140 - Bool (= top.impl.usr.mode_a_1 3))) (let ((X141 - Real (ite X140 X1 0.0))) (let ((X142 - Bool (= top.impl.usr.mode_a_1 4))) (let ((X143 - Real (ite X142 X1 X141))) (let ((X144 - Bool (= top.impl.usr.mode_a_1 5))) (let ((X145 - Bool X144)) + X144)) (and (= top.impl.usr.zz4_a_1 @@ -2747,24 +2531,22 @@ top.impl.usr.zz3_a_1 (- X1 - (/ 1 20)) + (/ 1.0 20.0)) top.impl.usr.zz5_a_0))) (let ((X146 - Real (ite X145 top.impl.usr.zz5_a_1 X143))) (let ((X147 - Bool (= top.impl.usr.mode_a_1 6))) (let ((X148 - Bool X147)) + X147)) (and (= top.impl.usr.zz1_a_1 @@ -2787,28 +2569,25 @@ top.impl.usr.zz0_a_1 (+ X1 - (/ 1 20)) + (/ 1.0 20.0)) top.impl.usr.zz2_a_0))) (let ((X149 - Real (ite X148 top.impl.usr.zz2_a_1 X146))) (let ((X150 - Bool top.impl.usr.zz162_a_0)) + top.impl.usr.zz162_a_0)) (let ((X151 - Bool (ite (= X20 4) false X150))) (let ((X152 - Bool (ite (and (>= @@ -2821,7 +2600,6 @@ X150))) (let ((X153 - Bool (ite (and (>= @@ -2834,21 +2612,18 @@ X150))) (let ((X154 - Bool (ite X22 X153 X150))) (let ((X155 - Bool (ite (= X51 4) false X154))) (let ((X156 - Bool (ite (and (>= @@ -2861,28 +2636,24 @@ X154))) (let ((X157 - Bool (ite X53 X156 X154))) (let ((X158 - Bool (ite X64 true X157))) (let ((X159 - Bool (ite X82 true X158))) (let ((X160 - Int (ite (not (= @@ -2892,20 +2663,17 @@ X127))) (let ((X161 - Int (ite X125 X160 X127))) (let ((X162 - Bool (or X125 X124))) (let ((X163 - Bool (ite (= X100 @@ -2914,21 +2682,18 @@ X159))) (let ((X164 - Bool (ite X102 X163 X159))) (let ((X165 - Bool (ite X102 true X164))) (let ((X166 - Bool (ite (= X106 @@ -2937,14 +2702,12 @@ X165))) (let ((X167 - Bool (ite X107 X166 X165))) (let ((X168 - Bool (ite (= X111 @@ -2953,14 +2716,12 @@ X167))) (let ((X169 - Bool (ite X113 X168 X167))) (let ((X170 - Bool (ite (and (not @@ -2972,7 +2733,6 @@ X169))) (let ((X171 - Bool (ite (and (not @@ -2988,7 +2748,6 @@ X159))) (let ((X172 - Bool (ite (and (not X52) @@ -3013,7 +2772,6 @@ X150)) (let ((X173 - Real (ite top.impl.usr.zz162_a_1 top.usr.carSpeed_a_1 @@ -3034,19 +2792,16 @@ X173))) (let ((X174 - Real (- top.impl.usr.desiredSpeed_a_1 top.usr.carSpeed_a_1))) (let ((X175 - Real (* X174 1.0))) (let ((X176 - Real (ite (< X175 @@ -3060,22 +2815,19 @@ X175)))) (let ((X177 - Real (/ X176 20.0))) (let ((X178 - Real top.impl.usr.cruiseThrottle_a_0)) + top.impl.usr.cruiseThrottle_a_0)) (let ((X179 - Real (+ X177 X178))) (let ((X180 - Real (ite (< X179 @@ -3089,7 +2841,6 @@ X179)))) (let ((X181 - Bool (or (or X142 @@ -3104,7 +2855,6 @@ 0.0)) (let ((X182 - Bool (= top.impl.usr.cruiseThrottle_a_1 0.0))) @@ -3118,7 +2868,6 @@ X182)) (let ((X183 - Int (ite (not (= X20 1)) @@ -3126,7 +2875,6 @@ X20))) (let ((X184 - Int (ite (and (not @@ -3142,7 +2890,6 @@ X100))) (let ((X185 - Int (ite (and (not X52) @@ -3157,7 +2904,6 @@ X51))) (let ((X186 - Int (ite top.impl.usr.SP3c_a_1 (ite @@ -3206,34 +2952,6 @@ )) -(declare-primed-var top.usr.onOff Bool) -(declare-primed-var top.usr.decelSet Bool) -(declare-primed-var top.usr.accelResume Bool) -(declare-primed-var top.usr.cancel Bool) -(declare-primed-var top.usr.brakePedal Bool) -(declare-primed-var top.usr.carGear Int) -(declare-primed-var top.usr.carSpeed Real) -(declare-primed-var top.usr.validInputs Bool) -(declare-primed-var top.usr.OK Bool) -(declare-primed-var top.res.init_flag Bool) -(declare-primed-var top.impl.usr.mode Int) -(declare-primed-var top.impl.usr.cruiseThrottle Real) -(declare-primed-var top.impl.usr.desiredSpeed Real) -(declare-primed-var top.impl.usr.SP3c Bool) -(declare-primed-var top.impl.usr.zz0 Bool) -(declare-primed-var top.impl.usr.zz1 Bool) -(declare-primed-var top.impl.usr.zz2 Real) -(declare-primed-var top.impl.usr.zz3 Bool) -(declare-primed-var top.impl.usr.zz4 Bool) -(declare-primed-var top.impl.usr.zz5 Real) -(declare-primed-var top.impl.usr.zz155 Bool) -(declare-primed-var top.impl.usr.zz161 Int) -(declare-primed-var top.impl.usr.zz162 Bool) -(declare-primed-var top.impl.usr.zz170 Int) -(declare-primed-var top.impl.usr.zz176 Int) -(declare-primed-var top.impl.usr.zz178 Bool) -(declare-primed-var top.impl.usr.zz183 Bool) - (define-fun init ( (top.usr.onOff Bool) @@ -3266,156 +2984,156 @@ ) Bool (let - ((X1 Real 0.0)) + ((X1 0.0)) (let - ((X2 Bool (>= top.usr.carSpeed 15.0))) + ((X2 (>= top.usr.carSpeed 15.0))) (let - ((X3 Bool (= top.usr.carGear 3))) + ((X3 (= top.usr.carGear 3))) (let ((X4 - Bool (and + (and (and (and (and (not top.usr.cancel) (not top.usr.brakePedal)) X3) X2) top.usr.validInputs))) (let - ((X5 Bool true)) + ((X5 true)) (and (= top.impl.usr.zz183 top.usr.decelSet) (let - ((X6 Bool (and (not X5) top.impl.usr.zz183))) + ((X6 (and (not X5) top.impl.usr.zz183))) (let - ((X7 Bool true)) + ((X7 true)) (and (= top.impl.usr.zz178 top.usr.accelResume) (let - ((X8 Bool (and (not X7) top.impl.usr.zz178))) + ((X8 (and (not X7) top.impl.usr.zz178))) (let - ((X9 Int 0)) + ((X9 0)) (let - ((X10 Int (+ X9 1))) + ((X10 (+ X9 1))) (let - ((X11 Int (ite top.usr.decelSet X10 0))) + ((X11 (ite top.usr.decelSet X10 0))) (let - ((X12 Int (ite (>= 0 X11) 0 X11))) + ((X12 (ite (>= 0 X11) 0 X11))) (and (= top.impl.usr.zz176 (ite (<= X12 20) X12 20)) (let - ((X13 Bool (= top.impl.usr.zz176 20))) + ((X13 (= top.impl.usr.zz176 20))) (let - ((X14 Int 0)) + ((X14 0)) (let - ((X15 Int (+ X14 1))) + ((X15 (+ X14 1))) (let - ((X16 Int (ite top.usr.accelResume X15 0))) + ((X16 (ite top.usr.accelResume X15 0))) (let - ((X17 Int (ite (>= 0 X16) 0 X16))) + ((X17 (ite (>= 0 X16) 0 X16))) (and (= top.impl.usr.zz170 (ite (<= X17 20) X17 20)) (let - ((X18 Bool (= top.impl.usr.zz170 20))) + ((X18 (= top.impl.usr.zz170 20))) (let - ((X19 Int 0)) + ((X19 0)) (let - ((X20 Int 0)) + ((X20 0)) (and (= top.impl.usr.zz155 true) (let - ((X21 Int (ite (not (= X20 1)) 1 X19))) + ((X21 (ite (not (= X20 1)) 1 X19))) (let ((X22 - Bool (and + (and (and (>= X20 2) (<= X20 8)) (not top.usr.onOff)))) (let - ((X23 Int (ite (= X20 4) 3 X20))) + ((X23 (ite (= X20 4) 3 X20))) (let ((X24 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) X23 X20))) (let - ((X25 Int (ite (= X24 5) 3 X24))) + ((X25 (ite (= X24 5) 3 X24))) (let ((X26 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) X25 X24))) (let - ((X27 Int (ite (= X26 6) 3 X26))) + ((X27 (ite (= X26 6) 3 X26))) (let ((X28 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) X27 X26))) (let ((X29 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) 2 X28))) (let ((X30 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) X29 X20))) (let - ((X31 Int (ite (= X30 7) 2 X30))) + ((X31 (ite (= X30 7) 2 X30))) (let ((X32 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) X31 X30))) (let - ((X33 Int (ite (= X32 8) 2 X32))) + ((X33 (ite (= X32 8) 2 X32))) (let ((X34 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) X33 X32))) (let ((X35 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) 0 X34))) (let - ((X36 Int (ite X22 X35 X20))) + ((X36 (ite X22 X35 X20))) (let ((X37 - Int (ite (not (= X36 1)) 1 X36))) + (ite (not (= X36 1)) 1 X36))) (let - ((X38 Int (ite X22 X37 X36))) + ((X38 (ite X22 X37 X36))) (let ((X39 - Bool (and + (and (= X38 1) (and top.usr.onOff (not X22))))) (let ((X40 - Int (ite (= X38 1) 0 X38))) + (ite (= X38 1) 0 X38))) (let - ((X41 Int (ite X39 X40 X38))) + ((X41 (ite X39 X40 X38))) (let ((X42 - Int (ite + (ite (not (= X36 1)) 1 X19))) (let ((X43 - Int (ite X22 X42 X19))) + (ite X22 X42 X19))) (let ((X44 - Int (ite + (ite (not (and (>= X41 2) @@ -3424,7 +3142,7 @@ X41))) (let ((X45 - Bool (and + (and (not (and (>= X41 2) @@ -3434,46 +3152,46 @@ (<= X44 8))))) (let ((X46 - Int (ite + (ite (not (= X44 7)) 2 X43))) (let ((X47 - Int (ite X45 X46 X43))) + (ite X45 X46 X43))) (let ((X48 - Int (ite + (ite X39 X47 X43))) (let ((X49 - Int (ite + (ite (not (= X44 7)) 7 X44))) (let ((X50 - Int (ite + (ite X45 X49 X44))) (let ((X51 - Int (ite + (ite X39 X50 X41))) (let ((X52 - Bool (or + (or X39 X22))) (let ((X53 - Bool (and + (and (and (>= X51 @@ -3484,13 +3202,13 @@ (not X4)))) (let ((X54 - Int (ite + (ite (= X51 4) 3 X51))) (let ((X55 - Int (ite + (ite (and (>= X51 @@ -3502,14 +3220,12 @@ X51))) (let ((X56 - Int (ite (= X55 5) 3 X55))) (let ((X57 - Int (ite (and (>= @@ -3522,14 +3238,12 @@ X55))) (let ((X58 - Int (ite (= X57 6) 3 X57))) (let ((X59 - Int (ite (and (>= @@ -3542,7 +3256,6 @@ X57))) (let ((X60 - Int (ite (and (>= @@ -3555,14 +3268,12 @@ X59))) (let ((X61 - Int (ite X53 X60 X51))) (let ((X62 - Int (ite (not (= X61 8)) @@ -3570,14 +3281,12 @@ X61))) (let ((X63 - Int (ite X53 X62 X61))) (let ((X64 - Bool (and (= X63 8) (and @@ -3599,21 +3308,18 @@ (not X53))))) (let ((X65 - Int (ite (= X63 8) 2 X63))) (let ((X66 - Int (ite X64 X65 X63))) (let ((X67 - Int (ite (not (and @@ -3627,7 +3333,6 @@ X66))) (let ((X68 - Bool (and (not (and @@ -3646,7 +3351,6 @@ 6))))) (let ((X69 - Int (ite (not (= X67 4)) @@ -3654,27 +3358,23 @@ X67))) (let ((X70 - Int (ite X68 X69 X67))) (let ((X71 - Int (ite X64 X70 X66))) (let ((X72 - Bool (or X64 X53))) (let ((X73 - Bool (and (= X71 8) (and @@ -3696,21 +3396,18 @@ (not X72))))) (let ((X74 - Int (ite (= X71 8) 2 X71))) (let ((X75 - Int (ite X73 X74 X71))) (let ((X76 - Int (ite (not (and @@ -3724,7 +3421,6 @@ X75))) (let ((X77 - Bool (and (not (and @@ -3743,7 +3439,6 @@ 6))))) (let ((X78 - Int (ite (not (= X76 4)) @@ -3751,27 +3446,23 @@ X76))) (let ((X79 - Int (ite X77 X78 X76))) (let ((X80 - Int (ite X73 X79 X75))) (let ((X81 - Bool (or X73 X72))) (let ((X82 - Bool (and (= X80 7) (and @@ -3793,21 +3484,18 @@ (not X81))))) (let ((X83 - Int (ite (= X80 7) 2 X80))) (let ((X84 - Int (ite X82 X83 X80))) (let ((X85 - Int (ite (not (= X61 8)) @@ -3815,14 +3503,12 @@ X48))) (let ((X86 - Int (ite X53 X85 X48))) (let ((X87 - Int (ite (not (= X67 4)) @@ -3830,21 +3516,18 @@ X86))) (let ((X88 - Int (ite X68 X87 X86))) (let ((X89 - Int (ite X64 X88 X86))) (let ((X90 - Int (ite (not (= X76 4)) @@ -3852,21 +3535,18 @@ X89))) (let ((X91 - Int (ite X77 X90 X89))) (let ((X92 - Int (ite X73 X91 X89))) (let ((X93 - Int (ite (not (and @@ -3880,7 +3560,6 @@ X84))) (let ((X94 - Bool (and (not (and @@ -3899,7 +3578,6 @@ 6))))) (let ((X95 - Int (ite (not (= X93 4)) @@ -3907,21 +3585,18 @@ X92))) (let ((X96 - Int (ite X94 X95 X92))) (let ((X97 - Int (ite X82 X96 X92))) (let ((X98 - Int (ite (not (= X93 4)) @@ -3929,27 +3604,23 @@ X93))) (let ((X99 - Int (ite X94 X98 X93))) (let ((X100 - Int (ite X82 X99 X84))) (let ((X101 - Bool (or X82 X81))) (let ((X102 - Bool (and (= X100 @@ -3963,7 +3634,6 @@ 0))))) (let ((X103 - Int (ite (= X100 @@ -3972,14 +3642,12 @@ X100))) (let ((X104 - Int (ite X102 X103 X100))) (let ((X105 - Int (ite (not (= @@ -3989,14 +3657,12 @@ X104))) (let ((X106 - Int (ite X102 X105 X104))) (let ((X107 - Bool (and (= X106 @@ -4013,7 +3679,6 @@ X102))))) (let ((X108 - Int (ite (= X106 @@ -4022,14 +3687,12 @@ X106))) (let ((X109 - Int (ite X107 X108 X106))) (let ((X110 - Int (ite (not (= @@ -4039,20 +3702,17 @@ X109))) (let ((X111 - Int (ite X107 X110 X109))) (let ((X112 - Bool (or X107 X102))) (let ((X113 - Bool (and (= X111 @@ -4069,7 +3729,6 @@ X112))))) (let ((X114 - Int (ite (= X111 @@ -4078,14 +3737,12 @@ X111))) (let ((X115 - Int (ite X113 X114 X111))) (let ((X116 - Int (ite (not (= @@ -4095,20 +3752,17 @@ X115))) (let ((X117 - Int (ite X113 X116 X115))) (let ((X118 - Bool (or X113 X112))) (let ((X119 - Bool (and (= X117 @@ -4126,7 +3780,6 @@ X118))))) (let ((X120 - Int (ite (= X117 @@ -4135,14 +3788,12 @@ X117))) (let ((X121 - Int (ite X119 X120 X117))) (let ((X122 - Int (ite (not (= @@ -4152,20 +3803,17 @@ X121))) (let ((X123 - Int (ite X119 X122 X121))) (let ((X124 - Bool (or X119 X118))) (let ((X125 - Bool (and (= X123 @@ -4183,7 +3831,6 @@ X124))))) (let ((X126 - Int (ite (= X123 @@ -4192,14 +3839,12 @@ X123))) (let ((X127 - Int (ite X125 X126 X123))) (let ((X128 - Int (ite (not (= @@ -4209,14 +3854,12 @@ X97))) (let ((X129 - Int (ite X102 X128 X97))) (let ((X130 - Int (ite (not (= @@ -4226,14 +3869,12 @@ X129))) (let ((X131 - Int (ite X107 X130 X129))) (let ((X132 - Int (ite (not (= @@ -4243,14 +3884,12 @@ X131))) (let ((X133 - Int (ite X113 X132 X131))) (let ((X134 - Int (ite (not (= @@ -4260,14 +3899,12 @@ X133))) (let ((X135 - Int (ite X119 X134 X133))) (let ((X136 - Int (ite (not (= @@ -4277,14 +3914,12 @@ X135))) (let ((X137 - Int (ite X125 X136 X135))) (let ((X138 - Int (ite (and (not @@ -4300,7 +3935,6 @@ X97))) (let ((X139 - Int (ite (and (not X52) @@ -4328,39 +3962,34 @@ X19)) (let ((X140 - Bool (= top.impl.usr.mode 3))) (let ((X141 - Real (ite X140 X1 0.0))) (let ((X142 - Bool (= top.impl.usr.mode 4))) (let ((X143 - Real (ite X142 X1 X141))) (let ((X144 - Bool (= top.impl.usr.mode 5))) (let ((X145 - Bool X144)) + X144)) (and (= top.impl.usr.zz4 @@ -4378,23 +4007,21 @@ 0.0 (- X1 - (/ 1 20)))) + (/ 1.0 20.0)))) (let ((X146 - Real (ite X145 top.impl.usr.zz5 X143))) (let ((X147 - Bool (= top.impl.usr.mode 6))) (let ((X148 - Bool X147)) + X147)) (and (= top.impl.usr.zz1 @@ -4412,27 +4039,24 @@ 0.0 (+ X1 - (/ 1 20)))) + (/ 1.0 20.0)))) (let ((X149 - Real (ite X148 top.impl.usr.zz2 X146))) (let ((X150 - Bool false)) + false)) (let ((X151 - Bool (ite (= X20 4) false X150))) (let ((X152 - Bool (ite (and (>= @@ -4445,7 +4069,6 @@ X150))) (let ((X153 - Bool (ite (and (>= @@ -4458,21 +4081,18 @@ X150))) (let ((X154 - Bool (ite X22 X153 X150))) (let ((X155 - Bool (ite (= X51 4) false X154))) (let ((X156 - Bool (ite (and (>= @@ -4485,28 +4105,24 @@ X154))) (let ((X157 - Bool (ite X53 X156 X154))) (let ((X158 - Bool (ite X64 true X157))) (let ((X159 - Bool (ite X82 true X158))) (let ((X160 - Int (ite (not (= @@ -4516,20 +4132,17 @@ X127))) (let ((X161 - Int (ite X125 X160 X127))) (let ((X162 - Bool (or X125 X124))) (let ((X163 - Bool (ite (= X100 @@ -4538,21 +4151,18 @@ X159))) (let ((X164 - Bool (ite X102 X163 X159))) (let ((X165 - Bool (ite X102 true X164))) (let ((X166 - Bool (ite (= X106 @@ -4561,14 +4171,12 @@ X165))) (let ((X167 - Bool (ite X107 X166 X165))) (let ((X168 - Bool (ite (= X111 @@ -4577,14 +4185,12 @@ X167))) (let ((X169 - Bool (ite X113 X168 X167))) (let ((X170 - Bool (ite (and (not @@ -4596,7 +4202,6 @@ X169))) (let ((X171 - Bool (ite (and (not @@ -4612,7 +4217,6 @@ X159))) (let ((X172 - Bool (ite (and (not X52) @@ -4637,7 +4241,6 @@ X150)) (let ((X173 - Real (ite top.impl.usr.zz162 top.usr.carSpeed @@ -4658,19 +4261,16 @@ X173))) (let ((X174 - Real (- top.impl.usr.desiredSpeed top.usr.carSpeed))) (let ((X175 - Real (* X174 1.0))) (let ((X176 - Real (ite (< X175 @@ -4684,22 +4284,19 @@ X175)))) (let ((X177 - Real (/ X176 20.0))) (let ((X178 - Real 0.0)) + 0.0)) (let ((X179 - Real (+ X177 X178))) (let ((X180 - Real (ite (< X179 @@ -4713,7 +4310,6 @@ X179)))) (let ((X181 - Bool (or (or X142 @@ -4728,7 +4324,6 @@ 0.0)) (let ((X182 - Bool (= top.impl.usr.cruiseThrottle 0.0))) @@ -4742,7 +4337,6 @@ X182)) (let ((X183 - Int (ite (not (= X20 1)) @@ -4750,7 +4344,6 @@ X20))) (let ((X184 - Int (ite (and (not @@ -4766,7 +4359,6 @@ X100))) (let ((X185 - Int (ite (and (not X52) @@ -4781,7 +4373,6 @@ X51))) (let ((X186 - Int (ite top.impl.usr.SP3c (ite @@ -4860,158 +4451,158 @@ ) Bool (let - ((X1 Real top.impl.usr.desiredSpeed)) + ((X1 top.impl.usr.desiredSpeed)) (let - ((X2 Bool (>= top.usr.carSpeed! 15.0))) + ((X2 (>= top.usr.carSpeed! 15.0))) (let - ((X3 Bool (= top.usr.carGear! 3))) + ((X3 (= top.usr.carGear! 3))) (let ((X4 - Bool (and + (and (and (and (and (not top.usr.cancel!) (not top.usr.brakePedal!)) X3) X2) top.usr.validInputs!))) (let - ((X5 Bool top.impl.usr.zz183)) + ((X5 top.impl.usr.zz183)) (and (= top.impl.usr.zz183! top.usr.decelSet!) (let - ((X6 Bool (and (not X5) top.impl.usr.zz183!))) + ((X6 (and (not X5) top.impl.usr.zz183!))) (let - ((X7 Bool top.impl.usr.zz178)) + ((X7 top.impl.usr.zz178)) (and (= top.impl.usr.zz178! top.usr.accelResume!) (let - ((X8 Bool (and (not X7) top.impl.usr.zz178!))) + ((X8 (and (not X7) top.impl.usr.zz178!))) (let - ((X9 Int top.impl.usr.zz176)) + ((X9 top.impl.usr.zz176)) (let - ((X10 Int (+ X9 1))) + ((X10 (+ X9 1))) (let - ((X11 Int (ite top.usr.decelSet! X10 0))) + ((X11 (ite top.usr.decelSet! X10 0))) (let - ((X12 Int (ite (>= 0 X11) 0 X11))) + ((X12 (ite (>= 0 X11) 0 X11))) (and (= top.impl.usr.zz176! (ite (<= X12 20) X12 20)) (let - ((X13 Bool (= top.impl.usr.zz176! 20))) + ((X13 (= top.impl.usr.zz176! 20))) (let - ((X14 Int top.impl.usr.zz170)) + ((X14 top.impl.usr.zz170)) (let - ((X15 Int (+ X14 1))) + ((X15 (+ X14 1))) (let - ((X16 Int (ite top.usr.accelResume! X15 0))) + ((X16 (ite top.usr.accelResume! X15 0))) (let - ((X17 Int (ite (>= 0 X16) 0 X16))) + ((X17 (ite (>= 0 X16) 0 X16))) (and (= top.impl.usr.zz170! (ite (<= X17 20) X17 20)) (let - ((X18 Bool (= top.impl.usr.zz170! 20))) + ((X18 (= top.impl.usr.zz170! 20))) (let - ((X19 Int top.impl.usr.mode)) + ((X19 top.impl.usr.mode)) (let - ((X20 Int top.impl.usr.zz161)) + ((X20 top.impl.usr.zz161)) (and (= top.impl.usr.zz155! (ite top.impl.usr.SP3c false top.impl.usr.zz155)) (let - ((X21 Int (ite (not (= X20 1)) 1 X19))) + ((X21 (ite (not (= X20 1)) 1 X19))) (let ((X22 - Bool (and + (and (and (>= X20 2) (<= X20 8)) (not top.usr.onOff!)))) (let - ((X23 Int (ite (= X20 4) 3 X20))) + ((X23 (ite (= X20 4) 3 X20))) (let ((X24 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) X23 X20))) (let - ((X25 Int (ite (= X24 5) 3 X24))) + ((X25 (ite (= X24 5) 3 X24))) (let ((X26 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) X25 X24))) (let - ((X27 Int (ite (= X26 6) 3 X26))) + ((X27 (ite (= X26 6) 3 X26))) (let ((X28 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) X27 X26))) (let ((X29 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) 2 X28))) (let ((X30 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) X29 X20))) (let - ((X31 Int (ite (= X30 7) 2 X30))) + ((X31 (ite (= X30 7) 2 X30))) (let ((X32 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) X31 X30))) (let - ((X33 Int (ite (= X32 8) 2 X32))) + ((X33 (ite (= X32 8) 2 X32))) (let ((X34 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) X33 X32))) (let ((X35 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) 0 X34))) (let - ((X36 Int (ite X22 X35 X20))) + ((X36 (ite X22 X35 X20))) (let ((X37 - Int (ite (not (= X36 1)) 1 X36))) + (ite (not (= X36 1)) 1 X36))) (let - ((X38 Int (ite X22 X37 X36))) + ((X38 (ite X22 X37 X36))) (let ((X39 - Bool (and + (and (= X38 1) (and top.usr.onOff! (not X22))))) (let ((X40 - Int (ite (= X38 1) 0 X38))) + (ite (= X38 1) 0 X38))) (let - ((X41 Int (ite X39 X40 X38))) + ((X41 (ite X39 X40 X38))) (let ((X42 - Int (ite + (ite (not (= X36 1)) 1 X19))) (let ((X43 - Int (ite X22 X42 X19))) + (ite X22 X42 X19))) (let ((X44 - Int (ite + (ite (not (and (>= X41 2) @@ -5020,7 +4611,7 @@ X41))) (let ((X45 - Bool (and + (and (not (and (>= X41 2) @@ -5030,46 +4621,46 @@ (<= X44 8))))) (let ((X46 - Int (ite + (ite (not (= X44 7)) 2 X43))) (let ((X47 - Int (ite X45 X46 X43))) + (ite X45 X46 X43))) (let ((X48 - Int (ite + (ite X39 X47 X43))) (let ((X49 - Int (ite + (ite (not (= X44 7)) 7 X44))) (let ((X50 - Int (ite + (ite X45 X49 X44))) (let ((X51 - Int (ite + (ite X39 X50 X41))) (let ((X52 - Bool (or + (or X39 X22))) (let ((X53 - Bool (and + (and (and (>= X51 @@ -5080,13 +4671,13 @@ (not X4)))) (let ((X54 - Int (ite + (ite (= X51 4) 3 X51))) (let ((X55 - Int (ite + (ite (and (>= X51 @@ -5098,14 +4689,12 @@ X51))) (let ((X56 - Int (ite (= X55 5) 3 X55))) (let ((X57 - Int (ite (and (>= @@ -5118,14 +4707,12 @@ X55))) (let ((X58 - Int (ite (= X57 6) 3 X57))) (let ((X59 - Int (ite (and (>= @@ -5138,7 +4725,6 @@ X57))) (let ((X60 - Int (ite (and (>= @@ -5151,14 +4737,12 @@ X59))) (let ((X61 - Int (ite X53 X60 X51))) (let ((X62 - Int (ite (not (= X61 8)) @@ -5166,14 +4750,12 @@ X61))) (let ((X63 - Int (ite X53 X62 X61))) (let ((X64 - Bool (and (= X63 8) (and @@ -5195,21 +4777,18 @@ (not X53))))) (let ((X65 - Int (ite (= X63 8) 2 X63))) (let ((X66 - Int (ite X64 X65 X63))) (let ((X67 - Int (ite (not (and @@ -5223,7 +4802,6 @@ X66))) (let ((X68 - Bool (and (not (and @@ -5242,7 +4820,6 @@ 6))))) (let ((X69 - Int (ite (not (= X67 4)) @@ -5250,27 +4827,23 @@ X67))) (let ((X70 - Int (ite X68 X69 X67))) (let ((X71 - Int (ite X64 X70 X66))) (let ((X72 - Bool (or X64 X53))) (let ((X73 - Bool (and (= X71 8) (and @@ -5292,21 +4865,18 @@ (not X72))))) (let ((X74 - Int (ite (= X71 8) 2 X71))) (let ((X75 - Int (ite X73 X74 X71))) (let ((X76 - Int (ite (not (and @@ -5320,7 +4890,6 @@ X75))) (let ((X77 - Bool (and (not (and @@ -5339,7 +4908,6 @@ 6))))) (let ((X78 - Int (ite (not (= X76 4)) @@ -5347,27 +4915,23 @@ X76))) (let ((X79 - Int (ite X77 X78 X76))) (let ((X80 - Int (ite X73 X79 X75))) (let ((X81 - Bool (or X73 X72))) (let ((X82 - Bool (and (= X80 7) (and @@ -5389,21 +4953,18 @@ (not X81))))) (let ((X83 - Int (ite (= X80 7) 2 X80))) (let ((X84 - Int (ite X82 X83 X80))) (let ((X85 - Int (ite (not (= X61 8)) @@ -5411,14 +4972,12 @@ X48))) (let ((X86 - Int (ite X53 X85 X48))) (let ((X87 - Int (ite (not (= X67 4)) @@ -5426,21 +4985,18 @@ X86))) (let ((X88 - Int (ite X68 X87 X86))) (let ((X89 - Int (ite X64 X88 X86))) (let ((X90 - Int (ite (not (= X76 4)) @@ -5448,21 +5004,18 @@ X89))) (let ((X91 - Int (ite X77 X90 X89))) (let ((X92 - Int (ite X73 X91 X89))) (let ((X93 - Int (ite (not (and @@ -5476,7 +5029,6 @@ X84))) (let ((X94 - Bool (and (not (and @@ -5495,7 +5047,6 @@ 6))))) (let ((X95 - Int (ite (not (= X93 4)) @@ -5503,21 +5054,18 @@ X92))) (let ((X96 - Int (ite X94 X95 X92))) (let ((X97 - Int (ite X82 X96 X92))) (let ((X98 - Int (ite (not (= X93 4)) @@ -5525,27 +5073,23 @@ X93))) (let ((X99 - Int (ite X94 X98 X93))) (let ((X100 - Int (ite X82 X99 X84))) (let ((X101 - Bool (or X82 X81))) (let ((X102 - Bool (and (= X100 @@ -5559,7 +5103,6 @@ 0))))) (let ((X103 - Int (ite (= X100 @@ -5568,14 +5111,12 @@ X100))) (let ((X104 - Int (ite X102 X103 X100))) (let ((X105 - Int (ite (not (= @@ -5585,14 +5126,12 @@ X104))) (let ((X106 - Int (ite X102 X105 X104))) (let ((X107 - Bool (and (= X106 @@ -5609,7 +5148,6 @@ X102))))) (let ((X108 - Int (ite (= X106 @@ -5618,14 +5156,12 @@ X106))) (let ((X109 - Int (ite X107 X108 X106))) (let ((X110 - Int (ite (not (= @@ -5635,20 +5171,17 @@ X109))) (let ((X111 - Int (ite X107 X110 X109))) (let ((X112 - Bool (or X107 X102))) (let ((X113 - Bool (and (= X111 @@ -5665,7 +5198,6 @@ X112))))) (let ((X114 - Int (ite (= X111 @@ -5674,14 +5206,12 @@ X111))) (let ((X115 - Int (ite X113 X114 X111))) (let ((X116 - Int (ite (not (= @@ -5691,20 +5221,17 @@ X115))) (let ((X117 - Int (ite X113 X116 X115))) (let ((X118 - Bool (or X113 X112))) (let ((X119 - Bool (and (= X117 @@ -5722,7 +5249,6 @@ X118))))) (let ((X120 - Int (ite (= X117 @@ -5731,14 +5257,12 @@ X117))) (let ((X121 - Int (ite X119 X120 X117))) (let ((X122 - Int (ite (not (= @@ -5748,20 +5272,17 @@ X121))) (let ((X123 - Int (ite X119 X122 X121))) (let ((X124 - Bool (or X119 X118))) (let ((X125 - Bool (and (= X123 @@ -5779,7 +5300,6 @@ X124))))) (let ((X126 - Int (ite (= X123 @@ -5788,14 +5308,12 @@ X123))) (let ((X127 - Int (ite X125 X126 X123))) (let ((X128 - Int (ite (not (= @@ -5805,14 +5323,12 @@ X97))) (let ((X129 - Int (ite X102 X128 X97))) (let ((X130 - Int (ite (not (= @@ -5822,14 +5338,12 @@ X129))) (let ((X131 - Int (ite X107 X130 X129))) (let ((X132 - Int (ite (not (= @@ -5839,14 +5353,12 @@ X131))) (let ((X133 - Int (ite X113 X132 X131))) (let ((X134 - Int (ite (not (= @@ -5856,14 +5368,12 @@ X133))) (let ((X135 - Int (ite X119 X134 X133))) (let ((X136 - Int (ite (not (= @@ -5873,14 +5383,12 @@ X135))) (let ((X137 - Int (ite X125 X136 X135))) (let ((X138 - Int (ite (and (not @@ -5896,7 +5404,6 @@ X97))) (let ((X139 - Int (ite (and (not X52) @@ -5924,39 +5431,34 @@ X19)) (let ((X140 - Bool (= top.impl.usr.mode! 3))) (let ((X141 - Real (ite X140 X1 0.0))) (let ((X142 - Bool (= top.impl.usr.mode! 4))) (let ((X143 - Real (ite X142 X1 X141))) (let ((X144 - Bool (= top.impl.usr.mode! 5))) (let ((X145 - Bool X144)) + X144)) (and (= top.impl.usr.zz4! @@ -5979,24 +5481,22 @@ top.impl.usr.zz3! (- X1 - (/ 1 20)) + (/ 1.0 20.0)) top.impl.usr.zz5))) (let ((X146 - Real (ite X145 top.impl.usr.zz5! X143))) (let ((X147 - Bool (= top.impl.usr.mode! 6))) (let ((X148 - Bool X147)) + X147)) (and (= top.impl.usr.zz1! @@ -6019,28 +5519,25 @@ top.impl.usr.zz0! (+ X1 - (/ 1 20)) + (/ 1.0 20.0)) top.impl.usr.zz2))) (let ((X149 - Real (ite X148 top.impl.usr.zz2! X146))) (let ((X150 - Bool top.impl.usr.zz162)) + top.impl.usr.zz162)) (let ((X151 - Bool (ite (= X20 4) false X150))) (let ((X152 - Bool (ite (and (>= @@ -6053,7 +5550,6 @@ X150))) (let ((X153 - Bool (ite (and (>= @@ -6066,21 +5562,18 @@ X150))) (let ((X154 - Bool (ite X22 X153 X150))) (let ((X155 - Bool (ite (= X51 4) false X154))) (let ((X156 - Bool (ite (and (>= @@ -6093,28 +5586,24 @@ X154))) (let ((X157 - Bool (ite X53 X156 X154))) (let ((X158 - Bool (ite X64 true X157))) (let ((X159 - Bool (ite X82 true X158))) (let ((X160 - Int (ite (not (= @@ -6124,20 +5613,17 @@ X127))) (let ((X161 - Int (ite X125 X160 X127))) (let ((X162 - Bool (or X125 X124))) (let ((X163 - Bool (ite (= X100 @@ -6146,21 +5632,18 @@ X159))) (let ((X164 - Bool (ite X102 X163 X159))) (let ((X165 - Bool (ite X102 true X164))) (let ((X166 - Bool (ite (= X106 @@ -6169,14 +5652,12 @@ X165))) (let ((X167 - Bool (ite X107 X166 X165))) (let ((X168 - Bool (ite (= X111 @@ -6185,14 +5666,12 @@ X167))) (let ((X169 - Bool (ite X113 X168 X167))) (let ((X170 - Bool (ite (and (not @@ -6204,7 +5683,6 @@ X169))) (let ((X171 - Bool (ite (and (not @@ -6220,7 +5698,6 @@ X159))) (let ((X172 - Bool (ite (and (not X52) @@ -6245,7 +5722,6 @@ X150)) (let ((X173 - Real (ite top.impl.usr.zz162! top.usr.carSpeed! @@ -6266,19 +5742,16 @@ X173))) (let ((X174 - Real (- top.impl.usr.desiredSpeed! top.usr.carSpeed!))) (let ((X175 - Real (* X174 1.0))) (let ((X176 - Real (ite (< X175 @@ -6292,22 +5765,19 @@ X175)))) (let ((X177 - Real (/ X176 20.0))) (let ((X178 - Real top.impl.usr.cruiseThrottle)) + top.impl.usr.cruiseThrottle)) (let ((X179 - Real (+ X177 X178))) (let ((X180 - Real (ite (< X179 @@ -6321,7 +5791,6 @@ X179)))) (let ((X181 - Bool (or (or X142 @@ -6336,7 +5805,6 @@ 0.0)) (let ((X182 - Bool (= top.impl.usr.cruiseThrottle! 0.0))) @@ -6350,7 +5818,6 @@ X182)) (let ((X183 - Int (ite (not (= X20 1)) @@ -6358,7 +5825,6 @@ X20))) (let ((X184 - Int (ite (and (not @@ -6374,7 +5840,6 @@ X100))) (let ((X185 - Int (ite (and (not X52) @@ -6389,7 +5854,6 @@ X51))) (let ((X186 - Int (ite top.impl.usr.SP3c! (ite diff --git a/lib-nonconforming/Inv_Track/andrew_lustre/ccp20.lus.sl b/lib/Inv_Track/andrew_lustre/ccp20.lus.sl similarity index 88% rename from lib-nonconforming/Inv_Track/andrew_lustre/ccp20.lus.sl rename to lib/Inv_Track/andrew_lustre/ccp20.lus.sl index 0069fc74..d85498e0 100644 --- a/lib-nonconforming/Inv_Track/andrew_lustre/ccp20.lus.sl +++ b/lib/Inv_Track/andrew_lustre/ccp20.lus.sl @@ -32,14 +32,14 @@ ) Bool (let - ((X1 Real 0.0)) + ((X1 0.0)) (let - ((X2 Bool (>= top.usr.carSpeed_a_0 15.0))) + ((X2 (>= top.usr.carSpeed_a_0 15.0))) (let - ((X3 Bool (= top.usr.carGear_a_0 3))) + ((X3 (= top.usr.carGear_a_0 3))) (let ((X4 - Bool (and + (and (and (and (and (not top.usr.cancel_a_0) (not top.usr.brakePedal_a_0)) @@ -47,143 +47,143 @@ X2) top.usr.validInputs_a_0))) (let - ((X5 Bool true)) + ((X5 true)) (and (= top.impl.usr.zz183_a_0 top.usr.decelSet_a_0) (let - ((X6 Bool (and (not X5) top.impl.usr.zz183_a_0))) + ((X6 (and (not X5) top.impl.usr.zz183_a_0))) (let - ((X7 Bool true)) + ((X7 true)) (and (= top.impl.usr.zz178_a_0 top.usr.accelResume_a_0) (let - ((X8 Bool (and (not X7) top.impl.usr.zz178_a_0))) + ((X8 (and (not X7) top.impl.usr.zz178_a_0))) (let - ((X9 Int 0)) + ((X9 0)) (let - ((X10 Int (+ X9 1))) + ((X10 (+ X9 1))) (let - ((X11 Int (ite top.usr.decelSet_a_0 X10 0))) + ((X11 (ite top.usr.decelSet_a_0 X10 0))) (let - ((X12 Int (ite (>= 0 X11) 0 X11))) + ((X12 (ite (>= 0 X11) 0 X11))) (and (= top.impl.usr.zz176_a_0 (ite (<= X12 20) X12 20)) (let - ((X13 Bool (= top.impl.usr.zz176_a_0 20))) + ((X13 (= top.impl.usr.zz176_a_0 20))) (let - ((X14 Int 0)) + ((X14 0)) (let - ((X15 Int (+ X14 1))) + ((X15 (+ X14 1))) (let - ((X16 Int (ite top.usr.accelResume_a_0 X15 0))) + ((X16 (ite top.usr.accelResume_a_0 X15 0))) (let - ((X17 Int (ite (>= 0 X16) 0 X16))) + ((X17 (ite (>= 0 X16) 0 X16))) (and (= top.impl.usr.zz170_a_0 (ite (<= X17 20) X17 20)) (let - ((X18 Bool (= top.impl.usr.zz170_a_0 20))) + ((X18 (= top.impl.usr.zz170_a_0 20))) (let - ((X19 Int 0)) + ((X19 0)) (let - ((X20 Int 0)) + ((X20 0)) (and (= top.impl.usr.zz155_a_0 true) (let - ((X21 Int (ite (not (= X20 1)) 1 X19))) + ((X21 (ite (not (= X20 1)) 1 X19))) (let ((X22 - Bool (and + (and (and (>= X20 2) (<= X20 8)) (not top.usr.onOff_a_0)))) (let - ((X23 Int (ite (= X20 4) 3 X20))) + ((X23 (ite (= X20 4) 3 X20))) (let ((X24 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) X23 X20))) (let - ((X25 Int (ite (= X24 5) 3 X24))) + ((X25 (ite (= X24 5) 3 X24))) (let ((X26 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) X25 X24))) (let - ((X27 Int (ite (= X26 6) 3 X26))) + ((X27 (ite (= X26 6) 3 X26))) (let ((X28 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) X27 X26))) (let ((X29 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) 2 X28))) (let ((X30 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) X29 X20))) (let - ((X31 Int (ite (= X30 7) 2 X30))) + ((X31 (ite (= X30 7) 2 X30))) (let ((X32 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) X31 X30))) (let - ((X33 Int (ite (= X32 8) 2 X32))) + ((X33 (ite (= X32 8) 2 X32))) (let ((X34 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) X33 X32))) (let ((X35 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) 0 X34))) (let - ((X36 Int (ite X22 X35 X20))) + ((X36 (ite X22 X35 X20))) (let ((X37 - Int (ite (not (= X36 1)) 1 X36))) + (ite (not (= X36 1)) 1 X36))) (let - ((X38 Int (ite X22 X37 X36))) + ((X38 (ite X22 X37 X36))) (let ((X39 - Bool (and + (and (= X38 1) (and top.usr.onOff_a_0 (not X22))))) (let ((X40 - Int (ite (= X38 1) 0 X38))) + (ite (= X38 1) 0 X38))) (let - ((X41 Int (ite X39 X40 X38))) + ((X41 (ite X39 X40 X38))) (let ((X42 - Int (ite + (ite (not (= X36 1)) 1 X19))) (let ((X43 - Int (ite X22 X42 X19))) + (ite X22 X42 X19))) (let ((X44 - Int (ite + (ite (not (and (>= X41 2) @@ -192,7 +192,7 @@ X41))) (let ((X45 - Bool (and + (and (not (and (>= X41 2) @@ -202,46 +202,46 @@ (<= X44 8))))) (let ((X46 - Int (ite + (ite (not (= X44 7)) 2 X43))) (let ((X47 - Int (ite X45 X46 X43))) + (ite X45 X46 X43))) (let ((X48 - Int (ite + (ite X39 X47 X43))) (let ((X49 - Int (ite + (ite (not (= X44 7)) 7 X44))) (let ((X50 - Int (ite + (ite X45 X49 X44))) (let ((X51 - Int (ite + (ite X39 X50 X41))) (let ((X52 - Bool (or + (or X39 X22))) (let ((X53 - Bool (and + (and (and (>= X51 @@ -252,13 +252,13 @@ (not X4)))) (let ((X54 - Int (ite + (ite (= X51 4) 3 X51))) (let ((X55 - Int (ite + (ite (and (>= X51 @@ -270,14 +270,12 @@ X51))) (let ((X56 - Int (ite (= X55 5) 3 X55))) (let ((X57 - Int (ite (and (>= @@ -290,14 +288,12 @@ X55))) (let ((X58 - Int (ite (= X57 6) 3 X57))) (let ((X59 - Int (ite (and (>= @@ -310,7 +306,6 @@ X57))) (let ((X60 - Int (ite (and (>= @@ -323,14 +318,12 @@ X59))) (let ((X61 - Int (ite X53 X60 X51))) (let ((X62 - Int (ite (not (= X61 8)) @@ -338,14 +331,12 @@ X61))) (let ((X63 - Int (ite X53 X62 X61))) (let ((X64 - Bool (and (= X63 8) (and @@ -367,21 +358,18 @@ (not X53))))) (let ((X65 - Int (ite (= X63 8) 2 X63))) (let ((X66 - Int (ite X64 X65 X63))) (let ((X67 - Int (ite (not (and @@ -395,7 +383,6 @@ X66))) (let ((X68 - Bool (and (not (and @@ -414,7 +401,6 @@ 6))))) (let ((X69 - Int (ite (not (= X67 4)) @@ -422,27 +408,23 @@ X67))) (let ((X70 - Int (ite X68 X69 X67))) (let ((X71 - Int (ite X64 X70 X66))) (let ((X72 - Bool (or X64 X53))) (let ((X73 - Bool (and (= X71 8) (and @@ -464,21 +446,18 @@ (not X72))))) (let ((X74 - Int (ite (= X71 8) 2 X71))) (let ((X75 - Int (ite X73 X74 X71))) (let ((X76 - Int (ite (not (and @@ -492,7 +471,6 @@ X75))) (let ((X77 - Bool (and (not (and @@ -511,7 +489,6 @@ 6))))) (let ((X78 - Int (ite (not (= X76 4)) @@ -519,27 +496,23 @@ X76))) (let ((X79 - Int (ite X77 X78 X76))) (let ((X80 - Int (ite X73 X79 X75))) (let ((X81 - Bool (or X73 X72))) (let ((X82 - Bool (and (= X80 7) (and @@ -561,21 +534,18 @@ (not X81))))) (let ((X83 - Int (ite (= X80 7) 2 X80))) (let ((X84 - Int (ite X82 X83 X80))) (let ((X85 - Int (ite (not (= X61 8)) @@ -583,14 +553,12 @@ X48))) (let ((X86 - Int (ite X53 X85 X48))) (let ((X87 - Int (ite (not (= X67 4)) @@ -598,21 +566,18 @@ X86))) (let ((X88 - Int (ite X68 X87 X86))) (let ((X89 - Int (ite X64 X88 X86))) (let ((X90 - Int (ite (not (= X76 4)) @@ -620,21 +585,18 @@ X89))) (let ((X91 - Int (ite X77 X90 X89))) (let ((X92 - Int (ite X73 X91 X89))) (let ((X93 - Int (ite (not (and @@ -648,7 +610,6 @@ X84))) (let ((X94 - Bool (and (not (and @@ -667,7 +628,6 @@ 6))))) (let ((X95 - Int (ite (not (= X93 4)) @@ -675,21 +635,18 @@ X92))) (let ((X96 - Int (ite X94 X95 X92))) (let ((X97 - Int (ite X82 X96 X92))) (let ((X98 - Int (ite (not (= X93 4)) @@ -697,27 +654,23 @@ X93))) (let ((X99 - Int (ite X94 X98 X93))) (let ((X100 - Int (ite X82 X99 X84))) (let ((X101 - Bool (or X82 X81))) (let ((X102 - Bool (and (= X100 @@ -731,7 +684,6 @@ 0))))) (let ((X103 - Int (ite (= X100 @@ -740,14 +692,12 @@ X100))) (let ((X104 - Int (ite X102 X103 X100))) (let ((X105 - Int (ite (not (= @@ -757,14 +707,12 @@ X104))) (let ((X106 - Int (ite X102 X105 X104))) (let ((X107 - Bool (and (= X106 @@ -781,7 +729,6 @@ X102))))) (let ((X108 - Int (ite (= X106 @@ -790,14 +737,12 @@ X106))) (let ((X109 - Int (ite X107 X108 X106))) (let ((X110 - Int (ite (not (= @@ -807,20 +752,17 @@ X109))) (let ((X111 - Int (ite X107 X110 X109))) (let ((X112 - Bool (or X107 X102))) (let ((X113 - Bool (and (= X111 @@ -837,7 +779,6 @@ X112))))) (let ((X114 - Int (ite (= X111 @@ -846,14 +787,12 @@ X111))) (let ((X115 - Int (ite X113 X114 X111))) (let ((X116 - Int (ite (not (= @@ -863,20 +802,17 @@ X115))) (let ((X117 - Int (ite X113 X116 X115))) (let ((X118 - Bool (or X113 X112))) (let ((X119 - Bool (and (= X117 @@ -894,7 +830,6 @@ X118))))) (let ((X120 - Int (ite (= X117 @@ -903,14 +838,12 @@ X117))) (let ((X121 - Int (ite X119 X120 X117))) (let ((X122 - Int (ite (not (= @@ -920,20 +853,17 @@ X121))) (let ((X123 - Int (ite X119 X122 X121))) (let ((X124 - Bool (or X119 X118))) (let ((X125 - Bool (and (= X123 @@ -951,7 +881,6 @@ X124))))) (let ((X126 - Int (ite (= X123 @@ -960,14 +889,12 @@ X123))) (let ((X127 - Int (ite X125 X126 X123))) (let ((X128 - Int (ite (not (= @@ -977,14 +904,12 @@ X97))) (let ((X129 - Int (ite X102 X128 X97))) (let ((X130 - Int (ite (not (= @@ -994,14 +919,12 @@ X129))) (let ((X131 - Int (ite X107 X130 X129))) (let ((X132 - Int (ite (not (= @@ -1011,14 +934,12 @@ X131))) (let ((X133 - Int (ite X113 X132 X131))) (let ((X134 - Int (ite (not (= @@ -1028,14 +949,12 @@ X133))) (let ((X135 - Int (ite X119 X134 X133))) (let ((X136 - Int (ite (not (= @@ -1045,14 +964,12 @@ X135))) (let ((X137 - Int (ite X125 X136 X135))) (let ((X138 - Int (ite (and (not @@ -1068,7 +985,6 @@ X97))) (let ((X139 - Int (ite (and (not X52) @@ -1096,39 +1012,34 @@ X19)) (let ((X140 - Bool (= top.impl.usr.mode_a_0 3))) (let ((X141 - Real (ite X140 X1 0.0))) (let ((X142 - Bool (= top.impl.usr.mode_a_0 4))) (let ((X143 - Real (ite X142 X1 X141))) (let ((X144 - Bool (= top.impl.usr.mode_a_0 5))) (let ((X145 - Bool X144)) + X144)) (and (= top.impl.usr.zz4_a_0 @@ -1146,23 +1057,21 @@ 0.0 (- X1 - (/ 1 20)))) + (/ 1.0 20.0)))) (let ((X146 - Real (ite X145 top.impl.usr.zz5_a_0 X143))) (let ((X147 - Bool (= top.impl.usr.mode_a_0 6))) (let ((X148 - Bool X147)) + X147)) (and (= top.impl.usr.zz1_a_0 @@ -1180,27 +1089,24 @@ 0.0 (+ X1 - (/ 1 20)))) + (/ 1.0 20.0)))) (let ((X149 - Real (ite X148 top.impl.usr.zz2_a_0 X146))) (let ((X150 - Bool false)) + false)) (let ((X151 - Bool (ite (= X20 4) false X150))) (let ((X152 - Bool (ite (and (>= @@ -1213,7 +1119,6 @@ X150))) (let ((X153 - Bool (ite (and (>= @@ -1226,21 +1131,18 @@ X150))) (let ((X154 - Bool (ite X22 X153 X150))) (let ((X155 - Bool (ite (= X51 4) false X154))) (let ((X156 - Bool (ite (and (>= @@ -1253,28 +1155,24 @@ X154))) (let ((X157 - Bool (ite X53 X156 X154))) (let ((X158 - Bool (ite X64 true X157))) (let ((X159 - Bool (ite X82 true X158))) (let ((X160 - Int (ite (not (= @@ -1284,20 +1182,17 @@ X127))) (let ((X161 - Int (ite X125 X160 X127))) (let ((X162 - Bool (or X125 X124))) (let ((X163 - Bool (ite (= X100 @@ -1306,21 +1201,18 @@ X159))) (let ((X164 - Bool (ite X102 X163 X159))) (let ((X165 - Bool (ite X102 true X164))) (let ((X166 - Bool (ite (= X106 @@ -1329,14 +1221,12 @@ X165))) (let ((X167 - Bool (ite X107 X166 X165))) (let ((X168 - Bool (ite (= X111 @@ -1345,14 +1235,12 @@ X167))) (let ((X169 - Bool (ite X113 X168 X167))) (let ((X170 - Bool (ite (and (not @@ -1364,7 +1252,6 @@ X169))) (let ((X171 - Bool (ite (and (not @@ -1380,7 +1267,6 @@ X159))) (let ((X172 - Bool (ite (and (not X52) @@ -1405,7 +1291,6 @@ X150)) (let ((X173 - Real (ite top.impl.usr.zz162_a_0 top.usr.carSpeed_a_0 @@ -1426,19 +1311,16 @@ X173))) (let ((X174 - Real (- top.impl.usr.desiredSpeed_a_0 top.usr.carSpeed_a_0))) (let ((X175 - Real (* X174 1.0))) (let ((X176 - Real (ite (< X175 @@ -1452,22 +1334,19 @@ X175)))) (let ((X177 - Real (/ X176 20.0))) (let ((X178 - Real 0.0)) + 0.0)) (let ((X179 - Real (+ X177 X178))) (let ((X180 - Real (ite (< X179 @@ -1481,7 +1360,6 @@ X179)))) (let ((X181 - Bool (or (or X142 @@ -1496,7 +1374,6 @@ 0.0)) (let ((X182 - Bool (= top.impl.usr.cruiseThrottle_a_0 0.0))) @@ -1509,7 +1386,6 @@ X182)) (let ((X183 - Int (ite (not (= X20 1)) @@ -1517,7 +1393,6 @@ X20))) (let ((X184 - Int (ite (and (not @@ -1533,7 +1408,6 @@ X100))) (let ((X185 - Int (ite (and (not X52) @@ -1548,7 +1422,6 @@ X51))) (let ((X186 - Int (ite top.impl.usr.SP3c_a_0 (ite @@ -1622,14 +1495,14 @@ ) Bool (let - ((X1 Real top.impl.usr.desiredSpeed_a_0)) + ((X1 top.impl.usr.desiredSpeed_a_0)) (let - ((X2 Bool (>= top.usr.carSpeed_a_1 15.0))) + ((X2 (>= top.usr.carSpeed_a_1 15.0))) (let - ((X3 Bool (= top.usr.carGear_a_1 3))) + ((X3 (= top.usr.carGear_a_1 3))) (let ((X4 - Bool (and + (and (and (and (and (not top.usr.cancel_a_1) (not top.usr.brakePedal_a_1)) @@ -1637,45 +1510,45 @@ X2) top.usr.validInputs_a_1))) (let - ((X5 Bool top.impl.usr.zz183_a_0)) + ((X5 top.impl.usr.zz183_a_0)) (and (= top.impl.usr.zz183_a_1 top.usr.decelSet_a_1) (let - ((X6 Bool (and (not X5) top.impl.usr.zz183_a_1))) + ((X6 (and (not X5) top.impl.usr.zz183_a_1))) (let - ((X7 Bool top.impl.usr.zz178_a_0)) + ((X7 top.impl.usr.zz178_a_0)) (and (= top.impl.usr.zz178_a_1 top.usr.accelResume_a_1) (let - ((X8 Bool (and (not X7) top.impl.usr.zz178_a_1))) + ((X8 (and (not X7) top.impl.usr.zz178_a_1))) (let - ((X9 Int top.impl.usr.zz176_a_0)) + ((X9 top.impl.usr.zz176_a_0)) (let - ((X10 Int (+ X9 1))) + ((X10 (+ X9 1))) (let - ((X11 Int (ite top.usr.decelSet_a_1 X10 0))) + ((X11 (ite top.usr.decelSet_a_1 X10 0))) (let - ((X12 Int (ite (>= 0 X11) 0 X11))) + ((X12 (ite (>= 0 X11) 0 X11))) (and (= top.impl.usr.zz176_a_1 (ite (<= X12 20) X12 20)) (let - ((X13 Bool (= top.impl.usr.zz176_a_1 20))) + ((X13 (= top.impl.usr.zz176_a_1 20))) (let - ((X14 Int top.impl.usr.zz170_a_0)) + ((X14 top.impl.usr.zz170_a_0)) (let - ((X15 Int (+ X14 1))) + ((X15 (+ X14 1))) (let - ((X16 Int (ite top.usr.accelResume_a_1 X15 0))) + ((X16 (ite top.usr.accelResume_a_1 X15 0))) (let - ((X17 Int (ite (>= 0 X16) 0 X16))) + ((X17 (ite (>= 0 X16) 0 X16))) (and (= top.impl.usr.zz170_a_1 (ite (<= X17 20) X17 20)) (let - ((X18 Bool (= top.impl.usr.zz170_a_1 20))) + ((X18 (= top.impl.usr.zz170_a_1 20))) (let - ((X19 Int top.impl.usr.mode_a_0)) + ((X19 top.impl.usr.mode_a_0)) (let - ((X20 Int top.impl.usr.zz161_a_0)) + ((X20 top.impl.usr.zz161_a_0)) (and (= top.impl.usr.zz155_a_1 @@ -1684,101 +1557,101 @@ false top.impl.usr.zz155_a_0)) (let - ((X21 Int (ite (not (= X20 1)) 1 X19))) + ((X21 (ite (not (= X20 1)) 1 X19))) (let ((X22 - Bool (and + (and (and (>= X20 2) (<= X20 8)) (not top.usr.onOff_a_1)))) (let - ((X23 Int (ite (= X20 4) 3 X20))) + ((X23 (ite (= X20 4) 3 X20))) (let ((X24 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) X23 X20))) (let - ((X25 Int (ite (= X24 5) 3 X24))) + ((X25 (ite (= X24 5) 3 X24))) (let ((X26 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) X25 X24))) (let - ((X27 Int (ite (= X26 6) 3 X26))) + ((X27 (ite (= X26 6) 3 X26))) (let ((X28 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) X27 X26))) (let ((X29 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) 2 X28))) (let ((X30 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) X29 X20))) (let - ((X31 Int (ite (= X30 7) 2 X30))) + ((X31 (ite (= X30 7) 2 X30))) (let ((X32 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) X31 X30))) (let - ((X33 Int (ite (= X32 8) 2 X32))) + ((X33 (ite (= X32 8) 2 X32))) (let ((X34 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) X33 X32))) (let ((X35 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) 0 X34))) (let - ((X36 Int (ite X22 X35 X20))) + ((X36 (ite X22 X35 X20))) (let ((X37 - Int (ite (not (= X36 1)) 1 X36))) + (ite (not (= X36 1)) 1 X36))) (let - ((X38 Int (ite X22 X37 X36))) + ((X38 (ite X22 X37 X36))) (let ((X39 - Bool (and + (and (= X38 1) (and top.usr.onOff_a_1 (not X22))))) (let ((X40 - Int (ite (= X38 1) 0 X38))) + (ite (= X38 1) 0 X38))) (let - ((X41 Int (ite X39 X40 X38))) + ((X41 (ite X39 X40 X38))) (let ((X42 - Int (ite + (ite (not (= X36 1)) 1 X19))) (let ((X43 - Int (ite X22 X42 X19))) + (ite X22 X42 X19))) (let ((X44 - Int (ite + (ite (not (and (>= X41 2) @@ -1787,7 +1660,7 @@ X41))) (let ((X45 - Bool (and + (and (not (and (>= X41 2) @@ -1797,46 +1670,46 @@ (<= X44 8))))) (let ((X46 - Int (ite + (ite (not (= X44 7)) 2 X43))) (let ((X47 - Int (ite X45 X46 X43))) + (ite X45 X46 X43))) (let ((X48 - Int (ite + (ite X39 X47 X43))) (let ((X49 - Int (ite + (ite (not (= X44 7)) 7 X44))) (let ((X50 - Int (ite + (ite X45 X49 X44))) (let ((X51 - Int (ite + (ite X39 X50 X41))) (let ((X52 - Bool (or + (or X39 X22))) (let ((X53 - Bool (and + (and (and (>= X51 @@ -1847,13 +1720,13 @@ (not X4)))) (let ((X54 - Int (ite + (ite (= X51 4) 3 X51))) (let ((X55 - Int (ite + (ite (and (>= X51 @@ -1865,14 +1738,12 @@ X51))) (let ((X56 - Int (ite (= X55 5) 3 X55))) (let ((X57 - Int (ite (and (>= @@ -1885,14 +1756,12 @@ X55))) (let ((X58 - Int (ite (= X57 6) 3 X57))) (let ((X59 - Int (ite (and (>= @@ -1905,7 +1774,6 @@ X57))) (let ((X60 - Int (ite (and (>= @@ -1918,14 +1786,12 @@ X59))) (let ((X61 - Int (ite X53 X60 X51))) (let ((X62 - Int (ite (not (= X61 8)) @@ -1933,14 +1799,12 @@ X61))) (let ((X63 - Int (ite X53 X62 X61))) (let ((X64 - Bool (and (= X63 8) (and @@ -1962,21 +1826,18 @@ (not X53))))) (let ((X65 - Int (ite (= X63 8) 2 X63))) (let ((X66 - Int (ite X64 X65 X63))) (let ((X67 - Int (ite (not (and @@ -1990,7 +1851,6 @@ X66))) (let ((X68 - Bool (and (not (and @@ -2009,7 +1869,6 @@ 6))))) (let ((X69 - Int (ite (not (= X67 4)) @@ -2017,27 +1876,23 @@ X67))) (let ((X70 - Int (ite X68 X69 X67))) (let ((X71 - Int (ite X64 X70 X66))) (let ((X72 - Bool (or X64 X53))) (let ((X73 - Bool (and (= X71 8) (and @@ -2059,21 +1914,18 @@ (not X72))))) (let ((X74 - Int (ite (= X71 8) 2 X71))) (let ((X75 - Int (ite X73 X74 X71))) (let ((X76 - Int (ite (not (and @@ -2087,7 +1939,6 @@ X75))) (let ((X77 - Bool (and (not (and @@ -2106,7 +1957,6 @@ 6))))) (let ((X78 - Int (ite (not (= X76 4)) @@ -2114,27 +1964,23 @@ X76))) (let ((X79 - Int (ite X77 X78 X76))) (let ((X80 - Int (ite X73 X79 X75))) (let ((X81 - Bool (or X73 X72))) (let ((X82 - Bool (and (= X80 7) (and @@ -2156,21 +2002,18 @@ (not X81))))) (let ((X83 - Int (ite (= X80 7) 2 X80))) (let ((X84 - Int (ite X82 X83 X80))) (let ((X85 - Int (ite (not (= X61 8)) @@ -2178,14 +2021,12 @@ X48))) (let ((X86 - Int (ite X53 X85 X48))) (let ((X87 - Int (ite (not (= X67 4)) @@ -2193,21 +2034,18 @@ X86))) (let ((X88 - Int (ite X68 X87 X86))) (let ((X89 - Int (ite X64 X88 X86))) (let ((X90 - Int (ite (not (= X76 4)) @@ -2215,21 +2053,18 @@ X89))) (let ((X91 - Int (ite X77 X90 X89))) (let ((X92 - Int (ite X73 X91 X89))) (let ((X93 - Int (ite (not (and @@ -2243,7 +2078,6 @@ X84))) (let ((X94 - Bool (and (not (and @@ -2262,7 +2096,6 @@ 6))))) (let ((X95 - Int (ite (not (= X93 4)) @@ -2270,21 +2103,18 @@ X92))) (let ((X96 - Int (ite X94 X95 X92))) (let ((X97 - Int (ite X82 X96 X92))) (let ((X98 - Int (ite (not (= X93 4)) @@ -2292,27 +2122,23 @@ X93))) (let ((X99 - Int (ite X94 X98 X93))) (let ((X100 - Int (ite X82 X99 X84))) (let ((X101 - Bool (or X82 X81))) (let ((X102 - Bool (and (= X100 @@ -2326,7 +2152,6 @@ 0))))) (let ((X103 - Int (ite (= X100 @@ -2335,14 +2160,12 @@ X100))) (let ((X104 - Int (ite X102 X103 X100))) (let ((X105 - Int (ite (not (= @@ -2352,14 +2175,12 @@ X104))) (let ((X106 - Int (ite X102 X105 X104))) (let ((X107 - Bool (and (= X106 @@ -2376,7 +2197,6 @@ X102))))) (let ((X108 - Int (ite (= X106 @@ -2385,14 +2205,12 @@ X106))) (let ((X109 - Int (ite X107 X108 X106))) (let ((X110 - Int (ite (not (= @@ -2402,20 +2220,17 @@ X109))) (let ((X111 - Int (ite X107 X110 X109))) (let ((X112 - Bool (or X107 X102))) (let ((X113 - Bool (and (= X111 @@ -2432,7 +2247,6 @@ X112))))) (let ((X114 - Int (ite (= X111 @@ -2441,14 +2255,12 @@ X111))) (let ((X115 - Int (ite X113 X114 X111))) (let ((X116 - Int (ite (not (= @@ -2458,20 +2270,17 @@ X115))) (let ((X117 - Int (ite X113 X116 X115))) (let ((X118 - Bool (or X113 X112))) (let ((X119 - Bool (and (= X117 @@ -2489,7 +2298,6 @@ X118))))) (let ((X120 - Int (ite (= X117 @@ -2498,14 +2306,12 @@ X117))) (let ((X121 - Int (ite X119 X120 X117))) (let ((X122 - Int (ite (not (= @@ -2515,20 +2321,17 @@ X121))) (let ((X123 - Int (ite X119 X122 X121))) (let ((X124 - Bool (or X119 X118))) (let ((X125 - Bool (and (= X123 @@ -2546,7 +2349,6 @@ X124))))) (let ((X126 - Int (ite (= X123 @@ -2555,14 +2357,12 @@ X123))) (let ((X127 - Int (ite X125 X126 X123))) (let ((X128 - Int (ite (not (= @@ -2572,14 +2372,12 @@ X97))) (let ((X129 - Int (ite X102 X128 X97))) (let ((X130 - Int (ite (not (= @@ -2589,14 +2387,12 @@ X129))) (let ((X131 - Int (ite X107 X130 X129))) (let ((X132 - Int (ite (not (= @@ -2606,14 +2402,12 @@ X131))) (let ((X133 - Int (ite X113 X132 X131))) (let ((X134 - Int (ite (not (= @@ -2623,14 +2417,12 @@ X133))) (let ((X135 - Int (ite X119 X134 X133))) (let ((X136 - Int (ite (not (= @@ -2640,14 +2432,12 @@ X135))) (let ((X137 - Int (ite X125 X136 X135))) (let ((X138 - Int (ite (and (not @@ -2663,7 +2453,6 @@ X97))) (let ((X139 - Int (ite (and (not X52) @@ -2691,39 +2480,34 @@ X19)) (let ((X140 - Bool (= top.impl.usr.mode_a_1 3))) (let ((X141 - Real (ite X140 X1 0.0))) (let ((X142 - Bool (= top.impl.usr.mode_a_1 4))) (let ((X143 - Real (ite X142 X1 X141))) (let ((X144 - Bool (= top.impl.usr.mode_a_1 5))) (let ((X145 - Bool X144)) + X144)) (and (= top.impl.usr.zz4_a_1 @@ -2746,24 +2530,22 @@ top.impl.usr.zz3_a_1 (- X1 - (/ 1 20)) + (/ 1.0 20.0)) top.impl.usr.zz5_a_0))) (let ((X146 - Real (ite X145 top.impl.usr.zz5_a_1 X143))) (let ((X147 - Bool (= top.impl.usr.mode_a_1 6))) (let ((X148 - Bool X147)) + X147)) (and (= top.impl.usr.zz1_a_1 @@ -2786,28 +2568,25 @@ top.impl.usr.zz0_a_1 (+ X1 - (/ 1 20)) + (/ 1.0 20.0)) top.impl.usr.zz2_a_0))) (let ((X149 - Real (ite X148 top.impl.usr.zz2_a_1 X146))) (let ((X150 - Bool top.impl.usr.zz162_a_0)) + top.impl.usr.zz162_a_0)) (let ((X151 - Bool (ite (= X20 4) false X150))) (let ((X152 - Bool (ite (and (>= @@ -2820,7 +2599,6 @@ X150))) (let ((X153 - Bool (ite (and (>= @@ -2833,21 +2611,18 @@ X150))) (let ((X154 - Bool (ite X22 X153 X150))) (let ((X155 - Bool (ite (= X51 4) false X154))) (let ((X156 - Bool (ite (and (>= @@ -2860,28 +2635,24 @@ X154))) (let ((X157 - Bool (ite X53 X156 X154))) (let ((X158 - Bool (ite X64 true X157))) (let ((X159 - Bool (ite X82 true X158))) (let ((X160 - Int (ite (not (= @@ -2891,20 +2662,17 @@ X127))) (let ((X161 - Int (ite X125 X160 X127))) (let ((X162 - Bool (or X125 X124))) (let ((X163 - Bool (ite (= X100 @@ -2913,21 +2681,18 @@ X159))) (let ((X164 - Bool (ite X102 X163 X159))) (let ((X165 - Bool (ite X102 true X164))) (let ((X166 - Bool (ite (= X106 @@ -2936,14 +2701,12 @@ X165))) (let ((X167 - Bool (ite X107 X166 X165))) (let ((X168 - Bool (ite (= X111 @@ -2952,14 +2715,12 @@ X167))) (let ((X169 - Bool (ite X113 X168 X167))) (let ((X170 - Bool (ite (and (not @@ -2971,7 +2732,6 @@ X169))) (let ((X171 - Bool (ite (and (not @@ -2987,7 +2747,6 @@ X159))) (let ((X172 - Bool (ite (and (not X52) @@ -3012,7 +2771,6 @@ X150)) (let ((X173 - Real (ite top.impl.usr.zz162_a_1 top.usr.carSpeed_a_1 @@ -3033,19 +2791,16 @@ X173))) (let ((X174 - Real (- top.impl.usr.desiredSpeed_a_1 top.usr.carSpeed_a_1))) (let ((X175 - Real (* X174 1.0))) (let ((X176 - Real (ite (< X175 @@ -3059,22 +2814,19 @@ X175)))) (let ((X177 - Real (/ X176 20.0))) (let ((X178 - Real top.impl.usr.cruiseThrottle_a_0)) + top.impl.usr.cruiseThrottle_a_0)) (let ((X179 - Real (+ X177 X178))) (let ((X180 - Real (ite (< X179 @@ -3088,7 +2840,6 @@ X179)))) (let ((X181 - Bool (or (or X142 @@ -3103,7 +2854,6 @@ 0.0)) (let ((X182 - Bool (= top.impl.usr.cruiseThrottle_a_1 0.0))) @@ -3116,7 +2866,6 @@ X182)) (let ((X183 - Int (ite (not (= X20 1)) @@ -3124,7 +2873,6 @@ X20))) (let ((X184 - Int (ite (and (not @@ -3140,7 +2888,6 @@ X100))) (let ((X185 - Int (ite (and (not X52) @@ -3155,7 +2902,6 @@ X51))) (let ((X186 - Int (ite top.impl.usr.SP3c_a_1 (ite @@ -3204,34 +2950,6 @@ )) -(declare-primed-var top.usr.onOff Bool) -(declare-primed-var top.usr.decelSet Bool) -(declare-primed-var top.usr.accelResume Bool) -(declare-primed-var top.usr.cancel Bool) -(declare-primed-var top.usr.brakePedal Bool) -(declare-primed-var top.usr.carGear Int) -(declare-primed-var top.usr.carSpeed Real) -(declare-primed-var top.usr.validInputs Bool) -(declare-primed-var top.usr.OK Bool) -(declare-primed-var top.res.init_flag Bool) -(declare-primed-var top.impl.usr.mode Int) -(declare-primed-var top.impl.usr.cruiseThrottle Real) -(declare-primed-var top.impl.usr.desiredSpeed Real) -(declare-primed-var top.impl.usr.SP3c Bool) -(declare-primed-var top.impl.usr.zz0 Bool) -(declare-primed-var top.impl.usr.zz1 Bool) -(declare-primed-var top.impl.usr.zz2 Real) -(declare-primed-var top.impl.usr.zz3 Bool) -(declare-primed-var top.impl.usr.zz4 Bool) -(declare-primed-var top.impl.usr.zz5 Real) -(declare-primed-var top.impl.usr.zz155 Bool) -(declare-primed-var top.impl.usr.zz161 Int) -(declare-primed-var top.impl.usr.zz162 Bool) -(declare-primed-var top.impl.usr.zz170 Int) -(declare-primed-var top.impl.usr.zz176 Int) -(declare-primed-var top.impl.usr.zz178 Bool) -(declare-primed-var top.impl.usr.zz183 Bool) - (define-fun init ( (top.usr.onOff Bool) @@ -3264,156 +2982,156 @@ ) Bool (let - ((X1 Real 0.0)) + ((X1 0.0)) (let - ((X2 Bool (>= top.usr.carSpeed 15.0))) + ((X2 (>= top.usr.carSpeed 15.0))) (let - ((X3 Bool (= top.usr.carGear 3))) + ((X3 (= top.usr.carGear 3))) (let ((X4 - Bool (and + (and (and (and (and (not top.usr.cancel) (not top.usr.brakePedal)) X3) X2) top.usr.validInputs))) (let - ((X5 Bool true)) + ((X5 true)) (and (= top.impl.usr.zz183 top.usr.decelSet) (let - ((X6 Bool (and (not X5) top.impl.usr.zz183))) + ((X6 (and (not X5) top.impl.usr.zz183))) (let - ((X7 Bool true)) + ((X7 true)) (and (= top.impl.usr.zz178 top.usr.accelResume) (let - ((X8 Bool (and (not X7) top.impl.usr.zz178))) + ((X8 (and (not X7) top.impl.usr.zz178))) (let - ((X9 Int 0)) + ((X9 0)) (let - ((X10 Int (+ X9 1))) + ((X10 (+ X9 1))) (let - ((X11 Int (ite top.usr.decelSet X10 0))) + ((X11 (ite top.usr.decelSet X10 0))) (let - ((X12 Int (ite (>= 0 X11) 0 X11))) + ((X12 (ite (>= 0 X11) 0 X11))) (and (= top.impl.usr.zz176 (ite (<= X12 20) X12 20)) (let - ((X13 Bool (= top.impl.usr.zz176 20))) + ((X13 (= top.impl.usr.zz176 20))) (let - ((X14 Int 0)) + ((X14 0)) (let - ((X15 Int (+ X14 1))) + ((X15 (+ X14 1))) (let - ((X16 Int (ite top.usr.accelResume X15 0))) + ((X16 (ite top.usr.accelResume X15 0))) (let - ((X17 Int (ite (>= 0 X16) 0 X16))) + ((X17 (ite (>= 0 X16) 0 X16))) (and (= top.impl.usr.zz170 (ite (<= X17 20) X17 20)) (let - ((X18 Bool (= top.impl.usr.zz170 20))) + ((X18 (= top.impl.usr.zz170 20))) (let - ((X19 Int 0)) + ((X19 0)) (let - ((X20 Int 0)) + ((X20 0)) (and (= top.impl.usr.zz155 true) (let - ((X21 Int (ite (not (= X20 1)) 1 X19))) + ((X21 (ite (not (= X20 1)) 1 X19))) (let ((X22 - Bool (and + (and (and (>= X20 2) (<= X20 8)) (not top.usr.onOff)))) (let - ((X23 Int (ite (= X20 4) 3 X20))) + ((X23 (ite (= X20 4) 3 X20))) (let ((X24 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) X23 X20))) (let - ((X25 Int (ite (= X24 5) 3 X24))) + ((X25 (ite (= X24 5) 3 X24))) (let ((X26 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) X25 X24))) (let - ((X27 Int (ite (= X26 6) 3 X26))) + ((X27 (ite (= X26 6) 3 X26))) (let ((X28 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) X27 X26))) (let ((X29 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) 2 X28))) (let ((X30 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) X29 X20))) (let - ((X31 Int (ite (= X30 7) 2 X30))) + ((X31 (ite (= X30 7) 2 X30))) (let ((X32 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) X31 X30))) (let - ((X33 Int (ite (= X32 8) 2 X32))) + ((X33 (ite (= X32 8) 2 X32))) (let ((X34 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) X33 X32))) (let ((X35 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) 0 X34))) (let - ((X36 Int (ite X22 X35 X20))) + ((X36 (ite X22 X35 X20))) (let ((X37 - Int (ite (not (= X36 1)) 1 X36))) + (ite (not (= X36 1)) 1 X36))) (let - ((X38 Int (ite X22 X37 X36))) + ((X38 (ite X22 X37 X36))) (let ((X39 - Bool (and + (and (= X38 1) (and top.usr.onOff (not X22))))) (let ((X40 - Int (ite (= X38 1) 0 X38))) + (ite (= X38 1) 0 X38))) (let - ((X41 Int (ite X39 X40 X38))) + ((X41 (ite X39 X40 X38))) (let ((X42 - Int (ite + (ite (not (= X36 1)) 1 X19))) (let ((X43 - Int (ite X22 X42 X19))) + (ite X22 X42 X19))) (let ((X44 - Int (ite + (ite (not (and (>= X41 2) @@ -3422,7 +3140,7 @@ X41))) (let ((X45 - Bool (and + (and (not (and (>= X41 2) @@ -3432,46 +3150,46 @@ (<= X44 8))))) (let ((X46 - Int (ite + (ite (not (= X44 7)) 2 X43))) (let ((X47 - Int (ite X45 X46 X43))) + (ite X45 X46 X43))) (let ((X48 - Int (ite + (ite X39 X47 X43))) (let ((X49 - Int (ite + (ite (not (= X44 7)) 7 X44))) (let ((X50 - Int (ite + (ite X45 X49 X44))) (let ((X51 - Int (ite + (ite X39 X50 X41))) (let ((X52 - Bool (or + (or X39 X22))) (let ((X53 - Bool (and + (and (and (>= X51 @@ -3482,13 +3200,13 @@ (not X4)))) (let ((X54 - Int (ite + (ite (= X51 4) 3 X51))) (let ((X55 - Int (ite + (ite (and (>= X51 @@ -3500,14 +3218,12 @@ X51))) (let ((X56 - Int (ite (= X55 5) 3 X55))) (let ((X57 - Int (ite (and (>= @@ -3520,14 +3236,12 @@ X55))) (let ((X58 - Int (ite (= X57 6) 3 X57))) (let ((X59 - Int (ite (and (>= @@ -3540,7 +3254,6 @@ X57))) (let ((X60 - Int (ite (and (>= @@ -3553,14 +3266,12 @@ X59))) (let ((X61 - Int (ite X53 X60 X51))) (let ((X62 - Int (ite (not (= X61 8)) @@ -3568,14 +3279,12 @@ X61))) (let ((X63 - Int (ite X53 X62 X61))) (let ((X64 - Bool (and (= X63 8) (and @@ -3597,21 +3306,18 @@ (not X53))))) (let ((X65 - Int (ite (= X63 8) 2 X63))) (let ((X66 - Int (ite X64 X65 X63))) (let ((X67 - Int (ite (not (and @@ -3625,7 +3331,6 @@ X66))) (let ((X68 - Bool (and (not (and @@ -3644,7 +3349,6 @@ 6))))) (let ((X69 - Int (ite (not (= X67 4)) @@ -3652,27 +3356,23 @@ X67))) (let ((X70 - Int (ite X68 X69 X67))) (let ((X71 - Int (ite X64 X70 X66))) (let ((X72 - Bool (or X64 X53))) (let ((X73 - Bool (and (= X71 8) (and @@ -3694,21 +3394,18 @@ (not X72))))) (let ((X74 - Int (ite (= X71 8) 2 X71))) (let ((X75 - Int (ite X73 X74 X71))) (let ((X76 - Int (ite (not (and @@ -3722,7 +3419,6 @@ X75))) (let ((X77 - Bool (and (not (and @@ -3741,7 +3437,6 @@ 6))))) (let ((X78 - Int (ite (not (= X76 4)) @@ -3749,27 +3444,23 @@ X76))) (let ((X79 - Int (ite X77 X78 X76))) (let ((X80 - Int (ite X73 X79 X75))) (let ((X81 - Bool (or X73 X72))) (let ((X82 - Bool (and (= X80 7) (and @@ -3791,21 +3482,18 @@ (not X81))))) (let ((X83 - Int (ite (= X80 7) 2 X80))) (let ((X84 - Int (ite X82 X83 X80))) (let ((X85 - Int (ite (not (= X61 8)) @@ -3813,14 +3501,12 @@ X48))) (let ((X86 - Int (ite X53 X85 X48))) (let ((X87 - Int (ite (not (= X67 4)) @@ -3828,21 +3514,18 @@ X86))) (let ((X88 - Int (ite X68 X87 X86))) (let ((X89 - Int (ite X64 X88 X86))) (let ((X90 - Int (ite (not (= X76 4)) @@ -3850,21 +3533,18 @@ X89))) (let ((X91 - Int (ite X77 X90 X89))) (let ((X92 - Int (ite X73 X91 X89))) (let ((X93 - Int (ite (not (and @@ -3878,7 +3558,6 @@ X84))) (let ((X94 - Bool (and (not (and @@ -3897,7 +3576,6 @@ 6))))) (let ((X95 - Int (ite (not (= X93 4)) @@ -3905,21 +3583,18 @@ X92))) (let ((X96 - Int (ite X94 X95 X92))) (let ((X97 - Int (ite X82 X96 X92))) (let ((X98 - Int (ite (not (= X93 4)) @@ -3927,27 +3602,23 @@ X93))) (let ((X99 - Int (ite X94 X98 X93))) (let ((X100 - Int (ite X82 X99 X84))) (let ((X101 - Bool (or X82 X81))) (let ((X102 - Bool (and (= X100 @@ -3961,7 +3632,6 @@ 0))))) (let ((X103 - Int (ite (= X100 @@ -3970,14 +3640,12 @@ X100))) (let ((X104 - Int (ite X102 X103 X100))) (let ((X105 - Int (ite (not (= @@ -3987,14 +3655,12 @@ X104))) (let ((X106 - Int (ite X102 X105 X104))) (let ((X107 - Bool (and (= X106 @@ -4011,7 +3677,6 @@ X102))))) (let ((X108 - Int (ite (= X106 @@ -4020,14 +3685,12 @@ X106))) (let ((X109 - Int (ite X107 X108 X106))) (let ((X110 - Int (ite (not (= @@ -4037,20 +3700,17 @@ X109))) (let ((X111 - Int (ite X107 X110 X109))) (let ((X112 - Bool (or X107 X102))) (let ((X113 - Bool (and (= X111 @@ -4067,7 +3727,6 @@ X112))))) (let ((X114 - Int (ite (= X111 @@ -4076,14 +3735,12 @@ X111))) (let ((X115 - Int (ite X113 X114 X111))) (let ((X116 - Int (ite (not (= @@ -4093,20 +3750,17 @@ X115))) (let ((X117 - Int (ite X113 X116 X115))) (let ((X118 - Bool (or X113 X112))) (let ((X119 - Bool (and (= X117 @@ -4124,7 +3778,6 @@ X118))))) (let ((X120 - Int (ite (= X117 @@ -4133,14 +3786,12 @@ X117))) (let ((X121 - Int (ite X119 X120 X117))) (let ((X122 - Int (ite (not (= @@ -4150,20 +3801,17 @@ X121))) (let ((X123 - Int (ite X119 X122 X121))) (let ((X124 - Bool (or X119 X118))) (let ((X125 - Bool (and (= X123 @@ -4181,7 +3829,6 @@ X124))))) (let ((X126 - Int (ite (= X123 @@ -4190,14 +3837,12 @@ X123))) (let ((X127 - Int (ite X125 X126 X123))) (let ((X128 - Int (ite (not (= @@ -4207,14 +3852,12 @@ X97))) (let ((X129 - Int (ite X102 X128 X97))) (let ((X130 - Int (ite (not (= @@ -4224,14 +3867,12 @@ X129))) (let ((X131 - Int (ite X107 X130 X129))) (let ((X132 - Int (ite (not (= @@ -4241,14 +3882,12 @@ X131))) (let ((X133 - Int (ite X113 X132 X131))) (let ((X134 - Int (ite (not (= @@ -4258,14 +3897,12 @@ X133))) (let ((X135 - Int (ite X119 X134 X133))) (let ((X136 - Int (ite (not (= @@ -4275,14 +3912,12 @@ X135))) (let ((X137 - Int (ite X125 X136 X135))) (let ((X138 - Int (ite (and (not @@ -4298,7 +3933,6 @@ X97))) (let ((X139 - Int (ite (and (not X52) @@ -4326,39 +3960,34 @@ X19)) (let ((X140 - Bool (= top.impl.usr.mode 3))) (let ((X141 - Real (ite X140 X1 0.0))) (let ((X142 - Bool (= top.impl.usr.mode 4))) (let ((X143 - Real (ite X142 X1 X141))) (let ((X144 - Bool (= top.impl.usr.mode 5))) (let ((X145 - Bool X144)) + X144)) (and (= top.impl.usr.zz4 @@ -4376,23 +4005,21 @@ 0.0 (- X1 - (/ 1 20)))) + (/ 1.0 20.0)))) (let ((X146 - Real (ite X145 top.impl.usr.zz5 X143))) (let ((X147 - Bool (= top.impl.usr.mode 6))) (let ((X148 - Bool X147)) + X147)) (and (= top.impl.usr.zz1 @@ -4410,27 +4037,24 @@ 0.0 (+ X1 - (/ 1 20)))) + (/ 1.0 20.0)))) (let ((X149 - Real (ite X148 top.impl.usr.zz2 X146))) (let ((X150 - Bool false)) + false)) (let ((X151 - Bool (ite (= X20 4) false X150))) (let ((X152 - Bool (ite (and (>= @@ -4443,7 +4067,6 @@ X150))) (let ((X153 - Bool (ite (and (>= @@ -4456,21 +4079,18 @@ X150))) (let ((X154 - Bool (ite X22 X153 X150))) (let ((X155 - Bool (ite (= X51 4) false X154))) (let ((X156 - Bool (ite (and (>= @@ -4483,28 +4103,24 @@ X154))) (let ((X157 - Bool (ite X53 X156 X154))) (let ((X158 - Bool (ite X64 true X157))) (let ((X159 - Bool (ite X82 true X158))) (let ((X160 - Int (ite (not (= @@ -4514,20 +4130,17 @@ X127))) (let ((X161 - Int (ite X125 X160 X127))) (let ((X162 - Bool (or X125 X124))) (let ((X163 - Bool (ite (= X100 @@ -4536,21 +4149,18 @@ X159))) (let ((X164 - Bool (ite X102 X163 X159))) (let ((X165 - Bool (ite X102 true X164))) (let ((X166 - Bool (ite (= X106 @@ -4559,14 +4169,12 @@ X165))) (let ((X167 - Bool (ite X107 X166 X165))) (let ((X168 - Bool (ite (= X111 @@ -4575,14 +4183,12 @@ X167))) (let ((X169 - Bool (ite X113 X168 X167))) (let ((X170 - Bool (ite (and (not @@ -4594,7 +4200,6 @@ X169))) (let ((X171 - Bool (ite (and (not @@ -4610,7 +4215,6 @@ X159))) (let ((X172 - Bool (ite (and (not X52) @@ -4635,7 +4239,6 @@ X150)) (let ((X173 - Real (ite top.impl.usr.zz162 top.usr.carSpeed @@ -4656,19 +4259,16 @@ X173))) (let ((X174 - Real (- top.impl.usr.desiredSpeed top.usr.carSpeed))) (let ((X175 - Real (* X174 1.0))) (let ((X176 - Real (ite (< X175 @@ -4682,22 +4282,19 @@ X175)))) (let ((X177 - Real (/ X176 20.0))) (let ((X178 - Real 0.0)) + 0.0)) (let ((X179 - Real (+ X177 X178))) (let ((X180 - Real (ite (< X179 @@ -4711,7 +4308,6 @@ X179)))) (let ((X181 - Bool (or (or X142 @@ -4726,7 +4322,6 @@ 0.0)) (let ((X182 - Bool (= top.impl.usr.cruiseThrottle 0.0))) @@ -4739,7 +4334,6 @@ X182)) (let ((X183 - Int (ite (not (= X20 1)) @@ -4747,7 +4341,6 @@ X20))) (let ((X184 - Int (ite (and (not @@ -4763,7 +4356,6 @@ X100))) (let ((X185 - Int (ite (and (not X52) @@ -4778,7 +4370,6 @@ X51))) (let ((X186 - Int (ite top.impl.usr.SP3c (ite @@ -4857,158 +4448,158 @@ ) Bool (let - ((X1 Real top.impl.usr.desiredSpeed)) + ((X1 top.impl.usr.desiredSpeed)) (let - ((X2 Bool (>= top.usr.carSpeed! 15.0))) + ((X2 (>= top.usr.carSpeed! 15.0))) (let - ((X3 Bool (= top.usr.carGear! 3))) + ((X3 (= top.usr.carGear! 3))) (let ((X4 - Bool (and + (and (and (and (and (not top.usr.cancel!) (not top.usr.brakePedal!)) X3) X2) top.usr.validInputs!))) (let - ((X5 Bool top.impl.usr.zz183)) + ((X5 top.impl.usr.zz183)) (and (= top.impl.usr.zz183! top.usr.decelSet!) (let - ((X6 Bool (and (not X5) top.impl.usr.zz183!))) + ((X6 (and (not X5) top.impl.usr.zz183!))) (let - ((X7 Bool top.impl.usr.zz178)) + ((X7 top.impl.usr.zz178)) (and (= top.impl.usr.zz178! top.usr.accelResume!) (let - ((X8 Bool (and (not X7) top.impl.usr.zz178!))) + ((X8 (and (not X7) top.impl.usr.zz178!))) (let - ((X9 Int top.impl.usr.zz176)) + ((X9 top.impl.usr.zz176)) (let - ((X10 Int (+ X9 1))) + ((X10 (+ X9 1))) (let - ((X11 Int (ite top.usr.decelSet! X10 0))) + ((X11 (ite top.usr.decelSet! X10 0))) (let - ((X12 Int (ite (>= 0 X11) 0 X11))) + ((X12 (ite (>= 0 X11) 0 X11))) (and (= top.impl.usr.zz176! (ite (<= X12 20) X12 20)) (let - ((X13 Bool (= top.impl.usr.zz176! 20))) + ((X13 (= top.impl.usr.zz176! 20))) (let - ((X14 Int top.impl.usr.zz170)) + ((X14 top.impl.usr.zz170)) (let - ((X15 Int (+ X14 1))) + ((X15 (+ X14 1))) (let - ((X16 Int (ite top.usr.accelResume! X15 0))) + ((X16 (ite top.usr.accelResume! X15 0))) (let - ((X17 Int (ite (>= 0 X16) 0 X16))) + ((X17 (ite (>= 0 X16) 0 X16))) (and (= top.impl.usr.zz170! (ite (<= X17 20) X17 20)) (let - ((X18 Bool (= top.impl.usr.zz170! 20))) + ((X18 (= top.impl.usr.zz170! 20))) (let - ((X19 Int top.impl.usr.mode)) + ((X19 top.impl.usr.mode)) (let - ((X20 Int top.impl.usr.zz161)) + ((X20 top.impl.usr.zz161)) (and (= top.impl.usr.zz155! (ite top.impl.usr.SP3c false top.impl.usr.zz155)) (let - ((X21 Int (ite (not (= X20 1)) 1 X19))) + ((X21 (ite (not (= X20 1)) 1 X19))) (let ((X22 - Bool (and + (and (and (>= X20 2) (<= X20 8)) (not top.usr.onOff!)))) (let - ((X23 Int (ite (= X20 4) 3 X20))) + ((X23 (ite (= X20 4) 3 X20))) (let ((X24 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) X23 X20))) (let - ((X25 Int (ite (= X24 5) 3 X24))) + ((X25 (ite (= X24 5) 3 X24))) (let ((X26 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) X25 X24))) (let - ((X27 Int (ite (= X26 6) 3 X26))) + ((X27 (ite (= X26 6) 3 X26))) (let ((X28 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) X27 X26))) (let ((X29 - Int (ite + (ite (and (>= X20 3) (<= X20 6)) 2 X28))) (let ((X30 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) X29 X20))) (let - ((X31 Int (ite (= X30 7) 2 X30))) + ((X31 (ite (= X30 7) 2 X30))) (let ((X32 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) X31 X30))) (let - ((X33 Int (ite (= X32 8) 2 X32))) + ((X33 (ite (= X32 8) 2 X32))) (let ((X34 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) X33 X32))) (let ((X35 - Int (ite + (ite (and (>= X20 2) (<= X20 8)) 0 X34))) (let - ((X36 Int (ite X22 X35 X20))) + ((X36 (ite X22 X35 X20))) (let ((X37 - Int (ite (not (= X36 1)) 1 X36))) + (ite (not (= X36 1)) 1 X36))) (let - ((X38 Int (ite X22 X37 X36))) + ((X38 (ite X22 X37 X36))) (let ((X39 - Bool (and + (and (= X38 1) (and top.usr.onOff! (not X22))))) (let ((X40 - Int (ite (= X38 1) 0 X38))) + (ite (= X38 1) 0 X38))) (let - ((X41 Int (ite X39 X40 X38))) + ((X41 (ite X39 X40 X38))) (let ((X42 - Int (ite + (ite (not (= X36 1)) 1 X19))) (let ((X43 - Int (ite X22 X42 X19))) + (ite X22 X42 X19))) (let ((X44 - Int (ite + (ite (not (and (>= X41 2) @@ -5017,7 +4608,7 @@ X41))) (let ((X45 - Bool (and + (and (not (and (>= X41 2) @@ -5027,46 +4618,46 @@ (<= X44 8))))) (let ((X46 - Int (ite + (ite (not (= X44 7)) 2 X43))) (let ((X47 - Int (ite X45 X46 X43))) + (ite X45 X46 X43))) (let ((X48 - Int (ite + (ite X39 X47 X43))) (let ((X49 - Int (ite + (ite (not (= X44 7)) 7 X44))) (let ((X50 - Int (ite + (ite X45 X49 X44))) (let ((X51 - Int (ite + (ite X39 X50 X41))) (let ((X52 - Bool (or + (or X39 X22))) (let ((X53 - Bool (and + (and (and (>= X51 @@ -5077,13 +4668,13 @@ (not X4)))) (let ((X54 - Int (ite + (ite (= X51 4) 3 X51))) (let ((X55 - Int (ite + (ite (and (>= X51 @@ -5095,14 +4686,12 @@ X51))) (let ((X56 - Int (ite (= X55 5) 3 X55))) (let ((X57 - Int (ite (and (>= @@ -5115,14 +4704,12 @@ X55))) (let ((X58 - Int (ite (= X57 6) 3 X57))) (let ((X59 - Int (ite (and (>= @@ -5135,7 +4722,6 @@ X57))) (let ((X60 - Int (ite (and (>= @@ -5148,14 +4734,12 @@ X59))) (let ((X61 - Int (ite X53 X60 X51))) (let ((X62 - Int (ite (not (= X61 8)) @@ -5163,14 +4747,12 @@ X61))) (let ((X63 - Int (ite X53 X62 X61))) (let ((X64 - Bool (and (= X63 8) (and @@ -5192,21 +4774,18 @@ (not X53))))) (let ((X65 - Int (ite (= X63 8) 2 X63))) (let ((X66 - Int (ite X64 X65 X63))) (let ((X67 - Int (ite (not (and @@ -5220,7 +4799,6 @@ X66))) (let ((X68 - Bool (and (not (and @@ -5239,7 +4817,6 @@ 6))))) (let ((X69 - Int (ite (not (= X67 4)) @@ -5247,27 +4824,23 @@ X67))) (let ((X70 - Int (ite X68 X69 X67))) (let ((X71 - Int (ite X64 X70 X66))) (let ((X72 - Bool (or X64 X53))) (let ((X73 - Bool (and (= X71 8) (and @@ -5289,21 +4862,18 @@ (not X72))))) (let ((X74 - Int (ite (= X71 8) 2 X71))) (let ((X75 - Int (ite X73 X74 X71))) (let ((X76 - Int (ite (not (and @@ -5317,7 +4887,6 @@ X75))) (let ((X77 - Bool (and (not (and @@ -5336,7 +4905,6 @@ 6))))) (let ((X78 - Int (ite (not (= X76 4)) @@ -5344,27 +4912,23 @@ X76))) (let ((X79 - Int (ite X77 X78 X76))) (let ((X80 - Int (ite X73 X79 X75))) (let ((X81 - Bool (or X73 X72))) (let ((X82 - Bool (and (= X80 7) (and @@ -5386,21 +4950,18 @@ (not X81))))) (let ((X83 - Int (ite (= X80 7) 2 X80))) (let ((X84 - Int (ite X82 X83 X80))) (let ((X85 - Int (ite (not (= X61 8)) @@ -5408,14 +4969,12 @@ X48))) (let ((X86 - Int (ite X53 X85 X48))) (let ((X87 - Int (ite (not (= X67 4)) @@ -5423,21 +4982,18 @@ X86))) (let ((X88 - Int (ite X68 X87 X86))) (let ((X89 - Int (ite X64 X88 X86))) (let ((X90 - Int (ite (not (= X76 4)) @@ -5445,21 +5001,18 @@ X89))) (let ((X91 - Int (ite X77 X90 X89))) (let ((X92 - Int (ite X73 X91 X89))) (let ((X93 - Int (ite (not (and @@ -5473,7 +5026,6 @@ X84))) (let ((X94 - Bool (and (not (and @@ -5492,7 +5044,6 @@ 6))))) (let ((X95 - Int (ite (not (= X93 4)) @@ -5500,21 +5051,18 @@ X92))) (let ((X96 - Int (ite X94 X95 X92))) (let ((X97 - Int (ite X82 X96 X92))) (let ((X98 - Int (ite (not (= X93 4)) @@ -5522,27 +5070,23 @@ X93))) (let ((X99 - Int (ite X94 X98 X93))) (let ((X100 - Int (ite X82 X99 X84))) (let ((X101 - Bool (or X82 X81))) (let ((X102 - Bool (and (= X100 @@ -5556,7 +5100,6 @@ 0))))) (let ((X103 - Int (ite (= X100 @@ -5565,14 +5108,12 @@ X100))) (let ((X104 - Int (ite X102 X103 X100))) (let ((X105 - Int (ite (not (= @@ -5582,14 +5123,12 @@ X104))) (let ((X106 - Int (ite X102 X105 X104))) (let ((X107 - Bool (and (= X106 @@ -5606,7 +5145,6 @@ X102))))) (let ((X108 - Int (ite (= X106 @@ -5615,14 +5153,12 @@ X106))) (let ((X109 - Int (ite X107 X108 X106))) (let ((X110 - Int (ite (not (= @@ -5632,20 +5168,17 @@ X109))) (let ((X111 - Int (ite X107 X110 X109))) (let ((X112 - Bool (or X107 X102))) (let ((X113 - Bool (and (= X111 @@ -5662,7 +5195,6 @@ X112))))) (let ((X114 - Int (ite (= X111 @@ -5671,14 +5203,12 @@ X111))) (let ((X115 - Int (ite X113 X114 X111))) (let ((X116 - Int (ite (not (= @@ -5688,20 +5218,17 @@ X115))) (let ((X117 - Int (ite X113 X116 X115))) (let ((X118 - Bool (or X113 X112))) (let ((X119 - Bool (and (= X117 @@ -5719,7 +5246,6 @@ X118))))) (let ((X120 - Int (ite (= X117 @@ -5728,14 +5254,12 @@ X117))) (let ((X121 - Int (ite X119 X120 X117))) (let ((X122 - Int (ite (not (= @@ -5745,20 +5269,17 @@ X121))) (let ((X123 - Int (ite X119 X122 X121))) (let ((X124 - Bool (or X119 X118))) (let ((X125 - Bool (and (= X123 @@ -5776,7 +5297,6 @@ X124))))) (let ((X126 - Int (ite (= X123 @@ -5785,14 +5305,12 @@ X123))) (let ((X127 - Int (ite X125 X126 X123))) (let ((X128 - Int (ite (not (= @@ -5802,14 +5320,12 @@ X97))) (let ((X129 - Int (ite X102 X128 X97))) (let ((X130 - Int (ite (not (= @@ -5819,14 +5335,12 @@ X129))) (let ((X131 - Int (ite X107 X130 X129))) (let ((X132 - Int (ite (not (= @@ -5836,14 +5350,12 @@ X131))) (let ((X133 - Int (ite X113 X132 X131))) (let ((X134 - Int (ite (not (= @@ -5853,14 +5365,12 @@ X133))) (let ((X135 - Int (ite X119 X134 X133))) (let ((X136 - Int (ite (not (= @@ -5870,14 +5380,12 @@ X135))) (let ((X137 - Int (ite X125 X136 X135))) (let ((X138 - Int (ite (and (not @@ -5893,7 +5401,6 @@ X97))) (let ((X139 - Int (ite (and (not X52) @@ -5921,39 +5428,34 @@ X19)) (let ((X140 - Bool (= top.impl.usr.mode! 3))) (let ((X141 - Real (ite X140 X1 0.0))) (let ((X142 - Bool (= top.impl.usr.mode! 4))) (let ((X143 - Real (ite X142 X1 X141))) (let ((X144 - Bool (= top.impl.usr.mode! 5))) (let ((X145 - Bool X144)) + X144)) (and (= top.impl.usr.zz4! @@ -5976,24 +5478,22 @@ top.impl.usr.zz3! (- X1 - (/ 1 20)) + (/ 1.0 20.0)) top.impl.usr.zz5))) (let ((X146 - Real (ite X145 top.impl.usr.zz5! X143))) (let ((X147 - Bool (= top.impl.usr.mode! 6))) (let ((X148 - Bool X147)) + X147)) (and (= top.impl.usr.zz1! @@ -6016,28 +5516,25 @@ top.impl.usr.zz0! (+ X1 - (/ 1 20)) + (/ 1.0 20.0)) top.impl.usr.zz2))) (let ((X149 - Real (ite X148 top.impl.usr.zz2! X146))) (let ((X150 - Bool top.impl.usr.zz162)) + top.impl.usr.zz162)) (let ((X151 - Bool (ite (= X20 4) false X150))) (let ((X152 - Bool (ite (and (>= @@ -6050,7 +5547,6 @@ X150))) (let ((X153 - Bool (ite (and (>= @@ -6063,21 +5559,18 @@ X150))) (let ((X154 - Bool (ite X22 X153 X150))) (let ((X155 - Bool (ite (= X51 4) false X154))) (let ((X156 - Bool (ite (and (>= @@ -6090,28 +5583,24 @@ X154))) (let ((X157 - Bool (ite X53 X156 X154))) (let ((X158 - Bool (ite X64 true X157))) (let ((X159 - Bool (ite X82 true X158))) (let ((X160 - Int (ite (not (= @@ -6121,20 +5610,17 @@ X127))) (let ((X161 - Int (ite X125 X160 X127))) (let ((X162 - Bool (or X125 X124))) (let ((X163 - Bool (ite (= X100 @@ -6143,21 +5629,18 @@ X159))) (let ((X164 - Bool (ite X102 X163 X159))) (let ((X165 - Bool (ite X102 true X164))) (let ((X166 - Bool (ite (= X106 @@ -6166,14 +5649,12 @@ X165))) (let ((X167 - Bool (ite X107 X166 X165))) (let ((X168 - Bool (ite (= X111 @@ -6182,14 +5663,12 @@ X167))) (let ((X169 - Bool (ite X113 X168 X167))) (let ((X170 - Bool (ite (and (not @@ -6201,7 +5680,6 @@ X169))) (let ((X171 - Bool (ite (and (not @@ -6217,7 +5695,6 @@ X159))) (let ((X172 - Bool (ite (and (not X52) @@ -6242,7 +5719,6 @@ X150)) (let ((X173 - Real (ite top.impl.usr.zz162! top.usr.carSpeed! @@ -6263,19 +5739,16 @@ X173))) (let ((X174 - Real (- top.impl.usr.desiredSpeed! top.usr.carSpeed!))) (let ((X175 - Real (* X174 1.0))) (let ((X176 - Real (ite (< X175 @@ -6289,22 +5762,19 @@ X175)))) (let ((X177 - Real (/ X176 20.0))) (let ((X178 - Real top.impl.usr.cruiseThrottle)) + top.impl.usr.cruiseThrottle)) (let ((X179 - Real (+ X177 X178))) (let ((X180 - Real (ite (< X179 @@ -6318,7 +5788,6 @@ X179)))) (let ((X181 - Bool (or (or X142 @@ -6333,7 +5802,6 @@ 0.0)) (let ((X182 - Bool (= top.impl.usr.cruiseThrottle! 0.0))) @@ -6346,7 +5814,6 @@ X182)) (let ((X183 - Int (ite (not (= X20 1)) @@ -6354,7 +5821,6 @@ X20))) (let ((X184 - Int (ite (and (not @@ -6370,7 +5836,6 @@ X100))) (let ((X185 - Int (ite (and (not X52) @@ -6385,7 +5850,6 @@ X51))) (let ((X186 - Int (ite top.impl.usr.SP3c! (ite diff --git a/lib-nonconforming/Inv_Track/andrew_lustre/cruise_controller_01.lus.sl b/lib/Inv_Track/andrew_lustre/cruise_controller_01.lus.sl similarity index 87% rename from lib-nonconforming/Inv_Track/andrew_lustre/cruise_controller_01.lus.sl rename to lib/Inv_Track/andrew_lustre/cruise_controller_01.lus.sl index 27bbe329..c8d69980 100644 --- a/lib-nonconforming/Inv_Track/andrew_lustre/cruise_controller_01.lus.sl +++ b/lib/Inv_Track/andrew_lustre/cruise_controller_01.lus.sl @@ -20,10 +20,10 @@ ) Bool (let - ((X1 Bool false)) + ((X1 false)) (let ((X2 - Bool (and + (and (and (and (and (not top.usr.cancel_a_0) (not top.usr.brakePedal_a_0)) @@ -31,58 +31,58 @@ (ite (>= top.usr.carSpeed_a_0 15.0) true false)) top.usr.validInputs_a_0))) (let - ((X3 Bool false)) + ((X3 false)) (let - ((X4 Int 0)) + ((X4 0)) (let - ((X5 Int (ite (not top.usr.onOff_a_0) 0 1))) + ((X5 (ite (not top.usr.onOff_a_0) 0 1))) (let ((X6 - Bool (and + (and (and (>= X4 2) (<= X4 8)) (not (ite (not (= X5 0)) true false))))) (let - ((X7 Int (ite X6 (ite (and (>= X4 2) (<= X4 8)) 0 X4) X4))) + ((X7 (ite X6 (ite (and (>= X4 2) (<= X4 8)) 0 X4) X4))) (let - ((X8 Int (ite X6 (ite (not (= X7 1)) 1 X7) X7))) + ((X8 (ite X6 (ite (not (= X7 1)) 1 X7) X7))) (let ((X9 - Bool (and + (and (= X8 1) (and (ite (not (= X5 0)) true false) (not X6))))) (let - ((X10 Int (ite X9 (ite (= X8 1) 0 X8) X8))) + ((X10 (ite X9 (ite (= X8 1) 0 X8) X8))) (let - ((X11 Int (ite (not (and (>= X10 2) (<= X10 8))) 2 X10))) + ((X11 (ite (not (and (>= X10 2) (<= X10 8))) 2 X10))) (let ((X12 - Bool (and + (and (not (and (>= X10 2) (<= X10 8))) (and (>= X11 2) (<= X11 8))))) (let - ((X13 Int (ite X12 (ite (not (= X11 7)) 7 X11) X11))) + ((X13 (ite X12 (ite (not (= X11 7)) 7 X11) X11))) (let - ((X14 Int (ite X9 X13 X10))) + ((X14 (ite X9 X13 X10))) (let - ((X15 Int (ite (not X2) 0 1))) + ((X15 (ite (not X2) 0 1))) (let ((X16 - Bool (and + (and (and (>= X14 3) (<= X14 6)) (not (ite (not (= X15 0)) true false))))) (let ((X17 - Int (ite + (ite X16 (ite (and (>= X14 3) (<= X14 6)) 2 X14) X14))) (let - ((X18 Int (ite X16 (ite (not (= X17 8)) 8 X17) X17))) + ((X18 (ite X16 (ite (not (= X17 8)) 8 X17) X17))) (let - ((X19 Int (ite (not X1) 0 1))) + ((X19 (ite (not X1) 0 1))) (let ((X20 - Bool (and + (and (= X18 8) (and (and @@ -96,25 +96,25 @@ false)) (not X16))))) (let - ((X21 Int (ite X20 (ite (= X18 8) 2 X18) X18))) + ((X21 (ite X20 (ite (= X18 8) 2 X18) X18))) (let ((X22 - Int (ite (not (and (>= X21 3) (<= X21 6))) 3 X21))) + (ite (not (and (>= X21 3) (<= X21 6))) 3 X21))) (let ((X23 - Bool (and + (and (not (and (>= X21 3) (<= X21 6))) (and (>= X22 3) (<= X22 6))))) (let ((X24 - Int (ite X23 (ite (not (= X22 4)) 4 X22) X22))) + (ite X23 (ite (not (= X22 4)) 4 X22) X22))) (let - ((X25 Int (ite X20 X24 X21))) + ((X25 (ite X20 X24 X21))) (let - ((X26 Bool (or X20 X16))) + ((X26 (or X20 X16))) (let ((X27 - Bool (and + (and (= X25 8) (and (and @@ -134,31 +134,31 @@ false)) (not X26))))) (let - ((X28 Int (ite X27 (ite (= X25 8) 2 X25) X25))) + ((X28 (ite X27 (ite (= X25 8) 2 X25) X25))) (let ((X29 - Int (ite + (ite (not (and (>= X28 3) (<= X28 6))) 3 X28))) (let ((X30 - Bool (and + (and (not (and (>= X28 3) (<= X28 6))) (and (>= X29 3) (<= X29 6))))) (let ((X31 - Int (ite + (ite X30 (ite (not (= X29 4)) 4 X29) X29))) (let - ((X32 Int (ite X27 X31 X28))) + ((X32 (ite X27 X31 X28))) (let - ((X33 Bool (or X27 X26))) + ((X33 (or X27 X26))) (let ((X34 - Bool (and + (and (= X32 7) (and (and @@ -179,32 +179,32 @@ (not X33))))) (let ((X35 - Int (ite + (ite X34 (ite (= X32 7) 2 X32) X32))) (let ((X36 - Int (ite + (ite (not (and (>= X35 3) (<= X35 6))) 3 X35))) (let ((X37 - Bool (and + (and (not (and (>= X35 3) (<= X35 6))) (and (>= X36 3) (<= X36 6))))) (let ((X38 - Int (ite + (ite X37 (ite (not (= X36 4)) 4 X36) X36))) (let ((X39 - Bool (or + (or (= X38 4) (or (= X38 5) (= X38 6))))) (and @@ -253,27 +253,27 @@ true) (let ((X40 - Int (ite (not (= X4 1)) 1 X4))) + (ite (not (= X4 1)) 1 X4))) (let - ((X41 Bool (or X9 X6))) + ((X41 (or X9 X6))) (let - ((X42 Int (ite X34 X38 X35))) + ((X42 (ite X34 X38 X35))) (let - ((X43 Bool (or X34 X33))) + ((X43 (or X34 X33))) (let ((X44 - Bool (and + (and (= X42 4) (= X19 1)))) (let ((X45 - Int (ite + (ite X44 (ite (= X42 4) 3 X42) X42))) (let ((X46 - Int (ite + (ite X44 (ite (not (= X45 4)) @@ -282,7 +282,7 @@ X45))) (let ((X47 - Int (ite + (ite (not (ite (= @@ -294,14 +294,14 @@ 1))) (let ((X48 - Bool (and + (and (= X46 4) (and (= X47 1) (not X44))))) (let ((X49 - Int (ite + (ite X48 (ite (= X46 4) @@ -310,7 +310,7 @@ X46))) (let ((X50 - Int (ite + (ite X48 (ite (not (= X49 5)) @@ -319,10 +319,10 @@ X49))) (let ((X51 - Bool (or X48 X44))) + (or X48 X44))) (let ((X52 - Int (ite + (ite (not (ite (= @@ -334,14 +334,14 @@ 1))) (let ((X53 - Bool (and + (and (= X50 4) (and (= X52 1) (not X51))))) (let ((X54 - Int (ite + (ite X53 (ite (= X50 4) @@ -350,7 +350,7 @@ X50))) (let ((X55 - Int (ite + (ite X53 (ite (not @@ -360,19 +360,19 @@ X54))) (let ((X56 - Bool (or + (or X53 X51))) (let ((X57 - Bool (and + (and (= X55 6) (and (= X52 0) (not X56))))) (let ((X58 - Int (ite + (ite X57 (ite (= X55 6) @@ -381,7 +381,7 @@ X55))) (let ((X59 - Int (ite + (ite X57 (ite (not @@ -391,13 +391,11 @@ X58))) (let ((X60 - Bool (or X57 X56))) (let ((X61 - Bool (and (= X59 5) (and @@ -405,7 +403,6 @@ (not X60))))) (let ((X62 - Int (ite X61 (ite @@ -415,7 +412,6 @@ X59))) (let ((X63 - Int (ite X61 (ite @@ -517,10 +513,10 @@ ) Bool (let - ((X1 Bool (and (not top.usr.decelSet_a_0) top.usr.decelSet_a_1))) + ((X1 (and (not top.usr.decelSet_a_0) top.usr.decelSet_a_1))) (let ((X2 - Bool (and + (and (and (and (and (not top.usr.cancel_a_1) (not top.usr.brakePedal_a_1)) @@ -528,59 +524,59 @@ (ite (>= top.usr.carSpeed_a_1 15.0) true false)) top.usr.validInputs_a_1))) (let - ((X3 Bool (and (not top.usr.accelResume_a_0) top.usr.accelResume_a_1))) + ((X3 (and (not top.usr.accelResume_a_0) top.usr.accelResume_a_1))) (let ((X4 - Int top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_final_state_states___root_a_0)) + top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_final_state_states___root_a_0)) (let - ((X5 Int (ite (not top.usr.onOff_a_1) 0 1))) + ((X5 (ite (not top.usr.onOff_a_1) 0 1))) (let ((X6 - Bool (and + (and (and (>= X4 2) (<= X4 8)) (not (ite (not (= X5 0)) true false))))) (let - ((X7 Int (ite X6 (ite (and (>= X4 2) (<= X4 8)) 0 X4) X4))) + ((X7 (ite X6 (ite (and (>= X4 2) (<= X4 8)) 0 X4) X4))) (let - ((X8 Int (ite X6 (ite (not (= X7 1)) 1 X7) X7))) + ((X8 (ite X6 (ite (not (= X7 1)) 1 X7) X7))) (let ((X9 - Bool (and + (and (= X8 1) (and (ite (not (= X5 0)) true false) (not X6))))) (let - ((X10 Int (ite X9 (ite (= X8 1) 0 X8) X8))) + ((X10 (ite X9 (ite (= X8 1) 0 X8) X8))) (let - ((X11 Int (ite (not (and (>= X10 2) (<= X10 8))) 2 X10))) + ((X11 (ite (not (and (>= X10 2) (<= X10 8))) 2 X10))) (let ((X12 - Bool (and + (and (not (and (>= X10 2) (<= X10 8))) (and (>= X11 2) (<= X11 8))))) (let - ((X13 Int (ite X12 (ite (not (= X11 7)) 7 X11) X11))) + ((X13 (ite X12 (ite (not (= X11 7)) 7 X11) X11))) (let - ((X14 Int (ite X9 X13 X10))) + ((X14 (ite X9 X13 X10))) (let - ((X15 Int (ite (not X2) 0 1))) + ((X15 (ite (not X2) 0 1))) (let ((X16 - Bool (and + (and (and (>= X14 3) (<= X14 6)) (not (ite (not (= X15 0)) true false))))) (let ((X17 - Int (ite + (ite X16 (ite (and (>= X14 3) (<= X14 6)) 2 X14) X14))) (let - ((X18 Int (ite X16 (ite (not (= X17 8)) 8 X17) X17))) + ((X18 (ite X16 (ite (not (= X17 8)) 8 X17) X17))) (let - ((X19 Int (ite (not X1) 0 1))) + ((X19 (ite (not X1) 0 1))) (let ((X20 - Bool (and + (and (= X18 8) (and (and @@ -594,25 +590,25 @@ false)) (not X16))))) (let - ((X21 Int (ite X20 (ite (= X18 8) 2 X18) X18))) + ((X21 (ite X20 (ite (= X18 8) 2 X18) X18))) (let ((X22 - Int (ite (not (and (>= X21 3) (<= X21 6))) 3 X21))) + (ite (not (and (>= X21 3) (<= X21 6))) 3 X21))) (let ((X23 - Bool (and + (and (not (and (>= X21 3) (<= X21 6))) (and (>= X22 3) (<= X22 6))))) (let ((X24 - Int (ite X23 (ite (not (= X22 4)) 4 X22) X22))) + (ite X23 (ite (not (= X22 4)) 4 X22) X22))) (let - ((X25 Int (ite X20 X24 X21))) + ((X25 (ite X20 X24 X21))) (let - ((X26 Bool (or X20 X16))) + ((X26 (or X20 X16))) (let ((X27 - Bool (and + (and (= X25 8) (and (and @@ -632,31 +628,31 @@ false)) (not X26))))) (let - ((X28 Int (ite X27 (ite (= X25 8) 2 X25) X25))) + ((X28 (ite X27 (ite (= X25 8) 2 X25) X25))) (let ((X29 - Int (ite + (ite (not (and (>= X28 3) (<= X28 6))) 3 X28))) (let ((X30 - Bool (and + (and (not (and (>= X28 3) (<= X28 6))) (and (>= X29 3) (<= X29 6))))) (let ((X31 - Int (ite + (ite X30 (ite (not (= X29 4)) 4 X29) X29))) (let - ((X32 Int (ite X27 X31 X28))) + ((X32 (ite X27 X31 X28))) (let - ((X33 Bool (or X27 X26))) + ((X33 (or X27 X26))) (let ((X34 - Bool (and + (and (= X32 7) (and (and @@ -677,32 +673,32 @@ (not X33))))) (let ((X35 - Int (ite + (ite X34 (ite (= X32 7) 2 X32) X32))) (let ((X36 - Int (ite + (ite (not (and (>= X35 3) (<= X35 6))) 3 X35))) (let ((X37 - Bool (and + (and (not (and (>= X35 3) (<= X35 6))) (and (>= X36 3) (<= X36 6))))) (let ((X38 - Int (ite + (ite X37 (ite (not (= X36 4)) 4 X36) X36))) (let ((X39 - Bool (or + (or (= X38 4) (or (= X38 5) (= X38 6))))) (and @@ -791,27 +787,27 @@ top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep_a_0)) (let ((X40 - Int (ite (not (= X4 1)) 1 X4))) + (ite (not (= X4 1)) 1 X4))) (let - ((X41 Bool (or X9 X6))) + ((X41 (or X9 X6))) (let - ((X42 Int (ite X34 X38 X35))) + ((X42 (ite X34 X38 X35))) (let - ((X43 Bool (or X34 X33))) + ((X43 (or X34 X33))) (let ((X44 - Bool (and + (and (= X42 4) (= X19 1)))) (let ((X45 - Int (ite + (ite X44 (ite (= X42 4) 3 X42) X42))) (let ((X46 - Int (ite + (ite X44 (ite (not (= X45 4)) @@ -820,7 +816,7 @@ X45))) (let ((X47 - Int (ite + (ite (not (ite (= @@ -832,14 +828,14 @@ 1))) (let ((X48 - Bool (and + (and (= X46 4) (and (= X47 1) (not X44))))) (let ((X49 - Int (ite + (ite X48 (ite (= X46 4) @@ -848,7 +844,7 @@ X46))) (let ((X50 - Int (ite + (ite X48 (ite (not (= X49 5)) @@ -857,10 +853,10 @@ X49))) (let ((X51 - Bool (or X48 X44))) + (or X48 X44))) (let ((X52 - Int (ite + (ite (not (ite (= @@ -872,14 +868,14 @@ 1))) (let ((X53 - Bool (and + (and (= X50 4) (and (= X52 1) (not X51))))) (let ((X54 - Int (ite + (ite X53 (ite (= X50 4) @@ -888,7 +884,7 @@ X50))) (let ((X55 - Int (ite + (ite X53 (ite (not @@ -898,19 +894,19 @@ X54))) (let ((X56 - Bool (or + (or X53 X51))) (let ((X57 - Bool (and + (and (= X55 6) (and (= X52 0) (not X56))))) (let ((X58 - Int (ite + (ite X57 (ite (= X55 6) @@ -919,7 +915,7 @@ X55))) (let ((X59 - Int (ite + (ite X57 (ite (not @@ -929,13 +925,11 @@ X58))) (let ((X60 - Bool (or X57 X56))) (let ((X61 - Bool (and (= X59 5) (and @@ -943,7 +937,6 @@ (not X60))))) (let ((X62 - Int (ite X61 (ite @@ -953,7 +946,6 @@ X59))) (let ((X63 - Int (ite X61 (ite @@ -1042,22 +1034,6 @@ )) -(declare-primed-var top.usr.onOff Bool) -(declare-primed-var top.usr.decelSet Bool) -(declare-primed-var top.usr.accelResume Bool) -(declare-primed-var top.usr.cancel Bool) -(declare-primed-var top.usr.brakePedal Bool) -(declare-primed-var top.usr.carGear Int) -(declare-primed-var top.usr.carSpeed Real) -(declare-primed-var top.usr.validInputs Bool) -(declare-primed-var top.usr.OK Bool) -(declare-primed-var top.res.init_flag Bool) -(declare-primed-var top.impl.usr.chart_CruiseController_ModeLogic_mode_logic____wakeup___ Bool) -(declare-primed-var top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep Bool) -(declare-primed-var top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_final_state_states___root Int) -(declare-primed-var top.impl.usr.cruise_controller_CruiseController_ModeLogic_DelayOnsetAccel_Bounded_Count_Out Int) -(declare-primed-var top.impl.usr.cruise_controller_CruiseController_ModeLogic_DelayOnsetDecel_Bounded_Count_Out Int) - (define-fun init ( (top.usr.onOff Bool) @@ -1078,10 +1054,10 @@ ) Bool (let - ((X1 Bool false)) + ((X1 false)) (let ((X2 - Bool (and + (and (and (and (and (not top.usr.cancel) (not top.usr.brakePedal)) @@ -1089,58 +1065,58 @@ (ite (>= top.usr.carSpeed 15.0) true false)) top.usr.validInputs))) (let - ((X3 Bool false)) + ((X3 false)) (let - ((X4 Int 0)) + ((X4 0)) (let - ((X5 Int (ite (not top.usr.onOff) 0 1))) + ((X5 (ite (not top.usr.onOff) 0 1))) (let ((X6 - Bool (and + (and (and (>= X4 2) (<= X4 8)) (not (ite (not (= X5 0)) true false))))) (let - ((X7 Int (ite X6 (ite (and (>= X4 2) (<= X4 8)) 0 X4) X4))) + ((X7 (ite X6 (ite (and (>= X4 2) (<= X4 8)) 0 X4) X4))) (let - ((X8 Int (ite X6 (ite (not (= X7 1)) 1 X7) X7))) + ((X8 (ite X6 (ite (not (= X7 1)) 1 X7) X7))) (let ((X9 - Bool (and + (and (= X8 1) (and (ite (not (= X5 0)) true false) (not X6))))) (let - ((X10 Int (ite X9 (ite (= X8 1) 0 X8) X8))) + ((X10 (ite X9 (ite (= X8 1) 0 X8) X8))) (let - ((X11 Int (ite (not (and (>= X10 2) (<= X10 8))) 2 X10))) + ((X11 (ite (not (and (>= X10 2) (<= X10 8))) 2 X10))) (let ((X12 - Bool (and + (and (not (and (>= X10 2) (<= X10 8))) (and (>= X11 2) (<= X11 8))))) (let - ((X13 Int (ite X12 (ite (not (= X11 7)) 7 X11) X11))) + ((X13 (ite X12 (ite (not (= X11 7)) 7 X11) X11))) (let - ((X14 Int (ite X9 X13 X10))) + ((X14 (ite X9 X13 X10))) (let - ((X15 Int (ite (not X2) 0 1))) + ((X15 (ite (not X2) 0 1))) (let ((X16 - Bool (and + (and (and (>= X14 3) (<= X14 6)) (not (ite (not (= X15 0)) true false))))) (let ((X17 - Int (ite + (ite X16 (ite (and (>= X14 3) (<= X14 6)) 2 X14) X14))) (let - ((X18 Int (ite X16 (ite (not (= X17 8)) 8 X17) X17))) + ((X18 (ite X16 (ite (not (= X17 8)) 8 X17) X17))) (let - ((X19 Int (ite (not X1) 0 1))) + ((X19 (ite (not X1) 0 1))) (let ((X20 - Bool (and + (and (= X18 8) (and (and @@ -1154,25 +1130,25 @@ false)) (not X16))))) (let - ((X21 Int (ite X20 (ite (= X18 8) 2 X18) X18))) + ((X21 (ite X20 (ite (= X18 8) 2 X18) X18))) (let ((X22 - Int (ite (not (and (>= X21 3) (<= X21 6))) 3 X21))) + (ite (not (and (>= X21 3) (<= X21 6))) 3 X21))) (let ((X23 - Bool (and + (and (not (and (>= X21 3) (<= X21 6))) (and (>= X22 3) (<= X22 6))))) (let ((X24 - Int (ite X23 (ite (not (= X22 4)) 4 X22) X22))) + (ite X23 (ite (not (= X22 4)) 4 X22) X22))) (let - ((X25 Int (ite X20 X24 X21))) + ((X25 (ite X20 X24 X21))) (let - ((X26 Bool (or X20 X16))) + ((X26 (or X20 X16))) (let ((X27 - Bool (and + (and (= X25 8) (and (and @@ -1192,31 +1168,31 @@ false)) (not X26))))) (let - ((X28 Int (ite X27 (ite (= X25 8) 2 X25) X25))) + ((X28 (ite X27 (ite (= X25 8) 2 X25) X25))) (let ((X29 - Int (ite + (ite (not (and (>= X28 3) (<= X28 6))) 3 X28))) (let ((X30 - Bool (and + (and (not (and (>= X28 3) (<= X28 6))) (and (>= X29 3) (<= X29 6))))) (let ((X31 - Int (ite + (ite X30 (ite (not (= X29 4)) 4 X29) X29))) (let - ((X32 Int (ite X27 X31 X28))) + ((X32 (ite X27 X31 X28))) (let - ((X33 Bool (or X27 X26))) + ((X33 (or X27 X26))) (let ((X34 - Bool (and + (and (= X32 7) (and (and @@ -1237,32 +1213,32 @@ (not X33))))) (let ((X35 - Int (ite + (ite X34 (ite (= X32 7) 2 X32) X32))) (let ((X36 - Int (ite + (ite (not (and (>= X35 3) (<= X35 6))) 3 X35))) (let ((X37 - Bool (and + (and (not (and (>= X35 3) (<= X35 6))) (and (>= X36 3) (<= X36 6))))) (let ((X38 - Int (ite + (ite X37 (ite (not (= X36 4)) 4 X36) X36))) (let ((X39 - Bool (or + (or (= X38 4) (or (= X38 5) (= X38 6))))) (and @@ -1308,27 +1284,27 @@ true) (let ((X40 - Int (ite (not (= X4 1)) 1 X4))) + (ite (not (= X4 1)) 1 X4))) (let - ((X41 Bool (or X9 X6))) + ((X41 (or X9 X6))) (let - ((X42 Int (ite X34 X38 X35))) + ((X42 (ite X34 X38 X35))) (let - ((X43 Bool (or X34 X33))) + ((X43 (or X34 X33))) (let ((X44 - Bool (and + (and (= X42 4) (= X19 1)))) (let ((X45 - Int (ite + (ite X44 (ite (= X42 4) 3 X42) X42))) (let ((X46 - Int (ite + (ite X44 (ite (not (= X45 4)) @@ -1337,7 +1313,7 @@ X45))) (let ((X47 - Int (ite + (ite (not (ite (= @@ -1349,14 +1325,14 @@ 1))) (let ((X48 - Bool (and + (and (= X46 4) (and (= X47 1) (not X44))))) (let ((X49 - Int (ite + (ite X48 (ite (= X46 4) @@ -1365,7 +1341,7 @@ X46))) (let ((X50 - Int (ite + (ite X48 (ite (not (= X49 5)) @@ -1374,10 +1350,10 @@ X49))) (let ((X51 - Bool (or X48 X44))) + (or X48 X44))) (let ((X52 - Int (ite + (ite (not (ite (= @@ -1389,14 +1365,14 @@ 1))) (let ((X53 - Bool (and + (and (= X50 4) (and (= X52 1) (not X51))))) (let ((X54 - Int (ite + (ite X53 (ite (= X50 4) @@ -1405,7 +1381,7 @@ X50))) (let ((X55 - Int (ite + (ite X53 (ite (not @@ -1415,19 +1391,19 @@ X54))) (let ((X56 - Bool (or + (or X53 X51))) (let ((X57 - Bool (and + (and (= X55 6) (and (= X52 0) (not X56))))) (let ((X58 - Int (ite + (ite X57 (ite (= X55 6) @@ -1436,7 +1412,7 @@ X55))) (let ((X59 - Int (ite + (ite X57 (ite (not @@ -1446,13 +1422,11 @@ X58))) (let ((X60 - Bool (or X57 X56))) (let ((X61 - Bool (and (= X59 5) (and @@ -1460,7 +1434,6 @@ (not X60))))) (let ((X62 - Int (ite X61 (ite @@ -1470,7 +1443,6 @@ X59))) (let ((X63 - Int (ite X61 (ite @@ -1577,10 +1549,10 @@ ) Bool (let - ((X1 Bool (and (not top.usr.decelSet) top.usr.decelSet!))) + ((X1 (and (not top.usr.decelSet) top.usr.decelSet!))) (let ((X2 - Bool (and + (and (and (and (and (not top.usr.cancel!) (not top.usr.brakePedal!)) @@ -1588,59 +1560,59 @@ (ite (>= top.usr.carSpeed! 15.0) true false)) top.usr.validInputs!))) (let - ((X3 Bool (and (not top.usr.accelResume) top.usr.accelResume!))) + ((X3 (and (not top.usr.accelResume) top.usr.accelResume!))) (let ((X4 - Int top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_final_state_states___root)) + top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_final_state_states___root)) (let - ((X5 Int (ite (not top.usr.onOff!) 0 1))) + ((X5 (ite (not top.usr.onOff!) 0 1))) (let ((X6 - Bool (and + (and (and (>= X4 2) (<= X4 8)) (not (ite (not (= X5 0)) true false))))) (let - ((X7 Int (ite X6 (ite (and (>= X4 2) (<= X4 8)) 0 X4) X4))) + ((X7 (ite X6 (ite (and (>= X4 2) (<= X4 8)) 0 X4) X4))) (let - ((X8 Int (ite X6 (ite (not (= X7 1)) 1 X7) X7))) + ((X8 (ite X6 (ite (not (= X7 1)) 1 X7) X7))) (let ((X9 - Bool (and + (and (= X8 1) (and (ite (not (= X5 0)) true false) (not X6))))) (let - ((X10 Int (ite X9 (ite (= X8 1) 0 X8) X8))) + ((X10 (ite X9 (ite (= X8 1) 0 X8) X8))) (let - ((X11 Int (ite (not (and (>= X10 2) (<= X10 8))) 2 X10))) + ((X11 (ite (not (and (>= X10 2) (<= X10 8))) 2 X10))) (let ((X12 - Bool (and + (and (not (and (>= X10 2) (<= X10 8))) (and (>= X11 2) (<= X11 8))))) (let - ((X13 Int (ite X12 (ite (not (= X11 7)) 7 X11) X11))) + ((X13 (ite X12 (ite (not (= X11 7)) 7 X11) X11))) (let - ((X14 Int (ite X9 X13 X10))) + ((X14 (ite X9 X13 X10))) (let - ((X15 Int (ite (not X2) 0 1))) + ((X15 (ite (not X2) 0 1))) (let ((X16 - Bool (and + (and (and (>= X14 3) (<= X14 6)) (not (ite (not (= X15 0)) true false))))) (let ((X17 - Int (ite + (ite X16 (ite (and (>= X14 3) (<= X14 6)) 2 X14) X14))) (let - ((X18 Int (ite X16 (ite (not (= X17 8)) 8 X17) X17))) + ((X18 (ite X16 (ite (not (= X17 8)) 8 X17) X17))) (let - ((X19 Int (ite (not X1) 0 1))) + ((X19 (ite (not X1) 0 1))) (let ((X20 - Bool (and + (and (= X18 8) (and (and @@ -1654,25 +1626,25 @@ false)) (not X16))))) (let - ((X21 Int (ite X20 (ite (= X18 8) 2 X18) X18))) + ((X21 (ite X20 (ite (= X18 8) 2 X18) X18))) (let ((X22 - Int (ite (not (and (>= X21 3) (<= X21 6))) 3 X21))) + (ite (not (and (>= X21 3) (<= X21 6))) 3 X21))) (let ((X23 - Bool (and + (and (not (and (>= X21 3) (<= X21 6))) (and (>= X22 3) (<= X22 6))))) (let ((X24 - Int (ite X23 (ite (not (= X22 4)) 4 X22) X22))) + (ite X23 (ite (not (= X22 4)) 4 X22) X22))) (let - ((X25 Int (ite X20 X24 X21))) + ((X25 (ite X20 X24 X21))) (let - ((X26 Bool (or X20 X16))) + ((X26 (or X20 X16))) (let ((X27 - Bool (and + (and (= X25 8) (and (and @@ -1692,31 +1664,31 @@ false)) (not X26))))) (let - ((X28 Int (ite X27 (ite (= X25 8) 2 X25) X25))) + ((X28 (ite X27 (ite (= X25 8) 2 X25) X25))) (let ((X29 - Int (ite + (ite (not (and (>= X28 3) (<= X28 6))) 3 X28))) (let ((X30 - Bool (and + (and (not (and (>= X28 3) (<= X28 6))) (and (>= X29 3) (<= X29 6))))) (let ((X31 - Int (ite + (ite X30 (ite (not (= X29 4)) 4 X29) X29))) (let - ((X32 Int (ite X27 X31 X28))) + ((X32 (ite X27 X31 X28))) (let - ((X33 Bool (or X27 X26))) + ((X33 (or X27 X26))) (let ((X34 - Bool (and + (and (= X32 7) (and (and @@ -1737,32 +1709,32 @@ (not X33))))) (let ((X35 - Int (ite + (ite X34 (ite (= X32 7) 2 X32) X32))) (let ((X36 - Int (ite + (ite (not (and (>= X35 3) (<= X35 6))) 3 X35))) (let ((X37 - Bool (and + (and (not (and (>= X35 3) (<= X35 6))) (and (>= X36 3) (<= X36 6))))) (let ((X38 - Int (ite + (ite X37 (ite (not (= X36 4)) 4 X36) X36))) (let ((X39 - Bool (or + (or (= X38 4) (or (= X38 5) (= X38 6))))) (and @@ -1851,27 +1823,27 @@ top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep)) (let ((X40 - Int (ite (not (= X4 1)) 1 X4))) + (ite (not (= X4 1)) 1 X4))) (let - ((X41 Bool (or X9 X6))) + ((X41 (or X9 X6))) (let - ((X42 Int (ite X34 X38 X35))) + ((X42 (ite X34 X38 X35))) (let - ((X43 Bool (or X34 X33))) + ((X43 (or X34 X33))) (let ((X44 - Bool (and + (and (= X42 4) (= X19 1)))) (let ((X45 - Int (ite + (ite X44 (ite (= X42 4) 3 X42) X42))) (let ((X46 - Int (ite + (ite X44 (ite (not (= X45 4)) @@ -1880,7 +1852,7 @@ X45))) (let ((X47 - Int (ite + (ite (not (ite (= @@ -1892,14 +1864,14 @@ 1))) (let ((X48 - Bool (and + (and (= X46 4) (and (= X47 1) (not X44))))) (let ((X49 - Int (ite + (ite X48 (ite (= X46 4) @@ -1908,7 +1880,7 @@ X46))) (let ((X50 - Int (ite + (ite X48 (ite (not (= X49 5)) @@ -1917,10 +1889,10 @@ X49))) (let ((X51 - Bool (or X48 X44))) + (or X48 X44))) (let ((X52 - Int (ite + (ite (not (ite (= @@ -1932,14 +1904,14 @@ 1))) (let ((X53 - Bool (and + (and (= X50 4) (and (= X52 1) (not X51))))) (let ((X54 - Int (ite + (ite X53 (ite (= X50 4) @@ -1948,7 +1920,7 @@ X50))) (let ((X55 - Int (ite + (ite X53 (ite (not @@ -1958,19 +1930,19 @@ X54))) (let ((X56 - Bool (or + (or X53 X51))) (let ((X57 - Bool (and + (and (= X55 6) (and (= X52 0) (not X56))))) (let ((X58 - Int (ite + (ite X57 (ite (= X55 6) @@ -1979,7 +1951,7 @@ X55))) (let ((X59 - Int (ite + (ite X57 (ite (not @@ -1989,13 +1961,11 @@ X58))) (let ((X60 - Bool (or X57 X56))) (let ((X61 - Bool (and (= X59 5) (and @@ -2003,7 +1973,6 @@ (not X60))))) (let ((X62 - Int (ite X61 (ite @@ -2013,7 +1982,6 @@ X59))) (let ((X63 - Int (ite X61 (ite diff --git a/lib-nonconforming/Inv_Track/andrew_lustre/cruise_controller_02.lus.sl b/lib/Inv_Track/andrew_lustre/cruise_controller_02.lus.sl similarity index 87% rename from lib-nonconforming/Inv_Track/andrew_lustre/cruise_controller_02.lus.sl rename to lib/Inv_Track/andrew_lustre/cruise_controller_02.lus.sl index da046ad3..8c60a045 100644 --- a/lib-nonconforming/Inv_Track/andrew_lustre/cruise_controller_02.lus.sl +++ b/lib/Inv_Track/andrew_lustre/cruise_controller_02.lus.sl @@ -20,10 +20,10 @@ ) Bool (let - ((X1 Bool false)) + ((X1 false)) (let ((X2 - Bool (and + (and (and (and (and (not top.usr.cancel_a_0) (not top.usr.brakePedal_a_0)) @@ -31,58 +31,58 @@ (ite (>= top.usr.carSpeed_a_0 15.0) true false)) top.usr.validInputs_a_0))) (let - ((X3 Bool false)) + ((X3 false)) (let - ((X4 Int 0)) + ((X4 0)) (let - ((X5 Int (ite (not top.usr.onOff_a_0) 0 1))) + ((X5 (ite (not top.usr.onOff_a_0) 0 1))) (let ((X6 - Bool (and + (and (and (>= X4 2) (<= X4 8)) (not (ite (not (= X5 0)) true false))))) (let - ((X7 Int (ite X6 (ite (and (>= X4 2) (<= X4 8)) 0 X4) X4))) + ((X7 (ite X6 (ite (and (>= X4 2) (<= X4 8)) 0 X4) X4))) (let - ((X8 Int (ite X6 (ite (not (= X7 1)) 1 X7) X7))) + ((X8 (ite X6 (ite (not (= X7 1)) 1 X7) X7))) (let ((X9 - Bool (and + (and (= X8 1) (and (ite (not (= X5 0)) true false) (not X6))))) (let - ((X10 Int (ite X9 (ite (= X8 1) 0 X8) X8))) + ((X10 (ite X9 (ite (= X8 1) 0 X8) X8))) (let - ((X11 Int (ite (not (and (>= X10 2) (<= X10 8))) 2 X10))) + ((X11 (ite (not (and (>= X10 2) (<= X10 8))) 2 X10))) (let ((X12 - Bool (and + (and (not (and (>= X10 2) (<= X10 8))) (and (>= X11 2) (<= X11 8))))) (let - ((X13 Int (ite X12 (ite (not (= X11 7)) 7 X11) X11))) + ((X13 (ite X12 (ite (not (= X11 7)) 7 X11) X11))) (let - ((X14 Int (ite X9 X13 X10))) + ((X14 (ite X9 X13 X10))) (let - ((X15 Int (ite (not X2) 0 1))) + ((X15 (ite (not X2) 0 1))) (let ((X16 - Bool (and + (and (and (>= X14 3) (<= X14 6)) (not (ite (not (= X15 0)) true false))))) (let ((X17 - Int (ite + (ite X16 (ite (and (>= X14 3) (<= X14 6)) 2 X14) X14))) (let - ((X18 Int (ite X16 (ite (not (= X17 8)) 8 X17) X17))) + ((X18 (ite X16 (ite (not (= X17 8)) 8 X17) X17))) (let - ((X19 Int (ite (not X1) 0 1))) + ((X19 (ite (not X1) 0 1))) (let ((X20 - Bool (and + (and (= X18 8) (and (and @@ -96,25 +96,25 @@ false)) (not X16))))) (let - ((X21 Int (ite X20 (ite (= X18 8) 2 X18) X18))) + ((X21 (ite X20 (ite (= X18 8) 2 X18) X18))) (let ((X22 - Int (ite (not (and (>= X21 3) (<= X21 6))) 3 X21))) + (ite (not (and (>= X21 3) (<= X21 6))) 3 X21))) (let ((X23 - Bool (and + (and (not (and (>= X21 3) (<= X21 6))) (and (>= X22 3) (<= X22 6))))) (let ((X24 - Int (ite X23 (ite (not (= X22 4)) 4 X22) X22))) + (ite X23 (ite (not (= X22 4)) 4 X22) X22))) (let - ((X25 Int (ite X20 X24 X21))) + ((X25 (ite X20 X24 X21))) (let - ((X26 Bool (or X20 X16))) + ((X26 (or X20 X16))) (let ((X27 - Bool (and + (and (= X25 8) (and (and @@ -134,27 +134,27 @@ false)) (not X26))))) (let - ((X28 Int (ite X27 (ite (= X25 8) 2 X25) X25))) + ((X28 (ite X27 (ite (= X25 8) 2 X25) X25))) (let ((X29 - Int (ite + (ite (not (and (>= X28 3) (<= X28 6))) 3 X28))) (let ((X30 - Bool (and + (and (not (and (>= X28 3) (<= X28 6))) (and (>= X29 3) (<= X29 6))))) (let ((X31 - Int (ite + (ite X30 (ite (not (= X29 4)) 4 X29) X29))) (let ((X32 - Bool (or + (or (= X31 4) (or (= X31 5) (= X31 6))))) (and @@ -191,16 +191,16 @@ top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep_a_0 true) (let - ((X33 Int (ite (not (= X4 1)) 1 X4))) + ((X33 (ite (not (= X4 1)) 1 X4))) (let - ((X34 Bool (or X9 X6))) + ((X34 (or X9 X6))) (let - ((X35 Int (ite X27 X31 X28))) + ((X35 (ite X27 X31 X28))) (let - ((X36 Bool (or X27 X26))) + ((X36 (or X27 X26))) (let ((X37 - Bool (and + (and (= X35 7) (and (and @@ -227,20 +227,20 @@ (not X36))))) (let ((X38 - Int (ite + (ite X37 (ite (= X35 7) 2 X35) X35))) (let ((X39 - Int (ite + (ite (not (and (>= X38 3) (<= X38 6))) 3 X38))) (let ((X40 - Bool (and + (and (not (and (>= X38 3) @@ -250,7 +250,7 @@ (<= X39 6))))) (let ((X41 - Int (ite + (ite X40 (ite (not (= X39 4)) @@ -258,23 +258,23 @@ X39) X39))) (let - ((X42 Int (ite X37 X41 X38))) + ((X42 (ite X37 X41 X38))) (let - ((X43 Bool (or X37 X36))) + ((X43 (or X37 X36))) (let ((X44 - Bool (and + (and (= X42 4) (= X19 1)))) (let ((X45 - Int (ite + (ite X44 (ite (= X42 4) 3 X42) X42))) (let ((X46 - Int (ite + (ite X44 (ite (not (= X45 4)) @@ -283,7 +283,7 @@ X45))) (let ((X47 - Int (ite + (ite (not (ite (= @@ -295,14 +295,14 @@ 1))) (let ((X48 - Bool (and + (and (= X46 4) (and (= X47 1) (not X44))))) (let ((X49 - Int (ite + (ite X48 (ite (= X46 4) @@ -311,7 +311,7 @@ X46))) (let ((X50 - Int (ite + (ite X48 (ite (not (= X49 5)) @@ -320,10 +320,10 @@ X49))) (let ((X51 - Bool (or X48 X44))) + (or X48 X44))) (let ((X52 - Int (ite + (ite (not (ite (= @@ -335,14 +335,14 @@ 1))) (let ((X53 - Bool (and + (and (= X50 4) (and (= X52 1) (not X51))))) (let ((X54 - Int (ite + (ite X53 (ite (= X50 4) @@ -351,7 +351,7 @@ X50))) (let ((X55 - Int (ite + (ite X53 (ite (not @@ -361,19 +361,19 @@ X54))) (let ((X56 - Bool (or + (or X53 X51))) (let ((X57 - Bool (and + (and (= X55 6) (and (= X52 0) (not X56))))) (let ((X58 - Int (ite + (ite X57 (ite (= X55 6) @@ -382,7 +382,7 @@ X55))) (let ((X59 - Int (ite + (ite X57 (ite (not @@ -392,13 +392,11 @@ X58))) (let ((X60 - Bool (or X57 X56))) (let ((X61 - Bool (and (= X59 5) (and @@ -406,7 +404,6 @@ (not X60))))) (let ((X62 - Int (ite X61 (ite @@ -416,7 +413,6 @@ X59))) (let ((X63 - Int (ite X61 (ite @@ -518,10 +514,10 @@ ) Bool (let - ((X1 Bool (and (not top.usr.decelSet_a_0) top.usr.decelSet_a_1))) + ((X1 (and (not top.usr.decelSet_a_0) top.usr.decelSet_a_1))) (let ((X2 - Bool (and + (and (and (and (and (not top.usr.cancel_a_1) (not top.usr.brakePedal_a_1)) @@ -529,59 +525,59 @@ (ite (>= top.usr.carSpeed_a_1 15.0) true false)) top.usr.validInputs_a_1))) (let - ((X3 Bool (and (not top.usr.accelResume_a_0) top.usr.accelResume_a_1))) + ((X3 (and (not top.usr.accelResume_a_0) top.usr.accelResume_a_1))) (let ((X4 - Int top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_final_state_states___root_a_0)) + top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_final_state_states___root_a_0)) (let - ((X5 Int (ite (not top.usr.onOff_a_1) 0 1))) + ((X5 (ite (not top.usr.onOff_a_1) 0 1))) (let ((X6 - Bool (and + (and (and (>= X4 2) (<= X4 8)) (not (ite (not (= X5 0)) true false))))) (let - ((X7 Int (ite X6 (ite (and (>= X4 2) (<= X4 8)) 0 X4) X4))) + ((X7 (ite X6 (ite (and (>= X4 2) (<= X4 8)) 0 X4) X4))) (let - ((X8 Int (ite X6 (ite (not (= X7 1)) 1 X7) X7))) + ((X8 (ite X6 (ite (not (= X7 1)) 1 X7) X7))) (let ((X9 - Bool (and + (and (= X8 1) (and (ite (not (= X5 0)) true false) (not X6))))) (let - ((X10 Int (ite X9 (ite (= X8 1) 0 X8) X8))) + ((X10 (ite X9 (ite (= X8 1) 0 X8) X8))) (let - ((X11 Int (ite (not (and (>= X10 2) (<= X10 8))) 2 X10))) + ((X11 (ite (not (and (>= X10 2) (<= X10 8))) 2 X10))) (let ((X12 - Bool (and + (and (not (and (>= X10 2) (<= X10 8))) (and (>= X11 2) (<= X11 8))))) (let - ((X13 Int (ite X12 (ite (not (= X11 7)) 7 X11) X11))) + ((X13 (ite X12 (ite (not (= X11 7)) 7 X11) X11))) (let - ((X14 Int (ite X9 X13 X10))) + ((X14 (ite X9 X13 X10))) (let - ((X15 Int (ite (not X2) 0 1))) + ((X15 (ite (not X2) 0 1))) (let ((X16 - Bool (and + (and (and (>= X14 3) (<= X14 6)) (not (ite (not (= X15 0)) true false))))) (let ((X17 - Int (ite + (ite X16 (ite (and (>= X14 3) (<= X14 6)) 2 X14) X14))) (let - ((X18 Int (ite X16 (ite (not (= X17 8)) 8 X17) X17))) + ((X18 (ite X16 (ite (not (= X17 8)) 8 X17) X17))) (let - ((X19 Int (ite (not X1) 0 1))) + ((X19 (ite (not X1) 0 1))) (let ((X20 - Bool (and + (and (= X18 8) (and (and @@ -595,25 +591,25 @@ false)) (not X16))))) (let - ((X21 Int (ite X20 (ite (= X18 8) 2 X18) X18))) + ((X21 (ite X20 (ite (= X18 8) 2 X18) X18))) (let ((X22 - Int (ite (not (and (>= X21 3) (<= X21 6))) 3 X21))) + (ite (not (and (>= X21 3) (<= X21 6))) 3 X21))) (let ((X23 - Bool (and + (and (not (and (>= X21 3) (<= X21 6))) (and (>= X22 3) (<= X22 6))))) (let ((X24 - Int (ite X23 (ite (not (= X22 4)) 4 X22) X22))) + (ite X23 (ite (not (= X22 4)) 4 X22) X22))) (let - ((X25 Int (ite X20 X24 X21))) + ((X25 (ite X20 X24 X21))) (let - ((X26 Bool (or X20 X16))) + ((X26 (or X20 X16))) (let ((X27 - Bool (and + (and (= X25 8) (and (and @@ -633,27 +629,27 @@ false)) (not X26))))) (let - ((X28 Int (ite X27 (ite (= X25 8) 2 X25) X25))) + ((X28 (ite X27 (ite (= X25 8) 2 X25) X25))) (let ((X29 - Int (ite + (ite (not (and (>= X28 3) (<= X28 6))) 3 X28))) (let ((X30 - Bool (and + (and (not (and (>= X28 3) (<= X28 6))) (and (>= X29 3) (<= X29 6))))) (let ((X31 - Int (ite + (ite X30 (ite (not (= X29 4)) 4 X29) X29))) (let ((X32 - Bool (or + (or (= X31 4) (or (= X31 5) (= X31 6))))) (and @@ -741,16 +737,16 @@ false top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep_a_0)) (let - ((X33 Int (ite (not (= X4 1)) 1 X4))) + ((X33 (ite (not (= X4 1)) 1 X4))) (let - ((X34 Bool (or X9 X6))) + ((X34 (or X9 X6))) (let - ((X35 Int (ite X27 X31 X28))) + ((X35 (ite X27 X31 X28))) (let - ((X36 Bool (or X27 X26))) + ((X36 (or X27 X26))) (let ((X37 - Bool (and + (and (= X35 7) (and (and @@ -777,20 +773,20 @@ (not X36))))) (let ((X38 - Int (ite + (ite X37 (ite (= X35 7) 2 X35) X35))) (let ((X39 - Int (ite + (ite (not (and (>= X38 3) (<= X38 6))) 3 X38))) (let ((X40 - Bool (and + (and (not (and (>= X38 3) @@ -800,7 +796,7 @@ (<= X39 6))))) (let ((X41 - Int (ite + (ite X40 (ite (not (= X39 4)) @@ -808,23 +804,23 @@ X39) X39))) (let - ((X42 Int (ite X37 X41 X38))) + ((X42 (ite X37 X41 X38))) (let - ((X43 Bool (or X37 X36))) + ((X43 (or X37 X36))) (let ((X44 - Bool (and + (and (= X42 4) (= X19 1)))) (let ((X45 - Int (ite + (ite X44 (ite (= X42 4) 3 X42) X42))) (let ((X46 - Int (ite + (ite X44 (ite (not (= X45 4)) @@ -833,7 +829,7 @@ X45))) (let ((X47 - Int (ite + (ite (not (ite (= @@ -845,14 +841,14 @@ 1))) (let ((X48 - Bool (and + (and (= X46 4) (and (= X47 1) (not X44))))) (let ((X49 - Int (ite + (ite X48 (ite (= X46 4) @@ -861,7 +857,7 @@ X46))) (let ((X50 - Int (ite + (ite X48 (ite (not (= X49 5)) @@ -870,10 +866,10 @@ X49))) (let ((X51 - Bool (or X48 X44))) + (or X48 X44))) (let ((X52 - Int (ite + (ite (not (ite (= @@ -885,14 +881,14 @@ 1))) (let ((X53 - Bool (and + (and (= X50 4) (and (= X52 1) (not X51))))) (let ((X54 - Int (ite + (ite X53 (ite (= X50 4) @@ -901,7 +897,7 @@ X50))) (let ((X55 - Int (ite + (ite X53 (ite (not @@ -911,19 +907,19 @@ X54))) (let ((X56 - Bool (or + (or X53 X51))) (let ((X57 - Bool (and + (and (= X55 6) (and (= X52 0) (not X56))))) (let ((X58 - Int (ite + (ite X57 (ite (= X55 6) @@ -932,7 +928,7 @@ X55))) (let ((X59 - Int (ite + (ite X57 (ite (not @@ -942,13 +938,11 @@ X58))) (let ((X60 - Bool (or X57 X56))) (let ((X61 - Bool (and (= X59 5) (and @@ -956,7 +950,6 @@ (not X60))))) (let ((X62 - Int (ite X61 (ite @@ -966,7 +959,6 @@ X59))) (let ((X63 - Int (ite X61 (ite @@ -1055,22 +1047,6 @@ )) -(declare-primed-var top.usr.onOff Bool) -(declare-primed-var top.usr.decelSet Bool) -(declare-primed-var top.usr.accelResume Bool) -(declare-primed-var top.usr.cancel Bool) -(declare-primed-var top.usr.brakePedal Bool) -(declare-primed-var top.usr.carGear Int) -(declare-primed-var top.usr.carSpeed Real) -(declare-primed-var top.usr.validInputs Bool) -(declare-primed-var top.usr.OK Bool) -(declare-primed-var top.res.init_flag Bool) -(declare-primed-var top.impl.usr.chart_CruiseController_ModeLogic_mode_logic____wakeup___ Bool) -(declare-primed-var top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep Bool) -(declare-primed-var top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_final_state_states___root Int) -(declare-primed-var top.impl.usr.cruise_controller_CruiseController_ModeLogic_DelayOnsetAccel_Bounded_Count_Out Int) -(declare-primed-var top.impl.usr.cruise_controller_CruiseController_ModeLogic_DelayOnsetDecel_Bounded_Count_Out Int) - (define-fun init ( (top.usr.onOff Bool) @@ -1091,10 +1067,10 @@ ) Bool (let - ((X1 Bool false)) + ((X1 false)) (let ((X2 - Bool (and + (and (and (and (and (not top.usr.cancel) (not top.usr.brakePedal)) @@ -1102,58 +1078,58 @@ (ite (>= top.usr.carSpeed 15.0) true false)) top.usr.validInputs))) (let - ((X3 Bool false)) + ((X3 false)) (let - ((X4 Int 0)) + ((X4 0)) (let - ((X5 Int (ite (not top.usr.onOff) 0 1))) + ((X5 (ite (not top.usr.onOff) 0 1))) (let ((X6 - Bool (and + (and (and (>= X4 2) (<= X4 8)) (not (ite (not (= X5 0)) true false))))) (let - ((X7 Int (ite X6 (ite (and (>= X4 2) (<= X4 8)) 0 X4) X4))) + ((X7 (ite X6 (ite (and (>= X4 2) (<= X4 8)) 0 X4) X4))) (let - ((X8 Int (ite X6 (ite (not (= X7 1)) 1 X7) X7))) + ((X8 (ite X6 (ite (not (= X7 1)) 1 X7) X7))) (let ((X9 - Bool (and + (and (= X8 1) (and (ite (not (= X5 0)) true false) (not X6))))) (let - ((X10 Int (ite X9 (ite (= X8 1) 0 X8) X8))) + ((X10 (ite X9 (ite (= X8 1) 0 X8) X8))) (let - ((X11 Int (ite (not (and (>= X10 2) (<= X10 8))) 2 X10))) + ((X11 (ite (not (and (>= X10 2) (<= X10 8))) 2 X10))) (let ((X12 - Bool (and + (and (not (and (>= X10 2) (<= X10 8))) (and (>= X11 2) (<= X11 8))))) (let - ((X13 Int (ite X12 (ite (not (= X11 7)) 7 X11) X11))) + ((X13 (ite X12 (ite (not (= X11 7)) 7 X11) X11))) (let - ((X14 Int (ite X9 X13 X10))) + ((X14 (ite X9 X13 X10))) (let - ((X15 Int (ite (not X2) 0 1))) + ((X15 (ite (not X2) 0 1))) (let ((X16 - Bool (and + (and (and (>= X14 3) (<= X14 6)) (not (ite (not (= X15 0)) true false))))) (let ((X17 - Int (ite + (ite X16 (ite (and (>= X14 3) (<= X14 6)) 2 X14) X14))) (let - ((X18 Int (ite X16 (ite (not (= X17 8)) 8 X17) X17))) + ((X18 (ite X16 (ite (not (= X17 8)) 8 X17) X17))) (let - ((X19 Int (ite (not X1) 0 1))) + ((X19 (ite (not X1) 0 1))) (let ((X20 - Bool (and + (and (= X18 8) (and (and @@ -1167,25 +1143,25 @@ false)) (not X16))))) (let - ((X21 Int (ite X20 (ite (= X18 8) 2 X18) X18))) + ((X21 (ite X20 (ite (= X18 8) 2 X18) X18))) (let ((X22 - Int (ite (not (and (>= X21 3) (<= X21 6))) 3 X21))) + (ite (not (and (>= X21 3) (<= X21 6))) 3 X21))) (let ((X23 - Bool (and + (and (not (and (>= X21 3) (<= X21 6))) (and (>= X22 3) (<= X22 6))))) (let ((X24 - Int (ite X23 (ite (not (= X22 4)) 4 X22) X22))) + (ite X23 (ite (not (= X22 4)) 4 X22) X22))) (let - ((X25 Int (ite X20 X24 X21))) + ((X25 (ite X20 X24 X21))) (let - ((X26 Bool (or X20 X16))) + ((X26 (or X20 X16))) (let ((X27 - Bool (and + (and (= X25 8) (and (and @@ -1205,27 +1181,27 @@ false)) (not X26))))) (let - ((X28 Int (ite X27 (ite (= X25 8) 2 X25) X25))) + ((X28 (ite X27 (ite (= X25 8) 2 X25) X25))) (let ((X29 - Int (ite + (ite (not (and (>= X28 3) (<= X28 6))) 3 X28))) (let ((X30 - Bool (and + (and (not (and (>= X28 3) (<= X28 6))) (and (>= X29 3) (<= X29 6))))) (let ((X31 - Int (ite + (ite X30 (ite (not (= X29 4)) 4 X29) X29))) (let ((X32 - Bool (or + (or (= X31 4) (or (= X31 5) (= X31 6))))) (and @@ -1262,16 +1238,16 @@ top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep true) (let - ((X33 Int (ite (not (= X4 1)) 1 X4))) + ((X33 (ite (not (= X4 1)) 1 X4))) (let - ((X34 Bool (or X9 X6))) + ((X34 (or X9 X6))) (let - ((X35 Int (ite X27 X31 X28))) + ((X35 (ite X27 X31 X28))) (let - ((X36 Bool (or X27 X26))) + ((X36 (or X27 X26))) (let ((X37 - Bool (and + (and (= X35 7) (and (and @@ -1298,20 +1274,20 @@ (not X36))))) (let ((X38 - Int (ite + (ite X37 (ite (= X35 7) 2 X35) X35))) (let ((X39 - Int (ite + (ite (not (and (>= X38 3) (<= X38 6))) 3 X38))) (let ((X40 - Bool (and + (and (not (and (>= X38 3) @@ -1321,7 +1297,7 @@ (<= X39 6))))) (let ((X41 - Int (ite + (ite X40 (ite (not (= X39 4)) @@ -1329,23 +1305,23 @@ X39) X39))) (let - ((X42 Int (ite X37 X41 X38))) + ((X42 (ite X37 X41 X38))) (let - ((X43 Bool (or X37 X36))) + ((X43 (or X37 X36))) (let ((X44 - Bool (and + (and (= X42 4) (= X19 1)))) (let ((X45 - Int (ite + (ite X44 (ite (= X42 4) 3 X42) X42))) (let ((X46 - Int (ite + (ite X44 (ite (not (= X45 4)) @@ -1354,7 +1330,7 @@ X45))) (let ((X47 - Int (ite + (ite (not (ite (= @@ -1366,14 +1342,14 @@ 1))) (let ((X48 - Bool (and + (and (= X46 4) (and (= X47 1) (not X44))))) (let ((X49 - Int (ite + (ite X48 (ite (= X46 4) @@ -1382,7 +1358,7 @@ X46))) (let ((X50 - Int (ite + (ite X48 (ite (not (= X49 5)) @@ -1391,10 +1367,10 @@ X49))) (let ((X51 - Bool (or X48 X44))) + (or X48 X44))) (let ((X52 - Int (ite + (ite (not (ite (= @@ -1406,14 +1382,14 @@ 1))) (let ((X53 - Bool (and + (and (= X50 4) (and (= X52 1) (not X51))))) (let ((X54 - Int (ite + (ite X53 (ite (= X50 4) @@ -1422,7 +1398,7 @@ X50))) (let ((X55 - Int (ite + (ite X53 (ite (not @@ -1432,19 +1408,19 @@ X54))) (let ((X56 - Bool (or + (or X53 X51))) (let ((X57 - Bool (and + (and (= X55 6) (and (= X52 0) (not X56))))) (let ((X58 - Int (ite + (ite X57 (ite (= X55 6) @@ -1453,7 +1429,7 @@ X55))) (let ((X59 - Int (ite + (ite X57 (ite (not @@ -1463,13 +1439,11 @@ X58))) (let ((X60 - Bool (or X57 X56))) (let ((X61 - Bool (and (= X59 5) (and @@ -1477,7 +1451,6 @@ (not X60))))) (let ((X62 - Int (ite X61 (ite @@ -1487,7 +1460,6 @@ X59))) (let ((X63 - Int (ite X61 (ite @@ -1594,10 +1566,10 @@ ) Bool (let - ((X1 Bool (and (not top.usr.decelSet) top.usr.decelSet!))) + ((X1 (and (not top.usr.decelSet) top.usr.decelSet!))) (let ((X2 - Bool (and + (and (and (and (and (not top.usr.cancel!) (not top.usr.brakePedal!)) @@ -1605,59 +1577,59 @@ (ite (>= top.usr.carSpeed! 15.0) true false)) top.usr.validInputs!))) (let - ((X3 Bool (and (not top.usr.accelResume) top.usr.accelResume!))) + ((X3 (and (not top.usr.accelResume) top.usr.accelResume!))) (let ((X4 - Int top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_final_state_states___root)) + top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_final_state_states___root)) (let - ((X5 Int (ite (not top.usr.onOff!) 0 1))) + ((X5 (ite (not top.usr.onOff!) 0 1))) (let ((X6 - Bool (and + (and (and (>= X4 2) (<= X4 8)) (not (ite (not (= X5 0)) true false))))) (let - ((X7 Int (ite X6 (ite (and (>= X4 2) (<= X4 8)) 0 X4) X4))) + ((X7 (ite X6 (ite (and (>= X4 2) (<= X4 8)) 0 X4) X4))) (let - ((X8 Int (ite X6 (ite (not (= X7 1)) 1 X7) X7))) + ((X8 (ite X6 (ite (not (= X7 1)) 1 X7) X7))) (let ((X9 - Bool (and + (and (= X8 1) (and (ite (not (= X5 0)) true false) (not X6))))) (let - ((X10 Int (ite X9 (ite (= X8 1) 0 X8) X8))) + ((X10 (ite X9 (ite (= X8 1) 0 X8) X8))) (let - ((X11 Int (ite (not (and (>= X10 2) (<= X10 8))) 2 X10))) + ((X11 (ite (not (and (>= X10 2) (<= X10 8))) 2 X10))) (let ((X12 - Bool (and + (and (not (and (>= X10 2) (<= X10 8))) (and (>= X11 2) (<= X11 8))))) (let - ((X13 Int (ite X12 (ite (not (= X11 7)) 7 X11) X11))) + ((X13 (ite X12 (ite (not (= X11 7)) 7 X11) X11))) (let - ((X14 Int (ite X9 X13 X10))) + ((X14 (ite X9 X13 X10))) (let - ((X15 Int (ite (not X2) 0 1))) + ((X15 (ite (not X2) 0 1))) (let ((X16 - Bool (and + (and (and (>= X14 3) (<= X14 6)) (not (ite (not (= X15 0)) true false))))) (let ((X17 - Int (ite + (ite X16 (ite (and (>= X14 3) (<= X14 6)) 2 X14) X14))) (let - ((X18 Int (ite X16 (ite (not (= X17 8)) 8 X17) X17))) + ((X18 (ite X16 (ite (not (= X17 8)) 8 X17) X17))) (let - ((X19 Int (ite (not X1) 0 1))) + ((X19 (ite (not X1) 0 1))) (let ((X20 - Bool (and + (and (= X18 8) (and (and @@ -1671,25 +1643,25 @@ false)) (not X16))))) (let - ((X21 Int (ite X20 (ite (= X18 8) 2 X18) X18))) + ((X21 (ite X20 (ite (= X18 8) 2 X18) X18))) (let ((X22 - Int (ite (not (and (>= X21 3) (<= X21 6))) 3 X21))) + (ite (not (and (>= X21 3) (<= X21 6))) 3 X21))) (let ((X23 - Bool (and + (and (not (and (>= X21 3) (<= X21 6))) (and (>= X22 3) (<= X22 6))))) (let ((X24 - Int (ite X23 (ite (not (= X22 4)) 4 X22) X22))) + (ite X23 (ite (not (= X22 4)) 4 X22) X22))) (let - ((X25 Int (ite X20 X24 X21))) + ((X25 (ite X20 X24 X21))) (let - ((X26 Bool (or X20 X16))) + ((X26 (or X20 X16))) (let ((X27 - Bool (and + (and (= X25 8) (and (and @@ -1709,27 +1681,27 @@ false)) (not X26))))) (let - ((X28 Int (ite X27 (ite (= X25 8) 2 X25) X25))) + ((X28 (ite X27 (ite (= X25 8) 2 X25) X25))) (let ((X29 - Int (ite + (ite (not (and (>= X28 3) (<= X28 6))) 3 X28))) (let ((X30 - Bool (and + (and (not (and (>= X28 3) (<= X28 6))) (and (>= X29 3) (<= X29 6))))) (let ((X31 - Int (ite + (ite X30 (ite (not (= X29 4)) 4 X29) X29))) (let ((X32 - Bool (or + (or (= X31 4) (or (= X31 5) (= X31 6))))) (and @@ -1817,16 +1789,16 @@ false top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep)) (let - ((X33 Int (ite (not (= X4 1)) 1 X4))) + ((X33 (ite (not (= X4 1)) 1 X4))) (let - ((X34 Bool (or X9 X6))) + ((X34 (or X9 X6))) (let - ((X35 Int (ite X27 X31 X28))) + ((X35 (ite X27 X31 X28))) (let - ((X36 Bool (or X27 X26))) + ((X36 (or X27 X26))) (let ((X37 - Bool (and + (and (= X35 7) (and (and @@ -1853,20 +1825,20 @@ (not X36))))) (let ((X38 - Int (ite + (ite X37 (ite (= X35 7) 2 X35) X35))) (let ((X39 - Int (ite + (ite (not (and (>= X38 3) (<= X38 6))) 3 X38))) (let ((X40 - Bool (and + (and (not (and (>= X38 3) @@ -1876,7 +1848,7 @@ (<= X39 6))))) (let ((X41 - Int (ite + (ite X40 (ite (not (= X39 4)) @@ -1884,23 +1856,23 @@ X39) X39))) (let - ((X42 Int (ite X37 X41 X38))) + ((X42 (ite X37 X41 X38))) (let - ((X43 Bool (or X37 X36))) + ((X43 (or X37 X36))) (let ((X44 - Bool (and + (and (= X42 4) (= X19 1)))) (let ((X45 - Int (ite + (ite X44 (ite (= X42 4) 3 X42) X42))) (let ((X46 - Int (ite + (ite X44 (ite (not (= X45 4)) @@ -1909,7 +1881,7 @@ X45))) (let ((X47 - Int (ite + (ite (not (ite (= @@ -1921,14 +1893,14 @@ 1))) (let ((X48 - Bool (and + (and (= X46 4) (and (= X47 1) (not X44))))) (let ((X49 - Int (ite + (ite X48 (ite (= X46 4) @@ -1937,7 +1909,7 @@ X46))) (let ((X50 - Int (ite + (ite X48 (ite (not (= X49 5)) @@ -1946,10 +1918,10 @@ X49))) (let ((X51 - Bool (or X48 X44))) + (or X48 X44))) (let ((X52 - Int (ite + (ite (not (ite (= @@ -1961,14 +1933,14 @@ 1))) (let ((X53 - Bool (and + (and (= X50 4) (and (= X52 1) (not X51))))) (let ((X54 - Int (ite + (ite X53 (ite (= X50 4) @@ -1977,7 +1949,7 @@ X50))) (let ((X55 - Int (ite + (ite X53 (ite (not @@ -1987,19 +1959,19 @@ X54))) (let ((X56 - Bool (or + (or X53 X51))) (let ((X57 - Bool (and + (and (= X55 6) (and (= X52 0) (not X56))))) (let ((X58 - Int (ite + (ite X57 (ite (= X55 6) @@ -2008,7 +1980,7 @@ X55))) (let ((X59 - Int (ite + (ite X57 (ite (not @@ -2018,13 +1990,11 @@ X58))) (let ((X60 - Bool (or X57 X56))) (let ((X61 - Bool (and (= X59 5) (and @@ -2032,7 +2002,6 @@ (not X60))))) (let ((X62 - Int (ite X61 (ite @@ -2042,7 +2011,6 @@ X59))) (let ((X63 - Int (ite X61 (ite diff --git a/lib-nonconforming/Inv_Track/andrew_lustre/cruise_controller_03.lus.sl b/lib/Inv_Track/andrew_lustre/cruise_controller_03.lus.sl similarity index 87% rename from lib-nonconforming/Inv_Track/andrew_lustre/cruise_controller_03.lus.sl rename to lib/Inv_Track/andrew_lustre/cruise_controller_03.lus.sl index 508b6188..98822b0f 100644 --- a/lib-nonconforming/Inv_Track/andrew_lustre/cruise_controller_03.lus.sl +++ b/lib/Inv_Track/andrew_lustre/cruise_controller_03.lus.sl @@ -20,10 +20,10 @@ ) Bool (let - ((X1 Bool false)) + ((X1 false)) (let ((X2 - Bool (and + (and (and (and (and (not top.usr.cancel_a_0) (not top.usr.brakePedal_a_0)) @@ -31,53 +31,53 @@ (ite (>= top.usr.carSpeed_a_0 15.0) true false)) top.usr.validInputs_a_0))) (let - ((X3 Int 0)) + ((X3 0)) (let - ((X4 Int (ite (not top.usr.onOff_a_0) 0 1))) + ((X4 (ite (not top.usr.onOff_a_0) 0 1))) (let ((X5 - Bool (and + (and (and (>= X3 2) (<= X3 8)) (not (ite (not (= X4 0)) true false))))) (let - ((X6 Int (ite X5 (ite (and (>= X3 2) (<= X3 8)) 0 X3) X3))) + ((X6 (ite X5 (ite (and (>= X3 2) (<= X3 8)) 0 X3) X3))) (let - ((X7 Int (ite X5 (ite (not (= X6 1)) 1 X6) X6))) + ((X7 (ite X5 (ite (not (= X6 1)) 1 X6) X6))) (let ((X8 - Bool (and + (and (= X7 1) (and (ite (not (= X4 0)) true false) (not X5))))) (let - ((X9 Int (ite X8 (ite (= X7 1) 0 X7) X7))) + ((X9 (ite X8 (ite (= X7 1) 0 X7) X7))) (let - ((X10 Int (ite (not (and (>= X9 2) (<= X9 8))) 2 X9))) + ((X10 (ite (not (and (>= X9 2) (<= X9 8))) 2 X9))) (let ((X11 - Bool (and + (and (not (and (>= X9 2) (<= X9 8))) (and (>= X10 2) (<= X10 8))))) (let - ((X12 Int (ite X11 (ite (not (= X10 7)) 7 X10) X10))) + ((X12 (ite X11 (ite (not (= X10 7)) 7 X10) X10))) (let - ((X13 Int (ite X8 X12 X9))) + ((X13 (ite X8 X12 X9))) (let - ((X14 Int (ite (not X2) 0 1))) + ((X14 (ite (not X2) 0 1))) (let ((X15 - Bool (and + (and (and (>= X13 3) (<= X13 6)) (not (ite (not (= X14 0)) true false))))) (let ((X16 - Int (ite X15 (ite (and (>= X13 3) (<= X13 6)) 2 X13) X13))) + (ite X15 (ite (and (>= X13 3) (<= X13 6)) 2 X13) X13))) (let - ((X17 Int (ite X15 (ite (not (= X16 8)) 8 X16) X16))) + ((X17 (ite X15 (ite (not (= X16 8)) 8 X16) X16))) (let - ((X18 Int (ite (not X1) 0 1))) + ((X18 (ite (not X1) 0 1))) (let ((X19 - Bool (and + (and (= X17 8) (and (and @@ -91,23 +91,23 @@ false)) (not X15))))) (let - ((X20 Int (ite X19 (ite (= X17 8) 2 X17) X17))) + ((X20 (ite X19 (ite (= X17 8) 2 X17) X17))) (let ((X21 - Int (ite (not (and (>= X20 3) (<= X20 6))) 3 X20))) + (ite (not (and (>= X20 3) (<= X20 6))) 3 X20))) (let ((X22 - Bool (and + (and (not (and (>= X20 3) (<= X20 6))) (and (>= X21 3) (<= X21 6))))) (let - ((X23 Int (ite X22 (ite (not (= X21 4)) 4 X21) X21))) + ((X23 (ite X22 (ite (not (= X21 4)) 4 X21) X21))) (let - ((X24 Bool (or (= X23 4) (or (= X23 5) (= X23 6))))) + ((X24 (or (= X23 4) (or (= X23 5) (= X23 6))))) (and (= top.usr.OK_a_0 X24) (let - ((X25 Bool false)) + ((X25 false)) (and (= top.impl.usr.cruise_controller_CruiseController_ModeLogic_DelayOnsetDecel_Bounded_Count_Out_a_0 @@ -141,16 +141,16 @@ top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep_a_0 true) (let - ((X26 Int (ite (not (= X3 1)) 1 X3))) + ((X26 (ite (not (= X3 1)) 1 X3))) (let - ((X27 Bool (or X8 X5))) + ((X27 (or X8 X5))) (let - ((X28 Int (ite X19 X23 X20))) + ((X28 (ite X19 X23 X20))) (let - ((X29 Bool (or X19 X15))) + ((X29 (or X19 X15))) (let ((X30 - Bool (and + (and (= X28 8) (and (and @@ -173,32 +173,32 @@ (not X29))))) (let ((X31 - Int (ite X30 (ite (= X28 8) 2 X28) X28))) + (ite X30 (ite (= X28 8) 2 X28) X28))) (let ((X32 - Int (ite + (ite (not (and (>= X31 3) (<= X31 6))) 3 X31))) (let ((X33 - Bool (and + (and (not (and (>= X31 3) (<= X31 6))) (and (>= X32 3) (<= X32 6))))) (let ((X34 - Int (ite + (ite X33 (ite (not (= X32 4)) 4 X32) X32))) (let - ((X35 Int (ite X30 X34 X31))) + ((X35 (ite X30 X34 X31))) (let - ((X36 Bool (or X30 X29))) + ((X36 (or X30 X29))) (let ((X37 - Bool (and + (and (= X35 7) (and (and @@ -225,13 +225,13 @@ (not X36))))) (let ((X38 - Int (ite + (ite X37 (ite (= X35 7) 2 X35) X35))) (let ((X39 - Int (ite + (ite (not (and (>= X38 3) @@ -240,7 +240,7 @@ X38))) (let ((X40 - Bool (and + (and (not (and (>= X38 3) @@ -250,7 +250,7 @@ (<= X39 6))))) (let ((X41 - Int (ite + (ite X40 (ite (not (= X39 4)) @@ -258,23 +258,23 @@ X39) X39))) (let - ((X42 Int (ite X37 X41 X38))) + ((X42 (ite X37 X41 X38))) (let - ((X43 Bool (or X37 X36))) + ((X43 (or X37 X36))) (let ((X44 - Bool (and + (and (= X42 4) (= X18 1)))) (let ((X45 - Int (ite + (ite X44 (ite (= X42 4) 3 X42) X42))) (let ((X46 - Int (ite + (ite X44 (ite (not (= X45 4)) @@ -283,7 +283,7 @@ X45))) (let ((X47 - Int (ite + (ite (not (ite (= @@ -295,14 +295,14 @@ 1))) (let ((X48 - Bool (and + (and (= X46 4) (and (= X47 1) (not X44))))) (let ((X49 - Int (ite + (ite X48 (ite (= X46 4) @@ -311,7 +311,7 @@ X46))) (let ((X50 - Int (ite + (ite X48 (ite (not (= X49 5)) @@ -320,10 +320,10 @@ X49))) (let ((X51 - Bool (or X48 X44))) + (or X48 X44))) (let ((X52 - Int (ite + (ite (not (ite (= @@ -335,14 +335,14 @@ 1))) (let ((X53 - Bool (and + (and (= X50 4) (and (= X52 1) (not X51))))) (let ((X54 - Int (ite + (ite X53 (ite (= X50 4) @@ -351,7 +351,7 @@ X50))) (let ((X55 - Int (ite + (ite X53 (ite (not @@ -361,19 +361,19 @@ X54))) (let ((X56 - Bool (or + (or X53 X51))) (let ((X57 - Bool (and + (and (= X55 6) (and (= X52 0) (not X56))))) (let ((X58 - Int (ite + (ite X57 (ite (= X55 6) @@ -382,7 +382,6 @@ X55))) (let ((X59 - Int (ite X57 (ite @@ -393,13 +392,11 @@ X58))) (let ((X60 - Bool (or X57 X56))) (let ((X61 - Bool (and (= X59 5) (and @@ -407,7 +404,6 @@ (not X60))))) (let ((X62 - Int (ite X61 (ite @@ -417,7 +413,6 @@ X59))) (let ((X63 - Int (ite X61 (ite @@ -519,10 +514,10 @@ ) Bool (let - ((X1 Bool (and (not top.usr.decelSet_a_0) top.usr.decelSet_a_1))) + ((X1 (and (not top.usr.decelSet_a_0) top.usr.decelSet_a_1))) (let ((X2 - Bool (and + (and (and (and (and (not top.usr.cancel_a_1) (not top.usr.brakePedal_a_1)) @@ -531,53 +526,53 @@ top.usr.validInputs_a_1))) (let ((X3 - Int top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_final_state_states___root_a_0)) + top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_final_state_states___root_a_0)) (let - ((X4 Int (ite (not top.usr.onOff_a_1) 0 1))) + ((X4 (ite (not top.usr.onOff_a_1) 0 1))) (let ((X5 - Bool (and + (and (and (>= X3 2) (<= X3 8)) (not (ite (not (= X4 0)) true false))))) (let - ((X6 Int (ite X5 (ite (and (>= X3 2) (<= X3 8)) 0 X3) X3))) + ((X6 (ite X5 (ite (and (>= X3 2) (<= X3 8)) 0 X3) X3))) (let - ((X7 Int (ite X5 (ite (not (= X6 1)) 1 X6) X6))) + ((X7 (ite X5 (ite (not (= X6 1)) 1 X6) X6))) (let ((X8 - Bool (and + (and (= X7 1) (and (ite (not (= X4 0)) true false) (not X5))))) (let - ((X9 Int (ite X8 (ite (= X7 1) 0 X7) X7))) + ((X9 (ite X8 (ite (= X7 1) 0 X7) X7))) (let - ((X10 Int (ite (not (and (>= X9 2) (<= X9 8))) 2 X9))) + ((X10 (ite (not (and (>= X9 2) (<= X9 8))) 2 X9))) (let ((X11 - Bool (and + (and (not (and (>= X9 2) (<= X9 8))) (and (>= X10 2) (<= X10 8))))) (let - ((X12 Int (ite X11 (ite (not (= X10 7)) 7 X10) X10))) + ((X12 (ite X11 (ite (not (= X10 7)) 7 X10) X10))) (let - ((X13 Int (ite X8 X12 X9))) + ((X13 (ite X8 X12 X9))) (let - ((X14 Int (ite (not X2) 0 1))) + ((X14 (ite (not X2) 0 1))) (let ((X15 - Bool (and + (and (and (>= X13 3) (<= X13 6)) (not (ite (not (= X14 0)) true false))))) (let ((X16 - Int (ite X15 (ite (and (>= X13 3) (<= X13 6)) 2 X13) X13))) + (ite X15 (ite (and (>= X13 3) (<= X13 6)) 2 X13) X13))) (let - ((X17 Int (ite X15 (ite (not (= X16 8)) 8 X16) X16))) + ((X17 (ite X15 (ite (not (= X16 8)) 8 X16) X16))) (let - ((X18 Int (ite (not X1) 0 1))) + ((X18 (ite (not X1) 0 1))) (let ((X19 - Bool (and + (and (= X17 8) (and (and @@ -591,24 +586,24 @@ false)) (not X15))))) (let - ((X20 Int (ite X19 (ite (= X17 8) 2 X17) X17))) + ((X20 (ite X19 (ite (= X17 8) 2 X17) X17))) (let ((X21 - Int (ite (not (and (>= X20 3) (<= X20 6))) 3 X20))) + (ite (not (and (>= X20 3) (<= X20 6))) 3 X20))) (let ((X22 - Bool (and + (and (not (and (>= X20 3) (<= X20 6))) (and (>= X21 3) (<= X21 6))))) (let - ((X23 Int (ite X22 (ite (not (= X21 4)) 4 X21) X21))) + ((X23 (ite X22 (ite (not (= X21 4)) 4 X21) X21))) (let - ((X24 Bool (or (= X23 4) (or (= X23 5) (= X23 6))))) + ((X24 (or (= X23 4) (or (= X23 5) (= X23 6))))) (and (= top.usr.OK_a_1 X24) (let ((X25 - Bool (and + (and (not top.usr.accelResume_a_0) top.usr.accelResume_a_1))) (and @@ -695,16 +690,16 @@ false top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep_a_0)) (let - ((X26 Int (ite (not (= X3 1)) 1 X3))) + ((X26 (ite (not (= X3 1)) 1 X3))) (let - ((X27 Bool (or X8 X5))) + ((X27 (or X8 X5))) (let - ((X28 Int (ite X19 X23 X20))) + ((X28 (ite X19 X23 X20))) (let - ((X29 Bool (or X19 X15))) + ((X29 (or X19 X15))) (let ((X30 - Bool (and + (and (= X28 8) (and (and @@ -727,32 +722,32 @@ (not X29))))) (let ((X31 - Int (ite X30 (ite (= X28 8) 2 X28) X28))) + (ite X30 (ite (= X28 8) 2 X28) X28))) (let ((X32 - Int (ite + (ite (not (and (>= X31 3) (<= X31 6))) 3 X31))) (let ((X33 - Bool (and + (and (not (and (>= X31 3) (<= X31 6))) (and (>= X32 3) (<= X32 6))))) (let ((X34 - Int (ite + (ite X33 (ite (not (= X32 4)) 4 X32) X32))) (let - ((X35 Int (ite X30 X34 X31))) + ((X35 (ite X30 X34 X31))) (let - ((X36 Bool (or X30 X29))) + ((X36 (or X30 X29))) (let ((X37 - Bool (and + (and (= X35 7) (and (and @@ -779,13 +774,13 @@ (not X36))))) (let ((X38 - Int (ite + (ite X37 (ite (= X35 7) 2 X35) X35))) (let ((X39 - Int (ite + (ite (not (and (>= X38 3) @@ -794,7 +789,7 @@ X38))) (let ((X40 - Bool (and + (and (not (and (>= X38 3) @@ -804,7 +799,7 @@ (<= X39 6))))) (let ((X41 - Int (ite + (ite X40 (ite (not (= X39 4)) @@ -812,23 +807,23 @@ X39) X39))) (let - ((X42 Int (ite X37 X41 X38))) + ((X42 (ite X37 X41 X38))) (let - ((X43 Bool (or X37 X36))) + ((X43 (or X37 X36))) (let ((X44 - Bool (and + (and (= X42 4) (= X18 1)))) (let ((X45 - Int (ite + (ite X44 (ite (= X42 4) 3 X42) X42))) (let ((X46 - Int (ite + (ite X44 (ite (not (= X45 4)) @@ -837,7 +832,7 @@ X45))) (let ((X47 - Int (ite + (ite (not (ite (= @@ -849,14 +844,14 @@ 1))) (let ((X48 - Bool (and + (and (= X46 4) (and (= X47 1) (not X44))))) (let ((X49 - Int (ite + (ite X48 (ite (= X46 4) @@ -865,7 +860,7 @@ X46))) (let ((X50 - Int (ite + (ite X48 (ite (not (= X49 5)) @@ -874,10 +869,10 @@ X49))) (let ((X51 - Bool (or X48 X44))) + (or X48 X44))) (let ((X52 - Int (ite + (ite (not (ite (= @@ -889,14 +884,14 @@ 1))) (let ((X53 - Bool (and + (and (= X50 4) (and (= X52 1) (not X51))))) (let ((X54 - Int (ite + (ite X53 (ite (= X50 4) @@ -905,7 +900,7 @@ X50))) (let ((X55 - Int (ite + (ite X53 (ite (not @@ -915,19 +910,19 @@ X54))) (let ((X56 - Bool (or + (or X53 X51))) (let ((X57 - Bool (and + (and (= X55 6) (and (= X52 0) (not X56))))) (let ((X58 - Int (ite + (ite X57 (ite (= X55 6) @@ -936,7 +931,6 @@ X55))) (let ((X59 - Int (ite X57 (ite @@ -947,13 +941,11 @@ X58))) (let ((X60 - Bool (or X57 X56))) (let ((X61 - Bool (and (= X59 5) (and @@ -961,7 +953,6 @@ (not X60))))) (let ((X62 - Int (ite X61 (ite @@ -971,7 +962,6 @@ X59))) (let ((X63 - Int (ite X61 (ite @@ -1060,22 +1050,6 @@ )) -(declare-primed-var top.usr.onOff Bool) -(declare-primed-var top.usr.decelSet Bool) -(declare-primed-var top.usr.accelResume Bool) -(declare-primed-var top.usr.cancel Bool) -(declare-primed-var top.usr.brakePedal Bool) -(declare-primed-var top.usr.carGear Int) -(declare-primed-var top.usr.carSpeed Real) -(declare-primed-var top.usr.validInputs Bool) -(declare-primed-var top.usr.OK Bool) -(declare-primed-var top.res.init_flag Bool) -(declare-primed-var top.impl.usr.chart_CruiseController_ModeLogic_mode_logic____wakeup___ Bool) -(declare-primed-var top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep Bool) -(declare-primed-var top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_final_state_states___root Int) -(declare-primed-var top.impl.usr.cruise_controller_CruiseController_ModeLogic_DelayOnsetAccel_Bounded_Count_Out Int) -(declare-primed-var top.impl.usr.cruise_controller_CruiseController_ModeLogic_DelayOnsetDecel_Bounded_Count_Out Int) - (define-fun init ( (top.usr.onOff Bool) @@ -1096,10 +1070,10 @@ ) Bool (let - ((X1 Bool false)) + ((X1 false)) (let ((X2 - Bool (and + (and (and (and (and (not top.usr.cancel) (not top.usr.brakePedal)) @@ -1107,53 +1081,53 @@ (ite (>= top.usr.carSpeed 15.0) true false)) top.usr.validInputs))) (let - ((X3 Int 0)) + ((X3 0)) (let - ((X4 Int (ite (not top.usr.onOff) 0 1))) + ((X4 (ite (not top.usr.onOff) 0 1))) (let ((X5 - Bool (and + (and (and (>= X3 2) (<= X3 8)) (not (ite (not (= X4 0)) true false))))) (let - ((X6 Int (ite X5 (ite (and (>= X3 2) (<= X3 8)) 0 X3) X3))) + ((X6 (ite X5 (ite (and (>= X3 2) (<= X3 8)) 0 X3) X3))) (let - ((X7 Int (ite X5 (ite (not (= X6 1)) 1 X6) X6))) + ((X7 (ite X5 (ite (not (= X6 1)) 1 X6) X6))) (let ((X8 - Bool (and + (and (= X7 1) (and (ite (not (= X4 0)) true false) (not X5))))) (let - ((X9 Int (ite X8 (ite (= X7 1) 0 X7) X7))) + ((X9 (ite X8 (ite (= X7 1) 0 X7) X7))) (let - ((X10 Int (ite (not (and (>= X9 2) (<= X9 8))) 2 X9))) + ((X10 (ite (not (and (>= X9 2) (<= X9 8))) 2 X9))) (let ((X11 - Bool (and + (and (not (and (>= X9 2) (<= X9 8))) (and (>= X10 2) (<= X10 8))))) (let - ((X12 Int (ite X11 (ite (not (= X10 7)) 7 X10) X10))) + ((X12 (ite X11 (ite (not (= X10 7)) 7 X10) X10))) (let - ((X13 Int (ite X8 X12 X9))) + ((X13 (ite X8 X12 X9))) (let - ((X14 Int (ite (not X2) 0 1))) + ((X14 (ite (not X2) 0 1))) (let ((X15 - Bool (and + (and (and (>= X13 3) (<= X13 6)) (not (ite (not (= X14 0)) true false))))) (let ((X16 - Int (ite X15 (ite (and (>= X13 3) (<= X13 6)) 2 X13) X13))) + (ite X15 (ite (and (>= X13 3) (<= X13 6)) 2 X13) X13))) (let - ((X17 Int (ite X15 (ite (not (= X16 8)) 8 X16) X16))) + ((X17 (ite X15 (ite (not (= X16 8)) 8 X16) X16))) (let - ((X18 Int (ite (not X1) 0 1))) + ((X18 (ite (not X1) 0 1))) (let ((X19 - Bool (and + (and (= X17 8) (and (and @@ -1167,23 +1141,23 @@ false)) (not X15))))) (let - ((X20 Int (ite X19 (ite (= X17 8) 2 X17) X17))) + ((X20 (ite X19 (ite (= X17 8) 2 X17) X17))) (let ((X21 - Int (ite (not (and (>= X20 3) (<= X20 6))) 3 X20))) + (ite (not (and (>= X20 3) (<= X20 6))) 3 X20))) (let ((X22 - Bool (and + (and (not (and (>= X20 3) (<= X20 6))) (and (>= X21 3) (<= X21 6))))) (let - ((X23 Int (ite X22 (ite (not (= X21 4)) 4 X21) X21))) + ((X23 (ite X22 (ite (not (= X21 4)) 4 X21) X21))) (let - ((X24 Bool (or (= X23 4) (or (= X23 5) (= X23 6))))) + ((X24 (or (= X23 4) (or (= X23 5) (= X23 6))))) (and (= top.usr.OK X24) (let - ((X25 Bool false)) + ((X25 false)) (and (= top.impl.usr.cruise_controller_CruiseController_ModeLogic_DelayOnsetDecel_Bounded_Count_Out @@ -1217,16 +1191,16 @@ top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep true) (let - ((X26 Int (ite (not (= X3 1)) 1 X3))) + ((X26 (ite (not (= X3 1)) 1 X3))) (let - ((X27 Bool (or X8 X5))) + ((X27 (or X8 X5))) (let - ((X28 Int (ite X19 X23 X20))) + ((X28 (ite X19 X23 X20))) (let - ((X29 Bool (or X19 X15))) + ((X29 (or X19 X15))) (let ((X30 - Bool (and + (and (= X28 8) (and (and @@ -1249,32 +1223,32 @@ (not X29))))) (let ((X31 - Int (ite X30 (ite (= X28 8) 2 X28) X28))) + (ite X30 (ite (= X28 8) 2 X28) X28))) (let ((X32 - Int (ite + (ite (not (and (>= X31 3) (<= X31 6))) 3 X31))) (let ((X33 - Bool (and + (and (not (and (>= X31 3) (<= X31 6))) (and (>= X32 3) (<= X32 6))))) (let ((X34 - Int (ite + (ite X33 (ite (not (= X32 4)) 4 X32) X32))) (let - ((X35 Int (ite X30 X34 X31))) + ((X35 (ite X30 X34 X31))) (let - ((X36 Bool (or X30 X29))) + ((X36 (or X30 X29))) (let ((X37 - Bool (and + (and (= X35 7) (and (and @@ -1301,13 +1275,13 @@ (not X36))))) (let ((X38 - Int (ite + (ite X37 (ite (= X35 7) 2 X35) X35))) (let ((X39 - Int (ite + (ite (not (and (>= X38 3) @@ -1316,7 +1290,7 @@ X38))) (let ((X40 - Bool (and + (and (not (and (>= X38 3) @@ -1326,7 +1300,7 @@ (<= X39 6))))) (let ((X41 - Int (ite + (ite X40 (ite (not (= X39 4)) @@ -1334,23 +1308,23 @@ X39) X39))) (let - ((X42 Int (ite X37 X41 X38))) + ((X42 (ite X37 X41 X38))) (let - ((X43 Bool (or X37 X36))) + ((X43 (or X37 X36))) (let ((X44 - Bool (and + (and (= X42 4) (= X18 1)))) (let ((X45 - Int (ite + (ite X44 (ite (= X42 4) 3 X42) X42))) (let ((X46 - Int (ite + (ite X44 (ite (not (= X45 4)) @@ -1359,7 +1333,7 @@ X45))) (let ((X47 - Int (ite + (ite (not (ite (= @@ -1371,14 +1345,14 @@ 1))) (let ((X48 - Bool (and + (and (= X46 4) (and (= X47 1) (not X44))))) (let ((X49 - Int (ite + (ite X48 (ite (= X46 4) @@ -1387,7 +1361,7 @@ X46))) (let ((X50 - Int (ite + (ite X48 (ite (not (= X49 5)) @@ -1396,10 +1370,10 @@ X49))) (let ((X51 - Bool (or X48 X44))) + (or X48 X44))) (let ((X52 - Int (ite + (ite (not (ite (= @@ -1411,14 +1385,14 @@ 1))) (let ((X53 - Bool (and + (and (= X50 4) (and (= X52 1) (not X51))))) (let ((X54 - Int (ite + (ite X53 (ite (= X50 4) @@ -1427,7 +1401,7 @@ X50))) (let ((X55 - Int (ite + (ite X53 (ite (not @@ -1437,19 +1411,19 @@ X54))) (let ((X56 - Bool (or + (or X53 X51))) (let ((X57 - Bool (and + (and (= X55 6) (and (= X52 0) (not X56))))) (let ((X58 - Int (ite + (ite X57 (ite (= X55 6) @@ -1458,7 +1432,6 @@ X55))) (let ((X59 - Int (ite X57 (ite @@ -1469,13 +1442,11 @@ X58))) (let ((X60 - Bool (or X57 X56))) (let ((X61 - Bool (and (= X59 5) (and @@ -1483,7 +1454,6 @@ (not X60))))) (let ((X62 - Int (ite X61 (ite @@ -1493,7 +1463,6 @@ X59))) (let ((X63 - Int (ite X61 (ite @@ -1600,10 +1569,10 @@ ) Bool (let - ((X1 Bool (and (not top.usr.decelSet) top.usr.decelSet!))) + ((X1 (and (not top.usr.decelSet) top.usr.decelSet!))) (let ((X2 - Bool (and + (and (and (and (and (not top.usr.cancel!) (not top.usr.brakePedal!)) @@ -1612,53 +1581,53 @@ top.usr.validInputs!))) (let ((X3 - Int top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_final_state_states___root)) + top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_final_state_states___root)) (let - ((X4 Int (ite (not top.usr.onOff!) 0 1))) + ((X4 (ite (not top.usr.onOff!) 0 1))) (let ((X5 - Bool (and + (and (and (>= X3 2) (<= X3 8)) (not (ite (not (= X4 0)) true false))))) (let - ((X6 Int (ite X5 (ite (and (>= X3 2) (<= X3 8)) 0 X3) X3))) + ((X6 (ite X5 (ite (and (>= X3 2) (<= X3 8)) 0 X3) X3))) (let - ((X7 Int (ite X5 (ite (not (= X6 1)) 1 X6) X6))) + ((X7 (ite X5 (ite (not (= X6 1)) 1 X6) X6))) (let ((X8 - Bool (and + (and (= X7 1) (and (ite (not (= X4 0)) true false) (not X5))))) (let - ((X9 Int (ite X8 (ite (= X7 1) 0 X7) X7))) + ((X9 (ite X8 (ite (= X7 1) 0 X7) X7))) (let - ((X10 Int (ite (not (and (>= X9 2) (<= X9 8))) 2 X9))) + ((X10 (ite (not (and (>= X9 2) (<= X9 8))) 2 X9))) (let ((X11 - Bool (and + (and (not (and (>= X9 2) (<= X9 8))) (and (>= X10 2) (<= X10 8))))) (let - ((X12 Int (ite X11 (ite (not (= X10 7)) 7 X10) X10))) + ((X12 (ite X11 (ite (not (= X10 7)) 7 X10) X10))) (let - ((X13 Int (ite X8 X12 X9))) + ((X13 (ite X8 X12 X9))) (let - ((X14 Int (ite (not X2) 0 1))) + ((X14 (ite (not X2) 0 1))) (let ((X15 - Bool (and + (and (and (>= X13 3) (<= X13 6)) (not (ite (not (= X14 0)) true false))))) (let ((X16 - Int (ite X15 (ite (and (>= X13 3) (<= X13 6)) 2 X13) X13))) + (ite X15 (ite (and (>= X13 3) (<= X13 6)) 2 X13) X13))) (let - ((X17 Int (ite X15 (ite (not (= X16 8)) 8 X16) X16))) + ((X17 (ite X15 (ite (not (= X16 8)) 8 X16) X16))) (let - ((X18 Int (ite (not X1) 0 1))) + ((X18 (ite (not X1) 0 1))) (let ((X19 - Bool (and + (and (= X17 8) (and (and @@ -1672,24 +1641,24 @@ false)) (not X15))))) (let - ((X20 Int (ite X19 (ite (= X17 8) 2 X17) X17))) + ((X20 (ite X19 (ite (= X17 8) 2 X17) X17))) (let ((X21 - Int (ite (not (and (>= X20 3) (<= X20 6))) 3 X20))) + (ite (not (and (>= X20 3) (<= X20 6))) 3 X20))) (let ((X22 - Bool (and + (and (not (and (>= X20 3) (<= X20 6))) (and (>= X21 3) (<= X21 6))))) (let - ((X23 Int (ite X22 (ite (not (= X21 4)) 4 X21) X21))) + ((X23 (ite X22 (ite (not (= X21 4)) 4 X21) X21))) (let - ((X24 Bool (or (= X23 4) (or (= X23 5) (= X23 6))))) + ((X24 (or (= X23 4) (or (= X23 5) (= X23 6))))) (and (= top.usr.OK! X24) (let ((X25 - Bool (and + (and (not top.usr.accelResume) top.usr.accelResume!))) (and @@ -1776,16 +1745,16 @@ false top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep)) (let - ((X26 Int (ite (not (= X3 1)) 1 X3))) + ((X26 (ite (not (= X3 1)) 1 X3))) (let - ((X27 Bool (or X8 X5))) + ((X27 (or X8 X5))) (let - ((X28 Int (ite X19 X23 X20))) + ((X28 (ite X19 X23 X20))) (let - ((X29 Bool (or X19 X15))) + ((X29 (or X19 X15))) (let ((X30 - Bool (and + (and (= X28 8) (and (and @@ -1808,32 +1777,32 @@ (not X29))))) (let ((X31 - Int (ite X30 (ite (= X28 8) 2 X28) X28))) + (ite X30 (ite (= X28 8) 2 X28) X28))) (let ((X32 - Int (ite + (ite (not (and (>= X31 3) (<= X31 6))) 3 X31))) (let ((X33 - Bool (and + (and (not (and (>= X31 3) (<= X31 6))) (and (>= X32 3) (<= X32 6))))) (let ((X34 - Int (ite + (ite X33 (ite (not (= X32 4)) 4 X32) X32))) (let - ((X35 Int (ite X30 X34 X31))) + ((X35 (ite X30 X34 X31))) (let - ((X36 Bool (or X30 X29))) + ((X36 (or X30 X29))) (let ((X37 - Bool (and + (and (= X35 7) (and (and @@ -1860,13 +1829,13 @@ (not X36))))) (let ((X38 - Int (ite + (ite X37 (ite (= X35 7) 2 X35) X35))) (let ((X39 - Int (ite + (ite (not (and (>= X38 3) @@ -1875,7 +1844,7 @@ X38))) (let ((X40 - Bool (and + (and (not (and (>= X38 3) @@ -1885,7 +1854,7 @@ (<= X39 6))))) (let ((X41 - Int (ite + (ite X40 (ite (not (= X39 4)) @@ -1893,23 +1862,23 @@ X39) X39))) (let - ((X42 Int (ite X37 X41 X38))) + ((X42 (ite X37 X41 X38))) (let - ((X43 Bool (or X37 X36))) + ((X43 (or X37 X36))) (let ((X44 - Bool (and + (and (= X42 4) (= X18 1)))) (let ((X45 - Int (ite + (ite X44 (ite (= X42 4) 3 X42) X42))) (let ((X46 - Int (ite + (ite X44 (ite (not (= X45 4)) @@ -1918,7 +1887,7 @@ X45))) (let ((X47 - Int (ite + (ite (not (ite (= @@ -1930,14 +1899,14 @@ 1))) (let ((X48 - Bool (and + (and (= X46 4) (and (= X47 1) (not X44))))) (let ((X49 - Int (ite + (ite X48 (ite (= X46 4) @@ -1946,7 +1915,7 @@ X46))) (let ((X50 - Int (ite + (ite X48 (ite (not (= X49 5)) @@ -1955,10 +1924,10 @@ X49))) (let ((X51 - Bool (or X48 X44))) + (or X48 X44))) (let ((X52 - Int (ite + (ite (not (ite (= @@ -1970,14 +1939,14 @@ 1))) (let ((X53 - Bool (and + (and (= X50 4) (and (= X52 1) (not X51))))) (let ((X54 - Int (ite + (ite X53 (ite (= X50 4) @@ -1986,7 +1955,7 @@ X50))) (let ((X55 - Int (ite + (ite X53 (ite (not @@ -1996,19 +1965,19 @@ X54))) (let ((X56 - Bool (or + (or X53 X51))) (let ((X57 - Bool (and + (and (= X55 6) (and (= X52 0) (not X56))))) (let ((X58 - Int (ite + (ite X57 (ite (= X55 6) @@ -2017,7 +1986,6 @@ X55))) (let ((X59 - Int (ite X57 (ite @@ -2028,13 +1996,11 @@ X58))) (let ((X60 - Bool (or X57 X56))) (let ((X61 - Bool (and (= X59 5) (and @@ -2042,7 +2008,6 @@ (not X60))))) (let ((X62 - Int (ite X61 (ite @@ -2052,7 +2017,6 @@ X59))) (let ((X63 - Int (ite X61 (ite diff --git a/lib-nonconforming/Inv_Track/andrew_lustre/cruise_controller_04.lus.sl b/lib/Inv_Track/andrew_lustre/cruise_controller_04.lus.sl similarity index 87% rename from lib-nonconforming/Inv_Track/andrew_lustre/cruise_controller_04.lus.sl rename to lib/Inv_Track/andrew_lustre/cruise_controller_04.lus.sl index b4ec9c78..eb90f62a 100644 --- a/lib-nonconforming/Inv_Track/andrew_lustre/cruise_controller_04.lus.sl +++ b/lib/Inv_Track/andrew_lustre/cruise_controller_04.lus.sl @@ -20,42 +20,42 @@ ) Bool (let - ((X1 Int 0)) + ((X1 0)) (let - ((X2 Int (ite (not top.usr.onOff_a_0) 0 1))) + ((X2 (ite (not top.usr.onOff_a_0) 0 1))) (let ((X3 - Bool (and + (and (and (>= X1 2) (<= X1 8)) (not (ite (not (= X2 0)) true false))))) (let - ((X4 Int (ite X3 (ite (and (>= X1 2) (<= X1 8)) 0 X1) X1))) + ((X4 (ite X3 (ite (and (>= X1 2) (<= X1 8)) 0 X1) X1))) (let - ((X5 Int (ite X3 (ite (not (= X4 1)) 1 X4) X4))) + ((X5 (ite X3 (ite (not (= X4 1)) 1 X4) X4))) (let ((X6 - Bool (and (= X5 1) (and (ite (not (= X2 0)) true false) (not X3))))) + (and (= X5 1) (and (ite (not (= X2 0)) true false) (not X3))))) (let - ((X7 Int (ite X6 (ite (= X5 1) 0 X5) X5))) + ((X7 (ite X6 (ite (= X5 1) 0 X5) X5))) (let - ((X8 Int (ite (not (and (>= X7 2) (<= X7 8))) 2 X7))) + ((X8 (ite (not (and (>= X7 2) (<= X7 8))) 2 X7))) (let ((X9 - Bool (and + (and (not (and (>= X7 2) (<= X7 8))) (and (>= X8 2) (<= X8 8))))) (let - ((X10 Int (ite X9 (ite (not (= X8 7)) 7 X8) X8))) + ((X10 (ite X9 (ite (not (= X8 7)) 7 X8) X8))) (let ((X11 - Bool (or (and (>= X10 3) (<= X10 6)) (or (= X10 7) (= X10 8))))) + (or (and (>= X10 3) (<= X10 6)) (or (= X10 7) (= X10 8))))) (and (= top.usr.OK_a_0 X11) (let - ((X12 Bool false)) + ((X12 false)) (let ((X13 - Bool (and + (and (and (and (and @@ -65,7 +65,7 @@ (ite (>= top.usr.carSpeed_a_0 15.0) true false)) top.usr.validInputs_a_0))) (let - ((X14 Bool false)) + ((X14 false)) (and (= top.impl.usr.cruise_controller_CruiseController_ModeLogic_DelayOnsetDecel_Bounded_Count_Out_a_0 @@ -99,31 +99,31 @@ top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep_a_0 true) (let - ((X15 Int (ite (not (= X1 1)) 1 X1))) + ((X15 (ite (not (= X1 1)) 1 X1))) (let - ((X16 Int (ite X6 X10 X7))) + ((X16 (ite X6 X10 X7))) (let - ((X17 Bool (or X6 X3))) + ((X17 (or X6 X3))) (let - ((X18 Int (ite (not X13) 0 1))) + ((X18 (ite (not X13) 0 1))) (let ((X19 - Bool (and + (and (and (>= X16 3) (<= X16 6)) (not (ite (not (= X18 0)) true false))))) (let ((X20 - Int (ite + (ite X19 (ite (and (>= X16 3) (<= X16 6)) 2 X16) X16))) (let - ((X21 Int (ite X19 (ite (not (= X20 8)) 8 X20) X20))) + ((X21 (ite X19 (ite (not (= X20 8)) 8 X20) X20))) (let - ((X22 Int (ite (not X12) 0 1))) + ((X22 (ite (not X12) 0 1))) (let ((X23 - Bool (and + (and (= X21 8) (and (and @@ -137,31 +137,31 @@ false)) (not X19))))) (let - ((X24 Int (ite X23 (ite (= X21 8) 2 X21) X21))) + ((X24 (ite X23 (ite (= X21 8) 2 X21) X21))) (let ((X25 - Int (ite + (ite (not (and (>= X24 3) (<= X24 6))) 3 X24))) (let ((X26 - Bool (and + (and (not (and (>= X24 3) (<= X24 6))) (and (>= X25 3) (<= X25 6))))) (let ((X27 - Int (ite + (ite X26 (ite (not (= X25 4)) 4 X25) X25))) (let - ((X28 Int (ite X23 X27 X24))) + ((X28 (ite X23 X27 X24))) (let - ((X29 Bool (or X23 X19))) + ((X29 (or X23 X19))) (let ((X30 - Bool (and + (and (= X28 8) (and (and @@ -184,32 +184,32 @@ (not X29))))) (let ((X31 - Int (ite X30 (ite (= X28 8) 2 X28) X28))) + (ite X30 (ite (= X28 8) 2 X28) X28))) (let ((X32 - Int (ite + (ite (not (and (>= X31 3) (<= X31 6))) 3 X31))) (let ((X33 - Bool (and + (and (not (and (>= X31 3) (<= X31 6))) (and (>= X32 3) (<= X32 6))))) (let ((X34 - Int (ite + (ite X33 (ite (not (= X32 4)) 4 X32) X32))) (let - ((X35 Int (ite X30 X34 X31))) + ((X35 (ite X30 X34 X31))) (let - ((X36 Bool (or X30 X29))) + ((X36 (or X30 X29))) (let ((X37 - Bool (and + (and (= X35 7) (and (and @@ -236,13 +236,13 @@ (not X36))))) (let ((X38 - Int (ite + (ite X37 (ite (= X35 7) 2 X35) X35))) (let ((X39 - Int (ite + (ite (not (and (>= X38 3) @@ -251,7 +251,7 @@ X38))) (let ((X40 - Bool (and + (and (not (and (>= X38 3) @@ -261,7 +261,7 @@ (<= X39 6))))) (let ((X41 - Int (ite + (ite X40 (ite (not (= X39 4)) @@ -269,23 +269,23 @@ X39) X39))) (let - ((X42 Int (ite X37 X41 X38))) + ((X42 (ite X37 X41 X38))) (let - ((X43 Bool (or X37 X36))) + ((X43 (or X37 X36))) (let ((X44 - Bool (and + (and (= X42 4) (= X22 1)))) (let ((X45 - Int (ite + (ite X44 (ite (= X42 4) 3 X42) X42))) (let ((X46 - Int (ite + (ite X44 (ite (not (= X45 4)) @@ -294,7 +294,7 @@ X45))) (let ((X47 - Int (ite + (ite (not (ite (= @@ -306,14 +306,14 @@ 1))) (let ((X48 - Bool (and + (and (= X46 4) (and (= X47 1) (not X44))))) (let ((X49 - Int (ite + (ite X48 (ite (= X46 4) @@ -322,7 +322,7 @@ X46))) (let ((X50 - Int (ite + (ite X48 (ite (not (= X49 5)) @@ -331,10 +331,10 @@ X49))) (let ((X51 - Bool (or X48 X44))) + (or X48 X44))) (let ((X52 - Int (ite + (ite (not (ite (= @@ -346,14 +346,14 @@ 1))) (let ((X53 - Bool (and + (and (= X50 4) (and (= X52 1) (not X51))))) (let ((X54 - Int (ite + (ite X53 (ite (= X50 4) @@ -362,7 +362,7 @@ X50))) (let ((X55 - Int (ite + (ite X53 (ite (not @@ -372,19 +372,19 @@ X54))) (let ((X56 - Bool (or + (or X53 X51))) (let ((X57 - Bool (and + (and (= X55 6) (and (= X52 0) (not X56))))) (let ((X58 - Int (ite + (ite X57 (ite (= X55 6) @@ -393,7 +393,6 @@ X55))) (let ((X59 - Int (ite X57 (ite @@ -404,13 +403,11 @@ X58))) (let ((X60 - Bool (or X57 X56))) (let ((X61 - Bool (and (= X59 5) (and @@ -418,7 +415,6 @@ (not X60))))) (let ((X62 - Int (ite X61 (ite @@ -428,7 +424,6 @@ X59))) (let ((X63 - Int (ite X61 (ite @@ -531,42 +526,42 @@ (let ((X1 - Int top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_final_state_states___root_a_0)) + top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_final_state_states___root_a_0)) (let - ((X2 Int (ite (not top.usr.onOff_a_1) 0 1))) + ((X2 (ite (not top.usr.onOff_a_1) 0 1))) (let ((X3 - Bool (and + (and (and (>= X1 2) (<= X1 8)) (not (ite (not (= X2 0)) true false))))) (let - ((X4 Int (ite X3 (ite (and (>= X1 2) (<= X1 8)) 0 X1) X1))) + ((X4 (ite X3 (ite (and (>= X1 2) (<= X1 8)) 0 X1) X1))) (let - ((X5 Int (ite X3 (ite (not (= X4 1)) 1 X4) X4))) + ((X5 (ite X3 (ite (not (= X4 1)) 1 X4) X4))) (let ((X6 - Bool (and (= X5 1) (and (ite (not (= X2 0)) true false) (not X3))))) + (and (= X5 1) (and (ite (not (= X2 0)) true false) (not X3))))) (let - ((X7 Int (ite X6 (ite (= X5 1) 0 X5) X5))) + ((X7 (ite X6 (ite (= X5 1) 0 X5) X5))) (let - ((X8 Int (ite (not (and (>= X7 2) (<= X7 8))) 2 X7))) + ((X8 (ite (not (and (>= X7 2) (<= X7 8))) 2 X7))) (let ((X9 - Bool (and + (and (not (and (>= X7 2) (<= X7 8))) (and (>= X8 2) (<= X8 8))))) (let - ((X10 Int (ite X9 (ite (not (= X8 7)) 7 X8) X8))) + ((X10 (ite X9 (ite (not (= X8 7)) 7 X8) X8))) (let ((X11 - Bool (or (and (>= X10 3) (<= X10 6)) (or (= X10 7) (= X10 8))))) + (or (and (>= X10 3) (<= X10 6)) (or (= X10 7) (= X10 8))))) (and (= top.usr.OK_a_1 X11) (let - ((X12 Bool (and (not top.usr.decelSet_a_0) top.usr.decelSet_a_1))) + ((X12 (and (not top.usr.decelSet_a_0) top.usr.decelSet_a_1))) (let ((X13 - Bool (and + (and (and (and (and @@ -577,7 +572,7 @@ top.usr.validInputs_a_1))) (let ((X14 - Bool (and + (and (not top.usr.accelResume_a_0) top.usr.accelResume_a_1))) (and @@ -664,31 +659,31 @@ false top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep_a_0)) (let - ((X15 Int (ite (not (= X1 1)) 1 X1))) + ((X15 (ite (not (= X1 1)) 1 X1))) (let - ((X16 Int (ite X6 X10 X7))) + ((X16 (ite X6 X10 X7))) (let - ((X17 Bool (or X6 X3))) + ((X17 (or X6 X3))) (let - ((X18 Int (ite (not X13) 0 1))) + ((X18 (ite (not X13) 0 1))) (let ((X19 - Bool (and + (and (and (>= X16 3) (<= X16 6)) (not (ite (not (= X18 0)) true false))))) (let ((X20 - Int (ite + (ite X19 (ite (and (>= X16 3) (<= X16 6)) 2 X16) X16))) (let - ((X21 Int (ite X19 (ite (not (= X20 8)) 8 X20) X20))) + ((X21 (ite X19 (ite (not (= X20 8)) 8 X20) X20))) (let - ((X22 Int (ite (not X12) 0 1))) + ((X22 (ite (not X12) 0 1))) (let ((X23 - Bool (and + (and (= X21 8) (and (and @@ -702,31 +697,31 @@ false)) (not X19))))) (let - ((X24 Int (ite X23 (ite (= X21 8) 2 X21) X21))) + ((X24 (ite X23 (ite (= X21 8) 2 X21) X21))) (let ((X25 - Int (ite + (ite (not (and (>= X24 3) (<= X24 6))) 3 X24))) (let ((X26 - Bool (and + (and (not (and (>= X24 3) (<= X24 6))) (and (>= X25 3) (<= X25 6))))) (let ((X27 - Int (ite + (ite X26 (ite (not (= X25 4)) 4 X25) X25))) (let - ((X28 Int (ite X23 X27 X24))) + ((X28 (ite X23 X27 X24))) (let - ((X29 Bool (or X23 X19))) + ((X29 (or X23 X19))) (let ((X30 - Bool (and + (and (= X28 8) (and (and @@ -749,32 +744,32 @@ (not X29))))) (let ((X31 - Int (ite X30 (ite (= X28 8) 2 X28) X28))) + (ite X30 (ite (= X28 8) 2 X28) X28))) (let ((X32 - Int (ite + (ite (not (and (>= X31 3) (<= X31 6))) 3 X31))) (let ((X33 - Bool (and + (and (not (and (>= X31 3) (<= X31 6))) (and (>= X32 3) (<= X32 6))))) (let ((X34 - Int (ite + (ite X33 (ite (not (= X32 4)) 4 X32) X32))) (let - ((X35 Int (ite X30 X34 X31))) + ((X35 (ite X30 X34 X31))) (let - ((X36 Bool (or X30 X29))) + ((X36 (or X30 X29))) (let ((X37 - Bool (and + (and (= X35 7) (and (and @@ -801,13 +796,13 @@ (not X36))))) (let ((X38 - Int (ite + (ite X37 (ite (= X35 7) 2 X35) X35))) (let ((X39 - Int (ite + (ite (not (and (>= X38 3) @@ -816,7 +811,7 @@ X38))) (let ((X40 - Bool (and + (and (not (and (>= X38 3) @@ -826,7 +821,7 @@ (<= X39 6))))) (let ((X41 - Int (ite + (ite X40 (ite (not (= X39 4)) @@ -834,23 +829,23 @@ X39) X39))) (let - ((X42 Int (ite X37 X41 X38))) + ((X42 (ite X37 X41 X38))) (let - ((X43 Bool (or X37 X36))) + ((X43 (or X37 X36))) (let ((X44 - Bool (and + (and (= X42 4) (= X22 1)))) (let ((X45 - Int (ite + (ite X44 (ite (= X42 4) 3 X42) X42))) (let ((X46 - Int (ite + (ite X44 (ite (not (= X45 4)) @@ -859,7 +854,7 @@ X45))) (let ((X47 - Int (ite + (ite (not (ite (= @@ -871,14 +866,14 @@ 1))) (let ((X48 - Bool (and + (and (= X46 4) (and (= X47 1) (not X44))))) (let ((X49 - Int (ite + (ite X48 (ite (= X46 4) @@ -887,7 +882,7 @@ X46))) (let ((X50 - Int (ite + (ite X48 (ite (not (= X49 5)) @@ -896,10 +891,10 @@ X49))) (let ((X51 - Bool (or X48 X44))) + (or X48 X44))) (let ((X52 - Int (ite + (ite (not (ite (= @@ -911,14 +906,14 @@ 1))) (let ((X53 - Bool (and + (and (= X50 4) (and (= X52 1) (not X51))))) (let ((X54 - Int (ite + (ite X53 (ite (= X50 4) @@ -927,7 +922,7 @@ X50))) (let ((X55 - Int (ite + (ite X53 (ite (not @@ -937,19 +932,19 @@ X54))) (let ((X56 - Bool (or + (or X53 X51))) (let ((X57 - Bool (and + (and (= X55 6) (and (= X52 0) (not X56))))) (let ((X58 - Int (ite + (ite X57 (ite (= X55 6) @@ -958,7 +953,6 @@ X55))) (let ((X59 - Int (ite X57 (ite @@ -969,13 +963,11 @@ X58))) (let ((X60 - Bool (or X57 X56))) (let ((X61 - Bool (and (= X59 5) (and @@ -983,7 +975,6 @@ (not X60))))) (let ((X62 - Int (ite X61 (ite @@ -993,7 +984,6 @@ X59))) (let ((X63 - Int (ite X61 (ite @@ -1082,22 +1072,6 @@ )) -(declare-primed-var top.usr.onOff Bool) -(declare-primed-var top.usr.decelSet Bool) -(declare-primed-var top.usr.accelResume Bool) -(declare-primed-var top.usr.cancel Bool) -(declare-primed-var top.usr.brakePedal Bool) -(declare-primed-var top.usr.carGear Int) -(declare-primed-var top.usr.carSpeed Real) -(declare-primed-var top.usr.validInputs Bool) -(declare-primed-var top.usr.OK Bool) -(declare-primed-var top.res.init_flag Bool) -(declare-primed-var top.impl.usr.chart_CruiseController_ModeLogic_mode_logic____wakeup___ Bool) -(declare-primed-var top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep Bool) -(declare-primed-var top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_final_state_states___root Int) -(declare-primed-var top.impl.usr.cruise_controller_CruiseController_ModeLogic_DelayOnsetAccel_Bounded_Count_Out Int) -(declare-primed-var top.impl.usr.cruise_controller_CruiseController_ModeLogic_DelayOnsetDecel_Bounded_Count_Out Int) - (define-fun init ( (top.usr.onOff Bool) @@ -1118,42 +1092,42 @@ ) Bool (let - ((X1 Int 0)) + ((X1 0)) (let - ((X2 Int (ite (not top.usr.onOff) 0 1))) + ((X2 (ite (not top.usr.onOff) 0 1))) (let ((X3 - Bool (and + (and (and (>= X1 2) (<= X1 8)) (not (ite (not (= X2 0)) true false))))) (let - ((X4 Int (ite X3 (ite (and (>= X1 2) (<= X1 8)) 0 X1) X1))) + ((X4 (ite X3 (ite (and (>= X1 2) (<= X1 8)) 0 X1) X1))) (let - ((X5 Int (ite X3 (ite (not (= X4 1)) 1 X4) X4))) + ((X5 (ite X3 (ite (not (= X4 1)) 1 X4) X4))) (let ((X6 - Bool (and (= X5 1) (and (ite (not (= X2 0)) true false) (not X3))))) + (and (= X5 1) (and (ite (not (= X2 0)) true false) (not X3))))) (let - ((X7 Int (ite X6 (ite (= X5 1) 0 X5) X5))) + ((X7 (ite X6 (ite (= X5 1) 0 X5) X5))) (let - ((X8 Int (ite (not (and (>= X7 2) (<= X7 8))) 2 X7))) + ((X8 (ite (not (and (>= X7 2) (<= X7 8))) 2 X7))) (let ((X9 - Bool (and + (and (not (and (>= X7 2) (<= X7 8))) (and (>= X8 2) (<= X8 8))))) (let - ((X10 Int (ite X9 (ite (not (= X8 7)) 7 X8) X8))) + ((X10 (ite X9 (ite (not (= X8 7)) 7 X8) X8))) (let ((X11 - Bool (or (and (>= X10 3) (<= X10 6)) (or (= X10 7) (= X10 8))))) + (or (and (>= X10 3) (<= X10 6)) (or (= X10 7) (= X10 8))))) (and (= top.usr.OK X11) (let - ((X12 Bool false)) + ((X12 false)) (let ((X13 - Bool (and + (and (and (and (and (not top.usr.cancel) (not top.usr.brakePedal)) @@ -1161,7 +1135,7 @@ (ite (>= top.usr.carSpeed 15.0) true false)) top.usr.validInputs))) (let - ((X14 Bool false)) + ((X14 false)) (and (= top.impl.usr.cruise_controller_CruiseController_ModeLogic_DelayOnsetDecel_Bounded_Count_Out @@ -1195,31 +1169,31 @@ top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep true) (let - ((X15 Int (ite (not (= X1 1)) 1 X1))) + ((X15 (ite (not (= X1 1)) 1 X1))) (let - ((X16 Int (ite X6 X10 X7))) + ((X16 (ite X6 X10 X7))) (let - ((X17 Bool (or X6 X3))) + ((X17 (or X6 X3))) (let - ((X18 Int (ite (not X13) 0 1))) + ((X18 (ite (not X13) 0 1))) (let ((X19 - Bool (and + (and (and (>= X16 3) (<= X16 6)) (not (ite (not (= X18 0)) true false))))) (let ((X20 - Int (ite + (ite X19 (ite (and (>= X16 3) (<= X16 6)) 2 X16) X16))) (let - ((X21 Int (ite X19 (ite (not (= X20 8)) 8 X20) X20))) + ((X21 (ite X19 (ite (not (= X20 8)) 8 X20) X20))) (let - ((X22 Int (ite (not X12) 0 1))) + ((X22 (ite (not X12) 0 1))) (let ((X23 - Bool (and + (and (= X21 8) (and (and @@ -1233,31 +1207,31 @@ false)) (not X19))))) (let - ((X24 Int (ite X23 (ite (= X21 8) 2 X21) X21))) + ((X24 (ite X23 (ite (= X21 8) 2 X21) X21))) (let ((X25 - Int (ite + (ite (not (and (>= X24 3) (<= X24 6))) 3 X24))) (let ((X26 - Bool (and + (and (not (and (>= X24 3) (<= X24 6))) (and (>= X25 3) (<= X25 6))))) (let ((X27 - Int (ite + (ite X26 (ite (not (= X25 4)) 4 X25) X25))) (let - ((X28 Int (ite X23 X27 X24))) + ((X28 (ite X23 X27 X24))) (let - ((X29 Bool (or X23 X19))) + ((X29 (or X23 X19))) (let ((X30 - Bool (and + (and (= X28 8) (and (and @@ -1280,32 +1254,32 @@ (not X29))))) (let ((X31 - Int (ite X30 (ite (= X28 8) 2 X28) X28))) + (ite X30 (ite (= X28 8) 2 X28) X28))) (let ((X32 - Int (ite + (ite (not (and (>= X31 3) (<= X31 6))) 3 X31))) (let ((X33 - Bool (and + (and (not (and (>= X31 3) (<= X31 6))) (and (>= X32 3) (<= X32 6))))) (let ((X34 - Int (ite + (ite X33 (ite (not (= X32 4)) 4 X32) X32))) (let - ((X35 Int (ite X30 X34 X31))) + ((X35 (ite X30 X34 X31))) (let - ((X36 Bool (or X30 X29))) + ((X36 (or X30 X29))) (let ((X37 - Bool (and + (and (= X35 7) (and (and @@ -1332,13 +1306,13 @@ (not X36))))) (let ((X38 - Int (ite + (ite X37 (ite (= X35 7) 2 X35) X35))) (let ((X39 - Int (ite + (ite (not (and (>= X38 3) @@ -1347,7 +1321,7 @@ X38))) (let ((X40 - Bool (and + (and (not (and (>= X38 3) @@ -1357,7 +1331,7 @@ (<= X39 6))))) (let ((X41 - Int (ite + (ite X40 (ite (not (= X39 4)) @@ -1365,23 +1339,23 @@ X39) X39))) (let - ((X42 Int (ite X37 X41 X38))) + ((X42 (ite X37 X41 X38))) (let - ((X43 Bool (or X37 X36))) + ((X43 (or X37 X36))) (let ((X44 - Bool (and + (and (= X42 4) (= X22 1)))) (let ((X45 - Int (ite + (ite X44 (ite (= X42 4) 3 X42) X42))) (let ((X46 - Int (ite + (ite X44 (ite (not (= X45 4)) @@ -1390,7 +1364,7 @@ X45))) (let ((X47 - Int (ite + (ite (not (ite (= @@ -1402,14 +1376,14 @@ 1))) (let ((X48 - Bool (and + (and (= X46 4) (and (= X47 1) (not X44))))) (let ((X49 - Int (ite + (ite X48 (ite (= X46 4) @@ -1418,7 +1392,7 @@ X46))) (let ((X50 - Int (ite + (ite X48 (ite (not (= X49 5)) @@ -1427,10 +1401,10 @@ X49))) (let ((X51 - Bool (or X48 X44))) + (or X48 X44))) (let ((X52 - Int (ite + (ite (not (ite (= @@ -1442,14 +1416,14 @@ 1))) (let ((X53 - Bool (and + (and (= X50 4) (and (= X52 1) (not X51))))) (let ((X54 - Int (ite + (ite X53 (ite (= X50 4) @@ -1458,7 +1432,7 @@ X50))) (let ((X55 - Int (ite + (ite X53 (ite (not @@ -1468,19 +1442,19 @@ X54))) (let ((X56 - Bool (or + (or X53 X51))) (let ((X57 - Bool (and + (and (= X55 6) (and (= X52 0) (not X56))))) (let ((X58 - Int (ite + (ite X57 (ite (= X55 6) @@ -1489,7 +1463,6 @@ X55))) (let ((X59 - Int (ite X57 (ite @@ -1500,13 +1473,11 @@ X58))) (let ((X60 - Bool (or X57 X56))) (let ((X61 - Bool (and (= X59 5) (and @@ -1514,7 +1485,6 @@ (not X60))))) (let ((X62 - Int (ite X61 (ite @@ -1524,7 +1494,6 @@ X59))) (let ((X63 - Int (ite X61 (ite @@ -1632,42 +1601,42 @@ (let ((X1 - Int top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_final_state_states___root)) + top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_final_state_states___root)) (let - ((X2 Int (ite (not top.usr.onOff!) 0 1))) + ((X2 (ite (not top.usr.onOff!) 0 1))) (let ((X3 - Bool (and + (and (and (>= X1 2) (<= X1 8)) (not (ite (not (= X2 0)) true false))))) (let - ((X4 Int (ite X3 (ite (and (>= X1 2) (<= X1 8)) 0 X1) X1))) + ((X4 (ite X3 (ite (and (>= X1 2) (<= X1 8)) 0 X1) X1))) (let - ((X5 Int (ite X3 (ite (not (= X4 1)) 1 X4) X4))) + ((X5 (ite X3 (ite (not (= X4 1)) 1 X4) X4))) (let ((X6 - Bool (and (= X5 1) (and (ite (not (= X2 0)) true false) (not X3))))) + (and (= X5 1) (and (ite (not (= X2 0)) true false) (not X3))))) (let - ((X7 Int (ite X6 (ite (= X5 1) 0 X5) X5))) + ((X7 (ite X6 (ite (= X5 1) 0 X5) X5))) (let - ((X8 Int (ite (not (and (>= X7 2) (<= X7 8))) 2 X7))) + ((X8 (ite (not (and (>= X7 2) (<= X7 8))) 2 X7))) (let ((X9 - Bool (and + (and (not (and (>= X7 2) (<= X7 8))) (and (>= X8 2) (<= X8 8))))) (let - ((X10 Int (ite X9 (ite (not (= X8 7)) 7 X8) X8))) + ((X10 (ite X9 (ite (not (= X8 7)) 7 X8) X8))) (let ((X11 - Bool (or (and (>= X10 3) (<= X10 6)) (or (= X10 7) (= X10 8))))) + (or (and (>= X10 3) (<= X10 6)) (or (= X10 7) (= X10 8))))) (and (= top.usr.OK! X11) (let - ((X12 Bool (and (not top.usr.decelSet) top.usr.decelSet!))) + ((X12 (and (not top.usr.decelSet) top.usr.decelSet!))) (let ((X13 - Bool (and + (and (and (and (and @@ -1678,7 +1647,7 @@ top.usr.validInputs!))) (let ((X14 - Bool (and (not top.usr.accelResume) top.usr.accelResume!))) + (and (not top.usr.accelResume) top.usr.accelResume!))) (and (= top.impl.usr.cruise_controller_CruiseController_ModeLogic_DelayOnsetDecel_Bounded_Count_Out! @@ -1763,31 +1732,31 @@ false top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep)) (let - ((X15 Int (ite (not (= X1 1)) 1 X1))) + ((X15 (ite (not (= X1 1)) 1 X1))) (let - ((X16 Int (ite X6 X10 X7))) + ((X16 (ite X6 X10 X7))) (let - ((X17 Bool (or X6 X3))) + ((X17 (or X6 X3))) (let - ((X18 Int (ite (not X13) 0 1))) + ((X18 (ite (not X13) 0 1))) (let ((X19 - Bool (and + (and (and (>= X16 3) (<= X16 6)) (not (ite (not (= X18 0)) true false))))) (let ((X20 - Int (ite + (ite X19 (ite (and (>= X16 3) (<= X16 6)) 2 X16) X16))) (let - ((X21 Int (ite X19 (ite (not (= X20 8)) 8 X20) X20))) + ((X21 (ite X19 (ite (not (= X20 8)) 8 X20) X20))) (let - ((X22 Int (ite (not X12) 0 1))) + ((X22 (ite (not X12) 0 1))) (let ((X23 - Bool (and + (and (= X21 8) (and (and @@ -1801,31 +1770,31 @@ false)) (not X19))))) (let - ((X24 Int (ite X23 (ite (= X21 8) 2 X21) X21))) + ((X24 (ite X23 (ite (= X21 8) 2 X21) X21))) (let ((X25 - Int (ite + (ite (not (and (>= X24 3) (<= X24 6))) 3 X24))) (let ((X26 - Bool (and + (and (not (and (>= X24 3) (<= X24 6))) (and (>= X25 3) (<= X25 6))))) (let ((X27 - Int (ite + (ite X26 (ite (not (= X25 4)) 4 X25) X25))) (let - ((X28 Int (ite X23 X27 X24))) + ((X28 (ite X23 X27 X24))) (let - ((X29 Bool (or X23 X19))) + ((X29 (or X23 X19))) (let ((X30 - Bool (and + (and (= X28 8) (and (and @@ -1848,32 +1817,32 @@ (not X29))))) (let ((X31 - Int (ite X30 (ite (= X28 8) 2 X28) X28))) + (ite X30 (ite (= X28 8) 2 X28) X28))) (let ((X32 - Int (ite + (ite (not (and (>= X31 3) (<= X31 6))) 3 X31))) (let ((X33 - Bool (and + (and (not (and (>= X31 3) (<= X31 6))) (and (>= X32 3) (<= X32 6))))) (let ((X34 - Int (ite + (ite X33 (ite (not (= X32 4)) 4 X32) X32))) (let - ((X35 Int (ite X30 X34 X31))) + ((X35 (ite X30 X34 X31))) (let - ((X36 Bool (or X30 X29))) + ((X36 (or X30 X29))) (let ((X37 - Bool (and + (and (= X35 7) (and (and @@ -1900,13 +1869,13 @@ (not X36))))) (let ((X38 - Int (ite + (ite X37 (ite (= X35 7) 2 X35) X35))) (let ((X39 - Int (ite + (ite (not (and (>= X38 3) @@ -1915,7 +1884,7 @@ X38))) (let ((X40 - Bool (and + (and (not (and (>= X38 3) @@ -1925,7 +1894,7 @@ (<= X39 6))))) (let ((X41 - Int (ite + (ite X40 (ite (not (= X39 4)) @@ -1933,23 +1902,23 @@ X39) X39))) (let - ((X42 Int (ite X37 X41 X38))) + ((X42 (ite X37 X41 X38))) (let - ((X43 Bool (or X37 X36))) + ((X43 (or X37 X36))) (let ((X44 - Bool (and + (and (= X42 4) (= X22 1)))) (let ((X45 - Int (ite + (ite X44 (ite (= X42 4) 3 X42) X42))) (let ((X46 - Int (ite + (ite X44 (ite (not (= X45 4)) @@ -1958,7 +1927,7 @@ X45))) (let ((X47 - Int (ite + (ite (not (ite (= @@ -1970,14 +1939,14 @@ 1))) (let ((X48 - Bool (and + (and (= X46 4) (and (= X47 1) (not X44))))) (let ((X49 - Int (ite + (ite X48 (ite (= X46 4) @@ -1986,7 +1955,7 @@ X46))) (let ((X50 - Int (ite + (ite X48 (ite (not (= X49 5)) @@ -1995,10 +1964,10 @@ X49))) (let ((X51 - Bool (or X48 X44))) + (or X48 X44))) (let ((X52 - Int (ite + (ite (not (ite (= @@ -2010,14 +1979,14 @@ 1))) (let ((X53 - Bool (and + (and (= X50 4) (and (= X52 1) (not X51))))) (let ((X54 - Int (ite + (ite X53 (ite (= X50 4) @@ -2026,7 +1995,7 @@ X50))) (let ((X55 - Int (ite + (ite X53 (ite (not @@ -2036,19 +2005,19 @@ X54))) (let ((X56 - Bool (or + (or X53 X51))) (let ((X57 - Bool (and + (and (= X55 6) (and (= X52 0) (not X56))))) (let ((X58 - Int (ite + (ite X57 (ite (= X55 6) @@ -2057,7 +2026,6 @@ X55))) (let ((X59 - Int (ite X57 (ite @@ -2068,13 +2036,11 @@ X58))) (let ((X60 - Bool (or X57 X56))) (let ((X61 - Bool (and (= X59 5) (and @@ -2082,7 +2048,6 @@ (not X60))))) (let ((X62 - Int (ite X61 (ite @@ -2092,7 +2057,6 @@ X59))) (let ((X63 - Int (ite X61 (ite diff --git a/lib-nonconforming/Inv_Track/andrew_lustre/cruise_controller_05.lus.sl b/lib/Inv_Track/andrew_lustre/cruise_controller_05.lus.sl similarity index 87% rename from lib-nonconforming/Inv_Track/andrew_lustre/cruise_controller_05.lus.sl rename to lib/Inv_Track/andrew_lustre/cruise_controller_05.lus.sl index 59e7274d..6cb1f1b0 100644 --- a/lib-nonconforming/Inv_Track/andrew_lustre/cruise_controller_05.lus.sl +++ b/lib/Inv_Track/andrew_lustre/cruise_controller_05.lus.sl @@ -20,18 +20,18 @@ ) Bool (let - ((X1 Int 0)) + ((X1 0)) (let - ((X2 Int (ite (not (= X1 1)) 1 X1))) + ((X2 (ite (not (= X1 1)) 1 X1))) (let - ((X3 Bool (or (= X2 1) (and (>= X2 2) (<= X2 8))))) + ((X3 (or (= X2 1) (and (>= X2 2) (<= X2 8))))) (and (= top.usr.OK_a_0 X3) (let - ((X4 Bool false)) + ((X4 false)) (let ((X5 - Bool (and + (and (and (and (and (not top.usr.cancel_a_0) (not top.usr.brakePedal_a_0)) @@ -39,7 +39,7 @@ (ite (>= top.usr.carSpeed_a_0 15.0) true false)) top.usr.validInputs_a_0))) (let - ((X6 Bool false)) + ((X6 false)) (and (= top.impl.usr.cruise_controller_CruiseController_ModeLogic_DelayOnsetDecel_Bounded_Count_Out_a_0 @@ -73,56 +73,56 @@ top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep_a_0 true) (let - ((X7 Int (ite (not top.usr.onOff_a_0) 0 1))) + ((X7 (ite (not top.usr.onOff_a_0) 0 1))) (let ((X8 - Bool (and + (and (and (>= X1 2) (<= X1 8)) (not (ite (not (= X7 0)) true false))))) (let - ((X9 Int (ite X8 (ite (and (>= X1 2) (<= X1 8)) 0 X1) X1))) + ((X9 (ite X8 (ite (and (>= X1 2) (<= X1 8)) 0 X1) X1))) (let - ((X10 Int (ite X8 (ite (not (= X9 1)) 1 X9) X9))) + ((X10 (ite X8 (ite (not (= X9 1)) 1 X9) X9))) (let ((X11 - Bool (and + (and (= X10 1) (and (ite (not (= X7 0)) true false) (not X8))))) (let - ((X12 Int (ite X11 (ite (= X10 1) 0 X10) X10))) + ((X12 (ite X11 (ite (= X10 1) 0 X10) X10))) (let - ((X13 Int (ite (not (and (>= X12 2) (<= X12 8))) 2 X12))) + ((X13 (ite (not (and (>= X12 2) (<= X12 8))) 2 X12))) (let ((X14 - Bool (and + (and (not (and (>= X12 2) (<= X12 8))) (and (>= X13 2) (<= X13 8))))) (let - ((X15 Int (ite X14 (ite (not (= X13 7)) 7 X13) X13))) + ((X15 (ite X14 (ite (not (= X13 7)) 7 X13) X13))) (let - ((X16 Int (ite X11 X15 X12))) + ((X16 (ite X11 X15 X12))) (let - ((X17 Bool (or X11 X8))) + ((X17 (or X11 X8))) (let - ((X18 Int (ite (not X5) 0 1))) + ((X18 (ite (not X5) 0 1))) (let ((X19 - Bool (and + (and (and (>= X16 3) (<= X16 6)) (not (ite (not (= X18 0)) true false))))) (let ((X20 - Int (ite + (ite X19 (ite (and (>= X16 3) (<= X16 6)) 2 X16) X16))) (let - ((X21 Int (ite X19 (ite (not (= X20 8)) 8 X20) X20))) + ((X21 (ite X19 (ite (not (= X20 8)) 8 X20) X20))) (let - ((X22 Int (ite (not X4) 0 1))) + ((X22 (ite (not X4) 0 1))) (let ((X23 - Bool (and + (and (= X21 8) (and (and @@ -136,31 +136,31 @@ false)) (not X19))))) (let - ((X24 Int (ite X23 (ite (= X21 8) 2 X21) X21))) + ((X24 (ite X23 (ite (= X21 8) 2 X21) X21))) (let ((X25 - Int (ite + (ite (not (and (>= X24 3) (<= X24 6))) 3 X24))) (let ((X26 - Bool (and + (and (not (and (>= X24 3) (<= X24 6))) (and (>= X25 3) (<= X25 6))))) (let ((X27 - Int (ite + (ite X26 (ite (not (= X25 4)) 4 X25) X25))) (let - ((X28 Int (ite X23 X27 X24))) + ((X28 (ite X23 X27 X24))) (let - ((X29 Bool (or X23 X19))) + ((X29 (or X23 X19))) (let ((X30 - Bool (and + (and (= X28 8) (and (and @@ -183,32 +183,32 @@ (not X29))))) (let ((X31 - Int (ite X30 (ite (= X28 8) 2 X28) X28))) + (ite X30 (ite (= X28 8) 2 X28) X28))) (let ((X32 - Int (ite + (ite (not (and (>= X31 3) (<= X31 6))) 3 X31))) (let ((X33 - Bool (and + (and (not (and (>= X31 3) (<= X31 6))) (and (>= X32 3) (<= X32 6))))) (let ((X34 - Int (ite + (ite X33 (ite (not (= X32 4)) 4 X32) X32))) (let - ((X35 Int (ite X30 X34 X31))) + ((X35 (ite X30 X34 X31))) (let - ((X36 Bool (or X30 X29))) + ((X36 (or X30 X29))) (let ((X37 - Bool (and + (and (= X35 7) (and (and @@ -235,13 +235,13 @@ (not X36))))) (let ((X38 - Int (ite + (ite X37 (ite (= X35 7) 2 X35) X35))) (let ((X39 - Int (ite + (ite (not (and (>= X38 3) @@ -250,7 +250,7 @@ X38))) (let ((X40 - Bool (and + (and (not (and (>= X38 3) @@ -260,7 +260,7 @@ (<= X39 6))))) (let ((X41 - Int (ite + (ite X40 (ite (not (= X39 4)) @@ -268,23 +268,23 @@ X39) X39))) (let - ((X42 Int (ite X37 X41 X38))) + ((X42 (ite X37 X41 X38))) (let - ((X43 Bool (or X37 X36))) + ((X43 (or X37 X36))) (let ((X44 - Bool (and + (and (= X42 4) (= X22 1)))) (let ((X45 - Int (ite + (ite X44 (ite (= X42 4) 3 X42) X42))) (let ((X46 - Int (ite + (ite X44 (ite (not (= X45 4)) @@ -293,7 +293,7 @@ X45))) (let ((X47 - Int (ite + (ite (not (ite (= @@ -305,14 +305,14 @@ 1))) (let ((X48 - Bool (and + (and (= X46 4) (and (= X47 1) (not X44))))) (let ((X49 - Int (ite + (ite X48 (ite (= X46 4) @@ -321,7 +321,7 @@ X46))) (let ((X50 - Int (ite + (ite X48 (ite (not (= X49 5)) @@ -330,10 +330,10 @@ X49))) (let ((X51 - Bool (or X48 X44))) + (or X48 X44))) (let ((X52 - Int (ite + (ite (not (ite (= @@ -345,14 +345,14 @@ 1))) (let ((X53 - Bool (and + (and (= X50 4) (and (= X52 1) (not X51))))) (let ((X54 - Int (ite + (ite X53 (ite (= X50 4) @@ -361,7 +361,7 @@ X50))) (let ((X55 - Int (ite + (ite X53 (ite (not @@ -371,19 +371,19 @@ X54))) (let ((X56 - Bool (or + (or X53 X51))) (let ((X57 - Bool (and + (and (= X55 6) (and (= X52 0) (not X56))))) (let ((X58 - Int (ite + (ite X57 (ite (= X55 6) @@ -392,7 +392,6 @@ X55))) (let ((X59 - Int (ite X57 (ite @@ -403,13 +402,11 @@ X58))) (let ((X60 - Bool (or X57 X56))) (let ((X61 - Bool (and (= X59 5) (and @@ -417,7 +414,6 @@ (not X60))))) (let ((X62 - Int (ite X61 (ite @@ -427,7 +423,6 @@ X59))) (let ((X63 - Int (ite X61 (ite @@ -530,18 +525,18 @@ (let ((X1 - Int top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_final_state_states___root_a_0)) + top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_final_state_states___root_a_0)) (let - ((X2 Int (ite (not (= X1 1)) 1 X1))) + ((X2 (ite (not (= X1 1)) 1 X1))) (let - ((X3 Bool (or (= X2 1) (and (>= X2 2) (<= X2 8))))) + ((X3 (or (= X2 1) (and (>= X2 2) (<= X2 8))))) (and (= top.usr.OK_a_1 X3) (let - ((X4 Bool (and (not top.usr.decelSet_a_0) top.usr.decelSet_a_1))) + ((X4 (and (not top.usr.decelSet_a_0) top.usr.decelSet_a_1))) (let ((X5 - Bool (and + (and (and (and (and (not top.usr.cancel_a_1) (not top.usr.brakePedal_a_1)) @@ -549,7 +544,7 @@ (ite (>= top.usr.carSpeed_a_1 15.0) true false)) top.usr.validInputs_a_1))) (let - ((X6 Bool (and (not top.usr.accelResume_a_0) top.usr.accelResume_a_1))) + ((X6 (and (not top.usr.accelResume_a_0) top.usr.accelResume_a_1))) (and (= top.impl.usr.cruise_controller_CruiseController_ModeLogic_DelayOnsetDecel_Bounded_Count_Out_a_1 @@ -634,56 +629,56 @@ false top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep_a_0)) (let - ((X7 Int (ite (not top.usr.onOff_a_1) 0 1))) + ((X7 (ite (not top.usr.onOff_a_1) 0 1))) (let ((X8 - Bool (and + (and (and (>= X1 2) (<= X1 8)) (not (ite (not (= X7 0)) true false))))) (let - ((X9 Int (ite X8 (ite (and (>= X1 2) (<= X1 8)) 0 X1) X1))) + ((X9 (ite X8 (ite (and (>= X1 2) (<= X1 8)) 0 X1) X1))) (let - ((X10 Int (ite X8 (ite (not (= X9 1)) 1 X9) X9))) + ((X10 (ite X8 (ite (not (= X9 1)) 1 X9) X9))) (let ((X11 - Bool (and + (and (= X10 1) (and (ite (not (= X7 0)) true false) (not X8))))) (let - ((X12 Int (ite X11 (ite (= X10 1) 0 X10) X10))) + ((X12 (ite X11 (ite (= X10 1) 0 X10) X10))) (let - ((X13 Int (ite (not (and (>= X12 2) (<= X12 8))) 2 X12))) + ((X13 (ite (not (and (>= X12 2) (<= X12 8))) 2 X12))) (let ((X14 - Bool (and + (and (not (and (>= X12 2) (<= X12 8))) (and (>= X13 2) (<= X13 8))))) (let - ((X15 Int (ite X14 (ite (not (= X13 7)) 7 X13) X13))) + ((X15 (ite X14 (ite (not (= X13 7)) 7 X13) X13))) (let - ((X16 Int (ite X11 X15 X12))) + ((X16 (ite X11 X15 X12))) (let - ((X17 Bool (or X11 X8))) + ((X17 (or X11 X8))) (let - ((X18 Int (ite (not X5) 0 1))) + ((X18 (ite (not X5) 0 1))) (let ((X19 - Bool (and + (and (and (>= X16 3) (<= X16 6)) (not (ite (not (= X18 0)) true false))))) (let ((X20 - Int (ite + (ite X19 (ite (and (>= X16 3) (<= X16 6)) 2 X16) X16))) (let - ((X21 Int (ite X19 (ite (not (= X20 8)) 8 X20) X20))) + ((X21 (ite X19 (ite (not (= X20 8)) 8 X20) X20))) (let - ((X22 Int (ite (not X4) 0 1))) + ((X22 (ite (not X4) 0 1))) (let ((X23 - Bool (and + (and (= X21 8) (and (and @@ -697,31 +692,31 @@ false)) (not X19))))) (let - ((X24 Int (ite X23 (ite (= X21 8) 2 X21) X21))) + ((X24 (ite X23 (ite (= X21 8) 2 X21) X21))) (let ((X25 - Int (ite + (ite (not (and (>= X24 3) (<= X24 6))) 3 X24))) (let ((X26 - Bool (and + (and (not (and (>= X24 3) (<= X24 6))) (and (>= X25 3) (<= X25 6))))) (let ((X27 - Int (ite + (ite X26 (ite (not (= X25 4)) 4 X25) X25))) (let - ((X28 Int (ite X23 X27 X24))) + ((X28 (ite X23 X27 X24))) (let - ((X29 Bool (or X23 X19))) + ((X29 (or X23 X19))) (let ((X30 - Bool (and + (and (= X28 8) (and (and @@ -744,32 +739,32 @@ (not X29))))) (let ((X31 - Int (ite X30 (ite (= X28 8) 2 X28) X28))) + (ite X30 (ite (= X28 8) 2 X28) X28))) (let ((X32 - Int (ite + (ite (not (and (>= X31 3) (<= X31 6))) 3 X31))) (let ((X33 - Bool (and + (and (not (and (>= X31 3) (<= X31 6))) (and (>= X32 3) (<= X32 6))))) (let ((X34 - Int (ite + (ite X33 (ite (not (= X32 4)) 4 X32) X32))) (let - ((X35 Int (ite X30 X34 X31))) + ((X35 (ite X30 X34 X31))) (let - ((X36 Bool (or X30 X29))) + ((X36 (or X30 X29))) (let ((X37 - Bool (and + (and (= X35 7) (and (and @@ -796,13 +791,13 @@ (not X36))))) (let ((X38 - Int (ite + (ite X37 (ite (= X35 7) 2 X35) X35))) (let ((X39 - Int (ite + (ite (not (and (>= X38 3) @@ -811,7 +806,7 @@ X38))) (let ((X40 - Bool (and + (and (not (and (>= X38 3) @@ -821,7 +816,7 @@ (<= X39 6))))) (let ((X41 - Int (ite + (ite X40 (ite (not (= X39 4)) @@ -829,23 +824,23 @@ X39) X39))) (let - ((X42 Int (ite X37 X41 X38))) + ((X42 (ite X37 X41 X38))) (let - ((X43 Bool (or X37 X36))) + ((X43 (or X37 X36))) (let ((X44 - Bool (and + (and (= X42 4) (= X22 1)))) (let ((X45 - Int (ite + (ite X44 (ite (= X42 4) 3 X42) X42))) (let ((X46 - Int (ite + (ite X44 (ite (not (= X45 4)) @@ -854,7 +849,7 @@ X45))) (let ((X47 - Int (ite + (ite (not (ite (= @@ -866,14 +861,14 @@ 1))) (let ((X48 - Bool (and + (and (= X46 4) (and (= X47 1) (not X44))))) (let ((X49 - Int (ite + (ite X48 (ite (= X46 4) @@ -882,7 +877,7 @@ X46))) (let ((X50 - Int (ite + (ite X48 (ite (not (= X49 5)) @@ -891,10 +886,10 @@ X49))) (let ((X51 - Bool (or X48 X44))) + (or X48 X44))) (let ((X52 - Int (ite + (ite (not (ite (= @@ -906,14 +901,14 @@ 1))) (let ((X53 - Bool (and + (and (= X50 4) (and (= X52 1) (not X51))))) (let ((X54 - Int (ite + (ite X53 (ite (= X50 4) @@ -922,7 +917,7 @@ X50))) (let ((X55 - Int (ite + (ite X53 (ite (not @@ -932,19 +927,19 @@ X54))) (let ((X56 - Bool (or + (or X53 X51))) (let ((X57 - Bool (and + (and (= X55 6) (and (= X52 0) (not X56))))) (let ((X58 - Int (ite + (ite X57 (ite (= X55 6) @@ -953,7 +948,6 @@ X55))) (let ((X59 - Int (ite X57 (ite @@ -964,13 +958,11 @@ X58))) (let ((X60 - Bool (or X57 X56))) (let ((X61 - Bool (and (= X59 5) (and @@ -978,7 +970,6 @@ (not X60))))) (let ((X62 - Int (ite X61 (ite @@ -988,7 +979,6 @@ X59))) (let ((X63 - Int (ite X61 (ite @@ -1077,22 +1067,6 @@ )) -(declare-primed-var top.usr.onOff Bool) -(declare-primed-var top.usr.decelSet Bool) -(declare-primed-var top.usr.accelResume Bool) -(declare-primed-var top.usr.cancel Bool) -(declare-primed-var top.usr.brakePedal Bool) -(declare-primed-var top.usr.carGear Int) -(declare-primed-var top.usr.carSpeed Real) -(declare-primed-var top.usr.validInputs Bool) -(declare-primed-var top.usr.OK Bool) -(declare-primed-var top.res.init_flag Bool) -(declare-primed-var top.impl.usr.chart_CruiseController_ModeLogic_mode_logic____wakeup___ Bool) -(declare-primed-var top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep Bool) -(declare-primed-var top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_final_state_states___root Int) -(declare-primed-var top.impl.usr.cruise_controller_CruiseController_ModeLogic_DelayOnsetAccel_Bounded_Count_Out Int) -(declare-primed-var top.impl.usr.cruise_controller_CruiseController_ModeLogic_DelayOnsetDecel_Bounded_Count_Out Int) - (define-fun init ( (top.usr.onOff Bool) @@ -1113,18 +1087,18 @@ ) Bool (let - ((X1 Int 0)) + ((X1 0)) (let - ((X2 Int (ite (not (= X1 1)) 1 X1))) + ((X2 (ite (not (= X1 1)) 1 X1))) (let - ((X3 Bool (or (= X2 1) (and (>= X2 2) (<= X2 8))))) + ((X3 (or (= X2 1) (and (>= X2 2) (<= X2 8))))) (and (= top.usr.OK X3) (let - ((X4 Bool false)) + ((X4 false)) (let ((X5 - Bool (and + (and (and (and (and (not top.usr.cancel) (not top.usr.brakePedal)) @@ -1132,7 +1106,7 @@ (ite (>= top.usr.carSpeed 15.0) true false)) top.usr.validInputs))) (let - ((X6 Bool false)) + ((X6 false)) (and (= top.impl.usr.cruise_controller_CruiseController_ModeLogic_DelayOnsetDecel_Bounded_Count_Out @@ -1166,56 +1140,56 @@ top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep true) (let - ((X7 Int (ite (not top.usr.onOff) 0 1))) + ((X7 (ite (not top.usr.onOff) 0 1))) (let ((X8 - Bool (and + (and (and (>= X1 2) (<= X1 8)) (not (ite (not (= X7 0)) true false))))) (let - ((X9 Int (ite X8 (ite (and (>= X1 2) (<= X1 8)) 0 X1) X1))) + ((X9 (ite X8 (ite (and (>= X1 2) (<= X1 8)) 0 X1) X1))) (let - ((X10 Int (ite X8 (ite (not (= X9 1)) 1 X9) X9))) + ((X10 (ite X8 (ite (not (= X9 1)) 1 X9) X9))) (let ((X11 - Bool (and + (and (= X10 1) (and (ite (not (= X7 0)) true false) (not X8))))) (let - ((X12 Int (ite X11 (ite (= X10 1) 0 X10) X10))) + ((X12 (ite X11 (ite (= X10 1) 0 X10) X10))) (let - ((X13 Int (ite (not (and (>= X12 2) (<= X12 8))) 2 X12))) + ((X13 (ite (not (and (>= X12 2) (<= X12 8))) 2 X12))) (let ((X14 - Bool (and + (and (not (and (>= X12 2) (<= X12 8))) (and (>= X13 2) (<= X13 8))))) (let - ((X15 Int (ite X14 (ite (not (= X13 7)) 7 X13) X13))) + ((X15 (ite X14 (ite (not (= X13 7)) 7 X13) X13))) (let - ((X16 Int (ite X11 X15 X12))) + ((X16 (ite X11 X15 X12))) (let - ((X17 Bool (or X11 X8))) + ((X17 (or X11 X8))) (let - ((X18 Int (ite (not X5) 0 1))) + ((X18 (ite (not X5) 0 1))) (let ((X19 - Bool (and + (and (and (>= X16 3) (<= X16 6)) (not (ite (not (= X18 0)) true false))))) (let ((X20 - Int (ite + (ite X19 (ite (and (>= X16 3) (<= X16 6)) 2 X16) X16))) (let - ((X21 Int (ite X19 (ite (not (= X20 8)) 8 X20) X20))) + ((X21 (ite X19 (ite (not (= X20 8)) 8 X20) X20))) (let - ((X22 Int (ite (not X4) 0 1))) + ((X22 (ite (not X4) 0 1))) (let ((X23 - Bool (and + (and (= X21 8) (and (and @@ -1229,31 +1203,31 @@ false)) (not X19))))) (let - ((X24 Int (ite X23 (ite (= X21 8) 2 X21) X21))) + ((X24 (ite X23 (ite (= X21 8) 2 X21) X21))) (let ((X25 - Int (ite + (ite (not (and (>= X24 3) (<= X24 6))) 3 X24))) (let ((X26 - Bool (and + (and (not (and (>= X24 3) (<= X24 6))) (and (>= X25 3) (<= X25 6))))) (let ((X27 - Int (ite + (ite X26 (ite (not (= X25 4)) 4 X25) X25))) (let - ((X28 Int (ite X23 X27 X24))) + ((X28 (ite X23 X27 X24))) (let - ((X29 Bool (or X23 X19))) + ((X29 (or X23 X19))) (let ((X30 - Bool (and + (and (= X28 8) (and (and @@ -1276,32 +1250,32 @@ (not X29))))) (let ((X31 - Int (ite X30 (ite (= X28 8) 2 X28) X28))) + (ite X30 (ite (= X28 8) 2 X28) X28))) (let ((X32 - Int (ite + (ite (not (and (>= X31 3) (<= X31 6))) 3 X31))) (let ((X33 - Bool (and + (and (not (and (>= X31 3) (<= X31 6))) (and (>= X32 3) (<= X32 6))))) (let ((X34 - Int (ite + (ite X33 (ite (not (= X32 4)) 4 X32) X32))) (let - ((X35 Int (ite X30 X34 X31))) + ((X35 (ite X30 X34 X31))) (let - ((X36 Bool (or X30 X29))) + ((X36 (or X30 X29))) (let ((X37 - Bool (and + (and (= X35 7) (and (and @@ -1328,13 +1302,13 @@ (not X36))))) (let ((X38 - Int (ite + (ite X37 (ite (= X35 7) 2 X35) X35))) (let ((X39 - Int (ite + (ite (not (and (>= X38 3) @@ -1343,7 +1317,7 @@ X38))) (let ((X40 - Bool (and + (and (not (and (>= X38 3) @@ -1353,7 +1327,7 @@ (<= X39 6))))) (let ((X41 - Int (ite + (ite X40 (ite (not (= X39 4)) @@ -1361,23 +1335,23 @@ X39) X39))) (let - ((X42 Int (ite X37 X41 X38))) + ((X42 (ite X37 X41 X38))) (let - ((X43 Bool (or X37 X36))) + ((X43 (or X37 X36))) (let ((X44 - Bool (and + (and (= X42 4) (= X22 1)))) (let ((X45 - Int (ite + (ite X44 (ite (= X42 4) 3 X42) X42))) (let ((X46 - Int (ite + (ite X44 (ite (not (= X45 4)) @@ -1386,7 +1360,7 @@ X45))) (let ((X47 - Int (ite + (ite (not (ite (= @@ -1398,14 +1372,14 @@ 1))) (let ((X48 - Bool (and + (and (= X46 4) (and (= X47 1) (not X44))))) (let ((X49 - Int (ite + (ite X48 (ite (= X46 4) @@ -1414,7 +1388,7 @@ X46))) (let ((X50 - Int (ite + (ite X48 (ite (not (= X49 5)) @@ -1423,10 +1397,10 @@ X49))) (let ((X51 - Bool (or X48 X44))) + (or X48 X44))) (let ((X52 - Int (ite + (ite (not (ite (= @@ -1438,14 +1412,14 @@ 1))) (let ((X53 - Bool (and + (and (= X50 4) (and (= X52 1) (not X51))))) (let ((X54 - Int (ite + (ite X53 (ite (= X50 4) @@ -1454,7 +1428,7 @@ X50))) (let ((X55 - Int (ite + (ite X53 (ite (not @@ -1464,19 +1438,19 @@ X54))) (let ((X56 - Bool (or + (or X53 X51))) (let ((X57 - Bool (and + (and (= X55 6) (and (= X52 0) (not X56))))) (let ((X58 - Int (ite + (ite X57 (ite (= X55 6) @@ -1485,7 +1459,6 @@ X55))) (let ((X59 - Int (ite X57 (ite @@ -1496,13 +1469,11 @@ X58))) (let ((X60 - Bool (or X57 X56))) (let ((X61 - Bool (and (= X59 5) (and @@ -1510,7 +1481,6 @@ (not X60))))) (let ((X62 - Int (ite X61 (ite @@ -1520,7 +1490,6 @@ X59))) (let ((X63 - Int (ite X61 (ite @@ -1628,18 +1597,18 @@ (let ((X1 - Int top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_final_state_states___root)) + top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_final_state_states___root)) (let - ((X2 Int (ite (not (= X1 1)) 1 X1))) + ((X2 (ite (not (= X1 1)) 1 X1))) (let - ((X3 Bool (or (= X2 1) (and (>= X2 2) (<= X2 8))))) + ((X3 (or (= X2 1) (and (>= X2 2) (<= X2 8))))) (and (= top.usr.OK! X3) (let - ((X4 Bool (and (not top.usr.decelSet) top.usr.decelSet!))) + ((X4 (and (not top.usr.decelSet) top.usr.decelSet!))) (let ((X5 - Bool (and + (and (and (and (and (not top.usr.cancel!) (not top.usr.brakePedal!)) @@ -1647,7 +1616,7 @@ (ite (>= top.usr.carSpeed! 15.0) true false)) top.usr.validInputs!))) (let - ((X6 Bool (and (not top.usr.accelResume) top.usr.accelResume!))) + ((X6 (and (not top.usr.accelResume) top.usr.accelResume!))) (and (= top.impl.usr.cruise_controller_CruiseController_ModeLogic_DelayOnsetDecel_Bounded_Count_Out! @@ -1732,56 +1701,56 @@ false top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep)) (let - ((X7 Int (ite (not top.usr.onOff!) 0 1))) + ((X7 (ite (not top.usr.onOff!) 0 1))) (let ((X8 - Bool (and + (and (and (>= X1 2) (<= X1 8)) (not (ite (not (= X7 0)) true false))))) (let - ((X9 Int (ite X8 (ite (and (>= X1 2) (<= X1 8)) 0 X1) X1))) + ((X9 (ite X8 (ite (and (>= X1 2) (<= X1 8)) 0 X1) X1))) (let - ((X10 Int (ite X8 (ite (not (= X9 1)) 1 X9) X9))) + ((X10 (ite X8 (ite (not (= X9 1)) 1 X9) X9))) (let ((X11 - Bool (and + (and (= X10 1) (and (ite (not (= X7 0)) true false) (not X8))))) (let - ((X12 Int (ite X11 (ite (= X10 1) 0 X10) X10))) + ((X12 (ite X11 (ite (= X10 1) 0 X10) X10))) (let - ((X13 Int (ite (not (and (>= X12 2) (<= X12 8))) 2 X12))) + ((X13 (ite (not (and (>= X12 2) (<= X12 8))) 2 X12))) (let ((X14 - Bool (and + (and (not (and (>= X12 2) (<= X12 8))) (and (>= X13 2) (<= X13 8))))) (let - ((X15 Int (ite X14 (ite (not (= X13 7)) 7 X13) X13))) + ((X15 (ite X14 (ite (not (= X13 7)) 7 X13) X13))) (let - ((X16 Int (ite X11 X15 X12))) + ((X16 (ite X11 X15 X12))) (let - ((X17 Bool (or X11 X8))) + ((X17 (or X11 X8))) (let - ((X18 Int (ite (not X5) 0 1))) + ((X18 (ite (not X5) 0 1))) (let ((X19 - Bool (and + (and (and (>= X16 3) (<= X16 6)) (not (ite (not (= X18 0)) true false))))) (let ((X20 - Int (ite + (ite X19 (ite (and (>= X16 3) (<= X16 6)) 2 X16) X16))) (let - ((X21 Int (ite X19 (ite (not (= X20 8)) 8 X20) X20))) + ((X21 (ite X19 (ite (not (= X20 8)) 8 X20) X20))) (let - ((X22 Int (ite (not X4) 0 1))) + ((X22 (ite (not X4) 0 1))) (let ((X23 - Bool (and + (and (= X21 8) (and (and @@ -1795,31 +1764,31 @@ false)) (not X19))))) (let - ((X24 Int (ite X23 (ite (= X21 8) 2 X21) X21))) + ((X24 (ite X23 (ite (= X21 8) 2 X21) X21))) (let ((X25 - Int (ite + (ite (not (and (>= X24 3) (<= X24 6))) 3 X24))) (let ((X26 - Bool (and + (and (not (and (>= X24 3) (<= X24 6))) (and (>= X25 3) (<= X25 6))))) (let ((X27 - Int (ite + (ite X26 (ite (not (= X25 4)) 4 X25) X25))) (let - ((X28 Int (ite X23 X27 X24))) + ((X28 (ite X23 X27 X24))) (let - ((X29 Bool (or X23 X19))) + ((X29 (or X23 X19))) (let ((X30 - Bool (and + (and (= X28 8) (and (and @@ -1842,32 +1811,32 @@ (not X29))))) (let ((X31 - Int (ite X30 (ite (= X28 8) 2 X28) X28))) + (ite X30 (ite (= X28 8) 2 X28) X28))) (let ((X32 - Int (ite + (ite (not (and (>= X31 3) (<= X31 6))) 3 X31))) (let ((X33 - Bool (and + (and (not (and (>= X31 3) (<= X31 6))) (and (>= X32 3) (<= X32 6))))) (let ((X34 - Int (ite + (ite X33 (ite (not (= X32 4)) 4 X32) X32))) (let - ((X35 Int (ite X30 X34 X31))) + ((X35 (ite X30 X34 X31))) (let - ((X36 Bool (or X30 X29))) + ((X36 (or X30 X29))) (let ((X37 - Bool (and + (and (= X35 7) (and (and @@ -1894,13 +1863,13 @@ (not X36))))) (let ((X38 - Int (ite + (ite X37 (ite (= X35 7) 2 X35) X35))) (let ((X39 - Int (ite + (ite (not (and (>= X38 3) @@ -1909,7 +1878,7 @@ X38))) (let ((X40 - Bool (and + (and (not (and (>= X38 3) @@ -1919,7 +1888,7 @@ (<= X39 6))))) (let ((X41 - Int (ite + (ite X40 (ite (not (= X39 4)) @@ -1927,23 +1896,23 @@ X39) X39))) (let - ((X42 Int (ite X37 X41 X38))) + ((X42 (ite X37 X41 X38))) (let - ((X43 Bool (or X37 X36))) + ((X43 (or X37 X36))) (let ((X44 - Bool (and + (and (= X42 4) (= X22 1)))) (let ((X45 - Int (ite + (ite X44 (ite (= X42 4) 3 X42) X42))) (let ((X46 - Int (ite + (ite X44 (ite (not (= X45 4)) @@ -1952,7 +1921,7 @@ X45))) (let ((X47 - Int (ite + (ite (not (ite (= @@ -1964,14 +1933,14 @@ 1))) (let ((X48 - Bool (and + (and (= X46 4) (and (= X47 1) (not X44))))) (let ((X49 - Int (ite + (ite X48 (ite (= X46 4) @@ -1980,7 +1949,7 @@ X46))) (let ((X50 - Int (ite + (ite X48 (ite (not (= X49 5)) @@ -1989,10 +1958,10 @@ X49))) (let ((X51 - Bool (or X48 X44))) + (or X48 X44))) (let ((X52 - Int (ite + (ite (not (ite (= @@ -2004,14 +1973,14 @@ 1))) (let ((X53 - Bool (and + (and (= X50 4) (and (= X52 1) (not X51))))) (let ((X54 - Int (ite + (ite X53 (ite (= X50 4) @@ -2020,7 +1989,7 @@ X50))) (let ((X55 - Int (ite + (ite X53 (ite (not @@ -2030,19 +1999,19 @@ X54))) (let ((X56 - Bool (or + (or X53 X51))) (let ((X57 - Bool (and + (and (= X55 6) (and (= X52 0) (not X56))))) (let ((X58 - Int (ite + (ite X57 (ite (= X55 6) @@ -2051,7 +2020,6 @@ X55))) (let ((X59 - Int (ite X57 (ite @@ -2062,13 +2030,11 @@ X58))) (let ((X60 - Bool (or X57 X56))) (let ((X61 - Bool (and (= X59 5) (and @@ -2076,7 +2042,6 @@ (not X60))))) (let ((X62 - Int (ite X61 (ite @@ -2086,7 +2051,6 @@ X59))) (let ((X63 - Int (ite X61 (ite diff --git a/lib-nonconforming/Inv_Track/andrew_lustre/cruise_controller_06.lus.sl b/lib/Inv_Track/andrew_lustre/cruise_controller_06.lus.sl similarity index 92% rename from lib-nonconforming/Inv_Track/andrew_lustre/cruise_controller_06.lus.sl rename to lib/Inv_Track/andrew_lustre/cruise_controller_06.lus.sl index 1624d67b..1cfdf0ea 100644 --- a/lib-nonconforming/Inv_Track/andrew_lustre/cruise_controller_06.lus.sl +++ b/lib/Inv_Track/andrew_lustre/cruise_controller_06.lus.sl @@ -31,12 +31,12 @@ ) Bool (let - ((X1 Real 0.0)) + ((X1 0.0)) (let - ((X2 Bool false)) + ((X2 false)) (let ((X3 - Bool (and + (and (and (and (and (not top.usr.cancel_a_0) (not top.usr.brakePedal_a_0)) @@ -44,7 +44,7 @@ (ite (>= top.usr.carSpeed_a_0 15.0) true false)) top.usr.validInputs_a_0))) (let - ((X4 Bool false)) + ((X4 false)) (and (= top.impl.usr.cruise_controller_CruiseController_ModeLogic_DelayOnsetDecel_Bounded_Count_Out_a_0 @@ -75,73 +75,73 @@ (ite top.usr.accelResume_a_0 1 0)) 20)) (let - ((X5 Int 0)) + ((X5 0)) (let - ((X6 Int 0)) + ((X6 0)) (and (= top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep_a_0 true) (let - ((X7 Int (ite (not top.usr.onOff_a_0) 0 1))) + ((X7 (ite (not top.usr.onOff_a_0) 0 1))) (let ((X8 - Bool (and + (and (and (>= X6 2) (<= X6 8)) (not (ite (not (= X7 0)) true false))))) (let - ((X9 Int (ite X8 (ite (and (>= X6 2) (<= X6 8)) 0 X6) X6))) + ((X9 (ite X8 (ite (and (>= X6 2) (<= X6 8)) 0 X6) X6))) (let - ((X10 Int (ite X8 (ite (not (= X9 1)) 1 X5) X5))) + ((X10 (ite X8 (ite (not (= X9 1)) 1 X5) X5))) (let - ((X11 Int (ite X8 (ite (not (= X9 1)) 1 X9) X9))) + ((X11 (ite X8 (ite (not (= X9 1)) 1 X9) X9))) (let ((X12 - Bool (and + (and (= X11 1) (and (ite (not (= X7 0)) true false) (not X8))))) (let - ((X13 Int (ite X12 (ite (= X11 1) 0 X11) X11))) + ((X13 (ite X12 (ite (= X11 1) 0 X11) X11))) (let - ((X14 Int (ite (not (and (>= X13 2) (<= X13 8))) 2 X13))) + ((X14 (ite (not (and (>= X13 2) (<= X13 8))) 2 X13))) (let ((X15 - Bool (and + (and (not (and (>= X13 2) (<= X13 8))) (and (>= X14 2) (<= X14 8))))) (let ((X16 - Int (ite + (ite X12 (ite X15 (ite (not (= X14 7)) 2 X10) X10) X10))) (let - ((X17 Int (ite X15 (ite (not (= X14 7)) 7 X14) X14))) + ((X17 (ite X15 (ite (not (= X14 7)) 7 X14) X14))) (let - ((X18 Int (ite X12 X17 X13))) + ((X18 (ite X12 X17 X13))) (let - ((X19 Bool (or X12 X8))) + ((X19 (or X12 X8))) (let - ((X20 Int (ite (not X3) 0 1))) + ((X20 (ite (not X3) 0 1))) (let ((X21 - Bool (and + (and (and (>= X18 3) (<= X18 6)) (not (ite (not (= X20 0)) true false))))) (let ((X22 - Int (ite + (ite X21 (ite (and (>= X18 3) (<= X18 6)) 2 X18) X18))) (let ((X23 - Int (ite X21 (ite (not (= X22 8)) 8 X22) X22))) + (ite X21 (ite (not (= X22 8)) 8 X22) X22))) (let - ((X24 Int (ite (not X2) 0 1))) + ((X24 (ite (not X2) 0 1))) (let ((X25 - Bool (and + (and (= X23 8) (and (and @@ -155,31 +155,31 @@ false)) (not X21))))) (let - ((X26 Int (ite X25 (ite (= X23 8) 2 X23) X23))) + ((X26 (ite X25 (ite (= X23 8) 2 X23) X23))) (let ((X27 - Int (ite + (ite (not (and (>= X26 3) (<= X26 6))) 3 X26))) (let ((X28 - Bool (and + (and (not (and (>= X26 3) (<= X26 6))) (and (>= X27 3) (<= X27 6))))) (let ((X29 - Int (ite + (ite X28 (ite (not (= X27 4)) 4 X27) X27))) (let - ((X30 Int (ite X25 X29 X26))) + ((X30 (ite X25 X29 X26))) (let - ((X31 Bool (or X25 X21))) + ((X31 (or X25 X21))) (let ((X32 - Bool (and + (and (= X30 8) (and (and @@ -204,36 +204,36 @@ (not X31))))) (let ((X33 - Int (ite + (ite X32 (ite (= X30 8) 2 X30) X30))) (let ((X34 - Int (ite + (ite (not (and (>= X33 3) (<= X33 6))) 3 X33))) (let ((X35 - Bool (and + (and (not (and (>= X33 3) (<= X33 6))) (and (>= X34 3) (<= X34 6))))) (let ((X36 - Int (ite + (ite X35 (ite (not (= X34 4)) 4 X34) X34))) (let - ((X37 Int (ite X32 X36 X33))) + ((X37 (ite X32 X36 X33))) (let - ((X38 Bool (or X32 X31))) + ((X38 (or X32 X31))) (let ((X39 - Bool (and + (and (= X37 7) (and (and @@ -260,13 +260,13 @@ (not X38))))) (let ((X40 - Int (ite + (ite X39 (ite (= X37 7) 2 X37) X37))) (let ((X41 - Int (ite + (ite X21 (ite (not (= X22 8)) @@ -275,7 +275,7 @@ X16))) (let ((X42 - Int (ite + (ite X25 (ite X28 @@ -287,7 +287,7 @@ X41))) (let ((X43 - Int (ite + (ite X32 (ite X35 @@ -299,7 +299,7 @@ X42))) (let ((X44 - Int (ite + (ite (not (and (>= X40 3) @@ -308,7 +308,7 @@ X40))) (let ((X45 - Bool (and + (and (not (and (>= X40 3) @@ -318,7 +318,7 @@ (<= X44 6))))) (let ((X46 - Int (ite + (ite X39 (ite X45 @@ -330,7 +330,7 @@ X43))) (let ((X47 - Int (ite + (ite X45 (ite (not (= X44 4)) @@ -339,17 +339,17 @@ X44))) (let ((X48 - Int (ite X39 X47 X40))) + (ite X39 X47 X40))) (let - ((X49 Bool (or X39 X38))) + ((X49 (or X39 X38))) (let ((X50 - Bool (and + (and (= X48 4) (= X24 1)))) (let ((X51 - Int (ite + (ite X50 (ite (= X48 4) @@ -358,7 +358,7 @@ X48))) (let ((X52 - Int (ite + (ite X50 (ite (not @@ -368,7 +368,7 @@ X51))) (let ((X53 - Int (ite + (ite (not (ite (= @@ -380,14 +380,14 @@ 1))) (let ((X54 - Bool (and + (and (= X52 4) (and (= X53 1) (not X50))))) (let ((X55 - Int (ite + (ite X54 (ite (= X52 4) @@ -396,7 +396,7 @@ X52))) (let ((X56 - Int (ite + (ite X54 (ite (not @@ -406,12 +406,12 @@ X55))) (let ((X57 - Bool (or + (or X54 X50))) (let ((X58 - Int (ite + (ite (not (ite (= @@ -423,7 +423,6 @@ 1))) (let ((X59 - Bool (and (= X56 4) (and @@ -431,7 +430,6 @@ (not X57))))) (let ((X60 - Int (ite X59 (ite @@ -441,7 +439,6 @@ X56))) (let ((X61 - Int (ite X59 (ite @@ -452,13 +449,11 @@ X60))) (let ((X62 - Bool (or X59 X57))) (let ((X63 - Bool (and (= X61 6) (and @@ -466,7 +461,6 @@ (not X62))))) (let ((X64 - Int (ite X63 (ite @@ -476,7 +470,6 @@ X61))) (let ((X65 - Int (ite X63 (ite @@ -487,13 +480,11 @@ X64))) (let ((X66 - Bool (or X63 X62))) (let ((X67 - Bool (and (= X65 5) (and @@ -501,7 +492,6 @@ (not X66))))) (let ((X68 - Int (ite X67 (ite @@ -511,7 +501,6 @@ X65))) (let ((X69 - Int (ite X50 (ite @@ -522,7 +511,6 @@ X46))) (let ((X70 - Int (ite X54 (ite @@ -533,7 +521,6 @@ X69))) (let ((X71 - Int (ite X59 (ite @@ -544,7 +531,6 @@ X70))) (let ((X72 - Int (ite X63 (ite @@ -620,7 +606,7 @@ 0.0 (+ X1 - (/ 1 20)))) + (/ 1.0 20.0)))) (= top.impl.usr.rlt_condact_cruise_controller_CruiseController_SetDesiredSpeed_computeDecreaseInDesiredSpeed_rlt_init_step_a_0 true) @@ -642,7 +628,7 @@ 0.0 (- X1 - (/ 1 20)))) + (/ 1.0 20.0)))) (= top.impl.usr.cruise_controller_CruiseController_SetDesiredSpeed_IncreaseDesiredSpeed_a_0 (ite @@ -680,10 +666,9 @@ 0.0))))) (let ((X73 - Int 0)) + 0)) (let ((X74 - Int (ite X8 (ite @@ -703,7 +688,6 @@ X73))) (let ((X75 - Int (ite X39 1 @@ -728,7 +712,6 @@ X74))))) (let ((X76 - Int (ite X67 (ite @@ -739,14 +722,12 @@ X68))) (let ((X77 - Int (ite X50 1 X75))) (let ((X78 - Int (ite X54 (ite @@ -897,7 +878,6 @@ 0.0)) (let ((X79 - Real (ite (or (or @@ -943,7 +923,6 @@ 100.0))) (let ((X80 - Int (ite (not (= X6 1)) @@ -1062,7 +1041,7 @@ (let ((X1 - Real (ite + (ite (< (ite top.impl.usr.cruise_controller_CruiseController_SetDesiredSpeed_setDesiredSpeed_a_0 @@ -1083,10 +1062,10 @@ top.usr.carSpeed_a_0 top.impl.usr.cruise_controller_CruiseController_SetDesiredSpeed_IncreaseDesiredSpeed_a_0))))) (let - ((X2 Bool (and (not top.usr.decelSet_a_0) top.usr.decelSet_a_1))) + ((X2 (and (not top.usr.decelSet_a_0) top.usr.decelSet_a_1))) (let ((X3 - Bool (and + (and (and (and (and (not top.usr.cancel_a_1) (not top.usr.brakePedal_a_1)) @@ -1094,7 +1073,7 @@ (ite (>= top.usr.carSpeed_a_1 15.0) true false)) top.usr.validInputs_a_1))) (let - ((X4 Bool (and (not top.usr.accelResume_a_0) top.usr.accelResume_a_1))) + ((X4 (and (not top.usr.accelResume_a_0) top.usr.accelResume_a_1))) (and (= top.impl.usr.cruise_controller_CruiseController_ModeLogic_DelayOnsetDecel_Bounded_Count_Out_a_1 @@ -1173,10 +1152,10 @@ 0)) 20)) (let - ((X5 Int top.impl.usr.mode_a_0)) + ((X5 top.impl.usr.mode_a_0)) (let ((X6 - Int top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_final_state_states___root_a_0)) + top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_final_state_states___root_a_0)) (and (= top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep_a_1 @@ -1185,65 +1164,65 @@ false top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep_a_0)) (let - ((X7 Int (ite (not top.usr.onOff_a_1) 0 1))) + ((X7 (ite (not top.usr.onOff_a_1) 0 1))) (let ((X8 - Bool (and + (and (and (>= X6 2) (<= X6 8)) (not (ite (not (= X7 0)) true false))))) (let - ((X9 Int (ite X8 (ite (and (>= X6 2) (<= X6 8)) 0 X6) X6))) + ((X9 (ite X8 (ite (and (>= X6 2) (<= X6 8)) 0 X6) X6))) (let - ((X10 Int (ite X8 (ite (not (= X9 1)) 1 X5) X5))) + ((X10 (ite X8 (ite (not (= X9 1)) 1 X5) X5))) (let - ((X11 Int (ite X8 (ite (not (= X9 1)) 1 X9) X9))) + ((X11 (ite X8 (ite (not (= X9 1)) 1 X9) X9))) (let ((X12 - Bool (and + (and (= X11 1) (and (ite (not (= X7 0)) true false) (not X8))))) (let - ((X13 Int (ite X12 (ite (= X11 1) 0 X11) X11))) + ((X13 (ite X12 (ite (= X11 1) 0 X11) X11))) (let - ((X14 Int (ite (not (and (>= X13 2) (<= X13 8))) 2 X13))) + ((X14 (ite (not (and (>= X13 2) (<= X13 8))) 2 X13))) (let ((X15 - Bool (and + (and (not (and (>= X13 2) (<= X13 8))) (and (>= X14 2) (<= X14 8))))) (let ((X16 - Int (ite + (ite X12 (ite X15 (ite (not (= X14 7)) 2 X10) X10) X10))) (let - ((X17 Int (ite X15 (ite (not (= X14 7)) 7 X14) X14))) + ((X17 (ite X15 (ite (not (= X14 7)) 7 X14) X14))) (let - ((X18 Int (ite X12 X17 X13))) + ((X18 (ite X12 X17 X13))) (let - ((X19 Bool (or X12 X8))) + ((X19 (or X12 X8))) (let - ((X20 Int (ite (not X3) 0 1))) + ((X20 (ite (not X3) 0 1))) (let ((X21 - Bool (and + (and (and (>= X18 3) (<= X18 6)) (not (ite (not (= X20 0)) true false))))) (let ((X22 - Int (ite + (ite X21 (ite (and (>= X18 3) (<= X18 6)) 2 X18) X18))) (let ((X23 - Int (ite X21 (ite (not (= X22 8)) 8 X22) X22))) + (ite X21 (ite (not (= X22 8)) 8 X22) X22))) (let - ((X24 Int (ite (not X2) 0 1))) + ((X24 (ite (not X2) 0 1))) (let ((X25 - Bool (and + (and (= X23 8) (and (and @@ -1257,31 +1236,31 @@ false)) (not X21))))) (let - ((X26 Int (ite X25 (ite (= X23 8) 2 X23) X23))) + ((X26 (ite X25 (ite (= X23 8) 2 X23) X23))) (let ((X27 - Int (ite + (ite (not (and (>= X26 3) (<= X26 6))) 3 X26))) (let ((X28 - Bool (and + (and (not (and (>= X26 3) (<= X26 6))) (and (>= X27 3) (<= X27 6))))) (let ((X29 - Int (ite + (ite X28 (ite (not (= X27 4)) 4 X27) X27))) (let - ((X30 Int (ite X25 X29 X26))) + ((X30 (ite X25 X29 X26))) (let - ((X31 Bool (or X25 X21))) + ((X31 (or X25 X21))) (let ((X32 - Bool (and + (and (= X30 8) (and (and @@ -1306,36 +1285,36 @@ (not X31))))) (let ((X33 - Int (ite + (ite X32 (ite (= X30 8) 2 X30) X30))) (let ((X34 - Int (ite + (ite (not (and (>= X33 3) (<= X33 6))) 3 X33))) (let ((X35 - Bool (and + (and (not (and (>= X33 3) (<= X33 6))) (and (>= X34 3) (<= X34 6))))) (let ((X36 - Int (ite + (ite X35 (ite (not (= X34 4)) 4 X34) X34))) (let - ((X37 Int (ite X32 X36 X33))) + ((X37 (ite X32 X36 X33))) (let - ((X38 Bool (or X32 X31))) + ((X38 (or X32 X31))) (let ((X39 - Bool (and + (and (= X37 7) (and (and @@ -1362,13 +1341,13 @@ (not X38))))) (let ((X40 - Int (ite + (ite X39 (ite (= X37 7) 2 X37) X37))) (let ((X41 - Int (ite + (ite X21 (ite (not (= X22 8)) @@ -1377,7 +1356,7 @@ X16))) (let ((X42 - Int (ite + (ite X25 (ite X28 @@ -1389,7 +1368,7 @@ X41))) (let ((X43 - Int (ite + (ite X32 (ite X35 @@ -1401,7 +1380,7 @@ X42))) (let ((X44 - Int (ite + (ite (not (and (>= X40 3) @@ -1410,7 +1389,7 @@ X40))) (let ((X45 - Bool (and + (and (not (and (>= X40 3) @@ -1420,7 +1399,7 @@ (<= X44 6))))) (let ((X46 - Int (ite + (ite X39 (ite X45 @@ -1432,7 +1411,7 @@ X43))) (let ((X47 - Int (ite + (ite X45 (ite (not (= X44 4)) @@ -1441,17 +1420,17 @@ X44))) (let ((X48 - Int (ite X39 X47 X40))) + (ite X39 X47 X40))) (let - ((X49 Bool (or X39 X38))) + ((X49 (or X39 X38))) (let ((X50 - Bool (and + (and (= X48 4) (= X24 1)))) (let ((X51 - Int (ite + (ite X50 (ite (= X48 4) @@ -1460,7 +1439,7 @@ X48))) (let ((X52 - Int (ite + (ite X50 (ite (not @@ -1470,7 +1449,7 @@ X51))) (let ((X53 - Int (ite + (ite (not (ite (= @@ -1482,14 +1461,14 @@ 1))) (let ((X54 - Bool (and + (and (= X52 4) (and (= X53 1) (not X50))))) (let ((X55 - Int (ite + (ite X54 (ite (= X52 4) @@ -1498,7 +1477,7 @@ X52))) (let ((X56 - Int (ite + (ite X54 (ite (not @@ -1508,12 +1487,12 @@ X55))) (let ((X57 - Bool (or + (or X54 X50))) (let ((X58 - Int (ite + (ite (not (ite (= @@ -1525,7 +1504,6 @@ 1))) (let ((X59 - Bool (and (= X56 4) (and @@ -1533,7 +1511,6 @@ (not X57))))) (let ((X60 - Int (ite X59 (ite @@ -1543,7 +1520,6 @@ X56))) (let ((X61 - Int (ite X59 (ite @@ -1554,13 +1530,11 @@ X60))) (let ((X62 - Bool (or X59 X57))) (let ((X63 - Bool (and (= X61 6) (and @@ -1568,7 +1542,6 @@ (not X62))))) (let ((X64 - Int (ite X63 (ite @@ -1578,7 +1551,6 @@ X61))) (let ((X65 - Int (ite X63 (ite @@ -1589,13 +1561,11 @@ X64))) (let ((X66 - Bool (or X63 X62))) (let ((X67 - Bool (and (= X65 5) (and @@ -1603,7 +1573,6 @@ (not X66))))) (let ((X68 - Int (ite X67 (ite @@ -1613,7 +1582,6 @@ X65))) (let ((X69 - Int (ite X50 (ite @@ -1624,7 +1592,6 @@ X46))) (let ((X70 - Int (ite X54 (ite @@ -1635,7 +1602,6 @@ X69))) (let ((X71 - Int (ite X59 (ite @@ -1646,7 +1612,6 @@ X70))) (let ((X72 - Int (ite X63 (ite @@ -1727,7 +1692,7 @@ top.impl.usr.rlt_condact_cruise_controller_CruiseController_SetDesiredSpeed_computeIncreaseInDesiredSpeed_rlt_clock_a_1 (+ X1 - (/ 1 20)) + (/ 1.0 20.0)) top.impl.usr.newDesiredSpeed_a_0))) (= top.impl.usr.rlt_condact_cruise_controller_CruiseController_SetDesiredSpeed_computeDecreaseInDesiredSpeed_rlt_init_step_a_1 @@ -1755,7 +1720,7 @@ top.impl.usr.rlt_condact_cruise_controller_CruiseController_SetDesiredSpeed_computeDecreaseInDesiredSpeed_rlt_clock_a_1 (- X1 - (/ 1 20)) + (/ 1.0 20.0)) top.impl.usr.newDesiredSpeed1_a_0))) (= top.impl.usr.cruise_controller_CruiseController_SetDesiredSpeed_IncreaseDesiredSpeed_a_1 @@ -1794,10 +1759,9 @@ 0.0))))) (let ((X73 - Int top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_setDesiredSpeed_a_0)) + top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_setDesiredSpeed_a_0)) (let ((X74 - Int (ite X8 (ite @@ -1817,7 +1781,6 @@ X73))) (let ((X75 - Int (ite X39 1 @@ -1842,7 +1805,6 @@ X74))))) (let ((X76 - Int (ite X67 (ite @@ -1853,14 +1815,12 @@ X68))) (let ((X77 - Int (ite X50 1 X75))) (let ((X78 - Int (ite X54 (ite @@ -2043,7 +2003,6 @@ 0.0))) (let ((X79 - Real (ite (or (or @@ -2089,7 +2048,6 @@ 100.0))) (let ((X80 - Int (ite (not (= X6 1)) @@ -2183,33 +2141,6 @@ )) -(declare-primed-var top.usr.onOff Bool) -(declare-primed-var top.usr.decelSet Bool) -(declare-primed-var top.usr.accelResume Bool) -(declare-primed-var top.usr.cancel Bool) -(declare-primed-var top.usr.brakePedal Bool) -(declare-primed-var top.usr.carGear Int) -(declare-primed-var top.usr.carSpeed Real) -(declare-primed-var top.usr.validInputs Bool) -(declare-primed-var top.usr.OK Bool) -(declare-primed-var top.res.init_flag Bool) -(declare-primed-var top.impl.usr.mode Int) -(declare-primed-var top.impl.usr.rlt_condact_cruise_controller_CruiseController_SetDesiredSpeed_computeDecreaseInDesiredSpeed_rlt_clock Bool) -(declare-primed-var top.impl.usr.rlt_condact_cruise_controller_CruiseController_SetDesiredSpeed_computeDecreaseInDesiredSpeed_rlt_init_step Bool) -(declare-primed-var top.impl.usr.newDesiredSpeed1 Real) -(declare-primed-var top.impl.usr.rlt_condact_cruise_controller_CruiseController_SetDesiredSpeed_computeIncreaseInDesiredSpeed_rlt_clock Bool) -(declare-primed-var top.impl.usr.rlt_condact_cruise_controller_CruiseController_SetDesiredSpeed_computeIncreaseInDesiredSpeed_rlt_init_step Bool) -(declare-primed-var top.impl.usr.newDesiredSpeed Real) -(declare-primed-var top.impl.usr.chart_CruiseController_ModeLogic_mode_logic____wakeup___ Bool) -(declare-primed-var top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep Bool) -(declare-primed-var top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_final_state_states___root Int) -(declare-primed-var top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_setDesiredSpeed Int) -(declare-primed-var top.impl.usr.cruise_controller_CruiseController_ModeLogic_DelayOnsetAccel_Bounded_Count_Out Int) -(declare-primed-var top.impl.usr.cruise_controller_CruiseController_ModeLogic_DelayOnsetDecel_Bounded_Count_Out Int) -(declare-primed-var top.impl.usr.cruise_controller_CruiseController_SetDesiredSpeed_setDesiredSpeed Bool) -(declare-primed-var top.impl.usr.cruise_controller_CruiseController_SetDesiredSpeed_IncreaseDesiredSpeed Real) -(declare-primed-var top.impl.usr.cruise_controller_CruiseController_SetThrottle_cruiseThrottlePrevPlusDelta Real) - (define-fun init ( (top.usr.onOff Bool) @@ -2241,12 +2172,12 @@ ) Bool (let - ((X1 Real 0.0)) + ((X1 0.0)) (let - ((X2 Bool false)) + ((X2 false)) (let ((X3 - Bool (and + (and (and (and (and (not top.usr.cancel) (not top.usr.brakePedal)) @@ -2254,7 +2185,7 @@ (ite (>= top.usr.carSpeed 15.0) true false)) top.usr.validInputs))) (let - ((X4 Bool false)) + ((X4 false)) (and (= top.impl.usr.cruise_controller_CruiseController_ModeLogic_DelayOnsetDecel_Bounded_Count_Out @@ -2282,73 +2213,73 @@ (ite top.usr.accelResume 1 0)) 20)) (let - ((X5 Int 0)) + ((X5 0)) (let - ((X6 Int 0)) + ((X6 0)) (and (= top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep true) (let - ((X7 Int (ite (not top.usr.onOff) 0 1))) + ((X7 (ite (not top.usr.onOff) 0 1))) (let ((X8 - Bool (and + (and (and (>= X6 2) (<= X6 8)) (not (ite (not (= X7 0)) true false))))) (let - ((X9 Int (ite X8 (ite (and (>= X6 2) (<= X6 8)) 0 X6) X6))) + ((X9 (ite X8 (ite (and (>= X6 2) (<= X6 8)) 0 X6) X6))) (let - ((X10 Int (ite X8 (ite (not (= X9 1)) 1 X5) X5))) + ((X10 (ite X8 (ite (not (= X9 1)) 1 X5) X5))) (let - ((X11 Int (ite X8 (ite (not (= X9 1)) 1 X9) X9))) + ((X11 (ite X8 (ite (not (= X9 1)) 1 X9) X9))) (let ((X12 - Bool (and + (and (= X11 1) (and (ite (not (= X7 0)) true false) (not X8))))) (let - ((X13 Int (ite X12 (ite (= X11 1) 0 X11) X11))) + ((X13 (ite X12 (ite (= X11 1) 0 X11) X11))) (let - ((X14 Int (ite (not (and (>= X13 2) (<= X13 8))) 2 X13))) + ((X14 (ite (not (and (>= X13 2) (<= X13 8))) 2 X13))) (let ((X15 - Bool (and + (and (not (and (>= X13 2) (<= X13 8))) (and (>= X14 2) (<= X14 8))))) (let ((X16 - Int (ite + (ite X12 (ite X15 (ite (not (= X14 7)) 2 X10) X10) X10))) (let - ((X17 Int (ite X15 (ite (not (= X14 7)) 7 X14) X14))) + ((X17 (ite X15 (ite (not (= X14 7)) 7 X14) X14))) (let - ((X18 Int (ite X12 X17 X13))) + ((X18 (ite X12 X17 X13))) (let - ((X19 Bool (or X12 X8))) + ((X19 (or X12 X8))) (let - ((X20 Int (ite (not X3) 0 1))) + ((X20 (ite (not X3) 0 1))) (let ((X21 - Bool (and + (and (and (>= X18 3) (<= X18 6)) (not (ite (not (= X20 0)) true false))))) (let ((X22 - Int (ite + (ite X21 (ite (and (>= X18 3) (<= X18 6)) 2 X18) X18))) (let ((X23 - Int (ite X21 (ite (not (= X22 8)) 8 X22) X22))) + (ite X21 (ite (not (= X22 8)) 8 X22) X22))) (let - ((X24 Int (ite (not X2) 0 1))) + ((X24 (ite (not X2) 0 1))) (let ((X25 - Bool (and + (and (= X23 8) (and (and @@ -2362,31 +2293,31 @@ false)) (not X21))))) (let - ((X26 Int (ite X25 (ite (= X23 8) 2 X23) X23))) + ((X26 (ite X25 (ite (= X23 8) 2 X23) X23))) (let ((X27 - Int (ite + (ite (not (and (>= X26 3) (<= X26 6))) 3 X26))) (let ((X28 - Bool (and + (and (not (and (>= X26 3) (<= X26 6))) (and (>= X27 3) (<= X27 6))))) (let ((X29 - Int (ite + (ite X28 (ite (not (= X27 4)) 4 X27) X27))) (let - ((X30 Int (ite X25 X29 X26))) + ((X30 (ite X25 X29 X26))) (let - ((X31 Bool (or X25 X21))) + ((X31 (or X25 X21))) (let ((X32 - Bool (and + (and (= X30 8) (and (and @@ -2411,36 +2342,36 @@ (not X31))))) (let ((X33 - Int (ite + (ite X32 (ite (= X30 8) 2 X30) X30))) (let ((X34 - Int (ite + (ite (not (and (>= X33 3) (<= X33 6))) 3 X33))) (let ((X35 - Bool (and + (and (not (and (>= X33 3) (<= X33 6))) (and (>= X34 3) (<= X34 6))))) (let ((X36 - Int (ite + (ite X35 (ite (not (= X34 4)) 4 X34) X34))) (let - ((X37 Int (ite X32 X36 X33))) + ((X37 (ite X32 X36 X33))) (let - ((X38 Bool (or X32 X31))) + ((X38 (or X32 X31))) (let ((X39 - Bool (and + (and (= X37 7) (and (and @@ -2467,13 +2398,13 @@ (not X38))))) (let ((X40 - Int (ite + (ite X39 (ite (= X37 7) 2 X37) X37))) (let ((X41 - Int (ite + (ite X21 (ite (not (= X22 8)) @@ -2482,7 +2413,7 @@ X16))) (let ((X42 - Int (ite + (ite X25 (ite X28 @@ -2494,7 +2425,7 @@ X41))) (let ((X43 - Int (ite + (ite X32 (ite X35 @@ -2506,7 +2437,7 @@ X42))) (let ((X44 - Int (ite + (ite (not (and (>= X40 3) @@ -2515,7 +2446,7 @@ X40))) (let ((X45 - Bool (and + (and (not (and (>= X40 3) @@ -2525,7 +2456,7 @@ (<= X44 6))))) (let ((X46 - Int (ite + (ite X39 (ite X45 @@ -2537,7 +2468,7 @@ X43))) (let ((X47 - Int (ite + (ite X45 (ite (not (= X44 4)) @@ -2546,17 +2477,17 @@ X44))) (let ((X48 - Int (ite X39 X47 X40))) + (ite X39 X47 X40))) (let - ((X49 Bool (or X39 X38))) + ((X49 (or X39 X38))) (let ((X50 - Bool (and + (and (= X48 4) (= X24 1)))) (let ((X51 - Int (ite + (ite X50 (ite (= X48 4) @@ -2565,7 +2496,7 @@ X48))) (let ((X52 - Int (ite + (ite X50 (ite (not @@ -2575,7 +2506,7 @@ X51))) (let ((X53 - Int (ite + (ite (not (ite (= @@ -2587,14 +2518,14 @@ 1))) (let ((X54 - Bool (and + (and (= X52 4) (and (= X53 1) (not X50))))) (let ((X55 - Int (ite + (ite X54 (ite (= X52 4) @@ -2603,7 +2534,7 @@ X52))) (let ((X56 - Int (ite + (ite X54 (ite (not @@ -2613,12 +2544,12 @@ X55))) (let ((X57 - Bool (or + (or X54 X50))) (let ((X58 - Int (ite + (ite (not (ite (= @@ -2630,7 +2561,6 @@ 1))) (let ((X59 - Bool (and (= X56 4) (and @@ -2638,7 +2568,6 @@ (not X57))))) (let ((X60 - Int (ite X59 (ite @@ -2648,7 +2577,6 @@ X56))) (let ((X61 - Int (ite X59 (ite @@ -2659,13 +2587,11 @@ X60))) (let ((X62 - Bool (or X59 X57))) (let ((X63 - Bool (and (= X61 6) (and @@ -2673,7 +2599,6 @@ (not X62))))) (let ((X64 - Int (ite X63 (ite @@ -2683,7 +2608,6 @@ X61))) (let ((X65 - Int (ite X63 (ite @@ -2694,13 +2618,11 @@ X64))) (let ((X66 - Bool (or X63 X62))) (let ((X67 - Bool (and (= X65 5) (and @@ -2708,7 +2630,6 @@ (not X66))))) (let ((X68 - Int (ite X67 (ite @@ -2718,7 +2639,6 @@ X65))) (let ((X69 - Int (ite X50 (ite @@ -2729,7 +2649,6 @@ X46))) (let ((X70 - Int (ite X54 (ite @@ -2740,7 +2659,6 @@ X69))) (let ((X71 - Int (ite X59 (ite @@ -2751,7 +2669,6 @@ X70))) (let ((X72 - Int (ite X63 (ite @@ -2827,7 +2744,7 @@ 0.0 (+ X1 - (/ 1 20)))) + (/ 1.0 20.0)))) (= top.impl.usr.rlt_condact_cruise_controller_CruiseController_SetDesiredSpeed_computeDecreaseInDesiredSpeed_rlt_init_step true) @@ -2849,7 +2766,7 @@ 0.0 (- X1 - (/ 1 20)))) + (/ 1.0 20.0)))) (= top.impl.usr.cruise_controller_CruiseController_SetDesiredSpeed_IncreaseDesiredSpeed (ite @@ -2887,10 +2804,9 @@ 0.0))))) (let ((X73 - Int 0)) + 0)) (let ((X74 - Int (ite X8 (ite @@ -2910,7 +2826,6 @@ X73))) (let ((X75 - Int (ite X39 1 @@ -2935,7 +2850,6 @@ X74))))) (let ((X76 - Int (ite X67 (ite @@ -2946,14 +2860,12 @@ X68))) (let ((X77 - Int (ite X50 1 X75))) (let ((X78 - Int (ite X54 (ite @@ -3104,7 +3016,6 @@ 0.0)) (let ((X79 - Real (ite (or (or @@ -3150,7 +3061,6 @@ 100.0))) (let ((X80 - Int (ite (not (= X6 1)) @@ -3274,7 +3184,7 @@ (let ((X1 - Real (ite + (ite (< (ite top.impl.usr.cruise_controller_CruiseController_SetDesiredSpeed_setDesiredSpeed @@ -3295,10 +3205,10 @@ top.usr.carSpeed top.impl.usr.cruise_controller_CruiseController_SetDesiredSpeed_IncreaseDesiredSpeed))))) (let - ((X2 Bool (and (not top.usr.decelSet) top.usr.decelSet!))) + ((X2 (and (not top.usr.decelSet) top.usr.decelSet!))) (let ((X3 - Bool (and + (and (and (and (and (not top.usr.cancel!) (not top.usr.brakePedal!)) @@ -3306,7 +3216,7 @@ (ite (>= top.usr.carSpeed! 15.0) true false)) top.usr.validInputs!))) (let - ((X4 Bool (and (not top.usr.accelResume) top.usr.accelResume!))) + ((X4 (and (not top.usr.accelResume) top.usr.accelResume!))) (and (= top.impl.usr.cruise_controller_CruiseController_ModeLogic_DelayOnsetDecel_Bounded_Count_Out! @@ -3385,10 +3295,10 @@ 0)) 20)) (let - ((X5 Int top.impl.usr.mode)) + ((X5 top.impl.usr.mode)) (let ((X6 - Int top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_final_state_states___root)) + top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_final_state_states___root)) (and (= top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep! @@ -3397,65 +3307,65 @@ false top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep)) (let - ((X7 Int (ite (not top.usr.onOff!) 0 1))) + ((X7 (ite (not top.usr.onOff!) 0 1))) (let ((X8 - Bool (and + (and (and (>= X6 2) (<= X6 8)) (not (ite (not (= X7 0)) true false))))) (let - ((X9 Int (ite X8 (ite (and (>= X6 2) (<= X6 8)) 0 X6) X6))) + ((X9 (ite X8 (ite (and (>= X6 2) (<= X6 8)) 0 X6) X6))) (let - ((X10 Int (ite X8 (ite (not (= X9 1)) 1 X5) X5))) + ((X10 (ite X8 (ite (not (= X9 1)) 1 X5) X5))) (let - ((X11 Int (ite X8 (ite (not (= X9 1)) 1 X9) X9))) + ((X11 (ite X8 (ite (not (= X9 1)) 1 X9) X9))) (let ((X12 - Bool (and + (and (= X11 1) (and (ite (not (= X7 0)) true false) (not X8))))) (let - ((X13 Int (ite X12 (ite (= X11 1) 0 X11) X11))) + ((X13 (ite X12 (ite (= X11 1) 0 X11) X11))) (let - ((X14 Int (ite (not (and (>= X13 2) (<= X13 8))) 2 X13))) + ((X14 (ite (not (and (>= X13 2) (<= X13 8))) 2 X13))) (let ((X15 - Bool (and + (and (not (and (>= X13 2) (<= X13 8))) (and (>= X14 2) (<= X14 8))))) (let ((X16 - Int (ite + (ite X12 (ite X15 (ite (not (= X14 7)) 2 X10) X10) X10))) (let - ((X17 Int (ite X15 (ite (not (= X14 7)) 7 X14) X14))) + ((X17 (ite X15 (ite (not (= X14 7)) 7 X14) X14))) (let - ((X18 Int (ite X12 X17 X13))) + ((X18 (ite X12 X17 X13))) (let - ((X19 Bool (or X12 X8))) + ((X19 (or X12 X8))) (let - ((X20 Int (ite (not X3) 0 1))) + ((X20 (ite (not X3) 0 1))) (let ((X21 - Bool (and + (and (and (>= X18 3) (<= X18 6)) (not (ite (not (= X20 0)) true false))))) (let ((X22 - Int (ite + (ite X21 (ite (and (>= X18 3) (<= X18 6)) 2 X18) X18))) (let ((X23 - Int (ite X21 (ite (not (= X22 8)) 8 X22) X22))) + (ite X21 (ite (not (= X22 8)) 8 X22) X22))) (let - ((X24 Int (ite (not X2) 0 1))) + ((X24 (ite (not X2) 0 1))) (let ((X25 - Bool (and + (and (= X23 8) (and (and @@ -3469,31 +3379,31 @@ false)) (not X21))))) (let - ((X26 Int (ite X25 (ite (= X23 8) 2 X23) X23))) + ((X26 (ite X25 (ite (= X23 8) 2 X23) X23))) (let ((X27 - Int (ite + (ite (not (and (>= X26 3) (<= X26 6))) 3 X26))) (let ((X28 - Bool (and + (and (not (and (>= X26 3) (<= X26 6))) (and (>= X27 3) (<= X27 6))))) (let ((X29 - Int (ite + (ite X28 (ite (not (= X27 4)) 4 X27) X27))) (let - ((X30 Int (ite X25 X29 X26))) + ((X30 (ite X25 X29 X26))) (let - ((X31 Bool (or X25 X21))) + ((X31 (or X25 X21))) (let ((X32 - Bool (and + (and (= X30 8) (and (and @@ -3518,36 +3428,36 @@ (not X31))))) (let ((X33 - Int (ite + (ite X32 (ite (= X30 8) 2 X30) X30))) (let ((X34 - Int (ite + (ite (not (and (>= X33 3) (<= X33 6))) 3 X33))) (let ((X35 - Bool (and + (and (not (and (>= X33 3) (<= X33 6))) (and (>= X34 3) (<= X34 6))))) (let ((X36 - Int (ite + (ite X35 (ite (not (= X34 4)) 4 X34) X34))) (let - ((X37 Int (ite X32 X36 X33))) + ((X37 (ite X32 X36 X33))) (let - ((X38 Bool (or X32 X31))) + ((X38 (or X32 X31))) (let ((X39 - Bool (and + (and (= X37 7) (and (and @@ -3574,13 +3484,13 @@ (not X38))))) (let ((X40 - Int (ite + (ite X39 (ite (= X37 7) 2 X37) X37))) (let ((X41 - Int (ite + (ite X21 (ite (not (= X22 8)) @@ -3589,7 +3499,7 @@ X16))) (let ((X42 - Int (ite + (ite X25 (ite X28 @@ -3601,7 +3511,7 @@ X41))) (let ((X43 - Int (ite + (ite X32 (ite X35 @@ -3613,7 +3523,7 @@ X42))) (let ((X44 - Int (ite + (ite (not (and (>= X40 3) @@ -3622,7 +3532,7 @@ X40))) (let ((X45 - Bool (and + (and (not (and (>= X40 3) @@ -3632,7 +3542,7 @@ (<= X44 6))))) (let ((X46 - Int (ite + (ite X39 (ite X45 @@ -3644,7 +3554,7 @@ X43))) (let ((X47 - Int (ite + (ite X45 (ite (not (= X44 4)) @@ -3653,17 +3563,17 @@ X44))) (let ((X48 - Int (ite X39 X47 X40))) + (ite X39 X47 X40))) (let - ((X49 Bool (or X39 X38))) + ((X49 (or X39 X38))) (let ((X50 - Bool (and + (and (= X48 4) (= X24 1)))) (let ((X51 - Int (ite + (ite X50 (ite (= X48 4) @@ -3672,7 +3582,7 @@ X48))) (let ((X52 - Int (ite + (ite X50 (ite (not @@ -3682,7 +3592,7 @@ X51))) (let ((X53 - Int (ite + (ite (not (ite (= @@ -3694,14 +3604,14 @@ 1))) (let ((X54 - Bool (and + (and (= X52 4) (and (= X53 1) (not X50))))) (let ((X55 - Int (ite + (ite X54 (ite (= X52 4) @@ -3710,7 +3620,7 @@ X52))) (let ((X56 - Int (ite + (ite X54 (ite (not @@ -3720,12 +3630,12 @@ X55))) (let ((X57 - Bool (or + (or X54 X50))) (let ((X58 - Int (ite + (ite (not (ite (= @@ -3737,7 +3647,6 @@ 1))) (let ((X59 - Bool (and (= X56 4) (and @@ -3745,7 +3654,6 @@ (not X57))))) (let ((X60 - Int (ite X59 (ite @@ -3755,7 +3663,6 @@ X56))) (let ((X61 - Int (ite X59 (ite @@ -3766,13 +3673,11 @@ X60))) (let ((X62 - Bool (or X59 X57))) (let ((X63 - Bool (and (= X61 6) (and @@ -3780,7 +3685,6 @@ (not X62))))) (let ((X64 - Int (ite X63 (ite @@ -3790,7 +3694,6 @@ X61))) (let ((X65 - Int (ite X63 (ite @@ -3801,13 +3704,11 @@ X64))) (let ((X66 - Bool (or X63 X62))) (let ((X67 - Bool (and (= X65 5) (and @@ -3815,7 +3716,6 @@ (not X66))))) (let ((X68 - Int (ite X67 (ite @@ -3825,7 +3725,6 @@ X65))) (let ((X69 - Int (ite X50 (ite @@ -3836,7 +3735,6 @@ X46))) (let ((X70 - Int (ite X54 (ite @@ -3847,7 +3745,6 @@ X69))) (let ((X71 - Int (ite X59 (ite @@ -3858,7 +3755,6 @@ X70))) (let ((X72 - Int (ite X63 (ite @@ -3939,7 +3835,7 @@ top.impl.usr.rlt_condact_cruise_controller_CruiseController_SetDesiredSpeed_computeIncreaseInDesiredSpeed_rlt_clock! (+ X1 - (/ 1 20)) + (/ 1.0 20.0)) top.impl.usr.newDesiredSpeed))) (= top.impl.usr.rlt_condact_cruise_controller_CruiseController_SetDesiredSpeed_computeDecreaseInDesiredSpeed_rlt_init_step! @@ -3967,7 +3863,7 @@ top.impl.usr.rlt_condact_cruise_controller_CruiseController_SetDesiredSpeed_computeDecreaseInDesiredSpeed_rlt_clock! (- X1 - (/ 1 20)) + (/ 1.0 20.0)) top.impl.usr.newDesiredSpeed1))) (= top.impl.usr.cruise_controller_CruiseController_SetDesiredSpeed_IncreaseDesiredSpeed! @@ -4006,10 +3902,9 @@ 0.0))))) (let ((X73 - Int top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_setDesiredSpeed)) + top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_setDesiredSpeed)) (let ((X74 - Int (ite X8 (ite @@ -4029,7 +3924,6 @@ X73))) (let ((X75 - Int (ite X39 1 @@ -4054,7 +3948,6 @@ X74))))) (let ((X76 - Int (ite X67 (ite @@ -4065,14 +3958,12 @@ X68))) (let ((X77 - Int (ite X50 1 X75))) (let ((X78 - Int (ite X54 (ite @@ -4255,7 +4146,6 @@ 0.0))) (let ((X79 - Real (ite (or (or @@ -4301,7 +4191,6 @@ 100.0))) (let ((X80 - Int (ite (not (= X6 1)) diff --git a/lib-nonconforming/Inv_Track/andrew_lustre/cruise_controller_07.lus.sl b/lib/Inv_Track/andrew_lustre/cruise_controller_07.lus.sl similarity index 91% rename from lib-nonconforming/Inv_Track/andrew_lustre/cruise_controller_07.lus.sl rename to lib/Inv_Track/andrew_lustre/cruise_controller_07.lus.sl index efcf329a..1d6bc580 100644 --- a/lib-nonconforming/Inv_Track/andrew_lustre/cruise_controller_07.lus.sl +++ b/lib/Inv_Track/andrew_lustre/cruise_controller_07.lus.sl @@ -30,12 +30,12 @@ ) Bool (let - ((X1 Real 0.0)) + ((X1 0.0)) (let - ((X2 Bool false)) + ((X2 false)) (let ((X3 - Bool (and + (and (and (and (and (not top.usr.cancel_a_0) (not top.usr.brakePedal_a_0)) @@ -43,7 +43,7 @@ (ite (>= top.usr.carSpeed_a_0 15.0) true false)) top.usr.validInputs_a_0))) (let - ((X4 Bool false)) + ((X4 false)) (and (= top.impl.usr.cruise_controller_CruiseController_ModeLogic_DelayOnsetDecel_Bounded_Count_Out_a_0 @@ -74,73 +74,73 @@ (ite top.usr.accelResume_a_0 1 0)) 20)) (let - ((X5 Int 0)) + ((X5 0)) (let - ((X6 Int 0)) + ((X6 0)) (and (= top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep_a_0 true) (let - ((X7 Int (ite (not top.usr.onOff_a_0) 0 1))) + ((X7 (ite (not top.usr.onOff_a_0) 0 1))) (let ((X8 - Bool (and + (and (and (>= X6 2) (<= X6 8)) (not (ite (not (= X7 0)) true false))))) (let - ((X9 Int (ite X8 (ite (and (>= X6 2) (<= X6 8)) 0 X6) X6))) + ((X9 (ite X8 (ite (and (>= X6 2) (<= X6 8)) 0 X6) X6))) (let - ((X10 Int (ite X8 (ite (not (= X9 1)) 1 X5) X5))) + ((X10 (ite X8 (ite (not (= X9 1)) 1 X5) X5))) (let - ((X11 Int (ite X8 (ite (not (= X9 1)) 1 X9) X9))) + ((X11 (ite X8 (ite (not (= X9 1)) 1 X9) X9))) (let ((X12 - Bool (and + (and (= X11 1) (and (ite (not (= X7 0)) true false) (not X8))))) (let - ((X13 Int (ite X12 (ite (= X11 1) 0 X11) X11))) + ((X13 (ite X12 (ite (= X11 1) 0 X11) X11))) (let - ((X14 Int (ite (not (and (>= X13 2) (<= X13 8))) 2 X13))) + ((X14 (ite (not (and (>= X13 2) (<= X13 8))) 2 X13))) (let ((X15 - Bool (and + (and (not (and (>= X13 2) (<= X13 8))) (and (>= X14 2) (<= X14 8))))) (let ((X16 - Int (ite + (ite X12 (ite X15 (ite (not (= X14 7)) 2 X10) X10) X10))) (let - ((X17 Int (ite X15 (ite (not (= X14 7)) 7 X14) X14))) + ((X17 (ite X15 (ite (not (= X14 7)) 7 X14) X14))) (let - ((X18 Int (ite X12 X17 X13))) + ((X18 (ite X12 X17 X13))) (let - ((X19 Bool (or X12 X8))) + ((X19 (or X12 X8))) (let - ((X20 Int (ite (not X3) 0 1))) + ((X20 (ite (not X3) 0 1))) (let ((X21 - Bool (and + (and (and (>= X18 3) (<= X18 6)) (not (ite (not (= X20 0)) true false))))) (let ((X22 - Int (ite + (ite X21 (ite (and (>= X18 3) (<= X18 6)) 2 X18) X18))) (let ((X23 - Int (ite X21 (ite (not (= X22 8)) 8 X22) X22))) + (ite X21 (ite (not (= X22 8)) 8 X22) X22))) (let - ((X24 Int (ite (not X2) 0 1))) + ((X24 (ite (not X2) 0 1))) (let ((X25 - Bool (and + (and (= X23 8) (and (and @@ -154,31 +154,31 @@ false)) (not X21))))) (let - ((X26 Int (ite X25 (ite (= X23 8) 2 X23) X23))) + ((X26 (ite X25 (ite (= X23 8) 2 X23) X23))) (let ((X27 - Int (ite + (ite (not (and (>= X26 3) (<= X26 6))) 3 X26))) (let ((X28 - Bool (and + (and (not (and (>= X26 3) (<= X26 6))) (and (>= X27 3) (<= X27 6))))) (let ((X29 - Int (ite + (ite X28 (ite (not (= X27 4)) 4 X27) X27))) (let - ((X30 Int (ite X25 X29 X26))) + ((X30 (ite X25 X29 X26))) (let - ((X31 Bool (or X25 X21))) + ((X31 (or X25 X21))) (let ((X32 - Bool (and + (and (= X30 8) (and (and @@ -203,36 +203,36 @@ (not X31))))) (let ((X33 - Int (ite + (ite X32 (ite (= X30 8) 2 X30) X30))) (let ((X34 - Int (ite + (ite (not (and (>= X33 3) (<= X33 6))) 3 X33))) (let ((X35 - Bool (and + (and (not (and (>= X33 3) (<= X33 6))) (and (>= X34 3) (<= X34 6))))) (let ((X36 - Int (ite + (ite X35 (ite (not (= X34 4)) 4 X34) X34))) (let - ((X37 Int (ite X32 X36 X33))) + ((X37 (ite X32 X36 X33))) (let - ((X38 Bool (or X32 X31))) + ((X38 (or X32 X31))) (let ((X39 - Bool (and + (and (= X37 7) (and (and @@ -259,13 +259,13 @@ (not X38))))) (let ((X40 - Int (ite + (ite X39 (ite (= X37 7) 2 X37) X37))) (let ((X41 - Int (ite + (ite X21 (ite (not (= X22 8)) @@ -274,7 +274,7 @@ X16))) (let ((X42 - Int (ite + (ite X25 (ite X28 @@ -286,7 +286,7 @@ X41))) (let ((X43 - Int (ite + (ite X32 (ite X35 @@ -298,7 +298,7 @@ X42))) (let ((X44 - Int (ite + (ite (not (and (>= X40 3) @@ -307,7 +307,7 @@ X40))) (let ((X45 - Bool (and + (and (not (and (>= X40 3) @@ -317,7 +317,7 @@ (<= X44 6))))) (let ((X46 - Int (ite + (ite X39 (ite X45 @@ -329,7 +329,7 @@ X43))) (let ((X47 - Int (ite + (ite X45 (ite (not (= X44 4)) @@ -338,17 +338,17 @@ X44))) (let ((X48 - Int (ite X39 X47 X40))) + (ite X39 X47 X40))) (let - ((X49 Bool (or X39 X38))) + ((X49 (or X39 X38))) (let ((X50 - Bool (and + (and (= X48 4) (= X24 1)))) (let ((X51 - Int (ite + (ite X50 (ite (= X48 4) @@ -357,7 +357,7 @@ X48))) (let ((X52 - Int (ite + (ite X50 (ite (not @@ -367,7 +367,7 @@ X51))) (let ((X53 - Int (ite + (ite (not (ite (= @@ -379,14 +379,14 @@ 1))) (let ((X54 - Bool (and + (and (= X52 4) (and (= X53 1) (not X50))))) (let ((X55 - Int (ite + (ite X54 (ite (= X52 4) @@ -395,7 +395,7 @@ X52))) (let ((X56 - Int (ite + (ite X54 (ite (not @@ -405,12 +405,12 @@ X55))) (let ((X57 - Bool (or + (or X54 X50))) (let ((X58 - Int (ite + (ite (not (ite (= @@ -422,7 +422,6 @@ 1))) (let ((X59 - Bool (and (= X56 4) (and @@ -430,7 +429,6 @@ (not X57))))) (let ((X60 - Int (ite X59 (ite @@ -440,7 +438,6 @@ X56))) (let ((X61 - Int (ite X59 (ite @@ -451,13 +448,11 @@ X60))) (let ((X62 - Bool (or X59 X57))) (let ((X63 - Bool (and (= X61 6) (and @@ -465,7 +460,6 @@ (not X62))))) (let ((X64 - Int (ite X63 (ite @@ -475,7 +469,6 @@ X61))) (let ((X65 - Int (ite X63 (ite @@ -486,13 +479,11 @@ X64))) (let ((X66 - Bool (or X63 X62))) (let ((X67 - Bool (and (= X65 5) (and @@ -500,7 +491,6 @@ (not X66))))) (let ((X68 - Int (ite X67 (ite @@ -510,7 +500,6 @@ X65))) (let ((X69 - Int (ite X50 (ite @@ -521,7 +510,6 @@ X46))) (let ((X70 - Int (ite X54 (ite @@ -532,7 +520,6 @@ X69))) (let ((X71 - Int (ite X59 (ite @@ -543,7 +530,6 @@ X70))) (let ((X72 - Int (ite X63 (ite @@ -619,7 +605,7 @@ 0.0 (+ X1 - (/ 1 20)))) + (/ 1.0 20.0)))) (= top.impl.usr.rlt_condact_cruise_controller_CruiseController_SetDesiredSpeed_computeDecreaseInDesiredSpeed_rlt_init_step_a_0 true) @@ -641,7 +627,7 @@ 0.0 (- X1 - (/ 1 20)))) + (/ 1.0 20.0)))) (= top.impl.usr.cruise_controller_CruiseController_SetDesiredSpeed_IncreaseDesiredSpeed_a_0 (ite @@ -679,10 +665,9 @@ 0.0))))) (let ((X73 - Int 0)) + 0)) (let ((X74 - Int (ite X8 (ite @@ -702,7 +687,6 @@ X73))) (let ((X75 - Int (ite X39 1 @@ -727,7 +711,6 @@ X74))))) (let ((X76 - Int (ite X67 (ite @@ -738,14 +721,12 @@ X68))) (let ((X77 - Int (ite X50 1 X75))) (let ((X78 - Int (ite X54 (ite @@ -810,7 +791,6 @@ false)) (let ((X79 - Real (ite (< (ite @@ -843,7 +823,6 @@ 100.0))) (let ((X80 - Int (ite (not (= X6 1)) @@ -960,7 +939,7 @@ (let ((X1 - Real (ite + (ite (< (ite top.impl.usr.cruise_controller_CruiseController_SetDesiredSpeed_setDesiredSpeed_a_0 @@ -981,10 +960,10 @@ top.usr.carSpeed_a_0 top.impl.usr.cruise_controller_CruiseController_SetDesiredSpeed_IncreaseDesiredSpeed_a_0))))) (let - ((X2 Bool (and (not top.usr.decelSet_a_0) top.usr.decelSet_a_1))) + ((X2 (and (not top.usr.decelSet_a_0) top.usr.decelSet_a_1))) (let ((X3 - Bool (and + (and (and (and (and (not top.usr.cancel_a_1) (not top.usr.brakePedal_a_1)) @@ -992,7 +971,7 @@ (ite (>= top.usr.carSpeed_a_1 15.0) true false)) top.usr.validInputs_a_1))) (let - ((X4 Bool (and (not top.usr.accelResume_a_0) top.usr.accelResume_a_1))) + ((X4 (and (not top.usr.accelResume_a_0) top.usr.accelResume_a_1))) (and (= top.impl.usr.cruise_controller_CruiseController_ModeLogic_DelayOnsetDecel_Bounded_Count_Out_a_1 @@ -1071,10 +1050,10 @@ 0)) 20)) (let - ((X5 Int top.impl.usr.mode_a_0)) + ((X5 top.impl.usr.mode_a_0)) (let ((X6 - Int top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_final_state_states___root_a_0)) + top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_final_state_states___root_a_0)) (and (= top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep_a_1 @@ -1083,65 +1062,65 @@ false top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep_a_0)) (let - ((X7 Int (ite (not top.usr.onOff_a_1) 0 1))) + ((X7 (ite (not top.usr.onOff_a_1) 0 1))) (let ((X8 - Bool (and + (and (and (>= X6 2) (<= X6 8)) (not (ite (not (= X7 0)) true false))))) (let - ((X9 Int (ite X8 (ite (and (>= X6 2) (<= X6 8)) 0 X6) X6))) + ((X9 (ite X8 (ite (and (>= X6 2) (<= X6 8)) 0 X6) X6))) (let - ((X10 Int (ite X8 (ite (not (= X9 1)) 1 X5) X5))) + ((X10 (ite X8 (ite (not (= X9 1)) 1 X5) X5))) (let - ((X11 Int (ite X8 (ite (not (= X9 1)) 1 X9) X9))) + ((X11 (ite X8 (ite (not (= X9 1)) 1 X9) X9))) (let ((X12 - Bool (and + (and (= X11 1) (and (ite (not (= X7 0)) true false) (not X8))))) (let - ((X13 Int (ite X12 (ite (= X11 1) 0 X11) X11))) + ((X13 (ite X12 (ite (= X11 1) 0 X11) X11))) (let - ((X14 Int (ite (not (and (>= X13 2) (<= X13 8))) 2 X13))) + ((X14 (ite (not (and (>= X13 2) (<= X13 8))) 2 X13))) (let ((X15 - Bool (and + (and (not (and (>= X13 2) (<= X13 8))) (and (>= X14 2) (<= X14 8))))) (let ((X16 - Int (ite + (ite X12 (ite X15 (ite (not (= X14 7)) 2 X10) X10) X10))) (let - ((X17 Int (ite X15 (ite (not (= X14 7)) 7 X14) X14))) + ((X17 (ite X15 (ite (not (= X14 7)) 7 X14) X14))) (let - ((X18 Int (ite X12 X17 X13))) + ((X18 (ite X12 X17 X13))) (let - ((X19 Bool (or X12 X8))) + ((X19 (or X12 X8))) (let - ((X20 Int (ite (not X3) 0 1))) + ((X20 (ite (not X3) 0 1))) (let ((X21 - Bool (and + (and (and (>= X18 3) (<= X18 6)) (not (ite (not (= X20 0)) true false))))) (let ((X22 - Int (ite + (ite X21 (ite (and (>= X18 3) (<= X18 6)) 2 X18) X18))) (let ((X23 - Int (ite X21 (ite (not (= X22 8)) 8 X22) X22))) + (ite X21 (ite (not (= X22 8)) 8 X22) X22))) (let - ((X24 Int (ite (not X2) 0 1))) + ((X24 (ite (not X2) 0 1))) (let ((X25 - Bool (and + (and (= X23 8) (and (and @@ -1155,31 +1134,31 @@ false)) (not X21))))) (let - ((X26 Int (ite X25 (ite (= X23 8) 2 X23) X23))) + ((X26 (ite X25 (ite (= X23 8) 2 X23) X23))) (let ((X27 - Int (ite + (ite (not (and (>= X26 3) (<= X26 6))) 3 X26))) (let ((X28 - Bool (and + (and (not (and (>= X26 3) (<= X26 6))) (and (>= X27 3) (<= X27 6))))) (let ((X29 - Int (ite + (ite X28 (ite (not (= X27 4)) 4 X27) X27))) (let - ((X30 Int (ite X25 X29 X26))) + ((X30 (ite X25 X29 X26))) (let - ((X31 Bool (or X25 X21))) + ((X31 (or X25 X21))) (let ((X32 - Bool (and + (and (= X30 8) (and (and @@ -1204,36 +1183,36 @@ (not X31))))) (let ((X33 - Int (ite + (ite X32 (ite (= X30 8) 2 X30) X30))) (let ((X34 - Int (ite + (ite (not (and (>= X33 3) (<= X33 6))) 3 X33))) (let ((X35 - Bool (and + (and (not (and (>= X33 3) (<= X33 6))) (and (>= X34 3) (<= X34 6))))) (let ((X36 - Int (ite + (ite X35 (ite (not (= X34 4)) 4 X34) X34))) (let - ((X37 Int (ite X32 X36 X33))) + ((X37 (ite X32 X36 X33))) (let - ((X38 Bool (or X32 X31))) + ((X38 (or X32 X31))) (let ((X39 - Bool (and + (and (= X37 7) (and (and @@ -1260,13 +1239,13 @@ (not X38))))) (let ((X40 - Int (ite + (ite X39 (ite (= X37 7) 2 X37) X37))) (let ((X41 - Int (ite + (ite X21 (ite (not (= X22 8)) @@ -1275,7 +1254,7 @@ X16))) (let ((X42 - Int (ite + (ite X25 (ite X28 @@ -1287,7 +1266,7 @@ X41))) (let ((X43 - Int (ite + (ite X32 (ite X35 @@ -1299,7 +1278,7 @@ X42))) (let ((X44 - Int (ite + (ite (not (and (>= X40 3) @@ -1308,7 +1287,7 @@ X40))) (let ((X45 - Bool (and + (and (not (and (>= X40 3) @@ -1318,7 +1297,7 @@ (<= X44 6))))) (let ((X46 - Int (ite + (ite X39 (ite X45 @@ -1330,7 +1309,7 @@ X43))) (let ((X47 - Int (ite + (ite X45 (ite (not (= X44 4)) @@ -1339,17 +1318,17 @@ X44))) (let ((X48 - Int (ite X39 X47 X40))) + (ite X39 X47 X40))) (let - ((X49 Bool (or X39 X38))) + ((X49 (or X39 X38))) (let ((X50 - Bool (and + (and (= X48 4) (= X24 1)))) (let ((X51 - Int (ite + (ite X50 (ite (= X48 4) @@ -1358,7 +1337,7 @@ X48))) (let ((X52 - Int (ite + (ite X50 (ite (not @@ -1368,7 +1347,7 @@ X51))) (let ((X53 - Int (ite + (ite (not (ite (= @@ -1380,14 +1359,14 @@ 1))) (let ((X54 - Bool (and + (and (= X52 4) (and (= X53 1) (not X50))))) (let ((X55 - Int (ite + (ite X54 (ite (= X52 4) @@ -1396,7 +1375,7 @@ X52))) (let ((X56 - Int (ite + (ite X54 (ite (not @@ -1406,12 +1385,12 @@ X55))) (let ((X57 - Bool (or + (or X54 X50))) (let ((X58 - Int (ite + (ite (not (ite (= @@ -1423,7 +1402,6 @@ 1))) (let ((X59 - Bool (and (= X56 4) (and @@ -1431,7 +1409,6 @@ (not X57))))) (let ((X60 - Int (ite X59 (ite @@ -1441,7 +1418,6 @@ X56))) (let ((X61 - Int (ite X59 (ite @@ -1452,13 +1428,11 @@ X60))) (let ((X62 - Bool (or X59 X57))) (let ((X63 - Bool (and (= X61 6) (and @@ -1466,7 +1440,6 @@ (not X62))))) (let ((X64 - Int (ite X63 (ite @@ -1476,7 +1449,6 @@ X61))) (let ((X65 - Int (ite X63 (ite @@ -1487,13 +1459,11 @@ X64))) (let ((X66 - Bool (or X63 X62))) (let ((X67 - Bool (and (= X65 5) (and @@ -1501,7 +1471,6 @@ (not X66))))) (let ((X68 - Int (ite X67 (ite @@ -1511,7 +1480,6 @@ X65))) (let ((X69 - Int (ite X50 (ite @@ -1522,7 +1490,6 @@ X46))) (let ((X70 - Int (ite X54 (ite @@ -1533,7 +1500,6 @@ X69))) (let ((X71 - Int (ite X59 (ite @@ -1544,7 +1510,6 @@ X70))) (let ((X72 - Int (ite X63 (ite @@ -1625,7 +1590,7 @@ top.impl.usr.rlt_condact_cruise_controller_CruiseController_SetDesiredSpeed_computeIncreaseInDesiredSpeed_rlt_clock_a_1 (+ X1 - (/ 1 20)) + (/ 1.0 20.0)) top.impl.usr.newDesiredSpeed_a_0))) (= top.impl.usr.rlt_condact_cruise_controller_CruiseController_SetDesiredSpeed_computeDecreaseInDesiredSpeed_rlt_init_step_a_1 @@ -1653,7 +1618,7 @@ top.impl.usr.rlt_condact_cruise_controller_CruiseController_SetDesiredSpeed_computeDecreaseInDesiredSpeed_rlt_clock_a_1 (- X1 - (/ 1 20)) + (/ 1.0 20.0)) top.impl.usr.newDesiredSpeed1_a_0))) (= top.impl.usr.cruise_controller_CruiseController_SetDesiredSpeed_IncreaseDesiredSpeed_a_1 @@ -1692,10 +1657,9 @@ 0.0))))) (let ((X73 - Int top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_setDesiredSpeed_a_0)) + top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_setDesiredSpeed_a_0)) (let ((X74 - Int (ite X8 (ite @@ -1715,7 +1679,6 @@ X73))) (let ((X75 - Int (ite X39 1 @@ -1740,7 +1703,6 @@ X74))))) (let ((X76 - Int (ite X67 (ite @@ -1751,14 +1713,12 @@ X68))) (let ((X77 - Int (ite X50 1 X75))) (let ((X78 - Int (ite X54 (ite @@ -1823,7 +1783,6 @@ false)) (let ((X79 - Real (ite (< (ite @@ -1856,7 +1815,6 @@ 100.0))) (let ((X80 - Int (ite (not (= X6 1)) @@ -1949,32 +1907,6 @@ )) -(declare-primed-var top.usr.onOff Bool) -(declare-primed-var top.usr.decelSet Bool) -(declare-primed-var top.usr.accelResume Bool) -(declare-primed-var top.usr.cancel Bool) -(declare-primed-var top.usr.brakePedal Bool) -(declare-primed-var top.usr.carGear Int) -(declare-primed-var top.usr.carSpeed Real) -(declare-primed-var top.usr.validInputs Bool) -(declare-primed-var top.usr.OK Bool) -(declare-primed-var top.res.init_flag Bool) -(declare-primed-var top.impl.usr.mode Int) -(declare-primed-var top.impl.usr.rlt_condact_cruise_controller_CruiseController_SetDesiredSpeed_computeDecreaseInDesiredSpeed_rlt_clock Bool) -(declare-primed-var top.impl.usr.rlt_condact_cruise_controller_CruiseController_SetDesiredSpeed_computeDecreaseInDesiredSpeed_rlt_init_step Bool) -(declare-primed-var top.impl.usr.newDesiredSpeed1 Real) -(declare-primed-var top.impl.usr.rlt_condact_cruise_controller_CruiseController_SetDesiredSpeed_computeIncreaseInDesiredSpeed_rlt_clock Bool) -(declare-primed-var top.impl.usr.rlt_condact_cruise_controller_CruiseController_SetDesiredSpeed_computeIncreaseInDesiredSpeed_rlt_init_step Bool) -(declare-primed-var top.impl.usr.newDesiredSpeed Real) -(declare-primed-var top.impl.usr.chart_CruiseController_ModeLogic_mode_logic____wakeup___ Bool) -(declare-primed-var top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep Bool) -(declare-primed-var top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_final_state_states___root Int) -(declare-primed-var top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_setDesiredSpeed Int) -(declare-primed-var top.impl.usr.cruise_controller_CruiseController_ModeLogic_DelayOnsetAccel_Bounded_Count_Out Int) -(declare-primed-var top.impl.usr.cruise_controller_CruiseController_ModeLogic_DelayOnsetDecel_Bounded_Count_Out Int) -(declare-primed-var top.impl.usr.cruise_controller_CruiseController_SetDesiredSpeed_setDesiredSpeed Bool) -(declare-primed-var top.impl.usr.cruise_controller_CruiseController_SetDesiredSpeed_IncreaseDesiredSpeed Real) - (define-fun init ( (top.usr.onOff Bool) @@ -2005,12 +1937,12 @@ ) Bool (let - ((X1 Real 0.0)) + ((X1 0.0)) (let - ((X2 Bool false)) + ((X2 false)) (let ((X3 - Bool (and + (and (and (and (and (not top.usr.cancel) (not top.usr.brakePedal)) @@ -2018,7 +1950,7 @@ (ite (>= top.usr.carSpeed 15.0) true false)) top.usr.validInputs))) (let - ((X4 Bool false)) + ((X4 false)) (and (= top.impl.usr.cruise_controller_CruiseController_ModeLogic_DelayOnsetDecel_Bounded_Count_Out @@ -2046,73 +1978,73 @@ (ite top.usr.accelResume 1 0)) 20)) (let - ((X5 Int 0)) + ((X5 0)) (let - ((X6 Int 0)) + ((X6 0)) (and (= top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep true) (let - ((X7 Int (ite (not top.usr.onOff) 0 1))) + ((X7 (ite (not top.usr.onOff) 0 1))) (let ((X8 - Bool (and + (and (and (>= X6 2) (<= X6 8)) (not (ite (not (= X7 0)) true false))))) (let - ((X9 Int (ite X8 (ite (and (>= X6 2) (<= X6 8)) 0 X6) X6))) + ((X9 (ite X8 (ite (and (>= X6 2) (<= X6 8)) 0 X6) X6))) (let - ((X10 Int (ite X8 (ite (not (= X9 1)) 1 X5) X5))) + ((X10 (ite X8 (ite (not (= X9 1)) 1 X5) X5))) (let - ((X11 Int (ite X8 (ite (not (= X9 1)) 1 X9) X9))) + ((X11 (ite X8 (ite (not (= X9 1)) 1 X9) X9))) (let ((X12 - Bool (and + (and (= X11 1) (and (ite (not (= X7 0)) true false) (not X8))))) (let - ((X13 Int (ite X12 (ite (= X11 1) 0 X11) X11))) + ((X13 (ite X12 (ite (= X11 1) 0 X11) X11))) (let - ((X14 Int (ite (not (and (>= X13 2) (<= X13 8))) 2 X13))) + ((X14 (ite (not (and (>= X13 2) (<= X13 8))) 2 X13))) (let ((X15 - Bool (and + (and (not (and (>= X13 2) (<= X13 8))) (and (>= X14 2) (<= X14 8))))) (let ((X16 - Int (ite + (ite X12 (ite X15 (ite (not (= X14 7)) 2 X10) X10) X10))) (let - ((X17 Int (ite X15 (ite (not (= X14 7)) 7 X14) X14))) + ((X17 (ite X15 (ite (not (= X14 7)) 7 X14) X14))) (let - ((X18 Int (ite X12 X17 X13))) + ((X18 (ite X12 X17 X13))) (let - ((X19 Bool (or X12 X8))) + ((X19 (or X12 X8))) (let - ((X20 Int (ite (not X3) 0 1))) + ((X20 (ite (not X3) 0 1))) (let ((X21 - Bool (and + (and (and (>= X18 3) (<= X18 6)) (not (ite (not (= X20 0)) true false))))) (let ((X22 - Int (ite + (ite X21 (ite (and (>= X18 3) (<= X18 6)) 2 X18) X18))) (let ((X23 - Int (ite X21 (ite (not (= X22 8)) 8 X22) X22))) + (ite X21 (ite (not (= X22 8)) 8 X22) X22))) (let - ((X24 Int (ite (not X2) 0 1))) + ((X24 (ite (not X2) 0 1))) (let ((X25 - Bool (and + (and (= X23 8) (and (and @@ -2126,31 +2058,31 @@ false)) (not X21))))) (let - ((X26 Int (ite X25 (ite (= X23 8) 2 X23) X23))) + ((X26 (ite X25 (ite (= X23 8) 2 X23) X23))) (let ((X27 - Int (ite + (ite (not (and (>= X26 3) (<= X26 6))) 3 X26))) (let ((X28 - Bool (and + (and (not (and (>= X26 3) (<= X26 6))) (and (>= X27 3) (<= X27 6))))) (let ((X29 - Int (ite + (ite X28 (ite (not (= X27 4)) 4 X27) X27))) (let - ((X30 Int (ite X25 X29 X26))) + ((X30 (ite X25 X29 X26))) (let - ((X31 Bool (or X25 X21))) + ((X31 (or X25 X21))) (let ((X32 - Bool (and + (and (= X30 8) (and (and @@ -2175,36 +2107,36 @@ (not X31))))) (let ((X33 - Int (ite + (ite X32 (ite (= X30 8) 2 X30) X30))) (let ((X34 - Int (ite + (ite (not (and (>= X33 3) (<= X33 6))) 3 X33))) (let ((X35 - Bool (and + (and (not (and (>= X33 3) (<= X33 6))) (and (>= X34 3) (<= X34 6))))) (let ((X36 - Int (ite + (ite X35 (ite (not (= X34 4)) 4 X34) X34))) (let - ((X37 Int (ite X32 X36 X33))) + ((X37 (ite X32 X36 X33))) (let - ((X38 Bool (or X32 X31))) + ((X38 (or X32 X31))) (let ((X39 - Bool (and + (and (= X37 7) (and (and @@ -2231,13 +2163,13 @@ (not X38))))) (let ((X40 - Int (ite + (ite X39 (ite (= X37 7) 2 X37) X37))) (let ((X41 - Int (ite + (ite X21 (ite (not (= X22 8)) @@ -2246,7 +2178,7 @@ X16))) (let ((X42 - Int (ite + (ite X25 (ite X28 @@ -2258,7 +2190,7 @@ X41))) (let ((X43 - Int (ite + (ite X32 (ite X35 @@ -2270,7 +2202,7 @@ X42))) (let ((X44 - Int (ite + (ite (not (and (>= X40 3) @@ -2279,7 +2211,7 @@ X40))) (let ((X45 - Bool (and + (and (not (and (>= X40 3) @@ -2289,7 +2221,7 @@ (<= X44 6))))) (let ((X46 - Int (ite + (ite X39 (ite X45 @@ -2301,7 +2233,7 @@ X43))) (let ((X47 - Int (ite + (ite X45 (ite (not (= X44 4)) @@ -2310,17 +2242,17 @@ X44))) (let ((X48 - Int (ite X39 X47 X40))) + (ite X39 X47 X40))) (let - ((X49 Bool (or X39 X38))) + ((X49 (or X39 X38))) (let ((X50 - Bool (and + (and (= X48 4) (= X24 1)))) (let ((X51 - Int (ite + (ite X50 (ite (= X48 4) @@ -2329,7 +2261,7 @@ X48))) (let ((X52 - Int (ite + (ite X50 (ite (not @@ -2339,7 +2271,7 @@ X51))) (let ((X53 - Int (ite + (ite (not (ite (= @@ -2351,14 +2283,14 @@ 1))) (let ((X54 - Bool (and + (and (= X52 4) (and (= X53 1) (not X50))))) (let ((X55 - Int (ite + (ite X54 (ite (= X52 4) @@ -2367,7 +2299,7 @@ X52))) (let ((X56 - Int (ite + (ite X54 (ite (not @@ -2377,12 +2309,12 @@ X55))) (let ((X57 - Bool (or + (or X54 X50))) (let ((X58 - Int (ite + (ite (not (ite (= @@ -2394,7 +2326,6 @@ 1))) (let ((X59 - Bool (and (= X56 4) (and @@ -2402,7 +2333,6 @@ (not X57))))) (let ((X60 - Int (ite X59 (ite @@ -2412,7 +2342,6 @@ X56))) (let ((X61 - Int (ite X59 (ite @@ -2423,13 +2352,11 @@ X60))) (let ((X62 - Bool (or X59 X57))) (let ((X63 - Bool (and (= X61 6) (and @@ -2437,7 +2364,6 @@ (not X62))))) (let ((X64 - Int (ite X63 (ite @@ -2447,7 +2373,6 @@ X61))) (let ((X65 - Int (ite X63 (ite @@ -2458,13 +2383,11 @@ X64))) (let ((X66 - Bool (or X63 X62))) (let ((X67 - Bool (and (= X65 5) (and @@ -2472,7 +2395,6 @@ (not X66))))) (let ((X68 - Int (ite X67 (ite @@ -2482,7 +2404,6 @@ X65))) (let ((X69 - Int (ite X50 (ite @@ -2493,7 +2414,6 @@ X46))) (let ((X70 - Int (ite X54 (ite @@ -2504,7 +2424,6 @@ X69))) (let ((X71 - Int (ite X59 (ite @@ -2515,7 +2434,6 @@ X70))) (let ((X72 - Int (ite X63 (ite @@ -2591,7 +2509,7 @@ 0.0 (+ X1 - (/ 1 20)))) + (/ 1.0 20.0)))) (= top.impl.usr.rlt_condact_cruise_controller_CruiseController_SetDesiredSpeed_computeDecreaseInDesiredSpeed_rlt_init_step true) @@ -2613,7 +2531,7 @@ 0.0 (- X1 - (/ 1 20)))) + (/ 1.0 20.0)))) (= top.impl.usr.cruise_controller_CruiseController_SetDesiredSpeed_IncreaseDesiredSpeed (ite @@ -2651,10 +2569,9 @@ 0.0))))) (let ((X73 - Int 0)) + 0)) (let ((X74 - Int (ite X8 (ite @@ -2674,7 +2591,6 @@ X73))) (let ((X75 - Int (ite X39 1 @@ -2699,7 +2615,6 @@ X74))))) (let ((X76 - Int (ite X67 (ite @@ -2710,14 +2625,12 @@ X68))) (let ((X77 - Int (ite X50 1 X75))) (let ((X78 - Int (ite X54 (ite @@ -2782,7 +2695,6 @@ false)) (let ((X79 - Real (ite (< (ite @@ -2815,7 +2727,6 @@ 100.0))) (let ((X80 - Int (ite (not (= X6 1)) @@ -2937,7 +2848,7 @@ (let ((X1 - Real (ite + (ite (< (ite top.impl.usr.cruise_controller_CruiseController_SetDesiredSpeed_setDesiredSpeed @@ -2958,10 +2869,10 @@ top.usr.carSpeed top.impl.usr.cruise_controller_CruiseController_SetDesiredSpeed_IncreaseDesiredSpeed))))) (let - ((X2 Bool (and (not top.usr.decelSet) top.usr.decelSet!))) + ((X2 (and (not top.usr.decelSet) top.usr.decelSet!))) (let ((X3 - Bool (and + (and (and (and (and (not top.usr.cancel!) (not top.usr.brakePedal!)) @@ -2969,7 +2880,7 @@ (ite (>= top.usr.carSpeed! 15.0) true false)) top.usr.validInputs!))) (let - ((X4 Bool (and (not top.usr.accelResume) top.usr.accelResume!))) + ((X4 (and (not top.usr.accelResume) top.usr.accelResume!))) (and (= top.impl.usr.cruise_controller_CruiseController_ModeLogic_DelayOnsetDecel_Bounded_Count_Out! @@ -3048,10 +2959,10 @@ 0)) 20)) (let - ((X5 Int top.impl.usr.mode)) + ((X5 top.impl.usr.mode)) (let ((X6 - Int top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_final_state_states___root)) + top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_final_state_states___root)) (and (= top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep! @@ -3060,65 +2971,65 @@ false top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep)) (let - ((X7 Int (ite (not top.usr.onOff!) 0 1))) + ((X7 (ite (not top.usr.onOff!) 0 1))) (let ((X8 - Bool (and + (and (and (>= X6 2) (<= X6 8)) (not (ite (not (= X7 0)) true false))))) (let - ((X9 Int (ite X8 (ite (and (>= X6 2) (<= X6 8)) 0 X6) X6))) + ((X9 (ite X8 (ite (and (>= X6 2) (<= X6 8)) 0 X6) X6))) (let - ((X10 Int (ite X8 (ite (not (= X9 1)) 1 X5) X5))) + ((X10 (ite X8 (ite (not (= X9 1)) 1 X5) X5))) (let - ((X11 Int (ite X8 (ite (not (= X9 1)) 1 X9) X9))) + ((X11 (ite X8 (ite (not (= X9 1)) 1 X9) X9))) (let ((X12 - Bool (and + (and (= X11 1) (and (ite (not (= X7 0)) true false) (not X8))))) (let - ((X13 Int (ite X12 (ite (= X11 1) 0 X11) X11))) + ((X13 (ite X12 (ite (= X11 1) 0 X11) X11))) (let - ((X14 Int (ite (not (and (>= X13 2) (<= X13 8))) 2 X13))) + ((X14 (ite (not (and (>= X13 2) (<= X13 8))) 2 X13))) (let ((X15 - Bool (and + (and (not (and (>= X13 2) (<= X13 8))) (and (>= X14 2) (<= X14 8))))) (let ((X16 - Int (ite + (ite X12 (ite X15 (ite (not (= X14 7)) 2 X10) X10) X10))) (let - ((X17 Int (ite X15 (ite (not (= X14 7)) 7 X14) X14))) + ((X17 (ite X15 (ite (not (= X14 7)) 7 X14) X14))) (let - ((X18 Int (ite X12 X17 X13))) + ((X18 (ite X12 X17 X13))) (let - ((X19 Bool (or X12 X8))) + ((X19 (or X12 X8))) (let - ((X20 Int (ite (not X3) 0 1))) + ((X20 (ite (not X3) 0 1))) (let ((X21 - Bool (and + (and (and (>= X18 3) (<= X18 6)) (not (ite (not (= X20 0)) true false))))) (let ((X22 - Int (ite + (ite X21 (ite (and (>= X18 3) (<= X18 6)) 2 X18) X18))) (let ((X23 - Int (ite X21 (ite (not (= X22 8)) 8 X22) X22))) + (ite X21 (ite (not (= X22 8)) 8 X22) X22))) (let - ((X24 Int (ite (not X2) 0 1))) + ((X24 (ite (not X2) 0 1))) (let ((X25 - Bool (and + (and (= X23 8) (and (and @@ -3132,31 +3043,31 @@ false)) (not X21))))) (let - ((X26 Int (ite X25 (ite (= X23 8) 2 X23) X23))) + ((X26 (ite X25 (ite (= X23 8) 2 X23) X23))) (let ((X27 - Int (ite + (ite (not (and (>= X26 3) (<= X26 6))) 3 X26))) (let ((X28 - Bool (and + (and (not (and (>= X26 3) (<= X26 6))) (and (>= X27 3) (<= X27 6))))) (let ((X29 - Int (ite + (ite X28 (ite (not (= X27 4)) 4 X27) X27))) (let - ((X30 Int (ite X25 X29 X26))) + ((X30 (ite X25 X29 X26))) (let - ((X31 Bool (or X25 X21))) + ((X31 (or X25 X21))) (let ((X32 - Bool (and + (and (= X30 8) (and (and @@ -3181,36 +3092,36 @@ (not X31))))) (let ((X33 - Int (ite + (ite X32 (ite (= X30 8) 2 X30) X30))) (let ((X34 - Int (ite + (ite (not (and (>= X33 3) (<= X33 6))) 3 X33))) (let ((X35 - Bool (and + (and (not (and (>= X33 3) (<= X33 6))) (and (>= X34 3) (<= X34 6))))) (let ((X36 - Int (ite + (ite X35 (ite (not (= X34 4)) 4 X34) X34))) (let - ((X37 Int (ite X32 X36 X33))) + ((X37 (ite X32 X36 X33))) (let - ((X38 Bool (or X32 X31))) + ((X38 (or X32 X31))) (let ((X39 - Bool (and + (and (= X37 7) (and (and @@ -3237,13 +3148,13 @@ (not X38))))) (let ((X40 - Int (ite + (ite X39 (ite (= X37 7) 2 X37) X37))) (let ((X41 - Int (ite + (ite X21 (ite (not (= X22 8)) @@ -3252,7 +3163,7 @@ X16))) (let ((X42 - Int (ite + (ite X25 (ite X28 @@ -3264,7 +3175,7 @@ X41))) (let ((X43 - Int (ite + (ite X32 (ite X35 @@ -3276,7 +3187,7 @@ X42))) (let ((X44 - Int (ite + (ite (not (and (>= X40 3) @@ -3285,7 +3196,7 @@ X40))) (let ((X45 - Bool (and + (and (not (and (>= X40 3) @@ -3295,7 +3206,7 @@ (<= X44 6))))) (let ((X46 - Int (ite + (ite X39 (ite X45 @@ -3307,7 +3218,7 @@ X43))) (let ((X47 - Int (ite + (ite X45 (ite (not (= X44 4)) @@ -3316,17 +3227,17 @@ X44))) (let ((X48 - Int (ite X39 X47 X40))) + (ite X39 X47 X40))) (let - ((X49 Bool (or X39 X38))) + ((X49 (or X39 X38))) (let ((X50 - Bool (and + (and (= X48 4) (= X24 1)))) (let ((X51 - Int (ite + (ite X50 (ite (= X48 4) @@ -3335,7 +3246,7 @@ X48))) (let ((X52 - Int (ite + (ite X50 (ite (not @@ -3345,7 +3256,7 @@ X51))) (let ((X53 - Int (ite + (ite (not (ite (= @@ -3357,14 +3268,14 @@ 1))) (let ((X54 - Bool (and + (and (= X52 4) (and (= X53 1) (not X50))))) (let ((X55 - Int (ite + (ite X54 (ite (= X52 4) @@ -3373,7 +3284,7 @@ X52))) (let ((X56 - Int (ite + (ite X54 (ite (not @@ -3383,12 +3294,12 @@ X55))) (let ((X57 - Bool (or + (or X54 X50))) (let ((X58 - Int (ite + (ite (not (ite (= @@ -3400,7 +3311,6 @@ 1))) (let ((X59 - Bool (and (= X56 4) (and @@ -3408,7 +3318,6 @@ (not X57))))) (let ((X60 - Int (ite X59 (ite @@ -3418,7 +3327,6 @@ X56))) (let ((X61 - Int (ite X59 (ite @@ -3429,13 +3337,11 @@ X60))) (let ((X62 - Bool (or X59 X57))) (let ((X63 - Bool (and (= X61 6) (and @@ -3443,7 +3349,6 @@ (not X62))))) (let ((X64 - Int (ite X63 (ite @@ -3453,7 +3358,6 @@ X61))) (let ((X65 - Int (ite X63 (ite @@ -3464,13 +3368,11 @@ X64))) (let ((X66 - Bool (or X63 X62))) (let ((X67 - Bool (and (= X65 5) (and @@ -3478,7 +3380,6 @@ (not X66))))) (let ((X68 - Int (ite X67 (ite @@ -3488,7 +3389,6 @@ X65))) (let ((X69 - Int (ite X50 (ite @@ -3499,7 +3399,6 @@ X46))) (let ((X70 - Int (ite X54 (ite @@ -3510,7 +3409,6 @@ X69))) (let ((X71 - Int (ite X59 (ite @@ -3521,7 +3419,6 @@ X70))) (let ((X72 - Int (ite X63 (ite @@ -3602,7 +3499,7 @@ top.impl.usr.rlt_condact_cruise_controller_CruiseController_SetDesiredSpeed_computeIncreaseInDesiredSpeed_rlt_clock! (+ X1 - (/ 1 20)) + (/ 1.0 20.0)) top.impl.usr.newDesiredSpeed))) (= top.impl.usr.rlt_condact_cruise_controller_CruiseController_SetDesiredSpeed_computeDecreaseInDesiredSpeed_rlt_init_step! @@ -3630,7 +3527,7 @@ top.impl.usr.rlt_condact_cruise_controller_CruiseController_SetDesiredSpeed_computeDecreaseInDesiredSpeed_rlt_clock! (- X1 - (/ 1 20)) + (/ 1.0 20.0)) top.impl.usr.newDesiredSpeed1))) (= top.impl.usr.cruise_controller_CruiseController_SetDesiredSpeed_IncreaseDesiredSpeed! @@ -3669,10 +3566,9 @@ 0.0))))) (let ((X73 - Int top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_setDesiredSpeed)) + top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_setDesiredSpeed)) (let ((X74 - Int (ite X8 (ite @@ -3692,7 +3588,6 @@ X73))) (let ((X75 - Int (ite X39 1 @@ -3717,7 +3612,6 @@ X74))))) (let ((X76 - Int (ite X67 (ite @@ -3728,14 +3622,12 @@ X68))) (let ((X77 - Int (ite X50 1 X75))) (let ((X78 - Int (ite X54 (ite @@ -3800,7 +3692,6 @@ false)) (let ((X79 - Real (ite (< (ite @@ -3833,7 +3724,6 @@ 100.0))) (let ((X80 - Int (ite (not (= X6 1)) diff --git a/lib-nonconforming/Inv_Track/andrew_lustre/cruise_controller_10.lus.sl b/lib/Inv_Track/andrew_lustre/cruise_controller_10.lus.sl similarity index 92% rename from lib-nonconforming/Inv_Track/andrew_lustre/cruise_controller_10.lus.sl rename to lib/Inv_Track/andrew_lustre/cruise_controller_10.lus.sl index dcabaaa3..d208b78a 100644 --- a/lib-nonconforming/Inv_Track/andrew_lustre/cruise_controller_10.lus.sl +++ b/lib/Inv_Track/andrew_lustre/cruise_controller_10.lus.sl @@ -31,12 +31,12 @@ ) Bool (let - ((X1 Real 0.0)) + ((X1 0.0)) (let - ((X2 Bool false)) + ((X2 false)) (let ((X3 - Bool (and + (and (and (and (and (not top.usr.cancel_a_0) (not top.usr.brakePedal_a_0)) @@ -44,7 +44,7 @@ (ite (>= top.usr.carSpeed_a_0 15.0) true false)) top.usr.validInputs_a_0))) (let - ((X4 Bool false)) + ((X4 false)) (and (= top.impl.usr.cruise_controller_CruiseController_ModeLogic_DelayOnsetDecel_Bounded_Count_Out_a_0 @@ -75,73 +75,73 @@ (ite top.usr.accelResume_a_0 1 0)) 20)) (let - ((X5 Int 0)) + ((X5 0)) (let - ((X6 Int 0)) + ((X6 0)) (and (= top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep_a_0 true) (let - ((X7 Int (ite (not top.usr.onOff_a_0) 0 1))) + ((X7 (ite (not top.usr.onOff_a_0) 0 1))) (let ((X8 - Bool (and + (and (and (>= X6 2) (<= X6 8)) (not (ite (not (= X7 0)) true false))))) (let - ((X9 Int (ite X8 (ite (and (>= X6 2) (<= X6 8)) 0 X6) X6))) + ((X9 (ite X8 (ite (and (>= X6 2) (<= X6 8)) 0 X6) X6))) (let - ((X10 Int (ite X8 (ite (not (= X9 1)) 1 X5) X5))) + ((X10 (ite X8 (ite (not (= X9 1)) 1 X5) X5))) (let - ((X11 Int (ite X8 (ite (not (= X9 1)) 1 X9) X9))) + ((X11 (ite X8 (ite (not (= X9 1)) 1 X9) X9))) (let ((X12 - Bool (and + (and (= X11 1) (and (ite (not (= X7 0)) true false) (not X8))))) (let - ((X13 Int (ite X12 (ite (= X11 1) 0 X11) X11))) + ((X13 (ite X12 (ite (= X11 1) 0 X11) X11))) (let - ((X14 Int (ite (not (and (>= X13 2) (<= X13 8))) 2 X13))) + ((X14 (ite (not (and (>= X13 2) (<= X13 8))) 2 X13))) (let ((X15 - Bool (and + (and (not (and (>= X13 2) (<= X13 8))) (and (>= X14 2) (<= X14 8))))) (let ((X16 - Int (ite + (ite X12 (ite X15 (ite (not (= X14 7)) 2 X10) X10) X10))) (let - ((X17 Int (ite X15 (ite (not (= X14 7)) 7 X14) X14))) + ((X17 (ite X15 (ite (not (= X14 7)) 7 X14) X14))) (let - ((X18 Int (ite X12 X17 X13))) + ((X18 (ite X12 X17 X13))) (let - ((X19 Bool (or X12 X8))) + ((X19 (or X12 X8))) (let - ((X20 Int (ite (not X3) 0 1))) + ((X20 (ite (not X3) 0 1))) (let ((X21 - Bool (and + (and (and (>= X18 3) (<= X18 6)) (not (ite (not (= X20 0)) true false))))) (let ((X22 - Int (ite + (ite X21 (ite (and (>= X18 3) (<= X18 6)) 2 X18) X18))) (let ((X23 - Int (ite X21 (ite (not (= X22 8)) 8 X22) X22))) + (ite X21 (ite (not (= X22 8)) 8 X22) X22))) (let - ((X24 Int (ite (not X2) 0 1))) + ((X24 (ite (not X2) 0 1))) (let ((X25 - Bool (and + (and (= X23 8) (and (and @@ -155,31 +155,31 @@ false)) (not X21))))) (let - ((X26 Int (ite X25 (ite (= X23 8) 2 X23) X23))) + ((X26 (ite X25 (ite (= X23 8) 2 X23) X23))) (let ((X27 - Int (ite + (ite (not (and (>= X26 3) (<= X26 6))) 3 X26))) (let ((X28 - Bool (and + (and (not (and (>= X26 3) (<= X26 6))) (and (>= X27 3) (<= X27 6))))) (let ((X29 - Int (ite + (ite X28 (ite (not (= X27 4)) 4 X27) X27))) (let - ((X30 Int (ite X25 X29 X26))) + ((X30 (ite X25 X29 X26))) (let - ((X31 Bool (or X25 X21))) + ((X31 (or X25 X21))) (let ((X32 - Bool (and + (and (= X30 8) (and (and @@ -204,36 +204,36 @@ (not X31))))) (let ((X33 - Int (ite + (ite X32 (ite (= X30 8) 2 X30) X30))) (let ((X34 - Int (ite + (ite (not (and (>= X33 3) (<= X33 6))) 3 X33))) (let ((X35 - Bool (and + (and (not (and (>= X33 3) (<= X33 6))) (and (>= X34 3) (<= X34 6))))) (let ((X36 - Int (ite + (ite X35 (ite (not (= X34 4)) 4 X34) X34))) (let - ((X37 Int (ite X32 X36 X33))) + ((X37 (ite X32 X36 X33))) (let - ((X38 Bool (or X32 X31))) + ((X38 (or X32 X31))) (let ((X39 - Bool (and + (and (= X37 7) (and (and @@ -260,13 +260,13 @@ (not X38))))) (let ((X40 - Int (ite + (ite X39 (ite (= X37 7) 2 X37) X37))) (let ((X41 - Int (ite + (ite X21 (ite (not (= X22 8)) @@ -275,7 +275,7 @@ X16))) (let ((X42 - Int (ite + (ite X25 (ite X28 @@ -287,7 +287,7 @@ X41))) (let ((X43 - Int (ite + (ite X32 (ite X35 @@ -299,7 +299,7 @@ X42))) (let ((X44 - Int (ite + (ite (not (and (>= X40 3) @@ -308,7 +308,7 @@ X40))) (let ((X45 - Bool (and + (and (not (and (>= X40 3) @@ -318,7 +318,7 @@ (<= X44 6))))) (let ((X46 - Int (ite + (ite X39 (ite X45 @@ -330,7 +330,7 @@ X43))) (let ((X47 - Int (ite + (ite X45 (ite (not (= X44 4)) @@ -339,17 +339,17 @@ X44))) (let ((X48 - Int (ite X39 X47 X40))) + (ite X39 X47 X40))) (let - ((X49 Bool (or X39 X38))) + ((X49 (or X39 X38))) (let ((X50 - Bool (and + (and (= X48 4) (= X24 1)))) (let ((X51 - Int (ite + (ite X50 (ite (= X48 4) @@ -358,7 +358,7 @@ X48))) (let ((X52 - Int (ite + (ite X50 (ite (not @@ -368,7 +368,7 @@ X51))) (let ((X53 - Int (ite + (ite (not (ite (= @@ -380,14 +380,14 @@ 1))) (let ((X54 - Bool (and + (and (= X52 4) (and (= X53 1) (not X50))))) (let ((X55 - Int (ite + (ite X54 (ite (= X52 4) @@ -396,7 +396,7 @@ X52))) (let ((X56 - Int (ite + (ite X54 (ite (not @@ -406,12 +406,12 @@ X55))) (let ((X57 - Bool (or + (or X54 X50))) (let ((X58 - Int (ite + (ite (not (ite (= @@ -423,7 +423,6 @@ 1))) (let ((X59 - Bool (and (= X56 4) (and @@ -431,7 +430,6 @@ (not X57))))) (let ((X60 - Int (ite X59 (ite @@ -441,7 +439,6 @@ X56))) (let ((X61 - Int (ite X59 (ite @@ -452,13 +449,11 @@ X60))) (let ((X62 - Bool (or X59 X57))) (let ((X63 - Bool (and (= X61 6) (and @@ -466,7 +461,6 @@ (not X62))))) (let ((X64 - Int (ite X63 (ite @@ -476,7 +470,6 @@ X61))) (let ((X65 - Int (ite X63 (ite @@ -487,13 +480,11 @@ X64))) (let ((X66 - Bool (or X63 X62))) (let ((X67 - Bool (and (= X65 5) (and @@ -501,7 +492,6 @@ (not X66))))) (let ((X68 - Int (ite X67 (ite @@ -511,7 +501,6 @@ X65))) (let ((X69 - Int (ite X50 (ite @@ -522,7 +511,6 @@ X46))) (let ((X70 - Int (ite X54 (ite @@ -533,7 +521,6 @@ X69))) (let ((X71 - Int (ite X59 (ite @@ -544,7 +531,6 @@ X70))) (let ((X72 - Int (ite X63 (ite @@ -620,7 +606,7 @@ 0.0 (+ X1 - (/ 1 20)))) + (/ 1.0 20.0)))) (= top.impl.usr.rlt_condact_cruise_controller_CruiseController_SetDesiredSpeed_computeDecreaseInDesiredSpeed_rlt_init_step_a_0 true) @@ -642,7 +628,7 @@ 0.0 (- X1 - (/ 1 20)))) + (/ 1.0 20.0)))) (= top.impl.usr.cruise_controller_CruiseController_SetDesiredSpeed_IncreaseDesiredSpeed_a_0 (ite @@ -680,10 +666,9 @@ 0.0))))) (let ((X73 - Int 0)) + 0)) (let ((X74 - Int (ite X8 (ite @@ -703,7 +688,6 @@ X73))) (let ((X75 - Int (ite X39 1 @@ -728,7 +712,6 @@ X74))))) (let ((X76 - Int (ite X67 (ite @@ -739,14 +722,12 @@ X68))) (let ((X77 - Int (ite X50 1 X75))) (let ((X78 - Int (ite X54 (ite @@ -897,7 +878,6 @@ 0.0)) (let ((X79 - Real (ite (or (or @@ -941,7 +921,6 @@ 0.0))) (let ((X80 - Int (ite (not (= X6 1)) @@ -1060,7 +1039,7 @@ (let ((X1 - Real (ite + (ite (< (ite top.impl.usr.cruise_controller_CruiseController_SetDesiredSpeed_setDesiredSpeed_a_0 @@ -1081,10 +1060,10 @@ top.usr.carSpeed_a_0 top.impl.usr.cruise_controller_CruiseController_SetDesiredSpeed_IncreaseDesiredSpeed_a_0))))) (let - ((X2 Bool (and (not top.usr.decelSet_a_0) top.usr.decelSet_a_1))) + ((X2 (and (not top.usr.decelSet_a_0) top.usr.decelSet_a_1))) (let ((X3 - Bool (and + (and (and (and (and (not top.usr.cancel_a_1) (not top.usr.brakePedal_a_1)) @@ -1092,7 +1071,7 @@ (ite (>= top.usr.carSpeed_a_1 15.0) true false)) top.usr.validInputs_a_1))) (let - ((X4 Bool (and (not top.usr.accelResume_a_0) top.usr.accelResume_a_1))) + ((X4 (and (not top.usr.accelResume_a_0) top.usr.accelResume_a_1))) (and (= top.impl.usr.cruise_controller_CruiseController_ModeLogic_DelayOnsetDecel_Bounded_Count_Out_a_1 @@ -1171,10 +1150,10 @@ 0)) 20)) (let - ((X5 Int top.impl.usr.mode_a_0)) + ((X5 top.impl.usr.mode_a_0)) (let ((X6 - Int top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_final_state_states___root_a_0)) + top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_final_state_states___root_a_0)) (and (= top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep_a_1 @@ -1183,65 +1162,65 @@ false top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep_a_0)) (let - ((X7 Int (ite (not top.usr.onOff_a_1) 0 1))) + ((X7 (ite (not top.usr.onOff_a_1) 0 1))) (let ((X8 - Bool (and + (and (and (>= X6 2) (<= X6 8)) (not (ite (not (= X7 0)) true false))))) (let - ((X9 Int (ite X8 (ite (and (>= X6 2) (<= X6 8)) 0 X6) X6))) + ((X9 (ite X8 (ite (and (>= X6 2) (<= X6 8)) 0 X6) X6))) (let - ((X10 Int (ite X8 (ite (not (= X9 1)) 1 X5) X5))) + ((X10 (ite X8 (ite (not (= X9 1)) 1 X5) X5))) (let - ((X11 Int (ite X8 (ite (not (= X9 1)) 1 X9) X9))) + ((X11 (ite X8 (ite (not (= X9 1)) 1 X9) X9))) (let ((X12 - Bool (and + (and (= X11 1) (and (ite (not (= X7 0)) true false) (not X8))))) (let - ((X13 Int (ite X12 (ite (= X11 1) 0 X11) X11))) + ((X13 (ite X12 (ite (= X11 1) 0 X11) X11))) (let - ((X14 Int (ite (not (and (>= X13 2) (<= X13 8))) 2 X13))) + ((X14 (ite (not (and (>= X13 2) (<= X13 8))) 2 X13))) (let ((X15 - Bool (and + (and (not (and (>= X13 2) (<= X13 8))) (and (>= X14 2) (<= X14 8))))) (let ((X16 - Int (ite + (ite X12 (ite X15 (ite (not (= X14 7)) 2 X10) X10) X10))) (let - ((X17 Int (ite X15 (ite (not (= X14 7)) 7 X14) X14))) + ((X17 (ite X15 (ite (not (= X14 7)) 7 X14) X14))) (let - ((X18 Int (ite X12 X17 X13))) + ((X18 (ite X12 X17 X13))) (let - ((X19 Bool (or X12 X8))) + ((X19 (or X12 X8))) (let - ((X20 Int (ite (not X3) 0 1))) + ((X20 (ite (not X3) 0 1))) (let ((X21 - Bool (and + (and (and (>= X18 3) (<= X18 6)) (not (ite (not (= X20 0)) true false))))) (let ((X22 - Int (ite + (ite X21 (ite (and (>= X18 3) (<= X18 6)) 2 X18) X18))) (let ((X23 - Int (ite X21 (ite (not (= X22 8)) 8 X22) X22))) + (ite X21 (ite (not (= X22 8)) 8 X22) X22))) (let - ((X24 Int (ite (not X2) 0 1))) + ((X24 (ite (not X2) 0 1))) (let ((X25 - Bool (and + (and (= X23 8) (and (and @@ -1255,31 +1234,31 @@ false)) (not X21))))) (let - ((X26 Int (ite X25 (ite (= X23 8) 2 X23) X23))) + ((X26 (ite X25 (ite (= X23 8) 2 X23) X23))) (let ((X27 - Int (ite + (ite (not (and (>= X26 3) (<= X26 6))) 3 X26))) (let ((X28 - Bool (and + (and (not (and (>= X26 3) (<= X26 6))) (and (>= X27 3) (<= X27 6))))) (let ((X29 - Int (ite + (ite X28 (ite (not (= X27 4)) 4 X27) X27))) (let - ((X30 Int (ite X25 X29 X26))) + ((X30 (ite X25 X29 X26))) (let - ((X31 Bool (or X25 X21))) + ((X31 (or X25 X21))) (let ((X32 - Bool (and + (and (= X30 8) (and (and @@ -1304,36 +1283,36 @@ (not X31))))) (let ((X33 - Int (ite + (ite X32 (ite (= X30 8) 2 X30) X30))) (let ((X34 - Int (ite + (ite (not (and (>= X33 3) (<= X33 6))) 3 X33))) (let ((X35 - Bool (and + (and (not (and (>= X33 3) (<= X33 6))) (and (>= X34 3) (<= X34 6))))) (let ((X36 - Int (ite + (ite X35 (ite (not (= X34 4)) 4 X34) X34))) (let - ((X37 Int (ite X32 X36 X33))) + ((X37 (ite X32 X36 X33))) (let - ((X38 Bool (or X32 X31))) + ((X38 (or X32 X31))) (let ((X39 - Bool (and + (and (= X37 7) (and (and @@ -1360,13 +1339,13 @@ (not X38))))) (let ((X40 - Int (ite + (ite X39 (ite (= X37 7) 2 X37) X37))) (let ((X41 - Int (ite + (ite X21 (ite (not (= X22 8)) @@ -1375,7 +1354,7 @@ X16))) (let ((X42 - Int (ite + (ite X25 (ite X28 @@ -1387,7 +1366,7 @@ X41))) (let ((X43 - Int (ite + (ite X32 (ite X35 @@ -1399,7 +1378,7 @@ X42))) (let ((X44 - Int (ite + (ite (not (and (>= X40 3) @@ -1408,7 +1387,7 @@ X40))) (let ((X45 - Bool (and + (and (not (and (>= X40 3) @@ -1418,7 +1397,7 @@ (<= X44 6))))) (let ((X46 - Int (ite + (ite X39 (ite X45 @@ -1430,7 +1409,7 @@ X43))) (let ((X47 - Int (ite + (ite X45 (ite (not (= X44 4)) @@ -1439,17 +1418,17 @@ X44))) (let ((X48 - Int (ite X39 X47 X40))) + (ite X39 X47 X40))) (let - ((X49 Bool (or X39 X38))) + ((X49 (or X39 X38))) (let ((X50 - Bool (and + (and (= X48 4) (= X24 1)))) (let ((X51 - Int (ite + (ite X50 (ite (= X48 4) @@ -1458,7 +1437,7 @@ X48))) (let ((X52 - Int (ite + (ite X50 (ite (not @@ -1468,7 +1447,7 @@ X51))) (let ((X53 - Int (ite + (ite (not (ite (= @@ -1480,14 +1459,14 @@ 1))) (let ((X54 - Bool (and + (and (= X52 4) (and (= X53 1) (not X50))))) (let ((X55 - Int (ite + (ite X54 (ite (= X52 4) @@ -1496,7 +1475,7 @@ X52))) (let ((X56 - Int (ite + (ite X54 (ite (not @@ -1506,12 +1485,12 @@ X55))) (let ((X57 - Bool (or + (or X54 X50))) (let ((X58 - Int (ite + (ite (not (ite (= @@ -1523,7 +1502,6 @@ 1))) (let ((X59 - Bool (and (= X56 4) (and @@ -1531,7 +1509,6 @@ (not X57))))) (let ((X60 - Int (ite X59 (ite @@ -1541,7 +1518,6 @@ X56))) (let ((X61 - Int (ite X59 (ite @@ -1552,13 +1528,11 @@ X60))) (let ((X62 - Bool (or X59 X57))) (let ((X63 - Bool (and (= X61 6) (and @@ -1566,7 +1540,6 @@ (not X62))))) (let ((X64 - Int (ite X63 (ite @@ -1576,7 +1549,6 @@ X61))) (let ((X65 - Int (ite X63 (ite @@ -1587,13 +1559,11 @@ X64))) (let ((X66 - Bool (or X63 X62))) (let ((X67 - Bool (and (= X65 5) (and @@ -1601,7 +1571,6 @@ (not X66))))) (let ((X68 - Int (ite X67 (ite @@ -1611,7 +1580,6 @@ X65))) (let ((X69 - Int (ite X50 (ite @@ -1622,7 +1590,6 @@ X46))) (let ((X70 - Int (ite X54 (ite @@ -1633,7 +1600,6 @@ X69))) (let ((X71 - Int (ite X59 (ite @@ -1644,7 +1610,6 @@ X70))) (let ((X72 - Int (ite X63 (ite @@ -1725,7 +1690,7 @@ top.impl.usr.rlt_condact_cruise_controller_CruiseController_SetDesiredSpeed_computeIncreaseInDesiredSpeed_rlt_clock_a_1 (+ X1 - (/ 1 20)) + (/ 1.0 20.0)) top.impl.usr.newDesiredSpeed_a_0))) (= top.impl.usr.rlt_condact_cruise_controller_CruiseController_SetDesiredSpeed_computeDecreaseInDesiredSpeed_rlt_init_step_a_1 @@ -1753,7 +1718,7 @@ top.impl.usr.rlt_condact_cruise_controller_CruiseController_SetDesiredSpeed_computeDecreaseInDesiredSpeed_rlt_clock_a_1 (- X1 - (/ 1 20)) + (/ 1.0 20.0)) top.impl.usr.newDesiredSpeed1_a_0))) (= top.impl.usr.cruise_controller_CruiseController_SetDesiredSpeed_IncreaseDesiredSpeed_a_1 @@ -1792,10 +1757,9 @@ 0.0))))) (let ((X73 - Int top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_setDesiredSpeed_a_0)) + top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_setDesiredSpeed_a_0)) (let ((X74 - Int (ite X8 (ite @@ -1815,7 +1779,6 @@ X73))) (let ((X75 - Int (ite X39 1 @@ -1840,7 +1803,6 @@ X74))))) (let ((X76 - Int (ite X67 (ite @@ -1851,14 +1813,12 @@ X68))) (let ((X77 - Int (ite X50 1 X75))) (let ((X78 - Int (ite X54 (ite @@ -2041,7 +2001,6 @@ 0.0))) (let ((X79 - Real (ite (or (or @@ -2085,7 +2044,6 @@ 0.0))) (let ((X80 - Int (ite (not (= X6 1)) @@ -2179,33 +2137,6 @@ )) -(declare-primed-var top.usr.onOff Bool) -(declare-primed-var top.usr.decelSet Bool) -(declare-primed-var top.usr.accelResume Bool) -(declare-primed-var top.usr.cancel Bool) -(declare-primed-var top.usr.brakePedal Bool) -(declare-primed-var top.usr.carGear Int) -(declare-primed-var top.usr.carSpeed Real) -(declare-primed-var top.usr.validInputs Bool) -(declare-primed-var top.usr.OK Bool) -(declare-primed-var top.res.init_flag Bool) -(declare-primed-var top.impl.usr.mode Int) -(declare-primed-var top.impl.usr.rlt_condact_cruise_controller_CruiseController_SetDesiredSpeed_computeDecreaseInDesiredSpeed_rlt_clock Bool) -(declare-primed-var top.impl.usr.rlt_condact_cruise_controller_CruiseController_SetDesiredSpeed_computeDecreaseInDesiredSpeed_rlt_init_step Bool) -(declare-primed-var top.impl.usr.newDesiredSpeed1 Real) -(declare-primed-var top.impl.usr.rlt_condact_cruise_controller_CruiseController_SetDesiredSpeed_computeIncreaseInDesiredSpeed_rlt_clock Bool) -(declare-primed-var top.impl.usr.rlt_condact_cruise_controller_CruiseController_SetDesiredSpeed_computeIncreaseInDesiredSpeed_rlt_init_step Bool) -(declare-primed-var top.impl.usr.newDesiredSpeed Real) -(declare-primed-var top.impl.usr.chart_CruiseController_ModeLogic_mode_logic____wakeup___ Bool) -(declare-primed-var top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep Bool) -(declare-primed-var top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_final_state_states___root Int) -(declare-primed-var top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_setDesiredSpeed Int) -(declare-primed-var top.impl.usr.cruise_controller_CruiseController_ModeLogic_DelayOnsetAccel_Bounded_Count_Out Int) -(declare-primed-var top.impl.usr.cruise_controller_CruiseController_ModeLogic_DelayOnsetDecel_Bounded_Count_Out Int) -(declare-primed-var top.impl.usr.cruise_controller_CruiseController_SetDesiredSpeed_setDesiredSpeed Bool) -(declare-primed-var top.impl.usr.cruise_controller_CruiseController_SetDesiredSpeed_IncreaseDesiredSpeed Real) -(declare-primed-var top.impl.usr.cruise_controller_CruiseController_SetThrottle_cruiseThrottlePrevPlusDelta Real) - (define-fun init ( (top.usr.onOff Bool) @@ -2237,12 +2168,12 @@ ) Bool (let - ((X1 Real 0.0)) + ((X1 0.0)) (let - ((X2 Bool false)) + ((X2 false)) (let ((X3 - Bool (and + (and (and (and (and (not top.usr.cancel) (not top.usr.brakePedal)) @@ -2250,7 +2181,7 @@ (ite (>= top.usr.carSpeed 15.0) true false)) top.usr.validInputs))) (let - ((X4 Bool false)) + ((X4 false)) (and (= top.impl.usr.cruise_controller_CruiseController_ModeLogic_DelayOnsetDecel_Bounded_Count_Out @@ -2278,73 +2209,73 @@ (ite top.usr.accelResume 1 0)) 20)) (let - ((X5 Int 0)) + ((X5 0)) (let - ((X6 Int 0)) + ((X6 0)) (and (= top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep true) (let - ((X7 Int (ite (not top.usr.onOff) 0 1))) + ((X7 (ite (not top.usr.onOff) 0 1))) (let ((X8 - Bool (and + (and (and (>= X6 2) (<= X6 8)) (not (ite (not (= X7 0)) true false))))) (let - ((X9 Int (ite X8 (ite (and (>= X6 2) (<= X6 8)) 0 X6) X6))) + ((X9 (ite X8 (ite (and (>= X6 2) (<= X6 8)) 0 X6) X6))) (let - ((X10 Int (ite X8 (ite (not (= X9 1)) 1 X5) X5))) + ((X10 (ite X8 (ite (not (= X9 1)) 1 X5) X5))) (let - ((X11 Int (ite X8 (ite (not (= X9 1)) 1 X9) X9))) + ((X11 (ite X8 (ite (not (= X9 1)) 1 X9) X9))) (let ((X12 - Bool (and + (and (= X11 1) (and (ite (not (= X7 0)) true false) (not X8))))) (let - ((X13 Int (ite X12 (ite (= X11 1) 0 X11) X11))) + ((X13 (ite X12 (ite (= X11 1) 0 X11) X11))) (let - ((X14 Int (ite (not (and (>= X13 2) (<= X13 8))) 2 X13))) + ((X14 (ite (not (and (>= X13 2) (<= X13 8))) 2 X13))) (let ((X15 - Bool (and + (and (not (and (>= X13 2) (<= X13 8))) (and (>= X14 2) (<= X14 8))))) (let ((X16 - Int (ite + (ite X12 (ite X15 (ite (not (= X14 7)) 2 X10) X10) X10))) (let - ((X17 Int (ite X15 (ite (not (= X14 7)) 7 X14) X14))) + ((X17 (ite X15 (ite (not (= X14 7)) 7 X14) X14))) (let - ((X18 Int (ite X12 X17 X13))) + ((X18 (ite X12 X17 X13))) (let - ((X19 Bool (or X12 X8))) + ((X19 (or X12 X8))) (let - ((X20 Int (ite (not X3) 0 1))) + ((X20 (ite (not X3) 0 1))) (let ((X21 - Bool (and + (and (and (>= X18 3) (<= X18 6)) (not (ite (not (= X20 0)) true false))))) (let ((X22 - Int (ite + (ite X21 (ite (and (>= X18 3) (<= X18 6)) 2 X18) X18))) (let ((X23 - Int (ite X21 (ite (not (= X22 8)) 8 X22) X22))) + (ite X21 (ite (not (= X22 8)) 8 X22) X22))) (let - ((X24 Int (ite (not X2) 0 1))) + ((X24 (ite (not X2) 0 1))) (let ((X25 - Bool (and + (and (= X23 8) (and (and @@ -2358,31 +2289,31 @@ false)) (not X21))))) (let - ((X26 Int (ite X25 (ite (= X23 8) 2 X23) X23))) + ((X26 (ite X25 (ite (= X23 8) 2 X23) X23))) (let ((X27 - Int (ite + (ite (not (and (>= X26 3) (<= X26 6))) 3 X26))) (let ((X28 - Bool (and + (and (not (and (>= X26 3) (<= X26 6))) (and (>= X27 3) (<= X27 6))))) (let ((X29 - Int (ite + (ite X28 (ite (not (= X27 4)) 4 X27) X27))) (let - ((X30 Int (ite X25 X29 X26))) + ((X30 (ite X25 X29 X26))) (let - ((X31 Bool (or X25 X21))) + ((X31 (or X25 X21))) (let ((X32 - Bool (and + (and (= X30 8) (and (and @@ -2407,36 +2338,36 @@ (not X31))))) (let ((X33 - Int (ite + (ite X32 (ite (= X30 8) 2 X30) X30))) (let ((X34 - Int (ite + (ite (not (and (>= X33 3) (<= X33 6))) 3 X33))) (let ((X35 - Bool (and + (and (not (and (>= X33 3) (<= X33 6))) (and (>= X34 3) (<= X34 6))))) (let ((X36 - Int (ite + (ite X35 (ite (not (= X34 4)) 4 X34) X34))) (let - ((X37 Int (ite X32 X36 X33))) + ((X37 (ite X32 X36 X33))) (let - ((X38 Bool (or X32 X31))) + ((X38 (or X32 X31))) (let ((X39 - Bool (and + (and (= X37 7) (and (and @@ -2463,13 +2394,13 @@ (not X38))))) (let ((X40 - Int (ite + (ite X39 (ite (= X37 7) 2 X37) X37))) (let ((X41 - Int (ite + (ite X21 (ite (not (= X22 8)) @@ -2478,7 +2409,7 @@ X16))) (let ((X42 - Int (ite + (ite X25 (ite X28 @@ -2490,7 +2421,7 @@ X41))) (let ((X43 - Int (ite + (ite X32 (ite X35 @@ -2502,7 +2433,7 @@ X42))) (let ((X44 - Int (ite + (ite (not (and (>= X40 3) @@ -2511,7 +2442,7 @@ X40))) (let ((X45 - Bool (and + (and (not (and (>= X40 3) @@ -2521,7 +2452,7 @@ (<= X44 6))))) (let ((X46 - Int (ite + (ite X39 (ite X45 @@ -2533,7 +2464,7 @@ X43))) (let ((X47 - Int (ite + (ite X45 (ite (not (= X44 4)) @@ -2542,17 +2473,17 @@ X44))) (let ((X48 - Int (ite X39 X47 X40))) + (ite X39 X47 X40))) (let - ((X49 Bool (or X39 X38))) + ((X49 (or X39 X38))) (let ((X50 - Bool (and + (and (= X48 4) (= X24 1)))) (let ((X51 - Int (ite + (ite X50 (ite (= X48 4) @@ -2561,7 +2492,7 @@ X48))) (let ((X52 - Int (ite + (ite X50 (ite (not @@ -2571,7 +2502,7 @@ X51))) (let ((X53 - Int (ite + (ite (not (ite (= @@ -2583,14 +2514,14 @@ 1))) (let ((X54 - Bool (and + (and (= X52 4) (and (= X53 1) (not X50))))) (let ((X55 - Int (ite + (ite X54 (ite (= X52 4) @@ -2599,7 +2530,7 @@ X52))) (let ((X56 - Int (ite + (ite X54 (ite (not @@ -2609,12 +2540,12 @@ X55))) (let ((X57 - Bool (or + (or X54 X50))) (let ((X58 - Int (ite + (ite (not (ite (= @@ -2626,7 +2557,6 @@ 1))) (let ((X59 - Bool (and (= X56 4) (and @@ -2634,7 +2564,6 @@ (not X57))))) (let ((X60 - Int (ite X59 (ite @@ -2644,7 +2573,6 @@ X56))) (let ((X61 - Int (ite X59 (ite @@ -2655,13 +2583,11 @@ X60))) (let ((X62 - Bool (or X59 X57))) (let ((X63 - Bool (and (= X61 6) (and @@ -2669,7 +2595,6 @@ (not X62))))) (let ((X64 - Int (ite X63 (ite @@ -2679,7 +2604,6 @@ X61))) (let ((X65 - Int (ite X63 (ite @@ -2690,13 +2614,11 @@ X64))) (let ((X66 - Bool (or X63 X62))) (let ((X67 - Bool (and (= X65 5) (and @@ -2704,7 +2626,6 @@ (not X66))))) (let ((X68 - Int (ite X67 (ite @@ -2714,7 +2635,6 @@ X65))) (let ((X69 - Int (ite X50 (ite @@ -2725,7 +2645,6 @@ X46))) (let ((X70 - Int (ite X54 (ite @@ -2736,7 +2655,6 @@ X69))) (let ((X71 - Int (ite X59 (ite @@ -2747,7 +2665,6 @@ X70))) (let ((X72 - Int (ite X63 (ite @@ -2823,7 +2740,7 @@ 0.0 (+ X1 - (/ 1 20)))) + (/ 1.0 20.0)))) (= top.impl.usr.rlt_condact_cruise_controller_CruiseController_SetDesiredSpeed_computeDecreaseInDesiredSpeed_rlt_init_step true) @@ -2845,7 +2762,7 @@ 0.0 (- X1 - (/ 1 20)))) + (/ 1.0 20.0)))) (= top.impl.usr.cruise_controller_CruiseController_SetDesiredSpeed_IncreaseDesiredSpeed (ite @@ -2883,10 +2800,9 @@ 0.0))))) (let ((X73 - Int 0)) + 0)) (let ((X74 - Int (ite X8 (ite @@ -2906,7 +2822,6 @@ X73))) (let ((X75 - Int (ite X39 1 @@ -2931,7 +2846,6 @@ X74))))) (let ((X76 - Int (ite X67 (ite @@ -2942,14 +2856,12 @@ X68))) (let ((X77 - Int (ite X50 1 X75))) (let ((X78 - Int (ite X54 (ite @@ -3100,7 +3012,6 @@ 0.0)) (let ((X79 - Real (ite (or (or @@ -3144,7 +3055,6 @@ 0.0))) (let ((X80 - Int (ite (not (= X6 1)) @@ -3268,7 +3178,7 @@ (let ((X1 - Real (ite + (ite (< (ite top.impl.usr.cruise_controller_CruiseController_SetDesiredSpeed_setDesiredSpeed @@ -3289,10 +3199,10 @@ top.usr.carSpeed top.impl.usr.cruise_controller_CruiseController_SetDesiredSpeed_IncreaseDesiredSpeed))))) (let - ((X2 Bool (and (not top.usr.decelSet) top.usr.decelSet!))) + ((X2 (and (not top.usr.decelSet) top.usr.decelSet!))) (let ((X3 - Bool (and + (and (and (and (and (not top.usr.cancel!) (not top.usr.brakePedal!)) @@ -3300,7 +3210,7 @@ (ite (>= top.usr.carSpeed! 15.0) true false)) top.usr.validInputs!))) (let - ((X4 Bool (and (not top.usr.accelResume) top.usr.accelResume!))) + ((X4 (and (not top.usr.accelResume) top.usr.accelResume!))) (and (= top.impl.usr.cruise_controller_CruiseController_ModeLogic_DelayOnsetDecel_Bounded_Count_Out! @@ -3379,10 +3289,10 @@ 0)) 20)) (let - ((X5 Int top.impl.usr.mode)) + ((X5 top.impl.usr.mode)) (let ((X6 - Int top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_final_state_states___root)) + top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_final_state_states___root)) (and (= top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep! @@ -3391,65 +3301,65 @@ false top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep)) (let - ((X7 Int (ite (not top.usr.onOff!) 0 1))) + ((X7 (ite (not top.usr.onOff!) 0 1))) (let ((X8 - Bool (and + (and (and (>= X6 2) (<= X6 8)) (not (ite (not (= X7 0)) true false))))) (let - ((X9 Int (ite X8 (ite (and (>= X6 2) (<= X6 8)) 0 X6) X6))) + ((X9 (ite X8 (ite (and (>= X6 2) (<= X6 8)) 0 X6) X6))) (let - ((X10 Int (ite X8 (ite (not (= X9 1)) 1 X5) X5))) + ((X10 (ite X8 (ite (not (= X9 1)) 1 X5) X5))) (let - ((X11 Int (ite X8 (ite (not (= X9 1)) 1 X9) X9))) + ((X11 (ite X8 (ite (not (= X9 1)) 1 X9) X9))) (let ((X12 - Bool (and + (and (= X11 1) (and (ite (not (= X7 0)) true false) (not X8))))) (let - ((X13 Int (ite X12 (ite (= X11 1) 0 X11) X11))) + ((X13 (ite X12 (ite (= X11 1) 0 X11) X11))) (let - ((X14 Int (ite (not (and (>= X13 2) (<= X13 8))) 2 X13))) + ((X14 (ite (not (and (>= X13 2) (<= X13 8))) 2 X13))) (let ((X15 - Bool (and + (and (not (and (>= X13 2) (<= X13 8))) (and (>= X14 2) (<= X14 8))))) (let ((X16 - Int (ite + (ite X12 (ite X15 (ite (not (= X14 7)) 2 X10) X10) X10))) (let - ((X17 Int (ite X15 (ite (not (= X14 7)) 7 X14) X14))) + ((X17 (ite X15 (ite (not (= X14 7)) 7 X14) X14))) (let - ((X18 Int (ite X12 X17 X13))) + ((X18 (ite X12 X17 X13))) (let - ((X19 Bool (or X12 X8))) + ((X19 (or X12 X8))) (let - ((X20 Int (ite (not X3) 0 1))) + ((X20 (ite (not X3) 0 1))) (let ((X21 - Bool (and + (and (and (>= X18 3) (<= X18 6)) (not (ite (not (= X20 0)) true false))))) (let ((X22 - Int (ite + (ite X21 (ite (and (>= X18 3) (<= X18 6)) 2 X18) X18))) (let ((X23 - Int (ite X21 (ite (not (= X22 8)) 8 X22) X22))) + (ite X21 (ite (not (= X22 8)) 8 X22) X22))) (let - ((X24 Int (ite (not X2) 0 1))) + ((X24 (ite (not X2) 0 1))) (let ((X25 - Bool (and + (and (= X23 8) (and (and @@ -3463,31 +3373,31 @@ false)) (not X21))))) (let - ((X26 Int (ite X25 (ite (= X23 8) 2 X23) X23))) + ((X26 (ite X25 (ite (= X23 8) 2 X23) X23))) (let ((X27 - Int (ite + (ite (not (and (>= X26 3) (<= X26 6))) 3 X26))) (let ((X28 - Bool (and + (and (not (and (>= X26 3) (<= X26 6))) (and (>= X27 3) (<= X27 6))))) (let ((X29 - Int (ite + (ite X28 (ite (not (= X27 4)) 4 X27) X27))) (let - ((X30 Int (ite X25 X29 X26))) + ((X30 (ite X25 X29 X26))) (let - ((X31 Bool (or X25 X21))) + ((X31 (or X25 X21))) (let ((X32 - Bool (and + (and (= X30 8) (and (and @@ -3512,36 +3422,36 @@ (not X31))))) (let ((X33 - Int (ite + (ite X32 (ite (= X30 8) 2 X30) X30))) (let ((X34 - Int (ite + (ite (not (and (>= X33 3) (<= X33 6))) 3 X33))) (let ((X35 - Bool (and + (and (not (and (>= X33 3) (<= X33 6))) (and (>= X34 3) (<= X34 6))))) (let ((X36 - Int (ite + (ite X35 (ite (not (= X34 4)) 4 X34) X34))) (let - ((X37 Int (ite X32 X36 X33))) + ((X37 (ite X32 X36 X33))) (let - ((X38 Bool (or X32 X31))) + ((X38 (or X32 X31))) (let ((X39 - Bool (and + (and (= X37 7) (and (and @@ -3568,13 +3478,13 @@ (not X38))))) (let ((X40 - Int (ite + (ite X39 (ite (= X37 7) 2 X37) X37))) (let ((X41 - Int (ite + (ite X21 (ite (not (= X22 8)) @@ -3583,7 +3493,7 @@ X16))) (let ((X42 - Int (ite + (ite X25 (ite X28 @@ -3595,7 +3505,7 @@ X41))) (let ((X43 - Int (ite + (ite X32 (ite X35 @@ -3607,7 +3517,7 @@ X42))) (let ((X44 - Int (ite + (ite (not (and (>= X40 3) @@ -3616,7 +3526,7 @@ X40))) (let ((X45 - Bool (and + (and (not (and (>= X40 3) @@ -3626,7 +3536,7 @@ (<= X44 6))))) (let ((X46 - Int (ite + (ite X39 (ite X45 @@ -3638,7 +3548,7 @@ X43))) (let ((X47 - Int (ite + (ite X45 (ite (not (= X44 4)) @@ -3647,17 +3557,17 @@ X44))) (let ((X48 - Int (ite X39 X47 X40))) + (ite X39 X47 X40))) (let - ((X49 Bool (or X39 X38))) + ((X49 (or X39 X38))) (let ((X50 - Bool (and + (and (= X48 4) (= X24 1)))) (let ((X51 - Int (ite + (ite X50 (ite (= X48 4) @@ -3666,7 +3576,7 @@ X48))) (let ((X52 - Int (ite + (ite X50 (ite (not @@ -3676,7 +3586,7 @@ X51))) (let ((X53 - Int (ite + (ite (not (ite (= @@ -3688,14 +3598,14 @@ 1))) (let ((X54 - Bool (and + (and (= X52 4) (and (= X53 1) (not X50))))) (let ((X55 - Int (ite + (ite X54 (ite (= X52 4) @@ -3704,7 +3614,7 @@ X52))) (let ((X56 - Int (ite + (ite X54 (ite (not @@ -3714,12 +3624,12 @@ X55))) (let ((X57 - Bool (or + (or X54 X50))) (let ((X58 - Int (ite + (ite (not (ite (= @@ -3731,7 +3641,6 @@ 1))) (let ((X59 - Bool (and (= X56 4) (and @@ -3739,7 +3648,6 @@ (not X57))))) (let ((X60 - Int (ite X59 (ite @@ -3749,7 +3657,6 @@ X56))) (let ((X61 - Int (ite X59 (ite @@ -3760,13 +3667,11 @@ X60))) (let ((X62 - Bool (or X59 X57))) (let ((X63 - Bool (and (= X61 6) (and @@ -3774,7 +3679,6 @@ (not X62))))) (let ((X64 - Int (ite X63 (ite @@ -3784,7 +3688,6 @@ X61))) (let ((X65 - Int (ite X63 (ite @@ -3795,13 +3698,11 @@ X64))) (let ((X66 - Bool (or X63 X62))) (let ((X67 - Bool (and (= X65 5) (and @@ -3809,7 +3710,6 @@ (not X66))))) (let ((X68 - Int (ite X67 (ite @@ -3819,7 +3719,6 @@ X65))) (let ((X69 - Int (ite X50 (ite @@ -3830,7 +3729,6 @@ X46))) (let ((X70 - Int (ite X54 (ite @@ -3841,7 +3739,6 @@ X69))) (let ((X71 - Int (ite X59 (ite @@ -3852,7 +3749,6 @@ X70))) (let ((X72 - Int (ite X63 (ite @@ -3933,7 +3829,7 @@ top.impl.usr.rlt_condact_cruise_controller_CruiseController_SetDesiredSpeed_computeIncreaseInDesiredSpeed_rlt_clock! (+ X1 - (/ 1 20)) + (/ 1.0 20.0)) top.impl.usr.newDesiredSpeed))) (= top.impl.usr.rlt_condact_cruise_controller_CruiseController_SetDesiredSpeed_computeDecreaseInDesiredSpeed_rlt_init_step! @@ -3961,7 +3857,7 @@ top.impl.usr.rlt_condact_cruise_controller_CruiseController_SetDesiredSpeed_computeDecreaseInDesiredSpeed_rlt_clock! (- X1 - (/ 1 20)) + (/ 1.0 20.0)) top.impl.usr.newDesiredSpeed1))) (= top.impl.usr.cruise_controller_CruiseController_SetDesiredSpeed_IncreaseDesiredSpeed! @@ -4000,10 +3896,9 @@ 0.0))))) (let ((X73 - Int top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_setDesiredSpeed)) + top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_setDesiredSpeed)) (let ((X74 - Int (ite X8 (ite @@ -4023,7 +3918,6 @@ X73))) (let ((X75 - Int (ite X39 1 @@ -4048,7 +3942,6 @@ X74))))) (let ((X76 - Int (ite X67 (ite @@ -4059,14 +3952,12 @@ X68))) (let ((X77 - Int (ite X50 1 X75))) (let ((X78 - Int (ite X54 (ite @@ -4249,7 +4140,6 @@ 0.0))) (let ((X79 - Real (ite (or (or @@ -4293,7 +4183,6 @@ 0.0))) (let ((X80 - Int (ite (not (= X6 1)) diff --git a/lib-nonconforming/Inv_Track/andrew_lustre/cruise_controller_11.lus.sl b/lib/Inv_Track/andrew_lustre/cruise_controller_11.lus.sl similarity index 92% rename from lib-nonconforming/Inv_Track/andrew_lustre/cruise_controller_11.lus.sl rename to lib/Inv_Track/andrew_lustre/cruise_controller_11.lus.sl index 63aec08b..aba8e38f 100644 --- a/lib-nonconforming/Inv_Track/andrew_lustre/cruise_controller_11.lus.sl +++ b/lib/Inv_Track/andrew_lustre/cruise_controller_11.lus.sl @@ -31,12 +31,12 @@ ) Bool (let - ((X1 Real 0.0)) + ((X1 0.0)) (let - ((X2 Bool false)) + ((X2 false)) (let ((X3 - Bool (and + (and (and (and (and (not top.usr.cancel_a_0) (not top.usr.brakePedal_a_0)) @@ -44,7 +44,7 @@ (ite (>= top.usr.carSpeed_a_0 15.0) true false)) top.usr.validInputs_a_0))) (let - ((X4 Bool false)) + ((X4 false)) (and (= top.impl.usr.cruise_controller_CruiseController_ModeLogic_DelayOnsetDecel_Bounded_Count_Out_a_0 @@ -75,73 +75,73 @@ (ite top.usr.accelResume_a_0 1 0)) 20)) (let - ((X5 Int 0)) + ((X5 0)) (let - ((X6 Int 0)) + ((X6 0)) (and (= top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep_a_0 true) (let - ((X7 Int (ite (not top.usr.onOff_a_0) 0 1))) + ((X7 (ite (not top.usr.onOff_a_0) 0 1))) (let ((X8 - Bool (and + (and (and (>= X6 2) (<= X6 8)) (not (ite (not (= X7 0)) true false))))) (let - ((X9 Int (ite X8 (ite (and (>= X6 2) (<= X6 8)) 0 X6) X6))) + ((X9 (ite X8 (ite (and (>= X6 2) (<= X6 8)) 0 X6) X6))) (let - ((X10 Int (ite X8 (ite (not (= X9 1)) 1 X5) X5))) + ((X10 (ite X8 (ite (not (= X9 1)) 1 X5) X5))) (let - ((X11 Int (ite X8 (ite (not (= X9 1)) 1 X9) X9))) + ((X11 (ite X8 (ite (not (= X9 1)) 1 X9) X9))) (let ((X12 - Bool (and + (and (= X11 1) (and (ite (not (= X7 0)) true false) (not X8))))) (let - ((X13 Int (ite X12 (ite (= X11 1) 0 X11) X11))) + ((X13 (ite X12 (ite (= X11 1) 0 X11) X11))) (let - ((X14 Int (ite (not (and (>= X13 2) (<= X13 8))) 2 X13))) + ((X14 (ite (not (and (>= X13 2) (<= X13 8))) 2 X13))) (let ((X15 - Bool (and + (and (not (and (>= X13 2) (<= X13 8))) (and (>= X14 2) (<= X14 8))))) (let ((X16 - Int (ite + (ite X12 (ite X15 (ite (not (= X14 7)) 2 X10) X10) X10))) (let - ((X17 Int (ite X15 (ite (not (= X14 7)) 7 X14) X14))) + ((X17 (ite X15 (ite (not (= X14 7)) 7 X14) X14))) (let - ((X18 Int (ite X12 X17 X13))) + ((X18 (ite X12 X17 X13))) (let - ((X19 Bool (or X12 X8))) + ((X19 (or X12 X8))) (let - ((X20 Int (ite (not X3) 0 1))) + ((X20 (ite (not X3) 0 1))) (let ((X21 - Bool (and + (and (and (>= X18 3) (<= X18 6)) (not (ite (not (= X20 0)) true false))))) (let ((X22 - Int (ite + (ite X21 (ite (and (>= X18 3) (<= X18 6)) 2 X18) X18))) (let ((X23 - Int (ite X21 (ite (not (= X22 8)) 8 X22) X22))) + (ite X21 (ite (not (= X22 8)) 8 X22) X22))) (let - ((X24 Int (ite (not X2) 0 1))) + ((X24 (ite (not X2) 0 1))) (let ((X25 - Bool (and + (and (= X23 8) (and (and @@ -155,31 +155,31 @@ false)) (not X21))))) (let - ((X26 Int (ite X25 (ite (= X23 8) 2 X23) X23))) + ((X26 (ite X25 (ite (= X23 8) 2 X23) X23))) (let ((X27 - Int (ite + (ite (not (and (>= X26 3) (<= X26 6))) 3 X26))) (let ((X28 - Bool (and + (and (not (and (>= X26 3) (<= X26 6))) (and (>= X27 3) (<= X27 6))))) (let ((X29 - Int (ite + (ite X28 (ite (not (= X27 4)) 4 X27) X27))) (let - ((X30 Int (ite X25 X29 X26))) + ((X30 (ite X25 X29 X26))) (let - ((X31 Bool (or X25 X21))) + ((X31 (or X25 X21))) (let ((X32 - Bool (and + (and (= X30 8) (and (and @@ -204,36 +204,36 @@ (not X31))))) (let ((X33 - Int (ite + (ite X32 (ite (= X30 8) 2 X30) X30))) (let ((X34 - Int (ite + (ite (not (and (>= X33 3) (<= X33 6))) 3 X33))) (let ((X35 - Bool (and + (and (not (and (>= X33 3) (<= X33 6))) (and (>= X34 3) (<= X34 6))))) (let ((X36 - Int (ite + (ite X35 (ite (not (= X34 4)) 4 X34) X34))) (let - ((X37 Int (ite X32 X36 X33))) + ((X37 (ite X32 X36 X33))) (let - ((X38 Bool (or X32 X31))) + ((X38 (or X32 X31))) (let ((X39 - Bool (and + (and (= X37 7) (and (and @@ -260,13 +260,13 @@ (not X38))))) (let ((X40 - Int (ite + (ite X39 (ite (= X37 7) 2 X37) X37))) (let ((X41 - Int (ite + (ite X21 (ite (not (= X22 8)) @@ -275,7 +275,7 @@ X16))) (let ((X42 - Int (ite + (ite X25 (ite X28 @@ -287,7 +287,7 @@ X41))) (let ((X43 - Int (ite + (ite X32 (ite X35 @@ -299,7 +299,7 @@ X42))) (let ((X44 - Int (ite + (ite (not (and (>= X40 3) @@ -308,7 +308,7 @@ X40))) (let ((X45 - Bool (and + (and (not (and (>= X40 3) @@ -318,7 +318,7 @@ (<= X44 6))))) (let ((X46 - Int (ite + (ite X39 (ite X45 @@ -330,7 +330,7 @@ X43))) (let ((X47 - Int (ite + (ite X45 (ite (not (= X44 4)) @@ -339,17 +339,17 @@ X44))) (let ((X48 - Int (ite X39 X47 X40))) + (ite X39 X47 X40))) (let - ((X49 Bool (or X39 X38))) + ((X49 (or X39 X38))) (let ((X50 - Bool (and + (and (= X48 4) (= X24 1)))) (let ((X51 - Int (ite + (ite X50 (ite (= X48 4) @@ -358,7 +358,7 @@ X48))) (let ((X52 - Int (ite + (ite X50 (ite (not @@ -368,7 +368,7 @@ X51))) (let ((X53 - Int (ite + (ite (not (ite (= @@ -380,14 +380,14 @@ 1))) (let ((X54 - Bool (and + (and (= X52 4) (and (= X53 1) (not X50))))) (let ((X55 - Int (ite + (ite X54 (ite (= X52 4) @@ -396,7 +396,7 @@ X52))) (let ((X56 - Int (ite + (ite X54 (ite (not @@ -406,12 +406,12 @@ X55))) (let ((X57 - Bool (or + (or X54 X50))) (let ((X58 - Int (ite + (ite (not (ite (= @@ -423,7 +423,6 @@ 1))) (let ((X59 - Bool (and (= X56 4) (and @@ -431,7 +430,6 @@ (not X57))))) (let ((X60 - Int (ite X59 (ite @@ -441,7 +439,6 @@ X56))) (let ((X61 - Int (ite X59 (ite @@ -452,13 +449,11 @@ X60))) (let ((X62 - Bool (or X59 X57))) (let ((X63 - Bool (and (= X61 6) (and @@ -466,7 +461,6 @@ (not X62))))) (let ((X64 - Int (ite X63 (ite @@ -476,7 +470,6 @@ X61))) (let ((X65 - Int (ite X63 (ite @@ -487,13 +480,11 @@ X64))) (let ((X66 - Bool (or X63 X62))) (let ((X67 - Bool (and (= X65 5) (and @@ -501,7 +492,6 @@ (not X66))))) (let ((X68 - Int (ite X67 (ite @@ -511,7 +501,6 @@ X65))) (let ((X69 - Int (ite X50 (ite @@ -522,7 +511,6 @@ X46))) (let ((X70 - Int (ite X54 (ite @@ -533,7 +521,6 @@ X69))) (let ((X71 - Int (ite X59 (ite @@ -544,7 +531,6 @@ X70))) (let ((X72 - Int (ite X63 (ite @@ -620,7 +606,7 @@ 0.0 (+ X1 - (/ 1 20)))) + (/ 1.0 20.0)))) (= top.impl.usr.rlt_condact_cruise_controller_CruiseController_SetDesiredSpeed_computeDecreaseInDesiredSpeed_rlt_init_step_a_0 true) @@ -642,7 +628,7 @@ 0.0 (- X1 - (/ 1 20)))) + (/ 1.0 20.0)))) (= top.impl.usr.cruise_controller_CruiseController_SetDesiredSpeed_IncreaseDesiredSpeed_a_0 (ite @@ -680,10 +666,9 @@ 0.0))))) (let ((X73 - Int 0)) + 0)) (let ((X74 - Int (ite X8 (ite @@ -703,7 +688,6 @@ X73))) (let ((X75 - Int (ite X39 1 @@ -728,7 +712,6 @@ X74))))) (let ((X76 - Int (ite X67 (ite @@ -739,14 +722,12 @@ X68))) (let ((X77 - Int (ite X50 1 X75))) (let ((X78 - Int (ite X54 (ite @@ -897,7 +878,6 @@ 0.0)) (let ((X79 - Real (ite (or (or @@ -951,7 +931,6 @@ 0.0))) (let ((X80 - Int (ite (not (= X6 1)) @@ -1070,7 +1049,7 @@ (let ((X1 - Real (ite + (ite (< (ite top.impl.usr.cruise_controller_CruiseController_SetDesiredSpeed_setDesiredSpeed_a_0 @@ -1091,10 +1070,10 @@ top.usr.carSpeed_a_0 top.impl.usr.cruise_controller_CruiseController_SetDesiredSpeed_IncreaseDesiredSpeed_a_0))))) (let - ((X2 Bool (and (not top.usr.decelSet_a_0) top.usr.decelSet_a_1))) + ((X2 (and (not top.usr.decelSet_a_0) top.usr.decelSet_a_1))) (let ((X3 - Bool (and + (and (and (and (and (not top.usr.cancel_a_1) (not top.usr.brakePedal_a_1)) @@ -1102,7 +1081,7 @@ (ite (>= top.usr.carSpeed_a_1 15.0) true false)) top.usr.validInputs_a_1))) (let - ((X4 Bool (and (not top.usr.accelResume_a_0) top.usr.accelResume_a_1))) + ((X4 (and (not top.usr.accelResume_a_0) top.usr.accelResume_a_1))) (and (= top.impl.usr.cruise_controller_CruiseController_ModeLogic_DelayOnsetDecel_Bounded_Count_Out_a_1 @@ -1181,10 +1160,10 @@ 0)) 20)) (let - ((X5 Int top.impl.usr.mode_a_0)) + ((X5 top.impl.usr.mode_a_0)) (let ((X6 - Int top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_final_state_states___root_a_0)) + top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_final_state_states___root_a_0)) (and (= top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep_a_1 @@ -1193,65 +1172,65 @@ false top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep_a_0)) (let - ((X7 Int (ite (not top.usr.onOff_a_1) 0 1))) + ((X7 (ite (not top.usr.onOff_a_1) 0 1))) (let ((X8 - Bool (and + (and (and (>= X6 2) (<= X6 8)) (not (ite (not (= X7 0)) true false))))) (let - ((X9 Int (ite X8 (ite (and (>= X6 2) (<= X6 8)) 0 X6) X6))) + ((X9 (ite X8 (ite (and (>= X6 2) (<= X6 8)) 0 X6) X6))) (let - ((X10 Int (ite X8 (ite (not (= X9 1)) 1 X5) X5))) + ((X10 (ite X8 (ite (not (= X9 1)) 1 X5) X5))) (let - ((X11 Int (ite X8 (ite (not (= X9 1)) 1 X9) X9))) + ((X11 (ite X8 (ite (not (= X9 1)) 1 X9) X9))) (let ((X12 - Bool (and + (and (= X11 1) (and (ite (not (= X7 0)) true false) (not X8))))) (let - ((X13 Int (ite X12 (ite (= X11 1) 0 X11) X11))) + ((X13 (ite X12 (ite (= X11 1) 0 X11) X11))) (let - ((X14 Int (ite (not (and (>= X13 2) (<= X13 8))) 2 X13))) + ((X14 (ite (not (and (>= X13 2) (<= X13 8))) 2 X13))) (let ((X15 - Bool (and + (and (not (and (>= X13 2) (<= X13 8))) (and (>= X14 2) (<= X14 8))))) (let ((X16 - Int (ite + (ite X12 (ite X15 (ite (not (= X14 7)) 2 X10) X10) X10))) (let - ((X17 Int (ite X15 (ite (not (= X14 7)) 7 X14) X14))) + ((X17 (ite X15 (ite (not (= X14 7)) 7 X14) X14))) (let - ((X18 Int (ite X12 X17 X13))) + ((X18 (ite X12 X17 X13))) (let - ((X19 Bool (or X12 X8))) + ((X19 (or X12 X8))) (let - ((X20 Int (ite (not X3) 0 1))) + ((X20 (ite (not X3) 0 1))) (let ((X21 - Bool (and + (and (and (>= X18 3) (<= X18 6)) (not (ite (not (= X20 0)) true false))))) (let ((X22 - Int (ite + (ite X21 (ite (and (>= X18 3) (<= X18 6)) 2 X18) X18))) (let ((X23 - Int (ite X21 (ite (not (= X22 8)) 8 X22) X22))) + (ite X21 (ite (not (= X22 8)) 8 X22) X22))) (let - ((X24 Int (ite (not X2) 0 1))) + ((X24 (ite (not X2) 0 1))) (let ((X25 - Bool (and + (and (= X23 8) (and (and @@ -1265,31 +1244,31 @@ false)) (not X21))))) (let - ((X26 Int (ite X25 (ite (= X23 8) 2 X23) X23))) + ((X26 (ite X25 (ite (= X23 8) 2 X23) X23))) (let ((X27 - Int (ite + (ite (not (and (>= X26 3) (<= X26 6))) 3 X26))) (let ((X28 - Bool (and + (and (not (and (>= X26 3) (<= X26 6))) (and (>= X27 3) (<= X27 6))))) (let ((X29 - Int (ite + (ite X28 (ite (not (= X27 4)) 4 X27) X27))) (let - ((X30 Int (ite X25 X29 X26))) + ((X30 (ite X25 X29 X26))) (let - ((X31 Bool (or X25 X21))) + ((X31 (or X25 X21))) (let ((X32 - Bool (and + (and (= X30 8) (and (and @@ -1314,36 +1293,36 @@ (not X31))))) (let ((X33 - Int (ite + (ite X32 (ite (= X30 8) 2 X30) X30))) (let ((X34 - Int (ite + (ite (not (and (>= X33 3) (<= X33 6))) 3 X33))) (let ((X35 - Bool (and + (and (not (and (>= X33 3) (<= X33 6))) (and (>= X34 3) (<= X34 6))))) (let ((X36 - Int (ite + (ite X35 (ite (not (= X34 4)) 4 X34) X34))) (let - ((X37 Int (ite X32 X36 X33))) + ((X37 (ite X32 X36 X33))) (let - ((X38 Bool (or X32 X31))) + ((X38 (or X32 X31))) (let ((X39 - Bool (and + (and (= X37 7) (and (and @@ -1370,13 +1349,13 @@ (not X38))))) (let ((X40 - Int (ite + (ite X39 (ite (= X37 7) 2 X37) X37))) (let ((X41 - Int (ite + (ite X21 (ite (not (= X22 8)) @@ -1385,7 +1364,7 @@ X16))) (let ((X42 - Int (ite + (ite X25 (ite X28 @@ -1397,7 +1376,7 @@ X41))) (let ((X43 - Int (ite + (ite X32 (ite X35 @@ -1409,7 +1388,7 @@ X42))) (let ((X44 - Int (ite + (ite (not (and (>= X40 3) @@ -1418,7 +1397,7 @@ X40))) (let ((X45 - Bool (and + (and (not (and (>= X40 3) @@ -1428,7 +1407,7 @@ (<= X44 6))))) (let ((X46 - Int (ite + (ite X39 (ite X45 @@ -1440,7 +1419,7 @@ X43))) (let ((X47 - Int (ite + (ite X45 (ite (not (= X44 4)) @@ -1449,17 +1428,17 @@ X44))) (let ((X48 - Int (ite X39 X47 X40))) + (ite X39 X47 X40))) (let - ((X49 Bool (or X39 X38))) + ((X49 (or X39 X38))) (let ((X50 - Bool (and + (and (= X48 4) (= X24 1)))) (let ((X51 - Int (ite + (ite X50 (ite (= X48 4) @@ -1468,7 +1447,7 @@ X48))) (let ((X52 - Int (ite + (ite X50 (ite (not @@ -1478,7 +1457,7 @@ X51))) (let ((X53 - Int (ite + (ite (not (ite (= @@ -1490,14 +1469,14 @@ 1))) (let ((X54 - Bool (and + (and (= X52 4) (and (= X53 1) (not X50))))) (let ((X55 - Int (ite + (ite X54 (ite (= X52 4) @@ -1506,7 +1485,7 @@ X52))) (let ((X56 - Int (ite + (ite X54 (ite (not @@ -1516,12 +1495,12 @@ X55))) (let ((X57 - Bool (or + (or X54 X50))) (let ((X58 - Int (ite + (ite (not (ite (= @@ -1533,7 +1512,6 @@ 1))) (let ((X59 - Bool (and (= X56 4) (and @@ -1541,7 +1519,6 @@ (not X57))))) (let ((X60 - Int (ite X59 (ite @@ -1551,7 +1528,6 @@ X56))) (let ((X61 - Int (ite X59 (ite @@ -1562,13 +1538,11 @@ X60))) (let ((X62 - Bool (or X59 X57))) (let ((X63 - Bool (and (= X61 6) (and @@ -1576,7 +1550,6 @@ (not X62))))) (let ((X64 - Int (ite X63 (ite @@ -1586,7 +1559,6 @@ X61))) (let ((X65 - Int (ite X63 (ite @@ -1597,13 +1569,11 @@ X64))) (let ((X66 - Bool (or X63 X62))) (let ((X67 - Bool (and (= X65 5) (and @@ -1611,7 +1581,6 @@ (not X66))))) (let ((X68 - Int (ite X67 (ite @@ -1621,7 +1590,6 @@ X65))) (let ((X69 - Int (ite X50 (ite @@ -1632,7 +1600,6 @@ X46))) (let ((X70 - Int (ite X54 (ite @@ -1643,7 +1610,6 @@ X69))) (let ((X71 - Int (ite X59 (ite @@ -1654,7 +1620,6 @@ X70))) (let ((X72 - Int (ite X63 (ite @@ -1735,7 +1700,7 @@ top.impl.usr.rlt_condact_cruise_controller_CruiseController_SetDesiredSpeed_computeIncreaseInDesiredSpeed_rlt_clock_a_1 (+ X1 - (/ 1 20)) + (/ 1.0 20.0)) top.impl.usr.newDesiredSpeed_a_0))) (= top.impl.usr.rlt_condact_cruise_controller_CruiseController_SetDesiredSpeed_computeDecreaseInDesiredSpeed_rlt_init_step_a_1 @@ -1763,7 +1728,7 @@ top.impl.usr.rlt_condact_cruise_controller_CruiseController_SetDesiredSpeed_computeDecreaseInDesiredSpeed_rlt_clock_a_1 (- X1 - (/ 1 20)) + (/ 1.0 20.0)) top.impl.usr.newDesiredSpeed1_a_0))) (= top.impl.usr.cruise_controller_CruiseController_SetDesiredSpeed_IncreaseDesiredSpeed_a_1 @@ -1802,10 +1767,9 @@ 0.0))))) (let ((X73 - Int top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_setDesiredSpeed_a_0)) + top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_setDesiredSpeed_a_0)) (let ((X74 - Int (ite X8 (ite @@ -1825,7 +1789,6 @@ X73))) (let ((X75 - Int (ite X39 1 @@ -1850,7 +1813,6 @@ X74))))) (let ((X76 - Int (ite X67 (ite @@ -1861,14 +1823,12 @@ X68))) (let ((X77 - Int (ite X50 1 X75))) (let ((X78 - Int (ite X54 (ite @@ -2051,7 +2011,6 @@ 0.0))) (let ((X79 - Real (ite (or (or @@ -2105,7 +2064,6 @@ 0.0))) (let ((X80 - Int (ite (not (= X6 1)) @@ -2199,33 +2157,6 @@ )) -(declare-primed-var top.usr.onOff Bool) -(declare-primed-var top.usr.decelSet Bool) -(declare-primed-var top.usr.accelResume Bool) -(declare-primed-var top.usr.cancel Bool) -(declare-primed-var top.usr.brakePedal Bool) -(declare-primed-var top.usr.carGear Int) -(declare-primed-var top.usr.carSpeed Real) -(declare-primed-var top.usr.validInputs Bool) -(declare-primed-var top.usr.OK Bool) -(declare-primed-var top.res.init_flag Bool) -(declare-primed-var top.impl.usr.mode Int) -(declare-primed-var top.impl.usr.rlt_condact_cruise_controller_CruiseController_SetDesiredSpeed_computeDecreaseInDesiredSpeed_rlt_clock Bool) -(declare-primed-var top.impl.usr.rlt_condact_cruise_controller_CruiseController_SetDesiredSpeed_computeDecreaseInDesiredSpeed_rlt_init_step Bool) -(declare-primed-var top.impl.usr.newDesiredSpeed1 Real) -(declare-primed-var top.impl.usr.rlt_condact_cruise_controller_CruiseController_SetDesiredSpeed_computeIncreaseInDesiredSpeed_rlt_clock Bool) -(declare-primed-var top.impl.usr.rlt_condact_cruise_controller_CruiseController_SetDesiredSpeed_computeIncreaseInDesiredSpeed_rlt_init_step Bool) -(declare-primed-var top.impl.usr.newDesiredSpeed Real) -(declare-primed-var top.impl.usr.chart_CruiseController_ModeLogic_mode_logic____wakeup___ Bool) -(declare-primed-var top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep Bool) -(declare-primed-var top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_final_state_states___root Int) -(declare-primed-var top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_setDesiredSpeed Int) -(declare-primed-var top.impl.usr.cruise_controller_CruiseController_ModeLogic_DelayOnsetAccel_Bounded_Count_Out Int) -(declare-primed-var top.impl.usr.cruise_controller_CruiseController_ModeLogic_DelayOnsetDecel_Bounded_Count_Out Int) -(declare-primed-var top.impl.usr.cruise_controller_CruiseController_SetDesiredSpeed_setDesiredSpeed Bool) -(declare-primed-var top.impl.usr.cruise_controller_CruiseController_SetDesiredSpeed_IncreaseDesiredSpeed Real) -(declare-primed-var top.impl.usr.cruise_controller_CruiseController_SetThrottle_cruiseThrottlePrevPlusDelta Real) - (define-fun init ( (top.usr.onOff Bool) @@ -2257,12 +2188,12 @@ ) Bool (let - ((X1 Real 0.0)) + ((X1 0.0)) (let - ((X2 Bool false)) + ((X2 false)) (let ((X3 - Bool (and + (and (and (and (and (not top.usr.cancel) (not top.usr.brakePedal)) @@ -2270,7 +2201,7 @@ (ite (>= top.usr.carSpeed 15.0) true false)) top.usr.validInputs))) (let - ((X4 Bool false)) + ((X4 false)) (and (= top.impl.usr.cruise_controller_CruiseController_ModeLogic_DelayOnsetDecel_Bounded_Count_Out @@ -2298,73 +2229,73 @@ (ite top.usr.accelResume 1 0)) 20)) (let - ((X5 Int 0)) + ((X5 0)) (let - ((X6 Int 0)) + ((X6 0)) (and (= top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep true) (let - ((X7 Int (ite (not top.usr.onOff) 0 1))) + ((X7 (ite (not top.usr.onOff) 0 1))) (let ((X8 - Bool (and + (and (and (>= X6 2) (<= X6 8)) (not (ite (not (= X7 0)) true false))))) (let - ((X9 Int (ite X8 (ite (and (>= X6 2) (<= X6 8)) 0 X6) X6))) + ((X9 (ite X8 (ite (and (>= X6 2) (<= X6 8)) 0 X6) X6))) (let - ((X10 Int (ite X8 (ite (not (= X9 1)) 1 X5) X5))) + ((X10 (ite X8 (ite (not (= X9 1)) 1 X5) X5))) (let - ((X11 Int (ite X8 (ite (not (= X9 1)) 1 X9) X9))) + ((X11 (ite X8 (ite (not (= X9 1)) 1 X9) X9))) (let ((X12 - Bool (and + (and (= X11 1) (and (ite (not (= X7 0)) true false) (not X8))))) (let - ((X13 Int (ite X12 (ite (= X11 1) 0 X11) X11))) + ((X13 (ite X12 (ite (= X11 1) 0 X11) X11))) (let - ((X14 Int (ite (not (and (>= X13 2) (<= X13 8))) 2 X13))) + ((X14 (ite (not (and (>= X13 2) (<= X13 8))) 2 X13))) (let ((X15 - Bool (and + (and (not (and (>= X13 2) (<= X13 8))) (and (>= X14 2) (<= X14 8))))) (let ((X16 - Int (ite + (ite X12 (ite X15 (ite (not (= X14 7)) 2 X10) X10) X10))) (let - ((X17 Int (ite X15 (ite (not (= X14 7)) 7 X14) X14))) + ((X17 (ite X15 (ite (not (= X14 7)) 7 X14) X14))) (let - ((X18 Int (ite X12 X17 X13))) + ((X18 (ite X12 X17 X13))) (let - ((X19 Bool (or X12 X8))) + ((X19 (or X12 X8))) (let - ((X20 Int (ite (not X3) 0 1))) + ((X20 (ite (not X3) 0 1))) (let ((X21 - Bool (and + (and (and (>= X18 3) (<= X18 6)) (not (ite (not (= X20 0)) true false))))) (let ((X22 - Int (ite + (ite X21 (ite (and (>= X18 3) (<= X18 6)) 2 X18) X18))) (let ((X23 - Int (ite X21 (ite (not (= X22 8)) 8 X22) X22))) + (ite X21 (ite (not (= X22 8)) 8 X22) X22))) (let - ((X24 Int (ite (not X2) 0 1))) + ((X24 (ite (not X2) 0 1))) (let ((X25 - Bool (and + (and (= X23 8) (and (and @@ -2378,31 +2309,31 @@ false)) (not X21))))) (let - ((X26 Int (ite X25 (ite (= X23 8) 2 X23) X23))) + ((X26 (ite X25 (ite (= X23 8) 2 X23) X23))) (let ((X27 - Int (ite + (ite (not (and (>= X26 3) (<= X26 6))) 3 X26))) (let ((X28 - Bool (and + (and (not (and (>= X26 3) (<= X26 6))) (and (>= X27 3) (<= X27 6))))) (let ((X29 - Int (ite + (ite X28 (ite (not (= X27 4)) 4 X27) X27))) (let - ((X30 Int (ite X25 X29 X26))) + ((X30 (ite X25 X29 X26))) (let - ((X31 Bool (or X25 X21))) + ((X31 (or X25 X21))) (let ((X32 - Bool (and + (and (= X30 8) (and (and @@ -2427,36 +2358,36 @@ (not X31))))) (let ((X33 - Int (ite + (ite X32 (ite (= X30 8) 2 X30) X30))) (let ((X34 - Int (ite + (ite (not (and (>= X33 3) (<= X33 6))) 3 X33))) (let ((X35 - Bool (and + (and (not (and (>= X33 3) (<= X33 6))) (and (>= X34 3) (<= X34 6))))) (let ((X36 - Int (ite + (ite X35 (ite (not (= X34 4)) 4 X34) X34))) (let - ((X37 Int (ite X32 X36 X33))) + ((X37 (ite X32 X36 X33))) (let - ((X38 Bool (or X32 X31))) + ((X38 (or X32 X31))) (let ((X39 - Bool (and + (and (= X37 7) (and (and @@ -2483,13 +2414,13 @@ (not X38))))) (let ((X40 - Int (ite + (ite X39 (ite (= X37 7) 2 X37) X37))) (let ((X41 - Int (ite + (ite X21 (ite (not (= X22 8)) @@ -2498,7 +2429,7 @@ X16))) (let ((X42 - Int (ite + (ite X25 (ite X28 @@ -2510,7 +2441,7 @@ X41))) (let ((X43 - Int (ite + (ite X32 (ite X35 @@ -2522,7 +2453,7 @@ X42))) (let ((X44 - Int (ite + (ite (not (and (>= X40 3) @@ -2531,7 +2462,7 @@ X40))) (let ((X45 - Bool (and + (and (not (and (>= X40 3) @@ -2541,7 +2472,7 @@ (<= X44 6))))) (let ((X46 - Int (ite + (ite X39 (ite X45 @@ -2553,7 +2484,7 @@ X43))) (let ((X47 - Int (ite + (ite X45 (ite (not (= X44 4)) @@ -2562,17 +2493,17 @@ X44))) (let ((X48 - Int (ite X39 X47 X40))) + (ite X39 X47 X40))) (let - ((X49 Bool (or X39 X38))) + ((X49 (or X39 X38))) (let ((X50 - Bool (and + (and (= X48 4) (= X24 1)))) (let ((X51 - Int (ite + (ite X50 (ite (= X48 4) @@ -2581,7 +2512,7 @@ X48))) (let ((X52 - Int (ite + (ite X50 (ite (not @@ -2591,7 +2522,7 @@ X51))) (let ((X53 - Int (ite + (ite (not (ite (= @@ -2603,14 +2534,14 @@ 1))) (let ((X54 - Bool (and + (and (= X52 4) (and (= X53 1) (not X50))))) (let ((X55 - Int (ite + (ite X54 (ite (= X52 4) @@ -2619,7 +2550,7 @@ X52))) (let ((X56 - Int (ite + (ite X54 (ite (not @@ -2629,12 +2560,12 @@ X55))) (let ((X57 - Bool (or + (or X54 X50))) (let ((X58 - Int (ite + (ite (not (ite (= @@ -2646,7 +2577,6 @@ 1))) (let ((X59 - Bool (and (= X56 4) (and @@ -2654,7 +2584,6 @@ (not X57))))) (let ((X60 - Int (ite X59 (ite @@ -2664,7 +2593,6 @@ X56))) (let ((X61 - Int (ite X59 (ite @@ -2675,13 +2603,11 @@ X60))) (let ((X62 - Bool (or X59 X57))) (let ((X63 - Bool (and (= X61 6) (and @@ -2689,7 +2615,6 @@ (not X62))))) (let ((X64 - Int (ite X63 (ite @@ -2699,7 +2624,6 @@ X61))) (let ((X65 - Int (ite X63 (ite @@ -2710,13 +2634,11 @@ X64))) (let ((X66 - Bool (or X63 X62))) (let ((X67 - Bool (and (= X65 5) (and @@ -2724,7 +2646,6 @@ (not X66))))) (let ((X68 - Int (ite X67 (ite @@ -2734,7 +2655,6 @@ X65))) (let ((X69 - Int (ite X50 (ite @@ -2745,7 +2665,6 @@ X46))) (let ((X70 - Int (ite X54 (ite @@ -2756,7 +2675,6 @@ X69))) (let ((X71 - Int (ite X59 (ite @@ -2767,7 +2685,6 @@ X70))) (let ((X72 - Int (ite X63 (ite @@ -2843,7 +2760,7 @@ 0.0 (+ X1 - (/ 1 20)))) + (/ 1.0 20.0)))) (= top.impl.usr.rlt_condact_cruise_controller_CruiseController_SetDesiredSpeed_computeDecreaseInDesiredSpeed_rlt_init_step true) @@ -2865,7 +2782,7 @@ 0.0 (- X1 - (/ 1 20)))) + (/ 1.0 20.0)))) (= top.impl.usr.cruise_controller_CruiseController_SetDesiredSpeed_IncreaseDesiredSpeed (ite @@ -2903,10 +2820,9 @@ 0.0))))) (let ((X73 - Int 0)) + 0)) (let ((X74 - Int (ite X8 (ite @@ -2926,7 +2842,6 @@ X73))) (let ((X75 - Int (ite X39 1 @@ -2951,7 +2866,6 @@ X74))))) (let ((X76 - Int (ite X67 (ite @@ -2962,14 +2876,12 @@ X68))) (let ((X77 - Int (ite X50 1 X75))) (let ((X78 - Int (ite X54 (ite @@ -3120,7 +3032,6 @@ 0.0)) (let ((X79 - Real (ite (or (or @@ -3174,7 +3085,6 @@ 0.0))) (let ((X80 - Int (ite (not (= X6 1)) @@ -3298,7 +3208,7 @@ (let ((X1 - Real (ite + (ite (< (ite top.impl.usr.cruise_controller_CruiseController_SetDesiredSpeed_setDesiredSpeed @@ -3319,10 +3229,10 @@ top.usr.carSpeed top.impl.usr.cruise_controller_CruiseController_SetDesiredSpeed_IncreaseDesiredSpeed))))) (let - ((X2 Bool (and (not top.usr.decelSet) top.usr.decelSet!))) + ((X2 (and (not top.usr.decelSet) top.usr.decelSet!))) (let ((X3 - Bool (and + (and (and (and (and (not top.usr.cancel!) (not top.usr.brakePedal!)) @@ -3330,7 +3240,7 @@ (ite (>= top.usr.carSpeed! 15.0) true false)) top.usr.validInputs!))) (let - ((X4 Bool (and (not top.usr.accelResume) top.usr.accelResume!))) + ((X4 (and (not top.usr.accelResume) top.usr.accelResume!))) (and (= top.impl.usr.cruise_controller_CruiseController_ModeLogic_DelayOnsetDecel_Bounded_Count_Out! @@ -3409,10 +3319,10 @@ 0)) 20)) (let - ((X5 Int top.impl.usr.mode)) + ((X5 top.impl.usr.mode)) (let ((X6 - Int top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_final_state_states___root)) + top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_final_state_states___root)) (and (= top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep! @@ -3421,65 +3331,65 @@ false top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep)) (let - ((X7 Int (ite (not top.usr.onOff!) 0 1))) + ((X7 (ite (not top.usr.onOff!) 0 1))) (let ((X8 - Bool (and + (and (and (>= X6 2) (<= X6 8)) (not (ite (not (= X7 0)) true false))))) (let - ((X9 Int (ite X8 (ite (and (>= X6 2) (<= X6 8)) 0 X6) X6))) + ((X9 (ite X8 (ite (and (>= X6 2) (<= X6 8)) 0 X6) X6))) (let - ((X10 Int (ite X8 (ite (not (= X9 1)) 1 X5) X5))) + ((X10 (ite X8 (ite (not (= X9 1)) 1 X5) X5))) (let - ((X11 Int (ite X8 (ite (not (= X9 1)) 1 X9) X9))) + ((X11 (ite X8 (ite (not (= X9 1)) 1 X9) X9))) (let ((X12 - Bool (and + (and (= X11 1) (and (ite (not (= X7 0)) true false) (not X8))))) (let - ((X13 Int (ite X12 (ite (= X11 1) 0 X11) X11))) + ((X13 (ite X12 (ite (= X11 1) 0 X11) X11))) (let - ((X14 Int (ite (not (and (>= X13 2) (<= X13 8))) 2 X13))) + ((X14 (ite (not (and (>= X13 2) (<= X13 8))) 2 X13))) (let ((X15 - Bool (and + (and (not (and (>= X13 2) (<= X13 8))) (and (>= X14 2) (<= X14 8))))) (let ((X16 - Int (ite + (ite X12 (ite X15 (ite (not (= X14 7)) 2 X10) X10) X10))) (let - ((X17 Int (ite X15 (ite (not (= X14 7)) 7 X14) X14))) + ((X17 (ite X15 (ite (not (= X14 7)) 7 X14) X14))) (let - ((X18 Int (ite X12 X17 X13))) + ((X18 (ite X12 X17 X13))) (let - ((X19 Bool (or X12 X8))) + ((X19 (or X12 X8))) (let - ((X20 Int (ite (not X3) 0 1))) + ((X20 (ite (not X3) 0 1))) (let ((X21 - Bool (and + (and (and (>= X18 3) (<= X18 6)) (not (ite (not (= X20 0)) true false))))) (let ((X22 - Int (ite + (ite X21 (ite (and (>= X18 3) (<= X18 6)) 2 X18) X18))) (let ((X23 - Int (ite X21 (ite (not (= X22 8)) 8 X22) X22))) + (ite X21 (ite (not (= X22 8)) 8 X22) X22))) (let - ((X24 Int (ite (not X2) 0 1))) + ((X24 (ite (not X2) 0 1))) (let ((X25 - Bool (and + (and (= X23 8) (and (and @@ -3493,31 +3403,31 @@ false)) (not X21))))) (let - ((X26 Int (ite X25 (ite (= X23 8) 2 X23) X23))) + ((X26 (ite X25 (ite (= X23 8) 2 X23) X23))) (let ((X27 - Int (ite + (ite (not (and (>= X26 3) (<= X26 6))) 3 X26))) (let ((X28 - Bool (and + (and (not (and (>= X26 3) (<= X26 6))) (and (>= X27 3) (<= X27 6))))) (let ((X29 - Int (ite + (ite X28 (ite (not (= X27 4)) 4 X27) X27))) (let - ((X30 Int (ite X25 X29 X26))) + ((X30 (ite X25 X29 X26))) (let - ((X31 Bool (or X25 X21))) + ((X31 (or X25 X21))) (let ((X32 - Bool (and + (and (= X30 8) (and (and @@ -3542,36 +3452,36 @@ (not X31))))) (let ((X33 - Int (ite + (ite X32 (ite (= X30 8) 2 X30) X30))) (let ((X34 - Int (ite + (ite (not (and (>= X33 3) (<= X33 6))) 3 X33))) (let ((X35 - Bool (and + (and (not (and (>= X33 3) (<= X33 6))) (and (>= X34 3) (<= X34 6))))) (let ((X36 - Int (ite + (ite X35 (ite (not (= X34 4)) 4 X34) X34))) (let - ((X37 Int (ite X32 X36 X33))) + ((X37 (ite X32 X36 X33))) (let - ((X38 Bool (or X32 X31))) + ((X38 (or X32 X31))) (let ((X39 - Bool (and + (and (= X37 7) (and (and @@ -3598,13 +3508,13 @@ (not X38))))) (let ((X40 - Int (ite + (ite X39 (ite (= X37 7) 2 X37) X37))) (let ((X41 - Int (ite + (ite X21 (ite (not (= X22 8)) @@ -3613,7 +3523,7 @@ X16))) (let ((X42 - Int (ite + (ite X25 (ite X28 @@ -3625,7 +3535,7 @@ X41))) (let ((X43 - Int (ite + (ite X32 (ite X35 @@ -3637,7 +3547,7 @@ X42))) (let ((X44 - Int (ite + (ite (not (and (>= X40 3) @@ -3646,7 +3556,7 @@ X40))) (let ((X45 - Bool (and + (and (not (and (>= X40 3) @@ -3656,7 +3566,7 @@ (<= X44 6))))) (let ((X46 - Int (ite + (ite X39 (ite X45 @@ -3668,7 +3578,7 @@ X43))) (let ((X47 - Int (ite + (ite X45 (ite (not (= X44 4)) @@ -3677,17 +3587,17 @@ X44))) (let ((X48 - Int (ite X39 X47 X40))) + (ite X39 X47 X40))) (let - ((X49 Bool (or X39 X38))) + ((X49 (or X39 X38))) (let ((X50 - Bool (and + (and (= X48 4) (= X24 1)))) (let ((X51 - Int (ite + (ite X50 (ite (= X48 4) @@ -3696,7 +3606,7 @@ X48))) (let ((X52 - Int (ite + (ite X50 (ite (not @@ -3706,7 +3616,7 @@ X51))) (let ((X53 - Int (ite + (ite (not (ite (= @@ -3718,14 +3628,14 @@ 1))) (let ((X54 - Bool (and + (and (= X52 4) (and (= X53 1) (not X50))))) (let ((X55 - Int (ite + (ite X54 (ite (= X52 4) @@ -3734,7 +3644,7 @@ X52))) (let ((X56 - Int (ite + (ite X54 (ite (not @@ -3744,12 +3654,12 @@ X55))) (let ((X57 - Bool (or + (or X54 X50))) (let ((X58 - Int (ite + (ite (not (ite (= @@ -3761,7 +3671,6 @@ 1))) (let ((X59 - Bool (and (= X56 4) (and @@ -3769,7 +3678,6 @@ (not X57))))) (let ((X60 - Int (ite X59 (ite @@ -3779,7 +3687,6 @@ X56))) (let ((X61 - Int (ite X59 (ite @@ -3790,13 +3697,11 @@ X60))) (let ((X62 - Bool (or X59 X57))) (let ((X63 - Bool (and (= X61 6) (and @@ -3804,7 +3709,6 @@ (not X62))))) (let ((X64 - Int (ite X63 (ite @@ -3814,7 +3718,6 @@ X61))) (let ((X65 - Int (ite X63 (ite @@ -3825,13 +3728,11 @@ X64))) (let ((X66 - Bool (or X63 X62))) (let ((X67 - Bool (and (= X65 5) (and @@ -3839,7 +3740,6 @@ (not X66))))) (let ((X68 - Int (ite X67 (ite @@ -3849,7 +3749,6 @@ X65))) (let ((X69 - Int (ite X50 (ite @@ -3860,7 +3759,6 @@ X46))) (let ((X70 - Int (ite X54 (ite @@ -3871,7 +3769,6 @@ X69))) (let ((X71 - Int (ite X59 (ite @@ -3882,7 +3779,6 @@ X70))) (let ((X72 - Int (ite X63 (ite @@ -3963,7 +3859,7 @@ top.impl.usr.rlt_condact_cruise_controller_CruiseController_SetDesiredSpeed_computeIncreaseInDesiredSpeed_rlt_clock! (+ X1 - (/ 1 20)) + (/ 1.0 20.0)) top.impl.usr.newDesiredSpeed))) (= top.impl.usr.rlt_condact_cruise_controller_CruiseController_SetDesiredSpeed_computeDecreaseInDesiredSpeed_rlt_init_step! @@ -3991,7 +3887,7 @@ top.impl.usr.rlt_condact_cruise_controller_CruiseController_SetDesiredSpeed_computeDecreaseInDesiredSpeed_rlt_clock! (- X1 - (/ 1 20)) + (/ 1.0 20.0)) top.impl.usr.newDesiredSpeed1))) (= top.impl.usr.cruise_controller_CruiseController_SetDesiredSpeed_IncreaseDesiredSpeed! @@ -4030,10 +3926,9 @@ 0.0))))) (let ((X73 - Int top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_setDesiredSpeed)) + top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_setDesiredSpeed)) (let ((X74 - Int (ite X8 (ite @@ -4053,7 +3948,6 @@ X73))) (let ((X75 - Int (ite X39 1 @@ -4078,7 +3972,6 @@ X74))))) (let ((X76 - Int (ite X67 (ite @@ -4089,14 +3982,12 @@ X68))) (let ((X77 - Int (ite X50 1 X75))) (let ((X78 - Int (ite X54 (ite @@ -4279,7 +4170,6 @@ 0.0))) (let ((X79 - Real (ite (or (or @@ -4333,7 +4223,6 @@ 0.0))) (let ((X80 - Int (ite (not (= X6 1)) diff --git a/lib-nonconforming/Inv_Track/andrew_lustre/cruise_controller_12.lus.sl b/lib/Inv_Track/andrew_lustre/cruise_controller_12.lus.sl similarity index 90% rename from lib-nonconforming/Inv_Track/andrew_lustre/cruise_controller_12.lus.sl rename to lib/Inv_Track/andrew_lustre/cruise_controller_12.lus.sl index b5b9a363..6b38472a 100644 --- a/lib-nonconforming/Inv_Track/andrew_lustre/cruise_controller_12.lus.sl +++ b/lib/Inv_Track/andrew_lustre/cruise_controller_12.lus.sl @@ -22,10 +22,10 @@ ) Bool (let - ((X1 Bool false)) + ((X1 false)) (let ((X2 - Bool (and + (and (and (and (and (not top.usr.cancel_a_0) (not top.usr.brakePedal_a_0)) @@ -33,7 +33,7 @@ (ite (>= top.usr.carSpeed_a_0 15.0) true false)) top.usr.validInputs_a_0))) (let - ((X3 Bool false)) + ((X3 false)) (and (= top.impl.usr.cruise_controller_CruiseController_ModeLogic_DelayOnsetDecel_Bounded_Count_Out_a_0 @@ -64,47 +64,47 @@ (ite top.usr.accelResume_a_0 1 0)) 20)) (let - ((X4 Int 0)) + ((X4 0)) (let - ((X5 Int 0)) + ((X5 0)) (and (= top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep_a_0 true) (let - ((X6 Int (ite (not top.usr.onOff_a_0) 0 1))) + ((X6 (ite (not top.usr.onOff_a_0) 0 1))) (let ((X7 - Bool (and + (and (and (>= X5 2) (<= X5 8)) (not (ite (not (= X6 0)) true false))))) (let - ((X8 Int (ite X7 (ite (and (>= X5 2) (<= X5 8)) 0 X5) X5))) + ((X8 (ite X7 (ite (and (>= X5 2) (<= X5 8)) 0 X5) X5))) (let - ((X9 Int (ite X7 (ite (not (= X8 1)) 1 X8) X8))) + ((X9 (ite X7 (ite (not (= X8 1)) 1 X8) X8))) (let ((X10 - Bool (and + (and (= X9 1) (and (ite (not (= X6 0)) true false) (not X7))))) (let - ((X11 Int (ite X10 (ite (= X9 1) 0 X9) X9))) + ((X11 (ite X10 (ite (= X9 1) 0 X9) X9))) (let - ((X12 Int (ite (not (and (>= X11 2) (<= X11 8))) 2 X11))) + ((X12 (ite (not (and (>= X11 2) (<= X11 8))) 2 X11))) (let ((X13 - Bool (and + (and (not (and (>= X11 2) (<= X11 8))) (and (>= X12 2) (<= X12 8))))) (let - ((X14 Int (ite X13 (ite (not (= X12 7)) 7 X12) X12))) + ((X14 (ite X13 (ite (not (= X12 7)) 7 X12) X12))) (let - ((X15 Int (ite X10 X14 X11))) + ((X15 (ite X10 X14 X11))) (let - ((X16 Bool (or X10 X7))) + ((X16 (or X10 X7))) (let ((X17 - Int (ite + (ite X7 (ite (and (>= X5 2) (<= X5 8)) @@ -115,25 +115,25 @@ X4) X4))) (let - ((X18 Int (ite (not X2) 0 1))) + ((X18 (ite (not X2) 0 1))) (let ((X19 - Bool (and + (and (and (>= X15 3) (<= X15 6)) (not (ite (not (= X18 0)) true false))))) (let ((X20 - Int (ite + (ite X19 (ite (and (>= X15 3) (<= X15 6)) 2 X15) X15))) (let - ((X21 Int (ite X19 (ite (not (= X20 8)) 8 X20) X20))) + ((X21 (ite X19 (ite (not (= X20 8)) 8 X20) X20))) (let - ((X22 Int (ite (not X1) 0 1))) + ((X22 (ite (not X1) 0 1))) (let ((X23 - Bool (and + (and (= X21 8) (and (and @@ -147,31 +147,31 @@ false)) (not X19))))) (let - ((X24 Int (ite X23 (ite (= X21 8) 2 X21) X21))) + ((X24 (ite X23 (ite (= X21 8) 2 X21) X21))) (let ((X25 - Int (ite + (ite (not (and (>= X24 3) (<= X24 6))) 3 X24))) (let ((X26 - Bool (and + (and (not (and (>= X24 3) (<= X24 6))) (and (>= X25 3) (<= X25 6))))) (let ((X27 - Int (ite + (ite X26 (ite (not (= X25 4)) 4 X25) X25))) (let - ((X28 Int (ite X23 X27 X24))) + ((X28 (ite X23 X27 X24))) (let - ((X29 Bool (or X23 X19))) + ((X29 (or X23 X19))) (let ((X30 - Bool (and + (and (= X28 8) (and (and @@ -194,32 +194,32 @@ (not X29))))) (let ((X31 - Int (ite X30 (ite (= X28 8) 2 X28) X28))) + (ite X30 (ite (= X28 8) 2 X28) X28))) (let ((X32 - Int (ite + (ite (not (and (>= X31 3) (<= X31 6))) 3 X31))) (let ((X33 - Bool (and + (and (not (and (>= X31 3) (<= X31 6))) (and (>= X32 3) (<= X32 6))))) (let ((X34 - Int (ite + (ite X33 (ite (not (= X32 4)) 4 X32) X32))) (let - ((X35 Int (ite X30 X34 X31))) + ((X35 (ite X30 X34 X31))) (let - ((X36 Bool (or X30 X29))) + ((X36 (or X30 X29))) (let ((X37 - Bool (and + (and (= X35 7) (and (and @@ -246,13 +246,13 @@ (not X36))))) (let ((X38 - Int (ite + (ite X37 (ite (= X35 7) 2 X35) X35))) (let ((X39 - Int (ite + (ite (not (and (>= X38 3) @@ -261,7 +261,7 @@ X38))) (let ((X40 - Bool (and + (and (not (and (>= X38 3) @@ -271,7 +271,7 @@ (<= X39 6))))) (let ((X41 - Int (ite + (ite X40 (ite (not (= X39 4)) @@ -279,10 +279,10 @@ X39) X39))) (let - ((X42 Int (ite X37 X41 X38))) + ((X42 (ite X37 X41 X38))) (let ((X43 - Int (ite + (ite X37 1 (ite @@ -301,15 +301,15 @@ X17) X17))))) (let - ((X44 Bool (or X37 X36))) + ((X44 (or X37 X36))) (let ((X45 - Bool (and + (and (= X42 4) (= X22 1)))) (let ((X46 - Int (ite + (ite X45 (ite (= X42 4) @@ -318,7 +318,7 @@ X42))) (let ((X47 - Int (ite + (ite X45 (ite (not (= X46 4)) @@ -327,7 +327,7 @@ X46))) (let ((X48 - Int (ite + (ite (not (ite (= @@ -339,14 +339,14 @@ 1))) (let ((X49 - Bool (and + (and (= X47 4) (and (= X48 1) (not X45))))) (let ((X50 - Int (ite + (ite X49 (ite (= X47 4) @@ -355,7 +355,7 @@ X47))) (let ((X51 - Int (ite + (ite X49 (ite (not @@ -365,10 +365,10 @@ X50))) (let ((X52 - Bool (or X49 X45))) + (or X49 X45))) (let ((X53 - Int (ite + (ite (not (ite (= @@ -380,14 +380,14 @@ 1))) (let ((X54 - Bool (and + (and (= X51 4) (and (= X53 1) (not X52))))) (let ((X55 - Int (ite + (ite X54 (ite (= X51 4) @@ -396,7 +396,7 @@ X51))) (let ((X56 - Int (ite + (ite X54 (ite (not @@ -406,12 +406,11 @@ X55))) (let ((X57 - Bool (or + (or X54 X52))) (let ((X58 - Bool (and (= X56 6) (and @@ -419,7 +418,6 @@ (not X57))))) (let ((X59 - Int (ite X58 (ite @@ -429,7 +427,6 @@ X56))) (let ((X60 - Int (ite X58 (ite @@ -440,13 +437,11 @@ X59))) (let ((X61 - Bool (or X58 X57))) (let ((X62 - Bool (and (= X60 5) (and @@ -454,7 +449,6 @@ (not X61))))) (let ((X63 - Int (ite X62 (ite @@ -464,7 +458,6 @@ X60))) (let ((X64 - Int (ite X62 (ite @@ -475,14 +468,12 @@ X63))) (let ((X65 - Int (ite X45 1 X43))) (let ((X66 - Int (ite X49 (ite @@ -541,10 +532,9 @@ X4)) (let ((X67 - Int 0)) + 0)) (let ((X68 - Int (ite X7 (ite @@ -555,7 +545,6 @@ X67))) (let ((X69 - Int (ite X10 (ite @@ -569,7 +558,6 @@ X68))) (let ((X70 - Int (ite X19 (ite @@ -580,7 +568,6 @@ X69))) (let ((X71 - Int (ite X23 (ite @@ -594,7 +581,6 @@ X70))) (let ((X72 - Int (ite X30 (ite @@ -608,7 +594,6 @@ X71))) (let ((X73 - Int (ite X37 (ite @@ -622,7 +607,6 @@ X72))) (let ((X74 - Int (ite X45 (ite @@ -633,7 +617,6 @@ X73))) (let ((X75 - Int (ite X49 (ite @@ -644,7 +627,6 @@ X74))) (let ((X76 - Int (ite X54 (ite @@ -655,7 +637,6 @@ X75))) (let ((X77 - Int (ite X58 (ite @@ -719,7 +700,6 @@ 1)))) (let ((X78 - Int (ite (not (= X5 1)) @@ -819,10 +799,10 @@ ) Bool (let - ((X1 Bool (and (not top.usr.decelSet_a_0) top.usr.decelSet_a_1))) + ((X1 (and (not top.usr.decelSet_a_0) top.usr.decelSet_a_1))) (let ((X2 - Bool (and + (and (and (and (and (not top.usr.cancel_a_1) (not top.usr.brakePedal_a_1)) @@ -830,7 +810,7 @@ (ite (>= top.usr.carSpeed_a_1 15.0) true false)) top.usr.validInputs_a_1))) (let - ((X3 Bool (and (not top.usr.accelResume_a_0) top.usr.accelResume_a_1))) + ((X3 (and (not top.usr.accelResume_a_0) top.usr.accelResume_a_1))) (and (= top.impl.usr.cruise_controller_CruiseController_ModeLogic_DelayOnsetDecel_Bounded_Count_Out_a_1 @@ -910,10 +890,10 @@ 20)) (let ((X4 - Int top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_setDesiredSpeed_a_0)) + top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_setDesiredSpeed_a_0)) (let ((X5 - Int top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_final_state_states___root_a_0)) + top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_final_state_states___root_a_0)) (and (= top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep_a_1 @@ -922,39 +902,39 @@ false top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep_a_0)) (let - ((X6 Int (ite (not top.usr.onOff_a_1) 0 1))) + ((X6 (ite (not top.usr.onOff_a_1) 0 1))) (let ((X7 - Bool (and + (and (and (>= X5 2) (<= X5 8)) (not (ite (not (= X6 0)) true false))))) (let - ((X8 Int (ite X7 (ite (and (>= X5 2) (<= X5 8)) 0 X5) X5))) + ((X8 (ite X7 (ite (and (>= X5 2) (<= X5 8)) 0 X5) X5))) (let - ((X9 Int (ite X7 (ite (not (= X8 1)) 1 X8) X8))) + ((X9 (ite X7 (ite (not (= X8 1)) 1 X8) X8))) (let ((X10 - Bool (and + (and (= X9 1) (and (ite (not (= X6 0)) true false) (not X7))))) (let - ((X11 Int (ite X10 (ite (= X9 1) 0 X9) X9))) + ((X11 (ite X10 (ite (= X9 1) 0 X9) X9))) (let - ((X12 Int (ite (not (and (>= X11 2) (<= X11 8))) 2 X11))) + ((X12 (ite (not (and (>= X11 2) (<= X11 8))) 2 X11))) (let ((X13 - Bool (and + (and (not (and (>= X11 2) (<= X11 8))) (and (>= X12 2) (<= X12 8))))) (let - ((X14 Int (ite X13 (ite (not (= X12 7)) 7 X12) X12))) + ((X14 (ite X13 (ite (not (= X12 7)) 7 X12) X12))) (let - ((X15 Int (ite X10 X14 X11))) + ((X15 (ite X10 X14 X11))) (let - ((X16 Bool (or X10 X7))) + ((X16 (or X10 X7))) (let ((X17 - Int (ite + (ite X7 (ite (and (>= X5 2) (<= X5 8)) @@ -965,25 +945,25 @@ X4) X4))) (let - ((X18 Int (ite (not X2) 0 1))) + ((X18 (ite (not X2) 0 1))) (let ((X19 - Bool (and + (and (and (>= X15 3) (<= X15 6)) (not (ite (not (= X18 0)) true false))))) (let ((X20 - Int (ite + (ite X19 (ite (and (>= X15 3) (<= X15 6)) 2 X15) X15))) (let - ((X21 Int (ite X19 (ite (not (= X20 8)) 8 X20) X20))) + ((X21 (ite X19 (ite (not (= X20 8)) 8 X20) X20))) (let - ((X22 Int (ite (not X1) 0 1))) + ((X22 (ite (not X1) 0 1))) (let ((X23 - Bool (and + (and (= X21 8) (and (and @@ -997,31 +977,31 @@ false)) (not X19))))) (let - ((X24 Int (ite X23 (ite (= X21 8) 2 X21) X21))) + ((X24 (ite X23 (ite (= X21 8) 2 X21) X21))) (let ((X25 - Int (ite + (ite (not (and (>= X24 3) (<= X24 6))) 3 X24))) (let ((X26 - Bool (and + (and (not (and (>= X24 3) (<= X24 6))) (and (>= X25 3) (<= X25 6))))) (let ((X27 - Int (ite + (ite X26 (ite (not (= X25 4)) 4 X25) X25))) (let - ((X28 Int (ite X23 X27 X24))) + ((X28 (ite X23 X27 X24))) (let - ((X29 Bool (or X23 X19))) + ((X29 (or X23 X19))) (let ((X30 - Bool (and + (and (= X28 8) (and (and @@ -1044,32 +1024,32 @@ (not X29))))) (let ((X31 - Int (ite X30 (ite (= X28 8) 2 X28) X28))) + (ite X30 (ite (= X28 8) 2 X28) X28))) (let ((X32 - Int (ite + (ite (not (and (>= X31 3) (<= X31 6))) 3 X31))) (let ((X33 - Bool (and + (and (not (and (>= X31 3) (<= X31 6))) (and (>= X32 3) (<= X32 6))))) (let ((X34 - Int (ite + (ite X33 (ite (not (= X32 4)) 4 X32) X32))) (let - ((X35 Int (ite X30 X34 X31))) + ((X35 (ite X30 X34 X31))) (let - ((X36 Bool (or X30 X29))) + ((X36 (or X30 X29))) (let ((X37 - Bool (and + (and (= X35 7) (and (and @@ -1096,13 +1076,13 @@ (not X36))))) (let ((X38 - Int (ite + (ite X37 (ite (= X35 7) 2 X35) X35))) (let ((X39 - Int (ite + (ite (not (and (>= X38 3) @@ -1111,7 +1091,7 @@ X38))) (let ((X40 - Bool (and + (and (not (and (>= X38 3) @@ -1121,7 +1101,7 @@ (<= X39 6))))) (let ((X41 - Int (ite + (ite X40 (ite (not (= X39 4)) @@ -1129,10 +1109,10 @@ X39) X39))) (let - ((X42 Int (ite X37 X41 X38))) + ((X42 (ite X37 X41 X38))) (let ((X43 - Int (ite + (ite X37 1 (ite @@ -1151,15 +1131,15 @@ X17) X17))))) (let - ((X44 Bool (or X37 X36))) + ((X44 (or X37 X36))) (let ((X45 - Bool (and + (and (= X42 4) (= X22 1)))) (let ((X46 - Int (ite + (ite X45 (ite (= X42 4) @@ -1168,7 +1148,7 @@ X42))) (let ((X47 - Int (ite + (ite X45 (ite (not (= X46 4)) @@ -1177,7 +1157,7 @@ X46))) (let ((X48 - Int (ite + (ite (not (ite (= @@ -1189,14 +1169,14 @@ 1))) (let ((X49 - Bool (and + (and (= X47 4) (and (= X48 1) (not X45))))) (let ((X50 - Int (ite + (ite X49 (ite (= X47 4) @@ -1205,7 +1185,7 @@ X47))) (let ((X51 - Int (ite + (ite X49 (ite (not @@ -1215,10 +1195,10 @@ X50))) (let ((X52 - Bool (or X49 X45))) + (or X49 X45))) (let ((X53 - Int (ite + (ite (not (ite (= @@ -1230,14 +1210,14 @@ 1))) (let ((X54 - Bool (and + (and (= X51 4) (and (= X53 1) (not X52))))) (let ((X55 - Int (ite + (ite X54 (ite (= X51 4) @@ -1246,7 +1226,7 @@ X51))) (let ((X56 - Int (ite + (ite X54 (ite (not @@ -1256,12 +1236,11 @@ X55))) (let ((X57 - Bool (or + (or X54 X52))) (let ((X58 - Bool (and (= X56 6) (and @@ -1269,7 +1248,6 @@ (not X57))))) (let ((X59 - Int (ite X58 (ite @@ -1279,7 +1257,6 @@ X56))) (let ((X60 - Int (ite X58 (ite @@ -1290,13 +1267,11 @@ X59))) (let ((X61 - Bool (or X58 X57))) (let ((X62 - Bool (and (= X60 5) (and @@ -1304,7 +1279,6 @@ (not X61))))) (let ((X63 - Int (ite X62 (ite @@ -1314,7 +1288,6 @@ X60))) (let ((X64 - Int (ite X62 (ite @@ -1325,14 +1298,12 @@ X63))) (let ((X65 - Int (ite X45 1 X43))) (let ((X66 - Int (ite X49 (ite @@ -1391,10 +1362,9 @@ X4)) (let ((X67 - Int top.impl.usr.mode_a_0)) + top.impl.usr.mode_a_0)) (let ((X68 - Int (ite X7 (ite @@ -1405,7 +1375,6 @@ X67))) (let ((X69 - Int (ite X10 (ite @@ -1419,7 +1388,6 @@ X68))) (let ((X70 - Int (ite X19 (ite @@ -1430,7 +1398,6 @@ X69))) (let ((X71 - Int (ite X23 (ite @@ -1444,7 +1411,6 @@ X70))) (let ((X72 - Int (ite X30 (ite @@ -1458,7 +1424,6 @@ X71))) (let ((X73 - Int (ite X37 (ite @@ -1472,7 +1437,6 @@ X72))) (let ((X74 - Int (ite X45 (ite @@ -1483,7 +1447,6 @@ X73))) (let ((X75 - Int (ite X49 (ite @@ -1494,7 +1457,6 @@ X74))) (let ((X76 - Int (ite X54 (ite @@ -1505,7 +1467,6 @@ X75))) (let ((X77 - Int (ite X58 (ite @@ -1569,7 +1530,6 @@ 1)))) (let ((X78 - Int (ite (not (= X5 1)) @@ -1654,24 +1614,6 @@ )) -(declare-primed-var top.usr.onOff Bool) -(declare-primed-var top.usr.decelSet Bool) -(declare-primed-var top.usr.accelResume Bool) -(declare-primed-var top.usr.cancel Bool) -(declare-primed-var top.usr.brakePedal Bool) -(declare-primed-var top.usr.carGear Int) -(declare-primed-var top.usr.carSpeed Real) -(declare-primed-var top.usr.validInputs Bool) -(declare-primed-var top.usr.OK Bool) -(declare-primed-var top.res.init_flag Bool) -(declare-primed-var top.impl.usr.mode Int) -(declare-primed-var top.impl.usr.chart_CruiseController_ModeLogic_mode_logic____wakeup___ Bool) -(declare-primed-var top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep Bool) -(declare-primed-var top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_final_state_states___root Int) -(declare-primed-var top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_setDesiredSpeed Int) -(declare-primed-var top.impl.usr.cruise_controller_CruiseController_ModeLogic_DelayOnsetAccel_Bounded_Count_Out Int) -(declare-primed-var top.impl.usr.cruise_controller_CruiseController_ModeLogic_DelayOnsetDecel_Bounded_Count_Out Int) - (define-fun init ( (top.usr.onOff Bool) @@ -1694,10 +1636,10 @@ ) Bool (let - ((X1 Bool false)) + ((X1 false)) (let ((X2 - Bool (and + (and (and (and (and (not top.usr.cancel) (not top.usr.brakePedal)) @@ -1705,7 +1647,7 @@ (ite (>= top.usr.carSpeed 15.0) true false)) top.usr.validInputs))) (let - ((X3 Bool false)) + ((X3 false)) (and (= top.impl.usr.cruise_controller_CruiseController_ModeLogic_DelayOnsetDecel_Bounded_Count_Out @@ -1730,47 +1672,47 @@ (ite top.usr.accelResume 1 0)) 20)) (let - ((X4 Int 0)) + ((X4 0)) (let - ((X5 Int 0)) + ((X5 0)) (and (= top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep true) (let - ((X6 Int (ite (not top.usr.onOff) 0 1))) + ((X6 (ite (not top.usr.onOff) 0 1))) (let ((X7 - Bool (and + (and (and (>= X5 2) (<= X5 8)) (not (ite (not (= X6 0)) true false))))) (let - ((X8 Int (ite X7 (ite (and (>= X5 2) (<= X5 8)) 0 X5) X5))) + ((X8 (ite X7 (ite (and (>= X5 2) (<= X5 8)) 0 X5) X5))) (let - ((X9 Int (ite X7 (ite (not (= X8 1)) 1 X8) X8))) + ((X9 (ite X7 (ite (not (= X8 1)) 1 X8) X8))) (let ((X10 - Bool (and + (and (= X9 1) (and (ite (not (= X6 0)) true false) (not X7))))) (let - ((X11 Int (ite X10 (ite (= X9 1) 0 X9) X9))) + ((X11 (ite X10 (ite (= X9 1) 0 X9) X9))) (let - ((X12 Int (ite (not (and (>= X11 2) (<= X11 8))) 2 X11))) + ((X12 (ite (not (and (>= X11 2) (<= X11 8))) 2 X11))) (let ((X13 - Bool (and + (and (not (and (>= X11 2) (<= X11 8))) (and (>= X12 2) (<= X12 8))))) (let - ((X14 Int (ite X13 (ite (not (= X12 7)) 7 X12) X12))) + ((X14 (ite X13 (ite (not (= X12 7)) 7 X12) X12))) (let - ((X15 Int (ite X10 X14 X11))) + ((X15 (ite X10 X14 X11))) (let - ((X16 Bool (or X10 X7))) + ((X16 (or X10 X7))) (let ((X17 - Int (ite + (ite X7 (ite (and (>= X5 2) (<= X5 8)) @@ -1781,25 +1723,25 @@ X4) X4))) (let - ((X18 Int (ite (not X2) 0 1))) + ((X18 (ite (not X2) 0 1))) (let ((X19 - Bool (and + (and (and (>= X15 3) (<= X15 6)) (not (ite (not (= X18 0)) true false))))) (let ((X20 - Int (ite + (ite X19 (ite (and (>= X15 3) (<= X15 6)) 2 X15) X15))) (let - ((X21 Int (ite X19 (ite (not (= X20 8)) 8 X20) X20))) + ((X21 (ite X19 (ite (not (= X20 8)) 8 X20) X20))) (let - ((X22 Int (ite (not X1) 0 1))) + ((X22 (ite (not X1) 0 1))) (let ((X23 - Bool (and + (and (= X21 8) (and (and @@ -1813,31 +1755,31 @@ false)) (not X19))))) (let - ((X24 Int (ite X23 (ite (= X21 8) 2 X21) X21))) + ((X24 (ite X23 (ite (= X21 8) 2 X21) X21))) (let ((X25 - Int (ite + (ite (not (and (>= X24 3) (<= X24 6))) 3 X24))) (let ((X26 - Bool (and + (and (not (and (>= X24 3) (<= X24 6))) (and (>= X25 3) (<= X25 6))))) (let ((X27 - Int (ite + (ite X26 (ite (not (= X25 4)) 4 X25) X25))) (let - ((X28 Int (ite X23 X27 X24))) + ((X28 (ite X23 X27 X24))) (let - ((X29 Bool (or X23 X19))) + ((X29 (or X23 X19))) (let ((X30 - Bool (and + (and (= X28 8) (and (and @@ -1860,32 +1802,32 @@ (not X29))))) (let ((X31 - Int (ite X30 (ite (= X28 8) 2 X28) X28))) + (ite X30 (ite (= X28 8) 2 X28) X28))) (let ((X32 - Int (ite + (ite (not (and (>= X31 3) (<= X31 6))) 3 X31))) (let ((X33 - Bool (and + (and (not (and (>= X31 3) (<= X31 6))) (and (>= X32 3) (<= X32 6))))) (let ((X34 - Int (ite + (ite X33 (ite (not (= X32 4)) 4 X32) X32))) (let - ((X35 Int (ite X30 X34 X31))) + ((X35 (ite X30 X34 X31))) (let - ((X36 Bool (or X30 X29))) + ((X36 (or X30 X29))) (let ((X37 - Bool (and + (and (= X35 7) (and (and @@ -1912,13 +1854,13 @@ (not X36))))) (let ((X38 - Int (ite + (ite X37 (ite (= X35 7) 2 X35) X35))) (let ((X39 - Int (ite + (ite (not (and (>= X38 3) @@ -1927,7 +1869,7 @@ X38))) (let ((X40 - Bool (and + (and (not (and (>= X38 3) @@ -1937,7 +1879,7 @@ (<= X39 6))))) (let ((X41 - Int (ite + (ite X40 (ite (not (= X39 4)) @@ -1945,10 +1887,10 @@ X39) X39))) (let - ((X42 Int (ite X37 X41 X38))) + ((X42 (ite X37 X41 X38))) (let ((X43 - Int (ite + (ite X37 1 (ite @@ -1967,15 +1909,15 @@ X17) X17))))) (let - ((X44 Bool (or X37 X36))) + ((X44 (or X37 X36))) (let ((X45 - Bool (and + (and (= X42 4) (= X22 1)))) (let ((X46 - Int (ite + (ite X45 (ite (= X42 4) @@ -1984,7 +1926,7 @@ X42))) (let ((X47 - Int (ite + (ite X45 (ite (not (= X46 4)) @@ -1993,7 +1935,7 @@ X46))) (let ((X48 - Int (ite + (ite (not (ite (= @@ -2005,14 +1947,14 @@ 1))) (let ((X49 - Bool (and + (and (= X47 4) (and (= X48 1) (not X45))))) (let ((X50 - Int (ite + (ite X49 (ite (= X47 4) @@ -2021,7 +1963,7 @@ X47))) (let ((X51 - Int (ite + (ite X49 (ite (not @@ -2031,10 +1973,10 @@ X50))) (let ((X52 - Bool (or X49 X45))) + (or X49 X45))) (let ((X53 - Int (ite + (ite (not (ite (= @@ -2046,14 +1988,14 @@ 1))) (let ((X54 - Bool (and + (and (= X51 4) (and (= X53 1) (not X52))))) (let ((X55 - Int (ite + (ite X54 (ite (= X51 4) @@ -2062,7 +2004,7 @@ X51))) (let ((X56 - Int (ite + (ite X54 (ite (not @@ -2072,12 +2014,11 @@ X55))) (let ((X57 - Bool (or + (or X54 X52))) (let ((X58 - Bool (and (= X56 6) (and @@ -2085,7 +2026,6 @@ (not X57))))) (let ((X59 - Int (ite X58 (ite @@ -2095,7 +2035,6 @@ X56))) (let ((X60 - Int (ite X58 (ite @@ -2106,13 +2045,11 @@ X59))) (let ((X61 - Bool (or X58 X57))) (let ((X62 - Bool (and (= X60 5) (and @@ -2120,7 +2057,6 @@ (not X61))))) (let ((X63 - Int (ite X62 (ite @@ -2130,7 +2066,6 @@ X60))) (let ((X64 - Int (ite X62 (ite @@ -2141,14 +2076,12 @@ X63))) (let ((X65 - Int (ite X45 1 X43))) (let ((X66 - Int (ite X49 (ite @@ -2207,10 +2140,9 @@ X4)) (let ((X67 - Int 0)) + 0)) (let ((X68 - Int (ite X7 (ite @@ -2221,7 +2153,6 @@ X67))) (let ((X69 - Int (ite X10 (ite @@ -2235,7 +2166,6 @@ X68))) (let ((X70 - Int (ite X19 (ite @@ -2246,7 +2176,6 @@ X69))) (let ((X71 - Int (ite X23 (ite @@ -2260,7 +2189,6 @@ X70))) (let ((X72 - Int (ite X30 (ite @@ -2274,7 +2202,6 @@ X71))) (let ((X73 - Int (ite X37 (ite @@ -2288,7 +2215,6 @@ X72))) (let ((X74 - Int (ite X45 (ite @@ -2299,7 +2225,6 @@ X73))) (let ((X75 - Int (ite X49 (ite @@ -2310,7 +2235,6 @@ X74))) (let ((X76 - Int (ite X54 (ite @@ -2321,7 +2245,6 @@ X75))) (let ((X77 - Int (ite X58 (ite @@ -2385,7 +2308,6 @@ 1)))) (let ((X78 - Int (ite (not (= X5 1)) @@ -2490,10 +2412,10 @@ ) Bool (let - ((X1 Bool (and (not top.usr.decelSet) top.usr.decelSet!))) + ((X1 (and (not top.usr.decelSet) top.usr.decelSet!))) (let ((X2 - Bool (and + (and (and (and (and (not top.usr.cancel!) (not top.usr.brakePedal!)) @@ -2501,7 +2423,7 @@ (ite (>= top.usr.carSpeed! 15.0) true false)) top.usr.validInputs!))) (let - ((X3 Bool (and (not top.usr.accelResume) top.usr.accelResume!))) + ((X3 (and (not top.usr.accelResume) top.usr.accelResume!))) (and (= top.impl.usr.cruise_controller_CruiseController_ModeLogic_DelayOnsetDecel_Bounded_Count_Out! @@ -2581,10 +2503,10 @@ 20)) (let ((X4 - Int top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_setDesiredSpeed)) + top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_setDesiredSpeed)) (let ((X5 - Int top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_final_state_states___root)) + top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_final_state_states___root)) (and (= top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep! @@ -2593,39 +2515,39 @@ false top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep)) (let - ((X6 Int (ite (not top.usr.onOff!) 0 1))) + ((X6 (ite (not top.usr.onOff!) 0 1))) (let ((X7 - Bool (and + (and (and (>= X5 2) (<= X5 8)) (not (ite (not (= X6 0)) true false))))) (let - ((X8 Int (ite X7 (ite (and (>= X5 2) (<= X5 8)) 0 X5) X5))) + ((X8 (ite X7 (ite (and (>= X5 2) (<= X5 8)) 0 X5) X5))) (let - ((X9 Int (ite X7 (ite (not (= X8 1)) 1 X8) X8))) + ((X9 (ite X7 (ite (not (= X8 1)) 1 X8) X8))) (let ((X10 - Bool (and + (and (= X9 1) (and (ite (not (= X6 0)) true false) (not X7))))) (let - ((X11 Int (ite X10 (ite (= X9 1) 0 X9) X9))) + ((X11 (ite X10 (ite (= X9 1) 0 X9) X9))) (let - ((X12 Int (ite (not (and (>= X11 2) (<= X11 8))) 2 X11))) + ((X12 (ite (not (and (>= X11 2) (<= X11 8))) 2 X11))) (let ((X13 - Bool (and + (and (not (and (>= X11 2) (<= X11 8))) (and (>= X12 2) (<= X12 8))))) (let - ((X14 Int (ite X13 (ite (not (= X12 7)) 7 X12) X12))) + ((X14 (ite X13 (ite (not (= X12 7)) 7 X12) X12))) (let - ((X15 Int (ite X10 X14 X11))) + ((X15 (ite X10 X14 X11))) (let - ((X16 Bool (or X10 X7))) + ((X16 (or X10 X7))) (let ((X17 - Int (ite + (ite X7 (ite (and (>= X5 2) (<= X5 8)) @@ -2636,25 +2558,25 @@ X4) X4))) (let - ((X18 Int (ite (not X2) 0 1))) + ((X18 (ite (not X2) 0 1))) (let ((X19 - Bool (and + (and (and (>= X15 3) (<= X15 6)) (not (ite (not (= X18 0)) true false))))) (let ((X20 - Int (ite + (ite X19 (ite (and (>= X15 3) (<= X15 6)) 2 X15) X15))) (let - ((X21 Int (ite X19 (ite (not (= X20 8)) 8 X20) X20))) + ((X21 (ite X19 (ite (not (= X20 8)) 8 X20) X20))) (let - ((X22 Int (ite (not X1) 0 1))) + ((X22 (ite (not X1) 0 1))) (let ((X23 - Bool (and + (and (= X21 8) (and (and @@ -2668,31 +2590,31 @@ false)) (not X19))))) (let - ((X24 Int (ite X23 (ite (= X21 8) 2 X21) X21))) + ((X24 (ite X23 (ite (= X21 8) 2 X21) X21))) (let ((X25 - Int (ite + (ite (not (and (>= X24 3) (<= X24 6))) 3 X24))) (let ((X26 - Bool (and + (and (not (and (>= X24 3) (<= X24 6))) (and (>= X25 3) (<= X25 6))))) (let ((X27 - Int (ite + (ite X26 (ite (not (= X25 4)) 4 X25) X25))) (let - ((X28 Int (ite X23 X27 X24))) + ((X28 (ite X23 X27 X24))) (let - ((X29 Bool (or X23 X19))) + ((X29 (or X23 X19))) (let ((X30 - Bool (and + (and (= X28 8) (and (and @@ -2715,32 +2637,32 @@ (not X29))))) (let ((X31 - Int (ite X30 (ite (= X28 8) 2 X28) X28))) + (ite X30 (ite (= X28 8) 2 X28) X28))) (let ((X32 - Int (ite + (ite (not (and (>= X31 3) (<= X31 6))) 3 X31))) (let ((X33 - Bool (and + (and (not (and (>= X31 3) (<= X31 6))) (and (>= X32 3) (<= X32 6))))) (let ((X34 - Int (ite + (ite X33 (ite (not (= X32 4)) 4 X32) X32))) (let - ((X35 Int (ite X30 X34 X31))) + ((X35 (ite X30 X34 X31))) (let - ((X36 Bool (or X30 X29))) + ((X36 (or X30 X29))) (let ((X37 - Bool (and + (and (= X35 7) (and (and @@ -2767,13 +2689,13 @@ (not X36))))) (let ((X38 - Int (ite + (ite X37 (ite (= X35 7) 2 X35) X35))) (let ((X39 - Int (ite + (ite (not (and (>= X38 3) @@ -2782,7 +2704,7 @@ X38))) (let ((X40 - Bool (and + (and (not (and (>= X38 3) @@ -2792,7 +2714,7 @@ (<= X39 6))))) (let ((X41 - Int (ite + (ite X40 (ite (not (= X39 4)) @@ -2800,10 +2722,10 @@ X39) X39))) (let - ((X42 Int (ite X37 X41 X38))) + ((X42 (ite X37 X41 X38))) (let ((X43 - Int (ite + (ite X37 1 (ite @@ -2822,15 +2744,15 @@ X17) X17))))) (let - ((X44 Bool (or X37 X36))) + ((X44 (or X37 X36))) (let ((X45 - Bool (and + (and (= X42 4) (= X22 1)))) (let ((X46 - Int (ite + (ite X45 (ite (= X42 4) @@ -2839,7 +2761,7 @@ X42))) (let ((X47 - Int (ite + (ite X45 (ite (not (= X46 4)) @@ -2848,7 +2770,7 @@ X46))) (let ((X48 - Int (ite + (ite (not (ite (= @@ -2860,14 +2782,14 @@ 1))) (let ((X49 - Bool (and + (and (= X47 4) (and (= X48 1) (not X45))))) (let ((X50 - Int (ite + (ite X49 (ite (= X47 4) @@ -2876,7 +2798,7 @@ X47))) (let ((X51 - Int (ite + (ite X49 (ite (not @@ -2886,10 +2808,10 @@ X50))) (let ((X52 - Bool (or X49 X45))) + (or X49 X45))) (let ((X53 - Int (ite + (ite (not (ite (= @@ -2901,14 +2823,14 @@ 1))) (let ((X54 - Bool (and + (and (= X51 4) (and (= X53 1) (not X52))))) (let ((X55 - Int (ite + (ite X54 (ite (= X51 4) @@ -2917,7 +2839,7 @@ X51))) (let ((X56 - Int (ite + (ite X54 (ite (not @@ -2927,12 +2849,11 @@ X55))) (let ((X57 - Bool (or + (or X54 X52))) (let ((X58 - Bool (and (= X56 6) (and @@ -2940,7 +2861,6 @@ (not X57))))) (let ((X59 - Int (ite X58 (ite @@ -2950,7 +2870,6 @@ X56))) (let ((X60 - Int (ite X58 (ite @@ -2961,13 +2880,11 @@ X59))) (let ((X61 - Bool (or X58 X57))) (let ((X62 - Bool (and (= X60 5) (and @@ -2975,7 +2892,6 @@ (not X61))))) (let ((X63 - Int (ite X62 (ite @@ -2985,7 +2901,6 @@ X60))) (let ((X64 - Int (ite X62 (ite @@ -2996,14 +2911,12 @@ X63))) (let ((X65 - Int (ite X45 1 X43))) (let ((X66 - Int (ite X49 (ite @@ -3062,10 +2975,9 @@ X4)) (let ((X67 - Int top.impl.usr.mode)) + top.impl.usr.mode)) (let ((X68 - Int (ite X7 (ite @@ -3076,7 +2988,6 @@ X67))) (let ((X69 - Int (ite X10 (ite @@ -3090,7 +3001,6 @@ X68))) (let ((X70 - Int (ite X19 (ite @@ -3101,7 +3011,6 @@ X69))) (let ((X71 - Int (ite X23 (ite @@ -3115,7 +3024,6 @@ X70))) (let ((X72 - Int (ite X30 (ite @@ -3129,7 +3037,6 @@ X71))) (let ((X73 - Int (ite X37 (ite @@ -3143,7 +3050,6 @@ X72))) (let ((X74 - Int (ite X45 (ite @@ -3154,7 +3060,6 @@ X73))) (let ((X75 - Int (ite X49 (ite @@ -3165,7 +3070,6 @@ X74))) (let ((X76 - Int (ite X54 (ite @@ -3176,7 +3080,6 @@ X75))) (let ((X77 - Int (ite X58 (ite @@ -3240,7 +3143,6 @@ 1)))) (let ((X78 - Int (ite (not (= X5 1)) diff --git a/lib-nonconforming/Inv_Track/andrew_lustre/cruise_controller_13.lus.sl b/lib/Inv_Track/andrew_lustre/cruise_controller_13.lus.sl similarity index 91% rename from lib-nonconforming/Inv_Track/andrew_lustre/cruise_controller_13.lus.sl rename to lib/Inv_Track/andrew_lustre/cruise_controller_13.lus.sl index 8163639e..5ef5d930 100644 --- a/lib-nonconforming/Inv_Track/andrew_lustre/cruise_controller_13.lus.sl +++ b/lib/Inv_Track/andrew_lustre/cruise_controller_13.lus.sl @@ -30,12 +30,12 @@ ) Bool (let - ((X1 Real 0.0)) + ((X1 0.0)) (let - ((X2 Bool false)) + ((X2 false)) (let ((X3 - Bool (and + (and (and (and (and (not top.usr.cancel_a_0) (not top.usr.brakePedal_a_0)) @@ -43,7 +43,7 @@ (ite (>= top.usr.carSpeed_a_0 15.0) true false)) top.usr.validInputs_a_0))) (let - ((X4 Bool false)) + ((X4 false)) (and (= top.impl.usr.cruise_controller_CruiseController_ModeLogic_DelayOnsetDecel_Bounded_Count_Out_a_0 @@ -74,73 +74,73 @@ (ite top.usr.accelResume_a_0 1 0)) 20)) (let - ((X5 Int 0)) + ((X5 0)) (let - ((X6 Int 0)) + ((X6 0)) (and (= top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep_a_0 true) (let - ((X7 Int (ite (not top.usr.onOff_a_0) 0 1))) + ((X7 (ite (not top.usr.onOff_a_0) 0 1))) (let ((X8 - Bool (and + (and (and (>= X6 2) (<= X6 8)) (not (ite (not (= X7 0)) true false))))) (let - ((X9 Int (ite X8 (ite (and (>= X6 2) (<= X6 8)) 0 X6) X6))) + ((X9 (ite X8 (ite (and (>= X6 2) (<= X6 8)) 0 X6) X6))) (let - ((X10 Int (ite X8 (ite (not (= X9 1)) 1 X5) X5))) + ((X10 (ite X8 (ite (not (= X9 1)) 1 X5) X5))) (let - ((X11 Int (ite X8 (ite (not (= X9 1)) 1 X9) X9))) + ((X11 (ite X8 (ite (not (= X9 1)) 1 X9) X9))) (let ((X12 - Bool (and + (and (= X11 1) (and (ite (not (= X7 0)) true false) (not X8))))) (let - ((X13 Int (ite X12 (ite (= X11 1) 0 X11) X11))) + ((X13 (ite X12 (ite (= X11 1) 0 X11) X11))) (let - ((X14 Int (ite (not (and (>= X13 2) (<= X13 8))) 2 X13))) + ((X14 (ite (not (and (>= X13 2) (<= X13 8))) 2 X13))) (let ((X15 - Bool (and + (and (not (and (>= X13 2) (<= X13 8))) (and (>= X14 2) (<= X14 8))))) (let ((X16 - Int (ite + (ite X12 (ite X15 (ite (not (= X14 7)) 2 X10) X10) X10))) (let - ((X17 Int (ite X15 (ite (not (= X14 7)) 7 X14) X14))) + ((X17 (ite X15 (ite (not (= X14 7)) 7 X14) X14))) (let - ((X18 Int (ite X12 X17 X13))) + ((X18 (ite X12 X17 X13))) (let - ((X19 Bool (or X12 X8))) + ((X19 (or X12 X8))) (let - ((X20 Int (ite (not X3) 0 1))) + ((X20 (ite (not X3) 0 1))) (let ((X21 - Bool (and + (and (and (>= X18 3) (<= X18 6)) (not (ite (not (= X20 0)) true false))))) (let ((X22 - Int (ite + (ite X21 (ite (and (>= X18 3) (<= X18 6)) 2 X18) X18))) (let ((X23 - Int (ite X21 (ite (not (= X22 8)) 8 X22) X22))) + (ite X21 (ite (not (= X22 8)) 8 X22) X22))) (let - ((X24 Int (ite (not X2) 0 1))) + ((X24 (ite (not X2) 0 1))) (let ((X25 - Bool (and + (and (= X23 8) (and (and @@ -154,31 +154,31 @@ false)) (not X21))))) (let - ((X26 Int (ite X25 (ite (= X23 8) 2 X23) X23))) + ((X26 (ite X25 (ite (= X23 8) 2 X23) X23))) (let ((X27 - Int (ite + (ite (not (and (>= X26 3) (<= X26 6))) 3 X26))) (let ((X28 - Bool (and + (and (not (and (>= X26 3) (<= X26 6))) (and (>= X27 3) (<= X27 6))))) (let ((X29 - Int (ite + (ite X28 (ite (not (= X27 4)) 4 X27) X27))) (let - ((X30 Int (ite X25 X29 X26))) + ((X30 (ite X25 X29 X26))) (let - ((X31 Bool (or X25 X21))) + ((X31 (or X25 X21))) (let ((X32 - Bool (and + (and (= X30 8) (and (and @@ -203,36 +203,36 @@ (not X31))))) (let ((X33 - Int (ite + (ite X32 (ite (= X30 8) 2 X30) X30))) (let ((X34 - Int (ite + (ite (not (and (>= X33 3) (<= X33 6))) 3 X33))) (let ((X35 - Bool (and + (and (not (and (>= X33 3) (<= X33 6))) (and (>= X34 3) (<= X34 6))))) (let ((X36 - Int (ite + (ite X35 (ite (not (= X34 4)) 4 X34) X34))) (let - ((X37 Int (ite X32 X36 X33))) + ((X37 (ite X32 X36 X33))) (let - ((X38 Bool (or X32 X31))) + ((X38 (or X32 X31))) (let ((X39 - Bool (and + (and (= X37 7) (and (and @@ -259,13 +259,13 @@ (not X38))))) (let ((X40 - Int (ite + (ite X39 (ite (= X37 7) 2 X37) X37))) (let ((X41 - Int (ite + (ite X21 (ite (not (= X22 8)) @@ -274,7 +274,7 @@ X16))) (let ((X42 - Int (ite + (ite X25 (ite X28 @@ -286,7 +286,7 @@ X41))) (let ((X43 - Int (ite + (ite X32 (ite X35 @@ -298,7 +298,7 @@ X42))) (let ((X44 - Int (ite + (ite (not (and (>= X40 3) @@ -307,7 +307,7 @@ X40))) (let ((X45 - Bool (and + (and (not (and (>= X40 3) @@ -317,7 +317,7 @@ (<= X44 6))))) (let ((X46 - Int (ite + (ite X39 (ite X45 @@ -329,7 +329,7 @@ X43))) (let ((X47 - Int (ite + (ite X45 (ite (not (= X44 4)) @@ -338,17 +338,17 @@ X44))) (let ((X48 - Int (ite X39 X47 X40))) + (ite X39 X47 X40))) (let - ((X49 Bool (or X39 X38))) + ((X49 (or X39 X38))) (let ((X50 - Bool (and + (and (= X48 4) (= X24 1)))) (let ((X51 - Int (ite + (ite X50 (ite (= X48 4) @@ -357,7 +357,7 @@ X48))) (let ((X52 - Int (ite + (ite X50 (ite (not @@ -367,7 +367,7 @@ X51))) (let ((X53 - Int (ite + (ite (not (ite (= @@ -379,14 +379,14 @@ 1))) (let ((X54 - Bool (and + (and (= X52 4) (and (= X53 1) (not X50))))) (let ((X55 - Int (ite + (ite X54 (ite (= X52 4) @@ -395,7 +395,7 @@ X52))) (let ((X56 - Int (ite + (ite X54 (ite (not @@ -405,12 +405,12 @@ X55))) (let ((X57 - Bool (or + (or X54 X50))) (let ((X58 - Int (ite + (ite (not (ite (= @@ -422,7 +422,6 @@ 1))) (let ((X59 - Bool (and (= X56 4) (and @@ -430,7 +429,6 @@ (not X57))))) (let ((X60 - Int (ite X59 (ite @@ -440,7 +438,6 @@ X56))) (let ((X61 - Int (ite X59 (ite @@ -451,13 +448,11 @@ X60))) (let ((X62 - Bool (or X59 X57))) (let ((X63 - Bool (and (= X61 6) (and @@ -465,7 +460,6 @@ (not X62))))) (let ((X64 - Int (ite X63 (ite @@ -475,7 +469,6 @@ X61))) (let ((X65 - Int (ite X63 (ite @@ -486,13 +479,11 @@ X64))) (let ((X66 - Bool (or X63 X62))) (let ((X67 - Bool (and (= X65 5) (and @@ -500,7 +491,6 @@ (not X66))))) (let ((X68 - Int (ite X67 (ite @@ -510,7 +500,6 @@ X65))) (let ((X69 - Int (ite X50 (ite @@ -521,7 +510,6 @@ X46))) (let ((X70 - Int (ite X54 (ite @@ -532,7 +520,6 @@ X69))) (let ((X71 - Int (ite X59 (ite @@ -543,7 +530,6 @@ X70))) (let ((X72 - Int (ite X63 (ite @@ -619,7 +605,7 @@ 0.0 (+ X1 - (/ 1 20)))) + (/ 1.0 20.0)))) (= top.impl.usr.rlt_condact_cruise_controller_CruiseController_SetDesiredSpeed_computeDecreaseInDesiredSpeed_rlt_init_step_a_0 true) @@ -641,7 +627,7 @@ 0.0 (- X1 - (/ 1 20)))) + (/ 1.0 20.0)))) (= top.impl.usr.cruise_controller_CruiseController_SetDesiredSpeed_IncreaseDesiredSpeed_a_0 (ite @@ -693,7 +679,6 @@ 0.0))) (let ((X73 - Int (ite (not (= X6 1)) @@ -701,7 +686,6 @@ X6))) (let ((X74 - Int (ite X67 (ite @@ -744,10 +728,9 @@ X6)) (let ((X75 - Int 0)) + 0)) (let ((X76 - Int (ite X8 (ite @@ -767,7 +750,6 @@ X75))) (let ((X77 - Int (ite X39 1 @@ -792,14 +774,12 @@ X76))))) (let ((X78 - Int (ite X50 1 X77))) (let ((X79 - Int (ite X54 (ite @@ -941,7 +921,7 @@ (let ((X1 - Real (ite + (ite (< (ite top.impl.usr.cruise_controller_CruiseController_SetDesiredSpeed_setDesiredSpeed_a_0 @@ -962,10 +942,10 @@ top.usr.carSpeed_a_0 top.impl.usr.cruise_controller_CruiseController_SetDesiredSpeed_IncreaseDesiredSpeed_a_0))))) (let - ((X2 Bool (and (not top.usr.decelSet_a_0) top.usr.decelSet_a_1))) + ((X2 (and (not top.usr.decelSet_a_0) top.usr.decelSet_a_1))) (let ((X3 - Bool (and + (and (and (and (and (not top.usr.cancel_a_1) (not top.usr.brakePedal_a_1)) @@ -973,7 +953,7 @@ (ite (>= top.usr.carSpeed_a_1 15.0) true false)) top.usr.validInputs_a_1))) (let - ((X4 Bool (and (not top.usr.accelResume_a_0) top.usr.accelResume_a_1))) + ((X4 (and (not top.usr.accelResume_a_0) top.usr.accelResume_a_1))) (and (= top.impl.usr.cruise_controller_CruiseController_ModeLogic_DelayOnsetDecel_Bounded_Count_Out_a_1 @@ -1052,10 +1032,10 @@ 0)) 20)) (let - ((X5 Int top.impl.usr.mode_a_0)) + ((X5 top.impl.usr.mode_a_0)) (let ((X6 - Int top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_final_state_states___root_a_0)) + top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_final_state_states___root_a_0)) (and (= top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep_a_1 @@ -1064,65 +1044,65 @@ false top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep_a_0)) (let - ((X7 Int (ite (not top.usr.onOff_a_1) 0 1))) + ((X7 (ite (not top.usr.onOff_a_1) 0 1))) (let ((X8 - Bool (and + (and (and (>= X6 2) (<= X6 8)) (not (ite (not (= X7 0)) true false))))) (let - ((X9 Int (ite X8 (ite (and (>= X6 2) (<= X6 8)) 0 X6) X6))) + ((X9 (ite X8 (ite (and (>= X6 2) (<= X6 8)) 0 X6) X6))) (let - ((X10 Int (ite X8 (ite (not (= X9 1)) 1 X5) X5))) + ((X10 (ite X8 (ite (not (= X9 1)) 1 X5) X5))) (let - ((X11 Int (ite X8 (ite (not (= X9 1)) 1 X9) X9))) + ((X11 (ite X8 (ite (not (= X9 1)) 1 X9) X9))) (let ((X12 - Bool (and + (and (= X11 1) (and (ite (not (= X7 0)) true false) (not X8))))) (let - ((X13 Int (ite X12 (ite (= X11 1) 0 X11) X11))) + ((X13 (ite X12 (ite (= X11 1) 0 X11) X11))) (let - ((X14 Int (ite (not (and (>= X13 2) (<= X13 8))) 2 X13))) + ((X14 (ite (not (and (>= X13 2) (<= X13 8))) 2 X13))) (let ((X15 - Bool (and + (and (not (and (>= X13 2) (<= X13 8))) (and (>= X14 2) (<= X14 8))))) (let ((X16 - Int (ite + (ite X12 (ite X15 (ite (not (= X14 7)) 2 X10) X10) X10))) (let - ((X17 Int (ite X15 (ite (not (= X14 7)) 7 X14) X14))) + ((X17 (ite X15 (ite (not (= X14 7)) 7 X14) X14))) (let - ((X18 Int (ite X12 X17 X13))) + ((X18 (ite X12 X17 X13))) (let - ((X19 Bool (or X12 X8))) + ((X19 (or X12 X8))) (let - ((X20 Int (ite (not X3) 0 1))) + ((X20 (ite (not X3) 0 1))) (let ((X21 - Bool (and + (and (and (>= X18 3) (<= X18 6)) (not (ite (not (= X20 0)) true false))))) (let ((X22 - Int (ite + (ite X21 (ite (and (>= X18 3) (<= X18 6)) 2 X18) X18))) (let ((X23 - Int (ite X21 (ite (not (= X22 8)) 8 X22) X22))) + (ite X21 (ite (not (= X22 8)) 8 X22) X22))) (let - ((X24 Int (ite (not X2) 0 1))) + ((X24 (ite (not X2) 0 1))) (let ((X25 - Bool (and + (and (= X23 8) (and (and @@ -1136,31 +1116,31 @@ false)) (not X21))))) (let - ((X26 Int (ite X25 (ite (= X23 8) 2 X23) X23))) + ((X26 (ite X25 (ite (= X23 8) 2 X23) X23))) (let ((X27 - Int (ite + (ite (not (and (>= X26 3) (<= X26 6))) 3 X26))) (let ((X28 - Bool (and + (and (not (and (>= X26 3) (<= X26 6))) (and (>= X27 3) (<= X27 6))))) (let ((X29 - Int (ite + (ite X28 (ite (not (= X27 4)) 4 X27) X27))) (let - ((X30 Int (ite X25 X29 X26))) + ((X30 (ite X25 X29 X26))) (let - ((X31 Bool (or X25 X21))) + ((X31 (or X25 X21))) (let ((X32 - Bool (and + (and (= X30 8) (and (and @@ -1185,36 +1165,36 @@ (not X31))))) (let ((X33 - Int (ite + (ite X32 (ite (= X30 8) 2 X30) X30))) (let ((X34 - Int (ite + (ite (not (and (>= X33 3) (<= X33 6))) 3 X33))) (let ((X35 - Bool (and + (and (not (and (>= X33 3) (<= X33 6))) (and (>= X34 3) (<= X34 6))))) (let ((X36 - Int (ite + (ite X35 (ite (not (= X34 4)) 4 X34) X34))) (let - ((X37 Int (ite X32 X36 X33))) + ((X37 (ite X32 X36 X33))) (let - ((X38 Bool (or X32 X31))) + ((X38 (or X32 X31))) (let ((X39 - Bool (and + (and (= X37 7) (and (and @@ -1241,13 +1221,13 @@ (not X38))))) (let ((X40 - Int (ite + (ite X39 (ite (= X37 7) 2 X37) X37))) (let ((X41 - Int (ite + (ite X21 (ite (not (= X22 8)) @@ -1256,7 +1236,7 @@ X16))) (let ((X42 - Int (ite + (ite X25 (ite X28 @@ -1268,7 +1248,7 @@ X41))) (let ((X43 - Int (ite + (ite X32 (ite X35 @@ -1280,7 +1260,7 @@ X42))) (let ((X44 - Int (ite + (ite (not (and (>= X40 3) @@ -1289,7 +1269,7 @@ X40))) (let ((X45 - Bool (and + (and (not (and (>= X40 3) @@ -1299,7 +1279,7 @@ (<= X44 6))))) (let ((X46 - Int (ite + (ite X39 (ite X45 @@ -1311,7 +1291,7 @@ X43))) (let ((X47 - Int (ite + (ite X45 (ite (not (= X44 4)) @@ -1320,17 +1300,17 @@ X44))) (let ((X48 - Int (ite X39 X47 X40))) + (ite X39 X47 X40))) (let - ((X49 Bool (or X39 X38))) + ((X49 (or X39 X38))) (let ((X50 - Bool (and + (and (= X48 4) (= X24 1)))) (let ((X51 - Int (ite + (ite X50 (ite (= X48 4) @@ -1339,7 +1319,7 @@ X48))) (let ((X52 - Int (ite + (ite X50 (ite (not @@ -1349,7 +1329,7 @@ X51))) (let ((X53 - Int (ite + (ite (not (ite (= @@ -1361,14 +1341,14 @@ 1))) (let ((X54 - Bool (and + (and (= X52 4) (and (= X53 1) (not X50))))) (let ((X55 - Int (ite + (ite X54 (ite (= X52 4) @@ -1377,7 +1357,7 @@ X52))) (let ((X56 - Int (ite + (ite X54 (ite (not @@ -1387,12 +1367,12 @@ X55))) (let ((X57 - Bool (or + (or X54 X50))) (let ((X58 - Int (ite + (ite (not (ite (= @@ -1404,7 +1384,6 @@ 1))) (let ((X59 - Bool (and (= X56 4) (and @@ -1412,7 +1391,6 @@ (not X57))))) (let ((X60 - Int (ite X59 (ite @@ -1422,7 +1400,6 @@ X56))) (let ((X61 - Int (ite X59 (ite @@ -1433,13 +1410,11 @@ X60))) (let ((X62 - Bool (or X59 X57))) (let ((X63 - Bool (and (= X61 6) (and @@ -1447,7 +1422,6 @@ (not X62))))) (let ((X64 - Int (ite X63 (ite @@ -1457,7 +1431,6 @@ X61))) (let ((X65 - Int (ite X63 (ite @@ -1468,13 +1441,11 @@ X64))) (let ((X66 - Bool (or X63 X62))) (let ((X67 - Bool (and (= X65 5) (and @@ -1482,7 +1453,6 @@ (not X66))))) (let ((X68 - Int (ite X67 (ite @@ -1492,7 +1462,6 @@ X65))) (let ((X69 - Int (ite X50 (ite @@ -1503,7 +1472,6 @@ X46))) (let ((X70 - Int (ite X54 (ite @@ -1514,7 +1482,6 @@ X69))) (let ((X71 - Int (ite X59 (ite @@ -1525,7 +1492,6 @@ X70))) (let ((X72 - Int (ite X63 (ite @@ -1606,7 +1572,7 @@ top.impl.usr.rlt_condact_cruise_controller_CruiseController_SetDesiredSpeed_computeIncreaseInDesiredSpeed_rlt_clock_a_1 (+ X1 - (/ 1 20)) + (/ 1.0 20.0)) top.impl.usr.newDesiredSpeed_a_0))) (= top.impl.usr.rlt_condact_cruise_controller_CruiseController_SetDesiredSpeed_computeDecreaseInDesiredSpeed_rlt_init_step_a_1 @@ -1634,7 +1600,7 @@ top.impl.usr.rlt_condact_cruise_controller_CruiseController_SetDesiredSpeed_computeDecreaseInDesiredSpeed_rlt_clock_a_1 (- X1 - (/ 1 20)) + (/ 1.0 20.0)) top.impl.usr.newDesiredSpeed1_a_0))) (= top.impl.usr.cruise_controller_CruiseController_SetDesiredSpeed_IncreaseDesiredSpeed_a_1 @@ -1687,7 +1653,6 @@ 0.0))) (let ((X73 - Int (ite (not (= X6 1)) @@ -1695,7 +1660,6 @@ X6))) (let ((X74 - Int (ite X67 (ite @@ -1738,10 +1702,9 @@ X6)) (let ((X75 - Int top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_setDesiredSpeed_a_0)) + top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_setDesiredSpeed_a_0)) (let ((X76 - Int (ite X8 (ite @@ -1761,7 +1724,6 @@ X75))) (let ((X77 - Int (ite X39 1 @@ -1786,14 +1748,12 @@ X76))))) (let ((X78 - Int (ite X50 1 X77))) (let ((X79 - Int (ite X54 (ite @@ -1911,32 +1871,6 @@ )) -(declare-primed-var top.usr.onOff Bool) -(declare-primed-var top.usr.decelSet Bool) -(declare-primed-var top.usr.accelResume Bool) -(declare-primed-var top.usr.cancel Bool) -(declare-primed-var top.usr.brakePedal Bool) -(declare-primed-var top.usr.carGear Int) -(declare-primed-var top.usr.carSpeed Real) -(declare-primed-var top.usr.validInputs Bool) -(declare-primed-var top.usr.OK Bool) -(declare-primed-var top.res.init_flag Bool) -(declare-primed-var top.impl.usr.mode Int) -(declare-primed-var top.impl.usr.rlt_condact_cruise_controller_CruiseController_SetDesiredSpeed_computeDecreaseInDesiredSpeed_rlt_clock Bool) -(declare-primed-var top.impl.usr.rlt_condact_cruise_controller_CruiseController_SetDesiredSpeed_computeDecreaseInDesiredSpeed_rlt_init_step Bool) -(declare-primed-var top.impl.usr.newDesiredSpeed1 Real) -(declare-primed-var top.impl.usr.rlt_condact_cruise_controller_CruiseController_SetDesiredSpeed_computeIncreaseInDesiredSpeed_rlt_clock Bool) -(declare-primed-var top.impl.usr.rlt_condact_cruise_controller_CruiseController_SetDesiredSpeed_computeIncreaseInDesiredSpeed_rlt_init_step Bool) -(declare-primed-var top.impl.usr.newDesiredSpeed Real) -(declare-primed-var top.impl.usr.chart_CruiseController_ModeLogic_mode_logic____wakeup___ Bool) -(declare-primed-var top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep Bool) -(declare-primed-var top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_final_state_states___root Int) -(declare-primed-var top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_setDesiredSpeed Int) -(declare-primed-var top.impl.usr.cruise_controller_CruiseController_ModeLogic_DelayOnsetAccel_Bounded_Count_Out Int) -(declare-primed-var top.impl.usr.cruise_controller_CruiseController_ModeLogic_DelayOnsetDecel_Bounded_Count_Out Int) -(declare-primed-var top.impl.usr.cruise_controller_CruiseController_SetDesiredSpeed_setDesiredSpeed Bool) -(declare-primed-var top.impl.usr.cruise_controller_CruiseController_SetDesiredSpeed_IncreaseDesiredSpeed Real) - (define-fun init ( (top.usr.onOff Bool) @@ -1967,12 +1901,12 @@ ) Bool (let - ((X1 Real 0.0)) + ((X1 0.0)) (let - ((X2 Bool false)) + ((X2 false)) (let ((X3 - Bool (and + (and (and (and (and (not top.usr.cancel) (not top.usr.brakePedal)) @@ -1980,7 +1914,7 @@ (ite (>= top.usr.carSpeed 15.0) true false)) top.usr.validInputs))) (let - ((X4 Bool false)) + ((X4 false)) (and (= top.impl.usr.cruise_controller_CruiseController_ModeLogic_DelayOnsetDecel_Bounded_Count_Out @@ -2008,73 +1942,73 @@ (ite top.usr.accelResume 1 0)) 20)) (let - ((X5 Int 0)) + ((X5 0)) (let - ((X6 Int 0)) + ((X6 0)) (and (= top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep true) (let - ((X7 Int (ite (not top.usr.onOff) 0 1))) + ((X7 (ite (not top.usr.onOff) 0 1))) (let ((X8 - Bool (and + (and (and (>= X6 2) (<= X6 8)) (not (ite (not (= X7 0)) true false))))) (let - ((X9 Int (ite X8 (ite (and (>= X6 2) (<= X6 8)) 0 X6) X6))) + ((X9 (ite X8 (ite (and (>= X6 2) (<= X6 8)) 0 X6) X6))) (let - ((X10 Int (ite X8 (ite (not (= X9 1)) 1 X5) X5))) + ((X10 (ite X8 (ite (not (= X9 1)) 1 X5) X5))) (let - ((X11 Int (ite X8 (ite (not (= X9 1)) 1 X9) X9))) + ((X11 (ite X8 (ite (not (= X9 1)) 1 X9) X9))) (let ((X12 - Bool (and + (and (= X11 1) (and (ite (not (= X7 0)) true false) (not X8))))) (let - ((X13 Int (ite X12 (ite (= X11 1) 0 X11) X11))) + ((X13 (ite X12 (ite (= X11 1) 0 X11) X11))) (let - ((X14 Int (ite (not (and (>= X13 2) (<= X13 8))) 2 X13))) + ((X14 (ite (not (and (>= X13 2) (<= X13 8))) 2 X13))) (let ((X15 - Bool (and + (and (not (and (>= X13 2) (<= X13 8))) (and (>= X14 2) (<= X14 8))))) (let ((X16 - Int (ite + (ite X12 (ite X15 (ite (not (= X14 7)) 2 X10) X10) X10))) (let - ((X17 Int (ite X15 (ite (not (= X14 7)) 7 X14) X14))) + ((X17 (ite X15 (ite (not (= X14 7)) 7 X14) X14))) (let - ((X18 Int (ite X12 X17 X13))) + ((X18 (ite X12 X17 X13))) (let - ((X19 Bool (or X12 X8))) + ((X19 (or X12 X8))) (let - ((X20 Int (ite (not X3) 0 1))) + ((X20 (ite (not X3) 0 1))) (let ((X21 - Bool (and + (and (and (>= X18 3) (<= X18 6)) (not (ite (not (= X20 0)) true false))))) (let ((X22 - Int (ite + (ite X21 (ite (and (>= X18 3) (<= X18 6)) 2 X18) X18))) (let ((X23 - Int (ite X21 (ite (not (= X22 8)) 8 X22) X22))) + (ite X21 (ite (not (= X22 8)) 8 X22) X22))) (let - ((X24 Int (ite (not X2) 0 1))) + ((X24 (ite (not X2) 0 1))) (let ((X25 - Bool (and + (and (= X23 8) (and (and @@ -2088,31 +2022,31 @@ false)) (not X21))))) (let - ((X26 Int (ite X25 (ite (= X23 8) 2 X23) X23))) + ((X26 (ite X25 (ite (= X23 8) 2 X23) X23))) (let ((X27 - Int (ite + (ite (not (and (>= X26 3) (<= X26 6))) 3 X26))) (let ((X28 - Bool (and + (and (not (and (>= X26 3) (<= X26 6))) (and (>= X27 3) (<= X27 6))))) (let ((X29 - Int (ite + (ite X28 (ite (not (= X27 4)) 4 X27) X27))) (let - ((X30 Int (ite X25 X29 X26))) + ((X30 (ite X25 X29 X26))) (let - ((X31 Bool (or X25 X21))) + ((X31 (or X25 X21))) (let ((X32 - Bool (and + (and (= X30 8) (and (and @@ -2137,36 +2071,36 @@ (not X31))))) (let ((X33 - Int (ite + (ite X32 (ite (= X30 8) 2 X30) X30))) (let ((X34 - Int (ite + (ite (not (and (>= X33 3) (<= X33 6))) 3 X33))) (let ((X35 - Bool (and + (and (not (and (>= X33 3) (<= X33 6))) (and (>= X34 3) (<= X34 6))))) (let ((X36 - Int (ite + (ite X35 (ite (not (= X34 4)) 4 X34) X34))) (let - ((X37 Int (ite X32 X36 X33))) + ((X37 (ite X32 X36 X33))) (let - ((X38 Bool (or X32 X31))) + ((X38 (or X32 X31))) (let ((X39 - Bool (and + (and (= X37 7) (and (and @@ -2193,13 +2127,13 @@ (not X38))))) (let ((X40 - Int (ite + (ite X39 (ite (= X37 7) 2 X37) X37))) (let ((X41 - Int (ite + (ite X21 (ite (not (= X22 8)) @@ -2208,7 +2142,7 @@ X16))) (let ((X42 - Int (ite + (ite X25 (ite X28 @@ -2220,7 +2154,7 @@ X41))) (let ((X43 - Int (ite + (ite X32 (ite X35 @@ -2232,7 +2166,7 @@ X42))) (let ((X44 - Int (ite + (ite (not (and (>= X40 3) @@ -2241,7 +2175,7 @@ X40))) (let ((X45 - Bool (and + (and (not (and (>= X40 3) @@ -2251,7 +2185,7 @@ (<= X44 6))))) (let ((X46 - Int (ite + (ite X39 (ite X45 @@ -2263,7 +2197,7 @@ X43))) (let ((X47 - Int (ite + (ite X45 (ite (not (= X44 4)) @@ -2272,17 +2206,17 @@ X44))) (let ((X48 - Int (ite X39 X47 X40))) + (ite X39 X47 X40))) (let - ((X49 Bool (or X39 X38))) + ((X49 (or X39 X38))) (let ((X50 - Bool (and + (and (= X48 4) (= X24 1)))) (let ((X51 - Int (ite + (ite X50 (ite (= X48 4) @@ -2291,7 +2225,7 @@ X48))) (let ((X52 - Int (ite + (ite X50 (ite (not @@ -2301,7 +2235,7 @@ X51))) (let ((X53 - Int (ite + (ite (not (ite (= @@ -2313,14 +2247,14 @@ 1))) (let ((X54 - Bool (and + (and (= X52 4) (and (= X53 1) (not X50))))) (let ((X55 - Int (ite + (ite X54 (ite (= X52 4) @@ -2329,7 +2263,7 @@ X52))) (let ((X56 - Int (ite + (ite X54 (ite (not @@ -2339,12 +2273,12 @@ X55))) (let ((X57 - Bool (or + (or X54 X50))) (let ((X58 - Int (ite + (ite (not (ite (= @@ -2356,7 +2290,6 @@ 1))) (let ((X59 - Bool (and (= X56 4) (and @@ -2364,7 +2297,6 @@ (not X57))))) (let ((X60 - Int (ite X59 (ite @@ -2374,7 +2306,6 @@ X56))) (let ((X61 - Int (ite X59 (ite @@ -2385,13 +2316,11 @@ X60))) (let ((X62 - Bool (or X59 X57))) (let ((X63 - Bool (and (= X61 6) (and @@ -2399,7 +2328,6 @@ (not X62))))) (let ((X64 - Int (ite X63 (ite @@ -2409,7 +2337,6 @@ X61))) (let ((X65 - Int (ite X63 (ite @@ -2420,13 +2347,11 @@ X64))) (let ((X66 - Bool (or X63 X62))) (let ((X67 - Bool (and (= X65 5) (and @@ -2434,7 +2359,6 @@ (not X66))))) (let ((X68 - Int (ite X67 (ite @@ -2444,7 +2368,6 @@ X65))) (let ((X69 - Int (ite X50 (ite @@ -2455,7 +2378,6 @@ X46))) (let ((X70 - Int (ite X54 (ite @@ -2466,7 +2388,6 @@ X69))) (let ((X71 - Int (ite X59 (ite @@ -2477,7 +2398,6 @@ X70))) (let ((X72 - Int (ite X63 (ite @@ -2553,7 +2473,7 @@ 0.0 (+ X1 - (/ 1 20)))) + (/ 1.0 20.0)))) (= top.impl.usr.rlt_condact_cruise_controller_CruiseController_SetDesiredSpeed_computeDecreaseInDesiredSpeed_rlt_init_step true) @@ -2575,7 +2495,7 @@ 0.0 (- X1 - (/ 1 20)))) + (/ 1.0 20.0)))) (= top.impl.usr.cruise_controller_CruiseController_SetDesiredSpeed_IncreaseDesiredSpeed (ite @@ -2627,7 +2547,6 @@ 0.0))) (let ((X73 - Int (ite (not (= X6 1)) @@ -2635,7 +2554,6 @@ X6))) (let ((X74 - Int (ite X67 (ite @@ -2678,10 +2596,9 @@ X6)) (let ((X75 - Int 0)) + 0)) (let ((X76 - Int (ite X8 (ite @@ -2701,7 +2618,6 @@ X75))) (let ((X77 - Int (ite X39 1 @@ -2726,14 +2642,12 @@ X76))))) (let ((X78 - Int (ite X50 1 X77))) (let ((X79 - Int (ite X54 (ite @@ -2880,7 +2794,7 @@ (let ((X1 - Real (ite + (ite (< (ite top.impl.usr.cruise_controller_CruiseController_SetDesiredSpeed_setDesiredSpeed @@ -2901,10 +2815,10 @@ top.usr.carSpeed top.impl.usr.cruise_controller_CruiseController_SetDesiredSpeed_IncreaseDesiredSpeed))))) (let - ((X2 Bool (and (not top.usr.decelSet) top.usr.decelSet!))) + ((X2 (and (not top.usr.decelSet) top.usr.decelSet!))) (let ((X3 - Bool (and + (and (and (and (and (not top.usr.cancel!) (not top.usr.brakePedal!)) @@ -2912,7 +2826,7 @@ (ite (>= top.usr.carSpeed! 15.0) true false)) top.usr.validInputs!))) (let - ((X4 Bool (and (not top.usr.accelResume) top.usr.accelResume!))) + ((X4 (and (not top.usr.accelResume) top.usr.accelResume!))) (and (= top.impl.usr.cruise_controller_CruiseController_ModeLogic_DelayOnsetDecel_Bounded_Count_Out! @@ -2991,10 +2905,10 @@ 0)) 20)) (let - ((X5 Int top.impl.usr.mode)) + ((X5 top.impl.usr.mode)) (let ((X6 - Int top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_final_state_states___root)) + top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_final_state_states___root)) (and (= top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep! @@ -3003,65 +2917,65 @@ false top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep)) (let - ((X7 Int (ite (not top.usr.onOff!) 0 1))) + ((X7 (ite (not top.usr.onOff!) 0 1))) (let ((X8 - Bool (and + (and (and (>= X6 2) (<= X6 8)) (not (ite (not (= X7 0)) true false))))) (let - ((X9 Int (ite X8 (ite (and (>= X6 2) (<= X6 8)) 0 X6) X6))) + ((X9 (ite X8 (ite (and (>= X6 2) (<= X6 8)) 0 X6) X6))) (let - ((X10 Int (ite X8 (ite (not (= X9 1)) 1 X5) X5))) + ((X10 (ite X8 (ite (not (= X9 1)) 1 X5) X5))) (let - ((X11 Int (ite X8 (ite (not (= X9 1)) 1 X9) X9))) + ((X11 (ite X8 (ite (not (= X9 1)) 1 X9) X9))) (let ((X12 - Bool (and + (and (= X11 1) (and (ite (not (= X7 0)) true false) (not X8))))) (let - ((X13 Int (ite X12 (ite (= X11 1) 0 X11) X11))) + ((X13 (ite X12 (ite (= X11 1) 0 X11) X11))) (let - ((X14 Int (ite (not (and (>= X13 2) (<= X13 8))) 2 X13))) + ((X14 (ite (not (and (>= X13 2) (<= X13 8))) 2 X13))) (let ((X15 - Bool (and + (and (not (and (>= X13 2) (<= X13 8))) (and (>= X14 2) (<= X14 8))))) (let ((X16 - Int (ite + (ite X12 (ite X15 (ite (not (= X14 7)) 2 X10) X10) X10))) (let - ((X17 Int (ite X15 (ite (not (= X14 7)) 7 X14) X14))) + ((X17 (ite X15 (ite (not (= X14 7)) 7 X14) X14))) (let - ((X18 Int (ite X12 X17 X13))) + ((X18 (ite X12 X17 X13))) (let - ((X19 Bool (or X12 X8))) + ((X19 (or X12 X8))) (let - ((X20 Int (ite (not X3) 0 1))) + ((X20 (ite (not X3) 0 1))) (let ((X21 - Bool (and + (and (and (>= X18 3) (<= X18 6)) (not (ite (not (= X20 0)) true false))))) (let ((X22 - Int (ite + (ite X21 (ite (and (>= X18 3) (<= X18 6)) 2 X18) X18))) (let ((X23 - Int (ite X21 (ite (not (= X22 8)) 8 X22) X22))) + (ite X21 (ite (not (= X22 8)) 8 X22) X22))) (let - ((X24 Int (ite (not X2) 0 1))) + ((X24 (ite (not X2) 0 1))) (let ((X25 - Bool (and + (and (= X23 8) (and (and @@ -3075,31 +2989,31 @@ false)) (not X21))))) (let - ((X26 Int (ite X25 (ite (= X23 8) 2 X23) X23))) + ((X26 (ite X25 (ite (= X23 8) 2 X23) X23))) (let ((X27 - Int (ite + (ite (not (and (>= X26 3) (<= X26 6))) 3 X26))) (let ((X28 - Bool (and + (and (not (and (>= X26 3) (<= X26 6))) (and (>= X27 3) (<= X27 6))))) (let ((X29 - Int (ite + (ite X28 (ite (not (= X27 4)) 4 X27) X27))) (let - ((X30 Int (ite X25 X29 X26))) + ((X30 (ite X25 X29 X26))) (let - ((X31 Bool (or X25 X21))) + ((X31 (or X25 X21))) (let ((X32 - Bool (and + (and (= X30 8) (and (and @@ -3124,36 +3038,36 @@ (not X31))))) (let ((X33 - Int (ite + (ite X32 (ite (= X30 8) 2 X30) X30))) (let ((X34 - Int (ite + (ite (not (and (>= X33 3) (<= X33 6))) 3 X33))) (let ((X35 - Bool (and + (and (not (and (>= X33 3) (<= X33 6))) (and (>= X34 3) (<= X34 6))))) (let ((X36 - Int (ite + (ite X35 (ite (not (= X34 4)) 4 X34) X34))) (let - ((X37 Int (ite X32 X36 X33))) + ((X37 (ite X32 X36 X33))) (let - ((X38 Bool (or X32 X31))) + ((X38 (or X32 X31))) (let ((X39 - Bool (and + (and (= X37 7) (and (and @@ -3180,13 +3094,13 @@ (not X38))))) (let ((X40 - Int (ite + (ite X39 (ite (= X37 7) 2 X37) X37))) (let ((X41 - Int (ite + (ite X21 (ite (not (= X22 8)) @@ -3195,7 +3109,7 @@ X16))) (let ((X42 - Int (ite + (ite X25 (ite X28 @@ -3207,7 +3121,7 @@ X41))) (let ((X43 - Int (ite + (ite X32 (ite X35 @@ -3219,7 +3133,7 @@ X42))) (let ((X44 - Int (ite + (ite (not (and (>= X40 3) @@ -3228,7 +3142,7 @@ X40))) (let ((X45 - Bool (and + (and (not (and (>= X40 3) @@ -3238,7 +3152,7 @@ (<= X44 6))))) (let ((X46 - Int (ite + (ite X39 (ite X45 @@ -3250,7 +3164,7 @@ X43))) (let ((X47 - Int (ite + (ite X45 (ite (not (= X44 4)) @@ -3259,17 +3173,17 @@ X44))) (let ((X48 - Int (ite X39 X47 X40))) + (ite X39 X47 X40))) (let - ((X49 Bool (or X39 X38))) + ((X49 (or X39 X38))) (let ((X50 - Bool (and + (and (= X48 4) (= X24 1)))) (let ((X51 - Int (ite + (ite X50 (ite (= X48 4) @@ -3278,7 +3192,7 @@ X48))) (let ((X52 - Int (ite + (ite X50 (ite (not @@ -3288,7 +3202,7 @@ X51))) (let ((X53 - Int (ite + (ite (not (ite (= @@ -3300,14 +3214,14 @@ 1))) (let ((X54 - Bool (and + (and (= X52 4) (and (= X53 1) (not X50))))) (let ((X55 - Int (ite + (ite X54 (ite (= X52 4) @@ -3316,7 +3230,7 @@ X52))) (let ((X56 - Int (ite + (ite X54 (ite (not @@ -3326,12 +3240,12 @@ X55))) (let ((X57 - Bool (or + (or X54 X50))) (let ((X58 - Int (ite + (ite (not (ite (= @@ -3343,7 +3257,6 @@ 1))) (let ((X59 - Bool (and (= X56 4) (and @@ -3351,7 +3264,6 @@ (not X57))))) (let ((X60 - Int (ite X59 (ite @@ -3361,7 +3273,6 @@ X56))) (let ((X61 - Int (ite X59 (ite @@ -3372,13 +3283,11 @@ X60))) (let ((X62 - Bool (or X59 X57))) (let ((X63 - Bool (and (= X61 6) (and @@ -3386,7 +3295,6 @@ (not X62))))) (let ((X64 - Int (ite X63 (ite @@ -3396,7 +3304,6 @@ X61))) (let ((X65 - Int (ite X63 (ite @@ -3407,13 +3314,11 @@ X64))) (let ((X66 - Bool (or X63 X62))) (let ((X67 - Bool (and (= X65 5) (and @@ -3421,7 +3326,6 @@ (not X66))))) (let ((X68 - Int (ite X67 (ite @@ -3431,7 +3335,6 @@ X65))) (let ((X69 - Int (ite X50 (ite @@ -3442,7 +3345,6 @@ X46))) (let ((X70 - Int (ite X54 (ite @@ -3453,7 +3355,6 @@ X69))) (let ((X71 - Int (ite X59 (ite @@ -3464,7 +3365,6 @@ X70))) (let ((X72 - Int (ite X63 (ite @@ -3545,7 +3445,7 @@ top.impl.usr.rlt_condact_cruise_controller_CruiseController_SetDesiredSpeed_computeIncreaseInDesiredSpeed_rlt_clock! (+ X1 - (/ 1 20)) + (/ 1.0 20.0)) top.impl.usr.newDesiredSpeed))) (= top.impl.usr.rlt_condact_cruise_controller_CruiseController_SetDesiredSpeed_computeDecreaseInDesiredSpeed_rlt_init_step! @@ -3573,7 +3473,7 @@ top.impl.usr.rlt_condact_cruise_controller_CruiseController_SetDesiredSpeed_computeDecreaseInDesiredSpeed_rlt_clock! (- X1 - (/ 1 20)) + (/ 1.0 20.0)) top.impl.usr.newDesiredSpeed1))) (= top.impl.usr.cruise_controller_CruiseController_SetDesiredSpeed_IncreaseDesiredSpeed! @@ -3626,7 +3526,6 @@ 0.0))) (let ((X73 - Int (ite (not (= X6 1)) @@ -3634,7 +3533,6 @@ X6))) (let ((X74 - Int (ite X67 (ite @@ -3677,10 +3575,9 @@ X6)) (let ((X75 - Int top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_setDesiredSpeed)) + top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_setDesiredSpeed)) (let ((X76 - Int (ite X8 (ite @@ -3700,7 +3597,6 @@ X75))) (let ((X77 - Int (ite X39 1 @@ -3725,14 +3621,12 @@ X76))))) (let ((X78 - Int (ite X50 1 X77))) (let ((X79 - Int (ite X54 (ite diff --git a/lib-nonconforming/Inv_Track/andrew_lustre/cruise_controller_14.lus.sl b/lib/Inv_Track/andrew_lustre/cruise_controller_14.lus.sl similarity index 90% rename from lib-nonconforming/Inv_Track/andrew_lustre/cruise_controller_14.lus.sl rename to lib/Inv_Track/andrew_lustre/cruise_controller_14.lus.sl index 6147b7e8..d0d3616c 100644 --- a/lib-nonconforming/Inv_Track/andrew_lustre/cruise_controller_14.lus.sl +++ b/lib/Inv_Track/andrew_lustre/cruise_controller_14.lus.sl @@ -22,10 +22,10 @@ ) Bool (let - ((X1 Bool false)) + ((X1 false)) (let ((X2 - Bool (and + (and (and (and (and (not top.usr.cancel_a_0) (not top.usr.brakePedal_a_0)) @@ -33,7 +33,7 @@ (ite (>= top.usr.carSpeed_a_0 15.0) true false)) top.usr.validInputs_a_0))) (let - ((X3 Bool false)) + ((X3 false)) (and (= top.impl.usr.cruise_controller_CruiseController_ModeLogic_DelayOnsetDecel_Bounded_Count_Out_a_0 @@ -64,47 +64,47 @@ (ite top.usr.accelResume_a_0 1 0)) 20)) (let - ((X4 Int 0)) + ((X4 0)) (let - ((X5 Int 0)) + ((X5 0)) (and (= top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep_a_0 true) (let - ((X6 Int (ite (not top.usr.onOff_a_0) 0 1))) + ((X6 (ite (not top.usr.onOff_a_0) 0 1))) (let ((X7 - Bool (and + (and (and (>= X5 2) (<= X5 8)) (not (ite (not (= X6 0)) true false))))) (let - ((X8 Int (ite X7 (ite (and (>= X5 2) (<= X5 8)) 0 X5) X5))) + ((X8 (ite X7 (ite (and (>= X5 2) (<= X5 8)) 0 X5) X5))) (let - ((X9 Int (ite X7 (ite (not (= X8 1)) 1 X8) X8))) + ((X9 (ite X7 (ite (not (= X8 1)) 1 X8) X8))) (let ((X10 - Bool (and + (and (= X9 1) (and (ite (not (= X6 0)) true false) (not X7))))) (let - ((X11 Int (ite X10 (ite (= X9 1) 0 X9) X9))) + ((X11 (ite X10 (ite (= X9 1) 0 X9) X9))) (let - ((X12 Int (ite (not (and (>= X11 2) (<= X11 8))) 2 X11))) + ((X12 (ite (not (and (>= X11 2) (<= X11 8))) 2 X11))) (let ((X13 - Bool (and + (and (not (and (>= X11 2) (<= X11 8))) (and (>= X12 2) (<= X12 8))))) (let - ((X14 Int (ite X13 (ite (not (= X12 7)) 7 X12) X12))) + ((X14 (ite X13 (ite (not (= X12 7)) 7 X12) X12))) (let - ((X15 Int (ite X10 X14 X11))) + ((X15 (ite X10 X14 X11))) (let - ((X16 Bool (or X10 X7))) + ((X16 (or X10 X7))) (let ((X17 - Int (ite + (ite X7 (ite (and (>= X5 2) (<= X5 8)) @@ -115,25 +115,25 @@ X4) X4))) (let - ((X18 Int (ite (not X2) 0 1))) + ((X18 (ite (not X2) 0 1))) (let ((X19 - Bool (and + (and (and (>= X15 3) (<= X15 6)) (not (ite (not (= X18 0)) true false))))) (let ((X20 - Int (ite + (ite X19 (ite (and (>= X15 3) (<= X15 6)) 2 X15) X15))) (let - ((X21 Int (ite X19 (ite (not (= X20 8)) 8 X20) X20))) + ((X21 (ite X19 (ite (not (= X20 8)) 8 X20) X20))) (let - ((X22 Int (ite (not X1) 0 1))) + ((X22 (ite (not X1) 0 1))) (let ((X23 - Bool (and + (and (= X21 8) (and (and @@ -147,31 +147,31 @@ false)) (not X19))))) (let - ((X24 Int (ite X23 (ite (= X21 8) 2 X21) X21))) + ((X24 (ite X23 (ite (= X21 8) 2 X21) X21))) (let ((X25 - Int (ite + (ite (not (and (>= X24 3) (<= X24 6))) 3 X24))) (let ((X26 - Bool (and + (and (not (and (>= X24 3) (<= X24 6))) (and (>= X25 3) (<= X25 6))))) (let ((X27 - Int (ite + (ite X26 (ite (not (= X25 4)) 4 X25) X25))) (let - ((X28 Int (ite X23 X27 X24))) + ((X28 (ite X23 X27 X24))) (let - ((X29 Bool (or X23 X19))) + ((X29 (or X23 X19))) (let ((X30 - Bool (and + (and (= X28 8) (and (and @@ -194,32 +194,32 @@ (not X29))))) (let ((X31 - Int (ite X30 (ite (= X28 8) 2 X28) X28))) + (ite X30 (ite (= X28 8) 2 X28) X28))) (let ((X32 - Int (ite + (ite (not (and (>= X31 3) (<= X31 6))) 3 X31))) (let ((X33 - Bool (and + (and (not (and (>= X31 3) (<= X31 6))) (and (>= X32 3) (<= X32 6))))) (let ((X34 - Int (ite + (ite X33 (ite (not (= X32 4)) 4 X32) X32))) (let - ((X35 Int (ite X30 X34 X31))) + ((X35 (ite X30 X34 X31))) (let - ((X36 Bool (or X30 X29))) + ((X36 (or X30 X29))) (let ((X37 - Bool (and + (and (= X35 7) (and (and @@ -246,13 +246,13 @@ (not X36))))) (let ((X38 - Int (ite + (ite X37 (ite (= X35 7) 2 X35) X35))) (let ((X39 - Int (ite + (ite (not (and (>= X38 3) @@ -261,7 +261,7 @@ X38))) (let ((X40 - Bool (and + (and (not (and (>= X38 3) @@ -271,7 +271,7 @@ (<= X39 6))))) (let ((X41 - Int (ite + (ite X40 (ite (not (= X39 4)) @@ -279,10 +279,10 @@ X39) X39))) (let - ((X42 Int (ite X37 X41 X38))) + ((X42 (ite X37 X41 X38))) (let ((X43 - Int (ite + (ite X37 1 (ite @@ -301,15 +301,15 @@ X17) X17))))) (let - ((X44 Bool (or X37 X36))) + ((X44 (or X37 X36))) (let ((X45 - Bool (and + (and (= X42 4) (= X22 1)))) (let ((X46 - Int (ite + (ite X45 (ite (= X42 4) @@ -318,7 +318,7 @@ X42))) (let ((X47 - Int (ite + (ite X45 (ite (not (= X46 4)) @@ -327,7 +327,7 @@ X46))) (let ((X48 - Int (ite + (ite (not (ite (= @@ -339,14 +339,14 @@ 1))) (let ((X49 - Bool (and + (and (= X47 4) (and (= X48 1) (not X45))))) (let ((X50 - Int (ite + (ite X49 (ite (= X47 4) @@ -355,7 +355,7 @@ X47))) (let ((X51 - Int (ite + (ite X49 (ite (not @@ -365,10 +365,10 @@ X50))) (let ((X52 - Bool (or X49 X45))) + (or X49 X45))) (let ((X53 - Int (ite + (ite (not (ite (= @@ -380,14 +380,14 @@ 1))) (let ((X54 - Bool (and + (and (= X51 4) (and (= X53 1) (not X52))))) (let ((X55 - Int (ite + (ite X54 (ite (= X51 4) @@ -396,7 +396,7 @@ X51))) (let ((X56 - Int (ite + (ite X54 (ite (not @@ -406,12 +406,11 @@ X55))) (let ((X57 - Bool (or + (or X54 X52))) (let ((X58 - Bool (and (= X56 6) (and @@ -419,7 +418,6 @@ (not X57))))) (let ((X59 - Int (ite X58 (ite @@ -429,7 +427,6 @@ X56))) (let ((X60 - Int (ite X58 (ite @@ -440,13 +437,11 @@ X59))) (let ((X61 - Bool (or X58 X57))) (let ((X62 - Bool (and (= X60 5) (and @@ -454,7 +449,6 @@ (not X61))))) (let ((X63 - Int (ite X62 (ite @@ -464,7 +458,6 @@ X60))) (let ((X64 - Int (ite X62 (ite @@ -475,14 +468,12 @@ X63))) (let ((X65 - Int (ite X45 1 X43))) (let ((X66 - Int (ite X49 (ite @@ -541,7 +532,6 @@ X4)) (let ((X67 - Bool (ite (not (= @@ -551,10 +541,9 @@ false))) (let ((X68 - Int 0)) + 0)) (let ((X69 - Int (ite X7 (ite @@ -565,7 +554,6 @@ X68))) (let ((X70 - Int (ite X10 (ite @@ -579,7 +567,6 @@ X69))) (let ((X71 - Int (ite X19 (ite @@ -590,7 +577,6 @@ X70))) (let ((X72 - Int (ite X23 (ite @@ -604,7 +590,6 @@ X71))) (let ((X73 - Int (ite X30 (ite @@ -618,7 +603,6 @@ X72))) (let ((X74 - Int (ite X37 (ite @@ -632,7 +616,6 @@ X73))) (let ((X75 - Int (ite X45 (ite @@ -643,7 +626,6 @@ X74))) (let ((X76 - Int (ite X49 (ite @@ -654,7 +636,6 @@ X75))) (let ((X77 - Int (ite X54 (ite @@ -665,7 +646,6 @@ X76))) (let ((X78 - Int (ite X58 (ite @@ -735,7 +715,6 @@ X67))) (let ((X79 - Int (ite (not (= X5 1)) @@ -835,10 +814,10 @@ ) Bool (let - ((X1 Bool (and (not top.usr.decelSet_a_0) top.usr.decelSet_a_1))) + ((X1 (and (not top.usr.decelSet_a_0) top.usr.decelSet_a_1))) (let ((X2 - Bool (and + (and (and (and (and (not top.usr.cancel_a_1) (not top.usr.brakePedal_a_1)) @@ -846,7 +825,7 @@ (ite (>= top.usr.carSpeed_a_1 15.0) true false)) top.usr.validInputs_a_1))) (let - ((X3 Bool (and (not top.usr.accelResume_a_0) top.usr.accelResume_a_1))) + ((X3 (and (not top.usr.accelResume_a_0) top.usr.accelResume_a_1))) (and (= top.impl.usr.cruise_controller_CruiseController_ModeLogic_DelayOnsetDecel_Bounded_Count_Out_a_1 @@ -926,10 +905,10 @@ 20)) (let ((X4 - Int top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_setDesiredSpeed_a_0)) + top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_setDesiredSpeed_a_0)) (let ((X5 - Int top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_final_state_states___root_a_0)) + top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_final_state_states___root_a_0)) (and (= top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep_a_1 @@ -938,39 +917,39 @@ false top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep_a_0)) (let - ((X6 Int (ite (not top.usr.onOff_a_1) 0 1))) + ((X6 (ite (not top.usr.onOff_a_1) 0 1))) (let ((X7 - Bool (and + (and (and (>= X5 2) (<= X5 8)) (not (ite (not (= X6 0)) true false))))) (let - ((X8 Int (ite X7 (ite (and (>= X5 2) (<= X5 8)) 0 X5) X5))) + ((X8 (ite X7 (ite (and (>= X5 2) (<= X5 8)) 0 X5) X5))) (let - ((X9 Int (ite X7 (ite (not (= X8 1)) 1 X8) X8))) + ((X9 (ite X7 (ite (not (= X8 1)) 1 X8) X8))) (let ((X10 - Bool (and + (and (= X9 1) (and (ite (not (= X6 0)) true false) (not X7))))) (let - ((X11 Int (ite X10 (ite (= X9 1) 0 X9) X9))) + ((X11 (ite X10 (ite (= X9 1) 0 X9) X9))) (let - ((X12 Int (ite (not (and (>= X11 2) (<= X11 8))) 2 X11))) + ((X12 (ite (not (and (>= X11 2) (<= X11 8))) 2 X11))) (let ((X13 - Bool (and + (and (not (and (>= X11 2) (<= X11 8))) (and (>= X12 2) (<= X12 8))))) (let - ((X14 Int (ite X13 (ite (not (= X12 7)) 7 X12) X12))) + ((X14 (ite X13 (ite (not (= X12 7)) 7 X12) X12))) (let - ((X15 Int (ite X10 X14 X11))) + ((X15 (ite X10 X14 X11))) (let - ((X16 Bool (or X10 X7))) + ((X16 (or X10 X7))) (let ((X17 - Int (ite + (ite X7 (ite (and (>= X5 2) (<= X5 8)) @@ -981,25 +960,25 @@ X4) X4))) (let - ((X18 Int (ite (not X2) 0 1))) + ((X18 (ite (not X2) 0 1))) (let ((X19 - Bool (and + (and (and (>= X15 3) (<= X15 6)) (not (ite (not (= X18 0)) true false))))) (let ((X20 - Int (ite + (ite X19 (ite (and (>= X15 3) (<= X15 6)) 2 X15) X15))) (let - ((X21 Int (ite X19 (ite (not (= X20 8)) 8 X20) X20))) + ((X21 (ite X19 (ite (not (= X20 8)) 8 X20) X20))) (let - ((X22 Int (ite (not X1) 0 1))) + ((X22 (ite (not X1) 0 1))) (let ((X23 - Bool (and + (and (= X21 8) (and (and @@ -1013,31 +992,31 @@ false)) (not X19))))) (let - ((X24 Int (ite X23 (ite (= X21 8) 2 X21) X21))) + ((X24 (ite X23 (ite (= X21 8) 2 X21) X21))) (let ((X25 - Int (ite + (ite (not (and (>= X24 3) (<= X24 6))) 3 X24))) (let ((X26 - Bool (and + (and (not (and (>= X24 3) (<= X24 6))) (and (>= X25 3) (<= X25 6))))) (let ((X27 - Int (ite + (ite X26 (ite (not (= X25 4)) 4 X25) X25))) (let - ((X28 Int (ite X23 X27 X24))) + ((X28 (ite X23 X27 X24))) (let - ((X29 Bool (or X23 X19))) + ((X29 (or X23 X19))) (let ((X30 - Bool (and + (and (= X28 8) (and (and @@ -1060,32 +1039,32 @@ (not X29))))) (let ((X31 - Int (ite X30 (ite (= X28 8) 2 X28) X28))) + (ite X30 (ite (= X28 8) 2 X28) X28))) (let ((X32 - Int (ite + (ite (not (and (>= X31 3) (<= X31 6))) 3 X31))) (let ((X33 - Bool (and + (and (not (and (>= X31 3) (<= X31 6))) (and (>= X32 3) (<= X32 6))))) (let ((X34 - Int (ite + (ite X33 (ite (not (= X32 4)) 4 X32) X32))) (let - ((X35 Int (ite X30 X34 X31))) + ((X35 (ite X30 X34 X31))) (let - ((X36 Bool (or X30 X29))) + ((X36 (or X30 X29))) (let ((X37 - Bool (and + (and (= X35 7) (and (and @@ -1112,13 +1091,13 @@ (not X36))))) (let ((X38 - Int (ite + (ite X37 (ite (= X35 7) 2 X35) X35))) (let ((X39 - Int (ite + (ite (not (and (>= X38 3) @@ -1127,7 +1106,7 @@ X38))) (let ((X40 - Bool (and + (and (not (and (>= X38 3) @@ -1137,7 +1116,7 @@ (<= X39 6))))) (let ((X41 - Int (ite + (ite X40 (ite (not (= X39 4)) @@ -1145,10 +1124,10 @@ X39) X39))) (let - ((X42 Int (ite X37 X41 X38))) + ((X42 (ite X37 X41 X38))) (let ((X43 - Int (ite + (ite X37 1 (ite @@ -1167,15 +1146,15 @@ X17) X17))))) (let - ((X44 Bool (or X37 X36))) + ((X44 (or X37 X36))) (let ((X45 - Bool (and + (and (= X42 4) (= X22 1)))) (let ((X46 - Int (ite + (ite X45 (ite (= X42 4) @@ -1184,7 +1163,7 @@ X42))) (let ((X47 - Int (ite + (ite X45 (ite (not (= X46 4)) @@ -1193,7 +1172,7 @@ X46))) (let ((X48 - Int (ite + (ite (not (ite (= @@ -1205,14 +1184,14 @@ 1))) (let ((X49 - Bool (and + (and (= X47 4) (and (= X48 1) (not X45))))) (let ((X50 - Int (ite + (ite X49 (ite (= X47 4) @@ -1221,7 +1200,7 @@ X47))) (let ((X51 - Int (ite + (ite X49 (ite (not @@ -1231,10 +1210,10 @@ X50))) (let ((X52 - Bool (or X49 X45))) + (or X49 X45))) (let ((X53 - Int (ite + (ite (not (ite (= @@ -1246,14 +1225,14 @@ 1))) (let ((X54 - Bool (and + (and (= X51 4) (and (= X53 1) (not X52))))) (let ((X55 - Int (ite + (ite X54 (ite (= X51 4) @@ -1262,7 +1241,7 @@ X51))) (let ((X56 - Int (ite + (ite X54 (ite (not @@ -1272,12 +1251,11 @@ X55))) (let ((X57 - Bool (or + (or X54 X52))) (let ((X58 - Bool (and (= X56 6) (and @@ -1285,7 +1263,6 @@ (not X57))))) (let ((X59 - Int (ite X58 (ite @@ -1295,7 +1272,6 @@ X56))) (let ((X60 - Int (ite X58 (ite @@ -1306,13 +1282,11 @@ X59))) (let ((X61 - Bool (or X58 X57))) (let ((X62 - Bool (and (= X60 5) (and @@ -1320,7 +1294,6 @@ (not X61))))) (let ((X63 - Int (ite X62 (ite @@ -1330,7 +1303,6 @@ X60))) (let ((X64 - Int (ite X62 (ite @@ -1341,14 +1313,12 @@ X63))) (let ((X65 - Int (ite X45 1 X43))) (let ((X66 - Int (ite X49 (ite @@ -1407,7 +1377,6 @@ X4)) (let ((X67 - Bool (ite (not (= @@ -1417,10 +1386,9 @@ false))) (let ((X68 - Int top.impl.usr.mode_a_0)) + top.impl.usr.mode_a_0)) (let ((X69 - Int (ite X7 (ite @@ -1431,7 +1399,6 @@ X68))) (let ((X70 - Int (ite X10 (ite @@ -1445,7 +1412,6 @@ X69))) (let ((X71 - Int (ite X19 (ite @@ -1456,7 +1422,6 @@ X70))) (let ((X72 - Int (ite X23 (ite @@ -1470,7 +1435,6 @@ X71))) (let ((X73 - Int (ite X30 (ite @@ -1484,7 +1448,6 @@ X72))) (let ((X74 - Int (ite X37 (ite @@ -1498,7 +1461,6 @@ X73))) (let ((X75 - Int (ite X45 (ite @@ -1509,7 +1471,6 @@ X74))) (let ((X76 - Int (ite X49 (ite @@ -1520,7 +1481,6 @@ X75))) (let ((X77 - Int (ite X54 (ite @@ -1531,7 +1491,6 @@ X76))) (let ((X78 - Int (ite X58 (ite @@ -1601,7 +1560,6 @@ X67))) (let ((X79 - Int (ite (not (= X5 1)) @@ -1686,24 +1644,6 @@ )) -(declare-primed-var top.usr.onOff Bool) -(declare-primed-var top.usr.decelSet Bool) -(declare-primed-var top.usr.accelResume Bool) -(declare-primed-var top.usr.cancel Bool) -(declare-primed-var top.usr.brakePedal Bool) -(declare-primed-var top.usr.carGear Int) -(declare-primed-var top.usr.carSpeed Real) -(declare-primed-var top.usr.validInputs Bool) -(declare-primed-var top.usr.OK Bool) -(declare-primed-var top.res.init_flag Bool) -(declare-primed-var top.impl.usr.mode Int) -(declare-primed-var top.impl.usr.chart_CruiseController_ModeLogic_mode_logic____wakeup___ Bool) -(declare-primed-var top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep Bool) -(declare-primed-var top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_final_state_states___root Int) -(declare-primed-var top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_setDesiredSpeed Int) -(declare-primed-var top.impl.usr.cruise_controller_CruiseController_ModeLogic_DelayOnsetAccel_Bounded_Count_Out Int) -(declare-primed-var top.impl.usr.cruise_controller_CruiseController_ModeLogic_DelayOnsetDecel_Bounded_Count_Out Int) - (define-fun init ( (top.usr.onOff Bool) @@ -1726,10 +1666,10 @@ ) Bool (let - ((X1 Bool false)) + ((X1 false)) (let ((X2 - Bool (and + (and (and (and (and (not top.usr.cancel) (not top.usr.brakePedal)) @@ -1737,7 +1677,7 @@ (ite (>= top.usr.carSpeed 15.0) true false)) top.usr.validInputs))) (let - ((X3 Bool false)) + ((X3 false)) (and (= top.impl.usr.cruise_controller_CruiseController_ModeLogic_DelayOnsetDecel_Bounded_Count_Out @@ -1762,47 +1702,47 @@ (ite top.usr.accelResume 1 0)) 20)) (let - ((X4 Int 0)) + ((X4 0)) (let - ((X5 Int 0)) + ((X5 0)) (and (= top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep true) (let - ((X6 Int (ite (not top.usr.onOff) 0 1))) + ((X6 (ite (not top.usr.onOff) 0 1))) (let ((X7 - Bool (and + (and (and (>= X5 2) (<= X5 8)) (not (ite (not (= X6 0)) true false))))) (let - ((X8 Int (ite X7 (ite (and (>= X5 2) (<= X5 8)) 0 X5) X5))) + ((X8 (ite X7 (ite (and (>= X5 2) (<= X5 8)) 0 X5) X5))) (let - ((X9 Int (ite X7 (ite (not (= X8 1)) 1 X8) X8))) + ((X9 (ite X7 (ite (not (= X8 1)) 1 X8) X8))) (let ((X10 - Bool (and + (and (= X9 1) (and (ite (not (= X6 0)) true false) (not X7))))) (let - ((X11 Int (ite X10 (ite (= X9 1) 0 X9) X9))) + ((X11 (ite X10 (ite (= X9 1) 0 X9) X9))) (let - ((X12 Int (ite (not (and (>= X11 2) (<= X11 8))) 2 X11))) + ((X12 (ite (not (and (>= X11 2) (<= X11 8))) 2 X11))) (let ((X13 - Bool (and + (and (not (and (>= X11 2) (<= X11 8))) (and (>= X12 2) (<= X12 8))))) (let - ((X14 Int (ite X13 (ite (not (= X12 7)) 7 X12) X12))) + ((X14 (ite X13 (ite (not (= X12 7)) 7 X12) X12))) (let - ((X15 Int (ite X10 X14 X11))) + ((X15 (ite X10 X14 X11))) (let - ((X16 Bool (or X10 X7))) + ((X16 (or X10 X7))) (let ((X17 - Int (ite + (ite X7 (ite (and (>= X5 2) (<= X5 8)) @@ -1813,25 +1753,25 @@ X4) X4))) (let - ((X18 Int (ite (not X2) 0 1))) + ((X18 (ite (not X2) 0 1))) (let ((X19 - Bool (and + (and (and (>= X15 3) (<= X15 6)) (not (ite (not (= X18 0)) true false))))) (let ((X20 - Int (ite + (ite X19 (ite (and (>= X15 3) (<= X15 6)) 2 X15) X15))) (let - ((X21 Int (ite X19 (ite (not (= X20 8)) 8 X20) X20))) + ((X21 (ite X19 (ite (not (= X20 8)) 8 X20) X20))) (let - ((X22 Int (ite (not X1) 0 1))) + ((X22 (ite (not X1) 0 1))) (let ((X23 - Bool (and + (and (= X21 8) (and (and @@ -1845,31 +1785,31 @@ false)) (not X19))))) (let - ((X24 Int (ite X23 (ite (= X21 8) 2 X21) X21))) + ((X24 (ite X23 (ite (= X21 8) 2 X21) X21))) (let ((X25 - Int (ite + (ite (not (and (>= X24 3) (<= X24 6))) 3 X24))) (let ((X26 - Bool (and + (and (not (and (>= X24 3) (<= X24 6))) (and (>= X25 3) (<= X25 6))))) (let ((X27 - Int (ite + (ite X26 (ite (not (= X25 4)) 4 X25) X25))) (let - ((X28 Int (ite X23 X27 X24))) + ((X28 (ite X23 X27 X24))) (let - ((X29 Bool (or X23 X19))) + ((X29 (or X23 X19))) (let ((X30 - Bool (and + (and (= X28 8) (and (and @@ -1892,32 +1832,32 @@ (not X29))))) (let ((X31 - Int (ite X30 (ite (= X28 8) 2 X28) X28))) + (ite X30 (ite (= X28 8) 2 X28) X28))) (let ((X32 - Int (ite + (ite (not (and (>= X31 3) (<= X31 6))) 3 X31))) (let ((X33 - Bool (and + (and (not (and (>= X31 3) (<= X31 6))) (and (>= X32 3) (<= X32 6))))) (let ((X34 - Int (ite + (ite X33 (ite (not (= X32 4)) 4 X32) X32))) (let - ((X35 Int (ite X30 X34 X31))) + ((X35 (ite X30 X34 X31))) (let - ((X36 Bool (or X30 X29))) + ((X36 (or X30 X29))) (let ((X37 - Bool (and + (and (= X35 7) (and (and @@ -1944,13 +1884,13 @@ (not X36))))) (let ((X38 - Int (ite + (ite X37 (ite (= X35 7) 2 X35) X35))) (let ((X39 - Int (ite + (ite (not (and (>= X38 3) @@ -1959,7 +1899,7 @@ X38))) (let ((X40 - Bool (and + (and (not (and (>= X38 3) @@ -1969,7 +1909,7 @@ (<= X39 6))))) (let ((X41 - Int (ite + (ite X40 (ite (not (= X39 4)) @@ -1977,10 +1917,10 @@ X39) X39))) (let - ((X42 Int (ite X37 X41 X38))) + ((X42 (ite X37 X41 X38))) (let ((X43 - Int (ite + (ite X37 1 (ite @@ -1999,15 +1939,15 @@ X17) X17))))) (let - ((X44 Bool (or X37 X36))) + ((X44 (or X37 X36))) (let ((X45 - Bool (and + (and (= X42 4) (= X22 1)))) (let ((X46 - Int (ite + (ite X45 (ite (= X42 4) @@ -2016,7 +1956,7 @@ X42))) (let ((X47 - Int (ite + (ite X45 (ite (not (= X46 4)) @@ -2025,7 +1965,7 @@ X46))) (let ((X48 - Int (ite + (ite (not (ite (= @@ -2037,14 +1977,14 @@ 1))) (let ((X49 - Bool (and + (and (= X47 4) (and (= X48 1) (not X45))))) (let ((X50 - Int (ite + (ite X49 (ite (= X47 4) @@ -2053,7 +1993,7 @@ X47))) (let ((X51 - Int (ite + (ite X49 (ite (not @@ -2063,10 +2003,10 @@ X50))) (let ((X52 - Bool (or X49 X45))) + (or X49 X45))) (let ((X53 - Int (ite + (ite (not (ite (= @@ -2078,14 +2018,14 @@ 1))) (let ((X54 - Bool (and + (and (= X51 4) (and (= X53 1) (not X52))))) (let ((X55 - Int (ite + (ite X54 (ite (= X51 4) @@ -2094,7 +2034,7 @@ X51))) (let ((X56 - Int (ite + (ite X54 (ite (not @@ -2104,12 +2044,11 @@ X55))) (let ((X57 - Bool (or + (or X54 X52))) (let ((X58 - Bool (and (= X56 6) (and @@ -2117,7 +2056,6 @@ (not X57))))) (let ((X59 - Int (ite X58 (ite @@ -2127,7 +2065,6 @@ X56))) (let ((X60 - Int (ite X58 (ite @@ -2138,13 +2075,11 @@ X59))) (let ((X61 - Bool (or X58 X57))) (let ((X62 - Bool (and (= X60 5) (and @@ -2152,7 +2087,6 @@ (not X61))))) (let ((X63 - Int (ite X62 (ite @@ -2162,7 +2096,6 @@ X60))) (let ((X64 - Int (ite X62 (ite @@ -2173,14 +2106,12 @@ X63))) (let ((X65 - Int (ite X45 1 X43))) (let ((X66 - Int (ite X49 (ite @@ -2239,7 +2170,6 @@ X4)) (let ((X67 - Bool (ite (not (= @@ -2249,10 +2179,9 @@ false))) (let ((X68 - Int 0)) + 0)) (let ((X69 - Int (ite X7 (ite @@ -2263,7 +2192,6 @@ X68))) (let ((X70 - Int (ite X10 (ite @@ -2277,7 +2205,6 @@ X69))) (let ((X71 - Int (ite X19 (ite @@ -2288,7 +2215,6 @@ X70))) (let ((X72 - Int (ite X23 (ite @@ -2302,7 +2228,6 @@ X71))) (let ((X73 - Int (ite X30 (ite @@ -2316,7 +2241,6 @@ X72))) (let ((X74 - Int (ite X37 (ite @@ -2330,7 +2254,6 @@ X73))) (let ((X75 - Int (ite X45 (ite @@ -2341,7 +2264,6 @@ X74))) (let ((X76 - Int (ite X49 (ite @@ -2352,7 +2274,6 @@ X75))) (let ((X77 - Int (ite X54 (ite @@ -2363,7 +2284,6 @@ X76))) (let ((X78 - Int (ite X58 (ite @@ -2433,7 +2353,6 @@ X67))) (let ((X79 - Int (ite (not (= X5 1)) @@ -2538,10 +2457,10 @@ ) Bool (let - ((X1 Bool (and (not top.usr.decelSet) top.usr.decelSet!))) + ((X1 (and (not top.usr.decelSet) top.usr.decelSet!))) (let ((X2 - Bool (and + (and (and (and (and (not top.usr.cancel!) (not top.usr.brakePedal!)) @@ -2549,7 +2468,7 @@ (ite (>= top.usr.carSpeed! 15.0) true false)) top.usr.validInputs!))) (let - ((X3 Bool (and (not top.usr.accelResume) top.usr.accelResume!))) + ((X3 (and (not top.usr.accelResume) top.usr.accelResume!))) (and (= top.impl.usr.cruise_controller_CruiseController_ModeLogic_DelayOnsetDecel_Bounded_Count_Out! @@ -2629,10 +2548,10 @@ 20)) (let ((X4 - Int top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_setDesiredSpeed)) + top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_setDesiredSpeed)) (let ((X5 - Int top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_final_state_states___root)) + top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_final_state_states___root)) (and (= top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep! @@ -2641,39 +2560,39 @@ false top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep)) (let - ((X6 Int (ite (not top.usr.onOff!) 0 1))) + ((X6 (ite (not top.usr.onOff!) 0 1))) (let ((X7 - Bool (and + (and (and (>= X5 2) (<= X5 8)) (not (ite (not (= X6 0)) true false))))) (let - ((X8 Int (ite X7 (ite (and (>= X5 2) (<= X5 8)) 0 X5) X5))) + ((X8 (ite X7 (ite (and (>= X5 2) (<= X5 8)) 0 X5) X5))) (let - ((X9 Int (ite X7 (ite (not (= X8 1)) 1 X8) X8))) + ((X9 (ite X7 (ite (not (= X8 1)) 1 X8) X8))) (let ((X10 - Bool (and + (and (= X9 1) (and (ite (not (= X6 0)) true false) (not X7))))) (let - ((X11 Int (ite X10 (ite (= X9 1) 0 X9) X9))) + ((X11 (ite X10 (ite (= X9 1) 0 X9) X9))) (let - ((X12 Int (ite (not (and (>= X11 2) (<= X11 8))) 2 X11))) + ((X12 (ite (not (and (>= X11 2) (<= X11 8))) 2 X11))) (let ((X13 - Bool (and + (and (not (and (>= X11 2) (<= X11 8))) (and (>= X12 2) (<= X12 8))))) (let - ((X14 Int (ite X13 (ite (not (= X12 7)) 7 X12) X12))) + ((X14 (ite X13 (ite (not (= X12 7)) 7 X12) X12))) (let - ((X15 Int (ite X10 X14 X11))) + ((X15 (ite X10 X14 X11))) (let - ((X16 Bool (or X10 X7))) + ((X16 (or X10 X7))) (let ((X17 - Int (ite + (ite X7 (ite (and (>= X5 2) (<= X5 8)) @@ -2684,25 +2603,25 @@ X4) X4))) (let - ((X18 Int (ite (not X2) 0 1))) + ((X18 (ite (not X2) 0 1))) (let ((X19 - Bool (and + (and (and (>= X15 3) (<= X15 6)) (not (ite (not (= X18 0)) true false))))) (let ((X20 - Int (ite + (ite X19 (ite (and (>= X15 3) (<= X15 6)) 2 X15) X15))) (let - ((X21 Int (ite X19 (ite (not (= X20 8)) 8 X20) X20))) + ((X21 (ite X19 (ite (not (= X20 8)) 8 X20) X20))) (let - ((X22 Int (ite (not X1) 0 1))) + ((X22 (ite (not X1) 0 1))) (let ((X23 - Bool (and + (and (= X21 8) (and (and @@ -2716,31 +2635,31 @@ false)) (not X19))))) (let - ((X24 Int (ite X23 (ite (= X21 8) 2 X21) X21))) + ((X24 (ite X23 (ite (= X21 8) 2 X21) X21))) (let ((X25 - Int (ite + (ite (not (and (>= X24 3) (<= X24 6))) 3 X24))) (let ((X26 - Bool (and + (and (not (and (>= X24 3) (<= X24 6))) (and (>= X25 3) (<= X25 6))))) (let ((X27 - Int (ite + (ite X26 (ite (not (= X25 4)) 4 X25) X25))) (let - ((X28 Int (ite X23 X27 X24))) + ((X28 (ite X23 X27 X24))) (let - ((X29 Bool (or X23 X19))) + ((X29 (or X23 X19))) (let ((X30 - Bool (and + (and (= X28 8) (and (and @@ -2763,32 +2682,32 @@ (not X29))))) (let ((X31 - Int (ite X30 (ite (= X28 8) 2 X28) X28))) + (ite X30 (ite (= X28 8) 2 X28) X28))) (let ((X32 - Int (ite + (ite (not (and (>= X31 3) (<= X31 6))) 3 X31))) (let ((X33 - Bool (and + (and (not (and (>= X31 3) (<= X31 6))) (and (>= X32 3) (<= X32 6))))) (let ((X34 - Int (ite + (ite X33 (ite (not (= X32 4)) 4 X32) X32))) (let - ((X35 Int (ite X30 X34 X31))) + ((X35 (ite X30 X34 X31))) (let - ((X36 Bool (or X30 X29))) + ((X36 (or X30 X29))) (let ((X37 - Bool (and + (and (= X35 7) (and (and @@ -2815,13 +2734,13 @@ (not X36))))) (let ((X38 - Int (ite + (ite X37 (ite (= X35 7) 2 X35) X35))) (let ((X39 - Int (ite + (ite (not (and (>= X38 3) @@ -2830,7 +2749,7 @@ X38))) (let ((X40 - Bool (and + (and (not (and (>= X38 3) @@ -2840,7 +2759,7 @@ (<= X39 6))))) (let ((X41 - Int (ite + (ite X40 (ite (not (= X39 4)) @@ -2848,10 +2767,10 @@ X39) X39))) (let - ((X42 Int (ite X37 X41 X38))) + ((X42 (ite X37 X41 X38))) (let ((X43 - Int (ite + (ite X37 1 (ite @@ -2870,15 +2789,15 @@ X17) X17))))) (let - ((X44 Bool (or X37 X36))) + ((X44 (or X37 X36))) (let ((X45 - Bool (and + (and (= X42 4) (= X22 1)))) (let ((X46 - Int (ite + (ite X45 (ite (= X42 4) @@ -2887,7 +2806,7 @@ X42))) (let ((X47 - Int (ite + (ite X45 (ite (not (= X46 4)) @@ -2896,7 +2815,7 @@ X46))) (let ((X48 - Int (ite + (ite (not (ite (= @@ -2908,14 +2827,14 @@ 1))) (let ((X49 - Bool (and + (and (= X47 4) (and (= X48 1) (not X45))))) (let ((X50 - Int (ite + (ite X49 (ite (= X47 4) @@ -2924,7 +2843,7 @@ X47))) (let ((X51 - Int (ite + (ite X49 (ite (not @@ -2934,10 +2853,10 @@ X50))) (let ((X52 - Bool (or X49 X45))) + (or X49 X45))) (let ((X53 - Int (ite + (ite (not (ite (= @@ -2949,14 +2868,14 @@ 1))) (let ((X54 - Bool (and + (and (= X51 4) (and (= X53 1) (not X52))))) (let ((X55 - Int (ite + (ite X54 (ite (= X51 4) @@ -2965,7 +2884,7 @@ X51))) (let ((X56 - Int (ite + (ite X54 (ite (not @@ -2975,12 +2894,11 @@ X55))) (let ((X57 - Bool (or + (or X54 X52))) (let ((X58 - Bool (and (= X56 6) (and @@ -2988,7 +2906,6 @@ (not X57))))) (let ((X59 - Int (ite X58 (ite @@ -2998,7 +2915,6 @@ X56))) (let ((X60 - Int (ite X58 (ite @@ -3009,13 +2925,11 @@ X59))) (let ((X61 - Bool (or X58 X57))) (let ((X62 - Bool (and (= X60 5) (and @@ -3023,7 +2937,6 @@ (not X61))))) (let ((X63 - Int (ite X62 (ite @@ -3033,7 +2946,6 @@ X60))) (let ((X64 - Int (ite X62 (ite @@ -3044,14 +2956,12 @@ X63))) (let ((X65 - Int (ite X45 1 X43))) (let ((X66 - Int (ite X49 (ite @@ -3110,7 +3020,6 @@ X4)) (let ((X67 - Bool (ite (not (= @@ -3120,10 +3029,9 @@ false))) (let ((X68 - Int top.impl.usr.mode)) + top.impl.usr.mode)) (let ((X69 - Int (ite X7 (ite @@ -3134,7 +3042,6 @@ X68))) (let ((X70 - Int (ite X10 (ite @@ -3148,7 +3055,6 @@ X69))) (let ((X71 - Int (ite X19 (ite @@ -3159,7 +3065,6 @@ X70))) (let ((X72 - Int (ite X23 (ite @@ -3173,7 +3078,6 @@ X71))) (let ((X73 - Int (ite X30 (ite @@ -3187,7 +3091,6 @@ X72))) (let ((X74 - Int (ite X37 (ite @@ -3201,7 +3104,6 @@ X73))) (let ((X75 - Int (ite X45 (ite @@ -3212,7 +3114,6 @@ X74))) (let ((X76 - Int (ite X49 (ite @@ -3223,7 +3124,6 @@ X75))) (let ((X77 - Int (ite X54 (ite @@ -3234,7 +3134,6 @@ X76))) (let ((X78 - Int (ite X58 (ite @@ -3304,7 +3203,6 @@ X67))) (let ((X79 - Int (ite (not (= X5 1)) diff --git a/lib-nonconforming/Inv_Track/andrew_lustre/cruise_controller_18.lus.sl b/lib/Inv_Track/andrew_lustre/cruise_controller_18.lus.sl similarity index 91% rename from lib-nonconforming/Inv_Track/andrew_lustre/cruise_controller_18.lus.sl rename to lib/Inv_Track/andrew_lustre/cruise_controller_18.lus.sl index f0913031..31651218 100644 --- a/lib-nonconforming/Inv_Track/andrew_lustre/cruise_controller_18.lus.sl +++ b/lib/Inv_Track/andrew_lustre/cruise_controller_18.lus.sl @@ -31,12 +31,12 @@ ) Bool (let - ((X1 Real 0.0)) + ((X1 0.0)) (let - ((X2 Bool false)) + ((X2 false)) (let ((X3 - Bool (and + (and (and (and (and (not top.usr.cancel_a_0) (not top.usr.brakePedal_a_0)) @@ -44,7 +44,7 @@ (ite (>= top.usr.carSpeed_a_0 15.0) true false)) top.usr.validInputs_a_0))) (let - ((X4 Bool false)) + ((X4 false)) (and (= top.impl.usr.cruise_controller_CruiseController_ModeLogic_DelayOnsetDecel_Bounded_Count_Out_a_0 @@ -75,73 +75,73 @@ (ite top.usr.accelResume_a_0 1 0)) 20)) (let - ((X5 Int 0)) + ((X5 0)) (let - ((X6 Int 0)) + ((X6 0)) (and (= top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep_a_0 true) (let - ((X7 Int (ite (not top.usr.onOff_a_0) 0 1))) + ((X7 (ite (not top.usr.onOff_a_0) 0 1))) (let ((X8 - Bool (and + (and (and (>= X6 2) (<= X6 8)) (not (ite (not (= X7 0)) true false))))) (let - ((X9 Int (ite X8 (ite (and (>= X6 2) (<= X6 8)) 0 X6) X6))) + ((X9 (ite X8 (ite (and (>= X6 2) (<= X6 8)) 0 X6) X6))) (let - ((X10 Int (ite X8 (ite (not (= X9 1)) 1 X5) X5))) + ((X10 (ite X8 (ite (not (= X9 1)) 1 X5) X5))) (let - ((X11 Int (ite X8 (ite (not (= X9 1)) 1 X9) X9))) + ((X11 (ite X8 (ite (not (= X9 1)) 1 X9) X9))) (let ((X12 - Bool (and + (and (= X11 1) (and (ite (not (= X7 0)) true false) (not X8))))) (let - ((X13 Int (ite X12 (ite (= X11 1) 0 X11) X11))) + ((X13 (ite X12 (ite (= X11 1) 0 X11) X11))) (let - ((X14 Int (ite (not (and (>= X13 2) (<= X13 8))) 2 X13))) + ((X14 (ite (not (and (>= X13 2) (<= X13 8))) 2 X13))) (let ((X15 - Bool (and + (and (not (and (>= X13 2) (<= X13 8))) (and (>= X14 2) (<= X14 8))))) (let ((X16 - Int (ite + (ite X12 (ite X15 (ite (not (= X14 7)) 2 X10) X10) X10))) (let - ((X17 Int (ite X15 (ite (not (= X14 7)) 7 X14) X14))) + ((X17 (ite X15 (ite (not (= X14 7)) 7 X14) X14))) (let - ((X18 Int (ite X12 X17 X13))) + ((X18 (ite X12 X17 X13))) (let - ((X19 Bool (or X12 X8))) + ((X19 (or X12 X8))) (let - ((X20 Int (ite (not X3) 0 1))) + ((X20 (ite (not X3) 0 1))) (let ((X21 - Bool (and + (and (and (>= X18 3) (<= X18 6)) (not (ite (not (= X20 0)) true false))))) (let ((X22 - Int (ite + (ite X21 (ite (and (>= X18 3) (<= X18 6)) 2 X18) X18))) (let ((X23 - Int (ite X21 (ite (not (= X22 8)) 8 X22) X22))) + (ite X21 (ite (not (= X22 8)) 8 X22) X22))) (let - ((X24 Int (ite (not X2) 0 1))) + ((X24 (ite (not X2) 0 1))) (let ((X25 - Bool (and + (and (= X23 8) (and (and @@ -155,31 +155,31 @@ false)) (not X21))))) (let - ((X26 Int (ite X25 (ite (= X23 8) 2 X23) X23))) + ((X26 (ite X25 (ite (= X23 8) 2 X23) X23))) (let ((X27 - Int (ite + (ite (not (and (>= X26 3) (<= X26 6))) 3 X26))) (let ((X28 - Bool (and + (and (not (and (>= X26 3) (<= X26 6))) (and (>= X27 3) (<= X27 6))))) (let ((X29 - Int (ite + (ite X28 (ite (not (= X27 4)) 4 X27) X27))) (let - ((X30 Int (ite X25 X29 X26))) + ((X30 (ite X25 X29 X26))) (let - ((X31 Bool (or X25 X21))) + ((X31 (or X25 X21))) (let ((X32 - Bool (and + (and (= X30 8) (and (and @@ -204,36 +204,36 @@ (not X31))))) (let ((X33 - Int (ite + (ite X32 (ite (= X30 8) 2 X30) X30))) (let ((X34 - Int (ite + (ite (not (and (>= X33 3) (<= X33 6))) 3 X33))) (let ((X35 - Bool (and + (and (not (and (>= X33 3) (<= X33 6))) (and (>= X34 3) (<= X34 6))))) (let ((X36 - Int (ite + (ite X35 (ite (not (= X34 4)) 4 X34) X34))) (let - ((X37 Int (ite X32 X36 X33))) + ((X37 (ite X32 X36 X33))) (let - ((X38 Bool (or X32 X31))) + ((X38 (or X32 X31))) (let ((X39 - Bool (and + (and (= X37 7) (and (and @@ -260,13 +260,13 @@ (not X38))))) (let ((X40 - Int (ite + (ite X39 (ite (= X37 7) 2 X37) X37))) (let ((X41 - Int (ite + (ite X21 (ite (not (= X22 8)) @@ -275,7 +275,7 @@ X16))) (let ((X42 - Int (ite + (ite X25 (ite X28 @@ -287,7 +287,7 @@ X41))) (let ((X43 - Int (ite + (ite X32 (ite X35 @@ -299,7 +299,7 @@ X42))) (let ((X44 - Int (ite + (ite (not (and (>= X40 3) @@ -308,7 +308,7 @@ X40))) (let ((X45 - Bool (and + (and (not (and (>= X40 3) @@ -318,7 +318,7 @@ (<= X44 6))))) (let ((X46 - Int (ite + (ite X39 (ite X45 @@ -330,7 +330,7 @@ X43))) (let ((X47 - Int (ite + (ite X45 (ite (not (= X44 4)) @@ -339,17 +339,17 @@ X44))) (let ((X48 - Int (ite X39 X47 X40))) + (ite X39 X47 X40))) (let - ((X49 Bool (or X39 X38))) + ((X49 (or X39 X38))) (let ((X50 - Bool (and + (and (= X48 4) (= X24 1)))) (let ((X51 - Int (ite + (ite X50 (ite (= X48 4) @@ -358,7 +358,7 @@ X48))) (let ((X52 - Int (ite + (ite X50 (ite (not @@ -368,7 +368,7 @@ X51))) (let ((X53 - Int (ite + (ite (not (ite (= @@ -380,14 +380,14 @@ 1))) (let ((X54 - Bool (and + (and (= X52 4) (and (= X53 1) (not X50))))) (let ((X55 - Int (ite + (ite X54 (ite (= X52 4) @@ -396,7 +396,7 @@ X52))) (let ((X56 - Int (ite + (ite X54 (ite (not @@ -406,12 +406,12 @@ X55))) (let ((X57 - Bool (or + (or X54 X50))) (let ((X58 - Int (ite + (ite (not (ite (= @@ -423,7 +423,6 @@ 1))) (let ((X59 - Bool (and (= X56 4) (and @@ -431,7 +430,6 @@ (not X57))))) (let ((X60 - Int (ite X59 (ite @@ -441,7 +439,6 @@ X56))) (let ((X61 - Int (ite X59 (ite @@ -452,13 +449,11 @@ X60))) (let ((X62 - Bool (or X59 X57))) (let ((X63 - Bool (and (= X61 6) (and @@ -466,7 +461,6 @@ (not X62))))) (let ((X64 - Int (ite X63 (ite @@ -476,7 +470,6 @@ X61))) (let ((X65 - Int (ite X63 (ite @@ -487,13 +480,11 @@ X64))) (let ((X66 - Bool (or X63 X62))) (let ((X67 - Bool (and (= X65 5) (and @@ -501,7 +492,6 @@ (not X66))))) (let ((X68 - Int (ite X67 (ite @@ -511,7 +501,6 @@ X65))) (let ((X69 - Int (ite X50 (ite @@ -522,7 +511,6 @@ X46))) (let ((X70 - Int (ite X54 (ite @@ -533,7 +521,6 @@ X69))) (let ((X71 - Int (ite X59 (ite @@ -544,7 +531,6 @@ X70))) (let ((X72 - Int (ite X63 (ite @@ -620,7 +606,7 @@ 0.0 (+ X1 - (/ 1 20)))) + (/ 1.0 20.0)))) (= top.impl.usr.rlt_condact_cruise_controller_CruiseController_SetDesiredSpeed_computeDecreaseInDesiredSpeed_rlt_init_step_a_0 true) @@ -642,7 +628,7 @@ 0.0 (- X1 - (/ 1 20)))) + (/ 1.0 20.0)))) (= top.impl.usr.cruise_controller_CruiseController_SetDesiredSpeed_IncreaseDesiredSpeed_a_0 (ite @@ -680,10 +666,9 @@ 0.0))))) (let ((X73 - Int 0)) + 0)) (let ((X74 - Int (ite X8 (ite @@ -703,7 +688,6 @@ X73))) (let ((X75 - Int (ite X39 1 @@ -728,7 +712,6 @@ X74))))) (let ((X76 - Int (ite X67 (ite @@ -739,14 +722,12 @@ X68))) (let ((X77 - Int (ite X50 1 X75))) (let ((X78 - Int (ite X54 (ite @@ -843,7 +824,6 @@ 0.0))) (let ((X79 - Int (ite (not (= X6 1)) @@ -962,7 +942,7 @@ (let ((X1 - Real (ite + (ite (< (ite top.impl.usr.cruise_controller_CruiseController_SetDesiredSpeed_setDesiredSpeed_a_0 @@ -983,10 +963,10 @@ top.usr.carSpeed_a_0 top.impl.usr.cruise_controller_CruiseController_SetDesiredSpeed_IncreaseDesiredSpeed_a_0))))) (let - ((X2 Bool (and (not top.usr.decelSet_a_0) top.usr.decelSet_a_1))) + ((X2 (and (not top.usr.decelSet_a_0) top.usr.decelSet_a_1))) (let ((X3 - Bool (and + (and (and (and (and (not top.usr.cancel_a_1) (not top.usr.brakePedal_a_1)) @@ -994,7 +974,7 @@ (ite (>= top.usr.carSpeed_a_1 15.0) true false)) top.usr.validInputs_a_1))) (let - ((X4 Bool (and (not top.usr.accelResume_a_0) top.usr.accelResume_a_1))) + ((X4 (and (not top.usr.accelResume_a_0) top.usr.accelResume_a_1))) (and (= top.impl.usr.cruise_controller_CruiseController_ModeLogic_DelayOnsetDecel_Bounded_Count_Out_a_1 @@ -1073,10 +1053,10 @@ 0)) 20)) (let - ((X5 Int top.impl.usr.mode_a_0)) + ((X5 top.impl.usr.mode_a_0)) (let ((X6 - Int top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_final_state_states___root_a_0)) + top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_final_state_states___root_a_0)) (and (= top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep_a_1 @@ -1085,65 +1065,65 @@ false top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep_a_0)) (let - ((X7 Int (ite (not top.usr.onOff_a_1) 0 1))) + ((X7 (ite (not top.usr.onOff_a_1) 0 1))) (let ((X8 - Bool (and + (and (and (>= X6 2) (<= X6 8)) (not (ite (not (= X7 0)) true false))))) (let - ((X9 Int (ite X8 (ite (and (>= X6 2) (<= X6 8)) 0 X6) X6))) + ((X9 (ite X8 (ite (and (>= X6 2) (<= X6 8)) 0 X6) X6))) (let - ((X10 Int (ite X8 (ite (not (= X9 1)) 1 X5) X5))) + ((X10 (ite X8 (ite (not (= X9 1)) 1 X5) X5))) (let - ((X11 Int (ite X8 (ite (not (= X9 1)) 1 X9) X9))) + ((X11 (ite X8 (ite (not (= X9 1)) 1 X9) X9))) (let ((X12 - Bool (and + (and (= X11 1) (and (ite (not (= X7 0)) true false) (not X8))))) (let - ((X13 Int (ite X12 (ite (= X11 1) 0 X11) X11))) + ((X13 (ite X12 (ite (= X11 1) 0 X11) X11))) (let - ((X14 Int (ite (not (and (>= X13 2) (<= X13 8))) 2 X13))) + ((X14 (ite (not (and (>= X13 2) (<= X13 8))) 2 X13))) (let ((X15 - Bool (and + (and (not (and (>= X13 2) (<= X13 8))) (and (>= X14 2) (<= X14 8))))) (let ((X16 - Int (ite + (ite X12 (ite X15 (ite (not (= X14 7)) 2 X10) X10) X10))) (let - ((X17 Int (ite X15 (ite (not (= X14 7)) 7 X14) X14))) + ((X17 (ite X15 (ite (not (= X14 7)) 7 X14) X14))) (let - ((X18 Int (ite X12 X17 X13))) + ((X18 (ite X12 X17 X13))) (let - ((X19 Bool (or X12 X8))) + ((X19 (or X12 X8))) (let - ((X20 Int (ite (not X3) 0 1))) + ((X20 (ite (not X3) 0 1))) (let ((X21 - Bool (and + (and (and (>= X18 3) (<= X18 6)) (not (ite (not (= X20 0)) true false))))) (let ((X22 - Int (ite + (ite X21 (ite (and (>= X18 3) (<= X18 6)) 2 X18) X18))) (let ((X23 - Int (ite X21 (ite (not (= X22 8)) 8 X22) X22))) + (ite X21 (ite (not (= X22 8)) 8 X22) X22))) (let - ((X24 Int (ite (not X2) 0 1))) + ((X24 (ite (not X2) 0 1))) (let ((X25 - Bool (and + (and (= X23 8) (and (and @@ -1157,31 +1137,31 @@ false)) (not X21))))) (let - ((X26 Int (ite X25 (ite (= X23 8) 2 X23) X23))) + ((X26 (ite X25 (ite (= X23 8) 2 X23) X23))) (let ((X27 - Int (ite + (ite (not (and (>= X26 3) (<= X26 6))) 3 X26))) (let ((X28 - Bool (and + (and (not (and (>= X26 3) (<= X26 6))) (and (>= X27 3) (<= X27 6))))) (let ((X29 - Int (ite + (ite X28 (ite (not (= X27 4)) 4 X27) X27))) (let - ((X30 Int (ite X25 X29 X26))) + ((X30 (ite X25 X29 X26))) (let - ((X31 Bool (or X25 X21))) + ((X31 (or X25 X21))) (let ((X32 - Bool (and + (and (= X30 8) (and (and @@ -1206,36 +1186,36 @@ (not X31))))) (let ((X33 - Int (ite + (ite X32 (ite (= X30 8) 2 X30) X30))) (let ((X34 - Int (ite + (ite (not (and (>= X33 3) (<= X33 6))) 3 X33))) (let ((X35 - Bool (and + (and (not (and (>= X33 3) (<= X33 6))) (and (>= X34 3) (<= X34 6))))) (let ((X36 - Int (ite + (ite X35 (ite (not (= X34 4)) 4 X34) X34))) (let - ((X37 Int (ite X32 X36 X33))) + ((X37 (ite X32 X36 X33))) (let - ((X38 Bool (or X32 X31))) + ((X38 (or X32 X31))) (let ((X39 - Bool (and + (and (= X37 7) (and (and @@ -1262,13 +1242,13 @@ (not X38))))) (let ((X40 - Int (ite + (ite X39 (ite (= X37 7) 2 X37) X37))) (let ((X41 - Int (ite + (ite X21 (ite (not (= X22 8)) @@ -1277,7 +1257,7 @@ X16))) (let ((X42 - Int (ite + (ite X25 (ite X28 @@ -1289,7 +1269,7 @@ X41))) (let ((X43 - Int (ite + (ite X32 (ite X35 @@ -1301,7 +1281,7 @@ X42))) (let ((X44 - Int (ite + (ite (not (and (>= X40 3) @@ -1310,7 +1290,7 @@ X40))) (let ((X45 - Bool (and + (and (not (and (>= X40 3) @@ -1320,7 +1300,7 @@ (<= X44 6))))) (let ((X46 - Int (ite + (ite X39 (ite X45 @@ -1332,7 +1312,7 @@ X43))) (let ((X47 - Int (ite + (ite X45 (ite (not (= X44 4)) @@ -1341,17 +1321,17 @@ X44))) (let ((X48 - Int (ite X39 X47 X40))) + (ite X39 X47 X40))) (let - ((X49 Bool (or X39 X38))) + ((X49 (or X39 X38))) (let ((X50 - Bool (and + (and (= X48 4) (= X24 1)))) (let ((X51 - Int (ite + (ite X50 (ite (= X48 4) @@ -1360,7 +1340,7 @@ X48))) (let ((X52 - Int (ite + (ite X50 (ite (not @@ -1370,7 +1350,7 @@ X51))) (let ((X53 - Int (ite + (ite (not (ite (= @@ -1382,14 +1362,14 @@ 1))) (let ((X54 - Bool (and + (and (= X52 4) (and (= X53 1) (not X50))))) (let ((X55 - Int (ite + (ite X54 (ite (= X52 4) @@ -1398,7 +1378,7 @@ X52))) (let ((X56 - Int (ite + (ite X54 (ite (not @@ -1408,12 +1388,12 @@ X55))) (let ((X57 - Bool (or + (or X54 X50))) (let ((X58 - Int (ite + (ite (not (ite (= @@ -1425,7 +1405,6 @@ 1))) (let ((X59 - Bool (and (= X56 4) (and @@ -1433,7 +1412,6 @@ (not X57))))) (let ((X60 - Int (ite X59 (ite @@ -1443,7 +1421,6 @@ X56))) (let ((X61 - Int (ite X59 (ite @@ -1454,13 +1431,11 @@ X60))) (let ((X62 - Bool (or X59 X57))) (let ((X63 - Bool (and (= X61 6) (and @@ -1468,7 +1443,6 @@ (not X62))))) (let ((X64 - Int (ite X63 (ite @@ -1478,7 +1452,6 @@ X61))) (let ((X65 - Int (ite X63 (ite @@ -1489,13 +1462,11 @@ X64))) (let ((X66 - Bool (or X63 X62))) (let ((X67 - Bool (and (= X65 5) (and @@ -1503,7 +1474,6 @@ (not X66))))) (let ((X68 - Int (ite X67 (ite @@ -1513,7 +1483,6 @@ X65))) (let ((X69 - Int (ite X50 (ite @@ -1524,7 +1493,6 @@ X46))) (let ((X70 - Int (ite X54 (ite @@ -1535,7 +1503,6 @@ X69))) (let ((X71 - Int (ite X59 (ite @@ -1546,7 +1513,6 @@ X70))) (let ((X72 - Int (ite X63 (ite @@ -1627,7 +1593,7 @@ top.impl.usr.rlt_condact_cruise_controller_CruiseController_SetDesiredSpeed_computeIncreaseInDesiredSpeed_rlt_clock_a_1 (+ X1 - (/ 1 20)) + (/ 1.0 20.0)) top.impl.usr.newDesiredSpeed_a_0))) (= top.impl.usr.rlt_condact_cruise_controller_CruiseController_SetDesiredSpeed_computeDecreaseInDesiredSpeed_rlt_init_step_a_1 @@ -1655,7 +1621,7 @@ top.impl.usr.rlt_condact_cruise_controller_CruiseController_SetDesiredSpeed_computeDecreaseInDesiredSpeed_rlt_clock_a_1 (- X1 - (/ 1 20)) + (/ 1.0 20.0)) top.impl.usr.newDesiredSpeed1_a_0))) (= top.impl.usr.cruise_controller_CruiseController_SetDesiredSpeed_IncreaseDesiredSpeed_a_1 @@ -1694,10 +1660,9 @@ 0.0))))) (let ((X73 - Int top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_setDesiredSpeed_a_0)) + top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_setDesiredSpeed_a_0)) (let ((X74 - Int (ite X8 (ite @@ -1717,7 +1682,6 @@ X73))) (let ((X75 - Int (ite X39 1 @@ -1742,7 +1706,6 @@ X74))))) (let ((X76 - Int (ite X67 (ite @@ -1753,14 +1716,12 @@ X68))) (let ((X77 - Int (ite X50 1 X75))) (let ((X78 - Int (ite X54 (ite @@ -1857,7 +1818,6 @@ top.impl.usr.desiredSpeed_a_0))) (let ((X79 - Int (ite (not (= X6 1)) @@ -1951,33 +1911,6 @@ )) -(declare-primed-var top.usr.onOff Bool) -(declare-primed-var top.usr.decelSet Bool) -(declare-primed-var top.usr.accelResume Bool) -(declare-primed-var top.usr.cancel Bool) -(declare-primed-var top.usr.brakePedal Bool) -(declare-primed-var top.usr.carGear Int) -(declare-primed-var top.usr.carSpeed Real) -(declare-primed-var top.usr.validInputs Bool) -(declare-primed-var top.usr.OK Bool) -(declare-primed-var top.res.init_flag Bool) -(declare-primed-var top.impl.usr.mode Int) -(declare-primed-var top.impl.usr.desiredSpeed Real) -(declare-primed-var top.impl.usr.rlt_condact_cruise_controller_CruiseController_SetDesiredSpeed_computeDecreaseInDesiredSpeed_rlt_clock Bool) -(declare-primed-var top.impl.usr.rlt_condact_cruise_controller_CruiseController_SetDesiredSpeed_computeDecreaseInDesiredSpeed_rlt_init_step Bool) -(declare-primed-var top.impl.usr.newDesiredSpeed1 Real) -(declare-primed-var top.impl.usr.rlt_condact_cruise_controller_CruiseController_SetDesiredSpeed_computeIncreaseInDesiredSpeed_rlt_clock Bool) -(declare-primed-var top.impl.usr.rlt_condact_cruise_controller_CruiseController_SetDesiredSpeed_computeIncreaseInDesiredSpeed_rlt_init_step Bool) -(declare-primed-var top.impl.usr.newDesiredSpeed Real) -(declare-primed-var top.impl.usr.chart_CruiseController_ModeLogic_mode_logic____wakeup___ Bool) -(declare-primed-var top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep Bool) -(declare-primed-var top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_final_state_states___root Int) -(declare-primed-var top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_setDesiredSpeed Int) -(declare-primed-var top.impl.usr.cruise_controller_CruiseController_ModeLogic_DelayOnsetAccel_Bounded_Count_Out Int) -(declare-primed-var top.impl.usr.cruise_controller_CruiseController_ModeLogic_DelayOnsetDecel_Bounded_Count_Out Int) -(declare-primed-var top.impl.usr.cruise_controller_CruiseController_SetDesiredSpeed_setDesiredSpeed Bool) -(declare-primed-var top.impl.usr.cruise_controller_CruiseController_SetDesiredSpeed_IncreaseDesiredSpeed Real) - (define-fun init ( (top.usr.onOff Bool) @@ -2009,12 +1942,12 @@ ) Bool (let - ((X1 Real 0.0)) + ((X1 0.0)) (let - ((X2 Bool false)) + ((X2 false)) (let ((X3 - Bool (and + (and (and (and (and (not top.usr.cancel) (not top.usr.brakePedal)) @@ -2022,7 +1955,7 @@ (ite (>= top.usr.carSpeed 15.0) true false)) top.usr.validInputs))) (let - ((X4 Bool false)) + ((X4 false)) (and (= top.impl.usr.cruise_controller_CruiseController_ModeLogic_DelayOnsetDecel_Bounded_Count_Out @@ -2050,73 +1983,73 @@ (ite top.usr.accelResume 1 0)) 20)) (let - ((X5 Int 0)) + ((X5 0)) (let - ((X6 Int 0)) + ((X6 0)) (and (= top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep true) (let - ((X7 Int (ite (not top.usr.onOff) 0 1))) + ((X7 (ite (not top.usr.onOff) 0 1))) (let ((X8 - Bool (and + (and (and (>= X6 2) (<= X6 8)) (not (ite (not (= X7 0)) true false))))) (let - ((X9 Int (ite X8 (ite (and (>= X6 2) (<= X6 8)) 0 X6) X6))) + ((X9 (ite X8 (ite (and (>= X6 2) (<= X6 8)) 0 X6) X6))) (let - ((X10 Int (ite X8 (ite (not (= X9 1)) 1 X5) X5))) + ((X10 (ite X8 (ite (not (= X9 1)) 1 X5) X5))) (let - ((X11 Int (ite X8 (ite (not (= X9 1)) 1 X9) X9))) + ((X11 (ite X8 (ite (not (= X9 1)) 1 X9) X9))) (let ((X12 - Bool (and + (and (= X11 1) (and (ite (not (= X7 0)) true false) (not X8))))) (let - ((X13 Int (ite X12 (ite (= X11 1) 0 X11) X11))) + ((X13 (ite X12 (ite (= X11 1) 0 X11) X11))) (let - ((X14 Int (ite (not (and (>= X13 2) (<= X13 8))) 2 X13))) + ((X14 (ite (not (and (>= X13 2) (<= X13 8))) 2 X13))) (let ((X15 - Bool (and + (and (not (and (>= X13 2) (<= X13 8))) (and (>= X14 2) (<= X14 8))))) (let ((X16 - Int (ite + (ite X12 (ite X15 (ite (not (= X14 7)) 2 X10) X10) X10))) (let - ((X17 Int (ite X15 (ite (not (= X14 7)) 7 X14) X14))) + ((X17 (ite X15 (ite (not (= X14 7)) 7 X14) X14))) (let - ((X18 Int (ite X12 X17 X13))) + ((X18 (ite X12 X17 X13))) (let - ((X19 Bool (or X12 X8))) + ((X19 (or X12 X8))) (let - ((X20 Int (ite (not X3) 0 1))) + ((X20 (ite (not X3) 0 1))) (let ((X21 - Bool (and + (and (and (>= X18 3) (<= X18 6)) (not (ite (not (= X20 0)) true false))))) (let ((X22 - Int (ite + (ite X21 (ite (and (>= X18 3) (<= X18 6)) 2 X18) X18))) (let ((X23 - Int (ite X21 (ite (not (= X22 8)) 8 X22) X22))) + (ite X21 (ite (not (= X22 8)) 8 X22) X22))) (let - ((X24 Int (ite (not X2) 0 1))) + ((X24 (ite (not X2) 0 1))) (let ((X25 - Bool (and + (and (= X23 8) (and (and @@ -2130,31 +2063,31 @@ false)) (not X21))))) (let - ((X26 Int (ite X25 (ite (= X23 8) 2 X23) X23))) + ((X26 (ite X25 (ite (= X23 8) 2 X23) X23))) (let ((X27 - Int (ite + (ite (not (and (>= X26 3) (<= X26 6))) 3 X26))) (let ((X28 - Bool (and + (and (not (and (>= X26 3) (<= X26 6))) (and (>= X27 3) (<= X27 6))))) (let ((X29 - Int (ite + (ite X28 (ite (not (= X27 4)) 4 X27) X27))) (let - ((X30 Int (ite X25 X29 X26))) + ((X30 (ite X25 X29 X26))) (let - ((X31 Bool (or X25 X21))) + ((X31 (or X25 X21))) (let ((X32 - Bool (and + (and (= X30 8) (and (and @@ -2179,36 +2112,36 @@ (not X31))))) (let ((X33 - Int (ite + (ite X32 (ite (= X30 8) 2 X30) X30))) (let ((X34 - Int (ite + (ite (not (and (>= X33 3) (<= X33 6))) 3 X33))) (let ((X35 - Bool (and + (and (not (and (>= X33 3) (<= X33 6))) (and (>= X34 3) (<= X34 6))))) (let ((X36 - Int (ite + (ite X35 (ite (not (= X34 4)) 4 X34) X34))) (let - ((X37 Int (ite X32 X36 X33))) + ((X37 (ite X32 X36 X33))) (let - ((X38 Bool (or X32 X31))) + ((X38 (or X32 X31))) (let ((X39 - Bool (and + (and (= X37 7) (and (and @@ -2235,13 +2168,13 @@ (not X38))))) (let ((X40 - Int (ite + (ite X39 (ite (= X37 7) 2 X37) X37))) (let ((X41 - Int (ite + (ite X21 (ite (not (= X22 8)) @@ -2250,7 +2183,7 @@ X16))) (let ((X42 - Int (ite + (ite X25 (ite X28 @@ -2262,7 +2195,7 @@ X41))) (let ((X43 - Int (ite + (ite X32 (ite X35 @@ -2274,7 +2207,7 @@ X42))) (let ((X44 - Int (ite + (ite (not (and (>= X40 3) @@ -2283,7 +2216,7 @@ X40))) (let ((X45 - Bool (and + (and (not (and (>= X40 3) @@ -2293,7 +2226,7 @@ (<= X44 6))))) (let ((X46 - Int (ite + (ite X39 (ite X45 @@ -2305,7 +2238,7 @@ X43))) (let ((X47 - Int (ite + (ite X45 (ite (not (= X44 4)) @@ -2314,17 +2247,17 @@ X44))) (let ((X48 - Int (ite X39 X47 X40))) + (ite X39 X47 X40))) (let - ((X49 Bool (or X39 X38))) + ((X49 (or X39 X38))) (let ((X50 - Bool (and + (and (= X48 4) (= X24 1)))) (let ((X51 - Int (ite + (ite X50 (ite (= X48 4) @@ -2333,7 +2266,7 @@ X48))) (let ((X52 - Int (ite + (ite X50 (ite (not @@ -2343,7 +2276,7 @@ X51))) (let ((X53 - Int (ite + (ite (not (ite (= @@ -2355,14 +2288,14 @@ 1))) (let ((X54 - Bool (and + (and (= X52 4) (and (= X53 1) (not X50))))) (let ((X55 - Int (ite + (ite X54 (ite (= X52 4) @@ -2371,7 +2304,7 @@ X52))) (let ((X56 - Int (ite + (ite X54 (ite (not @@ -2381,12 +2314,12 @@ X55))) (let ((X57 - Bool (or + (or X54 X50))) (let ((X58 - Int (ite + (ite (not (ite (= @@ -2398,7 +2331,6 @@ 1))) (let ((X59 - Bool (and (= X56 4) (and @@ -2406,7 +2338,6 @@ (not X57))))) (let ((X60 - Int (ite X59 (ite @@ -2416,7 +2347,6 @@ X56))) (let ((X61 - Int (ite X59 (ite @@ -2427,13 +2357,11 @@ X60))) (let ((X62 - Bool (or X59 X57))) (let ((X63 - Bool (and (= X61 6) (and @@ -2441,7 +2369,6 @@ (not X62))))) (let ((X64 - Int (ite X63 (ite @@ -2451,7 +2378,6 @@ X61))) (let ((X65 - Int (ite X63 (ite @@ -2462,13 +2388,11 @@ X64))) (let ((X66 - Bool (or X63 X62))) (let ((X67 - Bool (and (= X65 5) (and @@ -2476,7 +2400,6 @@ (not X66))))) (let ((X68 - Int (ite X67 (ite @@ -2486,7 +2409,6 @@ X65))) (let ((X69 - Int (ite X50 (ite @@ -2497,7 +2419,6 @@ X46))) (let ((X70 - Int (ite X54 (ite @@ -2508,7 +2429,6 @@ X69))) (let ((X71 - Int (ite X59 (ite @@ -2519,7 +2439,6 @@ X70))) (let ((X72 - Int (ite X63 (ite @@ -2595,7 +2514,7 @@ 0.0 (+ X1 - (/ 1 20)))) + (/ 1.0 20.0)))) (= top.impl.usr.rlt_condact_cruise_controller_CruiseController_SetDesiredSpeed_computeDecreaseInDesiredSpeed_rlt_init_step true) @@ -2617,7 +2536,7 @@ 0.0 (- X1 - (/ 1 20)))) + (/ 1.0 20.0)))) (= top.impl.usr.cruise_controller_CruiseController_SetDesiredSpeed_IncreaseDesiredSpeed (ite @@ -2655,10 +2574,9 @@ 0.0))))) (let ((X73 - Int 0)) + 0)) (let ((X74 - Int (ite X8 (ite @@ -2678,7 +2596,6 @@ X73))) (let ((X75 - Int (ite X39 1 @@ -2703,7 +2620,6 @@ X74))))) (let ((X76 - Int (ite X67 (ite @@ -2714,14 +2630,12 @@ X68))) (let ((X77 - Int (ite X50 1 X75))) (let ((X78 - Int (ite X54 (ite @@ -2818,7 +2732,6 @@ 0.0))) (let ((X79 - Int (ite (not (= X6 1)) @@ -2942,7 +2855,7 @@ (let ((X1 - Real (ite + (ite (< (ite top.impl.usr.cruise_controller_CruiseController_SetDesiredSpeed_setDesiredSpeed @@ -2963,10 +2876,10 @@ top.usr.carSpeed top.impl.usr.cruise_controller_CruiseController_SetDesiredSpeed_IncreaseDesiredSpeed))))) (let - ((X2 Bool (and (not top.usr.decelSet) top.usr.decelSet!))) + ((X2 (and (not top.usr.decelSet) top.usr.decelSet!))) (let ((X3 - Bool (and + (and (and (and (and (not top.usr.cancel!) (not top.usr.brakePedal!)) @@ -2974,7 +2887,7 @@ (ite (>= top.usr.carSpeed! 15.0) true false)) top.usr.validInputs!))) (let - ((X4 Bool (and (not top.usr.accelResume) top.usr.accelResume!))) + ((X4 (and (not top.usr.accelResume) top.usr.accelResume!))) (and (= top.impl.usr.cruise_controller_CruiseController_ModeLogic_DelayOnsetDecel_Bounded_Count_Out! @@ -3053,10 +2966,10 @@ 0)) 20)) (let - ((X5 Int top.impl.usr.mode)) + ((X5 top.impl.usr.mode)) (let ((X6 - Int top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_final_state_states___root)) + top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_final_state_states___root)) (and (= top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep! @@ -3065,65 +2978,65 @@ false top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep)) (let - ((X7 Int (ite (not top.usr.onOff!) 0 1))) + ((X7 (ite (not top.usr.onOff!) 0 1))) (let ((X8 - Bool (and + (and (and (>= X6 2) (<= X6 8)) (not (ite (not (= X7 0)) true false))))) (let - ((X9 Int (ite X8 (ite (and (>= X6 2) (<= X6 8)) 0 X6) X6))) + ((X9 (ite X8 (ite (and (>= X6 2) (<= X6 8)) 0 X6) X6))) (let - ((X10 Int (ite X8 (ite (not (= X9 1)) 1 X5) X5))) + ((X10 (ite X8 (ite (not (= X9 1)) 1 X5) X5))) (let - ((X11 Int (ite X8 (ite (not (= X9 1)) 1 X9) X9))) + ((X11 (ite X8 (ite (not (= X9 1)) 1 X9) X9))) (let ((X12 - Bool (and + (and (= X11 1) (and (ite (not (= X7 0)) true false) (not X8))))) (let - ((X13 Int (ite X12 (ite (= X11 1) 0 X11) X11))) + ((X13 (ite X12 (ite (= X11 1) 0 X11) X11))) (let - ((X14 Int (ite (not (and (>= X13 2) (<= X13 8))) 2 X13))) + ((X14 (ite (not (and (>= X13 2) (<= X13 8))) 2 X13))) (let ((X15 - Bool (and + (and (not (and (>= X13 2) (<= X13 8))) (and (>= X14 2) (<= X14 8))))) (let ((X16 - Int (ite + (ite X12 (ite X15 (ite (not (= X14 7)) 2 X10) X10) X10))) (let - ((X17 Int (ite X15 (ite (not (= X14 7)) 7 X14) X14))) + ((X17 (ite X15 (ite (not (= X14 7)) 7 X14) X14))) (let - ((X18 Int (ite X12 X17 X13))) + ((X18 (ite X12 X17 X13))) (let - ((X19 Bool (or X12 X8))) + ((X19 (or X12 X8))) (let - ((X20 Int (ite (not X3) 0 1))) + ((X20 (ite (not X3) 0 1))) (let ((X21 - Bool (and + (and (and (>= X18 3) (<= X18 6)) (not (ite (not (= X20 0)) true false))))) (let ((X22 - Int (ite + (ite X21 (ite (and (>= X18 3) (<= X18 6)) 2 X18) X18))) (let ((X23 - Int (ite X21 (ite (not (= X22 8)) 8 X22) X22))) + (ite X21 (ite (not (= X22 8)) 8 X22) X22))) (let - ((X24 Int (ite (not X2) 0 1))) + ((X24 (ite (not X2) 0 1))) (let ((X25 - Bool (and + (and (= X23 8) (and (and @@ -3137,31 +3050,31 @@ false)) (not X21))))) (let - ((X26 Int (ite X25 (ite (= X23 8) 2 X23) X23))) + ((X26 (ite X25 (ite (= X23 8) 2 X23) X23))) (let ((X27 - Int (ite + (ite (not (and (>= X26 3) (<= X26 6))) 3 X26))) (let ((X28 - Bool (and + (and (not (and (>= X26 3) (<= X26 6))) (and (>= X27 3) (<= X27 6))))) (let ((X29 - Int (ite + (ite X28 (ite (not (= X27 4)) 4 X27) X27))) (let - ((X30 Int (ite X25 X29 X26))) + ((X30 (ite X25 X29 X26))) (let - ((X31 Bool (or X25 X21))) + ((X31 (or X25 X21))) (let ((X32 - Bool (and + (and (= X30 8) (and (and @@ -3186,36 +3099,36 @@ (not X31))))) (let ((X33 - Int (ite + (ite X32 (ite (= X30 8) 2 X30) X30))) (let ((X34 - Int (ite + (ite (not (and (>= X33 3) (<= X33 6))) 3 X33))) (let ((X35 - Bool (and + (and (not (and (>= X33 3) (<= X33 6))) (and (>= X34 3) (<= X34 6))))) (let ((X36 - Int (ite + (ite X35 (ite (not (= X34 4)) 4 X34) X34))) (let - ((X37 Int (ite X32 X36 X33))) + ((X37 (ite X32 X36 X33))) (let - ((X38 Bool (or X32 X31))) + ((X38 (or X32 X31))) (let ((X39 - Bool (and + (and (= X37 7) (and (and @@ -3242,13 +3155,13 @@ (not X38))))) (let ((X40 - Int (ite + (ite X39 (ite (= X37 7) 2 X37) X37))) (let ((X41 - Int (ite + (ite X21 (ite (not (= X22 8)) @@ -3257,7 +3170,7 @@ X16))) (let ((X42 - Int (ite + (ite X25 (ite X28 @@ -3269,7 +3182,7 @@ X41))) (let ((X43 - Int (ite + (ite X32 (ite X35 @@ -3281,7 +3194,7 @@ X42))) (let ((X44 - Int (ite + (ite (not (and (>= X40 3) @@ -3290,7 +3203,7 @@ X40))) (let ((X45 - Bool (and + (and (not (and (>= X40 3) @@ -3300,7 +3213,7 @@ (<= X44 6))))) (let ((X46 - Int (ite + (ite X39 (ite X45 @@ -3312,7 +3225,7 @@ X43))) (let ((X47 - Int (ite + (ite X45 (ite (not (= X44 4)) @@ -3321,17 +3234,17 @@ X44))) (let ((X48 - Int (ite X39 X47 X40))) + (ite X39 X47 X40))) (let - ((X49 Bool (or X39 X38))) + ((X49 (or X39 X38))) (let ((X50 - Bool (and + (and (= X48 4) (= X24 1)))) (let ((X51 - Int (ite + (ite X50 (ite (= X48 4) @@ -3340,7 +3253,7 @@ X48))) (let ((X52 - Int (ite + (ite X50 (ite (not @@ -3350,7 +3263,7 @@ X51))) (let ((X53 - Int (ite + (ite (not (ite (= @@ -3362,14 +3275,14 @@ 1))) (let ((X54 - Bool (and + (and (= X52 4) (and (= X53 1) (not X50))))) (let ((X55 - Int (ite + (ite X54 (ite (= X52 4) @@ -3378,7 +3291,7 @@ X52))) (let ((X56 - Int (ite + (ite X54 (ite (not @@ -3388,12 +3301,12 @@ X55))) (let ((X57 - Bool (or + (or X54 X50))) (let ((X58 - Int (ite + (ite (not (ite (= @@ -3405,7 +3318,6 @@ 1))) (let ((X59 - Bool (and (= X56 4) (and @@ -3413,7 +3325,6 @@ (not X57))))) (let ((X60 - Int (ite X59 (ite @@ -3423,7 +3334,6 @@ X56))) (let ((X61 - Int (ite X59 (ite @@ -3434,13 +3344,11 @@ X60))) (let ((X62 - Bool (or X59 X57))) (let ((X63 - Bool (and (= X61 6) (and @@ -3448,7 +3356,6 @@ (not X62))))) (let ((X64 - Int (ite X63 (ite @@ -3458,7 +3365,6 @@ X61))) (let ((X65 - Int (ite X63 (ite @@ -3469,13 +3375,11 @@ X64))) (let ((X66 - Bool (or X63 X62))) (let ((X67 - Bool (and (= X65 5) (and @@ -3483,7 +3387,6 @@ (not X66))))) (let ((X68 - Int (ite X67 (ite @@ -3493,7 +3396,6 @@ X65))) (let ((X69 - Int (ite X50 (ite @@ -3504,7 +3406,6 @@ X46))) (let ((X70 - Int (ite X54 (ite @@ -3515,7 +3416,6 @@ X69))) (let ((X71 - Int (ite X59 (ite @@ -3526,7 +3426,6 @@ X70))) (let ((X72 - Int (ite X63 (ite @@ -3607,7 +3506,7 @@ top.impl.usr.rlt_condact_cruise_controller_CruiseController_SetDesiredSpeed_computeIncreaseInDesiredSpeed_rlt_clock! (+ X1 - (/ 1 20)) + (/ 1.0 20.0)) top.impl.usr.newDesiredSpeed))) (= top.impl.usr.rlt_condact_cruise_controller_CruiseController_SetDesiredSpeed_computeDecreaseInDesiredSpeed_rlt_init_step! @@ -3635,7 +3534,7 @@ top.impl.usr.rlt_condact_cruise_controller_CruiseController_SetDesiredSpeed_computeDecreaseInDesiredSpeed_rlt_clock! (- X1 - (/ 1 20)) + (/ 1.0 20.0)) top.impl.usr.newDesiredSpeed1))) (= top.impl.usr.cruise_controller_CruiseController_SetDesiredSpeed_IncreaseDesiredSpeed! @@ -3674,10 +3573,9 @@ 0.0))))) (let ((X73 - Int top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_setDesiredSpeed)) + top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_setDesiredSpeed)) (let ((X74 - Int (ite X8 (ite @@ -3697,7 +3595,6 @@ X73))) (let ((X75 - Int (ite X39 1 @@ -3722,7 +3619,6 @@ X74))))) (let ((X76 - Int (ite X67 (ite @@ -3733,14 +3629,12 @@ X68))) (let ((X77 - Int (ite X50 1 X75))) (let ((X78 - Int (ite X54 (ite @@ -3837,7 +3731,6 @@ top.impl.usr.desiredSpeed))) (let ((X79 - Int (ite (not (= X6 1)) diff --git a/lib-nonconforming/Inv_Track/andrew_lustre/cruise_controller_19.lus.sl b/lib/Inv_Track/andrew_lustre/cruise_controller_19.lus.sl similarity index 91% rename from lib-nonconforming/Inv_Track/andrew_lustre/cruise_controller_19.lus.sl rename to lib/Inv_Track/andrew_lustre/cruise_controller_19.lus.sl index 8b4480cd..5db6f8d5 100644 --- a/lib-nonconforming/Inv_Track/andrew_lustre/cruise_controller_19.lus.sl +++ b/lib/Inv_Track/andrew_lustre/cruise_controller_19.lus.sl @@ -31,12 +31,12 @@ ) Bool (let - ((X1 Real 0.0)) + ((X1 0.0)) (let - ((X2 Bool false)) + ((X2 false)) (let ((X3 - Bool (and + (and (and (and (and (not top.usr.cancel_a_0) (not top.usr.brakePedal_a_0)) @@ -44,7 +44,7 @@ (ite (>= top.usr.carSpeed_a_0 15.0) true false)) top.usr.validInputs_a_0))) (let - ((X4 Bool false)) + ((X4 false)) (and (= top.impl.usr.cruise_controller_CruiseController_ModeLogic_DelayOnsetDecel_Bounded_Count_Out_a_0 @@ -75,73 +75,73 @@ (ite top.usr.accelResume_a_0 1 0)) 20)) (let - ((X5 Int 0)) + ((X5 0)) (let - ((X6 Int 0)) + ((X6 0)) (and (= top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep_a_0 true) (let - ((X7 Int (ite (not top.usr.onOff_a_0) 0 1))) + ((X7 (ite (not top.usr.onOff_a_0) 0 1))) (let ((X8 - Bool (and + (and (and (>= X6 2) (<= X6 8)) (not (ite (not (= X7 0)) true false))))) (let - ((X9 Int (ite X8 (ite (and (>= X6 2) (<= X6 8)) 0 X6) X6))) + ((X9 (ite X8 (ite (and (>= X6 2) (<= X6 8)) 0 X6) X6))) (let - ((X10 Int (ite X8 (ite (not (= X9 1)) 1 X5) X5))) + ((X10 (ite X8 (ite (not (= X9 1)) 1 X5) X5))) (let - ((X11 Int (ite X8 (ite (not (= X9 1)) 1 X9) X9))) + ((X11 (ite X8 (ite (not (= X9 1)) 1 X9) X9))) (let ((X12 - Bool (and + (and (= X11 1) (and (ite (not (= X7 0)) true false) (not X8))))) (let - ((X13 Int (ite X12 (ite (= X11 1) 0 X11) X11))) + ((X13 (ite X12 (ite (= X11 1) 0 X11) X11))) (let - ((X14 Int (ite (not (and (>= X13 2) (<= X13 8))) 2 X13))) + ((X14 (ite (not (and (>= X13 2) (<= X13 8))) 2 X13))) (let ((X15 - Bool (and + (and (not (and (>= X13 2) (<= X13 8))) (and (>= X14 2) (<= X14 8))))) (let ((X16 - Int (ite + (ite X12 (ite X15 (ite (not (= X14 7)) 2 X10) X10) X10))) (let - ((X17 Int (ite X15 (ite (not (= X14 7)) 7 X14) X14))) + ((X17 (ite X15 (ite (not (= X14 7)) 7 X14) X14))) (let - ((X18 Int (ite X12 X17 X13))) + ((X18 (ite X12 X17 X13))) (let - ((X19 Bool (or X12 X8))) + ((X19 (or X12 X8))) (let - ((X20 Int (ite (not X3) 0 1))) + ((X20 (ite (not X3) 0 1))) (let ((X21 - Bool (and + (and (and (>= X18 3) (<= X18 6)) (not (ite (not (= X20 0)) true false))))) (let ((X22 - Int (ite + (ite X21 (ite (and (>= X18 3) (<= X18 6)) 2 X18) X18))) (let ((X23 - Int (ite X21 (ite (not (= X22 8)) 8 X22) X22))) + (ite X21 (ite (not (= X22 8)) 8 X22) X22))) (let - ((X24 Int (ite (not X2) 0 1))) + ((X24 (ite (not X2) 0 1))) (let ((X25 - Bool (and + (and (= X23 8) (and (and @@ -155,31 +155,31 @@ false)) (not X21))))) (let - ((X26 Int (ite X25 (ite (= X23 8) 2 X23) X23))) + ((X26 (ite X25 (ite (= X23 8) 2 X23) X23))) (let ((X27 - Int (ite + (ite (not (and (>= X26 3) (<= X26 6))) 3 X26))) (let ((X28 - Bool (and + (and (not (and (>= X26 3) (<= X26 6))) (and (>= X27 3) (<= X27 6))))) (let ((X29 - Int (ite + (ite X28 (ite (not (= X27 4)) 4 X27) X27))) (let - ((X30 Int (ite X25 X29 X26))) + ((X30 (ite X25 X29 X26))) (let - ((X31 Bool (or X25 X21))) + ((X31 (or X25 X21))) (let ((X32 - Bool (and + (and (= X30 8) (and (and @@ -204,36 +204,36 @@ (not X31))))) (let ((X33 - Int (ite + (ite X32 (ite (= X30 8) 2 X30) X30))) (let ((X34 - Int (ite + (ite (not (and (>= X33 3) (<= X33 6))) 3 X33))) (let ((X35 - Bool (and + (and (not (and (>= X33 3) (<= X33 6))) (and (>= X34 3) (<= X34 6))))) (let ((X36 - Int (ite + (ite X35 (ite (not (= X34 4)) 4 X34) X34))) (let - ((X37 Int (ite X32 X36 X33))) + ((X37 (ite X32 X36 X33))) (let - ((X38 Bool (or X32 X31))) + ((X38 (or X32 X31))) (let ((X39 - Bool (and + (and (= X37 7) (and (and @@ -260,13 +260,13 @@ (not X38))))) (let ((X40 - Int (ite + (ite X39 (ite (= X37 7) 2 X37) X37))) (let ((X41 - Int (ite + (ite X21 (ite (not (= X22 8)) @@ -275,7 +275,7 @@ X16))) (let ((X42 - Int (ite + (ite X25 (ite X28 @@ -287,7 +287,7 @@ X41))) (let ((X43 - Int (ite + (ite X32 (ite X35 @@ -299,7 +299,7 @@ X42))) (let ((X44 - Int (ite + (ite (not (and (>= X40 3) @@ -308,7 +308,7 @@ X40))) (let ((X45 - Bool (and + (and (not (and (>= X40 3) @@ -318,7 +318,7 @@ (<= X44 6))))) (let ((X46 - Int (ite + (ite X39 (ite X45 @@ -330,7 +330,7 @@ X43))) (let ((X47 - Int (ite + (ite X45 (ite (not (= X44 4)) @@ -339,17 +339,17 @@ X44))) (let ((X48 - Int (ite X39 X47 X40))) + (ite X39 X47 X40))) (let - ((X49 Bool (or X39 X38))) + ((X49 (or X39 X38))) (let ((X50 - Bool (and + (and (= X48 4) (= X24 1)))) (let ((X51 - Int (ite + (ite X50 (ite (= X48 4) @@ -358,7 +358,7 @@ X48))) (let ((X52 - Int (ite + (ite X50 (ite (not @@ -368,7 +368,7 @@ X51))) (let ((X53 - Int (ite + (ite (not (ite (= @@ -380,14 +380,14 @@ 1))) (let ((X54 - Bool (and + (and (= X52 4) (and (= X53 1) (not X50))))) (let ((X55 - Int (ite + (ite X54 (ite (= X52 4) @@ -396,7 +396,7 @@ X52))) (let ((X56 - Int (ite + (ite X54 (ite (not @@ -406,12 +406,12 @@ X55))) (let ((X57 - Bool (or + (or X54 X50))) (let ((X58 - Int (ite + (ite (not (ite (= @@ -423,7 +423,6 @@ 1))) (let ((X59 - Bool (and (= X56 4) (and @@ -431,7 +430,6 @@ (not X57))))) (let ((X60 - Int (ite X59 (ite @@ -441,7 +439,6 @@ X56))) (let ((X61 - Int (ite X59 (ite @@ -452,13 +449,11 @@ X60))) (let ((X62 - Bool (or X59 X57))) (let ((X63 - Bool (and (= X61 6) (and @@ -466,7 +461,6 @@ (not X62))))) (let ((X64 - Int (ite X63 (ite @@ -476,7 +470,6 @@ X61))) (let ((X65 - Int (ite X63 (ite @@ -487,13 +480,11 @@ X64))) (let ((X66 - Bool (or X63 X62))) (let ((X67 - Bool (and (= X65 5) (and @@ -501,7 +492,6 @@ (not X66))))) (let ((X68 - Int (ite X67 (ite @@ -511,7 +501,6 @@ X65))) (let ((X69 - Int (ite X50 (ite @@ -522,7 +511,6 @@ X46))) (let ((X70 - Int (ite X54 (ite @@ -533,7 +521,6 @@ X69))) (let ((X71 - Int (ite X59 (ite @@ -544,7 +531,6 @@ X70))) (let ((X72 - Int (ite X63 (ite @@ -620,7 +606,7 @@ 0.0 (+ X1 - (/ 1 20)))) + (/ 1.0 20.0)))) (= top.impl.usr.rlt_condact_cruise_controller_CruiseController_SetDesiredSpeed_computeDecreaseInDesiredSpeed_rlt_init_step_a_0 true) @@ -642,7 +628,7 @@ 0.0 (- X1 - (/ 1 20)))) + (/ 1.0 20.0)))) (= top.impl.usr.cruise_controller_CruiseController_SetDesiredSpeed_IncreaseDesiredSpeed_a_0 (ite @@ -680,10 +666,9 @@ 0.0))))) (let ((X73 - Int 0)) + 0)) (let ((X74 - Int (ite X8 (ite @@ -703,7 +688,6 @@ X73))) (let ((X75 - Int (ite X39 1 @@ -728,7 +712,6 @@ X74))))) (let ((X76 - Int (ite X67 (ite @@ -739,14 +722,12 @@ X68))) (let ((X77 - Int (ite X50 1 X75))) (let ((X78 - Int (ite X54 (ite @@ -843,7 +824,6 @@ 0.0))) (let ((X79 - Int (ite (not (= X6 1)) @@ -962,7 +942,7 @@ (let ((X1 - Real (ite + (ite (< (ite top.impl.usr.cruise_controller_CruiseController_SetDesiredSpeed_setDesiredSpeed_a_0 @@ -983,10 +963,10 @@ top.usr.carSpeed_a_0 top.impl.usr.cruise_controller_CruiseController_SetDesiredSpeed_IncreaseDesiredSpeed_a_0))))) (let - ((X2 Bool (and (not top.usr.decelSet_a_0) top.usr.decelSet_a_1))) + ((X2 (and (not top.usr.decelSet_a_0) top.usr.decelSet_a_1))) (let ((X3 - Bool (and + (and (and (and (and (not top.usr.cancel_a_1) (not top.usr.brakePedal_a_1)) @@ -994,7 +974,7 @@ (ite (>= top.usr.carSpeed_a_1 15.0) true false)) top.usr.validInputs_a_1))) (let - ((X4 Bool (and (not top.usr.accelResume_a_0) top.usr.accelResume_a_1))) + ((X4 (and (not top.usr.accelResume_a_0) top.usr.accelResume_a_1))) (and (= top.impl.usr.cruise_controller_CruiseController_ModeLogic_DelayOnsetDecel_Bounded_Count_Out_a_1 @@ -1073,10 +1053,10 @@ 0)) 20)) (let - ((X5 Int top.impl.usr.mode_a_0)) + ((X5 top.impl.usr.mode_a_0)) (let ((X6 - Int top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_final_state_states___root_a_0)) + top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_final_state_states___root_a_0)) (and (= top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep_a_1 @@ -1085,65 +1065,65 @@ false top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep_a_0)) (let - ((X7 Int (ite (not top.usr.onOff_a_1) 0 1))) + ((X7 (ite (not top.usr.onOff_a_1) 0 1))) (let ((X8 - Bool (and + (and (and (>= X6 2) (<= X6 8)) (not (ite (not (= X7 0)) true false))))) (let - ((X9 Int (ite X8 (ite (and (>= X6 2) (<= X6 8)) 0 X6) X6))) + ((X9 (ite X8 (ite (and (>= X6 2) (<= X6 8)) 0 X6) X6))) (let - ((X10 Int (ite X8 (ite (not (= X9 1)) 1 X5) X5))) + ((X10 (ite X8 (ite (not (= X9 1)) 1 X5) X5))) (let - ((X11 Int (ite X8 (ite (not (= X9 1)) 1 X9) X9))) + ((X11 (ite X8 (ite (not (= X9 1)) 1 X9) X9))) (let ((X12 - Bool (and + (and (= X11 1) (and (ite (not (= X7 0)) true false) (not X8))))) (let - ((X13 Int (ite X12 (ite (= X11 1) 0 X11) X11))) + ((X13 (ite X12 (ite (= X11 1) 0 X11) X11))) (let - ((X14 Int (ite (not (and (>= X13 2) (<= X13 8))) 2 X13))) + ((X14 (ite (not (and (>= X13 2) (<= X13 8))) 2 X13))) (let ((X15 - Bool (and + (and (not (and (>= X13 2) (<= X13 8))) (and (>= X14 2) (<= X14 8))))) (let ((X16 - Int (ite + (ite X12 (ite X15 (ite (not (= X14 7)) 2 X10) X10) X10))) (let - ((X17 Int (ite X15 (ite (not (= X14 7)) 7 X14) X14))) + ((X17 (ite X15 (ite (not (= X14 7)) 7 X14) X14))) (let - ((X18 Int (ite X12 X17 X13))) + ((X18 (ite X12 X17 X13))) (let - ((X19 Bool (or X12 X8))) + ((X19 (or X12 X8))) (let - ((X20 Int (ite (not X3) 0 1))) + ((X20 (ite (not X3) 0 1))) (let ((X21 - Bool (and + (and (and (>= X18 3) (<= X18 6)) (not (ite (not (= X20 0)) true false))))) (let ((X22 - Int (ite + (ite X21 (ite (and (>= X18 3) (<= X18 6)) 2 X18) X18))) (let ((X23 - Int (ite X21 (ite (not (= X22 8)) 8 X22) X22))) + (ite X21 (ite (not (= X22 8)) 8 X22) X22))) (let - ((X24 Int (ite (not X2) 0 1))) + ((X24 (ite (not X2) 0 1))) (let ((X25 - Bool (and + (and (= X23 8) (and (and @@ -1157,31 +1137,31 @@ false)) (not X21))))) (let - ((X26 Int (ite X25 (ite (= X23 8) 2 X23) X23))) + ((X26 (ite X25 (ite (= X23 8) 2 X23) X23))) (let ((X27 - Int (ite + (ite (not (and (>= X26 3) (<= X26 6))) 3 X26))) (let ((X28 - Bool (and + (and (not (and (>= X26 3) (<= X26 6))) (and (>= X27 3) (<= X27 6))))) (let ((X29 - Int (ite + (ite X28 (ite (not (= X27 4)) 4 X27) X27))) (let - ((X30 Int (ite X25 X29 X26))) + ((X30 (ite X25 X29 X26))) (let - ((X31 Bool (or X25 X21))) + ((X31 (or X25 X21))) (let ((X32 - Bool (and + (and (= X30 8) (and (and @@ -1206,36 +1186,36 @@ (not X31))))) (let ((X33 - Int (ite + (ite X32 (ite (= X30 8) 2 X30) X30))) (let ((X34 - Int (ite + (ite (not (and (>= X33 3) (<= X33 6))) 3 X33))) (let ((X35 - Bool (and + (and (not (and (>= X33 3) (<= X33 6))) (and (>= X34 3) (<= X34 6))))) (let ((X36 - Int (ite + (ite X35 (ite (not (= X34 4)) 4 X34) X34))) (let - ((X37 Int (ite X32 X36 X33))) + ((X37 (ite X32 X36 X33))) (let - ((X38 Bool (or X32 X31))) + ((X38 (or X32 X31))) (let ((X39 - Bool (and + (and (= X37 7) (and (and @@ -1262,13 +1242,13 @@ (not X38))))) (let ((X40 - Int (ite + (ite X39 (ite (= X37 7) 2 X37) X37))) (let ((X41 - Int (ite + (ite X21 (ite (not (= X22 8)) @@ -1277,7 +1257,7 @@ X16))) (let ((X42 - Int (ite + (ite X25 (ite X28 @@ -1289,7 +1269,7 @@ X41))) (let ((X43 - Int (ite + (ite X32 (ite X35 @@ -1301,7 +1281,7 @@ X42))) (let ((X44 - Int (ite + (ite (not (and (>= X40 3) @@ -1310,7 +1290,7 @@ X40))) (let ((X45 - Bool (and + (and (not (and (>= X40 3) @@ -1320,7 +1300,7 @@ (<= X44 6))))) (let ((X46 - Int (ite + (ite X39 (ite X45 @@ -1332,7 +1312,7 @@ X43))) (let ((X47 - Int (ite + (ite X45 (ite (not (= X44 4)) @@ -1341,17 +1321,17 @@ X44))) (let ((X48 - Int (ite X39 X47 X40))) + (ite X39 X47 X40))) (let - ((X49 Bool (or X39 X38))) + ((X49 (or X39 X38))) (let ((X50 - Bool (and + (and (= X48 4) (= X24 1)))) (let ((X51 - Int (ite + (ite X50 (ite (= X48 4) @@ -1360,7 +1340,7 @@ X48))) (let ((X52 - Int (ite + (ite X50 (ite (not @@ -1370,7 +1350,7 @@ X51))) (let ((X53 - Int (ite + (ite (not (ite (= @@ -1382,14 +1362,14 @@ 1))) (let ((X54 - Bool (and + (and (= X52 4) (and (= X53 1) (not X50))))) (let ((X55 - Int (ite + (ite X54 (ite (= X52 4) @@ -1398,7 +1378,7 @@ X52))) (let ((X56 - Int (ite + (ite X54 (ite (not @@ -1408,12 +1388,12 @@ X55))) (let ((X57 - Bool (or + (or X54 X50))) (let ((X58 - Int (ite + (ite (not (ite (= @@ -1425,7 +1405,6 @@ 1))) (let ((X59 - Bool (and (= X56 4) (and @@ -1433,7 +1412,6 @@ (not X57))))) (let ((X60 - Int (ite X59 (ite @@ -1443,7 +1421,6 @@ X56))) (let ((X61 - Int (ite X59 (ite @@ -1454,13 +1431,11 @@ X60))) (let ((X62 - Bool (or X59 X57))) (let ((X63 - Bool (and (= X61 6) (and @@ -1468,7 +1443,6 @@ (not X62))))) (let ((X64 - Int (ite X63 (ite @@ -1478,7 +1452,6 @@ X61))) (let ((X65 - Int (ite X63 (ite @@ -1489,13 +1462,11 @@ X64))) (let ((X66 - Bool (or X63 X62))) (let ((X67 - Bool (and (= X65 5) (and @@ -1503,7 +1474,6 @@ (not X66))))) (let ((X68 - Int (ite X67 (ite @@ -1513,7 +1483,6 @@ X65))) (let ((X69 - Int (ite X50 (ite @@ -1524,7 +1493,6 @@ X46))) (let ((X70 - Int (ite X54 (ite @@ -1535,7 +1503,6 @@ X69))) (let ((X71 - Int (ite X59 (ite @@ -1546,7 +1513,6 @@ X70))) (let ((X72 - Int (ite X63 (ite @@ -1627,7 +1593,7 @@ top.impl.usr.rlt_condact_cruise_controller_CruiseController_SetDesiredSpeed_computeIncreaseInDesiredSpeed_rlt_clock_a_1 (+ X1 - (/ 1 20)) + (/ 1.0 20.0)) top.impl.usr.newDesiredSpeed_a_0))) (= top.impl.usr.rlt_condact_cruise_controller_CruiseController_SetDesiredSpeed_computeDecreaseInDesiredSpeed_rlt_init_step_a_1 @@ -1655,7 +1621,7 @@ top.impl.usr.rlt_condact_cruise_controller_CruiseController_SetDesiredSpeed_computeDecreaseInDesiredSpeed_rlt_clock_a_1 (- X1 - (/ 1 20)) + (/ 1.0 20.0)) top.impl.usr.newDesiredSpeed1_a_0))) (= top.impl.usr.cruise_controller_CruiseController_SetDesiredSpeed_IncreaseDesiredSpeed_a_1 @@ -1694,10 +1660,9 @@ 0.0))))) (let ((X73 - Int top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_setDesiredSpeed_a_0)) + top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_setDesiredSpeed_a_0)) (let ((X74 - Int (ite X8 (ite @@ -1717,7 +1682,6 @@ X73))) (let ((X75 - Int (ite X39 1 @@ -1742,7 +1706,6 @@ X74))))) (let ((X76 - Int (ite X67 (ite @@ -1753,14 +1716,12 @@ X68))) (let ((X77 - Int (ite X50 1 X75))) (let ((X78 - Int (ite X54 (ite @@ -1857,7 +1818,6 @@ top.impl.usr.desiredSpeed_a_0))) (let ((X79 - Int (ite (not (= X6 1)) @@ -1951,33 +1911,6 @@ )) -(declare-primed-var top.usr.onOff Bool) -(declare-primed-var top.usr.decelSet Bool) -(declare-primed-var top.usr.accelResume Bool) -(declare-primed-var top.usr.cancel Bool) -(declare-primed-var top.usr.brakePedal Bool) -(declare-primed-var top.usr.carGear Int) -(declare-primed-var top.usr.carSpeed Real) -(declare-primed-var top.usr.validInputs Bool) -(declare-primed-var top.usr.OK Bool) -(declare-primed-var top.res.init_flag Bool) -(declare-primed-var top.impl.usr.mode Int) -(declare-primed-var top.impl.usr.desiredSpeed Real) -(declare-primed-var top.impl.usr.rlt_condact_cruise_controller_CruiseController_SetDesiredSpeed_computeDecreaseInDesiredSpeed_rlt_clock Bool) -(declare-primed-var top.impl.usr.rlt_condact_cruise_controller_CruiseController_SetDesiredSpeed_computeDecreaseInDesiredSpeed_rlt_init_step Bool) -(declare-primed-var top.impl.usr.newDesiredSpeed1 Real) -(declare-primed-var top.impl.usr.rlt_condact_cruise_controller_CruiseController_SetDesiredSpeed_computeIncreaseInDesiredSpeed_rlt_clock Bool) -(declare-primed-var top.impl.usr.rlt_condact_cruise_controller_CruiseController_SetDesiredSpeed_computeIncreaseInDesiredSpeed_rlt_init_step Bool) -(declare-primed-var top.impl.usr.newDesiredSpeed Real) -(declare-primed-var top.impl.usr.chart_CruiseController_ModeLogic_mode_logic____wakeup___ Bool) -(declare-primed-var top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep Bool) -(declare-primed-var top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_final_state_states___root Int) -(declare-primed-var top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_setDesiredSpeed Int) -(declare-primed-var top.impl.usr.cruise_controller_CruiseController_ModeLogic_DelayOnsetAccel_Bounded_Count_Out Int) -(declare-primed-var top.impl.usr.cruise_controller_CruiseController_ModeLogic_DelayOnsetDecel_Bounded_Count_Out Int) -(declare-primed-var top.impl.usr.cruise_controller_CruiseController_SetDesiredSpeed_setDesiredSpeed Bool) -(declare-primed-var top.impl.usr.cruise_controller_CruiseController_SetDesiredSpeed_IncreaseDesiredSpeed Real) - (define-fun init ( (top.usr.onOff Bool) @@ -2009,12 +1942,12 @@ ) Bool (let - ((X1 Real 0.0)) + ((X1 0.0)) (let - ((X2 Bool false)) + ((X2 false)) (let ((X3 - Bool (and + (and (and (and (and (not top.usr.cancel) (not top.usr.brakePedal)) @@ -2022,7 +1955,7 @@ (ite (>= top.usr.carSpeed 15.0) true false)) top.usr.validInputs))) (let - ((X4 Bool false)) + ((X4 false)) (and (= top.impl.usr.cruise_controller_CruiseController_ModeLogic_DelayOnsetDecel_Bounded_Count_Out @@ -2050,73 +1983,73 @@ (ite top.usr.accelResume 1 0)) 20)) (let - ((X5 Int 0)) + ((X5 0)) (let - ((X6 Int 0)) + ((X6 0)) (and (= top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep true) (let - ((X7 Int (ite (not top.usr.onOff) 0 1))) + ((X7 (ite (not top.usr.onOff) 0 1))) (let ((X8 - Bool (and + (and (and (>= X6 2) (<= X6 8)) (not (ite (not (= X7 0)) true false))))) (let - ((X9 Int (ite X8 (ite (and (>= X6 2) (<= X6 8)) 0 X6) X6))) + ((X9 (ite X8 (ite (and (>= X6 2) (<= X6 8)) 0 X6) X6))) (let - ((X10 Int (ite X8 (ite (not (= X9 1)) 1 X5) X5))) + ((X10 (ite X8 (ite (not (= X9 1)) 1 X5) X5))) (let - ((X11 Int (ite X8 (ite (not (= X9 1)) 1 X9) X9))) + ((X11 (ite X8 (ite (not (= X9 1)) 1 X9) X9))) (let ((X12 - Bool (and + (and (= X11 1) (and (ite (not (= X7 0)) true false) (not X8))))) (let - ((X13 Int (ite X12 (ite (= X11 1) 0 X11) X11))) + ((X13 (ite X12 (ite (= X11 1) 0 X11) X11))) (let - ((X14 Int (ite (not (and (>= X13 2) (<= X13 8))) 2 X13))) + ((X14 (ite (not (and (>= X13 2) (<= X13 8))) 2 X13))) (let ((X15 - Bool (and + (and (not (and (>= X13 2) (<= X13 8))) (and (>= X14 2) (<= X14 8))))) (let ((X16 - Int (ite + (ite X12 (ite X15 (ite (not (= X14 7)) 2 X10) X10) X10))) (let - ((X17 Int (ite X15 (ite (not (= X14 7)) 7 X14) X14))) + ((X17 (ite X15 (ite (not (= X14 7)) 7 X14) X14))) (let - ((X18 Int (ite X12 X17 X13))) + ((X18 (ite X12 X17 X13))) (let - ((X19 Bool (or X12 X8))) + ((X19 (or X12 X8))) (let - ((X20 Int (ite (not X3) 0 1))) + ((X20 (ite (not X3) 0 1))) (let ((X21 - Bool (and + (and (and (>= X18 3) (<= X18 6)) (not (ite (not (= X20 0)) true false))))) (let ((X22 - Int (ite + (ite X21 (ite (and (>= X18 3) (<= X18 6)) 2 X18) X18))) (let ((X23 - Int (ite X21 (ite (not (= X22 8)) 8 X22) X22))) + (ite X21 (ite (not (= X22 8)) 8 X22) X22))) (let - ((X24 Int (ite (not X2) 0 1))) + ((X24 (ite (not X2) 0 1))) (let ((X25 - Bool (and + (and (= X23 8) (and (and @@ -2130,31 +2063,31 @@ false)) (not X21))))) (let - ((X26 Int (ite X25 (ite (= X23 8) 2 X23) X23))) + ((X26 (ite X25 (ite (= X23 8) 2 X23) X23))) (let ((X27 - Int (ite + (ite (not (and (>= X26 3) (<= X26 6))) 3 X26))) (let ((X28 - Bool (and + (and (not (and (>= X26 3) (<= X26 6))) (and (>= X27 3) (<= X27 6))))) (let ((X29 - Int (ite + (ite X28 (ite (not (= X27 4)) 4 X27) X27))) (let - ((X30 Int (ite X25 X29 X26))) + ((X30 (ite X25 X29 X26))) (let - ((X31 Bool (or X25 X21))) + ((X31 (or X25 X21))) (let ((X32 - Bool (and + (and (= X30 8) (and (and @@ -2179,36 +2112,36 @@ (not X31))))) (let ((X33 - Int (ite + (ite X32 (ite (= X30 8) 2 X30) X30))) (let ((X34 - Int (ite + (ite (not (and (>= X33 3) (<= X33 6))) 3 X33))) (let ((X35 - Bool (and + (and (not (and (>= X33 3) (<= X33 6))) (and (>= X34 3) (<= X34 6))))) (let ((X36 - Int (ite + (ite X35 (ite (not (= X34 4)) 4 X34) X34))) (let - ((X37 Int (ite X32 X36 X33))) + ((X37 (ite X32 X36 X33))) (let - ((X38 Bool (or X32 X31))) + ((X38 (or X32 X31))) (let ((X39 - Bool (and + (and (= X37 7) (and (and @@ -2235,13 +2168,13 @@ (not X38))))) (let ((X40 - Int (ite + (ite X39 (ite (= X37 7) 2 X37) X37))) (let ((X41 - Int (ite + (ite X21 (ite (not (= X22 8)) @@ -2250,7 +2183,7 @@ X16))) (let ((X42 - Int (ite + (ite X25 (ite X28 @@ -2262,7 +2195,7 @@ X41))) (let ((X43 - Int (ite + (ite X32 (ite X35 @@ -2274,7 +2207,7 @@ X42))) (let ((X44 - Int (ite + (ite (not (and (>= X40 3) @@ -2283,7 +2216,7 @@ X40))) (let ((X45 - Bool (and + (and (not (and (>= X40 3) @@ -2293,7 +2226,7 @@ (<= X44 6))))) (let ((X46 - Int (ite + (ite X39 (ite X45 @@ -2305,7 +2238,7 @@ X43))) (let ((X47 - Int (ite + (ite X45 (ite (not (= X44 4)) @@ -2314,17 +2247,17 @@ X44))) (let ((X48 - Int (ite X39 X47 X40))) + (ite X39 X47 X40))) (let - ((X49 Bool (or X39 X38))) + ((X49 (or X39 X38))) (let ((X50 - Bool (and + (and (= X48 4) (= X24 1)))) (let ((X51 - Int (ite + (ite X50 (ite (= X48 4) @@ -2333,7 +2266,7 @@ X48))) (let ((X52 - Int (ite + (ite X50 (ite (not @@ -2343,7 +2276,7 @@ X51))) (let ((X53 - Int (ite + (ite (not (ite (= @@ -2355,14 +2288,14 @@ 1))) (let ((X54 - Bool (and + (and (= X52 4) (and (= X53 1) (not X50))))) (let ((X55 - Int (ite + (ite X54 (ite (= X52 4) @@ -2371,7 +2304,7 @@ X52))) (let ((X56 - Int (ite + (ite X54 (ite (not @@ -2381,12 +2314,12 @@ X55))) (let ((X57 - Bool (or + (or X54 X50))) (let ((X58 - Int (ite + (ite (not (ite (= @@ -2398,7 +2331,6 @@ 1))) (let ((X59 - Bool (and (= X56 4) (and @@ -2406,7 +2338,6 @@ (not X57))))) (let ((X60 - Int (ite X59 (ite @@ -2416,7 +2347,6 @@ X56))) (let ((X61 - Int (ite X59 (ite @@ -2427,13 +2357,11 @@ X60))) (let ((X62 - Bool (or X59 X57))) (let ((X63 - Bool (and (= X61 6) (and @@ -2441,7 +2369,6 @@ (not X62))))) (let ((X64 - Int (ite X63 (ite @@ -2451,7 +2378,6 @@ X61))) (let ((X65 - Int (ite X63 (ite @@ -2462,13 +2388,11 @@ X64))) (let ((X66 - Bool (or X63 X62))) (let ((X67 - Bool (and (= X65 5) (and @@ -2476,7 +2400,6 @@ (not X66))))) (let ((X68 - Int (ite X67 (ite @@ -2486,7 +2409,6 @@ X65))) (let ((X69 - Int (ite X50 (ite @@ -2497,7 +2419,6 @@ X46))) (let ((X70 - Int (ite X54 (ite @@ -2508,7 +2429,6 @@ X69))) (let ((X71 - Int (ite X59 (ite @@ -2519,7 +2439,6 @@ X70))) (let ((X72 - Int (ite X63 (ite @@ -2595,7 +2514,7 @@ 0.0 (+ X1 - (/ 1 20)))) + (/ 1.0 20.0)))) (= top.impl.usr.rlt_condact_cruise_controller_CruiseController_SetDesiredSpeed_computeDecreaseInDesiredSpeed_rlt_init_step true) @@ -2617,7 +2536,7 @@ 0.0 (- X1 - (/ 1 20)))) + (/ 1.0 20.0)))) (= top.impl.usr.cruise_controller_CruiseController_SetDesiredSpeed_IncreaseDesiredSpeed (ite @@ -2655,10 +2574,9 @@ 0.0))))) (let ((X73 - Int 0)) + 0)) (let ((X74 - Int (ite X8 (ite @@ -2678,7 +2596,6 @@ X73))) (let ((X75 - Int (ite X39 1 @@ -2703,7 +2620,6 @@ X74))))) (let ((X76 - Int (ite X67 (ite @@ -2714,14 +2630,12 @@ X68))) (let ((X77 - Int (ite X50 1 X75))) (let ((X78 - Int (ite X54 (ite @@ -2818,7 +2732,6 @@ 0.0))) (let ((X79 - Int (ite (not (= X6 1)) @@ -2942,7 +2855,7 @@ (let ((X1 - Real (ite + (ite (< (ite top.impl.usr.cruise_controller_CruiseController_SetDesiredSpeed_setDesiredSpeed @@ -2963,10 +2876,10 @@ top.usr.carSpeed top.impl.usr.cruise_controller_CruiseController_SetDesiredSpeed_IncreaseDesiredSpeed))))) (let - ((X2 Bool (and (not top.usr.decelSet) top.usr.decelSet!))) + ((X2 (and (not top.usr.decelSet) top.usr.decelSet!))) (let ((X3 - Bool (and + (and (and (and (and (not top.usr.cancel!) (not top.usr.brakePedal!)) @@ -2974,7 +2887,7 @@ (ite (>= top.usr.carSpeed! 15.0) true false)) top.usr.validInputs!))) (let - ((X4 Bool (and (not top.usr.accelResume) top.usr.accelResume!))) + ((X4 (and (not top.usr.accelResume) top.usr.accelResume!))) (and (= top.impl.usr.cruise_controller_CruiseController_ModeLogic_DelayOnsetDecel_Bounded_Count_Out! @@ -3053,10 +2966,10 @@ 0)) 20)) (let - ((X5 Int top.impl.usr.mode)) + ((X5 top.impl.usr.mode)) (let ((X6 - Int top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_final_state_states___root)) + top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_final_state_states___root)) (and (= top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep! @@ -3065,65 +2978,65 @@ false top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep)) (let - ((X7 Int (ite (not top.usr.onOff!) 0 1))) + ((X7 (ite (not top.usr.onOff!) 0 1))) (let ((X8 - Bool (and + (and (and (>= X6 2) (<= X6 8)) (not (ite (not (= X7 0)) true false))))) (let - ((X9 Int (ite X8 (ite (and (>= X6 2) (<= X6 8)) 0 X6) X6))) + ((X9 (ite X8 (ite (and (>= X6 2) (<= X6 8)) 0 X6) X6))) (let - ((X10 Int (ite X8 (ite (not (= X9 1)) 1 X5) X5))) + ((X10 (ite X8 (ite (not (= X9 1)) 1 X5) X5))) (let - ((X11 Int (ite X8 (ite (not (= X9 1)) 1 X9) X9))) + ((X11 (ite X8 (ite (not (= X9 1)) 1 X9) X9))) (let ((X12 - Bool (and + (and (= X11 1) (and (ite (not (= X7 0)) true false) (not X8))))) (let - ((X13 Int (ite X12 (ite (= X11 1) 0 X11) X11))) + ((X13 (ite X12 (ite (= X11 1) 0 X11) X11))) (let - ((X14 Int (ite (not (and (>= X13 2) (<= X13 8))) 2 X13))) + ((X14 (ite (not (and (>= X13 2) (<= X13 8))) 2 X13))) (let ((X15 - Bool (and + (and (not (and (>= X13 2) (<= X13 8))) (and (>= X14 2) (<= X14 8))))) (let ((X16 - Int (ite + (ite X12 (ite X15 (ite (not (= X14 7)) 2 X10) X10) X10))) (let - ((X17 Int (ite X15 (ite (not (= X14 7)) 7 X14) X14))) + ((X17 (ite X15 (ite (not (= X14 7)) 7 X14) X14))) (let - ((X18 Int (ite X12 X17 X13))) + ((X18 (ite X12 X17 X13))) (let - ((X19 Bool (or X12 X8))) + ((X19 (or X12 X8))) (let - ((X20 Int (ite (not X3) 0 1))) + ((X20 (ite (not X3) 0 1))) (let ((X21 - Bool (and + (and (and (>= X18 3) (<= X18 6)) (not (ite (not (= X20 0)) true false))))) (let ((X22 - Int (ite + (ite X21 (ite (and (>= X18 3) (<= X18 6)) 2 X18) X18))) (let ((X23 - Int (ite X21 (ite (not (= X22 8)) 8 X22) X22))) + (ite X21 (ite (not (= X22 8)) 8 X22) X22))) (let - ((X24 Int (ite (not X2) 0 1))) + ((X24 (ite (not X2) 0 1))) (let ((X25 - Bool (and + (and (= X23 8) (and (and @@ -3137,31 +3050,31 @@ false)) (not X21))))) (let - ((X26 Int (ite X25 (ite (= X23 8) 2 X23) X23))) + ((X26 (ite X25 (ite (= X23 8) 2 X23) X23))) (let ((X27 - Int (ite + (ite (not (and (>= X26 3) (<= X26 6))) 3 X26))) (let ((X28 - Bool (and + (and (not (and (>= X26 3) (<= X26 6))) (and (>= X27 3) (<= X27 6))))) (let ((X29 - Int (ite + (ite X28 (ite (not (= X27 4)) 4 X27) X27))) (let - ((X30 Int (ite X25 X29 X26))) + ((X30 (ite X25 X29 X26))) (let - ((X31 Bool (or X25 X21))) + ((X31 (or X25 X21))) (let ((X32 - Bool (and + (and (= X30 8) (and (and @@ -3186,36 +3099,36 @@ (not X31))))) (let ((X33 - Int (ite + (ite X32 (ite (= X30 8) 2 X30) X30))) (let ((X34 - Int (ite + (ite (not (and (>= X33 3) (<= X33 6))) 3 X33))) (let ((X35 - Bool (and + (and (not (and (>= X33 3) (<= X33 6))) (and (>= X34 3) (<= X34 6))))) (let ((X36 - Int (ite + (ite X35 (ite (not (= X34 4)) 4 X34) X34))) (let - ((X37 Int (ite X32 X36 X33))) + ((X37 (ite X32 X36 X33))) (let - ((X38 Bool (or X32 X31))) + ((X38 (or X32 X31))) (let ((X39 - Bool (and + (and (= X37 7) (and (and @@ -3242,13 +3155,13 @@ (not X38))))) (let ((X40 - Int (ite + (ite X39 (ite (= X37 7) 2 X37) X37))) (let ((X41 - Int (ite + (ite X21 (ite (not (= X22 8)) @@ -3257,7 +3170,7 @@ X16))) (let ((X42 - Int (ite + (ite X25 (ite X28 @@ -3269,7 +3182,7 @@ X41))) (let ((X43 - Int (ite + (ite X32 (ite X35 @@ -3281,7 +3194,7 @@ X42))) (let ((X44 - Int (ite + (ite (not (and (>= X40 3) @@ -3290,7 +3203,7 @@ X40))) (let ((X45 - Bool (and + (and (not (and (>= X40 3) @@ -3300,7 +3213,7 @@ (<= X44 6))))) (let ((X46 - Int (ite + (ite X39 (ite X45 @@ -3312,7 +3225,7 @@ X43))) (let ((X47 - Int (ite + (ite X45 (ite (not (= X44 4)) @@ -3321,17 +3234,17 @@ X44))) (let ((X48 - Int (ite X39 X47 X40))) + (ite X39 X47 X40))) (let - ((X49 Bool (or X39 X38))) + ((X49 (or X39 X38))) (let ((X50 - Bool (and + (and (= X48 4) (= X24 1)))) (let ((X51 - Int (ite + (ite X50 (ite (= X48 4) @@ -3340,7 +3253,7 @@ X48))) (let ((X52 - Int (ite + (ite X50 (ite (not @@ -3350,7 +3263,7 @@ X51))) (let ((X53 - Int (ite + (ite (not (ite (= @@ -3362,14 +3275,14 @@ 1))) (let ((X54 - Bool (and + (and (= X52 4) (and (= X53 1) (not X50))))) (let ((X55 - Int (ite + (ite X54 (ite (= X52 4) @@ -3378,7 +3291,7 @@ X52))) (let ((X56 - Int (ite + (ite X54 (ite (not @@ -3388,12 +3301,12 @@ X55))) (let ((X57 - Bool (or + (or X54 X50))) (let ((X58 - Int (ite + (ite (not (ite (= @@ -3405,7 +3318,6 @@ 1))) (let ((X59 - Bool (and (= X56 4) (and @@ -3413,7 +3325,6 @@ (not X57))))) (let ((X60 - Int (ite X59 (ite @@ -3423,7 +3334,6 @@ X56))) (let ((X61 - Int (ite X59 (ite @@ -3434,13 +3344,11 @@ X60))) (let ((X62 - Bool (or X59 X57))) (let ((X63 - Bool (and (= X61 6) (and @@ -3448,7 +3356,6 @@ (not X62))))) (let ((X64 - Int (ite X63 (ite @@ -3458,7 +3365,6 @@ X61))) (let ((X65 - Int (ite X63 (ite @@ -3469,13 +3375,11 @@ X64))) (let ((X66 - Bool (or X63 X62))) (let ((X67 - Bool (and (= X65 5) (and @@ -3483,7 +3387,6 @@ (not X66))))) (let ((X68 - Int (ite X67 (ite @@ -3493,7 +3396,6 @@ X65))) (let ((X69 - Int (ite X50 (ite @@ -3504,7 +3406,6 @@ X46))) (let ((X70 - Int (ite X54 (ite @@ -3515,7 +3416,6 @@ X69))) (let ((X71 - Int (ite X59 (ite @@ -3526,7 +3426,6 @@ X70))) (let ((X72 - Int (ite X63 (ite @@ -3607,7 +3506,7 @@ top.impl.usr.rlt_condact_cruise_controller_CruiseController_SetDesiredSpeed_computeIncreaseInDesiredSpeed_rlt_clock! (+ X1 - (/ 1 20)) + (/ 1.0 20.0)) top.impl.usr.newDesiredSpeed))) (= top.impl.usr.rlt_condact_cruise_controller_CruiseController_SetDesiredSpeed_computeDecreaseInDesiredSpeed_rlt_init_step! @@ -3635,7 +3534,7 @@ top.impl.usr.rlt_condact_cruise_controller_CruiseController_SetDesiredSpeed_computeDecreaseInDesiredSpeed_rlt_clock! (- X1 - (/ 1 20)) + (/ 1.0 20.0)) top.impl.usr.newDesiredSpeed1))) (= top.impl.usr.cruise_controller_CruiseController_SetDesiredSpeed_IncreaseDesiredSpeed! @@ -3674,10 +3573,9 @@ 0.0))))) (let ((X73 - Int top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_setDesiredSpeed)) + top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_setDesiredSpeed)) (let ((X74 - Int (ite X8 (ite @@ -3697,7 +3595,6 @@ X73))) (let ((X75 - Int (ite X39 1 @@ -3722,7 +3619,6 @@ X74))))) (let ((X76 - Int (ite X67 (ite @@ -3733,14 +3629,12 @@ X68))) (let ((X77 - Int (ite X50 1 X75))) (let ((X78 - Int (ite X54 (ite @@ -3837,7 +3731,6 @@ top.impl.usr.desiredSpeed))) (let ((X79 - Int (ite (not (= X6 1)) diff --git a/lib-nonconforming/Inv_Track/andrew_lustre/cruise_controller_24.lus.sl b/lib/Inv_Track/andrew_lustre/cruise_controller_24.lus.sl similarity index 90% rename from lib-nonconforming/Inv_Track/andrew_lustre/cruise_controller_24.lus.sl rename to lib/Inv_Track/andrew_lustre/cruise_controller_24.lus.sl index 94f3a7c7..5fff2ca3 100644 --- a/lib-nonconforming/Inv_Track/andrew_lustre/cruise_controller_24.lus.sl +++ b/lib/Inv_Track/andrew_lustre/cruise_controller_24.lus.sl @@ -22,10 +22,10 @@ ) Bool (let - ((X1 Bool false)) + ((X1 false)) (let ((X2 - Bool (and + (and (and (and (and (not top.usr.cancel_a_0) (not top.usr.brakePedal_a_0)) @@ -33,7 +33,7 @@ (ite (>= top.usr.carSpeed_a_0 15.0) true false)) top.usr.validInputs_a_0))) (let - ((X3 Bool false)) + ((X3 false)) (and (= top.impl.usr.cruise_controller_CruiseController_ModeLogic_DelayOnsetDecel_Bounded_Count_Out_a_0 @@ -64,47 +64,47 @@ (ite top.usr.accelResume_a_0 1 0)) 20)) (let - ((X4 Int 0)) + ((X4 0)) (let - ((X5 Int 0)) + ((X5 0)) (and (= top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep_a_0 true) (let - ((X6 Int (ite (not top.usr.onOff_a_0) 0 1))) + ((X6 (ite (not top.usr.onOff_a_0) 0 1))) (let ((X7 - Bool (and + (and (and (>= X5 2) (<= X5 8)) (not (ite (not (= X6 0)) true false))))) (let - ((X8 Int (ite X7 (ite (and (>= X5 2) (<= X5 8)) 0 X5) X5))) + ((X8 (ite X7 (ite (and (>= X5 2) (<= X5 8)) 0 X5) X5))) (let - ((X9 Int (ite X7 (ite (not (= X8 1)) 1 X8) X8))) + ((X9 (ite X7 (ite (not (= X8 1)) 1 X8) X8))) (let ((X10 - Bool (and + (and (= X9 1) (and (ite (not (= X6 0)) true false) (not X7))))) (let - ((X11 Int (ite X10 (ite (= X9 1) 0 X9) X9))) + ((X11 (ite X10 (ite (= X9 1) 0 X9) X9))) (let - ((X12 Int (ite (not (and (>= X11 2) (<= X11 8))) 2 X11))) + ((X12 (ite (not (and (>= X11 2) (<= X11 8))) 2 X11))) (let ((X13 - Bool (and + (and (not (and (>= X11 2) (<= X11 8))) (and (>= X12 2) (<= X12 8))))) (let - ((X14 Int (ite X13 (ite (not (= X12 7)) 7 X12) X12))) + ((X14 (ite X13 (ite (not (= X12 7)) 7 X12) X12))) (let - ((X15 Int (ite X10 X14 X11))) + ((X15 (ite X10 X14 X11))) (let - ((X16 Bool (or X10 X7))) + ((X16 (or X10 X7))) (let ((X17 - Int (ite + (ite X7 (ite (and (>= X5 2) (<= X5 8)) @@ -115,25 +115,25 @@ X4) X4))) (let - ((X18 Int (ite (not X2) 0 1))) + ((X18 (ite (not X2) 0 1))) (let ((X19 - Bool (and + (and (and (>= X15 3) (<= X15 6)) (not (ite (not (= X18 0)) true false))))) (let ((X20 - Int (ite + (ite X19 (ite (and (>= X15 3) (<= X15 6)) 2 X15) X15))) (let - ((X21 Int (ite X19 (ite (not (= X20 8)) 8 X20) X20))) + ((X21 (ite X19 (ite (not (= X20 8)) 8 X20) X20))) (let - ((X22 Int (ite (not X1) 0 1))) + ((X22 (ite (not X1) 0 1))) (let ((X23 - Bool (and + (and (= X21 8) (and (and @@ -147,31 +147,31 @@ false)) (not X19))))) (let - ((X24 Int (ite X23 (ite (= X21 8) 2 X21) X21))) + ((X24 (ite X23 (ite (= X21 8) 2 X21) X21))) (let ((X25 - Int (ite + (ite (not (and (>= X24 3) (<= X24 6))) 3 X24))) (let ((X26 - Bool (and + (and (not (and (>= X24 3) (<= X24 6))) (and (>= X25 3) (<= X25 6))))) (let ((X27 - Int (ite + (ite X26 (ite (not (= X25 4)) 4 X25) X25))) (let - ((X28 Int (ite X23 X27 X24))) + ((X28 (ite X23 X27 X24))) (let - ((X29 Bool (or X23 X19))) + ((X29 (or X23 X19))) (let ((X30 - Bool (and + (and (= X28 8) (and (and @@ -194,32 +194,32 @@ (not X29))))) (let ((X31 - Int (ite X30 (ite (= X28 8) 2 X28) X28))) + (ite X30 (ite (= X28 8) 2 X28) X28))) (let ((X32 - Int (ite + (ite (not (and (>= X31 3) (<= X31 6))) 3 X31))) (let ((X33 - Bool (and + (and (not (and (>= X31 3) (<= X31 6))) (and (>= X32 3) (<= X32 6))))) (let ((X34 - Int (ite + (ite X33 (ite (not (= X32 4)) 4 X32) X32))) (let - ((X35 Int (ite X30 X34 X31))) + ((X35 (ite X30 X34 X31))) (let - ((X36 Bool (or X30 X29))) + ((X36 (or X30 X29))) (let ((X37 - Bool (and + (and (= X35 7) (and (and @@ -246,13 +246,13 @@ (not X36))))) (let ((X38 - Int (ite + (ite X37 (ite (= X35 7) 2 X35) X35))) (let ((X39 - Int (ite + (ite (not (and (>= X38 3) @@ -261,7 +261,7 @@ X38))) (let ((X40 - Bool (and + (and (not (and (>= X38 3) @@ -271,7 +271,7 @@ (<= X39 6))))) (let ((X41 - Int (ite + (ite X40 (ite (not (= X39 4)) @@ -279,10 +279,10 @@ X39) X39))) (let - ((X42 Int (ite X37 X41 X38))) + ((X42 (ite X37 X41 X38))) (let ((X43 - Int (ite + (ite X37 1 (ite @@ -301,15 +301,15 @@ X17) X17))))) (let - ((X44 Bool (or X37 X36))) + ((X44 (or X37 X36))) (let ((X45 - Bool (and + (and (= X42 4) (= X22 1)))) (let ((X46 - Int (ite + (ite X45 (ite (= X42 4) @@ -318,7 +318,7 @@ X42))) (let ((X47 - Int (ite + (ite X45 (ite (not (= X46 4)) @@ -327,7 +327,7 @@ X46))) (let ((X48 - Int (ite + (ite (not (ite (= @@ -339,14 +339,14 @@ 1))) (let ((X49 - Bool (and + (and (= X47 4) (and (= X48 1) (not X45))))) (let ((X50 - Int (ite + (ite X49 (ite (= X47 4) @@ -355,7 +355,7 @@ X47))) (let ((X51 - Int (ite + (ite X49 (ite (not @@ -365,10 +365,10 @@ X50))) (let ((X52 - Bool (or X49 X45))) + (or X49 X45))) (let ((X53 - Int (ite + (ite (not (ite (= @@ -380,14 +380,14 @@ 1))) (let ((X54 - Bool (and + (and (= X51 4) (and (= X53 1) (not X52))))) (let ((X55 - Int (ite + (ite X54 (ite (= X51 4) @@ -396,7 +396,7 @@ X51))) (let ((X56 - Int (ite + (ite X54 (ite (not @@ -406,12 +406,11 @@ X55))) (let ((X57 - Bool (or + (or X54 X52))) (let ((X58 - Bool (and (= X56 6) (and @@ -419,7 +418,6 @@ (not X57))))) (let ((X59 - Int (ite X58 (ite @@ -429,7 +427,6 @@ X56))) (let ((X60 - Int (ite X58 (ite @@ -440,13 +437,11 @@ X59))) (let ((X61 - Bool (or X58 X57))) (let ((X62 - Bool (and (= X60 5) (and @@ -454,7 +449,6 @@ (not X61))))) (let ((X63 - Int (ite X62 (ite @@ -464,7 +458,6 @@ X60))) (let ((X64 - Int (ite X62 (ite @@ -475,14 +468,12 @@ X63))) (let ((X65 - Int (ite X45 1 X43))) (let ((X66 - Int (ite X49 (ite @@ -541,10 +532,9 @@ X4)) (let ((X67 - Int 0)) + 0)) (let ((X68 - Int (ite X7 (ite @@ -555,7 +545,6 @@ X67))) (let ((X69 - Int (ite X10 (ite @@ -569,7 +558,6 @@ X68))) (let ((X70 - Int (ite X19 (ite @@ -580,7 +568,6 @@ X69))) (let ((X71 - Int (ite X23 (ite @@ -594,7 +581,6 @@ X70))) (let ((X72 - Int (ite X30 (ite @@ -608,7 +594,6 @@ X71))) (let ((X73 - Int (ite X37 (ite @@ -622,7 +607,6 @@ X72))) (let ((X74 - Int (ite X45 (ite @@ -633,7 +617,6 @@ X73))) (let ((X75 - Int (ite X49 (ite @@ -644,7 +627,6 @@ X74))) (let ((X76 - Int (ite X54 (ite @@ -655,7 +637,6 @@ X75))) (let ((X77 - Int (ite X58 (ite @@ -719,7 +700,6 @@ 4))) (let ((X78 - Int (ite (not (= X5 1)) @@ -819,10 +799,10 @@ ) Bool (let - ((X1 Bool (and (not top.usr.decelSet_a_0) top.usr.decelSet_a_1))) + ((X1 (and (not top.usr.decelSet_a_0) top.usr.decelSet_a_1))) (let ((X2 - Bool (and + (and (and (and (and (not top.usr.cancel_a_1) (not top.usr.brakePedal_a_1)) @@ -830,7 +810,7 @@ (ite (>= top.usr.carSpeed_a_1 15.0) true false)) top.usr.validInputs_a_1))) (let - ((X3 Bool (and (not top.usr.accelResume_a_0) top.usr.accelResume_a_1))) + ((X3 (and (not top.usr.accelResume_a_0) top.usr.accelResume_a_1))) (and (= top.impl.usr.cruise_controller_CruiseController_ModeLogic_DelayOnsetDecel_Bounded_Count_Out_a_1 @@ -910,10 +890,10 @@ 20)) (let ((X4 - Int top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_setDesiredSpeed_a_0)) + top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_setDesiredSpeed_a_0)) (let ((X5 - Int top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_final_state_states___root_a_0)) + top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_final_state_states___root_a_0)) (and (= top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep_a_1 @@ -922,39 +902,39 @@ false top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep_a_0)) (let - ((X6 Int (ite (not top.usr.onOff_a_1) 0 1))) + ((X6 (ite (not top.usr.onOff_a_1) 0 1))) (let ((X7 - Bool (and + (and (and (>= X5 2) (<= X5 8)) (not (ite (not (= X6 0)) true false))))) (let - ((X8 Int (ite X7 (ite (and (>= X5 2) (<= X5 8)) 0 X5) X5))) + ((X8 (ite X7 (ite (and (>= X5 2) (<= X5 8)) 0 X5) X5))) (let - ((X9 Int (ite X7 (ite (not (= X8 1)) 1 X8) X8))) + ((X9 (ite X7 (ite (not (= X8 1)) 1 X8) X8))) (let ((X10 - Bool (and + (and (= X9 1) (and (ite (not (= X6 0)) true false) (not X7))))) (let - ((X11 Int (ite X10 (ite (= X9 1) 0 X9) X9))) + ((X11 (ite X10 (ite (= X9 1) 0 X9) X9))) (let - ((X12 Int (ite (not (and (>= X11 2) (<= X11 8))) 2 X11))) + ((X12 (ite (not (and (>= X11 2) (<= X11 8))) 2 X11))) (let ((X13 - Bool (and + (and (not (and (>= X11 2) (<= X11 8))) (and (>= X12 2) (<= X12 8))))) (let - ((X14 Int (ite X13 (ite (not (= X12 7)) 7 X12) X12))) + ((X14 (ite X13 (ite (not (= X12 7)) 7 X12) X12))) (let - ((X15 Int (ite X10 X14 X11))) + ((X15 (ite X10 X14 X11))) (let - ((X16 Bool (or X10 X7))) + ((X16 (or X10 X7))) (let ((X17 - Int (ite + (ite X7 (ite (and (>= X5 2) (<= X5 8)) @@ -965,25 +945,25 @@ X4) X4))) (let - ((X18 Int (ite (not X2) 0 1))) + ((X18 (ite (not X2) 0 1))) (let ((X19 - Bool (and + (and (and (>= X15 3) (<= X15 6)) (not (ite (not (= X18 0)) true false))))) (let ((X20 - Int (ite + (ite X19 (ite (and (>= X15 3) (<= X15 6)) 2 X15) X15))) (let - ((X21 Int (ite X19 (ite (not (= X20 8)) 8 X20) X20))) + ((X21 (ite X19 (ite (not (= X20 8)) 8 X20) X20))) (let - ((X22 Int (ite (not X1) 0 1))) + ((X22 (ite (not X1) 0 1))) (let ((X23 - Bool (and + (and (= X21 8) (and (and @@ -997,31 +977,31 @@ false)) (not X19))))) (let - ((X24 Int (ite X23 (ite (= X21 8) 2 X21) X21))) + ((X24 (ite X23 (ite (= X21 8) 2 X21) X21))) (let ((X25 - Int (ite + (ite (not (and (>= X24 3) (<= X24 6))) 3 X24))) (let ((X26 - Bool (and + (and (not (and (>= X24 3) (<= X24 6))) (and (>= X25 3) (<= X25 6))))) (let ((X27 - Int (ite + (ite X26 (ite (not (= X25 4)) 4 X25) X25))) (let - ((X28 Int (ite X23 X27 X24))) + ((X28 (ite X23 X27 X24))) (let - ((X29 Bool (or X23 X19))) + ((X29 (or X23 X19))) (let ((X30 - Bool (and + (and (= X28 8) (and (and @@ -1044,32 +1024,32 @@ (not X29))))) (let ((X31 - Int (ite X30 (ite (= X28 8) 2 X28) X28))) + (ite X30 (ite (= X28 8) 2 X28) X28))) (let ((X32 - Int (ite + (ite (not (and (>= X31 3) (<= X31 6))) 3 X31))) (let ((X33 - Bool (and + (and (not (and (>= X31 3) (<= X31 6))) (and (>= X32 3) (<= X32 6))))) (let ((X34 - Int (ite + (ite X33 (ite (not (= X32 4)) 4 X32) X32))) (let - ((X35 Int (ite X30 X34 X31))) + ((X35 (ite X30 X34 X31))) (let - ((X36 Bool (or X30 X29))) + ((X36 (or X30 X29))) (let ((X37 - Bool (and + (and (= X35 7) (and (and @@ -1096,13 +1076,13 @@ (not X36))))) (let ((X38 - Int (ite + (ite X37 (ite (= X35 7) 2 X35) X35))) (let ((X39 - Int (ite + (ite (not (and (>= X38 3) @@ -1111,7 +1091,7 @@ X38))) (let ((X40 - Bool (and + (and (not (and (>= X38 3) @@ -1121,7 +1101,7 @@ (<= X39 6))))) (let ((X41 - Int (ite + (ite X40 (ite (not (= X39 4)) @@ -1129,10 +1109,10 @@ X39) X39))) (let - ((X42 Int (ite X37 X41 X38))) + ((X42 (ite X37 X41 X38))) (let ((X43 - Int (ite + (ite X37 1 (ite @@ -1151,15 +1131,15 @@ X17) X17))))) (let - ((X44 Bool (or X37 X36))) + ((X44 (or X37 X36))) (let ((X45 - Bool (and + (and (= X42 4) (= X22 1)))) (let ((X46 - Int (ite + (ite X45 (ite (= X42 4) @@ -1168,7 +1148,7 @@ X42))) (let ((X47 - Int (ite + (ite X45 (ite (not (= X46 4)) @@ -1177,7 +1157,7 @@ X46))) (let ((X48 - Int (ite + (ite (not (ite (= @@ -1189,14 +1169,14 @@ 1))) (let ((X49 - Bool (and + (and (= X47 4) (and (= X48 1) (not X45))))) (let ((X50 - Int (ite + (ite X49 (ite (= X47 4) @@ -1205,7 +1185,7 @@ X47))) (let ((X51 - Int (ite + (ite X49 (ite (not @@ -1215,10 +1195,10 @@ X50))) (let ((X52 - Bool (or X49 X45))) + (or X49 X45))) (let ((X53 - Int (ite + (ite (not (ite (= @@ -1230,14 +1210,14 @@ 1))) (let ((X54 - Bool (and + (and (= X51 4) (and (= X53 1) (not X52))))) (let ((X55 - Int (ite + (ite X54 (ite (= X51 4) @@ -1246,7 +1226,7 @@ X51))) (let ((X56 - Int (ite + (ite X54 (ite (not @@ -1256,12 +1236,11 @@ X55))) (let ((X57 - Bool (or + (or X54 X52))) (let ((X58 - Bool (and (= X56 6) (and @@ -1269,7 +1248,6 @@ (not X57))))) (let ((X59 - Int (ite X58 (ite @@ -1279,7 +1257,6 @@ X56))) (let ((X60 - Int (ite X58 (ite @@ -1290,13 +1267,11 @@ X59))) (let ((X61 - Bool (or X58 X57))) (let ((X62 - Bool (and (= X60 5) (and @@ -1304,7 +1279,6 @@ (not X61))))) (let ((X63 - Int (ite X62 (ite @@ -1314,7 +1288,6 @@ X60))) (let ((X64 - Int (ite X62 (ite @@ -1325,14 +1298,12 @@ X63))) (let ((X65 - Int (ite X45 1 X43))) (let ((X66 - Int (ite X49 (ite @@ -1391,10 +1362,9 @@ X4)) (let ((X67 - Int top.impl.usr.mode_a_0)) + top.impl.usr.mode_a_0)) (let ((X68 - Int (ite X7 (ite @@ -1405,7 +1375,6 @@ X67))) (let ((X69 - Int (ite X10 (ite @@ -1419,7 +1388,6 @@ X68))) (let ((X70 - Int (ite X19 (ite @@ -1430,7 +1398,6 @@ X69))) (let ((X71 - Int (ite X23 (ite @@ -1444,7 +1411,6 @@ X70))) (let ((X72 - Int (ite X30 (ite @@ -1458,7 +1424,6 @@ X71))) (let ((X73 - Int (ite X37 (ite @@ -1472,7 +1437,6 @@ X72))) (let ((X74 - Int (ite X45 (ite @@ -1483,7 +1447,6 @@ X73))) (let ((X75 - Int (ite X49 (ite @@ -1494,7 +1457,6 @@ X74))) (let ((X76 - Int (ite X54 (ite @@ -1505,7 +1467,6 @@ X75))) (let ((X77 - Int (ite X58 (ite @@ -1569,7 +1530,6 @@ 4))) (let ((X78 - Int (ite (not (= X5 1)) @@ -1654,24 +1614,6 @@ )) -(declare-primed-var top.usr.onOff Bool) -(declare-primed-var top.usr.decelSet Bool) -(declare-primed-var top.usr.accelResume Bool) -(declare-primed-var top.usr.cancel Bool) -(declare-primed-var top.usr.brakePedal Bool) -(declare-primed-var top.usr.carGear Int) -(declare-primed-var top.usr.carSpeed Real) -(declare-primed-var top.usr.validInputs Bool) -(declare-primed-var top.usr.OK Bool) -(declare-primed-var top.res.init_flag Bool) -(declare-primed-var top.impl.usr.mode Int) -(declare-primed-var top.impl.usr.chart_CruiseController_ModeLogic_mode_logic____wakeup___ Bool) -(declare-primed-var top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep Bool) -(declare-primed-var top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_final_state_states___root Int) -(declare-primed-var top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_setDesiredSpeed Int) -(declare-primed-var top.impl.usr.cruise_controller_CruiseController_ModeLogic_DelayOnsetAccel_Bounded_Count_Out Int) -(declare-primed-var top.impl.usr.cruise_controller_CruiseController_ModeLogic_DelayOnsetDecel_Bounded_Count_Out Int) - (define-fun init ( (top.usr.onOff Bool) @@ -1694,10 +1636,10 @@ ) Bool (let - ((X1 Bool false)) + ((X1 false)) (let ((X2 - Bool (and + (and (and (and (and (not top.usr.cancel) (not top.usr.brakePedal)) @@ -1705,7 +1647,7 @@ (ite (>= top.usr.carSpeed 15.0) true false)) top.usr.validInputs))) (let - ((X3 Bool false)) + ((X3 false)) (and (= top.impl.usr.cruise_controller_CruiseController_ModeLogic_DelayOnsetDecel_Bounded_Count_Out @@ -1730,47 +1672,47 @@ (ite top.usr.accelResume 1 0)) 20)) (let - ((X4 Int 0)) + ((X4 0)) (let - ((X5 Int 0)) + ((X5 0)) (and (= top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep true) (let - ((X6 Int (ite (not top.usr.onOff) 0 1))) + ((X6 (ite (not top.usr.onOff) 0 1))) (let ((X7 - Bool (and + (and (and (>= X5 2) (<= X5 8)) (not (ite (not (= X6 0)) true false))))) (let - ((X8 Int (ite X7 (ite (and (>= X5 2) (<= X5 8)) 0 X5) X5))) + ((X8 (ite X7 (ite (and (>= X5 2) (<= X5 8)) 0 X5) X5))) (let - ((X9 Int (ite X7 (ite (not (= X8 1)) 1 X8) X8))) + ((X9 (ite X7 (ite (not (= X8 1)) 1 X8) X8))) (let ((X10 - Bool (and + (and (= X9 1) (and (ite (not (= X6 0)) true false) (not X7))))) (let - ((X11 Int (ite X10 (ite (= X9 1) 0 X9) X9))) + ((X11 (ite X10 (ite (= X9 1) 0 X9) X9))) (let - ((X12 Int (ite (not (and (>= X11 2) (<= X11 8))) 2 X11))) + ((X12 (ite (not (and (>= X11 2) (<= X11 8))) 2 X11))) (let ((X13 - Bool (and + (and (not (and (>= X11 2) (<= X11 8))) (and (>= X12 2) (<= X12 8))))) (let - ((X14 Int (ite X13 (ite (not (= X12 7)) 7 X12) X12))) + ((X14 (ite X13 (ite (not (= X12 7)) 7 X12) X12))) (let - ((X15 Int (ite X10 X14 X11))) + ((X15 (ite X10 X14 X11))) (let - ((X16 Bool (or X10 X7))) + ((X16 (or X10 X7))) (let ((X17 - Int (ite + (ite X7 (ite (and (>= X5 2) (<= X5 8)) @@ -1781,25 +1723,25 @@ X4) X4))) (let - ((X18 Int (ite (not X2) 0 1))) + ((X18 (ite (not X2) 0 1))) (let ((X19 - Bool (and + (and (and (>= X15 3) (<= X15 6)) (not (ite (not (= X18 0)) true false))))) (let ((X20 - Int (ite + (ite X19 (ite (and (>= X15 3) (<= X15 6)) 2 X15) X15))) (let - ((X21 Int (ite X19 (ite (not (= X20 8)) 8 X20) X20))) + ((X21 (ite X19 (ite (not (= X20 8)) 8 X20) X20))) (let - ((X22 Int (ite (not X1) 0 1))) + ((X22 (ite (not X1) 0 1))) (let ((X23 - Bool (and + (and (= X21 8) (and (and @@ -1813,31 +1755,31 @@ false)) (not X19))))) (let - ((X24 Int (ite X23 (ite (= X21 8) 2 X21) X21))) + ((X24 (ite X23 (ite (= X21 8) 2 X21) X21))) (let ((X25 - Int (ite + (ite (not (and (>= X24 3) (<= X24 6))) 3 X24))) (let ((X26 - Bool (and + (and (not (and (>= X24 3) (<= X24 6))) (and (>= X25 3) (<= X25 6))))) (let ((X27 - Int (ite + (ite X26 (ite (not (= X25 4)) 4 X25) X25))) (let - ((X28 Int (ite X23 X27 X24))) + ((X28 (ite X23 X27 X24))) (let - ((X29 Bool (or X23 X19))) + ((X29 (or X23 X19))) (let ((X30 - Bool (and + (and (= X28 8) (and (and @@ -1860,32 +1802,32 @@ (not X29))))) (let ((X31 - Int (ite X30 (ite (= X28 8) 2 X28) X28))) + (ite X30 (ite (= X28 8) 2 X28) X28))) (let ((X32 - Int (ite + (ite (not (and (>= X31 3) (<= X31 6))) 3 X31))) (let ((X33 - Bool (and + (and (not (and (>= X31 3) (<= X31 6))) (and (>= X32 3) (<= X32 6))))) (let ((X34 - Int (ite + (ite X33 (ite (not (= X32 4)) 4 X32) X32))) (let - ((X35 Int (ite X30 X34 X31))) + ((X35 (ite X30 X34 X31))) (let - ((X36 Bool (or X30 X29))) + ((X36 (or X30 X29))) (let ((X37 - Bool (and + (and (= X35 7) (and (and @@ -1912,13 +1854,13 @@ (not X36))))) (let ((X38 - Int (ite + (ite X37 (ite (= X35 7) 2 X35) X35))) (let ((X39 - Int (ite + (ite (not (and (>= X38 3) @@ -1927,7 +1869,7 @@ X38))) (let ((X40 - Bool (and + (and (not (and (>= X38 3) @@ -1937,7 +1879,7 @@ (<= X39 6))))) (let ((X41 - Int (ite + (ite X40 (ite (not (= X39 4)) @@ -1945,10 +1887,10 @@ X39) X39))) (let - ((X42 Int (ite X37 X41 X38))) + ((X42 (ite X37 X41 X38))) (let ((X43 - Int (ite + (ite X37 1 (ite @@ -1967,15 +1909,15 @@ X17) X17))))) (let - ((X44 Bool (or X37 X36))) + ((X44 (or X37 X36))) (let ((X45 - Bool (and + (and (= X42 4) (= X22 1)))) (let ((X46 - Int (ite + (ite X45 (ite (= X42 4) @@ -1984,7 +1926,7 @@ X42))) (let ((X47 - Int (ite + (ite X45 (ite (not (= X46 4)) @@ -1993,7 +1935,7 @@ X46))) (let ((X48 - Int (ite + (ite (not (ite (= @@ -2005,14 +1947,14 @@ 1))) (let ((X49 - Bool (and + (and (= X47 4) (and (= X48 1) (not X45))))) (let ((X50 - Int (ite + (ite X49 (ite (= X47 4) @@ -2021,7 +1963,7 @@ X47))) (let ((X51 - Int (ite + (ite X49 (ite (not @@ -2031,10 +1973,10 @@ X50))) (let ((X52 - Bool (or X49 X45))) + (or X49 X45))) (let ((X53 - Int (ite + (ite (not (ite (= @@ -2046,14 +1988,14 @@ 1))) (let ((X54 - Bool (and + (and (= X51 4) (and (= X53 1) (not X52))))) (let ((X55 - Int (ite + (ite X54 (ite (= X51 4) @@ -2062,7 +2004,7 @@ X51))) (let ((X56 - Int (ite + (ite X54 (ite (not @@ -2072,12 +2014,11 @@ X55))) (let ((X57 - Bool (or + (or X54 X52))) (let ((X58 - Bool (and (= X56 6) (and @@ -2085,7 +2026,6 @@ (not X57))))) (let ((X59 - Int (ite X58 (ite @@ -2095,7 +2035,6 @@ X56))) (let ((X60 - Int (ite X58 (ite @@ -2106,13 +2045,11 @@ X59))) (let ((X61 - Bool (or X58 X57))) (let ((X62 - Bool (and (= X60 5) (and @@ -2120,7 +2057,6 @@ (not X61))))) (let ((X63 - Int (ite X62 (ite @@ -2130,7 +2066,6 @@ X60))) (let ((X64 - Int (ite X62 (ite @@ -2141,14 +2076,12 @@ X63))) (let ((X65 - Int (ite X45 1 X43))) (let ((X66 - Int (ite X49 (ite @@ -2207,10 +2140,9 @@ X4)) (let ((X67 - Int 0)) + 0)) (let ((X68 - Int (ite X7 (ite @@ -2221,7 +2153,6 @@ X67))) (let ((X69 - Int (ite X10 (ite @@ -2235,7 +2166,6 @@ X68))) (let ((X70 - Int (ite X19 (ite @@ -2246,7 +2176,6 @@ X69))) (let ((X71 - Int (ite X23 (ite @@ -2260,7 +2189,6 @@ X70))) (let ((X72 - Int (ite X30 (ite @@ -2274,7 +2202,6 @@ X71))) (let ((X73 - Int (ite X37 (ite @@ -2288,7 +2215,6 @@ X72))) (let ((X74 - Int (ite X45 (ite @@ -2299,7 +2225,6 @@ X73))) (let ((X75 - Int (ite X49 (ite @@ -2310,7 +2235,6 @@ X74))) (let ((X76 - Int (ite X54 (ite @@ -2321,7 +2245,6 @@ X75))) (let ((X77 - Int (ite X58 (ite @@ -2385,7 +2308,6 @@ 4))) (let ((X78 - Int (ite (not (= X5 1)) @@ -2490,10 +2412,10 @@ ) Bool (let - ((X1 Bool (and (not top.usr.decelSet) top.usr.decelSet!))) + ((X1 (and (not top.usr.decelSet) top.usr.decelSet!))) (let ((X2 - Bool (and + (and (and (and (and (not top.usr.cancel!) (not top.usr.brakePedal!)) @@ -2501,7 +2423,7 @@ (ite (>= top.usr.carSpeed! 15.0) true false)) top.usr.validInputs!))) (let - ((X3 Bool (and (not top.usr.accelResume) top.usr.accelResume!))) + ((X3 (and (not top.usr.accelResume) top.usr.accelResume!))) (and (= top.impl.usr.cruise_controller_CruiseController_ModeLogic_DelayOnsetDecel_Bounded_Count_Out! @@ -2581,10 +2503,10 @@ 20)) (let ((X4 - Int top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_setDesiredSpeed)) + top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_setDesiredSpeed)) (let ((X5 - Int top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_final_state_states___root)) + top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_final_state_states___root)) (and (= top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep! @@ -2593,39 +2515,39 @@ false top.impl.usr.chart_CruiseController_ModeLogic_mode_logic_rlt_evtInitStep)) (let - ((X6 Int (ite (not top.usr.onOff!) 0 1))) + ((X6 (ite (not top.usr.onOff!) 0 1))) (let ((X7 - Bool (and + (and (and (>= X5 2) (<= X5 8)) (not (ite (not (= X6 0)) true false))))) (let - ((X8 Int (ite X7 (ite (and (>= X5 2) (<= X5 8)) 0 X5) X5))) + ((X8 (ite X7 (ite (and (>= X5 2) (<= X5 8)) 0 X5) X5))) (let - ((X9 Int (ite X7 (ite (not (= X8 1)) 1 X8) X8))) + ((X9 (ite X7 (ite (not (= X8 1)) 1 X8) X8))) (let ((X10 - Bool (and + (and (= X9 1) (and (ite (not (= X6 0)) true false) (not X7))))) (let - ((X11 Int (ite X10 (ite (= X9 1) 0 X9) X9))) + ((X11 (ite X10 (ite (= X9 1) 0 X9) X9))) (let - ((X12 Int (ite (not (and (>= X11 2) (<= X11 8))) 2 X11))) + ((X12 (ite (not (and (>= X11 2) (<= X11 8))) 2 X11))) (let ((X13 - Bool (and + (and (not (and (>= X11 2) (<= X11 8))) (and (>= X12 2) (<= X12 8))))) (let - ((X14 Int (ite X13 (ite (not (= X12 7)) 7 X12) X12))) + ((X14 (ite X13 (ite (not (= X12 7)) 7 X12) X12))) (let - ((X15 Int (ite X10 X14 X11))) + ((X15 (ite X10 X14 X11))) (let - ((X16 Bool (or X10 X7))) + ((X16 (or X10 X7))) (let ((X17 - Int (ite + (ite X7 (ite (and (>= X5 2) (<= X5 8)) @@ -2636,25 +2558,25 @@ X4) X4))) (let - ((X18 Int (ite (not X2) 0 1))) + ((X18 (ite (not X2) 0 1))) (let ((X19 - Bool (and + (and (and (>= X15 3) (<= X15 6)) (not (ite (not (= X18 0)) true false))))) (let ((X20 - Int (ite + (ite X19 (ite (and (>= X15 3) (<= X15 6)) 2 X15) X15))) (let - ((X21 Int (ite X19 (ite (not (= X20 8)) 8 X20) X20))) + ((X21 (ite X19 (ite (not (= X20 8)) 8 X20) X20))) (let - ((X22 Int (ite (not X1) 0 1))) + ((X22 (ite (not X1) 0 1))) (let ((X23 - Bool (and + (and (= X21 8) (and (and @@ -2668,31 +2590,31 @@ false)) (not X19))))) (let - ((X24 Int (ite X23 (ite (= X21 8) 2 X21) X21))) + ((X24 (ite X23 (ite (= X21 8) 2 X21) X21))) (let ((X25 - Int (ite + (ite (not (and (>= X24 3) (<= X24 6))) 3 X24))) (let ((X26 - Bool (and + (and (not (and (>= X24 3) (<= X24 6))) (and (>= X25 3) (<= X25 6))))) (let ((X27 - Int (ite + (ite X26 (ite (not (= X25 4)) 4 X25) X25))) (let - ((X28 Int (ite X23 X27 X24))) + ((X28 (ite X23 X27 X24))) (let - ((X29 Bool (or X23 X19))) + ((X29 (or X23 X19))) (let ((X30 - Bool (and + (and (= X28 8) (and (and @@ -2715,32 +2637,32 @@ (not X29))))) (let ((X31 - Int (ite X30 (ite (= X28 8) 2 X28) X28))) + (ite X30 (ite (= X28 8) 2 X28) X28))) (let ((X32 - Int (ite + (ite (not (and (>= X31 3) (<= X31 6))) 3 X31))) (let ((X33 - Bool (and + (and (not (and (>= X31 3) (<= X31 6))) (and (>= X32 3) (<= X32 6))))) (let ((X34 - Int (ite + (ite X33 (ite (not (= X32 4)) 4 X32) X32))) (let - ((X35 Int (ite X30 X34 X31))) + ((X35 (ite X30 X34 X31))) (let - ((X36 Bool (or X30 X29))) + ((X36 (or X30 X29))) (let ((X37 - Bool (and + (and (= X35 7) (and (and @@ -2767,13 +2689,13 @@ (not X36))))) (let ((X38 - Int (ite + (ite X37 (ite (= X35 7) 2 X35) X35))) (let ((X39 - Int (ite + (ite (not (and (>= X38 3) @@ -2782,7 +2704,7 @@ X38))) (let ((X40 - Bool (and + (and (not (and (>= X38 3) @@ -2792,7 +2714,7 @@ (<= X39 6))))) (let ((X41 - Int (ite + (ite X40 (ite (not (= X39 4)) @@ -2800,10 +2722,10 @@ X39) X39))) (let - ((X42 Int (ite X37 X41 X38))) + ((X42 (ite X37 X41 X38))) (let ((X43 - Int (ite + (ite X37 1 (ite @@ -2822,15 +2744,15 @@ X17) X17))))) (let - ((X44 Bool (or X37 X36))) + ((X44 (or X37 X36))) (let ((X45 - Bool (and + (and (= X42 4) (= X22 1)))) (let ((X46 - Int (ite + (ite X45 (ite (= X42 4) @@ -2839,7 +2761,7 @@ X42))) (let ((X47 - Int (ite + (ite X45 (ite (not (= X46 4)) @@ -2848,7 +2770,7 @@ X46))) (let ((X48 - Int (ite + (ite (not (ite (= @@ -2860,14 +2782,14 @@ 1))) (let ((X49 - Bool (and + (and (= X47 4) (and (= X48 1) (not X45))))) (let ((X50 - Int (ite + (ite X49 (ite (= X47 4) @@ -2876,7 +2798,7 @@ X47))) (let ((X51 - Int (ite + (ite X49 (ite (not @@ -2886,10 +2808,10 @@ X50))) (let ((X52 - Bool (or X49 X45))) + (or X49 X45))) (let ((X53 - Int (ite + (ite (not (ite (= @@ -2901,14 +2823,14 @@ 1))) (let ((X54 - Bool (and + (and (= X51 4) (and (= X53 1) (not X52))))) (let ((X55 - Int (ite + (ite X54 (ite (= X51 4) @@ -2917,7 +2839,7 @@ X51))) (let ((X56 - Int (ite + (ite X54 (ite (not @@ -2927,12 +2849,11 @@ X55))) (let ((X57 - Bool (or + (or X54 X52))) (let ((X58 - Bool (and (= X56 6) (and @@ -2940,7 +2861,6 @@ (not X57))))) (let ((X59 - Int (ite X58 (ite @@ -2950,7 +2870,6 @@ X56))) (let ((X60 - Int (ite X58 (ite @@ -2961,13 +2880,11 @@ X59))) (let ((X61 - Bool (or X58 X57))) (let ((X62 - Bool (and (= X60 5) (and @@ -2975,7 +2892,6 @@ (not X61))))) (let ((X63 - Int (ite X62 (ite @@ -2985,7 +2901,6 @@ X60))) (let ((X64 - Int (ite X62 (ite @@ -2996,14 +2911,12 @@ X63))) (let ((X65 - Int (ite X45 1 X43))) (let ((X66 - Int (ite X49 (ite @@ -3062,10 +2975,9 @@ X4)) (let ((X67 - Int top.impl.usr.mode)) + top.impl.usr.mode)) (let ((X68 - Int (ite X7 (ite @@ -3076,7 +2988,6 @@ X67))) (let ((X69 - Int (ite X10 (ite @@ -3090,7 +3001,6 @@ X68))) (let ((X70 - Int (ite X19 (ite @@ -3101,7 +3011,6 @@ X69))) (let ((X71 - Int (ite X23 (ite @@ -3115,7 +3024,6 @@ X70))) (let ((X72 - Int (ite X30 (ite @@ -3129,7 +3037,6 @@ X71))) (let ((X73 - Int (ite X37 (ite @@ -3143,7 +3050,6 @@ X72))) (let ((X74 - Int (ite X45 (ite @@ -3154,7 +3060,6 @@ X73))) (let ((X75 - Int (ite X49 (ite @@ -3165,7 +3070,6 @@ X74))) (let ((X76 - Int (ite X54 (ite @@ -3176,7 +3080,6 @@ X75))) (let ((X77 - Int (ite X58 (ite @@ -3240,7 +3143,6 @@ 4))) (let ((X78 - Int (ite (not (= X5 1)) diff --git a/lib/Inv_Track/andrew_lustre/microwave03.lus.sl b/lib/Inv_Track/andrew_lustre/microwave03.lus.sl index 0d09fd3c..df3e2c0f 100644 --- a/lib/Inv_Track/andrew_lustre/microwave03.lus.sl +++ b/lib/Inv_Track/andrew_lustre/microwave03.lus.sl @@ -1,4 +1,4 @@ -(set-logic LIA) +(set-logic NIA) (define-fun __node_init_top_0 ((top.usr.KP_START_a_0 Bool) (top.usr.KP_CLEAR_a_0 Bool) (top.usr.KP_0_a_0 Bool) (top.usr.KP_1_a_0 Bool) (top.usr.KP_2_a_0 Bool) (top.usr.KP_3_a_0 Bool) (top.usr.KP_4_a_0 Bool) (top.usr.KP_5_a_0 Bool) (top.usr.KP_6_a_0 Bool) (top.usr.KP_7_a_0 Bool) (top.usr.KP_8_a_0 Bool) (top.usr.KP_9_a_0 Bool) (top.usr.DOOR_CLOSED_a_0 Bool) (top.res.nondet_5 Int) (top.res.nondet_4 Int) (top.res.nondet_3 Int) (top.res.nondet_2 Int) (top.res.nondet_1 Int) (top.res.nondet_0 Int) (top.usr.OK_a_0 Bool) (top.res.init_flag_a_0 Bool) (top.impl.usr.STEPS_TO_COOK_a_0 Int) (top.impl.usr.rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_clock_a_0 Bool) (top.impl.usr.KP_01_a_0 Bool) (top.impl.usr.KP_11_a_0 Bool) (top.impl.usr.KP_21_a_0 Bool) (top.impl.usr.KP_31_a_0 Bool) (top.impl.usr.KP_41_a_0 Bool) (top.impl.usr.KP_51_a_0 Bool) (top.impl.usr.KP_61_a_0 Bool) (top.impl.usr.KP_71_a_0 Bool) (top.impl.usr.KP_81_a_0 Bool) (top.impl.usr.KP_91_a_0 Bool) (top.impl.usr.rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_init_step_a_0 Bool) (top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_LEFT_DIGIT_DIGIT_TO_DISPLAY_a_0 Int) (top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_MIDDLE_DIGIT_DIGIT_TO_DISPLAY_a_0 Int) (top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_RIGHT_DIGIT_DIGIT_TO_DISPLAY_a_0 Int) (top.impl.usr.chart_microwave_mode_logic____wakeup____a_0 Bool) (top.impl.usr.chart_microwave_mode_logic_rlt_evtInitStep_a_0 Bool) (top.impl.usr.chart_microwave_mode_logic_final_state_states___root_a_0 Int) (top.impl.usr.chart_microwave_mode_logic_mode_a_0 Int) (top.impl.usr.chart_microwave_mode_logic_steps_remaining_a_0 Int) (top.impl.usr.microwave_microwave_mode_logic_mode_a_0 Int)) Bool (let ((X1 0)) (let ((X2 0)) (and (= top.impl.usr.chart_microwave_mode_logic_rlt_evtInitStep_a_0 true) (let ((X3 (= X2 4))) (let ((X4 top.usr.KP_START_a_0)) (let ((X5 (ite (not X4) 0 1))) (and (= top.impl.usr.KP_91_a_0 top.usr.KP_9_a_0) (= top.impl.usr.KP_81_a_0 top.usr.KP_8_a_0) (= top.impl.usr.KP_71_a_0 top.usr.KP_7_a_0) (= top.impl.usr.KP_61_a_0 top.usr.KP_6_a_0) (= top.impl.usr.KP_51_a_0 top.usr.KP_5_a_0) (= top.impl.usr.KP_41_a_0 top.usr.KP_4_a_0) (= top.impl.usr.KP_31_a_0 top.usr.KP_3_a_0) (= top.impl.usr.KP_21_a_0 top.usr.KP_2_a_0) (= top.impl.usr.KP_11_a_0 top.usr.KP_1_a_0) (= top.impl.usr.KP_01_a_0 top.usr.KP_0_a_0) (= top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_RIGHT_DIGIT_DIGIT_TO_DISPLAY_a_0 (ite top.usr.KP_CLEAR_a_0 0 (ite (ite (<= (ite top.impl.usr.KP_01_a_0 0 (ite top.impl.usr.KP_11_a_0 1 (ite top.impl.usr.KP_21_a_0 2 (ite top.impl.usr.KP_31_a_0 3 (ite top.impl.usr.KP_41_a_0 4 (ite top.impl.usr.KP_51_a_0 5 (ite top.impl.usr.KP_61_a_0 6 (ite top.impl.usr.KP_71_a_0 7 (ite top.impl.usr.KP_81_a_0 8 (ite top.impl.usr.KP_91_a_0 9 10)))))))))) 9) true false) (ite top.impl.usr.KP_01_a_0 0 (ite top.impl.usr.KP_11_a_0 1 (ite top.impl.usr.KP_21_a_0 2 (ite top.impl.usr.KP_31_a_0 3 (ite top.impl.usr.KP_41_a_0 4 (ite top.impl.usr.KP_51_a_0 5 (ite top.impl.usr.KP_61_a_0 6 (ite top.impl.usr.KP_71_a_0 7 (ite top.impl.usr.KP_81_a_0 8 (ite top.impl.usr.KP_91_a_0 9 10)))))))))) 0))) (= top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_MIDDLE_DIGIT_DIGIT_TO_DISPLAY_a_0 0) (= top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_LEFT_DIGIT_DIGIT_TO_DISPLAY_a_0 0) (= top.impl.usr.rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_init_step_a_0 true) (let ((X6 true)) (and (= top.impl.usr.rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_clock_a_0 X6) (= top.impl.usr.STEPS_TO_COOK_a_0 (ite (and top.impl.usr.rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_init_step_a_0 (not top.impl.usr.rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_clock_a_0)) 0 (* (+ (+ (* top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_RIGHT_DIGIT_DIGIT_TO_DISPLAY_a_0 1) (* top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_MIDDLE_DIGIT_DIGIT_TO_DISPLAY_a_0 10)) (* top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_LEFT_DIGIT_DIGIT_TO_DISPLAY_a_0 60)) 1))) (let ((X7 (and X3 (and (= X2 4) (and (ite (not (= X5 0)) true false) (ite (not (= (ite (not (> top.impl.usr.STEPS_TO_COOK_a_0 0)) 0 1) 0)) true false)))))) (let ((X8 (ite X7 (ite (= X2 4) 0 X2) X2))) (let ((X9 (ite (not (and (>= X8 1) (<= X8 3))) 1 X8))) (let ((X10 (and (not (and (>= X8 1) (<= X8 3))) (and (>= X9 1) (<= X9 3))))) (let ((X11 (ite (not top.usr.DOOR_CLOSED_a_0) 0 1))) (let ((X12 (and X10 (and (and (>= X9 1) (<= X9 3)) (ite (not (= X11 0)) true false))))) (let ((X13 (ite X12 (ite (not (= X9 2)) 2 X9) X9))) (let ((X14 (and X10 (and (and (>= X13 1) (<= X13 3)) (not X12))))) (let ((X15 (ite X14 (ite (not (= X13 3)) 3 X13) X13))) (let ((X16 (ite X7 X15 X8))) (let ((X17 (ite X3 top.impl.usr.STEPS_TO_COOK_a_0 X1))) (let ((X18 (and (and (= X16 2) (<= X17 0)) (= X16 2)))) (let ((X19 (ite X18 (ite (and (>= X16 1) (<= X16 3)) 0 X16) X16))) (let ((X20 (ite X18 (ite (not (= X19 4)) 4 X19) X19))) (let ((X21 (and (= X20 3) (and (and (ite (not (= X5 0)) true false) (ite (not (= X11 0)) true false)) (not X18))))) (let ((X22 (ite X21 (ite (= X20 3) 1 X20) X20))) (let ((X23 (ite X21 (ite (not (= X22 2)) 2 X22) X22))) (let ((X24 (or X21 X18))) (let ((X25 top.usr.KP_CLEAR_a_0)) (let ((X26 (ite (not X25) 0 1))) (let ((X27 (and (and (= X23 3) (and (ite (not (= X26 0)) true false) (not X24))) (and (= X23 3) (not X24))))) (let ((X28 (ite X27 (ite (and (>= X23 1) (<= X23 3)) 0 X23) X23))) (let ((X29 (ite X27 (ite (not (= X28 4)) 4 X28) X28))) (let ((X30 (ite X27 0 X17))) (let ((X31 (or X27 X24))) (let ((X32 (and (= X29 2) (and (> X30 0) (not X31))))) (and (= top.impl.usr.chart_microwave_mode_logic____wakeup____a_0 true) (= top.impl.usr.chart_microwave_mode_logic_steps_remaining_a_0 (ite top.impl.usr.chart_microwave_mode_logic____wakeup____a_0 (ite top.impl.usr.chart_microwave_mode_logic_rlt_evtInitStep_a_0 X1 (ite (and (not X7) (and (>= X16 1) (<= X16 3))) (ite X32 (- X30 1) X30) X17)) X1)) (let ((X33 (- (- (div top.impl.usr.chart_microwave_mode_logic_steps_remaining_a_0 1) (* (div (div top.impl.usr.chart_microwave_mode_logic_steps_remaining_a_0 1) 60) 60)) (* (div (- (div top.impl.usr.chart_microwave_mode_logic_steps_remaining_a_0 1) (* (div (div top.impl.usr.chart_microwave_mode_logic_steps_remaining_a_0 1) 60) 60)) 10) 10)))) (and (= top.usr.OK_a_0 (and (>= X33 0) (<= X33 256))) (let ((X34 0)) (let ((X35 (ite X12 (ite (not (= X9 2)) 2 X34) X34))) (let ((X36 (ite X7 (ite X14 (ite (not (= X13 3)) 3 X35) X35) X34))) (let ((X37 (ite X32 (ite (= X29 2) 1 X29) X29))) (let ((X38 (ite X18 (ite (not (= X19 4)) 1 X36) X36))) (let ((X39 (ite X21 (ite (not (= X22 2)) 2 X38) X38))) (let ((X40 (ite X27 (ite (not (= X28 4)) 1 X39) X39))) (let ((X41 (ite X32 (ite (not (= X37 2)) 2 X40) X40))) (let ((X42 (ite X32 (ite (not (= X37 2)) 2 X37) X37))) (let ((X43 (and (= X42 2) (and (or (ite (not (= X26 0)) true false) (not (ite (not (= X11 0)) true false))) (not (or X32 X31)))))) (let ((X44 (ite X43 (ite (= X42 2) 1 X42) X42))) (and (= top.impl.usr.chart_microwave_mode_logic_mode_a_0 (ite top.impl.usr.chart_microwave_mode_logic____wakeup____a_0 (ite top.impl.usr.chart_microwave_mode_logic_rlt_evtInitStep_a_0 (ite (not (= X2 4)) 1 X34) (ite (and (not X7) (and (>= X16 1) (<= X16 3))) (ite X43 (ite (not (= X44 3)) 3 X41) X41) X36)) X34)) (= top.impl.usr.microwave_microwave_mode_logic_mode_a_0 top.impl.usr.chart_microwave_mode_logic_mode_a_0) (let ((X45 (ite (not (= X2 4)) 4 X2))) (and (= top.impl.usr.chart_microwave_mode_logic_final_state_states___root_a_0 (ite top.impl.usr.chart_microwave_mode_logic____wakeup____a_0 (ite top.impl.usr.chart_microwave_mode_logic_rlt_evtInitStep_a_0 X45 (ite (and (not X7) (and (>= X16 1) (<= X16 3))) (ite X43 (ite (not (= X44 3)) 3 X44) X44) X16)) X2)) (<= 0 X26 1) (<= 0 X11 1) (<= 0 X5 1) top.res.init_flag_a_0))))))))))))))))))))))))))))))))))))))))))))))))))))) diff --git a/lib/Inv_Track/andrew_lustre/microwave04.lus.sl b/lib/Inv_Track/andrew_lustre/microwave04.lus.sl index ac627672..4725c118 100644 --- a/lib/Inv_Track/andrew_lustre/microwave04.lus.sl +++ b/lib/Inv_Track/andrew_lustre/microwave04.lus.sl @@ -1,4 +1,4 @@ -(set-logic LIA) +(set-logic NIA) (define-fun __node_init_top_0 ((top.usr.KP_START_a_0 Bool) (top.usr.KP_CLEAR_a_0 Bool) (top.usr.KP_0_a_0 Bool) (top.usr.KP_1_a_0 Bool) (top.usr.KP_2_a_0 Bool) (top.usr.KP_3_a_0 Bool) (top.usr.KP_4_a_0 Bool) (top.usr.KP_5_a_0 Bool) (top.usr.KP_6_a_0 Bool) (top.usr.KP_7_a_0 Bool) (top.usr.KP_8_a_0 Bool) (top.usr.KP_9_a_0 Bool) (top.usr.DOOR_CLOSED_a_0 Bool) (top.res.nondet_5 Int) (top.res.nondet_4 Int) (top.res.nondet_3 Int) (top.res.nondet_2 Int) (top.res.nondet_1 Int) (top.res.nondet_0 Int) (top.usr.OK_a_0 Bool) (top.res.init_flag_a_0 Bool) (top.impl.usr.STEPS_TO_COOK_a_0 Int) (top.impl.usr.rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_clock_a_0 Bool) (top.impl.usr.KP_01_a_0 Bool) (top.impl.usr.KP_11_a_0 Bool) (top.impl.usr.KP_21_a_0 Bool) (top.impl.usr.KP_31_a_0 Bool) (top.impl.usr.KP_41_a_0 Bool) (top.impl.usr.KP_51_a_0 Bool) (top.impl.usr.KP_61_a_0 Bool) (top.impl.usr.KP_71_a_0 Bool) (top.impl.usr.KP_81_a_0 Bool) (top.impl.usr.KP_91_a_0 Bool) (top.impl.usr.rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_init_step_a_0 Bool) (top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_LEFT_DIGIT_DIGIT_TO_DISPLAY_a_0 Int) (top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_MIDDLE_DIGIT_DIGIT_TO_DISPLAY_a_0 Int) (top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_RIGHT_DIGIT_DIGIT_TO_DISPLAY_a_0 Int) (top.impl.usr.chart_microwave_mode_logic____wakeup____a_0 Bool) (top.impl.usr.chart_microwave_mode_logic_rlt_evtInitStep_a_0 Bool) (top.impl.usr.chart_microwave_mode_logic_final_state_states___root_a_0 Int) (top.impl.usr.chart_microwave_mode_logic_mode_a_0 Int) (top.impl.usr.chart_microwave_mode_logic_steps_remaining_a_0 Int) (top.impl.usr.microwave_microwave_mode_logic_mode_a_0 Int)) Bool (let ((X1 0)) (let ((X2 0)) (and (= top.impl.usr.chart_microwave_mode_logic_rlt_evtInitStep_a_0 true) (let ((X3 (= X2 4))) (let ((X4 top.usr.KP_START_a_0)) (let ((X5 (ite (not X4) 0 1))) (and (= top.impl.usr.KP_91_a_0 top.usr.KP_9_a_0) (= top.impl.usr.KP_81_a_0 top.usr.KP_8_a_0) (= top.impl.usr.KP_71_a_0 top.usr.KP_7_a_0) (= top.impl.usr.KP_61_a_0 top.usr.KP_6_a_0) (= top.impl.usr.KP_51_a_0 top.usr.KP_5_a_0) (= top.impl.usr.KP_41_a_0 top.usr.KP_4_a_0) (= top.impl.usr.KP_31_a_0 top.usr.KP_3_a_0) (= top.impl.usr.KP_21_a_0 top.usr.KP_2_a_0) (= top.impl.usr.KP_11_a_0 top.usr.KP_1_a_0) (= top.impl.usr.KP_01_a_0 top.usr.KP_0_a_0) (= top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_RIGHT_DIGIT_DIGIT_TO_DISPLAY_a_0 (ite top.usr.KP_CLEAR_a_0 0 (ite (ite (<= (ite top.impl.usr.KP_01_a_0 0 (ite top.impl.usr.KP_11_a_0 1 (ite top.impl.usr.KP_21_a_0 2 (ite top.impl.usr.KP_31_a_0 3 (ite top.impl.usr.KP_41_a_0 4 (ite top.impl.usr.KP_51_a_0 5 (ite top.impl.usr.KP_61_a_0 6 (ite top.impl.usr.KP_71_a_0 7 (ite top.impl.usr.KP_81_a_0 8 (ite top.impl.usr.KP_91_a_0 9 10)))))))))) 9) true false) (ite top.impl.usr.KP_01_a_0 0 (ite top.impl.usr.KP_11_a_0 1 (ite top.impl.usr.KP_21_a_0 2 (ite top.impl.usr.KP_31_a_0 3 (ite top.impl.usr.KP_41_a_0 4 (ite top.impl.usr.KP_51_a_0 5 (ite top.impl.usr.KP_61_a_0 6 (ite top.impl.usr.KP_71_a_0 7 (ite top.impl.usr.KP_81_a_0 8 (ite top.impl.usr.KP_91_a_0 9 10)))))))))) 0))) (= top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_MIDDLE_DIGIT_DIGIT_TO_DISPLAY_a_0 0) (= top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_LEFT_DIGIT_DIGIT_TO_DISPLAY_a_0 0) (= top.impl.usr.rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_init_step_a_0 true) (let ((X6 true)) (and (= top.impl.usr.rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_clock_a_0 X6) (= top.impl.usr.STEPS_TO_COOK_a_0 (ite (and top.impl.usr.rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_init_step_a_0 (not top.impl.usr.rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_clock_a_0)) 0 (* (+ (+ (* top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_RIGHT_DIGIT_DIGIT_TO_DISPLAY_a_0 1) (* top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_MIDDLE_DIGIT_DIGIT_TO_DISPLAY_a_0 10)) (* top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_LEFT_DIGIT_DIGIT_TO_DISPLAY_a_0 60)) 1))) (let ((X7 (and X3 (and (= X2 4) (and (ite (not (= X5 0)) true false) (ite (not (= (ite (not (> top.impl.usr.STEPS_TO_COOK_a_0 0)) 0 1) 0)) true false)))))) (let ((X8 (ite X7 (ite (= X2 4) 0 X2) X2))) (let ((X9 (ite (not (and (>= X8 1) (<= X8 3))) 1 X8))) (let ((X10 (and (not (and (>= X8 1) (<= X8 3))) (and (>= X9 1) (<= X9 3))))) (let ((X11 (ite (not top.usr.DOOR_CLOSED_a_0) 0 1))) (let ((X12 (and X10 (and (and (>= X9 1) (<= X9 3)) (ite (not (= X11 0)) true false))))) (let ((X13 (ite X12 (ite (not (= X9 2)) 2 X9) X9))) (let ((X14 (and X10 (and (and (>= X13 1) (<= X13 3)) (not X12))))) (let ((X15 (ite X14 (ite (not (= X13 3)) 3 X13) X13))) (let ((X16 (ite X7 X15 X8))) (let ((X17 (ite X3 top.impl.usr.STEPS_TO_COOK_a_0 X1))) (let ((X18 (and (and (= X16 2) (<= X17 0)) (= X16 2)))) (let ((X19 (ite X18 (ite (and (>= X16 1) (<= X16 3)) 0 X16) X16))) (let ((X20 (ite X18 (ite (not (= X19 4)) 4 X19) X19))) (let ((X21 (and (= X20 3) (and (and (ite (not (= X5 0)) true false) (ite (not (= X11 0)) true false)) (not X18))))) (let ((X22 (ite X21 (ite (= X20 3) 1 X20) X20))) (let ((X23 (ite X21 (ite (not (= X22 2)) 2 X22) X22))) (let ((X24 (or X21 X18))) (let ((X25 top.usr.KP_CLEAR_a_0)) (let ((X26 (ite (not X25) 0 1))) (let ((X27 (and (and (= X23 3) (and (ite (not (= X26 0)) true false) (not X24))) (and (= X23 3) (not X24))))) (let ((X28 (ite X27 (ite (and (>= X23 1) (<= X23 3)) 0 X23) X23))) (let ((X29 (ite X27 (ite (not (= X28 4)) 4 X28) X28))) (let ((X30 (ite X27 0 X17))) (let ((X31 (or X27 X24))) (let ((X32 (and (= X29 2) (and (> X30 0) (not X31))))) (and (= top.impl.usr.chart_microwave_mode_logic____wakeup____a_0 true) (= top.impl.usr.chart_microwave_mode_logic_steps_remaining_a_0 (ite top.impl.usr.chart_microwave_mode_logic____wakeup____a_0 (ite top.impl.usr.chart_microwave_mode_logic_rlt_evtInitStep_a_0 X1 (ite (and (not X7) (and (>= X16 1) (<= X16 3))) (ite X32 (- X30 1) X30) X17)) X1)) (let ((X33 (div (- (div top.impl.usr.chart_microwave_mode_logic_steps_remaining_a_0 1) (* (div (div top.impl.usr.chart_microwave_mode_logic_steps_remaining_a_0 1) 60) 60)) 10))) (and (= top.usr.OK_a_0 (and (>= X33 0) (<= X33 256))) (let ((X34 0)) (let ((X35 (ite X12 (ite (not (= X9 2)) 2 X34) X34))) (let ((X36 (ite X7 (ite X14 (ite (not (= X13 3)) 3 X35) X35) X34))) (let ((X37 (ite X32 (ite (= X29 2) 1 X29) X29))) (let ((X38 (ite X18 (ite (not (= X19 4)) 1 X36) X36))) (let ((X39 (ite X21 (ite (not (= X22 2)) 2 X38) X38))) (let ((X40 (ite X27 (ite (not (= X28 4)) 1 X39) X39))) (let ((X41 (ite X32 (ite (not (= X37 2)) 2 X40) X40))) (let ((X42 (ite X32 (ite (not (= X37 2)) 2 X37) X37))) (let ((X43 (and (= X42 2) (and (or (ite (not (= X26 0)) true false) (not (ite (not (= X11 0)) true false))) (not (or X32 X31)))))) (let ((X44 (ite X43 (ite (= X42 2) 1 X42) X42))) (and (= top.impl.usr.chart_microwave_mode_logic_mode_a_0 (ite top.impl.usr.chart_microwave_mode_logic____wakeup____a_0 (ite top.impl.usr.chart_microwave_mode_logic_rlt_evtInitStep_a_0 (ite (not (= X2 4)) 1 X34) (ite (and (not X7) (and (>= X16 1) (<= X16 3))) (ite X43 (ite (not (= X44 3)) 3 X41) X41) X36)) X34)) (= top.impl.usr.microwave_microwave_mode_logic_mode_a_0 top.impl.usr.chart_microwave_mode_logic_mode_a_0) (let ((X45 (ite (not (= X2 4)) 4 X2))) (and (= top.impl.usr.chart_microwave_mode_logic_final_state_states___root_a_0 (ite top.impl.usr.chart_microwave_mode_logic____wakeup____a_0 (ite top.impl.usr.chart_microwave_mode_logic_rlt_evtInitStep_a_0 X45 (ite (and (not X7) (and (>= X16 1) (<= X16 3))) (ite X43 (ite (not (= X44 3)) 3 X44) X44) X16)) X2)) (<= 0 X26 1) (<= 0 X11 1) (<= 0 X5 1) top.res.init_flag_a_0))))))))))))))))))))))))))))))))))))))))))))))))))))) diff --git a/lib/Inv_Track/andrew_lustre/microwave05.lus.sl b/lib/Inv_Track/andrew_lustre/microwave05.lus.sl index 2439034a..588d3df3 100644 --- a/lib/Inv_Track/andrew_lustre/microwave05.lus.sl +++ b/lib/Inv_Track/andrew_lustre/microwave05.lus.sl @@ -1,4 +1,4 @@ -(set-logic LIA) +(set-logic NIA) (define-fun __node_init_top_0 ((top.usr.KP_START_a_0 Bool) (top.usr.KP_CLEAR_a_0 Bool) (top.usr.KP_0_a_0 Bool) (top.usr.KP_1_a_0 Bool) (top.usr.KP_2_a_0 Bool) (top.usr.KP_3_a_0 Bool) (top.usr.KP_4_a_0 Bool) (top.usr.KP_5_a_0 Bool) (top.usr.KP_6_a_0 Bool) (top.usr.KP_7_a_0 Bool) (top.usr.KP_8_a_0 Bool) (top.usr.KP_9_a_0 Bool) (top.usr.DOOR_CLOSED_a_0 Bool) (top.res.nondet_5 Int) (top.res.nondet_4 Int) (top.res.nondet_3 Int) (top.res.nondet_2 Int) (top.res.nondet_1 Int) (top.res.nondet_0 Int) (top.usr.OK_a_0 Bool) (top.res.init_flag_a_0 Bool) (top.impl.usr.STEPS_TO_COOK_a_0 Int) (top.impl.usr.rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_clock_a_0 Bool) (top.impl.usr.KP_01_a_0 Bool) (top.impl.usr.KP_11_a_0 Bool) (top.impl.usr.KP_21_a_0 Bool) (top.impl.usr.KP_31_a_0 Bool) (top.impl.usr.KP_41_a_0 Bool) (top.impl.usr.KP_51_a_0 Bool) (top.impl.usr.KP_61_a_0 Bool) (top.impl.usr.KP_71_a_0 Bool) (top.impl.usr.KP_81_a_0 Bool) (top.impl.usr.KP_91_a_0 Bool) (top.impl.usr.rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_init_step_a_0 Bool) (top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_LEFT_DIGIT_DIGIT_TO_DISPLAY_a_0 Int) (top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_MIDDLE_DIGIT_DIGIT_TO_DISPLAY_a_0 Int) (top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_RIGHT_DIGIT_DIGIT_TO_DISPLAY_a_0 Int) (top.impl.usr.chart_microwave_mode_logic____wakeup____a_0 Bool) (top.impl.usr.chart_microwave_mode_logic_rlt_evtInitStep_a_0 Bool) (top.impl.usr.chart_microwave_mode_logic_final_state_states___root_a_0 Int) (top.impl.usr.chart_microwave_mode_logic_mode_a_0 Int) (top.impl.usr.chart_microwave_mode_logic_steps_remaining_a_0 Int) (top.impl.usr.microwave_microwave_mode_logic_mode_a_0 Int)) Bool (let ((X1 0)) (let ((X2 0)) (and (= top.impl.usr.chart_microwave_mode_logic_rlt_evtInitStep_a_0 true) (let ((X3 (= X2 4))) (let ((X4 top.usr.KP_START_a_0)) (let ((X5 (ite (not X4) 0 1))) (and (= top.impl.usr.KP_91_a_0 top.usr.KP_9_a_0) (= top.impl.usr.KP_81_a_0 top.usr.KP_8_a_0) (= top.impl.usr.KP_71_a_0 top.usr.KP_7_a_0) (= top.impl.usr.KP_61_a_0 top.usr.KP_6_a_0) (= top.impl.usr.KP_51_a_0 top.usr.KP_5_a_0) (= top.impl.usr.KP_41_a_0 top.usr.KP_4_a_0) (= top.impl.usr.KP_31_a_0 top.usr.KP_3_a_0) (= top.impl.usr.KP_21_a_0 top.usr.KP_2_a_0) (= top.impl.usr.KP_11_a_0 top.usr.KP_1_a_0) (= top.impl.usr.KP_01_a_0 top.usr.KP_0_a_0) (= top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_RIGHT_DIGIT_DIGIT_TO_DISPLAY_a_0 (ite top.usr.KP_CLEAR_a_0 0 (ite (ite (<= (ite top.impl.usr.KP_01_a_0 0 (ite top.impl.usr.KP_11_a_0 1 (ite top.impl.usr.KP_21_a_0 2 (ite top.impl.usr.KP_31_a_0 3 (ite top.impl.usr.KP_41_a_0 4 (ite top.impl.usr.KP_51_a_0 5 (ite top.impl.usr.KP_61_a_0 6 (ite top.impl.usr.KP_71_a_0 7 (ite top.impl.usr.KP_81_a_0 8 (ite top.impl.usr.KP_91_a_0 9 10)))))))))) 9) true false) (ite top.impl.usr.KP_01_a_0 0 (ite top.impl.usr.KP_11_a_0 1 (ite top.impl.usr.KP_21_a_0 2 (ite top.impl.usr.KP_31_a_0 3 (ite top.impl.usr.KP_41_a_0 4 (ite top.impl.usr.KP_51_a_0 5 (ite top.impl.usr.KP_61_a_0 6 (ite top.impl.usr.KP_71_a_0 7 (ite top.impl.usr.KP_81_a_0 8 (ite top.impl.usr.KP_91_a_0 9 10)))))))))) 0))) (= top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_MIDDLE_DIGIT_DIGIT_TO_DISPLAY_a_0 0) (= top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_LEFT_DIGIT_DIGIT_TO_DISPLAY_a_0 0) (= top.impl.usr.rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_init_step_a_0 true) (let ((X6 true)) (and (= top.impl.usr.rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_clock_a_0 X6) (= top.impl.usr.STEPS_TO_COOK_a_0 (ite (and top.impl.usr.rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_init_step_a_0 (not top.impl.usr.rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_clock_a_0)) 0 (* (+ (+ (* top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_RIGHT_DIGIT_DIGIT_TO_DISPLAY_a_0 1) (* top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_MIDDLE_DIGIT_DIGIT_TO_DISPLAY_a_0 10)) (* top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_LEFT_DIGIT_DIGIT_TO_DISPLAY_a_0 60)) 1))) (let ((X7 (and X3 (and (= X2 4) (and (ite (not (= X5 0)) true false) (ite (not (= (ite (not (> top.impl.usr.STEPS_TO_COOK_a_0 0)) 0 1) 0)) true false)))))) (let ((X8 (ite X7 (ite (= X2 4) 0 X2) X2))) (let ((X9 (ite (not (and (>= X8 1) (<= X8 3))) 1 X8))) (let ((X10 (and (not (and (>= X8 1) (<= X8 3))) (and (>= X9 1) (<= X9 3))))) (let ((X11 (ite (not top.usr.DOOR_CLOSED_a_0) 0 1))) (let ((X12 (and X10 (and (and (>= X9 1) (<= X9 3)) (ite (not (= X11 0)) true false))))) (let ((X13 (ite X12 (ite (not (= X9 2)) 2 X9) X9))) (let ((X14 (and X10 (and (and (>= X13 1) (<= X13 3)) (not X12))))) (let ((X15 (ite X14 (ite (not (= X13 3)) 3 X13) X13))) (let ((X16 (ite X7 X15 X8))) (let ((X17 (ite X3 top.impl.usr.STEPS_TO_COOK_a_0 X1))) (let ((X18 (and (and (= X16 2) (<= X17 0)) (= X16 2)))) (let ((X19 (ite X18 (ite (and (>= X16 1) (<= X16 3)) 0 X16) X16))) (let ((X20 (ite X18 (ite (not (= X19 4)) 4 X19) X19))) (let ((X21 (and (= X20 3) (and (and (ite (not (= X5 0)) true false) (ite (not (= X11 0)) true false)) (not X18))))) (let ((X22 (ite X21 (ite (= X20 3) 1 X20) X20))) (let ((X23 (ite X21 (ite (not (= X22 2)) 2 X22) X22))) (let ((X24 (or X21 X18))) (let ((X25 top.usr.KP_CLEAR_a_0)) (let ((X26 (ite (not X25) 0 1))) (let ((X27 (and (and (= X23 3) (and (ite (not (= X26 0)) true false) (not X24))) (and (= X23 3) (not X24))))) (let ((X28 (ite X27 (ite (and (>= X23 1) (<= X23 3)) 0 X23) X23))) (let ((X29 (ite X27 (ite (not (= X28 4)) 4 X28) X28))) (let ((X30 (ite X27 0 X17))) (let ((X31 (or X27 X24))) (let ((X32 (and (= X29 2) (and (> X30 0) (not X31))))) (and (= top.impl.usr.chart_microwave_mode_logic____wakeup____a_0 true) (= top.impl.usr.chart_microwave_mode_logic_steps_remaining_a_0 (ite top.impl.usr.chart_microwave_mode_logic____wakeup____a_0 (ite top.impl.usr.chart_microwave_mode_logic_rlt_evtInitStep_a_0 X1 (ite (and (not X7) (and (>= X16 1) (<= X16 3))) (ite X32 (- X30 1) X30) X17)) X1)) (let ((X33 (div (div top.impl.usr.chart_microwave_mode_logic_steps_remaining_a_0 1) 60))) (and (= top.usr.OK_a_0 (and (>= X33 0) (<= X33 256))) (let ((X34 0)) (let ((X35 (ite X12 (ite (not (= X9 2)) 2 X34) X34))) (let ((X36 (ite X7 (ite X14 (ite (not (= X13 3)) 3 X35) X35) X34))) (let ((X37 (ite X32 (ite (= X29 2) 1 X29) X29))) (let ((X38 (ite X18 (ite (not (= X19 4)) 1 X36) X36))) (let ((X39 (ite X21 (ite (not (= X22 2)) 2 X38) X38))) (let ((X40 (ite X27 (ite (not (= X28 4)) 1 X39) X39))) (let ((X41 (ite X32 (ite (not (= X37 2)) 2 X40) X40))) (let ((X42 (ite X32 (ite (not (= X37 2)) 2 X37) X37))) (let ((X43 (and (= X42 2) (and (or (ite (not (= X26 0)) true false) (not (ite (not (= X11 0)) true false))) (not (or X32 X31)))))) (let ((X44 (ite X43 (ite (= X42 2) 1 X42) X42))) (and (= top.impl.usr.chart_microwave_mode_logic_mode_a_0 (ite top.impl.usr.chart_microwave_mode_logic____wakeup____a_0 (ite top.impl.usr.chart_microwave_mode_logic_rlt_evtInitStep_a_0 (ite (not (= X2 4)) 1 X34) (ite (and (not X7) (and (>= X16 1) (<= X16 3))) (ite X43 (ite (not (= X44 3)) 3 X41) X41) X36)) X34)) (= top.impl.usr.microwave_microwave_mode_logic_mode_a_0 top.impl.usr.chart_microwave_mode_logic_mode_a_0) (let ((X45 (ite (not (= X2 4)) 4 X2))) (and (= top.impl.usr.chart_microwave_mode_logic_final_state_states___root_a_0 (ite top.impl.usr.chart_microwave_mode_logic____wakeup____a_0 (ite top.impl.usr.chart_microwave_mode_logic_rlt_evtInitStep_a_0 X45 (ite (and (not X7) (and (>= X16 1) (<= X16 3))) (ite X43 (ite (not (= X44 3)) 3 X44) X44) X16)) X2)) (<= 0 X26 1) (<= 0 X11 1) (<= 0 X5 1) top.res.init_flag_a_0))))))))))))))))))))))))))))))))))))))))))))))))))))) diff --git a/lib/Inv_Track/andrew_lustre/microwave17.lus.sl b/lib/Inv_Track/andrew_lustre/microwave17.lus.sl index 52a1da58..791b7e94 100644 --- a/lib/Inv_Track/andrew_lustre/microwave17.lus.sl +++ b/lib/Inv_Track/andrew_lustre/microwave17.lus.sl @@ -1,4 +1,4 @@ -(set-logic LIA) +(set-logic NIA) (define-fun __node_init_top_0 ((top.usr.KP_START_a_0 Bool) (top.usr.KP_CLEAR_a_0 Bool) (top.usr.KP_0_a_0 Bool) (top.usr.KP_1_a_0 Bool) (top.usr.KP_2_a_0 Bool) (top.usr.KP_3_a_0 Bool) (top.usr.KP_4_a_0 Bool) (top.usr.KP_5_a_0 Bool) (top.usr.KP_6_a_0 Bool) (top.usr.KP_7_a_0 Bool) (top.usr.KP_8_a_0 Bool) (top.usr.KP_9_a_0 Bool) (top.usr.DOOR_CLOSED_a_0 Bool) (top.res.nondet_5 Int) (top.res.nondet_4 Int) (top.res.nondet_3 Int) (top.res.nondet_2 Int) (top.res.nondet_1 Int) (top.res.nondet_0 Int) (top.usr.OK_a_0 Bool) (top.res.init_flag_a_0 Bool) (top.impl.usr.STEPS_TO_COOK_a_0 Int) (top.impl.usr.rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_clock_a_0 Bool) (top.impl.usr.KP_01_a_0 Bool) (top.impl.usr.KP_11_a_0 Bool) (top.impl.usr.KP_21_a_0 Bool) (top.impl.usr.KP_31_a_0 Bool) (top.impl.usr.KP_41_a_0 Bool) (top.impl.usr.KP_51_a_0 Bool) (top.impl.usr.KP_61_a_0 Bool) (top.impl.usr.KP_71_a_0 Bool) (top.impl.usr.KP_81_a_0 Bool) (top.impl.usr.KP_91_a_0 Bool) (top.impl.usr.rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_init_step_a_0 Bool) (top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_LEFT_DIGIT_DIGIT_TO_DISPLAY_a_0 Int) (top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_MIDDLE_DIGIT_DIGIT_TO_DISPLAY_a_0 Int) (top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_RIGHT_DIGIT_DIGIT_TO_DISPLAY_a_0 Int) (top.impl.usr.chart_microwave_mode_logic____wakeup____a_0 Bool) (top.impl.usr.chart_microwave_mode_logic_rlt_evtInitStep_a_0 Bool) (top.impl.usr.chart_microwave_mode_logic_final_state_states___root_a_0 Int) (top.impl.usr.chart_microwave_mode_logic_mode_a_0 Int) (top.impl.usr.chart_microwave_mode_logic_steps_remaining_a_0 Int) (top.impl.usr.microwave_microwave_mode_logic_mode_a_0 Int)) Bool (and (= top.usr.OK_a_0 true) (let ((X1 0)) (let ((X2 0)) (and (= top.impl.usr.chart_microwave_mode_logic_rlt_evtInitStep_a_0 true) (let ((X3 (= X2 4))) (let ((X4 top.usr.KP_START_a_0)) (let ((X5 (ite (not X4) 0 1))) (and (= top.impl.usr.KP_91_a_0 top.usr.KP_9_a_0) (= top.impl.usr.KP_81_a_0 top.usr.KP_8_a_0) (= top.impl.usr.KP_71_a_0 top.usr.KP_7_a_0) (= top.impl.usr.KP_61_a_0 top.usr.KP_6_a_0) (= top.impl.usr.KP_51_a_0 top.usr.KP_5_a_0) (= top.impl.usr.KP_41_a_0 top.usr.KP_4_a_0) (= top.impl.usr.KP_31_a_0 top.usr.KP_3_a_0) (= top.impl.usr.KP_21_a_0 top.usr.KP_2_a_0) (= top.impl.usr.KP_11_a_0 top.usr.KP_1_a_0) (= top.impl.usr.KP_01_a_0 top.usr.KP_0_a_0) (= top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_RIGHT_DIGIT_DIGIT_TO_DISPLAY_a_0 (ite top.usr.KP_CLEAR_a_0 0 (ite (ite (<= (ite top.impl.usr.KP_01_a_0 0 (ite top.impl.usr.KP_11_a_0 1 (ite top.impl.usr.KP_21_a_0 2 (ite top.impl.usr.KP_31_a_0 3 (ite top.impl.usr.KP_41_a_0 4 (ite top.impl.usr.KP_51_a_0 5 (ite top.impl.usr.KP_61_a_0 6 (ite top.impl.usr.KP_71_a_0 7 (ite top.impl.usr.KP_81_a_0 8 (ite top.impl.usr.KP_91_a_0 9 10)))))))))) 9) true false) (ite top.impl.usr.KP_01_a_0 0 (ite top.impl.usr.KP_11_a_0 1 (ite top.impl.usr.KP_21_a_0 2 (ite top.impl.usr.KP_31_a_0 3 (ite top.impl.usr.KP_41_a_0 4 (ite top.impl.usr.KP_51_a_0 5 (ite top.impl.usr.KP_61_a_0 6 (ite top.impl.usr.KP_71_a_0 7 (ite top.impl.usr.KP_81_a_0 8 (ite top.impl.usr.KP_91_a_0 9 10)))))))))) 0))) (= top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_MIDDLE_DIGIT_DIGIT_TO_DISPLAY_a_0 0) (= top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_LEFT_DIGIT_DIGIT_TO_DISPLAY_a_0 0) (= top.impl.usr.rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_init_step_a_0 true) (let ((X6 true)) (and (= top.impl.usr.rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_clock_a_0 X6) (= top.impl.usr.STEPS_TO_COOK_a_0 (ite (and top.impl.usr.rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_init_step_a_0 (not top.impl.usr.rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_clock_a_0)) 0 (* (+ (+ (* top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_RIGHT_DIGIT_DIGIT_TO_DISPLAY_a_0 1) (* top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_MIDDLE_DIGIT_DIGIT_TO_DISPLAY_a_0 10)) (* top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_LEFT_DIGIT_DIGIT_TO_DISPLAY_a_0 60)) 1))) (let ((X7 (and X3 (and (= X2 4) (and (ite (not (= X5 0)) true false) (ite (not (= (ite (not (> top.impl.usr.STEPS_TO_COOK_a_0 0)) 0 1) 0)) true false)))))) (let ((X8 (ite X7 (ite (= X2 4) 0 X2) X2))) (let ((X9 (ite (not (and (>= X8 1) (<= X8 3))) 1 X8))) (let ((X10 (and (not (and (>= X8 1) (<= X8 3))) (and (>= X9 1) (<= X9 3))))) (let ((X11 (ite (not top.usr.DOOR_CLOSED_a_0) 0 1))) (let ((X12 (and X10 (and (and (>= X9 1) (<= X9 3)) (ite (not (= X11 0)) true false))))) (let ((X13 (ite X12 (ite (not (= X9 2)) 2 X9) X9))) (let ((X14 (and X10 (and (and (>= X13 1) (<= X13 3)) (not X12))))) (let ((X15 (ite X14 (ite (not (= X13 3)) 3 X13) X13))) (let ((X16 (ite X7 X15 X8))) (let ((X17 (ite X3 top.impl.usr.STEPS_TO_COOK_a_0 X1))) (let ((X18 (and (and (= X16 2) (<= X17 0)) (= X16 2)))) (let ((X19 (ite X18 (ite (and (>= X16 1) (<= X16 3)) 0 X16) X16))) (let ((X20 (ite X18 (ite (not (= X19 4)) 4 X19) X19))) (let ((X21 (and (= X20 3) (and (and (ite (not (= X5 0)) true false) (ite (not (= X11 0)) true false)) (not X18))))) (let ((X22 (ite X21 (ite (= X20 3) 1 X20) X20))) (let ((X23 (ite X21 (ite (not (= X22 2)) 2 X22) X22))) (let ((X24 (or X21 X18))) (let ((X25 top.usr.KP_CLEAR_a_0)) (let ((X26 (ite (not X25) 0 1))) (let ((X27 (and (and (= X23 3) (and (ite (not (= X26 0)) true false) (not X24))) (and (= X23 3) (not X24))))) (let ((X28 (ite X27 (ite (and (>= X23 1) (<= X23 3)) 0 X23) X23))) (let ((X29 (ite X27 (ite (not (= X28 4)) 4 X28) X28))) (let ((X30 (ite X27 0 X17))) (let ((X31 (or X27 X24))) (let ((X32 (and (= X29 2) (and (> X30 0) (not X31))))) (and (= top.impl.usr.chart_microwave_mode_logic____wakeup____a_0 true) (= top.impl.usr.chart_microwave_mode_logic_steps_remaining_a_0 (ite top.impl.usr.chart_microwave_mode_logic____wakeup____a_0 (ite top.impl.usr.chart_microwave_mode_logic_rlt_evtInitStep_a_0 X1 (ite (and (not X7) (and (>= X16 1) (<= X16 3))) (ite X32 (- X30 1) X30) X17)) X1)) (let ((X33 (div (div top.impl.usr.chart_microwave_mode_logic_steps_remaining_a_0 1) 60))) (let ((X34 X33)) (let ((X35 0)) (let ((X36 (ite X12 (ite (not (= X9 2)) 2 X35) X35))) (let ((X37 (ite X7 (ite X14 (ite (not (= X13 3)) 3 X36) X36) X35))) (let ((X38 (ite X32 (ite (= X29 2) 1 X29) X29))) (let ((X39 (ite X18 (ite (not (= X19 4)) 1 X37) X37))) (let ((X40 (ite X21 (ite (not (= X22 2)) 2 X39) X39))) (let ((X41 (ite X27 (ite (not (= X28 4)) 1 X40) X40))) (let ((X42 (ite X32 (ite (not (= X38 2)) 2 X41) X41))) (let ((X43 (ite X32 (ite (not (= X38 2)) 2 X38) X38))) (let ((X44 (and (= X43 2) (and (or (ite (not (= X26 0)) true false) (not (ite (not (= X11 0)) true false))) (not (or X32 X31)))))) (let ((X45 (ite X44 (ite (= X43 2) 1 X43) X43))) (and (= top.impl.usr.chart_microwave_mode_logic_mode_a_0 (ite top.impl.usr.chart_microwave_mode_logic____wakeup____a_0 (ite top.impl.usr.chart_microwave_mode_logic_rlt_evtInitStep_a_0 (ite (not (= X2 4)) 1 X35) (ite (and (not X7) (and (>= X16 1) (<= X16 3))) (ite X44 (ite (not (= X45 3)) 3 X42) X42) X37)) X35)) (= top.impl.usr.microwave_microwave_mode_logic_mode_a_0 top.impl.usr.chart_microwave_mode_logic_mode_a_0) (let ((X46 (ite (not (= X2 4)) 4 X2))) (and (= top.impl.usr.chart_microwave_mode_logic_final_state_states___root_a_0 (ite top.impl.usr.chart_microwave_mode_logic____wakeup____a_0 (ite top.impl.usr.chart_microwave_mode_logic_rlt_evtInitStep_a_0 X46 (ite (and (not X7) (and (>= X16 1) (<= X16 3))) (ite X44 (ite (not (= X45 3)) 3 X45) X45) X16)) X2)) (let ((X47 (div (- (div top.impl.usr.chart_microwave_mode_logic_steps_remaining_a_0 1) (* (div (div top.impl.usr.chart_microwave_mode_logic_steps_remaining_a_0 1) 60) 60)) 10))) (let ((X48 X47)) (let ((X49 (- (- (div top.impl.usr.chart_microwave_mode_logic_steps_remaining_a_0 1) (* (div (div top.impl.usr.chart_microwave_mode_logic_steps_remaining_a_0 1) 60) 60)) (* (div (- (div top.impl.usr.chart_microwave_mode_logic_steps_remaining_a_0 1) (* (div (div top.impl.usr.chart_microwave_mode_logic_steps_remaining_a_0 1) 60) 60)) 10) 10)))) (let ((X50 X49)) (and (<= 0 X26 1) (<= 0 X11 1) (<= 0 X5 1) top.res.init_flag_a_0))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) diff --git a/lib/Inv_Track/andrew_lustre/microwave19.lus.sl b/lib/Inv_Track/andrew_lustre/microwave19.lus.sl index e61c2ea3..c778d82a 100644 --- a/lib/Inv_Track/andrew_lustre/microwave19.lus.sl +++ b/lib/Inv_Track/andrew_lustre/microwave19.lus.sl @@ -1,4 +1,4 @@ -(set-logic LIA) +(set-logic NIA) (define-fun __node_init_top_0 ((top.usr.KP_START_a_0 Bool) (top.usr.KP_CLEAR_a_0 Bool) (top.usr.KP_0_a_0 Bool) (top.usr.KP_1_a_0 Bool) (top.usr.KP_2_a_0 Bool) (top.usr.KP_3_a_0 Bool) (top.usr.KP_4_a_0 Bool) (top.usr.KP_5_a_0 Bool) (top.usr.KP_6_a_0 Bool) (top.usr.KP_7_a_0 Bool) (top.usr.KP_8_a_0 Bool) (top.usr.KP_9_a_0 Bool) (top.usr.DOOR_CLOSED_a_0 Bool) (top.res.nondet_5 Int) (top.res.nondet_4 Int) (top.res.nondet_3 Int) (top.res.nondet_2 Int) (top.res.nondet_1 Int) (top.res.nondet_0 Int) (top.usr.OK_a_0 Bool) (top.res.init_flag_a_0 Bool) (top.impl.usr.STEPS_TO_COOK_a_0 Int) (top.impl.usr.rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_clock_a_0 Bool) (top.impl.usr.KP_01_a_0 Bool) (top.impl.usr.KP_11_a_0 Bool) (top.impl.usr.KP_21_a_0 Bool) (top.impl.usr.KP_31_a_0 Bool) (top.impl.usr.KP_41_a_0 Bool) (top.impl.usr.KP_51_a_0 Bool) (top.impl.usr.KP_61_a_0 Bool) (top.impl.usr.KP_71_a_0 Bool) (top.impl.usr.KP_81_a_0 Bool) (top.impl.usr.KP_91_a_0 Bool) (top.impl.usr.rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_init_step_a_0 Bool) (top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_LEFT_DIGIT_DIGIT_TO_DISPLAY_a_0 Int) (top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_MIDDLE_DIGIT_DIGIT_TO_DISPLAY_a_0 Int) (top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_RIGHT_DIGIT_DIGIT_TO_DISPLAY_a_0 Int) (top.impl.usr.chart_microwave_mode_logic____wakeup____a_0 Bool) (top.impl.usr.chart_microwave_mode_logic_rlt_evtInitStep_a_0 Bool) (top.impl.usr.chart_microwave_mode_logic_final_state_states___root_a_0 Int) (top.impl.usr.chart_microwave_mode_logic_mode_a_0 Int) (top.impl.usr.chart_microwave_mode_logic_steps_remaining_a_0 Int) (top.impl.usr.microwave_microwave_mode_logic_mode_a_0 Int)) Bool (let ((X1 0)) (let ((X2 0)) (and (= top.impl.usr.chart_microwave_mode_logic_rlt_evtInitStep_a_0 true) (let ((X3 (= X2 4))) (let ((X4 top.usr.KP_START_a_0)) (let ((X5 (ite (not X4) 0 1))) (and (= top.impl.usr.KP_91_a_0 top.usr.KP_9_a_0) (= top.impl.usr.KP_81_a_0 top.usr.KP_8_a_0) (= top.impl.usr.KP_71_a_0 top.usr.KP_7_a_0) (= top.impl.usr.KP_61_a_0 top.usr.KP_6_a_0) (= top.impl.usr.KP_51_a_0 top.usr.KP_5_a_0) (= top.impl.usr.KP_41_a_0 top.usr.KP_4_a_0) (= top.impl.usr.KP_31_a_0 top.usr.KP_3_a_0) (= top.impl.usr.KP_21_a_0 top.usr.KP_2_a_0) (= top.impl.usr.KP_11_a_0 top.usr.KP_1_a_0) (= top.impl.usr.KP_01_a_0 top.usr.KP_0_a_0) (= top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_RIGHT_DIGIT_DIGIT_TO_DISPLAY_a_0 (ite top.usr.KP_CLEAR_a_0 0 (ite (ite (<= (ite top.impl.usr.KP_01_a_0 0 (ite top.impl.usr.KP_11_a_0 1 (ite top.impl.usr.KP_21_a_0 2 (ite top.impl.usr.KP_31_a_0 3 (ite top.impl.usr.KP_41_a_0 4 (ite top.impl.usr.KP_51_a_0 5 (ite top.impl.usr.KP_61_a_0 6 (ite top.impl.usr.KP_71_a_0 7 (ite top.impl.usr.KP_81_a_0 8 (ite top.impl.usr.KP_91_a_0 9 10)))))))))) 9) true false) (ite top.impl.usr.KP_01_a_0 0 (ite top.impl.usr.KP_11_a_0 1 (ite top.impl.usr.KP_21_a_0 2 (ite top.impl.usr.KP_31_a_0 3 (ite top.impl.usr.KP_41_a_0 4 (ite top.impl.usr.KP_51_a_0 5 (ite top.impl.usr.KP_61_a_0 6 (ite top.impl.usr.KP_71_a_0 7 (ite top.impl.usr.KP_81_a_0 8 (ite top.impl.usr.KP_91_a_0 9 10)))))))))) 0))) (= top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_MIDDLE_DIGIT_DIGIT_TO_DISPLAY_a_0 0) (= top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_LEFT_DIGIT_DIGIT_TO_DISPLAY_a_0 0) (= top.impl.usr.rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_init_step_a_0 true) (let ((X6 true)) (and (= top.impl.usr.rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_clock_a_0 X6) (= top.impl.usr.STEPS_TO_COOK_a_0 (ite (and top.impl.usr.rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_init_step_a_0 (not top.impl.usr.rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_clock_a_0)) 0 (* (+ (+ (* top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_RIGHT_DIGIT_DIGIT_TO_DISPLAY_a_0 1) (* top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_MIDDLE_DIGIT_DIGIT_TO_DISPLAY_a_0 10)) (* top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_LEFT_DIGIT_DIGIT_TO_DISPLAY_a_0 60)) 1))) (let ((X7 (and X3 (and (= X2 4) (and (ite (not (= X5 0)) true false) (ite (not (= (ite (not (> top.impl.usr.STEPS_TO_COOK_a_0 0)) 0 1) 0)) true false)))))) (let ((X8 (ite X7 (ite (= X2 4) 0 X2) X2))) (let ((X9 (ite (not (and (>= X8 1) (<= X8 3))) 1 X8))) (let ((X10 (and (not (and (>= X8 1) (<= X8 3))) (and (>= X9 1) (<= X9 3))))) (let ((X11 (ite (not top.usr.DOOR_CLOSED_a_0) 0 1))) (let ((X12 (and X10 (and (and (>= X9 1) (<= X9 3)) (ite (not (= X11 0)) true false))))) (let ((X13 (ite X12 (ite (not (= X9 2)) 2 X9) X9))) (let ((X14 (and X10 (and (and (>= X13 1) (<= X13 3)) (not X12))))) (let ((X15 (ite X14 (ite (not (= X13 3)) 3 X13) X13))) (let ((X16 (ite X7 X15 X8))) (let ((X17 (ite X3 top.impl.usr.STEPS_TO_COOK_a_0 X1))) (let ((X18 (and (and (= X16 2) (<= X17 0)) (= X16 2)))) (let ((X19 (ite X18 (ite (and (>= X16 1) (<= X16 3)) 0 X16) X16))) (let ((X20 (ite X18 (ite (not (= X19 4)) 4 X19) X19))) (let ((X21 (and (= X20 3) (and (and (ite (not (= X5 0)) true false) (ite (not (= X11 0)) true false)) (not X18))))) (let ((X22 (ite X21 (ite (= X20 3) 1 X20) X20))) (let ((X23 (ite X21 (ite (not (= X22 2)) 2 X22) X22))) (let ((X24 (or X21 X18))) (let ((X25 top.usr.KP_CLEAR_a_0)) (let ((X26 (ite (not X25) 0 1))) (let ((X27 (and (and (= X23 3) (and (ite (not (= X26 0)) true false) (not X24))) (and (= X23 3) (not X24))))) (let ((X28 (ite X27 (ite (and (>= X23 1) (<= X23 3)) 0 X23) X23))) (let ((X29 (ite X27 (ite (not (= X28 4)) 4 X28) X28))) (let ((X30 (ite X27 0 X17))) (let ((X31 (or X27 X24))) (let ((X32 (and (= X29 2) (and (> X30 0) (not X31))))) (and (= top.impl.usr.chart_microwave_mode_logic____wakeup____a_0 true) (= top.impl.usr.chart_microwave_mode_logic_steps_remaining_a_0 (ite top.impl.usr.chart_microwave_mode_logic____wakeup____a_0 (ite top.impl.usr.chart_microwave_mode_logic_rlt_evtInitStep_a_0 X1 (ite (and (not X7) (and (>= X16 1) (<= X16 3))) (ite X32 (- X30 1) X30) X17)) X1)) (let ((X33 (div (div top.impl.usr.chart_microwave_mode_logic_steps_remaining_a_0 1) 60))) (let ((X34 X33)) (and (= top.usr.OK_a_0 (or (not (and X6 top.usr.KP_CLEAR_a_0)) (= X34 0))) (let ((X35 0)) (let ((X36 (ite X12 (ite (not (= X9 2)) 2 X35) X35))) (let ((X37 (ite X7 (ite X14 (ite (not (= X13 3)) 3 X36) X36) X35))) (let ((X38 (ite X32 (ite (= X29 2) 1 X29) X29))) (let ((X39 (ite X18 (ite (not (= X19 4)) 1 X37) X37))) (let ((X40 (ite X21 (ite (not (= X22 2)) 2 X39) X39))) (let ((X41 (ite X27 (ite (not (= X28 4)) 1 X40) X40))) (let ((X42 (ite X32 (ite (not (= X38 2)) 2 X41) X41))) (let ((X43 (ite X32 (ite (not (= X38 2)) 2 X38) X38))) (let ((X44 (and (= X43 2) (and (or (ite (not (= X26 0)) true false) (not (ite (not (= X11 0)) true false))) (not (or X32 X31)))))) (let ((X45 (ite X44 (ite (= X43 2) 1 X43) X43))) (and (= top.impl.usr.chart_microwave_mode_logic_mode_a_0 (ite top.impl.usr.chart_microwave_mode_logic____wakeup____a_0 (ite top.impl.usr.chart_microwave_mode_logic_rlt_evtInitStep_a_0 (ite (not (= X2 4)) 1 X35) (ite (and (not X7) (and (>= X16 1) (<= X16 3))) (ite X44 (ite (not (= X45 3)) 3 X42) X42) X37)) X35)) (= top.impl.usr.microwave_microwave_mode_logic_mode_a_0 top.impl.usr.chart_microwave_mode_logic_mode_a_0) (let ((X46 (ite (not (= X2 4)) 4 X2))) (and (= top.impl.usr.chart_microwave_mode_logic_final_state_states___root_a_0 (ite top.impl.usr.chart_microwave_mode_logic____wakeup____a_0 (ite top.impl.usr.chart_microwave_mode_logic_rlt_evtInitStep_a_0 X46 (ite (and (not X7) (and (>= X16 1) (<= X16 3))) (ite X44 (ite (not (= X45 3)) 3 X45) X45) X16)) X2)) (<= 0 X26 1) (<= 0 X11 1) (<= 0 X5 1) top.res.init_flag_a_0)))))))))))))))))))))))))))))))))))))))))))))))))))))) diff --git a/lib/Inv_Track/andrew_lustre/microwave21.lus.sl b/lib/Inv_Track/andrew_lustre/microwave21.lus.sl index 425c505c..c8c69ccc 100644 --- a/lib/Inv_Track/andrew_lustre/microwave21.lus.sl +++ b/lib/Inv_Track/andrew_lustre/microwave21.lus.sl @@ -1,4 +1,4 @@ -(set-logic LIA) +(set-logic NIA) (define-fun __node_init_top_0 ((top.usr.KP_START_a_0 Bool) (top.usr.KP_CLEAR_a_0 Bool) (top.usr.KP_0_a_0 Bool) (top.usr.KP_1_a_0 Bool) (top.usr.KP_2_a_0 Bool) (top.usr.KP_3_a_0 Bool) (top.usr.KP_4_a_0 Bool) (top.usr.KP_5_a_0 Bool) (top.usr.KP_6_a_0 Bool) (top.usr.KP_7_a_0 Bool) (top.usr.KP_8_a_0 Bool) (top.usr.KP_9_a_0 Bool) (top.usr.DOOR_CLOSED_a_0 Bool) (top.res.nondet_5 Int) (top.res.nondet_4 Int) (top.res.nondet_3 Int) (top.res.nondet_2 Int) (top.res.nondet_1 Int) (top.res.nondet_0 Int) (top.usr.OK_a_0 Bool) (top.res.init_flag_a_0 Bool) (top.impl.usr.STEPS_TO_COOK_a_0 Int) (top.impl.usr.rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_clock_a_0 Bool) (top.impl.usr.KP_01_a_0 Bool) (top.impl.usr.KP_11_a_0 Bool) (top.impl.usr.KP_21_a_0 Bool) (top.impl.usr.KP_31_a_0 Bool) (top.impl.usr.KP_41_a_0 Bool) (top.impl.usr.KP_51_a_0 Bool) (top.impl.usr.KP_61_a_0 Bool) (top.impl.usr.KP_71_a_0 Bool) (top.impl.usr.KP_81_a_0 Bool) (top.impl.usr.KP_91_a_0 Bool) (top.impl.usr.rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_init_step_a_0 Bool) (top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_LEFT_DIGIT_DIGIT_TO_DISPLAY_a_0 Int) (top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_MIDDLE_DIGIT_DIGIT_TO_DISPLAY_a_0 Int) (top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_RIGHT_DIGIT_DIGIT_TO_DISPLAY_a_0 Int) (top.impl.usr.chart_microwave_mode_logic____wakeup____a_0 Bool) (top.impl.usr.chart_microwave_mode_logic_rlt_evtInitStep_a_0 Bool) (top.impl.usr.chart_microwave_mode_logic_final_state_states___root_a_0 Int) (top.impl.usr.chart_microwave_mode_logic_mode_a_0 Int) (top.impl.usr.chart_microwave_mode_logic_steps_remaining_a_0 Int) (top.impl.usr.microwave_microwave_mode_logic_mode_a_0 Int)) Bool (let ((X1 0)) (let ((X2 0)) (and (= top.impl.usr.chart_microwave_mode_logic_rlt_evtInitStep_a_0 true) (let ((X3 (= X2 4))) (let ((X4 top.usr.KP_START_a_0)) (let ((X5 (ite (not X4) 0 1))) (and (= top.impl.usr.KP_91_a_0 top.usr.KP_9_a_0) (= top.impl.usr.KP_81_a_0 top.usr.KP_8_a_0) (= top.impl.usr.KP_71_a_0 top.usr.KP_7_a_0) (= top.impl.usr.KP_61_a_0 top.usr.KP_6_a_0) (= top.impl.usr.KP_51_a_0 top.usr.KP_5_a_0) (= top.impl.usr.KP_41_a_0 top.usr.KP_4_a_0) (= top.impl.usr.KP_31_a_0 top.usr.KP_3_a_0) (= top.impl.usr.KP_21_a_0 top.usr.KP_2_a_0) (= top.impl.usr.KP_11_a_0 top.usr.KP_1_a_0) (= top.impl.usr.KP_01_a_0 top.usr.KP_0_a_0) (= top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_RIGHT_DIGIT_DIGIT_TO_DISPLAY_a_0 (ite top.usr.KP_CLEAR_a_0 0 (ite (ite (<= (ite top.impl.usr.KP_01_a_0 0 (ite top.impl.usr.KP_11_a_0 1 (ite top.impl.usr.KP_21_a_0 2 (ite top.impl.usr.KP_31_a_0 3 (ite top.impl.usr.KP_41_a_0 4 (ite top.impl.usr.KP_51_a_0 5 (ite top.impl.usr.KP_61_a_0 6 (ite top.impl.usr.KP_71_a_0 7 (ite top.impl.usr.KP_81_a_0 8 (ite top.impl.usr.KP_91_a_0 9 10)))))))))) 9) true false) (ite top.impl.usr.KP_01_a_0 0 (ite top.impl.usr.KP_11_a_0 1 (ite top.impl.usr.KP_21_a_0 2 (ite top.impl.usr.KP_31_a_0 3 (ite top.impl.usr.KP_41_a_0 4 (ite top.impl.usr.KP_51_a_0 5 (ite top.impl.usr.KP_61_a_0 6 (ite top.impl.usr.KP_71_a_0 7 (ite top.impl.usr.KP_81_a_0 8 (ite top.impl.usr.KP_91_a_0 9 10)))))))))) 0))) (= top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_MIDDLE_DIGIT_DIGIT_TO_DISPLAY_a_0 0) (= top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_LEFT_DIGIT_DIGIT_TO_DISPLAY_a_0 0) (= top.impl.usr.rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_init_step_a_0 true) (let ((X6 true)) (and (= top.impl.usr.rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_clock_a_0 X6) (= top.impl.usr.STEPS_TO_COOK_a_0 (ite (and top.impl.usr.rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_init_step_a_0 (not top.impl.usr.rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_clock_a_0)) 0 (* (+ (+ (* top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_RIGHT_DIGIT_DIGIT_TO_DISPLAY_a_0 1) (* top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_MIDDLE_DIGIT_DIGIT_TO_DISPLAY_a_0 10)) (* top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_LEFT_DIGIT_DIGIT_TO_DISPLAY_a_0 60)) 1))) (let ((X7 (and X3 (and (= X2 4) (and (ite (not (= X5 0)) true false) (ite (not (= (ite (not (> top.impl.usr.STEPS_TO_COOK_a_0 0)) 0 1) 0)) true false)))))) (let ((X8 (ite X7 (ite (= X2 4) 0 X2) X2))) (let ((X9 (ite (not (and (>= X8 1) (<= X8 3))) 1 X8))) (let ((X10 (and (not (and (>= X8 1) (<= X8 3))) (and (>= X9 1) (<= X9 3))))) (let ((X11 (ite (not top.usr.DOOR_CLOSED_a_0) 0 1))) (let ((X12 (and X10 (and (and (>= X9 1) (<= X9 3)) (ite (not (= X11 0)) true false))))) (let ((X13 (ite X12 (ite (not (= X9 2)) 2 X9) X9))) (let ((X14 (and X10 (and (and (>= X13 1) (<= X13 3)) (not X12))))) (let ((X15 (ite X14 (ite (not (= X13 3)) 3 X13) X13))) (let ((X16 (ite X7 X15 X8))) (let ((X17 (ite X3 top.impl.usr.STEPS_TO_COOK_a_0 X1))) (let ((X18 (and (and (= X16 2) (<= X17 0)) (= X16 2)))) (let ((X19 (ite X18 (ite (and (>= X16 1) (<= X16 3)) 0 X16) X16))) (let ((X20 (ite X18 (ite (not (= X19 4)) 4 X19) X19))) (let ((X21 (and (= X20 3) (and (and (ite (not (= X5 0)) true false) (ite (not (= X11 0)) true false)) (not X18))))) (let ((X22 (ite X21 (ite (= X20 3) 1 X20) X20))) (let ((X23 (ite X21 (ite (not (= X22 2)) 2 X22) X22))) (let ((X24 (or X21 X18))) (let ((X25 top.usr.KP_CLEAR_a_0)) (let ((X26 (ite (not X25) 0 1))) (let ((X27 (and (and (= X23 3) (and (ite (not (= X26 0)) true false) (not X24))) (and (= X23 3) (not X24))))) (let ((X28 (ite X27 (ite (and (>= X23 1) (<= X23 3)) 0 X23) X23))) (let ((X29 (ite X27 (ite (not (= X28 4)) 4 X28) X28))) (let ((X30 (ite X27 0 X17))) (let ((X31 (or X27 X24))) (let ((X32 (and (= X29 2) (and (> X30 0) (not X31))))) (and (= top.impl.usr.chart_microwave_mode_logic____wakeup____a_0 true) (= top.impl.usr.chart_microwave_mode_logic_steps_remaining_a_0 (ite top.impl.usr.chart_microwave_mode_logic____wakeup____a_0 (ite top.impl.usr.chart_microwave_mode_logic_rlt_evtInitStep_a_0 X1 (ite (and (not X7) (and (>= X16 1) (<= X16 3))) (ite X32 (- X30 1) X30) X17)) X1)) (let ((X33 (div (div top.impl.usr.chart_microwave_mode_logic_steps_remaining_a_0 1) 60))) (let ((X34 X33)) (and (= top.usr.OK_a_0 (or (not (and X6 (not top.usr.KP_CLEAR_a_0))) (or (not (or (or (or (or (or (or (or (or (or top.usr.KP_1_a_0 top.usr.KP_2_a_0) top.usr.KP_3_a_0) top.usr.KP_4_a_0) top.usr.KP_5_a_0) top.usr.KP_6_a_0) top.usr.KP_7_a_0) top.usr.KP_8_a_0) top.usr.KP_9_a_0) top.usr.KP_0_a_0)) (= X34 (div (div top.impl.usr.STEPS_TO_COOK_a_0 1) 60))))) (let ((X35 0)) (let ((X36 (ite X12 (ite (not (= X9 2)) 2 X35) X35))) (let ((X37 (ite X7 (ite X14 (ite (not (= X13 3)) 3 X36) X36) X35))) (let ((X38 (ite X32 (ite (= X29 2) 1 X29) X29))) (let ((X39 (ite X18 (ite (not (= X19 4)) 1 X37) X37))) (let ((X40 (ite X21 (ite (not (= X22 2)) 2 X39) X39))) (let ((X41 (ite X27 (ite (not (= X28 4)) 1 X40) X40))) (let ((X42 (ite X32 (ite (not (= X38 2)) 2 X41) X41))) (let ((X43 (ite X32 (ite (not (= X38 2)) 2 X38) X38))) (let ((X44 (and (= X43 2) (and (or (ite (not (= X26 0)) true false) (not (ite (not (= X11 0)) true false))) (not (or X32 X31)))))) (let ((X45 (ite X44 (ite (= X43 2) 1 X43) X43))) (and (= top.impl.usr.chart_microwave_mode_logic_mode_a_0 (ite top.impl.usr.chart_microwave_mode_logic____wakeup____a_0 (ite top.impl.usr.chart_microwave_mode_logic_rlt_evtInitStep_a_0 (ite (not (= X2 4)) 1 X35) (ite (and (not X7) (and (>= X16 1) (<= X16 3))) (ite X44 (ite (not (= X45 3)) 3 X42) X42) X37)) X35)) (= top.impl.usr.microwave_microwave_mode_logic_mode_a_0 top.impl.usr.chart_microwave_mode_logic_mode_a_0) (let ((X46 (ite (not (= X2 4)) 4 X2))) (and (= top.impl.usr.chart_microwave_mode_logic_final_state_states___root_a_0 (ite top.impl.usr.chart_microwave_mode_logic____wakeup____a_0 (ite top.impl.usr.chart_microwave_mode_logic_rlt_evtInitStep_a_0 X46 (ite (and (not X7) (and (>= X16 1) (<= X16 3))) (ite X44 (ite (not (= X45 3)) 3 X45) X45) X16)) X2)) (<= 0 X26 1) (<= 0 X11 1) (<= 0 X5 1) top.res.init_flag_a_0)))))))))))))))))))))))))))))))))))))))))))))))))))))) diff --git a/lib/Inv_Track/andrew_lustre/microwave22.lus.sl b/lib/Inv_Track/andrew_lustre/microwave22.lus.sl index 6e66bb4b..203198d4 100644 --- a/lib/Inv_Track/andrew_lustre/microwave22.lus.sl +++ b/lib/Inv_Track/andrew_lustre/microwave22.lus.sl @@ -1,4 +1,4 @@ -(set-logic LIA) +(set-logic NIA) (define-fun __node_init_top_0 ((top.usr.KP_START_a_0 Bool) (top.usr.KP_CLEAR_a_0 Bool) (top.usr.KP_0_a_0 Bool) (top.usr.KP_1_a_0 Bool) (top.usr.KP_2_a_0 Bool) (top.usr.KP_3_a_0 Bool) (top.usr.KP_4_a_0 Bool) (top.usr.KP_5_a_0 Bool) (top.usr.KP_6_a_0 Bool) (top.usr.KP_7_a_0 Bool) (top.usr.KP_8_a_0 Bool) (top.usr.KP_9_a_0 Bool) (top.usr.DOOR_CLOSED_a_0 Bool) (top.res.nondet_5 Int) (top.res.nondet_4 Int) (top.res.nondet_3 Int) (top.res.nondet_2 Int) (top.res.nondet_1 Int) (top.res.nondet_0 Int) (top.usr.OK_a_0 Bool) (top.res.init_flag_a_0 Bool) (top.impl.usr.LEFT_DIGIT_a_0 Int) (top.impl.usr.STEPS_TO_COOK_a_0 Int) (top.impl.usr.rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_clock_a_0 Bool) (top.impl.usr.KP_01_a_0 Bool) (top.impl.usr.KP_11_a_0 Bool) (top.impl.usr.KP_21_a_0 Bool) (top.impl.usr.KP_31_a_0 Bool) (top.impl.usr.KP_41_a_0 Bool) (top.impl.usr.KP_51_a_0 Bool) (top.impl.usr.KP_61_a_0 Bool) (top.impl.usr.KP_71_a_0 Bool) (top.impl.usr.KP_81_a_0 Bool) (top.impl.usr.KP_91_a_0 Bool) (top.impl.usr.rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_init_step_a_0 Bool) (top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_LEFT_DIGIT_DIGIT_TO_DISPLAY_a_0 Int) (top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_MIDDLE_DIGIT_DIGIT_TO_DISPLAY_a_0 Int) (top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_RIGHT_DIGIT_DIGIT_TO_DISPLAY_a_0 Int) (top.impl.usr.chart_microwave_mode_logic____wakeup____a_0 Bool) (top.impl.usr.chart_microwave_mode_logic_rlt_evtInitStep_a_0 Bool) (top.impl.usr.chart_microwave_mode_logic_final_state_states___root_a_0 Int) (top.impl.usr.chart_microwave_mode_logic_mode_a_0 Int) (top.impl.usr.chart_microwave_mode_logic_steps_remaining_a_0 Int) (top.impl.usr.microwave_microwave_mode_logic_mode_a_0 Int)) Bool (and (= top.usr.OK_a_0 true) (let ((X1 0)) (let ((X2 0)) (and (= top.impl.usr.chart_microwave_mode_logic_rlt_evtInitStep_a_0 true) (let ((X3 (= X2 4))) (let ((X4 top.usr.KP_START_a_0)) (let ((X5 (ite (not X4) 0 1))) (and (= top.impl.usr.KP_91_a_0 top.usr.KP_9_a_0) (= top.impl.usr.KP_81_a_0 top.usr.KP_8_a_0) (= top.impl.usr.KP_71_a_0 top.usr.KP_7_a_0) (= top.impl.usr.KP_61_a_0 top.usr.KP_6_a_0) (= top.impl.usr.KP_51_a_0 top.usr.KP_5_a_0) (= top.impl.usr.KP_41_a_0 top.usr.KP_4_a_0) (= top.impl.usr.KP_31_a_0 top.usr.KP_3_a_0) (= top.impl.usr.KP_21_a_0 top.usr.KP_2_a_0) (= top.impl.usr.KP_11_a_0 top.usr.KP_1_a_0) (= top.impl.usr.KP_01_a_0 top.usr.KP_0_a_0) (= top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_RIGHT_DIGIT_DIGIT_TO_DISPLAY_a_0 (ite top.usr.KP_CLEAR_a_0 0 (ite (ite (<= (ite top.impl.usr.KP_01_a_0 0 (ite top.impl.usr.KP_11_a_0 1 (ite top.impl.usr.KP_21_a_0 2 (ite top.impl.usr.KP_31_a_0 3 (ite top.impl.usr.KP_41_a_0 4 (ite top.impl.usr.KP_51_a_0 5 (ite top.impl.usr.KP_61_a_0 6 (ite top.impl.usr.KP_71_a_0 7 (ite top.impl.usr.KP_81_a_0 8 (ite top.impl.usr.KP_91_a_0 9 10)))))))))) 9) true false) (ite top.impl.usr.KP_01_a_0 0 (ite top.impl.usr.KP_11_a_0 1 (ite top.impl.usr.KP_21_a_0 2 (ite top.impl.usr.KP_31_a_0 3 (ite top.impl.usr.KP_41_a_0 4 (ite top.impl.usr.KP_51_a_0 5 (ite top.impl.usr.KP_61_a_0 6 (ite top.impl.usr.KP_71_a_0 7 (ite top.impl.usr.KP_81_a_0 8 (ite top.impl.usr.KP_91_a_0 9 10)))))))))) 0))) (= top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_MIDDLE_DIGIT_DIGIT_TO_DISPLAY_a_0 0) (= top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_LEFT_DIGIT_DIGIT_TO_DISPLAY_a_0 0) (= top.impl.usr.rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_init_step_a_0 true) (let ((X6 true)) (and (= top.impl.usr.rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_clock_a_0 X6) (= top.impl.usr.STEPS_TO_COOK_a_0 (ite (and top.impl.usr.rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_init_step_a_0 (not top.impl.usr.rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_clock_a_0)) 0 (* (+ (+ (* top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_RIGHT_DIGIT_DIGIT_TO_DISPLAY_a_0 1) (* top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_MIDDLE_DIGIT_DIGIT_TO_DISPLAY_a_0 10)) (* top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_LEFT_DIGIT_DIGIT_TO_DISPLAY_a_0 60)) 1))) (let ((X7 (and X3 (and (= X2 4) (and (ite (not (= X5 0)) true false) (ite (not (= (ite (not (> top.impl.usr.STEPS_TO_COOK_a_0 0)) 0 1) 0)) true false)))))) (let ((X8 (ite X7 (ite (= X2 4) 0 X2) X2))) (let ((X9 (ite (not (and (>= X8 1) (<= X8 3))) 1 X8))) (let ((X10 (and (not (and (>= X8 1) (<= X8 3))) (and (>= X9 1) (<= X9 3))))) (let ((X11 (ite (not top.usr.DOOR_CLOSED_a_0) 0 1))) (let ((X12 (and X10 (and (and (>= X9 1) (<= X9 3)) (ite (not (= X11 0)) true false))))) (let ((X13 (ite X12 (ite (not (= X9 2)) 2 X9) X9))) (let ((X14 (and X10 (and (and (>= X13 1) (<= X13 3)) (not X12))))) (let ((X15 (ite X14 (ite (not (= X13 3)) 3 X13) X13))) (let ((X16 (ite X7 X15 X8))) (let ((X17 (ite X3 top.impl.usr.STEPS_TO_COOK_a_0 X1))) (let ((X18 (and (and (= X16 2) (<= X17 0)) (= X16 2)))) (let ((X19 (ite X18 (ite (and (>= X16 1) (<= X16 3)) 0 X16) X16))) (let ((X20 (ite X18 (ite (not (= X19 4)) 4 X19) X19))) (let ((X21 (and (= X20 3) (and (and (ite (not (= X5 0)) true false) (ite (not (= X11 0)) true false)) (not X18))))) (let ((X22 (ite X21 (ite (= X20 3) 1 X20) X20))) (let ((X23 (ite X21 (ite (not (= X22 2)) 2 X22) X22))) (let ((X24 (or X21 X18))) (let ((X25 top.usr.KP_CLEAR_a_0)) (let ((X26 (ite (not X25) 0 1))) (let ((X27 (and (and (= X23 3) (and (ite (not (= X26 0)) true false) (not X24))) (and (= X23 3) (not X24))))) (let ((X28 (ite X27 (ite (and (>= X23 1) (<= X23 3)) 0 X23) X23))) (let ((X29 (ite X27 (ite (not (= X28 4)) 4 X28) X28))) (let ((X30 (ite X27 0 X17))) (let ((X31 (or X27 X24))) (let ((X32 (and (= X29 2) (and (> X30 0) (not X31))))) (and (= top.impl.usr.chart_microwave_mode_logic____wakeup____a_0 true) (= top.impl.usr.chart_microwave_mode_logic_steps_remaining_a_0 (ite top.impl.usr.chart_microwave_mode_logic____wakeup____a_0 (ite top.impl.usr.chart_microwave_mode_logic_rlt_evtInitStep_a_0 X1 (ite (and (not X7) (and (>= X16 1) (<= X16 3))) (ite X32 (- X30 1) X30) X17)) X1)) (let ((X33 (div (div top.impl.usr.chart_microwave_mode_logic_steps_remaining_a_0 1) 60))) (and (= top.impl.usr.LEFT_DIGIT_a_0 X33) (let ((X34 0)) (let ((X35 (ite X12 (ite (not (= X9 2)) 2 X34) X34))) (let ((X36 (ite X7 (ite X14 (ite (not (= X13 3)) 3 X35) X35) X34))) (let ((X37 (ite X32 (ite (= X29 2) 1 X29) X29))) (let ((X38 (ite X18 (ite (not (= X19 4)) 1 X36) X36))) (let ((X39 (ite X21 (ite (not (= X22 2)) 2 X38) X38))) (let ((X40 (ite X27 (ite (not (= X28 4)) 1 X39) X39))) (let ((X41 (ite X32 (ite (not (= X37 2)) 2 X40) X40))) (let ((X42 (ite X32 (ite (not (= X37 2)) 2 X37) X37))) (let ((X43 (and (= X42 2) (and (or (ite (not (= X26 0)) true false) (not (ite (not (= X11 0)) true false))) (not (or X32 X31)))))) (let ((X44 (ite X43 (ite (= X42 2) 1 X42) X42))) (and (= top.impl.usr.chart_microwave_mode_logic_mode_a_0 (ite top.impl.usr.chart_microwave_mode_logic____wakeup____a_0 (ite top.impl.usr.chart_microwave_mode_logic_rlt_evtInitStep_a_0 (ite (not (= X2 4)) 1 X34) (ite (and (not X7) (and (>= X16 1) (<= X16 3))) (ite X43 (ite (not (= X44 3)) 3 X41) X41) X36)) X34)) (= top.impl.usr.microwave_microwave_mode_logic_mode_a_0 top.impl.usr.chart_microwave_mode_logic_mode_a_0) (let ((X45 (ite (not (= X2 4)) 4 X2))) (and (= top.impl.usr.chart_microwave_mode_logic_final_state_states___root_a_0 (ite top.impl.usr.chart_microwave_mode_logic____wakeup____a_0 (ite top.impl.usr.chart_microwave_mode_logic_rlt_evtInitStep_a_0 X45 (ite (and (not X7) (and (>= X16 1) (<= X16 3))) (ite X43 (ite (not (= X44 3)) 3 X44) X44) X16)) X2)) (<= 0 X26 1) (<= 0 X11 1) (<= 0 X5 1) top.res.init_flag_a_0)))))))))))))))))))))))))))))))))))))))))))))))))))))) diff --git a/lib/Inv_Track/andrew_lustre/microwave24.lus.sl b/lib/Inv_Track/andrew_lustre/microwave24.lus.sl index 60901980..2d8853a2 100644 --- a/lib/Inv_Track/andrew_lustre/microwave24.lus.sl +++ b/lib/Inv_Track/andrew_lustre/microwave24.lus.sl @@ -1,4 +1,4 @@ -(set-logic LIA) +(set-logic NIA) (define-fun __node_init_top_0 ((top.usr.KP_START_a_0 Bool) (top.usr.KP_CLEAR_a_0 Bool) (top.usr.KP_0_a_0 Bool) (top.usr.KP_1_a_0 Bool) (top.usr.KP_2_a_0 Bool) (top.usr.KP_3_a_0 Bool) (top.usr.KP_4_a_0 Bool) (top.usr.KP_5_a_0 Bool) (top.usr.KP_6_a_0 Bool) (top.usr.KP_7_a_0 Bool) (top.usr.KP_8_a_0 Bool) (top.usr.KP_9_a_0 Bool) (top.usr.DOOR_CLOSED_a_0 Bool) (top.res.nondet_5 Int) (top.res.nondet_4 Int) (top.res.nondet_3 Int) (top.res.nondet_2 Int) (top.res.nondet_1 Int) (top.res.nondet_0 Int) (top.usr.OK_a_0 Bool) (top.res.init_flag_a_0 Bool) (top.impl.usr.STEPS_TO_COOK_a_0 Int) (top.impl.usr.rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_clock_a_0 Bool) (top.impl.usr.KP_01_a_0 Bool) (top.impl.usr.KP_11_a_0 Bool) (top.impl.usr.KP_21_a_0 Bool) (top.impl.usr.KP_31_a_0 Bool) (top.impl.usr.KP_41_a_0 Bool) (top.impl.usr.KP_51_a_0 Bool) (top.impl.usr.KP_61_a_0 Bool) (top.impl.usr.KP_71_a_0 Bool) (top.impl.usr.KP_81_a_0 Bool) (top.impl.usr.KP_91_a_0 Bool) (top.impl.usr.rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_init_step_a_0 Bool) (top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_LEFT_DIGIT_DIGIT_TO_DISPLAY_a_0 Int) (top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_MIDDLE_DIGIT_DIGIT_TO_DISPLAY_a_0 Int) (top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_RIGHT_DIGIT_DIGIT_TO_DISPLAY_a_0 Int) (top.impl.usr.chart_microwave_mode_logic____wakeup____a_0 Bool) (top.impl.usr.chart_microwave_mode_logic_rlt_evtInitStep_a_0 Bool) (top.impl.usr.chart_microwave_mode_logic_final_state_states___root_a_0 Int) (top.impl.usr.chart_microwave_mode_logic_mode_a_0 Int) (top.impl.usr.chart_microwave_mode_logic_steps_remaining_a_0 Int) (top.impl.usr.microwave_microwave_mode_logic_mode_a_0 Int)) Bool (let ((X1 0)) (let ((X2 0)) (and (= top.impl.usr.chart_microwave_mode_logic_rlt_evtInitStep_a_0 true) (let ((X3 (= X2 4))) (let ((X4 top.usr.KP_START_a_0)) (let ((X5 (ite (not X4) 0 1))) (and (= top.impl.usr.KP_91_a_0 top.usr.KP_9_a_0) (= top.impl.usr.KP_81_a_0 top.usr.KP_8_a_0) (= top.impl.usr.KP_71_a_0 top.usr.KP_7_a_0) (= top.impl.usr.KP_61_a_0 top.usr.KP_6_a_0) (= top.impl.usr.KP_51_a_0 top.usr.KP_5_a_0) (= top.impl.usr.KP_41_a_0 top.usr.KP_4_a_0) (= top.impl.usr.KP_31_a_0 top.usr.KP_3_a_0) (= top.impl.usr.KP_21_a_0 top.usr.KP_2_a_0) (= top.impl.usr.KP_11_a_0 top.usr.KP_1_a_0) (= top.impl.usr.KP_01_a_0 top.usr.KP_0_a_0) (= top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_RIGHT_DIGIT_DIGIT_TO_DISPLAY_a_0 (ite top.usr.KP_CLEAR_a_0 0 (ite (ite (<= (ite top.impl.usr.KP_01_a_0 0 (ite top.impl.usr.KP_11_a_0 1 (ite top.impl.usr.KP_21_a_0 2 (ite top.impl.usr.KP_31_a_0 3 (ite top.impl.usr.KP_41_a_0 4 (ite top.impl.usr.KP_51_a_0 5 (ite top.impl.usr.KP_61_a_0 6 (ite top.impl.usr.KP_71_a_0 7 (ite top.impl.usr.KP_81_a_0 8 (ite top.impl.usr.KP_91_a_0 9 10)))))))))) 9) true false) (ite top.impl.usr.KP_01_a_0 0 (ite top.impl.usr.KP_11_a_0 1 (ite top.impl.usr.KP_21_a_0 2 (ite top.impl.usr.KP_31_a_0 3 (ite top.impl.usr.KP_41_a_0 4 (ite top.impl.usr.KP_51_a_0 5 (ite top.impl.usr.KP_61_a_0 6 (ite top.impl.usr.KP_71_a_0 7 (ite top.impl.usr.KP_81_a_0 8 (ite top.impl.usr.KP_91_a_0 9 10)))))))))) 0))) (= top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_MIDDLE_DIGIT_DIGIT_TO_DISPLAY_a_0 0) (= top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_LEFT_DIGIT_DIGIT_TO_DISPLAY_a_0 0) (= top.impl.usr.rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_init_step_a_0 true) (let ((X6 true)) (and (= top.impl.usr.rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_clock_a_0 X6) (= top.impl.usr.STEPS_TO_COOK_a_0 (ite (and top.impl.usr.rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_init_step_a_0 (not top.impl.usr.rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_clock_a_0)) 0 (* (+ (+ (* top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_RIGHT_DIGIT_DIGIT_TO_DISPLAY_a_0 1) (* top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_MIDDLE_DIGIT_DIGIT_TO_DISPLAY_a_0 10)) (* top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_LEFT_DIGIT_DIGIT_TO_DISPLAY_a_0 60)) 1))) (let ((X7 (and X3 (and (= X2 4) (and (ite (not (= X5 0)) true false) (ite (not (= (ite (not (> top.impl.usr.STEPS_TO_COOK_a_0 0)) 0 1) 0)) true false)))))) (let ((X8 (ite X7 (ite (= X2 4) 0 X2) X2))) (let ((X9 (ite (not (and (>= X8 1) (<= X8 3))) 1 X8))) (let ((X10 (and (not (and (>= X8 1) (<= X8 3))) (and (>= X9 1) (<= X9 3))))) (let ((X11 (ite (not top.usr.DOOR_CLOSED_a_0) 0 1))) (let ((X12 (and X10 (and (and (>= X9 1) (<= X9 3)) (ite (not (= X11 0)) true false))))) (let ((X13 (ite X12 (ite (not (= X9 2)) 2 X9) X9))) (let ((X14 (and X10 (and (and (>= X13 1) (<= X13 3)) (not X12))))) (let ((X15 (ite X14 (ite (not (= X13 3)) 3 X13) X13))) (let ((X16 (ite X7 X15 X8))) (let ((X17 (ite X3 top.impl.usr.STEPS_TO_COOK_a_0 X1))) (let ((X18 (and (and (= X16 2) (<= X17 0)) (= X16 2)))) (let ((X19 (ite X18 (ite (and (>= X16 1) (<= X16 3)) 0 X16) X16))) (let ((X20 (ite X18 (ite (not (= X19 4)) 4 X19) X19))) (let ((X21 (and (= X20 3) (and (and (ite (not (= X5 0)) true false) (ite (not (= X11 0)) true false)) (not X18))))) (let ((X22 (ite X21 (ite (= X20 3) 1 X20) X20))) (let ((X23 (ite X21 (ite (not (= X22 2)) 2 X22) X22))) (let ((X24 (or X21 X18))) (let ((X25 top.usr.KP_CLEAR_a_0)) (let ((X26 (ite (not X25) 0 1))) (let ((X27 (and (and (= X23 3) (and (ite (not (= X26 0)) true false) (not X24))) (and (= X23 3) (not X24))))) (let ((X28 (ite X27 (ite (and (>= X23 1) (<= X23 3)) 0 X23) X23))) (let ((X29 (ite X27 (ite (not (= X28 4)) 4 X28) X28))) (let ((X30 (ite X27 0 X17))) (let ((X31 (or X27 X24))) (let ((X32 (and (= X29 2) (and (> X30 0) (not X31))))) (and (= top.impl.usr.chart_microwave_mode_logic____wakeup____a_0 true) (= top.impl.usr.chart_microwave_mode_logic_steps_remaining_a_0 (ite top.impl.usr.chart_microwave_mode_logic____wakeup____a_0 (ite top.impl.usr.chart_microwave_mode_logic_rlt_evtInitStep_a_0 X1 (ite (and (not X7) (and (>= X16 1) (<= X16 3))) (ite X32 (- X30 1) X30) X17)) X1)) (let ((X33 (div (- (div top.impl.usr.chart_microwave_mode_logic_steps_remaining_a_0 1) (* (div (div top.impl.usr.chart_microwave_mode_logic_steps_remaining_a_0 1) 60) 60)) 10))) (let ((X34 X33)) (and (= top.usr.OK_a_0 (or (not (and X6 top.usr.KP_CLEAR_a_0)) (= X34 0))) (let ((X35 0)) (let ((X36 (ite X12 (ite (not (= X9 2)) 2 X35) X35))) (let ((X37 (ite X7 (ite X14 (ite (not (= X13 3)) 3 X36) X36) X35))) (let ((X38 (ite X32 (ite (= X29 2) 1 X29) X29))) (let ((X39 (ite X18 (ite (not (= X19 4)) 1 X37) X37))) (let ((X40 (ite X21 (ite (not (= X22 2)) 2 X39) X39))) (let ((X41 (ite X27 (ite (not (= X28 4)) 1 X40) X40))) (let ((X42 (ite X32 (ite (not (= X38 2)) 2 X41) X41))) (let ((X43 (ite X32 (ite (not (= X38 2)) 2 X38) X38))) (let ((X44 (and (= X43 2) (and (or (ite (not (= X26 0)) true false) (not (ite (not (= X11 0)) true false))) (not (or X32 X31)))))) (let ((X45 (ite X44 (ite (= X43 2) 1 X43) X43))) (and (= top.impl.usr.chart_microwave_mode_logic_mode_a_0 (ite top.impl.usr.chart_microwave_mode_logic____wakeup____a_0 (ite top.impl.usr.chart_microwave_mode_logic_rlt_evtInitStep_a_0 (ite (not (= X2 4)) 1 X35) (ite (and (not X7) (and (>= X16 1) (<= X16 3))) (ite X44 (ite (not (= X45 3)) 3 X42) X42) X37)) X35)) (= top.impl.usr.microwave_microwave_mode_logic_mode_a_0 top.impl.usr.chart_microwave_mode_logic_mode_a_0) (let ((X46 (ite (not (= X2 4)) 4 X2))) (and (= top.impl.usr.chart_microwave_mode_logic_final_state_states___root_a_0 (ite top.impl.usr.chart_microwave_mode_logic____wakeup____a_0 (ite top.impl.usr.chart_microwave_mode_logic_rlt_evtInitStep_a_0 X46 (ite (and (not X7) (and (>= X16 1) (<= X16 3))) (ite X44 (ite (not (= X45 3)) 3 X45) X45) X16)) X2)) (<= 0 X26 1) (<= 0 X11 1) (<= 0 X5 1) top.res.init_flag_a_0)))))))))))))))))))))))))))))))))))))))))))))))))))))) diff --git a/lib/Inv_Track/andrew_lustre/microwave26.lus.sl b/lib/Inv_Track/andrew_lustre/microwave26.lus.sl index d5a1f1cd..b49484a6 100644 --- a/lib/Inv_Track/andrew_lustre/microwave26.lus.sl +++ b/lib/Inv_Track/andrew_lustre/microwave26.lus.sl @@ -1,4 +1,4 @@ -(set-logic LIA) +(set-logic NIA) (define-fun __node_init_top_0 ((top.usr.KP_START_a_0 Bool) (top.usr.KP_CLEAR_a_0 Bool) (top.usr.KP_0_a_0 Bool) (top.usr.KP_1_a_0 Bool) (top.usr.KP_2_a_0 Bool) (top.usr.KP_3_a_0 Bool) (top.usr.KP_4_a_0 Bool) (top.usr.KP_5_a_0 Bool) (top.usr.KP_6_a_0 Bool) (top.usr.KP_7_a_0 Bool) (top.usr.KP_8_a_0 Bool) (top.usr.KP_9_a_0 Bool) (top.usr.DOOR_CLOSED_a_0 Bool) (top.res.nondet_5 Int) (top.res.nondet_4 Int) (top.res.nondet_3 Int) (top.res.nondet_2 Int) (top.res.nondet_1 Int) (top.res.nondet_0 Int) (top.usr.OK_a_0 Bool) (top.res.init_flag_a_0 Bool) (top.impl.usr.STEPS_TO_COOK_a_0 Int) (top.impl.usr.rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_clock_a_0 Bool) (top.impl.usr.KP_01_a_0 Bool) (top.impl.usr.KP_11_a_0 Bool) (top.impl.usr.KP_21_a_0 Bool) (top.impl.usr.KP_31_a_0 Bool) (top.impl.usr.KP_41_a_0 Bool) (top.impl.usr.KP_51_a_0 Bool) (top.impl.usr.KP_61_a_0 Bool) (top.impl.usr.KP_71_a_0 Bool) (top.impl.usr.KP_81_a_0 Bool) (top.impl.usr.KP_91_a_0 Bool) (top.impl.usr.rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_init_step_a_0 Bool) (top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_LEFT_DIGIT_DIGIT_TO_DISPLAY_a_0 Int) (top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_MIDDLE_DIGIT_DIGIT_TO_DISPLAY_a_0 Int) (top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_RIGHT_DIGIT_DIGIT_TO_DISPLAY_a_0 Int) (top.impl.usr.chart_microwave_mode_logic____wakeup____a_0 Bool) (top.impl.usr.chart_microwave_mode_logic_rlt_evtInitStep_a_0 Bool) (top.impl.usr.chart_microwave_mode_logic_final_state_states___root_a_0 Int) (top.impl.usr.chart_microwave_mode_logic_mode_a_0 Int) (top.impl.usr.chart_microwave_mode_logic_steps_remaining_a_0 Int) (top.impl.usr.microwave_microwave_mode_logic_mode_a_0 Int)) Bool (and (= top.usr.OK_a_0 true) (let ((X1 0)) (let ((X2 0)) (and (= top.impl.usr.chart_microwave_mode_logic_rlt_evtInitStep_a_0 true) (let ((X3 (= X2 4))) (let ((X4 top.usr.KP_START_a_0)) (let ((X5 (ite (not X4) 0 1))) (and (= top.impl.usr.KP_91_a_0 top.usr.KP_9_a_0) (= top.impl.usr.KP_81_a_0 top.usr.KP_8_a_0) (= top.impl.usr.KP_71_a_0 top.usr.KP_7_a_0) (= top.impl.usr.KP_61_a_0 top.usr.KP_6_a_0) (= top.impl.usr.KP_51_a_0 top.usr.KP_5_a_0) (= top.impl.usr.KP_41_a_0 top.usr.KP_4_a_0) (= top.impl.usr.KP_31_a_0 top.usr.KP_3_a_0) (= top.impl.usr.KP_21_a_0 top.usr.KP_2_a_0) (= top.impl.usr.KP_11_a_0 top.usr.KP_1_a_0) (= top.impl.usr.KP_01_a_0 top.usr.KP_0_a_0) (= top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_RIGHT_DIGIT_DIGIT_TO_DISPLAY_a_0 (ite top.usr.KP_CLEAR_a_0 0 (ite (ite (<= (ite top.impl.usr.KP_01_a_0 0 (ite top.impl.usr.KP_11_a_0 1 (ite top.impl.usr.KP_21_a_0 2 (ite top.impl.usr.KP_31_a_0 3 (ite top.impl.usr.KP_41_a_0 4 (ite top.impl.usr.KP_51_a_0 5 (ite top.impl.usr.KP_61_a_0 6 (ite top.impl.usr.KP_71_a_0 7 (ite top.impl.usr.KP_81_a_0 8 (ite top.impl.usr.KP_91_a_0 9 10)))))))))) 9) true false) (ite top.impl.usr.KP_01_a_0 0 (ite top.impl.usr.KP_11_a_0 1 (ite top.impl.usr.KP_21_a_0 2 (ite top.impl.usr.KP_31_a_0 3 (ite top.impl.usr.KP_41_a_0 4 (ite top.impl.usr.KP_51_a_0 5 (ite top.impl.usr.KP_61_a_0 6 (ite top.impl.usr.KP_71_a_0 7 (ite top.impl.usr.KP_81_a_0 8 (ite top.impl.usr.KP_91_a_0 9 10)))))))))) 0))) (= top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_MIDDLE_DIGIT_DIGIT_TO_DISPLAY_a_0 0) (= top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_LEFT_DIGIT_DIGIT_TO_DISPLAY_a_0 0) (= top.impl.usr.rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_init_step_a_0 true) (let ((X6 true)) (and (= top.impl.usr.rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_clock_a_0 X6) (= top.impl.usr.STEPS_TO_COOK_a_0 (ite (and top.impl.usr.rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_init_step_a_0 (not top.impl.usr.rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_clock_a_0)) 0 (* (+ (+ (* top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_RIGHT_DIGIT_DIGIT_TO_DISPLAY_a_0 1) (* top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_MIDDLE_DIGIT_DIGIT_TO_DISPLAY_a_0 10)) (* top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_LEFT_DIGIT_DIGIT_TO_DISPLAY_a_0 60)) 1))) (let ((X7 (and X3 (and (= X2 4) (and (ite (not (= X5 0)) true false) (ite (not (= (ite (not (> top.impl.usr.STEPS_TO_COOK_a_0 0)) 0 1) 0)) true false)))))) (let ((X8 (ite X7 (ite (= X2 4) 0 X2) X2))) (let ((X9 (ite (not (and (>= X8 1) (<= X8 3))) 1 X8))) (let ((X10 (and (not (and (>= X8 1) (<= X8 3))) (and (>= X9 1) (<= X9 3))))) (let ((X11 (ite (not top.usr.DOOR_CLOSED_a_0) 0 1))) (let ((X12 (and X10 (and (and (>= X9 1) (<= X9 3)) (ite (not (= X11 0)) true false))))) (let ((X13 (ite X12 (ite (not (= X9 2)) 2 X9) X9))) (let ((X14 (and X10 (and (and (>= X13 1) (<= X13 3)) (not X12))))) (let ((X15 (ite X14 (ite (not (= X13 3)) 3 X13) X13))) (let ((X16 (ite X7 X15 X8))) (let ((X17 (ite X3 top.impl.usr.STEPS_TO_COOK_a_0 X1))) (let ((X18 (and (and (= X16 2) (<= X17 0)) (= X16 2)))) (let ((X19 (ite X18 (ite (and (>= X16 1) (<= X16 3)) 0 X16) X16))) (let ((X20 (ite X18 (ite (not (= X19 4)) 4 X19) X19))) (let ((X21 (and (= X20 3) (and (and (ite (not (= X5 0)) true false) (ite (not (= X11 0)) true false)) (not X18))))) (let ((X22 (ite X21 (ite (= X20 3) 1 X20) X20))) (let ((X23 (ite X21 (ite (not (= X22 2)) 2 X22) X22))) (let ((X24 (or X21 X18))) (let ((X25 top.usr.KP_CLEAR_a_0)) (let ((X26 (ite (not X25) 0 1))) (let ((X27 (and (and (= X23 3) (and (ite (not (= X26 0)) true false) (not X24))) (and (= X23 3) (not X24))))) (let ((X28 (ite X27 (ite (and (>= X23 1) (<= X23 3)) 0 X23) X23))) (let ((X29 (ite X27 (ite (not (= X28 4)) 4 X28) X28))) (let ((X30 (ite X27 0 X17))) (let ((X31 (or X27 X24))) (let ((X32 (and (= X29 2) (and (> X30 0) (not X31))))) (and (= top.impl.usr.chart_microwave_mode_logic____wakeup____a_0 true) (= top.impl.usr.chart_microwave_mode_logic_steps_remaining_a_0 (ite top.impl.usr.chart_microwave_mode_logic____wakeup____a_0 (ite top.impl.usr.chart_microwave_mode_logic_rlt_evtInitStep_a_0 X1 (ite (and (not X7) (and (>= X16 1) (<= X16 3))) (ite X32 (- X30 1) X30) X17)) X1)) (let ((X33 (div (- (div top.impl.usr.chart_microwave_mode_logic_steps_remaining_a_0 1) (* (div (div top.impl.usr.chart_microwave_mode_logic_steps_remaining_a_0 1) 60) 60)) 10))) (let ((X34 X33)) (let ((X35 0)) (let ((X36 (ite X12 (ite (not (= X9 2)) 2 X35) X35))) (let ((X37 (ite X7 (ite X14 (ite (not (= X13 3)) 3 X36) X36) X35))) (let ((X38 (ite X32 (ite (= X29 2) 1 X29) X29))) (let ((X39 (ite X18 (ite (not (= X19 4)) 1 X37) X37))) (let ((X40 (ite X21 (ite (not (= X22 2)) 2 X39) X39))) (let ((X41 (ite X27 (ite (not (= X28 4)) 1 X40) X40))) (let ((X42 (ite X32 (ite (not (= X38 2)) 2 X41) X41))) (let ((X43 (ite X32 (ite (not (= X38 2)) 2 X38) X38))) (let ((X44 (and (= X43 2) (and (or (ite (not (= X26 0)) true false) (not (ite (not (= X11 0)) true false))) (not (or X32 X31)))))) (let ((X45 (ite X44 (ite (= X43 2) 1 X43) X43))) (and (= top.impl.usr.chart_microwave_mode_logic_mode_a_0 (ite top.impl.usr.chart_microwave_mode_logic____wakeup____a_0 (ite top.impl.usr.chart_microwave_mode_logic_rlt_evtInitStep_a_0 (ite (not (= X2 4)) 1 X35) (ite (and (not X7) (and (>= X16 1) (<= X16 3))) (ite X44 (ite (not (= X45 3)) 3 X42) X42) X37)) X35)) (= top.impl.usr.microwave_microwave_mode_logic_mode_a_0 top.impl.usr.chart_microwave_mode_logic_mode_a_0) (let ((X46 (ite (not (= X2 4)) 4 X2))) (and (= top.impl.usr.chart_microwave_mode_logic_final_state_states___root_a_0 (ite top.impl.usr.chart_microwave_mode_logic____wakeup____a_0 (ite top.impl.usr.chart_microwave_mode_logic_rlt_evtInitStep_a_0 X46 (ite (and (not X7) (and (>= X16 1) (<= X16 3))) (ite X44 (ite (not (= X45 3)) 3 X45) X45) X16)) X2)) (<= 0 X26 1) (<= 0 X11 1) (<= 0 X5 1) top.res.init_flag_a_0)))))))))))))))))))))))))))))))))))))))))))))))))))))) diff --git a/lib/Inv_Track/andrew_lustre/microwave27.lus.sl b/lib/Inv_Track/andrew_lustre/microwave27.lus.sl index e592f13b..8b443e82 100644 --- a/lib/Inv_Track/andrew_lustre/microwave27.lus.sl +++ b/lib/Inv_Track/andrew_lustre/microwave27.lus.sl @@ -1,4 +1,4 @@ -(set-logic LIA) +(set-logic NIA) (define-fun __node_init_top_0 ((top.usr.KP_START_a_0 Bool) (top.usr.KP_CLEAR_a_0 Bool) (top.usr.KP_0_a_0 Bool) (top.usr.KP_1_a_0 Bool) (top.usr.KP_2_a_0 Bool) (top.usr.KP_3_a_0 Bool) (top.usr.KP_4_a_0 Bool) (top.usr.KP_5_a_0 Bool) (top.usr.KP_6_a_0 Bool) (top.usr.KP_7_a_0 Bool) (top.usr.KP_8_a_0 Bool) (top.usr.KP_9_a_0 Bool) (top.usr.DOOR_CLOSED_a_0 Bool) (top.res.nondet_5 Int) (top.res.nondet_4 Int) (top.res.nondet_3 Int) (top.res.nondet_2 Int) (top.res.nondet_1 Int) (top.res.nondet_0 Int) (top.usr.OK_a_0 Bool) (top.res.init_flag_a_0 Bool) (top.impl.usr.MIDDLE_DIGIT_a_0 Int) (top.impl.usr.STEPS_TO_COOK_a_0 Int) (top.impl.usr.rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_clock_a_0 Bool) (top.impl.usr.KP_01_a_0 Bool) (top.impl.usr.KP_11_a_0 Bool) (top.impl.usr.KP_21_a_0 Bool) (top.impl.usr.KP_31_a_0 Bool) (top.impl.usr.KP_41_a_0 Bool) (top.impl.usr.KP_51_a_0 Bool) (top.impl.usr.KP_61_a_0 Bool) (top.impl.usr.KP_71_a_0 Bool) (top.impl.usr.KP_81_a_0 Bool) (top.impl.usr.KP_91_a_0 Bool) (top.impl.usr.rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_init_step_a_0 Bool) (top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_LEFT_DIGIT_DIGIT_TO_DISPLAY_a_0 Int) (top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_MIDDLE_DIGIT_DIGIT_TO_DISPLAY_a_0 Int) (top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_RIGHT_DIGIT_DIGIT_TO_DISPLAY_a_0 Int) (top.impl.usr.chart_microwave_mode_logic____wakeup____a_0 Bool) (top.impl.usr.chart_microwave_mode_logic_rlt_evtInitStep_a_0 Bool) (top.impl.usr.chart_microwave_mode_logic_final_state_states___root_a_0 Int) (top.impl.usr.chart_microwave_mode_logic_mode_a_0 Int) (top.impl.usr.chart_microwave_mode_logic_steps_remaining_a_0 Int) (top.impl.usr.microwave_microwave_mode_logic_mode_a_0 Int)) Bool (and (= top.usr.OK_a_0 true) (let ((X1 0)) (let ((X2 0)) (and (= top.impl.usr.chart_microwave_mode_logic_rlt_evtInitStep_a_0 true) (let ((X3 (= X2 4))) (let ((X4 top.usr.KP_START_a_0)) (let ((X5 (ite (not X4) 0 1))) (and (= top.impl.usr.KP_91_a_0 top.usr.KP_9_a_0) (= top.impl.usr.KP_81_a_0 top.usr.KP_8_a_0) (= top.impl.usr.KP_71_a_0 top.usr.KP_7_a_0) (= top.impl.usr.KP_61_a_0 top.usr.KP_6_a_0) (= top.impl.usr.KP_51_a_0 top.usr.KP_5_a_0) (= top.impl.usr.KP_41_a_0 top.usr.KP_4_a_0) (= top.impl.usr.KP_31_a_0 top.usr.KP_3_a_0) (= top.impl.usr.KP_21_a_0 top.usr.KP_2_a_0) (= top.impl.usr.KP_11_a_0 top.usr.KP_1_a_0) (= top.impl.usr.KP_01_a_0 top.usr.KP_0_a_0) (= top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_RIGHT_DIGIT_DIGIT_TO_DISPLAY_a_0 (ite top.usr.KP_CLEAR_a_0 0 (ite (ite (<= (ite top.impl.usr.KP_01_a_0 0 (ite top.impl.usr.KP_11_a_0 1 (ite top.impl.usr.KP_21_a_0 2 (ite top.impl.usr.KP_31_a_0 3 (ite top.impl.usr.KP_41_a_0 4 (ite top.impl.usr.KP_51_a_0 5 (ite top.impl.usr.KP_61_a_0 6 (ite top.impl.usr.KP_71_a_0 7 (ite top.impl.usr.KP_81_a_0 8 (ite top.impl.usr.KP_91_a_0 9 10)))))))))) 9) true false) (ite top.impl.usr.KP_01_a_0 0 (ite top.impl.usr.KP_11_a_0 1 (ite top.impl.usr.KP_21_a_0 2 (ite top.impl.usr.KP_31_a_0 3 (ite top.impl.usr.KP_41_a_0 4 (ite top.impl.usr.KP_51_a_0 5 (ite top.impl.usr.KP_61_a_0 6 (ite top.impl.usr.KP_71_a_0 7 (ite top.impl.usr.KP_81_a_0 8 (ite top.impl.usr.KP_91_a_0 9 10)))))))))) 0))) (= top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_MIDDLE_DIGIT_DIGIT_TO_DISPLAY_a_0 0) (= top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_LEFT_DIGIT_DIGIT_TO_DISPLAY_a_0 0) (= top.impl.usr.rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_init_step_a_0 true) (let ((X6 true)) (and (= top.impl.usr.rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_clock_a_0 X6) (= top.impl.usr.STEPS_TO_COOK_a_0 (ite (and top.impl.usr.rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_init_step_a_0 (not top.impl.usr.rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_clock_a_0)) 0 (* (+ (+ (* top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_RIGHT_DIGIT_DIGIT_TO_DISPLAY_a_0 1) (* top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_MIDDLE_DIGIT_DIGIT_TO_DISPLAY_a_0 10)) (* top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_LEFT_DIGIT_DIGIT_TO_DISPLAY_a_0 60)) 1))) (let ((X7 (and X3 (and (= X2 4) (and (ite (not (= X5 0)) true false) (ite (not (= (ite (not (> top.impl.usr.STEPS_TO_COOK_a_0 0)) 0 1) 0)) true false)))))) (let ((X8 (ite X7 (ite (= X2 4) 0 X2) X2))) (let ((X9 (ite (not (and (>= X8 1) (<= X8 3))) 1 X8))) (let ((X10 (and (not (and (>= X8 1) (<= X8 3))) (and (>= X9 1) (<= X9 3))))) (let ((X11 (ite (not top.usr.DOOR_CLOSED_a_0) 0 1))) (let ((X12 (and X10 (and (and (>= X9 1) (<= X9 3)) (ite (not (= X11 0)) true false))))) (let ((X13 (ite X12 (ite (not (= X9 2)) 2 X9) X9))) (let ((X14 (and X10 (and (and (>= X13 1) (<= X13 3)) (not X12))))) (let ((X15 (ite X14 (ite (not (= X13 3)) 3 X13) X13))) (let ((X16 (ite X7 X15 X8))) (let ((X17 (ite X3 top.impl.usr.STEPS_TO_COOK_a_0 X1))) (let ((X18 (and (and (= X16 2) (<= X17 0)) (= X16 2)))) (let ((X19 (ite X18 (ite (and (>= X16 1) (<= X16 3)) 0 X16) X16))) (let ((X20 (ite X18 (ite (not (= X19 4)) 4 X19) X19))) (let ((X21 (and (= X20 3) (and (and (ite (not (= X5 0)) true false) (ite (not (= X11 0)) true false)) (not X18))))) (let ((X22 (ite X21 (ite (= X20 3) 1 X20) X20))) (let ((X23 (ite X21 (ite (not (= X22 2)) 2 X22) X22))) (let ((X24 (or X21 X18))) (let ((X25 top.usr.KP_CLEAR_a_0)) (let ((X26 (ite (not X25) 0 1))) (let ((X27 (and (and (= X23 3) (and (ite (not (= X26 0)) true false) (not X24))) (and (= X23 3) (not X24))))) (let ((X28 (ite X27 (ite (and (>= X23 1) (<= X23 3)) 0 X23) X23))) (let ((X29 (ite X27 (ite (not (= X28 4)) 4 X28) X28))) (let ((X30 (ite X27 0 X17))) (let ((X31 (or X27 X24))) (let ((X32 (and (= X29 2) (and (> X30 0) (not X31))))) (and (= top.impl.usr.chart_microwave_mode_logic____wakeup____a_0 true) (= top.impl.usr.chart_microwave_mode_logic_steps_remaining_a_0 (ite top.impl.usr.chart_microwave_mode_logic____wakeup____a_0 (ite top.impl.usr.chart_microwave_mode_logic_rlt_evtInitStep_a_0 X1 (ite (and (not X7) (and (>= X16 1) (<= X16 3))) (ite X32 (- X30 1) X30) X17)) X1)) (let ((X33 (div (- (div top.impl.usr.chart_microwave_mode_logic_steps_remaining_a_0 1) (* (div (div top.impl.usr.chart_microwave_mode_logic_steps_remaining_a_0 1) 60) 60)) 10))) (and (= top.impl.usr.MIDDLE_DIGIT_a_0 X33) (let ((X34 0)) (let ((X35 (ite X12 (ite (not (= X9 2)) 2 X34) X34))) (let ((X36 (ite X7 (ite X14 (ite (not (= X13 3)) 3 X35) X35) X34))) (let ((X37 (ite X32 (ite (= X29 2) 1 X29) X29))) (let ((X38 (ite X18 (ite (not (= X19 4)) 1 X36) X36))) (let ((X39 (ite X21 (ite (not (= X22 2)) 2 X38) X38))) (let ((X40 (ite X27 (ite (not (= X28 4)) 1 X39) X39))) (let ((X41 (ite X32 (ite (not (= X37 2)) 2 X40) X40))) (let ((X42 (ite X32 (ite (not (= X37 2)) 2 X37) X37))) (let ((X43 (and (= X42 2) (and (or (ite (not (= X26 0)) true false) (not (ite (not (= X11 0)) true false))) (not (or X32 X31)))))) (let ((X44 (ite X43 (ite (= X42 2) 1 X42) X42))) (and (= top.impl.usr.chart_microwave_mode_logic_mode_a_0 (ite top.impl.usr.chart_microwave_mode_logic____wakeup____a_0 (ite top.impl.usr.chart_microwave_mode_logic_rlt_evtInitStep_a_0 (ite (not (= X2 4)) 1 X34) (ite (and (not X7) (and (>= X16 1) (<= X16 3))) (ite X43 (ite (not (= X44 3)) 3 X41) X41) X36)) X34)) (= top.impl.usr.microwave_microwave_mode_logic_mode_a_0 top.impl.usr.chart_microwave_mode_logic_mode_a_0) (let ((X45 (ite (not (= X2 4)) 4 X2))) (and (= top.impl.usr.chart_microwave_mode_logic_final_state_states___root_a_0 (ite top.impl.usr.chart_microwave_mode_logic____wakeup____a_0 (ite top.impl.usr.chart_microwave_mode_logic_rlt_evtInitStep_a_0 X45 (ite (and (not X7) (and (>= X16 1) (<= X16 3))) (ite X43 (ite (not (= X44 3)) 3 X44) X44) X16)) X2)) (<= 0 X26 1) (<= 0 X11 1) (<= 0 X5 1) top.res.init_flag_a_0)))))))))))))))))))))))))))))))))))))))))))))))))))))) diff --git a/lib/Inv_Track/andrew_lustre/microwave29.lus.sl b/lib/Inv_Track/andrew_lustre/microwave29.lus.sl index b8d1e930..961f0b86 100644 --- a/lib/Inv_Track/andrew_lustre/microwave29.lus.sl +++ b/lib/Inv_Track/andrew_lustre/microwave29.lus.sl @@ -1,4 +1,4 @@ -(set-logic LIA) +(set-logic NIA) (define-fun __node_init_top_0 ((top.usr.KP_START_a_0 Bool) (top.usr.KP_CLEAR_a_0 Bool) (top.usr.KP_0_a_0 Bool) (top.usr.KP_1_a_0 Bool) (top.usr.KP_2_a_0 Bool) (top.usr.KP_3_a_0 Bool) (top.usr.KP_4_a_0 Bool) (top.usr.KP_5_a_0 Bool) (top.usr.KP_6_a_0 Bool) (top.usr.KP_7_a_0 Bool) (top.usr.KP_8_a_0 Bool) (top.usr.KP_9_a_0 Bool) (top.usr.DOOR_CLOSED_a_0 Bool) (top.res.nondet_5 Int) (top.res.nondet_4 Int) (top.res.nondet_3 Int) (top.res.nondet_2 Int) (top.res.nondet_1 Int) (top.res.nondet_0 Int) (top.usr.OK_a_0 Bool) (top.res.init_flag_a_0 Bool) (top.impl.usr.STEPS_TO_COOK_a_0 Int) (top.impl.usr.rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_clock_a_0 Bool) (top.impl.usr.KP_01_a_0 Bool) (top.impl.usr.KP_11_a_0 Bool) (top.impl.usr.KP_21_a_0 Bool) (top.impl.usr.KP_31_a_0 Bool) (top.impl.usr.KP_41_a_0 Bool) (top.impl.usr.KP_51_a_0 Bool) (top.impl.usr.KP_61_a_0 Bool) (top.impl.usr.KP_71_a_0 Bool) (top.impl.usr.KP_81_a_0 Bool) (top.impl.usr.KP_91_a_0 Bool) (top.impl.usr.rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_init_step_a_0 Bool) (top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_LEFT_DIGIT_DIGIT_TO_DISPLAY_a_0 Int) (top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_MIDDLE_DIGIT_DIGIT_TO_DISPLAY_a_0 Int) (top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_RIGHT_DIGIT_DIGIT_TO_DISPLAY_a_0 Int) (top.impl.usr.chart_microwave_mode_logic____wakeup____a_0 Bool) (top.impl.usr.chart_microwave_mode_logic_rlt_evtInitStep_a_0 Bool) (top.impl.usr.chart_microwave_mode_logic_final_state_states___root_a_0 Int) (top.impl.usr.chart_microwave_mode_logic_mode_a_0 Int) (top.impl.usr.chart_microwave_mode_logic_steps_remaining_a_0 Int) (top.impl.usr.microwave_microwave_mode_logic_mode_a_0 Int)) Bool (let ((X1 0)) (let ((X2 0)) (and (= top.impl.usr.chart_microwave_mode_logic_rlt_evtInitStep_a_0 true) (let ((X3 (= X2 4))) (let ((X4 top.usr.KP_START_a_0)) (let ((X5 (ite (not X4) 0 1))) (and (= top.impl.usr.KP_91_a_0 top.usr.KP_9_a_0) (= top.impl.usr.KP_81_a_0 top.usr.KP_8_a_0) (= top.impl.usr.KP_71_a_0 top.usr.KP_7_a_0) (= top.impl.usr.KP_61_a_0 top.usr.KP_6_a_0) (= top.impl.usr.KP_51_a_0 top.usr.KP_5_a_0) (= top.impl.usr.KP_41_a_0 top.usr.KP_4_a_0) (= top.impl.usr.KP_31_a_0 top.usr.KP_3_a_0) (= top.impl.usr.KP_21_a_0 top.usr.KP_2_a_0) (= top.impl.usr.KP_11_a_0 top.usr.KP_1_a_0) (= top.impl.usr.KP_01_a_0 top.usr.KP_0_a_0) (= top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_RIGHT_DIGIT_DIGIT_TO_DISPLAY_a_0 (ite top.usr.KP_CLEAR_a_0 0 (ite (ite (<= (ite top.impl.usr.KP_01_a_0 0 (ite top.impl.usr.KP_11_a_0 1 (ite top.impl.usr.KP_21_a_0 2 (ite top.impl.usr.KP_31_a_0 3 (ite top.impl.usr.KP_41_a_0 4 (ite top.impl.usr.KP_51_a_0 5 (ite top.impl.usr.KP_61_a_0 6 (ite top.impl.usr.KP_71_a_0 7 (ite top.impl.usr.KP_81_a_0 8 (ite top.impl.usr.KP_91_a_0 9 10)))))))))) 9) true false) (ite top.impl.usr.KP_01_a_0 0 (ite top.impl.usr.KP_11_a_0 1 (ite top.impl.usr.KP_21_a_0 2 (ite top.impl.usr.KP_31_a_0 3 (ite top.impl.usr.KP_41_a_0 4 (ite top.impl.usr.KP_51_a_0 5 (ite top.impl.usr.KP_61_a_0 6 (ite top.impl.usr.KP_71_a_0 7 (ite top.impl.usr.KP_81_a_0 8 (ite top.impl.usr.KP_91_a_0 9 10)))))))))) 0))) (= top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_MIDDLE_DIGIT_DIGIT_TO_DISPLAY_a_0 0) (= top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_LEFT_DIGIT_DIGIT_TO_DISPLAY_a_0 0) (= top.impl.usr.rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_init_step_a_0 true) (let ((X6 true)) (and (= top.impl.usr.rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_clock_a_0 X6) (= top.impl.usr.STEPS_TO_COOK_a_0 (ite (and top.impl.usr.rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_init_step_a_0 (not top.impl.usr.rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_clock_a_0)) 0 (* (+ (+ (* top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_RIGHT_DIGIT_DIGIT_TO_DISPLAY_a_0 1) (* top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_MIDDLE_DIGIT_DIGIT_TO_DISPLAY_a_0 10)) (* top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_LEFT_DIGIT_DIGIT_TO_DISPLAY_a_0 60)) 1))) (let ((X7 (and X3 (and (= X2 4) (and (ite (not (= X5 0)) true false) (ite (not (= (ite (not (> top.impl.usr.STEPS_TO_COOK_a_0 0)) 0 1) 0)) true false)))))) (let ((X8 (ite X7 (ite (= X2 4) 0 X2) X2))) (let ((X9 (ite (not (and (>= X8 1) (<= X8 3))) 1 X8))) (let ((X10 (and (not (and (>= X8 1) (<= X8 3))) (and (>= X9 1) (<= X9 3))))) (let ((X11 (ite (not top.usr.DOOR_CLOSED_a_0) 0 1))) (let ((X12 (and X10 (and (and (>= X9 1) (<= X9 3)) (ite (not (= X11 0)) true false))))) (let ((X13 (ite X12 (ite (not (= X9 2)) 2 X9) X9))) (let ((X14 (and X10 (and (and (>= X13 1) (<= X13 3)) (not X12))))) (let ((X15 (ite X14 (ite (not (= X13 3)) 3 X13) X13))) (let ((X16 (ite X7 X15 X8))) (let ((X17 (ite X3 top.impl.usr.STEPS_TO_COOK_a_0 X1))) (let ((X18 (and (and (= X16 2) (<= X17 0)) (= X16 2)))) (let ((X19 (ite X18 (ite (and (>= X16 1) (<= X16 3)) 0 X16) X16))) (let ((X20 (ite X18 (ite (not (= X19 4)) 4 X19) X19))) (let ((X21 (and (= X20 3) (and (and (ite (not (= X5 0)) true false) (ite (not (= X11 0)) true false)) (not X18))))) (let ((X22 (ite X21 (ite (= X20 3) 1 X20) X20))) (let ((X23 (ite X21 (ite (not (= X22 2)) 2 X22) X22))) (let ((X24 (or X21 X18))) (let ((X25 top.usr.KP_CLEAR_a_0)) (let ((X26 (ite (not X25) 0 1))) (let ((X27 (and (and (= X23 3) (and (ite (not (= X26 0)) true false) (not X24))) (and (= X23 3) (not X24))))) (let ((X28 (ite X27 (ite (and (>= X23 1) (<= X23 3)) 0 X23) X23))) (let ((X29 (ite X27 (ite (not (= X28 4)) 4 X28) X28))) (let ((X30 (ite X27 0 X17))) (let ((X31 (or X27 X24))) (let ((X32 (and (= X29 2) (and (> X30 0) (not X31))))) (and (= top.impl.usr.chart_microwave_mode_logic____wakeup____a_0 true) (= top.impl.usr.chart_microwave_mode_logic_steps_remaining_a_0 (ite top.impl.usr.chart_microwave_mode_logic____wakeup____a_0 (ite top.impl.usr.chart_microwave_mode_logic_rlt_evtInitStep_a_0 X1 (ite (and (not X7) (and (>= X16 1) (<= X16 3))) (ite X32 (- X30 1) X30) X17)) X1)) (let ((X33 (- (- (div top.impl.usr.chart_microwave_mode_logic_steps_remaining_a_0 1) (* (div (div top.impl.usr.chart_microwave_mode_logic_steps_remaining_a_0 1) 60) 60)) (* (div (- (div top.impl.usr.chart_microwave_mode_logic_steps_remaining_a_0 1) (* (div (div top.impl.usr.chart_microwave_mode_logic_steps_remaining_a_0 1) 60) 60)) 10) 10)))) (let ((X34 X33)) (and (= top.usr.OK_a_0 (or (not (and X6 top.usr.KP_CLEAR_a_0)) (= X34 0))) (let ((X35 0)) (let ((X36 (ite X12 (ite (not (= X9 2)) 2 X35) X35))) (let ((X37 (ite X7 (ite X14 (ite (not (= X13 3)) 3 X36) X36) X35))) (let ((X38 (ite X32 (ite (= X29 2) 1 X29) X29))) (let ((X39 (ite X18 (ite (not (= X19 4)) 1 X37) X37))) (let ((X40 (ite X21 (ite (not (= X22 2)) 2 X39) X39))) (let ((X41 (ite X27 (ite (not (= X28 4)) 1 X40) X40))) (let ((X42 (ite X32 (ite (not (= X38 2)) 2 X41) X41))) (let ((X43 (ite X32 (ite (not (= X38 2)) 2 X38) X38))) (let ((X44 (and (= X43 2) (and (or (ite (not (= X26 0)) true false) (not (ite (not (= X11 0)) true false))) (not (or X32 X31)))))) (let ((X45 (ite X44 (ite (= X43 2) 1 X43) X43))) (and (= top.impl.usr.chart_microwave_mode_logic_mode_a_0 (ite top.impl.usr.chart_microwave_mode_logic____wakeup____a_0 (ite top.impl.usr.chart_microwave_mode_logic_rlt_evtInitStep_a_0 (ite (not (= X2 4)) 1 X35) (ite (and (not X7) (and (>= X16 1) (<= X16 3))) (ite X44 (ite (not (= X45 3)) 3 X42) X42) X37)) X35)) (= top.impl.usr.microwave_microwave_mode_logic_mode_a_0 top.impl.usr.chart_microwave_mode_logic_mode_a_0) (let ((X46 (ite (not (= X2 4)) 4 X2))) (and (= top.impl.usr.chart_microwave_mode_logic_final_state_states___root_a_0 (ite top.impl.usr.chart_microwave_mode_logic____wakeup____a_0 (ite top.impl.usr.chart_microwave_mode_logic_rlt_evtInitStep_a_0 X46 (ite (and (not X7) (and (>= X16 1) (<= X16 3))) (ite X44 (ite (not (= X45 3)) 3 X45) X45) X16)) X2)) (<= 0 X26 1) (<= 0 X11 1) (<= 0 X5 1) top.res.init_flag_a_0)))))))))))))))))))))))))))))))))))))))))))))))))))))) diff --git a/lib/Inv_Track/andrew_lustre/microwave30.lus.sl b/lib/Inv_Track/andrew_lustre/microwave30.lus.sl index ac3ea161..d7d73ed7 100644 --- a/lib/Inv_Track/andrew_lustre/microwave30.lus.sl +++ b/lib/Inv_Track/andrew_lustre/microwave30.lus.sl @@ -1,4 +1,4 @@ -(set-logic LIA) +(set-logic NIA) (define-fun __node_init_top_0 ((top.usr.KP_START_a_0 Bool) (top.usr.KP_CLEAR_a_0 Bool) (top.usr.KP_0_a_0 Bool) (top.usr.KP_1_a_0 Bool) (top.usr.KP_2_a_0 Bool) (top.usr.KP_3_a_0 Bool) (top.usr.KP_4_a_0 Bool) (top.usr.KP_5_a_0 Bool) (top.usr.KP_6_a_0 Bool) (top.usr.KP_7_a_0 Bool) (top.usr.KP_8_a_0 Bool) (top.usr.KP_9_a_0 Bool) (top.usr.DOOR_CLOSED_a_0 Bool) (top.res.nondet_5 Int) (top.res.nondet_4 Int) (top.res.nondet_3 Int) (top.res.nondet_2 Int) (top.res.nondet_1 Int) (top.res.nondet_0 Int) (top.usr.OK_a_0 Bool) (top.res.init_flag_a_0 Bool) (top.impl.usr.STEPS_TO_COOK_a_0 Int) (top.impl.usr.rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_clock_a_0 Bool) (top.impl.usr.KP_01_a_0 Bool) (top.impl.usr.KP_11_a_0 Bool) (top.impl.usr.KP_21_a_0 Bool) (top.impl.usr.KP_31_a_0 Bool) (top.impl.usr.KP_41_a_0 Bool) (top.impl.usr.KP_51_a_0 Bool) (top.impl.usr.KP_61_a_0 Bool) (top.impl.usr.KP_71_a_0 Bool) (top.impl.usr.KP_81_a_0 Bool) (top.impl.usr.KP_91_a_0 Bool) (top.impl.usr.rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_init_step_a_0 Bool) (top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_LEFT_DIGIT_DIGIT_TO_DISPLAY_a_0 Int) (top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_MIDDLE_DIGIT_DIGIT_TO_DISPLAY_a_0 Int) (top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_RIGHT_DIGIT_DIGIT_TO_DISPLAY_a_0 Int) (top.impl.usr.chart_microwave_mode_logic____wakeup____a_0 Bool) (top.impl.usr.chart_microwave_mode_logic_rlt_evtInitStep_a_0 Bool) (top.impl.usr.chart_microwave_mode_logic_final_state_states___root_a_0 Int) (top.impl.usr.chart_microwave_mode_logic_mode_a_0 Int) (top.impl.usr.chart_microwave_mode_logic_steps_remaining_a_0 Int) (top.impl.usr.microwave_microwave_mode_logic_mode_a_0 Int)) Bool (let ((X1 0)) (let ((X2 0)) (and (= top.impl.usr.chart_microwave_mode_logic_rlt_evtInitStep_a_0 true) (let ((X3 (= X2 4))) (let ((X4 top.usr.KP_START_a_0)) (let ((X5 (ite (not X4) 0 1))) (and (= top.impl.usr.KP_91_a_0 top.usr.KP_9_a_0) (= top.impl.usr.KP_81_a_0 top.usr.KP_8_a_0) (= top.impl.usr.KP_71_a_0 top.usr.KP_7_a_0) (= top.impl.usr.KP_61_a_0 top.usr.KP_6_a_0) (= top.impl.usr.KP_51_a_0 top.usr.KP_5_a_0) (= top.impl.usr.KP_41_a_0 top.usr.KP_4_a_0) (= top.impl.usr.KP_31_a_0 top.usr.KP_3_a_0) (= top.impl.usr.KP_21_a_0 top.usr.KP_2_a_0) (= top.impl.usr.KP_11_a_0 top.usr.KP_1_a_0) (= top.impl.usr.KP_01_a_0 top.usr.KP_0_a_0) (= top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_RIGHT_DIGIT_DIGIT_TO_DISPLAY_a_0 (ite top.usr.KP_CLEAR_a_0 0 (ite (ite (<= (ite top.impl.usr.KP_01_a_0 0 (ite top.impl.usr.KP_11_a_0 1 (ite top.impl.usr.KP_21_a_0 2 (ite top.impl.usr.KP_31_a_0 3 (ite top.impl.usr.KP_41_a_0 4 (ite top.impl.usr.KP_51_a_0 5 (ite top.impl.usr.KP_61_a_0 6 (ite top.impl.usr.KP_71_a_0 7 (ite top.impl.usr.KP_81_a_0 8 (ite top.impl.usr.KP_91_a_0 9 10)))))))))) 9) true false) (ite top.impl.usr.KP_01_a_0 0 (ite top.impl.usr.KP_11_a_0 1 (ite top.impl.usr.KP_21_a_0 2 (ite top.impl.usr.KP_31_a_0 3 (ite top.impl.usr.KP_41_a_0 4 (ite top.impl.usr.KP_51_a_0 5 (ite top.impl.usr.KP_61_a_0 6 (ite top.impl.usr.KP_71_a_0 7 (ite top.impl.usr.KP_81_a_0 8 (ite top.impl.usr.KP_91_a_0 9 10)))))))))) 0))) (= top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_MIDDLE_DIGIT_DIGIT_TO_DISPLAY_a_0 0) (= top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_LEFT_DIGIT_DIGIT_TO_DISPLAY_a_0 0) (= top.impl.usr.rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_init_step_a_0 true) (let ((X6 true)) (and (= top.impl.usr.rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_clock_a_0 X6) (= top.impl.usr.STEPS_TO_COOK_a_0 (ite (and top.impl.usr.rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_init_step_a_0 (not top.impl.usr.rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_clock_a_0)) 0 (* (+ (+ (* top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_RIGHT_DIGIT_DIGIT_TO_DISPLAY_a_0 1) (* top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_MIDDLE_DIGIT_DIGIT_TO_DISPLAY_a_0 10)) (* top.impl.usr.microwave_microwave_KEYPAD_PROCESSING_DISPLAY_LEFT_DIGIT_DIGIT_TO_DISPLAY_a_0 60)) 1))) (let ((X7 (and X3 (and (= X2 4) (and (ite (not (= X5 0)) true false) (ite (not (= (ite (not (> top.impl.usr.STEPS_TO_COOK_a_0 0)) 0 1) 0)) true false)))))) (let ((X8 (ite X7 (ite (= X2 4) 0 X2) X2))) (let ((X9 (ite (not (and (>= X8 1) (<= X8 3))) 1 X8))) (let ((X10 (and (not (and (>= X8 1) (<= X8 3))) (and (>= X9 1) (<= X9 3))))) (let ((X11 (ite (not top.usr.DOOR_CLOSED_a_0) 0 1))) (let ((X12 (and X10 (and (and (>= X9 1) (<= X9 3)) (ite (not (= X11 0)) true false))))) (let ((X13 (ite X12 (ite (not (= X9 2)) 2 X9) X9))) (let ((X14 (and X10 (and (and (>= X13 1) (<= X13 3)) (not X12))))) (let ((X15 (ite X14 (ite (not (= X13 3)) 3 X13) X13))) (let ((X16 (ite X7 X15 X8))) (let ((X17 (ite X3 top.impl.usr.STEPS_TO_COOK_a_0 X1))) (let ((X18 (and (and (= X16 2) (<= X17 0)) (= X16 2)))) (let ((X19 (ite X18 (ite (and (>= X16 1) (<= X16 3)) 0 X16) X16))) (let ((X20 (ite X18 (ite (not (= X19 4)) 4 X19) X19))) (let ((X21 (and (= X20 3) (and (and (ite (not (= X5 0)) true false) (ite (not (= X11 0)) true false)) (not X18))))) (let ((X22 (ite X21 (ite (= X20 3) 1 X20) X20))) (let ((X23 (ite X21 (ite (not (= X22 2)) 2 X22) X22))) (let ((X24 (or X21 X18))) (let ((X25 top.usr.KP_CLEAR_a_0)) (let ((X26 (ite (not X25) 0 1))) (let ((X27 (and (and (= X23 3) (and (ite (not (= X26 0)) true false) (not X24))) (and (= X23 3) (not X24))))) (let ((X28 (ite X27 (ite (and (>= X23 1) (<= X23 3)) 0 X23) X23))) (let ((X29 (ite X27 (ite (not (= X28 4)) 4 X28) X28))) (let ((X30 (ite X27 0 X17))) (let ((X31 (or X27 X24))) (let ((X32 (and (= X29 2) (and (> X30 0) (not X31))))) (and (= top.impl.usr.chart_microwave_mode_logic____wakeup____a_0 true) (= top.impl.usr.chart_microwave_mode_logic_steps_remaining_a_0 (ite top.impl.usr.chart_microwave_mode_logic____wakeup____a_0 (ite top.impl.usr.chart_microwave_mode_logic_rlt_evtInitStep_a_0 X1 (ite (and (not X7) (and (>= X16 1) (<= X16 3))) (ite X32 (- X30 1) X30) X17)) X1)) (let ((X33 (- (- (div top.impl.usr.chart_microwave_mode_logic_steps_remaining_a_0 1) (* (div (div top.impl.usr.chart_microwave_mode_logic_steps_remaining_a_0 1) 60) 60)) (* (div (- (div top.impl.usr.chart_microwave_mode_logic_steps_remaining_a_0 1) (* (div (div top.impl.usr.chart_microwave_mode_logic_steps_remaining_a_0 1) 60) 60)) 10) 10)))) (let ((X34 X33)) (and (= top.usr.OK_a_0 (or (not (and X6 (not top.usr.KP_CLEAR_a_0))) (or (not top.usr.KP_0_a_0) (= X34 0)))) (let ((X35 0)) (let ((X36 (ite X12 (ite (not (= X9 2)) 2 X35) X35))) (let ((X37 (ite X7 (ite X14 (ite (not (= X13 3)) 3 X36) X36) X35))) (let ((X38 (ite X32 (ite (= X29 2) 1 X29) X29))) (let ((X39 (ite X18 (ite (not (= X19 4)) 1 X37) X37))) (let ((X40 (ite X21 (ite (not (= X22 2)) 2 X39) X39))) (let ((X41 (ite X27 (ite (not (= X28 4)) 1 X40) X40))) (let ((X42 (ite X32 (ite (not (= X38 2)) 2 X41) X41))) (let ((X43 (ite X32 (ite (not (= X38 2)) 2 X38) X38))) (let ((X44 (and (= X43 2) (and (or (ite (not (= X26 0)) true false) (not (ite (not (= X11 0)) true false))) (not (or X32 X31)))))) (let ((X45 (ite X44 (ite (= X43 2) 1 X43) X43))) (and (= top.impl.usr.chart_microwave_mode_logic_mode_a_0 (ite top.impl.usr.chart_microwave_mode_logic____wakeup____a_0 (ite top.impl.usr.chart_microwave_mode_logic_rlt_evtInitStep_a_0 (ite (not (= X2 4)) 1 X35) (ite (and (not X7) (and (>= X16 1) (<= X16 3))) (ite X44 (ite (not (= X45 3)) 3 X42) X42) X37)) X35)) (= top.impl.usr.microwave_microwave_mode_logic_mode_a_0 top.impl.usr.chart_microwave_mode_logic_mode_a_0) (let ((X46 (ite (not (= X2 4)) 4 X2))) (and (= top.impl.usr.chart_microwave_mode_logic_final_state_states___root_a_0 (ite top.impl.usr.chart_microwave_mode_logic____wakeup____a_0 (ite top.impl.usr.chart_microwave_mode_logic_rlt_evtInitStep_a_0 X46 (ite (and (not X7) (and (>= X16 1) (<= X16 3))) (ite X44 (ite (not (= X45 3)) 3 X45) X45) X16)) X2)) (<= 0 X26 1) (<= 0 X11 1) (<= 0 X5 1) top.res.init_flag_a_0)))))))))))))))))))))))))))))))))))))))))))))))))))))) diff --git a/lib/Inv_Track/andrew_lustre/production_cell.lus.sl b/lib/Inv_Track/andrew_lustre/production_cell.lus.sl index 7c0bb77e..387e39ac 100644 --- a/lib/Inv_Track/andrew_lustre/production_cell.lus.sl +++ b/lib/Inv_Track/andrew_lustre/production_cell.lus.sl @@ -1,4 +1,4 @@ -(set-logic SAT) +(set-logic UF) (define-fun __node_init_sustain_0 ((sustain.usr.on_a_0 Bool) (sustain.usr.off_a_0 Bool) (sustain.usr.s_a_0 Bool) (sustain.res.init_flag_a_0 Bool)) Bool (and (= sustain.usr.s_a_0 sustain.usr.on_a_0) sustain.res.init_flag_a_0)) diff --git a/lib/Inv_Track/andrew_lustre/production_cell_e7_207_e8_241.lus.sl b/lib/Inv_Track/andrew_lustre/production_cell_e7_207_e8_241.lus.sl index 7c0bb77e..387e39ac 100644 --- a/lib/Inv_Track/andrew_lustre/production_cell_e7_207_e8_241.lus.sl +++ b/lib/Inv_Track/andrew_lustre/production_cell_e7_207_e8_241.lus.sl @@ -1,4 +1,4 @@ -(set-logic SAT) +(set-logic UF) (define-fun __node_init_sustain_0 ((sustain.usr.on_a_0 Bool) (sustain.usr.off_a_0 Bool) (sustain.usr.s_a_0 Bool) (sustain.res.init_flag_a_0 Bool)) Bool (and (= sustain.usr.s_a_0 sustain.usr.on_a_0) sustain.res.init_flag_a_0)) diff --git a/lib/Inv_Track/andrew_lustre/production_cell_e8_6.lus.sl b/lib/Inv_Track/andrew_lustre/production_cell_e8_6.lus.sl index 067cd848..ae996de9 100644 --- a/lib/Inv_Track/andrew_lustre/production_cell_e8_6.lus.sl +++ b/lib/Inv_Track/andrew_lustre/production_cell_e8_6.lus.sl @@ -1,4 +1,4 @@ -(set-logic SAT) +(set-logic UF) (define-fun __node_init_sustain_0 ((sustain.usr.on_a_0 Bool) (sustain.usr.off_a_0 Bool) (sustain.usr.s_a_0 Bool) (sustain.res.init_flag_a_0 Bool)) Bool (and (= sustain.usr.s_a_0 sustain.usr.on_a_0) sustain.res.init_flag_a_0)) diff --git a/lib/Inv_Track/andrew_lustre/production_cell_e8_792.lus.sl b/lib/Inv_Track/andrew_lustre/production_cell_e8_792.lus.sl index 067cd848..ae996de9 100644 --- a/lib/Inv_Track/andrew_lustre/production_cell_e8_792.lus.sl +++ b/lib/Inv_Track/andrew_lustre/production_cell_e8_792.lus.sl @@ -1,4 +1,4 @@ -(set-logic SAT) +(set-logic UF) (define-fun __node_init_sustain_0 ((sustain.usr.on_a_0 Bool) (sustain.usr.off_a_0 Bool) (sustain.usr.s_a_0 Bool) (sustain.res.init_flag_a_0 Bool)) Bool (and (= sustain.usr.s_a_0 sustain.usr.on_a_0) sustain.res.init_flag_a_0)) diff --git a/lib/Inv_Track/andrew_lustre/stalmark.lus.sl b/lib/Inv_Track/andrew_lustre/stalmark.lus.sl index 31556184..f286db67 100644 --- a/lib/Inv_Track/andrew_lustre/stalmark.lus.sl +++ b/lib/Inv_Track/andrew_lustre/stalmark.lus.sl @@ -1,4 +1,4 @@ -(set-logic SAT) +(set-logic UF) (define-fun __node_init_top_0 ((top.usr.OK_a_0 Bool) (top.res.init_flag_a_0 Bool) (top.impl.usr.a_a_0 Bool) (top.impl.usr.b_a_0 Bool) (top.impl.usr.c_a_0 Bool)) Bool (and (= top.impl.usr.c_a_0 false) (= top.impl.usr.b_a_0 false) (= top.impl.usr.a_a_0 true) (= top.usr.OK_a_0 (and (or (or (or (and (and (not top.impl.usr.a_a_0) (not top.impl.usr.b_a_0)) top.impl.usr.c_a_0) (and (and (not top.impl.usr.a_a_0) top.impl.usr.b_a_0) (not top.impl.usr.c_a_0))) (and (and top.impl.usr.a_a_0 (not top.impl.usr.b_a_0)) (not top.impl.usr.c_a_0))) (and (and top.impl.usr.a_a_0 top.impl.usr.b_a_0) top.impl.usr.c_a_0)) (not (and (and top.impl.usr.a_a_0 top.impl.usr.b_a_0) top.impl.usr.c_a_0)))) top.res.init_flag_a_0)) diff --git a/lib/Inv_Track/andrew_lustre/stalmark_e7_27.lus.sl b/lib/Inv_Track/andrew_lustre/stalmark_e7_27.lus.sl index 72f5d6df..1bc4c89c 100644 --- a/lib/Inv_Track/andrew_lustre/stalmark_e7_27.lus.sl +++ b/lib/Inv_Track/andrew_lustre/stalmark_e7_27.lus.sl @@ -1,4 +1,4 @@ -(set-logic SAT) +(set-logic UF) (define-fun __node_init_top_0 ((top.usr.OK_a_0 Bool) (top.res.init_flag_a_0 Bool) (top.impl.usr.a_a_0 Bool) (top.impl.usr.b_a_0 Bool) (top.impl.usr.c_a_0 Bool)) Bool (and (= top.impl.usr.c_a_0 false) (= top.impl.usr.b_a_0 false) (= top.impl.usr.a_a_0 true) (= top.usr.OK_a_0 (and (or (or (or (or (not top.impl.usr.a_a_0) (and (not top.impl.usr.b_a_0) top.impl.usr.c_a_0)) (and (and (not top.impl.usr.a_a_0) top.impl.usr.b_a_0) (not top.impl.usr.c_a_0))) (and (and top.impl.usr.a_a_0 (not top.impl.usr.b_a_0)) (not top.impl.usr.c_a_0))) (and (and top.impl.usr.a_a_0 top.impl.usr.b_a_0) top.impl.usr.c_a_0)) (not (and (and top.impl.usr.a_a_0 top.impl.usr.b_a_0) top.impl.usr.c_a_0)))) top.res.init_flag_a_0)) diff --git a/lib/Inv_Track/andrew_lustre/stalmark_e7_27_e7_31.lus.sl b/lib/Inv_Track/andrew_lustre/stalmark_e7_27_e7_31.lus.sl index ff99139d..c9f26878 100644 --- a/lib/Inv_Track/andrew_lustre/stalmark_e7_27_e7_31.lus.sl +++ b/lib/Inv_Track/andrew_lustre/stalmark_e7_27_e7_31.lus.sl @@ -1,4 +1,4 @@ -(set-logic SAT) +(set-logic UF) (define-fun __node_init_top_0 ((top.usr.OK_a_0 Bool) (top.res.init_flag_a_0 Bool) (top.impl.usr.a_a_0 Bool) (top.impl.usr.b_a_0 Bool) (top.impl.usr.c_a_0 Bool)) Bool (and (= top.impl.usr.c_a_0 false) (= top.impl.usr.b_a_0 false) (= top.impl.usr.a_a_0 true) (= top.usr.OK_a_0 (and (or (or (or (or (or (not top.impl.usr.a_a_0) (not top.impl.usr.b_a_0)) top.impl.usr.c_a_0) (and (and (not top.impl.usr.a_a_0) top.impl.usr.b_a_0) (not top.impl.usr.c_a_0))) (and (and top.impl.usr.a_a_0 (not top.impl.usr.b_a_0)) (not top.impl.usr.c_a_0))) (and (and top.impl.usr.a_a_0 top.impl.usr.b_a_0) top.impl.usr.c_a_0)) (not (and (and top.impl.usr.a_a_0 top.impl.usr.b_a_0) top.impl.usr.c_a_0)))) top.res.init_flag_a_0)) diff --git a/lib/Inv_Track/andrew_lustre/stalmark_e7_76.lus.sl b/lib/Inv_Track/andrew_lustre/stalmark_e7_76.lus.sl index 72f5d6df..1bc4c89c 100644 --- a/lib/Inv_Track/andrew_lustre/stalmark_e7_76.lus.sl +++ b/lib/Inv_Track/andrew_lustre/stalmark_e7_76.lus.sl @@ -1,4 +1,4 @@ -(set-logic SAT) +(set-logic UF) (define-fun __node_init_top_0 ((top.usr.OK_a_0 Bool) (top.res.init_flag_a_0 Bool) (top.impl.usr.a_a_0 Bool) (top.impl.usr.b_a_0 Bool) (top.impl.usr.c_a_0 Bool)) Bool (and (= top.impl.usr.c_a_0 false) (= top.impl.usr.b_a_0 false) (= top.impl.usr.a_a_0 true) (= top.usr.OK_a_0 (and (or (or (or (or (not top.impl.usr.a_a_0) (and (not top.impl.usr.b_a_0) top.impl.usr.c_a_0)) (and (and (not top.impl.usr.a_a_0) top.impl.usr.b_a_0) (not top.impl.usr.c_a_0))) (and (and top.impl.usr.a_a_0 (not top.impl.usr.b_a_0)) (not top.impl.usr.c_a_0))) (and (and top.impl.usr.a_a_0 top.impl.usr.b_a_0) top.impl.usr.c_a_0)) (not (and (and top.impl.usr.a_a_0 top.impl.usr.b_a_0) top.impl.usr.c_a_0)))) top.res.init_flag_a_0)) diff --git a/lib/Inv_Track/andrew_lustre/steam_boiler_no_arr1.lus.sl b/lib/Inv_Track/andrew_lustre/steam_boiler_no_arr1.lus.sl index ffbd5288..d45399e0 100644 --- a/lib/Inv_Track/andrew_lustre/steam_boiler_no_arr1.lus.sl +++ b/lib/Inv_Track/andrew_lustre/steam_boiler_no_arr1.lus.sl @@ -1,4 +1,4 @@ -(set-logic LIA) +(set-logic NIA) (define-fun __node_init_AND_0 ((AND.usr.a_0_a_0 Bool) (AND.usr.a_1_a_0 Bool) (AND.usr.a_2_a_0 Bool) (AND.usr.a_3_a_0 Bool) (AND.usr.AND_a_0 Bool) (AND.res.init_flag_a_0 Bool)) Bool (and (= AND.usr.AND_a_0 (and (and (and AND.usr.a_0_a_0 AND.usr.a_1_a_0) AND.usr.a_2_a_0) AND.usr.a_3_a_0)) AND.res.init_flag_a_0)) diff --git a/lib/Inv_Track/andrew_lustre/steam_boiler_no_arr1_e4_23904_e4_2384.lus.sl b/lib/Inv_Track/andrew_lustre/steam_boiler_no_arr1_e4_23904_e4_2384.lus.sl index 2a613e31..35bda665 100644 --- a/lib/Inv_Track/andrew_lustre/steam_boiler_no_arr1_e4_23904_e4_2384.lus.sl +++ b/lib/Inv_Track/andrew_lustre/steam_boiler_no_arr1_e4_23904_e4_2384.lus.sl @@ -1,4 +1,4 @@ -(set-logic LIA) +(set-logic NIA) (define-fun __node_init_AND_0 ((AND.usr.a_0_a_0 Bool) (AND.usr.a_1_a_0 Bool) (AND.usr.a_2_a_0 Bool) (AND.usr.a_3_a_0 Bool) (AND.usr.AND_a_0 Bool) (AND.res.init_flag_a_0 Bool)) Bool (and (= AND.usr.AND_a_0 (and (and (and AND.usr.a_0_a_0 AND.usr.a_1_a_0) AND.usr.a_2_a_0) AND.usr.a_3_a_0)) AND.res.init_flag_a_0)) diff --git a/lib/Inv_Track/andrew_lustre/tramway.lus.sl b/lib/Inv_Track/andrew_lustre/tramway.lus.sl index 181593cc..a899cf00 100644 --- a/lib/Inv_Track/andrew_lustre/tramway.lus.sl +++ b/lib/Inv_Track/andrew_lustre/tramway.lus.sl @@ -1,4 +1,4 @@ -(set-logic SAT) +(set-logic UF) (define-fun __node_init_switch_0 ((switch.usr.init_a_0 Bool) (switch.usr.on_a_0 Bool) (switch.usr.off_a_0 Bool) (switch.usr.value_a_0 Bool) (switch.res.init_flag_a_0 Bool)) Bool (and (= switch.usr.value_a_0 (ite switch.usr.on_a_0 true (ite switch.usr.off_a_0 false switch.usr.init_a_0))) switch.res.init_flag_a_0)) diff --git a/lib/Inv_Track/andrew_lustre/tramway_e7_1834.lus.sl b/lib/Inv_Track/andrew_lustre/tramway_e7_1834.lus.sl index c7331762..d7e70a8b 100644 --- a/lib/Inv_Track/andrew_lustre/tramway_e7_1834.lus.sl +++ b/lib/Inv_Track/andrew_lustre/tramway_e7_1834.lus.sl @@ -1,4 +1,4 @@ -(set-logic SAT) +(set-logic UF) (define-fun __node_init_switch_0 ((switch.usr.init_a_0 Bool) (switch.usr.on_a_0 Bool) (switch.usr.off_a_0 Bool) (switch.usr.value_a_0 Bool) (switch.res.init_flag_a_0 Bool)) Bool (and (= switch.usr.value_a_0 (ite switch.usr.on_a_0 true (ite switch.usr.off_a_0 false switch.usr.init_a_0))) switch.res.init_flag_a_0)) diff --git a/lib/Inv_Track/andrew_lustre/tramway_e7_1834_e7_2363.lus.sl b/lib/Inv_Track/andrew_lustre/tramway_e7_1834_e7_2363.lus.sl index 703d65a0..e26282d6 100644 --- a/lib/Inv_Track/andrew_lustre/tramway_e7_1834_e7_2363.lus.sl +++ b/lib/Inv_Track/andrew_lustre/tramway_e7_1834_e7_2363.lus.sl @@ -1,4 +1,4 @@ -(set-logic SAT) +(set-logic UF) (define-fun __node_init_switch_0 ((switch.usr.init_a_0 Bool) (switch.usr.on_a_0 Bool) (switch.usr.off_a_0 Bool) (switch.usr.value_a_0 Bool) (switch.res.init_flag_a_0 Bool)) Bool (and (= switch.usr.value_a_0 (ite switch.usr.on_a_0 true (ite switch.usr.off_a_0 false switch.usr.init_a_0))) switch.res.init_flag_a_0)) diff --git a/lib/Inv_Track/andrew_lustre/tramway_e7_1834_e8_3192.lus.sl b/lib/Inv_Track/andrew_lustre/tramway_e7_1834_e8_3192.lus.sl index 181593cc..a899cf00 100644 --- a/lib/Inv_Track/andrew_lustre/tramway_e7_1834_e8_3192.lus.sl +++ b/lib/Inv_Track/andrew_lustre/tramway_e7_1834_e8_3192.lus.sl @@ -1,4 +1,4 @@ -(set-logic SAT) +(set-logic UF) (define-fun __node_init_switch_0 ((switch.usr.init_a_0 Bool) (switch.usr.on_a_0 Bool) (switch.usr.off_a_0 Bool) (switch.usr.value_a_0 Bool) (switch.res.init_flag_a_0 Bool)) Bool (and (= switch.usr.value_a_0 (ite switch.usr.on_a_0 true (ite switch.usr.off_a_0 false switch.usr.init_a_0))) switch.res.init_flag_a_0)) diff --git a/lib/Inv_Track/andrew_lustre/tramway_e7_3304.lus.sl b/lib/Inv_Track/andrew_lustre/tramway_e7_3304.lus.sl index c7331762..d7e70a8b 100644 --- a/lib/Inv_Track/andrew_lustre/tramway_e7_3304.lus.sl +++ b/lib/Inv_Track/andrew_lustre/tramway_e7_3304.lus.sl @@ -1,4 +1,4 @@ -(set-logic SAT) +(set-logic UF) (define-fun __node_init_switch_0 ((switch.usr.init_a_0 Bool) (switch.usr.on_a_0 Bool) (switch.usr.off_a_0 Bool) (switch.usr.value_a_0 Bool) (switch.res.init_flag_a_0 Bool)) Bool (and (= switch.usr.value_a_0 (ite switch.usr.on_a_0 true (ite switch.usr.off_a_0 false switch.usr.init_a_0))) switch.res.init_flag_a_0)) diff --git a/lib/Inv_Track/andrew_lustre/ums.lus.sl b/lib/Inv_Track/andrew_lustre/ums.lus.sl index 01c7ca14..f7867430 100644 --- a/lib/Inv_Track/andrew_lustre/ums.lus.sl +++ b/lib/Inv_Track/andrew_lustre/ums.lus.sl @@ -1,4 +1,4 @@ -(set-logic SAT) +(set-logic UF) (define-fun __node_init_Sofar_0 ((Sofar.usr.X_a_0 Bool) (Sofar.usr.Sofar_a_0 Bool) (Sofar.res.init_flag_a_0 Bool)) Bool (and (= Sofar.usr.Sofar_a_0 Sofar.usr.X_a_0) Sofar.res.init_flag_a_0)) diff --git a/lib/Inv_Track/andrew_lustre/ums_e8_1032.lus.sl b/lib/Inv_Track/andrew_lustre/ums_e8_1032.lus.sl index c9e05244..be81fa85 100644 --- a/lib/Inv_Track/andrew_lustre/ums_e8_1032.lus.sl +++ b/lib/Inv_Track/andrew_lustre/ums_e8_1032.lus.sl @@ -1,4 +1,4 @@ -(set-logic SAT) +(set-logic UF) (define-fun __node_init_Sofar_0 ((Sofar.usr.X_a_0 Bool) (Sofar.usr.Sofar_a_0 Bool) (Sofar.res.init_flag_a_0 Bool)) Bool (and (= Sofar.usr.Sofar_a_0 Sofar.usr.X_a_0) Sofar.res.init_flag_a_0)) diff --git a/lib/Inv_Track/cegist-cav18/cegar2.sl b/lib/Inv_Track/cegist-cav18/cegar2.sl new file mode 100644 index 00000000..6fd18187 --- /dev/null +++ b/lib/Inv_Track/cegist-cav18/cegar2.sl @@ -0,0 +1,21 @@ +(set-logic BV) + +(synth-inv inv-f ((x (_ BitVec 32))(n (_ BitVec 32))(m (_ BitVec 32))) + ) + +(define-fun pre-f ((x (_ BitVec 32))(n (_ BitVec 32))(m (_ BitVec 32))) Bool + (and (= x #x00000000) (= m #x00000000)) +) + +(define-fun trans-f ((x (_ BitVec 32))(n (_ BitVec 32))(m (_ BitVec 32))(x! (_ BitVec 32))(n! (_ BitVec 32))(m! (_ BitVec 32))) Bool + (or (and (and (and (bvult x n) (= x! (bvadd x #x00000001))) (= n! n)) (= m! m)) (and (and (and (bvult x n) (= x! (bvadd x #x00000001))) (= n! n)) (= m! x))) +) + +(define-fun post-f ((x (_ BitVec 32))(n (_ BitVec 32))(m (_ BitVec 32))) Bool + (not (and (and (bvuge x n) (bvugt n #x00000000)) (or (bvule n m) (bvult m #x00000000)))) +) + +(inv-constraint inv-f pre-f trans-f post-f) +(check-synth) + + diff --git a/lib/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_const_true-unreach-call1.sl b/lib/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_const_true-unreach-call1.sl new file mode 100644 index 00000000..959294cd --- /dev/null +++ b/lib/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_const_true-unreach-call1.sl @@ -0,0 +1,21 @@ +(set-logic BV) + +(synth-inv inv-f ((x (_ BitVec 32))(y (_ BitVec 32))) + ) + +(define-fun pre-f ((x (_ BitVec 32))(y (_ BitVec 32))) Bool + (and (= x #x00000001) (= y #x00000000)) +) + +(define-fun trans-f ((x (_ BitVec 32))(y (_ BitVec 32))(x! (_ BitVec 32))(y! (_ BitVec 32))) Bool + (and (bvult y #x00000400) (and (= x! #x00000000) (= y! (bvadd y #x00000001)))) +) + +(define-fun post-f ((x (_ BitVec 32))(y (_ BitVec 32))) Bool + (or (= x #x00000000) (bvugt y #x00000400)) +) + +(inv-constraint inv-f pre-f trans-f post-f) +(check-synth) + + diff --git a/lib-nonconforming/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_diamond_true-unreach-call1.sl b/lib/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_diamond_true-unreach-call1.sl similarity index 52% rename from lib-nonconforming/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_diamond_true-unreach-call1.sl rename to lib/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_diamond_true-unreach-call1.sl index f1af13d3..ae50d414 100644 --- a/lib-nonconforming/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_diamond_true-unreach-call1.sl +++ b/lib/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_diamond_true-unreach-call1.sl @@ -1,21 +1,17 @@ (set-logic BV) -(synth-inv inv-f ((x (BitVec 32))(y (BitVec 32))) +(synth-inv inv-f ((x (_ BitVec 32))(y (_ BitVec 32))) ) -(declare-primed-var x (BitVec 32)) - -(declare-primed-var y (BitVec 32)) - -(define-fun pre-f ((x (BitVec 32))(y (BitVec 32))) Bool +(define-fun pre-f ((x (_ BitVec 32))(y (_ BitVec 32))) Bool (= x #x00000000) ) -(define-fun trans-f ((x (BitVec 32))(y (BitVec 32))(x! (BitVec 32))(y! (BitVec 32))) Bool +(define-fun trans-f ((x (_ BitVec 32))(y (_ BitVec 32))(x! (_ BitVec 32))(y! (_ BitVec 32))) Bool (or (and (= (bvurem y #x00000002) #x00000000) (and (= x! (bvadd x #x00000002)) (and (= y! y) (bvult x #x00000063)))) (and (= x! (bvadd #x00000001 x)) (and (= y! y) (bvult x #x00000063)))) ) -(define-fun post-f ((x (BitVec 32))(y (BitVec 32))) Bool +(define-fun post-f ((x (_ BitVec 32))(y (_ BitVec 32))) Bool (= (bvurem x #x00000002) (bvurem y #x00000002)) ) diff --git a/lib-nonconforming/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_diamond_true-unreach-call2.sl b/lib/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_diamond_true-unreach-call2.sl similarity index 52% rename from lib-nonconforming/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_diamond_true-unreach-call2.sl rename to lib/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_diamond_true-unreach-call2.sl index 193eea88..91474afa 100644 --- a/lib-nonconforming/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_diamond_true-unreach-call2.sl +++ b/lib/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_diamond_true-unreach-call2.sl @@ -1,21 +1,17 @@ (set-logic BV) -(synth-inv inv-f ((x (BitVec 32))(y (BitVec 32))) +(synth-inv inv-f ((x (_ BitVec 32))(y (_ BitVec 32))) ) -(declare-primed-var x (BitVec 32)) - -(declare-primed-var y (BitVec 32)) - -(define-fun pre-f ((x (BitVec 32))(y (BitVec 32))) Bool +(define-fun pre-f ((x (_ BitVec 32))(y (_ BitVec 32))) Bool (= x #x00000000) ) -(define-fun trans-f ((x (BitVec 32))(y (BitVec 32))(x! (BitVec 32))(y! (BitVec 32))) Bool +(define-fun trans-f ((x (_ BitVec 32))(y (_ BitVec 32))(x! (_ BitVec 32))(y! (_ BitVec 32))) Bool (or (and (= (bvurem y #x00000002) #x00000000) (and (= x! (bvadd x #x00000014)) (and (= y! y) (bvult x #x00000063)))) (and (= x! (bvsub #x00000005 x)) (and (= y! y) (bvult x #x00000063)))) ) -(define-fun post-f ((x (BitVec 32))(y (BitVec 32))) Bool +(define-fun post-f ((x (_ BitVec 32))(y (_ BitVec 32))) Bool (= (bvurem x #x00000002) (bvurem y #x00000002)) ) diff --git a/lib/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_functions_true-unreach-call1.sl b/lib/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_functions_true-unreach-call1.sl new file mode 100644 index 00000000..067201ca --- /dev/null +++ b/lib/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_functions_true-unreach-call1.sl @@ -0,0 +1,21 @@ +(set-logic BV) + +(synth-inv inv-f ((x (_ BitVec 32))) + ) + +(define-fun pre-f ((x (_ BitVec 32))) Bool + (= x #x00000000) +) + +(define-fun trans-f ((x (_ BitVec 32))(x! (_ BitVec 32))) Bool + (and (bvult x #x0fffffff) (= x! (bvadd #x00000002 x))) +) + +(define-fun post-f ((x (_ BitVec 32))) Bool + (= #x00000000 (bvurem x #x00000002)) +) + +(inv-constraint inv-f pre-f trans-f post-f) +(check-synth) + + diff --git a/lib/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_multivar_true-unreach-call1.sl b/lib/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_multivar_true-unreach-call1.sl new file mode 100644 index 00000000..99982cb7 --- /dev/null +++ b/lib/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_multivar_true-unreach-call1.sl @@ -0,0 +1,21 @@ +(set-logic BV) + +(synth-inv inv-f ((x (_ BitVec 32))(y (_ BitVec 32))) + ) + +(define-fun pre-f ((x (_ BitVec 32))(y (_ BitVec 32))) Bool + (= x y) +) + +(define-fun trans-f ((x (_ BitVec 32))(y (_ BitVec 32))(x! (_ BitVec 32))(y! (_ BitVec 32))) Bool + (and (bvult x #x00000400) (and (= x! (bvadd x #x00000001)) (= y! (bvadd y #x00000001)))) +) + +(define-fun post-f ((x (_ BitVec 32))(y (_ BitVec 32))) Bool + (= x y) +) + +(inv-constraint inv-f pre-f trans-f post-f) +(check-synth) + + diff --git a/lib/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_overflow_true-unreach-call.sl b/lib/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_overflow_true-unreach-call.sl new file mode 100644 index 00000000..b7f41bbb --- /dev/null +++ b/lib/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_overflow_true-unreach-call.sl @@ -0,0 +1,21 @@ +(set-logic BV) + +(synth-inv inv-f ((x (_ BitVec 32))) + ) + +(define-fun pre-f ((x (_ BitVec 32))) Bool + (= x #x0000000A) +) + +(define-fun trans-f ((x (_ BitVec 32))(x! (_ BitVec 32))) Bool + (and (bvuge x #x0000000A) (= x! (bvadd x #x00000002))) +) + +(define-fun post-f ((x (_ BitVec 32))) Bool + (= #x00000000 (bvurem x #x00000002)) +) + +(inv-constraint inv-f pre-f trans-f post-f) +(check-synth) + + diff --git a/lib-nonconforming/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_phases_true-unreach-call1.sl b/lib/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_phases_true-unreach-call1.sl similarity index 55% rename from lib-nonconforming/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_phases_true-unreach-call1.sl rename to lib/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_phases_true-unreach-call1.sl index 3680cbc4..d3d6341a 100644 --- a/lib-nonconforming/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_phases_true-unreach-call1.sl +++ b/lib/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_phases_true-unreach-call1.sl @@ -1,19 +1,17 @@ (set-logic BV) -(synth-inv inv-f ((x (BitVec 32))) +(synth-inv inv-f ((x (_ BitVec 32))) ) -(declare-primed-var x (BitVec 32)) - -(define-fun pre-f ((x (BitVec 32))) Bool +(define-fun pre-f ((x (_ BitVec 32))) Bool (= x #x00000000) ) -(define-fun trans-f ((x (BitVec 32))(x! (BitVec 32))) Bool +(define-fun trans-f ((x (_ BitVec 32))(x! (_ BitVec 32))) Bool (and (bvult x #x0fffffff) (or (and (bvult x #x0000fff0) (= x! (bvadd x #x00000001))) (= x! (bvadd x #x00000002)))) ) -(define-fun post-f ((x (BitVec 32))) Bool +(define-fun post-f ((x (_ BitVec 32))) Bool (= #x00000000 (bvurem x #x00000002)) ) diff --git a/lib/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_phases_true-unreach-call2.sl b/lib/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_phases_true-unreach-call2.sl new file mode 100644 index 00000000..f56e0324 --- /dev/null +++ b/lib/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_phases_true-unreach-call2.sl @@ -0,0 +1,21 @@ +(set-logic BV) + +(synth-inv inv-f ((x (_ BitVec 32))(y (_ BitVec 32))) + ) + +(define-fun pre-f ((x (_ BitVec 32))(y (_ BitVec 32))) Bool + (= x #x00000001) +) + +(define-fun trans-f ((x (_ BitVec 32))(y (_ BitVec 32))(x! (_ BitVec 32))(y! (_ BitVec 32))) Bool + (and (and (and (bvugt y #x00000000) (bvult x y)) (= y! y)) (or (and (and (bvugt x #x00000000) (bvult x (bvudiv y x))) (= x! (bvmul x x))) (= x! (bvadd x #x00000001)))) +) + +(define-fun post-f ((x (_ BitVec 32))(y (_ BitVec 32))) Bool + (or (= y #x00000000) (= x y)) +) + +(inv-constraint inv-f pre-f trans-f post-f) +(check-synth) + + diff --git a/lib/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_simple_true-unreach-call1.sl b/lib/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_simple_true-unreach-call1.sl new file mode 100644 index 00000000..b374cc0d --- /dev/null +++ b/lib/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_simple_true-unreach-call1.sl @@ -0,0 +1,21 @@ +(set-logic BV) + +(synth-inv inv-f ((x (_ BitVec 32))) + ) + +(define-fun pre-f ((x (_ BitVec 32))) Bool + (= x #x00000000) +) + +(define-fun trans-f ((x (_ BitVec 32))(x! (_ BitVec 32))) Bool + (and (bvult x #x0fffffff) (= x! (bvadd x #x00000002))) +) + +(define-fun post-f ((x (_ BitVec 32))) Bool + (= #x00000000 (bvurem x #x00000002)) +) + +(inv-constraint inv-f pre-f trans-f post-f) +(check-synth) + + diff --git a/lib/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_simple_true-unreach-call2.sl b/lib/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_simple_true-unreach-call2.sl new file mode 100644 index 00000000..356dc091 --- /dev/null +++ b/lib/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_simple_true-unreach-call2.sl @@ -0,0 +1,21 @@ +(set-logic BV) + +(synth-inv inv-f ((x (_ BitVec 32))) + ) + +(define-fun pre-f ((x (_ BitVec 32))) Bool + (= x x) +) + +(define-fun trans-f ((x (_ BitVec 32))(x! (_ BitVec 32))) Bool + (and (bvult x #x0fffffff) (= x! (bvadd x #x00000001))) +) + +(define-fun post-f ((x (_ BitVec 32))) Bool + (bvuge x #x0fffffff) +) + +(inv-constraint inv-f pre-f trans-f post-f) +(check-synth) + + diff --git a/lib/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_simple_true-unreach-call3.sl b/lib/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_simple_true-unreach-call3.sl new file mode 100644 index 00000000..0055c979 --- /dev/null +++ b/lib/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_simple_true-unreach-call3.sl @@ -0,0 +1,21 @@ +(set-logic BV) + +(synth-inv inv-f ((x (_ BitVec 32))(N (_ BitVec 32))) + ) + +(define-fun pre-f ((x (_ BitVec 32))(N (_ BitVec 32))) Bool + (and (= x #x00000000) (= N (bvurem N #x0000FFFF))) +) + +(define-fun trans-f ((x (_ BitVec 32))(N (_ BitVec 32))(x! (_ BitVec 32))(N! (_ BitVec 32))) Bool + (and (bvult x N) (and (= x! (bvadd x #x00000002)) (= N! N))) +) + +(define-fun post-f ((x (_ BitVec 32))(N (_ BitVec 32))) Bool + (= #x00000000 (bvurem x #x00000002)) +) + +(inv-constraint inv-f pre-f trans-f post-f) +(check-synth) + + diff --git a/lib/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_simple_true-unreach-call4.sl b/lib/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_simple_true-unreach-call4.sl new file mode 100644 index 00000000..92a69607 --- /dev/null +++ b/lib/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_simple_true-unreach-call4.sl @@ -0,0 +1,21 @@ +(set-logic BV) + +(synth-inv inv-f ((x (_ BitVec 32))) + ) + +(define-fun pre-f ((x (_ BitVec 32))) Bool + (= x #x0ffffff0) +) + +(define-fun trans-f ((x (_ BitVec 32))(x! (_ BitVec 32))) Bool + (and (bvugt x #x00000000) (= x! (bvsub x #x00000002))) +) + +(define-fun post-f ((x (_ BitVec 32))) Bool + (= #x00000000 (bvurem x #x00000002)) +) + +(inv-constraint inv-f pre-f trans-f post-f) +(check-synth) + + diff --git a/lib/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_underapprox_true-unreach-call1.sl b/lib/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_underapprox_true-unreach-call1.sl new file mode 100644 index 00000000..e8308dfd --- /dev/null +++ b/lib/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_underapprox_true-unreach-call1.sl @@ -0,0 +1,21 @@ +(set-logic BV) + +(synth-inv inv-f ((x (_ BitVec 32))(y (_ BitVec 32))) + ) + +(define-fun pre-f ((x (_ BitVec 32))(y (_ BitVec 32))) Bool + (and (= x #x00000000) (= y #x00000001)) +) + +(define-fun trans-f ((x (_ BitVec 32))(y (_ BitVec 32))(x! (_ BitVec 32))(y! (_ BitVec 32))) Bool + (and (bvult x #x00000006) (and (= x! (bvadd x #x00000001)) (= y! (bvmul y #x00000002)))) +) + +(define-fun post-f ((x (_ BitVec 32))(y (_ BitVec 32))) Bool + (= #x00000001 (bvurem y #x00000003)) +) + +(inv-constraint inv-f pre-f trans-f post-f) +(check-synth) + + diff --git a/lib/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_underapprox_true-unreach-call2.sl b/lib/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_underapprox_true-unreach-call2.sl new file mode 100644 index 00000000..1527cfd2 --- /dev/null +++ b/lib/Inv_Track/cegist-cav18/cegis_danger_benchmark_svcomp_underapprox_true-unreach-call2.sl @@ -0,0 +1,21 @@ +(set-logic BV) + +(synth-inv inv-f ((x (_ BitVec 32))(y (_ BitVec 32))) + ) + +(define-fun pre-f ((x (_ BitVec 32))(y (_ BitVec 32))) Bool + (and (= x #x00000000) (= y #x00000001)) +) + +(define-fun trans-f ((x (_ BitVec 32))(y (_ BitVec 32))(x! (_ BitVec 32))(y! (_ BitVec 32))) Bool + (and (bvult x #x00000006) (and (= x! (bvadd x #x00000001)) (= y! (bvmul y #x00000002)))) +) + +(define-fun post-f ((x (_ BitVec 32))(y (_ BitVec 32))) Bool + (= #x00000006 x) +) + +(inv-constraint inv-f pre-f trans-f post-f) +(check-synth) + + diff --git a/lib/Inv_Track/cegist-cav18/dec_simpl.sl b/lib/Inv_Track/cegist-cav18/dec_simpl.sl new file mode 100644 index 00000000..2492e615 --- /dev/null +++ b/lib/Inv_Track/cegist-cav18/dec_simpl.sl @@ -0,0 +1,20 @@ +(set-logic BV) + +(synth-inv inv-f ((x (_ BitVec 32))(n (_ BitVec 32)))) + +(define-fun pre-f ((x (_ BitVec 32))(n (_ BitVec 32))) Bool + (= x n) +) + +(define-fun trans-f ((x (_ BitVec 32))(n (_ BitVec 32))(x! (_ BitVec 32))(n! (_ BitVec 32))) Bool + (and (and (bvugt x #x00000000) (= x! ( bvsub x #x00000001))) (= n! n)) +) + +(define-fun post-f ((x (_ BitVec 32))(n (_ BitVec 32))) Bool + (not (and (bvule x #x00000000) (and (not (= x #x00000000)) (bvuge n #x00000000)))) +) + +(inv-constraint inv-f pre-f trans-f post-f) +(check-synth) + + diff --git a/lib/Inv_Track/cegist-cav18/formula22.sl b/lib/Inv_Track/cegist-cav18/formula22.sl new file mode 100644 index 00000000..a13adea3 --- /dev/null +++ b/lib/Inv_Track/cegist-cav18/formula22.sl @@ -0,0 +1,20 @@ +(set-logic BV) + +(synth-inv inv-f ((x1 (_ BitVec 32))(x2 (_ BitVec 32))(x3 (_ BitVec 32)))) + +(define-fun pre-f ((x1 (_ BitVec 32))(x2 (_ BitVec 32))(x3 (_ BitVec 32))) Bool + (and (= x1 #x00000000) (and (= x2 #x00000000) (= x3 #x00000000))) +) + +(define-fun trans-f ((x1 (_ BitVec 32))(x2 (_ BitVec 32))(x3 (_ BitVec 32))(x1! (_ BitVec 32))(x2! (_ BitVec 32))(x3! (_ BitVec 32))) Bool + (and (bvsle x1! x2!) (or (bvsge x2! #x00000000) (bvsle (bvsub x2! x3!) #x00000002))) +) + +(define-fun post-f ((x1 (_ BitVec 32))(x2 (_ BitVec 32))(x3 (_ BitVec 32))) Bool + (and (bvsle x1 x2) (or (bvsge x2 #x00000000) (bvsle (bvsub x2 x3) #x00000002))) +) + +(inv-constraint inv-f pre-f trans-f post-f) +(check-synth) + + diff --git a/lib/Inv_Track/cegist-cav18/hola.05.sl b/lib/Inv_Track/cegist-cav18/hola.05.sl new file mode 100644 index 00000000..fc30f0e0 --- /dev/null +++ b/lib/Inv_Track/cegist-cav18/hola.05.sl @@ -0,0 +1,21 @@ +(set-logic BV) + +(synth-inv inv-f ((x (_ BitVec 32))(y (_ BitVec 32))(i (_ BitVec 32))(j (_ BitVec 32))) + ) + +(define-fun pre-f ((x (_ BitVec 32))(y (_ BitVec 32))(i (_ BitVec 32))(j (_ BitVec 32))) Bool + (and (= j #x00000000) (and (= i #x00000000) (and (= x #x00000000) (= y #x00000000)))) +) + +(define-fun trans-f ((x (_ BitVec 32))(y (_ BitVec 32))(i (_ BitVec 32))(j (_ BitVec 32))(x! (_ BitVec 32))(y! (_ BitVec 32))(i! (_ BitVec 32))(j! (_ BitVec 32))) Bool + (and (= x! (bvadd x #x00000001)) (and (= y! (bvadd y #x00000001)) (and (= i! (bvadd i (bvadd x #x00000001))) (or (= j! (bvadd j (bvadd y #x00000001))) (= j! (bvadd j (bvadd y #x00000002))))))) +) + +(define-fun post-f ((x (_ BitVec 32))(y (_ BitVec 32))(i (_ BitVec 32))(j (_ BitVec 32))) Bool + (bvuge j i) +) + +(inv-constraint inv-f pre-f trans-f post-f) +(check-synth) + + diff --git a/lib/Inv_Track/cegist-cav18/hola.44.sl b/lib/Inv_Track/cegist-cav18/hola.44.sl new file mode 100644 index 00000000..9368343d --- /dev/null +++ b/lib/Inv_Track/cegist-cav18/hola.44.sl @@ -0,0 +1,21 @@ +(set-logic BV) + +(synth-inv inv-f ((x (_ BitVec 32))(y (_ BitVec 32))(i (_ BitVec 32))(j (_ BitVec 32))) + ) + +(define-fun pre-f ((x (_ BitVec 32))(y (_ BitVec 32))(i (_ BitVec 32))(j (_ BitVec 32))) Bool + (and (= j #x00000000) (and (= i #x00000000) (or (= y #x00000001) (= y #x00000002)))) +) + +(define-fun trans-f ((x (_ BitVec 32))(y (_ BitVec 32))(i (_ BitVec 32))(j (_ BitVec 32))(x! (_ BitVec 32))(y! (_ BitVec 32))(i! (_ BitVec 32))(j! (_ BitVec 32))) Bool + (and (bvule i x) (and (= x! x) (and (= y! y) (and (= i! (bvadd i #x00000001)) (= j! (bvadd j y)))))) +) + +(define-fun post-f ((x (_ BitVec 32))(y (_ BitVec 32))(i (_ BitVec 32))(j (_ BitVec 32))) Bool + (or (bvule i x) (or (not (= y #x00000001)) (= i j))) +) + +(inv-constraint inv-f pre-f trans-f post-f) +(check-synth) + + diff --git a/lib/Inv_Track/cegist-cav18/hola_add.sl b/lib/Inv_Track/cegist-cav18/hola_add.sl new file mode 100644 index 00000000..0f698344 --- /dev/null +++ b/lib/Inv_Track/cegist-cav18/hola_add.sl @@ -0,0 +1,21 @@ +(set-logic BV) + +(synth-inv inv-f ((x (_ BitVec 32))(y (_ BitVec 32))(n (_ BitVec 32))) + ) + +(define-fun pre-f ((x (_ BitVec 32))(y (_ BitVec 32))(n (_ BitVec 32))) Bool + (and (bvuge n #x00000000) (and (= x n) (= y #x00000000))) +) + +(define-fun trans-f ((x (_ BitVec 32))(y (_ BitVec 32))(n (_ BitVec 32))(x! (_ BitVec 32))(y! (_ BitVec 32))(n! (_ BitVec 32))) Bool + (and (bvugt x #x00000000) (and (= n! n) (and (= y! (bvadd y #x00000001)) (= x! ( bvsub x #x00000001))))) +) + +(define-fun post-f ((x (_ BitVec 32))(y (_ BitVec 32))(n (_ BitVec 32))) Bool + (or (bvugt x #x00000000) (= n (bvadd x y))) +) + +(inv-constraint inv-f pre-f trans-f post-f) +(check-synth) + + diff --git a/lib/Inv_Track/cegist-cav18/inc_simp.sl b/lib/Inv_Track/cegist-cav18/inc_simp.sl new file mode 100644 index 00000000..0ad30448 --- /dev/null +++ b/lib/Inv_Track/cegist-cav18/inc_simp.sl @@ -0,0 +1,21 @@ +(set-logic BV) + +(synth-inv inv-f ((x (_ BitVec 32))(n (_ BitVec 32))) + ) + +(define-fun pre-f ((x (_ BitVec 32))(n (_ BitVec 32))) Bool + (= x #x00000000) +) + +(define-fun trans-f ((x (_ BitVec 32))(n (_ BitVec 32))(x! (_ BitVec 32))(n! (_ BitVec 32))) Bool + (and (= n! n) (and (bvult x n) (= x! (bvadd x #x00000001)))) +) + +(define-fun post-f ((x (_ BitVec 32))(n (_ BitVec 32))) Bool + (or (not (bvuge x n)) (or (= x n) (bvult n #x00000000))) +) + +(inv-constraint inv-f pre-f trans-f post-f) +(check-synth) + + diff --git a/lib/PBE_SLIA_Track/euphony/11604909.sl b/lib/PBE_SLIA_Track/euphony/11604909.sl index 395e0244..26dd7249 100644 --- a/lib/PBE_SLIA_Track/euphony/11604909.sl +++ b/lib/PBE_SLIA_Track/euphony/11604909.sl @@ -1,6 +1,7 @@ ; https=//stackoverflow.com/questions/11604909/using-formulas-extract-an-os-version-number-from-a-variable-string/11605768%11605768 (set-logic SLIA) (synth-fun f ((_arg_0 String)) String + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start String (ntString)) (ntString String ( _arg_0 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( - 1 0 -1 1 + 1 0 (- 1) 1 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/12948338.sl b/lib/PBE_SLIA_Track/euphony/12948338.sl index 2dc8580e..4c2a802b 100644 --- a/lib/PBE_SLIA_Track/euphony/12948338.sl +++ b/lib/PBE_SLIA_Track/euphony/12948338.sl @@ -1,6 +1,7 @@ ; https=//stackoverflow.com/questions/12948338/formula-in-excel-to-count-occurrences-of-substrings-within-strings (set-logic SLIA) (synth-fun f ((_arg_0 String) (_arg_1 String)) Int + ((Start Int) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start Int (ntInt)) (ntString String ( _arg_0 _arg_1 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( - 1 0 -1 1 2 3 + 1 0 (- 1) 1 2 3 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/17212077.sl b/lib/PBE_SLIA_Track/euphony/17212077.sl index 1b07b601..233f6cf6 100644 --- a/lib/PBE_SLIA_Track/euphony/17212077.sl +++ b/lib/PBE_SLIA_Track/euphony/17212077.sl @@ -1,6 +1,7 @@ ; https=//stackoverflow.com/questions/17212077/stuck-substring-month-and-year-in-excel (set-logic SLIA) (synth-fun f ((_arg_0 String)) String + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start String (ntString)) (ntString String ( _arg_0 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( - 1 0 -1 + 1 0 (- 1) (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/19274448.sl b/lib/PBE_SLIA_Track/euphony/19274448.sl index eb3e789b..dd2274c9 100644 --- a/lib/PBE_SLIA_Track/euphony/19274448.sl +++ b/lib/PBE_SLIA_Track/euphony/19274448.sl @@ -1,6 +1,7 @@ ; https=//stackoverflow.com/questions/19274448/how-to-find-if-a-cell-contains-a-substring-excel (set-logic SLIA) (synth-fun f ((_arg_0 String)) Bool + ((Start Bool) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start Bool (ntBool)) (ntString String ( _arg_0 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( - 1 0 -1 + 1 0 (- 1) (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/19558979.sl b/lib/PBE_SLIA_Track/euphony/19558979.sl index 345978b3..fe353529 100644 --- a/lib/PBE_SLIA_Track/euphony/19558979.sl +++ b/lib/PBE_SLIA_Track/euphony/19558979.sl @@ -1,6 +1,7 @@ ; https=//stackoverflow.com/questions/19558979/excel-how-to-extract-a-substring-by-only-knowing-the-strings-location (set-logic SLIA) (synth-fun f ((_arg_0 String) (_arg_1 Int)) String + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start String (ntString)) (ntString String ( _arg_0 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( _arg_1 - 1 0 -1 0 1 2 3 4 5 + 1 0 (- 1) 0 1 2 3 4 5 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/2171308.sl b/lib/PBE_SLIA_Track/euphony/2171308.sl index 8fdecf9a..152b9b32 100644 --- a/lib/PBE_SLIA_Track/euphony/2171308.sl +++ b/lib/PBE_SLIA_Track/euphony/2171308.sl @@ -1,6 +1,7 @@ ; https=//stackoverflow.com/questions/2171308/how-to-make-a-sub-string-selection-and-concatenation-in-excel (set-logic SLIA) (synth-fun f ((_arg_0 String)) String + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start String (ntString)) (ntString String ( _arg_0 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( - 1 0 -1 + 1 0 (- 1) (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/23435880.sl b/lib/PBE_SLIA_Track/euphony/23435880.sl index 2a2f5b55..9e09e54a 100644 --- a/lib/PBE_SLIA_Track/euphony/23435880.sl +++ b/lib/PBE_SLIA_Track/euphony/23435880.sl @@ -1,6 +1,7 @@ ; https=//stackoverflow.com/questions/23435880/finding-an-exact-substring-in-a-range-of-cells-in-excel (set-logic SLIA) (synth-fun f ((_arg_0 String) (_arg_1 String)) Int + ((Start Int) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start Int (ntInt)) (ntString String ( _arg_0 _arg_1 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( - 1 0 -1 + 1 0 (- 1) (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/25239569.sl b/lib/PBE_SLIA_Track/euphony/25239569.sl index e5753636..dd077ca3 100644 --- a/lib/PBE_SLIA_Track/euphony/25239569.sl +++ b/lib/PBE_SLIA_Track/euphony/25239569.sl @@ -1,6 +1,7 @@ ; https=//stackoverflow.com/questions/25239569/excel-function-to-match-a-substring-from-text-with-a-list (set-logic SLIA) (synth-fun f ((_arg_0 String)) String + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start String (ntString)) (ntString String ( _arg_0 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( - 1 0 -1 + 1 0 (- 1) (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/28627624_1.sl b/lib/PBE_SLIA_Track/euphony/28627624_1.sl index 3f19dad6..5f6340ea 100644 --- a/lib/PBE_SLIA_Track/euphony/28627624_1.sl +++ b/lib/PBE_SLIA_Track/euphony/28627624_1.sl @@ -1,6 +1,7 @@ ; https=//stackoverflow.com/questions/28627624/excel-single-cell-to-multiple-rows-and-get-substring (set-logic SLIA) (synth-fun f ((_arg_0 String)) String + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start String (ntString)) (ntString String ( _arg_0 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( - 1 0 -1 + 1 0 (- 1) (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/30732554.sl b/lib/PBE_SLIA_Track/euphony/30732554.sl index f65b69d7..3bef6584 100644 --- a/lib/PBE_SLIA_Track/euphony/30732554.sl +++ b/lib/PBE_SLIA_Track/euphony/30732554.sl @@ -1,6 +1,7 @@ ; https=//stackoverflow.com/questions/30732554/excel-vba-macro-to-get-the-substring-of-text-before-semicolon (set-logic SLIA) (synth-fun f ((_arg_0 String)) String + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start String (ntString)) (ntString String ( _arg_0 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( - 1 0 -1 + 1 0 (- 1) (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/31753108.sl b/lib/PBE_SLIA_Track/euphony/31753108.sl index 9bfbdc19..a83302ec 100644 --- a/lib/PBE_SLIA_Track/euphony/31753108.sl +++ b/lib/PBE_SLIA_Track/euphony/31753108.sl @@ -1,6 +1,7 @@ ; https=//stackoverflow.com/questions/31753108/how-to-pull-keywords-from-an-excel-cell (set-logic SLIA) (synth-fun f ((_arg_0 String)) String + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start String (ntString)) (ntString String ( _arg_0 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( - 1 0 -1 1 2 3 4 5 + 1 0 (- 1) 1 2 3 4 5 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/33619752.sl b/lib/PBE_SLIA_Track/euphony/33619752.sl index 63b88712..3594b783 100644 --- a/lib/PBE_SLIA_Track/euphony/33619752.sl +++ b/lib/PBE_SLIA_Track/euphony/33619752.sl @@ -1,6 +1,7 @@ ; https=//stackoverflow.com/questions/33619752/checking-for-duplicate-substrings-in-excel (set-logic SLIA) (synth-fun f ((_arg_0 String)) String + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start String (ntString)) (ntString String ( _arg_0 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( - 1 0 -1 + 1 0 (- 1) (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/34801680.sl b/lib/PBE_SLIA_Track/euphony/34801680.sl index 064e1f57..8fdd2af0 100644 --- a/lib/PBE_SLIA_Track/euphony/34801680.sl +++ b/lib/PBE_SLIA_Track/euphony/34801680.sl @@ -1,6 +1,7 @@ ; https=//stackoverflow.com/questions/34801680/remove-a-recurring-substring-from-an-entire-column-excel-vba (set-logic SLIA) (synth-fun f ((_arg_0 String)) String + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start String (ntString)) (ntString String ( _arg_0 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( - 1 0 -1 + 1 0 (- 1) (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/35016216.sl b/lib/PBE_SLIA_Track/euphony/35016216.sl index 43c633c9..b6e1f2e1 100644 --- a/lib/PBE_SLIA_Track/euphony/35016216.sl +++ b/lib/PBE_SLIA_Track/euphony/35016216.sl @@ -1,6 +1,7 @@ ; https=//stackoverflow.com/questions/35016216/excel-copy-value-of-different-columns-to-one-depending-on-substring-of-a-column (set-logic SLIA) (synth-fun f ((_arg_0 String) (_arg_1 String)) String + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start String (ntString)) (ntString String ( _arg_0 _arg_1 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( - 1 0 -1 + 1 0 (- 1) (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/35744094.sl b/lib/PBE_SLIA_Track/euphony/35744094.sl index 8b4c00d1..00d907cd 100644 --- a/lib/PBE_SLIA_Track/euphony/35744094.sl +++ b/lib/PBE_SLIA_Track/euphony/35744094.sl @@ -1,6 +1,7 @@ ; https=//stackoverflow.com/questions/35744094/find-replace-multiple-substrings-from-table-in-excel (set-logic SLIA) (synth-fun f ((_arg_0 String)) String + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start String (ntString)) (ntString String ( _arg_0 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( - 1 0 -1 + 1 0 (- 1) (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/36462127.sl b/lib/PBE_SLIA_Track/euphony/36462127.sl index 8e3db917..1317e25a 100644 --- a/lib/PBE_SLIA_Track/euphony/36462127.sl +++ b/lib/PBE_SLIA_Track/euphony/36462127.sl @@ -1,6 +1,7 @@ ; https=//stackoverflow.com/questions/36462127/populate-cell-in-excel-wtih-substring-of-another-cell (set-logic SLIA) (synth-fun f ((_arg_0 String)) String + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start String (ntString)) (ntString String ( _arg_0 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( - 1 0 -1 + 1 0 (- 1) (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/37281007.sl b/lib/PBE_SLIA_Track/euphony/37281007.sl index 0c3385c8..059e5197 100644 --- a/lib/PBE_SLIA_Track/euphony/37281007.sl +++ b/lib/PBE_SLIA_Track/euphony/37281007.sl @@ -1,6 +1,7 @@ ; https=//stackoverflow.com/questions/37281007/excel-test-if-proper-substring (set-logic SLIA) (synth-fun f ((_arg_0 String) (_arg_1 String)) Bool + ((Start Bool) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start Bool (ntBool)) (ntString String ( _arg_0 _arg_1 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( - 1 0 -1 + 1 0 (- 1) (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/37534494.sl b/lib/PBE_SLIA_Track/euphony/37534494.sl index 58dfc920..d0f3a12c 100644 --- a/lib/PBE_SLIA_Track/euphony/37534494.sl +++ b/lib/PBE_SLIA_Track/euphony/37534494.sl @@ -1,6 +1,7 @@ ; https=//stackoverflow.com/questions/37534494/search-for-a-word-in-an-array-of-cells-containing-sentences-in-excel/37534856%37534856 (set-logic SLIA) (synth-fun f ((_arg_0 String) (_arg_1 String) (_arg_2 String)) String + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start String (ntString)) (ntString String ( _arg_0 _arg_1 _arg_2 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( - 1 0 -1 + 1 0 (- 1) (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/38664547.sl b/lib/PBE_SLIA_Track/euphony/38664547.sl index f738326a..b3529311 100644 --- a/lib/PBE_SLIA_Track/euphony/38664547.sl +++ b/lib/PBE_SLIA_Track/euphony/38664547.sl @@ -1,6 +1,7 @@ ; https=//stackoverflow.com/questions/38664547/how-to-find-specific-substrings-in-excel-spreadsheet (set-logic SLIA) (synth-fun f ((_arg_0 String)) String + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start String (ntString)) (ntString String ( _arg_0 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( - 1 0 -1 + 1 0 (- 1) (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/38871714.sl b/lib/PBE_SLIA_Track/euphony/38871714.sl index 9ac2177b..1c3b8e18 100644 --- a/lib/PBE_SLIA_Track/euphony/38871714.sl +++ b/lib/PBE_SLIA_Track/euphony/38871714.sl @@ -1,6 +1,7 @@ ; https=//stackoverflow.com/questions/38871714/excel-vba-how-to-remove-substrings-from-a-cell (set-logic SLIA) (synth-fun f ((_arg_0 String)) String + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start String (ntString)) (ntString String ( _arg_0 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( - 1 0 -1 + 1 0 (- 1) (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/39060015.sl b/lib/PBE_SLIA_Track/euphony/39060015.sl index 813b0c2c..70c9772f 100644 --- a/lib/PBE_SLIA_Track/euphony/39060015.sl +++ b/lib/PBE_SLIA_Track/euphony/39060015.sl @@ -1,6 +1,7 @@ ; https=//stackoverflow.com/questions/39060015/excel-vba-how-to-remove-substrings-from-a-cell-with-same-beginning-and-ending (set-logic SLIA) (synth-fun f ((_arg_0 String)) String + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start String (ntString)) (ntString String ( _arg_0 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( - 1 0 -1 + 1 0 (- 1) (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/40498040.sl b/lib/PBE_SLIA_Track/euphony/40498040.sl index e2b7b2bc..baf47810 100644 --- a/lib/PBE_SLIA_Track/euphony/40498040.sl +++ b/lib/PBE_SLIA_Track/euphony/40498040.sl @@ -1,6 +1,7 @@ ; https=//stackoverflow.com/questions/40498040/excel-formula-if-cell-contains-substring-this-and-does-not-contain-substring (set-logic SLIA) (synth-fun f ((_arg_0 String)) Bool + ((Start Bool) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start Bool (ntBool)) (ntString String ( _arg_0 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( - 1 0 -1 + 1 0 (- 1) (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/41503046.sl b/lib/PBE_SLIA_Track/euphony/41503046.sl index 04309123..c82de95e 100644 --- a/lib/PBE_SLIA_Track/euphony/41503046.sl +++ b/lib/PBE_SLIA_Track/euphony/41503046.sl @@ -1,6 +1,7 @@ ; https=//stackoverflow.com/questions/41503046/find-string-in-substring-with-vlookup-in-excel (set-logic SLIA) (synth-fun f ((_arg_0 String)) String + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start String (ntString)) (ntString String ( _arg_0 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( - 1 0 -1 + 1 0 (- 1) (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/43120683.sl b/lib/PBE_SLIA_Track/euphony/43120683.sl index 3d168227..1c7ff2de 100644 --- a/lib/PBE_SLIA_Track/euphony/43120683.sl +++ b/lib/PBE_SLIA_Track/euphony/43120683.sl @@ -1,6 +1,7 @@ ; https=//stackoverflow.com/questions/43120683/excel-substitute-a-substring-in-cell-sheet-a-by-the-corresponding-string-in-l (set-logic SLIA) (synth-fun f ((_arg_0 String)) String + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start String (ntString)) (ntString String ( _arg_0 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( - 1 0 -1 + 1 0 (- 1) (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/43606446.sl b/lib/PBE_SLIA_Track/euphony/43606446.sl index df7ad339..32ad811b 100644 --- a/lib/PBE_SLIA_Track/euphony/43606446.sl +++ b/lib/PBE_SLIA_Track/euphony/43606446.sl @@ -1,6 +1,7 @@ ; https=//stackoverflow.com/questions/43606446/extract-substring-from-this-string-inside-excel-cell/43606527%43606527 (set-logic SLIA) (synth-fun f ((_arg_0 String)) String + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start String (ntString)) (ntString String ( _arg_0 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( - 1 0 -1 + 1 0 (- 1) (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/44789427.sl b/lib/PBE_SLIA_Track/euphony/44789427.sl index d07281af..715fecca 100644 --- a/lib/PBE_SLIA_Track/euphony/44789427.sl +++ b/lib/PBE_SLIA_Track/euphony/44789427.sl @@ -1,6 +1,7 @@ ; https=//stackoverflow.com/questions/44789427/excel-substring/44789464%44789464 (set-logic SLIA) (synth-fun f ((_arg_0 String) (_arg_1 Int)) String + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start String (ntString)) (ntString String ( _arg_0 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( _arg_1 - 1 0 -1 1 2 + 1 0 (- 1) 1 2 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/add-a-line-break-with-a-formula.sl b/lib/PBE_SLIA_Track/euphony/add-a-line-break-with-a-formula.sl index 075b3b6f..92e378f4 100644 --- a/lib/PBE_SLIA_Track/euphony/add-a-line-break-with-a-formula.sl +++ b/lib/PBE_SLIA_Track/euphony/add-a-line-break-with-a-formula.sl @@ -1,6 +1,7 @@ ; https=//exceljet.net/formula/add-a-line-break-with-a-formula (set-logic SLIA) (synth-fun f ((_arg_0 String) (_arg_1 String) (_arg_2 String)) String + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start String (ntString)) (ntString String ( _arg_0 _arg_1 _arg_2 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( - 1 0 -1 + 1 0 (- 1) (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/cell-contains-all-of-many-things.sl b/lib/PBE_SLIA_Track/euphony/cell-contains-all-of-many-things.sl index 87f38a1d..db95bf4f 100644 --- a/lib/PBE_SLIA_Track/euphony/cell-contains-all-of-many-things.sl +++ b/lib/PBE_SLIA_Track/euphony/cell-contains-all-of-many-things.sl @@ -1,6 +1,7 @@ ; https=//exceljet.net/formula/cell-contains-all-of-many-things (set-logic SLIA) (synth-fun f ((_arg_0 String) (_arg_1 String) (_arg_2 String) (_arg_3 String)) Bool + ((Start Bool) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start Bool (ntBool)) (ntString String ( _arg_0 _arg_1 _arg_2 _arg_3 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( - 1 0 -1 + 1 0 (- 1) (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/cell-contains-number.sl b/lib/PBE_SLIA_Track/euphony/cell-contains-number.sl index 30a3e360..a6eed5e2 100644 --- a/lib/PBE_SLIA_Track/euphony/cell-contains-number.sl +++ b/lib/PBE_SLIA_Track/euphony/cell-contains-number.sl @@ -1,6 +1,7 @@ ; https=//exceljet.net/formula/cell-contains-number (set-logic SLIA) (synth-fun f ((_arg_0 String)) Bool + ((Start Bool) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start Bool (ntBool)) (ntString String ( _arg_0 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( - 1 0 -1 + 1 0 (- 1) (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/cell-contains-one-of-many-things.sl b/lib/PBE_SLIA_Track/euphony/cell-contains-one-of-many-things.sl index fb3e0c5e..124cd8f0 100644 --- a/lib/PBE_SLIA_Track/euphony/cell-contains-one-of-many-things.sl +++ b/lib/PBE_SLIA_Track/euphony/cell-contains-one-of-many-things.sl @@ -1,6 +1,7 @@ ; https=//exceljet.net/formula/cell-contains-one-of-many-things (set-logic SLIA) (synth-fun f ((_arg_0 String) (_arg_1 String) (_arg_2 String) (_arg_3 String)) Bool + ((Start Bool) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start Bool (ntBool)) (ntString String ( _arg_0 _arg_1 _arg_2 _arg_3 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( - 1 0 -1 + 1 0 (- 1) (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/cell-contains-one-of-many-with-exclusions.sl b/lib/PBE_SLIA_Track/euphony/cell-contains-one-of-many-with-exclusions.sl index c3b3ef87..d311898c 100644 --- a/lib/PBE_SLIA_Track/euphony/cell-contains-one-of-many-with-exclusions.sl +++ b/lib/PBE_SLIA_Track/euphony/cell-contains-one-of-many-with-exclusions.sl @@ -1,6 +1,7 @@ ; https=//exceljet.net/formula/cell-contains-one-of-many-with-exclusions (set-logic SLIA) (synth-fun f ((_arg_0 String) (_arg_1 String) (_arg_2 String) (_arg_3 String)) Bool + ((Start Bool) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start Bool (ntBool)) (ntString String ( _arg_0 _arg_1 _arg_2 _arg_3 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( - 1 0 -1 + 1 0 (- 1) (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/cell-contains-some-words-but-not-others.sl b/lib/PBE_SLIA_Track/euphony/cell-contains-some-words-but-not-others.sl index 4f12cbca..7fa3ea36 100644 --- a/lib/PBE_SLIA_Track/euphony/cell-contains-some-words-but-not-others.sl +++ b/lib/PBE_SLIA_Track/euphony/cell-contains-some-words-but-not-others.sl @@ -1,6 +1,7 @@ ; https=//exceljet.net/formula/cell-contains-some-words-but-not-others (set-logic SLIA) (synth-fun f ((_arg_0 String) (_arg_1 String) (_arg_2 String) (_arg_3 String)) Bool + ((Start Bool) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start Bool (ntBool)) (ntString String ( _arg_0 _arg_1 _arg_2 _arg_3 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( - 1 0 -1 + 1 0 (- 1) (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/cell-contains-specific-text.sl b/lib/PBE_SLIA_Track/euphony/cell-contains-specific-text.sl index 676cd86c..f304afd2 100644 --- a/lib/PBE_SLIA_Track/euphony/cell-contains-specific-text.sl +++ b/lib/PBE_SLIA_Track/euphony/cell-contains-specific-text.sl @@ -1,6 +1,7 @@ ; https=//exceljet.net/formula/cell-contains-specific-text (set-logic SLIA) (synth-fun f ((_arg_0 String) (_arg_1 String)) Bool + ((Start Bool) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start Bool (ntBool)) (ntString String ( _arg_0 _arg_1 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( - 1 0 -1 + 1 0 (- 1) (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/cell-equals-one-of-many-things.sl b/lib/PBE_SLIA_Track/euphony/cell-equals-one-of-many-things.sl index a3e39aa2..0ea1b72e 100644 --- a/lib/PBE_SLIA_Track/euphony/cell-equals-one-of-many-things.sl +++ b/lib/PBE_SLIA_Track/euphony/cell-equals-one-of-many-things.sl @@ -1,6 +1,7 @@ ; https=//exceljet.net/formula/cell-equals-one-of-many-things (set-logic SLIA) (synth-fun f ((_arg_0 String)) Bool + ((Start Bool) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start Bool (ntBool)) (ntString String ( _arg_0 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( - 1 0 -1 + 1 0 (- 1) (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/change-negative-numbers-to-positive.sl b/lib/PBE_SLIA_Track/euphony/change-negative-numbers-to-positive.sl index 87cca7e8..6762f2fb 100644 --- a/lib/PBE_SLIA_Track/euphony/change-negative-numbers-to-positive.sl +++ b/lib/PBE_SLIA_Track/euphony/change-negative-numbers-to-positive.sl @@ -1,6 +1,7 @@ ; https=//exceljet.net/formula/change-negative-numbers-to-positive (set-logic SLIA) (synth-fun f ((_arg_0 String)) String + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start String (ntString)) (ntString String ( _arg_0 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( - 1 0 -1 + 1 0 (- 1) (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/clean-and-reformat-telephone-numbers.sl b/lib/PBE_SLIA_Track/euphony/clean-and-reformat-telephone-numbers.sl index 553244ef..a4029318 100644 --- a/lib/PBE_SLIA_Track/euphony/clean-and-reformat-telephone-numbers.sl +++ b/lib/PBE_SLIA_Track/euphony/clean-and-reformat-telephone-numbers.sl @@ -1,6 +1,7 @@ ; https=//exceljet.net/formula/clean-and-reformat-telephone-numbers (set-logic SLIA) (synth-fun f ((_arg_0 String)) String + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start String (ntString)) (ntString String ( _arg_0 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( - 1 0 -1 + 1 0 (- 1) (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/compare-two-strings.sl b/lib/PBE_SLIA_Track/euphony/compare-two-strings.sl index 860de5dc..2beb2224 100644 --- a/lib/PBE_SLIA_Track/euphony/compare-two-strings.sl +++ b/lib/PBE_SLIA_Track/euphony/compare-two-strings.sl @@ -1,6 +1,7 @@ ; https=//exceljet.net/formula/compare-two-strings (set-logic SLIA) (synth-fun f ((_arg_0 String) (_arg_1 String)) Bool + ((Start Bool) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start Bool (ntBool)) (ntString String ( _arg_0 _arg_1 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( - 1 0 -1 + 1 0 (- 1) (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/convert-numbers-to-text.sl b/lib/PBE_SLIA_Track/euphony/convert-numbers-to-text.sl index 18bf65da..3a5e50aa 100644 --- a/lib/PBE_SLIA_Track/euphony/convert-numbers-to-text.sl +++ b/lib/PBE_SLIA_Track/euphony/convert-numbers-to-text.sl @@ -1,6 +1,7 @@ ; https=//exceljet.net/formula/convert-numbers-to-text (set-logic SLIA) (synth-fun f ((_arg_0 Int)) String + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start String (ntString)) (ntString String ( @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( _arg_0 - 1 0 -1 + 1 0 (- 1) (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/convert-text-to-numbers.sl b/lib/PBE_SLIA_Track/euphony/convert-text-to-numbers.sl index a6f3956c..7c68ef21 100644 --- a/lib/PBE_SLIA_Track/euphony/convert-text-to-numbers.sl +++ b/lib/PBE_SLIA_Track/euphony/convert-text-to-numbers.sl @@ -1,6 +1,7 @@ ; https=//exceljet.net/formula/convert-text-to-numbers (set-logic SLIA) (synth-fun f ((_arg_0 String)) Int + ((Start Int) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start Int (ntInt)) (ntString String ( _arg_0 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( - 1 0 -1 + 1 0 (- 1) (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/count-consecutive-monthly-orders.sl b/lib/PBE_SLIA_Track/euphony/count-consecutive-monthly-orders.sl index b725c9f9..4d3d8eb6 100644 --- a/lib/PBE_SLIA_Track/euphony/count-consecutive-monthly-orders.sl +++ b/lib/PBE_SLIA_Track/euphony/count-consecutive-monthly-orders.sl @@ -1,6 +1,7 @@ ; https=//exceljet.net/formula/count-consecutive-monthly-orders (set-logic SLIA) (synth-fun f ((_arg_0 String)) Int + ((Start Int) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start Int (ntInt)) (ntString String ( _arg_0 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( - 1 0 -1 1 + 1 0 (- 1) 1 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/count-line-breaks-in-cell.sl b/lib/PBE_SLIA_Track/euphony/count-line-breaks-in-cell.sl index ea970cc2..785833fb 100644 --- a/lib/PBE_SLIA_Track/euphony/count-line-breaks-in-cell.sl +++ b/lib/PBE_SLIA_Track/euphony/count-line-breaks-in-cell.sl @@ -1,6 +1,7 @@ ; https=//exceljet.net/formula/count-line-breaks-in-cell (set-logic SLIA) (synth-fun f ((_arg_0 String)) Int + ((Start Int) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start Int (ntInt)) (ntString String ( _arg_0 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( - 1 0 -1 0 1 + 1 0 (- 1) 0 1 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/count-specific-characters-in-a-cell.sl b/lib/PBE_SLIA_Track/euphony/count-specific-characters-in-a-cell.sl index 75bd80a3..1b9329c9 100644 --- a/lib/PBE_SLIA_Track/euphony/count-specific-characters-in-a-cell.sl +++ b/lib/PBE_SLIA_Track/euphony/count-specific-characters-in-a-cell.sl @@ -1,6 +1,7 @@ ; https=//exceljet.net/formula/count-specific-characters-in-a-cell (set-logic SLIA) (synth-fun f ((_arg_0 String) (_arg_1 String)) Int + ((Start Int) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start Int (ntInt)) (ntString String ( _arg_0 _arg_1 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( - 1 0 -1 1 + 1 0 (- 1) 1 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/count-specific-words-in-a-cell.sl b/lib/PBE_SLIA_Track/euphony/count-specific-words-in-a-cell.sl index 3cc863c6..5617ae5c 100644 --- a/lib/PBE_SLIA_Track/euphony/count-specific-words-in-a-cell.sl +++ b/lib/PBE_SLIA_Track/euphony/count-specific-words-in-a-cell.sl @@ -1,6 +1,7 @@ ; https=//exceljet.net/formula/count-specific-words-in-a-cell (set-logic SLIA) (synth-fun f ((_arg_0 String) (_arg_1 String)) Int + ((Start Int) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start Int (ntInt)) (ntString String ( _arg_0 _arg_1 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( - 1 0 -1 1 + 1 0 (- 1) 1 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/count-total-characters-in-a-cell.sl b/lib/PBE_SLIA_Track/euphony/count-total-characters-in-a-cell.sl index 51a737bb..34df2da1 100644 --- a/lib/PBE_SLIA_Track/euphony/count-total-characters-in-a-cell.sl +++ b/lib/PBE_SLIA_Track/euphony/count-total-characters-in-a-cell.sl @@ -1,6 +1,7 @@ ; https=//exceljet.net/formula/count-total-characters-in-a-cell (set-logic SLIA) (synth-fun f ((_arg_0 String)) Int + ((Start Int) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start Int (ntInt)) (ntString String ( _arg_0 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( - 1 0 -1 + 1 0 (- 1) (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/count-total-words-in-a-cell.sl b/lib/PBE_SLIA_Track/euphony/count-total-words-in-a-cell.sl index 2db97fbb..5f6622fb 100644 --- a/lib/PBE_SLIA_Track/euphony/count-total-words-in-a-cell.sl +++ b/lib/PBE_SLIA_Track/euphony/count-total-words-in-a-cell.sl @@ -1,6 +1,7 @@ ; https=//exceljet.net/formula/count-total-words-in-a-cell (set-logic SLIA) (synth-fun f ((_arg_0 String)) Int + ((Start Int) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start Int (ntInt)) (ntString String ( _arg_0 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( - 1 0 -1 + 1 0 (- 1) (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/create-email-address-from-name.sl b/lib/PBE_SLIA_Track/euphony/create-email-address-from-name.sl index de247af0..4c648b36 100644 --- a/lib/PBE_SLIA_Track/euphony/create-email-address-from-name.sl +++ b/lib/PBE_SLIA_Track/euphony/create-email-address-from-name.sl @@ -1,6 +1,7 @@ ; https=//exceljet.net/formula/create-email-address-from-name (set-logic SLIA) (synth-fun f ((_arg_0 String) (_arg_1 String)) String + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start String (ntString)) (ntString String ( _arg_0 _arg_1 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( - 1 0 -1 + 1 0 (- 1) (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/create-email-address-with-name-and-domain.sl b/lib/PBE_SLIA_Track/euphony/create-email-address-with-name-and-domain.sl index 40a990c2..20994984 100644 --- a/lib/PBE_SLIA_Track/euphony/create-email-address-with-name-and-domain.sl +++ b/lib/PBE_SLIA_Track/euphony/create-email-address-with-name-and-domain.sl @@ -1,6 +1,7 @@ ; https=//exceljet.net/formula/create-email-address-with-name-and-domain (set-logic SLIA) (synth-fun f ((_arg_0 String) (_arg_1 String) (_arg_2 String)) String + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start String (ntString)) (ntString String ( _arg_0 _arg_1 _arg_2 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( - 1 0 -1 + 1 0 (- 1) (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/exceljet1.sl b/lib/PBE_SLIA_Track/euphony/exceljet1.sl index 51509730..a1a17cca 100644 --- a/lib/PBE_SLIA_Track/euphony/exceljet1.sl +++ b/lib/PBE_SLIA_Track/euphony/exceljet1.sl @@ -1,6 +1,7 @@ ; https=//exceljet.net/formula/get-domain-from-email-address (set-logic SLIA) (synth-fun f ((_arg_0 String) (_arg_1 String)) String + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start String (ntString)) (ntString String ( _arg_0 _arg_1 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( - 1 0 -1 + 1 0 (- 1) (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/exceljet2.sl b/lib/PBE_SLIA_Track/euphony/exceljet2.sl index 3697d8ac..b86de6db 100644 --- a/lib/PBE_SLIA_Track/euphony/exceljet2.sl +++ b/lib/PBE_SLIA_Track/euphony/exceljet2.sl @@ -1,6 +1,7 @@ ; https=//exceljet.net/formula/get-top-level-domain-tld (set-logic SLIA) (synth-fun f ((_arg_0 String)) String + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start String (ntString)) (ntString String ( _arg_0 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( - 1 0 -1 + 1 0 (- 1) (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/exceljet3.sl b/lib/PBE_SLIA_Track/euphony/exceljet3.sl index 0978668b..394477e9 100644 --- a/lib/PBE_SLIA_Track/euphony/exceljet3.sl +++ b/lib/PBE_SLIA_Track/euphony/exceljet3.sl @@ -1,6 +1,7 @@ ; https=//exceljet.net/formula/remove-text-by-variable-position (set-logic SLIA) (synth-fun f ((_arg_0 String)) String + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start String (ntString)) (ntString String ( _arg_0 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( - 1 0 -1 + 1 0 (- 1) (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/exceljet4.sl b/lib/PBE_SLIA_Track/euphony/exceljet4.sl index 67f2829d..60e58048 100644 --- a/lib/PBE_SLIA_Track/euphony/exceljet4.sl +++ b/lib/PBE_SLIA_Track/euphony/exceljet4.sl @@ -1,6 +1,7 @@ ; https=//exceljet.net/formula/strip-protocol-and-trailing-slash-from-url (set-logic SLIA) (synth-fun f ((_arg_0 String)) String + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start String (ntString)) (ntString String ( _arg_0 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( - 1 0 -1 + 1 0 (- 1) (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/extract-nth-word-from-text-string.sl b/lib/PBE_SLIA_Track/euphony/extract-nth-word-from-text-string.sl index c6e88d9d..e63f680f 100644 --- a/lib/PBE_SLIA_Track/euphony/extract-nth-word-from-text-string.sl +++ b/lib/PBE_SLIA_Track/euphony/extract-nth-word-from-text-string.sl @@ -1,6 +1,7 @@ ; https=//exceljet.net/formula/extract-nth-word-from-text-string (set-logic SLIA) (synth-fun f ((_arg_0 String) (_arg_1 Int)) String + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start String (ntString)) (ntString String ( _arg_0 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( _arg_1 - 1 0 -1 + 1 0 (- 1) (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/extract-text-between-parentheses.sl b/lib/PBE_SLIA_Track/euphony/extract-text-between-parentheses.sl index 80f8d85d..534664c7 100644 --- a/lib/PBE_SLIA_Track/euphony/extract-text-between-parentheses.sl +++ b/lib/PBE_SLIA_Track/euphony/extract-text-between-parentheses.sl @@ -1,6 +1,7 @@ ; https=//exceljet.net/formula/extract-text-between-parentheses (set-logic SLIA) (synth-fun f ((_arg_0 String)) Int + ((Start Int) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start Int (ntInt)) (ntString String ( _arg_0 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( - 1 0 -1 + 1 0 (- 1) (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/extract-word-containing-specific-text.sl b/lib/PBE_SLIA_Track/euphony/extract-word-containing-specific-text.sl index 89781df6..2ded5696 100644 --- a/lib/PBE_SLIA_Track/euphony/extract-word-containing-specific-text.sl +++ b/lib/PBE_SLIA_Track/euphony/extract-word-containing-specific-text.sl @@ -1,6 +1,7 @@ ; https=//exceljet.net/formula/extract-word-containing-specific-text (set-logic SLIA) (synth-fun f ((_arg_0 String)) String + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start String (ntString)) (ntString String ( _arg_0 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( - 1 0 -1 1 2 3 4 + 1 0 (- 1) 1 2 3 4 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/extract-word-that-begins-with-specific-character.sl b/lib/PBE_SLIA_Track/euphony/extract-word-that-begins-with-specific-character.sl index 8dac1256..5db58df5 100644 --- a/lib/PBE_SLIA_Track/euphony/extract-word-that-begins-with-specific-character.sl +++ b/lib/PBE_SLIA_Track/euphony/extract-word-that-begins-with-specific-character.sl @@ -1,6 +1,7 @@ ; https=//exceljet.net/formula/extract-word-that-begins-with-specific-character (set-logic SLIA) (synth-fun f ((_arg_0 String)) String + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start String (ntString)) (ntString String ( _arg_0 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( - 1 0 -1 1 2 + 1 0 (- 1) 1 2 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/find-nth-occurrence-of-character.sl b/lib/PBE_SLIA_Track/euphony/find-nth-occurrence-of-character.sl index ba7f1d32..28881cdd 100644 --- a/lib/PBE_SLIA_Track/euphony/find-nth-occurrence-of-character.sl +++ b/lib/PBE_SLIA_Track/euphony/find-nth-occurrence-of-character.sl @@ -1,6 +1,7 @@ ; https=//exceljet.net/formula/find-nth-occurrence-of-character (set-logic SLIA) (synth-fun f ((_arg_0 String) (_arg_1 Int)) Int + ((Start Int) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start Int (ntInt)) (ntString String ( _arg_0 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( _arg_1 - 1 0 -1 + 1 0 (- 1) (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/get-domain-from-email-address_2.sl b/lib/PBE_SLIA_Track/euphony/get-domain-from-email-address_2.sl index 69a6aed4..cc6ca9d7 100644 --- a/lib/PBE_SLIA_Track/euphony/get-domain-from-email-address_2.sl +++ b/lib/PBE_SLIA_Track/euphony/get-domain-from-email-address_2.sl @@ -1,6 +1,7 @@ ; https=//exceljet.net/formula/get-domain-from-email-address (set-logic SLIA) (synth-fun f ((_arg_0 String) (_arg_1 String)) String + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start String (ntString)) (ntString String ( _arg_0 _arg_1 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( - 1 0 -1 + 1 0 (- 1) (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/get-domain-name-from-url.sl b/lib/PBE_SLIA_Track/euphony/get-domain-name-from-url.sl index 9c89e655..985e61c7 100644 --- a/lib/PBE_SLIA_Track/euphony/get-domain-name-from-url.sl +++ b/lib/PBE_SLIA_Track/euphony/get-domain-name-from-url.sl @@ -1,6 +1,7 @@ ; https=//exceljet.net/formula/get-domain-name-from-url (set-logic SLIA) (synth-fun f ((_arg_0 String)) String + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start String (ntString)) (ntString String ( _arg_0 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( - 0 -1 1 2 3 + 0 (- 1) 1 2 3 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/get-first-name-from-name-with-comma.sl b/lib/PBE_SLIA_Track/euphony/get-first-name-from-name-with-comma.sl index 02b9801c..9ff61114 100644 --- a/lib/PBE_SLIA_Track/euphony/get-first-name-from-name-with-comma.sl +++ b/lib/PBE_SLIA_Track/euphony/get-first-name-from-name-with-comma.sl @@ -1,6 +1,7 @@ ; https=//exceljet.net/formula/get-first-name-from-name-with-comma (set-logic SLIA) (synth-fun f ((_arg_0 String) (_arg_1 Int)) String + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start String (ntString)) (ntString String ( _arg_0 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( _arg_1 - 1 0 -1 1 2 + 1 0 (- 1) 1 2 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/get-first-name-from-name.sl b/lib/PBE_SLIA_Track/euphony/get-first-name-from-name.sl index e23216ee..109ff9c7 100644 --- a/lib/PBE_SLIA_Track/euphony/get-first-name-from-name.sl +++ b/lib/PBE_SLIA_Track/euphony/get-first-name-from-name.sl @@ -1,6 +1,7 @@ ; https=//exceljet.net/formula/get-first-name-from-name (set-logic SLIA) (synth-fun f ((_arg_0 String)) String + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start String (ntString)) (ntString String ( _arg_0 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( - 1 0 -1 + 1 0 (- 1) (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/get-first-word.sl b/lib/PBE_SLIA_Track/euphony/get-first-word.sl index d5635848..35b4afbf 100644 --- a/lib/PBE_SLIA_Track/euphony/get-first-word.sl +++ b/lib/PBE_SLIA_Track/euphony/get-first-word.sl @@ -1,6 +1,7 @@ ; https=//exceljet.net/formula/get-first-word (set-logic SLIA) (synth-fun f ((_arg_0 String)) String + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start String (ntString)) (ntString String ( _arg_0 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( - 1 0 -1 + 1 0 (- 1) (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/get-last-line-in-cell.sl b/lib/PBE_SLIA_Track/euphony/get-last-line-in-cell.sl index bd00dc09..752e1521 100644 --- a/lib/PBE_SLIA_Track/euphony/get-last-line-in-cell.sl +++ b/lib/PBE_SLIA_Track/euphony/get-last-line-in-cell.sl @@ -1,6 +1,7 @@ ; https=//exceljet.net/formula/get-last-line-in-cell (set-logic SLIA) (synth-fun f ((_arg_0 String)) String + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start String (ntString)) (ntString String ( _arg_0 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( - 1 0 -1 + 1 0 (- 1) (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/get-last-name-from-name-with-comma.sl b/lib/PBE_SLIA_Track/euphony/get-last-name-from-name-with-comma.sl index 6e87c571..6601f144 100644 --- a/lib/PBE_SLIA_Track/euphony/get-last-name-from-name-with-comma.sl +++ b/lib/PBE_SLIA_Track/euphony/get-last-name-from-name-with-comma.sl @@ -1,6 +1,7 @@ ; https=//exceljet.net/formula/get-last-name-from-name-with-comma (set-logic SLIA) (synth-fun f ((_arg_0 String)) String + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start String (ntString)) (ntString String ( _arg_0 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( - 1 0 -1 + 1 0 (- 1) (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/get-last-name-from-name.sl b/lib/PBE_SLIA_Track/euphony/get-last-name-from-name.sl index 0a212fdb..c07c7913 100644 --- a/lib/PBE_SLIA_Track/euphony/get-last-name-from-name.sl +++ b/lib/PBE_SLIA_Track/euphony/get-last-name-from-name.sl @@ -1,6 +1,7 @@ ; https=//exceljet.net/formula/get-last-name-from-name (set-logic SLIA) (synth-fun f ((_arg_0 String)) String + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start String (ntString)) (ntString String ( _arg_0 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( - 1 0 -1 + 1 0 (- 1) (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/get-last-word.sl b/lib/PBE_SLIA_Track/euphony/get-last-word.sl index 58d74bcf..83a3453a 100644 --- a/lib/PBE_SLIA_Track/euphony/get-last-word.sl +++ b/lib/PBE_SLIA_Track/euphony/get-last-word.sl @@ -1,6 +1,7 @@ ; https=//exceljet.net/formula/get-last-word (set-logic SLIA) (synth-fun f ((_arg_0 String)) String + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start String (ntString)) (ntString String ( _arg_0 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( - 1 0 -1 + 1 0 (- 1) (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/get-middle-name-from-full-name.sl b/lib/PBE_SLIA_Track/euphony/get-middle-name-from-full-name.sl index 5b1a5b6d..8f03c27d 100644 --- a/lib/PBE_SLIA_Track/euphony/get-middle-name-from-full-name.sl +++ b/lib/PBE_SLIA_Track/euphony/get-middle-name-from-full-name.sl @@ -1,6 +1,7 @@ ; https=//exceljet.net/formula/get-middle-name-from-full-name (set-logic SLIA) (synth-fun f ((_arg_0 String)) String + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start String (ntString)) (ntString String ( _arg_0 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( - 1 0 -1 + 1 0 (- 1) (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/join-cells-with-comma.sl b/lib/PBE_SLIA_Track/euphony/join-cells-with-comma.sl index 20b6fc83..1600be45 100644 --- a/lib/PBE_SLIA_Track/euphony/join-cells-with-comma.sl +++ b/lib/PBE_SLIA_Track/euphony/join-cells-with-comma.sl @@ -1,6 +1,7 @@ ; https=//exceljet.net/formula/join-cells-with-comma (set-logic SLIA) (synth-fun f ((_arg_0 String) (_arg_1 String) (_arg_2 String)) String + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start String (ntString)) (ntString String ( _arg_0 _arg_1 _arg_2 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( - 1 0 -1 + 1 0 (- 1) (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/join-first-and-last-name.sl b/lib/PBE_SLIA_Track/euphony/join-first-and-last-name.sl index 9cc081cf..df040fa5 100644 --- a/lib/PBE_SLIA_Track/euphony/join-first-and-last-name.sl +++ b/lib/PBE_SLIA_Track/euphony/join-first-and-last-name.sl @@ -1,6 +1,7 @@ ; https=//exceljet.net/formula/join-first-and-last-name (set-logic SLIA) (synth-fun f ((_arg_0 String) (_arg_1 String)) String + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start String (ntString)) (ntString String ( _arg_0 _arg_1 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( - 1 0 -1 + 1 0 (- 1) (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/most-frequently-occurring-text.sl b/lib/PBE_SLIA_Track/euphony/most-frequently-occurring-text.sl index 86702cdd..e16f4aae 100644 --- a/lib/PBE_SLIA_Track/euphony/most-frequently-occurring-text.sl +++ b/lib/PBE_SLIA_Track/euphony/most-frequently-occurring-text.sl @@ -1,6 +1,7 @@ ; https=//exceljet.net/formula/most-frequently-occurring-text (set-logic SLIA) (synth-fun f ((_arg_0 String) (_arg_1 String) (_arg_2 String)) String + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start String (ntString)) (ntString String ( _arg_0 _arg_1 _arg_2 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( - 1 0 -1 + 1 0 (- 1) (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/phone-5-short.sl b/lib/PBE_SLIA_Track/euphony/phone-5-short.sl index 1b4519b6..53b54b2b 100755 --- a/lib/PBE_SLIA_Track/euphony/phone-5-short.sl +++ b/lib/PBE_SLIA_Track/euphony/phone-5-short.sl @@ -1,11 +1,12 @@ (set-logic SLIA) (synth-fun f ((name String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (name " " "+" "-" "." (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) -(int.to.str ntInt) +(str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) @@ -13,7 +14,7 @@ (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) -(str.to.int ntString) +(str.to_int ntString) (str.indexof ntString ntString ntInt) )) (ntBool Bool (true false diff --git a/lib/PBE_SLIA_Track/euphony/phone-6-short.sl b/lib/PBE_SLIA_Track/euphony/phone-6-short.sl index a94e876b..c44c5f4e 100755 --- a/lib/PBE_SLIA_Track/euphony/phone-6-short.sl +++ b/lib/PBE_SLIA_Track/euphony/phone-6-short.sl @@ -1,11 +1,12 @@ (set-logic SLIA) (synth-fun f ((name String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (name " " "+" "-" "." (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) -(int.to.str ntInt) +(str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) @@ -13,7 +14,7 @@ (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) -(str.to.int ntString) +(str.to_int ntString) (str.indexof ntString ntString ntInt) )) (ntBool Bool (true false diff --git a/lib/PBE_SLIA_Track/euphony/phone-7-short.sl b/lib/PBE_SLIA_Track/euphony/phone-7-short.sl index 435c6579..cda2e856 100755 --- a/lib/PBE_SLIA_Track/euphony/phone-7-short.sl +++ b/lib/PBE_SLIA_Track/euphony/phone-7-short.sl @@ -1,11 +1,12 @@ (set-logic SLIA) (synth-fun f ((name String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (name " " "+" "-" "." (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) -(int.to.str ntInt) +(str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) @@ -13,7 +14,7 @@ (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) -(str.to.int ntString) +(str.to_int ntString) (str.indexof ntString ntString ntInt) )) (ntBool Bool (true false diff --git a/lib/PBE_SLIA_Track/euphony/phone-9-short.sl b/lib/PBE_SLIA_Track/euphony/phone-9-short.sl index 50405213..b94765af 100755 --- a/lib/PBE_SLIA_Track/euphony/phone-9-short.sl +++ b/lib/PBE_SLIA_Track/euphony/phone-9-short.sl @@ -1,11 +1,12 @@ (set-logic SLIA) (synth-fun f ((name String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (name " " "+" "-" "." (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) -(int.to.str ntInt) +(str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) @@ -13,7 +14,7 @@ (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) -(str.to.int ntString) +(str.to_int ntString) (str.indexof ntString ntString ntInt) )) (ntBool Bool (true false diff --git a/lib/PBE_SLIA_Track/euphony/position-of-2nd-3rd-etc-instance-of-character.sl b/lib/PBE_SLIA_Track/euphony/position-of-2nd-3rd-etc-instance-of-character.sl index 279ece6f..a6dcdeb1 100644 --- a/lib/PBE_SLIA_Track/euphony/position-of-2nd-3rd-etc-instance-of-character.sl +++ b/lib/PBE_SLIA_Track/euphony/position-of-2nd-3rd-etc-instance-of-character.sl @@ -1,6 +1,7 @@ ; https=//exceljet.net/formula/position-of-2nd-3rd-etc-instance-of-character (set-logic SLIA) (synth-fun f ((_arg_0 String) (_arg_1 String) (_arg_2 Int)) Int + ((Start Int) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start Int (ntInt)) (ntString String ( _arg_0 _arg_1 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( _arg_2 - 1 0 -1 1 2 3 + 1 0 (- 1) 1 2 3 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/remove-characters-from-left.sl b/lib/PBE_SLIA_Track/euphony/remove-characters-from-left.sl index 9b9967bd..5e4cc7d5 100644 --- a/lib/PBE_SLIA_Track/euphony/remove-characters-from-left.sl +++ b/lib/PBE_SLIA_Track/euphony/remove-characters-from-left.sl @@ -1,6 +1,7 @@ ; https=//exceljet.net/formula/remove-characters-from-left (set-logic SLIA) (synth-fun f ((_arg_0 String) (_arg_1 Int)) String + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start String (ntString)) (ntString String ( _arg_0 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( _arg_1 - 1 0 -1 + 1 0 (- 1) (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/remove-characters-from-right.sl b/lib/PBE_SLIA_Track/euphony/remove-characters-from-right.sl index e91f0a77..754b14b9 100644 --- a/lib/PBE_SLIA_Track/euphony/remove-characters-from-right.sl +++ b/lib/PBE_SLIA_Track/euphony/remove-characters-from-right.sl @@ -1,6 +1,7 @@ ; https=//exceljet.net/formula/remove-characters-from-right (set-logic SLIA) (synth-fun f ((_arg_0 String)) Int + ((Start Int) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start Int (ntInt)) (ntString String ( _arg_0 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( - 1 0 -1 + 1 0 (- 1) (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/remove-file-extension-from-filename.sl b/lib/PBE_SLIA_Track/euphony/remove-file-extension-from-filename.sl index 96584235..b3425911 100644 --- a/lib/PBE_SLIA_Track/euphony/remove-file-extension-from-filename.sl +++ b/lib/PBE_SLIA_Track/euphony/remove-file-extension-from-filename.sl @@ -1,6 +1,7 @@ ; https=//exceljet.net/formula/remove-file-extension-from-filename (set-logic SLIA) (synth-fun f ((_arg_0 String)) String + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start String (ntString)) (ntString String ( _arg_0 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( - 1 0 -1 + 1 0 (- 1) (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/remove-leading-and-trailing-spaces-from-text.sl b/lib/PBE_SLIA_Track/euphony/remove-leading-and-trailing-spaces-from-text.sl index de477c84..ac47e878 100644 --- a/lib/PBE_SLIA_Track/euphony/remove-leading-and-trailing-spaces-from-text.sl +++ b/lib/PBE_SLIA_Track/euphony/remove-leading-and-trailing-spaces-from-text.sl @@ -2,6 +2,7 @@ ; (str.++ (ite (str.prefixof " " _arg_0) "" (str.at _arg_0 0)) (str.substr (str.replace (str.replace (str.replace (str.replace (str.replace _arg_0 (str.++ " " " ") " ") (str.++ " " " ") " ") (str.++ " " " ") " ") (str.++ " " " ") " ") (str.++ " " " ") " ") 1 (str.len _arg_0))) (set-logic SLIA) (synth-fun f ((_arg_0 String)) String + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start String (ntString)) (ntString String ( _arg_0 @@ -9,17 +10,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( - 1 0 -1 + 1 0 (- 1) (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/remove-text-by-matching.sl b/lib/PBE_SLIA_Track/euphony/remove-text-by-matching.sl index 790de207..8dd68d83 100644 --- a/lib/PBE_SLIA_Track/euphony/remove-text-by-matching.sl +++ b/lib/PBE_SLIA_Track/euphony/remove-text-by-matching.sl @@ -1,6 +1,7 @@ ; https=//exceljet.net/formula/remove-text-by-matching (set-logic SLIA) (synth-fun f ((_arg_0 String)) String + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start String (ntString)) (ntString String ( _arg_0 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( - 1 0 -1 + 1 0 (- 1) (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/remove-text-by-position.sl b/lib/PBE_SLIA_Track/euphony/remove-text-by-position.sl index 4d103dc4..f0bb242d 100644 --- a/lib/PBE_SLIA_Track/euphony/remove-text-by-position.sl +++ b/lib/PBE_SLIA_Track/euphony/remove-text-by-position.sl @@ -1,6 +1,7 @@ ; https=//exceljet.net/formula/remove-text-by-position (set-logic SLIA) (synth-fun f ((_arg_0 String)) String + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start String (ntString)) (ntString String ( _arg_0 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( - 1 0 -1 + 1 0 (- 1) (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/remove-unwanted-characters.sl b/lib/PBE_SLIA_Track/euphony/remove-unwanted-characters.sl index 78d8c4b3..9843d368 100644 --- a/lib/PBE_SLIA_Track/euphony/remove-unwanted-characters.sl +++ b/lib/PBE_SLIA_Track/euphony/remove-unwanted-characters.sl @@ -1,6 +1,7 @@ ; https=//exceljet.net/formula/remove-unwanted-characters (set-logic SLIA) (synth-fun f ((_arg_0 String) (_arg_1 String)) String + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start String (ntString)) (ntString String ( _arg_0 _arg_1 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( - 1 0 -1 + 1 0 (- 1) (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/replace-one-character-with-another.sl b/lib/PBE_SLIA_Track/euphony/replace-one-character-with-another.sl index 2b4a062f..39684a07 100644 --- a/lib/PBE_SLIA_Track/euphony/replace-one-character-with-another.sl +++ b/lib/PBE_SLIA_Track/euphony/replace-one-character-with-another.sl @@ -1,6 +1,7 @@ ; https=//exceljet.net/formula/replace-one-character-with-another (set-logic SLIA) (synth-fun f ((_arg_0 String)) String + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start String (ntString)) (ntString String ( _arg_0 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( - 1 0 -1 + 1 0 (- 1) (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/split-numbers-from-units-of-measure_1.sl b/lib/PBE_SLIA_Track/euphony/split-numbers-from-units-of-measure_1.sl index 50c55821..d43d869e 100644 --- a/lib/PBE_SLIA_Track/euphony/split-numbers-from-units-of-measure_1.sl +++ b/lib/PBE_SLIA_Track/euphony/split-numbers-from-units-of-measure_1.sl @@ -1,6 +1,7 @@ ; https=//exceljet.net/formula/split-numbers-from-units-of-measure (set-logic SLIA) (synth-fun f ((_arg_0 String) (_arg_1 Int)) String + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start String (ntString)) (ntString String ( _arg_0 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( _arg_1 - 1 0 -1 1 2 3 + 1 0 (- 1) 1 2 3 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/split-numbers-from-units-of-measure_2.sl b/lib/PBE_SLIA_Track/euphony/split-numbers-from-units-of-measure_2.sl index 2d8e9de5..1591920c 100644 --- a/lib/PBE_SLIA_Track/euphony/split-numbers-from-units-of-measure_2.sl +++ b/lib/PBE_SLIA_Track/euphony/split-numbers-from-units-of-measure_2.sl @@ -1,6 +1,7 @@ ; https=//exceljet.net/formula/split-numbers-from-units-of-measure (set-logic SLIA) (synth-fun f ((_arg_0 String) (_arg_1 Int)) String + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start String (ntString)) (ntString String ( _arg_0 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( _arg_1 - 1 0 -1 1 2 3 + 1 0 (- 1) 1 2 3 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/split-text-and-numbers.sl b/lib/PBE_SLIA_Track/euphony/split-text-and-numbers.sl index e7e9b67f..a2228880 100644 --- a/lib/PBE_SLIA_Track/euphony/split-text-and-numbers.sl +++ b/lib/PBE_SLIA_Track/euphony/split-text-and-numbers.sl @@ -1,6 +1,7 @@ ; https=//exceljet.net/formula/split-text-and-numbers (set-logic SLIA) (synth-fun f ((_arg_0 String) (_arg_1 Int)) String + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start String (ntString)) (ntString String ( _arg_0 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( _arg_1 - 1 0 -1 1 2 3 + 1 0 (- 1) 1 2 3 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/split-text-string-at-specific-character.sl b/lib/PBE_SLIA_Track/euphony/split-text-string-at-specific-character.sl index b71a39d4..70b562de 100644 --- a/lib/PBE_SLIA_Track/euphony/split-text-string-at-specific-character.sl +++ b/lib/PBE_SLIA_Track/euphony/split-text-string-at-specific-character.sl @@ -1,6 +1,7 @@ ; https=//exceljet.net/formula/split-text-string-at-specific-character (set-logic SLIA) (synth-fun f ((_arg_0 String) (_arg_1 Int)) String + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start String (ntString)) (ntString String ( _arg_0 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( _arg_1 - 1 0 -1 1 2 + 1 0 (- 1) 1 2 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/stackoverflow1.sl b/lib/PBE_SLIA_Track/euphony/stackoverflow1.sl index 00d608f7..674e4217 100644 --- a/lib/PBE_SLIA_Track/euphony/stackoverflow1.sl +++ b/lib/PBE_SLIA_Track/euphony/stackoverflow1.sl @@ -1,6 +1,7 @@ ; https=//stackoverflow.com/questions/11891093/excel-function-to-replace-substring (set-logic SLIA) (synth-fun f ((_arg_0 String)) String + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start String (ntString)) (ntString String ( _arg_0 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( - 1 0 -1 + 1 0 (- 1) (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/stackoverflow10.sl b/lib/PBE_SLIA_Track/euphony/stackoverflow10.sl index ca3d0cd0..47cbb297 100644 --- a/lib/PBE_SLIA_Track/euphony/stackoverflow10.sl +++ b/lib/PBE_SLIA_Track/euphony/stackoverflow10.sl @@ -1,6 +1,7 @@ ; https=//stackoverflow.com/questions/39648273/ms-excel-extract-unique-text-patterns-keyword-from-substring (set-logic SLIA) (synth-fun f ((_arg_0 String)) String + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start String (ntString)) (ntString String ( _arg_0 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( - 1 0 -1 1 2 3 4 5 + 1 0 (- 1) 1 2 3 4 5 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/stackoverflow11.sl b/lib/PBE_SLIA_Track/euphony/stackoverflow11.sl index db14b9ab..5325a8eb 100644 --- a/lib/PBE_SLIA_Track/euphony/stackoverflow11.sl +++ b/lib/PBE_SLIA_Track/euphony/stackoverflow11.sl @@ -1,6 +1,7 @@ ; https=//stackoverflow.com/questions/44359450/finding-a-substring-that-is-comprised-of-both-letters-and-numbers-in-excel (set-logic SLIA) (synth-fun f ((_arg_0 String)) String + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start String (ntString)) (ntString String ( _arg_0 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( - 1 0 -1 + 1 0 (- 1) (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/stackoverflow2.sl b/lib/PBE_SLIA_Track/euphony/stackoverflow2.sl index 19a9023a..bac80058 100644 --- a/lib/PBE_SLIA_Track/euphony/stackoverflow2.sl +++ b/lib/PBE_SLIA_Track/euphony/stackoverflow2.sl @@ -1,6 +1,7 @@ ; https=//stackoverflow.com/questions/26262269/how-to-find-all-the-strings-in-a-cell-that-contains-a-given-substring-in-excel (set-logic SLIA) (synth-fun f ((_arg_0 String)) String + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start String (ntString)) (ntString String ( _arg_0 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( - 1 0 -1 + 1 0 (- 1) (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/stackoverflow3.sl b/lib/PBE_SLIA_Track/euphony/stackoverflow3.sl index e8e8a136..576d8b7d 100644 --- a/lib/PBE_SLIA_Track/euphony/stackoverflow3.sl +++ b/lib/PBE_SLIA_Track/euphony/stackoverflow3.sl @@ -1,6 +1,7 @@ ; https=//stackoverflow.com/questions/26875613/return-all-text-to-the-right-of-last-numeric-digit-in-strings/26876794%26876794 (set-logic SLIA) (synth-fun f ((_arg_0 String)) String + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start String (ntString)) (ntString String ( _arg_0 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( - 1 0 -1 1 2 3 + 1 0 (- 1) 1 2 3 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/stackoverflow4.sl b/lib/PBE_SLIA_Track/euphony/stackoverflow4.sl index 8b8a387a..3f84ca7e 100644 --- a/lib/PBE_SLIA_Track/euphony/stackoverflow4.sl +++ b/lib/PBE_SLIA_Track/euphony/stackoverflow4.sl @@ -1,6 +1,7 @@ ; https=//stackoverflow.com/questions/2727679/substring-in-excel (set-logic SLIA) (synth-fun f ((_arg_0 String)) String + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start String (ntString)) (ntString String ( _arg_0 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( - 1 0 -1 + 1 0 (- 1) (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/stackoverflow5.sl b/lib/PBE_SLIA_Track/euphony/stackoverflow5.sl index 5fc9d0f0..434b1e89 100644 --- a/lib/PBE_SLIA_Track/euphony/stackoverflow5.sl +++ b/lib/PBE_SLIA_Track/euphony/stackoverflow5.sl @@ -1,6 +1,7 @@ ; https=//stackoverflow.com/questions/28616046/excel-substrings/28618923%28618923 (set-logic SLIA) (synth-fun f ((_arg_0 String)) String + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start String (ntString)) (ntString String ( _arg_0 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( - 1 0 -1 + 1 0 (- 1) (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/stackoverflow6.sl b/lib/PBE_SLIA_Track/euphony/stackoverflow6.sl index 78047bc7..b1a3b4a7 100644 --- a/lib/PBE_SLIA_Track/euphony/stackoverflow6.sl +++ b/lib/PBE_SLIA_Track/euphony/stackoverflow6.sl @@ -1,6 +1,7 @@ ; https=//stackoverflow.com/questions/28627624/excel-single-cell-to-multiple-rows-and-get-substring (set-logic SLIA) (synth-fun f ((_arg_0 String)) String + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start String (ntString)) (ntString String ( _arg_0 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( - 1 0 -1 + 1 0 (- 1) (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/stackoverflow7.sl b/lib/PBE_SLIA_Track/euphony/stackoverflow7.sl index 7583ab84..9e02b627 100644 --- a/lib/PBE_SLIA_Track/euphony/stackoverflow7.sl +++ b/lib/PBE_SLIA_Track/euphony/stackoverflow7.sl @@ -1,6 +1,7 @@ ; https=//stackoverflow.com/questions/29935088/how-to-remove-substring-that-is-in-another-column-in-excel (set-logic SLIA) (synth-fun f ((_arg_0 String) (_arg_1 String)) String + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start String (ntString)) (ntString String ( _arg_0 _arg_1 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( - 1 0 -1 + 1 0 (- 1) (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/stackoverflow8.sl b/lib/PBE_SLIA_Track/euphony/stackoverflow8.sl index 8e39be97..9f3cf443 100644 --- a/lib/PBE_SLIA_Track/euphony/stackoverflow8.sl +++ b/lib/PBE_SLIA_Track/euphony/stackoverflow8.sl @@ -1,6 +1,7 @@ ; https=//stackoverflow.com/questions/31135150/excel-vba-how-to-extract-the-substring-if-we-know-the-positions-of-first-and-la (set-logic SLIA) (synth-fun f ((_arg_0 String)) String + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start String (ntString)) (ntString String ( _arg_0 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( - 1 0 -1 2 3 4 + 1 0 (- 1) 2 3 4 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/stackoverflow9.sl b/lib/PBE_SLIA_Track/euphony/stackoverflow9.sl index 2cf51f24..8e4b27a6 100644 --- a/lib/PBE_SLIA_Track/euphony/stackoverflow9.sl +++ b/lib/PBE_SLIA_Track/euphony/stackoverflow9.sl @@ -1,6 +1,7 @@ ; https=//stackoverflow.com/questions/38605460/find-the-second-space-and-copy-remaining-text-using-mid-and-search-in-excel (set-logic SLIA) (synth-fun f ((_arg_0 String)) String + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start String (ntString)) (ntString String ( _arg_0 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( - 1 0 -1 + 1 0 (- 1) (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/strip-html-from-text-or-numbers.sl b/lib/PBE_SLIA_Track/euphony/strip-html-from-text-or-numbers.sl index 32ab4f4a..15154f9c 100644 --- a/lib/PBE_SLIA_Track/euphony/strip-html-from-text-or-numbers.sl +++ b/lib/PBE_SLIA_Track/euphony/strip-html-from-text-or-numbers.sl @@ -1,6 +1,7 @@ ; https=//exceljet.net/formula/strip-html-from-text-or-numbers (set-logic SLIA) (synth-fun f ((_arg_0 String)) String + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start String (ntString)) (ntString String ( _arg_0 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( - 1 0 -1 + 1 0 (- 1) (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/strip-non-numeric-characters.sl b/lib/PBE_SLIA_Track/euphony/strip-non-numeric-characters.sl index abbeeb61..be0c3fbc 100644 --- a/lib/PBE_SLIA_Track/euphony/strip-non-numeric-characters.sl +++ b/lib/PBE_SLIA_Track/euphony/strip-non-numeric-characters.sl @@ -1,6 +1,7 @@ ; https=//exceljet.net/formula/strip-non-numeric-characters (set-logic SLIA) (synth-fun f ((_arg_0 String)) String + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start String (ntString)) (ntString String ( _arg_0 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( - 1 0 -1 1 2 3 4 5 6 7 8 9 0 + 1 0 (- 1) 1 2 3 4 5 6 7 8 9 0 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/euphony/strip-numeric-characters-from-cell.sl b/lib/PBE_SLIA_Track/euphony/strip-numeric-characters-from-cell.sl index 4046a38f..f4bfd895 100644 --- a/lib/PBE_SLIA_Track/euphony/strip-numeric-characters-from-cell.sl +++ b/lib/PBE_SLIA_Track/euphony/strip-numeric-characters-from-cell.sl @@ -1,6 +1,7 @@ ; https=//exceljet.net/formula/strip-numeric-characters-from-cell (set-logic SLIA) (synth-fun f ((_arg_0 String)) String + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start String (ntString)) (ntString String ( _arg_0 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( - 1 0 -1 1 2 3 4 5 6 7 8 9 0 + 1 0 (- 1) 1 2 3 4 5 6 7 8 9 0 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/from_2018/11440431.sl b/lib/PBE_SLIA_Track/from_2018/11440431.sl index 8ab54b40..74b6195b 100644 --- a/lib/PBE_SLIA_Track/from_2018/11440431.sl +++ b/lib/PBE_SLIA_Track/from_2018/11440431.sl @@ -1,6 +1,7 @@ ; https=//stackoverflow.com/questions/11440431/remove-trailing-us-and-can-strings-from-a-range-of-cells/11440731%11440731 (set-logic SLIA) (synth-fun f ((_arg_0 String)) String + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) ( (Start String (ntString)) (ntString String ( _arg_0 @@ -8,17 +9,17 @@ (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt) )) (ntInt Int ( - 1 0 -1 + 1 0 (- 1) (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (ite ntBool ntInt ntInt) (str.indexof ntString ntString ntInt) )) diff --git a/lib/PBE_SLIA_Track/from_2018/bikes-long-repeat.sl b/lib/PBE_SLIA_Track/from_2018/bikes-long-repeat.sl index 108fd2d4..f400eefe 100644 --- a/lib/PBE_SLIA_Track/from_2018/bikes-long-repeat.sl +++ b/lib/PBE_SLIA_Track/from_2018/bikes-long-repeat.sl @@ -1,18 +1,19 @@ (set-logic SLIA) (synth-fun f ((name String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (name " " (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (str.substr ntString ntInt ntInt))) (ntInt Int (0 1 2 3 4 5 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (str.indexof ntString ntString ntInt))) (ntBool Bool (true false (str.prefixof ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/bikes-long.sl b/lib/PBE_SLIA_Track/from_2018/bikes-long.sl index 5ec4b735..f494f558 100644 --- a/lib/PBE_SLIA_Track/from_2018/bikes-long.sl +++ b/lib/PBE_SLIA_Track/from_2018/bikes-long.sl @@ -1,18 +1,19 @@ (set-logic SLIA) (synth-fun f ((name String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (name " " (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (str.substr ntString ntInt ntInt))) (ntInt Int (0 1 2 3 4 5 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (str.indexof ntString ntString ntInt))) (ntBool Bool (true false (str.prefixof ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/bikes.sl b/lib/PBE_SLIA_Track/from_2018/bikes.sl index de4967a8..e324d619 100644 --- a/lib/PBE_SLIA_Track/from_2018/bikes.sl +++ b/lib/PBE_SLIA_Track/from_2018/bikes.sl @@ -1,18 +1,19 @@ (set-logic SLIA) (synth-fun f ((name String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (name " " (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (str.substr ntString ntInt ntInt))) (ntInt Int (0 1 2 3 4 5 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (str.indexof ntString ntString ntInt))) (ntBool Bool (true false (str.prefixof ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/bikes_small.sl b/lib/PBE_SLIA_Track/from_2018/bikes_small.sl index 9760fa59..c7166a64 100644 --- a/lib/PBE_SLIA_Track/from_2018/bikes_small.sl +++ b/lib/PBE_SLIA_Track/from_2018/bikes_small.sl @@ -1,7 +1,8 @@ (set-logic SLIA) (synth-fun f ((name String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (name " " (str.++ ntString ntString) (str.replace ntString ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/dr-name-long-repeat.sl b/lib/PBE_SLIA_Track/from_2018/dr-name-long-repeat.sl index 2d852556..b4429512 100644 --- a/lib/PBE_SLIA_Track/from_2018/dr-name-long-repeat.sl +++ b/lib/PBE_SLIA_Track/from_2018/dr-name-long-repeat.sl @@ -1,18 +1,19 @@ (set-logic SLIA) (synth-fun f ((name String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (name " " "." "Dr." "D" "r" (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (str.substr ntString ntInt ntInt))) (ntInt Int (0 1 2 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (str.indexof ntString ntString ntInt))) (ntBool Bool (true false (str.prefixof ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/dr-name-long.sl b/lib/PBE_SLIA_Track/from_2018/dr-name-long.sl index 25ad200b..6ad6446b 100644 --- a/lib/PBE_SLIA_Track/from_2018/dr-name-long.sl +++ b/lib/PBE_SLIA_Track/from_2018/dr-name-long.sl @@ -1,18 +1,19 @@ (set-logic SLIA) (synth-fun f ((name String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (name " " "." "Dr." "D" "r" (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (str.substr ntString ntInt ntInt))) (ntInt Int (0 1 2 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (str.indexof ntString ntString ntInt))) (ntBool Bool (true false (str.prefixof ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/dr-name.sl b/lib/PBE_SLIA_Track/from_2018/dr-name.sl index 5e0120ad..c9be5cce 100644 --- a/lib/PBE_SLIA_Track/from_2018/dr-name.sl +++ b/lib/PBE_SLIA_Track/from_2018/dr-name.sl @@ -1,18 +1,19 @@ (set-logic SLIA) (synth-fun f ((name String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (name " " "." "Dr." (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (str.substr ntString ntInt ntInt))) (ntInt Int (0 1 2 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (str.indexof ntString ntString ntInt))) (ntBool Bool (true false (str.prefixof ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/dr-name_small.sl b/lib/PBE_SLIA_Track/from_2018/dr-name_small.sl index 0aafebc1..d498610d 100644 --- a/lib/PBE_SLIA_Track/from_2018/dr-name_small.sl +++ b/lib/PBE_SLIA_Track/from_2018/dr-name_small.sl @@ -1,7 +1,8 @@ (set-logic SLIA) (synth-fun f ((name String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (name " " "." "Dr." (str.++ ntString ntString) (str.replace ntString ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/firstname-long-repeat.sl b/lib/PBE_SLIA_Track/from_2018/firstname-long-repeat.sl index a72912c4..0ca56bcf 100644 --- a/lib/PBE_SLIA_Track/from_2018/firstname-long-repeat.sl +++ b/lib/PBE_SLIA_Track/from_2018/firstname-long-repeat.sl @@ -1,18 +1,19 @@ (set-logic SLIA) (synth-fun f ((name String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (name " " (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (str.substr ntString ntInt ntInt))) (ntInt Int (0 1 2 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (str.indexof ntString ntString ntInt))) (ntBool Bool (true false (str.prefixof ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/firstname-long.sl b/lib/PBE_SLIA_Track/from_2018/firstname-long.sl index 438b6ff9..27b2913c 100644 --- a/lib/PBE_SLIA_Track/from_2018/firstname-long.sl +++ b/lib/PBE_SLIA_Track/from_2018/firstname-long.sl @@ -1,18 +1,19 @@ (set-logic SLIA) (synth-fun f ((name String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (name " " (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (str.substr ntString ntInt ntInt))) (ntInt Int (0 1 2 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (str.indexof ntString ntString ntInt))) (ntBool Bool (true false (str.prefixof ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/firstname.sl b/lib/PBE_SLIA_Track/from_2018/firstname.sl index 1c109400..77fe5058 100644 --- a/lib/PBE_SLIA_Track/from_2018/firstname.sl +++ b/lib/PBE_SLIA_Track/from_2018/firstname.sl @@ -1,18 +1,19 @@ (set-logic SLIA) (synth-fun f ((name String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (name " " (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (str.substr ntString ntInt ntInt))) (ntInt Int (0 1 2 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (str.indexof ntString ntString ntInt))) (ntBool Bool (true false (str.prefixof ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/firstname_small.sl b/lib/PBE_SLIA_Track/from_2018/firstname_small.sl index ad069cb7..77259787 100644 --- a/lib/PBE_SLIA_Track/from_2018/firstname_small.sl +++ b/lib/PBE_SLIA_Track/from_2018/firstname_small.sl @@ -1,7 +1,8 @@ (set-logic SLIA) (synth-fun f ((name String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (name " " (str.++ ntString ntString) (str.replace ntString ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/initials-long-repeat.sl b/lib/PBE_SLIA_Track/from_2018/initials-long-repeat.sl index dca1f56b..d5ddc58e 100644 --- a/lib/PBE_SLIA_Track/from_2018/initials-long-repeat.sl +++ b/lib/PBE_SLIA_Track/from_2018/initials-long-repeat.sl @@ -1,18 +1,19 @@ (set-logic SLIA) (synth-fun f ((name String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (name " " "." (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (str.substr ntString ntInt ntInt))) (ntInt Int (0 1 2 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (str.indexof ntString ntString ntInt))) (ntBool Bool (true false (str.prefixof ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/initials-long.sl b/lib/PBE_SLIA_Track/from_2018/initials-long.sl index a3f2ae22..079b3042 100644 --- a/lib/PBE_SLIA_Track/from_2018/initials-long.sl +++ b/lib/PBE_SLIA_Track/from_2018/initials-long.sl @@ -1,18 +1,19 @@ (set-logic SLIA) (synth-fun f ((name String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (name " " "." (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (str.substr ntString ntInt ntInt))) (ntInt Int (0 1 2 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (str.indexof ntString ntString ntInt))) (ntBool Bool (true false (str.prefixof ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/initials.sl b/lib/PBE_SLIA_Track/from_2018/initials.sl index 109d6b98..28047910 100644 --- a/lib/PBE_SLIA_Track/from_2018/initials.sl +++ b/lib/PBE_SLIA_Track/from_2018/initials.sl @@ -1,18 +1,19 @@ (set-logic SLIA) (synth-fun f ((name String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (name " " "." (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (str.substr ntString ntInt ntInt))) (ntInt Int (0 1 2 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (str.indexof ntString ntString ntInt))) (ntBool Bool (true false (str.prefixof ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/initials_small.sl b/lib/PBE_SLIA_Track/from_2018/initials_small.sl index b27a6b01..a06a4e40 100644 --- a/lib/PBE_SLIA_Track/from_2018/initials_small.sl +++ b/lib/PBE_SLIA_Track/from_2018/initials_small.sl @@ -1,7 +1,8 @@ (set-logic SLIA) (synth-fun f ((name String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (name " " "." (str.++ ntString ntString) (str.replace ntString ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/lastname-long-repeat.sl b/lib/PBE_SLIA_Track/from_2018/lastname-long-repeat.sl index eeb850b5..e090b914 100644 --- a/lib/PBE_SLIA_Track/from_2018/lastname-long-repeat.sl +++ b/lib/PBE_SLIA_Track/from_2018/lastname-long-repeat.sl @@ -1,18 +1,19 @@ (set-logic SLIA) (synth-fun f ((name String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (name " " (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (str.substr ntString ntInt ntInt))) (ntInt Int (0 1 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (str.indexof ntString ntString ntInt))) (ntBool Bool (true false (str.prefixof ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/lastname-long.sl b/lib/PBE_SLIA_Track/from_2018/lastname-long.sl index d99d2138..86377572 100644 --- a/lib/PBE_SLIA_Track/from_2018/lastname-long.sl +++ b/lib/PBE_SLIA_Track/from_2018/lastname-long.sl @@ -1,18 +1,19 @@ (set-logic SLIA) (synth-fun f ((name String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (name " " (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (str.substr ntString ntInt ntInt))) (ntInt Int (0 1 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (str.indexof ntString ntString ntInt))) (ntBool Bool (true false (str.prefixof ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/lastname.sl b/lib/PBE_SLIA_Track/from_2018/lastname.sl index 7ea66908..e901c74e 100644 --- a/lib/PBE_SLIA_Track/from_2018/lastname.sl +++ b/lib/PBE_SLIA_Track/from_2018/lastname.sl @@ -1,18 +1,19 @@ (set-logic SLIA) (synth-fun f ((name String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (name " " (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (str.substr ntString ntInt ntInt))) (ntInt Int (0 1 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (str.indexof ntString ntString ntInt))) (ntBool Bool (true false (str.prefixof ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/lastname_small.sl b/lib/PBE_SLIA_Track/from_2018/lastname_small.sl index 81df2c3d..f7908077 100644 --- a/lib/PBE_SLIA_Track/from_2018/lastname_small.sl +++ b/lib/PBE_SLIA_Track/from_2018/lastname_small.sl @@ -1,7 +1,8 @@ (set-logic SLIA) (synth-fun f ((name String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (name " " (str.++ ntString ntString) (str.replace ntString ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/max3.sl b/lib/PBE_SLIA_Track/from_2018/max3.sl index 19ce4843..35e60b58 100644 --- a/lib/PBE_SLIA_Track/from_2018/max3.sl +++ b/lib/PBE_SLIA_Track/from_2018/max3.sl @@ -4,7 +4,8 @@ (set-logic LIA) (synth-fun max3 ((x Int) (y Int) (z Int)) Int - ((Start Int (x + ((Start Int) (StartBool Bool)) + ((Start Int (x y z 0 diff --git a/lib/PBE_SLIA_Track/from_2018/name-combine-2-long-repeat.sl b/lib/PBE_SLIA_Track/from_2018/name-combine-2-long-repeat.sl index b8b0cc7d..fe7b9035 100644 --- a/lib/PBE_SLIA_Track/from_2018/name-combine-2-long-repeat.sl +++ b/lib/PBE_SLIA_Track/from_2018/name-combine-2-long-repeat.sl @@ -1,18 +1,19 @@ (set-logic SLIA) (synth-fun f ((firstname String) (lastname String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (firstname lastname " " "." (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (str.substr ntString ntInt ntInt))) (ntInt Int (0 1 2 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (str.indexof ntString ntString ntInt))) (ntBool Bool (true false (str.prefixof ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/name-combine-2-long.sl b/lib/PBE_SLIA_Track/from_2018/name-combine-2-long.sl index a14df1ae..9a729180 100644 --- a/lib/PBE_SLIA_Track/from_2018/name-combine-2-long.sl +++ b/lib/PBE_SLIA_Track/from_2018/name-combine-2-long.sl @@ -1,18 +1,19 @@ (set-logic SLIA) (synth-fun f ((firstname String) (lastname String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (firstname lastname " " "." (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (str.substr ntString ntInt ntInt))) (ntInt Int (0 1 2 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (str.indexof ntString ntString ntInt))) (ntBool Bool (true false (str.prefixof ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/name-combine-2.sl b/lib/PBE_SLIA_Track/from_2018/name-combine-2.sl index bf770482..f55ed1ca 100644 --- a/lib/PBE_SLIA_Track/from_2018/name-combine-2.sl +++ b/lib/PBE_SLIA_Track/from_2018/name-combine-2.sl @@ -1,7 +1,8 @@ (set-logic SLIA) (synth-fun f ((firstname String) (lastname String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (firstname lastname " " "." (str.++ ntString ntString) (str.replace ntString ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/name-combine-2_short.sl b/lib/PBE_SLIA_Track/from_2018/name-combine-2_short.sl index 9489ea77..1eb3d7c4 100644 --- a/lib/PBE_SLIA_Track/from_2018/name-combine-2_short.sl +++ b/lib/PBE_SLIA_Track/from_2018/name-combine-2_short.sl @@ -1,18 +1,19 @@ (set-logic SLIA) (synth-fun f ((firstname String) (lastname String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (firstname lastname " " "." (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (str.substr ntString ntInt ntInt))) (ntInt Int (0 1 2 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (str.indexof ntString ntString ntInt))) (ntBool Bool (true false (str.prefixof ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/name-combine-3-long-repeat.sl b/lib/PBE_SLIA_Track/from_2018/name-combine-3-long-repeat.sl index 9c5834a5..5b79a7b3 100644 --- a/lib/PBE_SLIA_Track/from_2018/name-combine-3-long-repeat.sl +++ b/lib/PBE_SLIA_Track/from_2018/name-combine-3-long-repeat.sl @@ -1,18 +1,19 @@ (set-logic SLIA) (synth-fun f ((firstname String) (lastname String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (firstname lastname " " "." (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (str.substr ntString ntInt ntInt))) (ntInt Int (0 1 2 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (str.indexof ntString ntString ntInt))) (ntBool Bool (true false (str.prefixof ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/name-combine-3-long.sl b/lib/PBE_SLIA_Track/from_2018/name-combine-3-long.sl index 235ef783..5938ab66 100644 --- a/lib/PBE_SLIA_Track/from_2018/name-combine-3-long.sl +++ b/lib/PBE_SLIA_Track/from_2018/name-combine-3-long.sl @@ -1,18 +1,19 @@ (set-logic SLIA) (synth-fun f ((firstname String) (lastname String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (firstname lastname " " "." (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (str.substr ntString ntInt ntInt))) (ntInt Int (0 1 2 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (str.indexof ntString ntString ntInt))) (ntBool Bool (true false (str.prefixof ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/name-combine-3.sl b/lib/PBE_SLIA_Track/from_2018/name-combine-3.sl index c075e62b..f5246157 100644 --- a/lib/PBE_SLIA_Track/from_2018/name-combine-3.sl +++ b/lib/PBE_SLIA_Track/from_2018/name-combine-3.sl @@ -1,18 +1,19 @@ (set-logic SLIA) (synth-fun f ((firstname String) (lastname String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (firstname lastname " " "." (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (str.substr ntString ntInt ntInt))) (ntInt Int (0 1 2 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (str.indexof ntString ntString ntInt))) (ntBool Bool (true false (str.prefixof ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/name-combine-3_short.sl b/lib/PBE_SLIA_Track/from_2018/name-combine-3_short.sl index d902fd62..402db741 100644 --- a/lib/PBE_SLIA_Track/from_2018/name-combine-3_short.sl +++ b/lib/PBE_SLIA_Track/from_2018/name-combine-3_short.sl @@ -1,7 +1,8 @@ (set-logic SLIA) (synth-fun f ((firstname String) (lastname String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (firstname lastname " " "." (str.++ ntString ntString) (str.replace ntString ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/name-combine-4-long-repeat.sl b/lib/PBE_SLIA_Track/from_2018/name-combine-4-long-repeat.sl index 4642551f..36856bd9 100644 --- a/lib/PBE_SLIA_Track/from_2018/name-combine-4-long-repeat.sl +++ b/lib/PBE_SLIA_Track/from_2018/name-combine-4-long-repeat.sl @@ -1,18 +1,19 @@ (set-logic SLIA) (synth-fun f ((firstname String) (lastname String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (firstname lastname "," " " "." (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (str.substr ntString ntInt ntInt))) (ntInt Int (0 1 2 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (str.indexof ntString ntString ntInt))) (ntBool Bool (true false (str.prefixof ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/name-combine-4-long.sl b/lib/PBE_SLIA_Track/from_2018/name-combine-4-long.sl index 789fea9b..7a5a44f5 100644 --- a/lib/PBE_SLIA_Track/from_2018/name-combine-4-long.sl +++ b/lib/PBE_SLIA_Track/from_2018/name-combine-4-long.sl @@ -1,18 +1,19 @@ (set-logic SLIA) (synth-fun f ((firstname String) (lastname String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (firstname lastname "," " " "." (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (str.substr ntString ntInt ntInt))) (ntInt Int (0 1 2 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (str.indexof ntString ntString ntInt))) (ntBool Bool (true false (str.prefixof ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/name-combine-4.sl b/lib/PBE_SLIA_Track/from_2018/name-combine-4.sl index 2f63326e..3dbf2de5 100644 --- a/lib/PBE_SLIA_Track/from_2018/name-combine-4.sl +++ b/lib/PBE_SLIA_Track/from_2018/name-combine-4.sl @@ -1,18 +1,19 @@ (set-logic SLIA) (synth-fun f ((firstname String) (lastname String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (firstname lastname "," " " "." (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (str.substr ntString ntInt ntInt))) (ntInt Int (0 1 2 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (str.indexof ntString ntString ntInt))) (ntBool Bool (true false (str.prefixof ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/name-combine-4_short.sl b/lib/PBE_SLIA_Track/from_2018/name-combine-4_short.sl index 898bd9eb..4c36e66f 100644 --- a/lib/PBE_SLIA_Track/from_2018/name-combine-4_short.sl +++ b/lib/PBE_SLIA_Track/from_2018/name-combine-4_short.sl @@ -1,7 +1,8 @@ (set-logic SLIA) (synth-fun f ((firstname String) (lastname String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (firstname lastname "," " " "." (str.++ ntString ntString) (str.replace ntString ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/name-combine-long-repeat.sl b/lib/PBE_SLIA_Track/from_2018/name-combine-long-repeat.sl index d0e5a855..950b8ad2 100644 --- a/lib/PBE_SLIA_Track/from_2018/name-combine-long-repeat.sl +++ b/lib/PBE_SLIA_Track/from_2018/name-combine-long-repeat.sl @@ -1,18 +1,19 @@ (set-logic SLIA) (synth-fun f ((firstname String) (lastname String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (firstname lastname " " (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (str.substr ntString ntInt ntInt))) (ntInt Int (0 1 2 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (str.indexof ntString ntString ntInt))) (ntBool Bool (true false (str.prefixof ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/name-combine-long.sl b/lib/PBE_SLIA_Track/from_2018/name-combine-long.sl index c20a758f..59587c27 100644 --- a/lib/PBE_SLIA_Track/from_2018/name-combine-long.sl +++ b/lib/PBE_SLIA_Track/from_2018/name-combine-long.sl @@ -1,18 +1,19 @@ (set-logic SLIA) (synth-fun f ((firstname String) (lastname String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (firstname lastname " " (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (str.substr ntString ntInt ntInt))) (ntInt Int (0 1 2 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (str.indexof ntString ntString ntInt))) (ntBool Bool (true false (str.prefixof ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/name-combine.sl b/lib/PBE_SLIA_Track/from_2018/name-combine.sl index fb01bb43..f89e0072 100644 --- a/lib/PBE_SLIA_Track/from_2018/name-combine.sl +++ b/lib/PBE_SLIA_Track/from_2018/name-combine.sl @@ -1,18 +1,19 @@ (set-logic SLIA) (synth-fun f ((firstname String) (lastname String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (firstname lastname " " (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (str.substr ntString ntInt ntInt))) (ntInt Int (0 1 2 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (str.indexof ntString ntString ntInt))) (ntBool Bool (true false (str.prefixof ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/name-combine_short.sl b/lib/PBE_SLIA_Track/from_2018/name-combine_short.sl index ccf24fe3..6d1a8c7e 100644 --- a/lib/PBE_SLIA_Track/from_2018/name-combine_short.sl +++ b/lib/PBE_SLIA_Track/from_2018/name-combine_short.sl @@ -1,7 +1,8 @@ (set-logic SLIA) (synth-fun f ((firstname String) (lastname String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (firstname lastname " " (str.++ ntString ntString) (str.replace ntString ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/phone-1-long-repeat.sl b/lib/PBE_SLIA_Track/from_2018/phone-1-long-repeat.sl index bd7f3922..54388d69 100644 --- a/lib/PBE_SLIA_Track/from_2018/phone-1-long-repeat.sl +++ b/lib/PBE_SLIA_Track/from_2018/phone-1-long-repeat.sl @@ -1,18 +1,19 @@ (set-logic SLIA) (synth-fun f ((name String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (name " " (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (str.substr ntString ntInt ntInt))) (ntInt Int (0 1 2 3 4 5 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (str.indexof ntString ntString ntInt))) (ntBool Bool (true false (str.prefixof ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/phone-1-long.sl b/lib/PBE_SLIA_Track/from_2018/phone-1-long.sl index d7ecfe2f..124c3809 100644 --- a/lib/PBE_SLIA_Track/from_2018/phone-1-long.sl +++ b/lib/PBE_SLIA_Track/from_2018/phone-1-long.sl @@ -1,18 +1,19 @@ (set-logic SLIA) (synth-fun f ((name String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (name " " (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (str.substr ntString ntInt ntInt))) (ntInt Int (0 1 2 3 4 5 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (str.indexof ntString ntString ntInt))) (ntBool Bool (true false (str.prefixof ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/phone-1.sl b/lib/PBE_SLIA_Track/from_2018/phone-1.sl index 7c26be80..f2ae6407 100644 --- a/lib/PBE_SLIA_Track/from_2018/phone-1.sl +++ b/lib/PBE_SLIA_Track/from_2018/phone-1.sl @@ -1,18 +1,19 @@ (set-logic SLIA) (synth-fun f ((name String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (name " " (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (str.substr ntString ntInt ntInt))) (ntInt Int (0 1 2 3 4 5 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (str.indexof ntString ntString ntInt))) (ntBool Bool (true false (str.prefixof ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/phone-10-long-repeat.sl b/lib/PBE_SLIA_Track/from_2018/phone-10-long-repeat.sl index bf20aae9..da016c8e 100644 --- a/lib/PBE_SLIA_Track/from_2018/phone-10-long-repeat.sl +++ b/lib/PBE_SLIA_Track/from_2018/phone-10-long-repeat.sl @@ -1,18 +1,19 @@ (set-logic SLIA) (synth-fun f ((name String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (name " " "+" "-" "." "(" ")" (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (str.substr ntString ntInt ntInt))) (ntInt Int (0 1 2 3 4 5 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (str.indexof ntString ntString ntInt))) (ntBool Bool (true false (str.prefixof ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/phone-10-long.sl b/lib/PBE_SLIA_Track/from_2018/phone-10-long.sl index 18037ecc..cc4be56e 100644 --- a/lib/PBE_SLIA_Track/from_2018/phone-10-long.sl +++ b/lib/PBE_SLIA_Track/from_2018/phone-10-long.sl @@ -1,18 +1,19 @@ (set-logic SLIA) (synth-fun f ((name String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (name " " "+" "-" "." "(" ")" (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (str.substr ntString ntInt ntInt))) (ntInt Int (0 1 2 3 4 5 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (str.indexof ntString ntString ntInt))) (ntBool Bool (true false (str.prefixof ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/phone-10.sl b/lib/PBE_SLIA_Track/from_2018/phone-10.sl index dda6a0a0..54a10bde 100644 --- a/lib/PBE_SLIA_Track/from_2018/phone-10.sl +++ b/lib/PBE_SLIA_Track/from_2018/phone-10.sl @@ -1,18 +1,19 @@ (set-logic SLIA) (synth-fun f ((name String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (name " " "+" "-" "." "(" ")" (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (str.substr ntString ntInt ntInt))) (ntInt Int (0 1 2 3 4 5 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (str.indexof ntString ntString ntInt))) (ntBool Bool (true false (str.prefixof ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/phone-10_short.sl b/lib/PBE_SLIA_Track/from_2018/phone-10_short.sl index 9cd6471b..85c1e414 100644 --- a/lib/PBE_SLIA_Track/from_2018/phone-10_short.sl +++ b/lib/PBE_SLIA_Track/from_2018/phone-10_short.sl @@ -1,7 +1,8 @@ (set-logic SLIA) (synth-fun f ((name String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (name " " "+" "-" "." "(" ")" (str.++ ntString ntString) (str.replace ntString ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/phone-1_short.sl b/lib/PBE_SLIA_Track/from_2018/phone-1_short.sl index 9a97e921..6639db1c 100644 --- a/lib/PBE_SLIA_Track/from_2018/phone-1_short.sl +++ b/lib/PBE_SLIA_Track/from_2018/phone-1_short.sl @@ -1,7 +1,8 @@ (set-logic SLIA) (synth-fun f ((name String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (name " " (str.++ ntString ntString) (str.replace ntString ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/phone-2-long-repeat.sl b/lib/PBE_SLIA_Track/from_2018/phone-2-long-repeat.sl index 41e7c638..40f51355 100644 --- a/lib/PBE_SLIA_Track/from_2018/phone-2-long-repeat.sl +++ b/lib/PBE_SLIA_Track/from_2018/phone-2-long-repeat.sl @@ -1,18 +1,19 @@ (set-logic SLIA) (synth-fun f ((name String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (name " " (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (str.substr ntString ntInt ntInt))) (ntInt Int (0 1 2 3 4 5 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (str.indexof ntString ntString ntInt))) (ntBool Bool (true false (str.prefixof ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/phone-2-long.sl b/lib/PBE_SLIA_Track/from_2018/phone-2-long.sl index 83c9bb4a..b6ab54ca 100644 --- a/lib/PBE_SLIA_Track/from_2018/phone-2-long.sl +++ b/lib/PBE_SLIA_Track/from_2018/phone-2-long.sl @@ -1,18 +1,19 @@ (set-logic SLIA) (synth-fun f ((name String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (name " " (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (str.substr ntString ntInt ntInt))) (ntInt Int (0 1 2 3 4 5 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (str.indexof ntString ntString ntInt))) (ntBool Bool (true false (str.prefixof ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/phone-2.sl b/lib/PBE_SLIA_Track/from_2018/phone-2.sl index 0d0f2c6d..5ea24946 100644 --- a/lib/PBE_SLIA_Track/from_2018/phone-2.sl +++ b/lib/PBE_SLIA_Track/from_2018/phone-2.sl @@ -1,18 +1,19 @@ (set-logic SLIA) (synth-fun f ((name String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (name " " (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (str.substr ntString ntInt ntInt))) (ntInt Int (0 1 2 3 4 5 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (str.indexof ntString ntString ntInt))) (ntBool Bool (true false (str.prefixof ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/phone-2_short.sl b/lib/PBE_SLIA_Track/from_2018/phone-2_short.sl index b58c2792..9af12d2a 100644 --- a/lib/PBE_SLIA_Track/from_2018/phone-2_short.sl +++ b/lib/PBE_SLIA_Track/from_2018/phone-2_short.sl @@ -1,7 +1,8 @@ (set-logic SLIA) (synth-fun f ((name String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (name " " (str.++ ntString ntString) (str.replace ntString ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/phone-3-long-repeat.sl b/lib/PBE_SLIA_Track/from_2018/phone-3-long-repeat.sl index 1c18a420..56410f65 100644 --- a/lib/PBE_SLIA_Track/from_2018/phone-3-long-repeat.sl +++ b/lib/PBE_SLIA_Track/from_2018/phone-3-long-repeat.sl @@ -1,18 +1,19 @@ (set-logic SLIA) (synth-fun f ((name String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (name " " "(" ")" "-" (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (str.substr ntString ntInt ntInt))) (ntInt Int (0 1 2 3 4 5 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (str.indexof ntString ntString ntInt))) (ntBool Bool (true false (str.prefixof ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/phone-3-long.sl b/lib/PBE_SLIA_Track/from_2018/phone-3-long.sl index 4aa18325..52eb533f 100644 --- a/lib/PBE_SLIA_Track/from_2018/phone-3-long.sl +++ b/lib/PBE_SLIA_Track/from_2018/phone-3-long.sl @@ -1,18 +1,19 @@ (set-logic SLIA) (synth-fun f ((name String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (name " " "(" ")" "-" (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (str.substr ntString ntInt ntInt))) (ntInt Int (0 1 2 3 4 5 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (str.indexof ntString ntString ntInt))) (ntBool Bool (true false (str.prefixof ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/phone-3.sl b/lib/PBE_SLIA_Track/from_2018/phone-3.sl index 6c719ade..b6effe52 100644 --- a/lib/PBE_SLIA_Track/from_2018/phone-3.sl +++ b/lib/PBE_SLIA_Track/from_2018/phone-3.sl @@ -1,18 +1,19 @@ (set-logic SLIA) (synth-fun f ((name String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (name " " "(" ")" "-" (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (str.substr ntString ntInt ntInt))) (ntInt Int (0 1 2 3 4 5 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (str.indexof ntString ntString ntInt))) (ntBool Bool (true false (str.prefixof ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/phone-3_short.sl b/lib/PBE_SLIA_Track/from_2018/phone-3_short.sl index 9b299087..111548b2 100644 --- a/lib/PBE_SLIA_Track/from_2018/phone-3_short.sl +++ b/lib/PBE_SLIA_Track/from_2018/phone-3_short.sl @@ -1,7 +1,8 @@ (set-logic SLIA) (synth-fun f ((name String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (name " " "(" ")" "-" (str.++ ntString ntString) (str.replace ntString ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/phone-4-long-repeat.sl b/lib/PBE_SLIA_Track/from_2018/phone-4-long-repeat.sl index b35df92e..40e02bb9 100644 --- a/lib/PBE_SLIA_Track/from_2018/phone-4-long-repeat.sl +++ b/lib/PBE_SLIA_Track/from_2018/phone-4-long-repeat.sl @@ -1,18 +1,19 @@ (set-logic SLIA) (synth-fun f ((name String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (name " " "(" ")" "-" "." (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (str.substr ntString ntInt ntInt))) (ntInt Int (0 1 2 3 4 5 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (str.indexof ntString ntString ntInt))) (ntBool Bool (true false (str.prefixof ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/phone-4-long.sl b/lib/PBE_SLIA_Track/from_2018/phone-4-long.sl index a314bcfd..eb19d606 100644 --- a/lib/PBE_SLIA_Track/from_2018/phone-4-long.sl +++ b/lib/PBE_SLIA_Track/from_2018/phone-4-long.sl @@ -1,18 +1,19 @@ (set-logic SLIA) (synth-fun f ((name String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (name " " "(" ")" "-" "." (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (str.substr ntString ntInt ntInt))) (ntInt Int (0 1 2 3 4 5 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (str.indexof ntString ntString ntInt))) (ntBool Bool (true false (str.prefixof ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/phone-4.sl b/lib/PBE_SLIA_Track/from_2018/phone-4.sl index 2c1d2a26..7ef49e94 100644 --- a/lib/PBE_SLIA_Track/from_2018/phone-4.sl +++ b/lib/PBE_SLIA_Track/from_2018/phone-4.sl @@ -1,18 +1,19 @@ (set-logic SLIA) (synth-fun f ((name String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (name " " "(" ")" "-" "." (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (str.substr ntString ntInt ntInt))) (ntInt Int (0 1 2 3 4 5 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (str.indexof ntString ntString ntInt))) (ntBool Bool (true false (str.prefixof ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/phone-4_short.sl b/lib/PBE_SLIA_Track/from_2018/phone-4_short.sl index 76b7563d..f3da74a5 100644 --- a/lib/PBE_SLIA_Track/from_2018/phone-4_short.sl +++ b/lib/PBE_SLIA_Track/from_2018/phone-4_short.sl @@ -1,7 +1,8 @@ (set-logic SLIA) (synth-fun f ((name String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (name " " "(" ")" "-" "." (str.++ ntString ntString) (str.replace ntString ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/phone-5-long-repeat.sl b/lib/PBE_SLIA_Track/from_2018/phone-5-long-repeat.sl index 6af13308..b20cbb39 100644 --- a/lib/PBE_SLIA_Track/from_2018/phone-5-long-repeat.sl +++ b/lib/PBE_SLIA_Track/from_2018/phone-5-long-repeat.sl @@ -1,18 +1,19 @@ (set-logic SLIA) (synth-fun f ((name String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (name " " "+" "-" "." (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (str.substr ntString ntInt ntInt))) (ntInt Int (0 1 2 3 4 5 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (str.indexof ntString ntString ntInt))) (ntBool Bool (true false (str.prefixof ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/phone-5-long.sl b/lib/PBE_SLIA_Track/from_2018/phone-5-long.sl index 35e25256..bbae0a46 100644 --- a/lib/PBE_SLIA_Track/from_2018/phone-5-long.sl +++ b/lib/PBE_SLIA_Track/from_2018/phone-5-long.sl @@ -1,18 +1,19 @@ (set-logic SLIA) (synth-fun f ((name String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (name " " "+" "-" "." (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (str.substr ntString ntInt ntInt))) (ntInt Int (0 1 2 3 4 5 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (str.indexof ntString ntString ntInt))) (ntBool Bool (true false (str.prefixof ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/phone-5.sl b/lib/PBE_SLIA_Track/from_2018/phone-5.sl index 165ece7d..f7a25831 100644 --- a/lib/PBE_SLIA_Track/from_2018/phone-5.sl +++ b/lib/PBE_SLIA_Track/from_2018/phone-5.sl @@ -1,18 +1,19 @@ (set-logic SLIA) (synth-fun f ((name String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (name " " "+" "-" "." (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (str.substr ntString ntInt ntInt))) (ntInt Int (0 1 2 3 4 5 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (str.indexof ntString ntString ntInt))) (ntBool Bool (true false (str.prefixof ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/phone-5_short.sl b/lib/PBE_SLIA_Track/from_2018/phone-5_short.sl index 6a45e11e..d6dea381 100644 --- a/lib/PBE_SLIA_Track/from_2018/phone-5_short.sl +++ b/lib/PBE_SLIA_Track/from_2018/phone-5_short.sl @@ -1,7 +1,8 @@ (set-logic SLIA) (synth-fun f ((name String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (name " " "+" "-" "." (str.++ ntString ntString) (str.replace ntString ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/phone-6-long-repeat.sl b/lib/PBE_SLIA_Track/from_2018/phone-6-long-repeat.sl index 03a77f04..75be4030 100644 --- a/lib/PBE_SLIA_Track/from_2018/phone-6-long-repeat.sl +++ b/lib/PBE_SLIA_Track/from_2018/phone-6-long-repeat.sl @@ -1,18 +1,19 @@ (set-logic SLIA) (synth-fun f ((name String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (name " " "+" "-" "." (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (str.substr ntString ntInt ntInt))) (ntInt Int (0 1 2 3 4 5 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (str.indexof ntString ntString ntInt))) (ntBool Bool (true false (str.prefixof ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/phone-6-long.sl b/lib/PBE_SLIA_Track/from_2018/phone-6-long.sl index dd11092c..fdf94d52 100644 --- a/lib/PBE_SLIA_Track/from_2018/phone-6-long.sl +++ b/lib/PBE_SLIA_Track/from_2018/phone-6-long.sl @@ -1,18 +1,19 @@ (set-logic SLIA) (synth-fun f ((name String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (name " " "+" "-" "." (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (str.substr ntString ntInt ntInt))) (ntInt Int (0 1 2 3 4 5 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (str.indexof ntString ntString ntInt))) (ntBool Bool (true false (str.prefixof ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/phone-6.sl b/lib/PBE_SLIA_Track/from_2018/phone-6.sl index abf58bb4..e8876a98 100644 --- a/lib/PBE_SLIA_Track/from_2018/phone-6.sl +++ b/lib/PBE_SLIA_Track/from_2018/phone-6.sl @@ -1,18 +1,19 @@ (set-logic SLIA) (synth-fun f ((name String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (name " " "+" "-" "." (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (str.substr ntString ntInt ntInt))) (ntInt Int (0 1 2 3 4 5 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (str.indexof ntString ntString ntInt))) (ntBool Bool (true false (str.prefixof ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/phone-6_short.sl b/lib/PBE_SLIA_Track/from_2018/phone-6_short.sl index bebbf42b..c29aafcf 100644 --- a/lib/PBE_SLIA_Track/from_2018/phone-6_short.sl +++ b/lib/PBE_SLIA_Track/from_2018/phone-6_short.sl @@ -1,7 +1,8 @@ (set-logic SLIA) (synth-fun f ((name String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (name " " "+" "-" "." (str.++ ntString ntString) (str.replace ntString ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/phone-7-long-repeat.sl b/lib/PBE_SLIA_Track/from_2018/phone-7-long-repeat.sl index aa4bdc1a..4c02606d 100644 --- a/lib/PBE_SLIA_Track/from_2018/phone-7-long-repeat.sl +++ b/lib/PBE_SLIA_Track/from_2018/phone-7-long-repeat.sl @@ -1,18 +1,19 @@ (set-logic SLIA) (synth-fun f ((name String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (name " " "+" "-" "." (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (str.substr ntString ntInt ntInt))) (ntInt Int (0 1 2 3 4 5 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (str.indexof ntString ntString ntInt))) (ntBool Bool (true false (str.prefixof ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/phone-7-long.sl b/lib/PBE_SLIA_Track/from_2018/phone-7-long.sl index 21ddaac6..74117168 100644 --- a/lib/PBE_SLIA_Track/from_2018/phone-7-long.sl +++ b/lib/PBE_SLIA_Track/from_2018/phone-7-long.sl @@ -1,18 +1,19 @@ (set-logic SLIA) (synth-fun f ((name String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (name " " "+" "-" "." (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (str.substr ntString ntInt ntInt))) (ntInt Int (0 1 2 3 4 5 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (str.indexof ntString ntString ntInt))) (ntBool Bool (true false (str.prefixof ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/phone-7.sl b/lib/PBE_SLIA_Track/from_2018/phone-7.sl index f655f618..e49ad89e 100644 --- a/lib/PBE_SLIA_Track/from_2018/phone-7.sl +++ b/lib/PBE_SLIA_Track/from_2018/phone-7.sl @@ -1,18 +1,19 @@ (set-logic SLIA) (synth-fun f ((name String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (name " " "+" "-" "." (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (str.substr ntString ntInt ntInt))) (ntInt Int (0 1 2 3 4 5 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (str.indexof ntString ntString ntInt))) (ntBool Bool (true false (str.prefixof ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/phone-7_short.sl b/lib/PBE_SLIA_Track/from_2018/phone-7_short.sl index 1dc851b3..f3825735 100644 --- a/lib/PBE_SLIA_Track/from_2018/phone-7_short.sl +++ b/lib/PBE_SLIA_Track/from_2018/phone-7_short.sl @@ -1,7 +1,8 @@ (set-logic SLIA) (synth-fun f ((name String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (name " " "+" "-" "." (str.++ ntString ntString) (str.replace ntString ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/phone-8-long-repeat.sl b/lib/PBE_SLIA_Track/from_2018/phone-8-long-repeat.sl index 2b898e5b..0a1380c2 100644 --- a/lib/PBE_SLIA_Track/from_2018/phone-8-long-repeat.sl +++ b/lib/PBE_SLIA_Track/from_2018/phone-8-long-repeat.sl @@ -1,18 +1,19 @@ (set-logic SLIA) (synth-fun f ((name String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (name " " "+" "-" "." (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (str.substr ntString ntInt ntInt))) (ntInt Int (0 1 2 3 4 5 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (str.indexof ntString ntString ntInt))) (ntBool Bool (true false (str.prefixof ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/phone-8-long.sl b/lib/PBE_SLIA_Track/from_2018/phone-8-long.sl index e91a79de..b8681e9c 100644 --- a/lib/PBE_SLIA_Track/from_2018/phone-8-long.sl +++ b/lib/PBE_SLIA_Track/from_2018/phone-8-long.sl @@ -1,18 +1,19 @@ (set-logic SLIA) (synth-fun f ((name String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (name " " "+" "-" "." (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (str.substr ntString ntInt ntInt))) (ntInt Int (0 1 2 3 4 5 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (str.indexof ntString ntString ntInt))) (ntBool Bool (true false (str.prefixof ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/phone-8.sl b/lib/PBE_SLIA_Track/from_2018/phone-8.sl index 2a399ae8..8e64b79d 100644 --- a/lib/PBE_SLIA_Track/from_2018/phone-8.sl +++ b/lib/PBE_SLIA_Track/from_2018/phone-8.sl @@ -1,18 +1,19 @@ (set-logic SLIA) (synth-fun f ((name String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (name " " "+" "-" "." (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (str.substr ntString ntInt ntInt))) (ntInt Int (0 1 2 3 4 5 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (str.indexof ntString ntString ntInt))) (ntBool Bool (true false (str.prefixof ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/phone-8_short.sl b/lib/PBE_SLIA_Track/from_2018/phone-8_short.sl index 38ec2358..03168e41 100644 --- a/lib/PBE_SLIA_Track/from_2018/phone-8_short.sl +++ b/lib/PBE_SLIA_Track/from_2018/phone-8_short.sl @@ -1,7 +1,8 @@ (set-logic SLIA) (synth-fun f ((name String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (name " " "+" "-" "." (str.++ ntString ntString) (str.replace ntString ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/phone-9-long-repeat.sl b/lib/PBE_SLIA_Track/from_2018/phone-9-long-repeat.sl index 099e7116..806d33aa 100644 --- a/lib/PBE_SLIA_Track/from_2018/phone-9-long-repeat.sl +++ b/lib/PBE_SLIA_Track/from_2018/phone-9-long-repeat.sl @@ -1,18 +1,19 @@ (set-logic SLIA) (synth-fun f ((name String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (name " " "+" "-" "." (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (str.substr ntString ntInt ntInt))) (ntInt Int (0 1 2 3 4 5 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (str.indexof ntString ntString ntInt))) (ntBool Bool (true false (str.prefixof ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/phone-9-long.sl b/lib/PBE_SLIA_Track/from_2018/phone-9-long.sl index 766e875f..a37644f8 100644 --- a/lib/PBE_SLIA_Track/from_2018/phone-9-long.sl +++ b/lib/PBE_SLIA_Track/from_2018/phone-9-long.sl @@ -1,18 +1,19 @@ (set-logic SLIA) (synth-fun f ((name String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (name " " "+" "-" "." (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (str.substr ntString ntInt ntInt))) (ntInt Int (0 1 2 3 4 5 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (str.indexof ntString ntString ntInt))) (ntBool Bool (true false (str.prefixof ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/phone-9.sl b/lib/PBE_SLIA_Track/from_2018/phone-9.sl index 8ce1d13f..2b5ed9fc 100644 --- a/lib/PBE_SLIA_Track/from_2018/phone-9.sl +++ b/lib/PBE_SLIA_Track/from_2018/phone-9.sl @@ -1,18 +1,19 @@ (set-logic SLIA) (synth-fun f ((name String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (name " " "+" "-" "." (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (str.substr ntString ntInt ntInt))) (ntInt Int (0 1 2 3 4 5 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (str.indexof ntString ntString ntInt))) (ntBool Bool (true false (str.prefixof ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/phone-9_short.sl b/lib/PBE_SLIA_Track/from_2018/phone-9_short.sl index 23b008d5..98d73f89 100644 --- a/lib/PBE_SLIA_Track/from_2018/phone-9_short.sl +++ b/lib/PBE_SLIA_Track/from_2018/phone-9_short.sl @@ -1,7 +1,8 @@ (set-logic SLIA) (synth-fun f ((name String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (name " " "+" "-" "." (str.++ ntString ntString) (str.replace ntString ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/phone-long-repeat.sl b/lib/PBE_SLIA_Track/from_2018/phone-long-repeat.sl index 2bcba48e..25c006ac 100644 --- a/lib/PBE_SLIA_Track/from_2018/phone-long-repeat.sl +++ b/lib/PBE_SLIA_Track/from_2018/phone-long-repeat.sl @@ -1,18 +1,19 @@ (set-logic SLIA) (synth-fun f ((name String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (name " " (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (str.substr ntString ntInt ntInt))) (ntInt Int (0 1 2 3 4 5 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (str.indexof ntString ntString ntInt))) (ntBool Bool (true false (str.prefixof ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/phone-long.sl b/lib/PBE_SLIA_Track/from_2018/phone-long.sl index 5d4d19c1..1529ee89 100644 --- a/lib/PBE_SLIA_Track/from_2018/phone-long.sl +++ b/lib/PBE_SLIA_Track/from_2018/phone-long.sl @@ -1,18 +1,19 @@ (set-logic SLIA) (synth-fun f ((name String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (name " " (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (str.substr ntString ntInt ntInt))) (ntInt Int (0 1 2 3 4 5 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (str.indexof ntString ntString ntInt))) (ntBool Bool (true false (str.prefixof ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/phone.sl b/lib/PBE_SLIA_Track/from_2018/phone.sl index 2e757c9d..039f5614 100644 --- a/lib/PBE_SLIA_Track/from_2018/phone.sl +++ b/lib/PBE_SLIA_Track/from_2018/phone.sl @@ -1,18 +1,19 @@ (set-logic SLIA) (synth-fun f ((name String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (name " " (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (str.substr ntString ntInt ntInt))) (ntInt Int (0 1 2 3 4 5 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (str.indexof ntString ntString ntInt))) (ntBool Bool (true false (str.prefixof ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/phone_short.sl b/lib/PBE_SLIA_Track/from_2018/phone_short.sl index 28202756..c6f91efc 100644 --- a/lib/PBE_SLIA_Track/from_2018/phone_short.sl +++ b/lib/PBE_SLIA_Track/from_2018/phone_short.sl @@ -1,7 +1,8 @@ (set-logic SLIA) (synth-fun f ((name String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (name " " (str.++ ntString ntString) (str.replace ntString ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/reverse-name-long-repeat.sl b/lib/PBE_SLIA_Track/from_2018/reverse-name-long-repeat.sl index 0fb21fad..ed743c5a 100644 --- a/lib/PBE_SLIA_Track/from_2018/reverse-name-long-repeat.sl +++ b/lib/PBE_SLIA_Track/from_2018/reverse-name-long-repeat.sl @@ -1,18 +1,19 @@ (set-logic SLIA) (synth-fun f ((firstname String) (lastname String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (firstname lastname " " (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (str.substr ntString ntInt ntInt))) (ntInt Int (0 1 2 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (str.indexof ntString ntString ntInt))) (ntBool Bool (true false (str.prefixof ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/reverse-name-long.sl b/lib/PBE_SLIA_Track/from_2018/reverse-name-long.sl index 6c9885b0..4e2e3b66 100644 --- a/lib/PBE_SLIA_Track/from_2018/reverse-name-long.sl +++ b/lib/PBE_SLIA_Track/from_2018/reverse-name-long.sl @@ -1,18 +1,19 @@ (set-logic SLIA) (synth-fun f ((firstname String) (lastname String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (firstname lastname " " (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (str.substr ntString ntInt ntInt))) (ntInt Int (0 1 2 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (str.indexof ntString ntString ntInt))) (ntBool Bool (true false (str.prefixof ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/reverse-name.sl b/lib/PBE_SLIA_Track/from_2018/reverse-name.sl index 015131e0..88db7899 100644 --- a/lib/PBE_SLIA_Track/from_2018/reverse-name.sl +++ b/lib/PBE_SLIA_Track/from_2018/reverse-name.sl @@ -1,18 +1,19 @@ (set-logic SLIA) (synth-fun f ((firstname String) (lastname String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (firstname lastname " " (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (str.substr ntString ntInt ntInt))) (ntInt Int (0 1 2 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (str.indexof ntString ntString ntInt))) (ntBool Bool (true false (str.prefixof ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/reverse-name_short.sl b/lib/PBE_SLIA_Track/from_2018/reverse-name_short.sl index 1a6f1578..d714ff9c 100644 --- a/lib/PBE_SLIA_Track/from_2018/reverse-name_short.sl +++ b/lib/PBE_SLIA_Track/from_2018/reverse-name_short.sl @@ -1,7 +1,8 @@ (set-logic SLIA) (synth-fun f ((firstname String) (lastname String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (firstname lastname " " (str.++ ntString ntString) (str.replace ntString ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/univ_1-long-repeat.sl b/lib/PBE_SLIA_Track/from_2018/univ_1-long-repeat.sl index da777a02..9a839656 100644 --- a/lib/PBE_SLIA_Track/from_2018/univ_1-long-repeat.sl +++ b/lib/PBE_SLIA_Track/from_2018/univ_1-long-repeat.sl @@ -1,18 +1,19 @@ (set-logic SLIA) (synth-fun f ((col1 String) (col2 String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (col1 col2 " " "," (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (str.substr ntString ntInt ntInt))) (ntInt Int (0 1 2 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (str.indexof ntString ntString ntInt))) (ntBool Bool (true false (str.prefixof ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/univ_1-long.sl b/lib/PBE_SLIA_Track/from_2018/univ_1-long.sl index 8a08df80..bd5d34fb 100644 --- a/lib/PBE_SLIA_Track/from_2018/univ_1-long.sl +++ b/lib/PBE_SLIA_Track/from_2018/univ_1-long.sl @@ -1,18 +1,19 @@ (set-logic SLIA) (synth-fun f ((col1 String) (col2 String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (col1 col2 " " "," (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (str.substr ntString ntInt ntInt))) (ntInt Int (0 1 2 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (str.indexof ntString ntString ntInt))) (ntBool Bool (true false (str.prefixof ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/univ_1.sl b/lib/PBE_SLIA_Track/from_2018/univ_1.sl index 07c3e5ab..7fcfc282 100644 --- a/lib/PBE_SLIA_Track/from_2018/univ_1.sl +++ b/lib/PBE_SLIA_Track/from_2018/univ_1.sl @@ -1,18 +1,19 @@ (set-logic SLIA) (synth-fun f ((col1 String) (col2 String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (col1 col2 " " "," (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (str.substr ntString ntInt ntInt))) (ntInt Int (0 1 2 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (str.indexof ntString ntString ntInt))) (ntBool Bool (true false (str.prefixof ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/univ_1_short.sl b/lib/PBE_SLIA_Track/from_2018/univ_1_short.sl index 87e2a30f..2afa6b42 100644 --- a/lib/PBE_SLIA_Track/from_2018/univ_1_short.sl +++ b/lib/PBE_SLIA_Track/from_2018/univ_1_short.sl @@ -1,7 +1,8 @@ (set-logic SLIA) (synth-fun f ((col1 String) (col2 String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (col1 col2 " " "," (str.++ ntString ntString) (str.replace ntString ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/univ_2-long-repeat.sl b/lib/PBE_SLIA_Track/from_2018/univ_2-long-repeat.sl index 4bec54aa..465ebb85 100644 --- a/lib/PBE_SLIA_Track/from_2018/univ_2-long-repeat.sl +++ b/lib/PBE_SLIA_Track/from_2018/univ_2-long-repeat.sl @@ -1,19 +1,20 @@ (set-logic SLIA) (synth-fun f ((col1 String) (col2 String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (col1 col2 " " "," "USA" "PA" "CT" "CA" "MD" "NY" (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt))) (ntInt Int (0 1 2 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (str.indexof ntString ntString ntInt))) (ntBool Bool (true false (str.prefixof ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/univ_2-long.sl b/lib/PBE_SLIA_Track/from_2018/univ_2-long.sl index f024322f..cfb8bb5c 100644 --- a/lib/PBE_SLIA_Track/from_2018/univ_2-long.sl +++ b/lib/PBE_SLIA_Track/from_2018/univ_2-long.sl @@ -1,19 +1,20 @@ (set-logic SLIA) (synth-fun f ((col1 String) (col2 String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (col1 col2 " " "," "USA" "PA" "CT" "CA" "MD" "NY" (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt))) (ntInt Int (0 1 2 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (str.indexof ntString ntString ntInt))) (ntBool Bool (true false (str.prefixof ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/univ_2.sl b/lib/PBE_SLIA_Track/from_2018/univ_2.sl index ef38a68e..c4c0e171 100644 --- a/lib/PBE_SLIA_Track/from_2018/univ_2.sl +++ b/lib/PBE_SLIA_Track/from_2018/univ_2.sl @@ -1,19 +1,20 @@ (set-logic SLIA) (synth-fun f ((col1 String) (col2 String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (col1 col2 " " "," "USA" "PA" "CT" "CA" "MD" "NY" (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt))) (ntInt Int (0 1 2 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (str.indexof ntString ntString ntInt))) (ntBool Bool (true false (str.prefixof ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/univ_2_short.sl b/lib/PBE_SLIA_Track/from_2018/univ_2_short.sl index 4ed2268d..20a45d4f 100644 --- a/lib/PBE_SLIA_Track/from_2018/univ_2_short.sl +++ b/lib/PBE_SLIA_Track/from_2018/univ_2_short.sl @@ -1,7 +1,8 @@ (set-logic SLIA) (synth-fun f ((col1 String) (col2 String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (col1 col2 " " "," "USA" "PA" "CT" "CA" "MD" "NY" (str.++ ntString ntString) (str.replace ntString ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/univ_3-long-repeat.sl b/lib/PBE_SLIA_Track/from_2018/univ_3-long-repeat.sl index 128b0007..bc43257c 100644 --- a/lib/PBE_SLIA_Track/from_2018/univ_3-long-repeat.sl +++ b/lib/PBE_SLIA_Track/from_2018/univ_3-long-repeat.sl @@ -1,19 +1,20 @@ (set-logic SLIA) (synth-fun f ((col1 String) (col2 String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (col1 col2 " " "," "USA" "PA" "CT" "CA" "MD" "NY" (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt))) (ntInt Int (0 1 2 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (str.indexof ntString ntString ntInt))) (ntBool Bool (true false (str.prefixof ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/univ_3-long.sl b/lib/PBE_SLIA_Track/from_2018/univ_3-long.sl index 30539d5e..cef33746 100644 --- a/lib/PBE_SLIA_Track/from_2018/univ_3-long.sl +++ b/lib/PBE_SLIA_Track/from_2018/univ_3-long.sl @@ -1,19 +1,20 @@ (set-logic SLIA) (synth-fun f ((col1 String) (col2 String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (col1 col2 " " "," "USA" "PA" "CT" "CA" "MD" "NY" (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt))) (ntInt Int (0 1 2 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (str.indexof ntString ntString ntInt))) (ntBool Bool (true false (str.prefixof ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/univ_3.sl b/lib/PBE_SLIA_Track/from_2018/univ_3.sl index e406e6d1..aec971ec 100644 --- a/lib/PBE_SLIA_Track/from_2018/univ_3.sl +++ b/lib/PBE_SLIA_Track/from_2018/univ_3.sl @@ -1,19 +1,20 @@ (set-logic SLIA) (synth-fun f ((col1 String) (col2 String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (col1 col2 " " "," "USA" "PA" "CT" "CA" "MD" "NY" (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt))) (ntInt Int (0 1 2 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (str.indexof ntString ntString ntInt))) (ntBool Bool (true false (str.prefixof ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/univ_3_short.sl b/lib/PBE_SLIA_Track/from_2018/univ_3_short.sl index cc1795cf..a0dacc35 100644 --- a/lib/PBE_SLIA_Track/from_2018/univ_3_short.sl +++ b/lib/PBE_SLIA_Track/from_2018/univ_3_short.sl @@ -1,7 +1,8 @@ (set-logic SLIA) (synth-fun f ((col1 String) (col2 String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (col1 col2 " " "," "USA" "PA" "CT" "CA" "MD" "NY" (str.++ ntString ntString) (str.replace ntString ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/univ_4-long-repeat.sl b/lib/PBE_SLIA_Track/from_2018/univ_4-long-repeat.sl index 31e45ccf..720ec9ba 100644 --- a/lib/PBE_SLIA_Track/from_2018/univ_4-long-repeat.sl +++ b/lib/PBE_SLIA_Track/from_2018/univ_4-long-repeat.sl @@ -1,19 +1,20 @@ (set-logic SLIA) (synth-fun f ((col1 String) (col2 String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (col1 col2 " " "," "New York" "USA" "PA" "CT" "CA" "MD" "NY" (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt))) (ntInt Int (0 1 2 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (str.indexof ntString ntString ntInt))) (ntBool Bool (true false (str.prefixof ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/univ_4-long.sl b/lib/PBE_SLIA_Track/from_2018/univ_4-long.sl index 1e1928e4..bc55216b 100644 --- a/lib/PBE_SLIA_Track/from_2018/univ_4-long.sl +++ b/lib/PBE_SLIA_Track/from_2018/univ_4-long.sl @@ -1,19 +1,20 @@ (set-logic SLIA) (synth-fun f ((col1 String) (col2 String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (col1 col2 " " "," "New York" "USA" "PA" "CT" "CA" "MD" "NY" (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt))) (ntInt Int (0 1 2 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (str.indexof ntString ntString ntInt))) (ntBool Bool (true false (str.prefixof ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/univ_4.sl b/lib/PBE_SLIA_Track/from_2018/univ_4.sl index 2cf08e89..018fa9ed 100644 --- a/lib/PBE_SLIA_Track/from_2018/univ_4.sl +++ b/lib/PBE_SLIA_Track/from_2018/univ_4.sl @@ -1,19 +1,20 @@ (set-logic SLIA) (synth-fun f ((col1 String) (col2 String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (col1 col2 " " "," "New York" "USA" "PA" "CT" "CA" "MD" "NY" (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt))) (ntInt Int (0 1 2 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (str.indexof ntString ntString ntInt))) (ntBool Bool (true false (str.prefixof ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/univ_4_short.sl b/lib/PBE_SLIA_Track/from_2018/univ_4_short.sl index f50b0192..5c662ef9 100644 --- a/lib/PBE_SLIA_Track/from_2018/univ_4_short.sl +++ b/lib/PBE_SLIA_Track/from_2018/univ_4_short.sl @@ -1,7 +1,8 @@ (set-logic SLIA) (synth-fun f ((col1 String) (col2 String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (col1 col2 " " "," "New York" "USA" "PA" "CT" "CA" "MD" "NY" (str.++ ntString ntString) (str.replace ntString ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/univ_5-long-repeat.sl b/lib/PBE_SLIA_Track/from_2018/univ_5-long-repeat.sl index 6cce485b..1787f50e 100644 --- a/lib/PBE_SLIA_Track/from_2018/univ_5-long-repeat.sl +++ b/lib/PBE_SLIA_Track/from_2018/univ_5-long-repeat.sl @@ -1,7 +1,8 @@ (set-logic SLIA) (synth-fun f ((col1 String) (col2 String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (col1 col2 "New York" " " "," "A" "B" "C" "D" "E" "F" "G" "H" "I" "J" "K" "L" "M" "N" "O" "P" "Q" "R" "S" "T" "U" "V" "W" "X" "Y" "Z" (str.++ ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/univ_5-long.sl b/lib/PBE_SLIA_Track/from_2018/univ_5-long.sl index b61aa734..e7add36a 100644 --- a/lib/PBE_SLIA_Track/from_2018/univ_5-long.sl +++ b/lib/PBE_SLIA_Track/from_2018/univ_5-long.sl @@ -1,20 +1,21 @@ (set-logic SLIA) (synth-fun f ((col1 String) (col2 String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (col1 col2 "New York" " " "," "A" "B" "C" "D" "E" "F" "G" "H" "I" "J" "K" "L" "M" "N" "O" "P" "Q" "R" "S" "T" "U" "V" "W" "X" "Y" "Z" (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt))) (ntInt Int (0 1 2 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (str.indexof ntString ntString ntInt))) (ntBool Bool (true false (str.prefixof ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/univ_5.sl b/lib/PBE_SLIA_Track/from_2018/univ_5.sl index e211c151..e828270b 100644 --- a/lib/PBE_SLIA_Track/from_2018/univ_5.sl +++ b/lib/PBE_SLIA_Track/from_2018/univ_5.sl @@ -1,20 +1,21 @@ (set-logic SLIA) (synth-fun f ((col1 String) (col2 String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (col1 col2 "New York" " " "," "A" "B" "C" "D" "E" "F" "G" "H" "I" "J" "K" "L" "M" "N" "O" "P" "Q" "R" "S" "T" "U" "V" "W" "X" "Y" "Z" (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt))) (ntInt Int (0 1 2 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (str.indexof ntString ntString ntInt))) (ntBool Bool (true false (str.prefixof ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/univ_5_short.sl b/lib/PBE_SLIA_Track/from_2018/univ_5_short.sl index 05083daa..d6dcfc2f 100644 --- a/lib/PBE_SLIA_Track/from_2018/univ_5_short.sl +++ b/lib/PBE_SLIA_Track/from_2018/univ_5_short.sl @@ -1,7 +1,8 @@ (set-logic SLIA) (synth-fun f ((col1 String) (col2 String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (col1 col2 "New York" " " "," "A" "B" "C" "D" "E" "F" "G" "H" "I" "J" "K" "L" "M" "N" "O" "P" "Q" "R" "S" "T" "U" "V" "W" "X" "Y" "Z" (str.++ ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/univ_6-long-repeat.sl b/lib/PBE_SLIA_Track/from_2018/univ_6-long-repeat.sl index 238b6802..21cfda90 100644 --- a/lib/PBE_SLIA_Track/from_2018/univ_6-long-repeat.sl +++ b/lib/PBE_SLIA_Track/from_2018/univ_6-long-repeat.sl @@ -1,7 +1,8 @@ (set-logic SLIA) (synth-fun f ((col1 String) (col2 String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (col1 col2 "New York" " " "," "AK" "AZ" "AR" "CA" "CO" "CT" "DE" "FL" "GA" "HI" "ID" "IL" "IN" "IA" "KS" "KY" "LA" "ME" "MD" "MA" "MI" "MN" "MS" "MO" "MT" "NE" "NV" "NH" "NJ" "NM" "NY" "NC" "ND" "OH" "OK" "OR" "PA" "RI" "SC" "SD" "TN" "TX" "UT" "VT" "VA" "WA" "WV" "WI" "USA" (str.++ ntString ntString) (str.replace ntString ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/univ_6-long.sl b/lib/PBE_SLIA_Track/from_2018/univ_6-long.sl index 10d2ddde..95f51b43 100644 --- a/lib/PBE_SLIA_Track/from_2018/univ_6-long.sl +++ b/lib/PBE_SLIA_Track/from_2018/univ_6-long.sl @@ -1,19 +1,20 @@ (set-logic SLIA) (synth-fun f ((col1 String) (col2 String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (col1 col2 "New York" " " "," "AK" "AZ" "AR" "CA" "CO" "CT" "DE" "FL" "GA" "HI" "ID" "IL" "IN" "IA" "KS" "KY" "LA" "ME" "MD" "MA" "MI" "MN" "MS" "MO" "MT" "NE" "NV" "NH" "NJ" "NM" "NY" "NC" "ND" "OH" "OK" "OR" "PA" "RI" "SC" "SD" "TN" "TX" "UT" "VT" "VA" "WA" "WV" "WI" "USA" (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt))) (ntInt Int (0 1 2 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (str.indexof ntString ntString ntInt))) (ntBool Bool (true false (str.prefixof ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/univ_6.sl b/lib/PBE_SLIA_Track/from_2018/univ_6.sl index b3ba2730..ef7f7c88 100644 --- a/lib/PBE_SLIA_Track/from_2018/univ_6.sl +++ b/lib/PBE_SLIA_Track/from_2018/univ_6.sl @@ -1,19 +1,20 @@ (set-logic SLIA) (synth-fun f ((col1 String) (col2 String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (col1 col2 "New York" " " "," "USA" "AK" "AZ" "AR" "CA" "CO" "CT" "DE" "FL" "GA" "HI" "ID" "IL" "IN" "IA" "KS" "KY" "LA" "ME" "MD" "MA" "MI" "MN" "MS" "MO" "MT" "NE" "NV" "NH" "NJ" "NM" "NY" "NC" "ND" "OH" "OK" "OR" "PA" "RI" "SC" "SD" "TN" "TX" "UT" "VT" "VA" "WA" "WV" "WI" (str.++ ntString ntString) (str.replace ntString ntString ntString) (str.at ntString ntInt) - (int.to.str ntInt) + (str.from_int ntInt) (ite ntBool ntString ntString) (str.substr ntString ntInt ntInt))) (ntInt Int (0 1 2 (+ ntInt ntInt) (- ntInt ntInt) (str.len ntString) - (str.to.int ntString) + (str.to_int ntString) (str.indexof ntString ntString ntInt))) (ntBool Bool (true false (str.prefixof ntString ntString) diff --git a/lib/PBE_SLIA_Track/from_2018/univ_6_short.sl b/lib/PBE_SLIA_Track/from_2018/univ_6_short.sl index b7769a26..90479fa3 100644 --- a/lib/PBE_SLIA_Track/from_2018/univ_6_short.sl +++ b/lib/PBE_SLIA_Track/from_2018/univ_6_short.sl @@ -1,7 +1,8 @@ (set-logic SLIA) (synth-fun f ((col1 String) (col2 String)) String - ((Start String (ntString)) + ((Start String) (ntString String) (ntInt Int) (ntBool Bool)) + ((Start String (ntString)) (ntString String (col1 col2 "New York" " " "," "USA" "PA" "CT" "CA" "MD" "NY" (str.++ ntString ntString) (str.replace ntString ntString ntString) diff --git a/lib-nonconforming/agent_problems/cliff_walking.sy b/lib/agent_problems/cliff_walking.sy similarity index 100% rename from lib-nonconforming/agent_problems/cliff_walking.sy rename to lib/agent_problems/cliff_walking.sy diff --git a/lib-nonconforming/agent_problems/frozen_lake/frozen_lake_size4_1.sy b/lib/agent_problems/frozen_lake/frozen_lake_size4_1.sy similarity index 100% rename from lib-nonconforming/agent_problems/frozen_lake/frozen_lake_size4_1.sy rename to lib/agent_problems/frozen_lake/frozen_lake_size4_1.sy diff --git a/lib-nonconforming/agent_problems/frozen_lake/frozen_lake_size4_2.sy b/lib/agent_problems/frozen_lake/frozen_lake_size4_2.sy similarity index 100% rename from lib-nonconforming/agent_problems/frozen_lake/frozen_lake_size4_2.sy rename to lib/agent_problems/frozen_lake/frozen_lake_size4_2.sy diff --git a/lib-nonconforming/agent_problems/frozen_lake/frozen_lake_size4_3.sy b/lib/agent_problems/frozen_lake/frozen_lake_size4_3.sy similarity index 100% rename from lib-nonconforming/agent_problems/frozen_lake/frozen_lake_size4_3.sy rename to lib/agent_problems/frozen_lake/frozen_lake_size4_3.sy diff --git a/lib-nonconforming/agent_problems/frozen_lake/frozen_lake_size4_4.sy b/lib/agent_problems/frozen_lake/frozen_lake_size4_4.sy similarity index 100% rename from lib-nonconforming/agent_problems/frozen_lake/frozen_lake_size4_4.sy rename to lib/agent_problems/frozen_lake/frozen_lake_size4_4.sy diff --git a/lib-nonconforming/agent_problems/frozen_lake/frozen_lake_size5_1.sy b/lib/agent_problems/frozen_lake/frozen_lake_size5_1.sy similarity index 100% rename from lib-nonconforming/agent_problems/frozen_lake/frozen_lake_size5_1.sy rename to lib/agent_problems/frozen_lake/frozen_lake_size5_1.sy diff --git a/lib-nonconforming/agent_problems/frozen_lake/frozen_lake_size5_2.sy b/lib/agent_problems/frozen_lake/frozen_lake_size5_2.sy similarity index 100% rename from lib-nonconforming/agent_problems/frozen_lake/frozen_lake_size5_2.sy rename to lib/agent_problems/frozen_lake/frozen_lake_size5_2.sy diff --git a/lib-nonconforming/agent_problems/frozen_lake/frozen_lake_size5_3.sy b/lib/agent_problems/frozen_lake/frozen_lake_size5_3.sy similarity index 100% rename from lib-nonconforming/agent_problems/frozen_lake/frozen_lake_size5_3.sy rename to lib/agent_problems/frozen_lake/frozen_lake_size5_3.sy diff --git a/lib-nonconforming/agent_problems/frozen_lake/frozen_lake_size5_4.sy b/lib/agent_problems/frozen_lake/frozen_lake_size5_4.sy similarity index 100% rename from lib-nonconforming/agent_problems/frozen_lake/frozen_lake_size5_4.sy rename to lib/agent_problems/frozen_lake/frozen_lake_size5_4.sy diff --git a/lib-nonconforming/agent_problems/frozen_lake/frozen_lake_size6_1.sy b/lib/agent_problems/frozen_lake/frozen_lake_size6_1.sy similarity index 100% rename from lib-nonconforming/agent_problems/frozen_lake/frozen_lake_size6_1.sy rename to lib/agent_problems/frozen_lake/frozen_lake_size6_1.sy diff --git a/lib-nonconforming/agent_problems/frozen_lake/frozen_lake_size6_2.sy b/lib/agent_problems/frozen_lake/frozen_lake_size6_2.sy similarity index 100% rename from lib-nonconforming/agent_problems/frozen_lake/frozen_lake_size6_2.sy rename to lib/agent_problems/frozen_lake/frozen_lake_size6_2.sy diff --git a/lib-nonconforming/agent_problems/frozen_lake/frozen_lake_size6_3.sy b/lib/agent_problems/frozen_lake/frozen_lake_size6_3.sy similarity index 100% rename from lib-nonconforming/agent_problems/frozen_lake/frozen_lake_size6_3.sy rename to lib/agent_problems/frozen_lake/frozen_lake_size6_3.sy diff --git a/lib-nonconforming/agent_problems/frozen_lake/frozen_lake_size7_1.sy b/lib/agent_problems/frozen_lake/frozen_lake_size7_1.sy similarity index 100% rename from lib-nonconforming/agent_problems/frozen_lake/frozen_lake_size7_1.sy rename to lib/agent_problems/frozen_lake/frozen_lake_size7_1.sy diff --git a/lib-nonconforming/agent_problems/frozen_lake/frozen_lake_size7_2.sy b/lib/agent_problems/frozen_lake/frozen_lake_size7_2.sy similarity index 100% rename from lib-nonconforming/agent_problems/frozen_lake/frozen_lake_size7_2.sy rename to lib/agent_problems/frozen_lake/frozen_lake_size7_2.sy diff --git a/lib-nonconforming/agent_problems/pitfall/pitfall_box0.sy b/lib/agent_problems/pitfall/pitfall_box0.sy similarity index 100% rename from lib-nonconforming/agent_problems/pitfall/pitfall_box0.sy rename to lib/agent_problems/pitfall/pitfall_box0.sy diff --git a/lib-nonconforming/agent_problems/pitfall/pitfall_box1.sy b/lib/agent_problems/pitfall/pitfall_box1.sy similarity index 100% rename from lib-nonconforming/agent_problems/pitfall/pitfall_box1.sy rename to lib/agent_problems/pitfall/pitfall_box1.sy diff --git a/lib-nonconforming/agent_problems/pitfall/pitfall_box2.sy b/lib/agent_problems/pitfall/pitfall_box2.sy similarity index 100% rename from lib-nonconforming/agent_problems/pitfall/pitfall_box2.sy rename to lib/agent_problems/pitfall/pitfall_box2.sy diff --git a/lib-nonconforming/agent_problems/pitfall/pitfall_box3.sy b/lib/agent_problems/pitfall/pitfall_box3.sy similarity index 100% rename from lib-nonconforming/agent_problems/pitfall/pitfall_box3.sy rename to lib/agent_problems/pitfall/pitfall_box3.sy diff --git a/lib-nonconforming/agent_problems/pitfall/pitfall_box4.sy b/lib/agent_problems/pitfall/pitfall_box4.sy similarity index 100% rename from lib-nonconforming/agent_problems/pitfall/pitfall_box4.sy rename to lib/agent_problems/pitfall/pitfall_box4.sy diff --git a/lib-nonconforming/agent_problems/pitfall/pitfall_box5.sy b/lib/agent_problems/pitfall/pitfall_box5.sy similarity index 100% rename from lib-nonconforming/agent_problems/pitfall/pitfall_box5.sy rename to lib/agent_problems/pitfall/pitfall_box5.sy diff --git a/lib-nonconforming/agent_problems/pitfall/pitfall_box6.sy b/lib/agent_problems/pitfall/pitfall_box6.sy similarity index 100% rename from lib-nonconforming/agent_problems/pitfall/pitfall_box6.sy rename to lib/agent_problems/pitfall/pitfall_box6.sy diff --git a/lib-nonconforming/agent_problems/pitfall/pitfall_map_left.sy b/lib/agent_problems/pitfall/pitfall_map_left.sy similarity index 100% rename from lib-nonconforming/agent_problems/pitfall/pitfall_map_left.sy rename to lib/agent_problems/pitfall/pitfall_map_left.sy diff --git a/lib-nonconforming/agent_problems/pitfall/pitfall_map_right.sy b/lib/agent_problems/pitfall/pitfall_map_right.sy similarity index 100% rename from lib-nonconforming/agent_problems/pitfall/pitfall_map_right.sy rename to lib/agent_problems/pitfall/pitfall_map_right.sy diff --git a/lib-nonconforming/agent_problems/pong_trajectory.sy b/lib/agent_problems/pong_trajectory.sy similarity index 100% rename from lib-nonconforming/agent_problems/pong_trajectory.sy rename to lib/agent_problems/pong_trajectory.sy diff --git a/lib-nonconforming/agent_problems/taxi/taxi_dropoff1.sy b/lib/agent_problems/taxi/taxi_dropoff1.sy similarity index 100% rename from lib-nonconforming/agent_problems/taxi/taxi_dropoff1.sy rename to lib/agent_problems/taxi/taxi_dropoff1.sy diff --git a/lib-nonconforming/agent_problems/taxi/taxi_dropoff2.sy b/lib/agent_problems/taxi/taxi_dropoff2.sy similarity index 100% rename from lib-nonconforming/agent_problems/taxi/taxi_dropoff2.sy rename to lib/agent_problems/taxi/taxi_dropoff2.sy diff --git a/lib-nonconforming/agent_problems/taxi/taxi_dropoff3.sy b/lib/agent_problems/taxi/taxi_dropoff3.sy similarity index 100% rename from lib-nonconforming/agent_problems/taxi/taxi_dropoff3.sy rename to lib/agent_problems/taxi/taxi_dropoff3.sy diff --git a/lib-nonconforming/agent_problems/taxi/taxi_dropoff4.sy b/lib/agent_problems/taxi/taxi_dropoff4.sy similarity index 100% rename from lib-nonconforming/agent_problems/taxi/taxi_dropoff4.sy rename to lib/agent_problems/taxi/taxi_dropoff4.sy diff --git a/lib-nonconforming/agent_problems/taxi/taxi_dropoff5.sy b/lib/agent_problems/taxi/taxi_dropoff5.sy similarity index 100% rename from lib-nonconforming/agent_problems/taxi/taxi_dropoff5.sy rename to lib/agent_problems/taxi/taxi_dropoff5.sy diff --git a/lib-nonconforming/agent_problems/taxi/taxi_pickup1.sy b/lib/agent_problems/taxi/taxi_pickup1.sy similarity index 100% rename from lib-nonconforming/agent_problems/taxi/taxi_pickup1.sy rename to lib/agent_problems/taxi/taxi_pickup1.sy diff --git a/lib-nonconforming/agent_problems/taxi/taxi_pickup2.sy b/lib/agent_problems/taxi/taxi_pickup2.sy similarity index 100% rename from lib-nonconforming/agent_problems/taxi/taxi_pickup2.sy rename to lib/agent_problems/taxi/taxi_pickup2.sy diff --git a/lib-nonconforming/agent_problems/taxi/taxi_pickup3.sy b/lib/agent_problems/taxi/taxi_pickup3.sy similarity index 100% rename from lib-nonconforming/agent_problems/taxi/taxi_pickup3.sy rename to lib/agent_problems/taxi/taxi_pickup3.sy diff --git a/lib-nonconforming/agent_problems/taxi/taxi_pickup4.sy b/lib/agent_problems/taxi/taxi_pickup4.sy similarity index 100% rename from lib-nonconforming/agent_problems/taxi/taxi_pickup4.sy rename to lib/agent_problems/taxi/taxi_pickup4.sy diff --git a/lib-nonconforming/agent_problems/taxi/taxi_pickup5.sy b/lib/agent_problems/taxi/taxi_pickup5.sy similarity index 100% rename from lib-nonconforming/agent_problems/taxi/taxi_pickup5.sy rename to lib/agent_problems/taxi/taxi_pickup5.sy diff --git a/lib-nonconforming/arrays_and_quantifiers/invariants/argument.sl b/lib/arrays_and_quantifiers/invariants/argument.sl similarity index 71% rename from lib-nonconforming/arrays_and_quantifiers/invariants/argument.sl rename to lib/arrays_and_quantifiers/invariants/argument.sl index e19f0fb0..aca1efec 100644 --- a/lib-nonconforming/arrays_and_quantifiers/invariants/argument.sl +++ b/lib/arrays_and_quantifiers/invariants/argument.sl @@ -5,18 +5,15 @@ (declare-var a! (Array Int Int)) (declare-var b (Array Int Int)) (declare-var b! (Array Int Int)) -(declare-var a!! (Array Int Int)) -(declare-var b!! (Array Int Int)) (define-fun init-fn ((a (Array Int Int)) (b (Array Int Int))) Bool (= a b)) -(define-fun trans-fn ((a (Array Int Int)) (b (Array Int Int)) (a! (Array Int Int)) (b! (Array Int Int)) (a!! (Array Int Int)) (b!! (Array Int Int))) Bool +(define-fun trans-fn ((a (Array Int Int)) (b (Array Int Int)) (a! (Array Int Int)) (b! (Array Int Int))) Bool (and (= a! (store (store a 1 (select a 0)) 0 (select a 1))) - (= b! b) - (trans2-fn a! b! a!! b!!))) + (= b! b))) (define-fun post-fn ((a (Array Int Int)) (b (Array Int Int))) Bool @@ -24,6 +21,6 @@ (constraint (=> (init-fn a b) (inv-fn a b ))) -(constraint (=> (and (inv-fn a b ) (trans-fn a b a! b! a!! b!!)) (inv-fn a!! b!!))) +(constraint (=> (and (inv-fn a b ) (trans-fn a b a! b!)) (inv-fn a! b!))) (constraint (=> (inv-fn a b ) (post-fn a b ))) (check-synth) diff --git a/lib-nonconforming/arrays_and_quantifiers/invariants/check_equal_set_flag-2.sl b/lib/arrays_and_quantifiers/invariants/check_equal_set_flag-2.sl similarity index 98% rename from lib-nonconforming/arrays_and_quantifiers/invariants/check_equal_set_flag-2.sl rename to lib/arrays_and_quantifiers/invariants/check_equal_set_flag-2.sl index 243ac0d6..d7d4d2e4 100644 --- a/lib-nonconforming/arrays_and_quantifiers/invariants/check_equal_set_flag-2.sl +++ b/lib/arrays_and_quantifiers/invariants/check_equal_set_flag-2.sl @@ -1,3 +1,4 @@ +(set-logic ALL) (declare-var a (Array Int Int)) (declare-var b (Array Int Int)) (declare-var length Int) diff --git a/lib-nonconforming/arrays_and_quantifiers/invariants/check_equal_set_flag.sl b/lib/arrays_and_quantifiers/invariants/check_equal_set_flag.sl similarity index 100% rename from lib-nonconforming/arrays_and_quantifiers/invariants/check_equal_set_flag.sl rename to lib/arrays_and_quantifiers/invariants/check_equal_set_flag.sl diff --git a/lib-nonconforming/arrays_and_quantifiers/invariants/collect_indices_eq_value.sl b/lib/arrays_and_quantifiers/invariants/collect_indices_eq_value.sl similarity index 98% rename from lib-nonconforming/arrays_and_quantifiers/invariants/collect_indices_eq_value.sl rename to lib/arrays_and_quantifiers/invariants/collect_indices_eq_value.sl index 4d20319d..5434ef58 100644 --- a/lib-nonconforming/arrays_and_quantifiers/invariants/collect_indices_eq_value.sl +++ b/lib/arrays_and_quantifiers/invariants/collect_indices_eq_value.sl @@ -1,3 +1,4 @@ +(set-logic ALL) (declare-var a1 (Array Int Int)) (declare-var a2 (Array Int Int)) (declare-var alength Int) diff --git a/lib-nonconforming/arrays_and_quantifiers/invariants/collect_indices_eq_value2.sl b/lib/arrays_and_quantifiers/invariants/collect_indices_eq_value2.sl similarity index 98% rename from lib-nonconforming/arrays_and_quantifiers/invariants/collect_indices_eq_value2.sl rename to lib/arrays_and_quantifiers/invariants/collect_indices_eq_value2.sl index 744b8738..8a5819a8 100644 --- a/lib-nonconforming/arrays_and_quantifiers/invariants/collect_indices_eq_value2.sl +++ b/lib/arrays_and_quantifiers/invariants/collect_indices_eq_value2.sl @@ -1,3 +1,4 @@ +(set-logic ALL) (declare-var a1 (Array Int Int)) (declare-var a2 (Array Int Int)) (declare-var alength Int) diff --git a/lib-nonconforming/arrays_and_quantifiers/invariants/collect_indices_eq_value3.sl b/lib/arrays_and_quantifiers/invariants/collect_indices_eq_value3.sl similarity index 98% rename from lib-nonconforming/arrays_and_quantifiers/invariants/collect_indices_eq_value3.sl rename to lib/arrays_and_quantifiers/invariants/collect_indices_eq_value3.sl index a2f49bed..44717c39 100644 --- a/lib-nonconforming/arrays_and_quantifiers/invariants/collect_indices_eq_value3.sl +++ b/lib/arrays_and_quantifiers/invariants/collect_indices_eq_value3.sl @@ -1,3 +1,4 @@ +(set-logic ALL) (declare-var a1 (Array Int Int)) (declare-var a2 (Array Int Int)) (declare-var alength Int) diff --git a/lib-nonconforming/arrays_and_quantifiers/invariants/collect_indices_eq_value4.sl b/lib/arrays_and_quantifiers/invariants/collect_indices_eq_value4.sl similarity index 98% rename from lib-nonconforming/arrays_and_quantifiers/invariants/collect_indices_eq_value4.sl rename to lib/arrays_and_quantifiers/invariants/collect_indices_eq_value4.sl index 31b035f1..e65364f5 100644 --- a/lib-nonconforming/arrays_and_quantifiers/invariants/collect_indices_eq_value4.sl +++ b/lib/arrays_and_quantifiers/invariants/collect_indices_eq_value4.sl @@ -1,3 +1,4 @@ +(set-logic ALL) (declare-var a1 (Array Int Int)) (declare-var a2 (Array Int Int)) (declare-var alength Int) diff --git a/lib-nonconforming/arrays_and_quantifiers/invariants/copy_nonzero.sl b/lib/arrays_and_quantifiers/invariants/copy_nonzero.sl similarity index 98% rename from lib-nonconforming/arrays_and_quantifiers/invariants/copy_nonzero.sl rename to lib/arrays_and_quantifiers/invariants/copy_nonzero.sl index c55fa24e..7fe6cf50 100644 --- a/lib-nonconforming/arrays_and_quantifiers/invariants/copy_nonzero.sl +++ b/lib/arrays_and_quantifiers/invariants/copy_nonzero.sl @@ -1,3 +1,4 @@ +(set-logic ALL) (declare-var a (Array Int Int)) (declare-var a! (Array Int Int)) (declare-var b (Array Int Int)) diff --git a/lib-nonconforming/arrays_and_quantifiers/invariants/copy_nonzero2.sl b/lib/arrays_and_quantifiers/invariants/copy_nonzero2.sl similarity index 98% rename from lib-nonconforming/arrays_and_quantifiers/invariants/copy_nonzero2.sl rename to lib/arrays_and_quantifiers/invariants/copy_nonzero2.sl index e838b161..d0253ae0 100644 --- a/lib-nonconforming/arrays_and_quantifiers/invariants/copy_nonzero2.sl +++ b/lib/arrays_and_quantifiers/invariants/copy_nonzero2.sl @@ -1,3 +1,4 @@ +(set-logic ALL) (declare-var a (Array Int Int)) (declare-var a! (Array Int Int)) (declare-var b (Array Int Int)) diff --git a/lib-nonconforming/arrays_and_quantifiers/invariants/copy_positive.sl b/lib/arrays_and_quantifiers/invariants/copy_positive.sl similarity index 98% rename from lib-nonconforming/arrays_and_quantifiers/invariants/copy_positive.sl rename to lib/arrays_and_quantifiers/invariants/copy_positive.sl index 6fdcb86d..01fe6a4d 100644 --- a/lib-nonconforming/arrays_and_quantifiers/invariants/copy_positive.sl +++ b/lib/arrays_and_quantifiers/invariants/copy_positive.sl @@ -1,3 +1,4 @@ +(set-logic ALL) (declare-var a (Array Int Int)) (declare-var a! (Array Int Int)) (declare-var b (Array Int Int)) diff --git a/lib-nonconforming/arrays_and_quantifiers/invariants/copy_positive2.sl b/lib/arrays_and_quantifiers/invariants/copy_positive2.sl similarity index 98% rename from lib-nonconforming/arrays_and_quantifiers/invariants/copy_positive2.sl rename to lib/arrays_and_quantifiers/invariants/copy_positive2.sl index 78e69fd0..e87749e3 100644 --- a/lib-nonconforming/arrays_and_quantifiers/invariants/copy_positive2.sl +++ b/lib/arrays_and_quantifiers/invariants/copy_positive2.sl @@ -1,3 +1,4 @@ +(set-logic ALL) (declare-var a (Array Int Int)) (declare-var a! (Array Int Int)) (declare-var b (Array Int Int)) diff --git a/lib-nonconforming/arrays_and_quantifiers/invariants/equal_arrays.sl b/lib/arrays_and_quantifiers/invariants/equal_arrays.sl similarity index 100% rename from lib-nonconforming/arrays_and_quantifiers/invariants/equal_arrays.sl rename to lib/arrays_and_quantifiers/invariants/equal_arrays.sl diff --git a/lib-nonconforming/arrays_and_quantifiers/invariants/equal_arrays_2.sl b/lib/arrays_and_quantifiers/invariants/equal_arrays_2.sl similarity index 100% rename from lib-nonconforming/arrays_and_quantifiers/invariants/equal_arrays_2.sl rename to lib/arrays_and_quantifiers/invariants/equal_arrays_2.sl diff --git a/lib-nonconforming/arrays_and_quantifiers/invariants/exists.sl b/lib/arrays_and_quantifiers/invariants/exists.sl similarity index 100% rename from lib-nonconforming/arrays_and_quantifiers/invariants/exists.sl rename to lib/arrays_and_quantifiers/invariants/exists.sl diff --git a/lib-nonconforming/arrays_and_quantifiers/invariants/exists3.sl b/lib/arrays_and_quantifiers/invariants/exists3.sl similarity index 100% rename from lib-nonconforming/arrays_and_quantifiers/invariants/exists3.sl rename to lib/arrays_and_quantifiers/invariants/exists3.sl diff --git a/lib-nonconforming/arrays_and_quantifiers/invariants/fill1.sl b/lib/arrays_and_quantifiers/invariants/fill1.sl similarity index 100% rename from lib-nonconforming/arrays_and_quantifiers/invariants/fill1.sl rename to lib/arrays_and_quantifiers/invariants/fill1.sl diff --git a/lib-nonconforming/arrays_and_quantifiers/invariants/fill3.sl b/lib/arrays_and_quantifiers/invariants/fill3.sl similarity index 100% rename from lib-nonconforming/arrays_and_quantifiers/invariants/fill3.sl rename to lib/arrays_and_quantifiers/invariants/fill3.sl diff --git a/lib-nonconforming/arrays_and_quantifiers/invariants/fill_harder.sl b/lib/arrays_and_quantifiers/invariants/fill_harder.sl similarity index 100% rename from lib-nonconforming/arrays_and_quantifiers/invariants/fill_harder.sl rename to lib/arrays_and_quantifiers/invariants/fill_harder.sl diff --git a/lib-nonconforming/arrays_and_quantifiers/invariants/find1.sl b/lib/arrays_and_quantifiers/invariants/find1.sl similarity index 98% rename from lib-nonconforming/arrays_and_quantifiers/invariants/find1.sl rename to lib/arrays_and_quantifiers/invariants/find1.sl index 5afc7eb9..a23fdbb7 100644 --- a/lib-nonconforming/arrays_and_quantifiers/invariants/find1.sl +++ b/lib/arrays_and_quantifiers/invariants/find1.sl @@ -1,3 +1,4 @@ +(set-logic ALL) (declare-var a (Array Int Int)) (declare-var alength Int) (declare-var ch Int) diff --git a/lib-nonconforming/arrays_and_quantifiers/invariants/find2.sl b/lib/arrays_and_quantifiers/invariants/find2.sl similarity index 98% rename from lib-nonconforming/arrays_and_quantifiers/invariants/find2.sl rename to lib/arrays_and_quantifiers/invariants/find2.sl index aa59e3de..3c873b36 100644 --- a/lib-nonconforming/arrays_and_quantifiers/invariants/find2.sl +++ b/lib/arrays_and_quantifiers/invariants/find2.sl @@ -1,3 +1,4 @@ +(set-logic ALL) (declare-var a (Array Int Int)) (declare-var alength Int) (declare-var ch Int) diff --git a/lib-nonconforming/arrays_and_quantifiers/invariants/find_first_harder.sl b/lib/arrays_and_quantifiers/invariants/find_first_harder.sl similarity index 100% rename from lib-nonconforming/arrays_and_quantifiers/invariants/find_first_harder.sl rename to lib/arrays_and_quantifiers/invariants/find_first_harder.sl diff --git a/lib-nonconforming/arrays_and_quantifiers/invariants/find_max-2.sl b/lib/arrays_and_quantifiers/invariants/find_max-2.sl similarity index 98% rename from lib-nonconforming/arrays_and_quantifiers/invariants/find_max-2.sl rename to lib/arrays_and_quantifiers/invariants/find_max-2.sl index 547bebd1..39655e41 100644 --- a/lib-nonconforming/arrays_and_quantifiers/invariants/find_max-2.sl +++ b/lib/arrays_and_quantifiers/invariants/find_max-2.sl @@ -1,3 +1,4 @@ +(set-logic ALL) (declare-var a (Array Int Int)) (declare-var alength Int) (declare-var i Int) diff --git a/lib-nonconforming/arrays_and_quantifiers/invariants/find_max.sl b/lib/arrays_and_quantifiers/invariants/find_max.sl similarity index 98% rename from lib-nonconforming/arrays_and_quantifiers/invariants/find_max.sl rename to lib/arrays_and_quantifiers/invariants/find_max.sl index a42561b7..c2202c50 100644 --- a/lib-nonconforming/arrays_and_quantifiers/invariants/find_max.sl +++ b/lib/arrays_and_quantifiers/invariants/find_max.sl @@ -1,3 +1,4 @@ +(set-logic ALL) (declare-var a (Array Int Int)) (declare-var alength Int) (declare-var i Int) diff --git a/lib-nonconforming/arrays_and_quantifiers/invariants/paper_example.sl b/lib/arrays_and_quantifiers/invariants/paper_example.sl similarity index 100% rename from lib-nonconforming/arrays_and_quantifiers/invariants/paper_example.sl rename to lib/arrays_and_quantifiers/invariants/paper_example.sl diff --git a/lib-nonconforming/arrays_and_quantifiers/invariants/partition.sl b/lib/arrays_and_quantifiers/invariants/partition.sl similarity index 100% rename from lib-nonconforming/arrays_and_quantifiers/invariants/partition.sl rename to lib/arrays_and_quantifiers/invariants/partition.sl diff --git a/lib-nonconforming/arrays_and_quantifiers/invariants/partition1.sl b/lib/arrays_and_quantifiers/invariants/partition1.sl similarity index 100% rename from lib-nonconforming/arrays_and_quantifiers/invariants/partition1.sl rename to lib/arrays_and_quantifiers/invariants/partition1.sl diff --git a/lib-nonconforming/arrays_and_quantifiers/invariants/partition2.sl b/lib/arrays_and_quantifiers/invariants/partition2.sl similarity index 100% rename from lib-nonconforming/arrays_and_quantifiers/invariants/partition2.sl rename to lib/arrays_and_quantifiers/invariants/partition2.sl diff --git a/lib-nonconforming/arrays_and_quantifiers/invariants/partition3.sl b/lib/arrays_and_quantifiers/invariants/partition3.sl similarity index 100% rename from lib-nonconforming/arrays_and_quantifiers/invariants/partition3.sl rename to lib/arrays_and_quantifiers/invariants/partition3.sl diff --git a/lib-nonconforming/arrays_and_quantifiers/invariants/partition4.sl b/lib/arrays_and_quantifiers/invariants/partition4.sl similarity index 100% rename from lib-nonconforming/arrays_and_quantifiers/invariants/partition4.sl rename to lib/arrays_and_quantifiers/invariants/partition4.sl diff --git a/lib-nonconforming/arrays_and_quantifiers/invariants/partition5.sl b/lib/arrays_and_quantifiers/invariants/partition5.sl similarity index 100% rename from lib-nonconforming/arrays_and_quantifiers/invariants/partition5.sl rename to lib/arrays_and_quantifiers/invariants/partition5.sl diff --git a/lib-nonconforming/arrays_and_quantifiers/invariants/partition6.sl b/lib/arrays_and_quantifiers/invariants/partition6.sl similarity index 100% rename from lib-nonconforming/arrays_and_quantifiers/invariants/partition6.sl rename to lib/arrays_and_quantifiers/invariants/partition6.sl diff --git a/lib-nonconforming/arrays_and_quantifiers/invariants/partition7.sl b/lib/arrays_and_quantifiers/invariants/partition7.sl similarity index 100% rename from lib-nonconforming/arrays_and_quantifiers/invariants/partition7.sl rename to lib/arrays_and_quantifiers/invariants/partition7.sl diff --git a/lib-nonconforming/arrays_and_quantifiers/invariants/permutation.sl b/lib/arrays_and_quantifiers/invariants/permutation.sl similarity index 100% rename from lib-nonconforming/arrays_and_quantifiers/invariants/permutation.sl rename to lib/arrays_and_quantifiers/invariants/permutation.sl diff --git a/lib-nonconforming/arrays_and_quantifiers/invariants/permutation2.sl b/lib/arrays_and_quantifiers/invariants/permutation2.sl similarity index 100% rename from lib-nonconforming/arrays_and_quantifiers/invariants/permutation2.sl rename to lib/arrays_and_quantifiers/invariants/permutation2.sl diff --git a/lib-nonconforming/arrays_and_quantifiers/invariants/permutation3.sl b/lib/arrays_and_quantifiers/invariants/permutation3.sl similarity index 100% rename from lib-nonconforming/arrays_and_quantifiers/invariants/permutation3.sl rename to lib/arrays_and_quantifiers/invariants/permutation3.sl diff --git a/lib-nonconforming/arrays_and_quantifiers/invariants/permutation4.sl b/lib/arrays_and_quantifiers/invariants/permutation4.sl similarity index 100% rename from lib-nonconforming/arrays_and_quantifiers/invariants/permutation4.sl rename to lib/arrays_and_quantifiers/invariants/permutation4.sl diff --git a/lib-nonconforming/arrays_and_quantifiers/invariants/permutation5.sl b/lib/arrays_and_quantifiers/invariants/permutation5.sl similarity index 100% rename from lib-nonconforming/arrays_and_quantifiers/invariants/permutation5.sl rename to lib/arrays_and_quantifiers/invariants/permutation5.sl diff --git a/lib-nonconforming/arrays_and_quantifiers/invariants/simple_array.sl b/lib/arrays_and_quantifiers/invariants/simple_array.sl similarity index 100% rename from lib-nonconforming/arrays_and_quantifiers/invariants/simple_array.sl rename to lib/arrays_and_quantifiers/invariants/simple_array.sl diff --git a/lib-nonconforming/arrays_and_quantifiers/invariants/simple_array_and_one_var.sl b/lib/arrays_and_quantifiers/invariants/simple_array_and_one_var.sl similarity index 100% rename from lib-nonconforming/arrays_and_quantifiers/invariants/simple_array_and_one_var.sl rename to lib/arrays_and_quantifiers/invariants/simple_array_and_one_var.sl diff --git a/lib-nonconforming/arrays_and_quantifiers/invariants/simple_sum.sl b/lib/arrays_and_quantifiers/invariants/simple_sum.sl similarity index 100% rename from lib-nonconforming/arrays_and_quantifiers/invariants/simple_sum.sl rename to lib/arrays_and_quantifiers/invariants/simple_sum.sl diff --git a/lib-nonconforming/arrays_and_quantifiers/invariants/str_len.sl b/lib/arrays_and_quantifiers/invariants/str_len.sl similarity index 97% rename from lib-nonconforming/arrays_and_quantifiers/invariants/str_len.sl rename to lib/arrays_and_quantifiers/invariants/str_len.sl index f942d89a..1c16c123 100644 --- a/lib-nonconforming/arrays_and_quantifiers/invariants/str_len.sl +++ b/lib/arrays_and_quantifiers/invariants/str_len.sl @@ -1,3 +1,4 @@ +(set-logic ALL) (declare-var a (Array Int Int)) (declare-var i Int) (declare-var i! Int) diff --git a/lib-nonconforming/arrays_and_quantifiers/invariants/two_indices_harder.sl b/lib/arrays_and_quantifiers/invariants/two_indices_harder.sl similarity index 100% rename from lib-nonconforming/arrays_and_quantifiers/invariants/two_indices_harder.sl rename to lib/arrays_and_quantifiers/invariants/two_indices_harder.sl diff --git a/lib-nonconforming/arrays_and_quantifiers/sketching/String.indexOf1-1.sl b/lib/arrays_and_quantifiers/sketching/String.indexOf1-1.sl similarity index 98% rename from lib-nonconforming/arrays_and_quantifiers/sketching/String.indexOf1-1.sl rename to lib/arrays_and_quantifiers/sketching/String.indexOf1-1.sl index 22a4cc29..dbabd9ff 100644 --- a/lib-nonconforming/arrays_and_quantifiers/sketching/String.indexOf1-1.sl +++ b/lib/arrays_and_quantifiers/sketching/String.indexOf1-1.sl @@ -1,3 +1,4 @@ +(set-logic ALL) ; java.lang.String.indexOf ; public int indexOf(int) diff --git a/lib-nonconforming/arrays_and_quantifiers/sketching/String.indexOf1.synth.sl b/lib/arrays_and_quantifiers/sketching/String.indexOf1.synth.sl similarity index 98% rename from lib-nonconforming/arrays_and_quantifiers/sketching/String.indexOf1.synth.sl rename to lib/arrays_and_quantifiers/sketching/String.indexOf1.synth.sl index dbea554f..965c1561 100644 --- a/lib-nonconforming/arrays_and_quantifiers/sketching/String.indexOf1.synth.sl +++ b/lib/arrays_and_quantifiers/sketching/String.indexOf1.synth.sl @@ -1,3 +1,4 @@ +(set-logic ALL) ; java.lang.String.indexOf ; public int indexOf(int) diff --git a/lib-nonconforming/arrays_and_quantifiers/sketching/StringUtils.abbreviate1-1.sl b/lib/arrays_and_quantifiers/sketching/StringUtils.abbreviate1-1.sl similarity index 98% rename from lib-nonconforming/arrays_and_quantifiers/sketching/StringUtils.abbreviate1-1.sl rename to lib/arrays_and_quantifiers/sketching/StringUtils.abbreviate1-1.sl index d72fdfd1..2503de65 100644 --- a/lib-nonconforming/arrays_and_quantifiers/sketching/StringUtils.abbreviate1-1.sl +++ b/lib/arrays_and_quantifiers/sketching/StringUtils.abbreviate1-1.sl @@ -1,3 +1,4 @@ +(set-logic ALL) ; org.apache.commons.lang3.StringUtils ; public static String abbreviate(final String str, final int maxWidth) diff --git a/lib-nonconforming/arrays_and_quantifiers/sketching/StringUtils.abbreviate1-2.sl b/lib/arrays_and_quantifiers/sketching/StringUtils.abbreviate1-2.sl similarity index 98% rename from lib-nonconforming/arrays_and_quantifiers/sketching/StringUtils.abbreviate1-2.sl rename to lib/arrays_and_quantifiers/sketching/StringUtils.abbreviate1-2.sl index 8da2694d..dfbe3680 100644 --- a/lib-nonconforming/arrays_and_quantifiers/sketching/StringUtils.abbreviate1-2.sl +++ b/lib/arrays_and_quantifiers/sketching/StringUtils.abbreviate1-2.sl @@ -1,3 +1,4 @@ +(set-logic ALL) ; org.apache.commons.lang3.StringUtils ; public static String abbreviate(final String str, final int maxWidth) diff --git a/lib-nonconforming/arrays_and_quantifiers/sketching/StringUtils.abbreviateMiddle1-1.sl b/lib/arrays_and_quantifiers/sketching/StringUtils.abbreviateMiddle1-1.sl similarity index 98% rename from lib-nonconforming/arrays_and_quantifiers/sketching/StringUtils.abbreviateMiddle1-1.sl rename to lib/arrays_and_quantifiers/sketching/StringUtils.abbreviateMiddle1-1.sl index 28a18bb1..d7422492 100644 --- a/lib-nonconforming/arrays_and_quantifiers/sketching/StringUtils.abbreviateMiddle1-1.sl +++ b/lib/arrays_and_quantifiers/sketching/StringUtils.abbreviateMiddle1-1.sl @@ -1,3 +1,4 @@ +(set-logic ALL) ; org.apache.commons.lang3.StringUtils ; public static String abbreviateMiddle(final String str, final String middle, final int length) diff --git a/lib-nonconforming/arrays_and_quantifiers/sketching/StringUtils.abbreviateMiddle1-2.sl b/lib/arrays_and_quantifiers/sketching/StringUtils.abbreviateMiddle1-2.sl similarity index 91% rename from lib-nonconforming/arrays_and_quantifiers/sketching/StringUtils.abbreviateMiddle1-2.sl rename to lib/arrays_and_quantifiers/sketching/StringUtils.abbreviateMiddle1-2.sl index a2d73a06..568a111e 100644 --- a/lib-nonconforming/arrays_and_quantifiers/sketching/StringUtils.abbreviateMiddle1-2.sl +++ b/lib/arrays_and_quantifiers/sketching/StringUtils.abbreviateMiddle1-2.sl @@ -1,3 +1,4 @@ +(set-logic ALL) ; org.apache.commons.lang3.StringUtils ; public static String abbreviateMiddle(final String str, final String middle, final int length) @@ -53,7 +54,7 @@ (constraint (=> - (and (pre |str.size| |str| |length|) (and (> |str.size| |length|) (> |length| (+ |middle.length| 2)))) + (and (pre |str.size| |middle.size|) (and (> |str.size| |length|) (> |length| (+ |middle.size| 2)))) (forall ((index Int)) (= (|return| index |str.size| |str| |middle.size| |middle| |length|) (ite (<= index (- |str.size| 4)) (select |str| index) 46))))) diff --git a/lib-nonconforming/arrays_and_quantifiers/sketching/StringUtils.appendIfMissing1-1.sl b/lib/arrays_and_quantifiers/sketching/StringUtils.appendIfMissing1-1.sl similarity index 98% rename from lib-nonconforming/arrays_and_quantifiers/sketching/StringUtils.appendIfMissing1-1.sl rename to lib/arrays_and_quantifiers/sketching/StringUtils.appendIfMissing1-1.sl index 1371fa25..9a3df6f7 100644 --- a/lib-nonconforming/arrays_and_quantifiers/sketching/StringUtils.appendIfMissing1-1.sl +++ b/lib/arrays_and_quantifiers/sketching/StringUtils.appendIfMissing1-1.sl @@ -1,3 +1,4 @@ +(set-logic ALL) ; org.apache.commons.lang3.StringUtils ; static String appendIfMissing(final String str, final CharSequence suffix) diff --git a/lib-nonconforming/arrays_and_quantifiers/sketching/StringUtils.appendIfMissing1-2.sl b/lib/arrays_and_quantifiers/sketching/StringUtils.appendIfMissing1-2.sl similarity index 98% rename from lib-nonconforming/arrays_and_quantifiers/sketching/StringUtils.appendIfMissing1-2.sl rename to lib/arrays_and_quantifiers/sketching/StringUtils.appendIfMissing1-2.sl index c10cce24..3e81f053 100644 --- a/lib-nonconforming/arrays_and_quantifiers/sketching/StringUtils.appendIfMissing1-2.sl +++ b/lib/arrays_and_quantifiers/sketching/StringUtils.appendIfMissing1-2.sl @@ -1,3 +1,4 @@ +(set-logic ALL) ; org.apache.commons.lang3.StringUtils ; static String appendIfMissing(final String str, final CharSequence suffix) diff --git a/lib-nonconforming/arrays_and_quantifiers/sketching/StringUtils.capitalize1-1.sl b/lib/arrays_and_quantifiers/sketching/StringUtils.capitalize1-1.sl similarity index 97% rename from lib-nonconforming/arrays_and_quantifiers/sketching/StringUtils.capitalize1-1.sl rename to lib/arrays_and_quantifiers/sketching/StringUtils.capitalize1-1.sl index 23745d21..3f7b30f3 100644 --- a/lib-nonconforming/arrays_and_quantifiers/sketching/StringUtils.capitalize1-1.sl +++ b/lib/arrays_and_quantifiers/sketching/StringUtils.capitalize1-1.sl @@ -1,3 +1,4 @@ +(set-logic ALL) ; org.apache.commons.lang3.StringUtils ; public static String capitalize(final String str) diff --git a/lib-nonconforming/arrays_and_quantifiers/sketching/StringUtils.capitalize1-2.sl b/lib/arrays_and_quantifiers/sketching/StringUtils.capitalize1-2.sl similarity index 97% rename from lib-nonconforming/arrays_and_quantifiers/sketching/StringUtils.capitalize1-2.sl rename to lib/arrays_and_quantifiers/sketching/StringUtils.capitalize1-2.sl index b1355923..f71cad49 100644 --- a/lib-nonconforming/arrays_and_quantifiers/sketching/StringUtils.capitalize1-2.sl +++ b/lib/arrays_and_quantifiers/sketching/StringUtils.capitalize1-2.sl @@ -1,3 +1,4 @@ +(set-logic ALL) ; org.apache.commons.lang3.StringUtils ; public static String capitalize(final String str) diff --git a/lib-nonconforming/arrays_and_quantifiers/sketching/StringUtils.center1-1.sl b/lib/arrays_and_quantifiers/sketching/StringUtils.center1-1.sl similarity index 99% rename from lib-nonconforming/arrays_and_quantifiers/sketching/StringUtils.center1-1.sl rename to lib/arrays_and_quantifiers/sketching/StringUtils.center1-1.sl index b4147b49..874e6d21 100644 --- a/lib-nonconforming/arrays_and_quantifiers/sketching/StringUtils.center1-1.sl +++ b/lib/arrays_and_quantifiers/sketching/StringUtils.center1-1.sl @@ -1,3 +1,4 @@ +(set-logic ALL) ; org.apache.commons.lang3.StringUtils ; public static String center(String str, final int size, final char padChar) diff --git a/lib-nonconforming/arrays_and_quantifiers/sketching/StringUtils.center1-2.sl b/lib/arrays_and_quantifiers/sketching/StringUtils.center1-2.sl similarity index 98% rename from lib-nonconforming/arrays_and_quantifiers/sketching/StringUtils.center1-2.sl rename to lib/arrays_and_quantifiers/sketching/StringUtils.center1-2.sl index 99838078..29e526b5 100644 --- a/lib-nonconforming/arrays_and_quantifiers/sketching/StringUtils.center1-2.sl +++ b/lib/arrays_and_quantifiers/sketching/StringUtils.center1-2.sl @@ -1,3 +1,4 @@ +(set-logic ALL) ; org.apache.commons.lang3.StringUtils ; public static String center(String str, final int size, final char padChar) diff --git a/lib-nonconforming/arrays_and_quantifiers/sketching/StringUtils.chomp1-1.sl b/lib/arrays_and_quantifiers/sketching/StringUtils.chomp1-1.sl similarity index 98% rename from lib-nonconforming/arrays_and_quantifiers/sketching/StringUtils.chomp1-1.sl rename to lib/arrays_and_quantifiers/sketching/StringUtils.chomp1-1.sl index 19c7bc35..00f48120 100644 --- a/lib-nonconforming/arrays_and_quantifiers/sketching/StringUtils.chomp1-1.sl +++ b/lib/arrays_and_quantifiers/sketching/StringUtils.chomp1-1.sl @@ -1,3 +1,4 @@ +(set-logic ALL) ; org.apache.commons.lang3.StringUtils ; public static String chomp(final String str) diff --git a/lib-nonconforming/arrays_and_quantifiers/sketching/StringUtils.chomp1-2.sl b/lib/arrays_and_quantifiers/sketching/StringUtils.chomp1-2.sl similarity index 98% rename from lib-nonconforming/arrays_and_quantifiers/sketching/StringUtils.chomp1-2.sl rename to lib/arrays_and_quantifiers/sketching/StringUtils.chomp1-2.sl index 2c0b07d8..3ab1455a 100644 --- a/lib-nonconforming/arrays_and_quantifiers/sketching/StringUtils.chomp1-2.sl +++ b/lib/arrays_and_quantifiers/sketching/StringUtils.chomp1-2.sl @@ -1,3 +1,4 @@ +(set-logic ALL) ; org.apache.commons.lang3.StringUtils ; public static String chomp(final String str) diff --git a/lib-nonconforming/arrays_and_quantifiers/sketching/StringUtils.chop1-1.sl b/lib/arrays_and_quantifiers/sketching/StringUtils.chop1-1.sl similarity index 97% rename from lib-nonconforming/arrays_and_quantifiers/sketching/StringUtils.chop1-1.sl rename to lib/arrays_and_quantifiers/sketching/StringUtils.chop1-1.sl index 47d97874..1bc53449 100644 --- a/lib-nonconforming/arrays_and_quantifiers/sketching/StringUtils.chop1-1.sl +++ b/lib/arrays_and_quantifiers/sketching/StringUtils.chop1-1.sl @@ -1,3 +1,4 @@ +(set-logic ALL) ; org.apache.commons.lang3.StringUtils ; public static String chop(final String str) diff --git a/lib-nonconforming/arrays_and_quantifiers/sketching/StringUtils.chop1-2.sl b/lib/arrays_and_quantifiers/sketching/StringUtils.chop1-2.sl similarity index 98% rename from lib-nonconforming/arrays_and_quantifiers/sketching/StringUtils.chop1-2.sl rename to lib/arrays_and_quantifiers/sketching/StringUtils.chop1-2.sl index cbf71d2b..65e1066b 100644 --- a/lib-nonconforming/arrays_and_quantifiers/sketching/StringUtils.chop1-2.sl +++ b/lib/arrays_and_quantifiers/sketching/StringUtils.chop1-2.sl @@ -1,3 +1,4 @@ +(set-logic ALL) ; org.apache.commons.lang3.StringUtils ; public static String chop(final String str) diff --git a/lib-nonconforming/arrays_and_quantifiers/sketching/StringUtils.chop1.sl b/lib/arrays_and_quantifiers/sketching/StringUtils.chop1.sl similarity index 98% rename from lib-nonconforming/arrays_and_quantifiers/sketching/StringUtils.chop1.sl rename to lib/arrays_and_quantifiers/sketching/StringUtils.chop1.sl index fdd2d240..b076db69 100644 --- a/lib-nonconforming/arrays_and_quantifiers/sketching/StringUtils.chop1.sl +++ b/lib/arrays_and_quantifiers/sketching/StringUtils.chop1.sl @@ -1,3 +1,4 @@ +(set-logic ALL) ; org.apache.commons.lang3.StringUtils ; public static String chop(final String str) diff --git a/lib-nonconforming/arrays_and_quantifiers/sketching/StringUtils.contains1.sl b/lib/arrays_and_quantifiers/sketching/StringUtils.contains1.sl similarity index 98% rename from lib-nonconforming/arrays_and_quantifiers/sketching/StringUtils.contains1.sl rename to lib/arrays_and_quantifiers/sketching/StringUtils.contains1.sl index c8dcc790..869f0416 100644 --- a/lib-nonconforming/arrays_and_quantifiers/sketching/StringUtils.contains1.sl +++ b/lib/arrays_and_quantifiers/sketching/StringUtils.contains1.sl @@ -1,3 +1,4 @@ +(set-logic ALL) ; org.apache.commons.lang3.StringUtils ; public static boolean contains(final CharSequence seq, final int searchChar) diff --git a/lib-nonconforming/arrays_and_quantifiers/sketching/StringUtils.containsNone1.sl b/lib/arrays_and_quantifiers/sketching/StringUtils.containsNone1.sl similarity index 98% rename from lib-nonconforming/arrays_and_quantifiers/sketching/StringUtils.containsNone1.sl rename to lib/arrays_and_quantifiers/sketching/StringUtils.containsNone1.sl index 6b9fc592..aef28b31 100644 --- a/lib-nonconforming/arrays_and_quantifiers/sketching/StringUtils.containsNone1.sl +++ b/lib/arrays_and_quantifiers/sketching/StringUtils.containsNone1.sl @@ -1,3 +1,4 @@ +(set-logic ALL) ; org.apache.commons.lang3.StringUtils ; public static boolean containsNone(final CharSequence cs, final char... searchChars) From 022ceaf17a589523870539a4ab156e34d05b46eb Mon Sep 17 00:00:00 2001 From: ajreynol Date: Thu, 20 Aug 2026 13:39:16 -0500 Subject: [PATCH 2/2] Eliminate remaining lets --- README.md | 11 +++++++++++ lib/General_Track/from_2018/logcount-d1.sl | 2 +- lib/General_Track/from_2018/logcount-d5.sl | 2 +- lib/General_Track/from_2018/logcount.sl | 2 +- lib/General_Track/from_2018/logcount2-d1.sl | 2 +- lib/General_Track/from_2018/logcount2-d5.sl | 2 +- lib/General_Track/from_2018/logcount2.sl | 2 +- lib/General_Track/from_2018/seven_c1.sl | 3 +-- lib/General_Track/from_2018/seven_c2.sl | 3 +-- lib/General_Track/from_2018/seven_c3.sl | 3 +-- lib/General_Track/from_2018/seven_c4.sl | 3 +-- lib/General_Track/from_2018/seven_three_d0.sl | 3 +-- lib/General_Track/from_2018/seven_three_d1.sl | 3 +-- lib/General_Track/from_2018/three_d0.sl | 3 +-- lib/General_Track/from_2018/three_d1.sl | 3 +-- lib/General_Track/from_2018/three_d2.sl | 3 +-- lib/General_Track/from_2018/three_d3.sl | 3 +-- lib/General_Track/from_2018/twolets1.sl | 4 ++-- lib/General_Track/from_2018/twolets10.sl | 8 ++------ lib/General_Track/from_2018/twolets3.sl | 4 ++-- lib/General_Track/from_2018/twolets4.sl | 6 ++---- lib/General_Track/from_2018/twolets5.sl | 6 ++---- lib/General_Track/from_2018/twolets6.sl | 8 ++------ lib/General_Track/from_2018/twolets7.sl | 8 ++------ lib/General_Track/from_2018/twolets8.sl | 8 ++------ lib/General_Track/from_2018/twolets9.sl | 8 ++------ 26 files changed, 45 insertions(+), 68 deletions(-) diff --git a/README.md b/README.md index 27c2e623..1dac899b 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,17 @@ restrictions; some subdirectories were merged in from the former * `General_Track/uclid5` and `arrays_and_quantifiers` use arrays and quantifiers, which no track admits. +## Notes on the 2.7 conversion + +SyGuS-IF 2 grammar terms are `(Constant Sort)`, `(Variable Sort)` and plain +applications, so the `let` terms that older grammars used were eliminated by +substituting each bound variable with the term it was bound to. This is exact +wherever a bound variable occurred at most once. In the six +`General_Track/from_2018/logcount*.sl` sketches a variable occurred twice, so +the let was expressing sharing that a context-free grammar cannot express; +inlining there yields a strictly larger grammar that still contains every term +the original could produce. + ## Known deviations * `General_Track/uclid5/dining-philosophers-no-deadlock-system-{assign,if}-{1,2}.ucl.sl` diff --git a/lib/General_Track/from_2018/logcount-d1.sl b/lib/General_Track/from_2018/logcount-d1.sl index 3855e8cf..5e112ba8 100644 --- a/lib/General_Track/from_2018/logcount-d1.sl +++ b/lib/General_Track/from_2018/logcount-d1.sl @@ -4,7 +4,7 @@ ((Start (_ BitVec 8)) (ConstBV (_ BitVec 8))) ( (Start (_ BitVec 8) ( x - (let ((tmp Start) (m ConstBV) (n ConstBV)) (bvadd (bvand tmp m) (bvand (bvlshr tmp n) m)) ) + (bvadd (bvand Start ConstBV) (bvand (bvlshr Start ConstBV) ConstBV)) ) ) diff --git a/lib/General_Track/from_2018/logcount-d5.sl b/lib/General_Track/from_2018/logcount-d5.sl index ba13713f..a2a26c54 100644 --- a/lib/General_Track/from_2018/logcount-d5.sl +++ b/lib/General_Track/from_2018/logcount-d5.sl @@ -4,7 +4,7 @@ ((Start (_ BitVec 8)) (ConstBV (_ BitVec 8))) ( (Start (_ BitVec 8) ( x - (let ((tmp Start) (m ConstBV) (n ConstBV)) (bvadd (bvand tmp m) (bvand (bvlshr tmp n) m)) ) + (bvadd (bvand Start ConstBV) (bvand (bvlshr Start ConstBV) ConstBV)) ) ) diff --git a/lib/General_Track/from_2018/logcount.sl b/lib/General_Track/from_2018/logcount.sl index a1aaea12..e0674358 100644 --- a/lib/General_Track/from_2018/logcount.sl +++ b/lib/General_Track/from_2018/logcount.sl @@ -11,7 +11,7 @@ ((Start (_ BitVec 8)) (ConstBV (_ BitVec 8))) ( (Start (_ BitVec 8) ( x - (let ((tmp Start) (m ConstBV) (n ConstBV)) (bvadd (bvand tmp m) (bvand (bvlshr tmp n) m)) ) + (bvadd (bvand Start ConstBV) (bvand (bvlshr Start ConstBV) ConstBV)) ) ) diff --git a/lib/General_Track/from_2018/logcount2-d1.sl b/lib/General_Track/from_2018/logcount2-d1.sl index 5aaa597c..bdc30002 100644 --- a/lib/General_Track/from_2018/logcount2-d1.sl +++ b/lib/General_Track/from_2018/logcount2-d1.sl @@ -4,7 +4,7 @@ ((Start (_ BitVec 8)) (ConstBV (_ BitVec 8))) ( (Start (_ BitVec 8) ( x - (let ((tmp Start) (m ConstBV) (n ConstBV)(o ConstBV)) (bvadd (bvand tmp m) (bvand (bvlshr tmp n) o)) ) + (bvadd (bvand Start ConstBV) (bvand (bvlshr Start ConstBV) ConstBV)) ) ) diff --git a/lib/General_Track/from_2018/logcount2-d5.sl b/lib/General_Track/from_2018/logcount2-d5.sl index 2f5b4f35..c90be1c5 100644 --- a/lib/General_Track/from_2018/logcount2-d5.sl +++ b/lib/General_Track/from_2018/logcount2-d5.sl @@ -4,7 +4,7 @@ ((Start (_ BitVec 8)) (ConstBV (_ BitVec 8))) ( (Start (_ BitVec 8) ( x - (let ((tmp Start) (m ConstBV) (n ConstBV) (o ConstBV)) (bvadd (bvand tmp m) (bvand (bvlshr tmp n) o)) ) + (bvadd (bvand Start ConstBV) (bvand (bvlshr Start ConstBV) ConstBV)) ) ) diff --git a/lib/General_Track/from_2018/logcount2.sl b/lib/General_Track/from_2018/logcount2.sl index 12c45af4..2f92f375 100644 --- a/lib/General_Track/from_2018/logcount2.sl +++ b/lib/General_Track/from_2018/logcount2.sl @@ -4,7 +4,7 @@ ((Start (_ BitVec 8)) (ConstBV (_ BitVec 8))) ( (Start (_ BitVec 8) ( x - (let ((tmp Start) (m ConstBV) (n ConstBV) (o ConstBV)) (bvadd (bvand tmp m) (bvand (bvlshr tmp n) o)) ) + (bvadd (bvand Start ConstBV) (bvand (bvlshr Start ConstBV) ConstBV)) ) ) diff --git a/lib/General_Track/from_2018/seven_c1.sl b/lib/General_Track/from_2018/seven_c1.sl index 371e65aa..6057eb51 100644 --- a/lib/General_Track/from_2018/seven_c1.sl +++ b/lib/General_Track/from_2018/seven_c1.sl @@ -14,8 +14,7 @@ (* Start Start) (div Start StartConst) (mod Start StartConst) - (ite StartBool Start Start) - (let (( z Start )) Start ))) + (ite StartBool Start Start))) (StartConst Int (1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18)) (StartBool Bool ((and StartBool StartBool) (or StartBool StartBool) diff --git a/lib/General_Track/from_2018/seven_c2.sl b/lib/General_Track/from_2018/seven_c2.sl index 07fd95c1..bffab43c 100644 --- a/lib/General_Track/from_2018/seven_c2.sl +++ b/lib/General_Track/from_2018/seven_c2.sl @@ -13,8 +13,7 @@ (- Start Start) (* Start StartConst) (div Start StartConst) - (mod Start StartConst) - (let (( z Start )) Start ))) + (mod Start StartConst))) (StartConst Int (1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18)) )) diff --git a/lib/General_Track/from_2018/seven_c3.sl b/lib/General_Track/from_2018/seven_c3.sl index 62aefebe..918c4402 100644 --- a/lib/General_Track/from_2018/seven_c3.sl +++ b/lib/General_Track/from_2018/seven_c3.sl @@ -14,8 +14,7 @@ (* Start StartConst) (div Start StartConst) (mod Start StartConst) - (ite StartBool Start Start) - (let (( z Start )) Start ))) + (ite StartBool Start Start))) (StartConst Int (1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18)) (StartBool Bool ((and StartBool StartBool) diff --git a/lib/General_Track/from_2018/seven_c4.sl b/lib/General_Track/from_2018/seven_c4.sl index 8da9c85b..23d43d61 100644 --- a/lib/General_Track/from_2018/seven_c4.sl +++ b/lib/General_Track/from_2018/seven_c4.sl @@ -14,8 +14,7 @@ (* Start StartConst) (div Start StartConst) (mod Start StartConst) - (ite StartBool Start Start) - (let (( z Start )) Start ))) + (ite StartBool Start Start))) (StartConst Int (1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18)) (StartBool Bool ((and StartBool StartBool) diff --git a/lib/General_Track/from_2018/seven_three_d0.sl b/lib/General_Track/from_2018/seven_three_d0.sl index bf7dcdb5..685d2d26 100644 --- a/lib/General_Track/from_2018/seven_three_d0.sl +++ b/lib/General_Track/from_2018/seven_three_d0.sl @@ -15,8 +15,7 @@ (* Start StartConst) (mod Start StartConst) (div Start StartConst) - (ite StartBool Start Start) - (let (( z Start )) Start ))) + (ite StartBool Start Start))) (StartConst Int (1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18)) (StartBool Bool ((and StartBool StartBool) (or StartBool StartBool) diff --git a/lib/General_Track/from_2018/seven_three_d1.sl b/lib/General_Track/from_2018/seven_three_d1.sl index 76c49ecb..aa97ab6a 100644 --- a/lib/General_Track/from_2018/seven_three_d1.sl +++ b/lib/General_Track/from_2018/seven_three_d1.sl @@ -14,8 +14,7 @@ (- Start Start) (* Start StartConst) (div Start StartConst) - (ite StartBool Start Start) - (let (( z Start )) Start ))) + (ite StartBool Start Start))) (StartConst Int (1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18)) (StartBool Bool ((and StartBool StartBool) (or StartBool StartBool) diff --git a/lib/General_Track/from_2018/three_d0.sl b/lib/General_Track/from_2018/three_d0.sl index f486eda9..441b9afe 100644 --- a/lib/General_Track/from_2018/three_d0.sl +++ b/lib/General_Track/from_2018/three_d0.sl @@ -14,8 +14,7 @@ (* Start StartConst) (div Start StartConst) (mod Start StartConst) - (ite StartBool Start Start) - (let (( z Start )) Start ))) + (ite StartBool Start Start))) (StartConst Int (1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18)) (StartBool Bool ((and StartBool StartBool) (or StartBool StartBool) diff --git a/lib/General_Track/from_2018/three_d1.sl b/lib/General_Track/from_2018/three_d1.sl index 9f531a75..8f4426ab 100644 --- a/lib/General_Track/from_2018/three_d1.sl +++ b/lib/General_Track/from_2018/three_d1.sl @@ -12,8 +12,7 @@ (- Start Start) (* Start StartConst) (div Start StartConst) - (ite StartBool Start Start) - (let (( z Start )) Start ))) + (ite StartBool Start Start))) (StartConst Int (1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18)) (StartBool Bool ((and StartBool StartBool) (or StartBool StartBool) diff --git a/lib/General_Track/from_2018/three_d2.sl b/lib/General_Track/from_2018/three_d2.sl index b0effe68..499dfdf7 100644 --- a/lib/General_Track/from_2018/three_d2.sl +++ b/lib/General_Track/from_2018/three_d2.sl @@ -13,8 +13,7 @@ (- Start Start) (* Start StartConst) (div Start StartConst) - (ite StartBool Start Start) - (let (( z Start )) Start ))) + (ite StartBool Start Start))) (StartConst Int (1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18)) (StartBool Bool ((and StartBool StartBool) (or StartBool StartBool) diff --git a/lib/General_Track/from_2018/three_d3.sl b/lib/General_Track/from_2018/three_d3.sl index 25660d76..69114e54 100644 --- a/lib/General_Track/from_2018/three_d3.sl +++ b/lib/General_Track/from_2018/three_d3.sl @@ -26,8 +26,7 @@ (+ Start Start) (* Start StartConst) (div Start StartConst) - (ite StartBool Start Start) - (let (( z Start )) Start ))) + (ite StartBool Start Start))) (StartConst Int (1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18)) (StartBool Bool ((and StartBool StartBool) diff --git a/lib/General_Track/from_2018/twolets1.sl b/lib/General_Track/from_2018/twolets1.sl index 73a57baf..fabfe1ad 100644 --- a/lib/General_Track/from_2018/twolets1.sl +++ b/lib/General_Track/from_2018/twolets1.sl @@ -6,7 +6,7 @@ ((Start Int) (CInt Int)) ( (Start Int ( - (let ((y CInt) (z CInt)) (+ (+ y x) z)) + (+ (+ CInt x) CInt) ) ) (CInt Int (0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15)) @@ -18,7 +18,7 @@ ((Start Int) (CInt Int)) ( (Start Int (x - (let ((y Start) (z CInt)) (+ (+ y x) z)) + (+ (+ Start x) CInt) ) ) (CInt Int (0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15)) diff --git a/lib/General_Track/from_2018/twolets10.sl b/lib/General_Track/from_2018/twolets10.sl index 6af30115..7d992e4e 100644 --- a/lib/General_Track/from_2018/twolets10.sl +++ b/lib/General_Track/from_2018/twolets10.sl @@ -6,9 +6,7 @@ ((Start Int) (CInt Int)) ( (Start Int ( - (let ((y1 CInt) (y2 CInt) (y3 CInt) (y4 CInt) (y5 CInt) - (y6 CInt) (y7 CInt) (y8 CInt) (y9 CInt) (y10 CInt)) - (+ (+ (+ (+ (+ (+ (+ (+ (+ (+ x y1) y2) y3) y4) y5) y6) y7) y8) y9) y10)) + (+ (+ (+ (+ (+ (+ (+ (+ (+ (+ x CInt) CInt) CInt) CInt) CInt) CInt) CInt) CInt) CInt) CInt) ) ) (CInt Int (0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 (- 1) (- 2) (- 3) (- 4) (- 5) (- 6) (- 7) (- 8) (- 9) (- 10))) @@ -19,9 +17,7 @@ ((Start Int) (CInt Int)) ( (Start Int ( - (let ((y1 CInt) (y2 CInt) (y3 CInt) (y4 CInt) (y5 CInt) - (y6 CInt) (y7 CInt) (y8 CInt) (y9 CInt) (y10 CInt)) - (+ (+ (+ (+ (+ (+ (+ (+ (+ (+ x y1) y2) y3) y4) y5) y6) y7) y8) y9) y10)) + (+ (+ (+ (+ (+ (+ (+ (+ (+ (+ x CInt) CInt) CInt) CInt) CInt) CInt) CInt) CInt) CInt) CInt) ) ) (CInt Int (0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 (- 1) (- 2) (- 3) (- 4) (- 5) (- 6) (- 7) (- 8) (- 9) (- 10))) diff --git a/lib/General_Track/from_2018/twolets3.sl b/lib/General_Track/from_2018/twolets3.sl index 14e54404..4bc4ce5b 100644 --- a/lib/General_Track/from_2018/twolets3.sl +++ b/lib/General_Track/from_2018/twolets3.sl @@ -6,7 +6,7 @@ ((Start Int) (CInt Int)) ( (Start Int ( - (let ((y CInt) (z CInt) (w CInt)) (+ (+ (+ y x) z) w)) + (+ (+ (+ CInt x) CInt) CInt) ) ) (CInt Int (0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15)) @@ -18,7 +18,7 @@ ((Start Int) (CInt Int)) ( (Start Int (x - (let ((y Start) (z CInt) (w CInt)) (+ (+ (+ y x) z) w)) + (+ (+ (+ Start x) CInt) CInt) ) ) (CInt Int (0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15)) diff --git a/lib/General_Track/from_2018/twolets4.sl b/lib/General_Track/from_2018/twolets4.sl index 64ca5ce3..9b554b6d 100644 --- a/lib/General_Track/from_2018/twolets4.sl +++ b/lib/General_Track/from_2018/twolets4.sl @@ -6,8 +6,7 @@ ((Start Int) (CInt Int)) ( (Start Int ( - (let ((y CInt) (z CInt) (w CInt) (u CInt)) - (+ (+ (+ (+ y x) z) w) u)) + (+ (+ (+ (+ CInt x) CInt) CInt) CInt) ) ) (CInt Int (0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15)) @@ -19,8 +18,7 @@ ((Start Int) (CInt Int)) ( (Start Int (x - (let ((y Start) (z CInt) (w CInt) (u CInt)) - (+ (+ (+ (+ y x) z) w) u)) + (+ (+ (+ (+ Start x) CInt) CInt) CInt) ) ) (CInt Int (0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15)) diff --git a/lib/General_Track/from_2018/twolets5.sl b/lib/General_Track/from_2018/twolets5.sl index 41309137..20bca029 100644 --- a/lib/General_Track/from_2018/twolets5.sl +++ b/lib/General_Track/from_2018/twolets5.sl @@ -6,8 +6,7 @@ ((Start Int) (CInt Int)) ( (Start Int ( - (let ((y1 CInt) (y2 CInt) (y3 CInt) (y4 CInt) (y5 CInt)) - (+ (+ (+ (+ y1 y2) y3) y4) y5)) + (+ (+ (+ (+ CInt CInt) CInt) CInt) CInt) ) ) (CInt Int (0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15)) @@ -18,8 +17,7 @@ ((Start Int) (CInt Int)) ( (Start Int ( - (let ((y1 CInt) (y2 CInt) (y3 CInt) (y4 CInt) (y5 CInt)) - (+ (+ (+ (+ y1 y2) y3) y4) y5)) + (+ (+ (+ (+ CInt CInt) CInt) CInt) CInt) ) ) (CInt Int (0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15)) diff --git a/lib/General_Track/from_2018/twolets6.sl b/lib/General_Track/from_2018/twolets6.sl index 3fe0e3e8..4f270cae 100644 --- a/lib/General_Track/from_2018/twolets6.sl +++ b/lib/General_Track/from_2018/twolets6.sl @@ -6,9 +6,7 @@ ((Start Int) (CInt Int)) ( (Start Int ( - (let ((y1 CInt) (y2 CInt) (y3 CInt) (y4 CInt) (y5 CInt) - (y6 CInt)) - (+ (+ (+ (+ (+ (+ x y1) y2) y3) y4) y5) y6)) + (+ (+ (+ (+ (+ (+ x CInt) CInt) CInt) CInt) CInt) CInt) ) ) (CInt Int (0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 (- 1) (- 2) (- 3) (- 4) (- 5) (- 6) (- 7) (- 8) (- 9) (- 10))) @@ -19,9 +17,7 @@ ((Start Int) (CInt Int)) ( (Start Int ( - (let ((y1 CInt) (y2 CInt) (y3 CInt) (y4 CInt) (y5 CInt) - (y6 CInt)) - (+ (+ (+ (+ (+ (+ x y1) y2) y3) y4) y5) y6)) + (+ (+ (+ (+ (+ (+ x CInt) CInt) CInt) CInt) CInt) CInt) ) ) (CInt Int (0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 (- 1) (- 2) (- 3) (- 4) (- 5) (- 6) (- 7) (- 8) (- 9) (- 10))) diff --git a/lib/General_Track/from_2018/twolets7.sl b/lib/General_Track/from_2018/twolets7.sl index 0eeb65df..83f8874f 100644 --- a/lib/General_Track/from_2018/twolets7.sl +++ b/lib/General_Track/from_2018/twolets7.sl @@ -6,9 +6,7 @@ ((Start Int) (CInt Int)) ( (Start Int ( - (let ((y1 CInt) (y2 CInt) (y3 CInt) (y4 CInt) (y5 CInt) - (y6 CInt) (y7 CInt) ) - (+ (+ (+ (+ (+ (+ (+ x y1) y2) y3) y4) y5) y6) y7)) + (+ (+ (+ (+ (+ (+ (+ x CInt) CInt) CInt) CInt) CInt) CInt) CInt) ) ) (CInt Int (0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 (- 1) (- 2) (- 3) (- 4) (- 5) (- 6) (- 7) (- 8) (- 9) (- 10))) @@ -19,9 +17,7 @@ ((Start Int) (CInt Int)) ( (Start Int ( - (let ((y1 CInt) (y2 CInt) (y3 CInt) (y4 CInt) (y5 CInt) - (y6 CInt) (y7 CInt) ) - (+ (+ (+ (+ (+ (+ (+ x y1) y2) y3) y4) y5) y6) y7)) + (+ (+ (+ (+ (+ (+ (+ x CInt) CInt) CInt) CInt) CInt) CInt) CInt) ) ) (CInt Int (0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 (- 1) (- 2) (- 3) (- 4) (- 5) (- 6) (- 7) (- 8) (- 9) (- 10))) diff --git a/lib/General_Track/from_2018/twolets8.sl b/lib/General_Track/from_2018/twolets8.sl index 47024325..e5276cb0 100644 --- a/lib/General_Track/from_2018/twolets8.sl +++ b/lib/General_Track/from_2018/twolets8.sl @@ -6,9 +6,7 @@ ((Start Int) (CInt Int)) ( (Start Int ( - (let ((y1 CInt) (y2 CInt) (y3 CInt) (y4 CInt) (y5 CInt) - (y6 CInt) (y7 CInt) (y8 CInt) (y9 CInt) (y10 CInt)) - (+ (+ (+ (+ (+ (+ (+ (+ x y1) y2) y3) y4) y5) y6) y7) y8)) + (+ (+ (+ (+ (+ (+ (+ (+ x CInt) CInt) CInt) CInt) CInt) CInt) CInt) CInt) ) ) (CInt Int (0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 (- 1) (- 2) (- 3) (- 4) (- 5) (- 6) (- 7) (- 8) (- 9) (- 10))) @@ -19,9 +17,7 @@ ((Start Int) (CInt Int)) ( (Start Int ( - (let ((y1 CInt) (y2 CInt) (y3 CInt) (y4 CInt) (y5 CInt) - (y6 CInt) (y7 CInt) (y8 CInt) (y9 CInt) (y10 CInt)) - (+ (+ (+ (+ (+ (+ (+ (+ x y1) y2) y3) y4) y5) y6) y7) y8)) + (+ (+ (+ (+ (+ (+ (+ (+ x CInt) CInt) CInt) CInt) CInt) CInt) CInt) CInt) ) ) (CInt Int (0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 (- 1) (- 2) (- 3) (- 4) (- 5) (- 6) (- 7) (- 8) (- 9) (- 10))) diff --git a/lib/General_Track/from_2018/twolets9.sl b/lib/General_Track/from_2018/twolets9.sl index 208cc3dc..162a98d1 100644 --- a/lib/General_Track/from_2018/twolets9.sl +++ b/lib/General_Track/from_2018/twolets9.sl @@ -6,9 +6,7 @@ ((Start Int) (CInt Int)) ( (Start Int ( - (let ((y1 CInt) (y2 CInt) (y3 CInt) (y4 CInt) (y5 CInt) - (y6 CInt) (y7 CInt) (y8 CInt) (y9 CInt) (y10 CInt)) - (+ (+ (+ (+ (+ (+ (+ (+ (+ x y1) y2) y3) y4) y5) y6) y7) y8) y9)) + (+ (+ (+ (+ (+ (+ (+ (+ (+ x CInt) CInt) CInt) CInt) CInt) CInt) CInt) CInt) CInt) ) ) (CInt Int (0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 (- 1) (- 2) (- 3) (- 4) (- 5) (- 6) (- 7) (- 8) (- 9) (- 10))) @@ -19,9 +17,7 @@ ((Start Int) (CInt Int)) ( (Start Int ( - (let ((y1 CInt) (y2 CInt) (y3 CInt) (y4 CInt) (y5 CInt) - (y6 CInt) (y7 CInt) (y8 CInt) (y9 CInt) (y10 CInt)) - (+ (+ (+ (+ (+ (+ (+ (+ (+ x y1) y2) y3) y4) y5) y6) y7) y8) y9)) + (+ (+ (+ (+ (+ (+ (+ (+ (+ x CInt) CInt) CInt) CInt) CInt) CInt) CInt) CInt) CInt) ) ) (CInt Int (0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 (- 1) (- 2) (- 3) (- 4) (- 5) (- 6) (- 7) (- 8) (- 9) (- 10)))