R
↳Dependency Pair Analysis
FROM(X) -> CONS(X, nfrom(ns(X)))
2NDSPOS(s(N), cons(X, ncons(Y, Z))) -> ACTIVATE(Y)
2NDSPOS(s(N), cons(X, ncons(Y, Z))) -> 2NDSNEG(N, activate(Z))
2NDSPOS(s(N), cons(X, ncons(Y, Z))) -> ACTIVATE(Z)
2NDSNEG(s(N), cons(X, ncons(Y, Z))) -> ACTIVATE(Y)
2NDSNEG(s(N), cons(X, ncons(Y, Z))) -> 2NDSPOS(N, activate(Z))
2NDSNEG(s(N), cons(X, ncons(Y, Z))) -> ACTIVATE(Z)
PI(X) -> 2NDSPOS(X, from(0))
PI(X) -> FROM(0)
PLUS(s(X), Y) -> S(plus(X, Y))
PLUS(s(X), Y) -> PLUS(X, Y)
TIMES(s(X), Y) -> PLUS(Y, times(X, Y))
TIMES(s(X), Y) -> TIMES(X, Y)
SQUARE(X) -> TIMES(X, X)
ACTIVATE(nfrom(X)) -> FROM(activate(X))
ACTIVATE(nfrom(X)) -> ACTIVATE(X)
ACTIVATE(ns(X)) -> S(activate(X))
ACTIVATE(ns(X)) -> ACTIVATE(X)
ACTIVATE(ncons(X1, X2)) -> CONS(activate(X1), X2)
ACTIVATE(ncons(X1, X2)) -> ACTIVATE(X1)
R
↳DPs
→DP Problem 1
↳Forward Instantiation Transformation
ACTIVATE(ncons(X1, X2)) -> ACTIVATE(X1)
ACTIVATE(ns(X)) -> ACTIVATE(X)
ACTIVATE(nfrom(X)) -> ACTIVATE(X)
from(X) -> cons(X, nfrom(ns(X)))
from(X) -> nfrom(X)
2ndspos(0, Z) -> rnil
2ndspos(s(N), cons(X, ncons(Y, Z))) -> rcons(posrecip(activate(Y)), 2ndsneg(N, activate(Z)))
2ndsneg(0, Z) -> rnil
2ndsneg(s(N), cons(X, ncons(Y, Z))) -> rcons(negrecip(activate(Y)), 2ndspos(N, activate(Z)))
pi(X) -> 2ndspos(X, from(0))
plus(0, Y) -> Y
plus(s(X), Y) -> s(plus(X, Y))
times(0, Y) -> 0
times(s(X), Y) -> plus(Y, times(X, Y))
square(X) -> times(X, X)
s(X) -> ns(X)
cons(X1, X2) -> ncons(X1, X2)
activate(nfrom(X)) -> from(activate(X))
activate(ns(X)) -> s(activate(X))
activate(ncons(X1, X2)) -> cons(activate(X1), X2)
activate(X) -> X
innermost
three new Dependency Pairs are created:
ACTIVATE(nfrom(X)) -> ACTIVATE(X)
ACTIVATE(nfrom(nfrom(X''))) -> ACTIVATE(nfrom(X''))
ACTIVATE(nfrom(ns(X''))) -> ACTIVATE(ns(X''))
ACTIVATE(nfrom(ncons(X1'', X2''))) -> ACTIVATE(ncons(X1'', X2''))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Forward Instantiation Transformation
ACTIVATE(nfrom(ncons(X1'', X2''))) -> ACTIVATE(ncons(X1'', X2''))
ACTIVATE(nfrom(ns(X''))) -> ACTIVATE(ns(X''))
ACTIVATE(nfrom(nfrom(X''))) -> ACTIVATE(nfrom(X''))
ACTIVATE(ns(X)) -> ACTIVATE(X)
ACTIVATE(ncons(X1, X2)) -> ACTIVATE(X1)
from(X) -> cons(X, nfrom(ns(X)))
from(X) -> nfrom(X)
2ndspos(0, Z) -> rnil
2ndspos(s(N), cons(X, ncons(Y, Z))) -> rcons(posrecip(activate(Y)), 2ndsneg(N, activate(Z)))
2ndsneg(0, Z) -> rnil
2ndsneg(s(N), cons(X, ncons(Y, Z))) -> rcons(negrecip(activate(Y)), 2ndspos(N, activate(Z)))
pi(X) -> 2ndspos(X, from(0))
plus(0, Y) -> Y
plus(s(X), Y) -> s(plus(X, Y))
times(0, Y) -> 0
times(s(X), Y) -> plus(Y, times(X, Y))
square(X) -> times(X, X)
s(X) -> ns(X)
cons(X1, X2) -> ncons(X1, X2)
activate(nfrom(X)) -> from(activate(X))
activate(ns(X)) -> s(activate(X))
activate(ncons(X1, X2)) -> cons(activate(X1), X2)
activate(X) -> X
innermost
five new Dependency Pairs are created:
ACTIVATE(ns(X)) -> ACTIVATE(X)
ACTIVATE(ns(ns(X''))) -> ACTIVATE(ns(X''))
ACTIVATE(ns(ncons(X1'', X2''))) -> ACTIVATE(ncons(X1'', X2''))
ACTIVATE(ns(nfrom(nfrom(X'''')))) -> ACTIVATE(nfrom(nfrom(X'''')))
ACTIVATE(ns(nfrom(ns(X'''')))) -> ACTIVATE(nfrom(ns(X'''')))
ACTIVATE(ns(nfrom(ncons(X1'''', X2'''')))) -> ACTIVATE(nfrom(ncons(X1'''', X2'''')))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳FwdInst
...
→DP Problem 3
↳Forward Instantiation Transformation
ACTIVATE(ns(nfrom(ncons(X1'''', X2'''')))) -> ACTIVATE(nfrom(ncons(X1'''', X2'''')))
ACTIVATE(ns(nfrom(ns(X'''')))) -> ACTIVATE(nfrom(ns(X'''')))
ACTIVATE(ns(nfrom(nfrom(X'''')))) -> ACTIVATE(nfrom(nfrom(X'''')))
ACTIVATE(ns(ncons(X1'', X2''))) -> ACTIVATE(ncons(X1'', X2''))
ACTIVATE(ns(ns(X''))) -> ACTIVATE(ns(X''))
ACTIVATE(nfrom(ns(X''))) -> ACTIVATE(ns(X''))
ACTIVATE(nfrom(nfrom(X''))) -> ACTIVATE(nfrom(X''))
ACTIVATE(ncons(X1, X2)) -> ACTIVATE(X1)
ACTIVATE(nfrom(ncons(X1'', X2''))) -> ACTIVATE(ncons(X1'', X2''))
from(X) -> cons(X, nfrom(ns(X)))
from(X) -> nfrom(X)
2ndspos(0, Z) -> rnil
2ndspos(s(N), cons(X, ncons(Y, Z))) -> rcons(posrecip(activate(Y)), 2ndsneg(N, activate(Z)))
2ndsneg(0, Z) -> rnil
2ndsneg(s(N), cons(X, ncons(Y, Z))) -> rcons(negrecip(activate(Y)), 2ndspos(N, activate(Z)))
pi(X) -> 2ndspos(X, from(0))
plus(0, Y) -> Y
plus(s(X), Y) -> s(plus(X, Y))
times(0, Y) -> 0
times(s(X), Y) -> plus(Y, times(X, Y))
square(X) -> times(X, X)
s(X) -> ns(X)
cons(X1, X2) -> ncons(X1, X2)
activate(nfrom(X)) -> from(activate(X))
activate(ns(X)) -> s(activate(X))
activate(ncons(X1, X2)) -> cons(activate(X1), X2)
activate(X) -> X
innermost
nine new Dependency Pairs are created:
ACTIVATE(ncons(X1, X2)) -> ACTIVATE(X1)
ACTIVATE(ncons(ncons(X1'', X2''), X2)) -> ACTIVATE(ncons(X1'', X2''))
ACTIVATE(ncons(nfrom(nfrom(X'''')), X2)) -> ACTIVATE(nfrom(nfrom(X'''')))
ACTIVATE(ncons(nfrom(ns(X'''')), X2)) -> ACTIVATE(nfrom(ns(X'''')))
ACTIVATE(ncons(nfrom(ncons(X1'''', X2'''')), X2)) -> ACTIVATE(nfrom(ncons(X1'''', X2'''')))
ACTIVATE(ncons(ns(ns(X'''')), X2)) -> ACTIVATE(ns(ns(X'''')))
ACTIVATE(ncons(ns(ncons(X1'''', X2'''')), X2)) -> ACTIVATE(ns(ncons(X1'''', X2'''')))
ACTIVATE(ncons(ns(nfrom(nfrom(X''''''))), X2)) -> ACTIVATE(ns(nfrom(nfrom(X''''''))))
ACTIVATE(ncons(ns(nfrom(ns(X''''''))), X2)) -> ACTIVATE(ns(nfrom(ns(X''''''))))
ACTIVATE(ncons(ns(nfrom(ncons(X1'''''', X2''''''))), X2)) -> ACTIVATE(ns(nfrom(ncons(X1'''''', X2''''''))))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳FwdInst
...
→DP Problem 4
↳Forward Instantiation Transformation
ACTIVATE(ncons(ns(nfrom(ncons(X1'''''', X2''''''))), X2)) -> ACTIVATE(ns(nfrom(ncons(X1'''''', X2''''''))))
ACTIVATE(ns(nfrom(ns(X'''')))) -> ACTIVATE(nfrom(ns(X'''')))
ACTIVATE(ncons(ns(nfrom(ns(X''''''))), X2)) -> ACTIVATE(ns(nfrom(ns(X''''''))))
ACTIVATE(ns(nfrom(nfrom(X'''')))) -> ACTIVATE(nfrom(nfrom(X'''')))
ACTIVATE(ncons(ns(nfrom(nfrom(X''''''))), X2)) -> ACTIVATE(ns(nfrom(nfrom(X''''''))))
ACTIVATE(ncons(ns(ncons(X1'''', X2'''')), X2)) -> ACTIVATE(ns(ncons(X1'''', X2'''')))
ACTIVATE(ncons(ns(ns(X'''')), X2)) -> ACTIVATE(ns(ns(X'''')))
ACTIVATE(ncons(nfrom(ncons(X1'''', X2'''')), X2)) -> ACTIVATE(nfrom(ncons(X1'''', X2'''')))
ACTIVATE(ncons(nfrom(ns(X'''')), X2)) -> ACTIVATE(nfrom(ns(X'''')))
ACTIVATE(ns(ncons(X1'', X2''))) -> ACTIVATE(ncons(X1'', X2''))
ACTIVATE(ns(ns(X''))) -> ACTIVATE(ns(X''))
ACTIVATE(nfrom(ns(X''))) -> ACTIVATE(ns(X''))
ACTIVATE(nfrom(nfrom(X''))) -> ACTIVATE(nfrom(X''))
ACTIVATE(ncons(nfrom(nfrom(X'''')), X2)) -> ACTIVATE(nfrom(nfrom(X'''')))
ACTIVATE(ncons(ncons(X1'', X2''), X2)) -> ACTIVATE(ncons(X1'', X2''))
ACTIVATE(nfrom(ncons(X1'', X2''))) -> ACTIVATE(ncons(X1'', X2''))
ACTIVATE(ns(nfrom(ncons(X1'''', X2'''')))) -> ACTIVATE(nfrom(ncons(X1'''', X2'''')))
from(X) -> cons(X, nfrom(ns(X)))
from(X) -> nfrom(X)
2ndspos(0, Z) -> rnil
2ndspos(s(N), cons(X, ncons(Y, Z))) -> rcons(posrecip(activate(Y)), 2ndsneg(N, activate(Z)))
2ndsneg(0, Z) -> rnil
2ndsneg(s(N), cons(X, ncons(Y, Z))) -> rcons(negrecip(activate(Y)), 2ndspos(N, activate(Z)))
pi(X) -> 2ndspos(X, from(0))
plus(0, Y) -> Y
plus(s(X), Y) -> s(plus(X, Y))
times(0, Y) -> 0
times(s(X), Y) -> plus(Y, times(X, Y))
square(X) -> times(X, X)
s(X) -> ns(X)
cons(X1, X2) -> ncons(X1, X2)
activate(nfrom(X)) -> from(activate(X))
activate(ns(X)) -> s(activate(X))
activate(ncons(X1, X2)) -> cons(activate(X1), X2)
activate(X) -> X
innermost
three new Dependency Pairs are created:
ACTIVATE(nfrom(nfrom(X''))) -> ACTIVATE(nfrom(X''))
ACTIVATE(nfrom(nfrom(nfrom(X'''')))) -> ACTIVATE(nfrom(nfrom(X'''')))
ACTIVATE(nfrom(nfrom(ns(X'''')))) -> ACTIVATE(nfrom(ns(X'''')))
ACTIVATE(nfrom(nfrom(ncons(X1'''', X2'''')))) -> ACTIVATE(nfrom(ncons(X1'''', X2'''')))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳FwdInst
...
→DP Problem 5
↳Forward Instantiation Transformation
ACTIVATE(ns(nfrom(ns(X'''')))) -> ACTIVATE(nfrom(ns(X'''')))
ACTIVATE(ncons(ns(nfrom(ns(X''''''))), X2)) -> ACTIVATE(ns(nfrom(ns(X''''''))))
ACTIVATE(nfrom(nfrom(ncons(X1'''', X2'''')))) -> ACTIVATE(nfrom(ncons(X1'''', X2'''')))
ACTIVATE(ns(nfrom(nfrom(X'''')))) -> ACTIVATE(nfrom(nfrom(X'''')))
ACTIVATE(ncons(ns(nfrom(nfrom(X''''''))), X2)) -> ACTIVATE(ns(nfrom(nfrom(X''''''))))
ACTIVATE(ncons(ns(ncons(X1'''', X2'''')), X2)) -> ACTIVATE(ns(ncons(X1'''', X2'''')))
ACTIVATE(ncons(ns(ns(X'''')), X2)) -> ACTIVATE(ns(ns(X'''')))
ACTIVATE(ncons(nfrom(ncons(X1'''', X2'''')), X2)) -> ACTIVATE(nfrom(ncons(X1'''', X2'''')))
ACTIVATE(ncons(nfrom(ns(X'''')), X2)) -> ACTIVATE(nfrom(ns(X'''')))
ACTIVATE(ns(ncons(X1'', X2''))) -> ACTIVATE(ncons(X1'', X2''))
ACTIVATE(ns(ns(X''))) -> ACTIVATE(ns(X''))
ACTIVATE(nfrom(ns(X''))) -> ACTIVATE(ns(X''))
ACTIVATE(nfrom(nfrom(ns(X'''')))) -> ACTIVATE(nfrom(ns(X'''')))
ACTIVATE(nfrom(nfrom(nfrom(X'''')))) -> ACTIVATE(nfrom(nfrom(X'''')))
ACTIVATE(ncons(nfrom(nfrom(X'''')), X2)) -> ACTIVATE(nfrom(nfrom(X'''')))
ACTIVATE(ncons(ncons(X1'', X2''), X2)) -> ACTIVATE(ncons(X1'', X2''))
ACTIVATE(nfrom(ncons(X1'', X2''))) -> ACTIVATE(ncons(X1'', X2''))
ACTIVATE(ns(nfrom(ncons(X1'''', X2'''')))) -> ACTIVATE(nfrom(ncons(X1'''', X2'''')))
ACTIVATE(ncons(ns(nfrom(ncons(X1'''''', X2''''''))), X2)) -> ACTIVATE(ns(nfrom(ncons(X1'''''', X2''''''))))
from(X) -> cons(X, nfrom(ns(X)))
from(X) -> nfrom(X)
2ndspos(0, Z) -> rnil
2ndspos(s(N), cons(X, ncons(Y, Z))) -> rcons(posrecip(activate(Y)), 2ndsneg(N, activate(Z)))
2ndsneg(0, Z) -> rnil
2ndsneg(s(N), cons(X, ncons(Y, Z))) -> rcons(negrecip(activate(Y)), 2ndspos(N, activate(Z)))
pi(X) -> 2ndspos(X, from(0))
plus(0, Y) -> Y
plus(s(X), Y) -> s(plus(X, Y))
times(0, Y) -> 0
times(s(X), Y) -> plus(Y, times(X, Y))
square(X) -> times(X, X)
s(X) -> ns(X)
cons(X1, X2) -> ncons(X1, X2)
activate(nfrom(X)) -> from(activate(X))
activate(ns(X)) -> s(activate(X))
activate(ncons(X1, X2)) -> cons(activate(X1), X2)
activate(X) -> X
innermost
five new Dependency Pairs are created:
ACTIVATE(nfrom(ns(X''))) -> ACTIVATE(ns(X''))
ACTIVATE(nfrom(ns(ns(X'''')))) -> ACTIVATE(ns(ns(X'''')))
ACTIVATE(nfrom(ns(ncons(X1'''', X2'''')))) -> ACTIVATE(ns(ncons(X1'''', X2'''')))
ACTIVATE(nfrom(ns(nfrom(nfrom(X''''''))))) -> ACTIVATE(ns(nfrom(nfrom(X''''''))))
ACTIVATE(nfrom(ns(nfrom(ns(X''''''))))) -> ACTIVATE(ns(nfrom(ns(X''''''))))
ACTIVATE(nfrom(ns(nfrom(ncons(X1'''''', X2''''''))))) -> ACTIVATE(ns(nfrom(ncons(X1'''''', X2''''''))))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳FwdInst
...
→DP Problem 6
↳Forward Instantiation Transformation
ACTIVATE(ncons(ns(nfrom(ncons(X1'''''', X2''''''))), X2)) -> ACTIVATE(ns(nfrom(ncons(X1'''''', X2''''''))))
ACTIVATE(ncons(ns(nfrom(ns(X''''''))), X2)) -> ACTIVATE(ns(nfrom(ns(X''''''))))
ACTIVATE(ncons(ns(nfrom(nfrom(X''''''))), X2)) -> ACTIVATE(ns(nfrom(nfrom(X''''''))))
ACTIVATE(ncons(ns(ncons(X1'''', X2'''')), X2)) -> ACTIVATE(ns(ncons(X1'''', X2'''')))
ACTIVATE(ncons(ns(ns(X'''')), X2)) -> ACTIVATE(ns(ns(X'''')))
ACTIVATE(ncons(nfrom(ncons(X1'''', X2'''')), X2)) -> ACTIVATE(nfrom(ncons(X1'''', X2'''')))
ACTIVATE(ns(nfrom(ncons(X1'''', X2'''')))) -> ACTIVATE(nfrom(ncons(X1'''', X2'''')))
ACTIVATE(nfrom(ns(nfrom(ncons(X1'''''', X2''''''))))) -> ACTIVATE(ns(nfrom(ncons(X1'''''', X2''''''))))
ACTIVATE(nfrom(ns(nfrom(ns(X''''''))))) -> ACTIVATE(ns(nfrom(ns(X''''''))))
ACTIVATE(ncons(nfrom(ns(X'''')), X2)) -> ACTIVATE(nfrom(ns(X'''')))
ACTIVATE(nfrom(ncons(X1'', X2''))) -> ACTIVATE(ncons(X1'', X2''))
ACTIVATE(nfrom(nfrom(ncons(X1'''', X2'''')))) -> ACTIVATE(nfrom(ncons(X1'''', X2'''')))
ACTIVATE(ns(nfrom(nfrom(X'''')))) -> ACTIVATE(nfrom(nfrom(X'''')))
ACTIVATE(nfrom(ns(nfrom(nfrom(X''''''))))) -> ACTIVATE(ns(nfrom(nfrom(X''''''))))
ACTIVATE(nfrom(ns(ncons(X1'''', X2'''')))) -> ACTIVATE(ns(ncons(X1'''', X2'''')))
ACTIVATE(nfrom(nfrom(ns(X'''')))) -> ACTIVATE(nfrom(ns(X'''')))
ACTIVATE(nfrom(nfrom(nfrom(X'''')))) -> ACTIVATE(nfrom(nfrom(X'''')))
ACTIVATE(ncons(nfrom(nfrom(X'''')), X2)) -> ACTIVATE(nfrom(nfrom(X'''')))
ACTIVATE(ncons(ncons(X1'', X2''), X2)) -> ACTIVATE(ncons(X1'', X2''))
ACTIVATE(ns(ncons(X1'', X2''))) -> ACTIVATE(ncons(X1'', X2''))
ACTIVATE(ns(ns(X''))) -> ACTIVATE(ns(X''))
ACTIVATE(nfrom(ns(ns(X'''')))) -> ACTIVATE(ns(ns(X'''')))
ACTIVATE(ns(nfrom(ns(X'''')))) -> ACTIVATE(nfrom(ns(X'''')))
from(X) -> cons(X, nfrom(ns(X)))
from(X) -> nfrom(X)
2ndspos(0, Z) -> rnil
2ndspos(s(N), cons(X, ncons(Y, Z))) -> rcons(posrecip(activate(Y)), 2ndsneg(N, activate(Z)))
2ndsneg(0, Z) -> rnil
2ndsneg(s(N), cons(X, ncons(Y, Z))) -> rcons(negrecip(activate(Y)), 2ndspos(N, activate(Z)))
pi(X) -> 2ndspos(X, from(0))
plus(0, Y) -> Y
plus(s(X), Y) -> s(plus(X, Y))
times(0, Y) -> 0
times(s(X), Y) -> plus(Y, times(X, Y))
square(X) -> times(X, X)
s(X) -> ns(X)
cons(X1, X2) -> ncons(X1, X2)
activate(nfrom(X)) -> from(activate(X))
activate(ns(X)) -> s(activate(X))
activate(ncons(X1, X2)) -> cons(activate(X1), X2)
activate(X) -> X
innermost
nine new Dependency Pairs are created:
ACTIVATE(nfrom(ncons(X1'', X2''))) -> ACTIVATE(ncons(X1'', X2''))
ACTIVATE(nfrom(ncons(ncons(X1'''', X2'''''), X2''''))) -> ACTIVATE(ncons(ncons(X1'''', X2'''''), X2''''))
ACTIVATE(nfrom(ncons(nfrom(nfrom(X'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(nfrom(X'''''')), X2'''))
ACTIVATE(nfrom(ncons(nfrom(ns(X'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(ns(X'''''')), X2'''))
ACTIVATE(nfrom(ncons(nfrom(ncons(X1'''''', X2'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(ncons(X1'''''', X2'''''')), X2'''))
ACTIVATE(nfrom(ncons(ns(ns(X'''''')), X2'''))) -> ACTIVATE(ncons(ns(ns(X'''''')), X2'''))
ACTIVATE(nfrom(ncons(ns(ncons(X1'''''', X2'''''')), X2'''))) -> ACTIVATE(ncons(ns(ncons(X1'''''', X2'''''')), X2'''))
ACTIVATE(nfrom(ncons(ns(nfrom(nfrom(X''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(nfrom(X''''''''))), X2'''))
ACTIVATE(nfrom(ncons(ns(nfrom(ns(X''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(ns(X''''''''))), X2'''))
ACTIVATE(nfrom(ncons(ns(nfrom(ncons(X1'''''''', X2''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(ncons(X1'''''''', X2''''''''))), X2'''))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳FwdInst
...
→DP Problem 7
↳Forward Instantiation Transformation
ACTIVATE(nfrom(ncons(ns(nfrom(ncons(X1'''''''', X2''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(ncons(X1'''''''', X2''''''''))), X2'''))
ACTIVATE(nfrom(ns(nfrom(ncons(X1'''''', X2''''''))))) -> ACTIVATE(ns(nfrom(ncons(X1'''''', X2''''''))))
ACTIVATE(nfrom(ns(nfrom(ns(X''''''))))) -> ACTIVATE(ns(nfrom(ns(X''''''))))
ACTIVATE(ns(nfrom(ns(X'''')))) -> ACTIVATE(nfrom(ns(X'''')))
ACTIVATE(ncons(ns(nfrom(ns(X''''''))), X2)) -> ACTIVATE(ns(nfrom(ns(X''''''))))
ACTIVATE(nfrom(ncons(ns(nfrom(ns(X''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(ns(X''''''''))), X2'''))
ACTIVATE(ncons(ns(nfrom(nfrom(X''''''))), X2)) -> ACTIVATE(ns(nfrom(nfrom(X''''''))))
ACTIVATE(nfrom(ncons(ns(nfrom(nfrom(X''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(nfrom(X''''''''))), X2'''))
ACTIVATE(ncons(ns(ncons(X1'''', X2'''')), X2)) -> ACTIVATE(ns(ncons(X1'''', X2'''')))
ACTIVATE(nfrom(ncons(ns(ncons(X1'''''', X2'''''')), X2'''))) -> ACTIVATE(ncons(ns(ncons(X1'''''', X2'''''')), X2'''))
ACTIVATE(ncons(ns(ns(X'''')), X2)) -> ACTIVATE(ns(ns(X'''')))
ACTIVATE(nfrom(ncons(ns(ns(X'''''')), X2'''))) -> ACTIVATE(ncons(ns(ns(X'''''')), X2'''))
ACTIVATE(ncons(nfrom(ncons(X1'''', X2'''')), X2)) -> ACTIVATE(nfrom(ncons(X1'''', X2'''')))
ACTIVATE(nfrom(ncons(nfrom(ncons(X1'''''', X2'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(ncons(X1'''''', X2'''''')), X2'''))
ACTIVATE(nfrom(ncons(nfrom(ns(X'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(ns(X'''''')), X2'''))
ACTIVATE(nfrom(ncons(nfrom(nfrom(X'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(nfrom(X'''''')), X2'''))
ACTIVATE(nfrom(nfrom(ncons(X1'''', X2'''')))) -> ACTIVATE(nfrom(ncons(X1'''', X2'''')))
ACTIVATE(ns(nfrom(nfrom(X'''')))) -> ACTIVATE(nfrom(nfrom(X'''')))
ACTIVATE(nfrom(ns(nfrom(nfrom(X''''''))))) -> ACTIVATE(ns(nfrom(nfrom(X''''''))))
ACTIVATE(nfrom(ns(ncons(X1'''', X2'''')))) -> ACTIVATE(ns(ncons(X1'''', X2'''')))
ACTIVATE(ncons(nfrom(ns(X'''')), X2)) -> ACTIVATE(nfrom(ns(X'''')))
ACTIVATE(ns(ncons(X1'', X2''))) -> ACTIVATE(ncons(X1'', X2''))
ACTIVATE(ns(ns(X''))) -> ACTIVATE(ns(X''))
ACTIVATE(nfrom(ns(ns(X'''')))) -> ACTIVATE(ns(ns(X'''')))
ACTIVATE(nfrom(nfrom(ns(X'''')))) -> ACTIVATE(nfrom(ns(X'''')))
ACTIVATE(nfrom(nfrom(nfrom(X'''')))) -> ACTIVATE(nfrom(nfrom(X'''')))
ACTIVATE(ncons(nfrom(nfrom(X'''')), X2)) -> ACTIVATE(nfrom(nfrom(X'''')))
ACTIVATE(ncons(ncons(X1'', X2''), X2)) -> ACTIVATE(ncons(X1'', X2''))
ACTIVATE(nfrom(ncons(ncons(X1'''', X2'''''), X2''''))) -> ACTIVATE(ncons(ncons(X1'''', X2'''''), X2''''))
ACTIVATE(ns(nfrom(ncons(X1'''', X2'''')))) -> ACTIVATE(nfrom(ncons(X1'''', X2'''')))
ACTIVATE(ncons(ns(nfrom(ncons(X1'''''', X2''''''))), X2)) -> ACTIVATE(ns(nfrom(ncons(X1'''''', X2''''''))))
from(X) -> cons(X, nfrom(ns(X)))
from(X) -> nfrom(X)
2ndspos(0, Z) -> rnil
2ndspos(s(N), cons(X, ncons(Y, Z))) -> rcons(posrecip(activate(Y)), 2ndsneg(N, activate(Z)))
2ndsneg(0, Z) -> rnil
2ndsneg(s(N), cons(X, ncons(Y, Z))) -> rcons(negrecip(activate(Y)), 2ndspos(N, activate(Z)))
pi(X) -> 2ndspos(X, from(0))
plus(0, Y) -> Y
plus(s(X), Y) -> s(plus(X, Y))
times(0, Y) -> 0
times(s(X), Y) -> plus(Y, times(X, Y))
square(X) -> times(X, X)
s(X) -> ns(X)
cons(X1, X2) -> ncons(X1, X2)
activate(nfrom(X)) -> from(activate(X))
activate(ns(X)) -> s(activate(X))
activate(ncons(X1, X2)) -> cons(activate(X1), X2)
activate(X) -> X
innermost
five new Dependency Pairs are created:
ACTIVATE(ns(ns(X''))) -> ACTIVATE(ns(X''))
ACTIVATE(ns(ns(ns(X'''')))) -> ACTIVATE(ns(ns(X'''')))
ACTIVATE(ns(ns(ncons(X1'''', X2'''')))) -> ACTIVATE(ns(ncons(X1'''', X2'''')))
ACTIVATE(ns(ns(nfrom(nfrom(X''''''))))) -> ACTIVATE(ns(nfrom(nfrom(X''''''))))
ACTIVATE(ns(ns(nfrom(ns(X''''''))))) -> ACTIVATE(ns(nfrom(ns(X''''''))))
ACTIVATE(ns(ns(nfrom(ncons(X1'''''', X2''''''))))) -> ACTIVATE(ns(nfrom(ncons(X1'''''', X2''''''))))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳FwdInst
...
→DP Problem 8
↳Forward Instantiation Transformation
ACTIVATE(ncons(ns(nfrom(ns(X''''''))), X2)) -> ACTIVATE(ns(nfrom(ns(X''''''))))
ACTIVATE(nfrom(ncons(ns(nfrom(ns(X''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(ns(X''''''''))), X2'''))
ACTIVATE(ncons(ns(nfrom(nfrom(X''''''))), X2)) -> ACTIVATE(ns(nfrom(nfrom(X''''''))))
ACTIVATE(nfrom(ncons(ns(nfrom(nfrom(X''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(nfrom(X''''''''))), X2'''))
ACTIVATE(ncons(ns(ncons(X1'''', X2'''')), X2)) -> ACTIVATE(ns(ncons(X1'''', X2'''')))
ACTIVATE(nfrom(ncons(ns(ncons(X1'''''', X2'''''')), X2'''))) -> ACTIVATE(ncons(ns(ncons(X1'''''', X2'''''')), X2'''))
ACTIVATE(ns(ns(nfrom(ncons(X1'''''', X2''''''))))) -> ACTIVATE(ns(nfrom(ncons(X1'''''', X2''''''))))
ACTIVATE(nfrom(ns(nfrom(ncons(X1'''''', X2''''''))))) -> ACTIVATE(ns(nfrom(ncons(X1'''''', X2''''''))))
ACTIVATE(nfrom(ns(nfrom(ns(X''''''))))) -> ACTIVATE(ns(nfrom(ns(X''''''))))
ACTIVATE(ns(nfrom(ns(X'''')))) -> ACTIVATE(nfrom(ns(X'''')))
ACTIVATE(ns(ns(nfrom(ns(X''''''))))) -> ACTIVATE(ns(nfrom(ns(X''''''))))
ACTIVATE(ns(ns(nfrom(nfrom(X''''''))))) -> ACTIVATE(ns(nfrom(nfrom(X''''''))))
ACTIVATE(ncons(ns(ns(X'''')), X2)) -> ACTIVATE(ns(ns(X'''')))
ACTIVATE(nfrom(ncons(ns(ns(X'''''')), X2'''))) -> ACTIVATE(ncons(ns(ns(X'''''')), X2'''))
ACTIVATE(ncons(nfrom(ncons(X1'''', X2'''')), X2)) -> ACTIVATE(nfrom(ncons(X1'''', X2'''')))
ACTIVATE(nfrom(ncons(nfrom(ncons(X1'''''', X2'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(ncons(X1'''''', X2'''''')), X2'''))
ACTIVATE(nfrom(ncons(nfrom(ns(X'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(ns(X'''''')), X2'''))
ACTIVATE(nfrom(ncons(nfrom(nfrom(X'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(nfrom(X'''''')), X2'''))
ACTIVATE(nfrom(nfrom(ncons(X1'''', X2'''')))) -> ACTIVATE(nfrom(ncons(X1'''', X2'''')))
ACTIVATE(ns(nfrom(nfrom(X'''')))) -> ACTIVATE(nfrom(nfrom(X'''')))
ACTIVATE(nfrom(ns(nfrom(nfrom(X''''''))))) -> ACTIVATE(ns(nfrom(nfrom(X''''''))))
ACTIVATE(nfrom(ns(ncons(X1'''', X2'''')))) -> ACTIVATE(ns(ncons(X1'''', X2'''')))
ACTIVATE(ncons(nfrom(ns(X'''')), X2)) -> ACTIVATE(nfrom(ns(X'''')))
ACTIVATE(ns(ncons(X1'', X2''))) -> ACTIVATE(ncons(X1'', X2''))
ACTIVATE(ns(ns(ncons(X1'''', X2'''')))) -> ACTIVATE(ns(ncons(X1'''', X2'''')))
ACTIVATE(ns(ns(ns(X'''')))) -> ACTIVATE(ns(ns(X'''')))
ACTIVATE(nfrom(ns(ns(X'''')))) -> ACTIVATE(ns(ns(X'''')))
ACTIVATE(nfrom(nfrom(ns(X'''')))) -> ACTIVATE(nfrom(ns(X'''')))
ACTIVATE(nfrom(nfrom(nfrom(X'''')))) -> ACTIVATE(nfrom(nfrom(X'''')))
ACTIVATE(ncons(nfrom(nfrom(X'''')), X2)) -> ACTIVATE(nfrom(nfrom(X'''')))
ACTIVATE(ncons(ncons(X1'', X2''), X2)) -> ACTIVATE(ncons(X1'', X2''))
ACTIVATE(nfrom(ncons(ncons(X1'''', X2'''''), X2''''))) -> ACTIVATE(ncons(ncons(X1'''', X2'''''), X2''''))
ACTIVATE(ns(nfrom(ncons(X1'''', X2'''')))) -> ACTIVATE(nfrom(ncons(X1'''', X2'''')))
ACTIVATE(ncons(ns(nfrom(ncons(X1'''''', X2''''''))), X2)) -> ACTIVATE(ns(nfrom(ncons(X1'''''', X2''''''))))
ACTIVATE(nfrom(ncons(ns(nfrom(ncons(X1'''''''', X2''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(ncons(X1'''''''', X2''''''''))), X2'''))
from(X) -> cons(X, nfrom(ns(X)))
from(X) -> nfrom(X)
2ndspos(0, Z) -> rnil
2ndspos(s(N), cons(X, ncons(Y, Z))) -> rcons(posrecip(activate(Y)), 2ndsneg(N, activate(Z)))
2ndsneg(0, Z) -> rnil
2ndsneg(s(N), cons(X, ncons(Y, Z))) -> rcons(negrecip(activate(Y)), 2ndspos(N, activate(Z)))
pi(X) -> 2ndspos(X, from(0))
plus(0, Y) -> Y
plus(s(X), Y) -> s(plus(X, Y))
times(0, Y) -> 0
times(s(X), Y) -> plus(Y, times(X, Y))
square(X) -> times(X, X)
s(X) -> ns(X)
cons(X1, X2) -> ncons(X1, X2)
activate(nfrom(X)) -> from(activate(X))
activate(ns(X)) -> s(activate(X))
activate(ncons(X1, X2)) -> cons(activate(X1), X2)
activate(X) -> X
innermost
nine new Dependency Pairs are created:
ACTIVATE(ns(ncons(X1'', X2''))) -> ACTIVATE(ncons(X1'', X2''))
ACTIVATE(ns(ncons(ncons(X1'''', X2'''''), X2''''))) -> ACTIVATE(ncons(ncons(X1'''', X2'''''), X2''''))
ACTIVATE(ns(ncons(nfrom(nfrom(X'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(nfrom(X'''''')), X2'''))
ACTIVATE(ns(ncons(nfrom(ns(X'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(ns(X'''''')), X2'''))
ACTIVATE(ns(ncons(nfrom(ncons(X1'''''', X2'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(ncons(X1'''''', X2'''''')), X2'''))
ACTIVATE(ns(ncons(ns(ns(X'''''')), X2'''))) -> ACTIVATE(ncons(ns(ns(X'''''')), X2'''))
ACTIVATE(ns(ncons(ns(ncons(X1'''''', X2'''''')), X2'''))) -> ACTIVATE(ncons(ns(ncons(X1'''''', X2'''''')), X2'''))
ACTIVATE(ns(ncons(ns(nfrom(nfrom(X''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(nfrom(X''''''''))), X2'''))
ACTIVATE(ns(ncons(ns(nfrom(ns(X''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(ns(X''''''''))), X2'''))
ACTIVATE(ns(ncons(ns(nfrom(ncons(X1'''''''', X2''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(ncons(X1'''''''', X2''''''''))), X2'''))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳FwdInst
...
→DP Problem 9
↳Forward Instantiation Transformation
ACTIVATE(nfrom(ns(nfrom(ncons(X1'''''', X2''''''))))) -> ACTIVATE(ns(nfrom(ncons(X1'''''', X2''''''))))
ACTIVATE(nfrom(ns(nfrom(ns(X''''''))))) -> ACTIVATE(ns(nfrom(ns(X''''''))))
ACTIVATE(nfrom(ncons(ns(nfrom(ncons(X1'''''''', X2''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(ncons(X1'''''''', X2''''''''))), X2'''))
ACTIVATE(nfrom(ncons(ns(nfrom(ns(X''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(ns(X''''''''))), X2'''))
ACTIVATE(nfrom(ncons(ns(nfrom(nfrom(X''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(nfrom(X''''''''))), X2'''))
ACTIVATE(ncons(ns(nfrom(ncons(X1'''''', X2''''''))), X2)) -> ACTIVATE(ns(nfrom(ncons(X1'''''', X2''''''))))
ACTIVATE(ns(ncons(ns(nfrom(ncons(X1'''''''', X2''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(ncons(X1'''''''', X2''''''''))), X2'''))
ACTIVATE(ns(ncons(ns(nfrom(ns(X''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(ns(X''''''''))), X2'''))
ACTIVATE(ncons(ns(nfrom(nfrom(X''''''))), X2)) -> ACTIVATE(ns(nfrom(nfrom(X''''''))))
ACTIVATE(ns(ncons(ns(nfrom(nfrom(X''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(nfrom(X''''''''))), X2'''))
ACTIVATE(ns(ncons(ns(ncons(X1'''''', X2'''''')), X2'''))) -> ACTIVATE(ncons(ns(ncons(X1'''''', X2'''''')), X2'''))
ACTIVATE(ns(ncons(ns(ns(X'''''')), X2'''))) -> ACTIVATE(ncons(ns(ns(X'''''')), X2'''))
ACTIVATE(ns(ncons(nfrom(ncons(X1'''''', X2'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(ncons(X1'''''', X2'''''')), X2'''))
ACTIVATE(ncons(ns(ncons(X1'''', X2'''')), X2)) -> ACTIVATE(ns(ncons(X1'''', X2'''')))
ACTIVATE(nfrom(ncons(ns(ncons(X1'''''', X2'''''')), X2'''))) -> ACTIVATE(ncons(ns(ncons(X1'''''', X2'''''')), X2'''))
ACTIVATE(ns(nfrom(ncons(X1'''', X2'''')))) -> ACTIVATE(nfrom(ncons(X1'''', X2'''')))
ACTIVATE(ns(ns(nfrom(ncons(X1'''''', X2''''''))))) -> ACTIVATE(ns(nfrom(ncons(X1'''''', X2''''''))))
ACTIVATE(ns(ns(nfrom(ns(X''''''))))) -> ACTIVATE(ns(nfrom(ns(X''''''))))
ACTIVATE(ns(ns(nfrom(nfrom(X''''''))))) -> ACTIVATE(ns(nfrom(nfrom(X''''''))))
ACTIVATE(ncons(ns(ns(X'''')), X2)) -> ACTIVATE(ns(ns(X'''')))
ACTIVATE(nfrom(ncons(ns(ns(X'''''')), X2'''))) -> ACTIVATE(ncons(ns(ns(X'''''')), X2'''))
ACTIVATE(ncons(nfrom(ncons(X1'''', X2'''')), X2)) -> ACTIVATE(nfrom(ncons(X1'''', X2'''')))
ACTIVATE(nfrom(ncons(nfrom(ncons(X1'''''', X2'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(ncons(X1'''''', X2'''''')), X2'''))
ACTIVATE(nfrom(ncons(nfrom(ns(X'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(ns(X'''''')), X2'''))
ACTIVATE(nfrom(ncons(nfrom(nfrom(X'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(nfrom(X'''''')), X2'''))
ACTIVATE(nfrom(ncons(ncons(X1'''', X2'''''), X2''''))) -> ACTIVATE(ncons(ncons(X1'''', X2'''''), X2''''))
ACTIVATE(nfrom(nfrom(ncons(X1'''', X2'''')))) -> ACTIVATE(nfrom(ncons(X1'''', X2'''')))
ACTIVATE(ns(nfrom(nfrom(X'''')))) -> ACTIVATE(nfrom(nfrom(X'''')))
ACTIVATE(nfrom(ns(nfrom(nfrom(X''''''))))) -> ACTIVATE(ns(nfrom(nfrom(X''''''))))
ACTIVATE(ncons(nfrom(ns(X'''')), X2)) -> ACTIVATE(nfrom(ns(X'''')))
ACTIVATE(ns(ncons(nfrom(ns(X'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(ns(X'''''')), X2'''))
ACTIVATE(ns(ncons(nfrom(nfrom(X'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(nfrom(X'''''')), X2'''))
ACTIVATE(nfrom(ns(ncons(X1'''', X2'''')))) -> ACTIVATE(ns(ncons(X1'''', X2'''')))
ACTIVATE(nfrom(nfrom(ns(X'''')))) -> ACTIVATE(nfrom(ns(X'''')))
ACTIVATE(nfrom(nfrom(nfrom(X'''')))) -> ACTIVATE(nfrom(nfrom(X'''')))
ACTIVATE(ncons(nfrom(nfrom(X'''')), X2)) -> ACTIVATE(nfrom(nfrom(X'''')))
ACTIVATE(ncons(ncons(X1'', X2''), X2)) -> ACTIVATE(ncons(X1'', X2''))
ACTIVATE(ns(ncons(ncons(X1'''', X2'''''), X2''''))) -> ACTIVATE(ncons(ncons(X1'''', X2'''''), X2''''))
ACTIVATE(ns(ns(ncons(X1'''', X2'''')))) -> ACTIVATE(ns(ncons(X1'''', X2'''')))
ACTIVATE(ns(ns(ns(X'''')))) -> ACTIVATE(ns(ns(X'''')))
ACTIVATE(nfrom(ns(ns(X'''')))) -> ACTIVATE(ns(ns(X'''')))
ACTIVATE(ns(nfrom(ns(X'''')))) -> ACTIVATE(nfrom(ns(X'''')))
ACTIVATE(ncons(ns(nfrom(ns(X''''''))), X2)) -> ACTIVATE(ns(nfrom(ns(X''''''))))
from(X) -> cons(X, nfrom(ns(X)))
from(X) -> nfrom(X)
2ndspos(0, Z) -> rnil
2ndspos(s(N), cons(X, ncons(Y, Z))) -> rcons(posrecip(activate(Y)), 2ndsneg(N, activate(Z)))
2ndsneg(0, Z) -> rnil
2ndsneg(s(N), cons(X, ncons(Y, Z))) -> rcons(negrecip(activate(Y)), 2ndspos(N, activate(Z)))
pi(X) -> 2ndspos(X, from(0))
plus(0, Y) -> Y
plus(s(X), Y) -> s(plus(X, Y))
times(0, Y) -> 0
times(s(X), Y) -> plus(Y, times(X, Y))
square(X) -> times(X, X)
s(X) -> ns(X)
cons(X1, X2) -> ncons(X1, X2)
activate(nfrom(X)) -> from(activate(X))
activate(ns(X)) -> s(activate(X))
activate(ncons(X1, X2)) -> cons(activate(X1), X2)
activate(X) -> X
innermost
three new Dependency Pairs are created:
ACTIVATE(ns(nfrom(nfrom(X'''')))) -> ACTIVATE(nfrom(nfrom(X'''')))
ACTIVATE(ns(nfrom(nfrom(nfrom(X''''''))))) -> ACTIVATE(nfrom(nfrom(nfrom(X''''''))))
ACTIVATE(ns(nfrom(nfrom(ns(X''''''))))) -> ACTIVATE(nfrom(nfrom(ns(X''''''))))
ACTIVATE(ns(nfrom(nfrom(ncons(X1'''''', X2''''''))))) -> ACTIVATE(nfrom(nfrom(ncons(X1'''''', X2''''''))))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳FwdInst
...
→DP Problem 10
↳Forward Instantiation Transformation
ACTIVATE(ns(ns(nfrom(ncons(X1'''''', X2''''''))))) -> ACTIVATE(ns(nfrom(ncons(X1'''''', X2''''''))))
ACTIVATE(ns(ns(nfrom(ns(X''''''))))) -> ACTIVATE(ns(nfrom(ns(X''''''))))
ACTIVATE(nfrom(ncons(ns(nfrom(ncons(X1'''''''', X2''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(ncons(X1'''''''', X2''''''''))), X2'''))
ACTIVATE(nfrom(ncons(ns(nfrom(ns(X''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(ns(X''''''''))), X2'''))
ACTIVATE(nfrom(ncons(ns(nfrom(nfrom(X''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(nfrom(X''''''''))), X2'''))
ACTIVATE(ncons(ns(nfrom(ncons(X1'''''', X2''''''))), X2)) -> ACTIVATE(ns(nfrom(ncons(X1'''''', X2''''''))))
ACTIVATE(ns(ncons(ns(nfrom(ncons(X1'''''''', X2''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(ncons(X1'''''''', X2''''''''))), X2'''))
ACTIVATE(nfrom(ns(nfrom(ns(X''''''))))) -> ACTIVATE(ns(nfrom(ns(X''''''))))
ACTIVATE(nfrom(ns(nfrom(nfrom(X''''''))))) -> ACTIVATE(ns(nfrom(nfrom(X''''''))))
ACTIVATE(ns(nfrom(ns(X'''')))) -> ACTIVATE(nfrom(ns(X'''')))
ACTIVATE(ncons(ns(nfrom(ns(X''''''))), X2)) -> ACTIVATE(ns(nfrom(ns(X''''''))))
ACTIVATE(ns(ncons(ns(nfrom(ns(X''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(ns(X''''''''))), X2'''))
ACTIVATE(ncons(ns(nfrom(nfrom(X''''''))), X2)) -> ACTIVATE(ns(nfrom(nfrom(X''''''))))
ACTIVATE(ns(ncons(ns(nfrom(nfrom(X''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(nfrom(X''''''''))), X2'''))
ACTIVATE(ns(ncons(ns(ncons(X1'''''', X2'''''')), X2'''))) -> ACTIVATE(ncons(ns(ncons(X1'''''', X2'''''')), X2'''))
ACTIVATE(ns(ncons(ns(ns(X'''''')), X2'''))) -> ACTIVATE(ncons(ns(ns(X'''''')), X2'''))
ACTIVATE(ncons(ns(ncons(X1'''', X2'''')), X2)) -> ACTIVATE(ns(ncons(X1'''', X2'''')))
ACTIVATE(nfrom(ncons(ns(ncons(X1'''''', X2'''''')), X2'''))) -> ACTIVATE(ncons(ns(ncons(X1'''''', X2'''''')), X2'''))
ACTIVATE(nfrom(nfrom(ncons(X1'''', X2'''')))) -> ACTIVATE(nfrom(ncons(X1'''', X2'''')))
ACTIVATE(ns(nfrom(nfrom(ncons(X1'''''', X2''''''))))) -> ACTIVATE(nfrom(nfrom(ncons(X1'''''', X2''''''))))
ACTIVATE(ns(nfrom(nfrom(ns(X''''''))))) -> ACTIVATE(nfrom(nfrom(ns(X''''''))))
ACTIVATE(ns(nfrom(nfrom(nfrom(X''''''))))) -> ACTIVATE(nfrom(nfrom(nfrom(X''''''))))
ACTIVATE(ns(ns(nfrom(nfrom(X''''''))))) -> ACTIVATE(ns(nfrom(nfrom(X''''''))))
ACTIVATE(ncons(ns(ns(X'''')), X2)) -> ACTIVATE(ns(ns(X'''')))
ACTIVATE(nfrom(ncons(ns(ns(X'''''')), X2'''))) -> ACTIVATE(ncons(ns(ns(X'''''')), X2'''))
ACTIVATE(nfrom(ncons(nfrom(ncons(X1'''''', X2'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(ncons(X1'''''', X2'''''')), X2'''))
ACTIVATE(nfrom(ncons(nfrom(ns(X'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(ns(X'''''')), X2'''))
ACTIVATE(nfrom(ncons(nfrom(nfrom(X'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(nfrom(X'''''')), X2'''))
ACTIVATE(ncons(nfrom(ncons(X1'''', X2'''')), X2)) -> ACTIVATE(nfrom(ncons(X1'''', X2'''')))
ACTIVATE(ns(ncons(nfrom(ncons(X1'''''', X2'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(ncons(X1'''''', X2'''''')), X2'''))
ACTIVATE(nfrom(ns(ncons(X1'''', X2'''')))) -> ACTIVATE(ns(ncons(X1'''', X2'''')))
ACTIVATE(ncons(nfrom(ns(X'''')), X2)) -> ACTIVATE(nfrom(ns(X'''')))
ACTIVATE(ns(ncons(nfrom(ns(X'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(ns(X'''''')), X2'''))
ACTIVATE(ns(ncons(nfrom(nfrom(X'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(nfrom(X'''''')), X2'''))
ACTIVATE(ns(ncons(ncons(X1'''', X2'''''), X2''''))) -> ACTIVATE(ncons(ncons(X1'''', X2'''''), X2''''))
ACTIVATE(ns(ns(ncons(X1'''', X2'''')))) -> ACTIVATE(ns(ncons(X1'''', X2'''')))
ACTIVATE(ns(ns(ns(X'''')))) -> ACTIVATE(ns(ns(X'''')))
ACTIVATE(nfrom(ns(ns(X'''')))) -> ACTIVATE(ns(ns(X'''')))
ACTIVATE(nfrom(nfrom(ns(X'''')))) -> ACTIVATE(nfrom(ns(X'''')))
ACTIVATE(nfrom(nfrom(nfrom(X'''')))) -> ACTIVATE(nfrom(nfrom(X'''')))
ACTIVATE(ncons(nfrom(nfrom(X'''')), X2)) -> ACTIVATE(nfrom(nfrom(X'''')))
ACTIVATE(ncons(ncons(X1'', X2''), X2)) -> ACTIVATE(ncons(X1'', X2''))
ACTIVATE(nfrom(ncons(ncons(X1'''', X2'''''), X2''''))) -> ACTIVATE(ncons(ncons(X1'''', X2'''''), X2''''))
ACTIVATE(ns(nfrom(ncons(X1'''', X2'''')))) -> ACTIVATE(nfrom(ncons(X1'''', X2'''')))
ACTIVATE(nfrom(ns(nfrom(ncons(X1'''''', X2''''''))))) -> ACTIVATE(ns(nfrom(ncons(X1'''''', X2''''''))))
from(X) -> cons(X, nfrom(ns(X)))
from(X) -> nfrom(X)
2ndspos(0, Z) -> rnil
2ndspos(s(N), cons(X, ncons(Y, Z))) -> rcons(posrecip(activate(Y)), 2ndsneg(N, activate(Z)))
2ndsneg(0, Z) -> rnil
2ndsneg(s(N), cons(X, ncons(Y, Z))) -> rcons(negrecip(activate(Y)), 2ndspos(N, activate(Z)))
pi(X) -> 2ndspos(X, from(0))
plus(0, Y) -> Y
plus(s(X), Y) -> s(plus(X, Y))
times(0, Y) -> 0
times(s(X), Y) -> plus(Y, times(X, Y))
square(X) -> times(X, X)
s(X) -> ns(X)
cons(X1, X2) -> ncons(X1, X2)
activate(nfrom(X)) -> from(activate(X))
activate(ns(X)) -> s(activate(X))
activate(ncons(X1, X2)) -> cons(activate(X1), X2)
activate(X) -> X
innermost
five new Dependency Pairs are created:
ACTIVATE(ns(nfrom(ns(X'''')))) -> ACTIVATE(nfrom(ns(X'''')))
ACTIVATE(ns(nfrom(ns(ns(X''''''))))) -> ACTIVATE(nfrom(ns(ns(X''''''))))
ACTIVATE(ns(nfrom(ns(ncons(X1'''''', X2''''''))))) -> ACTIVATE(nfrom(ns(ncons(X1'''''', X2''''''))))
ACTIVATE(ns(nfrom(ns(nfrom(nfrom(X'''''''')))))) -> ACTIVATE(nfrom(ns(nfrom(nfrom(X'''''''')))))
ACTIVATE(ns(nfrom(ns(nfrom(ns(X'''''''')))))) -> ACTIVATE(nfrom(ns(nfrom(ns(X'''''''')))))
ACTIVATE(ns(nfrom(ns(nfrom(ncons(X1'''''''', X2'''''''')))))) -> ACTIVATE(nfrom(ns(nfrom(ncons(X1'''''''', X2'''''''')))))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳FwdInst
...
→DP Problem 11
↳Forward Instantiation Transformation
ACTIVATE(ns(ns(nfrom(ns(X''''''))))) -> ACTIVATE(ns(nfrom(ns(X''''''))))
ACTIVATE(nfrom(ncons(ns(nfrom(ncons(X1'''''''', X2''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(ncons(X1'''''''', X2''''''''))), X2'''))
ACTIVATE(nfrom(ncons(ns(nfrom(ns(X''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(ns(X''''''''))), X2'''))
ACTIVATE(nfrom(ncons(ns(nfrom(nfrom(X''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(nfrom(X''''''''))), X2'''))
ACTIVATE(ncons(ns(nfrom(ncons(X1'''''', X2''''''))), X2)) -> ACTIVATE(ns(nfrom(ncons(X1'''''', X2''''''))))
ACTIVATE(ns(ncons(ns(nfrom(ncons(X1'''''''', X2''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(ncons(X1'''''''', X2''''''''))), X2'''))
ACTIVATE(nfrom(ns(nfrom(ncons(X1'''''', X2''''''))))) -> ACTIVATE(ns(nfrom(ncons(X1'''''', X2''''''))))
ACTIVATE(ns(nfrom(ns(nfrom(ncons(X1'''''''', X2'''''''')))))) -> ACTIVATE(nfrom(ns(nfrom(ncons(X1'''''''', X2'''''''')))))
ACTIVATE(nfrom(ns(nfrom(ns(X''''''))))) -> ACTIVATE(ns(nfrom(ns(X''''''))))
ACTIVATE(ns(nfrom(ns(nfrom(ns(X'''''''')))))) -> ACTIVATE(nfrom(ns(nfrom(ns(X'''''''')))))
ACTIVATE(nfrom(ns(nfrom(nfrom(X''''''))))) -> ACTIVATE(ns(nfrom(nfrom(X''''''))))
ACTIVATE(ns(nfrom(ns(nfrom(nfrom(X'''''''')))))) -> ACTIVATE(nfrom(ns(nfrom(nfrom(X'''''''')))))
ACTIVATE(ns(nfrom(ns(ncons(X1'''''', X2''''''))))) -> ACTIVATE(nfrom(ns(ncons(X1'''''', X2''''''))))
ACTIVATE(ns(nfrom(ns(ns(X''''''))))) -> ACTIVATE(nfrom(ns(ns(X''''''))))
ACTIVATE(ncons(ns(nfrom(ns(X''''''))), X2)) -> ACTIVATE(ns(nfrom(ns(X''''''))))
ACTIVATE(ns(ncons(ns(nfrom(ns(X''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(ns(X''''''''))), X2'''))
ACTIVATE(ncons(ns(nfrom(nfrom(X''''''))), X2)) -> ACTIVATE(ns(nfrom(nfrom(X''''''))))
ACTIVATE(ns(ncons(ns(nfrom(nfrom(X''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(nfrom(X''''''''))), X2'''))
ACTIVATE(ns(ncons(ns(ncons(X1'''''', X2'''''')), X2'''))) -> ACTIVATE(ncons(ns(ncons(X1'''''', X2'''''')), X2'''))
ACTIVATE(ns(ncons(ns(ns(X'''''')), X2'''))) -> ACTIVATE(ncons(ns(ns(X'''''')), X2'''))
ACTIVATE(ncons(ns(ncons(X1'''', X2'''')), X2)) -> ACTIVATE(ns(ncons(X1'''', X2'''')))
ACTIVATE(nfrom(ncons(ns(ncons(X1'''''', X2'''''')), X2'''))) -> ACTIVATE(ncons(ns(ncons(X1'''''', X2'''''')), X2'''))
ACTIVATE(nfrom(nfrom(ncons(X1'''', X2'''')))) -> ACTIVATE(nfrom(ncons(X1'''', X2'''')))
ACTIVATE(ns(nfrom(nfrom(ncons(X1'''''', X2''''''))))) -> ACTIVATE(nfrom(nfrom(ncons(X1'''''', X2''''''))))
ACTIVATE(ns(nfrom(nfrom(ns(X''''''))))) -> ACTIVATE(nfrom(nfrom(ns(X''''''))))
ACTIVATE(ns(nfrom(nfrom(nfrom(X''''''))))) -> ACTIVATE(nfrom(nfrom(nfrom(X''''''))))
ACTIVATE(ns(ns(nfrom(nfrom(X''''''))))) -> ACTIVATE(ns(nfrom(nfrom(X''''''))))
ACTIVATE(ncons(ns(ns(X'''')), X2)) -> ACTIVATE(ns(ns(X'''')))
ACTIVATE(nfrom(ncons(ns(ns(X'''''')), X2'''))) -> ACTIVATE(ncons(ns(ns(X'''''')), X2'''))
ACTIVATE(nfrom(ncons(nfrom(ncons(X1'''''', X2'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(ncons(X1'''''', X2'''''')), X2'''))
ACTIVATE(nfrom(ncons(nfrom(ns(X'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(ns(X'''''')), X2'''))
ACTIVATE(nfrom(ncons(nfrom(nfrom(X'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(nfrom(X'''''')), X2'''))
ACTIVATE(ncons(nfrom(ncons(X1'''', X2'''')), X2)) -> ACTIVATE(nfrom(ncons(X1'''', X2'''')))
ACTIVATE(ns(ncons(nfrom(ncons(X1'''''', X2'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(ncons(X1'''''', X2'''''')), X2'''))
ACTIVATE(nfrom(ns(ncons(X1'''', X2'''')))) -> ACTIVATE(ns(ncons(X1'''', X2'''')))
ACTIVATE(ncons(nfrom(ns(X'''')), X2)) -> ACTIVATE(nfrom(ns(X'''')))
ACTIVATE(ns(ncons(nfrom(ns(X'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(ns(X'''''')), X2'''))
ACTIVATE(ns(ncons(nfrom(nfrom(X'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(nfrom(X'''''')), X2'''))
ACTIVATE(ns(ncons(ncons(X1'''', X2'''''), X2''''))) -> ACTIVATE(ncons(ncons(X1'''', X2'''''), X2''''))
ACTIVATE(ns(ns(ncons(X1'''', X2'''')))) -> ACTIVATE(ns(ncons(X1'''', X2'''')))
ACTIVATE(ns(ns(ns(X'''')))) -> ACTIVATE(ns(ns(X'''')))
ACTIVATE(nfrom(ns(ns(X'''')))) -> ACTIVATE(ns(ns(X'''')))
ACTIVATE(nfrom(nfrom(ns(X'''')))) -> ACTIVATE(nfrom(ns(X'''')))
ACTIVATE(nfrom(nfrom(nfrom(X'''')))) -> ACTIVATE(nfrom(nfrom(X'''')))
ACTIVATE(ncons(nfrom(nfrom(X'''')), X2)) -> ACTIVATE(nfrom(nfrom(X'''')))
ACTIVATE(ncons(ncons(X1'', X2''), X2)) -> ACTIVATE(ncons(X1'', X2''))
ACTIVATE(nfrom(ncons(ncons(X1'''', X2'''''), X2''''))) -> ACTIVATE(ncons(ncons(X1'''', X2'''''), X2''''))
ACTIVATE(ns(nfrom(ncons(X1'''', X2'''')))) -> ACTIVATE(nfrom(ncons(X1'''', X2'''')))
ACTIVATE(ns(ns(nfrom(ncons(X1'''''', X2''''''))))) -> ACTIVATE(ns(nfrom(ncons(X1'''''', X2''''''))))
from(X) -> cons(X, nfrom(ns(X)))
from(X) -> nfrom(X)
2ndspos(0, Z) -> rnil
2ndspos(s(N), cons(X, ncons(Y, Z))) -> rcons(posrecip(activate(Y)), 2ndsneg(N, activate(Z)))
2ndsneg(0, Z) -> rnil
2ndsneg(s(N), cons(X, ncons(Y, Z))) -> rcons(negrecip(activate(Y)), 2ndspos(N, activate(Z)))
pi(X) -> 2ndspos(X, from(0))
plus(0, Y) -> Y
plus(s(X), Y) -> s(plus(X, Y))
times(0, Y) -> 0
times(s(X), Y) -> plus(Y, times(X, Y))
square(X) -> times(X, X)
s(X) -> ns(X)
cons(X1, X2) -> ncons(X1, X2)
activate(nfrom(X)) -> from(activate(X))
activate(ns(X)) -> s(activate(X))
activate(ncons(X1, X2)) -> cons(activate(X1), X2)
activate(X) -> X
innermost
nine new Dependency Pairs are created:
ACTIVATE(ns(nfrom(ncons(X1'''', X2'''')))) -> ACTIVATE(nfrom(ncons(X1'''', X2'''')))
ACTIVATE(ns(nfrom(ncons(ncons(X1'''''', X2'''''''), X2''''')))) -> ACTIVATE(nfrom(ncons(ncons(X1'''''', X2'''''''), X2''''')))
ACTIVATE(ns(nfrom(ncons(nfrom(nfrom(X'''''''')), X2'''''')))) -> ACTIVATE(nfrom(ncons(nfrom(nfrom(X'''''''')), X2'''''')))
ACTIVATE(ns(nfrom(ncons(nfrom(ns(X'''''''')), X2'''''')))) -> ACTIVATE(nfrom(ncons(nfrom(ns(X'''''''')), X2'''''')))
ACTIVATE(ns(nfrom(ncons(nfrom(ncons(X1'''''''', X2'''''''')), X2'''''')))) -> ACTIVATE(nfrom(ncons(nfrom(ncons(X1'''''''', X2'''''''')), X2'''''')))
ACTIVATE(ns(nfrom(ncons(ns(ns(X'''''''')), X2'''''')))) -> ACTIVATE(nfrom(ncons(ns(ns(X'''''''')), X2'''''')))
ACTIVATE(ns(nfrom(ncons(ns(ncons(X1'''''''', X2'''''''')), X2'''''')))) -> ACTIVATE(nfrom(ncons(ns(ncons(X1'''''''', X2'''''''')), X2'''''')))
ACTIVATE(ns(nfrom(ncons(ns(nfrom(nfrom(X''''''''''))), X2'''''')))) -> ACTIVATE(nfrom(ncons(ns(nfrom(nfrom(X''''''''''))), X2'''''')))
ACTIVATE(ns(nfrom(ncons(ns(nfrom(ns(X''''''''''))), X2'''''')))) -> ACTIVATE(nfrom(ncons(ns(nfrom(ns(X''''''''''))), X2'''''')))
ACTIVATE(ns(nfrom(ncons(ns(nfrom(ncons(X1'''''''''', X2''''''''''))), X2'''''')))) -> ACTIVATE(nfrom(ncons(ns(nfrom(ncons(X1'''''''''', X2''''''''''))), X2'''''')))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳FwdInst
...
→DP Problem 12
↳Forward Instantiation Transformation
ACTIVATE(ns(ncons(ns(nfrom(ncons(X1'''''''', X2''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(ncons(X1'''''''', X2''''''''))), X2'''))
ACTIVATE(ncons(ns(nfrom(ncons(X1'''''', X2''''''))), X2)) -> ACTIVATE(ns(nfrom(ncons(X1'''''', X2''''''))))
ACTIVATE(nfrom(ncons(ns(nfrom(ncons(X1'''''''', X2''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(ncons(X1'''''''', X2''''''''))), X2'''))
ACTIVATE(ns(nfrom(ncons(ns(nfrom(ncons(X1'''''''''', X2''''''''''))), X2'''''')))) -> ACTIVATE(nfrom(ncons(ns(nfrom(ncons(X1'''''''''', X2''''''''''))), X2'''''')))
ACTIVATE(nfrom(ncons(ns(nfrom(ns(X''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(ns(X''''''''))), X2'''))
ACTIVATE(ns(nfrom(ncons(ns(nfrom(ns(X''''''''''))), X2'''''')))) -> ACTIVATE(nfrom(ncons(ns(nfrom(ns(X''''''''''))), X2'''''')))
ACTIVATE(nfrom(ncons(ns(nfrom(nfrom(X''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(nfrom(X''''''''))), X2'''))
ACTIVATE(ns(nfrom(ncons(ns(nfrom(nfrom(X''''''''''))), X2'''''')))) -> ACTIVATE(nfrom(ncons(ns(nfrom(nfrom(X''''''''''))), X2'''''')))
ACTIVATE(nfrom(ns(nfrom(ncons(X1'''''', X2''''''))))) -> ACTIVATE(ns(nfrom(ncons(X1'''''', X2''''''))))
ACTIVATE(ns(nfrom(ns(nfrom(ncons(X1'''''''', X2'''''''')))))) -> ACTIVATE(nfrom(ns(nfrom(ncons(X1'''''''', X2'''''''')))))
ACTIVATE(nfrom(ns(nfrom(ns(X''''''))))) -> ACTIVATE(ns(nfrom(ns(X''''''))))
ACTIVATE(ns(nfrom(ns(nfrom(ns(X'''''''')))))) -> ACTIVATE(nfrom(ns(nfrom(ns(X'''''''')))))
ACTIVATE(ns(nfrom(ns(nfrom(nfrom(X'''''''')))))) -> ACTIVATE(nfrom(ns(nfrom(nfrom(X'''''''')))))
ACTIVATE(ns(nfrom(ns(ncons(X1'''''', X2''''''))))) -> ACTIVATE(nfrom(ns(ncons(X1'''''', X2''''''))))
ACTIVATE(ncons(ns(nfrom(ns(X''''''))), X2)) -> ACTIVATE(ns(nfrom(ns(X''''''))))
ACTIVATE(ns(ncons(ns(nfrom(ns(X''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(ns(X''''''''))), X2'''))
ACTIVATE(ncons(ns(nfrom(nfrom(X''''''))), X2)) -> ACTIVATE(ns(nfrom(nfrom(X''''''))))
ACTIVATE(ns(ncons(ns(nfrom(nfrom(X''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(nfrom(X''''''''))), X2'''))
ACTIVATE(ns(ncons(ns(ncons(X1'''''', X2'''''')), X2'''))) -> ACTIVATE(ncons(ns(ncons(X1'''''', X2'''''')), X2'''))
ACTIVATE(ns(ncons(ns(ns(X'''''')), X2'''))) -> ACTIVATE(ncons(ns(ns(X'''''')), X2'''))
ACTIVATE(ns(ncons(nfrom(ncons(X1'''''', X2'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(ncons(X1'''''', X2'''''')), X2'''))
ACTIVATE(ncons(ns(ncons(X1'''', X2'''')), X2)) -> ACTIVATE(ns(ncons(X1'''', X2'''')))
ACTIVATE(nfrom(ncons(ns(ncons(X1'''''', X2'''''')), X2'''))) -> ACTIVATE(ncons(ns(ncons(X1'''''', X2'''''')), X2'''))
ACTIVATE(ns(nfrom(ncons(ns(ncons(X1'''''''', X2'''''''')), X2'''''')))) -> ACTIVATE(nfrom(ncons(ns(ncons(X1'''''''', X2'''''''')), X2'''''')))
ACTIVATE(ns(nfrom(ncons(ns(ns(X'''''''')), X2'''''')))) -> ACTIVATE(nfrom(ncons(ns(ns(X'''''''')), X2'''''')))
ACTIVATE(ns(nfrom(ncons(nfrom(ncons(X1'''''''', X2'''''''')), X2'''''')))) -> ACTIVATE(nfrom(ncons(nfrom(ncons(X1'''''''', X2'''''''')), X2'''''')))
ACTIVATE(ns(nfrom(ncons(nfrom(ns(X'''''''')), X2'''''')))) -> ACTIVATE(nfrom(ncons(nfrom(ns(X'''''''')), X2'''''')))
ACTIVATE(ns(nfrom(ncons(nfrom(nfrom(X'''''''')), X2'''''')))) -> ACTIVATE(nfrom(ncons(nfrom(nfrom(X'''''''')), X2'''''')))
ACTIVATE(ns(nfrom(ncons(ncons(X1'''''', X2'''''''), X2''''')))) -> ACTIVATE(nfrom(ncons(ncons(X1'''''', X2'''''''), X2''''')))
ACTIVATE(ns(ns(nfrom(ncons(X1'''''', X2''''''))))) -> ACTIVATE(ns(nfrom(ncons(X1'''''', X2''''''))))
ACTIVATE(ns(ns(nfrom(nfrom(X''''''))))) -> ACTIVATE(ns(nfrom(nfrom(X''''''))))
ACTIVATE(ncons(ns(ns(X'''')), X2)) -> ACTIVATE(ns(ns(X'''')))
ACTIVATE(nfrom(ncons(ns(ns(X'''''')), X2'''))) -> ACTIVATE(ncons(ns(ns(X'''''')), X2'''))
ACTIVATE(ncons(nfrom(ncons(X1'''', X2'''')), X2)) -> ACTIVATE(nfrom(ncons(X1'''', X2'''')))
ACTIVATE(nfrom(ncons(nfrom(ncons(X1'''''', X2'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(ncons(X1'''''', X2'''''')), X2'''))
ACTIVATE(nfrom(ncons(nfrom(ns(X'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(ns(X'''''')), X2'''))
ACTIVATE(nfrom(ncons(nfrom(nfrom(X'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(nfrom(X'''''')), X2'''))
ACTIVATE(nfrom(ncons(ncons(X1'''', X2'''''), X2''''))) -> ACTIVATE(ncons(ncons(X1'''', X2'''''), X2''''))
ACTIVATE(nfrom(nfrom(ncons(X1'''', X2'''')))) -> ACTIVATE(nfrom(ncons(X1'''', X2'''')))
ACTIVATE(ns(nfrom(nfrom(ncons(X1'''''', X2''''''))))) -> ACTIVATE(nfrom(nfrom(ncons(X1'''''', X2''''''))))
ACTIVATE(ns(nfrom(nfrom(ns(X''''''))))) -> ACTIVATE(nfrom(nfrom(ns(X''''''))))
ACTIVATE(ns(nfrom(nfrom(nfrom(X''''''))))) -> ACTIVATE(nfrom(nfrom(nfrom(X''''''))))
ACTIVATE(nfrom(ns(nfrom(nfrom(X''''''))))) -> ACTIVATE(ns(nfrom(nfrom(X''''''))))
ACTIVATE(ncons(nfrom(ns(X'''')), X2)) -> ACTIVATE(nfrom(ns(X'''')))
ACTIVATE(ns(ncons(nfrom(ns(X'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(ns(X'''''')), X2'''))
ACTIVATE(ns(ncons(nfrom(nfrom(X'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(nfrom(X'''''')), X2'''))
ACTIVATE(nfrom(ns(ncons(X1'''', X2'''')))) -> ACTIVATE(ns(ncons(X1'''', X2'''')))
ACTIVATE(nfrom(nfrom(ns(X'''')))) -> ACTIVATE(nfrom(ns(X'''')))
ACTIVATE(nfrom(nfrom(nfrom(X'''')))) -> ACTIVATE(nfrom(nfrom(X'''')))
ACTIVATE(ncons(nfrom(nfrom(X'''')), X2)) -> ACTIVATE(nfrom(nfrom(X'''')))
ACTIVATE(ncons(ncons(X1'', X2''), X2)) -> ACTIVATE(ncons(X1'', X2''))
ACTIVATE(ns(ncons(ncons(X1'''', X2'''''), X2''''))) -> ACTIVATE(ncons(ncons(X1'''', X2'''''), X2''''))
ACTIVATE(ns(ns(ncons(X1'''', X2'''')))) -> ACTIVATE(ns(ncons(X1'''', X2'''')))
ACTIVATE(ns(ns(ns(X'''')))) -> ACTIVATE(ns(ns(X'''')))
ACTIVATE(nfrom(ns(ns(X'''')))) -> ACTIVATE(ns(ns(X'''')))
ACTIVATE(ns(nfrom(ns(ns(X''''''))))) -> ACTIVATE(nfrom(ns(ns(X''''''))))
ACTIVATE(ns(ns(nfrom(ns(X''''''))))) -> ACTIVATE(ns(nfrom(ns(X''''''))))
from(X) -> cons(X, nfrom(ns(X)))
from(X) -> nfrom(X)
2ndspos(0, Z) -> rnil
2ndspos(s(N), cons(X, ncons(Y, Z))) -> rcons(posrecip(activate(Y)), 2ndsneg(N, activate(Z)))
2ndsneg(0, Z) -> rnil
2ndsneg(s(N), cons(X, ncons(Y, Z))) -> rcons(negrecip(activate(Y)), 2ndspos(N, activate(Z)))
pi(X) -> 2ndspos(X, from(0))
plus(0, Y) -> Y
plus(s(X), Y) -> s(plus(X, Y))
times(0, Y) -> 0
times(s(X), Y) -> plus(Y, times(X, Y))
square(X) -> times(X, X)
s(X) -> ns(X)
cons(X1, X2) -> ncons(X1, X2)
activate(nfrom(X)) -> from(activate(X))
activate(ns(X)) -> s(activate(X))
activate(ncons(X1, X2)) -> cons(activate(X1), X2)
activate(X) -> X
innermost
nine new Dependency Pairs are created:
ACTIVATE(ncons(ncons(X1'', X2''), X2)) -> ACTIVATE(ncons(X1'', X2''))
ACTIVATE(ncons(ncons(ncons(X1'''', X2'''''), X2''''), X2)) -> ACTIVATE(ncons(ncons(X1'''', X2'''''), X2''''))
ACTIVATE(ncons(ncons(nfrom(nfrom(X'''''')), X2'''), X2)) -> ACTIVATE(ncons(nfrom(nfrom(X'''''')), X2'''))
ACTIVATE(ncons(ncons(nfrom(ns(X'''''')), X2'''), X2)) -> ACTIVATE(ncons(nfrom(ns(X'''''')), X2'''))
ACTIVATE(ncons(ncons(nfrom(ncons(X1'''''', X2'''''')), X2'''), X2)) -> ACTIVATE(ncons(nfrom(ncons(X1'''''', X2'''''')), X2'''))
ACTIVATE(ncons(ncons(ns(ns(X'''''')), X2'''), X2)) -> ACTIVATE(ncons(ns(ns(X'''''')), X2'''))
ACTIVATE(ncons(ncons(ns(ncons(X1'''''', X2'''''')), X2'''), X2)) -> ACTIVATE(ncons(ns(ncons(X1'''''', X2'''''')), X2'''))
ACTIVATE(ncons(ncons(ns(nfrom(nfrom(X''''''''))), X2'''), X2)) -> ACTIVATE(ncons(ns(nfrom(nfrom(X''''''''))), X2'''))
ACTIVATE(ncons(ncons(ns(nfrom(ns(X''''''''))), X2'''), X2)) -> ACTIVATE(ncons(ns(nfrom(ns(X''''''''))), X2'''))
ACTIVATE(ncons(ncons(ns(nfrom(ncons(X1'''''''', X2''''''''))), X2'''), X2)) -> ACTIVATE(ncons(ns(nfrom(ncons(X1'''''''', X2''''''''))), X2'''))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳FwdInst
...
→DP Problem 13
↳Forward Instantiation Transformation
ACTIVATE(ncons(ncons(ns(nfrom(ncons(X1'''''''', X2''''''''))), X2'''), X2)) -> ACTIVATE(ncons(ns(nfrom(ncons(X1'''''''', X2''''''''))), X2'''))
ACTIVATE(ncons(ncons(ns(nfrom(ns(X''''''''))), X2'''), X2)) -> ACTIVATE(ncons(ns(nfrom(ns(X''''''''))), X2'''))
ACTIVATE(ncons(ncons(ns(nfrom(nfrom(X''''''''))), X2'''), X2)) -> ACTIVATE(ncons(ns(nfrom(nfrom(X''''''''))), X2'''))
ACTIVATE(ncons(ncons(ns(ncons(X1'''''', X2'''''')), X2'''), X2)) -> ACTIVATE(ncons(ns(ncons(X1'''''', X2'''''')), X2'''))
ACTIVATE(ncons(ncons(ns(ns(X'''''')), X2'''), X2)) -> ACTIVATE(ncons(ns(ns(X'''''')), X2'''))
ACTIVATE(ncons(ncons(nfrom(ncons(X1'''''', X2'''''')), X2'''), X2)) -> ACTIVATE(ncons(nfrom(ncons(X1'''''', X2'''''')), X2'''))
ACTIVATE(ns(ns(nfrom(ncons(X1'''''', X2''''''))))) -> ACTIVATE(ns(nfrom(ncons(X1'''''', X2''''''))))
ACTIVATE(ns(ns(nfrom(ns(X''''''))))) -> ACTIVATE(ns(nfrom(ns(X''''''))))
ACTIVATE(nfrom(ncons(ns(nfrom(ncons(X1'''''''', X2''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(ncons(X1'''''''', X2''''''''))), X2'''))
ACTIVATE(ns(nfrom(ncons(ns(nfrom(ncons(X1'''''''''', X2''''''''''))), X2'''''')))) -> ACTIVATE(nfrom(ncons(ns(nfrom(ncons(X1'''''''''', X2''''''''''))), X2'''''')))
ACTIVATE(nfrom(ncons(ns(nfrom(ns(X''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(ns(X''''''''))), X2'''))
ACTIVATE(ns(nfrom(ncons(ns(nfrom(ns(X''''''''''))), X2'''''')))) -> ACTIVATE(nfrom(ncons(ns(nfrom(ns(X''''''''''))), X2'''''')))
ACTIVATE(nfrom(ncons(ns(nfrom(nfrom(X''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(nfrom(X''''''''))), X2'''))
ACTIVATE(ns(nfrom(ncons(ns(nfrom(nfrom(X''''''''''))), X2'''''')))) -> ACTIVATE(nfrom(ncons(ns(nfrom(nfrom(X''''''''''))), X2'''''')))
ACTIVATE(ns(nfrom(ncons(ns(ncons(X1'''''''', X2'''''''')), X2'''''')))) -> ACTIVATE(nfrom(ncons(ns(ncons(X1'''''''', X2'''''''')), X2'''''')))
ACTIVATE(ns(nfrom(ncons(ns(ns(X'''''''')), X2'''''')))) -> ACTIVATE(nfrom(ncons(ns(ns(X'''''''')), X2'''''')))
ACTIVATE(ns(nfrom(ncons(nfrom(ncons(X1'''''''', X2'''''''')), X2'''''')))) -> ACTIVATE(nfrom(ncons(nfrom(ncons(X1'''''''', X2'''''''')), X2'''''')))
ACTIVATE(ns(nfrom(ncons(nfrom(ns(X'''''''')), X2'''''')))) -> ACTIVATE(nfrom(ncons(nfrom(ns(X'''''''')), X2'''''')))
ACTIVATE(ns(nfrom(ncons(nfrom(nfrom(X'''''''')), X2'''''')))) -> ACTIVATE(nfrom(ncons(nfrom(nfrom(X'''''''')), X2'''''')))
ACTIVATE(nfrom(ns(nfrom(ncons(X1'''''', X2''''''))))) -> ACTIVATE(ns(nfrom(ncons(X1'''''', X2''''''))))
ACTIVATE(ns(nfrom(ns(nfrom(ncons(X1'''''''', X2'''''''')))))) -> ACTIVATE(nfrom(ns(nfrom(ncons(X1'''''''', X2'''''''')))))
ACTIVATE(nfrom(ns(nfrom(ns(X''''''))))) -> ACTIVATE(ns(nfrom(ns(X''''''))))
ACTIVATE(ns(nfrom(ns(nfrom(ns(X'''''''')))))) -> ACTIVATE(nfrom(ns(nfrom(ns(X'''''''')))))
ACTIVATE(nfrom(ns(nfrom(nfrom(X''''''))))) -> ACTIVATE(ns(nfrom(nfrom(X''''''))))
ACTIVATE(ns(nfrom(ns(nfrom(nfrom(X'''''''')))))) -> ACTIVATE(nfrom(ns(nfrom(nfrom(X'''''''')))))
ACTIVATE(ns(nfrom(ns(ncons(X1'''''', X2''''''))))) -> ACTIVATE(nfrom(ns(ncons(X1'''''', X2''''''))))
ACTIVATE(ns(nfrom(ns(ns(X''''''))))) -> ACTIVATE(nfrom(ns(ns(X''''''))))
ACTIVATE(ncons(ns(nfrom(ns(X''''''))), X2)) -> ACTIVATE(ns(nfrom(ns(X''''''))))
ACTIVATE(ns(ncons(ns(nfrom(ns(X''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(ns(X''''''''))), X2'''))
ACTIVATE(ncons(ns(nfrom(nfrom(X''''''))), X2)) -> ACTIVATE(ns(nfrom(nfrom(X''''''))))
ACTIVATE(ns(ncons(ns(nfrom(nfrom(X''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(nfrom(X''''''''))), X2'''))
ACTIVATE(ns(ncons(ns(ncons(X1'''''', X2'''''')), X2'''))) -> ACTIVATE(ncons(ns(ncons(X1'''''', X2'''''')), X2'''))
ACTIVATE(ns(ncons(ns(ns(X'''''')), X2'''))) -> ACTIVATE(ncons(ns(ns(X'''''')), X2'''))
ACTIVATE(ncons(ns(ncons(X1'''', X2'''')), X2)) -> ACTIVATE(ns(ncons(X1'''', X2'''')))
ACTIVATE(nfrom(ncons(ns(ncons(X1'''''', X2'''''')), X2'''))) -> ACTIVATE(ncons(ns(ncons(X1'''''', X2'''''')), X2'''))
ACTIVATE(nfrom(nfrom(ncons(X1'''', X2'''')))) -> ACTIVATE(nfrom(ncons(X1'''', X2'''')))
ACTIVATE(ns(nfrom(nfrom(ncons(X1'''''', X2''''''))))) -> ACTIVATE(nfrom(nfrom(ncons(X1'''''', X2''''''))))
ACTIVATE(ns(nfrom(nfrom(ns(X''''''))))) -> ACTIVATE(nfrom(nfrom(ns(X''''''))))
ACTIVATE(ns(nfrom(nfrom(nfrom(X''''''))))) -> ACTIVATE(nfrom(nfrom(nfrom(X''''''))))
ACTIVATE(ns(ns(nfrom(nfrom(X''''''))))) -> ACTIVATE(ns(nfrom(nfrom(X''''''))))
ACTIVATE(ncons(ns(ns(X'''')), X2)) -> ACTIVATE(ns(ns(X'''')))
ACTIVATE(nfrom(ncons(ns(ns(X'''''')), X2'''))) -> ACTIVATE(ncons(ns(ns(X'''''')), X2'''))
ACTIVATE(nfrom(ncons(nfrom(ncons(X1'''''', X2'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(ncons(X1'''''', X2'''''')), X2'''))
ACTIVATE(nfrom(ncons(nfrom(ns(X'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(ns(X'''''')), X2'''))
ACTIVATE(nfrom(ncons(nfrom(nfrom(X'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(nfrom(X'''''')), X2'''))
ACTIVATE(ncons(nfrom(ncons(X1'''', X2'''')), X2)) -> ACTIVATE(nfrom(ncons(X1'''', X2'''')))
ACTIVATE(ns(ncons(nfrom(ncons(X1'''''', X2'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(ncons(X1'''''', X2'''''')), X2'''))
ACTIVATE(ns(ncons(nfrom(ns(X'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(ns(X'''''')), X2'''))
ACTIVATE(ns(ncons(nfrom(nfrom(X'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(nfrom(X'''''')), X2'''))
ACTIVATE(nfrom(ns(ncons(X1'''', X2'''')))) -> ACTIVATE(ns(ncons(X1'''', X2'''')))
ACTIVATE(ncons(nfrom(ns(X'''')), X2)) -> ACTIVATE(nfrom(ns(X'''')))
ACTIVATE(ncons(ncons(nfrom(ns(X'''''')), X2'''), X2)) -> ACTIVATE(ncons(nfrom(ns(X'''''')), X2'''))
ACTIVATE(ns(ncons(ncons(X1'''', X2'''''), X2''''))) -> ACTIVATE(ncons(ncons(X1'''', X2'''''), X2''''))
ACTIVATE(ns(ns(ncons(X1'''', X2'''')))) -> ACTIVATE(ns(ncons(X1'''', X2'''')))
ACTIVATE(ns(ns(ns(X'''')))) -> ACTIVATE(ns(ns(X'''')))
ACTIVATE(nfrom(ns(ns(X'''')))) -> ACTIVATE(ns(ns(X'''')))
ACTIVATE(nfrom(nfrom(ns(X'''')))) -> ACTIVATE(nfrom(ns(X'''')))
ACTIVATE(nfrom(nfrom(nfrom(X'''')))) -> ACTIVATE(nfrom(nfrom(X'''')))
ACTIVATE(ncons(nfrom(nfrom(X'''')), X2)) -> ACTIVATE(nfrom(nfrom(X'''')))
ACTIVATE(ncons(ncons(nfrom(nfrom(X'''''')), X2'''), X2)) -> ACTIVATE(ncons(nfrom(nfrom(X'''''')), X2'''))
ACTIVATE(ncons(ncons(ncons(X1'''', X2'''''), X2''''), X2)) -> ACTIVATE(ncons(ncons(X1'''', X2'''''), X2''''))
ACTIVATE(nfrom(ncons(ncons(X1'''', X2'''''), X2''''))) -> ACTIVATE(ncons(ncons(X1'''', X2'''''), X2''''))
ACTIVATE(ns(nfrom(ncons(ncons(X1'''''', X2'''''''), X2''''')))) -> ACTIVATE(nfrom(ncons(ncons(X1'''''', X2'''''''), X2''''')))
ACTIVATE(ncons(ns(nfrom(ncons(X1'''''', X2''''''))), X2)) -> ACTIVATE(ns(nfrom(ncons(X1'''''', X2''''''))))
ACTIVATE(ns(ncons(ns(nfrom(ncons(X1'''''''', X2''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(ncons(X1'''''''', X2''''''''))), X2'''))
from(X) -> cons(X, nfrom(ns(X)))
from(X) -> nfrom(X)
2ndspos(0, Z) -> rnil
2ndspos(s(N), cons(X, ncons(Y, Z))) -> rcons(posrecip(activate(Y)), 2ndsneg(N, activate(Z)))
2ndsneg(0, Z) -> rnil
2ndsneg(s(N), cons(X, ncons(Y, Z))) -> rcons(negrecip(activate(Y)), 2ndspos(N, activate(Z)))
pi(X) -> 2ndspos(X, from(0))
plus(0, Y) -> Y
plus(s(X), Y) -> s(plus(X, Y))
times(0, Y) -> 0
times(s(X), Y) -> plus(Y, times(X, Y))
square(X) -> times(X, X)
s(X) -> ns(X)
cons(X1, X2) -> ncons(X1, X2)
activate(nfrom(X)) -> from(activate(X))
activate(ns(X)) -> s(activate(X))
activate(ncons(X1, X2)) -> cons(activate(X1), X2)
activate(X) -> X
innermost
three new Dependency Pairs are created:
ACTIVATE(ncons(nfrom(nfrom(X'''')), X2)) -> ACTIVATE(nfrom(nfrom(X'''')))
ACTIVATE(ncons(nfrom(nfrom(nfrom(X''''''))), X2)) -> ACTIVATE(nfrom(nfrom(nfrom(X''''''))))
ACTIVATE(ncons(nfrom(nfrom(ns(X''''''))), X2)) -> ACTIVATE(nfrom(nfrom(ns(X''''''))))
ACTIVATE(ncons(nfrom(nfrom(ncons(X1'''''', X2''''''))), X2)) -> ACTIVATE(nfrom(nfrom(ncons(X1'''''', X2''''''))))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳FwdInst
...
→DP Problem 14
↳Forward Instantiation Transformation
ACTIVATE(ncons(ncons(ns(nfrom(ns(X''''''''))), X2'''), X2)) -> ACTIVATE(ncons(ns(nfrom(ns(X''''''''))), X2'''))
ACTIVATE(ncons(ncons(ns(nfrom(nfrom(X''''''''))), X2'''), X2)) -> ACTIVATE(ncons(ns(nfrom(nfrom(X''''''''))), X2'''))
ACTIVATE(ncons(ncons(ns(ncons(X1'''''', X2'''''')), X2'''), X2)) -> ACTIVATE(ncons(ns(ncons(X1'''''', X2'''''')), X2'''))
ACTIVATE(ncons(ncons(ns(ns(X'''''')), X2'''), X2)) -> ACTIVATE(ncons(ns(ns(X'''''')), X2'''))
ACTIVATE(ncons(ncons(nfrom(ncons(X1'''''', X2'''''')), X2'''), X2)) -> ACTIVATE(ncons(nfrom(ncons(X1'''''', X2'''''')), X2'''))
ACTIVATE(ns(ns(nfrom(ncons(X1'''''', X2''''''))))) -> ACTIVATE(ns(nfrom(ncons(X1'''''', X2''''''))))
ACTIVATE(nfrom(ncons(ns(nfrom(ncons(X1'''''''', X2''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(ncons(X1'''''''', X2''''''''))), X2'''))
ACTIVATE(ns(nfrom(ncons(ns(nfrom(ncons(X1'''''''''', X2''''''''''))), X2'''''')))) -> ACTIVATE(nfrom(ncons(ns(nfrom(ncons(X1'''''''''', X2''''''''''))), X2'''''')))
ACTIVATE(nfrom(ncons(ns(nfrom(ns(X''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(ns(X''''''''))), X2'''))
ACTIVATE(ns(nfrom(ncons(ns(nfrom(ns(X''''''''''))), X2'''''')))) -> ACTIVATE(nfrom(ncons(ns(nfrom(ns(X''''''''''))), X2'''''')))
ACTIVATE(nfrom(ncons(ns(nfrom(nfrom(X''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(nfrom(X''''''''))), X2'''))
ACTIVATE(ns(nfrom(ncons(ns(nfrom(nfrom(X''''''''''))), X2'''''')))) -> ACTIVATE(nfrom(ncons(ns(nfrom(nfrom(X''''''''''))), X2'''''')))
ACTIVATE(ns(ncons(ns(nfrom(ncons(X1'''''''', X2''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(ncons(X1'''''''', X2''''''''))), X2'''))
ACTIVATE(ncons(ns(nfrom(ns(X''''''))), X2)) -> ACTIVATE(ns(nfrom(ns(X''''''))))
ACTIVATE(ns(ncons(ns(nfrom(ns(X''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(ns(X''''''''))), X2'''))
ACTIVATE(ncons(ns(nfrom(nfrom(X''''''))), X2)) -> ACTIVATE(ns(nfrom(nfrom(X''''''))))
ACTIVATE(ns(ncons(ns(nfrom(nfrom(X''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(nfrom(X''''''''))), X2'''))
ACTIVATE(ns(ncons(ns(ncons(X1'''''', X2'''''')), X2'''))) -> ACTIVATE(ncons(ns(ncons(X1'''''', X2'''''')), X2'''))
ACTIVATE(ns(ncons(ns(ns(X'''''')), X2'''))) -> ACTIVATE(ncons(ns(ns(X'''''')), X2'''))
ACTIVATE(ns(ncons(nfrom(ncons(X1'''''', X2'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(ncons(X1'''''', X2'''''')), X2'''))
ACTIVATE(ns(ncons(nfrom(ns(X'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(ns(X'''''')), X2'''))
ACTIVATE(ncons(ns(ncons(X1'''', X2'''')), X2)) -> ACTIVATE(ns(ncons(X1'''', X2'''')))
ACTIVATE(nfrom(ncons(ns(ncons(X1'''''', X2'''''')), X2'''))) -> ACTIVATE(ncons(ns(ncons(X1'''''', X2'''''')), X2'''))
ACTIVATE(ns(nfrom(ncons(ns(ncons(X1'''''''', X2'''''''')), X2'''''')))) -> ACTIVATE(nfrom(ncons(ns(ncons(X1'''''''', X2'''''''')), X2'''''')))
ACTIVATE(ns(nfrom(ncons(ns(ns(X'''''''')), X2'''''')))) -> ACTIVATE(nfrom(ncons(ns(ns(X'''''''')), X2'''''')))
ACTIVATE(ns(nfrom(ncons(nfrom(ncons(X1'''''''', X2'''''''')), X2'''''')))) -> ACTIVATE(nfrom(ncons(nfrom(ncons(X1'''''''', X2'''''''')), X2'''''')))
ACTIVATE(ns(nfrom(ncons(nfrom(ns(X'''''''')), X2'''''')))) -> ACTIVATE(nfrom(ncons(nfrom(ns(X'''''''')), X2'''''')))
ACTIVATE(ns(nfrom(ncons(nfrom(nfrom(X'''''''')), X2'''''')))) -> ACTIVATE(nfrom(ncons(nfrom(nfrom(X'''''''')), X2'''''')))
ACTIVATE(nfrom(ns(nfrom(ncons(X1'''''', X2''''''))))) -> ACTIVATE(ns(nfrom(ncons(X1'''''', X2''''''))))
ACTIVATE(ns(nfrom(ns(nfrom(ncons(X1'''''''', X2'''''''')))))) -> ACTIVATE(nfrom(ns(nfrom(ncons(X1'''''''', X2'''''''')))))
ACTIVATE(nfrom(ns(nfrom(ns(X''''''))))) -> ACTIVATE(ns(nfrom(ns(X''''''))))
ACTIVATE(ns(nfrom(ns(nfrom(ns(X'''''''')))))) -> ACTIVATE(nfrom(ns(nfrom(ns(X'''''''')))))
ACTIVATE(nfrom(ns(nfrom(nfrom(X''''''))))) -> ACTIVATE(ns(nfrom(nfrom(X''''''))))
ACTIVATE(ns(nfrom(ns(nfrom(nfrom(X'''''''')))))) -> ACTIVATE(nfrom(ns(nfrom(nfrom(X'''''''')))))
ACTIVATE(ns(nfrom(ns(ncons(X1'''''', X2''''''))))) -> ACTIVATE(nfrom(ns(ncons(X1'''''', X2''''''))))
ACTIVATE(ns(nfrom(ns(ns(X''''''))))) -> ACTIVATE(nfrom(ns(ns(X''''''))))
ACTIVATE(ns(ns(nfrom(ns(X''''''))))) -> ACTIVATE(ns(nfrom(ns(X''''''))))
ACTIVATE(ns(nfrom(nfrom(ncons(X1'''''', X2''''''))))) -> ACTIVATE(nfrom(nfrom(ncons(X1'''''', X2''''''))))
ACTIVATE(ns(nfrom(nfrom(ns(X''''''))))) -> ACTIVATE(nfrom(nfrom(ns(X''''''))))
ACTIVATE(ns(nfrom(nfrom(nfrom(X''''''))))) -> ACTIVATE(nfrom(nfrom(nfrom(X''''''))))
ACTIVATE(ns(ns(nfrom(nfrom(X''''''))))) -> ACTIVATE(ns(nfrom(nfrom(X''''''))))
ACTIVATE(ncons(ns(ns(X'''')), X2)) -> ACTIVATE(ns(ns(X'''')))
ACTIVATE(nfrom(ncons(ns(ns(X'''''')), X2'''))) -> ACTIVATE(ncons(ns(ns(X'''''')), X2'''))
ACTIVATE(ncons(nfrom(ncons(X1'''', X2'''')), X2)) -> ACTIVATE(nfrom(ncons(X1'''', X2'''')))
ACTIVATE(nfrom(ncons(nfrom(ncons(X1'''''', X2'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(ncons(X1'''''', X2'''''')), X2'''))
ACTIVATE(nfrom(ncons(nfrom(ns(X'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(ns(X'''''')), X2'''))
ACTIVATE(nfrom(ncons(nfrom(nfrom(X'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(nfrom(X'''''')), X2'''))
ACTIVATE(nfrom(nfrom(ncons(X1'''', X2'''')))) -> ACTIVATE(nfrom(ncons(X1'''', X2'''')))
ACTIVATE(ncons(nfrom(nfrom(ncons(X1'''''', X2''''''))), X2)) -> ACTIVATE(nfrom(nfrom(ncons(X1'''''', X2''''''))))
ACTIVATE(ncons(nfrom(nfrom(ns(X''''''))), X2)) -> ACTIVATE(nfrom(nfrom(ns(X''''''))))
ACTIVATE(ns(ncons(nfrom(nfrom(X'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(nfrom(X'''''')), X2'''))
ACTIVATE(nfrom(ns(ncons(X1'''', X2'''')))) -> ACTIVATE(ns(ncons(X1'''', X2'''')))
ACTIVATE(ncons(nfrom(ns(X'''')), X2)) -> ACTIVATE(nfrom(ns(X'''')))
ACTIVATE(ncons(ncons(nfrom(ns(X'''''')), X2'''), X2)) -> ACTIVATE(ncons(nfrom(ns(X'''''')), X2'''))
ACTIVATE(ns(ncons(ncons(X1'''', X2'''''), X2''''))) -> ACTIVATE(ncons(ncons(X1'''', X2'''''), X2''''))
ACTIVATE(ns(ns(ncons(X1'''', X2'''')))) -> ACTIVATE(ns(ncons(X1'''', X2'''')))
ACTIVATE(ns(ns(ns(X'''')))) -> ACTIVATE(ns(ns(X'''')))
ACTIVATE(nfrom(ns(ns(X'''')))) -> ACTIVATE(ns(ns(X'''')))
ACTIVATE(nfrom(nfrom(ns(X'''')))) -> ACTIVATE(nfrom(ns(X'''')))
ACTIVATE(nfrom(nfrom(nfrom(X'''')))) -> ACTIVATE(nfrom(nfrom(X'''')))
ACTIVATE(ncons(nfrom(nfrom(nfrom(X''''''))), X2)) -> ACTIVATE(nfrom(nfrom(nfrom(X''''''))))
ACTIVATE(ncons(ncons(nfrom(nfrom(X'''''')), X2'''), X2)) -> ACTIVATE(ncons(nfrom(nfrom(X'''''')), X2'''))
ACTIVATE(ncons(ncons(ncons(X1'''', X2'''''), X2''''), X2)) -> ACTIVATE(ncons(ncons(X1'''', X2'''''), X2''''))
ACTIVATE(nfrom(ncons(ncons(X1'''', X2'''''), X2''''))) -> ACTIVATE(ncons(ncons(X1'''', X2'''''), X2''''))
ACTIVATE(ns(nfrom(ncons(ncons(X1'''''', X2'''''''), X2''''')))) -> ACTIVATE(nfrom(ncons(ncons(X1'''''', X2'''''''), X2''''')))
ACTIVATE(ncons(ns(nfrom(ncons(X1'''''', X2''''''))), X2)) -> ACTIVATE(ns(nfrom(ncons(X1'''''', X2''''''))))
ACTIVATE(ncons(ncons(ns(nfrom(ncons(X1'''''''', X2''''''''))), X2'''), X2)) -> ACTIVATE(ncons(ns(nfrom(ncons(X1'''''''', X2''''''''))), X2'''))
from(X) -> cons(X, nfrom(ns(X)))
from(X) -> nfrom(X)
2ndspos(0, Z) -> rnil
2ndspos(s(N), cons(X, ncons(Y, Z))) -> rcons(posrecip(activate(Y)), 2ndsneg(N, activate(Z)))
2ndsneg(0, Z) -> rnil
2ndsneg(s(N), cons(X, ncons(Y, Z))) -> rcons(negrecip(activate(Y)), 2ndspos(N, activate(Z)))
pi(X) -> 2ndspos(X, from(0))
plus(0, Y) -> Y
plus(s(X), Y) -> s(plus(X, Y))
times(0, Y) -> 0
times(s(X), Y) -> plus(Y, times(X, Y))
square(X) -> times(X, X)
s(X) -> ns(X)
cons(X1, X2) -> ncons(X1, X2)
activate(nfrom(X)) -> from(activate(X))
activate(ns(X)) -> s(activate(X))
activate(ncons(X1, X2)) -> cons(activate(X1), X2)
activate(X) -> X
innermost
five new Dependency Pairs are created:
ACTIVATE(ncons(nfrom(ns(X'''')), X2)) -> ACTIVATE(nfrom(ns(X'''')))
ACTIVATE(ncons(nfrom(ns(ns(X''''''))), X2)) -> ACTIVATE(nfrom(ns(ns(X''''''))))
ACTIVATE(ncons(nfrom(ns(ncons(X1'''''', X2''''''))), X2)) -> ACTIVATE(nfrom(ns(ncons(X1'''''', X2''''''))))
ACTIVATE(ncons(nfrom(ns(nfrom(nfrom(X'''''''')))), X2)) -> ACTIVATE(nfrom(ns(nfrom(nfrom(X'''''''')))))
ACTIVATE(ncons(nfrom(ns(nfrom(ns(X'''''''')))), X2)) -> ACTIVATE(nfrom(ns(nfrom(ns(X'''''''')))))
ACTIVATE(ncons(nfrom(ns(nfrom(ncons(X1'''''''', X2'''''''')))), X2)) -> ACTIVATE(nfrom(ns(nfrom(ncons(X1'''''''', X2'''''''')))))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳FwdInst
...
→DP Problem 15
↳Forward Instantiation Transformation
ACTIVATE(ncons(ncons(ns(nfrom(ncons(X1'''''''', X2''''''''))), X2'''), X2)) -> ACTIVATE(ncons(ns(nfrom(ncons(X1'''''''', X2''''''''))), X2'''))
ACTIVATE(ncons(ncons(ns(nfrom(nfrom(X''''''''))), X2'''), X2)) -> ACTIVATE(ncons(ns(nfrom(nfrom(X''''''''))), X2'''))
ACTIVATE(ncons(ncons(ns(ncons(X1'''''', X2'''''')), X2'''), X2)) -> ACTIVATE(ncons(ns(ncons(X1'''''', X2'''''')), X2'''))
ACTIVATE(ncons(ncons(ns(ns(X'''''')), X2'''), X2)) -> ACTIVATE(ncons(ns(ns(X'''''')), X2'''))
ACTIVATE(ncons(ncons(nfrom(ncons(X1'''''', X2'''''')), X2'''), X2)) -> ACTIVATE(ncons(nfrom(ncons(X1'''''', X2'''''')), X2'''))
ACTIVATE(nfrom(ncons(ns(nfrom(ncons(X1'''''''', X2''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(ncons(X1'''''''', X2''''''''))), X2'''))
ACTIVATE(ns(nfrom(ncons(ns(nfrom(ncons(X1'''''''''', X2''''''''''))), X2'''''')))) -> ACTIVATE(nfrom(ncons(ns(nfrom(ncons(X1'''''''''', X2''''''''''))), X2'''''')))
ACTIVATE(nfrom(ncons(ns(nfrom(ns(X''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(ns(X''''''''))), X2'''))
ACTIVATE(ns(nfrom(ncons(ns(nfrom(ns(X''''''''''))), X2'''''')))) -> ACTIVATE(nfrom(ncons(ns(nfrom(ns(X''''''''''))), X2'''''')))
ACTIVATE(nfrom(ncons(ns(nfrom(nfrom(X''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(nfrom(X''''''''))), X2'''))
ACTIVATE(ns(nfrom(ncons(ns(nfrom(nfrom(X''''''''''))), X2'''''')))) -> ACTIVATE(nfrom(ncons(ns(nfrom(nfrom(X''''''''''))), X2'''''')))
ACTIVATE(ncons(ns(nfrom(ncons(X1'''''', X2''''''))), X2)) -> ACTIVATE(ns(nfrom(ncons(X1'''''', X2''''''))))
ACTIVATE(ns(ncons(ns(nfrom(ncons(X1'''''''', X2''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(ncons(X1'''''''', X2''''''''))), X2'''))
ACTIVATE(ns(ncons(ns(nfrom(ns(X''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(ns(X''''''''))), X2'''))
ACTIVATE(ncons(ns(nfrom(nfrom(X''''''))), X2)) -> ACTIVATE(ns(nfrom(nfrom(X''''''))))
ACTIVATE(ns(ncons(ns(nfrom(nfrom(X''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(nfrom(X''''''''))), X2'''))
ACTIVATE(ns(ncons(ns(ncons(X1'''''', X2'''''')), X2'''))) -> ACTIVATE(ncons(ns(ncons(X1'''''', X2'''''')), X2'''))
ACTIVATE(ns(ncons(ns(ns(X'''''')), X2'''))) -> ACTIVATE(ncons(ns(ns(X'''''')), X2'''))
ACTIVATE(ns(ncons(nfrom(ncons(X1'''''', X2'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(ncons(X1'''''', X2'''''')), X2'''))
ACTIVATE(ns(ncons(nfrom(ns(X'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(ns(X'''''')), X2'''))
ACTIVATE(ncons(ns(ncons(X1'''', X2'''')), X2)) -> ACTIVATE(ns(ncons(X1'''', X2'''')))
ACTIVATE(nfrom(ncons(ns(ncons(X1'''''', X2'''''')), X2'''))) -> ACTIVATE(ncons(ns(ncons(X1'''''', X2'''''')), X2'''))
ACTIVATE(ns(nfrom(ncons(ns(ncons(X1'''''''', X2'''''''')), X2'''''')))) -> ACTIVATE(nfrom(ncons(ns(ncons(X1'''''''', X2'''''''')), X2'''''')))
ACTIVATE(ns(nfrom(ncons(ns(ns(X'''''''')), X2'''''')))) -> ACTIVATE(nfrom(ncons(ns(ns(X'''''''')), X2'''''')))
ACTIVATE(ns(ns(nfrom(ncons(X1'''''', X2''''''))))) -> ACTIVATE(ns(nfrom(ncons(X1'''''', X2''''''))))
ACTIVATE(ns(ns(nfrom(ns(X''''''))))) -> ACTIVATE(ns(nfrom(ns(X''''''))))
ACTIVATE(ns(ns(nfrom(nfrom(X''''''))))) -> ACTIVATE(ns(nfrom(nfrom(X''''''))))
ACTIVATE(ncons(ns(ns(X'''')), X2)) -> ACTIVATE(ns(ns(X'''')))
ACTIVATE(nfrom(ncons(ns(ns(X'''''')), X2'''))) -> ACTIVATE(ncons(ns(ns(X'''''')), X2'''))
ACTIVATE(ncons(nfrom(ncons(X1'''', X2'''')), X2)) -> ACTIVATE(nfrom(ncons(X1'''', X2'''')))
ACTIVATE(nfrom(ncons(nfrom(ncons(X1'''''', X2'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(ncons(X1'''''', X2'''''')), X2'''))
ACTIVATE(ns(nfrom(ncons(nfrom(ncons(X1'''''''', X2'''''''')), X2'''''')))) -> ACTIVATE(nfrom(ncons(nfrom(ncons(X1'''''''', X2'''''''')), X2'''''')))
ACTIVATE(ncons(nfrom(ns(nfrom(ncons(X1'''''''', X2'''''''')))), X2)) -> ACTIVATE(nfrom(ns(nfrom(ncons(X1'''''''', X2'''''''')))))
ACTIVATE(nfrom(ncons(nfrom(ns(X'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(ns(X'''''')), X2'''))
ACTIVATE(ns(nfrom(ncons(nfrom(ns(X'''''''')), X2'''''')))) -> ACTIVATE(nfrom(ncons(nfrom(ns(X'''''''')), X2'''''')))
ACTIVATE(nfrom(ncons(nfrom(nfrom(X'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(nfrom(X'''''')), X2'''))
ACTIVATE(ns(nfrom(ncons(nfrom(nfrom(X'''''''')), X2'''''')))) -> ACTIVATE(nfrom(ncons(nfrom(nfrom(X'''''''')), X2'''''')))
ACTIVATE(ns(nfrom(ncons(ncons(X1'''''', X2'''''''), X2''''')))) -> ACTIVATE(nfrom(ncons(ncons(X1'''''', X2'''''''), X2''''')))
ACTIVATE(nfrom(ns(nfrom(ncons(X1'''''', X2''''''))))) -> ACTIVATE(ns(nfrom(ncons(X1'''''', X2''''''))))
ACTIVATE(ns(nfrom(ns(nfrom(ncons(X1'''''''', X2'''''''')))))) -> ACTIVATE(nfrom(ns(nfrom(ncons(X1'''''''', X2'''''''')))))
ACTIVATE(ns(nfrom(ns(nfrom(ns(X'''''''')))))) -> ACTIVATE(nfrom(ns(nfrom(ns(X'''''''')))))
ACTIVATE(ns(nfrom(ns(nfrom(nfrom(X'''''''')))))) -> ACTIVATE(nfrom(ns(nfrom(nfrom(X'''''''')))))
ACTIVATE(ns(nfrom(ns(ncons(X1'''''', X2''''''))))) -> ACTIVATE(nfrom(ns(ncons(X1'''''', X2''''''))))
ACTIVATE(nfrom(ns(nfrom(ns(X''''''))))) -> ACTIVATE(ns(nfrom(ns(X''''''))))
ACTIVATE(ncons(nfrom(ns(nfrom(ns(X'''''''')))), X2)) -> ACTIVATE(nfrom(ns(nfrom(ns(X'''''''')))))
ACTIVATE(ns(nfrom(nfrom(ncons(X1'''''', X2''''''))))) -> ACTIVATE(nfrom(nfrom(ncons(X1'''''', X2''''''))))
ACTIVATE(ns(nfrom(nfrom(ns(X''''''))))) -> ACTIVATE(nfrom(nfrom(ns(X''''''))))
ACTIVATE(ns(nfrom(nfrom(nfrom(X''''''))))) -> ACTIVATE(nfrom(nfrom(nfrom(X''''''))))
ACTIVATE(nfrom(ns(nfrom(nfrom(X''''''))))) -> ACTIVATE(ns(nfrom(nfrom(X''''''))))
ACTIVATE(ncons(nfrom(ns(nfrom(nfrom(X'''''''')))), X2)) -> ACTIVATE(nfrom(ns(nfrom(nfrom(X'''''''')))))
ACTIVATE(ncons(nfrom(ns(ncons(X1'''''', X2''''''))), X2)) -> ACTIVATE(nfrom(ns(ncons(X1'''''', X2''''''))))
ACTIVATE(ncons(nfrom(ns(ns(X''''''))), X2)) -> ACTIVATE(nfrom(ns(ns(X''''''))))
ACTIVATE(ncons(ncons(nfrom(ns(X'''''')), X2'''), X2)) -> ACTIVATE(ncons(nfrom(ns(X'''''')), X2'''))
ACTIVATE(nfrom(ncons(ncons(X1'''', X2'''''), X2''''))) -> ACTIVATE(ncons(ncons(X1'''', X2'''''), X2''''))
ACTIVATE(nfrom(nfrom(ncons(X1'''', X2'''')))) -> ACTIVATE(nfrom(ncons(X1'''', X2'''')))
ACTIVATE(ncons(nfrom(nfrom(ncons(X1'''''', X2''''''))), X2)) -> ACTIVATE(nfrom(nfrom(ncons(X1'''''', X2''''''))))
ACTIVATE(ncons(nfrom(nfrom(ns(X''''''))), X2)) -> ACTIVATE(nfrom(nfrom(ns(X''''''))))
ACTIVATE(ns(ncons(nfrom(nfrom(X'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(nfrom(X'''''')), X2'''))
ACTIVATE(nfrom(ns(ncons(X1'''', X2'''')))) -> ACTIVATE(ns(ncons(X1'''', X2'''')))
ACTIVATE(nfrom(nfrom(ns(X'''')))) -> ACTIVATE(nfrom(ns(X'''')))
ACTIVATE(nfrom(nfrom(nfrom(X'''')))) -> ACTIVATE(nfrom(nfrom(X'''')))
ACTIVATE(ncons(nfrom(nfrom(nfrom(X''''''))), X2)) -> ACTIVATE(nfrom(nfrom(nfrom(X''''''))))
ACTIVATE(ncons(ncons(nfrom(nfrom(X'''''')), X2'''), X2)) -> ACTIVATE(ncons(nfrom(nfrom(X'''''')), X2'''))
ACTIVATE(ncons(ncons(ncons(X1'''', X2'''''), X2''''), X2)) -> ACTIVATE(ncons(ncons(X1'''', X2'''''), X2''''))
ACTIVATE(ns(ncons(ncons(X1'''', X2'''''), X2''''))) -> ACTIVATE(ncons(ncons(X1'''', X2'''''), X2''''))
ACTIVATE(ns(ns(ncons(X1'''', X2'''')))) -> ACTIVATE(ns(ncons(X1'''', X2'''')))
ACTIVATE(ns(ns(ns(X'''')))) -> ACTIVATE(ns(ns(X'''')))
ACTIVATE(nfrom(ns(ns(X'''')))) -> ACTIVATE(ns(ns(X'''')))
ACTIVATE(ns(nfrom(ns(ns(X''''''))))) -> ACTIVATE(nfrom(ns(ns(X''''''))))
ACTIVATE(ncons(ns(nfrom(ns(X''''''))), X2)) -> ACTIVATE(ns(nfrom(ns(X''''''))))
ACTIVATE(ncons(ncons(ns(nfrom(ns(X''''''''))), X2'''), X2)) -> ACTIVATE(ncons(ns(nfrom(ns(X''''''''))), X2'''))
from(X) -> cons(X, nfrom(ns(X)))
from(X) -> nfrom(X)
2ndspos(0, Z) -> rnil
2ndspos(s(N), cons(X, ncons(Y, Z))) -> rcons(posrecip(activate(Y)), 2ndsneg(N, activate(Z)))
2ndsneg(0, Z) -> rnil
2ndsneg(s(N), cons(X, ncons(Y, Z))) -> rcons(negrecip(activate(Y)), 2ndspos(N, activate(Z)))
pi(X) -> 2ndspos(X, from(0))
plus(0, Y) -> Y
plus(s(X), Y) -> s(plus(X, Y))
times(0, Y) -> 0
times(s(X), Y) -> plus(Y, times(X, Y))
square(X) -> times(X, X)
s(X) -> ns(X)
cons(X1, X2) -> ncons(X1, X2)
activate(nfrom(X)) -> from(activate(X))
activate(ns(X)) -> s(activate(X))
activate(ncons(X1, X2)) -> cons(activate(X1), X2)
activate(X) -> X
innermost
nine new Dependency Pairs are created:
ACTIVATE(ncons(nfrom(ncons(X1'''', X2'''')), X2)) -> ACTIVATE(nfrom(ncons(X1'''', X2'''')))
ACTIVATE(ncons(nfrom(ncons(ncons(X1'''''', X2'''''''), X2''''')), X2)) -> ACTIVATE(nfrom(ncons(ncons(X1'''''', X2'''''''), X2''''')))
ACTIVATE(ncons(nfrom(ncons(nfrom(nfrom(X'''''''')), X2'''''')), X2)) -> ACTIVATE(nfrom(ncons(nfrom(nfrom(X'''''''')), X2'''''')))
ACTIVATE(ncons(nfrom(ncons(nfrom(ns(X'''''''')), X2'''''')), X2)) -> ACTIVATE(nfrom(ncons(nfrom(ns(X'''''''')), X2'''''')))
ACTIVATE(ncons(nfrom(ncons(nfrom(ncons(X1'''''''', X2'''''''')), X2'''''')), X2)) -> ACTIVATE(nfrom(ncons(nfrom(ncons(X1'''''''', X2'''''''')), X2'''''')))
ACTIVATE(ncons(nfrom(ncons(ns(ns(X'''''''')), X2'''''')), X2)) -> ACTIVATE(nfrom(ncons(ns(ns(X'''''''')), X2'''''')))
ACTIVATE(ncons(nfrom(ncons(ns(ncons(X1'''''''', X2'''''''')), X2'''''')), X2)) -> ACTIVATE(nfrom(ncons(ns(ncons(X1'''''''', X2'''''''')), X2'''''')))
ACTIVATE(ncons(nfrom(ncons(ns(nfrom(nfrom(X''''''''''))), X2'''''')), X2)) -> ACTIVATE(nfrom(ncons(ns(nfrom(nfrom(X''''''''''))), X2'''''')))
ACTIVATE(ncons(nfrom(ncons(ns(nfrom(ns(X''''''''''))), X2'''''')), X2)) -> ACTIVATE(nfrom(ncons(ns(nfrom(ns(X''''''''''))), X2'''''')))
ACTIVATE(ncons(nfrom(ncons(ns(nfrom(ncons(X1'''''''''', X2''''''''''))), X2'''''')), X2)) -> ACTIVATE(nfrom(ncons(ns(nfrom(ncons(X1'''''''''', X2''''''''''))), X2'''''')))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳FwdInst
...
→DP Problem 16
↳Forward Instantiation Transformation
ACTIVATE(ncons(ncons(ns(nfrom(ns(X''''''''))), X2'''), X2)) -> ACTIVATE(ncons(ns(nfrom(ns(X''''''''))), X2'''))
ACTIVATE(ncons(ncons(ns(nfrom(nfrom(X''''''''))), X2'''), X2)) -> ACTIVATE(ncons(ns(nfrom(nfrom(X''''''''))), X2'''))
ACTIVATE(ncons(ncons(ns(ncons(X1'''''', X2'''''')), X2'''), X2)) -> ACTIVATE(ncons(ns(ncons(X1'''''', X2'''''')), X2'''))
ACTIVATE(ncons(ncons(ns(ns(X'''''')), X2'''), X2)) -> ACTIVATE(ncons(ns(ns(X'''''')), X2'''))
ACTIVATE(ncons(ncons(nfrom(ncons(X1'''''', X2'''''')), X2'''), X2)) -> ACTIVATE(ncons(nfrom(ncons(X1'''''', X2'''''')), X2'''))
ACTIVATE(ns(nfrom(ncons(ns(nfrom(ncons(X1'''''''''', X2''''''''''))), X2'''''')))) -> ACTIVATE(nfrom(ncons(ns(nfrom(ncons(X1'''''''''', X2''''''''''))), X2'''''')))
ACTIVATE(ns(nfrom(ncons(ns(nfrom(ns(X''''''''''))), X2'''''')))) -> ACTIVATE(nfrom(ncons(ns(nfrom(ns(X''''''''''))), X2'''''')))
ACTIVATE(ns(nfrom(ncons(ns(nfrom(nfrom(X''''''''''))), X2'''''')))) -> ACTIVATE(nfrom(ncons(ns(nfrom(nfrom(X''''''''''))), X2'''''')))
ACTIVATE(ns(ncons(ns(nfrom(ncons(X1'''''''', X2''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(ncons(X1'''''''', X2''''''''))), X2'''))
ACTIVATE(ns(ncons(ns(nfrom(ns(X''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(ns(X''''''''))), X2'''))
ACTIVATE(ns(ncons(ns(nfrom(nfrom(X''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(nfrom(X''''''''))), X2'''))
ACTIVATE(ns(ncons(ns(ncons(X1'''''', X2'''''')), X2'''))) -> ACTIVATE(ncons(ns(ncons(X1'''''', X2'''''')), X2'''))
ACTIVATE(ns(ncons(ns(ns(X'''''')), X2'''))) -> ACTIVATE(ncons(ns(ns(X'''''')), X2'''))
ACTIVATE(nfrom(ncons(ns(nfrom(ncons(X1'''''''', X2''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(ncons(X1'''''''', X2''''''''))), X2'''))
ACTIVATE(ncons(nfrom(ncons(ns(nfrom(ncons(X1'''''''''', X2''''''''''))), X2'''''')), X2)) -> ACTIVATE(nfrom(ncons(ns(nfrom(ncons(X1'''''''''', X2''''''''''))), X2'''''')))
ACTIVATE(ncons(ns(nfrom(ns(X''''''))), X2)) -> ACTIVATE(ns(nfrom(ns(X''''''))))
ACTIVATE(nfrom(ncons(ns(nfrom(ns(X''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(ns(X''''''''))), X2'''))
ACTIVATE(ncons(nfrom(ncons(ns(nfrom(ns(X''''''''''))), X2'''''')), X2)) -> ACTIVATE(nfrom(ncons(ns(nfrom(ns(X''''''''''))), X2'''''')))
ACTIVATE(ncons(ns(nfrom(nfrom(X''''''))), X2)) -> ACTIVATE(ns(nfrom(nfrom(X''''''))))
ACTIVATE(nfrom(ncons(ns(nfrom(nfrom(X''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(nfrom(X''''''''))), X2'''))
ACTIVATE(ncons(nfrom(ncons(ns(nfrom(nfrom(X''''''''''))), X2'''''')), X2)) -> ACTIVATE(nfrom(ncons(ns(nfrom(nfrom(X''''''''''))), X2'''''')))
ACTIVATE(ncons(nfrom(ncons(ns(ncons(X1'''''''', X2'''''''')), X2'''''')), X2)) -> ACTIVATE(nfrom(ncons(ns(ncons(X1'''''''', X2'''''''')), X2'''''')))
ACTIVATE(ns(ncons(nfrom(ncons(X1'''''', X2'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(ncons(X1'''''', X2'''''')), X2'''))
ACTIVATE(ncons(nfrom(ns(nfrom(ncons(X1'''''''', X2'''''''')))), X2)) -> ACTIVATE(nfrom(ns(nfrom(ncons(X1'''''''', X2'''''''')))))
ACTIVATE(ns(ncons(nfrom(ns(X'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(ns(X'''''')), X2'''))
ACTIVATE(ncons(ns(ncons(X1'''', X2'''')), X2)) -> ACTIVATE(ns(ncons(X1'''', X2'''')))
ACTIVATE(nfrom(ncons(ns(ncons(X1'''''', X2'''''')), X2'''))) -> ACTIVATE(ncons(ns(ncons(X1'''''', X2'''''')), X2'''))
ACTIVATE(ns(nfrom(ncons(ns(ncons(X1'''''''', X2'''''''')), X2'''''')))) -> ACTIVATE(nfrom(ncons(ns(ncons(X1'''''''', X2'''''''')), X2'''''')))
ACTIVATE(ns(nfrom(ncons(ns(ns(X'''''''')), X2'''''')))) -> ACTIVATE(nfrom(ncons(ns(ns(X'''''''')), X2'''''')))
ACTIVATE(ns(ns(nfrom(ncons(X1'''''', X2''''''))))) -> ACTIVATE(ns(nfrom(ncons(X1'''''', X2''''''))))
ACTIVATE(ns(ns(nfrom(ns(X''''''))))) -> ACTIVATE(ns(nfrom(ns(X''''''))))
ACTIVATE(ns(ns(nfrom(nfrom(X''''''))))) -> ACTIVATE(ns(nfrom(nfrom(X''''''))))
ACTIVATE(ncons(ns(ns(X'''')), X2)) -> ACTIVATE(ns(ns(X'''')))
ACTIVATE(nfrom(ncons(ns(ns(X'''''')), X2'''))) -> ACTIVATE(ncons(ns(ns(X'''''')), X2'''))
ACTIVATE(ncons(nfrom(ncons(ns(ns(X'''''''')), X2'''''')), X2)) -> ACTIVATE(nfrom(ncons(ns(ns(X'''''''')), X2'''''')))
ACTIVATE(ncons(nfrom(ncons(nfrom(ncons(X1'''''''', X2'''''''')), X2'''''')), X2)) -> ACTIVATE(nfrom(ncons(nfrom(ncons(X1'''''''', X2'''''''')), X2'''''')))
ACTIVATE(ncons(nfrom(ncons(nfrom(ns(X'''''''')), X2'''''')), X2)) -> ACTIVATE(nfrom(ncons(nfrom(ns(X'''''''')), X2'''''')))
ACTIVATE(ncons(nfrom(ncons(nfrom(nfrom(X'''''''')), X2'''''')), X2)) -> ACTIVATE(nfrom(ncons(nfrom(nfrom(X'''''''')), X2'''''')))
ACTIVATE(ncons(nfrom(ncons(ncons(X1'''''', X2'''''''), X2''''')), X2)) -> ACTIVATE(nfrom(ncons(ncons(X1'''''', X2'''''''), X2''''')))
ACTIVATE(nfrom(ncons(nfrom(ncons(X1'''''', X2'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(ncons(X1'''''', X2'''''')), X2'''))
ACTIVATE(ns(nfrom(ncons(nfrom(ncons(X1'''''''', X2'''''''')), X2'''''')))) -> ACTIVATE(nfrom(ncons(nfrom(ncons(X1'''''''', X2'''''''')), X2'''''')))
ACTIVATE(ns(nfrom(ncons(nfrom(ns(X'''''''')), X2'''''')))) -> ACTIVATE(nfrom(ncons(nfrom(ns(X'''''''')), X2'''''')))
ACTIVATE(ns(nfrom(ncons(nfrom(nfrom(X'''''''')), X2'''''')))) -> ACTIVATE(nfrom(ncons(nfrom(nfrom(X'''''''')), X2'''''')))
ACTIVATE(nfrom(ns(nfrom(ncons(X1'''''', X2''''''))))) -> ACTIVATE(ns(nfrom(ncons(X1'''''', X2''''''))))
ACTIVATE(ns(nfrom(ns(nfrom(ncons(X1'''''''', X2'''''''')))))) -> ACTIVATE(nfrom(ns(nfrom(ncons(X1'''''''', X2'''''''')))))
ACTIVATE(ns(nfrom(ns(nfrom(ns(X'''''''')))))) -> ACTIVATE(nfrom(ns(nfrom(ns(X'''''''')))))
ACTIVATE(ns(nfrom(ns(nfrom(nfrom(X'''''''')))))) -> ACTIVATE(nfrom(ns(nfrom(nfrom(X'''''''')))))
ACTIVATE(ns(nfrom(ns(ncons(X1'''''', X2''''''))))) -> ACTIVATE(nfrom(ns(ncons(X1'''''', X2''''''))))
ACTIVATE(ns(nfrom(ns(ns(X''''''))))) -> ACTIVATE(nfrom(ns(ns(X''''''))))
ACTIVATE(nfrom(ns(nfrom(ns(X''''''))))) -> ACTIVATE(ns(nfrom(ns(X''''''))))
ACTIVATE(ncons(nfrom(ns(nfrom(ns(X'''''''')))), X2)) -> ACTIVATE(nfrom(ns(nfrom(ns(X'''''''')))))
ACTIVATE(ns(nfrom(nfrom(ncons(X1'''''', X2''''''))))) -> ACTIVATE(nfrom(nfrom(ncons(X1'''''', X2''''''))))
ACTIVATE(ns(nfrom(nfrom(ns(X''''''))))) -> ACTIVATE(nfrom(nfrom(ns(X''''''))))
ACTIVATE(ns(nfrom(nfrom(nfrom(X''''''))))) -> ACTIVATE(nfrom(nfrom(nfrom(X''''''))))
ACTIVATE(nfrom(ns(nfrom(nfrom(X''''''))))) -> ACTIVATE(ns(nfrom(nfrom(X''''''))))
ACTIVATE(ncons(nfrom(ns(nfrom(nfrom(X'''''''')))), X2)) -> ACTIVATE(nfrom(ns(nfrom(nfrom(X'''''''')))))
ACTIVATE(nfrom(ncons(nfrom(ns(X'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(ns(X'''''')), X2'''))
ACTIVATE(nfrom(ncons(nfrom(nfrom(X'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(nfrom(X'''''')), X2'''))
ACTIVATE(nfrom(nfrom(ncons(X1'''', X2'''')))) -> ACTIVATE(nfrom(ncons(X1'''', X2'''')))
ACTIVATE(ncons(nfrom(nfrom(ncons(X1'''''', X2''''''))), X2)) -> ACTIVATE(nfrom(nfrom(ncons(X1'''''', X2''''''))))
ACTIVATE(ncons(nfrom(nfrom(ns(X''''''))), X2)) -> ACTIVATE(nfrom(nfrom(ns(X''''''))))
ACTIVATE(ns(ncons(nfrom(nfrom(X'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(nfrom(X'''''')), X2'''))
ACTIVATE(nfrom(ns(ncons(X1'''', X2'''')))) -> ACTIVATE(ns(ncons(X1'''', X2'''')))
ACTIVATE(ncons(nfrom(ns(ncons(X1'''''', X2''''''))), X2)) -> ACTIVATE(nfrom(ns(ncons(X1'''''', X2''''''))))
ACTIVATE(ncons(nfrom(ns(ns(X''''''))), X2)) -> ACTIVATE(nfrom(ns(ns(X''''''))))
ACTIVATE(ncons(ncons(nfrom(ns(X'''''')), X2'''), X2)) -> ACTIVATE(ncons(nfrom(ns(X'''''')), X2'''))
ACTIVATE(ns(ncons(ncons(X1'''', X2'''''), X2''''))) -> ACTIVATE(ncons(ncons(X1'''', X2'''''), X2''''))
ACTIVATE(ns(ns(ncons(X1'''', X2'''')))) -> ACTIVATE(ns(ncons(X1'''', X2'''')))
ACTIVATE(ns(ns(ns(X'''')))) -> ACTIVATE(ns(ns(X'''')))
ACTIVATE(nfrom(ns(ns(X'''')))) -> ACTIVATE(ns(ns(X'''')))
ACTIVATE(nfrom(nfrom(ns(X'''')))) -> ACTIVATE(nfrom(ns(X'''')))
ACTIVATE(nfrom(nfrom(nfrom(X'''')))) -> ACTIVATE(nfrom(nfrom(X'''')))
ACTIVATE(ncons(nfrom(nfrom(nfrom(X''''''))), X2)) -> ACTIVATE(nfrom(nfrom(nfrom(X''''''))))
ACTIVATE(ncons(ncons(nfrom(nfrom(X'''''')), X2'''), X2)) -> ACTIVATE(ncons(nfrom(nfrom(X'''''')), X2'''))
ACTIVATE(ncons(ncons(ncons(X1'''', X2'''''), X2''''), X2)) -> ACTIVATE(ncons(ncons(X1'''', X2'''''), X2''''))
ACTIVATE(nfrom(ncons(ncons(X1'''', X2'''''), X2''''))) -> ACTIVATE(ncons(ncons(X1'''', X2'''''), X2''''))
ACTIVATE(ns(nfrom(ncons(ncons(X1'''''', X2'''''''), X2''''')))) -> ACTIVATE(nfrom(ncons(ncons(X1'''''', X2'''''''), X2''''')))
ACTIVATE(ncons(ns(nfrom(ncons(X1'''''', X2''''''))), X2)) -> ACTIVATE(ns(nfrom(ncons(X1'''''', X2''''''))))
ACTIVATE(ncons(ncons(ns(nfrom(ncons(X1'''''''', X2''''''''))), X2'''), X2)) -> ACTIVATE(ncons(ns(nfrom(ncons(X1'''''''', X2''''''''))), X2'''))
from(X) -> cons(X, nfrom(ns(X)))
from(X) -> nfrom(X)
2ndspos(0, Z) -> rnil
2ndspos(s(N), cons(X, ncons(Y, Z))) -> rcons(posrecip(activate(Y)), 2ndsneg(N, activate(Z)))
2ndsneg(0, Z) -> rnil
2ndsneg(s(N), cons(X, ncons(Y, Z))) -> rcons(negrecip(activate(Y)), 2ndspos(N, activate(Z)))
pi(X) -> 2ndspos(X, from(0))
plus(0, Y) -> Y
plus(s(X), Y) -> s(plus(X, Y))
times(0, Y) -> 0
times(s(X), Y) -> plus(Y, times(X, Y))
square(X) -> times(X, X)
s(X) -> ns(X)
cons(X1, X2) -> ncons(X1, X2)
activate(nfrom(X)) -> from(activate(X))
activate(ns(X)) -> s(activate(X))
activate(ncons(X1, X2)) -> cons(activate(X1), X2)
activate(X) -> X
innermost
five new Dependency Pairs are created:
ACTIVATE(ncons(ns(ns(X'''')), X2)) -> ACTIVATE(ns(ns(X'''')))
ACTIVATE(ncons(ns(ns(ns(X''''''))), X2)) -> ACTIVATE(ns(ns(ns(X''''''))))
ACTIVATE(ncons(ns(ns(ncons(X1'''''', X2''''''))), X2)) -> ACTIVATE(ns(ns(ncons(X1'''''', X2''''''))))
ACTIVATE(ncons(ns(ns(nfrom(nfrom(X'''''''')))), X2)) -> ACTIVATE(ns(ns(nfrom(nfrom(X'''''''')))))
ACTIVATE(ncons(ns(ns(nfrom(ns(X'''''''')))), X2)) -> ACTIVATE(ns(ns(nfrom(ns(X'''''''')))))
ACTIVATE(ncons(ns(ns(nfrom(ncons(X1'''''''', X2'''''''')))), X2)) -> ACTIVATE(ns(ns(nfrom(ncons(X1'''''''', X2'''''''')))))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳FwdInst
...
→DP Problem 17
↳Forward Instantiation Transformation
ACTIVATE(ncons(ncons(ns(nfrom(ncons(X1'''''''', X2''''''''))), X2'''), X2)) -> ACTIVATE(ncons(ns(nfrom(ncons(X1'''''''', X2''''''''))), X2'''))
ACTIVATE(ncons(ncons(ns(nfrom(nfrom(X''''''''))), X2'''), X2)) -> ACTIVATE(ncons(ns(nfrom(nfrom(X''''''''))), X2'''))
ACTIVATE(ncons(ncons(ns(ncons(X1'''''', X2'''''')), X2'''), X2)) -> ACTIVATE(ncons(ns(ncons(X1'''''', X2'''''')), X2'''))
ACTIVATE(ncons(ncons(ns(ns(X'''''')), X2'''), X2)) -> ACTIVATE(ncons(ns(ns(X'''''')), X2'''))
ACTIVATE(ncons(ncons(nfrom(ncons(X1'''''', X2'''''')), X2'''), X2)) -> ACTIVATE(ncons(nfrom(ncons(X1'''''', X2'''''')), X2'''))
ACTIVATE(ns(ncons(ns(nfrom(ncons(X1'''''''', X2''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(ncons(X1'''''''', X2''''''''))), X2'''))
ACTIVATE(ns(ncons(ns(nfrom(ns(X''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(ns(X''''''''))), X2'''))
ACTIVATE(ns(ncons(ns(nfrom(nfrom(X''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(nfrom(X''''''''))), X2'''))
ACTIVATE(ns(ncons(ns(ncons(X1'''''', X2'''''')), X2'''))) -> ACTIVATE(ncons(ns(ncons(X1'''''', X2'''''')), X2'''))
ACTIVATE(ns(ncons(ns(ns(X'''''')), X2'''))) -> ACTIVATE(ncons(ns(ns(X'''''')), X2'''))
ACTIVATE(ns(nfrom(ncons(ns(nfrom(ncons(X1'''''''''', X2''''''''''))), X2'''''')))) -> ACTIVATE(nfrom(ncons(ns(nfrom(ncons(X1'''''''''', X2''''''''''))), X2'''''')))
ACTIVATE(ns(nfrom(ncons(ns(nfrom(ns(X''''''''''))), X2'''''')))) -> ACTIVATE(nfrom(ncons(ns(nfrom(ns(X''''''''''))), X2'''''')))
ACTIVATE(ns(nfrom(ncons(ns(nfrom(nfrom(X''''''''''))), X2'''''')))) -> ACTIVATE(nfrom(ncons(ns(nfrom(nfrom(X''''''''''))), X2'''''')))
ACTIVATE(ncons(ns(nfrom(ncons(X1'''''', X2''''''))), X2)) -> ACTIVATE(ns(nfrom(ncons(X1'''''', X2''''''))))
ACTIVATE(nfrom(ncons(ns(nfrom(ncons(X1'''''''', X2''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(ncons(X1'''''''', X2''''''''))), X2'''))
ACTIVATE(ncons(nfrom(ncons(ns(nfrom(ncons(X1'''''''''', X2''''''''''))), X2'''''')), X2)) -> ACTIVATE(nfrom(ncons(ns(nfrom(ncons(X1'''''''''', X2''''''''''))), X2'''''')))
ACTIVATE(nfrom(ncons(ns(nfrom(ns(X''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(ns(X''''''''))), X2'''))
ACTIVATE(ncons(nfrom(ncons(ns(nfrom(ns(X''''''''''))), X2'''''')), X2)) -> ACTIVATE(nfrom(ncons(ns(nfrom(ns(X''''''''''))), X2'''''')))
ACTIVATE(ncons(ns(nfrom(nfrom(X''''''))), X2)) -> ACTIVATE(ns(nfrom(nfrom(X''''''))))
ACTIVATE(nfrom(ncons(ns(nfrom(nfrom(X''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(nfrom(X''''''''))), X2'''))
ACTIVATE(ncons(nfrom(ncons(ns(nfrom(nfrom(X''''''''''))), X2'''''')), X2)) -> ACTIVATE(nfrom(ncons(ns(nfrom(nfrom(X''''''''''))), X2'''''')))
ACTIVATE(ncons(nfrom(ncons(ns(ncons(X1'''''''', X2'''''''')), X2'''''')), X2)) -> ACTIVATE(nfrom(ncons(ns(ncons(X1'''''''', X2'''''''')), X2'''''')))
ACTIVATE(ns(ncons(nfrom(ncons(X1'''''', X2'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(ncons(X1'''''', X2'''''')), X2'''))
ACTIVATE(ns(ncons(nfrom(ns(X'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(ns(X'''''')), X2'''))
ACTIVATE(ncons(ns(ncons(X1'''', X2'''')), X2)) -> ACTIVATE(ns(ncons(X1'''', X2'''')))
ACTIVATE(nfrom(ncons(ns(ncons(X1'''''', X2'''''')), X2'''))) -> ACTIVATE(ncons(ns(ncons(X1'''''', X2'''''')), X2'''))
ACTIVATE(ns(nfrom(ncons(ns(ncons(X1'''''''', X2'''''''')), X2'''''')))) -> ACTIVATE(nfrom(ncons(ns(ncons(X1'''''''', X2'''''''')), X2'''''')))
ACTIVATE(ns(nfrom(ncons(ns(ns(X'''''''')), X2'''''')))) -> ACTIVATE(nfrom(ncons(ns(ns(X'''''''')), X2'''''')))
ACTIVATE(ns(ns(nfrom(ncons(X1'''''', X2''''''))))) -> ACTIVATE(ns(nfrom(ncons(X1'''''', X2''''''))))
ACTIVATE(ncons(ns(ns(nfrom(ncons(X1'''''''', X2'''''''')))), X2)) -> ACTIVATE(ns(ns(nfrom(ncons(X1'''''''', X2'''''''')))))
ACTIVATE(ns(ns(nfrom(ns(X''''''))))) -> ACTIVATE(ns(nfrom(ns(X''''''))))
ACTIVATE(ncons(ns(ns(nfrom(ns(X'''''''')))), X2)) -> ACTIVATE(ns(ns(nfrom(ns(X'''''''')))))
ACTIVATE(ns(ns(nfrom(nfrom(X''''''))))) -> ACTIVATE(ns(nfrom(nfrom(X''''''))))
ACTIVATE(ncons(ns(ns(nfrom(nfrom(X'''''''')))), X2)) -> ACTIVATE(ns(ns(nfrom(nfrom(X'''''''')))))
ACTIVATE(ncons(ns(ns(ncons(X1'''''', X2''''''))), X2)) -> ACTIVATE(ns(ns(ncons(X1'''''', X2''''''))))
ACTIVATE(ncons(ns(ns(ns(X''''''))), X2)) -> ACTIVATE(ns(ns(ns(X''''''))))
ACTIVATE(nfrom(ncons(ns(ns(X'''''')), X2'''))) -> ACTIVATE(ncons(ns(ns(X'''''')), X2'''))
ACTIVATE(ncons(nfrom(ncons(ns(ns(X'''''''')), X2'''''')), X2)) -> ACTIVATE(nfrom(ncons(ns(ns(X'''''''')), X2'''''')))
ACTIVATE(ncons(nfrom(ncons(nfrom(ncons(X1'''''''', X2'''''''')), X2'''''')), X2)) -> ACTIVATE(nfrom(ncons(nfrom(ncons(X1'''''''', X2'''''''')), X2'''''')))
ACTIVATE(ncons(nfrom(ncons(nfrom(ns(X'''''''')), X2'''''')), X2)) -> ACTIVATE(nfrom(ncons(nfrom(ns(X'''''''')), X2'''''')))
ACTIVATE(ncons(nfrom(ncons(nfrom(nfrom(X'''''''')), X2'''''')), X2)) -> ACTIVATE(nfrom(ncons(nfrom(nfrom(X'''''''')), X2'''''')))
ACTIVATE(ncons(nfrom(ncons(ncons(X1'''''', X2'''''''), X2''''')), X2)) -> ACTIVATE(nfrom(ncons(ncons(X1'''''', X2'''''''), X2''''')))
ACTIVATE(nfrom(ncons(nfrom(ncons(X1'''''', X2'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(ncons(X1'''''', X2'''''')), X2'''))
ACTIVATE(ns(nfrom(ncons(nfrom(ncons(X1'''''''', X2'''''''')), X2'''''')))) -> ACTIVATE(nfrom(ncons(nfrom(ncons(X1'''''''', X2'''''''')), X2'''''')))
ACTIVATE(ncons(nfrom(ns(nfrom(ncons(X1'''''''', X2'''''''')))), X2)) -> ACTIVATE(nfrom(ns(nfrom(ncons(X1'''''''', X2'''''''')))))
ACTIVATE(nfrom(ncons(nfrom(ns(X'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(ns(X'''''')), X2'''))
ACTIVATE(ns(nfrom(ncons(nfrom(ns(X'''''''')), X2'''''')))) -> ACTIVATE(nfrom(ncons(nfrom(ns(X'''''''')), X2'''''')))
ACTIVATE(nfrom(ncons(nfrom(nfrom(X'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(nfrom(X'''''')), X2'''))
ACTIVATE(ns(nfrom(ncons(nfrom(nfrom(X'''''''')), X2'''''')))) -> ACTIVATE(nfrom(ncons(nfrom(nfrom(X'''''''')), X2'''''')))
ACTIVATE(ns(nfrom(ncons(ncons(X1'''''', X2'''''''), X2''''')))) -> ACTIVATE(nfrom(ncons(ncons(X1'''''', X2'''''''), X2''''')))
ACTIVATE(nfrom(ns(nfrom(ncons(X1'''''', X2''''''))))) -> ACTIVATE(ns(nfrom(ncons(X1'''''', X2''''''))))
ACTIVATE(ns(nfrom(ns(nfrom(ncons(X1'''''''', X2'''''''')))))) -> ACTIVATE(nfrom(ns(nfrom(ncons(X1'''''''', X2'''''''')))))
ACTIVATE(ns(nfrom(ns(nfrom(ns(X'''''''')))))) -> ACTIVATE(nfrom(ns(nfrom(ns(X'''''''')))))
ACTIVATE(ns(nfrom(ns(nfrom(nfrom(X'''''''')))))) -> ACTIVATE(nfrom(ns(nfrom(nfrom(X'''''''')))))
ACTIVATE(ns(nfrom(ns(ncons(X1'''''', X2''''''))))) -> ACTIVATE(nfrom(ns(ncons(X1'''''', X2''''''))))
ACTIVATE(nfrom(ns(nfrom(ns(X''''''))))) -> ACTIVATE(ns(nfrom(ns(X''''''))))
ACTIVATE(ncons(nfrom(ns(nfrom(ns(X'''''''')))), X2)) -> ACTIVATE(nfrom(ns(nfrom(ns(X'''''''')))))
ACTIVATE(ns(nfrom(nfrom(ncons(X1'''''', X2''''''))))) -> ACTIVATE(nfrom(nfrom(ncons(X1'''''', X2''''''))))
ACTIVATE(ns(nfrom(nfrom(ns(X''''''))))) -> ACTIVATE(nfrom(nfrom(ns(X''''''))))
ACTIVATE(ns(nfrom(nfrom(nfrom(X''''''))))) -> ACTIVATE(nfrom(nfrom(nfrom(X''''''))))
ACTIVATE(nfrom(ns(nfrom(nfrom(X''''''))))) -> ACTIVATE(ns(nfrom(nfrom(X''''''))))
ACTIVATE(ncons(nfrom(ns(nfrom(nfrom(X'''''''')))), X2)) -> ACTIVATE(nfrom(ns(nfrom(nfrom(X'''''''')))))
ACTIVATE(ncons(nfrom(ns(ncons(X1'''''', X2''''''))), X2)) -> ACTIVATE(nfrom(ns(ncons(X1'''''', X2''''''))))
ACTIVATE(ncons(nfrom(ns(ns(X''''''))), X2)) -> ACTIVATE(nfrom(ns(ns(X''''''))))
ACTIVATE(ncons(ncons(nfrom(ns(X'''''')), X2'''), X2)) -> ACTIVATE(ncons(nfrom(ns(X'''''')), X2'''))
ACTIVATE(nfrom(ncons(ncons(X1'''', X2'''''), X2''''))) -> ACTIVATE(ncons(ncons(X1'''', X2'''''), X2''''))
ACTIVATE(nfrom(nfrom(ncons(X1'''', X2'''')))) -> ACTIVATE(nfrom(ncons(X1'''', X2'''')))
ACTIVATE(ncons(nfrom(nfrom(ncons(X1'''''', X2''''''))), X2)) -> ACTIVATE(nfrom(nfrom(ncons(X1'''''', X2''''''))))
ACTIVATE(ncons(nfrom(nfrom(ns(X''''''))), X2)) -> ACTIVATE(nfrom(nfrom(ns(X''''''))))
ACTIVATE(ns(ncons(nfrom(nfrom(X'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(nfrom(X'''''')), X2'''))
ACTIVATE(nfrom(ns(ncons(X1'''', X2'''')))) -> ACTIVATE(ns(ncons(X1'''', X2'''')))
ACTIVATE(nfrom(nfrom(ns(X'''')))) -> ACTIVATE(nfrom(ns(X'''')))
ACTIVATE(nfrom(nfrom(nfrom(X'''')))) -> ACTIVATE(nfrom(nfrom(X'''')))
ACTIVATE(ncons(nfrom(nfrom(nfrom(X''''''))), X2)) -> ACTIVATE(nfrom(nfrom(nfrom(X''''''))))
ACTIVATE(ncons(ncons(nfrom(nfrom(X'''''')), X2'''), X2)) -> ACTIVATE(ncons(nfrom(nfrom(X'''''')), X2'''))
ACTIVATE(ncons(ncons(ncons(X1'''', X2'''''), X2''''), X2)) -> ACTIVATE(ncons(ncons(X1'''', X2'''''), X2''''))
ACTIVATE(ns(ncons(ncons(X1'''', X2'''''), X2''''))) -> ACTIVATE(ncons(ncons(X1'''', X2'''''), X2''''))
ACTIVATE(ns(ns(ncons(X1'''', X2'''')))) -> ACTIVATE(ns(ncons(X1'''', X2'''')))
ACTIVATE(ns(ns(ns(X'''')))) -> ACTIVATE(ns(ns(X'''')))
ACTIVATE(nfrom(ns(ns(X'''')))) -> ACTIVATE(ns(ns(X'''')))
ACTIVATE(ns(nfrom(ns(ns(X''''''))))) -> ACTIVATE(nfrom(ns(ns(X''''''))))
ACTIVATE(ncons(ns(nfrom(ns(X''''''))), X2)) -> ACTIVATE(ns(nfrom(ns(X''''''))))
ACTIVATE(ncons(ncons(ns(nfrom(ns(X''''''''))), X2'''), X2)) -> ACTIVATE(ncons(ns(nfrom(ns(X''''''''))), X2'''))
from(X) -> cons(X, nfrom(ns(X)))
from(X) -> nfrom(X)
2ndspos(0, Z) -> rnil
2ndspos(s(N), cons(X, ncons(Y, Z))) -> rcons(posrecip(activate(Y)), 2ndsneg(N, activate(Z)))
2ndsneg(0, Z) -> rnil
2ndsneg(s(N), cons(X, ncons(Y, Z))) -> rcons(negrecip(activate(Y)), 2ndspos(N, activate(Z)))
pi(X) -> 2ndspos(X, from(0))
plus(0, Y) -> Y
plus(s(X), Y) -> s(plus(X, Y))
times(0, Y) -> 0
times(s(X), Y) -> plus(Y, times(X, Y))
square(X) -> times(X, X)
s(X) -> ns(X)
cons(X1, X2) -> ncons(X1, X2)
activate(nfrom(X)) -> from(activate(X))
activate(ns(X)) -> s(activate(X))
activate(ncons(X1, X2)) -> cons(activate(X1), X2)
activate(X) -> X
innermost
nine new Dependency Pairs are created:
ACTIVATE(ncons(ns(ncons(X1'''', X2'''')), X2)) -> ACTIVATE(ns(ncons(X1'''', X2'''')))
ACTIVATE(ncons(ns(ncons(ncons(X1'''''', X2'''''''), X2''''')), X2)) -> ACTIVATE(ns(ncons(ncons(X1'''''', X2'''''''), X2''''')))
ACTIVATE(ncons(ns(ncons(nfrom(nfrom(X'''''''')), X2'''''')), X2)) -> ACTIVATE(ns(ncons(nfrom(nfrom(X'''''''')), X2'''''')))
ACTIVATE(ncons(ns(ncons(nfrom(ns(X'''''''')), X2'''''')), X2)) -> ACTIVATE(ns(ncons(nfrom(ns(X'''''''')), X2'''''')))
ACTIVATE(ncons(ns(ncons(nfrom(ncons(X1'''''''', X2'''''''')), X2'''''')), X2)) -> ACTIVATE(ns(ncons(nfrom(ncons(X1'''''''', X2'''''''')), X2'''''')))
ACTIVATE(ncons(ns(ncons(ns(ns(X'''''''')), X2'''''')), X2)) -> ACTIVATE(ns(ncons(ns(ns(X'''''''')), X2'''''')))
ACTIVATE(ncons(ns(ncons(ns(ncons(X1'''''''', X2'''''''')), X2'''''')), X2)) -> ACTIVATE(ns(ncons(ns(ncons(X1'''''''', X2'''''''')), X2'''''')))
ACTIVATE(ncons(ns(ncons(ns(nfrom(nfrom(X''''''''''))), X2'''''')), X2)) -> ACTIVATE(ns(ncons(ns(nfrom(nfrom(X''''''''''))), X2'''''')))
ACTIVATE(ncons(ns(ncons(ns(nfrom(ns(X''''''''''))), X2'''''')), X2)) -> ACTIVATE(ns(ncons(ns(nfrom(ns(X''''''''''))), X2'''''')))
ACTIVATE(ncons(ns(ncons(ns(nfrom(ncons(X1'''''''''', X2''''''''''))), X2'''''')), X2)) -> ACTIVATE(ns(ncons(ns(nfrom(ncons(X1'''''''''', X2''''''''''))), X2'''''')))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳FwdInst
...
→DP Problem 18
↳Forward Instantiation Transformation
ACTIVATE(ncons(ncons(ns(nfrom(ns(X''''''''))), X2'''), X2)) -> ACTIVATE(ncons(ns(nfrom(ns(X''''''''))), X2'''))
ACTIVATE(ncons(ncons(ns(nfrom(nfrom(X''''''''))), X2'''), X2)) -> ACTIVATE(ncons(ns(nfrom(nfrom(X''''''''))), X2'''))
ACTIVATE(ncons(ncons(ns(ncons(X1'''''', X2'''''')), X2'''), X2)) -> ACTIVATE(ncons(ns(ncons(X1'''''', X2'''''')), X2'''))
ACTIVATE(ncons(ncons(ns(ns(X'''''')), X2'''), X2)) -> ACTIVATE(ncons(ns(ns(X'''''')), X2'''))
ACTIVATE(ncons(ncons(nfrom(ncons(X1'''''', X2'''''')), X2'''), X2)) -> ACTIVATE(ncons(nfrom(ncons(X1'''''', X2'''''')), X2'''))
ACTIVATE(ns(nfrom(ncons(ns(nfrom(ncons(X1'''''''''', X2''''''''''))), X2'''''')))) -> ACTIVATE(nfrom(ncons(ns(nfrom(ncons(X1'''''''''', X2''''''''''))), X2'''''')))
ACTIVATE(ns(nfrom(ncons(ns(nfrom(ns(X''''''''''))), X2'''''')))) -> ACTIVATE(nfrom(ncons(ns(nfrom(ns(X''''''''''))), X2'''''')))
ACTIVATE(ns(nfrom(ncons(ns(nfrom(nfrom(X''''''''''))), X2'''''')))) -> ACTIVATE(nfrom(ncons(ns(nfrom(nfrom(X''''''''''))), X2'''''')))
ACTIVATE(ns(ncons(ns(nfrom(ncons(X1'''''''', X2''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(ncons(X1'''''''', X2''''''''))), X2'''))
ACTIVATE(ncons(ns(ncons(ns(nfrom(ncons(X1'''''''''', X2''''''''''))), X2'''''')), X2)) -> ACTIVATE(ns(ncons(ns(nfrom(ncons(X1'''''''''', X2''''''''''))), X2'''''')))
ACTIVATE(ns(ncons(ns(nfrom(ns(X''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(ns(X''''''''))), X2'''))
ACTIVATE(ncons(ns(ncons(ns(nfrom(ns(X''''''''''))), X2'''''')), X2)) -> ACTIVATE(ns(ncons(ns(nfrom(ns(X''''''''''))), X2'''''')))
ACTIVATE(ns(ncons(ns(nfrom(nfrom(X''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(nfrom(X''''''''))), X2'''))
ACTIVATE(ncons(ns(ncons(ns(nfrom(nfrom(X''''''''''))), X2'''''')), X2)) -> ACTIVATE(ns(ncons(ns(nfrom(nfrom(X''''''''''))), X2'''''')))
ACTIVATE(ns(ncons(ns(ncons(X1'''''', X2'''''')), X2'''))) -> ACTIVATE(ncons(ns(ncons(X1'''''', X2'''''')), X2'''))
ACTIVATE(ncons(ns(ncons(ns(ncons(X1'''''''', X2'''''''')), X2'''''')), X2)) -> ACTIVATE(ns(ncons(ns(ncons(X1'''''''', X2'''''''')), X2'''''')))
ACTIVATE(ns(ncons(ns(ns(X'''''')), X2'''))) -> ACTIVATE(ncons(ns(ns(X'''''')), X2'''))
ACTIVATE(ncons(ns(ncons(ns(ns(X'''''''')), X2'''''')), X2)) -> ACTIVATE(ns(ncons(ns(ns(X'''''''')), X2'''''')))
ACTIVATE(nfrom(ncons(ns(nfrom(ncons(X1'''''''', X2''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(ncons(X1'''''''', X2''''''''))), X2'''))
ACTIVATE(ncons(nfrom(ncons(ns(nfrom(ncons(X1'''''''''', X2''''''''''))), X2'''''')), X2)) -> ACTIVATE(nfrom(ncons(ns(nfrom(ncons(X1'''''''''', X2''''''''''))), X2'''''')))
ACTIVATE(ncons(ns(nfrom(ns(X''''''))), X2)) -> ACTIVATE(ns(nfrom(ns(X''''''))))
ACTIVATE(nfrom(ncons(ns(nfrom(ns(X''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(ns(X''''''''))), X2'''))
ACTIVATE(ncons(nfrom(ncons(ns(nfrom(ns(X''''''''''))), X2'''''')), X2)) -> ACTIVATE(nfrom(ncons(ns(nfrom(ns(X''''''''''))), X2'''''')))
ACTIVATE(ncons(ns(nfrom(nfrom(X''''''))), X2)) -> ACTIVATE(ns(nfrom(nfrom(X''''''))))
ACTIVATE(nfrom(ncons(ns(nfrom(nfrom(X''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(nfrom(X''''''''))), X2'''))
ACTIVATE(ncons(nfrom(ncons(ns(nfrom(nfrom(X''''''''''))), X2'''''')), X2)) -> ACTIVATE(nfrom(ncons(ns(nfrom(nfrom(X''''''''''))), X2'''''')))
ACTIVATE(ncons(nfrom(ncons(ns(ncons(X1'''''''', X2'''''''')), X2'''''')), X2)) -> ACTIVATE(nfrom(ncons(ns(ncons(X1'''''''', X2'''''''')), X2'''''')))
ACTIVATE(ns(ncons(nfrom(ncons(X1'''''', X2'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(ncons(X1'''''', X2'''''')), X2'''))
ACTIVATE(ncons(ns(ncons(nfrom(ncons(X1'''''''', X2'''''''')), X2'''''')), X2)) -> ACTIVATE(ns(ncons(nfrom(ncons(X1'''''''', X2'''''''')), X2'''''')))
ACTIVATE(ncons(nfrom(ns(nfrom(ncons(X1'''''''', X2'''''''')))), X2)) -> ACTIVATE(nfrom(ns(nfrom(ncons(X1'''''''', X2'''''''')))))
ACTIVATE(ns(ncons(nfrom(ns(X'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(ns(X'''''')), X2'''))
ACTIVATE(ncons(ns(ncons(nfrom(ns(X'''''''')), X2'''''')), X2)) -> ACTIVATE(ns(ncons(nfrom(ns(X'''''''')), X2'''''')))
ACTIVATE(ncons(ns(ncons(nfrom(nfrom(X'''''''')), X2'''''')), X2)) -> ACTIVATE(ns(ncons(nfrom(nfrom(X'''''''')), X2'''''')))
ACTIVATE(ncons(ns(ncons(ncons(X1'''''', X2'''''''), X2''''')), X2)) -> ACTIVATE(ns(ncons(ncons(X1'''''', X2'''''''), X2''''')))
ACTIVATE(nfrom(ncons(ns(ncons(X1'''''', X2'''''')), X2'''))) -> ACTIVATE(ncons(ns(ncons(X1'''''', X2'''''')), X2'''))
ACTIVATE(ns(nfrom(ncons(ns(ncons(X1'''''''', X2'''''''')), X2'''''')))) -> ACTIVATE(nfrom(ncons(ns(ncons(X1'''''''', X2'''''''')), X2'''''')))
ACTIVATE(ns(nfrom(ncons(ns(ns(X'''''''')), X2'''''')))) -> ACTIVATE(nfrom(ncons(ns(ns(X'''''''')), X2'''''')))
ACTIVATE(ns(ns(nfrom(ncons(X1'''''', X2''''''))))) -> ACTIVATE(ns(nfrom(ncons(X1'''''', X2''''''))))
ACTIVATE(ncons(ns(ns(nfrom(ncons(X1'''''''', X2'''''''')))), X2)) -> ACTIVATE(ns(ns(nfrom(ncons(X1'''''''', X2'''''''')))))
ACTIVATE(ns(ns(nfrom(ns(X''''''))))) -> ACTIVATE(ns(nfrom(ns(X''''''))))
ACTIVATE(ncons(ns(ns(nfrom(ns(X'''''''')))), X2)) -> ACTIVATE(ns(ns(nfrom(ns(X'''''''')))))
ACTIVATE(ns(ns(nfrom(nfrom(X''''''))))) -> ACTIVATE(ns(nfrom(nfrom(X''''''))))
ACTIVATE(ncons(ns(ns(nfrom(nfrom(X'''''''')))), X2)) -> ACTIVATE(ns(ns(nfrom(nfrom(X'''''''')))))
ACTIVATE(ncons(ns(ns(ncons(X1'''''', X2''''''))), X2)) -> ACTIVATE(ns(ns(ncons(X1'''''', X2''''''))))
ACTIVATE(ncons(ns(ns(ns(X''''''))), X2)) -> ACTIVATE(ns(ns(ns(X''''''))))
ACTIVATE(nfrom(ncons(ns(ns(X'''''')), X2'''))) -> ACTIVATE(ncons(ns(ns(X'''''')), X2'''))
ACTIVATE(ncons(nfrom(ncons(ns(ns(X'''''''')), X2'''''')), X2)) -> ACTIVATE(nfrom(ncons(ns(ns(X'''''''')), X2'''''')))
ACTIVATE(ncons(nfrom(ncons(nfrom(ncons(X1'''''''', X2'''''''')), X2'''''')), X2)) -> ACTIVATE(nfrom(ncons(nfrom(ncons(X1'''''''', X2'''''''')), X2'''''')))
ACTIVATE(ncons(nfrom(ncons(nfrom(ns(X'''''''')), X2'''''')), X2)) -> ACTIVATE(nfrom(ncons(nfrom(ns(X'''''''')), X2'''''')))
ACTIVATE(ncons(nfrom(ncons(nfrom(nfrom(X'''''''')), X2'''''')), X2)) -> ACTIVATE(nfrom(ncons(nfrom(nfrom(X'''''''')), X2'''''')))
ACTIVATE(ncons(nfrom(ncons(ncons(X1'''''', X2'''''''), X2''''')), X2)) -> ACTIVATE(nfrom(ncons(ncons(X1'''''', X2'''''''), X2''''')))
ACTIVATE(nfrom(ncons(nfrom(ncons(X1'''''', X2'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(ncons(X1'''''', X2'''''')), X2'''))
ACTIVATE(ns(nfrom(ncons(nfrom(ncons(X1'''''''', X2'''''''')), X2'''''')))) -> ACTIVATE(nfrom(ncons(nfrom(ncons(X1'''''''', X2'''''''')), X2'''''')))
ACTIVATE(ns(nfrom(ncons(nfrom(ns(X'''''''')), X2'''''')))) -> ACTIVATE(nfrom(ncons(nfrom(ns(X'''''''')), X2'''''')))
ACTIVATE(ns(nfrom(ncons(nfrom(nfrom(X'''''''')), X2'''''')))) -> ACTIVATE(nfrom(ncons(nfrom(nfrom(X'''''''')), X2'''''')))
ACTIVATE(nfrom(ns(nfrom(ncons(X1'''''', X2''''''))))) -> ACTIVATE(ns(nfrom(ncons(X1'''''', X2''''''))))
ACTIVATE(ns(nfrom(ns(nfrom(ncons(X1'''''''', X2'''''''')))))) -> ACTIVATE(nfrom(ns(nfrom(ncons(X1'''''''', X2'''''''')))))
ACTIVATE(ns(nfrom(ns(nfrom(ns(X'''''''')))))) -> ACTIVATE(nfrom(ns(nfrom(ns(X'''''''')))))
ACTIVATE(ns(nfrom(ns(nfrom(nfrom(X'''''''')))))) -> ACTIVATE(nfrom(ns(nfrom(nfrom(X'''''''')))))
ACTIVATE(ns(nfrom(ns(ncons(X1'''''', X2''''''))))) -> ACTIVATE(nfrom(ns(ncons(X1'''''', X2''''''))))
ACTIVATE(ns(nfrom(ns(ns(X''''''))))) -> ACTIVATE(nfrom(ns(ns(X''''''))))
ACTIVATE(nfrom(ns(nfrom(ns(X''''''))))) -> ACTIVATE(ns(nfrom(ns(X''''''))))
ACTIVATE(ncons(nfrom(ns(nfrom(ns(X'''''''')))), X2)) -> ACTIVATE(nfrom(ns(nfrom(ns(X'''''''')))))
ACTIVATE(ns(nfrom(nfrom(ncons(X1'''''', X2''''''))))) -> ACTIVATE(nfrom(nfrom(ncons(X1'''''', X2''''''))))
ACTIVATE(ns(nfrom(nfrom(ns(X''''''))))) -> ACTIVATE(nfrom(nfrom(ns(X''''''))))
ACTIVATE(ns(nfrom(nfrom(nfrom(X''''''))))) -> ACTIVATE(nfrom(nfrom(nfrom(X''''''))))
ACTIVATE(nfrom(ns(nfrom(nfrom(X''''''))))) -> ACTIVATE(ns(nfrom(nfrom(X''''''))))
ACTIVATE(ncons(nfrom(ns(nfrom(nfrom(X'''''''')))), X2)) -> ACTIVATE(nfrom(ns(nfrom(nfrom(X'''''''')))))
ACTIVATE(nfrom(ncons(nfrom(ns(X'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(ns(X'''''')), X2'''))
ACTIVATE(nfrom(ncons(nfrom(nfrom(X'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(nfrom(X'''''')), X2'''))
ACTIVATE(nfrom(nfrom(ncons(X1'''', X2'''')))) -> ACTIVATE(nfrom(ncons(X1'''', X2'''')))
ACTIVATE(ncons(nfrom(nfrom(ncons(X1'''''', X2''''''))), X2)) -> ACTIVATE(nfrom(nfrom(ncons(X1'''''', X2''''''))))
ACTIVATE(ncons(nfrom(nfrom(ns(X''''''))), X2)) -> ACTIVATE(nfrom(nfrom(ns(X''''''))))
ACTIVATE(ns(ncons(nfrom(nfrom(X'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(nfrom(X'''''')), X2'''))
ACTIVATE(nfrom(ns(ncons(X1'''', X2'''')))) -> ACTIVATE(ns(ncons(X1'''', X2'''')))
ACTIVATE(ncons(nfrom(ns(ncons(X1'''''', X2''''''))), X2)) -> ACTIVATE(nfrom(ns(ncons(X1'''''', X2''''''))))
ACTIVATE(ncons(nfrom(ns(ns(X''''''))), X2)) -> ACTIVATE(nfrom(ns(ns(X''''''))))
ACTIVATE(ncons(ncons(nfrom(ns(X'''''')), X2'''), X2)) -> ACTIVATE(ncons(nfrom(ns(X'''''')), X2'''))
ACTIVATE(ns(ncons(ncons(X1'''', X2'''''), X2''''))) -> ACTIVATE(ncons(ncons(X1'''', X2'''''), X2''''))
ACTIVATE(ns(ns(ncons(X1'''', X2'''')))) -> ACTIVATE(ns(ncons(X1'''', X2'''')))
ACTIVATE(ns(ns(ns(X'''')))) -> ACTIVATE(ns(ns(X'''')))
ACTIVATE(nfrom(ns(ns(X'''')))) -> ACTIVATE(ns(ns(X'''')))
ACTIVATE(nfrom(nfrom(ns(X'''')))) -> ACTIVATE(nfrom(ns(X'''')))
ACTIVATE(nfrom(nfrom(nfrom(X'''')))) -> ACTIVATE(nfrom(nfrom(X'''')))
ACTIVATE(ncons(nfrom(nfrom(nfrom(X''''''))), X2)) -> ACTIVATE(nfrom(nfrom(nfrom(X''''''))))
ACTIVATE(ncons(ncons(nfrom(nfrom(X'''''')), X2'''), X2)) -> ACTIVATE(ncons(nfrom(nfrom(X'''''')), X2'''))
ACTIVATE(ncons(ncons(ncons(X1'''', X2'''''), X2''''), X2)) -> ACTIVATE(ncons(ncons(X1'''', X2'''''), X2''''))
ACTIVATE(nfrom(ncons(ncons(X1'''', X2'''''), X2''''))) -> ACTIVATE(ncons(ncons(X1'''', X2'''''), X2''''))
ACTIVATE(ns(nfrom(ncons(ncons(X1'''''', X2'''''''), X2''''')))) -> ACTIVATE(nfrom(ncons(ncons(X1'''''', X2'''''''), X2''''')))
ACTIVATE(ncons(ns(nfrom(ncons(X1'''''', X2''''''))), X2)) -> ACTIVATE(ns(nfrom(ncons(X1'''''', X2''''''))))
ACTIVATE(ncons(ncons(ns(nfrom(ncons(X1'''''''', X2''''''''))), X2'''), X2)) -> ACTIVATE(ncons(ns(nfrom(ncons(X1'''''''', X2''''''''))), X2'''))
from(X) -> cons(X, nfrom(ns(X)))
from(X) -> nfrom(X)
2ndspos(0, Z) -> rnil
2ndspos(s(N), cons(X, ncons(Y, Z))) -> rcons(posrecip(activate(Y)), 2ndsneg(N, activate(Z)))
2ndsneg(0, Z) -> rnil
2ndsneg(s(N), cons(X, ncons(Y, Z))) -> rcons(negrecip(activate(Y)), 2ndspos(N, activate(Z)))
pi(X) -> 2ndspos(X, from(0))
plus(0, Y) -> Y
plus(s(X), Y) -> s(plus(X, Y))
times(0, Y) -> 0
times(s(X), Y) -> plus(Y, times(X, Y))
square(X) -> times(X, X)
s(X) -> ns(X)
cons(X1, X2) -> ncons(X1, X2)
activate(nfrom(X)) -> from(activate(X))
activate(ns(X)) -> s(activate(X))
activate(ncons(X1, X2)) -> cons(activate(X1), X2)
activate(X) -> X
innermost
three new Dependency Pairs are created:
ACTIVATE(ncons(ns(nfrom(nfrom(X''''''))), X2)) -> ACTIVATE(ns(nfrom(nfrom(X''''''))))
ACTIVATE(ncons(ns(nfrom(nfrom(nfrom(X'''''''')))), X2)) -> ACTIVATE(ns(nfrom(nfrom(nfrom(X'''''''')))))
ACTIVATE(ncons(ns(nfrom(nfrom(ns(X'''''''')))), X2)) -> ACTIVATE(ns(nfrom(nfrom(ns(X'''''''')))))
ACTIVATE(ncons(ns(nfrom(nfrom(ncons(X1'''''''', X2'''''''')))), X2)) -> ACTIVATE(ns(nfrom(nfrom(ncons(X1'''''''', X2'''''''')))))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳FwdInst
...
→DP Problem 19
↳Forward Instantiation Transformation
ACTIVATE(ncons(ncons(ns(nfrom(ncons(X1'''''''', X2''''''''))), X2'''), X2)) -> ACTIVATE(ncons(ns(nfrom(ncons(X1'''''''', X2''''''''))), X2'''))
ACTIVATE(ncons(ncons(ns(nfrom(nfrom(X''''''''))), X2'''), X2)) -> ACTIVATE(ncons(ns(nfrom(nfrom(X''''''''))), X2'''))
ACTIVATE(ncons(ncons(ns(ncons(X1'''''', X2'''''')), X2'''), X2)) -> ACTIVATE(ncons(ns(ncons(X1'''''', X2'''''')), X2'''))
ACTIVATE(ncons(ncons(ns(ns(X'''''')), X2'''), X2)) -> ACTIVATE(ncons(ns(ns(X'''''')), X2'''))
ACTIVATE(ncons(ncons(nfrom(ncons(X1'''''', X2'''''')), X2'''), X2)) -> ACTIVATE(ncons(nfrom(ncons(X1'''''', X2'''''')), X2'''))
ACTIVATE(ns(ncons(ns(nfrom(ncons(X1'''''''', X2''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(ncons(X1'''''''', X2''''''''))), X2'''))
ACTIVATE(ncons(ns(ncons(ns(nfrom(ncons(X1'''''''''', X2''''''''''))), X2'''''')), X2)) -> ACTIVATE(ns(ncons(ns(nfrom(ncons(X1'''''''''', X2''''''''''))), X2'''''')))
ACTIVATE(ns(ncons(ns(nfrom(ns(X''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(ns(X''''''''))), X2'''))
ACTIVATE(ncons(ns(ncons(ns(nfrom(ns(X''''''''''))), X2'''''')), X2)) -> ACTIVATE(ns(ncons(ns(nfrom(ns(X''''''''''))), X2'''''')))
ACTIVATE(ns(ncons(ns(nfrom(nfrom(X''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(nfrom(X''''''''))), X2'''))
ACTIVATE(ncons(ns(ncons(ns(nfrom(nfrom(X''''''''''))), X2'''''')), X2)) -> ACTIVATE(ns(ncons(ns(nfrom(nfrom(X''''''''''))), X2'''''')))
ACTIVATE(ns(ncons(ns(ncons(X1'''''', X2'''''')), X2'''))) -> ACTIVATE(ncons(ns(ncons(X1'''''', X2'''''')), X2'''))
ACTIVATE(ncons(ns(ncons(ns(ncons(X1'''''''', X2'''''''')), X2'''''')), X2)) -> ACTIVATE(ns(ncons(ns(ncons(X1'''''''', X2'''''''')), X2'''''')))
ACTIVATE(ns(ncons(ns(ns(X'''''')), X2'''))) -> ACTIVATE(ncons(ns(ns(X'''''')), X2'''))
ACTIVATE(ncons(ns(ncons(ns(ns(X'''''''')), X2'''''')), X2)) -> ACTIVATE(ns(ncons(ns(ns(X'''''''')), X2'''''')))
ACTIVATE(ns(nfrom(ncons(ns(nfrom(ncons(X1'''''''''', X2''''''''''))), X2'''''')))) -> ACTIVATE(nfrom(ncons(ns(nfrom(ncons(X1'''''''''', X2''''''''''))), X2'''''')))
ACTIVATE(ns(nfrom(ncons(ns(nfrom(ns(X''''''''''))), X2'''''')))) -> ACTIVATE(nfrom(ncons(ns(nfrom(ns(X''''''''''))), X2'''''')))
ACTIVATE(ns(nfrom(ncons(ns(nfrom(nfrom(X''''''''''))), X2'''''')))) -> ACTIVATE(nfrom(ncons(ns(nfrom(nfrom(X''''''''''))), X2'''''')))
ACTIVATE(ncons(ns(nfrom(ncons(X1'''''', X2''''''))), X2)) -> ACTIVATE(ns(nfrom(ncons(X1'''''', X2''''''))))
ACTIVATE(nfrom(ncons(ns(nfrom(ncons(X1'''''''', X2''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(ncons(X1'''''''', X2''''''''))), X2'''))
ACTIVATE(ncons(nfrom(ncons(ns(nfrom(ncons(X1'''''''''', X2''''''''''))), X2'''''')), X2)) -> ACTIVATE(nfrom(ncons(ns(nfrom(ncons(X1'''''''''', X2''''''''''))), X2'''''')))
ACTIVATE(nfrom(ncons(ns(nfrom(ns(X''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(ns(X''''''''))), X2'''))
ACTIVATE(ncons(nfrom(ncons(ns(nfrom(ns(X''''''''''))), X2'''''')), X2)) -> ACTIVATE(nfrom(ncons(ns(nfrom(ns(X''''''''''))), X2'''''')))
ACTIVATE(ncons(ns(nfrom(nfrom(ncons(X1'''''''', X2'''''''')))), X2)) -> ACTIVATE(ns(nfrom(nfrom(ncons(X1'''''''', X2'''''''')))))
ACTIVATE(ncons(ns(nfrom(nfrom(ns(X'''''''')))), X2)) -> ACTIVATE(ns(nfrom(nfrom(ns(X'''''''')))))
ACTIVATE(ncons(ns(nfrom(nfrom(nfrom(X'''''''')))), X2)) -> ACTIVATE(ns(nfrom(nfrom(nfrom(X'''''''')))))
ACTIVATE(nfrom(ncons(ns(nfrom(nfrom(X''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(nfrom(X''''''''))), X2'''))
ACTIVATE(ncons(nfrom(ncons(ns(nfrom(nfrom(X''''''''''))), X2'''''')), X2)) -> ACTIVATE(nfrom(ncons(ns(nfrom(nfrom(X''''''''''))), X2'''''')))
ACTIVATE(ncons(nfrom(ncons(ns(ncons(X1'''''''', X2'''''''')), X2'''''')), X2)) -> ACTIVATE(nfrom(ncons(ns(ncons(X1'''''''', X2'''''''')), X2'''''')))
ACTIVATE(ns(ncons(nfrom(ncons(X1'''''', X2'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(ncons(X1'''''', X2'''''')), X2'''))
ACTIVATE(ncons(ns(ncons(nfrom(ncons(X1'''''''', X2'''''''')), X2'''''')), X2)) -> ACTIVATE(ns(ncons(nfrom(ncons(X1'''''''', X2'''''''')), X2'''''')))
ACTIVATE(ns(ncons(nfrom(ns(X'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(ns(X'''''')), X2'''))
ACTIVATE(ncons(ns(ncons(nfrom(ns(X'''''''')), X2'''''')), X2)) -> ACTIVATE(ns(ncons(nfrom(ns(X'''''''')), X2'''''')))
ACTIVATE(ncons(ns(ncons(nfrom(nfrom(X'''''''')), X2'''''')), X2)) -> ACTIVATE(ns(ncons(nfrom(nfrom(X'''''''')), X2'''''')))
ACTIVATE(ncons(ns(ncons(ncons(X1'''''', X2'''''''), X2''''')), X2)) -> ACTIVATE(ns(ncons(ncons(X1'''''', X2'''''''), X2''''')))
ACTIVATE(nfrom(ncons(ns(ncons(X1'''''', X2'''''')), X2'''))) -> ACTIVATE(ncons(ns(ncons(X1'''''', X2'''''')), X2'''))
ACTIVATE(ns(nfrom(ncons(ns(ncons(X1'''''''', X2'''''''')), X2'''''')))) -> ACTIVATE(nfrom(ncons(ns(ncons(X1'''''''', X2'''''''')), X2'''''')))
ACTIVATE(ns(nfrom(ncons(ns(ns(X'''''''')), X2'''''')))) -> ACTIVATE(nfrom(ncons(ns(ns(X'''''''')), X2'''''')))
ACTIVATE(ns(ns(nfrom(ncons(X1'''''', X2''''''))))) -> ACTIVATE(ns(nfrom(ncons(X1'''''', X2''''''))))
ACTIVATE(ncons(ns(ns(nfrom(ncons(X1'''''''', X2'''''''')))), X2)) -> ACTIVATE(ns(ns(nfrom(ncons(X1'''''''', X2'''''''')))))
ACTIVATE(ns(ns(nfrom(ns(X''''''))))) -> ACTIVATE(ns(nfrom(ns(X''''''))))
ACTIVATE(ncons(ns(ns(nfrom(ns(X'''''''')))), X2)) -> ACTIVATE(ns(ns(nfrom(ns(X'''''''')))))
ACTIVATE(ns(ns(nfrom(nfrom(X''''''))))) -> ACTIVATE(ns(nfrom(nfrom(X''''''))))
ACTIVATE(ncons(ns(ns(nfrom(nfrom(X'''''''')))), X2)) -> ACTIVATE(ns(ns(nfrom(nfrom(X'''''''')))))
ACTIVATE(ncons(ns(ns(ncons(X1'''''', X2''''''))), X2)) -> ACTIVATE(ns(ns(ncons(X1'''''', X2''''''))))
ACTIVATE(ncons(ns(ns(ns(X''''''))), X2)) -> ACTIVATE(ns(ns(ns(X''''''))))
ACTIVATE(nfrom(ncons(ns(ns(X'''''')), X2'''))) -> ACTIVATE(ncons(ns(ns(X'''''')), X2'''))
ACTIVATE(ncons(nfrom(ncons(ns(ns(X'''''''')), X2'''''')), X2)) -> ACTIVATE(nfrom(ncons(ns(ns(X'''''''')), X2'''''')))
ACTIVATE(ncons(nfrom(ncons(nfrom(ncons(X1'''''''', X2'''''''')), X2'''''')), X2)) -> ACTIVATE(nfrom(ncons(nfrom(ncons(X1'''''''', X2'''''''')), X2'''''')))
ACTIVATE(ncons(nfrom(ncons(nfrom(ns(X'''''''')), X2'''''')), X2)) -> ACTIVATE(nfrom(ncons(nfrom(ns(X'''''''')), X2'''''')))
ACTIVATE(ncons(nfrom(ncons(nfrom(nfrom(X'''''''')), X2'''''')), X2)) -> ACTIVATE(nfrom(ncons(nfrom(nfrom(X'''''''')), X2'''''')))
ACTIVATE(ncons(nfrom(ncons(ncons(X1'''''', X2'''''''), X2''''')), X2)) -> ACTIVATE(nfrom(ncons(ncons(X1'''''', X2'''''''), X2''''')))
ACTIVATE(nfrom(ncons(nfrom(ncons(X1'''''', X2'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(ncons(X1'''''', X2'''''')), X2'''))
ACTIVATE(ns(nfrom(ncons(nfrom(ncons(X1'''''''', X2'''''''')), X2'''''')))) -> ACTIVATE(nfrom(ncons(nfrom(ncons(X1'''''''', X2'''''''')), X2'''''')))
ACTIVATE(ncons(nfrom(ns(nfrom(ncons(X1'''''''', X2'''''''')))), X2)) -> ACTIVATE(nfrom(ns(nfrom(ncons(X1'''''''', X2'''''''')))))
ACTIVATE(nfrom(ncons(nfrom(ns(X'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(ns(X'''''')), X2'''))
ACTIVATE(ns(nfrom(ncons(nfrom(ns(X'''''''')), X2'''''')))) -> ACTIVATE(nfrom(ncons(nfrom(ns(X'''''''')), X2'''''')))
ACTIVATE(nfrom(ncons(nfrom(nfrom(X'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(nfrom(X'''''')), X2'''))
ACTIVATE(ns(nfrom(ncons(nfrom(nfrom(X'''''''')), X2'''''')))) -> ACTIVATE(nfrom(ncons(nfrom(nfrom(X'''''''')), X2'''''')))
ACTIVATE(ns(nfrom(ncons(ncons(X1'''''', X2'''''''), X2''''')))) -> ACTIVATE(nfrom(ncons(ncons(X1'''''', X2'''''''), X2''''')))
ACTIVATE(nfrom(ns(nfrom(ncons(X1'''''', X2''''''))))) -> ACTIVATE(ns(nfrom(ncons(X1'''''', X2''''''))))
ACTIVATE(ns(nfrom(ns(nfrom(ncons(X1'''''''', X2'''''''')))))) -> ACTIVATE(nfrom(ns(nfrom(ncons(X1'''''''', X2'''''''')))))
ACTIVATE(ns(nfrom(ns(nfrom(ns(X'''''''')))))) -> ACTIVATE(nfrom(ns(nfrom(ns(X'''''''')))))
ACTIVATE(ns(nfrom(ns(nfrom(nfrom(X'''''''')))))) -> ACTIVATE(nfrom(ns(nfrom(nfrom(X'''''''')))))
ACTIVATE(ns(nfrom(ns(ncons(X1'''''', X2''''''))))) -> ACTIVATE(nfrom(ns(ncons(X1'''''', X2''''''))))
ACTIVATE(nfrom(ns(nfrom(ns(X''''''))))) -> ACTIVATE(ns(nfrom(ns(X''''''))))
ACTIVATE(ncons(nfrom(ns(nfrom(ns(X'''''''')))), X2)) -> ACTIVATE(nfrom(ns(nfrom(ns(X'''''''')))))
ACTIVATE(ns(nfrom(nfrom(ncons(X1'''''', X2''''''))))) -> ACTIVATE(nfrom(nfrom(ncons(X1'''''', X2''''''))))
ACTIVATE(ns(nfrom(nfrom(ns(X''''''))))) -> ACTIVATE(nfrom(nfrom(ns(X''''''))))
ACTIVATE(ns(nfrom(nfrom(nfrom(X''''''))))) -> ACTIVATE(nfrom(nfrom(nfrom(X''''''))))
ACTIVATE(nfrom(ns(nfrom(nfrom(X''''''))))) -> ACTIVATE(ns(nfrom(nfrom(X''''''))))
ACTIVATE(ncons(nfrom(ns(nfrom(nfrom(X'''''''')))), X2)) -> ACTIVATE(nfrom(ns(nfrom(nfrom(X'''''''')))))
ACTIVATE(ncons(nfrom(ns(ncons(X1'''''', X2''''''))), X2)) -> ACTIVATE(nfrom(ns(ncons(X1'''''', X2''''''))))
ACTIVATE(ncons(nfrom(ns(ns(X''''''))), X2)) -> ACTIVATE(nfrom(ns(ns(X''''''))))
ACTIVATE(ncons(ncons(nfrom(ns(X'''''')), X2'''), X2)) -> ACTIVATE(ncons(nfrom(ns(X'''''')), X2'''))
ACTIVATE(nfrom(ncons(ncons(X1'''', X2'''''), X2''''))) -> ACTIVATE(ncons(ncons(X1'''', X2'''''), X2''''))
ACTIVATE(nfrom(nfrom(ncons(X1'''', X2'''')))) -> ACTIVATE(nfrom(ncons(X1'''', X2'''')))
ACTIVATE(ncons(nfrom(nfrom(ncons(X1'''''', X2''''''))), X2)) -> ACTIVATE(nfrom(nfrom(ncons(X1'''''', X2''''''))))
ACTIVATE(ncons(nfrom(nfrom(ns(X''''''))), X2)) -> ACTIVATE(nfrom(nfrom(ns(X''''''))))
ACTIVATE(ns(ncons(nfrom(nfrom(X'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(nfrom(X'''''')), X2'''))
ACTIVATE(nfrom(ns(ncons(X1'''', X2'''')))) -> ACTIVATE(ns(ncons(X1'''', X2'''')))
ACTIVATE(nfrom(nfrom(ns(X'''')))) -> ACTIVATE(nfrom(ns(X'''')))
ACTIVATE(nfrom(nfrom(nfrom(X'''')))) -> ACTIVATE(nfrom(nfrom(X'''')))
ACTIVATE(ncons(nfrom(nfrom(nfrom(X''''''))), X2)) -> ACTIVATE(nfrom(nfrom(nfrom(X''''''))))
ACTIVATE(ncons(ncons(nfrom(nfrom(X'''''')), X2'''), X2)) -> ACTIVATE(ncons(nfrom(nfrom(X'''''')), X2'''))
ACTIVATE(ncons(ncons(ncons(X1'''', X2'''''), X2''''), X2)) -> ACTIVATE(ncons(ncons(X1'''', X2'''''), X2''''))
ACTIVATE(ns(ncons(ncons(X1'''', X2'''''), X2''''))) -> ACTIVATE(ncons(ncons(X1'''', X2'''''), X2''''))
ACTIVATE(ns(ns(ncons(X1'''', X2'''')))) -> ACTIVATE(ns(ncons(X1'''', X2'''')))
ACTIVATE(ns(ns(ns(X'''')))) -> ACTIVATE(ns(ns(X'''')))
ACTIVATE(nfrom(ns(ns(X'''')))) -> ACTIVATE(ns(ns(X'''')))
ACTIVATE(ns(nfrom(ns(ns(X''''''))))) -> ACTIVATE(nfrom(ns(ns(X''''''))))
ACTIVATE(ncons(ns(nfrom(ns(X''''''))), X2)) -> ACTIVATE(ns(nfrom(ns(X''''''))))
ACTIVATE(ncons(ncons(ns(nfrom(ns(X''''''''))), X2'''), X2)) -> ACTIVATE(ncons(ns(nfrom(ns(X''''''''))), X2'''))
from(X) -> cons(X, nfrom(ns(X)))
from(X) -> nfrom(X)
2ndspos(0, Z) -> rnil
2ndspos(s(N), cons(X, ncons(Y, Z))) -> rcons(posrecip(activate(Y)), 2ndsneg(N, activate(Z)))
2ndsneg(0, Z) -> rnil
2ndsneg(s(N), cons(X, ncons(Y, Z))) -> rcons(negrecip(activate(Y)), 2ndspos(N, activate(Z)))
pi(X) -> 2ndspos(X, from(0))
plus(0, Y) -> Y
plus(s(X), Y) -> s(plus(X, Y))
times(0, Y) -> 0
times(s(X), Y) -> plus(Y, times(X, Y))
square(X) -> times(X, X)
s(X) -> ns(X)
cons(X1, X2) -> ncons(X1, X2)
activate(nfrom(X)) -> from(activate(X))
activate(ns(X)) -> s(activate(X))
activate(ncons(X1, X2)) -> cons(activate(X1), X2)
activate(X) -> X
innermost
five new Dependency Pairs are created:
ACTIVATE(ncons(ns(nfrom(ns(X''''''))), X2)) -> ACTIVATE(ns(nfrom(ns(X''''''))))
ACTIVATE(ncons(ns(nfrom(ns(ns(X'''''''')))), X2)) -> ACTIVATE(ns(nfrom(ns(ns(X'''''''')))))
ACTIVATE(ncons(ns(nfrom(ns(ncons(X1'''''''', X2'''''''')))), X2)) -> ACTIVATE(ns(nfrom(ns(ncons(X1'''''''', X2'''''''')))))
ACTIVATE(ncons(ns(nfrom(ns(nfrom(nfrom(X''''''''''))))), X2)) -> ACTIVATE(ns(nfrom(ns(nfrom(nfrom(X''''''''''))))))
ACTIVATE(ncons(ns(nfrom(ns(nfrom(ns(X''''''''''))))), X2)) -> ACTIVATE(ns(nfrom(ns(nfrom(ns(X''''''''''))))))
ACTIVATE(ncons(ns(nfrom(ns(nfrom(ncons(X1'''''''''', X2''''''''''))))), X2)) -> ACTIVATE(ns(nfrom(ns(nfrom(ncons(X1'''''''''', X2''''''''''))))))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳FwdInst
...
→DP Problem 20
↳Forward Instantiation Transformation
ACTIVATE(ncons(ncons(ns(nfrom(ns(X''''''''))), X2'''), X2)) -> ACTIVATE(ncons(ns(nfrom(ns(X''''''''))), X2'''))
ACTIVATE(ncons(ncons(ns(nfrom(nfrom(X''''''''))), X2'''), X2)) -> ACTIVATE(ncons(ns(nfrom(nfrom(X''''''''))), X2'''))
ACTIVATE(ncons(ncons(ns(ncons(X1'''''', X2'''''')), X2'''), X2)) -> ACTIVATE(ncons(ns(ncons(X1'''''', X2'''''')), X2'''))
ACTIVATE(ncons(ncons(ns(ns(X'''''')), X2'''), X2)) -> ACTIVATE(ncons(ns(ns(X'''''')), X2'''))
ACTIVATE(ncons(ncons(nfrom(ncons(X1'''''', X2'''''')), X2'''), X2)) -> ACTIVATE(ncons(nfrom(ncons(X1'''''', X2'''''')), X2'''))
ACTIVATE(ns(nfrom(ncons(ns(nfrom(ncons(X1'''''''''', X2''''''''''))), X2'''''')))) -> ACTIVATE(nfrom(ncons(ns(nfrom(ncons(X1'''''''''', X2''''''''''))), X2'''''')))
ACTIVATE(ns(nfrom(ncons(ns(nfrom(ns(X''''''''''))), X2'''''')))) -> ACTIVATE(nfrom(ncons(ns(nfrom(ns(X''''''''''))), X2'''''')))
ACTIVATE(ns(nfrom(ncons(ns(nfrom(nfrom(X''''''''''))), X2'''''')))) -> ACTIVATE(nfrom(ncons(ns(nfrom(nfrom(X''''''''''))), X2'''''')))
ACTIVATE(ns(ncons(ns(nfrom(ncons(X1'''''''', X2''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(ncons(X1'''''''', X2''''''''))), X2'''))
ACTIVATE(ncons(ns(ncons(ns(nfrom(ncons(X1'''''''''', X2''''''''''))), X2'''''')), X2)) -> ACTIVATE(ns(ncons(ns(nfrom(ncons(X1'''''''''', X2''''''''''))), X2'''''')))
ACTIVATE(ns(ncons(ns(nfrom(ns(X''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(ns(X''''''''))), X2'''))
ACTIVATE(ncons(ns(ncons(ns(nfrom(ns(X''''''''''))), X2'''''')), X2)) -> ACTIVATE(ns(ncons(ns(nfrom(ns(X''''''''''))), X2'''''')))
ACTIVATE(ns(ncons(ns(nfrom(nfrom(X''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(nfrom(X''''''''))), X2'''))
ACTIVATE(ncons(ns(ncons(ns(nfrom(nfrom(X''''''''''))), X2'''''')), X2)) -> ACTIVATE(ns(ncons(ns(nfrom(nfrom(X''''''''''))), X2'''''')))
ACTIVATE(ns(ncons(ns(ncons(X1'''''', X2'''''')), X2'''))) -> ACTIVATE(ncons(ns(ncons(X1'''''', X2'''''')), X2'''))
ACTIVATE(ncons(ns(ncons(ns(ncons(X1'''''''', X2'''''''')), X2'''''')), X2)) -> ACTIVATE(ns(ncons(ns(ncons(X1'''''''', X2'''''''')), X2'''''')))
ACTIVATE(ns(ncons(ns(ns(X'''''')), X2'''))) -> ACTIVATE(ncons(ns(ns(X'''''')), X2'''))
ACTIVATE(ncons(ns(ncons(ns(ns(X'''''''')), X2'''''')), X2)) -> ACTIVATE(ns(ncons(ns(ns(X'''''''')), X2'''''')))
ACTIVATE(nfrom(ncons(ns(nfrom(ncons(X1'''''''', X2''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(ncons(X1'''''''', X2''''''''))), X2'''))
ACTIVATE(ncons(nfrom(ncons(ns(nfrom(ncons(X1'''''''''', X2''''''''''))), X2'''''')), X2)) -> ACTIVATE(nfrom(ncons(ns(nfrom(ncons(X1'''''''''', X2''''''''''))), X2'''''')))
ACTIVATE(ncons(ns(nfrom(ns(nfrom(ncons(X1'''''''''', X2''''''''''))))), X2)) -> ACTIVATE(ns(nfrom(ns(nfrom(ncons(X1'''''''''', X2''''''''''))))))
ACTIVATE(ncons(ns(nfrom(ns(nfrom(ns(X''''''''''))))), X2)) -> ACTIVATE(ns(nfrom(ns(nfrom(ns(X''''''''''))))))
ACTIVATE(ncons(ns(nfrom(ns(nfrom(nfrom(X''''''''''))))), X2)) -> ACTIVATE(ns(nfrom(ns(nfrom(nfrom(X''''''''''))))))
ACTIVATE(ncons(ns(nfrom(ns(ncons(X1'''''''', X2'''''''')))), X2)) -> ACTIVATE(ns(nfrom(ns(ncons(X1'''''''', X2'''''''')))))
ACTIVATE(ncons(ns(nfrom(ns(ns(X'''''''')))), X2)) -> ACTIVATE(ns(nfrom(ns(ns(X'''''''')))))
ACTIVATE(nfrom(ncons(ns(nfrom(ns(X''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(ns(X''''''''))), X2'''))
ACTIVATE(ncons(nfrom(ncons(ns(nfrom(ns(X''''''''''))), X2'''''')), X2)) -> ACTIVATE(nfrom(ncons(ns(nfrom(ns(X''''''''''))), X2'''''')))
ACTIVATE(ncons(ns(nfrom(nfrom(ncons(X1'''''''', X2'''''''')))), X2)) -> ACTIVATE(ns(nfrom(nfrom(ncons(X1'''''''', X2'''''''')))))
ACTIVATE(ncons(ns(nfrom(nfrom(ns(X'''''''')))), X2)) -> ACTIVATE(ns(nfrom(nfrom(ns(X'''''''')))))
ACTIVATE(ncons(ns(nfrom(nfrom(nfrom(X'''''''')))), X2)) -> ACTIVATE(ns(nfrom(nfrom(nfrom(X'''''''')))))
ACTIVATE(nfrom(ncons(ns(nfrom(nfrom(X''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(nfrom(X''''''''))), X2'''))
ACTIVATE(ncons(nfrom(ncons(ns(nfrom(nfrom(X''''''''''))), X2'''''')), X2)) -> ACTIVATE(nfrom(ncons(ns(nfrom(nfrom(X''''''''''))), X2'''''')))
ACTIVATE(ncons(nfrom(ncons(ns(ncons(X1'''''''', X2'''''''')), X2'''''')), X2)) -> ACTIVATE(nfrom(ncons(ns(ncons(X1'''''''', X2'''''''')), X2'''''')))
ACTIVATE(ns(ncons(nfrom(ncons(X1'''''', X2'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(ncons(X1'''''', X2'''''')), X2'''))
ACTIVATE(ncons(ns(ncons(nfrom(ncons(X1'''''''', X2'''''''')), X2'''''')), X2)) -> ACTIVATE(ns(ncons(nfrom(ncons(X1'''''''', X2'''''''')), X2'''''')))
ACTIVATE(ncons(nfrom(ns(nfrom(ncons(X1'''''''', X2'''''''')))), X2)) -> ACTIVATE(nfrom(ns(nfrom(ncons(X1'''''''', X2'''''''')))))
ACTIVATE(ns(ncons(nfrom(ns(X'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(ns(X'''''')), X2'''))
ACTIVATE(ncons(ns(ncons(nfrom(ns(X'''''''')), X2'''''')), X2)) -> ACTIVATE(ns(ncons(nfrom(ns(X'''''''')), X2'''''')))
ACTIVATE(ncons(ns(ncons(nfrom(nfrom(X'''''''')), X2'''''')), X2)) -> ACTIVATE(ns(ncons(nfrom(nfrom(X'''''''')), X2'''''')))
ACTIVATE(ncons(ns(ncons(ncons(X1'''''', X2'''''''), X2''''')), X2)) -> ACTIVATE(ns(ncons(ncons(X1'''''', X2'''''''), X2''''')))
ACTIVATE(nfrom(ncons(ns(ncons(X1'''''', X2'''''')), X2'''))) -> ACTIVATE(ncons(ns(ncons(X1'''''', X2'''''')), X2'''))
ACTIVATE(ns(nfrom(ncons(ns(ncons(X1'''''''', X2'''''''')), X2'''''')))) -> ACTIVATE(nfrom(ncons(ns(ncons(X1'''''''', X2'''''''')), X2'''''')))
ACTIVATE(ns(nfrom(ncons(ns(ns(X'''''''')), X2'''''')))) -> ACTIVATE(nfrom(ncons(ns(ns(X'''''''')), X2'''''')))
ACTIVATE(ns(ns(nfrom(ncons(X1'''''', X2''''''))))) -> ACTIVATE(ns(nfrom(ncons(X1'''''', X2''''''))))
ACTIVATE(ncons(ns(ns(nfrom(ncons(X1'''''''', X2'''''''')))), X2)) -> ACTIVATE(ns(ns(nfrom(ncons(X1'''''''', X2'''''''')))))
ACTIVATE(ns(ns(nfrom(ns(X''''''))))) -> ACTIVATE(ns(nfrom(ns(X''''''))))
ACTIVATE(ncons(ns(ns(nfrom(ns(X'''''''')))), X2)) -> ACTIVATE(ns(ns(nfrom(ns(X'''''''')))))
ACTIVATE(ns(ns(nfrom(nfrom(X''''''))))) -> ACTIVATE(ns(nfrom(nfrom(X''''''))))
ACTIVATE(ncons(ns(ns(nfrom(nfrom(X'''''''')))), X2)) -> ACTIVATE(ns(ns(nfrom(nfrom(X'''''''')))))
ACTIVATE(ncons(ns(ns(ncons(X1'''''', X2''''''))), X2)) -> ACTIVATE(ns(ns(ncons(X1'''''', X2''''''))))
ACTIVATE(ncons(ns(ns(ns(X''''''))), X2)) -> ACTIVATE(ns(ns(ns(X''''''))))
ACTIVATE(nfrom(ncons(ns(ns(X'''''')), X2'''))) -> ACTIVATE(ncons(ns(ns(X'''''')), X2'''))
ACTIVATE(ncons(nfrom(ncons(ns(ns(X'''''''')), X2'''''')), X2)) -> ACTIVATE(nfrom(ncons(ns(ns(X'''''''')), X2'''''')))
ACTIVATE(ncons(nfrom(ncons(nfrom(ncons(X1'''''''', X2'''''''')), X2'''''')), X2)) -> ACTIVATE(nfrom(ncons(nfrom(ncons(X1'''''''', X2'''''''')), X2'''''')))
ACTIVATE(ncons(nfrom(ncons(nfrom(ns(X'''''''')), X2'''''')), X2)) -> ACTIVATE(nfrom(ncons(nfrom(ns(X'''''''')), X2'''''')))
ACTIVATE(ncons(nfrom(ncons(nfrom(nfrom(X'''''''')), X2'''''')), X2)) -> ACTIVATE(nfrom(ncons(nfrom(nfrom(X'''''''')), X2'''''')))
ACTIVATE(ncons(nfrom(ncons(ncons(X1'''''', X2'''''''), X2''''')), X2)) -> ACTIVATE(nfrom(ncons(ncons(X1'''''', X2'''''''), X2''''')))
ACTIVATE(nfrom(ncons(nfrom(ncons(X1'''''', X2'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(ncons(X1'''''', X2'''''')), X2'''))
ACTIVATE(ns(nfrom(ncons(nfrom(ncons(X1'''''''', X2'''''''')), X2'''''')))) -> ACTIVATE(nfrom(ncons(nfrom(ncons(X1'''''''', X2'''''''')), X2'''''')))
ACTIVATE(ns(nfrom(ncons(nfrom(ns(X'''''''')), X2'''''')))) -> ACTIVATE(nfrom(ncons(nfrom(ns(X'''''''')), X2'''''')))
ACTIVATE(ns(nfrom(ncons(nfrom(nfrom(X'''''''')), X2'''''')))) -> ACTIVATE(nfrom(ncons(nfrom(nfrom(X'''''''')), X2'''''')))
ACTIVATE(nfrom(ns(nfrom(ncons(X1'''''', X2''''''))))) -> ACTIVATE(ns(nfrom(ncons(X1'''''', X2''''''))))
ACTIVATE(ns(nfrom(ns(nfrom(ncons(X1'''''''', X2'''''''')))))) -> ACTIVATE(nfrom(ns(nfrom(ncons(X1'''''''', X2'''''''')))))
ACTIVATE(ns(nfrom(ns(nfrom(ns(X'''''''')))))) -> ACTIVATE(nfrom(ns(nfrom(ns(X'''''''')))))
ACTIVATE(ns(nfrom(ns(nfrom(nfrom(X'''''''')))))) -> ACTIVATE(nfrom(ns(nfrom(nfrom(X'''''''')))))
ACTIVATE(ns(nfrom(ns(ncons(X1'''''', X2''''''))))) -> ACTIVATE(nfrom(ns(ncons(X1'''''', X2''''''))))
ACTIVATE(ns(nfrom(ns(ns(X''''''))))) -> ACTIVATE(nfrom(ns(ns(X''''''))))
ACTIVATE(nfrom(ns(nfrom(ns(X''''''))))) -> ACTIVATE(ns(nfrom(ns(X''''''))))
ACTIVATE(ncons(nfrom(ns(nfrom(ns(X'''''''')))), X2)) -> ACTIVATE(nfrom(ns(nfrom(ns(X'''''''')))))
ACTIVATE(ns(nfrom(nfrom(ncons(X1'''''', X2''''''))))) -> ACTIVATE(nfrom(nfrom(ncons(X1'''''', X2''''''))))
ACTIVATE(ns(nfrom(nfrom(ns(X''''''))))) -> ACTIVATE(nfrom(nfrom(ns(X''''''))))
ACTIVATE(ns(nfrom(nfrom(nfrom(X''''''))))) -> ACTIVATE(nfrom(nfrom(nfrom(X''''''))))
ACTIVATE(nfrom(ns(nfrom(nfrom(X''''''))))) -> ACTIVATE(ns(nfrom(nfrom(X''''''))))
ACTIVATE(ncons(nfrom(ns(nfrom(nfrom(X'''''''')))), X2)) -> ACTIVATE(nfrom(ns(nfrom(nfrom(X'''''''')))))
ACTIVATE(nfrom(ncons(nfrom(ns(X'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(ns(X'''''')), X2'''))
ACTIVATE(nfrom(ncons(nfrom(nfrom(X'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(nfrom(X'''''')), X2'''))
ACTIVATE(nfrom(nfrom(ncons(X1'''', X2'''')))) -> ACTIVATE(nfrom(ncons(X1'''', X2'''')))
ACTIVATE(ncons(nfrom(nfrom(ncons(X1'''''', X2''''''))), X2)) -> ACTIVATE(nfrom(nfrom(ncons(X1'''''', X2''''''))))
ACTIVATE(ncons(nfrom(nfrom(ns(X''''''))), X2)) -> ACTIVATE(nfrom(nfrom(ns(X''''''))))
ACTIVATE(ns(ncons(nfrom(nfrom(X'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(nfrom(X'''''')), X2'''))
ACTIVATE(nfrom(ns(ncons(X1'''', X2'''')))) -> ACTIVATE(ns(ncons(X1'''', X2'''')))
ACTIVATE(ncons(nfrom(ns(ncons(X1'''''', X2''''''))), X2)) -> ACTIVATE(nfrom(ns(ncons(X1'''''', X2''''''))))
ACTIVATE(ncons(nfrom(ns(ns(X''''''))), X2)) -> ACTIVATE(nfrom(ns(ns(X''''''))))
ACTIVATE(ncons(ncons(nfrom(ns(X'''''')), X2'''), X2)) -> ACTIVATE(ncons(nfrom(ns(X'''''')), X2'''))
ACTIVATE(ns(ncons(ncons(X1'''', X2'''''), X2''''))) -> ACTIVATE(ncons(ncons(X1'''', X2'''''), X2''''))
ACTIVATE(ns(ns(ncons(X1'''', X2'''')))) -> ACTIVATE(ns(ncons(X1'''', X2'''')))
ACTIVATE(ns(ns(ns(X'''')))) -> ACTIVATE(ns(ns(X'''')))
ACTIVATE(nfrom(ns(ns(X'''')))) -> ACTIVATE(ns(ns(X'''')))
ACTIVATE(nfrom(nfrom(ns(X'''')))) -> ACTIVATE(nfrom(ns(X'''')))
ACTIVATE(nfrom(nfrom(nfrom(X'''')))) -> ACTIVATE(nfrom(nfrom(X'''')))
ACTIVATE(ncons(nfrom(nfrom(nfrom(X''''''))), X2)) -> ACTIVATE(nfrom(nfrom(nfrom(X''''''))))
ACTIVATE(ncons(ncons(nfrom(nfrom(X'''''')), X2'''), X2)) -> ACTIVATE(ncons(nfrom(nfrom(X'''''')), X2'''))
ACTIVATE(ncons(ncons(ncons(X1'''', X2'''''), X2''''), X2)) -> ACTIVATE(ncons(ncons(X1'''', X2'''''), X2''''))
ACTIVATE(nfrom(ncons(ncons(X1'''', X2'''''), X2''''))) -> ACTIVATE(ncons(ncons(X1'''', X2'''''), X2''''))
ACTIVATE(ns(nfrom(ncons(ncons(X1'''''', X2'''''''), X2''''')))) -> ACTIVATE(nfrom(ncons(ncons(X1'''''', X2'''''''), X2''''')))
ACTIVATE(ncons(ns(nfrom(ncons(X1'''''', X2''''''))), X2)) -> ACTIVATE(ns(nfrom(ncons(X1'''''', X2''''''))))
ACTIVATE(ncons(ncons(ns(nfrom(ncons(X1'''''''', X2''''''''))), X2'''), X2)) -> ACTIVATE(ncons(ns(nfrom(ncons(X1'''''''', X2''''''''))), X2'''))
from(X) -> cons(X, nfrom(ns(X)))
from(X) -> nfrom(X)
2ndspos(0, Z) -> rnil
2ndspos(s(N), cons(X, ncons(Y, Z))) -> rcons(posrecip(activate(Y)), 2ndsneg(N, activate(Z)))
2ndsneg(0, Z) -> rnil
2ndsneg(s(N), cons(X, ncons(Y, Z))) -> rcons(negrecip(activate(Y)), 2ndspos(N, activate(Z)))
pi(X) -> 2ndspos(X, from(0))
plus(0, Y) -> Y
plus(s(X), Y) -> s(plus(X, Y))
times(0, Y) -> 0
times(s(X), Y) -> plus(Y, times(X, Y))
square(X) -> times(X, X)
s(X) -> ns(X)
cons(X1, X2) -> ncons(X1, X2)
activate(nfrom(X)) -> from(activate(X))
activate(ns(X)) -> s(activate(X))
activate(ncons(X1, X2)) -> cons(activate(X1), X2)
activate(X) -> X
innermost
nine new Dependency Pairs are created:
ACTIVATE(ncons(ns(nfrom(ncons(X1'''''', X2''''''))), X2)) -> ACTIVATE(ns(nfrom(ncons(X1'''''', X2''''''))))
ACTIVATE(ncons(ns(nfrom(ncons(ncons(X1'''''''', X2'''''''''), X2'''''''))), X2)) -> ACTIVATE(ns(nfrom(ncons(ncons(X1'''''''', X2'''''''''), X2'''''''))))
ACTIVATE(ncons(ns(nfrom(ncons(nfrom(nfrom(X'''''''''')), X2''''''''))), X2)) -> ACTIVATE(ns(nfrom(ncons(nfrom(nfrom(X'''''''''')), X2''''''''))))
ACTIVATE(ncons(ns(nfrom(ncons(nfrom(ns(X'''''''''')), X2''''''''))), X2)) -> ACTIVATE(ns(nfrom(ncons(nfrom(ns(X'''''''''')), X2''''''''))))
ACTIVATE(ncons(ns(nfrom(ncons(nfrom(ncons(X1'''''''''', X2'''''''''')), X2''''''''))), X2)) -> ACTIVATE(ns(nfrom(ncons(nfrom(ncons(X1'''''''''', X2'''''''''')), X2''''''''))))
ACTIVATE(ncons(ns(nfrom(ncons(ns(ns(X'''''''''')), X2''''''''))), X2)) -> ACTIVATE(ns(nfrom(ncons(ns(ns(X'''''''''')), X2''''''''))))
ACTIVATE(ncons(ns(nfrom(ncons(ns(ncons(X1'''''''''', X2'''''''''')), X2''''''''))), X2)) -> ACTIVATE(ns(nfrom(ncons(ns(ncons(X1'''''''''', X2'''''''''')), X2''''''''))))
ACTIVATE(ncons(ns(nfrom(ncons(ns(nfrom(nfrom(X''''''''''''))), X2''''''''))), X2)) -> ACTIVATE(ns(nfrom(ncons(ns(nfrom(nfrom(X''''''''''''))), X2''''''''))))
ACTIVATE(ncons(ns(nfrom(ncons(ns(nfrom(ns(X''''''''''''))), X2''''''''))), X2)) -> ACTIVATE(ns(nfrom(ncons(ns(nfrom(ns(X''''''''''''))), X2''''''''))))
ACTIVATE(ncons(ns(nfrom(ncons(ns(nfrom(ncons(X1'''''''''''', X2''''''''''''))), X2''''''''))), X2)) -> ACTIVATE(ns(nfrom(ncons(ns(nfrom(ncons(X1'''''''''''', X2''''''''''''))), X2''''''''))))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳FwdInst
...
→DP Problem 21
↳Polynomial Ordering
ACTIVATE(ncons(ncons(ns(nfrom(ncons(X1'''''''', X2''''''''))), X2'''), X2)) -> ACTIVATE(ncons(ns(nfrom(ncons(X1'''''''', X2''''''''))), X2'''))
ACTIVATE(ncons(ncons(ns(nfrom(nfrom(X''''''''))), X2'''), X2)) -> ACTIVATE(ncons(ns(nfrom(nfrom(X''''''''))), X2'''))
ACTIVATE(ncons(ncons(ns(ncons(X1'''''', X2'''''')), X2'''), X2)) -> ACTIVATE(ncons(ns(ncons(X1'''''', X2'''''')), X2'''))
ACTIVATE(ncons(ncons(ns(ns(X'''''')), X2'''), X2)) -> ACTIVATE(ncons(ns(ns(X'''''')), X2'''))
ACTIVATE(ncons(ncons(nfrom(ncons(X1'''''', X2'''''')), X2'''), X2)) -> ACTIVATE(ncons(nfrom(ncons(X1'''''', X2'''''')), X2'''))
ACTIVATE(ns(ncons(ns(nfrom(ncons(X1'''''''', X2''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(ncons(X1'''''''', X2''''''''))), X2'''))
ACTIVATE(ncons(ns(ncons(ns(nfrom(ncons(X1'''''''''', X2''''''''''))), X2'''''')), X2)) -> ACTIVATE(ns(ncons(ns(nfrom(ncons(X1'''''''''', X2''''''''''))), X2'''''')))
ACTIVATE(ns(ncons(ns(nfrom(ns(X''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(ns(X''''''''))), X2'''))
ACTIVATE(ncons(ns(ncons(ns(nfrom(ns(X''''''''''))), X2'''''')), X2)) -> ACTIVATE(ns(ncons(ns(nfrom(ns(X''''''''''))), X2'''''')))
ACTIVATE(ns(ncons(ns(nfrom(nfrom(X''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(nfrom(X''''''''))), X2'''))
ACTIVATE(ncons(ns(ncons(ns(nfrom(nfrom(X''''''''''))), X2'''''')), X2)) -> ACTIVATE(ns(ncons(ns(nfrom(nfrom(X''''''''''))), X2'''''')))
ACTIVATE(ns(ncons(ns(ncons(X1'''''', X2'''''')), X2'''))) -> ACTIVATE(ncons(ns(ncons(X1'''''', X2'''''')), X2'''))
ACTIVATE(ncons(ns(ncons(ns(ncons(X1'''''''', X2'''''''')), X2'''''')), X2)) -> ACTIVATE(ns(ncons(ns(ncons(X1'''''''', X2'''''''')), X2'''''')))
ACTIVATE(ns(ncons(ns(ns(X'''''')), X2'''))) -> ACTIVATE(ncons(ns(ns(X'''''')), X2'''))
ACTIVATE(ncons(ns(ncons(ns(ns(X'''''''')), X2'''''')), X2)) -> ACTIVATE(ns(ncons(ns(ns(X'''''''')), X2'''''')))
ACTIVATE(ns(nfrom(ncons(ns(nfrom(ncons(X1'''''''''', X2''''''''''))), X2'''''')))) -> ACTIVATE(nfrom(ncons(ns(nfrom(ncons(X1'''''''''', X2''''''''''))), X2'''''')))
ACTIVATE(ncons(ns(nfrom(ncons(ns(nfrom(ncons(X1'''''''''''', X2''''''''''''))), X2''''''''))), X2)) -> ACTIVATE(ns(nfrom(ncons(ns(nfrom(ncons(X1'''''''''''', X2''''''''''''))), X2''''''''))))
ACTIVATE(ns(nfrom(ncons(ns(nfrom(ns(X''''''''''))), X2'''''')))) -> ACTIVATE(nfrom(ncons(ns(nfrom(ns(X''''''''''))), X2'''''')))
ACTIVATE(ncons(ns(nfrom(ncons(ns(nfrom(ns(X''''''''''''))), X2''''''''))), X2)) -> ACTIVATE(ns(nfrom(ncons(ns(nfrom(ns(X''''''''''''))), X2''''''''))))
ACTIVATE(ns(nfrom(ncons(ns(nfrom(nfrom(X''''''''''))), X2'''''')))) -> ACTIVATE(nfrom(ncons(ns(nfrom(nfrom(X''''''''''))), X2'''''')))
ACTIVATE(ncons(ns(nfrom(ncons(ns(nfrom(nfrom(X''''''''''''))), X2''''''''))), X2)) -> ACTIVATE(ns(nfrom(ncons(ns(nfrom(nfrom(X''''''''''''))), X2''''''''))))
ACTIVATE(ncons(ns(nfrom(ncons(ns(ncons(X1'''''''''', X2'''''''''')), X2''''''''))), X2)) -> ACTIVATE(ns(nfrom(ncons(ns(ncons(X1'''''''''', X2'''''''''')), X2''''''''))))
ACTIVATE(ncons(ns(nfrom(ncons(ns(ns(X'''''''''')), X2''''''''))), X2)) -> ACTIVATE(ns(nfrom(ncons(ns(ns(X'''''''''')), X2''''''''))))
ACTIVATE(ncons(ns(nfrom(ncons(nfrom(ncons(X1'''''''''', X2'''''''''')), X2''''''''))), X2)) -> ACTIVATE(ns(nfrom(ncons(nfrom(ncons(X1'''''''''', X2'''''''''')), X2''''''''))))
ACTIVATE(ncons(ns(nfrom(ncons(nfrom(ns(X'''''''''')), X2''''''''))), X2)) -> ACTIVATE(ns(nfrom(ncons(nfrom(ns(X'''''''''')), X2''''''''))))
ACTIVATE(ncons(ns(nfrom(ncons(nfrom(nfrom(X'''''''''')), X2''''''''))), X2)) -> ACTIVATE(ns(nfrom(ncons(nfrom(nfrom(X'''''''''')), X2''''''''))))
ACTIVATE(ncons(ns(nfrom(ncons(ncons(X1'''''''', X2'''''''''), X2'''''''))), X2)) -> ACTIVATE(ns(nfrom(ncons(ncons(X1'''''''', X2'''''''''), X2'''''''))))
ACTIVATE(nfrom(ncons(ns(nfrom(ncons(X1'''''''', X2''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(ncons(X1'''''''', X2''''''''))), X2'''))
ACTIVATE(ncons(nfrom(ncons(ns(nfrom(ncons(X1'''''''''', X2''''''''''))), X2'''''')), X2)) -> ACTIVATE(nfrom(ncons(ns(nfrom(ncons(X1'''''''''', X2''''''''''))), X2'''''')))
ACTIVATE(ncons(ns(nfrom(ns(nfrom(ncons(X1'''''''''', X2''''''''''))))), X2)) -> ACTIVATE(ns(nfrom(ns(nfrom(ncons(X1'''''''''', X2''''''''''))))))
ACTIVATE(ncons(ns(nfrom(ns(nfrom(ns(X''''''''''))))), X2)) -> ACTIVATE(ns(nfrom(ns(nfrom(ns(X''''''''''))))))
ACTIVATE(ncons(ns(nfrom(ns(nfrom(nfrom(X''''''''''))))), X2)) -> ACTIVATE(ns(nfrom(ns(nfrom(nfrom(X''''''''''))))))
ACTIVATE(ncons(ns(nfrom(ns(ncons(X1'''''''', X2'''''''')))), X2)) -> ACTIVATE(ns(nfrom(ns(ncons(X1'''''''', X2'''''''')))))
ACTIVATE(nfrom(ncons(ns(nfrom(ns(X''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(ns(X''''''''))), X2'''))
ACTIVATE(ncons(nfrom(ncons(ns(nfrom(ns(X''''''''''))), X2'''''')), X2)) -> ACTIVATE(nfrom(ncons(ns(nfrom(ns(X''''''''''))), X2'''''')))
ACTIVATE(ncons(ns(nfrom(nfrom(ncons(X1'''''''', X2'''''''')))), X2)) -> ACTIVATE(ns(nfrom(nfrom(ncons(X1'''''''', X2'''''''')))))
ACTIVATE(ncons(ns(nfrom(nfrom(ns(X'''''''')))), X2)) -> ACTIVATE(ns(nfrom(nfrom(ns(X'''''''')))))
ACTIVATE(ncons(ns(nfrom(nfrom(nfrom(X'''''''')))), X2)) -> ACTIVATE(ns(nfrom(nfrom(nfrom(X'''''''')))))
ACTIVATE(nfrom(ncons(ns(nfrom(nfrom(X''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(nfrom(X''''''''))), X2'''))
ACTIVATE(ncons(nfrom(ncons(ns(nfrom(nfrom(X''''''''''))), X2'''''')), X2)) -> ACTIVATE(nfrom(ncons(ns(nfrom(nfrom(X''''''''''))), X2'''''')))
ACTIVATE(ncons(nfrom(ncons(ns(ncons(X1'''''''', X2'''''''')), X2'''''')), X2)) -> ACTIVATE(nfrom(ncons(ns(ncons(X1'''''''', X2'''''''')), X2'''''')))
ACTIVATE(ns(ncons(nfrom(ncons(X1'''''', X2'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(ncons(X1'''''', X2'''''')), X2'''))
ACTIVATE(ncons(ns(ncons(nfrom(ncons(X1'''''''', X2'''''''')), X2'''''')), X2)) -> ACTIVATE(ns(ncons(nfrom(ncons(X1'''''''', X2'''''''')), X2'''''')))
ACTIVATE(ns(ncons(nfrom(ns(X'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(ns(X'''''')), X2'''))
ACTIVATE(ncons(ns(ncons(nfrom(ns(X'''''''')), X2'''''')), X2)) -> ACTIVATE(ns(ncons(nfrom(ns(X'''''''')), X2'''''')))
ACTIVATE(ncons(ns(ncons(nfrom(nfrom(X'''''''')), X2'''''')), X2)) -> ACTIVATE(ns(ncons(nfrom(nfrom(X'''''''')), X2'''''')))
ACTIVATE(ncons(ns(ncons(ncons(X1'''''', X2'''''''), X2''''')), X2)) -> ACTIVATE(ns(ncons(ncons(X1'''''', X2'''''''), X2''''')))
ACTIVATE(nfrom(ncons(ns(ncons(X1'''''', X2'''''')), X2'''))) -> ACTIVATE(ncons(ns(ncons(X1'''''', X2'''''')), X2'''))
ACTIVATE(ns(nfrom(ncons(ns(ncons(X1'''''''', X2'''''''')), X2'''''')))) -> ACTIVATE(nfrom(ncons(ns(ncons(X1'''''''', X2'''''''')), X2'''''')))
ACTIVATE(ns(nfrom(ncons(ns(ns(X'''''''')), X2'''''')))) -> ACTIVATE(nfrom(ncons(ns(ns(X'''''''')), X2'''''')))
ACTIVATE(ns(ns(nfrom(ncons(X1'''''', X2''''''))))) -> ACTIVATE(ns(nfrom(ncons(X1'''''', X2''''''))))
ACTIVATE(ncons(ns(ns(nfrom(ncons(X1'''''''', X2'''''''')))), X2)) -> ACTIVATE(ns(ns(nfrom(ncons(X1'''''''', X2'''''''')))))
ACTIVATE(ns(ns(nfrom(ns(X''''''))))) -> ACTIVATE(ns(nfrom(ns(X''''''))))
ACTIVATE(ncons(ns(ns(nfrom(ns(X'''''''')))), X2)) -> ACTIVATE(ns(ns(nfrom(ns(X'''''''')))))
ACTIVATE(ns(ns(nfrom(nfrom(X''''''))))) -> ACTIVATE(ns(nfrom(nfrom(X''''''))))
ACTIVATE(ncons(ns(ns(nfrom(nfrom(X'''''''')))), X2)) -> ACTIVATE(ns(ns(nfrom(nfrom(X'''''''')))))
ACTIVATE(ncons(ns(ns(ncons(X1'''''', X2''''''))), X2)) -> ACTIVATE(ns(ns(ncons(X1'''''', X2''''''))))
ACTIVATE(ncons(ns(ns(ns(X''''''))), X2)) -> ACTIVATE(ns(ns(ns(X''''''))))
ACTIVATE(nfrom(ncons(ns(ns(X'''''')), X2'''))) -> ACTIVATE(ncons(ns(ns(X'''''')), X2'''))
ACTIVATE(ncons(nfrom(ncons(ns(ns(X'''''''')), X2'''''')), X2)) -> ACTIVATE(nfrom(ncons(ns(ns(X'''''''')), X2'''''')))
ACTIVATE(ncons(nfrom(ncons(nfrom(ncons(X1'''''''', X2'''''''')), X2'''''')), X2)) -> ACTIVATE(nfrom(ncons(nfrom(ncons(X1'''''''', X2'''''''')), X2'''''')))
ACTIVATE(ncons(nfrom(ncons(nfrom(ns(X'''''''')), X2'''''')), X2)) -> ACTIVATE(nfrom(ncons(nfrom(ns(X'''''''')), X2'''''')))
ACTIVATE(ncons(nfrom(ncons(nfrom(nfrom(X'''''''')), X2'''''')), X2)) -> ACTIVATE(nfrom(ncons(nfrom(nfrom(X'''''''')), X2'''''')))
ACTIVATE(ncons(nfrom(ncons(ncons(X1'''''', X2'''''''), X2''''')), X2)) -> ACTIVATE(nfrom(ncons(ncons(X1'''''', X2'''''''), X2''''')))
ACTIVATE(nfrom(ncons(nfrom(ncons(X1'''''', X2'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(ncons(X1'''''', X2'''''')), X2'''))
ACTIVATE(ns(nfrom(ncons(nfrom(ncons(X1'''''''', X2'''''''')), X2'''''')))) -> ACTIVATE(nfrom(ncons(nfrom(ncons(X1'''''''', X2'''''''')), X2'''''')))
ACTIVATE(ncons(nfrom(ns(nfrom(ncons(X1'''''''', X2'''''''')))), X2)) -> ACTIVATE(nfrom(ns(nfrom(ncons(X1'''''''', X2'''''''')))))
ACTIVATE(nfrom(ncons(nfrom(ns(X'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(ns(X'''''')), X2'''))
ACTIVATE(ns(nfrom(ncons(nfrom(ns(X'''''''')), X2'''''')))) -> ACTIVATE(nfrom(ncons(nfrom(ns(X'''''''')), X2'''''')))
ACTIVATE(nfrom(ncons(nfrom(nfrom(X'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(nfrom(X'''''')), X2'''))
ACTIVATE(ns(nfrom(ncons(nfrom(nfrom(X'''''''')), X2'''''')))) -> ACTIVATE(nfrom(ncons(nfrom(nfrom(X'''''''')), X2'''''')))
ACTIVATE(ns(nfrom(ncons(ncons(X1'''''', X2'''''''), X2''''')))) -> ACTIVATE(nfrom(ncons(ncons(X1'''''', X2'''''''), X2''''')))
ACTIVATE(nfrom(ns(nfrom(ncons(X1'''''', X2''''''))))) -> ACTIVATE(ns(nfrom(ncons(X1'''''', X2''''''))))
ACTIVATE(ns(nfrom(ns(nfrom(ncons(X1'''''''', X2'''''''')))))) -> ACTIVATE(nfrom(ns(nfrom(ncons(X1'''''''', X2'''''''')))))
ACTIVATE(ns(nfrom(ns(nfrom(ns(X'''''''')))))) -> ACTIVATE(nfrom(ns(nfrom(ns(X'''''''')))))
ACTIVATE(ns(nfrom(ns(nfrom(nfrom(X'''''''')))))) -> ACTIVATE(nfrom(ns(nfrom(nfrom(X'''''''')))))
ACTIVATE(ns(nfrom(ns(ncons(X1'''''', X2''''''))))) -> ACTIVATE(nfrom(ns(ncons(X1'''''', X2''''''))))
ACTIVATE(nfrom(ns(nfrom(ns(X''''''))))) -> ACTIVATE(ns(nfrom(ns(X''''''))))
ACTIVATE(ncons(nfrom(ns(nfrom(ns(X'''''''')))), X2)) -> ACTIVATE(nfrom(ns(nfrom(ns(X'''''''')))))
ACTIVATE(ns(nfrom(nfrom(ncons(X1'''''', X2''''''))))) -> ACTIVATE(nfrom(nfrom(ncons(X1'''''', X2''''''))))
ACTIVATE(ns(nfrom(nfrom(ns(X''''''))))) -> ACTIVATE(nfrom(nfrom(ns(X''''''))))
ACTIVATE(ns(nfrom(nfrom(nfrom(X''''''))))) -> ACTIVATE(nfrom(nfrom(nfrom(X''''''))))
ACTIVATE(nfrom(ns(nfrom(nfrom(X''''''))))) -> ACTIVATE(ns(nfrom(nfrom(X''''''))))
ACTIVATE(ncons(nfrom(ns(nfrom(nfrom(X'''''''')))), X2)) -> ACTIVATE(nfrom(ns(nfrom(nfrom(X'''''''')))))
ACTIVATE(ncons(nfrom(ns(ncons(X1'''''', X2''''''))), X2)) -> ACTIVATE(nfrom(ns(ncons(X1'''''', X2''''''))))
ACTIVATE(ncons(nfrom(ns(ns(X''''''))), X2)) -> ACTIVATE(nfrom(ns(ns(X''''''))))
ACTIVATE(ncons(ncons(nfrom(ns(X'''''')), X2'''), X2)) -> ACTIVATE(ncons(nfrom(ns(X'''''')), X2'''))
ACTIVATE(nfrom(ncons(ncons(X1'''', X2'''''), X2''''))) -> ACTIVATE(ncons(ncons(X1'''', X2'''''), X2''''))
ACTIVATE(nfrom(nfrom(ncons(X1'''', X2'''')))) -> ACTIVATE(nfrom(ncons(X1'''', X2'''')))
ACTIVATE(ncons(nfrom(nfrom(ncons(X1'''''', X2''''''))), X2)) -> ACTIVATE(nfrom(nfrom(ncons(X1'''''', X2''''''))))
ACTIVATE(ncons(nfrom(nfrom(ns(X''''''))), X2)) -> ACTIVATE(nfrom(nfrom(ns(X''''''))))
ACTIVATE(ns(ncons(nfrom(nfrom(X'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(nfrom(X'''''')), X2'''))
ACTIVATE(nfrom(ns(ncons(X1'''', X2'''')))) -> ACTIVATE(ns(ncons(X1'''', X2'''')))
ACTIVATE(nfrom(nfrom(ns(X'''')))) -> ACTIVATE(nfrom(ns(X'''')))
ACTIVATE(nfrom(nfrom(nfrom(X'''')))) -> ACTIVATE(nfrom(nfrom(X'''')))
ACTIVATE(ncons(nfrom(nfrom(nfrom(X''''''))), X2)) -> ACTIVATE(nfrom(nfrom(nfrom(X''''''))))
ACTIVATE(ncons(ncons(nfrom(nfrom(X'''''')), X2'''), X2)) -> ACTIVATE(ncons(nfrom(nfrom(X'''''')), X2'''))
ACTIVATE(ncons(ncons(ncons(X1'''', X2'''''), X2''''), X2)) -> ACTIVATE(ncons(ncons(X1'''', X2'''''), X2''''))
ACTIVATE(ns(ncons(ncons(X1'''', X2'''''), X2''''))) -> ACTIVATE(ncons(ncons(X1'''', X2'''''), X2''''))
ACTIVATE(ns(ns(ncons(X1'''', X2'''')))) -> ACTIVATE(ns(ncons(X1'''', X2'''')))
ACTIVATE(ns(ns(ns(X'''')))) -> ACTIVATE(ns(ns(X'''')))
ACTIVATE(nfrom(ns(ns(X'''')))) -> ACTIVATE(ns(ns(X'''')))
ACTIVATE(ns(nfrom(ns(ns(X''''''))))) -> ACTIVATE(nfrom(ns(ns(X''''''))))
ACTIVATE(ncons(ns(nfrom(ns(ns(X'''''''')))), X2)) -> ACTIVATE(ns(nfrom(ns(ns(X'''''''')))))
ACTIVATE(ncons(ncons(ns(nfrom(ns(X''''''''))), X2'''), X2)) -> ACTIVATE(ncons(ns(nfrom(ns(X''''''''))), X2'''))
from(X) -> cons(X, nfrom(ns(X)))
from(X) -> nfrom(X)
2ndspos(0, Z) -> rnil
2ndspos(s(N), cons(X, ncons(Y, Z))) -> rcons(posrecip(activate(Y)), 2ndsneg(N, activate(Z)))
2ndsneg(0, Z) -> rnil
2ndsneg(s(N), cons(X, ncons(Y, Z))) -> rcons(negrecip(activate(Y)), 2ndspos(N, activate(Z)))
pi(X) -> 2ndspos(X, from(0))
plus(0, Y) -> Y
plus(s(X), Y) -> s(plus(X, Y))
times(0, Y) -> 0
times(s(X), Y) -> plus(Y, times(X, Y))
square(X) -> times(X, X)
s(X) -> ns(X)
cons(X1, X2) -> ncons(X1, X2)
activate(nfrom(X)) -> from(activate(X))
activate(ns(X)) -> s(activate(X))
activate(ncons(X1, X2)) -> cons(activate(X1), X2)
activate(X) -> X
innermost
ACTIVATE(ncons(ncons(ns(nfrom(ncons(X1'''''''', X2''''''''))), X2'''), X2)) -> ACTIVATE(ncons(ns(nfrom(ncons(X1'''''''', X2''''''''))), X2'''))
ACTIVATE(ncons(ncons(ns(nfrom(nfrom(X''''''''))), X2'''), X2)) -> ACTIVATE(ncons(ns(nfrom(nfrom(X''''''''))), X2'''))
ACTIVATE(ncons(ncons(ns(ncons(X1'''''', X2'''''')), X2'''), X2)) -> ACTIVATE(ncons(ns(ncons(X1'''''', X2'''''')), X2'''))
ACTIVATE(ncons(ncons(ns(ns(X'''''')), X2'''), X2)) -> ACTIVATE(ncons(ns(ns(X'''''')), X2'''))
ACTIVATE(ncons(ncons(nfrom(ncons(X1'''''', X2'''''')), X2'''), X2)) -> ACTIVATE(ncons(nfrom(ncons(X1'''''', X2'''''')), X2'''))
ACTIVATE(ncons(ns(ncons(ns(nfrom(ncons(X1'''''''''', X2''''''''''))), X2'''''')), X2)) -> ACTIVATE(ns(ncons(ns(nfrom(ncons(X1'''''''''', X2''''''''''))), X2'''''')))
ACTIVATE(ncons(ns(ncons(ns(nfrom(ns(X''''''''''))), X2'''''')), X2)) -> ACTIVATE(ns(ncons(ns(nfrom(ns(X''''''''''))), X2'''''')))
ACTIVATE(ncons(ns(ncons(ns(nfrom(nfrom(X''''''''''))), X2'''''')), X2)) -> ACTIVATE(ns(ncons(ns(nfrom(nfrom(X''''''''''))), X2'''''')))
ACTIVATE(ncons(ns(ncons(ns(ncons(X1'''''''', X2'''''''')), X2'''''')), X2)) -> ACTIVATE(ns(ncons(ns(ncons(X1'''''''', X2'''''''')), X2'''''')))
ACTIVATE(ncons(ns(ncons(ns(ns(X'''''''')), X2'''''')), X2)) -> ACTIVATE(ns(ncons(ns(ns(X'''''''')), X2'''''')))
ACTIVATE(ncons(ns(nfrom(ncons(ns(nfrom(ncons(X1'''''''''''', X2''''''''''''))), X2''''''''))), X2)) -> ACTIVATE(ns(nfrom(ncons(ns(nfrom(ncons(X1'''''''''''', X2''''''''''''))), X2''''''''))))
ACTIVATE(ncons(ns(nfrom(ncons(ns(nfrom(ns(X''''''''''''))), X2''''''''))), X2)) -> ACTIVATE(ns(nfrom(ncons(ns(nfrom(ns(X''''''''''''))), X2''''''''))))
ACTIVATE(ncons(ns(nfrom(ncons(ns(nfrom(nfrom(X''''''''''''))), X2''''''''))), X2)) -> ACTIVATE(ns(nfrom(ncons(ns(nfrom(nfrom(X''''''''''''))), X2''''''''))))
ACTIVATE(ncons(ns(nfrom(ncons(ns(ncons(X1'''''''''', X2'''''''''')), X2''''''''))), X2)) -> ACTIVATE(ns(nfrom(ncons(ns(ncons(X1'''''''''', X2'''''''''')), X2''''''''))))
ACTIVATE(ncons(ns(nfrom(ncons(ns(ns(X'''''''''')), X2''''''''))), X2)) -> ACTIVATE(ns(nfrom(ncons(ns(ns(X'''''''''')), X2''''''''))))
ACTIVATE(ncons(ns(nfrom(ncons(nfrom(ncons(X1'''''''''', X2'''''''''')), X2''''''''))), X2)) -> ACTIVATE(ns(nfrom(ncons(nfrom(ncons(X1'''''''''', X2'''''''''')), X2''''''''))))
ACTIVATE(ncons(ns(nfrom(ncons(nfrom(ns(X'''''''''')), X2''''''''))), X2)) -> ACTIVATE(ns(nfrom(ncons(nfrom(ns(X'''''''''')), X2''''''''))))
ACTIVATE(ncons(ns(nfrom(ncons(nfrom(nfrom(X'''''''''')), X2''''''''))), X2)) -> ACTIVATE(ns(nfrom(ncons(nfrom(nfrom(X'''''''''')), X2''''''''))))
ACTIVATE(ncons(ns(nfrom(ncons(ncons(X1'''''''', X2'''''''''), X2'''''''))), X2)) -> ACTIVATE(ns(nfrom(ncons(ncons(X1'''''''', X2'''''''''), X2'''''''))))
ACTIVATE(ncons(nfrom(ncons(ns(nfrom(ncons(X1'''''''''', X2''''''''''))), X2'''''')), X2)) -> ACTIVATE(nfrom(ncons(ns(nfrom(ncons(X1'''''''''', X2''''''''''))), X2'''''')))
ACTIVATE(ncons(ns(nfrom(ns(nfrom(ncons(X1'''''''''', X2''''''''''))))), X2)) -> ACTIVATE(ns(nfrom(ns(nfrom(ncons(X1'''''''''', X2''''''''''))))))
ACTIVATE(ncons(ns(nfrom(ns(nfrom(ns(X''''''''''))))), X2)) -> ACTIVATE(ns(nfrom(ns(nfrom(ns(X''''''''''))))))
ACTIVATE(ncons(ns(nfrom(ns(nfrom(nfrom(X''''''''''))))), X2)) -> ACTIVATE(ns(nfrom(ns(nfrom(nfrom(X''''''''''))))))
ACTIVATE(ncons(ns(nfrom(ns(ncons(X1'''''''', X2'''''''')))), X2)) -> ACTIVATE(ns(nfrom(ns(ncons(X1'''''''', X2'''''''')))))
ACTIVATE(ncons(nfrom(ncons(ns(nfrom(ns(X''''''''''))), X2'''''')), X2)) -> ACTIVATE(nfrom(ncons(ns(nfrom(ns(X''''''''''))), X2'''''')))
ACTIVATE(ncons(ns(nfrom(nfrom(ncons(X1'''''''', X2'''''''')))), X2)) -> ACTIVATE(ns(nfrom(nfrom(ncons(X1'''''''', X2'''''''')))))
ACTIVATE(ncons(ns(nfrom(nfrom(ns(X'''''''')))), X2)) -> ACTIVATE(ns(nfrom(nfrom(ns(X'''''''')))))
ACTIVATE(ncons(ns(nfrom(nfrom(nfrom(X'''''''')))), X2)) -> ACTIVATE(ns(nfrom(nfrom(nfrom(X'''''''')))))
ACTIVATE(ncons(nfrom(ncons(ns(nfrom(nfrom(X''''''''''))), X2'''''')), X2)) -> ACTIVATE(nfrom(ncons(ns(nfrom(nfrom(X''''''''''))), X2'''''')))
ACTIVATE(ncons(nfrom(ncons(ns(ncons(X1'''''''', X2'''''''')), X2'''''')), X2)) -> ACTIVATE(nfrom(ncons(ns(ncons(X1'''''''', X2'''''''')), X2'''''')))
ACTIVATE(ncons(ns(ncons(nfrom(ncons(X1'''''''', X2'''''''')), X2'''''')), X2)) -> ACTIVATE(ns(ncons(nfrom(ncons(X1'''''''', X2'''''''')), X2'''''')))
ACTIVATE(ncons(ns(ncons(nfrom(ns(X'''''''')), X2'''''')), X2)) -> ACTIVATE(ns(ncons(nfrom(ns(X'''''''')), X2'''''')))
ACTIVATE(ncons(ns(ncons(nfrom(nfrom(X'''''''')), X2'''''')), X2)) -> ACTIVATE(ns(ncons(nfrom(nfrom(X'''''''')), X2'''''')))
ACTIVATE(ncons(ns(ncons(ncons(X1'''''', X2'''''''), X2''''')), X2)) -> ACTIVATE(ns(ncons(ncons(X1'''''', X2'''''''), X2''''')))
ACTIVATE(ncons(ns(ns(nfrom(ncons(X1'''''''', X2'''''''')))), X2)) -> ACTIVATE(ns(ns(nfrom(ncons(X1'''''''', X2'''''''')))))
ACTIVATE(ncons(ns(ns(nfrom(ns(X'''''''')))), X2)) -> ACTIVATE(ns(ns(nfrom(ns(X'''''''')))))
ACTIVATE(ncons(ns(ns(nfrom(nfrom(X'''''''')))), X2)) -> ACTIVATE(ns(ns(nfrom(nfrom(X'''''''')))))
ACTIVATE(ncons(ns(ns(ncons(X1'''''', X2''''''))), X2)) -> ACTIVATE(ns(ns(ncons(X1'''''', X2''''''))))
ACTIVATE(ncons(ns(ns(ns(X''''''))), X2)) -> ACTIVATE(ns(ns(ns(X''''''))))
ACTIVATE(ncons(nfrom(ncons(ns(ns(X'''''''')), X2'''''')), X2)) -> ACTIVATE(nfrom(ncons(ns(ns(X'''''''')), X2'''''')))
ACTIVATE(ncons(nfrom(ncons(nfrom(ncons(X1'''''''', X2'''''''')), X2'''''')), X2)) -> ACTIVATE(nfrom(ncons(nfrom(ncons(X1'''''''', X2'''''''')), X2'''''')))
ACTIVATE(ncons(nfrom(ncons(nfrom(ns(X'''''''')), X2'''''')), X2)) -> ACTIVATE(nfrom(ncons(nfrom(ns(X'''''''')), X2'''''')))
ACTIVATE(ncons(nfrom(ncons(nfrom(nfrom(X'''''''')), X2'''''')), X2)) -> ACTIVATE(nfrom(ncons(nfrom(nfrom(X'''''''')), X2'''''')))
ACTIVATE(ncons(nfrom(ncons(ncons(X1'''''', X2'''''''), X2''''')), X2)) -> ACTIVATE(nfrom(ncons(ncons(X1'''''', X2'''''''), X2''''')))
ACTIVATE(ncons(nfrom(ns(nfrom(ncons(X1'''''''', X2'''''''')))), X2)) -> ACTIVATE(nfrom(ns(nfrom(ncons(X1'''''''', X2'''''''')))))
ACTIVATE(ncons(nfrom(ns(nfrom(ns(X'''''''')))), X2)) -> ACTIVATE(nfrom(ns(nfrom(ns(X'''''''')))))
ACTIVATE(ncons(nfrom(ns(nfrom(nfrom(X'''''''')))), X2)) -> ACTIVATE(nfrom(ns(nfrom(nfrom(X'''''''')))))
ACTIVATE(ncons(nfrom(ns(ncons(X1'''''', X2''''''))), X2)) -> ACTIVATE(nfrom(ns(ncons(X1'''''', X2''''''))))
ACTIVATE(ncons(nfrom(ns(ns(X''''''))), X2)) -> ACTIVATE(nfrom(ns(ns(X''''''))))
ACTIVATE(ncons(ncons(nfrom(ns(X'''''')), X2'''), X2)) -> ACTIVATE(ncons(nfrom(ns(X'''''')), X2'''))
ACTIVATE(ncons(nfrom(nfrom(ncons(X1'''''', X2''''''))), X2)) -> ACTIVATE(nfrom(nfrom(ncons(X1'''''', X2''''''))))
ACTIVATE(ncons(nfrom(nfrom(ns(X''''''))), X2)) -> ACTIVATE(nfrom(nfrom(ns(X''''''))))
ACTIVATE(ncons(nfrom(nfrom(nfrom(X''''''))), X2)) -> ACTIVATE(nfrom(nfrom(nfrom(X''''''))))
ACTIVATE(ncons(ncons(nfrom(nfrom(X'''''')), X2'''), X2)) -> ACTIVATE(ncons(nfrom(nfrom(X'''''')), X2'''))
ACTIVATE(ncons(ncons(ncons(X1'''', X2'''''), X2''''), X2)) -> ACTIVATE(ncons(ncons(X1'''', X2'''''), X2''''))
ACTIVATE(ncons(ns(nfrom(ns(ns(X'''''''')))), X2)) -> ACTIVATE(ns(nfrom(ns(ns(X'''''''')))))
ACTIVATE(ncons(ncons(ns(nfrom(ns(X''''''''))), X2'''), X2)) -> ACTIVATE(ncons(ns(nfrom(ns(X''''''''))), X2'''))
POL(n__cons(x1, x2)) = 1 + x1 POL(n__from(x1)) = x1 POL(n__s(x1)) = x1 POL(ACTIVATE(x1)) = 1 + x1
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳FwdInst
...
→DP Problem 22
↳Dependency Graph
ACTIVATE(ns(ncons(ns(nfrom(ncons(X1'''''''', X2''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(ncons(X1'''''''', X2''''''''))), X2'''))
ACTIVATE(ns(ncons(ns(nfrom(ns(X''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(ns(X''''''''))), X2'''))
ACTIVATE(ns(ncons(ns(nfrom(nfrom(X''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(nfrom(X''''''''))), X2'''))
ACTIVATE(ns(ncons(ns(ncons(X1'''''', X2'''''')), X2'''))) -> ACTIVATE(ncons(ns(ncons(X1'''''', X2'''''')), X2'''))
ACTIVATE(ns(ncons(ns(ns(X'''''')), X2'''))) -> ACTIVATE(ncons(ns(ns(X'''''')), X2'''))
ACTIVATE(ns(nfrom(ncons(ns(nfrom(ncons(X1'''''''''', X2''''''''''))), X2'''''')))) -> ACTIVATE(nfrom(ncons(ns(nfrom(ncons(X1'''''''''', X2''''''''''))), X2'''''')))
ACTIVATE(ns(nfrom(ncons(ns(nfrom(ns(X''''''''''))), X2'''''')))) -> ACTIVATE(nfrom(ncons(ns(nfrom(ns(X''''''''''))), X2'''''')))
ACTIVATE(ns(nfrom(ncons(ns(nfrom(nfrom(X''''''''''))), X2'''''')))) -> ACTIVATE(nfrom(ncons(ns(nfrom(nfrom(X''''''''''))), X2'''''')))
ACTIVATE(nfrom(ncons(ns(nfrom(ncons(X1'''''''', X2''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(ncons(X1'''''''', X2''''''''))), X2'''))
ACTIVATE(nfrom(ncons(ns(nfrom(ns(X''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(ns(X''''''''))), X2'''))
ACTIVATE(nfrom(ncons(ns(nfrom(nfrom(X''''''''))), X2'''))) -> ACTIVATE(ncons(ns(nfrom(nfrom(X''''''''))), X2'''))
ACTIVATE(ns(ncons(nfrom(ncons(X1'''''', X2'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(ncons(X1'''''', X2'''''')), X2'''))
ACTIVATE(ns(ncons(nfrom(ns(X'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(ns(X'''''')), X2'''))
ACTIVATE(nfrom(ncons(ns(ncons(X1'''''', X2'''''')), X2'''))) -> ACTIVATE(ncons(ns(ncons(X1'''''', X2'''''')), X2'''))
ACTIVATE(ns(nfrom(ncons(ns(ncons(X1'''''''', X2'''''''')), X2'''''')))) -> ACTIVATE(nfrom(ncons(ns(ncons(X1'''''''', X2'''''''')), X2'''''')))
ACTIVATE(ns(nfrom(ncons(ns(ns(X'''''''')), X2'''''')))) -> ACTIVATE(nfrom(ncons(ns(ns(X'''''''')), X2'''''')))
ACTIVATE(ns(ns(nfrom(ncons(X1'''''', X2''''''))))) -> ACTIVATE(ns(nfrom(ncons(X1'''''', X2''''''))))
ACTIVATE(ns(ns(nfrom(ns(X''''''))))) -> ACTIVATE(ns(nfrom(ns(X''''''))))
ACTIVATE(ns(ns(nfrom(nfrom(X''''''))))) -> ACTIVATE(ns(nfrom(nfrom(X''''''))))
ACTIVATE(nfrom(ncons(ns(ns(X'''''')), X2'''))) -> ACTIVATE(ncons(ns(ns(X'''''')), X2'''))
ACTIVATE(nfrom(ncons(nfrom(ncons(X1'''''', X2'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(ncons(X1'''''', X2'''''')), X2'''))
ACTIVATE(ns(nfrom(ncons(nfrom(ncons(X1'''''''', X2'''''''')), X2'''''')))) -> ACTIVATE(nfrom(ncons(nfrom(ncons(X1'''''''', X2'''''''')), X2'''''')))
ACTIVATE(nfrom(ncons(nfrom(ns(X'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(ns(X'''''')), X2'''))
ACTIVATE(ns(nfrom(ncons(nfrom(ns(X'''''''')), X2'''''')))) -> ACTIVATE(nfrom(ncons(nfrom(ns(X'''''''')), X2'''''')))
ACTIVATE(nfrom(ncons(nfrom(nfrom(X'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(nfrom(X'''''')), X2'''))
ACTIVATE(ns(nfrom(ncons(nfrom(nfrom(X'''''''')), X2'''''')))) -> ACTIVATE(nfrom(ncons(nfrom(nfrom(X'''''''')), X2'''''')))
ACTIVATE(ns(nfrom(ncons(ncons(X1'''''', X2'''''''), X2''''')))) -> ACTIVATE(nfrom(ncons(ncons(X1'''''', X2'''''''), X2''''')))
ACTIVATE(nfrom(ns(nfrom(ncons(X1'''''', X2''''''))))) -> ACTIVATE(ns(nfrom(ncons(X1'''''', X2''''''))))
ACTIVATE(ns(nfrom(ns(nfrom(ncons(X1'''''''', X2'''''''')))))) -> ACTIVATE(nfrom(ns(nfrom(ncons(X1'''''''', X2'''''''')))))
ACTIVATE(ns(nfrom(ns(nfrom(ns(X'''''''')))))) -> ACTIVATE(nfrom(ns(nfrom(ns(X'''''''')))))
ACTIVATE(ns(nfrom(ns(nfrom(nfrom(X'''''''')))))) -> ACTIVATE(nfrom(ns(nfrom(nfrom(X'''''''')))))
ACTIVATE(ns(nfrom(ns(ncons(X1'''''', X2''''''))))) -> ACTIVATE(nfrom(ns(ncons(X1'''''', X2''''''))))
ACTIVATE(nfrom(ns(nfrom(ns(X''''''))))) -> ACTIVATE(ns(nfrom(ns(X''''''))))
ACTIVATE(ns(nfrom(nfrom(ncons(X1'''''', X2''''''))))) -> ACTIVATE(nfrom(nfrom(ncons(X1'''''', X2''''''))))
ACTIVATE(ns(nfrom(nfrom(ns(X''''''))))) -> ACTIVATE(nfrom(nfrom(ns(X''''''))))
ACTIVATE(ns(nfrom(nfrom(nfrom(X''''''))))) -> ACTIVATE(nfrom(nfrom(nfrom(X''''''))))
ACTIVATE(nfrom(ns(nfrom(nfrom(X''''''))))) -> ACTIVATE(ns(nfrom(nfrom(X''''''))))
ACTIVATE(nfrom(ncons(ncons(X1'''', X2'''''), X2''''))) -> ACTIVATE(ncons(ncons(X1'''', X2'''''), X2''''))
ACTIVATE(nfrom(nfrom(ncons(X1'''', X2'''')))) -> ACTIVATE(nfrom(ncons(X1'''', X2'''')))
ACTIVATE(ns(ncons(nfrom(nfrom(X'''''')), X2'''))) -> ACTIVATE(ncons(nfrom(nfrom(X'''''')), X2'''))
ACTIVATE(nfrom(ns(ncons(X1'''', X2'''')))) -> ACTIVATE(ns(ncons(X1'''', X2'''')))
ACTIVATE(nfrom(nfrom(ns(X'''')))) -> ACTIVATE(nfrom(ns(X'''')))
ACTIVATE(nfrom(nfrom(nfrom(X'''')))) -> ACTIVATE(nfrom(nfrom(X'''')))
ACTIVATE(ns(ncons(ncons(X1'''', X2'''''), X2''''))) -> ACTIVATE(ncons(ncons(X1'''', X2'''''), X2''''))
ACTIVATE(ns(ns(ncons(X1'''', X2'''')))) -> ACTIVATE(ns(ncons(X1'''', X2'''')))
ACTIVATE(ns(ns(ns(X'''')))) -> ACTIVATE(ns(ns(X'''')))
ACTIVATE(nfrom(ns(ns(X'''')))) -> ACTIVATE(ns(ns(X'''')))
ACTIVATE(ns(nfrom(ns(ns(X''''''))))) -> ACTIVATE(nfrom(ns(ns(X''''''))))
from(X) -> cons(X, nfrom(ns(X)))
from(X) -> nfrom(X)
2ndspos(0, Z) -> rnil
2ndspos(s(N), cons(X, ncons(Y, Z))) -> rcons(posrecip(activate(Y)), 2ndsneg(N, activate(Z)))
2ndsneg(0, Z) -> rnil
2ndsneg(s(N), cons(X, ncons(Y, Z))) -> rcons(negrecip(activate(Y)), 2ndspos(N, activate(Z)))
pi(X) -> 2ndspos(X, from(0))
plus(0, Y) -> Y
plus(s(X), Y) -> s(plus(X, Y))
times(0, Y) -> 0
times(s(X), Y) -> plus(Y, times(X, Y))
square(X) -> times(X, X)
s(X) -> ns(X)
cons(X1, X2) -> ncons(X1, X2)
activate(nfrom(X)) -> from(activate(X))
activate(ns(X)) -> s(activate(X))
activate(ncons(X1, X2)) -> cons(activate(X1), X2)
activate(X) -> X
innermost
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳FwdInst
...
→DP Problem 23
↳Polynomial Ordering
ACTIVATE(ns(nfrom(ns(nfrom(ns(X'''''''')))))) -> ACTIVATE(nfrom(ns(nfrom(ns(X'''''''')))))
ACTIVATE(ns(nfrom(ns(nfrom(nfrom(X'''''''')))))) -> ACTIVATE(nfrom(ns(nfrom(nfrom(X'''''''')))))
ACTIVATE(nfrom(ns(nfrom(ns(X''''''))))) -> ACTIVATE(ns(nfrom(ns(X''''''))))
ACTIVATE(ns(nfrom(nfrom(ns(X''''''))))) -> ACTIVATE(nfrom(nfrom(ns(X''''''))))
ACTIVATE(nfrom(ns(nfrom(nfrom(X''''''))))) -> ACTIVATE(ns(nfrom(nfrom(X''''''))))
ACTIVATE(nfrom(nfrom(ns(X'''')))) -> ACTIVATE(nfrom(ns(X'''')))
ACTIVATE(nfrom(nfrom(nfrom(X'''')))) -> ACTIVATE(nfrom(nfrom(X'''')))
ACTIVATE(ns(nfrom(nfrom(nfrom(X''''''))))) -> ACTIVATE(nfrom(nfrom(nfrom(X''''''))))
ACTIVATE(ns(ns(nfrom(nfrom(X''''''))))) -> ACTIVATE(ns(nfrom(nfrom(X''''''))))
ACTIVATE(ns(ns(ns(X'''')))) -> ACTIVATE(ns(ns(X'''')))
ACTIVATE(nfrom(ns(ns(X'''')))) -> ACTIVATE(ns(ns(X'''')))
ACTIVATE(ns(nfrom(ns(ns(X''''''))))) -> ACTIVATE(nfrom(ns(ns(X''''''))))
ACTIVATE(ns(ns(nfrom(ns(X''''''))))) -> ACTIVATE(ns(nfrom(ns(X''''''))))
from(X) -> cons(X, nfrom(ns(X)))
from(X) -> nfrom(X)
2ndspos(0, Z) -> rnil
2ndspos(s(N), cons(X, ncons(Y, Z))) -> rcons(posrecip(activate(Y)), 2ndsneg(N, activate(Z)))
2ndsneg(0, Z) -> rnil
2ndsneg(s(N), cons(X, ncons(Y, Z))) -> rcons(negrecip(activate(Y)), 2ndspos(N, activate(Z)))
pi(X) -> 2ndspos(X, from(0))
plus(0, Y) -> Y
plus(s(X), Y) -> s(plus(X, Y))
times(0, Y) -> 0
times(s(X), Y) -> plus(Y, times(X, Y))
square(X) -> times(X, X)
s(X) -> ns(X)
cons(X1, X2) -> ncons(X1, X2)
activate(nfrom(X)) -> from(activate(X))
activate(ns(X)) -> s(activate(X))
activate(ncons(X1, X2)) -> cons(activate(X1), X2)
activate(X) -> X
innermost
ACTIVATE(ns(nfrom(ns(nfrom(ns(X'''''''')))))) -> ACTIVATE(nfrom(ns(nfrom(ns(X'''''''')))))
ACTIVATE(ns(nfrom(ns(nfrom(nfrom(X'''''''')))))) -> ACTIVATE(nfrom(ns(nfrom(nfrom(X'''''''')))))
ACTIVATE(ns(nfrom(nfrom(ns(X''''''))))) -> ACTIVATE(nfrom(nfrom(ns(X''''''))))
ACTIVATE(ns(nfrom(nfrom(nfrom(X''''''))))) -> ACTIVATE(nfrom(nfrom(nfrom(X''''''))))
ACTIVATE(ns(ns(nfrom(nfrom(X''''''))))) -> ACTIVATE(ns(nfrom(nfrom(X''''''))))
ACTIVATE(ns(ns(ns(X'''')))) -> ACTIVATE(ns(ns(X'''')))
ACTIVATE(ns(nfrom(ns(ns(X''''''))))) -> ACTIVATE(nfrom(ns(ns(X''''''))))
ACTIVATE(ns(ns(nfrom(ns(X''''''))))) -> ACTIVATE(ns(nfrom(ns(X''''''))))
POL(n__from(x1)) = x1 POL(n__s(x1)) = 1 + x1 POL(ACTIVATE(x1)) = 1 + x1
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳FwdInst
...
→DP Problem 24
↳Dependency Graph
ACTIVATE(nfrom(ns(nfrom(ns(X''''''))))) -> ACTIVATE(ns(nfrom(ns(X''''''))))
ACTIVATE(nfrom(ns(nfrom(nfrom(X''''''))))) -> ACTIVATE(ns(nfrom(nfrom(X''''''))))
ACTIVATE(nfrom(nfrom(ns(X'''')))) -> ACTIVATE(nfrom(ns(X'''')))
ACTIVATE(nfrom(nfrom(nfrom(X'''')))) -> ACTIVATE(nfrom(nfrom(X'''')))
ACTIVATE(nfrom(ns(ns(X'''')))) -> ACTIVATE(ns(ns(X'''')))
from(X) -> cons(X, nfrom(ns(X)))
from(X) -> nfrom(X)
2ndspos(0, Z) -> rnil
2ndspos(s(N), cons(X, ncons(Y, Z))) -> rcons(posrecip(activate(Y)), 2ndsneg(N, activate(Z)))
2ndsneg(0, Z) -> rnil
2ndsneg(s(N), cons(X, ncons(Y, Z))) -> rcons(negrecip(activate(Y)), 2ndspos(N, activate(Z)))
pi(X) -> 2ndspos(X, from(0))
plus(0, Y) -> Y
plus(s(X), Y) -> s(plus(X, Y))
times(0, Y) -> 0
times(s(X), Y) -> plus(Y, times(X, Y))
square(X) -> times(X, X)
s(X) -> ns(X)
cons(X1, X2) -> ncons(X1, X2)
activate(nfrom(X)) -> from(activate(X))
activate(ns(X)) -> s(activate(X))
activate(ncons(X1, X2)) -> cons(activate(X1), X2)
activate(X) -> X
innermost
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳FwdInst
...
→DP Problem 25
↳Polynomial Ordering
ACTIVATE(nfrom(nfrom(nfrom(X'''')))) -> ACTIVATE(nfrom(nfrom(X'''')))
from(X) -> cons(X, nfrom(ns(X)))
from(X) -> nfrom(X)
2ndspos(0, Z) -> rnil
2ndspos(s(N), cons(X, ncons(Y, Z))) -> rcons(posrecip(activate(Y)), 2ndsneg(N, activate(Z)))
2ndsneg(0, Z) -> rnil
2ndsneg(s(N), cons(X, ncons(Y, Z))) -> rcons(negrecip(activate(Y)), 2ndspos(N, activate(Z)))
pi(X) -> 2ndspos(X, from(0))
plus(0, Y) -> Y
plus(s(X), Y) -> s(plus(X, Y))
times(0, Y) -> 0
times(s(X), Y) -> plus(Y, times(X, Y))
square(X) -> times(X, X)
s(X) -> ns(X)
cons(X1, X2) -> ncons(X1, X2)
activate(nfrom(X)) -> from(activate(X))
activate(ns(X)) -> s(activate(X))
activate(ncons(X1, X2)) -> cons(activate(X1), X2)
activate(X) -> X
innermost
ACTIVATE(nfrom(nfrom(nfrom(X'''')))) -> ACTIVATE(nfrom(nfrom(X'''')))
POL(n__from(x1)) = 1 + x1 POL(ACTIVATE(x1)) = 1 + x1
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳FwdInst
...
→DP Problem 26
↳Dependency Graph
from(X) -> cons(X, nfrom(ns(X)))
from(X) -> nfrom(X)
2ndspos(0, Z) -> rnil
2ndspos(s(N), cons(X, ncons(Y, Z))) -> rcons(posrecip(activate(Y)), 2ndsneg(N, activate(Z)))
2ndsneg(0, Z) -> rnil
2ndsneg(s(N), cons(X, ncons(Y, Z))) -> rcons(negrecip(activate(Y)), 2ndspos(N, activate(Z)))
pi(X) -> 2ndspos(X, from(0))
plus(0, Y) -> Y
plus(s(X), Y) -> s(plus(X, Y))
times(0, Y) -> 0
times(s(X), Y) -> plus(Y, times(X, Y))
square(X) -> times(X, X)
s(X) -> ns(X)
cons(X1, X2) -> ncons(X1, X2)
activate(nfrom(X)) -> from(activate(X))
activate(ns(X)) -> s(activate(X))
activate(ncons(X1, X2)) -> cons(activate(X1), X2)
activate(X) -> X
innermost