Certification Problem

Input (TPDB TRS_Equational/AProVE_AC_04/AC19)

The rewrite relation of the following equational TRS is considered.

f(g(f(h(a),a)),a) f(h(a),f(a,a)) (1)
f(h(a),g(a)) f(g(h(a)),a) (2)
f(g(h(a)),f(f(a,a),a)) f(g(f(h(a),a)),a) (3)
f(h(a),a) f(h(a),b) (4)
f(i(x,y),f(a,y)) f(g(i(x,y)),y) (5)

Associative symbols: f

Commutative symbols: f

Property / Task

Prove or disprove termination.

Answer / Result

Yes.

Proof (by AProVE @ termCOMP 2023)

1 AC Rule Removal

Using the non-linear polynomial interpretation over the naturals
[f(x1, x2)] = 1 · x2 + 1 · x1
[g(x1)] = 1 + 1 · x1
[h(x1)] = 1 · x1 · x1
[a] = 2
[b] = 1
[i(x1, x2)] = 2 · x2 + 1 · x1
the rules
f(g(f(h(a),a)),a) f(h(a),f(a,a)) (1)
f(g(h(a)),f(f(a,a),a)) f(g(f(h(a),a)),a) (3)
f(h(a),a) f(h(a),b) (4)
f(i(x,y),f(a,y)) f(g(i(x,y)),y) (5)
can be deleted.

1.1 AC Rule Removal

Using the non-linear polynomial interpretation over the naturals
[f(x1, x2)] = 1 · x2 + 1 · x1 + 2 · x1 · x2
[h(x1)] = 2 + 1 · x1
[a] = 0
[g(x1)] = 2 + 1 · x1
the rule
f(h(a),g(a)) f(g(h(a)),a) (2)
can be deleted.

1.1.1 R is empty

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