Bourbaki marks this one as harder than the rest.
Let H and K be two closed subgroups of Rn such that H+K is a closed subgroup.
a) Show that, if V (resp. W) is the largest vector subspace contained in H (resp. K), then V+W is the largest vector subspace contained in G, and therefore d(H)+d(K)=d(H∩K)+d(H+K) [note that the rational rank of G/(V+W) is finite and consequently that G cannot contain a line which is not contained in V+W].
b) Let U be a subspace complementary to V+W, such that G is the direct sum of V+W and M=G∩U, and such that H∩K is the direct sum of (V+W)∩(H∩K) and L=H∩K∩U (Exercise 5). Let H′ (resp. K′) be the subgroup of M consisting of the components of the points of H (resp. K) in the decomposition of G into the direct sum of V+W and M. Show that M=H′+K′ and that H′∩K′=L.
c) If we put H′′=H∩(V+W) and K′′=K∩(V+W), show that r(H′′)+r(K′′)=r(H′′∩K′′)+r(H′′+K′′) (reduce to the case where V∩W={o}, and show that then H′′∩K′′ is the direct sum of V∩K′′ and W∩H′′.
d) Show that
r(H)+r(K)=r(H∩K)+r(H+K) [use c) and Exercise 4, noting that
r(H)=r(H′)+r(H′′) and
r(K)=r(K′)+r(K′′)].