Documentation

LeanPool.RegtsSevenster.RS.Classical.Deligne.SuperEmbed.Letters

Letter systems and the sign transport #

A MixedLetters system exhibits an object of a monoidal category as a family of letters, each of them the unit or a fixed odd line. The tensor power then decomposes into colourings, and a permutation routes a colouring to its shuffle scaled by the Koszul sign of Signs.lean. The matrix of the action of the group algebra is therefore the same in every ambient category carrying such a system, which is what makes the colour sum an obstruction that transports; the two systems it is applied to are built in Standard.lean.

Letter systems #

A MixedLetters system exhibits an object M as a biproduct-style family of letters, each a monoidal unit (even) or a fixed line U (odd), without asking the ambient category for biproducts: only the inclusions, projections, orthogonality and completeness are used.

@[reducible, inline]
abbrev RS.letterObj {A : Type u} [CategoryTheory.Category.{v, u} A] [CategoryTheory.MonoidalCategory A] (U : A) {K : Type} (par : K → Bool) (k : K) :
A

The letter object of a label: the line U when the label is odd, the monoidal unit when it is even.

Equations
Instances For

    A letter system on M: unit and U-letters included into and projected from M, orthonormally and completely.

    Instances For

      The inclusion of a colouring: the fold of the letterwise inclusions into the tensor power, in slot order.

      Equations
      Instances For

        The projection onto a colouring: the fold of the letterwise projections from the tensor power.

        Equations
        Instances For

          The defining recursion of colourInto.

          Same-colouring round trip: a colouring included into the power and projected back is unchanged.

          Distinct-colouring round trips vanish.

          Completeness of the colouring decomposition: the round trips through the colourings sum to the identity of the power.

          Normalising word powers #

          Every word power of U and the unit normalises, by unitors alone, to the pure power of U counted by the word. Reading the colouring inclusions and projections through this normal form confines every transport to powers of U indexed by counts.

          Absorbing one letter into a power of U: a U-letter extends the power, a unit letter is stripped by the right unitor.

          Equations
          Instances For

            The normalisation of a word power: strip the unit letters by unitors, leaving the power of U of the word's count.

            Equations
            Instances For

              The normalised colouring maps #

              noncomputable def RS.MixedLetters.nIn {A : Type u} [CategoryTheory.Category.{v, u} A] [CategoryTheory.MonoidalCategory A] [CategoryTheory.Preadditive A] {K : Type} [Fintype K] {par : K → Bool} {U M : A} (S : MixedLetters K par U M) (n : ℕ) (c : Fin n → K) :
              tensorPow A U (popCount (par ∘ c)) ⟶ tensorPow A M n

              The normalised inclusion of a colouring: the colouring inclusion, read off the U-power normal form of its word power.

              Equations
              Instances For
                noncomputable def RS.MixedLetters.nOut {A : Type u} [CategoryTheory.Category.{v, u} A] [CategoryTheory.MonoidalCategory A] [CategoryTheory.Preadditive A] {K : Type} [Fintype K] {par : K → Bool} {U M : A} (S : MixedLetters K par U M) (n : ℕ) (c : Fin n → K) :
                tensorPow A M n ⟶ tensorPow A U (popCount (par ∘ c))

                The normalised projection onto a colouring.

                Equations
                Instances For

                  The colouring inclusion factors through its normalised form.

                  Same-colouring round trip of the normalised maps.

                  Distinct-colouring round trips of the normalised maps vanish.

                  The recursion of the normalised inclusion: strip the top letter.

                  theorem RS.MixedLetters.nIn_congr {A : Type u} [CategoryTheory.Category.{v, u} A] [CategoryTheory.MonoidalCategory A] [CategoryTheory.Preadditive A] {K : Type} [Fintype K] {par : K → Bool} {U M : A} (S : MixedLetters K par U M) {n : ℕ} {c c' : Fin n → K} (h : c = c') (hp : popCount (par ∘ c) = popCount (par ∘ c')) :

                  Transport of the normalised inclusion along an equality of colourings.

                  Reindexing along the generators #

                  theorem RS.extPerm_inv {n : ℕ} (τ : Equiv.Perm (Fin n)) :

                  Extension to one more slot commutes with inversion.

                  theorem RS.permIndex_extPerm_castSucc {K : Type u_1} {n : ℕ} (τ : Equiv.Perm (Fin n)) (c : Fin (n + 1) → K) :

                  Reindexing along a top-fixing permutation restricts below the top slot.

                  theorem RS.permIndex_extPerm_last {K : Type u_1} {n : ℕ} (τ : Equiv.Perm (Fin n)) (c : Fin (n + 1) → K) :

                  Reindexing along a top-fixing permutation fixes the top letter.

                  The top transposition is its own inverse.

                  theorem RS.permIndex_topSwap_last {K : Type u_1} {n : ℕ} (c : Fin (n + 2) → K) :

                  Reindexing along the top transposition, top letter.

                  theorem RS.permIndex_topSwap_castSucc_last {K : Type u_1} {n : ℕ} (c : Fin (n + 2) → K) :

                  Reindexing along the top transposition, second letter.

                  Reindexing along the top transposition, lower letters.

                  The braiding on a pair of letters #

                  The sign transport of the permutation action #

                  The heart of the comparison: on the normal form, the action of a permutation is the transport between the shuffled colourings, scaled by the combinatorial Koszul sign — the same scalar in every ambient category.

                  @[simp]

                  The U-letter absorption, spelled.

                  theorem RS.MixedLetters.popCount_split {K : Type} {par : K → Bool} {n : ℕ} (c : Fin (n + 1) → K) :
                  popCount (par ∘ c) = popCount (par ∘ c ∘ Fin.castSucc) + bif par (c (Fin.last n)) then 1 else 0

                  The letter count of a colouring splits off the last letter, in the composite spelling.

                  theorem RS.MixedLetters.popCount_permIndex' {K : Type} {par : K → Bool} {n : ℕ} (σ : Equiv.Perm (Fin n)) (c : Fin n → K) :
                  popCount (par ∘ c) = popCount (par ∘ permIndex σ c)

                  Reindexing preserves letter counts, in the composite spelling.

                  theorem RS.MixedLetters.nIn_split {A : Type u} [CategoryTheory.Category.{v, u} A] [CategoryTheory.MonoidalCategory A] [CategoryTheory.Preadditive A] {K : Type} [Fintype K] {par : K → Bool} {U M : A} (S : MixedLetters K par U M) (n : ℕ) (c : Fin (n + 1) → K) (c' : Fin n → K) (k : K) (hc : c ∘ Fin.castSucc = c') (hk : c (Fin.last n) = k) (h : popCount (par ∘ c) = popCount (par ∘ c') + bif par k then 1 else 0) :

                  Splitting the normalised inclusion at the last letter, with the tail and last letter replaced by given values.

                  The sign transport of the permutation action: on normal forms, a permutation acts on a colouring of a letter system by the transport to the shuffled colouring, scaled by the combinatorial Koszul sign of the shuffle.

                  The colour sum #

                  The matrix coefficient of a group-algebra element between two colourings: the sum of its coefficients over the permutations routing the one colouring to the other, weighted by the Koszul sign. It is purely combinatorial — the same scalar in every ambient category carrying a letter system.

                  noncomputable def RS.colourSum {K : Type} [DecidableEq K] (par : K → Bool) {n : ℕ} (x : SymGroupAlgebra n) (c d : Fin n → K) :

                  The colour sum: the signed coefficient sum of a group-algebra element over the permutations carrying c to d.

                  Equations
                  Instances For
                    theorem RS.colourSum_eq_zero_of_ne {K : Type} [DecidableEq K] (par : K → Bool) {n : ℕ} (x : SymGroupAlgebra n) {c d : Fin n → K} (h : popCount (par ∘ c) ≠ popCount (par ∘ d)) :
                    colourSum par x c d = 0

                    The colour sum vanishes between colourings of different counts.

                    The entry formula: between two colourings, the normalised matrix entry of a group-algebra element is the colour sum times the count transport.

                    The colouring projection factors through its normalised form.

                    Extraction: if a group-algebra element acts as zero on the tensor power of the mixed object, all its colour sums vanish — provided no power of the odd line is a zero object.

                    Reconstruction: if all colour sums of a group-algebra element vanish, it acts as zero on the tensor power of the mixed object.