This is LaTeX code:
[latex]
[x] := \{y \in X \mid x \sim y\}
[/latex]