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
↳Forward Instantiation Transformation
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(sumwith, f), app(app(cons, x), xs)) -> APP(app(plus, app(f, x)), app(app(sumwith, f), xs))
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
two new Dependency Pairs are created:
APP(app(sumwith, f), app(app(cons, x), xs)) -> APP(f, x)
APP(app(sumwith, app(sumwith, f'')), app(app(cons, app(app(cons, x''), xs'')), xs)) -> APP(app(sumwith, f''), app(app(cons, x''), xs''))
APP(app(sumwith, app(plus, app(s, x''))), app(app(cons, x0), xs)) -> APP(app(plus, app(s, x'')), x0)
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Remaining Obligation(s)
APP(app(sumwith, app(plus, app(s, x''))), app(app(cons, x0), xs)) -> APP(app(plus, app(s, x'')), x0)
APP(app(sumwith, app(sumwith, f'')), app(app(cons, app(app(cons, x''), xs'')), xs)) -> APP(app(sumwith, f''), app(app(cons, x''), xs''))
APP(app(plus, app(s, x)), y) -> APP(app(plus, x), y)
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(app(sumwith, f), xs)
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