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] - feat(analysis/normed_space/units): maximal ideals in complete normed rings are closed #16303
Conversation
j-loreaux
commented
Aug 29, 2022
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a good reason to rely on balls and not just on units.is_open
? I mean it doesn't change anything deep but I think it would look cleaner.
Also, I know we have this rule of splitting things into small lemmas, but for example ideal.is_maximal.closure_eq
should not be stated separately imo.
For reference, here is my proof:
lemma ideal.is_maximal.is_closed {A : ideal R} (hA : A.is_maximal) : is_closed (A : set R) :=
begin
have : (A : set R) ⊆ {x | is_unit x}ᶜ,
{ rw set.subset_compl_comm,
exact λ x hx hxA, hA.ne_top (ideal.eq_top_of_is_unit_mem _ hxA hx) },
have : _root_.closure (A : set R) ⊆ {x | is_unit x}ᶜ := closure_minimal this
(is_closed_compl_iff.mpr units.is_open),
exact is_closed_of_closure_subset (show A.topological_closure ≤ A, from
ge_of_eq $ hA.eq_of_le ((ideal.ne_top_iff_one _).mpr $ λ h, this h is_unit_one) subset_closure)
end
(I didn't know about nonunits
, we should add a lemma saying that it is closed; also I agree that ideal.closure_ne_top
should be kept separate like you did because it could be useful)
Thanks for the comments. As for balls, I just did it that way because that's the way I normally think about why it's true. However, as you point out, just going through the fact that |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🎉
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
bors d+
✌️ j-loreaux can now approve this pull request. To approve and merge a pull request, simply reply with |
Co-authored-by: Frédéric Dupuis <31101893+dupuisf@users.noreply.github.com>
bors r+ |
Pull request successfully merged into master. Build succeeded: |