R
↳Dependency Pair Analysis
F(s(s(x))) -> F(f(s(x)))
F(s(s(x))) -> F(s(x))
R
↳DPs
→DP Problem 1
↳Argument Filtering and Ordering
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)))
innermost
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}
F(x1) -> F(x1)
s(x1) -> s(x1)
f(x1) -> f(x1)
R
↳DPs
→DP Problem 1
↳AFS
→DP Problem 2
↳Narrowing Transformation
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)))
innermost
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
↳AFS
→DP Problem 2
↳Nar
...
→DP Problem 3
↳Remaining Obligation(s)
F(s(s(s(x'')))) -> F(f(f(s(x''))))
f(0) -> s(0)
f(s(0)) -> s(0)
f(s(s(x))) -> f(f(s(x)))
innermost