Solution (source code)

= Solution

If $H$ is an open <subgroup> of a <topological group>, each <coset> $gH$ is open because translation is a <homeomorphism>. Distinct <cosets> partition the <group>, so
$$
G\setminus H=\bigcup_{gH\ne H}gH
$$
is open. \b[Every open subgroup is closed.]