let M1, M2 be Matrix of n,K; :: thesis: ( ( for i being Nat st [i,i] in Indices M1 holds
M1 * i,i = 1. K ) & ( for i, j being Nat st [i,j] in Indices M1 & i <> j holds
M1 * i,j = 0. K ) & ( for i being Nat st [i,i] in Indices M2 holds
M2 * i,i = 1. K ) & ( for i, j being Nat st [i,j] in Indices M2 & i <> j holds
M2 * i,j = 0. K ) implies M1 = M2 )
A4:
Indices M1 = Indices M2
by Th27;
assume that
A5:
for i being Nat st [i,i] in Indices M1 holds
M1 * i,i = 1. K
and
A6:
for i, j being Nat st [i,j] in Indices M1 & i <> j holds
M1 * i,j = 0. K
and
A7:
for i being Nat st [i,i] in Indices M2 holds
M2 * i,i = 1. K
and
A8:
for i, j being Nat st [i,j] in Indices M2 & i <> j holds
M2 * i,j = 0. K
; :: thesis: M1 = M2
( len M1 = n & width M1 = n & len M2 = n & width M2 = n )
by Th25;
hence
M1 = M2
by A9, Th21; :: thesis: verum