The rewrite relation of the following TRS is considered.
| app(id,x) | → | x | (1) |
| app(plus,0) | → | id | (2) |
| app(app(plus,app(s,x)),y) | → | app(s,app(app(plus,x),y)) | (3) |
| app#(app(plus,app(s,x)),y) | → | app#(app(plus,x),y) | (4) |
| app#(app(plus,app(s,x)),y) | → | app#(plus,x) | (5) |
| app#(app(plus,app(s,x)),y) | → | app#(s,app(app(plus,x),y)) | (6) |
The dependency pairs are split into 1 component.
| app#(app(plus,app(s,x)),y) | → | app#(app(plus,x),y) | (4) |
| [s] | = | 1 |
| [0] | = | 19306 |
| [app#(x1, x2)] | = | x1 + 0 |
| [plus] | = | 8041 |
| [id] | = | 1 |
| [app(x1, x2)] | = | x1 + x2 + 12122 |
| app(id,x) | → | x | (1) |
| app(app(plus,app(s,x)),y) | → | app(s,app(app(plus,x),y)) | (3) |
| app(plus,0) | → | id | (2) |
| app#(app(plus,app(s,x)),y) | → | app#(app(plus,x),y) | (4) |
The dependency pairs are split into 0 components.