fact: Definition encode_const (c : const) : nat := match c with Zero => 0 | One => 1 | URoot n => n.+2 end.
imports: HB(structures) mathcomp(all_ssreflect all_fingroup all_algebra) mathcomp(all_solvable all_field polyrcf) Abel(various classic_ext map_gal algR) Abel(char0 cyclotomic_ext real_closed_ext)