@@ -32,7 +32,7 @@ The following notation is available with `open Quaternion` or `open scoped Quate
3232quaternion, normed ring, normed space, normed algebra
3333-/
3434
35- @[expose] public section
35+ @[expose] public noncomputable section
3636
3737
3838@[inherit_doc] scoped [Quaternion] notation "ℍ" => Quaternion ℝ
@@ -50,7 +50,7 @@ theorem inner_self (a : ℍ) : ⟪a, a⟫ = normSq a :=
5050theorem inner_def (a b : ℍ) : ⟪a, b⟫ = (a * star b).re :=
5151 rfl
5252
53- noncomputable instance : NormedAddCommGroup ℍ :=
53+ instance : NormedAddCommGroup ℍ :=
5454 @InnerProductSpace.Core.toNormedAddCommGroup ℝ ℍ _ _ _
5555 { toInner := inferInstance
5656 conj_inner_symm := fun x y => by simp [inner_def, mul_comm]
@@ -59,7 +59,7 @@ noncomputable instance : NormedAddCommGroup ℍ :=
5959 add_left := fun x y z => by simp only [inner_def, add_mul, re_add]
6060 smul_left := fun x y r => by simp [inner_def] }
6161
62- noncomputable instance : InnerProductSpace ℝ ℍ :=
62+ instance : InnerProductSpace ℝ ℍ :=
6363 InnerProductSpace.ofCore _
6464
6565theorem normSq_eq_norm_mul_self (a : ℍ) : normSq a = ‖a‖ * ‖a‖ := by
@@ -84,11 +84,11 @@ theorem norm_star (a : ℍ) : ‖star a‖ = ‖a‖ := by
8484theorem nnnorm_star (a : ℍ) : ‖star a‖₊ = ‖a‖₊ :=
8585 Subtype.ext <| norm_star a
8686
87- noncomputable instance : NormedDivisionRing ℍ where
87+ instance : NormedDivisionRing ℍ where
8888 dist_eq _ _ := rfl
8989 norm_mul _ _ := by simp_rw [norm_eq_sqrt_real_inner, inner_self]; simp
9090
91- noncomputable instance : NormedAlgebra ℝ ℍ where
91+ instance : NormedAlgebra ℝ ℍ where
9292 norm_smul_le := norm_smul_le
9393 toAlgebra := Quaternion.algebra
9494
@@ -139,7 +139,7 @@ theorem coeComplex_coe (r : ℝ) : ((r : ℂ) : ℍ) = r :=
139139 rfl
140140
141141/-- Coercion `ℂ →ₐ[ℝ] ℍ` as an algebra homomorphism. -/
142- noncomputable def ofComplex : ℂ →ₐ[ℝ] ℍ where
142+ def ofComplex : ℂ →ₐ[ℝ] ℍ where
143143 toFun := (↑)
144144 map_one' := rfl
145145 map_zero' := rfl
@@ -159,7 +159,7 @@ lemma norm_toLp_equivTuple (x : ℍ) : ‖WithLp.toLp 2 (equivTuple ℝ x)‖ =
159159
160160/-- `QuaternionAlgebra.linearEquivTuple` as a `LinearIsometryEquiv`. -/
161161@ [simps apply symm_apply]
162- noncomputable def linearIsometryEquivTuple : ℍ ≃ₗᵢ[ℝ] EuclideanSpace ℝ (Fin 4 ) :=
162+ def linearIsometryEquivTuple : ℍ ≃ₗᵢ[ℝ] EuclideanSpace ℝ (Fin 4 ) :=
163163 { (QuaternionAlgebra.linearEquivTuple (-1 : ℝ) (0 : ℝ) (-1 : ℝ)).trans
164164 (WithLp.linearEquiv 2 ℝ (Fin 4 → ℝ)).symm with
165165 toFun := fun a => !₂[a.1 , a.2 , a.3 , a.4 ]
0 commit comments