feat: Add contraction properties

This commit is contained in:
jstoobysmith 2024-08-02 14:57:39 -04:00
parent 192af7075c
commit e382bf12d7
2 changed files with 201 additions and 27 deletions

View file

@ -45,6 +45,8 @@ structure TensorColor where
namespace TensorColor
variable (𝓒 : TensorColor)
variable {d : } {X Y Y' Z W : Type} [Fintype X] [DecidableEq X] [Fintype Y] [DecidableEq Y]
[Fintype Y'] [DecidableEq Y'] [Fintype Z] [DecidableEq Z] [Fintype W] [DecidableEq W]
/-- A relation on colors which is true if the two colors are equal or are duals. -/
def colorRel (μ ν : 𝓒.Color) : Prop := μ = ν μ = 𝓒ν