R
↳Dependency Pair Analysis
APP(fact, 0) -> APP(s, 0)
APP(fact, app(s, x)) -> APP(app(*, app(s, x)), app(fact, app(p, app(s, x))))
APP(fact, app(s, x)) -> APP(*, app(s, x))
APP(fact, app(s, x)) -> APP(fact, app(p, app(s, x)))
APP(fact, app(s, x)) -> APP(p, app(s, x))
APP(app(*, app(s, x)), y) -> APP(app(+, app(app(*, x), y)), y)
APP(app(*, app(s, x)), y) -> APP(+, app(app(*, x), y))
APP(app(*, app(s, x)), y) -> APP(app(*, x), y)
APP(app(*, app(s, x)), y) -> APP(*, x)
APP(app(+, x), app(s, y)) -> APP(s, app(app(+, x), y))
APP(app(+, x), app(s, y)) -> APP(app(+, x), y)
R
↳DPs
→DP Problem 1
↳Argument Filtering and Ordering
→DP Problem 2
↳Remaining
APP(app(+, x), app(s, y)) -> APP(app(+, x), y)
app(p, app(s, x)) -> x
app(fact, 0) -> app(s, 0)
app(fact, app(s, x)) -> app(app(*, app(s, x)), app(fact, app(p, app(s, x))))
app(app(*, 0), y) -> 0
app(app(*, app(s, x)), y) -> app(app(+, app(app(*, x), y)), y)
app(app(+, x), 0) -> x
app(app(+, x), app(s, y)) -> app(s, app(app(+, x), y))
innermost
APP(app(+, x), app(s, y)) -> APP(app(+, x), y)
trivial
APP(x1, x2) -> x2
app(x1, x2) -> app(x1, x2)
R
↳DPs
→DP Problem 1
↳AFS
→DP Problem 3
↳Dependency Graph
→DP Problem 2
↳Remaining
app(p, app(s, x)) -> x
app(fact, 0) -> app(s, 0)
app(fact, app(s, x)) -> app(app(*, app(s, x)), app(fact, app(p, app(s, x))))
app(app(*, 0), y) -> 0
app(app(*, app(s, x)), y) -> app(app(+, app(app(*, x), y)), y)
app(app(+, x), 0) -> x
app(app(+, x), app(s, y)) -> app(s, app(app(+, x), y))
innermost
R
↳DPs
→DP Problem 1
↳AFS
→DP Problem 2
↳Remaining Obligation(s)
APP(app(*, app(s, x)), y) -> APP(app(*, x), y)
APP(app(*, app(s, x)), y) -> APP(app(+, app(app(*, x), y)), y)
APP(fact, app(s, x)) -> APP(fact, app(p, app(s, x)))
APP(fact, app(s, x)) -> APP(app(*, app(s, x)), app(fact, app(p, app(s, x))))
app(p, app(s, x)) -> x
app(fact, 0) -> app(s, 0)
app(fact, app(s, x)) -> app(app(*, app(s, x)), app(fact, app(p, app(s, x))))
app(app(*, 0), y) -> 0
app(app(*, app(s, x)), y) -> app(app(+, app(app(*, x), y)), y)
app(app(+, x), 0) -> x
app(app(+, x), app(s, y)) -> app(s, app(app(+, x), y))
innermost