Skip to content

[Merged by Bors] - feat: port Algebra.Group.Ext#850

Closed
rosborn wants to merge 7 commits intomasterfrom
Algebra.Group.Ext
Closed

[Merged by Bors] - feat: port Algebra.Group.Ext#850
rosborn wants to merge 7 commits intomasterfrom
Algebra.Group.Ext

Conversation

@rosborn
Copy link
Copy Markdown
Contributor

@rosborn rosborn commented Dec 4, 2022

mathlib SHA: e574b1a4e891376b0ef974b926da39e05da12a06

Porting notes:

  1. Constructing a MonoidHom (or OneHom) with ambiguous instances requires the use of the mk constructor and using (_) to disable the TC inference on the input type.
  2. For the proofs of injectivity, I needed to destructure the instances further for the proofs to work. In the case of CancelCommMonoid.toCommMonoid_injective, I needed to nest injection tactics. Not sure if injection or congr should do these automatically.

@rosborn rosborn added help-wanted The author needs attention to resolve issues WIP Work in progress mathlib-port This is a port of a theory file from mathlib. labels Dec 4, 2022
@rosborn rosborn added awaiting-review and removed help-wanted The author needs attention to resolve issues WIP Work in progress labels Dec 5, 2022
@eric-wieser
Copy link
Copy Markdown
Member

Don't forget to update the porting notes!

@ChrisHughes24
Copy link
Copy Markdown
Member

bors merge

@github-actions github-actions bot added ready-to-merge This PR has been sent to bors. and removed awaiting-review labels Dec 5, 2022
@eric-wieser
Copy link
Copy Markdown
Member

bors r-
bors d+

Let's update the porting notes to reflect the working version first

@bors
Copy link
Copy Markdown

bors bot commented Dec 5, 2022

✌️ rosborn can now approve this pull request. To approve and merge a pull request, simply reply with bors r+. More detailed instructions are available here.

@kim-em kim-em added delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). and removed ready-to-merge This PR has been sent to bors. labels Dec 6, 2022
@rosborn
Copy link
Copy Markdown
Contributor Author

rosborn commented Dec 7, 2022

bors r+

bors bot pushed a commit that referenced this pull request Dec 7, 2022
mathlib SHA: e574b1a4e891376b0ef974b926da39e05da12a06

Porting notes:
1. Constructing a `MonoidHom` (or `OneHom`) with ambiguous instances requires the use of the `mk` constructor and using `(_)` to disable the TC inference on the input type.
2. For the proofs of injectivity, I needed to destructure the instances further for the proofs to work. In the case of `CancelCommMonoid.toCommMonoid_injective`, I needed to nest `injection` tactics. Not sure if `injection` or `congr` should do these automatically.

Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
Co-authored-by: Chris Hughes <33847686+ChrisHughes24@users.noreply.github.com>
@bors
Copy link
Copy Markdown

bors bot commented Dec 7, 2022

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title feat: port Algebra.Group.Ext [Merged by Bors] - feat: port Algebra.Group.Ext Dec 7, 2022
@bors bors bot closed this Dec 7, 2022
@bors bors bot deleted the Algebra.Group.Ext branch December 7, 2022 02:43
bors bot pushed a commit to leanprover-community/mathlib3 that referenced this pull request Dec 8, 2022
Regenerated from the [port status wiki page](https://github.com/leanprover-community/mathlib/wiki/mathlib4-port-status).
Relates to the following PRs:
* `algebra.euclidean_domain.defs`: leanprover-community/mathlib4#871
* `algebra.group.ext`: leanprover-community/mathlib4#850
* `algebra.group_power.basic`: leanprover-community/mathlib4#874
* `algebra.hom.equiv.units.basic`: leanprover-community/mathlib4#895
* `algebra.hom.equiv.units.group_with_zero`: leanprover-community/mathlib4#901
* `algebra.order.group.instances`: leanprover-community/mathlib4#890
* `algebra.order.group.order_iso`: leanprover-community/mathlib4#895
* `algebra.order.group.units`: leanprover-community/mathlib4#898
* `algebra.order.monoid.nat_cast`: leanprover-community/mathlib4#893
* `algebra.order.monoid.type_tags`: leanprover-community/mathlib4#873
* `algebra.order.monoid.units`: leanprover-community/mathlib4#873
* `algebra.order.zero_le_one`: leanprover-community/mathlib4#893
* `combinatorics.quiver.push`: leanprover-community/mathlib4#868
* `control.traversable.basic`: leanprover-community/mathlib4#788
* `data.sum.order`: leanprover-community/mathlib4#880
* `group_theory.group_action.option`: leanprover-community/mathlib4#884
* `group_theory.group_action.sigma`: leanprover-community/mathlib4#885
* `group_theory.group_action.sum`: leanprover-community/mathlib4#882
* `group_theory.group_action.units`: leanprover-community/mathlib4#878
* `order.antisymmetrization`: leanprover-community/mathlib4#876
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). mathlib-port This is a port of a theory file from mathlib.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants