MAYBE * Step 1: DependencyPairs MAYBE + Considered Problem: - Strict TRS: cond(true(),x,y) -> cond(gr(x,y),y,x) gr(0(),x) -> false() gr(s(x),0()) -> true() gr(s(x),s(y)) -> gr(x,y) - Signature: {cond/3,gr/2} / {0/0,false/0,s/1,true/0} - Obligation: innermost runtime complexity wrt. defined symbols {cond,gr} and constructors {0,false,s,true} + Applied Processor: DependencyPairs {dpKind_ = DT} + Details: We add the following dependency tuples: Strict DPs cond#(true(),x,y) -> c_1(cond#(gr(x,y),y,x),gr#(x,y)) gr#(0(),x) -> c_2() gr#(s(x),0()) -> c_3() gr#(s(x),s(y)) -> c_4(gr#(x,y)) Weak DPs and mark the set of starting terms. * Step 2: UsableRules MAYBE + Considered Problem: - Strict DPs: cond#(true(),x,y) -> c_1(cond#(gr(x,y),y,x),gr#(x,y)) gr#(0(),x) -> c_2() gr#(s(x),0()) -> c_3() gr#(s(x),s(y)) -> c_4(gr#(x,y)) - Weak TRS: cond(true(),x,y) -> cond(gr(x,y),y,x) gr(0(),x) -> false() gr(s(x),0()) -> true() gr(s(x),s(y)) -> gr(x,y) - Signature: {cond/3,gr/2,cond#/3,gr#/2} / {0/0,false/0,s/1,true/0,c_1/2,c_2/0,c_3/0,c_4/1} - Obligation: innermost runtime complexity wrt. defined symbols {cond#,gr#} and constructors {0,false,s,true} + Applied Processor: UsableRules + Details: We replace rewrite rules by usable rules: gr(0(),x) -> false() gr(s(x),0()) -> true() gr(s(x),s(y)) -> gr(x,y) cond#(true(),x,y) -> c_1(cond#(gr(x,y),y,x),gr#(x,y)) gr#(0(),x) -> c_2() gr#(s(x),0()) -> c_3() gr#(s(x),s(y)) -> c_4(gr#(x,y)) * Step 3: PredecessorEstimation MAYBE + Considered Problem: - Strict DPs: cond#(true(),x,y) -> c_1(cond#(gr(x,y),y,x),gr#(x,y)) gr#(0(),x) -> c_2() gr#(s(x),0()) -> c_3() gr#(s(x),s(y)) -> c_4(gr#(x,y)) - Weak TRS: gr(0(),x) -> false() gr(s(x),0()) -> true() gr(s(x),s(y)) -> gr(x,y) - Signature: {cond/3,gr/2,cond#/3,gr#/2} / {0/0,false/0,s/1,true/0,c_1/2,c_2/0,c_3/0,c_4/1} - Obligation: innermost runtime complexity wrt. defined symbols {cond#,gr#} and constructors {0,false,s,true} + Applied Processor: PredecessorEstimation {onSelection = all simple predecessor estimation selector} + Details: We estimate the number of application of {2,3} by application of Pre({2,3}) = {1,4}. Here rules are labelled as follows: 1: cond#(true(),x,y) -> c_1(cond#(gr(x,y),y,x),gr#(x,y)) 2: gr#(0(),x) -> c_2() 3: gr#(s(x),0()) -> c_3() 4: gr#(s(x),s(y)) -> c_4(gr#(x,y)) * Step 4: RemoveWeakSuffixes MAYBE + Considered Problem: - Strict DPs: cond#(true(),x,y) -> c_1(cond#(gr(x,y),y,x),gr#(x,y)) gr#(s(x),s(y)) -> c_4(gr#(x,y)) - Weak DPs: gr#(0(),x) -> c_2() gr#(s(x),0()) -> c_3() - Weak TRS: gr(0(),x) -> false() gr(s(x),0()) -> true() gr(s(x),s(y)) -> gr(x,y) - Signature: {cond/3,gr/2,cond#/3,gr#/2} / {0/0,false/0,s/1,true/0,c_1/2,c_2/0,c_3/0,c_4/1} - Obligation: innermost runtime complexity wrt. defined symbols {cond#,gr#} and constructors {0,false,s,true} + Applied Processor: RemoveWeakSuffixes + Details: Consider the dependency graph 1:S:cond#(true(),x,y) -> c_1(cond#(gr(x,y),y,x),gr#(x,y)) -->_2 gr#(s(x),s(y)) -> c_4(gr#(x,y)):2 -->_2 gr#(s(x),0()) -> c_3():4 -->_2 gr#(0(),x) -> c_2():3 -->_1 cond#(true(),x,y) -> c_1(cond#(gr(x,y),y,x),gr#(x,y)):1 2:S:gr#(s(x),s(y)) -> c_4(gr#(x,y)) -->_1 gr#(s(x),0()) -> c_3():4 -->_1 gr#(0(),x) -> c_2():3 -->_1 gr#(s(x),s(y)) -> c_4(gr#(x,y)):2 3:W:gr#(0(),x) -> c_2() 4:W:gr#(s(x),0()) -> c_3() The following weak DPs constitute a sub-graph of the DG that is closed under successors. The DPs are removed. 3: gr#(0(),x) -> c_2() 4: gr#(s(x),0()) -> c_3() * Step 5: Failure MAYBE + Considered Problem: - Strict DPs: cond#(true(),x,y) -> c_1(cond#(gr(x,y),y,x),gr#(x,y)) gr#(s(x),s(y)) -> c_4(gr#(x,y)) - Weak TRS: gr(0(),x) -> false() gr(s(x),0()) -> true() gr(s(x),s(y)) -> gr(x,y) - Signature: {cond/3,gr/2,cond#/3,gr#/2} / {0/0,false/0,s/1,true/0,c_1/2,c_2/0,c_3/0,c_4/1} - Obligation: innermost runtime complexity wrt. defined symbols {cond#,gr#} and constructors {0,false,s,true} + Applied Processor: EmptyProcessor + Details: The problem is still open. MAYBE