You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I suspect the last True is due to 1 / (1 - u) being a dense series, which leads to Sage keeping precision at O(u^20) rather than moving to a higher exponent.
Component: algebra
Keywords: power series, halting problem, discreteness, equality
The power series ring tries to keep arbitrary precision if possible, and only switches to series expansion if necessary. So u^25 is kept as exact, even though it is zero to the default_prec=20.
For interactive use, I think this is what one would want. However, for non-interactive use an "always approximate" mode where u^25 is immediately zero would be nice. I have written lots of code where many lines end in +O(u^prec) to get the precision back down.
I know this is unavoidable, but I'd say it should be better documented...
Over a finite field:
I suspect the last
True
is due to1 / (1 - u)
being a dense series, which leads to Sage keeping precision atO(u^20)
rather than moving to a higher exponent.Component: algebra
Keywords: power series, halting problem, discreteness, equality
Issue created by migration from https://trac.sagemath.org/ticket/14889
The text was updated successfully, but these errors were encountered: