// 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_Batch91Amount500.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 unsigned char var_1_1 = 200; unsigned char var_1_4 = 128; unsigned char var_1_5 = 16; unsigned char var_1_6 = 16; signed short int var_1_7 = -8; signed char var_1_9 = 0; signed char var_1_10 = 0; signed char var_1_11 = -64; signed char var_1_12 = 4; signed char var_1_13 = -2; signed char var_1_14 = 25; signed char var_1_15 = 64; signed char var_1_16 = 50; signed char var_1_17 = 5; float var_1_18 = 128.25; float var_1_19 = 32.5; float var_1_20 = 25.38; unsigned long int var_1_21 = 128; unsigned long int var_1_23 = 1796201152; unsigned long int var_1_24 = 3011885328; double var_1_25 = 7.6; double var_1_26 = 127.25; double var_1_27 = 7.625; unsigned char var_1_28 = 1; unsigned char var_1_30 = 0; unsigned char var_1_31 = 1; unsigned char var_1_32 = 0; unsigned long int var_1_33 = 16; unsigned long int var_1_34 = 3489975535; signed char var_1_35 = -25; signed char var_1_36 = 64; signed char var_1_37 = 0; float var_1_38 = 32.2; signed char var_1_39 = -100; signed char var_1_40 = 2; signed long int var_1_41 = -500; signed long int var_1_42 = 128; signed long int var_1_43 = 1438926077; float var_1_44 = 32.875; float var_1_45 = 4.25; signed char var_1_46 = -2; double var_1_47 = 2.875; unsigned char var_1_48 = 0; unsigned char var_1_49 = 0; signed short int var_1_50 = -128; signed short int var_1_51 = 18299; float var_1_52 = 3.25; float var_1_53 = 0.0; float var_1_54 = 2.5; float var_1_55 = 128.25; float var_1_56 = 128.25; unsigned char var_1_57 = 2; unsigned short int var_1_58 = 1; unsigned short int var_1_59 = 24134; unsigned short int var_1_60 = 27730; signed long int var_1_61 = -5; unsigned short int var_1_62 = 32; signed long int var_1_63 = -32; float var_1_64 = 1.85; float var_1_65 = 0.0; unsigned char var_1_66 = 1; unsigned char var_1_67 = 0; unsigned char var_1_68 = 1; unsigned char var_1_69 = 1; unsigned short int var_1_70 = 2; unsigned char var_1_71 = 0; unsigned char var_1_72 = 0; signed short int var_1_73 = 256; signed short int var_1_75 = -256; unsigned short int var_1_76 = 64; unsigned short int var_1_78 = 0; unsigned char var_1_80 = 25; unsigned char var_1_81 = 4; float var_1_82 = 127.5; signed char var_1_84 = -16; signed long int var_1_85 = 128; unsigned char var_1_86 = 0; signed char var_1_87 = -5; signed long int var_1_88 = 8; signed long int var_1_89 = 1; signed short int var_1_90 = -10; double var_1_91 = 127.6; unsigned long int var_1_92 = 64; unsigned char var_1_93 = 8; signed long int var_1_94 = -16; signed short int var_1_95 = 10; unsigned short int var_1_96 = 8; signed char var_1_97 = 4; double var_1_98 = 99.45; unsigned char var_1_99 = 0; signed char var_1_100 = 1; signed short int var_1_101 = 8; unsigned long int var_1_102 = 10; unsigned short int var_1_103 = 4; unsigned short int var_1_104 = 2; unsigned short int var_1_105 = 8; unsigned char var_1_106 = 1; unsigned char var_1_107 = 8; unsigned char var_1_108 = 0; // Calibration values // Last'ed variables signed long int last_1_var_1_41 = -500; signed long int last_1_var_1_42 = 128; unsigned char last_1_var_1_48 = 0; unsigned char last_1_var_1_49 = 0; unsigned short int last_1_var_1_62 = 32; signed long int last_1_var_1_63 = -32; unsigned char last_1_var_1_69 = 1; unsigned char last_1_var_1_71 = 0; unsigned char last_1_var_1_72 = 0; unsigned short int last_1_var_1_76 = 64; unsigned short int last_1_var_1_78 = 0; signed char last_1_var_1_87 = -5; signed short int last_1_var_1_90 = -10; signed char last_1_var_1_97 = 4; signed short int last_1_var_1_101 = 8; unsigned short int last_1_var_1_105 = 8; unsigned char last_1_var_1_106 = 1; // Additional functions void initially(void) { } void step(void) { // From: Req43Batch91Amount500 unsigned char stepLocal_25 = last_1_var_1_41 < var_1_4; if (stepLocal_25 || ((last_1_var_1_90 * var_1_15) == last_1_var_1_62)) { if (last_1_var_1_106) { var_1_90 = (var_1_88 + var_1_17); } } else { var_1_90 = ((last_1_var_1_41 + var_1_40) + (min ((var_1_13 + var_1_12) , last_1_var_1_78))); } // From: Req17Batch91Amount500 if (var_1_32 && ((var_1_19 - var_1_20) == 1.6f)) { if (var_1_90 <= var_1_43) { var_1_49 = (var_1_4 - (var_1_40 + var_1_16)); } } else { var_1_49 = (min (var_1_6 , var_1_17)); } // From: Req40Batch91Amount500 signed long int stepLocal_24 = last_1_var_1_48 ^ last_1_var_1_90; unsigned short int stepLocal_23 = var_1_59; if (var_1_14 <= stepLocal_23) { if (stepLocal_24 < (64 - var_1_4)) { var_1_85 = (-25 + (var_1_40 - 10)); } else { var_1_85 = (min (((var_1_43 - var_1_15) - last_1_var_1_42) , (max (var_1_6 , (min (last_1_var_1_48 , last_1_var_1_72)))))); } } // From: Req61Batch91Amount500 if (last_1_var_1_42 >= (var_1_16 - var_1_89)) { if (last_1_var_1_63 > last_1_var_1_87) { var_1_108 = (! (var_1_32 || var_1_67)); } else { var_1_108 = var_1_32; } } else { var_1_108 = var_1_32; } // From: Req28Batch91Amount500 if (! var_1_108) { var_1_69 = (max (var_1_15 , var_1_6)); } // From: Req2Batch91Amount500 var_1_7 = (abs ((max (0 , var_1_6)) - var_1_69)); // From: Req18Batch91Amount500 signed short int stepLocal_15 = var_1_7; if (stepLocal_15 <= var_1_43) { var_1_50 = ((var_1_51 - (min (var_1_40 , var_1_4))) - var_1_17); } // From: Req44Batch91Amount500 if (var_1_108) { var_1_91 = (max ((max (var_1_45 , 99.75)) , (abs (var_1_26 + var_1_27)))); } // From: Req12Batch91Amount500 if (! (63.9 > var_1_38)) { if (var_1_6 < (var_1_39 * last_1_var_1_42)) { var_1_42 = (max (var_1_15 , var_1_4)); } else { var_1_42 = var_1_12; } } else { if (((var_1_15 >> last_1_var_1_97) ^ 8) > (abs (var_1_10))) { if ((last_1_var_1_49 + last_1_var_1_97) < last_1_var_1_97) { if (last_1_var_1_69 > 32) { var_1_42 = var_1_6; } else { var_1_42 = ((var_1_15 + last_1_var_1_97) + var_1_14); } } else { var_1_42 = (var_1_4 - (var_1_6 + (var_1_40 + var_1_36))); } } else { var_1_42 = (var_1_16 - (var_1_43 - last_1_var_1_69)); } } // From: Req6Batch91Amount500 var_1_25 = (var_1_26 + var_1_27); // From: Req10Batch91Amount500 if (((var_1_19 - var_1_20) / var_1_38) < (- var_1_27)) { var_1_37 = (((abs (var_1_39)) - (var_1_17 + var_1_40)) - var_1_16); } else { var_1_37 = (var_1_16 + var_1_17); } // From: Req13Batch91Amount500 signed long int stepLocal_12 = ~ (var_1_36 - var_1_16); if (var_1_7 < stepLocal_12) { var_1_44 = (127.75f + (9.999999999975E10f + var_1_45)); } else { var_1_44 = var_1_27; } // From: Req14Batch91Amount500 if (var_1_32) { var_1_46 = var_1_16; } else { var_1_46 = ((min (var_1_15 , var_1_36)) - var_1_16); } // From: Req16Batch91Amount500 unsigned char stepLocal_14 = var_1_4; if (last_1_var_1_48 < stepLocal_14) { var_1_48 = (var_1_39 - (var_1_36 - var_1_40)); } else { var_1_48 = ((max (var_1_15 , var_1_36)) + var_1_16); } // From: Req20Batch91Amount500 if ((- 15.25f) >= var_1_55) { var_1_57 = (var_1_4 - var_1_16); } else { var_1_57 = (var_1_39 - (max (var_1_5 , var_1_17))); } // From: Req36Batch91Amount500 if (var_1_67) { var_1_80 = (max (var_1_15 , (max (var_1_4 , var_1_40)))); } else { var_1_80 = (var_1_39 - var_1_36); } // From: Req41Batch91Amount500 var_1_86 = (abs (var_1_5)); // From: Req42Batch91Amount500 if ((var_1_5 >> (max (var_1_88 , var_1_89))) < 8) { var_1_87 = var_1_39; } // From: Req48Batch91Amount500 if (var_1_32) { var_1_95 = var_1_10; } // From: Req49Batch91Amount500 var_1_96 = var_1_16; // From: Req50Batch91Amount500 var_1_97 = var_1_39; // From: Req51Batch91Amount500 var_1_98 = var_1_26; // From: Req52Batch91Amount500 var_1_99 = var_1_4; // From: Req53Batch91Amount500 var_1_100 = var_1_11; // From: Req56Batch91Amount500 var_1_103 = var_1_99; // From: Req58Batch91Amount500 if (var_1_30) { var_1_105 = last_1_var_1_105; } // From: Req59Batch91Amount500 if (var_1_30) { var_1_106 = var_1_32; } else { var_1_106 = var_1_31; } // From: Req60Batch91Amount500 if (var_1_106) { var_1_107 = var_1_40; } else { var_1_107 = var_1_4; } // From: Req1Batch91Amount500 signed long int stepLocal_0 = var_1_85; if (stepLocal_0 != var_1_103) { var_1_1 = (var_1_4 - var_1_5); } else { var_1_1 = ((max (50 , var_1_5)) + var_1_6); } // From: Req55Batch91Amount500 if (var_1_108) { var_1_102 = var_1_99; } else { var_1_102 = var_1_34; } // From: Req15Batch91Amount500 unsigned long int stepLocal_13 = var_1_23 << var_1_42; if (stepLocal_13 != var_1_107) { var_1_47 = (var_1_26 + var_1_45); } // From: Req4Batch91Amount500 if (((var_1_46 / var_1_4) ^ var_1_6) > (var_1_10 | (var_1_14 / var_1_15))) { var_1_18 = (var_1_19 - var_1_20); } else { var_1_18 = var_1_20; } // From: Req7Batch91Amount500 signed char stepLocal_5 = var_1_16; if (stepLocal_5 <= 16) { if (var_1_106) { if ((var_1_20 - var_1_19) == var_1_18) { var_1_28 = (! var_1_30); } else { if (var_1_30) { var_1_28 = var_1_31; } else { var_1_28 = var_1_32; } } } } // From: Req26Batch91Amount500 if (! var_1_106) { var_1_66 = (! var_1_31); } else { var_1_66 = ((var_1_32 || var_1_30) || var_1_67); } // From: Req30Batch91Amount500 if ((max (var_1_19 , (min (var_1_45 , var_1_56)))) <= var_1_26) { var_1_71 = (! var_1_31); } else { var_1_71 = ((last_1_var_1_71 && (var_1_103 != var_1_17)) || var_1_31); } // From: Req46Batch91Amount500 if (var_1_28) { var_1_93 = (min (var_1_5 , var_1_40)); } else { if (var_1_107 > ((- var_1_99) ^ (- var_1_24))) { var_1_93 = (max (var_1_36 , (var_1_39 - var_1_17))); } else { var_1_93 = (10 + 100); } } // From: Req57Batch91Amount500 if (var_1_106) { var_1_104 = 2; } // From: Req11Batch91Amount500 unsigned long int stepLocal_11 = var_1_102; if (var_1_17 < stepLocal_11) { var_1_41 = (var_1_16 - var_1_5); } // From: Req47Batch91Amount500 if (var_1_106) { if ((var_1_47 == var_1_47) && var_1_31) { var_1_94 = 4; } else { var_1_94 = var_1_69; } } // From: Req37Batch91Amount500 signed char stepLocal_21 = var_1_40; if (var_1_94 >= stepLocal_21) { var_1_81 = (max (var_1_15 , (var_1_36 + var_1_40))); } else { var_1_81 = (max ((var_1_4 - (var_1_40 + var_1_16)) , var_1_6)); } // From: Req38Batch91Amount500 if (var_1_36 < (32 - var_1_15)) { if ((var_1_108 || var_1_28) && var_1_28) { var_1_82 = (var_1_54 - var_1_56); } } else { var_1_82 = ((min (var_1_19 , var_1_55)) - var_1_54); } // From: Req9Batch91Amount500 unsigned char stepLocal_10 = var_1_31; if (var_1_66 || stepLocal_10) { var_1_35 = (-16 + var_1_16); } else { var_1_35 = (min ((var_1_15 - (var_1_36 - var_1_17)) , 10)); } // From: Req39Batch91Amount500 signed long int stepLocal_22 = min (var_1_40 , 5); if (var_1_41 >= stepLocal_22) { if (var_1_31) { if (var_1_18 > (var_1_54 - var_1_20)) { var_1_84 = var_1_12; } } else { var_1_84 = (var_1_17 - (max ((var_1_40 + var_1_16) , var_1_15))); } } // From: Req27Batch91Amount500 if (((var_1_55 - var_1_53) < var_1_82) || var_1_30) { if (var_1_71) { var_1_68 = (var_1_30 || (var_1_32 || (! var_1_31))); } else { var_1_68 = ((var_1_86 < (~ var_1_42)) && var_1_30); } } else { var_1_68 = ((var_1_6 <= var_1_7) || (! var_1_67)); } // From: Req8Batch91Amount500 signed long int stepLocal_9 = var_1_4 - 5; unsigned char stepLocal_8 = var_1_30; unsigned char stepLocal_7 = var_1_10 <= var_1_86; unsigned char stepLocal_6 = var_1_30; if (var_1_32 || stepLocal_6) { var_1_33 = (var_1_4 + (var_1_50 + var_1_5)); } else { if (stepLocal_8 && (var_1_91 > (var_1_20 * var_1_26))) { var_1_33 = var_1_6; } else { if (stepLocal_9 != (var_1_50 * var_1_23)) { if (stepLocal_7 && var_1_32) { var_1_33 = 4u; } else { var_1_33 = (var_1_24 - (max (var_1_81 , var_1_16))); } } else { var_1_33 = (var_1_34 - (var_1_17 + var_1_15)); } } } // From: Req31Batch91Amount500 unsigned char stepLocal_19 = var_1_68; if (var_1_68) { if (var_1_32 || stepLocal_19) { var_1_72 = var_1_17; } } // From: Req54Batch91Amount500 if (var_1_68) { var_1_101 = var_1_13; } else { var_1_101 = last_1_var_1_101; } // From: Req33Batch91Amount500 var_1_75 = var_1_101; // From: Req5Batch91Amount500 signed long int stepLocal_4 = var_1_15 / var_1_4; signed long int stepLocal_3 = var_1_95 + var_1_17; if (stepLocal_3 >= (max (var_1_33 , -128))) { var_1_21 = ((var_1_23 - var_1_95) + (var_1_5 + var_1_93)); } else { if (stepLocal_4 < var_1_94) { var_1_21 = (var_1_93 + 4u); } else { var_1_21 = (var_1_24 - var_1_95); } } // From: Req23Batch91Amount500 signed short int stepLocal_17 = var_1_75; if (stepLocal_17 > ((var_1_39 + var_1_16) ^ -2)) { var_1_62 = var_1_36; } // From: Req21Batch91Amount500 var_1_58 = ((max (var_1_39 , (var_1_59 + var_1_60))) - var_1_21); // From: Req32Batch91Amount500 if ((min (var_1_98 , var_1_56)) != (var_1_18 * var_1_53)) { var_1_73 = var_1_21; } // From: Req3Batch91Amount500 unsigned char stepLocal_2 = var_1_49; signed long int stepLocal_1 = var_1_41 * (var_1_6 + var_1_49); if ((min (var_1_80 , (var_1_5 / var_1_4))) < stepLocal_1) { if (stepLocal_2 < (var_1_75 - var_1_5)) { var_1_9 = (min (var_1_10 , (min ((min (var_1_11 , var_1_12)) , var_1_13)))); } } else { var_1_9 = (var_1_14 - ((min (var_1_15 , 64)) - (var_1_16 - var_1_17))); } // From: Req34Batch91Amount500 signed char stepLocal_20 = var_1_46; if (! ((var_1_41 + var_1_59) >= last_1_var_1_76)) { if (var_1_46 <= stepLocal_20) { var_1_76 = var_1_36; } else { var_1_76 = (min (((var_1_85 + var_1_40) + var_1_50) , var_1_51)); } } else { var_1_76 = (max ((var_1_50 + var_1_93) , var_1_21)); } // From: Req25Batch91Amount500 if (var_1_20 < (var_1_91 / (min (var_1_53 , var_1_38)))) { var_1_64 = (min ((abs (9.5f)) , (var_1_54 - var_1_56))); } else { if ((~ (- 100)) > var_1_9) { if (var_1_56 <= (10.5f - (var_1_65 - var_1_53))) { var_1_64 = (min (var_1_27 , 8.8f)); } } else { if (((var_1_17 / var_1_39) << var_1_69) >= var_1_16) { var_1_64 = (abs (max (var_1_26 , (min (5.4f , var_1_54))))); } else { var_1_64 = (var_1_56 - var_1_54); } } } // From: Req45Batch91Amount500 unsigned char stepLocal_26 = var_1_57; if (stepLocal_26 >= var_1_59) { var_1_92 = (min ((max (var_1_9 , var_1_33)) , var_1_1)); } else { if (var_1_98 >= (abs (var_1_19))) { var_1_92 = (max (((var_1_39 - var_1_51) - var_1_1) , var_1_89)); } else { var_1_92 = (var_1_58 + (max (var_1_4 , 16u))); } } // From: Req35Batch91Amount500 if (var_1_31 || var_1_32) { if (var_1_20 <= (var_1_53 - (max (var_1_56 , var_1_19)))) { var_1_78 = (min (var_1_17 , var_1_76)); } else { var_1_78 = (var_1_9 + var_1_36); } } else { var_1_78 = (min (var_1_9 , (min (var_1_51 , var_1_1)))); } // From: Req24Batch91Amount500 if (! var_1_31) { var_1_63 = (256 - 4); } else { var_1_63 = ((max (var_1_9 , (var_1_15 + var_1_78))) - var_1_17); } // From: Req19Batch91Amount500 signed char stepLocal_16 = var_1_9; if (stepLocal_16 > var_1_36) { var_1_52 = (((var_1_53 - var_1_54) - var_1_55) + (min (4.375f , (var_1_56 - 256.9f)))); } else { if ((max (var_1_27 , var_1_64)) == (min (var_1_38 , var_1_91))) { var_1_52 = var_1_26; } } // From: Req22Batch91Amount500 if (var_1_108) { if (var_1_20 > (- (7.2f * var_1_25))) { if ((var_1_53 - var_1_54) >= ((max (var_1_26 , var_1_20)) + 15.5f)) { var_1_61 = (min (var_1_5 , (var_1_4 - (1945860689 - var_1_92)))); } else { var_1_61 = (var_1_41 + -5); } } } // From: Req29Batch91Amount500 signed char stepLocal_18 = var_1_40; if (stepLocal_18 == var_1_92) { var_1_70 = (min ((35033 - 5) , var_1_40)); } else { var_1_70 = (max ((max (var_1_86 , (var_1_36 + var_1_100))) , ((min (var_1_17 , var_1_16)) + var_1_69))); } } void updateVariables() { var_1_4 = __VERIFIER_nondet_uchar(); assume_abort_if_not(var_1_4 >= 127); assume_abort_if_not(var_1_4 <= 254); var_1_5 = __VERIFIER_nondet_uchar(); assume_abort_if_not(var_1_5 >= 0); assume_abort_if_not(var_1_5 <= 127); var_1_6 = __VERIFIER_nondet_uchar(); assume_abort_if_not(var_1_6 >= 0); assume_abort_if_not(var_1_6 <= 127); var_1_10 = __VERIFIER_nondet_char(); assume_abort_if_not(var_1_10 >= -127); assume_abort_if_not(var_1_10 <= 126); var_1_11 = __VERIFIER_nondet_char(); assume_abort_if_not(var_1_11 >= -127); assume_abort_if_not(var_1_11 <= 126); var_1_12 = __VERIFIER_nondet_char(); assume_abort_if_not(var_1_12 >= -127); assume_abort_if_not(var_1_12 <= 126); var_1_13 = __VERIFIER_nondet_char(); assume_abort_if_not(var_1_13 >= -127); assume_abort_if_not(var_1_13 <= 126); var_1_14 = __VERIFIER_nondet_char(); assume_abort_if_not(var_1_14 >= -1); assume_abort_if_not(var_1_14 <= 126); var_1_15 = __VERIFIER_nondet_char(); assume_abort_if_not(var_1_15 >= 63); assume_abort_if_not(var_1_15 <= 126); var_1_16 = __VERIFIER_nondet_char(); assume_abort_if_not(var_1_16 >= 31); assume_abort_if_not(var_1_16 <= 63); var_1_17 = __VERIFIER_nondet_char(); assume_abort_if_not(var_1_17 >= 0); assume_abort_if_not(var_1_17 <= 31); var_1_19 = __VERIFIER_nondet_float(); assume_abort_if_not((var_1_19 >= 0.0F && var_1_19 <= -1.0e-20F) || (var_1_19 <= 9223372.036854765600e+12F && var_1_19 >= 1.0e-20F )); var_1_20 = __VERIFIER_nondet_float(); assume_abort_if_not((var_1_20 >= 0.0F && var_1_20 <= -1.0e-20F) || (var_1_20 <= 9223372.036854765600e+12F && var_1_20 >= 1.0e-20F )); var_1_23 = __VERIFIER_nondet_ulong(); assume_abort_if_not(var_1_23 >= 1073741823); assume_abort_if_not(var_1_23 <= 2147483647); var_1_24 = __VERIFIER_nondet_ulong(); assume_abort_if_not(var_1_24 >= 2147483647); assume_abort_if_not(var_1_24 <= 4294967294); var_1_26 = __VERIFIER_nondet_double(); assume_abort_if_not((var_1_26 >= -461168.6018427382800e+13F && var_1_26 <= -1.0e-20F) || (var_1_26 <= 4611686.018427382800e+12F && var_1_26 >= 1.0e-20F )); var_1_27 = __VERIFIER_nondet_double(); assume_abort_if_not((var_1_27 >= -461168.6018427382800e+13F && var_1_27 <= -1.0e-20F) || (var_1_27 <= 4611686.018427382800e+12F && var_1_27 >= 1.0e-20F )); var_1_30 = __VERIFIER_nondet_uchar(); assume_abort_if_not(var_1_30 >= 0); assume_abort_if_not(var_1_30 <= 0); var_1_31 = __VERIFIER_nondet_uchar(); assume_abort_if_not(var_1_31 >= 1); assume_abort_if_not(var_1_31 <= 1); var_1_32 = __VERIFIER_nondet_uchar(); assume_abort_if_not(var_1_32 >= 0); assume_abort_if_not(var_1_32 <= 0); var_1_34 = __VERIFIER_nondet_ulong(); assume_abort_if_not(var_1_34 >= 2147483647); assume_abort_if_not(var_1_34 <= 4294967294); var_1_36 = __VERIFIER_nondet_char(); assume_abort_if_not(var_1_36 >= 63); assume_abort_if_not(var_1_36 <= 126); var_1_38 = __VERIFIER_nondet_float(); assume_abort_if_not((var_1_38 >= -922337.2036854776000e+13F && var_1_38 <= -1.0e-20F) || (var_1_38 <= 9223372.036854776000e+12F && var_1_38 >= 1.0e-20F )); assume_abort_if_not(var_1_38 != 0.0F); var_1_39 = __VERIFIER_nondet_char(); assume_abort_if_not(var_1_39 >= -126); assume_abort_if_not(var_1_39 <= -62); var_1_40 = __VERIFIER_nondet_char(); assume_abort_if_not(var_1_40 >= 0); assume_abort_if_not(var_1_40 <= 31); var_1_43 = __VERIFIER_nondet_long(); assume_abort_if_not(var_1_43 >= 1073741823); assume_abort_if_not(var_1_43 <= 2147483646); var_1_45 = __VERIFIER_nondet_float(); assume_abort_if_not((var_1_45 >= -230584.3009213691390e+13F && var_1_45 <= -1.0e-20F) || (var_1_45 <= 2305843.009213691390e+12F && var_1_45 >= 1.0e-20F )); var_1_51 = __VERIFIER_nondet_short(); assume_abort_if_not(var_1_51 >= 16382); assume_abort_if_not(var_1_51 <= 32766); var_1_53 = __VERIFIER_nondet_float(); assume_abort_if_not((var_1_53 >= 2305843.009213691390e+12F && var_1_53 <= -1.0e-20F) || (var_1_53 <= 4611686.018427382800e+12F && var_1_53 >= 1.0e-20F )); var_1_54 = __VERIFIER_nondet_float(); assume_abort_if_not((var_1_54 >= 0.0F && var_1_54 <= -1.0e-20F) || (var_1_54 <= 2305843.009213691390e+12F && var_1_54 >= 1.0e-20F )); 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_59 = __VERIFIER_nondet_ushort(); assume_abort_if_not(var_1_59 >= 16383); assume_abort_if_not(var_1_59 <= 32767); var_1_60 = __VERIFIER_nondet_ushort(); assume_abort_if_not(var_1_60 >= 16384); assume_abort_if_not(var_1_60 <= 32767); var_1_65 = __VERIFIER_nondet_float(); assume_abort_if_not((var_1_65 >= 4611686.018427387900e+12F && var_1_65 <= -1.0e-20F) || (var_1_65 <= 9223372.036854776000e+12F && var_1_65 >= 1.0e-20F )); var_1_67 = __VERIFIER_nondet_uchar(); assume_abort_if_not(var_1_67 >= 0); assume_abort_if_not(var_1_67 <= 0); var_1_88 = __VERIFIER_nondet_long(); assume_abort_if_not(var_1_88 >= 0); assume_abort_if_not(var_1_88 <= 9); var_1_89 = __VERIFIER_nondet_long(); assume_abort_if_not(var_1_89 >= 0); assume_abort_if_not(var_1_89 <= 9); } void updateLastVariables() { last_1_var_1_41 = var_1_41; last_1_var_1_42 = var_1_42; last_1_var_1_48 = var_1_48; last_1_var_1_49 = var_1_49; last_1_var_1_62 = var_1_62; last_1_var_1_63 = var_1_63; last_1_var_1_69 = var_1_69; last_1_var_1_71 = var_1_71; last_1_var_1_72 = var_1_72; last_1_var_1_76 = var_1_76; last_1_var_1_78 = var_1_78; last_1_var_1_87 = var_1_87; last_1_var_1_90 = var_1_90; last_1_var_1_97 = var_1_97; last_1_var_1_101 = var_1_101; last_1_var_1_105 = var_1_105; last_1_var_1_106 = var_1_106; } int property() { return (((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((var_1_85 != var_1_103) ? (var_1_1 == ((unsigned char) (var_1_4 - var_1_5))) : (var_1_1 == ((unsigned char) ((max (50 , var_1_5)) + var_1_6)))) && (var_1_7 == ((signed short int) (abs ((max (0 , var_1_6)) - var_1_69))))) && (((min (var_1_80 , (var_1_5 / var_1_4))) < (var_1_41 * (var_1_6 + var_1_49))) ? ((var_1_49 < (var_1_75 - var_1_5)) ? (var_1_9 == ((signed char) (min (var_1_10 , (min ((min (var_1_11 , var_1_12)) , var_1_13)))))) : 1) : (var_1_9 == ((signed char) (var_1_14 - ((min (var_1_15 , 64)) - (var_1_16 - var_1_17))))))) && ((((var_1_46 / var_1_4) ^ var_1_6) > (var_1_10 | (var_1_14 / var_1_15))) ? (var_1_18 == ((float) (var_1_19 - var_1_20))) : (var_1_18 == ((float) var_1_20)))) && (((var_1_95 + var_1_17) >= (max (var_1_33 , -128))) ? (var_1_21 == ((unsigned long int) ((var_1_23 - var_1_95) + (var_1_5 + var_1_93)))) : (((var_1_15 / var_1_4) < var_1_94) ? (var_1_21 == ((unsigned long int) (var_1_93 + 4u))) : (var_1_21 == ((unsigned long int) (var_1_24 - var_1_95)))))) && (var_1_25 == ((double) (var_1_26 + var_1_27)))) && ((var_1_16 <= 16) ? (var_1_106 ? (((var_1_20 - var_1_19) == var_1_18) ? (var_1_28 == ((unsigned char) (! var_1_30))) : (var_1_30 ? (var_1_28 == ((unsigned char) var_1_31)) : (var_1_28 == ((unsigned char) var_1_32)))) : 1) : 1)) && ((var_1_32 || var_1_30) ? (var_1_33 == ((unsigned long int) (var_1_4 + (var_1_50 + var_1_5)))) : ((var_1_30 && (var_1_91 > (var_1_20 * var_1_26))) ? (var_1_33 == ((unsigned long int) var_1_6)) : (((var_1_4 - 5) != (var_1_50 * var_1_23)) ? (((var_1_10 <= var_1_86) && var_1_32) ? (var_1_33 == ((unsigned long int) 4u)) : (var_1_33 == ((unsigned long int) (var_1_24 - (max (var_1_81 , var_1_16)))))) : (var_1_33 == ((unsigned long int) (var_1_34 - (var_1_17 + var_1_15)))))))) && ((var_1_66 || var_1_31) ? (var_1_35 == ((signed char) (-16 + var_1_16))) : (var_1_35 == ((signed char) (min ((var_1_15 - (var_1_36 - var_1_17)) , 10)))))) && ((((var_1_19 - var_1_20) / var_1_38) < (- var_1_27)) ? (var_1_37 == ((signed char) (((abs (var_1_39)) - (var_1_17 + var_1_40)) - var_1_16))) : (var_1_37 == ((signed char) (var_1_16 + var_1_17))))) && ((var_1_17 < var_1_102) ? (var_1_41 == ((signed long int) (var_1_16 - var_1_5))) : 1)) && ((! (63.9 > var_1_38)) ? ((var_1_6 < (var_1_39 * last_1_var_1_42)) ? (var_1_42 == ((signed long int) (max (var_1_15 , var_1_4)))) : (var_1_42 == ((signed long int) var_1_12))) : ((((var_1_15 >> last_1_var_1_97) ^ 8) > (abs (var_1_10))) ? (((last_1_var_1_49 + last_1_var_1_97) < last_1_var_1_97) ? ((last_1_var_1_69 > 32) ? (var_1_42 == ((signed long int) var_1_6)) : (var_1_42 == ((signed long int) ((var_1_15 + last_1_var_1_97) + var_1_14)))) : (var_1_42 == ((signed long int) (var_1_4 - (var_1_6 + (var_1_40 + var_1_36)))))) : (var_1_42 == ((signed long int) (var_1_16 - (var_1_43 - last_1_var_1_69))))))) && ((var_1_7 < (~ (var_1_36 - var_1_16))) ? (var_1_44 == ((float) (127.75f + (9.999999999975E10f + var_1_45)))) : (var_1_44 == ((float) var_1_27)))) && (var_1_32 ? (var_1_46 == ((signed char) var_1_16)) : (var_1_46 == ((signed char) ((min (var_1_15 , var_1_36)) - var_1_16))))) && (((var_1_23 << var_1_42) != var_1_107) ? (var_1_47 == ((double) (var_1_26 + var_1_45))) : 1)) && ((last_1_var_1_48 < var_1_4) ? (var_1_48 == ((unsigned char) (var_1_39 - (var_1_36 - var_1_40)))) : (var_1_48 == ((unsigned char) ((max (var_1_15 , var_1_36)) + var_1_16))))) && ((var_1_32 && ((var_1_19 - var_1_20) == 1.6f)) ? ((var_1_90 <= var_1_43) ? (var_1_49 == ((unsigned char) (var_1_4 - (var_1_40 + var_1_16)))) : 1) : (var_1_49 == ((unsigned char) (min (var_1_6 , var_1_17)))))) && ((var_1_7 <= var_1_43) ? (var_1_50 == ((signed short int) ((var_1_51 - (min (var_1_40 , var_1_4))) - var_1_17))) : 1)) && ((var_1_9 > var_1_36) ? (var_1_52 == ((float) (((var_1_53 - var_1_54) - var_1_55) + (min (4.375f , (var_1_56 - 256.9f)))))) : (((max (var_1_27 , var_1_64)) == (min (var_1_38 , var_1_91))) ? (var_1_52 == ((float) var_1_26)) : 1))) && (((- 15.25f) >= var_1_55) ? (var_1_57 == ((unsigned char) (var_1_4 - var_1_16))) : (var_1_57 == ((unsigned char) (var_1_39 - (max (var_1_5 , var_1_17))))))) && (var_1_58 == ((unsigned short int) ((max (var_1_39 , (var_1_59 + var_1_60))) - var_1_21)))) && (var_1_108 ? ((var_1_20 > (- (7.2f * var_1_25))) ? (((var_1_53 - var_1_54) >= ((max (var_1_26 , var_1_20)) + 15.5f)) ? (var_1_61 == ((signed long int) (min (var_1_5 , (var_1_4 - (1945860689 - var_1_92)))))) : (var_1_61 == ((signed long int) (var_1_41 + -5)))) : 1) : 1)) && ((var_1_75 > ((var_1_39 + var_1_16) ^ -2)) ? (var_1_62 == ((unsigned short int) var_1_36)) : 1)) && ((! var_1_31) ? (var_1_63 == ((signed long int) (256 - 4))) : (var_1_63 == ((signed long int) ((max (var_1_9 , (var_1_15 + var_1_78))) - var_1_17))))) && ((var_1_20 < (var_1_91 / (min (var_1_53 , var_1_38)))) ? (var_1_64 == ((float) (min ((abs (9.5f)) , (var_1_54 - var_1_56))))) : (((~ (- 100)) > var_1_9) ? ((var_1_56 <= (10.5f - (var_1_65 - var_1_53))) ? (var_1_64 == ((float) (min (var_1_27 , 8.8f)))) : 1) : ((((var_1_17 / var_1_39) << var_1_69) >= var_1_16) ? (var_1_64 == ((float) (abs (max (var_1_26 , (min (5.4f , var_1_54))))))) : (var_1_64 == ((float) (var_1_56 - var_1_54))))))) && ((! var_1_106) ? (var_1_66 == ((unsigned char) (! var_1_31))) : (var_1_66 == ((unsigned char) ((var_1_32 || var_1_30) || var_1_67))))) && ((((var_1_55 - var_1_53) < var_1_82) || var_1_30) ? (var_1_71 ? (var_1_68 == ((unsigned char) (var_1_30 || (var_1_32 || (! var_1_31))))) : (var_1_68 == ((unsigned char) ((var_1_86 < (~ var_1_42)) && var_1_30)))) : (var_1_68 == ((unsigned char) ((var_1_6 <= var_1_7) || (! var_1_67)))))) && ((! var_1_108) ? (var_1_69 == ((unsigned char) (max (var_1_15 , var_1_6)))) : 1)) && ((var_1_40 == var_1_92) ? (var_1_70 == ((unsigned short int) (min ((35033 - 5) , var_1_40)))) : (var_1_70 == ((unsigned short int) (max ((max (var_1_86 , (var_1_36 + var_1_100))) , ((min (var_1_17 , var_1_16)) + var_1_69))))))) && (((max (var_1_19 , (min (var_1_45 , var_1_56)))) <= var_1_26) ? (var_1_71 == ((unsigned char) (! var_1_31))) : (var_1_71 == ((unsigned char) ((last_1_var_1_71 && (var_1_103 != var_1_17)) || var_1_31))))) && (var_1_68 ? ((var_1_32 || var_1_68) ? (var_1_72 == ((unsigned char) var_1_17)) : 1) : 1)) && (((min (var_1_98 , var_1_56)) != (var_1_18 * var_1_53)) ? (var_1_73 == ((signed short int) var_1_21)) : 1)) && (var_1_75 == ((signed short int) var_1_101))) && ((! ((var_1_41 + var_1_59) >= last_1_var_1_76)) ? ((var_1_46 <= var_1_46) ? (var_1_76 == ((unsigned short int) var_1_36)) : (var_1_76 == ((unsigned short int) (min (((var_1_85 + var_1_40) + var_1_50) , var_1_51))))) : (var_1_76 == ((unsigned short int) (max ((var_1_50 + var_1_93) , var_1_21)))))) && ((var_1_31 || var_1_32) ? ((var_1_20 <= (var_1_53 - (max (var_1_56 , var_1_19)))) ? (var_1_78 == ((unsigned short int) (min (var_1_17 , var_1_76)))) : (var_1_78 == ((unsigned short int) (var_1_9 + var_1_36)))) : (var_1_78 == ((unsigned short int) (min (var_1_9 , (min (var_1_51 , var_1_1)))))))) && (var_1_67 ? (var_1_80 == ((unsigned char) (max (var_1_15 , (max (var_1_4 , var_1_40)))))) : (var_1_80 == ((unsigned char) (var_1_39 - var_1_36))))) && ((var_1_94 >= var_1_40) ? (var_1_81 == ((unsigned char) (max (var_1_15 , (var_1_36 + var_1_40))))) : (var_1_81 == ((unsigned char) (max ((var_1_4 - (var_1_40 + var_1_16)) , var_1_6)))))) && ((var_1_36 < (32 - var_1_15)) ? (((var_1_108 || var_1_28) && var_1_28) ? (var_1_82 == ((float) (var_1_54 - var_1_56))) : 1) : (var_1_82 == ((float) ((min (var_1_19 , var_1_55)) - var_1_54))))) && ((var_1_41 >= (min (var_1_40 , 5))) ? (var_1_31 ? ((var_1_18 > (var_1_54 - var_1_20)) ? (var_1_84 == ((signed char) var_1_12)) : 1) : (var_1_84 == ((signed char) (var_1_17 - (max ((var_1_40 + var_1_16) , var_1_15)))))) : 1)) && ((var_1_14 <= var_1_59) ? (((last_1_var_1_48 ^ last_1_var_1_90) < (64 - var_1_4)) ? (var_1_85 == ((signed long int) (-25 + (var_1_40 - 10)))) : (var_1_85 == ((signed long int) (min (((var_1_43 - var_1_15) - last_1_var_1_42) , (max (var_1_6 , (min (last_1_var_1_48 , last_1_var_1_72))))))))) : 1)) && (var_1_86 == ((unsigned char) (abs (var_1_5))))) && (((var_1_5 >> (max (var_1_88 , var_1_89))) < 8) ? (var_1_87 == ((signed char) var_1_39)) : 1)) && (((last_1_var_1_41 < var_1_4) || ((last_1_var_1_90 * var_1_15) == last_1_var_1_62)) ? (last_1_var_1_106 ? (var_1_90 == ((signed short int) (var_1_88 + var_1_17))) : 1) : (var_1_90 == ((signed short int) ((last_1_var_1_41 + var_1_40) + (min ((var_1_13 + var_1_12) , last_1_var_1_78))))))) && (var_1_108 ? (var_1_91 == ((double) (max ((max (var_1_45 , 99.75)) , (abs (var_1_26 + var_1_27)))))) : 1)) && ((var_1_57 >= var_1_59) ? (var_1_92 == ((unsigned long int) (min ((max (var_1_9 , var_1_33)) , var_1_1)))) : ((var_1_98 >= (abs (var_1_19))) ? (var_1_92 == ((unsigned long int) (max (((var_1_39 - var_1_51) - var_1_1) , var_1_89)))) : (var_1_92 == ((unsigned long int) (var_1_58 + (max (var_1_4 , 16u)))))))) && (var_1_28 ? (var_1_93 == ((unsigned char) (min (var_1_5 , var_1_40)))) : ((var_1_107 > ((- var_1_99) ^ (- var_1_24))) ? (var_1_93 == ((unsigned char) (max (var_1_36 , (var_1_39 - var_1_17))))) : (var_1_93 == ((unsigned char) (10 + 100)))))) && (var_1_106 ? (((var_1_47 == var_1_47) && var_1_31) ? (var_1_94 == ((signed long int) 4)) : (var_1_94 == ((signed long int) var_1_69))) : 1)) && (var_1_32 ? (var_1_95 == ((signed short int) var_1_10)) : 1)) && (var_1_96 == ((unsigned short int) var_1_16))) && (var_1_97 == ((signed char) var_1_39))) && (var_1_98 == ((double) var_1_26))) && (var_1_99 == ((unsigned char) var_1_4))) && (var_1_100 == ((signed char) var_1_11))) && (var_1_68 ? (var_1_101 == ((signed short int) var_1_13)) : (var_1_101 == ((signed short int) last_1_var_1_101)))) && (var_1_108 ? (var_1_102 == ((unsigned long int) var_1_99)) : (var_1_102 == ((unsigned long int) var_1_34)))) && (var_1_103 == ((unsigned short int) var_1_99))) && (var_1_106 ? (var_1_104 == ((unsigned short int) 2)) : 1)) && (var_1_30 ? (var_1_105 == ((unsigned short int) last_1_var_1_105)) : 1)) && (var_1_30 ? (var_1_106 == ((unsigned char) var_1_32)) : (var_1_106 == ((unsigned char) var_1_31)))) && (var_1_106 ? (var_1_107 == ((unsigned char) var_1_40)) : (var_1_107 == ((unsigned char) var_1_4)))) && ((last_1_var_1_42 >= (var_1_16 - var_1_89)) ? ((last_1_var_1_63 > last_1_var_1_87) ? (var_1_108 == ((unsigned char) (! (var_1_32 || var_1_67)))) : (var_1_108 == ((unsigned char) var_1_32))) : (var_1_108 == ((unsigned char) var_1_32))) ; } int main(void) { isInitial = 1; initially(); while (1) { updateLastVariables(); updateVariables(); step(); __VERIFIER_assert(property()); isInitial = 0; } return 0; }