discriminator function
Let be a non-empty set. The ternary discriminator on is the ternary operation on such that
In other words, is a function that determines whether or not a pair of elements in are the same, hence the name discriminator.
It is easy to see that, by setting two of the three variables the same, becomes a constant function: , , and .
More generally, the quaternary discriminator or the switching function on is the quaternary operation![]()
on such that
However, this generalization is really an equivalent
![]()
concept in the sense that one can derive one type of discriminator from another: given above, set . Conversely, given above, set .
Remark. The following ternary functions could also serve as discriminator functions:
But they are really no different from the ternary discriminator :
References
-
1
G. Grätzer: Universal Algebra

, 2nd Edition, Springer, New York (1978).
- 2 S. Burris, H.P. Sankappanavar: A Course in Universal Algebra, Springer, New York (1981).
| Title | discriminator function |
|---|---|
| Canonical name | DiscriminatorFunction |
| Date of creation | 2013-03-22 18:20:58 |
| Last modified on | 2013-03-22 18:20:58 |
| Owner | CWoo (3771) |
| Last modified by | CWoo (3771) |
| Numerical id | 6 |
| Author | CWoo (3771) |
| Entry type | Definition |
| Classification | msc 08A40 |
| Synonym | switching function |
| Defines | ternary discriminator |
| Defines | quaternary discriminator |