Let $H$ denote a group that is also a Hausdorff topological space. Show that $H$ is a topological group if and only if the map $h: H \times H \rightarrow H, h:=(x,y)\rightarrow xy^{−1}$ is continuous.
The following proof does not use the Hausdorff property.
Suppose $h$ is continuous.
$f:H \rightarrow H \times H, f(x):=(e, x)$ is continuous (Munkres theorem 19.6). $(h\circ f)(x)=x^{−1}$ is continuous.
$j:H\times H \rightarrow H \times H, j(x, y):=(x, y^{−1})$. $\pi _1 (x, y)=x$ is continuous. $(h\circ f \circ \pi _2)(x, y)=y^{−1}$ is continuous. By Munkres theorem 19.6, $j$ is continuous. $(h\circ j)(x, y)=xy$ is continuous.
So $H$ is a topological group.
Suppose $H$ is a topological group. $k(x, y):=xy$ and $l(x):=x^{−1}$.
$\pi _1 (x, y)=x$ is continuous. $(l \circ \pi _2) (x, y)=x^{−1}$ is continuous. By Munkres theorem 19.6, $j$ is continuous. $j \circ k=h$ is continuous.
Please let me know whether Hausdorff property is required. (I'm aware that a topological group is Hausdorff).
Thanks.
Edit: Thanks to Aryaman Maithani's comment, some textbooks (for eg Munkres) require Hausdorff-ness in the definition of topological group. Hausdorff-ness is required probably only in that case.