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