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(topology/constructions): deduplicate #16505

Closed
wants to merge 5 commits into from

Conversation

urkud
Copy link
Member

@urkud urkud commented Sep 14, 2022

  • rename mem_closure_of_continuous to set.maps_to.closure_left, move near map_mem_closure;
  • merge map_mem_closure2 and mem_closure_of_continuous2 into map_mem_closure₂;
  • fix&golf some proofs broken by these changes.

Open in Gitpod

@urkud urkud added awaiting-review The author would like community review of the PR t-topology Topological spaces, uniform spaces, metric spaces, filters labels Sep 14, 2022
Comment on lines -202 to +205
have hf : continuous (λ p : E × E, f p.1 p.2), from
(continuous_fst.const_smul _).add (continuous_snd.const_smul _),
show f x y ∈ closure s, from
mem_closure_of_continuous2 hf hx hy (λ x' hx' y' hy', subset_closure
(hs hx' hy' ha hb hab))
have hf : continuous (function.uncurry f),
from (continuous_fst.const_smul _).add (continuous_snd.const_smul _),
show f x y ∈ closure s,
from map_mem_closure₂ hf hx hy (λ x' hx' y' hy', hs hx' hy' ha hb hab)
Copy link
Member

Choose a reason for hiding this comment

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

This makes it look like mem_closure_of_continuous2 was a stronger lemma as it didn't need as strong an assumption. Is my reading correct?

Presumably the difference in strength has no mathematical content, so

bors d+

Copy link
Member Author

Choose a reason for hiding this comment

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

Indeed, these lemmas differ by closure_closure and all applications of mem_closure_of_continuous2 did not use this extra generality.

@bors
Copy link

bors bot commented Sep 17, 2022

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

@urkud
Copy link
Member Author

urkud commented Sep 17, 2022

bors merge

@github-actions github-actions bot 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 Sep 17, 2022
bors bot pushed a commit that referenced this pull request Sep 17, 2022
* rename `mem_closure_of_continuous` to `set.maps_to.closure_left`, move near `map_mem_closure`;
* merge `map_mem_closure2` and `mem_closure_of_continuous2` into `map_mem_closure₂`;
* fix&golf some proofs broken by these changes.
@bors
Copy link

bors bot commented Sep 18, 2022

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title chore(topology/constructions): deduplicate [Merged by Bors] - chore(topology/constructions): deduplicate Sep 18, 2022
@bors bors bot closed this Sep 18, 2022
@bors bors bot deleted the YK-map-mem-cl branch September 18, 2022 01:08
b-mehta pushed a commit that referenced this pull request Sep 21, 2022
* rename `mem_closure_of_continuous` to `set.maps_to.closure_left`, move near `map_mem_closure`;
* merge `map_mem_closure2` and `mem_closure_of_continuous2` into `map_mem_closure₂`;
* fix&golf some proofs broken by these changes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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

2 participants