proposition: Lemma pm_comm_sv_right : forall dim (m1 m2:matrix dim) (a:A), prod_matrix _ (prod_scal_mat _ a m1) m2 ==m prod_scal_mat _ a (prod_matrix _ m1 m2).
proof: Proof. apply pm_comm_sv_right with (eq:=eq) (plus:=plus) (mult:=mult). apply eq_Equivalence. intros;ring. intros;ring. intros;ring. apply plus_morph. apply mult_morph. Qed.
imports: Coq(Lia List Setoid Peano_dec Eqdep_dec Ring Zwf Morphisms ZArith) CoLoR(interp)