We consider the TRS containing the following rules:
or(true,true) | → | true | (1) |
or(x,y) | → | or(y,x) | (2) |
The underlying signature is as follows:
{or/2, true/0}Confluence is proven using the following terminating critical-pair-closing-system R:
or(true,true) | → | true | (1) |
[or(x1, x2)] | = | 1 · x1 + 2 · x2 + 1 |
[true] | = | 4 |
or(true,true) | → | true | (1) |
There are no rules in the TRS. Hence, it is terminating.