feat: Get evaluation working.

This commit is contained in:
jstoobysmith 2024-10-22 06:42:06 +00:00
parent e180d4cca9
commit 8fa8a51367
4 changed files with 56 additions and 13 deletions

View file

@ -143,6 +143,14 @@ def complexLorentzTensor : TensorSpecies where
| Color.downR => 2
| Color.up => 4
| Color.down => 4
repDim_neZero := fun c =>
match c with
| Color.upL => inferInstance
| Color.downL => inferInstance
| Color.upR => inferInstance
| Color.downR => inferInstance
| Color.up => inferInstance
| Color.down => inferInstance
basis := fun c =>
match c with
| Color.upL => Fermion.leftBasis

View file

@ -146,6 +146,9 @@ lemma symm_contr_antiSymm {S : (Lorentz.complexCo ⊗ Lorentz.complexCo).V}
rw [antiSymm_contr_symm hA hs]
rfl
lemma contr_rank_1_expand (p : Lorentz.complexCo) (q : Lorentz.complexContr) :
{(p | μ ⊗ q | μ) = p | 0}ᵀ := by
sorry
end Fermion
end