R
↳Dependency Pair Analysis
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(flatwith, f), app(leaf, x)) -> APP(app(cons, app(f, x)), nil)
APP(app(flatwith, f), app(leaf, x)) -> APP(cons, app(f, x))
APP(app(flatwith, f), app(leaf, x)) -> APP(f, x)
APP(app(flatwith, f), app(node, xs)) -> APP(app(flatwithsub, f), xs)
APP(app(flatwith, f), app(node, xs)) -> APP(flatwithsub, f)
APP(app(flatwithsub, f), app(app(cons, x), xs)) -> APP(app(append, app(app(flatwith, f), x)), app(app(flatwithsub, f), xs))
APP(app(flatwithsub, f), app(app(cons, x), xs)) -> APP(append, app(app(flatwith, f), x))
APP(app(flatwithsub, f), app(app(cons, x), xs)) -> APP(app(flatwith, f), x)
APP(app(flatwithsub, f), app(app(cons, x), xs)) -> APP(flatwith, f)
APP(app(flatwithsub, f), app(app(cons, x), xs)) -> APP(app(flatwithsub, f), xs)
R
↳DPs
→DP Problem 1
↳Narrowing Transformation
APP(app(flatwithsub, f), app(app(cons, x), xs)) -> APP(app(flatwithsub, f), xs)
APP(app(flatwithsub, f), app(app(cons, x), xs)) -> APP(app(flatwith, f), x)
APP(app(flatwithsub, f), app(app(cons, x), xs)) -> APP(app(append, app(app(flatwith, f), x)), app(app(flatwithsub, f), xs))
APP(app(flatwith, f), app(node, xs)) -> APP(app(flatwithsub, f), xs)
APP(app(flatwith, f), app(leaf, x)) -> APP(f, x)
APP(app(flatwith, f), app(leaf, x)) -> APP(app(cons, app(f, x)), nil)
APP(app(append, app(app(cons, x), xs)), ys) -> APP(app(append, xs), ys)
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(flatwith, f), app(leaf, x)) -> app(app(cons, app(f, x)), nil)
app(app(flatwith, f), app(node, xs)) -> app(app(flatwithsub, f), xs)
app(app(flatwithsub, f), nil) -> nil
app(app(flatwithsub, f), app(app(cons, x), xs)) -> app(app(append, app(app(flatwith, f), x)), app(app(flatwithsub, f), xs))
innermost
six new Dependency Pairs are created:
APP(app(flatwith, f), app(leaf, x)) -> APP(app(cons, app(f, x)), nil)
APP(app(flatwith, app(append, nil)), app(leaf, x')) -> APP(app(cons, x'), nil)
APP(app(flatwith, app(append, app(app(cons, x''), xs'))), app(leaf, x0)) -> APP(app(cons, app(app(cons, x''), app(app(append, xs'), x0))), nil)
APP(app(flatwith, app(flatwith, f'')), app(leaf, app(leaf, x''))) -> APP(app(cons, app(app(cons, app(f'', x'')), nil)), nil)
APP(app(flatwith, app(flatwith, f'')), app(leaf, app(node, xs'))) -> APP(app(cons, app(app(flatwithsub, f''), xs')), nil)
APP(app(flatwith, app(flatwithsub, f'')), app(leaf, nil)) -> APP(app(cons, nil), nil)
APP(app(flatwith, app(flatwithsub, f'')), app(leaf, app(app(cons, x''), xs'))) -> APP(app(cons, app(app(append, app(app(flatwith, f''), x'')), app(app(flatwithsub, f''), xs'))), nil)
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳Narrowing Transformation
APP(app(flatwith, app(flatwithsub, f'')), app(leaf, app(app(cons, x''), xs'))) -> APP(app(cons, app(app(append, app(app(flatwith, f''), x'')), app(app(flatwithsub, f''), xs'))), nil)
APP(app(flatwith, app(flatwithsub, f'')), app(leaf, nil)) -> APP(app(cons, nil), nil)
APP(app(flatwith, app(flatwith, f'')), app(leaf, app(node, xs'))) -> APP(app(cons, app(app(flatwithsub, f''), xs')), nil)
APP(app(flatwith, app(flatwith, f'')), app(leaf, app(leaf, x''))) -> APP(app(cons, app(app(cons, app(f'', x'')), nil)), nil)
APP(app(flatwith, app(append, app(app(cons, x''), xs'))), app(leaf, x0)) -> APP(app(cons, app(app(cons, x''), app(app(append, xs'), x0))), nil)
APP(app(flatwith, app(append, nil)), app(leaf, x')) -> APP(app(cons, x'), nil)
APP(app(flatwithsub, f), app(app(cons, x), xs)) -> APP(app(flatwith, f), x)
APP(app(flatwith, f), app(node, xs)) -> APP(app(flatwithsub, f), xs)
APP(app(flatwith, f), app(leaf, x)) -> APP(f, x)
APP(app(append, app(app(cons, x), xs)), ys) -> APP(app(append, xs), ys)
APP(app(flatwithsub, f), app(app(cons, x), xs)) -> APP(app(append, app(app(flatwith, f), x)), app(app(flatwithsub, f), xs))
APP(app(flatwithsub, f), app(app(cons, x), xs)) -> APP(app(flatwithsub, f), 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(flatwith, f), app(leaf, x)) -> app(app(cons, app(f, x)), nil)
app(app(flatwith, f), app(node, xs)) -> app(app(flatwithsub, f), xs)
app(app(flatwithsub, f), nil) -> nil
app(app(flatwithsub, f), app(app(cons, x), xs)) -> app(app(append, app(app(flatwith, f), x)), app(app(flatwithsub, f), xs))
innermost
four new Dependency Pairs are created:
APP(app(flatwithsub, f), app(app(cons, x), xs)) -> APP(app(append, app(app(flatwith, f), x)), app(app(flatwithsub, f), xs))
APP(app(flatwithsub, f''), app(app(cons, app(leaf, x'')), xs)) -> APP(app(append, app(app(cons, app(f'', x'')), nil)), app(app(flatwithsub, f''), xs))
APP(app(flatwithsub, f''), app(app(cons, app(node, xs'')), xs)) -> APP(app(append, app(app(flatwithsub, f''), xs'')), app(app(flatwithsub, f''), xs))
APP(app(flatwithsub, f''), app(app(cons, x), nil)) -> APP(app(append, app(app(flatwith, f''), x)), nil)
APP(app(flatwithsub, f''), app(app(cons, x), app(app(cons, x''), xs''))) -> APP(app(append, app(app(flatwith, f''), x)), app(app(append, app(app(flatwith, f''), x'')), app(app(flatwithsub, f''), xs'')))
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳Nar
...
→DP Problem 3
↳Narrowing Transformation
APP(app(flatwithsub, f''), app(app(cons, x), app(app(cons, x''), xs''))) -> APP(app(append, app(app(flatwith, f''), x)), app(app(append, app(app(flatwith, f''), x'')), app(app(flatwithsub, f''), xs'')))
APP(app(flatwithsub, f''), app(app(cons, x), nil)) -> APP(app(append, app(app(flatwith, f''), x)), nil)
APP(app(flatwithsub, f''), app(app(cons, app(node, xs'')), xs)) -> APP(app(append, app(app(flatwithsub, f''), xs'')), app(app(flatwithsub, f''), xs))
APP(app(flatwith, app(flatwithsub, f'')), app(leaf, nil)) -> APP(app(cons, nil), nil)
APP(app(flatwith, app(flatwith, f'')), app(leaf, app(node, xs'))) -> APP(app(cons, app(app(flatwithsub, f''), xs')), nil)
APP(app(flatwith, app(flatwith, f'')), app(leaf, app(leaf, x''))) -> APP(app(cons, app(app(cons, app(f'', x'')), nil)), nil)
APP(app(flatwith, app(append, app(app(cons, x''), xs'))), app(leaf, x0)) -> APP(app(cons, app(app(cons, x''), app(app(append, xs'), x0))), nil)
APP(app(flatwith, app(append, nil)), app(leaf, x')) -> APP(app(cons, x'), nil)
APP(app(flatwithsub, f''), app(app(cons, app(leaf, x'')), xs)) -> APP(app(append, app(app(cons, app(f'', x'')), nil)), app(app(flatwithsub, f''), xs))
APP(app(flatwithsub, f), app(app(cons, x), xs)) -> APP(app(flatwithsub, f), xs)
APP(app(flatwithsub, f), app(app(cons, x), xs)) -> APP(app(flatwith, f), x)
APP(app(flatwith, f), app(node, xs)) -> APP(app(flatwithsub, f), xs)
APP(app(flatwith, f), app(leaf, x)) -> APP(f, x)
APP(app(append, app(app(cons, x), xs)), ys) -> APP(app(append, xs), ys)
APP(app(flatwith, app(flatwithsub, f'')), app(leaf, app(app(cons, x''), xs'))) -> APP(app(cons, app(app(append, app(app(flatwith, f''), x'')), app(app(flatwithsub, f''), xs'))), nil)
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(flatwith, f), app(leaf, x)) -> app(app(cons, app(f, x)), nil)
app(app(flatwith, f), app(node, xs)) -> app(app(flatwithsub, f), xs)
app(app(flatwithsub, f), nil) -> nil
app(app(flatwithsub, f), app(app(cons, x), xs)) -> app(app(append, app(app(flatwith, f), x)), app(app(flatwithsub, f), xs))
innermost
no new Dependency Pairs are created.
APP(app(flatwith, app(append, nil)), app(leaf, x')) -> APP(app(cons, x'), nil)
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳Nar
...
→DP Problem 4
↳Narrowing Transformation
APP(app(flatwithsub, f''), app(app(cons, x), nil)) -> APP(app(append, app(app(flatwith, f''), x)), nil)
APP(app(flatwithsub, f''), app(app(cons, app(node, xs'')), xs)) -> APP(app(append, app(app(flatwithsub, f''), xs'')), app(app(flatwithsub, f''), xs))
APP(app(flatwith, app(flatwithsub, f'')), app(leaf, app(app(cons, x''), xs'))) -> APP(app(cons, app(app(append, app(app(flatwith, f''), x'')), app(app(flatwithsub, f''), xs'))), nil)
APP(app(flatwith, app(flatwithsub, f'')), app(leaf, nil)) -> APP(app(cons, nil), nil)
APP(app(flatwith, app(flatwith, f'')), app(leaf, app(node, xs'))) -> APP(app(cons, app(app(flatwithsub, f''), xs')), nil)
APP(app(flatwith, app(flatwith, f'')), app(leaf, app(leaf, x''))) -> APP(app(cons, app(app(cons, app(f'', x'')), nil)), nil)
APP(app(flatwith, app(append, app(app(cons, x''), xs'))), app(leaf, x0)) -> APP(app(cons, app(app(cons, x''), app(app(append, xs'), x0))), nil)
APP(app(flatwithsub, f''), app(app(cons, app(leaf, x'')), xs)) -> APP(app(append, app(app(cons, app(f'', x'')), nil)), app(app(flatwithsub, f''), xs))
APP(app(flatwithsub, f), app(app(cons, x), xs)) -> APP(app(flatwithsub, f), xs)
APP(app(flatwithsub, f), app(app(cons, x), xs)) -> APP(app(flatwith, f), x)
APP(app(flatwith, f), app(node, xs)) -> APP(app(flatwithsub, f), xs)
APP(app(flatwith, f), app(leaf, x)) -> APP(f, x)
APP(app(append, app(app(cons, x), xs)), ys) -> APP(app(append, xs), ys)
APP(app(flatwithsub, f''), app(app(cons, x), app(app(cons, x''), xs''))) -> APP(app(append, app(app(flatwith, f''), x)), app(app(append, app(app(flatwith, f''), x'')), app(app(flatwithsub, f''), 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(flatwith, f), app(leaf, x)) -> app(app(cons, app(f, x)), nil)
app(app(flatwith, f), app(node, xs)) -> app(app(flatwithsub, f), xs)
app(app(flatwithsub, f), nil) -> nil
app(app(flatwithsub, f), app(app(cons, x), xs)) -> app(app(append, app(app(flatwith, f), x)), app(app(flatwithsub, f), xs))
innermost
no new Dependency Pairs are created.
APP(app(flatwith, app(flatwithsub, f'')), app(leaf, nil)) -> APP(app(cons, nil), nil)
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳Nar
...
→DP Problem 5
↳Remaining Obligation(s)
APP(app(flatwithsub, f''), app(app(cons, x), app(app(cons, x''), xs''))) -> APP(app(append, app(app(flatwith, f''), x)), app(app(append, app(app(flatwith, f''), x'')), app(app(flatwithsub, f''), xs'')))
APP(app(flatwithsub, f''), app(app(cons, app(node, xs'')), xs)) -> APP(app(append, app(app(flatwithsub, f''), xs'')), app(app(flatwithsub, f''), xs))
APP(app(flatwith, app(flatwithsub, f'')), app(leaf, app(app(cons, x''), xs'))) -> APP(app(cons, app(app(append, app(app(flatwith, f''), x'')), app(app(flatwithsub, f''), xs'))), nil)
APP(app(flatwith, app(flatwith, f'')), app(leaf, app(node, xs'))) -> APP(app(cons, app(app(flatwithsub, f''), xs')), nil)
APP(app(flatwith, app(flatwith, f'')), app(leaf, app(leaf, x''))) -> APP(app(cons, app(app(cons, app(f'', x'')), nil)), nil)
APP(app(flatwith, app(append, app(app(cons, x''), xs'))), app(leaf, x0)) -> APP(app(cons, app(app(cons, x''), app(app(append, xs'), x0))), nil)
APP(app(flatwithsub, f''), app(app(cons, app(leaf, x'')), xs)) -> APP(app(append, app(app(cons, app(f'', x'')), nil)), app(app(flatwithsub, f''), xs))
APP(app(flatwithsub, f), app(app(cons, x), xs)) -> APP(app(flatwithsub, f), xs)
APP(app(flatwithsub, f), app(app(cons, x), xs)) -> APP(app(flatwith, f), x)
APP(app(flatwith, f), app(node, xs)) -> APP(app(flatwithsub, f), xs)
APP(app(flatwith, f), app(leaf, x)) -> APP(f, x)
APP(app(append, app(app(cons, x), xs)), ys) -> APP(app(append, xs), ys)
APP(app(flatwithsub, f''), app(app(cons, x), nil)) -> APP(app(append, app(app(flatwith, f''), x)), nil)
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(flatwith, f), app(leaf, x)) -> app(app(cons, app(f, x)), nil)
app(app(flatwith, f), app(node, xs)) -> app(app(flatwithsub, f), xs)
app(app(flatwithsub, f), nil) -> nil
app(app(flatwithsub, f), app(app(cons, x), xs)) -> app(app(append, app(app(flatwith, f), x)), app(app(flatwithsub, f), xs))
innermost