feat(library/hott) port Jeremy's group file to HoTT