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
↳Narrowing Transformation
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
two new Dependency Pairs are created:
F(s(x'')) -> F(f(x''))
F(s(s(x'))) -> F(s(f(f(p(s(x'))))))
F(s(0)) -> F(0)
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳Nar
...
→DP Problem 4
↳Remaining Obligation(s)
F(s(s(x'))) -> F(s(f(f(p(s(x'))))))
F(s(x'')) -> F(x'')
f(s(x)) -> s(f(f(p(s(x)))))
f(0) -> 0
p(s(x)) -> x