-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
SetExpr/AccumBounds compute powers of the same #21407
Comments
I think so. This case seems to be missing from |
@jksuom , would the SetExpr be the appropriate place to allow >>> from sympy.sets.setexpr import SetExpr as f
>>> f(Interval(0,1))**oo
SetExpr(Interval(0, oo)) In this context we know that no value is over 1 so can't we return |
@oscarbenjamin , since you worked with interval that behaves the same way, is there any context in which a closed interval, [0,1], raised to an arbitrarily large number, can give [0,1] again? And how can we say "arbitrarily large" other than |
I'm not sure what |
I understand why. I am just looking for someplace where the notion of
does not apply if we know that it can only approach from one side. |
cf #14251 |
I think that #14251 could be closed. Accumulation bounds (a pair of extended reals) and sets are different kinds of objects. Instances of |
It looks like that should be handled by the |
There is no handling of
other
being an AccumBounds so the default of (-oo,oo) is returned forWhen trying this with SetExpr I am not sure how to get the max or min and
inf
andsup
don't work:The text was updated successfully, but these errors were encountered: