Term Rewriting System R: [x, y, z] 0(#) -> # +(#, x) -> x +(x, #) -> x +(0(x), 0(y)) -> 0(+(x, y)) +(0(x), 1(y)) -> 1(+(x, y)) +(1(x), 0(y)) -> 1(+(x, y)) +(0(x), j(y)) -> j(+(x, y)) +(j(x), 0(y)) -> j(+(x, y)) +(1(x), 1(y)) -> j(+(+(x, y), 1(#))) +(j(x), j(y)) -> 1(+(+(x, y), j(#))) +(1(x), j(y)) -> 0(+(x, y)) +(j(x), 1(y)) -> 0(+(x, y)) +(+(x, y), z) -> +(x, +(y, z)) opp(#) -> # opp(0(x)) -> 0(opp(x)) opp(1(x)) -> j(opp(x)) opp(j(x)) -> 1(opp(x)) -(x, y) -> +(x, opp(y)) *(#, x) -> # *(0(x), y) -> 0(*(x, y)) *(1(x), y) -> +(0(*(x, y)), y) *(j(x), y) -> -(0(*(x, y)), y) *(*(x, y), z) -> *(x, *(y, z)) Termination of R to be shown. R contains the following Dependency Pairs: *'(1(x), y) -> +'(0(*(x, y)), y) *'(1(x), y) -> 0'(*(x, y)) *'(1(x), y) -> *'(x, y) *'(*(x, y), z) -> *'(x, *(y, z)) *'(*(x, y), z) -> *'(y, z) *'(0(x), y) -> 0'(*(x, y)) *'(0(x), y) -> *'(x, y) *'(j(x), y) -> -'(0(*(x, y)), y) *'(j(x), y) -> 0'(*(x, y)) *'(j(x), y) -> *'(x, y) +'(j(x), j(y)) -> +'(+(x, y), j(#)) +'(j(x), j(y)) -> +'(x, y) +'(0(x), 1(y)) -> +'(x, y) +'(1(x), j(y)) -> 0'(+(x, y)) +'(1(x), j(y)) -> +'(x, y) +'(0(x), j(y)) -> +'(x, y) +'(1(x), 0(y)) -> +'(x, y) +'(1(x), 1(y)) -> +'(+(x, y), 1(#)) +'(1(x), 1(y)) -> +'(x, y) +'(0(x), 0(y)) -> 0'(+(x, y)) +'(0(x), 0(y)) -> +'(x, y) +'(j(x), 0(y)) -> +'(x, y) +'(j(x), 1(y)) -> 0'(+(x, y)) +'(j(x), 1(y)) -> +'(x, y) +'(+(x, y), z) -> +'(x, +(y, z)) +'(+(x, y), z) -> +'(y, z) OPP(j(x)) -> OPP(x) OPP(1(x)) -> OPP(x) OPP(0(x)) -> 0'(opp(x)) OPP(0(x)) -> OPP(x) -'(x, y) -> +'(x, opp(y)) -'(x, y) -> OPP(y) Furthermore, R contains three SCCs. SCC1: +'(+(x, y), z) -> +'(y, z) +'(+(x, y), z) -> +'(x, +(y, z)) +'(j(x), 1(y)) -> +'(x, y) +'(j(x), 0(y)) -> +'(x, y) +'(0(x), 0(y)) -> +'(x, y) +'(1(x), 1(y)) -> +'(x, y) +'(1(x), 1(y)) -> +'(+(x, y), 1(#)) +'(1(x), 0(y)) -> +'(x, y) +'(0(x), j(y)) -> +'(x, y) +'(1(x), j(y)) -> +'(x, y) +'(0(x), 1(y)) -> +'(x, y) +'(j(x), j(y)) -> +'(x, y) +'(j(x), j(y)) -> +'(+(x, y), j(#)) Removing rules from R by ordering and analyzing Dependency Pairs, Usable Rules, and Usable Equations. This is possible by using the following (C_E-compatible) Polynomial ordering. Polynomial interpretation: POL(1(x_1)) = x_1 POL(+'(x_1, x_2)) = 1 + x_1 + x_2 POL(+(x_1, x_2)) = x_1 + x_2 POL(j(x_1)) = x_1 POL(0(x_1)) = x_1 POL(#) = 0 No Dependency Pairs can be deleted. The following rules of R can be deleted: *(1(x), y) -> +(0(*(x, y)), y) *(*(x, y), z) -> *(x, *(y, z)) *(0(x), y) -> 0(*(x, y)) *(j(x), y) -> -(0(*(x, y)), y) *(#, x) -> # opp(j(x)) -> 1(opp(x)) opp(#) -> # opp(1(x)) -> j(opp(x)) opp(0(x)) -> 0(opp(x)) -(x, y) -> +(x, opp(y)) This transformation is resulting in one new subcycle: SCC1.MRR1: +'(+(x, y), z) -> +'(x, +(y, z)) +'(j(x), 1(y)) -> +'(x, y) +'(j(x), 0(y)) -> +'(x, y) +'(0(x), 0(y)) -> +'(x, y) +'(1(x), 1(y)) -> +'(x, y) +'(1(x), 1(y)) -> +'(+(x, y), 1(#)) +'(1(x), 0(y)) -> +'(x, y) +'(0(x), j(y)) -> +'(x, y) +'(1(x), j(y)) -> +'(x, y) +'(0(x), 1(y)) -> +'(x, y) +'(j(x), j(y)) -> +'(x, y) +'(j(x), j(y)) -> +'(+(x, y), j(#)) +'(+(x, y), z) -> +'(y, z) Removing rules from R by ordering and analyzing Dependency Pairs, Usable Rules, and Usable Equations. This is possible by using the following (C_E-compatible) Polynomial ordering. Polynomial interpretation: POL(1(x_1)) = 1 + x_1 POL(+'(x_1, x_2)) = 1 + x_1 + x_2 POL(+(x_1, x_2)) = x_1 + x_2 POL(j(x_1)) = 1 + x_1 POL(0(x_1)) = x_1 POL(#) = 0 The following Dependency Pairs can be deleted: +'(j(x), 1(y)) -> +'(x, y) +'(j(x), 0(y)) -> +'(x, y) +'(1(x), 1(y)) -> +'(x, y) +'(1(x), 1(y)) -> +'(+(x, y), 1(#)) +'(1(x), 0(y)) -> +'(x, y) +'(0(x), j(y)) -> +'(x, y) +'(1(x), j(y)) -> +'(x, y) +'(0(x), 1(y)) -> +'(x, y) +'(j(x), j(y)) -> +'(x, y) +'(j(x), j(y)) -> +'(+(x, y), j(#)) The following rules of R can be deleted: +(1(x), j(y)) -> 0(+(x, y)) +(j(x), 1(y)) -> 0(+(x, y)) This transformation is resulting in one new subcycle: SCC1.MRR1.MRR1: +'(+(x, y), z) -> +'(y, z) +'(0(x), 0(y)) -> +'(x, y) +'(+(x, y), z) -> +'(x, +(y, z)) Removing rules from R by ordering and analyzing Dependency Pairs, Usable Rules, and Usable Equations. This is possible by using the following (C_E-compatible) Polynomial ordering. Polynomial interpretation: POL(1(x_1)) = x_1 POL(+'(x_1, x_2)) = 1 + x_1 + x_2 POL(+(x_1, x_2)) = x_1 + x_2 POL(0(x_1)) = 1 + x_1 POL(j(x_1)) = x_1 POL(#) = 0 The following Dependency Pairs can be deleted: +'(0(x), 0(y)) -> +'(x, y) The following rules of R can be deleted: +(0(x), 1(y)) -> 1(+(x, y)) +(0(x), j(y)) -> j(+(x, y)) +(1(x), 0(y)) -> 1(+(x, y)) +(0(x), 0(y)) -> 0(+(x, y)) +(j(x), 0(y)) -> j(+(x, y)) 0(#) -> # This transformation is resulting in one new subcycle: SCC1.MRR1.MRR1.MRR1: +'(+(x, y), z) -> +'(x, +(y, z)) +'(+(x, y), z) -> +'(y, z) By using a polynomial ordering, at least one Dependency Pair of this SCC can be strictly oriented. No rules need to be oriented. Used ordering: Polynomial ordering with Polynomial interpretation: POL(1(x_1)) = 0 POL(+(x_1, x_2)) = 1 + x_1 + x_2 POL(+'(x_1, x_2)) = x_1 POL(j(x_1)) = 0 POL(#) = 0 resulting in no subcycles. SCC2: OPP(0(x)) -> OPP(x) OPP(1(x)) -> OPP(x) OPP(j(x)) -> OPP(x) Removing rules from R by ordering and analyzing Dependency Pairs, Usable Rules, and Usable Equations. This is possible by using the following (C_E-compatible) Polynomial ordering. Polynomial interpretation: POL(OPP(x_1)) = 1 + x_1 POL(1(x_1)) = 1 + x_1 POL(0(x_1)) = 1 + x_1 POL(j(x_1)) = 1 + x_1 The following Dependency Pairs can be deleted: OPP(0(x)) -> OPP(x) OPP(1(x)) -> OPP(x) OPP(j(x)) -> OPP(x) This transformation is resulting in no new subcycles. SCC3: *'(j(x), y) -> *'(x, y) *'(0(x), y) -> *'(x, y) *'(*(x, y), z) -> *'(y, z) *'(*(x, y), z) -> *'(x, *(y, z)) *'(1(x), y) -> *'(x, y) By using a polynomial ordering, at least one Dependency Pair of this SCC can be strictly oriented. No rules need to be oriented. Used ordering: Polynomial ordering with Polynomial interpretation: POL(*(x_1, x_2)) = 1 + x_1 + x_2 POL(opp(x_1)) = 0 POL(1(x_1)) = 1 + x_1 POL(-(x_1, x_2)) = 0 POL(*'(x_1, x_2)) = x_1 POL(+(x_1, x_2)) = 0 POL(0(x_1)) = 1 + x_1 POL(j(x_1)) = 1 + x_1 POL(#) = 0 resulting in no subcycles. Termination of R successfully shown. Duration: 2.69 seconds.