refactor(Analysis): golf Mathlib/Analysis/Normed/Operator/Mul#38272
refactor(Analysis): golf Mathlib/Analysis/Normed/Operator/Mul#38272yuanyi-350 wants to merge 1 commit intoleanprover-community:masterfrom
Mathlib/Analysis/Normed/Operator/Mul#38272Conversation
PR summary c3e588b468Import changes for modified filesNo significant changes to the import graph Import changes for all files
Declarations diffNo declarations were harmed in the making of this PR! 🐙 You can run this locally as follows## summary with just the declaration names:
./scripts/pr_summary/declarations_diff.sh <optional_commit>
## more verbose report:
./scripts/pr_summary/declarations_diff.sh long <optional_commit>The doc-module for No changes to technical debt.You can run this locally as
|
|
I ran a profiler comparison for the changed declarations in this PR. Results (seconds):
Overall:
|
|
@grunweg , I think the current PR now meets your guidelines. |
| def ring_lmap_equiv_selfₗ : (𝕜 →L[𝕜] E) ≃ₗ[𝕜] E := | ||
| (ContinuousLinearMap.toSpanSingletonLE 𝕜 𝕜 E).symm |
There was a problem hiding this comment.
Since this is just .symm toSpanSingletonLE, we should probably deprecate it? toSpanSingletonLE has a better name anyway.
|
|
||
| /-- If `M` is a normed space over `𝕜`, then the space of maps `𝕜 →L[𝕜] M` is linearly isometrically | ||
| equivalent to `M`. -/ | ||
| def ring_lmap_equiv_self : (𝕜 →L[𝕜] E) ≃ₗᵢ[𝕜] E where |
There was a problem hiding this comment.
And this should arguably be called toSpanSingletonLIE or toSpanSingletonₗᵢ and flipped (i.e., E ≃ₗᵢ[𝕜] ..)? I'm not sure about the name.
|
There's also 0 api for these two definitions. I know this wasn't the initial plan for this PR, but can you add some basic supporting lemmas for the second one please (like |
Normed/Operator/Mulby definingring_lmap_equiv_selfₗas the symmetry ofContinuousLinearMap.toSpanSingletonLEring_lmap_equiv_selftoContinuousLinearMap.norm_toSpanSingletonExtracted from #37968