R
↳Dependency Pair Analysis
F(X) -> IF(X, c, nf(true))
IF(false, X, Y) -> ACTIVATE(Y)
ACTIVATE(nf(X)) -> F(X)
R
↳DPs
→DP Problem 1
↳Instantiation Transformation
ACTIVATE(nf(X)) -> F(X)
IF(false, X, Y) -> ACTIVATE(Y)
F(X) -> IF(X, c, nf(true))
f(X) -> if(X, c, nf(true))
f(X) -> nf(X)
if(true, X, Y) -> X
if(false, X, Y) -> activate(Y)
activate(nf(X)) -> f(X)
activate(X) -> X
innermost
one new Dependency Pair is created:
IF(false, X, Y) -> ACTIVATE(Y)
IF(false, c, nf(true)) -> ACTIVATE(nf(true))
R
↳DPs
→DP Problem 1
↳Inst
→DP Problem 2
↳Instantiation Transformation
IF(false, c, nf(true)) -> ACTIVATE(nf(true))
F(X) -> IF(X, c, nf(true))
ACTIVATE(nf(X)) -> F(X)
f(X) -> if(X, c, nf(true))
f(X) -> nf(X)
if(true, X, Y) -> X
if(false, X, Y) -> activate(Y)
activate(nf(X)) -> f(X)
activate(X) -> X
innermost
one new Dependency Pair is created:
ACTIVATE(nf(X)) -> F(X)
ACTIVATE(nf(true)) -> F(true)
R
↳DPs
→DP Problem 1
↳Inst
→DP Problem 2
↳Inst
...
→DP Problem 3
↳Instantiation Transformation
F(X) -> IF(X, c, nf(true))
ACTIVATE(nf(true)) -> F(true)
IF(false, c, nf(true)) -> ACTIVATE(nf(true))
f(X) -> if(X, c, nf(true))
f(X) -> nf(X)
if(true, X, Y) -> X
if(false, X, Y) -> activate(Y)
activate(nf(X)) -> f(X)
activate(X) -> X
innermost
one new Dependency Pair is created:
F(X) -> IF(X, c, nf(true))
F(true) -> IF(true, c, nf(true))