Spaces
Explore
Communities
Statistics
Reports
Cluster
Status
Help
Compl C Integ Progr 85445 pair #381745866
details
property
value
status
complete
benchmark
wise.c
ran by
Akihisa Yamada
cpu timeout
1200 seconds
wallclock timeout
300 seconds
memory limit
137438953472 bytes
execution host
n033.star.cs.uiowa.edu
space
WTC_V2
run statistics
property
value
solver
AProVE
configuration
c_complexity
runtime (wallclock)
1.47850513458 seconds
cpu usage
2.490835274
max memory
2.100224E8
stage attributes
key
value
output-size
25512
starexec-result
WORST_CASE(?, O(n^1))
output
/export/starexec/sandbox/solver/bin/starexec_run_c_complexity /export/starexec/sandbox/benchmark/theBenchmark.c /export/starexec/sandbox/output/output_files -------------------------------------------------------------------------------- WORST_CASE(?, O(n^1)) proof of /export/starexec/sandbox/output/output_files/bench.koat # AProVE Commit ID: 48fb2092695e11cc9f56e44b17a92a5f88ffb256 marcel 20180622 unpublished dirty The runtime complexity of the given CpxIntTrs could be proven to be BOUNDS(1, n^1). (0) CpxIntTrs (1) Koat Proof [FINISHED, 103 ms] (2) BOUNDS(1, n^1) ---------------------------------------- (0) Obligation: Complexity Int TRS consisting of the following rules: eval_wise_start(v_.0, v_.01, v_x, v_y) -> Com_1(eval_wise_bb0_in(v_.0, v_.01, v_x, v_y)) :|: TRUE eval_wise_bb0_in(v_.0, v_.01, v_x, v_y) -> Com_1(eval_wise_bb2_in(v_.0, v_.01, v_x, v_y)) :|: v_x < 0 eval_wise_bb0_in(v_.0, v_.01, v_x, v_y) -> Com_1(eval_wise_bb2_in(v_.0, v_.01, v_x, v_y)) :|: v_y < 0 eval_wise_bb0_in(v_.0, v_.01, v_x, v_y) -> Com_1(eval_wise_bb1_in(v_x, v_y, v_x, v_y)) :|: v_x >= 0 && v_y >= 0 eval_wise_bb1_in(v_.0, v_.01, v_x, v_y) -> Com_1(eval_wise_.critedge_in(v_.0, v_.01, v_x, v_y)) :|: v_.0 - v_.01 > 2 eval_wise_bb1_in(v_.0, v_.01, v_x, v_y) -> Com_1(eval_wise_.critedge_in(v_.0, v_.01, v_x, v_y)) :|: v_.01 - v_.0 > 2 eval_wise_bb1_in(v_.0, v_.01, v_x, v_y) -> Com_1(eval_wise_bb2_in(v_.0, v_.01, v_x, v_y)) :|: v_.0 - v_.01 <= 2 && v_.01 - v_.0 <= 2 eval_wise_.critedge_in(v_.0, v_.01, v_x, v_y) -> Com_1(eval_wise_bb1_in(v_.0 + 1, v_.01, v_x, v_y)) :|: v_.0 < v_.01 eval_wise_.critedge_in(v_.0, v_.01, v_x, v_y) -> Com_1(eval_wise_bb1_in(v_.0, v_.01, v_x, v_y)) :|: v_.0 < v_.01 && v_.0 >= v_.01 eval_wise_.critedge_in(v_.0, v_.01, v_x, v_y) -> Com_1(eval_wise_bb1_in(v_.0 + 1, v_.01 + 1, v_x, v_y)) :|: v_.0 >= v_.01 && v_.0 < v_.01 eval_wise_.critedge_in(v_.0, v_.01, v_x, v_y) -> Com_1(eval_wise_bb1_in(v_.0, v_.01 + 1, v_x, v_y)) :|: v_.0 >= v_.01 eval_wise_bb2_in(v_.0, v_.01, v_x, v_y) -> Com_1(eval_wise_stop(v_.0, v_.01, v_x, v_y)) :|: TRUE The start-symbols are:[eval_wise_start_4] ---------------------------------------- (1) Koat Proof (FINISHED) YES(?, 8*ar_0 + 8*ar_1 + 14) Initial complexity problem: 1: T: (Comp: ?, Cost: 1) evalwisestart(ar_0, ar_1, ar_2, ar_3) -> Com_1(evalwisebb0in(ar_0, ar_1, ar_2, ar_3)) (Comp: ?, Cost: 1) evalwisebb0in(ar_0, ar_1, ar_2, ar_3) -> Com_1(evalwisebb2in(ar_0, ar_1, ar_2, ar_3)) [ 0 >= ar_0 + 1 ] (Comp: ?, Cost: 1) evalwisebb0in(ar_0, ar_1, ar_2, ar_3) -> Com_1(evalwisebb2in(ar_0, ar_1, ar_2, ar_3)) [ 0 >= ar_1 + 1 ] (Comp: ?, Cost: 1) evalwisebb0in(ar_0, ar_1, ar_2, ar_3) -> Com_1(evalwisebb1in(ar_0, ar_1, ar_0, ar_1)) [ ar_0 >= 0 /\ ar_1 >= 0 ] (Comp: ?, Cost: 1) evalwisebb1in(ar_0, ar_1, ar_2, ar_3) -> Com_1(evalwisecritedgein(ar_0, ar_1, ar_2, ar_3)) [ ar_2 >= ar_3 + 3 ] (Comp: ?, Cost: 1) evalwisebb1in(ar_0, ar_1, ar_2, ar_3) -> Com_1(evalwisecritedgein(ar_0, ar_1, ar_2, ar_3)) [ ar_3 >= ar_2 + 3 ] (Comp: ?, Cost: 1) evalwisebb1in(ar_0, ar_1, ar_2, ar_3) -> Com_1(evalwisebb2in(ar_0, ar_1, ar_2, ar_3)) [ ar_3 + 2 >= ar_2 /\ ar_2 + 2 >= ar_3 ] (Comp: ?, Cost: 1) evalwisecritedgein(ar_0, ar_1, ar_2, ar_3) -> Com_1(evalwisebb1in(ar_0, ar_1, ar_2 + 1, ar_3)) [ ar_3 >= ar_2 + 1 ] (Comp: ?, Cost: 1) evalwisecritedgein(ar_0, ar_1, ar_2, ar_3) -> Com_1(evalwisebb1in(ar_0, ar_1, ar_2, ar_3)) [ ar_3 >= ar_2 + 1 /\ ar_2 >= ar_3 ] (Comp: ?, Cost: 1) evalwisecritedgein(ar_0, ar_1, ar_2, ar_3) -> Com_1(evalwisebb1in(ar_0, ar_1, ar_2 + 1, ar_3 + 1)) [ ar_2 >= ar_3 /\ ar_3 >= ar_2 + 1 ] (Comp: ?, Cost: 1) evalwisecritedgein(ar_0, ar_1, ar_2, ar_3) -> Com_1(evalwisebb1in(ar_0, ar_1, ar_2, ar_3 + 1)) [ ar_2 >= ar_3 ] (Comp: ?, Cost: 1) evalwisebb2in(ar_0, ar_1, ar_2, ar_3) -> Com_1(evalwisestop(ar_0, ar_1, ar_2, ar_3)) (Comp: 1, Cost: 0) koat_start(ar_0, ar_1, ar_2, ar_3) -> Com_1(evalwisestart(ar_0, ar_1, ar_2, ar_3)) [ 0 <= 0 ] start location: koat_start leaf cost: 0 Testing for reachability in the complexity graph removes the following transitions from problem 1: evalwisecritedgein(ar_0, ar_1, ar_2, ar_3) -> Com_1(evalwisebb1in(ar_0, ar_1, ar_2, ar_3)) [ ar_3 >= ar_2 + 1 /\ ar_2 >= ar_3 ] evalwisecritedgein(ar_0, ar_1, ar_2, ar_3) -> Com_1(evalwisebb1in(ar_0, ar_1, ar_2 + 1, ar_3 + 1)) [ ar_2 >= ar_3 /\ ar_3 >= ar_2 + 1 ] We thus obtain the following problem: 2: T: (Comp: ?, Cost: 1) evalwisecritedgein(ar_0, ar_1, ar_2, ar_3) -> Com_1(evalwisebb1in(ar_0, ar_1, ar_2 + 1, ar_3)) [ ar_3 >= ar_2 + 1 ] (Comp: ?, Cost: 1) evalwisecritedgein(ar_0, ar_1, ar_2, ar_3) -> Com_1(evalwisebb1in(ar_0, ar_1, ar_2, ar_3 + 1)) [ ar_2 >= ar_3 ] (Comp: ?, Cost: 1) evalwisebb1in(ar_0, ar_1, ar_2, ar_3) -> Com_1(evalwisebb2in(ar_0, ar_1, ar_2, ar_3)) [ ar_3 + 2 >= ar_2 /\ ar_2 + 2 >= ar_3 ] (Comp: ?, Cost: 1) evalwisebb1in(ar_0, ar_1, ar_2, ar_3) -> Com_1(evalwisecritedgein(ar_0, ar_1, ar_2, ar_3)) [ ar_3 >= ar_2 + 3 ]
popout
output may be truncated. 'popout' for the full output.
job log
popout
actions
all output
return to Compl C Integ Progr 85445