proposition: Lemma psm_distrib_right : forall dim c (r1 r2:matrix dim), prod_scal_mat _ c (sum_matrix _ r1 r2) ==m sum_matrix _ (prod_scal_mat dim c r1) (prod_scal_mat _ c r2).
proof: Proof. apply psm_distrib_right with (eq:=eq) (plus:=plus) (mult:=mult). intros;ring. Qed.
imports: Coq(Lia List Setoid Peano_dec Eqdep_dec Ring Zwf Morphisms ZArith) CoLoR(interp)