proposition: Lemma diag_const_mx a : diag_mx (const_mx a) = a%:M :> 'M_n.
proof: Proof. by apply/matrixP=> i j; rewrite !mxE. Qed.
imports: HB(structures) mathcomp(ssreflect ssrbool ssrfun eqtype ssrnat seq choice) mathcomp(fintype finfun bigop finset fingroup perm order) mathcomp(div prime binomial ssralg countalg finalg zmodp)