R
↳Dependency Pair Analysis
APP(app(append, app(app(cons, h), t)), l) -> APP(app(cons, h), app(app(append, t), l))
APP(app(append, app(app(cons, h), t)), l) -> APP(app(append, t), l)
APP(app(append, app(app(cons, h), t)), l) -> APP(append, t)
APP(app(map, f), app(app(cons, h), t)) -> APP(app(cons, app(f, h)), app(app(map, f), t))
APP(app(map, f), app(app(cons, h), t)) -> APP(cons, app(f, h))
APP(app(map, f), app(app(cons, h), t)) -> APP(f, h)
APP(app(map, f), app(app(cons, h), t)) -> APP(app(map, f), t)
APP(app(append, app(app(append, l1), l2)), l3) -> APP(app(append, l1), app(app(append, l2), l3))
APP(app(append, app(app(append, l1), l2)), l3) -> APP(app(append, l2), l3)
APP(app(append, app(app(append, l1), l2)), l3) -> APP(append, l2)
APP(app(map, f), app(app(append, l1), l2)) -> APP(app(append, app(app(map, f), l1)), app(app(map, f), l2))
APP(app(map, f), app(app(append, l1), l2)) -> APP(append, app(app(map, f), l1))
APP(app(map, f), app(app(append, l1), l2)) -> APP(app(map, f), l1)
APP(app(map, f), app(app(append, l1), l2)) -> APP(app(map, f), l2)
R
↳DPs
→DP Problem 1
↳Usable Rules (Innermost)
→DP Problem 2
↳UsableRules
APP(app(append, app(app(append, l1), l2)), l3) -> APP(app(append, l2), l3)
APP(app(append, app(app(cons, h), t)), l) -> APP(app(append, t), l)
app(app(append, nil), l) -> l
app(app(append, app(app(cons, h), t)), l) -> app(app(cons, h), app(app(append, t), l))
app(app(map, f), nil) -> nil
app(app(map, f), app(app(cons, h), t)) -> app(app(cons, app(f, h)), app(app(map, f), t))
app(app(append, app(app(append, l1), l2)), l3) -> app(app(append, l1), app(app(append, l2), l3))
app(app(map, f), app(app(append, l1), l2)) -> app(app(append, app(app(map, f), l1)), app(app(map, f), l2))
innermost
R
↳DPs
→DP Problem 1
↳UsableRules
→DP Problem 3
↳A-Transformation
→DP Problem 2
↳UsableRules
APP(app(append, app(app(append, l1), l2)), l3) -> APP(app(append, l2), l3)
APP(app(append, app(app(cons, h), t)), l) -> APP(app(append, t), l)
none
innermost
R
↳DPs
→DP Problem 1
↳UsableRules
→DP Problem 3
↳ATrans
...
→DP Problem 4
↳Size-Change Principle
→DP Problem 2
↳UsableRules
APPEND(append(l1, l2), l3) -> APPEND(l2, l3)
APPEND(cons(h, t), l) -> APPEND(t, l)
none
innermost
|
|
trivial
cons(x1, x2) -> cons(x1, x2)
append(x1, x2) -> append(x1, x2)
R
↳DPs
→DP Problem 1
↳UsableRules
→DP Problem 2
↳Usable Rules (Innermost)
APP(app(map, f), app(app(append, l1), l2)) -> APP(app(map, f), l2)
APP(app(map, f), app(app(cons, h), t)) -> APP(app(map, f), t)
APP(app(map, f), app(app(cons, h), t)) -> APP(f, h)
app(app(append, nil), l) -> l
app(app(append, app(app(cons, h), t)), l) -> app(app(cons, h), app(app(append, t), l))
app(app(map, f), nil) -> nil
app(app(map, f), app(app(cons, h), t)) -> app(app(cons, app(f, h)), app(app(map, f), t))
app(app(append, app(app(append, l1), l2)), l3) -> app(app(append, l1), app(app(append, l2), l3))
app(app(map, f), app(app(append, l1), l2)) -> app(app(append, app(app(map, f), l1)), app(app(map, f), l2))
innermost
R
↳DPs
→DP Problem 1
↳UsableRules
→DP Problem 2
↳UsableRules
→DP Problem 5
↳Size-Change Principle
APP(app(map, f), app(app(append, l1), l2)) -> APP(app(map, f), l2)
APP(app(map, f), app(app(cons, h), t)) -> APP(app(map, f), t)
APP(app(map, f), app(app(cons, h), t)) -> APP(f, h)
none
innermost
|
|
|
|
trivial
app(x1, x2) -> app(x1, x2)