Skip to content
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

unevaluated ImageSet not recognized as subset of Integers #16871

Open
smichr opened this issue May 22, 2019 · 1 comment
Open

unevaluated ImageSet not recognized as subset of Integers #16871

smichr opened this issue May 22, 2019 · 1 comment
Labels

Comments

@smichr
Copy link
Member

smichr commented May 22, 2019

>>> ImageSet(Lambda(x, x - 3), S.Integers).is_subset(S.Integers)  -> unevaluated
False
>>> imageset(Lambda(x, x - 3), S.Integers)  -> evaluated
Integers
@gschintgen
Copy link
Contributor

With current master is_subset no longer returns False, but None.
So either this can be closed as fixed or doit() could be added to the is_subset handler. It does seem reasonable to me to have subset checks (and also other set operations) operate on evaluated ImageSets.

(Note: there's currently an XFAIL test for this issue.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants