WORST_CASE(Omega(1),?) ### Pre-processing the ITS problem ### Initial linear ITS problem Start location: l6 0: l0 -> l1 : head_16^0'=head_16^post_1, head_21^0'=head_21^post_1, head_SLAM_f_18^0'=head_SLAM_f_18^post_1, i_19^0'=i_19^post_1, i_86^0'=i_86^post_1, length_17^0'=length_17^post_1, nondet_12^0'=nondet_12^post_1, rcd_50^0'=rcd_50^post_1, rcd_80^0'=rcd_80^post_1, result_11^0'=result_11^post_1, result_dot_SLAyer_malloc_sdv_special_RETURN_VALUE_22^0'=result_dot_SLAyer_malloc_sdv_special_RETURN_VALUE_22^post_1, result_dot_nondet_sdv_special_RETURN_VALUE_13^0'=result_dot_nondet_sdv_special_RETURN_VALUE_13^post_1, tail_14^0'=tail_14^post_1, temp0_15^0'=temp0_15^post_1, temp0_20^0'=temp0_20^post_1, temp_26^0'=temp_26^post_1, tmp_23^0'=tmp_23^post_1, [ nondet_12^1_1==nondet_12^1_1 && result_dot_nondet_sdv_special_RETURN_VALUE_13^post_1==nondet_12^1_1 && nondet_12^post_1==nondet_12^post_1 && length_17^post_1==result_dot_nondet_sdv_special_RETURN_VALUE_13^post_1 && head_SLAM_f_18^post_1==tail_14^0 && head_21^post_1==head_SLAM_f_18^post_1 && i_19^post_1==0 && 0<=i_19^post_1 && i_19^post_1<=0 && result_dot_nondet_sdv_special_RETURN_VALUE_13^post_1<=length_17^post_1 && length_17^post_1<=result_dot_nondet_sdv_special_RETURN_VALUE_13^post_1 && tail_14^0<=head_SLAM_f_18^post_1 && head_SLAM_f_18^post_1<=tail_14^0 && tail_14^0<=head_21^post_1 && head_21^post_1<=tail_14^0 && head_SLAM_f_18^post_1<=head_21^post_1 && head_21^post_1<=head_SLAM_f_18^post_1 && head_16^0==head_16^post_1 && i_86^0==i_86^post_1 && rcd_50^0==rcd_50^post_1 && rcd_80^0==rcd_80^post_1 && result_11^0==result_11^post_1 && result_dot_SLAyer_malloc_sdv_special_RETURN_VALUE_22^0==result_dot_SLAyer_malloc_sdv_special_RETURN_VALUE_22^post_1 && tail_14^0==tail_14^post_1 && temp0_15^0==temp0_15^post_1 && temp0_20^0==temp0_20^post_1 && temp_26^0==temp_26^post_1 && tmp_23^0==tmp_23^post_1 ], cost: 1 6: l1 -> l3 : head_16^0'=head_16^post_7, head_21^0'=head_21^post_7, head_SLAM_f_18^0'=head_SLAM_f_18^post_7, i_19^0'=i_19^post_7, i_86^0'=i_86^post_7, length_17^0'=length_17^post_7, nondet_12^0'=nondet_12^post_7, rcd_50^0'=rcd_50^post_7, rcd_80^0'=rcd_80^post_7, result_11^0'=result_11^post_7, result_dot_SLAyer_malloc_sdv_special_RETURN_VALUE_22^0'=result_dot_SLAyer_malloc_sdv_special_RETURN_VALUE_22^post_7, result_dot_nondet_sdv_special_RETURN_VALUE_13^0'=result_dot_nondet_sdv_special_RETURN_VALUE_13^post_7, tail_14^0'=tail_14^post_7, temp0_15^0'=temp0_15^post_7, temp0_20^0'=temp0_20^post_7, temp_26^0'=temp_26^post_7, tmp_23^0'=tmp_23^post_7, [ result_dot_nondet_sdv_special_RETURN_VALUE_13^post_7==result_dot_nondet_sdv_special_RETURN_VALUE_13^post_7 && length_17^0<=i_19^0 && temp0_20^1_3_1==head_21^0 && result_11^1_3==temp0_20^1_3_1 && length_17^post_7==length_17^post_7 && head_SLAM_f_18^post_7==head_SLAM_f_18^post_7 && i_19^post_7==i_19^post_7 && temp0_20^post_7==temp0_20^post_7 && head_21^post_7==head_21^post_7 && result_dot_SLAyer_malloc_sdv_special_RETURN_VALUE_22^post_7==result_dot_SLAyer_malloc_sdv_special_RETURN_VALUE_22^post_7 && tmp_23^post_7==tmp_23^post_7 && temp_26^post_7==temp_26^post_7 && head_16^post_7==result_11^1_3 && result_11^2_3_1==result_11^2_3_1 && result_11^post_7==temp0_15^0 && result_dot_nondet_sdv_special_RETURN_VALUE_13^post_7<=0 && i_86^0==i_86^post_7 && nondet_12^0==nondet_12^post_7 && rcd_50^0==rcd_50^post_7 && rcd_80^0==rcd_80^post_7 && tail_14^0==tail_14^post_7 && temp0_15^0==temp0_15^post_7 ], cost: 1 7: l1 -> l2 : head_16^0'=head_16^post_8, head_21^0'=head_21^post_8, head_SLAM_f_18^0'=head_SLAM_f_18^post_8, i_19^0'=i_19^post_8, i_86^0'=i_86^post_8, length_17^0'=length_17^post_8, nondet_12^0'=nondet_12^post_8, rcd_50^0'=rcd_50^post_8, rcd_80^0'=rcd_80^post_8, result_11^0'=result_11^post_8, result_dot_SLAyer_malloc_sdv_special_RETURN_VALUE_22^0'=result_dot_SLAyer_malloc_sdv_special_RETURN_VALUE_22^post_8, result_dot_nondet_sdv_special_RETURN_VALUE_13^0'=result_dot_nondet_sdv_special_RETURN_VALUE_13^post_8, tail_14^0'=tail_14^post_8, temp0_15^0'=temp0_15^post_8, temp0_20^0'=temp0_20^post_8, temp_26^0'=temp_26^post_8, tmp_23^0'=tmp_23^post_8, [ result_dot_nondet_sdv_special_RETURN_VALUE_13^post_8==result_dot_nondet_sdv_special_RETURN_VALUE_13^post_8 && tail_14^post_8==tail_14^post_8 && head_SLAM_f_18^post_8==head_SLAM_f_18^post_8 && result_dot_SLAyer_malloc_sdv_special_RETURN_VALUE_22^post_8==result_dot_SLAyer_malloc_sdv_special_RETURN_VALUE_22^post_8 && 1+i_19^0<=length_17^0 && tmp_23^post_8==temp_26^0 && temp_26^post_8==temp_26^post_8 && head_21^post_8==tmp_23^post_8 && i_19^post_8==1+i_19^0 && 1<=i_19^post_8 && i_19^post_8<=1 && result_dot_nondet_sdv_special_RETURN_VALUE_13^post_8<=length_17^0 && length_17^0<=result_dot_nondet_sdv_special_RETURN_VALUE_13^post_8 && tail_14^post_8<=head_SLAM_f_18^post_8 && head_SLAM_f_18^post_8<=tail_14^post_8 && head_21^post_8<=result_dot_SLAyer_malloc_sdv_special_RETURN_VALUE_22^post_8 && result_dot_SLAyer_malloc_sdv_special_RETURN_VALUE_22^post_8<=head_21^post_8 && head_21^post_8<=tmp_23^post_8 && tmp_23^post_8<=head_21^post_8 && result_dot_SLAyer_malloc_sdv_special_RETURN_VALUE_22^post_8<=tmp_23^post_8 && tmp_23^post_8<=result_dot_SLAyer_malloc_sdv_special_RETURN_VALUE_22^post_8 && 1<=length_17^0 && head_16^0==head_16^post_8 && i_86^0==i_86^post_8 && length_17^0==length_17^post_8 && nondet_12^0==nondet_12^post_8 && rcd_50^0==rcd_50^post_8 && rcd_80^0==rcd_80^post_8 && result_11^0==result_11^post_8 && temp0_15^0==temp0_15^post_8 && temp0_20^0==temp0_20^post_8 ], cost: 1 1: l2 -> l3 : head_16^0'=head_16^post_2, head_21^0'=head_21^post_2, head_SLAM_f_18^0'=head_SLAM_f_18^post_2, i_19^0'=i_19^post_2, i_86^0'=i_86^post_2, length_17^0'=length_17^post_2, nondet_12^0'=nondet_12^post_2, rcd_50^0'=rcd_50^post_2, rcd_80^0'=rcd_80^post_2, result_11^0'=result_11^post_2, result_dot_SLAyer_malloc_sdv_special_RETURN_VALUE_22^0'=result_dot_SLAyer_malloc_sdv_special_RETURN_VALUE_22^post_2, result_dot_nondet_sdv_special_RETURN_VALUE_13^0'=result_dot_nondet_sdv_special_RETURN_VALUE_13^post_2, tail_14^0'=tail_14^post_2, temp0_15^0'=temp0_15^post_2, temp0_20^0'=temp0_20^post_2, temp_26^0'=temp_26^post_2, tmp_23^0'=tmp_23^post_2, [ result_dot_nondet_sdv_special_RETURN_VALUE_13^post_2==result_dot_nondet_sdv_special_RETURN_VALUE_13^post_2 && length_17^0<=i_19^0 && temp0_20^1_1==head_21^0 && result_11^1_1==temp0_20^1_1 && length_17^post_2==length_17^post_2 && head_SLAM_f_18^post_2==head_SLAM_f_18^post_2 && i_19^post_2==i_19^post_2 && temp0_20^post_2==temp0_20^post_2 && head_21^post_2==head_21^post_2 && result_dot_SLAyer_malloc_sdv_special_RETURN_VALUE_22^post_2==result_dot_SLAyer_malloc_sdv_special_RETURN_VALUE_22^post_2 && tmp_23^post_2==tmp_23^post_2 && temp_26^post_2==temp_26^post_2 && head_16^post_2==result_11^1_1 && result_11^2_1==result_11^2_1 && result_11^post_2==temp0_15^0 && 1<=result_dot_nondet_sdv_special_RETURN_VALUE_13^post_2 && result_dot_nondet_sdv_special_RETURN_VALUE_13^post_2<=1 && 1<=result_dot_nondet_sdv_special_RETURN_VALUE_13^post_2 && result_dot_nondet_sdv_special_RETURN_VALUE_13^post_2<=1 && i_86^0==i_86^post_2 && nondet_12^0==nondet_12^post_2 && rcd_50^0==rcd_50^post_2 && rcd_80^0==rcd_80^post_2 && tail_14^0==tail_14^post_2 && temp0_15^0==temp0_15^post_2 ], cost: 1 2: l2 -> l4 : head_16^0'=head_16^post_3, head_21^0'=head_21^post_3, head_SLAM_f_18^0'=head_SLAM_f_18^post_3, i_19^0'=i_19^post_3, i_86^0'=i_86^post_3, length_17^0'=length_17^post_3, nondet_12^0'=nondet_12^post_3, rcd_50^0'=rcd_50^post_3, rcd_80^0'=rcd_80^post_3, result_11^0'=result_11^post_3, result_dot_SLAyer_malloc_sdv_special_RETURN_VALUE_22^0'=result_dot_SLAyer_malloc_sdv_special_RETURN_VALUE_22^post_3, result_dot_nondet_sdv_special_RETURN_VALUE_13^0'=result_dot_nondet_sdv_special_RETURN_VALUE_13^post_3, tail_14^0'=tail_14^post_3, temp0_15^0'=temp0_15^post_3, temp0_20^0'=temp0_20^post_3, temp_26^0'=temp_26^post_3, tmp_23^0'=tmp_23^post_3, [ result_dot_nondet_sdv_special_RETURN_VALUE_13^post_3==result_dot_nondet_sdv_special_RETURN_VALUE_13^post_3 && tail_14^post_3==tail_14^post_3 && head_SLAM_f_18^post_3==head_SLAM_f_18^post_3 && result_dot_SLAyer_malloc_sdv_special_RETURN_VALUE_22^post_3==result_dot_SLAyer_malloc_sdv_special_RETURN_VALUE_22^post_3 && rcd_50^post_3==rcd_50^post_3 && 1+i_19^0<=length_17^0 && tmp_23^post_3==temp_26^0 && temp_26^post_3==temp_26^post_3 && head_21^post_3==tmp_23^post_3 && i_19^post_3==1+i_19^0 && 2<=i_19^post_3 && i_19^post_3<=2 && result_dot_nondet_sdv_special_RETURN_VALUE_13^post_3<=length_17^0 && length_17^0<=result_dot_nondet_sdv_special_RETURN_VALUE_13^post_3 && tail_14^post_3<=head_SLAM_f_18^post_3 && head_SLAM_f_18^post_3<=tail_14^post_3 && head_21^post_3<=result_dot_SLAyer_malloc_sdv_special_RETURN_VALUE_22^post_3 && result_dot_SLAyer_malloc_sdv_special_RETURN_VALUE_22^post_3<=head_21^post_3 && head_21^post_3<=tmp_23^post_3 && tmp_23^post_3<=head_21^post_3 && result_dot_SLAyer_malloc_sdv_special_RETURN_VALUE_22^post_3<=tmp_23^post_3 && tmp_23^post_3<=result_dot_SLAyer_malloc_sdv_special_RETURN_VALUE_22^post_3 && 1<=length_17^0 && 2<=length_17^0 && head_16^0==head_16^post_3 && i_86^0==i_86^post_3 && length_17^0==length_17^post_3 && nondet_12^0==nondet_12^post_3 && rcd_80^0==rcd_80^post_3 && result_11^0==result_11^post_3 && temp0_15^0==temp0_15^post_3 && temp0_20^0==temp0_20^post_3 ], cost: 1 3: l4 -> l3 : head_16^0'=head_16^post_4, head_21^0'=head_21^post_4, head_SLAM_f_18^0'=head_SLAM_f_18^post_4, i_19^0'=i_19^post_4, i_86^0'=i_86^post_4, length_17^0'=length_17^post_4, nondet_12^0'=nondet_12^post_4, rcd_50^0'=rcd_50^post_4, rcd_80^0'=rcd_80^post_4, result_11^0'=result_11^post_4, result_dot_SLAyer_malloc_sdv_special_RETURN_VALUE_22^0'=result_dot_SLAyer_malloc_sdv_special_RETURN_VALUE_22^post_4, result_dot_nondet_sdv_special_RETURN_VALUE_13^0'=result_dot_nondet_sdv_special_RETURN_VALUE_13^post_4, tail_14^0'=tail_14^post_4, temp0_15^0'=temp0_15^post_4, temp0_20^0'=temp0_20^post_4, temp_26^0'=temp_26^post_4, tmp_23^0'=tmp_23^post_4, [ 0<=i_19^0 && result_dot_nondet_sdv_special_RETURN_VALUE_13^post_4==result_dot_nondet_sdv_special_RETURN_VALUE_13^post_4 && length_17^0<=i_19^0 && temp0_20^1_2_1==head_21^0 && result_11^1_2==temp0_20^1_2_1 && length_17^post_4==length_17^post_4 && head_SLAM_f_18^post_4==head_SLAM_f_18^post_4 && i_19^post_4==i_19^post_4 && temp0_20^post_4==temp0_20^post_4 && head_21^post_4==head_21^post_4 && result_dot_SLAyer_malloc_sdv_special_RETURN_VALUE_22^post_4==result_dot_SLAyer_malloc_sdv_special_RETURN_VALUE_22^post_4 && tmp_23^post_4==tmp_23^post_4 && temp_26^post_4==temp_26^post_4 && head_16^post_4==result_11^1_2 && result_11^2_2_1==result_11^2_2_1 && result_11^post_4==temp0_15^0 && 1<=result_dot_nondet_sdv_special_RETURN_VALUE_13^post_4 && 2<=result_dot_nondet_sdv_special_RETURN_VALUE_13^post_4 && result_dot_nondet_sdv_special_RETURN_VALUE_13^post_4<=i_19^post_4 && i_86^0==i_86^post_4 && nondet_12^0==nondet_12^post_4 && rcd_50^0==rcd_50^post_4 && rcd_80^0==rcd_80^post_4 && tail_14^0==tail_14^post_4 && temp0_15^0==temp0_15^post_4 ], cost: 1 4: l4 -> l5 : head_16^0'=head_16^post_5, head_21^0'=head_21^post_5, head_SLAM_f_18^0'=head_SLAM_f_18^post_5, i_19^0'=i_19^post_5, i_86^0'=i_86^post_5, length_17^0'=length_17^post_5, nondet_12^0'=nondet_12^post_5, rcd_50^0'=rcd_50^post_5, rcd_80^0'=rcd_80^post_5, result_11^0'=result_11^post_5, result_dot_SLAyer_malloc_sdv_special_RETURN_VALUE_22^0'=result_dot_SLAyer_malloc_sdv_special_RETURN_VALUE_22^post_5, result_dot_nondet_sdv_special_RETURN_VALUE_13^0'=result_dot_nondet_sdv_special_RETURN_VALUE_13^post_5, tail_14^0'=tail_14^post_5, temp0_15^0'=temp0_15^post_5, temp0_20^0'=temp0_20^post_5, temp_26^0'=temp_26^post_5, tmp_23^0'=tmp_23^post_5, [ 0<=i_19^0 && rcd_80^post_5==rcd_80^post_5 && i_86^post_5==i_86^post_5 && 1+i_19^0<=length_17^0 && tmp_23^post_5==temp_26^0 && temp_26^post_5==temp_26^post_5 && head_21^post_5==tmp_23^post_5 && i_19^post_5==1+i_19^0 && i_19^post_5<=1+i_86^post_5 && 1+i_86^post_5<=i_19^post_5 && i_86^post_5<=-1+i_19^post_5 && -1+i_19^post_5<=i_86^post_5 && 1+i_86^post_5<=length_17^0 && head_16^0==head_16^post_5 && head_SLAM_f_18^0==head_SLAM_f_18^post_5 && length_17^0==length_17^post_5 && nondet_12^0==nondet_12^post_5 && rcd_50^0==rcd_50^post_5 && result_11^0==result_11^post_5 && result_dot_SLAyer_malloc_sdv_special_RETURN_VALUE_22^0==result_dot_SLAyer_malloc_sdv_special_RETURN_VALUE_22^post_5 && result_dot_nondet_sdv_special_RETURN_VALUE_13^0==result_dot_nondet_sdv_special_RETURN_VALUE_13^post_5 && tail_14^0==tail_14^post_5 && temp0_15^0==temp0_15^post_5 && temp0_20^0==temp0_20^post_5 ], cost: 1 5: l5 -> l4 : head_16^0'=head_16^post_6, head_21^0'=head_21^post_6, head_SLAM_f_18^0'=head_SLAM_f_18^post_6, i_19^0'=i_19^post_6, i_86^0'=i_86^post_6, length_17^0'=length_17^post_6, nondet_12^0'=nondet_12^post_6, rcd_50^0'=rcd_50^post_6, rcd_80^0'=rcd_80^post_6, result_11^0'=result_11^post_6, result_dot_SLAyer_malloc_sdv_special_RETURN_VALUE_22^0'=result_dot_SLAyer_malloc_sdv_special_RETURN_VALUE_22^post_6, result_dot_nondet_sdv_special_RETURN_VALUE_13^0'=result_dot_nondet_sdv_special_RETURN_VALUE_13^post_6, tail_14^0'=tail_14^post_6, temp0_15^0'=temp0_15^post_6, temp0_20^0'=temp0_20^post_6, temp_26^0'=temp_26^post_6, tmp_23^0'=tmp_23^post_6, [ head_16^0==head_16^post_6 && head_21^0==head_21^post_6 && head_SLAM_f_18^0==head_SLAM_f_18^post_6 && i_19^0==i_19^post_6 && i_86^0==i_86^post_6 && length_17^0==length_17^post_6 && nondet_12^0==nondet_12^post_6 && rcd_50^0==rcd_50^post_6 && rcd_80^0==rcd_80^post_6 && result_11^0==result_11^post_6 && result_dot_SLAyer_malloc_sdv_special_RETURN_VALUE_22^0==result_dot_SLAyer_malloc_sdv_special_RETURN_VALUE_22^post_6 && result_dot_nondet_sdv_special_RETURN_VALUE_13^0==result_dot_nondet_sdv_special_RETURN_VALUE_13^post_6 && tail_14^0==tail_14^post_6 && temp0_15^0==temp0_15^post_6 && temp0_20^0==temp0_20^post_6 && temp_26^0==temp_26^post_6 && tmp_23^0==tmp_23^post_6 ], cost: 1 8: l6 -> l0 : head_16^0'=head_16^post_9, head_21^0'=head_21^post_9, head_SLAM_f_18^0'=head_SLAM_f_18^post_9, i_19^0'=i_19^post_9, i_86^0'=i_86^post_9, length_17^0'=length_17^post_9, nondet_12^0'=nondet_12^post_9, rcd_50^0'=rcd_50^post_9, rcd_80^0'=rcd_80^post_9, result_11^0'=result_11^post_9, result_dot_SLAyer_malloc_sdv_special_RETURN_VALUE_22^0'=result_dot_SLAyer_malloc_sdv_special_RETURN_VALUE_22^post_9, result_dot_nondet_sdv_special_RETURN_VALUE_13^0'=result_dot_nondet_sdv_special_RETURN_VALUE_13^post_9, tail_14^0'=tail_14^post_9, temp0_15^0'=temp0_15^post_9, temp0_20^0'=temp0_20^post_9, temp_26^0'=temp_26^post_9, tmp_23^0'=tmp_23^post_9, [ head_16^0==head_16^post_9 && head_21^0==head_21^post_9 && head_SLAM_f_18^0==head_SLAM_f_18^post_9 && i_19^0==i_19^post_9 && i_86^0==i_86^post_9 && length_17^0==length_17^post_9 && nondet_12^0==nondet_12^post_9 && rcd_50^0==rcd_50^post_9 && rcd_80^0==rcd_80^post_9 && result_11^0==result_11^post_9 && result_dot_SLAyer_malloc_sdv_special_RETURN_VALUE_22^0==result_dot_SLAyer_malloc_sdv_special_RETURN_VALUE_22^post_9 && result_dot_nondet_sdv_special_RETURN_VALUE_13^0==result_dot_nondet_sdv_special_RETURN_VALUE_13^post_9 && tail_14^0==tail_14^post_9 && temp0_15^0==temp0_15^post_9 && temp0_20^0==temp0_20^post_9 && temp_26^0==temp_26^post_9 && tmp_23^0==tmp_23^post_9 ], cost: 1 Checking for constant complexity: The following rule is satisfiable with cost >= 1, yielding constant complexity: 8: l6 -> l0 : head_16^0'=head_16^post_9, head_21^0'=head_21^post_9, head_SLAM_f_18^0'=head_SLAM_f_18^post_9, i_19^0'=i_19^post_9, i_86^0'=i_86^post_9, length_17^0'=length_17^post_9, nondet_12^0'=nondet_12^post_9, rcd_50^0'=rcd_50^post_9, rcd_80^0'=rcd_80^post_9, result_11^0'=result_11^post_9, result_dot_SLAyer_malloc_sdv_special_RETURN_VALUE_22^0'=result_dot_SLAyer_malloc_sdv_special_RETURN_VALUE_22^post_9, result_dot_nondet_sdv_special_RETURN_VALUE_13^0'=result_dot_nondet_sdv_special_RETURN_VALUE_13^post_9, tail_14^0'=tail_14^post_9, temp0_15^0'=temp0_15^post_9, temp0_20^0'=temp0_20^post_9, temp_26^0'=temp_26^post_9, tmp_23^0'=tmp_23^post_9, [ head_16^0==head_16^post_9 && head_21^0==head_21^post_9 && head_SLAM_f_18^0==head_SLAM_f_18^post_9 && i_19^0==i_19^post_9 && i_86^0==i_86^post_9 && length_17^0==length_17^post_9 && nondet_12^0==nondet_12^post_9 && rcd_50^0==rcd_50^post_9 && rcd_80^0==rcd_80^post_9 && result_11^0==result_11^post_9 && result_dot_SLAyer_malloc_sdv_special_RETURN_VALUE_22^0==result_dot_SLAyer_malloc_sdv_special_RETURN_VALUE_22^post_9 && result_dot_nondet_sdv_special_RETURN_VALUE_13^0==result_dot_nondet_sdv_special_RETURN_VALUE_13^post_9 && tail_14^0==tail_14^post_9 && temp0_15^0==temp0_15^post_9 && temp0_20^0==temp0_20^post_9 && temp_26^0==temp_26^post_9 && tmp_23^0==tmp_23^post_9 ], cost: 1 Removed unreachable and leaf rules: Start location: l6 0: l0 -> l1 : head_16^0'=head_16^post_1, head_21^0'=head_21^post_1, head_SLAM_f_18^0'=head_SLAM_f_18^post_1, i_19^0'=i_19^post_1, i_86^0'=i_86^post_1, length_17^0'=length_17^post_1, nondet_12^0'=nondet_12^post_1, rcd_50^0'=rcd_50^post_1, rcd_80^0'=rcd_80^post_1, result_11^0'=result_11^post_1, result_dot_SLAyer_malloc_sdv_special_RETURN_VALUE_22^0'=result_dot_SLAyer_malloc_sdv_special_RETURN_VALUE_22^post_1, result_dot_nondet_sdv_special_RETURN_VALUE_13^0'=result_dot_nondet_sdv_special_RETURN_VALUE_13^post_1, tail_14^0'=tail_14^post_1, temp0_15^0'=temp0_15^post_1, temp0_20^0'=temp0_20^post_1, temp_26^0'=temp_26^post_1, tmp_23^0'=tmp_23^post_1, [ nondet_12^1_1==nondet_12^1_1 && result_dot_nondet_sdv_special_RETURN_VALUE_13^post_1==nondet_12^1_1 && nondet_12^post_1==nondet_12^post_1 && length_17^post_1==result_dot_nondet_sdv_special_RETURN_VALUE_13^post_1 && head_SLAM_f_18^post_1==tail_14^0 && head_21^post_1==head_SLAM_f_18^post_1 && i_19^post_1==0 && 0<=i_19^post_1 && i_19^post_1<=0 && result_dot_nondet_sdv_special_RETURN_VALUE_13^post_1<=length_17^post_1 && length_17^post_1<=result_dot_nondet_sdv_special_RETURN_VALUE_13^post_1 && tail_14^0<=head_SLAM_f_18^post_1 && head_SLAM_f_18^post_1<=tail_14^0 && tail_14^0<=head_21^post_1 && head_21^post_1<=tail_14^0 && head_SLAM_f_18^post_1<=head_21^post_1 && head_21^post_1<=head_SLAM_f_18^post_1 && head_16^0==head_16^post_1 && i_86^0==i_86^post_1 && rcd_50^0==rcd_50^post_1 && rcd_80^0==rcd_80^post_1 && result_11^0==result_11^post_1 && result_dot_SLAyer_malloc_sdv_special_RETURN_VALUE_22^0==result_dot_SLAyer_malloc_sdv_special_RETURN_VALUE_22^post_1 && tail_14^0==tail_14^post_1 && temp0_15^0==temp0_15^post_1 && temp0_20^0==temp0_20^post_1 && temp_26^0==temp_26^post_1 && tmp_23^0==tmp_23^post_1 ], cost: 1 7: l1 -> l2 : head_16^0'=head_16^post_8, head_21^0'=head_21^post_8, head_SLAM_f_18^0'=head_SLAM_f_18^post_8, i_19^0'=i_19^post_8, i_86^0'=i_86^post_8, length_17^0'=length_17^post_8, nondet_12^0'=nondet_12^post_8, rcd_50^0'=rcd_50^post_8, rcd_80^0'=rcd_80^post_8, result_11^0'=result_11^post_8, result_dot_SLAyer_malloc_sdv_special_RETURN_VALUE_22^0'=result_dot_SLAyer_malloc_sdv_special_RETURN_VALUE_22^post_8, result_dot_nondet_sdv_special_RETURN_VALUE_13^0'=result_dot_nondet_sdv_special_RETURN_VALUE_13^post_8, tail_14^0'=tail_14^post_8, temp0_15^0'=temp0_15^post_8, temp0_20^0'=temp0_20^post_8, temp_26^0'=temp_26^post_8, tmp_23^0'=tmp_23^post_8, [ result_dot_nondet_sdv_special_RETURN_VALUE_13^post_8==result_dot_nondet_sdv_special_RETURN_VALUE_13^post_8 && tail_14^post_8==tail_14^post_8 && head_SLAM_f_18^post_8==head_SLAM_f_18^post_8 && result_dot_SLAyer_malloc_sdv_special_RETURN_VALUE_22^post_8==result_dot_SLAyer_malloc_sdv_special_RETURN_VALUE_22^post_8 && 1+i_19^0<=length_17^0 && tmp_23^post_8==temp_26^0 && temp_26^post_8==temp_26^post_8 && head_21^post_8==tmp_23^post_8 && i_19^post_8==1+i_19^0 && 1<=i_19^post_8 && i_19^post_8<=1 && result_dot_nondet_sdv_special_RETURN_VALUE_13^post_8<=length_17^0 && length_17^0<=result_dot_nondet_sdv_special_RETURN_VALUE_13^post_8 && tail_14^post_8<=head_SLAM_f_18^post_8 && head_SLAM_f_18^post_8<=tail_14^post_8 && head_21^post_8<=result_dot_SLAyer_malloc_sdv_special_RETURN_VALUE_22^post_8 && result_dot_SLAyer_malloc_sdv_special_RETURN_VALUE_22^post_8<=head_21^post_8 && head_21^post_8<=tmp_23^post_8 && tmp_23^post_8<=head_21^post_8 && result_dot_SLAyer_malloc_sdv_special_RETURN_VALUE_22^post_8<=tmp_23^post_8 && tmp_23^post_8<=result_dot_SLAyer_malloc_sdv_special_RETURN_VALUE_22^post_8 && 1<=length_17^0 && head_16^0==head_16^post_8 && i_86^0==i_86^post_8 && length_17^0==length_17^post_8 && nondet_12^0==nondet_12^post_8 && rcd_50^0==rcd_50^post_8 && rcd_80^0==rcd_80^post_8 && result_11^0==result_11^post_8 && temp0_15^0==temp0_15^post_8 && temp0_20^0==temp0_20^post_8 ], cost: 1 2: l2 -> l4 : head_16^0'=head_16^post_3, head_21^0'=head_21^post_3, head_SLAM_f_18^0'=head_SLAM_f_18^post_3, i_19^0'=i_19^post_3, i_86^0'=i_86^post_3, length_17^0'=length_17^post_3, nondet_12^0'=nondet_12^post_3, rcd_50^0'=rcd_50^post_3, rcd_80^0'=rcd_80^post_3, result_11^0'=result_11^post_3, result_dot_SLAyer_malloc_sdv_special_RETURN_VALUE_22^0'=result_dot_SLAyer_malloc_sdv_special_RETURN_VALUE_22^post_3, result_dot_nondet_sdv_special_RETURN_VALUE_13^0'=result_dot_nondet_sdv_special_RETURN_VALUE_13^post_3, tail_14^0'=tail_14^post_3, temp0_15^0'=temp0_15^post_3, temp0_20^0'=temp0_20^post_3, temp_26^0'=temp_26^post_3, tmp_23^0'=tmp_23^post_3, [ result_dot_nondet_sdv_special_RETURN_VALUE_13^post_3==result_dot_nondet_sdv_special_RETURN_VALUE_13^post_3 && tail_14^post_3==tail_14^post_3 && head_SLAM_f_18^post_3==head_SLAM_f_18^post_3 && result_dot_SLAyer_malloc_sdv_special_RETURN_VALUE_22^post_3==result_dot_SLAyer_malloc_sdv_special_RETURN_VALUE_22^post_3 && rcd_50^post_3==rcd_50^post_3 && 1+i_19^0<=length_17^0 && tmp_23^post_3==temp_26^0 && temp_26^post_3==temp_26^post_3 && head_21^post_3==tmp_23^post_3 && i_19^post_3==1+i_19^0 && 2<=i_19^post_3 && i_19^post_3<=2 && result_dot_nondet_sdv_special_RETURN_VALUE_13^post_3<=length_17^0 && length_17^0<=result_dot_nondet_sdv_special_RETURN_VALUE_13^post_3 && tail_14^post_3<=head_SLAM_f_18^post_3 && head_SLAM_f_18^post_3<=tail_14^post_3 && head_21^post_3<=result_dot_SLAyer_malloc_sdv_special_RETURN_VALUE_22^post_3 && result_dot_SLAyer_malloc_sdv_special_RETURN_VALUE_22^post_3<=head_21^post_3 && head_21^post_3<=tmp_23^post_3 && tmp_23^post_3<=head_21^post_3 && result_dot_SLAyer_malloc_sdv_special_RETURN_VALUE_22^post_3<=tmp_23^post_3 && tmp_23^post_3<=result_dot_SLAyer_malloc_sdv_special_RETURN_VALUE_22^post_3 && 1<=length_17^0 && 2<=length_17^0 && head_16^0==head_16^post_3 && i_86^0==i_86^post_3 && length_17^0==length_17^post_3 && nondet_12^0==nondet_12^post_3 && rcd_80^0==rcd_80^post_3 && result_11^0==result_11^post_3 && temp0_15^0==temp0_15^post_3 && temp0_20^0==temp0_20^post_3 ], cost: 1 4: l4 -> l5 : head_16^0'=head_16^post_5, head_21^0'=head_21^post_5, head_SLAM_f_18^0'=head_SLAM_f_18^post_5, i_19^0'=i_19^post_5, i_86^0'=i_86^post_5, length_17^0'=length_17^post_5, nondet_12^0'=nondet_12^post_5, rcd_50^0'=rcd_50^post_5, rcd_80^0'=rcd_80^post_5, result_11^0'=result_11^post_5, result_dot_SLAyer_malloc_sdv_special_RETURN_VALUE_22^0'=result_dot_SLAyer_malloc_sdv_special_RETURN_VALUE_22^post_5, result_dot_nondet_sdv_special_RETURN_VALUE_13^0'=result_dot_nondet_sdv_special_RETURN_VALUE_13^post_5, tail_14^0'=tail_14^post_5, temp0_15^0'=temp0_15^post_5, temp0_20^0'=temp0_20^post_5, temp_26^0'=temp_26^post_5, tmp_23^0'=tmp_23^post_5, [ 0<=i_19^0 && rcd_80^post_5==rcd_80^post_5 && i_86^post_5==i_86^post_5 && 1+i_19^0<=length_17^0 && tmp_23^post_5==temp_26^0 && temp_26^post_5==temp_26^post_5 && head_21^post_5==tmp_23^post_5 && i_19^post_5==1+i_19^0 && i_19^post_5<=1+i_86^post_5 && 1+i_86^post_5<=i_19^post_5 && i_86^post_5<=-1+i_19^post_5 && -1+i_19^post_5<=i_86^post_5 && 1+i_86^post_5<=length_17^0 && head_16^0==head_16^post_5 && head_SLAM_f_18^0==head_SLAM_f_18^post_5 && length_17^0==length_17^post_5 && nondet_12^0==nondet_12^post_5 && rcd_50^0==rcd_50^post_5 && result_11^0==result_11^post_5 && result_dot_SLAyer_malloc_sdv_special_RETURN_VALUE_22^0==result_dot_SLAyer_malloc_sdv_special_RETURN_VALUE_22^post_5 && result_dot_nondet_sdv_special_RETURN_VALUE_13^0==result_dot_nondet_sdv_special_RETURN_VALUE_13^post_5 && tail_14^0==tail_14^post_5 && temp0_15^0==temp0_15^post_5 && temp0_20^0==temp0_20^post_5 ], cost: 1 5: l5 -> l4 : head_16^0'=head_16^post_6, head_21^0'=head_21^post_6, head_SLAM_f_18^0'=head_SLAM_f_18^post_6, i_19^0'=i_19^post_6, i_86^0'=i_86^post_6, length_17^0'=length_17^post_6, nondet_12^0'=nondet_12^post_6, rcd_50^0'=rcd_50^post_6, rcd_80^0'=rcd_80^post_6, result_11^0'=result_11^post_6, result_dot_SLAyer_malloc_sdv_special_RETURN_VALUE_22^0'=result_dot_SLAyer_malloc_sdv_special_RETURN_VALUE_22^post_6, result_dot_nondet_sdv_special_RETURN_VALUE_13^0'=result_dot_nondet_sdv_special_RETURN_VALUE_13^post_6, tail_14^0'=tail_14^post_6, temp0_15^0'=temp0_15^post_6, temp0_20^0'=temp0_20^post_6, temp_26^0'=temp_26^post_6, tmp_23^0'=tmp_23^post_6, [ head_16^0==head_16^post_6 && head_21^0==head_21^post_6 && head_SLAM_f_18^0==head_SLAM_f_18^post_6 && i_19^0==i_19^post_6 && i_86^0==i_86^post_6 && length_17^0==length_17^post_6 && nondet_12^0==nondet_12^post_6 && rcd_50^0==rcd_50^post_6 && rcd_80^0==rcd_80^post_6 && result_11^0==result_11^post_6 && result_dot_SLAyer_malloc_sdv_special_RETURN_VALUE_22^0==result_dot_SLAyer_malloc_sdv_special_RETURN_VALUE_22^post_6 && result_dot_nondet_sdv_special_RETURN_VALUE_13^0==result_dot_nondet_sdv_special_RETURN_VALUE_13^post_6 && tail_14^0==tail_14^post_6 && temp0_15^0==temp0_15^post_6 && temp0_20^0==temp0_20^post_6 && temp_26^0==temp_26^post_6 && tmp_23^0==tmp_23^post_6 ], cost: 1 8: l6 -> l0 : head_16^0'=head_16^post_9, head_21^0'=head_21^post_9, head_SLAM_f_18^0'=head_SLAM_f_18^post_9, i_19^0'=i_19^post_9, i_86^0'=i_86^post_9, length_17^0'=length_17^post_9, nondet_12^0'=nondet_12^post_9, rcd_50^0'=rcd_50^post_9, rcd_80^0'=rcd_80^post_9, result_11^0'=result_11^post_9, result_dot_SLAyer_malloc_sdv_special_RETURN_VALUE_22^0'=result_dot_SLAyer_malloc_sdv_special_RETURN_VALUE_22^post_9, result_dot_nondet_sdv_special_RETURN_VALUE_13^0'=result_dot_nondet_sdv_special_RETURN_VALUE_13^post_9, tail_14^0'=tail_14^post_9, temp0_15^0'=temp0_15^post_9, temp0_20^0'=temp0_20^post_9, temp_26^0'=temp_26^post_9, tmp_23^0'=tmp_23^post_9, [ head_16^0==head_16^post_9 && head_21^0==head_21^post_9 && head_SLAM_f_18^0==head_SLAM_f_18^post_9 && i_19^0==i_19^post_9 && i_86^0==i_86^post_9 && length_17^0==length_17^post_9 && nondet_12^0==nondet_12^post_9 && rcd_50^0==rcd_50^post_9 && rcd_80^0==rcd_80^post_9 && result_11^0==result_11^post_9 && result_dot_SLAyer_malloc_sdv_special_RETURN_VALUE_22^0==result_dot_SLAyer_malloc_sdv_special_RETURN_VALUE_22^post_9 && result_dot_nondet_sdv_special_RETURN_VALUE_13^0==result_dot_nondet_sdv_special_RETURN_VALUE_13^post_9 && tail_14^0==tail_14^post_9 && temp0_15^0==temp0_15^post_9 && temp0_20^0==temp0_20^post_9 && temp_26^0==temp_26^post_9 && tmp_23^0==tmp_23^post_9 ], cost: 1 Simplified all rules, resulting in: Start location: l6 0: l0 -> l1 : head_21^0'=tail_14^0, head_SLAM_f_18^0'=tail_14^0, i_19^0'=0, length_17^0'=nondet_12^1_1, nondet_12^0'=nondet_12^post_1, result_dot_nondet_sdv_special_RETURN_VALUE_13^0'=nondet_12^1_1, [], cost: 1 7: l1 -> l2 : head_21^0'=temp_26^0, head_SLAM_f_18^0'=tail_14^post_8, i_19^0'=1+i_19^0, result_dot_SLAyer_malloc_sdv_special_RETURN_VALUE_22^0'=temp_26^0, result_dot_nondet_sdv_special_RETURN_VALUE_13^0'=length_17^0, tail_14^0'=tail_14^post_8, temp_26^0'=temp_26^post_8, tmp_23^0'=temp_26^0, [ 1+i_19^0<=length_17^0 && -i_19^0==0 ], cost: 1 2: l2 -> l4 : head_21^0'=temp_26^0, head_SLAM_f_18^0'=tail_14^post_3, i_19^0'=1+i_19^0, rcd_50^0'=rcd_50^post_3, result_dot_SLAyer_malloc_sdv_special_RETURN_VALUE_22^0'=temp_26^0, result_dot_nondet_sdv_special_RETURN_VALUE_13^0'=length_17^0, tail_14^0'=tail_14^post_3, temp_26^0'=temp_26^post_3, tmp_23^0'=temp_26^0, [ 1+i_19^0<=length_17^0 && 1-i_19^0==0 ], cost: 1 4: l4 -> l5 : head_21^0'=temp_26^0, i_19^0'=1+i_19^0, i_86^0'=i_19^0, rcd_80^0'=rcd_80^post_5, temp_26^0'=temp_26^post_5, tmp_23^0'=temp_26^0, [ 0<=i_19^0 && 1+i_19^0<=length_17^0 ], cost: 1 5: l5 -> l4 : [], cost: 1 8: l6 -> l0 : [], cost: 1 ### Simplification by acceleration and chaining ### Eliminated locations (on linear paths): Start location: l6 12: l4 -> l4 : head_21^0'=temp_26^0, i_19^0'=1+i_19^0, i_86^0'=i_19^0, rcd_80^0'=rcd_80^post_5, temp_26^0'=temp_26^post_5, tmp_23^0'=temp_26^0, [ 0<=i_19^0 && 1+i_19^0<=length_17^0 ], cost: 2 11: l6 -> l4 : head_21^0'=temp_26^post_8, head_SLAM_f_18^0'=tail_14^post_3, i_19^0'=2, length_17^0'=nondet_12^1_1, nondet_12^0'=nondet_12^post_1, rcd_50^0'=rcd_50^post_3, result_dot_SLAyer_malloc_sdv_special_RETURN_VALUE_22^0'=temp_26^post_8, result_dot_nondet_sdv_special_RETURN_VALUE_13^0'=nondet_12^1_1, tail_14^0'=tail_14^post_3, temp_26^0'=temp_26^post_3, tmp_23^0'=temp_26^post_8, [ 2<=nondet_12^1_1 ], cost: 4 Accelerating simple loops of location 4. Accelerating the following rules: 12: l4 -> l4 : head_21^0'=temp_26^0, i_19^0'=1+i_19^0, i_86^0'=i_19^0, rcd_80^0'=rcd_80^post_5, temp_26^0'=temp_26^post_5, tmp_23^0'=temp_26^0, [ 0<=i_19^0 && 1+i_19^0<=length_17^0 ], cost: 2 Accelerated rule 12 with backward acceleration, yielding the new rule 13. [accelerate] Nesting with 1 inner and 1 outer candidates Removing the simple loops: 12. Accelerated all simple loops using metering functions (where possible): Start location: l6 13: l4 -> l4 : head_21^0'=temp_26^post_5, i_19^0'=length_17^0, i_86^0'=-1+length_17^0, rcd_80^0'=rcd_80^post_5, temp_26^0'=temp_26^post_5, tmp_23^0'=temp_26^post_5, [ 0<=i_19^0 && length_17^0-i_19^0>=1 ], cost: 2*length_17^0-2*i_19^0 11: l6 -> l4 : head_21^0'=temp_26^post_8, head_SLAM_f_18^0'=tail_14^post_3, i_19^0'=2, length_17^0'=nondet_12^1_1, nondet_12^0'=nondet_12^post_1, rcd_50^0'=rcd_50^post_3, result_dot_SLAyer_malloc_sdv_special_RETURN_VALUE_22^0'=temp_26^post_8, result_dot_nondet_sdv_special_RETURN_VALUE_13^0'=nondet_12^1_1, tail_14^0'=tail_14^post_3, temp_26^0'=temp_26^post_3, tmp_23^0'=temp_26^post_8, [ 2<=nondet_12^1_1 ], cost: 4 Chained accelerated rules (with incoming rules): Start location: l6 11: l6 -> l4 : head_21^0'=temp_26^post_8, head_SLAM_f_18^0'=tail_14^post_3, i_19^0'=2, length_17^0'=nondet_12^1_1, nondet_12^0'=nondet_12^post_1, rcd_50^0'=rcd_50^post_3, result_dot_SLAyer_malloc_sdv_special_RETURN_VALUE_22^0'=temp_26^post_8, result_dot_nondet_sdv_special_RETURN_VALUE_13^0'=nondet_12^1_1, tail_14^0'=tail_14^post_3, temp_26^0'=temp_26^post_3, tmp_23^0'=temp_26^post_8, [ 2<=nondet_12^1_1 ], cost: 4 14: l6 -> l4 : head_21^0'=temp_26^post_5, head_SLAM_f_18^0'=tail_14^post_3, i_19^0'=nondet_12^1_1, i_86^0'=-1+nondet_12^1_1, length_17^0'=nondet_12^1_1, nondet_12^0'=nondet_12^post_1, rcd_50^0'=rcd_50^post_3, rcd_80^0'=rcd_80^post_5, result_dot_SLAyer_malloc_sdv_special_RETURN_VALUE_22^0'=temp_26^post_8, result_dot_nondet_sdv_special_RETURN_VALUE_13^0'=nondet_12^1_1, tail_14^0'=tail_14^post_3, temp_26^0'=temp_26^post_5, tmp_23^0'=temp_26^post_5, [ -2+nondet_12^1_1>=1 ], cost: 2*nondet_12^1_1 Removed unreachable locations (and leaf rules with constant cost): Start location: l6 14: l6 -> l4 : head_21^0'=temp_26^post_5, head_SLAM_f_18^0'=tail_14^post_3, i_19^0'=nondet_12^1_1, i_86^0'=-1+nondet_12^1_1, length_17^0'=nondet_12^1_1, nondet_12^0'=nondet_12^post_1, rcd_50^0'=rcd_50^post_3, rcd_80^0'=rcd_80^post_5, result_dot_SLAyer_malloc_sdv_special_RETURN_VALUE_22^0'=temp_26^post_8, result_dot_nondet_sdv_special_RETURN_VALUE_13^0'=nondet_12^1_1, tail_14^0'=tail_14^post_3, temp_26^0'=temp_26^post_5, tmp_23^0'=temp_26^post_5, [ -2+nondet_12^1_1>=1 ], cost: 2*nondet_12^1_1 ### Computing asymptotic complexity ### Fully simplified ITS problem Start location: l6 14: l6 -> l4 : head_21^0'=temp_26^post_5, head_SLAM_f_18^0'=tail_14^post_3, i_19^0'=nondet_12^1_1, i_86^0'=-1+nondet_12^1_1, length_17^0'=nondet_12^1_1, nondet_12^0'=nondet_12^post_1, rcd_50^0'=rcd_50^post_3, rcd_80^0'=rcd_80^post_5, result_dot_SLAyer_malloc_sdv_special_RETURN_VALUE_22^0'=temp_26^post_8, result_dot_nondet_sdv_special_RETURN_VALUE_13^0'=nondet_12^1_1, tail_14^0'=tail_14^post_3, temp_26^0'=temp_26^post_5, tmp_23^0'=temp_26^post_5, [ -2+nondet_12^1_1>=1 ], cost: 2*nondet_12^1_1 Computing asymptotic complexity for rule 14 Resulting cost 0 has complexity: Unknown Obtained the following overall complexity (w.r.t. the length of the input n): Complexity: Constant Cpx degree: 0 Solved cost: 1 Rule cost: 1 Rule guard: [ head_16^0==head_16^post_9 && head_21^0==head_21^post_9 && head_SLAM_f_18^0==head_SLAM_f_18^post_9 && i_19^0==i_19^post_9 && i_86^0==i_86^post_9 && length_17^0==length_17^post_9 && nondet_12^0==nondet_12^post_9 && rcd_50^0==rcd_50^post_9 && rcd_80^0==rcd_80^post_9 && result_11^0==result_11^post_9 && result_dot_SLAyer_malloc_sdv_special_RETURN_VALUE_22^0==result_dot_SLAyer_malloc_sdv_special_RETURN_VALUE_22^post_9 && result_dot_nondet_sdv_special_RETURN_VALUE_13^0==result_dot_nondet_sdv_special_RETURN_VALUE_13^post_9 && tail_14^0==tail_14^post_9 && temp0_15^0==temp0_15^post_9 && temp0_20^0==temp0_20^post_9 && temp_26^0==temp_26^post_9 && tmp_23^0==tmp_23^post_9 ] WORST_CASE(Omega(1),?)