proposition: Lemma mderivm_foldr m p : let s := flatten [seq nseq (m i) i | i <- enum 'I_n] in p^`M[m] = foldr mderiv p s.
proof: Proof. rewrite /mderivm; elim: (enum _)=> //= i s ih. by rewrite foldr_cat; elim: (m i)=> //= k ->. Qed.
imports: HB(structures) mathcomp(ssreflect ssrfun ssrbool eqtype ssrnat seq path) mathcomp(choice fintype tuple finfun bigop finset binomial) mathcomp(order fingroup perm ssralg zmodp poly ssrint) mathcomp(matrix vector) mathcomp(bigenough) ssrcomplements freeg