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/bases): removing/adding the empty set from/to a basis #17133

Closed
wants to merge 3 commits into from

Conversation

alreadydone
Copy link
Collaborator

  • Add lemmas is_topological_basis.insert/diff_empty that allows adding the empty set to a basis and removing the empty set from a basis.

  • Remove (⋂₀ f).nonempty from is_topological_basis_of_subbasis and golf the proof. This condition is unnatural and was only used to exclude the empty set in topological_space.second_countable_topology.to_separable_space, because we want to choose a point from each set in the basis. As a result, the proof exists_countable_basis needs a slight modification.


Open in Gitpod

@alreadydone alreadydone added awaiting-review The author would like community review of the PR awaiting-CI The author would like to see what CI has to say before doing more work. t-topology Topological spaces, uniform spaces, metric spaces, filters labels Oct 24, 2022
@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 Oct 24, 2022
src/topology/bases.lean Outdated Show resolved Hide resolved
Co-authored-by: Andrew Yang <36414270+erdOne@users.noreply.github.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

@leanprover-community-bot-assistant leanprover-community-bot-assistant 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 Oct 27, 2022
bors bot pushed a commit that referenced this pull request Oct 27, 2022
…is (#17133)

+ Add lemmas `is_topological_basis.insert/diff_empty` that allows adding the empty set to a basis and removing the empty set from a basis.

+ Remove `(⋂₀ f).nonempty` from `is_topological_basis_of_subbasis` and golf the proof. This condition is unnatural and was only used to exclude the empty set in [topological_space.second_countable_topology.to_separable_space](https://leanprover-community.github.io/mathlib_docs/topology/bases.html#topological_space.second_countable_topology.to_separable_space), because we want to choose a point from each set in the basis. As a result, the proof `exists_countable_basis` needs a slight modification.
@bors
Copy link

bors bot commented Oct 27, 2022

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title refactor(topology/bases): removing/adding the empty set from/to a basis [Merged by Bors] - refactor(topology/bases): removing/adding the empty set from/to a basis Oct 27, 2022
@bors bors bot closed this Oct 27, 2022
@bors bors bot deleted the is_topological_basis_plus_minus_empty branch October 27, 2022 10:46
@eric-wieser eric-wieser added the hacktoberfest-accepted Without this label hacktoberfest is scared off by bors label Oct 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest-accepted Without this label hacktoberfest is scared off by bors ready-to-merge All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.) t-topology Topological spaces, uniform spaces, metric spaces, filters
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants