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] - chore: rename most lemmas involving clopen to isClopen #8720

Closed
wants to merge 12 commits into from

Conversation

grunweg
Copy link
Collaborator

@grunweg grunweg commented Nov 29, 2023

This PR renames the field Clopens.clopen' -> Clopens.isClopen', and the lemmas

  • preimage_closed_of_closed -> ContinuousOn.preimage_isClosed_of_isClosed

as well as:
ClopenUpperSet.clopen -> ClopenUpperSet.isClopen
connectedComponent_eq_iInter_clopen -> connectedComponent_eq_iInter_isClopen
connectedComponent_subset_iInter_clopen -> connectedComponent_subset_iInter_isClopen
continuous_boolIndicator_iff_clopen -> continuous_boolIndicator_iff_isClopen
continuousOn_boolIndicator_iff_clopen -> continuousOn_boolIndicator_iff_isClopen
DiscreteQuotient.ofClopen -> DiscreteQuotient.ofIsClopen
disjoint_or_subset_of_clopen -> disjoint_or_subset_of_isClopen
exists_clopen_{lower,upper}of_not_le -> exists_isClopen{lower,upper}_of_not_le
exists_clopen_of_cofiltered -> exists_isClopen_of_cofiltered
exists_clopen_of_totally_separated -> exists_isClopen_of_totally_separated
exists_clopen_upper_or_lower_of_ne -> exists_isClopen_upper_or_lower_of_ne
IsPreconnected.subset_clopen -> IsPreconnected.subset_isClopen
isTotallyDisconnected_of_clopen_set -> isTotallyDisconnected_of_isClopen_set
LocallyConstant.ofClopen_fiber_one -> LocallyConstant.ofIsClopen_fiber_one
LocallyConstant.ofClopen_fiber_zero -> LocallyConstant.ofIsClopen_fiber_zero
LocallyConstant.ofClopen -> LocallyConstant.ofIsClopen
preimage_clopen_of_clopen -> preimage_isClopen_of_isClopen
TopologicalSpace.Clopens.clopen -> TopologicalSpace.Clopens.isClopen


This leaves a hand-ful of remaining lemmas, for the next person to stumble upon this.

@grunweg grunweg added awaiting-review The author would like community review of the PR awaiting-CI t-topology Topological spaces, uniform spaces, metric spaces, filters and removed awaiting-CI labels Nov 29, 2023
@urkud
Copy link
Member

urkud commented Nov 30, 2023

Please list all theorems you renamed in the commit message (e.g., grep the diff for theorem or #align).

DiscreteQuotient.ofClopen is misnamed, right? (I might do this within this PR.)

What name do you suggest? ofIsClopen? Something else?

@urkud
Copy link
Member

urkud commented Nov 30, 2023

Otherwise LGTM. Thanks!
bors d+

@mathlib-bors
Copy link

mathlib-bors bot commented Nov 30, 2023

✌️ grunweg 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 and removed awaiting-review The author would like community review of the PR labels Nov 30, 2023
DiscreteQuotient.ofClopen -> DiscreteQuotient.ofIsClopen
LocallyConstant.ofClopen -> LocallyConstant.ofIsClopen
LocallyConstant.ofClopen_fiber_one -> LocallyConstant.ofIsClopen_fiber_one
LocallyConstant.ofClopen_fiber_zero -> LocallyConstant.ofIsClopen_fiber_zero
@grunweg
Copy link
Collaborator Author

grunweg commented Nov 30, 2023

I went for ofIsClopen (also in LocallyConstant and a few similar ones).

Thanks for the fast review!
bors r+

mathlib-bors bot pushed a commit that referenced this pull request Nov 30, 2023
This PR renames the field Clopens.clopen' -> Clopens.isClopen', and the lemmas
* preimage_closed_of_closed -> ContinuousOn.preimage_isClosed_of_isClosed

as well as:
ClopenUpperSet.clopen -> ClopenUpperSet.isClopen
connectedComponent_eq_iInter_clopen -> connectedComponent_eq_iInter_isClopen
connectedComponent_subset_iInter_clopen -> connectedComponent_subset_iInter_isClopen
continuous_boolIndicator_iff_clopen -> continuous_boolIndicator_iff_isClopen
continuousOn_boolIndicator_iff_clopen -> continuousOn_boolIndicator_iff_isClopen
DiscreteQuotient.ofClopen -> DiscreteQuotient.ofIsClopen
disjoint_or_subset_of_clopen -> disjoint_or_subset_of_isClopen
exists_clopen_{lower,upper}_of_not_le -> exists_isClopen_{lower,upper}_of_not_le
exists_clopen_of_cofiltered -> exists_isClopen_of_cofiltered
exists_clopen_of_totally_separated -> exists_isClopen_of_totally_separated
exists_clopen_upper_or_lower_of_ne -> exists_isClopen_upper_or_lower_of_ne
IsPreconnected.subset_clopen -> IsPreconnected.subset_isClopen
isTotallyDisconnected_of_clopen_set -> isTotallyDisconnected_of_isClopen_set
LocallyConstant.ofClopen_fiber_one -> LocallyConstant.ofIsClopen_fiber_one
LocallyConstant.ofClopen_fiber_zero -> LocallyConstant.ofIsClopen_fiber_zero
LocallyConstant.ofClopen -> LocallyConstant.ofIsClopen
preimage_clopen_of_clopen -> preimage_isClopen_of_isClopen
TopologicalSpace.Clopens.clopen -> TopologicalSpace.Clopens.isClopen
@mathlib-bors
Copy link

mathlib-bors bot commented Nov 30, 2023

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title chore: rename most lemmas involving clopen to isClopen [Merged by Bors] - chore: rename most lemmas involving clopen to isClopen Nov 30, 2023
@mathlib-bors mathlib-bors bot closed this Nov 30, 2023
@mathlib-bors mathlib-bors bot deleted the MR-rename_of_clopen branch November 30, 2023 20:26
awueth pushed a commit that referenced this pull request Dec 19, 2023
This PR renames the field Clopens.clopen' -> Clopens.isClopen', and the lemmas
* preimage_closed_of_closed -> ContinuousOn.preimage_isClosed_of_isClosed

as well as:
ClopenUpperSet.clopen -> ClopenUpperSet.isClopen
connectedComponent_eq_iInter_clopen -> connectedComponent_eq_iInter_isClopen
connectedComponent_subset_iInter_clopen -> connectedComponent_subset_iInter_isClopen
continuous_boolIndicator_iff_clopen -> continuous_boolIndicator_iff_isClopen
continuousOn_boolIndicator_iff_clopen -> continuousOn_boolIndicator_iff_isClopen
DiscreteQuotient.ofClopen -> DiscreteQuotient.ofIsClopen
disjoint_or_subset_of_clopen -> disjoint_or_subset_of_isClopen
exists_clopen_{lower,upper}_of_not_le -> exists_isClopen_{lower,upper}_of_not_le
exists_clopen_of_cofiltered -> exists_isClopen_of_cofiltered
exists_clopen_of_totally_separated -> exists_isClopen_of_totally_separated
exists_clopen_upper_or_lower_of_ne -> exists_isClopen_upper_or_lower_of_ne
IsPreconnected.subset_clopen -> IsPreconnected.subset_isClopen
isTotallyDisconnected_of_clopen_set -> isTotallyDisconnected_of_isClopen_set
LocallyConstant.ofClopen_fiber_one -> LocallyConstant.ofIsClopen_fiber_one
LocallyConstant.ofClopen_fiber_zero -> LocallyConstant.ofIsClopen_fiber_zero
LocallyConstant.ofClopen -> LocallyConstant.ofIsClopen
preimage_clopen_of_clopen -> preimage_isClopen_of_isClopen
TopologicalSpace.Clopens.clopen -> TopologicalSpace.Clopens.isClopen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
delegated t-topology Topological spaces, uniform spaces, metric spaces, filters
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants