(0) Obligation:

Q restricted rewrite system:
The TRS R consists of the following rules:

a(h, h, h, x) → s(x)
a(l, x, s(y), h) → a(l, x, y, s(h))
a(l, x, s(y), s(z)) → a(l, x, y, a(l, x, s(y), z))
a(l, s(x), h, z) → a(l, x, z, z)
a(s(l), h, h, z) → a(l, z, h, z)
+(x, h) → x
+(h, x) → x
+(s(x), s(y)) → s(s(+(x, y)))
+(+(x, y), z) → +(x, +(y, z))
s(h) → 1
*(h, x) → h
*(x, h) → h
*(s(x), s(y)) → s(+(+(*(x, y), x), y))

Q is empty.

(1) DependencyPairsProof (EQUIVALENT transformation)

Using Dependency Pairs [AG00,LPAR04] we result in the following initial DP problem.

(2) Obligation:

Q DP problem:
The TRS P consists of the following rules:

A(h, h, h, x) → S(x)
A(l, x, s(y), h) → A(l, x, y, s(h))
A(l, x, s(y), h) → S(h)
A(l, x, s(y), s(z)) → A(l, x, y, a(l, x, s(y), z))
A(l, x, s(y), s(z)) → A(l, x, s(y), z)
A(l, s(x), h, z) → A(l, x, z, z)
A(s(l), h, h, z) → A(l, z, h, z)
+1(s(x), s(y)) → S(s(+(x, y)))
+1(s(x), s(y)) → S(+(x, y))
+1(s(x), s(y)) → +1(x, y)
+1(+(x, y), z) → +1(x, +(y, z))
+1(+(x, y), z) → +1(y, z)
*1(s(x), s(y)) → S(+(+(*(x, y), x), y))
*1(s(x), s(y)) → +1(+(*(x, y), x), y)
*1(s(x), s(y)) → +1(*(x, y), x)
*1(s(x), s(y)) → *1(x, y)

The TRS R consists of the following rules:

a(h, h, h, x) → s(x)
a(l, x, s(y), h) → a(l, x, y, s(h))
a(l, x, s(y), s(z)) → a(l, x, y, a(l, x, s(y), z))
a(l, s(x), h, z) → a(l, x, z, z)
a(s(l), h, h, z) → a(l, z, h, z)
+(x, h) → x
+(h, x) → x
+(s(x), s(y)) → s(s(+(x, y)))
+(+(x, y), z) → +(x, +(y, z))
s(h) → 1
*(h, x) → h
*(x, h) → h
*(s(x), s(y)) → s(+(+(*(x, y), x), y))

Q is empty.
We have to consider all minimal (P,Q,R)-chains.

(3) DependencyGraphProof (EQUIVALENT transformation)

The approximation of the Dependency Graph [LPAR04,FROCOS05,EDGSTAR] contains 3 SCCs with 7 less nodes.

(4) Complex Obligation (AND)

(5) Obligation:

Q DP problem:
The TRS P consists of the following rules:

+1(+(x, y), z) → +1(x, +(y, z))
+1(s(x), s(y)) → +1(x, y)
+1(+(x, y), z) → +1(y, z)

The TRS R consists of the following rules:

a(h, h, h, x) → s(x)
a(l, x, s(y), h) → a(l, x, y, s(h))
a(l, x, s(y), s(z)) → a(l, x, y, a(l, x, s(y), z))
a(l, s(x), h, z) → a(l, x, z, z)
a(s(l), h, h, z) → a(l, z, h, z)
+(x, h) → x
+(h, x) → x
+(s(x), s(y)) → s(s(+(x, y)))
+(+(x, y), z) → +(x, +(y, z))
s(h) → 1
*(h, x) → h
*(x, h) → h
*(s(x), s(y)) → s(+(+(*(x, y), x), y))

Q is empty.
We have to consider all minimal (P,Q,R)-chains.

(6) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


+1(+(x, y), z) → +1(x, +(y, z))
+1(s(x), s(y)) → +1(x, y)
+1(+(x, y), z) → +1(y, z)
The remaining pairs can at least be oriented weakly.
Used ordering: Lexicographic path order with status [LPO].
Quasi-Precedence:
+^12 > +2 > [s1, 1] > h
a4 > [s1, 1] > h
*2 > +2 > [s1, 1] > h

Status:
+^12: [1,2]
+2: [1,2]
s1: [1]
a4: [1,2,3,4]
h: []
1: []
*2: [1,2]


The following usable rules [FROCOS05] were oriented:

a(h, h, h, x) → s(x)
a(l, x, s(y), h) → a(l, x, y, s(h))
a(l, x, s(y), s(z)) → a(l, x, y, a(l, x, s(y), z))
a(l, s(x), h, z) → a(l, x, z, z)
a(s(l), h, h, z) → a(l, z, h, z)
+(x, h) → x
+(h, x) → x
+(s(x), s(y)) → s(s(+(x, y)))
+(+(x, y), z) → +(x, +(y, z))
s(h) → 1
*(h, x) → h
*(x, h) → h
*(s(x), s(y)) → s(+(+(*(x, y), x), y))

(7) Obligation:

Q DP problem:
P is empty.
The TRS R consists of the following rules:

a(h, h, h, x) → s(x)
a(l, x, s(y), h) → a(l, x, y, s(h))
a(l, x, s(y), s(z)) → a(l, x, y, a(l, x, s(y), z))
a(l, s(x), h, z) → a(l, x, z, z)
a(s(l), h, h, z) → a(l, z, h, z)
+(x, h) → x
+(h, x) → x
+(s(x), s(y)) → s(s(+(x, y)))
+(+(x, y), z) → +(x, +(y, z))
s(h) → 1
*(h, x) → h
*(x, h) → h
*(s(x), s(y)) → s(+(+(*(x, y), x), y))

Q is empty.
We have to consider all minimal (P,Q,R)-chains.

(8) PisEmptyProof (EQUIVALENT transformation)

The TRS P is empty. Hence, there is no (P,Q,R) chain.

(9) TRUE

(10) Obligation:

Q DP problem:
The TRS P consists of the following rules:

*1(s(x), s(y)) → *1(x, y)

The TRS R consists of the following rules:

a(h, h, h, x) → s(x)
a(l, x, s(y), h) → a(l, x, y, s(h))
a(l, x, s(y), s(z)) → a(l, x, y, a(l, x, s(y), z))
a(l, s(x), h, z) → a(l, x, z, z)
a(s(l), h, h, z) → a(l, z, h, z)
+(x, h) → x
+(h, x) → x
+(s(x), s(y)) → s(s(+(x, y)))
+(+(x, y), z) → +(x, +(y, z))
s(h) → 1
*(h, x) → h
*(x, h) → h
*(s(x), s(y)) → s(+(+(*(x, y), x), y))

Q is empty.
We have to consider all minimal (P,Q,R)-chains.

(11) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


*1(s(x), s(y)) → *1(x, y)
The remaining pairs can at least be oriented weakly.
Used ordering: Lexicographic path order with status [LPO].
Quasi-Precedence:
a4 > s1 > h
a4 > s1 > 1
*2 > +2 > s1 > h
*2 > +2 > s1 > 1

Status:
*^12: [1,2]
s1: [1]
a4: [1,2,3,4]
h: []
+2: [1,2]
1: []
*2: [1,2]


The following usable rules [FROCOS05] were oriented:

a(h, h, h, x) → s(x)
a(l, x, s(y), h) → a(l, x, y, s(h))
a(l, x, s(y), s(z)) → a(l, x, y, a(l, x, s(y), z))
a(l, s(x), h, z) → a(l, x, z, z)
a(s(l), h, h, z) → a(l, z, h, z)
+(x, h) → x
+(h, x) → x
+(s(x), s(y)) → s(s(+(x, y)))
+(+(x, y), z) → +(x, +(y, z))
s(h) → 1
*(h, x) → h
*(x, h) → h
*(s(x), s(y)) → s(+(+(*(x, y), x), y))

(12) Obligation:

Q DP problem:
P is empty.
The TRS R consists of the following rules:

a(h, h, h, x) → s(x)
a(l, x, s(y), h) → a(l, x, y, s(h))
a(l, x, s(y), s(z)) → a(l, x, y, a(l, x, s(y), z))
a(l, s(x), h, z) → a(l, x, z, z)
a(s(l), h, h, z) → a(l, z, h, z)
+(x, h) → x
+(h, x) → x
+(s(x), s(y)) → s(s(+(x, y)))
+(+(x, y), z) → +(x, +(y, z))
s(h) → 1
*(h, x) → h
*(x, h) → h
*(s(x), s(y)) → s(+(+(*(x, y), x), y))

Q is empty.
We have to consider all minimal (P,Q,R)-chains.

(13) PisEmptyProof (EQUIVALENT transformation)

The TRS P is empty. Hence, there is no (P,Q,R) chain.

(14) TRUE

(15) Obligation:

Q DP problem:
The TRS P consists of the following rules:

A(l, x, s(y), s(z)) → A(l, x, y, a(l, x, s(y), z))
A(l, x, s(y), h) → A(l, x, y, s(h))
A(l, x, s(y), s(z)) → A(l, x, s(y), z)
A(l, s(x), h, z) → A(l, x, z, z)
A(s(l), h, h, z) → A(l, z, h, z)

The TRS R consists of the following rules:

a(h, h, h, x) → s(x)
a(l, x, s(y), h) → a(l, x, y, s(h))
a(l, x, s(y), s(z)) → a(l, x, y, a(l, x, s(y), z))
a(l, s(x), h, z) → a(l, x, z, z)
a(s(l), h, h, z) → a(l, z, h, z)
+(x, h) → x
+(h, x) → x
+(s(x), s(y)) → s(s(+(x, y)))
+(+(x, y), z) → +(x, +(y, z))
s(h) → 1
*(h, x) → h
*(x, h) → h
*(s(x), s(y)) → s(+(+(*(x, y), x), y))

Q is empty.
We have to consider all minimal (P,Q,R)-chains.

(16) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


A(l, x, s(y), s(z)) → A(l, x, y, a(l, x, s(y), z))
A(l, x, s(y), h) → A(l, x, y, s(h))
A(l, x, s(y), s(z)) → A(l, x, s(y), z)
A(l, s(x), h, z) → A(l, x, z, z)
A(s(l), h, h, z) → A(l, z, h, z)
The remaining pairs can at least be oriented weakly.
Used ordering: Lexicographic path order with status [LPO].
Quasi-Precedence:
[A4, a4] > h > [s1, 1]
*2 > h > [s1, 1]
*2 > +2 > [s1, 1]

Status:
A4: [1,2,3,4]
s1: [1]
a4: [1,2,3,4]
h: []
+2: [1,2]
1: []
*2: [1,2]


The following usable rules [FROCOS05] were oriented:

a(h, h, h, x) → s(x)
a(l, x, s(y), h) → a(l, x, y, s(h))
a(l, x, s(y), s(z)) → a(l, x, y, a(l, x, s(y), z))
a(l, s(x), h, z) → a(l, x, z, z)
a(s(l), h, h, z) → a(l, z, h, z)
+(x, h) → x
+(h, x) → x
+(s(x), s(y)) → s(s(+(x, y)))
+(+(x, y), z) → +(x, +(y, z))
s(h) → 1
*(h, x) → h
*(x, h) → h
*(s(x), s(y)) → s(+(+(*(x, y), x), y))

(17) Obligation:

Q DP problem:
P is empty.
The TRS R consists of the following rules:

a(h, h, h, x) → s(x)
a(l, x, s(y), h) → a(l, x, y, s(h))
a(l, x, s(y), s(z)) → a(l, x, y, a(l, x, s(y), z))
a(l, s(x), h, z) → a(l, x, z, z)
a(s(l), h, h, z) → a(l, z, h, z)
+(x, h) → x
+(h, x) → x
+(s(x), s(y)) → s(s(+(x, y)))
+(+(x, y), z) → +(x, +(y, z))
s(h) → 1
*(h, x) → h
*(x, h) → h
*(s(x), s(y)) → s(+(+(*(x, y), x), y))

Q is empty.
We have to consider all minimal (P,Q,R)-chains.

(18) PisEmptyProof (EQUIVALENT transformation)

The TRS P is empty. Hence, there is no (P,Q,R) chain.

(19) TRUE