fact: Definition sgp_right (p : {poly R}) x := let fix aux (p : {poly R}) n := if n is n'.+1 then if ~~ root p x then sgr p.[x] else aux p^`() n' else 0 in aux p (size p).
imports: mathcomp.ssreflect.ssreflect mathcomp(ssrfun ssrbool eqtype ssrnat seq choice fintype) mathcomp(bigop order ssralg poly polydiv ssrnum zmodp) mathcomp(polyorder path interval ssrint)