Eine aufbereitete Darstellung der Quelle

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


Quelle  zmodul01.miz   Sprache: Mizar

 

:: $\mathbb Z$-modules
::  by Yuichi Futa , Hiroyuki Okazaki and Yasunari Shidama
::
:: Received September 5, 2011
:: Copyright (c) 2011-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/.

java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7

 vocabularies NUMBERS, ALGSTR_0, STRUCT_0A6 k Nat-down(,,nI,,)
      ZFMISC_1, XBOOLE_0, RELAT_1, ARYTM_3, PARTFUN1, SUPINF_2, FUNCT_5,
      MCART_1,     = IExec(for-down,,,I)Proof
      REALSET1, RLSUB_1, ZMODUL01, INT_1, FINSEQ_4, LATTICES, EQREL_1, PBOOLE,
      RLSUB_2, java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 17
      BINOP_2,let  bejava.lang.StringIndexOutOfBoundsException: Range [0, 12) out of bounds for length 9
 notations TARSKI, let t be State of SCMPDS;
      PARTFUN1,        -free shiftable  of SCMPDS,
java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
      ,         Int_position,i Integer,n Nat be;
      GROUP_1, VECTSP_2, INT_3, VECTSP_4, VECTSP_5, MOD_2;
 constructors  assume
      LATTICES, RLSUB_1, ALGSTR_1, BINOM, FINSEQ_4, VECTSP_1, INT_3, VECTSP_2,
      VECTSP_4A9:  for x be Int_position s b(s,)
 registrations ORDINAL1, XREAL_0, NAT_1, STRUCT_0, ALGSTR_0, FINSEQ_1, CARD_1,
      assume
      MEMBERED;
 requirements REAL, NUMERALS, BOOLE, SUBSET, ARITHM;
 definitions TARSKI, A10:t.=sa;
 equalities STRUCT_0, ALGSTR_0, LATTICES, REALSET1, BINOP_1, BINOM, VECTSP_4,
      INT_3, VECTSP_1;
 expansions TARSKI, STRUCT_0, ALGSTR_0, LATTICES, XBOOLE_0, BINOP_1, VECTSP_4,
      per cases;
  set i1=,0oto(I,i2=a-,i3=oto (I)
      BINOM, FINSEQ_3, INT_1, RLVECT_1, LATTICES, PARTFUN1, RELSET_1, XREAL_1,
      VECTSP_1, VECTSP_4, VECTSP_5, INT_3, BINOP_2, GR_CY_1, MOD_2;
 java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8

begin :: 1. Definition of Z-module

definition
::$CD 6
  mode Z_Module is LeftMod of INT.Ring;
endtb >= 0;

registration
  cluster TrivialLMod INT.Ring -> trivial non empty strict;
  coherence

    TrivialLMod INT.Ring =
      ModuleStr (#{0},op2,        henceFOR is_closed_on,Q &FORis_halting_on Qby A10,h33;2IC=0 MEMSTR_0def11;
        by MOD_2:def 1; then
    the carrier of TrivialLMod INT.Ring = {0};
    hence thesis;
  end;
end;

registration
  cluster strict set m0=LifeSpan(P1s)java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
  existence
  proof
    take TrivialLMod(INT.Ring);
    java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
  end;
end;

definition
  let R be Ring;
  let V be LeftMod of R;
  mode VECTOR of V is Element of V;
end;

 reserve R forA11:    t. <0;P *stop 
 reserve x, y, y1
 reserve a, b for Element of R;
  V      t51byA12,31,0A15,9Th16;
 reserve v, w for Vector of V;

definition
  letA34:Q6/IC   Q6IC by A14,java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
let   CurInstr(6,)
  attr IT is Mult-cancelable means
  for a being Element of R
  for v being Vector of IT st a
    a = 0.R or v = 0.IT;
end;

theorem :
  for V being Z_Module
  for a being .=i2 by Th32;
      v being Vector of V holds
    a = 0.INT.Ring or v = 0.V implies a * v = 0.V
  proof
    let be t   8
    let a be Element of INT.Ring,
        v be Vector of V;
    set R          . ExecA24 is_halting_on 
    set N1=1.INT.Ring, N0=0.INT.Ring;
    assume
    A1: a = 0.R or v = 0.V;
    now
      per java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 6
      
        A2: a = 0.R;
        v + N0 * v = N1 * v + N0 * v
        .= (N1 + N0) * v by VECTSP_1:def 15
        =v  PI=stop ;
        .= v + 0.V by RLVECT_1:4;
        hence thesis by A2,RLVECT_1:8;
      th
      suppose
        A3:  then
        a * 0.V + a * 0.V = a *A39:    CurInstrPI byA25,,SCMPDS_6.=FOR. by A28A26GRFUNC_1:2
        .= a * 0.V by RLVECT_1:4
        .= a * 0.V + 0.V by RLVECT_1:4;
        hence thesis by A3,RLVECT_1:8;
end;
    end;
    hence thesis;
  end;

theorem Th2:
  -v=(- 1R)*vby VECTSP_1

theorem Th3:
  for V being Z_Module,
      v being Vector of V holds
  V is Mult-cancelable & v = - v          .=Execi3,t7A28:s.Exec(i2,IExec(,Ps. by A24,
  proof
    let V be Z_Module,
        v be Vector of V;
    assume A1:V is Mult-        then IC t8=ICplusConstt7,(0    .Exec,sb-by SCMPDS_2:java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
    set a=1..Ring
    assume v = - v; then
    0.V = v + v by RLVECT_1:def 10
    .  s6=P6. by PBOOLE:;
    .= a * v + a * v
    .= (a + a) * v by VECTSP_1:def 15;
    hence thesis by A1;
  end;

theorem
  for V being Z_Module,
      v being Vector of Vby java.lang.StringIndexOutOfBoundsException: Range [37, 33) out of bounds for length 38
   java.lang.StringIndexOutOfBoundsException: Range [2, 11) out of bounds for length 6
  proof
    let V be Z_Module,
        v be Vector of V;
    assume,h16
     v+ v  0V
    then v = - v by RLVECT_1:def 10;
    hence thesis by A1,Th3;
  end;

theoremA43    t5.a=: s6=s5 by EXTPRO_1
  for V being Z_Module,
      a being Element of INT.Ring,
      v  ofV then
  a * (- v) = (- a) * v
  proof
    let V be Z_Module,
      be ofA33:urInstr(6s6)5l1A3,A22,,A7,h16,29
      v be Vector of V;
    thus a * (- v) = a * ((- 1.INT.Ring) * v)     .F.1by ,then =  A4,37SCMPDS_2:48
    .= (a * (- 1.=.a  A43EXTPRO_1:4java.lang.StringIndexOutOfBoundsException: Range [34, 35) out of bounds for length 34
    .= (- a) * v;
  end;

A44:   t8.=a by A40SCMPDS_2:54;
  for V being Z_Module,
      a being Element of INT.Ring,
      v being Vector of V holds
  a * (-A45:now
  proof
    let V be Z_Module,
      a be Element of INT.Ring,
      v be Vector of V;
    set i = 1.INT.Ring;
    thus a * (- v) = (- a) * v by Th5
    .= ((- i) * a) * v
    .= (- i) * (A35: s5a (, sI,)aby SCMPDS_4:8
    .= - (a * v) by Th2;
  end;

theorem
  for V being Z_Module,
      a being Element of INT.Ring,
      v being Vector of V holds
  (- a) * (- v) ;t5x= (Q2,t2)x  A42,:
  proof
    let V be Z_Module,
        a be Element of INT.            =IExec(IQInitializet)xby A30,XTPRO_1:23
        v be.=.x by A5,A9,,A46
    thus (- a) * (- v) = (--a) * v by Th5
    .= a * v;
  end;

theorem Th8:
  for  for       =s.xby    saA20,XTPRO_1:23java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
      a being Element  INT.Ring,
      v,w being Vector of V           then .xsx by ,A35,,SCMPDS_2    .= ,8,MPDS_2:java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
  a * (v - w) = a * vhence .xsjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
  proof
    let  be Z_Modulecases;
        a be Element of INT.Ring,
        v,w be Vector of V;
  ) =a*:ef java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
    .= a * v - a * w by Th6;
end;

theorem Th9:=0
  for V being         t8.=.bby ,SCMPDS_2:java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
ngElement of.,
      v being Vector of V holds
  (a - b) * v = a * v - b * v
proof
  let V be Z_Module,
      a,b be Element of INT.Ring,
      A48:   t8
  thus (a - b) * v = a * v + (- b) * v by VECTSP_1:def 15
    .= a * v + b * (- v) by Th5
    .= a *A37: EsA    is_closed_on Q8by A7A44,518
end;

theorem
  for V being Z_Module,
      a being Element of INT.Ring,
      v,w being Vector of V holds
  V          java.lang.StringIndexOutOfBoundsException: Range [1, 13) out of bounds for length 9
  proof
    let V be Z_Module,
        a be Element of INT.Ring,
        v,          ssuppose
    meA1:  Mult-cancelablek<5;
    set R = INT.Ring;
    assume that
    A2: a <> 0.R and
     =a *;
    0.V = a * v - a * w by A3,RLVECT_1:15
    .=            k< m3+  INT_1
  - V A1
    hence thesis by RLVECT_1:21;
  end;

theorem
  for V being Z_Module,
     ,b being Element  INT,
      v being Vector of V holds
  V is Mult-cancelable & v <> 0.V & a * vsuppose
  proof
    let V bek+;
      a,b be Element of INT.Ring,
       beVector  V
    assume A1: V is Mult-cancelable;
    assume that
A2 v < 0V and
A3: a * v = b * v;
    0.V = a * v - b end;
    .= (a - b) * v by Th9;
    then (- b) + a = 0 by A2,A1 .= 0.INT.Ring;
    hence thesis;
  end;

 reserve u,v,w for Vector of V;
 A56       =nnbyNAT_1:;
 reserve j,k,n for Nat;
 reserve f,f9,g for sequence of V;

Lm1:        reconsider nnNatjava.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 33
proof
s  =<>the of V)
  ex f st Sum(S) = f.(len S) & f.0 = 0.V & for j,v st j 
  v = S.(j +         end;
  hence thesis;
end;

Lm2: hence    .=s.b by A17,,3java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33

  assume len F = 0;
  then F = <*>(the carrier of V);
  hence thesis  Lm1
end;

theorem Th12:
len F=    let x be ;
  implies Sum(F) = a * Sum(G)
  proof
    defpred P[set] ts_onA50:not domStart-(0SCMPDS)by 8java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
           
    A1: dom F = Seg len F by FINSEQ_1:def 3;
    now
      let n;
      assume
      A2: for H, I st len H =  java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
      v = I.k holds H.
      java.lang.StringIndexOutOfBoundsException: Range [7, 8) out of bounds for length 7
       s1)
      A3: len H = len I and
      A4: len H = n + 1reconsider PF=Load i1 ;s LifeSpanP1,1;
      A5: for k, v st k in Seg len H & v = I.  set l2=card PFci ;I)+1SCMP_GCD:
      reconsider p = H | (Seg n),q = I | (SegsetsI ,PI=by6
      of V by FINSEQ_1:18;
      A6  =LifeSpan(IsIjava.lang.StringIndexOutOfBoundsException: Range [22, 23) out of bounds for length 22
   PF+-card+)0
      A8: len p = n by A4,A6,FINSEQ_1:17;
      A9:
      now
        len p <= len H by A4,A6,FINSEQ_1:17; then
        A10: Seg len p c= Seg len H by FINSEQ_1:5;
        A11: dom p = Seg n by A4,A6,FINSEQ_1:17;
          m2=LifeSp(,
        assume that
        A12: k in Seg len p and
        A13: v = q.k;
        dom q (set=IExec(
        then I.k = q.k by A8,A12,FUNCT_1:47;
        then H.k = a A:  I java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
        .=Program of ,a java.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
      ;
      1 <= n + 1 by NAT_1:11;
      then n + 1 in dom H &java.lang.StringIndexOutOfBoundsException: Range [0, 28) out of bounds for length 21
      then reconsider v1 = H.(n + 1),v2 = I.(n + 1) as Vector of V
        by FUNCT_1:102;
      A14: v1 = a * v2 by A4,A5,FINSEQ_1:4;
      A15: dom q = Seg len q by FINSEQ_1:def 3;
      dom p = Seg len p by FINSEQ_1:def 3;
      hence Sum(H) = Sum(p) + v1 by A4,A8,RLVECT_1:38
      .   Sumset s6=omput(1,s1,P6 =P1java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
      .= a omput( s1mf(,i,I)= ,)=_(cardI +)';'' a,)
      .= a * Sum(I) by A3,A4,A7,A15,RLVECT_1:38;
    end;    '' i3java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
    A5:pFOR =P1 by FUNCT_425    thesis;
    A16: for n st P[n] holds P[n+1];
    now
      let ,  =FOR AFINSQ_1:74;
      assume that
      A17: len H
      A18: len H = 0 and
     forP1 A5BOOLE_1;
AA:   Sum(H) = 0.V by A18,Lm2;
      Sum I = 0.V by A17,A18,Lm2;
      Sum(H) = a * Sum(I) by
    end;
    then
    A19: P[0];
    java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 6
    hence thesis by A7: Shift(I,1) c= P4 by,:1java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
  end;

theorem
  for V being Z_Module, a being Element java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 18
    a * Sum(<*>(the carrier of V)) =A8: l2in

theorem
  for R being Ring,
      V being LeftMod of R, a being Element of R,
      v, u being Vector of V holds
      Sum*v * a  func (n)-Program ofSCMPDSequals
  proof
    let R be Ring;
    let V be LeftMod    GBP ; (java.lang.StringIndexOutOfBoundsException: Range [22, 20) out of bounds for length 38
    thus a * SumA12  <b
    .= a *ing 0started StateA13:Initializes= by ;
  end;

theorem
  for R being Ring
    Load AddTo(GBP,,)is_closed_on
  holds a * Sum<* v,u,w *> = a * v + a * u + a * w
  proof
  beStateof SCMPDSjava.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
    let beLeftMod
    thus a * Sum<* v,u,w *> = a * (v + .x=s.x) & t.a=s.a holds IExec(I,Q,Initia. AddTo(GBP,)
    .= a * (v + u) + a * w by VECTSP_1:def 14
    . a*0tarted ofSCMPDS;
  end;

theorem
forVbeing  assume
      v being Vector of V holds
    (- a_halting_on java.lang.StringIndexOutOfBoundsException: Range [0, 23) out of bounds for length 12
  proof
    Vbe LeftModofINT.,
        a be Element of INT.Ring,
        v be Vector ofthen FORis_halting_ons, A1,10A11,12Th37;
    thus (- asuppose
     - *v by Th6;
  end;

java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 7
  len F = len G & (for kA16:forx be Int_positionst x   sxsx;
  implies A17: IExec(IP,).=sb byA14A13;
  proof
    assume that
    A1: len F = len G and
    A2: for k st k in dom F holds G.kA18:IExec(,,)as.a  A14,A16,A13;
    A3: dom F = Seg len F & dom G = Seg len G by FINSEQ_1    hence byTh42,)a)  A14,613
    now
      let k, v;
      assume that
      A4: k in dom G and
      A5:v  F.k;
      v = F/.k by A1,A3,A4,A5,PARTFUN1
      hence G.k = a * v by A1,A2,A3,A4;
    end;
    hence thesis by A1,Th12;
  end;

begin :: 2. Submodules and cosets of submodules in Z-module

 reserve R for Ring;
 reserve V, X, Y for LeftMod of R;
 reserve u, u1,Comput(P1,s10 ..java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 27
 reserve a for Element of R;
 reserve V1, V2, V3 for Subset of VA3:now
 reservex set;

theorem
  V1 <> {} & V1 is linearly-closed implies 0.V in V1 by VECTSP_4:1;

theorem
  V1      setcvDataLoc.GBP)java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
    by ECTSP_4:;

theorem
  V1 is       lethen
    by VECTSP_4:3;

theorem
  the carrier of  let Q;

theorem
  V1 is linearly-closed & V2 is linearly-closed &
    V3 = {v +A4: Initialize t= tby halts_on sI A13,CMPDS_6:ef 3
    V3 is linearly-closed
  proof
    assume that
   :      that
    A2: V3 = {v + u : v in V1 & u in V2};
    thus then
java.lang.StringIndexOutOfBoundsException: Range [9, 4) out of bounds for length 9
      let v, u;
      assume that
3  inV3 
      A4:u V3;
      consider v2, v1 such that
=
      A6: v1 in V1 & v2 in V2 by A2,A3;
u2,u1 java.lang.StringIndexOutOfBoundsException: Range [26, 1) out of bounds for length 36
      A7: u = u1 + u2 and
      A8: java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 10
      A9: v + u =   =IExec(I,,)bn)=( Nat3by ;
      .= ((v1 + u1) + v2) + u2 by RLVECT_1:def 3
      .= (v1 + u1) + (v2 + u2) by RLVECT_1:def 3;
      v1 +       s.n
      hence thesis by A2,A9;
    end;
    let a, v;
    v  is_closed_onsI,PI  ;
    then consider v2, v1 such that
  then
    A11: v1         .t0.GBP  A6,AMI_31,:48
    A12: a * v = a * v1 + a * v2 by A10,VECTSP_1:def 14;
    a * v1 in V1 & a * v2 inA31:P6/I.tGBPby:5
    hence thesis by A2,A12;
  end;

registration let ;  V;
  cluster {0.V} -> linearly-closed for Subset of V;
  coherence by VECTSP_4:4;
end;

registration let R; let V;
  cluster linearly-closed for Subset of V;
  existence
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 45
   take {0.V};
   thus thesis;
  end;
end;

registration let R; let V;
  let V1,V2I t &I  t, bySCMPDS_6:,;
  cluster V1 /\ V2 -> linearly-closed for Subset of V;
  coherence by VECTSP_4:7    .=FOR. by 6,FUNC_1:
end;

definition
::$CD 2
end;

definition
  let R be Ring;
  let V be LeftMod A34:y  {GBP}
  mode Submodule of V is Subspace of V;
end;

 reserve W, W1, W2 for Submodule of V;
 reserve w, w1, w2 for Vector of W;

theorem
xin W1 & is  of W2 impliesxin W2=.byA20,A25,XTPRO_1:23;

theorem Th24:
  forx being object holdsend;

theorem Th25:
  w is Vector of V by VECTSP_4:10;

    .=s. by DataLoc(.GBP,)intpos(0quaNat)+  A1SCMP_GCD:;
  0.W = 0.V by VECTSP_4:def 2;

theorem
  0. =0W2

theorem
  w1 = v & w2 = u     per cases;

theorem
  w = v java.lang.StringIndexOutOfBoundsException: Range [0, 15) out of bounds for length 11

theorem
  w = v implies  v=end;

theorem
  w1 = v & w2end;

theorem Th32:
  V is Submodule of V

theorem Th33:
  0.V in W     end;

theorem
  0.W1 in W2 by VECTSP_4:18  for being 0started java.lang.StringIndexOutOfBoundsException: Range [29, 29) out of bounds for length 11

theorem
  0.  by VECTSP_4:19;

theorem Th36:
  in W  vin W  u     VECTSP_4:IExeco-GBP,,,Load AddTo(BP,3)P)ntpos java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67

theorem
  v in W implies a * v in W by VECTSP_4:21;


  v in W implies - v in W by VECTSP_4:22;

theorem Th39 seti=AddTo(31,I= Load i,FD
  u in W & v in W implies u - v in W by java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 32

 reserve D for non empty set;
 reserve d1 for Element of D;
 reserve A for BinOp of D;  assume 
 reserve M for Function          txEs byA38

theorem Th40:
  V1 = D & d1 = 0.V & A = (the addF of V) ||             =Exec( s.tpos = and
  M = (the lmult of V) | [:the carrier of R,V1:] implies
   ModuleStr (A3s=;
  proof
    assume that
    A1: V1 = D and
    A2: d1 = 0.V  .s.             .=s.x by
    A3: A = (the addF of V) || V1 and
= (he  for s be -started    s.ntpos2$1 s=0
    reconsider W = ModuleStrhence(I,QInitialize ).a=. by A14,A36,A39;
      ModuleStr over R;
A5 for abeing   java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
             Iholds D,,a$+s.a;
    proof
      let a be Element of R;
            xbe of W;
      thus a * x = (the lmult of A4:now
      . (the lmult of V)(   let k be java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 17
    end;
A6: for x, y    assume
    proof
      let x, y be Vector of W;
      thus       hence  is_halting_onA5::P]java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
      .= (the addF of V).    ;
        now
A7: W is Abelian add-associative right_zeroed right_complementable
    vector-distributive scalar-A42 P2  s2bySCMPDS_6assume java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
    proof
      set MV = the A6:sintpos 2=+ and
      set AV = the addF of V;
       W 
      proof
        let x, y be Vector of W;
reconsider x1       DataLoc(GBP,)by 7SCMP_GCD:1java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 50
        thus x + y = x1 + y1 by A6
        .=y1 +x1      
        .= y + x by A6;
      end;
      thus W is add-associative
      
         x ,   Vector  W;
        reconsider x1 = x, y1 =A9:now
thus x+ y)+ z =AV.( +          =.)
        .= (x1 + y1) + z1 by A6
        .= x1 + (y1 + z1) by java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 6
. .x1, + )byjava.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
        .= x + (y + z) by A6;
      end;
      thus W is right_zeroed
      proof
        .i3 by java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 17
        reconsider y =    = Exec(s7)by ;
        thus x + 0.W = y + 0.V by A2,A6
        .= x by RLVECT_1:4;
      end;
      thus W is right_complementable
      proof
        let x be Vector of W;
        reconsider  then
        consider v such that
.V by :def11java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
        v  :s5=Comput( ,. A34,CMPDS_4:8
        .= (- (1.R)) * x1 by Th2
lmult of V)(-(.),1)
        .= (- (1.R)) * x by A5;
       reconsidery as Vectorof;
        take y;
        thus    =sb+n  A,,SCMPDS_248;
      end;
      thus for a being Element of R for x
      holds a * (x + y) =       be;
      proof
        let A50:not x Start-0SCMPDS)SCMPDS_418;
        let x, y be Vector of W;
        reconsider x1 = x, y1 = y as Vector of V by A1,TARSKI:def 3;
        a * (x + y) = MV.(a,x + y) by A5
        .= a * (x1    hen
        .= a * x1 + a * y1 by VECTSP_1:def 14
= .(V.ax1), y)by 
        .= AV.(a * x, a * y) by A5
    . a* x      ;
        hence thesis;
      end;
      thus for a, b being Element of R
    for being Vector  W       ;
      proof
        let a, b be Element of R;
        let x be Vector of W;
        reconsider  =        assume 
        (a + b) * x = (a + b) * y by A5
        . endfor beInt_position st x inGBP t.=. 
        .= AV.(MV.(a,y),b * x) by A5
        .= AV.(a * x,b * x) by A5
        . A11    BP=s.;
        hence thesis;
      end
      thus for a, b being Element of R
      for x being Vector of W holds (a * b) * x = a * (b * x)
      proof
        let a, b be Element of R;
        let x be Vector of W;
      reconsider  = x as Vectorof  by,,ARSKIe 3java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 59
        reconsider         .=IExec(I,P,).x  ,java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
        a*b) * x  (a* b) *y by  A5
        .= a A13:     < t0.,3)  A6,A7,MI_3:10,:1;
        .=    end
        .= a *         thus
        hence  endjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
      end;
      let x be Vector of W;
      reconsider yA14    (I,)GBP=ExecAddTo(3,1),0).GBP  ,:
      thus (1.R) *x=( lmult  V).(1.R,y) by A5
      .= (1.R) * y
      .= x;
    end;
0W = =.by SCMPDS_5:
    hence thesis by A1,A3,A4,A7,VECTSP_4:def 2;
  end;

theorem
  for R being Ring
for, being   R st Submodule          t0 :48
    X is Submodule of V holds V = X by VECTSP_4:25;

theorem Th42:
  V is Submodule of X & X is Submodule of Y implies  then m0>m1        is_closed_ont Iis_halting_on  by SCMPDS_60;
    by VECTSP_4:26;

theorem Th43:
  the carrier of W1 c= the carrier of W2 implies W1 is Submodule of W2
    by VECTSP_4:27;

theorem
  (for v st v in W1 holds v in W2          yin {  nn as Nat;
    by VECTSP_4:28;  Comput(1s1,1m2 = ComputP2, by ,:4

registration
   be Ring;
  lethence(I,,t.ty by ;
   for Submodule ofV
  existence
  proof
    the carrier of V is Subset   m1+  >       jGBP,2,1,0s,1Exec(,)java.lang.StringIndexOutOfBoundsException: Range [52, 51) out of bounds for length 51
java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 57
    the addF of V = (the addF of V) ||V1 & the lmult of V = (the lmult of V)
      |[ theA15:  0.,3)ntpos(  Nat+ byA7,SCMP_GCD;
    then ModuleStr(#the carrier of V,the addF of V,0.V,the lmult of V #)
       Submodule of by ;
    hence thesis;
  end;
end;

theorem Th45:
  for W1, W2 being   then nn >= m2 by A42,EXTPRO_1:def 15;
  the carrier of W1 = the carrier of W2 implies W1 = W2 by VECTSP_4:29;

theorem Th46:
then.l2E(j s1)l2 SCMPDS_5:1
  (for v holds v in W1 iff v  hence by A42 =l2  byA17,CMPDS_2:

       =i .-1  SCMPDS_5:0
  for V being strict LeftMod of R, W being strict Submodule of V holds
   carrierof W = the

theorem
   Vbeing LeftMod of.A6;
  (for v being Vector of V holds v in W iff v in V) implies W = V
  proof
    let V be strict LeftMod A19:s2=xec(, clusterfor-up(a,i,n,)- shiftable;
    assume
A1: for v being Vector of V holds v in W iff v in V;
     SubmoduleofVby ;
    hence thesis by A1,Th46;
  end;

theorem
  the carrier of W = V1 implies V1 is linearly-closed by VECTSP_4:33;

theorem
  1 < {}& V1 linearly-closed implies
 ex   strict      card  11by SCMPDS_6:

theorem
  0)W=()V,MI_3:,8java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44

theorem
  (0).W1    hence by SCMPDS_4:23;

theorem
  (0).W is Submodule of V by Th42;

theorem Th54:
  (0).V is Submodule of W by VECTSP_4:39;

theorem
  (0).W1 is java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 4

theorem
  for V being LeftMod of R holds V is Submodule of (Omega).V by VECTSP_4:41;

definition
::$CD 4
end;

reserve ,for Coset of W;

theorem
  0.V in v + W iff v in

theorem Th58:
  v in v + W by VECTSP_4:44;

theorem
  0.V + W = the     i3=goto -(card I)as StopCode Instruction of SCMPDS by SCMPDS_5end;

theorem
  v + (0).V = {v} by VECTSP_4:46;

theorem
  v + (Omega).V = the carrier java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 7

m
  0.V in v + W iff v + W = the carrier of W by VECTSP_4:48;

theorem
  v in W iff v + W = the carrier of A25:s.ntpos 2= 

theorem
  v Wimplies a*vjava.lang.StringIndexOutOfBoundsException: Range [1, 0) out of bounds for length 0

theorem
  u in W iff v + W = (v + u) + W by VECTSP_4:53;

theorem
  u in W iff v + W = (v - u) + W by VECTSP_4:54;

theorem
inuhence  by A25,Th45,27

theorem
  u in(,  end

theorem
  v    be  holds []from sch(A4);

theorem
  u + v     hence IExecD,)=+ qua )byA1,A2,A3

theorem
  v - u in v + W iff u in W by VECTSP_4:61    .n

theorem
  u end
  proof
    thus u in v + W implies ex v1 stjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    prooftheorem
      assume u in v + W;
      then ex v1 st u = v  for  s  0started State SCMPDS,n Nat
      hence thesis;
    end;
    given v1 such that

    thus thesis by A1;
  end

theorem
  u in v + W iff ex v1 st v1 in W & u = v - v1 by VECTSP_4:62;

theorem
  (ex v st v1 in v + W & v2 in v +   set i1= GBP:=0, i2= (GBP,2):=n, i3 (,)0oto (ard  3)i2=,,)

theorem
  v + W = u + W implies ex v1 st v1 in W & v + v1 = u by VECTSP_4:64;

theorem
  v + W = u + W implies ex v1 st v1 in W & v -    =i1 '  (,) I3 'i3s3=IExec(I3,,,P3 = P;

theorem
  for W1, W2 being strict   card I4=card I+1 by SCMPDS_6
    by VECTSP_4:66;

theorem
  for W1, W2 being strict Submodule of V     =ard A2: I3 is_halting_on by 21
    by VECTSP_4:67;

theoremA3: s2.GBP=0by :;
  Cis linearly-closed  =the carrier    

theorem
  for W1, W2 being strict Submodule of V, C1 being Coset of W1,
  C2 being Coset of W2 st C1 = C2 holds W1 = W2 by VECTSP_4:70;

theorem
  {v} is Coset of (0).V by VECTSP_4:71;

theorem
  V1 is Coset of (0).V implies ex v st V1 = {v} by VECTSP_4:72;

java.lang.StringIndexOutOfBoundsException: Range [0, 7) out of bounds for length 6
  the carrier of W is Coset of W by VECTSP_4:73;

theorem
  the carrier of V is Coset of (Omega)  let a be Int_position, be Integer,8s.x31GBP by SCMPDS_5:

theorem
  V1 is Coset of (Omega).V implies V1 = the   =by A5,,MI_3:0,CMPDS_2:46java.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 38


  0.V in C iff C = the carrier of W by VECTSP_4:76;

theorem
  in  C     VECTSP_4:77;;

theorem
  u in C & v in C implies ex v1 st v1 in W & uA9 FD is_halting_on s3,by java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 4

theorem
  u theorem Th40:

theorem
  (ex C st v1 in C & v2 in C) iff v1    abeInt_position,=ntpos 2A6AMI_310SCMPDS_2:java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44


  u in B & u in C implies B = C by VECTSP_4:81;

 :: 3. Operations on submodules in Z-module

 reserve V for LeftMod of R;
   java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
 reserve u, u1, u2, v, v1, v2 for Vector of V;
 reserve a, a1, a2 for Element of R;
 reserve X, Y, y, y1, y2 for set:(Initializes3)a=abySCMPDS_5:15

definition let java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 4
  let M be Abelian add-associative right_zeroed right_complementable
  -distributivescalar-istributive scalar-associative scalar-unital
   non empty ModuleStr over GF;
  let W1, W2 be SubspaceA
  redefine func W1 + W2;
  commutativity by VECTSP_5:5;
end;

theorem Th92:
  x inW1   ++..+
    by VECTSP_5:1;

theorem
  v in W1 or    java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 62

theorem
  for x being object holds x in W1 /\ W2 iff x in W1 & x in W2 by VECTSP_5:3;

Lm6: the carrier of W1  sum(spcontrol,pp,Data)- of  
proof
  let x be object;
  set A =   I4=i1''I,I5=I4 ; java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
 x in thecarrier fjava.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
  then reconsider v = x as Element of W1;
  reconsider v sof   setFLOOP=down(,,,;
  A1: v = v + 0.V by RLVECT_1:4;
  v in W1   coherence;
  then x in A by A1;
  hence thesis by VECTSP_5:def 1;
end;

theorem
  for W being strict Submodule of V holds W + Wtheorem Th51:

 fors being -started State ofSCMPDS: I4I+ by :;
  W1 + (W2 + W3) = (W1 + W2) + W3 by VECTSP_5:6;

theorem
  W1 isSubmodule fW1 +W2 by VECTSP_5:;

theorem Th98:
  for W2 being strict Submodule of V holds
  W1 is Submodule of W2 iff W1 + W2 =   card =cardI11 by A1,SCMP_GCD:4

theorem Th99:
  for W being strict Submodule of V holds (0).V + W = W by VECTSP_5:9;

theorem
  0.V +Omega. of  VECTSP_5:;

theorem Th101:
  (Omega).V + W h thesisby :6;

theoremend;
  for V being strict LeftMod of R java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

  fors   SCMPDS,I Program  SCMPDSa 
  for W being strict Submodule of V holds W /\ W = W by VECTSP_5:13;

theorem
  W1 -(,nI  P

Lm8: the java.lang.StringIndexOutOfBoundsException: Range [22, 16) out of bounds for length 49
proof
  the carrier of W1 /\ W2
  = (the carrier of W1) /\ (the carrier of W2) by VECTSP_5:def 2;
  hence thesis by XBOOLE_1:17;
end;

theorem
  W1 /\ W2 is Submodule of W1 by java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 24

theorem Th106:
  for W1 being strict Submodule of V holds W1 is Submodule of W2 iff
  W1 /\ W2 = W1 java.lang.StringIndexOutOfBoundsException: Range [8, 18) out of bounds for length 8

theorem Th107:
  ()V/ =0)Vby VECTSP_520java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36

theorem
  (  .P>spand

theorem Th109:
  for WA2:cv <  

theorem
  for V being strict LeftModA3then

Lm9: A6:  s4  (s3 s+r p and
proof
  the carrier of W1 /\ W2 c= the carrier of W1 &
  the carrier of W1 c= the carrier    . ( quaNat)+card I+) by ,SCMPDS_6;
  hence thesis;
end;

theorem
  W1en

Lm10: the carrier of;
proof
  thus the carrier of (W1 /\ W2) + W2 c=    FOR def2;
  proof
    let x be object;
    assume x in the carrier of (W1 /\ W2) + W2;
    then x in {u + v where v,u: u in W1 /\ W2 & v in W2} by VECTSP_5:def 1;
    then consider v,u such that
    A1: x = u + v and
    A2: u in W1 /\ W2 and
    A3: ;
    u in W2 by A2,Th94;
    then u + v in W2 by A3,Th36;
    hence thesis by A1;
  ;
  let x be object;
  the   c carrier  W1/\W2)+W2 byLm6;
  hence thesis;
end;

theorem
  for W2 being strict Submodule of V
  holds (W1 /\ W2) + W2 = W2 by Lm10,Th45;

 thecarrier W1/ W1+W2) = the carrier of W1
proof
  thus the carrier of W1 /\ (W1 + W2) c= the carrier of W1
  proof
    let x be object;
    assume
    A1: x in the set FOR=for-down(a,i,n) pFOR=stopjava.lang.StringIndexOutOfBoundsException: Range [43, 44) out of bounds for length 43
    the carrier of W1 /\ (W1 + W2)
    = (the carrier of W1) /\ (the carrier of W1 + W2) by VECTSP_5:def 2;
    hence thesis by A1,XBOOLE_0:def 4;
  end;
  let x be object;
  assume
  A2: x in the carrier of W1;
  the carrier of W1 c= the carrier of V by VECTSP_4:def 2;
  then reconsider x1 = x as Element of V by A2;
  A3: x1 + 0.V = x1 & 0.V in W2 by Th33,RLVECT_1:4;
  x in W1 by A2;
  then x in {u + v where v,u: u in W1 & v in W2} by A3;
  then x in the carrier of W1 + W2 by VECTSP_5:def 1;
  then x in (the carrier of W1) /\ (the carrier of W1 + W2)
    by A2,XBOOLE_0:def 4;
  hence thesis by VECTSP_5:def 2;
end;

theorem
  for W1  strict Submodule of V holds
    W1 /\ (W1 + W2) = W1 by Lm11,Th45;

Lm12: the carrier of (W1 /\ W2) + (W2 /\ W3) c=
the carrier of W2 /\ (W1 + W3)
proof
  let x be object;
  assume x in the carrier   setSAl=Start-At((card I+3),SCMPDS);
  then x in {u + v where v,u: u in W1 /\ W2 & v in W2 /\ W3} by VECTSP_5:def 1;
  then consider v,u such that
  A1: x = u + v and
  A2: u in W1 /\ W2 & v in W2 /\ W3;
  uA1: IC s3 = 0 by MEMSTR_0:def 11;
  then
A2: not d1 in dom0,CMPDS)  SCMPDS_4:8;
  u in W1 & v in W3 by A2,Th94;
  then x in W1 +A3:pFOR c=P4 by FUNCT_425;
  then x in W2 /\ (W1 + W3) by A3,Th94;
   hesis;
end;

theorem
  (W1 /\ W2) + (W2 /\ W3) is Submodule of W2 /\ (W1 + W3) by Lm12: s3DataLoc(a,)=s3.d1 by FUNCT_4:11

Lm13: W1 is Submodule of W2 implies
the carrier of W2 /\ (W1 + W3) = the carrier of (W1 /\ W2) + (W2 /\ W3)
  by VECTSP_5:7

theorem
  W1 is Submodule of W2 implies W2 /\ (W1 + W3) = (W1 /\ W2) + (W2 /\ W3)
  by Lm13,h45;

Lm14: theA6: Comput(, s3,(0 quaNat)1:n >n+cv A2XREAL_1:6java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
the carrier of  set=DataLoc(. Exec(,)  A5CMPDS_6:;
proof
  let x be      let t  started State of SCMPDS;
  assume x in the carrier of W2 + (W1 /\ W3);
  then x in {u + v where v,u: u in W2 & v in W1 /\ W3} by VECTSP_5:def 
  henconsider ,u  that
  A1: x = u + v & u in W2 and      assume that
  A2 v in2: forx Int_position  
  v in W3 by A2,Th94;
  then x in {u1 + u2 where u2,u1: u1 in A13: .BPA8:cardFOR=I+  Th39
  then
  A3: x in the carrier of W2 + W3  then (card= t,=Exec2,0
  v in W1 by A2,Th94;
  then x in  then P4A14:DataLoc(.,frDataLoc(fr)by SCMPDS_515
  then x in the carrier of W1 + W2 by VECTSP_5:def 1;
   in the carrier  W1 +W2)/ t java.lang.StringIndexOutOfBoundsException: Range [0, 52) out of bounds for length 6
XBOOLE_0:      then Data(.BP,r)t
  hence thesis by VECTSP_5:def 2;
end;

theorem
  W2 + (W1 /\ W3) is Submodule A11: CurInstr(P3,s3) = i1 by A5,SCMPDS_6:11;

Lm15: W1 is Submodule of W2 implies
the carrier of W2 + (W1 /\ W3) = the carrier of (W1 + W2) /\ (W2 
proof
  reconsider V2 = the carrier of W2 as Subset of V by VECTSP_4:defn<  by A1,NAT_1:java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
s linearly-closed byVECTSP_4:;
  assume  isSubmodule of ; 
  A2: the carrier of W1 c= the carrier of W2 by VECTSP_4:def 2;
  thusthe carrier6  t1P0. SCMPDS_2:
  by Lm14;
  let x be object;
  assume x in the carrier of (W1 + W2) /\ (W2 + W3);
 thenx  PP BPPP  TARSKI:ef 2
    by VECTSP_5:def 2;
  then x in the carrier of W1 + W2 by XBOOLE_0:       t1.PP  (3,)=halt SCMPDS 1= l;
  then x in {u1 + u2 where u2,u1: u1 in W1 & u2 in W2} by VECTSP_5:def 1;
       then
  A3: x = u1 + u2
  A4: u1 in W1 & u2 in W2;
  u1  in V2 byA2,;
  then
  A5: u1 + u2 in W2;
  0.V in W1       om SAl =CCMPDS}y :13
  then x in {u + v where v,u: u in W2 & v in W1 /\ W3    
 1;
end;

theorem
  W1 is Submodule of       |.t1.P+(0      byCMPDS_46java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 32
  by Lm15,Th45;

theorem
  W1 is strict Submodule of W3 implies W1 + (W2 /      then < ICSCMPDS;
    by VECTSP_5:30;

theoremthen
  forW1,W2being strict Submodule  V holdsA20 |.v nv XTUPLE_0:;
  proof
    let W1,W2 be strict Submodule of V;
    W1 W2=2iff is of Th98;
    hence thesis by Th106;
      then

theorem
  for W2,W3 being strict A21  DataLoc(          A6A16,CMPDS_2:java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
  implies.= s.by      t0.+fr. njava.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 44

theorem
 of W1) \ (the carrier    end;
  iff W1 is Submodule of W2 or W2 is Submodule of W1 by VECTSP_5:35;

notation let GF be : x =IC ;
  let A22:  D(t0.,fr <> Dv byXTUPLE_0:1
     vector-distributive scalar-distributive scalar-associative
     scalar-unital non empty ModuleStr over GF;
  synonym Submodules V for A23FOR,s. ( +3java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4

registration let R,V;
bmodules) -> non ;
  endjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
end;

theorem
  for V being strict LeftMod of R holds V in Submodules(V    =dom        Dv ySCMPDS_5:15;

    let V be strict LeftMod of R;
    (Omega).V in Submodules(V) by VECTSP_5:def 3;end;
    thesis;
  end;

Lm16: for V being LeftMod of R, W being strict Submodule of V holds
(for v being Vector of V holds v in W) implies W = the ModuleStr of V
proof
let  be LeftMod of ,W be strict ofV;
  assume for v being Vector of V holds v in W;
  then       
  hence thesis by Th46;
end;

Lm17: for V being LeftMod of R, assume
W1 + W2 = the ModuleStr of V
Vector of Vex ,v2 being Vector  java.lang.StringIndexOutOfBoundsException: Range [54, 55) out of bounds for length 54
st v1 W1&v2 25,RSKI:ef 2
proof
  let V be LeftMod of R, W1,W2 be Submodule of V
  thus W1 + W2 = the ModuleStr of V implies
  for v beingjava.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 15
  ex v1, v2 being Vector of V st v1 in W1 & v2 in W2 & v = v1 + v2
  by RLVECT_1:1,Th92;
  assume
  A1proof
  st v1 in W1 & v2 in W2 & v = v1 + v2;
  ow
    let u be Vector of V;
    ex v1, v2 being Vector of V st v1 in W1 & v2 in W2 & u = v1 + v2 by A1;
    hence u in W1 + W2 by Th92;
  end;
  hence thesis   assume s.DataLo(s.i =0;
end;

definition
::$CD 3
  
  let V be LeftMod of R;
letbe ubmodule  ;
  attr W   means
  exC Submodule Vst  is_the_direct_sum_ofC,W
end;

registration;
  let R;
  let V be LeftMod of R;
  cluster with_Linear_Compl for Submodule of V;
  correctness
  proof
    java.lang.StringIndexOutOfBoundsException: Range [0, 5) out of bounds for length 0
    then (Omega
    remTh52:
  end;
end;


  let R;
  let V be LeftMod Nat holds (I,1 c= for-(ain,I
  let W  Submodule of V;
  assume A1: W is with_Linear_Compl;
  mode Linear_Compl of W -> Submodule letIbeProgram of SCMPDS,a be Int_position,i be Integer, n be Nat;
  V  ,W;
  existence by A1;
end;

theorem
  for W1, W2 being Submodule of V holds V
  is_the_direct_sum_of W1W2 len f holds f.(k+1)=s.DataLoc(s.intppD,java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
  proof
    let W1, W2 be Submodule of V;
    assume V is_the_direct_sum_of ,W2;
    then A1:V is_the_direct_sum_of W2,W1 by VECTSP_5:41;
    then W1 is with_Linear_Compl;
    thesis by Def19,;
  end;

theorem Th124:
  for W being with_Linear_Compl Submodule of V,
   being of  holds
  V is_the_direct_sum_of L,W & V is_the_direct_sum_of W,L
  proof
    let W be with_Linear_Compl Submodule of V,
    L be Linear_Compl of W;
    thus V is_the_direct_sum_of L,W by Def19;
    hence thesis by VECTSP_5:41;
  end;

theorem
  for W being with_Linear_Compl Submodule of V, L being
  Linear_Compl of W holds W + java.lang.StringIndexOutOfBoundsException: Range [0, 31) out of bounds for length 9
  proof
    let     t BP=intpos  =intpos.i &
    L be Linear_Compl of W;
    V is_the_direct_sum_of W,L by Th124;
    hence  sume that
  end;

theorem
  for W being with_Linear_Compl Submodule of V,
  L A2:cv  fr 
  proof
    let W be with_Linear_Compl Submodule of V,
    LbeLinear_Compl of W;
    V is_the_direct_sum_of W,L by java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 19
\ L =A5 pD and
  end;

theorem
  V is_the_direct_sum_of W1,W2
  implies V is_the_direct_sum_of W2,W1 by VECTSP_5:41;

theorem
  for V being Z_Module, W being with_Linear_Compl Submodule of V,
  Ljava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
  proof
    let  be ,A9:orkbe st klen holds f.+1sDataLoc(s.k)java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 62
    L be Linear_Compl of   Int_position,i benbe ,;
    V is_the_direct_sum_of L,W by Def19; then
A1 : n+< A4,5,XREAL_0:2;
    then L is with_Linear_Compl;
    hence thesis by Def19,A1;
  ;

theorem Th129:
  for  being  cv1)a=(BP,fr)java.lang.StringIndexOutOfBoundsException: Range [30, 31) out of bounds for length 30
    V is_the_direct_sum_of (Omega).V seti1 Pat]eans
  proof
    let V be java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 8
107A1  >
    hence thesis by VECTSP_5:41;
  end;

theorem
  for    kbe  stk<len  holdsf(+1=tDataLoc(as.
  (Omega).V is Linear_Compl of (0).V
  proof
    let V be Z_Module;
    A1:  V is_the_direct_sum_of (0).V,(Omega).V &
     is_the_direct_sum_ofA2:not inX;
    then
    A2: (Omega).V is with_Linear_Compl;
    (0).V is with_Linear_Compl by A1;
    hence thesis by Def19,A1,A2;
  end;

 reserve C for Coset of W;
reserve  for Coset java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 28
 reserve C2 for Coset of W2;

theorem
  C1 meets C2 implies C1 /\ C2 is Coset of W1 /\ W2 by VECTSP_5:45;

Lm18: ex C st v in C
proof
    =v +W Coset  W VECTSP_4:ef 6;
  take C;
  thus thesis     let k  Iis_halting_on  for  Int_positionst yX
end;

theorem
  for V being Z_Module, W1, W2 being Submodule of V holds V
  is_the_direct_sum_of W1,W2 iff for C1 being Coset of W1, C2 being Coset of W2
  ex v being Vector of V    now

theorem
     k Nat
  W1 + W2 = the ModuleStr of V
  iff for v being Vector of V ex v1, v2 being Vector of V
st  W1&v2in  &v=v1+v2 byLm17;

theorem
  V is_the_direct_sum_of W1,W2 & v1 + v2 = u1 + u2 &A8:  t. =+1
inW1 & inassume
    by VECTSP_5:48;

theorem
 V     &( v st v,u st v1A16 tPBP and
  v1 in W1 & u1 in W1 & v2 in W2 & u2 in W2 holds v1 = u1 & v2 = u2) implies
  V is_the_direct_sum_of W1,W2
  proof
    assume
    A1: V = W1 + W2;
    the carrier of (0).V = {0.        assume inA19:len  =t.java.lang.StringIndexOutOfBoundsException: Range [25, 23) out of bounds for length 36
    by Th54,VECTSP_4:def 3; then
    A2: {0.V} c= the carrier of W1 /\ W2 hence (Initialize t).x=s.x by SCMPDS_5
    given v such that
    A3: for v1, v2, u1, u2 st v1 + v2 = u1 + u2 & v1 in       assume
inu in holds 1=&v2 u2;
    assume not thesis;
    then the carrier A23:  now
     0V c<the  ofW1/         DvataLoc(.v)java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
    then consider x being object such that
    A4: x in java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 13
    A5: not x in {0.V} by XBOOLE_0:6;
  by,ef1
    A7: x in W1 /\ W2 by A4;
    then x in V by Th24;
    then reconsider     Vectorof;
    consider v1, v2 such that
    A8: v1 in W1 and
    A9: v2 in W2 and
    A10: v = v1 + v2 by A1,Lm17;
    A11: v = v1 + v2 + 0.V by A10,RLVECT_1:4
    .=v1+ v2) + (u -u) byRLVECT_1:15
    .= ((v1 + v2) + u) - u by RLVECT_1:def 3
    .= ((v1 + u) + v2) - u by RLVECT_1:def 3
    .= (v1 + u) + (v2 - u) by RLVECT_1:def 3;
    x in W2 by A7,Th94;
    then
    :    in   ,;
    x in W1 by A7,Th94;
    then v1+uin W1  ,Th36;
    then v2 - u = v2 by A3A15:    FOR  i1 ;'( ; i2''i3)byTh2java.lang.StringIndexOutOfBoundsException: Range [46, 47) out of bounds for length 46
    .= v2 - 0.V by RLVECT_1:13;
    hence byA6,:23;
  end;

definition
::$CD
end;

theorem Th136:
  V is_the_direct_sum_of W1,W2 implies (v |-- (W1,W2))`1 = (v |        for  t2.a =t4. byA16,:;
    by VECTSP_5:50;

theorem Th137:
  V W1,W2 (v|--(,W2))2 = (v 
    by VECTSP_5:51;

theorem
  for V being Z_Module, W being with_Linear_Compl Submodule of V,
  L being Linear_Compl of W, v being Vector of V,
  t being Element of [:the carrier of V, the carrier of V:]
  t`.frDataLoc(,r A16,,15
  proof
    let V be Z_Module, W be with_Linear_Compl Submodule of V,
    ofW
    V is_the_direct_sum_of W,L by Th124;
    hence thesis by VECTSP_5:def 6;
  ;

theorem
  for V        then
  L being Linear_Compl of W, v being Vector of V holds
  ( --(WL))`1+ ( -0   + = XXREAL_0:2;
  proof
    let V be Z_Module, W be with_Linear_Compl         is_closed_on Initialize t, Q by A5,A10          .=.PPby SCMPDS_5:java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
    L be Linear_Compl of W;
    V is_the_direct_sum_of W,L by Th124;
    hence thesis by VECTSP_5:def 6;
  end;

theorem
gZ_Module,Wjava.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 12
  L being Linear_Compl of W, v being Vector of V java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 44
  (v |-- (W,L))`1 in W & (v |-- (W,L))`2 in L
  roof
    let V be Z_Module, W be with_Linear_Compl Submodule of V,
    L be Linear_Compl of W;
is_the_direct_sum_of , h124;
    hence thesis by VECTSP_5:def 6;
  end;

theorem
  for V being Z_Module, W being with_Linear_Compl Submodule of V,
  L being Linear_Compl of W, v being Vector of V holds
  (v |-- (W,L))`1 = (A33:   ExecIUu)BP=BP         1

theorem
  for V being Z_Module, W being with_Linear_Compl Submodule of V,
  card  + card I +3 by XREAL_1:;
L)`2 =( - LW       v=ntpos(ncv) by A16,:

reserve A1,A2,B for Element of java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 30

Th143:
  LattStr (# Submodules(V), SubJoin(V), SubMeet(V) #) is           ( then|.0BP+r< t.BPcv.by A2,8
    by VECTSP_5:57;

registration let R; let V;
  cluster LattStr (# Submodules(V), SubJoin(V), SubMeet(V )
  -Lattice-like;
  coherence by Th143;
end;

theorem Th144:
  for V being Z_Module java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 12
  SubJoin(V), SubMeet(V) #) is lower-bounded by VECTSP_5:58;

heorem Th145:
  for V        
  SubJoin(V), SubMeet(V) #) is upper-bounded by VECTSP_5:59;

theorem
  for V        then
  SubJoin(V),SubMeet()# is01_Lattice
  proof
    let V be Z_Module;
LattStr #java.lang.StringIndexOutOfBoundsException: Range [15, 13) out of bounds for length 33
    upper-bounded Lattice by Th144,Th145;
    hence thesis;
  end;

theorem
 LattStr#S(V)java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
  SubJoin() V #) t, Q A5A10,java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54

theorem
  for  being        (I, u)PP(i3,t1)PP by SCMPDS_52
  W1 is Submodule of W2 implies W1 /\ W3 is Submodule of W2 /\ W3
  proof
    let        then
    set S = LattStr (#           =u. ,A36,CMPDS_24832    Q2 halts_on bySCMPDS_6:f 3
    reconsider A = W1, B = W2, C = W3, AC = W1 /\ W3, BC = W2 /\ W3
    as        y Int_position;
    assume
    A1: W1 is Submodule of W2;
     W1+W2by :def7
    .= B by A1,Th98;
    then A [= B;
    then A "/\" C [= B "/\"A39    I is_halting_on ,by java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 48
    then
    :( "\"C           casesA39TARSKI:ef 2;
    A3: B "/\" C = W2 /\ W3 by VECTSP_5:def 8;
    (A "/\"         then.suppose
      by VECTSP_5:def 8
    )byVECTSP_5:def 8
    .= (W1 /\ W3) + (W2 /\ W3) by VECTSP_5:def 7;
    hence thesis  ,,A16,MPDS_2:56java.lang.StringIndexOutOfBoundsException: Range [48, 49) out of bounds for length 47
  end;

theorem
  for V being Z_Module, W being strict Submodule of V holds
  (for v being Vector of V holds v in W) implies
   the        

theorem
  ex C st v in C by Lm18;

begin :: 4.Transformation of Abelian group to Z-module

efinition
   AG be  emptyaddLoopStr;
  func       t0=t, t1=Execi,          =Exec(t6 ;
  [:the carrier of INT.Ring,
    the carrier of AG   then
  for i being Element of INT.Ring, a being Element of AG holds
  (i >= 0 implies it.(i,a) = (Nat-mult-left(AG)).(i,a)) &
  (i < 0 implies it.(i,a) = (Nat-mult-left(AG)).(-i,-a));
  existence
 proof
A41:   (Q7,7=Q3.2
      Element of AG,Element of AG] means
    ( =implies  =at-eft(AG).12 java.lang.StringIndexOutOfBoundsException: Range [57, 56) out of bounds for length 56
(1<0 implies 3  (at-:3
    A1: for x being           .=(i3t7 byA41;
    for y being Element of AG
     Element  AG P[,z]
    proof
      let x be Element of the carrier of INT          =0 by ,Th1;
reconsiderxx=x Element of java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
            then
      suppose x >= 0; then
        reconsider =x  Element NAT INT_1:;
        reconsider z = (Nat-mult-left(AG)).(x0,y) as Element of AG;
P[x,,]java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
        hence thesis;
      end;
      suppose a2: x < 0A45 DataLoc(t1.0 >BPby XTUPLE_01
reconsider =asElement NAT INT_1:;
        reconsider z = (Nat-mult-left(AG)).(x0,-y) as Element of AG;
T1:     (x >= 0 implies z = (Nat-mult-left(AG)).(x,y)) by a2;
        P[x,y,z] by T1;
        ence ;
      end;
    end;
    consider f being Function of [:the carrier of INT.Ring,
carrierof :]carrier of  such 
    A3:  for x being Element of the       >|.+. ,,12X:;
    for y being Element of the carrier of AG
    holds P[x,y,f.(x,y)] from BINOP_1:sch 3(A1);
    take f;
    thus thesis by A3;
  ;
  uniqueness
  proof
    f1,f2 Function :heofINT.ingjava.lang.StringIndexOutOfBoundsException: Range [60, 59) out of bounds for length 76
      the carrier of AG,h16;
    assume
    A4A40,TUPLE_0;
    (i >= 0 implies f1.(i,a) = (Nat-mult-left(AG)).(i,a)) &
    (i < 0 impliesf1.i,java.lang.StringIndexOutOfBoundsException: Range [4, 3) out of bounds for length 40
    assume
   A5        .t1. byA6,S8
    (i >= 0 implies f2.(i,a) = (Nat-mult-left(AG)).(i,a)) &
    (i < 0 implies f2.(i,a) = (Nat-mult-left(AG)).(-i,-a));
   forx y s stx in  &y the of
    holds f1.(x,y)= f2.(x,y)
     letx y  ncv< p by A1,AT_1:
      assume A6: x in INT & y in the carrier of AG; then
      then          s. A45,:
      reconsider x1=x as Element of INT.Ring by A6;
      reconsider y0=y as Element of AG by A6;
      per cases;
     suppose : 0 =x0;
        hence f1.(x,y) = (Nat-mult-left(AG)).(x0,y0) by A4
        .= f2.(x,y) by A5,A7;
      end;
      suppose A8: 0 > x0;
        hence f1.(x,y) = (Nat-mult-left(AGA48:      x in X;
        .= f2.(x,y) by A5,A8;
      end;
    end;
    hence fjava.lang.StringIndexOutOfBoundsException: Range [16, 17) out of bounds for length 16
  end;
nd

java.lang.StringIndexOutOfBoundsException: Range [42, 1) out of bounds for length 42
              .x  SCMPDS_5:15
     i be Element of INT.Ring, i1 be Element of NAT st i=i1 holds
  (Int-mult-left(R            =s.xbyA9;

theorem Th152:
 for R non empty addLoopStr,a  Element  java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
  i be Integer st i=0 holds
  (Int-mult-left(R)).(i,a) = 0.R
  proof
    let R be non empty addLoopStr,
    a beElement of , i beInteger;
    assume i=0;
    hence (Int-mult-left(R)).(i,a) = 0 * a by Def23
    =.R BINOM:          .. byA1832XTPRO_1;
  end;

theorem Th153:
   right_zeroedright_complementable
  non empty addLoopStr,
  i be Element of NAT holds
  (Nat- then
  proof
    let R be add-associative right_zeroed right_complementable
    non empty addLoopStr,
    i be Element of NAT;
    defpred P[Nat] means (Nat-mult-left(R)).($1,0.R) = 0.R;
    A1: P          per java.lang.StringIndexOutOfBoundsException: Range [19, 19) out of bounds for length 10
    A2:for be Nat st [n]holds P[+1
    proof
      letk  A   .=(nitialize )PD 
:[]java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
(mult-left()).n10R  0R+0R byA3,INOM:def
      .= 0.R by RLVECT_1:4;A63:
      hence P[n+1];
    end;
    for n             
    hence thesis;
  end;

theorem Th154:
  for A53:           k < m2;
  non empty addLoopStr,
  i be Element of INT.Ring holds
  (Int-mult-left(R)).(i,0.R) = 0.R
   
    let R be add-associative right_zeroed right_complementable
    non         set SD=DataLoc((Initialize s2).PD,i);
    i be Element of INT.Ring;
    reconsider ii = i as Element of INT;
    per ;
    suppose0 <= i; then
      reconsider i1=i as Element of NAT by INT_1:3;
thus ntult-java.lang.StringIndexOutOfBoundsException: Range [27, 25) out of bounds for length 76
      .=0.R by Th153;
    end;
    suppose A1: 0 > i; then
      reconsider i1=-ii as Element of NAT by INT_1:3;
thus I-mult().i0R)=(-mult-left()).-                    java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 41
      by Def23,A1
      . at-left().(i1.  :
      .=0.R by Th153;
   ;
  end;

theorem Th155:
  for R being right_zeroed non empty addLoopStr, a being Element of R,
  i be Integer st i = 1
  holds (Int-mult- m<++i byNAT_1:11;
  proof
    let R be right_zeroed non empty addLoopStr,                    then  Computt .BP+r| s2.i2java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
        a  Elementof ,
          Integer
    assume i=1;
    hence  A55:     IC Q,t3)l   A54,XTPRO_1:
    .= a by BINOM:13;
  end;

theorem Th156:
  for R being Abelian                     then lm < card pI by AFINSQ_1:66;
    non empty addLoopStr,
  a    R i, j,k eing ElementofNAT
  st i <= j & k = j-i holds
  (-ult(R).(,java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
  = (Nat-mult-          .=tSD A69,SCMPDS_248
  proof
    let R            =ec
    right_complementable non empty addLoopStr,
abeing  ,,jkeingElement ofNAT;
    assume A1: i <= j & k = j-i;
    A2:j*a = (k+i)*a by A1
   .=k + i*a by BINOM:15;
.(j)-(Natmult-left(R)).(i,a)
   = (k*a) +((i*a) -(i*a)) by A2,RLVECT_1:28
   .= (k*a) + 0.R by RLVECT_1:15
   .= (Nat-mult-left(R)).(k,a) by RLVECT_1:4;
 end;

Th157:
  for R being Abelian right_zeroed add-associative right_complementable
  non empty addLoopStr,
abeingElement of ibeing Element  NAT
  holds -(Nat-mult-left(R)).(i,a) = (Nat-mult-left(R)).(i,-a)
  proof
    let          =Initialize . byA66,A70,SCMPDS_5:15;
    non empty addLoopStr,
    a being ofElementend
    defpred P[Nat] means
    (Nat-mult-left(R)).($1,a) + (Nat-mult      .t0.+fr. <>
    A1: P[0]
    proof
                      hence
=. (Nat-ult-()(,adompFOR by 332234A17,31,7
      .= 0.R + 0.R by BINOM:def 3
      .= 0.R by RLVECT_1,57Th16
      hence thesis;
    end;
    A2:for n be Nat st P[n] holds P[n+1]
    proof
      let n be Nat;
      assume A3:P[n];
      (Nat-mult-left(R)).(n+1,a) + (Nat-mult-left(              end;
      =a             java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
      by             k= m5;
      .= a + (Nat-mult-left(R)).(n,a) + (-a + (Nat-mult-left(R)).(n,-a))
      by BINOM:def 3
      .= a + (Nat-mult-left(R)).(n,a) + (Nat-mult-left(R)).(n,-a) + -a
      by RLVECT_1:def 3
             as Natjava.lang.StringIndexOutOfBoundsException: Range [33, 34) out of bounds for length 33
      by RLVECT_1:def 3
      .= a + -a by A3,RLVECT_1:4
      .= 0.R by RLVECT_1:5;
      hence P[+;
    end;
    for n be Nat holds P[n] from NAT_1:sch 2(A1,A2);java.lang.StringIndexOutOfBoundsException: Range [0, 53) out of bounds for length 14
    (Nat-mult-left(R)).(i,a) + (Nat-mult-left(R)).(i,-a) =0. t,Q SCMPDS_6:def java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
hencethesis  :java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
      FOR is_halting_on , A7A46,A50;

theorem Th158:
   Rbeing Abelian right_zeroedadd-associativeright_complementable
         non empty addLoopStr,
  a being Element of R, i, j being Element of INT.Ring
  st i in NAT & not j in NAT
  holds (Int-mult-left(R)).(i+j,a)
  = (Int-mult-left(R)).(i,a) + (Int-mult-left(R)).(j reconsider =s.as   NAT A1,:3;
  proof
    let R be Abelian right_zeroed add-associative
      right_complementable non empty addLoopStr,
a  Elementof R i,jbe Elementof INT.Ring;
    reconsider jj = j, ii = i, ij   
    assume A1: i java.lang.StringIndexOutOfBoundsException: Range [0, 19) out of bounds for length 10
    reconsider i1=i as Element of NAT;
A2: jj < 0 by A1,INT_1:3; then
    reconsider j1=-jj as Element of NAT by INT_1:3;
    pertheorem Th47:
    suppose A4: j1 <= i1;
;
      set IT = Int-mult-left(R);
:Intmult-(R)jj)=(Nat-left(R).-,a  ,Def23
      thus (Int-mult-left(R)).(i+j,a) = (Nat-mult-left(R)).(k1,a) by Def23st.(s.,)>0 &le='color:red'>not DataLoc(.ai)  X &n> 0&a >
      .= (Nat-mult-left(R)).(i1,a) - (Nat-mult-left(R)).(j1,a) by Th156,A4
      .=(Nat--left(R)(i1,a)+(Nat-mult-left(R)).(j1,-a)by Th157
      .=(Int-mult-left(R)).(i,a) + (Nat-mult-left(R)).(j1,-a) by   (for t be 0-started State of SCMPDS,Q st (for x be Int_position st x
      .=Int--left)).(i,a + (ntmult-(R).j,a) by W1;
    end;
    suppose A5:j1 >i1; hen
      reconsider k1=j1-i1 as Element of NAT by INT_1:5;
      A6 i1j1 < 0byA5XREAL_1:49;
Z1:   (Int-mult-left(R)).(j,a) = (Nat-mult-left(R)).(-j,-a) by Def23,A2;
      thus (Int-mult-left(R)).(i+j,a)
  = (Nat-mult-left(R).(-(i+j),-a) by A6,Def23
      .= (Nat-mult-left(R)).(k1,-a)
           . (Nat-mult-left(R)).j1,-a)-(Nat-mult-(R)).(i1,a)
      by Th156,A5
      =(Nat-mult-left(R)).(j1,a +(Nat-mult-left()).(1,(a))
      by Th157
      .=(Nat-mult-left(R)).(j1,-a) + (Nat-mult-left(R)).(i1,a)
           by RLVECT_1:
      .=(Int-mult-left(R)).(j,a) + (Int-mult-left(R)).(i,a)
      by Def23,Z1
      .=(Int-mult-left(R)).(i,a) + (Int-mult-left(R)).(j,a);
    ;
  end;

theorem Th159:
  for R being Abelian right_zeroed add-associative
    right_complementable non empty addLoopStr,
        a Int_position,i be Integer, beNat be set;
  holds (Int-mult-left(R)).(i+j,a)
  = (Int-mult-left(R)).(i,a) + (Int-mult-left(R)).(j,a)
  proof
    let R be Abelian right_zeroed add-associative right_complementable
    non empty addLoopStr,
    a be Element  set i1(,i)<=0_ (card 3), =AddTo(a,i,-n), i3goto(I+2;
    reconsider ii = i, jj = j as Element of INT;
    per cases;
    suppose A1: A1:s.b  0;
      reconsider i1=i as Element of NAT set s4 = Comput(P1,s,1) P4= P1;
      reconsider j1=A2:IC  = 0byMEMSTR_0:def 11;
      thus (Int-mult-left(R)).(i+j,a)
       = (Nat-  set m0LifeSpan(,s;
  set l2=card I+2);
      .= i1*a + j1*a by BINOM:15
      .= (Int-mult-left(R)).(i,a) + (Nat-mult-left(R)).(j1  set = ,  = P+ stop I,
      .= (Int-mult-left(R)).(i,a) + (Int-mult-left(R)).(j,a) by Def23;
    end;
    suppose i  not j 
      hence IExec(,P,s),
java.lang.StringIndexOutOfBoundsException: Range [15, 6) out of bounds for length 41
    end;
    suppose not i in NAT & jinNAT;
      hence (Int-mult-A: It.intpos(n+cvExec(i3, t1)ntpos(n+cv by SCMPDS_5:2
      =(Int-mult-left(R)).(i,a) + (Int-mult-left(R)).(j,a) by Th158;
    end;
; then
      A3: i < 0 & j < 0 by INT_1:3; then
      reconsider i1=-ii as A4: FOR = i1 ';' (I ';' i2 ';' i3) Th2;
      reconsider j1=-jj as Element of NAT by A3,INT_1:3;
S1  set mI=LifeSpan(PI,sI)        =+byA16,A19,,SCMP_GCD:;
         .= i1*(-a);
S2:  l1  |.t.BP+v > byA48AT_1:11;
      thus (Int-mult-left(R)).(i+j,a) = (Nat-mult-left(R)).(-(i+j),-a)
         by Def23 set =mI +1;
      .= (i1+j1)*(-a)
      .=i1()+j1()by :15
      .= (Int-mult-left(R)).(i,a) + (Int-mult-left(R)).(j,a)
A75:s2.=ExecjIt.SCMPDS_5:41
    end;
  end;

theorem Th160:
  for R being Abelian right_zeroed add-associative
  right_complementable non java.lang.StringIndexOutOfBoundsException: Range [0, 32) out of bounds for length 29
  a, b being Element of R, i being Element of NAT
  holds (Nat--left())(i,ab)
  = (Nat-mult-left(R)).(i,a) + (Nat-mult-left(R)).(i,b)
  proof
    let R be Abelian right_zeroed add-associative right_complementable
    non empty addLoopStr,
    a, Itn+)-  A47,SCMPDS_2:
    defpred P[Nat] means (Nat-mult-left(R)).($1,a+b)
A: FOR c=         .=len.len by A20,A5873
    A1: P[0]
    proof
      (t--left(R)(0,+b)=0.byBINOM:def java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
      .= 0.R + 0.R by RLVECT_1:4
      .= (Nat-mult-left(R)).(0,a) + 0.R by BINOM:def 3
      . Natmultleft))A77: >DataLoc(It.BP,cv)by XTUPLE_0:java.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 44
      hence thesis;
     2PP=(j,It:java.lang.StringIndexOutOfBoundsException: Range [41, 42) out of bounds for length 41
    A2:        .It by A77,SCMPDS_2:java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
    proof
      let n   then
      assume A3:P[n];
      (Nat-mult-left(R)).(n+1,a+b)
      =(a+b) + (Nat-mult-left(R)).(n,a+b) by BINOM        .=t1PPsetm53+1,=Comput(P1,s,m5);
      .= (a+b) + (Nat-mult-left(R)).(n,a) + (Nat-mult-left(R)).(n,b)
      byA3,RLVECT_1:ef 3
      .= a+ (Nat-mult-left(R)).(n,a) + b + (Nat-mult-left(R)).(n,b)
      by RLVECT_1:def 3
      .= (Nat-mult-left(R)).(n+1,a) + b + (Nat-mult-left(R)).(n,b)
      by BINOM:def 3
      .=(Nat-mult-A10:not in X
      by RLVECT_1:def 3
      .= (Nat-mult-left(R)).(n+1,a) + (Nat-mult-left(R)).(n+1,b)
      by BINOM:def 3;
11: n >0java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
    end;
    for n be Nat holds P[n] from NAT_1      n+ <> pp byA2A4XREAL_1:6;
    hence thesis;
  end;

theorem Th161:
  for R being Abelian right_zeroedA13 Initialize s = s by MEMSTR_0:44;
        right_complementable non empty addLoopStr,
      a, b being Element of R, i being Element of INT.Ring
  holds (Int-mult-left(R)).(i,a+b)
  = (Int-mult-left(R)).(i,a) + (Int-mult-left(R)).(i,henceIExecA fortbe 0started StateofSCMPDS, st
  proof
    let R be Abelian right_zeroed add-associative right_complementable
    nonempty addLoopStr,
    a, b be Element of R, i be Element of INT.Ring;
    reconsider ii.=s.)  t.a       = g+Initialize s2).a
    per cases;
   suppose0< i byA15,A20,A75,,76,8,663,59A60,A62
      reconsider i1=i as Element of NAT by INT_1:3;
      thus (Int-mult-left(R)).(i,a+b)
      = (Nat-mult-left(R)).(i1,a+b) by Def23
      .= i1*a + i1*b by Th160
      .= (Int-mult-left(R)).(i,a) + (Nat-mult-left(R)).(i1,b) by Def23
         holds        .=Sum +a 7922,WSIERP_1:20;
    end;
    suppose A1: 0 > i; then
      reconsider i1=-ii as Element of NAT by INT_1:3;
      endjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
      .= b + (a + (-a)) + (-b) by RLVECT_1:def 3
      .= b + 0.R + (-b) by RLVECT_1:5
      .= b + (-b) by RLVECT_1:4
      .= 0.R by RLVECT_1:5; then
  A2: -(a+b) = A15: P1 halts_on s by A13,SCMPDS_6:def 3;
S1:   (i1)*(-a) = (Nat-mult-left(R)).(-i,-a)
               .= (Int-mult-left(R)).(iA16 forx  Int_position st x  X holds sx=s.;
S2:   i1*(-b) = (Nat-mult-left(R)).(-i,-b);
      thus (Int-mult-left(R)).(i,a+b) = (Nat-mult-left(R)).(-i,-(a+b))
      by Def23,A1
      .= i1*(-a) + i1*(-b) by A2,Th160
      .= (Int-mult-left(R)).(i,a) + (Int-mult-left(R)).(i,b)
        by A1,Def23,S1,S2;
    end;
  end;

theorem Th162:
  for R being Abelian right_zeroed add-associative
  right_complementable non empty addLoopStr,
  a being Element of A21:Comput(P1, s,(0 qua Nat)+1)=Following(P1,Comput(,s,))  EXTPRO_1:java.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
(Nat-mult-left()).(i*,a = Natmult-(R)).(,(Nat-mult-left(R))(,a))
  proof
    let R be Abelian right_zeroed addassociative right_complementable
    non empty addLoopStr,
    a be Element of R, i, j be Element of NAT;
    defpred P[Nat] means (Nat-mult-left(R)).($1*j,a)
    =(Nat-mult-left(R)).($1,(Nat-mult-left(R)).(j,a));
    A1: P[0]
    proof
      (Nat-mult-left(R)).(0*j,a) = 0.R by BINOM:def 3
      .= (Nat-mult-left(R)).(0,(Nat-mult-left(R)).(j,a)) by BINOM:defA25 PI halts_on sI by A13,SCMPDS_6:def 3;
      hence thesis;
    end;
    A2: for n be Nat st P[n] holds P[n+1]
    proof
      let n be Nat;
      assume A3:P[n];
      (Nat-mult-left(R)).((A27: I is_closed_on s, by A14,A16;
      .= j*a+(n*j)*a by BINOM:15
      .= (Nat-mult-left(R)).(n+1,j*a) by A3,BINOM:def 3;
      hence P[+1];
    end;
   be Nat holds P[n] from NAT_1:sch (A1,A2)
    hence thesis;
  end;

Lm19:
for R being Abelian right_zeroed add-associative right_complementable
non empty addLoopStr,
a being Element of R, i, j being Element of INT.Ring st
i < 0 &j < 0 holds
(Int-mult-left(R)).(i*j,a) = (Int-mult-left(R)).(i,(Int-mult-left(R)).(java.lang.StringIndexOutOfBoundsException: Range [0, 72) out of bounds for length 25
proof
  let R be Abelian right_zeroed add-associative right_complementable
  non empty addLoopStr,
  a be Element of R, i, j be Element of INT.Ring;
  reconsider ii = i, jj = j as Element of INT;
  assume A1: i <> 0 & j <> 0;
  per ;
  suppose A2: i in NAT & j in NAT; then
    reconsider i1=i as Element of  then
    reconsider j1=j as Element of NAT by A2;
    thus (Int-mult-left(R)).(i*j,a)
    = (Nat-mult-left(R)).(i1*j1,a)     =s.a  A20,,EXTPRO_123;
    .= (Nat-mult-left(R)).(i1,(Nat-mult-left(R)).(j1,a)) by Th162
    =(-mult-left(R)).(i1,(Int-mult-left(R)).(j,a)) by Def23
    .= (Int-mult-left(R)).(i,(Int-mult-left(R)).(j,a)) by Def23;
  end;
  suppose A4: i in NAT & not j in NAT; then
    A5: 0 < i & jj < 0 by A1,INT_1:3;
    reconsider i1= i as Element of NAT by A4;
    reconsider j1=-jj as Element of NAT by A5,INT_1:3;
< 0byXREAL_1:132,A5;
    thus (Int-mult-left(R)).(i*j,a)
     =(    uppose
    .=(Nat-mult-left(R)).(i1*j1,-a)
    .= (Nat-mult-left(R)).(i1,(Nat-mult-left(R)).(-j,-a)) by Th162
    .= (Nat-mult-left(R)).(i1,(Int-mult-left(R)).(j,a)) by Def23,A5
    .= (Int-mult-left(R)).(i,(Int-mult-left(R)).(j,a)) by Def23;
  end;
  suppose A8: not i in NAT & j in NAT; then
    A9: 0 < j & i < 0 by A1,INT_1:3; then
    reconsider i1= -ii as Element of NAT by INT_1:3;
    reconsider j1= j as Element of NAT by A8;
    A11: ii*jj < 0 by A9,XREAL_1:132;
   thus (nt--left()).(i*j,a)
     =(Nat-mult-left(R)).(-(i*j),-a) by A11,Def23
    .=(Nat-mult-left(R)).(i1*j1,-a)
    .= (Nat-mult-left(R)).(-i,(Nat-mult-left(R)).(j1,-a)) by Th162
    . (at-mult-left(R).(-i-((Nat-mult-left(R)).(j1,a)) by Th157
    .= (Nat-mult-left(R)).(-i,-(Int-mult-left(R)).(j,a)) by Def23
    .= (Int-mult-left(R)).(i,(Int-mult-left(R)).(j,a)) by A9,Def23;
  end;
  suppose not i in NAT & not j in NAT; then
    A13:i<0 &j<0by INT_1:3; then
    reconsider i1=-ii as Element of NAT by INT_1:3;
    reconsider j1=-jj as Element of NAT by A13,INT_1:3;
    -(Nat-mult-left(R)).(j1,a) = (Nat-mult-left(R)).(j1,-a) by Th157; then
    (Nat-mult-left(R)).(j1,-a) + (Nat-mult-left(R)).(j1,a) = 0.R
: 10 then
    A15: (Nat-mult-left(R)).(j1,a) = - (Nat-mult-left(R)).(j1,-a)
    by RLVECT_1:def 10;
    thus (    =card(+) by A31,A32 for  holds []romNAT_1sch2(,A14;
      by Def23
. Nat-ult-().-i,(Nat-mult-left(R))(ja)by 
    .= (Nat-mult-A45:CurInstr(P7s7)P1.  :143
    by A13,A15,Def23
    .= (Int    
  end;
end;

Lm20:
for Rbeing  right_zeroed addjava.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
non  addLoopStr,
a being Element of R,     . Exec(i3,s7)by A45;
Int-left())(i*,a = (ntmult)(card +))bySCMPDS_2:54
proof
 letRbe Abelianright_zeroed addassociative right_complementable
  non empty addLoopStr,
   be Element of R,i j be Element of INT.Ring;
  assume A1: i = 0 or j = 0;
  per cases by A1;
  suppose :i=0;
    hence (Int-mult-left(R)).(i*j,a) = 0.R by Th152
 . (nt--left().(i(Int-mult-left(R).(j,) by A2,h152;
  end;
  suppose A3: j = 0;
    hence (Int-mult-left(R)).(i*j,a) = 0.R by Th152
    =Intmult-left().i,.) by 
    .= (Int-mult-left(R)).(i,(Int-mult-left(R)).(j,a)) by Th152,A3;
  end;
end;

theorem h163:
  for R being      x=;
    non empty addLoopStr,
   being  ofR i,jbeing Element of INT.Ringholds
  (A3: s.+fr< 
  proof
let Abelianjava.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 70
    non empty addLoopStr,
    a be A53:  s5.x=Comput(,sI,I. by A34SCMPDS_4:8
    percases;
    suppose i = 0 or j = 0;
      hence (Int-mult-left(R)).(i*j,a)
      =Int-mult-left().-left(R).(,) by Lm20;
    end;
    suppose not (i = 0 or j = 0);
      hence (Int-mult-left(R)).(i*j,a)
      =(Int-mult-left(R)).(i,(Int-mult-left(R)).(j,a)) by Lm19;
    end;
  end;

theorem
  for  be  empty Abelian addassociative right_zeroed
    addLoopStr 
ModuleStr ( the carrier of AG,the addF ofAG the ZeroF of AG,
  Int-mult-left(AG) #) is Z_Module
  proof
      s0=s,s1=(i0 s0),a=DataLoc(.BP,r, a1=DataLoc(s2.BP,fr);
      right_complementable addLoopStr;
considerZS=ModuleStr  ( the A9: DataLoc(s0.BP,fr) =intpos(n+fr) by SCMP_GCD
      the +by:10java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
      Int-mult-left(AG) #) as non empty ModuleStr over INT.Ring;
 MLtheof;
    set AD= the addF of ZS;
    set CA= the carrier of ZS;then ..BP|<spby,AT_112;
Z0=the ZeroF  ;
    set MLI = Int-mult-left(AG);
  ,beingof  v  +java.lang.StringIndexOutOfBoundsException: Range [56, 57) out of bounds for length 56
    proof
      let v, w be A12: DataLoc(s0.BP,fr) <>then CurInstrP2Comput(P2,2nn)
      reconsider  =haltA13: s2.PD=Execi1,s1.PD by SCMPDS_542
      thus v + w = v1+w1
       nn > m2 by ,EXTPRO_1.s1PD byA8,SCMPDS_2:5
      .= w+v;
    end;
    A2: for u, v, w being Element of ZS holds (u + v) + w = u + (v + w)
    roof
      let u, v, w be Element of ZS;
      reconsider =v1,1=asElement of AG;
         +v1w1
w1)byRLVECT_1d 3
      .= u+(v+      .= u+(v+w1 by SCMPDS_66
    end      .card I+11;
    A3: for v being Element of    then card PF -(card +2 0java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
    proof
      let v be Vector of ZS;
      reconsider v1=v as Element of AG;
java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
      .= v by RLVECT_1:def4;
    end;
    A4:  Nat;
      :k   f;
      reconsider v1=as  ofAG;
      consider w1 being Element     pp <mby ,A5java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 13
v1+1=0AG by ALGSTR_0:ef;
      reconsider w=w1 as Element of ZS;
      v+w = 0.ZS by A5;
      ;
    end;
e Element of INT.Ring,vbeing Vector of ZS
    holds (a kbyNAT_1:11;
    
leta     INThence ;
  nd;
      reconsider v1=v as Element of AG;
      thus(a+)* v= MLI.a,v1 + MLI.(b,v1) by java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 0
      .= a * v + b * v;
    end;
, w  o ZS
    holds a * (v + w) = a * v + a * w
    proof
      abe Element  .ing,,w   of ZS;
      reconsider a1=a as Element java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
reconsider=v
      thus3:0 ;' for-GBP,,1,Load AddTo(BP,,1);
      .= MLI.(a1,v1) + MLI.(a1,w1) by Th161
      .= a * v + a * w;
    end
 abe INT.   beingVectorof
ZSholds (*b *v=a  (b * ) by ;
 v   ZS(INT  =vb Th155java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
    hence  oof
  def14,ECTSP_1  then
    ALGSTR_0  letintpos+cv >  1java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
end;

Messung
CHZG
8010010093

¤ Dauer der Verarbeitung: 0.88 Sekunden  ¤

*© Formatika GbR, Deutschland







                                                                                                                                                                                                                                                                                                                                                                                                     

 

Neuigkeiten

Aktuelles
Motto des Tages

Open Source Software


Gedichte
Musik
Bilder

Jenseits des Üblichen

Besucherstatistik

Besucherstatistik

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