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] - refactor(UniformConvergenceTopology): redefine using UniformOnFun #10873

Closed
wants to merge 4 commits into from

Conversation

urkud
Copy link
Member

@urkud urkud commented Feb 23, 2024


  • TODO: fix module docs

Open in Gitpod

@urkud urkud added awaiting-review awaiting-CI t-topology Topological spaces, uniform spaces, metric spaces, filters labels Feb 23, 2024
@urkud urkud requested a review from ocfnash February 23, 2024 06:58
Copy link
Contributor

@ocfnash ocfnash left a comment

Choose a reason for hiding this comment

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

This is great, it's been in the back of my mind for ages so I'm glad it's now happening.

The module doc string does deserve some careful attention since for example the Main definitions / results section is now out of date. On the other hand, the first two sections Compact convergence (uniform convergence on compact sets) and The uniform space structure still look useful. Perhaps we could keep these and explain in the Implementation details section that we now factor through the more general theory.

Apart from this and the nitpicks below everything looks good. I am also happy to let you make the call on the doc string (including if you disagree with my remarks above, and decided to excise / rewrite it).

bors d+

Mathlib/Topology/UniformSpace/CompactConvergence.lean Outdated Show resolved Hide resolved
Mathlib/Topology/UniformSpace/CompactConvergence.lean Outdated Show resolved Hide resolved
Mathlib/Topology/UniformSpace/CompactConvergence.lean Outdated Show resolved Hide resolved
Mathlib/Topology/UniformSpace/CompactConvergence.lean Outdated Show resolved Hide resolved
refine eq_of_nhds_eq_nhds fun f ↦ eq_of_forall_le_iff fun l ↦ ?_
simp_rw [← tendsto_id', tendsto_iff_forall_compact_tendstoUniformlyOn,
nhds_induced, tendsto_comap_iff, UniformOnFun.tendsto_iff_tendstoUniformlyOn]
rfl
Copy link
Contributor

Choose a reason for hiding this comment

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

Or if you prefer:

Suggested change
rfl
exact forall₄_congr fun U _ hU _ ↦ by simp

Mathlib/Topology/UniformSpace/CompactConvergence.lean Outdated Show resolved Hide resolved
Mathlib/Topology/UniformSpace/CompactConvergence.lean Outdated Show resolved Hide resolved
@mathlib-bors
Copy link
Contributor

mathlib-bors bot commented Feb 24, 2024

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

urkud and others added 2 commits February 24, 2024 09:24
Co-authored-by: Oliver Nash <github@olivernash.org>
@urkud
Copy link
Member Author

urkud commented Feb 24, 2024

I'll updates the docs later.

@urkud
Copy link
Member Author

urkud commented Feb 25, 2024

bors merge

@github-actions github-actions bot added the ready-to-merge This PR has been sent to bors. label Feb 25, 2024
@mathlib-bors
Copy link
Contributor

mathlib-bors bot commented Feb 25, 2024

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title refactor(UniformConvergenceTopology): redefine using UniformOnFun [Merged by Bors] - refactor(UniformConvergenceTopology): redefine using UniformOnFun Feb 25, 2024
@mathlib-bors mathlib-bors bot closed this Feb 25, 2024
@mathlib-bors mathlib-bors bot deleted the YK-compactunif branch February 25, 2024 01:53
@ADedecker
Copy link
Member

Ooooooh I missed that (I was preparing for an exam...), thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
delegated ready-to-merge This PR has been sent to bors. t-topology Topological spaces, uniform spaces, metric spaces, filters
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants