$A$, $B$ are sets, $x, y$ are real numbers.
(Often) in mathematical texts, the symbols $\subset$, $\subseteq$, $\subsetneq$, $<$, $\leq$ have the following meanings:
$A \subset B$ and $A \subseteq B$ mean the same thing – that $A$ is a subset of $B$, possibly with $A=B$. For $A$ a proper subset of $B$, we often write $A \subsetneq B$.
$x<y$ is a strict inequality, $x \leq y$ means that $x$ is less than or equal to $y$.
The line underneath is required to say there is equality in the numerical case, whereas in the case of sets that is not the case. Indeed, often in elementary/primary school, children would be taught this way of remembering the symbols. When reaching set theory, this is thrown out.
Is there any reason for this inconsistency? Is it simply because of tradition and changing it to be more consistent would therefore be confusing? Or is there a justification for this difference?
Best Answer
The use of $\subset$ to allow equality is due to Bourbaki, who also wanted to use $<$ to allow equality and introduced the use of "positif" to mean $\geq 0$ rather than $> 0$. They had partial success: $\subset$ and positif have the Bourbaki meanings, but $<$ still has its traditional meaning. See the comments to Eremenko's answer to the stackexchange post here.
Bourbaki's interest in allowing $\subset$ to include equality is almost certainly due to it being the more commonly encountered type of subset condition compared to strict containment. I'm not trying to justify the change in meaning, just explain why such a change would have been proposed at all.
While it may be unfortunate that we are now stuck with a clash of meanings between $<$ on numbers (and posets) and $\subset$ on subsets, I didn't even notice the inconsistency until it was pointed out to me a couple of years ago. If I had ever noticed it before, I'd long since forgotten about it and simply got used to the standard usage of $\subset$.
Haussdorff's 1914 book Grundzüge der Mengenlehre, which was the first book on set theory, can be read on archive.org here. Subset notation is introduced on page 3, where he writes
Translation:
On page 4 he writes
Translation: