f(

f(

g(empty,

g(cons(

R

↳Dependency Pair Analysis

F(a, empty) -> G(a, empty)

F(a, cons(x,k)) -> F(cons(x,a),k)

G(cons(x,k),d) -> G(k, cons(x,d))

Furthermore,

R

↳DPs

→DP Problem 1

↳Argument Filtering and Ordering

→DP Problem 2

↳AFS

**G(cons( x, k), d) -> G(k, cons(x, d))**

f(a, empty) -> g(a, empty)

f(a, cons(x,k)) -> f(cons(x,a),k)

g(empty,d) ->d

g(cons(x,k),d) -> g(k, cons(x,d))

innermost

The following dependency pair can be strictly oriented:

G(cons(x,k),d) -> G(k, cons(x,d))

There are no usable rules for innermost that need to be oriented.

Used ordering: Homeomorphic Embedding Order with EMB

resulting in one new DP problem.

Used Argument Filtering System:

G(x,_{1}x) ->_{2}x_{1}

cons(x,_{1}x) -> cons(_{2}x,_{1}x)_{2}

R

↳DPs

→DP Problem 1

↳AFS

→DP Problem 3

↳Dependency Graph

→DP Problem 2

↳AFS

f(a, empty) -> g(a, empty)

f(a, cons(x,k)) -> f(cons(x,a),k)

g(empty,d) ->d

g(cons(x,k),d) -> g(k, cons(x,d))

innermost

Using the Dependency Graph resulted in no new DP problems.

R

↳DPs

→DP Problem 1

↳AFS

→DP Problem 2

↳Argument Filtering and Ordering

**F( a, cons(x, k)) -> F(cons(x, a), k)**

f(a, empty) -> g(a, empty)

f(a, cons(x,k)) -> f(cons(x,a),k)

g(empty,d) ->d

g(cons(x,k),d) -> g(k, cons(x,d))

innermost

The following dependency pair can be strictly oriented:

F(a, cons(x,k)) -> F(cons(x,a),k)

There are no usable rules for innermost that need to be oriented.

Used ordering: Homeomorphic Embedding Order with EMB

resulting in one new DP problem.

Used Argument Filtering System:

F(x,_{1}x) ->_{2}x_{2}

cons(x,_{1}x) -> cons(_{2}x,_{1}x)_{2}

R

↳DPs

→DP Problem 1

↳AFS

→DP Problem 2

↳AFS

→DP Problem 4

↳Dependency Graph

f(a, empty) -> g(a, empty)

f(a, cons(x,k)) -> f(cons(x,a),k)

g(empty,d) ->d

g(cons(x,k),d) -> g(k, cons(x,d))

innermost

Using the Dependency Graph resulted in no new DP problems.

Duration:

0:00 minutes