Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

[Merged by Bors] - chore(topology/instances/real): remove instance real_maps_algebra #6920

Closed
wants to merge 4 commits into from

Conversation

hrmacbeth
Copy link
Member

Remove

instance reals_semimodule : has_continuous_smul ℝ ℝ
instance real_maps_algebra {α : Type*} [topological_space α] : algebra ℝ C(α, ℝ)

These are not used explicitly anywhere in the library, I suspect because if needed they can be found by typeclass inference. Deleting them cleans up the import hierarchy by requiring many fewer files to import topology.continuous_function.algebra.


Open in Gitpod

@hrmacbeth hrmacbeth added the awaiting-review The author would like community review of the PR label Mar 28, 2021
@hrmacbeth hrmacbeth requested a review from kim-em March 28, 2021 05:20
@@ -285,11 +284,6 @@ eq_Icc_of_connected_compact ⟨(nonempty_Icc.2 hab).image f, is_preconnected_Icc

end

instance reals_semimodule : has_continuous_smul ℝ ℝ := ⟨continuous_mul⟩
Copy link
Member

Choose a reason for hiding this comment

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

To confirm, this instance already exists as has_contnuous_mul.has_continuous_smul [sic, #6921]

@kim-em
Copy link
Collaborator

kim-em commented Mar 28, 2021

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 Mar 28, 2021
bors bot pushed a commit that referenced this pull request Mar 28, 2021
…6920)

Remove 
```lean
instance reals_semimodule : has_continuous_smul ℝ ℝ
instance real_maps_algebra {α : Type*} [topological_space α] : algebra ℝ C(α, ℝ)
```
These are not used explicitly anywhere in the library, I suspect because if needed they can be found by typeclass inference.  Deleting them cleans up the import hierarchy by requiring many fewer files to import `topology.continuous_function.algebra`.
@bors
Copy link

bors bot commented Mar 29, 2021

Build failed (retrying...):

@hrmacbeth
Copy link
Member Author

bors r-

Sorry, this seems to be one of my recent PRs conflicting with another.

@bors
Copy link

bors bot commented Mar 29, 2021

Canceled.

@hrmacbeth
Copy link
Member Author

I fixed the build, should be fine to merge.

@bryangingechen
Copy link
Collaborator

bors r+

bors bot pushed a commit that referenced this pull request Mar 29, 2021
…6920)

Remove 
```lean
instance reals_semimodule : has_continuous_smul ℝ ℝ
instance real_maps_algebra {α : Type*} [topological_space α] : algebra ℝ C(α, ℝ)
```
These are not used explicitly anywhere in the library, I suspect because if needed they can be found by typeclass inference.  Deleting them cleans up the import hierarchy by requiring many fewer files to import `topology.continuous_function.algebra`.
@bors
Copy link

bors bot commented Mar 29, 2021

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title chore(topology/instances/real): remove instance real_maps_algebra [Merged by Bors] - chore(topology/instances/real): remove instance real_maps_algebra Mar 29, 2021
@bors bors bot closed this Mar 29, 2021
@bors bors bot deleted the remove-real_maps_algebra branch March 29, 2021 06:57
b-mehta pushed a commit that referenced this pull request Apr 2, 2021
…6920)

Remove 
```lean
instance reals_semimodule : has_continuous_smul ℝ ℝ
instance real_maps_algebra {α : Type*} [topological_space α] : algebra ℝ C(α, ℝ)
```
These are not used explicitly anywhere in the library, I suspect because if needed they can be found by typeclass inference.  Deleting them cleans up the import hierarchy by requiring many fewer files to import `topology.continuous_function.algebra`.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
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.

4 participants