@@ -66,6 +66,7 @@ instance : FunLike (AlgebraNorm R S) S ℝ where
6666 erw [h]
6767 rfl
6868
69+ set_option linter.style.whitespace false in -- manual alignment is not recognised
6970instance algebraNormClass : AlgebraNormClass (AlgebraNorm R S) R S where
7071 map_zero f := f.map_zero'
7172 map_add_le_add f := f.add_le'
@@ -88,6 +89,7 @@ theorem extends_norm' (hf1 : f 1 = 1) (a : R) : f (a • (1 : S)) = ‖a‖ := b
8889theorem extends_norm (hf1 : f 1 = 1 ) (a : R) : f (algebraMap R S a) = ‖a‖ := by
8990 rw [Algebra.algebraMap_eq_smul_one]; exact extends_norm' hf1 _
9091
92+ set_option linter.style.whitespace false in -- manual alignment is not recognised
9193/-- The restriction of an algebra norm to a subalgebra. -/
9294def restriction (A : Subalgebra R S) (f : AlgebraNorm R S) : AlgebraNorm R A where
9395 toFun x := f x.val
@@ -99,6 +101,7 @@ def restriction (A : Subalgebra R S) (f : AlgebraNorm R S) : AlgebraNorm R A whe
99101 rw [← ZeroMemClass.coe_eq_zero]; exact eq_zero_of_map_eq_zero f hx
100102 smul' r x := map_smul_eq_mul _ _ _
101103
104+ set_option linter.style.whitespace false in -- manual alignment is not recognised
102105/-- The restriction of an algebra norm in a scalar tower. -/
103106def isScalarTower_restriction {A : Type *} [CommRing A] [Algebra R A] [Algebra A S]
104107 [IsScalarTower R A S] (hinj : Function.Injective (algebraMap A S)) (f : AlgebraNorm R S) :
@@ -151,6 +154,7 @@ instance : FunLike (MulAlgebraNorm R S) S ℝ where
151154 simp only [AddGroupSeminorm.toFun_eq_coe, MulRingSeminorm.toFun_eq_coe, DFunLike.coe_fn_eq] at h
152155 obtain ⟨⟨_, _⟩, _⟩ := f; obtain ⟨⟨_, _⟩, _⟩ := f'; congr
153156
157+ set_option linter.style.whitespace false in -- manual alignment is not recognised
154158instance mulAlgebraNormClass : MulAlgebraNormClass (MulAlgebraNorm R S) R S where
155159 map_zero f := f.map_zero'
156160 map_add_le_add f := f.add_le'
@@ -180,6 +184,7 @@ namespace MulRingNorm
180184
181185variable {R : Type *} [NonAssocRing R]
182186
187+ set_option linter.style.whitespace false in -- manual alignment is not recognised
183188/-- The ring norm underlying a multiplicative ring norm. -/
184189def toRingNorm (f : MulRingNorm R) : RingNorm R where
185190 toFun := f
0 commit comments