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(treemap, f), app(app(node, x), xs)) -> APP(app(node, app(f, x)), app(app(map, app(treemap, f)), xs))
APP(app(treemap, f), app(app(node, x), xs)) -> APP(node, app(f, x))
APP(app(treemap, f), app(app(node, x), xs)) -> APP(f, x)
APP(app(treemap, f), app(app(node, x), xs)) -> APP(app(map, app(treemap, f)), xs)
APP(app(treemap, f), app(app(node, x), xs)) -> APP(map, app(treemap, f))
R
↳DPs
→DP Problem 1
↳Narrowing Transformation
APP(app(treemap, f), app(app(node, x), xs)) -> APP(app(map, app(treemap, f)), xs)
APP(app(treemap, f), app(app(node, x), xs)) -> APP(f, x)
APP(app(treemap, f), app(app(node, x), xs)) -> APP(app(node, app(f, x)), app(app(map, app(treemap, f)), xs))
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(treemap, f), app(app(node, x), xs)) -> app(app(node, app(f, x)), app(app(map, app(treemap, f)), xs))
innermost
five new Dependency Pairs are created:
APP(app(map, f), app(app(cons, x), xs)) -> APP(app(cons, app(f, x)), app(app(map, f), xs))
APP(app(map, app(map, f'')), app(app(cons, nil), xs)) -> APP(app(cons, nil), app(app(map, app(map, f'')), xs))
APP(app(map, app(map, f'')), app(app(cons, app(app(cons, x''), xs'')), xs)) -> APP(app(cons, app(app(cons, app(f'', x'')), app(app(map, f''), xs''))), app(app(map, app(map, f'')), xs))
APP(app(map, app(treemap, f'')), app(app(cons, app(app(node, x''), xs'')), xs)) -> APP(app(cons, app(app(node, app(f'', x'')), app(app(map, app(treemap, f'')), xs''))), app(app(map, app(treemap, f'')), xs))
APP(app(map, f''), app(app(cons, x), nil)) -> APP(app(cons, app(f'', x)), nil)
APP(app(map, f''), app(app(cons, x), app(app(cons, x''), xs''))) -> APP(app(cons, app(f'', x)), app(app(cons, app(f'', x'')), app(app(map, f''), xs'')))
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳Narrowing Transformation
APP(app(map, f''), app(app(cons, x), app(app(cons, x''), xs''))) -> APP(app(cons, app(f'', x)), app(app(cons, app(f'', x'')), app(app(map, f''), xs'')))
APP(app(map, app(treemap, f'')), app(app(cons, app(app(node, x''), xs'')), xs)) -> APP(app(cons, app(app(node, app(f'', x'')), app(app(map, app(treemap, f'')), xs''))), app(app(map, app(treemap, f'')), xs))
APP(app(treemap, f), app(app(node, x), xs)) -> APP(f, x)
APP(app(treemap, f), app(app(node, x), xs)) -> APP(app(node, app(f, x)), app(app(map, app(treemap, f)), xs))
APP(app(map, app(map, f'')), app(app(cons, app(app(cons, x''), xs'')), xs)) -> APP(app(cons, app(app(cons, app(f'', x'')), app(app(map, f''), xs''))), app(app(map, app(map, f'')), xs))
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(treemap, f), app(app(node, x), xs)) -> APP(app(map, app(treemap, 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(treemap, f), app(app(node, x), xs)) -> app(app(node, app(f, x)), app(app(map, app(treemap, f)), xs))
innermost
five new Dependency Pairs are created:
APP(app(treemap, f), app(app(node, x), xs)) -> APP(app(node, app(f, x)), app(app(map, app(treemap, f)), xs))
APP(app(treemap, app(map, f'')), app(app(node, nil), xs)) -> APP(app(node, nil), app(app(map, app(treemap, app(map, f''))), xs))
APP(app(treemap, app(map, f'')), app(app(node, app(app(cons, x''), xs'')), xs)) -> APP(app(node, app(app(cons, app(f'', x'')), app(app(map, f''), xs''))), app(app(map, app(treemap, app(map, f''))), xs))
APP(app(treemap, app(treemap, f'')), app(app(node, app(app(node, x''), xs'')), xs)) -> APP(app(node, app(app(node, app(f'', x'')), app(app(map, app(treemap, f'')), xs''))), app(app(map, app(treemap, app(treemap, f''))), xs))
APP(app(treemap, f''), app(app(node, x), nil)) -> APP(app(node, app(f'', x)), nil)
APP(app(treemap, f''), app(app(node, x), app(app(cons, x''), xs''))) -> APP(app(node, app(f'', x)), app(app(cons, app(app(treemap, f''), x'')), app(app(map, app(treemap, f'')), xs'')))
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳Nar
...
→DP Problem 3
↳Forward Instantiation Transformation
APP(app(treemap, f''), app(app(node, x), app(app(cons, x''), xs''))) -> APP(app(node, app(f'', x)), app(app(cons, app(app(treemap, f''), x'')), app(app(map, app(treemap, f'')), xs'')))
APP(app(treemap, app(treemap, f'')), app(app(node, app(app(node, x''), xs'')), xs)) -> APP(app(node, app(app(node, app(f'', x'')), app(app(map, app(treemap, f'')), xs''))), app(app(map, app(treemap, app(treemap, f''))), xs))
APP(app(treemap, app(map, f'')), app(app(node, app(app(cons, x''), xs'')), xs)) -> APP(app(node, app(app(cons, app(f'', x'')), app(app(map, f''), xs''))), app(app(map, app(treemap, app(map, f''))), xs))
APP(app(map, app(treemap, f'')), app(app(cons, app(app(node, x''), xs'')), xs)) -> APP(app(cons, app(app(node, app(f'', x'')), app(app(map, app(treemap, f'')), xs''))), app(app(map, app(treemap, f'')), xs))
APP(app(treemap, f), app(app(node, x), xs)) -> APP(app(map, app(treemap, f)), xs)
APP(app(treemap, f), app(app(node, x), xs)) -> APP(f, x)
APP(app(map, app(map, f'')), app(app(cons, app(app(cons, x''), xs'')), xs)) -> APP(app(cons, app(app(cons, app(f'', x'')), app(app(map, f''), xs''))), app(app(map, app(map, f'')), xs))
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), app(app(cons, x''), xs''))) -> APP(app(cons, app(f'', x)), 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(treemap, f), app(app(node, x), xs)) -> app(app(node, app(f, x)), app(app(map, app(treemap, f)), xs))
innermost
eight new Dependency Pairs are created:
APP(app(map, f), app(app(cons, x), xs)) -> APP(f, x)
APP(app(map, app(map, f'')), app(app(cons, app(app(cons, x''), xs'')), xs)) -> APP(app(map, f''), app(app(cons, x''), xs''))
APP(app(map, app(treemap, f'')), app(app(cons, app(app(node, x''), xs'')), xs)) -> APP(app(treemap, f''), app(app(node, x''), xs''))
APP(app(map, app(map, app(map, f''''))), app(app(cons, app(app(cons, app(app(cons, x''''), xs'''')), xs'')), xs)) -> APP(app(map, app(map, f'''')), app(app(cons, app(app(cons, x''''), xs'''')), xs''))
APP(app(map, app(map, app(treemap, f''''))), app(app(cons, app(app(cons, app(app(node, x''''), xs'''')), xs'')), xs)) -> APP(app(map, app(treemap, f'''')), app(app(cons, app(app(node, x''''), xs'''')), xs''))
APP(app(map, app(map, f'''')), app(app(cons, app(app(cons, x''), app(app(cons, x''''), xs''''))), xs)) -> APP(app(map, f''''), app(app(cons, x''), app(app(cons, x''''), xs'''')))
APP(app(map, app(treemap, app(map, f''''))), app(app(cons, app(app(node, app(app(cons, x''''), xs'''')), xs'')), xs)) -> APP(app(treemap, app(map, f'''')), app(app(node, app(app(cons, x''''), xs'''')), xs''))
APP(app(map, app(treemap, app(treemap, f''''))), app(app(cons, app(app(node, app(app(node, x''''), xs'''')), xs'')), xs)) -> APP(app(treemap, app(treemap, f'''')), app(app(node, app(app(node, x''''), xs'''')), xs''))
APP(app(map, app(treemap, f'''')), app(app(cons, app(app(node, x''), app(app(cons, x''''), xs''''))), xs)) -> APP(app(treemap, f''''), app(app(node, x''), app(app(cons, x''''), xs'''')))
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳Nar
...
→DP Problem 4
↳Forward Instantiation Transformation
APP(app(map, app(map, f'''')), app(app(cons, app(app(cons, x''), app(app(cons, x''''), xs''''))), xs)) -> APP(app(map, f''''), app(app(cons, x''), app(app(cons, x''''), xs'''')))
APP(app(map, app(treemap, f'''')), app(app(cons, app(app(node, x''), app(app(cons, x''''), xs''''))), xs)) -> APP(app(treemap, f''''), app(app(node, x''), app(app(cons, x''''), xs'''')))
APP(app(map, app(treemap, app(treemap, f''''))), app(app(cons, app(app(node, app(app(node, x''''), xs'''')), xs'')), xs)) -> APP(app(treemap, app(treemap, f'''')), app(app(node, app(app(node, x''''), xs'''')), xs''))
APP(app(map, app(treemap, app(map, f''''))), app(app(cons, app(app(node, app(app(cons, x''''), xs'''')), xs'')), xs)) -> APP(app(treemap, app(map, f'''')), app(app(node, app(app(cons, x''''), xs'''')), xs''))
APP(app(map, app(map, app(treemap, f''''))), app(app(cons, app(app(cons, app(app(node, x''''), xs'''')), xs'')), xs)) -> APP(app(map, app(treemap, f'''')), app(app(cons, app(app(node, x''''), xs'''')), xs''))
APP(app(map, app(map, app(map, f''''))), app(app(cons, app(app(cons, app(app(cons, x''''), xs'''')), xs'')), xs)) -> APP(app(map, app(map, f'''')), app(app(cons, app(app(cons, x''''), xs'''')), xs''))
APP(app(map, app(treemap, f'')), app(app(cons, app(app(node, x''), xs'')), xs)) -> APP(app(treemap, f''), app(app(node, x''), xs''))
APP(app(map, app(map, f'')), app(app(cons, app(app(cons, x''), xs'')), xs)) -> APP(app(map, f''), app(app(cons, x''), xs''))
APP(app(treemap, app(treemap, f'')), app(app(node, app(app(node, x''), xs'')), xs)) -> APP(app(node, app(app(node, app(f'', x'')), app(app(map, app(treemap, f'')), xs''))), app(app(map, app(treemap, app(treemap, f''))), xs))
APP(app(treemap, app(map, f'')), app(app(node, app(app(cons, x''), xs'')), xs)) -> APP(app(node, app(app(cons, app(f'', x'')), app(app(map, f''), xs''))), app(app(map, app(treemap, app(map, f''))), xs))
APP(app(map, f''), app(app(cons, x), app(app(cons, x''), xs''))) -> APP(app(cons, app(f'', x)), app(app(cons, app(f'', x'')), app(app(map, f''), xs'')))
APP(app(map, app(treemap, f'')), app(app(cons, app(app(node, x''), xs'')), xs)) -> APP(app(cons, app(app(node, app(f'', x'')), app(app(map, app(treemap, f'')), xs''))), app(app(map, app(treemap, f'')), xs))
APP(app(treemap, f), app(app(node, x), xs)) -> APP(app(map, app(treemap, f)), xs)
APP(app(treemap, f), app(app(node, x), xs)) -> APP(f, x)
APP(app(map, app(map, f'')), app(app(cons, app(app(cons, x''), xs'')), xs)) -> APP(app(cons, app(app(cons, app(f'', x'')), app(app(map, f''), xs''))), app(app(map, app(map, f'')), xs))
APP(app(map, f), app(app(cons, x), xs)) -> APP(app(map, f), xs)
APP(app(treemap, f''), app(app(node, x), app(app(cons, x''), xs''))) -> APP(app(node, app(f'', x)), app(app(cons, app(app(treemap, f''), x'')), app(app(map, app(treemap, 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(treemap, f), app(app(node, x), xs)) -> app(app(node, app(f, x)), app(app(map, app(treemap, f)), xs))
innermost
14 new Dependency Pairs are created:
APP(app(treemap, f), app(app(node, x), xs)) -> APP(f, x)
APP(app(treemap, app(treemap, f'')), app(app(node, app(app(node, x''), xs'')), xs)) -> APP(app(treemap, f''), app(app(node, x''), xs''))
APP(app(treemap, app(map, f'')), app(app(node, app(app(cons, x''), xs'')), xs)) -> APP(app(map, f''), app(app(cons, x''), xs''))
APP(app(treemap, app(map, app(map, f''''))), app(app(node, app(app(cons, app(app(cons, x''''), xs'''')), xs'')), xs)) -> APP(app(map, app(map, f'''')), app(app(cons, app(app(cons, x''''), xs'''')), xs''))
APP(app(treemap, app(map, app(treemap, f''''))), app(app(node, app(app(cons, app(app(node, x''''), xs'''')), xs'')), xs)) -> APP(app(map, app(treemap, f'''')), app(app(cons, app(app(node, x''''), xs'''')), xs''))
APP(app(treemap, app(map, f'''')), app(app(node, app(app(cons, x''), app(app(cons, x''''), xs''''))), xs)) -> APP(app(map, f''''), app(app(cons, x''), app(app(cons, x''''), xs'''')))
APP(app(treemap, app(treemap, app(map, f''''))), app(app(node, app(app(node, app(app(cons, x''''), xs'''')), xs'')), xs)) -> APP(app(treemap, app(map, f'''')), app(app(node, app(app(cons, x''''), xs'''')), xs''))
APP(app(treemap, app(treemap, app(treemap, f''''))), app(app(node, app(app(node, app(app(node, x''''), xs'''')), xs'')), xs)) -> APP(app(treemap, app(treemap, f'''')), app(app(node, app(app(node, x''''), xs'''')), xs''))
APP(app(treemap, app(treemap, f'''')), app(app(node, app(app(node, x''), app(app(cons, x''''), xs''''))), xs)) -> APP(app(treemap, f''''), app(app(node, x''), app(app(cons, x''''), xs'''')))
APP(app(treemap, app(map, app(map, app(map, f'''''')))), app(app(node, app(app(cons, app(app(cons, app(app(cons, x''''''), xs'''''')), xs'''')), xs'')), xs)) -> APP(app(map, app(map, app(map, f''''''))), app(app(cons, app(app(cons, app(app(cons, x''''''), xs'''''')), xs'''')), xs''))
APP(app(treemap, app(map, app(map, app(treemap, f'''''')))), app(app(node, app(app(cons, app(app(cons, app(app(node, x''''''), xs'''''')), xs'''')), xs'')), xs)) -> APP(app(map, app(map, app(treemap, f''''''))), app(app(cons, app(app(cons, app(app(node, x''''''), xs'''''')), xs'''')), xs''))
APP(app(treemap, app(map, app(map, f''''''))), app(app(node, app(app(cons, app(app(cons, x''''), app(app(cons, x''''''), xs''''''))), xs'')), xs)) -> APP(app(map, app(map, f'''''')), app(app(cons, app(app(cons, x''''), app(app(cons, x''''''), xs''''''))), xs''))
APP(app(treemap, app(map, app(treemap, app(map, f'''''')))), app(app(node, app(app(cons, app(app(node, app(app(cons, x''''''), xs'''''')), xs'''')), xs'')), xs)) -> APP(app(map, app(treemap, app(map, f''''''))), app(app(cons, app(app(node, app(app(cons, x''''''), xs'''''')), xs'''')), xs''))
APP(app(treemap, app(map, app(treemap, app(treemap, f'''''')))), app(app(node, app(app(cons, app(app(node, app(app(node, x''''''), xs'''''')), xs'''')), xs'')), xs)) -> APP(app(map, app(treemap, app(treemap, f''''''))), app(app(cons, app(app(node, app(app(node, x''''''), xs'''''')), xs'''')), xs''))
APP(app(treemap, app(map, app(treemap, f''''''))), app(app(node, app(app(cons, app(app(node, x''''), app(app(cons, x''''''), xs''''''))), xs'')), xs)) -> APP(app(map, app(treemap, f'''''')), app(app(cons, app(app(node, x''''), app(app(cons, x''''''), xs''''''))), xs''))
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳Nar
...
→DP Problem 5
↳Polynomial Ordering
APP(app(treemap, app(map, app(treemap, f''''''))), app(app(node, app(app(cons, app(app(node, x''''), app(app(cons, x''''''), xs''''''))), xs'')), xs)) -> APP(app(map, app(treemap, f'''''')), app(app(cons, app(app(node, x''''), app(app(cons, x''''''), xs''''''))), xs''))
APP(app(treemap, app(map, app(treemap, app(treemap, f'''''')))), app(app(node, app(app(cons, app(app(node, app(app(node, x''''''), xs'''''')), xs'''')), xs'')), xs)) -> APP(app(map, app(treemap, app(treemap, f''''''))), app(app(cons, app(app(node, app(app(node, x''''''), xs'''''')), xs'''')), xs''))
APP(app(treemap, app(map, app(treemap, app(map, f'''''')))), app(app(node, app(app(cons, app(app(node, app(app(cons, x''''''), xs'''''')), xs'''')), xs'')), xs)) -> APP(app(map, app(treemap, app(map, f''''''))), app(app(cons, app(app(node, app(app(cons, x''''''), xs'''''')), xs'''')), xs''))
APP(app(treemap, app(map, app(map, f''''''))), app(app(node, app(app(cons, app(app(cons, x''''), app(app(cons, x''''''), xs''''''))), xs'')), xs)) -> APP(app(map, app(map, f'''''')), app(app(cons, app(app(cons, x''''), app(app(cons, x''''''), xs''''''))), xs''))
APP(app(treemap, app(map, app(map, app(treemap, f'''''')))), app(app(node, app(app(cons, app(app(cons, app(app(node, x''''''), xs'''''')), xs'''')), xs'')), xs)) -> APP(app(map, app(map, app(treemap, f''''''))), app(app(cons, app(app(cons, app(app(node, x''''''), xs'''''')), xs'''')), xs''))
APP(app(treemap, app(map, app(map, app(map, f'''''')))), app(app(node, app(app(cons, app(app(cons, app(app(cons, x''''''), xs'''''')), xs'''')), xs'')), xs)) -> APP(app(map, app(map, app(map, f''''''))), app(app(cons, app(app(cons, app(app(cons, x''''''), xs'''''')), xs'''')), xs''))
APP(app(treemap, app(treemap, f'''')), app(app(node, app(app(node, x''), app(app(cons, x''''), xs''''))), xs)) -> APP(app(treemap, f''''), app(app(node, x''), app(app(cons, x''''), xs'''')))
APP(app(treemap, app(treemap, app(treemap, f''''))), app(app(node, app(app(node, app(app(node, x''''), xs'''')), xs'')), xs)) -> APP(app(treemap, app(treemap, f'''')), app(app(node, app(app(node, x''''), xs'''')), xs''))
APP(app(map, app(treemap, f'''')), app(app(cons, app(app(node, x''), app(app(cons, x''''), xs''''))), xs)) -> APP(app(treemap, f''''), app(app(node, x''), app(app(cons, x''''), xs'''')))
APP(app(treemap, app(map, f'''')), app(app(node, app(app(cons, x''), app(app(cons, x''''), xs''''))), xs)) -> APP(app(map, f''''), app(app(cons, x''), app(app(cons, x''''), xs'''')))
APP(app(treemap, app(treemap, app(map, f''''))), app(app(node, app(app(node, app(app(cons, x''''), xs'''')), xs'')), xs)) -> APP(app(treemap, app(map, f'''')), app(app(node, app(app(cons, x''''), xs'''')), xs''))
APP(app(map, app(treemap, app(treemap, f''''))), app(app(cons, app(app(node, app(app(node, x''''), xs'''')), xs'')), xs)) -> APP(app(treemap, app(treemap, f'''')), app(app(node, app(app(node, x''''), xs'''')), xs''))
APP(app(treemap, app(map, app(treemap, f''''))), app(app(node, app(app(cons, app(app(node, x''''), xs'''')), xs'')), xs)) -> APP(app(map, app(treemap, f'''')), app(app(cons, app(app(node, x''''), xs'''')), xs''))
APP(app(treemap, app(map, app(map, f''''))), app(app(node, app(app(cons, app(app(cons, x''''), xs'''')), xs'')), xs)) -> APP(app(map, app(map, f'''')), app(app(cons, app(app(cons, x''''), xs'''')), xs''))
APP(app(map, app(treemap, app(map, f''''))), app(app(cons, app(app(node, app(app(cons, x''''), xs'''')), xs'')), xs)) -> APP(app(treemap, app(map, f'''')), app(app(node, app(app(cons, x''''), xs'''')), xs''))
APP(app(map, app(map, app(treemap, f''''))), app(app(cons, app(app(cons, app(app(node, x''''), xs'''')), xs'')), xs)) -> APP(app(map, app(treemap, f'''')), app(app(cons, app(app(node, x''''), xs'''')), xs''))
APP(app(map, app(map, app(map, f''''))), app(app(cons, app(app(cons, app(app(cons, x''''), xs'''')), xs'')), xs)) -> APP(app(map, app(map, f'''')), app(app(cons, app(app(cons, x''''), xs'''')), xs''))
APP(app(treemap, app(map, f'')), app(app(node, app(app(cons, x''), xs'')), xs)) -> APP(app(map, f''), app(app(cons, x''), xs''))
APP(app(treemap, app(treemap, f'')), app(app(node, app(app(node, x''), xs'')), xs)) -> APP(app(treemap, f''), app(app(node, x''), xs''))
APP(app(map, app(treemap, f'')), app(app(cons, app(app(node, x''), xs'')), xs)) -> APP(app(treemap, f''), app(app(node, x''), xs''))
APP(app(map, app(map, f'')), app(app(cons, app(app(cons, x''), xs'')), xs)) -> APP(app(map, f''), app(app(cons, x''), xs''))
APP(app(treemap, f''), app(app(node, x), app(app(cons, x''), xs''))) -> APP(app(node, app(f'', x)), app(app(cons, app(app(treemap, f''), x'')), app(app(map, app(treemap, f'')), xs'')))
APP(app(treemap, app(treemap, f'')), app(app(node, app(app(node, x''), xs'')), xs)) -> APP(app(node, app(app(node, app(f'', x'')), app(app(map, app(treemap, f'')), xs''))), app(app(map, app(treemap, app(treemap, f''))), xs))
APP(app(treemap, app(map, f'')), app(app(node, app(app(cons, x''), xs'')), xs)) -> APP(app(node, app(app(cons, app(f'', x'')), app(app(map, f''), xs''))), app(app(map, app(treemap, app(map, f''))), xs))
APP(app(map, f''), app(app(cons, x), app(app(cons, x''), xs''))) -> APP(app(cons, app(f'', x)), app(app(cons, app(f'', x'')), app(app(map, f''), xs'')))
APP(app(map, app(treemap, f'')), app(app(cons, app(app(node, x''), xs'')), xs)) -> APP(app(cons, app(app(node, app(f'', x'')), app(app(map, app(treemap, f'')), xs''))), app(app(map, app(treemap, f'')), xs))
APP(app(treemap, f), app(app(node, x), xs)) -> APP(app(map, app(treemap, f)), xs)
APP(app(map, app(map, f'')), app(app(cons, app(app(cons, x''), xs'')), xs)) -> APP(app(cons, app(app(cons, app(f'', x'')), app(app(map, f''), xs''))), app(app(map, app(map, f'')), xs))
APP(app(map, f), app(app(cons, x), xs)) -> APP(app(map, f), xs)
APP(app(map, app(map, f'''')), app(app(cons, app(app(cons, x''), app(app(cons, x''''), xs''''))), xs)) -> APP(app(map, f''''), app(app(cons, x''), app(app(cons, x''''), 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(treemap, f), app(app(node, x), xs)) -> app(app(node, app(f, x)), app(app(map, app(treemap, f)), xs))
innermost
APP(app(treemap, f''), app(app(node, x), app(app(cons, x''), xs''))) -> APP(app(node, app(f'', x)), app(app(cons, app(app(treemap, f''), x'')), app(app(map, app(treemap, f'')), xs'')))
APP(app(treemap, app(treemap, f'')), app(app(node, app(app(node, x''), xs'')), xs)) -> APP(app(node, app(app(node, app(f'', x'')), app(app(map, app(treemap, f'')), xs''))), app(app(map, app(treemap, app(treemap, f''))), xs))
APP(app(treemap, app(map, f'')), app(app(node, app(app(cons, x''), xs'')), xs)) -> APP(app(node, app(app(cons, app(f'', x'')), app(app(map, f''), xs''))), app(app(map, app(treemap, app(map, f''))), xs))
APP(app(map, f''), app(app(cons, x), app(app(cons, x''), xs''))) -> APP(app(cons, app(f'', x)), app(app(cons, app(f'', x'')), app(app(map, f''), xs'')))
APP(app(map, app(treemap, f'')), app(app(cons, app(app(node, x''), xs'')), xs)) -> APP(app(cons, app(app(node, app(f'', x'')), app(app(map, app(treemap, f'')), xs''))), app(app(map, app(treemap, f'')), xs))
APP(app(map, app(map, f'')), app(app(cons, app(app(cons, x''), xs'')), xs)) -> APP(app(cons, app(app(cons, app(f'', x'')), app(app(map, f''), xs''))), app(app(map, 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(treemap, f), app(app(node, x), xs)) -> app(app(node, app(f, x)), app(app(map, app(treemap, f)), xs))
POL(cons) = 0 POL(map) = 1 POL(nil) = 0 POL(node) = 0 POL(app(x1, x2)) = x1 POL(APP(x1, x2)) = x1 POL(treemap) = 1
R
↳DPs
→DP Problem 1
↳Nar
→DP Problem 2
↳Nar
...
→DP Problem 6
↳Remaining Obligation(s)
APP(app(treemap, app(map, app(treemap, f''''''))), app(app(node, app(app(cons, app(app(node, x''''), app(app(cons, x''''''), xs''''''))), xs'')), xs)) -> APP(app(map, app(treemap, f'''''')), app(app(cons, app(app(node, x''''), app(app(cons, x''''''), xs''''''))), xs''))
APP(app(treemap, app(map, app(treemap, app(treemap, f'''''')))), app(app(node, app(app(cons, app(app(node, app(app(node, x''''''), xs'''''')), xs'''')), xs'')), xs)) -> APP(app(map, app(treemap, app(treemap, f''''''))), app(app(cons, app(app(node, app(app(node, x''''''), xs'''''')), xs'''')), xs''))
APP(app(treemap, app(map, app(treemap, app(map, f'''''')))), app(app(node, app(app(cons, app(app(node, app(app(cons, x''''''), xs'''''')), xs'''')), xs'')), xs)) -> APP(app(map, app(treemap, app(map, f''''''))), app(app(cons, app(app(node, app(app(cons, x''''''), xs'''''')), xs'''')), xs''))
APP(app(treemap, app(map, app(map, f''''''))), app(app(node, app(app(cons, app(app(cons, x''''), app(app(cons, x''''''), xs''''''))), xs'')), xs)) -> APP(app(map, app(map, f'''''')), app(app(cons, app(app(cons, x''''), app(app(cons, x''''''), xs''''''))), xs''))
APP(app(treemap, app(map, app(map, app(treemap, f'''''')))), app(app(node, app(app(cons, app(app(cons, app(app(node, x''''''), xs'''''')), xs'''')), xs'')), xs)) -> APP(app(map, app(map, app(treemap, f''''''))), app(app(cons, app(app(cons, app(app(node, x''''''), xs'''''')), xs'''')), xs''))
APP(app(treemap, app(map, app(map, app(map, f'''''')))), app(app(node, app(app(cons, app(app(cons, app(app(cons, x''''''), xs'''''')), xs'''')), xs'')), xs)) -> APP(app(map, app(map, app(map, f''''''))), app(app(cons, app(app(cons, app(app(cons, x''''''), xs'''''')), xs'''')), xs''))
APP(app(treemap, app(treemap, f'''')), app(app(node, app(app(node, x''), app(app(cons, x''''), xs''''))), xs)) -> APP(app(treemap, f''''), app(app(node, x''), app(app(cons, x''''), xs'''')))
APP(app(treemap, app(treemap, app(treemap, f''''))), app(app(node, app(app(node, app(app(node, x''''), xs'''')), xs'')), xs)) -> APP(app(treemap, app(treemap, f'''')), app(app(node, app(app(node, x''''), xs'''')), xs''))
APP(app(map, app(treemap, f'''')), app(app(cons, app(app(node, x''), app(app(cons, x''''), xs''''))), xs)) -> APP(app(treemap, f''''), app(app(node, x''), app(app(cons, x''''), xs'''')))
APP(app(treemap, app(map, f'''')), app(app(node, app(app(cons, x''), app(app(cons, x''''), xs''''))), xs)) -> APP(app(map, f''''), app(app(cons, x''), app(app(cons, x''''), xs'''')))
APP(app(treemap, app(treemap, app(map, f''''))), app(app(node, app(app(node, app(app(cons, x''''), xs'''')), xs'')), xs)) -> APP(app(treemap, app(map, f'''')), app(app(node, app(app(cons, x''''), xs'''')), xs''))
APP(app(map, app(treemap, app(treemap, f''''))), app(app(cons, app(app(node, app(app(node, x''''), xs'''')), xs'')), xs)) -> APP(app(treemap, app(treemap, f'''')), app(app(node, app(app(node, x''''), xs'''')), xs''))
APP(app(treemap, app(map, app(treemap, f''''))), app(app(node, app(app(cons, app(app(node, x''''), xs'''')), xs'')), xs)) -> APP(app(map, app(treemap, f'''')), app(app(cons, app(app(node, x''''), xs'''')), xs''))
APP(app(treemap, app(map, app(map, f''''))), app(app(node, app(app(cons, app(app(cons, x''''), xs'''')), xs'')), xs)) -> APP(app(map, app(map, f'''')), app(app(cons, app(app(cons, x''''), xs'''')), xs''))
APP(app(map, app(treemap, app(map, f''''))), app(app(cons, app(app(node, app(app(cons, x''''), xs'''')), xs'')), xs)) -> APP(app(treemap, app(map, f'''')), app(app(node, app(app(cons, x''''), xs'''')), xs''))
APP(app(map, app(map, app(treemap, f''''))), app(app(cons, app(app(cons, app(app(node, x''''), xs'''')), xs'')), xs)) -> APP(app(map, app(treemap, f'''')), app(app(cons, app(app(node, x''''), xs'''')), xs''))
APP(app(map, app(map, app(map, f''''))), app(app(cons, app(app(cons, app(app(cons, x''''), xs'''')), xs'')), xs)) -> APP(app(map, app(map, f'''')), app(app(cons, app(app(cons, x''''), xs'''')), xs''))
APP(app(treemap, app(map, f'')), app(app(node, app(app(cons, x''), xs'')), xs)) -> APP(app(map, f''), app(app(cons, x''), xs''))
APP(app(treemap, app(treemap, f'')), app(app(node, app(app(node, x''), xs'')), xs)) -> APP(app(treemap, f''), app(app(node, x''), xs''))
APP(app(map, app(treemap, f'')), app(app(cons, app(app(node, x''), xs'')), xs)) -> APP(app(treemap, f''), app(app(node, x''), xs''))
APP(app(map, app(map, f'')), app(app(cons, app(app(cons, x''), xs'')), xs)) -> APP(app(map, f''), app(app(cons, x''), xs''))
APP(app(treemap, f), app(app(node, x), xs)) -> APP(app(map, app(treemap, f)), xs)
APP(app(map, f), app(app(cons, x), xs)) -> APP(app(map, f), xs)
APP(app(map, app(map, f'''')), app(app(cons, app(app(cons, x''), app(app(cons, x''''), xs''''))), xs)) -> APP(app(map, f''''), app(app(cons, x''), app(app(cons, x''''), 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(treemap, f), app(app(node, x), xs)) -> app(app(node, app(f, x)), app(app(map, app(treemap, f)), xs))
innermost