let M be Matrix of m,n,K; ( M = - A iff for i, j being Nat st [i,j] in Indices A holds
M * (i,j) = - (A * (i,j)) )
thus
( M = - A implies for i, j being Nat st [i,j] in Indices A holds
M * (i,j) = - (A * (i,j)) )
by Def2; ( ( for i, j being Nat st [i,j] in Indices A holds
M * (i,j) = - (A * (i,j)) ) implies M = - A )
assume A1:
for i, j being Nat st [i,j] in Indices A holds
M * (i,j) = - (A * (i,j))
; M = - A
A2:
Indices M = Indices A
by MATRIX_0:26;
A6:
len M = m
by MATRIX_0:def 2;
A3:
len (- A) = m
by MATRIX_0:def 2;
for i, j being Nat st [i,j] in Indices M holds
M * (i,j) = (- A) * (i,j)
proof
let i,
j be
Nat;
( [i,j] in Indices M implies M * (i,j) = (- A) * (i,j) )
assume A5:
[i,j] in Indices M
;
M * (i,j) = (- A) * (i,j)
hence M * (
i,
j) =
- (A * (i,j))
by A1, A2
.=
(- A) * (
i,
j)
by A2, A5, Def2
;
verum
end;
hence
M = - A
by A6, A3, A4, MATRIX_0:21; verum