Skip to content

[Merged by Bors] - feat: Eventual boundedness of neighborhoods - #8009

Closed
YaelDillies wants to merge 5 commits into
masterfrom
bounded_le_nhds_class
Closed

YaelDillies wants to merge 5 commits into
masterfrom
bounded_le_nhds_class

Conversation

@YaelDillies

Copy link
Copy Markdown
Contributor

@YaelDillies YaelDillies added awaiting-review mathlib3-pair This PR is a forward-port of a mathlib3 PR or part of one, either under review or recently merged t-topology Topological spaces, uniform spaces, metric spaces, filters t-order Order theory labels Oct 29, 2023
Comment on lines +134 to +138
refine ⟨fun x ↦ ?_⟩
obtain ⟨a, ha⟩ := isBounded_ge_nhds x.1
obtain ⟨b, hb⟩ := isBounded_ge_nhds x.2
rw [← @Prod.mk.eta _ _ x, nhds_prod_eq]
exact ⟨(a, b), ha.prod_mk hb⟩

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

instead of copying the proof, you can deduce it from the other one by order-dual arguments, with something like

Suggested change
refine ⟨fun x ↦ ?_⟩
obtain ⟨a, ha⟩ := isBounded_ge_nhds x.1
obtain ⟨b, hb⟩ := isBounded_ge_nhds x.2
rw [← @Prod.mk.eta _ _ x, nhds_prod_eq]
exact ⟨(a, b), ha.prod_mk hb⟩
⟨(instBoundedLENhdsClassProd (α := αᵒᵈ) (β := βᵒᵈ)).isBounded_le_nhds⟩

(if you have named the instance above). Same thing for the next instance.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Since this is a forward-port PR, I think this is best left to a follow-up. The ideal place for this comment would have been leanprover-community/mathlib3#18629!

@sgouezel sgouezel added awaiting-author Reply -awaiting-author to remove the label on your PR once you have addressed all comments. and removed awaiting-review labels Oct 30, 2023
YaelDillies and others added 2 commits October 30, 2023 18:29
Co-authored-by: sgouezel <[email protected]>
@eric-wieser

Copy link
Copy Markdown
Member

This looks like a faithful forward-port, so

bors merge

Please open a follow-up PR to address @sgouezel's concerns.

@github-actions github-actions Bot added the ready-to-merge This PR has been sent to bors. label Nov 1, 2023
@bors

bors Bot commented Nov 1, 2023

Copy link
Copy Markdown

Canceled.

@github-actions github-actions Bot removed the awaiting-author Reply -awaiting-author to remove the label on your PR once you have addressed all comments. label Nov 1, 2023
@eric-wieser

Copy link
Copy Markdown
Member

bors merge

@bors

bors Bot commented Nov 1, 2023

Copy link
Copy Markdown

Pull request successfully merged into master.

Build succeeded!

The publicly hosted instance of bors-ng is deprecated and will go away soon.

If you want to self-host your own instance, instructions are here.
For more help, visit the forum.

If you want to switch to GitHub's built-in merge queue, visit their help page.

@bors bors Bot changed the title feat: Eventual boundedness of neighborhoods [Merged by Bors] - feat: Eventual boundedness of neighborhoods Nov 1, 2023
@bors bors Bot closed this Nov 1, 2023
@bors
bors Bot deleted the bounded_le_nhds_class branch November 1, 2023 13:33
mathlib-bors Bot pushed a commit that referenced this pull request Jun 13, 2025
pfaffelh pushed a commit to pfaffelh/mathlib4 that referenced this pull request Jun 15, 2025
pfaffelh pushed a commit to pfaffelh/mathlib4 that referenced this pull request Jun 15, 2025
Rida-Hamadani pushed a commit to Rida-Hamadani/mathlib4 that referenced this pull request Jun 24, 2025
callesonne pushed a commit to callesonne/mathlib4 that referenced this pull request Jul 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mathlib3-pair This PR is a forward-port of a mathlib3 PR or part of one, either under review or recently merged ready-to-merge This PR has been sent to bors. t-order Order theory t-topology Topological spaces, uniform spaces, metric spaces, filters

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants