R
↳Dependency Pair Analysis
APP(app(app(consif, true), x), ys) -> APP(app(cons, x), ys)
APP(app(app(consif, true), x), ys) -> APP(cons, x)
APP(app(filter, f), app(app(cons, x), xs)) -> APP(app(app(consif, app(f, x)), x), app(app(filter, f), xs))
APP(app(filter, f), app(app(cons, x), xs)) -> APP(app(consif, app(f, x)), x)
APP(app(filter, f), app(app(cons, x), xs)) -> APP(consif, app(f, x))
APP(app(filter, f), app(app(cons, x), xs)) -> APP(f, x)
APP(app(filter, f), app(app(cons, x), xs)) -> APP(app(filter, f), xs)
R
↳DPs
→DP Problem 1
↳Narrowing Transformation
APP(app(filter, f), app(app(cons, x), xs)) -> APP(app(filter, f), xs)
APP(app(filter, f), app(app(cons, x), xs)) -> APP(f, x)
APP(app(filter, f), app(app(cons, x), xs)) -> APP(app(consif, app(f, x)), x)
APP(app(filter, f), app(app(cons, x), xs)) -> APP(app(app(consif, app(f, x)), x), app(app(filter, f), xs))
APP(app(app(consif, true), x), ys) -> APP(app(cons, x), ys)
app(app(app(consif, true), x), ys) -> app(app(cons, x), ys)
app(app(app(consif, false), x), ys) -> ys
app(app(filter, f), nil) -> nil
app(app(filter, f), app(app(cons, x), xs)) -> app(app(app(consif, app(f, x)), x), app(app(filter, f), xs))
no new Dependency Pairs are created.
APP(app(app(consif, true), x), ys) -> APP(app(cons, x), ys)
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳Remaining Obligation(s)
APP(app(filter, f), app(app(cons, x), xs)) -> APP(f, x)
APP(app(filter, f), app(app(cons, x), xs)) -> APP(app(consif, app(f, x)), x)
APP(app(filter, f), app(app(cons, x), xs)) -> APP(app(app(consif, app(f, x)), x), app(app(filter, f), xs))
APP(app(filter, f), app(app(cons, x), xs)) -> APP(app(filter, f), xs)
app(app(app(consif, true), x), ys) -> app(app(cons, x), ys)
app(app(app(consif, false), x), ys) -> ys
app(app(filter, f), nil) -> nil
app(app(filter, f), app(app(cons, x), xs)) -> app(app(app(consif, app(f, x)), x), app(app(filter, f), xs))