refactor: Lint

This commit is contained in:
jstoobysmith 2024-10-15 13:36:48 +00:00
parent 255ea5ffd7
commit a60ade65f0
5 changed files with 21 additions and 19 deletions

View file

@ -8,7 +8,6 @@ import HepLean.SpaceTime.LorentzVector.Complex.Basic
# Contraction of Lorentz vectors
-/
noncomputable section
@ -91,7 +90,7 @@ def contrCoContraction : complexContr ⊗ complexCo ⟶ 𝟙_ (Rep SL(2,)
def coContrContraction : complexCo ⊗ complexContr ⟶ 𝟙_ (Rep SL(2,)) where
hom := TensorProduct.lift contrContrCoBi
comm M := TensorProduct.ext' fun φ ψ => by
change ((LorentzGroup.toComplex (SL2C.toLorentzGroup M))⁻¹ᵀ *ᵥ φ.toFin13) ⬝ᵥ
change ((LorentzGroup.toComplex (SL2C.toLorentzGroup M))⁻¹ᵀ *ᵥ φ.toFin13) ⬝ᵥ
((LorentzGroup.toComplex (SL2C.toLorentzGroup M)) *ᵥ ψ.toFin13) = φ.toFin13 ⬝ᵥ ψ.toFin13
rw [dotProduct_mulVec, mulVec_transpose, vecMul_vecMul]
rw [inv_mul_of_invertible (LorentzGroup.toComplex (SL2C.toLorentzGroup M))]