Skip to content

Commit c6d6a29

Browse files
Apply suggestions from code review
Co-authored-by: Monica Omar <23701951+themathqueen@users.noreply.github.com>
1 parent e345bfe commit c6d6a29

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

Mathlib/Topology/Algebra/Module/Spaces/ContinuousLinearMap.lean

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -300,13 +300,13 @@ theorem map_smulₛₗ₂ (f : E →SL[σ₁₃] F →SL[σ₂₃] G) (c : R) (x
300300

301301
/-- Send a continuous sesquilinear map to an abstract sesquilinear map (forgetting continuity). -/
302302
@[simps!]
303-
def toLinearMap₁₂ : (E →SL[σ₁₃] F →SL[σ₂₃] G) →ₗ[𝕜₃] (E →ₛₗ[σ₁₃] F →ₛₗ[σ₂₃] G) :=
304-
{ toFun L := (coeLMₛₗ σ₂₃).comp L.toLinearMap
305-
map_add' _ _ := by ext; rfl
306-
map_smul' _ _ := by ext; rfl}
303+
def toLinearMap₁₂ : (E →SL[σ₁₃] F →SL[σ₂₃] G) →ₗ[𝕜₃] (E →ₛₗ[σ₁₃] F →ₛₗ[σ₂₃] G) where
304+
toFun L := (coeLMₛₗ σ₂₃).comp L.toLinearMap
305+
map_add' _ _ := by ext; rfl
306+
map_smul' _ _ := by ext; rfl
307307

308308
lemma toLinearMap₁₂_injective :
309-
Function.Injective (toLinearMap₁₂ (E := E) (F := F) (G := G) (σ₁₃ := σ₁₃) (σ₂₃ := σ₂₃)) := by
309+
(toLinearMap₁₂ (E := E) (F := F) (G := G) (σ₁₃ := σ₁₃) (σ₂₃ := σ₂₃) : _ → _).Injective := by
310310
simp [Function.Injective, LinearMap.ext_iff, ← ContinuousLinearMap.ext_iff]
311311

312312
lemma toLinearMap₁₂_inj (L₁ L₂ : E →SL[σ₁₃] F →SL[σ₂₃] G) :

0 commit comments

Comments
 (0)