Certification Problem

Input (TPDB TRS_Equational/AProVE_AC_04/AC26)

The rewrite relation of the following equational TRS is considered.

plus(x,0) x (1)
plus(x,s(y)) s(plus(x,y)) (2)
plus(x,plus(s(y),z)) plus(s(plus(x,y)),z) (3)
times(x,0) 0 (4)
times(x,times(0,z)) times(0,z) (5)
times(x,s(y)) plus(times(x,y),x) (6)
times(x,times(s(y),z)) times(plus(times(x,y),x),z) (7)

Associative symbols: plus, times

Commutative symbols: plus, times

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
[plus(x1, x2)] = 1 · x2 + 1 · x1
[times(x1, x2)] = 1 · x2 + 1 · x1 + 2 · x1 · x2
[0] = 0
[s(x1)] = 3 + 1 · x1
the rules
times(x,s(y)) plus(times(x,y),x) (6)
times(x,times(s(y),z)) times(plus(times(x,y),x),z) (7)
can be deleted.

1.1 AC Rule Removal

Using the non-linear polynomial interpretation over the naturals
[plus(x1, x2)] = 2 + 2 · x2 + 2 · x1 + 1 · x1 · x2
[times(x1, x2)] = 1 · x2 + 1 · x1
[0] = 1
[s(x1)] = 1 + 1 · x1
the rules
plus(x,0) x (1)
plus(x,s(y)) s(plus(x,y)) (2)
plus(x,plus(s(y),z)) plus(s(plus(x,y)),z) (3)
can be deleted.

1.1.1 AC Rule Removal

Using the non-linear polynomial interpretation over the naturals
[plus(x1, x2)] = 3 + 3 · x2 + 3 · x1 + 2 · x1 · x2
[times(x1, x2)] = 1 + 1 · x2 + 1 · x1
[0] = 1
the rules
times(x,0) 0 (4)
times(x,times(0,z)) times(0,z) (5)
can be deleted.

1.1.1.1 R is empty

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