./verifast-validate-witness.sh sv-benchmarks/c/loop-new/half.i ./results/automizer-verification-files/SV-COMP24_unreach-call/half.yml/witness-2.1.yml -------------------------------------------------------------------------------- + PROGRAM=sv-benchmarks/c/loop-new/half.i + WITNESS=./results/automizer-verification-files/SV-COMP24_unreach-call/half.yml/witness-2.1.yml ++ basename sv-benchmarks/c/loop-new/half.i + FILE=half.i ++ echo half ++ sed 's/[-\.]/_/g' - + SANITIZED=half + INSTRUMENTED_PROGRAM=half__verifast_instrumented.c + instrument_program_cli.py --program sv-benchmarks/c/loop-new/half.i --witness ./results/automizer-verification-files/SV-COMP24_unreach-call/half.yml/witness-2.1.yml --output-file half__verifast_instrumented.c --verifast True ['abort', 'reach_error', 'assume_abort_if_not', '__VERIFIER_assert', '__VERIFIER_nondet_int', 'main'] [] ILP32 [('((((((long long) n * 2) == ((long long) i + 1)) && (n <= k)) || ((n == 0) && (i == 0))) || ((i == ((long long) n * 2)) && (n <= k)))', 29, True)] [('__VERIFIER_assert', '(cond != 0)', '(cond != 0)')] [('(((((n * 2) == (i + 1)) && (n <= k)) || ((n == 0) && (i == 0))) || ((i == (n * 2)) && (n <= k)))', 29, True)] [('abort', 'true', 'true'), ('reach_error', 'false', 'true'), ('assume_abort_if_not', 'true', 'true'), ('__VERIFIER_assert', '(cond != 0)', '(cond != 0)'), ('__VERIFIER_nondet_int', 'true', 'true'), ('main', 'module(half__verifast_instrumented, true)', 'junk()')] + sed -i 's|__attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__))||g' half__verifast_instrumented.c + verifast -stats -verbose 2 -disable_overflow_check -allow_dead_code -target ILP32 -read_options_from_source_file -c half__verifast_instrumented.c half__verifast_instrumented.c 0.037945s: half__verifast_instrumented.c(26,5-9): Function 'main': Function type implementation check 0.038006s: /storage/repos/SV-Transformer-Library/verifast-24.08.30-2-gb1220004/bin/prelude.h(1084,18-24): Producing assertion 0.038026s: /storage/repos/SV-Transformer-Library/verifast-24.08.30-2-gb1220004/bin/prelude.h(1084,49-51): Producing assertion 0.038057s: /storage/repos/SV-Transformer-Library/verifast-24.08.30-2-gb1220004/bin/prelude.h(1084,61-62): Producing assertion 0.038069s: /storage/repos/SV-Transformer-Library/verifast-24.08.30-2-gb1220004/bin/prelude.h(1084,64-68): Producing assertion 0.038085s: half__verifast_instrumented.c(27,14-20): Consuming assertion 0.038103s: half__verifast_instrumented.c(28,13-17): Producing assertion 0.038117s: /storage/repos/SV-Transformer-Library/verifast-24.08.30-2-gb1220004/bin/prelude.h(1085,17-21): Consuming assertion 0.038133s: half__verifast_instrumented.c(26,5-9): Cleaning up dummy fraction chunks 0.038142s: half__verifast_instrumented.c(26,5-9): Leak check. 0.038196s: half__verifast_instrumented.c(7,6-17): Verifying function 'reach_error' 0.038207s: half__verifast_instrumented.c(8,14-19): Producing assertion 0.038230s: half__verifast_instrumented.c(10,8-27): Verifying function 'assume_abort_if_not' 0.038241s: half__verifast_instrumented.c(11,14-18): Producing assertion 0.038264s: half__verifast_instrumented.c(10,8-27): Executing statement 0.038284s: half__verifast_instrumented.c(13,4-6): Executing statement 0.038327s: half__verifast_instrumented.c(13,14-15): Executing statement 0.038342s: half__verifast_instrumented.c(13,15-20): Executing statement 0.038372s: half__verifast_instrumented.c(13,15-20): Verifying call 0.038385s: half__verifast_instrumented.c(3,14-18): Consuming assertion 0.038399s: half__verifast_instrumented.c(4,13-17): Producing assertion 0.038420s: half__verifast_instrumented.c(14,1-2): Executing return statement 0.038432s: half__verifast_instrumented.c(12,13-17): Consuming assertion 0.038444s: half__verifast_instrumented.c(14,1-2): Cleaning up dummy fraction chunks 0.038456s: half__verifast_instrumented.c(14,1-2): Leak check. 0.038486s: half__verifast_instrumented.c(14,1-2): Executing return statement 0.038499s: half__verifast_instrumented.c(12,13-17): Consuming assertion 0.038511s: half__verifast_instrumented.c(14,1-2): Cleaning up dummy fraction chunks 0.038530s: half__verifast_instrumented.c(14,1-2): Leak check. 0.038559s: half__verifast_instrumented.c(15,6-23): Verifying function '__VERIFIER_assert' 0.038571s: half__verifast_instrumented.c(16,20-22): Producing assertion 0.038592s: half__verifast_instrumented.c(15,6-23): Executing statement 0.038610s: half__verifast_instrumented.c(18,4-6): Executing statement 0.038629s: half__verifast_instrumented.c(21,3-9): Executing return statement 0.038646s: half__verifast_instrumented.c(17,19-21): Consuming assertion 0.038658s: half__verifast_instrumented.c(22,1-2): Cleaning up dummy fraction chunks 0.038668s: half__verifast_instrumented.c(22,1-2): Leak check. 0.038689s: half__verifast_instrumented.c(26,5-9): Verifying function 'main' 0.038699s: half__verifast_instrumented.c(27,14-20): Producing assertion 0.038714s: half__verifast_instrumented.c(30,9-20): Executing statement 0.038741s: half__verifast_instrumented.c(26,5-9): Executing statement 0.038761s: half__verifast_instrumented.c(31,11-12): Executing statement 0.038776s: half__verifast_instrumented.c(32,11-12): Executing statement 0.038788s: half__verifast_instrumented.c(33,11-12): Executing statement 0.038815s: half__verifast_instrumented.c(33,13-34): Verifying call 0.038827s: half__verifast_instrumented.c(24,14-18): Consuming assertion 0.038844s: half__verifast_instrumented.c(25,13-17): Producing assertion 0.038857s: half__verifast_instrumented.c(34,5-7): Executing statement 0.038894s: half__verifast_instrumented.c(34,43-49): Executing return statement 0.038910s: half__verifast_instrumented.c(28,13-17): Consuming assertion 0.038921s: half__verifast_instrumented.c(44,1-2): Cleaning up dummy fraction chunks 0.038930s: half__verifast_instrumented.c(44,1-2): Leak check. 0.038946s: half__verifast_instrumented.c(35,1-4): Executing statement 0.038960s: half__verifast_instrumented.c(35,7-8): Executing statement 0.038975s: half__verifast_instrumented.c(35,1-4): Executing statement 0.039006s: half__verifast_instrumented.c(36,79-81): Consuming assertion 0.039051s: half__verifast_instrumented.c(36,79-81): Producing assertion 0.039182s: half__verifast_instrumented.c(35,1-4): Evaluating loop condition 0.040352s: half__verifast_instrumented.c(37,5-6): Executing statement 0.040380s: half__verifast_instrumented.c(38,2-4): Executing statement 0.040444s: half__verifast_instrumented.c(38,18-19): Executing statement 0.040469s: half__verifast_instrumented.c(39,8-10): Executing statement 0.040503s: half__verifast_instrumented.c(35,22-24): Executing statement 0.040520s: half__verifast_instrumented.c(36,79-81): Consuming assertion 0.041026s: half__verifast_instrumented.c(36,79-81): Consuming expression half__verifast_instrumented.c(36,79-81): Cannot prove condition. (Cannot prove ((n + 1) * 2) = ((i + 1) + 1) && (n + 1) <= k || (n + 1) = 0 && (i + 1) = 0 || (i + 1) = ((n + 1) * 2) && (n + 1) <= k.)