R
↳Dependency Pair Analysis
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)
APP(app(append, app(app(cons, x), xs)), ys) -> APP(app(cons, x), app(app(append, xs), ys))
APP(app(append, app(app(cons, x), xs)), ys) -> APP(app(append, xs), ys)
APP(app(append, app(app(cons, x), xs)), ys) -> APP(append, xs)
APP(app(zip, app(app(cons, xs), xss)), app(app(cons, ys), yss)) -> APP(app(cons, app(app(append, xs), ys)), app(app(zip, xss), yss))
APP(app(zip, app(app(cons, xs), xss)), app(app(cons, ys), yss)) -> APP(cons, app(app(append, xs), ys))
APP(app(zip, app(app(cons, xs), xss)), app(app(cons, ys), yss)) -> APP(app(append, xs), ys)
APP(app(zip, app(app(cons, xs), xss)), app(app(cons, ys), yss)) -> APP(append, xs)
APP(app(zip, app(app(cons, xs), xss)), app(app(cons, ys), yss)) -> APP(app(zip, xss), yss)
APP(app(zip, app(app(cons, xs), xss)), app(app(cons, ys), yss)) -> APP(zip, xss)
APP(app(combine, xs), app(app(cons, ys), yss)) -> APP(app(combine, app(app(zip, xs), ys)), yss)
APP(app(combine, xs), app(app(cons, ys), yss)) -> APP(combine, app(app(zip, xs), ys))
APP(app(combine, xs), app(app(cons, ys), yss)) -> APP(app(zip, xs), ys)
APP(app(combine, xs), app(app(cons, ys), yss)) -> APP(zip, xs)
APP(levels, app(app(node, x), xs)) -> APP(app(cons, app(app(cons, x), nil)), app(app(combine, nil), app(app(map, levels), xs)))
APP(levels, app(app(node, x), xs)) -> APP(cons, app(app(cons, x), nil))
APP(levels, app(app(node, x), xs)) -> APP(app(cons, x), nil)
APP(levels, app(app(node, x), xs)) -> APP(cons, x)
APP(levels, app(app(node, x), xs)) -> APP(app(combine, nil), app(app(map, levels), xs))
APP(levels, app(app(node, x), xs)) -> APP(combine, nil)
APP(levels, app(app(node, x), xs)) -> APP(app(map, levels), xs)
APP(levels, app(app(node, x), xs)) -> APP(map, levels)
R
↳DPs
→DP Problem 1
↳Narrowing Transformation
APP(levels, app(app(node, x), xs)) -> APP(app(map, levels), xs)
APP(levels, app(app(node, x), xs)) -> APP(app(combine, nil), app(app(map, levels), xs))
APP(levels, app(app(node, x), xs)) -> APP(app(cons, x), nil)
APP(levels, app(app(node, x), xs)) -> APP(app(cons, app(app(cons, x), nil)), app(app(combine, nil), app(app(map, levels), xs)))
APP(app(combine, xs), app(app(cons, ys), yss)) -> APP(app(zip, xs), ys)
APP(app(combine, xs), app(app(cons, ys), yss)) -> APP(app(combine, app(app(zip, xs), ys)), yss)
APP(app(zip, app(app(cons, xs), xss)), app(app(cons, ys), yss)) -> APP(app(zip, xss), yss)
APP(app(zip, app(app(cons, xs), xss)), app(app(cons, ys), yss)) -> APP(app(append, xs), ys)
APP(app(zip, app(app(cons, xs), xss)), app(app(cons, ys), yss)) -> APP(app(cons, app(app(append, xs), ys)), app(app(zip, xss), yss))
APP(app(append, app(app(cons, x), xs)), ys) -> APP(app(append, xs), ys)
APP(app(append, app(app(cons, x), xs)), ys) -> APP(app(cons, x), app(app(append, xs), ys))
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(app(map, f), app(app(cons, x), xs)) -> APP(app(cons, app(f, x)), app(app(map, f), xs))
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))
app(app(append, xs), nil) -> xs
app(app(append, nil), ys) -> ys
app(app(append, app(app(cons, x), xs)), ys) -> app(app(cons, x), app(app(append, xs), ys))
app(app(zip, nil), yss) -> yss
app(app(zip, xss), nil) -> xss
app(app(zip, app(app(cons, xs), xss)), app(app(cons, ys), yss)) -> app(app(cons, app(app(append, xs), ys)), app(app(zip, xss), yss))
app(app(combine, xs), nil) -> xs
app(app(combine, xs), app(app(cons, ys), yss)) -> app(app(combine, app(app(zip, xs), ys)), yss)
app(levels, app(app(node, x), xs)) -> app(app(cons, app(app(cons, x), nil)), app(app(combine, nil), app(app(map, levels), xs)))
no new Dependency Pairs are created.
APP(levels, app(app(node, x), xs)) -> APP(app(cons, x), nil)
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳Narrowing Transformation
APP(levels, app(app(node, x), xs)) -> APP(app(combine, nil), app(app(map, levels), xs))
APP(levels, app(app(node, x), xs)) -> APP(app(cons, app(app(cons, x), nil)), app(app(combine, nil), app(app(map, levels), xs)))
APP(app(combine, xs), app(app(cons, ys), yss)) -> APP(app(zip, xs), ys)
APP(app(combine, xs), app(app(cons, ys), yss)) -> APP(app(combine, app(app(zip, xs), ys)), yss)
APP(app(zip, app(app(cons, xs), xss)), app(app(cons, ys), yss)) -> APP(app(zip, xss), yss)
APP(app(zip, app(app(cons, xs), xss)), app(app(cons, ys), yss)) -> APP(app(append, xs), ys)
APP(app(zip, app(app(cons, xs), xss)), app(app(cons, ys), yss)) -> APP(app(cons, app(app(append, xs), ys)), app(app(zip, xss), yss))
APP(app(append, app(app(cons, x), xs)), ys) -> APP(app(append, xs), ys)
APP(app(append, app(app(cons, x), xs)), ys) -> APP(app(cons, x), app(app(append, xs), ys))
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(app(map, f), app(app(cons, x), xs)) -> APP(app(cons, app(f, x)), app(app(map, f), xs))
APP(levels, app(app(node, x), xs)) -> APP(app(map, levels), xs)
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))
app(app(append, xs), nil) -> xs
app(app(append, nil), ys) -> ys
app(app(append, app(app(cons, x), xs)), ys) -> app(app(cons, x), app(app(append, xs), ys))
app(app(zip, nil), yss) -> yss
app(app(zip, xss), nil) -> xss
app(app(zip, app(app(cons, xs), xss)), app(app(cons, ys), yss)) -> app(app(cons, app(app(append, xs), ys)), app(app(zip, xss), yss))
app(app(combine, xs), nil) -> xs
app(app(combine, xs), app(app(cons, ys), yss)) -> app(app(combine, app(app(zip, xs), ys)), yss)
app(levels, app(app(node, x), xs)) -> app(app(cons, app(app(cons, x), nil)), app(app(combine, nil), app(app(map, levels), xs)))
three new Dependency Pairs are created:
APP(app(append, app(app(cons, x), xs)), ys) -> APP(app(cons, x), app(app(append, xs), ys))
APP(app(append, app(app(cons, x), xs'')), nil) -> APP(app(cons, x), xs'')
APP(app(append, app(app(cons, x), nil)), ys'') -> APP(app(cons, x), ys'')
APP(app(append, app(app(cons, x), app(app(cons, x''), xs''))), ys'') -> APP(app(cons, x), app(app(cons, x''), app(app(append, xs''), ys'')))
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳Nar
...
→DP Problem 3
↳Narrowing Transformation
APP(app(append, app(app(cons, x), app(app(cons, x''), xs''))), ys'') -> APP(app(cons, x), app(app(cons, x''), app(app(append, xs''), ys'')))
APP(app(append, app(app(cons, x), nil)), ys'') -> APP(app(cons, x), ys'')
APP(app(append, app(app(cons, x), xs'')), nil) -> APP(app(cons, x), xs'')
APP(levels, app(app(node, x), xs)) -> APP(app(map, levels), xs)
APP(levels, app(app(node, x), xs)) -> APP(app(cons, app(app(cons, x), nil)), app(app(combine, nil), app(app(map, levels), xs)))
APP(app(combine, xs), app(app(cons, ys), yss)) -> APP(app(zip, xs), ys)
APP(app(combine, xs), app(app(cons, ys), yss)) -> APP(app(combine, app(app(zip, xs), ys)), yss)
APP(app(zip, app(app(cons, xs), xss)), app(app(cons, ys), yss)) -> APP(app(zip, xss), yss)
APP(app(zip, app(app(cons, xs), xss)), app(app(cons, ys), yss)) -> APP(app(append, xs), ys)
APP(app(zip, app(app(cons, xs), xss)), app(app(cons, ys), yss)) -> APP(app(cons, app(app(append, xs), ys)), app(app(zip, xss), yss))
APP(app(append, app(app(cons, x), xs)), ys) -> APP(app(append, xs), ys)
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(app(map, f), app(app(cons, x), xs)) -> APP(app(cons, app(f, x)), app(app(map, f), xs))
APP(levels, app(app(node, x), xs)) -> APP(app(combine, nil), app(app(map, levels), xs))
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))
app(app(append, xs), nil) -> xs
app(app(append, nil), ys) -> ys
app(app(append, app(app(cons, x), xs)), ys) -> app(app(cons, x), app(app(append, xs), ys))
app(app(zip, nil), yss) -> yss
app(app(zip, xss), nil) -> xss
app(app(zip, app(app(cons, xs), xss)), app(app(cons, ys), yss)) -> app(app(cons, app(app(append, xs), ys)), app(app(zip, xss), yss))
app(app(combine, xs), nil) -> xs
app(app(combine, xs), app(app(cons, ys), yss)) -> app(app(combine, app(app(zip, xs), ys)), yss)
app(levels, app(app(node, x), xs)) -> app(app(cons, app(app(cons, x), nil)), app(app(combine, nil), app(app(map, levels), xs)))
six new Dependency Pairs are created:
APP(app(zip, app(app(cons, xs), xss)), app(app(cons, ys), yss)) -> APP(app(cons, app(app(append, xs), ys)), app(app(zip, xss), yss))
APP(app(zip, app(app(cons, xs''), xss)), app(app(cons, nil), yss)) -> APP(app(cons, xs''), app(app(zip, xss), yss))
APP(app(zip, app(app(cons, nil), xss)), app(app(cons, ys''), yss)) -> APP(app(cons, ys''), app(app(zip, xss), yss))
APP(app(zip, app(app(cons, app(app(cons, x'), xs'')), xss)), app(app(cons, ys''), yss)) -> APP(app(cons, app(app(cons, x'), app(app(append, xs''), ys''))), app(app(zip, xss), yss))
APP(app(zip, app(app(cons, xs), nil)), app(app(cons, ys), yss'')) -> APP(app(cons, app(app(append, xs), ys)), yss'')
APP(app(zip, app(app(cons, xs), xss'')), app(app(cons, ys), nil)) -> APP(app(cons, app(app(append, xs), ys)), xss'')
APP(app(zip, app(app(cons, xs), app(app(cons, xs''), xss''))), app(app(cons, ys), app(app(cons, ys''), yss''))) -> APP(app(cons, app(app(append, xs), ys)), app(app(cons, app(app(append, xs''), ys'')), app(app(zip, xss''), yss'')))
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳Nar
...
→DP Problem 4
↳Narrowing Transformation
APP(app(zip, app(app(cons, xs), app(app(cons, xs''), xss''))), app(app(cons, ys), app(app(cons, ys''), yss''))) -> APP(app(cons, app(app(append, xs), ys)), app(app(cons, app(app(append, xs''), ys'')), app(app(zip, xss''), yss'')))
APP(app(zip, app(app(cons, xs), xss'')), app(app(cons, ys), nil)) -> APP(app(cons, app(app(append, xs), ys)), xss'')
APP(app(zip, app(app(cons, xs), nil)), app(app(cons, ys), yss'')) -> APP(app(cons, app(app(append, xs), ys)), yss'')
APP(app(zip, app(app(cons, app(app(cons, x'), xs'')), xss)), app(app(cons, ys''), yss)) -> APP(app(cons, app(app(cons, x'), app(app(append, xs''), ys''))), app(app(zip, xss), yss))
APP(app(zip, app(app(cons, nil), xss)), app(app(cons, ys''), yss)) -> APP(app(cons, ys''), app(app(zip, xss), yss))
APP(app(zip, app(app(cons, xs''), xss)), app(app(cons, nil), yss)) -> APP(app(cons, xs''), app(app(zip, xss), yss))
APP(app(append, app(app(cons, x), nil)), ys'') -> APP(app(cons, x), ys'')
APP(app(append, app(app(cons, x), xs'')), nil) -> APP(app(cons, x), xs'')
APP(levels, app(app(node, x), xs)) -> APP(app(map, levels), xs)
APP(levels, app(app(node, x), xs)) -> APP(app(combine, nil), app(app(map, levels), xs))
APP(levels, app(app(node, x), xs)) -> APP(app(cons, app(app(cons, x), nil)), app(app(combine, nil), app(app(map, levels), xs)))
APP(app(combine, xs), app(app(cons, ys), yss)) -> APP(app(zip, xs), ys)
APP(app(combine, xs), app(app(cons, ys), yss)) -> APP(app(combine, app(app(zip, xs), ys)), yss)
APP(app(zip, app(app(cons, xs), xss)), app(app(cons, ys), yss)) -> APP(app(zip, xss), yss)
APP(app(zip, app(app(cons, xs), xss)), app(app(cons, ys), yss)) -> APP(app(append, xs), ys)
APP(app(append, app(app(cons, x), xs)), ys) -> APP(app(append, xs), ys)
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(app(map, f), app(app(cons, x), xs)) -> APP(app(cons, app(f, x)), app(app(map, f), xs))
APP(app(append, app(app(cons, x), app(app(cons, x''), xs''))), ys'') -> APP(app(cons, x), app(app(cons, x''), app(app(append, xs''), ys'')))
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))
app(app(append, xs), nil) -> xs
app(app(append, nil), ys) -> ys
app(app(append, app(app(cons, x), xs)), ys) -> app(app(cons, x), app(app(append, xs), ys))
app(app(zip, nil), yss) -> yss
app(app(zip, xss), nil) -> xss
app(app(zip, app(app(cons, xs), xss)), app(app(cons, ys), yss)) -> app(app(cons, app(app(append, xs), ys)), app(app(zip, xss), yss))
app(app(combine, xs), nil) -> xs
app(app(combine, xs), app(app(cons, ys), yss)) -> app(app(combine, app(app(zip, xs), ys)), yss)
app(levels, app(app(node, x), xs)) -> app(app(cons, app(app(cons, x), nil)), app(app(combine, nil), app(app(map, levels), xs)))
two new Dependency Pairs are created:
APP(levels, app(app(node, x), xs)) -> APP(app(cons, app(app(cons, x), nil)), app(app(combine, nil), app(app(map, levels), xs)))
APP(levels, app(app(node, x), nil)) -> APP(app(cons, app(app(cons, x), nil)), app(app(combine, nil), nil))
APP(levels, app(app(node, x), app(app(cons, x''), xs''))) -> APP(app(cons, app(app(cons, x), nil)), app(app(combine, nil), app(app(cons, app(levels, x'')), app(app(map, levels), xs''))))
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳Nar
...
→DP Problem 5
↳Narrowing Transformation
APP(levels, app(app(node, x), app(app(cons, x''), xs''))) -> APP(app(cons, app(app(cons, x), nil)), app(app(combine, nil), app(app(cons, app(levels, x'')), app(app(map, levels), xs''))))
APP(levels, app(app(node, x), nil)) -> APP(app(cons, app(app(cons, x), nil)), app(app(combine, nil), nil))
APP(app(zip, app(app(cons, xs), xss'')), app(app(cons, ys), nil)) -> APP(app(cons, app(app(append, xs), ys)), xss'')
APP(app(zip, app(app(cons, xs), nil)), app(app(cons, ys), yss'')) -> APP(app(cons, app(app(append, xs), ys)), yss'')
APP(app(zip, app(app(cons, app(app(cons, x'), xs'')), xss)), app(app(cons, ys''), yss)) -> APP(app(cons, app(app(cons, x'), app(app(append, xs''), ys''))), app(app(zip, xss), yss))
APP(app(zip, app(app(cons, nil), xss)), app(app(cons, ys''), yss)) -> APP(app(cons, ys''), app(app(zip, xss), yss))
APP(app(zip, app(app(cons, xs''), xss)), app(app(cons, nil), yss)) -> APP(app(cons, xs''), app(app(zip, xss), yss))
APP(app(append, app(app(cons, x), app(app(cons, x''), xs''))), ys'') -> APP(app(cons, x), app(app(cons, x''), app(app(append, xs''), ys'')))
APP(app(append, app(app(cons, x), nil)), ys'') -> APP(app(cons, x), ys'')
APP(app(append, app(app(cons, x), xs'')), nil) -> APP(app(cons, x), xs'')
APP(levels, app(app(node, x), xs)) -> APP(app(map, levels), xs)
APP(levels, app(app(node, x), xs)) -> APP(app(combine, nil), app(app(map, levels), xs))
APP(app(combine, xs), app(app(cons, ys), yss)) -> APP(app(zip, xs), ys)
APP(app(combine, xs), app(app(cons, ys), yss)) -> APP(app(combine, app(app(zip, xs), ys)), yss)
APP(app(zip, app(app(cons, xs), xss)), app(app(cons, ys), yss)) -> APP(app(zip, xss), yss)
APP(app(zip, app(app(cons, xs), xss)), app(app(cons, ys), yss)) -> APP(app(append, xs), ys)
APP(app(append, app(app(cons, x), xs)), ys) -> APP(app(append, xs), ys)
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(app(map, f), app(app(cons, x), xs)) -> APP(app(cons, app(f, x)), app(app(map, f), xs))
APP(app(zip, app(app(cons, xs), app(app(cons, xs''), xss''))), app(app(cons, ys), app(app(cons, ys''), yss''))) -> APP(app(cons, app(app(append, xs), ys)), app(app(cons, app(app(append, xs''), ys'')), app(app(zip, xss''), yss'')))
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))
app(app(append, xs), nil) -> xs
app(app(append, nil), ys) -> ys
app(app(append, app(app(cons, x), xs)), ys) -> app(app(cons, x), app(app(append, xs), ys))
app(app(zip, nil), yss) -> yss
app(app(zip, xss), nil) -> xss
app(app(zip, app(app(cons, xs), xss)), app(app(cons, ys), yss)) -> app(app(cons, app(app(append, xs), ys)), app(app(zip, xss), yss))
app(app(combine, xs), nil) -> xs
app(app(combine, xs), app(app(cons, ys), yss)) -> app(app(combine, app(app(zip, xs), ys)), yss)
app(levels, app(app(node, x), xs)) -> app(app(cons, app(app(cons, x), nil)), app(app(combine, nil), app(app(map, levels), xs)))
two new Dependency Pairs are created:
APP(levels, app(app(node, x), xs)) -> APP(app(combine, nil), app(app(map, levels), xs))
APP(levels, app(app(node, x), nil)) -> APP(app(combine, nil), nil)
APP(levels, app(app(node, x), app(app(cons, x''), xs''))) -> APP(app(combine, nil), app(app(cons, app(levels, x'')), app(app(map, levels), xs'')))
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳Nar
...
→DP Problem 6
↳Narrowing Transformation
APP(levels, app(app(node, x), app(app(cons, x''), xs''))) -> APP(app(combine, nil), app(app(cons, app(levels, x'')), app(app(map, levels), xs'')))
APP(levels, app(app(node, x), nil)) -> APP(app(combine, nil), nil)
APP(levels, app(app(node, x), nil)) -> APP(app(cons, app(app(cons, x), nil)), app(app(combine, nil), nil))
APP(app(zip, app(app(cons, xs), app(app(cons, xs''), xss''))), app(app(cons, ys), app(app(cons, ys''), yss''))) -> APP(app(cons, app(app(append, xs), ys)), app(app(cons, app(app(append, xs''), ys'')), app(app(zip, xss''), yss'')))
APP(app(zip, app(app(cons, xs), xss'')), app(app(cons, ys), nil)) -> APP(app(cons, app(app(append, xs), ys)), xss'')
APP(app(zip, app(app(cons, xs), nil)), app(app(cons, ys), yss'')) -> APP(app(cons, app(app(append, xs), ys)), yss'')
APP(app(zip, app(app(cons, app(app(cons, x'), xs'')), xss)), app(app(cons, ys''), yss)) -> APP(app(cons, app(app(cons, x'), app(app(append, xs''), ys''))), app(app(zip, xss), yss))
APP(app(zip, app(app(cons, nil), xss)), app(app(cons, ys''), yss)) -> APP(app(cons, ys''), app(app(zip, xss), yss))
APP(app(zip, app(app(cons, xs''), xss)), app(app(cons, nil), yss)) -> APP(app(cons, xs''), app(app(zip, xss), yss))
APP(app(append, app(app(cons, x), app(app(cons, x''), xs''))), ys'') -> APP(app(cons, x), app(app(cons, x''), app(app(append, xs''), ys'')))
APP(app(append, app(app(cons, x), nil)), ys'') -> APP(app(cons, x), ys'')
APP(app(append, app(app(cons, x), xs'')), nil) -> APP(app(cons, x), xs'')
APP(levels, app(app(node, x), xs)) -> APP(app(map, levels), xs)
APP(app(combine, xs), app(app(cons, ys), yss)) -> APP(app(zip, xs), ys)
APP(app(combine, xs), app(app(cons, ys), yss)) -> APP(app(combine, app(app(zip, xs), ys)), yss)
APP(app(zip, app(app(cons, xs), xss)), app(app(cons, ys), yss)) -> APP(app(zip, xss), yss)
APP(app(zip, app(app(cons, xs), xss)), app(app(cons, ys), yss)) -> APP(app(append, xs), ys)
APP(app(append, app(app(cons, x), xs)), ys) -> APP(app(append, xs), ys)
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(app(map, f), app(app(cons, x), xs)) -> APP(app(cons, app(f, x)), app(app(map, f), xs))
APP(levels, app(app(node, x), app(app(cons, x''), xs''))) -> APP(app(cons, app(app(cons, x), nil)), app(app(combine, nil), app(app(cons, app(levels, x'')), app(app(map, levels), xs''))))
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))
app(app(append, xs), nil) -> xs
app(app(append, nil), ys) -> ys
app(app(append, app(app(cons, x), xs)), ys) -> app(app(cons, x), app(app(append, xs), ys))
app(app(zip, nil), yss) -> yss
app(app(zip, xss), nil) -> xss
app(app(zip, app(app(cons, xs), xss)), app(app(cons, ys), yss)) -> app(app(cons, app(app(append, xs), ys)), app(app(zip, xss), yss))
app(app(combine, xs), nil) -> xs
app(app(combine, xs), app(app(cons, ys), yss)) -> app(app(combine, app(app(zip, xs), ys)), yss)
app(levels, app(app(node, x), xs)) -> app(app(cons, app(app(cons, x), nil)), app(app(combine, nil), app(app(map, levels), xs)))
no new Dependency Pairs are created.
APP(app(append, app(app(cons, x), xs'')), nil) -> APP(app(cons, x), xs'')
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳Nar
...
→DP Problem 7
↳Narrowing Transformation
APP(levels, app(app(node, x), nil)) -> APP(app(combine, nil), nil)
APP(levels, app(app(node, x), app(app(cons, x''), xs''))) -> APP(app(cons, app(app(cons, x), nil)), app(app(combine, nil), app(app(cons, app(levels, x'')), app(app(map, levels), xs''))))
APP(levels, app(app(node, x), nil)) -> APP(app(cons, app(app(cons, x), nil)), app(app(combine, nil), nil))
APP(app(zip, app(app(cons, xs), app(app(cons, xs''), xss''))), app(app(cons, ys), app(app(cons, ys''), yss''))) -> APP(app(cons, app(app(append, xs), ys)), app(app(cons, app(app(append, xs''), ys'')), app(app(zip, xss''), yss'')))
APP(app(zip, app(app(cons, xs), xss'')), app(app(cons, ys), nil)) -> APP(app(cons, app(app(append, xs), ys)), xss'')
APP(app(zip, app(app(cons, xs), nil)), app(app(cons, ys), yss'')) -> APP(app(cons, app(app(append, xs), ys)), yss'')
APP(app(zip, app(app(cons, app(app(cons, x'), xs'')), xss)), app(app(cons, ys''), yss)) -> APP(app(cons, app(app(cons, x'), app(app(append, xs''), ys''))), app(app(zip, xss), yss))
APP(app(zip, app(app(cons, nil), xss)), app(app(cons, ys''), yss)) -> APP(app(cons, ys''), app(app(zip, xss), yss))
APP(app(zip, app(app(cons, xs''), xss)), app(app(cons, nil), yss)) -> APP(app(cons, xs''), app(app(zip, xss), yss))
APP(app(append, app(app(cons, x), app(app(cons, x''), xs''))), ys'') -> APP(app(cons, x), app(app(cons, x''), app(app(append, xs''), ys'')))
APP(app(append, app(app(cons, x), nil)), ys'') -> APP(app(cons, x), ys'')
APP(levels, app(app(node, x), xs)) -> APP(app(map, levels), xs)
APP(app(combine, xs), app(app(cons, ys), yss)) -> APP(app(zip, xs), ys)
APP(app(combine, xs), app(app(cons, ys), yss)) -> APP(app(combine, app(app(zip, xs), ys)), yss)
APP(app(zip, app(app(cons, xs), xss)), app(app(cons, ys), yss)) -> APP(app(zip, xss), yss)
APP(app(zip, app(app(cons, xs), xss)), app(app(cons, ys), yss)) -> APP(app(append, xs), ys)
APP(app(append, app(app(cons, x), xs)), ys) -> APP(app(append, xs), ys)
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(app(map, f), app(app(cons, x), xs)) -> APP(app(cons, app(f, x)), app(app(map, f), xs))
APP(levels, app(app(node, x), app(app(cons, x''), xs''))) -> APP(app(combine, nil), app(app(cons, app(levels, x'')), app(app(map, levels), xs'')))
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))
app(app(append, xs), nil) -> xs
app(app(append, nil), ys) -> ys
app(app(append, app(app(cons, x), xs)), ys) -> app(app(cons, x), app(app(append, xs), ys))
app(app(zip, nil), yss) -> yss
app(app(zip, xss), nil) -> xss
app(app(zip, app(app(cons, xs), xss)), app(app(cons, ys), yss)) -> app(app(cons, app(app(append, xs), ys)), app(app(zip, xss), yss))
app(app(combine, xs), nil) -> xs
app(app(combine, xs), app(app(cons, ys), yss)) -> app(app(combine, app(app(zip, xs), ys)), yss)
app(levels, app(app(node, x), xs)) -> app(app(cons, app(app(cons, x), nil)), app(app(combine, nil), app(app(map, levels), xs)))
no new Dependency Pairs are created.
APP(app(append, app(app(cons, x), nil)), ys'') -> APP(app(cons, x), ys'')
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳Nar
...
→DP Problem 8
↳Narrowing Transformation
APP(levels, app(app(node, x), app(app(cons, x''), xs''))) -> APP(app(combine, nil), app(app(cons, app(levels, x'')), app(app(map, levels), xs'')))
APP(levels, app(app(node, x), app(app(cons, x''), xs''))) -> APP(app(cons, app(app(cons, x), nil)), app(app(combine, nil), app(app(cons, app(levels, x'')), app(app(map, levels), xs''))))
APP(levels, app(app(node, x), nil)) -> APP(app(cons, app(app(cons, x), nil)), app(app(combine, nil), nil))
APP(app(zip, app(app(cons, xs), app(app(cons, xs''), xss''))), app(app(cons, ys), app(app(cons, ys''), yss''))) -> APP(app(cons, app(app(append, xs), ys)), app(app(cons, app(app(append, xs''), ys'')), app(app(zip, xss''), yss'')))
APP(app(zip, app(app(cons, xs), xss'')), app(app(cons, ys), nil)) -> APP(app(cons, app(app(append, xs), ys)), xss'')
APP(app(zip, app(app(cons, xs), nil)), app(app(cons, ys), yss'')) -> APP(app(cons, app(app(append, xs), ys)), yss'')
APP(app(zip, app(app(cons, app(app(cons, x'), xs'')), xss)), app(app(cons, ys''), yss)) -> APP(app(cons, app(app(cons, x'), app(app(append, xs''), ys''))), app(app(zip, xss), yss))
APP(app(zip, app(app(cons, nil), xss)), app(app(cons, ys''), yss)) -> APP(app(cons, ys''), app(app(zip, xss), yss))
APP(app(zip, app(app(cons, xs''), xss)), app(app(cons, nil), yss)) -> APP(app(cons, xs''), app(app(zip, xss), yss))
APP(app(append, app(app(cons, x), app(app(cons, x''), xs''))), ys'') -> APP(app(cons, x), app(app(cons, x''), app(app(append, xs''), ys'')))
APP(levels, app(app(node, x), xs)) -> APP(app(map, levels), xs)
APP(app(combine, xs), app(app(cons, ys), yss)) -> APP(app(zip, xs), ys)
APP(app(combine, xs), app(app(cons, ys), yss)) -> APP(app(combine, app(app(zip, xs), ys)), yss)
APP(app(zip, app(app(cons, xs), xss)), app(app(cons, ys), yss)) -> APP(app(zip, xss), yss)
APP(app(zip, app(app(cons, xs), xss)), app(app(cons, ys), yss)) -> APP(app(append, xs), ys)
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(app(map, f), app(app(cons, x), xs)) -> APP(app(cons, app(f, x)), app(app(map, f), xs))
APP(app(append, app(app(cons, x), xs)), ys) -> APP(app(append, xs), ys)
APP(levels, app(app(node, x), nil)) -> APP(app(combine, nil), nil)
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))
app(app(append, xs), nil) -> xs
app(app(append, nil), ys) -> ys
app(app(append, app(app(cons, x), xs)), ys) -> app(app(cons, x), app(app(append, xs), ys))
app(app(zip, nil), yss) -> yss
app(app(zip, xss), nil) -> xss
app(app(zip, app(app(cons, xs), xss)), app(app(cons, ys), yss)) -> app(app(cons, app(app(append, xs), ys)), app(app(zip, xss), yss))
app(app(combine, xs), nil) -> xs
app(app(combine, xs), app(app(cons, ys), yss)) -> app(app(combine, app(app(zip, xs), ys)), yss)
app(levels, app(app(node, x), xs)) -> app(app(cons, app(app(cons, x), nil)), app(app(combine, nil), app(app(map, levels), xs)))
no new Dependency Pairs are created.
APP(levels, app(app(node, x), nil)) -> APP(app(combine, nil), nil)
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳Nar
...
→DP Problem 9
↳Remaining Obligation(s)
APP(levels, app(app(node, x), app(app(cons, x''), xs''))) -> APP(app(cons, app(app(cons, x), nil)), app(app(combine, nil), app(app(cons, app(levels, x'')), app(app(map, levels), xs''))))
APP(levels, app(app(node, x), nil)) -> APP(app(cons, app(app(cons, x), nil)), app(app(combine, nil), nil))
APP(app(zip, app(app(cons, xs), app(app(cons, xs''), xss''))), app(app(cons, ys), app(app(cons, ys''), yss''))) -> APP(app(cons, app(app(append, xs), ys)), app(app(cons, app(app(append, xs''), ys'')), app(app(zip, xss''), yss'')))
APP(app(zip, app(app(cons, xs), xss'')), app(app(cons, ys), nil)) -> APP(app(cons, app(app(append, xs), ys)), xss'')
APP(app(zip, app(app(cons, xs), nil)), app(app(cons, ys), yss'')) -> APP(app(cons, app(app(append, xs), ys)), yss'')
APP(app(zip, app(app(cons, app(app(cons, x'), xs'')), xss)), app(app(cons, ys''), yss)) -> APP(app(cons, app(app(cons, x'), app(app(append, xs''), ys''))), app(app(zip, xss), yss))
APP(app(zip, app(app(cons, nil), xss)), app(app(cons, ys''), yss)) -> APP(app(cons, ys''), app(app(zip, xss), yss))
APP(app(zip, app(app(cons, xs''), xss)), app(app(cons, nil), yss)) -> APP(app(cons, xs''), app(app(zip, xss), yss))
APP(app(append, app(app(cons, x), app(app(cons, x''), xs''))), ys'') -> APP(app(cons, x), app(app(cons, x''), app(app(append, xs''), ys'')))
APP(levels, app(app(node, x), xs)) -> APP(app(map, levels), xs)
APP(app(combine, xs), app(app(cons, ys), yss)) -> APP(app(zip, xs), ys)
APP(app(combine, xs), app(app(cons, ys), yss)) -> APP(app(combine, app(app(zip, xs), ys)), yss)
APP(app(zip, app(app(cons, xs), xss)), app(app(cons, ys), yss)) -> APP(app(zip, xss), yss)
APP(app(zip, app(app(cons, xs), xss)), app(app(cons, ys), yss)) -> APP(app(append, xs), ys)
APP(app(append, app(app(cons, x), xs)), ys) -> APP(app(append, xs), ys)
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(app(map, f), app(app(cons, x), xs)) -> APP(app(cons, app(f, x)), app(app(map, f), xs))
APP(levels, app(app(node, x), app(app(cons, x''), xs''))) -> APP(app(combine, nil), app(app(cons, app(levels, x'')), app(app(map, levels), xs'')))
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))
app(app(append, xs), nil) -> xs
app(app(append, nil), ys) -> ys
app(app(append, app(app(cons, x), xs)), ys) -> app(app(cons, x), app(app(append, xs), ys))
app(app(zip, nil), yss) -> yss
app(app(zip, xss), nil) -> xss
app(app(zip, app(app(cons, xs), xss)), app(app(cons, ys), yss)) -> app(app(cons, app(app(append, xs), ys)), app(app(zip, xss), yss))
app(app(combine, xs), nil) -> xs
app(app(combine, xs), app(app(cons, ys), yss)) -> app(app(combine, app(app(zip, xs), ys)), yss)
app(levels, app(app(node, x), xs)) -> app(app(cons, app(app(cons, x), nil)), app(app(combine, nil), app(app(map, levels), xs)))