Fix bug probabilistic linear algebra with a linear form#287
Fix bug probabilistic linear algebra with a linear form#287jerebertho wants to merge 10 commits intoalgebraic-solving:masterfrom
Conversation
1e962cc to
1842c9f
Compare
|
Small rebase |
|
After discussing with @vneiger, we concluded that this last commit could yield an infinite loop: assume that the first F4 run is faulty and yields a Gröbner basis spanning a 0-dimension ideal of degree D', distinct from the correct degree D. All the successive runs outputting a Gb of degree D will be seen as wrong and thus this creates a (potential) infinite loop. However, since the algorithm only deals with polynomials in the ideal, D' > D so I will provide a new commit that takes this information into account to avoid the potential inifinite loop. |
…ebra made a positive-dimensional Gb
… the computation of the parametrizations
…ensional ideal of wrong degree
76c5f82 to
dc856bb
Compare
… ideal in shape position
|
This new commit should fix the new issue of #66. The second run of FGLM now finds an elimination polynomial of degree 70, which means the ideal is in shape position. No random linear form is introduced and the output is the expect one. |
This PR fixes issue #284.
When a linear form is introduced, and thus the ideal is known to be 0-dimensional, probabilistic linear algebra may lead to a faulty Gröbner basis computation as it spans a positive-dimensional ideal. In this case, the computation is now restarted.
Taking the example of issue #284, verbose mode now indicates as follows
The unexpected behavior is printed and the computation restarted.
As a side note, in some instances, including this example, two runs of FGLM were needed to ensure the correctness of the parametrizations. This second run had completely wrong timings so that verbose mode is now disabled during this run.