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
Sage may ignore the imaginary part of variables not explicitly declared complex #30793
Comments
comment:1
either blocker for the 9.3 milestone, or critical only, please |
comment:2
Replying to @fchapoton:
Okay. Will do that also for #30688. |
comment:3
De facto this can't be a blocker if noone is enough invested to work on it. Probably should be fixed on the maxima side first, too. |
comment:4
Well, has anyone filed it as an upstream bug? |
comment:5
This was reported upstream on #6862. The maxima developers deny that it is a bug, and I agree with them, because the maxima documentation makes it clear that merely setting However, I tried this a couple of months ago (just by making a minor modification to
The problem has been around a long time, and I don't think this can be fixed in time for 9.3. We should try to do something for 9.4, but I think it will require serious work. Maybe this ticket should be closed as a duplicate of #6862. |
comment:6
Thanks for the analysis! +1 for consolidating the two tickets, closing one of them, and moving the remaining one to milestone 9.4. |
comment:7
Replying to @DaveWitteMorris:
That's to be expected. Complex path integrals are generally path-dependent, so just specifying the end points of the path doesn't tell the whole story. Much of the integration machinery will normally be assuming real variables. This is one reason to not assume complex variables by default. The main problem found on #6862 is the present incompatibility between pynac's and maxima's default. With this information, perhaps it would be worth seeing how bad inserting a default |
comment:8
Sage development has entered the release candidate phase for 9.3. Setting a new milestone for this ticket based on a cursory review. |
Seen in this ask.sagemapt question, discussed in sage-devel :
Sage seems to assume that a not otherwise specified symbolic variable is real :
As corollaries :
but :
Maxima
has the same problem : in Sage'smaxima
:but :
Filing this as
blocker
, because this problem may lead to Sage silently returning mathematical nonsense...CC: @pjbruin
Component: symbolics
Issue created by migration from https://trac.sagemath.org/ticket/30793
The text was updated successfully, but these errors were encountered: