R
↳Dependency Pair Analysis
F(X) -> IF(X, c, nf(ntrue))
IF(false, X, Y) -> ACTIVATE(Y)
ACTIVATE(nf(X)) -> F(activate(X))
ACTIVATE(nf(X)) -> ACTIVATE(X)
ACTIVATE(ntrue) -> TRUE
R
↳DPs
→DP Problem 1
↳Polynomial Ordering
ACTIVATE(nf(X)) -> ACTIVATE(X)
ACTIVATE(nf(X)) -> F(activate(X))
IF(false, X, Y) -> ACTIVATE(Y)
F(X) -> IF(X, c, nf(ntrue))
f(X) -> if(X, c, nf(ntrue))
f(X) -> nf(X)
if(true, X, Y) -> X
if(false, X, Y) -> activate(Y)
true -> ntrue
activate(nf(X)) -> f(activate(X))
activate(ntrue) -> true
activate(X) -> X
innermost
ACTIVATE(nf(X)) -> ACTIVATE(X)
activate(nf(X)) -> f(activate(X))
activate(ntrue) -> true
activate(X) -> X
if(true, X, Y) -> X
if(false, X, Y) -> activate(Y)
f(X) -> if(X, c, nf(ntrue))
f(X) -> nf(X)
true -> ntrue
POL(activate(x1)) = x1 POL(n__f(x1)) = 1 + x1 POL(n__true) = 0 POL(if(x1, x2, x3)) = x2 + x3 POL(c) = 0 POL(false) = 0 POL(true) = 0 POL(ACTIVATE(x1)) = x1 POL(f(x1)) = 1 + x1 POL(F(x1)) = 1 POL(IF(x1, x2, x3)) = x3
R
↳DPs
→DP Problem 1
↳Polo
→DP Problem 2
↳Polynomial Ordering
ACTIVATE(nf(X)) -> F(activate(X))
IF(false, X, Y) -> ACTIVATE(Y)
F(X) -> IF(X, c, nf(ntrue))
f(X) -> if(X, c, nf(ntrue))
f(X) -> nf(X)
if(true, X, Y) -> X
if(false, X, Y) -> activate(Y)
true -> ntrue
activate(nf(X)) -> f(activate(X))
activate(ntrue) -> true
activate(X) -> X
innermost
IF(false, X, Y) -> ACTIVATE(Y)
activate(nf(X)) -> f(activate(X))
activate(ntrue) -> true
activate(X) -> X
if(true, X, Y) -> X
if(false, X, Y) -> activate(Y)
f(X) -> if(X, c, nf(ntrue))
f(X) -> nf(X)
true -> ntrue
POL(activate(x1)) = x1 POL(n__f(x1)) = x1 POL(n__true) = 0 POL(if(x1, x2, x3)) = x2 + x3 POL(c) = 0 POL(false) = 1 POL(true) = 0 POL(ACTIVATE(x1)) = x1 POL(f(x1)) = x1 POL(F(x1)) = x1 POL(IF(x1, x2, x3)) = x1 + x3
R
↳DPs
→DP Problem 1
↳Polo
→DP Problem 2
↳Polo
...
→DP Problem 3
↳Dependency Graph
ACTIVATE(nf(X)) -> F(activate(X))
F(X) -> IF(X, c, nf(ntrue))
f(X) -> if(X, c, nf(ntrue))
f(X) -> nf(X)
if(true, X, Y) -> X
if(false, X, Y) -> activate(Y)
true -> ntrue
activate(nf(X)) -> f(activate(X))
activate(ntrue) -> true
activate(X) -> X
innermost