MAYBE Problem: 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) Proof: DP Processor: DPs: cond#(true(),x,y) -> gr#(x,y) cond#(true(),x,y) -> cond#(gr(x,y),y,x) gr#(s(x),s(y)) -> gr#(x,y) 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) TDG Processor: DPs: cond#(true(),x,y) -> gr#(x,y) cond#(true(),x,y) -> cond#(gr(x,y),y,x) gr#(s(x),s(y)) -> gr#(x,y) 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) graph: gr#(s(x),s(y)) -> gr#(x,y) -> gr#(s(x),s(y)) -> gr#(x,y) cond#(true(),x,y) -> gr#(x,y) -> gr#(s(x),s(y)) -> gr#(x,y) cond#(true(),x,y) -> cond#(gr(x,y),y,x) -> cond#(true(),x,y) -> cond#(gr(x,y),y,x) cond#(true(),x,y) -> cond#(gr(x,y),y,x) -> cond#(true(),x,y) -> gr#(x,y) SCC Processor: #sccs: 2 #rules: 2 #arcs: 4/9 DPs: cond#(true(),x,y) -> cond#(gr(x,y),y,x) 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) Open DPs: gr#(s(x),s(y)) -> gr#(x,y) 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) Subterm Criterion Processor: simple projection: pi(gr#) = 1 problem: DPs: 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) Qed