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/normed_group_hom): add lemmas #7875

Closed
wants to merge 11 commits into from

Conversation

riccardobrasca
Copy link
Member

From LTE.


Open in Gitpod

@riccardobrasca riccardobrasca added the awaiting-review The author would like community review of the PR label Jun 10, 2021
@@ -281,6 +281,8 @@ variables {f g}

/-! ### The identity normed group hom -/

variable (V)
Copy link
Member Author

Choose a reason for hiding this comment

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

It seems more reasonable to me to have V explicit in the definition of normed_group_hom.id, but I am not 100% sure.

src/analysis/normed_space/normed_group_hom.lean Outdated Show resolved Hide resolved
src/analysis/normed_space/normed_group_hom.lean Outdated Show resolved Hide resolved
src/analysis/normed_space/normed_group_hom.lean Outdated Show resolved Hide resolved
(h.comp g).comp f = h.comp (g.comp f) :=
by { ext, refl }

lemma coe_comp (f : normed_group_hom V₁ V₂) (g : normed_group_hom V₂ V₃) :
Copy link
Member

Choose a reason for hiding this comment

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

Should this be a simp-lemma?

Suggested change
lemma coe_comp (f : normed_group_hom V₁ V₂) (g : normed_group_hom V₂ V₃) :
@[simp] lemma coe_comp (f : normed_group_hom V₁ V₂) (g : normed_group_hom V₂ V₃) :

Copy link
Member Author

Choose a reason for hiding this comment

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

I went back to the non simp version since the linter was not happy: normed_group_hom.comp_apply (that is autogenerated) is not in simp normal form.

Copy link
Member

@jcommelin jcommelin left a comment

Choose a reason for hiding this comment

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

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 Jun 21, 2021
bors bot pushed a commit that referenced this pull request Jun 21, 2021
@bors
Copy link

bors bot commented Jun 21, 2021

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title feat(analysis/normed_space/normed_group_hom): add lemmas [Merged by Bors] - feat(analysis/normed_space/normed_group_hom): add lemmas Jun 21, 2021
@bors bors bot closed this Jun 21, 2021
@bors bors bot deleted the normed_group_hom_lemmas branch June 21, 2021 14:25
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