[Merged by Bors] - fix(TopologicalSpace/Basic): restore curly braces in continuous_def#10110
[Merged by Bors] - fix(TopologicalSpace/Basic): restore curly braces in continuous_def#10110
continuous_def#10110Conversation
These were placed on purpose; reverting them caused breakage downstream.
Co-authored-by: Junyan Xu <junyanxu.math@gmail.com>
Mathlib/Topology/Basic.lean
Outdated
| theorem continuous_def : Continuous f ↔ ∀ s, IsOpen s → IsOpen (f ⁻¹' s) := | ||
| -- The curly braces are intentional, so this definitions works well with simp | ||
| -- when topologies are not those provided by instances. | ||
| theorem continuous_def {_ : TopologicalSpace X} {_ : TopologicalSpace Y} : |
There was a problem hiding this comment.
I don't know whether this is necessarily the right thing to do (my downstream code does not care one way or the other), but I just wanted to note: to fully revert the change, you would need to re-add the {f : X → Y} parameter here after the TopologicalSpace parameters. Then I think you would not need the other changes in Order.lean.
mathlib4/Mathlib/Topology/Basic.lean
Lines 1631 to 1632 in e7170d3
There was a problem hiding this comment.
Indeed, I think it's better to have f come last.
There was a problem hiding this comment.
Fair point. I have changed the order.
|
I'm sorry for merging #9993 too soon. |
|
bors d=Ruben-VandeVelde |
|
✌️ Ruben-VandeVelde can now approve this pull request. To approve and merge a pull request, simply reply with |
|
I have incorporated the suggestion and merged master. |
|
bors merge |
…#10110) These were placed on purpose; reverting them caused breakage downstream. Co-authored-by: grunweg <grunweg@posteo.de> Co-authored-by: Yury G. Kudryashov <urkud@urkud.name>
|
Pull request successfully merged into master. Build succeeded: |
continuous_defcontinuous_def
…#10110) These were placed on purpose; reverting them caused breakage downstream. Co-authored-by: grunweg <grunweg@posteo.de> Co-authored-by: Yury G. Kudryashov <urkud@urkud.name>
…#10110) These were placed on purpose; reverting them caused breakage downstream. Co-authored-by: grunweg <grunweg@posteo.de> Co-authored-by: Yury G. Kudryashov <urkud@urkud.name>
These were placed on purpose; reverting them caused breakage downstream.
Follow-up to #9993.