proposition: Lemma prm_comm_sv_right : forall dim (r : vector dim) (m:matrix dim) (a:A), prod_row_mat _ r (prod_scal_mat _ a m) ==v prod_scal_vec _ a (prod_row_mat _ r m).
proof: Proof. apply prm_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)