R
↳Dependency Pair Analysis
AAPP(nil, YS) -> MARK(YS)
AAPP(cons(X, XS), YS) -> MARK(X)
AFROM(X) -> MARK(X)
AZWADR(cons(X, XS), cons(Y, YS)) -> AAPP(mark(Y), cons(mark(X), nil))
AZWADR(cons(X, XS), cons(Y, YS)) -> MARK(Y)
AZWADR(cons(X, XS), cons(Y, YS)) -> MARK(X)
MARK(app(X1, X2)) -> AAPP(mark(X1), mark(X2))
MARK(app(X1, X2)) -> MARK(X1)
MARK(app(X1, X2)) -> MARK(X2)
MARK(from(X)) -> AFROM(mark(X))
MARK(from(X)) -> MARK(X)
MARK(zWadr(X1, X2)) -> AZWADR(mark(X1), mark(X2))
MARK(zWadr(X1, X2)) -> MARK(X1)
MARK(zWadr(X1, X2)) -> MARK(X2)
MARK(prefix(X)) -> APREFIX(mark(X))
MARK(prefix(X)) -> MARK(X)
MARK(cons(X1, X2)) -> MARK(X1)
MARK(s(X)) -> MARK(X)
R
↳DPs
→DP Problem 1
↳Polynomial Ordering
AZWADR(cons(X, XS), cons(Y, YS)) -> MARK(X)
MARK(s(X)) -> MARK(X)
MARK(cons(X1, X2)) -> MARK(X1)
MARK(prefix(X)) -> MARK(X)
MARK(zWadr(X1, X2)) -> MARK(X2)
MARK(zWadr(X1, X2)) -> MARK(X1)
AZWADR(cons(X, XS), cons(Y, YS)) -> MARK(Y)
AZWADR(cons(X, XS), cons(Y, YS)) -> AAPP(mark(Y), cons(mark(X), nil))
MARK(zWadr(X1, X2)) -> AZWADR(mark(X1), mark(X2))
MARK(from(X)) -> MARK(X)
AFROM(X) -> MARK(X)
MARK(from(X)) -> AFROM(mark(X))
MARK(app(X1, X2)) -> MARK(X2)
MARK(app(X1, X2)) -> MARK(X1)
AAPP(cons(X, XS), YS) -> MARK(X)
MARK(app(X1, X2)) -> AAPP(mark(X1), mark(X2))
AAPP(nil, YS) -> MARK(YS)
aapp(nil, YS) -> mark(YS)
aapp(cons(X, XS), YS) -> cons(mark(X), app(XS, YS))
aapp(X1, X2) -> app(X1, X2)
afrom(X) -> cons(mark(X), from(s(X)))
afrom(X) -> from(X)
azWadr(nil, YS) -> nil
azWadr(XS, nil) -> nil
azWadr(cons(X, XS), cons(Y, YS)) -> cons(aapp(mark(Y), cons(mark(X), nil)), zWadr(XS, YS))
azWadr(X1, X2) -> zWadr(X1, X2)
aprefix(L) -> cons(nil, zWadr(L, prefix(L)))
aprefix(X) -> prefix(X)
mark(app(X1, X2)) -> aapp(mark(X1), mark(X2))
mark(from(X)) -> afrom(mark(X))
mark(zWadr(X1, X2)) -> azWadr(mark(X1), mark(X2))
mark(prefix(X)) -> aprefix(mark(X))
mark(nil) -> nil
mark(cons(X1, X2)) -> cons(mark(X1), X2)
mark(s(X)) -> s(mark(X))
innermost
MARK(prefix(X)) -> MARK(X)
aapp(nil, YS) -> mark(YS)
aapp(cons(X, XS), YS) -> cons(mark(X), app(XS, YS))
aapp(X1, X2) -> app(X1, X2)
mark(app(X1, X2)) -> aapp(mark(X1), mark(X2))
mark(from(X)) -> afrom(mark(X))
mark(zWadr(X1, X2)) -> azWadr(mark(X1), mark(X2))
mark(prefix(X)) -> aprefix(mark(X))
mark(nil) -> nil
mark(cons(X1, X2)) -> cons(mark(X1), X2)
mark(s(X)) -> s(mark(X))
afrom(X) -> cons(mark(X), from(s(X)))
afrom(X) -> from(X)
azWadr(nil, YS) -> nil
azWadr(XS, nil) -> nil
azWadr(cons(X, XS), cons(Y, YS)) -> cons(aapp(mark(Y), cons(mark(X), nil)), zWadr(XS, YS))
azWadr(X1, X2) -> zWadr(X1, X2)
aprefix(L) -> cons(nil, zWadr(L, prefix(L)))
aprefix(X) -> prefix(X)
POL(from(x1)) = x1 POL(A__APP(x1, x2)) = x1 + x2 POL(MARK(x1)) = x1 POL(A__FROM(x1)) = x1 POL(mark(x1)) = x1 POL(a__from(x1)) = x1 POL(A__ZWADR(x1, x2)) = x1 + x2 POL(cons(x1, x2)) = x1 POL(a__prefix(x1)) = 1 + x1 POL(a__app(x1, x2)) = x1 + x2 POL(nil) = 0 POL(s(x1)) = x1 POL(a__zWadr(x1, x2)) = x1 + x2 POL(prefix(x1)) = 1 + x1 POL(app(x1, x2)) = x1 + x2 POL(zWadr(x1, x2)) = x1 + x2
R
↳DPs
→DP Problem 1
↳Polo
→DP Problem 2
↳Polynomial Ordering
AZWADR(cons(X, XS), cons(Y, YS)) -> MARK(X)
MARK(s(X)) -> MARK(X)
MARK(cons(X1, X2)) -> MARK(X1)
MARK(zWadr(X1, X2)) -> MARK(X2)
MARK(zWadr(X1, X2)) -> MARK(X1)
AZWADR(cons(X, XS), cons(Y, YS)) -> MARK(Y)
AZWADR(cons(X, XS), cons(Y, YS)) -> AAPP(mark(Y), cons(mark(X), nil))
MARK(zWadr(X1, X2)) -> AZWADR(mark(X1), mark(X2))
MARK(from(X)) -> MARK(X)
AFROM(X) -> MARK(X)
MARK(from(X)) -> AFROM(mark(X))
MARK(app(X1, X2)) -> MARK(X2)
MARK(app(X1, X2)) -> MARK(X1)
AAPP(cons(X, XS), YS) -> MARK(X)
MARK(app(X1, X2)) -> AAPP(mark(X1), mark(X2))
AAPP(nil, YS) -> MARK(YS)
aapp(nil, YS) -> mark(YS)
aapp(cons(X, XS), YS) -> cons(mark(X), app(XS, YS))
aapp(X1, X2) -> app(X1, X2)
afrom(X) -> cons(mark(X), from(s(X)))
afrom(X) -> from(X)
azWadr(nil, YS) -> nil
azWadr(XS, nil) -> nil
azWadr(cons(X, XS), cons(Y, YS)) -> cons(aapp(mark(Y), cons(mark(X), nil)), zWadr(XS, YS))
azWadr(X1, X2) -> zWadr(X1, X2)
aprefix(L) -> cons(nil, zWadr(L, prefix(L)))
aprefix(X) -> prefix(X)
mark(app(X1, X2)) -> aapp(mark(X1), mark(X2))
mark(from(X)) -> afrom(mark(X))
mark(zWadr(X1, X2)) -> azWadr(mark(X1), mark(X2))
mark(prefix(X)) -> aprefix(mark(X))
mark(nil) -> nil
mark(cons(X1, X2)) -> cons(mark(X1), X2)
mark(s(X)) -> s(mark(X))
innermost
MARK(zWadr(X1, X2)) -> MARK(X2)
MARK(zWadr(X1, X2)) -> MARK(X1)
MARK(zWadr(X1, X2)) -> AZWADR(mark(X1), mark(X2))
aapp(nil, YS) -> mark(YS)
aapp(cons(X, XS), YS) -> cons(mark(X), app(XS, YS))
aapp(X1, X2) -> app(X1, X2)
mark(app(X1, X2)) -> aapp(mark(X1), mark(X2))
mark(from(X)) -> afrom(mark(X))
mark(zWadr(X1, X2)) -> azWadr(mark(X1), mark(X2))
mark(prefix(X)) -> aprefix(mark(X))
mark(nil) -> nil
mark(cons(X1, X2)) -> cons(mark(X1), X2)
mark(s(X)) -> s(mark(X))
afrom(X) -> cons(mark(X), from(s(X)))
afrom(X) -> from(X)
azWadr(nil, YS) -> nil
azWadr(XS, nil) -> nil
azWadr(cons(X, XS), cons(Y, YS)) -> cons(aapp(mark(Y), cons(mark(X), nil)), zWadr(XS, YS))
azWadr(X1, X2) -> zWadr(X1, X2)
aprefix(L) -> cons(nil, zWadr(L, prefix(L)))
aprefix(X) -> prefix(X)
POL(from(x1)) = x1 POL(A__APP(x1, x2)) = x1 + x2 POL(MARK(x1)) = x1 POL(A__FROM(x1)) = x1 POL(mark(x1)) = x1 POL(a__from(x1)) = x1 POL(A__ZWADR(x1, x2)) = x1 + x2 POL(cons(x1, x2)) = x1 POL(a__prefix(x1)) = 0 POL(a__app(x1, x2)) = x1 + x2 POL(nil) = 0 POL(s(x1)) = x1 POL(a__zWadr(x1, x2)) = 1 + x1 + x2 POL(prefix(x1)) = 0 POL(app(x1, x2)) = x1 + x2 POL(zWadr(x1, x2)) = 1 + x1 + x2
R
↳DPs
→DP Problem 1
↳Polo
→DP Problem 2
↳Polo
...
→DP Problem 3
↳Dependency Graph
AZWADR(cons(X, XS), cons(Y, YS)) -> MARK(X)
MARK(s(X)) -> MARK(X)
MARK(cons(X1, X2)) -> MARK(X1)
AZWADR(cons(X, XS), cons(Y, YS)) -> MARK(Y)
AZWADR(cons(X, XS), cons(Y, YS)) -> AAPP(mark(Y), cons(mark(X), nil))
MARK(from(X)) -> MARK(X)
AFROM(X) -> MARK(X)
MARK(from(X)) -> AFROM(mark(X))
MARK(app(X1, X2)) -> MARK(X2)
MARK(app(X1, X2)) -> MARK(X1)
AAPP(cons(X, XS), YS) -> MARK(X)
MARK(app(X1, X2)) -> AAPP(mark(X1), mark(X2))
AAPP(nil, YS) -> MARK(YS)
aapp(nil, YS) -> mark(YS)
aapp(cons(X, XS), YS) -> cons(mark(X), app(XS, YS))
aapp(X1, X2) -> app(X1, X2)
afrom(X) -> cons(mark(X), from(s(X)))
afrom(X) -> from(X)
azWadr(nil, YS) -> nil
azWadr(XS, nil) -> nil
azWadr(cons(X, XS), cons(Y, YS)) -> cons(aapp(mark(Y), cons(mark(X), nil)), zWadr(XS, YS))
azWadr(X1, X2) -> zWadr(X1, X2)
aprefix(L) -> cons(nil, zWadr(L, prefix(L)))
aprefix(X) -> prefix(X)
mark(app(X1, X2)) -> aapp(mark(X1), mark(X2))
mark(from(X)) -> afrom(mark(X))
mark(zWadr(X1, X2)) -> azWadr(mark(X1), mark(X2))
mark(prefix(X)) -> aprefix(mark(X))
mark(nil) -> nil
mark(cons(X1, X2)) -> cons(mark(X1), X2)
mark(s(X)) -> s(mark(X))
innermost
R
↳DPs
→DP Problem 1
↳Polo
→DP Problem 2
↳Polo
...
→DP Problem 4
↳Polynomial Ordering
AAPP(cons(X, XS), YS) -> MARK(X)
MARK(s(X)) -> MARK(X)
MARK(cons(X1, X2)) -> MARK(X1)
MARK(from(X)) -> MARK(X)
AFROM(X) -> MARK(X)
MARK(from(X)) -> AFROM(mark(X))
MARK(app(X1, X2)) -> MARK(X2)
MARK(app(X1, X2)) -> MARK(X1)
AAPP(nil, YS) -> MARK(YS)
MARK(app(X1, X2)) -> AAPP(mark(X1), mark(X2))
aapp(nil, YS) -> mark(YS)
aapp(cons(X, XS), YS) -> cons(mark(X), app(XS, YS))
aapp(X1, X2) -> app(X1, X2)
afrom(X) -> cons(mark(X), from(s(X)))
afrom(X) -> from(X)
azWadr(nil, YS) -> nil
azWadr(XS, nil) -> nil
azWadr(cons(X, XS), cons(Y, YS)) -> cons(aapp(mark(Y), cons(mark(X), nil)), zWadr(XS, YS))
azWadr(X1, X2) -> zWadr(X1, X2)
aprefix(L) -> cons(nil, zWadr(L, prefix(L)))
aprefix(X) -> prefix(X)
mark(app(X1, X2)) -> aapp(mark(X1), mark(X2))
mark(from(X)) -> afrom(mark(X))
mark(zWadr(X1, X2)) -> azWadr(mark(X1), mark(X2))
mark(prefix(X)) -> aprefix(mark(X))
mark(nil) -> nil
mark(cons(X1, X2)) -> cons(mark(X1), X2)
mark(s(X)) -> s(mark(X))
innermost
MARK(s(X)) -> MARK(X)
aapp(nil, YS) -> mark(YS)
aapp(cons(X, XS), YS) -> cons(mark(X), app(XS, YS))
aapp(X1, X2) -> app(X1, X2)
mark(app(X1, X2)) -> aapp(mark(X1), mark(X2))
mark(from(X)) -> afrom(mark(X))
mark(zWadr(X1, X2)) -> azWadr(mark(X1), mark(X2))
mark(prefix(X)) -> aprefix(mark(X))
mark(nil) -> nil
mark(cons(X1, X2)) -> cons(mark(X1), X2)
mark(s(X)) -> s(mark(X))
afrom(X) -> cons(mark(X), from(s(X)))
afrom(X) -> from(X)
azWadr(nil, YS) -> nil
azWadr(XS, nil) -> nil
azWadr(cons(X, XS), cons(Y, YS)) -> cons(aapp(mark(Y), cons(mark(X), nil)), zWadr(XS, YS))
azWadr(X1, X2) -> zWadr(X1, X2)
aprefix(L) -> cons(nil, zWadr(L, prefix(L)))
aprefix(X) -> prefix(X)
POL(from(x1)) = x1 POL(A__APP(x1, x2)) = x1 + x2 POL(MARK(x1)) = x1 POL(A__FROM(x1)) = x1 POL(mark(x1)) = x1 POL(a__from(x1)) = x1 POL(cons(x1, x2)) = x1 POL(a__prefix(x1)) = 0 POL(a__app(x1, x2)) = x1 + x2 POL(nil) = 0 POL(s(x1)) = 1 + x1 POL(a__zWadr(x1, x2)) = x1 + x2 POL(prefix(x1)) = 0 POL(app(x1, x2)) = x1 + x2 POL(zWadr(x1, x2)) = x1 + x2
R
↳DPs
→DP Problem 1
↳Polo
→DP Problem 2
↳Polo
...
→DP Problem 5
↳Polynomial Ordering
AAPP(cons(X, XS), YS) -> MARK(X)
MARK(cons(X1, X2)) -> MARK(X1)
MARK(from(X)) -> MARK(X)
AFROM(X) -> MARK(X)
MARK(from(X)) -> AFROM(mark(X))
MARK(app(X1, X2)) -> MARK(X2)
MARK(app(X1, X2)) -> MARK(X1)
AAPP(nil, YS) -> MARK(YS)
MARK(app(X1, X2)) -> AAPP(mark(X1), mark(X2))
aapp(nil, YS) -> mark(YS)
aapp(cons(X, XS), YS) -> cons(mark(X), app(XS, YS))
aapp(X1, X2) -> app(X1, X2)
afrom(X) -> cons(mark(X), from(s(X)))
afrom(X) -> from(X)
azWadr(nil, YS) -> nil
azWadr(XS, nil) -> nil
azWadr(cons(X, XS), cons(Y, YS)) -> cons(aapp(mark(Y), cons(mark(X), nil)), zWadr(XS, YS))
azWadr(X1, X2) -> zWadr(X1, X2)
aprefix(L) -> cons(nil, zWadr(L, prefix(L)))
aprefix(X) -> prefix(X)
mark(app(X1, X2)) -> aapp(mark(X1), mark(X2))
mark(from(X)) -> afrom(mark(X))
mark(zWadr(X1, X2)) -> azWadr(mark(X1), mark(X2))
mark(prefix(X)) -> aprefix(mark(X))
mark(nil) -> nil
mark(cons(X1, X2)) -> cons(mark(X1), X2)
mark(s(X)) -> s(mark(X))
innermost
MARK(from(X)) -> MARK(X)
MARK(from(X)) -> AFROM(mark(X))
aapp(nil, YS) -> mark(YS)
aapp(cons(X, XS), YS) -> cons(mark(X), app(XS, YS))
aapp(X1, X2) -> app(X1, X2)
mark(app(X1, X2)) -> aapp(mark(X1), mark(X2))
mark(from(X)) -> afrom(mark(X))
mark(zWadr(X1, X2)) -> azWadr(mark(X1), mark(X2))
mark(prefix(X)) -> aprefix(mark(X))
mark(nil) -> nil
mark(cons(X1, X2)) -> cons(mark(X1), X2)
mark(s(X)) -> s(mark(X))
afrom(X) -> cons(mark(X), from(s(X)))
afrom(X) -> from(X)
azWadr(nil, YS) -> nil
azWadr(XS, nil) -> nil
azWadr(cons(X, XS), cons(Y, YS)) -> cons(aapp(mark(Y), cons(mark(X), nil)), zWadr(XS, YS))
azWadr(X1, X2) -> zWadr(X1, X2)
aprefix(L) -> cons(nil, zWadr(L, prefix(L)))
aprefix(X) -> prefix(X)
POL(from(x1)) = 1 + x1 POL(A__APP(x1, x2)) = x1 + x2 POL(MARK(x1)) = x1 POL(A__FROM(x1)) = x1 POL(mark(x1)) = x1 POL(a__from(x1)) = 1 + x1 POL(cons(x1, x2)) = x1 POL(a__prefix(x1)) = 0 POL(a__app(x1, x2)) = x1 + x2 POL(nil) = 0 POL(s(x1)) = 0 POL(a__zWadr(x1, x2)) = x1 + x2 POL(prefix(x1)) = 0 POL(app(x1, x2)) = x1 + x2 POL(zWadr(x1, x2)) = x1 + x2
R
↳DPs
→DP Problem 1
↳Polo
→DP Problem 2
↳Polo
...
→DP Problem 6
↳Dependency Graph
AAPP(cons(X, XS), YS) -> MARK(X)
MARK(cons(X1, X2)) -> MARK(X1)
AFROM(X) -> MARK(X)
MARK(app(X1, X2)) -> MARK(X2)
MARK(app(X1, X2)) -> MARK(X1)
AAPP(nil, YS) -> MARK(YS)
MARK(app(X1, X2)) -> AAPP(mark(X1), mark(X2))
aapp(nil, YS) -> mark(YS)
aapp(cons(X, XS), YS) -> cons(mark(X), app(XS, YS))
aapp(X1, X2) -> app(X1, X2)
afrom(X) -> cons(mark(X), from(s(X)))
afrom(X) -> from(X)
azWadr(nil, YS) -> nil
azWadr(XS, nil) -> nil
azWadr(cons(X, XS), cons(Y, YS)) -> cons(aapp(mark(Y), cons(mark(X), nil)), zWadr(XS, YS))
azWadr(X1, X2) -> zWadr(X1, X2)
aprefix(L) -> cons(nil, zWadr(L, prefix(L)))
aprefix(X) -> prefix(X)
mark(app(X1, X2)) -> aapp(mark(X1), mark(X2))
mark(from(X)) -> afrom(mark(X))
mark(zWadr(X1, X2)) -> azWadr(mark(X1), mark(X2))
mark(prefix(X)) -> aprefix(mark(X))
mark(nil) -> nil
mark(cons(X1, X2)) -> cons(mark(X1), X2)
mark(s(X)) -> s(mark(X))
innermost
R
↳DPs
→DP Problem 1
↳Polo
→DP Problem 2
↳Polo
...
→DP Problem 7
↳Polynomial Ordering
MARK(cons(X1, X2)) -> MARK(X1)
MARK(app(X1, X2)) -> MARK(X2)
MARK(app(X1, X2)) -> MARK(X1)
AAPP(nil, YS) -> MARK(YS)
MARK(app(X1, X2)) -> AAPP(mark(X1), mark(X2))
AAPP(cons(X, XS), YS) -> MARK(X)
aapp(nil, YS) -> mark(YS)
aapp(cons(X, XS), YS) -> cons(mark(X), app(XS, YS))
aapp(X1, X2) -> app(X1, X2)
afrom(X) -> cons(mark(X), from(s(X)))
afrom(X) -> from(X)
azWadr(nil, YS) -> nil
azWadr(XS, nil) -> nil
azWadr(cons(X, XS), cons(Y, YS)) -> cons(aapp(mark(Y), cons(mark(X), nil)), zWadr(XS, YS))
azWadr(X1, X2) -> zWadr(X1, X2)
aprefix(L) -> cons(nil, zWadr(L, prefix(L)))
aprefix(X) -> prefix(X)
mark(app(X1, X2)) -> aapp(mark(X1), mark(X2))
mark(from(X)) -> afrom(mark(X))
mark(zWadr(X1, X2)) -> azWadr(mark(X1), mark(X2))
mark(prefix(X)) -> aprefix(mark(X))
mark(nil) -> nil
mark(cons(X1, X2)) -> cons(mark(X1), X2)
mark(s(X)) -> s(mark(X))
innermost
AAPP(nil, YS) -> MARK(YS)
aapp(nil, YS) -> mark(YS)
aapp(cons(X, XS), YS) -> cons(mark(X), app(XS, YS))
aapp(X1, X2) -> app(X1, X2)
mark(app(X1, X2)) -> aapp(mark(X1), mark(X2))
mark(from(X)) -> afrom(mark(X))
mark(zWadr(X1, X2)) -> azWadr(mark(X1), mark(X2))
mark(prefix(X)) -> aprefix(mark(X))
mark(nil) -> nil
mark(cons(X1, X2)) -> cons(mark(X1), X2)
mark(s(X)) -> s(mark(X))
afrom(X) -> cons(mark(X), from(s(X)))
afrom(X) -> from(X)
azWadr(nil, YS) -> nil
azWadr(XS, nil) -> nil
azWadr(cons(X, XS), cons(Y, YS)) -> cons(aapp(mark(Y), cons(mark(X), nil)), zWadr(XS, YS))
azWadr(X1, X2) -> zWadr(X1, X2)
aprefix(L) -> cons(nil, zWadr(L, prefix(L)))
aprefix(X) -> prefix(X)
POL(from(x1)) = x1 POL(A__APP(x1, x2)) = x1 + x2 POL(MARK(x1)) = x1 POL(mark(x1)) = x1 POL(a__from(x1)) = x1 POL(cons(x1, x2)) = x1 POL(a__prefix(x1)) = 1 POL(a__app(x1, x2)) = x1 + x2 POL(nil) = 1 POL(s(x1)) = 0 POL(a__zWadr(x1, x2)) = x1 + x2 POL(app(x1, x2)) = x1 + x2 POL(prefix(x1)) = 1 POL(zWadr(x1, x2)) = x1 + x2
R
↳DPs
→DP Problem 1
↳Polo
→DP Problem 2
↳Polo
...
→DP Problem 8
↳Polynomial Ordering
MARK(cons(X1, X2)) -> MARK(X1)
MARK(app(X1, X2)) -> MARK(X2)
MARK(app(X1, X2)) -> MARK(X1)
MARK(app(X1, X2)) -> AAPP(mark(X1), mark(X2))
AAPP(cons(X, XS), YS) -> MARK(X)
aapp(nil, YS) -> mark(YS)
aapp(cons(X, XS), YS) -> cons(mark(X), app(XS, YS))
aapp(X1, X2) -> app(X1, X2)
afrom(X) -> cons(mark(X), from(s(X)))
afrom(X) -> from(X)
azWadr(nil, YS) -> nil
azWadr(XS, nil) -> nil
azWadr(cons(X, XS), cons(Y, YS)) -> cons(aapp(mark(Y), cons(mark(X), nil)), zWadr(XS, YS))
azWadr(X1, X2) -> zWadr(X1, X2)
aprefix(L) -> cons(nil, zWadr(L, prefix(L)))
aprefix(X) -> prefix(X)
mark(app(X1, X2)) -> aapp(mark(X1), mark(X2))
mark(from(X)) -> afrom(mark(X))
mark(zWadr(X1, X2)) -> azWadr(mark(X1), mark(X2))
mark(prefix(X)) -> aprefix(mark(X))
mark(nil) -> nil
mark(cons(X1, X2)) -> cons(mark(X1), X2)
mark(s(X)) -> s(mark(X))
innermost
MARK(app(X1, X2)) -> MARK(X2)
MARK(app(X1, X2)) -> MARK(X1)
MARK(app(X1, X2)) -> AAPP(mark(X1), mark(X2))
aapp(nil, YS) -> mark(YS)
aapp(cons(X, XS), YS) -> cons(mark(X), app(XS, YS))
aapp(X1, X2) -> app(X1, X2)
mark(app(X1, X2)) -> aapp(mark(X1), mark(X2))
mark(from(X)) -> afrom(mark(X))
mark(zWadr(X1, X2)) -> azWadr(mark(X1), mark(X2))
mark(prefix(X)) -> aprefix(mark(X))
mark(nil) -> nil
mark(cons(X1, X2)) -> cons(mark(X1), X2)
mark(s(X)) -> s(mark(X))
afrom(X) -> cons(mark(X), from(s(X)))
afrom(X) -> from(X)
azWadr(nil, YS) -> nil
azWadr(XS, nil) -> nil
azWadr(cons(X, XS), cons(Y, YS)) -> cons(aapp(mark(Y), cons(mark(X), nil)), zWadr(XS, YS))
azWadr(X1, X2) -> zWadr(X1, X2)
aprefix(L) -> cons(nil, zWadr(L, prefix(L)))
aprefix(X) -> prefix(X)
POL(from(x1)) = x1 POL(A__APP(x1, x2)) = x1 POL(MARK(x1)) = x1 POL(mark(x1)) = x1 POL(a__from(x1)) = x1 POL(cons(x1, x2)) = x1 POL(a__prefix(x1)) = 0 POL(a__app(x1, x2)) = 1 + x1 + x2 POL(nil) = 0 POL(s(x1)) = 0 POL(a__zWadr(x1, x2)) = 1 + x1 + x2 POL(app(x1, x2)) = 1 + x1 + x2 POL(prefix(x1)) = 0 POL(zWadr(x1, x2)) = 1 + x1 + x2
R
↳DPs
→DP Problem 1
↳Polo
→DP Problem 2
↳Polo
...
→DP Problem 9
↳Dependency Graph
MARK(cons(X1, X2)) -> MARK(X1)
AAPP(cons(X, XS), YS) -> MARK(X)
aapp(nil, YS) -> mark(YS)
aapp(cons(X, XS), YS) -> cons(mark(X), app(XS, YS))
aapp(X1, X2) -> app(X1, X2)
afrom(X) -> cons(mark(X), from(s(X)))
afrom(X) -> from(X)
azWadr(nil, YS) -> nil
azWadr(XS, nil) -> nil
azWadr(cons(X, XS), cons(Y, YS)) -> cons(aapp(mark(Y), cons(mark(X), nil)), zWadr(XS, YS))
azWadr(X1, X2) -> zWadr(X1, X2)
aprefix(L) -> cons(nil, zWadr(L, prefix(L)))
aprefix(X) -> prefix(X)
mark(app(X1, X2)) -> aapp(mark(X1), mark(X2))
mark(from(X)) -> afrom(mark(X))
mark(zWadr(X1, X2)) -> azWadr(mark(X1), mark(X2))
mark(prefix(X)) -> aprefix(mark(X))
mark(nil) -> nil
mark(cons(X1, X2)) -> cons(mark(X1), X2)
mark(s(X)) -> s(mark(X))
innermost
R
↳DPs
→DP Problem 1
↳Polo
→DP Problem 2
↳Polo
...
→DP Problem 10
↳Polynomial Ordering
MARK(cons(X1, X2)) -> MARK(X1)
aapp(nil, YS) -> mark(YS)
aapp(cons(X, XS), YS) -> cons(mark(X), app(XS, YS))
aapp(X1, X2) -> app(X1, X2)
afrom(X) -> cons(mark(X), from(s(X)))
afrom(X) -> from(X)
azWadr(nil, YS) -> nil
azWadr(XS, nil) -> nil
azWadr(cons(X, XS), cons(Y, YS)) -> cons(aapp(mark(Y), cons(mark(X), nil)), zWadr(XS, YS))
azWadr(X1, X2) -> zWadr(X1, X2)
aprefix(L) -> cons(nil, zWadr(L, prefix(L)))
aprefix(X) -> prefix(X)
mark(app(X1, X2)) -> aapp(mark(X1), mark(X2))
mark(from(X)) -> afrom(mark(X))
mark(zWadr(X1, X2)) -> azWadr(mark(X1), mark(X2))
mark(prefix(X)) -> aprefix(mark(X))
mark(nil) -> nil
mark(cons(X1, X2)) -> cons(mark(X1), X2)
mark(s(X)) -> s(mark(X))
innermost
MARK(cons(X1, X2)) -> MARK(X1)
POL(MARK(x1)) = x1 POL(cons(x1, x2)) = 1 + x1
R
↳DPs
→DP Problem 1
↳Polo
→DP Problem 2
↳Polo
...
→DP Problem 11
↳Dependency Graph
aapp(nil, YS) -> mark(YS)
aapp(cons(X, XS), YS) -> cons(mark(X), app(XS, YS))
aapp(X1, X2) -> app(X1, X2)
afrom(X) -> cons(mark(X), from(s(X)))
afrom(X) -> from(X)
azWadr(nil, YS) -> nil
azWadr(XS, nil) -> nil
azWadr(cons(X, XS), cons(Y, YS)) -> cons(aapp(mark(Y), cons(mark(X), nil)), zWadr(XS, YS))
azWadr(X1, X2) -> zWadr(X1, X2)
aprefix(L) -> cons(nil, zWadr(L, prefix(L)))
aprefix(X) -> prefix(X)
mark(app(X1, X2)) -> aapp(mark(X1), mark(X2))
mark(from(X)) -> afrom(mark(X))
mark(zWadr(X1, X2)) -> azWadr(mark(X1), mark(X2))
mark(prefix(X)) -> aprefix(mark(X))
mark(nil) -> nil
mark(cons(X1, X2)) -> cons(mark(X1), X2)
mark(s(X)) -> s(mark(X))
innermost