R
↳Dependency Pair Analysis
G(g(x)) -> G(h(g(x)))
G(g(x)) -> H(g(x))
H(h(x)) -> H(f(h(x), x))
R
↳DPs
→DP Problem 1
↳Narrowing Transformation
G(g(x)) -> G(h(g(x)))
g(h(g(x))) -> g(x)
g(g(x)) -> g(h(g(x)))
h(h(x)) -> h(f(h(x), x))
two new Dependency Pairs are created:
G(g(x)) -> G(h(g(x)))
G(g(h(g(x'')))) -> G(h(g(x'')))
G(g(g(x''))) -> G(h(g(h(g(x'')))))
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳Narrowing Transformation
G(g(g(x''))) -> G(h(g(h(g(x'')))))
G(g(h(g(x'')))) -> G(h(g(x'')))
g(h(g(x))) -> g(x)
g(g(x)) -> g(h(g(x)))
h(h(x)) -> h(f(h(x), x))
two new Dependency Pairs are created:
G(g(h(g(x'')))) -> G(h(g(x'')))
G(g(h(g(h(g(x')))))) -> G(h(g(x')))
G(g(h(g(g(x'))))) -> G(h(g(h(g(x')))))
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳Nar
...
→DP Problem 3
↳Narrowing Transformation
G(g(h(g(g(x'))))) -> G(h(g(h(g(x')))))
G(g(h(g(h(g(x')))))) -> G(h(g(x')))
G(g(g(x''))) -> G(h(g(h(g(x'')))))
g(h(g(x))) -> g(x)
g(g(x)) -> g(h(g(x)))
h(h(x)) -> h(f(h(x), x))
three new Dependency Pairs are created:
G(g(g(x''))) -> G(h(g(h(g(x'')))))
G(g(g(x'''))) -> G(h(g(x''')))
G(g(g(h(g(x'))))) -> G(h(g(h(g(x')))))
G(g(g(g(x')))) -> G(h(g(h(g(h(g(x')))))))
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳Nar
...
→DP Problem 4
↳Polynomial Ordering
G(g(g(g(x')))) -> G(h(g(h(g(h(g(x')))))))
G(g(g(h(g(x'))))) -> G(h(g(h(g(x')))))
G(g(g(x'''))) -> G(h(g(x''')))
G(g(h(g(h(g(x')))))) -> G(h(g(x')))
G(g(h(g(g(x'))))) -> G(h(g(h(g(x')))))
g(h(g(x))) -> g(x)
g(g(x)) -> g(h(g(x)))
h(h(x)) -> h(f(h(x), x))
G(g(g(g(x')))) -> G(h(g(h(g(h(g(x')))))))
G(g(g(h(g(x'))))) -> G(h(g(h(g(x')))))
G(g(g(x'''))) -> G(h(g(x''')))
G(g(h(g(h(g(x')))))) -> G(h(g(x')))
G(g(h(g(g(x'))))) -> G(h(g(h(g(x')))))
h(h(x)) -> h(f(h(x), x))
POL(g(x1)) = 1 POL(G(x1)) = x1 POL(h(x1)) = 0 POL(f(x1, x2)) = 0
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳Nar
...
→DP Problem 5
↳Dependency Graph
g(h(g(x))) -> g(x)
g(g(x)) -> g(h(g(x)))
h(h(x)) -> h(f(h(x), x))