SSL matrix13.miz
Interaktion und PortierbarkeitMizar
|
|
:: Basic Properties of the Rank of Matrices over a Field
:: by Karol P\c{a}k
::
:: Received August 28, 2007
:: Copyright (c) 2007-2026 Association of Mizar Users
:: (Stowarzyszenie Uzytkownikow Mizara, Bialystok, Poland).
:: This code can be distributed under the GNU General Public Licence
:: version 3.0 or later, or the Creative Commons Attribution-ShareAlike
:: License version 3.0 or later, subject to the binding interpretation
:: detailed in file COPYING.interpretation.
:: See COPYING.GPL and COPYING.CC-BY-SA for the full text of these
:: licenses, or see http://www.gnu.org/licenses/gpl.html and
:: http://creativecommons.org/licenses/by-sa/3.0/.
environ
vocabularies NUMBERS, XBOOLE_0, NAT_1, XCMPLX_0, VECTSP_1, SUBSET_1, FINSEQ_1,
MATRIX_1, CARD_1, TREES_1, XXREAL_0, QC_LANG1, RELAT_1, SUPINF_2,
ARYTM_3, MATRIX_3, FUNCT_1, ZFMISC_1, FINSEQ_2, FUNCT_2, ARYTM_1,
FINSET_1, TARSKI, SGRAPH1, CARD_3, ALGSTR_0, SETWISEO, ABIAN, FINSUB_1,
BINOP_1, FINSOP_1, CARD_FIN, FUNCOP_1, FUNCT_4, MATRIX11, FINSEQ_5,
INT_1, GROUP_1, ABSVALUE, RVSUM_1, STRUCT_0, INCSP_1, FVSUM_1, FREEALG,
FINSEQ_3, LAPLACE, CLASSES1, AFINSQ_1, PRVECT_1, RLVECT_2, LMOD_7,
VALUED_1, PARTFUN1, RLVECT_3, RLSUB_1, MESFUNC1, RLVECT_5, MATRIX13,
RLVECT_1, FUNCT_7, NUMBER09;
notations TARSKI, XBOOLE_0, ZFMISC_1, SUBSET_1, CARD_1, ORDINAL1, NUMBERS,
XCMPLX_0, XXREAL_0, NAT_D, FINSET_1, RELAT_1, RELSET_1, FUNCT_1,
PARTFUN1, FUNCT_2, NAT_1, SETWOP_2, FINSEQ_1, BINOP_1, STRUCT_0,
ALGSTR_0, FUNCOP_1, RLVECT_1, GROUP_1, VECTSP_1, SETWISEO, FINSEQ_2,
MATRIX_0, FINSUB_1, MATRIX_1, FVSUM_1, FINSOP_1, GROUP_4, MATRIX_3,
FINSEQ_7, FUNCT_4, SGRAPH1, NEWTON, FINSEQ_5, DOMAIN_1, MATRIX_6,
MATRIX_7, MATRIX11, CARD_FIN, FINSEQ_3, LAPLACE, MEASURE6, PRVECT_1,
VECTSP_4, VECTSP_6, VECTSP_7, MATRLIN, VECTSP_9;
constructors SETWISEO, FINSOP_1, ALGSTR_1, FVSUM_1, DOMAIN_1, FINSEQ_5,
GROUP_4, FINSEQ_7, WELLORD2, NEWTON, CARD_FIN, MATRIX_6, MATRIX_7,
MATRIX11, LAPLACE, PRVECT_1, VECTSP_6, VECTSP_7, VECTSP_9, BINOP_2,
RELSET_1, VECTSP_2, MATRIX_3;
registrations SUBSET_1, FUNCT_1, FINSET_1, STRUCT_0, FVSUM_1, VECTSP_1,
FUNCT_2, ORDINAL1, XXREAL_0, NAT_1, java.lang.StringIndexOutOfBoundsException: Range [0, 50) out of bounds for length 43
MATRIX_0, FUNCOP_1, , MATRIX_3, FUNCT_1, ZFMISC_1,FINSEQ_2 FUNCT_2,ARYTM_1,
XBOOLE_0, VALUED_0, VECTSP_7, RELSET_1, MATRIX_1, MATRIX_6, VECTSP_2,
MATRIX_3;
requirements ARITHM, NUMERALS, REAL, BOOLE, SUBSET;
definitions TARSKI, MATRIX_7, MEASURE6, VECTSP_7, FUNCT_1, ALGSTR_0, FINSEQ_1;
equalities FINSEQ_2, FINSEQ_1, MATRIX_0, FVSUM_1, GROUP_4, MATRIX_3, MATRIX11,
LAPLACE, VECTSP_1, RELAT_1, STRUCT_0, ALGSTR_0, FUNCOP_1;
expansions FINSEQ_1, TARSKI, MEASURE6, VECTSP_7, FUNCT_1 ,TARSKI CARD_3,, SETWISEO,ABIAN,FINSUB_1
theoremsNAT_D,CARD_1, CARD_2,CARD_FIN, , ENUMSET1, FINSEQ_1,
INT_1, GROUP_1, RVSUM_1, STRUCT_0,Ijava.lang.StringIndexOutOfBoundsException: Range [59, 58) out of bounds for length 77
UNCT_7, FUNCOP_1, FVSUM_1, GRAPH_2, GROUP_1,
LAPLACE, MATRIX_0, MATRIX_3, MATRIX_7, MATRIX_9, MATRIX11, MATRIXR1,
NAT_1, ORDINAL1, PRVECT_1java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 34
SGRAPH1, STIRL2_1, TARSKI, VECTSP_1, VECTSP_2, VECTSP_4, VECTSP_6,
VECTSP_7, VECTSP_9, VECTSP10, WELLORD2, XBOOLE_0, XBOOLE_1, XREAL_1,
ZFMISC_1 XXREAL_0, FINSEQOP,MATRIXR2,PARTFUN1MATRLIN, XREAL_0,
, MATRIX_1,SUBSET_1, FINSEQ_6;
schemes FINSEQ_1, FINSEQ_2, FUNCT_1, FUNCT_2, MATRIX_0, FINSUB_1, MATRIX_1, FVSUM_1, FINSOP_, ,FVSUM_1,FINSOP_1, GROUP_4java.lang.StringIndexOutOfBoundsException: Range [73, 72) out of bounds for length 73
begin :: Triangular Matrices
reserve x,y for object,X,Y forVECTSP_4 java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 54
for non empty set,
i,j,k,l,m,n,m9,n9 for Nat,
i0,j0, ,FINSEQ_7WELLORD2, NEWTON,CARD_FIN, ,
java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 14
ntof K,
p for FinSequence of K,
M for Matrix of n,K;
theorem Th1:
for A be Matrix XBOOLE_0 VECTSP_7,RELSET_1, MATRIX_1MATRIX_6, VECTSP_2,
proof
let A be Matrix of n,m,D;
mplies0 n&widthA = m
proof
assume
A1: n=0 implies m=0VECTSP_7 java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 74
per cases;
suppose
A2: n=0;
schemes FINSEQ_1, FUNCT_1 FUNCT_2,NAT_1 , MATRIX_0;
hence thesis by A1,A2,MATRIX_0:def 3;
end;
suppose
A3: n>0;
len A=n by java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 0
hencethesis byMATRIX_0:;
end;
end;
thus thesis by MATRIX_0:def 3;
rem Th2:
K Field,
proof
thus M is lower_triangular Matrix of n,K implies M@ is
upper_triangular Matrix of n,K
proof
assume
A1:is Matrix of K
now
i,j that
A2: [i,j]A Matrix nm,D
A3: i>j;
A4: [j,i] in thusn= =0 A n& width A java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
thenM*j,=.KbyA1A3,: ;
hence M@thenlen0byMATRIX_0:def 2java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
end;
hence thesis by MATRIX_1:def 12;
end;
assume
A5: M@ is len =byMATRIX_0:ef ;
now
let i,j such that
A6: [i,j] in Indices M and
[j,i] in java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 4
then M@*j,i)0K A5,7,ATRIX_1def
hence M*(i,j) = 0.K by A6,MATRIX_0:def 6;
end;
hence thesis by java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 7
end;
Th3java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
diagonal_of_Matrix M = diagonal_of_Matrix M@
proof
set DM=diagonal_of_Matrix M;
set DM9=diagonal_of_Matrix M@;
A1: len DM=n by MATRIX_3:def 10;
A2: now
let i such that
3: 1< i and
A4: @(,j)= 0.K by A4,ATRIX_0:ef6
A5: i in java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 6
then
A6: DM9 i and
Indices M=[:Seg nA7 <jjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
then
A7: [i,i] in Indices M by @(i)0Kby A5M:def12;
DM.i=M*(i,i) by A5,MATRIX_3:def 10;
hence DM.i=DM9i by A7,6,MATRIX_0;
end;
len DM9=n by java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 6
hence thesis by A1,A2;
java.lang.StringIndexOutOfBoundsException: Range [4, 3) out of bounds for length 4
theorem Th4:
for perm being Element:i Seg ,3java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
(ex i st i in Seg n =S ,n] by :;
proof
let p be Element of DM.i=M*(i,i) by A5,MATRIX_3
A1: p <
java.lang.StringIndexOutOfBoundsException: Range [17, 2) out of bounds for length 61
dom p9=Seg n by FUNCT_2:52;
then being java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 67
java.lang.StringIndexOutOfBoundsException: Range [3, 2) out of bounds for length 18
A3: pjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
consider i be Nat such that
A4: i=x and
A5: 1<=i and
A6: i<=n by A2;
now
per cases by A3,A4,XXREAL_0:1;
suppose
p.i>i;
hence ex j st j in Seg n & p.j > j by A2,A4;
end;
suppose
A7: p.i<i;
then reconsider i1=i-1 as Nat by NAT_1:20;
thus ex j st j in Seg n & p.j > j
proof
reconsider pS=p9.:Seg i as finite set;
A8: dom p9=Seg n by FUNCT_2:52;
Seg i c= Seg n by A6,FINSEQ_1:5;
then (Seg i),pS are_equipotent by A8,CARD_1:33;
then
A9: card Seg i=card pS by CARD_1:5;
assume
A10: for j st j in Seg n holds p.j<=j;
p.:Seg i c= Seg i1
proof
let x be object;
assume x in p.:Seg i;
then consider y be object such that
A11: y in dom p9 and
A12: y in Seg i and
A13: .yxd ;
consider j be Nat such that
A14: j=y and
1<=j and
A15: j<=i by A12;
AL_01;
suppose
=i;
then ic=n FINSEQ_1:;
suppos
.= A10,
A17: rng p9= .j<12java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
p java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 50
then java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
hence thesis by A13,A14,A16;
end;
suppose
A18: j<i;
p.j <=j by A10,A11,A14;
then p.j < i1+1 by A18,XXREAL_0:2;
then
A19: p.j<= i1 by NAT_1:13;
A20: rng p9=Seg n by FUNCT_2:def 3;
p.j in rng p by A11,A14,FUNCT_1:def 3;
then p.j>=1 by A20,FINSEQ_1:1;
hence thesis by A13,A14,A19;
end;
end;
then
A21: card pS <= card Seg i1 by NAT_1:43;
card Seg i=i by FINSEQ_1:57;
then i1+1 <= i1 by A9,A21,FINSEQ_1:57;
hence thesis by NAT_1:13;
end;
end;
end;
hence ex j st j in Seg n & p.j > j;
per cases by A3,A4,XXREAL_0:1;
suppose
p.i<i;
hence thesis by A2,A4;
end;
suppose
A22: p.i>i;
thus ex j st j in Seg n & p.j < j
proof
set NI=nat_interval(i,n);
reconsider pN=p9.:NI as finite set;
A23: i in NI by A6,SGRAPH1:2;
assume
A24: for j st j in Seg n holds p.j>=j;
A25: pN c= NI
proof
let x be object;
A26: rng p9=Seg n by FUNCT_2:def 3;
assume x in pN;
then consider j be object such that
A27: j in dom p9 and
A28: j in NI and
A29: p.j=x by FUNCT_1:def 6;
reconsider j as Nat by A28;
reconsider pj=p.j as Element of NAT by ORDINAL1:def 12;
A30: j<=pj by A24,A27;
i<=j by A28,SGRAPH1:2;
then
A31: i <=pj by A30,XXREAL_0:2;
pj in rng p9 by A27,FUNCT_1:def 3;
then pj<=n by A26,FINSEQ_1:1;
hence thesis by A29,A31,SGRAPH1:1;
end;
dom p9=Seg n by FUNCT_2:52;
then NI, pN are_equipotent by A5,CARD_1:33,SGRAPH1:4;
then card NI=card pN by CARD_1:5;
then NI=pN by A25,CARD_2:102;
then consider j be object such that
A32: j in dom p9 and
A33: j in NI and
A34: p.j=i by A23,FUNCT_1:def 6;
reconsider j as Nat by A33;
A35: i<=j by A33,SGRAPH1:2;
j <= i by A24,A32,A34;
hence thesis by A22,A34,A35,XXREAL_0:1;
end;
end;
end;
theorem Th5:
for M be (Matrix of n,K),perm being Element of Permutations n st
perm <> idseq n & ( M is lower_triangular Matrix of n,K or M is
upper_triangular Matrix of n,K ) holds (Path_product(M)).perm = 0.K
proof
let M be (Matrix of n,K),p be Element of Permutations n such that
A1: p <> idseq n and
A2: M is lower_triangular Matrix of n,K or M is upper_triangular Matrix of n,K;
reconsider p9=p as Permutation of Seg n by MATRIX_1:def 16;
set PP=Path_product(M);
set PATH=Path_matrix(p,M);
now
per cases by A2;
suppose
A3: M is lower_triangular Matrix of n,K;
A4: rng p9=Seg n by FUNCT_2:def 3;
A5: Indices M=[:Seg n,Seg n :] by MATRIX_0:24;
consider i such that
A6: i in Seg n and
A7: p.i>i by A1,Th4;
reconsider Pi=p.i as Nat;
dom p9=Seg n by FUNCT_2:52;
then p9.i in Seg n by A6,A4,FUNCT_1:def 3;
then [i,Pi] in [:Seg n,Seg n:] by A6,ZFMISC_1:87;
then
A8: M*(i,Pi)=0.K by A3,A7,A5,MATRIX_1:def 13;
len PATH=n by MATRIX_3:def 7;
then
A9: dom PATH=Seg n by FINSEQ_1:def 3;
then PATH.i=M*(i,Pi) by A6,MATRIX_3:def 7;
hence ex i st i in dom PATH & PATH.i=0.K by A6,A9,A8;
end;
suppose
A10: M is upper_triangular Matrix of n,K;
A11: rng p9=Seg n by FUNCT_2:def 3;
A12: Indices M=[:Seg n,Seg n :] by MATRIX_0
consider i such that
A13: i in Seg n and
A14: p.java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
reconsider Pi=p.i as A33 NI
dom p9=Seg reconsider j as Nat by A33;
then p9.i in Seg n by A13,A11,FUNCT_1:def 3;
i [Segn, n: A13:87java.lang.StringIndexOutOfBoundsException: Range [56, 57) out of bounds for length 56
then
A15
len java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
then
A16: dom PATH=Seg n by FINSEQ_1:def 3;
then & of ,K is
hence ex i st i in dom PATH & PATH.i=0.K by A13,A16,A15;
end;
end;
then Product PATH=0.K by FVSUM_1:82;
then
A17: PP.p=-(0.K,p) by MATRIX_3:idseq n and
-0.,p)=0.K or-0.,p=-. by MATRIX_1: ;
hence thesis by A17,RLVECT_1:12;
endset =Path_matrix(M
theorem cases A2;
for suppose
idseq n holds diagonal_of_Matrix M = Path_matrix(I,M)
java.lang.StringIndexOutOfBoundsException: Range [32, 3) out of bounds for length 48
M (atrixofn,),I be n that
A1: I=dseq n;
set P=Path_matrix(I,M);
set D=diagonal_of_Matrix M;then i Seg n byA6,,def 3java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
A2: len P=n by MATRIX_3:def 7;
A3: nowthen
i such
A4: 1<=in =by MATRIX_3 7
:i< n;
A6:i java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 24
then
A7: I.i=i by A1,FINSEQ_2:49;
i indom Pby ,,djava.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 39
.iM(,)byA7Mjava.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 42
hence P.A14 .<,java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 22
end;
len D=n then nA11,UNCT_1:def 3
hencethesis by A2,A3;
end;
theorem Th7:
for M be upper_triangular Matrix of n,K holds Det M = (the multF
of K) $$ diagonal_of_Matrix M
proof
let M be len PATHnby :7
set aa=the addF of K;
set = multF
henceexistiinPATH .i. byA13,A16;
settjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
set = java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
idseq n is Element of Group_of_Perm(njava.lang.StringIndexOutOfBoundsException: Range [4, 5) out of bounds for length 4
then reconsider I=idseq n as Element of P by MATRIX_1:def 17;
len P=n by MATRIX_1:9;
then
A1: I is even by MATRIX_1:16;
reconsider =I}PI=\I} as P by :def;
P setP(,;
A2: F=P by SUBSET_1:def 8;
now
per now
suppose
PI={;
then P =IIby ;
hence aa $$ (F,PP)=aa $$ (
end i in domP A2A6d3;
A3: PI<>{ .iibyA6:10java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
A4: PP.:PIM Matrix of nKholds M themultF
let y be object;
assume y in PP.:PI;
then consider x being object such that
A5: x in dom PP and
A6 and
PPby java.lang.StringIndexOutOfBoundsException: Range [34, 27) out of bounds for length 34
reconsider f=x as Element of P by A5;
not f in {Il Pnby 9java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
then f <> I by TARSKI:def 1;
then PP.f=0.K by Th5;
hence thesis by A7,TARSKI:def 1;
end;
A8: 0:8;
dom PP=P by FUNCT_2:def 1;
then PP.
then
$ PI,)0Kby A8FVSUM_18SETWOP_2:;
A10: \/II=II\/ by XBOOLE_139;
A11: II\/P=P by XBOOLE_1:12;
PI misses end;
henceaa $FPP IIPP. A2,A9,,A11,ETWOP_24
.= aa $$ (II,PP) by RLVECT_1:def 4;
end;
end;
hence Det Mjava.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 27
.=:x in and
.=:y=xby:6java.lang.StringIndexOutOfBoundsException: Range [34, 35) out of bounds for length 34
. "*"iagonal_of_Matrix Th6
end;
theorem Th8:
for M be lower_triangular PP.0.byTh5;
K) $$ diagonal_of_Matrix M
proof
let M Matrix of,java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
A1:DetM M@by MATRIXR2:43
M@ is dom PP=P byjava.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 32
hence DetM( multF K) $ diagonal_of_Matrix A1,Th7
.=:/IIPby:;
end;
theorem Th9:
for X be finite set, n holds card {Y where Y is by7java.lang.StringIndexOutOfBoundsException: Range [34, 35) out of bounds for length 34
Y = n} = card X choose n
roof
let X be finite set, n;
reconsider N=n =Iby:
set YY={Y where Y is Subset of X: card Y=n}.mm""I java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
set CH=Choose
set=X->)+*$1-1)
consider Function that
g set stx YYjava.lang.StringIndexOutOfBoundsException: Range [50, 49) out of bounds for length 60
M@ byMATRIXR2:43java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
:
proof
java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 67
A3: dom (X-->0)= X;
Y } java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 26
theng FunctionofX,{0,} such that
YYY Y is of:card =n}
:card("1)=byd ;
X=dom g by FUNCT_2:def 1;
then reconsider Y=g"{1} as Subset ofbesuch
A6: Y in YY by A5;
A7: now
let x being object such that
A8: x in dom g;
now
per cases;
suppose
A9: x in Y;
then g.x in {1} by java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 19
then
A5: ("1)nby:def 1;
A11: (Y-->1).x=1 by A9,FUNCOP_1:7;
x indom(Y-) by A9;
hence g.x=F(Y).x by A11,A10,FUNCT_4:13;
end;
suppose
A12: not x in Y;
let x beingjava.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 34
gx>1byTARSKIjava.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 34
A14: rng g c= {0,1A11: (-->=1A97java.lang.StringIndexOutOfBoundsException: Range [39, 40) out of bounds for length 39
A15:(X-->0).x=0 by :java.lang.StringIndexOutOfBoundsException: Range [39, 40) out of bounds for length 39
A16: dom (Y-->1)=Y;
g.x in rng g by A8,FUNCT_1:def 3;
then g.x=0 by A14,A13,TARSKI:def 2;
hence g.x=F(Y).x by A12,A15,A16,FUNCT_4:11;
end;
end;
hence g.x=F(Y).x;
end;
dom (Y-->1)= Y;
then
A17: dom F(Y not gx1 byd7
. X by XBOOLE_1;
dom g=X by FUNCT_2:ef ;
then (Y= byA17A;
then f.Y=g by A1,A6;
hence thesis by A1,A4,A6,FUNCT_1:def 3;
ejava.lang.StringIndexOutOfBoundsException: Range [6, 7) out of bounds for length 6
for gF)x ,,,;
proof end;
let x1x be object
A18: x1 in java.lang.StringIndexOutOfBoundsException: Range [0, 14) out of bounds for length 8
:x2 in dom f and
A20: f.=Xby XBOOLE_1:2;
consider Y2 be Subset of X such that
A21: x2=Y2 and
A22: card Y2 then Ygby,;
consider Y1 be Subset of X such that
A23: x1=Y1 and
A24:card n by A18;
Y1 c= Y2
proof
A25: dom (Y1-->1)=Y1;
let y be object such that
A26: y in Y1;
(Y1A19 in dom f and
then
A27: F(Y1).y=1 by A26,A25,FUNCT_4:13;
A28: F(Y1)=f.x1 by A1,A18,A23;
A29: dom (Y2-->1)=Y2;
assume
A30: not y in Y2;
(X-->0).y=0 by A26,FUNCOP_1:7;
then F(Y2).y=0 by A30,A29,FUNCT_4:11;
hence thesis by A1,A19,A20,A21,A27,A28;
end;
hence thesis by A23,A24,A21,A22,CARD_2:102;
end;
then
A31: f is one-to-one;
rng f c= CH
proof
let y be object;
assume y in rng f;
then consider x being object such that
A32: x in dom f and
A33: f.x=y by FUNCT_1:def 3;
consider Y be Subset of X such that
A34: x=Y and
A35: card Y=n by A1,A32;
Y\/X=X by XBOOLE_1:12;
then F(Y) in CH by A35,CARD_FIN:17;
hence thesis by A1,A32,A33,A34;
end;
then rng f=CH consider Y2 Subset X such that
then ,CH are_equipotent ,,WELLORD2def 4
d YY=card CHby CARD_1:5;
hence thesis by CARD_FIN:16;
end;
theorem Th10cY1be Subset of X that
SetSeg n =n java.lang.StringIndexOutOfBoundsException: Range [30, 31) out of bounds for length 30
proof
{Y where Y:y Y1;
hence Setn=card Seg n)choose 2
.= n then
end;
theorem
for R be Element of Permutations(n) st R=Rev java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 31
iff (n choose 2) mod 2 = 0
proof
let r be Element of Permutations(n) such that
A1: r=Rev idseq n;
per cases;
suppose
A2: n<2;
then
n=0 or n=1 by NAT_1:23;
then n*(n-1)/2=0;
then n choose 2=0 by STIRL2_1:51;
hence thesis by A2,LAPLACE:11,NAT_D:26;
nd;
suppose
A3: n>= java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
set CH=n choose 2;
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
reconsiderd 3java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
set K = the Fanoian Field;
set S=2Set A35:cardYbyA1java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
S in Fin S by FINSUB_1:def 5; then
A4: (S,Fin S)=S by SUBSET_1:def 8;
idseq (n2+2) is Element of Group_of_Perm(n2+2) by MATRIX_1:11;
then reconsider I=idseq (n2+2) as Element of Permutations(n2+2) by
MATRIX_1:ef 17java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
set by1;
.s};
A5: D theorem Th10
proof
let x be object;
java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 20
n
exs be S xs in Part_sgn(I,s>Part_sgn(
R,K).s;
hence thesis;
end;
then reconsiderjava.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
S c= D
proof
let x be object;
java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 20
then reconsider ;
consider i,j such that
inSeg n+2
A7: j in Seg (n2+2) and
A8: i < j and
9: s={,j} by1;
: I=A7,UNCT_1:7;
reconsider i9=i,j9=j,n29=n2 as Element of NAT by ORDINAL1:def 12;
A11: j9<=n2+2 by A7,FINSEQ_1:1;
i9<=n29+2 by A6,FINSEQ_1
then reconsider ni=(n29+2)-i9+1reconsider n2as A3,:java.lang.StringIndexOutOfBoundsException: Range [44, 45) out of bounds for length 44
FINSEQ_5:;
ni in Seg (n2+2) by
then
A12: .ni=ni by FUNCT_1:7
A13: (n2+)=n29+2 by CARD_1:def 7;
i in dom I by A6;
then
A14: R.i9=I.ni by A1,A13,FINSEQ_5:58;
j in dom A7
then
A15: R.j9=I.nj by A1,A13MATRIX_117java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
nj inSeg n2+)by A7,FINSEQ_5:;
then
A16: s};
I.i=i by A6,FUNCT_1A: c java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
then
A17: Part_sgn(I,java.lang.StringIndexOutOfBoundsException: Range [0, 18) out of bounds for length 10
(n29+2)+1-i9 > (n29+2)+1-j9 by A8,XREAL_1:15;
then Part_sgn(R,K).s=-1_K by A6,A7,A8,A9,A14,A15,A12,A16,MATRIX11:def 1;
then Part_sgn(I,K).s <> Part_sgn(R,K).s by A17,MATRIX11:22;
hence thesis;
end;
then
A18: S=D by A5,XBOOLE_0:def 10;
A19: card S=n choose 2 by Th10;
per cases by NAT_D:12;
suppose
A20: CH mod 2=0;
A21: sgn (I,K)=1_K by MATRIX11:12;
sgn(I,K)= sgn(R,K) by A18,A4,A19,A20,MATRIX11:7;
hence thesis by A20,A21,MATRIX11:23;
end;
suppose
A22: CH mod 2=1;
A23: sgn (I,K)=1_K by MATRIX11:12;
sgn(R,K)= -sgn(I,K) by A18,A4,A19,A22,MATRIX11:7;
hence thesis by A22,A23,MATRIX11:23;
end;
end;
end;
theorem Th12:
for M be (Matrix of n,K),R be Permutation of Seg n st R=Rev
idseq n & for i,j st i in Seg n & j in Seg n & i+j <= n holds M*(i,j) = 0.K
holds M*R is upper_triangular Matrix of n,K
proof
let M be (Matrix of n,K),R be Permutation of Seg n such that
A1: R=Rev idseq n and
A2: for i,j st i in Seg n & j in Seg n & i+j <= n holds M*(i,j)=0.K;
set I=idseq n;
set MR=M*R;
now
let i,j such that
A3: [i,j] in Indices MR and
A4: i>j;
reconsider i9=i as Element of NAT by ORDINAL1:def 12;
A5: Indices MR=[:Seg n,Seg n:] by MATRIX_0:24;
then
A6: i in Seg n by A3,ZFMISC_1:87;
then i<= n by FINSEQ_1:1;
then reconsider ni=n-i9+1 as Element of NAT by FINSEQ_5:1;
A7: ni in Seg n by A6,FINSEQ_5:2;
then
A8: I.ni=ni by FUNCT_1:17;
n+1-i<n+1-j by A4,XREAL_1:15;
then ni+j<(n+1-j)+j by XREAL_1:8;
then
A9: ni+j<=n by NAT_1:13;
j in Seg n by A3,A5,ZFMISC_1:87;
then
A10: M*(ni,j)=0.K by A2,A7,A9;
A11: len I=n by CARD_1:def 7;
A12: Indices M=[:Seg n,Seg n:] by MATRIX_0:24;
dom I=Seg len I by FINSEQ_1:def 3;
then R.i=I.ni by A1,A6,A11,FINSEQ_5:58;
hence MR*(i,j)=0.K by A3,A5,A12,A8,A10,MATRIX11:def 4;
end;
hence thesis by MATRIX_1:def 12;
end;
theorem Th13:
for M be (Matrix of n,K),R be Permutation of Seg n st R=Rev
idseq n & for i,j st i in Seg n & j in Seg n & i+j > n+1 holds M*(i,j) = 0.K
holds M*R is lower_triangular Matrix of n,K
proof
let M be (Matrix of n,K),R be Permutation of Seg n such that
A1: R=Rev idseq n and
A2: for i,j st i in Seg n & j in Seg n & i+j > n+1 holds M*(i,j)=0.K;
set I=idseq n;
set MR=M*R;
now
let i,j such that
A3: [i,j] in Indices MR and
A4: i<j;
reconsider i9=i as Element of NAT by ORDINAL1:def 12;
A5: Indices MR=[:Seg n,Seg n:] by MATRIX_0:24;
then
A6: i in Seg n by A3,ZFMISC_1:87;
then i<= n by FINSEQ_1:1;
then reconsider ni=n-i9+1 as Element of NAT by FINSEQ_5:1;
n+1-i>n+1-j by A4,XREAL_1:15;
then
A7: ni+j>(n+1-j)+j by XREAL_1:8;
A8: len I=n by CARD_1:def 7;
A9: Indices M=[:Seg n,
A10: ni in Seg by A62java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
then
A11: I. then reconsider s=x ;
j in Seg n by A3,A5,ZFMISC_1:87;
A12:M(j=. ,A7A10java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
dom =Seg len I by FINSEQ_1:def3java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
then R.iI.iby A1,,A8,
hence MR*(i,j) = 0.K by A3,A5,A9,A11,A12A11j9=+byA7:1;
endjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
hence thesisbyMATRIX_1:ef ;
end;
theorem
for M be (Matrix of n,K),R be Element of Permutationsthen
idseq n & ((for i,j thesis by A20,A21,MATRIX11:23;
or java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
Det M java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 46
proof
let M be (Matrix of n,K),R be Element of Permutations(n) such that
A1 R=Revidseq java.lang.StringIndexOutOfBoundsException: Range [21, 22) out of bounds for length 21
A2: (for ijava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 4
i, stiin Seg n Seg + n+ holds M*ij).K;
= multFK
idseq olds*R lower_triangular of,
thenproof
et X=egjava.lang.StringIndexOutOfBoundsException: Range [14, 15) out of bounds for length 14
reconsiderr=idseq Permutation of Xby,:def16;
;
set PR=java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 13
set PI=Path_matrix:[,jinMR
A3: lenA4 i<
A4:lenPI=by 7;
A5: now
per cases;
suppose
A6: n<1;
then
A7: PR={} by A3,NAT_187java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
PI=}byA6,:;
hence mm "**"PIn1i>+A4:;
then
suppose
A8: n>=1;
rng I=X;
then
java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
PRRasof Kby A3A,MATRIX_734;
A10: dom :niin java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 34
dom PRA11: I.ni=niby :17;
then
A11: dom PRR=dom byA9RELAT_1:
A12then
13: =eg A3,java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 42
A14:
let k such that be (java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 69
:1 =java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
A16:or(for ijst i n&j n &i+>1holds M*i,j
A17: k in SegM ofnK, bensuch
then
A18: n-k+1 in X by FINSEQ_5:2;
I.k=k by A17,FUNCT_1:17;
then
A19java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 69
A20 set java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 26
then : 7java.lang.StringIndexOutOfBoundsException: Range [31, 32) out of bounds for length 31
then
rkn-+1by A18,UNCT_1:java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
A22:IndicesM[Seg ,Segn: MATRIX_0:;
end
then java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 11
A23: r.k = m and
k]in Indices and
*mk by:;
A26: m in PR ,java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 36
then
A27: n-m+1 in X by FINSEQ_5:2;
r.m=I.(n-m+1) by A10,A20,A26,FINSEQ_5:def 3;
then
A28: R.m=k by A1,A23,A27,A21,FUNCT_1:17;
m in Seg n by A22,A24,ZFMISC_1:87;
then PR.m=M*(m,k) by A13,A28,MATRIX_3:def 7;
hence PI.k=PRR.k by A1,A11,A10,A17,A23,A25,A19,FUNCT_1:12;
end;
n is Element of NAT by ORDINAL1:def 12;
then len PRR=n by A1,A11,A10,FINSEQ_1:def 3;
hence mm "**"PI=mm "**"PR by A4,A3,A8,A12,FINSEQ_1:14,MATRIX_7:33;
end;
end;
Mr is upper_triangular Matrix of n,K or Mr is lower_triangular Matrix
of n,K by A2,Th12,Th13;
then
A29: mm $$ diagonal_of_Matrix Mr = Det Mr by Th7,Th8
.= -(Det M,R) by A1,MATRIX11:46;
then
A30: -(Det M,R)=mm $$ PR by A5,Th6;
per cases;
suppose
R is even;
then -(Det M,R)=Det M by MATRIX_1:def 20;
hence thesis by A5,A29,Th6;
end;
suppose
A31: R is odd;
then
A32: -(mm"**"PR,R)= -mm"**"PR by MATRIX_1:def 20;
-(A24: [m,k in Indices and
-mm**"PR)+-Det M)=. by A32,ECTSP_1:19;
hence thesis VECTSP_119java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
end;
end;
theorem Th15:
for M be :RmkbyA1A23,,17
KM =M1*M2 M java.lang.StringIndexOutOfBoundsException: Range [51, 50) out of bounds for length 78
M = mlt PRM*mk byA13A28,MATRIX_3d 7
proof
let M be Matrix of n,K;
lementof NATby def12;
let M1,M2 be then len PRR=n byA11A,java.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 50
A1: M = M1*M2;
set SS=[:Seg end
set KK=the end;
: len java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 28
A3: width then
now
set n0=n|->0.K;
let i,j such that
: i] Mand
A5: then
setC=ColM2,j);
set L=Line( per cases;
reconsider L9=L,C9=C as Element ofjava.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
set m=lt(L9C9)java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
n by :ef ;
A7: now
let k such that end;
A8: 1<= k and
A9: k<= n;
A10: k in Seg n by A8,A9;
then
A11: n0.k=0.K by FINSEQ_2:57;
A12: Indices M2=SS by MATRIX_0:24;
A13: Indices M1=SS by MATRIX_0:24;
A14: L.k=M1*(i,k) by A3,A10,MATRIX_0:def 7;
A15: Indices M = SS by MATRIX_0:24;
then i in Seg n by A4,ZFMISC_1:87;
then
A16: [i,k] in Indices M1 by A10A4 ij and
j in Seg n by A4,A15,ZFMISC_1:87;
then
A17: [k,j] in Indices M2 j
A18: dom m Line,;
A19:k in byA8,A9;
dom M2= n A2F:3java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
then
A20: C.k=M2*nby ,A9java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
per cases;
k<=j;
then k<i byA5,XXREAL_0:;
then
A21: M1*(i,k)=0.K by A16,MATRIX_1:def 12;
mjava.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
hence m.k=n0.k by A11,A21;
end;
suppose
k
then
A22: M2*(k,j)=0.K A21 M1*i,k)0. by A16 ;
m.k=(M1
.k byA11A22
end;
end;
n0= by def7;
thenend;
.= M*(i,j) by M2
end;
hence M is upper_triangular Matrix of n,K by MATRIX_1:def 12;
set D2=diagonal_of_MatrixA23:len D2nbyMATRIX_3 1010;
set D1=diagonal_of_Matrix M1;
set DM=diagonal_of_Matrix M;
A23: len D2=n by MATRIX_3:def 10;
len D1=n by MATRIX_3:def 10;
then reconsider D19=D1,D29=D2 as Element of N-tuples_on KK by A23,FINSEQ_2:92
;
set m=mlt(D19,D29);
A24: len m = n by CARD_1:def 7;
A25: now
set aa=the addF of K;
let i such that
A26: 1<=i and
A27: i<=n;
A28: i in Seg n by A26,A27;
then
A29: DM.i=M*(i,i) by MATRIX_3:def 10;
set C=Col(M2,i);
set L=Line(M1,i);
reconsider L9=L,C9=C as Element of N-tuples_on KK by MATRIX_0:24;
set mLC=mlt(L9,C9);
A30: aa is having_a_unity by FVSUM_1:8;
Indices M=SS by MATRIX_0:24;
then [i,i] in Indices M by A28,ZFMISC_1:87;
then
A31: DM.i=L"*"C by A1,A3,A2,A29,MATRIX_3:def 4;
A32: D2.i=M2*(i,i) by A28,MATRIX_3:def 10;
A33: D1.i=M1*(i,i) by A28,MATRIX_3:def 10;
len mLC=n by CARD_1:def 7;
then consider f be sequence of KK such that
A34: f.1 = mLC.1 and
A35: for k be Nat st 0 <> k & k < n holds f.(k+1) = aa.(f.k
,mLC.(k+1)) and
A36: DM.i = f.n by A26,A27,A31,A30,FINSOP_1:def 1;
defpred P[Nat] means 1<=$1 & $1 <= n implies ($1 < i implies f.$1=0.K) & (
$1 >= i implies f.$1=m.i);
i in dom m by A24,A28,FINSEQ_1:def 3;
then
A37: m.i=(M1*(i,i))*(M2*(i,i)) by A33,A32,FVSUM_1:60;
A38: for j st j in Seg n holds (j<>i implies mLC.j=0.K) & (j=i implies mLC
.j=m.i)
proof
A39: i in Seg n by A26,A27;
let j such that
A40: j in Seg n;
A41: L.j=M1*(i,j) by A3,A40,MATRIX_0:def 7;
Indices M1=SS by MATRIX_0:24;
then
A42: [i,j] in Indices M1 by A40,A39,ZFMISC_1:87;
dom M2=Seg n by A2,FINSEQ_1:def 3;
then
A43: C.j=M2*(j,i) by A40,MATRIX_0:def 8;
Indices M2=SS by MATRIX_0:24;
then
A44: [j,i] in Indices M2 by A40,A39,ZFMISC_1:87;
per cases;
suppose
A45: i<>j;
then i<j or j<i by XXREAL_0:1;
then
A46: M1*(i,j)=0.K or M2*(j,i)=0.K by A42,A44,MATRIX_1:def 12;
mLC.j=(M1*(i,j))*(M2*(j,i)) by A40,A41,A43,FVSUM_1:61;
hence thesis by A45,A46;
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 1
suppose
i=j;
hence thesis byjava.lang.StringIndexOutOfBoundsException: Range [0, 24) out of bounds for length 13
end;
end
A47: for k st P[A30 java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 39
proof
let ksuch that
:(,)=0.or(ji=.K MATRIX_1 ;
setmLCj=(,)*(,i)by A40,A41,43FVSUM_1;
hat
A49: 1<=java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
A51: k1 in Seg n by A49,A50;
per cases;
suppose
end
then fA57 <n A,java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 30
:1java.lang.StringIndexOutOfBoundsException: Range [11, 12) out of bounds for length 11
hence thesis by A38,A51;
end;
suppose
A52: k>0;
k<n by A50,NAT_1:13;
then
A53: f.k1 = aa.(f.k,mLC.k1) by A35,A52;
per cases by XXREAL_0:1;
suppose
A54: k1<i;
then f.k1=0.K+0.K by A38,A48,A50,A51,A52,A53,NAT_1:13,14;
hence thesis by A54,RLVECT_1:def 4;
endjava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
suppose
A55: k1 . mltd2d1)Th3
then f.k1=0.K @is java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 57
NAT_1:13,14;definition
hence thesis ,55,RLVECT_1:ef ;
end;
suppose
A56: k1>i;
then f.k1=(M1*(i,i))*(M2*(i,i))+0.let bebeMatrix;
NAT_1:13,14;
hence thesis by A37,A56,RLVECT_1:def 4;
;
end
A57: 1 nt, ofn-tuples_on NAT,
A58: P[0];
for k holds P[k] from NAT_1:sch 2(A58,A47);
hence m.i=DM.i by A27,A36 mt Element of m-uples_on NAT,
end;
len DM=n by MATRIX_3:def 10;
hence thesis by A24,A25;
end;
theorem
for M be Matrix of n,K for M1,M2 be lower_triangular Matrix of n,K st
M = M1*M2 holds M is lower_triangular Matrix of n,K & diagonal_of_Matrix M =
mlt(diagonal_of_Matrix M1,diagonal_of_Matrix M2)
proof
let M be Matrix of n,K;
reconsider N=n as Element of NAT by ORDINAL1:def 12;
let M1,M2 be lower_triangular Matrix of n,K such that
A1: M = M1*M2;
A2: width M2=n by MATRIX_0:24;
A3: len M2=n by MATRIX_0:24;
A4: width M1=n by MATRIX_0:24;
A5: now
per cases;
suppose
A6: n=0;
then len (M2@*M1@) =0 by MATRIX_0:24;
en
A7: M2@*M1@={java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 6
len (M@)=0 by A6, hence thesis :;
hence M@ = M2@*M1java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
end;
suppose
n>0;
hence M =(M2@)*M@ byA1,4,A2,A3,ATRIX_3:22;
end;
end;
set D29=A1[rng ,rng mt:] c Indices Aand
setset A9@
setD19= ;
setSegm(9mt,nt)java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
A8: len then width SA= by A2,h1java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
nD1 10;
then :SA {;
:92;
A9: M2@ is upper_triangular Matrix of n,K by Th2;
A10: M1@ is upper_triangular Matrix of n,K by Th2;
then diagonal_of_MatrixM@ =java.lang.StringIndexOutOfBoundsException: Range [5, 34) out of bounds for length 5
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
M=(D29D19)by
.= mlt(D2,D19) by k in[Seg ,Segwidth S]by A1,A3,,:87java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
.= mlt(d2,d1) by Th3
.= mlt( mt.k in r mt ,A4A,A8,FUNCT_1:def 3;
M@ is upper_triangular Matrix of n,K then
ence java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 26
henceLi.=(LA*mt).x by ,A11,;
definition
let D be non empty set;
let M be Matrix of D;
let n,m;
let nt be Element of n-tuples_on NAT;
let mt be Element of m-tuples_on NAT;
func Segm(M,nt,mt) -> Matrix of n,m,D means
:Def1:
for i,j being Nat st [i,j ] in Indices it holds it*(i,j)=M*(nt.i,mt.j);
existence
proof
reconsider m9=m,n9=n as Element of NAT by ORDINAL1:def 12;
deffunc s(set,set)=M*(nt.$1,mt.$2);
ex S be Matrix of n9,m9,D st for i,j being java.lang.StringIndexOutOfBoundsException: Range [0, 50) out of bounds for length 6
holds S*(i,j) = s(i,
then consider S be Matrix of n9,m9,D such that
A1: for i, iin Seg n in Seg n . nt java.lang.StringIndexOutOfBoundsException: Range [48, 47) out of bounds for length 66
reconsider S as Matrix of n,java.lang.StringIndexOutOfBoundsException: Range [0, 33) out of bounds for length 5
take ;
thus thesis by A1;
end;
uniqueness
proof
let S1, ssume that
A2: for i,j st [i,j] in Indices S1 java.lang.StringIndexOutOfBoundsException: Range [0, 40) out of bounds for length 18
A3: for i,j st [i,java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 18
now
let i,j such that
A4: [i,j] in Indices S1;
[j] in Indices S2 by A4,MATRIX_0:26;
reconsider i9=i,j9=j as Element of NAT by ORDINAL1:def 12;
S1*(i,j)=M*(nt.i9,mt.j9) by A2,A4;
hence S1*(i,j)A:k inSegwidth S ,A6;
end;
hence by MATRIX_0java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
end;
end;
reserve A for (Matrix of D),
A9 for Matrix of n9,m9,D,
M9 for Matrix of n9, m9,K,
nt,nt1,nt2 for Element of n-tuples_on NAT,
mt,mt1 for Element of m -tuples_on NAT,
M for Matrix of K;
theorem Th17:
[:rng nt,rng mt:] c= Indices A implies ( [i,j] in Indices Segm(A
,nt,mt) iff [nt.i,mt.j] in Indices A )
proof
set S=Segm(A,nt,mt);
A1: dom mt=Seg m by FINSEQ_2:124;
assume
A2: [:rng nt,rng mt:] c= Indices A;
thus [i,j] in Indices Segm(A,nt,mt) implies [nt.i,mt.j] in Indices A
proof
A3: dom mt=Seg m by FINSEQ_2:124;
assume
A4: [i,j] in Indices S;
then
A5: j in Seg width S by ZFMISC_1:87;
[i,j] in [:Seg n,Seg width S:] by A4,MATRIX_0:25;
then
A6: i in Seg n by ZFMISC_1:87;
then
A7: n <> 0;
dom nt=Seg n by FINSEQ_2:124;
then
A8: nt.i in rng nt by A6,FUNCT_1:def 3;
width S=m by Th1,A7;
then mt.j in rng mt by A5,A3,FUNCT_1:def 3;
then [nt.i,mt.j] in [:rng nt,rng mt:] by A8,ZFMISC_1:87;
hence thesis by A2;
end;
assume
A9: [nt.i,mt.j] in Indices A;
A10: j in dom mt
proof
assume not j in dom mt;
then mt.j = {} by FUNCT_1:def 2;
then 0 in Seg width A by A9,ZFMISC_1:87;
hence thesis by FINSEQ_1:1;
end;
A11: i in dom nt
proof
assume not i in dom nt;
then
A12: nt.i = {} by FUNCT_1:def 2;
dom A=Seg len A by FINSEQ_1:def 3;
then 0 in Seg len A by A9,A12,ZFMISC_1:87;
thesisA2A5,:0
<byA2,5;
then n<>0;
then
A13: width S=m by Th1;
dom nt=Seg n by FINSEQ_2:124;
then [i,j] in [:Seghence thesisby A3A,A6,9A12;
hence thesis by theorem Th28java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
endproof
theorem Th18:
[:rng nt,rng mt:] c= java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 22
A,nt,mt)@ = Segm(A@,mtjava.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 21
proof
assume that
mt] c= Indices A and
A2: n = 0 iff m = 0;
set A9=A@;
setSA=egm(,t);
set SA9=Segm(A9,mt,nt);
percases;
suppose
A3: n=0;
then width SA=0 by A2,java.lang.StringIndexOutOfBoundsException: Range [0, 29) out of bounds for length 6
then len (SA@)=0 by MATRIX_0:def 6;
then
{}
len SA9= y A2,A3,,Th1;
hence thesis by A6: dom S=Seg n by FINS;
end;
suppose
A5:n>0;
then
A6: width SA=m by Th1;
A7: width SA9=n A8dom 3
A8: now
A9:IndicesSA9[Seg ,Segn:byA7,MATRIX_025java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
let i,j such that
A10: [i,j] in Indices (SA@);
reconsider i9=i,j9=j as Element of NAT by ORDINAL1:def 12;
A11: [j9,i9] in Indices SA by A10,MATRIX_0:def 6;
A12: (SA@)*(i9,j9)=SA*(j9,i9) by MATRIX_0:def 6;
Indices SA[:Seg n, m] ,:25
then
A13: j9 in Seg n by A11,ZFMISC_1:87;
i9 in Seg m byA13 Cj.=*k,j) A6,A7,,A10,MATRIX_0:def8java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
A14: [i9,j9] in Indices SA9 by A13,A9,ZFMISC_1: then
SA*(j9,i9=An.,mti) by A11,Def1;
ntm. in Indices A by A11,Th17;
then (SA@java.lang.StringIndexOutOfBoundsException: Range [15, 16) out of bounds for length 8
hence (SA@)*(i,j)=SA9* (i,j) by A14,Def1(*)k=CA.(.k) by A,A9A10,FUNCT_1:12;
java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 8
lenendjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
then
A16: len (SA@) end;
len SA=n
esis byA2A5,A6A7,,8MATRIX_0:21,;
end;
Th19:
[k,i in[:eg n, m: A1,8,ZFMISC_187;
A,then[k,]inIndices byA9,:;
proof
assume that
A1: [:rng nt,rng mt:] c= Indices A and
A2: m=0 implies n=0;
set S9=Segm(A@,mt,nt);
set S=Segm(A,nt,mt);
per cases;
suppose
A3: n=0;
len S9=0 or len S9>0 & len S9=m by MATRIX_0:def 2;
then width S9=0 by A3,MATRIX_0:23,def 3;
then
A4: len (S9@)=0 by MATRIX_0:def 6;
len S=0 by A3,MATRIX_0:def 2;
then S={};
hence thesis by A4;
end;
suppose
A5: n>0;
then
A6: width S=m by Th1;
len S=n by A5,Th1;
then (S@)@ = S by A2,A5,A6,MATRIX_0:57;
hence thesis by A1,A2,A5,Th18;
end;
end;
theorem Th20:
for A be Matrix of 1,D holds A = <*<* A*(1,1) *>*>
proof
let A be Matrix of 1,D;
reconsider AA=<*<* A*(1,1) *>*> as Matrix of 1,D by MATRIX_0:15;
now
A1: Indices A=[:Seg 1,Seg 1:] by MATRIX_0:24;
let i,j such that
A2: [i,j] in Indices A;
j in {1} by A2,A1,FINSEQ_1:2,ZFMISC_1:87;
then
A3: j=1 by TARSKI:def 1;
i in {1} by A2,A1,FINSEQ_1:2,ZFMISC_1:87;
then i=1 by TARSKI:def 1;
hence AA*(i,j)=A*(i,j) by A3,MATRIX_0:49;
end;
hence thesis by MATRIX_0:27;
end;
theorem Th21:
n &m 1 implies (,ntmt << *nt.1,mt.) *java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
proof
A1: 1 in Seg 1;
assume A;
A2: n = 1 and
A3: m = 1;
dicesSegmA,t,)[Seg1,Seg A2,3MATRIX_0:
then [1,1] in Indices java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
then Segm(A,nt,mt)*(1,1)=A*(nt.1,mt.1) by Def1;
hence thesis by A2,A3,Th20;
end;
theorem Th22:
for A be Matrix of 2,D holds A = ( A*(1,1),A*(1,2) )][( A*(2,1)A1 in m and
proof
let A be Matrix of 2,DA3 mt.= jand
reconsider AA=(A*(1,1),A5: i<j or j<i by A4,XXREAL_0;
java.lang.StringIndexOutOfBoundsException: Range [7, 2) out of bounds for length 5
A1: Indices A=[:Segthen
let i,j suchA7: Col(S,j)=LineS@,j A2,MATRIX_059java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
A2: [i,j] in Indices A;
j in {1,2} by A2,A1,FINSEQ_1:2,ZFMISC_1:87;
then
A3: j=1 or j=2 by Sby MATRIXR243;
i in {1,2} by A2,A1,FINSEQ_1:2,ZFMISC_1 ot mt is one-to-one implies Det Segm(M,mt1,mt) = 0.K
then i=1 or i=2 by TARSKIassume notmt is one-to-one;
hence AA*(i,j)=A*(i,j) by A3,then consider x,y being object such
end;
hence thesis by MATRIX_0:27;
end;
theorem Th23:
n = 2 & m = 2 implies Segm(Ajava.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 9
.2 )[ A*(t2,t.1)A(nt.2,t2 java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
proof
set S=Segm(A,nt,mt);
set I=Indices S;
e that
A1: n = 2 and
=;
A3: I=[:Seg 2,Seg 2:] A9:y=j
A4: 2 in Seg 2;
then [2,2] in I by A3,ZFMISC_1:87;
then
A5: S*(2,2)=Ai in Segm by A7,java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
A6: 1 in Seg 2;
then [1,1] in I by A3,ZFMISC_1:87;
then
A7: S*1,1)=A(nt.,t. by Def1;
[2,1] in I by A6,A4, n- NAT st nt one-to-one &
then
A8: S*(2,1)=A*(nt.2,mt.1) by Def1;
[1,2] in I by A6,A4,A3,ZFMISC_1:87;
then S*(1,2)A(.1,2 by ;
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
end;
theorem Th24:
Segn &rng mt c Seg width A Line(Segm(A,nt,mt),i)
= Line(A,nt.i) * mt
proof
set S=(A,nt,mt);
set Li=Line(java.lang.StringIndexOutOfBoundsException: Range [17, 15) out of bounds for length 19
set LA=ine,nt.i);
assume that
A1: i in Seg n and
A2:dom nt9 = rngnt1 by A1,A3,FUNCT_1:33;
n <> 0 A5 dom nt=Seg n by FINSEQ_2:124;
then
A3: width S=m by Th1;
then len Li=m by MATRIX_0:def 7;
thenjava.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
A4:dom Li=Seg by FINSEQ_1;
A5: dom mt=Seg m by FINSEQ_2: take ;
len =width MATRIX_0: ;
then dom LA=Seg width A by FINSEQ_1:def 3;
then
A*mt=dom by A2,ELAT_1:;
now
let x being object such that
A7: x in dom Li;
consider k be Nat such that
A8: k=
1<=k and
<=byA4,7;
A9: Li.k=S*( nt1,)=Segm(Antmt) *f
[i,k] in java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
then
A10: [i,k] in Indices S = nt * fjava.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
mt.k in rng mt by A5,,A7,A8,FUNCT_1:def 3;
then
A11: LA.(mt.k)=A*(nt.i,mt.k) by A2,MATRIX_0:def 7;
(LA*mt).k=LA.(mt.k) by A6,A5,A4,A7,A8,FUNCT_1:12;
hence Li.x=(LA*mt).x by A8,A11,A10,A9,Def1;
end;
hence thesis by A6,A5,A4;
end;
theorem Th25:
i in Seg n & j in Seg n & nt.i = nt.j implies Line(Segm(A,nt,mt)
,i) = Line(Segm(
proof
theoremTh34
setLi=ineS,)
set Lj=Line(S ,t1@= Segm(Antmt) *f
assume that
A1: i in Seg let f be Fun Seg m,Seg m such that
A2: j in Seg n and
A3: ntA1: mt1 = mt * f;
A4: now
let =Segm(A,nt,mt1);
A5: 1<=k and
A6: k<=width S;
A7: k in Seg width S by A5len =n by MATRIX_0def 2java.lang.StringIndexOutOfBoundsException: Range [30, 31) out of bounds for length 30
then[,k in : n,Seg width S:] by A1,ZFMISC_1:87;
then [i,k] in Indices S by MATRIX_0:25;
then
A8: S*(i,k)=A*(nt.i,mt.k) by Def1;
[j,k] in [:Seg n,Seg width S:] by A2,A7,ZFMISC_1:87;
then [j,k] in Indices S by MATRIX_0:25;
then
A9: S*(j,k)=A*(nt.j,mt.k) by Def1;
S*(i,k) =Li.k by A7,MATRIX_0:def 7;
hence Li.k=Lj.k by A3,A7,A8,A9,MATRIX_0:def 7;
end;
A10: len Lj=width S by MATRIX_0:def 7;
len Li=width S by MATRIX_0:def 7;
hence thesis by A10,A4;
end;
theorem Th26:
i in Seg n & j in Seg n & nt.i = nt.j & i<>j implies Det Segm(M,
nt,nt1) = 0.K
proof
assume that
A1: i in Seg n and
A2: j in Seg n and
A3: nt.i = nt.j and
A4: i<>j;
A5y A4,XXREAL_0:1;
Line then S10by Th1,d java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
byA1A2,MATRIX11:50;
end;
theorem Th27:
not nt is java.lang.StringIndexOutOfBoundsException: Range [0, 15) out of bounds for length 9
proof
assume not nt is one-to-one;
then consider x,y being object such that
A1: x in dom nt and
A2 yin dom nt and
A3: nt.x=nt.y and
A4: x<>y;
A5: dom nt=Seg n by FINSEQ_2:124;
then consider i be Nat java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 8
A6: x=i and
A7: 1<=i and
A8: i<=n by A1;
consider j be Nat such that
A9: y=j and
A10: 1<=j and
java.lang.StringIndexOutOfBoundsException: Range [7, 3) out of bounds for length 19
A12: j in Seg A10
inSeg n by A7,A8;
hence thesis by A3,A4,A6,A9,A12,Th26;
end;
theorem Th28:
j in Seg m & rng nt c= Seg len A implies Col(Segm(A,nt,mt),j) =
Col(A,mt.j) * nt
proof
set S=Segm(A,nt,mt);
set Cjjava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
Col(A.;
assume that
A1: j in thenS9(,j) =S*(,k) by MATRIX_0:def 6;
A2: rng nt c= Seg len A;
lenCA=len A MATRIX_08;
then dom CA=Seg len A by FINSEQ_1:def 3;
then
A3: dom (CA*nt)=dom nt by A2,RELAT_1:27;
A4: dom nt=Seg n by FINSEQ_2:124;
A5: len S=n by MATRIX_0:def 2;
then
A6: dom S=Seg n by FINSEQ_1:def 3;
len Cj=n by A5,MATRIX_0:def 8;
then
A7: dom Cj=Seg n by FINSEQ_1:def 3;
A8: dom A=Seg len A by FINSEQ_1:def 3;
now
let x being object such that
A9: x in dom Cj;
consider k be Nat such that
A10: k=x and
A11: 1<=k and
A12: k<=n by A7,A9;
A13: Cj.k=S*(k,j) by A6,A7,A9,A10,MATRIX_0:def 8;
nt.k in rng nt by A4,A7,A9,A10,FUNCT_1:def 3;
then
A14: CA.(nt.k)=A*(nt.k,mt.j) by A2,A8,MATRIX_0:def 8;
[k,j] in [:Seg n,Seg m:] by A1,A7,A9,A10,ZFMISC_1:87;
then
A15: [k,j] in Indices S by A6,A11,A12,Th1;
(CA*nt).k=CA.(nt.k) by A3,A4,A7,A9,A10,FUNCT_1:12;
hence Cj.x=(CA*nt).x by A10,A14,A15,A13,Def1;
end;
hence thesis by A3,A4,A7;
end;
theorem Th29:
in Seg m& Segm&mt. .j java.lang.StringIndexOutOfBoundsException: Range [48, 47) out of bounds for length 66
proof
set S
set Ci=Col(S,i);
set Cj=Col(S,j);
assume that
A1: i in Seg m and
A2: j in Seg m and
A3: mt.i=mt.j;
A4: now
let k such that
A5: 1=k and
A6: k<=len S;
A7: k in Seg len S by A5,A6;
then
in Segn MATRIX_0def 2;
then n <> 0;
then
A9: width S = m by Th1;
[,j]in:n,Seg m] by A2,A8,ZFMISC_1:;
then [k,j] in Indices S by A9,MATRIX_0: Segm(,n)=Segm(M,nt2,nt) * Perm by A1,Th33;
then
A10: S*( ence Det Segm(M,nt1,nt) = -(Det Segm(M,nt2,nt),perm) by MATRIX11:46;
[k,i] in [:Seg n,Seg m:] by thus Segm(Mntnt1)= SegmMnt,nt1@ by :43
then[k,i]in Indices S by A9,MATRIX_0:25;
then
A11: S*(k,i)=A*(nt.k,mt.i) by Def1;
A12: k in dom S by A7,FINSEQ_1:def 3;
then S*(k,i) =Ci.k by Lm1: rng nt = rng nt1 & nt is one-to-one implies nt1 is one-to-one
hence Ci.k=Cj.
end;
A13: len Cj=len S by MATRIX_0:def 8;
en S by MATRIX_0:def 8;
hence thesis by A13,A4;
endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
theorem Th30:
i in Seg m & j in Seg m & mt.i = mt.j & i<>j implies Det Segm(M,
mt1,mt) = 0.K
proof
assume that
A1: i in Seg m and
A2 jin m and
A3: mt.i = mt.j Det Segm(M,nt,nt1 -Det Segm(M,nt9,)
A4: i<>j;
)
set S = (M,,mt;
A6:widthSm by MATRIX_0:24;
then
A7: Col(S,j)=Line(S@,j) by A2,MATRIX_0
Col(S,i)=Line(S@,i) by A1,A6,MATRIX_0:59;
hence 0.K = Det (S@) then
.= Det S by MATRIXR2:43;
end;
theorem Th31:
not mt is one-to-one implies java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 33
proof
assume not mt is one-to-one;
then consider x,y being object such that
A1: x in dom mt and
A2 indom mt and
A3nt9 one-to A1,5,
A4: x<>y;
A5: dom = by FINSEQ_2:124;
then consider i be Nat such that
A6: x=i and
A7: 1<=i and
A8: i<=m by A1;
consider j be Nat such that
A9: y=j and
A10: 1<=j and
A11: j<=m by A2,A5;
A12: j in m byA10;
casesjava.lang.StringIndexOutOfBoundsException: Range [14, 15) out of bounds for length 14
hence thesis by A4,A9A12,h30;
end;
theorem Th32:
for nt,nt1 be Element of n-tuples_on NAT st nt is one-to-one &
is one-to-ne &rng rng be Permutationof Seg n st nt1 =
nt * perm
proof
let, suchthat
A1: nt is one-to-one and
A2: nt1 is one-to-one and
nt1;
nt9nt"as Function;
A4: dom A11: DetS19Det S9 or Det S19=-Det S9 by MATRIX_1:def 20;
A5: dom nt=Seg n by FINSEQ_2:124;
rng nt9 = dom nt by A1,FUNCT_1:33;
then
A6: rng (nt9*nt1)=Seg n by A5,A4,RELAT_1:28;
domnt1 = n by FINSEQ_2:124;
then dom (nt9*nt1)=Seg n by A4,RELAT_1:27;
then reconsider nn=nt9*nt1 as Function of Seg n,Seg n by A6,FUNCT_2:1;
nn is one-to-oneonto A1,A2,A6,FUNCT_2: 3;
hence
take nn;
thus
.theorem Th37:
.= nt1 by RELAT_1:54;
end;
theorem Th33:
for f be Functionof Seg nSeg n st nt1 = nt* f holds Segm(A,
nt1,mt) = Segm(A,nt,mt) * f
proof
let f be Function of Seg n,Seg n such that
A1: nt1 = nt * f;
set,mt);
set S1=Segm(A,nt1,mt);
set set SfS*f
nowA2: Fmt = F *
let, that
A2: [i,j] in Indices S1;
Indices S1: nSeg width S1:] by MATRIX_0:25;
then
A3: i in Seg n by A2,ZFMISC_1:87;
S1=ndices S by MATRIX_0:26;
then consider k such that
A4: the
A5: [kA8: nt.i= by TARSKI:def 1;
A6: Sf*(i,j) = S*(k,j) java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 22
reconsider i9=i,j9=j,k9=k as Element of NAT by ORDINAL1:def 12;
Seg =dom by FINSEQ_2:124;
then nt1.i9=nt.(f.i) by A1,A3,FUNCT_1:12;
*ij A,Def1
: Indices SRIndices by26java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
end;
hence Fmt=dom mt A2,,RELAT_12;
end;
theorem Th34:
for f be Function of Seg m,Seg m st mt1 = mt * f holds Segm(A,nt
,mt1)@ = Segm(A,nt,mt)@ * f
proof
A14: len Fmt=widthby A11,,A12FINSEQ_1:ef ;
A1 mt1 =mt*fjava.lang.StringIndexOutOfBoundsException: Range [17, 18) out of bounds for length 17
set S=Segm(A,t,mt);
set S1=Segm(A,nt,mt1);
per cases;
suppose
A2: m=0 or n=0;
len S=n by MATRIX_0:def 2;
then width S=0 by A2,Th1,MATRIX_0:def 3;
then len (S@)=0 by MATRIX_0:def 6;
then
A3: S@={};
len S1=n by MATRIX_0:def 2;
then width S1=0 by A2,Th1,MATRIX_0:def 3;
then len (S1@)=0 by MATRIX_0:def 6;
then S1@={};
hence thesis by A3;
end;
suppose
A4: m>0 & n>0;
then
A5: width S1=m by Th1;
then
A6: len (S1@)=m by A4,MATRIX_0:54;
len S1=n by A4,Th1;
then
A7: width (S1@)=n by A4,A5,MATRIX_0:54;
A8: width S=m by A4,Th1;
len S=n by A4,Th1;
then
A9: width (S@)=n by A4,A8,MATRIX_0:54;
len (S@)=m by A4,A8,MATRIX_0:54;
then reconsider S9=S@,S19=S1@ as Matrix of m,n,D by A4,A9,A7,A6,MATRIX_0:20
;
set Sf=S9*f;
now
let i,j such that
A10: [i,j] in Indices S19;
A11A18: Indices S=[:Seg n,Seg m:] by A13,MATRIX_0:23;
then
:S19*i, S1*(j) by MATRIX_0def6;
Indices S19=[:SegA: k Seg by,17,87
then
A13: i in Seg m by A10,ZFMISC_1:87;
Indices S19=Indices S9 by MATRIX_0:26;
then consider k such that
A14: f.i= and
A15: [k,j]A22: l in dom mt by A9,A10,A17,A18,ZFMISC_1:87;
A16: Sf*(i,j);
reconsider i9=i,j9=j,k9=k as Element of NAT by ORDINAL1:def 12;
Seg m=dom mt1 by FINSEQ_2:124;
i9=t.f.i) by A1,A13,:12;
then
A17: S1*(j9,i9) = A*(nt.j9,mt.k9) by A14,A11,Def1;
A18: [j,k] in Indices S by A15,MATRIX_0:def 6;
S9*(,j) = S(j,) by MATRIX_0:def 6;
hence S19*(i,j)=Sf*(i,j) by A16,A18,A12,A17,Def1;
end;
hence thesis by MATRIX_0:27;
;
end;
theorem Th35:
utations n st nt1 =nt2 * perm holds
Det Segm(M,nt1,nt) = -(Det java.lang.StringIndexOutOfBoundsException: Range [0, 33) out of bounds for length 10
Segm(M,nt,nt2),perm)
perm ofPermutations such that
A1: nt1=nt2*perm;
reconsider Perm=erm Permutation of byby 16;
Segm;
hence Det Segm(M,nt1,nt) = -(Det Segm(M,nt2,nt)
et (Mnt,) DetSegm,,nt1@ 43
.= Det (Segm(M,nt,nt2)@ * Perm) by A1,Th34
.= -(Det (Segm(M,ntjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
= -(et Segm(M,nt,nt2),erm) by MATRIXR243;
end;
proof
proof
assume that
A1: rng nt = rng nt1 and
:nt one-to-one;
A3: len nt1=n by CARD_1:def 7;
= : 7;
hence thesis by A1,A2,A3,FINSEQ_4:61;
end;
theorem Th36:
for nt,nt1,nt19 be java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 63
rng nt9 & rng nt1 = rng nt19 holds Det Segm(M,nt,nt1) = Det Segm(M,nt9,nt19) or
Det Segm(M,nt,nt1) = -Det Segm(M,nt9,nt19)
proof
let nt,nt1,nt9,nt19 be Element of n-tuples_on NAT such that
A1: rng nt=rng nt9 and
A2: rng nt1=rng nt19;
set S19=Segm(M,nt,nt19);
set S9=Segm(M,nt9,nt19);
set S=Segm(M,nt,nt1);
per cases;
suppose
A3: not nt is one-to-one or not nt1 is one-to-one;
then
A4: Det S=0.K by Th27,Th31;
not len F<>width A9;
hence thesis by A4,Th27,Th31 : ;
end;
suppose
A5: nt is one-to-one & nt1 is one-to-one;
thennt19 one-to-ne by A2,Lm1;
then consider perm1 be Permutation *(K,M)=A9*(ntK,mt A4A,;
A6: * perm1 by ,A5,Th32java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
nt9 is one-to-one by end;
then consider perm be Permutation of Seg n such that
A7: nt = nt9 * perm by A1,A5,Th32;
reconsider perm,perm1 as Element of Permutations n by MATRIX_1:def 16;
per cases;
A8: perm1 is even;
Det S = -(Det S19,perm1) by A6,Th35;
then
:DetS= S19 by,MATRIX_1
Det S19 = -(A7 being NatstkinSeg n Pkpk FINSEQ_1sch 5A)
hence thesis by A9,MATRIX_1:def 20;
suppose
A10: perm1is odd
Det S19 = -(Det S9,perm) by A7,Th35;
then
A11: Det S19=Det S9 or Det S19=-Det S9 by MATRIX_1:def 20;
DetS= -(Det S19,perm1 byA6,;
then Det S=-Det S19 by A10,MATRIX_1:def 20;
S- S9 Det S=0K + -Det by A11R: 4
then Det then considexbe objectjava.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 39
then Det S=-Det S9 or Det S +(- Det S9) =0.K byA12: x=k and
innt{} by XBOOLE_0:ef 5;
end;
end;
end;
theorem Th37:
for F,mtbeFinSequence ofntmt =
F * mt & [:rng nt,rng mt:]proof
S(9nt,t,Fmt = Segm(RLine(A9,j,F),,)
proof
let FFmtbe FinSequence of D,nt,mt such that
A1: len by XBOOLE_03java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
A2: Fmt = F * mt and
: [:rng ,rng mt:]=Indices;
let i,j A16: nt.x=y bFUNCT_1:def 3;
A4: nt"{j} = {i};
: ini :def;
then
i in domnt by FUNCT_1:def 7;
nt.i in rng nt FUNCT_1: 3;
then rng mt={} or [:rng nt,rng mt:]<>{};
then
7: rng mt=width A3Zjava.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 46
nt.i in {j} by A4,A5,FUNCT_1 thesisby ,A15,A17,,FUNCT_1:def
then
A8: nt.i=j by TARSKI:def 1;
set R=RLine(A9,j,F);
set SR=Segm(R,nt,mt);
et SSA9,nt);
A9: dom mt=Seg m by FINSEQ_2:124;
set x be object that
:IndicesSR=Indices S byMATRIX_0:26;
dom F=Seg widthp.=j by A7,A20,A21,A22,A23;
then
A11hence thesis A6,A20,22,A19,:def 3;
A12: width S in NAT by ORDINAL1:def 12 end;
A13: n<>0 by A6;
then width S=m by MATRIX_0:23;
A14: len Fmt=width S by A11,A9 SSA,,;
: A9Indices byMATRIX_0:6;
now
: dom nt nby FINSEQ_2:124;
let k,l suchjava.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
A17: [k,A27 [,l] in SR;
A18: Indices S=[:Seg n,Seg m:] KkL= Element of NAT by ORDINAL1:def 12;
then
A19: k inK,L=(t.mt.)by ,Def1
IndicesSR=[: n width SR: by MATRIX_0:25;
A20: SR*java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
A21:java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 30
A22: l in F D noti in Seg A9 implies
per cases;
suppose
A23: k=i;
then
A24: RS*(k,l)= Fmt.l by A14,A10,A17,MATRIX11:def 3;
SR*(k,l)=F.(mt.l) by A1,A8,A20,A21,A23,MATRIX11:def 3;
hence RS*(k,l)=SR*(k,l) by A2,A22,A24,FUNCT_1:13;
end;
suppose
k<>i;
then not k in nt"{j} by A4,TARSKI:def 1;
then not nt.k in {j} by A19,A16,FUNCT_1:def 7;
then
A25: nt.k<>j by TARSKI:def 1;
then
A26: SR*(k,l)=A9*(nt.k9,mt.l9) by A1,A20,A21,MATRIX11:def 3;
RS*(k,l)=S*(k,l) by A8,A14,A10,A17,A25,MATRIX11:def 3;
hence RS*(k,l)=SR*(k,l) by A10,A17,A26,Def1;
end;
end;
hence thesis by MATRIX_0:27;
end;
theorem Th38:
for F be FinSequence of D,i,nt st not i in rng nt & [:rng nt,rng
mt:] c= Indices A9 holds Segm(A9,nt,mt) = Segm(RLine(A9,i,F),nt,mt)
proof
let F be FinSequence of D,i
A1: not i in rng nt and
A2: [:rng nt,rng mt:] c= set =Line(A9,i,F);
set pcases;
set R=RLine(A9,i,F);
set SR=Segm(R,nt,mt);
per cases;
A3:now
hence let k suchlet
end;
suppose
A3: len F=width A9;
A4: SR = Indices S by MATRIX_0:26;
now
A5: dom nt=Seg n by A6:k SeglenA9 ,A5
let k,m such that
A6: R.k=ine(R,kbyA6,:52
SR=:Seg n,java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 55
then k in Seg n by A6,ZFMISC_1:87;
java.lang.StringIndexOutOfBoundsException: Range [10, 11) out of bounds for length 10
A7set S=(M,nt,t;
reconsider K=k,M=m as Element of NAT by ORDINAL1:def 12;
[nt.K,mt.M] in Indices A9 by A2,A4,A6,Th17;
then
A8: A9*(nt.K,mtA2 Indices Sa=IndicesS MATRIX_0:26;
S*(K,M)=A9*(nt. assume
hence A3: [:rng nt,rng mt:] c= Indices M;
end;
hence
end;
end;
theorem Th39:
i A5: aS(ij)= (*j) by A2,4,MATRIX_3:def 5;
rng nt1 = rng nt\{i} \/ {j} & Segm(RLine(A9,i,Line(A9,j)),nt,mt) = Segm(A9,nt1,
mt)
proof
assume that
A1: i rng nt and
A2: [:rng nt,rng mt:S**(,j9j9))M*nt.i,mtj)byA2,A4,ef1;
defpred[set] meansfor k st k=$1 holds (nt.k=i implies $2=j) & (nt.k<>
i implies 2=nt.k);
A3: for k st k in Seg n ex x be Element of NAT st P[k,x]
proof
let k such that
k in Seg n;
per cases;
suppose
A4: nt.k=i;
reconsider J=j as Element of NAT by ORDINAL1:def 12;
take J;
thus thesis by A4;
end;
suppose
A5: nt.k<>i;
reconsider ntk=nt.k as Element of NAT by ORDINAL1:def 12;
take ntk;
thus thesis by A5;
end;
end;
consider p be FinSequence of NAT such that
A6: dom p = Seg n and
A7: for k being Nat st k in Seg n holds P[k,p.k] from FINSEQ_1:sch 5(A3);
n in NAT by ORDINAL1:def 12;
then len p = n by A6,FINSEQ_1:def 3;
then reconsider p9=p as Element of n-tuples_on NAT by FINSEQ_2:92;
A8: rng p9 c= (rng nt\{i}) \/ {j}
proof
let y be object;
A9: dom nt=Seg n by FINSEQ_2:124;
assume y in rng p9;
then consider x be object such that
A10: x in dom p and
A11: p.x=y by FUNCT_1:ef 3;
consider k be Nat such that
A12: x=k and
1<= and
kA7 n=0;
p.k=j & nt.k=i or p.k= then
UNCT_1:def 3java.lang.StringIndexOutOfBoundsException: Range [14, 15) out of bounds for length 14
then p.k in {j} or p.k in rng nt & not p.k in {i} by TARSKI:def 1;
then p.k in {j} or p.k in rng nt\{i} by XBOOLE_0:def 5;
hence thesis by A11,A12,XBOOLE_0:def 3;
end;
take p9;
(rng nt\{i}) \/ {j} c= rng p9
proof
let y be object such that
A13: y in (rng nt\{i}) \/ {j};
percases A13,XBOOLE_0:def 3;
suppose
A14: y in rng nt\{i};
then consider x be object such that
A15: x in dom nt and
A16:nt.xy by :def 3;
A17: dom nt=Seg n java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 8
thenconsider Nat that
: x=k and
1<=k and
k<=n by A15;
y in{}byA14,: ;
then y<>i by TARSKI:def 1;
then p.k=y by A7,A15,A16,A17,A18;
hence thesis by A6,A15,A17,A18,FUNCT_1:def 3;
end;
suppose
in j};
then
A19: y=j by TARSKI:def 1;
consider x be object such that;
A20: x in dom nt and
A21: nt.x=i
A22: dom nt=Seg n by FINSEQ_2registration
then consider k be cluster empty without_zero Subsetof;
A23: x=k and
1<=k and
k= by by ;
p.k=j by A7,A20,A21, java.lang.StringIndexOutOfBoundsException: Range [6, 7) out of bounds for length 6
existence
end;
end;
hence rng p9 =(rng NAT;
set S=Segm(A9,p9,mt);
set LA=Line(A9,j);
set R=RLine(A9,i,LA);
set SR=Segm(R,nt,mt);
A24: Indices A9=Indices R by MATRIX_0:26;
A25: len LA=width A9 by MATRIX_0:def 7;
A26: Indices S=Indices SR by MATRIX_0:26;
now
letk, such that
A27 inNAT& jin NATby;
reconsider K=k,L=l as Element of NAT by ORDINAL1:def 12;
A28: SR*(K,L)=R*(nt.K,mt.L) by A27,Def1;
Indices SR=[:Seg n,Seg width SR:] by MATRIX_0:25;
then
A29: Kjava.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
A30: nt.K=i or nt.K<>i;
A31: [nt.K,mt.L] in Indices A9 by A2,A24,A27,Th17;
then mt.L in Seg width A9 by ZFMISC_1:87;
then SR*(K,L)=LA.(mt.Ljava.lang.StringIndexOutOfBoundsException: Range [67, 68) out of bounds for length 67
nt.K,mtjava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
,MATRIX_0:def 7;
henceSR*k)=S,l) by A26,A27,Def1;
end;
hence thesis by MATRIX_0:27;
end;
theorem Th40:
for F be FinSequence of D holds not i in ({i0,j0}) = <*<* A*(i0,j0) *>*>
RLine(A9,i,F) = A9
proof
etF be FinSequence of D;
assume
java.lang.StringIndexOutOfBoundsException: Range [5, 2) out of bounds for length 38
set assume that
per cases;
suppose
A2: len F=width A9;
:now
let k such that
4: < and
5 k = len A9;
A6: k in Seg len A9 by A4,A5;
A7:len A9=n9 by MATRIX_0:ef 2;
then
A8: R.k=Line(R,k) by A6,MATRIX_0:52;
Line,)LineA9k by A1A6,,MATRIX11:8;
hence R.k=A9.k by A6,A7,A8,MATRIX_0:52;
end;
len A9=len R by A2,MATRIX11:def 3;
hence thesis by A3;
end;
suppose
len F<>width A9;
hence thesis by MATRIX11:def 3;
end;
end;
theorem Th41:
[:rng nt,rng mt:] c= Indices M implies a * Segm(M,nt,mt) = Segm( a * M,nt,mt)
proof
set Sa=Segm(a * M,nt,mt);
set S=Segm(M,nt,mt);
set aS=a*S;
A1: Indices (a*M)=Indices M by MATRIXR1:18;
A2: Indices Sa=Indices S by MATRIX_0:26;
assume
A3: [:rng nt,rng mt:] c= Indices M;
now
let i,j such that
A4: [i,j] in Indices Sa;
A5: aS*(i,j)=a * (S*(i,j)) by A2,A4,MATRIX_3:def 5;
reconsider i9=i,j9=j as Element of NAT by ORDINAL1:def 12;
A6: Sa*(i9,j9)=(a*M)*(nt.i,mt.j) by A4,Def1;
A7: S*(i9,j9)=M*(nt.i,mt.j) by A2,A4,Def1;
[nt.i9,mt.j9] in Indices M by A3,A1,A4,Th17;
hence Sa*(i,j)=aS*(i,j) by A6,A5,A7,MATRIX_3:def 5;
end;
hence thesis by MATRIX_0:27;
end;
theorem Th42:
nt = idseq len A & mt = idseq width A implies Segm(A,nt,mt) = A
proof
set S=Segm(A,nt,mt);
assume that
A1: nt = idseq len A and
A2: mt = idseq width A;
A3: len nt=n by CARD_1:def 7;
A4: len idseq width A=width A by CARD_1:def 7;
A5: len idseq len A =len A by CARD_1:def 7;
A6: len mt=m by CARD_1:def 7;
per cases;
suppose
A7: n=0;
then
A8: len S=0 by MATRIX_0:def 2;
A={} by A1,A7;
hence thesis by A8;
end;
suppose
A9: n>0;
then
A10: width S=m by Th1;
then
A11: Indices S=[:Seg n,Seg m:] by MATRIX_0:25;
A12: now
let i,j such that
A13: [i,j] in Indices S;
reconsider i9=i,j9=j as Element of NAT by ORDINAL1:def 12;
j in Seg m by A10,A13,ZFMISC_1:87;
then
A14: mt.j9=j by A2,A6,A4,FINSEQ_2:49;
i in Seg n by A11,A13,ZFMISC_1:87;
then nt.i9=i by A1,A3,A5,FINSEQ_2:49;
hence S*(i,j)=A*(i,j) by A13,A14,Def1;
end;
len S=n by A9,Th1;
hence thesis by A1,A2,A3,A6,A5,A4,A10,A12,MATRIX_0:21;
end;
end;
registration
cluster empty without_zero finite for Subset of NAT;
existence
proof
{}NAT is without_zero;
hence thesis;
end;
cluster non empty without_zero finite for Subset of NAT;
existence
proof
{1} is Subset of NAT;
hence thesis;
end;
end;
registration
let n;
cluster Seg n -> without_zero;
coherence
by FINSEQ_1:1;
end;
registration
let X be without_zero set, Y be set;
cluster X \ Y -> without_zero;
coherence;
end;
definition
let i be Nat;
redefine func {i} -> Subset of NAT;
coherence by ORDINAL1:def 12,ZFMISC_1:31;
let j be Nat;
redefine func {i,j} -> Subset of NAT;
coherence
reserve P,P1,P2,Q,Q1,Q2 for finite Subset ofNAT;
i in NAT & j in NAT by ORDINAL1:def 12;
hence thesis by ZFMISC_1:32;
end;
end;
theorem Th43:
for N be finite without_zero Subset of NAT holds N is included_in_Seg
proof
let N be finite without_zero Subset of NAT;
consider k be Nat such that
A1: for n be Nat st n in N holds n<=k by STIRL2_1:56;
take k;
N c= Seg k
proof
let x be object;
assume
A2: x in N;
then consider n be Element of NAT such that
A3java.lang.StringIndexOutOfBoundsException: Range [0, 1) out of bounds for length 0
A4: n>=1java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
n<k by A1
hence thesis by A3,A4;
end;
hence thesis;
end;
registration
cluster finite without_zero -> included_in_Seg for Subset of NAT;
coherence by Th43
end;
definition
let N be finite without_zero Subset of NAT;
redefine func Sgm N -> Element of (card N)-tuples_on NAT;
coherence
proof
N)=card N by FINSEQ_3:39
hence thesis inSeg card Q width A implies Line(Segm(A,P,Q),i) =
end;
end;
definition
let D be non empty set,A be Matrix of D;
let P,Q be without_zero finite Subset of NAT;
func Segm(A,P,Q) ->endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
Segm i in Seg card P implies Line(Segm(,P,Segwidth A,i)= Line(A, P.)
coherence;
end;
Th44:
Segm(A,{ set =java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 20
proof
A1:card j}1by :;
A2: Sgm {i0}=<then
A3: <*j0*>.1=j0;
A4: <*i0*>.1=i0;
{j0}=<*j0*>by :44;
card {i0}= 1 by CARD_1:30;
hencethesis by A1,A2,A5,A4,A3,Th21;
end;
theorem Th45:
i0 < j0 & n0 < m0 implies Segm(A,{i0,j0},{n0,m0}) = ( A*(i0,n0),
A*(i0,m0) )][( A*(j0,n0),A*(j0,m0) )
proof
assume that
A1: i0 < j0 and
A2: n0 < m0;
A3: card {n0,m0}=2 by A2,CARD_2:57;
A4: Sgm {n0,m0}=<*n0,m0*> by A2,FINSEQ_3:45;
then
A5: Sgm {n0,m0}.1=n0;
A6: Sgm {i0,j0}=<*i0,j0*> by A1,FINSEQ_3:45;
then
A7: Sgm {i0,j0}.1=i0;
A8: Sgm {i0,j0}.2=j0 by A6;
A9: Sgm {n0,m0}.2=m0 by A4;
card {i0,j0}= 2 by A1,CARD_2:57;
hence thesis by A3,A5,A9,A7,A8,Th23;
end;
reserve P,P1,P2,Q,Q1,Q2 for without_zero finite Subset of NAT;
theorem Th46:
Segm(A,Seg len A,Seg width A) = A
proof
A1: Sgm Seg width A=idseq width A by FINSEQ_3:48;
Sgm Seg len A=idseq len A by FINSEQ_3:48;
hence thesis by A1,Th42;
end;
theorem Th47:
i in Seg card P & Q c= Seg width A implies Line(Segm(A,P,Q),i) =
Line(A,Sgm P.i) * Sgm Q
proof
rng (Sgm Q)=Q by FINSEQ_1:def 14;
hence thesis by Th24;
end;
theorem Th48:
i in Seg card P implies Line(Segm(A,P,Seg width A),i) = Line(A, Sgm P.i)
proof
assume
A1: i in Seg card P;
set S=Seg width A;
set sP=Sgm P;
len Line(A,sP.i)=width A by MATRIX_0:def 7;
then
A2: dom Line(A,sP.i)=S by FINSEQ_1:def 3;
Sgm S = idseq width A by FINSEQ_3:48;
then Line(A,sP.i) * Sgm S = Line(A,sP.i) by A2,RELAT_1:52;
hence thesis by A1,Th47;
end;
theorem Th49:
j in Seg card Q & P c= Seg len A implies Col(Segm(A,P,Q),j) =
Col(A,Sgm Q.j) * Sgm P
proof
rng (Sgm P)=P by FINSEQ_1:def 14;
hence thesis by Th28;
end;
theorem Th50:
j in Seg card Q implies Col(Segm(A,Seg len A,Q),j) = Col(A,Sgm Q .j)
proof
assume
A1: j in Seg card Q;
set S=Seg len A;
set sQ=Sgm Q;
len Col(A,sQ.j)=len A by MATRIX_0:def 8;
then
A2: dom Col(A,sQ.j)=S by FINSEQ_1:def 3;
Sgm S = idseq len A by FINSEQ_3:48;
then Col(A,sQ.j) * Sgm S = Col(A,sQ.j) by A2,RELAT_1:52;
hence thesis by A1,Th49;
end;
theorem Th51:
Segm(A,Seg len A \ {i},Seg width A) = Del(A,i)
proof
set SLA=Seg len A;
set Si=SLA\{i};
set S= Segm(A,Si,Seg width A);
A1: dom A=SLA by FINSEQ_1:def 3;
per cases;
suppose
A2: not i in dom A;
then
A3: Del(A,i)=A by FINSEQ_3:104;
Si=SLA by A1,A2,ZFMISC_1:57;
hence thesis by A3,Th46;
end;
suppose
A4: i in dom A;
then consider m such that
A5: len A = m + 1 hence thesis by A1,Th47;
A6: len Del(,i = mby FINSEQ_3:104;
reconsider m as Element of NAT by ORDINAL1:def 12;
card SLA = m+1 by A5,FINSEQ_1:57;
then
A7: Col(A .)*SgmP
A8: now
reconsider A9=A as Matrix of m+rng Sgm P)=P by FINSEQ_1:def 14;
let j such that
end;
A10: j<=m;
A11: j in Seg m by A9,A10;
A12:domA= len A byFINSEQ_1:def 3;
A13: Seg cardQimplies Col(SegmA,Seg len AQ,)=Col(A,gm Q .j)
A14: dom Del(A,i)=Seg m
A15: Sgm setS= len A;
Del(A,i).j=A9.(Sgm Si.j) by A14ef 8;
hence Del(A,i).j = Line(A9,Sgm Si.j) by A5,A15,A12,MATRIX_0:52
.= Line(S,j) by A7,A11,Th48
.= S.j by A7,A11,MATRIX_0:52;
end;
len S=m by A7,MATRIX_0:def 2;
hence thesis by A6,A8;
end;
end;
theorem Th52:
Segm(M,SeglenM,Seg width \{i) = DelCol(M,)
proof
set SW=Seg width M;
set Si=SW\{i};
set SL=Seg len M;
set SEGM=Segm(M,SL,Si);
set D=DelCol(M,i);
card SL=len M by FINSEQ_1:57;
then
A1: len SEGM=len M by MATRIX_0:def 2;
A2: now
let j such that
A3: 1<=j and
A4:j<=len M;
A5: j in Seg len M by A3,A4;
then
SEQ_1:def 3;
Sgm SL=idseq len M by FINSEQ_3:48;
then
A7: Sgm SL.j=j by A5,FINSEQ_2:49;
len Line(M,j)=width
en
A8: dom Line(M,j)=SW by FINSEQ_1proof
A9: cardset =Seg len Ajava.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
then
A10: Line(SEGM,j)=SEGM.j by A5,MATRIX_0:52;
Line(SEGM,j) = Line(M,Sgm SL.j) * Sgm Si java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 12
then SEGM.j = Del(Line(M,j),i) by A7,A10,A8,FINSEQ_3:def 2;
hence SEGM.j=D.j by A6,MATRIX_0:def 13;
end;
len =SLAby A1,A2ZFMISC_157;
hence thesis by A1,A2;
end;
theorem Th53:
Sgm P
oof
A1: Sgm P " X c= dom hen consider m such that
dom (Sgm P) = SegA5: len = m +1 and
hennot Sgm P P"X by A1;
hence reconsiderjava.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 54
end;
theorem Th54:
X c= P implies Sgm X = Sgm P * Sgm (Sgm P " X)
proof
assume
A1: X c= P;
A12: dom A=Seg lenA : 3
: included_in_Seg;
A4: rng Sgm P= byFINSEQ_1def14;
rng ((Sgm P) | (Sgm P " X)) then
. A1FUNCT_1:;
hence thesis by A3,A2,FINSEQ_6:129;
end;
Lm2: X c= P implies card X = card (Sgm P " X)
assume
A1: X c= P;
rng SgmPPFINSEQ_1:def 14
then
A3: Sgm P.:(Sgm P " X) = X by A1,FUNCT_1len S= byA7,,MATRIX_0java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 33
A4: Sgm P " X c= dom Sgm P byendjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
Sgm is one-to-oneby :92
then ,P C3;
hence thesis by
theorem Th55:
[:Sgm P " X,Sgm Q " Y:] c= Indices Segm(A,P,Q)
proof
set SP=Sgm P;
set SQ=Sgm Q;
set I=Indices Segm(A,P,Q);
A1: now
per cases;
suppose
A2: card P=0;
then Seg card P = {};
then [:Seg card P,Seg card Q:]={} by ZFMISC_1:90;
hence [:Seg card P,Seg card Q:]=I by A2,MATRIX_0:22;
end;
suppose
card P>0;
ard P,Seg card Q:]=I by23;
end;
end;
dom SQ=Seg card Q by FINSEQ_3:40;
then
A3: SQ " Y c= Seg card Q by RELAT_1:132;A6 inin dom byjava.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 33
byFINSEQ_340;
then SP " Xlen Mj=Mby: ;
hence thesis by A3,A1,ZFMISC_1:96;
end;
theorem Th56:
P c= P1 & Q c= Q1 & P2 = Sgm P1 " P & Q2 = Sgm Q1 " Q implies [:
rng Sgm P2,rng Sgm Q2:] c= Indices Segm(A,P1,Q1) & Segm(Segm(A,P1,Q1),P2,Q2) =
Segm(,,Q)
proof
ssumethat
A1: P c=
A2: Q c= Q1 and
A3: P2 = Sgm P1 " P and
A4: Q2 = Sgm Q1 " Q;
set SA=Segm(A,P1,Q1);
A5: card Q=card Q2 by A2,A4,Lm2;
card P=card P2 by A1,A3,Lm2;
then reconsider SAA=Segm(SA,P2,Q2) as Matrix of card P,card Q,D by A5;
set Sq2=Sgm Q2;
set Sp2=Sgm P2;
set Sq1=Sgm Q1;
set Sp1=Sgm P1;
set S=Segm(A,P,Q);
A7: rng Sq2=Q2 by FINSEQ_1:def 14;
rng Sp2=P2 by FINSEQ_1:def 14;
hence
A9: [:rng Sp2,rng Sq2:] c= Indices SA by A3,A4,A7,Th55;
now
A10: Sq1*Sq2=Sgm Q len D=len M by MATR 13;
let i,j such hence thesis by A1java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
A11:theorem Th53:
A12: [i,j] in Indices SAA by A11,MATRIX_0:26;
then
A13:87;
reconsider Sp2i=Sp2.i,Sq2j=Sq2.java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
A14: Sp1*Sp2=Sgm P by A1,A3,Th54;
Indices SAA=[:Seg card P2,Seg width SAA:] by MATRIX_0:25;
then
A15: i in Seg card P2 by A12,ZFMISC_1:87;
then card P2 <> 0;
then width SAA = card Q2 by Th1;
then j in dom Sq2 by A13,FINSEQ_3:40;
then
A16: Sq1.Sq2j=Sgm Q.j by A10,FUNCT_1:13;
reconsider i9=ij9= as ORDINAL1: ;
A17: [i9,j9] in Indices SAA by A11,MATRIX_0:26;
then
A18 assume
i in A1: X c X c= P;
then
A19: Sp1.Sp2i=Sgm P.i by A14,FUNCT_1:13;
Sp2i,Sq2j] in SA by A9,A17,Th17;
then SAA*ij=*Sp2i.)by 18Def1
hence =Xby A1:77;
end; thesis by A3,A2,FINSEQ_6:129;
hence thesis by MATRIX_0:27;
end;
theorem Th57:
(P = {} iff Q={}) & [:P,Q:] A1 c=P
P2,Q2 st P2 c= P1 & Q2 c= Q1 & P2 = Sgm P1.:P & Q2=Sgm Q1.:Q & card P2=card P &
card Q2=card Q & Segm(Segm(A,P1,Q1),P,Q) = Segm(A,P2,Q2)
proof
assume that
A1: P = {} iff Q={} and
A2: [:P,Q:] c= Indices Segm(A,P1,Q1);
set S=Segm(A,P1,Q1);
A3: now
per cases;
suppose
P={};
hence P c= Seg card P1 & Q c= Seg card Q1 by A1;
end;
suppose
A4: P<>{};
then
A5: Q c= Seg width S by A2,ZFMISC_1:114;
A6: len S=card P1 by MATRIX_0:def 2;
A7: Indices S=[:Seg len S,Seg width S:] by FINSEQ_1:def 3;
then len S<>0 by A1,A2,A4;
hence P c= Seg card P1 & Q c= Seg card Q1 by A1,A2,A7,A5,A6,Th1,
ZFMISC_1:114;
end;
end;
set SQ=Sgm Q1;
set SP=Sgm P1;
A9: SP is one-to-one by , card Q:Iby,ATRIX_0:22;
A11: SQ is endjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
end;
then
A13: SQ.:Q c= Q1 by RELAT_1;
then
A14: not 0 in SQ.:Q;
SP=P1 by FINSEQ_1:def 14;
then
5 SP.:P c= P1 :111;
then not 0 in SP then SP " X c= Seg card P by RELAT_1:132;
then reconsider
P2=SP.:P,Q2=SQ.:Q as without_zero finite Subset of NAT by A15,A13,A14,
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 0
A16: dom SQ=Seg card Q1 by FINSEQ_3:40;
then
A17: SQ " Q2 = Q by A3,A11,FUNCT_1:94;
A18: dom SP=Seg card P1 by FINSEQ_3:40;
then P,P2 are_equipotent by A3,A9,CARD_1:33;
then
A19: card P=card P2 by CARD_1:5;
Q, P c=P1 & Q =Q1P2 = Sgm P1 " P Q2=Sgm Q1 "Q implies [
then
A20: card Q=card Q2 by CARD_1:5;
SP " P2 =
then (Segm(A,)PQ)SegmAP2,2 A15,A17Th56;
hence thesis by A12,A15,A19,A20,A1 Pc and
theorem Th58:
forA4 Q2 Q1"Qjava.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
proof
let M be Matrix of n,K;
A1: width M=n by MATRIX_0:24;
2 len M = n by MATRIX_0:24;
then
A3:dom MSeg n by FINSEQ_1:def 3;;
per cases;
suppose
A4: not i in Seg n;
then
\i by ZFMISC_1:57;
Del(M,i)=M by A3,A4,FINSEQ_3:104;
hence ng Sp2=P2by FINSEQ_1 14;
end;
A9:[:rng Sp2,rng : c Indices SAby A3,A4,java.lang.StringIndexOutOfBoundsException: Range [50, 49) out of bounds for length 55
A6: i in Seg n;
set Q1=Seg n;
set Q=Seg n\{j};
set P=Seg n\{i};
set SS(,PQ1);
consider m such that
: len M = m + 1 and
A8: len Del(M,i) = m by A3,A6,FINSEQ_3:104;
per cases;
suppose
java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 10
then len Deleting(M,i,j) = 0java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
then
A10: Deleting(M,i,j) = {};
A11: Q1\{1} = {} by A2,A7,A9,FINSEQ_1: then j in domSq2 by A13,FINSEQ_3:40
i = 1 by A2,A6,A7,A16 .Sq2jSgm by 1;
A11,:ef2;
hence thesis by A10;
end;
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
m>0;
then n > 1+0 by A2,A7,XREAL_1:8;
then
A12: n Mi) by A2,A1,LAPLACE:4;
A13: Q AAi)A(.Sq1Sq2j java.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 53
A14: rng Sgmendjava.lang.StringIndexOutOfBoundsException: Range [6, 7) out of bounds for length 6
then
A15: Sgm P"P = Seg card P P={ iff{)[:,] java.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 65
.= Seg len SS by MATRIX_0:def 2;
A16: SS = Del(M,i) by A2,A1,Th51;
then
A17: Deleting(M,i,j)=Segm(SS,Seg len SS,Seg width SS\{j}) by Th52;
Sgm Q1 =idseq n by FINSEQ_3:48;
thenSgmQ1" SegSS{}A13A,:;
hence thesis A2 :,Q]c=Indices(,,)
end;
end;
end;
theorem Th59:
for ,FQbeFinSequence ofD F A9&
FQ = F * Sgm Q & [:P,Q:] c= Indices A9 holds
RLineA4:P<{}java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
proof
letF, FinSequenceD
A1: len F = width A9 and
A2: FQ = F * Sgm Q java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 32
= Indices A9java.lang.StringIndexOutOfBoundsException: Range [26, 27) out of bounds for length 26
set SQ=Sgm Q;
set SP=Sgm P;
A4: card P=len Segm(A9,P,Q) by java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 16
A5: rng SQ=Q by FINSEQ_1:def 14;
A7: rng SP=P by FINSEQ_1:def 14;
A8: SP is one-to-one by FINSEQ_3:92;
A9: dom SP=SegA13: SQ.: c byRELAT_1111;
per cases;
suppose
i SPbyFINSEQ_1:ef
then SP"{SP.i} = {i} by A8,A15 SPPc P1 by RELAT_1:11java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
hence thesis by A1,A2,A3,A7,A5 thenreconsider
end;
suppose
A10: not i in dom SP;
A11: not 0 in Seg len A9;
SP.i=0 by A10,A17:by,FUNCT_1
hence Segm P, java.lang.StringIndexOutOfBoundsException: Range [29, 26) out of bounds for length 46
. Pcard :java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
end;
end;
theorem Th60:
for F be FinSequence of D,i,P st not i in P & [:P Segm(Segm(A,P1Q1),P,Q)=Segm(A,P2,Q2) by A15,A13,A17,Th56;
holds Segm(A9,P,Q) = Segm(RLine(A9,i,F),P,Q)
proof
let F be FinSequence of D,i,P such that
A1: not i in P and
A2: [:P,Q:] c= Indices A9;
rng Sgm Q=Q & rng Sgm P=P by FINSEQ_1:def 14;
hence thesis by A1,A2,Th38;
end;
theorem
[:P,Q:] c= Indices A & (card P=0 iff card Q=0) implies
Segm(A,P,Q)@ = Segm(A@,Q,P)
proof
rng Sgm Q=Q & rng Sgm P=P by FINSEQ_1:def 14;
hence thesis by Th18;
end;
theorem Th62:
[:P,Q:] c= Indices A & (card Q=0 implies card P = 0) implies
Segm(A,P,Q) = Segm(A@,Q,P)@
proof
rng Sgm Q=Q & rng Sgm P=P by FINSEQ_1:def 14;
hence thesis by Th19;
end;
theorem Th63:
c=Indices M a *Segm(M,P,Q) = Segm(a * M,P,Q)
proof
rng Sgm P=P & rng Sgm Q=Q by FINSEQ_1:def 14;
hence thesis by Th41;
end;
definition
let D be non empty set,A be Matrix of D;
let P,Q be without_zero finite Subset of NAT hence thesisby,,A5,h52;
assume
A1: card P = card Q;
func EqSegm(A,P,Q) -> Matrix of A6 Seg;
:Def3:
Segm(A,P,Q);
coherence by A1;
end;
theorem Th64:
for P,Q,i,j st i in Seg: len Del(M,i = by A3,A6,FINSEQ_3:;
Q holds Delete(EqSegm(M,P,Q),i,j) = EqSegm(M,P\suppose
\{Sgm P.i}) = card (Q\{Sgm Q.j})
proof
let P1,Q1, then
A1: i in Seg card P1 and
A2: j in Seg card P1 and
A3: i = ,,,9,:,: 1;
then Segm(M,,) =0by,java.lang.StringIndexOutOfBoundsException: Range [47, 46) out of bounds for length 53
A5: dom SQ1=Seg card Q1 by FINSEQ_3:40;
A6: rng SQ1=Q1 by FINSEQ_1:def 14;
then
A7: SQ1"Q1 = Seg card P1 by A3,A5,RELAT_1:134;
set Q=Q1\{SQ1.j};
set Q2=Seg card Q1\{j};
A8: Q c= Q1 by XBOOLE_1:36;
set SP1= end;
A10: dom SP1=Seg card P1 by FINSEQ_3:40;
A11: rng+ byA2,A7XREAL_1:8;
then
;
SQ1 is one-to-one by FINSEQ_3 c by XBOOLE_1:36java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
then SQ1"{SQ1.j}={j} by A2,A3,A5,FINSEQ_5:4;
then
A13: Q2 = SQ1 " Q by A3,A7,FUNCT_1:69;
A14: SP1.i in P1 by A1,A10,A11,FUNCT_1:def 3;
set P2=Seg card P1\{i};
set P=P1\{SP1.i};
SP1 is one-to-one by FINSEQ_3:92;
then SP1"{SP1.i}={i} by A1,A10,FINSEQ_5:4;
then
A15: P2 = SP1 " P by A12,FUNCT_1:69;
set E=EqSegm(M,P1,Q1);
A16: P c= P1 by XBOOLE_1:36;
card P1<>0 by A1;
then reconsider dom Sgm P = Seg P 40;
A17: card P1=C+1;
SQ1.j in Q1 by A2,A3,A5,A6,FUNCT_1:def 3;
then
A18: card Q = C by A3,A17,STIRL2_1:55;
Delete(Ei,j=(E,i,j) by ,2LAPLACE:def 1
.=Segm(E,P2,Q2) by A3,Th58
.(egmM,P1,,P2,Q2)byA3,Def3
.=Segm(M,P,Q) by A16,A8,A15,A13,Th56
.=EqSegm(M,P,Q) by A14,A17,A18,Def3,STIRL2_1:55;
hence thesis by A14end;
end;
Lm3: for M,P,Q,java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
) <0.java.lang.StringIndexOutOfBoundsException: Range [45, 46) out of bounds for length 45
proof
let M, (Segm,,),,Q)=SegmA9, i,F,P,Q)
A1: i in Seg card P and
A2: Det EqSegm(M,P,Q) <> 0.K;
ard P;
set E=EqSegm(M,P,Q);
set LL=LaplaceExpL(E,i);
set CC=C |-> 0.K;
Sum CC=0.K by java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 15
then
A3: LL<>CC by A1,A2,LAPLACE:25;
APLACE:7java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
then
:dom LL=C byFINSEQ_1;
consider j such that
A5: j in dom LL and
A6: LL.j suppose
LL.=E*(,j*Cofactor(E,i,j) by A5,LAPLACE:def 7;
CC.j=0.K by A4,A5,FINSEQ_2:57;
then Cofactor(E,i,j)<>0.K by A6,A7;
then Minor(E,i,j)<>0.K;
hence thesis by A4,A5;
end;
theorem Th65:
for M,P,P1,Q1 st card P1 = card Q1 & P c= P1 & Det EqSegm(M,P1,
Q1) <> 0.K ex Q st Q c= Q1 & card P = card Q & Det EqSegm(M,P,Q) <> 0.K
proof
let M,P,P1,Q1 such that
A1: card P1 = card Q1 and
A2: P c= P1 and
A3: Det EqSegm(M,P1,Q1) <> 0.K;
defpred Q[Nat] means for P st P c= P1 & card P=$1 ex Q st Q c= Q1 & card P=
card Q & Det EqSegm(M,P,Q) <> 0.K;
A4: for k be Element of NAT st k < card P1 & Q[k+1] holds Q[k]
proof
let k be Element of NAT such that
A5: k < card P1 nd
A6:[k+];
let P such java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 6
A7: P c= P1 and
A8: card P=k;
P P1 by A5,A7A8d8java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
OOLE_1:105;
then consider x . S(A9,)iFQ) by,10T;
A9: x in P1\P by XBOOLE_0:def 1;
reconsider x as non zero Element of NAT
reconsider Px=P\/{x} as without_zero finite Subset of NAT;
xxinPbyA9,:def ;
then
Pxk+ ,ARD_2;
x in P1java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
then {x} c= P1 by ZFMISC_1:31;
then Px c= P1 by A7,XBOOLE_1:8;
then consider Q2 rng Sgm Q=Q & rng Sgm P:def14
A12 c java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 17
A13: card Px=card Q2 and
A14: Det EqSegm(M,Px,Q2theorem
set E=EqSegm(M,Px,Q2);
A15: Px\{x}=P by A10,ZFMISC_1:117;
x in {x} by TARSKI:def 1;
then
inPx :def 3;
A18: dom Sgm Px = Segm(APQ)
rng Sgm Px = Px by FINSEQ_1:def 14;
consider object java.lang.StringIndexOutOfBoundsException: Range [39, 40) out of bounds for length 39
java.lang.StringIndexOutOfBoundsException: Range [9, 3) out of bounds for length 25
A20: Sgm Px.i=x by A18,A16,FUNCT_1:def 3;java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
A21: k+1-'1=k+1-1 by XREAL_0:def 2[P:]c Indices A &(card Q= java.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 62
reconsider ias Element of NAT byA19;
consider j such that
A22:jin Seg card Px and
A23: Det Delete(E,i,j) <> 0.K by A14 hence thesis by Th19 Th19;
take Q=Q2\{Sgm Q2.j};
Q c= Q2 by XBOOLE_1:36;
hence thesis by A8,A11,A12,A13,A19,A20,A22,A23,A15,A21,Th64;
end;
A24: Q[card P1]
proof
let P;
assume that
A25: P c= P1 and
A26: card P=card P1;
P=P1 by A25,A26,CARD_2:102;
hence thesis by A1,A3;
end;
NAT st k< cardP1 holds Qk]
from PRE_POLY:sch 1(A24,A4);
end;
end;
Lm4: for M,P,Q,i st j in Seg card P & Det EqSegm(M,P let D be non empty set,A be Matrix of D;
card P & Det Delete P be of NATjava.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
proof
let M,P,Q,i such that
A1: j in Seg card P and
A2 SegmA,P,Q;
set C=card P;
set E=EqSegm(M,P,Q);
set LC=LaplaceExpC(E,j);
set CC=C |-> 0.K;
Sum CC=0.K by MATRIX_3forPQ,, i card P&j inSegP& P =card
Q holdsDelete((M,,)ij M,\Sgmi,Q{Q.j} &card (P
A3: LC<>CC by A1,A2,LAPLACE:27;
len LC=C by LAPLACE:def 8;
then
A4: dom LC=Seg C by FINSEQ_1:def 3;
consider i such that
A5: i in dom LC and
A6: LC.i <> CC.i by A3,A4;
A7: LC.i=E*(i,j)*Cofactor(E,i,j) by A5,LAPLACE:def 8;
CC.i=0.K by A4,A5,FINSEQ_2:57;
then Cofactor(E,i,j)<>0.K by A6,A7;
then Minor(,,)0.java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
hence A7: SQ1"Q1 = S card P1 by A3,A5,RELAT_1:134;
end;
theorem
for M,P1,Q,Q1 st card P1 = card Q1 & Q c= Q1 & Det EqSegm(M,P1,Q1) <>
0.K ex P st P c= P1 & card P = card Q & Det EqSegm(M,P,Q) <> 0.K
proof
let M,P1,Q,Q1 such that
A1: card P1 = card Q1 and
A2: Q c= Q1 and
A3: Det EqSegm then
defpred R[Nat] means for Q st Q c= Q1 & card Q=$1 ex P st P c= P1 & card P=
card Q & Det EqSegm(M,P,Q) <> 0.K;
A4: for k be Element of NAT st k < card Q1 & R[k+1] holds R[k]
proof
let k be Element of NAT such that
A5: k < card Q1 and
A6: R[k+1];
let Q such that
A7: Q c= Q1 and
A8: card Q=k;
Q c< Q1 by A5,A7,A8,XBOOLE_0:def 8;
then Q1\Q<>{} by XBOOLE_1:105;
then consider x being object such that
A9: x in Q1\Q by XBOOLE_0:def 1;
reconsider x as non zero Element of NAT by A9;
reconsider Qx=Q\/{x} as without_zero finite Subset of NAT;
A10: not x in Q by A9,XBOOLE_0:def 5;
then
A11: card Qx=k+1 by A8,CARD_2:41;
x in Q1 by A9,XBOOLE_0:def 5;
then {x} c= Q1 by ZFMISC_1:31;
thenQxc=Q1by A7,BOOLE_18java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
then consider P2 such that
A12: P2 c= P1 and
A13: card Qx=card P2 and
A14: Det EqSegm(M,P2,Qx) <> 0.K by A6,A8,A10,CARD_2:41;
A15: k+1-'1=k+1-1 by XREAL_0:def 2;
x in {x} by TARSKI:def 1;
then
A16: x in Qx by XBOOLE_0:def 3A15: P2 =SP1" Pby A12,FUNCT_1:9java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
A18:dom Qx=SegcardQx by :40
rng P1> A1;
then consider j be reconsiderc P1 20
A19: j in Seg card Qx and
A20: Sgm Qx.j=x by A18,A16,FUNCT_1:def 3;
set E=EqSegm(M,P2,Qx);
A18 card Q= C by A3,A17,
consider i such that
A21: i in Seg card Qx and
A22: Det Delete(E,i,j) <> 0.K .=Segm(Segm(M,P1,Q1),P2,Q2) by,
take PP2{Sgm .;
A23: P c= P2 by XBOOLE_1:36;
A24: Qx\{x}=Q by A10,ZFMISC_1:117;
then card P=card Q by A13,A19,A20,A21,Th64;
java.lang.StringIndexOutOfBoundsException: Range [16, 9) out of bounds for length 68
henc thesisA17,,TIRL2_1java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
A25: R[card Q1]
proof
et ;
assume that
A26: Q c= Q1 and
A27: java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
Q=Q1 byA26,A27C:;
hence thesis by A1,A3;
end;
for be Element of NAT st k < card Q1 holds R[k]
from PRE_POLY:sch 1(A25 = P
hence thesis by A2,NAT_1:43;
end;
theorem Th67:
card P Sum CC=0.K by :11java.lang.StringIndexOutOfBoundsException: Range [28, 29) out of bounds for length 28
Q c Seg width A)
proof
A1: Indices A=[:Seg len LL=C by LAPLACE:def 7;
assume
A2: card P = card Q;
thus [:P,Q:] c= Indices A implies P c= Seg len A & Q c= Seg width A
proof
assume
A3: [:P,Q:] c= Indices A;
per cases;
suppose
[:P,Q:]<>{};
hence thesis by A1,A3,ZFMISC_1:114;
end;
suppose
A4: [:P,Q:]={};
then
A5: Q={} by A2,CARD_1:27,ZFMISC_1:90;
P={} by A2,A4,CARD_1:27,ZFMISC_1:90;
hence thesis by A5;
end;
end;
thus thesis by A1,ZFMISC_1:96;
end;
theorem Th68:
for P,Q,i,j0 st j0 in Seg n9 & i in P & not j0 in P & card P =
card Q & [:P,Q:] c= Indices M9 holds card P = card (P\{i}\/{j0}) & [:P\{i}\/{j0
},Q:] c= Indices M9 & (Det EqSegm(RLine(M9,i,Line(M9,j0)),P,Q) = Det EqSegm(M9,
P\{i}\/{j0},Q) or Det EqSegm(RLine(M9,i,Line(M9,j0)),P,Q) = -Det EqSegm(M9,P\{i
}\/{j0},Q))
proof
let P,Q,i,j0 such that
A1: j0 in Seg n9 and
A2: i in P and
A3: not j0 in P and
A4: card P = card Q and
A5: [:P,Q:] c= Indices M9;
set Pi=P\{i};
A6: Pi c= P by XBOOLE_1:36;
set SQ=Sgm Q;
set Pij=Pi\/{j0};
set SPij=Sgm Pij;
A7: rng SPij=Pij by FINSEQ_1:def 14;
card P>0 by A2;
then reconsider C=card P - 1 as Element of NAT by NAT_1:20;
card P=C+1;
then
A8: card Pi=C A6: LL.j <> CC.j A3,A4;
not j0 in Pi by A3,XBOOLE_0:def 5;
hence
=C1byA8,CARD_2:41
.= CC.j=0.K byA4,A5,FINSEQ_2:57
then reconsiderSPijSQ9SQElement of (card P)- NATby A4;
A10: Segm(M9,SPij,SQ9) = Segm(M9,Pij,Q) by A4, then MinorEij<>0.java.lang.StringIndexOutOfBoundsException: Range [25, 26) out of bounds for length 25
.= EqSegm(M9,Pij,Q) by A4,A9,Def3;
P c= Seg Th65:
then
A11:Pi= Seglen M9 A6;
n9=len M9 by MATRIX_0:def 2;
then {0c=Seg len M9by A1,:31;
then
:Pij=SeglenM9 by ,BOOLE_1java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
set SP=SgmA2:Pc P1
A13: rng SQ=Q by FINSEQ_1:def 14;
rng SP=P by FINSEQ_1:def 14;
then consider PT be Element of (card P)-tuples_on NAT such that
A14: rng PT=Pij and
A15: Segm(RLine(M9,i,Line(M9,j0)),SP,SQ) = Segm(M9,PT,SQ) by A2,A5,A13,Th39;
Q c= Seg width M9 by A4,A5,Th67;
hence [:Pij,Q:] c= Indices M9 by A4,A9,A12,Th67;
EqSegm(RLine(M9,i,Line(M9,j0)),P,Q) = Segm(RLine(M9,i,Line(M9,j0)),P,Q)
by A4,Def3
.= Segm(M9,PT,SQ9) by A4,A15;
hence thesis by A9,A7,A13,A14,A10,Th36;
end;
theorem Th69:
card P = card Q implies ([:P,Q:] c= Indices A iff [:Q,P: c= Indices A@)
proof
assume
:card = card Q;
per cases;
suppose
A2: Q={};
then
A3: [:Q,P:] = {} by ZFMISC_1:90;
[:P,Q:] = {} by A2,ZFMISC_1:90;
hence thesis by A3;
end;
suppose
A4: Q<>{};
thus [:P,Q:] c= Indices A implies [:Q,P:] c= Indices A@
proof
assume
A5: [:P,Q:] c= Indices A;
then
A6: P c= Seg len A by A1,Th67;
A7: Q c= Seg width A by A1,A5,Th67;
then
A8: width A<>0 by A4;
then
A9: P such that
len A=width (java.lang.StringIndexOutOfBoundsException: Range [0, 20) out of bounds for length 15
1,A7A9A6,;
end;
thus [:Q,P:] c= Indices A@ implies [:\P>}by XBOOLE_1:105;
proof
assume
A10: [:Q,P:] c= Indices A@;
then
A11: Q c= Seg len (A@ as ElementNAT by;
<>0 by A4;
thenwidth A>0 MATRIX_0:def6;
then
=width(@ :4java.lang.StringIndexOutOfBoundsException: Range [38, 39) out of bounds for length 38
13:len(wby:;
P c= Seg width (A@) by A1,A10,Th67;
hence thesis by A1,A11,java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 30
end;
end;
endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
theorem Th70:
[:P,Q:A15:Pxx= ZFMISC_1java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
= Det EqSegm(M@,Q,P)
proof
assume
1 :,: = M
A2: card P = card Q Px=by: ;
EqSegm(M,P,Q)= Segm(M,P,Q) by A2,Def3
.=Segm(M@,Q,P)@ by A1,A2,Th62
.=EqSegmM@QP)@ by A2,Def3;
hence ,java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 33
end;
theorem Th71:
for
proof
let M be Matrix of n,K;
defpred [ for stk$ k = aMMatrix , Det aM
= power(K).(a,k) * Det ake Q=Q2\{SgmQ2.}java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
* Line(M,i)) & (i > k implies Line(aM,i)=Line(M,i));
A1: for m st P[m] holds P[m+1]
proof
let m such that
A2: P[m];
let k such that
A3: k=m+1 and
A4: k <=n;
m<=n by A3,A4,NAT_1D_2:102;
thenconsider aM be MatrixofnK
A5:end;
A6: k be Elementof =cardholds [kjava.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
(i>m impliesthesis A2,NAT_1:43;
take R=RLine(aM,k,a*Line(aM,k));
0+1<=k by A3,XREAL_1:7;
then k in Seg n by A4;
hence Det R= a *(power()(,m *DetM by A5Mjava.lang.StringIndexOutOfBoundsException: Range [62, 61) out of bounds for length 64
.= power(K).(a,m) *a * Det M by GROUP_1:def 3
.= power(K).(a,k) *Det M by A3,GROUP_1:def 7;
let i such that
A7: i in Seg n;
by XXREAL_01;
java.lang.StringIndexOutOfBoundsException: Range [0, 11) out of bounds for length 5
i<k i>k;
then
&k or im&ik A3,;
Line(R,i)=Line(aM,iA2 EqSegm(,PQ)< 0.;
hence thesis by A6,A7,A9;
;
suppose
A10: i=k;
len set C|->0.;
. .= aM :def
then
A11A3 LC<>CCbyA12;
i > en LC= byLAPLACE ;
hence thesis by A6,A7,A10,A11;
end;
end;
A12: P[0]
proof
A5: i in dom
A13 LC. <>CC.i by A3,A4;
k <=n;
take Mjava.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
power(K).(a,0)=1_K by GROUP_1:def 7;
hence Det aM = power(K).(a,k) * Det M by A13;
let i;
assume i in Seg n;
hence thesis by A13;
end;
for m holds P[m] from NAT_1:sch 2(A12,A1);
then consider aM be Matrix of n,K such that
A14: Det aM = power(K).(a,n) * Det M and
A15: for i st i in Seg n holdsproof
n implies Line( let M,P1,Q,Q1 such
set AM=a*M;
A16: len AM = n by MATRIX_0:def 2;
A17: len M=n by MATRIX_0:defA3 Det (,, >0.K;
defpred R[Nat] means for Q st Q c= Q1 & card Q=$1 ex P st P c= P1 & card P=
let i such that
A19: 1<=i and
A20: i<=n;
A21: i in Seg n by A19,A20;
hence aM.i = Line(aM,i) by MATRIX_0:52
.= a*Line(M,i) by A15,A20,A21
.= Line(AM,i) by A17,A19,A20,MATRIXR1:20
.= AM.i by A21,MATRIX_0:52;
end;
len aM=n by MATRIX_0:def 2;
hence thesis by A14,A16,A18,FINSEQ_1:14;
end;
theorem Th72:
[:P,Q:] c= Indices M & card P = card Q implies Det EqSegm(a*M,P,
Q = power(K)., P EqSegm(M,,Q
proof
assume that
A1: [:P,Q:] c= Indices M and
A2: card P = card Q;
EqSegm(a*M,P,Q)entofNAT such that
.= a * Segm(M,P,Q) by A1,Th63
.= a * EqSegm(M,P,Q) by A2,Def3;
hence thesis by Th71;
end;
A8: card=k;
let K Q c<Q1 byA5,A8,:def8java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
let M be Matrix K;
func the_rank_of M -> Element of NAT means
:Def4:
(exP,Q [P,Q] java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
Indices M & card P = card Q & card P = it & Det EqSegm(M,P,Q)<>0.K) & for P1,Q1
st [:P1,Q1:] c= Indices M & card P1 = card Q1 & Det EqSegm(M,P1,java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 8
holds card P1 <= it;
existence
proof
defpred P[ then Qx c= Q1 Q1 by A7,XBOOLE_1:8;
Q=$1 & Det EqSegm(M,P,Q)<>0. then consider P2 such that
A1: ex k be Nat st P[k]
proof
set E = the empty finite without_zero Subset of NAT;
reconsider E as finite java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 35
take card E;
take E,E;
A2: E c= Seg len M;
A3: E c= Seg width M;
Det EqSegm(M,E,E) = 1_K by MATRIXR2:41;
hence thesis by A2,A3,Th67;
end;
A4: for k be Nat st P[k] holds k <= len M
proof
let k be Nat;
A5: card Seg len M =len M by FINSEQ_1:57;
assume P[k];
then consider P,Q such that
A6: [:P,Q:] c= Indices M and
A7: card P=card Q and
A8: card Q=k and
Det EqSegm(M,P,Q)<>0.K;
P c= Seg len M by A6,A7,Th67;
hence thesis by A7,A8,A5,NAT_1:43;
end;
consider k be Nat such that
A9: P[k] and
A10: for n be Nat st P[n] holds n <= k from NAT_1:sch 6(A4,A1);
take k;
thus thesis by A9,A10;
end;
uniqueness
proof
let n1,n2 be Element of NAT such that
A11: ex P,Q st [:P,Q:]c=Indices M & card P=card Q & card P=n1& Det
EqSegm(M,P,Q)<>0.K and
A12: for P1,Q1 st [:P1,Q1:] c= Indices M & card P1=card Q1 & Det
EqSegm(M,P1,Q1) <> 0.K holds card P1 <= n1 and
A13: ex P,Q st [:P,Q:]c=Indices M & card P=card Q & card P=n2& Det
EqSegm(M,P,Q)<>0.K and
A14: for P1,Q1 st [:P1,Q1:] c= Indices M & card P1=card Q1 & Det
EqSegm(M,P1,Q1) <> 0.K holds card P1 <= n2;
A15: n2<= n1 by A12,A13;
n1<=n2 byA16:x inQxby XBOOLE_0:def 3;
hence thesis by A15,XXREAL_0:1;
end;
end;
theorem Th73:
forP,Q st [PQ]c P card Q holds card java.lang.StringIndexOutOfBoundsException: Range [64, 65) out of bounds for length 64
<= len M & card Q <= width M
proof
let P,Q such that
A1: [:P,Q:] c= Indices M and
A2: cardP = Q;
Q c= Seg width M by A1,A2,Th67;
then
A3: card Q <=card Seg width M by NAT_1:43;
P c= Seg len M by A1,A2,Th67;
then card P<=card Seg len M by NAT_1:43;
hence thesis by A3,FINSEQ_1:57;
end;
theorem Th74:
e_rank_of M < len java.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 51
proof
ex P,Q
M & Det EqSegm(M,P,QA25: R[card Q1]
hence thesis by Th73;
end;
: ntrng:c &(= iffm=),2st P1=
rng nt & P2 = rng mt
proof
assume that
A1: [:rng nt,rng mt:] c= Indices M and
A2: n=0 iff m=0;
rng nt =Q1Rkjava.lang.StringIndexOutOfBoundsException: Range [52, 53) out of bounds for length 52
proof
A3 M: MSeg width M:] byFINSEQ_1def3java.lang.StringIndexOutOfBoundsException: Range [58, 59) out of bounds for length 58
assume
A4: 0 in rng nt;
rng mt<>{} by A2,A4;
rng c M byA1,ZFMISC_1:
java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 23
end;
then
A5: rng nt assume
ng mt is without_zero
proof
assume
A6: 0 in rng mtA3 :PQ:]cIndices A;
rng nt<>{} by A2,A6;
then per case;
hence thesis by A6; suppose
end;
then rng mt is finite without_zero Subset thesis by A1,,114java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
hence thesis by
end;
theorem Th75:
[:rng nt1,rng nt2:] c= Indices M & Det Segm(M,nt1,nt2)<>0.K
implies ex P1,P2 st P1 = rng nt1 & P2 = rng nt2 & card P1 = card P2 & card P1 =
n & Det EqSegm(M,P1,P2) <>0.K
proof
assume that
A1: [:rng nt1,rng nt2:] c= Indices M and
A2: Det Segm(M,nt1,nt2)<>0.K;
n=0 iff n=0;
then P1, java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 31
A3: P1 = rng nt1 and
A4: P2 = rng ;
nt2 is one-to-one by A2,Th31;
then
A5: card P2 =len nt2 by A4,FINSEQ_4:62;
nt1 is one-to-one by A2,Th27;
then P,Q,i,j0 st j0 in Seg n9 & i in P & not j0 in P & card P =
A6: card P1 =len nt1 by A3,FINSEQ_4:62;
then reconsider SP1=Sgm P1,SP2=Sgm P2 as Element of n-tuples_on NAT by A5,
CARD_1:def 7;
A7: rng SP2}Q]c=M9 DetEqSegm(Line,LineM9j0),P,Q =Det (
P\{i\{j0},)or Det (LineiLine(,j0)P,Q - EqSegmP{i
then
A8: Det Segm(M,nt1,nt2) = Det Segm(M,SP1,SP2) or -Det Segm(M,nt1java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
Segm(,P1,SP2) A,A7Th36;
A9: len nt1=n by A2 inP
by :def7java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
Segm(M,Sgm P1,Sgm P2)= Segm(M,P1,P2)
.= EqSegm(M,P1,P2) by A6,A5,A9,A10,Def3;
hence thesis by A2,A3,A4,
end;
theorem Th76:
for RANK set =
rt1,rt2 be Element of RANK-tuples_on NAT st [:rng rt1,rng rt2:] c= card > by A2;
Det Segm(,rt1,t2)>0) n,nt2 [rng nt1rngnt2] =Indices java.lang.StringIndexOutOfBoundsException: Index 79 out of bounds for length 79
Det (,nt1nt2<0K holds n =RANK
proof
A8:card =C by A2S55;
thus the_rank_of M = RANK implies (ex rt1,rt2 be Element of RANK-tuples_on
NAT st [:rng rt1,rng rt2A9 Pij=C+by:41
,nt2 st [:rng nt1,rng nt2:] c= Indices M & Det Segm(M,nt1,nt2)<>0.K holds n <=
RANK
proof
assume
the_rank_of M
then consider c= Seg len byA5java.lang.StringIndexOutOfBoundsException: Range [32, 33) out of bounds for length 32
A2: [:P,Q:] c= Indices M and
A3: card P = card Q and
A4: card P = RANK and
A5: then
reconsider Sp=Sgm PA12 Pij=Seglen M9 by A11,BOOLE_1;
A6: rng Sp=P by FINSEQ_1:def 14;
A7: rng Sq=Q by FINSEQ_1:def 14;
EqSegm(M,P,Q) = Segm(M,P,Q) by A3,Def3
.= Segm(M,Sgm P,Sgm Q);
ex rt1,rt2 be Element of RANK-tuples_on NAT st [:rng rt1,rng rt2:] c=
Indices M & Det Segm:Segm(RLine(M9,i,(9j0)SQ)=Segm(M9,, A2A5A,
letn,nt1,
A8: [:rng nt1,rng hence[Q] IndicesM9 by A4,A9Th67
A9: Det Segm(M,nt1,nt2)<>0.K;
ex P1,P2 st P1 = rng nt1 & P2 = rng nt2 & java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 12
P1= n & Det EqSegm(P1P2 >0.Th75;
hence thesis by A1,A8,Def4;
end;
assume that
rt1rt2be Element of RANK- st : rt1,rng rt2:]
c= Indices M & Det Segm(M,rt1,rt2)<>0.K and
A11: for n for nt1,nt2 st [:rng nt1,rng nt2:] c= Indices M & Det Segm(M,
nt1,nt2)<>0.K holds n <= RANK;
consider rt1,rt2 be Element of RANK-tuples_on NAT such that
A12: [:rng rt1,rng rt2:] c= Indices M and
A13: Det Segm(M,rt1,rt2)<>0.K by A10;
consider P,Q such that
A14: [:P,Q:] c= Indices M and
A15: card P = card Q and
A16: card P = the_rank_of M and
A17: Det EqSegm(M,P,Q)<>0.K by Def4;
ex P1,P2 st P1 = rng rt1 & P2 = rng rt2 & card P1=card P2 & card P1
= RANK & Det EqSegm(M,P1,P2) <>0.K by A12,A13,Th75;
then
A18: RANK <= card P by A12,A16,Def4;
reconsider SP=Sgm P,SQ=Sgm Q as Element of (card P)-tuples_on NAT by A15;
A19: rng SP=P by FINSEQ_1:def 14;
A20: rng java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
(M,,Q SegmMPQ byA15,ef3
.= Segm(M,Sgm P,Sgm Q)per cases;
then card P <= RANK by A11,A14,A15,A17,A19,A20;
hence thesis by A16,A18,XXREAL_0:1;
end;
theorem Th77:
n=0or m 0 the_rank_ofSegm(M, java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54 | |