let a be Element of REAL ; for n being Nat
for M1, M2 being Matrix of n, REAL st M1 is_less_or_equal_with M2 & a >= 0 holds
a * M1 is_less_or_equal_with a * M2
let n be Nat; for M1, M2 being Matrix of n, REAL st M1 is_less_or_equal_with M2 & a >= 0 holds
a * M1 is_less_or_equal_with a * M2
let M1, M2 be Matrix of n, REAL ; ( M1 is_less_or_equal_with M2 & a >= 0 implies a * M1 is_less_or_equal_with a * M2 )
assume that
A1:
M1 is_less_or_equal_with M2
and
A2:
a >= 0
; a * M1 is_less_or_equal_with a * M2
A3:
Indices (a * M1) = Indices M1
by MATRIXR1:28;
A4:
Indices M2 = [:(Seg n),(Seg n):]
by MATRIX_1:25;
for i, j being Nat st [i,j] in Indices (a * M1) holds
(a * M1) * i,j <= (a * M2) * i,j
proof
let i,
j be
Nat;
( [i,j] in Indices (a * M1) implies (a * M1) * i,j <= (a * M2) * i,j )
assume A5:
[i,j] in Indices (a * M1)
;
(a * M1) * i,j <= (a * M2) * i,j
then
M1 * i,
j <= M2 * i,
j
by A1, A3, Def6;
then
a * (M1 * i,j) <= a * (M2 * i,j)
by A2, XREAL_1:66;
then A6:
(a * M1) * i,
j <= a * (M2 * i,j)
by A3, A5, Th4;
[i,j] in Indices M2
by A4, A5, MATRIX_1:25;
hence
(a * M1) * i,
j <= (a * M2) * i,
j
by A6, Th4;
verum
end;
hence
a * M1 is_less_or_equal_with a * M2
by Def6; verum