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(UniformConvergenceTopology): add UniformOnFun.uniformity_eq etc #10784

Closed
wants to merge 7 commits into from

Conversation

urkud
Copy link
Member

@urkud urkud commented Feb 21, 2024

  • Add UniformOnFun.uniformity_eq etc:
    the HasBasis statements need more assumptions.
  • Add missing toFun/ofFun.
  • Golf using new lemmas.

Open in Gitpod

@urkud urkud added awaiting-review The author would like community review of the PR t-topology Topological spaces, uniform spaces, metric spaces, filters labels Feb 21, 2024
rw [← uniformContinuous_iff]
exact UniformFun.precomp_uniformContinuous
(hf : MapsTo (f '' ·) 𝔗 𝔖) :
UniformContinuous fun g : α →ᵤ[𝔖] β => ofFun 𝔗 (toFun 𝔖 g ∘ f) := by
Copy link
Member Author

Choose a reason for hiding this comment

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

I made the proof much shorter. Should I restore some of the comments?

Copy link
Member

@ADedecker ADedecker Apr 21, 2024

Choose a reason for hiding this comment

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

TBH I'm a bit sad to see my proof go, mostly because I like this kind of argument, but I have no objective argument for keeping it (I suggested a slight golf though). As for comments, I'd say you could just add the following at the beginning of the proof, to match more accurately the new version:

  -- This follows from the fact that `(— ∘ f) × (— ∘ f)` maps `gen (f '' t) V` to `gen t V`.

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.

Thanks and sorry for the delay.

bors d+

rw [← uniformContinuous_iff]
exact UniformFun.precomp_uniformContinuous
(hf : MapsTo (f '' ·) 𝔗 𝔖) :
UniformContinuous fun g : α →ᵤ[𝔖] β => ofFun 𝔗 (toFun 𝔖 g ∘ f) := by
Copy link
Member

@ADedecker ADedecker Apr 21, 2024

Choose a reason for hiding this comment

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

TBH I'm a bit sad to see my proof go, mostly because I like this kind of argument, but I have no objective argument for keeping it (I suggested a slight golf though). As for comments, I'd say you could just add the following at the beginning of the proof, to match more accurately the new version:

  -- This follows from the fact that `(— ∘ f) × (— ∘ f)` maps `gen (f '' t) V` to `gen t V`.

@mathlib-bors
Copy link

mathlib-bors bot commented Apr 21, 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.

@leanprover-community-mathlib4-bot leanprover-community-mathlib4-bot added delegated and removed awaiting-review The author would like community review of the PR labels Apr 21, 2024
@urkud urkud added the auto-merge-after-CI Please do not add manually. Requests for a bot to merge automatically once CI is done. label Apr 21, 2024
@leanprover-community-mathlib4-bot
Copy link
Collaborator

As this PR is labelled auto-merge-after-CI, we are now sending it to bors:

bors merge

mathlib-bors bot pushed a commit that referenced this pull request Apr 21, 2024
#10784)

- Add `UniformOnFun.uniformity_eq` etc:
  the `HasBasis` statements need more assumptions.
- Add missing `toFun`/`ofFun`.
- Golf using new lemmas.
@mathlib-bors
Copy link

mathlib-bors bot commented Apr 21, 2024

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title feat(UniformConvergenceTopology): add UniformOnFun.uniformity_eq etc [Merged by Bors] - feat(UniformConvergenceTopology): add UniformOnFun.uniformity_eq etc Apr 21, 2024
@mathlib-bors mathlib-bors bot closed this Apr 21, 2024
@mathlib-bors mathlib-bors bot deleted the YK-unifconv-nhds branch April 21, 2024 22:15
callesonne pushed a commit that referenced this pull request Apr 22, 2024
#10784)

- Add `UniformOnFun.uniformity_eq` etc:
  the `HasBasis` statements need more assumptions.
- Add missing `toFun`/`ofFun`.
- Golf using new lemmas.
Jun2M pushed a commit that referenced this pull request Apr 24, 2024
#10784)

- Add `UniformOnFun.uniformity_eq` etc:
  the `HasBasis` statements need more assumptions.
- Add missing `toFun`/`ofFun`.
- Golf using new lemmas.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-merge-after-CI Please do not add manually. Requests for a bot to merge automatically once CI is done. delegated t-topology Topological spaces, uniform spaces, metric spaces, filters
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants