feat: contr_unit for Complex Lorentz Tensors
This commit is contained in:
parent
14377da3d8
commit
942ee12e60
4 changed files with 201 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue