// This file is part of the SV-Benchmarks collection of verification tasks: // https://gitlab.com/sosy-lab/benchmarking/sv-benchmarks // // SPDX-FileCopyrightText: 2022 Jana (Philipp) Berger // // SPDX-License-Identifier: GPL-3.0-or-later // Prototype declarations of the functions used to communicate with the model checkers extern unsigned long __VERIFIER_nondet_ulong(); extern long __VERIFIER_nondet_long(); extern unsigned char __VERIFIER_nondet_uchar(); extern char __VERIFIER_nondet_char(); extern unsigned short __VERIFIER_nondet_ushort(); extern short __VERIFIER_nondet_short(); extern float __VERIFIER_nondet_float(); extern double __VERIFIER_nondet_double(); extern void abort(void); extern void __assert_fail(const char *, const char *, unsigned int, const char *) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__)); void reach_error() { __assert_fail("0", "Req1_Prop1_Batch35Amount500.c", 13, "reach_error"); } void __VERIFIER_assert(int cond) { if(!(cond)) { ERROR: {reach_error();abort();} } return; } void assume_abort_if_not(int cond) { if(!cond) { abort(); } } #define max(a,b) (((a) > (b)) ? (a) : (b)) #define min(a,b) (((a) < (b)) ? (a) : (b)) #define abs(a) (((a) < 0 ) ? -(a) : (a)) // Function prototypes // Internal control logic variables unsigned char isInitial = 0; // Signal variables signed char var_1_1 = 32; signed char var_1_6 = 8; signed char var_1_7 = 0; signed char var_1_8 = -64; signed char var_1_9 = 16; signed char var_1_10 = -8; signed char var_1_11 = -16; signed char var_1_12 = 5; signed long int var_1_13 = 32; signed long int var_1_15 = -1673486024; unsigned long int var_1_17 = 64; signed char var_1_19 = 25; unsigned short int var_1_23 = 32; unsigned short int var_1_24 = 59231; unsigned short int var_1_26 = 2; signed long int var_1_27 = 1603364697; unsigned short int var_1_28 = 32; unsigned char var_1_32 = 8; unsigned char var_1_33 = 50; unsigned char var_1_34 = 200; unsigned char var_1_35 = 8; unsigned char var_1_36 = 1; unsigned char var_1_37 = 0; unsigned char var_1_38 = 0; float var_1_39 = 9.2; float var_1_40 = 9999999999.375; float var_1_41 = -0.8; float var_1_42 = 64.7; float var_1_43 = 256.75; float var_1_44 = 1.5; float var_1_45 = 127.5; double var_1_46 = 1.6; signed short int var_1_47 = -50; signed short int var_1_48 = 24927; signed short int var_1_49 = 10000; signed long int var_1_50 = 32; signed short int var_1_51 = 256; unsigned short int var_1_52 = 16; float var_1_53 = -0.05; float var_1_55 = 10.75; float var_1_56 = 100.5; float var_1_57 = 31.5; unsigned short int var_1_58 = 5; unsigned short int var_1_59 = 31597; unsigned long int var_1_60 = 1; unsigned long int var_1_61 = 0; float var_1_62 = 10.5; float var_1_63 = 0.0; float var_1_64 = 0.0; unsigned long int var_1_65 = 4; double var_1_66 = 0.0; signed long int var_1_67 = 16; signed long int var_1_68 = -5; signed long int var_1_69 = -100; unsigned char var_1_70 = 0; unsigned short int var_1_71 = 2; signed long int var_1_72 = -1; signed short int var_1_73 = -25; unsigned short int var_1_74 = 32; unsigned short int var_1_75 = 54571; double var_1_76 = 3.25; double var_1_77 = 5.75; double var_1_78 = 63.5; double var_1_79 = 0.0; double var_1_80 = 0.0; unsigned long int var_1_81 = 8; unsigned char var_1_82 = 25; double var_1_83 = 0.75; double var_1_85 = 7.95; unsigned long int var_1_86 = 50; signed char var_1_87 = 4; signed char var_1_88 = 10; signed char var_1_89 = 0; unsigned long int var_1_90 = 4183332140; unsigned long int var_1_91 = 1630873908; double var_1_92 = 0.8; double var_1_93 = 200.7; signed char var_1_94 = 5; signed char var_1_95 = 0; unsigned long int var_1_96 = 500; unsigned long int var_1_98 = 1821095966; unsigned char var_1_99 = 32; unsigned char var_1_101 = 100; float var_1_102 = 0.0; unsigned short int var_1_103 = 10; signed long int var_1_105 = 8; float var_1_107 = 256.6; unsigned char var_1_108 = 1; unsigned short int var_1_109 = 64; unsigned char var_1_110 = 0; unsigned char var_1_111 = 0; unsigned char var_1_112 = 1; double var_1_113 = 1.5; unsigned char var_1_114 = 1; unsigned short int var_1_116 = 1; double var_1_117 = 0.85; signed long int var_1_118 = -8; signed char var_1_119 = -5; unsigned long int var_1_120 = 50; unsigned long int var_1_121 = 128; signed short int var_1_122 = -128; double var_1_123 = 15.58; unsigned char var_1_124 = 2; signed long int var_1_125 = 128; // Calibration values // Last'ed variables signed char last_1_var_1_1 = 32; signed long int last_1_var_1_13 = 32; unsigned long int last_1_var_1_17 = 64; unsigned short int last_1_var_1_23 = 32; unsigned short int last_1_var_1_28 = 32; signed short int last_1_var_1_51 = 256; unsigned short int last_1_var_1_52 = 16; float last_1_var_1_53 = -0.05; unsigned long int last_1_var_1_61 = 0; signed long int last_1_var_1_67 = 16; signed long int last_1_var_1_68 = -5; signed long int last_1_var_1_69 = -100; unsigned char last_1_var_1_70 = 0; signed long int last_1_var_1_72 = -1; unsigned short int last_1_var_1_74 = 32; unsigned char last_1_var_1_82 = 25; double last_1_var_1_83 = 0.75; unsigned long int last_1_var_1_96 = 500; unsigned char last_1_var_1_99 = 32; unsigned short int last_1_var_1_103 = 10; signed long int last_1_var_1_105 = 8; unsigned char last_1_var_1_108 = 1; unsigned char last_1_var_1_110 = 0; double last_1_var_1_113 = 1.5; unsigned char last_1_var_1_114 = 1; unsigned short int last_1_var_1_116 = 1; signed char last_1_var_1_119 = -5; signed short int last_1_var_1_122 = -128; unsigned char last_1_var_1_124 = 2; signed long int last_1_var_1_125 = 128; // Additional functions void initially(void) { } void step(void) { // From: Req30Batch35Amount500 signed short int stepLocal_17 = var_1_49; signed long int stepLocal_16 = last_1_var_1_122; if (stepLocal_17 <= (var_1_33 + var_1_10)) { if (stepLocal_16 < last_1_var_1_103) { var_1_81 = (4209585332u - last_1_var_1_108); } else { var_1_81 = (var_1_15 - last_1_var_1_103); } } // From: Req33Batch35Amount500 if (var_1_9 <= ((min (var_1_35 , var_1_87)) - (max (var_1_88 , var_1_89)))) { var_1_86 = ((var_1_90 - last_1_var_1_28) - (var_1_27 - (var_1_35 + last_1_var_1_122))); } else { if (-8 != var_1_12) { var_1_86 = ((var_1_27 + var_1_91) - (last_1_var_1_105 + var_1_48)); } } // From: Req56Batch35Amount500 signed long int stepLocal_29 = - last_1_var_1_99; unsigned char stepLocal_28 = last_1_var_1_114; if (last_1_var_1_74 > stepLocal_29) { if (stepLocal_28 || (last_1_var_1_52 > last_1_var_1_119)) { var_1_125 = (max ((last_1_var_1_125 + last_1_var_1_124) , 16)); } } else { var_1_125 = last_1_var_1_69; } // From: Req46Batch35Amount500 signed long int stepLocal_27 = var_1_15; unsigned char stepLocal_26 = 100 != last_1_var_1_61; if (var_1_112) { var_1_114 = (! var_1_37); } else { if (stepLocal_27 <= ((var_1_101 + last_1_var_1_108) - (var_1_59 + last_1_var_1_116))) { if (! var_1_38) { if ((last_1_var_1_72 >= last_1_var_1_74) && stepLocal_26) { var_1_114 = (last_1_var_1_70 || var_1_111); } else { var_1_114 = var_1_111; } } else { var_1_114 = var_1_111; } } else { var_1_114 = var_1_38; } } // From: Req44Batch35Amount500 if (last_1_var_1_28 != (last_1_var_1_28 * last_1_var_1_124)) { var_1_110 = (! var_1_111); } else { if ((- last_1_var_1_124) > -500) { var_1_110 = (var_1_111 || var_1_112); } else { if ((var_1_27 & last_1_var_1_17) <= var_1_49) { var_1_110 = (! var_1_111); } } } // From: Req7Batch35Amount500 signed long int stepLocal_7 = var_1_27; signed long int stepLocal_6 = max (last_1_var_1_108 , last_1_var_1_125); if (stepLocal_6 < last_1_var_1_99) { if (var_1_8 != stepLocal_7) { var_1_32 = (max (var_1_33 , (var_1_34 - (max (var_1_35 , 4))))); } else { var_1_32 = (var_1_34 - var_1_35); } } // From: Req37Batch35Amount500 signed long int stepLocal_23 = var_1_48 * 4; if (last_1_var_1_113 >= (abs (last_1_var_1_83))) { if (stepLocal_23 < (last_1_var_1_125 | (var_1_15 + last_1_var_1_122))) { var_1_99 = (var_1_34 - var_1_88); } } else { var_1_99 = ((var_1_101 + 100) - var_1_89); } // From: Req8Batch35Amount500 if (((last_1_var_1_17 + 1) + last_1_var_1_68) > (last_1_var_1_96 >> last_1_var_1_51)) { var_1_36 = (var_1_37 || var_1_38); } else { if (last_1_var_1_110 && var_1_37) { var_1_36 = var_1_37; } } // From: Req54Batch35Amount500 if (var_1_36) { var_1_123 = var_1_43; } else { var_1_123 = var_1_85; } // From: Req55Batch35Amount500 if (last_1_var_1_70) { var_1_124 = var_1_35; } else { var_1_124 = var_1_101; } // From: Req42Batch35Amount500 if (var_1_38 || last_1_var_1_114) { if ((min (var_1_35 , last_1_var_1_82)) >= last_1_var_1_68) { var_1_108 = (max ((max (var_1_101 , var_1_89)) , (var_1_35 + 1))); } } else { var_1_108 = (max (var_1_89 , var_1_101)); } // From: Req10Batch35Amount500 if (var_1_38) { var_1_46 = (max (var_1_45 , (abs (min (var_1_41 , var_1_44))))); } // From: Req11Batch35Amount500 var_1_47 = ((var_1_48 - (var_1_49 - var_1_33)) - 2); // From: Req12Batch35Amount500 signed char stepLocal_8 = var_1_11; if (stepLocal_8 > var_1_35) { var_1_50 = var_1_12; } // From: Req13Batch35Amount500 signed long int stepLocal_9 = -100 / var_1_19; if ((1 * 16) >= stepLocal_9) { var_1_51 = (10 + 2); } else { var_1_51 = (abs (var_1_33)); } // From: Req16Batch35Amount500 if (25 == var_1_35) { var_1_58 = (var_1_24 - (max (var_1_33 , var_1_35))); } else { var_1_58 = (var_1_24 - (var_1_59 - var_1_34)); } // From: Req31Batch35Amount500 var_1_82 = ((min (200 , 128)) - 5); // From: Req34Batch35Amount500 if ((min (var_1_10 , -200)) <= var_1_51) { var_1_92 = (31.5 - (15.5 + var_1_55)); } else { var_1_92 = ((var_1_56 - (var_1_79 - var_1_93)) + var_1_78); } // From: Req38Batch35Amount500 if (var_1_92 <= ((- var_1_85) / (abs (var_1_66)))) { var_1_102 = (var_1_64 - (var_1_57 + var_1_55)); } // From: Req47Batch35Amount500 if (var_1_37) { var_1_116 = var_1_34; } // From: Req48Batch35Amount500 var_1_117 = var_1_44; // From: Req50Batch35Amount500 var_1_119 = var_1_10; // From: Req53Batch35Amount500 if (var_1_37) { var_1_122 = var_1_6; } else { var_1_122 = var_1_48; } // From: Req39Batch35Amount500 unsigned long int stepLocal_24 = abs (var_1_81); if (stepLocal_24 >= var_1_58) { var_1_103 = (var_1_24 - var_1_101); } else { var_1_103 = (min (var_1_101 , var_1_49)); } // From: Req14Batch35Amount500 var_1_52 = (min ((36148 - var_1_48) , (var_1_86 + var_1_119))); // From: Req36Batch35Amount500 unsigned char stepLocal_22 = var_1_110; signed long int stepLocal_21 = var_1_19 + var_1_10; if (stepLocal_21 < var_1_52) { if (var_1_36 || stepLocal_22) { var_1_96 = ((var_1_91 + (var_1_98 - var_1_89)) - (var_1_27 - var_1_49)); } else { var_1_96 = ((var_1_90 - var_1_59) - (abs (var_1_75))); } } // From: Req41Batch35Amount500 if (var_1_86 != var_1_82) { var_1_107 = (max (var_1_79 , (var_1_64 + 32.5f))); } else { var_1_107 = (var_1_55 + var_1_79); } // From: Req28Batch35Amount500 signed long int stepLocal_15 = var_1_124 - var_1_33; unsigned long int stepLocal_14 = 4u; if (var_1_49 > stepLocal_15) { if (stepLocal_14 < (var_1_125 >> last_1_var_1_74)) { var_1_74 = ((min (var_1_24 , (var_1_75 - var_1_82))) - var_1_34); } } // From: Req4Batch35Amount500 if (var_1_114) { var_1_23 = (((abs (var_1_24)) - last_1_var_1_23) - var_1_124); } // From: Req24Batch35Amount500 if (var_1_110) { var_1_70 = (var_1_36 && var_1_38); } // From: Req45Batch35Amount500 if (var_1_110) { if (var_1_70) { var_1_113 = ((max (var_1_45 , var_1_64)) - (var_1_63 - var_1_56)); } else { var_1_113 = var_1_77; } } // From: Req5Batch35Amount500 signed long int stepLocal_4 = (min (var_1_82 , var_1_24)) - (var_1_27 - var_1_23); if (stepLocal_4 >= (var_1_23 * var_1_74)) { var_1_26 = ((var_1_24 - var_1_108) - var_1_99); } // From: Req21Batch35Amount500 unsigned short int stepLocal_13 = var_1_103; unsigned char stepLocal_12 = var_1_38 || var_1_114; if (stepLocal_13 <= ((var_1_124 * last_1_var_1_67) * var_1_82)) { if (var_1_37) { var_1_67 = ((var_1_103 + 16) - (var_1_59 + var_1_24)); } else { if (stepLocal_12 && var_1_36) { var_1_67 = var_1_49; } else { var_1_67 = ((var_1_122 + var_1_26) - (var_1_33 + var_1_59)); } } } else { var_1_67 = (min ((var_1_108 + var_1_35) , var_1_103)); } // From: Req26Batch35Amount500 var_1_72 = (var_1_108 - var_1_32); // From: Req9Batch35Amount500 if (var_1_24 <= var_1_122) { var_1_39 = (min (var_1_40 , var_1_41)); } else { var_1_39 = (var_1_42 - (max ((max (var_1_43 , var_1_44)) , var_1_45))); } // From: Req19Batch35Amount500 unsigned short int stepLocal_11 = var_1_74; unsigned char stepLocal_10 = var_1_33; if (var_1_82 >= stepLocal_10) { if (var_1_10 <= stepLocal_11) { var_1_62 = (min (var_1_43 , var_1_44)); } else { var_1_62 = ((min (var_1_45 , var_1_43)) - (var_1_63 - (var_1_64 - 16.5f))); } } // From: Req29Batch35Amount500 if (var_1_43 < (var_1_117 + var_1_44)) { var_1_76 = ((min (var_1_64 , var_1_55)) + (max ((max (var_1_56 , var_1_57)) , (min (var_1_77 , var_1_78))))); } else { var_1_76 = (var_1_64 - ((var_1_79 + var_1_80) - var_1_57)); } // From: Req52Batch35Amount500 if (var_1_36) { var_1_121 = var_1_88; } else { var_1_121 = var_1_103; } // From: Req15Batch35Amount500 if (var_1_117 <= (max (var_1_107 , last_1_var_1_53))) { var_1_53 = ((var_1_55 + 7.7f) - (var_1_56 + var_1_57)); } // From: Req20Batch35Amount500 if ((var_1_53 / var_1_64) != ((var_1_66 - var_1_55) - 64.5)) { var_1_65 = ((var_1_82 + var_1_82) + var_1_24); } // From: Req35Batch35Amount500 unsigned long int stepLocal_20 = var_1_65; if (! var_1_38) { var_1_94 = (var_1_10 + var_1_6); } else { if (var_1_12 >= stepLocal_20) { var_1_94 = (var_1_95 - 5); } } // From: Req51Batch35Amount500 if (var_1_70) { var_1_120 = var_1_23; } else { var_1_120 = var_1_99; } // From: Req43Batch35Amount500 unsigned char stepLocal_25 = var_1_38; if (var_1_110) { if (! var_1_110) { var_1_109 = (abs (var_1_48)); } else { if (stepLocal_25 && var_1_36) { var_1_109 = (var_1_120 + (abs (var_1_99))); } } } else { var_1_109 = (var_1_108 + (var_1_59 - (10000 - var_1_101))); } // From: Req2Batch35Amount500 if (! ((var_1_39 * var_1_53) > var_1_123)) { var_1_13 = var_1_9; } else { var_1_13 = (((abs (var_1_15)) - var_1_116) - last_1_var_1_13); } // From: Req18Batch35Amount500 if (((var_1_13 + 32u) ^ (var_1_15 - 128u)) == var_1_120) { var_1_61 = (var_1_15 - (var_1_24 + var_1_32)); } // From: Req27Batch35Amount500 if (var_1_38 && var_1_114) { var_1_73 = (max (((var_1_48 - var_1_33) - var_1_49) , var_1_6)); } else { var_1_73 = (max ((min (var_1_48 , (var_1_8 + var_1_12))) , ((min (var_1_35 , var_1_109)) + var_1_10))); } // From: Req23Batch35Amount500 if ((var_1_39 + (var_1_43 * var_1_55)) <= (var_1_45 / var_1_66)) { var_1_69 = (var_1_9 + (last_1_var_1_69 - (max (var_1_122 , var_1_124)))); } // From: Req25Batch35Amount500 var_1_71 = (((59970 - var_1_69) - var_1_35) - var_1_48); // From: Req1Batch35Amount500 if (var_1_102 < var_1_113) { if ((128 + (max (last_1_var_1_1 , 4))) <= (min (var_1_73 , 2))) { var_1_1 = (var_1_6 + 4); } else { if ((var_1_73 * last_1_var_1_1) <= var_1_6) { var_1_1 = (min ((var_1_6 + var_1_7) , var_1_8)); } else { var_1_1 = ((var_1_9 + var_1_10) + (min (var_1_6 , (var_1_11 + var_1_12)))); } } } else { if ((var_1_113 / 5.8f) > var_1_102) { var_1_1 = (abs (var_1_7)); } } // From: Req49Batch35Amount500 var_1_118 = var_1_69; // From: Req6Batch35Amount500 signed long int stepLocal_5 = (10 / -128) / var_1_19; if (stepLocal_5 >= var_1_99) { if (! ((min (var_1_9 , var_1_12)) <= var_1_73)) { var_1_28 = (((64 + var_1_94) + var_1_108) + (var_1_32 + var_1_124)); } } else { var_1_28 = var_1_24; } // From: Req32Batch35Amount500 signed long int stepLocal_19 = var_1_125 + (var_1_71 % 4); signed long int stepLocal_18 = 128 - var_1_35; if (stepLocal_18 < var_1_32) { if (var_1_34 > stepLocal_19) { var_1_83 = (max ((min (var_1_55 , var_1_78)) , var_1_77)); } else { var_1_83 = ((min (1.0000000000000075E14 , (var_1_55 + var_1_57))) - (var_1_79 + var_1_80)); } } else { if ((- var_1_76) == ((abs (last_1_var_1_83)) * var_1_41)) { if (var_1_43 >= var_1_113) { var_1_83 = (256.5 + var_1_79); } else { var_1_83 = (abs (var_1_85)); } } else { var_1_83 = (var_1_64 - var_1_57); } } // From: Req22Batch35Amount500 if (var_1_109 > var_1_124) { if (var_1_41 <= (max (var_1_66 , (- var_1_55)))) { var_1_68 = ((max (var_1_35 , var_1_28)) - var_1_32); } else { var_1_68 = ((var_1_24 - 1) + (var_1_74 - var_1_49)); } } else { var_1_68 = (max (var_1_15 , 128)); } // From: Req17Batch35Amount500 if ((min (var_1_76 , var_1_46)) <= var_1_83) { var_1_60 = var_1_124; } // From: Req40Batch35Amount500 if (var_1_102 == (var_1_64 * (var_1_92 + var_1_83))) { var_1_105 = (max ((var_1_34 - var_1_58) , (var_1_33 - var_1_96))); } else { var_1_105 = (var_1_23 - (var_1_35 + (max (var_1_58 , var_1_81)))); } // From: Req3Batch35Amount500 signed char stepLocal_3 = var_1_6; signed long int stepLocal_2 = var_1_116 / var_1_19; signed char stepLocal_1 = var_1_9; signed long int stepLocal_0 = var_1_67 * 128; if ((var_1_81 / -50) < stepLocal_3) { if (var_1_70) { if (var_1_15 <= stepLocal_1) { if (stepLocal_0 != var_1_15) { if (var_1_81 == stepLocal_2) { if (! var_1_36) { var_1_17 = (max ((var_1_105 + var_1_116) , (var_1_108 + var_1_124))); } } } } else { var_1_17 = var_1_124; } } } else { var_1_17 = var_1_108; } } void updateVariables() { var_1_6 = __VERIFIER_nondet_char(); assume_abort_if_not(var_1_6 >= -63); assume_abort_if_not(var_1_6 <= 63); var_1_7 = __VERIFIER_nondet_char(); assume_abort_if_not(var_1_7 >= -63); assume_abort_if_not(var_1_7 <= 63); var_1_8 = __VERIFIER_nondet_char(); assume_abort_if_not(var_1_8 >= -127); assume_abort_if_not(var_1_8 <= 126); var_1_9 = __VERIFIER_nondet_char(); assume_abort_if_not(var_1_9 >= -31); assume_abort_if_not(var_1_9 <= 32); var_1_10 = __VERIFIER_nondet_char(); assume_abort_if_not(var_1_10 >= -31); assume_abort_if_not(var_1_10 <= 31); var_1_11 = __VERIFIER_nondet_char(); assume_abort_if_not(var_1_11 >= -31); assume_abort_if_not(var_1_11 <= 32); var_1_12 = __VERIFIER_nondet_char(); assume_abort_if_not(var_1_12 >= -31); assume_abort_if_not(var_1_12 <= 31); var_1_15 = __VERIFIER_nondet_long(); assume_abort_if_not(var_1_15 >= -2147483646); assume_abort_if_not(var_1_15 <= -1073741822); var_1_19 = __VERIFIER_nondet_char(); assume_abort_if_not(var_1_19 >= -128); assume_abort_if_not(var_1_19 <= 127); assume_abort_if_not(var_1_19 != 0); var_1_24 = __VERIFIER_nondet_ushort(); assume_abort_if_not(var_1_24 >= 49150); assume_abort_if_not(var_1_24 <= 65534); var_1_27 = __VERIFIER_nondet_long(); assume_abort_if_not(var_1_27 >= 1073741823); assume_abort_if_not(var_1_27 <= 2147483647); var_1_33 = __VERIFIER_nondet_uchar(); assume_abort_if_not(var_1_33 >= 0); assume_abort_if_not(var_1_33 <= 254); var_1_34 = __VERIFIER_nondet_uchar(); assume_abort_if_not(var_1_34 >= 127); assume_abort_if_not(var_1_34 <= 254); var_1_35 = __VERIFIER_nondet_uchar(); assume_abort_if_not(var_1_35 >= 0); assume_abort_if_not(var_1_35 <= 127); var_1_37 = __VERIFIER_nondet_uchar(); assume_abort_if_not(var_1_37 >= 0); assume_abort_if_not(var_1_37 <= 0); var_1_38 = __VERIFIER_nondet_uchar(); assume_abort_if_not(var_1_38 >= 0); assume_abort_if_not(var_1_38 <= 0); var_1_40 = __VERIFIER_nondet_float(); assume_abort_if_not((var_1_40 >= -922337.2036854765600e+13F && var_1_40 <= -1.0e-20F) || (var_1_40 <= 9223372.036854765600e+12F && var_1_40 >= 1.0e-20F )); var_1_41 = __VERIFIER_nondet_float(); assume_abort_if_not((var_1_41 >= -922337.2036854765600e+13F && var_1_41 <= -1.0e-20F) || (var_1_41 <= 9223372.036854765600e+12F && var_1_41 >= 1.0e-20F )); var_1_42 = __VERIFIER_nondet_float(); assume_abort_if_not((var_1_42 >= 0.0F && var_1_42 <= -1.0e-20F) || (var_1_42 <= 9223372.036854765600e+12F && var_1_42 >= 1.0e-20F )); var_1_43 = __VERIFIER_nondet_float(); assume_abort_if_not((var_1_43 >= 0.0F && var_1_43 <= -1.0e-20F) || (var_1_43 <= 9223372.036854765600e+12F && var_1_43 >= 1.0e-20F )); var_1_44 = __VERIFIER_nondet_float(); assume_abort_if_not((var_1_44 >= 0.0F && var_1_44 <= -1.0e-20F) || (var_1_44 <= 9223372.036854765600e+12F && var_1_44 >= 1.0e-20F )); var_1_45 = __VERIFIER_nondet_float(); assume_abort_if_not((var_1_45 >= 0.0F && var_1_45 <= -1.0e-20F) || (var_1_45 <= 9223372.036854765600e+12F && var_1_45 >= 1.0e-20F )); var_1_48 = __VERIFIER_nondet_short(); assume_abort_if_not(var_1_48 >= 16382); assume_abort_if_not(var_1_48 <= 32766); var_1_49 = __VERIFIER_nondet_short(); assume_abort_if_not(var_1_49 >= 8191); assume_abort_if_not(var_1_49 <= 16383); var_1_55 = __VERIFIER_nondet_float(); assume_abort_if_not((var_1_55 >= 0.0F && var_1_55 <= -1.0e-20F) || (var_1_55 <= 4611686.018427382800e+12F && var_1_55 >= 1.0e-20F )); var_1_56 = __VERIFIER_nondet_float(); assume_abort_if_not((var_1_56 >= 0.0F && var_1_56 <= -1.0e-20F) || (var_1_56 <= 4611686.018427382800e+12F && var_1_56 >= 1.0e-20F )); var_1_57 = __VERIFIER_nondet_float(); assume_abort_if_not((var_1_57 >= 0.0F && var_1_57 <= -1.0e-20F) || (var_1_57 <= 4611686.018427382800e+12F && var_1_57 >= 1.0e-20F )); var_1_59 = __VERIFIER_nondet_ushort(); assume_abort_if_not(var_1_59 >= 16383); assume_abort_if_not(var_1_59 <= 32767); var_1_63 = __VERIFIER_nondet_float(); assume_abort_if_not((var_1_63 >= 4611686.018427382800e+12F && var_1_63 <= -1.0e-20F) || (var_1_63 <= 9223372.036854765600e+12F && var_1_63 >= 1.0e-20F )); var_1_64 = __VERIFIER_nondet_float(); assume_abort_if_not((var_1_64 >= 2305843.009213691390e+12F && var_1_64 <= -1.0e-20F) || (var_1_64 <= 4611686.018427382800e+12F && var_1_64 >= 1.0e-20F )); var_1_66 = __VERIFIER_nondet_double(); assume_abort_if_not((var_1_66 >= 4611686.018427387900e+12F && var_1_66 <= -1.0e-20F) || (var_1_66 <= 9223372.036854776000e+12F && var_1_66 >= 1.0e-20F )); var_1_75 = __VERIFIER_nondet_ushort(); assume_abort_if_not(var_1_75 >= 49150); assume_abort_if_not(var_1_75 <= 65534); var_1_77 = __VERIFIER_nondet_double(); assume_abort_if_not((var_1_77 >= -461168.6018427382800e+13F && var_1_77 <= -1.0e-20F) || (var_1_77 <= 4611686.018427382800e+12F && var_1_77 >= 1.0e-20F )); var_1_78 = __VERIFIER_nondet_double(); assume_abort_if_not((var_1_78 >= -461168.6018427382800e+13F && var_1_78 <= -1.0e-20F) || (var_1_78 <= 4611686.018427382800e+12F && var_1_78 >= 1.0e-20F )); var_1_79 = __VERIFIER_nondet_double(); assume_abort_if_not((var_1_79 >= 2305843.009213691390e+12F && var_1_79 <= -1.0e-20F) || (var_1_79 <= 4611686.018427382800e+12F && var_1_79 >= 1.0e-20F )); var_1_80 = __VERIFIER_nondet_double(); assume_abort_if_not((var_1_80 >= 2305843.009213691390e+12F && var_1_80 <= -1.0e-20F) || (var_1_80 <= 4611686.018427382800e+12F && var_1_80 >= 1.0e-20F )); var_1_85 = __VERIFIER_nondet_double(); assume_abort_if_not((var_1_85 >= -922337.2036854765600e+13F && var_1_85 <= -1.0e-20F) || (var_1_85 <= 9223372.036854765600e+12F && var_1_85 >= 1.0e-20F )); var_1_87 = __VERIFIER_nondet_char(); assume_abort_if_not(var_1_87 >= -1); assume_abort_if_not(var_1_87 <= 127); var_1_88 = __VERIFIER_nondet_char(); assume_abort_if_not(var_1_88 >= 0); assume_abort_if_not(var_1_88 <= 127); var_1_89 = __VERIFIER_nondet_char(); assume_abort_if_not(var_1_89 >= 0); assume_abort_if_not(var_1_89 <= 127); var_1_90 = __VERIFIER_nondet_ulong(); assume_abort_if_not(var_1_90 >= 3221225470); assume_abort_if_not(var_1_90 <= 4294967294); var_1_91 = __VERIFIER_nondet_ulong(); assume_abort_if_not(var_1_91 >= 1073741824); assume_abort_if_not(var_1_91 <= 2147483647); var_1_93 = __VERIFIER_nondet_double(); assume_abort_if_not((var_1_93 >= 0.0F && var_1_93 <= -1.0e-20F) || (var_1_93 <= 2305843.009213691390e+12F && var_1_93 >= 1.0e-20F )); var_1_95 = __VERIFIER_nondet_char(); assume_abort_if_not(var_1_95 >= -1); assume_abort_if_not(var_1_95 <= 126); var_1_98 = __VERIFIER_nondet_ulong(); assume_abort_if_not(var_1_98 >= 1610612735); assume_abort_if_not(var_1_98 <= 2147483647); var_1_101 = __VERIFIER_nondet_uchar(); assume_abort_if_not(var_1_101 >= 63); assume_abort_if_not(var_1_101 <= 127); var_1_111 = __VERIFIER_nondet_uchar(); assume_abort_if_not(var_1_111 >= 1); assume_abort_if_not(var_1_111 <= 1); var_1_112 = __VERIFIER_nondet_uchar(); assume_abort_if_not(var_1_112 >= 1); assume_abort_if_not(var_1_112 <= 1); } void updateLastVariables() { last_1_var_1_1 = var_1_1; last_1_var_1_13 = var_1_13; last_1_var_1_17 = var_1_17; last_1_var_1_23 = var_1_23; last_1_var_1_28 = var_1_28; last_1_var_1_51 = var_1_51; last_1_var_1_52 = var_1_52; last_1_var_1_53 = var_1_53; last_1_var_1_61 = var_1_61; last_1_var_1_67 = var_1_67; last_1_var_1_68 = var_1_68; last_1_var_1_69 = var_1_69; last_1_var_1_70 = var_1_70; last_1_var_1_72 = var_1_72; last_1_var_1_74 = var_1_74; last_1_var_1_82 = var_1_82; last_1_var_1_83 = var_1_83; last_1_var_1_96 = var_1_96; last_1_var_1_99 = var_1_99; last_1_var_1_103 = var_1_103; last_1_var_1_105 = var_1_105; last_1_var_1_108 = var_1_108; last_1_var_1_110 = var_1_110; last_1_var_1_113 = var_1_113; last_1_var_1_114 = var_1_114; last_1_var_1_116 = var_1_116; last_1_var_1_119 = var_1_119; last_1_var_1_122 = var_1_122; last_1_var_1_124 = var_1_124; last_1_var_1_125 = var_1_125; } int property() { return ((((((((((((((((((((((((((((((((((((((((((((((((((((((((var_1_102 < var_1_113) ? (((128 + (max (last_1_var_1_1 , 4))) <= (min (var_1_73 , 2))) ? (var_1_1 == ((signed char) (var_1_6 + 4))) : (((var_1_73 * last_1_var_1_1) <= var_1_6) ? (var_1_1 == ((signed char) (min ((var_1_6 + var_1_7) , var_1_8)))) : (var_1_1 == ((signed char) ((var_1_9 + var_1_10) + (min (var_1_6 , (var_1_11 + var_1_12)))))))) : (((var_1_113 / 5.8f) > var_1_102) ? (var_1_1 == ((signed char) (abs (var_1_7)))) : 1)) && ((! ((var_1_39 * var_1_53) > var_1_123)) ? (var_1_13 == ((signed long int) var_1_9)) : (var_1_13 == ((signed long int) (((abs (var_1_15)) - var_1_116) - last_1_var_1_13))))) && (((var_1_81 / -50) < var_1_6) ? (var_1_70 ? ((var_1_15 <= var_1_9) ? (((var_1_67 * 128) != var_1_15) ? ((var_1_81 == (var_1_116 / var_1_19)) ? ((! var_1_36) ? (var_1_17 == ((unsigned long int) (max ((var_1_105 + var_1_116) , (var_1_108 + var_1_124))))) : 1) : 1) : 1) : (var_1_17 == ((unsigned long int) var_1_124))) : 1) : (var_1_17 == ((unsigned long int) var_1_108)))) && (var_1_114 ? (var_1_23 == ((unsigned short int) (((abs (var_1_24)) - last_1_var_1_23) - var_1_124))) : 1)) && ((((min (var_1_82 , var_1_24)) - (var_1_27 - var_1_23)) >= (var_1_23 * var_1_74)) ? (var_1_26 == ((unsigned short int) ((var_1_24 - var_1_108) - var_1_99))) : 1)) && ((((10 / -128) / var_1_19) >= var_1_99) ? ((! ((min (var_1_9 , var_1_12)) <= var_1_73)) ? (var_1_28 == ((unsigned short int) (((64 + var_1_94) + var_1_108) + (var_1_32 + var_1_124)))) : 1) : (var_1_28 == ((unsigned short int) var_1_24)))) && (((max (last_1_var_1_108 , last_1_var_1_125)) < last_1_var_1_99) ? ((var_1_8 != var_1_27) ? (var_1_32 == ((unsigned char) (max (var_1_33 , (var_1_34 - (max (var_1_35 , 4))))))) : (var_1_32 == ((unsigned char) (var_1_34 - var_1_35)))) : 1)) && ((((last_1_var_1_17 + 1) + last_1_var_1_68) > (last_1_var_1_96 >> last_1_var_1_51)) ? (var_1_36 == ((unsigned char) (var_1_37 || var_1_38))) : ((last_1_var_1_110 && var_1_37) ? (var_1_36 == ((unsigned char) var_1_37)) : 1))) && ((var_1_24 <= var_1_122) ? (var_1_39 == ((float) (min (var_1_40 , var_1_41)))) : (var_1_39 == ((float) (var_1_42 - (max ((max (var_1_43 , var_1_44)) , var_1_45))))))) && (var_1_38 ? (var_1_46 == ((double) (max (var_1_45 , (abs (min (var_1_41 , var_1_44))))))) : 1)) && (var_1_47 == ((signed short int) ((var_1_48 - (var_1_49 - var_1_33)) - 2)))) && ((var_1_11 > var_1_35) ? (var_1_50 == ((signed long int) var_1_12)) : 1)) && (((1 * 16) >= (-100 / var_1_19)) ? (var_1_51 == ((signed short int) (10 + 2))) : (var_1_51 == ((signed short int) (abs (var_1_33)))))) && (var_1_52 == ((unsigned short int) (min ((36148 - var_1_48) , (var_1_86 + var_1_119)))))) && ((var_1_117 <= (max (var_1_107 , last_1_var_1_53))) ? (var_1_53 == ((float) ((var_1_55 + 7.7f) - (var_1_56 + var_1_57)))) : 1)) && ((25 == var_1_35) ? (var_1_58 == ((unsigned short int) (var_1_24 - (max (var_1_33 , var_1_35))))) : (var_1_58 == ((unsigned short int) (var_1_24 - (var_1_59 - var_1_34)))))) && (((min (var_1_76 , var_1_46)) <= var_1_83) ? (var_1_60 == ((unsigned long int) var_1_124)) : 1)) && ((((var_1_13 + 32u) ^ (var_1_15 - 128u)) == var_1_120) ? (var_1_61 == ((unsigned long int) (var_1_15 - (var_1_24 + var_1_32)))) : 1)) && ((var_1_82 >= var_1_33) ? ((var_1_10 <= var_1_74) ? (var_1_62 == ((float) (min (var_1_43 , var_1_44)))) : (var_1_62 == ((float) ((min (var_1_45 , var_1_43)) - (var_1_63 - (var_1_64 - 16.5f)))))) : 1)) && (((var_1_53 / var_1_64) != ((var_1_66 - var_1_55) - 64.5)) ? (var_1_65 == ((unsigned long int) ((var_1_82 + var_1_82) + var_1_24))) : 1)) && ((var_1_103 <= ((var_1_124 * last_1_var_1_67) * var_1_82)) ? (var_1_37 ? (var_1_67 == ((signed long int) ((var_1_103 + 16) - (var_1_59 + var_1_24)))) : (((var_1_38 || var_1_114) && var_1_36) ? (var_1_67 == ((signed long int) var_1_49)) : (var_1_67 == ((signed long int) ((var_1_122 + var_1_26) - (var_1_33 + var_1_59)))))) : (var_1_67 == ((signed long int) (min ((var_1_108 + var_1_35) , var_1_103)))))) && ((var_1_109 > var_1_124) ? ((var_1_41 <= (max (var_1_66 , (- var_1_55)))) ? (var_1_68 == ((signed long int) ((max (var_1_35 , var_1_28)) - var_1_32))) : (var_1_68 == ((signed long int) ((var_1_24 - 1) + (var_1_74 - var_1_49))))) : (var_1_68 == ((signed long int) (max (var_1_15 , 128)))))) && (((var_1_39 + (var_1_43 * var_1_55)) <= (var_1_45 / var_1_66)) ? (var_1_69 == ((signed long int) (var_1_9 + (last_1_var_1_69 - (max (var_1_122 , var_1_124)))))) : 1)) && (var_1_110 ? (var_1_70 == ((unsigned char) (var_1_36 && var_1_38))) : 1)) && (var_1_71 == ((unsigned short int) (((59970 - var_1_69) - var_1_35) - var_1_48)))) && (var_1_72 == ((signed long int) (var_1_108 - var_1_32)))) && ((var_1_38 && var_1_114) ? (var_1_73 == ((signed short int) (max (((var_1_48 - var_1_33) - var_1_49) , var_1_6)))) : (var_1_73 == ((signed short int) (max ((min (var_1_48 , (var_1_8 + var_1_12))) , ((min (var_1_35 , var_1_109)) + var_1_10))))))) && ((var_1_49 > (var_1_124 - var_1_33)) ? ((4u < (var_1_125 >> last_1_var_1_74)) ? (var_1_74 == ((unsigned short int) ((min (var_1_24 , (var_1_75 - var_1_82))) - var_1_34))) : 1) : 1)) && ((var_1_43 < (var_1_117 + var_1_44)) ? (var_1_76 == ((double) ((min (var_1_64 , var_1_55)) + (max ((max (var_1_56 , var_1_57)) , (min (var_1_77 , var_1_78))))))) : (var_1_76 == ((double) (var_1_64 - ((var_1_79 + var_1_80) - var_1_57)))))) && ((var_1_49 <= (var_1_33 + var_1_10)) ? ((last_1_var_1_122 < last_1_var_1_103) ? (var_1_81 == ((unsigned long int) (4209585332u - last_1_var_1_108))) : (var_1_81 == ((unsigned long int) (var_1_15 - last_1_var_1_103)))) : 1)) && (var_1_82 == ((unsigned char) ((min (200 , 128)) - 5)))) && (((128 - var_1_35) < var_1_32) ? ((var_1_34 > (var_1_125 + (var_1_71 % 4))) ? (var_1_83 == ((double) (max ((min (var_1_55 , var_1_78)) , var_1_77)))) : (var_1_83 == ((double) ((min (1.0000000000000075E14 , (var_1_55 + var_1_57))) - (var_1_79 + var_1_80))))) : (((- var_1_76) == ((abs (last_1_var_1_83)) * var_1_41)) ? ((var_1_43 >= var_1_113) ? (var_1_83 == ((double) (256.5 + var_1_79))) : (var_1_83 == ((double) (abs (var_1_85))))) : (var_1_83 == ((double) (var_1_64 - var_1_57)))))) && ((var_1_9 <= ((min (var_1_35 , var_1_87)) - (max (var_1_88 , var_1_89)))) ? (var_1_86 == ((unsigned long int) ((var_1_90 - last_1_var_1_28) - (var_1_27 - (var_1_35 + last_1_var_1_122))))) : ((-8 != var_1_12) ? (var_1_86 == ((unsigned long int) ((var_1_27 + var_1_91) - (last_1_var_1_105 + var_1_48)))) : 1))) && (((min (var_1_10 , -200)) <= var_1_51) ? (var_1_92 == ((double) (31.5 - (15.5 + var_1_55)))) : (var_1_92 == ((double) ((var_1_56 - (var_1_79 - var_1_93)) + var_1_78))))) && ((! var_1_38) ? (var_1_94 == ((signed char) (var_1_10 + var_1_6))) : ((var_1_12 >= var_1_65) ? (var_1_94 == ((signed char) (var_1_95 - 5))) : 1))) && (((var_1_19 + var_1_10) < var_1_52) ? ((var_1_36 || var_1_110) ? (var_1_96 == ((unsigned long int) ((var_1_91 + (var_1_98 - var_1_89)) - (var_1_27 - var_1_49)))) : (var_1_96 == ((unsigned long int) ((var_1_90 - var_1_59) - (abs (var_1_75)))))) : 1)) && ((last_1_var_1_113 >= (abs (last_1_var_1_83))) ? (((var_1_48 * 4) < (last_1_var_1_125 | (var_1_15 + last_1_var_1_122))) ? (var_1_99 == ((unsigned char) (var_1_34 - var_1_88))) : 1) : (var_1_99 == ((unsigned char) ((var_1_101 + 100) - var_1_89))))) && ((var_1_92 <= ((- var_1_85) / (abs (var_1_66)))) ? (var_1_102 == ((float) (var_1_64 - (var_1_57 + var_1_55)))) : 1)) && (((abs (var_1_81)) >= var_1_58) ? (var_1_103 == ((unsigned short int) (var_1_24 - var_1_101))) : (var_1_103 == ((unsigned short int) (min (var_1_101 , var_1_49)))))) && ((var_1_102 == (var_1_64 * (var_1_92 + var_1_83))) ? (var_1_105 == ((signed long int) (max ((var_1_34 - var_1_58) , (var_1_33 - var_1_96))))) : (var_1_105 == ((signed long int) (var_1_23 - (var_1_35 + (max (var_1_58 , var_1_81)))))))) && ((var_1_86 != var_1_82) ? (var_1_107 == ((float) (max (var_1_79 , (var_1_64 + 32.5f))))) : (var_1_107 == ((float) (var_1_55 + var_1_79))))) && ((var_1_38 || last_1_var_1_114) ? (((min (var_1_35 , last_1_var_1_82)) >= last_1_var_1_68) ? (var_1_108 == ((unsigned char) (max ((max (var_1_101 , var_1_89)) , (var_1_35 + 1))))) : 1) : (var_1_108 == ((unsigned char) (max (var_1_89 , var_1_101)))))) && (var_1_110 ? ((! var_1_110) ? (var_1_109 == ((unsigned short int) (abs (var_1_48)))) : ((var_1_38 && var_1_36) ? (var_1_109 == ((unsigned short int) (var_1_120 + (abs (var_1_99))))) : 1)) : (var_1_109 == ((unsigned short int) (var_1_108 + (var_1_59 - (10000 - var_1_101))))))) && ((last_1_var_1_28 != (last_1_var_1_28 * last_1_var_1_124)) ? (var_1_110 == ((unsigned char) (! var_1_111))) : (((- last_1_var_1_124) > -500) ? (var_1_110 == ((unsigned char) (var_1_111 || var_1_112))) : (((var_1_27 & last_1_var_1_17) <= var_1_49) ? (var_1_110 == ((unsigned char) (! var_1_111))) : 1)))) && (var_1_110 ? (var_1_70 ? (var_1_113 == ((double) ((max (var_1_45 , var_1_64)) - (var_1_63 - var_1_56)))) : (var_1_113 == ((double) var_1_77))) : 1)) && (var_1_112 ? (var_1_114 == ((unsigned char) (! var_1_37))) : ((var_1_15 <= ((var_1_101 + last_1_var_1_108) - (var_1_59 + last_1_var_1_116))) ? ((! var_1_38) ? (((last_1_var_1_72 >= last_1_var_1_74) && (100 != last_1_var_1_61)) ? (var_1_114 == ((unsigned char) (last_1_var_1_70 || var_1_111))) : (var_1_114 == ((unsigned char) var_1_111))) : (var_1_114 == ((unsigned char) var_1_111))) : (var_1_114 == ((unsigned char) var_1_38))))) && (var_1_37 ? (var_1_116 == ((unsigned short int) var_1_34)) : 1)) && (var_1_117 == ((double) var_1_44))) && (var_1_118 == ((signed long int) var_1_69))) && (var_1_119 == ((signed char) var_1_10))) && (var_1_70 ? (var_1_120 == ((unsigned long int) var_1_23)) : (var_1_120 == ((unsigned long int) var_1_99)))) && (var_1_36 ? (var_1_121 == ((unsigned long int) var_1_88)) : (var_1_121 == ((unsigned long int) var_1_103)))) && (var_1_37 ? (var_1_122 == ((signed short int) var_1_6)) : (var_1_122 == ((signed short int) var_1_48)))) && (var_1_36 ? (var_1_123 == ((double) var_1_43)) : (var_1_123 == ((double) var_1_85)))) && (last_1_var_1_70 ? (var_1_124 == ((unsigned char) var_1_35)) : (var_1_124 == ((unsigned char) var_1_101)))) && ((last_1_var_1_74 > (- last_1_var_1_99)) ? ((last_1_var_1_114 || (last_1_var_1_52 > last_1_var_1_119)) ? (var_1_125 == ((signed long int) (max ((last_1_var_1_125 + last_1_var_1_124) , 16)))) : 1) : (var_1_125 == ((signed long int) last_1_var_1_69))) ; } int main(void) { isInitial = 1; initially(); while (1) { updateLastVariables(); updateVariables(); step(); __VERIFIER_assert(property()); isInitial = 0; } return 0; }