@@ -113,16 +113,13 @@ def toEven : CliffordAlgebra Q →ₐ[R] CliffordAlgebra.even (Q' Q) := by
113113 rw [Subtype.coe_mk, pow_two]
114114 exact Submodule.mul_mem_mul (LinearMap.mem_range_self _ _) (LinearMap.mem_range_self _ _)
115115 · ext1
116- rw [Subalgebra.coe_mul] -- Porting note: was part of the `dsimp only` below
117- erw [LinearMap.codRestrict_apply] -- Porting note: was part of the `dsimp only` below
118- dsimp only [LinearMap.comp_apply, LinearMap.mulLeft_apply, Subalgebra.coe_algebraMap]
119- rw [← mul_assoc, e0_mul_v_mul_e0, v_sq_scalar]
116+ simp only [Subalgebra.coe_mul, ← even_toSubmodule]
117+ rw [LinearMap.codRestrict_apply]
118+ simp [← mul_assoc, v_sq_scalar]
120119
121120theorem toEven_ι (m : M) : (toEven Q (ι Q m) : CliffordAlgebra (Q' Q)) = e0 Q * v Q m := by
122- rw [toEven, CliffordAlgebra.lift_ι_apply]
123- -- Porting note (https://github.com/leanprover-community/mathlib4/issues/11224): was `rw`
124- erw [LinearMap.codRestrict_apply]
125- rw [LinearMap.coe_comp, Function.comp_apply, LinearMap.mulLeft_apply]
121+ simp only [toEven, CliffordAlgebra.lift_ι_apply, ← even_toSubmodule]
122+ rw [LinearMap.codRestrict_apply, LinearMap.coe_comp, Function.comp_apply, LinearMap.mulLeft_apply]
126123
127124/-- The embedding from the even subalgebra with an extra dimension into the original algebra. -/
128125def ofEven : CliffordAlgebra.even (Q' Q) →ₐ[R] CliffordAlgebra Q := by
0 commit comments