R
↳Dependency Pair Analysis
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)
APP(app(sumwith, f), app(app(cons, x), xs)) -> APP(app(plus, app(f, x)), app(app(sumwith, f), xs))
APP(app(sumwith, f), app(app(cons, x), xs)) -> APP(plus, app(f, x))
APP(app(sumwith, f), app(app(cons, x), xs)) -> APP(f, x)
APP(app(sumwith, f), app(app(cons, x), xs)) -> APP(app(sumwith, f), xs)
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, 0), y) -> y
app(app(plus, app(s, x)), y) -> app(s, app(app(plus, x), y))
app(app(sumwith, f), nil) -> nil
app(app(sumwith, f), app(app(cons, x), xs)) -> app(app(plus, app(f, x)), app(app(sumwith, f), xs))
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)
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)
none
innermost
|
|
trivial
s(x1) -> s(x1)
R
↳DPs
→DP Problem 1
↳UsableRules
→DP Problem 2
↳Usable Rules (Innermost)
APP(app(sumwith, f), app(app(cons, x), xs)) -> APP(app(sumwith, f), xs)
APP(app(sumwith, f), app(app(cons, x), xs)) -> APP(f, x)
app(app(plus, 0), y) -> y
app(app(plus, app(s, x)), y) -> app(s, app(app(plus, x), y))
app(app(sumwith, f), nil) -> nil
app(app(sumwith, f), app(app(cons, x), xs)) -> app(app(plus, app(f, x)), app(app(sumwith, f), xs))
innermost
R
↳DPs
→DP Problem 1
↳UsableRules
→DP Problem 2
↳UsableRules
→DP Problem 5
↳Size-Change Principle
APP(app(sumwith, f), app(app(cons, x), xs)) -> APP(app(sumwith, f), xs)
APP(app(sumwith, f), app(app(cons, x), xs)) -> APP(f, x)
none
innermost
|
|
|
|
trivial
app(x1, x2) -> app(x1, x2)