R
↳Dependency Pair Analysis
HALF(s(s(x))) -> HALF(x)
LOG(s(s(x))) -> LOG(s(half(x)))
LOG(s(s(x))) -> HALF(x)
R
↳DPs
→DP Problem 1
↳Argument Filtering and Ordering
→DP Problem 2
↳Nar
HALF(s(s(x))) -> HALF(x)
half(0) -> 0
half(s(s(x))) -> s(half(x))
log(s(0)) -> 0
log(s(s(x))) -> s(log(s(half(x))))
HALF(s(s(x))) -> HALF(x)
HALF(x1) -> HALF(x1)
s(x1) -> s(x1)
R
↳DPs
→DP Problem 1
↳AFS
→DP Problem 3
↳Dependency Graph
→DP Problem 2
↳Nar
half(0) -> 0
half(s(s(x))) -> s(half(x))
log(s(0)) -> 0
log(s(s(x))) -> s(log(s(half(x))))
R
↳DPs
→DP Problem 1
↳AFS
→DP Problem 2
↳Narrowing Transformation
LOG(s(s(x))) -> LOG(s(half(x)))
half(0) -> 0
half(s(s(x))) -> s(half(x))
log(s(0)) -> 0
log(s(s(x))) -> s(log(s(half(x))))
two new Dependency Pairs are created:
LOG(s(s(x))) -> LOG(s(half(x)))
LOG(s(s(0))) -> LOG(s(0))
LOG(s(s(s(s(x''))))) -> LOG(s(s(half(x''))))
R
↳DPs
→DP Problem 1
↳AFS
→DP Problem 2
↳Nar
→DP Problem 4
↳Narrowing Transformation
LOG(s(s(s(s(x''))))) -> LOG(s(s(half(x''))))
half(0) -> 0
half(s(s(x))) -> s(half(x))
log(s(0)) -> 0
log(s(s(x))) -> s(log(s(half(x))))
two new Dependency Pairs are created:
LOG(s(s(s(s(x''))))) -> LOG(s(s(half(x''))))
LOG(s(s(s(s(0))))) -> LOG(s(s(0)))
LOG(s(s(s(s(s(s(x'))))))) -> LOG(s(s(s(half(x')))))
R
↳DPs
→DP Problem 1
↳AFS
→DP Problem 2
↳Nar
→DP Problem 4
↳Nar
...
→DP Problem 5
↳Argument Filtering and Ordering
LOG(s(s(s(s(s(s(x'))))))) -> LOG(s(s(s(half(x')))))
half(0) -> 0
half(s(s(x))) -> s(half(x))
log(s(0)) -> 0
log(s(s(x))) -> s(log(s(half(x))))
LOG(s(s(s(s(s(s(x'))))))) -> LOG(s(s(s(half(x')))))
half(0) -> 0
half(s(s(x))) -> s(half(x))
LOG(x1) -> LOG(x1)
s(x1) -> s(x1)
half(x1) -> x1
R
↳DPs
→DP Problem 1
↳AFS
→DP Problem 2
↳Nar
→DP Problem 4
↳Nar
...
→DP Problem 6
↳Dependency Graph
half(0) -> 0
half(s(s(x))) -> s(half(x))
log(s(0)) -> 0
log(s(s(x))) -> s(log(s(half(x))))