6.47/2.48 YES 6.47/2.49 proof of /export/starexec/sandbox/benchmark/theBenchmark.c 6.47/2.49 # AProVE Commit ID: 48fb2092695e11cc9f56e44b17a92a5f88ffb256 marcel 20180622 unpublished dirty 6.47/2.49 6.47/2.49 6.47/2.49 Termination of the given C Problem could be proven: 6.47/2.49 6.47/2.49 (0) C Problem 6.47/2.49 (1) CToLLVMProof [EQUIVALENT, 171 ms] 6.47/2.49 (2) LLVM problem 6.47/2.49 (3) LLVMToTerminationGraphProof [EQUIVALENT, 333 ms] 6.47/2.49 (4) LLVM Symbolic Execution Graph 6.47/2.49 (5) SymbolicExecutionGraphToLassoProof [EQUIVALENT, 0 ms] 6.47/2.49 (6) TRUE 6.47/2.49 6.47/2.49 6.47/2.49 ---------------------------------------- 6.47/2.49 6.47/2.49 (0) 6.47/2.49 Obligation: 6.47/2.49 c file /export/starexec/sandbox/benchmark/theBenchmark.c 6.47/2.49 ---------------------------------------- 6.47/2.49 6.47/2.49 (1) CToLLVMProof (EQUIVALENT) 6.47/2.49 Compiled c-file /export/starexec/sandbox/benchmark/theBenchmark.c to LLVM. 6.47/2.49 ---------------------------------------- 6.47/2.49 6.47/2.49 (2) 6.47/2.49 Obligation: 6.47/2.49 LLVM Problem 6.47/2.49 6.47/2.49 Aliases: 6.47/2.49 6.47/2.49 Data layout: 6.47/2.49 6.47/2.49 "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" 6.47/2.49 6.47/2.49 Machine: 6.47/2.49 6.47/2.49 "x86_64-pc-linux-gnu" 6.47/2.49 6.47/2.49 Type definitions: 6.47/2.49 6.47/2.49 Global variables: 6.47/2.49 6.47/2.49 Function declarations and definitions: 6.47/2.49 6.47/2.49 *BasicFunctionTypename: "__VERIFIER_nondet_int" returnParam: i32 parameters: () variableLength: false visibilityType: DEFAULT callingConvention: ccc 6.47/2.49 *BasicFunctionTypename: "main" linkageType: EXTERNALLY_VISIBLE returnParam: i32 parameters: () variableLength: false visibilityType: DEFAULT callingConvention: ccc 6.47/2.49 0: 6.47/2.49 %1 = alloca i32, align 4 6.47/2.49 %c = alloca i32, align 4 6.47/2.49 %x = alloca i32, align 4 6.47/2.49 %y = alloca i32, align 4 6.47/2.49 store 0, %1 6.47/2.49 %2 = call i32 @__VERIFIER_nondet_int() 6.47/2.49 store %2, %x 6.47/2.49 %3 = call i32 @__VERIFIER_nondet_int() 6.47/2.49 store %3, %y 6.47/2.49 store 0, %c 6.47/2.49 br %4 6.47/2.49 4: 6.47/2.49 %5 = load %x 6.47/2.49 %6 = load %y 6.47/2.49 %7 = icmp eq %5 %6 6.47/2.49 %8 = xor %7 1 6.47/2.49 br %8, %9, %22 6.47/2.49 9: 6.47/2.49 %10 = load %x 6.47/2.49 %11 = load %y 6.47/2.49 %12 = icmp sgt %10 %11 6.47/2.49 br %12, %13, %16 6.47/2.49 13: 6.47/2.49 %14 = load %y 6.47/2.49 %15 = add %14 1 6.47/2.49 store %15, %y 6.47/2.49 br %19 6.47/2.49 16: 6.47/2.49 %17 = load %x 6.47/2.49 %18 = add %17 1 6.47/2.49 store %18, %x 6.47/2.49 br %19 6.47/2.49 19: 6.47/2.49 %20 = load %c 6.47/2.49 %21 = add %20 1 6.47/2.49 store %21, %c 6.47/2.49 br %4 6.47/2.49 22: 6.47/2.49 ret 0 6.47/2.49 6.47/2.49 6.47/2.49 Analyze Termination of all function calls matching the pattern: 6.47/2.49 main() 6.47/2.49 ---------------------------------------- 6.47/2.49 6.47/2.49 (3) LLVMToTerminationGraphProof (EQUIVALENT) 6.47/2.49 Constructed symbolic execution graph for LLVM program and proved memory safety. 6.47/2.49 ---------------------------------------- 6.47/2.49 6.47/2.49 (4) 6.47/2.49 Obligation: 6.47/2.49 SE Graph 6.47/2.49 ---------------------------------------- 6.47/2.49 6.47/2.49 (5) SymbolicExecutionGraphToLassoProof (EQUIVALENT) 6.47/2.49 Converted SEGraph to 0 independent lassos. 6.47/2.49 ---------------------------------------- 6.47/2.49 6.47/2.49 (6) 6.47/2.49 TRUE 6.47/2.53 EOF