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(topology/uniform_space): docstring and notation #3052

Closed
wants to merge 7 commits into from

Conversation

PatrickMassot
Copy link
Member

The goal of this PR is to make topology/uniform_space/basic.lean more accessible.

First it introduces the standard notation for relation composition that was inexplicably not used before. I used a non-standard unicode circle here \ciw but this is up for discussion as long as it looks like a composition circle.

Then I introduced balls as discussed on this Zulip topic. There could be used more, but at least this should be mostly sufficient for following PRs.

And of course I put a huge module docstring. As with order/filter/basic.lean, I think we need more mathematical explanations than in the average mathlib file.

I also added a bit of content about symmetric entourages but I don't have enough courage to split this off unless someone really insists.


@jcommelin jcommelin changed the title Uniform spaces basics help refactor(topology/uniform_space): docstring and notation Jun 12, 2020
@jcommelin
Copy link
Member

@PatrickMassot I changed the PR title. Feel free to change it again.

@PatrickMassot
Copy link
Member Author

I hopefully fixed build. I forgot I modified one statement to a defeq one, but it seems this is not equal enough for some later proof. I also noticed I forgot the #lint.

Copy link
Member

@robertylewis robertylewis left a comment

Choose a reason for hiding this comment

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

This looks very nice!

src/topology/uniform_space/basic.lean Outdated Show resolved Hide resolved
src/topology/uniform_space/basic.lean Outdated Show resolved Hide resolved
src/topology/uniform_space/basic.lean Outdated Show resolved Hide resolved
src/topology/uniform_space/basic.lean Outdated Show resolved Hide resolved
src/topology/uniform_space/basic.lean Outdated Show resolved Hide resolved
PatrickMassot and others added 2 commits June 12, 2020 20:29
Co-authored-by: Rob Lewis <Rob.y.lewis@gmail.com>
src/topology/uniform_space/basic.lean Outdated Show resolved Hide resolved
src/topology/uniform_space/basic.lean Outdated Show resolved Hide resolved
src/topology/uniform_space/basic.lean Outdated Show resolved Hide resolved
src/topology/uniform_space/basic.lean Outdated Show resolved Hide resolved
src/topology/uniform_space/basic.lean Outdated Show resolved Hide resolved
src/topology/uniform_space/basic.lean Outdated Show resolved Hide resolved
src/topology/uniform_space/basic.lean Outdated Show resolved Hide resolved
src/topology/uniform_space/basic.lean Outdated Show resolved Hide resolved
Co-authored-by: Bryan Gin-ge Chen <bryangingechen@gmail.com>
@PatrickMassot
Copy link
Member Author

Thank you very much Rob and Bryan for translating my docstrings into English. I'm sorry I should probably have caught some of these.

@bryangingechen bryangingechen added the awaiting-review The author would like community review of the PR label Jun 13, 2020
Copy link
Collaborator

@bryangingechen bryangingechen left a comment

Choose a reason for hiding this comment

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

Just some long lines and other style nitpicks.

src/topology/uniform_space/basic.lean Outdated Show resolved Hide resolved
src/topology/uniform_space/basic.lean Outdated Show resolved Hide resolved
src/topology/uniform_space/basic.lean Outdated Show resolved Hide resolved
src/topology/uniform_space/basic.lean Outdated Show resolved Hide resolved
Co-authored-by: Bryan Gin-ge Chen <bryangingechen@gmail.com>
Copy link
Member

@jcommelin jcommelin left a comment

Choose a reason for hiding this comment

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

Thanks 🎉

bors merge

@github-actions github-actions bot added ready-to-merge All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.) and removed awaiting-review The author would like community review of the PR labels Jun 13, 2020
bors bot pushed a commit that referenced this pull request Jun 13, 2020
The goal of this PR is to make `topology/uniform_space/basic.lean` more accessible. 

First it introduces the standard notation for relation composition that was inexplicably not used before. I used a non-standard unicode circle here `\ciw` but this is up for discussion as long as it looks like a composition circle.

Then I introduced balls as discussed on [this Zulip topic](https://leanprover.zulipchat.com/#narrow/stream/116395-maths/topic/notations.20for.20uniform.20spaces).  There could be used more, but at least this should be mostly sufficient for following PRs.

And of course I put a huge module docstring. As with `order/filter/basic.lean`, I think we need more mathematical explanations than in the average mathlib file.

I also added a bit of content about symmetric entourages but I don't have enough courage to split this off unless someone really insists.
@bors
Copy link

bors bot commented Jun 13, 2020

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title refactor(topology/uniform_space): docstring and notation [Merged by Bors] - refactor(topology/uniform_space): docstring and notation Jun 13, 2020
@bors bors bot closed this Jun 13, 2020
@bors bors bot deleted the uniform-cleanup branch June 13, 2020 12:38
cipher1024 pushed a commit to cipher1024/mathlib that referenced this pull request Mar 15, 2022
…community#3052)

The goal of this PR is to make `topology/uniform_space/basic.lean` more accessible. 

First it introduces the standard notation for relation composition that was inexplicably not used before. I used a non-standard unicode circle here `\ciw` but this is up for discussion as long as it looks like a composition circle.

Then I introduced balls as discussed on [this Zulip topic](https://leanprover.zulipchat.com/#narrow/stream/116395-maths/topic/notations.20for.20uniform.20spaces).  There could be used more, but at least this should be mostly sufficient for following PRs.

And of course I put a huge module docstring. As with `order/filter/basic.lean`, I think we need more mathematical explanations than in the average mathlib file.

I also added a bit of content about symmetric entourages but I don't have enough courage to split this off unless someone really insists.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-to-merge All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants