let n be Nat; :: thesis: for R being Ring
for M1, M2 being Matrix of n,R st M1 commutes_with M2 holds
M1 + M1 commutes_with M2

let R be Ring; :: thesis: for M1, M2 being Matrix of n,R st M1 commutes_with M2 holds
M1 + M1 commutes_with M2

let M1, M2 be Matrix of n,R; :: thesis: ( M1 commutes_with M2 implies M1 + M1 commutes_with M2 )
assume A1: M1 commutes_with M2 ; :: thesis: M1 + M1 commutes_with M2
A2: width M2 = n by MATRIX_0:24;
A3: len M1 = n by MATRIX_0:24;
A4: ( width M1 = n & len M2 = n ) by MATRIX_0:24;
then (M1 + M1) * M2 = (M1 * M2) + (M1 * M2) by A3, MATRIX_4:63
.= (M2 * M1) + (M1 * M2) by A1
.= (M2 * M1) + (M2 * M1) by A1
.= M2 * (M1 + M1) by A4, A2, A3, MATRIX_4:62 ;
hence M1 + M1 commutes_with M2 ; :: thesis: verum