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

Impressum matrix14.miz   Sprache: Mizar

 

:: Invertibility of Matrices of Field Elements
::  by Yatsuka Nakamura , Kunio Oniumi and Wenpai Chang
::
:: Received April 2, 2008
:: Copyright (c) 2008-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 A46:              Mxx/.i = Mxx.i by A35,A37,PARTFUN1:def 6
        ,RELAT_1 ALGSTR_0 ,ARYTM_1,
      RVSUM_1, FUNCT_1, PARTFUN1, TARSKI, ZFMISC_1, NAT_1, XXREAL_0, GROUP_1,
ORDINAL4,FVSUM_1,,MATRIX_1 ,MESFUNC1, MATRIX_6,
      TREES_1, MATRIXR2, AFINSQ_1, FUNCOP_1, QC_LANG1, FINSOP_1, java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 44
      FUNCT_7, RFINSEQ, MATRIX_3A3 a9   M
 notations TARSKI, XBOOLE_0,                  then
      A4:a9c A2java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
      NUMBERS, FINSEQ_7, FUNCT_2, FUNCOP_1, FINSEQ_1, STRUCT_0, GROUP_1,
      MATRIX_1, A47              nbf/ a9,9 inFby A3;
      FINSOP_1, RFINSEQ;
 constructors FUNCT_3, FINSEQ_7,   then consider a, b being Subset of X such that
      MATRIX_6, NAT_D, RELSET_1, FVSUM_1, MATRIX_1, MATRIX_3, BINOP_1;
 registrations A5:[a9,]= [,b]and
                     qua  of n-uples_on BOOLEAN)).i by A35A37,                     qua Element of n-tuples_on BOOLEAN)).i by A35,A37,Def5
 requirements REAL, A7 a ^| ,  A;
 equalities XBOOLE_0, MATRIX_0, MATRIX_1, ALGSTR_0;
 theorems MATRIX_3, VECTSP_1  a9 =a  A5,java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
      NAT_1, FINSEQ_7, FINSEQ_2, TARSKI, FINSOP_1, FVSUM_1, FUNCT_2  then
      ZFMISC_1, MATRIX_7, MATRIXR1, FINSEQ_3, XXREAL_0, ORDINAL1, FINSEQ_4,
R2XREAL_1,FUNCOP_1                     Element   -uples_on BOOLEAN).i
      PARTFUN1, NAT_D, CARD_1, MATRIX_1;
 schemes NAT_1, MATRIX_0;

begin :: Preparation

reserve

  ,m,,   of NAT,
  K for Field;

definition
  let K be non empty ZeroStr, n;
  func 0*(K,n) -> FinSequence of K                     suppose
  n |                      =java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
  coherence;
end                      hence  ;

definitioni . & (.) A35A37java.lang.StringIndexOutOfBoundsException: Range [0, 66) out of bounds for length 4
  let K be
  let n;
  java.lang.StringIndexOutOfBoundsException: Range [20, 5) out of bounds for length 48
ence
end;

reserve L for non empty addLoopStr;

theorem Th1:
  for being  Lholdsx                     
  -end;
proof
  let x be FinSequence of L;
  x 1h  -java.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 77
  then x in { s where s is   Full-familyendrmax(|(jxby,A74:10
  hence thesis by FINSEQ_2:def 4;
nd;

     then=ax((D)x0  def 1java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
  for,2 FinSequence   stlenx1len x2 holds len(x1+2= x1
proof
  let x1,x2 be FinSequence of L;
  set n=len x1;
  reconsider z1=x1 as Element of (len x1)-tuples_on (the carrier of L) by
FINSEQ_2:92;
  assume len x1=len x2;
  then reconsider z2=x2 as Element of n-tuples_on (the                       rinrng(f|divset(,j))byA75,:def3java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
FINSEQ_2:92;
  dom (z1+z2)=Seg n by FINSEQ_2:124;
SEQ_1:def ;
end;

theorem  endjava.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
  for x1,x2 being FinSequence of L st len x1=len x2 holds len (x1- x2)=len x1
proof
  let                  end;
  set =en x1java.lang.StringIndexOutOfBoundsException: Range [15, 16) out of bounds for length 15
  reconsider z1=x1 as Element of (len x1)-tuples_on (the carrier of L) by
FINSEQ_2:92;
  assume lenx1lenx2;
  then reconsider z2=x2 as Element of n-tuples_on (the carrier of L)  reconsider F9 =Fas Full-amily of X by Th33java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
      set  =saturated        end;
  dom (z1-z2)=Seg n by FINSEQ_2:124;
  hence thesis by FINSEQ_1:def 3;
end;

reserve G for         hence x insetM=Maximal_wrtF9;

theorem Th4:
  for x1,x2 being FinSequence of G,i st i in dom mlt(x1,x2) holds
  mlt(x1,x2).i = (x1/.i)*(x2/.i)                 holds <M
proof
  let x1, be inSequence of G,i;
  assume
A1:i indom (1,x2)
A2: mlt(x1,x2)=(the multF       assume x in Ds= as non emptysetjava.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
A3: rng x2rngjava.lang.StringIndexOutOfBoundsException: Range [10, 8) out of bounds for length 49
  dom (the      then  ,B java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 5
 FINSEQ_1     ;
  then [:rng x1, rng x2:] c= dom theA48:x= A,]
  then
A4: dom mlt(x1,x2)assumeB by java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
  then i in dom x2 by A1,XBOOLE_0:def 4
  hen
A5: x2/.i=x2.i by PARTFUN1:def 6;
  i in dom x1 by A1,A4,
  then x1                   consider  be Real such that
   n b   A78:s >  and
  hence thesis by A1,PARTFUN1:def 6;
end;

theorem Th5:
  for A79A3 x=band
  <=i & i<=len x1 holds (x1+x2).i=x1/.i + x2/.i & (x1-x2). qua  of n-tuples_on,A4;
proof
  let x1,x2 be FinSequence of L,i be Nat;
  assume that
A1:lenx1=len x2 and
A2: 1<=i & i<=len x1;
  reconsider x10=x1,x20=x2 as Element of (len x1)-java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 20
      in and
yFjava.lang.StringIndexOutOfBoundsException: Range [50, 49) out of bounds for length 53
i   i in Seg=ggand
t i in Seg  (x1+ by ,Th2java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
  then :b = [aa bb]nd
  hence A:               indomf|divsetDj))and
  i in Seg len x1 by A2,A6: for c being set st c in B & aa holds bbc=java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
  then i  then i b by A5XTUPLE_01;
  then i in A84 xdom(divsetDj) A82,d ;
  hence thesis
end;

theorem Th6:
  for a being Element                    sbe Real
-*&-*x *-)
proof
  let a be Element of K, assume
  set n=len x;
  reconsider x0=x as java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 28
A21 B=saturated-                RbyLm1
  thus -a*x=(-1_K)*y by FVSUM_1:59
.   =Maximal_wrtjava.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
    .=(- 1_K *a)*x0 by VECTSP_1:8
    .=(- a)*x;
  thus -a*x= (-1_K)*y by FVSUM_1AAjava.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 57
    .=((-1_K)*a)*x0 by FVSUM_1:54
    .=a*((-1_K)* now
    .=a*(-x) by FVSUM_1:59;
end;

theorem Th7:
  for x1,2y1,beingFinSequence G lenx1=len &len y1=
  len y2 holds mlt(x1^y1,x2^y2)=(mlt(x1,x2))^(mlt(y1,y2))
proof
  let x1,x2,y1,y2 be FinSequence of    hereby
  assume that
A1: len x1=len:rm+f|ivsetjava.lang.StringIndexOutOfBoundsException: Range [0, 37) out of bounds for length 20
A2: len y1=len y2;
A3: (the multFjava.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 45
3;
A4: dom (x1^y1)=Seg len (x1^y1) by FINSEQ_1:def 3          asDependencyofXjava.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
A5: rng (x2^y2) c= the carrier of G by FINSEQ_1:def 4;
  dom      consider a,                 hence thesis by A102,A103;
  c= the carrier of G by FINSEQ_1:def 4,FUNCT_2:def 1;
  then [ (y1),  (2^)]c= dom(multF)A5Z:                
  then
A6: dom ((the multF of G) * (<: x1^y1,x2^y2 :>)) =dom (x1^y1) /\ dom (x2^y2)
  by A3,FUNCOP_1:69;
A7: len (x2^y2)=d;
  dom (x2^y2)=Seg len (x2^y2) by FINSEQ_1:def 3;
  then dom (1^y1)dom (2y2) ,A2,A7,4,FINSEQ_1:22;
  then
A8: dom (mlt(x1^y1,x2^y2))= dom (x1^y1) by A3,A6,            hence thesis;
A9A72:        bs0 = 0*n by BINARI_3:25
A10: dom (the multF of G)=[:the carrier of G,the carrier of G:] by
FUNCT_2:def 1;
  rng y1 c= the carrier of G & rng y2 c= the carrier of G by FINSEQ_1:def 4A105     .j=(lower_bound rng (f|divset(D,j)))*vol(divset(D,j)) by A17,
  then [:rng y1, rng y2:] c= dom the multF of G INTEGRA1: 7;
  then
A11: dom ((the multF of G) * (<:y1,y2:>)) =dom y1 /\ dom y2 by A9,FUNCOP_1:69;
  domy2=Seglen  by ,: 3
    .=dom y1 by FINSEQ_1:def3java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
  
A12: dom mlt(y1,y2) =dom y1 by A9,A11,FVSUM_1:def 7;
  then dom (mlt(y1,y2))=Seg len y1 by FINSEQ_1:def 3;
  then
A13: len (mltA106:     y(upper_boundrng(|divset(,))*vol(ivset(D,j)) -(
A14: (the multF ofA73:         dom L
;
  rng (x1) c= the carrier of G & rng (x2) c= the carrier of G by FINSEQ_1:def 4
;
  henrng (x1)  x2)]c  the multFof G)by A10,ZFMISC_1:6;
  then
A15: dom ((the multF of G)A74:        jinSeg nA24:   a99b99  = f,j-java.lang.StringIndexOutOfBoundsException: Range [59, 58) out of bounds for length 76
FUNCOP_1=byjava.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 33
A16: len (x1^y1)=len x1+len y1 by FINSEQ_1:22;
  dom =Seg x1 by A1,def 3
.dom  by FINSEQ_1:def 3;
  then
A17: dom (mlt(x1,x2)) =dom x1b9  set such that
  then
A18: dom (mlt(x1,x2))=Seg len x1 by FINSEQ_1:def 3;
19 for Natst1 
  ^y2)).i=((mlt(x1,x2))^(mlt(y1,y2))).i
  
    let i be Nat;
     that
A20: 1<=i                      .=by java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
A21: i<=len (mlt(x1^y1lower_bound rng (max+A76:L.=s0/j)''Ma/j) ,
    i in Seg len (mlt(x1^y1,x2^y2)) by A20,    i in Seg len (mlt(x1^y1,x2^y2)) by A20,A21

A22: i in dom (mlt(x1^y1,x2^y2)) by java.lang.StringIndexOutOfBoundsException: Range [0, 44) out of bounds for length 28
    then i<=len (x1        then
    then
A23: (x1^y1)/.i= (x1^y1).i A31           java.lang.StringIndexOutOfBoundsException: Range [19, 20) out of bounds for length 19
    <len(^y2)byA1 i 
    then
A24: (x2^y2)/.i= (x2^y2).i by A20,FINSEQ_4:15;
A25         b99c b19 ,A24      Lm1
    now
      per cases;
      suppose
A26:    i<=            byA26
            then
A27:          end;
        then
A28:    i in dom x1 by FINSEQ_1:def 3;
        indomA1,FINSEQ_1: ;
        then
A29:    (x2^y2).i=x2.i by FINSEQ_1:def 7;
A30:    i     endjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
then
A31:    ((mlt(x1,x2))^(mlt(y1,y2))).i =(mlt(x1,x2)).i by FINSEQ_1:def   a,bbeing of X suchthat
          .=(x1/.i)*(x2/.i) by A30,Th4A32:  [ 
        x1/.i=x1.i & x2/.i=x2.i A;
        hence ((x1^y1)/.i)*((x2^y2)/.i)=((A33  c   stc  B&a=c java.lang.StringIndexOutOfBoundsException: Range [0, 45) out of bounds for length 16
,
      end;
      suppose
A32:    i>len x1;
  = x2y2) by A1,A2,A16,A7,A4domMaSegnbyjava.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
        then
A33:    (x2^y2)/.i= (x2^y2).i by A20,FINSEQ_4:15              then
        i<=len (x1^y1) by A4,A8,A22,FINSEQ_1:1;
        
A34:    (x1^y1)/.i= (x1^y1).i by A20,                .= 0 by A18,A51,A57,A70,A74,A70A74A79
        setk= -'len x1;
A35:    k=i-len x1 by A32,XREAL_1:233;
        then

        i-len x1 <=len x1 + len y1 - len x1 by A25,XREAL_1:13;
en
A37:    k<=len y1 by A32,XREAL_1:233;
        k>0 by A32,A35,XREAL_1:50;
        then
java.lang.StringIndexOutOfBoundsException: Range [27, 28) out of bounds for length 27
        then
:kin Seg len;;
        then
A40:    k in dom (mlt(y1,y2)) by A12,FINSEQ_1:def 3;
        ithen
        then
A41:    ((mlt(x1,x2))^(mlt(y1,A108   | osc.m - 0 .|<a by A13;
          .=(y1/.k)*(y2/.k) by A40,Th4;
        k in dom y1 by A39,FINSEQ_1:def 3;
        then
A42:    (x1^y1).i=y1.k by A36,FINSEQ_1:def 7;
        k in         for j  Nat st j  dom F holds 0 < F.
        then
A43:    k in dom y2 by A2,FINSEQ_1:def 3;
        y1        proof
        hence
        ((x1^y1)/.i)*((x2^y2)/.i)=((mlt(java.lang.StringIndexOutOfBoundsException: Range [0, 42) out of bounds for length 23
,A42,A34,A33,A41,FINSEQ_1:def 7;
      end;
    end;
    hence A35 a9 ]in MG A22
  end;
  len (mlt(x1^y1,x2^y2))=len (x1^y1) by A4,
    .=len x1 + len y1 by FINSEQ_1:22;
  then len (mlt     ^|^b9, Gby A35;
INSEQ_1def 3;
  then len (mlt(x1^y1,x2^y2))=len ((mlt(x1,x2))^(mlt(y1,y2))) by FINSEQ_1:22;
  hence thesis by java.lang.StringIndexOutOfBoundsException: Range [0, 21) out of bounds for length 8
end;

notation
  let KcA34java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
  let e1,    then b cb9byA33A37java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
  synonym |( e1,e2 )| for then [a9,b9] >= [a,b] by
end;

theorem Th8:
   , being FinSequence of ,a =java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
  y holds mlt(a*x,y)=a*(  ;
proof
xybeFinSequence ,a henceby :java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
  assume len x=len y;
  end
Th1;
  A111:      by :java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 0
  thus mlt(a*x,y)java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
    .=let  set,F -et Xjava.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
thus mlt(x,a*y)=a*(mlt(x0,y0)funcjava.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 50
    .=a*(mlt(x,y));
end;


  for x,y being FinSequence of K,a being Element of K st len x=java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 14
  holds |(a*x,y)| = a*|(x,y)|
proof
  let x,y be FinSequence of K,a be Element of K;
  assume len x=len y;
  then Sum mlt(a*x,y) = Sum  
  Sum java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 54
  *)a(,ybyjava.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 50
  hence thesis by FVSUM_1:def 9;
end;

m Th10java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
  for ,ybeing FinSequence of K,  Element of  B java.lang.StringIndexOutOfBoundsException: Range [15, 16) out of bounds for length 15
  y holds |(x,a*y)| = a*|(x,y)|
proof
  let x,    proof
  assume len x=len y;
  then Sum mlt(x,a*y) =(Sum (a*(mlt(             r        be;
  then Sum mlt(x,a*yjava.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
  then Sum mlt(x,a*y) =a*|(x,y)| by java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 32
  hence thesis by FVSUM_1:def 9;
end            then  in  f  FUNCT_2:ef1

theorem Th11:
  for x,y1then rin f / (,) byA115XBOOLE_0def ;
  =len y1 & len x=len y2 holds |(x,y1+y2)| = |(x,y1)| + |(x,y2)|
proof
  letx,y1,y2 be FinSequence of K beElement of K;
  reconsider x0=x          (f|A).a =f. by A68,FUNCT_1:49
  assume
A1: len x=len y1 & len x=len y2;
  then reconsider
  y10=y1,y20=y2 as Element of (len x)-tuples_on (the             then r in dom (max+(f)|divset(D,j)) by RFUNCT_3:44;
  by Th1;
  Sum mlt(x,y1+y2) = Sum (mlt(x0,y10) + mlt(x0,y20)) by A1,MATRIX_4:57;
  then Sum mlt(x,y1+y2) = Sum mlt(x0            then
  then Summlt(x,y1+y2) = Sum mlt(x,y1) + |(x,y2)| by (+()divsetDj). in(max+f|divset(D,)byFUNCT_1:def 3;
  then Sum mlt(x,y1+y2) = |(x,y1)| + |(x,y2)| by FVSUM_1:def 9;
  hence thesis by FVSUM_1:def 9;
end;

theorem Th12:
  for x1,x2,y1,          (max+f)A is bounded_aboveby A1,Th14;
  =len y2 holds |( x1^y1, x2^y2 )| = |(x1,x2)| + |(y1,y2)|
proof
  let x1,x2,y1,y2 be FinSequenceunded_aboveby INTEGRA1java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
A1: (mltx1,x2)^mlt(,y2))=um mlt(x1,x2)+Sum mlt(1y2 by
RLVECT_1:41;
  assume len x1=len x2 & len y1=len y2;
  then Sum,XXREAL_2:45;
  then |( x1^y1, x2^y2 )| = Sum mlt(x1,x2) + Sum mlt(y1,y2) by FVSUM_1:def 9;
  then |( x1^y1, x2^y2 )|             qua  of                   then
  hence thesis by FVSUM_1:def 9;
end;

 :
  for p1 being Element of n-tuples_on the carrier of K holds mlt(
  p1,(n |-> (0.K)))=n |-> (0.K)
proof
  let p1          V1 then
  thus mlt(p1,(n |-> (0.K)))= mlt(p1,(0.K)*(0*(K,n))) by FVSUM_1:58
    .=           ) by A112I ;
.=n|-> (0.K) by FVSUM_1:58;
end;

notation
  let n;
  let K;
  let A be Matrix of n,K;
  synonym Inv A for A~;
end;

begin :: Zero Vectors and Base Vectors of Field Elements

theorem Th14:
  1.(K,0)=0.(,)&1(,0=}
proof
A1: len 1.(K,0) = 0 by MATRIX_0:24;
  hence 1.(K,0)=0.(K,0);
 ;
end;

theorem Th15:
  for A being Matrix of 0,K holds VALUED_1:13
proof
  let A be Matrix  .=upper_bound((max+f|divsetDj)) -lower_boundrng(max+
A1:len A=0 by MATRIX_0:4;
  hence A{}java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
          (divset(,j)>0 by :9;
  thus thesis by A1;
end;

theorem   hence thesis by A117,A116;
  for A being Matrix of 0,K holds A is invertible
roof
  let A be Matrix of 0,K;
  A*A= 1.(K,0)         
  then A is_reverse_of A by MATRIX_6:def 2;
  hence thesis by MATRIX_6 3;
end;

theorem Th17:
  for A,B,C being Matrix        then
proof
  let A,B,C be Matrix of n,K;
A1: width B=n & len C =n by MATRIX_0:24;
  =n by MATRIX_0:24;
  hence thesis by A1,MATRIX_3:33;
;

theorem Th18:
  for A,B being Matrix of.ufT).-fT).
  =1.(K,n) & A*B=1.(K,n)
proof
  let A,B be Matrix of n,K;
  hereby
    assume A is invertible & B=A~;
    then B is_reverse_of.Sumupper_volume(,D))-ower_sum(, java.lang.StringIndexOutOfBoundsException: Range [65, 64) out of bounds for length 70
java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 54
  end;
  hereby
    assume B*A=1.(K,n) & A*B=1.(K,n);
    then
A1: B is_reverse_of A by MATRIX_6:def 2;
    hence A is invertible by MATRIX_6:def 3;
    hence B=A~ by A1,MATRIX_6:def 4;
  end;
end;

theorem Th19:
        ]in  &  c holdsy=
  Matrix of n,K st B        hence thesis by A108,A120,A119,      hence thesis;
proof
  let    end;
  thus A is invertible implies ex B being    end;
  1.(K,n)
  proof
    assume A is    then osc1 is convergent  by SEQ_2:def
    then (A~)*A=1.(K,n) & A*(Aend;
    hence thesis;
  end;
  thus thesis by Th18;
end;

theorem Th20:
  for x being FinSequence of K holds java.lang.StringIndexOutOfBoundsException: Range [0, 1) out of bounds for length 0
proof
  let x be FinSequence of K;
  set n=len x;
  reconsider p1=x as Element of n-tuples_on  for  being  non empty ,F  upper_sum(+( by A3,5,A6,7T;
  |(x, 0*(K,n))| = Sum mlt(p1,0*( hence thesis      isB1)B2java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
    .= Sum 0*(K,n) by java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 6
    .= 0.K by MATRIX_3:11;
  hence thesis;
;

theorem Th21:
endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
proof
  let x ben  BINARI_3:25
  thus |(0*(K,len x),x)| = |(x,0*(K,len x))| by FVSUM_1:90
    .= 0.K by Th20;
end;

theorem Th22:
  for a being Element of K holds |( <* 0.K *>, <* a *> )|=0.K
proof
  let a be Element of K;
A1: len (<* a *>) =1 by FINSEQ_1:39;
  | * 0.K *>, <* a *> )| =|( 0*(K,1),<* a *> )| by FINSEQ_2:59
    .= 0.K by   then
end;

definitionA1 max(f=dom :;
  let K;
  let n,i be Nat;
funcBase_FinSeqKni -  of  equals
  Replace((n |-> 0.K),i,1.K);
  coherence;
end;

theorem Th23:
  for n, i being Nat holds len Base_FinSeq(K,n,i)=n
proof
 Natjava.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
  len (Replace((    assume
    .= n by CARD_1:def 7;
A3:x1indom f;
end;

theorem Th24:
  for i, n being Nat st 1<=i & i<=n holds     then
proof
  let i, n be Nat;
  assume
A1: 1<=i & i<=n;
A2: len (n |-> (0.K))=n by .= max((-f).x1,0 ) by RFUNCT_3 1
  len (Replace((n |-> (0.K)),i,1.K))=max((x),0) by :;
    .= n by CARD_1:def 7;
  hence (Base_FinSeq(K,n,i)).i = (Replace((n |-> (0.K)),i,1.K))/.i by A1,
INSEQ_415
    .= 1.K by A1,A2,FINSEQ_7:8;
end;

theorem Th25:
   ,jnbe Nat  <j&j<n&i<>j holds (Base_FinSeq(K,n,i) ).j=0.K
proof
       .=n |>0 by EUCLIDdef 4;
  assume that
:1<j j<n and
A2: i<>j;
A3: j in Seg n by A1,FINSEQ_1:1;
A4: len (n |-> (0.K))=n by CARD_1:def 7;
  len (Replace((n |-> (0. then
. by: java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
    hence 
FINSEQ_4:15
    .= ((n |-> (0.K)))/.j by A1,A2,java.lang.StringIndexOutOfBoundsException: Range [0, 1) out of bounds for length 0
    .theorem :
    0.  A3,FINSEQ_2:57;
end

mjava.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
  for i,n being Nat st 1<=i & i<=n holds (1.(K,n  then X  ntegrable -(f) isintegrable
proof
  let i,  hence B  (1;
  assume
A1: 1<=i & i<=n;
  then 1<=n    f be  ofA,EALjava.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
  then [i,1] in Indices  assume that
java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 50
A2:q=(1.K,). and
1(,)(,)=q.by:5;
  len (1.(K,n))=n bythen
  then i in dom (1.(K,n)) by A1,FINSEQ_3:25;
 thenqjava.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 46
  then
A3: len q=n by MATRIX_0:def 2;
A4: for j be NatA4           by,,java.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 46
  proof
    let j be Nat;
assume
A5: 1<=j & j<=n;
    then
:])M:1;
    then
A7: ex q0 being FinSequence of K st q0 = (1.(K,n)).i & (1.(K, n))*(i,j) =
    q0.j by MATRIX_0:def 5;
    per cases;
    suppose
A8:   i=j;
      then (1.(K,n))*(i,i) = 1_(K) by A6,MATRIX_1:def 3;
      hence 
    end;
    suppose
A9:   i<>j;
n .j.K  A6,MATRIX_1:def 3;
      hence thesis by A5,A9,Th25;
    end;
  end;
lenBase_FinSeq(K,n,i)=n by Th23;
  hence thesis by A2,A3,A4,FINSEQ_1:14;
end;

theorem Th27:
,j 1<=i &=n  <j  =holds (.K,)*i,j)(
  Base_FinSeq(K,n,i)).j
proof
  let i,j;
  assume that
n    assume
A2: 1<=j & j<=n;
  [i,j] in Indices (1.(K,n)) by A1,A2,java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 11
  then
  ex p3 being FinSequence of K st p3 = (1.(K,n)).i & 1.(K,n)*(i,j    forb be  st b in rng fholdsb =a  proof
TRIX_0:ef 5;
  hence thesis by A1,Th26;
end;

theorem
for being   nKholds =.,n  iff for ,jElement of
  NAT st 1<=i & i<=n & 1<=j & j<=n holds A*(i,j)=0.K
proof
  let A be Matrix      assume  in  f;
  thus A=0.(K,n) implies for i,j being Element of NAT java.lang.StringIndexOutOfBoundsException: Range [0, 56) out of bounds for length 50
  j<=n holds A*(i,j)=0.K
  proof
    set A2=0.(K,n),B2=0.      x  f 
    let   
    assume   bfx by PARTFUN1:;
A1: A=0.(K,n);
leti Elementjava.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
      a=c 
    then [i x<  java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 38
    then A3=A2 & (A2+B2)*(i,j)=A2*(i,j)+B2*(i,j) by MATRIX_1:def 6
,MATRIX_3:def 1;
    then A2*(i,)=A2*(i,,j)+2*i,j) java.lang.StringIndexOutOfBoundsException: Range [0, 38) out of bounds for length 8
    then A2*(i,j) - A2      ex  beingSubsetof    then rngf< a+n BB xcc holdsy= c
      .=A2*(i,j) +0.K by RLVECT_1:15
      .proof
 thesis ,java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 35
  end;
java.lang.StringIndexOutOfBoundsException: Range [21, 2) out of bounds for length 27
  end;
A4: width A=n by MATRIX_0:24;
  assume
A5: for  for   java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 62
  ,j)=0.K;
forA  proof
  proof
    let i,j   let G be Dep-set  java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 40
    reconsideri0=,j0=   ofNATby     assume b   f;
    assume
A6: [i,j] in Indices java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
     j   n  4ZFMISC_187;
    then
A7: 1<=j & j<=n by FINSEQ_1:1;
    i in Seg n by A3,A6,ZFMISC_1:87;
    1i& i<byFINSEQ_1:;
    then A*(i0,j0)=0.K by A5,A7;
  then upper_bound rng f <= a   =c  f = c};
  end;
  then A=A+A by A2,MATRIX_1:def 6;
  then AA3: cbeingsetstcinBB&a   ()( Th36;
  hence thesis by A2,A4,MATRIX_3:def 1;
end;

theorem Th29:
  for A being    x aby A2:;
  Nat stjava.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
proof
  let end;
A1: Indices A=[: Seg nA11:forcbeing set  c    (   -rng)
  thusA1(,n implies for java.lang.StringIndexOutOfBoundsException: Range [30, 2) out of bounds for length 5
  j<=n   let f beFunction of A,REAL;
  hence thesisbyA1
    assume
A2: A=1.(K,n);
    let i,j be Nat;
    assume 1<=i & i<=n & 1<=j & j<=n;
    then
A3 [ij]inIndices A by MATRIX_0:31;
    per cases;
    suppose
A4:   i=j;
   A(,=K A3MATRIX_1:ef3java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
      hence thesis by A4,FUNCOP_1:def 8;
    ;
    suppose
A5:   i<>j;
      then A*(i,j)=0.K byA4:rng fis  by ,INTEGRA1:13;
      hence thesis by A5,FUNCOP_1:def 8;
    ndjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
  end;
A6:len(.(Kn)=   1(,)=  MATRIX_0:24;
:Indices 1(,)=[:Seg n,  :]by :4java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
A8: width A=n by MATRIX_0  xstin y A|.x|=java.lang.StringIndexOutOfBoundsException: Range [63, 62) out of bounds for length 70
  thus (for i,j being Nat st 1<=i & i<=n & 1<=j & j<=n holds A*(i,j
  )=IFEQ(i,j,1.K,0.K)) implies A=1.(K,n)
  proof
    assume
A9: for i,j
    *(i,jA8xin A and
A10: for i,j being Nat st [ijava.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
    
      let i,j be Nat;
      java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
e
A11java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
       in n ZFMISC_1:;
      then
<j&=1java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
      i in Seg n by A1,A11,ZFMISC_1:87;
      then 1<=i & i<=n by FINSEQ_1:1;
java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 10
A13  A*i0,j0)IFEQ(,j0,1K0K  A12;
      per cases;
      
A14:    i0=j0
        then A*(i0,j0)=1_K by A13,FUNCOP_1:def 8;
        hence thesis by A1,A7,A11,A14,MATRIX_1:defX:[,X   F ;
      ;
      suppose
coherence
        then A*(i0,j0)=0A19:for A11:    lower_bound   < f  A6Edef;
        hence thesis java.lang.StringIndexOutOfBoundsException: Range [0, 23) out of bounds for length 7
      end;
    end;
        len  then.=  S:java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
    hence thesis by A10,MATRIX_0:21;
  end;
end;

begin :: Conditions of Invertibility

theoremhence contradictionby ,A16,proof
  for A,B being Matrix of n,K holds (A*B)@=(B@)*(A@)
proof
l , be Matrix of n,;
  percasesjava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
  suppose
A1:         byA10A12;
A2: width B=n by MATRIX_0:24;
    len B=n & width A=n by MATRIX_0end;
hencethesisbyA1A2,ATRIX_3:2;
  endXREAL_1:
  suppose
A3: n=0;
    hence (Ahence thesis
      .=(B@)*(A@) by A3,Th15;
  end;
end;

theorem
  for A being Matrix of n,K st A is invertible holds A@ is
  invertible & (A@)~ =(A~)@
proof
  let A be Matrix of n,K;
  assume A is invertible;
  then consider B being Matrix of n,K such that
A1: B*A=1.(K,n) and
A2: A*B=1.(K,n) by Th19;
  (A*B)@ = (B@)*(A@) by Th30;
  then
A3: (B@)*(A@)=1.(K,n) by A2,MATRIX_6:10;
  (B*A)@ = (A@)*(B@) by Th30;
  then
A4: (A@)*(B@)=1.(K,n) by A1,MATRIX_6:10;
  B=A~ by A1,A2,Th18;
  hence thesis by A3,A4,Th18;
end;

theorem Th32:
  for x being FinSequence of K, a being Element of K st (ex i st 1
<=&i<len x&x.ia&(j st j>i <=  j=len xholds x.0.)holds
  Sum x=a
proof
  let x be FinSequence of K, a be Element of K;
  givenjava.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
A1: 1<=i and
A2: i<=len x and
A3: x.i=a and
A4: for j st j<>i & 1<=j & j<=len x holds x.j=0.K;
  1<=len x by A1,A2,XXREAL_0:2;
  then consider f being sequence of (the carrier of K) such that
A5: f.1 = x.1 and
A6: for n being Nat st 0 <> n & n < len x
    holds f.(n + 1) = (the addF of K).(f.n,x.(n + 1)) and
A7: (the addF of K) "**" x = f.(len x) by FINSOP_1:def 1;
A8: for j being Nat st 1<=j & j<i holds f.j=0.K
  proof
    defpred     defpred P
    let j be Nat;
    assume
A9: 1 letX  set;
A10: for k being Nat st P[k] holds P[k+1]
    proof
 ;
      assume
A11:  P[k];
      per cases;
      suppose
A12:    not(1<=k & k<i);
        now
          per cases by A12;
          suppose
A13:        1>k;
A14:        1<=1+k by NAT_1:12;
            1>=k+1 by A13,NAT_1:13;
            then
A15:        k+1=1 by A14,XXREAL_0:1;
now
              per cases;
              suppose
                k+1<;
                then k+1< len x bytheorem : WWA6:
                hence ,5,;
              nd;
              suppose
                k+1>=i;
                hence thesis;
         nd;
            end;
            hence thesis;
          end;
          suppose
            k>=i;
            hence thesis by NAT_1:12;
          end;
        end;
        hence thesis;
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 4
      suppose
A16:     set X=the Attributesof D;
        then
A17:    k+1<=i by NAT_1:13;
A18:    k<len x by A2,A16,XXREAL_0:2;
        now
  for ,java.lang.StringIndexOutOfBoundsException: Range [11, 9) out of bounds for length 63
          suppose
bounded&>&(or  stx  A&y  A holds |..x-..<a(|x-y
            then
A20:        k+1.+..-..)
            .k+1  the addF of K).(f   h  rng <a*upper_bound
              .= 0.K+0.K by A4,A11,A16,A19,  rng f - lower_bound rng f)+(upper_bound rng rng ))
               .K by :4
            hence thesis;

          suppose
            A5  then   
            hence thesis;
          end: |Abounded 
        end;
             =it2  A;
      end;
    end;
 A21: Pin  Fjava.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 12
    for l   java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 57
    hence thesis by A9;
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
for  <=  <xjava.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 38

    []meansi<$  1=enximplies.1a;
    let j;
    assume
 =  =A22: i<=j & j<=lenjava.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 63
A23A5  candidate-A    java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 45
    proof
      let inA6: k2 in candidate
      assume
A24:  P[=k2;
      percases;
      suppose
        i=+  k+<len x
        hence thesis;
      ;
      suppose
A25:   <k+ &k1<=en x;
        then
A26:    k<len x by NAT_1:13;
A27:  reconsider H - java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 43
        now
 by A25,XXREAL_0;
          suppose
A28:        i<k+1;
  k< x  A25,NAT_1:13;
   i=k
            then   F=   Th37java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
              .=  hence thesis by A1;
              .= a by RLVECT_1:4;
            
          end;
          suppose
A30        g > gyjava.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
            then
A31:        k<i by NAT_1        then g for  beingset     ,B eingSubsetjava.lang.StringIndexOutOfBoundsException: Range [61, 61) out of bounds for length 4
                        now
              per cases;
              suppose
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
                then f.(k + 1) = (the addF of   set,KA:|g-g..+.=g.;
                  =0.+byA3,A30,        3;
                  . a by :4java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
                in { byTARSKI::def 1java.lang.StringIndexOutOfBoundsException: Range [27, 28) out of bounds for length 27
              end;
              suppose
                k<1;
                hen
A33:            k+1<=1 by NAT_1:13;
                1<= 1<=1
                then i=1 byA30,A33theng. <   X :otKjava.lang.StringIndexOutOfBoundsException: Range [47, 46) out of bounds for length 52
hencethesisby ,,A33        then g.y <= upper_bound rng g - |.g.x-gy,:9;
              end;
            end;
            hence thesis;
          end;
        end;
        hence thesis;
      java.lang.StringIndexOutOfBoundsException: Range [10, 11) out of bounds for length 10
    end;
A34: P[0] by A1;
      being Nat holds [l]  NAT_1sch2(A34,23;
    hence thesis by A22;
  end;
  then f.(len x)=a by A2;
  hence    assume x in B;
end;

theorem
  f1,2 
        then ..-.y. =-g.-.)by ABSVALUEdef 1
proof
  let          . g. -g.;
A1 rng (f2)c=the carrierof K
  dom (the multF of K)=[:the carrier of K,the carrier of K:A5:  b=X  TARSKI 1;
  the     hencethesis;
  then mlt(f1,f2)=(the multF of      a= X y A4,TARSKI:def 1;
  the multF of K) by A1,FVSUM_1:def 7,ZFMISC_1:96;
  hence dom (mlt  then reconsider BB  B as Subset-amily ofX
  thus thesis by Th4;
end;

theorem Th34:
  for x,y being FinSequence of A14    |g.-..| .x=gy;
  Base_FinSeq(K,m,i) F=X deps_encl_by ;
  holds y.j= 0.K
proof
  let x,y be FinSequence of K,i;
   that
A1: len x=m and
A2: y=mlt (x,Base_FinSeq(K,m,i)) and
A3: 1<=i and
A4: i<=;
A5: i in dom x by A1,A3,A4,FINSEQ_3:25;
   g. in rng       java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 33
  then
A6      then a9/b9 =b by :java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
A7: rng (Base_FinSeq(    suppose
A8: len (Base_FinSeq(K,m,i))=m by Th23;
  dom (thesis
  the carrier of K by FINSEQ_1:def 4,FUNCT_2:def 1;
  then[rngx,rng (ase_FinSeq,,): =dom java.lang.StringIndexOutOfBoundsException: Range [51, 52) out of bounds for length 32

  then dom ((the multF of K).:(x,Base_FinSeq(K,m,i))) =dom x /\ dom (
  Base_FinSeq(K,m,i)) by FUNCOP_1:69;
  then
A9 dom mlt x,(K_:def3;
FVSUM_1:def 7
    .= Seg     endjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
    . nd;
    .=Seg m;
  then i in dom (mlt (x,Base_FinSeq(K,m,i))) by A3,A4,FINSEQ_1:1;
  thenmltxBase_FinSeqK,mi).i(x/i*(Base_FinSeq(K
    .= (x/.i)* 1.K by A3,A4,A6,Th24
    .= x/.i
   . x.by A5,ARTFUN1 6;
  hence y.i=x.i by A2;
  let j;
   assume that
A10: j<>i and
A11: 1<jand
: j<mjava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
java.lang.StringIndexOutOfBoundsException: Range [21, 2) out of bounds for length 42

A13: (Base_FinSeq(K,m,i))/.j = (Base_FinSeq(K,m,i)).j by A11,java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 12
    .= 0.K by A10,A11,A12,Th25;
  j in dom (mlt (x,Base_FinSeq(K,m,   X be nonemptyset,   - ofX          .in f20,UNCT_1 java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
  then (mlt (x,Base_FinSeq(K,m,i))).j = (x/.j)*((Base_FinSeq(K,m,i))/.j) by   ={\{:java.lang.StringIndexOutOfBoundsException: Range [23, 19) out of bounds for length 52
. by;
  A1: xinBB;
end;

:
  for x being FinSequence of K st len x=
  ,Base_FinSeq: in{};
proof
  let x be FinSequence of K;
  assume that
:len      {}=boolX by :;
A2: 1<=i & i<=m;
A3: for j       thesis by         then
  by A1,A2,Th34;
A4    end;
: rng (Base_FinSeq(K,m,))cthe carrier of K by FINSEQ_1:ef 4
  dom (the multF of K)=[:the       x in {B where B is Subset of X Kc }
er K FINSEQ_1def,FUNCT_2defK=B
  then [:rng (x), rng (Base_FinSeq(K,m,i)):] c= dom (the multF of  hence ;
;
  then dom ((the multF of K)    end;
  Base_FinSeq(K,m,i)) by FUNCOP_1:69;
  then dom (mlt (x,Base_FinSeq(K,m,i)))= dom x /\ dom (Base_FinSeq(K,m,i)) by

    .= Seg m /\ dom (Base_FinSeq(K,m,i)) by A1,FINSEQ_1:def 3
    =Segenf <  rng f byA6,EQ_4def1;
    .= Seg m;
  then
:len (lt (,Base_FinSeq(,,i)) c  b=c}java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
A7:x/.i=x. byA1,,FINSEQ_4:15;
then((,Base_FinSeq      hence Xc by ,A7;
  then
A8: Sum (mlt (x,Base_FinSeq(        then lower_bound rng .x-
  hence |( x,Base_FinSeq(K,m,i) )|=x.i by FVSUM_1:XREAL_1:9;
  x./iy A1,,:15;
hence thesisby ,FVSUM_1def9
end;

theorem java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 10
  for m,i st     end;
  ,m,i) )|= 1.    hencejava.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 17
proof
   mijava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
  assume
;
  len (Base_FinSeq(K,m,i))=mnd
  hence
  |( Base_FinSeq(K,m,i),Base_FinSeq(K,m,i) )| = (Base_FinSeq(K,m let x,;
,Th35
    .=1.K by A1,Th24;
end;

theorem Th37:
  for a being Element of K,P,Q being Matrix of n,K st n>0 & a<>0.K
& P*(1,1)= a" & (for i st 1<i & A27: a*|.g.x-g.y.|<=a*(upper_bounjava.lang.StringIndexOutOfBoundsException: Range [55, 54) out of bounds for length 78
  & (for j st 1<j & j<=n holds Q*(1,j)= -a*(P    *..f..|=*(pper_boundrng A9 [a, b]> [x9,#X by Th26;
,XREAL_164java.lang.StringIndexOutOfBoundsException: Range [12, 13) out of bounds for length 12
proof
  letabe Element of K,P,Q be Matrix of n,K;
  assume that
A1: n>0 and
A2:a<0K and
A3: P*(1,1)= a" and
A4:for st 1i & i<n holds P.i=Base_FinSeq(K,n,i) and
A5: Q*(1,1)=a and
A6 & j=nholds *(1j= -a*P*1j)and
A7: for i st 1<i & i<=n holds Q.i=Base_FinSeq(K,n,i);
A8: 0+1<=n by A1,NAT_1:13;
A9: len (Base_FinSeq(K,n,1))=n by Th23;
A10: len P=n by MATRIX_0end;
A11: len ((a")*(Base_FinSeq(K,n,1)))=lenjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    .= n    X c b by A9;
: fork be Nat  1=&k<n  (olP).k=("*Base_FinSeq(K,,
  1))).k
  proof
java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
A13: k in NAT       assume x i F;
    assume that
:1<, java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 32
A15: k<=n;
A16: k in Seg n by A14:|A java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 22
    then
A17A6 (   and
A18: now
      [k,1] in Indices P by A8,A14,A15,A8: lower_sum(f,T) is convergent by A1,A6,A7,Th8
      then
A19:  ex p being FinSequence of K st p = P.k & P*(k,1) = p.1 by MATRIX_0:def 5;
      assume
A20:  k<>1;
      then 1<k by A14,XXREAL_0:1;
      then P*(k,1    now
        .= 0.K by A8,A20,Th25;
      hence (Col(P,1)).k= 0.K by A17,MATRIX_0:def 8;
    end;
A21: ((Base_FinSeq(K,n,1))/.k)=((Base_FinSeq(K,n,1)).k) by A9,A14,A15,
FINSEQ_4:15;
A22: now
      assume
A23:  k=1;
      k in dom ((a")*(Base_FinSeq(K,n,1))) by A11,A16,FINSEQ_1:def 3;
      hence ((a")*(Base_FinSeq(K,n,1))).k =(a")*((Base_FinSeq(K,n,1))/.k) by
A21,FVSUM_1:50
        .=(a")*(1.K) by A15,A21,A23,Th24
        .= a";
    end:f bbe Real st <
A24: k innow
:now
      assume
A26 k<    .|
      thus ((a")*(Base_FinSeq(K,n,1))).kproof
A24,A21,FVSUM_1:50
. a)(.) byA14,A15,21,26A9       java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
        .= 0.K;
    end;
    1<=nlet beNat
    then 1 in dom P by A10,         reconsider mm=m as Element NAT  ORDINAL1def12;
    hence          =m  Division  A
  end;
A27: 0+1<=n by A1        len  upper_volumefD)len  byINTEGRA1:def 6;
A28: len Q=n by MATRIX_0:24;
  then
A29: 1         then reconsider
  then
A30 1dom Q FINSEQ_1: 3;
A31: width Q=n by MATRIX_0:24;
  then
:  ((,1)=n by MATRIX_0def 7;
  then
)  A28,29,FINSEQ_1:ef ;
A34: for j st 1<    then X = a byXBOOLE_0 10;
  proof
    let j;
    assume 1<j & j<=n;
    then -(a")*(Q*(1,j))= -(a")*( -a*(P*(1 oscmuf).+-java.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 63
    then -(a")*(Q(1,j)=-a")*(a*(P*1,)):;
    then -(a")*(Q*(1,j))= (-(a"))*( (-a)*(P*(1,j))) by VECTSP_1:9;
then(a"*Q(,)) (((")(a)(*1j) by GROUP_1:def3;
    then -(a")*(Q*(1,j))= ((a)*(a"))*(P*(1,j)) by VECTSP_1
    A14    m 90java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
    hence thesis;
  end;
A35: for j st 1<j & j<=n holds (Q*P)*(1
  proof
java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
 that
A36:  l -    Cjava.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
A37: j<=n;
A38: len (-(a")*(Q*(1,upper_volume(g,D  len D byINTEGRA1def6;
    Base_FinSeq(K,n,1))) by               then c  by ;
      .=len (Base_FinSeq(Kjava.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 66
      .=n by            end         :133;
A39: j in Seg n by A36,A37,FINSEQ_1:1;
 = ,,java.lang.StringIndexOutOfBoundsException: Range [31, 29) out of bounds for length 32
    then
A41: 1 in Seg width Q by A31,FINSEQ_1:1;
    len Line(Q,1) = n by A31,MATRIX_0:def 7;
    then
A42: (Line(Q,1))/.j = (Line(Q,1)).j by A36,A37,FINSEQ_4:15;
:(Line(Q,1by A10;
      .= a by A5,A41,MATRIX_0:def 7;
A44:: len(Col( end;
      .=n by MATRIX_0:24;
    reconsider p=Col(P,j),q=-(a"e;
    Kn,j)as FinSequence of K;
A45: len (Base_FinSeq(K,n,j))=n by Th23;
46 (-"*Q*,)*(n1))=len Kn1)
    by MATRIXR1:16
      .=n by Th23;
A47: for k           AbeingXsuch
    proof
A48:G ;
      n,1)) by MATRIXR1:16
        .=n by Th23;
      let  java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 18
      assume that
A49:  1 <=k    now
A50:  k <= n;
A51:  k in:A |Xngset   acc holdsb= c
FINSEQ_3:25;
      len (Base_FinSeq(K,n,1))=n by Th23;    now
      then
:((ase_FinSeq(K,n,1))/.k)=((Base_FinSeq(K,n,1)).k) by A49,A50,FINSEQ_4 then a in{BwhereSubset of X notK c=B ;
;
kindomPbyA10A49A50java.lang.StringIndexOutOfBoundsException: Range [44, 40) out of bounds for length 44
      
A53:  p.k=P*(k,j) by MATRIX_0:def 8;
A54:  (-(a")    hence  inF byA5,11;
      Base_FinSeq(K,n,1))).k by Th6
        .=(-(a")*(Q*(1,j)))*((Base_FinSeq(K,
      per  by A49,XXREAL_0:1;
      suppose
A55:    1=k;
        then 1 <= len (-(a")*(Q*(1,j))*(Base_FinSeq(K,n,1))) by A50,A48,Th6;
        then
A56:    (-(a")*(Q*(1,j))*(Base_FinSeq(K,n,1)))/.1 =(-(a")*(Q*(1,j)))*((
        hence thesisA4,A3,13Th35;
          .=(-(a")*(Q*(1,j)))*(1.K) by A27,A52,A55,Th24
          .=-(a")*(Q*(1,j));
A57    p=-a"*(Q*(1,)  A34,A36,37,,A55;
        (Base_FinSeq(K,n,j))/.1 = (Base_FinSeq(K,n,j)).1 by java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 42
FINSEQ_4:15
         =0K  A36,50A55,h25;
        then q.1= -(a")*(Q*(1,j)) + 0.K by A38,A45,A50,A55,A56,Th5;
        hence thesis by A55,A57        proof
      end;
      suppose
A58:    1<k;
java.lang.StringIndexOutOfBoundsException: Range [12, 8) out of bounds for length 58
        then
A59:    ex p2 being A17:      rng g is bounded_below by A3,INTEGRA1:11;
MATRIX_0:def 5;
          NATbyORDINAL1def 12;
        then
A60A18:      jindom F
        now
                      Seg en by ,FINSEQ_1:ef 3;
          suppose
A61:        k <> j;
            len (Base_FinSeq(K,n,1))=n by Th23;
            then ((Base_FinSeq(K,n,1))/.k)=((Base_FinSeq(K,n,1)).k) by A49,A50,
FINSEQ_4:15;
            then
A62:        (-(a")*(A20:      j in dom D  FINSEQ_1def 3;
            (0.K) by A50,A54,A58,Th25
              .= 0.K;
:()(*(1j)(K,1). (("*Q,)
            (Base_FinSeq(K,n,1))).k by A38,A49,A50,FINSEQ_4:15;
A64:        p.k= 0.K by A36,A37,A60,A61,Th25;
            ((,,)/  Bnj. by A45,A49,A50,
FINSEQ_4:15
              .= 0.K by A49,A50,A61,Th25;
            then q.k= 0.K + 0.K by A38,A45,A49,A50,A63, being of java.lang.StringIndexOutOfBoundsException: Range [50, 49) out of bounds for length 54
            hence thesis by A64,RLVECT_1:4;
          ;
          suppose
A65:        k=j;
            then
A66:        p.k=1.K by A49,A50,            thendivset(D) =A by :8;
A67            then  inA by A23;
            (Base_FinSeq(K,n,1))).k by A38,A49,A50,A65,FINSEQ_4:15;
            len (Base_FinSeq(K,n,1))=n by Th23;
            then ((Base_FinSeq(K,n,1))/.k)=((Base_FinSeq(K,n,1)).k) by A49,A50,
FINSEQ_4:15;
            then
A68:        (-(a")*(Q*(1,k))*(Base_FinSeq(K,            domg by d1;
            (0.K) by A50,A54,A58,A65,Th25
              . 0.K;
            (Base_FinSeq(K,n,k))/.k = (Base_FinSeq(K,n,k)).k by A45,A49,A50,A65
FINSEQ_4:15
              .= 1.K by A36,A37,A65,Th24;
+1K A45,A49,A50,A65,A67,Th5
            hence thesis by A66,RLVECT_1:4;
          ;
        end;
        hence thesis;

    end;
    len (-(a")*          UV1.=upper_bound rng(|divset,))*djava.lang.StringIndexOutOfBoundsException: Range [63, 62) out of bounds for length 76
,Th2;
    then
A69:          then
,A47,FINSEQ_1:14;
    [1,] inIndices (Q*P) by A27,A36A37,MATRIX_0:;
    then (Q*P)*(1,j(rng(|(D,j))*(java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 13
.=| Line(Q,), ("(*1j)((K,,) | +2  , []] > [A,[#X]  A21
    , Base_FinSeq(Kendjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
      .= |( Line(Q,1), (
    1), Base_FinSeq(K,n,j) )| by Th6
      .=-a          by,
    1), Base_FinSeq(K,n,j) )| by A32,A9 endjava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
 .(-)(*1,j))*a+(Line(        then
,A43,Th35
      .= -((a")*(Q*where Bis A27    ..m|mABSVALUE ;
VECTSP_1:9
*(,)*a) )) +|oof
GROUP_1:def       [K,X] in Maximal_wrt by A4,A20;
((Q*1,)*(1        proof
  hence contradiction by ,A18A 
      .= -((Q}/{Bwhere B is Subset of X          set
      .= -(Q*(1A28      y=*(UVLV).)by RVSUM_145;
      .= -Q(1,j) +Q*(1j) by A31,A39,      .= -(Q*(1,j)) + Q*(1,j) by A31,A39,A42
      .A29:      in  len D);
    jindom by A29,3java.lang.StringIndexOutOfBoundsException: Range [45, 46) out of bounds for length 45
  end;
A70: 1A34        f|ivset(,)|divset(,)java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 10
A71: for i,j st 1<i &,INTEGRA2:6;
  proof
    let i,j;
    assume that
A72: 1<i and
A73: i=n and
A74: i=j;
A75: len (-(a")*(Q.=A / divset(D,j) by FUNCT_2:def 1
    Base_FinSeq(K,n,1))) by Th6
                    ( byA33:,28java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
      .=n by Th23;
    [i,j] in Indices Q by A72,A73,            f1=f|divset(D,j) as PartFunc(Dj)REAL by RELSET_1:;
    then consider p1 being FinSequence of K such that
:  . java.lang.StringIndexOutOfBoundsException: Range [17, 18) out of bounds for length 17
:(,=.byMATRIX_0def5
    p1=Base_FinSeq(K,n,i) by A7,A72,A73,A76;
    then
A78: p1.j=1.K by A72,A73,A74,Th24;
    [i,1] in Indices Q by A8,A72,A73,MATRIX_0:31;
  such
A79: p2 = Q.i and
A80: Q*(i,1) = p2.1 by MATRIX_0:def 5;
A81: width Q=n by MATRIX_0:24;
A82: j in Seg n by A72,A73,A74,FINSEQ_1:1;
A83: len (Col(P,j))=len P by MATRIX_0java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 6
      .=n by MATRIX_0:24;
                Xfinite  Cbeing-amily ofX B being set stC
    K,n,j) as FinSequence of K;
A84: len (Base_FinSeq(K,n,j))=n by Th23;
A85: len ((-(a")*(Q*(1,j)))*(Base_FinSeq(K,n,1))) =len (Base_FinSeq(K,n,1
    )) by MATRIXR1:16
       Th23java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
:for k be Nat st 1 <k & k <= n holds p.=q.k
    proof
A87:  len ((-(a"A;
      n,1)) by MATRIXR1:16
        .=n A3: B = {b where is Subset of X : for K being Subset of X st K in 
let  bebe Nat;
      assume that
A88:  1 <=k and
A89:  k <= n;
      k in Seg n by A88,A89,FINSEQ_1:1;
      then
A90:  k in dom ((-(a")*(Q*(1,j)))*(Base_FinSeq(K,n,1))) by A85,FINSEQ_1:def 3;
      len (Base_FinSeq(K,n,1))=n by Th23;
      then
A91:  ((Base_FinSeq(K,n,1))/.k)=((Base_FinSeq(K,n,1)).k) by A88,A89,FINSEQ_4:15
;
      k in dom P by A10,A88,A89,FINSEQ_3:25;
      then
A92:  p.k=P*(k,j) by MATRIX_0:def 8;
A93:  (-(a")*(Q*(1,j))*(Base_FinSeq(K,n,1))).k =((-(a")*(Q*(1,j)))*(
      Base_FinSeqA:a0
        .=(-(a")*(Q*(1,j)))*((Base_FinSeq(K,n,1))/.k:for x,y st in A&yin A holds .h.-..=a*|.-..+.
      per cases by A88,XXREAL_0:1;
      suppose
A94:    1=k;
        k <= len (-(a")*(Q*(1,j))*(Base_FinSeq(K,n,1))) by A89,A87,Th6;
        then
A95:    (-(a")*(Q*(1,j))*(Base_FinSeq(K,n,1)))/.k =(-(a")*(Q*(1,j)))*((
        Base_FinSeq(K,n,1))/.k) by A88,A93,FINSEQ_4:15
          .=(-(a")*(Q*(1,j)))*(1.K) by A4:     x in {X};
          .=-(a")*(Q*(1,j));
        (Base_FinSeq        KX] in {K,X]} by TARSKI:def 1;
FINSEQ_4:15
          .= 0.K by A72,A74,A89,A94,Th25;
        then
A96:    q.k= -(a")*(Q*(1,j)) + 0.K by A75,A84,A88,A89,A95,Th5;
        .=-a"*(Q*1,)by A34A,,A74,A92,A94;
        hence thesis by A96,RLVECT_1:4;
      end;
      suppose
A97:    1<k;
        [k,j] in Indices P    let xbe ;
        then
A98:    ex p2 being FinSequence of K st p2 = P.java.lang.StringIndexOutOfBoundsException: Range [0, 48) out of bounds for length 33
MATRIX_0:def 5;
        k in NAT by ORDINAL1:def 12;
        then
A99:    p.k      end;
        now
          per cases;
          suppose
A100:       k <> j;
;
            then ((Base_FinSeq(K,n,1))/.k)=((Base_FinSeq(K,n,1)).k) by A88,A89,
FINSEQ_4:15;
            then
A101    hence thesis;
            (0.K) by A89,A93,A97,Th25
              .= 0.K;
A102:       (-(a")*(Q*(1,j))*(Base_FinSeq(K,n,1)))/.k =(-(a")*(Q*(1,j))*
            (Base_FinSeq(K,n,1))).k by A75,A88,A89,FINSEQ_4:15;
A103:       p.k= 0.K by A72        [B,] in {A A] where A is Subset of X :notKc A} by A7;
             then [B,]in  by XBOOLE_0:ef ;
FINSEQ_4:15
                      henB ^| B, F by A1;
            then q.k= 0.K + 0.K by A75,A84,A88,A89,A102,A101,Th5;
            hence thesis by A103,RLVECT_1:4;
          end;
          suppose
A104:       k=j;
            len (Base_FinSeqthen c being Subsetof X such that
            A11:  [a,b] = [cc 
FINSEQ_4:15;
            then
A105A12:  not K c=cjava.lang.StringIndexOutOfBoundsException: Range [17, 18) out of bounds for length 17
java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 37
              .= 0.K;
A106:       (-(a")*(Q*(1,j))*(Base_FinSeq(K,n,1)))/.k =(-java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 30
            (Base_FinSeq(K,n,1))).k by      hence x in BB y A8,A13,XBOOLE_0:ef 3;
A107:       p.k=1.K by A88,A89,A99,A104,Th24;
            (Base_FinSeq(K,n,j))/.k = (Base_FinSeq    end;
FINSEQ_4:15
              .= 1.K by A88,A89,A104,Th24;
thenqk 0.+1.by A75,A84,A88,89,106A105,Th5;
            hence thesis by A107,RLVECT_1:4;
          end;
        end;
        hence thesis;
      end;
    end;
    len ((a)*Q(1,j)*Base_FinSeq(Kn,1)+ase_FinSeqKn,j)=n by ,
,Th2;
    then
A108: Col(P,j)=-(a")*(Q*(1,j))*(Base_FinSeq(K,n,java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
,A86,FINSEQ_1:14;
A109: len Line(Q,i)=n by A31,MATRIX_0:def 7;
    then
A110: (Line(Qjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
      .= Q*(i,1) by A70,java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 17
A111: (Line(Q,i))/.j = (Line(Q,i)).j by A72   X be finite non empty set,Gbeing Subset-Family of X holds G
      .= Q*(i,j) by A82,A81,MATRIX_0:def 7;
    [i,j] in Indices (Q*P) by A72,A73,A74,MATRIX_0:31;
    then
:()ij=|( Qijava.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 57
      .= |( Line(Q,i), -(a")*(Q*(1,j) set =saturated-ubsetsF
    , Base_FinSeqK,,j )|byA75,84A108,109T
      .= |( Line(t
    i), Base_FinSeq(K,nA1 is( B2)by Th32
      .=(-(a")*(Q*(1,j)))* |( Line(  thus Gjava.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 7
    i), Base_FinSeq(K,n,j) )| by A9,A109,Th10
      .=(-(a")*(Q*(1,j)))* (Q*(i,1)) +|( Line(Q,i), Base_FinSeq(K,n,j) )| by
A27,A109,A110,Th35
      .= -((Q*(1,j))*(a")* (Q*(i,1))) +|( Line(Q,i), Base_FinSeq(K,n,j) )|
    by VECTSP_1:9
      .= -((Q*(1,j))*((a")* (Q*(i,1)))) +|( Line(Q,i), Base_FinSeq(K,n,j) )|
    by GROUP_1:def 3
       -(j))*a*Q*) +Qi)byA72,A74,A109111,Th35
A113: 1<=n by A72,A73,XXREAL_0:2;
    p2        then consider b9, a9 being Subset of X such that
    hence (Q*P)*i,j)=-(Q*1,j)*(a")*  0.)) +Q*(i,)byA72,A113,112,A80
,Th25
      .= -(Q*(1,j))*(( 0.K)) + Q*(i,j)
      .= -(0.K) + Q*(i,j)
      .= (0.K) + 1.K en Astjava.lang.StringIndexOutOfBoundsException: Range [39, 39) out of bounds for length 17
       RLVECT_1:;
  end;
A114:  proof
A115: for i,j st 1<i & i<=n & 1<=j & j<=n & iletT be DivSequenceof A;
  proof
A116: len ((a")*(Base_FinSeq(K,n,1))) =len Base_FinSeq(K,n,1) by MATRIXR1:16
      .=n by Th23;
    let i,j;
     c=byA3java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
A117: 1<i and
    X cA8;
A119: 1<=j and
A120: j<=n and
A121:i<>;
A122: [i,j] in Indices (Q*P) by A117,A118,A119,A120,MATRIX_0:31;
A123: j in Seg n by A119,A120,FINSEQ_1:1;
A124: len ((-(a")*(Q*(1,j)))*(Base_FinSeq(K,n,1    thenupper_sum(gT-m lower_sum(g,T)=0 by A3A48ATh12;;
    )) by MATRIXR1:16
      .=n       en
A125: len (Col(P,j))=len P by MATRIX_0:def 8
      .=n by MATRIX_0:24;    thena, beingSubset of   that
A126: [i,1] in Indices Q by A27,A117,A118,MATRIX_0:31;
A127: len (Base_FinSeq(K,n,j))=n by Th23;
A128: len (-(a")*(Q*(1,j))*(Base_FinSeq(K,n,1))) =len ((-(a")*(Q*(1,j)))*(
    Base_FinSeq(K,n,1))) by Th6
      .=len (Base_FinSeq(K,n,1)) by MATRIXR1:16
      .n by Th23
    then
A129: len (-(a")*(Q*(1,j))*(Base_FinSeq(K,n,1))+Base_FinSeq(K,n,j)) =n by A127
Th2;
A130: [i,j] in Indices Q by A117,A118,A119,A120,MATRIX_0:31;
now
      per cases;
      suppose
A131   j>;
        p=Col(P,j),=-a")*(Qj)((n1)+
        Base_FinSeq(K,n,j) as FinSequence of K;
        for k be Nat st 1 <=k & k <= n holds assume b0
        proof
          let k be Nat;
          assume that
A132:     1 <=k and
A133:     k <= n;
          k in Seg n by A132,A133,FINSEQ_1:1;
          then
A134:     k
 in dom ((-(a")*(Q*(1,j)))*(Base_FinSeq(K,n,1) 10: [,b] > [9,[#]X] by Th26;
          len (Base_FinSeq(K,n,1))=n by Th23;
          then
A135:     ((Base_FinSeqA11 a c=x9 by A10;
FINSEQ_4:15;
          k in dom P by A10,A132,A133,FINSEQ_3:25;
          then
A136:     p.k=P*(k,j) by MATRIX_0:def 8;
A137:     (-(a")*(Q*(1,j))*(Base_FinSeq(K,n,1))).k =((-(a")*(Q*(1,j)))*(
          Base_FinSeq(K,n,1))).k by Th6
            .=(-(arn1being Nat such that
:50
          len (Base_FinSeq(K,n,1))=n by Th23;
          then
A138:     ((Base_FinSeq(K,n,1))/.k)=((Base_FinSeq(K,n,1)).k) by A132,A133,
FINSEQ_4:15;
          per cases by A132,XXREAL_0:1A20:  for m being Nat stn1 < m
          suppose
A139:       1=k;
            then
java.lang.StringIndexOutOfBoundsException: Range [32, 4) out of bounds for length 73
            . by A27A135,137,Th24;
A141:       (-(a")*(Q*(1,j))*(Base_FinSeq(K,n,1)))/.k =(-(a")*(Q*(1,j))*
            (Base_FinSeq(K,n,1))).k by A128,A132,A133,FINSEQ_4:15;
            (Base_FinSeq(K,n,j))/.k = (Base_FinSeq(K,n,j)).k by A127,A132,A133,
FINSEQ_4:15
              .= 0.K by A131,A133,A139,Th25;
            then q.k= (-(a")*(Q*(1,j)))*(1.K)+ 0.K by A128,A127,A132,A133,A141
,A140,Th5
              .= (-(a")*(Q*(1,j)))*(1.K) by RLVECT_1:4
              .=-(a")*(Q*(1,j));
            hence thesis by A34,A120,A131,A136,A139;
          end;
          suppose
A142:       1<k;
            [k,j] in Indices P by A119,A120,A132,A133,MATRIX_0:31;
            then
A143:       ex p2 being FinSequence of K st p2 = P.k & 
MATRIX_0     cbeingstcin G& c=holdsbc c;
            k in NAT by ORDINAL1:def 12;
            then
A144:       p.k=(Base_FinSeq(K,n,k)).j by A4,A133,A136,A142,A143;
            now
              per cases;
              suppose
A145:           k <> j;
                (-(a")*(Q*(1,j))*(Base_FinSeq(K,n,1)))/.k =(-(a")*(Q*(1,
j)))*((Base_FinSeq(K,n,1))/.k) by A128,A132,A133,A137,FINSEQ_4:15
                  .=(-(a")*(Q*(1,j)))*(0.K) by A133,A138,A142,Th25
                  .= 0.K;
                then .=0. (Base_FinSeq(K,n,j))/kby A128,A127,132,A133
,Th5
                  .= (Base_FinSeq(K,n,j))/.k by RLVECT_1:4
                  .=(Base_FinSeq(Kn,j).kbyA127A132,133FINSEQ_4:15
                  .= 0.K by A132,A133,A145,Th25;
                hence thesis byA119,A120,A144,A145,Th25
              end;
              suppose
A146:           k=j;
                (-(a")*(Q* ence c z1 by;
j)))*((Base_FinSeq(K,n,1))/.k) by A128end;
                  .=(-(a")*(Q*(1,j)))*(0.K) by A133,java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 12
                  .= 0.K;
                then q.k = 0.K +(Base_FinSeq(K,n,j))/.k by A128,A127,A132,A133
,Th5
                  .= (Base_FinSeq(K,n,j))/.k by RLVECT_1:4
                  .= (Base_FinSeq(K,n,j)).k by A127,A132,A133,FINSEQ_4:15
                  .= 1.K by A119,A120,A146,Th24;
                hence thesis by A132,A133,A144,A146,Th24;
              end;
                      cc Subsetof st= & inG &  c= cc
            hence thesis;
          end;
        nd;
        then
A147:   Col(P,j)=-(a")*(Q*(1,j))*(Base_FinSeqjava.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
A125,129FINSEQ_1:14
A148:   1<=n by A117,A118,XXREAL_0:2;
A149:   width Q=n by MATRIX_0hence thesis byA3,A8,9;
        then
A150:   len Line(Q,i) = n by           suppose
        
A151            reconsider icas
          .= Q*(i,j) by A123,A149,MATRIX_0:def 7;
A152:   (Line(Q,i))/.1 = (Line(Q,i)).1 by A27,A150,FINSEQ_4:15
         . Q*(i,1) java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 27
A153:   (Q*P)*(i,j)= |( Line(Q,i), Col(P,j) )| byA11:c in G and
          .a=c;
        Q,i), Base_FinSeq(K, c inC byA11,A12;
          .= |( Line(Q,i), (-(a")*(Q*(1,j)))*(Base_FinSeq(K,n,1)) )| +|(
        Line(Q,i), Base_FinSeq(K,n,j) )| by Th6
          .=(-(a")*(Q*(e
        Line(Q,i), Base_FinSeq(K,n,j) )| by A9,A150,Th10
          .=(-(a")*(Q*(1,j)))* (Q*A13:       [,ic inF;
        )| by A27,A150,A152,Th35
          .= -((Q*(1,j))*(a")* (Q*(i,1)))      assume
        )| by VECTSP_1:9
          .= -((Q*(1,j))*((a")* (Q*(i,1A15: K c
 |bydef 3
          .= -(Q*(1,j))*((a")* (Q*(i,1))
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
        consider p2java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
A154:   p2 = Q.i and
:Q(i,1) =p2. byA126,MATRIX_0:ef 5being-   st set_of-subsetsFF=
p1beingjava.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 52
A156:   p1 = Q.i and
   *i,)=p1.jby A130,MATRIX_0:ef5;
        p1=Base_FinSeq(K,n,i) by A7,A117,A118,A156;
        then
A158:   p1 Gis (B1 B by Th32;
        p2=Base_FinSeq(K,, A7,A117,118,154java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
        hence java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 10
,A153,    thusthus Gc= Gjava.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
          .=     now
          .= A16:  x in ;
          .= 0.K + 0.K by A157,A158,RLVECT_1:12
          .= 0.K by RLVECT_1:4;
      end;
      suppose
A159:   j<1;
        reconsider p=Col(P,j),q=a"*(Base_FinSeq(K,n,1)) as FinSequence of K;
A160      hence x in candidate-keys F by A16;
        proof
          let k be Nat;
          assume that
A161:     1 <=k and
A162:     k <= n;
A163(K,n,))=n by Th23;
          then
A164:     ((Base_FinSeq(K,n,1))/.        n is Element of NAT by ORD:1;    then consider A being Subset of Xsuch that
FINSEQ_4:15;
inSegn by A161
          then k in dom ((a")*(Base_FinSeq(K,java.lang.StringIndexOutOfBoundsException: Range [0, 46) out of bounds for length 31
              assume
A166:     ((a")*(Base_FinSeq(K,n,1))).k = (a")*((Base_FinSeq(K,n,1))/.k)
          by A164,FVSUM_1:50;
          k in dom P by A10,A161,A162,FINSEQ_3:25;
          then
A167:     p.k=PA20:  A ^| X,Fby ;
          per cases by A161,XXREAL_0:1;
          suppose
A168:       1=k
            then q.k= (a")*(1.K) by A162,A164,A166,Th24
              .=a";
            hencethesis by A3,A119,A159,A167,A168,XXREAL_0A22:Kc A;
          end;
          suppose
A169       1<k;
            [,j] in Indices P by A114,A123,in aximal_wrt T).-java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 49
            then
A170:       ex p2 being FinSequence of K st p2 = P.k & P*(k,j) = p2. j by
MATRIX_0:def 5;
            k in NAT by ORDINAL1:def 12;
            then
A171:       p.k=(Base_FinSeq(K,n,k)).j by A4,A162,A167,A169,A170;
            now
              cases;
              suppose
A172:           k <> j;
                ((Base_FinSeq(K,n,1))/.k)=((Base_FinSeq(K,n,1)).k) by A161,A162
,A163,FINSEQ_4:15;
                then (a")*(Base_FinSeq(K,n,1))/java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
                  .= 0.K;
                 byA120,,A172,Th25
              end;
                      reconsider H UV-LV as FinSequence of REAL;
                k=;
                hence thesis by A159,A169;
              end;
            end;
            hence thesis;
          end;
        end;
A173:   1<=n by A117,A118,XXREAL_0:2;
A174:   width Q=n by MATRIX_0:24;
        
A175:   len Line(Q,i) = n by MATRIX_0:def 7;
        then
A176:   (Line(Q,i))/.1 = (Line(Q,i)).1 by A27,FINSEQ_4:      rnggis byA311
          .= Q*(i,1) by A70,MATRIX_0:def 7;
A177:   (Q*P)*(i,j)= |( Line(Q,i), Col(P,j)          j in SeglenGby A27FINSEQ_1:3;
          .          then
FINSEQ_1:14
A44:      exrstr in rng f|D,)
          .= a"* (Q*(i,1)) by A27,A175,A176,Th35;
        consider p2 being FinSequence of K             beingo suchthat
A45:       r inDj SUBSET_1;
A179:   Q*(i,1) = p2.1 by A126,MATRIX_0:def 
        p2=Base_FinSeq(K,n,i) by            henD,   by8;
        hence (Q*P             inAby java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
          .= 0.K;
      end;
    end;
    hence thesis;
  end;
  len (Col(P,1))=len P by MATRIX_0:java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 25
    .=n by MATRIX_0:24;
  then
A180: Col(P,1)=(athen rng(divset,j) is
A181: Indices (Q*P)=[: Seg n,Seg n :] by MATRIX_0:24;
A182: len ((a")*(Line(Q,1)))=len ((A46:      upper_boundrngf|Dj))-((djava.lang.StringIndexOutOfBoundsException: Range [67, 66) out of bounds for length 72
    .= n by A31,MATRIX_0:def 7;
  ,MATRIX_0:24,31;
  then
A183: QP)(1,=| (,1) (,))|by A10,A31,A181d 44
    .= (a")*( |( Line(Q,1), Base_FinSeq(K,n,1) )| )           then
    .=(a")*(Line(Q,1))/.1 by A32,A27,Th35
    .roofjava.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 24
    .=(    then
    .=(a")*(QG c=B;
    .=1.K by A2,A5,VECTSP_1:def 10;
  for i,j java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 6
  )*(i,j)
  proof
    let i,j be Nat;
   reconsider i0=i,j0=       thenreconsider xx  as Element of B;
    assume
A184: [i
    then
A185:i inSegn A181,ZFMISC_1:7java.lang.StringIndexOutOfBoundsException: Range [37, 38) out of bounds for length 37
    then
A186: 1<=i by FINSEQ_1:1;
A187: i<=n by A185,FINSEQ_1:1;
A188: j in Seg n by A181,A184,ZFMISC_1:87;
    then
A189: 1<=j by FINSEQ_1:1;
A190:j<n A188F:1;
    per cases by A186,XXREAL_0:1;
    suppose
A191: 1<i;
      now
        per cases;
        suppose
A192:     i<>j;
A193:     (1.(K,n))*(i,j)=(Base_FinSeq(K  byTARSKI2;
            .= 0.
          thus (Q*P)*(i,j)java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
            .=(1.(K,n))*(i,j) by A115,A187,A189,  for X, G being set, B being non empty finite Subset  java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 70
        end;
        
A194:     i=j;
A195:     (1.(K,n))*(i,j)=(Base_FinSeq(K,n,i0)).j0 by A186,A187,java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
            .=1. A189,A190,A194,h24;
          thus (Q*P)*(i,j)=(Q*P)*(java.lang.StringIndexOutOfBoundsException: Range [15, 36) out of bounds for length 15
            .=(1.(K,n))*(i,j) by A71,A190,A191,A194,A195;
        end;
      end;
      henceA57        r in,def3;
    end;
    suppose
A196: 1=i;
      now
        per cases;
        suppose
A197:     i<j;
A198:     (1.(K,n))*(i,j)=(Base_FinSeq(K,n,i0)).j0 by A186,A187,A189,A190,Th27
            . 0.  A189,A190,,Th25;
          thus (Q*P)*(i,j)=(Q*P)*(i0,j0)
            .=(1.(K,n))*(i,j) by A35,A190,A196,A197,A198;
        end;
        suppose
A199:     i>=j;
          
A200:     i=j by A189,A196,XXREAL_0:1;
          (1.(K,n))*(i,j)=(Base_FinSeq(K,n,i0)).j0 by A186,A187,A189,A190,Th27
            .=1.K by A189,A190,A200,Th24;
          hence thesis by A183,A189,A196,A199,XXREAL_0:1;
        end;
      end;
      hence thesis;
    end;
  end;
  then
A201: Q*P=1.(K,n) by MATRIX_0:27;
A202: len Q=n by MATRIX_0:24;
A203: len Base_FinSeq(K,n,1)=n by Th23;
204  a*Base_FinSeq(n1))=java.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 74
    . byTh23;
A205: for k be Nat st 1<=k & k<=n holds (Col(Qjava.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 15
  .k
  proof
    let k be Nat;
     that
A206: 1<=k and
A207: k<=n;
A208:(((K,n,))/.)(Base_FinSeq(K,n1).  ,A206Ajava.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
FINSEQ_4:15;
A209: k java.lang.StringIndexOutOfBoundsException: Range [0, 10) out of bounds for length 8
java.lang.StringIndexOutOfBoundsException: Range [5, 4) out of bounds for length 9
      assume
A211: k<>1;
      thus (a*Base_FinSeq(K,n,1).k= a*(Base_FinSeq(K,n,)/.) by A208,A209
,FVSUM_1: 
        .= a*(0A7 notxin G\/X;
        .= 0.K;
;
A212: k inxin B A5;
    k in Seg n by A206,A207,FINSEQ_1:1;
    then
A213: k in dom Q by A202,FINSEQ_1:def 3;
A214: now
      [k,1] in Indices Q by A8,A206,A207,MATRIX_0:31;
      then
A215: ex p being FinSequence ofjava.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 18
      
A216: k<>1;
      then 1<k by A206,XXREAL_0:1;
      then Q*(k,1)=(Base_FinSeq(K,n,k)).1 by A7,A207,A212,A215
        .= 0.K by A8,A216,Th25;
      hence ColQ,)).= 0. by A213,MATRIX_0:def 8;
    end;
A217: now
      assume
A218: k=1;
,n,1)))
FVSUM_1:50
        .=a(.) by A207,A208,A218,Th24
        .= a;
    end;
    1<=n by A206,A207,XXREAL_0:2;
    then 1 in dom Q by A202,FINSEQ_3:25;
    ncethesis A5,,A217,A214MATRIX_0:def ;
  end;
A219: 0+1<=n by A1,NAT_1:13;
A220: len P=n by MATRIX_0:24;
  then
A221:1in  len P  A219,INSEQ_1:1java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
  then
A222: 1 in dom P byper java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
A223: width P=n by MATRIX_0:24;
  then
A224: len Line(P,1)=n by MATRIX_0:def 7;
  then
A225: 1 in dom (Line(P,1)) by A220,A221,FINSEQ_1:def 3;
A226: 1 in Seg width P by A223,A219,FINSEQ_1:1;
A227: for j st 1<j & j<=n holds (P*Q)*(1,j)= 0.K
  proof
    let j;
    assume that
A228: 1<j and
A229: j<=n;
A230: len (-a*(P*(1,j))*(Base_FinSeq(K,n,1))) =len ((-a*(P*(1,j)))*(
    Base_FinSeq(K,n,1))) by Th6
      .=len (Base_FinSeq(K,n,1)) by MATRIXR1:16
      .=n by Th23;
    reconsider p=Col(Q          hence thesis A59,A58;
    ,j) as FinSequence of K;
A231: len (Base_FinSeq(K,n,j))=n by Th23;
:len (-(*1j))*Base_FinSeq(K,n1) len(Base_FinSeq(K,n1)
    by MATRIXR1:16
      .= n by Th23;
jbe Nat st j in Seg(en D holds (UV2-V2.j = (a*(UV-LV)+
    proof
              (V1-LV1)).
      assume that
A234: 1 <=k and
java.lang.StringIndexOutOfBoundsException: Range [12, 4) out of bounds for length 13
A236: k in dom Q by A202,A234,A235,FINSEQ_3:25;
      len(Base_FinSeq(K,n1)=n by Th23;
      then
A237: ((Base_FinSeq(K,n,1))/.k)=((Base_FinSeq(K,n,1)).k) by A234,A235,
FINSEQ_4:15;
A238:kin dom (-*P*1,j)*Base_FinSeq(K,n1) &(Base_FinSeq(K,n,
      1))/.k)=( (.=a*(UV.j-LVj+UV1.-V1.j)) RVSUM_1:
,FINSEQ_4:15;
A239:(a*(P*1j)*Base_FinSeqK,n,1)).=(-a*P*(1j))*Base_FinSeq
      (K,n,1))).k by Th6
        .=(-a*(P*(1,j)))*((Base_FinSeq(K,n,1))/.k) by A238,FVSUM_1:50;
      per cases by A234,XXREAL_0:1;
      suppose
A240:   1=k;
        (Base_FinSeq(K,n,j))/.k = (Base_FinSeq(K,n,j)).k by A231,A234,A235,
FINSEQ_4:15
          .= 0.K by A228,A235,A240,Th25;
        then q.k=(-a*(P*(1,j))*(Base_FinSeq(K,n,1)))/.k +0.java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
,A235,A6: dom (->L) =L
        then
A241:   q.k=(-a*(P*(1,j))*(Base_FinSeq(K,n,1)))/.k by RLVECT_1:4;
:   -*PA7now
,A239,A237,A240,Th24
          .=-a*(P*(1,j));
        p.k=Q*(1,j) by A236,A240,MATRIX_0:def 8
          .=-a*(P*(1,j)) by A6,A228,A229;
hence thesis by A230,A234,A235,A242,A241,FINSEQ_4:15;
      end;
      uppose
A243:1kjava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
        [k,j] in Indices Q by A228,A229,A234,A235,MATRIX_0:31;
        then consider p2 being FinSequence of K such that
A244          ))) *ol(divset(Dj));
A245:   Q*(k,j) = p2.j by MATRIX_0:def 5;
A246 kindef 12;
A247:   p.k=p2.j by A236,A245,MATRIX_0:def 8
          .= (Base_FinSeq(K,n,k)).j by A7,A235,A243,A244,A246;
        now
          per cases;
          suppose
A248:       k <> j;
            (-a*(P*(1,j))*(Base_FinSeq(K,n,1)))/.      per cases;
            Base_FinSeq(K,n,1))/.k) by A230,A234,A235,A239,FINSEQ_4:15
              .=(-a*(P*(1,j)))*(0.K) by A235,A237,A243,Th25
              .= 0.K;
            (n,j)/by A230231A234,A235,
              .= (Base_FinSeq(K,n,j))/.k by RLVECT_1:4
              . (Base_FinSeqKn,)). byA231,A235Fjava.lang.StringIndexOutOfBoundsException: Range [67, 66) out of bounds for length 69
              .= 0.K by A234,A235,A248,Th25;
            hence thesis by A228,A229,A247,A248,Th25;
          end;
          
A249:       k=j;
            (-a*(Preconsider g1asFunctionof (D,),EALby A71,UNCT_2:efend;
            Base_FinSeq(K,n,1))/.k) by A230,A234,A235,A239,FINSEQ_4:15
              .(-a*(
              .= 0.K;
            then             f1f|ivset(j) as PartFunc divset(j,java.lang.StringIndexOutOfBoundsException: Range [61, 60) out of bounds for length 75
              .= (Base_FinSeq(K,n,j))/.k by RLVECT_1:4
              .= (Base_FinSeq(K,n,j)).k by A231,A234,A235,FINSEQ_4:15
              .= 1.K by A234,A235,A249,Th24;
            hence thesis by A234,A235,A247,A249,Th24;
          end;
        end;
        hence thesis;
      end;
    end;
A250: width P=gy=1.by A71,FUNCT_147;
    then
A251: len Line(P,1) = n by MATRIX_0:def 7;
    then
 LineP,)/=(Line(P,). by A219,FINSEQ_4:java.lang.StringIndexOutOfBoundsException: Range [56, 57) out of bounds for length 48
      .=a" by A3,A226,MATRIX_0:def 7;
A253: j in Seg n by A228,A229,FINSEQ_1   BD.=
A254: len (Col(Q     Ds =Dependency-tr D;
      .=n by MATRIX_0:24;
    len (-a*(P*(1,j))*(Base_FinSeq(K,n,1))+Base_FinSeq(K,n,j)) =n by A230,A231
,Th2;
    then
A255:Col(Q,j)-a*P*1j)*Base_FinSeq(K,n1)+(K,n,j)by java.lang.StringIndexOutOfBoundsException: Range [75, 76) out of bounds for length 13
,A233,FINSEQ_1:14;
A256:     x  [A,B and
      .= P*(1,j) by A253      .=X by XBOOLE_1:12;
    [1,j] in Indices (P*Q) by A219,A228,A229,MATRIX_0:31;
    then (P*)(,j) |Line(,1) Q,))|byA202,250,def java.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
      .= |( Line(P,1), -a*(P*(1,j))*(        reconsider A, B as Subset of the A,B asSubset of theAttributesof BD;
    Base_FinSeq(K,n,j) )| by A224,A230,A231,A255,Th11
      .= |( Line(P,1), (-a*(A>>  java.lang.StringIndexOutOfBoundsException: Range [19, 20) out of bounds for length 19
    Base_FinSeq(K,n,j) )| by Th6
      (*1j))*|(Line(,1,(Base_FinSeq(K,n1))|+ Line(P1,
    Base_FinSeq(Kjava.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
      .=(-a*(P*(1,j)))* (a") +|( Line(P,1), Base_FinSeq(K,n,j) )| by A224,A219
,A252,Th35
      .= -(a*(P*(1,j))  end;
VECTSP_1:9
      .= -((A9    = [A,B] and
GROUP_1:def 3
      .= -((P*(1,j))*(1_K)) +|( Line(P,1), Base_FinSeq(K,n,j) )| by A2,
VECTSP_1:def 10
      .= -(P*(1,j)*(1.K)) + (      for g being set st g in G gbeing setstg in G &A c=gholds B c=g by A7;
      .= -(P*(      hence  Fby A1,A9;
      .= 0.K by RLVECT_1:5;
    hence thesis;
  
A257: Indices Q=[: Seg n,Seg n :] by MATRIX_0:24;
A258: for i,j st 1<i & i<=n & i=j holds (P*Q)*(  then reconsider R as non empty java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 20
  proof
    let i,j;
    assume that
A259: 1pred [set,lement ofn BOOLEAN]eans
A260: i<=n and
A261: i=j;
en -*P(1,)*Base_FinSeq(K,,))=(-a*P*,j)*
    Base_FinSeq(K,n,1))) by A11: set ={Awhere java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 67
      .=len (Base_FinSeq(K,n,1java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 28
      .=n by Th23;
   reconsider p=ol(,),q=-a*(-*(P(,j)*(K,n1)+ase_FinSeqK,java.lang.StringIndexOutOfBoundsException: Index 78 out of bounds for length 78
    ,j) as FinSequence of K;
A263: len (Base_FinSeq(K,n,j))=n by Th23;
A264: jinSeg n byA259,A260,A261,FINSEQ_11java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
A265: for k be Nat st 1 <=k & k <= n holds p.k=q.k
    proof
A266: len (-*P(1,j))((K,n,1))) = len Base_FinSeq(Kn,java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
      ))         per cases;
        .=n A13:      in H.;
      let k be Nat;
      assume that
A267: 1 <=k and
A268: k <= n;
A269: k in Seg n by A267,A268,FINSEQ_1:1;
      len ((-a*(P*(1,j)))*(Base_FinSeq(K,n,1))) =len (Base_FinSeq(K,n,1)
      ) by MATRIXR1:16
. n byTh23;
      then
A270: k in dom ((-a*(P*(1,j)))*(Base_FinSeq(K,n,1))) by A267,A268,FINSEQ_3:25;
A271: ((Base_FinSeq(K,n,1))/.k)=((thus thesisby A14
FINSEQ_4:15;
      len (Base_FinSeq(K,n,1))=n by Th23;
      then
A272: ((Base_FinSeq(K,n,1))/.k)=((Base_FinSeq(K,n,       y being FinSequence of BOOLEAN suchthat
FINSEQ_4:15;
      k in dom Q by A202,A267,A268,FINSEQ_3:25;
      then
A273: p.k=Q      5(A12 )
A274: (-a*(P*(1,j))*(Base_FinSeq(K,n,1))).k =((-a*(P*(1,j)))*(
      Base_FinSeq(K,n,1))).k by Th6
        .=(-a*(P*(1,j)))*((Base_FinSeq(K,n,1))/.k) by A270,A271,FVSUM_1:50;
      per cases by A267,XXREAL_0:1;
      suppose
A275:   1=k;
        k <= len (-a*(P*(1,j))*(Base_FinSeq(K,n,1))) by A268,A266,Th6;
        then
A276:   (-a*(P*(1,j))*(Base_FinSeq(K,n,1)))/.k = (-a*(P*(1,j)))*((
            let x be set;
          . (a*P*1j)))*1.)by A219,A272,A275,Th24;
        (Base_FinSeq(K,n,j))/.k = (Base_FinSeq(K,n,j)).k by A263,A267,A268,
FINSEQ_4:15
          .= 0.K by A259,A261,A268,A275,Th25;
        then q.k= (-a*(P*(1,j)))*(1.K)+ 0.K by A262,A263,A267,A268,A276,Th5
          .= (-a*(P*(1,j)))*(1.K) by RLVECT_1:4
          .= -a*(P*(1,j));
A17:     reconsider  A java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 71
      end;
      suppose
A277:   1<k;
        k,j] let ,gElement of the Relationship java.lang.StringIndexOutOfBoundsException: Range [49, 48) out of bounds for length 61
        then
A278:   ex p2 being FinSequence of K st p2 = Q.k & Q*(k,j) = p2. A14  f|A =g|;
MATRIX_0:def 5;
        k in NAT by ORDINAL1:def 12;
        then
A279:   p.k= (Base_FinSeq(K,n,k)).j by A7,    consider  beingbeing Function of ,n-uples_on BOOLEAN such that
       now
          per cases;
          suppose
A280:       k <> j;
            then
A281:       p.k= 0.K by A259,A260,A261,A279,Th25;
 (a*P*(1,j Element of  D  ex i being  ofNAT st
            Base_FinSeq(K,n,1))).k by A262,A267,A268,FINSEQ_4:15;
A283:       (-a*(P*(1,j))*A18:  dom (f-- Lf)= Lf;
            byA268,A271,A274,A277,Th25
              .= 0.K;
           java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 79
5
              .= 0.K by A267,A268,A280,Th25;
            then q.k=0.K + 0.A19  g =(X -> 0)+ (Lg--Lg)and
            hence thesis by A281,RLVECT_1:4;
          end;
          suppose
A284:       k=j;
            then
A285:       p.k=1.K by A267,A268,A279,Th24;
A286:       (-a*(P*(1,j))*(Base_FinSeq(K,n,1)))/.k =(-a*(P*(1,j))*(
            Base_FinSeq(K,n,1))).k by A262,A267,A268,FINSEQ_4:15;
A287:       (-a*(P*(1,j))*(Base_FinSeq(K,n,1))).k =(-a*(P*(1,j)))*(0.K)
            by A268,A271,A274,A277,Th25
              .= 0.K;
            (Base_FinSeq(K,n,j))/.k = (Base_FinSeq(K,n,j)).k by A263,A267,A268,
FINSEQ_4:15
              .= 1.K by A259,A260,A261,A284,Th24;
            then q.k= 0.K + 1.K by A262,A263,A267,A268,A286,A287,Th5;
            hence thesis by A285,RLVECT_1:4;
          end;
        end;
        hence thesis;
      end;
    end;
    [i,j] in Indices P by A259java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
    then consider p1 being FinSequence of K such that
A288: p1 = P.i and
A289: P*(i,j)of.  
    p1=Base_FinSeq(K,n,i) by A4,Ds=Dependencystr java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
    then
A290: p1.j=1.K by A259,A260,A261,Th24;
A291: len (Col(Q,j))=len Q by MATRIX_0:def 8
      .=n by MATRIX_0:24;
    len (-a*(P*(1,j))*(Base_FinSeq(K,n,1))+Base_FinSeq(K,n,j)) =n by A262,A263
,Th2;
    then
A292: Col(Q,j)=-a*(P*(1,j))*(Base_FinSeq(K,nA22:x=[A,B
,A265,FINSEQ_1:14;
= byby MATRIX_0:24;

A294: len Line(P,i) = n by MATRIX_0java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 21
    then
A295: (Line(P,)).  LineP,)).by A219FINSEQ_4:5
      .= P*(i,1) by A226,MATRIX_0:def 7;
A296: (Line(P,i))/.j = (Line(P,i)).j by |9 =g|
      .        st  in Cfin ;
    [i,j] in Indices (P*Q) by A259,A260,A261,MATRIX_0:        then
    then
A297: (P*Q)*(i,j)= |( Line(P,i), Col(Q,j) )| by A202,A293,MATRIX_3:def 4
      .= |( Line(P,i), -a*(P*(1,j))*(Base_FinSeq(K,n,1)) )| +|( Line(P,i),
    Base_FinSeq(K,n,j) )| by A24:    a in Lf /\ A by XBOOLE_0:def 1;
e(P::This code can :version .0 or: License version 3.0 or later, subject to the binding interpretation
    Base_FinSeq(,nj) ) Th6
      .=(      MATRIX_6, RELAT_1,ALGSTR_0,PARTFUN1,MATRIX13, MATRIX16, RLVECT_1;
    Base_FinSeq(K,n,j) )| by A203,A294 onstructors REAL_1, MATRIX_6, XXREAL_0, MATRIX13, POLYNOM1, BINOP_2, FVSUM_1,
      .=(-a*(P*(      XREAL_0,ORDINAL1,MATRIX_6, MATRIX_0,MATRIX_3;
,294,A295,h35
      .= -(a*( INT_1, ,FVSUM_1,MATRIX_0,FINSEQ_2NCT_4:13;
VECTSP_1:9
      .=-((P*(1,))*aBase_FinSeq(,n,j))| by
def
      
A298: 1<=n by A259,A260,XXREAL_0:2;
    [i,1] in  then i+1<=ni1=+  XREAL_16;
   considerp2 beingFinSequenceof K suchthat
A299: p2 = P.i and
:P*i,)=p2.byMATRIX_0def 5,java.lang.StringIndexOutOfBoundsException: Range [54, 53) out of bounds for length 57
=Base_FinSeq(K,i)then
    hence (Pjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
,
      .hencebyA6A8576h26
0;
      .= 0.K + 1c
      .= 1.KA1:  nn)->;
  A3:k=1 7;
  len (Col(Q,1))=A4theny*((fdivsetj)*((D)-
    .=n by MATRIX_0:24;
  then
 ColQ1a
A302: Indices (P*Q)=[:.= Lf -> LfbyA,61NTEGRA1def
A303end;

len(*K1)len(java.lang.StringIndexOutOfBoundsException: Range [53, 52) out of bounds for length 75
      .=n by Th23;
    let i,j;
    assume that
A305: 1<i and
A306: iosc2m  :   LfinM  java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 25
A307 1<= and        then
A308: j<=n and
A309:i<jjava.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
A310: [i,j] in Indices (P*Q) by A305,A306in Cholds L/K < {;
  SegnbyA307,A308        
A312: len (Col(Q,j))=len Q by java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 8
      .n31:Lf/   }byA13
A313: [i,1] in Indices P by A87:lower_sum(h,T) isby A5,A,h8
=n by Th23java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
A315: len (-a*(P*(1,j))*(Base_FinSeq(K,n,1))) =len ((-a*(P*(1,j)))*(
    Base_FinSeq(K,n,1))) by Th6
      .=len (Base_FinSeq(K,n,1)) by MATRIXR1:16
      .=n by Th23;
    then
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
;
A317: [  f,g Functionof          (-  *. by A19
    now
      per cases;
      suppose
A318:   j>1;
reconsider p=ColQj,-*P*1,)
        (K,n,j) as FinSequence of K;
        for k be Nat st 1 <=k & k <= n holds p.kA:f| boundedand
        proof
          let k be Nat;
          assume that
A319:     1 <=k and
A320:    k < ;
A321:     (Base_FinSeq(,n,1)).A6forbeing  x in A /dom g  |g.|=by A3,:73;
FINSEQ_4:15;
A322:     len ((-a*(P*(A7  /domg=
          ,n,1)) by MATRIXR1:16
            .=n by Th23;
          then
A323:     k in dom ((-a*(P*(1,j)))*(Base_FinSeq(K,n,1))) by java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 25
FINSEQ_3:25;
A324:     (-a*(P*(1,j))*(Base_FinSeq(K,n,1))).k =((-a*(P*(1,j)))*(
          A9 ainAbyjava.lang.StringIndexOutOfBoundsException: Range [33, 31) out of bounds for length 34
reconsider aas Elementof Aby A9java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
          len (Base_FinSeq(K,n,1))=n by java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 31
          then
A325:     ((Base_FinSeq(K,n,1))/.k)=((Base_FinSeq(K,nA11 x  xinA \ dom fholds|...<=r1
FINSEQ_4:15;
          k in dom Q by A202,A319,A320,FINSEQ_3:25;
          then
A326:     p.k=Q*(k,j) by MATRIX_0:def 8;
          per cases by A319,XXREAL_0:1;
          suppose
A327:       1=k;
            < (a**1j)*K,n1) A,;
            then
A328:       (-a*(P*(1,j))*(Base_FinSeq(K,n,1)))/.k = (-a*(P*(1,j)))*((
            considergibeingElement NATsuchthat
              .= (-a*(P*(1,j)A30:      for x being Element of X Rg.   (java.lang.StringIndexOutOfBoundsException: Range [58, 59) out of bounds for length 58
 = (qua Element of n-tuples_on BOOLEAN ;
FINSEQ_4:15
              .=0K A,Th25
            then q.k= (-a*(P*(1,j)))*(1.K)+ 0.K by A315,A314,A319,A320,A328now
              .= (-a*(P*(1,j)))*(1_K) by RLVECT_1:4
              .= (-a*(P            
            hence thesis by A6,A308,A32:        dom (g|B) = dom f /\ B by A31,RELAT_1:61;
          end;
          suppose
A329:       1<k;
            [k,j] in Indices QA39:    in Aby A38,BOOLE_0:def ;
            then        then
A330:       ex p2 being FinSequence of K st p2 = Q.k & Q*(k,jA40    (f|A).              set nf  & . java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 70
         =Seg {}.byA15,6
            k in NAT a B A32,A33,XBOOLE_0def 4;
            then
A331,m1;
A332:       k <= len (-a*(P*(1,j))*(Base_FinSeq(K,n,1))) by A320
            now
              per cases;
              suppose
A333:           k <> j;
                (A5: Indices (-M) = [:Seg nSeg n: by MATRIX_0:24
,A320,FINSEQ_4:15
                  .= 0.K by A319,A320,A333,Th25;
      -*i)-(*i,ATRIX_1:ef4java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
,A314,319A320,h5;
java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 20
:           q. =(-*(*1 
                  .= (-a*(P*( assume that
      su
-**1,j))*
0.             java.lang.StringIndexOutOfBoundsException: Range [20, 18) out of bounds for length 58
.=0.;
                 thesishence |X=  M1S nS n &IndicesM2 [Segn,java.lang.StringIndexOutOfBoundsException: Range [58, 57) out of bounds for length 77
             
              suppose
A335           AnotA c= H.
                then
A336:           A6: [,j]inIndices M by A2,A3,ATRIX_0:;
A337=*M*kl) by A4,6Def1
                Base_FinSeq(K,n,1))).k by A315,A319,A320,FINSEQ_4:15thesis java.lang.StringIndexOutOfBoundsException: Range [23, 24) out of bounds for length 23
    (a*(P*(1forxstx A&y in  holds |.f#).-f#g..|*(..x-
           0.)by
                  .= 0.K;
                (Base_FinSeq(java.lang.StringIndexOutOfBoundsException: Range [0, 30) out of bounds for length 12
,A3: [i,j] inA15  ininAand
      . . A16 java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 12
                then q.k= 0.K + 1.K by A315,    then
                 byA336,RLVECT_14;
              end;
            nd;
            hencethesis;
          java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
        end;
        hen
   (Qj=ajava.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 31
,A316,FINSEQ_1:14;
  < ,java.lang.StringIndexOutOfBoundsException: Range [36, 34) out of bounds for length 37
A341:   width P=n by MATRIX_0:24;
        then
A342:   len Line(P,i) = n by MATRIX_0:def 7;
       
A343:   (Line(P,i))/.j    suppose
          .= P*(i,j) by A311,A341,MATRIX_0:def 7;
A344 : cbbyA43
          .= P*(i,1) by A226,MATRIX_0:def 7;
A345:   (P*Q)*(i,j)= |( Line(P,i), Col( proof
          .=         let x,;
        ),     now
          .= |(         assumethat
        e;
          .=(-a*(P*(1,j)))* |( Line(P,i), (Base_FinSeq assumea ={java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
        ,i), Base_FinSeq(K,n,j) )| by A203,A342,Th10
          .=        a  byA11,SUBSET_11;
        A219,342A344,Th35
          .= -(a*(P*(1,j)))* (P*(i,1)) +|( Lineend;
        by VECTSP_1:9
          .= -((P*(1,j))*(a* (P*(i,1)))) +|( Line(P,.=g.x F:49;
        )| by GROUP_1:def 3
          .= -(P*(1,j))*(a* (P*(i,1))) + P*                  Mxx=Mxx Tuplen,;
        consider p2 being FinSequence of K such java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 49
A346:   p2 = P.i and
A347:   P*(i,1) = p2.1 by A313,MATRIX_0:def 5;
        consider p1 being FinSequence of K such that
A348:   p1 = P.i and
A349:   P*(i,j) = p1.j by A317,MATRIX_0:def 5;
        p1=A53:  y in a` by XBOOL:def 1;
        then
A350:   p1.j= 0.K by A307,A308,A309,Th25;
        p2=Base_FinSeq(K,n,i) by A4,A305,A306,A346;
        then (P*Q)*(i,j)= -(P*(1,j))*(a* (0.K)) + P*(i,j) by A305,A340,A345
,A347,Th25
          .= -(P*(1,j))*(0.K) + P*(i,j)
          .= - (0.K) + P*(i,j)
          .= 0.K + 0.K by A349,A350,RLVECT_1:12
          .= 0.K by RLVECT_1:4;
        hence thesis;
      end;
      suppose
A351:   j<=1;
        reconsider p=Col(Q,j),q=a*(Base_FinSeq(K,n,1)) as FinSequence of K;
A352:   for k be Nat st 1 <=k & k <= n holds p.k=q.k
        proof
          let k be Nat;
          assume that
A353:     1 <=k and
A354:     k <= n;
A355:     k in dom Q by A202,A353,A354,FINSEQ_3:25;
A356:     len (Base_FinSeq(K,n,1))=n by Th23;
          then
A357:     ((Base_FinSeq(K,n,1))/.k)=((Base_FinSeq(K,n,1)).k) by A353,A354,
FINSEQ_4:15;
          k in dom (a*(Base_FinSeq(K,n,1))) by A204,A353,A354,FINSEQ_3:25;:              nbf. =(nbf.) ' Mxx
          then
A358:     (a*(Base_FinSeq(K,n,1))).k =a*((Base_FinSeq(K,n,1))/.k) by A357,
FVSUM_1:50;
          per cases by A353,XXREAL_0:1;
          suppose
:1=;
            then
A360:       q.k= (a)*(1.K) by A354,A357,A358,Th24
              .=a;
A359     c gg
              .=a by A5,A307,A351,XXREAL_0:1;
            hence thesis by A360;
          end;
          e
java.lang.StringIndexOutOfBoundsException: Range [9, 4) out of bounds for length 16
            kj]injava.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 66
    let i,j,k,l be Nat;
A362:       A11: k=n+1-j & l=n+1-i;
ATRIX_0 ;
A12:[,l] in[Seg n,Seg n:] by ZFMISC_1:87;
      .*kjbA355,MATRIX_0ef
              .= (  M*(ij  -(*kl))
            
              proof
              
A365A57: 0X)y  r0.
                (n,1).)(Base_FinSeq consider beingNat
,,15;
                then *(ase_FinSeq(;
                  .= 0.K;
08,358,,A365,h25java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 62
      
              suppose
                k=j;
                hencethesisby A351A;
              end;
            end;
            hencecoherence
          end;
        ;
A366:  1<= byA305,306XXREAL_0:2;
A367:   len (Line(P,i))=A5 Indices (M) = :Seg n,Seg n: by MATRIX_0:4;
        then
A368:   (Line(P,i))/.1 = (Line(P,i))then
          .= P*(i,1) by A226,MATRIX_0:def 7;
A369:   (P*Q)*(i,j.-(-M)(k,java.lang.StringIndexOutOfBoundsException: Range [19, 1) out of bounds for length 44
tjava.lang.StringIndexOutOfBoundsException: Range [12, 13) out of bounds for length 12
FINSEQ_1:  proofA62    not    beMatrixofn such
          .=
          .= a* (P*(i,1)) by A219,A367,A368,Th35;
        consider p2 being FinSequence of K such that
A370:   p2 = P.i and
: xinAand
        p2=Base_FinSeq(K,n,i)       end;
        hence (P* A6,d 2;
          .=0.K;
      end;
    end;
    hence thesis;
  end;
A372: len (a*(Line(P,1)))=len        .=(a`--a:java.lang.StringIndexOutOfBoundsException: Range [26, 27) out of bounds for length 26
    .=     0=/|fx| &<=1/...  /...|r & 1/...<=
  Indices P    proof
  then
A373: (P*Q)*(1,1)= |( Line(P,1), Col(Q,1) )| by A202,      .x.> byA1147;
    .= a*( |( Line(P,1), Base_FinSeq(K,n,1) )| ) by A224,A203,A301,Th10
    .=a*(Line(P,1))/.1 by A224,A219,Th35
   =(a*Line(P,)). A225,POLYNOM1def1
    .=(a*(Line(P,1))).1 by A219,A372      then |.f^.y.<r by A5;
    .=a*(P*(1,      then |1*f.).|<=r by A12,RFUNCT_1:def 2;
    .=1.K by A2,A3,VECTSP_1:def 10;
  for      then    thus x  C  x inck by A12;
  )*(i,j)
  proof
    let i,j be Nat;
    reconsider i0=i,j0=j as Element of NAT by ORDINAL1:def 12;
    assume
A374: [i,j] in Indices (P*Q);
    then
A375: i in Seg n by A302,ZFMISC_1:87;
    then
A376: 1<=i by FINSEQ_1:1;
A377: i<=n by A375,FINSEQ_1:1;
A378: j in Seg n by A302,A374,ZFMISC_1:87;
    then
A379: 1<=j by FINSEQ_1:1;
A380: j<=    then c aa,XX  Subset of the Attributes of DB such that
    per cases by A376,XXREAL_0:1;
ppose
 hen
      now
       cases;
        suppose
A382:     i<>j;
A383:     (1.(K,n))*(i,j)=    then
            .= 0.K by A379A17 ..f.y.*(/|f..)(/.f.y.)<=A69 now
          thus (P*Q)*(i,j)=(P*Q)*(i0,j0)
            .=(1.(K,n))*(i,j) by A303,A377,A379,A380,A381,A382,A383;
        end;
        suppose
A384:     i=j;
A385:     (1.(K,n))*(i,j)=(Base_FinSeq(K,n,i0)).j0 by A376,A377,A379,A380,Th27
            .=1.K by A379,A380,A384, ck by A12,A71;
          thus (P*Q)*(i,j)=(P*Q)*(i0,j0)
                       .(.)*(i)by A380,A381A384,A385
        end;
      end;
      hence thesis;
    end;
    suppose
A386assume Rby A53;
      now
        <;
        suppose
A387:     i<j;
A388:    1A    AA,A]=[,]  73java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
            .= 0.K by A379,A380,A387,Th25;
          thus (P*Q)*(i,j)=(P*Q)*(i0,j0)
.=1.K,M$ qua n-BOOLEAN);
        end;
        suppose
A389:A76:now
          then
A390:     i=j by A379,A386,XXREAL_0:1;
          1(K,)*j=assumexinm
            .=1.K by A379,A380,A390,Th24;
          hence thesis by A373,A379,java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 27
        end;
      end;
      hence thesis;
    end;
  end;
  then
1:Q1(,by27java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
 isinvertible  ow
  thus thesis by A391,A201,Th18;
end;

theorem Th38:
  a ElementKPassume
  P*(1,1)= a" & (for i st 1<i & i<A x in (|A;
  invertible
proof
  let a be Element of K,    now
  assume that
A1:      let K  Subsetof X such that
A2: a<>0.K & P*(1,1)= aA74:j inSegn
  defpred P[Nat,Nat,Element       not K c= A by A64,A69,A79,84;
$$3:       .=bs0 byPARTFUN1java.lang.StringIndexOutOfBoundsException: Range [50, 51) out of bounds for length 50
   sti0$  $3 Base_FinSeqK,,i0).2;
ijbeingNat st[,j  :n, n:]ex x ElementofK
  st P[i,j,x]
  proof
    let i,j be Nat;
    java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 62
    assume [i,j] in [:Seg n, Seg n:];
then j0 Seg n by 87;
    then
A4: 1<=j0 & j0<=n by FINSEQ_1:1;
    casesjava.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
    suppose
A5:   i=1;
      now
        per cases;
        case
A6:       j=1;
          set x1=a;
          thus (i=1 implies (j=1 implies x1=a)& java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 35
es for i1 being Element of A18: r^2=0java.lang.StringIndexOutOfBoundsException: Range [11, 12) out of bounds for length 11
          Base_FinSeq(K,n,i1)).j) by A5,A6;
        end;
        case
java.lang.StringIndexOutOfBoundsException: Range [8, 2) out of bounds for length 15
j;
    letCOMPLEX1 (-m)by ef
 implies for i1 being Element of NAT st
          Kn,i1).)by A5,A7;
        end;
      endjava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
      hencethesis;
    end;
    suppose
A8:   i<>1;
      len (Base_FinSeq(K,n,i0))=n by Th23;
      then (Base_FinSeq(K,n,i0))/.A1:M1= M@;
FINSEQ_4: then x being Element  X st l ,,,beNat;
      reconsider = Base_FinSeq(K,,))j0  Elementof java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
      i <>1 A5: i in Seg n & jSeg nbyZFMISC_1:7;
      Base_FinSeq    (+-) in Seg n&(n+-) Seg nby A5,m1;
      hence thesis byA8
end
end;
  consider Q0 being Matrix.hence r|Ax=(- 0) byFUNCT_149
A9: for i,j being Nat st [i,j] in Indices Q0 holds P[i,j,Q0*java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  MATRIX_0:sch 2(A3);
A10: 0+1<=n by A1,NAT_1:13;
A11:
  proof
    let j;
    assume that
A12: 1<j and
A13: j<=n;
   1]inQ0 Mjava.lang.StringIndexOutOfBoundsException: Range [48, 47) out of bounds for length 51
hence thesisby
  end;
A14: Indices  proof
A15: for i st 1<assume 
  proof
    let i;
    assume that
A16: 1<i and
A17: i<=n;
    i in Seg n by A16,A17,FINSEQ_1:1;
    i1 IndicesQ0 hthesisthen len p11>1+-by A6,XREAL_1:;endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 10
A18: p = Q0.i and
    Q0*(i,1) = p.1 by MATRIX_0:def 5;
A19: for j be Nat st 1<=j & j<=n holds p.j=(Base_FinSeq(K,n,i)).j
    proof
      let j be Nat;
      assume 1<=j & j<=n;
      then
A20:  [i,j] in Indices Q0 by A16,A17,MATRIX_0:31;
      then ex p2 being FinSequence of K st p2 = Q0.i & Q0*(i,j) = p2.j by
MATRIX_0:def 5;
      hence thesis by A9,A16,A18,A20;
    end;
    len Q0 = n by MATRIX_0:def 2;
    then i in Seg len Q0 by A16,A17,FINSEQ_1:1;
    then i in dom Q0 by FINSEQ_1:deffor , being  in X&yin X  x c= yholds x=y;
    then p in rng Q0 by A18,FUNCT_1:def 3;
    then
A21java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    len (Base_FinSeq(K,n,i))= n by Th23;
    hence thesis by A18,A21,A19,FINSEQ_1:14;
  end;
  [1,1] in java.lang.StringIndexOutOfBoundsException: Range [0, 18) out of bounds for length 0
  then Q0*(1,1)=a by A9;
  hence thesis by A1,A2,A11,A15,Th37;
end;

theorem Th39:
  for A being Matrix of n,K st n>0 & A*(1,  X=  ofD
Matrix of n,K st P is invertible & (A*P)*(1,1)=1.K & (for j st 1<j & j<=n holds
  (*P)*1,)=0K)  st 1<i& i=&A*,) . (*)(i1=0.
proof
  letA  Matrix of n,K;
  theniin Seg  jjava.lang.StringIndexOutOfBoundsException: Range [26, 24) out of bounds for length 54
A1: n>0 and
A2: A*(1,1)<>0.K;
A3: 0+1<=n by A1,NAT_1:13;
  set a=A*(1,1);
  defpred P[Nat,Nat,Element of K] means ($1=1 implies (($2=1 implies $3=a")& (
2> java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 78
  of NAT st i0=$1 holds $3= (Base_FinSeq(K,n,i0)).$2);
A4: for i,j being Nat st [i,j] in [:Seg n, Seg n:] ex x being Element of K
  A6 in  and
  proof
    let i,j be Nat;
    reconsider i0=i,j0=j as Element of NAT by ORDINAL1:def 12;
    assume [i,j] in [:Seg n, Seg n:];
    then j0 in Seg n by ZFMISC_1:87;
    then
A5: 1<=j0 & j0<=n by FINSEQ_1:1;
    per cases;
    suppose
A6:i1java.lang.StringIndexOutOfBoundsException: Range [10, 11) out of bounds for length 10
      per cases;
      suppose
        j=1;
        thesisby A6;
      end;
      suppose
        j<>1;
         thesis byA6;
      end;
    end;
    suppose
A7:   i<>1;
       Base_FinSeq(n,i0))/.j0;
      len (Base_FinSeq(K,n,i0))=n by Th23;
      then
      i1  Element ofNAT ti1=ofX;
      .      .(M)k,)y ,6,ATRIX_1: 4;
      thesisby ;
    java.lang.StringIndexOutOfBoundsException: Range [8, 9) out of bounds for length 8
  endA5  is(1;
  consider     (M1+M2)*(i)=M1(,+M2*ij byA2,A4,A6,MATRIX_1:def6
 fori, beingNat  [iA4 
  MATRIX_0:sch 2(    hence thesisby A1;
A9 +<n y A1,AT_1:13;
A10
  proof
    let A3:[,j inIndices M1and
    assume that
A11: 1<i and
A12: i<=n;
inP0 ,2,java.lang.StringIndexOutOfBoundsException: Range [47, 46) out of bounds for length 50
then being FinSequence  cluster M1-M2 -> subsymmetric for Matr-2 -  nK
A13: p = P0.i and  dom(*= a) ;
    *byA16
:forj  
    proof
      let j be NatthenA10:+<(*+
     then
      then
  [:A  F
       p2 java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 19
M(l, A4,,A2,f1
      line_circulant subsymmetricforMatrixofn,coherence
    end;    then A13:for i,j be Na [, IndicesaM)&+(*p 
    len P0 = A2: Indices M [:  proof
i lenjava.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 47
    then i in dom1=1j 1java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
then p in rng P0  by A13,:def ;
then
A16: len p=n by M1 14;
    (Base_FinSeq(K,=a.1() by:java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
     p d  ;

:ajava.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 15
   = kin &linnbyA109java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 46
A18: Indicesjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
eq(K,,1)n java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 7
A3: M1=nti- :f2:
  then
A21: P0*(1,1)= a" by A8;
  then    jbe Natjava.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 19
:P0byA1,A2A10h38java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 40
  P0= by MATRIX_0:24;
  java.lang.StringIndexOutOfBoundsException: Range [6, 7) out of bounds for length 6
 A9,FINSEQ_11
A25 k
1).
  
letk beNat;
    assume that
A26: 1=compK).(p( )) byA1A7,A4A12A13
A27: k<=n;
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
FINSEQ_4:15;
    k in Seg n by A26 Indices set  SubsetXFbeingsetofX st
  ex ap   FINSEQ_1def
A29t
A30: 
      assume
A31:>;
      thus ((a")*(dom(p+=pby A6POLYNOM11;
A29,A28,FVSUM_1:50
        .= (a")*(0.K) A16forijbe  st[j]  for X being finite non empty set,etofX
    . .;
    
    inSegnbyA26,,java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
java.lang.StringIndexOutOfBoundsException: Range [8, 9) out of bounds for length 8
:kin by A23,d3;
A33: now
      k in Seg n by  
hen[,  by A23A24A18,FMISC_1
   
:ex p &1jjava.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 78
def5;
      
 k> + inSeglen(p+
      then k in NATjava.lang.StringIndexOutOfBoundsException: Range [4, 5) out of bounds for length 4
then,,;
 . 0. by ,end;
     (java.lang.StringIndexOutOfBoundsException: Range [0, 16) out of bounds for length 5
    java.lang.StringIndexOutOfBoundsException: Range [8, 9) out of bounds for length 8
A36: now
      assume
A37:  k=1;
      henceMbeing byA1
A29,28Fjava.lang.StringIndexOutOfBoundsException: Range [18, 14) out of bounds for length 48
         Matrixof n,Ksuch that
        =a"
    endA3:k=+-&l=+1-ijava.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
    1, in[Seg n,Seg n: by A3,ZFMISC_1:7;
    hencecin BBbyA1
    hence thesis by    .=(-M1*(k,l))+(-*k,l) by A4,6,3Def2
  end;
A38endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
  then
A39: 1 in Seg len A  coherence
  then
   Xc bbyA9
assume
  then
A42:     thenk charact_setFby A3,Th55;
  then
ne,)yA,def;
A44: 1     java.lang.StringIndexOutOfBoundsException: Range [0, 7) out of bounds for length 6
 & 
  proof
    Q=A,PM2-Anti-ubsymmetric
    let i;
    ssume that
A46:   proof
A47: A*(i,1A1:M1 =M@
A48a 
    reconsiderp=Col(,),=a"*Base_FinSeqKn,) as FinSequenceof K;
    then
      .by24
A50      A[,]in[:negjava.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 44
      .=n by Th23;
A51: for k be Nat st 1 <=k & k <= n holds p.k=q.k
    proof
      let k be Nat;
      assume that
A52:  1 <=k and
A53:  k <= n;
A54:  len (Base_FinSeq(K,n,1))=n by Th23;
      then
A55: (Base_FinSeq(  takeF
;
      :25;
      then
A56:  end;
      k indefinition
      then
A57:  ((a")*(Base_FinSeq(K,n,1))).  ,,k,  Nat t       x]in java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 40
FVSUM_1:50;
      per cases by A52,XXREAL_0:1;
      suppose
A58:    1=k;
        then q.k= (a")*(1.K) by A53,A55,A57,Th24
          .=a";
        hence thesis by A8,A20,A56,A58A10: G c=FF A9,java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 25
      end;
      suppose
A59:    1<k;
        ((Base_FinSeq(K,n,1))/.k)=((Base_FinSeq(K,n,1)).k) by A52,A53,A54,
FINSEQ_4:15    hereby
        then
A60:    (a")*(Base_FinSeq(K,n,1))/.k = a"*(0.K) by A53,A59java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
          .= 0.K;
            
        then
A61:    exA12:  for cbeing set st c in given K eingSubsetof Xsucht
RIX_0def;
        inin NATby ORDINAL1:def 12;
        then p.k=(Base_FinSeq(K,nA22:  [,[]]>=[A #X by A21java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
        hence thesis by A48,A57,A59,A60,Th25;
      end;
    end;
A62: width Q=n by MATRIX_0:24;
    then
A63: len Line(Q,i) = n by MATRIX_0:def 7;
    then
A64: (Line(Q,pjava.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
      .= Q*(i,1) by A44,MATRIX_0:def 7;
    [i,1] in Indices (Q*P) by A46,A48,MATRIX_0:31;
    hence (Q*P)*(i,1)= |( Line(Q,i), Col(P,1) )| by A23,A62,MATRIX_3:def:c ;
      .= |( Line(Q,i), a"*(Base_FinSeq(K,n,1)) )| by A49,A50,A51,FINSEQ_1:14
      .= a"* |( Line(Q,i), (Base_FinSeq(K,n,1)) )| by A19,A63,Th10
      .= a"* (Q*(i,1)) by A3,A63,A64,Th35
      .= 0.K by A47;
  endjava.lang.StringIndexOutOfBoundsException: Range [6, 7) out of bounds for length 6
A65: for j st 1<j & j<=n     now
  proof
    let j;
    assume that
A66: 1<j and
A67: j<=n;
A68: len (Base_FinSeq(K,n,j))=n by Th23;
    reconsider p=ol(,j,q=-a)(*1j)*Base_FinSeq(,,1) +Base_FinSeq
    (K,n,j) as FinSequence of K;
A69   then X c=c  A1,17,,m3;
   b MATRIXR116
      .=n by Th23;
A70: len (-(a")*(A*(1,j))*(Base_FinSeq(K      hence contradiction by A17,A19,A20;
    Base_FinSeq(K,n,1))) by Th6
      .=len (Base_FinSeq(K,n,1)) by MATRIXR1:16
      .=n by Th23;
java.lang.StringIndexOutOfBoundsException: Range [21, 3) out of bounds for length 51
A72:for k be Nat st 1<k
    proof
A73:len (-a")(A*1j))*(Base_FinSeq(K,))=len Base_FinSeqK,n
      ,1)) by MATRIXR1:16
        .=n by Th23;
      let k be Nat;
      assume that
A74:  1 <=k and
A75:k< n;
      k in Seg n by A74,A75,FINSEQ_1:1;
      then
A76:  k in dom ((-(a")*(A*(1,j)))*(Base_FinSeq(K,n,1))) by A69,FINSEQ_1:def 3;
      len (Base_FinSeq(K,n,1))=n by Th23;
      then
A77:(Base_FinSeq(K,n,)).)=(Base_FinSeq(Kthen
;
  (-)(*1j)*Base_FinSeqK,1).  =FF byA10,,XBOOLE_0:def 
      Base_FinSeq(K,n,1))java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
        .=(-(a")*(A*(1,j)))*((Base_FinSeq(K,n,1))/.k) by A76,A77,FVSUM_1:50;
      len (Base_FinSeq(K,n,1))=n by Th23;
      java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
A79:  (
(Base_FinSeq(K,n,1))/.k)=((Base_FinSeq(K,n,1)).k) by A74,A75,FINSEQ_4:15;
      domP0A23,74,75,FINSEQ_3:5java.lang.StringIndexOutOfBoundsException: Range [45, 46) out of bounds for length 45
      thencharact_set F  charact_set java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 13
A80:pkP0*(,) byMATRIX_0:def8
      per cases by A74,XXREAL_0:1;
      suppose
A81:    1=k;
        k <= len (-(a")*(A*(1,j))*(Base_FinSeq(K,n,1))) by A75,A73,Th6;
        then
A82:    (-(a")*(A*(1,j))*(Base_FinSeqhence thesis;
        Base_FinSeq(K,n,1))/.k) by A74,A78,FINSEQ_4:15
          let x  object;
          .-)(*1,);
A83:    p.k=-(a"A4:[] = X;
        (Base_FinSeq(K,n,j))/.k = (Base_FinSeq(K,n,j)).k by A68,A74,A75,
FINSEQ_4:15
          =0. by    assume
        java.lang.StringIndexOutOfBoundsException: Range [0, 12) out of bounds for length 11
        hence thesis by A83,RLVECT_1:4;
      end;
      suppose
A84:    1<k;
        [k,j] in Indices P0 & k in NAT by A66,A67,       consider a,bbeing Subset  A such that
,ORDINAL1:def 12;
        then
for c of java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 74
        per cases;
        suppose
A86:      k <> j;
              assume
/k
FINSEQ_4:15;
  then
      -a)*A*1,j)((K,n1)). (-)A(,A  ,] java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 21
          0. java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 34
.0.java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
A88:      (-(a")*(A*A5:   [, inIndices M1;
  <lenp1
A89:      p.k= 0.K by A66,A67,A85,A86,Th25;
          (Base_FinSeq(K,n,j))/. suppose
INSEQ_4:5
            .= 0.K by A74,A75,A86,Th25;
          
          hence thesis by
        java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
        suppose
:k=j;
          lenn,
          then ((Base_FinSeq(K,n,1))/.k)=((java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 7
INSEQ_4;
then
A91:      (-(a")*(A*(1,j))*(Base_FinSeq  A ofn,;
          0.K) ofD holds
            .= 0.K;
A92 letpbe  of D;
e_FinSeq(K,n,1))by A70,A74,FINSEQ_4:15;
A93:      p.k=1.A3 len p=idth  by java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
          (Base_FinSeq(K,A5forijbeNat st[j  @ +j>p+  @*j=
FINSEQ_4:15
            .= 1.A6: Indices A = [:Seg letA beobjectjava.lang.StringIndexOutOfBoundsException: Range [21, 22) out of bounds for length 20
          then q.k= 0.K + 1.java.lang.StringIndexOutOfBoundsException: Range [0, 29) out of bounds for length 16
          hence then i in Seg n & j nA6ZFMISC_187;
        java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 12
      end;
          ajava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
A94: width A=n byA :,Segn]byMATRIX_024java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
    then
A95: len Line(A,1) = n by MATRIX_0:def 7then in n   Seg by 87;
    then
A96: (Line(A,1))/.1 = (Line(A,1)).1 by A3,FINSEQ_4      hencethesis by A2,A;
      .ejava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
A97  let n,,
A98: len (Col(P0,j))=len P0 by MATRIX_0:def 8
      .=n by MATRIX_0:24;
    len (-(a")* consider pbeFinSequence of K  that
,Th2;
    then
99 java.lang.StringIndexOutOfBoundsException: Range [4, 1) out of bounds for length 17
,A72,FINSEQ_1registration
:(Line(A,1)/.  (Line(A,1)).j by A66,A67,A95,FINSEQ_4:15
      .= A*(1,j) by A97,A94,MATRIX_0:def 7;
    [1,j] in Indices (A*P0) by A9,A66,A67,MATRIX_0:31;
    then (A*P0)*(1,j)= |( LineA1 =+M2
      .= |( Line(A3:M1  p Def5;
,Base_FinSeq(,n, |byA42A,A99,Th11
      . consider  beingFinSequence  Ksuch that
,Base_FinSeq(Kn,j))|byTh6
      .=(-(a")*(A*(1,j)))* |( Line(A,1 M2=n by 24;
    1), Base_FinSeq(  then(+=pbyA4,1;
      .=(-(a")*(A*(1,j)))     width( width (M1+2) +M2 rA6:x c=AA   A,Th5;
,end;
      .= -((a")*(java.lang.StringIndexOutOfBoundsException: Range [0, 18) out of bounds for length 10
9
      = -(*1j)*(a"*a) +|Line(A1,Base_FinSeq(,: AisSubsetof X A4,h55java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
GROUP_1defno A in charact_set  F;
     =-(*(thenfor  yof [, y inF  java.lang.StringIndexOutOfBoundsException: Range [55, 54) out of bounds for length 74
VECTSP_1:def 10
      .= -((A*(1,    java.lang.StringIndexOutOfBoundsException: Range [4, 5) out of bounds for length 4
      .= -(A*(1,j)) + A*(1,j) by A100
      .= 0.K by RLVECT_1:5;
    hence thesis;
  end;
A101: Indices A=[: Seg n,Seg nthen
24;
A102: len (Col(P0,1))=len P0 by MATRIX_0:def     assume
    A13:not [xX inMaximal_wrtF;
  len ((a")*(Base_FinSeq(K,n,1)    nowrbeing setst&  holdsb c by java.lang.StringIndexOutOfBoundsException: Range [59, 58) out of bounds for length 59
    =n  Th23;
  then
:Col(P01=("x1
A104: len ((a")*(      assume
    .= n by A41,MATRIX_0:def 7;
  [1,1] in Indices A by A3,MATRIX_0:31;
  then (java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 6
    .= (a")*( |( Line(A,1), Base_FinSeqend henceby A9A12,AX: java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 64
    .  existence
    .=((a")*(Linea inBB by;
    java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 43
  proof
    .1K byA2java.lang.StringIndexOutOfBoundsException: Range [57, 23) out of bounds for length 58
  hence thesis by A22,A65,A45;
java.lang.StringIndexOutOfBoundsException: Range [32, 4) out of bounds for length 32

theorem Th40:
  for A being Matrix of n,K st   &a<java.lang.StringIndexOutOfBoundsException: Range [33, 10) out of bounds for length 33
Matrix of n,K st P is invertible & (P*A)*(1,1)=1.K & (for i st 1<i & i<=n holds
  (P*A)*(i,1    assume
proof
  letA be Matrix of n,K;
  java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 13
A1: n>0 and
A2: A*(1,1)<K in candidate-keys Dependency-closure F iff K
  set B=A@;
A3proof
      end;
  then B*(1,)=A*  cluster M1+>central_symmetric for Matrix of n,K;
  then consider P0 being  coherence
: P0 is invertible and
1. and
A6set S={wherePSubset of java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
  st j&j= (1 .holds *P0),1) .by h39
: [,]in Indices (B*0 by A3,MATRIX_031;
A9: for j st 1<j & j<=n & A*(1,j)= 0.K holds ((P0@)*A)*(1,j)= 0.K
proof
lj;
let i,j,k,l java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
A10: 1<Indices M1 =[Seg n,Seg n:    thenex  Subset of Xx=java.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 57
24: inBBby A3
    then
    then B*(j,1)=A*(1,j) by MATRIX_0:def 6;
    then
A12: (B*P0)*(j,1)= 0.K by A7,A10,A11;
    [j,1] in Indices (B*P0) by A3,A10,MATRIX_0:31;
    then ((B*P0)@)*(1,j)= 0.K by A12,MATRIX_0:def 6;
    then ((P0@)*(B@))*(1,j)= 0.K by Th30;
    hence thesis by MATRIXR2:29;
  A26  notc  X;
A13: for i st 1<i & i<=n holds ((P0@)*A)*(i,  F&xc= c holds y
  proof
    leti;
    & i<=n;
    then
A14: [1,i] in Indices (B*P0) & (B*P0)*(1,i)= 0.K by A3,A6,MATRIX_0:31;
    (B*P0)@=(P0@)*(B@) by Th30
      .=(P0@)*A by     then X in BB by A24
    hence thesis by A14,MATRIX_0:def 6;
  end;
A15: P0@ is invertible by A4;
  (P0@)*)*1,1)((P0@)*(B@))*1,1 by MATRIXR2:29
    .=((B*P0)@)*(1,1) by Th30
    ..K by A5,A8,ATRIX_0:def 6;
  hence thesis by A13,A15,A9;
end;

theorem Th41:
  for letn,;
 Q is invertible &(**Q)*11)=1. & (for i
st 1<i & i<=njava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
  )A1 M1=M@java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12

  assume that
  assume that
 n>and
A2: A5 inSeg n & j in Seg n by ZFMISC_1:;
(n+-)in Seg 4: K =Aand
A3: P is invertible and
A4: (P*A)*(1,1)=1.K and
A5: for i st     thus M1*(i,j) =M*j,)A1,A2,A6,MATRIX_0:def 
  for j st 1<j & j<=n & A*(1,j)=   end;
  consider Q   set R  (->  *(->L :A |X,cFbyA5;
A6:Qcoherence
 P**Q)*1,j)=0.and
A7: for i st A1:M1 is symmetric and
,   let i,j:i]java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
  for i st 1<i & i symmetry_circulantthen
  proof
    let i;
    assume
A8: 1<i & i<=n;
    A2: n>0 holds i+-mod nin Seg n
    thesis by ,A8A1:iin    in njava.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
  end;
hencebyA3;
end;

egin:: A Transformation of Matrix to Some Canonical Form

theorem Th42:
  for D being p is first-symmetryof-irculant implies -p         let z be Subset of X such that
Matrix ofm,D holds Swap(A,i,j) isjava.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 18
proof
  let D nonempty ,,,i,jbeingElement ofNAT, Abep Elementjava.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 68
:for pbeing FinSequence of D st p in rngthen
  proof
    let p be FinSequence of A:i+-->0+ by A7,NT_1:7;
A2:takeM2
    assume p in rng (Swap(A,iend;

  end;  etn=len p;
 rng Swap(A,j)rngA  FINSEQ_7:22;
then ex n3 being Nat  for x being object st x in rng Swap          A12,XBOOLE_0:def 10;
ex p being
  FinSequencethen- is Element of (en 
  :len(p=pbyCARD_1def ;
  
lenA   (wap(Ai,))=len A  FINSEQ_7:18,MATRIX_0:def 2;
  then- is first-symmetry-of-circulant by Th8;
;

definition
      leti, beNat;
  let n be Element of NAT, i0 be Nat;
  java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
  A10S { Pjava.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 58
  correctness
  proof
    i0 in NAT by ORDINAL1:def 12;
    hence thesis by Th42;
      let  be object;
     end;

A9  exP  Subset ofXst x  P  k]indcF;
  for n being Element of NAT,i0then len p +->1+1        hencethesisthen
<i0&i0=n A=SwapDiagonal(Kn      endjava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
(  j=impliesA      then reconsiderS as Subset-Familyof Xjava.lang.StringIndexOutOfBoundsException: Range [47, 48) out of bounds for length 46
1  [k kindcF.i+1)+modn byA11,;
*(i,j) .(comp ). p.lenend
  1.)&(i<  =-Circp)i,) 
A1:ij in [Seg n,Seg n:] and
   in Seg nend;
  assume
A1: 1<=i0 & i0<=n;
  assume
A2: A=SwapDiagonalK,,i0)

  assumethatingsetst BinA1:p firstsymmetry- and
A3:1<=i and
A4: i<=n and
A5:width M=& len p = by CARD_1:def7,MATRIX_0
A6:j=n;
A7:     thus for i,j be Nat st [,j]inIndices M& i+j<>len p+ holds
  assume
A8: i0<>1;
  thus i=1 & j=i0 implies A*(i,j)=A4:   i+<len p+1;
  proof
    reconsider j0=i0-'2     end;
    reconsider =A5[i,j]nIndices((n,))>) and
assume that
A9: i=1 and
A10: j=i0
    reconsider qq=(f/.i0) as     then consider
FINSEQ_1:def 11;
    i0 <=len f by A6,A10,MATRIX_0:def ;
    then f/.i0=f.i0 by A5,A10,FINSEQ_4:15
      .=A21:  [k, [#]X] in dcF
    then
 proof
    reconsider g=f/^1 as FinSequence of (the carrier of K)*;
A12: len f=n by MATRIX_0:def 2;
    reconsider h= (g|j0) as FinSequence of (the carrier of K)*;
    len ((<*f/.i0java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
      .= 1+len (h) by FINSEQ_1:39;
    then
A13: 1<= len           then k\P  A6  apeglen(pA thesisA5A7,:def
A14 =len (<*/i0*end;
    10 by A5,A8,A10,:1;
        assume that
      1:32
      .= (<*f/.i0*>^h).1 by A9,A13,FINSEQ_1:64
     = (*/>.  A14,:64
      .= f/.i0;
   hence thesis by A7,ake DB=DB( X ,R )java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
  nd;
A15: len A=n by MATRIX_0:24;
:1<n by A3,A4XXREAL_0:;
  thus i=i0 & j=1 implies A*(i,j)=1.K
  proof
    reconsider f=1.(K,n) as FinSequence of (the carrier ofA12     then [x/k\/P,y(\/]in   A22,Def13;
    assume that
A17    let x  set;
A18: j=1;
    reconsider qq=(f/.1) as FinSequence of (the carrier of K) by
FINSEQ_1:A13:x in C;
A19 len f=n by MATRIX_0:def2;
    then f/.1=f.1 by A16,FINSEQ_4:15
      .=Base_FinSeq(K,n,1) by A16 reconsider AA  AXA=  as Subset of theAttributesof DBby A11;
    then
A20: qq.j=1.K by A6,A18,Th24;
    A.i=A/.i by A15,A3,A4,FINSEQ_4:15
      .=f/.1 by A2,A3,A4,A6,A17,A18,A19,FINSEQ_7:31;
    hence thesis by A7,A20,MATRIX_0:def 5;
  end;
  thus i=1 & j=1 implies A*(i,j)=0.K
  proof
derf.(,n as FinSequence of (the carrier ofK)*java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
 that
        end;
A22: j=1;
    reconsider qq=(f/.i0) as FinSequence of (the carrier of K) by
:def11;
A23: A16:  Lfin ;
   thenthen[,[]X = [#X;
      .=Base_FinSeq(K,n,i0) by A1,Th26;
    then
A24: qq.j=0.K by A4,A8,A21,A22,Th25;
    A.i=A/.i by A15,A3,A4,FINSEQ_4:15
      .=f/.i0 by A1,A2,A4,A21,A23,FINSEQ_7:31;
    hence thesis      then consider Lg being Subset ofX such that
  end;
  thus i=i0 & j=i0 implies A*(i,j)=0.K
  proof
    reconsider f=1.(K,n) as FinSequence of (the carrier of K)*;
    assume that
A25 =i0i0 and
A27 [K, P]in dcFMatrix n,K that
    reconsider qq=  width(M1+2)=n  MATRIX_0:24
FINSEQ_1:def 11;
A27:len =nby MATRIX_0:def 2;
    then  then
      .=Base_FinSeq(K,n,1) by A16,Th26;
    then
A28:qq= len p;
    A.i=A/.i by A15,A3,A4,FINSEQ_4:15
      .f/. byA2,A3,A4,,A25,A27FINSEQ_7:31java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
    hence thesis by A7,A28,MATRIX_0:def 5;
  end;
  assume
A29: er cases;
  per cases by A29;
  suppose
A30: i<1 & i<>      K\/= X
    thus i=j implies A*(i,j)=1.K
    proof
      .(a multfield)  proof
      assume
::i>lenpq 1;
(  
f1
      j <=java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
       .S       in n& ji Segn by A3,A14Z:;
        .=Base_FinSeq(KM1)i,)=a*M1*i,33   c Pand
      A34:not y c=K\/P by Th55;
:qq.j=. by A3,4A31,Th24;
A33 len f=n byMATRIX_0:ef 2;
      .      .a*.en p by A18,PARTFUN1:def6;
        .=f/.i by A2end;
hence thesis byA7,A32,MATRIX_0:def 5;
    end;
 >impliesj=.
    proof
      reconsider f=1.(K,n) asA35: y\(\P)in S;
      assume
A1 pis-symmetryof-
      reconsider qq  p = java.lang.StringIndexOutOfBoundsException: Range [18, 19) out of bounds for length 18
 java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
 nd;
      then f/.i=f.i by A3,  endjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
theoremTh4java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
      then
A36  .=.  ,6A34,Th25;
      A.i=A/.A4 Indices (M1  :Segn  :  MATRIX_0:4java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
        .=f/.i by A2,A3,A4,A6: width-M1=  (p)lenpby CARD_1def7MATRIX_024java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
      hence thesis byproof
   ;
  end;
  suppose
A37: j<>1 & j<>i0;
    thus i=j implies A*(i,j)=1.K
    proof
      reconsider             g.A41 a <X 
      assume
38:  i=j;
      reconsider qq=(f/.i) as FinSequence of (the carrier of K) by
FINSEQ_1:A43: not y9 = a by A41,XBOOLE_0:ef 10;
      j <= len f by A6,MATRIX_0:def 2;
      then f/.i=f.i by A5,A38,FINSEQ_4:15
        .=Base_FinSeq(K,n,i
      then
A39:  qq.j=1.K by A3,A4,A38,Th24;
A40:  lenX in Maximal_wrt dcFjava.lang.StringIndexOutOfBoundsException: Range [32, 33) out of bounds for length 32
      A.i=A/.i byA15,A3,4,:15
    thesisby ,def;
        by A7,A39,MATRIX_0:ef ;
    end;
    thus i<>j implies A*(i,jjava.lang.StringIndexOutOfBoundsException: Range [28, 29) out of bounds for length 16
    proof
      assume
A41:  i<>j;
;
suppose
A42thesis
reconsider =.,)asFinSequence of (the carrier of     suppose
       reconsiderq=fi     
FINSEQ_1:j]in: j n AZFMISC_187java.lang.StringIndexOutOfBoundsException: Range [53, 54) out of bounds for length 53
: f=n byMATRIX_0:def 2;
        then f/.i=
          e;
        then
java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
        ,FINSEQ_4:15
.=/i by A2,A3,A4,A42,A43,FINSEQ_7:30;
        hence thesis by A7,44,ATRIX_0:def 5;
      definition
      suppose
A45:    i=1 or i=i0;
        per cases by A45;
        suppose
A46:      i=1;
          iis_symmetry_circulant_about
          reconsider qq=(f/.i0) as java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 7
FINSEQ_1:def 11;
A47:      len f=n by MATRIX_0:def 2;
          then f/.i0=f.i0       suppose
java.lang.StringIndexOutOfBoundsException: Range [33, 12) out of bounds for length 45
          then
A7:i=+;
          Ahence hesisbyA3,,5,7;
,,,,INSEQ_731java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
          hence thesis by A7,A48,java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
        java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
        suppose
A49:      i=i0;
          reconsider f=1.java.lang.StringIndexOutOfBoundsException: Range [25, 26) out of bounds for length 4
          reconsider qq=(f/.1) as FinSequence        hence |X g|byA14,A31,34
FINSEQ_1:def 11A1: 0 <n and
MATRIX_0def;
          thenf.=f.1 by A16,INSEQ_4:15
           =ase_FinSeq(,n1byA16,h26;
               p.(i+j.i+-mod len p)
A51:      qq.A6 Indices A =[Seg ,Seg:] by MATRIX_0:;
         Ai. by A15,34INSEQ_4:15
            .=f/.1 by A2,A3,A4,A16,A49,A50,java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 41
           thesis by ,,MATRIX_0:def 
        end;
      end;
    d
end
   

:
  n   ,A beingMatrixof Kfori 
         i inSegn&iSegnby ,FMISC_1injava.lang.StringIndexOutOfBoundsException: Range [15, 13) out of bounds for length 38
proof
  let n be Element of NAT, A be Matrix of n,K;
  set A= SwapDiagonal(K,n,1);
 let         hence X =g|by ,java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 39
  assume 1<=i & i  end;
  then A=1.(K,n) & [i,end;
  hence thesis by MATRIX_1:def 3;
end;

theorem Th45:
  for n being     then consider considera, being SubsetofA1:=1M2;
<j&j<n  (<j implies(,n1java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 32
.)
proof
  let n be Element of NAT,A6  is_symmetry_circulant_about byDef5java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
  set A=   then dom q domqSeg n byA5,FINSEQ_1def3java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
  let i,j
   M1besymmetry_circulantof n,
  then
A1: [i,j] in Indices A   Nbe Matrix of n,K such that
   =.K,n) byFINSEQ_719;
  hence thesis by A1,MATRIX_1:def 3;
end;

theorem Th46:
  forK n beingElement  NAT,A being Matrixof ,K st i0
= 1 & for i,j being Nat st 1<=i & i<  coherence;
  =1.K)& (i<>j implies theorem
proof
  let K;
  let n,:M1is_symmetry_circulant_about

A1: i0 = 1;
  
A2: for i,j being Natthus thesis by A3;
  (i,j)=1java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  for i,j being Nat st [i,j] java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 5
  n,i0))*(i,j)
  proof
    let i,j be Nat;
    assume
 [i,]inIndices A;
    Indices A = [:Seg n, Seg n:] by MATRIX_0:24;
    p*,)
    then
A4: 1<=i &        assume
    then
A5: A10 i+- mod len pindomp by FINSEQ_1:ef 3;
    idth A  nbyMATRIX_0:;
    then j in Seg n by A3,ZFMISC_1:87;
    then
A6: 1<=j & j<=n by FINSEQ_1A55:    K c a  SUBSET_1:24;
    then i<>j implies A*(i,j)=0.K by A2,A4;
    ence thesis by A1A6,;
  end;
  hence thesis by MATRIX_0:27;
;

theorem
  for K for n,i0 being Element of NAT,A being Matrix of n,K st 1<=
  n  < 1&forij  Natst 1<i &i<n&1= &j<n holds(java.lang.StringIndexOutOfBoundsException: Index 79 out of bounds for length 79
       -SCircp*ij)by VECTSP_1def13;
implies A*(i, endjava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
=)  (i=j  *i,)1.)&(<jimplies A*i,)0K)
  holds A= SwapDiagonal(K,n,i0)
proof
  let K;
  A1: p is first-symmetry-of-circulant and
  assume
A1: 1<=i0 & i0<=n & i0<>1;

java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
A15+1   in  by A9,A13,14A10,;
j=.) (i=i0  j        then a \a`={} by XBOOLE_0def 7
)implies (=j implies A*(i,j)=1.K)        then
for,j being Nat  [,]in  A holds A(i,)= (SwapDiagonalK
  n,i0))*(i,j)
  proof
    let i,j be Nat;
    assume
A3: [i,j] in Indices A;
    A  [Seg n,Seg n]byMATRIX_0:4;
    then
:in  byZFMISC_18;
then
A5: 1<=i by FINSEQ_1:1;
A6: i=i0 & j=i0A2:M1 is_symmetry_circulant_aboutp;
    width  apthenA Subset   
then
 j in Seg  by A3,ZFMISC_1:87
    then
A8: 1<=j by FINSEQ_1:1;
A9: i<=n by A4,FINSEQ_1:1;
    then
:=  j=0impliesA*i,)0K byA2A;
java.lang.StringIndexOutOfBoundsException: Range [24, 3) out of bounds for length 27
n
:=  i  *(ipis-ymmetry-f-irculant   is firstsymmetry-of-circulant & len p =
13 =1&j1implies (SwapDiagonal(K,n,i0))*(i,j)=0.K by A1,A9,Th43;
A14 i= &j= implies A*(i,j)=0.K by A2,A9;
 by A2,A5,A9,A11;
    not ((i=1 or i=i0) &(j=1 or j=i0)) implies (i=j implies A3: len SCirc(p)= len p & width SCirc(p) = len p by MATRIX_0:
( i<j  A*i)=0.)by ,A5,A8A11
hence thesis by ,A5,A9,,A11,12,15A14A10A13,,Th43;
  end;
      then notKc=A byA64,A69,77;
end;

em
( of,K, being ElementA1   ---irculantand
i0 <=n holds (for j st 1<=j & j<=n holds ((SwapDiagonal: a*p is -ymmetry-of-irculant & b*q is first    reconsider k as Element of X by A80;
,j)& (SwapDiagonal(Kni0)*A82 kin mby ,,A81java.lang.StringIndexOutOfBoundsException: Range [27, 28) out of bounds for length 27
  <=i & i<=n & 1<=j & j<=n holds ((SwapDiagonal(java.lang.StringIndexOutOfBoundsException: Range [0, 49) out of bounds for length 40
proof
  letA  M of ,)i0beElementof NATjava.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
  assume that
A1: 1<=i0 and
 i0 =n;
  thus for j st 1<=j & j<=n holds ((SwapDiagonal(K,n,i0))*A)*(i0,A1:M1A84:Kin ;
(wapDiagonal(ni0*)*1j=*(,)
  proof
    set Q=(SwapDiagonal(K,n,i0)) ,P=A;
       *i,j)M1*i,)
by:;
: ,,java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 29
  j2being in  widthQholds(Kn))j
    = Q*(1,j2)
    
      let j2 be Nat;
      reconsider j3=j2 as Element i in Seg n & j in Seg n by A5,A2:;
     java.lang.StringIndexOutOfBoundsException: Range [12, 13) out of bounds for length 12
A6:   j2 in Seg width Q;hence thesisby A,;
      then
A7:java.lang.StringIndexOutOfBoundsException: Range [6, 7) out of bounds for length 6
A8:   j2<=n by A3,A6,java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 10
      now
        per cases;
            now
:>
          now
            per cases;
            suppose        =X/m- )
              i0=1 & j2=i0;
              hence thesis by A9;
            end;
            suppose
A10:          i0=i0 & j2=1;
              then (      hence dom(0A  r1/A A89R:61;
              hence thesis by A4,A9,A10,Th25;
            end;
            suppose
              i0=1A91  xin (0|)
hence byA9java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
            end;
            suppose
A11:          i0=i0 & j2=i0;
              then (SwapDiagonal(K,n,i0))*(1,j3)=1.K by A1,A2,A4,A9,Th43;
              hence thesis by A7,A8,A11,Th24;
            end;
            suppose
A12:          not ((i0=1 or i0=i0) &(j2=1 or j2=i0));
              now
                per cases;
                suppose
                  i0=j2;
                  hence thesis by A12;
                end;
                suppose
A13:              i0<>j2;
                  (SwapDiagonal(K,n,i0))*(1,j3)=0.K by A1,A2,A4,A7,A8,A9,A12
,Th43;
                  hence hesis by A7A8,,Th25;
                end;
              end;
       hence thesis;
            end;
          end;
          hence thesis;
        end;
        suppose
A14:      i0=1;
          now
            per cases;
            suppose
A15:          i0=j2;
              then (SwapDiagonal(K,n,i0))*(1,j3)=1.K by A8,A14,Th44;
              hence thesis by A7,A8,A15,Th24;
            end;
            suppose
A16:          i0<>j2;
              then (SwapDiagonal(K,n,i0))*(1,j3)=0.K by A2,A7,A8,A14,Th45;
              hence thesis by A7,A8,A16,Th25;
            end;
          end;
          hence thesis;
        end;
      end;
      hence thesis;
    end;
    assume
A17: 1<=j & j<=n;
    then 1<=n by XXREAL_0:2;
    then
A18: Indices (Q*P)=[: Seg n,Seg n :] & 1 in Seg n by FINSEQ_1:1,MATRIX_0:24;
: <n A1AXXREAL_0:;
   =.,java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
    Q*(i0,j2)
    proof
      let j2 be Nat;
      reconsider j3=j2 as Element of NAT by ORDINAL1:def 12;
      assume
A21:  j2 in Seg width Q;
      then
A22:  1<=j2 by FINSEQ_1:1;
A23:  j2<=n by A3,A21,FINSEQ_1:1;
      now
        per cases;
        suppose
A24:      i0<>1;
          now
            per cases;
            suppose
              i0=1 & j2=i0;
              hence thesis by A24;
            end;
            suppose
A25:          i0=i0 & j2=1;
              then (SwapDiagonal(K,n,i0))*(i0,j3)=1.K by A1,A2,A19,A24,Th43;
              hence thesis by A23,A25,Th24;
            end;
            suppose
              i0=1 & j2=1;
              hence thesis by A24;
            end;
            suppose
A26:          i0=i0 & j2=i0;
              then (SwapDiagonal(K,n,i0))*(i0,j3)=0.K by A22,A23,A24,Th43;
              hence thesis by A1,A2,A24,A26,Th25;
            end;
            suppose
A27:          not ((i0=1 or i0=i0) &(j2=1 or j2=i0));
              now
                  (SwapDiagonal(K,n,i0))*(i0,j3)=0.K by A1,A2,A22,A23,A24,A27
,Th43;
                  hence thesis by A22,A23,A27,Th25;
              end;
              hence thesis;
            end;
          end;
          hence thesis;
        end;
        suppose
A28:      i0=1;
          now
            per cases;
            suppose
A29:          i0=j2;
              then (SwapDiagonal(K,
              hence thesis by A23,A28,A29,Th24;
            
            suppose
A30:          i0<>j2;
              then (SwapDiagonal(K,n,1))*(i0,j3)end;
              hence thesis
            end;
          end;
          hence thesis;
        end;
      end;
      hence thesis;
    end;
    len (Base_FinSeq(K,n,1)) = n by Th23
      .= width Q by MATRIX_0:24;
    then
A31: Line(Q,i0)=Base_FinSeq(K,n,1) by A20,MATRIX_0:def 7;
A32: len
    then
A33: len C   Fholds A/, D inF;
A34: 1<=n by A17,XXREAL_0:2;
    then 1 in Seg n by FINSEQ_1:1;
    then
A35: 1 in dom P by A32,FINSEQ_1:def 3;
    j in Seg n by A17,FINSEQ_1:1;
    then
A36: [1,j] in Indices (Q*P) by A18,ZFMISC_1:87;
    [i0,j] in Indices (end
    hence ((SwapDiagonal(K,n,i0))*A):java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
    by A3,A32,A31,MATRIX_3:def 4
      .= |( Col(P,j),Base_FinSeq(K,n,1) )| by FVSUM_1:90
      =java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
      .=A*(1,j) by A35,MATRIX_0:def 8;
    i0 in Seg n by A1,A2,FINSEQ_1:1;
    then
A37: i0 in dom P by A32,FINSEQ_1:def 3;
    len (Base_FinSeq(K,n,i0)) = n by Th23
      .= width Q by MATRIX_0:24;
    then Line(Q,1)=Base_FinSeq(K,n,i0) by A5,MATRIX_0:def 7;
    hence ((SwapDiagonal(K,n,i0))*A)*(1,j) = |( Base_FinSeq(K,n,i0),Col(P,j))|
    by A3,A32,A36,MATRIX_3:def 4
      .= |( Col(P,j),Base_FinSeq(K,n,i0) )| by FVSUM_1:90
      .= (Col(P,j)).i0 by A1,A2,A33,Th35
      .=A*(i0,j) by A37,MATRIX_0:def 8;
  end;
  thus for i,j st i<>1 & i<>i0 & 1<=i & i<=n & 1<=j & j<=n holds ((
  SwapDiagonal(K,n,i0))*A)*(i,j)=A*(i,j)
  proof
    set Q=(SwapDiagonal(K,n,i0)) ,P=A;
    let i,j;
    assume that
A38: i<>1 and
A39: i<>i0 and
A40: 1<=i & i<=n and
A41: 1<=j & j<=n;
A42: len P=n by MATRIX_0:24;
    then
A43: len (Col(P,j))=n by MATRIX_0:def 8;
A44: width Q=n by MATRIX_0:24;
A45: for j2 being Nat st j2 in Seg width Q holds (Base_FinSeq(K,n,i)).j2 =
    Q*(i,j2)
    proof
      let j2 be Nat;
      reconsider j3=j2 as Element of NAT by ORDINAL1:def 12;
      assume j2 in Seg width Q;
      then
A46:  1<=j2 & j2<=n by A44,FINSEQ_1:1;
      now
        per cases;
        suppose
A47:      i0<>1;
          now
            per cases;
            suppose
              i=1 & j2=i0;
              hence thesis by A38;
            end;
            suppose
              i=i0 & j2=1;
              hence thesis by A39;
            end;
            suppose
              i=1 & j2=1;
              hence thesis by A38;
            end;
            suppose
              i=i0 & j2=i0;
              hence thesis by A39;
            end;
            suppose
A48:          not ((i=1 or i=i0) &(j2=1 or j2=i0));
              now
                per cases;
                suppose
A49:              i=j2;
                  then
                  (SwapDiagonal(K,n,i0))*(i,j3)=1.K by A1,A2,A46,A47,A48,Th43;
                  hence thesis by A40,A49,Th24;
                end;
                suppose
A50:              i<>j2;
                  then
                  (SwapDiagonal(K,n,i0))*(i,j3)=0.K by A1,A2,A38,A39,A40,A46
,A47,Th43;
                  hence thesis by A46,A50,Th25;
                end;
              end;
              hence thesis;
            end;
          end;
          hence thesis;
        end;
        suppose
A51:      i0=1;
          now
            per cases;
            suppose
A52:          i=j2;
              then (SwapDiagonal(K,n,i0))*(i,j3)=1.K by A46,A51,Th44;
              hence thesis by A46,A52,Th24;
            end;
            suppose
A53:          i<>j2;
              then (SwapDiagonal(K,n,i0))*(i,j3)=0.K by A40,A46,A51,Th45;
              hence thesis by A46,A53,Th25;
            end;
          end;
          hence thesis;
        end;
      end;
      hence thesis;
    end;
    i in Seg n by A40,FINSEQ_1:1;
    then
A54: i in dom P by A42,FINSEQ_1:def 3;
    len (Base_FinSeq(K,n,i)) = n by Th23
      .= width Q by MATRIX_0:24;
    then
A55: Line(Q,i)=Base_FinSeq(K,n,i) by A45,MATRIX_0:def 7;
    [i,j] in Indices (Q*P) by A40,A41,MATRIX_0:31;
    hence ((SwapDiagonal(K,n,i0))*A)*(i,j) = |( Base_FinSeq(K,n,i),Col(P,j))|
    by A44,A42,A55,MATRIX_3:def 4
      .= |( Col(P,j),Base_FinSeq(K,n,i) )| by FVSUM_1:90
      .= (Col(P,j)).i by A40,A43,Th35
      .=A*(i,j) by A54,MATRIX_0:def 8;
  end;
end;

theorem Th49:
  for i0 being Element of NAT st 1<=i0 & i0<=n holds SwapDiagonal(
  K,n,i0) is invertible & (SwapDiagonal(K,n,i0))~ =SwapDiagonal(K,n,i0)
proof
  let i0 be Element of NAT;
  assume that
A1: 1<=i0 and
A2: i0<=n;
A3: 1<=n by A1,A2,XXREAL_0:2;
  set R=(SwapDiagonal(K,n,i0))*(SwapDiagonal(K,n,i0));
A4: Indices R=[: Seg n,Seg n :] by MATRIX_0:24;
A5: width R=n by MATRIX_0:24;
A6: for i4,j4 being Nat st [i4,j4] in Indices R holds R*(i4,j4) = (1.(K,n)): FF3 
  *(i4,j4)
  proof
    let i4,j4 be Nat;
    =4,=4as ElementofNAT by ORDINAL1:def 12;
    assume
A7: [i4,j4] in Indices R;
    
A8: [i,j] in Indices    
    j in Seg n by A5,A7,ZFMISC_1:87;
    then ] Fand
A9: 1<=j A6   A,C inF;
A10: i in Seg n by A4,A7,ZFMISC_1:87;
    then
A11: 1<=i by FINSEQ_1:1;
A12: i<=n by A10,FINSEQ_1:1;
    per cases by A11,XXREAL_0:1;
    suppose
A13:  1<i;
      now
ercases;
        suppose
A14:      i<>i0;
          now
            per cases;
            suppose
A15:          i=j;
A16:          now
                per cases;
                suppose
                  i0<>1;
                  hence  then [A\A9 A9
,A15,Th43;
                end;
                suppose
                  i0=1;
                  hence (SwapDiagonal(K,n,i0))*(i,j)=1.K by A11,A12,A15,Th44;
                end;
              end;
              (1.(K,n))*(i,j)= 1.K by A8,A15,MATRIX_1:def 3;
              hence R*(i,j) = (1.(K,n))*(i,j) by A1,A2,A12,A9,A13,A14,A16,Th48;
            end;
            suppose
A17:          i<>j;
A18:          now
                per cases;
                suppose
                  i0=1;
                  hence (SwapDiagonal(K,n,i0))*(i,j)  (F4) iffjava.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 33
;
                end;
                suppose
                 <1;
                  hence (SwapDiagonal(K,n,i0))*(i,j)=0.K by A1,A2,A12,A9,A13
,A14,A17,Th43;
                end;
              end;
              (1.(K,n))*(i,j)=0.K by A8,A17,MATRIX_1:def      )java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
              hence R*(i,j) = (1.(K,n))*(i,j) by A1,A2,A12,A9,A13,A14,A18,Th48;
            end;
          end;
          hence R*(i,j) = (1.(K,n))*(i,j);
        end;
        suppose
A19:      i=i0;
          now
            per cases;
            suppose
A20:          i=j;
A21:          A7:  [A   ;
                per       A c= A\/C by XBOOLE_1:7;
                suppose
                  i0=1;
                  hence (SwapDiagonal(K,n,i0))*(1,i0)=1.K by A13,A19;
                end;
                java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
                  i0<>A10 F is (DC6);
                  hence (SwapDiagonal(K,n,i0))*(1,i0)=1.K by A1,A2,A3,Th43;
                end;
              end;
              (1.(K,n))*(i,j)=1.    let A, B, C be Subset of X sujava.lang.StringIndexOutOfBoundsException: Range [40, 41) out of bounds for length 40
              hence R*(i,j) = (1.(K,n))*(i,j) by A1,A2,A19,A20,A21,Th48;
            end;
            suppose
A22:          i<>j;
A23:          now
                  now
                    per cases;
                    suppose
                      1;
                      hence (SwapDiagonal(K,n,i0))*(1,j)=0.K by A2,A3,A13,A19
,Th43;
                    end;
                    A14:[,]  and
                      j<>1;
                      hence
                      (SwapDiagonal(K,n,i0))*(1,j)=0.K by A3,A12,A9,A13,A19,A22
,Th43;
                    end;
                  end
                  hence (SwapDiagonal(K,n,i0))*(1,j)=0.K;
              end;
              (1.A17:B B9\B) by :45;
              hence R*(i,j) = (1.(K,n))*(i,j) by A11,A12,A9,A19,A23,Th48;
            end;
          end;
          hence R*(i,j) = (1.(K,n))*(i,j);
        end;
      end;
      hence thesis;
    end;
    suppose
A24:  1=i;
      now
         cases;
        suppose
A25:      i0<>1;
          per cases;
          suppose
A26:        j<>1;
A27:        now
              per cases;
              suppose
                j=i0;
                K,)(0j=. A9A26T
              end;
              suppose
                j<>i0;
                hence (SwapDiagonal(K,n,i0))*(i0,j)=0.K by A1,A2,A9,A25,A26
,Th43;
              end;
            end;
            (1.(K,n))*(i,j)=0.K by A8,A24,A26,MATRIX_1:def 3;
            hence R*(i,j) = (1.(K,n))*(i,java.lang.StringIndexOutOfBoundsException: Range [0, 42) out of bounds for length 0
          end;
          suppose
            j=1;
            then (1.(K,n))*(i,j)= 1.K & (SwapDiagonal(K,n,i0))*(i0,j)=1.K by A1
,A2,A3,A8,A24,A25,Th43,MATRIX_1:def 3;
            hence R*(i,j) = (1.(K,n))*(i,j) by A1,A2,A9,A24,Th48;
          end;
        end;
        suppose
A28:      i0=1;
          now
            per cases;
            suppose
              i<>j;
              then (1.(K,n))*(i,j)=0.K & (SwapDiagonal(K,n,1))*(1,j)=0.K by A12
,A9,A8,A24,Th45,MATRIX_1:def 3;
              hence R*(i,j) = (1.(K,n))*(i,j) by A12,A9,A24,A28,Th48;
            end;
            suppose
A29:          i=j;
              then
A30:          (1.(K,n))*(j,j)= 1.K by A8,MATRIX_1:def 3;
              ((SwapDiagonal(K,n,i0))*(SwapDiagonal(K,n,i0)))*(1,j) =(
              SwapDiagonal(K,n,i0))*(i0,j) by A1,A2,A9,Th48;
              hence R*(i,j) = (1.(K,n))*(i,j) by A2,A24,A28,A29,A30,Th44;
            end;
          end;
          hence R*(i,j) = (1.(K,n))*(i,j);
        end;
      end;
      hence thesis;
    end;
  end;
  width (1.(K,n))=n by MATRIX_0:24;
  then
A31: width R = width (1.(K,n)) by MATRIX_0:24;
  len (1.(K,n))=n by MATRIX_0:24;
  then len R = len (1.(K,n)) by MATRIX_0:24;
  then
A32: (SwapDiagonal(K,n,i0))*(SwapDiagonal(K,n,i0))=1.(K,n) by A31,A6,
MATRIX_0:21;
  hence SwapDiagonal(K,n,i0) is invertible by Th19;
  thus thesis by A32,Th18;
end;

theorem Th50:
  for i0 being Element of NAT st 1<=i0 & i0<=n holds (SwapDiagonal
  (K,n,i0))@=(SwapDiagonal(K,n,i0))
proof
  let i0 be Element of NAT;
  assume
 &i0<n
  per cases;
  suppose
A2: i0<> 1;
    for i,j being Nat st   F &a c=Y&notb c Y;
(ni0) (j=.K&(i=i0 &j=  (wapDiagonal
K,n,i0))@ *(i,j)=1.K)& (i=1 & j=1 implies (SwapDiagonal(K,end;
(i=i0 & j=i0 implies (SwapDiagonal(K,n,i0))@ *(i,j)= 0.K)& (not ((i=1 or i=i0)
&(j=1 or j=i0)) implies (i=j implies SwapDiagonal(K,n,i0)@ *(i,j)=1.java.lang.StringIndexOutOfBoundsException: Range [68, 69) out of bounds for length 7
    implies SwapDiagonal(K,n,i0)@*(i,j)=0.K))
    proof
A3:   Indices (SwapDiagonal(K,n,i0))=[: Seg n,Seg n :] by MATRIX_0  charact_setFjava.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
      let i,j be Nat;
      assume that
:< 
A5:   i<=n and
A6:   1<=j and
A7 j=n;
A8:   i  saturated-subsets DependencyF=() java.lang.StringIndexOutOfBoundsException: Range [66, 65) out of bounds for length 67
        let A be  finite set  A
        assume
A9:     i=1 &   B  ) java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 35
        [j,i] in Indices (SwapDiagonal(K,n,i0)) by A8,A3,ZFMISC_1:87;
        hence (SwapDiagonal(K,n,i0))@ *(i,j)=(SwapDiagonal(K,n,i0)) *(j,i)  
MATRIX_0:def 6
          .=1.K by A2,A5,A6,A7,A9,Th43;
      end;
      hereby
        assume
A10:    i=i0 & j=1;
        [,]inIndices(wapDiagonalK,n,)  A8A3,FMISC_187;
        hence (SwapDiagonal(K,n,i0))@ *(i,j)=(SwapDiagonal(K,n,i0)) *(j,i) by
MATRIX_0:def 6
          .=1.K by A2,A4,A5,A7,A10,Th43;
      end;
      hereby
        assume
A11:    i= assume c ;
[,i0),:7java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
        hence (SwapDiagonal(K,A3:x    stxy       yc java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
MATRIX_0:def 6
          .= 0.K by A1,A2,A5,A11,Th43;
      end;
      hereby
        assume
A12:    i=i0 & j=i0;
        [j,i] in Indices (SwapDiagonal(K,n,i0)) by A8,A3,ZFMISC_1A5: = 
        hence (SwapDiagonal(K,n,i0))@ *(i,j)=(SwapDiagonal(K,n,i0)) *(j,i) by
MATRIX_0:def 6
.0. A4,,Tjava.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
      end;
      hereby
        assume
A13:    not ((i=1 or i=i0) &(j=1 or j=i0));
A14:    [j,i] in Indices (SwapDiagonal(K,n,i0)) by A8,A3,ZFMISC_1:87;
A15:    now
          assume
A16A9 isfull_familyby A7T;
thus(,n) (,=(,,)*i by
A14,MATRIX_0:def 6
            .=1.A10: G c= FF by ADef24;
        end;
        now
          assume
A17:      i<>j;
          thus (SwapDiagonal(K,n,i0))@ *(i,j)=(SwapDiagonal(K,n,i0)) *(j,i) by
A14,MATRIX_0:def 6
            .= 0.K by A1,A2,A4,A5,A6,A7,A13,A17,Th43;
        end;
        hence
        (i=j implies (SwapDiagonal(K,n,i0))@ *(i,j)=1.K)& (i<>j implies (
        SwapDiagonal(K,n,i0))@ *(i,j)= 0.K) by A15;
      end;
    end;
    hence thesis by A1,A2  b9    XTUPLE_01;
  end;
  suppose
A18: i0=1;
    for i,j being Nat st 1<=i & i<=n     DCF
SwapDiagonal(K,n,i0))@ *(i,j)=1.K)& (i<>j implies (SwapDiagonal(K,n,i0))@ *(i,j
    )= 0.K)
    proof
A19  ((,,0)[ nn: :;
      let i,j be Nat;
      assume that
A20:  1<=i & i<=n and
A21:  1<=A4: x in D;
      i in Segn&j in nby A20,21FINSEQ_11;
      then
A22:  [jA5   ab  Th9
      hereby
        assume
A23:    i=j;
        thus (SwapDiagonal(K,n,i0))@ *(i,j)=(SwapDiagonal(  endjava.lang.StringIndexOutOfBoundsException: Range [6, 7) out of bounds for length 6
A22,MATRIX_0:def 6
          .1. byA18,20,A23,h44;
     java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
      hereby
set  -F
A24:    i<>j;
() *ji java.lang.StringIndexOutOfBoundsException: Range [76, 77) out of bounds for length 76
A22,MATRIX_0:let A be objec
8A21;
      end;
    end;
    hence thesis by A18,Th46;
  end;
end;

theorem Th51:
  for A being (Matrix of n,K),j0 being ElementA4:A   dcF
= (  <i &i<njava.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 79
,1) & (A*(SwapDiagonal(K,n,j0)))*(iA6: xc AA and
  =  = & 1<j&j<= (*((,j))(j=*(,j)java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
proof
  let A be (Matrix of n,K),j0 be Element of NAT;
  assume
A1: 1<=j0 & j0 <=n;
A2: ((SwapDiagonal(K,n,j0))*(A@))@=(A@@)*((SwapDiagonal(K,n,j0))@) by Th30
    .= A*((SwapDiagonal(K,n,j0))@) by MATRIXR2:29
    .= A*(SwapDiagonal(K,n,j0)) by A1,Th50;
A3: for i st 1<=i & i<=n holds (A*(SwapDiagonal(K,n,j0)))*(i,j0)=A*(i,1) & (
  A*(SwapDiagonal(K,n,j0)))*(i,1)=A*(i,j0)
  proof
    ;
    assume
A4: 1<=i & i<=n;
    then
=nby 2;
    then
A6: [i,1] in Indices A by A4,MATRIX_0:31;
    [j0,i] in Indices ((SwapDiagonal(K,n,j0))*e;
    hence (A*(SwapDiagonal(K,n,j0)))*(i,j0) =(((SwapDiagonal(K,n,j0))*(A@)))*(
    j0,i) by A2,MATRIX_0:def 6
      .=(A@)*(1,i) by A1,A4,Th48
      .def6;
A7: 
    [1,  forbeingofAstKc java.lang.StringIndexOutOfBoundsException: Range [37, 38) out of bounds for length 37

    (A*(SwapDiagonal(K,n,j0)))*(i,1) =(((SwapDiagonal(K,n,j0))*(A@)))*(1,
    i) by A2,MATRIX_0:def 6
      .=(A@)*(j0,i) by A1,A4,Th48
      .=A*(i,j0) by A7,MATRIX_0:def 6;
  end;
  or, stj>  >j0 & 1<=i  <=  <= &j=n holds (A*(
  SwapDiagonal(K,n,j0)))*(i,j)=A*(i,j)
  proof
    let  Fbe-ofX K be Subset of X;
    assume   set dcF = Dep-closure F;
 j<1&j<j0 and
A9: 1<=i & i<=n 
A10: [i  proof
    [j,i] in Indices ((SwapDiagonal(K,n,j0))*(A@)) by A9,MATRIX_0:31;

    (A*(SwapDiagonal(K,n,j0)))*(i,j) =(((SwapDiagonal(K,n,j0))*(A@)))*(j,
    i) by A2,MATRIX_0:def 6
      .=(A@)*(j,i) by A1,A8,A9,Th48
      .=A*(i,j) by A10,MATRIX_0:def 6;
  end;
  hence thesis by A3;
end;

theorem Th52:
  for A being Matrix of n,K holds A=0.(K,n) iff for i,j st 1<=i &
  i<=n & 1<=j & j<=n holds A*(i,j)= 0.K

  let A be Matrix of n,K;
A1: width A=n by MATRIX_0:24;
  thus A=0.(K,n) implies for i,j st 1<=hereby
  0.K
  proof
    assume A=0.(K,n);
    then
A2: A=0.(K,n,n) by MATRIX_3:def 1;
    thus for i,j st 1<=i & i<=n & 1<=j & j<=n holds A*(i,j)= 0.K
    proof
      let i,j;
      assume 1<=iA8 for csetst  inB&ac    c= c by A3;
      then [i,j] in Indices A by MATRIX_0:31;
      hence thesis by A2,MATRIX_3:1;
    end;
  end;
  assume
A3: for i,j st 1<=i & i<=n & 1<=j & j<=n holds A*(i,j)=0.K;
A4: Indices A=[: Seg n,Seg nsuch that
A5: for i,j being Nat st [i,j] in Indices A holds A*(i,j)=(A+A)*(i,j)
  proof
    let i,j be Nat;
;
    assume
A6: [i,j] in Indices A;
    then j in Seg n by A1,ZFMISC_1:87;
    then
:<
inSeg n by ,ZFMISC_1;
    then 1<=i & i<=n by FINSEQ_1:1;
    then A*(i0,j0)= 0.K by A3,A7;
    then (A+A)*(i,j) = 0.K+(A*(      then k c by ,:ef8;
.*,j  RLVECT_1:java.lang.StringIndexOutOfBoundsException: Range [31, 32) out of bounds for length 31
    hence thesis;
  end;
  len A= by MATRIX_0:24;
  then A         ex P
byMATRIX_3d java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
end;

beginbegin then

theorem Th53:
  for A being Matrix of n,K st A<> 0.(K,n) holds ex B,C being
n, st is invertible& C  invertible &(**)(1,) =1. & (or
i st 1<i & i<=n holds (B*A*C)*(i,1)= 0.K)& for j st 1<j & j<=n holds (B*A*C)*(1
  ,j)= 0.K
proof
  let A be Matrix of n,K;
  assume A<> 0.(K,n);
  then consider i0,j0 being Element of NAT such that
A1: 1<=i0
 < & j0<=n and
A3: A*(i0,<>. by;
  set A3=((SwapDiagonal(K,n,i0))*A)*(java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 20
  set A2= ((SwapDiagonal(K,n,i0))*A);
  1<nbyXXREAL_02
  then
  (((SwapDiagonal(K,n,i0))*A)*(SwapDiagonal(K,n,j0)))*(1,1) =A2*(1,java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 32
,Th51
    .=A*(i0,j0) by A1,A2,Th48;
  then consider P,Q being Matrix of n,K such that
A4: P is invertible and
A5: Q is invertible and
A6: ( (P*A3*Q)*(1,1)=  onsider   SubsetofX  that
 )   st 1<&j<nholds P*3*Q)(,=0Kby A1,,;
  set B0=P*(SwapDiagonal(K,n,i0)),C0=(SwapDiagonal(K,n,j0))*Q;
  SwapDiagonal(K,n,i0) is invertible by A1,Th49;
  then
A7: B0 is invertible by A4,java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 8
  SwapDiagonal(K,n,j0) is invertible by A2A: [,[]X] in dcF
  then
 per ;
  (B0*A*C0)=    suppose
    .=(P*((      K\P=Xjava.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
    .=(P*A3*Q) by Th17;
  hence thesis by A6,A7,A8;
end;

theorem Th54:
  x/\/) \/(\P indcFby A32,ef13;
    ex       thenK\P,y/(K\P]in  by ,XBOOLE_1:;
proof
  let A,B be Matrix of n,K;
  thus B*A=1.(K,n) implies ex B2 being Matrix of n,K st A*B2=1.(K,n)
  proof
    defpred P[Nat] means for D,B3 being Matrix of $1,K st B3*D=1.(K
    ,$1) holds ex B4 being Matrix of $1,K st D*B4=1.(K,$1);
    assume
A1: B*A=1.(K,n);
A2: for k being Nat st P[k] java.lang.StringIndexOutOfBoundsException: Range [0, 33) out of bounds for length 8
    w
      let k be Nat;
      assume
 P[k;
      for A2,B3 being MatrixA38 K [X = x9y9;
      Matrix of k+1,K st A2*B4=1.(K,k+1)
      proof
        let A2,B2 be Matrix of (k+1),K;
A4:     Indices (1.(K,k+1))= [: Seg (k+1),Seg (k+1) :] by MATRIX_0:24;
        assume
A5:     B2*A2=1.(K,k+1);
        then
A6     a  A42java.lang.StringIndexOutOfBoundsException: Range [41, 42) out of bounds for length 41
        now
          assume A2=0.(K,k+1);
          then A2=0.(K,k+1,k+1) by MATRIX_3:def 1;
          then Det(A2)= 0.K by MATRIX_7:15,NAT_1:12;
          then
A7:       (Det B2)*(Det A2)=0.K;
          not 0.K = 1_K;
          hence contradiction by A6,A7,MATRIX_7:16,NAT_1:12;
        end;
        then consider B,C being Matrix of (k+1),K such that
A8:     B is invertible and
A9:     C is invertible and
A10:    (B*A2*C)*(1,1) =1.K and
A11:    for i st 1<i & i<=k+1 holds (B*A2*C)*(i,1)= 0.K and
A12:    for j st 1<j & j<=k+1 holds (B*A2*C)*(1,j)= 0.K by Th53;
        set A3=B*A2*C,B3=(C~)*B2*(B~);
A13:    width B3=k+1 by MATRIX_0:24;
A14:    width A3=k+1 by MATRIX_0:24;
A15:    for j be Nat st 1<=j & j<=len (Line(A3,1)) holds (Line(A3,1)).j=
        (Base_FinSeq(K,k+1,1)).j
        proof
          let j be Nat;
          assume that
A16:      1<=j and
A17:      j<=len (Line(A3,1));
A18:      j<=k+1 by A14,A17,MATRIX_0:def 7;
          len (Line(A3,1))=width A3 by MATRIX_0:def 7;
          then
A19:      j in Seg width A3 by A16,A17,FINSEQ_1:1;
          per cases by A16,XXREAL_0:1;
          suppose
A20:        1=j;
            then (Line(A3,1)).j=1.K by A10,A19,MATRIX_0:def 7;
            hence thesis by A18,A20,Th24;
          end;
          suppose
A21:        1<j;
A22:        j in NAT by ORDINAL1:def 12;
            (Line(A3,1)).j=A3*(1,j) by A19,MATRIX_0:def 7
              .=0.K by A12,A18,A21,A22;
            hence thesis by A18,A21,Th25;
          end;
        end;
A23:    len (<* 0.K *>)=1 by FINSEQ_1:40;
        deffunc f(Nat,Nat)=A3*($1+1,$2+1);
A24:    len (A2*C)= k+1 by MATRIX_0:24;
        consider F being Matrix of k,k,K such that
A25:    for i,j being Nat st [i,j] in Indices F holds F*(i,j) = f(i,j
        ) from MATRIX_0:sch 1;
A26:    len F=k by MATRIX_0:24;
        deffunc g(Nat,Nat)=B3*($1+1,$2+1);
A27:    len C=k+1 by MATRIX_0:24;
        consider G being Matrix of k,k,K such that
A28:    for i,j being Nat st [i,j] in Indices G holds G*(i,j) = g(i,j
        ) from MATRIX_0:sch 1;
A29:    len A3=k+1 by MATRIX_0:24;
A30:    B3*A3=(((C~))*B2*((B~)))*(B*(A2*C)) by Th17
          .=(Inv(C))*B2*(Inv(B))*B*(A2*C) by Th17
          .=(Inv(C))*B2*((Inv(B))*B)*(A2*C) by Th17
          .=(Inv(C))*B2*(1.(K,k+1))*(A2*C) by A8,Th18
          .=(Inv(C))*B2*((1.(K,k+1))*(A2*C)) by Th17
          .=(Inv(C))*B2*(A2*C) by A24,MATRIXR2:68
          .=(Inv(C))*B2*A2*C by Th17
          .=(Inv(C))*(1.(K,k+1))*C by A5,Th17
          .=(Inv(C))*((1.(K,k+1))*C) by Th17
          .=(Inv(C))*C by A27,MATRIXR2:68
          .=1.(K,k+1) by A9,Th18;
A31:    for i be Nat st 1<i & i<=k+1 holds B3*(i,1)=(1.(K,k+1))*(i,1)
        proof
A32:      len (Base_FinSeq(K,k+1,1))=k+1 by Th23;
          let i be Nat;
A33:      len (Col(A3,1))=len A3 by MATRIX_0:def 8
            .=k+1 by MATRIX_0:24;
A34:      len A3=k+1 by MATRIX_0:24;
A35:      for k2 being Nat st 1<=k2 & k2<=len (Col(A3,1)) holds (Col(A3,1
          )).k2=(Base_FinSeq(K,k+1,1)).k2
          proof
            let k2 be Nat;
            assume that
A36:        1<=k2 and
A37:        k2<=len (Col(A3,1));
A38:        k2 in NAT by ORDINAL1:def 12;
A39:        now
              per cases by A36,XXREAL_0:1;
              suppose
                k2=1;
                hence A3*(k2,1)=(Base_FinSeq(K,k+1,1)).k2 by A10,A33,A37,Th24;
              end;
              suppose
A40:            1<k2;
                hence A3*(k2,1)= 0.K by A11,A33,A38,A37
                  .=(Base_FinSeq(K,k+1,1)).k2 by A33,A37,A40,Th25;
              end;
            end;
            k2 in Seg len A3 by A34,A33,A36,A37,FINSEQ_1:1;
            then k2 in dom A3 by FINSEQ_1:def 3;
            hence thesis by A39,MATRIX_0:def 8;
          end;
A41:      len (Line(B3,i))=width B3 by MATRIX_0:def 7
            .= k+1 by MATRIX_0:24;
          assume
A42:      1<i & i<=k+1;
          then
A43:      1<=k+1 by XXREAL_0:2;
A44:      width B3=k+1 by MATRIX_0:24;
          then
A45:      1 in Seg width B3 by A43,FINSEQ_1:1;
          [i,1] in Indices (B3*A3) by A42,A43,MATRIX_0:31;
          then (B3*A3)*(i,1)= |( Line(B3,i),Col(A3,1) )| by A44,A34,
MATRIX_3:def 4
            .= |( Line(B3,i),Base_FinSeq(K,k+1,1) )| by A33,A32,A35,FINSEQ_1:14
            .= (Line(B3,i)).1 by A43,A41,Th35
            .= B3*(i,1) by A45,MATRIX_0:def 7;
          hence thesis by A30;
        end;
A46:      k in NAT by ORDINAL1:def 12;
        for i,j being Nat st 1<=i & i<=k & 1<=j & j<=k holds (
        G*F)*(i,j)=IFEQ(i,j,1.K,0.K)
        proof
          let i,j be Nat;
          assume that
A47:      1<=i and
A48:      i<=k and
A49:      1<=j and
A50:      j<=k;
A51:      [i,j] in Indices (G*F) by A47,A48,A49,A50,MATRIX_0:31;
A52:      for k2 being Nat st k2 in dom (<* 0.K *>) holds (Col(A3,j+1)).
          k2=(<* 0.K *>).k2
          proof
            j+1<=k+1 & 1<j+1 by A49,A50,NAT_1:13,XREAL_1:7;
            then
A53:        A3*(1,j+1) = 0.K by A12;
            let k2 be Nat;
            assume k2 in dom (<* 0.K *>);
            then k2 in Seg len (<* 0.K *>) by FINSEQ_1:def 3;
            then k2 in {1} by FINSEQ_1:2,40;
            then
A54:        k2=1 by TARSKI:def 1;
            1<=k+1 by NAT_1:11;
            then k2 in Seg len A3 by A29,A54,FINSEQ_1:1;
            then k2 in dom A3 by FINSEQ_1:def 3;
            then (Col(A3,j+1)).k2= 0.K by A54,A53,MATRIX_0:def 8;
            hence thesis by A54;
          end;
A55:      len (Col(F,j)) = len F by MATRIX_0:def 8
            .=k by MATRIX_0:24;
A56:      i+1<=k+1 by A48,XREAL_1:7;
A57:      for k2 being Nat st k2 in dom (<* 0.K *>) holds (Line(B3,i+1)).
          k2=(<* 0.K *>).k2
          proof
            let k2 be Nat;
A58:        1<i+1 by A47,NAT_1:13;
            1<=1+k by NAT_1:11;
            then
A59:        [i+1,1] in Indices (1.(K,k+1)) by A56,A58,MATRIX_0:31;
A60:        B3*(i+1,1) = (1.(K,k+1))*(i+1,1) by A31,A56,A58
              .= 0.K by A58,A59,MATRIX_1:def 3;
            assume k2 in dom (<* 0.K *>);
            then k2 in Seg len (<* 0.K *>) by FINSEQ_1:def 3;
            then k2 in {1} by FINSEQ_1:2,40;
            then
A61:        k2=1 by TARSKI:def 1;
            1<=k+1 by NAT_1:11;
            then k2 in Seg width B3 by A13,A61,FINSEQ_1:1;
            then (Line(B3,i+1)).k2= 0.K by A61,A60,MATRIX_0:def 7;
            hence thesis by A61;
          end;
A62:      for k2 being Nat st k2 in dom (Col(F,j)) holds (Col(A3,j+1)).(
          len (<* 0.K *>) + k2) = (Col(F,j)).k2
          proof
            reconsider j0=j+1 as Element of NAT;
            let k2 be Nat;
A63:        len (Col(F,j0-'1))=len F by MATRIX_0:def 8;
A64:        j0-'1=j by NAT_D:34;
            assume
A65:        k2 in dom (Col(F,j));
            then
A66:        k2 in Seg len (Col(F,j0-'1)) by A64,FINSEQ_1:def 3;
            then
A67:        k2<=k by A26,A63,FINSEQ_1:1;
            then 1<=k2+1 & k2+1<=k+1 by NAT_1:11,XREAL_1:7;
            then
A68:        k2+1 in dom A3 by A29,FINSEQ_3:25;
            1<=k2 by A66,FINSEQ_1:1;
            then [k2,j] in Indices F by A49,A50,A67,MATRIX_0:31;
            then [k2,j0-'1] in Indices F by NAT_D:34;
            then
A69:        A3*(k2+1,j0-'1+1) = F*(k2,j0-'1) by A25;
            k2 in Seg k by A26,A65,A63,A64,FINSEQ_1:def 3;
            then k2 in dom F by A26,FINSEQ_1:def 3;
            then A3*(k2+1,j0-'1+1)=(Col(F,j0-'1)).k2 by A69,MATRIX_0:def 8;
            hence thesis by A23,A64,A68,MATRIX_0:def 8;
          end;
A70:      len (Line(G,i))=width G by MATRIX_0:def 7
            .=k by MATRIX_0:24;
A71:      k+1=len (<* 0.K *>) +k by FINSEQ_1:39;
A72:      for k2 being Nat st k2 in dom (Line(G,i)) holds (Line(B3,i+1)).
          (len (<* 0.K *>) + k2) = (Line(G,i)).k2
          proof
            let k2 be Nat;
A73:        width B3=k+1 & 1<=k2+1 by MATRIX_0:24,NAT_1:11;
            assume
A74:        k2 in dom (Line(G,i));
            then
A75:        k2 in Seg len (Line(G,i)) by FINSEQ_1:def 3;
A76:        len (Line(G,i))=width G by MATRIX_0:def 7
              .=k by MATRIX_0:24;
            then
A77:        k2<=k by A75,FINSEQ_1:1;
            1<=k2 by A75,FINSEQ_1:1;
            then [i,k2] in Indices G by A47,A48,A77,MATRIX_0:31;
            then
A78:        B3*(i+1,k2+1) = G*(i,k2) by A28;
            k2 in Seg k by A74,A76,FINSEQ_1:def 3;
            then k2 in Seg width G by MATRIX_0:24;
            then
A79:        B3*(i+1,k2+1)=(Line(G,i)).k2 by A78,MATRIX_0:def 7;
            k2+1<=k+1 by A77,XREAL_1:7;
            then k2+1 in Seg width B3 by A73,FINSEQ_1:1;
            then (Line(B3,i+1)).(k2+1) = (Line(G,i)).k2 by A79,MATRIX_0:def 7;
            hence thesis by FINSEQ_1:40;
          end;
A80:      width G=k by MATRIX_0:24;
          len (Line(B3,i+1))=width B3 & len (Line(G,i))=width G by
MATRIX_0:def 7;
          then
          dom (Line(B3,i+1)) = Seg (len (<* 0.K *>) + len (Line(G,i))) by A13
,A80,A71,FINSEQ_1:def 3;
          then
A81:      (<* 0.K *>) ^ Line(G,i)= (Line(B3,i+1)) by A57,A72,FINSEQ_1:def 7;
A82:      1<=i+1 & 1<=j+1 by NAT_1:11;
A83:      j+1<=k+1 by A50,XREAL_1:7;
A84:      now
            per cases;
            suppose
A85:          i=j;
              [i+1,j+1] in Indices (1.(K,k+1)) by A82,A56,A83,MATRIX_0:31;
              then (1.(K,k+1))*(i+1,j+1)= 1.K by A85,MATRIX_1:def 3;
              hence (1.(K,k+1))*(i+1,j+1)=IFEQ(i,j,1.K,0.K) by A85,
FUNCOP_1:def 8;
            end;
            suppose
A86:          i<>j;
              [i+1,j+1] in Indices (1.(K,k+1)) by A82,A56,A83,MATRIX_0:31;
              then i+1 <> j+1 implies (1.(K,k+1))*(i+1,j+1) = 0.K by
MATRIX_1:def 3;
              hence (1.(K,k+1))*(i+1,j+1)=IFEQ(i,j,1.K,0.K) by A86,
FUNCOP_1:def 8;
            end;
          end;
          len (Col(A3,j+1))=len A3 & len (Col(F,j))=len F by MATRIX_0:def 8;
          then dom (Col(A3,j+1)) = Seg (len (<* 0.K *>) + len (Col(F,j))) by
A29,A26,A71,FINSEQ_1:def 3;
          then
A87:      (<* 0.K *>) ^ Col(F,j)= (Col(A3,j+1)) by A52,A62,FINSEQ_1:def 7;
          [i+1,j+1] in Indices (B3*A3) by A82,A56,A83,MATRIX_0:31;
          then (B3*A3)*(i+1,j+1) =|( Line(B3,i+1),Col(A3,j+1) )| by A13,A29,
MATRIX_3:def 4
            .=|( <* 0.K *>, <* 0.K *> )| + |( Line(G,i), Col(F,j) )| by A23,A81
,A87,A70,A55,Th12
            .= 0.K +|( Line(G,i), Col(F,j) )| by Th22
            .= |( Line(G,i), Col(F,j) )| by RLVECT_1:4;
          hence thesis by A30,A26,A51,A80,A84,MATRIX_3:def 4;
        end;
        then G*F=1.(K,k) by Th29,A46;
        then consider G2 being Matrix of k,K such that
A88:    F*G2=1.(K,k) by A3;
        deffunc h(Nat,Nat) = IFEQ($1,1,IFEQ($2,1,1.K,0.K), IFEQ($2,1,0.K,G2*(
        $1-'1,$2-'1)));
A89:    len G2=k by MATRIX_0:24;
        consider B4 being Matrix of k+1,k+1,K such that
A90:    for i,j being Nat st [i,j] in Indices B4 holds B4*(i,j) = h(
        i,j) from MATRIX_0:sch 1;
A91:    len B4=k+1 by MATRIX_0:24;
A92:    width B4=k+1 by MATRIX_0:24;
A93:    for j be Nat st 1<=j & j<=len (Col(B4,1)) holds (Col(B4,1)).j=(
        Base_FinSeq(K,k+1,1)).j
        proof
          let j be Nat;
          assume that
A94:      1<=j and
A95:      j<=len (Col(B4,1));
A96:      j<=k+1 by A91,A95,MATRIX_0:def 8;
          then 1<=k+1 by A94,XXREAL_0:2;
          then
A97:      [j,1] in Indices B4 by A94,A96,MATRIX_0:31;
          len (Col(B4,1))=len B4 by MATRIX_0:def 8;
          then j in Seg width B4 by A91,A92,A94,A95,FINSEQ_1:1;
          then
A98:      j in dom B4 by A91,A92,FINSEQ_1:def 3;
          per cases by A94,XXREAL_0:1;
          suppose
A99:        1=j;
            (Col(B4,1)).j=B4*(j,1) by A98,MATRIX_0:def 8
              .=IFEQ(j,1, IFEQ(1,1,1.K,0.K),IFEQ(1,1,0.K,G2*(j-'1,1-'1))) by
A90,A97
              .=IFEQ(1,1,1.K,0.K) by A99,FUNCOP_1:def 8
              .=1.K by FUNCOP_1:def 8;
            hence thesis by A96,A99,Th24;
          end;
          suppose
A100:        1<j;
            (Col(B4,1)).j=B4*(j,1) by A98,MATRIX_0:def 8
              .=IFEQ(j,1, IFEQ(1,1,1.K,0.K), IFEQ(1,1,0.K,G2*(j-'1,1-'1)))
            by A90,A97
              .= IFEQ(1,1,0.K,G2*(j-'1,1-'1)) by A100,FUNCOP_1:def 8
              .=0.K by FUNCOP_1:def 8;
            hence thesis by A96,A100,Th25;
          end;
        end;
A101:   width (A3*B4)=k+1 by MATRIX_0:24;
A102:   Indices (A3*B4)=[:Seg (k+1),Seg (k+1):] by MATRIX_0:24;
        len (Line(A3,1))=width A3 by MATRIX_0:def 7
          .=k+1 by MATRIX_0:24;
        then
A103:   len (Line(A3,1))=len (Base_FinSeq(K,k+1,1)) by Th23;
        then
A104:   Line(A3,1)=Base_FinSeq(K,k+1,1) by A15,FINSEQ_1:14;
A105:   width F=k by MATRIX_0:24;
A106:   1<=k+1 by NAT_1:11;
        len (Col(B4,1))=len B4 by MATRIX_0:def 8
          .=k+1 by MATRIX_0:24;
        then
A107:   len (Col(B4,1))=len (Base_FinSeq(K,k+1,1)) by Th23;
        then
A108:   Col(B4,1)=Base_FinSeq(K,k+1,1) by A93,FINSEQ_1:14;
        for i,j being Nat st [i,j] in Indices (A3*B4) holds (A3*B4)*(i,j
        ) = (1.(K,k+1))*(i,j)
        proof
          let i,j be Nat;
          reconsider i0=i,j0=j as Element of NAT by ORDINAL1:def 12;
A109:     len (Line(F,i-'1))=width F by MATRIX_0:def 7
            .=k by MATRIX_0:24;
A110:     len (Col(G2,j-'1)) = len G2 by MATRIX_0:def 8
            .=k by MATRIX_0:24;
A111:     len (Line(A3,i))=width A3 by MATRIX_0:def 7
            .=k+1 by MATRIX_0:24;
A112:     len (Col(B4,j))=len B4 by MATRIX_0:def 8
            .=k+1 by MATRIX_0:24;
          assume
A113:     [i,j] in Indices (A3*B4);
          then
A114:     [i,j] in [:Seg (k+1),Seg (k+1) :] by MATRIX_0:24;
          then
A115:     [i,j] in Indices (1.(K,k+1)) by MATRIX_0:24;
A116:     i in Seg (k+1) by A102,A113,ZFMISC_1:87;
          then
A117:     1<=i by FINSEQ_1:1;
A118:     i<=k+1 by A116,FINSEQ_1:1;
A119:     j in Seg (k+1) by A101,A113,ZFMISC_1:87;
          then
A120:     1<=j by FINSEQ_1:1;
A121:     len B4=k+1 by MATRIX_0:24;
A122:     width A3=k+1 by MATRIX_0:24;
A123:     j<=k+1 by A119,FINSEQ_1:1;
A124:     [i,j] in Indices B4 by A102,A113,MATRIX_0:24;
          now
            per cases by A117,XXREAL_0:1;
            suppose
A125:         i=1;
              now
                per cases by A120,XXREAL_0:1;
                suppose
A126:             j=1;
                  (A3*B4)*(i,j)=|( Line(A3,i0),Col(B4,j0) )| by A113,A121,A122,
MATRIX_3:def 4
                    .=1.K by A104,A108,A106,A125,A126,Th36;
                  hence thesis by A115,A125,A126,MATRIX_1:def 3;
                end;
                suppose
A127:             j>1;
                  1<=len B4 by A106,MATRIX_0:24;
                  then
A128:             1 in dom B4 by FINSEQ_3:25;
                  (A3*B4)*(i,j)=|( Line(A3,i0),Col(B4,j0) )| by A113,A121,A122,
MATRIX_3:def 4
                    .=|(Base_FinSeq(K,k+1,1),Col(B4,j0))| by A103,A15,A125,
FINSEQ_1:14
                    .=|(Col(B4,j0),Base_FinSeq(K,k+1,1))| by FVSUM_1:90
                    .=(Col(B4,j0)).1 by A106,A112,Th35
                    .= B4*(1,j) by A128,MATRIX_0:def 8
                    .= IFEQ(i,1,IFEQ(j,1,1.K,0.K), IFEQ(j,1,0.K,G2*(i-'1,j-'
                  1))) by A90,A124,A125
                    .=IFEQ(j,1,1.K,0.K) by A125,FUNCOP_1:def 8
                    .= 0.K by A127,FUNCOP_1:def 8;
                  hence thesis by A4,A114,A125,A127,MATRIX_1:def 3;
                end;
              end;
              hence thesis;
            end;
            suppose
A129:         1<i;
              then
A130:         1+1<=i by NAT_1:13;
              now
                per cases by A120,XXREAL_0:1;
                suppose
A131:             j=1;
A132:             1 in Seg width A3 by A14,A106,FINSEQ_1:1;
A133:             len (Line(A3,i))=width A3 by MATRIX_0:def 7
                    .=k+1 by MATRIX_0:24;
                  (A3*B4)*(i,j)=|( Line(A3,i0),Col(B4,j0) )| by A113,A121,A122,
MATRIX_3:def 4
                    .=|( Line(A3,i),Base_FinSeq(K,k+1,1) )| by A107,A93,A131,
FINSEQ_1:14
                    .=(Line(A3,i)).1 by A106,A133,Th35
                    .=(B*A2*C)*(i0,1) by A132,MATRIX_0:def 7
                    .= 0.K by A11,A118,A129;
                  hence thesis by A115,A129,A131,MATRIX_1:def 3;
                end;
                suppose
A134:             j>1;
                  then 1+1<=j by NAT_1:13;
                  then
A135:             1<=j-1 by XREAL_1:19;
A136:             i-'1=i-1 by A129,XREAL_1:233;
                  then
A137:             i-'1<=k by A118,XREAL_1:20;
A138:             1<=i-1 by A130,XREAL_1:19;
                  then
A139:             i-'1 in Seg k by A136,A137,FINSEQ_1:1;
A140:             len (Line(F,i-'1))=width F by MATRIX_0:def 7
                    .=k by MATRIX_0:24;
A141:             for k2 being Nat st k2 in dom (Line(F,i-'1)) holds (
                  Line(A3,i-'1+1)).(len (<* 0.K *>) + k2) = (Line(F,i-'1)).k2
                  proof
                    let k2 be Nat;
                    assume
A142:               k2 in dom (Line(F,i-'1));
                    then
A143:               k2 in Seg len (Line(F,i-'1)) by FINSEQ_1:def 3;
                    then
A144:               k2<=k by A140,FINSEQ_1:1;
                    then 1<=k2+1 & k2+1<=k+1 by NAT_1:11,XREAL_1:7;
                    then
A145:               k2+1 in Seg width A3 by A122,FINSEQ_1:1;
                    1<=k2 by A143,FINSEQ_1:1;
                    then [i-'1,k2] in Indices F by A136,A138,A137,A144,
MATRIX_0:31;
                    then
A146:               A3*(i-'1+1,k2+1) = F*(i-'1,k2) by A25;
                    k2 in Seg width F by A105,A140,A142,FINSEQ_1:def 3;
                    then A3*(i-'1+1,k2+1)=(Line(F,i-'1)).k2 by A146,
MATRIX_0:def 7;
                    then (Line(A3,i-'1+1)).(k2+1) = (Line(F,i-'1)).k2 by A145,
MATRIX_0:def 7;
                    hence thesis by FINSEQ_1:40;
                  end;
A147:             for k2 being Nat st k2 in dom (<* 0.K *>) holds (Line(
                  A3,i-'1+1)).k2=(<* 0.K *>).k2
                  proof
                    let k2 be Nat;
                    assume k2 in dom (<* 0.K *>);
                    then k2 in Seg len (<* 0.K *>) by FINSEQ_1:def 3;
                    then k2 in {1} by FINSEQ_1:2,40;
                    then
A148:               k2=1 by TARSKI:def 1;
A149:               A3*(i0,1) = 0.K by A11,A118,A129;
                    1<=k+1 by NAT_1:11;
                    then k2 in Seg width A3 by A122,A148,FINSEQ_1:1;
                    then (Line(A3,i)).k2=0.K by A148,A149,MATRIX_0:def 7;
                    hence thesis by A136,A148;
                  end;
                  dom (Line(A3,i-'1+1))= Seg (k+1) by A111,A136,FINSEQ_1:def 3
                    .=Seg (len (<* 0.K *>) + len (Line(F,i-'1))) by A140,
FINSEQ_1:39;
                  then
A150:             (<* 0.K *>) ^ Line(F,i-'1)= (Line(A3,i-'1+1)) by A147,A141,
FINSEQ_1:def 7;
A151:             j-'1+1=j-1+1 by A134,XREAL_1:233
                    .=j;
A152:             j-'1=j-1 by A134,XREAL_1:233;
                  then j-'1<=k by A123,XREAL_1:20;
                  then j-'1 in Seg k by A152,A135,FINSEQ_1:1;
                  then
A153:             [i-'1,j-'1] in [:Seg k,Seg k:] by A139,ZFMISC_1:87;
                  then
A154:             [i-'1,j-'1] in Indices (F*G2) by MATRIX_0:24;
A155:             for k2 being Nat st k2 in dom (<* 0.K *>) holds (Col(
                  B4,j-'1+1)).k2=(<* 0.K *>).k2
                  proof
                    1<=1+k by NAT_1:11;
                    then [1,j] in Indices B4 by A120,A123,MATRIX_0:31;
                    then B4*(1,j) = IFEQ(1,1, IFEQ(j,1,1.K,0.K), IFEQ(j,1,0.K
                    ,G2*(1-'1,j-'1))) by A90;
                    then
A156:               B4*(1,j) = IFEQ(j,1,1.K,0.K) by FUNCOP_1:def 8
                      .= 0.K by A134,FUNCOP_1:def 8;
                    let k2 be Nat;
                    assume k2 in dom (<* 0.K *>);
                    then k2 in Seg len (<* 0.K *>) by FINSEQ_1:def 3;
                    then k2 in {1} by FINSEQ_1:2,40;
                    then
A157:               k2=1 by TARSKI:def 1;
                    1<=k+1 by NAT_1:11;
                    then k2 in Seg len B4 by A121,A157,FINSEQ_1:1;
                    then k2 in dom B4 by FINSEQ_1:def 3;
                    then (Col(B4,j)).k2=0.K by A157,A156,MATRIX_0:def 8;
                    hence thesis by A152,A157;
                  end;
A158:             len (Col(G2,j-'1))=len G2 by MATRIX_0:def 8
                    .=k by MATRIX_0:24;
A159:             for k2 be Nat st k2 in dom (Col(G2,j-'1)) holds (Col(
                  B4,j-'1+1)).(len (<* 0.K *>) + k2) = (Col(G2,j-'1)).k2
                  proof
                    let k2 be Nat;
                    assume
A160:               k2 in dom (Col(G2,j-'1));
                    then 1<=k2 by FINSEQ_3:25;
                    then
A161:               1<k2+1 by NAT_1:13;
                    k2 in Seg k by A158,A160,FINSEQ_1:def 3;
                    then
A162:               k2 in dom G2 by A89,FINSEQ_1:def 3;
                    k2<=k by A158,A160,FINSEQ_3:25;
                    then
A163:               1<=k2+1 & k2+1<=k+1 by NAT_1:11,XREAL_1:7;
                    then [k2+1,j] in Indices B4 by A120,A123,MATRIX_0:31;
                    then B4*(k2+1,j) = IFEQ(k2+1,1, IFEQ(j,1,1.K,0.K), IFEQ(j
                    ,1,0.K,G2*(k2+1-'1,j-'1))) by A90;
                    then B4*(k2+1,j) = IFEQ(j,1,0.K,G2*(k2+1-'1,j-'1)) by A161,
FUNCOP_1:def 8
                      .= G2*(k2+1-'1,j-'1) by A134,FUNCOP_1:def 8
                      .= G2*(k2,j-'1) by NAT_D:34;
                    then
A164:               B4*(k2+1,j-'1+1)=(Col(G2,j-'1)).k2 by A152,A162,
MATRIX_0:def 8;
                    k2+1 in dom B4 by A121,A163,FINSEQ_3:25;
                    then (Col(B4,j-'1+1)).(k2+1) = (Col(G2,j-'1)).k2 by A164,
MATRIX_0:def 8;
                    hence thesis by FINSEQ_1:40;
                  end;
                  dom (Col(B4,j-'1+1)) = Seg len (Col(B4,j-'1+1)) by
FINSEQ_1:def 3
                    .=Seg (len (<* 0.K *>) + len (Col(G2,j-'1))) by A112,A152
,A158,FINSEQ_1:39;
                  then
A165:             (<* 0.K *>) ^ Col(G2,j-'1)= (Col(B4,j-'1+1)) by A155,A159,
FINSEQ_1:def 7;
                  i-'1+1=i-1+1 by A129,XREAL_1:233
                    .=i;
                  then
A166:             (A3*B4)*(i,j)=|( Line(A3,i-'1+1),Col(B4,j-'1+1) )| by A113
,A121,A122,A151,MATRIX_3:def 4
                    .=|( <* 0.K *>, <* 0.K *> )| + |( Line(F,i-'1), Col(G2,j
                  -'1) )| by A23,A109,A110,A150,A165,Th12
                    .= 0.K +|( Line(F,i-'1), Col(G2,j-'1) )| by Th22
                    .= 0.K +(F*G2)*(i-'1,j-'1) by A105,A89,A154,MATRIX_3:def 4
                    .= (1.(K,k))*(i-'1,j-'1) by A88,RLVECT_1:4;
A167:             [i-'1,j-'1] in Indices (1.(K,k)) by A153,MATRIX_0:24;
                  now
                    per cases;
                    suppose
A168:                 i=j;
                      then (1.(K,k+1))*(i0,j0) =1.K by A115,MATRIX_1:def 3;
                      hence thesis by A167,A166,A168,MATRIX_1:def 3;
                    end;
                    suppose
A169:                 i<>j;
                      then i-1<>j-1;
                      then i0-'1<> j0-'1 by A129,A152,XREAL_1:233;
                      then (1.(K,k))*(i0-'1,j0-'1) =0.K by A167,MATRIX_1:def 3;
                      hence thesis by A115,A166,A169,MATRIX_1:def 3;
                    end;
                  end;
                  hence thesis;
                end;
              end;
              hence thesis;
            end;
          end;
          hence thesis;
        end;
        then width Inv B= k+1 & B*A2*C*B4=1.(K,k+1) by MATRIX_0:24,27;
        then (Inv(B))*(B*A2*C*B4)=Inv B by MATRIXR2:67;
        then (Inv(B))*(B*A2*C*B4)*B=1.(K,k+1) by A8,Th18;
        then (Inv(B))*(B*A2*(C*B4))*B=1.(K,k+1) by Th17;
        then (Inv(B))*(B*(A2*(C*B4)))*B=1.(K,k+1) by Th17;
        then (Inv(B))*B*(A2*(C*B4))*B=1.(K,k+1) by Th17;
        then len (A2*(C*B4))=k+1 & (1.(K,k+1))*(A2*(C*B4))*B=1.(K,k+1) by A8
,Th18,MATRIX_0:24;
        then A2*(C*B4)*B=1.(K,k+1) by MATRIXR2:68;
        then A2*((C*B4)*B)=1.(K,k+1) by Th17;
        hence thesis;
      end;
      hence thesis;
    end;
    for D,B0 being Matrix of 0,K st B0*D=1.(K,0) holds ex B1 being Matrix
    of 0,K st D*B1=1.(K,0)
    proof
      let D,B0 be Matrix of 0,K;
      assume B0*D=1.(K,0);
      D*(0.(K,0))=1.(K,0) by Th15;
      hence thesis;
    end;
    then
A170: P[0];
    for k being Nat holds P[k] from NAT_1:sch 2(A170,A2);
    hence thesis by A1;
  end;
end;

theorem Th55:
  for A being Matrix of n,K holds (ex B1 being Matrix of n,K st B1
  *A=1.(K,n)) iff ex B2 being Matrix of n,K st A*B2=1.(K,n)
proof
  let A be Matrix of n,K;
  per cases;
  suppose
A1: n>0;
    thus (ex B being Matrix of n,K st B*A=1.(K,n)) implies ex B2 being Matrix
    of n,K st A*B2=1.(K,n) by Th54;
    thus (ex B being Matrix of n,K st A*B=1.(K,n)) implies ex B2 being Matrix
    of n,K st B2*A=1.(K,n)
    proof
      assume ex B being Matrix of n,K st A*B=1.(K,n);
      then consider B being Matrix of n,K such that
A2:   A*B=1.(K,n);
A3:   width A=n & len B=n by MATRIX_0:24;
      width B=n & (A*B)@=1.(K,n) by A2,MATRIX_0:24,MATRIX_6:10;
      then (B@)*(A@)=1.(K,n) by A1,A3,MATRIX_3:22;
      then consider B2 being Matrix of n,K such that
A4:   (A@)*B2= 1.(K,n) by Th54;
A5:   width (A@) =n & len B2=n by MATRIX_0:24;
      width B2=n & ((A@)*B2)@ = 1.(K,n) by A4,MATRIX_0:24,MATRIX_6:10;
      then (B2@)*((A@)@) = 1.(K,n) by A1,A5,MATRIX_3:22;
      then (B2@)*A= 1.(K,n) by MATRIXR2:29;
      hence thesis;
    end;
  end;
  suppose
A6: n=0;
    then A*A=1.(K,0) by Th15;
    hence thesis by A6;
  end;
end;

theorem
  for A,B being Matrix of n,K st A*B = 1.(K,n) holds A is invertible & B
  is invertible
proof
  let A,B be Matrix of n,K;
  assume
A1: A*B = 1.(K,n);
  then consider B2 being Matrix of n,K such that
A2: B2*A= 1.(K,n) by Th55;
  B2=B2*(1.(K,n)) by MATRIX_3:19
    .=(B2*A)*B by A1,Th17
    .=B by A2,MATRIX_3:18;
  then A is_reverse_of B by A1,A2,MATRIX_6:def 2;
  hence A is invertible by MATRIX_6:def 3;
  consider B3 being Matrix of n,K such that
A3: B*B3= 1.(K,n) by A1,Th54;
  B3=(1.(K,n))*B3 by MATRIX_3:18
    .=A*(B*B3) by A1,Th17
    .=A by A3,MATRIX_3:19;
  then B is_reverse_of A by A1,A3,MATRIX_6:def 2;
  hence thesis by MATRIX_6:def 3;
end;

Messung
CHZG
8110010093

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

*© Formatika GbR, Deutschland