-
-
Notifications
You must be signed in to change notification settings - Fork 503
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
variety() for polynomial systems over ℚ using msolve #33734
Comments
Commit: |
Branch: u/mmezzarobba/33734-msolve |
comment:2
8 lines of triangLfak part uses 2 space identation, 4 spaces are preferred |
comment:4
Replying to @sheerluck:
Oops, rebasing mistake (I guess). Thanks! |
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
|
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
|
comment:7
I think it is preferable to add within this ticket a file If you want, you may also add a The following lines
will get replaced by
before you use the Also, this will automatically select the optional tag |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:9
Replying to @seblabbe:
Makes sense; thanks for the pointers! |
comment:10
Few comments on the code:
Maybe few could be moved into where they are needed, for instance I would maybe move
Maybe instead, you can use the option
|
comment:11
Thanks for your comments. Replying to @seblabbe:
I understand why you may want to do that with the huge source files with functions using widely different tools that we often have in Sage. But what would be the benefit for this module where there is a single function, and other functions we might want to add are likely to need more or less the same imports?
Isn't that the standard way of cleaning up after an operation that may raise an error or be interrupted?
Maybe. As far as I understand msolve will always feed us pure ascii text with unix newlines, so
I am not sure I understand the question. I suppose I could write
but (1) I find that closing the file is clearer than putting a |
comment:12
Thanks for your answers. I reply below. Replying to @mezzarobba:
By experience, sometimes the import in the module creates dependencies just for importing the module which breaks a package which would work (except some parts) if those imports were local imports. But this is when developping an external package. In Sage, this will be fixed anyway. But, I don't know, in my case, I try keep this habit. But, it is true it might not be a sage convention. Another reason which might be less pointless is to avoid to cluter the tab completion with lots of technical stuff when we do
Oups, you are right. I am learning something here. The
Whereas below it is not:
So, I now see the point of the
Well, I think you write
Ok I see. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:14
Replying to @seblabbe:
Sure, but again, this does not apply here. I agree however that it makes sense not to
I still don't see the point, but I don't think it can hurt either, so fine, let's use |
Upstream: Reported upstream. Developers acknowledge bug. |
comment:15
upsteam promises a docs update next week |
comment:16
Replying to @dimpase:
I assume you are taking about the comment I left about the positive characteristic case? If yes, that's indeed what Mohab replied after I reported the issue, but it does not impact this ticket. (What does impact it a little is that, even in characteristic zero, the descriptions in the msolve tutorial and in |
comment:17
lgtm (yes, I meant positive char msolve docs) |
Reviewer: Dima Pasechnik |
comment:18
thanks! |
comment:19
pyflakes plugin is not happy |
Branch pushed to git repo; I updated commit sha1 and set ticket back to needs_review. This was a forced push. New commits:
|
comment:21
Replying to @fchapoton:
fixed, thanks |
Changed reviewer from Dima Pasechnik to Sébastien Labbé, Dima Pasechnik |
Changed branch from u/mmezzarobba/33734-msolve to |
Add the option of using the external package msolve for computing the variety of a polynomial system. Only systems over ℚ are supported at the moment, because I cannot make sense of msolve's output in the positive characteristic case.
Note that this ticket does not add msolve as a dependency—see #31664 for that.
Upstream: Reported upstream. Developers acknowledge bug.
Component: commutative algebra
Author: Marc Mezzarobba
Branch/Commit:
0312ac6
Reviewer: Sébastien Labbé, Dima Pasechnik
Issue created by migration from https://trac.sagemath.org/ticket/33734
The text was updated successfully, but these errors were encountered: