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] - feat(analysis/normed_space/units): maximal ideals in complete normed rings are closed #16303

Closed
wants to merge 7 commits into from

Conversation

j-loreaux
Copy link
Collaborator


Open in Gitpod

@j-loreaux j-loreaux added awaiting-CI The author would like to see what CI has to say before doing more work. awaiting-review The author would like community review of the PR t-analysis Analysis (normed *, calculus) labels Aug 29, 2022
src/analysis/normed_space/units.lean Outdated Show resolved Hide resolved
src/analysis/normed_space/units.lean Outdated Show resolved Hide resolved
src/analysis/normed_space/units.lean Outdated Show resolved Hide resolved
@github-actions github-actions bot removed the awaiting-CI The author would like to see what CI has to say before doing more work. label Aug 30, 2022
Copy link
Member

@ADedecker ADedecker left a 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)

@dupuisf dupuisf 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 Sep 3, 2022
@j-loreaux
Copy link
Collaborator Author

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 nonunits is closed is cleaner, so I've done that. I inserted a lemma that nonunits is closed. I did leave two lemmas about balls that I thought would be useful: nonunits.subset_compl_ball and ideal.eq_top_of_norm_lt_one. As for the two closure lemmas, I left them both because they serve different purposes. The former ideal.is_maximal.closure_eq is useful for rewriting, whereas ideal.is_maximal.is_closed is what you need for quotients to be normed instead of seminormed. As such I made the latter an instance.

@j-loreaux j-loreaux 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 Sep 7, 2022
Copy link
Member

@ADedecker ADedecker left a comment

Choose a reason for hiding this comment

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

LGTM 🎉

Copy link
Collaborator

@dupuisf dupuisf 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!

bors d+

src/analysis/normed_space/units.lean Outdated Show resolved Hide resolved
@bors
Copy link

bors bot commented Sep 13, 2022

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

@leanprover-community-bot-assistant leanprover-community-bot-assistant 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 13, 2022
Co-authored-by: Frédéric Dupuis <31101893+dupuisf@users.noreply.github.com>
@j-loreaux
Copy link
Collaborator Author

bors r+

bors bot pushed a commit that referenced this pull request Sep 13, 2022
@bors
Copy link

bors bot commented Sep 13, 2022

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title feat(analysis/normed_space/units): maximal ideals in complete normed rings are closed [Merged by Bors] - feat(analysis/normed_space/units): maximal ideals in complete normed rings are closed Sep 13, 2022
@bors bors bot closed this Sep 13, 2022
@bors bors bot deleted the j-loreaux/maximal-ideal-closed branch September 13, 2022 08:28
bors bot pushed a commit that referenced this pull request Sep 16, 2022
…ansform is a bijective isometry for C⋆-algebras over ℂ (#16488)

- [x] depends on: #16451
- [x] depends on: #16438
- [x] depends on: #16368
- [x] depends on: #16303
- [x] depends on: #16446
- [x] depends on: #16448
b-mehta pushed a commit that referenced this pull request Sep 21, 2022
b-mehta pushed a commit that referenced this pull request Sep 21, 2022
…ansform is a bijective isometry for C⋆-algebras over ℂ (#16488)

- [x] depends on: #16451
- [x] depends on: #16438
- [x] depends on: #16368
- [x] depends on: #16303
- [x] depends on: #16446
- [x] depends on: #16448
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
delegated The PR author may merge after reviewing final suggestions. t-analysis Analysis (normed *, calculus)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants