Difference [007Q]
- February 24, 2026
Definition Set difference [007P]
- February 24, 2026
The difference of two sets A and B, written A - B or A \mathbin {\backslash } B, consists of the elements in A but not B: A - B = \{ x \mid x \in A \land x \notin B \}.
Set difference in Disco [007Z]
- February 26, 2026
Note that set difference in Disco must be written with the \ operator. The subtraction symbol cannot be used, since it would introduce too much ambiguity with subtraction on numbers.
Disco> {3,4,5} \ {1,2,3}
{4, 5}