proposition: Lemma prm_distrib_right : forall dim r (m1 m2:matrix dim), prod_row_mat _ r (sum_matrix _ m1 m2) ==v sum_vector _ (prod_row_mat dim r m1) (prod_row_mat _ r m2).
proof: Proof. apply prm_distrib_right with (eq:=eq) (plus:=plus) (mult:=mult). apply eq_Equivalence. intros;ring. intros;ring. intros;ring. apply plus_morph. Qed.
imports: Coq(Lia List Setoid Peano_dec Eqdep_dec Ring Zwf Morphisms ZArith) CoLoR(interp)