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] - chore(algebra/group): make coe_norm_subgroup and submodule.norm_coe consistent #11427

Closed
wants to merge 3 commits into from

Conversation

Vierkantor
Copy link
Collaborator

@Vierkantor Vierkantor commented Jan 13, 2022

The simp lemmas for norms in a subgroup and in a submodule disagreed: the first inserted a coercion to the larger group, the second deleted the coercion. Currently this is not a big deal, but it will become a real issue when defining add_subgroup_class. I want to make them consistent by pointing them in the same direction. The consensus in the Zulip thread suggests simp should insert a coercion here, so I went with that.

After making the changes, a few places need extra simp [submodule.coe_norm] on the local hypotheses, but nothing major.


Open in Gitpod

@Vierkantor Vierkantor added the awaiting-review The author would like community review of the PR label Jan 13, 2022
… of the `coe`s)

TODO: this is probably a sign some of the other simp lemmas need to be changed, let's see if the linter can spot them
@ocfnash ocfnash changed the title chore(algebra/group): consistenize coe_norm_subgroup and submodule.norm_coe chore(algebra/group): make coe_norm_subgroup and submodule.norm_coe consistent Jan 24, 2022
@robertylewis
Copy link
Member

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 Feb 4, 2022
bors bot pushed a commit that referenced this pull request Feb 4, 2022
…e` consistent (#11427)

The `simp` lemmas for norms in a subgroup and in a submodule disagreed: the first inserted a coercion to the larger group, the second deleted the coercion. Currently this is not a big deal, but it will become a real issue when defining `add_subgroup_class`. I want to make them consistent by pointing them in the same direction. The consensus in the [Zulip thread](https://leanprover.zulipchat.com/#narrow/stream/113488-general/topic/Simp.20normal.20form.3A.20coe_norm_subgroup.2C.20submodule.2Enorm_coe) suggests `simp` should insert a coercion here, so I went with that.

After making the changes, a few places need extra `simp [submodule.coe_norm]` on the local hypotheses, but nothing major.
@bors
Copy link

bors bot commented Feb 4, 2022

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title chore(algebra/group): make coe_norm_subgroup and submodule.norm_coe consistent [Merged by Bors] - chore(algebra/group): make coe_norm_subgroup and submodule.norm_coe consistent Feb 4, 2022
@bors bors bot closed this Feb 4, 2022
@bors bors bot deleted the reverse-submodule_norm_coe branch February 4, 2022 22:50
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