MAYBE Problem: first(0(),X) -> nil() first(s(X),cons(Y,Z)) -> cons(Y,first(X,Z)) from(X) -> cons(X,from(s(X))) Proof: DP Processor: DPs: first#(s(X),cons(Y,Z)) -> first#(X,Z) from#(X) -> from#(s(X)) TRS: first(0(),X) -> nil() first(s(X),cons(Y,Z)) -> cons(Y,first(X,Z)) from(X) -> cons(X,from(s(X))) Usable Rule Processor: DPs: first#(s(X),cons(Y,Z)) -> first#(X,Z) from#(X) -> from#(s(X)) TRS: CDG Processor: DPs: first#(s(X),cons(Y,Z)) -> first#(X,Z) from#(X) -> from#(s(X)) TRS: graph: from#(X) -> from#(s(X)) -> from#(X) -> from#(s(X)) Restore Modifier: DPs: first#(s(X),cons(Y,Z)) -> first#(X,Z) from#(X) -> from#(s(X)) TRS: first(0(),X) -> nil() first(s(X),cons(Y,Z)) -> cons(Y,first(X,Z)) from(X) -> cons(X,from(s(X))) SCC Processor: #sccs: 1 #rules: 1 #arcs: 1/4 DPs: from#(X) -> from#(s(X)) TRS: first(0(),X) -> nil() first(s(X),cons(Y,Z)) -> cons(Y,first(X,Z)) from(X) -> cons(X,from(s(X))) Open