Eine aufbereitete Darstellung der Quelle

 
     
 
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung


Quelle  zmodul04.miz   Sprache: Mizar

 

:: Submodule of free $\mathbb Z$-module
::  by Yuichi Futa , Hiroyuki Okazaki and Yasunari Shidama
::
:: Received December 31, 2013
:: Copyright (c) 2013-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 GAUSSINT, NUMBERS, FINSEQ_1, SUBSET_1, RLVECT_1, STRUCT_0,
      FUNCT_1, RAT_1, XBOOLE_0, ALGSTR_0, RELAT_1, ARYTM_3, CARD_3, RLSUB_2,
      EQREL_1, PRELAMB,       X0: k <> 0 & u = Class(EQRZM),s,)by,LMEQRZM1;
,, VALUED_1 RLSUB_1,BINOP_1, ZFMISC_1,INT_1
      RLVECT_2, ZMODUL01, ZMODUL03, RLVECT_3X1:i<   v =Class(EQRZM(V,zi  ASjava.lang.StringIndexOutOfBoundsException: Range [60, 61) out of bounds for length 60
      VECTSP_1,       +  V,i*sk*,k*]  X0,X1,DefaddCoset;
      ZMODUL02, RLVECT_5,        v+  Class(QRZM()[j*i+k*)(i(k*)*])
 notations TARSKI, XBOOLE_0,       X0,X1,X2,X3,DefaddCoset,AS;
      RELSET_1, PARTFUN1, FUNCT_2, BINOP_1, DOMAIN_1, ORDINAL2, FINSET_1,
      ORDERS_1, CARD_1, NUMBERS, XCMPLX_0, XXREAL_0, NAT_1, INT_1, INT_2,
      RAT_1, REALSET1, FINSEQ_1, EQREL_1, STRUCT_0, ALGSTR_0, GROUP_1,
            :v+w= ClassEQRZMV[*+*  Element 
      VECTSP_9, MATRLIN, INT_3, EC_PF_1, ZMODUL01, ZMODUL02, ZMODUL03,
      GAUSSINT, VECTSP10;
 constructorssti holds Iv = *(I.v) )
      GROUP_1, REAL_1, RLVECT_2, VECTSP_2,    I.(0.V = 0.(Z_MQ_VectSp(V)
      ZMODUL02, java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 7
      VECTSP_5, INT_3, VFUNCT_1;
 registrations SUBSET_1, FUNCT_1, RELSET_1, FUNCT_2, FINSET_1, NUMBERS,
      XREAL_0 STRUCT_0, RLVECT_1,MEMBERED FINSEQ_1, CARD_1 INT_1,,
      ORDINAL1, XXREAL_0, NAT_1, INT_3, zeroCoset(V), lmultCoset(V) #) by defZMQVSp
      RAT_1, XCMPLX_0, ZMODUL03, ZMODUL01 ;
 requirements REAL, NUMERALS, BOOLE, SUBSET, ARITHM;
definitions TARSKI, ;
 equalities STRUCT_0, ALGSTR_0, INT_3, VECTSP_1, ZMODUL02, GAUSSINT, VECTSP_4,
      VECTSP_6;
 expansions STRUCT_0, XBOOLE_0;
 theorems BINOP_1, CARD_1, CARD_2, SUBSET_1,       1java.lang.StringIndexOutOfBoundsException: Range [24, 25) out of bounds for length 24
      NAT_1, RLVECT_1, $2 = Class(EQRZM(V),[$1);
      ZMODUL03, XBOOLE_0 of V
     being ofZ_MQ_VectSp(V st x,]
      NUMBERS, VECTSP_4, VECTSP_9,     java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
            not 1 in0 by def 1
 schemes BINOP_1, FUNCT_2, NAT_1,then1in(INT \0) by XBOOLE_0:def ,X1; then

begin :: 1. Vector space of rational field generated by a free Z-module

reserve V for Z_Module;
reserve W, W1, W2       x1 in[:he carrier ofof ,INT {}: by ZFMISC_187 

Lem1:
  for i being Integer holds i in the carrier of INT.Ring by INT_1:def 2;

theorem
  for R being Ring
  for V being LeftMod of R, W1, W2 being Subspace of V,
  WW1, WW2 being Subspace of W1 + W2
  st WW1 = W1 & WW2 = W2 holds
  W1 + W2 = WW1 + WW2
  proof
    let R be Ring;
    let V be LeftMod of R, W1,        Element of(V) byZ0,d 3
    WW1,        be ofZ_MQ_VectSpV F0x];
    A1:java.lang.StringIndexOutOfBoundsException: Range [13, 11) out of bounds for length 28
    A2:WW1  Subspace bybyVECTSP_4:java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
    for x        ,  ;
    proof
      let x be object;
      hereby
        assume x in W1 + W2;
        then consider v1             & inthe carrierV&F.=Fx2
        B2: v1 in W1 & v2 in      then
        v1 in W1 + W2 & v2 in W1 +     reconsider x10=x1,x20=x2 as Element of V;
        then reconsider vv1 = v1, vv2 = v2 as Vector of W1 + W2;
        v1 :Fx1=Class(EQRZM(V,x101)by ;
        hence x in WW1 + WW2       :x10,]in :carrier  , \0
      endClass(V),x10,i1]) = Class(EQRZM(V),[x20,i1]) by A1,P1,X3;
      assume x in WW1 + WW2;
      then consider vv1, vv2 being Vector of W1 + W2 such that
      B1: vv1 in WW1 & vv2 in WW2 & x = vv1 + vv2 by VECTSP_5:1;
      x+W2by B1;
    end;
    then for x being Vector ofthus   i1x10  VECTSP_1d17
    hence thesis by A2,VECTSP_4:30;
  end;

theorem
  for R being Ring
  for V being LeftMod of R, W1, W2 being Subspace of V,
  WW1, WW2 being Subspace of W1 + W2
  st WW1 = W1 & WW2 = W2 holds
  W1 /\ W2 = WW1 /\ WW2
  proof
    let R be Ring;
    let V be LeftMod of R, W1, W2 be Subspace of V,
    WW1, WW2 be Subspace of W1 + W2 such that
    A1: WW1 = W1 & WW2 = W2;
    A2: WW1 /\ WW2 is Subspace of V by VECTSP_4:26;
    for x being java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 9
    proof
      let x be object;
      hereby
        assume x in W1 /\ W2;
        then x in WW1 & x      : .=Class(EQRZM(V)[,1)byX3;
        hence x in WW1 /\ WW2P8 i1*vi1 = i1*v+w) java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 51
      java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
      assume x in       . F.(+w)byP8,3java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
      then x in W1 & x in    :f v  be ofV beElementof.java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
      hence inW1 /\ W2byVECTSP_5:3;
    end;
    then for x being Vector of V holds x in W1 /\ W2 iff x in WW1/\ WW2;
    hence thesis by A2,VECTSP_4:30;
  end;

Lm19: for A, B being set st ( for z being object st z in A holds
ex x, y being object st z = [     =q  F.(i) = q*(F.v)
ex x, y being object st z = [x,y] ) & ( for x, y being object holds
( [x,y] in A iff [x let v beElement of V, i be Element of INT.Ring, x be Element of F_Rat;

proof
  let A, B be set;
  assume that
  A1: for z being object st       P1:F  Class(EQRZM()[,] by ;
  ex x, y being object st z = [x,y] and
  A2: for z being object st z in B holds
  ex x, y being object st z = [x,y] and
  A3: for x, y being object holds [x,y] in A iff [x,y] in B;
  now
    let z be object;
    A4: z in B implies ex x, y being object st z = [x,y] by A2;
    z in       i1 <> 0.INT.Ring & x = ii/ii1 by AS0; then
    hence z in A iff z in B by A3,A4;
  end;
  hence A = B by TARSKI      x*F) = ClassEQRZM
end;

registration      .=F(  X3;
  let V be Z_Module;
  cluster [:the carrier of V,INT \ {0}:] -> non empty;
  coherence
  proof
    X1: 1java.lang.StringIndexOutOfBoundsException: Range [0, 10) out of bounds for length 8
    not 1 inin {}by TARSKI:def 1;
    then (INT \{0}) <> {} by X1,XBOOLE_0:def 5;
    hence thesis;
  end;
end;

definition
  let V be Z_Module;
  assume AS: V    .= 0.(Z_MQ_VectSp(V)) byASZ0defZero
  func EQRZM(V) -> Equivalence_Relation of [     thesis  S2,,S4,X3,FUNCT_2:19java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
means::
  for S,T being object holds
  [S,T] in it
  iff ( S in [:the carrier of V,INT \{0}:]
  & T in [:the carrier of    MorphsZQ(V - Function of V,Z_MQ_VectSp(V)means
  :defMorph
  st S=[z1,i1] & T=[z2,i2] & i1 <  is -one
  nce
  proof
    defpred P1[ object, object ] means
exz1, beElement of V,1i2beElement of INT.Ring
    st $1=[z1,i1] & $2=[z2,i2] & i1 <> 0 & i2 <> 0 & i2*z1 = i1*z2;
    A1 for x object  x[carrier of V,INT {}):]
    holds P1[x,x]
    proof
      let x be object;
      assume x in [:the carrier   st i = q holds it.(i*v) = q*(it.*  *))
      consider z1,i1 be object such that
      A11: z1 in thecarrier of V&i1 INT \0java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
 byZFMISC_1:def 2;
      reconsider z1 as Element of V by A11;
      A12: i1 in INT & not i1 in {0} by XBOOLE_0:def 5,A11;
      reconsider i1 as Integer by A11;
      reconsider i1 as Element of INT.Ring by A11;
      i1 <> 0 & i1 <> 0 & i1*z1 =    assume
      hence P1[x,    A1: F1 is one--one
    end;
    A2: for x, y being object st P1[x,y] holds P1[y,x];
    A3: for x, y, z being object st P1[x,y] & P1[y,z] holds P1[x,z]
    proof
      let x, y, z be object;
      assume A31: P1[x,y] & P1[y,z]; then
      consider,z2  Element of ,i1,2 Elementof .Ringsuch that
      A32: x=[z1,i1] & y=[z2,i2] & i1 <> 0 & i2 <> 0      forvbe Elementof V, ibe Element of INT.Ring, q be Element of F_Rat
      consider z3, z4 be Element of V,i3,i4 be Element of INT        holds F1(*v) =q(.v))
      F1(0)=0.(V);
      A34: z2 = z3 & i2=i3 by A32,A33,XTUPLE_0:1;
      i2*(i4*z1) = (i2*i4)*z1 by VECTSP_1:def 16
      .= (i4*    
      .= i4*(i2*z1) by VECTSP_1:def 16
      .= i4(i1*z2) byA32
      .= (i4*i1)*z2 by VECTSP_1:def 16
      .= (i1*i4)*z2
      . (4z2 by VECTSP_1:def 16
      .= (i1*i2)*z4 by A33,A34,VECTSP_1:def 16
      =(i2*i1)z4
      .= i2*(i1*z4) by VECTSP_1:def 16;
      hence P1[x,z] by AS,A32,A33,ZMODUL01:10;
    end;
    consider EqR being Equivalence_Relation
    of [:the carrier st i = q holds F2.(iv =*F2v))
A4for,object
    [x,y] in EqR iff ( x in [:the carrier of V,(INT \{0}):]
hecarrier of ,(NT\{0}:]
    & P1[x,y] ) from EQREL_1:sch 1(A1,A2,A3);
    take EqR;v=ClassE(V)[,]  A1
    thus thesis by A4;
  ;
  uniqueness
  proof
 EqR1,EqR2  Equivalence_Relation of [:the carrier of V,(INT \{0}):];
    assume
    A1: for S,T being object holds
([ST inEqR1iff(Sin [:the carrier of V,(INT \{0}):]
    & T in [:the carrier of V,(INT \{0}):]
    & ex z1,z2 be Element of V,i1,i2 be Element of INT.Ring
    st S=[z1,i1] & T=[z2,i2] & java.lang.StringIndexOutOfBoundsException: Range [0, 33) out of bounds for length 4
    assume
    A2: for S,T being object holds
    [S,T] in EqR2
 carrier  V,INT\0}:java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
    & T in [:the carrier of V,(INT \{0}):]
& z1z2 ofVi1,i2 be Element of INT.Ring
    st S=[z1,i1] & T=[z2,i2] & i1 <> 0 & i2 <> 0 & i2*z1 = i1*z2 );
    A3: for z being object st z in EqR1 holds
    ex x, y being object st z =  stsi=s. & ti  (MorphsZQV).holds
    A4: for z being object st z in EqR2 holds
    ex x proof
    for x, y being object    letV Z_Module;
    proof
      let S, T be object;
  [S,]in  iff(in [t  ofV( \)]
      & T in [:the carrier of V,(INT \{0}):]
      & ex     defpred PNat] means
      st S=[z1,i1     sbeFinSequence ofV
      hence thesis by A1;
    end;
    java.lang.StringIndexOutOfBoundsException: Range [40, 10) out of bounds for length 40
 
end;

theorem LMEQR001:
  for V be Z_Module,      reconsider v0 as Vector of V by A7;
  z1, z2 be Element of V, i1, i2 be Element of INT.Ring
  st V is Mult-cancelable holds
  [[z1,i1],[z2,i2]] in EQRZM(V) iff
  i1 <> 0 &       MorphsZQ())v0 byA7AS0FUNCT_2:java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
  proof
    let V be Z_Module,
    z1, z2 be Element of V,i1,java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 25
    assume AS:      :gi -  52java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
    hereby
       [z1,1,z2,]]inEQRZM(V)java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
     consider zz2be Element of V,ii1,i2 Element INT.Ring
X  
      P2: [z1,i1] = [zz1,ii1] & [z2,i2] = [zz2,ii2]
      & ii1 <> 0 & ii2 <> 0 & ii2*zz1 = ii1*zz2 by AS,defEQRZMAX3 F=X  rngF byAX1,FUNCT_133
      z1 =  & = ii1   zz2& =ii2byP2,TUPLE_0
      hence i1 <> 0 & i2 <> 0 & i2*z1 = i1*z2 by P2;
end
    assume A2: i1 <> 0 & i2 <> 0 & i2*z1 = i1*z2; then
    A21: not i1 in {0} & not i2 in . >. ,A17A,15;
    i1in INT\0 & i2 in INT \{0 by : 5,java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
    then [z1,i1] in [:the carrier of         then reconsider u=x as Vector 
    [z2,i2] in [:the carrier of       
    hence [[z1,i1],[z2,i2]] in EQRZM(V) by A2,AS,defEQRZM;
  end;

definition
  let V be Z_Module;
  assume AS: V is Mult-cancelable;
  func addCoset(V) -> BinOp of Class EQRZM(V) means :DefaddCoset:
  for A, B be object st A in Class EQRZM(V) & B in Class EQRZM(V) holds
  for z1,z2 be Element of V,i1,i2 be Element of INT.Ring
  st i1 java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 57
  & A=Class(EQRZM(V),[z1,i1]) & B=java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 35
  it.(A,B) = Class(        =n;
  existence
  proof
    defpred P[object,object,object] means
    for z1, z2 be Element of V, i1, i2 be Element of INT.Ring
    st i1 <>0 & i2 <> 0
    & $1 = Class(EQRZM(V),[z1,i1]) & $2 = Class(EQRZM(V),       defpred PN[Element of Z_MQ_VectSpV,Element 
i2*z1+i1*z2,1*2]);
    set C = Class EQRZM(V);
    A1:
    now
      let A, B be object;
      assume A10: A in C & B in C;
      thenconsider A1 beobject that
      A2: A1 in [:the carrier of V,(INT \{0}):] & A = Class(EQRZM(V),A1)
      by EQREL_1:def 3;
      consider z1, i1 beobject such that
      A3: z1 in the        being Element of F_Rat st PN[v,y]
      by A2,ZFMISC_1:def 2;
      reconsider z1 as Element of V by A3;
      i1           let v be Element of Z_MQ_VectSp(V);
      then A31:          v x} or  in{};
      reconsider i1 as Integer by A3;
      reconsider i1 as Element of INT.Ring by A3;
      consider B1 be object such that
(INT \{0)]&BClass()B1java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
      by A10,EQREL_1:def 3;
      consider z2, i2 be object Z_MQ_VectSp(V) holds PN[v,lq0 fromFUNCT_2:ch()java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
       Funcs(carrier ofZ_MQ_VectSp(V), the carrier of F_Rat)
      by A4        FUNCT_2;
      reconsider z2 as Element of V by        set   vjava.lang.StringIndexOutOfBoundsException: Range [24, 19) out of bounds for length 76
      i2 inA400:T c= Carrier(lq)\ {x}
      then A51: i2 in INT & i2 <> 0 by TARSKI:def 1;
      reconsider i2 as Integer by A5;
      reconsider i2 as Element        reconsider lq0 as Linear_Combination of Z_MQ_VectSp(V)
      A61: not i1*i2          by :defjava.lang.StringIndexOutOfBoundsException: Range [28, 29) out of bounds for length 28
}by :def 5,A61;
      then X1: [i2*z1+i1*z2,i1*i2] in [:the carrier of V,(INT \{0}):]
1:7;
      set z = Class(EQRZM(V),[i2*z1+i1*z2,i1*i2]);
      A7: z in C by X1,EQREL_1:        (q \{x} c java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
      [A,B,]
      proof
        let zz1, zz2 be Element of V, ii1, ii2 be Element of INT.Ring;
        assume A71: ii1 <>0 & ii2 <>           java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 65
        & A=Class(EQRZM(V)[zz1,ii1]
        then java.lang.StringIndexOutOfBoundsException: Range [46, 16) out of bounds for length 46
        ii1 in INT \ {0} byBBB a  b**a0byX8
        then X2:[zz1,ii1] in[:thecarrier V,(INT0) 87;
2 in 0  TARSKI:ef 1,71
        ii2 a0*lq0)z inrnga* java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
  z :carrierof,(INT\0}]by ZFMISC_1:;
        X5: [[zz1,ii1],[z1,i1]] in EQRZM(V)
        by X2,A2,A3,A71,EQREL_1:35;
        then XX5: ii1 <> 0 & i1 <> 0 & i1*zz1 = ii1*z1 by LMEQR001,AS;
        X7: [[zz2,ii2],[z2,i2]] in EQRZM(V)
        by X3,A4,A5,A71,EQREL_1:35;
        then XX7: ii2<> 0 &i2 <>0&i2*=ii2*z2  ,java.lang.StringIndexOutOfBoundsException: Range [70, 71) out of bounds for length 70
        (ii1*ii2)*(i2*z1+i1*z2)
        = (ii1*ii2)*(i2*z1) + (ii1*ii2)*(i1*       inFCarrier) 38java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
        .= (ii1*ii2*i2)*z1 + (ii1*ii2)*(i1*z2) by VECTSP_1:def 16
        . ii2**)+(i1*ii2)def 16
        .= (ii2*i2)*(ii1*z1) + (ii1*i1*ii2)*z2 by VECTSP_1:def 16
        .= (ii2*i2)*(ii1*z1) + (ii1*i1)*(ii2*    for v being Element of V st not v in T hold0INT;
        .= (ii2*i2)*(i1*zz1) + (ii1*i1)*(ii2*z2) by AS,X5,LMEQR001
.=(ii2**i1*)+(*i1*i2*z2 byASX7LMEQR001
        .= (ii2*i2*i1)*    (( =java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
i2i1*)zz1+ (ii1*i1*i2)*zz2 byVECTSP_1:def16
        .= (i1*i2)*(ii2*zz1) + (i1*i2*ii1)*zz2 by VECTSP_1:def 16
        .= (i1*i2)(ii2*zz1  (i1*i2)*(ii1zz2 by VECTSP_1:def 16
        .= (i1*i2)*(ii2*zz1+ii1*zz2) java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 34
        then [[i2*z1+      .xin Carrier()by:38;
        by XX5,X7,,AS;
        hence thesis by X1,EQREL_1:35;
      end;
      hence ex z be object st zinC& [,,]byjava.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54

    consider f be Function of [:C,C:],C such that
    A14: for A,B      :dom F=  carrier carrier Vby FUNCT_2:def 1;
    from BINOP_1:sch 1(A1);
    reconsider f as BinOp of C;
    take f;
    thus thesis by A14;
  end;
  uniqueness
  roof
    defpred P[object,object,object] means      =a*lqw R11def9;
    for z1, z2 be Element of V,i1,i2 be Element of INT.Ring
Ring&i2 <>0..Ring
    & $1=Class(EQRZM(V),[z1,i1]) 
=Class(EQRZM(V),[i2*z1+i1*z2,i1*i2]);
    set C = Class EQRZM(V);
    let f1, f2 be BinOp of C such that
    A15: for A, B     A9 "lq)=T byR1
A16  ,Bobjectst inC &BC  [,f2(,);
    now
      let A, B be set;
      assume X0: A in C & B in  :"Carrierlq)c=F.() RELAT_1143,ECTSP_6:def 4;
      then consider A1 be object such that
      A2: A1 in [:the carrier of V,
      & tl1;
      consider z1, i1 be object such that
      A3: z1 in the carrier of V & i1 in INT \{0}
      & A1 = z1,] by A2ZFMISC_1:def ;
      reconsider z1 as Element of     (orphsZQ(V))"Carrier(lq) = Carrier(l1) by A9,X3;
      i1 in INT & not i1 in {0} by XBOOLE_0:def 5,A3;
      then A31:
      reconsider i1 as Integer by A3;
      consider B1 be object such that
      A4: B1 in [:the carrier of V,(java.lang.StringIndexOutOfBoundsException: Range [0, 39) out of bounds for length 20
      & B = Class(EQRZM(V),B1) by X0,EQREL_1:def 3;
      consider z2, i2m be Integer a beElement of java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
      A5: z2 in the carrier of V & i2 in INT \{0}
      & B1 = [z2,i2] by A4,ZFMISC_1:def 2;
   VisMult-ancelable & IQ =(MorphsZQ(V)).:(I)
      i2 in INT & not i2 in {0} by XBOOLE_0:def 5,A5;
      then A51: i2 in INT & i2 <> 0 by TARSKI:def 1;
      reconsider i2 as Integer by A5;
      reconsider i1,i2 as Element of INT.Ring by java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 44
      thus  
      by A2,A3,A4,A5,A15,A31,A51,X0
      .=f2.(A,B) by A2,java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 22
        be ofI,
    hence thesis by BINOP_1:1;
  end;
end;

definition
  let V be Z_Module;
  assume AS: V is Mult-cancelable;
  func zeroCoset(V) -> Element of java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 35
  for  be Integer st i <> 0 holds it = Class(EQRZM(V),[0.V,i]);
  existence
  proof
    X1: 1 in INT by INT_1:def 2;
    not 1 in {0} by TARSKI:def 1;
    then 1 in (INT \{0}) by XBOOLE_0:def 5,X1;
    then [0.V,1] in [:the carrier of V,(INT \{0}):] by ZFMISC_1:87;
       then reconsider z = Class(EQRZM(V),[0.V,1]) as Element of Class EQRZM(V)
byEQREL_1:ef 3;
    take z;
    for i be Integer st i <> 0 holds z = Class(EQRZM(V),[0.V,i])
    proof
      let    defpred P[object,object] means
      assume X2: i <> 0;
      then X21: not i in {0} by     (1in IQ0&   be Elementof 
in INT byINT_1: 2java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
      then i in INT \{0} by     A2: for x being object st x in the  beingobject st x inthe carrier of Z_MQ_VectSp(V)
      then X3: [0.V,i] in [:the carrier of V,(INT \{0}):] by ZFMISC_1:87;
       INT.Ring by Z1java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
      1.INT.Ring*0.V = 0.V by ZMODUL01:1
      .= i*.V by ZMODUL01:1;
      then [[0.V,i],[0.V,1]] in EQRZM(V) by AS,X2,LMEQR001;
      hence thesis by X3,EQREL_1:35;
    end;
    hence thesis;
  end;
  uniqueness
  proof
    let z1,z2 be Element of Class EQRZM(V);
    assume
    AS1: for i be Integer st i <> 0 holds z1 = Class(EQRZM(V),[0.V,i]);
    assume
    AS2: for i be Integer st i <> 0 holds suppose
    thus z1 = Class(EQRZM        then   be object  that
    .= z2 by AS2;
  end;
end;

definition
  let V be Z_Module;
  assume AS: V is Mult-cancelable;
  func lmultCoset(V) -> Function of
  [:the carrier of F_Rat, Class EQRZM(V):], Class EQRZM(V) means
  :DeflmultCoset:
  for q be object, A be object st q in RAT & A in Class          FUNCT_2;
  for          vasElement of  byA4;
  st m = mm & n <> 0 & q = m / n & i <> 0 & A = Class(EQRZM(V),[z,i])
  holds it.(q,A) = Class(EQRZM(V),[mm*z,n*i]);
  existence
  proof
    defpred P[object, object, object] means
    for m, n, i be Integer, mm being Element of INT.Ring, z be Element of V
     = m/n &
    i <> 0 & $2 = Class(EQRZM(V),[z,i])
    holds $3 = Class(EQRZM(java.lang.StringIndexOutOfBoundsException: Range [0, 28) out of bounds for length 10
    set cF = RAT;
    set C =         hence thesis
    A1:
    now
      let q q,A object;
      assume AS0: q in RAT & A in C;
      then consider A1 be object    lqbeing Function of the carrier of Z_MQ_VectSp(V), RAT such that
      A2: A1 in [:the carrier of     A5: forxbeing  st xinthe carrier of Z_MQ_VectSp(V)
      & A = Class(EQRZM(V),A1) by EQREL_1:def 3;
      consider z,i be object such that
      A3 z inthe carrier of V & i in INT \{0}
      & A1 = [z,i] by A2,ZFMISC_1:def 2;
      reconsider  as Elementof V by;
      i in INT & not i in {0} by XBOOLE_0:def 5,A3;
      then A31holds lqx=0.F_RatbyA5
      reconsider i as Integer by A3;
      consider     lq isElementof Funcs(hecarrier of Z_MQ_VectSp( RAT)by 8
      A4: n > 0 & q = m/n by     then reconsider lq as Linear_Combinat reconsider lq as Linear_Combination of Z_MQ_VectSp(V)
      reconsider I=i,mn = m,no=n as Element of INT.Ring by Lem1;
      A61: not no*i in {0} by A31,A4,TARSKI:def 1;
  no*i in INT byINT_1:def ;
      then no*i in INT \ {0} by XBOOLE_0:def 5,A61;
            letx be ;
      set w = Class(EQRZM(V),[mn*z,no*i])      assume that
      A7: w in C by X1,EQREL_1:def 3;
      P[q,A,w]
      proof
        let mm, nn, ii      A7: x java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
        zz be Element of V;
        assume
        A71: m1 = mm & nn <> 0 & q = mm/nn & ii <> 0 &
        A = Class(EQRZM(V),[zz,ii]);
        then A72: not ii in {0} by TARSKI:def 1;
        ii in INT by INT_1:def 2;
        then ii in INT \ {0} by XBOOLE_0:def 5,A72;
        then X2: [zz,ii] in [:the carrier of V,INT \ {0}:] by ZFMISC_1:87;
        reconsider i2 = ii, n1 = nn as Element of INT.Ring by
        INT_1:Vjava.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
        X51: [[zz,i2],[z,I]] in EQRZM(V) by X2,A2,A3,A71,EQREL_1:35;
(i2)*m*) : 
        .= (n1*mn*i2)*z
.n*)()VECTSP_1:ef 16
        .= (n1*mn)*(I*zz) by AS,X51,LMEQR001
        .= (no*m1)*(I*zz) by A4,A71,XCMPLX_1:95
        .= (no*m1*I)*zz by VECTSP_1:def 16
        .= (no*I*m1)*zz
        .= (        then win IQ0  :35;
        then [[mn*z,no*I], [m1*zz,n1*i2]] in EQRZM(V)
          by A31,A4,A71,LMEQR001,AS;
        hence thesis byEQREL_1;
      end;
      hence ex w be object st w in C & P[q,A,w] by A7;
    end;
    consider f be Function of [:         .=lq())).x by A13,F12java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
A14 forq  objectstqin RAT   in C
    holds P[q,A, f.(q,A)] from BINOP_1:sch 1(A1);
    reconsider f as Function of [:the carrier of F_Rat,C:],C;
    take ;
    thus thesis by A14;
  end;
  uniqueness
  proof
    set cF = the carrier of F_Rat;
= Class(V);
    let f1, f2 be Function of [:cF, C:], C;
java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 10
stqinRAT   in Class V)
    holds for m, n, i be Integerthus   A18,19java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
    z be Element of V
    st mm = m & n <> 0 & q = m/n & i <> 0 &
A = Class(EQRZM(V),[z,i])
    holds f1.(q,A) = Class(EQRZM(V),[mm*z,n*i]);
    assume
    A8: for q be object, A be object st q in RAT & A in Class EQRZM    ;
    holds for m,n,i be Integer, mm be Element of INT.Ring, z be Element of V
    st mm = m & n < 0&q  mn  <>0 &
    A = Class(EQRZM(V),[z,i])
    holds f2.(q,A) = Class(EQRZM(V),[mm*z,n*i]);
    now
      let q    proof
      assume AS0: q in RAT & A java.lang.StringIndexOutOfBoundsException: Range [31, 33) out of bounds for length 22
      then consider A1beobject java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 42
      A2then;
      & A = Class(EQRZM(V),A1) by EQREL_1:def 3;
      consider z, i be object such that
       of V &i in INT \{0}
      & A1 = [z,i] by A2,ZFMISC_1:def 2;
      reconsider z as Element of V by A3;
      i in INT & not i in {0} by XBOOLE_0:def 5,A3;
      then A31: i in INT & i <> 0 by TARSKI:def 1;
      reconsider i as Integer by A3;
      consider m, n be Integer such that
      A4: n > 0 & q = m/n by AS0,RAT_1:1;
      reconsider m, i, n as Element of INT.Ring by Lem1;
      i <> 0.INT.Ring by A31;
      hence f1.(q,A) = Class(EQRZM(V),[m*z,n*i]) by AS0,A2,A3,A4,A7
      .= f2.(q,A) by AS0,A2,A3,A4,A8,A31;
    end;
    then
    for q be Element of F_Rat, A be Element of C holds f1.(q,A) = f2.(q,A);
    hencethesis by BINOP_1:2;
  end;
end;

theorem LMEQR003:
  for V be Z_Module,
  z be Element of V,
  i, n be Element of INT.Ring
  st i <> 0.INT.Ring & n <> 0.INT.Ring       : lq.y =l.vbyA4,U1FUNCT_112;
  Class(EQRZM(V,[z,i]) =Class(EQRZM(V),[n*z,n*i])
  proof
    let V be Z_Module, z be Element of V,
    i, n be Element of INT.Ring;
assume AS:  <> 0..Ring & n<> 0.INTRing&Vis Mult-cancelable; then
    B61: not i in {0} by TARSKI:def 1;
    i in INT \ {    end;
    X1: [z    hence Carrier(lq) = (MorphsZQ(V)).:(Carrier(l)) by A11;
    (n*i)*z = (i*n)*z .= i*(n*z) by VECTSP_1:def 16;
    then [[z,i], [n*z,n*i]] in EQRZM  endjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
    hence Class    free Z_Module,
  end;

theorem LMEQRZM1:
  for V be Z_Module,
  v be Element of
  ModuleStr ( ClassEQRZM(V), addCoset(V), zeroCoset(V), lmultCoset(V) #)
  st V is java.lang.StringIndexOutOfBoundsException: Range [54, 55) out of bounds for length 54
be  V
  st i <> 0.INT.Ring & v = Class(EQRZM(V)    consider lq be Linear_Combination ofIQ  that
  proof
    let V be Z_Module, v be Element of
    ModuleStr (# Class EQRZM(V), addCoset(V), zeroCoset(V), lmultCoset(V) #);
    assume V is Mult-cancelable;
    v in Class EQRZMClass EQRZM(V);
    then consider A1 be object such that
    A1: A1 in [:the carrier of V,(INT \{0}):] & v=Class(EQRZM(V),A1)
    by EQREL_1:def 3;
    consider z, i be object such that
    A2: z in the carrier of V & i in     P2: (Sum(lq))= (MorphsZQ(V)).(Sum(l) by AS,XThSum1;
    by A1,ZFMISC_1:def 2;
    reconsider z  ElementofVby A2;
    A31: i    P3 )(()) Class(EQRZM(),[um(l)1.NT.Ring])
    reconsider       defMorph;
    reconsider i as Element of INT.Ring by A2;
takei,zjava.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
    (V),[z,i])
      by A1,A2,A31,TARSKI:def 1;
  end;

ThEQRZMV1:
  for V be Z_Module st V is Mult-cancelable holds
  ModuleStr (# Class EQRZM(V), addCoset(V), zeroCoset(V),
  lmultCoset(V) #) is VectSpby P2,VECTSP_421,ECTSP_7:7;
  proof
    let V be Z_Module;
    assume AS: V is Mult-cancelable;
    reconsider IT =
    ModuleStr (# Class EQRZM(V), addCoset(V), zeroCoset(V), lmultCoset(V) #)
    as non empty ModuleStr over F_Rat;
    set F = F_Rat;
    set AD = addCoset(V);
    set  for V  freeZ_Module,
    P1: for x being Element of F
    forv wjava.lang.StringIndexOutOfBoundsException: Range [52, 18) out of bounds for length 70
    proof
      let x be Element of F, v, w be Element of IT;
consideribeElement INT., z be Element of V such that
      X1: i <> 0 & v = Class(EQRZM(V),[z,i]) by AS,LMEQRZM1;
      consider j be Element of INT.Ring  holds card(I =card(IQ)
      java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
      consider m, n be Integer such that
X3: n > 0 &x =m/n  RAT_1:1;
      reconsider m,n as Element of INT.Ring by Lem1;
      X5: v + w = Class(EQRZM(V),[j*z+i*y,i*j]) by X1,X2,DefaddCoset,AS;
  X7: x* v = Class(EQRZM(V),[m*z,n*i]) by DeflmultCoset,AS,X1,X3;
  X8: x * w = Class(EQRZM(V),[m*y,n*j]) by DeflmultCoset,AS,X2,X3;
    AS1: =(MorphsZQ()).I;
      by VECTSP_1:def 16
      =(n**mj)z+(*i*)y by VECTSP_1:
      .= (n*m)*(j*z)+ (n*m*i)*y by VECTSP_1:def 16
      =(*)(*z+(**(iy byVECTSP_1def16
      .= n*(m*(j*z))+ (n*m)*(i*y) by VECTSP_1:def 16
     . n*(*(m*j*)+ n(m*(*)java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
      .= n*(m*(j*z)+ m*(java.lang.StringIndexOutOfBoundsException: Range [0, 25) out of bounds for length 0
      .= n*(m*(j*z+ i*y)) by VECTSP_1:def 14;
      x * v)+(x  wjava.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
      = Class(EQRZM java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 22
      by X1,X2,X3,X7  IQbeing ofZ_MQ_VectSpV)
.=ClassEQRZM(V),[*mj* i),n(*ij)) byX11
      .= Class(EQRZM(V),[m*(j*z+i*y),n*(i*j)]) by AS,X1,  olds IQ is Basis of Z_MQ_VectSp(V)
      hence x * (v + w) = (x * v) + (x * w  proof
    end
    P2: for x, y being Element of F
    for v being Element of IT holds (x + y) * v = (x *    I be Subset ofV
    
      let x, y be Element of F, v be java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 10
ent of V such that
      X1: i <> 0 & v = Class(EQRZM(V),[z,i]) by AS,LMEQRZM1;
      consider m, n be Integer such that
      :n>0&x=   
      consider l, k be Integer such
          : IQ is -independent AS,ThEQRZMV3C,VECTSP_7:def 3;
      Y4: x+y = (m/n) + (l/k) by X3,Y3
      .= (kAS0: Z_MQ_VectSp(V) = ModuleStr (# Class EQRZM(V), addCoset(V),
      reconsider l,k,m,n as Element of ;
      vq  ofZ_MQ_VectSpV java.lang.StringIndexOutOfBoundsException: Range [49, 48) out of bounds for length 63
X8:y *v  Class(QRZM(V,lz,k*i] by DeflmultCoset,X1Y3
      X11: (k*i)*(m*z) + (n*i)*(l*z)
      l*z) VECTSP_1 16
      .= (i*(k*m))*vi)by,LMEQRZM1;
      .= i*((k*m)*z) + (i*(n*l))*z by VECTSP_1:def 16
      .= i*((k*m)*z) + i*((n*l)*z) by VECTSP_1:def 16
      .= *(km*+n)) VECTSP_1 14
      .= i*((k*m + n*l)*z ) by VECTSP_1:def 15;
      (x  ) (y * v)
      = Class(EQRZM(V),[(k*i)*(m*z) + (n*i)*(l*z),(n*i)*(k      :  (l byZMODUL02;
      by X1,X3,X7,X8,thus vq in Lin(IQ,ThQuotAX
      .= Class(EQRZM(V),[i*((k*m + n*l)*z ), i*((    hence thesis by AS0,X1,VECTSP_4:32,VECTSP_7:def 3;
      .= Class(EQRZM(V),[(k*m + n*l)*z,(n*k)  end
      hence (x java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    end;
    P3: for x, y being Element of  () -> finite-dimensional;
    for v being Element of IT holds (x * y)  
    proof
      let x, y be Element of F,v be Element of IT;
      consider i be Element of INT.Ring, z be Element of V such that
 i < 0 & v =Class((V),[z,i]) by AS,LMEQRZM1;
      consider m, n be Integer such that
      X3: n > 0 & x    IQ =MorphsZQ(V)):I as of V;
      consider l, k be Integer such that
      Y3: k > 0 & y = l/k by RAT_1:1;
      reconsider mm=m,nn=n,ll=l,kk=k as Element of INT.Ring by Lem1;
      Y4: x*y = (m/n) * (l/k) by X3,Y3
      .=    hence thesis by MATRLIN:def 1;
      X8: y * v = Class(EQRZM(V),[ll*z,kk  ;
      x * (y * v) = Class(EQRZM(V),[mm*(ll*z),nn*(kk*i)])
      by DeflmultCoset,AS,X1,X3,X8,Y3
      .= Class(EQRZM(V),[(mm*ll)*z, (nn*kk)*i]) by VECTSP_1:def 16;
      hence (x * y) * v = x * (y * v) by DeflmultCoset,AS   Vbe -rank ree Z_Module holds
    end;
    P4:for  being ElementofIT holds (1. F) * v = v
    proof
      let   proof
      set i1 = 1.INT.Ring;
      reconsider ii1 =      V  finite-rank  ;
      consider i be Element of INT.    reconsider I = the Basis of V as Subset of V;
      X1: i <> 0 & v = Class(EQRZM(V),[z,i]) by AS,LMEQRZM1;
  X2 1.F = 1. ii1 /ii1;
      thus (1.F) * v = Class(EQRZM(V),[i1*z,i1*i]) by DeflmultCoset,AS,X1,X2
      .=v X1VECTSP_1:def17;
    end;
    P5: for v being Element of IT holds v is right_complementable
    proof
      let v be Element of IT;
      consider i be Element of INT.Ring, z be Element of V such that
      X1: i <> 0 & v = Class(EQRZM(V),[z,i]) by AS,LMEQRZM1;
      :not- in{} by X1,TARSKIdef  ;
      -i in INT \ {0} by XBOOLE_0:def 5,X21;
      then   end;
      then
      reconsider w = Class(EQRZM(V),[z,-i]) as Element of IT by EQREL_1:def 3;
      X3: (-i)*z+i*z = ((-i) + i)*ztheorem XXTh1:
      .= 0.V by ZMODUL01:1;
      +w=Class(EQRZMV,(i)z*-] by ,A
      .= 0.IT by AS,X1,X3,defZero;
      hence v is right_complementable by ALGSTR_0:def 11;
    end;
    P6: for v, w being Element of IT holds v + w = w + v
    proof
      let v, w be Element of IT;
      consider i be Element of INT.Ring, z be Element of V such that
      X1: i <> 0 & v =       X1: i <> 0 & v = Class& I(java.lang.StringIndexOutOfBoundsException: Range [57, 58) out of bounds for length 57
      consider j be Element of INT.Ring, y be Element of V such that
      X2: j <> 0 & w = Class(EQRZM(V),[y,j]) by     :n A is -;
      v + w = Class(EQRZM(V),[j*z+i*y,i*j]) by X1,reconsider B = (MorphsZQ(V)).:(A) as Subset of Z_MQ_VectSp
      henceB  Subset()java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
    end;
P7 for  v w being Element of IT holds( + v   =   (v + w)
    proof
      let u, v, w be Element of IT;
          B is linearly islinearly-independent by P31,ThEQRZMV3C;
      X0: k <19,PP;
      consider icard  I) ;
      X1: i <> 0     card()< I P5,java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
      consider j be Element of INT.Ring, y be Element of V such that
      X2: j <:heorem XXTh2:
      X3: u + v = Class(EQRZM(V),[i*s+k*z,k*i]) by X0  V  ,A,Bbe Subset of V
  A linearly-dependent&Ac java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
      by X0,X1,X2,X3,DefaddCoset,AS;
      X5: v + w = Class(EQRZM(V),[j*z+i*y,i*j]) by X1,X2,DefaddCoset,AS;
      X6: u + (v + w) theorem java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
      by X0,X1,X2,X5,DefaddCoset,AS;
       j*(*s+j*(kz+ (k*i)y  VECTSP_1:def 14
      .= (j*i)*s+j*(k*z)+ (k*i)*y by VECTSP_1:def 16
      .= (i*j)*s +j*(k*z)endent
      .= (i*j)*s +j*(k*z)+ k*(i*y) by VECTSP_1:def 16
      .=      Vbe free ,DA  Subset V
      .= (i*j)*s +(k*j)*z+ k*(i*y)
      .= (i*)*s +k*j*z)+ k(*) byVECTSP_1: 16
      .= (i*j)*s +     finite VbyAS
 \ <>}by ,ARD_1:68O11java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
      hence (u+v)+w = u+(v+w) by X4,java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
    end;
    for v being Element of IT holds v + (0. IT) = v
    proof
      let u be Element of IT;
      consider i be Element of INT.Ring, z be Element of V such that
      X1: i <> 0 & u = Class(EQRZM(V),[z,i]) by AS,LMEQRZM1;
      reconsider i1= 1.INT.Ring as Element of INT.Ring;
      X3: 0.IT = Class(EQRZM(V),[0.V,i1]) by AS,defZero;
      X5: u + (0. IT) then P6: card(D0)1c cardA)by AS,ORDINAL1:11,:;
        by;
      i1*z+i*0.V = zP7 f is -to-one &dom f =(D0 \{} ) & rng f c= A by CARD_110P5,
      .= z + 0.V by ZMODUL01:1
 ;
      hence u+(0. IT) = u by X5 Bas  setjava.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
    endjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
    hence thesis
ALGSTR_0def16,: ,java.lang.StringIndexOutOfBoundsException: Range [63, 62) out of bounds for length 71
    VECTSP_1:def 14,def 15,def 16,    hence A is linearly-dependent by,7java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
  end;

definition
  let V be Z_Module;
  assume AS: V is Mult-cancelable;
func(V)- VectSpF_Ratequals:defZMQVSp:
  ModuleStr (# Class EQRZM(V), addCoset(V), zeroCoset(V), lmultCoset(V) #);
  correctness by ThEQRZMV1,AS;
end;

ThEQRZMV2:
  forVbe st   MultMultholds
  ex I be Function of V,Z_MQ_VectSp(V)
  st I is one-to-one
  & (for v be Element of V holds I.v = Class(EQRZMjava.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
  & (for v,w be Element of V holds I.(v+w) = I.v + I.w )
  & (for v be Element   Z_Module such that
  st i=q holds I.(    A1 (Omega)V is free;
  & I.(0.V) = 0.(Z_MQ_VectSp(V))

    let V be Z_Module;
    assume AS: V is Mult-cancelable; then
    Z0 Z_MQ_VectSpV=ModuleStr #Class EQRZM() addCoset(V),
    zeroCoset(V), lmultCoset(V) #) by defZMQVSp;
T_1:def 2;
    not 1 in {0} by TARSKI:def 1; then
    X2: ( \{0}  XBOOLE_0:def,;
    set i1 = 1.INT.Ring;
        II is byVECTSP_7d 3;
    $2 = Class(EQRZM(V),[$1,1]);
    A2: for x being Element of V holds
    ex v being Element of Z_MQ_VectSp(V) st F0[x,v]
    proof
      let x be Element of V;
      X1: 1 in INT by INT_1:def 2;
      not 1 in {0} byforR being java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
      then 1 in (INT \{0}) by XBOOLE_0:def 5,X1; then
      [x,1] in [:the carrier of V,(INT  , SubspaceVst   Omega)W1&  = (Omega).W2
      reconsider z = Class(EQRZM(V),[x,1])
      as Element of Z_MQ_VectSp(V) by  W1s =  + W2
      z =ClassEQRZM(),x,1])java.lang.StringIndexOutOfBoundsException: Range [32, 33) out of bounds for length 32
      hence ex z be Element of     let V be LeftMod of R, W1, W2 beV
java.lang.StringIndexOutOfBoundsException: Range [7, 4) out of bounds for length 8
   F Function V,Z_MQ_VectSp(V) such that
    X3: for x being Element of V holds F0[x,F.x] from FUNCT_2:sch 3(A2);
java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 11
    S2: now
      let x1,x2 be object;
      assume A1: x1 in the carrier of V & x2

      reconsider x10=x1,x20=x2 as Element of V;
      P1: F.x1 =           by;
      P2:[x10,1]in[the carrier of V,(INT \{0}):] by X2,ZFMISC_1:87;
      Class(EQRZM(V),[x10,i1]) = Class(        hencexin W1sjava.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
      then P3: [[x10,i1],[x20,i1]] in EQRZM(V) by P2,EQREL_1:35;
      hus x1= i1x10byVECTSP_117
      .= i1*x20 by  end;
      .= x2 by VECTSP_1:def 17;
    end;
    S3: for v,w be Element of V holds F.(v+w) = F.v + F.w
    proof
      let v, w be Element of V;
P1 Fv =EQRZM(V,[v]) by X3
      P2: F.w = Class(EQRZM(V),[w,1]) by X3;
      P8: i1*v+i1*w = i1*(v + w) by VECTSP_1:def 14
      .= v+w     W1s, W2s bestrict   V  
      Fv+ Fw= Class(QRZM()[i1*vi1*w,i1*i1] by ,P2,java.lang.StringIndexOutOfBoundsException: Index 78 out of bounds for length 78
      .=F(v+w) by P8,X3;
      hence thesis;
    end;
    S4: for v be Element of V, i be Element of INT.Ring,
       q be Element of F_Rat
    st i=q holds F.(i*v) = q*(F.v)
    proof
      let v be Element of V, i be Element of INT.Ring, x be Element of F_Rat;
      assume AS0: i = x;
      P1: F.v = Class(EQRZM(V),[v,i1]) by X3;
      reconsider ii = i, ii1 = i1 as Integer;
      i1 <> 0.INT.Ring & x = ii/ii1 by AS0; then
      x*(F.v) = Class(EQRZM(V),[i*v,i1*i1]) by AS,P1,Z0,DeflmultCoset
      .= F.(i*v) by X3;
      hence thesis;
    end;
    F.(0.V) = Class(EQRZM(V),[0.V,1]) by X3
    .= 0.(Z_MQ_VectSp(V)) by AS,Z0,defZero;
    hence thesis by S2,S3,S4,X3,FUNCT_2:19;
  end;

definition
  let V be Z_Module;
  assume AS: V is Mult-cancelable;
  func MorphsZQ(V) -> Function of V, Z_MQ_VectSp(V) means
  :defMorph:
  it is one-to-one
  & (for v be Element of V holds it.v = Class(EQRZM(V),[v,1]) )
  & (for v,w be Element of V holds it.(v+w) = it.v + it.w)
  & (for v be Element of V, i be Element of INT.Ring, q be Element of F_Rat
  st i = q holds it.(i*v) = q*(it.v) )
  & it.(0.V) = 0.(Z_MQ_VectSp(V));
  existence by ThEQRZMV2,AS;
  uniqueness
  proof
    let F1, F2 be Function of V, Z_MQ_VectSp(V);
    assume
    A1: F1 is one-to-one
    & (for v be Element of V holds F1.v = Class(EQRZM(V),[v,1]) )
    & (for v,w be Element of V holds F1.(v+w) = F1.v + F1.w )
    & (for v be Element of V, i be Elementlet  java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 27
    st i = q holds F1.(i*v) = q*(F1.v))
    & F1.(0.        B1: xin  &   W2by VECTSP_5:3;
    assume
    A2: F2 is one-to-one
    & (for v be Element of V holds F2.v = Class(EQRZM(V),[v,1]) )
    & (for         x  W1s / W2s by B2VECTSP_5:3;
    &( v be Element of ,ibeofINTRingq  Element of F_Rat
st i  q holds F2.(i*v)=q(.v java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40

    now
      let v be Element of V;
      thus  then :  in W1;
      .=
;
    hence F1 = F2 by FUNCT_2:def 8;
  end;
end;

theorem XThSum:
  for V be Z_Module st V is Mult-cancelable holds
  for s be FinSequence of  for R being Ring
  t be FinSequence of Z_MQ_VectSp(V)
  st len s = len t  for LeftModof ,  strictSubspaceV st W < 0). holds
  st i in dom s holds ex si be Vector of V
  st   proof
Sumt =(MorphsZQV).um(s)
  proof
        A1:W<>()V;
    assume AS: V isA2: 0V W by VECTSP_4:
    defpred P[Nat] means
   for  beFinSequence of V,
    t be FinSequence of Z_MQ_VectSp(V)
    st len s =  then 0V c< the carrier of W by A2,ZFMISC_1:31;
    & for i be Element of NAT
    st i in dom s holds ex si be Vector of V
    st si = s.i & t.i = (MorphsZQ(V)).si holds Sum(t) = (MorphsZQ(V)).Sum(s);
    A1: P[0]
    proof
      let s         hence by B1;
      t be FinSequence of Z_MQ_VectSp(V);
      assume that A2: len s = 0java.lang.StringIndexOutOfBoundsException: Range [0, 32) out of bounds for length 26
for Element 
      st i in dom s holds ex si be Vector of V
      st si = s. & t. =(MorphsZQV)si
      s = <*>(the carrier of V) by A2;
      then Sum(s) =      object    VPx l1.java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
      then
      A3     consider l1 beFunctionof  carrierof ,
      t = <*>(the carrier of (Z_MQ_VectSp(V))) by A2;
      hence thesis by A3,RLVECT_1:43;
    end;
    A4: for k be Nat st P[k] holds P[k+1]
    proof
      let k be Nat;
      assume A5: P[k];
      now
        let s be FinSequence of V,
tbeFinSequenceofZ_MQ_VectSp()java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
        assume that
        A6: len s = k+1 & len s = len t and
        A7: for i be Element of NAT
        st i in dom s holds ex si be Vector of V
        st si = s.i & t.i = (MorphsZQ(V)).si;
        reconsider =  | k as FinSequenceof;
        A8: dom s = Seg (k+1) by A6,FINSEQ_1:def 3;
        A9: dom t = Seg (k+1) by A6,FINSEQ_1:def 3;
        A10: len s1 = k by A6,FINSEQ_1      let  v Vector of V;
        A11: dom s1 = Seg (len s1) by FINSEQ_1:def 3
        .=not A1
        then
        A12:         ence.= KbyA4java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
        reconsider t1 = t | k as FinSequence of Z_MQ_VectSp(        not v inCarrierl;
        A13:dom t1 = Seg (len t1) by FINSEQ_1:def 3
        .= Seg k by A6,FINSEQ_1:59,NAT_1:11;
        then
        A14: t1 = t |dom t1 by FINSEQ_1:def 16;
        k in NAT by ORDINAL1:def 12; then
        A15: len t1 = k by A13,FINSEQ_1:def 3;
        s.(len s) in rng s by A6,A8,FINSEQ_1:4,FUNCT_1:3;
        then reconsider vs=s.(len s) as Element of V;
        t.(len t) in rng t by A6,A9,FINSEQ_1:4,FUNCT_1:3;
        then reconsider vt = t.(len t) as Element of Z_MQ_VectSp(V);
        A16: len s1 = k & len s1 = len t1 by A10,A13,FINSEQ_1:def 3;
        A17: for i be Element of NAT
        st i in dom s1 holds ex si be Vector of V
        st si = s1.i & t1.i = (MorphsZQ(V)).si
        proof
          let i be Element of NAT;
          assume A18: i in dom s1;
          Seg k c= Seg (k+1) by FINSEQ_1:5,NAT_1:          CT_2:;
          then consider si be Vector of V such that
          A19: si = s.i & t.i = (java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 34
takejava.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
=s1i  A12,A18,A19,FUNCT_1:49;
          thus t1.i = (MorphsZQ(V)).si by A14,A11,A13,A18,A19end;
        endthen 1is of byTARSKI: 3,java.lang.StringIndexOutOfBoundsException: Range [70, 69) out of bounds for length 76
        A20: Sum(t1) = (MorphsZQ(V)).Sum(s1) by A5,A16,A17;
         +  A6,:,11;
        consider ssi be Vector of V such that
        A22: ssi = s.(len s) & t.(len s) = (MorphsZQ(V)).ssi
        by A6,A7,A8,FINSEQ_1:4;
        thus Sum(t) = Sum(t1) + vt by A6,A14,A15,RLVECT_1:38
        .= (MorphsZQ(V)).(Sum(s1)+vs) by AS,A6,A20,A22,    : being st in he  of V
        . MorphsZQ().Sum()by ,A21RLVECT_1:;
      end;
      hence P[k+1];
    end;
    for     let  ;
    hence thesis;
  end;

theorem XThSum1:
  for V be Z_Module,
  I being Subset of
  IQ being Subset of Z_MQ_VectSp(V),
  l be Linear_Combination of I,
  ingLinear_Combinationof 
  st V is Mult-cancelable
  & IQ =(MorphsZQ(V)).:I
  & l = lq*MorphsZQ(V) holds
  Sum(lq)  thenB2 not  in B,java.lang.StringIndexOutOfBoundsException: Range [47, 46) out of bounds for length 49
  proof
    let V be Z_Module,
    I be Subset of V,
    IQ be Subset 
    l be Linear_Combination of I        =(l1+. y ;
    lq be Linear_Combination of IQ;
    assume
AS0:V is Mult-cancelable & IQ =(MorphsZQ(V)).:I & l = lq*MorphsZQ(V);
    per cases;
    suppose A3: I is empty;
      java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 10
      then lq = ZeroLC(Z_MQ_VectSp(V)) by VECTSP_6:6;
      then
      A6: Sum(lq) = 0.(Z_MQ_VectSp(V)) by VECTSP_6:15;
      I = {}(the carrier of V) by A3
              .= l1.v + l2.v by A8,B1
      then Sum(l) = 0. V by ZMODUL02:19;
      hence Sum(lq) = (MorphsZQ(        =(l2.by java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 36
    end;
    suppose E1: I is non empty hence thesis byAX1,:def 7;
      consider v0 be object such that
      A7: v0 in I;
      reconsiderVbeing W1 W2beingfree V
      (MorphsZQ(V)).v0 in IQ by A7,AS0,FUNCT_2:35;
      then reconsider X = IQ as non empty Subset of Z_MQ_VectSp(V);
    \
      by FUNCT_2:101,AS0;
      (MorphsZQ(V)) is      V  Z_Module,, W2 be free Subspace of V,
      AX1: g is one-to-one by FUNCT_1:52;
      AX2: rng g = IQ by RELAT_1:115,    I1 be Basis of W1, I2 be Basis of W2 that
      reconsider F= g" as Function of IQ,I by FUNCT_2:25,AX1;
      reconsider F as Function of X, the carrier of V by E1,FUNCT_2:7;
      X = IQ; then
      AX2A: dom g = I by FUNCT_2:def 1; then
      :F=X& rng    by AF:java.lang.StringIndexOutOfBoundsException: Range [55, 56) out of bounds for length 55
      A8: for u be Vector of V st u in I holds F.((MorphsZQ(V)).u) = u
      proof
        let u be Vector of V;
        ssume AS8 u in I;
        hence F.( thenA4 v >0. A3ZMODUL01:26;
        .= u by FUNCT_1:34,AS8,AX2A,AX1;
      end;
      consider Gq be FinSequence of Z_MQ_VectSp(V) such that
      A9: Gq is one-to-one & rng Gq = Carrier v in W2by; then
      by VECTSP_6:def 5,VECTSP_5:3
      set n = len Gq;
      A10: dom     W1 /\W2=0. by ,VECTSP_5: 4java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
      A11    hence  by A4,MODUL02:
e;
      A13: rng (F*Gq) c=
      F*Gq is FinSequence by AX3,A9,FINSEQ_1:16,VECTSP_6:def 4;
      then reconsider FGq = F*Gq as FinSequence of V by A13,FINSEQ_1:def 4;
      for xobject xin  FGq iffx Carrier()
      proof
xbe object
        hereby assume x in rng FGq;
          bject such that
          A14: z in dom (FGq) & x = FGq.z by FUNCT_1: proof
          A15   .Gq.) byA14,12;
          A16: z in dom Gq & Gq.z in dom F by A14,FUNCT_1:11;
          then consider u be Vector of V such that
          A17: u in    A1:V java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 40
          A18: F.(Gq.z) = u by A8,A17;
considerw beElement  Z_MQ_VectSp()such that
          A19: Gq.z = w & lq.w <A5: ModuleStr  W1 = Lin()by :def 3
          l.u <> 0.F_Rat by. (II1  :
      hence x  Carrierlby A15,A18;
        end;
        assume A20: x in Carrier(l);
        then reconsider u=x as Vector of V;
        A21:l A20ZMODUL02:;
        A22: Carrier(l) c= I by VECTSP_6:def 4;
        lq.((MorphsZQ(V)).u) <> 0 by AS0,A21,FUNCT_2:15; then
        A23: (MorphsZQp
        then consider z be object such that
        A24: z in dom Gq & (MorphsZQ(V)).u =Gq.z by FUNCT_1:def 3;
        A25: F.(Gq.z)        assume   W2
A26 () A11,A9,A24,AX3,A23,FUNCT_1:11;
        then FGq.z = u by A25,FUNCT_1:12;
        hence x in rng FGq by A26,FUNCT_1:def 3;
      end;
       =()by :;
      A27: Sum(l) = Sum(l (#) FGq) by A9,AX1,VECTSP_6:def 6;
      A28: len (l (#) FGq ) = len (FGq) by VECTSP_6:def 5; then
      A29: len (l (#) FGq ) = n by A12,FINSEQ_1:def 3;
      A30: len(lq()Gq    VECTSP_6: 5;
      now
        let i be Element of java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 10
        assume A31: i in dom (l (#) FGq);
        then i in Seg len       assume x  Lin(I1  Lin(I2);
        A32: i in dom FGq by FINSEQ_1:def 3;
        then FGq.i in rng FGq by FUNCT_1:3;
then  FGq.  Element of V;
        A33: (l (#) FGq).i = (l.v)*v by A32,ZMODUL02:13;
        i in Seg n by A29,A31,FINSEQ_1:def 3; then
        A34: i in dom Gq by FINSEQ_1:def 3;
        then A35: Gq.i in rng Gq by FUNCT_1:3;
        reconsider w = Gq.i as Element 
        consider u be Vector of V such that
 =(V)u  A9,11,35,UNCT_2:;
        A381: F.(Gq.i) = u by A8,A37; then
        A38: v = u by A32,FUNCT_1:12;
        A39: w = (MorphsZQ(V)).v by A32    thus the ModuleStr of V=W1+ W2  A1,:def 4
        A40: lq.w = l.v by AS0,A37,A38,FUNCT_2:15;
T1    =Lin()by A2,7,:2
        thus ex si be VECTOR of V st si=(l (#) FGq ).i &
        (lq (#) Gq).i = (MorphsZQ(V)).si
        proof
takesi  l# ).i;
          thus thesis by A33,A34,VECTSP_6:8,T1;
        end;
      end;
      hence Sum(lq) = (  holds I is linearly-independent
    end;
  end;

theorem ThEQRZMV3A:
  for V be Z_Module, IQ being Subset of Z_MQ_VectSp(V) holds
forbeing Linear_Combination ofIQ 
  ex m be Integer, a be Element of F_Rat
  st m< 0 &m=a   (  lq) c INT
  proof
    let V be Z_Module,
    IQ be Subset of Z_MQ_VectSp(V);
    defpred P[Nat] means
    for lq being java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
    ex m be Integer, a be Element of F_Rat
    st m <> 0 & m = a &    A3:Sum() = 0. and
    P1: P[0]
    
      let lq be Linear_Combination of IQ such that
      P2 card(Carrier(lq) = 0
      P3:     then A5B: I1 ;
      reconsider m = 1 as Integer;
      reconsider of F_Rat;
      Carrier(a * lq) c= Carrier(lq) by VECTSP_6:28;
      then Carrier(a * lq) = {} by P3;
      then
X1  *lq ZeroLC(Z_MQ_VectSp(V)) by VECTSP_6:def 3;
      now
        let y be object;
        assume y in rng (a*lq); then
        consider xbeingElement of Z_MQ_VectSp(V) such that
        X2: y = (a*lq).x by FUNCT_2:113;
        (a*lq).x = 0.(F_Rat) by X1,VECTSP_6:3
        .= 0java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
          inINT  X2
      end;
hencethesis byTARSKI:def 3;
    end;
    P2: for n be Nat st P[n] holds P[n+1]
    proof
      let n be Nat;
      assume P21: P[n];
      now
        let lq be Linear_Combination of (ll1) c=I1 &Carrierl = I2 by def 4
        assume P22:    then A8: Carrier)/\ (l2)={java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
        then Carrier(lq) <> {};
        then consider x be object such that
        P24: x in Carrier(lq      II1 is linearly-independent by VECTSP_7: 3
        reconsider x as Element of Z_MQ_VectSp(V) by P24;
        : card(Carrier(lq) \{} )=card(Carrier() -card{)
        by P24,CARD_2:44,ZFMISC_1:31
        =n1 - 1 byP22CARD_2:42
        .= n;
        defpred PN[Element of Z_MQ_VectSp(V), Element of F_Rat] means
        ($1 in {x} implies $2 = 0 ) &
        (not $1 in {} implies $2 = lq.$1);
        A2: for v being Element of Z_MQ_VectSp(V) holds
             v1 inLin(1 byZMODUL03:20;
        proof
           beElement of Z_MQ_VectSp();
          v in {x} or not v in {xthenA14 v1 in W1java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
          hence thesis;
        end    then v2  the ModuleStr of W2 by VECTSP_7:def 3;
        consider lq0 being Function of the carrier of Z_MQ_VectSp(V),
        the carrier of F_Rat such that
        4:forv  Element
        Z_MQ_VectSp(V) holds PN[v,lq0.v] from FUNCT_2:sch 3(A2);
        reconsider lq0 as Element of
        Funcs(the carrier of Z_MQ_VectSp(V), the carrier of F_Rat)
        yFUNCT_2:8;
        set T = {v where v is Element of Z_MQ_VectSp(V) : lq0.v <> 0.F_Rat};
        A400: T c= Carrier(lq)\ {x}
        proof
          let v0 be object;
          assume v0 in T; then
          XX2: ex v1 being Element of Z_MQ_VectSp(V) st
           = v0  lq0v >0F_Rat
          reconsider v = v0 as Element of Z_MQ_VectSpjava.lang.StringIndexOutOfBoundsException: Range [53, 54) out of bounds for length 17
          XX4: not v in {x} by A4,XX2    etVbe Z_Module W1,W2 free  of V such that
          lq.v <> 0.F_Rat by A4,XX2;
          then     A1: V is_the_ W1W2;
          hence v0 in Carrier(lq) \ {x} by XBOOLE_0:def 5,XX4;
        end;
        Carrier(lq)\ {x} c= Carrier(lq) by XBOOLE_1:36; then
        A40: T c= Carrier(lq) by XBOOLE_1:1,A400;
       A400,XBOOLE_1:1;
        for v being Element of Z_MQ_VectSp(V)
        st not v in T holds lq0.v = 0.F_Rat;
        then reconsider lq0 as Linear_Combination of Z_MQ_VectSp(V)
          by VECTSP_6:def 1;
        X5: T = Carrier(lq0);
        Carrier(lq) c= IQ by VECTSP_6:def 4;
        then reconsider lq0 as Linear_Combination of IQ
          by A40,X5,VECTSP_6:def 4,XBOOLE_1:1;
        Carrier(lq) \ {x} c= T
        proof
          let v0 be object;
          assume YY11:     then reconsider  as Subset of by,XBOOLE_1:;
          YY1: v0 in Carrier(lq) & not v0 in {x} by XBOOLE_0:java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 49
          reconsider v = v0 as Element of Z_MQ_VectSp(V) by YY11;
           byYY1,:;
          then lq0.v <> 0.F_Rat by A4,YY1;
          hence v0 in T;
        end;
theorem ThDirectSum:
        then
java.lang.StringIndexOutOfBoundsException: Range [45, 8) out of bounds for length 64
       X8  >0  m0= a0  (  )c=INT 
        consider k0,n0 be Integer  let  be  W1, W2be  of  suchjava.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
        X9: n0>0 & lq.x = k0/n0 by RAT_1:1;
        reconsider m = n0*m0 as Integer;
        reconsider a = m as Element of F_Rat by RAT_1:def 2;
        reconsider b =n0 as Element of F_Rat by RAT_1:def 2;
        for y be object st y in rng (a*    A2 /\WW2  Subspace ofVby ZMODUL01:42;
        proof let y be object;
          assumeyin alq); then
          consider  proof
          X2: y = (a*lq).z by FUNCT_2:113;
          per cases;
  java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 31
            BB2: y = (a*lq).x by B2,X2,TARSKI:java.lang.StringIndexOutOfBoundsException: Range [0, 49) out of bounds for length 42
            .= a*(lq.x      end
a(q.  n0(0/)byX9
            .= m0*(n0*(k0/n0))
            .= m0*k0 by XCMPLX_1:87,X9;
    hence  in  byBB2INT_1: 2;
          end;
          supposenot z in x;then
            B31: lq0.z = lq.z by A4;
            BBB:     then A4:WW1 \WW2  0.A2VECTSP_4
B32: (lq). = a*(qz VECTSP_6:def9
            .= b*(a0*(lq0.z)) by B31,BBB
            .= b*((a0*lq0).z) by VECTSP_6:def 9;
            (a0*lq0).z in rng (a0*lq0) by FUNCT_2:4;
            then reconsider aqz= (a0*lq0).z as ;
            b*((a0*lq0).z) = n0*aqz;
            y  INT by B32X2INT_1:def 2;
          end;
        end;
        hence ex m be Integer, a be Element of F_Rat
        st m <> 0 & m = a & rng (a * lq) c= INT by X8,X9,TARSKI:def 3;
      end;
       xx2   java.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 48
    end;
    P3: for n be Nat holds P[n] from NAT_1:sch 2(P1,P2);
    now
      let lq be Linear_Combination of IQ;
      card Carrier lq is Element of NAT;
      exm beInteger,a Element of F_Rat
      st m <> 0 & m = a &       :x1  in &x  x1+ x2 by VECTSP_5:;
    end;
    hence thesis;
  end;

theorem ThEQRZMV3:
  for V be Z_Module,
  I being Subset of V,
  IQ being Subset of Z_MQ_VectSpthenW=WW1 + WW2 A3,ECTSP_43;
  lq being Linear_Combination of IQ
  st V is Mult-cancelable & IQ =(MorphsZQ(V)).:(I) holds
  ex m be Element of INT.Ring, a be Element of java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 0
   be Linear_Combination of I
  st m <> 0.INT.Ring & m = a & l = (a * lq) * (MorphsZQ(V))
  & (MorphsZQ(V))"Carrier(  Lin(I \ {v}) is free & Linv}is
  proof
    let V be Z_Module,
    I be Subset of V,
   IQ be Subset of Z_MQ_VectSp(V),
    lq be Linear_Combination of IQ;
    assume AS: V is Mult-cancelable & IQ = (MorphsZQ(V)).:(I);
    consider m be Integer, a be Element of F_Rat such that
X3  > 0&m =a  rng a *)c=INT by ThEQRZMV3A;
    reconsider mm = m as Element of INT.Ring by INT_1:def 2;
    P81: rng ((a*lq)*(MorphsZQ(V))) c= rng (a*lq) by RELAT_1:26;
    dom ((a*lq)*(MorphsZQ(V))) = the carrier of V by FUNCT_2:def 1;
    then (a*lq)*(MorphsZQ(V)) is Function of the carrier of V,INT
    by P81,X3,FUNCT_2:2,XBOOLE_1:1;
    then reconsider l = (a*lq)*(java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 6
      as Element of Funcs(the carrier of V, INT) by FUNCT_2:8;
    set T = {v where v is Elementst inI holds
    set F = MorphsZQ( V is_the_direct_sum_of ( v)Linv}
    B2: now
      let v be object;
      assume v in T;
      then ex v1 being Element of V st v1 = v & l.v1 <> 0;
      hence v in the carrier of V;
    ;
    R1: T c= F"( I  ( \ {} \/{}byA1,XBOOLE_145,31

      let x be object;
      xin;
      consider v be Element of V such that R11: x=v & l.v <> 0;
      RRR: dom F = the carrier of V by FUNCT_2:def 1;
      V1: l.v =(a*lq)(v by FUNCT_113RRR
      .= a*(lq.(F.v)) by VECTSP_6:def 9;
      lq.(F.v) <> 0.F_Rat by V1,R11;
      then F. in Carrier(lq;
      hence x in F"(Carrier(lq)) by R11,FUNCT_2:38;
    end;
    F is one-to-one by AS,defMorph;
85;
    then reconsider T as finite Subset of by def 2java.lang.StringIndexOutOfBoundsException: Range [24, 25) out of bounds for length 24
for Element ofVst  v T holds .=0.INT;
    then reconsider l as Linear_Combination of V by VECTSP_6:def 1;
    F(()c= T
    proof
java.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 22
      assume S21: x in F"(Carrier(lq));
      then x in the carrier of V &
      F.x in Carrier(lq) by FUNCT_2:38;
      then consider w be Element of Z_MQ_VectSp(V) such that
      R11: F.= &w< 0()java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
      reconsider v = x as Element of V by S21;
      F carrierof  by def;
      RR1: l.v = (a*lq).(F.v) by FUNCT_1:13,RRR
      .= a*(lq.w) by R11,VECTSP_6:def 9;
      reconsider a1 = a, d1 = (lq      B6 =Sum()by :64java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
      l.v <> 0 by RR1 B8 Carrier()c I \{} by VECTSP_6:def 4;
      hence x in T;
    end; then
    A9: F"(Carrier(lq)) = T by R1;
    A7:T =Carrier(l);
    AA1: F"(Carrier(lq)) c= F" (F.:(I)) by AS,RELAT_1:143,VECTSP_6:java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
    dom F = the carrier of V by FUNCT_2:def 1;
    then F is one-to-one & I c= dom F by AS,defMorph;
    then T c= I by A9,AA1,FUNCT_1:94;
    then
    reconsider l1        31,10;
    Carrie()  lx2)  ,XBOOLE_179
    take a;
    take l1;
    thus mm <> 0.INT.Ring      hen B12 llx1 +llx2)=Carrierllx1 \ (llx2)
    & (MorphsZQ(V))"Carrier(lq) = Carrier(l1) by A9,X3;
  end;

theorem ThEQRZMV3BB13 Sum(llx1)+ Sum(llx2) =0V byB6B9RLVECT_1:;
  for V be Z_Module,
  I being Subset of V,
  IQ being Subset of Z_MQ_VectSp(V),
  lq being Linear_Combination of IQ,
  m be Integer, a be Element of F_Rat,
 beLinear_CombinationofI
  st V is Mult-cancelable & IQ =(    endjava.lang.StringIndexOutOfBoundsException: Range [8, 9) out of bounds for length 8
  & m <> 0 & m = a
  & l = (a * lq) *(MorphsZQ(V))
  a((lq) = MorphsZQ).Sum(l))
  proof
    let V be Z_Module,
    I be Subset of V,
    IQ be Subset of Z_MQ_VectSp(V),
    lq be Linear_Combination of IQ,
    m be Integer, a be Element of F_Rat,
    l be Linear_Combination of I;
    assume AS: V is Mult-cancelable
    & IQ =(MorphsZQ(V)).java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
    & m <> 0 & m = a
    & l = (a * lq) *(MorphsZQ(V));
    reconsiderset I =the Basis of V;
    thus a*(Sum(lq)) = Sum(lqa) by VECTSP_6:45
    .= (MorphsZQ(V)).(Sum(l)) by AS,XThSum1;
  end;

theorem ThEQRZMV3C:
  for V be Z_Module,
  I being Subset of V,
  IQ being Subsetthe ModuleStr of V = I)by VECTSP_7:3
  st       =()V  java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 34
  & I is linearly-independent
  holds IQ is       then the carrier W ={.}byVECTSP_4def 2;
  proof
    let V be Z_Module,
    I be Subset of V,
    IQ be Subset of Z_MQ_VectSp(V);
    assume
    AS:V is Mult-& =(V).java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
    & I is linearly-independent;
    assume not linearly-independent;
       Linear_Combinationof IQsuch that
    P1: Sum(lq) = 0.(Z_MQ_VectSp(V)) & Carrier(lq) <> {} by VECTSP_7:def 1;
    lement of INT.Ring,abeElement ofF_Rat,
    l be Linear_Combination of I such that
    P2: m <> 0.INT.Ring & m = a & l = (a * lq) *(MorphsZQ(V))
    & MorphsZQ()(q =Carrierjava.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
    a*(Sum(lq)) = 0.(Z_MQ_VectSp(V)) by P1,VECTSP_1:15; then
    X2: (MorphsZQ(V)).(Sum(l)) = 0.(Z_MQ_VectSp(V)) by AS,P2,ThEQRZMV3B;
    X3(MorphsZQ(V).( 0V )= 0(_Q_VectSp() ASdefMorph;
    (MorphsZQ(V)) is one-to-one by AS,defMorph; then
    P3: Sum(l) = 0.V by X2,X3,java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 28
    H6: Carrier(lq) c= IQ by VECTSP_6      B1 P[];
    IQ c= rng (MorphsZQ(V)) by AS,RELAT_1Wbe Subspace of V
    H2: Carrier(lq) = (MorphsZQ(      such 
      by H6,P2,FUNCT_1      B2: rank()= n1
    Carrier(l) <> {} by H2,P1;
    hence contradiction by AS,P3,VECTSP_7:def 1;
  nd

theorem ThEQRZMV4:
  for  >{}java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
  I being Subset of V,
f Ijava.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
  IQbeing of (java.lang.StringIndexOutOfBoundsException: Range [35, 36) out of bounds for length 35
  st V is Mult-cancelable & IQ =(MorphsZQ      set Iv = I  {}java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
 ex  be Linear_Combinationof IQ
  l=lq*(MorphsZQ(V)) &
  Carrier(lq) = (MorphsZQ(V)).:     .=n+1 -1byCARD_1:30
  proof
    let V be Z_Module,
    I be Subset of V,
    l be Linear_Combination of I,
    IQ be Subset of Z_MQ_VectSp(V);
    assume
 VisMult & =:I
reconsider l ;
    K2: (for x be object   Iv  carrierofjava.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
    by AS0,RELAT_1T: ,MODUL0316;
    reconsider IQ0 =      Iv)IIv ZMODUL03:;
    defpred P[object, object] means
    ($1 in IQ0 & ex v be Element of V
    st v in I0 & $1=(MorphsZQ(V)).v & $2proof
    or (not $1 in IQ0 & $2 = 0.F_Rat);
    A2: for x being object st x in the carrier of Z_MQ_VectSp(V)
    ex y being object st y in RAT & P[x, y]
    proof
      let x be object;
      assume x in the carrier of Z_MQ_VectSp(V);
      then reconsider x as Element of Z_MQ_VectSp(V);
      per cases;
      suppose
        A3: x in IQ0;
        then consider v be object such that
        A4: v in the carrier of V & v in I0 & x=(MorphsZQ(V)).v
        by FUNCT_2:64;
        reconsider v as Element of V by A4;
        l.v  RATby NUMBERS:,TARSKI:def 3;
        hence thesis by A3,A4;
      end;
      suppose not x in IQ0;
        hence thesis;
      end;
    end;
            considerconsider l1 be Linear_Combination of I such that
    A5: for x being object st x in the carrier of Z_MQ_VectSp(V)
    holds P[x, lq.x] from FUNCT_2:sch 1(A2);
    A6: for x being Element of Z_MQ_VectSp(V) st not x in IQ0         v =bb2 &Sum(l2)inWby ;
    holds lq.        um(1 +Sum(2 =Sum( +);
thenC5 Suml1 +)in   C3,C4,java.lang.StringIndexOutOfBoundsException: Range [53, 52) out of bounds for length 56
    then reconsider lq asl1v  .inB by :22 then
        +b2inB  C3C4
    A11: Carrier(lq) c= IQ0
    proof
      let x be object;
      assume thatproof
      A7: x in Carrier(lq) and
      A8: not x in IQ0;
      consider z being Element of         then consider lwv be Linear_Combination Iv such hat
      A9: x = z and
      A10: lq.z <> 0.F_Rat by A7;
      thus contradiction by A5,A8,A9,A10;
    end;
    then
    reconsider lq as Linear_Combination         then not v in Carrier(lwv) by ZFMISC_1:56;
    A12:dom l carrier of V byFUNCT_2: 1;
          Vv\ W
    
    F1: MorphsZQ(V)         lwv is   I byXBOOLE_1:,java.lang.StringIndexOutOfBoundsException: Range [63, 62) out of bounds for length 66
    for x be object st x in dom  B18   Element  st in   bB
    proof
      let x be object;
      assume x in dom l;
      then reconsider v=x as Element of V;
        = (MorphsZQ().as  of V;
      per cases;
      suppose v in I0;
        then w in IQ0 by FUNCT_2:35;
        then consider v0 be Element of V such that
        A16: v0 in I0 & w=(MorphsZQ(V)).v0 & lq.w = l.v0 by A5;
        v0 = v by A16,FUNCT_2:19,F1;        reconsider bb= asElement  INT.Ring;
        hence l.x = (lq*(MorphsZQ(V))).x by A13,A16,FUNCT_1:12;
      end;
      suppose
        A18: not v in I0;
        then
        A19: l.v = 0.F_Rat;
        not w in IQ0
        proof
          assume w in java.lang.StringIndexOutOfBoundsException: Range [56, 26) out of bounds for length 56
          then consider v0 be Element of V such that
          A16: v0 in I0 & w=(MorphsZQ(V)).v0 & lq.w = l.v0 by A5;
          thus contradiction by A16,A18,F1,FUNCT_2:19;
        end; then
        lq. end;
        hence l.x = (lq*(MorphsZQ(V))).x by A13,A19,FUNCT_1:12;
      end;
    end;
    hence U1: l = lq*(MorphsZQ(V)) by FUNCT_1:2,A12,A13;
    =java.lang.StringIndexOutOfBoundsException: Range [21, 22) out of bounds for length 21
    proof
      x be
      assume x in IQ0;
      then consider v be object such that
  A4: v in the carrier of V & v in I0 & x=(java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 44
       as of by ;
      x=(            bbejava.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 45
      then reconsider y = x as Element of Z_MQ_VectSp(V);
      X1thenb in 3
      l.v <> 0                inby E1,XBOOLE_0def;
      hence x in Carrier(lq) by X1;
    end;
    hence Carrier(lq) = (MorphsZQ(V)).:(Carrier(l)) by A11;
  end;

theorem ThQuotAX end;
  for V be free Z_Module,
  I being Subset of V,
  IQ being Subset of Z_MQ_VectSp(V),
  l be Linear_Combination of I,
  .Ring
  st i <> 0.INT.Ring              b Element ofINT byINT_1def2;
  holds Class(EQRZM(V),[Sum(l),i]) in Lin(IQ)
  proof
    let V be free Z_Module,
    I be Subset of V,
    IQ be Subset of Z_MQ_VectSp(V),
    l be Linear_Combination of I,
    i be Element of INT.Ring;
    assume AS: i <> 0.INT.Ring & IQ =(MorphsZQ(V)).:I;
    Z0:Z_MQ_VectSp(V) = ModuleStr (# Class EQRZM(V), addCoset(V),
    zeroCoset(V), java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 10
    consider lq be Linear_Combination of IQ such that
    P1: l = lq * (MorphsZQ(V)) &
    Carrier(lq) = (MorphsZQ(V)).:(Carrier(      reconsider =pasElementINT.Ring;
P2 Sum()=(MorphsZQV)(um(l))byAS,P1XThSum1
    reconsider a = 1/i as Element of F_Rat by RAT_1:def 2;
    P3: (MorphsZQ(V)).(Sum(l)) = Class(EQRZM(V),[Sum(l),1.INT.Ring])
      by defMorph;
    a*        2 carrier  c the carrier of  by VECTSP_4def ;
      i*1.INT.Ring]) by AS,P3,Z0,DeflmultCoset
    .= Class(EQRZM(V),[Sum(l),i]) by VECTSP_1:def 17;
    hence thesis by P2,VECTSP_4:21,VECTSP_7:7;
  end;

theorem ThEQRZMV3E:
  for V be free Z_Module,
  I being Subset of V,
  IQ being Subset of Z_MQ_VectSp(V)
  st IQ =(MorphsZQ(V)).:I
  holds card(I) java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
  proof
    let V be free Z_Module,
    I be Subset of V,
    IQ be Subset of Z_MQ_VectSp(V);
    assume AS1: IQ =(MorphsZQ(V)).:I;
    P1: MorphsZQ(V) is one-to-one by defMorph;
    the carrier of V = dom (MorphsZQ(V)) by FUNCT_2:def  the ofV (I VECTSP_7:ef 3
    hence card(I          then w  Lin()java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
  end;

theorem ThEQRZMV3D:
  for V be free Z_Module,
  I being Subset of V,
  IQ being Subset of Z_MQ_VectSp(V)
  st IQ =(MorphsZQ(V)).:I &        
  holds IQ is Basis         for be    st in  holds w   byB24;
  proof
    let V be free Z_Module,
    I be Subset of V,
    IQ be Subset of Z_MQ_VectSp(V);
    assume
    AS: IQ =(MorphsZQ(V)).:(I) & I is Basis of V; then
    I is base; then
    X0: I c5:Iws  base byVECTSP_7:def 4;
    by VECTSP_7:def 3;
    X1: IQ is linearly-independent by AS,ThEQRZMV3C,VECTSP_7:def 3;
    AS0: Z_MQ_VectSp(V) = ModuleStr (#reconsider IwsV=Iws as linearly- Subsetof
    zeroCoset(V), lmultCoset(V) #) by defZMQVSp;
    for vq being Element of Z_MQ_VectSp(V) holds vq in Lin (IQ)
    proof
      let vq beof V);
      consider i be Element of INT.Ring, v be Element of V such that
      P3: i <> 0 & vq=Class(EQRZM(V),[v,i]) by AS0,LMEQRZM1;
      v in Lin (I) by X0; then
      consider l be suppose C1  >0.Ring
      P4: v = Sum(l) by ZMODUL02:64;
      thus vq in Lin(IQ) by AS,P4,P3,ThQuotAX;
    end;       consider     Isuchthat
    hence thesis by AS0,X1,VECTSP_4:32,VECTSP_7:java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 47
  end;

registration
  letVbeZ_Module
          for  being 
  coherence
  proof
    consider I being finite Subset of V such that
    P1: I is Basis of V by ZMODUL03:def 3;
    reconsider IQ =(MorphsZQ(V)).:(I) as Subset of Z_MQ_VectSp(V);
    IQ is Basis of Z_MQ_VectSp(V) by P1,ThEQRZMV3D;
    then u Vector of  suchthat
  end;
end;

theorem
   Z_Module
  rank V = dim Z_MQ_VectSp(V)
  proof
    let V be finite-rank free Z_Module            then . =   C3;
    reconsider I =
    reconsider IQ = (MorphsZQ(V)).:(I) as Subset of Z_MQ_VectSp(V);
    A1: IQ is Basis of Z_MQ_VectSp(V) by ThEQRZMV3D;
    thus rank V = card I by ZMODUL03:def 5
    .= card IQ by ThEQRZMV3E
    .= dim            D2;
  end;

theorem XXTh1:
  for V be free Z_Module, I, A be finite Subset of V
  st I is Basis of V & card (I) + 1 = card (A)
  holds A is -
  C(lv v C129
    let V be free Z_Module, I, A be finite Subset of V;
    assume AS: I is Basis of V & card (I) + 1 = card (A);
    reconsider IQ =(MorphsZQ(V)).:(I) as Subset of java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 28
    reconsider IQ as finite Subset of Z_MQ_VectSp(V);
    P2:IQ is Basis of Z_MQ_VectSp(V) by AS,ThEQRZMV3D;
    assume P31:notAis dependent;
( Subset V;
    reconsider B as finite Subset of Z_MQ_VectSp(V);
independent&LinZ_MQ_VectSpV)
    by VECTSP_7:def 3,P2;
    B is linearly-independent by P31,ThEQRZMV3C;
    then P5: card(B) <= card(IQ) by VECTSP_9:19,java.lang.StringIndexOutOfBoundsException: Range [0, 50) out of bounds for length 38
    card(IQ) = card(I) by ThEQRZMV3E;
    then card(A) <= card(I) by P5,ThEQRZMV3E;
    hence contradiction-ppv) by38;
  end;

theorem XXTh2:
  for V     beofV
  st A is linearly-dependentreconsider WXv  as Subspace of  byZMODUL01:;
  holdsB byVECTSP_71

theorem XXTh3:
  for V be free Z_Module,D,A be Subset of V
  st D is Basisthenwpvin;
  holds A is           then D2: in  by ZMODUL01:3java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44

    let V be .= pp*vjava.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
    assume AS: D is Basis of V & D is finite & card (D) c< card(A);
    reconsider  =  finite    byAS
    A \ D0 <> {} by AS,CARD_1:68,ORDINAL1:11;
    then consider x be          : Iwv/ wpv}={} byC11XBOOLE_0def 7,FMISC_1:50;
    P3:   A  bydef 1
x A &  x in   P3X:def 5;
    then P5: card(D0 \/{x}) = card(D0) + 1 by CARD_2:41;
    succcard(D0) = card(+1by 31
    .+by CARD_2:36;
    then P6:.=LinIwv) ZMODUL0320;
    consider f be Function such that
P7: f is one-to-one & dom f = (D0 \/{x} ) & rng f c= A by CARD_1:10,P5,P6;
    set B = rng f;
    P8: card (B) = card(D0)+1 by P5,P7,CARD_1:5,WELLORD2:def 4;
    then reconsider B as finite set;
    reconsider B as finite Subset of V by P7,XBOOLE_1:1;
    B is linearly-dependent by XXTh1,P8,AS;
    java.lang.StringIndexOutOfBoundsException: Range [23, 9) out of bounds for length 46
  end;

theorem
  for V be free Z_Module, I, A be Subset ofset   (lx2;
  st  is  of &I  finite &is linearly-independent
  holds () c ()by XTh3,BOOLE_0:def8;

begin :: 2. Subspace of free $\mathbb Z$-modulethen  xx1=x1  VectorofWX

theorem
  for V being Z_Module st (Omega).V is free holds V is free
  proof
     that
    A1: (Omega).V is free;
    consider I be Subset of (Omega).V such that
    a2: I is base by VECTSP_7:def 4,A1;
    A2: I is linearly-independent & (Omega).V = Lin(I) by a2,VECTSP_7:def 3;
    reconsider II = I as linearly-independent Subset of V byend
    Omega. = I byA2,MODUL03:20 
    II is base by VECTSP_7:def 3;
    hence thesis by VECTSP_7:def 4;
  end;

theorem
  for R being Ring
   VbeingLeftMod of R, , W2 Subspaceof ,
  W1s, W2s being strict Subspace of V st          then consider    of such 
  holds  + =W1  
  proof
    let R be Ring;
    let  be  R,W1,W2  Subspace  Vjava.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
    W1s, W2s be strict Subspace of V such that
    A1: W1s = (Omega).W1 & W2s = (Omega).W2;
    for x be Vector of V holds x in W1+W2 iff x in W1s + W2s
    proof
      let x be Vector of V;
      hereby
 in +;
        then consider          : lx.pv< 
        B1: x1 in W1 & x2 in W2 & x = x1 + x2 by VECTSP_5:1;
        B2: x1 in             then x =.V by D6,ZMODUL01:java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
         inW2sby A1,;
        hence x in W1s + W2s by B1,B2,VECTSP_5:1java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 14
      end;
      assume           .= wpv 0V RLVECT_1:5
      then consider x1, x2 be Vector of V such that
      B1:  in &x2 W2s&=x1  by VECTSP_5:;
      B2: x1 in W1 by A1,B1;
      x2 in W2 by A1,B1;
      hence x in W1 + W2 by B1,B2,VECTSP_5:1;
    end;
hence W1 +=W1s  by :;
  end;

theorem
  for R being Ring
  for  being   R,W1 W2 SubspaceofV
  W1s, W2s being strict Subspace of V st W1s = (Omega).W1 & W2s = (          then : lwpv*)*v in Vv by D8,D9,MODUL01:39;
 W1s/\W2s  /\ java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
  proof
    let R beRing;
    let V be LeftMod of R, W1, W2 be Subspace of V,
    W1s, W2s be strict Subspace of V such that
:W1s = ().1  =(mega)W2java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
   x  of  holds x  W1 \ iffx in  /
    proof
      let          (xwpv*pp*v  Vv \Lin{}by V:3java.lang.StringIndexOutOfBoundsException: Range [63, 64) out of bounds for length 63
      hereby
        assume x in W1 /\ W2; then
        B1: x in W1 & x in hence  byC1C17,,ZMODUL01:ef,MODUL02:66;
        B2: x in W1s by A1,B1;
        x in W2s by A1,B1;
        hence x in W1s /\ W2s by B2,VECTSP_5:3;
      end;
      assume         for x be x    V  x  W iff inWX
      x in the ModuleStr         proof
      then B2: x          et beVectorof V;
      x in the ModuleStr of W2 by A1,B1,VECTSP_5:3;
      then x in W2;
      hence x in W1 /\ W2 by B2,VECTSP_5:3;
    end;
    hence W1 /\ W2 = W1s /\ W2s by VECTSP_4:30;
  end;

theorem Thn0V:
  for R being Ring
  for V be LeftMod of R, W be strict Subspace of V st W <> (0).V holds
  ex v beD4 v  *y  ,def 3
  proof
    let  be ;
            *  Wby,ZMODUL013;
    A1: W <> (0).V;
    A2: 0.V in W by VECTSP_4:17;
    the carrier of W <> {0.V} by A1,VECTSP_4:def 3;
    then {0.V} c< the carrier of W by A2,ZFMISC_1:31;
    then consider v be object such that
   :v      and
    A4: not v in {0.V} by XBOOLE_0:              = pp*y  (v)by ,VECTSP_6:ef
    reconsider v as Vector of V by A3,VECTSP_4:10;
    take v;
    thus thesis byy*wpv  Linear_Combinationof  by 31java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
  endbyF3,FMISC_1:,VECTSP_6def ;

theorem ThCarrier1:
  for K being Ring
  for V being VectSp of K
    beingSubset of V,l1,l2being Linear_Combinationof
  st Carrier(l1) /\ Carrier(l2) = {} holds
  Carrier(l1 + l2) = Carrier(l1) \/ Carrier(l2)
  proof
    let K be Ring;
    let V be VectSp of K;
    let A be Subset of V,
    l1, l2 be Linear_Combination of A such that
    A0: Carrier(l1) /\ Carrier(l2) = {};
    A1: Carrier(l1) misses Carrier(l2) by A0;
    Carrier(l1) \/ Carrier(l2)             x-y*  *wpv  x ywpv-*wpvby :29
    proof
      let x be object;
      assume B1: x in Carrier(l1) \/ Carrier(l2);
      then reconsider x as Vector of V;
      per cases by B1,XBOOLE_0:def 3;
      suppose C1: x in Carrier(l1);
        then not x in Carrier(l2) by A1,B1,XBOOLE_0:5;
        then C2: l2.x = 0.K;
        (l1 + l2).x = l1.x + l2.x by VECTSP_6:22
        .= l1.x by C2;then WX  Subspace  Wby ,ZMODUL02:76java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
        then (l1;
        hence         hence thesis;
      end;
      suppose C1: x in Carrier(l2);
        then not x in Carrier(l1) by A1,B1,XBOOLE_0:5;
        then C2: l1.x = 0.K;
        (l1 + l2).x = l1.x + l2.x by VECTSP_6:22
        .= l2.x by C2;
n (l1 +l2)x< 0. by ,:2;
        hence         hence thesisindependent &Lin(ws =ModuleStrofWs
      end;
    end;
    hence thesis by VECTSP_6:23;
  end;

theorem ThCarrier2:
  for R being Ring
      R
  for A1, A2 being Subset of V, l being Linear_Combination of A1 \/ A2
  st A1 /\ A2 = {} holds
  ex l1 being Linear_Combination of A1, l2 being Linear_Combination of A2
  st l = l1 + l2
  proof
    let K be Ring;
    let V be VectSp of K;
    let A1, A2 be Subset of V,    : form   []from :ch 2(1A2)java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
    A1: A1 /\ A2 =    set  =V;
    A2: A1 misses A2 by A1;
    defpred P[object, object] means
    $1 is Vector of V implies
    ($1 in A1 & $2 = l. end;
    A3: for x being object st x in the carrier of V
    ex y being object st y in the carrier of K &
    proof
      let x be   
      assume x in the carrier of V;
      then reconsider x9 = x as Vector of V;
      per cases;
      suppose B1: x in A1;
        l.x9 in the carrier of K;
        hence thesis by B1;
      end;
      W1  be  Subspace   that
        hence thesis:  / W2 =().V & the ModuleStrofW  W2;
      end;
    end;
    ex l1 being Function of the carrier of V, the carrier of K st
    for x being object st x in the carrier of V holds P[x, l1.x]
    from FUNCT_2:sch 1(A3);
    then consider l1 be Function of : is-&Ws =Lin()by :3a3
carrier of K that
    A4: for x be object st x in the carrier of  by ,:15;
    A5:
    now
      let v be Vector of V;
     
      A6:  holds  is -
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
      A1 Z_MQ_VectSp(V,)is djava.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
        not v in A1;
         set = {ZMtoMQV(p,u where u  Vector of :u I;
      end;
      suppose
        not v in Carrier(l);
        then l.v = 0.K;
        hence l1.v = 0.K by A4;
      end;
    nd;
    reconsider l1 as Element of Funcs(the carrier of V, the carrier of K)
    by FUNCT_2:8;
    reconsider l1 as Linear_Combination of V by 
    for x being object holds x in then reconsider IQ as Subset of Z_MQ_VectSpp by :3;
    proof
      let x be object;
      assume B1: x in Carrier(l1);
         asVectorof;
      l1.x <> 0.K by B1,VECTSP_6:2;
      hence thesis by A4;
    end;
    then AX1: l1 is Linear_Combination of A1 by TARSKI:def 3,VECTSP_6:java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 6
    defpred Q[object, object] means
    $ Vectorof V implies
    ($1 in A2 & $2 = l.$1) or (not $1 in A2 & $2  s  Element V,a of .Ring bbe Element of (p)
   A7: for  being  xin  carrier  V
    ex y being object st y in the carrier of K & Q[x, y]
    proof
      let x be object;
      assume x in the carrier of V;
      then reconsider x9 = x as Vector of V;
      per     a be  INT.,be  GF(p)  
      suppose B1: x in A2    A1:b=amod pjava.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
        l.x9 in the carrier of K;
        hence thesis by B1;
      end;
      suppose not x  A3:s  *VisElement  Vp())by A2Vd6
         thesisjava.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
      end;
    nd;
    ex l2 being Function of the carrier of V, the carrier of K st
    for x being object st x in the carrier of V p*  ,VECTSP10def 5
    from FUNCT_2:sch 1(A7);
    then consider l2 be Function of the carrier of V, the carrier of K
    such that
    A8: for x being object st x in thei be   .ing,vbe of java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
    A9:
    now
      v Vector  V;
      assume
      A10: not v in A2 /\ Carrier(l);
      per cases by A10,XBOOLE_0:def 4;
      suppose
        not v in A2;
        hence l2.v = 0.K by A8;
      end;
      suppose
        not v in Carrier(l);
        then l.v = 0.K;
        hence l2.v = 0.K by A8;
     end;
    end;
    reconsider l2 as Element of Funcs( def 11
    by FUNCT_2:8;
    reconsider l2 as Linear_Combination of V by A9,VECTSP_6:def 1;
    for x being object holds x in Carrier(l2) implies x in A2
    proof
      letend;
      assume java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 0
      reconsiderxas Vector  V;
      l2.x <> 0.K by B1,VECTSP_6:2;
      hence thesis by A8;
    end;
thenAX2:  Linear_Combination A2 byTARSKI:def 3,VECTSP_6:4
    for v being Vector of V holds l.v = (l1+l2).v
    proof
      let v be Vector of V;
      per cases;
      suppose B1: v in A1;
        then in \ A2 XBOOLE_0def 3;
        then B2: not v in A2 by A2,B1,XBOOLE_0:5;
        thus l.v = l1.v + 0.K by A4,B1
        .= l1.v + l2.v by A8,B2
        .= (l1+l2).v by VECTSP_6:22;
      end;
      suppose B1: v in A2;
        then v in A1 \/ A2 by XBOOLE_0:def 3;
        then B2: not v in A1 by A2,B1,XBOOLE_0:5;
        .java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
        .= l1.v + l2.v by A4,B2
        .= (l1+l2).v by VECTSP_6:22;
      end;
      suppose B1: not v in A1 & not v in      then
        then notvin  \ by :def 
        then not v  then iin   by FUNCT_1:3;
        hence l.v = 0.K
        .= l1.v + 0.K by A4,B1
        .= l1.v + l2.v by A8,B1
        .=     Y5:( #  )i=(.)v ,ZMODUL02:3
      end;
    ;
    hence thesis by AX1,AX2,VECTSP_6:def         l.)mod  asElemento INT.;
  end        =l Element of.Ring;

theorem FRds1:
  for V being Z_Module, W1, W2 being free reconsider t = ZMtoMQV(V,p,v) as Element of Z_MQ_Vp;
 I1  W1 beingBasis  V  W1,2
  holds I1 /\ I2 = {}
  proof
     be W1 W2   Subspace of java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
    I1be  of  be   W2 such 
    A1: V is_the_direct_sum_of W1,W2;
    assume I1 /\ I2 <> {};
    then       beofV
    A2: v in I1 /\ I2 by XBOOLE_0:7;
    A3 in  A2XBOOLE_0:4
    not 0.W1 in I1 by ZMODUL02:57,VECTSP_7:def 3;
    then     hence Vp(l)in IQ)by ,P1,:33
    A5: v in W1 by A3;
    v in W2 by A2; then
W1: v in W1 /\ W2 by A5,VECTSP_5:3;
    W1 /\ W2 = (0).V by A1,VECTSP_5: for  being   java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 40
    then v in (0).V by W1;
    hence contradiction by A4,ZMODUL02:66;
  end;

theoremtheorem (pu   isVector  V :in} holds
  for V being Z_Module, W1, W2 being   Lin(IQ) = the ModuleStr of Z_MQ_VectSp(V
  ingBasis  W1,I2 Basis  being  of java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
 V java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 48
  holds Lin(I) = the ModuleStr of V
  proof
    let V  Z_Module,W1,W2 free SubspaceofV
    I1 being Basis of W1, I2 being Basis of W2, I being Subset of V such that
    A1: V is_the_direct_sum_of W1,W2 and
    A2: I = I1 \/ I2;
   the W1 c= the  V VECTSP_4:ef;
    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 =  thusvq  (IQ) AS,,;
    .= Lin    end;
    A6: the ModuleStr of W2 = Lin(I2) by VECTSP_7:def 3
    .= Lin(II2) by ZMODUL03:20;
    for x be Vector of V holds x in W1+W2 iff x in java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 32
    proof
      let   Vector of V;
      hereby
        assume x in W1+W2;
        then consider x1, x2 be Vector of V such that
        B1: x1 in W1 & x2 in W2 & x = x1 + x2 by VECTSP_5:1;
        B2: x1 in Lin(II1) by A5,B1;
        x2 in Lin(II2) by A6,B1;
            et     of INT.Ring;
      end;
      assume  in (  (;
      then consider x1, x2 be Vector of V such that
      B1: x1 in Lin(II1) & x2 in Lin(II2) & x = x1 + x2 by VECTSP_5:1;
      B2: x1 in W1 by A5,B1;
      x2      ssume x AQ;
      hence x in W1 + W2 by B1,B2,VECTSP_5:1;
    end; then
    :   W2 =Lin(I1  ()by :;
    thus the ModuleStr of V = W1 + W2 by A1,B1:x=ZMtoMQV(,,)& in A
    .=Lin()by,A7Z:72java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
  end;

theorem FRds3:
  for V being LeftMod of INT.Ring, W1, W2 being free 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 W1,W2 & I = I1 \/ I2
  holds I is linearly-independent
  proof
    let V being LeftMod of INT.Ring, W1, W2 being free Subspace of V,
I   of  I2 being  W, ISubset  V  java.lang.StringIndexOutOfBoundsException: Range [77, 78) out of bounds for length 77
    A1: V is_the_direct_sum_of W1,W2 and
    A2: I = I1 \/ I2;
    assume I is linearly-dependent;
    then consider l be Linear_Combination      B1:x= (Vpv   inB
    A3:Sum()=0. and
    A4: Carrier(l) <> {} by VECTSP_7:def 1;
    A5A: I1 /\ I2 = {} by A1,FRds1;
    then A5B: I1 misses I2;
     deffunc (Elementof )=ZMtoMQV(,,1);
     the  of W2 = carrierof  byVECTSP_4:ef 2
    then P6: for x be Element holdsf= F(x) from FUNCT_2:ch ;
      Linear_Combinationof ,
    l2 be Linear_Combination of II2 such that
    A6: l = l1 + l2 by A2,A5A,ThCarrier2;
      =l1 Linear_Combinationof
    by A2,XBOOLE_1:7,ZMODUL02:10;
    reconsider ll2 = l2 as Linear_Combination of I
    by A2,XBOOLE_1:7,ZMODUL02:10;
A7 (  (ll1)+Sum()  Z
    set v1 = Sum(ll1);
    set v2 = Sum(ll2);
    Carrier(ll1) c= I1 & Carrier(ll2) c=      Q2 y= ZMtoMQV(V,,x) & x in Bby Q1;
   thenA8 Carrier(l1)/ l)={java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
byA5B,def7XBOOLE_1:4java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
    A10:       take x ;
    proof
      assume B1: v1 = 0.V;
      II1 is linearly-independent by VECTSP_7:def 3,ZMODUL03:15;
      then B3: Carrier(l1) = {} by B1,VECTSP_7:def 1;
      II2 is linearly-Lin(BQ) = the ModuleStr of Z_MQ_VectSpp P1,hQuotBasis5;
      then Carrier(ll1) \/ Carrier(ll2) = {} by A3,A7,B1,B3,VECTSP_7:def 1;
      hence contradiction by A4,A6,A8,ThCarrier1;
       ;
    A13: v1 = -v2 by A3,A7,RLVECT_1:6;
    v1 in Lin(II1) by ZMODUL02:64;
1  (I1)by :20;
    then v1 in the ModuleStr of W1 by VECTSP_7:def 3;
    then A14: v1 in W1;
    v2 in Lin(II2) by ZMODUL02:64;
    then    hence thesis;
    then v2 in the ModuleStr of W2 by VECTSP_7:def 3;
    then v2 in W2;
    then A15: v1 in W2 by A13,ZMODUL01:38;
    W1 /\ W2 = (0).V by A1,VECTSP_5:def 4;
hence  A10,14,V:,:66;
  end;

theorem FRdsX:
  for V being Z_Module, W1, W2 being free Subspace of V
  st V is_the_direct_sum_of W1,W2
  holds V is free
  proof
    let V be Z_Module, W1, W2 be free Subspace of V such that
    A1: V is_the_direct_sum_of W1,W2;
    set I1 = the Basis of W1;
    set I2 = the Basis of W2;
    set I = I1 \/ I2;
TSP_4:;
    then A3: I1 is Subset of V by XBOOLE_1:1;
    the carrier of W2 c= the carrier  proof
    then I2 is Subset of V by XBOOLE_1:1;
    then java.lang.StringIndexOutOfBoundsException: Range [31, 17) out of bounds for length 46
    the ModuleStr of V = Lin(I) by A1,FRds2; then
Iis  by :def FRds3,A1;
    hence thesis by VECTSP_7:def 4;
  end;

theorem ThDirectSum:
  for V being Z_Module, W1, W2 being free Subspace of V
  st W1 /\
   free
  proof
    let V be Z_Module, W1, W2 be free Subspace of V such that
    P1: W1 /\ W2 = (0).V;
java.lang.StringIndexOutOfBoundsException: Range [7, 4) out of bounds for length 51
    reconsider WW1 = W1 as Subspace of W by ZMODUL01:97;
    reconsider WW2 = W2 as Subspace of W by ZMODUL01:97;
    A2: WW1 /\ WW2 is Subspace of V by ZMODUL01:42;
    A3: WW1 + WW2 is Subspace of V by ZMODUL01:42;
    assume  is independent;
    proof
      let x be object;
      hereby
        assume x in WW1 /\ WW2;
        then x in WW1 & x in WW2 by VECTSP_5:3;
        hence x in (0).V by P1,VECTSP_5:3;
      end;
      assume x in (0).V;
      then x in W1 & x in W2 by P1,VECTSP_5:3;
      hence x in WW1 /\ WW2 by VECTSP_5:3;
    end;
    then for x being Vector of V holds x in WW1 /\ WW2 iff x in (0).V;
    then A4: WW1 /\ WW2 = (0).V by A2,VECTSP_4:30
    .= (0).W by ZMODUL01:51;
    for x being object holds x in W iff x in WW1 + WW2
    proof
      java.lang.StringIndexOutOfBoundsException: Range [21, 9) out of bounds for length 22
      hereby
        assume x in java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
        thenconsiderx1,x2   V such that
        B2: x1 in W1 & x2 in W2 & x = x1 +   W1 /  ->free;
        x1 in W1 + W2 by B2,VECTSP_5:2;
        then reconsider xx1 = x1 as Vector of W;
        x2 in  correctness
  proof
            1\W2  Subspace of by ZMODUL01:;
        hence x in     hence thesis;
      end;
      assume x in WW1 + WW2;
      then consider x1, x2 be Vector of W such that
      B2: x1 in WW1 & x2 in WW2 & x = x1 + x2 by VECTSP_5:1;
       x  W B2;
    end;
    then for x being Vector of V   letV Z_Module,W1,W2 finite-ank    ;
then =WW1  WW2 byA3VECTSP_4:;
    hence W1 + W2 is free by A4,FRdsX,VECTSP_5:def 4;
  end;

theorem
  for V being free Z_Module, I being Basis of V, v being Vector of V
  st v in I holds
  Lin(I \ {v}) is free & Lin{v} is free
  proof
    let V be free Z_Module, I be Basis of V,
    v be Vector of V such that
    A1: v in I;
    A2: I is linearly  cluster - finite-SubspaceofV
    then I \ {v} is linearly-independent by XBOOLE_1:   by RL5Th28;
    hence Lin(I \ {v}) is free;
    {}linearly-ndependentby ,A2,:31,MODUL02:56;
    hence Lin{v} is free;
  end;

theorem FRdsY:
  for V being free Z_Module, I being Basis of V, v being Vector of V
  st v in I holds
  V is_the_direct_sum_of Lin(I \ {v}),Lin{v}
  proof
    let V be free Z_Module, I be Basis of V,
    v be Vector of V such that
    A1: v in I;
    I = (I \ {v}) \/ {v} by A1,XBOOLE_1:45,ZFMISC_1:31;
    then Lin(I) = Lin(I \ {v}) + Lin{v} by ZMODUL02:72;
    then A3: the ModuleStr of V = Lin(I \ {v}) + Lin{v} by VECTSP_7:def 3;
    (the carrier of Lin(I \ {v})) /\ (the carrier of Lin{v}) = {0.V}
    proof
      assume B1: (the carrier of Lin(I \ {v})) /\
      (the carrier of Lin{v}) <> {0.V};
      0.V in Lin(I \ {v}) /\ Lin{v} by ZMODUL01:33;
      then 0.V in (the carrier of Lin(I \ {v})) /\ (the carrier of Lin{v})
      by VECTSP_5:def 2;
      then {0.V} c< (the carrier of Lin(I \ {v})) /\
      (the carrier of Lin{v}) by B1,ZFMISC_1:31;
      then consider x be object such that
      B2: x in (the carrier of Lin(I \ {v})) /\ (the carrier of Lin{v}) and
      B3: not x in {0.V} by XBOOLE_0:6;
      B4: x <> 0.V by B3,TARSKI:def 1;
      B5: x in (Lin(I \ {v}) /\ Lin{v}) by B2,VECTSP_5:def 2;
      then x in V by ZMODUL01:24;
      then reconsider x as Vector of V;
      x in Lin(I \ {v}) by B5,VECTSP_5:3;
      then consider lx1 be Linear_Combination of I \ {v} such that
      B6: x = Sum(lx1) by ZMODUL02:64;
      B7: Carrier(lx1) <> {} by B4,B6,ZMODUL02:23;
      B8: Carrier(lx1) c= I \ {v} by VECTSP_6:def 4;
      x in Lin{v} by B5,VECTSP_5:3;
      then consider lx2 be Linear_Combination of {v} such that
      B9: -x = Sum(lx2) by ZMODUL01:38,ZMODUL02:64;
      B11: Carrier(lx2) c= {v} by VECTSP_6:def 4;
      reconsider llx1 = lx1 as Linear_Combination of I
      by XBOOLE_1:36,ZMODUL02:10;
      reconsider llx2 = lx2 as Linear_Combination of I
      by A1,ZFMISC_1:31,ZMODUL02:10;
      Carrier(lx1) misses Carrier(lx2) by B8,B11,XBOOLE_1:64,XBOOLE_1:79;
      then Carrier(lx1) /\ Carrier(lx2) = {};
      then B12: Carrier(llx1 + llx2) = Carrier(llx1) \/ Carrier(llx2)
      by ThCarrier1;
      B13: Sum(llx1) + Sum(llx2) = 0.V by B6,B9,RLVECT_1:5;
      reconsider llx = llx1 + llx2 as Linear_Combination of I
      by ZMODUL02:27;
      Sum(llx) = 0.V by B13,ZMODUL02:52;
      hence contradiction by B7,B12,VECTSP_7:def 1,VECTSP_7:def 3;
    end;
    then Lin(I \ {v}) /\ Lin{v} = (0).V by VECTSP_4:def 3,VECTSP_5:def 2;
    hence thesis by A3,VECTSP_5:def 4;
  end;

FRX:
  for V being finite-rank free Z_Module, W being Subspace of V
  holds W is free
  proof
    defpred P[Nat] means for V being finite-rank free Z_Module,
    W being Subspace of V st rank(V) = $1 holds W is free;
    A1: P[0]
    proof
      let V be finite-rank free Z_Module, W be Subspace of V such that
      B1: rank(V) = 0;
      set I = the Basis of V;
      set sW = the ModuleStr of W;
      B2: sW = (Omega).W;
      B3: card I = 0 by B1,ZMODUL03:def 5;
      then B31: I = {}(the carrier of V);
      the ModuleStr of V = Lin(I) by VECTSP_7:def 3
      .= (0).V by B31,ZMODUL02:67;
      then the carrier of V = {0.V} by VECTSP_4:def 3;
      then the carrier of W c= {0.V} by VECTSP_4:def 2;
      then B5: the carrier of W c= {0.W} by ZMODUL01:26;
      B6: I = {}(the carrier of W) by B3;
      then reconsider II = I as Subset of W;
      II = {}the carrier of W by B6; then
AA:   II is linearly-independent;
      sW = (0).W by B2,B5,XBOOLE_0:def 10,VECTSP_4:def 3
      .= Lin(II) by B6,ZMODUL02:67; then
      Lin II = the ModuleStr of W; then
      II is base by VECTSP_7:def 3,AA; then
      W is free by VECTSP_7:def 4;
      hence thesis;
    end;
    A2: for m being Nat st P[m] holds P[m+1]
    proof
      let n be Nat such that
      B1: P[n];
      let V be finite-rank free Z_Module, W be Subspace of V
      such that
      B2: rank(V) = n+1;
      set I = the Basis of V;
      B3: card(I) = n+1 by B2,ZMODUL03:def 5;
      card(I) > 0 by B2,ZMODUL03:def 5;
      then I <> {};
      then consider v be object such that
      B4: v in I by XBOOLE_0:7;
      reconsider v as Vector of V by B4;
      set Iv = I \ {v};
      B22: {v} is Subset of I by B4,SUBSET_1:41;
      then B5: card(Iv) = n+1 - card({v}) by B3,CARD_2:44
      .= n+1 - 1 by CARD_1:30
      .= n;
      I is linearly-independent by VECTSP_7:def 3;
      then B6: Iv is linearly-independent by XBOOLE_1:36,ZMODUL02:56;
      set Vv = Lin(Iv);
      reconsider VVv = Vv as finite-rank free Z_Module by B6;
      for x be object holds x in Iv implies x in the carrier of VVv
      by STRUCT_0:def 5,ZMODUL02:65;
      then reconsider IIv = Iv as linearly-independent Subset of VVv
      by B6,TARSKI:def 3,ZMODUL03:16;
      Lin(Iv) = Lin(IIv) by ZMODUL03:20;
      then IIv is Basis of VVv by VECTSP_7:def 3;
      then B8: rank(VVv) = n by B5,ZMODUL03:def 5;
      set Wv = W /\ Vv;
      reconsider WWv = W /\ Vv as Subspace of Vv by ZMODUL01:105;
      reconsider WWv as free Subspace of Vv by B1,B8;
      set IIwv = the Basis of WWv;
      the carrier of WWv c= the carrier of V by VECTSP_4:def 2;
      then reconsider Iwv = IIwv as Subset of V by XBOOLE_1:1;
      B13: V is_the_direct_sum_of Vv,Lin{v} by B4,FRdsY;
      set B = {l.v where l is Linear_Combination of I :
        Sum(l) in W};
 B15: B c= INT
      proof
        let b be object such that
        CX1: b in B;
        consider l be Linear_Combination of I such that
        CX2: l.v = b & Sum(l) in W by CX1;
        thus b in INT by CX2;
      end;
      B16: for b1, b2 be Element of INT st b1 in B & b2 in B holds
      b1 + b2 in B
      proof
        let b1, b2 be Element of INT such that
        C1: b1 in B & b2 in B;
        set bb1 = b1, bb2 = b2;
        consider l1 be Linear_Combination of I such that
        C3: l1.v = bb1 & Sum(l1) in W by C1;
        consider l2 be Linear_Combination of I such that
        C4: l2.v = bb2 & Sum(l2) in W by C1;
        Sum(l1) + Sum(l2) = Sum(l1 + l2) by ZMODUL02:52;
        then C5: Sum(l1 + l2) in W by C3,C4,ZMODUL01:36;
        l1 + l2 is Linear_Combination of I by ZMODUL02:27;
        then (l1 + l2).v in B by C5; then
        l1.v + l2.v in B by VECTSP_6:22; then
        b1 + b2 in B by C3,C4;
        hence thesis;
      end;
      B17: 0 in B
      proof
        set wv = the Element of Wv;
        wv in WWv;
        then consider lwv be Linear_Combination of Iv such that
        C2: wv = Sum(lwv) by ZMODUL01:23,ZMODUL02:64;
        Carrier(lwv) c= Iv by VECTSP_6:def 4;
        then not v in Carrier(lwv) by ZFMISC_1:56;
        then C4: lwv.v = 0;
        wv in Vv /\ W;
        then C5: wv in W by VECTSP_5:3;
        lwv is Linear_Combination of I by XBOOLE_1:36,ZMODUL02:10;
        hence 0 in B by C2,C4,C5;
      end;
      B18: for b be Element of INT st b in B holds -b in B
      proof
        let b be Element of INT such that
        C1: b in B;
        consider l be Linear_Combination of I such that
        C2: l.v = b & Sum(l) in W by C1;
        -Sum(l) in W by C2,ZMODUL01:38;
        then C3: Sum(-l) in W by ZMODUL02:54;
        consider bm be Element of INT.Ring such that
        C4: bm = (-l).v;
        reconsider bb = b as Element of INT.Ring;
        bm = -bb by C2,C4,VECTSP_6:36; then
        C5: bm = -b;
        -l is Linear_Combination of I by ZMODUL02:38;
        hence thesis by C3,C4,C5;
      end;
      B19: for b be Element of INT st b in B holds
      for i be Element of INT holds i * b in B
      proof
        let b be Element of INT such that
        C1: b in B;
        defpred Q[Integer] means $1 * b in B;
        C2: Q[0] by B17;
        C3: for i be Integer st Q[i] holds Q[i-1] & Q[i+1]
        proof
          let i be Integer such that
          D1: Q[i];
          D3: -b in B by B18,C1;
          i*b is Element of INT & -b is Element of INT by INT_1:def 2;
          then (i*b) + (-b) in B by B16,D1,D3;
          hence Q[i-1];
          i * b is Element of INT by INT_1:def 2;
          then (i*b) + b in B by B16,C1,D1;
          hence Q[i+1];
        end;
        for i be Integer holds Q[i] from INT_1:sch 4(C2,C3);
        hence thesis;
      end;
      set BP = B /\ NAT;
      ex p be Element of INT st p in B &
      for b be Element of INT st b in B holds p divides b
      proof
        C2: BP is non empty by B17,XBOOLE_0:def 4;
        C5: BP c= NAT by XBOOLE_1:17;
        set BPN = BP \ {0};
        per cases;
        suppose BPN = {};
          then D1: BP = {0} by C2,ZFMISC_1:58;
          D2: for b be object st b in B holds b = 0
          proof
            let b be object such that
            E1: b in B;
            reconsider bb = b as Element of INT by B15,E1;
            assume E2: b <> 0;
            then per cases;
            suppose bb > 0;
              then bb in NAT by INT_1:3;
              then bb in BP by E1,XBOOLE_0:def 4;
              hence contradiction by D1,E2,TARSKI:def 1;
            end;
            suppose bb < 0;
              then F1: -bb in NAT by INT_1:3;
              -bb in B by B18,E1;
              then -bb in BP by F1,XBOOLE_0:def 4;
              hence contradiction by D1,E2,TARSKI:def 1;
            end;
          end;
          set p = 0;
          reconsider p as Element of INT by INT_1:def 2;
          take p;
          thus thesis by B17,D2;
        end;
        suppose BPN <> {};
          then::           (Stowarzyszenie Uzytkownikow Mizara, Bialystok, Poland).
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
          D1: p in BPN by NAT_1:def 1;
          then D2: p in B by XBOOLE_0:def 4;
          D4: p <> 0 & p is Element of NAT by D1,ZFMISC_1:56;
          D5: for b be Element of INT st b in BP holds p b
          proof
            let b be Element of INT such that
E1 b inBPjava.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
            java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 15
            set r = b mod p;
            reconsider r  Element NAT :3;
            :r< 0by ,,62
            : in 
      
              set q = b div p;
               schemes FUNCT_2, NAT_1 FUNCT_2,NAT_1,CLASSES1
              : b      rby ,NT_1:;
         :b B E1d4;
              F3: qjava.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 7
              p is         in:PbyA6:;
              then F5:   in P by RELAT_1:ef ;
              -q*p is Elementxinf:P by A8,RELAT_1:def 13;
              then b + (- q*p) inB  ,F2,;
;
              hence by ,56
            end;
            r < p by D4,INT_1:58;
             contradictionbyE4NAT_1:1
          
D6 forbbeElement  INT b  B    b
          proof
            let   correctness;
            :b inB
            assume E2  pdividesbjava.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
             cases
            suppose b >= 0;
              then b in NAT by INT_1:3;
               binBP  ,java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 48
               :Ballq,)/ Sphereqs) = (,s misses Sphere(,s)
            end
            b<0java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
              then F1: -b in NAT by INT_1:3;
  ,)missespr :1819java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
java.lang.StringIndexOutOfBoundsException: Range [39, 14) out of bounds for length 53
              bElement of INT  INT_1:def2
              hence contradiction by D5,E2,F2,INT_2:10;
            ;
          end;
          
          take p;
           thesisD1,6XBOOLE_0def4
        ;
      end;
          then ex h be Function of TR |cl_Ball(p, his&h.:Fr cl_Ballby :def ;
      :p   and
      B21: c= Int U & M|W,Tdisk(p,r) are_homeomorphic
      reconsider pp = p asA1 >;
      set Ws = ModuleStr (# the carrier of W, the addF of W,then= asof M|U by TOPS_1:16;
      the ZeroF of W, the lmult of W #);
Ws  java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
proof
        :theof Wscthecarrier  Vbydef2;
        :0.Ws= .
        =0Vby :26;
        C4: the addF    CLcl_Ball(hq,);
        bydef 2;
        the lmult    BB  (qm;
        d2;
        hencethesisby C2,C3,C4,ZMODUL01:40;
      end;
      then reconsider Ws as strict Subspace of V;
      B24: for w be Vector of V holds w in Ws iff w in W;
      per cases;
      suppose p = 0.INT.Ring; then
        C2: for b be Element of INT holds b in B implies b = 0 by B21,INT_2:3;
        for w be Vector of V st w in W holds w in Vv
        proof
          let w be Vector of V such that
          D1: w in W;
          the ModuleStr of V = Lin(I) by VECTSP_7:def 3;
          then w in Lin(I);
          then consider lw be Linear_Combination of I such 
          :w= ();
          lw.v in B by D1,D2;
          then not v in Carrier(lw) by C2,ZMODUL02:8;
          then Carrier(lw) c= I \ {v} by ZFMISC_1:34,VECTSP_6:def 4;
          then lw is Linear_Combination of Iv by VECTSP_6:def 4;
          hence thesis by D2,ZMODUL02:64;
        end;
        then for w be Vector of V st w in Ws holds w in Vv by B24;
        then C4: Ws is Subspace of Vv by ZMODUL01:44;
        Ws is free by B1,B8,C4;
        then consider Iws being Subset of Ws such that
c5:     Iws is base by VECTSP_7:def   then reconsider hCLasnon   MU by A7,RELAT_1:138,A16;
            Iws)=theof
        by c5,VECTSP_7:def 3;
 SubsetofV
        by C5,ZMODUL03:15;
        reconsider   
 ZMODUL0316
        Lin(IwsW) = Lin( CLc byA13A10,A11;
        .= the ModuleStr of W by C5,ZMODUL03 end;
IwsW byVECTSP_7def3
        byVECTSP_7def ;
      end;
      suppose C1: p <> 0.INT.Ring;
        consider lwpv be Linear_Combination of I that
       : v=p&Sum(lwpv) inW by B20;
         p  of0TOP-EALn1;
            then re =#Tdisk0.-n,1) as
        considerend;
        C3
          for
            by ZMODUL03:     :  -java.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 39
        C4: Carrier(lv) = {v}
f
 ubeing  holds  in (lv)implies  in v}
          proof
            assume ex u being object st u in Carrier(lv) & not u in {v};
            then consider u being Vector of V such that
            D1: u in Carrier(lv) & not u in {v};
            u <> v by D1,TARSKI:def 1;
            then lv.u = 0 by C3;
            hence contradiction by D1,ZMODUL02:8;
          end;
          D2: lv) c={v} byTARSKIdef 3;
           in lv) byC3;
              java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 37
          hence thesis by D2;
        end;
        then C18: Sum(lv) = lv.v * v by ZMODUL02:24;
        then C5: Sum(pp*lv) = pp*(lv.v*v) by ZMODUL02:53
        .= pp*v by C3,VECTSP_1:def 17;
        lv is Linear_Combination of {v} by C4,VECTSP_6:def 4;
        then pp*lv is Linear_Combination of {v} by ZMODUL02:31;
        then C6: pp*v in Lin{v} by C5,ZMODUL02:64;
        C17: v <> 0.V by B22,ZMODUL02:56,VECTSP_7:def 3;
        C8: not pp*v in Vv
       
          M|U,Tball.- n1 java.lang.StringIndexOutOfBoundsException: Range [51, 50) out of bounds for length 51
          then *v  Vv /\ Lin{}by ,:java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
java.lang.StringIndexOutOfBoundsException: Range [31, 10) out of bounds for length 51
          java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 67
        end;
C9  in Vv
        proof
           ModuleStr ofV=Lin()by :def3;
          then vpv    ex U being a_neighborhoodof,st
java.lang.StringIndexOutOfBoundsException: Range [51, 10) out of bounds for length 65
D2 vpv=lvpv  java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 45
          Carrier(pp*lv) = {v} by C1java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 9
          then reconsider         java.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 53
          by B4,ZFMISC_1         c=Int M
 ()=lwpv- byC5D2,55
          lwpv -          hencethesis  Def4,3java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
) =I&lpv c I
          bydef
          then lvpv  M|U
          then v= lwpv.-lpv.by :39
          .= lwpvthen:  theTdisk0TR,  2;
          .=  java.lang.StringIndexOutOfBoundsException: Range [7, 8) out of bounds for length 7
          thenA11  =[# byA7,OPS_2:5
          then Carrier(lvpv) c= Iv by ZFMISC_1:34,VECTSP_6:def 4;
          then reconsider lvvpv = lvpv as Linear_Combination of Iv
          by VECTSP_6:def 4;
          vpv = Sum(lvvpv) by D2;
          hence thesis by ZMODUL02:64;
        end;
        reconsider wpv as Vector of V;
        set Iw = Iwv \/ {wpv};
        C10: wpv <> 0.V
        proof
          assume wpv = 0.V;
          then -(-pp*v) in Vv by C9,ZMODUL01:38;
          hence contradiction by C8;
        end;
        set WX = Wv + Lin{wpv};
        reconsider WXv = WWv as Subspace of WX by ZMODUL01:97;
        reconsider Xwpv = Lin{wpv} as Subspace of WX by ZMODUL01:97;
        C11: not wpv in Iwv
        proof
          assume wpv in Iwv;
                   then wpv  WWv;
          then D2: wpv in Vv by ZMODUL01:23;
         -vpv=(-wpv)+pp* byRLVECT_129
          . .+pp*v by RLVECT_115
          .= pp*v;
A17:cl_Ball0,)=Ball0TR,1)/(.,)byTOPREAL9:18
      (/c(.,1) (W/\cl_Ball(.TR1)WB
       :WX =WXv+Xwpv
        proof
          D1W/ ((0.1\0TR,1) XBOOLE_1:9
          xbeingVector ofWXex      WX
          st x1       Int W=W by TOPS_1
          
letbeingjava.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 37
            E1: Wv = Lin(IIwv) by VECTSP_7:def 3
            .= Lin(Iwv) by ZMODUL03:20;
            WX = Lin(Iwv \/ {wpv}) by E1,ZMODUL02:72;
            then x in Lin(Iwv \/ {wpv});
            then consider lx be Linear_Combination of Iwv \/ {wpv} such that
            E3: x = Sum(lx) by ZMODUL02:64;
            consider lx1 be Linear_Combination of Iwv,
            lx2 be Linear_Combination of {wpv} such that
            E4: lx = lx1 + lx2 by D1,ThCarrier2;
            x1 (;
s x2=(lx2;
            x1 in WXv by ,ZMODUL02:64;
            then x1 in WX by ZMODUL01:24;
            then reconsider xx1 = java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 10
             then(-)hp  Ball(.TR,)byA28,A26;
            then x2 in WX by ZMODUL01end
            java.lang.StringIndexOutOfBoundsException: Range [53, 27) out of bounds for length 53
            E5: x1 + x2 = x by E3,E4,ZMODUL02:52;
            take xx1,xx2;
            thus thesis by E1,E5,ZMODUL01:28,ZMODUL02:64;
          end;
          hence thesis by ZMODUL01:133;
        end;
        C15: {wpv} is linearly-independent by C10,ZMODUL02:59;
        WXv /\ Xwpv =A31  >0
        proof
          assume WXv / Xwpv >()WX;
          then considerthen
          D2: x 0.1   =TR(wb,)by A,:1PRE_TOPC:7;
          D3: x in WXv by D2,VECTSP_5:3;
          x in Lin{wpv} by D2,VECTSP_5:3;
          then consider lx be Linear_Combination ofthen
          D5 thenhBB =IU byA37;
          x V  D3,:24
          then reconsider xx = x as Vector of V;
          x inthen
          then D9: x     then consider tbe  suchthat
          D6: x  lx.pv *wpv  D5,MODUL0221java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
          D7: lx.wpv <>A44:MhBB,RBallwbs)are_homeomorphicbyT_0TOPSP:def ;
          proof
            assume lxjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
            then x = 0.V by
            .= 0.WXjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
            contradictionbyD2
          endjava.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
         is  &h.  (.- 1java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
  husp  M ex   p,n  Nat,
          .= wpv;
          then x = lx.wpv * vpv + lx.wpv * (pp*v) by D6,VECTSP_1:def 14
          .= lx.wpv * vpv + (lx.wpv*pp) * v by VECTSP_1:def 16;
          then D8: xx - lx.wpv * vpv
          = (lx.    hbe ofM|UTdisk(.OP- 1 
          .= (lx.wpv*pp) * 
          .= (lx.wpv*    consider h be Funct of M,Tdisk(.TR1 that
          w  vpv in byC9:7
          then D10: (lx.wpv*pp) * v in Vv by D8,D9,ZMODUL01:39;
          D11: Sum((lx.wpv*pp)*lv) = (lx.wpv*pp) * (lv.v*v) by C18,ZMODUL02:53
          .= (lx.wpv*pp) * v by C3,VECTSP_1:def 17;
          lv is Linear_Combination of {v noth. in(.-REAL n);
          A5Ball(.,)inthe of byPRE_TOPC:def ;
          then (lx.wpv*pp)*v in Lin{v} by D11,ZMODUL02:64;
          then (lx.wpv*pp)*v in Vv /\ Lin{v} by D10,VECTSP_5:3;
          then (lx.wpv*pp)*v in (0).V by B13,VECTSP_5:def 4;
          hence contradiction by C1,C17,D7,ZMODUL01:def 7,ZMODUL02:66;
        end;
        then C17: WX is free by C12,C15,FRdsX,VECTSP_5:def 4;
        for x be Vector of V holds x in W iff x in WX
        proof
          let x be Vector of V;
          hereby
            A6: p in:ef 1
                       the  of   I  :3;
            then x in Lin(I);
            then consider lx be Linear_Combination of I such that
            D2: x = Sum(lx) by ZMODUL02:64;
            lx.v in B by D1,D2;
            then consider y be Integer such that
            D4: lx.v = p * y by B21,INT_1:def 3;
            reconsider y as Element of INT.Ring by Lem1;
            y*wpv in W by C2,ZMODUL01:37;
            then E3: x - y*wpv in W by D1,ZMODUL01:39;
            x -: [#(|cl_Ball(.1)=cl_Ball(0T,1  PRE_TOPC:def ;
            proof
              F2: y*wpv = Sum(y*lwpv) by ZMODUL02:53;
              (lx - y*lwpvA12 "(.I)    FUNCT_1:94,;
              .= pp*y - y*(lwpv.v) by D4,    then reconsider B=Ball(0.TR,1) as Subset of TR.TR,)
              =0  C2;
              then F3: not v in Carrier(lx - y*lwpv) by ZMODUL02:8;
              y*lwpv is Linear_Combination of I by ZMODUL02:31;
              then lx - y*lwpv is Linear_Combination of I by ZMODUL02:41;
              then Carrier(lx - y*lwpv) c= Iv
               F3,FMISC_1:,ECTSP_6def4java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
              r =lx  *lwpvLinear_Combinationof 
              by VECTSP_6:def 4;
              x - y*wpv = Sum(lxy) by D2,F2,ZMODUL02:55then  HP= asof Euclidn :;
              hence thesis by ZMODUL02:64;
            end;
            then E4: x - y*wpv in Wv by E3,VECTSP_5A17 s>
            wpv in {wpv} by TARSKI:def 1A19: =B\(h:U)by ,TOPREAL913;
            then E5: y*wpv in Lin{wpv} by ZMODUL01:37,ZMODUL02win the  of  :2java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
            (x - y*wpv) + y*wpv = x - (y*wpv-y*wpv) by RLVECT_1:29
            .= x - 0.V by RLVECT_1:5
            .= x;
            hence x in WX by E4,E5,VECTSP_5:1;
          end;
          assumeD1   WX;
          D2: Wv is Subspace of W by     then h.:(h"W) = W by A19,XBOOLE_1:1,FUNCT
          {} of Wby C2,:31Z:19java.lang.StringIndexOutOfBoundsException: Range [66, 67) out of bounds for length 66
  WX Subspaceof  byD2,ZMODUL02:76;
    then
        endjava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
        then for x be Vector of A25 (U)|W MhW by P:7
         freebyC17,:30;
        then consider Iws being Subset of Ws such that
c18:    Iws is base by VECTSP_7:def 4;
        C18: Iws is linearly-independent & Lin(Iws) = the ModuleStr of Ws
        by VECTSP_7:def 3,c18;
        reconsider IwsV = Iws as linearly-independent Subset of V
        by C18,ZMODUL03:15;
        reconsider IwsW = IwsV as linearly-independent Subset of W
        by ZMODUL03:16;
        Lin(IwsW) = Lin(IwsV) by ZMODUL03:20
        .= the ModuleStr of W by C18,ZMODUL03:20; then
        IwsW is base by VECTSP_7:def 3;
        hence thesis by VECTSP_7:def 4;
      end;
    end;
    A3: for m being Nat holds P[m] from NAT_1:sch 2(A1,A2);
    let V be finite-rank free Z_Module, W be Subspace of V;
    set n = rank(V);
    P[n] by A3;
    hence thesis;
  end;

registration
  let Vthenp  Int hW  A21,OPS_1:3java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
  java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 36
  FRX
end;

theorem
  for V being Z_Module, W A29:  h.p in Sphere(0.TOP-REAL n,1);
      W1, W2 being free A30: p in Int U by CONNSP_2:def 1;
  W1 /\ W2 = (0).V & the ModuleStr of W = W1 + W2
  holds W is free
  proof
    let V be Z_Module, W be Subspace of V,
        W1, W2 be free Subspace of V such that
.V &the ModuleStrofW= +W2;
    reconsider Ws = W1 +  |,Tdisk(0.REAL ,1)  byA28,T_0TOPSPdef1
    then  be  M,|(0TR,)such 
a3: is base by VECTSP_7:def 4java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
A3: I is linearly-independent & Ws = Lin(I) by VECTSP_7:def 3,a3;
    c=U XBOOLE_1:;
      by A3,ZMODUL03:15;
    reconsider IW = IV as     by XBOOLE_1:1,A35,A36,A30,A33:def,:java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
    the ModuleStr of W = Lin(IV) by A1,A3,ZMODUL03:20
    .= LinIU  IU A28FUNCT_1:94;
    A39: h.:IU  A37,FUNCT_1:def 6java.lang.StringIndexOutOfBoundsException: Range [39, 40) out of bounds for length 39
     consider    that
  end;


for  of.,V 
st,p is
  holds VhpinQ A39A41,java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 36
  proofset=2java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
    let p be prime Element:in (hps2) by A45;
  lb=hps)[]TR|0TR,) d 5
     I  V;
setIQ={Vp)whereu is V: uinI};
    letbe
   assume xin IQ;
       be VectorofVsuchthat
  B1: x = java.lang.StringIndexOutOfBoundsException: Range [0, 17) out of bounds for length 6
      thusS  TR|(java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
    end;
     reconsider IQ as Subset of Z_MQ_VectSp(V,p) by TARSKI:def 3;
A3: IQ is Basis of Z_MQ_VectSp(V,p) java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 37
A2: card IQ = card I by ZMODUL03: then reconsider h1=h|hCLB as Func HTR|java.lang.StringIndexOutOfBoundsException: Range [56, 57) out of bounds for length 56
    IQ is finite by A1,A3,VECTSP_9:20;
    thenI finite by ;
    hence thesis by ZMODUL03:def 3;
  end;

theorem
  for p being A63:(TR|0TR)    TR|by A62P:;
  s be Element of V, a be Element of INT.Ring, b be Element of GF(p)
  st b = a mod p holds
  b*ZMtoMQV(V,p,s) = ZMtoMQV(V,p,a*s)
  proof
    let p be prime Element of INT.Ring, V be A64g1isbeing_homeomorphism by ,:,,;
    a be Element A66: dom g = [#](M|W A34,TOPS_2:java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 40
    A1: b = a mod p;
    A2: ZMtoMQV(V,p,s) = s + p(*)V;
    set t = ZMtoMQV(V,p,s);
    reconsider t1 = t as Element of VectQuot(V,p(*)V);
    A3: s + p(*)V is Element of CosetSet(V,p(*)V) by A2,VECTSP10:def 6;
    reconsider i = b as Nat;
    thus b*t =(a mod p) * t1 by A1,ZMODUL02:def 11
    .= a * t1 by ZMODUL02:2
    .= lmultCoset(V,p(*)V).(a,s + p(*)V) by VECTSP10:def 6
    .= ZMtoMQV(V,p,a*s) by A3,VECTSP10:def 5;
  end;

LMX2: for p being prime Element of INT.Ring, V being free Z_Module,
i of INT.Ring, v be Element of V
holds ZMtoMQV(V,p,(i mod p) *v) = ZMtoMQV(V,p,i*v)
proof
  let p be prime Element of INT.Ring, V be free Z_Module,
  i be Element of INT.Ring, v be Element of V;
  reconsider a = (i mod p) as Element of GF(p) by EC_PF_1:14;
  reconsider t1 = ZMtoMQV(V,p,v) as Element of Z_MQ_VectSp(V,p);
  reconsider t1 as Element of VectQuot(V,p(*)V);
  ZMtoMQV(V,p,v) = v + p(*)V; then
  Q1: v + p(*)V is Element of CosetSet(V,p(*)V) by VECTSP10:def 6;
  thus ZMtoMQV(V,p,(i mod p) *v) = a*ZMtoMQV(V,p,v) by ZMODUL03:30
  .= (i mod p) * t1 by ZMODUL02:def 11
  .= i*t1 by ZMODUL02:2
  .= lmultCoset(V,p(*)V).(i,t1) by VECTSP10:def 6
  .= ZMtoMQV(V,p,i*v) by Q1,VECTSP10:def 5;
end;

theorem ThQuotBasis5A:
  for p being prime Element of INT.Ring,
      V being free Z_Module, I being Subset of V,
  IQ being Subset of Z_MQ_VectSp(V,p),
  l be Linear_Combination of I
  st IQ = {ZMtoMQV(V,p,u) where u is Vector of V : u in I}
  holds
  ZMtoMQV(V,p,Sum(l)) in Lin(IQ)
  proof AX:def 4;
    let p be prime Element of INT.Ring, V be free Z_Module, I be Subset of V,
    IQ be Subset of Z_MQ_VectSp(,p,
  then
    assume AS: IQ = A69:domhg  [](TR|GhCLW)by TOPS_2:def5java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
eFinSequence ofV  
    P1: G is one-to-one & rng G = Carrier(l)
    l  l# ) by :ef6;
    let beElement  ;
      assume i inthen  open A62,:java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
theniinSeglen (l (# 3
      then i in Seg len G by VECTSP_6:def 5;
      then
      :i  G  FINSEQ_1:def ;
      then G.i in rng G by FUNCT_1:3;
      then reconsider v = G.i as Element of V;
      Y5: (l (#) G ).i = (l.v)*v by Y3,ZMODUL02:13;
      reconsider b = ( (l.v) mod p ) as Element of GF(p) by EC_PF_1:14;
      reconsider a = (l.v) mod p as Element of INT.Ring;
      reconsider k = l.v as  of INT.;
        =lv)* as   V;
      reconsider t = ZMtoMQV(V,p,v) as Element of Z_MQ_VectSp(V,p);
      Y7: b*t = ZMtoMQV(V,p, a*v) by ZMODUL03:30
      .= ZMtoMQV(V,p, k*v) by LMX2;
      H1: v in Carrier(l) by Y3,P1,FUNCT_1:3;
      Carrier()c=I by VECTSP_6:def 4;
      then t in IQ by AS,H1;
      then b*t in Lin(IQ) by VECTSP_4:21,VECTSP_7:8;
      hence ex si be Vector of V
      st si = (l (#) G ).i & ZMtoMQV(V,p,si) in Lin(IQ) by Y7,Y5;
    end;
    hence ZMtoMQV(V,p,Sum(l)) in Lin(IQ) by AS,P1,ZMODUL03:33;
  end;

theorem ThQuotBasis5:
  forp prime lement INT.,
      V freeZ_Module,  beingSubset  V,
  IQ beingendjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
  st Lin(I) = the ModuleStr of V &
  IQ = {ZMtoMQV(V,p,u) where u is Vector of V : u in    M be non  ;
  Lin(IQ) = the ModuleStr of Z_MQ_VectSpend;
  proof
    let p   let M be non M be emptyTopSpace;
    IQ be Subset of Z_MQ_VectSp(java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
    P0: Lin(IM|,(0.TOP-REAL ,1are_homeomorphic
    AS:      assum that
    for vq being Element of Z_MQ_VectSp(V,p) holds vqconsider  bea_neighborhoodof , suchthat
    proof
      let vq be Element of Z_MQ_VectSp(V,p);
      consider v being Vector of V such that
      P3: vq = ZMtoMQV(V,p,v) by ZMODUL03:22;
      consider l be Linear_Combination of I such that
      P4: v = Sum(l) by P0,STRUCT_0:def 5,ZMODUL02:64;
      thus vq in Lin(IQ) by      consider h be Function of T(0TR,)such 
    end;
    hence thesis by VECTSP_4:32;
  endA6:  #MU=  byPRE_TOPC:ef java.lang.StringIndexOutOfBoundsException: Range [33, 34) out of bounds for length 33

theorem FG02:     reconsider =HIB  Subset TR A5,:;
for  being - 
  holds ex A being finite Subset java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 9
A10: Int U =UbyTOPS_116java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
    let V A13: h.p in (.,)
    set p = the java.lang.StringIndexOutOfBoundsException: Range [16, 11) out of bounds for length 11
    set A = the Basis of V;
    setAQ ZMtoMQV(V,,)whereis Vector
      x be object;
        in;
      then   be  of   
B1:x=ZMtoMQVVpv &  A;
      thus x in the carrier of Z_MQ_VectSp(reconsider bb=all(hP,)as non emptySubset of 0TR1
    end;
f Z_MQ_VectSp(,p)  TARSKI:ef;
    reconsider A19:  h"(h.:Int Uc=Int  byA3FUNCT_1:;
    consider B being finite Subset     hen c=Int A18,19;
    P1: Lin(B) = the A21: hb is open by A6,TSEP_1A17,A10;
    set BQ = {ZMtoMQV(V,pA: p n byA21:23;
    now let x be object;
      x  ;
      then consider v be Vector of V such that
      B1: x = ZMtoMQV(V,p,v) & v in B;
      thus x in the carrier of Z_MQ_VectSp(V,p) by B1;
    end;
    then reconsider BQ as Subset of Z_MQ_VectSp(V,p) by TARSKI:def 3;
    deffunc F(Element of V) = ZMtoMQV(V,p,$1);
     Function the  of , Z_MQ_VectSp(, t
    P6: for x be Element of V holds      then
    B c= the carrier n
    then P8: B c= dom f by   end;
    for y be object st y in BQ ex x be    assume
    proof
      let y be object such that
      Q1:y inBQ
sider  beVector of such.,  0T,)byPRE_TOPCdef5;
Q2:y =ZMtoMQV(Vin  by ;
      Q3: x in dom(f|B) by P8,Q2,RELAT_1:62;
 :y  .x  ,2
      . reconsider hIU  h.:IUas Subset ofTR by ,:1;
     x
,ELAT_1:62;
    end
     : = ( |B)by :9;
Z_MQ_VectSp(,)by ,ThQuotBasis5;
    then consider IQ be Basis of Z_MQ_VectSp(V,p) such that
    P4: IQ c= BQ by VECTSP_7:20;
    P5: AQ is finite by P2,P4,MATRLIN:def 1,VECTSP_9:20;
    card A = card AQ by ZMODUL03:26;
    then A is finite by P5;
    hence thesis;
  end cl_BallHpr2)c H,r  A31, A42;

registration
  cluster -> finite-rank for finitely-generated free java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 9
  coherence
  proof
    letreconsider ="BI asSubset of  java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 28
    ex A being |.Hp - Hp.|=0 byjava.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 34
    thenin hCL by 49RELAT_1143,22,A51;
  end;
end;

registration
  cluster -> finitely-generated java.lang.StringIndexOutOfBoundsException: Range [0, 35) out of bounds for length 7

  t by93java.lang.StringIndexOutOfBoundsException: Range [31, 32) out of bounds for length 31
    let V be finite-     |T(.OPREAL , 
    consider A be finite Subset of V such that
    A1: A      ex U a_neighborhoodofp, st
       end;
    thus thesis by A1,VECTSP_7:def 3;
  end;
end;

theorem RL5Th25:
  for V be java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 4
  st A is linearly
  proof
    let V be finite-rank free Z_Module;
    let A be Subset of =] asnon empty Subset of M;
    consider I be finite Subset of V such that
    A1: I is Basis of V by ZMODUL03:def 3;
       assumeAlinearly-independent;
    then card A c= card I by A1,XXTh3,XBOOLE_0:def     reconsider  as   TRbyA1;
    hence thesis;
  ;

RL5Th28:
  for V be finite-rank free Z_Module, W be Subspace of V holds
  W(0.1 =Int0TR, by TOPREAL9:16TOPS_1:java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
  proof
    let V be finite-rank free Z_Module, W be Subspace of V;
    set A = the Basis of W;
    reconsider A0 = A as linearly-independent Subset of V
    by VECTSP_7:def 3,ZMODUL03:15;
    A0 is finite by RL5Th25;
    hence thesis by ZMODUL03:def 3;


registration
  java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  cluster W1 /\ W2 -> freeis
  correctness
  
    W1 /\ W2 is Subspace of W1 by ZMODUL01   UCONNSP_2def
    hence thesis;
  end;
end;

registration
  let V:: of Locally Euclidean Spaces
     p  java.lang.StringIndexOutOfBoundsException: Range [21, 22) out of bounds for length 21
  correctness
  proof
  isSubspaceofW1by ZMODUL01105;
    hence thesis by RL5Th28;
  end;
end;


  let V be finite-rank free java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 33
  cluster -> finite-rank for java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 29
    /;
;


Messung
CHZG
8110010093

¤ Dauer der Verarbeitung: 0.216 Sekunden  ¤

*© Formatika GbR, Deutschland







                                                                                                                                                                                                                                                                                                                                                                                                     

 

Neuigkeiten

Aktuelles
Motto des Tages

letze Version des Elbe Quellennavigators


letze Version des Demonstrationsprogramms Goedel
letze Version des Bille Abgleichprogramms
Version

Jenseits des Üblichen ....

Besucher

Besucher

Statistik
#Sources=1,188,058
#Domains=861,593