R
↳Dependency Pair Analysis
F(s(s(x))) -> F(f(s(x)))
F(s(s(x))) -> F(s(x))
R
↳DPs
→DP Problem 1
↳Narrowing Transformation
F(s(s(x))) -> F(s(x))
F(s(s(x))) -> F(f(s(x)))
f(0) -> s(0)
f(s(0)) -> s(0)
f(s(s(x))) -> f(f(s(x)))
two new Dependency Pairs are created:
F(s(s(x))) -> F(f(s(x)))
F(s(s(0))) -> F(s(0))
F(s(s(s(x'')))) -> F(f(f(s(x''))))
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳Narrowing Transformation
F(s(s(s(x'')))) -> F(f(f(s(x''))))
F(s(s(x))) -> F(s(x))
f(0) -> s(0)
f(s(0)) -> s(0)
f(s(s(x))) -> f(f(s(x)))
two new Dependency Pairs are created:
F(s(s(s(x'')))) -> F(f(f(s(x''))))
F(s(s(s(0)))) -> F(f(s(0)))
F(s(s(s(s(x'))))) -> F(f(f(f(s(x')))))
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳Nar
...
→DP Problem 3
↳Polynomial Ordering
F(s(s(s(s(x'))))) -> F(f(f(f(s(x')))))
F(s(s(s(0)))) -> F(f(s(0)))
F(s(s(x))) -> F(s(x))
f(0) -> s(0)
f(s(0)) -> s(0)
f(s(s(x))) -> f(f(s(x)))
F(s(s(s(s(x'))))) -> F(f(f(f(s(x')))))
F(s(s(s(0)))) -> F(f(s(0)))
F(s(s(x))) -> F(s(x))
f(0) -> s(0)
f(s(0)) -> s(0)
f(s(s(x))) -> f(f(s(x)))
POL(0) = 0 POL(s(x1)) = 1 + x1 POL(f(x1)) = 1 POL(F(x1)) = 1 + x1
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳Nar
...
→DP Problem 4
↳Dependency Graph
f(0) -> s(0)
f(s(0)) -> s(0)
f(s(s(x))) -> f(f(s(x)))