Fix radical for ideals in polynomial rings over the integers#5185
Fix radical for ideals in polynomial rings over the integers#5185wdecker merged 3 commits intooscar-system:masterfrom
radical for ideals in polynomial rings over the integers#5185Conversation
|
It seems that doctests need to be adjusted. |
| return Lnew, hom(L, Lnew, f), hom(Lnew, L, finv, check=false) | ||
| end | ||
|
|
||
| # The `simplify` routine uses Singular's "elimpart". This does not work |
There was a problem hiding this comment.
I think this comment should be attached to the next method, as the method it documents right now does not call into Singular at all?
|
Looks plausible to me but someone from geometry should review & approve :-) |
|
I cannot (yet) see, why the proposed change causes the changes in the doctest example which makes the tests fails. The difference is, that now some redundant generators are removed. @HechtiDerLachs? |
|
I think they just got reordered? |
Yes, you are right. But still, what caused this reordering? |
Before, we were using a preprocessing step which attempted to eliminate variables where applicable. This apparently does not work over the integers, so it has been cut off, leading to different results as the radical is now tentatively computed in a different ring. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #5185 +/- ##
=======================================
Coverage 84.84% 84.85%
=======================================
Files 710 710
Lines 95517 95519 +2
=======================================
+ Hits 81045 81049 +4
+ Misses 14472 14470 -2
🚀 New features to boost your workflow:
|
Not quite. The difference arises from how we define the identity map as shown in the example below: @thofma Any comment? |
I do not understand the concern. Both versions of the identity map are correct. The difference observed in your example stems from different selections of the representative used for printing. I suspect The given generators for the radical ideal in one of the doctests appear in different order compared to the earlier version. What's wrong with that? What is the issue? What is the concern? As far as I can see, we do not even get a mathematically different result in the doctest's examples. While the example provided in the issue now works correctly. |
|
I agree with @HechtiDerLachs. Everything is mathematically correct now, so we should get this in sooner than later. The thing with |
wdecker
left a comment
There was a problem hiding this comment.
I did not want to hold up things, but wanted to be sure that there is no hidden problem. I understand now.
|
Thanks @HechtiDerLachs |
radical for ideals in polynomial rings over the integers
Resolves #5175.