let R be Ring; :: thesis: for V being RightMod of R
for W1, W2 being Submodule of V holds
( V is_the_direct_sum_of W1,W2 iff for C1 being Coset of W1
for C2 being Coset of W2 ex v being Vector of V st C1 /\ C2 = {v} )
let V be RightMod of R; :: thesis: for W1, W2 being Submodule of V holds
( V is_the_direct_sum_of W1,W2 iff for C1 being Coset of W1
for C2 being Coset of W2 ex v being Vector of V st C1 /\ C2 = {v} )
let W1, W2 be Submodule of V; :: thesis: ( V is_the_direct_sum_of W1,W2 iff for C1 being Coset of W1
for C2 being Coset of W2 ex v being Vector of V st C1 /\ C2 = {v} )
set VW1 = the carrier of W1;
set VW2 = the carrier of W2;
A1:
( the carrier of W1 is Coset of W1 & the carrier of W2 is Coset of W2 )
by RMOD_2:86;
thus
( V is_the_direct_sum_of W1,W2 implies for C1 being Coset of W1
for C2 being Coset of W2 ex v being Vector of V st C1 /\ C2 = {v} )
:: thesis: ( ( for C1 being Coset of W1
for C2 being Coset of W2 ex v being Vector of V st C1 /\ C2 = {v} ) implies V is_the_direct_sum_of W1,W2 )
assume A17:
for C1 being Coset of W1
for C2 being Coset of W2 ex v being Vector of V st C1 /\ C2 = {v}
; :: thesis: V is_the_direct_sum_of W1,W2
A18:
( W1 + W2 is Submodule of (Omega). V & RightModStr(# the carrier of V,the U7 of V,the U2 of V,the rmult of V #) = (Omega). V )
by Lm5;
the carrier of V = the carrier of (W1 + W2)
hence
RightModStr(# the carrier of V,the U7 of V,the U2 of V,the rmult of V #) = W1 + W2
by A18, RMOD_2:39; :: according to RMOD_3:def 4 :: thesis: W1 /\ W2 = (0). V
consider v being Vector of V such that
A25:
the carrier of W1 /\ the carrier of W2 = {v}
by A1, A17;
( 0. V in W1 & 0. V in W2 )
by RMOD_2:25;
then
( 0. V in the carrier of W1 & 0. V in the carrier of W2 )
by STRUCT_0:def 5;
then A26:
0. V in {v}
by A25, XBOOLE_0:def 4;
the carrier of ((0). V) =
{(0. V)}
by RMOD_2:def 3
.=
the carrier of W1 /\ the carrier of W2
by A25, A26, TARSKI:def 1
.=
the carrier of (W1 /\ W2)
by Def2
;
hence
W1 /\ W2 = (0). V
by RMOD_2:37; :: thesis: verum