[Merged by Bors] - chore: rename LocalHomeomorph to PartialHomeomorph#8982
[Merged by Bors] - chore: rename LocalHomeomorph to PartialHomeomorph#8982
Conversation
Done automatically (needed to re-add namespaces in the aligns, a bug).
This exposes another bug in renaming: Homeomorph.toLocalHomeomorph gets renamed to _root_.Homeomorph.toPartialHomeomorph at all call sites, which doesn't compile. It seems the rename handler is not aware of namespaces yet.
I'm not sure about the other instances; most of them are actual math local homeomorphisms. I haven't audited them all carefully.
alreadydone
left a comment
There was a problem hiding this comment.
Thanks! LGTM
Renaming LocalEquiv to PartialEquiv also sounds good to me; fortunately the name was not taken by PEquiv, the same concept with a different design.
|
Wow, you're fast :-) Thanks for the fast approval! |
|
Unfortunately it also got a merge conflict quickly... |
|
Thanks! This was on my "should be done eventually"-list for a while. Let's try to merge this quickly. Please merge master, and merge with bors d+ |
|
✌️ grunweg can now approve this pull request. To approve and merge a pull request, simply reply with |
|
Builds and tests pass, so... bors r+ |
|
bors r+ |
`LocalHomeomorph` evokes a "local homeomorphism": this is *not* what this means. Instead, this is a homeomorphism on an open set of the domain (extended to the whole space, by the junk value pattern). Hence, partial homeomorphism is more appropriate, and avoids confusion with `IsLocallyHomeomorph`. A future PR will rename `LocalEquiv` to `PartialEquiv`. [Zulip discussion](https://leanprover.zulipchat.com/#narrow/stream/287929-mathlib4/topic/Naming.20around.20local.20homeomorphisms/near/407090631)
|
Pull request successfully merged into master. Build succeeded: |
`LocalHomeomorph` evokes a "local homeomorphism": this is *not* what this means. Instead, this is a homeomorphism on an open set of the domain (extended to the whole space, by the junk value pattern). Hence, partial homeomorphism is more appropriate, and avoids confusion with `IsLocallyHomeomorph`. A future PR will rename `LocalEquiv` to `PartialEquiv`. [Zulip discussion](https://leanprover.zulipchat.com/#narrow/stream/287929-mathlib4/topic/Naming.20around.20local.20homeomorphisms/near/407090631)
Follow-up to #8982; a few lemma names were still wrong. Co-authored-by: Winston Yin <winstonyin@gmail.com>
LocalHomeomorphevokes a "local homeomorphism": this is not what this means.Instead, this is a homeomorphism on an open set of the domain (extended to the whole space, by the junk value pattern). Hence, partial homeomorphism is more appropriate, and avoids confusion with
IsLocallyHomeomorph.A future PR will rename
LocalEquivtoPartialEquiv.Zulip discussion
Best reviewed commit by commit: each commit message clearly states what's in it.