feat(Data/Quot): toSet and equivClassOf#30750
feat(Data/Quot): toSet and equivClassOf#30750SnirBroshi wants to merge 4 commits intoleanprover-community:masterfrom
toSet and equivClassOf#30750Conversation
PR summary 738faa5527Import changes for modified filesNo significant changes to the import graph Import changes for all files
|
|
My initial reaction is that either we already have this or we don't want it (or perhaps both). Maybe @kbuzzard remembers PRing a docstring arguing against something like this in the past? |
|
Yes, I agree with Eric here. I think it would be good to start a Zulip discussion on this, including the motivating examples. It's quite possible that there is a better approach in the topology and graph theory use cases. |
FWIW I just found a video by Kevin where they create a similar API: https://www.youtube.com/watch?v=QI-fEXSX1BA&t=47m10s |
Define
toSetwhich gets the set corresponding to an element of a quotient, andequivClassOfwhich gets the equivalence class of an element under a quotient.I found these definitions helpful when working with quotients, specifically
ConnectedComponentsof aTopologicalSpace.