refactor: Lint

This commit is contained in:
jstoobysmith 2024-11-04 05:55:37 +00:00
parent 280b8a77d6
commit eb49122c66
6 changed files with 8 additions and 12 deletions

View file

@ -141,13 +141,11 @@ lemma normSq_eq_innerProd_self (φ : HiggsField) (x : SpaceTime) :
-/
@[simp]
lemma normSq_apply_im_zero (φ : HiggsField) (x : SpaceTime) :
((Complex.ofRealHom ‖φ x‖) ^ 2).im = 0 := by
rw [sq]
simp only [ofRealHom_eq_coe, mul_im, ofReal_re, ofReal_im, mul_zero, zero_mul, add_zero]
@[simp]
lemma normSq_apply_re_self (φ : HiggsField) (x : SpaceTime) :
((Complex.ofRealHom ‖φ x‖) ^ 2).re = φ.normSq x := by
rw [sq]