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: protect Subgroup.subtype
#3254
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! But you didn't have to. I was about to open it (and couldn't do it before because mathport ran on it overnight).
Just noting that coe_pow
and coe_zpow
didn't have to change because their proofs became rfl
during the port.
@@ -802,7 +802,7 @@ theorem coeSubtype : ⇑ H.subtype = ((↑) : H → G) := | |||
#align add_subgroup.coe_subtype AddSubgroup.coeSubtype | |||
|
|||
@[to_additive] | |||
theorem subtype_injective : Function.Injective (subtype H) := | |||
theorem subtype_injective : Function.Injective (Subgroup.subtype H) := |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
theorem subtype_injective : Function.Injective (Subgroup.subtype H) := | |
theorem subtype_injective : Injective (Subgroup.subtype H) := |
bors merge |
Pull request successfully merged into master. Build succeeded: |
Subgroup.subtype
Subgroup.subtype
Mathlib 3: leanprover-community/mathlib#18712