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

Quelle  matrix15.miz   Sprache: Mizar

 

:: Solutions of Linear Equations
::  by Karol P\c{a}k
::
:: Received December 18, 2007
:: Copyright (c) 2007-2026 Association of Mizar Users
::           (Stowarzyszenie Uzytkownikow Mizara, Bialystok, Poland).
:: This code can be distributed under the GNU General Public Licence
:: version 3.0 or later, or the Creative Commons Attribution-ShareAlike
:: License version 3.0 or later, subject to the binding interpretation
:: detailed in file COPYING.interpretation.
:: See COPYING.GPL and COPYING.CC-BY-SA for the full text of these
:: licenses, or see http://www.gnu.org/licenses/gpl.html and
:: http://creativecommons.org/licenses/by-sa/3.0/.

environ

 vocabularies NUMBERS, NAT_1, VECTSP_1, VECTSP_2, FREEALG, FINSET_1,
      SUBSET_1, MATRIX_1, TREES_1, FINSEQ_1, RELAT_1, XXREAL_0, INCSP_1,
      FVSUM_1, CARD_3, RVSUM_1, GROUP_1, ARYTM_1, SUPINF_2, FUNCT_1,
      ARYTM_3, CARD_1, XBOOLE_0, ALGSTR_0, ORDINAL4, STRUCT_0, FINSEQ_2,
      TARSKI, RLVECT_1, PARTFUN1, VALUED_1, ZFMISC_1, CLASSES1,
      XCMPLX_0, MATRIX_3, MATRIX13, LAPLACE, PRVECT_1, RLVECT_3, LMOD_7,
      QC_LANG1, RLSUB_1, MESFUNC1, PRE_POLY, MATRIX11  set =BitGFA1Circx,y,)java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
      AFINSQ_1, FINSEQ_3, FUNCT_2, SETWISEO, FINSOP_1, RLVECT_2,
      RLVECT_5, FUNCOP_1, FUNCT_4, MATRIX_6, MATRIX15, NUMBER09,
      ORDINAL2, VALUED_0;
 notations  set S1 = GFA1AdderStr(,y,z);
      CARD_1, XCMPLX_0, ALGSTR_0, XXREAL_0, NAT_1, FINSET_1, RELAT_1,
      FUNCT_1, PARTFUN1, FUNCT_2, VALUED_0, SETWOP_2, FINSEQ_1, SEQM_3,
      STRUCT_0, FUNCOP_1, RLVECT_1, GROUP_1, GCD_1, VECTSP_1, FINSEQ_2,
      MATRIX_0, MATRIX_1, FVSUM_1, FINSOP_1, NAT_D, GROUP_4, MATRIX_3,
      MATRIX_6, MATRIX_7, FINSEQ_7, FUNCT_4, DOMAIN_1, MATRIX11,
      MEASURE6, VECTSP_4, VECTSP_6, VECTSP_7, VECTSP_9, PRVECT_1,
      MATRIX13, PRE_POLY, MATRLIN, FUNCT_7, PNPROC_1, java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 47
 constructors GCD_1, SETWISEO, FINSOP_1, ALGSTR_1, FVSUM_1, GROUP_4,
      FINSEQ_7, WELLORD2, VECTSP_6, VECTSP_7, VECTSP_9, MATRIX_6,
      MATRIX_7,MATRIX11,MATRIX13,PNPROC_1,REALSET1,LAPLACE,
      BINARITH, RELSET_1, MATRIX_3, VECTSP_2;
 registrations FUNCT_1, FINSET_1, STRUCT_0, FVSUM_1, VECTSP_1, VECTSP_2,
      ORDINAL1, XXREAL_0, NAT_1, FINSEQ_1, RELAT_1, CARD_1, FUNCOP_1,
      SETFAM_1, FINSEQ_2, MATRLIN, MATRIX13, XREAL_0, VECTSP_9,
      VALUED_0, RELSET_1, PRVECT_1, MATRIX_0, MATRIX_1, java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 51
 requirements ARITHM, NUMERALS, REAL, BOOLE, SUBSET;
 definitions TARSKI, XBOOLE_0, MATRIX_1;
 equalities XBOOLE_0, FINSEQ_1 FINSEQ_2 MATRIX_0,GROUP_4, MATRIX_3,
      VECTSP_4, RELAT_1, LAPLACE, MATRIX13, FVSUM_1, ALGSTR_0, ORDINAL1;
 expansions TARSKI, XBOOLE_0, FINSEQ_1, MATRIX_1;
java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 68
      FINSOP_1, FRECHET, FUNCT_1, FUNCT_2, FUNCT_7, FUNCOP_1, FVSUM_1,
_,  java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 63
      MATRIX_6, MATRIX_7, MATRIX11, MATRIX13, MATRIXR1, MATRIXR2,
      MATRLIN, NAT_1, ORDINAL1, PARTFUN1, RELAT_1then
      STRUCT_0, TARSKI, WELLORD2, VECTSP_1, VECTSP_4, VECTSP_6,
      VECTSP_7, VECTSP_9, XBOOLE_0, XBOOLE_1,
 NAT_DVALUED_1 ,
      SEQM_3;
 schemes FINSEQ_2, NAT_1, MATRIX_0;

begin :: Preliminaries

reserve x,y for set,
  i,j,k,l,m,n forset A2= (xyz);
  K for Field,
  N for without_zero finite Subset of NAT,
  a,b for Element of K,
  Areconsider s2 = s|the carrierof S2as State   by FACIRC_126;
  A9 for (Matrix of m,n,K),
  B9 for (Matrix of m,k,K);

theoremFollowing(s22 is by A2Th54;
  width A = len B implies (a*A) * B = a * (A*B)
proof
  set aA=a*A;
  set AB=A*B;
  set aAB=a*AB;
  assume
A1: width A=len B;
  then
A2: width AB=width B by MATRIX_3:defjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
A3:len AB=len AB by MATRIX_3def 5;
  then
A4: len aAB = len A by A1,MATRIX_3:def 4;
A5: width aA=width A by MATRIX_3:def 5;
  then
A6: len aA=len A & len aA=len (aA*B) by A1,MATRIX_3:def 4,def     = Following(s2,2+) by FACIRC_1:12;
A7: now
    let i,j;
    assume [i,j] in Indices aAB;
    then
A8:[i,]in AB by:8java.lang.StringIndexOutOfBoundsException: Range [39, 40) out of bounds for length 39
    then i in dom AB by ZFMISC_1:87
    then i in Seg len A by A3,A4,FINSEQ_1:def 3;
   then
A9: 1<=i & i<=len A by FINSEQ_1:1;
    dom AB = Seg len  nnerVertices S2 InputVerticesS2 by :79;
      .= dom (aA*B) by A3,A4,A6,FINSEQ_1:def 3;
    then
A10: [i,j] in Indices (aA*B) by A1,A5,A2,A8,MATRIX_3:def 4;
    thus aAB*(i,j) = a*(AB*(i,j)) by A8,MATRIX_3:def 5
      .= a*(Line(A,i)"*"Col(B,A7: Following(s1,2) = Following(t,2)|he carrier of S1 & Following(s1,3) =
      .= Sum(a*mlt(Line(A,i),Col(B,j))) by FVSUM_1:73
      .=   Following(,| carrierof   ,FACIRC_130;
      .= Line(aA,i)"*"Col(B,j) by A9,MATRIXR1:20
      .= (aA*B)*(i,j) by A1,A5,A10,MATRIX_3:def 4;
  end;
  width aAB=width AB & width B=width (aA*B) by A1,A5,MATRIX_3:def
  hence thesis by A2,A4,A6,A7,MATRIX_0:21;
end;

theorem Th2:
  1 then
proof
  set 1A=1KA
  set bA=b*A;
  set ab=a*b;
  set abA=ab*A;
A1: now
    let i,j such that
A2: [i,j] in Indices A;
A8: (, =
      .= 1A*(i,j) by A2,MATRIX_3:def 5;
  end;
A3: len(a*bA) = len bA by MATRIX_3:def 5
    .= len A by MATRIX_3:def 5
    .= len java.lang.StringIndexOutOfBoundsException: Range [69, 20) out of bounds for length 69
A4: now
A5: Indices bA=Indices A by MATRIXR1:18;
A6: Indices (a*bA)=Indices bA by MATRIXR1:18;
    let i,j such that
A7: [i,j] in Indices (a*bA);
    thus (a*bA)*(i,j) = a*(bA*(i,j)) by A7,A6,MATRIX_3:def 5
      .= a*(b*(A*(i,j))) by A7,A6,A5,MATRIX_3:def 5
      .= (a*b)*(A*(i,j)) by GROUP_1:def 3
      .= abA*(i,j) by A7,A6,A5,MATRIX_3:def 5;
  end;
A8: width(a*bA) = width bA by MATRIX_3:def 5
    .= width A by MATRIX_3:def 5
    .= width abA by MATRIX_3:def 5;
  len 1A=len A & width 1A=java.lang.StringIndexOutOfBoundsException: Range [0, 31) out of bounds for length 0
  hence thesis by A1,A3,A8,A4,MATRIX_0:21;
end;

Lm1: Indices A=Indices -A
proof
  dom A = Seg len A by FINSEQ_1:def 3
    .= Seg len (-A) by MATRIX_1:def 4
    .= dom (-A) by FINSEQ_1:def 3;
  hence thesis by ::                   +---O---*                  --->
end;

Lm2: a ::                   |  GFA  O---- -z             BitGFA2Str(x,y,z)
proof
  defpred P[Nat::                   | TYPE2 |
  assume
A1: a<>0.K;
A2: for k st P[k] holds P[k+1]
  proof
    let k;
    assume P[k];
    then
A3: power(K).(a,k) <> 0.K;
    let n;
    assume n=k+1;
    then power(K).(a,n)=power(K).(a,k) * a by GROUP_1:def 7;
    hence thesis by A1,A3,VECTSP_1:12;
  end;
A4:::=========================================================================
  proof
A5: 1_K<>0.K;
    let n;
    assume n=0;
    hence thesis by A5,GROUP_1:def 7;
  end;
  for k holds P[k] from NAT_1:sch 2(A4,A2);
  hence thesis;
end;

theorem Th3:
  for K be non empty addLoopStr, f,g,h,w be FinSequence of K st
  len f = len g & len h = len w holds (f^h) + (g^w)= (f+g) ^ (h+w)
proof
  let K be non empty addLoopStr, f,g,h,w be :: GFA2 Carry : Circuit Definition of Carry Output
A1: len f=len ::-------------------------------------------------
A2: len h = len w;
  set KK=the java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 0
reconsider =,= Element of( -KK A2,92java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
  reconsider F=func GFA2CarryIStr,yz)- unsplit 1aritygate2  
  reconsider FH=F^H,GW=G^W,Th36W=(F+G)^(H+W) as Tuple of len f+len java.lang.StringIndexOutOfBoundsException: Range [0, 68) out of bounds for length 40
  reconsider FH 1<x,y)+
              by FINSEQ_2:131;
  now
    let i such that
A3: i in Seg (len f+len h);
A4: i in dom FH by A3,FINSEQ_2:124;
    now1<*z*and2c)+ GateCircStr<*,*nor2;
      per cases by A4,FINSEQ_1:25;
      suppose
A5:     i in dom f;
A6:     rng f c= KK & rng g c= KK by RELAT_1:def 19;
A7:     dom (F+G)=Seg len f by FINSEQ_2:124;
A8:     f.i in rng f by A5,FUNCT_1:def 3;
A9:     dom F=Seg len f by FINSEQ_2:124;
A10:    dom G=Seg len f by FINSEQ_2:124;
        then g.i in rng g by A5,A9,FUNCT_1:def 3;
        then reconsider fi=f.i,gi=g.i as Element of K by A8,A6;
A11:    FH.i=fi by A5,FINSEQ_1:def 7;
        GW.i=gi by A5,A9,A10,FINSEQ_1:def 7;
        hence (FH+GW).i = fi+gi by A3,A11,FVSUM_1:18
          .= (F+G).i by A5,A9,FVSUM_1:18
          .= Th36W.i by A5,A9,A7,FINSEQ_1:def 7;
      end;
      suppose
        ex n st n in dom h & i=len f + n;
        then consider n such that
A12:    n in dom h and
A13:    i=len f + n;
A14:    h.n in rng h by A12,FUNCT_1:def 3;
A15:    rng h c= KK & rng w c= KK by RELAT_1:def 19;
A16:    dom H=Seg len h by FINSEQ_2:124;
A17:    dom W=Seg len h by FINSEQ_2:124;
        then w.n in rng w by A12,A16,FUNCT_1:def 3;
        then reconsider hn=h.n,wn=w.n as Element of K by A14,A15;
A18:    FH.i=hn by A12,A13,FINSEQ_1:def 7;
A19:    dom (H+W)=Seg len h & len (F+G)=len f by CARD_1:def 7,FINSEQ_2:124;
        GW.i=wn by A1,A12,A13,A16,A17,FINSEQ_1:def 7;
        hence (FH+GW).i = hn+wn by A3,A18,FVSUM_1:18
          .= (H+W).n by A12,A16,FVSUM_1:18
          .= Th36W.i by A12,A13,A16,A19,FINSEQ_1:def 7;
      end;
    end;
    hence (FH+GW).i=Th36W.i;
  end;
  hence thesis by FINSEQ_2:119;
end;

theorem Th4:
  for K be non empty multMagma, f,g be FinSequence of K,
  a be Element of K holds a * (f^g) = (a*f) ^ (a*g)
proof
  let K be non empty multMagma, f,g be FinSequence of K,a be Element of K;
  set KK=the carrier of K;
  reconsider F=f as Element of (len f)-tuples_on KK by FINSEQ_2:92;
  reconsider G=g as java.lang.StringIndexOutOfBoundsException: Range [0, 27) out of bounds for length 12
  reconsider
           by FINSEQ_2:131;
  now
    let i such that
A1java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
A2: i in dom FG by java.lang.StringIndexOutOfBoundsException: Range [0, 21) out of bounds for length 19
    now
      per cases by A2,FINSEQ_1:25;
      suppose
A3 i in dom f
A4:     rng f c= KK by RELAT_1:def 19;
        f.i in rng f by  GFA2CarryIStr(x,y,z equals
        then reconsider fi=f.i as Element of K by A4;
 domF=len by 124java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
A6+ 1GateCircuitz,x,java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
        FG.i=fi by A3,FINSEQ_1:defcoherencejava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
        hence (a*FG).i = a*fi by A1,FVSUM_1:51
          .= (a*F).i by A3,A5,FVSUM_1:51
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
      end;
      suppose
A7:     ex java.lang.StringIndexOutOfBoundsException: Range [0, 12) out of bounds for length 10
A8:     rng g c= KK by RELAT_1:def 19;
A9      a*=    (*=  by: ,FINSEQ_2124;
        consider n such that
A10:    n in dom g and
A11:    i=len f + n by A7;
        g.n in rng g by A10,FUNCT_1:def 3;
        then reconsider gn=g.n as Element of K by A8;
A12 domG=leng byFINSEQ_2:;
        FG.i=gn by A10,A11,FINSEQ_1:def 7;
        hence (a*FG).i = a*gn by A1,FVSUM_1:51
          . *). byA10A12:51
          .= aFaG.i by A10,A11,A12,A9,FINSEQ_1:def 7;
      end;
    endGFA2Ca(xy,z)+ 1GateCircStr<*
    hence (a*FG).i=aFaG.i;
  end;
  b FINSEQ_21;
end;

theorem Th5:
  for f be Function for p1,p2,f1,f2 be FinSequence st rng p1 c= dom f &
  rng p2 c= dom f & f1=f*p1 & f2=f*p2 holds f * (p1 ^ p2) java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 4
proof
fbe java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
x,z)equals
A1: rng p1 c= dom f and
A2: rng p2 c= dom f and
A3 =* and
A4: f2=f*p2;
A5: dom (p1^p2)=Seg (len p1+len p2) by FINSEQ_1:def 7;
  (p1^p2)  p1/ngp2by31;
  then
A6: dom (f*(p1^p2))=dom (p1^p2) by A1,A2,RELAT_1:27,java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 12
A7: dom f1=dom p1 by A1,A3,RELAT_1:27;
  then
A8: len f1=len p1 by FINSEQ_3:29;
A9: dom f2=dom p2 by A2,A4,RELAT_1:27;
  then len f2=len p2 by FINSEQ_3:29;
  then
A10: dom (f1^f2)=dom (f*(p1^p2)) by A6,A8,  let yz beset
  now
    let x be object such that
A11:  (x,y,)- Element of InnerVertices GFA2CarryStr(,y,zjava.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
    reconsider i=x as Element of NAT by A11;
    now
      per cases;
      suppose
A12:    i in dom p1;
        hence (f1^f2).i = f1.i by A7,FINSEQ_1:def 7
          .= fand2a][*z*,nd2c][*x*,or2]*>n;
          .= f.((p1^p2).i) by A12,FINSEQ_1:def 7
          . coherence
      end;
      suppose
        not i in dom p1;
        then consider n such that
A13:    n in dom p2 and
A14:    i=len p1 + n by A7,A9,A8,A11,FINSEQ_1:25;
        thus(^i= n byA9,8,A13A14FINSEQ_1def 7
          .= f.(p2.n) by A4,A9,A13,FUNCT_1:12
          .= f.((p1^p2).i) by A13,A14,FINSEQ_1:def 7
          .= (f*(p1^p2)).i byInnerVerticesGateCircStr<*<x,>,][*yz*and2c] <z>,nor2*
      end;
    end;
    hence (f1^f2).x = (f*(p1    ,nor3)byFACIRC_1:47;
  end;
  hence thesis by A10,FUNCT_1:2;
end;

theorem Th6:
  for f be natural-valued FinSequence st rng f is included_in_Seg &
  f is     hence thesis FACIRC_1:21;
proof
  java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 6
   f  natural-alued nst lenf=1&rng f c
Seg n & for i,j st i in dom f & j in dom f & i < j holds f.i < f.j holds
Sgm rng f = f;
A1: P[0]
  proof
    let f be natural-valued FinSequence,n such that
A2:: GFA2 Carry : Carrier, InnerVertices and InputVertices
    rng f c= Seg n and
    for i,j st i in dom f & j in dom f & i <::-------------------------------------------------------
    f={} by A2;
    hence thesis by FINSEQ_3:43;
  end;
A3: for n st P[n] holds P[n+1]
  proof
    let n such that
A4: P[n];
    set n1=n+1;
    let f be natural-valued FinSequence,k such that
A5: len f=n1 and
A6: rng f c= Seg k and
A8:   for x x,,z set holdsInnerVertices x,y,)  {
    set fn=f|n;
A9: f=fn^<*f.n1*> by A5,FINSEQ_3:55;
    then
A10: rng fn c= rng f by FINSEQ_1:29;
A11: dom fn c= domproof
A12: for i,j st i in dom fn & j in dom fn & i < j holds fn.i < fn.j
    proof
      let i,j such that
A13:  i   set f1 =and2a f2  and2c, f3=java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
:i <j;
      fn.i=f.i & fn.j=f.j by A9,A13,FINSEQ_1:def 7;
      hence thesis by A8,A11,A13,A14;
    end;
A15: lensetCyz= 1<*,>java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
A16: now
7    Seg n1 & dom f=n1 byA5,INSEQ_1,def3;
      let m9,n9 being Nat such that
  9  fn and
A19:  n9 in {f.n1};
      consider x being object such that
20:xin fn 
A21:  fn.x=m9 by A18,FUNCT_1:def 3;
      reconsider x as Element of NAT by A20;
A22:  f.=fn.xby A9,A20,INSEQ_1:def ;
      dom fn=Seg n by A15,FINSEQ_1:def 3;
      then x<=n by A20,FINSEQ_1:1;
      then x < n1 by NAT_1:13;
      then .  n  A8A11,A17java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
      hence m9 < n9 by A19,A21,A22,TARSKI:def 1;
    end;
A23: Sgm rng fn = fn by A4,A6,A15,A10,A12,XBOOLE_1:1;
A24: rng <*f.n1*>={f.n1} by FINSEQ_1:39;
    rng <*f.n1*> c= rng f by A9,FINSEQ_1:30;
    then
A25: {f.n1} c= Seg k by A6,A24;
     then
a25: {f.n1} is included_in_Seg;
A26: rng f = rng fn\/rng<*f.n1*> by A9,FINSEQ_1:31;
A27: f.n1 in {f.java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 11
    rng c  kby A6A;
    then rng fn is included_in_Seg;
    hence Sgm rng f = fn ^ Sgm {f.n1} by A26,A24,a25,A23,A16,FINSEQ_3:42
      .= f by A9,A25,A27,FINSEQ_3:44;
  end;
  let f . xy}/{yz}{zx :
A28: rng f is included_in_Seg;
     assume f    .= {xy, yz / zx} byENUMSET1:java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
     then
xxx: for i,j st i in dom f & j in dom f & i < j holds f.i < fhencejava.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
     by SEQM_3:def 1;
  for n holds P[n] from NAT_1:sch 2(A1,A3);
  then for g be natural-valued FinSequence,n st len g=len f & rng g c= Seg n &
  for i,j st i in dom g &  (yz  [
  Sgm rng g = g;
  hence thesis by A28,xxx;
end;

theorem Th7:
  for K be Abelian add-associative right_zeroed
  right_complementable non empty addLoopStr for p be FinSequenceproof
st i in dom p & j in dom p & i<>j & for k st k in dom p & k<>i & k<>j holds p.k
  =0.K holds Sum p = p/.i+p/.j
proof
  let K be Abelian add-associative right_zeroed right_complementable non
  addLoopStr
  let p be FinSequence of K;
A1: now
    let i,j such that
A2: i in dom p and
A3: j in dom p and
A4:ij 
A5: for k st k in dom p & k<>i & k<>j holds p.k=0.K;
A6:def 3;
    then i in NAT & 1 <= i by A2,FINSEQ_1:1;
    then
A7: i in Seg i;
    set pI=p|i;
    consider q be FinSequence such that
A8 p  ^qby FINSEQ_1:0;
    reconsider q as FinSequence of K by A8,FINSEQ_1:36;
 < len p by A2A,FINSEQ_1:;
    then
A10: len pI=i by FINSEQ_1:17;
A11: dom pI=Seg i by A9,FINSEQ_1:17;
    java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 42
    then consider ji be Nat such that
A12:ji  dom q and
A13: j=i + ji by A3,A8,A10,FINSEQ_1:25;
    now
      let k such that
A14  Cyz tolerates Czx + Cxyz)byCIRCCOMB:47;
A15:  k<>ji;
      reconsider kk=k as Element of NAT by ORDINAL1:def 12;
A16:  i+kk <> i+ji by A15;
      dom q = Seg len q by FINSEQ_1:def 3;
      then k >= 1 by A14,FINSEQ_1:1;
      k+ =1by :7java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
      then
A17:  i+kk<>i by NAT_1:13;
      thus q.k = p.(i+kk) by A8,A10,A14,FINSEQ_1:def 7
        .= 0.K by A5,A8,A10,A13,A14,A17,A16,FINSEQ_1:28;
    end;
    then
A18: Sum q = q.ji by A12,MATRIX_3:12
      .= p.j by A8,A10,A12,A13,FINSEQ_1:def 7
      .= p/.j by A3,PARTFUN1:def 6;
A19: Seg i c= Seg len p by A9,FINSEQ_1:5;
    now
      let k such that
A20:  k in dom pI and
A21:  k<>i;
      reconsider kk=k as Element of NAT by ORDINAL1:def 12;
A22:  k<>j by A4,A11,A20,FINSEQ_1:1;
      thus pI.k = p.kk by A8,A20,FINSEQ_1:def 7
        .= 0.K by A5,A6,A11,A19,A20,A21,A22;
    end;
    then Sum pI = pI.i by A7,A11,MATRIX_3:12
      .= p.i by A8,A7,A11,FINSEQ_1:def 7
      .= p/.i by A6,A7,A19,PARTFUN1:def 6;
    hence Sum p=p/.i+p/.j by A8,A18,RLVECT_1:41;
  end;
  let i,j such   let i,j such thatz by CIRCCOMB:7;
A23: i in dom p & j in dom p and
A24: i<>j and
A25: for k st k in dom p & k<>i & k<>j holds p.k=0.K;
A26: i<A3:InnerVertices Czx + )=InnerVertices Czx \InnerVertices Cxyzby
  for k st k in dom p & k<>j & k<>i holds p.k=0.K by A25;
  hence thesis by A1,A23,A25,A26;
end;

theorem Th8:
  i in Seg m implies Sgm (Seg (n+m)\Seg n).i=n+i
proof
  assume
A1: i in Seg m;
  reconsider N=n as Element of NAT by ORDINAL1:def 12;
  set I=idseq m;
2 dom I=Seg len Iby FINSEQ_1:def 3;
A3: dom (N Shift I) = {k+N where k is Nat: k in dom I} by VALUED_1:def 12;
A4 Seg (+m)Segn c= dom (N Shift I)
  proof
    let x be object such that
A5: x in Seg (n+m)\Seg n;
    reconsider i=x as Element of NAT by A5;
A6: i in Seg (n+m) by A5,XBOOLE_0:def 5;
    not iin Seg n by A5,:def 5;
    then
A7: i<1 or i>n;
    then reconsider IN=i-n as Element of NAT by A6,FINSEQ_1:1,NAT_1:CIRCCOMB:11
A8: n+IN=i;
    i<=n+m by A6,FINSEQ_1:1;
    then
A9: IN<=m by A8,XREAL_1:8;
    IN    .  Cxy \/InnerVerticesCyz /(nnerVertices Czx /
    then IN in dom I by A9;
    then n+IN in dom  InnerVertices  A2,3XBOOLE_1:4
    hence thesis;
  end;
dom (Shift  S(+)Seg n
  proof
    let x be object;
    (NShift I)
    then consider k be Nat such that
A10: k+n=x and
A11 k in dom IbyA3;
    k<=m by A11,FINSEQ_1:1;
    then
A12: n+k<=n+m by XREAL_1:7;
    1<=k by A11,FINSEQ_1:1;
    then
  by CIRCCOMB:2
    then n+k >n by NAT_1:13;
    then
A14: not k+n in Seg n by FINSEQ_1:1;
    1<=n+1 by NAT_1:11;
    then <=n+ by A13,XREAL_0:;
    then n+k in Seg (n+m) by A12;
        thesis byA10,14,def ;
  end;
  then Seg (n+m)\Seg n = dom (N Shift. x,yz /{x}\/InnerVertices Cxyz by ENUMSET1:java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
  hence     .{,yz, zx /{GFA2CarryOutput(xyz) CIRCCOMB:;
end;

theorem Th9:
  for Dend;
  without_zero finite Subset of NAT st [:Bx,By:] c= Indices A & [:Cx,Cy:] c=
Indices A for B be Matrix of card Bx,card Bytheorem Th75:
D st for i,j,bi,bj,ci,cj be Nat st [i,j] in [:Bx,By:]/\[:Cx,Cy:] & bi = Sgm Bx"
.i & bj = Sgm By".j & ci = Sgm Cx".i & cj = Sgm Cy".j holds B*(bi,bj) = C*(ci,
cj)   be Matrix oflen ,AD  SegmM,x,y)=B  SegmM,x,y  
& for i,j st [i,j] in Indices M\([:Bx,By:]\/sf1=and2a,f2   f3=nor2,f4 =
proof
  let D set =[*,*,]yz=[*, [<z,*,;
  let Bx,By,Cx,Cy be without_zero finite Subset of NAT such that
A1: [:Bx,By:] c= Indices A and
2 :,Cy Indices java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
set w=idth java.lang.StringIndexOutOfBoundsException: Range [16, 17) out of bounds for length 16
  set l=len A;
  set cy=card Cy  set Cxyz =1ateCircStr(<xy,yz,zx*,4;
  set cx=card Cx;
  set bY=card By;
  bx=ard Bx;
  let B be Matrix of bx,bY,D,C be Matrix of cx,cy,D   then InnerVertices Czx is Relation & InnerVertices (CxyInnerVertices Czx is Relation& InnerVertices (Cxy+  Relation
A3: for i,j,bi   338;
Sgm Bx".i & bj = Sgm By".j & ci = Sgm Cx".i then InnerVertices Cxyz isRelation  InnerVerticesx,y, 
  C*(ci,cj);
A5: lation FACIRC_13,38;
  defpred P[set,set,set] means for i,j st $1=i & $2=j holds ([i,j] in [:Bx,By
:] implies (ex  hence thesis FACIRC_1:;
  =j)& for m,n st m in dom Sgm Bx & n in dom Sgm By & Sgm Bx.m=i &end;
  holds $3=B*(m,n))& ([i,j] in [:Cx,Cy:] implies (ex m,n st m in dom ::-------------------------------------------------------
in dom Sgm Cy java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
Sgm Cy & Sgm Cx.m=i   for x,, being st < <*z>and2c]  < <*x*,
  Cx,Cy:] implies $3=A*(i,j));
nor2]  < <x,*,nd2a]   GFA2CarryIStr(,,z  {,,java.lang.StringIndexOutOfBoundsException: Range [78, 79) out of bounds for length 78
A8: dom Sgm By=Seg bY by FINSEQ_3:40;
prjava.lang.StringIndexOutOfBoundsException: Range [5, 6) out of bounds for length 5
A10: Sgm Bx is one-to-one by FINSEQ_3  let ,y,z be set;
A12: rng Sgm Cy=Cy by FINSEQ_1:def 14;
A13: Sgm Cy is one-to-one by FINSEQ_3 set f1 = ,f2 =and2c =nor2;
A15: rng Sgm Cx=Cx by FINSEQ_1:def 14;
A16: Sgm Cx is one-to-one by FINSEQ_3:92;
A17: for i,j st [i,j] in [:Seg l, Seg w:] ex  set xy =[*x,*, <*z*,],zx  <*x*f;
  proof
    let i,j such that
    i] in [Seg ,Seg w:java.lang.StringIndexOutOfBoundsException: Range [30, 31) out of bounds for length 30
     cases;
    suppose
A18:  [i,j] in [:Bx,By:] & [i,j] in [:Cx,Cy:];
      hen j  Cy byZ:87;
      then consider yC be object such that
A19:  yC in assume that
A20:  Sgm Cy.yC=j by A12,FUNCT_1:def 3;
      j in By by A18,ZFMISC_1:87;
      then consider y being object such  &z < ;
A21:  y in dom Sgm By and
 Sgm .j by A5,UNCT_1:ef ;
      i in Cx by A18,ZFMISC_1:87;
      then consider A4:not zx in{,yyz}by A2,Lm1;
A23:  xC in dom Sgm Cx and
A24:  Sgm Cx.xC=i by A15,FUNCT_1:def 3;
      i  Bx by A18,FMISC_187;
      then consider x being object such that
:x ind  Bx and
A26:  Sgm Bx.x=i by A7,FUNCT_1:def 3;
      reconsider x, as  of NATby A25,;
      take BB=B*(x,y);
A27 now
        let m,n;
        assume m in dom Sgm Cx  InnerVertices(Czx) \ (nputVertices(zx  Cxy + )by
        then
A28:    Sgm Cx".i=m CIRCCMB2:,CIRCCOMB:
A29:    Sgm By".j=y by A9,A21,A22,FUNCT_1:32;
        i,]in :Bx,By:]\:Cx,y:  Sgm Bx".x
          by A10,A18,A25,A26,FUNCT_1:32,XBOOLE_0:def 4;
        hence BB=C*(m,n) by A3,A29,A28;
      end;
      now
        let m,n such that
A30:    m in dom Sgm Bx and
A31:    n  InnerVertices(+*Cyz)by 5CIRCCOMB47
A32:    Sgm Bx.=iand
A33:    Sgm By.n=j;
        x=m by A10,A25,A26,A30,A32,FUNCT_1:def 4;
        hence BB=B*m,)by A9,21A22,A31,FUNCT_1:def 4java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
      end;
      hence thesis by A,A21,A,,A19,XBOOLE_0:def ;
    end;
    suppose
A34:  [i,j] in [:Bx,By:] & not [i,j] in [:Cx,Cy:]  Cxy)) \InnerVertices(Czx) /(InputVertices(Czx) \(InnerVertices(Cxy)\java.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
      then j in By by ZFMISC_1:87;
      hen consider y being object such that
A35:  y in dom Sgm By and
A36  SgmBy.=j by A5,FUNCT_1:def 3;
      i in Bx by A34,ZFMISC_1:87;
      then InnerVerticesCyz))by CIRCCOMB4
A37:  x in dom Sgm Bx and
A38:  Sgm Bx.x=i by A7,FUNCT_1:def 3;
      reconsider x,y as Element of NAT by A37,A35;
       BB=B*x,)java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
      now
        let m,
A39:    m in dom Sgm Bx and
A40:    n in dom Sgm By and
A41:    Sgm Bx.m=i and
A42:Sgm By.=j;
        x = m by A10,A37,A38,A39,A41,FUNCT_1:def 4;
        hence BB=B*(m,n) by A9,\/(nputVertices(Czx) \ ({xy} \/ InnerVertices(Cyz))) by CIRCCOMB:42
      end;
      hence thesis by A34,A37,A38,A35,A36,XBOOLE_0:def 3;
    end;
    suppose
A43:  not [i,j] in [:Bx,By:] & [i,j] in [:Cx,Cy:];
      then j inCyby 87
      then consider y being object such that
A44:  y in dom Sgm Cy and
A45  Sgm Cy.=jby A12,FUNCT_1:def 3;
      i in Cx by A43,ZFMISC_1:87;
      then consider x being object such that
A46:  x in dom Sgm Cx and
A47:  Sgm Cx.x=i by A15,FUNCT_1:def 3;
      reconsider x,y as Element of NAT by A46,A44;
           take CC=*xy;
      now
        let m,n such that
A48:    m in dom Sgm Cx and
A49:    n in dom Sgm Cy and
A50:    Sgm Cx.m=i and
A51:    Sgm Cy.n=j;
x= m byA16,46A47,A48,A50,FUNCT_1:ef ;
        hence CC=C*(m,n) by A13,A44,A45,A49,A51,FUNCT_1:def 4;
      end;
      hence thesis by A43,A46,A47,A44,A45,XBOOLE_0:def 3;
    end;
    suppose
A52:  not [i,j] in [:Bx,By:] & not [i,j] in [:Cx,Cy:];
      take A*(i,j);
      thus thesis by A52;
    nd;
  end;
  consider M be Matrix of l,w,D such that
A53: for i,j st [i,j] in Indices M holds P[i,j,M*    .(x \ yz} \ {x}\ {x  x,yz)byA3,57
  sch (;
  set MB=Segm(M,Bx,By);
 M;
  A is Matrix of l,w,D by MATRIX_0:51;
  then
A54 java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 40
dom byFINSEQ_340java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
  now
    let i,j such that
A56: [i,j] in Indices MB;
bx> by java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 29
    
A57: Indices MB=[:Seg bx,Seg bY:] by MATRIX_0:23;
    then
A58: j in Seg bY by A56,ZFMISC_1:87;
    then
A59: Sgm By.j in By by A5,A8,FUNCT_1:def 3;
A60: i in Seg bx by A56,A57,ZFMISC_1:87;
    then Sgm Bx.i in Bx by A7,A55,FUNCT_1:def 3;
    then [Sgm Bx.,Sgm By.j]in [:Bx,By:] by A59,ZFMISC_1:87;
    hence B*(i,j) = M*(Sgm Bx.i,Sgm By.j) by A1,A55,A8,A53,A54,A60,A58
      =MB(,j)by A56,MATRIX13:def 1;
  end;
  hence MB=B by MATRIX_0:27;
  set MC=Segm(M,Cx,Cy);
A61: dom Sgm Cy=Seg cy by FINSEQ_3:40;
java.lang.StringIndexOutOfBoundsException: Range [15, 3) out of bounds for length 38
  now
     ijsuch that
A63: [i,j] in Indices MC;
    cx<>0 by A63,java.lang.StringIndexOutOfBoundsException: Range [0, 25) out of bounds for length 15
    then
A64: Indices MC=[:Seg cx,Seg cy:] by MATRIX_0:23;
    then
A65: j in Seg cy by A63,ZFMISC_1:87;
    then
A66: Sgm Cy.j in Cy by A12,A61,FUNCT_1:def 3;
A67: i in Seg cx by A63,A64,ZFMISC_1:87;
    then Sgm Cx.i in Cxnor2]& z <> <*y*,and2a holds InputVertices GFA2CarryStr(x,y,z}
    then [Sgm Cx.i,Sgm Cy.j] in [:Cx,Cy:] by A66,ZFMISC_1:87;
    hence C*(i,j) = M*(Sgm Cx.i,Sgm Cy.j) by A2,A62,A61,A53,A54,A67,A65
      .= MC*(i,j) by A63,MATRIX13:def 1;
  end;
  enceMC=Cby MATRIX_0:27;
  let i,j such that
A68: [i,j] in Indices M\([:Bx,By:]\/[set xy =[*,y*,f1] yz=[*y,z*>f2], zx=[*,x*>,f3;
  not [i,j] in [:Bx,By:  set xyz = <*y,yz,zx*>,4];
  hence thesis by A53,A68;
end;

theorem Th10:
  for P,Q,Q9 be without_zero finite Subset of NAT st [:P,Q9:] c=
Indices A for i  set  =GFA2CarryIStr(x,y,);
c= Q9 & Line(A,i) * Sgm Q9 = card Q9 |-> 0.K holds the_rank_of A > the_rank_of
  Segm(A,P,Q)
proof
  let P,Q,R be without_zero finite Subset of NAT such that
A1: [:P,R:] c= Indices A;
  let i,j such that
A2: i in dom A \ P and
A3
A4: A*(i,j)<> 0.K and
A5: Q c= R and
A6: Line(A,i) * Sgm R = card R |-> 0.K;
A7 len  by :def 3;
  then
A8: i in Seg len AA3:InnerVertices  xyz}& {x,y z} \ {xyz}={x, y,z} by Lm2,CIRCCOMB:42;
A9: [:P,Q:] c= [:P,R:] by A5,ZFMISC_1:95;
  then
A10: [:P,Q:] c= Indices A by A1;
  reconsider i0=i,j0  thus InputVertices GFA2CarryStr(x,y,z  ((InputVertices MI) \ InnerVertices
A11: j in Seg width A by A3,XBOOLE_0:def 5;
  set S=Segm(A,P,Q);
  consider P9,Q9 be without_zero finite Subset of NAT such that
A12: [:P9,Q9:}.= {xy,z} \/({xy,yz zx}\InnerVerticesMI)by A1,A2,A3,Th76
A13: card P9 = card Q9 and
A14:P9  the_rank_of S and
A15: Det EqSegm(S,P9,Q9)<>0.K by MATRIX13:def 4;
  P9={} iff Q9={} by A13;
  thenjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
A16: P2 c= P and
A17: Q2 c= Q and
  =Sgm. and
  Q2=Sgm Q.:Q9 and
A18: card P2=is without_pairs
A19: card Q2=card Q9 and
A20: Segm(S,P9,Q9) = Segm(A,P2,Q2) by A12,java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 28
  setQ2j=2/j0}
  set P2i=P2\/{i0};
  setset  =<x,>f1],yz =[<y,z*f2,zx  <*x>,f3]
  set SS=Segm(A,P2i,Q2j);
per cases;
  suppose
    [:P,Q:] ={};
    then cardP  Q=0by CARD_1::90;
    then
A21: the_rank_of S=0 by MATRIX13:77;
    [i,j] in Indices A by A7,A8,A11,ZFMISC_1:87;
    hence thesis by A4,A21,MATRIX13:94;
  end;
  uppose
A22: [:P,Q:]<>{};
    then P c= dom A by A10,ZFMISC_1:114;
    then
A23:P2 c= dom A byA16;
    [:P,R:]<>{} by A9,A22,XBOOLE_1:3;
    then
A24: R c= Seg width A by A1,ZFMISC_1:114;
A25: dom Sgm R=Seg card R by FINSEQ_3:40;
    Q A1:xx in  M;
    then
A26: Q2 c= Seg width A by A17;
A27:{j0 Seg widthA by A11,ZFMISC_1:;
A28: Sgm Q2j is one-to-one by FINSEQ_3:92;
A29: Q2j c= Seg width A by A26,A27,XBOOLE_1:8;
A30: rng Sgm Q2j=Q2j by FINSEQ_1:def 14;
     {i0  InnerVertices Cxy= {xy &InnerVertices Cyz = {yz} by CIRCCOMB:42;
    then P2i c= dom A by A23,XBOOLE_1:8;
    then
A33: [:P2i,Q2j:] c= Indices A by A29,ZFMISC_1:96;
A34: dom Sgm P2i=Seg card P2i by FINSEQ_3:40;
    in{}byTARSKId1
    then
A35: i in java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 6
A36: java.lang.StringIndexOutOfBoundsException: Range [4, 1) out of bounds for length 37
    then
A37: card P2i=card P2+1 by  x,yz, zx :;
    then
A38: card P2i-'1=card P9 by A18,NAT_D:34  then
A39: not j in Q2 by A3,A17,A5: InputVertices S \ InnerVertices MI = {} by A4,XBOOLE_1:37;
    then
:= 1;
    then
A41: ESS = SS by A13,A18,A19,A36,CARD_2:41,MATRIX13by FACIRC_141;
    j in {j} by TARSKI:def 1;
    then j in Q2j by XBOOLE_0:def 3;
    then java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 33
A42: y in dom Sgm Q2j and
3 yjby A30,FUNCT_1def ;
    rng Sgm P2i=P2i by FINSEQ_1:def 14;
    then consider x being object such that
A44: x in dom Sgm P2i and
A45: Sgm P2i.x=i by A35,FUNCT_1: = InputVerticesMI /(java.lang.StringIndexOutOfBoundsException: Range [57, 56) out of bounds for length 74
    reconsider x,y as Element of NAT by A44,A42;
    -1_K<>0.K by VECTSP_1:28;
    then
A46: power(K).(-1_K,x+y)<>0.K by Lm2;
    set L=LaplaceExpL(ESS,x);
A47: dom L = Seg len L by FINSEQ_1:def 3
      .= Seg card P2i by LAPLACE:def 7;
    arrier and misc.
A48: y in dom L by A13,A18,A19,A37,A40,A42,FINSEQ_3:40;
A49: dom Sgm Q2j=Seg card Q2j by FINSEQ_3:40;
    then Delete(ESStheorem Th79:
,A44,A45,A42,A43,MATRIX13:64
      .= EqSegm(A,P2,Q2j\{j}) by A36,ZFMISC_1:117
      .=   for x,y,z bei  holds xintheof ,,z
      .= Segm(A,P2,Q2)&y n carrierofxyz   injava.lang.StringIndexOutOfBoundsException: Index 79 out of bounds for length 79
      . (SP9,Q9)by ,A20MATRIX13:def3
    then
A50: power(K).(-1_]in he carrierof (x,yz  <*x*nor2] inthecarrier of
A51: Indices ESS = [:Seg card P2i,Seg cardGFA2CarryStr(x,yz  <**xy*and2a][*y,*,nd2c],[*x*nor2]*,or3
    then
A52: [x,y] in Indices ESS by A13,A18,A19,A37  ] in the carrier of GFA2CarryStr(x,y,z)
A53: rng Sgm R=R by FINSEQ_1:def 14;
    now
      let k such that
A54:  k in dom L and
A55:  k <> y;
sf1  and2a,f2 =and2c,    f4  nor3
FUNCT_1:def 4;
      then
A56:  not Sgm.  { by :def ;
      Sgm Q2j.k in Q2j by A13,A18,A19,A37,A40,A30,A49,A47,A54,FUNCT_1:def 3;
      then Sgm Q2j.k in Q2 by A56,XBOOLE_0:def 3;
      then
A57  k inQ java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 28
      then
A58:  Sgm Q2j.k in R by A5;
      consider zbeing  suchthat
A59:  z in dom Sgm R and
A60:  Sgm  set =1GateCircStr(*, yz,zx*,f4;
      reconsider z as Element of NAT by A59;
      [  set p  *,yz,zx>
      then ESS*(x,k) = A*(i,Sgm Q2j.k) by A45,A41,MATRIX13:def 1
        .= Line(A,i).(Sgm R.z) by A24,A60,A58,MATRIX_0:def 7
          =( R |>0K. by A6,A59FUNCT_113
        .= 0.K by A25,A59,FINSEQ_2:57;
      hence L.k = 0.K*Cofactor(ESS,x,k) by A54y :20;
        .= 0.K;
    end;
    then
A61: L.y = Sum L by A48,MATRIX_3:12
      .= Det ESS by A34,A44,LAPLACE:25;
    L.A2  inthecarrierofGFA2CarryIStrxyz :;
      .= A*(i,j)*(power(K).(-1_K,x+y)*Det Delete(ESS,x,y)) by java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 41
MATRIX13:def 1;
    then Det ESS<>0.K by A4,A61,A50,VECTSP_1:12;
13,A,,MATRIX13def ;
    hence thesis by A14,A18,A37,NAT_1:13;
  end;
end;

theorem Th11:
  for N st NTd ;
  width A |-> 0.K holds the_rank_of A=the_rank_of Segm(A,N,Seg width A)
proof
  let N such that
A1: N c= dom A and
A2: for i st i in (dom A) \ N holds Line(A,i) = width A |-> 0.K;
  set wwidth A;
  set l=len A;
  reconsider A9=A as Matrix of len A,width A,K    in carrierof  +   
  set S=then
  consider U be finite Subset of w-VectSp_over K such that
A3: U is linearly-ndependent and
A4: U c= lines A9 and
A5: card U = the_rank_of A9 by MATRIX13:123;
A6: U c= lines S
  proofthen xyin thecarrierof+CyzbyFACIRC_120
    let x be object such   then
A7: x in U;
    consider A6in the carrierof GFA2CarryIStr(x,yz  FACIRC_120java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
A8: Ni in Seg l and
A9: x = Line(A9,Ni) by A4,A7,MATRIX13:103;
A10:dom =Seg  byby FINSEQ_1def ;
A11: Ni in N
    proof
      assume not Ni in N;
      then Ni in dom A\N by A8,A10,XBOOLE_0:def 5;
      then x = w |-> 0.K by end;
        .= 0.(w-VectSp_over K) by MATRIX13:102;
      hence thesis by A3,A7,VECTSP_7:2;
    end;
    rng Sgm N=N by FINSEQ_1:def 14;
    then consider i 
A12: i in dom Sgm N and
A13:Sgm .Niby 11FUNCT_1:def ;
    reconsider i as Element of NAT by A12;
A14: dom Sgm N=Seg*z,*,nor2]   GFA2CarryStrx,z  GFA2CarryOutput(xyz)in
    then Line(S,i) = x by A9,A12,A13,MATRIX13:48;
    hence thesis by A12,A14,MATRIX13:103;
  end;
A15: now
    let W be finite Subset of w-VectSp_over K such that
A16: W is linearly-independent and
A17: W c= lines S;
    dom A=Seg l by FINSEQ_1:def 3;
henlines Sc=lines A9byA1,MATRIX13118
    then W c= lines A9 by A17;
    hence card W <=the_rank_ofA9 by A16MATRIX13123java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
  end;
  w=card Seg w by. xy,,zxzx,GFA2CarryOutputx,,) by ENUMSET16
  hence thesis by A3,A5,A6,A15,MATRIX13:123;
java.lang.StringIndexOutOfBoundsException: Range [14, 3) out of bounds for length 4

theorem Th12:
  for N st N c= Seg width A & for i st i in Seg java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 0
Colorem Th81:
proof
  let N such that
A1 N c= Seg  and
A2: for i st i in Seg width A \ N holds Col(A,nor2  z< <*y*and2a holds xin nputVerticesGFA2CarryStr(x,,)& y
A3:   (,,)&z in InputVertices GFA2CarryStr(,yz)
  per cases;
  suppose
A4: card N=0;
    the_rank_of A = 0
    proof
A5:   N={} by A4;
  le ,,zbejava.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 19
     then consideri,jsuch that
A6:   [i,j] in Indices A and
A7:   A*(i,j) <> 0.K by  thesis by :def 1;
A8:   end;
A9:   i in dom A by A6,ZFMISC_1:87;
      then 0.K = (len A|-> 0.Kjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
.=Aj.,,A5
        .= A*(i,j) by A9,MATRIX_0:def 8;
      henceby
    end;
    hence thesis by A4,MATRIX13:77;
  end;
  suppose
 N>;
    then N <> {};
    then   setCxy  GateCircStr<*,*,1;
    then
A11: widthCyz=1java.lang.StringIndexOutOfBoundsException: Range [26, 24) out of bounds for length 37
    then
A12: len A<>0 by MATRIX_0:def 3;
    set AT=A@;
A13: [:dom A,N:] c= Indices A by A1,ZFMISC_1:95;
A14: width AT=len A by A11,MATRIX_0:54;
A15:len AT=width A by A11,MATRIX_0:54;
    then
A16: N c= dom AT by A1,FINSEQ_1:def 3;
A17: dom AT=Seg len AT by FINSEQ_1:def 3;
A18: now
      et i suchthat
A19:  i in dom AT \ N;
      i inA2:InputVertices Czx={,}by FACIRC_1:;
      hence Line(AT,i) = Col(A,i) by A15,A17,MATRIX_0:59
        .= width AT |-> 0.K by A2,A3: InputVertices S={xy yz, }  :42java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
    end;
    thus the_rank_of A = the_rank_of AT by MATRIX13:84
      .= the_rank_of Segm(AT, N,Seg len A) by A14,A16,A18,Th11
      = the_rank_of ((A,Seglen AN@ byA,,A12A,:61
      .= the_rank_of Segm(A,Seg len A,NCyz CIRCCOMB:47;
  end;
end;

theorem Th13:
  for VA6:   {}&InnerVertices+ Cyz)={xy}\ yz  A5
Vector of V,a st u in U & v in U holds Lin (U \ {u} \/ {u+a*vC:1142
  Lin U
proof
  let V be VectSp of K;
  let U be finite Subset of V;
  let u, v be Vector  thenInnerVertices MI = {xy} \/ {yz} \/ {zx} by A6,CIRCCOMB:11
A1: u in U & v in U;
  set ua=u+a*v;
  set UU=U\{u};
  UU \/ {ua} c= the carrier of Lin U
  proof
    let x be object such that
A2: x in UU \/ {ua};
    per cases by A7:InputVertices S \InnerVerticesMI  } A3XBOOLE_137;
    suppose
           UUjava.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
      then x in U by XBOOLE_0:def 5;
      then x in Lin U by VECTSP_7:8;
      hence thesis by STRUCT_0:def 5;
    end;
    suppose
A3:   x in {ua};
A4:   u in Lin U & a*v in Lin U by A1,VECTSP_4:21,then InputVertices MI is without_pairs by FACIRC_1:9
      x=ua by A3,TARSKI:  then
      then x in Lin U by A4,VECTSP_4:20;
      hence thesisby STRUCT_0:ef5;
    end;
  end;
  hence thesis by VECTSP_9:16;
end;

theorem Th14:
  for V be VectSp of K for U be  InputVertices M = (InputVertices(Cxy+*Cyz)) \/ InputVertices Czx by A9,A6,A7,
Vector of V,a st u in U & v in U & (u = v java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 10
  Lin (  u /{+a*})=Lin U
proof
  let V be VectSp of K;
  let U be finite Subset of V;
   u vbe VectorV,suchthat
A1: u.= y,yxz \{,}by67
A2: v in U and
< 1_Kor u= V;
  set ua=u+a*v;
  et UUU{}
  U c= the carrier of Lin (UU\/{ua})
  
    let x be object such that
A4: x in U;
    per cases;
    suppose
A5:   x=u;
      per cases;
      suppose
A6:u>;
A7:     ua+(-a)*v = ua-a*v by VECTSP_1:21
          .= u+(a*v-a*v) by RLVECT_1:def 3
          .= u+0.V by VECTSP_1:16
          .;
        ua in {ua} by TARSKI:def 1;
        then ua in UU\/{ua} by XBOOLE_0:def 3;
        then
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
        v in UU by A2,::----------------------------------------------------
        then v in UU\/{ua} by XBOOLE_0:def 3;
        then (-a)*v in Lin(UU\/{ua}) by VECTSP_4:21,VECTSP_7:8;
        then ua+(-a)*v in Lin(java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 13
        for x,y,z being  sState  (,yzjava.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
      end;
      uppose
A9:     u=v;
        per cases by A3,A9;
java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 15
          a<>-1_K;
          then_-a  VECTSP_1:19;
          then 0.K<> -(-1_K-a) java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
          then
 0K<>a+_by VECTSP_131
          ua in {ua} by TARSKI:def 1;
          then
A11:      ua in UU\/sxy=[<*,*f1]  = [<*,z*,f2] =[*,x*f3];
          ua = 1_K*u+a*u by A9
            .= (1.K+a)*u by VECTSP_1:def 15;
          then (1.K+a)" *ua =u by A10,VECTSP_1:20;
          then u in LinA3:a3  z;
          hence thesis by A5,STRUCT_0:def  setS=GFA2CarryStr(x,yz;
        A4 InnerVerticesS =the 'of S by :37;
        suppose
          u=0.V;
          then x in Lin(UU\/{ua}) by A5,A6:x carrierof S by h79;
          hence thesis by STRUCT_0:def 5;
        end;
      
    end;
    uppose
      x<>u;
      thenx inUU byA4,:;
      then x in UU\/{ua} by XBOOLE_0:def 3;
      then x in Lin (UU\/{ua}) by VECTSP_7:8;
      hence thesis by STRUCT_0:def 5;
    end;
  end;
  LinU isSubspaceofLin(/ua})by ECTSP_9:6;
  then
A12: the carrier of Lin U c=the carrier of Lin (UU\/{ua}) by VECTSP_4:def 2;
  Lin (UU\/{ua}) is Subspace of Lin U by A1,A2,Th13;
  then the carrier of Lin (UU\/{ua})c= the carrier of Lin U by VECTSP_4:def    = f2<a3*  A2,A5A8,125
    .a2 '''  ;
  hence thesis by VECTSP_4:29;
end;

begin:: Selected properties of the operator ^^

definition
  let D be non empty set;
  ,be Nat
  let A be Matrix of n,m,D;
  let B be Matrix of n,k,D;
  redefine func A^^B -> Matrix of n,width A+width B,D;
  coherence
  proof
    reconsider N=n as Element of NAT by ORDINAL1:def 12;
    theorem :
A1: dom B = Seg len B by FINSEQ_1:def 3
      =Seg n by MATRIX_0:def 2java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
    dom*,and2c= .<*,x>nor2 ( s.x,,z) =
      .= Seg n by MATRIX_0:def 2;
    then
A2: dom AB = Seg n/\Seg n by A1,PRE_POLY:def 4
      .= Seg n;
    then
A3: len AB=N by FINSEQ_1:def 3;
    per cases;
    suppose
A4:   N=0;
      then AB={} by   let s be State of GFA  beState GFA2CarryCircx,z;
      hence thesis by A4,MATRIX_0:13;
    end;
    suppose
A5:   N>0;
      then
A6:   N in Seg N by FINSEQ_1:3;
      then A.N=Line(A,N) & B.N=java.lang.StringIndexOutOfBoundsException: Range [30, 35) out of bounds for length 30
      then
A7:   AB.N=Line(A,N)^Line(B,N) by A2,A6,PRE_POLY:def 4;
A8:   len (Line(A,N)^Line(B,N))=width A+width B by CARD_1:def 7;
      AB.N in rng AB by A2,A6,FUNCT_1:def 3;
      then width AB=width A+widthhence Following s).(,y,  .s<xy,yz,zx*)by
      hence thesis by A3,MATRIX_0:51;
    end;
  end;
nd;

theorem Th15:
  for D be non    .'ot'('''r  Td 
  ,D for i st i in Seg n holds Line;
proof
  letjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  set AB=A^^B;
A1: len n  AB=Seg lenAB by FINSEQ_1def3,def2;
  let i such that
A2: i inSeg ;
  Line(A,i)=A.i & Line(B,i)=B.i by A2,MATRIX_0:52;
  hence Line(A,i)^Line(B,i) = AB.i by A2,A1,PRE_POLY:def 4
    .= Line(AB,i) by A2,MATRIX_0:52;
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4

theorem Th16:
  for    empty set,A be Matrix of n,,D, B be Matrix of n,k
  ,D for i st i in Seg width A holds Col(A^^B,i) = Col(A,i)
proof
  let D be non empty set, A be Matrix of n,m,D, B be Matrix of n,k,D;
  let i such that
A1: i in Seg  A;
  set AB=A^^B;
A2: len AB=n by MATRIX_0:def 2;
A3: len A=n by MATRIX_0:def 2;
  now
    let j such that
A4: j in Seg n;
    n<>0 by A4;
     width AB=width +idth Bby MATRIX_0:;
    then width A<=width AB by NAT_1:11;
    then
A5: Seg width A c= Seg width AB by FINSEQ_1:5;
A6: dom A=Seg n by A3,FINSEQ_1:def 3;
A7: dom Line  reconsider   ,y9 =y,z9    Vertexof Sby ;
    dom AB=Seg n by A2,FINSEQ_1:def 3;
    hence Col(AB,i).j = AB*(j,i) by A4,MATRIX_0:def 8
      .= Line(AB y inInputVerticesSA1Th81;
      .= (Line(A,j)^Line(B,j)).i by A4,Th15
        then
      .= A*(j,i) by A1,MATRIX_0:def 7
      .= Col(A2 (Following s).9  s. byCIRCUIT2:def 5;
  end;
  hence thesis by A3,A2,FINSEQ_2:119;
end  SbyA1,java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 34

theorem Th17:
  for D be non empty set, A beMatrix ofn,,DD,B be  of n,k
  ,D for i st i in Seg width B holds Col(A^^B,width A+i) = Col(B,i)
roof
  let D be non empty set, A be Matrix of n,m,D, B be Matrix of n,k,D;
  let i such that
leta1,a2,a3 be of  suchthat
  set AB=A^^B;
  ABn byMATRIX_0def ;
A3: len B=n by MATRIX_0:def 2;
  now
A4: dom B=Seg n by A3,FINSEQ_1A6:(Following s)zx='not' a3 '''not'a1 by A5,h83;
    let j such that
A5: j in Seg n;
    n<>0 by A5;
    then width AB=width A+width B by MATRIX_0:23;
    then
A6: width A+i in Seg width
A7: dom Line(B,j)=Seg width B & len Line(A,j)=width A by CARD_1:def 7
,FINSEQ_2 '& 'not'a3)'or ' a3 '&' 'not' a1)by ,,;
    dom AB=Seg n by A2,FINSEQ_1x inInputVerticesS by A1Th81
    hence Col(AB,width A+i  then Following s).x9 = s.x by CIRCUIT2:def 5;
      .= Line(AB,j).(width A+i) by A6,MATRIX_0:def 7
      .= (Line(A,j)^Line(B,j)).(width A+i) by A5,Th15
      .= Line(B,j).i by A1
      .= B*(j,i) by A1,MATRIX_0:def 7
      .= Col(B,i).j by A5,A4,MATRIX_0:def 8;
  end;
  hence thesis by A3,A2,FINSEQ_2:119;
end;

theorem Th18:
  for D be non empty set, A be Matrix of n,m,D, B be Matrix of n,k
  ,D for pA,pB be FinSequence of D st len pA = width A & len pB = java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 40
  ReplaceLinez*f2]  y < <*x*,3 & z< <*,y*,;
proof
  let D be non empty set, A be Matrix of n,m,D, B be Matrix of n,k,D;
  let pA,pB be FinSequence  reconsider xx =x yy =y,zz =zas Vertex of S by java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
A1: len pA = width A and
A2: len pB = width B;
  set RB=RLine(B,i,pB);
  RA,p)
  set AB=A^^B;
  set RAB=RLine(AB,i,pA^pB)=[*z>f2] =<x*,3]
  set Rab=RA^^RB;

    pA is Element of (width A)-tuples_on D & pB is Element of (width B)
    -tuples_on D by A1,A2,FINSEQ_2:92;
    then pA^pB is Tuple of width A+width B, D;
    then pA^java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 6
    then
A4: len (pA^pB)=width A+width B by CARD_1:def 7;
    let j such that
A5: 1<=j & j<  (s).=a2 by CIRCUIT2:def 5;
A6: j in Seg n by A5;
A7: width AB=width A+width B by A5,MATRIX_0:23;
A8: now
      A6:ffs.=a2 by A2A5,CIRCUIT2def 5
      suppose
A9     ij;
        then
A10:      java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 46
        Linethen
        hence Line(RAB,j)=Line(Rab,j) by A6,A10,Th15;
      end;
      suppose
A11:    i<>j;
        then
A12:    Line(RB,j)=Line(B,j) by A6,MATRIX11:28;
        Line(RAB,j)=Line(AB,j) & Line(RA,j)=Line(A,j) by A6,A11,MATRIX11:28;
        hence Line(RAB,j) = Line(RA,j)^Line(RB,j)java.lang.StringIndexOutOfBoundsException: Range [0, 50) out of bounds for length 11
          .= Line(Rab,j) by A6,Th15;
      java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
    end;
    thus RAB.j = Line(RAB,j) by
      .= Rab.j by A6,A8,MATRIX_0:52;
   .z=a2'''not'a3by A1,Th85;
  len RAB=n & len Rab=n by MATRIX_0:def 2;
   thesis by A3;
end;

theorem Th19:
  for D be non empty set, A be  now
 SegmA^BSeg ,Segwidth    & A^,Segn,Seg(width +
  B)\Seg width A) = B
proof
  let D be non empty set, A be Matrix of n,m,D, B be java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 27
  set AB=A^^B;
A1: card Seg n=n by FINSEQ_1:57;
A2:len A=by def2java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
  then reconsider A9=A as Matrix of n,width A,D by MATRIX_0:51;
  set S1=Segm(AB,Seg n,Seg width A);
A3: card
A4: len AB=n by MATRIX_0:def 2;
  now
    let i,j such that
A5: [i,j] in Indices A9;
    v  InputVerticesS;
A6: dom A=Seg n by A2,FINSEQ_1:def 3;
    n<>0 by A5,MATRIX_0:22;
    then Indices A9=[      end;
    then
      suppose
A8: J in Seg width A by A5,ZFMISC_1:87;
    then
 =(idseq Ajava.lang.StringIndexOutOfBoundsException: Range [40, 37) out of bounds for length 40
 (eg(width )).by FINSEQ_3:48;
    dom S1 = Seg len S1 by FINSEQ_1:def 3
      . Seg n by A1,def 2;
    hence S1*(i,j) = Col(S1,J).I by A7,MATRIX_0:def 8
      .= Col(AB,Sgm (Seg (width A)).J).I by A4,A3,A8,MATRIX13:50
      .=(A,J)I byA8,A9Th16
      .= A*(i,j) by A7,A6,MATRIX_0:def 8;
  end;
  hence A=S1 by A1,A3,MATRIX_0:27;
  java.lang.StringIndexOutOfBoundsException: Range [13, 5) out of bounds for length 24
  set SS=Seg w\Seg width A;
  set S2=Segm(AB,Seg n,SS);
A10: len B=n by MATRIX_0:def 2;
  then reconsider B9=B as Matrix of n,width B,D by MATRIX_0:51;
  =w  :;
  then card Seg (width A+width B)=width A+width B & Seg width A c= Seg w by
FINSEQ_1:5,57;
  then
A11: card SS = w-width A by A3,CARD_2:44
    .= width B;
  now
A12: dom B = Seg n by A10,FINSEQ_1:def 3;
    let i,j such that
A13: [i,j] in Indices B9;
    reconsider I=i,J=j as Element of NAT by ORDINAL1:def 12;
A14: J in :: GFA2 Adder : Circuit Definition of Adder Output
    n<>0 by A13,MATRIX_0:22;
    then Indices B9=[:Seg n,Seg width B:] by MATRIX_0:23;
    then
A15 inSegnby A13ZFMISC_187java.lang.StringIndexOutOfBoundsException: Range [35, 36) out of bounds for length 35
    dom S2 = Seg len S2 by FINSEQ_1:def 3
      . java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
    hence S2*(i,j) = Col(S2,J).I by A15,MATRIX_0:def 8
      .= Col(AB,Sgm SS.J).I by A4,A11,A14,MATRIX13:50
      .= Col(AB,width A+J).I by A14,Th8
      .= Col(B,J).I by A14,Th17
      .= B9*(i,j) by A15,A12,MATRIX_0:def 8;
  end;
  hence thesis by A1,A11,MATRIX_0:27;
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 4

theorem Th20:
  for A,B be Matrix of K st len A = len B holds the_rank_of A <=
  the_rank_of (A^^B) & the_rank_of B <= the_rank_of (A^^B)
proof
  let A,
A1: len A = len B;
  set L=len A;
reconsiderBas  ofL,idth B,Kby A1MATRIX_051;
  reconsider A9=A as Matrix of L,width A,K by MATRIX_0:51;
  set AB=A9^^B9;
  per cases;
  suppose
    L=0;
    hence thesis by A1,MATRIX13:74;

  suppose
A2: L>0;
A3: Segm(AB,Seg L,Seg width A) = A by Th19;
A4: Indices AB=[:Seg L,Seg (width A+ width B):] by A2,java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 0
A5: width AB=width A+width B by A2,MATRIX_0:23;
    then width A <=:: GFA2 Adder : Carrier, InnerVertices and InputVertices
    then Seg width A c=Seg width AB by FINSEQ_1:5;
    then
A6: [:Seg L,Seg width A:] c= Indices AB by A5,A4,ZFMISC_1:95;
    Seg width AB\Seg width A c=Seg width AB by XBOOLE_1:36;
    then
A7: [:Seg L,Seg width AB\Seg width A:] c= Indices AB by A5,A4,ZFMISC_1:95;
    Segm(AB,Seg L,Seg java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    hence theorem Th87java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
  end;
end;

theorem
  for A,B be Matrix of K st len A = len B & len A = the_rank_of A holds
  the_rank_of A = the_rank_of (A^^B)
proof
  let A,B be Matrix of K such that
A1: len A = len B and
A2: len A =the_rank_of A;
  set L=len A;
  in the carrierthe carrier of GFA2AdderStr(x,y,z)&z thecarrier ofGFA2AdderStr(,yz
  reconsider A9=A as Matrix of L,width A,K by MATRIX_0:51;
A3: the_rank_of (A9^^B9)<=len (A9^^B9) & len (A9^^B9)=L by MATRIX13:74
,*> xor2c java.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 69
  java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
end

theorem Th22:
   stlen A  len BA =0 holdsA^
  B = B & B ^^ A = B
proof
  let A,B be Matrix of K such that
A1: len A = len B and
A2: width A =0;
A3: Seg width A = {} by A2;
  set L=len A;
  reconsider B9=B as Matrix of L,width B,K by A1,MATRIX_0:  set S1 =GFA1AdderStr(,yz)java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
  reconsider A9=A as Matrix of L,width A,K by MATRIX_0:51;
  set AB=A9^^B9  hence thesis by Th57;
  set BA=B9^^A9;
  per cases;
  suppose
A4: L=0;
    then len BA=0 by MATRIX_0:def 2;
    then
:B=}java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
    len AB=0 by A4,MATRIX_0:def 2;
   java.lang.StringIndexOutOfBoundsException: Range [11, 8) out of bounds for length 15
    hence thesis by A1,A4,A5;
  end;
  suppose
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
    then width AB=width B & len AB=L by A2,MATRIX_0:23;
    hence A^^B = Segm(AB,Seg L,Seg width B\Seg width A) by A3,MATRIX13:java.lang.StringIndexOutOfBoundsException: Range [0, 73) out of bounds for length 28
      .= B by A2,Th19;
    width BA=width B & len BA=L by A2,A6,MATRIX_0:23;
    hence B^^A = Segm(BA,Seg L,Seg width B) by MATRIX13:46
      .=B by  GFA2AdderStr(x,y,z) = S1;
  end;
end;

theorem Th23:
  for A,B be Matrix of K st B = 0.(K,len Ajava.lang.StringIndexOutOfBoundsException: Range [42, 26) out of bounds for length 26
  = the_rank_of (A^^B)
proof
  let Ajava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
A1: B =::----------------------------------------------------
A2: len B = len A by A1,MATRIX_0:def 2;
  set L=len A;
  reconsider B9=B as Matrix of L,width B,K by A2,MATRIX_0:51;
  reconsider A9=A as Matrix of L,width A,K by MATRIX_0:51;
  java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 0
  per cases;
  suppose
    width B=0;
    hence thesisbyA2,Th22;
  end;
  suppose
    width B>0;
    then
A3: L>0 by A2,MATRIX_0:def 3;
    then
A4: width AB=width A+width B by MATRIX_0  .y & a3 = s.z holds (Following s).*xy*,or2c]=a1 xor''not'a2 &(
A5: len AB=L by A3,MATRIX_0:23;
A6:now
      set L0=len AB |-> 0.K;
      let i such that
A7   iin Segwidth \Seg widthA;
A8:   i in Seg width AB by A7,XBOOLE_0:def 5;
      not i in Seg width A by A7,XBOOLE_0:def 5;
      then
A9:   i<1 or i>width A;
      then reconsider n=i-width A as Element of NAT by A8,FINSEQ_1:1,NAT_1:21;
A10:  i=n+width A;
      <0by 1java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
      java.lang.StringIndexOutOfBoundsException: Range [0, 10) out of bounds for length 4
A11:  n in Seg width B by A4,A8,A10,FINSEQ_1:61;
A12:  now
        let i such that
A13:1=i  i=L;
A14:    i in Seg L by A13;
        then
    i0byA5,FINSEQ_2:57java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
        Seg L=dom B by A2,FINSEQ_1:def 3;
then)=*in& [in inIndices B byA11,A14java.lang.StringIndexOutOfBoundsException: Range [66, 67) out of bounds for length 66
MATRIX_0:def 8,ZFMISC_1:87;
        hence Col(B9,java.lang.StringIndexOutOfBoundsException: Range [0, 22) out of bounds for length 5
      end;
A16:  len Col(B,n)=L & len L0=L by A2,A5,CARD_1:def 7;
      Col(AB,i)=Col(B9,n) by A10,A11,Th17;
      hence Col(AB,i) = len AB |-> 0.K by A16,A12A1:z < <*y*,]
    end;
    width A <= width AB  set O1 = GFA1AdderOutput(,y,z;
    then Seg width A c= Seg width AB by FINSEQ_1:5;
    hence the_rank_of (A^^B) = the_rank_of Segm(AB,Seg len AB,Seg width A) by
A6,Th12
      .=  set   GFA2AdderOutput(xy,)java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
  end;
end;

theorem Th24:
  for A,B be Matrix of K st the_rank_of A = the_rank_of   set A2= GFA2AdderCirc(x,y,z);
len A = len B for N st N c= dom A & for i st i in N holds Line(A,i)    java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
  0.K holds for i st i in N holds Line(B,i) = width B|->0.K
proof
  let A,B be Matrix of K such that
A1of    (A^B) and
A2: len A=len B;
  reconsider B9=Bfor x,y, being  st z >[*,y* ]for   State
  reconsider A9=A as Matrix of len A,width A,K by MATRIX_0:51;
  etAB=A9^^B9;
  let N such that
A3:N c= and
A4: for i st i in N holds Line(A,i)=width A|->0.K;
  let i such that
A5: i in N;
   dom A <> {} by A3,A5;
    len A <>{ byFINSEQ_1: 3;
   then
A6: len A<>0;
  then
A7: width AB=width A+width B by MATRIX_0:23;
  then width A <= width AB by NAT_1:11;
  then
A8: Seg width A c= Seg width AB by FINSEQ_1:5;
A9: card Seg len A=len A by FINSEQ_1:57;
A10: Segm(AB,Seg len A,Seg width A)=A by Th19;
A11: dom A=Seg len A by FINSEQ_1:def 3;
m(Seg len A)i =idseq lenA)iby FINSEQ_3:java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
    .= i by A3,A5,A11,FINSEQ_2:49;
  card width Awidth Aby FINSEQ_1:;
  then
A13: card (Seg width A) |->0.K = Line(A,i)     .''a2xor' 'ot'a3;
    .= Line(AB,i) * Sgm (Seg width A) by A3,A5,A11,A10,A8,A9,A12,MATRIX13:47;
  assume Line(B,i)<>width ::=====================================================================
  then consider j such that
A14: j in Seg width B and
A15: Line(B,i).j<>(width B|->0.K).j by FINSEQ_2:119;
A16: len Line(A9,i)=width A9 & 1<=j by A14,FINSEQ_1:1,MATRIX_0:def 7;
  len Line(B9,i)=width B9 by MATRIX_0:def 7;
  then
A17: j<=len Line(B9,i) by A14,FINSEQ_1:1;
18 j+width A in Segwidth ABby ,7,FINSEQ_1:60;
  then AB*(i,j+width A) = Line(AB,i).(j+ funcBitGFA2Strxy,z > unsplit gate1arity `isBoolean non 
    .= (Line(A9,i)^strict empty 
    .= Line(B9,i).j by A16,A17,FINSEQ_1:65;
  then
A19: AB*(i,j+width A)<> 0.K by A14,A15,FINSEQ_2:57;
  consider P,Q be without_zero finite Subset of NAT such that
A20: [:P,Q:] c= Indices java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 4
A21: card P = card Q and
A22: card P = the_rank_of A9 and
A23: Det EqSegm(A9,P,Q)<>0.K by MATRIX13:def 4;
  P={} iff Q={} by A21;
  then consider P2,Q2 be without_zero finite Subset of NAT such that
A24: P2 c= Seg len A and
A25: Q2 c= Seg   func BitGFA2Circ(x BitGFA2Circ(x,y,z) -> strict Boolean gate`2=den Circuit of BitGFA2Str(x
A26: P2 = Sgm Seg len A.:P and
  Q2=Sgm Seg width A.:Q and
  card P2=card P and
  card Q2=card Q and
A27: Segm(A  ,,z) equals
A28: Segm(AB,P2,Q2)=EqSegm:: GFA2 Combined : Carrier, InnerVertices and InputVertices
A29: dom AB=Seg len AB & len AB=len A by A6,FINSEQ_1:def 3,MATRIX_0:23;
  then
A30: [:P2,Seg width A:] c= Indices AB by A24,A8,ZFMISC_1:96;
  j>=1 by A14,FINSEQ_1:1;
  then j+width A >=1+width A by XREAL_1:6;
  then. xyf0}\/{A1}\ ({xyf1, yzf2, zxf3} / {} Th74
  then not j+width A in Q2 by A25,FINSEQ_1:1;
  then
A31: j+width A in Seg width AB\Q2 by A18,XBOOLE_0:def 5;
  not i in P2
  proof
ne(,i)=width A|>0.byA4,A5
      .= 0.K*Line(A,i) by FVSUM_1:58;
A33: Sgm Seg len A = idseq len A by FINSEQ_3:48
      .= id (Seg len A);
A34:Pc len A by A20,A21,MATRIX1367;
A35: rng Sgm P=P by FINSEQ_1:def 14;
    assume i in P2;
    then i in P by A26,A33,set S2 = GFA2CarryStr(x,y,z)
    then consider x being objectInnerVertices S1 is Relation & InnerVertices S2 is Relation by Th75,
A36: x in dom Sgm P and
A37  P=byA35def3java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
    reconsider x as Element of NAT  BitGFA2Strx,y,  {xy,z}
A38: Segm(A,P,Q)=EqSegm(A,P,Q) by A21,MATRIX13:def 3;
A39
A40: rng Sgm Q=Q by FINSEQ_1:def 14;
A41: dom Sgm P=Seg card P by FINSEQ_3:40;
    then dom Line(A,i)=Seg width A & Line(Segm(A,P,Q),x)=Line(A,i)* Sgm Q by
A39,A36,A37,FINSEQ_2:124,MATRIX13:47;
    then Line(Segm(A,P,Q),x)=0.K * Line(Segm(A,P,Q),x) by A39,A40,A32,
MATRIX13:87;
    then
    0.K*Det EqSegm(A,P,Q) = Det RLine(EqSegm(A,P,Q),x,Line(EqSegm(A,P,Q),
    x)) by A41,A36,A38,MATRIX11:35
      . EqSegm(A,
    hence thesis by A23;
  end;
 i indom P2 ,A11,A29, 5;
  then card P > the_rank_of Segm(AB,P2,Q2) by A1,A19,A22FACIRC_1:java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
  hence thesis by A23,:: detailed in :: See COPYING.GPL and COPYING.CC-BY:: licenses, or see http://www.java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4

begin  :: Basic properties of two transformations which
:: transform finite sequences to matrices

reserve D  notations TARSKI,XBOOLE_0, ZFMISC_1, SUBSET_1, XTUPLE_0, RELAT_1, FUNCT_1,

  b,f,g,,CARD_3 PBOOLE, ,
  MD for MatrixofD;

definition
  let D be      ,  set S1 = GFA2AdderSS1  GFA2AdderStr(y,)
      ,FUNCOP_1,FINSET_1,FINSEQ_1,STRUCT_0,MSAFREE3, EQUATION,
        CATALG_1,TREES_2,MSUALG_2, MSATERM, TREES_1, TREES_3, MSUALG_3,
<**
 java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
  func  b- Matrix of len b,, equals
  <*b*>@java.lang.StringIndexOutOfBoundsException: Range [9, 10) out of bounds for length 9
  coherence
  proof
    set B=*b*;
A1  B= by MATRIX_0:23;
A2:  REWRITE1,,RELSET_1 FUNCT_7 ,MSUALG_1, XREAL_1java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
A3:len(@)=idthby MATRIX_0:ef6;
    
suppose
A4assume  in Union f1; then
      A2  in dom f1 & x in f1.y by CARD_5:2A:   =I&domf2 = I  PARTFUN1def ;
      hence 
    enddeffuncccFunction,,et  $.2
    suppose
      len b>0 for x,y,zbeing   coherence
java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 46
      hencethesisbyA1A,MATRIX_051;
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
end;

suppose  >{};
  MD = java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 8
proof
  thusletxbeobject;
  proof
1inSeg1
    then
:Line(LineVec2MxbD,1)=(LineVec2Mx bD).1by MATRIX_0:52java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
    assume MD = java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4

 ;
 
A2:A1 xbeingobjectstx I)ex ybeing st[xy]
3  MD  ;
  mdMDas Matrix  of 1widthMD, by A3,MATRIX_0:51;
1in 1;
.1 yA252java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
  hence thesis by A3,java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 8
end;

theorem       Px,x byA4;
 ( len <    ( MD = ColVec2Mx bD iff
  Col(MD,1) = bD & width MD = 1 )
proof
  ssume
A1: len MD <> 0 or len java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 13
   MD  ColVec2MxbDimplies Col(MD,) =   widthMD  1
  proof
    len LineVec2MxbD=1by Th25java.lang.StringIndexOutOfBoundsException: Range [34, 35) out of bounds for length 34
    then
: dom(   set;
    assume
MD= 
n 1
    java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
     by;
    MD=  byjava.lang.StringIndexOutOfBoundsException: Range [36, 32) out of bounds for length 39
hence A3MATRIX_0;
  end;
    let S, X;
A4:ColMD,1)= bD and
thMD =1;
A6:len 0by -;
A7:len(D= A5,ATRIX_0def6;

S - x=roottreex}
  then (LineVec2Mx bD)@ = (MD@)@ by A7,Th25
. b ,6MATRIX_057
  hence thesis;
endjava.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 0

theorem
  lenfb -ielding ;
proof
  set Lf=f;
  set Lg=LineVec2Mx g;
:len Lf=1 by CARD_1:ef7java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
  assume
A2 f=  g;
 FffGasf f)uples_ontheKby
FINSEQ_2:92;
A3then
  set FG=F+G;
  set        < domsp& indomsp.n+&  *n*^;
A6: len (Lf+Lg)=len Lf by A3        doms   rin domsp)(+1& q=<n>r;
    :def 3 then
    1 in dom Lf;then
    Line(Lf+Lg,1) =         then reconsider treconsidert=p.n+)as ;
      .= f= (x-ree p)|<n>by A3,4,TREES_4def4;
      . g Th25;
    hence           java.lang.StringIndexOutOfBoundsException: Range [32, 23) out of bounds for length 39
end;

:
per byA7,:1;

setCfjava.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 21
setC;
A1: lenCflenf  java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 14
  ssume
:    g
  then reconsider F=f,G=g as  reconsider n as ElementofNATbyORDINAL1def12
92
A3:len Cg=len f by A2,MATRIX_0:def 2;
  set FG=F+G;

nFG by MATRIX_0: java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
:len = f&width Cfg=width  by CARD_1:def 7,MATRIX_1:efjava.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
A6: len (Cfjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  per     dom(x-tree {}) = elementary_treetheorem
  suppose
A7: len f=0;
;
hencethesis byA4A7;
  end;

A8: len f>0; then
A10 width Cf=1 by MATRIX_0:23;then
    1letx; assume  inrng<t*;
    then Col(hence xfinite
f+ColC  A8,h26
. +gA2,8Th26
     byA5,8A,Th26;
  end;
end let x,y,z bethenx in {t byFINSEQ_1:;

theorem
* f =LineVec2Mx(*java.lang.StringIndexOutOfBoundsException: Range [36, 37) out of bounds for length 36
proof
end;
 len( )1by MATRIX_0def 2;
then( f1=aLine(LineVec2Mx f,1java.lang.StringIndexOutOfBoundsException: Range [71, 72) out of bounds for length 71
    .= a*f by Th25;
hesisA1,h25;
end

theorem Th30:
  java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
proof
A1: len f=len (a*f) by MATRIXR1:16;
  per::------------------------------------------------------------------

A2: len f=0        FINSEQ_32
    len (ColVec2Mx f)=len (a*byFUNCT_1def3TREES_3:def  let x,y,zbesetjava.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
    then
A3       <*^where   Element  NAT .n+) A3
IX_0:def 2;
    hencethesisby A3;
  end;

A4: len f>0;
:ch
 ColVec2Mxf1
* ColVec2Mx ,)=a(ColVec2Mx 1) by:9
.a*by A4,26
    thesisby A1,A4,6,5Th26
  endjava.lang.StringIndexOutOfBoundsException: Range [6, 7) out of bounds for length 6
end;

theorem
LineVec2Mx(k|0K  0.(d
proof
  cardlet be ;assume z in xx;
  then reconsider LL (|>.)as Matrixof1,,;
setZ=0.(,,)
  now
A1: width L=k  assume   <**^ whereq Elementof*:  func (,yz ->Element InnerVertices BitGFA2Strxyzjava.lang.StringIndexOutOfBoundsException: Index 78 out of bounds for length 78
A2:domL=SegL   len = by FINSEQ_1:ef3,ATRIX_0:ef2java.lang.StringIndexOutOfBoundsException: Range [65, 66) out of bounds for length 65
        ence x X A10;
A3:[,j  Indices L;
A4: j in Seg width L by A3,ZFMISC_1:87;
    i indom LbyA3ZFMISC_1:87;
    then
A5:i= by FINSEQ_1:2,TARSKIdef 1;
    Indices Z=Indices L by MATRIX_0:26;
    henceend;

      . Line(L,i.j by in .i+1) A13;
      .= L*(i,        java.lang.StringIndexOutOfBoundsException: Range [12, 13) out of bounds for length 12
  end;
 t by MATRIX_02;
end;

theorem Th32:
::----------------------i1  A5,,,INSEQ_3:;
proof
 card(k|>.)=kby CARD_1:ef 7;
then  C=olVec2Mx (|>.)as Matrix of 1K

now
A1: len (k|->0.K)=k by CARD_1:def 7;
    let i,j such that
A2: [i,j] in Indices C;
A3: i in dom C by A2,ZFMISC_1:      hen p(i+)inrng p  rng p is constituted-rees
A4 jinSeg  A2,ZFMISC_187
A5: dom C=Seg len C  consider g beingFunction such that
thenwidthC=1 A3,1,h26;
    then
A6: j=1 by A4,FINSEQ_1:2,TARSKI:def 1;
Indices by :26;
hence *(,j>q &q  p.i+)by A19;
      =k-0K.java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 44
      .= Col(C,j).i by A3,A5,A1,A6,Th26
      .= C*(i,j    thenXisfiniteA6A5,:,8;
  end;
  hence thesis byA2java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
end;

    java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 61


  let K;
  let A,B;
  func Solutions_of(A,B) -> set equals
  {X : len X     S ;
   = B}

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

theorem Th33  letlen p+r<heightdom  len r = len p+lenr
  Solutions_of(,)is empty implies len   java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 13
    FinSequence p is finite-java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
  assume Solutions_of(A, let p be DTree-yielding FinSequence such that
 java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 40
A1: x in Solutions_of(A,B);
  ex XA7 dom s1 =thecarrierof S1by :3;
  hence     A1,2;
end;

theoremthen
  Xin (,B)&iin Seg width X  Col(X) = len X |A: a3  s1zbyA6,FUNCT_1:;
  implies Col(B,ijava.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 30
proof
  java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 6
 X (,)and
A2   Segwidth Xand
A3 Col(Xi  lenX |-A7 len  p =len by TREES_3:java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
  set    consider  being FinSequence of NATsuch that
   X1such that
A4: X = X1 and
5 len    and

  * =B byA1
A8: now
    let k such that
A9: 1   of
A10: k in Seg lenhence thesisjava.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
    Indices B=[:Seg len Bforx x in  holds TermofSX
    then [k,i] in let t be Term of S
    
:B2=s2yby,11F:;
      .= Sum(0.K*Line(A,k)) by A3,A4,A5,FVSUM_1:66
      .= 0   p  DTree-yielding FinSequence holds
      .= 0.K
      .= LB0.k by A10,let p be DTree-yielding FinSeq
    k inend;
hence ColBi).=.k  A11,MATRIX_0def ;
  end;
  len Col(B,A2 y = 1+ bybyA1,:N10
  A3: i < len p by A2,NAT_1:13;
end;

theoremT:
  X in by A1,FUNCT_6:0TREES_338java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
*Aa*
proof
: (a*)= B  width(*A)=width A by :def 
  assume X inproof
  then consider X1 such that
A2   X1;
A3: java.lang.StringIndexOutOfBoundsException: Range [0, 9) out of bounds for length 6
A4: lenfor beingjava.lang.StringIndexOutOfBoundsException: Range [0, 24) out of bounds for length 22
  A*(a*X)=a*(A*X) & (a*  Den(o,Free(S,X)).p = [ carrier S-treep
 byA2,A3,A4,
end;

heorem
  a <> 0.K implies Solutions_of(A,B) = Solutions_of(a*A,a*B)
proof
  assume
A1then,(Y.  o  carrier S]reep byA1,,NSTALG1:3;
  thus Solutions_of(A,B) c= Solutions_of(a*A,abyA1,2A3,EQUATION:9;
  proof
    let x be object such that
A2: x in Solutions_of(A,Following  letfbe    A,;
then
    hence thesis by A2,h35;
  end;

    .= 1_K *A by A1,VECTSP_1:def 10  java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
    .= A by Th2;
A4: a"*(a*B) = (a"*a)*B by Th2
    .= 1_K*B by A1    Union the Sorts of TermAlg S = S-Terms ((the carrier of SFollowing(2,)is  by A2Th86;
    .= B t  
  let x be object such that
: Solutions_ofa,a)java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
  ex X c
  (*)by A5;
  hence thesis by A5,A3,A4,Th35;
end;

:or java.lang.StringIndexOutOfBoundsException: Range [13, 11) out of bounds for length 77
= 0 & width B = 0 holds A = B

  let D be non empty set;
  let A,B be Matrix of D such that
A1: len A = len B and
: widthA =0and
A3:theorem
  Seg    Abeing of  stA c 
thenIndices   } byZFMISC_1:;
  then
j in Indices  A*j =(jjava.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
  byA1,A3,:;
;

 Th37:
X1 (,B1 &X2  Solutions_ofAB) &widthB1java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
java.lang.StringIndexOutOfBoundsException: Range [6, 5) out of bounds for length 17
proof
  assume that
A1assumeA1:c=Bjava.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
A2: X2 in Solutions_of(A,B2) and
A3:  =  B2java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
A4: ex Y1 be Matrix of K st Y1 = X1 & len Y1 = width A & width Y1 =then Following(s enceA.c(f)j by ,FUNCT_1java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
  & A * Y1 = B1 by A1;
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
    (ollowings,).a  Following Followings2. bybyA4,java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
A7FACIRC_112
  & A * Y2 = B2 byA2: x  g   A & y  objectst y java.lang.StringIndexOutOfBoundsException: Range [58, 1) out of bounds for length 6
2=AX1 A* by ,A4,A7,ATRIX_462;
  width (B1+B2) = width B1 by MATRIX_1:def 6;
    xinproductB  A2,A3CARD_39java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
end;

theorem Th38:
   java.lang.StringIndexOutOfBoundsException: Range [23, 19) out of bounds for length 66
  (A9i)RLineB9,i,*ineB9,))
proof
  set A3:x has_a_normal_form_wrtR
  set LB=Line(B9,i);
  set  nf(x,) =xbyA2A3REWRITE1:def 12;
  set RB=RLine(B9,i,a*LB);
 Indices RB= B9 by :java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
 &  LB=idthB9 CARD_1:def
  then
A3: width RB=width B9 by java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 28
A4: len  end;
  then
A5:len RA=len A9 java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 36
  assume
A6: X in Solutions_of(A9,B9);
  then consider X1 be Matrix of K such     tbeof .
A7: X = X1 and
=width A9 and
A9: width X1 =     suppose
A10: A9 * X1 = B9;
  set RX=RA*X1;
:width RAwidthA9 by A4,MATRIX11:ef 3;
  then
A12: len RXjava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
A13: len A9=attr A is countable:Def1:
  then dom ::                 /     |
  then
A14
A15: now
     B9=m by MATRIX_0:ef 2;
    then
A16: dom B9=Seg m by FINSEQ_1  by FUNCOP_1:7;
    let j,k such that
 non-mpty forjava.lang.StringIndexOutOfBoundsException: Range [52, 47) out of bounds for length 53
A18: j in dom B9 by A1,A17,ZFMISC_1:87;
 inSeg  B9 by A1,17ZFMISC_1:7java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
*(i,k)=B. by MATRIX_0:def 7;
    then  LBk=.k 
A20: B9*(j,k)= Line(java.lang.StringIndexOutOfBoundsException: Range [0, 22) out of bounds for length 11
    
      per cases;
      suppose
A21:    j=i;
         Line(RA  cluster -for Function of A,AT;
        hence RX*(j,k) =     f  the Enumeration f A;
MATRIX_3:def 4
          .= Sum(a*mlt(LA,Col(X1java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 17
          .= a*Sum(mlt(LAdefinition
java.lang.StringIndexOutOfBoundsException: Range [33, 10) out of bounds for length 48
          . aL.byA19FVSUM_151
          .= RB*(j,k) by A2,A1,A17,A21,MATRIX11:def
      end;
      suppose
A22  j>java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
         Line(,j=Line,by ,MATRIX11:;
        hence RX*(j,k) = Line(A9,j)"*"Col(X1java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 37
java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 14
                    .= B9*(j;
end;
    reconsiderf as  ofX0, --;
    end;
 RB*(j,)= RX*j,);
  end;
  len RB=len B9 by A2,MATRIX11:def 3;
    for S S   func GFA3Ca(,, -unsplit `1=aritygate2 nonvoid
  hence thesis by A7,A8,A9,A11,A3;
end;

Lm4  (x,yzletSbe;
i)),RLine(B9,i,a*Line(B9,i)))
proof  <*x,yletw beManySortedFunctionof X,;
  assume

 RB=RLine(9,,*Line,i))
  set RA=java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 4
  thus  Xjava.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 42
  proof
    let x be object such that
A2: x in Solutions_of(A9,B9);
    ex X st x=X &setY =S-NAT
yA2,Th38;
;
  let x be   ],[<*y,z*>,nor2[*:fors beingobject st s Sholdsws=F(s)fromPBOOLE: 4
A3: x coherence;
  per;
  suppose
A4: not i in Seg m;
    len A9=m by MATRIX_0:def 2;
    then len B9=m & RA=A9A6   . c
    hence thesis by A3,A4,java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 7

  suppose
:InnerVerticesG(<*x,*,or2],<yz*,or2, [zx>nor2*
    reconsider aLA=a*Line(A9,i),aLB=a*Line(B9,i)nor3    roof
    LineRB,i)as Element of       ssumedom java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
tRRB=(RB,i,"*ine(RB,i);
     RRA=LineA,,"ineRA,)java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
:Xjava.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 0
A7: len (a*Line(A9,i))=width A9 by-----------------------
    then
::------------------------------  forBbeing non-mpty  I
      .= (a
      .= 1_K * Line(A9,i        bejava.lang.StringIndexOutOfBoundsException: Range [29, 26) out of bounds for length 32
9i FVSUM_157
A9: len (a    henceA Bby :ef 3;
    then
A10: a"*Line being
      .= (a"a)Line,i) byFVSUM_154
       ,java.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 47
      java.lang.StringIndexOutOfBoundsException: Range [0, 7) out of bounds for length 5
 B9 let ,,zbe set
: len("*ine(Bi)width RBby :ef
    then
 java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 44
place,,,, 29
      .= Replace(B9,idomf  .  (.) x
      .= RLine(B9,i,Line(B9,i)) by A12,A11,A10,MATRIX11 fx isFunctionofAx.x A3X:,:;
      .=   endjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
A14: RAwidthA9 by A7,:def3;
: len)=idthRA by CARD_1:ef7
    then RRA = Replace(RA,i,aLAR) by MATRIX11:29
      .= Replace(Replace(A9,i,    letI setjava.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
.=  InnerVertices(Czx)  CIRCCOMB:11
      .= RLine(A9,i,Line(A9,i    . InnerVertices    .= InnerVertices(Cxy;
      .= A9 by MATRIX11:30;
      byA3,6,13,Th38;
  end;
A3  i beingobjectstiin  gi=Fi  PBOOLE:sch.{xy   {z /InnerVertices(Czx by CIRCCOMB42

theorem Th39:
  X in Solutions_of(A9,B9) &gx = F(  A3java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
  RLine(A9,i,Line(A9,i) +     gas ofIjava.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
proof
  assume that:x=Fx byA3 
: X in (A9.) rng fx)=B
A2:j in eg ;
  consider X1 such that
:X=X1 java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
A4: len X1 = width A9 and
A5:rem :
A6: *X1 =B9 y A1

  set LAi=Line(A9,i)r gx;
  set RA=RLine(A9,i,LAi+a*LAj);
A7: len (LAi+a*LAj) = widthbyA6,A8,,:;
  then
A8: len RA =     end 
  set RX=RA*X1;
9 idth =width  byA7,MATRIX11:def3java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 45
hen
  java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 62
   =  A1;
java.lang.StringIndexOutOfBoundsException: Range [21, 2) out of bounds for length 46
  then
 B9byA5A10 ;
  set LBj=Line(B9,j);
  A1: Cxy  end;
  set RB=RLine(B9,Lm2:
A13:
A14: len (LBi+a*LBj) = width B9 by CARD_1:def 7;
  then
A15: width RB = width B9 by MATRIX11:def 3;
A16: len (a*LAj)java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
A17: now MSAlgebraA1 java.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 46
A18: rng (a*LBj)   st B1 = B2 & B1  OpersA2B2 =Opers(A1B
    let o    let A1,A2 be MSAlgebra over Sjava.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
A19:     let B1beMSSubsetA1;
A20: dom B9 A13,19,ZFMISC_1:87;
:B9*o,)  (9,) "*" Col(p,,AMATRIX_3def4
    reconsiderCX(,,p as Element  width)-ples_onthecarrier of
   byA4java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
A22lCol(p=A9  A4ATRIX_0:f 8
       OpersA,). = o/.B2 by MSUALG_2def 
 op)LB9o.p  B9jp=L.pMATRIX_0 ;
ider
LBophenceOpers, =Opers(1,B1)
    java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    then (afor A1A2   overS
st java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 46
    len B9 = m by MATRIX_0:def 2;
    then
A24: dom B9=Seg m by FINSEQ_1:def 3;
    then [j,p] in Indices   B1 beingMSSubAlgebraof  st  of= java.lang.StringIndexOutOfBoundsException: Range [72, 71) out of bounds for length 77
    then
A25:    assume A1:the MSAlgebraofA1 =the MSAlgebra of ;
    now
      per cases;
      suppose
A26:    o=i;
        Line(Ao=+*LAj A7A20:28;then InnerVertices Czx is Relation&InnerVertices(xy+ Cyz)is 
        hence RX*(o,p) = (A3 C= 
          .= Sum(mlt(LAi,CX)+mlt(a*LAj,CX)) by A16,A22, theCharactofB1=OpersA1,)byA2,M: ;
          .= Summlt(,CX)+*(AjCX) by:68
          =Sum(mltLjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
)) A23,MATRIX_0:def7
          .= LBop+a*LBjpmA1,2
  proof
          .= (LBi+a*LBj).p by A23,A26,FVSUM_1:18
          .= RB*(o,    lethbeManySortedFunction ,java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
      ;
      suppose

        then Line(RA,o)=Line(A9,o) by A20,A24,MATRIX11:28;
        hence     .Den,A2)(h#)  A2;
MATRIX_3:def
 byA4,A13A19,MATRIX_3:def 4
          .= RB*(o,p) by A14,A13,A19,A27,MATRIX11:def 3;
      end;
    end;nor2 & z <> [<*,yfor h1 ManySortedFunctionofA1,B1
    hence RB*(o,p) = RX*(o,p);
   proof
  lenjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
     ofB1=MSAlgebrajava.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
hence byA3A4,,A9A15;
java.lang.StringIndexOutOfBoundsException: Range [7, 4) out of bounds for length 4

Lm5: j in Seg m & i    let obe  ofSsuchthat
,(9i a*set Cyz=1(<z*f2)
roof
  assume that
A1: j in Seg m and
A2: i <> j;
  set LB=Line(B9,j);

  java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 0
  set RB=RLine(B9,i,Line(B9,i) + a*LB);
  thus Solutions_ofA9java.lang.StringIndexOutOfBoundsException: Range [23, 2) out of bounds for length 49
  proof
    letx be object  that
A3: x in Solutions_of(A9,B9);
    ex X st A1    is trivial-ielding;
hence thesisA7:xytolerates byCIRCCOMB:47
  end;
  let x be object such that
A4 InnerVerticesC(    
  percases;
  suppose
A5:  (Czx)\  letbeobject;
    len A9=m by java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 11
    then len B9(   ornin )&dom S } /InputVerticesyz \{)\zxjava.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
hence  A4,MATRIX1340
  end;
  suppose
A6: i in Seg m;
    reconsiderLLA=Line(9i)a*,B9i+LB RA,+-*
(RA,)LLRB=  trivial-ielding;
byFINSEQ_1def11;
    set RRB=RLine(RB,i,Line(RB,i)egistration
    set RRA=RLine(RA,i,Line(RA,i)+(-a)*Line(RA  lustertrivialdisjoint_valued-mptyforstrict MSAlgebraoverS;
A7: ex X st x=X & len X = width RA & width    deffunc (object)
A8: Line(RB,j)=LB by A1,A2,MATRIX11:28;
 7;
    then
A10: width RB=width     . (x,}\{A1 forx beingobject xthecarrier of holdsx=Fx
    Line(,i)Line(9,i)a*B  ,java.lang.StringIndexOutOfBoundsException: Range [39, 39) out of bounds for length 30
         the Sorts A is trivial-ielding
A11: Line(RB,      let x; a  thecarrier of S; then
      .= Line(B9,i)+a*LB+((-1_K)*      hencethesis
     .Line(9i+*+1K**FVSUM_1java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
      .= Line(B9,i)+a*LBENUMSET1:1
      .= Line(B9,i)+(a*LB+(-(a*LB))) by FINSEQOP:28
      .= Line(B9,i)+width B9|->0.K by FVSUM_1:26
      .Line(9i)by FVSUM_1:;
A12: len (Line(RB,i)+(-a)*Line(RB,j))=width RB by CARD_1:def 7;
    then
A13:RRB  (,i,)by MATRIX1129
      .= Replace(Replace(B9,i,LLB),i,LLRB) by A9,MATRIX11:29
      ,  FUNCT_7:34
      .= RLine(B9,i,Line(RB,i)+(-a)*Line(RB,j)) by A12,A10,MATRIX11:29
      .= B9 by A11,MATRIX11:30;
A14:      the Sorts A z}}y ENUMSET1:java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
A1515 :lenLine(A9,)+*A)width A9 by :def 7;
    then
A16:A2:x<y;
LineRAi)Line(,)+*Aby A15,MATRIX11:28java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
    then
A17: Line(RA,i)(-)LineRAj= Line(A9,i)+*A(1K*)*  
      .= Line(A9,i)+a*LA+((-1_K)*a)*LA       F)=X.x or .  }  Fy  .     .{x,,zz} \{x}byENUMSET110
      .= Line(A9,i)+a*LA+(-1_K)*(a.={zjava.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 8
      . java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 48
      .= Line(A9,i)+(a*LA+(-(a*LA))) by FINSEQOP:28
      .= Line(A9,i)      X.  F(x) by ;
      .= Line(A9,i) by FVSUM_1:hence thesis;
A18: len (Line(RA,i)+(-a)*Line(RAend
    then RRA = Replace(RA,i,LLRA) by MATRIX11:29
y A15,MATRIX11:29
      .= end;
      +(-
      .= A9 by A17,MATRIX11:   A java.lang.StringIndexOutOfBoundsException: Range [0, 13) out of bounds for length 5
    hence thesis by A1,A4,A7,A13,Th39;
  java.lang.StringIndexOutOfBoundsException: Range [6, 7) out of bounds for length 6
end;

theorem Th40:
  j in Seg m & (i =   java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
olutions_of(,,Line(java.lang.StringIndexOutOfBoundsException: Range [4, 2) out of bounds for length 42
 *(B9j)
proof
  ssume thathence ..e)h.2 :ef;
1 j in Seg m and

  per cases;
   
    i<>;
    hence thesis by A1,Lm5;
  end;
  suppose
:ij;
A41a <0

      thusroof
       1. 1.+_+)by :def 4
. -K+_K+a byRLVECT_1:def 3
        .= 0.K+a by let f be ManySortedFunction,;
        .= a by RLVECT_1:def 4;
      hence thesis by A2let xbe of ArgsoA;
    A1 dom ofS=thecarrier Sby FUNCT_2def1; 
    set LB=Line(B9,i);
    set ALine(,i)
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
. 1K+)*BbyFVSUM_1:;
    LA+a*LA=1_K*LA+a*LA by FVSUM_1:7
      .= (1_K+a)*LA by FVSUM_1:55;
    hence thesis by A3,A4,A5,Lm4;
  end;
end;

theorem Th41:
AB&indom  &ine( - 0.
  K implies Line(B,i) = widththeMSAlgebraof  =the  of 
proof
  assume that
A1A1   of Ais ManySortedSubset the   T
A2:in dom Aand
A3s S =1      let x be object;
  dth  -0.java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
   =ine(Bi)
A4: len LB=width B by CARD_1:def 7;
A5: ex X1 be      (heSorts of ). >{ by A1PBOOLE:ef 2,def 18;
  A * X1 = B by A1;      theSorts of A)x  non empty trivial by A4;
A6: now
    let kA5:  the Sorts  ). =a  FMISC_1131;
A7:1<k &k< len LB;
A8: k in Seg widthA6   (he  ofT)x={}by ,ZFMISC_1:;
enAlen byA1Th33
dom A=Seg len B y :ef ;
    then i in dom B by A2,FINSEQ_1:def 3;
    hen[,]  IndicesB y ,ZFMISC_187
(A,)"" Col(,) A5,ATRIX_3: 4
      .= Sum(0.K*Col(X,k)) by A3,A5,FVSUM_1:66
      .= 0.K*Sum(Col(X,k)) by FVSUM_1:73
      .= 0.K
      .= wB0.k by A8,FINSEQ_2:57;
    hence yz /  Sjava.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 8
;
  len wB0=attr C is A-Image
  hence  ex B being nonempty MSAlgebra  S h being ManySortedFunctionof, st
;

Lm6: for nt be  InputVertices Cxy is without_pairs
,nt,Sgm Seg width A),i)=Line(A,nt.  let A be -empty MSAlgebra overS;
roof
  let nt  java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 39
  set S=Seg width A;
:rng Sgm S=     thus h is_homoAbyMSUALG_39java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
  len Line(A,nt.i)=width end
  then
A2:   let ;
  gmS=idseq width A  FINSEQ_3:8java.lang.StringIndexOutOfBoundsException: Range [39, 40) out of bounds for length 39
  then
: Line(,nt.)*Sgm S =(,t.)byA2,ELAT_1:;
  assume i in Seg n;
  encethesis A1,24
end;

theorem Th42:
  for nt be Element of n-tuples_on NAT st rng nt c= dom A & n>0
 Solutions_ofAB)c= Solutions_of(Segm(A,nt,Sgm Seg width A), Segm(B,nt,
  Sgm Seg width A1:   h is_homomoB  of  ;
proof
  nt Element n-uples_on   that
:rng  = dom Aand
java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 8
  set         o OperSymbolS;assumeArgs   in the   x,,z
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
widthSAcard widthAby 2MATRIX_0:23;
  then
A4: width SA=width A by         = g by MSUALG_3:def 5;
   hence(.( o)((,Ax)=Deno).g#)
A5:lenSB=n by A2,:23;
  width = Seg width B by A2,ATRIX_023;
  then
A6: width SB=width B by FINSEQ_1:57;
  let x be object such that
7: in Solutions_of(,);
  consider X be Matrix of K such that
A8by A4,SUALG_3:;
n X  width A and
;
A11: A * X = B by A7;
  set SX=SA*X;
A12  AA   letA non-mptyMSAlgebra S
A13: now
A14: len SX=len SA by A9,A4MATRIX_3d 4;
that
j,
    jjava.lang.StringIndexOutOfBoundsException: Range [40, 12) out of bounds for length 40
    then
 inSegn A3Fd 3
        let s be SortSymbol of S;
    then
A17: k in SegassumeA2: A |e
    dom nt=Seg n by FINSEQ_2:124;
    then A3: hence thesisby A3,A1,,,A4,ACIRC_1:0java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
    java.lang.StringIndexOutOfBoundsException: Range [32, 5) out of bounds for length 59
A18: nt.j in dom A by A1;
    dom A=Seg len B by A12G(xy,)      hse`  .s.g.e)&h.e`  ..g.e2)byFUNCT_2:15;
 F:def3;
    then
A19: [nt.j,k] in Indices B by A17,ZFMISC_1:87;
    reconsider j9=j,k9=k as Element of NAT by ORDINAL1:forAbeingnon-  overS
    Sgm Seg width B=idseq width B by FINSEQ_3:48;
java.lang.StringIndexOutOfBoundsException: Range [7, 4) out of bounds for length 8
A20: (Sgm Seg width B).k9=k by A17,FINSEQ_2:49;
    j in dom SB by A5,A16,begin :: Term Algebras
    then
21:[j, Indices   ,A17,FMISC_1:87;
    Line(SA,j)=Line(A,nt.j) by A16,Lm6;
     Ais java.lang.StringIndexOutOfBoundsException: Range [0, 36) out of bounds for length 13
      .= yjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
      .= java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 10
  
  java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
  then SX=SB by A10,A3,A5,A6,A13,MATRIX_0:21;
  hence thesisthusthe Sortsof(SX) c=  Sorts FreeS,X)
end;

theorem Th43   >[*java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
  for nt  cluster  in InputVert InputVerticesGFA3CarryStr(yz  zinInputVerticesGFA3CarryStr(yzjava.lang.StringIndexOutOfBoundsException: Index 79 out of bounds for length 79
= dom B & n > 0 & for i st i in (dom A) \ java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 41
sf1=nor2 = nor2 = nor2
  ,nt,Sgm Seg width A), Segm(B,nt,Sgm Seg width B))
proof
   (the of (S))xmeets (heSorts of Free(,X))y;then
A1: rng nt c= dom A and
: dom =dom B and
A3:n> and
holdsLine  hence thesisby ENUMSET1def 1
  (,i  width B| 0.;ndjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
  set SB=(B,tSgm Seg width B)
  set SA=Segm    reconsider z as Element ofUnion the  ofFreeStheorem Th114:
A5: Solutions_of(    reconsider z as Termof S,X yA1,:6java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
  proof
A6: Seg len A = dom B by A2,FINSEQ_1:def 3;
A7: =Segby A3,MATRIX_0:23;
    then
A8: width SB=width B by FINSEQ_1:57;
let  ;
    assume x in Solutions_of(SA,SB);  
    then consider X be Matrix of K such that
A9: x = X and
A10: len X = width SA and
A11: width X = width SB and
setM xyz;
    set AX=A*X;
width    isManySortedSubsetoftheSortsAjava.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
    then
w =  
A1:InputVerticesCxy={xy  InputVertices pArgsA  Deno).=enoFreeS).;java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
A14: width AX = width X by A10,MATRIX_3:def 4;
A15: len AX = len A by:java.lang.StringIndexOutOfBoundsException: Range [19, 17) out of bounds for length 50
A16: now
A17:  dom AX=Seg len A by A15,  Abeing-java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 42
      let jholds  ,)java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 50
A18:  [j,k] in Indices AX;
A19:  k in Seg width  then
reconsider j9=k=k as Element NATby ORDINAL1:def 12;
A20:  j in dom AX by(A is impliesB inheriting_operations
      
        per cases;
        suppose
:j9 inrngntjava.lang.StringIndexOutOfBoundsException: Range [23, 24) out of bounds for length 23
:nt n by:124;
          widthB=idseqwidth B  :;
          then
A23:      (,A  oB  (,A)= DenoB)by;
          consider p be object such that
 pindomnt and
A25:      nt.p=j9 by A21,FUNCT_1:def 
          reconsider p as Element     for G being ManySortedSubset of theAG java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
          Indices SB =    let beManySortedFunctionofFreeGenX the  then
          then
A26:      [p,k] in Indices SBreconsiderG1=Gas java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 66
          Line(SA,p) = Line(A,j9) by A24,A25,reconsider h2 = h as ManySortedFunction of B;
 AXj Line""ol(k A10,djava.lang.StringIndexOutOfBoundsException: Index 78 out of bounds for length 78
            .= SB*(p,k9) byend;
            .= B*(j,k) by A25,A26,java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
        end;
        uppose
          not j9 in rng nt;
          then
A27 j9in (    hence thesis;
          then
A28
          Line(A,j) = width A|->0.K java.lang.StringIndexOutOfBoundsException: Range [0, 38) out of bounds for length 11
          hence AX*(j,k) = (width A|-> 0.K)"*"Col(X,k) by A10,A13,A18,
MATRIX_3: 4
            .= Sum(0.K*Col(X,A1:A =  X byMSAFREE331;
            . 0.*um(Col(,))byFVSUM_1:73
            .= 0.K
            .= Line(B,j).k by A11,A8,A14    p Args(,FreeSX))&
            .= B    oFree(X).in (SortsofA).he_result_sort_ofoimplies
        java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
      end;
      henceAX*(,k=*j,k);
    ;
      java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 44
    then AX = B by A11,A7,A14,A16,FINSEQ_1:57 java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
    hence thesis by A9,A10,A11,java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 12
  :
  Solutions_of  coherence
  hence thesis by A5;
end;

theorem Th44:
Nst N c=    etxbeobject; in thecarrierof S;then
java.lang.StringIndexOutOfBoundsException: Range [23, 2) out of bounds for length 60
proof
  let N such that
A1: N c= dom A and
A2:N  non empty
  rng Sgm N = N by FINSEQ_1:def 14;
  hence thesis by A1,A2,Th42;
endthus

theorem Th45:
  forN N c=dom A &N s  & dom A =dom B &for i st
i in (dom A) \ N holds Line(A,i) = width AA0 (,-termsnon-MSAlgebraoverSjava.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
  K holds Solutions_of(A,B) = Solutions_of(Segm(A,N,Seg width A), Segm(  K holds Solutions_of(A,B) = Solutions_of(Segm(A,N,Seg width A), Segm(B
widthjava.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11

let that
A1: N c= dom A and
A2: N is non empty & dom A=dom B & for i st i in (dom A) \ N holds Line(
  A,i) = width A |-> 0.K & Line(B,i) = width B |-> 0.K;
  rng Sgm N = N by FINSEQ_1:def 14;A3:a3by,: ;
hence thesisby ,2Th43
end;

theorem Th46:
  i in dom A & len A > 1c= (heofFreeS,)s
  (DelLine(A,i),DelLine(B,i))
proof
  assume that
: dom A and
:A>1java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
  reconsider l1=len A-1 as Element of NAT by A2,NAT_1:20;
A3: l1 > 1-1 by A2,XREAL_1:9;
A4: Seg len A=dom A by FINSEQ_1:def 3;
cardSeg=l1 FINSEQ_1
  then card ((Segroot-ree [,]inFreeGensX by MSAFREE:ef 15; then
  
:Solutions_ofAB)Solutions_of(SegmASeg A){i,SegwidthA,
  end;
  let x be object such that
:x in Solutions_of(,)java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
enB by  ().*,z*,f2 .*yz* by A4,ACIRC_1:
  then Segm(A,(Seg  let x be ;assume  inoA
 widthB=(Bi)by MATRIX1351java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39

;


  for A,B,i st i in dom A & len AA4:a in domthe_arity_of; then
holds Solutions_ofA,) =Solutions_of(
A6:((heSortsofA1) o. java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
proof
  let A,B,i such that
A1: i inthen
A2: len A > 1 and
:Ai  widthjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
 
A5 LineB=B .java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 32
  reconsider ''(java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 28
A6: l1 > 1-1 by A2  java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 19
thus ((,)c Solutions_ofDelLineAAi,(B,)  ,2
;
  java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 27
nSolutions_ofD(,i,i)
  set=Seg A
A1   s.  a2= .yz&a3  s.x
A9: now
    letreconsider java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 9
    assume j in (dom A)\(S\{i});
jin /i  BOOLE_148
thenj  { def4
widthA|>.  Bj  B | . A3A,
TARSKI:def 1;
  end;
ardS=l11by :java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
  then
A10: card (S\{i})=l1 by A1,A8,STIRL2_1:55;
  (ex mAend;
  len Bend;
  then
A11: len B=len A by A7,Th33;
  thennor2]&z <   Sbe;
  then
  Solutions_of(java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
  ,Seg width B)) by A8,A10,A6    let X be ManySortedSubset T;
    .= Solutions_of(DelLine(A,i),Segm(B,S\{i},Seg width B)) by MATRIX13:51
 Solutions_of(DelLine(A,i)DelLine(n] ='not a1'' not a2  Following(s,)[<y*>nor2]= 'not' a2 '&'
  hence thesis by A7;
end;

theorem
  for A be Matrix  nm, B be Matrixo n,, for P be Functionof
**) P -oone
  implies   set f1 = nor2, f2 = , f3=  set f1 = nor2, f2 = nor2, f3 = nor2
proof
 setIDn= n;
  len IDn= &IDn  FinSequence of NAT byCARD_1:ef 7FINSEQ_2:48;
 n-uples_on NAT by FINSEQ_2:2;
   
  let P be eeS);
: c eg  by ELAT_1:efjava.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
   IDn=eg n;
  then reconsider IDnP=IDn*end;
  dom P=Seg n by FUNCT_2:52;
  then n java.lang.StringIndexOutOfBoundsException: Range [11, 2) out of bounds for length 15
  then len IDnP = n by FINSEQ_1:def 3;
  then reconsider IDnP as Element ofDef10:
A2: =enA MATRIX_0:def 2;
 idseqn)P=P by ,RELAT_1:53;
  then
A4: rng IDnP c=dom A by A1,A2,FINSEQ_1:def    reconsider H=FreeGen X as non-GeneratorSet (,X
A5 IDn=Sgm Seg n & cardSeg      MSSubset of A1  Def7;then
  
Seg len A, A)   by ,
MATRIX13:33
 =*MATRIX134;
A7: len B=n by MATRIX_0:def 
  then
A8: Segm(B,IDnP,Sgm Seg width B) = Segm(B,Seg len B,Seg width java.lang.StringIndexOutOfBoundsException: Range [0, 63) out of bounds for length 11
MATRIX13:33
    .= B*  xinA1: x in  the   & ainthe SortsA0). CARD_52;
  per cases;
  suppose
A9: n>0;
henceABcSolutions_ofABP A6,8,,h42;
 card Seg n =card Seg ;
A11: encethesis
A12: dom B=Seg
    assume P is one-to-one;
    then P is onto by A10coherence
    then rng P=Seg n by FUNCT_2:def 3;
foristiin(omA  ng holds Line,)  width | 0.java.lang.StringIndexOutOfBoundsException: Range [77, 78) out of bounds for length 77
    (i   -0by A3,A11,:java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
    ;
  end;
  suppose
A13: n=0;
    then   coherence
    then
A14: B={};
    len A=0 by A13,MATRIX_0:22;
    
   reconsider x  SortSymbol of S by A1;
    A*P={} by A13;
    hence thesis by A15,A14;

end;

theorem Th49:
  for A be Matrix set ffs =Following(,2) fffs= java.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 49
Seg n,N) = 1.(K,n) & n > 0 ex MVectors be Matrix of m-'n,m,K st Segm(MVectors,
Seg (  coheA3  in InputVertices  byA1Th113
) &lforM    ,K fori inSeg  ejava.lang.StringIndexOutOfBoundsException: Index 78 out of bounds for length 78
j st j in Seg (m-'n) & Col(M,i) = Line(MVectors,j)  
  M in Solutions_of(A,0.(K,n,l  then(Followings).  a2
proof
    (S)  then
A1: card N = n java.lang.StringIndexOutOfBoundsException: Range [0, 18) out of bounds for length 11
:c Seg m 
A3assumeis XS-erms
A4: n>0;
  set SN=Seg m\N;
A5: m-'n=0 or m-'n > 0;
A6: card Seg m = m by
  then
:card SN byforbeingElement  tis Term of X
  set ZERO=0.(K,m-'n,m);
A8: SN c= Seg m by XBOOLE_1:36;
A9: now
    cases
    suppose
      m-'n=0;
      then Seg (m-'n) = {};
      then [:Seg (m-'n),N:] = {} & [:Seg (m-'n),SN:] ={} by ZFMISC_1:90;
      hence
[Seg(-n),N:c=ndicesZERO  [:Seg (-n)SN:cIndicesZERO;
    end;
    suppose
      m-'n>0;
      then Indices ZERO = [:Seg (m-'n),Seg m:] by MATRIX_0:23;

      [:Seg (m-'n),N:]c=Indices ZERO & [:Seg (m-'n),SN:]c=Indices ZERO by A2,A8
,ZFMISC_1:96;
    end;
  end;
   S(A nSN;
  card Seg n = n by FINSEQ_1:57;
  then
A10: len SAA:v in InputVertices  /  A14,45;
A11: len (SA@)=len (-SA@) & width (SA@)=width (-SA@) by MATRIX_1:def     thus ffs.
A12: width A=m by A4,MATRIX_0:23;
  Segmnc=Segm     ,,CARD_111java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
t
A13:        hence thesis byCIRCUIT2    t   FreeMSAXby MSAFREE331
  then
A14: m-'n=m-n by XREAL_1:233;
  then width SA=m-'
n by      theoremTh43java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
 lenSA)  '=  len(@=m-n  width (A)n by ,java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
5,def ;
  then -SA@={} &m-'
n=0 or t Elementof java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
thenreconsider@asMatrixof -n,,Kby MATRIX_013;
  set ONE= 1.(K,m-'n);
A15: N misses SN by XBOOLE_1:79;
[Seg(-n)N]/:eg m'
)SN]=[Seg (-n,/SN]byZFMISC_19
 [:Seg('n),{}:] by A15
. }by ZFMISC_1

Seg (m-n) = m     (heSortsofFreeS)java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
m-'
n) ,N:]/end
  Sgm ( Seg (m-'n))java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
FINSEQ_1:57forp ofdom 
  then consider V be   dom Followings   ;
-)N)=SAT and
A17: Segm(V,Seg    t|p  Element of ;
  for i,j st [i,j] in Indices Vjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
holds*i,j) = ZERO*(i,j) by A1,A9,A14,A7,Th9;
  m-'
n=0 or m-'n > 0;
then
  len ZERO=0 & m-'
n=0   Adder
MATRIX_0:23,def 2;
  then V={} & m-'n=0 or V is Matrix of m-'n,m,K;
  then reconsider V as Matrix of m-'n,m,K;
  take V;
  thus Segm(V,Seg (m      hence thesis by TREES_9:1;
let l;
  Mbestrictnon  
A18: for i st      2java.lang.StringIndexOutOfBoundsException: Range [17, 15) out of bounds for length 29
  Line(V,j)) or Col(M,i) = m|->0.K;
  set Z=0.(K,n,l);
A19: len M=m by A4,A13,MATRIX_0:23;
:width M=l by A4,A13,MATRIX_0:23;
< FinSequenceofNAT FINSEQ_136 
 width(*M)l by ,,ATRIX_3def ;
:java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 45
  then reconsider AM=A*M as Matrix  A6:lenp  q+byA5,:22java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
A22: Indices A=[:Seg n,Seg m:java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 56
  
 : ,]c A  ,96
  java.lang.StringIndexOutOfBoundsException: Range [5, 6) out of bounds for length 5
A24: Indices AM=Indices Z by MATRIX_0:26;
    let i,j such that
A25:      in [:the '
of{ ofS]byMSATERMdef6 
    reconsider I=i,J=j as Element  equals
A26: Indices AM=[:Seg n,Seg      by ZFMISC_1:ef java.lang.StringIndexOutOfBoundsException: Range [24, 25) out of bounds for length 24
    then
  java.lang.StringIndexOutOfBoundsException: Range [9, 9) out of bounds for length 0
A28 J inSeglby     **  tq   *  java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
java.lang.StringIndexOutOfBoundsException: Range [7, 8) out of bounds for length 7
perjava.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 27
      suppose
jjbe jjinSegm' CMJ LineV
then jj  Nat  that
A29:     java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
A30:      (,)=>        java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
 byA29,FINSEQ_2:49
.  (Seg (-n). by :48java.lang.StringIndexOutOfBoundsException: Range [48, 49) out of bounds for length 48
A32:    Indices ONE=[:Seg (m-'
n),Seg (m-'n):] by MATRIX_0:24;
        then
A33:  [<*,y*,xor2] /{GFA3AdderOutput(xy,)
A34:     SNSN FINSEQ_1def 14;
A35:    dom        A13,MSAFREE:ef ;then
        then
A36:    Sgm SN.jj in SN by A29,A34,FUNCT_1: reconsider r = {} as Element of dom tq by TREES_1:22;
        then
 (,)(Sgm SN.jj)A*ISgmSN. by A12,,MATRIX_0:def 7;
A38:    m-'
nA18:  tp=arg.a) &a1in arg by Lm2,A10,TREES_4def 4
        then
Vm MATRIX_0:3
        java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
A40:    Line(V,jj).(SgmA19   inproduct(theSortsofA*he_arity_of o FINSEQ_2:  
          .ONE(,)byA17,A31AMATRIX13def1
          .= 1e Sortsof A*the_arity_of o) = dom the_arity_of o
)  java.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 46
:=.byFINSEQ_2java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
          .= Sgm (Seg n).I by FINSEQ_3:48;
        len Line(V,jj)=m by A39,MATRIX_0:def 7;
        then len mlt(Line(A,I),Line(V,jj))=m by A41,MATRIX_3      by,Lm2,A20,UNCT_1:12;
        then
A21:[from ch (,)

A44:    mlt(

          .= (A*(I,Sgm SN.jj))*1_K by A12   GeneratorSet java.lang.StringIndexOutOfBoundsException: Range [33, 34) out of bounds for length 33
          .=A*(I,Sgm SN.jj);
:IndicesV=Indices ZERO &rng Sgm Seg(m-'n)=Seg(m-'n)
        by FINSEQ_1:def 14,MATRIX_0:26;
A46:    rng Sgm N=N by FINSEQ_1:def 14;
A47:    rng Sgm Seg n=Seg n by FINSEQ_1:def 14;
A48:    now
          let kk set S0 = GFA0AdderStr
A49:      kk in Seg m and
      > SNjj and
      <SgmN.java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
          now
          java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 44
            java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 30
             kk;
              then consider x being object such that
A52:         xindomSgm N and
CT_1:def 3;
              reconsider x as Element of NAT by A52;
A54      (he   ) c=(he  S) byjava.lang.StringIndexOutOfBoundsException: Range [65, 64) out of bounds for length 78
:
[( .Sgm.]inIndicesAbyA22,A42A,,
ZFMISC_1:87;
              then
A55   by:def ;then
x  A49: java.lang.StringIndexOutOfBoundsException: Index 79 out of bounds for length 79
                .= Segm(A,Seg end;
                .= 0.K by A3,A51,A53,A55,MATRIX_1:def 3;
              hence mlt(Line(A,I),Line(V,jj)).kk = 0.K olds ohecarrierS-p
,A39,A49,A53,: GFA3Adder:Stabilityofthe      let o be OperSymbol of S;
                .= 0.K;
            endassumeA6   beingTermofS  t inrng pholdsPjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
s  for x,y,z being s stz> [*x,y*> xor2 for being of
       ohecarrierof]-eep  )r then
              consider being object uchthat
:xindom SN 
      isSubtreeSeqofoX)byMSATERM:def ;then
              reconsider
A58:
;
A59:          [jj,x] in Indices ONE by A29,A35,A32,A56,ZFMISC_1:87;
              (,jj.(gmSNx)  V*jjSgm SN.x  A49,,
MATRIX_0:def 7
                .= ONE*(jj,x) by A17,A31,A59,MATRIX13:def 1
                .= 0.K by A50,A57,A59,MATRIX_1:def 3;
              hence mlt(Line(A,I),Line(V,jj)).kk = (A*(I,Sgm SN.))*0. by A12
,A39,A49,A57,A58,FVSUM_1:61
                .= 0.K;
            end;
         ;
L(,)V).=0;
            end;
        dom Sgm N=Seg n by A1,FINSEQ_3:40;
        then
A60:    Sgm N.I A17       domjava.lang.StringIndexOutOfBoundsException: Range [34, 30) out of bounds for length 38
        then
A61:    Sgm SN.jj <> Sgm N.IofGFA3AdderCirc(xy,z)for,2        (e_arity_ofo.  rngthe_arity_of &rngthe_arity_of oc
        [Sgm (Seg n).I, =s.y  =s.  Following(s(x,y,z) = a1 'xor' a2
        then
A62    II] IndicesSegmA n)xora3 Following(,)[<*y*xor2] a1 xora2&Followings2.  a1
        Indices V=[:Seg (m-'   by A18A17FUNCT_11;
        then java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
     p  (the SortsofG*o.x
        then
A63:    [jj,I] in Indices Segm(V,Seg(m-'
n),N) by       q=pasElementofArgso G byA12A16,14
A64:    Indices SAT= Indices (SA@) by Lm1;

A65:    [I,jj] in Indices  set      java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 59
    V,j.Sgm.I  (,N.I) byA2,A60MATRIX_07
=(x,;B oby:,9java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
          .= -((SA@(xy,)
. *java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 47
. (*ISgmSNjj) yA1AA7,:13 
:A)( .I=A(, .I byA2,A12AMATRIX_0end
. ASegn*I)by ,62, 
          .= 1_K by A3,A62,MATRIX_1:def 3;
        mlt(Line(A,I),Line(V      (,A  theSortsofA.  :13java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
S.IA243A60: 6
          .= 1_K*(-(A*(I,Sgm SN.jj))) by A2,A12,A39,hence[,theofS-pin(SortsofGenMSAlg)java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
          .= -(A*(I,Sgm SN.jj));
        then A25 t  SXholdsP MSATERMsch(A2A5);
) A2,A8A43,A60,A36,44A61,,Th7
          .= 0.K by VECTSP_1:16;
        Z*, Line,)*ine,jjbyA25A24,:
          .= AM*(i,j) by A12,A19,A25,A30,MATRIX_3:def 4;
      end
      
        Col(M,J) = m|->0.K;
        hence AM*(i,j) = Line(A,I)"*"(m|->0.K) by A12,java.lang.StringIndexOutOfBoundsException: Range [0, 57) out of bounds for length 46
          . 0K*java.lang.StringIndexOutOfBoundsException: Range [51, 27) out of bounds for length 51
          .= 0.K*Sum(          reconsider y as  theSortsofA.java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
          .= 0.K
          .= Z*(i,j) by A25,A24,MATRIX_3:1;
      end;
    end lets Elementof theof (,).;then
    AM(i,j) = Z*(ij;
  end;
  then AM        java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 12
  thesisA12java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 34
end;

theorem Th50:
  for A beforTbeingfree_in_itselfempty(,)termsMSAlgebraoverS
& N c= Seg m & n>0 & Segm(A,Seg n,N) = 1.(K,n) java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 48
java.lang.StringIndexOutOfBoundsException: Range [6, 5) out of bounds for length 79
  )
:=======   java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 34
  let A be Matrix of n,m,K, B be Matrix of n,l,K, N such that
 N 
 c=  and
 n0and
A4: Segm(A,Seg n,N) = 1.(K,n);
A5: width Adreconsider H  asemptyGeneratorSetofFreeSXjava.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
  set Z=0.(K,m,l);
  set SN=Seg m\N;
:Segmmby
  
A7: m-'n=m-n & card SN=m-n by A1,A2,CARD_2:44,NAT_1:43,XREAL_1:233;
setZERO==0.(,m'
n,);
A8 N misses SNby XBOOLE_1:;
\:, l]=[N/N,egl by ZFMISC_1:
    endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
 :;

  i,,,cicj be   [i,]in[N l  x,zbe setjava.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
Sgm N   is_epimorphismFreeSX)A2java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
  bi,bj) = ZERO*(ci,cj);
A10: Indices A=[:Seg ncoherencejava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
  =cardSeg   A1ANAT_143;
  then
A12: len Z=m & width Z    set f = canonical_homomorphism:---------------------
A2   FreeSX:GFA3 Combined:Carrier,nnerVertices  InputVertices
 java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
 f$=1
:SNc=SegmbyXBOOLE_136
 cardSeg l= &[SN,Seg l]c= Indices Z by A13,INSEQ_1:57,:;
  then considerjava.lang.StringIndexOutOfBoundsException: Range [0, 16) out of bounds for length 9
A16: Segm(X,N,Seg l) = B and
A17: Segm(X,SN,r -  asTerm SXby MSATERM:4;
  forijst[,]in \[NSeg ]/SN,l]holdsX(,
= *i,j)byA1A,,A14,9T;
  set      the Sorts ofAis MSSubseto (,X  java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
  = yA3A116MATRIX_023java.lang.StringIndexOutOfBoundsException: Range [38, 39) out of bounds for length 38
  then
A19: dom X=Seg m by FINSEQ_1:def 3;

  then
A20A5   the_sort_of t  &s=the_sort_ofbyMSATERMdef 5,14java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
  take X;
   (S, l    (X,N,egl = Bby A16A17
ndices =Segm,l]A3A11,M:;
A22: width B=l by A3       .)( X.s)-ee[,] froot-ee[,sjava.lang.StringIndexOutOfBoundsException: Range [67, 68) out of bounds for length 67
 A8.-ree v,=((FreeGen X)).v,sjava.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
     set   BitGFA3Str(x,y,z)java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
t A;
A24: Indices B=[:Seg n,Seg   ofS  java.lang.StringIndexOutOfBoundsException: Range [53, 52) out of bounds for length 67
java.lang.StringIndexOutOfBoundsException: Range [5, 6) out of bounds for length 5
:[NSeg :]   by ,ZFMISC_1;
    let    proof
[i]in ;
    reconsider I=i,J=j as Element of NAT byletp beArgumentSeqofSymoX;
A27: Indices AX=Indices B by MATRIX_0:26;
    then
A28: i in Seg n by A24,A26,ZFMISC_1:87 [,  S]-reep(SortsofA.;
enLine(,i=m &len (,)mbA5C 7;
    then len mlt(Line(A,       : 21 

A29: dom mlt(      by MSAFREE:def12,endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
A30: rng Sgm (Seg l)=Seg l by FINSEQ_1:def 14;
A31: rng Sgm (Seg n)=Seg n & [:Seg n,Njava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
by,,: 14,ZFMISC_1:5;
A14:   (the Sorts ofA)sc (he  ofFree(,))sby PBOOLE:ef,def 18;
    dom Sgm=Seg n  ,INSEQ_3:40;
    then
: .N,32,FUNCT_1def3;
  inSeg l  A22,,A27,ZFMISC_1:;
    
   i l)j byFINSEQ_249
     =Sgm (egl. by FINSEQ_3:48;
    then [Sgm N.I,Sgm(Seg l).J] A18    in Args(oA  (,).=DenoFreeSX)p
    then
A36: [I,J] in Indices B by A16,A32,A30,A25,MATRIX13:17;
;
:  idseq n).i by A28FINSEQ_249
.  .java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
    then [Sgm (Seg n).i,Sgm N.i] in Indices A by A2 :PRALG_23java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
    then
A39:II]in_arity_of ). the_arity_of )  p0i in rngp
 :, l: =IndicesXbyA15A21Z95;
A41: now
  Nat 
A42:  kk in Seg m and
A43:  kk        hence q = (.to/i).p0)by ,,A23java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
         A42,: 5;
      suppose
A44:    kk in N;
        then consider x being object such that
     dom Nand
A46:    Sgm N.x=kk by A32,FUNCT_1:def 3;
reconsiderx Element of   ;
[Sgm
:87;
        then
 [java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
A48    Col      s    SortSymbolof;
xA44,: InputVertices
          .= (Segm(A,Seg n,N))*(I,x) by A4,A38,A47,MATRIX13:def 1
              (   ).; then
        hence
        mlt(Line(A,i),Col(X,j)).kk = 0.K*(  nor2]&y        Term ofSX ;then
FVSUM_1:61
          .      the  ofAis SSubsetof (,)  Def6 then
      end;
      suppose
A49:    kk in SN;
        then    
A50:    x in dom Sgm SN and
A51:    Sgm SN.x=kk by A37,FUNCT_1:def 3;
        reconsider  as Element of NATbyA50;
(I SN. byA42,,ATRIX_0def;
        [Sgm SN.x,Sgm (Seg l).J] in Indices X by A15,A21,A34,A35,A49   S1= java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 31
ZFMISC_1:87;
        then
A53:    [x,J] in Indices ZERO by A17,A30,A37,A40,MATRIX13:17;
ColXj.k  *(Sgm ., (l.)by ,FACIRC_1:;
MATRIX_0:def 8
= ZERO*xJ by A17,MATRIX13: java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
          .= 0.K by A53,MATRIX_3:1;
        hence
        mlt(Line(A,i),Col(X,j)).kk = (      thentheorem Th130:
:
          .      then
      ;
    ;
A54 Col(,j)(A1:   f*. fs)f)&dom fs  theSortsof(X).java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
      .=B*IJ by A16,A35,MATRIX13:def ;
Line(,i)( NA)s=( Sorts  (,X).
      . Segm(, n)*II by A4,,39MATRIX13:ef 1
      .= 1      then
    then
A55: mlt(Line(A,i),Col(Xnow let y be object; assume
61
.*,J;
    AX*(i,j) = Line(A,i)"*"end
      .= Sum(mlt(Line(A,i),Col(X,j
    henceAX*,j)=B*i,)by ,A33A55,,A41:
  end;
   =  java.lang.StringIndexOutOfBoundsException: Range [26, 23) out of bounds for length 27
  hence thesis by A5,A22,A18,A23;
end;

em Th51:
  for A be Matrix of 0,n,K, B be Matrix of 0,mnowVerticesxy) {,z byTh130java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53

  let A be Matrixthe Sortsof  by 
A1: len A=0 by MATRIX_0:def 2;
A2: Solutions_of(A,B) c= {{}}
  proof
    let x be object;
    assume x in Solutions_of(A,B);
    java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
 x=byMATRIX_0:java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
    hence thesis by TARSKI:def 1;
  end;
  len B=0 by MATRIX_0the carrier of BitGFA3Str(x,,z)&[*,y>proof
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
A3: B={} & width B=0 by MATRIX_0:def 3;
 = , ;
  then len (Aletvof.java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
  then A*A={};
  then A in Solutions_of(A,B) by A1,A4,A3;
  hence thesis by A2,ZFMISC_1:33;
end;

theorem Th52:
  for B be Matrix of K st Solutions_of(0.(K,n,k),B) is A7 treev  X. byjava.lang.StringIndexOutOfBoundsException: Range [54, 53) out of bounds for length 61
  holds B = 0.(K,n,width B)
proof
  set S1 =GFA3AdderStr(x,y,);
  set A=0.(K,n,k);
  set ZERO=0.(K,n,width B);
  assume Solutions_of(0.(K,n,k),B) is non empty;
  consider being  that
: Solutions_of0.,,)B
A2::for  Sp
A3: dom A=Seg n;
A4: len ZERO=n by MATRIX_0 proof
  then
A5: len B=len ZERO by A1,A2,Th33;
  then reconsider B9=B as java.lang.StringIndexOutOfBoundsException: Range [0, 32) out of bounds for length 16
:ex X  Xx &len X    &width X  width B  A  X  by ;
  now
    let i such that
:1<&i=;
A8: width A=k by A7,MATRIX_0:23;
A1:DenOpo )p=oX- p  .   )
    then Line(A,i) = A.i by MATRIX_0:52
      .= width A|->0reconsider  ,X)-tree as ofSX
|>0.  (i by ,A3A,41
      .= A16       Sorts. =t java.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 59
henceBi.by,:;
  end;
     x, being   [*,*>xor2]in A18:       s = the_result_sort_of o by A13,A16,MSATERMjava.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 61
end;

theorem Th53:
  for A be Matrix of n,k,K, B be Matrix of n,m,K st n > 0 holds x
  in Solutions_of(A,B) implies x A26       #0 by A21,:;s=(,,java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
proof
   of n,Kjava.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
 >0java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
  java.lang.StringIndexOutOfBoundsException: Range [6, 7) out of bounds for length 6
:width Ak&width B=  MATRIX_0:;
  xinSolutions_ofAB);
then ex X st X=x & len X = k & width X = m &A   by
  hence thesis by MATRIX_0:51;
end;

java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 13
  n > 0 &           C=.: st ><y*  <<z>or2&y
  the set of all X where  <[zx,    <,*,] xin  (java.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77

t
A1: n > 0 and
A2: k > 0;
  set B= by EQUATION7
A3: java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 5
  set XX=the set of all X where X is Matrix of k,m,K;
  set A=0.(K,n,k);
 (AB = 
  proof
let x be object;
    assume x in Solutions_of(A,B);
    then x is Matrix of
    hence thesisforset =BitGFA3Strx,,;
  endt TermAlg,s
  let x be object;
  assume x in XX;
   be kmnd
A4: x=X;::: and
  ::::not contradiction;
A5:width = &Xkby ,,:3;
A6: width X=m by A2,MATRIX_0:23;
  len A=n by A1:----------------------------------
  forsbeing SortSymbolof java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
  hence thesis by A4,A3,A5,A6;
endlet x,, be ;

theorem
  n> &Solutions_of(0(K,,0)0.(,,) is non empty    0
proof
  assume that
 n[[xy>or2[y*,,**,]>nor3;
A2: Solutions_of(0.(K  coherence
    being  proof
3 in Solutions_of(.(,,0,e BitGFA3Str(yz
A4: width    hencethesis;
  ex X st   ex X st X
  n,0) * X   for being -  overS
end;
. mby A1,:23;
;

theorem   let x,y,  ;
  Solutions_of(0.(K,n,0),0.(K,n,0)) = {{}}
proof
  per cases;
  suppose
n
    hence thesis by Th51;
   let  be non-MSAlgebra overSjava.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
  suppose
:>;
     B0K,)
    A0(n)
reconsider ={ asMatrix of 0,,Kby :java.lang.StringIndexOutOfBoundsException: Range [54, 55) out of bounds for length 54
A2: width A=0 by A1,MATRIX_0:23;
    then
3 for ,jstijin Indices B     assume A4:=othecarrierof ]reea1java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
A4: : GFA3 CombinedStability     hbe  S ;
    proof
      let x be object;
      assume x in Solutions_of(A,B);
      then reconsider X=x as Matrix of 0,0,K by A1,Th53;
      len X=0 by MATRIX_0:def 2;
      then X={};
       z)for a1,2,3being Element    =s.&a2 =sy&a3=.
           (Sorts  TermAlg .  A8,FUNCT_1:,PRALG_23 then
A5:lenE0
A6: width E=0 by MATRIX_0:24;
    then
A7: width (AA11 s java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 55
=(.(the_arity_of/n)b1)byA11A,,6java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
    then len (A*E)=n     = h.s.(Den(o,TermAlg.s(ojava.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 51
    then A*E=B by A8,A2,A7,A3,MATRIX_0.Deno )(h#by,def6
    then E in Solutions_of(A,B) by A2,A5,A6;
    hence thesis by A4,    .= h.s.(t1 '=' t2)`2 byINSTALG1
  end;
end;

:

scheme
  GAUSS1{ K
  Matrix of n(,9(,(),F(Matrix of n()m9()K(,at,at,Element of ()-
  ofn)m9(,(,Psetset] ex A9Matrixof(,(,) java.lang.StringIndexOutOfBoundsException: Range [74, 73) out of bounds for length 76
_ finite Subset of NAT st N c=Seg m)
Ajava.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
(A9,Seg card N     (,,)
) <> 0.K()   
0.K(
itateA;
  j) = 0.  let beT  let a1,a2,a3 be ofBOOLEANjava.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
provided
:[)B]and
A2java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
,],   >:java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 13
l     thecarrierS1asofby26java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
proof
  defpred PP[FinSequence of NAT,Nat,Nat, Matrix  forbeofG Sorts B
$1/.$2) <> 0.K() & ( $3 in dom $  exhbe ofA Bst
dom $1 \ {$2} implies $4*($3,$1/.$2) = 0.KA8: a3 =s1  A6A7,UNCT_1:java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
  /.$2 implies $4*($2,$3) = 0.K());
  set r = the_rank_of A();
  ex A9 be   attr A is T-free means
& r = the_rank_of A9 & (for   ex being GeneratorSet ofAstGisT-java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
0.K
  ())& ex   let S;
  reconsiderbeMSAlgebraoverSjava.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
  proof
    per cases;
    suppose
A3:   n()=0;
    take A9=(,9=(;
      dom A9=Seg len A9 & len A9=0 by A3,FINSEQ_1:def 3    f1.=   inthe carrier S2byTh111;
      hence P[A9,B9] & r =     2s={e  e isElementof(quationsS.:A| }
      Line(A9,i)=m(        beobject xinthe carrier of S then
      take <*>NAT;
= A3,:22;
            .=f2xbyA4;
    end;
    suppose
:   n(>;
      defpred Q[Nat] means $1 <= m() implies ex A9 be Matrix of n(),m(),K(theorem Th54:
      B9 be Matrix of n(),m9(),K() st P[A9,B9] & r = the_rank_of A9 & ex f be
FinSequence of NAT st (for i,j st   A | (S,)
,j)=0.K())& f is one-to-one   roof
      i,    let AMSAlgebraoverS
A5:   for n st Q[n] holds Q[n+1]
      proof
        let n such that
A6:     Q[n];
setn1n+java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
        assume
A7:     n1<=m();
        then consider
        A9 be Matrix of n(),m(),K(),B9 be Matrix of n(),  let Abe non-mptyMSAlgebra over ;
        that
A8:     ( P[A9,B9])& r = the_rank_of A9 and
A9:     ex f be FinSequence of NAT st (for i,j st [i,j  proof
&i>len f&j<=n holds A9*(i,j)=0.ASA-
rng f c= Seg     hence thes;
        consider f  FinSequence ofNAT
A10:    for i,j
A11:    f is one
:lenf=n and
:<)
A14:    rng f c=Seg n and
A15:    forFxs Rxs java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
        per cases;
        supposejava.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 66
A16:      for i,j st [i,j] in Indices A9 & i>len f & j=n1 holds A9(,)
          ,j)=0.K();
A17:      nowjava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
l j that
A18[j Indices A9&ilenf
:j=
< or jn 8java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
hence(j=.)A16;
          end;
nn113java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
          then Seg n c= Seg n1 by FINSEQ_1:5;
          then
A20:      rng f c= Seg n1 by A14;
          len f <=n1 by A12,NAT_1:12;
          hence thesis by A8,A11,A13,A15,A17,A20;
        ;
        suppose
           i, st[i,] in  A9&i>j<0K)
          then A14: a2 = s2.y by A5,A1FUNCT_1:;
A21:      [i0,j0] in Indices A9 and
A22:      i0>  x in the carrierofS2by ;
      = and
A24          yas byA11;
,Segm)]byA4MATRIX_023;
          then
A26:      n1 in Seg m()           reconsidernas ElementofNATbyORDINAL1def12java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
A27          thenreconsider S)X  ,java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
          then
A28:      i0<=n()java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
A29:      len f+1<=i0 by A22,NAT_1:13         |  java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 71

:+  (
defpred[]$<nimpliesexben)m)(
, B9end;
n1) <> 0.K() & (for i,j st [i,j] in Indices        
K())& (for i,j st i in dom f holds PP[f,i,j,java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 28
          1} &           let x be object; assume
A31:A31:      x in rngpjava.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
          n<=m() by A7,NAT_1:13;
          then
A32:      Seg n c= Seg m() by FINSEQ_1:5;
A33:      Seg len f c=Seg n() by A13,FINSEQ_1:5;
A34:      for k st QQ[k] holds QQ[k+1]
          proof

A35:reconsider = { asElementof tnby TREES_122;
=kjava.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
            assume k1<=n();
            then consider
AAbeMatrix  n)m)K(,BBbe Matrix of n)m9 ,Kjava.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69

A36:        P[AA           x Subtrees  &Subtrees tc=Subtrees t2 by A18,TREES_9:3;
A37:        r = the_rank_of AA and
A38end;
A39:        for i,java.lang.StringIndexOutOfBoundsException: Range [0, 19) out of bounds for length 12
            i,j)=0.K() and
A40:        for i,j st A20:xindom;
A41:        for j          then
;
            now
              per cases;
              suppose
A42:            k1=len f+1;
                take RA=AA,RB=BB;
                now
                  let j such that
A43:              j in dom RA \ {len f+1} and
A44:              j<=k1;
                  j <> len f+1 by A43,ZFMISC_1:56;
                  then j<k+1 by A42,A44,XXREAL_0:1;
                  then j<=k by NAT_1:13A25       t t2r2by A9;
                  hence RA*(j,n1) = 0.K() by A41,A43;
java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
hence A36A37A38,,
              end;
              suppose
A45:            k1<>len f+1;
                set LA=Line(AA,k1);
                set LAf=Line(AA,len f+1);
                set a=AA*(len f+1,n1);
                set RA=RLine(AA,k1,LA + (-(AA*(k1,n1))*a")*LAf);
A46:            width AA=m() by A4,MATRIX_0:    end;
                
A47:            len (LA+(-(AA*(k1,n1))*a"
)*LAf)=m()by CARD_1:def 7;
:java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 53
thenlen 1n1 IndicesAAbyA25A30,,:7
then
t f=Subtreesroot-reexs  A27;
A50:            Indices A9=Indices RA by
A51:            now
letjthat
 and
A53:              i>len f and
  s=java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
                  now
                    per cases;
                    suppose
A55:                  i = k1;
A56:                  j in Seg m() by A25,A50,A52,ZFMISC_1:87;
                      then len f+1
,end
                      thenA29 for beingOperSymbol S,p  ArgumentSeq SymoX) st
                      then LAf.j=0.K() by A46,A56,MATRIX_0:def 7;
                      then
:((-AA(,n1)). = (-(AA*(k1,n1)*a)*0.
                      K() by A46,A56,FVSUM_1:51
                        .= 0.K();
                      LA.j = AA*(k1,j) by A46,A56,MATRIX_0:def 7
                        .= 0.K(      ex f beingFunction,t   ofS)X)
                      then 0.K()+0.K() = (LA + (-(AA*(k1,n1))*a")*LAf).j by A46
,A56,A57,FVSUM_1:18
                        .= RA*(i,j) by A48,A50,A46,A47,A52,A55,MATRIX11:def 3;
                      hence RA*(i,j) = 0.K() by RLVECT_1:def 4;
                    end;
                    suppose
                      i<>k1;
                      hence RA*(i,j) = AA*(          java.lang.StringIndexOutOfBoundsException: Range [41, 42) out of bounds for length 41
MATRIX11:def 3
                        .= 0.K() by A39,A48,A50,A52,A53,A54;
                    end;
                  end;
                  hence RA*(i,j)=0.K();
                end;
                set RB=F(BB,k1,len f+1,          [,]by ,java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
                  set A1 = GFA3AdderCirc(x,y,z);
A58:            width RAA37:     x  rng  & y  rng g;
A59:            len AA=n() by MATRIX_0:def 2;
A60:            now
A61:              dom AA=Seg len AA by FINSEQ_1:def 3;
                  let j such that
A62:               in dom  \{len +}and
A63:              j<=k1;
                  j in dom RA by A62,XBOOLE_0:def 5;
                        defpred S[objectobject means ex I   stI=$;
A64              jn1] n IndicesAA by A26A48,A50,A58,ZFMISC_1:87;
A65:              dom RA=Seg len RA & len RA=n() by FINSEQ_1:def 3
,MATRIX_0:def 2;
                  now
                     java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 45
                    suppose
A66:                  j<=k;
                      then j<k1 by NAT_1:13;
hence*,) =*jn1)y ,A64,: java.lang.StringIndexOutOfBoundsException: Index 78 out of bounds for length 78
                        .then      that
end;
                    suppose
A67:                  j=k1;
          .=a  A26,A46,:ef ;
                      then
A68:                  ((-(AA*(k1,n1))*a"
)*LAf).n1=(-(AA*(k1,n1))*a")*a
                      by A26,A46,FVSUM_1:51
                        .= ((-(AA*(k1,n1)))*a"
)then[,y.z] inf1 by ,TARSKI:ef4;
                        .= (-(AA*(k1,n1)))*(a"*a ) by GROUP_1:def 3
                =(-AA*k1,1)*_K( by A38,:ef 
                        .= -(AA*(k1,n1));
n1) A26,A46,MATRIX_0:def 7;
                      then (LA + (-(AA*(k1,n1))*a"
)*LAf).n1 = AA*(k1,n1) + (-
                      (AA*(k1,n1))) by A26,       dom f1misses  ({t}->fp)
                        .= 0.K() by VECTSP_1:19;        
                      hence RA*(j,n1)= .K() by A46,47A64,67,: 3
;
                   ;
                  end;
                  hence RA*(j,n1) = 0.K();
                end;
            = AAbyFINSEQ_1: java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
A70:            nowconsidery  that

:iin ;
fifijava.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
A72:              fi=f.i & f.i in rng f by A71,FUNCT_1:def 3,PARTFUN1:def 6 A,A50:1,java.lang.StringIndexOutOfBoundsException: Range [53, 52) out of bounds for length 59
                  then
A73:              fi in Seg n by A14;
A74:              len f+1>java.lang.StringIndexOutOfBoundsException: Range [0, 29) out of bounds for length 12
                  [len f+1,fi] in Indices AA & LAf.fi=AA*(len f+1,fi) by A25
,A52       }java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
                  then LAf.fi=0ree )  {Symo()-tree}byTh4java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
                  then
A75:              ((-(AA*(k1,n1))*a")*LAf).fi =(-(AA*(k1,n1))*a")*0.K()
                  by A32,A46,A73,FVSUM_1:51
. .K(;
                  LA.fi=AA*(k1,fi) by A32,A46,A73,MATRIX_0           root- [,] in Subtreest;
then
 (+-(,n1*"*.  * ,fi)K,A46
,A73,A75,FVSUM_1:18
                    .= AA*(          .- s (,;
A77:              [i,fi] in Indices AA by A25,A32,A33,A31,A48,A71,A73,
java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 12
                  now
                    per cases;
                    suppose
                      i<>k1;
                      then RA*(i,fi)=AA*(i,fi)by A46,A47          let be object assume  in rngp/ om; then
                      hence   rng   p c= S)) d ;
                    ;
          
in   =y A55:;
                      then RA*(i,fi)=AA*(i,fi) by A46,A47,A77,A76,
 
java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 58
                    end;
                  end;
                  hence RA*(i,fi) <> 0.K()& (j in dom f        o,)  (,X)   p0 TREES_4:;
                  /.j) by A15,A71;
                  thus j in dom f \ {i} implies RAA59     p0  p&o0   by XTUPLE_0:1;
                  proof
                    assume
A78:                j in dom f \ {i};
by: ;
                    
A79:               jfi in IndicesAA  A25A33,48,A73,ZFMISC_187;
                    per cases;
                    suppose
                      j<>k1;
                      hence RA*(j,fi) = AA*(j,fi) by A46,A47,A79,        then reconsider  asnon - FinSequence;
                        .= 0.K() by A40,A71,A78;
                    end;
                    suppose
A80:                  j =let   zinY
                      hence
                      RA*     s|he carrier of S2 as State of A2 by FACIRC_12;
MATRIX11def
                        .= 0.K() by A40,A71,A76  Following(2,2)is stable by A2,Th118;
java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 6
                  ;
thus  width  j < f/.i implies RA*(,) =0.K(java.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
                  proof
                    assume that
                  Seg width RA and
:                 f/.;
A83:                [len f+1,j] in Indices AA by A30, thenW =
ZFMISC_1:87;
A84:                [i,j] in Indices AA by A33,A31,A59,A69,A46,A58,A71,A81,
ZFMISC_1:7;
                    per cases;
                    suppose
                      i<>k1;
                      hence RA*A67:zin Subtrees  by ;
                        .= 0.K() by A40,A46,A58,A71,A81,A82;
                    end;
                    suppose
A85:                  i = k1;
                      fi <= n by A14,A72,FINSEQ_1:1;
                      then
:j <   A82,:2;
                      len f+1 > len f by NAT_1:13;
                       .(  ( f,)by A39,A83,A86
                        .= LAf.j by           hence thesis by A67,:ef4
                      then
A87:                  ((-(AA*(k1,n1))*a")*LAf).j = (-(AA*(k1,n1))*a")*0.
                      K() by A46,A58,A81,FVSUM_1:51
                        .= 0.K();
                      LA.j = AA*(i,j)by A46,A58,A81,A85,MATRIX_0:def 7
                        .= 0.K()by ,,58A71,81A82;
                      then (LA + (-(AA*(k1,n1))*a")*LAf).j = 0.K()+0.K() by A46
,A58,A81,A87,FVSUM_1:18
                        .= 0.K() by RLVECT_1:def 4;
                      hence thesis by A46,A47,A84,A85,MATRIX11:def 3;
                    end;
                  end;
                end;
A88:            len f+1 in Seg len AA by A4,A30,MATRIX_0:23;
                
A89:            r=          then consider h being (Element of rng p), r being Element of dom h
                P[RA,RB] by A2,A36,A45,A88,A69;
                hence thesis by A89,A49A72:       root- [,s]= h|;
              end;
            ;
          reconsider asTerm of (,(;
          end;
      j0   ( by A25,FMISC_1:87;
          ex A9 be Matrix of n(),m(),K(), B9 be Matrix of n(),java.lang.StringIndexOutOfBoundsException: Range [0, 64) out of bounds for length 26
P[A9A74:ain   &   p.  FUNCT_1:def 3;
Indices A9 & i>len f &jI         reconsider a  Natby ;
          PP[f,i,j,A9]
          proof
             cases;
            suppose
              A9*(len f+1,n1) <> 0.K();
              hence thesis by A8,A10,A15;
            end;
            suppose
A91:          A9*(len f+1,n1) = 0.K();
              set RB=F(B9,len f+1,i0,1_K());
              set LA=Line(A9,i0);
             et L(A9,f+;
              set RA=RLine(A9,len f+1,          by TARSKI: 1FUNCT_11
ke ,RB;
              i0 in         end;
,ZFMISC_1:87;
              [,o1,X())-tree p t /Subtrees   by;
MATRIX13:92;
A92:          1_K()*LA=LA & len (LAf+LA)=width A9 by         then (rng p)\dom  c=dom f1 by A42,A61;
              [len f+1,j0] in Indices A9 by A25,A30,A90,ZFMISC_1:87;
              then
A93:          RA*(len f+1,n1)=(LAf+LA).n1 by A23,A92,MATRIX11:def 3;
A94:          width A9=m() by A4,MATRIX_0:23;
              then
  LAn1=*i0,n1 by A23,90MATRIX_0: 7;
              LAf.n1=0.K() by A23,A90,A91,A94,MATRIX_0:def               LAf.n1=0.K() by A23,A90,A91,A94,MATRIX_0:def 7
i0,)by ,94A93,95,
FVSUM_1:18
                .= A9*(i0,n1) by RLVECT_1:def 4;
               *len+1n1)>.( by ,24
A96:          Indices java.lang.StringIndexOutOfBoundsException: Range [0, 24) out of bounds for length 14
              now
                let i,j such that
A97:            [i,j] in Indices RA and
A98:            i>len f and
java.lang.StringIndexOutOfBoundsException: Range [5, 3) out of bounds for length 21
A100:           j in Seg m() by A94,A96,A97,ZFMISC_1:87;
A101:           i>=len f+1 by A98,NAT_1A9 the carrier mg&   g. by 83FUNCT_1:f ;
                now
                  per cases by A101,XXREAL_0:1;
                  suppose
                   lf+java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
                    hence RA*(i,A87:       rng p1 c= Subtrees t1  )d f=rng 
                      .= 0.K() by A10,A96,A97,A98,A99;
                  end;
 suppose
:i=len +;
A103:               [i0,j] in Indices A9 by A25          then
A104:              LAf.j=A9* len +,j &LA.=*i0,) by ,A100,
MATRIX_0:def7
                    RA          . F(,fp1)  A86,,ALGSPEC1:2;
                    hence RA*(i,j) = A9*(len f+1,j)+A9*(i0,j) by A94,A100        ;
FVSUM_1:18
                      .= 0.K()+    end;
                      . .(+K) A,,
                      .= 0.K() by RLVECT_1:def 4;
                  end;
                end;
                hence RA*(i,j)=0.K();
              end;
              hence
for i,j st [ij in Indices RA &i > len f&j<=n holds RA*(i
j  .)java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
              let i,j such that
A105:         i in dom f;
              i <= len f by A31,A105,FINSEQ_1:    then a in  of S1 or a A:dom F =S(-erms ( java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
              java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
A106:         i<len f+1 by NAT_1:13;
             /.=.i &fiinrngjava.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 75
              then
A107:         f/.i in Seg       hus   isfunctional
              then [i,f/.i] in Indices A9 by A25,A32,A33,A31,A105,ZFMISC_1:87;
              then RA*(i,f/.i)=A9*(i,f/.i) by A92,A106, then  x0    that
               *i/.)>.()(  dom   i< implies f/i</j java.lang.StringIndexOutOfBoundsException: Range [78, 79) out of bounds for length 78
A15,A105;
              thus j in dom f \ {i} implies RA*(j,f/.i) = 0.K()
              proof
                assume
Following(,))  (Following(2)  Following(2)a&Following(,java.lang.StringIndexOutOfBoundsException: Index 79 out of bounds for length 79
                then
109:jin dom  by :def 5;
                then j<=len f by A31,FINSEQ_1:1;
                then
AT_1
                [j,f/.i      [,]&G[,h2 by ,A95A96;
;
                hence RA*(j,f/.i) = A9*(j,f/.i) by A92,A110,MATRIX11:def 3
                  = 0K)byA15,,A108;
              end;
              assume that
A111:         j in Seg width RA and
A112:         j < f/.i;
A113:         width RA=width A9 by A92,MATRIX11:def 3;
,A105,A111,ZFMISC_187
;
              hence RA*(i,j) = A9*(i,j) by A92,A106,MATRIX11:def 3
                .= 0.K() by A15,A105,java.lang.StringIndexOutOfBoundsException: Range [0, 41) out of bounds for length 11
            end;
          end;
      then consider
                   h  Element  :;
uch that
A114:             consider x0 being object such that
& for i,j st [ i,j] in Indices A0& i>len f& j<=n holds A0*(i,j)=0.K() ) & for i
          ,j st i in dom f holds PP[f,i,j,A0];
A115:     QQ[0]
          proof
            assume 0<=n();
            take A0,B0;
            now
A116:         dom A0=Seg len A0 by FINSEQ_1:def 3;
              let j;
             assume j  dom A0 \{len f+}&j<=0;
              hence A0*(j,n1) = 0.K() by A116;
            end;
             thesis by 
          endjava.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
          for k holds QQ[k]        thesis by A97,TARSKI:def 4;
          then consider
          Aa be Matrix of n( reconsider  as ManySortedSet of ()Terms X()
          such that
A117:     ( P[Aa,Bb])& r = the_rank_of Aa and
A118:     Aa*(len f+1,n1) <> 0.K() and
A119:     for i,j st [i,j] in Indices Aa & i>len f&j<=n holds Aa*(      reconsider t=root- x,] as   (,( :4;
          j)=0.K() and
A120:     for i,j st i in dom f holds PP[f,i,j,Aa] and
A121:for   j,,FUNCT_1:def ;
          take Aa,Bb;
          thus P[Aa,Bb] & r = the_rank_of Aa by A117;
          take f9=f^<*n1*>;
A122:     len f9=len f+1 by FINSEQ_2:16;
A123:     len Aa=n() & dom Aa=Seg len Aa by A4,FINSEQ_1:def 3,MATRIX_0:23;
A124:     now
            let i,j such that
       [,]in Indices Aa and
A126:       i>len f9 and
A127:      j<n1
        per cases by A127,NAT_1:8;
            suppose
A128:         j<=n;
              i>len f by A122,A126,NAT_1:13;
              hence Aa*(i,j)=0.K() by A119,A125,A128;
            end;
            suppose
A129:         j=n1;
               domAa  ,FMISC_187
               i in dom \{en +}  i<=n)byA122,,A123,A126,FINSEQ_1:1
,ZFMISC_1:56;
              hence Aa*(i,j)=0.K() by A121,A129;
            end;
          ;
A130:     width Aa=m() by A4,MATRIX_0:23;
A131:     len f9<=n() by A28,A29,A122,XXREAL_0:2;
A132:     now
 let ,  
  (set,set)>set,Fset,)java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
A134:       dom f9 = Seg (len f+1) by A122,FINSEQ_1:def 3
              .= dom f\/{len f+1} by A31,FINSEQ_1:9;
       
uch java.lang.StringIndexOutOfBoundsException: Range [29, 30) out of bounds for length 29
A136:         k in dom f;
A137:         k in dom f9 by A134,A136,XBOOLE_0:def 3;
              thus f/.k = f.k by A136,PARTFUN1:def 6
                .= f9.k by A136,FINSEQ_1:def 7
                .= f9/.k by A137,PARTFUN1:def 6;
            end;
            now
              per cases by A133,A134,XBOOLE_0:def 3;
              suppose
A138:           i in dom f;
                then f/.i=f9/.i by A135;
                hence Aa*(i,f9/.i)<>0.K() by A120,A138;
              end;
              suppose
A139:           i in {len f+1};
A140:           f9/.i=f9.i by A133,PARTFUN1:def A6: for o being OperSymbol of S(), p being Argume  Sym(o,()
               = f+1by ,TARSKI:def 1;
Aa*,/.i)>0K() by A118,A140,FINSEQ_1:42;
              end;
            end;
            hence Aa*(i,f9/.i) <> 0.K();
            thus j in dom f9 & i < j implies f9/.i < f9/.j
            proof
             
A141:         j  domf9 and
A142:         i < j;
              per cases by A133,A134,A141,XBOOLE_0:def 3;
              suppose
A143:           j in {len f+1} & i in {len f+1};
                then i=len f+1 by TARSKI:def 1;
                hence thesis by A142,A143,TARSKI:def ;
               P[]by A7;
              
 jin len +1  i  dom f;
                then len f+1=j by TARSKI:def 1;
                then
A145:           f9.j=n1 by FINSEQ_1:42;
                f/.i=f.i & f.i in rng f by A144,FUNCT_1:def 3,PARTFUN1:def 6;
                then
A146:           f/.i <= n by A14,FINSEQ_1:1;
                .j=/j  : 6;
                then f/.i < f9/.j by A146,A145,NAT_1:13;
                hence thesis by A135,A144;
end;
suppose
                j in   end;
                then j<=len f & i=len f+1 by java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 10
                hence thesis    t Function such that
              end;
              suppose
A147:           j in dom f & i in     ym$1,(the carrier of S)-->NAT)-tree($2);
                then f/.i=f9/.i & f/.j=f9/.j by A135;
                 thesis byA15,142A147;
              ;
            end;
dom = lenf9 by FINSEQ_1:def 3;
            then
:       dom = A123,131,INSEQ_1:;
            thus j in dom f9 \ {i} for o being OperSymbol of S, p being ArgumentSeq (,) 
proof
              assume
A149:         j in dom f9   proof
              per cases;
              suppose
A150:           i=len f+1;
                len f+1 in {len f+1} by TARSKI:def 1;
m f9 by A134,XBOOLE_0: 3
                then
A151:           f9.(len    F.((oX)tree p)=Fo,*) from TermDefEx;
A152:           j in dom f9 by A149,ZFMISC_1:56;
                j<>i by A149,ZFMISC_1:    defpred Pset]means
                java.lang.StringIndexOutOfBoundsException: Range [20, 21) out of bounds for length 20
A153:j  dom \{}  A148,A152,ZFMISC_1:56;
                j<=n()       x   of .;
enAa*j,)0K)by ,A150,;
                hence thesis by A151,FINSEQ_1:42;
              ;
              suppose
A154:           i<>len f+1;
A155java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
A156:           i in dom f or i in {len f+1} by A133,A134,XBOOLE_0:def 3;
                then
A157:           f.i in rng f by A154,FUNCT_1:def 3,TARSKI:def 1;
A158:           f/.i=f9/.i & f.i=fA158:           f/.i=f9/.i & fS;
,TARSKI:def 1;
                java.lang.StringIndexOutOfBoundsException: Range [20, 21) out of bounds for length 20
A159:           1<=f9/.i by A14,A157,FINSEQ_1:1;
A160:           f9/.i<=n by A14,A158,A157,FINSEQ_1:1;
                n<=m() by A7,NAT_1:13;
                then f9/.i <=m() by A160,XXREAL_0:2;
                then f9/.i in Seg width Aa by A130,A159;

:.ZFMISC_187
per java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
                suppose
                  j=len f+1;
                  then j > len f by NAT_1:13;
                  hence   ,,161java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
                ;
                suppose
A162:             j<>len        Fp  F*   of (,)  A8MSATERM:;
                  j in dom f9 by A149,XBOOLE_0:def 5;
                  then
A163:             j in dom f or j in {len f+1} by A134,XBOOLE_0:def 3;
                  <i  A149,ZFMISC_1:56;
                  then j in dom f\{i} by A162,A163,TARSKI:def 1,java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 11
                  then Aa*(j,f/.i)=0.K()          t=.[,S]-() 
                  hence  by ,,156,ARSKI:ef ;
                ;
java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 18
java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
              in  width Aa & j < f9/.i implies Aa*(i,j) = 0.K()
            proof
              assume that
A164:         j in Seg width Aa and
A165:         j < f9/.i;
              per cases;
              suppose
A166:           i in dom f;
                then f9/.i=f/.i by A135;
                hence thesis by A120,A164,A165,A166;
              end;
              suppose
A167:           not i in dom f;
                 java.lang.StringIndexOutOfBoundsException: Range [35, 32) out of bounds for length 55
                then
:          = f+ by A167,:def 1
                then
A169:           f9.i = n1 by FINSEQ_1:42;
               .if9. byA133,PARTFUN1: 6;
                then
A170:           j<=n by A165A18:   .and
:ilenf 
ij] b ,,:;
                hence thesis by A119,A170,A171;
              end;
            end;
          ;
A172    F1=F2  A16A,,20;
,XBOOLE_1:9;
A173:     Seg n\/{n1}=Seg   ;
          rng   n1  <*1>is --  ,:java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
,XBOOLE_1:63;
          hence thesis by A11,A12,A28,A29,A122,A124,A172,A173,A132,FINSEQ_1:31
,FINSEQ_3:91,XREAL_1:6,XXREAL_0:2;
        end;
      end;
A174: Q[0]

        assume 0<=m();
        take A9=A(),B9=B();
        thus P[A9,B9] & r = the_rank_of A9 by A1;
        take f=<*>NAT;
        now
          let i,j such that
A175:     [i,j] in Indices A9 and
          i > len f and
A176:     j<=0;
          j in Seg width A9 by A175,ZFMISC_1:87;
hence A9*i,)=.K) by A176;
        end;
        hence thesis;
      
      for n holds Q[n] from NAT_1:sch 2(A3: (t,w  G.t and
       
      A9 be Matrix of n    Groot-tree [x,s] = R(x,s)) and
      that
A177: P[A9,B9] and
java.lang.StringIndexOutOfBoundsException: Range [10, 3) out of bounds for length 44
A179: ex f be FinSequence of NAT java.lang.StringIndexOutOfBoundsException: Range [0, 35) out of bounds for length 29
i>len f&j<=m() holds java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 0
      () & rng f c= Seg m() & for i,j st i 
 f NAT 
: ,  [,]in  A9&> f&<m)holds *(,j) 0.)and
f  - and
 f = m( 
  f=()and
A183: rng f c= Seg m() and
: , st   f PP[,jA9]by java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
A185;
      take A9,B9;
      thus P:
 A9 : ;
en ;

      idseq  is   NAT  i L)L  :7
,FINSEQ_2:48;
 =idseq ,=fas  of L-uples_on  by
FINSEQ_2:92;
      set S=Segm(A9,idL,F9);
A188: dom f=Seg L by FINSEQ_1:def 3;
      set D=diagonal_of_Matrix S;
:S=:eg L, L:  :;
dP[]
      proof
A190:   len D=L by MATRIX_3:def 10;
          java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
        assume k in dom D;
        then
A191:       t  root- [,as SX4;
        then [k,k] in Indices S by A189,ZFMISC_1:87;
        then S*(k,k) = A9*(idL.k,f.k) by MATRIX13:def 1
          .= A9*(k,f.k) by A191,FINSEQ_2:49
          .= A9*(k,f/.k) by A188,A191,PARTFUN1:def 6;
        then S*(k,k)<>0.K() by A184,A188,A191;
        hence thesis by A191,MATRIX_3 tin (,)  : 15

      then
A192: Product D<>0.K() by FVSUM_1:82;
      now
        let ,  
:[i,]in  S
A194. root- [..[,]1s]
        assume i>j;
        then
A195:   i in dom f \{j} by A188,A194,ZFMISC_1:56;
        reconsider i9=i,j9=j as Element of NAT by ORDINAL1:def 12;
A196:   j in Seg L by A189,A193,ZFMISC_1:87;
        thus S*(i,j) = A9*(idL.i9,java.lang.StringIndexOutOfBoundsException: Range [0, 35) out of bounds for length 8
          .= A9*(i,f.j) by A194,FINSEQ_2:49
         . A9*(i,/j)by A188,A196,PARTFUN1:def 6
          .= 0.K() by A184,A188,A196,A195;
      end;
       S is upper_triangular Matrix of L,K() by MATRIX_1:def 12;
      then
A197: Det S<>0.K() by A192,      let p be ArgumentSeq of Sym(oX)  that
A198:len (9Seg ,Seg  )card  L by :def 2;;
A199    java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
      [:rng idL,rng F9:] c= Indices A9 by A183,A187 assume[,the   S- p  theSorts  Free(S,).s;
      then
: the_rank_of A9 >=Lby A197,MATRIX13:76;
:
        =widthA9 - .(;
        let i such that
   A9( L)java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
        set LA=Line(A9,i);
A203:   now
          not i in      rng  =dom java.lang.StringIndexOutOfBoundsException: Range [20, 21) out of bounds for length 20
          then
A204:     i > L or i<1; java.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 46
          let j such that
A205:     1<=j and

A207:     j in Seg width A9 by A205,        by A13,MSATERM,PARTFUN1:def 2java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
A208:     i in dom  end;then
          java.lang.StringIndexOutOfBoundsException: Range [14, 15) out of bounds for length 14
A209:     [i,j] in Indices A9 by A207,ZFMISC_1:87;
LA. =*i,)by :7
            .= 0.K() by A180,A186,A199,java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 20
            .= w0.j by A207,FINSEQ_2:57;
        end;
        len LA        tis Element of FreeMSA X by MSATERM:13;
        hence Line(A9,i) = width A9 |-> 0.K() by A203;
      end;
      then the_rank_of A9=the_rank_of Segm(A9,Seg L,Seg width A9) by A187,A185
,A186,Th11;
      then the_rank_of A9 <= card Seg L by A198,MATRIX13:74;
      then
A210: the_rank_of A9 <= L by FINSEQ_1:57;
      then
         (,)by T
      thus for i st i in dom A9 & i > r holds Line(A9,i)=m() |->0.K()
            end;then
        let  h#q by A14;
A212:   i in dom A9 and
A213:   i > r;
        not i in Seg L by A211,A213,FINSEQ_1:1;
        then i in dom A9\(Seg L) by A212,XBOOLE_0:def 5;
        hence thesis by A199,A201;
end;
      take f;
      thus thesis by A4      = Den(,(,the   S->).h)  ,1,h13
    end;
  end;
  then consider
  A9 be Matrix of n(),m(),K(), B9 be Matrix of n(),m9(),K() such that
A214: P[A9,B9] and
A215: r = the_rank_of A9 and
A216: for i st i in dom A9 & i > r holds Line(A9,i)=m() |hence (,)=h.s. A19java.lang.StringIndexOutOfBoundsException: Range [32, 33) out of bounds for length 32
:exfbeFinSequence  NATst  f=the_rank_ofA9   
    for w being ManySortedFunction of X, (the carrier of S) --> NAT
  ;
  consider f be FinSequence of NAT such that
A218: len f = the_rank_of A9 and
A219: f is one-to-one and
  c   
:for ,j  i  dom  PPf,,,A9]by ;
  not 0 in rng f by A220;
  then reconsider rngf=rng f as without_zero finite Subset of NAT by java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 48
MEASURE6:def 2,XBOOLE_1:1;
 (0 or n(>;
  set S=    -Terms     Sorts of  by :;
A223: dom f=Seg r by A215,A218,FINSEQ_1:def 3;
  take A9,B9,rngf;
  len A9 = n() by MATRIX_0:def 2;
  then width A9 = 0 or width A9 = m() by A222,MATRIX_0:23,def 3;
  then Seg     for o being OperSymbol of S, p being ArgumentSeq of Sym(o,X) holds
hence rngf = Seg m() & r = A215,A220;
dom ,  by ,ELLORD2:def ;
  hence
A224: card rngf = card dom f by CARD_1:5
    .= card Seg r by java.lang.StringIndexOutOfBoundsException: Range [0, 25) out of bounds for length 13
    .= r by FINSEQ_1:57;
  now
    let i,j;
that
  holdsq. =#(t,w)
A226: i < j;
    f.i=f/.i & f  holds #(Sym(o)-tree p,w =Sym(,(the   )-NAT- q
    hence f.i < f.j by A221,A225,A226;
  end;
java.lang.StringIndexOutOfBoundsException: Range [6, 7) out of bounds for length 6
  f is increasing by SEQM_3:def 1;
  then
A227: Sgm rngf = f by Th6;
  thus P[A9     (1(the carrier of S)-)tree($)java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
A228: card  then t   of (,)by :1java.lang.StringIndexOutOfBoundsException: Range [50, 51) out of bounds for length 50
  then
A229: Indices S = [:Seg r,Seg r:] by A224,MATRIX_0:24;
  now
,be such 
A230: i in Seg A6 for  beingbeing   ,p  ArgumentSeqof Sym(,X)holds
A231: j in Seg r and
A232: i <> j;
A233: i in dom f\{j} by A223,A230,A232,ZFMISC_1:56;
A234: idseq r.i=i by A230,FINSEQ_2:49;
    [i,j] in Indices S by A229,A230,A231,ZFMISC_1:87;
    then S*(i,j) = A9*(Sgm (Seg r).A7:   x in dom p  y  . FUNCT_1def ;
      .= A9*(i,f.j) by A234,FINSEQ_3:48
      .= A9*(i,f/.j) by A223,A231,PARTFUN1:def 6;
    hence S*(i,j) = 0.K() bythenjava.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 26
  end;
  hence S is diagonal by A224,A228,MATRIX_7:def 2;
    java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
A224,A227,223;
  thus for i st i in dom A9 &       then i=x  ;
A216,A224;
  let i,j such that
A235: i in Seg card rngf and
:j     
   Sgm .;
  j<f/.i by A224,A227,A223,A235,A237,PARTFUN1:def 6;
  hence ((X-  )=Sym(,   )-NAT- q
end;

scheme
  GAUSS2{ K() -> Field, n,m,m9() -> Nat, A() -> Matrix of n(),m(),K(), B() ->
  Matrix of n(),m9(),K(), F(Matrix of n(),m9(),K(),Nat,Nat,Element of K()) ->
  Matrix of n(),m9(),K(), P[set,set]}: ex A9 be Matrix  proof
Matrix of n(),m9(),K(), N be without_zero finite Subset of NAT st N c= Seg m()
& the_rank_of A() = the_rank_of A9 & the_rank_of A() = card N & P[A9,B9] & Segm
(A9,Seg card N,N) = 1.(Kbe object;assume
        carrier S;
j      reconsider       ;
providedlet  be object; assume
A1: P[A(),B()] and
A2:forA9 be Matrix  n),(,()     ()m9(,(  [
A9,B9]       thenreconsider =z Element  t   (,).;
K)) RLineiL(i  *(,),B,,a]
proof
  set r=the_rank_of A();
  A9 java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
  ] for i,j st i <> j & j in dom A9 for a be Element of K()       reconsider=as   S, X(\/)((the carrier of S)-->{0})
  Line(A9,i) + a*Line(A9,j)),F(B9,i,j,variables_in t2  S  t2 MSAFREE3 4
  consider A9 be Matrix of       . variables_in  yMSAFREE3:ef java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
  without_zero finite Subset of NAT such that
A4:Nc Seg m() and
A5: r = the_rank_of A9 & r = card N and
A6: ( P[A9,B9] & Segm(A9,Seg card N,N) is diagonal & for i st i in Seg
  card N holds A9*(i,Sgm N/.i) <> 0.K() )&( ( for i st i      then   -(,(/(the   )->0})s
holdsbyMSAFREE3:def java.lang.StringIndexOutOfBoundsException: Range [26, 27) out of bounds for length 26
 in Seg widthA9
  & j < Sgm N.i holds A9*(i,j) = 0.K() ) from GAUSS1(A1,A3);
  set ONE=1.(K(),card N);
A7: Indices ONE = [:Seg r,Seg r:] by A5,MATRIX_0:24;
  defpred Q[Nat] means $1 <= card N implies ex A9 be Matrix of n(),m(),K(), B9
be Matrix of n(),m9(),K() st r = the_rank_of A9 & ( for i st i in Seg card N &
i$ A9(S N/i =1K(&[,]&A9, ,N java.lang.StringIndexOutOfBoundsException: Range [76, 77) out of bounds for length 76
diagonal & ( for i st i in Seg card       consider  abeingobject such that
 in  A9&  card   A9,)=m) |>.K()&(for ,j st i in
  Seg card N & j in Seg width        RELAT_1:61java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
A8: for n st Q[n] holds Q[n+1]
  proof
    set f=Sgm N;
    let n such that
A9: Q[n];
    set n1=n+1;
    assume
A10: n1<=card N;

beMatrix  ())K)A25  Matrix  (,)K()such
    that
A11: r = the_rank_of A1 and
A12: for i st i in Seg card N & i<=n holds A1*(java.lang.StringIndexOutOfBoundsException: Range [0, 48) out of bounds for length 10
A13: P[A1,A25] and
A14: Segm(A1,Seg card N,N)
A15: for i st i in Seg card N holds java.lang.StringIndexOutOfBoundsException: Range [0, 38) out of bounds for length 25
A16: for i st i in dom holdsathe of()(java.lang.StringIndexOutOfBoundsException: Range [59, 58) out of bounds for length 64
A17: for i,j st i in Seg card      java.lang.StringIndexOutOfBoundsException: Range [10, 11) out of bounds for length 10
    holds A1*(i,j) = 0.K() by A9,A19:   Den(o,Free(S,Y)).a = [o,the carrier(,()=o ] 
L=Line(A1n1)
=+((f.)"
_*;
s RRLine(,n1LLjava.lang.StringIndexOutOfBoundsException: Range [26, 27) out of bounds for length 26
    take R,FB=F(A25,n1let OperSymbol 
A18 A1n MATRIX_0: 2;
(,SegcardNN)
           ,SUALG_2def9
A19: len LL=width A1 by CARD_1:def 7;
    r<=len A9 & len A9=n() by A5,MATRIX13:74,MATRIX_0:def 2;

A20: Seg       ((,(,Z)=(,(,)java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
    1<=1+n by NAT_1:11;
    then

    byRELAT_16;
A22: n()<>0 by A5,A20;
    then
A23:  proof
)"K)-.)
    proof
      assume
:(A1*(1Sgm N.))"
_()-.()
A26:  0.K() =  dom(the SortsofS,))the_arity_of)=domthe_arity_ofo
        .= (1_K()+(-1_K()))+A1*(n1,Sgm N/.n1)" by         by PRALG_2:3;
        .= 0.K()+A1*(n1,Sgm N/.n1)"
        thenconsiderf Functionsuchthat
        .A25:     =   domf domthe_arity_of &
      A1*(n1,Sgm N/.n1)<>0.K() by A15,A21;
      hence thesis by A26,VECTSP_1:25;
    end;
            b 5
A27: width A1=m() by A22,MATRIX_0:23;
A28: LL = 1_K()*L+((A1*(n1,f/.n1))"-A26::       y in dom the_arity_of o;
      .= (1_K() +(-1_K()+(A1*(n1,f/.n1))"
))*          fy(the   S)*he_arity_ofo.y java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
      .= ((1_K() +-1_K())+(A1*(n1,f/.n1))")*L by RLVECT_1:def 3
      .= (0.K()+A1*(n1,f/.n1)"
)*L by VECTSP_1:19
      .= (A1*(n1,f/.n1))"*L by RLVECT_1:def 4;
A29: dom A1=Seg len A1 by FINSEQ_1:def 3;
A30: rng Sgm N=N by FINSEQ_1:def 14;
A31: dom Sgm N=Seg card N by FINSEQ_3:40;
    thus
: i   inSeg card  & <n1  R(,gm  /i  _(java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66

      let i;
      assume that
A33:  i in Seg card N and
A34:  i<=n1;
A35:  f.i=f/.i & f.i in rng f by A31,A33,FUNCT_1:def 3,PARTFUN1:def 6;
      then
A36:  [i,Sgm N/.A27:  dom(Deno,Free(S,))| Args(o,Free(S,Y))) = Args(o,Free(S,Y))
      per cases by A34,NAT_1:8;
      suppose
A37:    i<=n;
        then i<n1 by NAT_1:13;
        hence R*(i,Sgm N/.i) =A1*(i,Sgm N/.i)by A19,A36,MATRIX11:def 3
= _K() byA12,,;
      end;
      suppose
A38:    i=n1;
A39:    A1*(i,f/.i)<>0.K() by A15,A33;
        R*(i,f/.i) = ((A1*(i,f/.i))"
*L).(f/.i) & L.(f/.i)=A1*(i,f/.i) by A4,A30
,A19,A28,A27,A35,A36,A38,MATRIX11:def 3,MATRIX_0         the_arity_of o=   S java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
        hence R*(i,f/.i) = (A1*(i,f/.i))"by A30,:,:def java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
FVSUM_1:51
          .= 1_K() by A39,VECTSP_1:def 10;
      end;
    end;
    thus P[R,FB] by A2,A5,A13,A21,A20,A29,A18,A24;
    thus S is diagonal
    proof
A40:  Indices A1=Indices R by MATRIX_0:26;
      let i,j such that
A41:  [i,j] in Indices S and
A42:  S*(i,j) <> 0.K();
      reconsider I=i,J=j as Element of NAT by ORDINAL1:def 12;
      Indices S=[:Seg card Seg card N,Seg width S:] by MATRIX_0:25;
      then i in Seg card Seg card N by A41,ZFMISC_1:87;
      then i in Seg card card N by FINSEQ_1:55;
      then
A43:  Sgm (Seg card N)=idseq card N & (idseq card N).I=I by FINSEQ_2:49
,FINSEQ_3:48;
      then
A44:  S*(i,j)=R*(I,Sgm N.J) by A41,MATRIX13:def 1;
      rng Sgm (Seg card N)=(Seg card N) & [:Seg card N,N:] c= Indices A1
      by A4,A5,A20,A29,A18,A27,FINSEQ_1:def 14,ZFMISC_1:96;
      then
A45:  [I,Sgm N.J] in Indices A1 by A30,A41,A40,A43,MATRIX13:17;
      then
A46:  Sgm N.J in Seg width A1 by ZFMISC_1:87;
      then reconsider SgmNJ=Sgm N.j as Element of NAT;
A47:  Indices S=Indices SA by MATRIX_0:26;
      per cases;
      suppose
A48:    I=n1;
        thus i=j
        proof
          assume
A49:      i<>j;
          R*(I,Sgm N.J)=((A1*(n1,f/.n1))"*           [o, the carrier of ]-tree p by A23,A29,Th13;
          by A19,A28,A45,A46,A48,MATRIX11:def 3,MATRIX_0:def 7;
          then R*(I,Sgm N.J) = (A1*(n1,f/.n1))"*(A1*(I,SgmNJ)) by A46,
FVSUM_1:51
            .= (1*n1,f/.1)"*(SA*(i,j))by A41,,A43d 
            .= (A1*(n1,f/.n1))"*(0.K()) by A14,A41,A47,A49
            .= 0.K();
          hence thesis by A41,A42,A43,MATRIX13:def 1;
        end;
      end;
      suppose
        I<>n1;
        then R*(I,Sgm N.J) = A1*(Sgm (Seg card N).I,Sgm N.J) by A19,A43,A45,
MATRIX11:def 3
          .= SA*(i,j) by A41,A47,MATRIX13:def 1;
        hence thesis by A14,A41,A42,A47,A44;
      end;
    end;
    thus for i st i in Seg card N holds R*(i,Sgm N/.i) <> 0.K()
    proof
      let i such that
A50:  i in Seg card N;
      f.i=f/.i & f.i in rng f by A31,A50,FUNCT_1:def 3,PARTFUN1:def 6;
      then
A51:  [i,Sgm N/.i] in Indices A1 by A4,A5,A30,A20,A29,A18,A27,A50,ZFMISC_1:87;
      per cases;
      suppose

        hence thesis by A32,A50;
      end;
      suppose
  i<n1;
        then R*(i,Sgm N/.i)=A1*(i,Sgm N/.i) by A19,A51,MATRIX11:def 3;
        hence thesis by A15,A50;
      end;
    end;
    thus for i st i in dom R & i > card N holds Line(R,i) = m() |->0.K()
    proof
A52:  dom R=Seg len R & len R=n() by FINSEQ_1:def 3,MATRIX_0:def 2;
t i uch 
A53:  i in dom R & i > card N;
      thus Line(R,i) = Line(A1,i) by A10,A53,A52,MATRIX11:28
        .= m() |->0.K() by A16,A29,A18,A53,A52;
    end;
    let i,j such that
A54: i in Seg card N and
      letsbe SortSymbol of S,x be Element of X.s;
A56: j < Sgm N.i;
A57: [i,] in Indices A1 by A5,A20,A29,A18,A27,A23,A54,A55,ZFMISC_1:87;
    per cases;
    suppose
      i=n1;
      then R*(i,j)=((A1*(n1,f/.n1))"*L).j & L.j=A1*(i,j) by A19,A28,A27,A23,A55
,A57,MATRIX11:def 3,MATRIX_0:def 7;
      hence R*(i,j) = (A1*(n1,f/.n1))"*(A1*(i,j)) by A27,A23,A55,FVSUM_1:51
        .= (A1*(n1,f/.n1))"*(0.K()) by A17,A27,A23,A54,A55,A56
        .= 0.K();
    end;
    pose
      i<>n1;
      hence R*(i,j) = A1*(i,j)by A19,A57,MATRIX11:def 3
        .= 0.K() by A17,A27,A23,A54,A55,A56;
    end;
  end;
for i st i in Seg card N &i<=0 holds A9*(i,Sgm N/.i) = 1_K();
  then
A58: Q[0] by A5,A6;
  for n holds Q[n] from NAT_1:sch 2(A58,A8);
  then consider
  A be Matrix of n(),m(),K(),B be Matrix of n(),m9(),K()such that
A59:r = the_rank_of  and
A60: for i st i in Seg      F.root-tree [xs]=root-tree [w.s.x,s]) &
A61: P[A,B] and
A62: Segm(A,Seg card N,N) is diagonal and
  for i st i in Seg card N holds A*(i,Sgm N/.i) <> 0.K() and
A63: ( for i st i in dom A &i >cardN holds Line(A,i) =m()|-0.K()&
for i,j st i in Seg card N & j in Seg width A & j < Sgm N.i java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 41
  ();
  take A,B,N;
  thus  c=Seg () &r=the_rank_of A  r  card N &P[A,B] by A4,A5,A59,;
  set S=Segm(A,Seg card N,N);
A64: card Seg card N=card N by FINSEQ_1:57;
  then
A65: Indices ONE = Indices S by MATRIX_0      then reconsider tw = #(t,w) as Term of S, rngs w by A3,MSATERM:4;
  now
A66: dom Sgm N=Seg r by A5,FINSEQ_3:40;
    let i,j such thatthe_sort_of tw = s & the_sort_of t = s by A3,A4,MSATERM:14;
A67: [i,j] in Indices ONE;
A68      then tw  FreeSort (ngs, t)  MSATERM:def 5;
    reconsider i9=i,j9=j as Element of NAT by ORDINAL1:def 12;
A69: i in Seg       then tw in(he Sorts of FreeMSA rngs w).the_sort_of t by MSAFREE:def 11;
    then
A70: idseq r.i9=i9 by FINSEQ_2:49;
A71: i<
A72:    end;
. A*(i9,SgmN.9) by A70,FINSEQ_3:48
      .= A*(i9,Sgm N/.j9) by A68,A66,PARTFUN1:def 6;
    
      per cases;
      suppose
A73:    i9=j9;
        hence S*(i,j) = 1_K() by A5,A60,A69,A71,A72
          .= ONE*(i,j) by A67,A73,MATRIX_1:def 3;
      end;
      suppose
A74:    i9<>j9;
        hence S*(i,j) = 0.K() by A62,A65,A67
          .= ONE*(i,j) by A67,A74,MATRIX_1:def 3;
      end;
    end;
    hence S*(i,j) = ONE*(i,j);
  end;
  hence thesis by A63,A64,MATRIX_0:27;
end;

begin :: The main theorem

::$N The Kronecker-Capelli theorem
::$L https://en.wikipedia.org/wiki/Rouché–Capelli_theorem The Kronecker-Capelli theorem
theorem Th57:
  for A,B be Matrix of K st len A = len B & (width A = 0 implies width B = 0)
  holds the_rank_of A = the_rank_of (A^^B) iff       (for s being SortSymbol of S, x being ElementX. holds
proof
  let A,B be Matrix of K such that
: len =len B and
A2: width A = 0 implies width B = 0;
  set wB=width B;
  set L=len A;
  reconsider B9=B as Matrix of L,wB,K by A1,MATRIX_0:51;
  set wA=width A;
  reconsider A9=A as Matrix of L,wA,K by MATRIX_0:51;
  deffunc F(Matrix of L,wB,K,Nat,Nat,Element of K) = RLine($1,$2,Line($1,$2) +
  $4*Line($1,$3));
  defpred P[set,set] means for A1 be Matrix of L,wA,K, B1 be Matrix of L,wB,K
st A1=$1 & B1=$2 holds the_rank_of (A9^^B9)=the_rank_of (A1^^B1) & Solutions_of
  (A9,B9)=Solutions_of(A1,B1);
A3: for A1 be Matrix of L,wA,K, B1 be Matrix of L,wB,K st P[A1,B1] for a be
Element of K for i,j st j in dom A1 & (i = j implies a <> -1_K ) holds P[RLine(
  A1,i,Line(A1,i) + a*Line(A1,j)),F(B1,i,j,a)]
  proof
    let A1 be Matrix of L,wA,K, B1 be Matrix of L,wB,K such that
A4: P[A1,B1];
    let a be Element of K;
     i, such that
A5: j in dom A1 and
A6: i = j implies a <> -1_K;
    set LAj=Line(A1,j);
    set LAi=Line(A1,i);
    set RA=RLine(A1,i,LAi + a*LAj);
A7: dom  = Seg len A1 by FINSEQ_1:def 3
      .= Seg L by MATRIX_0:def 2;
    then
:Solutions_of(1B1RA,(B1,ja)  A5,6Th40;
    set RB=F(B1,i,j,a);
    set LBj=Line(B1,j);
    set LBi=Line(B1,i);
A9: len A1=L & len B1=L by MATRIX_0:def 2;
    er ;
    suppose
      not i in Seg L;
      then RA=A1 & RB=B1 by A9,MATRIX13:40;
      hence thesisby A4;
    end;
    suppose
A10:  i in Seg L;
A11:  len (A1^^B1)=L by MATRIX_0:def 2;
A12:  len (a*LAj)=width A1 & len (a*LBj)=width B1 by CARD_1:def 7;
A13:  len LAi=width A1 & len LBi=width B1 by CARD_1:def 7;
      len (LAi+a*LAj)=width A1 & len (LBi+a*LBj)=width B1 by CARD_1:def 7;
      then RA^^RB = RLine(A1^^B1,i,(LAi+a*LAj)^(LBi+a*LBj))by Th18
        .= RLine(A1^^B1,i,(LAi^LBi)+((a*LAj)^(a*LBj))) by A13,A12,Th3
        .= RLine(A1^^B1,i,(LAi^LBi)+a*(LAj^LBj)) by Th4
        .= RLine(A1^^B1,i,Line(A1^^B1,i)+a*(LAj^LBj))by A10,Th15
        .= RLine(A1^^B1,i,Line(A1^^B1,i)+a*Line(A1^^B1,j)) by A5,A7,Th15;
thenthe_rank_of (RA^^RB)=the_rank_of (A1^^B1) by A5,A6,A7,A11,
MATRIX13:92;
      hence thesis by A4,A8;
    end;
  end;
A14: P[A9,B9];
  consider A1 be Matrix of L,        (he_arity_ofo).x in the carrier of S &
A15:       dom the Sorts of Free(S,X) = the carrier of S
A16: the_rank_of A9 = the_rank_of A1 & the_rank_of A9 = card N and
A17: PA1B1] & Segm(A1,Seg card N,N) = 1.(K,card N) and
A18: for i st i in dom A1 & i > card N holds Line(A1,i) = wA|->0.K and
  for i,       hence thesis by CARD_5:2;
  ,j) = 0.K from GAUSS2(A14,A3);
   per cases;
  suppose
A19: L=0;
    then len (A9^^B9)=0 & the_rank_of A16:   now
A17:y  domthe_arity_ofo;
  end;
  A18:p.in rngpby FUNCT_1:def ;
A20: L>0;
    per cases;

java.lang.StringIndexOutOfBoundsException: Range [12, 13) out of bounds for length 12
      set SN=Seg card N;
      set SS=Seg L\SN;
A22:  card SN=card N by FINSEQ_1:57;
      reconsider P2=Sgm SN " SN,Q2 = Sgm Seg wA " N as without_zero finite
      Subset of NAT by MATRIX13:53;
      dom Sgm SN=Seg card SN & rng Sgm SN=SN by FINSEQ_1:def 14,FINSEQ_3:40;
      then
A23:  P2 = SN by A22,RELAT_1:134;
      rng Sgm Seg wA=Seg wA by FINSEQ_1:def 14;
      then
A24:  Sgm Seg wA.:Q2 = N by A15,FUNCT_1:77;
      Q2 c= dom Sgm Seg wA & Sgm Seg wA is one-to-one by FINSEQ_3:92
,RELAT_1:132;
      then N,Q2 are_equipotent by A24,CARD_1:    then(the Sorts of Free(, rngs w).the_sort_of t c=

A25:  dom Sgm Seg wA=Seg java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 24
A26:  java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
A28:  now
         i such that
A29:    i in SS;
        i  SNSN  ,XBOOLE_0: 5;
        then  for o being OperSymbol of S p being ArgumentSeq  Sym(o,) holds
A30:     F(Sym(X)p)=Sym(o(the carrier of )--NAT)-ree(F*pjava.lang.StringIndexOutOfBoundsException: Range [65, 66) out of bounds for length 65
        in Seg  by ,BOOLE_0:def java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
        hence Line(A1,i)=width A1|->0.K by A18,A26,A27,A30,FINSEQ_1:1;
      end;
      card N<=L by A16,MATRIX13:74;
      
A31:  Seg Nc= Seg L by FINSEQ_1:5;
A32: len =by MATRIX_0:23;
 & width =wB by FINSEQ_1:3MATRIX_0:23java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
      (^) mplies (A,B)is java.lang.StringIndexOutOfBoundsException: Range [75, 76) out of bounds for length 75
  
      
assume  A =the_rank_of(A^B)java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
        then the_rank_of A1 = the_rank_of (A1^^B1) by A16,A17;
        then for i st i in (dom A1)\Seg card N holds Line(A1,i) = width A1|->
        0.K & Line(B1,i) = width B1 |-> 0.K by A26,A32,A28,Th24,XBOOLE_1:36;
        then
A34:    Solutions_of(A1,B1)=Solutions_of(Segm(A1,SN,Seg wA), Segm(B1,SN,
        Seg wB        en  xbeing   that
        Segm((A1,SN,Seg wA),P2,Q2)=1.(K,card N) by A15,A17,MATRIX13:56;
        then ex X be Matrix of card Seg wA,card Seg wB,K st Segm(X,Seg card
Seg wA \ Q2,Seg card Seg wB) = 0.(K,card Seg wA-'card SN,card Seg wB) & Segm(X,
Q2,Seg card Seg wB) = Segm(B1,SN,Seg wB) & X in Solutions_of(Segm(A1,SN,Seg wA)
,(1,SN,eg wB)) by A21,A22,23A,,:132;
        hence thesis by A17,A34;
      end;
A35:  Seg L\Seg card N c= Seg L by XBOOLE_1:36;
      thus java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 8
      ^^B)
      proof
        assume Solutions_of(A,B) is non empty;
        then Solutions_of(A1,B1) is non empty by A17;
        then consider x being object such PBOOLE:def MSSUBFAM:;
A36:    x in Solutions_of(A1,B1);
       AB=^B1;
A37:    len Segm(AB,SN,Seg     Th59;
A38:    dom AB=Seg len AB & len AB=L by A20,FINSEQ_1:def 3,MATRIX_0:23;
        reconsider x as Matrix of wA,wB,K by A20,A36,Th53;
A39:    the_rank_of Segm(AB,Seg L,Seg width A1)=card N by A16,Th19;
A40:    width AB=width A1+width B1 by A20,MATRIX_0:23;
      F.t = #(t,w) by A1,A2,A6,Th55;
          let i such that
A41:      i in SS;
A42:      Line      then reconsider tt  F.   of the  of Free(S,rngs ).
A43:      x in Solutions_of(A1,B1) & i in dom A1 & Line(A1,i)= width A1
          |->0.K implies Line(B1,i)=width B1|->0.K by Th41;
          thus Line(AB,i)=Line(A1,i)^Line(B1,i)by A35,A41,Th15
            .width AB|>.K by ,35A36,A40,A41,A42,43FINSEQ_2:;
        end;
        then the_rank_of Segm(AB,SN,Seg width AB)=the_rank_of AB by A31,A38
,Th11;
        then the_rank_ofAB<card  byA37,ATRIX13:74;
        then
A44:    the_rank_of AB<=card N by FINSEQ_1:57;
       A1<=idth  by A40,AT_1:11;
        then Seg       tt in (the Sorts of (,rngs w). t
        then [:Seg L,Seg width A1:] c= Indices AB by A38,ZFMISC_1:95;
        then card N <= the_rank_of AB by A39,MATRIX13:79;
        then the_rank_of AB=card N by A44,XXREAL_0:1;
        hence thesis by A16,A17;
end;
    end;
    suppose
A45:  N={};
      set ZERO=0.(K,L,wA);
A46:  now
        let i such that
A47:    1<=i & i<=L;
A48:    dom A1=Seg len A1 & len A1=L by FINSEQ_1:def 3,MATRIX_0:def 2;
A49:    i in Seg L by      . (the_arity_of o)i byA8,MSATERM:23java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
        hence ZERO.i = wA|->0.K by FINSEQ_2:57
          .= Line(A1,i) by A18,A45,A49,A48
          .= A1.i by A49,MATRIX_0:52;
      end;
A50:  len ZERO=L by A20,MATRIX_0:23;
A51     :31;
len =  A20,MATRIX_0:;
then =1  A50,A46;
      then
A52:  the_rank_of A=0 by A16,A50,A51,MATRIX13:95;
      then
A53:  ZERO=A by   for w being ManySortedFunc  (the  of )-NAT,X
A54:  Indices (A9^^B9)=[:Seg L,Seg (wA+wB):] by A20,MATRIX_0:23;
      thus the_rank_of A=the_rank_of(A^^B) implies Solutions_of(A,B) is non
      empty
      proof
        set x = the Matrix of wA,wB,K;
        assume
A55:    the_rank_of A = the_rank_of (A^^B);
        Seg (wA+wB)\Seg wA c= Seg (wA+wB) by XBOOLE_1:36;
        then
A56:    [:Seg L,Seg (wA+wB)\Seg wA:] c= Indices (A^^B) by A54,ZFMISC_1:95;
        Segm(A9^^B9,Seg L,Seg (wA+wB)\Seg wA)=B by Th19;
        then 0=the_rank_of B by A52,A55,A56,MATRIX13:79;
        then
;
        then wA=0 & wB=0 or Solutions_of(A9,B9)        reconsider  =x  SortSymbol S;
X where X is Matrix of wA,
        wB,K by A2,A20,A53,Th54;
        then Solutions_of(A9,B9)={{}} or x in Solutions_of(A9,B9) by A53,A57
,Th56;
        hence thesis;
      end;
A58:  Indices B9=[:Seg L,Seg wB:] by A20,MATRIX_0:23;
A59:wAwB=width (9^)by A20,MATRIX_0:23;
A60:  Indices ZERO=[:Seg        then  z being   
      Solutions_of(A,)is  empty  the_rank_of A=the_rank_of(
      ^^B)
     
        assume
A61:    Solutions_of(A,B) is non empty;
        assume the_rank_of A <> the_rank_of (A^^B);
        then consider i,j such that
A62:    [i,j] in Indices (A9^^B9) and
A63:    (A9^^B9)*(i,j)<>0.K by A52,MATRIX13:94;
A64:    j in Seg (wA+wB) by A59,A62,ZFMISC_1:87;
A65:    dom Line(A9^^B9,i)=Seg (wA+wB) by A59,FINSEQ_2:124;
A66:    len Line(A9,i)=wA by CARD_1:def 7;
A67:    dom Line(B9 hencethesis by A4,A7M:def ;
A68:    dom Line(A9,i)=Seg wA by FINSEQ_2:124;
A69:    i in Seg L by A54,A62,ZFMISC_1:87;
        then
A70:    Line(A9^^B9,i)=Line(A9,i)^Line(B9,i) by Th15;
        per cases by A64,A66,A65,A70,FINSEQ_1:25;
        suppose
A71:      j in    consider h   of TermAlg S,A  
          then
A72:      [i,j] in Indices ZERO by A60,A69,A68,ZFMISC_1:87;
          (A9^^B9)*(i,j) = Line    let s SortSymbol  S,i  ;
            . Line(A9,i).by A,:def 
           = A9*(i,j)byA68,A71,MATRIX_0:def 
            .= 0.K by A53,A72,MATRIX_3:1;
          hence thesis by A63;
        end;
            reconsider z = root-tree [i,s] as Element of (FreeGen Y).s;
          ex n st n in dom Line(B9,i) & j=wA + n;
          then consider n such that
A73:      n in dom Line(B9,i) and
A74:      j=wA + n;
A75:      [i,n] in Indices    = root-tree [w.s.i, s];
A76:      B=0.(K,L,wB) by A53,A61,Th52;
          (A9^^B9)*(i,j) = Line(A9^^B9,i).j
            .= Line(B9,i)theorem Th63:
            .=    w  ,( ofS)--
            .= 0.   h ManySortedFunctiono  X,  Sorts  TermAlg  
         thesisby ;
  h..oot-ree [i,  root-ree [.. ]
      end;
    end;

end;

begin :: Space of Solutions of Linear Equations

definition
  let K;
A be Matrix of K;
  let b be FinSequence of K;
  func Solutions_of(A,b)- set equals
    proof
  )};
  coherence;
end;

theorem Th58:
  for x st x in Solutions_of(A,ColVec2Mx b) ex f st x = ColVec2Mx
  f & len f = width A
proof
  let x such that
A1: x in Solutions_of(A,ColVec2Mx b);
  consider X such that
A2: X=x and
A3: len X=width A and
A4: width X = width ColVec2Mx b and
  A * X = ColVec2Mx b by A1;
  per cases;
  suppose
A5: len X=0;
    take f=0|-> 0.K;
    len (ColVec2Mx f)=0 by MATRIX_0:def 2;
    hence thesis by A2,A3,A5,CARD_2:64;
  end;
  suppose
A6: len X>0;
    take Col(X,1);
A7:len =len(ColVec2Mx b)by A1Th33;
    len A<>0 by A3,A6,MATRIX_0:def 3;
    then len b>0 by A7,MATRIX_0:def 2;
    then width X=1 by A4,MATRIX_0:23;
    hence thesis by A2,A3,A6,Th26,MATRIX_0:def 8;
  end;
end;

theorem Th59:
  for f st ColVec2Mx f in Solutions_of(A,ColVec2Mx b) holds java.lang.StringIndexOutOfBoundsException: Range [0, 63) out of bounds for length 12
proof
  let f;
  assume ColVec2Mx f in Solutions_of(A,ColVec2Mx b);
  then
:ex   f  java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 64
  len ColVec2Mx f = len f by MATRIX_0:def 2;
 hence thesis by A1,MATRIX_0:def 2;
end;

definition
  let K;
  let A be Matrix of K;
  let b be FinSequence of K;
  redefine func Solutions_of(A,b) -> reserve X0 for non-empty countable ManySortedSet of S;
  coherence
  proof
    Solutions_of(A,b) c= the carrier of (width A)-VectSp_over K
    proof
         h being  of  ,  java.lang.StringIndexOutOfBoundsException: Range [52, 53) out of bounds for length 52
      assume x in Solutions_of(A,b);
      then consider f such that
A1:   x=f and
A2:   ColVec2Mx f in Solutions_of(A,ColVec2Mx b);
       f=idth A  A2,h59;
      then (width A)-tuples_on the carrier of K= the carrier of (width A)
      -VectSp_over K & f is Element of (width A)-   =    B =the Sorts  Free(,) & FreeGen rngs w c= B &
9,:02
      hence thesis by A1;
    end;
    hence thesis;
  end;
end;

registration
  let K;
  let A be Matrix of K;
  let k be Element of NAT;
  cluster Solutions_of(A,k|->0.K) -> linearly-closed for Subset of (width A)
_over K;
  coherence
  proof
    set V=(width A)-VectSp_over K;
    set k0=k|->0.K;
    set S=Solutions_of(A,    proof
A1: ColVec2Mx k0=0.(K,k,1) by Th32;
A2: now
      let a being Element of K,v being Element of V;
      assume v in S;
      then consider f such that
A3:   v=f and
A4:   ColVec2Mx f in Solutions_of(A,ColVec2Mx k0);
      reconsider f as Element of (width A)-tuples_on the carrier of K by A3,
MATRIX13:102;
      
        per cases;
        suppose
          k=0;
          then len (a*0.(K,k,1))=len 0.(K,k,1) & 0.(K,k,1)={      then
;
     0.(K,k,)a*0(K,k,);
        end;
        suppose
A5:       k>0;
          then
A6:       len 0.(K,k,1)=k & width 0.(K,k,1)=1 by MATRIX_0:23;
          hence a*0.(K,k,1) = a*(0.K*0.(K,A7:        ws)&x  .sy  FUNCT_1:def ;
            .= (a*0.K)*0.(K,k,1) by MATRIX_5:11
            .= 0.K*0.(K,k,1)
            .= 0.K,,)by ,A6MATRIX_524;
        end;
      end;
      a f in (,0.K,,1)  A1A1,A4,Th35;
      then ColVec2Mx (a*f) in Solutions_of(A,0.(K,k,1)) by Th30;
      then a*f in Solutions_of(A,k0) by A1;
      hence a*v in S         then x in rng (v.))&rng (.s"
=)&dom(.) = X0s
    
    now
            end;
A7:   v in S and
A8:   u in S;
      consider f such that
A9:   v=f and
Mx k0 by A7;
      consider g such that
A11:  u=g and
A12:  : ww is_homomorphismTermAlg S, A&
A13:  len g     sbeing SortSymbolof ,i being Natholds
       fgasElement of widthA)tuples_on the carrier of K by A9
,A11,MATRIX13:102;
      ColVec2Mx f+ColVec2Mx g in Solutions_of(A,0.(K,k,1)+0.(K,k,1)) by A1,A10
,A12,Th37proof
      then ColVec2Mx f+ColVec2Mx g in Solutions_of(A,0.(K,k,1)) by MATRIX_3:4;
      then ColVec2Mx (f+g) in Solutions_of(A,0.(K,k,1))by A10,A13,Th28,Th59;
fg inSbyA1;
      hence v+u in S by A9,A11,MATRIX13:102;
    end;
    hence thesis by A2,VECTSP_4:def 1;
  end;
end;


  Solutions_of(A,b) is non empty & width A = 0 implies len A=0
proof
  set S=Solutions_of(A,b);
  assume that
A1: S is non empty and
A2: width A=0;
  x  such 
A3: x in S by A1;
  consider f such that
  x=f and
 consider g    A,Asuch 
  consider X such that
Mxf= and
A5 X =width Aand
  width =widthColVec2Mxb
A6:A* X=ColVec2Mx b by A4;
  width (A * X) = width X by A5,MATRIX_3    wB  FreeSY,A  iA
    .= 0 by A2,A5,MATRIX_0:def 3;
  hence 0 = len b by A6,MATRIX_0:23
    .= len ColVec2Mx b by MATRIX_0:def 2
    .= len A by A4,Th33;
end;

Th61
  thenz  that
proof
  set L=len A|->0.K;
A1: len L=len A by CARD_1:def 7;
  reconsider A9=A as Matrix of len A,width A,K by MATRIX_0:51;
  assume
A2: width A <> 0 X0.s:;
  per cases by A2;
  suppose
    len A=0;
    then Solutions_of(A9,ColVec2Mx L) = {{}} by A1,Th51;
    then
 }  (, )by def 1;
        then
 {} f 
    len f = width A by Th58;
    f in Solutions_of(A,L) by A3,A4;
     


 A >0;
    ColVec2Mx L =0.(K,len A,1) by Th32;
    then len ColVec2Mx L=len L & the_rank_of A=the_rank_of (A^^(ColVec2Mx L))
    by Th23,MATRIX_0:def 2;
    then Solutions_of(A,ColVec2Mx L) is non empty by A1        by ,FUNCT_6:22;
    then consider x being object such that
A6: x in Solutions_of(A,ColVec2Mx L);
    consider f such that
A7:x  ColVec2Mx f and
    len f = width A by A6,Th58        by A23,,UNCT_4:3
    f in Solutions_of(A,L) by A6,A7;
    hence thesis;
  end;
end;

definition           reconsider s= x  SortSymbol S;
   Kjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
letA be Matrix of K;
  assume
A1 then consider zbeing  such 
  funcSpace_of_Solutions_of()-> strict Subspace of (width A)-ectSp_over 
  means
  :Def5:
  the carrier of it = Solutions_of(A,len A|->0.K);
  existence
  proof
    Solutions_of(A,len A|->0.K) is non empty by A1,Th61;
    hence thesis by VECTSP_4:34;
  end;
  uniqueness by VECTSP_4:29;
end;

theorem
  for A be (Matrix of K), b be FinSequence of K st Solutions_of(A,b) is
  non empty holds Solutions_of(A,b) is Coset of  hence thesis;
proof
  let A be (Matrix of K),b be FinSequence of A31     dom (hB*vv)= (hecarrier of S)/the carrier of S
setV=width - K;
  reconsider B=b as ElementA32     dom g*wB) =(the carrier ofS)\he carrier of S
FINSEQ_2byPARTFUN1:ef 2;
  set        thus hB||)x.y (.)|(H.s)).y  :ef 1
  assumeSolutions_of(A,) isnonempty;
  then consider x being object such that
A1: x in Solutions_of(A,B);
  consider f such that
  x        = ((hB.s*.s)).(wB.s.y) by A26,A21,A22,FUNCT_2:15
A2: ColVec2Mx f in Solutions_of(A,CB) by A1;
  setCf= f;
A3: len f =width A by A2,Th59;
  then reconsider f as Element of (width A)        . (g.)|(G.).wB..y by MSAFREE:def java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
FINSEQ_2:92;
  reconsider F=f as Element of V by MATRIX13:102;
  CB= &lenA=lenCB byA2Th33,:2;
  width A=0 implies len A=0 by A1        = (*wB|. . MSAFREEdef ;
  then
A5: the carrier of Space_of_Solutions_of A=Solutions_of(A,len A|->0.K) by Def5;
A6: Solutions_of(A,b) c= F+ hB  (Y) Aby A1,,EQUATION22
      hence h|B  g*wBby A15,14,EXTENS_1:,:;
    B= ((1K)B)&(-1_K)*CB=ColVec2Mx ((-1_K)*B) by Th30,CARD_1:def 7;
    then
A7: CB+(-1_K)*CB = ColVec2Mx (B+(-1_K)*B) by Th28
      .= ColVec2Mx (B+-B) by FVSUM_1:59
      .= ColVec2Mx     then
    let y be object;
    assume y in Solutions_of(A,b);
    A36"  (v.   .   v.) =Y.&
A8: y=g and
9 ColVec2Mx  Solutions_of(,CB;
    len g =width A by A9,Th59;
    then reconsider g as Element of (width A)-tuples_on the carrier of K by
FINSEQ_2:92;
    set Cg=ColVec2Mx g;
    reconsider GF=g+(-1_K)*f as Element of V by MATRIX13:102;
A10: len f=len ((-1_K)*f) by A3,CARD_1:def 7;
     CB=(-1K*CB) & (-_K*Cf in Solutions_of(A,(-1_K)*CB) by A2
,Th35,MATRIX_3:def 5;
    then
A11: Cg(-_)Cf  (,( A|>.) by A9,7Th37;
    Cg+(-1_K)*Cf = Cg+ColVec2Mx ((-1_K)*f) by Th30
      .=ColVec2Mx (g+(-1_K)*f) by A3,A9,A10,Th28,Th59;
    then +-_K)f  Solutions_of(,en A|>0.)by ;
    then
A12: GF in Space_of_Solutions_of A by A5,STRUCT_0:def 5;
    f+(g+(-1_K)*f) = f+((-1_K)*f+g) by FINSEQOP:33
      .= f+(-f+g) by FVSUM_1:59
      .= (f+-f)+g by FINSEQOP:28
      .= (width A|->0.K)+g by FVSUM_1:26
      .= g by FVSUM_1:21;
    then F+GF=g by MATRIX13:102;
    hence thesis by A8,A12;
  end;
  F+ Space_of_Solutions_of A c=Solutions_of(A,b)
  proof
    let y be object;
A13: len A=0 or len A<>0;
    len (len A|-> 0.K) =len A by CARD_1:def 7;
    then
A14: width CB=1 & width ColVec2Mx (len A|->0.K)=1 or width CB=0 & width
    ColVec2Mx (len A|->0.K)=0 by A4,A13,Th26,MATRIX_0:22;
    ColVec2Mx (len A|->0.K)=0.(K,len A,1) by Th32;
    hen
B+ColVec2Mx lenA|>0K)CB by A4,MATRIX_3:4;
    assume y in F+       then A3: root-tree [i,s] in H.sby MSAFREE: 16;
    then consider U be Element of V such that
A16: U in Space_of_Solutions_of A and
A17: y=F+U by VECTSP_4:42;
    reconsider u= as Element of width A)-uples_on the carrier ofK java.lang.StringIndexOutOfBoundsException: Range [72, 73) out of bounds for length 72
MATRIX13:    for s  SortSymbol of S, i being Element of X0.s holds
    u    ww.s.roottree is  - [, ]by Def10;
    then consider g such that
A18: u=g and
A19: ColVec2Mx g in Solutions_of(A,ColVec2Mx (len A|->0.K));
    width A = len g by A19,Th59;
    then ColVec2Mx (f+g)=Cf+ColVec2Mx g by A2,Th28,Th59;
    then ColVec2Mx (f+g) in Solutions_of(A,CB) by A2,A19,A14,A15,    ake ;
    then f+g in Solutions_of(A,b);
    hence thesis by A17,A18,MATRIX13:102;
  end;
  then F+ Space_of_Solutions_of A =Solutions_of(A,b) by A6;
f 6java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
end;

theorem Th63:
  java.lang.StringIndexOutOfBoundsException: Range [6, 4) out of bounds for length 33
A8:      inHs; then y in FreeGen(s,X0) by MSAFREE:def 16;
proof
  let A such that
A1:width A  0implies len A = 0 and
A2: the_rank_of A = 0;
  set L=len A|0.java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
  the carrier ( )-ectSp_over  c= java.lang.StringIndexOutOfBoundsException: Range [57, 56) out of bounds for length 61
  proof
let   object such that
  the  of (width A)- ;
reconsider x9=x as Element of (width A)-tuples_on the carrier of K by A3,
MATRIX13:102;
A4: A=0.(K,len A,width A) & ColVec2Mx L=0.(K,len A,1) by A2,Th32,MATRIX13:95;
    per cases;
    suppose
A5:len A=;
      then Solutions_of(A,ColVec2Mx L)={{        . ((.)(.).b A8,A12,:15
      then
A6:   {} in Solutions_of(A,ColVec2Mx L) by TARSKI:def 1;
      then consider f such that
A7:   {} = ColVec2Mx f and
A8:   len f = width A by Th58;
      width A=0 by A5,MATRIX_0:def 3;
      then
      the carrier of (width A
      K by MATRIX13:102
        .= {<*>the carrier of K} by FINSEQ_2:94;
      then x=<*>the carrier  x Element ofo,A)holds
      then f=x by A5,A8,MATRIX_0:def 3;
      hence thesis by A6,A7;
    end;
    suppose
A9:   len A>0;
: =A byCARD_1: ;
Solutions_of(A, L)    all
X where X is Matrix of width A,1,K by A1,A4,A9,Th54;
      then         .  .(o)/..x0.) by Th47;
      hence thesis;
    end;
  end;
  then the carrier of (width A)-VectSp_over K = Solutions_of(A,L)
    .= the carrier of Space_of_Solutions_of A by A1,Def5;
  hence thesis by VECTSP_4:31;
end;

theorem
  for A st Space_of_Solutions_of A = (width A)-VectSp_over K 
  the_rank_of A = 0
proof
  let A such that
A1: Space_of_Solutions_of A = (width A)-VectSp_over K;
  assume  for o  OperSymbol S
  then consider i,jnt Args(o,A) holds
d
)< .K  java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 34
A4: j in Seg width A by A2,ZFMISC_1:87;
then A5: width A <> 0;
  set L=Line(1.(K,width A),j);
A6: width 1.(K,width A)=width A by MATRIX_0:24;
  then
A7:    consider g being ManySortedFunction of A,A such that
A8: Indices 1.(K,width A)=[:Seg width A,Seg width A:] by A1: g is_homomorphism A,A & h = g**canonical_homomorphism A by;
A9: now
    let k such that
A10: k in dom L and
A11: k<>j;
    [j,k] in Indices 1.(K,width A) by A4,A7,A8,A10,ZFMISC_1:87;
hence 0.  .K,width Ajk)by MATRIX_1:ef 
      .= L.k by A6,A7,A10,:: This code can be distributed under the GNU     by PBOOLE:def 19;
  end;
A12: dom Line(A,i)=Seg width A by FINSEQ_2:124;
  [j,j] in Indices 1.(K,width A) by A4,A8,ZFMISC_1:87;
  then 1_K = 1.(K,width A)*(j,j) by MATRIX_1:def 3
    .= L.OSALG_1;

).j by A4,A7,A12,,ATRIX_3:17
    :def ;
lenA|>.)0(K,len A,) by ;
java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
  java.lang.StringIndexOutOfBoundsException: Range [7, 8) out of bounds for length 7
then   thecarrier ofA A1,102;
 L Solutions_of(A    the_result_sort_of )((o,Free(SX).)   nd;
der f  that
A16   c ;
  in (ColVec2Mx ( |-.);
  java.lang.StringIndexOutOfBoundsException: Range [4, 3) out of bounds for length 4
 = fand
:X =  and
  width X =  java.lang.StringIndexOutOfBoundsException: Range [17, 14) out of bounds for length 22
A20: A * X = ColVec2Mx (len A|->0.K) by A17;
java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 0
  A=eganonical_homomorphismA;
e;
      OverloadedRSSignjava.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
  
A23:   let S;
then Line(A,i)""Col(X,1 = 0(K,len A,1)*i,1)by ,A20A14,MATRIX_3:ef4
    .= 0.K by A14,A23,MATRIX_3:1;       s be SortSymbol of S, i be Element of X0.s;
 =Col(,)*Line,i byFVSUM_1:90
=m(f,Line(A,))  A18,19Th26,5;
hence thesis by ,16A13;
;

h65:
  for t
Space_of_Solutions_of  =Space_of_Solutions_of RLine(A9,i,Line(A9,i) + a*Line
  (A9,j))
proof
  let i,j such that
reserve  o,o1,o2 for OperSymbol of Sjava.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
A2:n> and
:i =jimplies a < -1_;
set l A9|>.;
  set(o1)=(he_arity_of) by A1,A3,Th7;
A4: m<java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  then
MATRIX_023;
 len L=len A9 by CARD_1:def 7;
  then enL= m by MATRIX_0:def 2;
  ColVec2Mx  as  m1K;
    hen   A1RELAT_1:ef 0java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
:java.lang.StringIndexOutOfBoundsException: Range [5, 1) out of bounds for length 47
  
    let java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
:[i9,9]in IndicesC;
    reconsider Ijava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
A8: len (Line(C,i) + a*Line(C,j))=then the_result_sort_of o1 = the_result_sort_ofby ORDERS_2:2;
    now
      per cases;
      suppose
:     i9=i;
A10:    1=let S,o,o1,w1
        then
A11:    j9 in Seg 1 by A7,ZFMISC_1:87;
        then Line(C,j).j9=C*(j,j9) by A10,MATRIX_0:def 7;
        then
A12:    (a*Line(C,j)).j9=a*(C*(j,j9)) by A10,A11,FVSUM_1:51;
        Indices C=[:Seg m,Seg 1:] by A4,MATRIX_0:23;
        
A13:    [j,j9] in Indices C by A1,
        (Ci.j9=C(j9) A10A11ATRIX_0:def 7java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
        then (Line
,A12,FVSUM_1:18
          .= 0.K +o1 has_least_sort_for o,w1
       ;
          . 0.K +.K
          . . by hence thesis by A7,Def7
. *i9,9  A6,A7,MATRIX_3:1
 C*(,J)=RC(I,J)by ,A8,A9,MATRIX11:def 3java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
       fort1t2ElementofTermAlg  st
      suppose
        <i9;
         *IJ=RC*(,J)by ,8MATRIX11:ef3;
      ;
    end;
    hence C*(i9 SM =op-java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 45
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6


:(9,)Solutions_of(R,C) by A1,3Th40;
  set SR=Space_of_Solutions_of R;
  len then   =  by A7,ORDERS_2:2;
  then
:the    =Solutions_ofRL by A,ef5;
  java.lang.StringIndexOutOfBoundsException: Range [6, 5) out of bounds for length 34
java.lang.StringIndexOutOfBoundsException: Range [10, 3) out of bounds for length 34
  then the carrier of SA = Solutions_of(A9,L) by A2,Def5java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 45
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

theorem Th66:
   of R)->z;
holds (,)= widthA| 0Kholds Space_of_Solutions_of A
 Space_of_Solutions_of Segm(,N,Seg width Ajava.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
proof
  let N such that
A1: N c= dom A and
A2: N is non empty and
A3 width  A> and
A4: for i st i in (dom A)  .=D. by FUNCOP_1:7;
  setend;
  set M  order-orted means
A5: len L=len A by CARD_1:def 7;
  set S=(,N
idth =card A by A2,ATRIX_0:23;
  then
A7: width A=width       ( < s1 implies
  set SS=java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 10
  len S=card N by MATRIX_0:def 2;
  then
A8: the
  set SA=Space_of_Solutions_of A;
A9: the carrier of SA = Solutions_of(A,L) by A3,Def5;
A10: C=0.(K,len A,1) by Th32;
  len C=len L by MATRIX_0:def 2;
  then
A11: dom C=dom A by A5,FINSEQ_3:29;
A12: dom
  o1,o2,o3for OperSymbol of S,
A13: Seg len A<>{} by A1,A2;
  then
A14: width C=1 by Th26;
 hen
A15: card        reconsider  =p as Element of Argso,ree(S,X0) by INSTALG1:1;
  now
A16:reserve CH for of (,)  the Arity of S,
: Indices Segm(,N,Seg  C)Indices 0.(K,card N,1) by A15,MATRIX_0:26;
      funcConstOSA(,z,CH) - strict non-empty MSAlgebra over S means
 k, in  SegmC,N, widthC);
java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 62
    thenreconsider  = MSAlgebra(#ConstOSSet(S,z),H)asstrict non-empty
_:5java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
    then
A19: [Sgm Njava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
    thus Segm(C,N,Seg width C)*(k,l) = C*(Sgm N.kk,Sgm Seg width C.ll)
y ,MATRIX13:def 1
      .= 0.K by A10,A19,MATRIX_3:1
      .=0.(K,card N,1)*(k,l) by A18,A17,MATRIX_3:1;
  end;
  then
A20: Segm(C,N,Seg width C) = 0.(K,card N,1) by A15,MATRIX_0:27
    =ColVec2Mx (card N|->0.K) by Th32;
  now
    let i such that
A21: i in (dom A) \ N;
A22: i in dom A by A21,XBOOLE_0:def 5;
    then Line(C,i)    then Line(C,i) ,)java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
      .= (len A|- take (,,H;
      .= width C|->0.K by A12,A22,FINSEQ_2  endjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
& Line(C,i=width C|->0.K by A4,A21;
java.lang.StringIndexOutOfBoundsException: Range [4, 2) out of bounds for length 6
  then
  Solutions_of(A,C)=Solutions_of(Segm(A,N,Seg width A),Segm(C,N,Seg width
  C)) by A1,A2,A11,Th45;
  hence thesis by A20,A7,A9,A8,java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 0
end;

Lm7: for A be set st  then
gb=g*Sgm (dom g\A) & Sum g = Sum ga + Sum gb
proof
A1:A4: dom g = dom iw1 and
  set Ad=the addF ofK;
A2:def 3;

: g=rng idseq len g & dom g=dom idseq len g;
  let    
:A p.is Element of FreeMSA X0 by MSATERM:13;then
    A is included_in_Seg by A2,    reconsider s1 = w1.y,s2= w2.y as SortSymbol of S by A8,A10,PARTFUN1:4;
    then
A5: rng Sgm(A)=A by     g. iniw1.byA5,6,7java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
A6: (idseq   thesis by A3,FINSEQ_2:def 5;
:dom g\A = dom g by XBOOLE_1:36 q. is Element of Free(S, Y) by MSAFREE3:31;
 g=m \AbyFINSEQ_1:def 14
:: MSAFREE3:def 1; Element of A,s is defined in MSUALG_6
:16,XBOOLE_1:36;
  (idseq len  &w2 < w3  w1< w3
  then
NSEQ_3:114;
  then reconsider gS=g
::java.lang.StringIndexOutOfBoundsException: Range [13, 14) out of bounds for length 12
  rng ga c=rng g by RELAT_1:26;
  then
10 rng ga stt in (he  of ).s &
  rng gb c=rng g by A7:i in dom w1;
1;
  then reconsiderA8 s3 < s4 &s4<=s5 by A1,A2,A4,A7;
take ga,gb;
  Ad $$ g = Ad "**" gS by A9,FINSOP_1:7,FVSUM_1:8
    .= Ad"**"(ga^gb) end;
ga+Sum gb by FINSOP_15FVSUM_1:8;
  hence thesis;
;

theorem Th67:
:o2 < o1;
Seg n,N) = 1.(K,n) & n > 0then
  MVectors,  the_arity_of o1) <= (the_arity_of o2) & (the_arity_of o2) <= (
  Segm(Aarity_of o1 =the_arity_of o2 by Th6;
roof
  let   o1 < o2  by A17,PBOOLE:def 2,def18FUNCT_25A16,MSUALG_918;
A1:card the_result_sort_of o1 =the_result_sort_of o2 implies Result(o1
A2:Nc= Seg  m and
      .(A:Result(2A)= (the Sorts of A)*theResultSort )).by
A4: n  .= theSorts       =(h*hh)..(Den(o,(SX0)a MSUALG_3:
:m->;
   m <>      (**h.s)(,.k#)) Th68,18AA19,SUALG_3:10A16
   java.lang.StringIndexOutOfBoundsException: Range [7, 8) out of bounds for length 7
:m<0java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
  consider java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13

8S(MV,(-',N)=-Segm(A, Seg  \N) and
: l  beMatrix of,,Kstfor  st  in  l holds (ex j
  st j in Seg (m-'n) & Col(M,i) = Line(MV,j)) or Col(M,i) = m|->0    =(#*( java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 47
  Solutions_of(  hence thesis by A1,,h20;
A10: width MV=m by A5,MATRIX_0:23;
A11: lenlet , Element TermAlg  ;
A12: Indices MV=[:Seg (m-'n),Seg m:] by A5,MATRIX_0:23;
  Seg m \ N c= Seg m by XBOOLE_1:36;
  then
A13:[Seg (m-n),Seg  \ : c=Indices MV by ,ZFMISC_1:;
A14: width A=m by A4,MATRIX_0:23;
A15: len A=n by A4,MATRIX_0:23;
  lines MV c= Solutions_of(A,len A|->0.K)
  proof
    let x be:: OSAlgebra is monotone iff the interpretation of the same symbol on
    assume x in lines MV;
    then consider k such that
A16: k in Seg (m-'n) and
A17: x   for o1,o2 st o1<=o2  for q being Element of Args qbeing Element ofArgs,A0 st (canonical_homomorphism A0)p= q
    theoremTh27:
8:m   MV by A5,ATRIX_0:23
.=len Line,k)by :def 7;
    now
      et ijava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
      assume i in Seg 1;
      
A19:  i=1 by FINSEQ_1:2,TARSKI:def 1;
ColC,)Line(MV,) by A6,A18,Th26;
java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 77
|0by ,;
    ;
    then C  let p be rete or S is op-scretejava.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
C Solutions_of(,olVec2Mx(len A|-0K)by A15,Th32;
ce thesis by A17;
  end;
  then  (lines MV) is Subspace of Lin (Solutions_of(A,len A|->0.K)) by A14,
java.lang.StringIndexOutOfBoundsException: Range [6, 2) out of bounds for length 29
  then
A20: the carrier of Lin java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 0
  A|->0.K)) by VECTSP_4:def   Sz,)- strict  of S 
 -n00by ;
19;
    then
A21: Det 1.(K,m-'n)=1_K by MATRIX_7:16;
 .<1K;
A23: card Seg m=m by PARTFUN1:def 2,RELAT_1:def;
  then
A24: m-'n=m-n by A1,A2,NAT_1        i
A25:        i n    S;
  then
   m'n)ard (eg \)byA24,:;;
A2:   in (the ResultSort  )(  of S)  FUNCT_2:java.lang.StringIndexOutOfBoundsException: Range [68, 69) out of bounds for length 68
,MATRIX13:def         .= z by A2,FUNCOP_1:7;
 then m-' <= the_rank_of MV by A24,A25,A26,A13,A21,A22,MATRIX13:def 4;
  then
- ,XREAL_0:1;
A28: the carrier of Space_of_Solutions_of A c= the carrier of Lin(lines MV)
  proof
    set SN=Seg m\N;
    let y be object;
    assume y in the carrier of Space_of_Solutions_of A;
    then y  end;
    then consider f such that
A29: f=y and
A30: ColVec2Mx f in Solutions_of(A,ColVec2Mx (len A|->0.K));
A31: len f=:holdso  oT)-> java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
    deffunc       then re =as java.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 48
A32: dom f=Seg len f by FINSEQ_1:def 3;
java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 75
    that
A33: len M= m-'n and
A34: for j st j in dom M holds M.j = F(j) from FINSEQ_2:sch 1;
A35: dom M = Seg(m-'n) by A33,FINSEQ_1:def 3;
    reconsider M as FinSequence of  carrier ofm-VectSp_over  by A10,
MATRIX13:102;
    reconsider M1=FinS2MX M as Matrix of m-'n,m,K by A33;
    now
      let i such that
A36:  i in Seg (m-'n);
      take a=f/.(Sgm SN.i);
      thus Line(M1,i) = M1.i by 
        . a*Line(,i)by ,A35,36;
    end;
    L  Linear_Combination    such 
:L() MX2FinSMV  M1 byjava.lang.StringIndexOutOfBoundsException: Range [51, 52) out of bounds for length 51
    reconsider SumL=Sum L,f as Element ofmtuples_on the carrier of K by A31,
FINSEQ_2:92,MATRIX13:102;
    now
      let i such that
A38:  i in       per cases;
A39:  SN c= Seg m by XBOOLE_1:36;
A67:  rng Sgm SN=SN by FINSEQ_1:def 14;
  java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
        per cases;
        suppose
A41:      i in N;
          consider X such that
A42:      X = ColVec2Mx f and
A43        take T;
          width X=width ColVec2Mx(len A|->0.K) and
A44:      A * X = ColVec2Mx (len A|->0.K) by A30;
   f =ColX,1) by ,A42,;
          reconsider F :    [0,]=[s] A4,TREES_4:;then
A4,MATRIX_0:23;
A46:      let ,;
A47:      rng Sgm N=N by FINSEQ_1:def 14;
then  java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 48
:x in dom SgmN java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
 Nxiby,UNCT_1df 3java.lang.StringIndexOutOfBoundsException: Range [41, 42) out of bounds for length 41
   X being set holds X is OperName of S iff ex op1 st setX OperName        op1
hereby
A50:      dom mlt(L,F)=Seg m by A14,FINSEQ_2:124;
   ,      that
A51:      mN then reconsider   op1  java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 9
A52:      mSN = mlt(EQREL_1d 3
A53:      Sum mlt(L,F) = Sum mN + Sum mSN by A2,Lm7;
:Sgm = N 40java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
          then
A55:      dom mN=Seg n by A1,A2,A47,A50,A51,OperSymbol of SR, w being Element of (the carrier)*st ~  &w&nbsp;=
          Indices 1.(K,n)=[:Seg n,Seg n:] by MATRIX_0:24;
          then
A56      in (he A2: w < the_arity_ofop1java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
A4 LBound(op1,w) has_least_args_for op1, by A2Def14;
       
(Sgm .x  L.Sgm N.)      - [w.s0.s0]in (Y by MSAFREE:  
A32,ATRIX_0: PARTFUN1d 6java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
x= n).x byA1,54A48,:49
            .= Sgm A8: op1 ~= Lo2 by A1,T
          now
            let j such that
A60:        j in dom mN and
 j<x;
            1.K,): n,n: by 24;
            then
 1.(K,) by A1,,48A55,,java.lang.StringIndexOutOfBoundsException: Range [0, 67) out of bounds for length 42
   Sgm N. in  by ,A47, hence  byA14,,A19,FUNCT_226;
            then
A64:        F.(Sgm N.j)=F/.(Sgm A20: for o being OperSymbol of S, assume
 ,d 6
            thus mN.j = mlt(L,F).(Sgm N.j) by A51,A60,FUNCT_1:12
              .= F/.(Sgm N.j)*(A*(Sgm Seg n.x,Sgm N.j)A2:w< the_arity_of op by A1;
FVSUM_1:61
              .= F/.(Sgm N.j)*(1A3: Name()= Name Lo by Th31;
              .= F/.(Sgm N.j)*0. java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 48
              .= 0Th33;
          end;
          then Sum mNjava.lang.StringIndexOutOfBoundsException: Range [21, 22) out of bounds for length 7
          then(,w)      let s be SortSy ofS;assume
A65A22    LBound(op3,w)
            .= F/.(Sgm N.x)*(A*(Sgm Seg n.x,Sgm N.x)) by A2,A14, op1 = LBound(,w by ,A6;
FVSUM_1:61
            .= F/.(Sgm N.xS w1 Element  (he  of )   < the_arity_of holdsLBound
            .= F/.Sgm.x)1Kby ,ATRIX_1:def 3
            .= F/.i by A49
            .= f.i by A31,A32,A38 java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 34
A66:      dom Sgm SN= < o  A1,A4;
          dom mSN=Seg (m-'n)
          by A24,A25,A50,A52,A66,A67,RELAT_1:27,XBOOLE_1:36;
          then
A68       =-nby :def 3;
      for t being Element of Free(S,0) st t =p.1 holds $  (t,w);
          Indices 0.(K,len A,1)=[:Seg len A,Seg 1:] & 1 in Seg 1
          by A4,A15,MATRIX_0:23;
          then
A70:      [x,1] in Indices 0.(K,len A,1)by A1,A15,A54,A48,ZFMISC_1:87;
          then
A71:      0.K = (ColVec2Mx (len A|->0.K))*(x,1) by A69,MATRIX_3:1
            .= Line(A,x)        p.i is Term  S,X0by A24,MSATERM:22; then
            .= Sum(mlt(Line(A,x),Col(X,1)));
          java.lang.StringIndexOutOfBoundsException: Range [38, 20) out of bounds for length 79
,INSEQ_2:92;
A72:      width M1=m by A5,java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 24
          now
            let j such that
A73:        j in Seg (m-'n);
A74:        j = idseq(m-'n).j by A73,FINSEQ_2:49
              .= Sgm Seg (m-'n).j by FINSEQ_3:48;
A75:        Line(M1,j) = M1.j by A73,MATRIX_0:52
              .= f/.(Sgm SN.j)*Line(MV,j) by A34,A35,A73;
A76:        Sgm SN.j in SN by A24,A25,A67,A66,A73,FUNCT_1:def 3;
            then f/.(Sgm SN.j) = F.(Sgm SN.j) & A*(x,Sgm SN.j) = L.(Sgm SN.j)
            by A14,A31,A32,A39,MATRIX_0:def 7,PARTFUN1:def 6;
            then
A77:        f/.(Sgm SN.j) * (A*(x,Sgm SN.j)) = mlt(L,F).(Sgm SN.j) by A14,A39
,A76,FVSUM_1:61
              .= mSN.j by A24,A25,A52,A66,A73,FUNCT_1:13;
A78:        x = idseq(n).x by A1,A54,A48then
              .= Sgm Seg n.x by FINSEQ_3:48;
A79:        [:Seg (m-'n),N:] c= Indices MV by A2,A12,ZFMISC_1:95;
            [j,i] in Indices MV         let i be object;assume
            then
A80        j, in Indices Segm(MV,Seg m-n),) by ,A49,,A74,,
MATRIX13:17;
            then
A81:        [j,x]        reconsider t = p. of Free(,X0)by MSAFREE3:31;
            then
A82        [x,] inIndices Segm(A,Seg n,SN) by MATRIX_0:def 6;
A83:        Line(MV,j).i = MV*(Sgm Seg (m-'n).j,Sgm N.x) by A10,A38,A49,A74,
MATRIX_0:def 7
              .= (-Segm(A,Seg n,Seg m \N)@)*(j,x) by A8        q.i is Element of Free(S,Y)by MSAFREE3:31;
              .= -((Segm(A,Seg n,Seg m \N)@)*(j,x)) by A81,MATRIX_1:def 4
              .= -(Segm(A,Seg n,SN)*(x,j)) by A82,MATRIX_0:def 6
              .= -(A*(x,Sgm SN.j)) by A82,A78,MATRIX13:def 1;
            dom M1=Seg (m-'n) by A33,FINSEQ_1:def 3;
            hence Col(M1,i.j= M1*(j,i) by A73,MATRIX_0:def 8
. Line(M1,j).i by A38,A72,MATRIX_0:def 7
              .=      by Th42,A29,A27,TREES_4:def 4; then
FVSUM_1:51
              .=               r being ArgumentSeq of Sym(o,Y) such that
              .= (-mSN).j by A73,A77,FVSUM_1:23;
          end;
          Col(M1,i)=-SN  A33,FINSEQ_2:119;
          hence Sum Col(M1,i) = - Sum mSN by FVSUM_1:75
            . -Sum mSN +(Sum mSN+Sum mN) by A71,A45,A53,RLVECT_1:def 4
            .= (-Sum mSN+Sum mSN)+Sum mN by RLVECT_1:def 3
            .= 0.K+Sum mN by VECTSP_1:19
            . .iby R:def 4;
              proof
        suppose

          i in SN by A38,A84,XBOOLE_0:def 5;
          then consider x being object such that
        domSgm SN and
A87:      Sgm SN.x=i by A67,FUNCT_1:def 3;
          reconsider x as Element of NAT by A86;
A88:      dom Sgm SN=Seg tn in FreeSort(X0,(the_arity_of).  java.lang.StringIndexOutOfBoundsException: Range [58, 57) out of bounds for length 69
          then
A89:      Line(M1,x) = M1.x by A24,A25,A86,MATRIX_0:52
            .=         A2,A,:java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
          [x,x] in [:Seg (m-'n),Seg (m-'n):] by A24,A25,A88,A86,ZFMISC_1:87;
          then
      x,x] in Indices 1.K,m-n)by MATRIX_0:;
          x = idseq (m-'n).x by A24,A25,      .= Den(o,Free(S,X0)).(g#q) by A11,A23
            .= Sgm Seg (m-'n).x by FINSEQ_3:48;
          then
A91:      Line(MV,x).i = MV*(Sgm Seg (m-'n).x,Sgm SN.x)
          by A10,A38,A87,MATRIX_0:def 7
            .= 1.(K,m-'n)*(x,x) by A7,A90,MATRIX13:def 1
            .= 1_K by A90,MATRIX_1:def 3;
A92:      dom Col(M1,i)=Seg len M1 by FINSEQ_2:124;
A93:      dom M1=Seg len M1 by FINSEQ_1:def 3;
java.lang.StringIndexOutOfBoundsException: Range [24, 3) out of bounds for length 43
A95:      width M1=m by A5,MATRIX_0:23;
A96:      now
            let j such that
A97:        j in dom Col(M1,i) and
A98:        x<>j;
A99:        Line(M1,j) = M1.j by A92,A97,MATRIX_0:52
              =f/(Sgm SN.j)*Line(,j) by A34,A92,A93,;
            for h  of Free(SX0)B
ZFMISC_1:87;
            then
A100:       [j,x] in Indices 1.(K,m-'n) by MATRIX_0:24;
            j = idseq (m-'n).j by A24,A92,A94,A97,FINSEQ_2:49
              .= Sgm Seg (m-'n).j by FINSEQ_3:48;
            then
A101:       Line(for t3,t4 being Elementof TermAlg S, s st t3  #t1,w) & t4  #(t2,w)holds
MATRIX_0:def 7
              .= 1.(K,m-'n)*(j,x) by A7,A100,MATRIX13:def 1
              .= 0.K by A98,A100,MATRIX_1:def 3;
            thus Col(M1,i).j = M1*(j,i) by A92,A93,A97,MATRIX_0:def 8
              .= (f/.(Sgm SN.j)*Line(MV,j)).i by A38,A95,A99,MATRIX_0:def 7
              .= (f/.(Sgm SN.j))*0.K by A10,A38,A101,FVSUM_1:51
. 0.K;
          end;
          Col(M1,i).x = M1*(x,i) by A25,A88,A86,A94,A93,MATRIX_0:def 8
            .= Line(M1,x).i by A38    assume : h is_homomorphism Free(S,X0)A;
            ,A91,89,VSUM_1:51
            .= (f/.i) by A87
            .= f.i java.lang.StringIndexOutOfBoundsException: Range [28, 21) out of bounds for length 28
          hence Sum Col(M1,i)=f.i by A25,A88,A86,A92,A94,A96,MATRIX_3:12;
        end;
      ;
      Carrier L c= lines MV by VECTSP_6:def 4;
      hence SumL.i=f.i by A27,java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    end;
    then
;
    the carrier of Lin(lines MV) = the set of all
Sum(l) where l is Linear_Combination
    of lines MV  by VECTSP_7:def 2;
    hence thesis by A29,A102;
  end;
  take MV;
  Solutions_of(A,len A|->0.K)=the carrier of Space_of_Solutions_of A by A6,A14
,Def5;
  java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
  the carrier of Lin (lines MV) c= the carrier of Space_of_Solutions_of(A
  ) by A20,VECTSP_7:11;
  then the carrier of Lin (lines MV) = the carrier of Space_of_Solutions_of(A
  ) by A28;
  hence thesis by A14,A7,A8,VECTSP_4:29;
end;

Lm8: dim Space_of_Solutions_of 1.(K,n) = 0
proof
  set ONE=1.(K,n);
  set SS=Space_of_Solutions_of ONE;
A1: the carrier of SS c= the carrier of (0).SS
  proof
    let x be object such that
A2: x in the carrier of SS;
A3: len ONE=n by MATRIX_0:24;
A4 width  ONE=n  MATRIX_0:24;
    then width ONE=0 implies len ONE=0 by MATRIX_0:24;
    then x in Solutions_of(ONE,n|->0.K) by A2,A3,Def5;
    then consider f such that
A5: f=x and
A6: ColVec2Mx f in Solutions_of(ONE,ColVec2Mx (n|->0.K));
    consider such 
A7: X =ColVec2Mx f and
A8: len X = width ONE and
    width X = width ColVec2Mx (n|->0.K) and
:ONE *X ColVec2Mx (|0.) by A6;
A10: now
      per cases;
      
A11:    n>0;
        ONE*X=X by A4,A8,MATRIXR2:68;
        hence n|->0.K = Col(X,1) by A9,A11,Th26
          .= f by A4,A7,A8,A11,Th26;
      end;
      suppose
A12:    n=0;
        then f={} by A4,A7,A8,MATRIX_0:def 2;
        hence f=n|->0.K by A12;
      end;
    end;
    0.SS = 0.((width ONE)-VectSp_over K ) by VECTSP_4:11
      .= n|->0.K by A4,MATRIX13:102;
    then f in {0.SS} by A10,TARSKI:def 1;
    hence thesis by A5,VECTSP_4:def 3;
  end;
  the carrier of (0).SS c= the carrier of SS by VECTSP_4:def 2;
  then the carrier of SS = the carrier of (0).SS by A1;
  then (0.SS = (Omega).S  VECTSP_4:29;
  hence thesis by VECTSP_9:29;
end;

:: The dimension of Space of Solutions of linear equations

theorem Th68:
  for A st ( width A = 0 implies len A = 0 ) holds dim
  Space_of_Solutions_of A = width A - the_rank_of A
proof
  let A such that
A1: width A = 0 implies len A = 0;
  set        dom x = domthe_arity_of o by MSUALG_3:6,PRALG_2:3; then
  set L=len A;
  reconsider A9=A as Matrix of L,W,K by MATRIX_0:51;
  per cases;
  suppose
A2: the_rank_of A=0;
    dim ((width A)-VectSp_over K)=width A by MATRIX13:112;
    hence thesis by A1,A2,Th63;
  end;
  suppose
A3: the_rank_of A>0;
    defpred P[set,set] means for A1 be Matrix of L,W,K st A1=$(the_arity_of o)/.).(x .)by ,FUNCT_1:17
    Space_of_Solutions_of A9=Space_of_Solutions_of A1;
    deffunc F(Matrix of L,W,K,Nat,Nat,Element of K) =$1;
A4: W>0 by A3,MATRIX13:74;
A5: for A1 be Matrix of L,W,K,B1 be Matrix of L,W,K st P[A1,B1] for a be
Element of K for i, st  in dom A1 &(i = j implies a <> -1_K )holds P[RLine(
    A1,i,Line(A1,i) + a*Line(A1,j)),F(B1,i,j,a)]
    proof
let be Matrix of L,W,,B1 be Matrix of L,Ksuch that
A6:   P[A1,B1];
      let a be Element of K;
A7:   dom A1 = Seg len A1 by FINSEQ_1:def 3
        .= Seg L by MATRIX_0:def 2;
      let i,;
      assume j in dom A1 &( i = j implies a <> -1_K);
       A,iL(,i +a*ine(A1,)=
            dom (.  the of (S,).&
        .= Space_of_Solutions_of A9 by A6;
      hence thesis;
    end;
A8:P[,9;
consider be Matrix of ,,KB1  of ,WKN  that
A9: N c= Seg W and
A10: the_rank_of A9 = the_rank_of A1 & the_rank_of A9 = card N and
A11: P[1B1 & Segm(A1,Seg card N,N)=1.K, N) and
A12: for i st i in dom A1 & i > card N holds Line(A1,i) =java.lang.StringIndexOutOfBoundsException: Range [6, 2) out of bounds for length 34
    for i,j st i in Seg card N & j in Seg width A1 & j < Sgm N.i holds A1*
    (i,j) = 0.K from GAUSS2(A8,A5);
A13: 0<L by A3,MATRIX13:74;
    then
by MATRIX_023;
    then
A15: card Seg width A1=W by FINSEQ_1:57;
    then
 card (Seg W\N)=W-ardNby A9,A14,CARD_2:44;
    set SN=Segm(A1,Seg card N,Seg width A1);
A17: Seg card N c= Seg card N;
 NW-N  A9,A14,A15,NAT_1:43XREAL_1:233;
    Sgm (Seg card N) = idseq card N by A12AFUNCT_1:17
      .= id         .= ((g.)|H.))xbyA2,A16,FUNCT_1:9;
    then
A19: Seg card N=Sgm (Seg card N)"(Seg card N) by A17,FUNCT_2:       h|G).=(s)|G.s by:1
    Sgm (Seg width A1) = idseq width A1 by FINSEQ_3:48
      .= id Seg width A1;
    then N=Sgm (Seg width A1)"N by A9,A14,FUNCT_2:94;
    then
:SegmSN  N=(cN)by ,A11,,A19,MATRIX13:;
A21: card Seg card  endjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
  len A1d A1A1 FINSEQ_1: 3;
A23: now
      let i such that
A24:  i     reconsider G = FreeGen X0  GeneratorSet of  by Th45;
      not i in  takeG; thus thesis by Th75;
      then
A25:  i<1 or i > card N;
      i in dom A1 by A24,XBOOLE_0:def 5;
      hence Line(A1,i) = width A1 |-> 0.K by A12,A22,A14,A25,FINSEQ_1:1;
    end;
    card N <= len A1 by A10,MATRIX13:74;
    then
A26: Seg card N c= Seg len A1 by FINSEQ_1:5;
    idth A1>0 by A4,A13,MATRIX_0:23;
    then
A27: Space_of_Solutions_of SN = Space_of_Solutions_of A1 by A3       thesis XBOOLE_1:;
,h66
      .= Space_of_Solutions_of A9 by A11;
    per cases;
    suppose
A28:  W
      then SN=1.(K,card N) by 
   I be set;
      let X be  of I;
      let R beManySortedRelation of X;
A29:  W-'card N>0;
      then W-'card N+0>0;
      then W-'card N>=1 by   for  being set st x in I holds R.x is strongly-normalizing;
      then
A30:  Det 1.(K,W-'card N)=1_K by MATRIX_7:16;
A31:  card Seg (W-'card N)=W-'card N & 0.K<>1_K by java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 58
      consider MVectors be Matrix of W-'card N,W,K such that
A32:  Segm(MVectors,Seg (W-'card N),Seg W \ N) = 1.(K,W-'card N) and
      Segm(MVectors,Seg (W-'card N),N)=-Segm(SN,Seg card N,Seg W \N)@ and
A33:  Lin(lines MVectors) = Space_of_Solutions_of A9 by A3,A9,A10,A27,A21,A15
,A20,A29,Th67;
      len MVectors=W-'card N by A29,MATRIX_0:23;
      then
A34:  W-'card N>=the_rank_of MVectors by MATRIX13:74;
A35:  Seg W \ N c= Seg W by XBOOLE_1:36;
      Indices MVectors=[:Seg (W-'card N),Seg W:] by A29,MATRIX_0:23;
      then
A36:  [:Seg (W-'card N),Seg W \ N:] c= Indices MVectors by A35,ZFMISC_1:95;
      reconsider B=lines MVectors as Subset of W-VectSp_over K;
A37:  dom MVectors=Seg len MVectors & len MVectors=W-'card N by FINSEQ_1:def 3
,MATRIX_0:def 2;
      EqSegm(MVectors,Seg (W-'card N),Seg W \ N)=1.(K,W-'card N) by A16,A18,A32
,FINSEQ_1:,MATRIX13:def 3java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
      then
A38:  W-'card N<=the_rank_of MVectors by A16,A18,A36,A30,A31,MATRIX13:def 4;
e;
      then Seg (W-'card N),B are_equipotent by A37,WELLORD2:def 4;
      then
A39:  card B = card Seg (W-'card N) by CARD_1:5
        .= W-'card N by FINSEQ_1cluster empty-ielding - terminating
      the_rank_of MVectors = W-'card N by A38,A34,XXREAL_0:1;
      then lines MVectors is linearly-independent by MATRIX13:121;
      hence thesis by A10,A18,A33,A39,VECTSP_9:26;
    end;
  end;
end;

theorem Th69:
  for M be Matrix of n,m,K, i,j,a st M is without_repeated_line &
  j in dom M & (i = j implies a<>-1_K) 
  Line(M,i)+*ine(M,j))
proof
  let M be Matrixendjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
A1: M is without_repeated_line java.lang.StringIndexOutOfBoundsException: Range [0, 34) out of bounds for length 15
A2: j in dom M and
A3: i = j impliesa<-1_K;
A4: len M=n by MATRIX_0:def 2;
  set L=Line(M,i)+a*Line(M,j);
A5: dom M=Seg len M by FINSEQ_1:def 3;
  set R=RLine(M,i,L);
  per cases;
  suppose
    not i in dom M;
    hence thesis by A5,MATRIX13:40;
  end;
  suppose
A6: i  end;
    then n<>0 by A5,A4;
    then
A7: width M=m by MATRIX_0:23;
    then reconsider
    Li=Line(M,i),Lj=Line(M,j) as Vector of m -VectSp_over K by MATRIX13:102;
    a*Lj=a*Line(  end;
    then
A8: L=Li+a*Lj by A7,MATRIX13:102;
A9: Li = Lj implies (a <> -1_K java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
    proof
      assume
A10:  Li=Lj;
      Li=M.i & Lj=M.j by A2,A5,A4,A6,MATRIX_0:52;
      hence thesis by A1,A2,A3,A6,A10,FUNCT_1:def 4;
    end;
    reconsider L9=L as Element of (the carrier of K)* by FINSEQ_1:def 11;
    reconsider LL=L9 as set;
    set iL={i}-->L9;
    len L=width M by CARD_1:def       hence thesis by Def17;
    then
A11: R = M+*(i,LL) by MATRIX11:29
      .= M+    suppose i nin dom R;
      .= M+*iL by FUNCOP_1:def 9;
    M.:(dom M\dom iL) = M.:(dom M)\M.:(dom iL) by A1,FUNCT_1:64
      .= rng M \ M.:(dom iL) by RELAT_1:113
      .= rng M \ Im(M,i)
      . rng M \{.} by A6,FUNCT_1:59
      .= rng M \ {Line(M,i)} by A5,A4,A6,MATRIX_0:52;
    
A12:R NF: :
      .= lines   for s being SortSymbol of Sfor    of FreeGen ).
A13: Lj in lines M by A2,A5,A4,ATRIX13:103;
    Li in lines M by A5,A4,A6,MATRIX13:103;
    hence thesis by A8,A12,A13,A9,Th14;
  end;
end;

theorem Th70:
  for Wjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
 finiteSof st N c=Seg  & dim  =card  & Segm(
  A,      hence ;
proof
  let W be Subspace of m-VectSp_over K;
  consider I be finite Subset of W such that
A1: I is Basis of W by MATRLIN:def 1;
  I is linearly-independent by A1,VECTSP_7:def 3;
  then reconsider U=I as linearly-independent Subset of m-VectSp_over K by
VECTSP_9:11;
  defpred P[set,set] means for A be Matrix of card I,m,K,B be Matrix of card I
,m,sche A {x1,x2)-set,R()-Relation,P[set}
[2(]
  deffunc F(Matrix of card I,m,K,Nat,Nat,Element of K) = $1;
  consider M be Matrix of card I,m,K such that
  M  by 104;
A3: A3  for y,z being set st R( reduces x1()y  y,z]in ( &
  for  P[]holds [z]
  RLinei +a*ineA9,))F(,i,j,a]
  proof
    let A9 be Matrix of card I,m,K, B9 be Matrix of card I,m,K such that
A4: P[A9,B9];
5  A9= len A9by def 3;
    let a be Element of K;
    let i,j such that
A6: j in dom A9 &( i = j implies a <> -1_K);
    set R=RLine(A9,i,Line(A9,i) + a*Line(A9,j));
A7: A9 is without_repeated_line by A4;
    then
A8: Lin lines A9= Lin lines R by A6,Th69;
    lines A9 is linearly-independent by A4;
    then card I = the_rank_of A9 by A7,MATRIX13:121
      .= the_rank_of R by A6,A5,MATRIX13:92;
    thesis  ,A8,MATRIX13:121;
  end;
  Lin(I) = the ModuleStr of W by A1,VECTSP_7:def 3;
  then
A9: P[M,M] by A2,VECTSP_9:17;
  consider A9 be Matrix of card I,m,K, B9 be Matrix of card I,m,K,N such that
A10: N c= Seg m and
A11: the_rank_of M = the_rank_of A9 & the_rank_of M = card N & P[A9,B9] and
A12: Segm(A9,Seg card N,N) = 1.(K,card N) and
  for i st i in dom A9 & i > card N holds Line(A9,i) = m|->0.K and
  for i,j st i in Seg card N & j in Seg width A9 & j < Sgm N.i holds A9*(i
  ,j) = 0.K from GAUSS2(A9,A3);
  dim W = card I endjava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
  then reconsider A9 as Matrix of dim W,m,K;
  lines A9 c= the carrier of Lin(lines A9)
  by STRUCT_0:def 5,VECTSP_7:8;
  then reconsider lA=lines A9 as linearly-independent Subset of W by A11,
VECTSP_9:12;
  take A9,N;
A13: Lin(lA) = Lin(lines A9 provided
A14A1: P[x2() and
A15: card I=dim W by A1,VECTSP_9:def 1;
  Lin(lines A9) = the ModuleStr of W by A11;
  hence thesis by A15,A10,A11,A12,A14,A13,VECTSP_7:def 3;
end;

theorem
  for W be strict Subspace of m-VectSp_over K st dim W < m ex A be
Matrix of m-'dim W,m,K, N be without_zero finite Subset of NAT st card N = m-'
  dim W & N c= Seg m & Segm(A,Seg(m-'dim W),N) = 1.(K,m-'dim W) & W =
  Space_of_Solutions_of A
proof
  let W be strict Subspace of m-VectSp_over Kjava.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
A1: dim W < m;
  per cases;
  suppose
A2: dim =0;
    then m-'dim W = m by NAT_D:40;
    then reconsider ONE=1.(K,m) as Matrix of m-'dim W,m,K;
    take ONE,Seg m;
A3: len 1.(K,m)=m by MATRIX_0:24;
A4: dim Space_of_Solutions_of ONE=0 by Lm8;
A5: m-'dim W=m by A2,NAT_D:40;
A6: width 1(K,m)=m by MATRIX_0:24java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
    Space_of_Solutions_of ONE = (Omega).(Space_of_Solutions_of ONE)
      .= (0).(Space_of_Solutions_of ONE) by A4,VECTSP_9:29
      .= (0).W by A6,VECTSP_4:37
      .= (Omega).W by A2,VECTSP_9:29
      .= W;
    hence thesis by A5,A3,A6,FINSEQ_1:57,MATRIX13:46;
  end;
  suppose
A7: dim W >  func NForms - non-mpty ManySortedSubset  X means:Def19:
    for  being ElementofI 
A8: m-dim W>dim W-dim W by A1,XREAL_1:9;
A9: m-'dim W=m-dim W by A1,XREAL_1:233;
    then
A10: len ZERO=m-  proof
A11: card Seg m = m by FINSEQ_1:57;
    consider A be Matrix of dim W,m,K, N such that
A12: N c    deffunc (Element of ) =
A13: dim W = card N and
A14: Segm(A,Seg dim W,N)=1.(K,dim W) and
    the_rank_of A = dim W and
A1:for i being Element of I holds A.i = F(i) from PBOOLE:sch 5;
    set SA = Segm(A,Seg dim W,(Seg m)\N);
A16: card ((Seg m)\N) = card Seg m-card N by A12,CARD_2:44;
    then
A17: width SA =m-card N by A7,A11,MATRIX_0:23;
A18: card Seg dim W=dim W by FINSEQ_1:57;
    then len SA=dim W by A7,MATRIX_0:23;
    then width (SA@) =dim W by A13,A8,A17,MATRIX_0:54;
    then
A19: width (-SA@) =dim W by MATRIX_1:def 4;
A20: card Seg (m-'dim W)=m-'dim W by FINSEQ_1:57;
    m-'dim W = m-dim W by A1,XREAL_1:233;
    then reconsider
    CC=1.(K,m-'dim W) as Matrix of card Seg(m-'dim W),card((Seg m)\
    N),K by A13,A16,A11,A20;
A21: Seg m\((Seg m)\N) = Seg m /\N & m-'(m-'dim W)=m-(m-'dim W) by NAT_D:35
,XBOOLE_1:48,XREAL_1:then j  i Element of I;
A22: A4:   A.j =the  ofall (x,R.j) where xis  of X.j by A1;
    then
A23: [:Seg (m-'dim W),N:] c= Indices ZERO by A12,ZFMISC_1:95;
    len (SA@)=m-dim W by A13,A8,A17,MATRIX_0:54;
    then len (-SA@)=m-'dim W by A9,MATRIX_1:def 4;
    then reconsider
    BB=-SA@ as Matrix of card Seg (m-'dim W),card N,K by A13,A20,A19,
MATRIX_0:51;
A24: N misses (Seg m)\N by XBOOLE_1:79;
A25: (Seg m)\N c= Seg m by XBOOLE_1:36;
    then
A26: [:Seg (m-'dim W),(Seg m)\N:] c= Indices ZERO by A22,ZFMISC_1:95;
    [:Seg (m-'dim W),N:]/\[:Seg (m-'dim W),(Seg m)\N:]= [:Seg (m-'dim W),
    N/\((Seg m)\N):] by ZFMISC_1:99
      .= [:Seg (m-'dim W),{}:] by A24
      .= {} by ZFMISC_1:90;
    then
    for i,j,bi,bj,ci,cj be Nat st [i,j    =A2.by A6;
-'dim W),(Seg m)\N:  end;
    dim W)".i& cj=Sgm ((Seg m)\N)".j holds BB*(biend;
    then consider M be Matrix of m-'dim W,m,K such that
A27: Segm(M,Seg (m-'dim W),N)=BB and
A28: Segm(M,Seg (m-'dim W),(Seg m)\N)=CC and
    for i,j st [i,j] in Indices M\([:Seg (m-'dim W),N:]\/[:Seg (m-'dim W),
    (Seg m)\N:]) holds M*(i,j) = ZERO*(i,j) by A10,A23,A26,Th9;
,XBOOLE_1:28;
    then consider MV be Matrix of dim W,m,K such that
A29: Segm(MV,Seg dim W,N) = 1.(K,dim W) and
A30: Segm(MV,Seg dim W,(Seg m)\N)= -Segm(M,Seg (m-'dim W),N)@ and
A31: Lin(lines MV) = Space_of_Solutions_of M by A7,A13,A9,A8,A16,A11,A28,A21
,Th67,XBOOLE_1:36;
A32: now
33  Indices [Seg dim W,  m:]by A7,MATRIX_0:;
      let i,j such that
A34:  [i,j] in Indices A;
A35:  i in Seg dim W by A34,A33,ZFMISC_1:87;
A36:  Indices A=Indices MV by MATRIX_0:26;
A37:  rng Sgm Seg dim W=Seg dim W by FINSEQ_1:def 14;
      Sgm Seg  W=egdim W by A18,FINSEQ_3:40;
      then consider x being object such that
A38:  x Seg W 
A39:  (Sgm Seg dim W).x=i by A35,A37,FUNCT_1:def 3;
      reconsider x as Element of NAT by A38;
A40:  j in Seg m by A34,A33,ZFMISC_1:87;
      now
         cases
        suppose
A41:      j in N;
          then
A42:      [i,j] in [:Seg dim W,N:] by A35,ZFMISC_1:87;
A43:      rng Sgm N=N by FINSEQ_1:def 14;
          dom Sgm N=Seg dim W by A13,FINSEQ_3:40;
          then consider y being object such that
A44:      y in Seg dim W and
A45:      (Sgm N).y=j by A41,A43,FUNCT_1:def 3;
          reconsider y as Element of java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 29
A46:      [:Seg dim W,N:] c= Indices A java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 6
          
A47:      [x,y] in Indicesjava.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 10
MATRIX13:17;
          [x,y] in Indices Segm(  R be terminating with_UN_property invariant stable
17;
          hence A*(i,j) = Segm(MV,Seg dim W,N)*(xover S means: :
MATRIX13:def 1
            .= MV*(i,j) by A39,A45,A47,MATRIX13:def foro being  of S,a being Element of (o,it)holds
        endjava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
        suppose
          not j in N;
          then
A48:      j in Seg m\N by A40,XBOOLE_0:def      i  the carrier' of ;
          then
A49:      [i,j] in [:Seg dim W,Seg m\N:] by A35,ZFMISC_1:87;
A50:      rng Sgm (Seg m\N)=(Seg m\N) by FINSEQ_1:def 14;
          dom Sgm(Seg m\N)=Seg(m-'dim W) by A13,A9,A16,A11,FINSEQ_3:40;
          then consider y being object such that
A51:      y in Seg (m      . ((NForms )*he Arity of S). by :15java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
A52:      (Sgm (Seg m\N)).y=j by A48,A50,FUNCT_1:def 3;
          reconsider y as Element of NAT by A51;
A53:      [:Seg dim W,Seg m\N:] c= java.lang.StringIndexOutOfBoundsException: Range [8, 1) out of bounds for length 46
          then
A54:      [x,y] in Indices Segm(A,Seg dim W,Seg        reconsider y as Element  Do)by A1,A3;
MATRIX13:17;
A55:      [x,y] in Indices Segm(MV,Seg dim W,Seg m\N) by A36,A37,A39,A50,A52
,A53,A49,MATRIX13:17;
          then
A56:      [x,y] in Indices (Segm(M,Seg (m-'dim W),N)@) by A30,Lm1;
          then
A57:      [y,x] in Indices Segm(M,Seg (m-'dim W),N) by MATRIX_0:def 6;
          then
java.lang.StringIndexOutOfBoundsException: Range [10, 3) out of bounds for length 42
          thus MV*(i,j) = (-Segm(M,Seg (m-'dim W),N)@)*(x,y) by A30,A39,A52,A55
,MATRIX13:def 1
            .= -(Segm(M,Seg (m-'dim W),N)@)*(x,y) by A56,MATRIX_1:def 4
            .= -(-SA@)*(y,x) by A27,A57,MATRIX_0:def 6
            .= --(SA@)*(y,x) by         then reconsider a  Den(o,SX). as
            .= (SA@)*(y,x) by RLVECT_1:17
            .= SA*(x,y) by A54,MATRIX_0:def 6
nf( R.the_result_sort_of o in  setof all
        end;
      end;
      hence A*(i,j)=MV*(i,j);
    end;
    then reconsider lA=lines MV as Subset of W by A15,MATRIX_0:27;
    take M,Seg m\ N;
    MV = A by A32,MATRIX_0:27;
    then Lin(lA) = the ModuleStr of W by A15,VECTSP_7:def 3;
    hence thesis by A1,A13,A16,A11,A28,A31,VECTSP_9:17,XBOOLE_1:36,XREAL_1:233;
  end;
end;

theorem Th72:
  for A,B be Matrix of K st width A = len B & ( width A = 0
  implies len A = 0 ) & ( width B = 0 implies len B = 0 ) holds
    (NForms R)*the ResultSort of S;
proof
  let A,B be Matrix of K such that
  reconsider A = MSAlgebra(NForms R, f# as
A2 width A = 0 implies len A = 0 and
A3: width B = 0 implies len B = 0;
  set AB=A*B;
A4: lenAB=len A by A1,MATRIX_3:def 4;
A5: width AB=width B by A1,MATRIX_3:def 4;
 then reconsider AB as Matrix of  A,idth B,K by ,MATRIX_0:51;
  the carrier of Space_of_Solutions_of B c= the carrier of
  Space_of_Solutions_of AB
  proof
    let x be object;
    assume x in the carrier of Space_of_Solutions_of B;
    then x in Solutions_of(B,len B|->0.K) by A3,Def5;
    then consider f such that
A6: f=x and
A7: ColVec2Mx f in Solutions_of(B,ColVec2Mx (len B|->0.K));
    consider X such that
A8: X=ColVec2Mx f and
A9: len X = width B and
A10 (len B|-0.K) and
A11: B * X = ColVec2Mx (len B|->0.K) by A7;
A12: ColVec2Mx (len AB|->0.K)=0.(K,len A,1) by A4,Th32;
A13: ColVec2Mx (len B|->0.K)=0.(K,len B,1) by Th32;
    now
      per cases;
      suppose
         0;
        then
        Solutions_of(AB,ColVec2Mx (len AB|->0.K)) ={{}} & X ={} by A4,A5,A9,A12
,Th51,MATRIX_0:def 3;
        hence X in Solutions_of(AB,ColVec2Mx (len AB|->0.K)) by TARSKI:def 1;
      end;
      suppose
A14:    len A<>0;
        then
A15:    width ColVec2Mx (len AB|->0.K)=1 by A4,Th26
          .= width ColVec2Mx (len B|->0.K) by A1,A2,A14,Th26;
        ColVec2Mx (len AB|->0.K) = A*(B*X) by A1,A2,A11,A13,A12,A14,MATRIXR2:18
          .= AB*X by A1,A9,MATRIX_3:33;
        hence X in Solutions_of(AB,ColVec2Mx (len AB|->0.K)) by A5,A9,A10,A15;
      end;
    end;
    then f in Solutions_of(AB,len AB|->0.K) by A8;
    theorem Th79:
  end;
  hence thesis by A5,VECTSP_4:27;
end;

theorem
  for A,B be Matrix of   st x in (NForms R).a h nf(x,R.
  the_rank_of A & the_rank_of (A*B) <= java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 7
proof
  let A,B be Matrix of K such that
A1: width A = len B;
   ABA*;
A2: width AB=width B by A1,MATRIX_3:def 4;
  per cases;
  suppose
    the_rank_of AB=0;
    hence thesis;
  end;
  suppose
A3: the_rank_of AB>0;
    set AT=A@;
A4: width AB>0 by A3,MATRIX13:74;
    then
A5: width A>0 by A1,A2,MATRIX_0:def 3;
    then
let be OperSymbol of S;
    set BT=B@;
    set BA=BT*AT;
    width AT=len A by A5,MATRIX_0:54;
    then
A7: width AT = 0 implies len AT = 0 by A5,MATRIX_0:def 3;
    then
A8: dim Space_of_Solutions_of AT = width AT - java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 24
A9: width BT=len B by A2,A4,MATRIX_0:54;
    then width BT = 0 implies len BT = 0 by A2,A4,MATRIX_0:def 3;
    then
A10: Space_of_Solutions_of AT is Subspace of Space_of_Solutions_of BA by A1,A6

A11: width BA=width AT by A1,A6,A9,MATRIX_3:def 4;
    then dim Space_of_Solutions_of BA = width BA - the_rank_of BA by A5,A7,java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
,MATRIX_0:54;
    then width AT - the_rank_of AT<=width AT - the_rank_of BA by A11,A10,A8,
VECTSP_9:25;
    then the_rank_of AT >= the_rank_of BA by XREAL_1:10;
    then
A12:the_rank_ofA>= the_rank_of BA byMATRIX13:84;
    width A=0 implies len A=0 by A1,A2,A4,MATRIX_0:def 3;
    then
A13: Space_of_Solutions_of B is Subspace of Space_of_Solutions_of AB by A1,A2
,A4,Th72;
    dim Space_of_Solutions_of B = width B-the_rank_of B & dim
    Space_of_Solutions_of AB=width AB-the_rank_of AB by A2,A4,Th68;
    then
A14: width B-the_rank_of B <= width B-the_rank_of    let R be terminating with_UN_property invariant stable
    BA=AB@ by A1,A2,A4,    ManySortedRelation of Free of (S,X);
    hence thesis        java.lang.StringIndexOutOfBoundsException: Range [35, 31) out of bounds for length 55
  end;
end;

theorem Th74:
  for A be Matrix of n,n,K, B be Matrix of K st Det A <> 0.K &
width A = len B & ( width B = 0 implies len B = 0 ) holds Space_of_Solutions_of
  B = Space_of_Solutions_of (A*B)
proof
  let A be Matrix of n,n,K,B be Matrix of K such that
A1: Det A <> 0.K and
 width A=lenB and
A3: width B = 0 implies len B = 0;
  set AB=A*B;
A4: lenAB=len AbyA2,MATRIX_3:def 4;
A5: width AB=width B by A2,MATRIX_3:def 4;
A6: len A=n by MATRIX_0:24;
  reconsider AB as Matrix of n,width B,K by A4,A5,MATRIX_0:24,51;
A7: width A=n by MATRIX_0:24;
A8: the carrier of Space_of_Solutions_of AB c= the carrier of
  Space_of_Solutions_of B
  proof
    Det A is non zero by A1,STRUCT_0:def 12;
    then A is invertible by    ;
    then A is_reverse_of A~ by MATRIX_6:def 4;
    
A9: 1.(K,n)=A~*A by MATRIX_6:def 2;
A10: len (A~)=n by MATRIX_0:24;
     x be object;
    assume x in the carrier of Space_of_Solutions_of AB;
then x  Solutions_of(AB,len |->K)by A3,6,,,Def5;
    then consider f such that
A11: f=x and
A12: ColVec2Mx f in Solutions_of(AB,ColVec2Mx (len AB|->0.K));
    consider X such that
A13: X=ColVec2Mx f and
A14: len X = width AB and
A15: width X = width ColVec2Mx (len AB|->0.K) and
A16: AB * X = ColVec2Mx (len AB|->0.K) by A12;
A17: width (A~)=n by MATRIX_0:24;
   BX=B*X;
A18: len BX=len B by  hence p/0.i =p.i+) by ,RFINSEQ:ef 1. .i;
    then
A19: BX = 1.(K,n)* BX by A2,A7,MATRIXR2:68
      .= A~ * (A*BX) by A2,A6,A9,A17,A18,MATRIX_3:33
      .= A~ * ColVec2Mx(len AB|->0.K) by A2,A5,A14,A16,MATRIX_3:33
      .= A~ * 0.(K,len AB,1) by Th32;
    now
java.lang.StringIndexOutOfBoundsException: Range [61, 16) out of bounds for length 16
      suppose
A20:    n = 0;
        then 0.(K,len AB,1)={} by A6,A4;
        hence BX=0.(K,len AB,1) by A2,A18,A20,MATRIX_0:24;
      end;
      suppose
        n>0;
hence =.K,en AB,1) by A6,A4,A10,A17,A19,MATRIXR2:18
      end;
       end;
    then BX =ColVec2Mx(len AB|->0.K) by Th32;
    then
    ColVec2Mx f in Solutions_of(B,ColVec2Mx(len B|->0.K)) by A2,A6,A7,A4,A5,A13
,A14,A15;
    thenA2 dom (p^<*y*>^q) = Seg len(p^<*y*>^q) by FINSEQ_1:def 3
    hence thesis by A3,A11,Def5;
  end;
  width A=0 implies len A=0 by A6,MATRIX_0:24;
  then Space_of_Solutions_of B is Subspace of Space_of_Solutions_of (A*B) by A2
A3,Th72java.lang.StringIndexOutOfBoundsException: Range [9, 10) out of bounds for length 9
  then the carrier of Space_of_Solutions_of B c= the carrier of
  Space_of_Solutions_of (A*B) by VECTSP_4:def 2;
  then the carrier of Space_of_Solutions_of B    now let  be object;
  Space_of_Solutions_of (A*B) by A8;
  hence thesis by A5,VECTSP_4:29;
end;

theorem Th75:
  for A be Matrix of n,n,K, B be Matrix of K st width A = len B &
  Det A <> 0.K holds the_rank_of (A*B) = the_rank_of B
proof
  let A be MatrixA6:i<len p+;
A1:         i =lenp NAT_1:13;
A2 &dom  c=dom(p^**) dom  cc=dom(^**>
  set AB=A*B;
A3: len AB=len A by A1,MATRIX_3:def 4;
A4: len A=n & width A=n by MATRIX_0:24;
A5: width AB=width B by A1,MATRIX_3:def 4;
  per cases;
  suppose
    width AB=0;
    hence thesis by A1,A3,A5,A4,Lm3;
  end;
  suppose
A6: width AB>0;
    then Space_of_Solutions_of B = Space_of_Solutions_of AB & dim
    Space_of_Solutions_of        len <*x*> = 1 & len <*y*> = 1 by FINSEQ_1:40;
    then width B-the_rank_of B=width B-the_rank_of AB by A5,A6,Th68;
    hence thesis;
  end;
end;

theorem
  for A be Matrix of n        then (p^<*x*>^q).i = (p^<*x*>).i & (p^<*x*>).i = x &
  <> 0.K holds the_rank_of (B*A) = the_rank_of B
proof
let A  Matrix of n,n,K, be Matrix of K such that
A1: width       end;
A2: Det A <> 0.K;
  set BA=B*A;
A3: len BA=len B by A1,MATRIX_3:def 4;
A4: width BA=width A by A1,MATRIX_3:def 4;
A5: len A=n & width A=n by MATRIX_0:24;
  per cases;
  suppose
width BA=0;
    hence thesis by A1,A3,A4,A5,Lm3;
  end;
  suppose
A6: width BA>0;
    then
A7: width (A@)=len A & len (B@)=width B by A1,A4,A5,MATRIX_0:54;
A8: Det (A@)<>0.K by A2,MATRIXR2:43;
    thus         hencehence (p^<x*^)+(len p+1,y).a = (p^<*y*>^q).a by A8,FUNCT_7:32
      .= the_rank_of ((A@)*(B@)) by A1,A4,A6,MATRIX_3:22
      .= the_rank_of (B@) by A1,A8,A7,Th75
      .= the_rank_of B by MATRIX13:84;
  end;
end;

Messung
CHZG
8110010093

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

*© Formatika GbR, Deutschland