// 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_Batch76Amount500.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 = 1; unsigned char var_1_4 = 0; unsigned char var_1_5 = 0; unsigned char var_1_6 = 1; unsigned char var_1_7 = 1; unsigned char var_1_8 = 1; unsigned char var_1_9 = 0; signed short int var_1_10 = 8; double var_1_19 = 3.25; double var_1_20 = 256.25; double var_1_21 = 0.4; double var_1_22 = 50.35; double var_1_23 = 100.8; signed short int var_1_24 = 200; unsigned long int var_1_25 = 2; unsigned long int var_1_26 = 3244026400; unsigned char var_1_27 = 32; signed short int var_1_28 = -256; unsigned char var_1_29 = 1; unsigned char var_1_30 = 128; signed long int var_1_31 = 16; double var_1_32 = 1.8; double var_1_33 = 31.5; double var_1_34 = 63.75; unsigned char var_1_35 = 32; unsigned char var_1_36 = 128; unsigned char var_1_37 = 5; unsigned char var_1_38 = 4; unsigned char var_1_39 = 200; unsigned char var_1_40 = 1; unsigned char var_1_41 = 32; double var_1_42 = 24.8; double var_1_43 = 499.75; double var_1_44 = -0.25; double var_1_45 = 10.5; double var_1_46 = 0.0; double var_1_47 = 49.1; double var_1_48 = 7.25; double var_1_49 = 9999999999.7; double var_1_50 = 100000000000000.6; signed short int var_1_51 = 10; signed long int var_1_52 = 1628791626; signed short int var_1_53 = 26945; signed char var_1_54 = 8; signed char var_1_55 = 0; unsigned long int var_1_57 = 128; unsigned long int var_1_58 = 3708821645; unsigned long int var_1_59 = 2; unsigned long int var_1_60 = 1375175835; signed short int var_1_61 = 32; unsigned char var_1_63 = 2; unsigned char var_1_64 = 64; unsigned char var_1_65 = 32; unsigned char var_1_66 = 50; unsigned char var_1_67 = 2; unsigned char var_1_68 = 0; signed short int var_1_69 = 1; float var_1_70 = 63.1; float var_1_71 = 64.375; float var_1_72 = 128.75; signed long int var_1_73 = 1; unsigned long int var_1_74 = 4; unsigned long int var_1_76 = 50; signed char var_1_77 = 25; signed char var_1_78 = 10; signed char var_1_79 = 4; signed char var_1_80 = -4; unsigned long int var_1_81 = 8; signed long int var_1_82 = 4; unsigned long int var_1_83 = 10; float var_1_84 = 8.9; float var_1_85 = 256.5; unsigned short int var_1_86 = 1; unsigned short int var_1_87 = 23766; unsigned short int var_1_88 = 25396; float var_1_90 = 2.4; float var_1_91 = 8.5; float var_1_93 = 63.9; float var_1_94 = 0.0; float var_1_95 = 7.5; unsigned char var_1_96 = 128; unsigned char var_1_97 = 5; signed char var_1_98 = -128; signed char var_1_99 = 2; signed char var_1_100 = 4; signed char var_1_101 = 25; double var_1_102 = 200.16; signed short int var_1_103 = -128; unsigned char var_1_104 = 1; signed char var_1_105 = -16; signed char var_1_106 = 1; signed char var_1_107 = 64; signed long int var_1_108 = 0; double var_1_110 = 49.75; double var_1_111 = 199.875; unsigned short int var_1_112 = 50; unsigned char var_1_113 = 1; float var_1_114 = 99.1; float var_1_115 = 1.6; signed short int var_1_116 = -4; signed char var_1_117 = 1; unsigned long int var_1_118 = 25; unsigned char var_1_119 = 0; signed long int var_1_120 = 2; signed long int var_1_121 = -16; float var_1_122 = 128.45; double var_1_123 = -0.1; unsigned short int var_1_124 = 10; unsigned char var_1_125 = 32; unsigned short int var_1_126 = 0; signed char var_1_127 = 100; signed char var_1_128 = 16; float var_1_129 = 15.25; // Calibration values // Last'ed variables double last_1_var_1_32 = 1.8; double last_1_var_1_33 = 31.5; unsigned char last_1_var_1_35 = 32; double last_1_var_1_42 = 24.8; unsigned char last_1_var_1_63 = 2; float last_1_var_1_90 = 2.4; float last_1_var_1_91 = 8.5; unsigned char last_1_var_1_96 = 128; signed char last_1_var_1_98 = -128; double last_1_var_1_102 = 200.16; signed short int last_1_var_1_103 = -128; signed long int last_1_var_1_108 = 0; unsigned short int last_1_var_1_112 = 50; float last_1_var_1_122 = 128.45; double last_1_var_1_123 = -0.1; // Additional functions void initially(void) { } void step(void) { // From: Req32Batch76Amount500 if (last_1_var_1_91 >= last_1_var_1_102) { var_1_91 = ((var_1_93 + (var_1_94 - 127.8f)) - var_1_95); } else { var_1_91 = (var_1_85 + (var_1_49 + var_1_50)); } // From: Req56Batch76Amount500 unsigned char stepLocal_22 = var_1_66; signed long int stepLocal_21 = last_1_var_1_112; if ((var_1_88 / var_1_53) <= stepLocal_21) { if (var_1_34 > (max (last_1_var_1_123 , last_1_var_1_122))) { if ((var_1_58 - var_1_55) >= stepLocal_22) { var_1_129 = var_1_22; } } else { var_1_129 = var_1_20; } } else { var_1_129 = var_1_93; } // From: Req33Batch76Amount500 unsigned long int stepLocal_17 = var_1_66 & (max (var_1_55 , var_1_26)); if (last_1_var_1_42 != var_1_47) { if (last_1_var_1_33 > (min ((- last_1_var_1_32) , (max (var_1_23 , 500.5f))))) { var_1_96 = (min (var_1_37 , var_1_97)); } else { if (var_1_8) { var_1_96 = (64 + var_1_38); } else { var_1_96 = (var_1_36 - var_1_38); } } } else { if ((last_1_var_1_112 + (last_1_var_1_63 >> last_1_var_1_103)) >= stepLocal_17) { var_1_96 = (max (var_1_39 , var_1_65)); } } // From: Req10Batch76Amount500 signed long int stepLocal_2 = var_1_38 + last_1_var_1_96; if (var_1_34 == last_1_var_1_90) { if (var_1_4) { if (var_1_6) { var_1_35 = var_1_29; } else { var_1_35 = (var_1_36 - (var_1_37 + (abs (var_1_38)))); } } else { if (stepLocal_2 > (last_1_var_1_35 / (abs (var_1_28)))) { var_1_35 = (min (((var_1_39 - var_1_38) - var_1_37) , (var_1_40 + var_1_41))); } else { var_1_35 = (128 - var_1_40); } } } else { var_1_35 = (64 + (abs (var_1_37 + var_1_38))); } // From: Req3Batch76Amount500 if (var_1_5) { var_1_19 = (min ((var_1_20 - var_1_21) , (min (var_1_22 , var_1_23)))); } // From: Req5Batch76Amount500 var_1_25 = (var_1_26 - 25u); // From: Req18Batch76Amount500 signed char stepLocal_13 = var_1_55; if (var_1_26 >= stepLocal_13) { var_1_68 = (var_1_9 || var_1_7); } // From: Req20Batch76Amount500 var_1_70 = ((min (99.5f , var_1_47)) - (min ((var_1_71 + var_1_72) , var_1_20))); // From: Req28Batch76Amount500 unsigned char stepLocal_16 = var_1_8; if (stepLocal_16 && (var_1_60 <= var_1_65)) { var_1_83 = (min ((var_1_58 - var_1_64) , var_1_37)); } // From: Req31Batch76Amount500 var_1_90 = (min (var_1_22 , (var_1_50 + 9.85f))); // From: Req37Batch76Amount500 var_1_104 = var_1_5; // From: Req42Batch76Amount500 var_1_113 = var_1_8; // From: Req43Batch76Amount500 var_1_114 = var_1_115; // From: Req44Batch76Amount500 if (var_1_113) { var_1_116 = var_1_65; } else { var_1_116 = var_1_36; } // From: Req45Batch76Amount500 if (var_1_5) { var_1_117 = -1; } // From: Req46Batch76Amount500 if (var_1_113) { var_1_118 = var_1_53; } else { var_1_118 = 1u; } // From: Req47Batch76Amount500 var_1_119 = var_1_67; // From: Req49Batch76Amount500 var_1_121 = var_1_67; // From: Req50Batch76Amount500 if (var_1_9) { var_1_122 = var_1_45; } else { var_1_122 = var_1_50; } // From: Req51Batch76Amount500 if (var_1_104) { var_1_123 = 1.75; } else { var_1_123 = var_1_22; } // From: Req53Batch76Amount500 if (var_1_68) { var_1_125 = 0; } // From: Req55Batch76Amount500 if (var_1_68) { var_1_127 = var_1_78; } else { var_1_127 = var_1_128; } // From: Req35Batch76Amount500 if (var_1_93 != (min (var_1_90 , var_1_91))) { var_1_102 = (-0.2 + var_1_49); } // From: Req1Batch76Amount500 if (! (var_1_68 || var_1_113)) { var_1_1 = (var_1_4 || var_1_5); } else { var_1_1 = ((var_1_6 && var_1_7) && (var_1_8 && var_1_9)); } // From: Req6Batch76Amount500 unsigned char stepLocal_0 = var_1_90 <= var_1_19; if (stepLocal_0 && ((var_1_125 + 5) > var_1_28)) { if (var_1_68) { var_1_27 = (max (var_1_29 , var_1_30)); } } else { var_1_27 = var_1_29; } // From: Req7Batch76Amount500 var_1_31 = var_1_117; // From: Req12Batch76Amount500 unsigned char stepLocal_9 = var_1_68; signed long int stepLocal_8 = var_1_96 - (var_1_52 - var_1_39); if (stepLocal_9 || var_1_113) { var_1_51 = (var_1_127 - var_1_30); } else { if (stepLocal_8 != var_1_127) { var_1_51 = ((abs (-5)) - (var_1_53 - var_1_41)); } } // From: Req14Batch76Amount500 signed long int stepLocal_12 = (var_1_119 - var_1_39) * var_1_38; if (((min (var_1_40 , var_1_29)) - (var_1_53 - var_1_37)) > stepLocal_12) { var_1_57 = (var_1_26 - var_1_37); } else { var_1_57 = ((max (var_1_26 , var_1_58)) - 4u); } // From: Req16Batch76Amount500 var_1_61 = ((var_1_53 - var_1_27) - var_1_30); // From: Req17Batch76Amount500 if (var_1_83 != (var_1_60 & var_1_28)) { if (var_1_91 >= (var_1_46 + 256.125)) { if (var_1_4) { var_1_63 = (max (var_1_55 , (min (var_1_40 , var_1_29)))); } else { var_1_63 = ((var_1_39 - var_1_55) - var_1_38); } } else { if ((var_1_125 + (var_1_57 % var_1_28)) <= var_1_55) { var_1_63 = (((abs (var_1_64)) + (var_1_65 + var_1_66)) - var_1_55); } } } else { if (var_1_1) { var_1_63 = (min (var_1_39 , (var_1_36 - (var_1_64 - var_1_55)))); } else { var_1_63 = (min ((var_1_65 + (min (var_1_67 , var_1_38))) , (min ((var_1_39 - var_1_64) , (var_1_40 + var_1_55))))); } } // From: Req21Batch76Amount500 var_1_73 = (var_1_119 + -4); // From: Req23Batch76Amount500 if ((abs (var_1_39)) > var_1_53) { if (var_1_125 <= var_1_52) { var_1_76 = (2u + ((var_1_27 + var_1_37) + var_1_53)); } } else { var_1_76 = ((max ((var_1_60 - var_1_41) , var_1_61)) + (var_1_37 + var_1_38)); } // From: Req24Batch76Amount500 unsigned char stepLocal_14 = var_1_113; if (stepLocal_14 && ((var_1_71 > var_1_34) && var_1_68)) { var_1_77 = ((var_1_38 - var_1_66) + (max (var_1_55 , (var_1_78 - var_1_79)))); } // From: Req27Batch76Amount500 if (var_1_19 == var_1_70) { var_1_82 = var_1_38; } else { var_1_82 = (var_1_63 - (max (1 , var_1_65))); } // From: Req30Batch76Amount500 if (8.5 > var_1_46) { var_1_86 = (max ((var_1_35 + var_1_53) , ((var_1_87 - var_1_30) + (var_1_88 - var_1_119)))); } // From: Req34Batch76Amount500 if (var_1_40 >= last_1_var_1_98) { if (var_1_123 == ((max (var_1_43 , var_1_94)) - (var_1_47 + var_1_71))) { var_1_98 = (var_1_55 - ((var_1_99 + var_1_100) + var_1_38)); } else { var_1_98 = (var_1_101 + var_1_38); } } else { if (var_1_6) { if (var_1_8) { var_1_98 = var_1_65; } else { var_1_98 = (max (25 , ((min (var_1_66 , var_1_37)) - var_1_99))); } } } // From: Req54Batch76Amount500 if (var_1_1) { var_1_126 = var_1_27; } else { var_1_126 = var_1_77; } // From: Req26Batch76Amount500 signed char stepLocal_15 = var_1_78; if (var_1_64 < stepLocal_15) { if (var_1_129 > var_1_43) { if (! (var_1_39 >= var_1_35)) { var_1_81 = (min (var_1_36 , var_1_65)); } else { var_1_81 = (2822275199u - var_1_126); } } } // From: Req9Batch76Amount500 unsigned long int stepLocal_1 = var_1_81; if (stepLocal_1 < (max (var_1_35 , var_1_77))) { if (! var_1_104) { var_1_33 = (var_1_21 - var_1_20); } else { var_1_33 = (var_1_34 + 9.875); } } // From: Req4Batch76Amount500 var_1_24 = (max ((var_1_35 - var_1_96) , (50 + (min (var_1_96 , var_1_63))))); // From: Req11Batch76Amount500 unsigned char stepLocal_7 = var_1_5; unsigned char stepLocal_6 = var_1_4; unsigned char stepLocal_5 = var_1_8; unsigned char stepLocal_4 = var_1_125; unsigned char stepLocal_3 = var_1_4; if (var_1_22 >= ((min (var_1_21 , var_1_20)) - var_1_43)) { if (stepLocal_4 <= (var_1_27 + var_1_40)) { if (stepLocal_6 && (var_1_33 < (var_1_20 / var_1_44))) { var_1_42 = ((max (var_1_20 , var_1_21)) - 8.5); } } else { if (stepLocal_5 || var_1_9) { if (! var_1_4) { if (stepLocal_7 || var_1_9) { if (stepLocal_3 || (var_1_43 > var_1_34)) { var_1_42 = (min (var_1_23 , (max (var_1_34 , var_1_20)))); } else { var_1_42 = (var_1_20 - (min (var_1_21 , var_1_45))); } } else { var_1_42 = (max (var_1_20 , var_1_34)); } } else { var_1_42 = var_1_22; } } else { var_1_42 = (min (((var_1_46 - var_1_47) - var_1_21) , ((max (var_1_34 , var_1_48)) + (var_1_49 + var_1_50)))); } } } else { var_1_42 = var_1_21; } // From: Req40Batch76Amount500 signed short int stepLocal_19 = var_1_24; if (stepLocal_19 < var_1_41) { var_1_110 = ((9.0690794529002947E18 - (var_1_94 - var_1_111)) - var_1_21); } // From: Req22Batch76Amount500 if (var_1_20 <= var_1_42) { if (var_1_50 == var_1_49) { if (var_1_68) { var_1_74 = (max ((min ((var_1_26 - var_1_119) , (var_1_58 - var_1_64))) , var_1_41)); } } } else { var_1_74 = (var_1_64 + var_1_116); } // From: Req25Batch76Amount500 if (((var_1_61 * var_1_82) < var_1_28) || var_1_6) { var_1_80 = var_1_55; } else { var_1_80 = (min ((min (var_1_65 , var_1_78)) , var_1_39)); } // From: Req38Batch76Amount500 if (var_1_113 && (var_1_118 != -8)) { var_1_105 = (max (var_1_78 , -10)); } else { if ((var_1_121 * var_1_96) <= (var_1_96 / var_1_64)) { var_1_105 = ((max ((var_1_38 + var_1_100) , var_1_106)) - (var_1_107 - (var_1_99 + 25))); } else { if (var_1_33 > (25.5f + (- var_1_48))) { var_1_105 = (max (32 , var_1_99)); } else { var_1_105 = (var_1_107 - var_1_38); } } } // From: Req48Batch76Amount500 if (var_1_113) { var_1_120 = -128; } else { var_1_120 = var_1_81; } // From: Req2Batch76Amount500 if (var_1_110 != (- var_1_129)) { if (var_1_68) { var_1_10 = (var_1_96 - (var_1_125 + (var_1_35 + var_1_63))); } else { if (var_1_4) { var_1_10 = var_1_63; } } } else { var_1_10 = var_1_96; } // From: Req8Batch76Amount500 if (var_1_22 >= var_1_102) { if ((max (var_1_80 , var_1_30)) >= var_1_125) { var_1_32 = var_1_21; } } else { var_1_32 = (min (var_1_20 , var_1_21)); } // From: Req52Batch76Amount500 if (var_1_1) { var_1_124 = var_1_10; } // From: Req29Batch76Amount500 if (((var_1_37 << var_1_10) / var_1_53) == var_1_39) { var_1_84 = (var_1_34 + var_1_85); } else { if (var_1_6) { if (var_1_5) { var_1_84 = var_1_22; } } else { var_1_84 = ((var_1_50 + var_1_49) + var_1_47); } } // From: Req13Batch76Amount500 unsigned long int stepLocal_11 = var_1_36 / 500u; unsigned char stepLocal_10 = var_1_39; if ((var_1_27 * var_1_121) > stepLocal_11) { if ((min (var_1_41 , 64u)) < stepLocal_10) { if ((min ((max (9.75 , 7.5)) , (- var_1_22))) < var_1_84) { var_1_54 = (min (((var_1_38 + var_1_55) - (max (var_1_37 , 2))) , var_1_39)); } else { var_1_54 = (var_1_38 + -2); } } } else { if (256.125f <= var_1_90) { var_1_54 = (max (var_1_55 , var_1_37)); } else { var_1_54 = (var_1_55 + 5); } } // From: Req36Batch76Amount500 unsigned char stepLocal_18 = var_1_71 >= var_1_84; if (stepLocal_18 && var_1_113) { var_1_103 = (var_1_64 - (min (var_1_36 , var_1_99))); } // From: Req15Batch76Amount500 if ((var_1_42 != var_1_43) || (! var_1_68)) { var_1_59 = ((min (var_1_58 , (var_1_52 + var_1_60))) - var_1_124); } else { var_1_59 = (var_1_26 - (max (var_1_36 , var_1_35))); } // From: Req19Batch76Amount500 if (var_1_34 <= 9.6) { var_1_69 = (var_1_36 + (var_1_39 + var_1_124)); } else { if (var_1_7) { var_1_69 = (32 + (max (256 , (var_1_29 - var_1_55)))); } else { var_1_69 = (10 - (var_1_37 + var_1_124)); } } // From: Req39Batch76Amount500 if (var_1_94 < var_1_49) { if (var_1_59 > ((var_1_58 - var_1_65) * var_1_39)) { if (var_1_4) { var_1_108 = (var_1_27 + var_1_38); } else { var_1_108 = (var_1_125 - var_1_41); } } else { if (var_1_102 >= var_1_94) { var_1_108 = (max (var_1_65 , last_1_var_1_108)); } else { var_1_108 = (abs (var_1_30)); } } } else { var_1_108 = ((var_1_125 + (var_1_86 + var_1_96)) - (min (var_1_88 , var_1_117))); } // From: Req41Batch76Amount500 unsigned long int stepLocal_20 = var_1_54 + var_1_81; if (stepLocal_20 > (max ((var_1_96 | var_1_88) , var_1_101))) { var_1_112 = ((min (32 , var_1_38)) + var_1_65); } else { var_1_112 = ((var_1_87 - 128) + 16); } } void updateVariables() { var_1_4 = __VERIFIER_nondet_uchar(); assume_abort_if_not(var_1_4 >= 0); assume_abort_if_not(var_1_4 <= 0); var_1_5 = __VERIFIER_nondet_uchar(); assume_abort_if_not(var_1_5 >= 0); assume_abort_if_not(var_1_5 <= 0); var_1_6 = __VERIFIER_nondet_uchar(); assume_abort_if_not(var_1_6 >= 1); assume_abort_if_not(var_1_6 <= 1); var_1_7 = __VERIFIER_nondet_uchar(); assume_abort_if_not(var_1_7 >= 1); assume_abort_if_not(var_1_7 <= 1); var_1_8 = __VERIFIER_nondet_uchar(); assume_abort_if_not(var_1_8 >= 1); assume_abort_if_not(var_1_8 <= 1); var_1_9 = __VERIFIER_nondet_uchar(); assume_abort_if_not(var_1_9 >= 1); assume_abort_if_not(var_1_9 <= 1); var_1_20 = __VERIFIER_nondet_double(); 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_21 = __VERIFIER_nondet_double(); assume_abort_if_not((var_1_21 >= 0.0F && var_1_21 <= -1.0e-20F) || (var_1_21 <= 9223372.036854765600e+12F && var_1_21 >= 1.0e-20F )); var_1_22 = __VERIFIER_nondet_double(); assume_abort_if_not((var_1_22 >= -922337.2036854765600e+13F && var_1_22 <= -1.0e-20F) || (var_1_22 <= 9223372.036854765600e+12F && var_1_22 >= 1.0e-20F )); var_1_23 = __VERIFIER_nondet_double(); assume_abort_if_not((var_1_23 >= -922337.2036854765600e+13F && var_1_23 <= -1.0e-20F) || (var_1_23 <= 9223372.036854765600e+12F && var_1_23 >= 1.0e-20F )); var_1_26 = __VERIFIER_nondet_ulong(); assume_abort_if_not(var_1_26 >= 2147483647); assume_abort_if_not(var_1_26 <= 4294967294); var_1_28 = __VERIFIER_nondet_short(); assume_abort_if_not(var_1_28 >= -32768); assume_abort_if_not(var_1_28 <= 32767); assume_abort_if_not(var_1_28 != 0); var_1_29 = __VERIFIER_nondet_uchar(); assume_abort_if_not(var_1_29 >= 0); assume_abort_if_not(var_1_29 <= 254); var_1_30 = __VERIFIER_nondet_uchar(); assume_abort_if_not(var_1_30 >= 0); assume_abort_if_not(var_1_30 <= 254); var_1_34 = __VERIFIER_nondet_double(); assume_abort_if_not((var_1_34 >= -461168.6018427382800e+13F && var_1_34 <= -1.0e-20F) || (var_1_34 <= 4611686.018427382800e+12F && var_1_34 >= 1.0e-20F )); var_1_36 = __VERIFIER_nondet_uchar(); assume_abort_if_not(var_1_36 >= 127); assume_abort_if_not(var_1_36 <= 254); var_1_37 = __VERIFIER_nondet_uchar(); assume_abort_if_not(var_1_37 >= 0); assume_abort_if_not(var_1_37 <= 64); var_1_38 = __VERIFIER_nondet_uchar(); assume_abort_if_not(var_1_38 >= 0); assume_abort_if_not(var_1_38 <= 63); var_1_39 = __VERIFIER_nondet_uchar(); assume_abort_if_not(var_1_39 >= 190); assume_abort_if_not(var_1_39 <= 254); var_1_40 = __VERIFIER_nondet_uchar(); assume_abort_if_not(var_1_40 >= 0); assume_abort_if_not(var_1_40 <= 127); var_1_41 = __VERIFIER_nondet_uchar(); assume_abort_if_not(var_1_41 >= 0); assume_abort_if_not(var_1_41 <= 127); var_1_43 = __VERIFIER_nondet_double(); assume_abort_if_not((var_1_43 >= 0.0F && var_1_43 <= -1.0e-20F) || (var_1_43 <= 9223372.036854776000e+12F && var_1_43 >= 1.0e-20F )); var_1_44 = __VERIFIER_nondet_double(); assume_abort_if_not((var_1_44 >= -922337.2036854776000e+13F && var_1_44 <= -1.0e-20F) || (var_1_44 <= 9223372.036854776000e+12F && var_1_44 >= 1.0e-20F )); assume_abort_if_not(var_1_44 != 0.0F); var_1_45 = __VERIFIER_nondet_double(); 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_46 = __VERIFIER_nondet_double(); assume_abort_if_not((var_1_46 >= 4611686.018427382800e+12F && var_1_46 <= -1.0e-20F) || (var_1_46 <= 9223372.036854765600e+12F && var_1_46 >= 1.0e-20F )); var_1_47 = __VERIFIER_nondet_double(); assume_abort_if_not((var_1_47 >= 0.0F && var_1_47 <= -1.0e-20F) || (var_1_47 <= 4611686.018427382800e+12F && var_1_47 >= 1.0e-20F )); var_1_48 = __VERIFIER_nondet_double(); assume_abort_if_not((var_1_48 >= -461168.6018427382800e+13F && var_1_48 <= -1.0e-20F) || (var_1_48 <= 4611686.018427382800e+12F && var_1_48 >= 1.0e-20F )); var_1_49 = __VERIFIER_nondet_double(); assume_abort_if_not((var_1_49 >= -230584.3009213691390e+13F && var_1_49 <= -1.0e-20F) || (var_1_49 <= 2305843.009213691390e+12F && var_1_49 >= 1.0e-20F )); var_1_50 = __VERIFIER_nondet_double(); assume_abort_if_not((var_1_50 >= -230584.3009213691390e+13F && var_1_50 <= -1.0e-20F) || (var_1_50 <= 2305843.009213691390e+12F && var_1_50 >= 1.0e-20F )); var_1_52 = __VERIFIER_nondet_long(); assume_abort_if_not(var_1_52 >= 1073741823); assume_abort_if_not(var_1_52 <= 2147483647); var_1_53 = __VERIFIER_nondet_short(); assume_abort_if_not(var_1_53 >= 16383); assume_abort_if_not(var_1_53 <= 32766); var_1_55 = __VERIFIER_nondet_char(); assume_abort_if_not(var_1_55 >= 0); assume_abort_if_not(var_1_55 <= 63); var_1_58 = __VERIFIER_nondet_ulong(); assume_abort_if_not(var_1_58 >= 2147483647); assume_abort_if_not(var_1_58 <= 4294967294); var_1_60 = __VERIFIER_nondet_ulong(); assume_abort_if_not(var_1_60 >= 1073741824); assume_abort_if_not(var_1_60 <= 2147483647); var_1_64 = __VERIFIER_nondet_uchar(); assume_abort_if_not(var_1_64 >= 63); assume_abort_if_not(var_1_64 <= 127); var_1_65 = __VERIFIER_nondet_uchar(); assume_abort_if_not(var_1_65 >= 32); assume_abort_if_not(var_1_65 <= 64); var_1_66 = __VERIFIER_nondet_uchar(); assume_abort_if_not(var_1_66 >= 32); assume_abort_if_not(var_1_66 <= 63); var_1_67 = __VERIFIER_nondet_uchar(); assume_abort_if_not(var_1_67 >= 0); assume_abort_if_not(var_1_67 <= 127); var_1_71 = __VERIFIER_nondet_float(); assume_abort_if_not((var_1_71 >= 0.0F && var_1_71 <= -1.0e-20F) || (var_1_71 <= 4611686.018427382800e+12F && var_1_71 >= 1.0e-20F )); var_1_72 = __VERIFIER_nondet_float(); assume_abort_if_not((var_1_72 >= 0.0F && var_1_72 <= -1.0e-20F) || (var_1_72 <= 4611686.018427382800e+12F && var_1_72 >= 1.0e-20F )); var_1_78 = __VERIFIER_nondet_char(); assume_abort_if_not(var_1_78 >= 0); assume_abort_if_not(var_1_78 <= 63); var_1_79 = __VERIFIER_nondet_char(); assume_abort_if_not(var_1_79 >= 0); assume_abort_if_not(var_1_79 <= 63); var_1_85 = __VERIFIER_nondet_float(); assume_abort_if_not((var_1_85 >= -461168.6018427382800e+13F && var_1_85 <= -1.0e-20F) || (var_1_85 <= 4611686.018427382800e+12F && var_1_85 >= 1.0e-20F )); var_1_87 = __VERIFIER_nondet_ushort(); assume_abort_if_not(var_1_87 >= 16383); assume_abort_if_not(var_1_87 <= 32767); var_1_88 = __VERIFIER_nondet_ushort(); assume_abort_if_not(var_1_88 >= 16383); assume_abort_if_not(var_1_88 <= 32767); var_1_93 = __VERIFIER_nondet_float(); assume_abort_if_not((var_1_93 >= 0.0F && var_1_93 <= -1.0e-20F) || (var_1_93 <= 4611686.018427382800e+12F && var_1_93 >= 1.0e-20F )); var_1_94 = __VERIFIER_nondet_float(); assume_abort_if_not((var_1_94 >= 2305843.009213691390e+12F && var_1_94 <= -1.0e-20F) || (var_1_94 <= 4611686.018427382800e+12F && var_1_94 >= 1.0e-20F )); var_1_95 = __VERIFIER_nondet_float(); assume_abort_if_not((var_1_95 >= 0.0F && var_1_95 <= -1.0e-20F) || (var_1_95 <= 9223372.036854765600e+12F && var_1_95 >= 1.0e-20F )); var_1_97 = __VERIFIER_nondet_uchar(); assume_abort_if_not(var_1_97 >= 0); assume_abort_if_not(var_1_97 <= 254); var_1_99 = __VERIFIER_nondet_char(); assume_abort_if_not(var_1_99 >= 0); assume_abort_if_not(var_1_99 <= 32); var_1_100 = __VERIFIER_nondet_char(); assume_abort_if_not(var_1_100 >= 0); assume_abort_if_not(var_1_100 <= 31); var_1_101 = __VERIFIER_nondet_char(); assume_abort_if_not(var_1_101 >= -63); assume_abort_if_not(var_1_101 <= 63); var_1_106 = __VERIFIER_nondet_char(); assume_abort_if_not(var_1_106 >= -1); assume_abort_if_not(var_1_106 <= 126); var_1_107 = __VERIFIER_nondet_char(); assume_abort_if_not(var_1_107 >= 63); assume_abort_if_not(var_1_107 <= 126); var_1_111 = __VERIFIER_nondet_double(); assume_abort_if_not((var_1_111 >= 0.0F && var_1_111 <= -1.0e-20F) || (var_1_111 <= 2305843.009213691390e+12F && var_1_111 >= 1.0e-20F )); var_1_115 = __VERIFIER_nondet_float(); assume_abort_if_not((var_1_115 >= -922337.2036854765600e+13F && var_1_115 <= -1.0e-20F) || (var_1_115 <= 9223372.036854765600e+12F && var_1_115 >= 1.0e-20F )); var_1_128 = __VERIFIER_nondet_char(); assume_abort_if_not(var_1_128 >= -127); assume_abort_if_not(var_1_128 <= 126); } void updateLastVariables() { last_1_var_1_32 = var_1_32; last_1_var_1_33 = var_1_33; last_1_var_1_35 = var_1_35; last_1_var_1_42 = var_1_42; last_1_var_1_63 = var_1_63; last_1_var_1_90 = var_1_90; last_1_var_1_91 = var_1_91; last_1_var_1_96 = var_1_96; last_1_var_1_98 = var_1_98; last_1_var_1_102 = var_1_102; last_1_var_1_103 = var_1_103; last_1_var_1_108 = var_1_108; last_1_var_1_112 = var_1_112; last_1_var_1_122 = var_1_122; last_1_var_1_123 = var_1_123; } int property() { return ((((((((((((((((((((((((((((((((((((((((((((((((((((((((! (var_1_68 || var_1_113)) ? (var_1_1 == ((unsigned char) (var_1_4 || var_1_5))) : (var_1_1 == ((unsigned char) ((var_1_6 && var_1_7) && (var_1_8 && var_1_9))))) && ((var_1_110 != (- var_1_129)) ? (var_1_68 ? (var_1_10 == ((signed short int) (var_1_96 - (var_1_125 + (var_1_35 + var_1_63))))) : (var_1_4 ? (var_1_10 == ((signed short int) var_1_63)) : 1)) : (var_1_10 == ((signed short int) var_1_96)))) && (var_1_5 ? (var_1_19 == ((double) (min ((var_1_20 - var_1_21) , (min (var_1_22 , var_1_23)))))) : 1)) && (var_1_24 == ((signed short int) (max ((var_1_35 - var_1_96) , (50 + (min (var_1_96 , var_1_63)))))))) && (var_1_25 == ((unsigned long int) (var_1_26 - 25u)))) && (((var_1_90 <= var_1_19) && ((var_1_125 + 5) > var_1_28)) ? (var_1_68 ? (var_1_27 == ((unsigned char) (max (var_1_29 , var_1_30)))) : 1) : (var_1_27 == ((unsigned char) var_1_29)))) && (var_1_31 == ((signed long int) var_1_117))) && ((var_1_22 >= var_1_102) ? (((max (var_1_80 , var_1_30)) >= var_1_125) ? (var_1_32 == ((double) var_1_21)) : 1) : (var_1_32 == ((double) (min (var_1_20 , var_1_21)))))) && ((var_1_81 < (max (var_1_35 , var_1_77))) ? ((! var_1_104) ? (var_1_33 == ((double) (var_1_21 - var_1_20))) : (var_1_33 == ((double) (var_1_34 + 9.875)))) : 1)) && ((var_1_34 == last_1_var_1_90) ? (var_1_4 ? (var_1_6 ? (var_1_35 == ((unsigned char) var_1_29)) : (var_1_35 == ((unsigned char) (var_1_36 - (var_1_37 + (abs (var_1_38))))))) : (((var_1_38 + last_1_var_1_96) > (last_1_var_1_35 / (abs (var_1_28)))) ? (var_1_35 == ((unsigned char) (min (((var_1_39 - var_1_38) - var_1_37) , (var_1_40 + var_1_41))))) : (var_1_35 == ((unsigned char) (128 - var_1_40))))) : (var_1_35 == ((unsigned char) (64 + (abs (var_1_37 + var_1_38))))))) && ((var_1_22 >= ((min (var_1_21 , var_1_20)) - var_1_43)) ? ((var_1_125 <= (var_1_27 + var_1_40)) ? ((var_1_4 && (var_1_33 < (var_1_20 / var_1_44))) ? (var_1_42 == ((double) ((max (var_1_20 , var_1_21)) - 8.5))) : 1) : ((var_1_8 || var_1_9) ? ((! var_1_4) ? ((var_1_5 || var_1_9) ? ((var_1_4 || (var_1_43 > var_1_34)) ? (var_1_42 == ((double) (min (var_1_23 , (max (var_1_34 , var_1_20)))))) : (var_1_42 == ((double) (var_1_20 - (min (var_1_21 , var_1_45)))))) : (var_1_42 == ((double) (max (var_1_20 , var_1_34))))) : (var_1_42 == ((double) var_1_22))) : (var_1_42 == ((double) (min (((var_1_46 - var_1_47) - var_1_21) , ((max (var_1_34 , var_1_48)) + (var_1_49 + var_1_50)))))))) : (var_1_42 == ((double) var_1_21)))) && ((var_1_68 || var_1_113) ? (var_1_51 == ((signed short int) (var_1_127 - var_1_30))) : (((var_1_96 - (var_1_52 - var_1_39)) != var_1_127) ? (var_1_51 == ((signed short int) ((abs (-5)) - (var_1_53 - var_1_41)))) : 1))) && (((var_1_27 * var_1_121) > (var_1_36 / 500u)) ? (((min (var_1_41 , 64u)) < var_1_39) ? (((min ((max (9.75 , 7.5)) , (- var_1_22))) < var_1_84) ? (var_1_54 == ((signed char) (min (((var_1_38 + var_1_55) - (max (var_1_37 , 2))) , var_1_39)))) : (var_1_54 == ((signed char) (var_1_38 + -2)))) : 1) : ((256.125f <= var_1_90) ? (var_1_54 == ((signed char) (max (var_1_55 , var_1_37)))) : (var_1_54 == ((signed char) (var_1_55 + 5)))))) && ((((min (var_1_40 , var_1_29)) - (var_1_53 - var_1_37)) > ((var_1_119 - var_1_39) * var_1_38)) ? (var_1_57 == ((unsigned long int) (var_1_26 - var_1_37))) : (var_1_57 == ((unsigned long int) ((max (var_1_26 , var_1_58)) - 4u))))) && (((var_1_42 != var_1_43) || (! var_1_68)) ? (var_1_59 == ((unsigned long int) ((min (var_1_58 , (var_1_52 + var_1_60))) - var_1_124))) : (var_1_59 == ((unsigned long int) (var_1_26 - (max (var_1_36 , var_1_35))))))) && (var_1_61 == ((signed short int) ((var_1_53 - var_1_27) - var_1_30)))) && ((var_1_83 != (var_1_60 & var_1_28)) ? ((var_1_91 >= (var_1_46 + 256.125)) ? (var_1_4 ? (var_1_63 == ((unsigned char) (max (var_1_55 , (min (var_1_40 , var_1_29)))))) : (var_1_63 == ((unsigned char) ((var_1_39 - var_1_55) - var_1_38)))) : (((var_1_125 + (var_1_57 % var_1_28)) <= var_1_55) ? (var_1_63 == ((unsigned char) (((abs (var_1_64)) + (var_1_65 + var_1_66)) - var_1_55))) : 1)) : (var_1_1 ? (var_1_63 == ((unsigned char) (min (var_1_39 , (var_1_36 - (var_1_64 - var_1_55)))))) : (var_1_63 == ((unsigned char) (min ((var_1_65 + (min (var_1_67 , var_1_38))) , (min ((var_1_39 - var_1_64) , (var_1_40 + var_1_55)))))))))) && ((var_1_26 >= var_1_55) ? (var_1_68 == ((unsigned char) (var_1_9 || var_1_7))) : 1)) && ((var_1_34 <= 9.6) ? (var_1_69 == ((signed short int) (var_1_36 + (var_1_39 + var_1_124)))) : (var_1_7 ? (var_1_69 == ((signed short int) (32 + (max (256 , (var_1_29 - var_1_55)))))) : (var_1_69 == ((signed short int) (10 - (var_1_37 + var_1_124))))))) && (var_1_70 == ((float) ((min (99.5f , var_1_47)) - (min ((var_1_71 + var_1_72) , var_1_20)))))) && (var_1_73 == ((signed long int) (var_1_119 + -4)))) && ((var_1_20 <= var_1_42) ? ((var_1_50 == var_1_49) ? (var_1_68 ? (var_1_74 == ((unsigned long int) (max ((min ((var_1_26 - var_1_119) , (var_1_58 - var_1_64))) , var_1_41)))) : 1) : 1) : (var_1_74 == ((unsigned long int) (var_1_64 + var_1_116))))) && (((abs (var_1_39)) > var_1_53) ? ((var_1_125 <= var_1_52) ? (var_1_76 == ((unsigned long int) (2u + ((var_1_27 + var_1_37) + var_1_53)))) : 1) : (var_1_76 == ((unsigned long int) ((max ((var_1_60 - var_1_41) , var_1_61)) + (var_1_37 + var_1_38)))))) && ((var_1_113 && ((var_1_71 > var_1_34) && var_1_68)) ? (var_1_77 == ((signed char) ((var_1_38 - var_1_66) + (max (var_1_55 , (var_1_78 - var_1_79)))))) : 1)) && ((((var_1_61 * var_1_82) < var_1_28) || var_1_6) ? (var_1_80 == ((signed char) var_1_55)) : (var_1_80 == ((signed char) (min ((min (var_1_65 , var_1_78)) , var_1_39)))))) && ((var_1_64 < var_1_78) ? ((var_1_129 > var_1_43) ? ((! (var_1_39 >= var_1_35)) ? (var_1_81 == ((unsigned long int) (min (var_1_36 , var_1_65)))) : (var_1_81 == ((unsigned long int) (2822275199u - var_1_126)))) : 1) : 1)) && ((var_1_19 == var_1_70) ? (var_1_82 == ((signed long int) var_1_38)) : (var_1_82 == ((signed long int) (var_1_63 - (max (1 , var_1_65))))))) && ((var_1_8 && (var_1_60 <= var_1_65)) ? (var_1_83 == ((unsigned long int) (min ((var_1_58 - var_1_64) , var_1_37)))) : 1)) && ((((var_1_37 << var_1_10) / var_1_53) == var_1_39) ? (var_1_84 == ((float) (var_1_34 + var_1_85))) : (var_1_6 ? (var_1_5 ? (var_1_84 == ((float) var_1_22)) : 1) : (var_1_84 == ((float) ((var_1_50 + var_1_49) + var_1_47)))))) && ((8.5 > var_1_46) ? (var_1_86 == ((unsigned short int) (max ((var_1_35 + var_1_53) , ((var_1_87 - var_1_30) + (var_1_88 - var_1_119)))))) : 1)) && (var_1_90 == ((float) (min (var_1_22 , (var_1_50 + 9.85f)))))) && ((last_1_var_1_91 >= last_1_var_1_102) ? (var_1_91 == ((float) ((var_1_93 + (var_1_94 - 127.8f)) - var_1_95))) : (var_1_91 == ((float) (var_1_85 + (var_1_49 + var_1_50)))))) && ((last_1_var_1_42 != var_1_47) ? ((last_1_var_1_33 > (min ((- last_1_var_1_32) , (max (var_1_23 , 500.5f))))) ? (var_1_96 == ((unsigned char) (min (var_1_37 , var_1_97)))) : (var_1_8 ? (var_1_96 == ((unsigned char) (64 + var_1_38))) : (var_1_96 == ((unsigned char) (var_1_36 - var_1_38))))) : (((last_1_var_1_112 + (last_1_var_1_63 >> last_1_var_1_103)) >= (var_1_66 & (max (var_1_55 , var_1_26)))) ? (var_1_96 == ((unsigned char) (max (var_1_39 , var_1_65)))) : 1))) && ((var_1_40 >= last_1_var_1_98) ? ((var_1_123 == ((max (var_1_43 , var_1_94)) - (var_1_47 + var_1_71))) ? (var_1_98 == ((signed char) (var_1_55 - ((var_1_99 + var_1_100) + var_1_38)))) : (var_1_98 == ((signed char) (var_1_101 + var_1_38)))) : (var_1_6 ? (var_1_8 ? (var_1_98 == ((signed char) var_1_65)) : (var_1_98 == ((signed char) (max (25 , ((min (var_1_66 , var_1_37)) - var_1_99)))))) : 1))) && ((var_1_93 != (min (var_1_90 , var_1_91))) ? (var_1_102 == ((double) (-0.2 + var_1_49))) : 1)) && (((var_1_71 >= var_1_84) && var_1_113) ? (var_1_103 == ((signed short int) (var_1_64 - (min (var_1_36 , var_1_99))))) : 1)) && (var_1_104 == ((unsigned char) var_1_5))) && ((var_1_113 && (var_1_118 != -8)) ? (var_1_105 == ((signed char) (max (var_1_78 , -10)))) : (((var_1_121 * var_1_96) <= (var_1_96 / var_1_64)) ? (var_1_105 == ((signed char) ((max ((var_1_38 + var_1_100) , var_1_106)) - (var_1_107 - (var_1_99 + 25))))) : ((var_1_33 > (25.5f + (- var_1_48))) ? (var_1_105 == ((signed char) (max (32 , var_1_99)))) : (var_1_105 == ((signed char) (var_1_107 - var_1_38))))))) && ((var_1_94 < var_1_49) ? ((var_1_59 > ((var_1_58 - var_1_65) * var_1_39)) ? (var_1_4 ? (var_1_108 == ((signed long int) (var_1_27 + var_1_38))) : (var_1_108 == ((signed long int) (var_1_125 - var_1_41)))) : ((var_1_102 >= var_1_94) ? (var_1_108 == ((signed long int) (max (var_1_65 , last_1_var_1_108)))) : (var_1_108 == ((signed long int) (abs (var_1_30)))))) : (var_1_108 == ((signed long int) ((var_1_125 + (var_1_86 + var_1_96)) - (min (var_1_88 , var_1_117))))))) && ((var_1_24 < var_1_41) ? (var_1_110 == ((double) ((9.0690794529002947E18 - (var_1_94 - var_1_111)) - var_1_21))) : 1)) && (((var_1_54 + var_1_81) > (max ((var_1_96 | var_1_88) , var_1_101))) ? (var_1_112 == ((unsigned short int) ((min (32 , var_1_38)) + var_1_65))) : (var_1_112 == ((unsigned short int) ((var_1_87 - 128) + 16))))) && (var_1_113 == ((unsigned char) var_1_8))) && (var_1_114 == ((float) var_1_115))) && (var_1_113 ? (var_1_116 == ((signed short int) var_1_65)) : (var_1_116 == ((signed short int) var_1_36)))) && (var_1_5 ? (var_1_117 == ((signed char) -1)) : 1)) && (var_1_113 ? (var_1_118 == ((unsigned long int) var_1_53)) : (var_1_118 == ((unsigned long int) 1u)))) && (var_1_119 == ((unsigned char) var_1_67))) && (var_1_113 ? (var_1_120 == ((signed long int) -128)) : (var_1_120 == ((signed long int) var_1_81)))) && (var_1_121 == ((signed long int) var_1_67))) && (var_1_9 ? (var_1_122 == ((float) var_1_45)) : (var_1_122 == ((float) var_1_50)))) && (var_1_104 ? (var_1_123 == ((double) 1.75)) : (var_1_123 == ((double) var_1_22)))) && (var_1_1 ? (var_1_124 == ((unsigned short int) var_1_10)) : 1)) && (var_1_68 ? (var_1_125 == ((unsigned char) 0)) : 1)) && (var_1_1 ? (var_1_126 == ((unsigned short int) var_1_27)) : (var_1_126 == ((unsigned short int) var_1_77)))) && (var_1_68 ? (var_1_127 == ((signed char) var_1_78)) : (var_1_127 == ((signed char) var_1_128)))) && (((var_1_88 / var_1_53) <= last_1_var_1_112) ? ((var_1_34 > (max (last_1_var_1_123 , last_1_var_1_122))) ? (((var_1_58 - var_1_55) >= var_1_66) ? (var_1_129 == ((float) var_1_22)) : 1) : (var_1_129 == ((float) var_1_20))) : (var_1_129 == ((float) var_1_93))) ; } int main(void) { isInitial = 1; initially(); while (1) { updateLastVariables(); updateVariables(); step(); __VERIFIER_assert(property()); isInitial = 0; } return 0; }