let F be Field; for U, V being finite-dimensional VectSp of F holds
( U,V are_isomorphic iff dim U = dim V )
let U, V be finite-dimensional VectSp of F; ( U,V are_isomorphic iff dim U = dim V )
now ( dim U = dim V implies U,V are_isomorphic )assume AS:
dim U = dim V
;
U,V are_isomorphic per cases
( dim U = 0 or dim U > 0 )
;
suppose K:
dim U > 0
;
U,V are_isomorphic set Bv = the
Basis of
V;
card the
Basis of
V > 0
by AS, K, VECTSP_9:def 1;
then reconsider Bv1 = the
Basis of
V as non
empty Subset of
V ;
reconsider U1 =
U as non
trivial finite-dimensional VectSp of
F by K, MATRLIN2:42;
set Bu = the
Basis of
U1;
card the
Basis of
U1 =
dim V
by AS, VECTSP_9:def 1
.=
card Bv1
by VECTSP_9:def 1
;
then consider f1 being
Function of the
Basis of
U1,
Bv1 such that H:
f1 is
bijective
by lemiso;
J:
(
dom f1 = the
Basis of
U1 &
rng f1 c= Bv1 &
Bv1 c= the
carrier of
V )
by FUNCT_2:def 1;
then
rng f1 c= the
carrier of
V
;
then reconsider f =
f1 as
Function of the
Basis of
U1,
V by J, FUNCT_2:2;
set T =
canLinTrans f;
rng f is
linearly-independent
by J, VECTSP_7:1;
then A:
canLinTrans f is
one-to-one
by H, canLininj;
then
(
rng (canLinTrans f) c= the
carrier of
V & the
carrier of
V c= rng (canLinTrans f) )
;
then
canLinTrans f is
onto
by XBOOLE_0:def 10, FUNCT_2:def 3;
hence
U,
V are_isomorphic
by A;
verum end; end; end;
hence
( U,V are_isomorphic iff dim U = dim V )
by VECTSP12:4; verum