feat: contr_unit for Complex Lorentz Tensors

This commit is contained in:
jstoobysmith 2024-10-24 15:52:56 +00:00
parent 14377da3d8
commit 942ee12e60
4 changed files with 201 additions and 2 deletions

View file

@ -167,6 +167,14 @@ def complexLorentzTensor : TensorSpecies where
| Color.downR => Fermion.altRightContraction_tmul_symm
| Color.up => Lorentz.contrCoContraction_tmul_symm
| Color.down => Lorentz.coContrContraction_tmul_symm
contr_unit := fun c =>
match c with
| Color.upL => Fermion.contr_altLeftLeftUnit
| Color.downL => Fermion.contr_leftAltLeftUnit
| Color.upR => Fermion.contr_altRightRightUnit
| Color.downR => Fermion.contr_rightAltRightUnit
| Color.up => Lorentz.contr_coContrUnit
| Color.down => Lorentz.contr_contrCoUnit
instance : DecidableEq complexLorentzTensor.C := Fermion.instDecidableEqColor