1 | initial version |
If your generators for i are i1,...,is, you could just compute the syzygy module of <f,g,i1,...,is> and project on the first two coordinates. On the level of grobner basis computations, that's what you'd probably end up doing anyway.