idealMembership(f: MultiPoly, polys: MultiPoly[], order: MonomialOrder, opts?: Omit<GroebnerBasisOptions, "order" | "reduced">): boolean

Tests exact ideal membership by reducing against a computed Groebner basis.

throws

GroebnerBudgetExceeded Thrown when basis computation exceeds a budget.

Parameters

NameTypeDescription
fMultiPolyPolynomial to test.
polysMultiPoly[]Exact integer-coefficient ideal generators.
orderMonomialOrderMonomial order; defaults to `LEX`.
optsOmit<GroebnerBasisOptions, "order" | "reduced">Pair strategy and deterministic budgets.

Returns

boolean — Whether the normal form of `f` is zero.