Skip to content

Investigate possible inefficiency in Buchberger code #2505

@fredrik-johansson

Description

@fredrik-johansson

The function fmpz_mpoly_buchberger_naive (and now also fmpz_mod_mpoly_buchberger_naive) is supposed to be a close to verbatim implementation of GROBNERNEW2 described in section 5.5 of Becker and Weispfenning (a citation missing in our documentation, by the way).

Back when I wrote the code, I ran some comparisons with the Groebner basis code in SymPy which is based on the same reference (https://github.com/sympy/sympy/blob/master/sympy/polys/groebnertools.py), and IIRC my code was consistently doing more steps. This is probably due to some silly mistake in the logic. @andrii302 did you figure out why this might be the case?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions