MAYBE * Step 1: DependencyPairs MAYBE + Considered Problem: - Strict TRS: and(x,false()) -> false() and(false(),x) -> false() and(true(),true()) -> true() cond1(true(),x,y) -> cond2(gr(x,y),x,y) cond2(false(),x,y) -> cond4(gr(y,0()),x,y) cond2(true(),x,y) -> cond3(gr(x,0()),x,y) cond3(false(),x,y) -> cond1(and(gr(x,0()),gr(y,0())),x,y) cond3(true(),x,y) -> cond3(gr(x,0()),p(x),y) cond4(false(),x,y) -> cond1(and(gr(x,0()),gr(y,0())),x,y) cond4(true(),x,y) -> cond4(gr(y,0()),x,p(y)) gr(0(),x) -> false() gr(s(x),0()) -> true() gr(s(x),s(y)) -> gr(x,y) p(0()) -> 0() p(s(x)) -> x - Signature: {and/2,cond1/3,cond2/3,cond3/3,cond4/3,gr/2,p/1} / {0/0,false/0,s/1,true/0} - Obligation: innermost runtime complexity wrt. defined symbols {and,cond1,cond2,cond3,cond4,gr,p} and constructors {0 ,false,s,true} + Applied Processor: DependencyPairs {dpKind_ = DT} + Details: We add the following dependency tuples: Strict DPs and#(x,false()) -> c_1() and#(false(),x) -> c_2() and#(true(),true()) -> c_3() cond1#(true(),x,y) -> c_4(cond2#(gr(x,y),x,y),gr#(x,y)) cond2#(false(),x,y) -> c_5(cond4#(gr(y,0()),x,y),gr#(y,0())) cond2#(true(),x,y) -> c_6(cond3#(gr(x,0()),x,y),gr#(x,0())) cond3#(false(),x,y) -> c_7(cond1#(and(gr(x,0()),gr(y,0())),x,y) ,and#(gr(x,0()),gr(y,0())) ,gr#(x,0()) ,gr#(y,0())) cond3#(true(),x,y) -> c_8(cond3#(gr(x,0()),p(x),y),gr#(x,0()),p#(x)) cond4#(false(),x,y) -> c_9(cond1#(and(gr(x,0()),gr(y,0())),x,y) ,and#(gr(x,0()),gr(y,0())) ,gr#(x,0()) ,gr#(y,0())) cond4#(true(),x,y) -> c_10(cond4#(gr(y,0()),x,p(y)),gr#(y,0()),p#(y)) gr#(0(),x) -> c_11() gr#(s(x),0()) -> c_12() gr#(s(x),s(y)) -> c_13(gr#(x,y)) p#(0()) -> c_14() p#(s(x)) -> c_15() Weak DPs and mark the set of starting terms. * Step 2: UsableRules MAYBE + Considered Problem: - Strict DPs: and#(x,false()) -> c_1() and#(false(),x) -> c_2() and#(true(),true()) -> c_3() cond1#(true(),x,y) -> c_4(cond2#(gr(x,y),x,y),gr#(x,y)) cond2#(false(),x,y) -> c_5(cond4#(gr(y,0()),x,y),gr#(y,0())) cond2#(true(),x,y) -> c_6(cond3#(gr(x,0()),x,y),gr#(x,0())) cond3#(false(),x,y) -> c_7(cond1#(and(gr(x,0()),gr(y,0())),x,y) ,and#(gr(x,0()),gr(y,0())) ,gr#(x,0()) ,gr#(y,0())) cond3#(true(),x,y) -> c_8(cond3#(gr(x,0()),p(x),y),gr#(x,0()),p#(x)) cond4#(false(),x,y) -> c_9(cond1#(and(gr(x,0()),gr(y,0())),x,y) ,and#(gr(x,0()),gr(y,0())) ,gr#(x,0()) ,gr#(y,0())) cond4#(true(),x,y) -> c_10(cond4#(gr(y,0()),x,p(y)),gr#(y,0()),p#(y)) gr#(0(),x) -> c_11() gr#(s(x),0()) -> c_12() gr#(s(x),s(y)) -> c_13(gr#(x,y)) p#(0()) -> c_14() p#(s(x)) -> c_15() - Weak TRS: and(x,false()) -> false() and(false(),x) -> false() and(true(),true()) -> true() cond1(true(),x,y) -> cond2(gr(x,y),x,y) cond2(false(),x,y) -> cond4(gr(y,0()),x,y) cond2(true(),x,y) -> cond3(gr(x,0()),x,y) cond3(false(),x,y) -> cond1(and(gr(x,0()),gr(y,0())),x,y) cond3(true(),x,y) -> cond3(gr(x,0()),p(x),y) cond4(false(),x,y) -> cond1(and(gr(x,0()),gr(y,0())),x,y) cond4(true(),x,y) -> cond4(gr(y,0()),x,p(y)) gr(0(),x) -> false() gr(s(x),0()) -> true() gr(s(x),s(y)) -> gr(x,y) p(0()) -> 0() p(s(x)) -> x - Signature: {and/2,cond1/3,cond2/3,cond3/3,cond4/3,gr/2,p/1,and#/2,cond1#/3,cond2#/3,cond3#/3,cond4#/3,gr#/2 ,p#/1} / {0/0,false/0,s/1,true/0,c_1/0,c_2/0,c_3/0,c_4/2,c_5/2,c_6/2,c_7/4,c_8/3,c_9/4,c_10/3,c_11/0,c_12/0 ,c_13/1,c_14/0,c_15/0} - Obligation: innermost runtime complexity wrt. defined symbols {and#,cond1#,cond2#,cond3#,cond4#,gr# ,p#} and constructors {0,false,s,true} + Applied Processor: UsableRules + Details: We replace rewrite rules by usable rules: and(x,false()) -> false() and(false(),x) -> false() and(true(),true()) -> true() gr(0(),x) -> false() gr(s(x),0()) -> true() gr(s(x),s(y)) -> gr(x,y) p(0()) -> 0() p(s(x)) -> x and#(x,false()) -> c_1() and#(false(),x) -> c_2() and#(true(),true()) -> c_3() cond1#(true(),x,y) -> c_4(cond2#(gr(x,y),x,y),gr#(x,y)) cond2#(false(),x,y) -> c_5(cond4#(gr(y,0()),x,y),gr#(y,0())) cond2#(true(),x,y) -> c_6(cond3#(gr(x,0()),x,y),gr#(x,0())) cond3#(false(),x,y) -> c_7(cond1#(and(gr(x,0()),gr(y,0())),x,y) ,and#(gr(x,0()),gr(y,0())) ,gr#(x,0()) ,gr#(y,0())) cond3#(true(),x,y) -> c_8(cond3#(gr(x,0()),p(x),y),gr#(x,0()),p#(x)) cond4#(false(),x,y) -> c_9(cond1#(and(gr(x,0()),gr(y,0())),x,y) ,and#(gr(x,0()),gr(y,0())) ,gr#(x,0()) ,gr#(y,0())) cond4#(true(),x,y) -> c_10(cond4#(gr(y,0()),x,p(y)),gr#(y,0()),p#(y)) gr#(0(),x) -> c_11() gr#(s(x),0()) -> c_12() gr#(s(x),s(y)) -> c_13(gr#(x,y)) p#(0()) -> c_14() p#(s(x)) -> c_15() * Step 3: PredecessorEstimation MAYBE + Considered Problem: - Strict DPs: and#(x,false()) -> c_1() and#(false(),x) -> c_2() and#(true(),true()) -> c_3() cond1#(true(),x,y) -> c_4(cond2#(gr(x,y),x,y),gr#(x,y)) cond2#(false(),x,y) -> c_5(cond4#(gr(y,0()),x,y),gr#(y,0())) cond2#(true(),x,y) -> c_6(cond3#(gr(x,0()),x,y),gr#(x,0())) cond3#(false(),x,y) -> c_7(cond1#(and(gr(x,0()),gr(y,0())),x,y) ,and#(gr(x,0()),gr(y,0())) ,gr#(x,0()) ,gr#(y,0())) cond3#(true(),x,y) -> c_8(cond3#(gr(x,0()),p(x),y),gr#(x,0()),p#(x)) cond4#(false(),x,y) -> c_9(cond1#(and(gr(x,0()),gr(y,0())),x,y) ,and#(gr(x,0()),gr(y,0())) ,gr#(x,0()) ,gr#(y,0())) cond4#(true(),x,y) -> c_10(cond4#(gr(y,0()),x,p(y)),gr#(y,0()),p#(y)) gr#(0(),x) -> c_11() gr#(s(x),0()) -> c_12() gr#(s(x),s(y)) -> c_13(gr#(x,y)) p#(0()) -> c_14() p#(s(x)) -> c_15() - Weak TRS: and(x,false()) -> false() and(false(),x) -> false() and(true(),true()) -> true() gr(0(),x) -> false() gr(s(x),0()) -> true() gr(s(x),s(y)) -> gr(x,y) p(0()) -> 0() p(s(x)) -> x - Signature: {and/2,cond1/3,cond2/3,cond3/3,cond4/3,gr/2,p/1,and#/2,cond1#/3,cond2#/3,cond3#/3,cond4#/3,gr#/2 ,p#/1} / {0/0,false/0,s/1,true/0,c_1/0,c_2/0,c_3/0,c_4/2,c_5/2,c_6/2,c_7/4,c_8/3,c_9/4,c_10/3,c_11/0,c_12/0 ,c_13/1,c_14/0,c_15/0} - Obligation: innermost runtime complexity wrt. defined symbols {and#,cond1#,cond2#,cond3#,cond4#,gr# ,p#} and constructors {0,false,s,true} + Applied Processor: PredecessorEstimation {onSelection = all simple predecessor estimation selector} + Details: We estimate the number of application of {1,2,3,11,12,14,15} by application of Pre({1,2,3,11,12,14,15}) = {4,5,6,7,8,9,10,13}. Here rules are labelled as follows: 1: and#(x,false()) -> c_1() 2: and#(false(),x) -> c_2() 3: and#(true(),true()) -> c_3() 4: cond1#(true(),x,y) -> c_4(cond2#(gr(x,y),x,y),gr#(x,y)) 5: cond2#(false(),x,y) -> c_5(cond4#(gr(y,0()),x,y),gr#(y,0())) 6: cond2#(true(),x,y) -> c_6(cond3#(gr(x,0()),x,y),gr#(x,0())) 7: cond3#(false(),x,y) -> c_7(cond1#(and(gr(x,0()),gr(y,0())),x,y) ,and#(gr(x,0()),gr(y,0())) ,gr#(x,0()) ,gr#(y,0())) 8: cond3#(true(),x,y) -> c_8(cond3#(gr(x,0()),p(x),y),gr#(x,0()),p#(x)) 9: cond4#(false(),x,y) -> c_9(cond1#(and(gr(x,0()),gr(y,0())),x,y) ,and#(gr(x,0()),gr(y,0())) ,gr#(x,0()) ,gr#(y,0())) 10: cond4#(true(),x,y) -> c_10(cond4#(gr(y,0()),x,p(y)),gr#(y,0()),p#(y)) 11: gr#(0(),x) -> c_11() 12: gr#(s(x),0()) -> c_12() 13: gr#(s(x),s(y)) -> c_13(gr#(x,y)) 14: p#(0()) -> c_14() 15: p#(s(x)) -> c_15() * Step 4: RemoveWeakSuffixes MAYBE + Considered Problem: - Strict DPs: cond1#(true(),x,y) -> c_4(cond2#(gr(x,y),x,y),gr#(x,y)) cond2#(false(),x,y) -> c_5(cond4#(gr(y,0()),x,y),gr#(y,0())) cond2#(true(),x,y) -> c_6(cond3#(gr(x,0()),x,y),gr#(x,0())) cond3#(false(),x,y) -> c_7(cond1#(and(gr(x,0()),gr(y,0())),x,y) ,and#(gr(x,0()),gr(y,0())) ,gr#(x,0()) ,gr#(y,0())) cond3#(true(),x,y) -> c_8(cond3#(gr(x,0()),p(x),y),gr#(x,0()),p#(x)) cond4#(false(),x,y) -> c_9(cond1#(and(gr(x,0()),gr(y,0())),x,y) ,and#(gr(x,0()),gr(y,0())) ,gr#(x,0()) ,gr#(y,0())) cond4#(true(),x,y) -> c_10(cond4#(gr(y,0()),x,p(y)),gr#(y,0()),p#(y)) gr#(s(x),s(y)) -> c_13(gr#(x,y)) - Weak DPs: and#(x,false()) -> c_1() and#(false(),x) -> c_2() and#(true(),true()) -> c_3() gr#(0(),x) -> c_11() gr#(s(x),0()) -> c_12() p#(0()) -> c_14() p#(s(x)) -> c_15() - Weak TRS: and(x,false()) -> false() and(false(),x) -> false() and(true(),true()) -> true() gr(0(),x) -> false() gr(s(x),0()) -> true() gr(s(x),s(y)) -> gr(x,y) p(0()) -> 0() p(s(x)) -> x - Signature: {and/2,cond1/3,cond2/3,cond3/3,cond4/3,gr/2,p/1,and#/2,cond1#/3,cond2#/3,cond3#/3,cond4#/3,gr#/2 ,p#/1} / {0/0,false/0,s/1,true/0,c_1/0,c_2/0,c_3/0,c_4/2,c_5/2,c_6/2,c_7/4,c_8/3,c_9/4,c_10/3,c_11/0,c_12/0 ,c_13/1,c_14/0,c_15/0} - Obligation: innermost runtime complexity wrt. defined symbols {and#,cond1#,cond2#,cond3#,cond4#,gr# ,p#} and constructors {0,false,s,true} + Applied Processor: RemoveWeakSuffixes + Details: Consider the dependency graph 1:S:cond1#(true(),x,y) -> c_4(cond2#(gr(x,y),x,y),gr#(x,y)) -->_2 gr#(s(x),s(y)) -> c_13(gr#(x,y)):8 -->_1 cond2#(true(),x,y) -> c_6(cond3#(gr(x,0()),x,y),gr#(x,0())):3 -->_1 cond2#(false(),x,y) -> c_5(cond4#(gr(y,0()),x,y),gr#(y,0())):2 -->_2 gr#(s(x),0()) -> c_12():13 -->_2 gr#(0(),x) -> c_11():12 2:S:cond2#(false(),x,y) -> c_5(cond4#(gr(y,0()),x,y),gr#(y,0())) -->_1 cond4#(true(),x,y) -> c_10(cond4#(gr(y,0()),x,p(y)),gr#(y,0()),p#(y)):7 -->_1 cond4#(false(),x,y) -> c_9(cond1#(and(gr(x,0()),gr(y,0())),x,y) ,and#(gr(x,0()),gr(y,0())) ,gr#(x,0()) ,gr#(y,0())):6 -->_2 gr#(s(x),0()) -> c_12():13 -->_2 gr#(0(),x) -> c_11():12 3:S:cond2#(true(),x,y) -> c_6(cond3#(gr(x,0()),x,y),gr#(x,0())) -->_1 cond3#(true(),x,y) -> c_8(cond3#(gr(x,0()),p(x),y),gr#(x,0()),p#(x)):5 -->_1 cond3#(false(),x,y) -> c_7(cond1#(and(gr(x,0()),gr(y,0())),x,y) ,and#(gr(x,0()),gr(y,0())) ,gr#(x,0()) ,gr#(y,0())):4 -->_2 gr#(s(x),0()) -> c_12():13 -->_2 gr#(0(),x) -> c_11():12 4:S:cond3#(false(),x,y) -> c_7(cond1#(and(gr(x,0()),gr(y,0())),x,y) ,and#(gr(x,0()),gr(y,0())) ,gr#(x,0()) ,gr#(y,0())) -->_4 gr#(s(x),0()) -> c_12():13 -->_3 gr#(s(x),0()) -> c_12():13 -->_4 gr#(0(),x) -> c_11():12 -->_3 gr#(0(),x) -> c_11():12 -->_2 and#(true(),true()) -> c_3():11 -->_2 and#(false(),x) -> c_2():10 -->_2 and#(x,false()) -> c_1():9 -->_1 cond1#(true(),x,y) -> c_4(cond2#(gr(x,y),x,y),gr#(x,y)):1 5:S:cond3#(true(),x,y) -> c_8(cond3#(gr(x,0()),p(x),y),gr#(x,0()),p#(x)) -->_3 p#(s(x)) -> c_15():15 -->_3 p#(0()) -> c_14():14 -->_2 gr#(s(x),0()) -> c_12():13 -->_2 gr#(0(),x) -> c_11():12 -->_1 cond3#(true(),x,y) -> c_8(cond3#(gr(x,0()),p(x),y),gr#(x,0()),p#(x)):5 -->_1 cond3#(false(),x,y) -> c_7(cond1#(and(gr(x,0()),gr(y,0())),x,y) ,and#(gr(x,0()),gr(y,0())) ,gr#(x,0()) ,gr#(y,0())):4 6:S:cond4#(false(),x,y) -> c_9(cond1#(and(gr(x,0()),gr(y,0())),x,y) ,and#(gr(x,0()),gr(y,0())) ,gr#(x,0()) ,gr#(y,0())) -->_4 gr#(s(x),0()) -> c_12():13 -->_3 gr#(s(x),0()) -> c_12():13 -->_4 gr#(0(),x) -> c_11():12 -->_3 gr#(0(),x) -> c_11():12 -->_2 and#(true(),true()) -> c_3():11 -->_2 and#(false(),x) -> c_2():10 -->_2 and#(x,false()) -> c_1():9 -->_1 cond1#(true(),x,y) -> c_4(cond2#(gr(x,y),x,y),gr#(x,y)):1 7:S:cond4#(true(),x,y) -> c_10(cond4#(gr(y,0()),x,p(y)),gr#(y,0()),p#(y)) -->_3 p#(s(x)) -> c_15():15 -->_3 p#(0()) -> c_14():14 -->_2 gr#(s(x),0()) -> c_12():13 -->_2 gr#(0(),x) -> c_11():12 -->_1 cond4#(true(),x,y) -> c_10(cond4#(gr(y,0()),x,p(y)),gr#(y,0()),p#(y)):7 -->_1 cond4#(false(),x,y) -> c_9(cond1#(and(gr(x,0()),gr(y,0())),x,y) ,and#(gr(x,0()),gr(y,0())) ,gr#(x,0()) ,gr#(y,0())):6 8:S:gr#(s(x),s(y)) -> c_13(gr#(x,y)) -->_1 gr#(s(x),0()) -> c_12():13 -->_1 gr#(0(),x) -> c_11():12 -->_1 gr#(s(x),s(y)) -> c_13(gr#(x,y)):8 9:W:and#(x,false()) -> c_1() 10:W:and#(false(),x) -> c_2() 11:W:and#(true(),true()) -> c_3() 12:W:gr#(0(),x) -> c_11() 13:W:gr#(s(x),0()) -> c_12() 14:W:p#(0()) -> c_14() 15:W:p#(s(x)) -> c_15() The following weak DPs constitute a sub-graph of the DG that is closed under successors. The DPs are removed. 9: and#(x,false()) -> c_1() 10: and#(false(),x) -> c_2() 11: and#(true(),true()) -> c_3() 14: p#(0()) -> c_14() 15: p#(s(x)) -> c_15() 12: gr#(0(),x) -> c_11() 13: gr#(s(x),0()) -> c_12() * Step 5: SimplifyRHS MAYBE + Considered Problem: - Strict DPs: cond1#(true(),x,y) -> c_4(cond2#(gr(x,y),x,y),gr#(x,y)) cond2#(false(),x,y) -> c_5(cond4#(gr(y,0()),x,y),gr#(y,0())) cond2#(true(),x,y) -> c_6(cond3#(gr(x,0()),x,y),gr#(x,0())) cond3#(false(),x,y) -> c_7(cond1#(and(gr(x,0()),gr(y,0())),x,y) ,and#(gr(x,0()),gr(y,0())) ,gr#(x,0()) ,gr#(y,0())) cond3#(true(),x,y) -> c_8(cond3#(gr(x,0()),p(x),y),gr#(x,0()),p#(x)) cond4#(false(),x,y) -> c_9(cond1#(and(gr(x,0()),gr(y,0())),x,y) ,and#(gr(x,0()),gr(y,0())) ,gr#(x,0()) ,gr#(y,0())) cond4#(true(),x,y) -> c_10(cond4#(gr(y,0()),x,p(y)),gr#(y,0()),p#(y)) gr#(s(x),s(y)) -> c_13(gr#(x,y)) - Weak TRS: and(x,false()) -> false() and(false(),x) -> false() and(true(),true()) -> true() gr(0(),x) -> false() gr(s(x),0()) -> true() gr(s(x),s(y)) -> gr(x,y) p(0()) -> 0() p(s(x)) -> x - Signature: {and/2,cond1/3,cond2/3,cond3/3,cond4/3,gr/2,p/1,and#/2,cond1#/3,cond2#/3,cond3#/3,cond4#/3,gr#/2 ,p#/1} / {0/0,false/0,s/1,true/0,c_1/0,c_2/0,c_3/0,c_4/2,c_5/2,c_6/2,c_7/4,c_8/3,c_9/4,c_10/3,c_11/0,c_12/0 ,c_13/1,c_14/0,c_15/0} - Obligation: innermost runtime complexity wrt. defined symbols {and#,cond1#,cond2#,cond3#,cond4#,gr# ,p#} and constructors {0,false,s,true} + Applied Processor: SimplifyRHS + Details: Consider the dependency graph 1:S:cond1#(true(),x,y) -> c_4(cond2#(gr(x,y),x,y),gr#(x,y)) -->_2 gr#(s(x),s(y)) -> c_13(gr#(x,y)):8 -->_1 cond2#(true(),x,y) -> c_6(cond3#(gr(x,0()),x,y),gr#(x,0())):3 -->_1 cond2#(false(),x,y) -> c_5(cond4#(gr(y,0()),x,y),gr#(y,0())):2 2:S:cond2#(false(),x,y) -> c_5(cond4#(gr(y,0()),x,y),gr#(y,0())) -->_1 cond4#(true(),x,y) -> c_10(cond4#(gr(y,0()),x,p(y)),gr#(y,0()),p#(y)):7 -->_1 cond4#(false(),x,y) -> c_9(cond1#(and(gr(x,0()),gr(y,0())),x,y) ,and#(gr(x,0()),gr(y,0())) ,gr#(x,0()) ,gr#(y,0())):6 3:S:cond2#(true(),x,y) -> c_6(cond3#(gr(x,0()),x,y),gr#(x,0())) -->_1 cond3#(true(),x,y) -> c_8(cond3#(gr(x,0()),p(x),y),gr#(x,0()),p#(x)):5 -->_1 cond3#(false(),x,y) -> c_7(cond1#(and(gr(x,0()),gr(y,0())),x,y) ,and#(gr(x,0()),gr(y,0())) ,gr#(x,0()) ,gr#(y,0())):4 4:S:cond3#(false(),x,y) -> c_7(cond1#(and(gr(x,0()),gr(y,0())),x,y) ,and#(gr(x,0()),gr(y,0())) ,gr#(x,0()) ,gr#(y,0())) -->_1 cond1#(true(),x,y) -> c_4(cond2#(gr(x,y),x,y),gr#(x,y)):1 5:S:cond3#(true(),x,y) -> c_8(cond3#(gr(x,0()),p(x),y),gr#(x,0()),p#(x)) -->_1 cond3#(true(),x,y) -> c_8(cond3#(gr(x,0()),p(x),y),gr#(x,0()),p#(x)):5 -->_1 cond3#(false(),x,y) -> c_7(cond1#(and(gr(x,0()),gr(y,0())),x,y) ,and#(gr(x,0()),gr(y,0())) ,gr#(x,0()) ,gr#(y,0())):4 6:S:cond4#(false(),x,y) -> c_9(cond1#(and(gr(x,0()),gr(y,0())),x,y) ,and#(gr(x,0()),gr(y,0())) ,gr#(x,0()) ,gr#(y,0())) -->_1 cond1#(true(),x,y) -> c_4(cond2#(gr(x,y),x,y),gr#(x,y)):1 7:S:cond4#(true(),x,y) -> c_10(cond4#(gr(y,0()),x,p(y)),gr#(y,0()),p#(y)) -->_1 cond4#(true(),x,y) -> c_10(cond4#(gr(y,0()),x,p(y)),gr#(y,0()),p#(y)):7 -->_1 cond4#(false(),x,y) -> c_9(cond1#(and(gr(x,0()),gr(y,0())),x,y) ,and#(gr(x,0()),gr(y,0())) ,gr#(x,0()) ,gr#(y,0())):6 8:S:gr#(s(x),s(y)) -> c_13(gr#(x,y)) -->_1 gr#(s(x),s(y)) -> c_13(gr#(x,y)):8 Due to missing edges in the depndency graph, the right-hand sides of following rules could be simplified: cond2#(false(),x,y) -> c_5(cond4#(gr(y,0()),x,y)) cond2#(true(),x,y) -> c_6(cond3#(gr(x,0()),x,y)) cond3#(false(),x,y) -> c_7(cond1#(and(gr(x,0()),gr(y,0())),x,y)) cond3#(true(),x,y) -> c_8(cond3#(gr(x,0()),p(x),y)) cond4#(false(),x,y) -> c_9(cond1#(and(gr(x,0()),gr(y,0())),x,y)) cond4#(true(),x,y) -> c_10(cond4#(gr(y,0()),x,p(y))) * Step 6: Failure MAYBE + Considered Problem: - Strict DPs: cond1#(true(),x,y) -> c_4(cond2#(gr(x,y),x,y),gr#(x,y)) cond2#(false(),x,y) -> c_5(cond4#(gr(y,0()),x,y)) cond2#(true(),x,y) -> c_6(cond3#(gr(x,0()),x,y)) cond3#(false(),x,y) -> c_7(cond1#(and(gr(x,0()),gr(y,0())),x,y)) cond3#(true(),x,y) -> c_8(cond3#(gr(x,0()),p(x),y)) cond4#(false(),x,y) -> c_9(cond1#(and(gr(x,0()),gr(y,0())),x,y)) cond4#(true(),x,y) -> c_10(cond4#(gr(y,0()),x,p(y))) gr#(s(x),s(y)) -> c_13(gr#(x,y)) - Weak TRS: and(x,false()) -> false() and(false(),x) -> false() and(true(),true()) -> true() gr(0(),x) -> false() gr(s(x),0()) -> true() gr(s(x),s(y)) -> gr(x,y) p(0()) -> 0() p(s(x)) -> x - Signature: {and/2,cond1/3,cond2/3,cond3/3,cond4/3,gr/2,p/1,and#/2,cond1#/3,cond2#/3,cond3#/3,cond4#/3,gr#/2 ,p#/1} / {0/0,false/0,s/1,true/0,c_1/0,c_2/0,c_3/0,c_4/2,c_5/1,c_6/1,c_7/1,c_8/1,c_9/1,c_10/1,c_11/0,c_12/0 ,c_13/1,c_14/0,c_15/0} - Obligation: innermost runtime complexity wrt. defined symbols {and#,cond1#,cond2#,cond3#,cond4#,gr# ,p#} and constructors {0,false,s,true} + Applied Processor: EmptyProcessor + Details: The problem is still open. MAYBE