proposition: Lemma BCH_syndromep_is_GRS_syndromep y : \BCHsynp_(rVexp a n, y, t) = GRS.syndromep (rVexp a n) (rVexp a n) t.*2 (F2_to_GF2 m y).
proof: Proof. apply/polyP => i. rewrite !coef_poly; case: ifPn => // it; by rewrite fdcoor_syndrome_coord. Qed.
imports: mathcomp(all_ssreflect ssralg poly polydiv finalg zmodp) mathcomp(matrix mxalgebra mxpoly vector fieldext finfield) ssralg_ext hamming linearcode decoding cyclic_code poly_decoding vandermonde dft euclid grs f2