The rewrite relation of the following TRS is considered.
and(not(not(x)),y,not(z)) | → | and(y,band(x,z),x) | (1) |
|
originates from |
|
and#(not(not(z0)),z1,not(z2)) |
and(not(not(z0)),z1,not(z2)) | → | and(z1,band(z0,z2),z0) | (2) |
and#(not(not(z0)),z1,not(z2)) | → | c(and#(z1,band(z0,z2),z0)) | (3) |
[c(x1)] | = | 1 · x1 + 0 |
[and#(x1, x2, x3)] | = | 1 · x1 + 0 + 3 · x2 |
[not(x1)] | = | 1 |
[band(x1, x2)] | = | 0 |
and#(not(not(z0)),z1,not(z2)) | → | c(and#(z1,band(z0,z2),z0)) | (3) |
There are no rules in the TRS R. Hence, R/S has complexity O(1).