refactor: Replace some simp with simp only

This commit is contained in:
jstoobysmith 2024-09-04 15:33:54 -04:00
parent da5e0e3f00
commit 49d089d4cd
17 changed files with 56 additions and 41 deletions

View file

@ -131,7 +131,7 @@ lemma toHomogeneousQuad_add {V : Type} [AddCommMonoid V] [Module V]
(τ : BiLinearSymm V) (S T : V) :
τ.toHomogeneousQuad (S + T) = τ.toHomogeneousQuad S +
τ.toHomogeneousQuad T + 2 * τ S T := by
simp [toHomogeneousQuad_apply]
simp only [HomogeneousQuadratic, toHomogeneousQuad_apply, map_add]
rw [τ.map_add₁, τ.map_add₁, τ.swap T S]
ring