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