refactor: Replace some simp with simp only
This commit is contained in:
parent
da5e0e3f00
commit
49d089d4cd
17 changed files with 56 additions and 41 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue