for x, y, z being Element of (Matrix_ring (n,R)) holds
( x * (y + z) = (x * y) + (x * z) & (y + z) * x = (y * x) + (z * x) )
proof
let x, y, z be Element of (Matrix_ring (n,R)); :: thesis: ( x * (y + z) = (x * y) + (x * z) & (y + z) * x = (y * x) + (z * x) )
reconsider X = x, Y = y, Z = z as Matrix of n,R by Th72;
reconsider YZ = Y + Z as Matrix of n,R ;
A1: ( len Y = n & width Y = n & width Z = n & len Z = n & width X = n & len X = n ) by MATRIX_0:24;
A2: ( x * y = X * Y & x * z = X * Z ) by Th75;
A3: Y + Z = y + z by Th73;
hence x * (y + z) = X * YZ by Th75
.= (X * Y) + (X * Z) by A1, MATRIX_4:62
.= (x * y) + (x * z) by A2, Th73 ;
:: thesis: (y + z) * x = (y * x) + (z * x)
A4: ( y * x = Y * X & z * x = Z * X ) by Th75;
thus (y + z) * x = YZ * X by A3, Th75
.= (Y * X) + (Z * X) by A1, MATRIX_4:63
.= (y * x) + (z * x) by A4, Th73 ; :: thesis: verum
end;
hence Matrix_ring (n,R) is distributive by VECTSP_1:def 7; :: thesis: verum