-
-
Notifications
You must be signed in to change notification settings - Fork 527
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
Set() should construct facade parents or use ElementWrapper #34387
Comments
This comment has been minimized.
This comment has been minimized.
Commit: |
New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
Author: Matthias Koeppe |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
This comment has been minimized.
This comment has been minimized.
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
This comment has been minimized.
This comment has been minimized.
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
Currently,
Set(...)
does not always construct an object with the full set of set operations.We change this so that users can rely on the methods provided by the mixins
Set_base
,Set_boolean_operators
,Set_add_sub_operators
being available.When
Set(...)
does construct an instance ofSet_object
, this is a parent whose elements do not belong to it. We update the category so that it is inSets().Facade()
.We add the option
Set(..., universe=...)
. This option will be handled likeSequence(..., universe=...)
: We convert the given elements to the given parent first. Via #34461, we register a "pointless" inclusion map from the set to the universe.Finally, we add the option
Set(..., facade=False)
. In this case,Set
will useElementWrapper
s.Here on the ticket we ignore all issues of (1) sets of unhashable elements (#23324, #33932) and (2) abuses of
Set
andEnumeratedSets
for multisets (#34389).Depends on #34461
CC: @tscrim
Component: categories
Author: Matthias Koeppe
Branch/Commit: u/mkoeppe/set___should_construct_facade_parents @
9cc1113
Issue created by migration from https://trac.sagemath.org/ticket/34387
The text was updated successfully, but these errors were encountered: