feat: Lint

This commit is contained in:
jstoobysmith 2024-08-02 10:54:53 -04:00
parent 17139a6cf1
commit 192af7075c
3 changed files with 25 additions and 25 deletions

View file

@ -69,6 +69,7 @@ noncomputable section
open realTensorColor
/-- The color structure for real lorentz tensors. -/
def realTensorColor : TensorColor where
Color := ColorType
τ μ :=
@ -108,12 +109,12 @@ def realLorentzTensor (d : ) : TensorStructure where
match μ with
| .up => by
intro x y
simp only [realTensorColor, LorentzVector.contrDownUp, Equiv.cast_refl, Equiv.refl_apply, LinearMap.coe_comp,
LinearEquiv.coe_coe, Function.comp_apply, comm_tmul]
simp only [realTensorColor, LorentzVector.contrDownUp, Equiv.cast_refl, Equiv.refl_apply,
LinearMap.coe_comp, LinearEquiv.coe_coe, Function.comp_apply, comm_tmul]
| .down => by
intro x y
simp only [realTensorColor, LorentzVector.contrDownUp, LinearMap.coe_comp, LinearEquiv.coe_coe,
Function.comp_apply, comm_tmul, Equiv.cast_refl, Equiv.refl_apply]
simp only [realTensorColor, LorentzVector.contrDownUp, LinearMap.coe_comp,
LinearEquiv.coe_coe, Function.comp_apply, comm_tmul, Equiv.cast_refl, Equiv.refl_apply]
unit μ :=
match μ with
| .up => LorentzVector.unitUp