feat(Topology/Algebra/Module/Spaces/ContinuousLinearMap): convert toLinearMap₁₂ to a linear map#41731
Conversation
…arMap₁₂_add` and `toLinearMap₁₂_smul` Prove that the projection `toLinearMap₁₂` (which strips the topology from a continuous semibilinear map) preserves addition and scalar multiplication, and mark both lemmas with `@[simp]`.
Welcome new contributor!Thank you for contributing to Mathlib! If you haven't done so already, please review our contribution guidelines, as well as the style guide and naming conventions. In particular, we kindly remind contributors that we have guidelines regarding the use of AI when making pull requests. We use a review queue to manage reviews. If your PR does not appear there, it is probably because it is not successfully building (i.e., it doesn't have a green checkmark), has the If you haven't already done so, please come to https://leanprover.zulipchat.com/, introduce yourself, and mention your new PR. Thank you again for joining our community. |
PR summary 242e4da0ddImport changes for modified filesNo significant changes to the import graph Import changes for all files
|
|
Does it make sense to upgrade |
|
@pechersky thank you for the comment! Can't say that I see a reason to have it unbundled. Shall I convert it to a linear map and update the PR? |
toLinearMap₁₂_add and toLinearMap₁₂_smultoLinearMap₁₂ to a linear map
|
@pechersky I converted it to a bundled linear map, and also marked it with |
|
What were the new |
fd20ca4 to
7d465e5
Compare
|
Using @[simp] lemma toLinearMap₁₂_apply (L : E →SL[σ₁₃] F →SL[σ₂₃] G) :
toLinearMap₁₂ L = coeLMₛₗ σ₂₃ ∘ₛₗ ↑LShould we use just I also checked @[simp] lemma toLinearMap₁₂_apply_apply (L : E →SL[σ₁₃] F →SL[σ₂₃] G) (v : E) :
toLinearMap₁₂ L v = ↑(L v) |
|
|
||
| @[simp] lemma toLinearMap₁₂_apply (L : E →SL[σ₁₃] F →SL[σ₂₃] G) (v : E) (w : F) : | ||
| L.toLinearMap₁₂ v w = L v w := rfl | ||
| @[simps apply] |
There was a problem hiding this comment.
I don't think apply here will be the same as the one we had before.
There was a problem hiding this comment.
you're right, as I checked with @[simp?] the generated lemma is
@[simp] lemma toLinearMap₁₂_apply (L : E →SL[σ₁₃] F →SL[σ₂₃] G) :
toLinearMap₁₂ L = coeLMₛₗ σ₂₃ ∘ₛₗ ↑LI reinstated the old lemma.
| simpa [this] using! contDiff_const | ||
| rw [this] | ||
| exact contDiff_const |
| simpa [this] using! contDiff_const | ||
| rw [this] | ||
| exact contDiff_const | ||
|
|
…ap₁₂ and remove the now-duplicate toLinearMap₁₂_apply lemma
a6312c3 to
e345bfe
Compare
c6d6a29 to
242e4da
Compare
Convert the projection
toLinearMap₁₂(which strips the topology from a continuous semibilinear map) to a linear map, by showing that it preserves addition and scalar multiplication, and mark it with@[simp apply]absorb thetoLinearMap₁₂_applylemma.