R
↳Dependency Pair Analysis
DIV(X, e) -> I(X)
DIV(div(X, Y), Z) -> DIV(Y, div(i(X), Z))
DIV(div(X, Y), Z) -> DIV(i(X), Z)
DIV(div(X, Y), Z) -> I(X)
I(div(X, Y)) -> DIV(Y, X)
R
↳DPs
→DP Problem 1
↳Forward Instantiation Transformation
DIV(div(X, Y), Z) -> DIV(i(X), Z)
DIV(div(X, Y), Z) -> DIV(Y, div(i(X), Z))
I(div(X, Y)) -> DIV(Y, X)
DIV(X, e) -> I(X)
div(X, e) -> i(X)
div(div(X, Y), Z) -> div(Y, div(i(X), Z))
i(div(X, Y)) -> div(Y, X)
innermost
one new Dependency Pair is created:
DIV(X, e) -> I(X)
DIV(div(X'', Y''), e) -> I(div(X'', Y''))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Narrowing Transformation
I(div(X, Y)) -> DIV(Y, X)
DIV(div(X'', Y''), e) -> I(div(X'', Y''))
DIV(div(X, Y), Z) -> DIV(Y, div(i(X), Z))
DIV(div(X, Y), Z) -> DIV(i(X), Z)
div(X, e) -> i(X)
div(div(X, Y), Z) -> div(Y, div(i(X), Z))
i(div(X, Y)) -> div(Y, X)
innermost
no new Dependency Pairs are created.
DIV(div(X, Y), Z) -> DIV(i(X), Z)
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Nar
...
→DP Problem 3
↳Forward Instantiation Transformation
DIV(div(X'', Y''), e) -> I(div(X'', Y''))
DIV(div(X, Y), Z) -> DIV(Y, div(i(X), Z))
I(div(X, Y)) -> DIV(Y, X)
div(X, e) -> i(X)
div(div(X, Y), Z) -> div(Y, div(i(X), Z))
i(div(X, Y)) -> div(Y, X)
innermost
two new Dependency Pairs are created:
I(div(X, Y)) -> DIV(Y, X)
I(div(X0, div(X'', Y''))) -> DIV(div(X'', Y''), X0)
I(div(e, div(X'''', Y''''))) -> DIV(div(X'''', Y''''), e)
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Nar
...
→DP Problem 4
↳Polynomial Ordering
I(div(e, div(X'''', Y''''))) -> DIV(div(X'''', Y''''), e)
DIV(div(X, Y), Z) -> DIV(Y, div(i(X), Z))
I(div(X0, div(X'', Y''))) -> DIV(div(X'', Y''), X0)
DIV(div(X'', Y''), e) -> I(div(X'', Y''))
div(X, e) -> i(X)
div(div(X, Y), Z) -> div(Y, div(i(X), Z))
i(div(X, Y)) -> div(Y, X)
innermost
I(div(e, div(X'''', Y''''))) -> DIV(div(X'''', Y''''), e)
div(X, e) -> i(X)
div(div(X, Y), Z) -> div(Y, div(i(X), Z))
i(div(X, Y)) -> div(Y, X)
POL(I(x1)) = x1 POL(i(x1)) = x1 POL(e) = 1 POL(DIV(x1, x2)) = x1 POL(div(x1, x2)) = x1 + x2
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Nar
...
→DP Problem 5
↳Polynomial Ordering
DIV(div(X, Y), Z) -> DIV(Y, div(i(X), Z))
I(div(X0, div(X'', Y''))) -> DIV(div(X'', Y''), X0)
DIV(div(X'', Y''), e) -> I(div(X'', Y''))
div(X, e) -> i(X)
div(div(X, Y), Z) -> div(Y, div(i(X), Z))
i(div(X, Y)) -> div(Y, X)
innermost
DIV(div(X, Y), Z) -> DIV(Y, div(i(X), Z))
I(div(X0, div(X'', Y''))) -> DIV(div(X'', Y''), X0)
div(X, e) -> i(X)
div(div(X, Y), Z) -> div(Y, div(i(X), Z))
i(div(X, Y)) -> div(Y, X)
POL(I(x1)) = x1 POL(i(x1)) = x1 POL(e) = 0 POL(DIV(x1, x2)) = x1 POL(div(x1, x2)) = 1 + x1 + x2
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Nar
...
→DP Problem 6
↳Dependency Graph
DIV(div(X'', Y''), e) -> I(div(X'', Y''))
div(X, e) -> i(X)
div(div(X, Y), Z) -> div(Y, div(i(X), Z))
i(div(X, Y)) -> div(Y, X)
innermost