15.37/5.41 MAYBE 15.37/5.42 proof of /export/starexec/sandbox2/benchmark/theBenchmark.c 15.37/5.42 # AProVE Commit ID: 48fb2092695e11cc9f56e44b17a92a5f88ffb256 marcel 20180622 unpublished dirty 15.37/5.42 15.37/5.42 15.37/5.42 Termination of the given C Problem could not be shown: 15.37/5.42 15.37/5.42 (0) C Problem 15.37/5.42 (1) CToLLVMProof [EQUIVALENT, 173 ms] 15.37/5.42 (2) LLVM problem 15.37/5.42 15.37/5.42 15.37/5.42 ---------------------------------------- 15.37/5.42 15.37/5.42 (0) 15.37/5.42 Obligation: 15.37/5.42 c file /export/starexec/sandbox2/benchmark/theBenchmark.c 15.37/5.42 ---------------------------------------- 15.37/5.42 15.37/5.42 (1) CToLLVMProof (EQUIVALENT) 15.37/5.42 Compiled c-file /export/starexec/sandbox2/benchmark/theBenchmark.c to LLVM. 15.37/5.42 ---------------------------------------- 15.37/5.42 15.37/5.42 (2) 15.37/5.42 Obligation: 15.37/5.42 LLVM Problem 15.37/5.42 15.37/5.42 Aliases: 15.37/5.42 15.37/5.42 Data layout: 15.37/5.42 15.37/5.42 "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64-S128" 15.37/5.42 15.37/5.42 Machine: 15.37/5.42 15.37/5.42 "x86_64-pc-linux-gnu" 15.37/5.42 15.37/5.42 Type definitions: 15.37/5.42 15.37/5.42 Global variables: 15.37/5.42 15.37/5.42 Function declarations and definitions: 15.37/5.42 15.37/5.42 *BasicFunctionTypename: "__VERIFIER_nondet_int" returnParam: i32 parameters: () variableLength: false visibilityType: DEFAULT callingConvention: ccc 15.37/5.42 *BasicFunctionTypename: "main" linkageType: EXTERNALLY_VISIBLE returnParam: i32 parameters: () variableLength: false visibilityType: DEFAULT callingConvention: ccc 15.37/5.42 0: 15.37/5.42 %1 = alloca i32, align 4 15.37/5.42 %n = alloca i32, align 4 15.37/5.42 %b = alloca i32, align 4 15.37/5.42 %x = alloca i32, align 4 15.37/5.42 %y = alloca i32, align 4 15.37/5.42 store 0, %1 15.37/5.42 %2 = call i32 @__VERIFIER_nondet_int() 15.37/5.42 store %2, %n 15.37/5.42 %3 = call i32 @__VERIFIER_nondet_int() 15.37/5.42 store %3, %b 15.37/5.42 %4 = call i32 @__VERIFIER_nondet_int() 15.37/5.42 store %4, %x 15.37/5.42 %5 = call i32 @__VERIFIER_nondet_int() 15.37/5.42 store %5, %y 15.37/5.42 br %6 15.37/5.42 6: 15.37/5.42 %7 = load %x 15.37/5.42 %8 = icmp sge %7 0 15.37/5.42 br %8, %9, %16 15.37/5.42 9: 15.37/5.42 %10 = load %y 15.37/5.42 %11 = icmp sle 0 %10 15.37/5.42 br %11, %12, %16 15.37/5.42 12: 15.37/5.42 %13 = load %y 15.37/5.42 %14 = load %n 15.37/5.42 %15 = icmp sle %13 %14 15.37/5.42 br %16 15.37/5.42 16: 15.37/5.42 %17 = phi [0, %9], [0, %6], [%15, %12] 15.37/5.42 br %17, %18, %38 15.37/5.42 18: 15.37/5.42 %19 = load %b 15.37/5.42 %20 = icmp eq %19 0 15.37/5.42 br %20, %21, %28 15.37/5.42 21: 15.37/5.42 %22 = load %y 15.37/5.42 %23 = add %22 1 15.37/5.42 store %23, %y 15.37/5.42 %24 = call i32 @__VERIFIER_nondet_int() 15.37/5.42 %25 = icmp ne %24 0 15.37/5.42 br %25, %26, %27 15.37/5.42 26: 15.37/5.42 store 1, %b 15.37/5.42 br %27 15.37/5.42 27: 15.37/5.42 br %37 15.37/5.42 28: 15.37/5.42 %29 = load %y 15.37/5.42 %30 = add %29 -1 15.37/5.42 store %30, %y 15.37/5.42 %31 = call i32 @__VERIFIER_nondet_int() 15.37/5.42 %32 = icmp ne %31 0 15.37/5.42 br %32, %33, %36 15.37/5.42 33: 15.37/5.42 %34 = load %x 15.37/5.42 %35 = add %34 -1 15.37/5.42 store %35, %x 15.37/5.42 store 0, %b 15.37/5.42 br %36 15.37/5.42 36: 15.37/5.42 br %37 15.37/5.42 37: 15.37/5.42 br %6 15.37/5.42 38: 15.37/5.42 ret 0 15.37/5.42 15.37/5.42 15.37/5.42 Analyze Termination of all function calls matching the pattern: 15.37/5.42 main() 15.51/6.72 EOF