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/ideal/basic): define right ideals and show division rings are left and right Artinian #14399

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

ocfnash
Copy link
Collaborator

@ocfnash ocfnash commented May 26, 2022


See also comments on Zulip

Open in Gitpod

@ocfnash ocfnash added the awaiting-review The author would like community review of the PR label May 26, 2022
@eric-wieser eric-wieser added awaiting-author A reviewer has asked the author a question or requested changes and removed awaiting-review The author would like community review of the PR labels Jun 21, 2022
@ocfnash ocfnash added awaiting-review The author would like community review of the PR and removed awaiting-author A reviewer has asked the author a question or requested changes labels Jun 21, 2022
Comment on lines +347 to +348
/-- A right ideal is a left ideal of the opposite (semi)ring. -/
@[simps] def to_ideal : ideal αᵐᵒᵖ :=
Copy link
Member

Choose a reason for hiding this comment

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

I can see this being more useful as an equiv or even order_iso between ideal αᵐᵒᵖ and right_ideal α. In particular, having things like to_ideal.injective and to_ideal.map_bot seem valuable.

Copy link
Member

Choose a reason for hiding this comment

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

In the same vein, ideal.to_right_ideal : ideal α \equivo right_ideal αᵐᵒᵖ would go in the other direction

Copy link
Collaborator

@Vierkantor Vierkantor 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 with @eric-wieser's suggestion.

Comment on lines +315 to +318

protected lemma zero_mem : (0 : α) ∈ I := I.zero_mem

protected lemma add_mem : a ∈ I → b ∈ I → a + b ∈ I := I.add_mem
Copy link
Collaborator

Choose a reason for hiding this comment

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

We should be able to safely delete these lemmas since there should already be an add_submonoid_class instance.

Suggested change
protected lemma zero_mem : (0 : α) ∈ I := I.zero_mem
protected lemma add_mem : a ∈ I → b ∈ I → a + b ∈ I := I.add_mem

Comment on lines +350 to +351
zero_mem' := I.zero_mem,
add_mem' := λ a b ha hb, I.add_mem ha hb,
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
zero_mem' := I.zero_mem,
add_mem' := λ a b ha hb, I.add_mem ha hb,
zero_mem' := zero_mem I,
add_mem' := λ a b ha hb, add_mem ha hb,

intros h1,
rw eq_bot_iff,
intros r hr,
by_cases H : r = 0, {simpa},
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
by_cases H : r = 0, {simpa},
by_cases H : r = 0, { simpa },

Comment on lines +326 to +328

lemma sum_mem {ι : Type*} {t : finset ι} {f : ι → α} :
(∀c∈t, f c ∈ I) → (∑ i in t, f i) ∈ I := submodule.sum_mem I
Copy link
Collaborator

Choose a reason for hiding this comment

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

This is also provided by add_submonoid_class.

Suggested change
lemma sum_mem {ι : Type*} {t : finset ι} {f : ι → α} :
(∀c∈t, f c ∈ I) → (∑ i in t, f i) ∈ I := submodule.sum_mem I

@Vierkantor Vierkantor added awaiting-author A reviewer has asked the author a question or requested changes and removed awaiting-review The author would like community review of the PR labels Jul 19, 2022
@ocfnash ocfnash added please-adopt This PR/issue may have been abandoned by the original contributor. You are welcome to take it over. and removed awaiting-author A reviewer has asked the author a question or requested changes labels Oct 13, 2022
@semorrison semorrison added the too-late This PR was ready too late for inclusion in mathlib3 label Jul 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
please-adopt This PR/issue may have been abandoned by the original contributor. You are welcome to take it over. too-late This PR was ready too late for inclusion in mathlib3
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants