R
↳Overlay and local confluence Check
R
↳OC
→TRS2
↳Dependency Pair Analysis
APP(app(add, app(s, x)), y) -> APP(s, app(app(add, x), y))
APP(app(add, app(s, x)), y) -> APP(app(add, x), y)
APP(app(add, app(s, x)), y) -> APP(add, x)
APP(app(map, f), app(app(cons, x), xs)) -> APP(app(cons, app(f, x)), app(app(map, f), xs))
APP(app(map, f), app(app(cons, x), xs)) -> APP(cons, app(f, x))
APP(app(map, f), app(app(cons, x), xs)) -> APP(f, x)
APP(app(map, f), app(app(cons, x), xs)) -> APP(app(map, f), xs)
R
↳OC
→TRS2
↳DPs
→DP Problem 1
↳Usable Rules (Innermost)
→DP Problem 2
↳UsableRules
APP(app(map, f), app(app(cons, x), xs)) -> APP(app(map, f), xs)
APP(app(map, f), app(app(cons, x), xs)) -> APP(f, x)
app(id, x) -> x
app(add, 0) -> id
app(app(add, app(s, x)), y) -> app(s, app(app(add, x), y))
app(app(map, f), nil) -> nil
app(app(map, f), app(app(cons, x), xs)) -> app(app(cons, app(f, x)), app(app(map, f), xs))
innermost
R
↳OC
→TRS2
↳DPs
→DP Problem 1
↳UsableRules
...
→DP Problem 3
↳Size-Change Principle
→DP Problem 2
↳UsableRules
APP(app(map, f), app(app(cons, x), xs)) -> APP(app(map, f), xs)
APP(app(map, f), app(app(cons, x), xs)) -> APP(f, x)
none
innermost
|
|
|
|
trivial
app(x1, x2) -> app(x1, x2)
R
↳OC
→TRS2
↳DPs
→DP Problem 1
↳UsableRules
→DP Problem 2
↳Usable Rules (Innermost)
APP(app(add, app(s, x)), y) -> APP(app(add, x), y)
app(id, x) -> x
app(add, 0) -> id
app(app(add, app(s, x)), y) -> app(s, app(app(add, x), y))
app(app(map, f), nil) -> nil
app(app(map, f), app(app(cons, x), xs)) -> app(app(cons, app(f, x)), app(app(map, f), xs))
innermost
R
↳OC
→TRS2
↳DPs
→DP Problem 1
↳UsableRules
→DP Problem 2
↳UsableRules
...
→DP Problem 4
↳Modular Removal of Rules
APP(app(add, app(s, x)), y) -> APP(app(add, x), y)
app(add, 0) -> id
innermost
To remove rules and DPs from this DP problem we used the following monotonic and CE-compatible order: Polynomial ordering.
app(add, 0) -> id
POL(0) = 0 POL(s) = 0 POL(APP(x1, x2)) = 1 + x1 + x2 POL(app(x1, x2)) = x1 + x2 POL(id) = 0 POL(add) = 0
APP(app(add, app(s, x)), y) -> APP(app(add, x), y)
Termination of R successfully shown.
Duration:
0:00 minutes