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

Quelle  zmodul03.miz   Sprache: Mizar

 

:: Free $\mathbb Z$-module
::  by Yuichi Futa , Hiroyuki Okazaki and Yasunari Shidama
::
:: Received August 6, 2012
:: Copyright (c) 2012-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/.

    thejava.lang.StringIndexOutOfBoundsException: Range [8, 9) out of bounds for length 8

 vocabularies NUMBERS, FINSEQ_1, SUBSET_1,    F L #) F  VECTSP_6:5java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
      ALGSTR_0, RELAT_1, PARTFUN1, ARYTM_3,    then reconsider r = (L (#) F)*P as FinSe byjava.lang.StringIndexOutOfBoundsException: Range [68, 67) out of bounds for length 71
      CLASSES1, XXREAL_0, TARSKI, then
      FINSET_1 =L() 29java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
,   java.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 73
      INT_3, VECTSP_1,
      INT_2, MESFUNC1, MOD_3;
   java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 76
      RELSET_1, PARTFUN1, BINOP_1, FUNCT_2, DOMAIN_1, FINSET_1, ORDERS_1,
      CARD_1, CLASSES1, NUMBERS, XCMPLX_0, XXREAL_0, NAT_1, FINSEQ_1,
      NAT_D,
      FINSEQ_3, NEWTON, STRUCT_0, ALGSTR_0, GROUP_1, RLVECT_1, VECTSP_1,
      INT_1,
      VECTSP_2, VECTSP_4, INT_2, VECTSP_6, VECTSP_9, MATRLIN, INT_3, BINOM,
      EC_PF_1, VECTSP_7, VECTSP10, ZMODUL01, ZMODUL02;
 constructors BINOP_2, BINOM, UPROOTS, RELSET_1, ORDERS_1, REALSET1, VECTSP_2,
      RLVECT_2, REAL_1, CLASSES1, FUNCT_7, NAT_D, GR_CY_1, EUCLID, VECTSP_6,
      VECTSP_9, VECTSP10, ALGSTR_1, ZMODUL01, ZMODUL02, BINOP_1, VECTSP_7,
      VECTSP_4, NEWTON, INT_1;
 registrations SUBSET_1, FUNCT_1, RELSET_1, FUNCT_2, FINSET_1, NUMBERS,
      XREAL_0, STRUCT_0, MEMBERED, FINSEQ_1, CARD_1, INT_1, XBOOLE_0, XXREAL_0,
      NAT_1, INT_3, RELAT_1, ALGSTR_1, ZMODUL02, ORDINAL1, VECTSP_7;
 requirements REAL, NUMERALS, BOOLE, SUBSET, ARITHM;
 definitions TARSKI, VECTSP_6, VECTSP_7;
 equalities STRUCT_0, ALGSTR_0, INT_3, VECTSP_1, BINOM, ZMODUL02, VECTSP_4,
      VECTSP_6, VECTSP10;
 expansions TARSKI, STRUCT_0, VECTSP_6, VECTSP_7, ZMODUL01;
 theorems CARD_1, CARD_2, SUBSET_1, FINSEQ_1, FINSEQ_2, FINSEQ_3, FUNCT_1,
      FUNCT_2, INT_1, NAT_1, RLSUB_2, RLVECT_1, TARSKI, ZMODUL01, RLVECT_2,
      ZFMISC_1, RELAT_1, XBOOLE_0, XBOOLE_1, XCMPLX_1, XREAL_1, ORDINAL1,
      STRUCT_0, PARTFUN1, FINSET_1, ORDERS_1, RFINSEQ, VECTSP_1, EC_PF_1,
      INT_2, WELLORD2, ZMODUL02, NAT_D, VECTSP_6, VECTSP_7, NUMBERS, VECTSP_4,
      VECTSP_9, MATRLIN, BINOM, RLVECT_3, MOD_3, VECTSP10;
 schemes FINSEQ_1, FUNCT_2, NAT_1, FUNCT_1, XFAMILY;

begin :: 1. Free Z-module

 reserve x, y, y1, y2 for set;
 reserve V for Z_Module;
 reserve u, v, w for Vector of V;
 reserve F, G, H, I for FinSequence of V;
 reserve W, W1, W2, W3 for Submodule of V;

registration
  cluster non trivial for Z_Module;
  correctness
  proof
    set AG = INT.Ring;
    set G = ModuleStr(# the carrier of AG,
      the addF of AG, the ZeroF of AG, Int-mult-left(AG) #);
A1: G is Z_Module by ZMODUL01:164;
    G is non trivial;
    hence thesis by A1;
  end;
end;

registration
  let V be Z_Module;
  cluster linearly-independent for finite Subset of V;
  correctness
  proof
    reconsider W = {}(the carrier of V) as finite Subset of V;
    take W;
    thus W is linearly-independent;
  end;
end;

theorem Th1:
  for u being Vector of V holds
  ex l being Linear_Combination java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
    > l. java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49

    let u be Element of V;
    java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 55
    deffunc F([java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 64
i1   INT 2;
    ex f being Function of the carrier of V, INTjava.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
fu=&  java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 66
    from FUNCT_2:sch 6;
    then consider      GVjava.lang.StringIndexOutOfBoundsException: Range [32, 33) out of bounds for length 32
    A1: f.u = 1 and
    :vofVv<  fv  ;
    for v being Element of V holds not v inx x  1
    then
          :rng:;
      by A2;
    reconsider f as Element of Funcs(the carrier of V,
      the carrier of INT.Ring) by FUNCT_2:8;
VV;
    take f;
    thus thesis by A1,A2;
  end;

Lm1:
r java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 29
n be Element      :{}  L \by: 7
holds i*r      =L \r  /**)byFjava.lang.StringIndexOutOfBoundsException: Range [58, 57) out of bounds for length 60
proof
  let r be Element of INT.Ring;
  defpred P=L \\ ()/ x  23java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
forst 1 holdsir=$*java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
  reconsider java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 10
   .Ring  ;
  A2: P[ 0 ] by A1,BINOM:12;
  A3: for n A7: Carrier)/   }java.lang.StringIndexOutOfBoundsException: Range [39, 40) out of bounds for length 39
  proof
    let            x 1java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
    assume A4: P[n];
    now
      ibe
      assume A5: i = n+1;
      reconsider Kn = n, K1 t
      reconsider n1 =       9 .x ;
      A6: K1 * rSumL (#) G) = Sum((()p  L( ) A3
      thus i*r = Kn*r +      =((   ( )41

      .= (n+1) * r by BINOM:15;
    end;
    hence P[n+1];
  end;
for beNatholds P[] from NAT_1:2A2,3);
  hence thesis;
end;

theorem Th2:
  for G be Z_Module, i being Element of INT.Ring,
    ofINT,be java.lang.StringIndexOutOfBoundsException: Range [40, 41) out of bounds for length 40
G=#INT.,  Ring,
    the ZeroF of INT.Ring, Int-mult-left(INT.Ring) #) & v = w
  holds i*v = i*w
proof
    let G be Z_Module, SumL ()F  ():::by VECTSP_9:3;
    w be Element java.lang.StringIndexOutOfBoundsException: Range [0, 19) out of bounds for length 7
     A1:   (#   INT,
    the addF of INT.Ring, the ZeroF of INT.Ring,
    Int-mult-left(INT.Ring) #) & v = w;
    reconsider r = v as Element of INT.Ring by java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 19
    per cases;
    suppose 0 <= i;
      then reconsider n=i as     let L be Linear_Combination of 
      thus iA2: ()c  java.lang.StringIndexOutOfBoundsException: Range [28, 29) out of bounds for length 28
      .= i*w by A1,Lm1;
    end;
    suppose A2: not 0 <= i;
then   =-   of NAT  INT_1:;
      thus i*v = n*(-r) by A1,A2,ZMODUL01:def 20
      .    :  L java.lang.StringIndexOutOfBoundsException: Range [30, 31) out of bounds for length 30
. *by
    end;
  end;


::$CD
::  let IT be Z_Module;
::  attr IT is free means  :Def1:
::  ex A being Subset of IT
::  st A is linearly-independent & Lin(A) = the ModuleStr of IT;
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4

 = XBOOLE_1;
  cluster (0).V -> free;
  :;
end;

registration
  java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 0
  existence
  proof
    take (0).the Z_Module;
    hus thesis;
  end;
end;

registration
  let V be Z_Module;
  cluster strict free for Submodule of V;
  existence
  proof  
    take (0).V;
    
  end;
end;

defpred[,  1  ofV 
  let V be free Z_Module;
forofVjava.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
defjava.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
end;

definition
  let V be free Z_Module;
  mode         [xjava.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
::$CD
end;

registration
  cluster -> Mult-cancelable for free Z_Module;
  
  proof  java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
_;
    set I = the Basis of V;
java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 40
    consider a being Element of >by A4,FINSEQ_2:18;
    A2: a * v = 0.V & a <> 0.INT.Ring & v <> 0.V by A1;
    I is base; G =<x>   ,java.lang.StringIndexOutOfBoundsException: Range [65, 64) out of bounds for length 68
  I  ModuleStr java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
    then  =G\/{}  java.lang.StringIndexOutOfBoundsException: Range [42, 43) out of bounds for length 42
A3   lv STRUCT_05ZMODUL026;
    Carrier(lv) <> {} by A2 { =F A,:7java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
    :a >{ZMODUL02:;
    A5: a * lv is Linear_Combination of I by ZMODUL02:31;
    a    . A353;
    hence contradiction by A4,A5,VECTSP_7:def 3,VECTSP_7:def 1;
  end;
end;

registration
  cluster free for non trivial Z_Module;
  correctnessA9:  LA1 d , ,java.lang.StringIndexOutOfBoundsException: Range [63, 62) out of bounds for length 66
  proof
   AG=;
    set G = ModuleStr(# the carrier of AG, the addF of AG,
    the ZeroF of AG, Int-mult-left(AG) #);
    java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 57
    reconsider iv = 1 as Vector of G;
 asElement  INTby INT_1:ef2;
    set I = {iv};
    reconsider I as Subset of G;
    for a be Element of INT.Ring for v being Vector of G st      :SumL# ) =(A2) byA2,A4,5,7X:;
    holds a = 0.INT.Ring or v = 0.G
    proof
      let a be Element of INT.Ring, v be       A11: LA2 + L.x * LA1 is Linear_Combination .   Linear_Combinationof A by :java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
      assume A1: a * v = 0.G;
            .=()+L(  A10,41
      a*w = 0 by A1,Th2;
       =.Ring v =0Gby 6
    end;
    then G is Mult-cancelable . (LA2+.x  A9:
    then A3: I is. LA2 x*  java.lang.StringIndexOutOfBoundsException: Range [47, 46) out of bounds for length 49
    for x be object holds
    x in the carrier of Lin(I) iff x in the java.lang.StringIndexOutOfBoundsException: Range [26, 27) out of bounds for length 26
    proof
      java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 22
      hereby assume 
        the carrier of       c= A;
        hence x in A13: len F is Element;
      end;
 in ;
      then reconsider v0 = x as Vector of G;
      reconsider        beV
      reconsider java.lang.StringIndexOutOfBoundsException: Range [0, 18) out of bounds for length 17
      i0=0 INT;
      deffunc G(Vector of G) = 0.INT.Ring;
      deffunc L0(Vector         *>the )java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
      consider g being Function of G, INT;
      holdsP : 2 )java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
      A6: for u being Vector of G st u <>  
fromsch;
      reconsider g as Element of Funcs(the carrier of G, the carrier of
        INT.Ring) by FUNCT_2L ofVfor st
      now
        let u be   Carrier(L) c= the car A 
        assume not u in {  ex K being Linear_Combinaof  stSum()=Sum()
         u < iv byTARSKIdef1;
        hence g.u = 0.INT.Ring by A6;
      ;
      then reconsider g as Linear_Combination of G by VECTSP_6:java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 47
      Carrier(g) c= {iv}
      proofFis one--ne
        let x be object;
        assume   (g)java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
        thenL = Sum( ()F by : 6;
        then x = iv by A6;
        hence thesis by TARSKI:def 1;
      end;
           L =the LinA;
      Sum(g) = w * iv by A5then b ofA
      .= w*i1 by Th2
      .v;
      hence x in the carrier of (Lin(I) Kjava.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
    end;
    java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 6
    ex I being Subset of G  Th11java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
    then G is free;
    hence thesis;
  end;
end;

 reserve KL1, KL2 for  of    being W K  LtheW
 reserve X for Subset of V;

theorem Th3:
  X is linearly-independent & Carrier(KL1) c= X & Carrier(KL2) c= X
  & Sum(KL1) = Sum(KL2) implies KL1 = KL2
  proof
    assume A1: X is linearly-independent;
    assume A2: Carrier(KL1) c= X;
    assume Carrier(KL2) c= X; then
    A3: Carrier(KL1) \/ Carrier(KL2) c= X by A2,XBOOLE_1:8;
    assume Sum(KL1) = Sum(KL2);
    then Sum(KL1) - Sum(KL2) = 0.V by RLVECT_1:5; then
    A4: KL1 - KL2 is Linear_Combination of Carrier(KL1 - KL2) &
    Sum(KL1 - KL2) = 0.V by ZMODUL02:55,VECTSP_6:def 4;
    Carrier(KL1 - KL2) c= Carrier(KL1) \/ Carrier(KL2) by ZMODUL02:40; then
    A5: Carrier(KL1 - KL2) is linearly-independent
    by A1,A3,XBOOLE_1:1,ZMODUL02:56;
    now
      let v be Vector of V;
      not v in Carrier(KL1 - KL2) by A5,A4;
      then (KL1 - KL2).v = 0;
      then KL1.v - KL2.v = 0 by ZMODUL02:39;
      hence KL1.v = KL2.v;
    end;
    hence thesis;
  end;

theorem
  for V, A being   V  Ais -
  ex B being Subset of V st A c= B & B is linearly  
(   of V V java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 66
    a * v in Lin(B))A1 L = of W;
  proof
    let V be free Z_Module, A be Subset of V such that
    A1: A is linearly-independent;
    defpred P[    A2: K = L|the of ;
    linearly-independent;
    consider being 
    A2: for Z being set holds Z in Q iff Z in
sch1;
A3: now
      let Z be set;
      java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 17
      A4 w ofW
      A5: Z c= Q and
      A6: Z is       A4:x =wand
      set W = union       A5: K. < 0;
      W c= the carrier of V
      proof
        let x be       : w   of  byZMODUL01:;
        assume x in W;
        then consider X be setL. >0by ,3A5F:;
        A7: x in X and
        : X in  byTARSKI:ef 4;
        X in bool(the carrier of V) by A2,A5,A8;
        hence thesis by A7;
      end;
      A7: Carrier(K) c= Carrier(L);
      A9: W is linearly-independent
      proof
        deffunc Q(object)={C where     :Gis one-to-one &rngG=Carrier()and
        letA9 K  ( #G   ;
        assume that
        A10: Sum(l) = 0.    consider F being FinS 
        A11: Carrier(l) < A10:Fis one-one and
        consider f being Function such that
        A12: dom f = Carrier(l) and
A13forx  l fx=Qxjava.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
               java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
         M=rng as non    A11,,RELAT_142;
        set F = the Choice_Function of M;
        set S = rng F;
        A14:
        now
          assume {} in M;
          then consider x being object such that
A15:   
          A16: f.x = {} by FUNCT_1:def 3;
          l = d 4;
          then consider X be set such that
          A17: x in X andA15: L. < ;
          A18: X in Z by,A,:47;
          reconsider X as Subset of V by A2,A5,A18;
          X  { whereCis Subset of V:x  C &C Z by ,18;
          hence contradiction by A12,A13,A15,A16;
;
        then
        A19: dom F = M by RLVECT_3:28    
 is A128;
        then
        A20tjava.lang.StringIndexOutOfBoundsException: Range [8, 9) out of bounds for length 8
        A21:
        now
          let X be set;
           S;
          then consider x being object such that
          A22: x in dom F and
          :Fx= : 3
          consider y being object such that
 & y=by ,java.lang.StringIndexOutOfBoundsException: Range [51, 50) out of bounds for length 57
          reconsider x as set java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 30
          A25:K()G  G:;
          X in x by A14,A22,A23,ORDERS_1:89;
         C V C    in &inZA25;
          hence X in Z;
        end;
        A26:
        
          let X,Y be set;
          assumeX    java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
Xin&inZ ;
          hence X c= Y or Y c= X by A6,ORDINAL1    q   d 5
         
        S <> {} by A19,A21: dom q = dom G by FINSEQ_3=by29java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
        then union S in Z by A20,A22 ofW=java.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 64
            rng q  c=java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 37
        A27: B =     then reconsider=q asFinSequence V byFINSEQ_1:ef4;
        A c= B and
           Ajava.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
        Carrier(l) c= union S
        proof
          let x be object;
          set XA24:0 . andjava.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
          java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 38
          then
           x=C  s Subsetof:xin &C n Z} by A13java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
          A31: f    domf=   f c=thecarrier  W by FUNCT_2def ;
          then F.X in X by A14,ORDERS_1:    then reconsider f9= f as Function of NAT, the carrier of V
          then
A32  being V F=C  &Zjava.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
    : java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 61
          hence thesis=( +)holds f9.(i+   i+java.lang.StringIndexOutOfBoundsException: Range [46, 47) out of bounds for length 46
         let ,bejava.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 37
        then l is Linear_Combination     
java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
       = 1    <   A27:,;
      set x = the Element of Z;
     inby,; 
      A33: then reconsider v9= v as Vector of W by A28,FINSEQ_2:11;
byjava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
      x c= W by A4,ZFMISC_1:74;
      hence union enF  A18FINSEQ_2:44; then
    end;
    Q <> {} by A1,A2;
    then consider X e  such that
    A34: X in Q and
A35:    stinQ&Z< holds  c= Z by A3,RDERS_1:;
    consider B being Subset of V such that
: B =  and
    A37: A c= B and
A38: Bis i by A2,34java.lang.StringIndexOutOfBoundsException: Range [45, 46) out of bounds for length 45
    take B;
    thus       let i be ;
          set  =F/i;
    st a * v in Lin(B);
    then consider v being Vector of V such that
    A39: for a being Element      
    A40:  A34:i  dom p;
    proof
      then
      assume A41: Sum(l) =      assume A41: Sum(l) = A32PARTFUN1: ;
      now
        per cases;
        suppose
          inCarrierl;
          reconsider i0 = 0 as Element of INT.Ring;
         (of )=..Ring;
          deffunc L(Vector of V)=l.$1;
                dom P =   P GbyFUNCT_2:d 3;
          INT.Ring such that
          A42: f.v      then
          A43: for u being Vector of V st u <> v holds      reconsider    ofNAT;
          from       A37: G/.j = G.(P)A36P: 
          reconsider f as       .= v by A18,A30,A32,A34,A35:;
            the  qi= K().byA,:2
          now
            letu Vectorof ;
            assume not u in java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
notu ()  in v  XBOOLE_05;
            then l.u = 0 & u <> v or u = v by TARSKI:def 1;
            hence f.u = 0 by A42,A43;
          end;
              V : ;
          Carrier(f) c= B
          proof
            let x  ;
            A44: Carrier(l) c= B \/ {v} by VECTSP_6:def 4;
            assume x in Carrier(f);
            then consider u being Vector of V such that
            A45: u =            A45: u =  ) by d 5java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
            A46: f.u <> 0;
            f.u        Permutation   dom( (#))
            then u in Carrier(l) by      K (# )P; then
then inB u{} ;
            hence thesis by A42,A45,A46,TARSKI:def 1;
          end;
    asjava.lang.StringIndexOutOfBoundsException: Range [50, 49) out of bounds for length 73
          reconsider lv =f90  . 26java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
          consider g being Function of the carrier    by ,16,A12,A9,A,A,R:12,:10;
            the carrier of INT.  ;
          A47: g.v = lv and
          A48: for u being Vector of V
           java.lang.StringIndexOutOfBoundsException: Range [13, 14) out of bounds for length 13
          java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 36
            Funcs(the ex java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 39
          now() java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 43
             Vector V;
            assume not u in {v};
            then u <> v by TARSKI:def 1;
            hence g.u = 0.$ &$2=K$) not$ W 2=)java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
          end;
          then reconsider g as Linear_Combination of V by VECTSP_6:def 1;
          Carrier(g) c= {v}
          proof
            let x be object;
            assume x in Carrier(g);
             Vectorof  stx   &g. > 0;
            then x = v by A48;
            hence thesis by TARSKI:def 1;
          end;
          then     :    =  bydefjava.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
          A49: Sum()=( l.)*v  A47,:21;
          f - g = l
          proof
             u Vjava.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
                       
              per cases;
              suppose
                A50: v = u;
thus f-)  .-gu 39
                .= l.u by A42,A47,A50;
              ;
              suppose
                A51: v <> u;
                thus (f - g).u = f.u - g.
.=l -g. byA43,51
                .= l.u - 0.INT.Ring by A48,A51
                .= l.u;
              nd
            end;
            hence thesis;
          end;
          then 0.V = Sum(f) - Sum(g) by A41,hence thesis;
          end;
          .= (- l.v) * v by A49,RLVECT_1:4;
      suppose
        end;
        
          A52: not v in Carrier(l);
          Carrier(l) c= B
          java.lang.StringIndexOutOfBoundsException: Range [0, 15) out of bounds for length 10
            let x be object;
                       
            A53: x in Carrier(l);
 by VECTSP_6: 4;
            then x in B or x in {v} by A53,XBOOLE_0:def 3;
            hence      FUNCT_2:ch()
          end;
          then l is Linear_Combination of B by VECTSP_6:    
      let    java.lang.StringIndexOutOfBoundsException: Range [27, 28) out of bounds for length 27
        end;
      end;
       java.lang.StringIndexOutOfBoundsException: Range [19, 20) out of bounds for length 19
    ndjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
 byTARSKIdef 1java.lang.StringIndexOutOfBoundsException: Range [29, 30) out of bounds for length 29
    then
    A54: v in B \/ {v} by XBOOLE_0:def 3;
    not (1.(INT.Ring)) * v in Lin(B) by A39;
    then not v in Lin(B) by VECTSP_1:def 17;
    then A55: not v in B by ZMODUL02:65;
    B c= B \/ {v} by XBOOLE_1:7;
then  /{}in   A2,A37A40X:;
    hence contradiction by A35,A36,A54,A55,XBOOLE_1:7;
  end;

theorem Th5:
  for L being Linear_Combination of V for F,  L Elementof(he of ,the of .)
for eing  domF  G *holds
  Sum(L (#) F) = Sum(    as ofV A6,ECTSP_6:ef 1;
  proof
    let L be Linear_Combination     reconsider L9= L|the carrier of FunctionofW java.lang.StringIndexOutOfBoundsException: Range [74, 75) out of bounds for length 74
    take;
    set p = L (#)     
    let be 
    A1: G = F*P;
    A2: len G = len F by A1,java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 29
    F=L # ) def5java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
          co  V 
    A3: dom F = dom(L (#A9    
    thenA10 . >0byjava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
    (L#F java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 43
    then
      r L # )by29java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
    A5d;
    then
    A6: dom F = dom p     A11: Carrier(L) c= t Wjava.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
    len q = len       
    then
    A7: dom p = dom q by A1       injava.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 33
    A8: dom F = dom G by A2,FINSEQ_3:29;
    
      let k be Nat;
      assume
:  inq;
      set l = P.k;
      dom P = dom F & rng P = dom F by FUNCT_2:52,def java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 6
      java.lang.StringIndexOutOfBoundsException: Range [10, 11) out of bounds for length 10
      A10: l in dom F by A7,A6,A9,FUNCT_1:def 3;
      then reconsider l as Element of NAT;
      G/.k = G.k by A7,A8stK    K) = Sum (L)
      .= F.(P.k) by A1,A7,A8,A6,A9,FUNCT_1:12
      .= F/.l by A10  
      then     L java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 37
. L# )(.) A10V java.lang.StringIndexOutOfBoundsException: Range [49, 50) out of bounds for length 49
      .      L  java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
      theof cofV: 2
    end;
 A3,A4A7,13RLVECT_2:7;
  end;

      Function  the carrier of W,the  ofINT.Ring by :;
  for L being Linear_Combination of V for    A2:K  Element of Funcs(thecarrier  ,the   INT.Ring)
  Carrier(L) misses rng F holds Sum(L (#) F) = 0.V :::by VECTSP_9:2;
  proof
    let L be     A3: dom K = the carrier ;
    defpred P[FinSequence] means for G being FinSequence of V st
    G = $1 holds Carrier(L) misses rng java.lang.StringIndexOutOfBoundsException: Range [0, 40) out of bounds for length 27
    A1: for      A4:w  Vector of V  ZMODUL01:5java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
    proof
      let p be FinSequence, x be object      then L.w=0byA4;
      A2: P[p];
      let G be FinSequence of V;
      assume A3: G = p^<*x*>;
      then reconsider p, x9= <*x*> as FinSequence of V by FINSEQ_1:36;
xin{}by : 1;
      then
      A4: x in rng x9 by FINSEQ_1:38;
      reconsider x as Vector    take ;
      assume Carrier(L) misses rng G;
      then
      A5: {} = Carrier(  java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
=Carrier)/\ r  /rng<x*)byA3,INSEQ_1:java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
      .= Carrier(L forVbeing  for  , beingVector of V
      .= Carrier(L) /\ rng p \/ Carrier(L) /\ {x} by java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
      then Carrier A   ofW;
      then
      A6: Sum(L (#) p) = 0.V by A2,XBOOLE_0:def 7;
      A7 Carrier() / x ={ by A5;
      now
        A8: x in      =A Subset  V by XBOOLE_1:1;
        assume x in Carrier(L);
byA7,8XBOOLE_0: 4;
      end;
      java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
      A9: L.x = 0;
      SumL # )=(#    # )byZ51
      .= Sum(L (#)       L  . 
. . <Lx  ) A6,:java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
      L = def4java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
.Ring ,44
      .= 0.V by ZMODUL01:1;
      hence thesis;
    end;
    A10: P[{}]
    
      let G be FinSequence of V;
      assume G = {};
          ;
      A11: L (#) G = <*>(the     ;
      java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 6
      thus thesis by A11,RLVECT_1:43;
    end;
    A12:   ASubsetof  st A linearly java.lang.StringIndexOutOfBoundsException: Range [56, 57) out of bounds for length 56
   F  FinSequence of V;
    assume Carrier(L) misses rng F;
    hence thesis by A12;
  end;

theorem
  for F being FinSequence  proof
  for L being Linear_Combination of V st        Subset of  that
  Sum(L (#) F    A1:A is linearly-independent
  proof
let  beFinSequence of suchjava.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
    -one
    rng F c= rng F;
    then     now
    let L be Linear_Combinationassume A9 is linearlydependent;
    A2: Carrier(LtK  that
    consider G being FinSequence of V such that
A3  --neand
    A4: rng G = Carrier(L) and
    A5: Sum(L) = Sum(L (#) G) by VECTSP_6:defconsider of Vthat
    A5: Carrier(L) = Carrier(K) and
    set F1 = F - A`;
    X \ A` = X /\ A`` by SUBSET_1:13
    .  by XBOOLE_1:28; then
    A6: rng F1 = rng G by FINSEQ_3:65;
    F1 is one-      reconsiderLas Linear_Combination of A  A5VECTSP_6: 4;
    A7: ex Q being Permutation of dom G st  Sum()=0. by ,A6:;
             ,A4A5;
    java.lang.StringIndexOutOfBoundsException: Range [4, 1) out of bounds for length 17
    A8: rng F2  end;
    .= {} by XBOOLE_0java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    ex P being Permutation of dom F st (F - forV  Z_Module
    by FINSEQ_3:;
    then Sum(L (#) F) = Sum(L (#) (F1^F2)) by Th5
    .= Sum((L (#) F1) ^ (L (#) F2)) by ZMODUL02:51
    .= Sum(L (#) F1) + Sum(L (#) F2) by RLVECT_1:41
.=SumL() )+0V  4A8,h6,XBOOLE_0:def 7
    .= Sum(L (#) G) + 0.V by A7,Th5
    =Sum()  R4java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
    hence thesis;
  end;


  for L being Linear_Combination vbe;
    v ;
  Carrier(K) =  A2   by:;
  proof
     V  be  java.lang.StringIndexOutOfBoundsException: Range [60, 61) out of bounds for length 60
        then v in():;
    ($1 in rng F & $2 = L.$1) or (not $1 in rng F & $2 = 0);
    reconsider R = rng F as finite Subset of V;
    A1:: for xbeing st x    V
      ex y being object st y in INT & P[x,          such that
    proof
      let x  ;
      assume x in the carrier of V;
      then reconsider x9 = x as Vector of V;
      per cases;
      suppose
        A2  in rng F;
        L.x9 in INT;
        hence thesis by A2;
     ;
      suppose
        A3: not x in rng F;
        thus thesis     assume v in Lin(B);
      end;
    end;
     Function    ofV INT java.lang.StringIndexOutOfBoundsException: Range [51, 52) out of bounds for length 51
     beingst xin the
    carrier of V holds P[x, K.    :( =B  K =v VECTSP_6def 4;
    then     then Carrier)\/(K)   /{ yXBOOLE_1:3;
    A4: for x being object st x inthen L-K c=CarrierL /CarrierK  L \CarrierKjava.lang.StringIndexOutOfBoundsException: Index 78 out of bounds for length 78
    A5:
    now
      let v be Vector of V;
      assume
      A6: not v in R /\ Carrier(L);
per  by A6,:java.lang.StringIndexOutOfBoundsException: Range [37, 38) out of bounds for length 37
      suppose
        not v in R;
        hence K.v = 0 by A4;
      end;
      suppose
        not v in java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 19
        then L.v = 0;
        hence K.v = 0 by A4;
      end;
    end;
    reconsider K asElementof (   V,INT  :;
    reconsider K as Linear_Combination of V by A5,VECTSP_6:def 1;
    now
      let v be object;
      assume
      A7: v in rng F /\ Carrier(L);
      then reconsider v9= v as Vector of V;
      v in Carrier(L) by A7,XBOOLE_0:def 4;
      then
      A8: L.v9 <> 0 by ZMODUL02:8;
      v in R by A7,XBOOLE_0:def 4;
      then K.v9 = L.v9 by A4;
      hence v in Carrier(K) by A8;
    end;
    then
    A9: rng F /\ Carrier(L) c= Carrier(K);
    take K;
    A10: L (#) F = K (#) F
    proof
      set p = L (#) F, q = K (#) F;
      A11: len p = len F by VECTSP_6:def 5;
      len q = len F by VECTSP_6:def 5;
      then
      A12: dom p = dom q by A11,FINSEQ_3:29;
      A13: dom p = dom F by A11,FINSEQ_3:29;
      now
        let k be Nat;
        set u = F/.k;
        A14:  P[u, K.u] by A4;
        assume
        A15:  k in dom p;
        then F/.k = F.k & p.k = L.u * u by A13,PARTFUN1:def 6,VECTSP_6:def 5;
        hence p.k = q.k by A12,A13,A15,A14,FUNCT_1:def 3,VECTSP_6:def 5;
      end;
       thesisby A12,INSEQ_113;
    end;
    now
      let v be object;
        CarrierK;
      then ex v9 being Vector of V st v9= v & K.v9 <> 0;
      hence v in rng FA13 . >A11,MODUL028
    end;
    then Carrier(K) c= rng F /\ Carrier(L);
    hence=.  .Ring ,java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
 

theorem Th9:
   L Linear_Combination Vfor   Subsetof 
  for F being FinSequence of V st rng F c= the carrier of Lin(A) holds
  ex K being Linear_Combination of A st Sum(then  beingobject  w ()by:ef1java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
  proof
    let be  of V
    let A be Subset of V;
    defpred P[Nat] means for F being FinSequence of V
    st rng F c= the carrier of Lin(A)  . (L )java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 33
    Linear_Combination of A st Sum(Ljava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
    A1: for n:
    proof
      let n be Nat;
      assume
      A2: P[n];
      FFinSequenceV
      A3: rng F c= the carrier of Lin(A) and
      A4: len F = n + 1;
      consider  
let V be free Z_Module;
      reconsider G, x9= <*x*> as FinSequence of V by A5,FINSEQ_1:36;
      A6: rng(G^<*x*>) = rng G \/ rng <*x*letA ofV
      .= rng G \/ {x      java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 19
      A7: rng G c= rng     in d ;
{}c=F byA6X7java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
      then {x} c= the carrier of Lin(A) by A3; then
      A8: x in {x} reconsider v as Vector byjava.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
      then consider LA1 being Linear_Combination of A such that
      A9: x = Sum(LA1) by STRUCT_0:def 5,TARSKI:def      v IA1,java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 35
      x in V by A8,STRUCT_0:def 5,TARSKI:def 1,ZMODUL01:24;
      then reconsider x as Vector of    A6: Lin() is  ofLin(v  ZMODUL0270java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
      len(G^<*x*>) = len G + len 
      .   + by:;
      then consider LA2 being Linear_Combination of A such that
      A10: Sum(L (  end;
      L.x * LA1 is
      A11: java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 7
      ( ()F)= Sum(L# )^( # ) Z51
      .= Sum(LA2) + Sum(L (#) x9)   (Ais W
      .= Sum(LA2) + Sum(<*L.x * x    A  Vjava.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
      .= Sum(LA2) + L.x * Sum(LA1) by A9,RLVECT_1:44
      . ( +Lx* 53
      .= Sum(LA2 + L.x * LA1)      .= Sum(LA2 + L.x * LA1) ();
            L ofsuch 
    end;
     of V
    assume
    A12: rng F c= the carrier of Lin(A);
    A13: len F is Element ex K being Linear_Combinati CarrierK  ()&Ljava.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
   :java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
    proof
      let F be FinSequence of V;
      assume that
      F =of A java.lang.StringIndexOutOfBoundsException: Range [40, 41) out of bounds for length 40
      A15: len F = 0;
      F = <* java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
 V) by14;
      then
      A16: Sum(L (#) F)p
      .= SumletAbe  bejava.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 43
V  11
      hence thesis by A16;
    java.lang.StringIndexOutOfBoundsException: Range [8, 9) out of bounds for length 8
    for:  
    hence java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 7
  end;

theorem Th10:
  for L  being java.lang.StringIndexOutOfBoundsException: Range [50, 46) out of bounds for length 61
  =LinA holds
  ex K being Linear_Combination       =Aby: 4

    let L be       A4: Carrier(K) = Carrier(
java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 47
    F is one-to-one and
    A1: rng F = Carrier(L) and
            K A3
    assume Carrier(LhencextheofB  ,java.lang.StringIndexOutOfBoundsException: Range [66, 65) out of bounds for length 69
    then consider K being Linear_Combination of 
    A3:A6 carriero A =B);
    take K;
    thus thesis by A2,A3;
  end;    

theorem Th11:
  axB;
  of W for K being Linear_Combination of W st K = L|the carrier of W java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 61
)=java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 43
  proof
    let L be Linear_Combination of V such that
    A1: Carrier(L) c= the carrier of W;
    let K be Linear_Combination of W such that
    A2:K = L|he carrier of W;
    A3: dom K = the carrier of W by FUNCT_2:def 1;
    now
      let x be object;
      x in Carrier(;
      then consider w being Vector of W such that
      A4: x = w and
      A5: K.w <> 0;
r 25
      L.w <> 0 by A2,A3,A5,    hence thesis by A1,A6,XBOOLE_010,MODUL01::45;
      java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 6
    end;
    then
    A7:( =L;
    consider G being FinSequence of W such that
    A8:Gis one-- &rngG=Carrier(K) and
    A9: Sum(K) = Sum(K (#)  
    consider F being FinSequence of V java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 7
    A10: F is one-to-one and
    :rng F  L 
    A12: Sum(L) = Sum(L (#)       for x be object holds x java.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 69
    now
      let x be object;
            then r B=as java.lang.StringIndexOutOfBoundsException: Range [52, 51) out of bounds for length 68
      A13:  , ;
      then consider v being Vector of V such that
      A14: x = v and
      A15: L.v <> 0;
      K.v <> 0 by A1,A2,A3,  java.lang.StringIndexOutOfBoundsException: Range [19, 20) out of bounds for length 19
      hence x in Carrier
    java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
    then
    A16: Carrier(L) c= Carrier(K);
    then
    A17: Carrier(K) = Carrier(L) by A7,XBOOLE_0:def 10;
    F, G are_fiberwise_equipotent
    by A7,A8,A10,A11,A16,RFINSEQ:26, java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 42
    P domsuchjava.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
    A18: F = G*P by:Ais by: 4
        :A  ()   java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
    hen
    A19: dom(KAA VV
    then reconsider q = (K &(  thejava.lang.StringIndexOutOfBoundsException: Range [60, 59) out of bounds for length 65
    A20: len q        SubsetofVV suchthat
    then len q = len G by VECTSP_6:def 5;
    then
    A21: dom q = dom G by FINSEQ_3:29;
    set p = L (#) F;
    A22: the java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 6
    rng q c= the carrier
    then:java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
    consider f being Function of NAT, the java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 10
    A23attr is java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 37
 . . java.lang.StringIndexOutOfBoundsException: Range [22, 23) out of bounds for length 22
    A25: for i being Nat, w being Vector of W java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
    q.(i +  0. >java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 31
    dom f = NAT & 
     java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 62
    by A22,FUNCT_2:2,exASubsetVV st isVV
    java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
v =q9.i+1  f9(  ) =f9.  v
    proof
letibe   ofVjava.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
      assume that
      A27: i < len q9 and
      A28: v = . VVbyZMODUL01:51;
      1 <= i + 1 & i +      reconsider WWas finiteSubset of VV;
+ domq  :java.lang.StringIndexOutOfBoundsException: Range [41, 42) out of bounds for length 41
      then reconsider v9= v as       thus thesis by A1,VECTSP_7:def 
      f.(iend;
      hence thesis by ZMODUL01:28;
    end;
    A29: hence thesis;
    A30: dom G = dom F by FINSEQ_3:29;
    java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
    A32: dom p = dom G by FINSEQ_3:29;
    A33: dom   clusterstrict finite-   Z_Module;
    now
      let i be Nat;
      set v = F/.i;
    et = ;
      assume
      A34: i in dom p;
      then
      A35: F/.i = F.i by A30,A32e;
      java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 4
      then reconsider w = v as Vector of W      
       P =dom G   P=G  :52d 3;
      then
java.lang.StringIndexOutOfBoundsException: Range [9, 6) out of bounds for length 47
      then reconsider j as Element of NAT;
      A37: G/.j = G.(P.i)  proof
      .= v by A18,A30,A32,    reconsider W =(0)     ofV
      q.i = (K (#) G).j by A21,A32,A34,FUNCT_1:12
      .= K.w * w     take W;
      .= L.v * w by  thus thesisjava.lang.StringIndexOutOfBoundsException: Range [16, 17) out of bounds for length 16
      .= L.v * v by end;
      hence p.i = q.i by A34,VECTSP_6:def 5;
    end;
    then
    A38: L (#) F = (K (#) G)*Pjava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
    len G = len (K (#) G) by VECTSP_6:def 5;
    then dom G = dom (K (#) G) by FINSEQ_3:29c
    then reconsider P as Permutation of dom (K (#) G);
    q = (K (#) G)*P; then
    A39: Sum(K (#) G) = Sum(q) by RLVECT_2:7;
    A40: f9.len q9 holds  Aimplies xinthe LinAjava.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
    f9.0 = 0.V by A24,ZMODUL01:26;
    
    by A7,A16,A12,A9,A38,A39,A23,by : ;
  end;

theorem Th12:
       (A  );
  ex L       by:3java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
  Carrier(K) = java.lang.StringIndexOutOfBoundsException: Range [0, 22) out of bounds for length 17
  proof
    let K be Linear_Combination of W;
    defpred P[object, object] means
     ($1 in W & $2 = K.$1) or (not 
    reconsider K9= K as Function of the carrier of W, INT;   V is finitely-generated means
A1 the   W =  carrier of V : 2;
    then reconsider C = Carrier(K) as java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
    A2registration  V;
    ex y being object st y in INT & P[x, y]
    proof
  cluster 0. >finitelygenerated;
      assume x in the carrier of V;
        then reconsider xas Vector  V;
      per cases;
      suppose
        A3: x     set W = (0).
java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 29
        P[x, K.x] by A3;
        hence thesis;
      java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
     
        A4: not x in W;
        thus thesis by A4;
      java.lang.StringIndexOutOfBoundsException: Range [4, 5) out of bounds for length 4
    end;
    consider L being Function of the carrier of V, INT  strict finitely--generated free for Z_Module;
A5: for x being object st x in the
 s ()java.lang.StringIndexOutOfBoundsException: Range [29, 30) out of bounds for length 29
    A6:
    now
      let v be Vector of V;
      assume not v in C;
      then P[v, K.v] & not v in C & v in the carrier of W java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 6
      by STRUCT_0:def 5;
      then P[v, K.v] & K.v = 0 or P[v, 0];
      hence L.v = 0 by A5;
    end;
    L java.lang.StringIndexOutOfBoundsException: Range [0, 8) out of bounds for length 7
      by FUNCT_2:8;
    thenL   byA6:1;
    reconsider L9= L|the carrier of W as Function of the carrier of W, INT
    by A1,FUNCT_2:32;
    ake ;
    now
      let x be object;
      assume that
      A7: x in Carrier(L) and
      A8: not x in the carrier of W;
      consider v being Vector of V such that
      A9: x = v and
           :Lv<  ;
      P[v, 0] by A8,A9,STRUCT_0:def 5;
      hence contradiction by A5,A10;
    end A2 rngp=A FINSEQ_1:;
    then
    A11: Carrier(L) c= the carrier of W;
    now
      let x be object;
      
      A12: x in the    ofNATi p& L  i;
      then P[x, L.x]     set C=union Car
      hence K9.x = L9.    :Cc java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
    end;
    then K9 = L9 by FUNCT_2:12;
    hence thesis by A11,Th11;
  end;

theorem Th13:
  for       A  in by d 4
  Carrier(L) c= the carrier of W
   being of W
   st Carrier(K) = Carrier(L) & Sum(K) = Sum (L)
  proof
    let L be Linear_Combination of V;
    java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 46
    then reconsider C = Carrier(L) as finite Subset of W;
the Wc= theVby def2java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
    then reconsider K = L|the carrier of W as
      Function   ,carrier .b 32java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
      isElementofFuncs(the  ofW, thecarrierof .ing)
      by FUNCT_2:8;
    A3: dom K = the carrier of W by FUNCT_2:def 1;
    now
               vin ()by A1,VECTSP_7:ef3java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
      A4:w  Vector   by ZMODUL0125java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
      assume not w in C;        A7:v =Sum()by :64java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
      then L.w =()c carrier C)
      hence        
    ;
    then reconsider K as Linear_Combination of W by A2,VECTSP_6:def 1;
takeK;
    thus thesis by A1,Th11;
  end;

theorem Th14:
forV free  I     VectorofV
    holds v in Lin(I)
  proof
    let V be free Z_Module;
    let I be Basis of V, v be Vector of V;
A1: v in the ModuleStr of V;
    I being Subset of Vholds
    I is base iff
    I is linearly-independent & Lin(I) = the ModuleStr of V;
    hence thesis by A1;
  end;

theorem
  for A being Subset of W st A is linearly-independent holds
  A is linearly-independent Subset of V
  proof
    let A be Subset of W;
    the carrier of W c= the carrier of V by VECTSP_4:def 2;
    then reconsider A9= A as Subset of V by XBOOLE_1:1;
    assume A1: A is linearly-independent;
    now
      assume A9 is linearly-dependent;
      then consider L being Linear_Combination of A9 such that
      A2: Sum(L) = 0.V and
      A3: Carrier(L) <> {};
      Carrier(L) c= A by VECTSP_6:def 4;
      then consider LW being Linear_Combination of W such that
      A4: Carrier(LW) = Carrier(L) and
      A5: Sum(LW) = Sum(L) by Th13,XBOOLE_1:1;
      reconsider LW as Linear_Combination of A by A4,VECTSP_6:def 4;
      Sum(          then LBisLinear_Combination of   VECTSP_6 4;
      hence contradiction by A1,A3,A4;
    end;
    hence thesis;
  end;

theorem Th16:
    beingSubset of V  Ais linearly-independent&
  A c= the carrier of W holds A is linearly-independent          LA   Th10
  proof
    let A be Subset of V such that
    ejava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
   : = the of
    reconsider A9 = A as Subset of W by A2;
    now
      assume A9 is linearly-dependent;
binationof such
      A3: Sum(K) = 0.W and
      A4: Carrier(K) <> {};
      consider L being Linear_Combination of V such that
      A5: Carrier(L) = Carrier(K) and
      A6: Sum(L) = Sum(K) by Th12;
      reconsider L as Linear_Combination of A by A5,VECTSP_6:def 4;
      SumL =0V A3,ZMODUL0126
      hence contradiction by A1, assumenot =java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
    end;
    hence thesis;
  end;

theorem Th17:
  for V being Z_Module
forAjava.lang.StringIndexOutOfBoundsException: Range [13, 8) out of bounds for length 54
   vbeingVectorofV  v     Subsetof s =A \ {java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
  holds not v in Lin(B)
  proof
    let V  thenB= \/ D;
    let A be Subset of V  byA11A,,79;
    A1: A is linearly-    end; 
    let v be Vector of V;
    assume v in A; then
    A2: {v} is     defpred P[et ]means ex L being  of  st
    v in {v} by TARSKI:def 1;
    then v in Lin({v}) by ZMODUL02:65;
      K Linear_Combinationof {} such that
    A3: v = Sum(K) by ZMODUL02:64;
    let B be Subset of V such that
    A4: B = A \ {v};
    B c= A by A4,XBOOLE_1:36;
    then
    A5: B \/ {v} c= A \/ A by A2,java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
    assume v in Lin(B);
    then consider L being Linear_Combination of B such that
A: =()by 64java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
             Bsuchthat
    then Carrier(L) \/      : pi =( :;
    then Carrier(L - K) c= Carrier(L) \/ Carrier(K) & Carrier      P[i,Carrier()] by A15java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
    c= A by A5,ZMODUL02:40;
    hen
    A8: L - K is Linear_Combination of          q=Seg lenp&for i be i  Seg
    A9: for x being Vector of V holds x in Carrier(L) implies K.x = 0
proof
      let x be Vector of V;
      assume x in Carrier(L);
      then not x in Carrier(K) by    A16:dom   lenpand
      ;
    end;
    A10:
    now
       x that
      A11: x in Carrier(L) and
      A12: not x in Carrier(L - K);
      reconsider x java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 17
      A13: L.x <> 0 by A11,ZMODUL02:8;
      (L - K).x      let ibe Nat,y1;
      .= L.x - 0.INT.Ring by A9,A11
      .= L.x;
      hence contradiction by A12,A13;
    end;
    v <> 0.V by A1,A2,ZMODUL02:56;
    then Carrier(L) is non empty by A6,ZMODUL02:23;
    then ex w being object st w in Carrier(L) by XBOOLE_0:def 1;
    
    A14: consider L2 java.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 57
    . = Sum(L +( Sum())by A6A3RLVECT_1:java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
.= Sum()+Sum-)byZMODUL02:4
    .= Sum(L - K) by ZMODUL02:52;
    hence contradiction by A1,A8,A14;
  end;

theorem Th18:
  Vbeing java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 50
  for A being non empty Subset of V st A java.lang.StringIndexOutOfBoundsException: Range [0, 47) out of bounds for length 22
  for B being       then consider   of B  
  proof
    let V be free Z_Module;
    let       :ex  beof       ()=.java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
 that
    A1: A misses I;
    consider v being object such that
    A2:A27:(L  i by ;
    let B be       P[i, q.i] by,17,,;
    A3: B = I \/ A;
    A4: A c= B by A3,XBOOLE_1:7;
    reconsider v as Vector of V by A2;
    reconsider Bv = B \ {v} as Subset of V;
    A5: I \ {v} c= B \ {v} by A3,XBOOLE_1:7,33;
    not v in I by A1,A2,XBOOLE_0:3;
    hen  c=Bvby A5,:;
    then
    :LinI isSubmodule of LinB)by :70;
    assume A7: B is linearly-independent;
    v java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
    hence contradiction by A7,A2,A4,A6,Th17,ZMODUL01:23;
  end;

theorem
f beingSubsetofVstA=the  W holds
  Lin(A) is Submodule of W
  proof
    A beSubsetof ;
    assume A1: A c= the carrier of W;
    now
      let w be object;
      assume w in the carrier of Lin(A);
      then consider L being Linear_Combination of A such that
      A2: w = Sum(L) by java.lang.StringIndexOutOfBoundsException: Range [0, 32) out of bounds for length 19
      java.lang.StringIndexOutOfBoundsException: Range [0, 13) out of bounds for length 8
      then
      ex K being Linear_Combination of W st Carrier(K) = Carrier (L) & Sum(L)
      = Sum(K) by A1,Th13,XBOOLE_1:1;
      hence w in the carrier of W by A2;
    end;
    hence thesis by TARSKI:def 3,ZMODUL01:43;
  

theorem Th20:
  for A being Subset of V, B being Subset of W st A = B holds Lin(A) = Lin(B)
  proof
    let A be Subset of V, B be Subset of W;
    reconsider B9= Lin(B), V9= V as Z_Module;
    A1: B9 is Submodule of V9 by ZMODUL01:42;
    assume A2: A =  ZMtoMQV(Vpu1)< ZMtoMQV(,,2)
    now
      let x be object;
x tcarrier LinA)
      then consider L being Linear_Combination of A such that
      A3: x = Sum(L) by STRUCT_0:def 5,ZMODUL02:64;
      Carrier(L) c= A by VECTSP_6:def 4;
      then consider K being Linear_Combination of W such that
      A4: Carrier(K) = Carrier(L) and
      A5: Sum(K) = Sum(L) by A2,Th13,XBOOLE_1:1;
  Linear_Combination of B by A2,A4,VECTSP_6:def 4;
      x = Sum(K) by A3,A5;
      hence x in the carrier of LinLin(  ModuleStr 
    end;
    then
    A6: the carrier of Lin(A) c= the carrier of Lin(B);
    now
      let x be object;
      assume x in the carrier of Lin(B);
      then consider K being Linear_Combination of B such that
      A7: x = Sum(K) by STRUCT_0:def 5,ZMODUL02:64;
      consider L being Linear_Combination of V such that
      A8: Carrier(L) = Carrier(K) and
      A9: Sum(L) = Sum(K) by Th12;
     Lasjava.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 70
      x = Sum(L) by A7,A9;
      hence x in the carrier of Lin(A) by STRUCT_0:def 5,ZMODUL02:64;
    end;
    then the carrier of Lin(B) c= the carrier of Lin(A);
    hence thesis by A1,A6,XBOOLE_0:def 10,ZMODUL01:45;
  end;

registration
    be    ;
  cluster Lin(A) -> free;
  
  proof
exbeing Subset of Lin(A
    proof
      for x be object holds x in A implies x in the carrier of Linjava.lang.StringIndexOutOfBoundsException: Range [66, 67) out of bounds for length 45
      by STRUCT_0:def 5,ZMODUL02: then A10: Carrier(lu1) c= {u1}
      then reconsider 1)by A7;
      by Th16,TARSKI:def 3;
       B;
      Lin(B) = the ModuleStr        ,:def10;
      hence thesis;
    end;
    hence thesis;
  end;


registration
  let V be free Z_Module;
  cluster (Omega).V -> strict free;
  coherence
  proof
    reconsider VV = (Omega).V as Z_Module;
    consider A being Subset of V such that
a1forholds v  lu2 java.lang.StringIndexOutOfBoundsException: Range [57, 56) out of bounds for length 66
    A1: A is linearly-independent & Lin(A) =         assume ex v being object st v in Carrierv  ;
byjava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
    ex AA being Subset of VV
    st        v< u2  ,:ef1
    proof
      consider AA being Subset  such
      A2: AA = A;
      take AA;
      thus thesis by A1,A2,Th16,      ;
    
    hence thesis;
  end;
end;then{2 = :1java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47

begin  :: Finite-rank free Z-module

definition
l free;
  attr IT is finite-rank means :Def3:
  ex A being finite Subset of IT st A is Basis ofA21 pp  )   l.u1 :def 9;
end;

registration let V;
  cluster (0).V -> finite-rank;
  coherence
  proof
    reconsider VV = (0).V as free Z_Module;
     java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 54
    proof
      set WW = {}(the carrier of VV);
      reconsider WW as Subset of    end;
      A1: Lin(WW) = (0).VV by ZMODUL02:67
      .= VV by ZMODUL01:51;
      reconsider WW as finite Subset of VV;
      take WW;
      thus thesis by A1,VECTSP_7:def 3;
    end;
    hence thesis;
  end;
end;

registration
  cluster strict finite-rank for free Z_Module;
  existence
  proof
    set V = the Z_Module;
    take (0).V;
    thus thesis;
  end;
end;

registration
  let V be Z_Module;
  cluster strict finite-rank for free Submodule of V;
  
  proof
    reconsider W =     =+* -    
    take W;
    thus thesis;
  end;
end;

registration
  let V be Z_Module, A be finite linearly-independent Subset of V;
  cluster Lin(A) -> finite-rank;
  
  proof
    ex AA being finite Subset of Lin(A) st AA is Basis of Lin(A)
    proof
      for x be object holds x in A implies x in the carrier of Lin(A)then ()java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
      by STRUCT_0:def 5,ZMODUL02:65;
      then reconsider AA = A as finite linearly-independent Subset of Lin(A)
      by Th16,TARSKI:def 3;
      take AA;
      Lin(A) = Lin(AA) by Th20;
      hence thesis by VECTSP_7:def 3;
    end;
    hence thesis;
  end;
end;

definition
  let V be Z_Module;
  attr V is finitely-generated means
  ex A being finite Subset of V st Lin(A) = the ModuleStr of V;
end;

registration let V;
  cluster (0).V -> finitely-generated;
  coherence
  proof
    set W = (0).V;
    reconsider W as Z_Module;
    set A = {}(the carrier of W);
    reconsider A as Subset of W;
    Lin(A) = (0).W by ZMODUL02:67
    .= (0).V by ZMODUL01:51;
    hence thesis;
  end;
end;

registration
  cluster strict finitely-generated free for Z_Module;
  existence
  proof
    set V = the Z_Module;
    take (0).V;
    thus thesis;
  end;
end;

registration let V be finite-rank free Z_Module;
  cluster -> finite for Basis of V;
  coherence
  proof
    proof
    A1letpbe  .  Z_Modulejava.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
    let B be Basis of V;
    consider C(Vp* by A1V 6;
    A2: rng p = A     then vq  the  of allA  A Coset ();
        then consi be  of ()  
    set Car = {java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 17
ex ibe     in  & SumL =p.;
    set C = union Car;
    : C =B
    proof
      let x be object;
      assume x  C;
      then consider R being set such that
      A4: x in R and
      A5: R in Car by TARSKI:def 4;
      ex:
i be Element  st i dom&() .i ;
      then R c= B by VECTSP_6:def 4;
      hence thesis by A4;
    end;
 of by 1;
    A6: for v being java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
    proof
      let v be Vector of       be of  
      
        assume v   
        then v in Lin(A) by A1,VECTSP_7:def 3;
        then consider LA being Linear_Combination of A such that
        A7: v = Sum(LA) by ZMODUL02:64;
        Carrier(LA) c= the carrier of Lin(C)
        proof
          w;
          assume A8: w in Carrier(LA);
          then reconsider w9= w;
          w9 in Lin(B) by Th14;
          then consider LB being Linear_Combination of B such that
          :64;
          Carrier(LA) c= A by VECTSP_6:def 4;
      then ex i being object st i in dom p & w = p.i by A2,A8     (Vpjava.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
          then
          A10: Carrier(LB) in Car by A9;
          Carrier(LB) c= C by A10,TARSKI:def 4;
          then  is of  :ef4
          hence thesis by A9,STRUCT_0:def 5,ZMODUL02:64;
        end;
        then ex LC being Linear_Combination of C
        st Sum(LA) = Sum(LC) by Th10;
        hence v in Lin(C) by A7,ZMODUL02:64;
      end;
      assume v     ZQ=(,;
      thus thesis;
    end;
    A11: B     casesjava.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
    nt by A3VECTSP_7:def ,ZMODUL0256 
    A12: C is Basis of V by A6,VECTSP_7:def 3,ZMODUL01:46;
    B c= C
    proof
      set D = B \ C;
      assume not B c= C;
      then ex v being object st v in B & not v in C;
       X  Vpv)wherev Vector  V:  };
      reconsider B as Subset of V;
      C \/ (B \ C) = C \/ B by XBOOLE_1:39
      = ,XBOOLE_1:java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
      xZQjava.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
      hence contradiction by A11,tjava.lang.StringIndexOutOfBoundsException: Range [10, 11) out of bounds for length 10
    end; then
        A3d 10
    defpred P[set, objectjava.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 41
      java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 33
     thenjava.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 50
    proof
      let      F0Element  ]
      assume i      $in$ 2injava.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
      then i in dom p by FINSEQ_1:def 3;
      then p.i in the carrier of V by FINSEQ_2:11;
      then p.i in Lin(B) by Th14;
      considerL  Linear_Combination of suchthat
      A15: p.i = Sum(L) bythen vbe 
      P[i, Carrier(LA6   java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 40
      java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 19
    end;
    q     len  ibe   Seg
    len p holds P[i, q.i] :  x of  xFx s 3;
    then consider q beingA8 y java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
    A16: dom q = Seg len p and
    A17bestiSeglen  [ .i;
    A18: dom p = dom q by A16,FINSEQ_1:def 3;
    A19: for i be Nat, y1, y2 st i in java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 10
    holds       defpred[of java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 53
    
      let i be Nat, y1, y2;
      assume that
      i in Seg len p andA11  vjava.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 41
       i  
      A21: P[i, y2];
 java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
      A22: y1 ses;
      consider L2 being Linear_Combination of B such that
      A23: y2 = Carrier(L2) & Sum(L2) = p.i by A21;
      Carrier(L1)c B  ()c  byVECTSP_6:def4;
      hence thesis by A22,A23,VECTSP_7:def 3,Th3;
    end;
    now
      let x be object;
              thus  by ;
      then consider L being Linear_Combination of B such that
      A24: x = Carrier(L) and
      A25: ex i be Element of NAT st i in dom p & Sum(L) = p.i;
   NAT such
      A26: i in dom p and
      A27: Sum(L) = p.i by A25;
      P[i, q.i] by A16,A17,A18,A26;
      then x = q.i by A19,A16,A18,A24,A26,A27;
      hence x in rng q by A18,A26,FUNCT_1:def 3;
    end;
    then
    A28 Car c=rng ;
    for R being set st R in Car holds R is finite
    proof
      let R be set;
      assume R in Car;
            A16  v being Vectorof V  v  Iholds
      ex i be Element of NAT st i in dom       ex wbe Vector of V st in I  w  ZMtoMQV(,,)&
      hence thesis;
    end;
    hence thesis by A13,A28,FINSET_1:7;
  end;
end;

begin :: Rank of a finite-rank free Z-module

theorem         A17: (,,v  X 
  for p being prime Element of  A18:F.ZMtoMQV(,p,v) in rng   FUNCT_2:4;
      V being free Z_Module, I being Basis of V,
   V
  st u1 <> u2 & u1 in I & u2 in I holds
  ZMtoMQV(V,p,u1) <> ZMtoMQV(V,p,u2)
 proof
    let p be prime Element of INT.Ring, V be free java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 30
    u1, u2 be Vector of V such that
    A1: u1 <> u2 & u1 in I & u2 in I;
    set uq1 = ZMtoMQV(V,p,u1), uq2 = ZMtoMQV(V,p,u2);
    assume A2: uq1 = uq2;
    consider u be Vector of V such that
    A3: u in p(*)V & u1 + u       reconsider l  Element  Funcs(the Funcs(he ofV )byFUNCT_2:;
    A4: I is linearly-independent &       set   vis f  l. >0;
      by VECTSP_7:def 3;
B1: u in p * V by A3;
    reconsider pp = p as Element of INT.Ring;
    consider v be Vector of V such that
    A5: u = pp * v by B1;
    consider lv be Linear_Combination of I such that
    A6: v = Sum(lv) by A4,STRUCT_0:def 5,ZMODUL02:64;
    consider lu1 be Linear_Combination of V such that
    A7: lu1.u1 = 1 & for v being Vector java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 22
    by Th1;
    A8: Carrier(lu1) = {u1}
    proof
      for v being object holds v in Carrier(lu1) implies v in {u1}
      proof
              : =java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 22
        then considerassumeA24:FT
: in) vinu}java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
        v <> u1 by A9,TARSKI:def  thenvofsuch
        then lu1.v = 0 by A7;
by,java.lang.StringIndexOutOfBoundsException: Range [44, 42) out of bounds for length 45
      end;
      java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 37
      u1 in Carrier(lu1) by A7;
      then {u1} c= Carrier(lu1) by ZFMISC_1        reconsider w asElementof Xby ;
      hence thesis by A10,XBOOLE_0:def 10;
    end;
    then A11: Sum(lu1) = (1.(INT.Ring 
    .= u1 by VECTSP_1:def 17 A30:w=ZMtoMQVVpv1)&v1   ;
    reconsider lu1 as Linear_Combination of {u1} by A8,VECTSP_6:def 4;
    reconsider lu1 as Linear_Combination of I java.lang.StringIndexOutOfBoundsException: Range [0, 48) out of bounds for length 43
    consider lu2 be Linear_Combination of V such that
    A12: lu2.u2 = 1 & for v being Vector of V st v <> u2 holds lu2.v = 0
    by Th1;
     java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 28
    proof
      then" ;
      proof
        assume ex v being object st v        of java.lang.StringIndexOutOfBoundsException: Range [45, 46) out of bounds for length 45
        then consider v being Vector of V such that
        A14: v in Carrier(lu2) & not v in {u2};
        v <>     then   as   : 1;
        then lu2.v = 0 by A12;
 byA14:;
      end;
      then A15: Carrier(       java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 50
      u2 in Carrier(lu2) by A12;
      then {u2      take l
      hence thesis by A15,XBOOLE_0:      now  v Vector V;
    end;
    then A16: Sum(lu2) = 1.(INT.Ring) * u2 by A12,ZMODUL02:24
    . by :;
    reconsider lu2 as Linear_Combination of {u2} by A13,VECTSP_6:def 4;
    lu2 Linear_CombinationI by A1,3,:0;
    A17: u = Sum(p * lv) by A5,A6,ZMODUL02:53;
A18 p*.  1
    proof
      assume A19: (p * lv).u1 = -1;
     p 1 &  > -1 by: 4:;
      then (-1) mod p = p + (-1) by NAT_D:63;
      then ( endjava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
      then A20: (p * lv).u1 java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 8
      reconsider pp =  end;
      A21: (pp * lv).u1 = pp * (lv.u1) by VECTSP_6:def 9;
      pp divides (pp * lv).u1 - 0 by A21,INT_1:java.lang.StringIndexOutOfBoundsException: Range [0, 49) out of bounds for length 13
      hence  by ,INT_1:62;
    end;
    pp * lv is java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 21
   lu1  pp *lv is Iby:;
    then reconsider lx = lu1 + pp * lv - lu2 as Linear_Combination of I
    by ZMODUL02:41;
    A22: 0.V = Sum(lu1 + pp * lv) - Sum(lu2)
       ,A17,VECTSP_119,:java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
  .v  (Vp)
    A23: lx.u1 = (lu1 + pp * lv).u1 - lu2.u1 by ZMODUL02:39
    . u1+pp  ) -u1 by VECTSP_6:22
    .= 1.INT.Ring + (pp * lv).u1 - 0.INT.Ring by A1,A7lq  Z_MQ_VectSp(,)java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
    .= 1.INT.Ring + (pp * lv).u1;
    lx.u1 <> 0 by A18,A23;
    in(;
    hence contradiction by A22,VECTSP_7:java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 40
  end;

theorem Th22:
  for p being prime Element of INT.Ring, VassumeA2v I
  beingofGFp,v  
  st ZQ = Z_MQ_VectSp(V,p)
  java.lang.StringIndexOutOfBoundsException: Range [47, 46) out of bounds for length 53

    let p be       (,w  java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 56
    ZQ be VectSp of GF(p), vq be       hence l.v = lq.(ZMtoMQV(V,p,v)) by  .pv)A,
        ;
    vq is Element of CosetSet(V,java.lang.StringIndexOutOfBoundsException: Range [0, 33) out of bounds for length 17
    then vq in the set of all A where A is Coset of p(*)V;
   then consider vqq be   ()V  that
    A2: vqq = vq;
    consider v Vector ofV that
    A3: vq = v + p(*)V by A2,VECTSP_4:def 6;
    take v;
      by A3;
  end;

Lm2:
for p being prime Element of INT.Ring,
    V being Z_Module, v, w being Vector of V
 {}
holds ZMtoMQV(V,p,w) = ZMtoMQV(V,p,v)
proof
  let p be prime Element of INT.Ring, V be Z_Module,
      v, w be Vector of V such that
  V ,w)/ (,p )< {;
  consider u being object such that
  A2: u      benon   (Vp;
  A3: u in     assume A1: X =(,u        in }
  then reconsider u asset  (p;
   +p(*V=u +p*Vby,ZMODUL0167
  .= v + p(*)    2in $ &2in I;
  ence;
end;

theorem Th23:
   ofINTRing, V being,
  I being Subset of V,
  lq being Linear_Combination of Z_MQ_VectSp(V,p)
  holds ex l being Linear_Combination of I
st   being   V   inI holds
  ex w be Vector of V st       thus ex v be Element   [v  A3Z:58
  & l.w = lq.(ZMtoMQV(V,p,v))
  
    let p be prime Element of INT.Ring, V     :  for  being   X holds [x,F.] fromFUNCT_2: (;
    lq be Linear_Combination of java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 11
    set ZQ = Z_MQ_VectSp(V,p);
    per cases;
    suppose A1: I is empty;
      set l = the Linear_Combination of I;
      ;
      thus       then recons  =Vpv   ofX
    end;
A2: isnonempty
      X  V,)wherev s  :inI}java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
      now let x be object;
assume in ;
              then =x20=as   ;
        A3: x = ZMtoMQV(V,p,v) & v in I;
              A8: x1 (pv1) & i byA7;
      end;
      then
      reconsider X as Subset of ZQ by TARSKI:def 3;
considerv0   :  in  byA2,:def1;
      reconsider v0 as Vector of V by A4;
     (,,v0) X  ;
      then reconsider X as non empty Subset of(,, :ef4;
defpred [lementofX ofV]m
      $2 in $    end;
A5   being  X
      ex v being Element of V st F0[xdom F = X by FUNCT_2:def 1;
      proof
        let x be Element of X;
        x in X;
        then consider v be Vector of V such that
        A6: x = ZMtoMQV(V,p,v) & v in I;
        thus ex v be Element of V st F0[x,v] by A6,ZMODUL01:58;
      end;
      consider F being Function of X, the carrier of V such that
 A7:      : F =I;
 A8:  now let y be object;
        assume y in rng F;
        then consider x be object such that
        A9: x in X & F.x = y       ZMtoMQV(V,p,u) in X by A12Vpu  X,java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
        reconsider x as Element of X by       .zinz&.in  A4java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
        thus y in I by A9,A7;
      end;
      then
      A10: rng F c= I;
     defpredPElement , ofGF(p]means
      ($1 in rng F  then  c Fjava.lang.StringIndexOutOfBoundsException: Range [20, 21) out of bounds for length 20
      (not $1 in rng F implies $2 = 0);
      A11: for v being java.lang.StringIndexOutOfBoundsException: Range [0, 30) out of bounds for length 0
      ex y being Element of GF(p) st P[v,y]
      
        let v be Element of V;
        per cases;
        :v inrngF;
          reconsider y = lq.(ZMtoMQV(V   cardI)
          take y;
          thus thesis by A12;
        end;
suppose A13: not v in rng F;
          0.GF(p) is Element of GF(p);
          then reconsider F0 = 0 as Element of GF(p) by EC_PF_1:11;
          take F0;
          thus thesis by A13;
        end;
      end;
      A14: Segm(p) java.lang.StringIndexOutOfBoundsException: Range [0, 20) out of bounds for length 12
      consider f being Function of the carrier of V, GF(p) such that
      A15:          then co v0 object that
      A16        A2:v0 in   : 1;
      ex wconsider u be of V suchthat
      f.        A3:v0=V,)&u  IA2;
      proof
        let v be Vector of V;
        assume v in I; then
        A17: ZMtoMQV(V,p,v) in X; then
        A18: F.(ZMtoMQV(V,p,v)) in rng F by FUNCT_2:4     A4:I is non emptyjava.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
        reconsider w = F.(ZMtoMQV(V,p,v)) as Element of V by A17,FUNCT_2:5;
        take w;
        A19: f.w = lq.(ZMtoMQV(V,p,w)) by A15,A17,FUNCT_2:4;
         inIby ,A8;
        thus w in ZMtoMQV(V,p thus x  carrier  ZQ ;
        thus      end;
      end;
      reconsider l = f as Function of the carrier of V, java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 56
      reconsider l as Element of Funcs        be that :v0   by X:ef ;
      set T = {v where       reconsider as Vector of  by A6;
      A20:
      now let v be object;
        assume v in T;
thenexbeing Element  Vst v1 = &l.< ;
        hence v in the carrier of V;
      ;
      A21:
t  java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
          in T;
        then consider v be Element of V such that
        A22: x = v & l.v <> 0;
        thus x in rng F by A15,A22;
      end;
      then
      A23: T c= rng F;
      now let x be object;
        assume :x in Tjava.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
        then A25: x in X & F.x in T by FUNCT_2:38;
        then consider v be Element of V such that
        A26: F.x=v & l.v <> 0;
A27 [fv  java.lang.StringIndexOutOfBoundsException: Range [29, 30) out of bounds for length 29
        lq((,,) >0.GF(  ,27,C_PF_111java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
        then
        A28: ZMtoMQV(V,p,v) in Carrier(lq);
        reconsider w=x as Element of X by A24;
        A29: F.w in w & F.w in I by A7;
        consider v1 be Vector of V such that
(Vpv1)&v1 Ijava.lang.StringIndexOutOfBoundsException: Range [45, 43) out of bounds for length 50
        v in ZMtoMQV(V,p,v) by ZMODUL01:58;
        then ZMtoMQV(V,p,v) /\ ZMtoMQV(V,p,v1) <> {}
        java.lang.StringIndexOutOfBoundsException: Range [26, 10) out of bounds for length 38
hence  Carrier()byA28,,;

T=()java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
      then reconsider T as finite Subset of V

      for v being Element of V st not v in T holds l.v = 0.INT.Ring;
      then reconsider l as Linear_Combination of V by VECTSP_6:def 1;
      T = Carrier(l);
      then reconsider l as Linear_Combination of I
    A23A,1VECTSP_6 ;
      take l;
      now let v be Vector of V;
        assume v in I;
        then ex w be Vector of V  st w in I & w in ZMtoMQV(V,p,v) &
        f.w = lq.(ZMtoMQV(V,p,v)) by A16;
        hence ex w be Vector of V  st w in I & w in ZMtoMQV(V,p,v) &
        l.w = lq.(ZMtoMQV(V,p,v));
      end;
      hence thesis;
    end;
  end;

theorem Th24:
p    .ing,V  Z_Module,
  I being Basis of V,
  lq being Linear_Combination of Z_MQ_VectSp(V,p)
  java.lang.StringIndexOutOfBoundsException: Range [37, 7) out of bounds for length 42
 for Vectorofstv in holds
  l.v =  s be  ,
  proof
    let p be prime Element of INT.Ring, V be free Z_Module, I be Basis of     stlens  1&len =len java.lang.StringIndexOutOfBoundsException: Range [33, 34) out of bounds for length 33
        st i in dom s holds ex si be Vector of V
    consider l being Linear_Combination of I such    st si  i&.  (,,) (  VpSums)java.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
    A1: for v being Vector of V st v in     proof
ex beVector of V   inin I &  (,vjava.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
    (Vp)  Th23;
    take l;
    nowlet v   of V;
      assume A2:v in I;
      then consider w be Vector of V such that
      A3: w in I & w in ZMtoMQV(V,p,v)
      .w=lq.(,p,)byA1;
      ZMtoMQV(V,p,w) = ZMtoMQV(V,p,v      s = <*>(the carrier of V) by ;
      hence l.v = lq.(ZMtoMQV(V,p,v)) by A2,A3,Th21;
    end;
    hence thesis;
  end;

theorem Th25:
  for p being prime Element of INT.Ring, V being free Z_Module,
  I being Basis of V,
  X be non empty Subset of     :for    stPk P[+java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
  st X =        be Nat
  exF beFunction of X,the  of V
  st (for u be now let s be FinSequence of V,
  & F is one-to-one & dom F = X & rng F = I
  proof
    let p be prime Element of INT.Ring, V be free Z_Module, I be Basis of V,
    X be non empty Subset of Z_MQ_VectSp(V,p);
    assume A1: X = {ZMtoMQV(V,p,u) where u is Vector of V : u in I};
    set ZQ = Z_MQ_VectSp(V,p);
    defpred F0[Element of X, Element of V] means
    $2 in $1 & $2 in I;
    A2: for x being Element of X holds ex v being Element of V st F0[x,v]
    proof
      let x be Element of X;
      x in X;
      then consider v be Vector of V such that
      A3: x = ZMtoMQV(V,p,v) & v in I by A1;
      thus ex v be Element of V st F0[x,v] by A3,ZMODUL01:58;
    end;
    consider F being Function of X, the carrier of V such that
    A4:  for x being Element of X holds F0[x,F.x] from FUNCT_2:sch 3(A2);
    take F;
    thus for v be Vector of V st v in I holds F.(ZMtoMQV(V,p,v)) = v
    proof
      let v be Vector of V;
      assume A5: v in I;
      then ZMtoMQV(V,p,v) in X by A1;
      then reconsider w = ZMtoMQV(V,p,v) as Element of X;
      A6: F.w in w & F.w in I by A4;
      ZMtoMQV(V,p,F.w) = ZMtoMQV(V,p,v) by A4,ZMODUL01:67;
      hence thesis by A5,A6,Th21;
    end;
    now let x1,x2 be object;
      assume A7: x1 in X & x2 in X & F.x1=F.x2;
      then reconsider x10=x1,x20=x2 as Element of X;
      consider v1 be Vector of V such that
      A8: x1 = ZMtoMQV(V,p,v1) & v1 in I by A7,A1;
      consider v2 be Vector of V such that
      A9: x2 = ZMtoMQV(V,p,v2) & v2 in I by A7,A1;
      F.x10 in ZMtoMQV(V,p,v1) & F.x10 in ZMtoMQV(V,p,v2) by A7,A8,A9,A4;
      then F.x10 in ZMtoMQV(V,p,v1) /\ ZMtoMQV(V,p,v2) by XBOOLE_0:def 4;
      hence x1 = x2 by A8,A9,Lm2;
    end;
    hence F is one-to-one by FUNCT_2:19;
    thus dom F = X by FUNCT_2:def 1;
    now let y be object;
      assume y in rng F;
      then consider x be object such that
      A10: x in X & F.x = y by FUNCT_2:11;
      reconsider x as Element of X by A10;
      thus y in I by A10,A4;
    end;
    then
    A11: rng F c= I;
    now let y be        tbe FinSequence of Z_MQ_VectSp(V,p);
      assume A12:y in I;
       reconsideru as Vector  V;
      ZMtoMQV(V,p,u) in X by A12,A1;
      then reconsider z = ZMtoMQV(V,p,u) as Element of X;
      A13: F.z in z & F.z in I by A4;
      ZMtoMQV(V,p,F.z) = ZMtoMQV(V,p,u) by A4,ZMODUL01:67;
      then F.z = u by Th21,A13,A12;
y    by:4;
    end;
    then I c= rng F;
    hence I = rng F by A11,XBOOLE_0:def 10;
  end;

theorem :
  for p being prime Element of INT.Ring, V being free Z_Module,
      I being Basis of V holds
    {MtoMQV(Vp,)where u  Vector     in I} )
  = card(I)
  proof
     p  prime Element of .Ring,V free Z_Module,Ibe  of V;
    set X = {ZMtoMQV(V,p,u) where u is Vector of V : u in I};
    set ZQ = Z_MQ_VectSp(V,p);
    per cases;
    suppose A1: I is empty;
      X = {}
      proof
assume X < {};
        then consider v0 be object such that
        A2: v0 in X by XBOOLE_0:def 1;
        consider u be Vector of V such that
        A3: v0=ZMtoMQV(V,p,u) & u in I by A2;
        thus contradiction by A3,A1;
      end;
       by ;
    end;
    suppose A4: I is non empty;
     let objectjava.lang.StringIndexOutOfBoundsException: Range [26, 27) out of bounds for length 26
          inX;
        then consider v be Vector of V        then vt = t.(lent) s Z_MQ_VectSpVp;
(V,p,)&v in ;
        thus x in the carrier of ZQ by java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 36
      end;
      then reconsider X as Subset of ZQ by TARSKIst si = s1i&t1. = (Vp,java.lang.StringIndexOutOfBoundsException: Range [45, 46) out of bounds for length 45
      consider v0 be object such that A6: v0 in I by java.lang.StringIndexOutOfBoundsException: Range [0, 55) out of bounds for length 34
 v0 as Vector of  by A6;
      ZMtoMQV(V,p,v0) in X by A6;
      then reconsider X as non empty Subset of ZQ;
     consider   Functionof , the     
      A7: (for u           then cons si Vector Vthat
      & F is one-to-one & dom F = X & rng F = I by Th25;
thus   CARD_15,ELLORD2:ef4
    end;
  end;

theorem Th27:
  for p being prime Element of INT.Ring, V being free Z_Module holds
  ZMtoMQV(V,p,0. V) = 0.(Z_MQ_VectSp(V,p))
  proof
   p    .Ring, V  free ;
    thus 0.(Z_MQ_VectSp(V,p)) = 0.(VectQuot(V,p(*)V))
. (,())by : 6
    .= ZMtoMQV(V,p,0. V) by ZMODUL01:uch that
  ;

theorem Th28:
forpbeingprimeElementINTRing beingfree ,
  s,t be Element of V         .= ZMtoMQV(V,p,Sum(s1)+vs) by A6,A20,A22,Th28
  ZMtoMQV(V,p,s)+ZMtoMQVendjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
  proof
    let p behence java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
      s, t be Element of V;
    set s1 = ZMtoMQVtheorem Th30java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
    A1: ZMtoMQV(V,p,s) = s + p(*)V;
    A2: ZMtoMQV(V,p,t) = t + p(*)V;
    A3: s + p(*)V is Element of CosetSet(V,p(*)V) by A1,VECTSP10:def 6;
    A4: t + p(*)V is Element of java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 27
(*).s  *V  () : java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
  *(,ps)= ZMtoMQV(V,p,*s)
  end;

theorem Th29:
  p   INT  freeZ_Modulejava.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
  s be FinSequence of V,
  t be FinSequence of Z_MQ_VectSp(V,p)
  lens  t  i Element of NAT
  st i in dom s holds ex si be Vector of V
  st si = s.i & t.    : (,,)  +p();
  Sum(t) = ZMtoMQV( reconsidert1     of (,(V;
  
    let p be prime Element      i =b  java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
    defpred P[Nat] means
    for s be FinSequence of V,
    t be FinSequence of Z_MQ_VectSp(V,p)
len s=$ &s= t
    & for i be Element of NAT
    st i in dom s holds ex si be Vector    =(V,().( p,  *V  d6
    st si = s.i & t.i = ZMtoMQV(V    =ZMtoMQVVp*)byA1A4,A3V:5
  endjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
    proof
      let s be FinSequence of V,
      t be FinSequence of Z_MQ_VectSp(V,p);
      assume that A2: len s = 0 & len s = len t and
      for i be Element of NAT
      st i in dom s holds ex si be Vector of V
      st si = s.i & t.i = ZMtoMQV(V,      st si = s.i & t.i = ZMtoMQV(V,p
      s = <*>(the carrier of V) by A2;
      then Sum(s) = 0. V by RLVECT_1:43;
      then
      A3: ZMtoMQV(V,p,Sum(s)) = 0.(Z_MQ_VectSp(V,p)) by Th27;
      t = <*>(the carrier of (Z_MQ_VectSp(V,p))) by A2;
      hence thesis by A3,RLVECT_1:43;
    end;
  be  Pk1]

      let  
assume [];
      now     lbeLinear_Combination  ,
        t be FinSequence of Z_MQ_VectSp(V,p);
        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 = sper ;
        reconsider s1 = s | k as FinSequence of V;
        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: 
        A11: dom s1 = java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
        .= Seg k by A6,FINSEQ_1:59,NAT_1:11;
        then
A12    |  FINSEQ_1: 16;
        reconsider t1 = t | k as FinSequence of Z_MQ_VectSp(V,p);
        A13:dom t1 = Seg (len t1) by FINSEQ_1:def 3
        .= Seg k by A6,FINSEQ_1:59,NAT_1:11;
        then
        A14: =t| t1 by FINSEQ_1:def 16;
         k in NAT by ORDINAL1:def 12;
         then
        A15: java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 10
        :3;
        then reconsider vs=s.(len s) java.lang.StringIndexOutOfBoundsException: Range [0, 39) out of bounds for length 37
        .len )    A6,A9,:,:java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
thenreconsider =.len t    (,)
        A16: len s1 = k &  hence l)=ZMtoMQVVpS(l) ,;
            ndjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
st  dom       V
        st si = s1.i & t1.i = ZMtoMQV(V,p,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:11;
          then consider si be Vector of V such that
          : si  .i&t. =(,,i)byA7,A11A8,18;
          take si;
         thus   .iby AA,:;
          thus t1.i = ZMtoMQV(V,p,si) by A14,A11,A13,A18,A19,FUNCT_1:49;
        end;
        A20: Sum(t1) = ZMtoMQV(V      consider   FinSequence (p  
        A21: len s = len s1 +       A9:Gqisone--&rngGq=Carrierlq  (lq)=Suml ( java.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
        consider ssi be Vector of V such that
        A22: ssi = s.(len s) & t.(len s) = java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 44
        by A6,A7,A8,      A11: Carrier(lq) c= X:def4java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
thusSumt =Sumt1)+  A6,14,15,LVECT_1:8
        .= ZMtoMQV(V,p,Sum(s1)+vs) by A6,A20,A22,Th28
        .= ZMtoMQV(V,p,Sum(s)) by A12,A21,RLVECT_1:38;
      end;
      hence P[k+1];
       ;
    for k be Nat holds P[k] from NAT_1:sch 2(      for x be object holds x in rng FGq iff x in Carrier(l)
    hence thesis;
  end;

theorem Th30hereby  x in  FGqjava.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
  for p being prime Element of INT.Ring, V being free Z_Module,
  sbe  of ,
  a be Element of INT.Ring,
  b be Element of GF(p) st a = b holds
  bZMtoMQVVp,  (,,*s)
  proof
    let p beprimeElement INT.ing  free,
    s be Element of V, a be Element of INT.Ring, b be Element of GF(p);
    set t = ZMtoMQV(V,p,s);
    assume A1: a=b;
A2 Vps    ()java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
reconsidert1=t   of VectQuotVp*V;
    A3: s + p(*)V is Element of CosetSet(V,          l. >0.GF()byA2,Ajava.lang.StringIndexOutOfBoundsException: Range [42, 43) out of bounds for length 42
    reconsider i = b as Nat;
   : =i pbNAT_1:44N:24;
    i in INT by INT_1:def 2;        ;
    i as  ofINT.ing;
    thus b*t = ((i mod          u=    ;
    .=         A21: l.u   by ,:;
    .= ZMtoMQV(V,p,a*s) by A1,A4,A3,VECTSP10:def 5;
  end

theorem Th31:
  for p beingthen .((,,)< .GFp)by :;
      V being free Z_Module, I being Basis of V,
      l being Linear_Combination of I,
      IQ being Subset of Z_MQ_VectSp(V,p),
      lq being Linear_Combination of IQ
st IQ  {MtoMQVVpu  u isVectorof V  u inI} &
  (for v being Vector of V st v in I holds
  l.v = lq.(ZMtoMQV(V,p,v)) ) holds
Suml)=(,,um()
  proof
    let p be prime Element of INT.Ring, V be free Z_Module, I be Basis of V,
    l be Linear_Combination of I,
      ;
    lq be Linear_Combination of IQ such that
    A1: IQ = {ZMtoMQV(V,p,u) where u is java.lang.StringIndexOutOfBoundsException: Range [0, 46) out of bounds for length 10
    assume
          stv holds
    l.v = lq.(ZMtoMQV(V,p,v))     then
    per:len l()FGq)=n A12:;
    suppose A3: I is empty;
      IQ = {}

IQ >}
thenv0be   
v0 bydjava.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
        consider u be Vector of V such that
:  Vpu   in A4A;
        thus contradiction by        :( #FGq)i  l)v by ,:java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
      end;
      then IQ = {java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
       =(_(,)) by :;
      then
      A6:Sum(lq) = 0.(Z_MQ_VectSp(V,p)) by VECTSP_6:15;
      I = {}(the carrier of V) by A3;
      then l = ZeroLC(V) by ZMODUL02:12;
      then Sum(l) = 0. V by ZMODUL02:19;
      Sum(q)=ZMtoMQV(,,um() by ,;
    end;
    suppose I is non empty; then
      consider v0 be object such that        A37:Gqi=ZMtoMQV(,,)  in  y ,36;
      A7: v0 in I by XBOOLE_0:def 1;
      reconsider v0 as Vector of V by A7;
      ZMtoMQV(V,p,v0) in IQ by A7,A1;
     reconsider   IQ as     (,p)java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
considerFbeFunctionof ,  ofV  that
      A8: (for u be Vector of V st u in I holds F.(ZMtoMQV(V,p,u)) = u)
      & F is one-to-one & dom F = X & rng F = I by Th25,A1;
      consider Gq be FinSequence of Z_MQ_VectSp(V,p) such that
      A9: Gq is one-to-one & rng Gq = Carrier( hence Sumlq)=ZMtoMQVVpSum() A9,A29A30T;
 :ef6;
      set n = len Gq;
      A10: dom Gq = Seg n by FINSEQ_1:def 3;
      A11:Carrier(q)c=X  VECTSP_6: 4;
      A12: dom (F*Gq) = Seg n   for p being prime Element of IRing,
     :F)   ofV;
      F*Gq is holds IQ is linearly
          F*qaFinSequence ofVby ,INSEQ_1def4;
      for x be object holds x in rng FGq iff x in Carrier(l)
     
        let x be object;
        hereby assume x in rng FGq;
such that
          A14: z in dom (FGq) & x = FGq.z by java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 42
          A15: x = F.(Gq.z) by A14,FUNCT_1:12;
          A16: z in domGq  . in    ,UNCT_111
then   beVectorofV such 
          A17: Gq.z = ZMtoMQVconsiderLq    (,) 
          A18: F.(Gq.z) = u by A8,A17;
          consider w be Element of Z_MQ_VectSp(V,p) such that
          A19: Gq.z = w    :vq0 =ZMtoMQV(V,pv0 by ,5,4,;
          l.u <>  0.(GF(p)) by A2,A17,A19;
          l. < 0by :;
          hence x in Carrier(l)    =(,()V VECTSP10d 
endjava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
        assume A20: x in Carrier(l);
        then reconsider u=x as Vector of V;
        A21: l.u <> 0 by A20,ZMODUL02:8.Ringjava.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
        A22: Carrier(l) c= I by VECTSP_6:def 4;
        then lq.(ZMtoMQV(V,p,u)) <> 0 by A2,A21,    then vv    V 
        then lq.(ZMtoMQV(V,p,u)) <> 0.(GF(p)) by EC_PF_1:11;
        then
        A23: ZMtoMQV(V,p,u) in rng Gq by A9;
        then consider z be object such that
        A24: z in dom Gq & ZMtoMQV(V,p,u) =    consider be o  
  A25: F.(q.z)  u  A20A22,24A8;
        A26: z in dom ( vp=Sum(  lvv) by AZMODUL0253 then
         FGqz =u by A25,:;
        hence x    reconsiderpp=p  Element .;

thenrngFGq =Carrierl by TARSKI:;
      then
      A27: Sum(l) = Sum(l (#) FGq) by A9,A8,VECTSP_6:def 6;
      A28: len (l (#) FGq) = len FGq by VECTSP_6:def 5;
      then
      A29: len (l (    then uq being f(,)tjava.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
      A30  ( ( )= by: java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
      now let i be Element of NAT;
        assume A31: i in dom (l java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
 in Seg (len (FGq)) by A28,FINSEQ_1:def 3;
        then
        A32: i in dom FGq by FINSEQ_1:def 3;
        then FGq.  rng FGq by :3;
        then reconsider v =      .INT. =l.    lvvuu)bA13A19;then
      l. =-p *(lvv.u);
        i in        .=  (-uu;
        
        A34: i in dom Gq by FINSEQ_1then  .uumod p=0by :;
          .inrngGq by :;
        then
        A36: Gq.i in X by A9,A11;
        reconsider w = Gq.i as Element of Z_MQ_VectSp(V,p) by A35;
        consider u be Vector of V such that
        A37: Gq.i = ZMtoMQV(V,p,u) & u in I by A1,A36;
        F.(Gq.i) = u by A8,A37;
        then
        A38: v = u by A32,FUNCT_1:12;
        (lq (#) Gq).i  = (lq.w)*w by A34,VECTSP_6:8
        .= ZMtoMQV(V,p,(l.v)*v) by A2,A37,A38,Th30;
        hence ex si be Vector of V st si=(l (#) FGq ).i &
        (lq (#) Gq).i = ZMtoMQV(V,p,si) by A33;
      end;
      hence Sum(lq) = ZMtoMQV(V,p,Sum(l)) by A9,A27,A29,A30,Th29;
    end;
  end;

theorem Th32:
  for p being prime Element of INT.Ring,
      Vbeingfree, being Basis of V,
      IQ being Subset of Z_MQ_VectSp(V,p)
  st IQ = {ZMtoMQV(V,p,u) where
  holds IQ is linearly-independent
  proof
    let p be prime Element of INT.Ring, V be free Z_Module, I be Basis of V,
    IQ be Subset of Z_MQ_VectSp(V,p) such that
    A1: IQ = {ZMtoMQV(V,p,u) where u is Vector of V : u in I};
    assume not IQ is linearly-independent;
    then consider lq being Linear_Combination of IQ such that
    A2: Sum(lq) = 0.Z_MQ_VectSp(V,p) and
    A3: Carrier(lq) <> {};
    consider LqLm4 forpbeing  Element ofINT.ing V  free,
    A4: be   INT.Ring,v ElementofV
    consider l being Linear_Combination of I such that
    A5: for v being Vector of V st v in I holds
    l.v = Lq.(ZMtoMQV(V,p,v)) by Th24;
    set vq0 = Sum(Lq);
    set v0  = Sum(l);
    A6: vq0 = ZMtoMQV(V,p,v0) by A1,A5,A4,Th31;
    A7: vq0 = 0.(VectQuot(V,p(*)V)) by A2,A4
    .= zeroCoset(V,p(*)V) by VECTSP10:def 6
    .= 0.V + p(*)V by ZMODUL01:59;
     being  of   that
    A8: vp in p(*)V & v0 + vp = 0.V by A6,A7,ZMODUL01:75;
    reconsider pp = p 
    vp   p be   ofINT.Ring,V be free Z_Module,
    then consider vv being Element of V such that
    A9: vp = pp *   i    .ing,v beElementofV
    A10: I is linearly- reconsider a  ( mod )asElement ofGF()by Lm3java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
      by VECTSP_7:def 3;
    considerlvv be Linear_Combination of I such that
    A11: vv = Sum(lvv) by A10,STRUCT_0:def  :v+p() is  CosetSetVp*V  :ef6
    vp = Sum(p * lvv)   thus ZMtoMQV(V,p,((i mod qua Element of .)*v)=
    A12: 0.V = Sum(l + p * lvv) by A8,ZMODUL02:52;
    reconsider pp = p as Element of INT.Ring;
    p*lvv isLinear_CombinationofI by ZMODUL0231
    then l + pp * lvv is Linear_Combination of java.lang.StringIndexOutOfBoundsException: Range [0, 48) out of bounds for length 25
    then consider lpv being Linear_Combination of I such that
    A13: lpv = l + pp * lvv;
    ex vq being object st vq in Carrier(lq) by A3,XBOOLE_0:def 1;
    then consider uq being Vector of Z_MQ_VectSp(V,p) such that
    A14: uq in Carrier(lq);
    uq in {v where v is Element java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
      by A14;
    then consider uuq being Vector of Z_MQ_VectSp(V,p) such that
     =uq  .uq >0.GF(;
    A16: lq.uuq <> 0 by A15;
    Carrier(lq) c= IQ by VECTSP_6:def 4;
    then uq in IQ by A14;
     uu Vectorof suchthat
    A17: uq = ZMtoMQV(V, p, uu  st for beElement ofNAT
    A18: lq.uuq = l.uu by A4,A5,A15,A17;
    lpv.uu <> 0.INT.Ring
    proof
      assume A19: lpv.uu = 0.INT.Ring;
      (l+pp*lvv).uu = l.uu + (pp*lvv).uu by VECTSP_6:22
      .= l.uu + pp * (lvv.uu) by VECTSP_6:def 9; then
      0.INT.Ring = l.uu + pp * (lvv.uu) by A13,A19; then
      l.uu = - (pp * (lvv.uu));
      then l.uu = pp * (-lvv.uu);
      then pp divides l.uu by INT_1:def 3;
      then A20: l.uu mod p = 0 by INT_1:62;
      thus contradiction by A16,A18,A20,NAT_1:44,NAT_D:63;
    endjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
then uu  ()
    hence contradiction by A12,A13,VECTSP_7:def 3,VECTSP_7:def
  endfor  be   stlen  = 1

Lm3: for p being Prime, i be Element of INT
holds i mod p is Element of GF(p)
  by INT_1    st  = s. &(psi) in I))holds

Lm4: for p being prime Element of INT.Ring, V being free Z_Module,
i be Element of INT.Ring, v be Element of V
holds ZMtoMQV(V,p,((i mod p)   by17
  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 Lm3;
  reconsider t1 = ZMtoMQV(V,p,v) as Element of VectQuot(V,p(*)V);
  ZMtoMQV(V 
  A1: v + p(*)V is Element of CosetSet(V,p(*)V) by VECTSP10:def 6;
  thus ZMtoMQV(V,p,((i mod p) qua Element of INT.Ring) * v) =
     a*ZMtoMQV(V,p,v) by Th30
  .= ((i mod p) qua Element of INT.Ring) * t1 by ZMODUL02:def 11
  .= i * t1 by ZMODUL02:2
  . (p*V.iv + p*))by:6
  .= ZMtoMQV(V,p,i*v) by A1,VECTSP10A9:doms1=Seg len )by FINSEQ_1:def 3
;

theorem Th33:
   pbeing   of .ing  being  Z_Module,
  I being Subset of V,
  IQ being Subset of Z_MQ_VectSp(V,p)
  st IQ = {ZMtoMQV(V,p,u) where u is Vector of V : u in I} holds
  (for s be FinSequence of V
  st (for i be Element of NAT
stijava.lang.StringIndexOutOfBoundsException: Range [9, 7) out of bounds for length 42
  st si=s.i & ZMtoMQV(V,p,si) in Lin(IQ))
  holds ZMtoMQV(V,p,Sum(s)) in Lin(IQ))
  proof
    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(V,p);
    assume IQ = {ZMtoMQV(V,p,u) where u is Vector of V : u in I};
    defpred P[Nat] means
   sbe FinSequence   st len   $1
    & ( for 
    st i in dom s holds ex si be java.lang.StringIndexOutOfBoundsException: Range [0, 39) out of bounds for length 13
    st si = s.i & ZMtoMQV(V,p,si) in Lin(IQ          assume : in  s1;
ZMtoMQV(V,,Sum()  (;
    A1: P[ 0 ]
    proof
          :si=si  (Vp)inLinI)by ,9,A7A;
hatA2:lens=0and
      for i be Element of NAT
      st i in dom s holds ex si be Vector of V
      st si = s.i & ZMtoMQV(V,p,si) in Lin(IQ)        end;
        *>(   V  ;
      then Sum(s) = 0. V by RLVECT_1:43;
      then ZMtoMQV(V,p,Sum(s)) = 0.(Z_MQ_VectSp(
      hence thesis        :ssi = .len s) (V,p,si in (Q)
   ;
    A3: for k be Nat st P[k] holds P[k+1]
    proof
      let k be Nat;
      assume A4:  hence (V,,um()in LinI  ,A16V:java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
      now let s be FinSequence of V;
        assume that
        A5: len s = k+1 and
        A6: for i be Element of NAT
        st i in dom s holds ex si be Vector of V
        st si = s.i & ZMtoMQV(V,p,si) in Lin(IQ);
       s1=s   FinSequence of V;
        A7: dom s = Seg (k+1) by A5,FINSEQ_1:def 3;
        A8: len s1 = k by A5,FINSEQ_1:59,NAT_1:11;
        A9: dom s1 = Seg (len s1) by FINSEQ_1:def 3
        .= Seg k by A5,FINSEQ_1:59,NAT_1:11; then
        A10: s1 = s |dom s1 by FINSEQ_1:def 16;
        s.(len s) in rng s by A5,A7,FINSEQ_1:4,FUNCT_1:3;
        then  hence ;
        A11: len s1  endjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
        A12: for i be Element of NAT
           beingElement  .ingjava.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
        st si = s1.i & ZMtoMQV(V,p,si) in Lin(IQ)
        proof
          let i be Element of  IQ  Subset  (,),
          assume A13: i in dom s1;
          Seg k c= Seg (k+1) by FINSEQ_1:5,NAT_1:11;
          then consider si be Vector of V such that
         :si =sV,p,si) in Lin(IQ) by A6,A9,7,13;
            
          thus si = s1.   let  be  lementof INT.ing,
           thesisby ;
        end;
        A15: ZMtoMQV(V,p,Sum(s1)) in        IQbe  of (,)
consider   Vector of  suchthat
        A16: ssi = s.(len s)  assume :IQ ={(,,)whereu is  of V : uin }
        by A5,A6,consider G be FinSequence  
        ZMtoMQV(V,p,Sum(s)) =    :G --&rngG = ()
        .=    &Sum()=Sum( # ) by VECTSP_6: 6;
 hence ZMtoMQV(,,Sum()  () ,V:;
      end;
       [k1]
    end;
A17  k be  [k  : (,)java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
    nowhen  in len   :ef 5;
      assume A18: for i be      then
      i in dom s holdsex   of V
      st si = s.i & ZMtoMQV(V, in rng G by FUNCT_13;
      len s = len s;
      hence ZMtoMQV(V,p,Sum(s)) in Lin(IQ) by A17,A18;
    end;
     thesisjava.lang.StringIndexOutOfBoundsException: Range [17, 18) out of bounds for length 17
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6

theorem Th34:
  for p being prime Element of INT.Ring,
      V being free Z_Module, I being Basis of V,
  IQ being Subset of Z_MQ_VectSp(V,p),
 be  java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
ofV: I} 
  ZMtoMQV(V,p,Sum(l)) in Lin(IQ)
  proof
    let p be prime Element of INT.Ring,
        V be free Z_Module, I be Basis of V,
        IQ be Subset of Z_MQ_VectSp(V,p),
           ;
    assume A1: IQ = {ZMtoMQV(V,p,u) where u is       st si = (l (#) G ).i & ZMtoMQV(V,p,si) in Lin(I,java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
    consider G be FinSequence of V such that
    A2: G is one-to-one & rng G = Carrier(l)
    & Sum(l) = Sum(l (#) G) by VECTSP_6:def 6;
    theorem Th35:
      assume i in dom (  for p being prime Elem fINT.ing,
       (en( (# G)) by : 3;
      then i in Seg (len G) by VECTSP_6:def 5;
      then
      A3: i in dom G by FINSEQ_1:def 3;
      Gi in  G by FUNCT_1:3;
      then reconsider v = G.i as Element of V;
      A4: (l (#) G ).i = (l.v)*v by A3,ZMODUL02:13;
       b=( l) mod   as  of GF(p) ;
      reconsider a = ( (l.v)          be  ,I be  of V,
      reconsider k=l. as  of INTRing;
      reconsider t = ZMtoMQV(V,    assume A1: IQ = {ZMtoMQV(V,p  u is Vector  V :u in }
      A5 *t=ZMtoMQV(,( qua   .)*v  
      .= ZMtoMQV(V,p,(k qua Element of INT.Ring) * v) by Lm4;
      A6: v in Carrier( for    Z_MQ_VectSpVp vqinLin(Qjava.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
      Carrier(l) c= I by VECTSP_6:def 4;
      then t in IQ by A1,A6;
      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 Lin()=the ofVjava.lang.StringIndexOutOfBoundsException: Range [35, 36) out of bounds for length 35
    end;
    hence ZMtoMQV(V,p,Sum(l)) in Lin(IQ) by A1,A2,Th33;
  end;

theorem Th35:
  for p being prime Element of INT.Ring,
      V being free Z_Module, I being Basis of V,
  IQ being Subset of Z_MQ_VectSp(V,p)
  st IQ = {ZMtoMQV(V,p,u) where u is Vector of V : u in I} holds
  IQ is  set AQ  Z(V  ) is ofV :  A;
  
    let p be prime Element of INT.      assume  inAQ;
V  Z_Module,I be   ,
        IQ be Subset of Z_MQ_VectSp(V,       x     (V,p)java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
    assume     A=card  ;
A2: IQ is linearly-independent by Th32,A1;
forvqbeing of (,p)holds vq   ()
    proof
      let vq be Element of Z_MQ_VectSp(V,p);
      java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 0
      A3: vq = ZMtoMQV(V,p,v) by Th22;
      I is base; then
      Lin (I) = the ModuleStr of V;
      then consider l be Linear_Combination of I such that
  A4: v = Sum(l) by     let V  -ank;
      thus vq in Lin(IQ) by A1,A4,A3,Th34;
    end; then
    IQ=the  of(, VECTSP_432then
    IQ is base by A2;
    hence thesis;
  end;

registration
  let p be prime Element of INT.Ring, V be finite-rank free Z_Module;
  cluster Z_MQ_VectSp(V,p) -> finite-dimensional;
  coherence

    set W = Z_MQ_VectSp(V,p);
    set A = the Basis of V;
set   {(,p )where u  Vectorof V :uin A;
    now let x be object;
      assume x in AQ;
      then ex u be Vector of V st x = ZMtoMQV(V, p, u) & u in A;
      hence x in the carrier of Z_MQ_VectSp(V, p);
;
    then reconsider AQ  A2:  = card BQ by Th26;
    card A = card AQ by Th26;
     of Wjava.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
    hence thesis by Th35,MATRLIN:def 1;
  end;
end;

theorem Th36:
   Z_Module
  holds for A, B being Basis of  funcrankV > ::

  proof
    let V be finite-rank free Z_Module;
    let A, B be Basis of V;
    set p = the prime Element of java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 15
    set AQ = {ZMtoMQV(V, p, u)     set AQ = {ZMtoMQV(V, p, u) where  
   ;
      assume x in AQ; then
      ex u be Vector of V st x = ZMtoMQV(V, p, u) & u in A;
      hence x in the carrier of Z_MQ_VectSp(V, p);
    end;
    then reconsider AQ as Subset of Z_MQ_VectSp(V, p) by TARSKI:def 3;
    set BQ = {ZMtoMQV(V, p, u) where   for p be prime Element of INT.Ring,  finiterank Z_Module

      assume x in BQ;
      then ex u be Vector of V st x = ZMtoMQV(V, p, u) & u in B;
      hence x in the carrier of Z_MQ_VectSp    set A=the Basis  ;
    ;
    then reconsider BQ as Subset of Z_MQ_VectSp(V, p) by TARSKI:def 3;
    A1: card A = card AQ by Th26;
    A2: card B = card BQ by Th26;
    A3: AQ is Basis of Z_MQ_VectSp(V, p) by Th35;
    BQ is Basis of       then ex u be Vector of V st x = ZMtoMQV(V, p, u) & u in A;
    hence card A = card B      hence x   Z_MQ_VectSp(, ;
  end;

definition
-rank Z_Module;
  func rank(V) -   AQ  Basis of W  ;
  for I being Basis of V holds it = card I;
  existence
  proof
    consider A being finite Subset of V such that
    A1: A is Basis of V by Def3;
    consider n being Nat such that
    A2: n = card A;
    for I being Basis of V holds card I = n by A1,A2,Th36;
    hence thesis;
  end;
  uniqueness
  proof
    let n, m be Nat;
    assume that
    A3: for I being Basis of V holds card I = n and
    A4: for I being Basis of V holds card I = m;
    consider A being finite Subset of V such that
    A5: A is Basis of V by Def3;
    card A = n by A3,A5;
    hence thesis by A4,A5;
  end;
end;

theorem
  for p be prime Element of INT.Ring, V be finite-rank free Z_Module holds
  rank V = dim Z_MQ_VectSp(V,p)
  proof
    let p be prime Element of INT.Ring, V be finite-rank free Z_Module;
    set W = Z_MQ_VectSp(V,p);
    set A = the Basis of V;
    set AQ = {ZMtoMQV(V, p, u) where u is Vector of V : u in A};
    now let x be object;
      assume x in AQ;
      then ex u be Vector of V st x = ZMtoMQV(V, p, u) & u in A;
      hence x in the carrier of Z_MQ_VectSp(V, p);
    end;
    then reconsider AQ as Subset of W by TARSKI:def 3;
    A1: card A = card AQ by Th26;
    AQ is Basis of W by Th35;
    then dim W = card AQ by VECTSP_9:def 1;
    hence thesis by A1,Def5;
  end;

Messung
CHZG
8110010093
color: green'>3
    :for k be NatholdsP]from NAT_1:ch2A1,3;
heni Seg(G)byVECTSP_6d 5;

      A3      st  in doms holds  sibeVector
      then G.i:java.lang.StringIndexOutOfBoundsException: Range [37, 38) out of bounds for length 37
      then reconsider v = G.i as Element of V;
      A4: (    hence thesis;
      reconsider b = ( (l.v) mod p )   end;
      reconsider a = ( (l.v) mod p ) as Element of INT.Ring;
      reconsider k = l.v as Element of INT.Ring;
      reconsider t = ZMtoMQV(V,p,v) as Element of Z_MQ_VectSp(V,p);
      A5: b*t = ZMtoMQV(V,p, l  Linear_Combination ofI
      .= ZMtoMQV(V,p,(k qua Element  Vector of  :uin } holds
      A6: v in Carrier(l) by A3,A2,FUNCT_1:3;
      Carrier(l) c= I by VECTSP_6:def 4;
      then t in IQ by A1,A6;
      then b*t in Lin(IQ) by VECTSP_4:21,VECTSP_7:8;
      hence ex si be         l be Linear_CombinationofI
Q) by A5,A4;
    end;
    hence ZMtoMQV(V,p,Sum(l)) in Lin(IQ) by A1,A2,Th33;
  end;

theoremTh35:
ento INT.,
      V being       then i in Segl l())byFINSEQ_1def3java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
  IQ being Subset of Z_MQ_VectSp(V,p)
  st IQ = {ZMtoMQV(V,p,u) where u is Vector of V : u inthen . inrng3;
  IQ is Basis of Z_MQ_VectSp(V,p)
  proof
    reconsider  ((.v modp)asElementof p)byLm3;
VfreeZ_Module  beBasis V,
        IQ be Subset of   vElement .;
,u)whereu is Vectorof    inI}
A2:A5:b  (,,a quaElementofINTRing  )byTh30
   vq being Elementof (,)holds vq   I)
    proof
      let vq be Element of Z_MQ_VectSp(V,p);
      consider v being Vector of V such that
      A3: vq = ZMtoMQV(V,p,v) by Th22;
      I is base; then
      I = ModuleStr V;
      then consider l be Linear_Combination of I such that
  A4: v = Sum(l) by STRUCT_0:def 5,ZMODUL02:64;
      thus vq in Lin(IQ) by A1,A4,A3,Th34;
    end; then
    Lin IQ = the ModuleStr of Z_MQ_VectSp(V,p) by VECTSP_4:32; then
    IQ is base by A2;
    hence thesis;
  end;

registration
  let p be prime Element of INT.Ring, V be finite-rank free Z_Module;
  cluster Z_MQ_VectSp(V,p) -> finite-dimensional;
  coherence
  proof
    set W = Z_MQ_VectSp(V,p);
    set A = the Basis of V;
    AQ={MtoMQV,p,u)whereu  Vector  V :u in A}
    now let x be objectproof
      assumex  AQ;
      then ex u be Vector of V         befree Z_Module, be BasisofV
hencex in thecarrier of Z_MQ_VectSp( ;
    end;
    then reconsider AQ as Subset of W by TARSKI:def 3;
card   AQ byTh26java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
    then AQ is finite Subset of W;
    hence       beingElement Z_MQ_VectSpVp)vqinLin(IQ)
  end;
end;

theorem Th36:
  for V be finite-rank free Z_Module
  holds for A, B being Basis of V holds
  card A = card B
  proof
    let V be finite- free Z_Modulejava.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
    let A, B be Basis of V;
    set p = the prime Element of INT.Ring;    Lin  =  ModuleStr of Z_MQ_VectSpVp)by VECTSP_4:; 
    set AQ = {ZMtoMQV(V, p, u) where u is Vector of V : u in A};
    now let x be object;
      assume x in AQ; then
      ex u be Vector of V st x = ZMtoMQV(V, p, u) & u in A;
      hence x in the carrier of Z_MQ_VectSp(V, p);
    end;
    then reconsider AQ as  proof
    set BQ = {ZMtoMQV(V, p, u) where u is Vector of V : u in B};
    now let x be object;    AQ={MtoMQVV ,u)where uis   :u }java.lang.StringIndexOutOfBoundsException: Range [64, 65) out of bounds for length 64
      assume x in BQ;
      then ex u be Vector of V st x = ZMtoMQV(V, p, u) & u in B;
      hence x in the carrier of Z_MQ_VectSp(V, p);
    end;
    then reconsider BQ as Subset of Z_MQ_VectSp(V, p) by TARSKI:def 3;
    A1: card A     end
   :cardB Th26java.lang.StringIndexOutOfBoundsException: Range [33, 34) out of bounds for length 33
    A3: AQ is Basis of then AQ is finite SubsetW;
    BQ is Basis of Z_MQ_VectSp(V, p) by Th35;
    hence card A = card B by A1,A2,A3,VECTSP_9:22;
  end;

definition
  let V be finite-rank   for V be finite-rank free
  ()- Natmeans  Def5:
  for I being Basis of V holds it
  existence
  proof
    consider A being finite Subset of V such that
    A1: A is Basis of V by Def3;
    consider n being Nat such that
    A2: n = card A;
    for I being Basis of V holds card I = n by A1,A2,Th36;
    hence thesis;
  end;
  uniqueness
  proof
    let n, m be Nat;
    assume that
    A3: for I being Basis of V holds card I = n and
    A4: for I being Basis of V holds card I = m;
f Vsuch that
    A5: A is    now let x be object;
    card A = n by A3,A5;
    hence thesis by A4,A5;
  end;
end;

theorem
V befinite-free Z_Module holds
  rank V = dim Z_MQ_VectSp
  proof
    let p be prime Element of INT.Ring, V be finite-rank free Z_Module;
    set W = Z_MQ_VectSp(V,p);
      the Basis ofV
    set AQ = {ZMtoMQV(V, p, u) where u is Vector of V : u in Aendjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
    now let x be object;
      assume x in AQ;
java.lang.StringIndexOutOfBoundsException: Range [25, 6) out of bounds for length 64
   inthecarrierof Vp)
    end;
    then reconsider AQ java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 0
    A1: card A =    A1: card A =  freeZ_Module;
   isbyTh35java.lang.StringIndexOutOfBoundsException: Range [29, 30) out of bounds for length 29
    then dim W = card AQ by VECTSP_9:def 1;
    hence thesis by A1,Def5;
  end;

Messung
CHZG
8110010093

¤ Dauer der Verarbeitung: 0.58 Sekunden  (vorverarbeitet am  2026-11-24) ¤

*© Formatika GbR, Deutschland