Certification Problem

Input (TPDB TRS_Standard/SK90/4.29)

The rewrite relation of the following TRS is considered.

merge(x,nil) x (1)
merge(nil,y) y (2)
merge(++(x,y),++(u,v)) ++(x,merge(y,++(u,v))) (3)
merge(++(x,y),++(u,v)) ++(u,merge(++(x,y),v)) (4)

Property / Task

Prove or disprove termination.

Answer / Result

Yes.

Proof (by NaTT @ termCOMP 2023)

1 Dependency Pair Transformation

The following set of initial dependency pairs has been identified.
merge#(++(x,y),++(u,v)) merge#(++(x,y),v) (5)
merge#(++(x,y),++(u,v)) merge#(y,++(u,v)) (6)

1.1 Dependency Graph Processor

The dependency pairs are split into 1 component.