[Merged by Bors] - feat: generalize OpenPartialHomeomorph.Defs file to PartialHomeomorph#39084
[Merged by Bors] - feat: generalize OpenPartialHomeomorph.Defs file to PartialHomeomorph#39084scholzhannah wants to merge 27 commits into
OpenPartialHomeomorph.Defs file to PartialHomeomorph#39084Conversation
PR summary 8748a35de3Import changes for modified filesNo significant changes to the import graph Import changes for all files
|
| Current number | Change | Type (weak) |
|---|---|---|
| 4948 | 1 | exposed public sections |
Current commit 8748a35de3
Reference commit 7d46b4c5ac
This script lives in the mathlib-ci repository. To run it locally, from your mathlib4 directory:
git clone https://github.com/leanprover-community/mathlib-ci.git ../mathlib-ci
../mathlib-ci/scripts/reporting/technical-debt-metrics.sh pr_summary
- The
relativevalue is the weighted sum of the differences with weight given by the inverse of the current value of the statistic. - The
absolutevalue is therelativevalue divided by the total sum of the inverses of the current values (i.e. the weighted average of the differences).
|
I have now put all the renames in the #39565. Sorry for the giant mess in the commit history, I clearly didn't do the rebase well. Is there any way to clean this mess up now? I hope it magically goes away when the other PR is merged. |
|
I've made a similar git mess myself before. I think you can fix this by doing |
ccff032 to
0b8c590
Compare
Thanks a lot! I think I might have fixed it now haha. |
… into PartialHomeomorph1
… into PartialHomeomorph1
grunweg
left a comment
There was a problem hiding this comment.
First batch of comments!
grunweg
left a comment
There was a problem hiding this comment.
Remaining comments. Thanks a lot for doing this, I have only minor comments!
|
✌️ scholzhannah can now approve this pull request until 2026-06-30 18:47 UTC (in 2 weeks). To approve and merge, reply with
|
…0717) The new name avoids a double prime and also matches the naming convention. As suggested [here](#39084 (comment)).
|
bors r+ |
…rph` (#39084) Add `PartialHomeomorph`, which generalises `OpenPartialHomoemorph` by dropping the condition that the source and target be open. In other words, an `OpenPartialHomeomorph` is a `PartialHomeomorph` that additionally has open source and target. This generalisation should find uses for manifolds (extended charts are `PartialHomeomorph`s, but their target is not open for manifolds with boundary). For CW complexes, we will want a `ClosedPartialHomeomorph`: this allows re-using results as much as possible. This PR adds the basic definitions; future PRs will add additional material: #39071 indicates what the eventual result may be. Zulip discussion: [#mathlib4 > Generalizing `PartialHomeomorph`?](https://leanprover.zulipchat.com/#narrow/channel/287929-mathlib4/topic/Generalizing.20.60PartialHomeomorph.60.3F/with/536896273)
|
Pull request successfully merged into master. Build succeeded:
|
OpenPartialHomeomorph.Defs file to PartialHomeomorphOpenPartialHomeomorph.Defs file to PartialHomeomorph
…anprover-community#40717) The new name avoids a double prime and also matches the naming convention. As suggested [here](leanprover-community#39084 (comment)).
…rph` (leanprover-community#39084) Add `PartialHomeomorph`, which generalises `OpenPartialHomoemorph` by dropping the condition that the source and target be open. In other words, an `OpenPartialHomeomorph` is a `PartialHomeomorph` that additionally has open source and target. This generalisation should find uses for manifolds (extended charts are `PartialHomeomorph`s, but their target is not open for manifolds with boundary). For CW complexes, we will want a `ClosedPartialHomeomorph`: this allows re-using results as much as possible. This PR adds the basic definitions; future PRs will add additional material: leanprover-community#39071 indicates what the eventual result may be. Zulip discussion: [#mathlib4 > Generalizing &leanprover-community#96;PartialHomeomorph&leanprover-community#96;?](https://leanprover.zulipchat.com/#narrow/channel/287929-mathlib4/topic/Generalizing.20.60PartialHomeomorph.60.3F/with/536896273)
…anprover-community#40717) The new name avoids a double prime and also matches the naming convention. As suggested [here](leanprover-community#39084 (comment)).
…rph` (leanprover-community#39084) Add `PartialHomeomorph`, which generalises `OpenPartialHomoemorph` by dropping the condition that the source and target be open. In other words, an `OpenPartialHomeomorph` is a `PartialHomeomorph` that additionally has open source and target. This generalisation should find uses for manifolds (extended charts are `PartialHomeomorph`s, but their target is not open for manifolds with boundary). For CW complexes, we will want a `ClosedPartialHomeomorph`: this allows re-using results as much as possible. This PR adds the basic definitions; future PRs will add additional material: leanprover-community#39071 indicates what the eventual result may be. Zulip discussion: [#mathlib4 > Generalizing &leanprover-community#96;PartialHomeomorph&leanprover-community#96;?](https://leanprover.zulipchat.com/#narrow/channel/287929-mathlib4/topic/Generalizing.20.60PartialHomeomorph.60.3F/with/536896273)
…anprover-community#40717) The new name avoids a double prime and also matches the naming convention. As suggested [here](leanprover-community#39084 (comment)).
…rph` (leanprover-community#39084) Add `PartialHomeomorph`, which generalises `OpenPartialHomoemorph` by dropping the condition that the source and target be open. In other words, an `OpenPartialHomeomorph` is a `PartialHomeomorph` that additionally has open source and target. This generalisation should find uses for manifolds (extended charts are `PartialHomeomorph`s, but their target is not open for manifolds with boundary). For CW complexes, we will want a `ClosedPartialHomeomorph`: this allows re-using results as much as possible. This PR adds the basic definitions; future PRs will add additional material: leanprover-community#39071 indicates what the eventual result may be. Zulip discussion: [#mathlib4 > Generalizing &leanprover-community#96;PartialHomeomorph&leanprover-community#96;?](https://leanprover.zulipchat.com/#narrow/channel/287929-mathlib4/topic/Generalizing.20.60PartialHomeomorph.60.3F/with/536896273)
Add
PartialHomeomorph, which generalisesOpenPartialHomoemorphby dropping the condition that the source and target be open. In other words, anOpenPartialHomeomorphis aPartialHomeomorphthat additionally has open source and target.This generalisation should find uses for manifolds (extended charts are
PartialHomeomorphs, but their target is not open for manifolds with boundary). For CW complexes, we will want aClosedPartialHomeomorph: this allows re-using results as much as possible.This PR adds the basic definitions; future PRs will add additional material: #39071 indicates what the eventual result may be.
Zulip discussion: #mathlib4 > Generalizing `PartialHomeomorph`?
old description:
As discussed on Zulip (#mathlib4 > Generalizing `PartialHomeomorph`?), I renamed
PartialHomeomorphtoOpenPartialHomeomorphin #29113.In this PR I now add a new
PartialHomeomorphwhich is aPartialEquivthat is continuous on both source and target. AnOpenPartialHomeomorphis then aPartialHomeomorphthat additionally has open source and target. In subsequent PRs I will generalize the other files. See this draft PR (#39071) for what I think the end result might be.PartialHomeomorphshould find uses at least for manifolds (ModelWithCorners). Afterwards, I want to add aClosedPartialHomeomorphto use for CWComplexes.I don't have a lot of experience doing these kind of modifications of a large piece of code. Additionally, I am not familiar with the main uses of
OpenPartialHomeomorphin Mathlib. So while I did this to the best of my abilities, you should read this carefully because there might be things I did wrong or in non-ideal ways.