let n be Nat; for S1, S2 being non empty 1-sorted
for X being Matrix of n,S2
for Y being Matrix of n,S1 holds
( ( for i, j being Nat st [i,j] in Indices X holds
X * (i,j) = Y * (i,j) ) iff X = Y )
let S1, S2 be non empty 1-sorted ; for X being Matrix of n,S2
for Y being Matrix of n,S1 holds
( ( for i, j being Nat st [i,j] in Indices X holds
X * (i,j) = Y * (i,j) ) iff X = Y )
let X be Matrix of n,S2; for Y being Matrix of n,S1 holds
( ( for i, j being Nat st [i,j] in Indices X holds
X * (i,j) = Y * (i,j) ) iff X = Y )
let Y be Matrix of n,S1; ( ( for i, j being Nat st [i,j] in Indices X holds
X * (i,j) = Y * (i,j) ) iff X = Y )
thus
( ( for i, j being Nat st [i,j] in Indices X holds
X * (i,j) = Y * (i,j) ) implies X = Y )
( X = Y implies for i, j being Nat st [i,j] in Indices X holds
X * (i,j) = Y * (i,j) )
assume A11:
X = Y
; for i, j being Nat st [i,j] in Indices X holds
X * (i,j) = Y * (i,j)
let i, j be Nat; ( [i,j] in Indices X implies X * (i,j) = Y * (i,j) )
assume A12:
[i,j] in Indices X
; X * (i,j) = Y * (i,j)
then consider q being FinSequence of S1 such that
A13:
( q = Y . i & Y * (i,j) = q . j )
by A11, MATRIX_0:def 5;
consider p being FinSequence of S2 such that
A14:
( p = X . i & X * (i,j) = p . j )
by A12, MATRIX_0:def 5;
thus
X * (i,j) = Y * (i,j)
by A11, A13, A14; verum