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(topology/vector_bundle): topological_vector_prebundle #8154

Closed
wants to merge 34 commits into from

Conversation

Nicknamen
Copy link
Collaborator

@Nicknamen Nicknamen commented Jun 30, 2021

In this PR we implement a new standard construction for topological vector bundles: namely a structure that permits to define a vector bundle when trivializations are given as local equivalences but there is not yet a topology on the total space. The total space is hence given a topology in such a way that there is a vector bundle structure for which the local equivalences
are also local homeomorphism and hence local trivializations.


Open in Gitpod

Hopefully this should be easy.

@Nicknamen Nicknamen requested a review from sgouezel June 30, 2021 23:42
@Nicknamen Nicknamen added the awaiting-review The author would like community review of the PR label Jun 30, 2021
@Nicknamen Nicknamen force-pushed the topological_vector_prebundle branch from 7b7684f to cbcacb0 Compare July 1, 2021 10:05
src/topology/vector_bundle.lean Outdated Show resolved Hide resolved
src/topology/vector_bundle.lean Show resolved Hide resolved
src/topology/vector_bundle.lean Outdated Show resolved Hide resolved
@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 Jul 2, 2021
@Nicknamen Nicknamen 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 Jul 6, 2021
@github-actions github-actions bot added the merge-conflict Please `git merge origin/master` then a bot will remove this label. label Jul 13, 2021
@github-actions github-actions bot removed the merge-conflict Please `git merge origin/master` then a bot will remove this label. label Jul 13, 2021
@github-actions github-actions bot added the merge-conflict Please `git merge origin/master` then a bot will remove this label. label Dec 17, 2021
@leanprover-community-bot-assistant leanprover-community-bot-assistant removed the merge-conflict Please `git merge origin/master` then a bot will remove this label. label Feb 8, 2022
@Nicknamen Nicknamen 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 Feb 11, 2022
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.

LGTM, thanks!
bors d+

@@ -628,6 +628,11 @@ end sum
section subtype
variables [topological_space α] [topological_space β] [topological_space γ] {p : α → Prop}

lemma inducing_coe {b : set β} : inducing (coe : b → β) := ⟨rfl⟩

lemma inducing_of_inducing_cod_restrict {f : α → β} {b : set β} (hb : ∀ a, f a ∈ b)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
lemma inducing_of_inducing_cod_restrict {f : α → β} {b : set β} (hb : ∀ a, f a ∈ b)
lemma inducing.of_cod_restrict {f : α → β} {b : set β} {hb : ∀ a, f a ∈ b}

In this way, you can use dot notation.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Totally agree for the name but why the curly brackets? When can lean guess that?

Suggested change
lemma inducing_of_inducing_cod_restrict {f : α → β} {b : set β} (hb : ∀ a, f a ∈ b)
lemma inducing.of_cod_restrict {f : α → β} {b : set β} (hb : ∀ a, f a ∈ b)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I will start merging this to move on with the other PRs. If the parentheses are important feel free to stop the merge

Copy link
Collaborator

Choose a reason for hiding this comment

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

The parentheses are not really important. It would be better with the curly brackets, as I wrote, because hb can already be seen explicitly in the next argument h so there's no need to write it twice. In the way it's currently written, it will just lead to useless underscores when you apply the lemma. But since you have already sent it to bors, let's not stop the build for that.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Oh, I see, I think I wrote it that way because the only place where I used that was with an apply and so the last argument was not passed and lean could not guess it on its own, but I will for sure change it as you say the next time I use it in the standard way!

src/topology/vector_bundle.lean Outdated Show resolved Hide resolved
@bors
Copy link

bors bot commented Feb 21, 2022

✌️ Nicknamen 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-bot-assistant leanprover-community-bot-assistant 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 Feb 21, 2022
Co-authored-by: sgouezel <sebastien.gouezel@univ-rennes1.fr>
@Nicknamen
Copy link
Collaborator Author

bors r+

bors bot pushed a commit that referenced this pull request Feb 24, 2022
In this PR we implement a new standard construction for topological vector bundles: namely a structure that permits to define a vector bundle when trivializations are given as local equivalences but there is not yet a topology on the total space. The total space is hence given a topology in such a way that there is a vector bundle structure for which the local equivalences
are also local homeomorphism and hence local trivializations.
@bors
Copy link

bors bot commented Feb 24, 2022

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title feat(topology/vector_bundle): topological_vector_prebundle [Merged by Bors] - feat(topology/vector_bundle): topological_vector_prebundle Feb 24, 2022
@bors bors bot closed this Feb 24, 2022
@bors bors bot deleted the topological_vector_prebundle branch February 24, 2022 14:38
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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants