R
↳Dependency Pair Analysis
REV1(X, cons(Y, L)) -> REV1(Y, L)
REV(cons(X, L)) -> REV1(X, L)
REV(cons(X, L)) -> REV2(X, L)
REV2(X, cons(Y, L)) -> REV(cons(X, rev(rev2(Y, L))))
REV2(X, cons(Y, L)) -> REV(rev2(Y, L))
REV2(X, cons(Y, L)) -> REV2(Y, L)
R
↳DPs
→DP Problem 1
↳Forward Instantiation Transformation
→DP Problem 2
↳Nar
REV1(X, cons(Y, L)) -> REV1(Y, L)
rev1(0, nil) -> 0
rev1(s(X), nil) -> s(X)
rev1(X, cons(Y, L)) -> rev1(Y, L)
rev(nil) -> nil
rev(cons(X, L)) -> cons(rev1(X, L), rev2(X, L))
rev2(X, nil) -> nil
rev2(X, cons(Y, L)) -> rev(cons(X, rev(rev2(Y, L))))
innermost
one new Dependency Pair is created:
REV1(X, cons(Y, L)) -> REV1(Y, L)
REV1(X, cons(Y0, cons(Y'', L''))) -> REV1(Y0, cons(Y'', L''))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 3
↳Forward Instantiation Transformation
→DP Problem 2
↳Nar
REV1(X, cons(Y0, cons(Y'', L''))) -> REV1(Y0, cons(Y'', L''))
rev1(0, nil) -> 0
rev1(s(X), nil) -> s(X)
rev1(X, cons(Y, L)) -> rev1(Y, L)
rev(nil) -> nil
rev(cons(X, L)) -> cons(rev1(X, L), rev2(X, L))
rev2(X, nil) -> nil
rev2(X, cons(Y, L)) -> rev(cons(X, rev(rev2(Y, L))))
innermost
one new Dependency Pair is created:
REV1(X, cons(Y0, cons(Y'', L''))) -> REV1(Y0, cons(Y'', L''))
REV1(X, cons(Y0'', cons(Y''0, cons(Y'''', L'''')))) -> REV1(Y0'', cons(Y''0, cons(Y'''', L'''')))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 3
↳FwdInst
...
→DP Problem 4
↳Argument Filtering and Ordering
→DP Problem 2
↳Nar
REV1(X, cons(Y0'', cons(Y''0, cons(Y'''', L'''')))) -> REV1(Y0'', cons(Y''0, cons(Y'''', L'''')))
rev1(0, nil) -> 0
rev1(s(X), nil) -> s(X)
rev1(X, cons(Y, L)) -> rev1(Y, L)
rev(nil) -> nil
rev(cons(X, L)) -> cons(rev1(X, L), rev2(X, L))
rev2(X, nil) -> nil
rev2(X, cons(Y, L)) -> rev(cons(X, rev(rev2(Y, L))))
innermost
REV1(X, cons(Y0'', cons(Y''0, cons(Y'''', L'''')))) -> REV1(Y0'', cons(Y''0, cons(Y'''', L'''')))
REV1(x1, x2) -> x2
cons(x1, x2) -> cons(x1, x2)
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 3
↳FwdInst
...
→DP Problem 5
↳Dependency Graph
→DP Problem 2
↳Nar
rev1(0, nil) -> 0
rev1(s(X), nil) -> s(X)
rev1(X, cons(Y, L)) -> rev1(Y, L)
rev(nil) -> nil
rev(cons(X, L)) -> cons(rev1(X, L), rev2(X, L))
rev2(X, nil) -> nil
rev2(X, cons(Y, L)) -> rev(cons(X, rev(rev2(Y, L))))
innermost
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Narrowing Transformation
REV2(X, cons(Y, L)) -> REV2(Y, L)
REV2(X, cons(Y, L)) -> REV(rev2(Y, L))
REV2(X, cons(Y, L)) -> REV(cons(X, rev(rev2(Y, L))))
REV(cons(X, L)) -> REV2(X, L)
rev1(0, nil) -> 0
rev1(s(X), nil) -> s(X)
rev1(X, cons(Y, L)) -> rev1(Y, L)
rev(nil) -> nil
rev(cons(X, L)) -> cons(rev1(X, L), rev2(X, L))
rev2(X, nil) -> nil
rev2(X, cons(Y, L)) -> rev(cons(X, rev(rev2(Y, L))))
innermost
two new Dependency Pairs are created:
REV2(X, cons(Y, L)) -> REV(rev2(Y, L))
REV2(X, cons(Y', nil)) -> REV(nil)
REV2(X, cons(Y0, cons(Y'', L''))) -> REV(rev(cons(Y0, rev(rev2(Y'', L'')))))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Nar
→DP Problem 6
↳Rewriting Transformation
REV2(X, cons(Y0, cons(Y'', L''))) -> REV(rev(cons(Y0, rev(rev2(Y'', L'')))))
REV(cons(X, L)) -> REV2(X, L)
REV2(X, cons(Y, L)) -> REV(cons(X, rev(rev2(Y, L))))
REV2(X, cons(Y, L)) -> REV2(Y, L)
rev1(0, nil) -> 0
rev1(s(X), nil) -> s(X)
rev1(X, cons(Y, L)) -> rev1(Y, L)
rev(nil) -> nil
rev(cons(X, L)) -> cons(rev1(X, L), rev2(X, L))
rev2(X, nil) -> nil
rev2(X, cons(Y, L)) -> rev(cons(X, rev(rev2(Y, L))))
innermost
one new Dependency Pair is created:
REV2(X, cons(Y0, cons(Y'', L''))) -> REV(rev(cons(Y0, rev(rev2(Y'', L'')))))
REV2(X, cons(Y0, cons(Y'', L''))) -> REV(cons(rev1(Y0, rev(rev2(Y'', L''))), rev2(Y0, rev(rev2(Y'', L'')))))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Nar
→DP Problem 6
↳Rw
...
→DP Problem 7
↳Forward Instantiation Transformation
REV2(X, cons(Y0, cons(Y'', L''))) -> REV(cons(rev1(Y0, rev(rev2(Y'', L''))), rev2(Y0, rev(rev2(Y'', L'')))))
REV2(X, cons(Y, L)) -> REV2(Y, L)
REV2(X, cons(Y, L)) -> REV(cons(X, rev(rev2(Y, L))))
REV(cons(X, L)) -> REV2(X, L)
rev1(0, nil) -> 0
rev1(s(X), nil) -> s(X)
rev1(X, cons(Y, L)) -> rev1(Y, L)
rev(nil) -> nil
rev(cons(X, L)) -> cons(rev1(X, L), rev2(X, L))
rev2(X, nil) -> nil
rev2(X, cons(Y, L)) -> rev(cons(X, rev(rev2(Y, L))))
innermost
two new Dependency Pairs are created:
REV(cons(X, L)) -> REV2(X, L)
REV(cons(X'', cons(Y'', L''))) -> REV2(X'', cons(Y'', L''))
REV(cons(X'', cons(Y0'', cons(Y'''', L'''')))) -> REV2(X'', cons(Y0'', cons(Y'''', L'''')))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Nar
→DP Problem 6
↳Rw
...
→DP Problem 8
↳Narrowing Transformation
REV2(X, cons(Y, L)) -> REV2(Y, L)
REV(cons(X'', cons(Y0'', cons(Y'''', L'''')))) -> REV2(X'', cons(Y0'', cons(Y'''', L'''')))
REV2(X, cons(Y, L)) -> REV(cons(X, rev(rev2(Y, L))))
REV(cons(X'', cons(Y'', L''))) -> REV2(X'', cons(Y'', L''))
REV2(X, cons(Y0, cons(Y'', L''))) -> REV(cons(rev1(Y0, rev(rev2(Y'', L''))), rev2(Y0, rev(rev2(Y'', L'')))))
rev1(0, nil) -> 0
rev1(s(X), nil) -> s(X)
rev1(X, cons(Y, L)) -> rev1(Y, L)
rev(nil) -> nil
rev(cons(X, L)) -> cons(rev1(X, L), rev2(X, L))
rev2(X, nil) -> nil
rev2(X, cons(Y, L)) -> rev(cons(X, rev(rev2(Y, L))))
innermost
two new Dependency Pairs are created:
REV2(X, cons(Y, L)) -> REV(cons(X, rev(rev2(Y, L))))
REV2(X, cons(Y', nil)) -> REV(cons(X, rev(nil)))
REV2(X, cons(Y0, cons(Y'', L''))) -> REV(cons(X, rev(rev(cons(Y0, rev(rev2(Y'', L'')))))))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Nar
→DP Problem 6
↳Rw
...
→DP Problem 9
↳Rewriting Transformation
REV2(X, cons(Y0, cons(Y'', L''))) -> REV(cons(X, rev(rev(cons(Y0, rev(rev2(Y'', L'')))))))
REV(cons(X'', cons(Y0'', cons(Y'''', L'''')))) -> REV2(X'', cons(Y0'', cons(Y'''', L'''')))
REV2(X, cons(Y', nil)) -> REV(cons(X, rev(nil)))
REV(cons(X'', cons(Y'', L''))) -> REV2(X'', cons(Y'', L''))
REV2(X, cons(Y0, cons(Y'', L''))) -> REV(cons(rev1(Y0, rev(rev2(Y'', L''))), rev2(Y0, rev(rev2(Y'', L'')))))
REV2(X, cons(Y, L)) -> REV2(Y, L)
rev1(0, nil) -> 0
rev1(s(X), nil) -> s(X)
rev1(X, cons(Y, L)) -> rev1(Y, L)
rev(nil) -> nil
rev(cons(X, L)) -> cons(rev1(X, L), rev2(X, L))
rev2(X, nil) -> nil
rev2(X, cons(Y, L)) -> rev(cons(X, rev(rev2(Y, L))))
innermost
one new Dependency Pair is created:
REV2(X, cons(Y', nil)) -> REV(cons(X, rev(nil)))
REV2(X, cons(Y', nil)) -> REV(cons(X, nil))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Nar
→DP Problem 6
↳Rw
...
→DP Problem 10
↳Rewriting Transformation
REV(cons(X'', cons(Y0'', cons(Y'''', L'''')))) -> REV2(X'', cons(Y0'', cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y'', L''))) -> REV(cons(rev1(Y0, rev(rev2(Y'', L''))), rev2(Y0, rev(rev2(Y'', L'')))))
REV2(X, cons(Y, L)) -> REV2(Y, L)
REV(cons(X'', cons(Y'', L''))) -> REV2(X'', cons(Y'', L''))
REV2(X, cons(Y0, cons(Y'', L''))) -> REV(cons(X, rev(rev(cons(Y0, rev(rev2(Y'', L'')))))))
rev1(0, nil) -> 0
rev1(s(X), nil) -> s(X)
rev1(X, cons(Y, L)) -> rev1(Y, L)
rev(nil) -> nil
rev(cons(X, L)) -> cons(rev1(X, L), rev2(X, L))
rev2(X, nil) -> nil
rev2(X, cons(Y, L)) -> rev(cons(X, rev(rev2(Y, L))))
innermost
one new Dependency Pair is created:
REV2(X, cons(Y0, cons(Y'', L''))) -> REV(cons(X, rev(rev(cons(Y0, rev(rev2(Y'', L'')))))))
REV2(X, cons(Y0, cons(Y'', L''))) -> REV(cons(X, rev(cons(rev1(Y0, rev(rev2(Y'', L''))), rev2(Y0, rev(rev2(Y'', L'')))))))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Nar
→DP Problem 6
↳Rw
...
→DP Problem 11
↳Rewriting Transformation
REV2(X, cons(Y0, cons(Y'', L''))) -> REV(cons(X, rev(cons(rev1(Y0, rev(rev2(Y'', L''))), rev2(Y0, rev(rev2(Y'', L'')))))))
REV(cons(X'', cons(Y'', L''))) -> REV2(X'', cons(Y'', L''))
REV2(X, cons(Y0, cons(Y'', L''))) -> REV(cons(rev1(Y0, rev(rev2(Y'', L''))), rev2(Y0, rev(rev2(Y'', L'')))))
REV2(X, cons(Y, L)) -> REV2(Y, L)
REV(cons(X'', cons(Y0'', cons(Y'''', L'''')))) -> REV2(X'', cons(Y0'', cons(Y'''', L'''')))
rev1(0, nil) -> 0
rev1(s(X), nil) -> s(X)
rev1(X, cons(Y, L)) -> rev1(Y, L)
rev(nil) -> nil
rev(cons(X, L)) -> cons(rev1(X, L), rev2(X, L))
rev2(X, nil) -> nil
rev2(X, cons(Y, L)) -> rev(cons(X, rev(rev2(Y, L))))
innermost
one new Dependency Pair is created:
REV2(X, cons(Y0, cons(Y'', L''))) -> REV(cons(X, rev(cons(rev1(Y0, rev(rev2(Y'', L''))), rev2(Y0, rev(rev2(Y'', L'')))))))
REV2(X, cons(Y0, cons(Y'', L''))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev2(Y'', L''))), rev2(Y0, rev(rev2(Y'', L'')))), rev2(rev1(Y0, rev(rev2(Y'', L''))), rev2(Y0, rev(rev2(Y'', L'')))))))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Nar
→DP Problem 6
↳Rw
...
→DP Problem 12
↳Forward Instantiation Transformation
REV2(X, cons(Y0, cons(Y'', L''))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev2(Y'', L''))), rev2(Y0, rev(rev2(Y'', L'')))), rev2(rev1(Y0, rev(rev2(Y'', L''))), rev2(Y0, rev(rev2(Y'', L'')))))))
REV(cons(X'', cons(Y0'', cons(Y'''', L'''')))) -> REV2(X'', cons(Y0'', cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y'', L''))) -> REV(cons(rev1(Y0, rev(rev2(Y'', L''))), rev2(Y0, rev(rev2(Y'', L'')))))
REV2(X, cons(Y, L)) -> REV2(Y, L)
REV(cons(X'', cons(Y'', L''))) -> REV2(X'', cons(Y'', L''))
rev1(0, nil) -> 0
rev1(s(X), nil) -> s(X)
rev1(X, cons(Y, L)) -> rev1(Y, L)
rev(nil) -> nil
rev(cons(X, L)) -> cons(rev1(X, L), rev2(X, L))
rev2(X, nil) -> nil
rev2(X, cons(Y, L)) -> rev(cons(X, rev(rev2(Y, L))))
innermost
two new Dependency Pairs are created:
REV2(X, cons(Y, L)) -> REV2(Y, L)
REV2(X, cons(Y0, cons(Y'', L''))) -> REV2(Y0, cons(Y'', L''))
REV2(X, cons(Y', cons(Y0'', cons(Y'''', L'''')))) -> REV2(Y', cons(Y0'', cons(Y'''', L'''')))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Nar
→DP Problem 6
↳Rw
...
→DP Problem 13
↳Forward Instantiation Transformation
REV2(X, cons(Y', cons(Y0'', cons(Y'''', L'''')))) -> REV2(Y', cons(Y0'', cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y'', L''))) -> REV2(Y0, cons(Y'', L''))
REV(cons(X'', cons(Y0'', cons(Y'''', L'''')))) -> REV2(X'', cons(Y0'', cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y'', L''))) -> REV(cons(rev1(Y0, rev(rev2(Y'', L''))), rev2(Y0, rev(rev2(Y'', L'')))))
REV(cons(X'', cons(Y'', L''))) -> REV2(X'', cons(Y'', L''))
REV2(X, cons(Y0, cons(Y'', L''))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev2(Y'', L''))), rev2(Y0, rev(rev2(Y'', L'')))), rev2(rev1(Y0, rev(rev2(Y'', L''))), rev2(Y0, rev(rev2(Y'', L'')))))))
rev1(0, nil) -> 0
rev1(s(X), nil) -> s(X)
rev1(X, cons(Y, L)) -> rev1(Y, L)
rev(nil) -> nil
rev(cons(X, L)) -> cons(rev1(X, L), rev2(X, L))
rev2(X, nil) -> nil
rev2(X, cons(Y, L)) -> rev(cons(X, rev(rev2(Y, L))))
innermost
two new Dependency Pairs are created:
REV(cons(X'', cons(Y'', L''))) -> REV2(X'', cons(Y'', L''))
REV(cons(X''', cons(Y''0, cons(Y'''', L'''')))) -> REV2(X''', cons(Y''0, cons(Y'''', L'''')))
REV(cons(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Nar
→DP Problem 6
↳Rw
...
→DP Problem 14
↳Forward Instantiation Transformation
REV(cons(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0, cons(Y'', L''))) -> REV2(Y0, cons(Y'', L''))
REV(cons(X''', cons(Y''0, cons(Y'''', L'''')))) -> REV2(X''', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y'', L''))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev2(Y'', L''))), rev2(Y0, rev(rev2(Y'', L'')))), rev2(rev1(Y0, rev(rev2(Y'', L''))), rev2(Y0, rev(rev2(Y'', L'')))))))
REV(cons(X'', cons(Y0'', cons(Y'''', L'''')))) -> REV2(X'', cons(Y0'', cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y'', L''))) -> REV(cons(rev1(Y0, rev(rev2(Y'', L''))), rev2(Y0, rev(rev2(Y'', L'')))))
REV2(X, cons(Y', cons(Y0'', cons(Y'''', L'''')))) -> REV2(Y', cons(Y0'', cons(Y'''', L'''')))
rev1(0, nil) -> 0
rev1(s(X), nil) -> s(X)
rev1(X, cons(Y, L)) -> rev1(Y, L)
rev(nil) -> nil
rev(cons(X, L)) -> cons(rev1(X, L), rev2(X, L))
rev2(X, nil) -> nil
rev2(X, cons(Y, L)) -> rev(cons(X, rev(rev2(Y, L))))
innermost
two new Dependency Pairs are created:
REV2(X, cons(Y0, cons(Y'', L''))) -> REV2(Y0, cons(Y'', L''))
REV2(X, cons(Y0'', cons(Y''0, cons(Y'''', L'''')))) -> REV2(Y0'', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Nar
→DP Problem 6
↳Rw
...
→DP Problem 15
↳Narrowing Transformation
REV2(X, cons(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0'', cons(Y''0, cons(Y'''', L'''')))) -> REV2(Y0'', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y', cons(Y0'', cons(Y'''', L'''')))) -> REV2(Y', cons(Y0'', cons(Y'''', L'''')))
REV(cons(X''', cons(Y''0, cons(Y'''', L'''')))) -> REV2(X''', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y'', L''))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev2(Y'', L''))), rev2(Y0, rev(rev2(Y'', L'')))), rev2(rev1(Y0, rev(rev2(Y'', L''))), rev2(Y0, rev(rev2(Y'', L'')))))))
REV(cons(X'', cons(Y0'', cons(Y'''', L'''')))) -> REV2(X'', cons(Y0'', cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y'', L''))) -> REV(cons(rev1(Y0, rev(rev2(Y'', L''))), rev2(Y0, rev(rev2(Y'', L'')))))
REV(cons(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
rev1(0, nil) -> 0
rev1(s(X), nil) -> s(X)
rev1(X, cons(Y, L)) -> rev1(Y, L)
rev(nil) -> nil
rev(cons(X, L)) -> cons(rev1(X, L), rev2(X, L))
rev2(X, nil) -> nil
rev2(X, cons(Y, L)) -> rev(cons(X, rev(rev2(Y, L))))
innermost
four new Dependency Pairs are created:
REV2(X, cons(Y0, cons(Y'', L''))) -> REV(cons(rev1(Y0, rev(rev2(Y'', L''))), rev2(Y0, rev(rev2(Y'', L'')))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(rev1(Y0, rev(nil)), rev2(Y0, rev(rev2(Y''', nil)))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(nil))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Nar
→DP Problem 6
↳Rw
...
→DP Problem 16
↳Rewriting Transformation
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(nil))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV(cons(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))
REV(cons(X''', cons(Y''0, cons(Y'''', L'''')))) -> REV2(X''', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(rev1(Y0, rev(nil)), rev2(Y0, rev(rev2(Y''', nil)))))
REV2(X, cons(Y0'', cons(Y''0, cons(Y'''', L'''')))) -> REV2(Y0'', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y', cons(Y0'', cons(Y'''', L'''')))) -> REV2(Y', cons(Y0'', cons(Y'''', L'''')))
REV(cons(X'', cons(Y0'', cons(Y'''', L'''')))) -> REV2(X'', cons(Y0'', cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y'', L''))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev2(Y'', L''))), rev2(Y0, rev(rev2(Y'', L'')))), rev2(rev1(Y0, rev(rev2(Y'', L''))), rev2(Y0, rev(rev2(Y'', L'')))))))
REV2(X, cons(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
rev1(0, nil) -> 0
rev1(s(X), nil) -> s(X)
rev1(X, cons(Y, L)) -> rev1(Y, L)
rev(nil) -> nil
rev(cons(X, L)) -> cons(rev1(X, L), rev2(X, L))
rev2(X, nil) -> nil
rev2(X, cons(Y, L)) -> rev(cons(X, rev(rev2(Y, L))))
innermost
one new Dependency Pair is created:
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(rev1(Y0, rev(nil)), rev2(Y0, rev(rev2(Y''', nil)))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(rev1(Y0, nil), rev2(Y0, rev(rev2(Y''', nil)))))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Nar
→DP Problem 6
↳Rw
...
→DP Problem 17
↳Rewriting Transformation
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(rev1(Y0, nil), rev2(Y0, rev(rev2(Y''', nil)))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV(cons(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))
REV2(X, cons(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0'', cons(Y''0, cons(Y'''', L'''')))) -> REV2(Y0'', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y', cons(Y0'', cons(Y'''', L'''')))) -> REV2(Y', cons(Y0'', cons(Y'''', L'''')))
REV(cons(X''', cons(Y''0, cons(Y'''', L'''')))) -> REV2(X''', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y'', L''))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev2(Y'', L''))), rev2(Y0, rev(rev2(Y'', L'')))), rev2(rev1(Y0, rev(rev2(Y'', L''))), rev2(Y0, rev(rev2(Y'', L'')))))))
REV(cons(X'', cons(Y0'', cons(Y'''', L'''')))) -> REV2(X'', cons(Y0'', cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(nil))))
rev1(0, nil) -> 0
rev1(s(X), nil) -> s(X)
rev1(X, cons(Y, L)) -> rev1(Y, L)
rev(nil) -> nil
rev(cons(X, L)) -> cons(rev1(X, L), rev2(X, L))
rev2(X, nil) -> nil
rev2(X, cons(Y, L)) -> rev(cons(X, rev(rev2(Y, L))))
innermost
one new Dependency Pair is created:
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(Y0, rev(cons(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Nar
→DP Problem 6
↳Rw
...
→DP Problem 18
↳Rewriting Transformation
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(nil))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(Y0, rev(cons(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))
REV(cons(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV2(X, cons(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0'', cons(Y''0, cons(Y'''', L'''')))) -> REV2(Y0'', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y', cons(Y0'', cons(Y'''', L'''')))) -> REV2(Y', cons(Y0'', cons(Y'''', L'''')))
REV(cons(X''', cons(Y''0, cons(Y'''', L'''')))) -> REV2(X''', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y'', L''))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev2(Y'', L''))), rev2(Y0, rev(rev2(Y'', L'')))), rev2(rev1(Y0, rev(rev2(Y'', L''))), rev2(Y0, rev(rev2(Y'', L'')))))))
REV(cons(X'', cons(Y0'', cons(Y'''', L'''')))) -> REV2(X'', cons(Y0'', cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(rev1(Y0, nil), rev2(Y0, rev(rev2(Y''', nil)))))
rev1(0, nil) -> 0
rev1(s(X), nil) -> s(X)
rev1(X, cons(Y, L)) -> rev1(Y, L)
rev(nil) -> nil
rev(cons(X, L)) -> cons(rev1(X, L), rev2(X, L))
rev2(X, nil) -> nil
rev2(X, cons(Y, L)) -> rev(cons(X, rev(rev2(Y, L))))
innermost
one new Dependency Pair is created:
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(nil))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(rev1(Y0, rev(nil)), rev2(Y0, rev(nil))))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Nar
→DP Problem 6
↳Rw
...
→DP Problem 19
↳Rewriting Transformation
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(rev1(Y0, rev(nil)), rev2(Y0, rev(nil))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(rev1(Y0, nil), rev2(Y0, rev(rev2(Y''', nil)))))
REV(cons(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV2(X, cons(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0'', cons(Y''0, cons(Y'''', L'''')))) -> REV2(Y0'', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y', cons(Y0'', cons(Y'''', L'''')))) -> REV2(Y', cons(Y0'', cons(Y'''', L'''')))
REV(cons(X''', cons(Y''0, cons(Y'''', L'''')))) -> REV2(X''', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y'', L''))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev2(Y'', L''))), rev2(Y0, rev(rev2(Y'', L'')))), rev2(rev1(Y0, rev(rev2(Y'', L''))), rev2(Y0, rev(rev2(Y'', L'')))))))
REV(cons(X'', cons(Y0'', cons(Y'''', L'''')))) -> REV2(X'', cons(Y0'', cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(Y0, rev(cons(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))
rev1(0, nil) -> 0
rev1(s(X), nil) -> s(X)
rev1(X, cons(Y, L)) -> rev1(Y, L)
rev(nil) -> nil
rev(cons(X, L)) -> cons(rev1(X, L), rev2(X, L))
rev2(X, nil) -> nil
rev2(X, cons(Y, L)) -> rev(cons(X, rev(rev2(Y, L))))
innermost
one new Dependency Pair is created:
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Nar
→DP Problem 6
↳Rw
...
→DP Problem 20
↳Rewriting Transformation
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(rev1(Y0, nil), rev2(Y0, rev(rev2(Y''', nil)))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV(cons(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(Y0, rev(cons(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))
REV2(X, cons(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0'', cons(Y''0, cons(Y'''', L'''')))) -> REV2(Y0'', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y', cons(Y0'', cons(Y'''', L'''')))) -> REV2(Y', cons(Y0'', cons(Y'''', L'''')))
REV(cons(X''', cons(Y''0, cons(Y'''', L'''')))) -> REV2(X''', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y'', L''))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev2(Y'', L''))), rev2(Y0, rev(rev2(Y'', L'')))), rev2(rev1(Y0, rev(rev2(Y'', L''))), rev2(Y0, rev(rev2(Y'', L'')))))))
REV(cons(X'', cons(Y0'', cons(Y'''', L'''')))) -> REV2(X'', cons(Y0'', cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(rev1(Y0, rev(nil)), rev2(Y0, rev(nil))))
rev1(0, nil) -> 0
rev1(s(X), nil) -> s(X)
rev1(X, cons(Y, L)) -> rev1(Y, L)
rev(nil) -> nil
rev(cons(X, L)) -> cons(rev1(X, L), rev2(X, L))
rev2(X, nil) -> nil
rev2(X, cons(Y, L)) -> rev(cons(X, rev(rev2(Y, L))))
innermost
one new Dependency Pair is created:
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(rev1(Y0, nil), rev2(Y0, rev(rev2(Y''', nil)))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(rev1(Y0, nil), rev2(Y0, rev(nil))))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Nar
→DP Problem 6
↳Rw
...
→DP Problem 21
↳Rewriting Transformation
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(rev1(Y0, nil), rev2(Y0, rev(nil))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(rev1(Y0, rev(nil)), rev2(Y0, rev(nil))))
REV(cons(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(Y0, rev(cons(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))
REV2(X, cons(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0'', cons(Y''0, cons(Y'''', L'''')))) -> REV2(Y0'', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y', cons(Y0'', cons(Y'''', L'''')))) -> REV2(Y', cons(Y0'', cons(Y'''', L'''')))
REV(cons(X''', cons(Y''0, cons(Y'''', L'''')))) -> REV2(X''', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y'', L''))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev2(Y'', L''))), rev2(Y0, rev(rev2(Y'', L'')))), rev2(rev1(Y0, rev(rev2(Y'', L''))), rev2(Y0, rev(rev2(Y'', L'')))))))
REV(cons(X'', cons(Y0'', cons(Y'''', L'''')))) -> REV2(X'', cons(Y0'', cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
rev1(0, nil) -> 0
rev1(s(X), nil) -> s(X)
rev1(X, cons(Y, L)) -> rev1(Y, L)
rev(nil) -> nil
rev(cons(X, L)) -> cons(rev1(X, L), rev2(X, L))
rev2(X, nil) -> nil
rev2(X, cons(Y, L)) -> rev(cons(X, rev(rev2(Y, L))))
innermost
one new Dependency Pair is created:
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(Y0, rev(cons(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(Y0, cons(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Nar
→DP Problem 6
↳Rw
...
→DP Problem 22
↳Rewriting Transformation
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(rev1(Y0, rev(nil)), rev2(Y0, rev(nil))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(Y0, cons(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))
REV(cons(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV2(X, cons(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0'', cons(Y''0, cons(Y'''', L'''')))) -> REV2(Y0'', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y', cons(Y0'', cons(Y'''', L'''')))) -> REV2(Y', cons(Y0'', cons(Y'''', L'''')))
REV(cons(X''', cons(Y''0, cons(Y'''', L'''')))) -> REV2(X''', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y'', L''))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev2(Y'', L''))), rev2(Y0, rev(rev2(Y'', L'')))), rev2(rev1(Y0, rev(rev2(Y'', L''))), rev2(Y0, rev(rev2(Y'', L'')))))))
REV(cons(X'', cons(Y0'', cons(Y'''', L'''')))) -> REV2(X'', cons(Y0'', cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(rev1(Y0, nil), rev2(Y0, rev(nil))))
rev1(0, nil) -> 0
rev1(s(X), nil) -> s(X)
rev1(X, cons(Y, L)) -> rev1(Y, L)
rev(nil) -> nil
rev(cons(X, L)) -> cons(rev1(X, L), rev2(X, L))
rev2(X, nil) -> nil
rev2(X, cons(Y, L)) -> rev(cons(X, rev(rev2(Y, L))))
innermost
one new Dependency Pair is created:
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(rev1(Y0, rev(nil)), rev2(Y0, rev(nil))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(rev1(Y0, nil), rev2(Y0, rev(nil))))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Nar
→DP Problem 6
↳Rw
...
→DP Problem 23
↳Rewriting Transformation
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(rev1(Y0, nil), rev2(Y0, rev(nil))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(rev1(Y0, nil), rev2(Y0, rev(nil))))
REV(cons(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV2(X, cons(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0'', cons(Y''0, cons(Y'''', L'''')))) -> REV2(Y0'', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y', cons(Y0'', cons(Y'''', L'''')))) -> REV2(Y', cons(Y0'', cons(Y'''', L'''')))
REV(cons(X''', cons(Y''0, cons(Y'''', L'''')))) -> REV2(X''', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y'', L''))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev2(Y'', L''))), rev2(Y0, rev(rev2(Y'', L'')))), rev2(rev1(Y0, rev(rev2(Y'', L''))), rev2(Y0, rev(rev2(Y'', L'')))))))
REV(cons(X'', cons(Y0'', cons(Y'''', L'''')))) -> REV2(X'', cons(Y0'', cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(Y0, cons(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))
rev1(0, nil) -> 0
rev1(s(X), nil) -> s(X)
rev1(X, cons(Y, L)) -> rev1(Y, L)
rev(nil) -> nil
rev(cons(X, L)) -> cons(rev1(X, L), rev2(X, L))
rev2(X, nil) -> nil
rev2(X, cons(Y, L)) -> rev(cons(X, rev(rev2(Y, L))))
innermost
one new Dependency Pair is created:
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(Y0, rev(cons(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Nar
→DP Problem 6
↳Rw
...
→DP Problem 24
↳Rewriting Transformation
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(rev1(Y0, nil), rev2(Y0, rev(nil))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(Y0, rev(cons(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV(cons(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(Y0, cons(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))
REV2(X, cons(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0'', cons(Y''0, cons(Y'''', L'''')))) -> REV2(Y0'', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y', cons(Y0'', cons(Y'''', L'''')))) -> REV2(Y', cons(Y0'', cons(Y'''', L'''')))
REV(cons(X''', cons(Y''0, cons(Y'''', L'''')))) -> REV2(X''', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y'', L''))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev2(Y'', L''))), rev2(Y0, rev(rev2(Y'', L'')))), rev2(rev1(Y0, rev(rev2(Y'', L''))), rev2(Y0, rev(rev2(Y'', L'')))))))
REV(cons(X'', cons(Y0'', cons(Y'''', L'''')))) -> REV2(X'', cons(Y0'', cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(rev1(Y0, nil), rev2(Y0, rev(nil))))
rev1(0, nil) -> 0
rev1(s(X), nil) -> s(X)
rev1(X, cons(Y, L)) -> rev1(Y, L)
rev(nil) -> nil
rev(cons(X, L)) -> cons(rev1(X, L), rev2(X, L))
rev2(X, nil) -> nil
rev2(X, cons(Y, L)) -> rev(cons(X, rev(rev2(Y, L))))
innermost
one new Dependency Pair is created:
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(rev1(Y0, nil), rev2(Y0, rev(nil))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(rev1(Y0, nil), rev2(Y0, nil)))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Nar
→DP Problem 6
↳Rw
...
→DP Problem 25
↳Rewriting Transformation
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(rev1(Y0, nil), rev2(Y0, nil)))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(rev1(Y0, nil), rev2(Y0, rev(nil))))
REV(cons(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(Y0, cons(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))
REV2(X, cons(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0'', cons(Y''0, cons(Y'''', L'''')))) -> REV2(Y0'', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y', cons(Y0'', cons(Y'''', L'''')))) -> REV2(Y', cons(Y0'', cons(Y'''', L'''')))
REV(cons(X''', cons(Y''0, cons(Y'''', L'''')))) -> REV2(X''', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y'', L''))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev2(Y'', L''))), rev2(Y0, rev(rev2(Y'', L'')))), rev2(rev1(Y0, rev(rev2(Y'', L''))), rev2(Y0, rev(rev2(Y'', L'')))))))
REV(cons(X'', cons(Y0'', cons(Y'''', L'''')))) -> REV2(X'', cons(Y0'', cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(Y0, rev(cons(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
rev1(0, nil) -> 0
rev1(s(X), nil) -> s(X)
rev1(X, cons(Y, L)) -> rev1(Y, L)
rev(nil) -> nil
rev(cons(X, L)) -> cons(rev1(X, L), rev2(X, L))
rev2(X, nil) -> nil
rev2(X, cons(Y, L)) -> rev(cons(X, rev(rev2(Y, L))))
innermost
one new Dependency Pair is created:
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(Y0, cons(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Nar
→DP Problem 6
↳Rw
...
→DP Problem 26
↳Rewriting Transformation
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(rev1(Y0, nil), rev2(Y0, rev(nil))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))
REV(cons(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(Y0, rev(cons(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV2(X, cons(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0'', cons(Y''0, cons(Y'''', L'''')))) -> REV2(Y0'', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y', cons(Y0'', cons(Y'''', L'''')))) -> REV2(Y', cons(Y0'', cons(Y'''', L'''')))
REV(cons(X''', cons(Y''0, cons(Y'''', L'''')))) -> REV2(X''', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y'', L''))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev2(Y'', L''))), rev2(Y0, rev(rev2(Y'', L'')))), rev2(rev1(Y0, rev(rev2(Y'', L''))), rev2(Y0, rev(rev2(Y'', L'')))))))
REV(cons(X'', cons(Y0'', cons(Y'''', L'''')))) -> REV2(X'', cons(Y0'', cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(rev1(Y0, nil), rev2(Y0, nil)))
rev1(0, nil) -> 0
rev1(s(X), nil) -> s(X)
rev1(X, cons(Y, L)) -> rev1(Y, L)
rev(nil) -> nil
rev(cons(X, L)) -> cons(rev1(X, L), rev2(X, L))
rev2(X, nil) -> nil
rev2(X, cons(Y, L)) -> rev(cons(X, rev(rev2(Y, L))))
innermost
one new Dependency Pair is created:
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(rev1(Y0, nil), rev2(Y0, rev(nil))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(rev1(Y0, nil), rev2(Y0, nil)))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Nar
→DP Problem 6
↳Rw
...
→DP Problem 27
↳Rewriting Transformation
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(rev1(Y0, nil), rev2(Y0, nil)))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(rev1(Y0, nil), rev2(Y0, nil)))
REV(cons(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(Y0, rev(cons(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV2(X, cons(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0'', cons(Y''0, cons(Y'''', L'''')))) -> REV2(Y0'', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y', cons(Y0'', cons(Y'''', L'''')))) -> REV2(Y', cons(Y0'', cons(Y'''', L'''')))
REV(cons(X''', cons(Y''0, cons(Y'''', L'''')))) -> REV2(X''', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y'', L''))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev2(Y'', L''))), rev2(Y0, rev(rev2(Y'', L'')))), rev2(rev1(Y0, rev(rev2(Y'', L''))), rev2(Y0, rev(rev2(Y'', L'')))))))
REV(cons(X'', cons(Y0'', cons(Y'''', L'''')))) -> REV2(X'', cons(Y0'', cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))
rev1(0, nil) -> 0
rev1(s(X), nil) -> s(X)
rev1(X, cons(Y, L)) -> rev1(Y, L)
rev(nil) -> nil
rev(cons(X, L)) -> cons(rev1(X, L), rev2(X, L))
rev2(X, nil) -> nil
rev2(X, cons(Y, L)) -> rev(cons(X, rev(rev2(Y, L))))
innermost
one new Dependency Pair is created:
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(Y0, rev(cons(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(Y0, cons(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Nar
→DP Problem 6
↳Rw
...
→DP Problem 28
↳Rewriting Transformation
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(rev1(Y0, nil), rev2(Y0, nil)))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(Y0, cons(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV(cons(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))
REV2(X, cons(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0'', cons(Y''0, cons(Y'''', L'''')))) -> REV2(Y0'', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y', cons(Y0'', cons(Y'''', L'''')))) -> REV2(Y', cons(Y0'', cons(Y'''', L'''')))
REV(cons(X''', cons(Y''0, cons(Y'''', L'''')))) -> REV2(X''', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y'', L''))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev2(Y'', L''))), rev2(Y0, rev(rev2(Y'', L'')))), rev2(rev1(Y0, rev(rev2(Y'', L''))), rev2(Y0, rev(rev2(Y'', L'')))))))
REV(cons(X'', cons(Y0'', cons(Y'''', L'''')))) -> REV2(X'', cons(Y0'', cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(rev1(Y0, nil), rev2(Y0, nil)))
rev1(0, nil) -> 0
rev1(s(X), nil) -> s(X)
rev1(X, cons(Y, L)) -> rev1(Y, L)
rev(nil) -> nil
rev(cons(X, L)) -> cons(rev1(X, L), rev2(X, L))
rev2(X, nil) -> nil
rev2(X, cons(Y, L)) -> rev(cons(X, rev(rev2(Y, L))))
innermost
one new Dependency Pair is created:
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(rev1(Y0, nil), rev2(Y0, nil)))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(rev1(Y0, nil), nil))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Nar
→DP Problem 6
↳Rw
...
→DP Problem 29
↳Rewriting Transformation
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(rev1(Y0, nil), rev2(Y0, nil)))
REV(cons(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))
REV2(X, cons(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0'', cons(Y''0, cons(Y'''', L'''')))) -> REV2(Y0'', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y', cons(Y0'', cons(Y'''', L'''')))) -> REV2(Y', cons(Y0'', cons(Y'''', L'''')))
REV(cons(X''', cons(Y''0, cons(Y'''', L'''')))) -> REV2(X''', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y'', L''))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev2(Y'', L''))), rev2(Y0, rev(rev2(Y'', L'')))), rev2(rev1(Y0, rev(rev2(Y'', L''))), rev2(Y0, rev(rev2(Y'', L'')))))))
REV(cons(X'', cons(Y0'', cons(Y'''', L'''')))) -> REV2(X'', cons(Y0'', cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(Y0, cons(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
rev1(0, nil) -> 0
rev1(s(X), nil) -> s(X)
rev1(X, cons(Y, L)) -> rev1(Y, L)
rev(nil) -> nil
rev(cons(X, L)) -> cons(rev1(X, L), rev2(X, L))
rev2(X, nil) -> nil
rev2(X, cons(Y, L)) -> rev(cons(X, rev(rev2(Y, L))))
innermost
one new Dependency Pair is created:
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Nar
→DP Problem 6
↳Rw
...
→DP Problem 30
↳Rewriting Transformation
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV(cons(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(Y0, cons(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV2(X, cons(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0'', cons(Y''0, cons(Y'''', L'''')))) -> REV2(Y0'', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y', cons(Y0'', cons(Y'''', L'''')))) -> REV2(Y', cons(Y0'', cons(Y'''', L'''')))
REV(cons(X''', cons(Y''0, cons(Y'''', L'''')))) -> REV2(X''', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y'', L''))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev2(Y'', L''))), rev2(Y0, rev(rev2(Y'', L'')))), rev2(rev1(Y0, rev(rev2(Y'', L''))), rev2(Y0, rev(rev2(Y'', L'')))))))
REV(cons(X'', cons(Y0'', cons(Y'''', L'''')))) -> REV2(X'', cons(Y0'', cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(rev1(Y0, nil), rev2(Y0, nil)))
rev1(0, nil) -> 0
rev1(s(X), nil) -> s(X)
rev1(X, cons(Y, L)) -> rev1(Y, L)
rev(nil) -> nil
rev(cons(X, L)) -> cons(rev1(X, L), rev2(X, L))
rev2(X, nil) -> nil
rev2(X, cons(Y, L)) -> rev(cons(X, rev(rev2(Y, L))))
innermost
one new Dependency Pair is created:
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(rev1(Y0, nil), rev2(Y0, nil)))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(rev1(Y0, nil), nil))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Nar
→DP Problem 6
↳Rw
...
→DP Problem 31
↳Rewriting Transformation
REV(cons(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(Y0, cons(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV2(X, cons(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0'', cons(Y''0, cons(Y'''', L'''')))) -> REV2(Y0'', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y', cons(Y0'', cons(Y'''', L'''')))) -> REV2(Y', cons(Y0'', cons(Y'''', L'''')))
REV(cons(X''', cons(Y''0, cons(Y'''', L'''')))) -> REV2(X''', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y'', L''))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev2(Y'', L''))), rev2(Y0, rev(rev2(Y'', L'')))), rev2(rev1(Y0, rev(rev2(Y'', L''))), rev2(Y0, rev(rev2(Y'', L'')))))))
REV(cons(X'', cons(Y0'', cons(Y'''', L'''')))) -> REV2(X'', cons(Y0'', cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
rev1(0, nil) -> 0
rev1(s(X), nil) -> s(X)
rev1(X, cons(Y, L)) -> rev1(Y, L)
rev(nil) -> nil
rev(cons(X, L)) -> cons(rev1(X, L), rev2(X, L))
rev2(X, nil) -> nil
rev2(X, cons(Y, L)) -> rev(cons(X, rev(rev2(Y, L))))
innermost
one new Dependency Pair is created:
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(Y0, cons(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Nar
→DP Problem 6
↳Rw
...
→DP Problem 32
↳Narrowing Transformation
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV(cons(X''', cons(Y''0, cons(Y'''', L'''')))) -> REV2(X''', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV2(X, cons(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0'', cons(Y''0, cons(Y'''', L'''')))) -> REV2(Y0'', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y', cons(Y0'', cons(Y'''', L'''')))) -> REV2(Y', cons(Y0'', cons(Y'''', L'''')))
REV(cons(X'', cons(Y0'', cons(Y'''', L'''')))) -> REV2(X'', cons(Y0'', cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y'', L''))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev2(Y'', L''))), rev2(Y0, rev(rev2(Y'', L'')))), rev2(rev1(Y0, rev(rev2(Y'', L''))), rev2(Y0, rev(rev2(Y'', L'')))))))
REV(cons(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
rev1(0, nil) -> 0
rev1(s(X), nil) -> s(X)
rev1(X, cons(Y, L)) -> rev1(Y, L)
rev(nil) -> nil
rev(cons(X, L)) -> cons(rev1(X, L), rev2(X, L))
rev2(X, nil) -> nil
rev2(X, cons(Y, L)) -> rev(cons(X, rev(rev2(Y, L))))
innermost
eight new Dependency Pairs are created:
REV2(X, cons(Y0, cons(Y'', L''))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev2(Y'', L''))), rev2(Y0, rev(rev2(Y'', L'')))), rev2(rev1(Y0, rev(rev2(Y'', L''))), rev2(Y0, rev(rev2(Y'', L'')))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(nil)), rev2(Y0, rev(rev2(Y''', nil)))), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(nil))), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))), rev2(rev1(Y0, rev(nil)), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(nil))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Nar
→DP Problem 6
↳Rw
...
→DP Problem 33
↳Rewriting Transformation
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(nil))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))), rev2(rev1(Y0, rev(nil)), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(nil))), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV(cons(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(nil)), rev2(Y0, rev(rev2(Y''', nil)))), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))))))
REV(cons(X''', cons(Y''0, cons(Y'''', L'''')))) -> REV2(X''', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV2(X, cons(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0'', cons(Y''0, cons(Y'''', L'''')))) -> REV2(Y0'', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y', cons(Y0'', cons(Y'''', L'''')))) -> REV2(Y', cons(Y0'', cons(Y'''', L'''')))
REV(cons(X'', cons(Y0'', cons(Y'''', L'''')))) -> REV2(X'', cons(Y0'', cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
rev1(0, nil) -> 0
rev1(s(X), nil) -> s(X)
rev1(X, cons(Y, L)) -> rev1(Y, L)
rev(nil) -> nil
rev(cons(X, L)) -> cons(rev1(X, L), rev2(X, L))
rev2(X, nil) -> nil
rev2(X, cons(Y, L)) -> rev(cons(X, rev(rev2(Y, L))))
innermost
one new Dependency Pair is created:
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(nil)), rev2(Y0, rev(rev2(Y''', nil)))), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, rev(rev2(Y''', nil)))), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))))))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Nar
→DP Problem 6
↳Rw
...
→DP Problem 34
↳Rewriting Transformation
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, rev(rev2(Y''', nil)))), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))), rev2(rev1(Y0, rev(nil)), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(nil))), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV(cons(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV(cons(X''', cons(Y''0, cons(Y'''', L'''')))) -> REV2(X''', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV2(X, cons(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0'', cons(Y''0, cons(Y'''', L'''')))) -> REV2(Y0'', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y', cons(Y0'', cons(Y'''', L'''')))) -> REV2(Y', cons(Y0'', cons(Y'''', L'''')))
REV(cons(X'', cons(Y0'', cons(Y'''', L'''')))) -> REV2(X'', cons(Y0'', cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(nil))))))
rev1(0, nil) -> 0
rev1(s(X), nil) -> s(X)
rev1(X, cons(Y, L)) -> rev1(Y, L)
rev(nil) -> nil
rev(cons(X, L)) -> cons(rev1(X, L), rev2(X, L))
rev2(X, nil) -> nil
rev2(X, cons(Y, L)) -> rev(cons(X, rev(rev2(Y, L))))
innermost
one new Dependency Pair is created:
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(cons(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Nar
→DP Problem 6
↳Rw
...
→DP Problem 35
↳Rewriting Transformation
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(nil))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))), rev2(rev1(Y0, rev(nil)), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(nil))), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(cons(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV(cons(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV(cons(X''', cons(Y''0, cons(Y'''', L'''')))) -> REV2(X''', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV2(X, cons(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0'', cons(Y''0, cons(Y'''', L'''')))) -> REV2(Y0'', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y', cons(Y0'', cons(Y'''', L'''')))) -> REV2(Y', cons(Y0'', cons(Y'''', L'''')))
REV(cons(X'', cons(Y0'', cons(Y'''', L'''')))) -> REV2(X'', cons(Y0'', cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, rev(rev2(Y''', nil)))), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))))))
rev1(0, nil) -> 0
rev1(s(X), nil) -> s(X)
rev1(X, cons(Y, L)) -> rev1(Y, L)
rev(nil) -> nil
rev(cons(X, L)) -> cons(rev1(X, L), rev2(X, L))
rev2(X, nil) -> nil
rev2(X, cons(Y, L)) -> rev(cons(X, rev(rev2(Y, L))))
innermost
one new Dependency Pair is created:
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(nil))), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(nil)), rev2(Y0, rev(nil))), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))))))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Nar
→DP Problem 6
↳Rw
...
→DP Problem 36
↳Rewriting Transformation
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(nil)), rev2(Y0, rev(nil))), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, rev(rev2(Y''', nil)))), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))), rev2(rev1(Y0, rev(nil)), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(cons(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV(cons(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV(cons(X''', cons(Y''0, cons(Y'''', L'''')))) -> REV2(X''', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV2(X, cons(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0'', cons(Y''0, cons(Y'''', L'''')))) -> REV2(Y0'', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y', cons(Y0'', cons(Y'''', L'''')))) -> REV2(Y', cons(Y0'', cons(Y'''', L'''')))
REV(cons(X'', cons(Y0'', cons(Y'''', L'''')))) -> REV2(X'', cons(Y0'', cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(nil))))))
rev1(0, nil) -> 0
rev1(s(X), nil) -> s(X)
rev1(X, cons(Y, L)) -> rev1(Y, L)
rev(nil) -> nil
rev(cons(X, L)) -> cons(rev1(X, L), rev2(X, L))
rev2(X, nil) -> nil
rev2(X, cons(Y, L)) -> rev(cons(X, rev(rev2(Y, L))))
innermost
one new Dependency Pair is created:
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Nar
→DP Problem 6
↳Rw
...
→DP Problem 37
↳Rewriting Transformation
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, rev(rev2(Y''', nil)))), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(nil))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))), rev2(rev1(Y0, rev(nil)), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(cons(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV(cons(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV(cons(X''', cons(Y''0, cons(Y'''', L'''')))) -> REV2(X''', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV2(X, cons(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0'', cons(Y''0, cons(Y'''', L'''')))) -> REV2(Y0'', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y', cons(Y0'', cons(Y'''', L'''')))) -> REV2(Y', cons(Y0'', cons(Y'''', L'''')))
REV(cons(X'', cons(Y0'', cons(Y'''', L'''')))) -> REV2(X'', cons(Y0'', cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(nil)), rev2(Y0, rev(nil))), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))))))
rev1(0, nil) -> 0
rev1(s(X), nil) -> s(X)
rev1(X, cons(Y, L)) -> rev1(Y, L)
rev(nil) -> nil
rev(cons(X, L)) -> cons(rev1(X, L), rev2(X, L))
rev2(X, nil) -> nil
rev2(X, cons(Y, L)) -> rev(cons(X, rev(rev2(Y, L))))
innermost
one new Dependency Pair is created:
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))), rev2(rev1(Y0, rev(nil)), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(nil)), rev2(Y0, rev(rev2(Y''', nil)))), rev2(rev1(Y0, rev(nil)), rev2(Y0, rev(rev2(Y''', nil)))))))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Nar
→DP Problem 6
↳Rw
...
→DP Problem 38
↳Rewriting Transformation
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(nil)), rev2(Y0, rev(rev2(Y''', nil)))), rev2(rev1(Y0, rev(nil)), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(nil)), rev2(Y0, rev(nil))), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(nil))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(cons(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV(cons(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV(cons(X''', cons(Y''0, cons(Y'''', L'''')))) -> REV2(X''', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV2(X, cons(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0'', cons(Y''0, cons(Y'''', L'''')))) -> REV2(Y0'', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y', cons(Y0'', cons(Y'''', L'''')))) -> REV2(Y', cons(Y0'', cons(Y'''', L'''')))
REV(cons(X'', cons(Y0'', cons(Y'''', L'''')))) -> REV2(X'', cons(Y0'', cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, rev(rev2(Y''', nil)))), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))))))
rev1(0, nil) -> 0
rev1(s(X), nil) -> s(X)
rev1(X, cons(Y, L)) -> rev1(Y, L)
rev(nil) -> nil
rev(cons(X, L)) -> cons(rev1(X, L), rev2(X, L))
rev2(X, nil) -> nil
rev2(X, cons(Y, L)) -> rev(cons(X, rev(rev2(Y, L))))
innermost
one new Dependency Pair is created:
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Nar
→DP Problem 6
↳Rw
...
→DP Problem 39
↳Rewriting Transformation
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(nil)), rev2(Y0, rev(nil))), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, rev(rev2(Y''', nil)))), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(nil))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(cons(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))))
REV(cons(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV(cons(X''', cons(Y''0, cons(Y'''', L'''')))) -> REV2(X''', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV2(X, cons(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0'', cons(Y''0, cons(Y'''', L'''')))) -> REV2(Y0'', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y', cons(Y0'', cons(Y'''', L'''')))) -> REV2(Y', cons(Y0'', cons(Y'''', L'''')))
REV(cons(X'', cons(Y0'', cons(Y'''', L'''')))) -> REV2(X'', cons(Y0'', cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(nil)), rev2(Y0, rev(rev2(Y''', nil)))), rev2(rev1(Y0, rev(nil)), rev2(Y0, rev(rev2(Y''', nil)))))))
rev1(0, nil) -> 0
rev1(s(X), nil) -> s(X)
rev1(X, cons(Y, L)) -> rev1(Y, L)
rev(nil) -> nil
rev(cons(X, L)) -> cons(rev1(X, L), rev2(X, L))
rev2(X, nil) -> nil
rev2(X, cons(Y, L)) -> rev(cons(X, rev(rev2(Y, L))))
innermost
one new Dependency Pair is created:
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(nil))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(nil)), rev2(Y0, rev(rev2(Y''', nil)))), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(nil))))))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Nar
→DP Problem 6
↳Rw
...
→DP Problem 40
↳Rewriting Transformation
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(nil)), rev2(Y0, rev(rev2(Y''', nil)))), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(nil))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(nil)), rev2(Y0, rev(rev2(Y''', nil)))), rev2(rev1(Y0, rev(nil)), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, rev(rev2(Y''', nil)))), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(cons(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))))
REV(cons(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV(cons(X''', cons(Y''0, cons(Y'''', L'''')))) -> REV2(X''', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV2(X, cons(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0'', cons(Y''0, cons(Y'''', L'''')))) -> REV2(Y0'', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y', cons(Y0'', cons(Y'''', L'''')))) -> REV2(Y', cons(Y0'', cons(Y'''', L'''')))
REV(cons(X'', cons(Y0'', cons(Y'''', L'''')))) -> REV2(X'', cons(Y0'', cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(nil)), rev2(Y0, rev(nil))), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))))))
rev1(0, nil) -> 0
rev1(s(X), nil) -> s(X)
rev1(X, cons(Y, L)) -> rev1(Y, L)
rev(nil) -> nil
rev(cons(X, L)) -> cons(rev1(X, L), rev2(X, L))
rev2(X, nil) -> nil
rev2(X, cons(Y, L)) -> rev(cons(X, rev(rev2(Y, L))))
innermost
one new Dependency Pair is created:
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Nar
→DP Problem 6
↳Rw
...
→DP Problem 41
↳Rewriting Transformation
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(nil)), rev2(Y0, rev(rev2(Y''', nil)))), rev2(rev1(Y0, rev(nil)), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(nil)), rev2(Y0, rev(nil))), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, rev(rev2(Y''', nil)))), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(cons(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV(cons(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV(cons(X''', cons(Y''0, cons(Y'''', L'''')))) -> REV2(X''', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV2(X, cons(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0'', cons(Y''0, cons(Y'''', L'''')))) -> REV2(Y0'', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y', cons(Y0'', cons(Y'''', L'''')))) -> REV2(Y', cons(Y0'', cons(Y'''', L'''')))
REV(cons(X'', cons(Y0'', cons(Y'''', L'''')))) -> REV2(X'', cons(Y0'', cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(nil)), rev2(Y0, rev(rev2(Y''', nil)))), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(nil))))))
rev1(0, nil) -> 0
rev1(s(X), nil) -> s(X)
rev1(X, cons(Y, L)) -> rev1(Y, L)
rev(nil) -> nil
rev(cons(X, L)) -> cons(rev1(X, L), rev2(X, L))
rev2(X, nil) -> nil
rev2(X, cons(Y, L)) -> rev(cons(X, rev(rev2(Y, L))))
innermost
one new Dependency Pair is created:
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, rev(rev2(Y''', nil)))), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, rev(nil))), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))))))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Nar
→DP Problem 6
↳Rw
...
→DP Problem 42
↳Rewriting Transformation
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, rev(nil))), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(nil)), rev2(Y0, rev(rev2(Y''', nil)))), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(nil))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(nil)), rev2(Y0, rev(nil))), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(cons(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV(cons(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV(cons(X''', cons(Y''0, cons(Y'''', L'''')))) -> REV2(X''', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV2(X, cons(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0'', cons(Y''0, cons(Y'''', L'''')))) -> REV2(Y0'', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y', cons(Y0'', cons(Y'''', L'''')))) -> REV2(Y', cons(Y0'', cons(Y'''', L'''')))
REV(cons(X'', cons(Y0'', cons(Y'''', L'''')))) -> REV2(X'', cons(Y0'', cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(nil)), rev2(Y0, rev(rev2(Y''', nil)))), rev2(rev1(Y0, rev(nil)), rev2(Y0, rev(rev2(Y''', nil)))))))
rev1(0, nil) -> 0
rev1(s(X), nil) -> s(X)
rev1(X, cons(Y, L)) -> rev1(Y, L)
rev(nil) -> nil
rev(cons(X, L)) -> cons(rev1(X, L), rev2(X, L))
rev2(X, nil) -> nil
rev2(X, cons(Y, L)) -> rev(cons(X, rev(rev2(Y, L))))
innermost
one new Dependency Pair is created:
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(cons(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, cons(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Nar
→DP Problem 6
↳Rw
...
→DP Problem 43
↳Rewriting Transformation
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(nil)), rev2(Y0, rev(rev2(Y''', nil)))), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(nil))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(nil)), rev2(Y0, rev(rev2(Y''', nil)))), rev2(rev1(Y0, rev(nil)), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(nil)), rev2(Y0, rev(nil))), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, cons(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV(cons(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV(cons(X''', cons(Y''0, cons(Y'''', L'''')))) -> REV2(X''', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV2(X, cons(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0'', cons(Y''0, cons(Y'''', L'''')))) -> REV2(Y0'', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y', cons(Y0'', cons(Y'''', L'''')))) -> REV2(Y', cons(Y0'', cons(Y'''', L'''')))
REV(cons(X'', cons(Y0'', cons(Y'''', L'''')))) -> REV2(X'', cons(Y0'', cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, rev(nil))), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))))))
rev1(0, nil) -> 0
rev1(s(X), nil) -> s(X)
rev1(X, cons(Y, L)) -> rev1(Y, L)
rev(nil) -> nil
rev(cons(X, L)) -> cons(rev1(X, L), rev2(X, L))
rev2(X, nil) -> nil
rev2(X, cons(Y, L)) -> rev(cons(X, rev(rev2(Y, L))))
innermost
one new Dependency Pair is created:
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(nil)), rev2(Y0, rev(nil))), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, rev(nil))), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))))))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Nar
→DP Problem 6
↳Rw
...
→DP Problem 44
↳Rewriting Transformation
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, rev(nil))), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, rev(nil))), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(nil)), rev2(Y0, rev(rev2(Y''', nil)))), rev2(rev1(Y0, rev(nil)), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, cons(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV(cons(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV(cons(X''', cons(Y''0, cons(Y'''', L'''')))) -> REV2(X''', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV2(X, cons(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0'', cons(Y''0, cons(Y'''', L'''')))) -> REV2(Y0'', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y', cons(Y0'', cons(Y'''', L'''')))) -> REV2(Y', cons(Y0'', cons(Y'''', L'''')))
REV(cons(X'', cons(Y0'', cons(Y'''', L'''')))) -> REV2(X'', cons(Y0'', cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(nil)), rev2(Y0, rev(rev2(Y''', nil)))), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(nil))))))
rev1(0, nil) -> 0
rev1(s(X), nil) -> s(X)
rev1(X, cons(Y, L)) -> rev1(Y, L)
rev(nil) -> nil
rev(cons(X, L)) -> cons(rev1(X, L), rev2(X, L))
rev2(X, nil) -> nil
rev2(X, cons(Y, L)) -> rev(cons(X, rev(rev2(Y, L))))
innermost
one new Dependency Pair is created:
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(cons(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Nar
→DP Problem 6
↳Rw
...
→DP Problem 45
↳Rewriting Transformation
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, rev(nil))), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(nil)), rev2(Y0, rev(rev2(Y''', nil)))), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(nil))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(nil)), rev2(Y0, rev(rev2(Y''', nil)))), rev2(rev1(Y0, rev(nil)), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(cons(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, cons(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV(cons(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV(cons(X''', cons(Y''0, cons(Y'''', L'''')))) -> REV2(X''', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV2(X, cons(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0'', cons(Y''0, cons(Y'''', L'''')))) -> REV2(Y0'', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y', cons(Y0'', cons(Y'''', L'''')))) -> REV2(Y', cons(Y0'', cons(Y'''', L'''')))
REV(cons(X'', cons(Y0'', cons(Y'''', L'''')))) -> REV2(X'', cons(Y0'', cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, rev(nil))), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))))))
rev1(0, nil) -> 0
rev1(s(X), nil) -> s(X)
rev1(X, cons(Y, L)) -> rev1(Y, L)
rev(nil) -> nil
rev(cons(X, L)) -> cons(rev1(X, L), rev2(X, L))
rev2(X, nil) -> nil
rev2(X, cons(Y, L)) -> rev(cons(X, rev(rev2(Y, L))))
innermost
one new Dependency Pair is created:
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(nil)), rev2(Y0, rev(rev2(Y''', nil)))), rev2(rev1(Y0, rev(nil)), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, rev(rev2(Y''', nil)))), rev2(rev1(Y0, rev(nil)), rev2(Y0, rev(rev2(Y''', nil)))))))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Nar
→DP Problem 6
↳Rw
...
→DP Problem 46
↳Rewriting Transformation
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, rev(rev2(Y''', nil)))), rev2(rev1(Y0, rev(nil)), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, rev(nil))), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(nil)), rev2(Y0, rev(rev2(Y''', nil)))), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(nil))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(cons(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, cons(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV(cons(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV(cons(X''', cons(Y''0, cons(Y'''', L'''')))) -> REV2(X''', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV2(X, cons(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0'', cons(Y''0, cons(Y'''', L'''')))) -> REV2(Y0'', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y', cons(Y0'', cons(Y'''', L'''')))) -> REV2(Y', cons(Y0'', cons(Y'''', L'''')))
REV(cons(X'', cons(Y0'', cons(Y'''', L'''')))) -> REV2(X'', cons(Y0'', cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, rev(nil))), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))))))
rev1(0, nil) -> 0
rev1(s(X), nil) -> s(X)
rev1(X, cons(Y, L)) -> rev1(Y, L)
rev(nil) -> nil
rev(cons(X, L)) -> cons(rev1(X, L), rev2(X, L))
rev2(X, nil) -> nil
rev2(X, cons(Y, L)) -> rev(cons(X, rev(rev2(Y, L))))
innermost
one new Dependency Pair is created:
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(cons(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Nar
→DP Problem 6
↳Rw
...
→DP Problem 47
↳Rewriting Transformation
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, rev(nil))), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, rev(nil))), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(nil)), rev2(Y0, rev(rev2(Y''', nil)))), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(nil))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(cons(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(cons(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, cons(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))))
REV(cons(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV(cons(X''', cons(Y''0, cons(Y'''', L'''')))) -> REV2(X''', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV2(X, cons(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0'', cons(Y''0, cons(Y'''', L'''')))) -> REV2(Y0'', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y', cons(Y0'', cons(Y'''', L'''')))) -> REV2(Y', cons(Y0'', cons(Y'''', L'''')))
REV(cons(X'', cons(Y0'', cons(Y'''', L'''')))) -> REV2(X'', cons(Y0'', cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, rev(rev2(Y''', nil)))), rev2(rev1(Y0, rev(nil)), rev2(Y0, rev(rev2(Y''', nil)))))))
rev1(0, nil) -> 0
rev1(s(X), nil) -> s(X)
rev1(X, cons(Y, L)) -> rev1(Y, L)
rev(nil) -> nil
rev(cons(X, L)) -> cons(rev1(X, L), rev2(X, L))
rev2(X, nil) -> nil
rev2(X, cons(Y, L)) -> rev(cons(X, rev(rev2(Y, L))))
innermost
one new Dependency Pair is created:
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(nil)), rev2(Y0, rev(rev2(Y''', nil)))), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(nil))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, rev(rev2(Y''', nil)))), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(nil))))))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Nar
→DP Problem 6
↳Rw
...
→DP Problem 48
↳Rewriting Transformation
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, rev(rev2(Y''', nil)))), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(nil))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, rev(rev2(Y''', nil)))), rev2(rev1(Y0, rev(nil)), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, rev(nil))), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(cons(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(cons(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, cons(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))))
REV(cons(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV(cons(X''', cons(Y''0, cons(Y'''', L'''')))) -> REV2(X''', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV2(X, cons(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0'', cons(Y''0, cons(Y'''', L'''')))) -> REV2(Y0'', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y', cons(Y0'', cons(Y'''', L'''')))) -> REV2(Y', cons(Y0'', cons(Y'''', L'''')))
REV(cons(X'', cons(Y0'', cons(Y'''', L'''')))) -> REV2(X'', cons(Y0'', cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, rev(nil))), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))))))
rev1(0, nil) -> 0
rev1(s(X), nil) -> s(X)
rev1(X, cons(Y, L)) -> rev1(Y, L)
rev(nil) -> nil
rev(cons(X, L)) -> cons(rev1(X, L), rev2(X, L))
rev2(X, nil) -> nil
rev2(X, cons(Y, L)) -> rev(cons(X, rev(rev2(Y, L))))
innermost
one new Dependency Pair is created:
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(cons(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Nar
→DP Problem 6
↳Rw
...
→DP Problem 49
↳Rewriting Transformation
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, rev(rev2(Y''', nil)))), rev2(rev1(Y0, rev(nil)), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, rev(nil))), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, rev(nil))), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(cons(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(cons(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(cons(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, cons(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV(cons(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV(cons(X''', cons(Y''0, cons(Y'''', L'''')))) -> REV2(X''', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV2(X, cons(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0'', cons(Y''0, cons(Y'''', L'''')))) -> REV2(Y0'', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y', cons(Y0'', cons(Y'''', L'''')))) -> REV2(Y', cons(Y0'', cons(Y'''', L'''')))
REV(cons(X'', cons(Y0'', cons(Y'''', L'''')))) -> REV2(X'', cons(Y0'', cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, rev(rev2(Y''', nil)))), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(nil))))))
rev1(0, nil) -> 0
rev1(s(X), nil) -> s(X)
rev1(X, cons(Y, L)) -> rev1(Y, L)
rev(nil) -> nil
rev(cons(X, L)) -> cons(rev1(X, L), rev2(X, L))
rev2(X, nil) -> nil
rev2(X, cons(Y, L)) -> rev(cons(X, rev(rev2(Y, L))))
innermost
one new Dependency Pair is created:
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, rev(nil))), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, nil)), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))))))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Nar
→DP Problem 6
↳Rw
...
→DP Problem 50
↳Rewriting Transformation
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, nil)), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, rev(rev2(Y''', nil)))), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(nil))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, rev(nil))), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(cons(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(cons(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(cons(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, cons(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV(cons(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV(cons(X''', cons(Y''0, cons(Y'''', L'''')))) -> REV2(X''', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV2(X, cons(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0'', cons(Y''0, cons(Y'''', L'''')))) -> REV2(Y0'', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y', cons(Y0'', cons(Y'''', L'''')))) -> REV2(Y', cons(Y0'', cons(Y'''', L'''')))
REV(cons(X'', cons(Y0'', cons(Y'''', L'''')))) -> REV2(X'', cons(Y0'', cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, rev(rev2(Y''', nil)))), rev2(rev1(Y0, rev(nil)), rev2(Y0, rev(rev2(Y''', nil)))))))
rev1(0, nil) -> 0
rev1(s(X), nil) -> s(X)
rev1(X, cons(Y, L)) -> rev1(Y, L)
rev(nil) -> nil
rev(cons(X, L)) -> cons(rev1(X, L), rev2(X, L))
rev2(X, nil) -> nil
rev2(X, cons(Y, L)) -> rev(cons(X, rev(rev2(Y, L))))
innermost
one new Dependency Pair is created:
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, cons(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Nar
→DP Problem 6
↳Rw
...
→DP Problem 51
↳Rewriting Transformation
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, rev(rev2(Y''', nil)))), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(nil))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, rev(rev2(Y''', nil)))), rev2(rev1(Y0, rev(nil)), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, rev(nil))), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(cons(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(cons(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(cons(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV(cons(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV(cons(X''', cons(Y''0, cons(Y'''', L'''')))) -> REV2(X''', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV2(X, cons(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0'', cons(Y''0, cons(Y'''', L'''')))) -> REV2(Y0'', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y', cons(Y0'', cons(Y'''', L'''')))) -> REV2(Y', cons(Y0'', cons(Y'''', L'''')))
REV(cons(X'', cons(Y0'', cons(Y'''', L'''')))) -> REV2(X'', cons(Y0'', cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, nil)), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))))))
rev1(0, nil) -> 0
rev1(s(X), nil) -> s(X)
rev1(X, cons(Y, L)) -> rev1(Y, L)
rev(nil) -> nil
rev(cons(X, L)) -> cons(rev1(X, L), rev2(X, L))
rev2(X, nil) -> nil
rev2(X, cons(Y, L)) -> rev(cons(X, rev(rev2(Y, L))))
innermost
one new Dependency Pair is created:
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, rev(nil))), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, nil)), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))))))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Nar
→DP Problem 6
↳Rw
...
→DP Problem 52
↳Rewriting Transformation
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, nil)), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, nil)), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, rev(rev2(Y''', nil)))), rev2(rev1(Y0, rev(nil)), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(cons(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(cons(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(cons(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV(cons(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV(cons(X''', cons(Y''0, cons(Y'''', L'''')))) -> REV2(X''', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV2(X, cons(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0'', cons(Y''0, cons(Y'''', L'''')))) -> REV2(Y0'', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y', cons(Y0'', cons(Y'''', L'''')))) -> REV2(Y', cons(Y0'', cons(Y'''', L'''')))
REV(cons(X'', cons(Y0'', cons(Y'''', L'''')))) -> REV2(X'', cons(Y0'', cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, rev(rev2(Y''', nil)))), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(nil))))))
rev1(0, nil) -> 0
rev1(s(X), nil) -> s(X)
rev1(X, cons(Y, L)) -> rev1(Y, L)
rev(nil) -> nil
rev(cons(X, L)) -> cons(rev1(X, L), rev2(X, L))
rev2(X, nil) -> nil
rev2(X, cons(Y, L)) -> rev(cons(X, rev(rev2(Y, L))))
innermost
one new Dependency Pair is created:
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(cons(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, cons(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Nar
→DP Problem 6
↳Rw
...
→DP Problem 53
↳Rewriting Transformation
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, nil)), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, rev(rev2(Y''', nil)))), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(nil))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, rev(rev2(Y''', nil)))), rev2(rev1(Y0, rev(nil)), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, cons(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(cons(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(cons(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV(cons(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV(cons(X''', cons(Y''0, cons(Y'''', L'''')))) -> REV2(X''', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV2(X, cons(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0'', cons(Y''0, cons(Y'''', L'''')))) -> REV2(Y0'', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y', cons(Y0'', cons(Y'''', L'''')))) -> REV2(Y', cons(Y0'', cons(Y'''', L'''')))
REV(cons(X'', cons(Y0'', cons(Y'''', L'''')))) -> REV2(X'', cons(Y0'', cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, nil)), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))))))
rev1(0, nil) -> 0
rev1(s(X), nil) -> s(X)
rev1(X, cons(Y, L)) -> rev1(Y, L)
rev(nil) -> nil
rev(cons(X, L)) -> cons(rev1(X, L), rev2(X, L))
rev2(X, nil) -> nil
rev2(X, cons(Y, L)) -> rev(cons(X, rev(rev2(Y, L))))
innermost
one new Dependency Pair is created:
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, rev(rev2(Y''', nil)))), rev2(rev1(Y0, rev(nil)), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, rev(nil))), rev2(rev1(Y0, rev(nil)), rev2(Y0, rev(rev2(Y''', nil)))))))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Nar
→DP Problem 6
↳Rw
...
→DP Problem 54
↳Rewriting Transformation
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, rev(nil))), rev2(rev1(Y0, rev(nil)), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, nil)), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, rev(rev2(Y''', nil)))), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(nil))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, cons(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(cons(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(cons(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV(cons(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV(cons(X''', cons(Y''0, cons(Y'''', L'''')))) -> REV2(X''', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV2(X, cons(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0'', cons(Y''0, cons(Y'''', L'''')))) -> REV2(Y0'', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y', cons(Y0'', cons(Y'''', L'''')))) -> REV2(Y', cons(Y0'', cons(Y'''', L'''')))
REV(cons(X'', cons(Y0'', cons(Y'''', L'''')))) -> REV2(X'', cons(Y0'', cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, nil)), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))))))
rev1(0, nil) -> 0
rev1(s(X), nil) -> s(X)
rev1(X, cons(Y, L)) -> rev1(Y, L)
rev(nil) -> nil
rev(cons(X, L)) -> cons(rev1(X, L), rev2(X, L))
rev2(X, nil) -> nil
rev2(X, cons(Y, L)) -> rev(cons(X, rev(rev2(Y, L))))
innermost
one new Dependency Pair is created:
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(cons(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, cons(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Nar
→DP Problem 6
↳Rw
...
→DP Problem 55
↳Rewriting Transformation
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, nil)), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, nil)), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, rev(rev2(Y''', nil)))), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(nil))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, cons(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, cons(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(cons(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))))
REV(cons(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV(cons(X''', cons(Y''0, cons(Y'''', L'''')))) -> REV2(X''', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV2(X, cons(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0'', cons(Y''0, cons(Y'''', L'''')))) -> REV2(Y0'', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y', cons(Y0'', cons(Y'''', L'''')))) -> REV2(Y', cons(Y0'', cons(Y'''', L'''')))
REV(cons(X'', cons(Y0'', cons(Y'''', L'''')))) -> REV2(X'', cons(Y0'', cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, rev(nil))), rev2(rev1(Y0, rev(nil)), rev2(Y0, rev(rev2(Y''', nil)))))))
rev1(0, nil) -> 0
rev1(s(X), nil) -> s(X)
rev1(X, cons(Y, L)) -> rev1(Y, L)
rev(nil) -> nil
rev(cons(X, L)) -> cons(rev1(X, L), rev2(X, L))
rev2(X, nil) -> nil
rev2(X, cons(Y, L)) -> rev(cons(X, rev(rev2(Y, L))))
innermost
one new Dependency Pair is created:
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, rev(rev2(Y''', nil)))), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(nil))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, rev(nil))), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(nil))))))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Nar
→DP Problem 6
↳Rw
...
→DP Problem 56
↳Rewriting Transformation
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, rev(nil))), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(nil))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, rev(nil))), rev2(rev1(Y0, rev(nil)), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, nil)), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, cons(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, cons(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(cons(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))))
REV(cons(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV(cons(X''', cons(Y''0, cons(Y'''', L'''')))) -> REV2(X''', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV2(X, cons(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0'', cons(Y''0, cons(Y'''', L'''')))) -> REV2(Y0'', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y', cons(Y0'', cons(Y'''', L'''')))) -> REV2(Y', cons(Y0'', cons(Y'''', L'''')))
REV(cons(X'', cons(Y0'', cons(Y'''', L'''')))) -> REV2(X'', cons(Y0'', cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, nil)), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))))))
rev1(0, nil) -> 0
rev1(s(X), nil) -> s(X)
rev1(X, cons(Y, L)) -> rev1(Y, L)
rev(nil) -> nil
rev(cons(X, L)) -> cons(rev1(X, L), rev2(X, L))
rev2(X, nil) -> nil
rev2(X, cons(Y, L)) -> rev(cons(X, rev(rev2(Y, L))))
innermost
one new Dependency Pair is created:
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, rev(cons(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, cons(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Nar
→DP Problem 6
↳Rw
...
→DP Problem 57
↳Rewriting Transformation
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, rev(nil))), rev2(rev1(Y0, rev(nil)), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, nil)), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, nil)), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, cons(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, cons(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, cons(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV(cons(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV(cons(X''', cons(Y''0, cons(Y'''', L'''')))) -> REV2(X''', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV2(X, cons(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0'', cons(Y''0, cons(Y'''', L'''')))) -> REV2(Y0'', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y', cons(Y0'', cons(Y'''', L'''')))) -> REV2(Y', cons(Y0'', cons(Y'''', L'''')))
REV(cons(X'', cons(Y0'', cons(Y'''', L'''')))) -> REV2(X'', cons(Y0'', cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, rev(nil))), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(nil))))))
rev1(0, nil) -> 0
rev1(s(X), nil) -> s(X)
rev1(X, cons(Y, L)) -> rev1(Y, L)
rev(nil) -> nil
rev(cons(X, L)) -> cons(rev1(X, L), rev2(X, L))
rev2(X, nil) -> nil
rev2(X, cons(Y, L)) -> rev(cons(X, rev(rev2(Y, L))))
innermost
one new Dependency Pair is created:
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, nil)), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))))))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Nar
→DP Problem 6
↳Rw
...
→DP Problem 58
↳Rewriting Transformation
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, rev(nil))), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(nil))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, nil)), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, cons(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, cons(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, cons(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV(cons(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV(cons(X''', cons(Y''0, cons(Y'''', L'''')))) -> REV2(X''', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV2(X, cons(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0'', cons(Y''0, cons(Y'''', L'''')))) -> REV2(Y0'', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y', cons(Y0'', cons(Y'''', L'''')))) -> REV2(Y', cons(Y0'', cons(Y'''', L'''')))
REV(cons(X'', cons(Y0'', cons(Y'''', L'''')))) -> REV2(X'', cons(Y0'', cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, rev(nil))), rev2(rev1(Y0, rev(nil)), rev2(Y0, rev(rev2(Y''', nil)))))))
rev1(0, nil) -> 0
rev1(s(X), nil) -> s(X)
rev1(X, cons(Y, L)) -> rev1(Y, L)
rev(nil) -> nil
rev(cons(X, L)) -> cons(rev1(X, L), rev2(X, L))
rev2(X, nil) -> nil
rev2(X, cons(Y, L)) -> rev(cons(X, rev(rev2(Y, L))))
innermost
one new Dependency Pair is created:
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, nil)), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))))))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Nar
→DP Problem 6
↳Rw
...
→DP Problem 59
↳Rewriting Transformation
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, rev(nil))), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(nil))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, rev(nil))), rev2(rev1(Y0, rev(nil)), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, cons(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, cons(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, cons(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV(cons(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV(cons(X''', cons(Y''0, cons(Y'''', L'''')))) -> REV2(X''', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV2(X, cons(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0'', cons(Y''0, cons(Y'''', L'''')))) -> REV2(Y0'', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y', cons(Y0'', cons(Y'''', L'''')))) -> REV2(Y', cons(Y0'', cons(Y'''', L'''')))
REV(cons(X'', cons(Y0'', cons(Y'''', L'''')))) -> REV2(X'', cons(Y0'', cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))))))
rev1(0, nil) -> 0
rev1(s(X), nil) -> s(X)
rev1(X, cons(Y, L)) -> rev1(Y, L)
rev(nil) -> nil
rev(cons(X, L)) -> cons(rev1(X, L), rev2(X, L))
rev2(X, nil) -> nil
rev2(X, cons(Y, L)) -> rev(cons(X, rev(rev2(Y, L))))
innermost
one new Dependency Pair is created:
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, cons(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Nar
→DP Problem 6
↳Rw
...
→DP Problem 60
↳Rewriting Transformation
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, rev(nil))), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(nil))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, rev(nil))), rev2(rev1(Y0, rev(nil)), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, cons(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, cons(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV(cons(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV(cons(X''', cons(Y''0, cons(Y'''', L'''')))) -> REV2(X''', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV2(X, cons(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0'', cons(Y''0, cons(Y'''', L'''')))) -> REV2(Y0'', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y', cons(Y0'', cons(Y'''', L'''')))) -> REV2(Y', cons(Y0'', cons(Y'''', L'''')))
REV(cons(X'', cons(Y0'', cons(Y'''', L'''')))) -> REV2(X'', cons(Y0'', cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))))))
rev1(0, nil) -> 0
rev1(s(X), nil) -> s(X)
rev1(X, cons(Y, L)) -> rev1(Y, L)
rev(nil) -> nil
rev(cons(X, L)) -> cons(rev1(X, L), rev2(X, L))
rev2(X, nil) -> nil
rev2(X, cons(Y, L)) -> rev(cons(X, rev(rev2(Y, L))))
innermost
one new Dependency Pair is created:
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, rev(nil))), rev2(rev1(Y0, rev(nil)), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, nil)), rev2(rev1(Y0, rev(nil)), rev2(Y0, rev(rev2(Y''', nil)))))))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Nar
→DP Problem 6
↳Rw
...
→DP Problem 61
↳Rewriting Transformation
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, nil)), rev2(rev1(Y0, rev(nil)), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, rev(nil))), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(nil))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, cons(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, cons(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV(cons(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV(cons(X''', cons(Y''0, cons(Y'''', L'''')))) -> REV2(X''', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV2(X, cons(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0'', cons(Y''0, cons(Y'''', L'''')))) -> REV2(Y0'', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y', cons(Y0'', cons(Y'''', L'''')))) -> REV2(Y', cons(Y0'', cons(Y'''', L'''')))
REV(cons(X'', cons(Y0'', cons(Y'''', L'''')))) -> REV2(X'', cons(Y0'', cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))))))
rev1(0, nil) -> 0
rev1(s(X), nil) -> s(X)
rev1(X, cons(Y, L)) -> rev1(Y, L)
rev(nil) -> nil
rev(cons(X, L)) -> cons(rev1(X, L), rev2(X, L))
rev2(X, nil) -> nil
rev2(X, cons(Y, L)) -> rev(cons(X, rev(rev2(Y, L))))
innermost
one new Dependency Pair is created:
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, cons(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Nar
→DP Problem 6
↳Rw
...
→DP Problem 62
↳Rewriting Transformation
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, rev(nil))), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(nil))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, cons(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV(cons(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV(cons(X''', cons(Y''0, cons(Y'''', L'''')))) -> REV2(X''', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV2(X, cons(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0'', cons(Y''0, cons(Y'''', L'''')))) -> REV2(Y0'', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y', cons(Y0'', cons(Y'''', L'''')))) -> REV2(Y', cons(Y0'', cons(Y'''', L'''')))
REV(cons(X'', cons(Y0'', cons(Y'''', L'''')))) -> REV2(X'', cons(Y0'', cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, nil)), rev2(rev1(Y0, rev(nil)), rev2(Y0, rev(rev2(Y''', nil)))))))
rev1(0, nil) -> 0
rev1(s(X), nil) -> s(X)
rev1(X, cons(Y, L)) -> rev1(Y, L)
rev(nil) -> nil
rev(cons(X, L)) -> cons(rev1(X, L), rev2(X, L))
rev2(X, nil) -> nil
rev2(X, cons(Y, L)) -> rev(cons(X, rev(rev2(Y, L))))
innermost
one new Dependency Pair is created:
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, rev(nil))), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(nil))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, nil)), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(nil))))))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Nar
→DP Problem 6
↳Rw
...
→DP Problem 63
↳Rewriting Transformation
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, nil)), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(nil))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, nil)), rev2(rev1(Y0, rev(nil)), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, cons(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV(cons(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV(cons(X''', cons(Y''0, cons(Y'''', L'''')))) -> REV2(X''', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV2(X, cons(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0'', cons(Y''0, cons(Y'''', L'''')))) -> REV2(Y0'', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y', cons(Y0'', cons(Y'''', L'''')))) -> REV2(Y', cons(Y0'', cons(Y'''', L'''')))
REV(cons(X'', cons(Y0'', cons(Y'''', L'''')))) -> REV2(X'', cons(Y0'', cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))))))
rev1(0, nil) -> 0
rev1(s(X), nil) -> s(X)
rev1(X, cons(Y, L)) -> rev1(Y, L)
rev(nil) -> nil
rev(cons(X, L)) -> cons(rev1(X, L), rev2(X, L))
rev2(X, nil) -> nil
rev2(X, cons(Y, L)) -> rev(cons(X, rev(rev2(Y, L))))
innermost
one new Dependency Pair is created:
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(Y0, cons(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Nar
→DP Problem 6
↳Rw
...
→DP Problem 64
↳Rewriting Transformation
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, nil)), rev2(rev1(Y0, rev(nil)), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV(cons(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV(cons(X''', cons(Y''0, cons(Y'''', L'''')))) -> REV2(X''', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV2(X, cons(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0'', cons(Y''0, cons(Y'''', L'''')))) -> REV2(Y0'', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y', cons(Y0'', cons(Y'''', L'''')))) -> REV2(Y', cons(Y0'', cons(Y'''', L'''')))
REV(cons(X'', cons(Y0'', cons(Y'''', L'''')))) -> REV2(X'', cons(Y0'', cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, nil)), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(nil))))))
rev1(0, nil) -> 0
rev1(s(X), nil) -> s(X)
rev1(X, cons(Y, L)) -> rev1(Y, L)
rev(nil) -> nil
rev(cons(X, L)) -> cons(rev1(X, L), rev2(X, L))
rev2(X, nil) -> nil
rev2(X, cons(Y, L)) -> rev(cons(X, rev(rev2(Y, L))))
innermost
one new Dependency Pair is created:
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, rev(nil)), rev2(Y0, rev(rev2(Y''', nil)))))))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Nar
→DP Problem 6
↳Rw
...
→DP Problem 65
↳Rewriting Transformation
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, rev(nil)), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, nil)), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(nil))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV(cons(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV(cons(X''', cons(Y''0, cons(Y'''', L'''')))) -> REV2(X''', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV2(X, cons(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0'', cons(Y''0, cons(Y'''', L'''')))) -> REV2(Y0'', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y', cons(Y0'', cons(Y'''', L'''')))) -> REV2(Y', cons(Y0'', cons(Y'''', L'''')))
REV(cons(X'', cons(Y0'', cons(Y'''', L'''')))) -> REV2(X'', cons(Y0'', cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, nil)), rev2(rev1(Y0, rev(nil)), rev2(Y0, rev(rev2(Y''', nil)))))))
rev1(0, nil) -> 0
rev1(s(X), nil) -> s(X)
rev1(X, cons(Y, L)) -> rev1(Y, L)
rev(nil) -> nil
rev(cons(X, L)) -> cons(rev1(X, L), rev2(X, L))
rev2(X, nil) -> nil
rev2(X, cons(Y, L)) -> rev(cons(X, rev(rev2(Y, L))))
innermost
one new Dependency Pair is created:
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, rev(nil)), rev2(Y0, rev(rev2(Y''', nil)))))))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Nar
→DP Problem 6
↳Rw
...
→DP Problem 66
↳Rewriting Transformation
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, rev(nil)), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, nil)), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(nil))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, nil)), rev2(rev1(Y0, rev(nil)), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV(cons(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV(cons(X''', cons(Y''0, cons(Y'''', L'''')))) -> REV2(X''', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV2(X, cons(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0'', cons(Y''0, cons(Y'''', L'''')))) -> REV2(Y0'', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y', cons(Y0'', cons(Y'''', L'''')))) -> REV2(Y', cons(Y0'', cons(Y'''', L'''')))
REV(cons(X'', cons(Y0'', cons(Y'''', L'''')))) -> REV2(X'', cons(Y0'', cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, rev(nil)), rev2(Y0, rev(rev2(Y''', nil)))))))
rev1(0, nil) -> 0
rev1(s(X), nil) -> s(X)
rev1(X, cons(Y, L)) -> rev1(Y, L)
rev(nil) -> nil
rev(cons(X, L)) -> cons(rev1(X, L), rev2(X, L))
rev2(X, nil) -> nil
rev2(X, cons(Y, L)) -> rev(cons(X, rev(rev2(Y, L))))
innermost
one new Dependency Pair is created:
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, nil)), rev2(rev1(Y0, rev(nil)), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, rev(nil)), rev2(Y0, rev(rev2(Y''', nil)))))))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Nar
→DP Problem 6
↳Rw
...
→DP Problem 67
↳Rewriting Transformation
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, rev(nil)), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, rev(nil)), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, nil)), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(nil))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV(cons(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV(cons(X''', cons(Y''0, cons(Y'''', L'''')))) -> REV2(X''', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV2(X, cons(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0'', cons(Y''0, cons(Y'''', L'''')))) -> REV2(Y0'', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y', cons(Y0'', cons(Y'''', L'''')))) -> REV2(Y', cons(Y0'', cons(Y'''', L'''')))
REV(cons(X'', cons(Y0'', cons(Y'''', L'''')))) -> REV2(X'', cons(Y0'', cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, rev(nil)), rev2(Y0, rev(rev2(Y''', nil)))))))
rev1(0, nil) -> 0
rev1(s(X), nil) -> s(X)
rev1(X, cons(Y, L)) -> rev1(Y, L)
rev(nil) -> nil
rev(cons(X, L)) -> cons(rev1(X, L), rev2(X, L))
rev2(X, nil) -> nil
rev2(X, cons(Y, L)) -> rev(cons(X, rev(rev2(Y, L))))
innermost
one new Dependency Pair is created:
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), rev2(Y0, nil)), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(nil))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(nil))))))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Nar
→DP Problem 6
↳Rw
...
→DP Problem 68
↳Rewriting Transformation
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(nil))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, rev(nil)), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, rev(nil)), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV(cons(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV(cons(X''', cons(Y''0, cons(Y'''', L'''')))) -> REV2(X''', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV2(X, cons(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0'', cons(Y''0, cons(Y'''', L'''')))) -> REV2(Y0'', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y', cons(Y0'', cons(Y'''', L'''')))) -> REV2(Y', cons(Y0'', cons(Y'''', L'''')))
REV(cons(X'', cons(Y0'', cons(Y'''', L'''')))) -> REV2(X'', cons(Y0'', cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, rev(nil)), rev2(Y0, rev(rev2(Y''', nil)))))))
rev1(0, nil) -> 0
rev1(s(X), nil) -> s(X)
rev1(X, cons(Y, L)) -> rev1(Y, L)
rev(nil) -> nil
rev(cons(X, L)) -> cons(rev1(X, L), rev2(X, L))
rev2(X, nil) -> nil
rev2(X, cons(Y, L)) -> rev(cons(X, rev(rev2(Y, L))))
innermost
one new Dependency Pair is created:
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, rev(nil)), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, nil), rev2(Y0, rev(rev2(Y''', nil)))))))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Nar
→DP Problem 6
↳Rw
...
→DP Problem 69
↳Rewriting Transformation
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, nil), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, rev(nil)), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, rev(nil)), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV(cons(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV(cons(X''', cons(Y''0, cons(Y'''', L'''')))) -> REV2(X''', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV2(X, cons(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0'', cons(Y''0, cons(Y'''', L'''')))) -> REV2(Y0'', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y', cons(Y0'', cons(Y'''', L'''')))) -> REV2(Y', cons(Y0'', cons(Y'''', L'''')))
REV(cons(X'', cons(Y0'', cons(Y'''', L'''')))) -> REV2(X'', cons(Y0'', cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(nil))))))
rev1(0, nil) -> 0
rev1(s(X), nil) -> s(X)
rev1(X, cons(Y, L)) -> rev1(Y, L)
rev(nil) -> nil
rev(cons(X, L)) -> cons(rev1(X, L), rev2(X, L))
rev2(X, nil) -> nil
rev2(X, cons(Y, L)) -> rev(cons(X, rev(rev2(Y, L))))
innermost
one new Dependency Pair is created:
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, rev(nil)), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, nil), rev2(Y0, rev(rev2(Y''', nil)))))))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Nar
→DP Problem 6
↳Rw
...
→DP Problem 70
↳Rewriting Transformation
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, nil), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(nil))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, rev(nil)), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV(cons(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV(cons(X''', cons(Y''0, cons(Y'''', L'''')))) -> REV2(X''', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV2(X, cons(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0'', cons(Y''0, cons(Y'''', L'''')))) -> REV2(Y0'', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y', cons(Y0'', cons(Y'''', L'''')))) -> REV2(Y', cons(Y0'', cons(Y'''', L'''')))
REV(cons(X'', cons(Y0'', cons(Y'''', L'''')))) -> REV2(X'', cons(Y0'', cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, nil), rev2(Y0, rev(rev2(Y''', nil)))))))
rev1(0, nil) -> 0
rev1(s(X), nil) -> s(X)
rev1(X, cons(Y, L)) -> rev1(Y, L)
rev(nil) -> nil
rev(cons(X, L)) -> cons(rev1(X, L), rev2(X, L))
rev2(X, nil) -> nil
rev2(X, cons(Y, L)) -> rev(cons(X, rev(rev2(Y, L))))
innermost
one new Dependency Pair is created:
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, rev(nil)), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, nil), rev2(Y0, rev(rev2(Y''', nil)))))))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Nar
→DP Problem 6
↳Rw
...
→DP Problem 71
↳Rewriting Transformation
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, nil), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, nil), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(nil))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV(cons(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV(cons(X''', cons(Y''0, cons(Y'''', L'''')))) -> REV2(X''', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV2(X, cons(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0'', cons(Y''0, cons(Y'''', L'''')))) -> REV2(Y0'', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y', cons(Y0'', cons(Y'''', L'''')))) -> REV2(Y', cons(Y0'', cons(Y'''', L'''')))
REV(cons(X'', cons(Y0'', cons(Y'''', L'''')))) -> REV2(X'', cons(Y0'', cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, nil), rev2(Y0, rev(rev2(Y''', nil)))))))
rev1(0, nil) -> 0
rev1(s(X), nil) -> s(X)
rev1(X, cons(Y, L)) -> rev1(Y, L)
rev(nil) -> nil
rev(cons(X, L)) -> cons(rev1(X, L), rev2(X, L))
rev2(X, nil) -> nil
rev2(X, cons(Y, L)) -> rev(cons(X, rev(rev2(Y, L))))
innermost
one new Dependency Pair is created:
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, rev(rev2(Y''', nil))), rev2(Y0, rev(nil))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, rev(nil)), rev2(Y0, rev(nil))))))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Nar
→DP Problem 6
↳Rw
...
→DP Problem 72
↳Rewriting Transformation
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, rev(nil)), rev2(Y0, rev(nil))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, nil), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, nil), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV(cons(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV(cons(X''', cons(Y''0, cons(Y'''', L'''')))) -> REV2(X''', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV2(X, cons(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0'', cons(Y''0, cons(Y'''', L'''')))) -> REV2(Y0'', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y', cons(Y0'', cons(Y'''', L'''')))) -> REV2(Y', cons(Y0'', cons(Y'''', L'''')))
REV(cons(X'', cons(Y0'', cons(Y'''', L'''')))) -> REV2(X'', cons(Y0'', cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, nil), rev2(Y0, rev(rev2(Y''', nil)))))))
rev1(0, nil) -> 0
rev1(s(X), nil) -> s(X)
rev1(X, cons(Y, L)) -> rev1(Y, L)
rev(nil) -> nil
rev(cons(X, L)) -> cons(rev1(X, L), rev2(X, L))
rev2(X, nil) -> nil
rev2(X, cons(Y, L)) -> rev(cons(X, rev(rev2(Y, L))))
innermost
one new Dependency Pair is created:
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, nil), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, nil), rev2(Y0, rev(nil))))))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Nar
→DP Problem 6
↳Rw
...
→DP Problem 73
↳Rewriting Transformation
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, nil), rev2(Y0, rev(nil))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, nil), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, nil), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV(cons(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV(cons(X''', cons(Y''0, cons(Y'''', L'''')))) -> REV2(X''', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV2(X, cons(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0'', cons(Y''0, cons(Y'''', L'''')))) -> REV2(Y0'', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y', cons(Y0'', cons(Y'''', L'''')))) -> REV2(Y', cons(Y0'', cons(Y'''', L'''')))
REV(cons(X'', cons(Y0'', cons(Y'''', L'''')))) -> REV2(X'', cons(Y0'', cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, rev(nil)), rev2(Y0, rev(nil))))))
rev1(0, nil) -> 0
rev1(s(X), nil) -> s(X)
rev1(X, cons(Y, L)) -> rev1(Y, L)
rev(nil) -> nil
rev(cons(X, L)) -> cons(rev1(X, L), rev2(X, L))
rev2(X, nil) -> nil
rev2(X, cons(Y, L)) -> rev(cons(X, rev(rev2(Y, L))))
innermost
one new Dependency Pair is created:
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, nil), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, nil), rev2(Y0, rev(nil))))))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Nar
→DP Problem 6
↳Rw
...
→DP Problem 74
↳Rewriting Transformation
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, nil), rev2(Y0, rev(nil))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, rev(nil)), rev2(Y0, rev(nil))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, nil), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV(cons(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV(cons(X''', cons(Y''0, cons(Y'''', L'''')))) -> REV2(X''', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV2(X, cons(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0'', cons(Y''0, cons(Y'''', L'''')))) -> REV2(Y0'', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y', cons(Y0'', cons(Y'''', L'''')))) -> REV2(Y', cons(Y0'', cons(Y'''', L'''')))
REV(cons(X'', cons(Y0'', cons(Y'''', L'''')))) -> REV2(X'', cons(Y0'', cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, nil), rev2(Y0, rev(nil))))))
rev1(0, nil) -> 0
rev1(s(X), nil) -> s(X)
rev1(X, cons(Y, L)) -> rev1(Y, L)
rev(nil) -> nil
rev(cons(X, L)) -> cons(rev1(X, L), rev2(X, L))
rev2(X, nil) -> nil
rev2(X, cons(Y, L)) -> rev(cons(X, rev(rev2(Y, L))))
innermost
one new Dependency Pair is created:
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, nil), rev2(Y0, rev(rev2(Y''', nil)))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, nil), rev2(Y0, rev(nil))))))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Nar
→DP Problem 6
↳Rw
...
→DP Problem 75
↳Rewriting Transformation
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, nil), rev2(Y0, rev(nil))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, nil), rev2(Y0, rev(nil))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, rev(nil)), rev2(Y0, rev(nil))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV(cons(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV(cons(X''', cons(Y''0, cons(Y'''', L'''')))) -> REV2(X''', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV2(X, cons(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0'', cons(Y''0, cons(Y'''', L'''')))) -> REV2(Y0'', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y', cons(Y0'', cons(Y'''', L'''')))) -> REV2(Y', cons(Y0'', cons(Y'''', L'''')))
REV(cons(X'', cons(Y0'', cons(Y'''', L'''')))) -> REV2(X'', cons(Y0'', cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, nil), rev2(Y0, rev(nil))))))
rev1(0, nil) -> 0
rev1(s(X), nil) -> s(X)
rev1(X, cons(Y, L)) -> rev1(Y, L)
rev(nil) -> nil
rev(cons(X, L)) -> cons(rev1(X, L), rev2(X, L))
rev2(X, nil) -> nil
rev2(X, cons(Y, L)) -> rev(cons(X, rev(rev2(Y, L))))
innermost
one new Dependency Pair is created:
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, rev(nil)), rev2(Y0, rev(nil))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, nil), rev2(Y0, rev(nil))))))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Nar
→DP Problem 6
↳Rw
...
→DP Problem 76
↳Rewriting Transformation
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, nil), rev2(Y0, rev(nil))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, nil), rev2(Y0, rev(nil))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, nil), rev2(Y0, rev(nil))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV(cons(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV(cons(X''', cons(Y''0, cons(Y'''', L'''')))) -> REV2(X''', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV2(X, cons(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0'', cons(Y''0, cons(Y'''', L'''')))) -> REV2(Y0'', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y', cons(Y0'', cons(Y'''', L'''')))) -> REV2(Y', cons(Y0'', cons(Y'''', L'''')))
REV(cons(X'', cons(Y0'', cons(Y'''', L'''')))) -> REV2(X'', cons(Y0'', cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, nil), rev2(Y0, rev(nil))))))
rev1(0, nil) -> 0
rev1(s(X), nil) -> s(X)
rev1(X, cons(Y, L)) -> rev1(Y, L)
rev(nil) -> nil
rev(cons(X, L)) -> cons(rev1(X, L), rev2(X, L))
rev2(X, nil) -> nil
rev2(X, cons(Y, L)) -> rev(cons(X, rev(rev2(Y, L))))
innermost
one new Dependency Pair is created:
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, nil), rev2(Y0, rev(nil))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, nil), rev2(Y0, nil)))))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Nar
→DP Problem 6
↳Rw
...
→DP Problem 77
↳Rewriting Transformation
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, nil), rev2(Y0, nil)))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, nil), rev2(Y0, rev(nil))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, nil), rev2(Y0, rev(nil))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV(cons(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV(cons(X''', cons(Y''0, cons(Y'''', L'''')))) -> REV2(X''', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV2(X, cons(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0'', cons(Y''0, cons(Y'''', L'''')))) -> REV2(Y0'', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y', cons(Y0'', cons(Y'''', L'''')))) -> REV2(Y', cons(Y0'', cons(Y'''', L'''')))
REV(cons(X'', cons(Y0'', cons(Y'''', L'''')))) -> REV2(X'', cons(Y0'', cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, nil), rev2(Y0, rev(nil))))))
rev1(0, nil) -> 0
rev1(s(X), nil) -> s(X)
rev1(X, cons(Y, L)) -> rev1(Y, L)
rev(nil) -> nil
rev(cons(X, L)) -> cons(rev1(X, L), rev2(X, L))
rev2(X, nil) -> nil
rev2(X, cons(Y, L)) -> rev(cons(X, rev(rev2(Y, L))))
innermost
one new Dependency Pair is created:
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, nil), rev2(Y0, rev(nil))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, nil), rev2(Y0, nil)))))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Nar
→DP Problem 6
↳Rw
...
→DP Problem 78
↳Rewriting Transformation
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, nil), rev2(Y0, nil)))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, nil), rev2(Y0, rev(nil))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, nil), rev2(Y0, rev(nil))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV(cons(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV(cons(X''', cons(Y''0, cons(Y'''', L'''')))) -> REV2(X''', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV2(X, cons(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0'', cons(Y''0, cons(Y'''', L'''')))) -> REV2(Y0'', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y', cons(Y0'', cons(Y'''', L'''')))) -> REV2(Y', cons(Y0'', cons(Y'''', L'''')))
REV(cons(X'', cons(Y0'', cons(Y'''', L'''')))) -> REV2(X'', cons(Y0'', cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, nil), rev2(Y0, nil)))))
rev1(0, nil) -> 0
rev1(s(X), nil) -> s(X)
rev1(X, cons(Y, L)) -> rev1(Y, L)
rev(nil) -> nil
rev(cons(X, L)) -> cons(rev1(X, L), rev2(X, L))
rev2(X, nil) -> nil
rev2(X, cons(Y, L)) -> rev(cons(X, rev(rev2(Y, L))))
innermost
one new Dependency Pair is created:
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, nil), rev2(Y0, rev(nil))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, nil), rev2(Y0, nil)))))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Nar
→DP Problem 6
↳Rw
...
→DP Problem 79
↳Rewriting Transformation
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, nil), rev2(Y0, nil)))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, nil), rev2(Y0, nil)))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, nil), rev2(Y0, rev(nil))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV(cons(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV(cons(X''', cons(Y''0, cons(Y'''', L'''')))) -> REV2(X''', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV2(X, cons(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0'', cons(Y''0, cons(Y'''', L'''')))) -> REV2(Y0'', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y', cons(Y0'', cons(Y'''', L'''')))) -> REV2(Y', cons(Y0'', cons(Y'''', L'''')))
REV(cons(X'', cons(Y0'', cons(Y'''', L'''')))) -> REV2(X'', cons(Y0'', cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, nil), rev2(Y0, nil)))))
rev1(0, nil) -> 0
rev1(s(X), nil) -> s(X)
rev1(X, cons(Y, L)) -> rev1(Y, L)
rev(nil) -> nil
rev(cons(X, L)) -> cons(rev1(X, L), rev2(X, L))
rev2(X, nil) -> nil
rev2(X, cons(Y, L)) -> rev(cons(X, rev(rev2(Y, L))))
innermost
one new Dependency Pair is created:
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, nil), rev2(Y0, rev(nil))))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, nil), rev2(Y0, nil)))))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Nar
→DP Problem 6
↳Rw
...
→DP Problem 80
↳Rewriting Transformation
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, nil), rev2(Y0, nil)))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, nil), rev2(Y0, nil)))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, nil), rev2(Y0, nil)))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV(cons(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV(cons(X''', cons(Y''0, cons(Y'''', L'''')))) -> REV2(X''', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV2(X, cons(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0'', cons(Y''0, cons(Y'''', L'''')))) -> REV2(Y0'', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y', cons(Y0'', cons(Y'''', L'''')))) -> REV2(Y', cons(Y0'', cons(Y'''', L'''')))
REV(cons(X'', cons(Y0'', cons(Y'''', L'''')))) -> REV2(X'', cons(Y0'', cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, nil), rev2(Y0, nil)))))
rev1(0, nil) -> 0
rev1(s(X), nil) -> s(X)
rev1(X, cons(Y, L)) -> rev1(Y, L)
rev(nil) -> nil
rev(cons(X, L)) -> cons(rev1(X, L), rev2(X, L))
rev2(X, nil) -> nil
rev2(X, cons(Y, L)) -> rev(cons(X, rev(rev2(Y, L))))
innermost
one new Dependency Pair is created:
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, nil), rev2(Y0, nil)))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, nil), nil))))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Nar
→DP Problem 6
↳Rw
...
→DP Problem 81
↳Rewriting Transformation
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, nil), nil))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, nil), rev2(Y0, nil)))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, nil), rev2(Y0, nil)))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV(cons(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV(cons(X''', cons(Y''0, cons(Y'''', L'''')))) -> REV2(X''', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV2(X, cons(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0'', cons(Y''0, cons(Y'''', L'''')))) -> REV2(Y0'', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y', cons(Y0'', cons(Y'''', L'''')))) -> REV2(Y', cons(Y0'', cons(Y'''', L'''')))
REV(cons(X'', cons(Y0'', cons(Y'''', L'''')))) -> REV2(X'', cons(Y0'', cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, nil), rev2(Y0, nil)))))
rev1(0, nil) -> 0
rev1(s(X), nil) -> s(X)
rev1(X, cons(Y, L)) -> rev1(Y, L)
rev(nil) -> nil
rev(cons(X, L)) -> cons(rev1(X, L), rev2(X, L))
rev2(X, nil) -> nil
rev2(X, cons(Y, L)) -> rev(cons(X, rev(rev2(Y, L))))
innermost
one new Dependency Pair is created:
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, nil), rev2(Y0, nil)))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, nil), nil))))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Nar
→DP Problem 6
↳Rw
...
→DP Problem 82
↳Rewriting Transformation
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, nil), nil))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, nil), rev2(Y0, nil)))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, nil), rev2(Y0, nil)))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV(cons(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV(cons(X''', cons(Y''0, cons(Y'''', L'''')))) -> REV2(X''', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV2(X, cons(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0'', cons(Y''0, cons(Y'''', L'''')))) -> REV2(Y0'', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y', cons(Y0'', cons(Y'''', L'''')))) -> REV2(Y', cons(Y0'', cons(Y'''', L'''')))
REV(cons(X'', cons(Y0'', cons(Y'''', L'''')))) -> REV2(X'', cons(Y0'', cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, nil), nil))))
rev1(0, nil) -> 0
rev1(s(X), nil) -> s(X)
rev1(X, cons(Y, L)) -> rev1(Y, L)
rev(nil) -> nil
rev(cons(X, L)) -> cons(rev1(X, L), rev2(X, L))
rev2(X, nil) -> nil
rev2(X, cons(Y, L)) -> rev(cons(X, rev(rev2(Y, L))))
innermost
one new Dependency Pair is created:
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, nil), rev2(Y0, nil)))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, nil), nil))))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Nar
→DP Problem 6
↳Rw
...
→DP Problem 83
↳Rewriting Transformation
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, nil), nil))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, nil), nil))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, nil), rev2(Y0, nil)))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV(cons(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV(cons(X''', cons(Y''0, cons(Y'''', L'''')))) -> REV2(X''', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV2(X, cons(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0'', cons(Y''0, cons(Y'''', L'''')))) -> REV2(Y0'', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y', cons(Y0'', cons(Y'''', L'''')))) -> REV2(Y', cons(Y0'', cons(Y'''', L'''')))
REV(cons(X'', cons(Y0'', cons(Y'''', L'''')))) -> REV2(X'', cons(Y0'', cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, nil), nil))))
rev1(0, nil) -> 0
rev1(s(X), nil) -> s(X)
rev1(X, cons(Y, L)) -> rev1(Y, L)
rev(nil) -> nil
rev(cons(X, L)) -> cons(rev1(X, L), rev2(X, L))
rev2(X, nil) -> nil
rev2(X, cons(Y, L)) -> rev(cons(X, rev(rev2(Y, L))))
innermost
one new Dependency Pair is created:
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, nil), rev2(Y0, nil)))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, nil), nil))))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Nar
→DP Problem 6
↳Rw
...
→DP Problem 84
↳Rewriting Transformation
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, nil), nil))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, nil), nil))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, nil), nil))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV(cons(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV(cons(X''', cons(Y''0, cons(Y'''', L'''')))) -> REV2(X''', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV2(X, cons(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0'', cons(Y''0, cons(Y'''', L'''')))) -> REV2(Y0'', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y', cons(Y0'', cons(Y'''', L'''')))) -> REV2(Y', cons(Y0'', cons(Y'''', L'''')))
REV(cons(X'', cons(Y0'', cons(Y'''', L'''')))) -> REV2(X'', cons(Y0'', cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, nil), nil))))
rev1(0, nil) -> 0
rev1(s(X), nil) -> s(X)
rev1(X, cons(Y, L)) -> rev1(Y, L)
rev(nil) -> nil
rev(cons(X, L)) -> cons(rev1(X, L), rev2(X, L))
rev2(X, nil) -> nil
rev2(X, cons(Y, L)) -> rev(cons(X, rev(rev2(Y, L))))
innermost
one new Dependency Pair is created:
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, nil), nil))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), nil)))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Nar
→DP Problem 6
↳Rw
...
→DP Problem 85
↳Rewriting Transformation
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, nil), nil))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, nil), nil))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV(cons(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV(cons(X''', cons(Y''0, cons(Y'''', L'''')))) -> REV2(X''', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV2(X, cons(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0'', cons(Y''0, cons(Y'''', L'''')))) -> REV2(Y0'', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y', cons(Y0'', cons(Y'''', L'''')))) -> REV2(Y', cons(Y0'', cons(Y'''', L'''')))
REV(cons(X'', cons(Y0'', cons(Y'''', L'''')))) -> REV2(X'', cons(Y0'', cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, nil), nil))))
rev1(0, nil) -> 0
rev1(s(X), nil) -> s(X)
rev1(X, cons(Y, L)) -> rev1(Y, L)
rev(nil) -> nil
rev(cons(X, L)) -> cons(rev1(X, L), rev2(X, L))
rev2(X, nil) -> nil
rev2(X, cons(Y, L)) -> rev(cons(X, rev(rev2(Y, L))))
innermost
one new Dependency Pair is created:
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, nil), nil))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), nil)))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Nar
→DP Problem 6
↳Rw
...
→DP Problem 86
↳Rewriting Transformation
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, nil), nil))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV(cons(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV(cons(X''', cons(Y''0, cons(Y'''', L'''')))) -> REV2(X''', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV2(X, cons(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0'', cons(Y''0, cons(Y'''', L'''')))) -> REV2(Y0'', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y', cons(Y0'', cons(Y'''', L'''')))) -> REV2(Y', cons(Y0'', cons(Y'''', L'''')))
REV(cons(X'', cons(Y0'', cons(Y'''', L'''')))) -> REV2(X'', cons(Y0'', cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, nil), nil))))
rev1(0, nil) -> 0
rev1(s(X), nil) -> s(X)
rev1(X, cons(Y, L)) -> rev1(Y, L)
rev(nil) -> nil
rev(cons(X, L)) -> cons(rev1(X, L), rev2(X, L))
rev2(X, nil) -> nil
rev2(X, cons(Y, L)) -> rev(cons(X, rev(rev2(Y, L))))
innermost
one new Dependency Pair is created:
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, nil), nil))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), nil)))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Nar
→DP Problem 6
↳Rw
...
→DP Problem 87
↳Rewriting Transformation
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV(cons(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV(cons(X''', cons(Y''0, cons(Y'''', L'''')))) -> REV2(X''', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV2(X, cons(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0'', cons(Y''0, cons(Y'''', L'''')))) -> REV2(Y0'', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y', cons(Y0'', cons(Y'''', L'''')))) -> REV2(Y', cons(Y0'', cons(Y'''', L'''')))
REV(cons(X'', cons(Y0'', cons(Y'''', L'''')))) -> REV2(X'', cons(Y0'', cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, nil), nil))))
rev1(0, nil) -> 0
rev1(s(X), nil) -> s(X)
rev1(X, cons(Y, L)) -> rev1(Y, L)
rev(nil) -> nil
rev(cons(X, L)) -> cons(rev1(X, L), rev2(X, L))
rev2(X, nil) -> nil
rev2(X, cons(Y, L)) -> rev(cons(X, rev(rev2(Y, L))))
innermost
one new Dependency Pair is created:
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), rev2(rev1(Y0, nil), nil))))
REV2(X, cons(Y0, cons(Y''', nil))) -> REV(cons(X, cons(rev1(rev1(Y0, nil), nil), nil)))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Nar
→DP Problem 6
↳Rw
...
→DP Problem 88
↳Forward Instantiation Transformation
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV(cons(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV(cons(X''', cons(Y''0, cons(Y'''', L'''')))) -> REV2(X''', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV2(X, cons(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0'', cons(Y''0, cons(Y'''', L'''')))) -> REV2(Y0'', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y', cons(Y0'', cons(Y'''', L'''')))) -> REV2(Y', cons(Y0'', cons(Y'''', L'''')))
REV(cons(X'', cons(Y0'', cons(Y'''', L'''')))) -> REV2(X'', cons(Y0'', cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))))
rev1(0, nil) -> 0
rev1(s(X), nil) -> s(X)
rev1(X, cons(Y, L)) -> rev1(Y, L)
rev(nil) -> nil
rev(cons(X, L)) -> cons(rev1(X, L), rev2(X, L))
rev2(X, nil) -> nil
rev2(X, cons(Y, L)) -> rev(cons(X, rev(rev2(Y, L))))
innermost
three new Dependency Pairs are created:
REV(cons(X'', cons(Y0'', cons(Y'''', L'''')))) -> REV2(X'', cons(Y0'', cons(Y'''', L'''')))
REV(cons(X''', cons(Y0'''', cons(Y'''''', cons(Y''''''', L''''''))))) -> REV2(X''', cons(Y0'''', cons(Y'''''', cons(Y''''''', L''''''))))
REV(cons(X''', cons(Y0'''', cons(Y'''''', cons(Y0'''''', cons(Y'''''''', L'''''''')))))) -> REV2(X''', cons(Y0'''', cons(Y'''''', cons(Y0'''''', cons(Y'''''''', L'''''''')))))
REV(cons(X''', cons(Y0''', cons(Y'''''', cons(Y''', L'''))))) -> REV2(X''', cons(Y0''', cons(Y'''''', cons(Y''', L'''))))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Nar
→DP Problem 6
↳Rw
...
→DP Problem 89
↳Forward Instantiation Transformation
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))))
REV(cons(X''', cons(Y0''', cons(Y'''''', cons(Y''', L'''))))) -> REV2(X''', cons(Y0''', cons(Y'''''', cons(Y''', L'''))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV(cons(X''', cons(Y0'''', cons(Y'''''', cons(Y0'''''', cons(Y'''''''', L'''''''')))))) -> REV2(X''', cons(Y0'''', cons(Y'''''', cons(Y0'''''', cons(Y'''''''', L'''''''')))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV(cons(X''', cons(Y0'''', cons(Y'''''', cons(Y''''''', L''''''))))) -> REV2(X''', cons(Y0'''', cons(Y'''''', cons(Y''''''', L''''''))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV(cons(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV2(X, cons(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0'', cons(Y''0, cons(Y'''', L'''')))) -> REV2(Y0'', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y', cons(Y0'', cons(Y'''', L'''')))) -> REV2(Y', cons(Y0'', cons(Y'''', L'''')))
REV(cons(X''', cons(Y''0, cons(Y'''', L'''')))) -> REV2(X''', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
rev1(0, nil) -> 0
rev1(s(X), nil) -> s(X)
rev1(X, cons(Y, L)) -> rev1(Y, L)
rev(nil) -> nil
rev(cons(X, L)) -> cons(rev1(X, L), rev2(X, L))
rev2(X, nil) -> nil
rev2(X, cons(Y, L)) -> rev(cons(X, rev(rev2(Y, L))))
innermost
four new Dependency Pairs are created:
REV2(X, cons(Y', cons(Y0'', cons(Y'''', L'''')))) -> REV2(Y', cons(Y0'', cons(Y'''', L'''')))
REV2(X, cons(Y''', cons(Y0'''', cons(Y'''''', cons(Y''''''', L''''''))))) -> REV2(Y''', cons(Y0'''', cons(Y'''''', cons(Y''''''', L''''''))))
REV2(X, cons(Y'', cons(Y0'''', cons(Y'''''', cons(Y''''''', L''''''))))) -> REV2(Y'', cons(Y0'''', cons(Y'''''', cons(Y''''''', L''''''))))
REV2(X, cons(Y'', cons(Y0'''', cons(Y'''''', cons(Y0'''''', cons(Y'''''''', L'''''''')))))) -> REV2(Y'', cons(Y0'''', cons(Y'''''', cons(Y0'''''', cons(Y'''''''', L'''''''')))))
REV2(X, cons(Y'0, cons(Y0''', cons(Y'''''', cons(Y''', L'''))))) -> REV2(Y'0, cons(Y0''', cons(Y'''''', cons(Y''', L'''))))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Nar
→DP Problem 6
↳Rw
...
→DP Problem 90
↳Forward Instantiation Transformation
REV2(X, cons(Y'0, cons(Y0''', cons(Y'''''', cons(Y''', L'''))))) -> REV2(Y'0, cons(Y0''', cons(Y'''''', cons(Y''', L'''))))
REV2(X, cons(Y'', cons(Y0'''', cons(Y'''''', cons(Y0'''''', cons(Y'''''''', L'''''''')))))) -> REV2(Y'', cons(Y0'''', cons(Y'''''', cons(Y0'''''', cons(Y'''''''', L'''''''')))))
REV2(X, cons(Y'', cons(Y0'''', cons(Y'''''', cons(Y''''''', L''''''))))) -> REV2(Y'', cons(Y0'''', cons(Y'''''', cons(Y''''''', L''''''))))
REV2(X, cons(Y''', cons(Y0'''', cons(Y'''''', cons(Y''''''', L''''''))))) -> REV2(Y''', cons(Y0'''', cons(Y'''''', cons(Y''''''', L''''''))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV(cons(X''', cons(Y0''', cons(Y'''''', cons(Y''', L'''))))) -> REV2(X''', cons(Y0''', cons(Y'''''', cons(Y''', L'''))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV(cons(X''', cons(Y0'''', cons(Y'''''', cons(Y0'''''', cons(Y'''''''', L'''''''')))))) -> REV2(X''', cons(Y0'''', cons(Y'''''', cons(Y0'''''', cons(Y'''''''', L'''''''')))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV(cons(X''', cons(Y0'''', cons(Y'''''', cons(Y''''''', L''''''))))) -> REV2(X''', cons(Y0'''', cons(Y'''''', cons(Y''''''', L''''''))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV(cons(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV2(X, cons(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0'', cons(Y''0, cons(Y'''', L'''')))) -> REV2(Y0'', cons(Y''0, cons(Y'''', L'''')))
REV(cons(X''', cons(Y''0, cons(Y'''', L'''')))) -> REV2(X''', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))))
rev1(0, nil) -> 0
rev1(s(X), nil) -> s(X)
rev1(X, cons(Y, L)) -> rev1(Y, L)
rev(nil) -> nil
rev(cons(X, L)) -> cons(rev1(X, L), rev2(X, L))
rev2(X, nil) -> nil
rev2(X, cons(Y, L)) -> rev(cons(X, rev(rev2(Y, L))))
innermost
seven new Dependency Pairs are created:
REV(cons(X''', cons(Y''0, cons(Y'''', L'''')))) -> REV2(X''', cons(Y''0, cons(Y'''', L'''')))
REV(cons(X'''', cons(Y''0'', cons(Y'''''', cons(Y''''''', L''''''))))) -> REV2(X'''', cons(Y''0'', cons(Y'''''', cons(Y''''''', L''''''))))
REV(cons(X'''', cons(Y''0', cons(Y'''''', cons(Y0'''''', cons(Y'''''''', L'''''''')))))) -> REV2(X'''', cons(Y''0', cons(Y'''''', cons(Y0'''''', cons(Y'''''''', L'''''''')))))
REV(cons(X'''', cons(Y''0', cons(Y'''''', cons(Y''', L'''))))) -> REV2(X'''', cons(Y''0', cons(Y'''''', cons(Y''', L'''))))
REV(cons(X'''', cons(Y''0', cons(Y'''''', cons(Y'''''''''', cons(Y''''''''''', L'''''''')))))) -> REV2(X'''', cons(Y''0', cons(Y'''''', cons(Y'''''''''', cons(Y''''''''''', L'''''''')))))
REV(cons(X'''', cons(Y''0', cons(Y''''', cons(Y'''''''''', cons(Y''''''''''', L'''''''')))))) -> REV2(X'''', cons(Y''0', cons(Y''''', cons(Y'''''''''', cons(Y''''''''''', L'''''''')))))
REV(cons(X'''', cons(Y''0', cons(Y''''', cons(Y'''''''', cons(Y0'''''''', cons(Y'''''''''', L''''''''''))))))) -> REV2(X'''', cons(Y''0', cons(Y''''', cons(Y'''''''', cons(Y0'''''''', cons(Y'''''''''', L''''''''''))))))
REV(cons(X'''', cons(Y''0', cons(Y'''''', cons(Y'''''''', cons(Y'''''0, L'''''')))))) -> REV2(X'''', cons(Y''0', cons(Y'''''', cons(Y'''''''', cons(Y'''''0, L'''''')))))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Nar
→DP Problem 6
↳Rw
...
→DP Problem 91
↳Forward Instantiation Transformation
REV(cons(X'''', cons(Y''0', cons(Y'''''', cons(Y'''''''', cons(Y'''''0, L'''''')))))) -> REV2(X'''', cons(Y''0', cons(Y'''''', cons(Y'''''''', cons(Y'''''0, L'''''')))))
REV(cons(X'''', cons(Y''0', cons(Y''''', cons(Y'''''''', cons(Y0'''''''', cons(Y'''''''''', L''''''''''))))))) -> REV2(X'''', cons(Y''0', cons(Y''''', cons(Y'''''''', cons(Y0'''''''', cons(Y'''''''''', L''''''''''))))))
REV(cons(X'''', cons(Y''0', cons(Y''''', cons(Y'''''''''', cons(Y''''''''''', L'''''''')))))) -> REV2(X'''', cons(Y''0', cons(Y''''', cons(Y'''''''''', cons(Y''''''''''', L'''''''')))))
REV(cons(X'''', cons(Y''0', cons(Y'''''', cons(Y'''''''''', cons(Y''''''''''', L'''''''')))))) -> REV2(X'''', cons(Y''0', cons(Y'''''', cons(Y'''''''''', cons(Y''''''''''', L'''''''')))))
REV(cons(X'''', cons(Y''0', cons(Y'''''', cons(Y''', L'''))))) -> REV2(X'''', cons(Y''0', cons(Y'''''', cons(Y''', L'''))))
REV2(X, cons(Y'', cons(Y0'''', cons(Y'''''', cons(Y0'''''', cons(Y'''''''', L'''''''')))))) -> REV2(Y'', cons(Y0'''', cons(Y'''''', cons(Y0'''''', cons(Y'''''''', L'''''''')))))
REV2(X, cons(Y'', cons(Y0'''', cons(Y'''''', cons(Y''''''', L''''''))))) -> REV2(Y'', cons(Y0'''', cons(Y'''''', cons(Y''''''', L''''''))))
REV2(X, cons(Y''', cons(Y0'''', cons(Y'''''', cons(Y''''''', L''''''))))) -> REV2(Y''', cons(Y0'''', cons(Y'''''', cons(Y''''''', L''''''))))
REV(cons(X'''', cons(Y''0', cons(Y'''''', cons(Y0'''''', cons(Y'''''''', L'''''''')))))) -> REV2(X'''', cons(Y''0', cons(Y'''''', cons(Y0'''''', cons(Y'''''''', L'''''''')))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))))
REV(cons(X'''', cons(Y''0'', cons(Y'''''', cons(Y''''''', L''''''))))) -> REV2(X'''', cons(Y''0'', cons(Y'''''', cons(Y''''''', L''''''))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV(cons(X''', cons(Y0''', cons(Y'''''', cons(Y''', L'''))))) -> REV2(X''', cons(Y0''', cons(Y'''''', cons(Y''', L'''))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV(cons(X''', cons(Y0'''', cons(Y'''''', cons(Y0'''''', cons(Y'''''''', L'''''''')))))) -> REV2(X''', cons(Y0'''', cons(Y'''''', cons(Y0'''''', cons(Y'''''''', L'''''''')))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV(cons(X''', cons(Y0'''', cons(Y'''''', cons(Y''''''', L''''''))))) -> REV2(X''', cons(Y0'''', cons(Y'''''', cons(Y''''''', L''''''))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV(cons(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV2(X, cons(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0'', cons(Y''0, cons(Y'''', L'''')))) -> REV2(Y0'', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y'0, cons(Y0''', cons(Y'''''', cons(Y''', L'''))))) -> REV2(Y'0, cons(Y0''', cons(Y'''''', cons(Y''', L'''))))
rev1(0, nil) -> 0
rev1(s(X), nil) -> s(X)
rev1(X, cons(Y, L)) -> rev1(Y, L)
rev(nil) -> nil
rev(cons(X, L)) -> cons(rev1(X, L), rev2(X, L))
rev2(X, nil) -> nil
rev2(X, cons(Y, L)) -> rev(cons(X, rev(rev2(Y, L))))
innermost
seven new Dependency Pairs are created:
REV2(X, cons(Y0'', cons(Y''0, cons(Y'''', L'''')))) -> REV2(Y0'', cons(Y''0, cons(Y'''', L'''')))
REV2(X, cons(Y0'''', cons(Y''0'', cons(Y'''''', cons(Y''''''', L''''''))))) -> REV2(Y0'''', cons(Y''0'', cons(Y'''''', cons(Y''''''', L''''''))))
REV2(X, cons(Y0'''', cons(Y''0', cons(Y'''''', cons(Y0'''''', cons(Y'''''''', L'''''''')))))) -> REV2(Y0'''', cons(Y''0', cons(Y'''''', cons(Y0'''''', cons(Y'''''''', L'''''''')))))
REV2(X, cons(Y0''', cons(Y''0', cons(Y'''''', cons(Y''', L'''))))) -> REV2(Y0''', cons(Y''0', cons(Y'''''', cons(Y''', L'''))))
REV2(X, cons(Y0''', cons(Y''0', cons(Y'''''', cons(Y'''''''''', cons(Y''''''''''', L'''''''')))))) -> REV2(Y0''', cons(Y''0', cons(Y'''''', cons(Y'''''''''', cons(Y''''''''''', L'''''''')))))
REV2(X, cons(Y0''', cons(Y''0', cons(Y''''', cons(Y'''''''''', cons(Y''''''''''', L'''''''')))))) -> REV2(Y0''', cons(Y''0', cons(Y''''', cons(Y'''''''''', cons(Y''''''''''', L'''''''')))))
REV2(X, cons(Y0''', cons(Y''0', cons(Y''''', cons(Y'''''''', cons(Y0'''''''', cons(Y'''''''''', L''''''''''))))))) -> REV2(Y0''', cons(Y''0', cons(Y''''', cons(Y'''''''', cons(Y0'''''''', cons(Y'''''''''', L''''''''''))))))
REV2(X, cons(Y0''', cons(Y''0', cons(Y'''''', cons(Y'''''''', cons(Y'''''0, L'''''')))))) -> REV2(Y0''', cons(Y''0', cons(Y'''''', cons(Y'''''''', cons(Y'''''0, L'''''')))))
R
↳DPs
→DP Problem 1
↳FwdInst
→DP Problem 2
↳Nar
→DP Problem 6
↳Rw
...
→DP Problem 92
↳Remaining Obligation(s)
REV(cons(X'''', cons(Y''0', cons(Y''''', cons(Y'''''''', cons(Y0'''''''', cons(Y'''''''''', L''''''''''))))))) -> REV2(X'''', cons(Y''0', cons(Y''''', cons(Y'''''''', cons(Y0'''''''', cons(Y'''''''''', L''''''''''))))))
REV(cons(X'''', cons(Y''0', cons(Y''''', cons(Y'''''''''', cons(Y''''''''''', L'''''''')))))) -> REV2(X'''', cons(Y''0', cons(Y''''', cons(Y'''''''''', cons(Y''''''''''', L'''''''')))))
REV(cons(X'''', cons(Y''0', cons(Y'''''', cons(Y'''''''''', cons(Y''''''''''', L'''''''')))))) -> REV2(X'''', cons(Y''0', cons(Y'''''', cons(Y'''''''''', cons(Y''''''''''', L'''''''')))))
REV(cons(X'''', cons(Y''0', cons(Y'''''', cons(Y''', L'''))))) -> REV2(X'''', cons(Y''0', cons(Y'''''', cons(Y''', L'''))))
REV2(X, cons(Y0''', cons(Y''0', cons(Y'''''', cons(Y'''''''', cons(Y'''''0, L'''''')))))) -> REV2(Y0''', cons(Y''0', cons(Y'''''', cons(Y'''''''', cons(Y'''''0, L'''''')))))
REV2(X, cons(Y0''', cons(Y''0', cons(Y''''', cons(Y'''''''', cons(Y0'''''''', cons(Y'''''''''', L''''''''''))))))) -> REV2(Y0''', cons(Y''0', cons(Y''''', cons(Y'''''''', cons(Y0'''''''', cons(Y'''''''''', L''''''''''))))))
REV2(X, cons(Y0''', cons(Y''0', cons(Y''''', cons(Y'''''''''', cons(Y''''''''''', L'''''''')))))) -> REV2(Y0''', cons(Y''0', cons(Y''''', cons(Y'''''''''', cons(Y''''''''''', L'''''''')))))
REV2(X, cons(Y0''', cons(Y''0', cons(Y'''''', cons(Y'''''''''', cons(Y''''''''''', L'''''''')))))) -> REV2(Y0''', cons(Y''0', cons(Y'''''', cons(Y'''''''''', cons(Y''''''''''', L'''''''')))))
REV2(X, cons(Y0''', cons(Y''0', cons(Y'''''', cons(Y''', L'''))))) -> REV2(Y0''', cons(Y''0', cons(Y'''''', cons(Y''', L'''))))
REV2(X, cons(Y0'''', cons(Y''0', cons(Y'''''', cons(Y0'''''', cons(Y'''''''', L'''''''')))))) -> REV2(Y0'''', cons(Y''0', cons(Y'''''', cons(Y0'''''', cons(Y'''''''', L'''''''')))))
REV2(X, cons(Y0'''', cons(Y''0'', cons(Y'''''', cons(Y''''''', L''''''))))) -> REV2(Y0'''', cons(Y''0'', cons(Y'''''', cons(Y''''''', L''''''))))
REV2(X, cons(Y'0, cons(Y0''', cons(Y'''''', cons(Y''', L'''))))) -> REV2(Y'0, cons(Y0''', cons(Y'''''', cons(Y''', L'''))))
REV2(X, cons(Y'', cons(Y0'''', cons(Y'''''', cons(Y0'''''', cons(Y'''''''', L'''''''')))))) -> REV2(Y'', cons(Y0'''', cons(Y'''''', cons(Y0'''''', cons(Y'''''''', L'''''''')))))
REV2(X, cons(Y'', cons(Y0'''', cons(Y'''''', cons(Y''''''', L''''''))))) -> REV2(Y'', cons(Y0'''', cons(Y'''''', cons(Y''''''', L''''''))))
REV2(X, cons(Y''', cons(Y0'''', cons(Y'''''', cons(Y''''''', L''''''))))) -> REV2(Y''', cons(Y0'''', cons(Y'''''', cons(Y''''''', L''''''))))
REV(cons(X'''', cons(Y''0', cons(Y'''''', cons(Y0'''''', cons(Y'''''''', L'''''''')))))) -> REV2(X'''', cons(Y''0', cons(Y'''''', cons(Y0'''''', cons(Y'''''''', L'''''''')))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))))
REV(cons(X'''', cons(Y''0'', cons(Y'''''', cons(Y''''''', L''''''))))) -> REV2(X'''', cons(Y''0'', cons(Y'''''', cons(Y''''''', L''''''))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev(cons(Y''', rev(rev2(Y', L')))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV(cons(X''', cons(Y0''', cons(Y'''''', cons(Y''', L'''))))) -> REV2(X''', cons(Y0''', cons(Y'''''', cons(Y''', L'''))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV(cons(X''', cons(Y0'''', cons(Y'''''', cons(Y0'''''', cons(Y'''''''', L'''''''')))))) -> REV2(X''', cons(Y0'''', cons(Y'''''', cons(Y0'''''', cons(Y'''''''', L'''''''')))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(X, cons(rev1(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))), rev2(rev1(Y0, rev(rev2(Y''', cons(Y', L')))), rev2(Y0, rev(rev2(Y''', cons(Y', L'))))))))
REV(cons(X''', cons(Y0'''', cons(Y'''''', cons(Y''''''', L''''''))))) -> REV2(X''', cons(Y0'''', cons(Y'''''', cons(Y''''''', L''''''))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV(cons(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(X''', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV2(X, cons(Y0, cons(Y''', cons(Y', L')))) -> REV(cons(rev1(rev1(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L')))), rev2(rev1(Y''', rev(rev2(Y', L'))), rev2(Y''', rev(rev2(Y', L'))))), rev2(Y0, rev(rev(cons(Y''', rev(rev2(Y', L'))))))))
REV2(X, cons(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))) -> REV2(Y0', cons(Y'''', cons(Y0'''', cons(Y'''''', L''''''))))
REV(cons(X'''', cons(Y''0', cons(Y'''''', cons(Y'''''''', cons(Y'''''0, L'''''')))))) -> REV2(X'''', cons(Y''0', cons(Y'''''', cons(Y'''''''', cons(Y'''''0, L'''''')))))
rev1(0, nil) -> 0
rev1(s(X), nil) -> s(X)
rev1(X, cons(Y, L)) -> rev1(Y, L)
rev(nil) -> nil
rev(cons(X, L)) -> cons(rev1(X, L), rev2(X, L))
rev2(X, nil) -> nil
rev2(X, cons(Y, L)) -> rev(cons(X, rev(rev2(Y, L))))
innermost