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

feat(ring_theory/algebra) : generalize rat.algebra_rat to division_ring #2208

Merged
merged 2 commits into from
Mar 22, 2020

Conversation

urkud
Copy link
Member

@urkud urkud commented Mar 21, 2020

Other changes:

  • add lemmas about field inverse to algebra/semiconj and algebra/commute;

  • drop rat.cast, define instance : has_coe right away to avoid
    accidental use of rat.cast in theorems;

  • define rat.cast_hom instead of is_ring_hom rat.cast;

  • generalize some theorems about from field to division_ring.

…_ring`

Other changes:

* add lemmas about field inverse to `algebra/semiconj` and `algebra/commute`;

* drop `rat.cast`, define `instance : has_coe` right away to avoid
  accidental use of `rat.cast` in theorems;

* define `rat.cast_hom` instead of `is_ring_hom rat.cast`;

* generalize some theorems about from `field` to `division_ring`.
@urkud urkud added the awaiting-review The author would like community review of the PR label Mar 21, 2020
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.

Looks good to me.
@digama0 What do you think of such a change?

@digama0
Copy link
Member

digama0 commented Mar 22, 2020

Looks good to me too. I would have done this originally except that div_zero was not part of division_ring until recently.

@digama0 digama0 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 Mar 22, 2020
@mergify mergify bot merged commit 3a71499 into master Mar 22, 2020
@urkud urkud deleted the rat-algebra branch March 25, 2020 01:30
cipher1024 pushed a commit that referenced this pull request Apr 20, 2020
…_ring` (#2208)

Other changes:

* add lemmas about field inverse to `algebra/semiconj` and `algebra/commute`;

* drop `rat.cast`, define `instance : has_coe` right away to avoid
  accidental use of `rat.cast` in theorems;

* define `rat.cast_hom` instead of `is_ring_hom rat.cast`;

* generalize some theorems about from `field` to `division_ring`.

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
anrddh pushed a commit to anrddh/mathlib that referenced this pull request May 15, 2020
…_ring` (leanprover-community#2208)

Other changes:

* add lemmas about field inverse to `algebra/semiconj` and `algebra/commute`;

* drop `rat.cast`, define `instance : has_coe` right away to avoid
  accidental use of `rat.cast` in theorems;

* define `rat.cast_hom` instead of `is_ring_hom rat.cast`;

* generalize some theorems about from `field` to `division_ring`.

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
anrddh pushed a commit to anrddh/mathlib that referenced this pull request May 16, 2020
…_ring` (leanprover-community#2208)

Other changes:

* add lemmas about field inverse to `algebra/semiconj` and `algebra/commute`;

* drop `rat.cast`, define `instance : has_coe` right away to avoid
  accidental use of `rat.cast` in theorems;

* define `rat.cast_hom` instead of `is_ring_hom rat.cast`;

* generalize some theorems about from `field` to `division_ring`.

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
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

3 participants