Skip to content

[Merged by Bors] - feat: port Algebra.Ring.Defs - #655

Closed
Ruben-VandeVelde wants to merge 39 commits into
masterfrom
algebra.ring.defs
Closed

Ruben-VandeVelde wants to merge 39 commits into
masterfrom
algebra.ring.defs

Conversation

@Ruben-VandeVelde

@Ruben-VandeVelde Ruben-VandeVelde commented Nov 19, 2022 •

Copy link
Copy Markdown
Contributor

Tracking mathlib commit: 39af7d3bf61a98e928812dbc3e16f4ea8b795ca3

@Ruben-VandeVelde Ruben-VandeVelde added help-wanted The author needs attention to resolve issues blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) labels Nov 19, 2022
@kim-em kim-em removed the blocked-by-other-PR This PR depends on another PR (this label is automatically managed by a bot) label Nov 20, 2022
@Ruben-VandeVelde Ruben-VandeVelde added awaiting-review mathlib-port This is a port of a theory file from mathlib. and removed help-wanted The author needs attention to resolve issues labels Nov 20, 2022
@Ruben-VandeVelde

Copy link
Copy Markdown
Contributor Author

Thanks for the help, should be ready for review now

Comment thread Mathlib/Algebra/Ring/Defs.lean Outdated

variable [AddMonoidWithOne α]

-- TODO: Move to `Data.Nat.Cast.Defs`?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

👍

Comment thread Mathlib/Algebra/Ring/Defs.lean Outdated
#align two_mul two_mul

section deprecated
set_option linter.deprecated false

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

If it's only for one command, you can use

set_option linter.deprecated false in ...

@kim-em

kim-em commented Nov 20, 2022

Copy link
Copy Markdown
Contributor

Looks good otherwise.

bors d+

@bors

bors Bot commented Nov 20, 2022

Copy link
Copy Markdown

✌️ Ruben-VandeVelde 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 awaiting-review labels Nov 20, 2022
@Ruben-VandeVelde

Copy link
Copy Markdown
Contributor Author

Thanks!

bors r+

bors Bot pushed a commit that referenced this pull request Nov 20, 2022
Tracking mathlib commit: [39af7d3bf61a98e928812dbc3e16f4ea8b795ca3](leanprover-community/mathlib3@39af7d3)

Co-authored-by: Scott Morrison <[email protected]>
Co-authored-by: Jireh Loreaux <[email protected]>
Co-authored-by: Ruben Van de Velde <[email protected]>
Co-authored-by: Mario Carneiro <[email protected]>
@bors

bors Bot commented Nov 20, 2022

Copy link
Copy Markdown

Pull request successfully merged into master.

Build succeeded:

@bors bors Bot changed the title feat: port Algebra.Ring.Defs [Merged by Bors] - feat: port Algebra.Ring.Defs Nov 20, 2022
@bors bors Bot closed this Nov 20, 2022
@bors
bors Bot deleted the algebra.ring.defs branch November 20, 2022 21:47
bors Bot pushed a commit to leanprover-community/mathlib3 that referenced this pull request Nov 23, 2022
Regenerated from the [port status wiki page](https://github.com/leanprover-community/mathlib/wiki/mathlib4-port-status).
Relates to the following PRs:
* `algebra.char_zero.defs`: leanprover-community/mathlib4#661
* `algebra.group.order_synonym`: leanprover-community/mathlib4#651
* `algebra.hierarchy_design`: leanprover-community/mathlib4#657
* `algebra.quotient`: leanprover-community/mathlib4#643
* `algebra.ring.defs`: leanprover-community/mathlib4#655
* `algebra.ring.order_synonym`: leanprover-community/mathlib4#671
* `control.equiv_functor`: leanprover-community/mathlib4#649
* `data.dlist.basic`: leanprover-community/mathlib4#616
* `data.int.cast.basic`: leanprover-community/mathlib4#670
* `data.lazy_list`: leanprover-community/mathlib4#686
* `data.list.lex`: leanprover-community/mathlib4#672
* `data.option.n_ary`: leanprover-community/mathlib4#656
* `data.sigma.lex`: leanprover-community/mathlib4#646
* `group_theory.eckmann_hilton`: leanprover-community/mathlib4#626
* `logic.equiv.basic`: leanprover-community/mathlib4#631
* `order.iterate`: leanprover-community/mathlib4#648
bors Bot pushed a commit to leanprover-community/mathlib3 that referenced this pull request Nov 24, 2022
Regenerated from the [port status wiki page](https://github.com/leanprover-community/mathlib/wiki/mathlib4-port-status).
Relates to the following PRs:
* `algebra.char_zero.defs`: leanprover-community/mathlib4#661
* `algebra.group.inj_surj`: leanprover-community/mathlib4#707
* `algebra.group.order_synonym`: leanprover-community/mathlib4#651
* `algebra.group.units`: leanprover-community/mathlib4#549
* `algebra.hierarchy_design`: leanprover-community/mathlib4#657
* `algebra.quotient`: leanprover-community/mathlib4#643
* `algebra.ring.defs`: leanprover-community/mathlib4#655
* `algebra.ring.order_synonym`: leanprover-community/mathlib4#671
* `control.equiv_functor`: leanprover-community/mathlib4#649
* `data.dlist.basic`: leanprover-community/mathlib4#616
* `data.int.cast.basic`: leanprover-community/mathlib4#670
* `data.lazy_list`: leanprover-community/mathlib4#686
* `data.list.lex`: leanprover-community/mathlib4#672
* `data.option.n_ary`: leanprover-community/mathlib4#656
* `data.sigma.lex`: leanprover-community/mathlib4#646
* `data.ulift`: leanprover-community/mathlib4#703
* `group_theory.eckmann_hilton`: leanprover-community/mathlib4#626
* `logic.equiv.basic`: leanprover-community/mathlib4#631
* `order.iterate`: leanprover-community/mathlib4#648
bors Bot pushed a commit to leanprover-community/mathlib3 that referenced this pull request Nov 25, 2022
Regenerated from the [port status wiki page](https://github.com/leanprover-community/mathlib/wiki/mathlib4-port-status).
Relates to the following PRs:
* `algebra.char_zero.defs`: leanprover-community/mathlib4#661
* `algebra.group.inj_surj`: leanprover-community/mathlib4#707
* `algebra.group.order_synonym`: leanprover-community/mathlib4#651
* `algebra.group.units`: leanprover-community/mathlib4#549
* `algebra.hierarchy_design`: leanprover-community/mathlib4#657
* `algebra.opposites`: leanprover-community/mathlib4#644
* `algebra.quotient`: leanprover-community/mathlib4#643
* `algebra.ring.defs`: leanprover-community/mathlib4#655
* `algebra.ring.order_synonym`: leanprover-community/mathlib4#671
* `control.equiv_functor`: leanprover-community/mathlib4#649
* `data.dlist.basic`: leanprover-community/mathlib4#616
* `data.int.cast.basic`: leanprover-community/mathlib4#670
* `data.lazy_list`: leanprover-community/mathlib4#686
* `data.list.lex`: leanprover-community/mathlib4#672
* `data.option.n_ary`: leanprover-community/mathlib4#656
* `data.sigma.lex`: leanprover-community/mathlib4#646
* `data.ulift`: leanprover-community/mathlib4#703
* `group_theory.eckmann_hilton`: leanprover-community/mathlib4#626
* `logic.equiv.basic`: leanprover-community/mathlib4#631
* `order.iterate`: leanprover-community/mathlib4#648
AddGroupWithOne α
#align non_assoc_ring NonAssocRing

class Ring (R : Type u) extends Semiring R, AddCommGroup R, AddGroupWithOne R

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This doesn't match the version in Lean 3...

Zulip Thread

Ruben-VandeVelde added a commit that referenced this pull request Jan 22, 2023
I appear to have inadvertantly copied the unaligned ah-hoc definition in #655.
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.

6 participants