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] - refactor(algebra/order/ring,data/complex): redefine ordered_comm_ring and complex order #9420

Closed
wants to merge 2 commits into from

Conversation

urkud
Copy link
Member

@urkud urkud commented Sep 27, 2021

  • ordered_comm_ring no longer extends ordered_comm_semiring.
    We add an instance ordered_comm_ring.to_ordered_comm_semiring instead.
  • redefine complex order in terms of re and im instead of existence of a nonnegative real number.
  • simplify has_star.star on complex to conj;
  • rename complex.complex_partial_order etc to complex.partial_order etc, make them protected.

Open in Gitpod

@urkud urkud added awaiting-review The author would like community review of the PR awaiting-CI The author would like to see what CI has to say before doing more work. labels Sep 27, 2021
@semorrison
Copy link
Collaborator

This is great!

bors d+

@bors
Copy link

bors bot commented Sep 28, 2021

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

@github-actions github-actions bot added delegated The PR author may merge after reviewing final suggestions. and removed awaiting-review The author would like community review of the PR labels Sep 28, 2021
Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
@urkud
Copy link
Member Author

urkud commented Sep 28, 2021

bors merge

@github-actions github-actions bot added the ready-to-merge All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.) label Sep 28, 2021
bors bot pushed a commit that referenced this pull request Sep 28, 2021
…g` and complex order (#9420)

* `ordered_comm_ring` no longer extends `ordered_comm_semiring`.
  We add an instance `ordered_comm_ring.to_ordered_comm_semiring` instead.
* redefine complex order in terms of `re` and `im` instead of existence of a nonnegative real number.
* simplify `has_star.star` on `complex` to `conj`;
* rename `complex.complex_partial_order` etc to `complex.partial_order` etc, make them protected.
@bors
Copy link

bors bot commented Sep 28, 2021

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title refactor(algebra/order/ring,data/complex): redefine ordered_comm_ring and complex order [Merged by Bors] - refactor(algebra/order/ring,data/complex): redefine ordered_comm_ring and complex order Sep 28, 2021
@bors bors bot closed this Sep 28, 2021
@bors bors bot deleted the ordered-comm-ring branch September 28, 2021 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting-CI The author would like to see what CI has to say before doing more work. delegated The PR author may merge after reviewing final suggestions. 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