let R be Ring; 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; 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; ( 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:
W1 + W2 is Submodule of (Omega). V
by Lm5;
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} )
( ( 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}
; V is_the_direct_sum_of W1,W2
A18:
the carrier of W2 is Coset of W2
by RMOD_2:70;
A19:
the carrier of V c= the carrier of (W1 + W2)
the carrier of W1 is Coset of W1
by RMOD_2:70;
then consider v being Vector of V such that
A26:
the carrier of W1 /\ the carrier of W2 = {v}
by A18, A17;
the carrier of (W1 + W2) c= the carrier of V
by RMOD_2:def 2;
then
the carrier of V = the carrier of (W1 + W2)
by A19;
hence
RightModStr(# the carrier of V, the U7 of V, the ZeroF of V, the rmult of V #) = W1 + W2
by A1, RMOD_2:31; RMOD_3:def 4 W1 /\ W2 = (0). V
0. V in W2
by RMOD_2:17;
then A27:
0. V in the carrier of W2
;
0. V in W1
by RMOD_2:17;
then
0. V in the carrier of W1
;
then A28:
0. V in {v}
by A26, A27, 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 A26, A28, TARSKI:def 1
.=
the carrier of (W1 /\ W2)
by Def2
;
hence
W1 /\ W2 = (0). V
by RMOD_2:29; verum