let GF be Field; :: thesis: for V being finite-dimensional VectSp of GF
for W being Subspace of V holds
( dim V = dim W iff (Omega). V = (Omega). W )

let V be finite-dimensional VectSp of GF; :: thesis: for W being Subspace of V holds
( dim V = dim W iff (Omega). V = (Omega). W )

let W be Subspace of V; :: thesis: ( dim V = dim W iff (Omega). V = (Omega). W )
hereby :: thesis: ( (Omega). V = (Omega). W implies dim V = dim W )
assume A1: dim V = dim W ; :: thesis: (Omega). V = (Omega). W
consider A being Basis of W;
consider B being Basis of V such that
A2: A c= B by Th17;
A3: card A = dim V by A1, Def2
.= card B by Def2 ;
( A c= the carrier of W & the carrier of W c= the carrier of V ) by VECTSP_4:def 2;
then reconsider A' = A as finite Subset of V by Th24, XBOOLE_1:1;
reconsider B' = B as finite Subset of V by Th24;
A4: now end;
reconsider A = A as Subset of W ;
reconsider B = B as Subset of V ;
(Omega). V = VectSpStr(# the carrier of V,the U5 of V,the U2 of V,the lmult of V #) by VECTSP_4:def 4
.= Lin B by VECTSP_7:def 3
.= Lin A by A4, Th21
.= VectSpStr(# the carrier of W,the U5 of W,the U2 of W,the lmult of W #) by VECTSP_7:def 3
.= (Omega). W by VECTSP_4:def 4 ;
hence (Omega). V = (Omega). W ; :: thesis: verum
end;
assume (Omega). V = (Omega). W ; :: thesis: dim V = dim W
then A5: VectSpStr(# the carrier of V,the U5 of V,the U2 of V,the lmult of V #) = (Omega). W by VECTSP_4:def 4
.= VectSpStr(# the carrier of W,the U5 of W,the U2 of W,the lmult of W #) by VECTSP_4:def 4 ;
consider A being finite Subset of V such that
A6: A is Basis of V by MATRLIN:def 3;
consider B being finite Subset of W such that
A7: B is Basis of W by MATRLIN:def 3;
A8: A is linearly-independent by A6, VECTSP_7:def 3;
A9: B is linearly-independent by A7, VECTSP_7:def 3;
A10: Lin A = VectSpStr(# the carrier of W,the U5 of W,the U2 of W,the lmult of W #) by A5, A6, VECTSP_7:def 3
.= Lin B by A7, VECTSP_7:def 3 ;
reconsider A = A as Subset of V ;
reconsider B = B as Subset of W ;
dim V = card A by A6, Def2
.= dim (Lin B) by A8, A10, Th30
.= card B by A9, Th30
.= dim W by A7, Def2 ;
hence dim V = dim W ; :: thesis: verum