Color #
In the context of tensors Color
is defined as the type of indices of a tensor.
For example if A_μ^ν
is a real Lorentz tensors, we say it has indicies of color [down, up]
.
For complex Lorentz Tensors there are six different colors, corresponding to the
up and down indices of the Lorentz group, the dotted and undotted Weyl fermion indices.
Note if you only want to work with tensors, and not understand their implementation you can safely ignore these files.
Overview of directory #
This file
Let C
be the type of colors for a given species of tensor.
In this file we define the category OverColor C
. The objects of OverColor C
correspond to allowed colorings of indices represented as a map X → C
from a type X
to C
.
Usually X
will be Fin n
for some n : ℕ
.
The morphisms of OverColor C
correspond to color-preserving permutaitons of indices.
We also define here a symmetric-monoidal structure on OverColor C
.
Discrete
The file Discrete
contains some basic properties of the category Discrete C
.
Lift
The file Lift
we define the lift of a functor F : Discrete C ⥤ Rep k G
to
a symmetric monodial functor OverColor C ⥤ Rep k G
, given by taking tensor products.
References #
- Formalization of physics index notation in Lean 4, Tooby-Smith. https://doi.org/10.48550/arXiv.2411.07667.
The core of the category of Types over C.
Equations
Instances For
The instance of OverColor C
as a groupoid.
Morphisms in the OverColor category. #
The equivalence of types underlying the identity morphism is the reflexive equivalence.
Given a morphism in OverColor C
, the corresponding isomorphism.
Equations
- IndexNotation.OverColor.Hom.toIso m = { hom := m, inv := CategoryTheory.Iso.symm m, hom_inv_id := ⋯, inv_hom_id := ⋯ }
Instances For
The monoidal structure on OverColor C
. #
The category OverColor C
can, through the disjoint union, be given the structure of a
symmetric monoidal category.
The category OverColor C
carries an instance of a Monoidal category structure.
Equations
- One or more equations did not get rendered due to their size.
The category OverColor C
carries an instance of a Monoidal category.
Equations
- IndexNotation.OverColor.instMonoidalCategory C = CategoryTheory.MonoidalCategory.mk ⋯ ⋯ ⋯ ⋯ ⋯ ⋯ ⋯ ⋯ ⋯ ⋯
The category OverColor C
carries an instance of a braided category.
Equations
- One or more equations did not get rendered due to their size.
The category OverColor C
carries an instance of a symmetric monoidal category.
Isomorphisms. #
The isomorphism between c : X → C
and c ∘ e.symm
as objects in OverColor C
for an
equivalence e
.
Equations
Instances For
The homomorphism between c : X → C
and c ∘ e.symm
as objects in OverColor C
for an
equivalence e
.