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)) )
by Def3a; ( ( 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 )
assume A1:
for i, j being Nat st [i,j] in Indices A holds
M * (i,j) = (A * (i,j)) + (B * (i,j))
; M = A + B
A2:
Indices M = Indices A
by MATRIX_0:26;
A3:
len M = m
by MATRIX_0:def 2;
A5:
len (A + B) = m
by MATRIX_0:def 2;
for i, j being Nat st [i,j] in Indices M holds
M * (i,j) = (A + B) * (i,j)
proof
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)
hence M * (
i,
j) =
(A * (i,j)) + (B * (i,j))
by A1, A2
.=
(A + B) * (
i,
j)
by A2, A5, Def3a
;
verum
end;
hence
M = A + B
by A3, A5, A4, MATRIX_0:21; verum