Solution (source code)

= Solution

The map between left-coset <sets>
$$
S/(S\cap H)\longrightarrow G/H,\qquad s(S\cap H)\longmapsto sH
$$
is well defined and <injective>: equality of the images is equivalent to $s_2^{-1}s_1\in H$, and this element already lies in $S$. These are coset sets, not asserted quotient groups, since $H$ need not be normal. Thus the <index of a subgroup> satisfies
$$
\boxed{[S:S\cap H]\leq[G:H]<\infty.}
$$