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/connected.lean): add theorems about connectedness o… #9633

Closed
wants to merge 7 commits into from

Conversation

AntoineChambert-Loir
Copy link
Collaborator

@AntoineChambert-Loir AntoineChambert-Loir commented Oct 8, 2021

feat(src/topology/connected.lean): add theorems about connectedness of closure

add two theorems is_preconnected.inclosure and is_connected.closure
which formalize that if a set s is (pre)connected
and a set t satisfies s ⊆ t ⊆ closure s,
then t is (pre)connected as well
modify is_preconnected.closure and is_connected.closure
to take these theorems into account
add a few comments for theorems in the code


Open in Gitpod

…f closure

add two theorems is_preconnected.inclosure and is_connected.closure
	which formalize that if a set s is (pre)connected
	and a set t satisfies s ⊆ t ⊆ closure s,
	then t is (pre)connected as well
modify is_preconnected.closure and is_connected.closure
	to take these theorems into account
add a few comments for theorems in the code
@PatrickMassot PatrickMassot added the awaiting-review The author would like community review of the PR label Oct 8, 2021
@jcommelin jcommelin changed the title feat(src/topology/connected.lean): add theorems about connectedness o… feat(topology/connected.lean): add theorems about connectedness o… Oct 8, 2021
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.

Some minor stylistic comments.

src/topology/connected.lean Outdated Show resolved Hide resolved
src/topology/connected.lean Outdated Show resolved Hide resolved
src/topology/connected.lean Outdated Show resolved Hide resolved
src/topology/connected.lean Outdated Show resolved Hide resolved
src/topology/connected.lean Outdated Show resolved Hide resolved
@semorrison semorrison 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 Oct 8, 2021
@AntoineChambert-Loir AntoineChambert-Loir 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 Oct 9, 2021
@AntoineChambert-Loir
Copy link
Collaborator Author

It seems that All checks have passed. (What do the “8 skipped” mean?).
I put the awaiting-review badge.
Thanks to all of you, it is fun to play this game!

Copy link
Collaborator

@adamtopaz adamtopaz left a comment

Choose a reason for hiding this comment

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

This is looking almost perfect! Just one more minor comment about naming.

src/topology/connected.lean Outdated Show resolved Hide resolved
@adamtopaz adamtopaz 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 Oct 11, 2021
@alexjbest
Copy link
Member

alexjbest commented Oct 11, 2021

8 skipped is nothing to worry about and can be ignored, it just means that some of the automated tests arent relevant for this type of PR.

Following suggestions of Adam Topaz,
the theorems is_preconnected.inclosure and is_connected.inclosure
were renamed as is_preconnected.subset_closure and is_connected.subset_closure.
@AntoineChambert-Loir AntoineChambert-Loir 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 Oct 11, 2021
@ocfnash
Copy link
Collaborator

ocfnash commented Oct 12, 2021

Nice work!

bors d+

@bors
Copy link

bors bot commented Oct 12, 2021

✌️ AntoineChambert-Loir can now approve this pull request. To approve and merge a pull request, simply reply with bors r+. More detailed instructions are available here.

@github-actions github-actions bot 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 Oct 12, 2021
@fpvandoorn
Copy link
Member

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 Oct 13, 2021
bors bot pushed a commit that referenced this pull request Oct 13, 2021
…9633)

feat(src/topology/connected.lean): add theorems about connectedness of closure

add two theorems is_preconnected.inclosure and is_connected.closure
	which formalize that if a set s is (pre)connected
	and a set t satisfies s ⊆ t ⊆ closure s,
	then t is (pre)connected as well
modify is_preconnected.closure and is_connected.closure
	to take these theorems into account
add a few comments for theorems in the code





Co-authored-by: Antoine Chambert-Loir <antoine.chambert-loir@math.univ-paris-diderot.fr>
Co-authored-by: Oliver Nash <github@olivernash.org>
@bors
Copy link

bors bot commented Oct 13, 2021

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title feat(topology/connected.lean): add theorems about connectedness o… [Merged by Bors] - feat(topology/connected.lean): add theorems about connectedness o… Oct 13, 2021
@bors bors bot closed this Oct 13, 2021
@bors bors bot deleted the bark_tree branch October 13, 2021 19:37
@eric-wieser eric-wieser added the hacktoberfest-accepted Without this label hacktoberfest is scared off by bors label Oct 26, 2021
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. 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+`.)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

9 participants