Zulip Chat Archive
Stream: Is there code for X?
Topic: Operator norm on non-continuous linear map
Gregory Wickham (Dec 26 2025 at 02:28):
Is there code that defines the operator norm on a non-continuous linear map and to construct a continuous linear map from a linear map and a proof that its operator norm is finite?
Aaron Liu (Dec 26 2025 at 03:21):
found docs#LinearMap.mkContinuous
Niels Voss (Dec 27 2025 at 00:49):
If your vector spaces are finite dimensional you can use docs#LinearMap.toContinuousLinearMap
Aaron Liu (Dec 27 2025 at 00:58):
that seems like a bad name for a few reasons
Niels Voss (Dec 28 2025 at 19:27):
What are those reasons? Is it because it doesn't mention finite-dimensionality?
Aaron Liu (Dec 28 2025 at 19:52):
here's a reason
import Mathlib
variable {R E F : Type*} [Semiring R]
[SeminormedAddCommGroup E] [Module R E]
[SeminormedAddCommGroup F] [Module R F]
(f : E ≃ₗᵢ[R] F) -- `R`-linear isometry equiv
/-
Application type mismatch: The argument
↑f.toLinearEquiv
has type
E →ₛₗ[@RingHom.id R (@Semiring.toNonAssocSemiring R inst✝⁴)] F
but is expected to have type
?m.47 →ₛₗ[@RingHom.id ?m.45 (@Semiring.toNonAssocSemiring ?m.45 Field.toSemifield.toDivisionSemiring.toSemiring)]
?m.53
in the application
LinearMap.toContinuousLinearMap ↑f.toLinearEquiv
-/
#check f.toContinuousLinearMap
Aaron Liu (Dec 28 2025 at 19:53):
things named toFoo should be forgetful
Aaron Liu (Dec 28 2025 at 19:53):
if you want to upgrade it should be called ofBar
Aaron Liu (Dec 28 2025 at 20:05):
also I never would've guessed from the name that it's a 𝕜-linear equivalence
Last updated: Feb 28 2026 at 14:05 UTC