feat: add action on Lorentz group

This commit is contained in:
jstoobysmith 2024-07-16 09:45:03 -04:00
parent 7648f25d73
commit 05e1dda58c
2 changed files with 140 additions and 1 deletions

View file

@ -41,6 +41,11 @@ instance (d : ) (μ : RealLorentzTensor.Colors) : Fintype (RealLorentzTensor.
| RealLorentzTensor.Colors.up => instFintypeSum (Fin 1) (Fin d)
| RealLorentzTensor.Colors.down => instFintypeSum (Fin 1) (Fin d)
instance (d : ) (μ : RealLorentzTensor.Colors) : DecidableEq (RealLorentzTensor.ColorsIndex d μ) :=
match μ with
| RealLorentzTensor.Colors.up => instDecidableEqSum
| RealLorentzTensor.Colors.down => instDecidableEqSum
/-- An `IndexValue` is a set of actual values an index can take. e.g. for a
3-tensor (0, 1, 2). -/
@[simp]