let M1, M2 be Matrix of D; ( len M1 = width M & ( for i, j being Nat holds
( [i,j] in Indices M1 iff [j,i] in Indices M ) ) & ( for i, j being Nat st [j,i] in Indices M holds
M1 * i,j = M * j,i ) & len M2 = width M & ( for i, j being Nat holds
( [i,j] in Indices M2 iff [j,i] in Indices M ) ) & ( for i, j being Nat st [j,i] in Indices M holds
M2 * i,j = M * j,i ) implies M1 = M2 )
assume that
A5:
len M1 = width M
and
A6:
for i, j being Nat holds
( [i,j] in Indices M1 iff [j,i] in Indices M )
and
A7:
for i, j being Nat st [j,i] in Indices M holds
M1 * i,j = M * j,i
and
A8:
len M2 = width M
and
A9:
for i, j being Nat holds
( [i,j] in Indices M2 iff [j,i] in Indices M )
and
A10:
for i, j being Nat st [j,i] in Indices M holds
M2 * i,j = M * j,i
; M1 = M2
A11:
now let i,
j be
Nat;
( [i,j] in Indices M1 implies M1 * i,j = M2 * i,j )assume
[i,j] in Indices M1
;
M1 * i,j = M2 * i,jthen A12:
[j,i] in Indices M
by A6;
then
M1 * i,
j = M * j,
i
by A7;
hence
M1 * i,
j = M2 * i,
j
by A10, A12;
verum end;
now let x,
y be
set ;
( ( [x,y] in [:(dom M1),(Seg (width M1)):] implies [x,y] in [:(dom M2),(Seg (width M2)):] ) & ( [x,y] in [:(dom M2),(Seg (width M2)):] implies [x,y] in [:(dom M1),(Seg (width M1)):] ) )thus
(
[x,y] in [:(dom M1),(Seg (width M1)):] implies
[x,y] in [:(dom M2),(Seg (width M2)):] )
( [x,y] in [:(dom M2),(Seg (width M2)):] implies [x,y] in [:(dom M1),(Seg (width M1)):] )thus
(
[x,y] in [:(dom M2),(Seg (width M2)):] implies
[x,y] in [:(dom M1),(Seg (width M1)):] )
verum end;
then A15:
[:(dom M1),(Seg (width M1)):] = [:(dom M2),(Seg (width M2)):]
by ZFMISC_1:108;
( len M1 = 0 implies ( len M2 = 0 & width M1 = 0 & width M2 = 0 ) )
by A5, A8, Def4;
hence
M1 = M2
by A16, A11, Th21; verum