Solution (source code)

= Solution

If $H$ is an <open subgroup>, each left <coset> $gH$ is open because translation is a <homeomorphism>. Its complement is the union of the other <cosets>, hence is open. \b[Every open subgroup is closed.] No <compactness> is needed.