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
↳Instantiation Transformation
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
one new Dependency Pair is created:
IF(false, X, Y) -> ACTIVATE(Y)
IF(false, c, nf(ntrue)) -> ACTIVATE(nf(ntrue))
R
↳DPs
→DP Problem 1
↳Inst
→DP Problem 2
↳Remaining Obligation(s)
IF(false, c, nf(ntrue)) -> ACTIVATE(nf(ntrue))
F(X) -> IF(X, c, nf(ntrue))
ACTIVATE(nf(X)) -> F(activate(X))
ACTIVATE(nf(X)) -> ACTIVATE(X)
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