let GF be Field; for V being finite-dimensional VectSp of GF
for W1, W2 being Subspace of V st V is_the_direct_sum_of W1,W2 holds
dim V = (dim W1) + (dim W2)
let V be finite-dimensional VectSp of GF; for W1, W2 being Subspace of V st V is_the_direct_sum_of W1,W2 holds
dim V = (dim W1) + (dim W2)
let W1, W2 be Subspace of V; ( V is_the_direct_sum_of W1,W2 implies dim V = (dim W1) + (dim W2) )
assume A1:
V is_the_direct_sum_of W1,W2
; dim V = (dim W1) + (dim W2)
then A2:
ModuleStr(# the carrier of V, the U5 of V, the ZeroF of V, the lmult of V #) = W1 + W2
by VECTSP_5:def 4;
W1 /\ W2 = (0). V
by A1, VECTSP_5:def 4;
then (Omega). (W1 /\ W2) =
(0). V
by VECTSP_4:def 4
.=
(0). (W1 /\ W2)
by VECTSP_4:36
;
then
dim (W1 /\ W2) = 0
by Th29;
then (dim W1) + (dim W2) =
(dim (W1 + W2)) + 0
by Th32
.=
dim ((Omega). V)
by A2, VECTSP_4:def 4
.=
dim V
by Th27
;
hence
dim V = (dim W1) + (dim W2)
; verum