Certification Problem

Input (TPDB TRS_Standard/HirokawaMiddeldorp_04/t007)

The rewrite relation of the following TRS is considered.

f(a) f(b) (1)
g(b) g(a) (2)
f(x) g(x) (3)

Property / Task

Prove or disprove termination.

Answer / Result

Yes.

Proof (by ttt2 @ termCOMP 2023)

1 Rule Removal

Using the linear polynomial interpretation over (5 x 5)-matrices with strict dimension 1 over the naturals
[f(x1)] =
1 0 1 1 0
0 0 1 0 1
0 0 0 0 0
0 0 0 0 0
0 0 1 0 1
· x1 +
0 0 0 0 0
0 0 0 0 0
0 0 0 0 0
0 0 0 0 0
0 0 0 0 0
[g(x1)] =
1 0 0 0 0
0 0 0 0 1
0 0 0 0 0
0 0 0 0 0
0 0 1 0 1
· x1 +
0 0 0 0 0
0 0 0 0 0
0 0 0 0 0
0 0 0 0 0
0 0 0 0 0
[a] =
0 0 0 0 0
0 0 0 0 0
1 0 0 0 0
0 0 0 0 0
0 0 0 0 0
[b] =
0 0 0 0 0
0 0 0 0 0
0 0 0 0 0
0 0 0 0 0
1 0 0 0 0
all of the following rules can be deleted.
f(a) f(b) (1)

1.1 Rule Removal

Using the Knuth Bendix order with w0 = 1 and the following precedence and weight functions
prec(g) = 0 weight(g) = 4
prec(b) = 3 weight(b) = 2
prec(f) = 1 weight(f) = 4
prec(a) = 2 weight(a) = 2
all of the following rules can be deleted.
g(b) g(a) (2)
f(x) g(x) (3)

1.1.1 R is empty

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