refactor: linear_combination

This commit is contained in:
jstoobysmith 2024-09-04 06:32:42 -04:00
parent 17f09022db
commit 158c33e8d3
2 changed files with 5 additions and 11 deletions

View file

@ -74,9 +74,8 @@ lemma doublePoint_Y₃_Y₃ (R : MSSMACC.LinSols) :
simp at hLin
have h3 := hLin 3
simp [Fin.sum_univ_three] at h3
have h5 := congrArg (HMul.hMul 6) h3
ring_nf at h5
ring_nf
exact h5
linear_combination (norm := ring_nf) 6 * h3
simp only [Fin.isValue, Prod.mk_zero_zero, Prod.mk_one_one, add_add_sub_cancel, add_neg_cancel]
end MSSMACC