Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Merged by Bors] - feat(analysis/normed_space/linear_isometry): coercion injectivity lemmas and add_monoid_hom_class #11434

Closed
wants to merge 2 commits into from

Conversation

eric-wieser
Copy link
Member

@eric-wieser eric-wieser commented Jan 13, 2022

This also registers linear_isometry and linear_isometry_equiv with add_monoid_hom_class.

I found myself wanting one of these while squeezing a simp, so may as well have all of them now.


Open in Gitpod

linear_isometry_equiv ended up in the wrong file in #8646, so that gets moved here.

@eric-wieser eric-wieser added the awaiting-review The author would like community review of the PR label Jan 13, 2022
This also registers `linear_isometry` and `linear_isometry_equiv` with `add_monoid_hom_class`.
@eric-wieser eric-wieser force-pushed the eric-wieser/linear_isometry-fun_like branch from e5e0e18 to 774339d Compare January 13, 2022 21:44
@eric-wieser eric-wieser changed the title feat(analysis/normed_space/linear_isometry): coercion injectivity lemmas feat(analysis/normed_space/linear_isometry): coercion injectivity lemmas and add_monoid_hom_class Jan 13, 2022
@eric-wieser eric-wieser added the awaiting-CI The author would like to see what CI has to say before doing more work. label Jan 13, 2022
@github-actions github-actions bot removed the awaiting-CI The author would like to see what CI has to say before doing more work. label Jan 13, 2022
f.to_linear_equiv = g.to_linear_equiv ↔ f = g :=
to_linear_equiv_injective.eq_iff

instance : add_monoid_hom_class (E ≃ₛₗᵢ[σ₁₂] E₂) E E₂ :=
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this be an add_equiv_class instance?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, but that doesn't exist yet. This instance is better than no instance at all!

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ooh wow, I somehow assumed that the equiv_class PR had landed two weeks ago already...

@jcommelin jcommelin added awaiting-author A reviewer has asked the author a question or requested changes and removed awaiting-review The author would like community review of the PR labels Jan 14, 2022
@eric-wieser eric-wieser added awaiting-review The author would like community review of the PR and removed awaiting-author A reviewer has asked the author a question or requested changes labels Jan 14, 2022
@jcommelin
Copy link
Member

Thanks 🎉

bors merge

@github-actions github-actions bot added ready-to-merge All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.) and removed awaiting-review The author would like community review of the PR labels Jan 14, 2022
bors bot pushed a commit that referenced this pull request Jan 14, 2022
…mas and add_monoid_hom_class (#11434)

This also registers `linear_isometry` and `linear_isometry_equiv` with `add_monoid_hom_class`.

I found myself wanting one of these while squeezing a simp, so may as well have all of them now.
@bors
Copy link

bors bot commented Jan 14, 2022

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title feat(analysis/normed_space/linear_isometry): coercion injectivity lemmas and add_monoid_hom_class [Merged by Bors] - feat(analysis/normed_space/linear_isometry): coercion injectivity lemmas and add_monoid_hom_class Jan 14, 2022
@bors bors bot closed this Jan 14, 2022
@bors bors bot deleted the eric-wieser/linear_isometry-fun_like branch January 14, 2022 10:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-to-merge All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants