R
↳Dependency Pair Analysis
MINUS(x, s(y)) -> PRED(minus(x, y))
MINUS(x, s(y)) -> MINUS(x, y)
QUOT(s(x), s(y)) -> QUOT(minus(x, y), s(y))
QUOT(s(x), s(y)) -> MINUS(x, y)
LOG(s(s(x))) -> LOG(s(quot(x, s(s(0)))))
LOG(s(s(x))) -> QUOT(x, s(s(0)))
R
↳DPs
→DP Problem 1
↳Polynomial Ordering
→DP Problem 2
↳Polo
→DP Problem 3
↳Nar
MINUS(x, s(y)) -> MINUS(x, y)
pred(s(x)) -> x
minus(x, 0) -> x
minus(x, s(y)) -> pred(minus(x, y))
quot(0, s(y)) -> 0
quot(s(x), s(y)) -> s(quot(minus(x, y), s(y)))
log(s(0)) -> 0
log(s(s(x))) -> s(log(s(quot(x, s(s(0))))))
MINUS(x, s(y)) -> MINUS(x, y)
POL(MINUS(x1, x2)) = x2 POL(s(x1)) = 1 + x1
R
↳DPs
→DP Problem 1
↳Polo
→DP Problem 4
↳Dependency Graph
→DP Problem 2
↳Polo
→DP Problem 3
↳Nar
pred(s(x)) -> x
minus(x, 0) -> x
minus(x, s(y)) -> pred(minus(x, y))
quot(0, s(y)) -> 0
quot(s(x), s(y)) -> s(quot(minus(x, y), s(y)))
log(s(0)) -> 0
log(s(s(x))) -> s(log(s(quot(x, s(s(0))))))
R
↳DPs
→DP Problem 1
↳Polo
→DP Problem 2
↳Polynomial Ordering
→DP Problem 3
↳Nar
QUOT(s(x), s(y)) -> QUOT(minus(x, y), s(y))
pred(s(x)) -> x
minus(x, 0) -> x
minus(x, s(y)) -> pred(minus(x, y))
quot(0, s(y)) -> 0
quot(s(x), s(y)) -> s(quot(minus(x, y), s(y)))
log(s(0)) -> 0
log(s(s(x))) -> s(log(s(quot(x, s(s(0))))))
QUOT(s(x), s(y)) -> QUOT(minus(x, y), s(y))
minus(x, 0) -> x
minus(x, s(y)) -> pred(minus(x, y))
pred(s(x)) -> x
POL(QUOT(x1, x2)) = x1 + x2 POL(0) = 1 POL(pred(x1)) = x1 POL(minus(x1, x2)) = x1 POL(s(x1)) = 1 + x1
R
↳DPs
→DP Problem 1
↳Polo
→DP Problem 2
↳Polo
→DP Problem 5
↳Dependency Graph
→DP Problem 3
↳Nar
pred(s(x)) -> x
minus(x, 0) -> x
minus(x, s(y)) -> pred(minus(x, y))
quot(0, s(y)) -> 0
quot(s(x), s(y)) -> s(quot(minus(x, y), s(y)))
log(s(0)) -> 0
log(s(s(x))) -> s(log(s(quot(x, s(s(0))))))
R
↳DPs
→DP Problem 1
↳Polo
→DP Problem 2
↳Polo
→DP Problem 3
↳Narrowing Transformation
LOG(s(s(x))) -> LOG(s(quot(x, s(s(0)))))
pred(s(x)) -> x
minus(x, 0) -> x
minus(x, s(y)) -> pred(minus(x, y))
quot(0, s(y)) -> 0
quot(s(x), s(y)) -> s(quot(minus(x, y), s(y)))
log(s(0)) -> 0
log(s(s(x))) -> s(log(s(quot(x, s(s(0))))))
two new Dependency Pairs are created:
LOG(s(s(x))) -> LOG(s(quot(x, s(s(0)))))
LOG(s(s(0))) -> LOG(s(0))
LOG(s(s(s(x'')))) -> LOG(s(s(quot(minus(x'', s(0)), s(s(0))))))
R
↳DPs
→DP Problem 1
↳Polo
→DP Problem 2
↳Polo
→DP Problem 3
↳Nar
→DP Problem 6
↳Narrowing Transformation
LOG(s(s(s(x'')))) -> LOG(s(s(quot(minus(x'', s(0)), s(s(0))))))
pred(s(x)) -> x
minus(x, 0) -> x
minus(x, s(y)) -> pred(minus(x, y))
quot(0, s(y)) -> 0
quot(s(x), s(y)) -> s(quot(minus(x, y), s(y)))
log(s(0)) -> 0
log(s(s(x))) -> s(log(s(quot(x, s(s(0))))))
one new Dependency Pair is created:
LOG(s(s(s(x'')))) -> LOG(s(s(quot(minus(x'', s(0)), s(s(0))))))
LOG(s(s(s(x''')))) -> LOG(s(s(quot(pred(minus(x''', 0)), s(s(0))))))
R
↳DPs
→DP Problem 1
↳Polo
→DP Problem 2
↳Polo
→DP Problem 3
↳Nar
→DP Problem 6
↳Nar
...
→DP Problem 7
↳Polynomial Ordering
LOG(s(s(s(x''')))) -> LOG(s(s(quot(pred(minus(x''', 0)), s(s(0))))))
pred(s(x)) -> x
minus(x, 0) -> x
minus(x, s(y)) -> pred(minus(x, y))
quot(0, s(y)) -> 0
quot(s(x), s(y)) -> s(quot(minus(x, y), s(y)))
log(s(0)) -> 0
log(s(s(x))) -> s(log(s(quot(x, s(s(0))))))
LOG(s(s(s(x''')))) -> LOG(s(s(quot(pred(minus(x''', 0)), s(s(0))))))
pred(s(x)) -> x
minus(x, 0) -> x
minus(x, s(y)) -> pred(minus(x, y))
quot(0, s(y)) -> 0
quot(s(x), s(y)) -> s(quot(minus(x, y), s(y)))
POL(0) = 0 POL(pred(x1)) = x1 POL(minus(x1, x2)) = x1 POL(quot(x1, x2)) = x1 POL(s(x1)) = 1 + x1 POL(LOG(x1)) = 1 + x1
R
↳DPs
→DP Problem 1
↳Polo
→DP Problem 2
↳Polo
→DP Problem 3
↳Nar
→DP Problem 6
↳Nar
...
→DP Problem 8
↳Dependency Graph
pred(s(x)) -> x
minus(x, 0) -> x
minus(x, s(y)) -> pred(minus(x, y))
quot(0, s(y)) -> 0
quot(s(x), s(y)) -> s(quot(minus(x, y), s(y)))
log(s(0)) -> 0
log(s(s(x))) -> s(log(s(quot(x, s(s(0))))))