let G1 be Group; :: thesis: for G2 being Subgroup of G1
for H1, H2 being Subset of G1
for H3, H4 being Subset of G2 st H1 = H3 & H2 = H4 holds
H1 * H2 = H3 * H4

let G2 be Subgroup of G1; :: thesis: for H1, H2 being Subset of G1
for H3, H4 being Subset of G2 st H1 = H3 & H2 = H4 holds
H1 * H2 = H3 * H4

let H1, H2 be Subset of G1; :: thesis: for H3, H4 being Subset of G2 st H1 = H3 & H2 = H4 holds
H1 * H2 = H3 * H4

let H3, H4 be Subset of G2; :: thesis: ( H1 = H3 & H2 = H4 implies H1 * H2 = H3 * H4 )
assume AS: ( H1 = H3 & H2 = H4 ) ; :: thesis: H1 * H2 = H3 * H4
A: H1 * H2 = { (g * h) where g, h is Element of G1 : ( g in H1 & h in H2 ) } by GROUP_2:def 2;
B: H3 * H4 = { (g * h) where g, h is Element of G2 : ( g in H3 & h in H4 ) } by GROUP_2:def 2;
C: now :: thesis: for o being object st o in H3 * H4 holds
o in H1 * H2
let o be object ; :: thesis: ( o in H3 * H4 implies o in H1 * H2 )
assume o in H3 * H4 ; :: thesis: o in H1 * H2
then consider h3, h4 being Element of G2 such that
C1: ( o = h3 * h4 & h3 in H3 & h4 in H4 ) by B;
reconsider h1 = h3, h2 = h4 as Element of G1 by AS, C1;
C2: h1 * h2 in { (g * h) where g, h is Element of G1 : ( g in H1 & h in H2 ) } by AS, C1;
thus o in H1 * H2 by C1, C2, A, GROUP_2:43; :: thesis: verum
end;
now :: thesis: for o being object st o in H1 * H2 holds
o in H3 * H4
let o be object ; :: thesis: ( o in H1 * H2 implies o in H3 * H4 )
assume o in H1 * H2 ; :: thesis: o in H3 * H4
then consider h1, h2 being Element of G1 such that
C1: ( o = h1 * h2 & h1 in H1 & h2 in H2 ) by A;
reconsider h3 = h1, h4 = h2 as Element of G2 by AS, C1;
C2: h3 * h4 in { (g * h) where g, h is Element of G2 : ( g in H3 & h in H4 ) } by AS, C1;
thus o in H3 * H4 by C1, C2, B, GROUP_2:43; :: thesis: verum
end;
hence H1 * H2 = H3 * H4 by C, TARSKI:2; :: thesis: verum