// 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_Batch6PS_CN_500.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 double var_1_1 = 100.25; double var_1_5 = 1.9; double var_1_6 = 7.5; double var_1_7 = 64.25; signed long int var_1_8 = 2; signed long int var_1_9 = 1000000000; signed long int var_1_10 = 1000000000; signed long int var_1_11 = 1957998270; float var_1_12 = 50.25; float var_1_13 = 9.8; float var_1_14 = 25.5; float var_1_15 = 3.5; signed long int var_1_16 = -500; unsigned char var_1_17 = 1; unsigned char var_1_18 = 1; unsigned char var_1_19 = 0; signed long int var_1_20 = -4; unsigned char var_1_21 = 0; signed short int var_1_22 = 8; signed short int var_1_23 = -200; signed long int var_1_24 = 0; unsigned short int var_1_25 = 32; signed long int var_1_26 = 10; unsigned short int var_1_27 = 200; signed long int var_1_28 = -4; signed long int var_1_29 = 64; float var_1_30 = 64.5; float var_1_31 = 255.25; double var_1_32 = 9.4; float var_1_33 = 99.2; double var_1_34 = 50.4; double var_1_35 = 50.25; unsigned char var_1_36 = 0; unsigned char var_1_37 = 128; unsigned char var_1_38 = 64; unsigned char var_1_39 = 8; unsigned char var_1_40 = 100; double var_1_41 = 1.4; double var_1_42 = 2.4; unsigned short int var_1_43 = 256; unsigned char var_1_44 = 50; unsigned char var_1_45 = 32; unsigned long int var_1_46 = 32; unsigned long int var_1_47 = 1306286448; unsigned char var_1_48 = 0; unsigned long int var_1_49 = 2500361653; unsigned long int var_1_50 = 5; double var_1_51 = 0.6; double var_1_52 = 9.375; double var_1_53 = 5.5; double var_1_54 = 63.75; double var_1_55 = 256.25; unsigned char var_1_56 = 0; signed short int var_1_57 = -5; signed short int var_1_58 = -64; signed short int var_1_59 = 100; unsigned long int var_1_60 = 16; unsigned long int var_1_61 = 4; double var_1_62 = 0.0; double var_1_63 = 3.7; signed short int var_1_64 = -2; unsigned short int var_1_65 = 5; unsigned short int var_1_66 = 30793; unsigned short int var_1_67 = 38647; unsigned short int var_1_68 = 44777; unsigned char var_1_69 = 0; unsigned char var_1_70 = 0; unsigned long int var_1_71 = 100; unsigned char var_1_72 = 1; unsigned char var_1_73 = 0; signed long int var_1_74 = 1; signed long int var_1_75 = -256; unsigned long int var_1_76 = 0; unsigned char var_1_77 = 8; unsigned long int var_1_78 = 32; signed long int var_1_79 = -4; double var_1_80 = 100.625; double var_1_81 = 10.25; signed char var_1_82 = -32; signed char var_1_83 = 8; unsigned long int var_1_84 = 8; signed long int var_1_85 = -16; unsigned char var_1_86 = 1; unsigned char var_1_87 = 0; signed char var_1_88 = 0; signed char var_1_89 = -8; signed char var_1_90 = -32; float var_1_91 = 5.85; unsigned char var_1_92 = 1; unsigned char var_1_93 = 0; unsigned char var_1_94 = 0; unsigned char var_1_95 = 0; double var_1_96 = 8.6; signed long int var_1_97 = 256; unsigned char var_1_98 = 0; double var_1_99 = 31.05; unsigned short int var_1_100 = 16; signed long int var_1_101 = 2; signed char var_1_102 = -32; signed char var_1_103 = -4; signed char var_1_104 = 10; unsigned char var_1_105 = 0; signed long int var_1_106 = 16; signed long int var_1_107 = 32; signed long int var_1_108 = -64; unsigned short int var_1_109 = 128; unsigned short int var_1_110 = 50474; unsigned short int var_1_111 = 1; double var_1_112 = 10.5; float var_1_113 = 1.8; signed short int var_1_114 = -128; unsigned long int var_1_115 = 64; signed short int var_1_116 = 256; signed short int var_1_117 = 8; unsigned char var_1_118 = 10; double var_1_119 = 10.5; unsigned short int var_1_120 = 1; unsigned long int var_1_121 = 1000000000; signed char var_1_122 = -50; unsigned char var_1_123 = 0; signed short int var_1_124 = -256; unsigned char var_1_125 = 10; double var_1_126 = 2.5; // Calibration values // Last'ed variables double last_1_var_1_1 = 100.25; signed long int last_1_var_1_8 = 2; float last_1_var_1_12 = 50.25; signed long int last_1_var_1_16 = -500; unsigned char last_1_var_1_17 = 1; unsigned char last_1_var_1_19 = 0; // Additional functions void initially(void) { } void step(void) { // From: CodeObject1 if (var_1_21) { if (var_1_22 <= var_1_23) { var_1_20 = 10; } } // From: CodeObject2 if ((min (var_1_23 , (8 ^ var_1_22))) >= (abs (var_1_26))) { var_1_25 = (var_1_27 + 64); } else { var_1_25 = var_1_27; } // From: CodeObject3 if (var_1_21) { if (var_1_26 != (var_1_23 | var_1_22)) { var_1_28 = (var_1_27 - (abs (var_1_25 - var_1_29))); } else { var_1_28 = var_1_25; } } else { if ((abs (abs (var_1_30))) <= var_1_31) { var_1_28 = (min ((var_1_22 + (min (var_1_27 , var_1_25))) , var_1_23)); } else { var_1_28 = var_1_25; } } // From: CodeObject4 if (((abs (var_1_30)) * var_1_31) >= (- var_1_33)) { if (var_1_21) { var_1_32 = (var_1_34 + var_1_35); } } // From: CodeObject5 if ((var_1_28 % var_1_23) >= var_1_26) { var_1_36 = ((max (var_1_37 , 128)) - (var_1_38 - var_1_39)); } else { var_1_36 = (abs (var_1_37)); } // From: CodeObject6 if (var_1_34 <= (var_1_41 - var_1_42)) { var_1_40 = (var_1_37 - var_1_38); } else { if (var_1_25 < var_1_39) { var_1_40 = (abs (var_1_39)); } } // From: CodeObject7 if (var_1_25 <= var_1_40) { if (var_1_42 < var_1_33) { var_1_43 = (abs (var_1_40)); } } // From: CodeObject8 if (var_1_34 < (abs (abs (var_1_30)))) { var_1_44 = (abs ((var_1_38 - var_1_39) + var_1_45)); } // From: CodeObject9 if (var_1_21) { var_1_46 = (abs ((var_1_47 - var_1_27) + var_1_25)); } else { if ((abs (var_1_38)) <= ((var_1_40 - var_1_37) % 8)) { if (var_1_48) { var_1_46 = (var_1_49 - (abs (var_1_47 - var_1_40))); } } else { if (var_1_27 >= 0) { var_1_46 = (min (1u , (max ((var_1_36 + var_1_37) , var_1_50)))); } } } // From: CodeObject10 if (var_1_48) { var_1_51 = (abs (min ((var_1_52 - var_1_53) , var_1_35))); } else { if (var_1_21) { var_1_51 = (var_1_35 + (var_1_54 + var_1_55)); } else { if (var_1_56) { var_1_51 = var_1_54; } } } // From: CodeObject11 if ((abs (10 % var_1_38)) >= var_1_27) { var_1_57 = ((abs (var_1_45)) + var_1_38); } // From: CodeObject12 if (var_1_48) { if (! (! var_1_56)) { var_1_58 = (var_1_40 - var_1_38); } else { var_1_58 = (abs (var_1_37)); } } else { if (9.99999999999998E13 < var_1_42) { var_1_58 = (var_1_40 + (max (var_1_36 , var_1_59))); } else { if (var_1_52 > var_1_54) { var_1_58 = (abs (var_1_45)); } else { var_1_58 = var_1_37; } } } // From: CodeObject13 if (var_1_35 >= var_1_42) { if ((var_1_24 | var_1_58) >= var_1_28) { var_1_60 = (abs (max (var_1_43 , (abs (var_1_38))))); } else { var_1_60 = ((abs (max (var_1_36 , var_1_44))) + (var_1_47 - var_1_25)); } } // From: CodeObject14 if (var_1_41 > ((- var_1_55) * var_1_31)) { if (var_1_52 <= ((var_1_62 - var_1_63) - var_1_53)) { var_1_61 = (var_1_49 - var_1_40); } else { var_1_61 = ((var_1_43 + var_1_36) + var_1_37); } } // From: CodeObject15 if (! var_1_56) { if ((~ (abs (var_1_40))) >= 0) { var_1_64 = (min (var_1_38 , (min (var_1_39 , (max (var_1_59 , var_1_40)))))); } else { var_1_64 = (var_1_40 + (abs (4))); } } else { var_1_64 = (abs (-2)); } // From: CodeObject16 if (! var_1_48) { var_1_65 = (((var_1_66 + 28678) - 5) - (abs (var_1_44))); } else { if (var_1_64 >= (var_1_29 & var_1_24)) { var_1_65 = ((max (var_1_67 , (abs (var_1_68)))) - (min (var_1_66 , var_1_44))); } else { if (var_1_48) { if ((var_1_24 + var_1_61) >= (var_1_50 / var_1_47)) { var_1_65 = (abs (var_1_45)); } else { var_1_65 = (abs (var_1_45)); } } } } // From: CodeObject17 var_1_69 = var_1_70; // From: CodeObject18 if ((max ((abs (var_1_66)) , 16)) <= var_1_64) { var_1_71 = (max (var_1_39 , (min ((var_1_38 + var_1_36) , var_1_50)))); } // From: CodeObject19 if ((var_1_39 <= 25) || ((! var_1_70) && var_1_69)) { var_1_72 = 0; } else { if (var_1_70) { var_1_72 = (var_1_21 || var_1_73); } else { var_1_72 = (! var_1_73); } } // From: CodeObject20 var_1_74 = var_1_29; // From: CodeObject21 if (var_1_56) { var_1_75 = (min (var_1_57 , var_1_23)); } // From: CodeObject22 if (var_1_71 > ((min (var_1_65 , var_1_60)) | var_1_43)) { var_1_76 = var_1_43; } // From: CodeObject23 if ((abs (var_1_64)) < var_1_60) { var_1_77 = (min (var_1_45 , var_1_39)); } else { if (var_1_34 <= var_1_30) { var_1_77 = (min (var_1_39 , (max ((var_1_38 + var_1_45) , (min (10 , var_1_37)))))); } else { var_1_77 = (4 + (max (var_1_45 , (abs (var_1_38))))); } } // From: CodeObject24 if (var_1_70) { if (var_1_21) { var_1_78 = (min (var_1_38 , (abs (min (var_1_40 , 256u))))); } else { var_1_78 = ((max (var_1_49 , (3944834622u - var_1_44))) - var_1_29); } } // From: CodeObject25 if (-4 >= var_1_64) { var_1_79 = var_1_65; } // From: CodeObject26 if (var_1_38 >= (25 << var_1_24)) { var_1_80 = (min (((32.5 - var_1_81) + var_1_34) , var_1_63)); } // From: CodeObject27 if (var_1_76 >= ((var_1_67 * var_1_66) / var_1_37)) { var_1_82 = ((abs (abs (var_1_39))) - var_1_83); } // From: CodeObject28 if (var_1_61 <= var_1_77) { if (1000u < var_1_66) { if ((var_1_66 >> var_1_76) > var_1_23) { if (var_1_78 < (abs (var_1_43))) { var_1_84 = (abs (var_1_83)); } } else { var_1_84 = (abs (min (var_1_67 , var_1_40))); } } } else { if ((var_1_43 * var_1_79) > var_1_83) { var_1_84 = (abs (abs (abs (var_1_25)))); } else { var_1_84 = ((max (var_1_27 , var_1_83)) + (1263276439u - var_1_44)); } } // From: CodeObject29 if ((~ var_1_78) < (abs (var_1_37))) { if (var_1_70) { if (((var_1_20 + var_1_74) % var_1_23) >= var_1_65) { var_1_85 = (abs (var_1_29 - (max (var_1_40 , var_1_39)))); } else { var_1_85 = (abs (var_1_83)); } } } // From: CodeObject30 if (var_1_46 < var_1_29) { if ((min (var_1_54 , var_1_32)) < var_1_30) { var_1_86 = (((var_1_22 * var_1_74) <= var_1_45) || var_1_70); } else { var_1_86 = ((var_1_72 || var_1_73) && (! var_1_87)); } } // From: CodeObject31 if ((var_1_61 >= var_1_28) || (var_1_50 <= var_1_60)) { var_1_88 = ((max (var_1_39 , var_1_89)) + var_1_90); } // From: CodeObject32 var_1_91 = ((var_1_55 + var_1_54) + var_1_81); // From: CodeObject33 if (var_1_64 < var_1_74) { var_1_92 = (! 0); } else { if (((var_1_74 % var_1_38) + (var_1_64 + var_1_75)) <= var_1_27) { var_1_92 = (((var_1_87 || var_1_93) || (var_1_86 && var_1_94)) || var_1_95); } else { var_1_92 = (var_1_21 && var_1_95); } } // From: CodeObject34 if (! var_1_86) { var_1_96 = (max (10.6 , ((abs (var_1_35)) - (abs (var_1_34))))); } else { if (var_1_94) { if (100 <= var_1_97) { var_1_96 = var_1_53; } else { var_1_96 = (abs (var_1_35 + (abs (var_1_55)))); } } } // From: CodeObject35 if ((var_1_41 / var_1_62) != var_1_99) { var_1_98 = (var_1_73 && var_1_87); } // From: CodeObject36 if (var_1_51 <= ((min (var_1_63 , var_1_41)) - 50.5)) { if (var_1_69 || (! var_1_94)) { var_1_100 = var_1_44; } } else { var_1_100 = (abs (var_1_67 - 128)); } // From: CodeObject37 if (var_1_41 > var_1_34) { var_1_101 = (abs (abs (var_1_59))); } // From: CodeObject38 if (var_1_34 >= ((var_1_62 - var_1_81) - var_1_63)) { if (var_1_48) { var_1_102 = (max (var_1_39 , var_1_89)); } else { var_1_102 = (abs (var_1_39)); } } else { if (var_1_25 >= (var_1_23 ^ var_1_68)) { var_1_102 = 2; } } // From: CodeObject39 if (var_1_78 < var_1_45) { var_1_103 = ((max (var_1_39 , var_1_83)) - var_1_104); } // From: CodeObject40 if (var_1_71 <= var_1_40) { if (var_1_77 <= var_1_97) { var_1_105 = (! (var_1_21 || var_1_70)); } } // From: CodeObject41 if (var_1_94) { if ((var_1_57 + (max (var_1_100 , 2))) >= ((var_1_67 % var_1_107) * var_1_66)) { if ((var_1_83 + var_1_43) != var_1_36) { var_1_106 = (abs (var_1_58)); } } else { if ((- (abs (var_1_34))) < 1.0000000065E8) { if (var_1_79 >= ((16 % var_1_38) % var_1_47)) { if (var_1_82 != var_1_104) { var_1_106 = (abs (var_1_23)); } else { var_1_106 = (abs (var_1_29)); } } } else { var_1_106 = (min (var_1_37 , ((var_1_88 + var_1_40) + var_1_66))); } } } else { if (var_1_21) { if ((abs (var_1_60)) < (abs (var_1_47 * var_1_44))) { var_1_106 = (var_1_108 + (max (var_1_44 , var_1_23))); } else { var_1_106 = (min (((var_1_77 + var_1_43) - var_1_66) , var_1_38)); } } else { var_1_106 = var_1_90; } } // From: CodeObject42 if (var_1_93 && var_1_21) { var_1_109 = ((var_1_110 - var_1_83) - 64); } // From: CodeObject43 if (var_1_78 >= var_1_47) { var_1_111 = (var_1_67 - (min (var_1_77 , var_1_44))); } else { var_1_111 = 16; } // From: CodeObject44 if (var_1_93) { var_1_112 = var_1_34; } // From: CodeObject45 if (var_1_56) { var_1_113 = var_1_35; } else { var_1_113 = 100000.2f; } // From: CodeObject46 if (var_1_48) { var_1_114 = var_1_36; } else { var_1_114 = var_1_102; } // From: CodeObject47 if (var_1_98) { var_1_115 = var_1_77; } // From: CodeObject48 if (var_1_87) { var_1_116 = var_1_110; } else { var_1_116 = var_1_83; } // From: CodeObject49 if (var_1_72) { var_1_117 = var_1_88; } // From: CodeObject50 var_1_118 = var_1_38; // From: CodeObject51 var_1_119 = var_1_52; // From: CodeObject52 if (var_1_73) { var_1_120 = var_1_45; } // From: CodeObject53 if (var_1_70) { var_1_121 = 25u; } else { var_1_121 = 128u; } // From: CodeObject54 if (var_1_94) { var_1_122 = var_1_90; } // From: CodeObject55 if (var_1_105) { var_1_123 = var_1_70; } // From: CodeObject56 if (var_1_70) { var_1_124 = var_1_90; } else { var_1_124 = var_1_89; } // From: CodeObject57 if (var_1_63 > var_1_126) { var_1_125 = (abs (var_1_37)); } else { if ((var_1_58 / var_1_38) <= (min (5 , var_1_111))) { if (var_1_70) { var_1_125 = var_1_104; } else { var_1_125 = var_1_39; } } else { var_1_125 = var_1_38; } } // From: Req7Batch6PS_CN_500 if (last_1_var_1_17) { if (var_1_7 > ((abs (var_1_5)) * (last_1_var_1_1 * 63.375))) { var_1_19 = var_1_18; } } else { var_1_19 = var_1_18; } // From: Req5Batch6PS_CN_500 if ((max ((- var_1_15) , (last_1_var_1_12 * var_1_6))) < var_1_5) { if (var_1_11 != (min (last_1_var_1_8 , var_1_10))) { if (last_1_var_1_19) { var_1_16 = last_1_var_1_8; } } } // From: Req2Batch6PS_CN_500 var_1_8 = (((var_1_9 + var_1_10) - last_1_var_1_16) - (var_1_11 - (abs (last_1_var_1_16)))); // From: Req3Batch6PS_CN_500 signed long int stepLocal_1 = min (var_1_16 , var_1_9); if (stepLocal_1 >= (var_1_16 - var_1_11)) { var_1_12 = var_1_7; } // From: Req6Batch6PS_CN_500 var_1_17 = (((var_1_16 * var_1_9) >= (max (var_1_16 , var_1_8))) || var_1_18); // From: Req4Batch6PS_CN_500 signed long int stepLocal_2 = var_1_16; if (stepLocal_2 < var_1_11) { var_1_13 = ((7.3868261718112563E18f - (var_1_14 + var_1_15)) - 5.4f); } else { var_1_13 = (var_1_15 + (min (var_1_14 , var_1_5))); } // From: Req1Batch6PS_CN_500 signed long int stepLocal_0 = var_1_8; if (var_1_19) { if (stepLocal_0 >= var_1_8) { var_1_1 = (var_1_5 + var_1_6); } else { var_1_1 = (4.125 - var_1_7); } } else { var_1_1 = var_1_5; } } void updateVariables() { var_1_5 = __VERIFIER_nondet_double(); assume_abort_if_not((var_1_5 >= -461168.6018427382800e+13F && var_1_5 <= -1.0e-20F) || (var_1_5 <= 4611686.018427382800e+12F && var_1_5 >= 1.0e-20F )); var_1_6 = __VERIFIER_nondet_double(); assume_abort_if_not((var_1_6 >= -461168.6018427382800e+13F && var_1_6 <= -1.0e-20F) || (var_1_6 <= 4611686.018427382800e+12F && var_1_6 >= 1.0e-20F )); var_1_7 = __VERIFIER_nondet_double(); assume_abort_if_not((var_1_7 >= 0.0F && var_1_7 <= -1.0e-20F) || (var_1_7 <= 9223372.036854765600e+12F && var_1_7 >= 1.0e-20F )); var_1_9 = __VERIFIER_nondet_long(); assume_abort_if_not(var_1_9 >= 536870911); assume_abort_if_not(var_1_9 <= 1073741823); var_1_10 = __VERIFIER_nondet_long(); assume_abort_if_not(var_1_10 >= 536870911); assume_abort_if_not(var_1_10 <= 1073741823); var_1_11 = __VERIFIER_nondet_long(); assume_abort_if_not(var_1_11 >= 1073741823); assume_abort_if_not(var_1_11 <= 2147483646); var_1_14 = __VERIFIER_nondet_float(); assume_abort_if_not((var_1_14 >= 0.0F && var_1_14 <= -1.0e-20F) || (var_1_14 <= 2305843.009213691390e+12F && var_1_14 >= 1.0e-20F )); var_1_15 = __VERIFIER_nondet_float(); assume_abort_if_not((var_1_15 >= 0.0F && var_1_15 <= -1.0e-20F) || (var_1_15 <= 2305843.009213691390e+12F && var_1_15 >= 1.0e-20F )); var_1_18 = __VERIFIER_nondet_uchar(); assume_abort_if_not(var_1_18 >= 1); assume_abort_if_not(var_1_18 <= 1); var_1_21 = __VERIFIER_nondet_uchar(); assume_abort_if_not(var_1_21 >= 0); assume_abort_if_not(var_1_21 <= 1); var_1_22 = __VERIFIER_nondet_short(); assume_abort_if_not(var_1_22 >= -32768); assume_abort_if_not(var_1_22 <= 32767); var_1_23 = __VERIFIER_nondet_short(); assume_abort_if_not(var_1_23 >= -32768); assume_abort_if_not(var_1_23 <= 32767); assume_abort_if_not(var_1_23 != 0); var_1_24 = __VERIFIER_nondet_long(); assume_abort_if_not(var_1_24 >= -2147483648); assume_abort_if_not(var_1_24 <= 2147483647); var_1_26 = __VERIFIER_nondet_long(); assume_abort_if_not(var_1_26 >= -2147483647); assume_abort_if_not(var_1_26 <= 2147483647); var_1_27 = __VERIFIER_nondet_ushort(); assume_abort_if_not(var_1_27 >= 0); assume_abort_if_not(var_1_27 <= 32767); var_1_29 = __VERIFIER_nondet_long(); assume_abort_if_not(var_1_29 >= 0); assume_abort_if_not(var_1_29 <= 2147483646); var_1_30 = __VERIFIER_nondet_float(); assume_abort_if_not((var_1_30 >= -922337.2036854776000e+13F && var_1_30 <= -1.0e-20F) || (var_1_30 <= 9223372.036854776000e+12F && var_1_30 >= 1.0e-20F )); var_1_31 = __VERIFIER_nondet_float(); assume_abort_if_not((var_1_31 >= -922337.2036854776000e+13F && var_1_31 <= -1.0e-20F) || (var_1_31 <= 9223372.036854776000e+12F && var_1_31 >= 1.0e-20F )); var_1_33 = __VERIFIER_nondet_float(); assume_abort_if_not((var_1_33 >= -922337.2036854776000e+13F && var_1_33 <= -1.0e-20F) || (var_1_33 <= 9223372.036854776000e+12F && var_1_33 >= 1.0e-20F )); 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_35 = __VERIFIER_nondet_double(); assume_abort_if_not((var_1_35 >= -461168.6018427382800e+13F && var_1_35 <= -1.0e-20F) || (var_1_35 <= 4611686.018427382800e+12F && var_1_35 >= 1.0e-20F )); var_1_37 = __VERIFIER_nondet_uchar(); assume_abort_if_not(var_1_37 >= 127); assume_abort_if_not(var_1_37 <= 254); var_1_38 = __VERIFIER_nondet_uchar(); assume_abort_if_not(var_1_38 >= 63); assume_abort_if_not(var_1_38 <= 127); var_1_39 = __VERIFIER_nondet_uchar(); assume_abort_if_not(var_1_39 >= 0); assume_abort_if_not(var_1_39 <= 63); var_1_41 = __VERIFIER_nondet_double(); assume_abort_if_not((var_1_41 >= 0.0F && var_1_41 <= -1.0e-20F) || (var_1_41 <= 9223372.036854776000e+12F && var_1_41 >= 1.0e-20F )); var_1_42 = __VERIFIER_nondet_double(); assume_abort_if_not((var_1_42 >= 0.0F && var_1_42 <= -1.0e-20F) || (var_1_42 <= 9223372.036854776000e+12F && var_1_42 >= 1.0e-20F )); var_1_45 = __VERIFIER_nondet_uchar(); assume_abort_if_not(var_1_45 >= 0); assume_abort_if_not(var_1_45 <= 127); var_1_47 = __VERIFIER_nondet_ulong(); assume_abort_if_not(var_1_47 >= 1073741823); assume_abort_if_not(var_1_47 <= 2147483647); var_1_48 = __VERIFIER_nondet_uchar(); assume_abort_if_not(var_1_48 >= 0); assume_abort_if_not(var_1_48 <= 1); var_1_49 = __VERIFIER_nondet_ulong(); assume_abort_if_not(var_1_49 >= 2147483647); assume_abort_if_not(var_1_49 <= 4294967294); var_1_50 = __VERIFIER_nondet_ulong(); assume_abort_if_not(var_1_50 >= 0); assume_abort_if_not(var_1_50 <= 4294967294); var_1_52 = __VERIFIER_nondet_double(); assume_abort_if_not((var_1_52 >= 0.0F && var_1_52 <= -1.0e-20F) || (var_1_52 <= 9223372.036854765600e+12F && var_1_52 >= 1.0e-20F )); var_1_53 = __VERIFIER_nondet_double(); assume_abort_if_not((var_1_53 >= 0.0F && var_1_53 <= -1.0e-20F) || (var_1_53 <= 9223372.036854765600e+12F && var_1_53 >= 1.0e-20F )); var_1_54 = __VERIFIER_nondet_double(); assume_abort_if_not((var_1_54 >= -230584.3009213691390e+13F && var_1_54 <= -1.0e-20F) || (var_1_54 <= 2305843.009213691390e+12F && var_1_54 >= 1.0e-20F )); var_1_55 = __VERIFIER_nondet_double(); assume_abort_if_not((var_1_55 >= -230584.3009213691390e+13F && var_1_55 <= -1.0e-20F) || (var_1_55 <= 2305843.009213691390e+12F && var_1_55 >= 1.0e-20F )); var_1_56 = __VERIFIER_nondet_uchar(); assume_abort_if_not(var_1_56 >= 0); assume_abort_if_not(var_1_56 <= 1); var_1_59 = __VERIFIER_nondet_short(); assume_abort_if_not(var_1_59 >= -16383); assume_abort_if_not(var_1_59 <= 16383); var_1_62 = __VERIFIER_nondet_double(); assume_abort_if_not((var_1_62 >= 4611686.018427387900e+12F && var_1_62 <= -1.0e-20F) || (var_1_62 <= 9223372.036854776000e+12F && var_1_62 >= 1.0e-20F )); var_1_63 = __VERIFIER_nondet_double(); assume_abort_if_not((var_1_63 >= 0.0F && var_1_63 <= -1.0e-20F) || (var_1_63 <= 4611686.018427387900e+12F && var_1_63 >= 1.0e-20F )); var_1_66 = __VERIFIER_nondet_ushort(); assume_abort_if_not(var_1_66 >= 24575); assume_abort_if_not(var_1_66 <= 32767); var_1_67 = __VERIFIER_nondet_ushort(); assume_abort_if_not(var_1_67 >= 32767); assume_abort_if_not(var_1_67 <= 65534); var_1_68 = __VERIFIER_nondet_ushort(); assume_abort_if_not(var_1_68 >= 32767); assume_abort_if_not(var_1_68 <= 65534); var_1_70 = __VERIFIER_nondet_uchar(); assume_abort_if_not(var_1_70 >= 1); assume_abort_if_not(var_1_70 <= 1); var_1_73 = __VERIFIER_nondet_uchar(); assume_abort_if_not(var_1_73 >= 1); assume_abort_if_not(var_1_73 <= 1); var_1_81 = __VERIFIER_nondet_double(); assume_abort_if_not((var_1_81 >= 0.0F && var_1_81 <= -1.0e-20F) || (var_1_81 <= 4611686.018427382800e+12F && var_1_81 >= 1.0e-20F )); var_1_83 = __VERIFIER_nondet_char(); assume_abort_if_not(var_1_83 >= 0); assume_abort_if_not(var_1_83 <= 126); var_1_87 = __VERIFIER_nondet_uchar(); assume_abort_if_not(var_1_87 >= 0); assume_abort_if_not(var_1_87 <= 0); var_1_89 = __VERIFIER_nondet_char(); assume_abort_if_not(var_1_89 >= -63); assume_abort_if_not(var_1_89 <= 63); var_1_90 = __VERIFIER_nondet_char(); assume_abort_if_not(var_1_90 >= -63); assume_abort_if_not(var_1_90 <= 63); var_1_93 = __VERIFIER_nondet_uchar(); assume_abort_if_not(var_1_93 >= 0); assume_abort_if_not(var_1_93 <= 0); var_1_94 = __VERIFIER_nondet_uchar(); assume_abort_if_not(var_1_94 >= 0); assume_abort_if_not(var_1_94 <= 0); var_1_95 = __VERIFIER_nondet_uchar(); assume_abort_if_not(var_1_95 >= 0); assume_abort_if_not(var_1_95 <= 0); var_1_97 = __VERIFIER_nondet_long(); assume_abort_if_not(var_1_97 >= -2147483648); assume_abort_if_not(var_1_97 <= 2147483647); var_1_99 = __VERIFIER_nondet_double(); assume_abort_if_not((var_1_99 >= -922337.2036854776000e+13F && var_1_99 <= -1.0e-20F) || (var_1_99 <= 9223372.036854776000e+12F && var_1_99 >= 1.0e-20F )); var_1_104 = __VERIFIER_nondet_char(); assume_abort_if_not(var_1_104 >= 0); assume_abort_if_not(var_1_104 <= 126); var_1_107 = __VERIFIER_nondet_long(); assume_abort_if_not(var_1_107 >= -2147483648); assume_abort_if_not(var_1_107 <= 2147483647); assume_abort_if_not(var_1_107 != 0); var_1_108 = __VERIFIER_nondet_long(); assume_abort_if_not(var_1_108 >= -1073741823); assume_abort_if_not(var_1_108 <= 1073741823); var_1_110 = __VERIFIER_nondet_ushort(); assume_abort_if_not(var_1_110 >= 49150); assume_abort_if_not(var_1_110 <= 65534); var_1_126 = __VERIFIER_nondet_double(); assume_abort_if_not((var_1_126 >= -922337.2036854776000e+13F && var_1_126 <= -1.0e-20F) || (var_1_126 <= 9223372.036854776000e+12F && var_1_126 >= 1.0e-20F )); } void updateLastVariables() { last_1_var_1_1 = var_1_1; last_1_var_1_8 = var_1_8; last_1_var_1_12 = var_1_12; last_1_var_1_16 = var_1_16; last_1_var_1_17 = var_1_17; last_1_var_1_19 = var_1_19; } int property() { return ((((((var_1_19 ? ((var_1_8 >= var_1_8) ? (var_1_1 == ((double) (var_1_5 + var_1_6))) : (var_1_1 == ((double) (4.125 - var_1_7)))) : (var_1_1 == ((double) var_1_5))) && (var_1_8 == ((signed long int) (((var_1_9 + var_1_10) - last_1_var_1_16) - (var_1_11 - (abs (last_1_var_1_16))))))) && (((min (var_1_16 , var_1_9)) >= (var_1_16 - var_1_11)) ? (var_1_12 == ((float) var_1_7)) : 1)) && ((var_1_16 < var_1_11) ? (var_1_13 == ((float) ((7.3868261718112563E18f - (var_1_14 + var_1_15)) - 5.4f))) : (var_1_13 == ((float) (var_1_15 + (min (var_1_14 , var_1_5))))))) && (((max ((- var_1_15) , (last_1_var_1_12 * var_1_6))) < var_1_5) ? ((var_1_11 != (min (last_1_var_1_8 , var_1_10))) ? (last_1_var_1_19 ? (var_1_16 == ((signed long int) last_1_var_1_8)) : 1) : 1) : 1)) && (var_1_17 == ((unsigned char) (((var_1_16 * var_1_9) >= (max (var_1_16 , var_1_8))) || var_1_18)))) && (last_1_var_1_17 ? ((var_1_7 > ((abs (var_1_5)) * (last_1_var_1_1 * 63.375))) ? (var_1_19 == ((unsigned char) var_1_18)) : 1) : (var_1_19 == ((unsigned char) var_1_18))) ; } int main(void) { isInitial = 1; initially(); while (1) { updateLastVariables(); updateVariables(); step(); __VERIFIER_assert(property()); isInitial = 0; } return 0; }