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: delete LinearMap.extendScalars which duplicates LinearMap.baseChange #8617

Closed
wants to merge 4 commits into from

Conversation

ocfnash
Copy link
Contributor

@ocfnash ocfnash commented Nov 24, 2023

For consistency, we also rename Submodule.extendScalars to Submodule.baseChange and likewise for LieSubmodule.


The interacts with #8583 which I think it is simpler to merge first, and thus I will mark as a dependency here.

Open in Gitpod

@ocfnash ocfnash added WIP Work in progress awaiting-CI t-algebra Algebra (groups, rings, fields etc) labels Nov 24, 2023
@leanprover-community-mathlib4-bot leanprover-community-mathlib4-bot added blocked-by-other-PR This PR depends on another PR which is still in the queue. and removed blocked-by-other-PR This PR depends on another PR which is still in the queue. labels Nov 24, 2023
@leanprover-community-mathlib4-bot
Copy link
Collaborator


/-- If `A` is an `R`-algebra, any `R`-linear map `M₁ → M₂` naturally induces an `A`-linear map
`A ⊗ M₁ → A ⊗ M₂`. -/
def extendScalars : A ⊗[R] M₁ →ₗ[A] A ⊗[R] M₂ :=
Copy link
Contributor Author

@ocfnash ocfnash Nov 24, 2023

Choose a reason for hiding this comment

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

This is the key point: this definition is an exact duplicate of LinearMap.baseChange and so should not have been introduced.

@ocfnash ocfnash added awaiting-review The author would like community review of the PR and removed WIP Work in progress labels Nov 24, 2023
Copy link
Member

@jcommelin jcommelin left a comment

Choose a reason for hiding this comment

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

Thanks 🎉

bors merge

@leanprover-community-mathlib4-bot leanprover-community-mathlib4-bot added ready-to-merge This PR has been sent to bors. and removed awaiting-review The author would like community review of the PR labels Nov 25, 2023
mathlib-bors bot pushed a commit that referenced this pull request Nov 25, 2023
…aseChange` (#8617)

For consistency, we also rename `Submodule.extendScalars` to `Submodule.baseChange` and likewise for `LieSubmodule`.
@mathlib-bors
Copy link

mathlib-bors bot commented Nov 25, 2023

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title chore: delete LinearMap.extendScalars which duplicates LinearMap.baseChange [Merged by Bors] - chore: delete LinearMap.extendScalars which duplicates LinearMap.baseChange Nov 25, 2023
@mathlib-bors mathlib-bors bot closed this Nov 25, 2023
@mathlib-bors mathlib-bors bot deleted the ocfnash/linear_ext_scalars branch November 25, 2023 18:55
awueth pushed a commit that referenced this pull request Dec 19, 2023
…aseChange` (#8617)

For consistency, we also rename `Submodule.extendScalars` to `Submodule.baseChange` and likewise for `LieSubmodule`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-to-merge This PR has been sent to bors. t-algebra Algebra (groups, rings, fields etc)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants