let M be Matrix of m,n,K; ( M = A - B iff for i, j being Nat st [i,j] in Indices A holds
M * (i,j) = (A * (i,j)) - (B * (i,j)) )
thus
( M = A - B implies for i, j being Nat st [i,j] in Indices A holds
M * (i,j) = (A * (i,j)) - (B * (i,j)) )
( ( for i, j being Nat st [i,j] in Indices A holds
M * (i,j) = (A * (i,j)) - (B * (i,j)) ) implies M = A - B )proof
assume A1:
M = A - B
;
for i, j being Nat st [i,j] in Indices A holds
M * (i,j) = (A * (i,j)) - (B * (i,j))
let i,
j be
Nat;
( [i,j] in Indices A implies M * (i,j) = (A * (i,j)) - (B * (i,j)) )
assume A2:
[i,j] in Indices A
;
M * (i,j) = (A * (i,j)) - (B * (i,j))
A3:
Indices A = Indices B
by MATRIX_0:26;
thus M * (
i,
j) =
(A * (i,j)) + ((- B) * (i,j))
by A1, A2, Def3a
.=
(A * (i,j)) - (B * (i,j))
by A2, A3, Def4
;
verum
end;
assume A4:
for i, j being Nat st [i,j] in Indices A holds
M * (i,j) = (A * (i,j)) - (B * (i,j))
; M = A - B
now for i, j being Nat st [i,j] in Indices M holds
M * (i,j) = (A - B) * (i,j)let i,
j be
Nat;
( [i,j] in Indices M implies M * (i,j) = (A - B) * (i,j) )assume A5:
[i,j] in Indices M
;
M * (i,j) = (A - B) * (i,j)A7:
Indices M = Indices B
by MATRIX_0:26;
A6:
Indices M = Indices A
by MATRIX_0:26;
hence M * (
i,
j) =
(A * (i,j)) - (B * (i,j))
by A4, A5
.=
(A * (i,j)) + ((- B) * (i,j))
by A5, A7, Def4
.=
(A - B) * (
i,
j)
by A5, A6, Def3a
;
verum end;
hence
M = A - B
by MATRIX_0:27; verum