[Merged by Bors] - feat: generalize Topology/OpenPartialHomeomorph/Basic to PartialHomeomorph#41045
[Merged by Bors] - feat: generalize Topology/OpenPartialHomeomorph/Basic to PartialHomeomorph#41045scholzhannah wants to merge 8 commits into
Topology/OpenPartialHomeomorph/Basic to PartialHomeomorph#41045Conversation
PR summary 19350313ddImport changes for modified filesNo significant changes to the import graph Import changes for all files
|
| Current number | Change | Type (weak) |
|---|---|---|
| 5015 | 1 | exposed public sections |
Current commit 19350313dd
Reference commit c732b96d05
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).
grunweg
left a comment
There was a problem hiding this comment.
Just today, we were looking at making manifolds nicer to use and stumbled on your PR --- which proved just the lemma I wanted. In other words, thanks a lot for doing this, it's great. I hope to review this soon (but given that so many things in Paris cry for being discussed in person, this might take until next week).
I just have one comment for now.
grunweg
left a comment
There was a problem hiding this comment.
Not in this PR: the module doc-string for OpenPartialHomeomorph/Basic.lean should be slightly updated now, to say something like
"Topology.IsOpenEmbedding.toOpenPartialHomeomorph: construct an open partial homeomorphism from an open embedding"
grunweg
left a comment
There was a problem hiding this comment.
Thanks for doing this! I only have minor comments.
Can you also mention IsEmbedding.toPartialHomeomorph is the module doc-string?
| rfl | ||
|
|
||
| lemma toEquiv_symm_eq_codRestrict_restrict : | ||
| e.toEquiv.symm = codRestrict (e.target.restrict e.invFun) e.source (by simp) := by |
There was a problem hiding this comment.
Should this use e.symm instead?
There was a problem hiding this comment.
That has a different type. I could do e.symm.toEquiv but I want this lemma to show something about PartialEquiv.toEquiv, so I don't think that is sensible. Or do you mean something else?
There was a problem hiding this comment.
Ah, that's fair. In this case, let's merge as-is.
|
Thanks - one last comment! |
As requested in a PR review [here](#41045 (comment)). I also included a correction of a different docstring.
|
Can you fix the deprecation warnings? It seems there are still some. (Then, I'll merge this PR.) |
|
One line length warning, then you should be good to go. |
|
✌️ scholzhannah can now approve this pull request until 2026-08-03 12:11 UTC (in 2 weeks). To approve and merge, reply with
|
|
Thank you for your patience! bors r+ |
|
Pull request successfully merged into master. Build succeeded: |
Topology/OpenPartialHomeomorph/Basic to PartialHomeomorphTopology/OpenPartialHomeomorph/Basic to PartialHomeomorph
This is a continuation of #39084.