Repository navigation
Conversation
PR summary c045870994Import changes for modified filesNo significant changes to the import graph Import changes for all files
|
|
ping me when this is ready; I'd like to review this :) |
|
@themathqueen CI will probably fail a few times because of import stuff, but otherwise this is ready for review! |
| protected noncomputable def IsTopCompl.projectionOnto (h : IsTopCompl p q) : M →L[R] p := | ||
| ⟨p.linearProjOfIsCompl q h.isCompl, by | ||
| rw [IsInducing.subtypeVal.continuous_iff] | ||
| exact h.continuous_projection⟩ |
There was a problem hiding this comment.
This is not the standard name, but I claim that it should be. I think the Onto is the best way to distinguish between the two forms of a projection.
So I claim we shoud have:
IsCompl.projection/IsCompl.projectionOntoSubmodule.orthogonalProjectionOnto/Submodule.orthogonalProjection
There was a problem hiding this comment.
So you're proposing these changes, right?
Submodule.linearProjOfIsCompl->Submodule.IsCompl.projectionOnto,Submodule.orthogonalProjection->Submodule.orthogonalProjectionOnto,Submodule.starProjection->Submodule.orthogonalProjection
I agree that these are better names (especially the first one).
Only problem with the latter two is that orthogonalProjection -> orthogonalProjectionOnto won't have a deprecation or anything (I guess we can add a note?).
But, how about we start with the first one? Then later we can change the orthogonal projections?
Start a Zulip thread about this, just in case anyone objects to this?
There was a problem hiding this comment.
Yes, these are my suggestions. I won't really have time to do this renaming though, but I'll start the discussion on Zulip in case you (or someone else) wants to proceed.
|
I believe that @themathqueen is right that some renaming might be desirable but I'm happy to merge these changes as they stand. With that in mind: |
|
✌️ themathqueen can now approve this pull request. To approve and merge a pull request, simply reply with |
|
@ocfnash I think there is a misunderstanding : the names in this PR are not the standard one given to similar objects, but I think that they are better (and IIUC Monica agrees). Thus the renaming discussion is about the existing objects in Mathlib, rather than the ones introduced in this PR. |
| IsClosed (p : Set M) := | ||
| h.symm.isClosed' | ||
|
|
||
| /-- If `p` and `q` are topological complements and `q` is closed, then `p` is Hausdorff. -/ |
There was a problem hiding this comment.
Shouldn't we say:
| /-- If `p` and `q` are topological complements and `q` is closed, then `p` is Hausdorff. -/ | |
| /-- If `p` and `q` are topological complements and `q` is closed, then `p` is regular. -/ |
or else move this comment down to the instance below.
There was a problem hiding this comment.
(I wrote this hours ago but accidentally left the review pending)
There was a problem hiding this comment.
I'll move it to the theorem below, all of these axioms are equivalent anyways in this setting.
Indeed this was already my understanding. The only reason I haven't sent this straight to bors was that I wanted to be sure Monica felt the conversation here was resolved. |
themathqueen
left a comment
There was a problem hiding this comment.
Send to bors when CI passes?
|
bors r+ |
|
Merge conflict. Merge or rebase |
|
@themathqueen Thanks a lot for the review and the help with getting this ready! bors merge |
Right now, Mathlib defines [Submodule.ClosedComplemented](https://leanprover-community.github.io/mathlib4_docs/Mathlib/Topology/Algebra/Module/LinearMap.html#Submodule.ClosedComplemented). `Submodule.IsTopCompl` is the more precise version saying that two subspaces are topological complements to each other. Co-authored-by: Monica Omar <[email protected]>
|
Pull request successfully merged into master. Build succeeded: |
Right now, Mathlib defines [Submodule.ClosedComplemented](https://leanprover-community.github.io/mathlib4_docs/Mathlib/Topology/Algebra/Module/LinearMap.html#Submodule.ClosedComplemented). `Submodule.IsTopCompl` is the more precise version saying that two subspaces are topological complements to each other. Co-authored-by: Monica Omar <[email protected]>
Right now, Mathlib defines [Submodule.ClosedComplemented](https://leanprover-community.github.io/mathlib4_docs/Mathlib/Topology/Algebra/Module/LinearMap.html#Submodule.ClosedComplemented). `Submodule.IsTopCompl` is the more precise version saying that two subspaces are topological complements to each other. Co-authored-by: Monica Omar <[email protected]>
… and `quotientEquivOfIsCompl`, add `ContinuousLinearMap.ofIsTopCompl` (#39260) This PR completes the three TODO items listed at the top of `Mathlib/Topology/Algebra/Module/Complement.lean` (introduced in #38547). `Submodule.prodEquivOfIsCompl` is shown to be a homeomorphism if and only if the two submodules are topological complements. The analogous characterisation for `Submodule.quotientEquivOfIsCompl` is also provided, and `ContinuousLinearMap.ofIsTopCompl` is defined as the continuous version of `LinearMap.ofIsCompl`, taking continuous linear maps from complementary submodules and producing the induced continuous linear map on the whole space.
… and `quotientEquivOfIsCompl`, add `ContinuousLinearMap.ofIsTopCompl` (leanprover-community#39260) This PR completes the three TODO items listed at the top of `Mathlib/Topology/Algebra/Module/Complement.lean` (introduced in leanprover-community#38547). `Submodule.prodEquivOfIsCompl` is shown to be a homeomorphism if and only if the two submodules are topological complements. The analogous characterisation for `Submodule.quotientEquivOfIsCompl` is also provided, and `ContinuousLinearMap.ofIsTopCompl` is defined as the continuous version of `LinearMap.ofIsCompl`, taking continuous linear maps from complementary submodules and producing the induced continuous linear map on the whole space.
… and `quotientEquivOfIsCompl`, add `ContinuousLinearMap.ofIsTopCompl` (leanprover-community#39260) This PR completes the three TODO items listed at the top of `Mathlib/Topology/Algebra/Module/Complement.lean` (introduced in leanprover-community#38547). `Submodule.prodEquivOfIsCompl` is shown to be a homeomorphism if and only if the two submodules are topological complements. The analogous characterisation for `Submodule.quotientEquivOfIsCompl` is also provided, and `ContinuousLinearMap.ofIsTopCompl` is defined as the continuous version of `LinearMap.ofIsCompl`, taking continuous linear maps from complementary submodules and producing the induced continuous linear map on the whole space.
Right now, Mathlib defines Submodule.ClosedComplemented.
Submodule.IsTopComplis the more precise version saying that two subspaces are topological complements to each other.