let K be non empty commutative multMagma ; for M being Matrix of K
for a being Element of K holds a * M = M * a
let M be Matrix of K; for a being Element of K holds a * M = M * a
let a be Element of K; a * M = M * a
A1: len (a * M) =
len M
by Def5
.=
len (M * a)
by Def6
;
A2: width (a * M) =
width M
by Def5
.=
width (M * a)
by Def6
;
for i, j being Nat st [i,j] in Indices (a * M) holds
(a * M) * (i,j) = (M * a) * (i,j)
proof
let i,
j be
Nat;
( [i,j] in Indices (a * M) implies (a * M) * (i,j) = (M * a) * (i,j) )
assume A3:
[i,j] in Indices (a * M)
;
(a * M) * (i,j) = (M * a) * (i,j)
A4:
[i,j] in Indices M
thus (a * M) * (
i,
j) =
a * (M * (i,j))
by A4, Def5
.=
(M * a) * (
i,
j)
by A4, Def6
;
verum
end;
hence
a * M = M * a
by A1, A2, MATRIX_0:21; verum