set mu = matrix_mult (n,R);
for a, b, c being Element of n -Matrices_over R holds (matrix_mult (n,R)) . (a,((matrix_mult (n,R)) . (b,c))) = (matrix_mult (n,R)) . (((matrix_mult (n,R)) . (a,b)),c)
proof
let a, b, c be Element of n -Matrices_over R; :: thesis: (matrix_mult (n,R)) . (a,((matrix_mult (n,R)) . (b,c))) = (matrix_mult (n,R)) . (((matrix_mult (n,R)) . (a,b)),c)
reconsider A = a, B = b, C = c as Matrix of n,R ;
reconsider bc = B * C, ab = A * B as Element of n -Matrices_over R by MATRIX_1:2;
A1: ( len A = n & width A = n & len B = n & width B = n & len C = n & width C = n ) by MATRIX_0:24;
thus (matrix_mult (n,R)) . (a,((matrix_mult (n,R)) . (b,c))) = (matrix_mult (n,R)) . (a,bc) by Def5
.= A * (B * C) by Def5
.= (A * B) * C by A1, MATRIX_3:33
.= (matrix_mult (n,R)) . (ab,c) by Def5
.= (matrix_mult (n,R)) . (((matrix_mult (n,R)) . (a,b)),c) by Def5 ; :: thesis: verum
end;
hence matrix_mult (n,R) is associative by BINOP_1:def 3; :: thesis: verum