Module

RepresentationTensor.lean

Nyll.GaloisCohomology.GroupTheory.RepresentationTensor
13 declarations indexed from sourceView source ↗

The original diagonal tensor in the representation carrier universe

Declarations

Rep.diagonalTensor

The diagonal representation on the ordinary tensor product of the two carriers.

Source context 7 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
noncomputable section
open CategoryTheory
open scoped TensorProduct
namespace Rep
universe r u v
variable {R : Type r} {G : Type u} [CommRing R] [Group G]
def diagonalTensor (A B : Rep.{v} R G) : Rep.{v} R G
Rep.diagonalTensor_ρ
Source context 9 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
noncomputable section
open CategoryTheory
open scoped TensorProduct
namespace Rep
universe r u v
variable {R : Type r} {G : Type u} [CommRing R] [Group G]
scoped[RepTensor] infixr:70 " ⊗ᵣ " => Rep.diagonalTensor
open scoped RepTensor
theorem diagonalTensor_ρ (A B : Rep.{v} R G) : (A ⊗ᵣ B).ρ = A.ρ.tprod B.ρ
Rep.diagonalTensorMap

The original tensor of the two equivariant maps.

Source context 9 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
noncomputable section
open CategoryTheory
open scoped TensorProduct
namespace Rep
universe r u v
variable {R : Type r} {G : Type u} [CommRing R] [Group G]
scoped[RepTensor] infixr:70 " ⊗ᵣ " => Rep.diagonalTensor
open scoped RepTensor
def diagonalTensorMap {A A' B B' : Rep.{v} R G} (f : A ⟶ A') (g : B ⟶ B') :
    A ⊗ᵣ B ⟶ A' ⊗ᵣ B'
Rep.diagonalTensorMap_tmul
Source context 9 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
noncomputable section
open CategoryTheory
open scoped TensorProduct
namespace Rep
universe r u v
variable {R : Type r} {G : Type u} [CommRing R] [Group G]
scoped[RepTensor] infixr:70 " ⊗ᵣ " => Rep.diagonalTensor
open scoped RepTensor
theorem diagonalTensorMap_tmul {A A' B B' : Rep.{v} R G} (f : A ⟶ A') (g : B ⟶ B')
    (a : A) (b : B) :
    diagonalTensorMap f g (a ⊗ₜ[R] b) = f a ⊗ₜ[R] g b
Rep.diagonalTensorMap_comp

The tensor of two composite maps is the composite of their tensors.

Source context 10 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
noncomputable section
open CategoryTheory
open scoped TensorProduct
namespace Rep
universe r u v
variable {R : Type r} {G : Type u} [CommRing R] [Group G]
scoped[RepTensor] infixr:70 " ⊗ᵣ " => Rep.diagonalTensor
open scoped RepTensor
scoped[RepTensor] infixr:70 " ⊗ᵣₘ " => Rep.diagonalTensorMap
theorem diagonalTensorMap_comp {A A' A'' B B' B'' : Rep.{v} R G}
    (f : A ⟶ A') (f' : A' ⟶ A'') (g : B ⟶ B') (g' : B' ⟶ B'') :
    diagonalTensorMap f g ≫ diagonalTensorMap f' g' =
      diagonalTensorMap (f ≫ f') (g ≫ g')
Rep.diagonalTensorLeft

Left diagonal tensor as a functor on the original representations.

Source context 10 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
noncomputable section
open CategoryTheory
open scoped TensorProduct
namespace Rep
universe r u v
variable {R : Type r} {G : Type u} [CommRing R] [Group G]
scoped[RepTensor] infixr:70 " ⊗ᵣ " => Rep.diagonalTensor
open scoped RepTensor
scoped[RepTensor] infixr:70 " ⊗ᵣₘ " => Rep.diagonalTensorMap
def diagonalTensorLeft (A : Rep.{v} R G) : Rep.{v} R G ⥤ Rep.{v} R G where
  obj B := A ⊗ᵣ B
  map f := diagonalTensorMap (𝟙 A) f
  map_id B := by
    apply Rep.hom_ext
    apply Representation.IntertwiningMap.toLinearMap_injective
    exact TensorProduct.map_id
  map_comp f g := by
    rw [diagonalTensorMap_comp, Category.id_comp]
Rep.diagonalTensorRight

Right diagonal tensor as a functor on the original representations.

Source context 10 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
noncomputable section
open CategoryTheory
open scoped TensorProduct
namespace Rep
universe r u v
variable {R : Type r} {G : Type u} [CommRing R] [Group G]
scoped[RepTensor] infixr:70 " ⊗ᵣ " => Rep.diagonalTensor
open scoped RepTensor
scoped[RepTensor] infixr:70 " ⊗ᵣₘ " => Rep.diagonalTensorMap
def diagonalTensorRight (B : Rep.{v} R G) : Rep.{v} R G ⥤ Rep.{v} R G where
  obj A := A ⊗ᵣ B
  map f := diagonalTensorMap f (𝟙 B)
  map_id A := by
    apply Rep.hom_ext
    apply Representation.IntertwiningMap.toLinearMap_injective
    exact TensorProduct.map_id
  map_comp f g := by
    rw [diagonalTensorMap_comp, Category.id_comp]
Rep.diagonalTensorLeft_additive
Source context 10 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
noncomputable section
open CategoryTheory
open scoped TensorProduct
namespace Rep
universe r u v
variable {R : Type r} {G : Type u} [CommRing R] [Group G]
scoped[RepTensor] infixr:70 " ⊗ᵣ " => Rep.diagonalTensor
open scoped RepTensor
scoped[RepTensor] infixr:70 " ⊗ᵣₘ " => Rep.diagonalTensorMap
instance diagonalTensorLeft_additive (A : Rep.{v} R G) : (diagonalTensorLeft A).Additive where
  map_add := fun {X Y} {f g : X ⟶ Y} => by
    let e : A.ρ.IntertwiningMap A.ρ := Representation.IntertwiningMap.id A.ρ
    apply Rep.hom_ext
    change e.tensor (f.hom + g.hom) = e.tensor f.hom + e.tensor g.hom
    exact Representation.IntertwiningMap.tensor_add_right e f.hom g.hom
Rep.diagonalTensorRight_additive
Source context 10 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
noncomputable section
open CategoryTheory
open scoped TensorProduct
namespace Rep
universe r u v
variable {R : Type r} {G : Type u} [CommRing R] [Group G]
scoped[RepTensor] infixr:70 " ⊗ᵣ " => Rep.diagonalTensor
open scoped RepTensor
scoped[RepTensor] infixr:70 " ⊗ᵣₘ " => Rep.diagonalTensorMap
instance diagonalTensorRight_additive (B : Rep.{v} R G) : (diagonalTensorRight B).Additive where
  map_add := fun {X Y} {f g : X ⟶ Y} => by
    let e : B.ρ.IntertwiningMap B.ρ := Representation.IntertwiningMap.id B.ρ
    apply Rep.hom_ext
    change (f.hom + g.hom).tensor e = f.hom.tensor e + g.hom.tensor e
    exact Representation.IntertwiningMap.tensor_add_left f.hom g.hom e
Rep.diagonalTensorMap_id
Source context 10 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
noncomputable section
open CategoryTheory
open scoped TensorProduct
namespace Rep
universe r u v
variable {R : Type r} {G : Type u} [CommRing R] [Group G]
scoped[RepTensor] infixr:70 " ⊗ᵣ " => Rep.diagonalTensor
open scoped RepTensor
scoped[RepTensor] infixr:70 " ⊗ᵣₘ " => Rep.diagonalTensorMap
theorem diagonalTensorMap_id (A B : Rep.{v} R G) :
    diagonalTensorMap (𝟙 A) (𝟙 B) = 𝟙 (A ⊗ᵣ B)
Rep.diagonalTensorCommIso

Swapping the two original tensor factors preserves the diagonal action.

Source context 10 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
noncomputable section
open CategoryTheory
open scoped TensorProduct
namespace Rep
universe r u v
variable {R : Type r} {G : Type u} [CommRing R] [Group G]
scoped[RepTensor] infixr:70 " ⊗ᵣ " => Rep.diagonalTensor
open scoped RepTensor
scoped[RepTensor] infixr:70 " ⊗ᵣₘ " => Rep.diagonalTensorMap
def diagonalTensorCommIso (A B : Rep.{v} R G) : A ⊗ᵣ B ≅ B ⊗ᵣ A
Rep.diagonalTensorCommIso_tmul
Source context 10 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
noncomputable section
open CategoryTheory
open scoped TensorProduct
namespace Rep
universe r u v
variable {R : Type r} {G : Type u} [CommRing R] [Group G]
scoped[RepTensor] infixr:70 " ⊗ᵣ " => Rep.diagonalTensor
open scoped RepTensor
scoped[RepTensor] infixr:70 " ⊗ᵣₘ " => Rep.diagonalTensorMap
theorem diagonalTensorCommIso_tmul (A B : Rep.{v} R G) (a : A) (b : B) :
    (diagonalTensorCommIso A B).hom (a ⊗ₜ[R] b) = b ⊗ₜ[R] a
Rep.diagonalTensorLeftNatTrans

A map of left factors induces a transformation on diagonal tensor functors.

Source context 10 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
noncomputable section
open CategoryTheory
open scoped TensorProduct
namespace Rep
universe r u v
variable {R : Type r} {G : Type u} [CommRing R] [Group G]
scoped[RepTensor] infixr:70 " ⊗ᵣ " => Rep.diagonalTensor
open scoped RepTensor
scoped[RepTensor] infixr:70 " ⊗ᵣₘ " => Rep.diagonalTensorMap
def diagonalTensorLeftNatTrans {A B : Rep.{v} R G} (f : A ⟶ B) :
    diagonalTensorLeft A ⟶ diagonalTensorLeft B where
  app C := diagonalTensorMap f (𝟙 C)
  naturality C D g := by
    change diagonalTensorMap (𝟙 A) g ≫ diagonalTensorMap f (𝟙 D) =
      diagonalTensorMap f (𝟙 C) ≫ diagonalTensorMap (𝟙 B) g
    rw [diagonalTensorMap_comp, diagonalTensorMap_comp, Category.id_comp, Category.comp_id,
      Category.comp_id, Category.id_comp]