0 QTRS
↳1 DependencyPairsProof (⇔)
↳2 QDP
↳3 DependencyGraphProof (⇔)
↳4 QDP
↳5 QDPOrderProof (⇔)
↳6 QDP
↳7 PisEmptyProof (⇔)
↳8 TRUE
merge(x, nil) → x
merge(nil, y) → y
merge(++(x, y), ++(u, v)) → ++(x, merge(y, ++(u, v)))
merge(++(x, y), ++(u, v)) → ++(u, merge(++(x, y), v))
MERGE(++(x, y), ++(u, v)) → MERGE(y, ++(u, v))
MERGE(++(x, y), ++(u, v)) → MERGE(++(x, y), v)
merge(x, nil) → x
merge(nil, y) → y
merge(++(x, y), ++(u, v)) → ++(x, merge(y, ++(u, v)))
merge(++(x, y), ++(u, v)) → ++(u, merge(++(x, y), v))
MERGE(++(x, y), ++(u, v)) → MERGE(y, ++(u, v))
merge(x, nil) → x
merge(nil, y) → y
merge(++(x, y), ++(u, v)) → ++(x, merge(y, ++(u, v)))
merge(++(x, y), ++(u, v)) → ++(u, merge(++(x, y), v))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
MERGE(++(x, y), ++(u, v)) → MERGE(y, ++(u, v))
[u, v] > merge2 > ++2 > MERGE1
nil > MERGE1
MERGE1: [1]
++2: [2,1]
u: multiset
v: multiset
merge2: multiset
nil: multiset
merge(x, nil) → x
merge(nil, y) → y
merge(++(x, y), ++(u, v)) → ++(x, merge(y, ++(u, v)))
merge(++(x, y), ++(u, v)) → ++(u, merge(++(x, y), v))
merge(x, nil) → x
merge(nil, y) → y
merge(++(x, y), ++(u, v)) → ++(x, merge(y, ++(u, v)))
merge(++(x, y), ++(u, v)) → ++(u, merge(++(x, y), v))