./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.040324s: half__verifast_instrumented.c(26,5-9): Function 'main': Function type implementation check 0.040377s: /storage/repos/SV-Transformer-Library/verifast-24.08.30-2-gb1220004/bin/prelude.h(1084,18-24): Producing assertion 0.040392s: /storage/repos/SV-Transformer-Library/verifast-24.08.30-2-gb1220004/bin/prelude.h(1084,49-51): Producing assertion 0.040421s: /storage/repos/SV-Transformer-Library/verifast-24.08.30-2-gb1220004/bin/prelude.h(1084,61-62): Producing assertion 0.040431s: /storage/repos/SV-Transformer-Library/verifast-24.08.30-2-gb1220004/bin/prelude.h(1084,64-68): Producing assertion 0.040445s: half__verifast_instrumented.c(27,14-20): Consuming assertion 0.040461s: half__verifast_instrumented.c(28,13-17): Producing assertion 0.040472s: /storage/repos/SV-Transformer-Library/verifast-24.08.30-2-gb1220004/bin/prelude.h(1085,17-21): Consuming assertion 0.040486s: half__verifast_instrumented.c(26,5-9): Cleaning up dummy fraction chunks 0.040495s: half__verifast_instrumented.c(26,5-9): Leak check. 0.040535s: half__verifast_instrumented.c(7,6-17): Verifying function 'reach_error' 0.040545s: half__verifast_instrumented.c(8,14-19): Producing assertion 0.040563s: half__verifast_instrumented.c(10,8-27): Verifying function 'assume_abort_if_not' 0.040572s: half__verifast_instrumented.c(11,14-18): Producing assertion 0.040592s: half__verifast_instrumented.c(10,8-27): Executing statement 0.040604s: half__verifast_instrumented.c(13,4-6): Executing statement 0.040642s: half__verifast_instrumented.c(13,14-15): Executing statement 0.040653s: half__verifast_instrumented.c(13,15-20): Executing statement 0.040674s: half__verifast_instrumented.c(13,15-20): Verifying call 0.040683s: half__verifast_instrumented.c(3,14-18): Consuming assertion 0.040693s: half__verifast_instrumented.c(4,13-17): Producing assertion 0.040709s: half__verifast_instrumented.c(14,1-2): Executing return statement 0.040718s: half__verifast_instrumented.c(12,13-17): Consuming assertion 0.040727s: half__verifast_instrumented.c(14,1-2): Cleaning up dummy fraction chunks 0.040735s: half__verifast_instrumented.c(14,1-2): Leak check. 0.040750s: half__verifast_instrumented.c(14,1-2): Executing return statement 0.040758s: half__verifast_instrumented.c(12,13-17): Consuming assertion 0.040767s: half__verifast_instrumented.c(14,1-2): Cleaning up dummy fraction chunks 0.040780s: half__verifast_instrumented.c(14,1-2): Leak check. 0.040798s: half__verifast_instrumented.c(15,6-23): Verifying function '__VERIFIER_assert' 0.040807s: half__verifast_instrumented.c(16,20-22): Producing assertion 0.040819s: half__verifast_instrumented.c(15,6-23): Executing statement 0.040831s: half__verifast_instrumented.c(18,4-6): Executing statement 0.040845s: half__verifast_instrumented.c(21,3-9): Executing return statement 0.040858s: half__verifast_instrumented.c(17,19-21): Consuming assertion 0.040869s: half__verifast_instrumented.c(22,1-2): Cleaning up dummy fraction chunks 0.040877s: half__verifast_instrumented.c(22,1-2): Leak check. 0.040892s: half__verifast_instrumented.c(26,5-9): Verifying function 'main' 0.040900s: half__verifast_instrumented.c(27,14-20): Producing assertion 0.040913s: half__verifast_instrumented.c(30,9-20): Executing statement 0.040934s: half__verifast_instrumented.c(26,5-9): Executing statement 0.040949s: half__verifast_instrumented.c(31,11-12): Executing statement 0.040961s: half__verifast_instrumented.c(32,11-12): Executing statement 0.040970s: half__verifast_instrumented.c(33,11-12): Executing statement 0.040989s: half__verifast_instrumented.c(33,13-34): Verifying call 0.041007s: half__verifast_instrumented.c(24,14-18): Consuming assertion 0.041020s: half__verifast_instrumented.c(25,13-17): Producing assertion 0.041031s: half__verifast_instrumented.c(34,5-7): Executing statement 0.041058s: half__verifast_instrumented.c(34,43-49): Executing return statement 0.041068s: half__verifast_instrumented.c(28,13-17): Consuming assertion 0.041077s: half__verifast_instrumented.c(44,1-2): Cleaning up dummy fraction chunks 0.041085s: half__verifast_instrumented.c(44,1-2): Leak check. 0.041098s: half__verifast_instrumented.c(35,1-4): Executing statement 0.041110s: half__verifast_instrumented.c(35,7-8): Executing statement 0.041121s: half__verifast_instrumented.c(35,1-4): Executing statement 0.041144s: half__verifast_instrumented.c(36,79-81): Consuming assertion 0.041179s: half__verifast_instrumented.c(36,79-81): Producing assertion 0.041277s: half__verifast_instrumented.c(35,1-4): Evaluating loop condition 0.042183s: half__verifast_instrumented.c(37,5-6): Executing statement 0.042202s: half__verifast_instrumented.c(38,2-4): Executing statement 0.042251s: half__verifast_instrumented.c(38,18-19): Executing statement 0.042264s: half__verifast_instrumented.c(39,8-10): Executing statement 0.042289s: half__verifast_instrumented.c(35,22-24): Executing statement 0.042302s: half__verifast_instrumented.c(36,79-81): Consuming assertion 0.042710s: 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.)