For example, we have $f(x)=\frac{1}{x^2-1}$
Would the domain be $$\mathcal D(f)=\{x\in\mathbb{R}\mid x\neq(1,-1)\}$$ or rather $$\mathcal D(f)=\{x\in\mathbb{R}\mid x\neq \{1,-1\}\}$$ or $$ D(f)=\{x\in\mathbb{R}\mid x \setminus \{1,-1\}\}$$ or are all notations correct?