R
↳Dependency Pair Analysis
F(g(x), g(y)) -> F(p(f(g(x), s(y))), g(s(p(x))))
F(g(x), g(y)) -> P(f(g(x), s(y)))
F(g(x), g(y)) -> F(g(x), s(y))
F(g(x), g(y)) -> G(s(p(x)))
F(g(x), g(y)) -> P(x)
P(0) -> G(0)
R
↳DPs
→DP Problem 1
↳Narrowing Transformation
F(g(x), g(y)) -> F(p(f(g(x), s(y))), g(s(p(x))))
f(g(x), g(y)) -> f(p(f(g(x), s(y))), g(s(p(x))))
p(0) -> g(0)
g(s(p(x))) -> p(x)
innermost
two new Dependency Pairs are created:
F(g(x), g(y)) -> F(p(f(g(x), s(y))), g(s(p(x))))
F(g(x''), g(y)) -> F(p(f(g(x''), s(y))), p(x''))
F(g(0), g(y)) -> F(p(f(g(0), s(y))), g(s(g(0))))
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳Narrowing Transformation
F(g(0), g(y)) -> F(p(f(g(0), s(y))), g(s(g(0))))
F(g(x''), g(y)) -> F(p(f(g(x''), s(y))), p(x''))
f(g(x), g(y)) -> f(p(f(g(x), s(y))), g(s(p(x))))
p(0) -> g(0)
g(s(p(x))) -> p(x)
innermost
no new Dependency Pairs are created.
F(g(0), g(y)) -> F(p(f(g(0), s(y))), g(s(g(0))))
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳Nar
...
→DP Problem 3
↳Remaining Obligation(s)
F(g(x''), g(y)) -> F(p(f(g(x''), s(y))), p(x''))
f(g(x), g(y)) -> f(p(f(g(x), s(y))), g(s(p(x))))
p(0) -> g(0)
g(s(p(x))) -> p(x)
innermost