fact: Definition principal_w2 n (I : 'cV[R]_n) : 'cV[R]_n := let g := principal_gen I in map_mx (fun x => odflt 0 (x %/? g)) I.
imports: HB(structures) Coq(ssreflect ssrfun ssrbool Arith.Wf_nat) mathcomp(eqtype ssrnat div seq path) mathcomp(ssralg fintype perm tuple choice generic_quotient) mathcomp(matrix bigop zmodp mxalgebra poly) stronglydiscrete