Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

[Merged by Bors] - feat(algebra/pointwise): introduce canonically_ordered_comm_semiring on set_semiring ... #11580

Closed
wants to merge 36 commits into from

Conversation

adomani
Copy link
Collaborator

@adomani adomani commented Jan 21, 2022

... assuming multiplication is commutative (there is no canonically_ordered_comm_semiring structure).

Also prove the relevant no_zero_divisors and covariant_class properties of addition and multiplication.


Open in Gitpod

@leanprover-community-bot-assistant leanprover-community-bot-assistant added the blocked-by-other-PR This PR depends on another PR which is still in the queue. A bot manages this label via PR comment. label Jan 21, 2022
@leanprover-community-bot-assistant leanprover-community-bot-assistant removed the blocked-by-other-PR This PR depends on another PR which is still in the queue. A bot manages this label via PR comment. label Jan 24, 2022
@leanprover-community-bot-assistant
Copy link
Collaborator

This PR/issue depends on:

@adomani adomani added the awaiting-review The author would like community review of the PR label Jan 25, 2022
Copy link
Collaborator

@YaelDillies YaelDillies left a comment

Choose a reason for hiding this comment

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

A bunch of 🏌️‍♀️

src/algebra/pointwise.lean Outdated Show resolved Hide resolved
src/algebra/pointwise.lean Outdated Show resolved Hide resolved
src/algebra/pointwise.lean Outdated Show resolved Hide resolved
src/algebra/pointwise.lean Outdated Show resolved Hide resolved
src/algebra/pointwise.lean Outdated Show resolved Hide resolved
src/algebra/pointwise.lean Outdated Show resolved Hide resolved
@adomani
Copy link
Collaborator Author

adomani commented Jan 28, 2022

Yaël, thank you so much for your golfing suggestions!

Copy link
Collaborator

@YaelDillies YaelDillies left a comment

Choose a reason for hiding this comment

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

LGTM

src/algebra/pointwise.lean Outdated Show resolved Hide resolved
src/algebra/pointwise.lean Outdated Show resolved Hide resolved
src/algebra/pointwise.lean Outdated Show resolved Hide resolved
adomani and others added 3 commits January 28, 2022 09:52
Co-authored-by: Yaël Dillies <yael.dillies@gmail.com>
…r-community/mathlib into adomani_set_semiring_can
@adomani
Copy link
Collaborator Author

adomani commented Jan 28, 2022

That's great, thanks Yaël! Honestly, I no longer follow the Lean proofs entirely, but I also find the math proofs pretty trivial, so I do not mind the obfuscation!

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

@leanprover-community-bot-assistant leanprover-community-bot-assistant 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 Jan 31, 2022
bors bot pushed a commit that referenced this pull request Jan 31, 2022
…` on `set_semiring` ... (#11580)

... assuming multiplication is commutative (there is no `canonically_ordered_`~~comm~~`_semiring` structure).

Also prove the relevant `no_zero_divisors` and `covariant_class` properties of addition and multiplication.



Co-authored-by: Damiano Testa <maskal@CLD-E854D68C.ads.warwick.ac.uk>
Co-authored-by: Eric Rodriguez <ericrboidi@gmail.com>
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
@bors
Copy link

bors bot commented Jan 31, 2022

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title feat(algebra/pointwise): introduce canonically_ordered_comm_semiring on set_semiring ... [Merged by Bors] - feat(algebra/pointwise): introduce canonically_ordered_comm_semiring on set_semiring ... Jan 31, 2022
@bors bors bot closed this Jan 31, 2022
@bors bors bot deleted the adomani_set_semiring_can branch January 31, 2022 22:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
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.

6 participants