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): use structure for `is_topological_basis #6947

Closed
wants to merge 9 commits into from

Conversation

urkud
Copy link
Member

@urkud urkud commented Mar 29, 2021

  • turn topological_space.is_topological_basis into a structure;
  • rename mem_nhds_of_is_topological_basis to is_topological_basis.mem_nhds_iff;
  • rename is_open_of_is_topological_basis to is_topological_basis.is_open;
  • rename mem_basis_subset_of_mem_open to is_topological_basis.exists_subset_of_mem_open;
  • rename sUnion_basis_of_is_open to is_topological_basis.open_eq_sUnion, add prime version;
  • add is_topological_basis.prod;
  • add convenience lemma is_topological_basis.second_countable_topology;
  • rename is_open_generated_countable_inter to exists_countable_basis;
  • add topological_space.countable_basis and API around it;
  • add @[simp] to opens.mem_supr, add opens.mem_Sup;
  • golf

Open in Gitpod

* add `set.range_prod_map` and `set.countable.image2`;
* move `@[simp]` from `set.mem_image2` to `set.mem_image2_eq` so that
`dsimp` can use it;
* rename `set.countable_prod` to `set.countable.prod`.
@urkud urkud added the awaiting-review The author would like community review of the PR label Mar 29, 2021
@github-actions github-actions bot added the blocked-by-other-PR This PR depends on another PR which is still in the queue. A bot manages this label via PR comment. label Mar 29, 2021
@github-actions github-actions bot removed the blocked-by-other-PR This PR depends on another PR which is still in the queue. A bot manages this label via PR comment. label Mar 30, 2021
@github-actions
Copy link

🎉 Great news! Looks like all the dependencies have been resolved:

💡 To add or remove a dependency please update this issue/PR description.

Brought to you by Dependent Issues (:robot: ). Happy coding!

@sgouezel
Copy link
Collaborator

Can you merge master to hide from the diff what has already been merged?

@sgouezel sgouezel added awaiting-author A reviewer has asked the author a question or requested changes and removed awaiting-review The author would like community review of the PR labels Mar 30, 2021
@urkud urkud added awaiting-review The author would like community review of the PR and removed awaiting-author A reviewer has asked the author a question or requested changes labels Mar 30, 2021
Copy link
Collaborator

@sgouezel sgouezel left a comment

Choose a reason for hiding this comment

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

Much better, thanks!
bors d+

⟨λ ha, let ⟨b, hb, ab, bu⟩ := mem_basis_subset_of_mem_open hB ha ou in
⟨b, ⟨hb, bu⟩, ab⟩,
λ ⟨b, ⟨hb, bu⟩, ab⟩, bu ab⟩⟩
⟨{s ∈ B | s ⊆ u}, λ s h, h.1, hB.open_eq_sUnion' ou⟩

lemma Union_basis_of_is_open {B : set (set α)}
Copy link
Collaborator

Choose a reason for hiding this comment

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

dot notation also for this one?

@bors
Copy link

bors bot commented Mar 31, 2021

✌️ 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.

@bryangingechen bryangingechen added delegated The PR author may merge after reviewing final suggestions. and removed awaiting-review The author would like community review of the PR labels Mar 31, 2021
@urkud
Copy link
Member Author

urkud commented Mar 31, 2021

bors merge

@github-actions github-actions bot added the ready-to-merge All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.) label Mar 31, 2021
bors bot pushed a commit that referenced this pull request Apr 1, 2021
…6947)

* turn `topological_space.is_topological_basis` into a `structure`;
* rename `mem_nhds_of_is_topological_basis` to `is_topological_basis.mem_nhds_iff`;
* rename `is_open_of_is_topological_basis` to `is_topological_basis.is_open`;
* rename `mem_basis_subset_of_mem_open` to `is_topological_basis.exists_subset_of_mem_open`;
* rename `sUnion_basis_of_is_open` to `is_topological_basis.open_eq_sUnion`, add prime version;
* add `is_topological_basis.prod`;
* add convenience lemma `is_topological_basis.second_countable_topology`;
* rename `is_open_generated_countable_inter` to `exists_countable_basis`;
* add `topological_space.countable_basis` and API around it;
* add `@[simp]` to `opens.mem_supr`, add `opens.mem_Sup`;
* golf
@bors
Copy link

bors bot commented Apr 1, 2021

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title refactor(topology/bases): use structure for `is_topological_basis [Merged by Bors] - refactor(topology/bases): use structure for `is_topological_basis Apr 1, 2021
@bors bors bot closed this Apr 1, 2021
@bors bors bot deleted the top-basis-struct branch April 1, 2021 05:03
b-mehta pushed a commit that referenced this pull request Apr 2, 2021
…6947)

* turn `topological_space.is_topological_basis` into a `structure`;
* rename `mem_nhds_of_is_topological_basis` to `is_topological_basis.mem_nhds_iff`;
* rename `is_open_of_is_topological_basis` to `is_topological_basis.is_open`;
* rename `mem_basis_subset_of_mem_open` to `is_topological_basis.exists_subset_of_mem_open`;
* rename `sUnion_basis_of_is_open` to `is_topological_basis.open_eq_sUnion`, add prime version;
* add `is_topological_basis.prod`;
* add convenience lemma `is_topological_basis.second_countable_topology`;
* rename `is_open_generated_countable_inter` to `exists_countable_basis`;
* add `topological_space.countable_basis` and API around it;
* add `@[simp]` to `opens.mem_supr`, add `opens.mem_Sup`;
* golf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
delegated The PR author may merge after reviewing final suggestions. 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

3 participants