R
↳Dependency Pair Analysis
F(s(x)) -> F(f(p(s(x))))
F(s(x)) -> F(p(s(x)))
F(s(x)) -> P(s(x))
R
↳DPs
→DP Problem 1
↳Narrowing Transformation
F(s(x)) -> F(p(s(x)))
F(s(x)) -> F(f(p(s(x))))
f(s(x)) -> s(f(f(p(s(x)))))
f(0) -> 0
p(s(x)) -> x
one new Dependency Pair is created:
F(s(x)) -> F(f(p(s(x))))
F(s(x'')) -> F(f(x''))
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳Narrowing Transformation
F(s(x'')) -> F(f(x''))
F(s(x)) -> F(p(s(x)))
f(s(x)) -> s(f(f(p(s(x)))))
f(0) -> 0
p(s(x)) -> x
one new Dependency Pair is created:
F(s(x)) -> F(p(s(x)))
F(s(x'')) -> F(x'')
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳Nar
...
→DP Problem 3
↳Remaining Obligation(s)
F(s(x'')) -> F(x'')
F(s(x'')) -> F(f(x''))
f(s(x)) -> s(f(f(p(s(x)))))
f(0) -> 0
p(s(x)) -> x