Add quo for LaurentMPolyWrapRing#4850
Conversation
|
Use P.S.: There is also a morphism type for laurent polynomial rings (created via |
|
In the tests there is an "ideal membership" check: this uses the function |
Code modified -- thanks for the hint. |
|
I think |
Co-authored-by: Max Horn <max@quendi.de>
|
I have identified some "infelicities":
|
|
I can implement some "better" names (inside function This variant is possibly more readable but differs rather from what a laurent_poly_ring prints: Actually it is probably better to print |
|
Here is the third variant mentioned at the end of my previous post: |
This should be resolved by #4862. |
|
I think naming the variables Regarding the "elimination ordering": that also sounds sensible, if we can do it with reasonable effort. But this could also come in a follow-up PR. So unless you can do it "immediately", I'd say focus on the variable name change, and on cleaning up the PR (semicolons etc.) so we can merge it. |
I confirm that this is now fixed -- thanks @joschmitt |
I've tried a few ideas, but nothing worked for using a "better" ordering. Most likely there is no universally good solution. |
|
Test suite revised in accordance with the comments above. |
quo for LaurentMPolyWrapRing
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #4850 +/- ##
==========================================
+ Coverage 84.82% 85.54% +0.72%
==========================================
Files 683 697 +14
Lines 91935 104251 +12316
==========================================
+ Hits 77980 89178 +11198
- Misses 13955 15073 +1118
🚀 New features to boost your workflow:
|
|
I think this is just waiting for a final review @thofma @fingolfin |
thofma
left a comment
There was a problem hiding this comment.
Fine with me. Would be interesting to understand why we have to use the MapFromFunc crutch and can't use the proper type for maps from Laurent polynomial rings, but this can be investigated later.
Then someone (@JohnAAbbott ?) should open an issue about that else it'll be forgotten... |
Implemented first version of
quofor Laurent polynomial rings.Some notes:
preimagedoes not work; you must use the fieldsectioninstead