Certification Problem

Input (TPDB TRS_Relative/Mixed_relative_TRS/carbridge)

The relative rewrite relation R/S is considered where R is the following TRS

top(left(car(x,y),car(old,z))) top(right(y,car(old,z))) (1)
top(left(car(x,car(old,y)),z)) top(right(car(old,y),z)) (2)
top(right(x,car(y,car(old,z)))) top(left(x,car(old,z))) (3)
top(right(car(old,x),car(y,z))) top(left(car(old,x),z)) (4)
top(left(bot,car(old,x))) top(right(bot,car(old,x))) (5)
top(right(car(old,x),bot)) top(left(car(old,x),bot)) (6)

and S is the following TRS.

bot car(new,bot) (7)
top(right(x,car(y,z))) top(right(x,z)) (8)
top(left(car(x,y),z)) top(left(y,z)) (9)

Property / Task

Prove or disprove termination.

Answer / Result

Yes.

Proof (by AProVE @ termCOMP 2023)

1 Rule Removal

Using the matrix interpretations of dimension 2 with strict dimension 1 over the integers
[top(x1)] =
0
0
+
1 0
1 0
· x1
[left(x1, x2)] =
0
0
+
1 1
0 0
· x1 +
1 1
0 0
· x2
[car(x1, x2)] =
0
0
+
1 1
0 0
· x1 +
1 1
1 1
· x2
[old] =
1
1
[right(x1, x2)] =
0
0
+
1 1
0 0
· x1 +
1 0
0 0
· x2
[bot] =
0
0
[new] =
0
0
all of the following rules can be deleted.
top(left(car(x,car(old,y)),z)) top(right(car(old,y),z)) (2)

1.1 Rule Removal

Using the matrix interpretations of dimension 2 with strict dimension 1 over the integers
[top(x1)] =
0
0
+
1 1
1 1
· x1
[left(x1, x2)] =
0
0
+
1 0
0 1
· x1 +
1 1
1 1
· x2
[car(x1, x2)] =
0
0
+
1 0
1 1
· x1 +
1 1
1 1
· x2
[old] =
0
1
[right(x1, x2)] =
0
0
+
1 0
1 1
· x1 +
1 0
1 0
· x2
[bot] =
0
0
[new] =
0
0
all of the following rules can be deleted.
top(left(car(x,y),car(old,z))) top(right(y,car(old,z))) (1)
top(left(bot,car(old,x))) top(right(bot,car(old,x))) (5)

1.1.1 Rule Removal

Using the matrix interpretations of dimension 2 with strict dimension 1 over the integers
[top(x1)] =
0
0
+
1 1
1 1
· x1
[right(x1, x2)] =
0
0
+
1 1
1 0
· x1 +
1 1
1 1
· x2
[car(x1, x2)] =
0
0
+
1 1
0 1
· x1 +
1 1
1 1
· x2
[old] =
1
0
[left(x1, x2)] =
0
0
+
1 1
1 0
· x1 +
1 1
1 0
· x2
[bot] =
0
0
[new] =
0
0
all of the following rules can be deleted.
top(right(x,car(y,car(old,z)))) top(left(x,car(old,z))) (3)

1.1.1.1 Rule Removal

Using the matrix interpretations of dimension 2 with strict dimension 1 over the integers
[top(x1)] =
0
0
+
1 1
1 1
· x1
[right(x1, x2)] =
1
1
+
1 1
1 1
· x1 +
1 0
0 0
· x2
[car(x1, x2)] =
0
0
+
1 1
1 1
· x1 +
1 1
1 1
· x2
[old] =
0
0
[left(x1, x2)] =
0
0
+
1 1
1 1
· x1 +
1 0
0 0
· x2
[bot] =
0
0
[new] =
0
0
all of the following rules can be deleted.
top(right(car(old,x),car(y,z))) top(left(car(old,x),z)) (4)
top(right(car(old,x),bot)) top(left(car(old,x),bot)) (6)

1.1.1.1.1 R is empty

There are no rules in the TRS. Hence, it is terminating.