R
↳Dependency Pair Analysis
APP(app(times, x), app(s, y)) -> APP(app(plus, app(app(times, x), y)), x)
APP(app(times, x), app(s, y)) -> APP(plus, app(app(times, x), y))
APP(app(times, x), app(s, y)) -> APP(app(times, x), y)
APP(app(plus, x), app(s, y)) -> APP(s, app(app(plus, x), y))
APP(app(plus, x), app(s, y)) -> APP(app(plus, x), y)
APP(app(plus, app(s, x)), y) -> APP(s, app(app(plus, x), y))
APP(app(plus, app(s, x)), y) -> APP(app(plus, x), y)
APP(app(plus, app(s, x)), y) -> APP(plus, x)
R
↳DPs
→DP Problem 1
↳Usable Rules (Innermost)
→DP Problem 2
↳UsableRules
APP(app(plus, app(s, x)), y) -> APP(app(plus, x), y)
APP(app(plus, x), app(s, y)) -> APP(app(plus, x), y)
app(app(times, x), 0) -> 0
app(app(times, x), app(s, y)) -> app(app(plus, app(app(times, x), y)), x)
app(app(plus, x), 0) -> x
app(app(plus, 0), x) -> x
app(app(plus, x), app(s, y)) -> app(s, app(app(plus, x), y))
app(app(plus, app(s, x)), y) -> app(s, app(app(plus, x), y))
innermost
R
↳DPs
→DP Problem 1
↳UsableRules
→DP Problem 3
↳A-Transformation
→DP Problem 2
↳UsableRules
APP(app(plus, app(s, x)), y) -> APP(app(plus, x), y)
APP(app(plus, x), app(s, y)) -> APP(app(plus, x), y)
none
innermost
R
↳DPs
→DP Problem 1
↳UsableRules
→DP Problem 3
↳ATrans
...
→DP Problem 4
↳Size-Change Principle
→DP Problem 2
↳UsableRules
PLUS(s(x), y) -> PLUS(x, y)
PLUS(x, s(y)) -> PLUS(x, y)
none
innermost
|
|
|
|
|
trivial
s(x1) -> s(x1)
R
↳DPs
→DP Problem 1
↳UsableRules
→DP Problem 2
↳Usable Rules (Innermost)
APP(app(times, x), app(s, y)) -> APP(app(times, x), y)
app(app(times, x), 0) -> 0
app(app(times, x), app(s, y)) -> app(app(plus, app(app(times, x), y)), x)
app(app(plus, x), 0) -> x
app(app(plus, 0), x) -> x
app(app(plus, x), app(s, y)) -> app(s, app(app(plus, x), y))
app(app(plus, app(s, x)), y) -> app(s, app(app(plus, x), y))
innermost
R
↳DPs
→DP Problem 1
↳UsableRules
→DP Problem 2
↳UsableRules
→DP Problem 5
↳A-Transformation
APP(app(times, x), app(s, y)) -> APP(app(times, x), y)
none
innermost
R
↳DPs
→DP Problem 1
↳UsableRules
→DP Problem 2
↳UsableRules
→DP Problem 5
↳ATrans
...
→DP Problem 6
↳Size-Change Principle
TIMES(x, s(y)) -> TIMES(x, y)
none
innermost
|
|
trivial
s(x1) -> s(x1)