Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/Mizar/mml/     Datei vom 6.10.2026 mit Größe 66 kB image not shown  

Quelle  vectsp12.miz   Sprache: Mizar

 

:: Isomorphism Theorem on Vector Spaces over a Ring
::  by Yuichi Futa and Yasunari Shidama
::
:: Received August 30, 2017
:: Copyright (c) 2017-2026 Association of Mizar Users
::           (Stowarzyszenie Uzytkownikow Mizara, Bialystok, Poland).
:: This code can be distributed under the GNU General Public Licence
:: version 3.0 or later, or the Creative Commons Attribution-ShareAlike
:: License version 3.0 or later, subject to the binding interpretation
:: detailed in file COPYING.interpretation.
:: See COPYING.GPL and COPYING.CC-BY-SA for the full text of these
:: licenses, or see http://www.gnu.org/licenses/gpl.html and
:: http://creativecommons.org/licenses/by-sa/3.0/.

environ

 vocabularies VECTSP_1, TARSKI, XBOOLE_0, SUBSET_1, RELAT_1, FUNCT_1, FUNCT_2,
      FUNCSDOM, FINSET_1, CARD_1, CARD_3, ARYTM_3, ARYTM_1, MOD_3, FINSEQ_1,
      VALUED_1, SUPINF_2, MSSUBFAM, STRUCT_0, RLSUB_1, RLSUB_2, RLVECT_2,
      SETWISEO, ORDINAL4, RLVECT_3, UNIALG_1, RANKNULL, UPROOTS, VECTSP10,
      ZMODUL05, QC_LANG1, RLVECT_5, ALGSTR_0, VECTSP12, GROUP_2, PRVECT_1,
      PRVECT_2 NUMBERS , ,  
      MESFUNC1, PRVECT_3 java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 60
 notationsLm3:forbeing Ring, being VectorSpace-  java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
      FUNCT_2, BINOP_1, FINSET_1, CARD_1, ORDINAL1, CARD_3carr GiElementjava.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 66
      (the addF of G.v1
      MOD_2, RLVECT_2, VECTSP_4, VECTSP_5 vi,wijava.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 59
      VECTSP_9, VECTSP10, PRVECT_1, PRVECT_2::.v1w1)i= +wi
      ZMODUL07;
 constructors RELSET_1proof
      SETWISEO, PRVECT_2, ZMODUL05  letKRing,
 registrations XBOOLE_0, RELAT_1, FUNCT_1, ORDINAL1, RELSET_1, FINSET_1,
      RLVECT_1 , , , , ,
      MATRLIN, RANKNULL, VECTSP_9, VECTSP_1, FUNCT_2, ALGSTR_0, PRVECT_3;
 requirements BOOLE  let w1 Element of carrG
 definitions TARSKI, RLVECT_1, ALGSTR_0, VECTSP_1;
s FINSEQ_1, , ALGSTR_0, VECTSP_4, VECTSP_6, RELAT_1,
      VECTSP10, PRVECT_3
 expansions TARSKI, XBOOLE_0, STRUCT_0, VECTSP_1, MOD_2, VECTSP_7, FUNCT_2,
      MATRLIN,   ([:addop G:].(v1,w1)) =(addopG..v1.i,w1.i) by PRVECT_1:def 8;
 theorems TARSKI, XBOOLE_0, XBOOLE_1, ZFMISC_1, RELAT_1, FUNCT_1, FUNCT_2,
      CARD_1, FINSEQ_1, VECTSP_1, VECTSP10, RLVECT_1, RLVECT_2, RANKNULL,
      VECTSP_5, MATRLIN, VECTSP_7, VECTSP_9, VECTSP_4, FVSUM_1, FINSEQOP,
      VECTSP_6 , , , java.lang.StringIndexOutOfBoundsException: Range [51, 50) out of bounds for length 71
      ZMODUL06, PRVECT_1, PRVECT_2, CARD_3, ALGSTR_0endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
       NDIFF_5;
 schemes FUNCT_2, PRVECT_1, BINOP_1;

begin :: 1. Bijective linear transformation

reserve K,F for Ring;
reserve V,W for VectSp of K;
reserve l for Linear_Combination of V;
reserve T forlinear-transformation of V,W;

theorem
  for K being Field,
  V,W being finite-dimensional VectSp of Kf vibeing Vector f G. st  = v.i  (: :].r,).i = rvi
  A being Subset of V,
   V,
  T being linear-transformation of V, W,
  l being Linear_Combination of B \ Gbe- K
st  ofkerT& c  holds .( l)=Sum(T@java.lang.StringIndexOutOfBoundsException: Range [61, 62) out of bounds for length 61
java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 7
    let K be  hence thesis by Def8;
    V,W be finite-dimensional VectSp of K,
    A be Subset of V, B be Basis of V,
    T be linear-transformation of V,W,
    l be Linear_Combination of B \ A;
    A  isBasisof  T &Ac=B;then
       K be Ring,
    A2:  be Sequence of K;
    by RELAT_1:74,VECTSP_6:def 4; then
    A3: T | (Carrier l) is one-to-one by A1,FUNCT_1:52;
    consider G be FinSequence of V such that
    A4: G is one-to-one and
    A5: rng G = Carrier l and
    A6: Sum l = Sum (l (#) G) by VECTSP_6:def 6;
    set H = T*G;
    A7: rng H = T .: (  deffunc ad(addLoopStr) = the of$;
    .= Carrier(T@* reconsiderGS  ModuleStr(# product G[:G]zerosG,: :]
    dom T = [#]V  )asnon emptyModuleStr over K;
    then H is one-to-one by A1,A2,A4,A5,FUNCT_1:52,RANKNULL:1; then
) H) by A7,VECTSP_6:def 6
    T*(l (#) G) = (T@*  
hencethesis by A6,A8,MATRLIN16;
  end;

HM11:
for F being Field, X, Y being VectSp of F,
T being linear-transformation of X, Y,
A being Subset ofreconsider v1=v, w1=w as Element of product carr G;
A is Basis of X implies T.: A is Basis of Y
proof
  let F be Field, X, Y be VectSp of F,
ransformation of X, Y,
  A be Subset of X;
  assume AS1: T is bijective;
  assume A is Basis of X; then
  :  is linearly-independent &
  Lin (A) = the ModuleStr of X by VECTSP_7:def 3;
  D1 dom T =the carrier of Xby:def1java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
  R1rng   carrier ofYbyFUNCT_2:def 3,AS1;
  P2: T.:A is linearly-independent by ZMODUL06:45,AS1,P1;
  P6: Lin(T.: A) is strict Subspace of (Omega).       (:multopjava.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
  the carrier of Lin(T.: A) = T.: (the carrier of (the ModuleStr of X))
  by P1,AS1,ZMODUL06:46
  .= the carrier of (Omega).Y by D1,R1,RELAT_1:113;
  hence thesis by P2,VECTSP_7:def 3,P6,VECTSP_4:31;
end;

theorem HM12:
  for F being Field, X, Y being VectSp of F,
  T being linear-transformation of X, Y,
  A being Subset of X st T is bijective holds
  A is Basis of X iff T.: A is Basis of Y
  proof
    let F be Field, X,assume x in dom  G;
      heni  x asElement of domcarr ;

    assume AS1: L is bijective;
    D1: dom L.ab  : java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
    consider K be lineartransformation ,Xsuchthat
    AS3: K= L" & K is bijective. Gi.(m G:(,1)),:G:.b).)byLm4;
    thus A is Basis of X implies L.:A is Basis of Y by AS1,HM11;
assume .Ais   Y
    then K.: (L.:A) is Basis of X by AS3,HM11;
    hence thesis by D1,AS1,AS3,java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 7
  end;

HM13:
for being , X Y being VectSp of F,
T being linear-transformation of X, Y
st T is bijective holds
X      java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 53
proof
  let F be Field, X, Y be VectSp of F,
  L be linear-transformation of X, .iby,:11java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
is bijective;
  assume X is finite-dimensional;
  then consider A be finite Subset of X such that
  P1: Ajava.lang.StringIndexOutOfBoundsException: Range [10, 8) out of bounds for length 22
  L.: A is Basis of Y by P1,HM12,AS1;
  ence
end;

theorem HM151:
  for F being Field, X, Y being VectSp of F,
   being linear-transformation of X, Y
  st T is bijective holds
  X is finite-dimensional iff Y is finite-dimensional
  proof
    let F  (Gi).(:ultop G:].(a,v1)).i,([:multop G:].(a,w1)).i) by Lm4;
    T be linear-transformation of , Y;
    assume AS1: T is bijective;
    consider K be linear-transformation of Y, X such that
    S3 =T" K is bijective by ZMODUL06:42,AS1;
    thus thesis by HM13,AS1,AS3;
  end;

theorem HM15:
  for F being Field, X being finite-dimensional VectSp of F,
  Y being VectSp of F,
  T being linear-transformation  of X, Y
  st T is bijective holds
  Y is finite-dimensional & dim(X) = dim(Y)
  proof
    let F be Field, X be finite-dimensional VectSp of F,
    Y be VectSp of F, T behence a  (v  w    +a* by A4FUNCT_12
    ssume :Tis java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
            be object
    X1: Y is finite-dimensional by HM151;
    for I being Basis      assume x in dom carr G;
    proof
      let I be Basis of X;
      dom T =        reconsider i = xasElement of dom carr G;
      X12onsider vi=v1. asVector of G. byA1PRVECT_1:11
      T.: I is Basis of Y by AS1,HM12;
      hence dim(Y) =      (multop G](bv1).i =(a*b)*vibyLm4
    end;
    hence thesis by VECTSP_9:def 1;
  end;

theorem ].(*b,v1)). =(:multop G].(a,[:multop G:].b,v1))x
  for F being Field, X, Y being VectSp of F,
  l being Linear_Combination of X,
  T being linear-transformation of X, Y
   one-to-one holds
  T @ l = T @* l
  proof
    let F be Field, X, Y be VectSp of F,
    l be Linear_Combination of X,
    T be linear-transformation of X, Y;
    assume AS:Tis one-to-ne;
    A1:Carrier (T @ l) c= T.:(Carrier l) by RANKNULL:30;
    for y being Element of Y holds (T @ l).y = Sum(lCFST(l,T,y))
    proof
      let y be Element of Y;
      rng lCFST(l,T,y) c= the carrier of F;
        Z=lCFSTlT,y    Fby: 4;
      C0: (T @ A1:
      per cases;
      suppose C1: T"{y} = {};
        then lCFST(l,T,y) = <*> the carrier java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
        C2:SumlCFST(l,T,y))= 0FbyRLVECT_1:43;
        l .: (T"{y}) = {}F by C1;
        (T @l.y = Sum(lCFST,T,y) by C0,,RLVECT_2:8;
      end;
      suppose T"{y} <> {};
        then consider x be object such that
        X1: x in T"{y} by XBOOLE_0:def 1;     ( G).  Gi) PRVECT_1:def 11;
        X2: x in dom T & T.x in {y} by X1,FUNCT_1:def 7;
              let i be Element dom carr G;
        C2: T      addop G)i=ad.i) &(arrG.i = car(.)byA1,PRVECT_1:def 12;
        y in rng T by X2,C2,FUNCT_1:def 3;
        then C3: ex x0 being object st T " {y} = {x0} by      ( ) byFVSUM_1:2
        then C31:T" {y} ={x}by,TARSKI:def ;
        C81: dom l = the carrier of X by FUNCT_2:def 1;
        C9: l .: (T"{y}) = A2: [:addop G:] is associative PRVECT_1:java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
        .= l.x}byC81,FUNCT_1:59;
        per cases;
        suppose C61: x in Carrier l; then
          C6: (T"{y}) /\ (Carrier l) ={x} by C31,XBOOLE_1:28,ZFMISC_1:31;
          dom l = the carrier of X by FUNCT_2:def 1;
          then rng canFS((T"{y}) /\ (Carrier l)) c= dom l by XBOOLE_1:1; then
          C81: dom Z = dom canFS((T"{y}) /\ (Carrier l)) by RELAT_1:27
          .= dom canFS({x}) by C31,C61,XBOOLE_1:28,      A3:(zeros )i 0(i) by PRVECT_1: 14;
          .= dom <*x*> by       (addop G).i = ad(G.i) & (carr=car(i) by ,RVECT_1:def 12;
          .= Seg 1 by FINSEQ_1:38; then
          C82: len Z = 1 by FINSEQ_1:def 3;
          1in by C81;
          then Z.1 = l.( (canFS({x})).1) by C6,FUNCT_1:12
          .= l.((<*x*tjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
.= l.x; then
          C83: Z = <* l.x *> by FINSEQ_1:40,C82;
          then C8: Z = java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 9
          rng Z =l:(T"y) C9,83,java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
          hence (T @ l).y = Sum(lCFST(l,T,y)) by C0,C8,RLVECT_2         )   GS 5
        end;      
        suppose C5: not x in Carrier        let  of G
          (T"{y}) /        : 0.(G.i  zr(G.i);
          proof
            ssume ("{} \Carrierl > {}java.lang.StringIndexOutOfBoundsException: Range [48, 49) out of bounds for length 48
             consider  be object such that
            C60: x0 in (T"{y}) /\  (omplop G).i is_an_inverseOp_wrt addop G).i & G. is
nCarrierl by ,XBOOLE_0:def 4;
            hence contradiction by C5,C31,TARSKI:def 1;
          end;
          then Z = <*> the carrier of F; then
          C8: Sum(lCFST(l,T,y)) = 0.F by RLVECT_1:43;
          l .: (T"{y}) = { 0.F } by C5,C9;
          hence (T @ l).y = Sum(lCFST(l,T,y)) by C0,C8,RLVECT_2:9;
        end;
      end;
    end;
    hence       then[addop G:],y)=java.lang.StringIndexOutOfBoundsException: Range [46, 44) out of bounds for length 56
  end;

begin :: 2. Properties of linear combinations on modules over a ring

theorem FRds1:
    java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
  I1 being Basis of W1, I2 being Basis of W2 st V is_the_direct_sum_of W1,W2
  holds I1 /\ I2 = {}
  proof
    let K be Field;
    let V be VectSp of K, W1, W2 be Subspace of V,
    I1 be Basis of W1, I2 be Basis of W2 such that
    A1:V is_the_direct_sum_of W1,W2;
    assume I1 /\ I2 <> {};
    then consider v be object such that
    A2: v in I1 /\ I2 by XBOOLE_0:7;
    A3: v in I1 by A2      hence (addop G.iscommutative by FVSUM_1:1
    not java.lang.StringIndexOutOfBoundsException: Range [0, 9) out of bounds for length 8
    A4: v <> 0.V by A3,VECTSP_4:11;
    A5: v in W1 by A3;
    v in W2 by A2; then v in W1 /\     ence  byA2,A5,Lm5,INOP_1;
    then v in (0).V by A1,VECTSP_5:def 4;
    hence contradiction by java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 6
  end;

theorem FRds2:
  for K being Field,V being VectSp of K, W1, W2 being Subspace of V,
  I1 being Basis of W1, I2 being Basis of W2, I being Subset of V
  st V is_the_direct_sum_of
  holds Lin(I) = the java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  proof
    let K be Field,V being VectSp java.lang.StringIndexOutOfBoundsException: Range [0, 36) out of bounds for length 10
    I1G,F be nonemptyModuleStr  ;
    A1: V func prod_MLT(G,F) -> Functionof
    A2: I = I1 \/ I2;
   the carrier ofW1c  carrier of by VECTSP_4:def 2;
    then reconsider II1 = I1 as Subset of V by XBOOLE_1:1;
    the carrier of W2 c= the carrier of V by VECTSP_4:def 2;
    then reconsider II2 = I2 as Subset of V by XBOOLE_1:1;
    A5: the ModuleStr of W1 = Lin(I1) by VECTSP_7:def 3
    .= Lin(II1) by VECTSP_9:17;
    A6: the ModuleStr of W2 = Lin(I2) by VECTSP_7:def 3
    .= Lin(II2) by VECTSP_9:17;
    for x being Vector of V holds x in W1+W2 iff x in Lin(II1) + Lin(II2)
    proof
      let x be Vector of V;
      hereby
        assume x in W1+W2;
        then consider x1, x2 be Vector of V such that
        B1:  [the   G,he  F:] :],
        B2[the carrier  G,the carrier of F:] means :YDef2:
        x2 in Lin(II2) by A6,B1;
hence xin LinII1  II2)  B1,B2,java.lang.StringIndexOutOfBoundsException: Range [58, 56) out of bounds for length 59
      end;
    assume x in (I1 +Lin(II2);
      then consider x1, x2 be Vector of V such that
      B1: x1 in Lin(II1) & x2 in Lin(II2) & x =    defpred MLT[object,object,bject]
     r Element ofthe carrier of ,gbe  of , f beVector ofF
      x2 in W2 by A6,B1;
      hence x in W1 + W2 by B1,B2,VECTSP_5:1;
    end; java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
    A7: W1 + W2 = Lin(II1) + Lin(II2) by VECTSP_4:30;
    thus the ModuleStr of V = W1     CarrF  java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 33
    .= Lin(I) by A2,A7,VECTSP_7:15;
  end;

theorem FRds3:
      exz being object stz in[CarrG,arrF:  [x,y,]
  I1 being     proof
  st V java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
  holds I is linearly-independent
  proof
    let K be Field,      assumeA2  inthe carrierof K &y in [CarrG,:];
    I1 be Basis of W1, I2 be Basis of W2, I be Subset of V such that
    A1: V is_the_direct_sum_of W1,W2 and
    A2: I = I1 \/ I2;
    assume I is      consider  be  of G, y2 beof  Fsuch java.lang.StringIndexOutOfBoundsException: Range [61, 62) out of bounds for length 61
   consider l be Linear_Combination of I such that
    A3: Sum(l) = 0.V and
    A4: Carrier(l) <> {};
    A5A: I1 /\ I2 = {} by A1,FRds1;
    A5B I1 misses I2by ,FRds1;
    the carrier of W1 c= the carrier of V
    & the carrier of W2 c= the carrier of V by VECTSP_4:       ;
    then reconsider II1 = I1, II2 = I2 as Subset of V by XBOOLE_1:1;
    consider l1    
    l2 be Linear_Combination of II2 such       of[the java.lang.StringIndexOutOfBoundsException: Range [48, 47) out of bounds for length 53
    A6:l= l1+ l2 byA2A5A,ZMODUL04:26;
    reconsider ll1 = l1 as Linear_Combination of I
    yA2,XBOOLE_17,ECTSP_6:4;
    reconsider ll2 = l2 as Linear_Combination of I
    by A2,XBOOLE_1:7,VECTSP_6:4;
(ll2)by A6,VECTSP_6:44;
    set v1 = Sum(ll1);
    set v2 = Sum(ll2);
    Carrier(ll1) c= I1 & java.lang.StringIndexOutOfBoundsException: Range [0, 32) out of bounds for length 7
   thenA8: Carrier(ll1) /\ Carrier(ll2) = {}
    by A5B,XBOOLE_0:def 7,XBOOLE_1:64;
    A10: v1 <> 0.V
    proof
      assume B1: v1 = 0.V;
      II1       MLT[r,gf],MLTGF.(r,[g,f]] by A4 then
      then B3: Carrier(l1) = {} by B1        be   the of  K, gg Vector  ,
      II2 is linearlyindependent by VECTSP_7:def 3,VECTSP_9:11;
      then Carrier(ll1) \/ Carrier(ll2) = {} by A3,A7,B1,B3;
      hence contradiction by A4,A6,A8,ZMODUL04:25;
    end;
    A13: v1 = -v2 by A3,A7,RLVECT_1:6;
    v1 in Lin(II1) by VECTSP_7:7;
    then v1 in Lin(I1) by VECTSP_9:17;
    then v1 in the ModuleStr of W1 by VECTSP_7:def 3;
    then A14: v1 in W1;
    v2 in Lin(II2) by VECTSP_7:7;
    then v2 in Lin(I2) by VECTSP_9:17;
    java.lang.StringIndexOutOfBoundsException: Range [14, 8) out of bounds for length 53
    then v2 in W2;
    then A15: v1 in W2 by A13,VECTSP_4:22;
    W1 /\ W2 = (0).V by A1,VECTSP_5:def 4;
    hence       g = gg & f=ffby A5,XTUPLE_0:1;
  end;

theorem
  for K being Field,V being VectSp of K,
  W1, W2 being Subspace of  uniqueness
  java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
  st W1 \W2=()V java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
  I1 \/ I2 is Basis of    :thecarrier   ,[the ofG,he  :] :],
  proof
    let K be Field, V be VectSp of K :;
    W1 W2 beSubspace of V,
    I1 be Basis of W1,I2 be Basis of W2 such that
    P1: W1 /\ W2    assume
    = I1 \ I2;
    reconsider W = W1 + W2 as strict Subspace of V;
    reconsider WW1 = W1, WW2 = W2 as Subspace of W by    A7 for r being Element of K,gbeingVector    be ofjava.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
    the carrier of WW1 c= the carrier    the carrier of WW1 c= the carrier 
    the carrier of       r  Element thecarrier  K,xbe Element java.lang.StringIndexOutOfBoundsException: Range [59, 60) out of bounds for length 59
    then I1 c=the carrier of    c=t carrier ofW;
    then reconsider I0 = I as Subset of W by XBOOLE_1:8;
    reconsider I10 =I1  Basisof WW1;
    reconsider I20 = I2 as Basis of WW2;
    A2: WW1 /\ WW2 is Subspace of V by VECTSP_4:26;
    A3 WW1 + WW2isSubspace of V by VECTSP_4:26;
    for x being object holds x in WW1 /\ WW2 iff x in (0).V
    
      let x be object;
      hereby
        assume x in WW1 /\ WW2;
        then x in WW1  =.  ,A8java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
        hence x in (0).V by P1,VECTSP_5:3;
      end;
      assume x in (0).V;
      then x in W1 &   letKbejava.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
      hence x in WW1 /\ WW2java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 53
    end;
    then for x being Vector of V holds x   
    then A4 \WW2 =()V byA2,:0
    .= (0).W by VECTSP_4:36    hencethesis;
    java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 6
    proof
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
      hereby
        assume x in letGFbe non ModuleStr over K;
        then consider x1, x2 be Vector of V such that
        B2: x1 in W1 & x2 in W2     x     :F:;
        x1inW1+ W2 by ,VECTSP_5;
        then reconsider xx1 = x1 as Vector of W;
              x2 in W1 + W2 by B2,VECTSP_5:2;
        then reconsider xx2 = x2 as Vector of W;
        x = xx1 + xx2 by B2,VECTSP_4:13;
        hence x in WW1 + WW2 by B2,VECTSP_5:1;
      end;
      assume x in WW1 + WW2;
      then consider x1, x2 be Vector of W such that
      B2: x1 in WW1 & x2       be  G    Fsuch 
      thus x in W by B2;
    end;
thenfor x beingVector of Vholds x in W iff x in WW1 + WW2;
    then W = WW1 + WW2 by A3,VECTSP_4:30PRVECT_3d 1
    then I0 java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 0
    hence thesis;
  end;

begin :: 3. 1st isomorphism theorem

theorem Th38A:
  for K being Field
  for V finitedimensionalVectSpof ,
  W being Subspace of V holds
   beingLinear_Compl of W,
  T    let , ,z Element of [:G,F:];
  st T is bijective &
   being  of stinS holdsv = +W
  proof
    let K be Field;
    let V be A1: x = [x1,x2] by :43java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
    beSubspace of V;
    set S = the Linear_Compl of W;
 = addCosetV,);
    set C = CosetSetA3:z= [z1,z2] by SUBSET_1:43;
    set Vq = VectQuot(V,W);
    defpred P[Vector of V,Vector of Vq] means $2 = A4(x1+y1)+1= x1+(y1z1)&(x2+y2)+z2 =x2(y2+z2)by RLVECT_1:def 3;
    A2:
    now
      let v be Vector of V;
      reconsider y=v+W asVector of Vq byVECTSP10:23;
      take y;
      thus P[v, y];
    end;
    consider ff be Function of the carrier of def1
    A7: for v being Vector of V holds P    =prod_ADD(F.[x1x2][y1z1),(y2z2])by :def 1
    set T = ff| the carrier of S;
    S1: the carrier of S c= the carrier of V by VECTSP_4:def 2;
    then reconsider T as Function of the carrier of S,the carrier of Vq
    by FUNCT_2:32;
    P1: for v being Vector of V st v in S holds T.v = v+ W
    proof
      let v be Vector of V;
       v in S
      hence T.v = ff.v by FUNCT_1:49
      .= v+W by A7;
    end;
    now
      let a, b be Vector of S;
      end;
      A91: a1 in S & b1 in S;
  java.lang.StringIndexOutOfBoundsException: Range [6, 5) out of bounds for length 16
A:a1+b1 inS;
      A95: T.a = a1+W by P1,A91;
      :T.b = b1+W  P1A91;
      thus T.(a+b) = T.(a1+b1) by VECTSP_4:13
      .= (a1+b1) + W by A94,P1
      .= T.a + T.b by A95,A96,java.lang.StringIndexOutOfBoundsException: Range [0, 38) out of bounds for length 13
    end; then
    ADjava.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
    ow
      let a be Vector of S;
      let r be Element of K;
      reconsider a1 = a     A1: x = [x1,x2] by SUBSET_1:43;
      x1.G= x1 &x20.F =x2 :def 4;
      r*a = r*a1 by VECTSP_4:14; then
      A94: r*a1 in S;
P1,A91;
      thus T.(r*a) = java.lang.StringIndexOutOfBoundsException: Range [0, 22) out of bounds for length 6
      .= (r*a1) + W by A94,P1
      .= r
    end;
    then T is homogeneous;registration
    then reconsider T as linear-transformation of S,Vq by   K  Ring;
    A100: V is_the_direct_sum_of S,W by VECTSP_5:def 5;
    the carrier of   let G, be java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 61
    proof
      let y be object;
      assume y in the carrier of Vq;
      then consider a be Vector of  such
      A10: y =  roof
      the ModuleStr of V = S+W     xbe  of :G,F:;
      then a in S+W;
       java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 50
      A12: s in S & w in W & a = s + w by VECTSP_5:1;
      reconsider s0 = s as Vector of S by A12;
      reconsider B = s+W as Vector of Vq by VECTSP10:23;
      reconsider A = a+W, Z = w+W as Vector of Vq by VECTSP10:23;
      Z = zeroCoset(V,) by ,VECTSP_4:49
      .= 0.Vq by VECTSP10:def 6; then
      A13: B = B+Z
  =A byA12,VECTSP10:;
      T.s0 = y by A10,A12,A13,P1;
      henceyinrng T byFUNCT_2:4java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
   endjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
    then rng T = the carrier of Vq; then
    A14: T is onto;
    X1: for x1,x2 being object st x1 in the carrier      java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 43
  ;
    proof
      let x1,x2 be object;
      assume A15: x1 in the carrier of S
      & x2 in the carrier of S &java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
      thenreconsider a1=x1,a2=x2 as Vector of V by S1;
      A16: a1 in S   for being  holds ( isVector  :,F]
      A17: T.  iff ex x1 being Vector of G, x2 being Vector of F st x=[x1,x2]) )
      T.x2 = a2+W by P1,A16;
      then consider w be Element of V such that
      A19: w in W & a2 = a1 + w by  , y1   of G,x2,y2 being  ofF
      20: a2-a1 = w+(1,RLVECT_1:28
      .= w + 0.V by VECTSP_1:19
      . w;
      a2-a1 in S by A16,VECTSP_4:23;
      then a2-a1 in S /\ W by A19,A20,VECTSP_5:3;
      then a2-a1 in(0). by A100,VECTSP_5: 4
      then    of K
      hencex1=x2by RLVECT_1:1;
      by YDf2PRVECT_3:ef ,:;
    take S, T;
    thus thesis by A14,P1,X1,FUNCT_2:19;
  end;

theorem
  for K being Field
  for V being finite-dimensional VectSp of K, W  right_complementable ModuleStr over K,
  VectQuot) - 
  dim VectQuot  stx  x2  x=[x1,x2
  proof
    let K be Field;
    let V be finite-dimensional VectSp of K,
 java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 23
     Vq =VectQuot(W;
    consider S be Linear_Compl of W,
    T linear-of S, Vq  
    X1: T is bijective and
    for v being Vector of V st v in S holds T.v = v+ W by Th38A;
    Vqis finite-imensional & dim(S) = dim(Vq) by HM15,X1;
    hence thesis by VECTSP_5:def 5,VECTSP_9:34;
  end;

definition
  let K be Ring;
  let V,U be VectSp of K;
  let W be Subspace of V;
  let f be linear-transformation of V,U;
 
  A1: the    G  be-   java.lang.StringIndexOutOfBoundsException: Range [54, 53) out of bounds for length 61
java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
  :Def12:
forAbeing Vector VectQuotVW, aof  st A = a+W
  holds it.A = f.a;
  existence
  proof
    defpred P[set,set] means for a being :  x1x2;
    holds $2 = f.a consider  Vector ,y2beVectorof Fthat
    set aC = addCoset(V,W);
    set C = CosetSet(V,W);
    vq=VectQuot(V,W);
    A2:
    now
      let A be Vector of vq;
      consider a be Vector     A3: a*(x1+y1) = a*x1 + a* &*(2+) = a*+ a*y2
      A3: A = a+W by VECTSP10:22;
        takey=fajava.lang.StringIndexOutOfBoundsException: Range [19, 20) out of bounds for length 19
      thus Py]
      proof
        let a1 be Vector of V;
        assume A = a1+W;
        then consider  beVector of Vsuch that
java.lang.StringIndexOutOfBoundsException: Range [30, 22) out of bounds for length 22
A5   a1  by A3,VECTSP_4:42,ECTSP_444;
        w in ker f by A1,A4; then
        A6: f.w = 0.U by RANKNULL:10;
        thus y =end;
        .= f.end;
      end;
    end;
    consider ff be Function of the java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 16
    A7: for A being Vector of vq holds P[A, ff.A]   cluster [:,F]->scalar-
    reconsider ff as Function of vq  
A8:  = thecarrier of vq by VECTSP10:def 6;
    now
      A9: the addF of vq = addCoset(V,W) by VECTSP10:def 6;
      let A,BbeVector of vq;
      A1: x = [x1 SUBSET_1:;
      A10: A = a+W by VECTSP10:22;
      consider b be Vector     A2:(a+b)x1=ax1+ b* &(+b*x2 * +*x2
      A11: B = b+W by VECTSP10:22;
      aC.(A,B) =a+b+W by A8    by :ef15;
      hence ff.(A (a),)x2  A1YDef2
      .= f.a + f.b by VECTSP_1:def 20
      .= ff.A + f.b by A7,A10
      .= ff.A + ff.B  A7,A11;
    end; then
    AD: ff is additive;
    now
        Vectorof ;
      let r be Element of K;
      A2:  +bx  A1,YDef2;
      then A in C;
      then consider aa be  end;
      A3: A = aa;
      consider a be Vector of V such that
      A4: aa = a+W by VECTSP_4:def 6;
  *A=(lmultCoset((,))(r,A) by VECTSP10:def 6
      .= r*a+ W by A2,calar;
      hence ff.(r*A) = fK  be Vectorof :];
      .=      beVectorGx2 beVector of F such hat
      .= r*(ff.A) by A3,A4,A7;
    end;
    then ff is homogeneous;
    then reconsider ff  linear-transformation of vq, U by AD;
    take ff;
    thus thesis by A7;
  end;
  uniqueness
  proof
    set vq = VectQuot(V,W);
    et ,  ofvq,U 
    A12    = prod_MLT(G,)(a,[b*b*x2]) by A2,Def2
    holds(b*x)by ,Def2;
    A13: for A being Vector of VectQuot(V,W), a being Vector of e;
    holds f2.A = f.a;
    now
      let A be Vector of vqjava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
      consider a be Vector of V such that
      A14: A = a+W by VECTSP10   :,: -> scalar-unital;
      thus f1.A = f.a by A12,A14
      .= f2.A by A13,A14;
    ;
    hence thesis;
  end;
end;

definition
  let K be Ring    consider  be  ofG,x2be Vector ofsuch that
  let V,U be VectSp of K;
  let fbelinear-transformation ofVUjava.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
sformation of VectQuot(V,ker f),U
  equals
  QFunctional(f,ker f);
  coherence;
end;

registration let K be Ring;
  let V,U be VectSp of K, f be linear-transformation of Vjava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
    let G b VectSp ofKjava.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
  coherence
  proof
    set T = CQFunctional(f);
    set Vq = VectQuot(V,ker f);
    for x1,x2 being object st x1 in the carrier of Vq &
    x2 in the carrier of Vq & T.x1 = T.x2 holds x1 = x2
    proof
      let xx1, xx2 be object;
      assume AS:xx1 in the carrier of Vq & xx2 in  assume S in  **> then
      T.xx1 = T.xx2;
      then reconsider x1 = xx1, x2 = xx2 as Vector of Vq;
      consider a1  Vector of V  that
      A14: x1 = a1+(ker f) by VECTSP10:22;
      consider a2 be Vector of V    reconsider     byA1java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
      A15: x2 = a2+(ker f) by VECTSP10:22;
      f. hence S is VectSp of  K by A1;
      .= f.a2 by AS,A15,Def12; then
      A16:java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
      a1 = a1 - 0.V
      .= a1-(a2-a2)   let G, F be VectSp o , be  ;
      .= a2+ (a1-a2) by RLVECT_1:29;
      then a1 in x1 & a1 in x2 by A14,A15,java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 17
 xx1=xx2 VECTSP_4:56,A14A15
    end;
esis by FUNCT_21;
  end;
end;

:: 1st isomorphism theorem
theorem
  for K being Ring,
 ,fbeinglinear of VUholds
  ex T being linear-transformation of VectQuot(V,ker f)
  
  proof
    let K be Ring,
    V,U VectSp of , fbe linear- of,Ujava.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
    set T =   ex I being Function of,  <X>
    set Vq = VectQuot(V,ker f);
    Q0: the carrier of im f = [#] im f
    .LL:def2
    .= f.: (dom f) by FUNCT_2:def 1
    .= rng f by RELAT_1:113;
    :for x object   inrngTiff x in rng 
    proof
      let x be object  &(for ,  being Vector of  holds I.(v+w) =I.v + I.w .)
      hereby
        assume x in rng T;
        then consider z be object such that
        Q12: z in dom T & x = T.z by FUNCT_1:java.lang.StringIndexOutOfBoundsException: Range [0, 48) out of bounds for length 27
        reconsider z as Vector of Vq by Q12;
   consider a  of V such 
        A14: z = a+(ker f) by VECTSP10:22;
        T.z = f.a by A14,java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 7
        hence x in rng f by Q12,FUNCT_2:4;
      end;
      assume x in rng f;
      then consider a be object such that
      Q12: a inx= f. by: java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
       as Vector of Vby ;
      reconsider z = a+ ker f as Vector of Vq by VECTSP10:23;
      .z =faby Def12;
      hence x in rng T by Q12,FUNCT_2:4;
    end; then
    P1: rng T = the carrier of im f by Q0     carr<X*  len <X>byPRVECT_1:def 11; then
    the carrier of (VectQuot(V,ker f)) = dom T by FUNCT_2:def 1;
    then reconsider T as Function of
        :<X2,def 8;
    A1: T is onto by Q0,Q1,TARSKI:2;
    set Tq = CQFunctional(f);
    now
      let A, B be Vector of Vq;
      thusT(A+B) = (Tq.A)+Tq.B) by VECTSP_1:def 20
      .=T.A + T.B by VECTSP_4:13;
    end then
    AD: T is additive;
    now
       beVector Vqjava.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
      let r be Element of K;
      thus T.(r*A) = r*Tq.A by MOD_2:def 2
.= r*(T)byVECTSP_4:14;
    end;
    then T is homogeneous;
    then  Tas -transformationof , imf AD;
    take T;
    thus thesis by A1;
  end;

definition
  let K be Ring, V, U, W be VectSp of K,
      f  linear--transformationof  java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
      g be linear-transformation of U, W;
   funcg>lineartransformation of V, W;
  correctness
  proof
    g*f is linear-transformation of V, W;
    hence thesis;
  end;
end;

begin :: 4. The product space of vector spaces

definition
K be Ring;
  mode VectorSpace-Sequence of K -> non empty FinSequence means :Def3:      A11 (:addop *>](,Iw)j1
  for S be set st S in rng it holds S is VectSp of K;
  xistence
  proof
    set S = the VectSp of K;
    take <*S*>;
    etx set;
    assume that
    A1: x in rng <*S*> and
    A2: not x is VectSp of K;
    x in {S} by A1,FINSEQ_1:38;
    hencecontradiction by A2,TARSKI:def 1;
  end;
end;

registration let K be  st  in dom carr <*> holds Ivw.i incarr (<*X*).i
  cluster -> AbGroup-yielding for VectorSpace-Sequence of K;
  coherence
  proof
    let F be VectorSpace-Sequence of K;
     xbeing st inrng F holds x is AbGroup by Def3;
    hence thesis by PRVECT_1:def 10;
  end;
end;

definition
  let K be Ring;
  let G be VectorSpace-Sequence of K;
  let j be Element of dom G;
  redefine func G.j -> VectSp of K;
  coherence
  proof
    G.j in rng G by FUNCT_1:def 3;
java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 25
  end;
end;

definition
  lethence   A8,,11,INSEQ_1:
      G be VectorSpace-Sequence of K,
      j be Element of dom carr G;
  redefine func G.j -> VectSp of K;
  
  proof
    domlet  be Vector of X r java.lang.StringIndexOutOfBoundsException: Range [58, 55) out of bounds for length 62
   java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 66
    G.j9 is VectSpjava.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 74
          : <*)j1=thelmult(<X*>j)by java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
  end; [:<X*>].(,Iv).j1
end;

definition
  let K be Ring,
      G be VectorSpace-Sequence of K;
  func multop G -> MultOps  .=rvbyA17,A15java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
  len it =lencarrG&
  for j being Element of dom carr G holds it.j = the lmult of G.j;
  existence
  proof
    java.lang.StringIndexOutOfBoundsException: Range [28, 11) out of bounds for length 57
    consider p be non empty FinSequence such       java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 22
    A20: len p = len carr G
& by,19A18,java.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 46
    now
      ai be set;
      assume ai in I0X I(.)=.(0.X) + (.0.X)- .0X)) by RLVECT_1:
      then reconsider i=ai :
      . I(X;
      then reconsider j = i as Element of dom G by FINSEQ_3:29;
pi  thelmult of G.i & the carrier of G.j = (carr G).j
        by A20,PRVECT_1:def 11;
      hence p.ai is Function of
      [:the carrier of K,(carr G).ai:],(carr G).ai;
    end;
    then let G, F be VectorSpace-Sequence of K;
    carr G by A20,PRVECT_2:4;
    takep9;
    thus thesis by A20;
  end;
  uniqueness
  proof
    letfh be MultOps  the carrier of K, carr Gjava.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
    assume that
    A21: len f = len carr G and
    A22: for j being Element of dom carr G holds f.j = the lmult of G.j and
A23 len h =len carr G and
    A24:    reconsider i as Elementof 
        per cases  :;
    A25:
    now
      let i be Nat;
      assume i in dom f9;
      then reconsider i9 = i      :(F. =G. FINSEQ_17java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
     .i the lmult of .i9java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 38
 hence i  . A24java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
    endjava.lang.StringIndexOutOfBoundsException: Range [8, 9) out of bounds for length 8
dom=  & om h9= len h9 : 3;
    hence thesis by A21,A23,A25,FINSEQ_1:13;
  end;
end;

definition
  let K be Ring,
      G be VectorSpace-Sequence of K;
   ModuleStr over K equals
  ModuleStr (# product carr G, [: addop G :], zeros G, [: multop G :] #);
  coherence;
end;

java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
holds for theorem Th12:
carr G, i be   for X, Y being of Kholds
the addF of G.i).(v1.i,w1.i) &
for vi, wi being Vector of G.i st vi = v1.i & wi=stjava.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 25
([:addop G:].(v1,w1)).i = vi+wi
proof
let be Ring,
  G be   (forvbeing Vector of :X:], rbeing Element K
  let v1,w1 be Element of product   java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 27
  let i be Element   proof
  ([:    let X,Y be VectSp of  K;
  hence thesis by set CarrY = the carrier ;
end;

Lm4: for K being Ring, G     :   -to-oneonto
v being Element of product carr G, i being Element of dom carr G holds
ltofGi)(r,v.i) &
for vi being Vector of G.i st vi = v.i holds ([:multop     holds I.x,y) *,>by :5

  let K be Ring,<,*>= 2by FINSEQ_1:44; then
  G VectorSpaceof ;
  let r be Element of  K,v be Element of product carr G;
  let i be Element of dom carr G;
  ([:    A4:dom <*X,Y*> = {1,2} by FINSEQ_1:2,def 3;
  hence thesis by Def8;
end;

Lm5: for K being Ring, G being VectorSpace-Sequence of K
ctor-distributive
scalar-distributive scalar-associative scalar-unital
proof
  let K be Ring,
Sequence of K;
  deffunc ad(addLoopStr) = the addF of $     A4,RVECT_1def 11;
  reconsider GS Y>= <**  ,java.lang.StringIndexOutOfBoundsException: Range [55, 54) out of bounds for length 63
  #) as non empty ModuleStr over K;
  dom G     :for beingVector  y be  of Y )=,* by ;
  thendom    carrGby java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
  then
  A1: dom G = dom carr G by FINSEQ_1:def 3;
  now
    let a,b be Element ofA9  x1,y1] bySUBSET_143;
    let v,w be       consider x2 bex2 be ofX   java.lang.StringIndexOutOfBoundsException: Range [47, 46) out of bounds for length 61
    reconsider v1=v, w1=w as Element of product carr G;
    A2 v  .(x1y1) &I. =I(x2,y2 by ,A10;then
    A11:.v= <x1,y1*> & I.w = <*x2,y2*> by A1;
      let x be object;
      assume x in dom carr G;
      then reconsider i = x as Element java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 33
i as Vector ofGi by ,PRVECT_1def 1java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
      ( [:multop G:].(1.K,v1)).x = 1.K *vi by Lm4;
      hence ([:multop G:].(1.K,v1)).x = v1.x;
    end;
    A3:
    now
      let x be object;
      carrG;
      then reconsider i = x as Element of dom carr G;
reconsidervi=v1 as Vector of G.i by A1,PRVECT_1def ;
      ([:multop G:].(a+b,v1))     A15: (:ddop <X,*>:.(IvIw)j1
      .= a*      =(*X,*>.j1).I.j1,Iw.j1)by PRVECT_1:def 8
      .= ad(G.i).(([:multop G:].(a,v1)).i,b*vi) by Lm4
      .= ad(G.i).(([:multop G:].(a,v1)).i,([:multop G:      A16: addop <X,*)j2=the  of (*X,*.j2 PRVECT_1:ef ;
      hence ([:multop G:      : (:addop<X*>].(vI)j2
      multop G:].(b,v1)      =(addop<*X,*>)j2)(.j2Iw. PRVECT_1 8
    end;
    A4:
    now
      let x be object;
      assume x in dom carr G;
      then reconsider i = x as Element of dom carr G;
       vi=v1.,wi=1i as Vector of .by ,PRVECT_1java.lang.StringIndexOutOfBoundsException: Range [70, 69) out of bounds for length 73
      ([:multop G:].(a,[:addop G:].(v1,w1))).i
      = (the lmult of G.i).(a,([:addop G:].         beingobject>)i  CARD_3:5
      . *vi by Lm3
      .= a*vi+a*wi by VECTSP_1:def 14
      .=G)([:multop G:.(a,v1))i,a*wi  Lm4
      .= ad(i).(([:multop](,)i,[:ultop G](,w1).  Lm4
      hence ([:multop       hence A12,,A1744java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
          : for v  Vector of :,Y:], r beingof K holds
    end;
[:ultopG].a,:addop G](v1,w1))= G&
    dom([:addop    java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
     CARD_39java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
    hence a * (v + w) = a * v + a    ,y1java.lang.StringIndexOutOfBoundsException: Range [47, 46) out of bounds for length 61
A:
    now
let x be java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
      assumexdom  G;
      then reconsider i = x as Element of dom carr G;
 viv1java.lang.StringIndexOutOfBoundsException: Range [64, 65) out of bounds for length 64
      [ ](*v).=(*b*vi Lm4
      .= a*(b*vi) by VECTSP_1:def 16
      .= (the lmult of G.i).(a,([:multop G:].(b,v1)).i) by Lm4;
      hence
       G:](ab),).  ([multop G:].(a,[:multop G:].(b,v1))).x
      by Lm4;
    end;
    dom([:multop G:].(a+b,v1)) = dom carr G &
    dom([:addop G:].([:multop G      (:multop<X,Y>](,Iv)). = (multop <X,*).j2)(,Iv)
    by CARD_3:9;
    hence (a + b) * v = a * v + b * v by A3,FUNCT_1:2;
    dom([:multop G:].(a*b,v1)) = dom carr G &
    dom([:multop G:].(a,[:multop G:].( b,v1))) = dom carr G by CARD_3:9;
    hencea  b  v =a* (b  )by ,FUNCT_1:2;
    dom([:multop G:].(1.K,v1)) = dom carr G
    & dom v1 = dom carr G by CARD_3:9;
    hence 1.K *      :r(I.    domIvw =dom  <*X,Y*>
  end;
  hence thesis;
end;

registration
  let K be Ring,
      G VectorSpace-equence of ;
  cluster product G -> Abelian add-associative right_zeroed
right_complementabledistributivescalar-distributive
    scalar-associative scalar-unital;
java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 11
  proof
    deffunc zr(addLoopStr) =    endjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
GS =
    ModuleStr(# product carr G,[:
      emptyModuleStr ;
    deffunc car(1-sorted) = the carrier of $1;
    = theaddFof$java.lang.StringIndexOutOfBoundsException: Range [44, 45) out of bounds for length 44
    A1:
    now
      let i be Element of dom carr G;
      dom G = Seg len G by FINSEQ_1:def 3
      .= Seg len carr G by PRVECT_1:def 11
      .= dom carr G by FINSEQ_1:def 3;
      hence (carr G).i =   exI beingFunction of[product ,product :, XYjava.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
    end;
    now
      let  Element of dom  G;
      (addop G).i = ad(G.i) & (carr G).i = car(G.i) by A1,PRVECT_1:def 12;
      hence (addop G).i is associative by FVSUM_1:2;
    ;
    then
    A2: [:addop G:] is associative by PRVECT_1:18;
    now
      let i be Element of dom carr G;
      A3:  G)i =0(ibydef 14;
      (addop G).i = ad(G.i) & (carr G).i = car(G.i) by A1,PRVECT_1:def 12;
      hence( G)iis_a_unity_wrt addopG).iby,;
    end;
   then
    A4: zeros G is_a_unity_wrt [:addop G:] by PRVECT_1:19;
lementable
    proof
      let  & I(.[:product:] = 0pjava.lang.StringIndexOutOfBoundsException: Range [46, 45) out of bounds for length 51
      reconsider y = (Frege complop GX,bejava.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 41
      take y;
      
        let i be Element of dom      len carr (XY) = len (X^)byPRVECT_1:def 11;
        A6: 0.(G.i) = zr(G.i);
        A7:  consider I be Function of :product ,roduct CY]product (CX)
        (carr G).i = car(G.i)
        hence (complopA2: Iis --onto
        & for ,ybeing FinSequence st x in product CX & y in product CY
      end;
      then Frege complop G is_an_inverseOp_wrt [:addop G:] by PRVECT_1:20;
      then [:addop G:].(x    setPY  ;
      by FINSEQOP:def 1;
      hence by A4,BINOP_1:def 8;
    end;
    now
      let i be Element of dom carr G;
      (addop G).i = ad(G.i) & (carr G).i = car(G.i) by A1,PRVECT_1:def 12;
a )i by1;
    java.lang.StringIndexOutOfBoundsException: Range [8, 9) out of bounds for length 8
    then [:addop G:] is commutative by PRVECT_1:17        .=   (^)k1  java.lang.StringIndexOutOfBoundsException: Range [63, 62) out of bounds for length 70
    hence thesis by A2,A4,A5,Lm5,BINOP_1:3;
  end;
end;

begin :: 5. Cartesian product of vector spaces

reserve K for Ring;

definition
  let K be Ring,
  G,F be non .= CX.k by.kPRVECT_1:def 11
  func prod_MLT(G,F) -> Function of
  [:the carrier of K ,
  [:the carrier of G,      java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 62
[the ,java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 53
  for r being Element of K, g be Vector A11   dom  byA1FINSEQ_3:29;
  holds it.(r,[g,f]) = [r*g,r*f];
          thucarr(Y.   (.n1  ,A10,FINSEQ_1: 
  proof
    defpred MLT[object,object,object] means
         the  , be Vector ofG  Vectorof F
    st r = $1 & $2=[g,f] & $3= [java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 13
    set CarrG = the carrier of G;
    set CarrF = the carrier of F;
    A1forxyjava.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 76
    ex z being object st z in [:CarrG,CarrF:] & MLT[x,y,z]
    proof
      let x, y be object;
      assume A2: x in the carrier of K & y in [:CarrG,CarrF:]; then
      reconsider r=x as Element    holds ex x1,y1being FinSequencest x= x1 &y= y1  (,y =x1^1
      consider y1 be Vector of G, y2 be Vector of F such that
      A3:y = [y1,y2  A2,UBSET_143
      set z = [r*y1,r*y2];
      z       =,=  by :9;
      hence thesis;
    end;
    consider MLTGF be Function of [:the carrierend;
    [:CarrG,CarrF:] :,:CarrG,CarrF]such 
    A4: for x, y being object st    
    holds MLT[x,y,considerx1   ofPXy1   of PY  that
    now
, g  of G,fbe  of ;
      MLT[r,[g,f],MLTGF.(r,[g,f])] by A4; then
      consider rr be Element      A16:w=[,]by :43;
      ff be Vector of F such that
      A5:  rrxx1 = x1, xx2 = x2 as FinSequence by NDIFF_5:9;
      g = gg & f = ff by A5,XTUPLE_0:1;
      hence MLTGF.(r,[g,f]) = [r*g,r*f]      reconsider xx12 = x1+x2, yy12 = y1by :;
    endA17 domxx1=dom  &dom  = dom CX & dom xx12 = dom 
    hence thesis;
  end;
  uniqueness
  proof
    let H1,H2 be Function of
    [:      I.v =xx1^yy1 .  xx2^y2by A2;
    [:the carrier of       I.(v+w) = I.(x1+,1y2) by A15,16PRVECT_3def1 
    assume
    A6: for r being Element of K, g being Vector of G, f be Vector of F
    holds H1.(r,[g,f]) = [r*g,r*f];
    assume
    A7:  rbeing Element ofK,gbeingVector of , f Vector 
    holds H2.(r java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 61
    now
      let r be Element of the carrier of K, x be Element of
      [:the         let j0 be ;
      [:the carrier of G,the carrier of         java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 34
       x1 be  G,x2 beofF such
      A8:x = [x1x2] by SUBSET_1:43;
      thus H1.(r,x)         the (Y..Iv.j.j  PRVECT_1:ef;
      .= H2.(r,x) by A7,A8;
    end;
    hence H1 = H2;
  end;
end;

definition
  let K be Ring;
  let G,F be non empty ModuleStr over K;
  func [:G,F:] -> strict non empty ModuleStr over K equals
  ModuleStr (# [:the carrier of G,the carrier of F:],
  prod_ADD(,F) G,F,F #;
  correctness
  proof
    [:the carrier of G,the carrier of F:] <> {} by ZFMISC_1:90;
    ;
  end;
end;

registration
  let K Ring;
  let G,F be Abelian non empty ModuleStr over K;
  cluster [:G,F:] -> Abelian;
  correctness
  proof
    let x, y be Element of [:G,F:];
consider x1 be Vector of G, x2 be Vector of F such that
A1: x = [x1,x2] by SUBSET_1:43;
    consider y1 be Vector of G, y2 be Vector of supposeex  being Nat stn indom len +n;then
  A27:n dom & j0=len CX + n;
    x+y = [x1+y1,x2+y2] by A1,A2,PRVECT_3:def 1;
    hence x+y = A28lenlen CX =lenxx2&lenCX =xx12
  end;
end;

registration
  let K be Ring;
  let G,F be add-associative non empty ModuleStr over K;
   :G,:] --;
  correctness
  proof
    let[GF:];
    consider x1 be Vector A31: (xx12^yy12).j0java.lang.StringIndexOutOfBoundsException: Range [46, 45) out of bounds for length 69
A1: x = [x1,x2] by SUBSET_1:43;
    consider y1 be Vector of G, y2 be Vector of F           =(^y12.by  A31PRVECT_18;
A2: y = [y1,y2] by SUBSET_1:43j0 A22
    java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 8
A3: z = [z1
A4:(x1+y1)+z1 = x1+(y1+z1) & (x2+java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 63
    thus (x+y)+z ==r java.lang.StringIndexOutOfBoundsException: Range [60, 56) out of bounds for length 70
    by A1,A2A35:Iv= I.(y1  .= xx1^yy1 by A2;
    .A36:I.(r*v  I.*,r*1)by,YDef2 =rxx1 A2;
    .= prod_ADD(G,F).([x1,x2],[(y1+z1),(y2+z2)] ) by PRVECT_3:def 1
    .= x+(y+z) by A1,A2      reconsider Iv=Iv   ofproductcarr(^);
  end;
end;

registration
  letK be Ring;
  let G, F be right_zeroed non empty ModuleStr over K;
  cluster [:      :dom(^) = dom  (X^)byA36,:;
  correctness
  proof
    let x be Element of [:G,F:];
    considerx1 be Vector of G, x2 be Vector of F such that
    A1: x = [x1,x2] by SUBSET_1:43;
    x1+0. = x1 & x2+0.F =x2 by RLVECT_1:def 4;
    hence x+0.[:G,F:] = x by A1,PRVECT_3:def 1;
  end;
end;

registration
lK;
  let G,F be right_complementable non A40 .  (java.lang.StringIndexOutOfBoundsException: Range [33, 30) out of bounds for length 67
  cluster [G,F:] - right_complementable;
  correctness
  proof
    let x be Element of [:G,F:];
erx1be Vector of ,  ofF that
    A1  = [x1x]by :;
    consider y1 be A43: Iv.j = xx1.j by A41,,A35FINSEQ_1:def ;
    A2: x1+y1 = 0.G by ALGSTR_0:def 11;
    consider y2 be Vector of F such that
    :x2y  .F byALGSTR_0:def 
    reconsider y=[y1,y2] as Element of [:G,F:];
    take y;
    :def 1;
  end;
end;

theorem
  for G, F being non empty ModuleStr over K holds
  ( for x being set=(multopX)j1)(xx1.j1)by ,,
      .=(ryy1.j0  A44,RVECT_2:ef;
  & ( for x, y being Vector of [:          hence rIv.j0 = (rxx1^ryyj0  A40;
  x1, y1 being Vector of G, x2, y2 being Vector of F
  st x = [x1,x2] & y = [y1,y2] holds x+y = [x1+y1,        end;
  & 0.[:G,F:] = [0.G,0.F]
  & ( for  being  of [:,:,x1being Vectorof G, x2  Vector of ,
  a being Element           considern  
  st x = [x1,x2] holds a*x = [a*x1,a*x2] )
  by YDef2,PRVECT_3:def 1,SUBSET_1:43;

theorem
  for G,F being add-associative right_zeroed
      right_complementable non empty ModuleStr over K,
xbeing of[G
  st x = [x1,x2] holds -x = [-x1,-x2]
  proof
letG,be add-associative right_zeroedright_complementable
    non empty ModuleStr over K;
   letx java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 69
    assume A1: x=[x1,x2];
    reconsider y = [-x1,-x2 ] as Vector of [:G,F:];
    x+y = [x1+-x1,x2+-x2]           reconsider j1 = n of dom Y by A45;
    .= [0.G,x2+-x2] by RLVECT_1:def 10
    .= 0.[:G,F:]  (the of (^.)(,Ivjava.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
    thesis  RLVECT_1:10;
  end;

registration
  let K be Ring;
  let G, F be vector-distributive non empty ModuleStr over K;
  cluster [:         hence .j0 = (rxx1^ryy1).j0 by A40;
  correctness
  proof
 abe Element of K x,y be Vector of [:,:]java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
    consider x1be  of   be of such 
    A1:  x = [x1,x2] by SUBSET_1:43;
    consider y1I..:PX,PY:]) =I(0[:XPY]+ 0[PX,Y]java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
     . .([PX,Y:])+ I.(0[:PX:])byA14 then
    A3: a*(x1    .0[:XPY])- I(0.[:PX,PY:])
    by VECTSP_1:def 14;
    thus a*(x+y) = prod_MLT(G,F).(a,[     .0.[:PX,:])+ (([PX:) - .(0[:PX,PY:]))  :8
    .= [a*(x1java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
    =prod_ADD(G,)([a*x1ax2],ay1,y2] by A3,RVECT_3def 1
    .=     hence thesishence  by A13,14,,A2,,15;
    . java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
  end;
end;

registration
  let K be Ring;
  let G, F be scalar-distributive non empty ModuleStr(for being set holds
  cluster [:G,F:] -> scalar-distributive;
  
  proof
      iff ex x1 being Vector of , x2being ofF st=< ,x2 *  
    consider     for , ybeingof product *F*,
    A1: x = [x1,x2] by SUBSET_1:43;
    *x1 = ax1+bx1& (a+b*x2 = a*x2 *x2
    by VECTSP_1:def 15;
    thus (a+b)*x = [(   .<GF>) =<*G,0. >
    .= prod_ADD(G,F).([a*x1,a*x2],[b*x1,b*x2]) by A2,PRVECT_3:def 1
    .= prod_ADD(GF).prod_MLT(G,).a,x1,2)[*x1,*] byjava.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
    .= a*x  java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 45
  end;
end;


java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
  let G,F be scalar-associative non empty ModuleStr over K;
  cluster [:G,F:] -> scalar-associative .xy)= *xy*>)
  correctness
  proof
    let a,b be Element of K, x be Vector of [:G,F:];
     x1 Vector of ,x2be of  that
    A1:  x = [x1,x2] by SUBSET_1:43;
   : (*b)*x1=a * (b*x1)&(a*b)*x2 =a* (*x2) by VECTSP_1:def 16;
    thus (a*b)*x = [(a*b)*x1,(a*b)*x2] by A1,YDef2
    .= prod_MLT(G,F).(a,[b*x1,    :
    .= a*(b*x) by A1,YDef2;
  end;


ion
  let K be Ring;
  let G, F be java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 51
  cluster [:G,F:] -> scalar-unital;
  correctness
  proof
    let x be Vector of [:G,F:];
    java.lang.StringIndexOutOfBoundsException: Range [8, 5) out of bounds for length 39
    A1: x = [x1,x2] by SUBSET_1:43;
    1.K * x1 = x1 & 1.K * x2 = x2 by VECTSP_1:def 17;
    hence 1.K * x = x by A1,YDef2;
  end;
end;

definition
java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 16
  let G be VectSp        (,x2=<x1x2>by A1;
  redefine func <* G *> -> VectorSpace         y is Vector of product<G,*>byA5A6java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
  correctness
  proof
    let       hence thesis;
    assume S in rng <*G*>; then
    consider i be object such that
A1: i in dom <*G*> & <*G*>.i = S by FUNCT_1:def 3;
    reconsider i as Element of NAT by A1;
    dom <*G*> = {1} by FINSEQ_1:2,def 8; then
    i = 1 by A1,TARSKI:def 1;
    hence S is VectSp of  K by A1;
  end;
end;

definition
  let  be;
  let G, F be VectSp of K;
  redefine func <* G,F *> -> VectorSpace-java.lang.StringIndexOutOfBoundsException: Range [0, 49) out of bounds for length 9
  correctness
  proof
    let S be set;
    assume S in rng <*G,F*>; then
    consider i be object such that
A1:i  dom <GF> &<*G,F*.   java.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 54
*GF*> = 1,2} FINSEQ_1:,89; then
    i = 1 or i 2byA1TARSKI: 2java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
      isVectSp   K by ;
  end;
end;

theorem
  for X being& I.x1 <java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 64
  ex I being Function of X, product <*X       < +y1x+ >=x+y by A1,A9,A8;
  st I is one-to-one onto
  & ( for x being Vector of X holds I.x = <*x*    ;
  &  A100. <*G,*> = *0G0F*>
  & ( for v being Vector of X, r being Element of the carrier of K
  holds I.(r*v) = r*(I.v) )
  .0.) .java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 29
  proof
    let X be VectSp of K;
    set     thus for being Vector of  <G,*java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
    consider I be Function of CarrX,product <*CarrX*> such that
    A1: I is one-to-one onto
     forx stx n  I.  <**by  4;
    len carr <*X*> = len <*X*> by PRVECT_1
    A2:len carr <*X*> = 1 by FINSEQ_1:       = * -x1-*  of java.lang.StringIndexOutOfBoundsException: Range [56, 55) out of bounds for length 70
    A3:dom *X*> = {1 by FINSEQ_1:,def 8java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
    A4:<*X      =< 0G+- * by RLVECT_1: 10
    1 in {1} by TARSKI:def 1; then
    (carr <*X*>).1= the carrier of X by A3, thesisby RLVECT_1:def10;
    A5:carr <*X*> = <* CarrX *> by A2,FINSEQ_1:40; then
    
    A6: for x being Vector of X holds I.x =    thus   being Vectorof  <*G,F*>
ector of X  I.v+w = I.v + I
    proof
      let Vector of X;
      A8: I.v = <*v*> & I.w = <*w*> & I.(v+w) = <*v+w*> by A1;
      reconsider Iv = I.v, Iw = I.w as Element of product carr <*X*>;
      1 in {1} by TARSKI:def 1; then
      reconsider j1=1 as Element of dom carr <*X*> by A2,FINSEQ_1:2,def 3;
      A10: (addop <*X*>).j1 = the addF of (<*X*>.j1) by PRVECT_1:def 12;
      A11: ([:addop <*X*>:].(Iv,Iw)).j1
      = ((addop <*X*>).j1).(Iv.j1,Iw.j1) by PRVECT_1:def 8
      .= v+w by A10,A8;
      consider Ivw be Function such that
      A12: I.v + I.w = Ivw &       assume A12 x  *x1x2 *>
      & for i being object st i in dom carr <*X*> holds        y = [x1x2] as Vector of [:G,F:];
      by CARD_3:def 5;
A13:  Ivw = Seg 1  A2,FINSEQ_1def ;then
      reconsider Ivw as FinSequence by FINSEQ_1:def 2;
      len Ivw = 1 by A13,FINSEQ_1:def 3;
      hence thesis by A8,A12,A11,FINSEQ_1:40;
    end;
    A14: for v being Vector of X,
    r being Element of the carrier of K holds I.(r*v)=r*(I.v)
    proof
      let v be Vector of X, r be Element of the carrier of  K;
      A15: I.v = <*v*> & I.(r*v) = <* r*v *> by A1;
      1 in {1} by TARSKI:def 1; then
      reconsider j1=1 as Element of dom carr <*X*> by A2,FINSEQ_1:2,def 3;
      A17: (multop <*X*>).j1 = the lmult of (<*X*>.j1) by Def8;
      reconsider Iv = I.v as Element of product carr <*X*>;
      A18: ([:multop <*X*>:].(r,Iv)).j1
      = ((multop <*X*>).j1).(r,Iv.j1) by PRVECT_2:def 2
      .= r*v by A17,A15;
      consider Ivw be Function such that
      A19: r*(I.v) = Ivw & dom Ivw = dom carr <*X*>
      & for i being object st i in dom carr <*X*> holds Ivw.i in carr (<*X*>).i
      by CARD_3:def 5;
      A20: dom Ivw = Seg 1 by A2,A19,FINSEQ_1:def 3; then
      reconsider Ivw as FinSequence by FINSEQ_1:def 2;
      len Ivw = 1 by A20,FINSEQ_1:def 3;
      hence thesis by A15,A19,A18,FINSEQ_1:40;
    end;
    I.(0.X) = I.(0.X + 0.X)
    .= I.(0.X) + I.(0.X) by A7; then
    I.(0.X) - I.(0.X) = I.(0.X) + (I.(0.X) - I.(0.X)) by RLVECT_1:28
    .= I.(0.X) + 0.product <*X*> by RLVECT_1:15
    .= I.(0.X);
    hence thesis by A1,A6,A5,A7,A14,RLVECT_1:15;
  end;

definition
  let K be Ring;
  let G, F be VectorSpace-Sequence of K;
  redefine func G^F -> VectorSpace-Sequence of K;
  correctness
  proof
    let S be set;
    assume S in rng (G^F); then
    consider i be object such that
    A1: i in dom (G^F) & (G^F).i = S by FUNCT_1:def 3;
    reconsider i as Element of NAT by A1;
    per cases by A1,FINSEQ_1:25;
    suppose A2: i in dom G; then
      A3: (G^F).i = G.i by FINSEQ_1:def 7;
      G.i in rng G by A2,FUNCT_1:3;
      hence S is VectSp of K by A3,A1,Def3;
    end;
    suppose ex n be Nat st n in dom F & i=len G + n; then
      consider n be Nat such that
      A4: n in dom F & i=len G + n;
      A5: (G^F).i = F.n by A4,FINSEQ_1:def 7;
      F.n in rng F by A4,FUNCT_1:3;
      hence S is VectSp of K by A5,A1,Def3;
    end;
  end;
end;

theorem Th12:
  for X, Y being VectSp of K holds
  ex I being Function of [:X,Y:],product <*X,Y*>
  st I is one-to-one onto
  & ( for x being Vector of X, y be Vector of Y holds I.(x,y) = <*x,y*> )
  & ( for v, w being Vector of [:X,Y:] holds I.(v+w)=(I.v) + (I.w) )
  & ( for v being Vector of [:X,Y:], r being Element of K
  holds I.(r*v) = r*(I.v) )
  & I.(0.[:X,Y:]) = 0.product <*X,Y*>
  proof
    let X, Y be VectSp of  K;
    set CarrX = the carrier of X;
    set CarrY = the carrier of Y;
    consider I be Function of [:CarrX,CarrY:],product <*CarrX,CarrY*> such that
    A1: I is one-to-one onto
    & for x, y being object st x in CarrX & y in CarrY
    holds I.(x,y) = <*x,y*> by PRVECT_3:5;
    len carr <*X,Y*> = len <*X,Y*> by PRVECT_1:def 11; then
    A2:len carr <*X,Y*> = 2 by FINSEQ_1:44; then
    A3:dom carr <*X,Y*> = {1,2} by FINSEQ_1:2,def 3;
    len <*X,Y*> = 2 by FINSEQ_1:44; then
    A4:dom <*X,Y*> = {1,2} by FINSEQ_1:2,def 3;
    A5:<*X,Y*>.1 = X & <*X,Y*>.2 = Y;
    1 in {1,2} & 2 in {1,2} by TARSKI:def 2; then
    (carr <*X,Y*>).1 = CarrX & (carr <*X,Y*>).2 = CarrY
    by A4,A5,PRVECT_1:def 11; then
    A6:carr <*X,Y*> = <* CarrX,CarrY *> by A2,FINSEQ_1:44; then
    reconsider I as Function of [:X,Y:],product <*X,Y*>;
    A7: for x being Vector of X,y be Vector of Y holds I.(x,y) = <*x,y*> by A1;
    A8: for v, w being Vector of [:X,Y:] holds I.(v+w) = I.v + I.w
    proof
      let v, w be Vector of [:X,Y:];
      consider x1 be Vector of X, y1 be Vector of Y such that
      A9: v = [x1,y1] by SUBSET_1:43;
      consider x2 be Vector of X, y2 be Vector of Y such that
      A10: w = [x2,y2] by SUBSET_1:43;
      I.v = I.(x1,y1) & I.w = I.(x2,y2) by A9,A10; then
      A11:I.v = <*x1,y1*> & I.w = <*x2,y2*> by A1;
      A12:I.(v+w) =I.(x1+x2,y1+y2) by A9,A10,PRVECT_3:def 1
      .= <* x1+x2,y1+y2 *> by A1;
      reconsider Iv = I.v, Iw = I.w as Element of product carr <*X,Y*>;
      reconsider j1=1, j2=2 as Element of dom (carr <*X,Y*>)
      by A3,TARSKI:def 2;
      A14: (addop <*X,Y*>).j1 = the addF of (<*X,Y*>.j1) by PRVECT_1:def 12;
      A15: ([:addop <*X,Y*>:].(Iv,Iw)).j1
      = ((addop <*X,Y*>).j1).(Iv.j1,Iw.j1) by PRVECT_1:def 8
      .= x1+x2 by A14,A11;
      A16: (addop <*X,Y*>).j2 = the addF of (<*X,Y*>.j2) by PRVECT_1:def 12;
      A17: ([:addop <*X,Y*>:].(Iv,Iw)).j2
      = ((addop <*X,Y*>).j2).(Iv.j2,Iw.j2) by PRVECT_1:def 8
      .= y1+y2 by A16,A11;
      consider Ivw be Function such that
      A18: I.v + I.w = Ivw & dom Ivw = dom carr <*X,Y*>
      & for i being object st i in dom carr <*X,Y*>
      holds Ivw.i in carr (<*X,Y*>).i by CARD_3:def 5;
      A19: dom Ivw = Seg 2 by A2,A18,FINSEQ_1:def 3; then
      reconsider Ivw as FinSequence by FINSEQ_1:def 2;
      len Ivw = 2 by A19,FINSEQ_1:def 3;
      hence thesis by A12,A18,A15,A17,FINSEQ_1:44;
    end;
    A20: for v being Vector of [:X,Y:], r being Element of K holds
    I.(r*v)=r*(I.v)
    proof
      let v be Vector of [:X,Y:], r be Element of   K;
      consider x1 be Vector of X, y1 be Vector of Y such that
      A21: v = [x1,y1] by SUBSET_1:43;
      A22:I.v =I.(x1,y1) by A21 .= <*x1,y1*> by A1;
      A23:I.(r*v) =I.(r*x1,r*y1) by A21,YDef2 .= <* r*x1,r*y1 *> by A1;
      reconsider j1=1, j2=2 as Element of dom carr <*X,Y*> by A3,TARSKI:def 2;
      A25: (multop <*X,Y*>).j1 = the lmult of (<*X,Y*>.j1)
      & (multop <*X,Y*>).j2 = the lmult of (<*X,Y*>.j2) by Def8;
      reconsider Iv = I.v as Element of product carr <*X,Y*>;
      reconsider rr=r as Element of the carrier of K;
      ([:multop <*X,Y*>:].(rr,Iv)).j1 = ((multop <*X,Y*>).j1).(r,Iv.j1)
      & ([:multop <*X,Y*>:].(rr,Iv)).j2 = ((multop <*X,Y*>).j2).(r,Iv.j2)
      by PRVECT_2:def 2; then
      A26: ([:multop <*X,Y*>:].(rr,Iv)).j1 = r*x1
      & ([:multop <*X,Y*>:].(rr,Iv)).j2 = r*y1 by A25,A22;
      consider Ivw be Function such that
      A27: r*(I.v) = Ivw & dom Ivw = dom carr <*X,Y*>
      & for i being object st i in dom carr <*X,Y*>
      holds Ivw.i in carr (<*X,Y*>).i
      by CARD_3:def 5;
      A28: dom Ivw = Seg 2 by A2,A27,FINSEQ_1:def 3; then
      reconsider Ivw as FinSequence by FINSEQ_1:def 2;
      len Ivw = 2 by A28,FINSEQ_1:def 3;
      hence thesis by A23,A27,A26,FINSEQ_1:44;
    end;
    I.(0.[:X,Y:]) = I.(0.[:X,Y:] + 0.[:X,Y:])
    .= I.(0.[:X,Y:]) + I.(0.[:X,Y:]) by A8; then
    I.(0.[:X,Y:]) - I.(0.[:X,Y:])
    = I.(0.[:X,Y:]) + (I.(0.[:X,Y:]) - I.(0.[:X,Y:])) by RLVECT_1:28
    .= I.(0.[:X,Y:]) + 0.product <*X,Y*> by RLVECT_1:15
    .= I.(0.[:X,Y:]);
    hence thesis by A7,A8,A20,A1,A6,RLVECT_1:15;
  end;

theorem
  for X, Y being VectorSpace-Sequence of K
  holds ex I being Function of [:product X,product Y:],product (X^Y)
  st I is one-to-one onto
  & ( for x being Vector of product X, y being Vector of product Y
  holds ex x1, y1 being FinSequence st x = x1 & y = y1 & I.(x,y) = x1^y1 )
  & ( for v, w being Vector of [:product X,product Y:]
  holds I.(v+w) = I.v + I.w )
  & ( for v being Vector of [:product X,product Y:],
  r be Element of the carrier of K
  holds I.(r*v) = r*(I.v) )
  & I.(0.[:product X,product Y:]) = 0.product (X^Y)
  proof
    let X,Y be VectorSpace-Sequence of K;
    reconsider CX = carr X, CY = carr Y as non-empty non empty FinSequence;
    A1:len CX = len X & len CY = len Y
    & len carr (X^Y) = len (X^Y) by PRVECT_1:def 11;
    consider I be Function of [:product CX,product CY:],product (CX^CY)
    such that
    A2: I is one-to-one onto
    & for x, y being FinSequence st x in product CX & y in product CY
    holds I.(x,y) = x^y by PRVECT_3:6;
    set PX = product X;
    set PY = product Y;
    len carr (X^Y) = len X + len Y & len (CX^CY) =len X + len Y
      by A1,FINSEQ_1:22; then
    A3:dom carr (X^Y) = dom (CX^CY) by FINSEQ_3:29;
    A4:for k being Nat st k in dom carr (X^Y) holds carr (X^Y).k = (CX^CY).k
    proof
      let k be Nat;
      assume A5: k in dom carr (X^Y); then
      reconsider k1=k as Element of dom (X^Y) by A1,FINSEQ_3:29;
      A6: carr (X^Y).k = the carrier of ((X^Y).k1) by PRVECT_1:def 11;
      A7: k in dom (X^Y) by A1,A5,FINSEQ_3:29;
      per cases by A7,FINSEQ_1:25;
      suppose A8: k in dom X; then
        A9: k in dom CX by A1,FINSEQ_3:29;
        reconsider k2=k1 as Element of dom X by A8;
        thus carr (X^Y).k = the carrier of (X.k2) by A6,FINSEQ_1:def 7
        .= CX.k by PRVECT_1:def 11
        .= (CX^CY).k by A9,FINSEQ_1:def 7;
      end;
      suppose ex n being Nat st n in dom Y & k=len X + n; then
        consider n be Nat such that
        A10: n in dom Y & k=len X + n;
        A11: n in dom CY by A1,A10,FINSEQ_3:29;
        reconsider n1=n as Element of dom Y by A10;
        thus carr (X^Y).k = the carrier of (Y.n1) by A6,A10,FINSEQ_1:def 7
        .= CY.n by PRVECT_1:def 11
        .= (CX^CY).k by A11,A10,A1,FINSEQ_1:def 7;
      end;
    end; then
    A12: carr (X^Y) = CX^CY by A3,FINSEQ_1:13;
    reconsider I as Function of [:PX,PY:] ,product (X^Y) by A3,A4,FINSEQ_1:13;
    A13: for x being Vector of product X, y be Vector of product Y
    holds ex x1, y1 being FinSequence st x = x1 & y = y1 & I.(x,y) = x1^y1
    proof
      let x be Vector of PX, y be Vector of PY;
      reconsider x1=x, y1=y as FinSequence by NDIFF_5:9;
      I.(x,y) = x1^y1 by A2;
      hence thesis;
    end;
    A14: for v, w being Vector of [:PX,PY:] holds I.(v+w) = I.v + I.w
    proof
      let v, w be Vector of [:PX,PY:];
      consider x1 be Vector of PX, y1 be Vector of PY such that
      A15: v = [x1,y1] by SUBSET_1:43;
      consider x2 be Vector of PX, y2 be Vector of PY such that
      A16: w = [x2,y2] by SUBSET_1:43;
      reconsider xx1 = x1, xx2 = x2 as FinSequence by NDIFF_5:9;
      reconsider yy1 = y1, yy2 = y2 as FinSequence by NDIFF_5:9;
      reconsider xx12 = x1+x2, yy12 = y1+y2 as FinSequence by NDIFF_5:9;
      A17: dom xx1 = dom CX & dom xx2 = dom CX & dom xx12 = dom CX
      & dom yy1 = dom CY & dom yy2 = dom CY & dom yy12 = dom CY by CARD_3:9;
      I.v = I.(x1,y1) & I.w = I.(x2,y2) by A15,A16; then
      A18:I.v = xx1^yy1 & I.w = xx2^yy2 by A2;
      I.(v+w) = I.(x1+x2,y1+y2) by A15,A16,PRVECT_3:def 1; then
      A19:I.(v+w) = xx12^yy12 by A2; then
      A20: dom (xx12^yy12) = dom carr (X^Y) by CARD_3:9;
      reconsider Iv = I.v, Iw = I.w as Element of product carr (X^Y);
      reconsider Ivw = I.v + I.w as FinSequence by NDIFF_5:9;
      for j0 being Nat st j0 in dom Ivw holds Ivw.j0 = (xx12^yy12).j0
      proof
        let j0 be Nat;
        assume j0 in dom Ivw; then
        reconsider j=j0 as Element of dom carr (X^Y) by CARD_3:9;
        A22: Ivw.j0 = ((addop (X^Y)).j).(Iv.j,Iw.j) by PRVECT_1:def 8
        .= (the addF of (X^Y).j).(Iv.j,Iw.j) by PRVECT_1:def 12;
        per cases by A22,A3,FINSEQ_1:25;
        suppose A23: j0 in dom CX; then
          j0 in dom X by A1,FINSEQ_3:29; then
          A24: (X^Y).j = X.j0 by FINSEQ_1:def 7;
          A25: Iv.j = xx1.j & Iw.j = xx2.j by A23,A17,A18,FINSEQ_1:def 7;
          A26: (xx12^yy12).j0 = xx12.j0 by A23,A17,FINSEQ_1:def 7;
          reconsider j1=j0 as Element of dom carr X by A23;
          (the addF of (X^Y).j).(Iv.j,Iw.j)
          =((addop X ).j1).(xx1.j1,xx2.j1) by A24,A25,PRVECT_1:def 12
          .= (xx12^yy12).j0 by A26,PRVECT_1:def 8;
          hence Ivw.j0 = (xx12^yy12).j0 by A22;
        end;
        suppose ex n being Nat st n in dom CY & j0=len CX + n; then
          consider n be Nat such that
          A27: n in dom CY & j0=len CX + n;
          A28: len CX = len xx1 & len CX = len xx2 & len CX = len xx12
          by A17,FINSEQ_3:29;
          n in dom Y by A1,A27,FINSEQ_3:29; then
          A29: (X^Y).j = Y.n by A27,A1,FINSEQ_1:def 7;
          A30: Iv.j = yy1.n & Iw.j = yy2.n by A17,A18,A27,A28,FINSEQ_1:def 7;
          A31: (xx12^yy12).j0 = yy12.n by A27,A28,A17,FINSEQ_1:def 7;
          reconsider j1=n as Element of dom carr Y by A27;
          (the addF of (X^Y).j).(Iv.j,Iw.j)
          = ((addop Y).j1).(yy1.j1,yy2.j1) by A29,A30,PRVECT_1:def 12
          .= (xx12^yy12).j0 by A31,PRVECT_1:def 8;
          hence Ivw.j0 = (xx12^yy12).j0 by A22;
        end;
      end;
      hence thesis by A19,A20,CARD_3:9,FINSEQ_1:13;
    end;
    A32: for v being Vector of [:PX,PY:],
    r being Element of the carrier of K holds I.(r*v)=r*(I.v)
    proof
      let v be Vector of [:PX,PY:],r be Element of the carrier of  K;
      consider x1 be Vector of PX, y1 be Vector of PY such that
      A33: v = [x1,y1] by SUBSET_1:43;
      reconsider xx1 = x1, yy1 = y1 as FinSequence by NDIFF_5:9;
      reconsider rxx1 = r*x1, ryy1 = r*y1 as FinSequence by NDIFF_5:9;
      A34: dom xx1 = dom CX & dom yy1 = dom CY
      & dom rxx1 = dom CX & dom ryy1 = dom CY by CARD_3:9;
      A35:I.v = I.(x1,y1) by A33 .= xx1^yy1 by A2;
      A36:I.(r*v) = I.(r*x1,r*y1) by A33,YDef2 .= rxx1^ryy1 by A2;
      reconsider Iv = I.v as Element of product carr (X^Y);
      reconsider rIv=r*I.v as FinSequence by NDIFF_5:9;
      A37:dom rIv = dom carr (X^Y) by CARD_3:9;
      A38: dom (rxx1^ryy1) = dom carr (X^Y) by A36,CARD_3:9;
      for j0 being Nat st j0 in dom rIv holds rIv.j0 = (rxx1^ryy1).j0
      proof
        let j0 be Nat;
        assume A39: j0 in dom rIv; then
        reconsider j = j0 as Element of dom carr (X^Y) by CARD_3:9;
        A40: rIv.j0 = ((multop (X^Y)).j).(r,Iv.j) by PRVECT_2:def 2
        .= (the lmult of (X^Y).j).(r,Iv.j) by Def8;
        per cases by A3,A39,A37,FINSEQ_1:25;
        suppose A41: j0 in dom CX; then
          j0 in dom X by A1,FINSEQ_3:29; then
          A42: (X^Y).j = X.j0 by FINSEQ_1:def 7;
          A43: Iv.j = xx1.j by A41,A34,A35,FINSEQ_1:def 7;
          A44: (rxx1^ryy1).j0 = rxx1.j0 by A41,A34,FINSEQ_1:def 7;
          reconsider j1 = j0 as Element of dom carr X by A41;
          (the lmult of (X^Y).j).(r,Iv.j)
          = ((multop X ).j1).(r,xx1.j1) by A42,A43,Def8
          .= (rxx1^ryy1).j0 by A44,PRVECT_2:def 2;
          hence rIv.j0 = (rxx1^ryy1).j0 by A40;
        end;
        suppose ex n being Nat st n in dom CY & j0=len CX + n; then
          consider n be Nat such that
          A45: n in dom CY & j0=len CX + n;
          A46: len CX= len xx1 & len CX= len rxx1 by A34,FINSEQ_3:29;
          n in dom Y by A45,A1,FINSEQ_3:29; then
          A47: (X^Y).j = Y.n by A45,A1,FINSEQ_1:def 7;
          A48: Iv.j = yy1.n by A35,A45,A34,A46,FINSEQ_1:def 7;
          A49: (rxx1^ryy1).j0 = ryy1.n by A45,A46,A34,FINSEQ_1:def 7;
          reconsider j1 = n as Element of dom carr Y by A45;
          (the lmult of (X^Y).j).(r,Iv.j)
          = ((multop Y ).j1).(r,yy1.j1) by A47,A48,Def8
          .= (rxx1^ryy1).j0 by A49,PRVECT_2:def 2;
          hence rIv.j0 = (rxx1^ryy1).j0 by A40;
        end;
      end;
      hence thesis by A36,A38,CARD_3:9,FINSEQ_1:13;
    end;
    I.(0.[:PX,PY:]) = I.(0.[:PX,PY:] + 0.[:PX,PY:])
    .= I.(0.[:PX,PY:]) + I.(0.[:PX,PY:]) by A14; then
    I.(0.[:PX,PY:]) - I.(0.[:PX,PY:])
    = I.(0.[:PX,PY:]) + (I.(0.[:PX,PY:]) - I.(0.[:PX,PY:])) by RLVECT_1:28
    .= I.(0.[:PX,PY:]) + 0. product (X^Y) by RLVECT_1:15
    .= I.(0.[:PX,PY:]);
    hence thesis by A13,A14,A32,A2,A12,RLVECT_1:15;
  end;

theorem
  for G, F being VectSp of K holds
  ( for x being set holds
  ( x is Vector of product <*G,F*>
  iff ex x1 being Vector of G, x2 being Vector of F st x=<* x1,x2 *> ) )
  & ( for x, y being Vector of product <*G,F*>,
  x1, y1 being Vector of G, x2, y2 being Vector of F
  st x = <*x1,x2*> & y = <*y1,y2*>
  holds x+y = <*x1+y1,x2+y2*> )
  & 0.(product <*G,F*>) = <* 0.G,0.F *>
  & ( for x being Vector of product <*G,F*>,
  x1 being Vector of G, x2 being Vector of F
  st x = <* x1,x2 *> holds -x = <* -x1,-x2 *> )
  & ( for x being Vector of product <*G,F*>,
  x1 being Vector of G, x2 being Vector of F,
  a being Element of K
  st x = <*x1,x2*> holds a*x = <* a*x1,a*x2 *> )
  proof
    let G, F be VectSp of  K;
    consider I be Function of [:G,F:], product <* G,F *> such that
    A1: I is one-to-one onto
    & ( for x being Vector of G, y being Vector of F
holds I.(x,y) = <* x,y *> )
    & ( for v, w being Vector of [:G,F:] holds I.(v+w) = I.v + I.w )
    & ( for v being Vector of [:G,F:], r being Element of K holds
    I.(r*v)=r*(I.v) ) & 0. product <*G,F*> = I.(0.[:G,F:]) by Th12;
    thus
    A2:  for x being set holds
    ( x is Vector of product <*G,F*>
    iff ex x1 being Vector of G, x2 being Vector of F st x = <* x1,x2 *> )
    proof
      let y be set;
      hereby assume y is Vector of product <*G,F*>;
        then consider x be Element of the carrier of [:G,F:] such that
        A3: y = I.x by A1,FUNCT_2:113;
        consider x1 be Vector of G, x2 be Vector of F such that
        A4: x = [x1,x2] by SUBSET_1:43;
        take x1, x2;
        I.(x1,x2) = <*x1,x2*> by A1;
        hence y = <*x1,x2*> by A3,A4;
      end;
      now assume ex x1 being Vector of G, x2 being Vector of F
st y = <*x1,x2*>;
        then
        consider x1 be Vector of G, x2 be Vector of F such that
        A5: y = <*x1,x2*>;
        A6: I.[x1,x2] in rng I by FUNCT_2:112;
        I.(x1,x2) = <*x1,x2*> by A1;
        hence y is Vector of product <*G,F*> by A5,A6;
      end;
      hence thesis;
    end;
    thus
    A7: for x, y being Vector of product <*G,F*>,
    x1, y1 being Vector of G, x2,y2 be Vector of F
    st x = <*x1,x2*> & y = <*y1,y2*>
    holds x+y = <*x1+y1,x2+y2*>
    proof
      let x,y be Vector of product <*G,F*>;
      let x1,y1 be Vector of G, x2,y2 be Vector of F;
      assume A8: x = <*x1,x2*> & y = <*y1,y2*>;
      reconsider z=[x1,x2], w=[y1,y2] as Vector of [:G,F:];
      A9: z+w = [x1+y1,x2+y2] by PRVECT_3:def 1;
      I.(x1+y1,x2+y2) = <* x1+y1,x2+y2 *>
      & I.(x1,x2) = <* x1,x2 *> & I.(y1,y2) = <* y1,y2 *> by A1;
      hence <* x1+y1,x2+y2 *> =x+y by A1,A9,A8;
    end;
    thus
    A10: 0. product <*G,F*> = <* 0.G,0.F *>
    proof
      I.(0.G,0.F) = <* 0.G,0.F *> by A1;
      hence thesis by A1;
    end;
    thus for x being Vector of product <*G,F*>,
    x1 being Vector of G, x2 being Vector of F
    st x = <*x1,x2*> holds -x = <* -x1,-x2 *>
    proof
      let x be Vector of product <*G,F*>;
      let x1 be Vector of G, x2 be Vector of F;
      assume A11: x=<* x1,x2 *>;
      reconsider y = <* -x1,-x2 *> as Vector of product <*G,F*> by A2;
      x+y = <* x1+-x1,x2+-x2 *> by A7,A11
      .= <* 0.G,x2+-x2 *> by RLVECT_1:def 10
      .= 0.(product <*G,F*>) by A10,RLVECT_1:def 10;
      hence thesis by RLVECT_1:def 10;
    end;
    thus for x being Vector of product <*G,F*>,
    x1 being Vector of G, x2 being Vector of F, a being Element of K
    st x = <* x1,x2 *> holds a*x = <* a*x1,a*x2 *>
    proof
      let x be Vector of product <*G,F*>;
      let x1 be Vector of G, x2 be Vector of F, a be Element of K;
      assume A12: x = <* x1,x2 *>;
      reconsider y = [x1,x2] as Vector of [:G,F:];
      A13: <* x1,x2 *> = I.(x1,x2) by A1;
      I.(a*y) = I.(a*x1,a*x2) by YDef2
      .= <* a*x1,a*x2 *> by A1;
      hence thesis by A1,A12,A13;
    end;
  end;

Messung
CHZG
8010010093

¤ Dauer der Verarbeitung: 0.79 Sekunden  ¤

*© Formatika GbR, Deutschland