-
Notifications
You must be signed in to change notification settings - Fork 299
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
Conversation
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) |
There was a problem hiding this comment.
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+
There was a problem hiding this comment.
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.
✌️ urkud can now approve this pull request. To approve and merge a pull request, simply reply with |
bors merge |
* 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.
Pull request successfully merged into master. Build succeeded: |
* 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.
mem_closure_of_continuous
toset.maps_to.closure_left
, move nearmap_mem_closure
;map_mem_closure2
andmem_closure_of_continuous2
intomap_mem_closure₂
;