R
↳Dependency Pair Analysis
MAX(N(L(s(x)), L(s(y)))) -> MAX(N(L(x), L(y)))
MAX(N(L(x), N(y, z))) -> MAX(N(L(x), L(max(N(y, z)))))
MAX(N(L(x), N(y, z))) -> MAX(N(y, z))
R
↳DPs
→DP Problem 1
↳Argument Filtering and Ordering
→DP Problem 2
↳AFS
MAX(N(L(s(x)), L(s(y)))) -> MAX(N(L(x), L(y)))
max(L(x)) -> x
max(N(L(0), L(y))) -> y
max(N(L(s(x)), L(s(y)))) -> s(max(N(L(x), L(y))))
max(N(L(x), N(y, z))) -> max(N(L(x), L(max(N(y, z)))))
MAX(N(L(s(x)), L(s(y)))) -> MAX(N(L(x), L(y)))
max(L(x)) -> x
max(N(L(0), L(y))) -> y
max(N(L(s(x)), L(s(y)))) -> s(max(N(L(x), L(y))))
max(N(L(x), N(y, z))) -> max(N(L(x), L(max(N(y, z)))))
POL(0) = 1 POL(MAX(x1)) = 1 + x1 POL(L(x1)) = x1 POL(N(x1, x2)) = x1 + x2 POL(s(x1)) = 1 + x1 POL(max(x1)) = x1
MAX(x1) -> MAX(x1)
N(x1, x2) -> N(x1, x2)
L(x1) -> L(x1)
s(x1) -> s(x1)
max(x1) -> max(x1)
R
↳DPs
→DP Problem 1
↳AFS
→DP Problem 3
↳Dependency Graph
→DP Problem 2
↳AFS
max(L(x)) -> x
max(N(L(0), L(y))) -> y
max(N(L(s(x)), L(s(y)))) -> s(max(N(L(x), L(y))))
max(N(L(x), N(y, z))) -> max(N(L(x), L(max(N(y, z)))))
R
↳DPs
→DP Problem 1
↳AFS
→DP Problem 2
↳Argument Filtering and Ordering
MAX(N(L(x), N(y, z))) -> MAX(N(y, z))
max(L(x)) -> x
max(N(L(0), L(y))) -> y
max(N(L(s(x)), L(s(y)))) -> s(max(N(L(x), L(y))))
max(N(L(x), N(y, z))) -> max(N(L(x), L(max(N(y, z)))))
MAX(N(L(x), N(y, z))) -> MAX(N(y, z))
max(L(x)) -> x
max(N(L(0), L(y))) -> y
max(N(L(s(x)), L(s(y)))) -> s(max(N(L(x), L(y))))
max(N(L(x), N(y, z))) -> max(N(L(x), L(max(N(y, z)))))
POL(0) = 1 POL(MAX(x1)) = 1 + x1 POL(L(x1)) = x1 POL(N(x1, x2)) = 1 + x1 + x2 POL(max(x1)) = x1 POL(s(x1)) = x1
MAX(x1) -> MAX(x1)
N(x1, x2) -> N(x1, x2)
L(x1) -> L(x1)
max(x1) -> max(x1)
s(x1) -> s(x1)
R
↳DPs
→DP Problem 1
↳AFS
→DP Problem 2
↳AFS
→DP Problem 4
↳Dependency Graph
max(L(x)) -> x
max(N(L(0), L(y))) -> y
max(N(L(s(x)), L(s(y)))) -> s(max(N(L(x), L(y))))
max(N(L(x), N(y, z))) -> max(N(L(x), L(max(N(y, z)))))