Certification Problem

Input (TPDB TRS_Equational/Mixed_AC/YWHM14_2)

The rewrite relation of the following equational TRS is considered.

f(plus(a,a)) plus(f(a),f(a)) (1)
plus(f(a),f(a)) plus(a,f(f(a))) (2)

Associative symbols: plus

Commutative symbols: plus

Property / Task

Prove or disprove termination.

Answer / Result

Yes.

Proof (by AProVE @ termCOMP 2023)

1 AC Rule Removal

Using the linear polynomial interpretation over the naturals
[plus(x1, x2)] = 3 + 1 · x2 + 1 · x1
[f(x1)] = 3 · x1
[a] = 0
the rule
f(plus(a,a)) plus(f(a),f(a)) (1)
can be deleted.

1.1 AC Rule Removal

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

1.1.1 R is empty

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