Certification Problem

Input (TPDB TRS_Innermost/Transformed_CSR_innermost_04/Ex4_7_77_Bor03_iGM)

The rewrite relation of the following TRS is considered.

active(zeros) mark(cons(0,zeros)) (1)
active(tail(cons(X,XS))) mark(XS) (2)
mark(zeros) active(zeros) (3)
mark(cons(X1,X2)) active(cons(mark(X1),X2)) (4)
mark(0) active(0) (5)
mark(tail(X)) active(tail(mark(X))) (6)
cons(mark(X1),X2) cons(X1,X2) (7)
cons(X1,mark(X2)) cons(X1,X2) (8)
cons(active(X1),X2) cons(X1,X2) (9)
cons(X1,active(X2)) cons(X1,X2) (10)
tail(mark(X)) tail(X) (11)
tail(active(X)) tail(X) (12)
The evaluation strategy is innermost.

Property / Task

Prove or disprove termination.

Answer / Result

Yes.

Proof (by AProVE @ termCOMP 2023)

1 Rule Removal

Using the linear polynomial interpretation over the naturals
[active(x1)] = 1 · x1
[zeros] = 0
[mark(x1)] = 2 · x1
[cons(x1, x2)] = 2 · x1 + 2 · x2
[0] = 0
[tail(x1)] = 1 + 2 · x1
all of the following rules can be deleted.
active(tail(cons(X,XS))) mark(XS) (2)
mark(tail(X)) active(tail(mark(X))) (6)

1.1 Dependency Pair Transformation

The following set of initial dependency pairs has been identified.
active#(zeros) mark#(cons(0,zeros)) (13)
active#(zeros) cons#(0,zeros) (14)
mark#(zeros) active#(zeros) (15)
mark#(cons(X1,X2)) active#(cons(mark(X1),X2)) (16)
mark#(cons(X1,X2)) cons#(mark(X1),X2) (17)
mark#(cons(X1,X2)) mark#(X1) (18)
mark#(0) active#(0) (19)
cons#(mark(X1),X2) cons#(X1,X2) (20)
cons#(X1,mark(X2)) cons#(X1,X2) (21)
cons#(active(X1),X2) cons#(X1,X2) (22)
cons#(X1,active(X2)) cons#(X1,X2) (23)
tail#(mark(X)) tail#(X) (24)
tail#(active(X)) tail#(X) (25)

1.1.1 Dependency Graph Processor

The dependency pairs are split into 3 components.