Definition red (a : poly A0 eqA ltM) (P : list (poly A0 eqA ltM)) :=
  reducestar A A0 A1 eqA invA minusA multA divA eqA_dec n ltM ltM_dec P
    (s2p A A0 eqA n ltM a) (pO A n).Definition addEnd :
  poly A0 eqA ltM -> list (poly A0 eqA ltM) -> list (poly A0 eqA ltM).

Theorem addEnd_cons : forall (a b : poly A0 eqA ltM) (aL : list (poly A0 eqA ltM)), In a (addEnd b aL) -> a = b \/ In a aL.