I've seen a lot of posts here concerning the reverse statement, but I am wondering whether or not one has the following:
Let $H,K$ be normal subgroups of a group $G$, and assume that $G/K\cong H$. Does this suffice to say that \begin{equation}G \cong H\times K \tag{$*$}\end{equation} holds?
It looks a bit to easy to be true, but my reasoning is as follows: One can prove (see e.g. this question) that $(*) $ holds if $H,K$ satisfy
- $ HK := \{h+k : h\in H,k\in K\} =G$,
- $H\cap K = \{e\}$.
Now, from $G/K \cong H$, one has that for each $h\in H$, there exists exactly one $g\in G$, so that $h = g + k$ for some $k\in K$, or conversely that for each $g$, there exist $h,k$, so that $g = h-k\in HK$, which proves the first equality.
So it all boils down to whether or not the second equality can be shown. For finite groups, this should be trivial: One has $|G|/|K| = |H|$, so because of $|G| = \frac{|H|\cdot |K|}{|H\cap K|}$, we get that $|H\cap K| = 1$.
But what about more general groups?
If $H,K$ are two normal subgroups of $G$ such that the map $H\to G/K,h\mapsto hK$ is an isomorphism then obviously $H\cap K=\{1\}$ (the map is injective) and $G = \{ hk, h\in H, k\in K\}$ (the map is surjective).
It remains to check if $H,K$ commute!
$H$ is normal so $khk^{-1}$ is an element of $H$. So $khk^{-1} = h_2, kh = h_2k$.
$K$ is normal so $Kh = hK$ ie. $h_2k\in hK$ and $h_2K = hK$.
As $h\mapsto hK$ is injective it must be that $h_2=h$. Whence $h,k$ commute and we are done: $H\times K\to G, (h,k)\mapsto hk$ is an isomorphism (an homomorphism, injective and surjective).