R
↳Dependency Pair Analysis
MERGE(++(x, y), ++(u, v)) -> MERGE(y, ++(u, v))
MERGE(++(x, y), ++(u, v)) -> MERGE(++(x, y), v)
R
↳DPs
→DP Problem 1
↳Polynomial Ordering
MERGE(++(x, y), ++(u, v)) -> MERGE(y, ++(u, v))
merge(x, nil) -> x
merge(nil, y) -> y
merge(++(x, y), ++(u, v)) -> ++(x, merge(y, ++(u, v)))
merge(++(x, y), ++(u, v)) -> ++(u, merge(++(x, y), v))
MERGE(++(x, y), ++(u, v)) -> MERGE(y, ++(u, v))
POL(v) = 0 POL(++(x1, x2)) = 1 + x2 POL(MERGE(x1, x2)) = x1 POL(u) = 0
R
↳DPs
→DP Problem 1
↳Polo
→DP Problem 2
↳Dependency Graph
merge(x, nil) -> x
merge(nil, y) -> y
merge(++(x, y), ++(u, v)) -> ++(x, merge(y, ++(u, v)))
merge(++(x, y), ++(u, v)) -> ++(u, merge(++(x, y), v))