Certification Problem

Input (TPDB TRS_Standard/AG01/#3.12)

The rewrite relation of the following TRS is considered.

app(nil,y) y (1)
app(add(n,x),y) add(n,app(x,y)) (2)
reverse(nil) nil (3)
reverse(add(n,x)) app(reverse(x),add(n,nil)) (4)
shuffle(nil) nil (5)
shuffle(add(n,x)) add(n,shuffle(reverse(x))) (6)

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.
shuffle#(add(n,x)) shuffle#(reverse(x)) (7)
reverse#(add(n,x)) reverse#(x) (8)
shuffle#(add(n,x)) reverse#(x) (9)
app#(add(n,x),y) app#(x,y) (10)
reverse#(add(n,x)) app#(reverse(x),add(n,nil)) (11)

1.1 Dependency Graph Processor

The dependency pairs are split into 3 components.