The areas / V08. Multilinear algebra and forms
Mathlib.RingTheory.Coalgebra.Convolution
37 declarations. Mathlib docs · Source
Convolution product on linear maps from a coalgebra to an algebra
This file constructs the ring and algebra structure on linear maps C → A where C is a
coalgebra and A an algebra, where multiplication is given by
(f * g)(x) = ∑ f x₍₁₎ * g x₍₂₎ in Sweedler notation or
|
μ
| | / \
f * g = f g
| | \ /
δ
|
diagrammatically, where μ stands for multiplication and δ for comultiplication.
Implementation notes
Because there is a global multiplication instance on Module.End R A (defined as composition),
which is mathematically distinct from this product, we provide this instance on
WithConv (C →ₗ[R] A).
instance LinearMap.convMul E0 #
{R : Type u_1} →
{A : Type u_3} →
{C : Type u_5} →
[inst : CommSemiring R] →
[inst_1 : NonUnitalNonAssocSemiring A] →
[inst_2 : Module R A] →
[SMulCommClass R A A] →
[IsScalarTower R A A] →
[inst_5 : AddCommMonoid C] → [inst_6 : Module R C] → [CoalgebraStruct R C] → Mul (WithConv (C →ₗ[R] A))
Convolution product on linear maps from a coalgebra to an algebra.
theorem LinearMap.convMul_def E0 #
∀ {R : Type u_1} {A : Type u_3} {C : Type u_5} [inst : CommSemiring R] [inst_1 : NonUnitalNonAssocSemiring A]
[inst_2 : Module R A] [inst_3 : SMulCommClass R A A] [inst_4 : IsScalarTower R A A] [inst_5 : AddCommMonoid C]
[inst_6 : Module R C] [inst_7 : CoalgebraStruct R C] (f g : WithConv (C →ₗ[R] A)),
f * g = WithConv.toConv (LinearMap.mul' R A ∘ₗ TensorProduct.map f.ofConv g.ofConv ∘ₗ CoalgebraStruct.comul)
theorem LinearMap.convMul_apply E0 #
∀ {R : Type u_1} {A : Type u_3} {C : Type u_5} [inst : CommSemiring R] [inst_1 : NonUnitalNonAssocSemiring A]
[inst_2 : Module R A] [inst_3 : SMulCommClass R A A] [inst_4 : IsScalarTower R A A] [inst_5 : AddCommMonoid C]
[inst_6 : Module R C] [inst_7 : CoalgebraStruct R C] (f g : WithConv (C →ₗ[R] A)) (c : C),
(f * g).ofConv c = (LinearMap.mul' R A) ((TensorProduct.map f.ofConv g.ofConv) (CoalgebraStruct.comul c))
theorem Coalgebra.Repr.convMul_apply E0 #
∀ {R : Type u_1} {A : Type u_3} {C : Type u_5} {ι : Type u_6} [inst : CommSemiring R]
[inst_1 : NonUnitalNonAssocSemiring A] [inst_2 : Module R A] [inst_3 : SMulCommClass R A A]
[inst_4 : IsScalarTower R A A] [inst_5 : AddCommMonoid C] [inst_6 : Module R C] [inst_7 : CoalgebraStruct R C] {a : C}
(𝓡 : Coalgebra.Repr R a ι) (f g : WithConv (C →ₗ[R] A)),
(f * g).ofConv a = ∑ i ∈ 𝓡.index, f.ofConv (𝓡.left i) * g.ofConv (𝓡.right i)
instance LinearMap.convNonUnitalNonAssocSemiring E0 #
{R : Type u_1} →
{A : Type u_3} →
{C : Type u_5} →
[inst : CommSemiring R] →
[inst_1 : NonUnitalNonAssocSemiring A] →
[inst_2 : Module R A] →
[SMulCommClass R A A] →
[IsScalarTower R A A] →
[inst_5 : AddCommMonoid C] →
[inst_6 : Module R C] → [CoalgebraStruct R C] → NonUnitalNonAssocSemiring (WithConv (C →ₗ[R] A))
Non-unital and non-associative convolution semiring structure on linear maps from a coalgebra to a non-unital non-associative algebra.
instance LinearMap.instIsScalarTowerWithConvId E0 #
∀ {R : Type u_1} {S : Type u_2} {A : Type u_3} {C : Type u_5} [inst : CommSemiring R]
[inst_1 : NonUnitalNonAssocSemiring A] [inst_2 : Module R A] [inst_3 : SMulCommClass R A A]
[inst_4 : IsScalarTower R A A] [inst_5 : AddCommMonoid C] [inst_6 : Module R C] [inst_7 : CoalgebraStruct R C]
[inst_8 : Monoid S] [inst_9 : DistribMulAction S A] [inst_10 : SMulCommClass R S A] [IsScalarTower S A A],
IsScalarTower S (WithConv (C →ₗ[R] A)) (WithConv (C →ₗ[R] A))
instance LinearMap.instSMulCommClassWithConvId E0 #
∀ {R : Type u_1} {S : Type u_2} {A : Type u_3} {C : Type u_5} [inst : CommSemiring R]
[inst_1 : NonUnitalNonAssocSemiring A] [inst_2 : Module R A] [inst_3 : SMulCommClass R A A]
[inst_4 : IsScalarTower R A A] [inst_5 : AddCommMonoid C] [inst_6 : Module R C] [inst_7 : CoalgebraStruct R C]
[inst_8 : Monoid S] [inst_9 : DistribMulAction S A] [inst_10 : SMulCommClass R S A] [SMulCommClass S A A],
SMulCommClass S (WithConv (C →ₗ[R] A)) (WithConv (C →ₗ[R] A))
theorem LinearMap.toSpanSingleton_convMul_toSpanSingleton E0 #
∀ {R : Type u_1} {A : Type u_3} [inst : CommSemiring R] [inst_1 : NonUnitalNonAssocSemiring A] [inst_2 : Module R A]
[inst_3 : SMulCommClass R A A] [inst_4 : IsScalarTower R A A] (x y : A),
WithConv.toConv (LinearMap.toSpanSingleton R A x) * WithConv.toConv (LinearMap.toSpanSingleton R A y) =
WithConv.toConv (LinearMap.toSpanSingleton R A (x * y))
theorem TensorProduct.map_convMul_map E0 #
∀ {R : Type u_1} {A : Type u_3} {B : Type u_4} {C : Type u_5} [inst : CommSemiring R]
[inst_1 : NonUnitalNonAssocSemiring A] [inst_2 : Module R A] [inst_3 : SMulCommClass R A A]
[inst_4 : IsScalarTower R A A] [inst_5 : AddCommMonoid C] [inst_6 : Module R C] [inst_7 : CoalgebraStruct R C]
{D : Type u_7} [inst_8 : AddCommMonoid B] [inst_9 : Module R B] [inst_10 : CoalgebraStruct R B]
[inst_11 : NonUnitalNonAssocSemiring D] [inst_12 : Module R D] [inst_13 : SMulCommClass R D D]
[inst_14 : IsScalarTower R D D] {f h : WithConv (C →ₗ[R] A)} {g k : WithConv (B →ₗ[R] D)},
WithConv.toConv (TensorProduct.map f.ofConv g.ofConv) * WithConv.toConv (TensorProduct.map h.ofConv k.ofConv) =
WithConv.toConv (TensorProduct.map (f * h).ofConv (g * k).ofConv)
instance LinearMap.convNonUnitalNonAssocRing E0 #
{R : Type u_1} →
{A : Type u_3} →
{C : Type u_5} →
[inst : CommSemiring R] →
[inst_1 : NonUnitalNonAssocRing A] →
[inst_2 : Module R A] →
[SMulCommClass R A A] →
[IsScalarTower R A A] →
[inst_5 : AddCommMonoid C] →
[inst_6 : Module R C] → [CoalgebraStruct R C] → NonUnitalNonAssocRing (WithConv (C →ₗ[R] A))
Non-unital and non-associative convolution ring structure on linear maps from a coalgebra to a non-unital and non-associative algebra.
theorem LinearMap.nonUnitalAlgHom_comp_convMul_distrib E1 #
∀ {R : Type u_1} {A : Type u_3} {B : Type u_4} {C : Type u_5} [inst : CommSemiring R] [inst_1 : NonUnitalSemiring A]
[inst_2 : Module R A] [inst_3 : SMulCommClass R A A] [inst_4 : IsScalarTower R A A] [inst_5 : AddCommMonoid C]
[inst_6 : Module R C] [inst_7 : Coalgebra R C] [inst_8 : NonUnitalNonAssocSemiring B] [inst_9 : Module R B]
[inst_10 : SMulCommClass R B B] [inst_11 : IsScalarTower R B B] (h : A →ₙₐ[R] B) (f g : WithConv (C →ₗ[R] A)),
↑h ∘ₗ (f * g).ofConv = (WithConv.toConv (↑h ∘ₗ f.ofConv) * WithConv.toConv (↑h ∘ₗ g.ofConv)).ofConv
theorem LinearMap.convMul_comp_coalgHom_distrib E1 #
∀ {R : Type u_1} {A : Type u_3} {B : Type u_4} {C : Type u_5} [inst : CommSemiring R] [inst_1 : NonUnitalSemiring A]
[inst_2 : Module R A] [inst_3 : SMulCommClass R A A] [inst_4 : IsScalarTower R A A] [inst_5 : AddCommMonoid C]
[inst_6 : Module R C] [inst_7 : Coalgebra R C] [inst_8 : AddCommMonoid B] [inst_9 : Module R B]
[inst_10 : CoalgebraStruct R B] (f g : WithConv (C →ₗ[R] A)) (h : B →ₗc[R] C),
(f * g).ofConv ∘ₗ h.toLinearMap =
(WithConv.toConv (f.ofConv ∘ₗ h.toLinearMap) * WithConv.toConv (g.ofConv ∘ₗ h.toLinearMap)).ofConv
instance LinearMap.convNonUnitalSemiring E0 #
{R : Type u_1} →
{A : Type u_3} →
{C : Type u_5} →
[inst : CommSemiring R] →
[inst_1 : NonUnitalSemiring A] →
[inst_2 : Module R A] →
[SMulCommClass R A A] →
[IsScalarTower R A A] →
[inst_5 : AddCommMonoid C] →
[inst_6 : Module R C] → [Coalgebra R C] → NonUnitalSemiring (WithConv (C →ₗ[R] A))
Non-unital convolution semiring structure on linear maps from a coalgebra to a non-unital algebra.
instance LinearMap.convNonUnitalRing E0 #
{R : Type u_1} →
{A : Type u_3} →
{C : Type u_5} →
[inst : CommSemiring R] →
[inst_1 : NonUnitalRing A] →
[inst_2 : AddCommMonoid C] →
[inst_3 : Module R A] →
[SMulCommClass R A A] →
[IsScalarTower R A A] → [inst_6 : Module R C] → [Coalgebra R C] → NonUnitalRing (WithConv (C →ₗ[R] A))
Non-unital convolution ring structure on linear maps from a coalgebra to a non-unital algebra.
instance LinearMap.instOneWithConvId E0 #
{R : Type u_1} →
{A : Type u_3} →
{C : Type u_5} →
[inst : CommSemiring R] →
[inst_1 : Semiring A] →
[inst_2 : Algebra R A] →
[inst_3 : AddCommMonoid C] → [inst_4 : Module R C] → [CoalgebraStruct R C] → One (WithConv (C →ₗ[R] A))
Convolution unit on linear maps from a coalgebra to an algebra.
theorem LinearMap.convOne_def E0 #
∀ {R : Type u_1} {A : Type u_3} {C : Type u_5} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
[inst_3 : AddCommMonoid C] [inst_4 : Module R C] [inst_5 : CoalgebraStruct R C],
1 = WithConv.toConv (Algebra.linearMap R A ∘ₗ CoalgebraStruct.counit)
theorem LinearMap.convOne_apply E0 #
∀ {R : Type u_1} {A : Type u_3} {C : Type u_5} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
[inst_3 : AddCommMonoid C] [inst_4 : Module R C] [inst_5 : CoalgebraStruct R C] (c : C),
(WithConv.ofConv 1) c = (algebraMap R A) (CoalgebraStruct.counit c)
theorem LinearMap.convOne_comp_coalgHom E0 #
∀ {R : Type u_1} {A : Type u_3} {B : Type u_4} {C : Type u_5} [inst : CommSemiring R] [inst_1 : Semiring A]
[inst_2 : Algebra R A] [inst_3 : AddCommMonoid C] [inst_4 : Module R C] [inst_5 : CoalgebraStruct R C]
[inst_6 : AddCommMonoid B] [inst_7 : Module R B] [inst_8 : CoalgebraStruct R B] (h : B →ₗc[R] C),
WithConv.ofConv 1 ∘ₗ ↑h = WithConv.ofConv 1
theorem LinearMap.algHom_comp_convMul_distrib E1 #
∀ {R : Type u_1} {A : Type u_3} {B : Type u_4} {C : Type u_5} [inst : CommSemiring R] [inst_1 : Semiring A]
[inst_2 : Algebra R A] [inst_3 : AddCommMonoid C] [inst_4 : Module R C] [inst_5 : CoalgebraStruct R C]
[inst_6 : Semiring B] [inst_7 : Algebra R B] (h : A →ₐ[R] B) (f g : WithConv (C →ₗ[R] A)),
h.toLinearMap ∘ₗ (f * g).ofConv =
(WithConv.toConv (h.toLinearMap ∘ₗ f.ofConv) * WithConv.toConv (h.toLinearMap ∘ₗ g.ofConv)).ofConv
theorem LinearMap.algHom_comp_convOne E0 #
∀ {R : Type u_1} {A : Type u_3} {B : Type u_4} {C : Type u_5} [inst : CommSemiring R] [inst_1 : Semiring A]
[inst_2 : Algebra R A] [inst_3 : AddCommMonoid C] [inst_4 : Module R C] [inst_5 : CoalgebraStruct R C]
[inst_6 : Semiring B] [inst_7 : Algebra R B] (h : A →ₐ[R] B), h.toLinearMap ∘ₗ WithConv.ofConv 1 = WithConv.ofConv 1
instance LinearMap.convSemiring E0 #
{R : Type u_1} →
{A : Type u_3} →
{C : Type u_5} →
[inst : CommSemiring R] →
[inst_1 : Semiring A] →
[inst_2 : Algebra R A] →
[inst_3 : AddCommMonoid C] → [inst_4 : Module R C] → [Coalgebra R C] → Semiring (WithConv (C →ₗ[R] A))
Convolution semiring structure on linear maps from a coalgebra to an algebra.
instance LinearMap.convAlgebra E0 #
{R : Type u_1} →
{S : Type u_2} →
{A : Type u_3} →
{C : Type u_5} →
[inst : CommSemiring R] →
[inst_1 : Semiring A] →
[inst_2 : Algebra R A] →
[inst_3 : AddCommMonoid C] →
[inst_4 : Module R C] →
[inst_5 : Coalgebra R C] →
[inst_6 : CommSemiring S] →
[inst_7 : Algebra S A] → [SMulCommClass R S A] → Algebra S (WithConv (C →ₗ[R] A))
Convolution algebra structure on linear maps from a coalgebra to an algebra.
theorem LinearMap.convAlgebraMap_apply E0 #
∀ {R : Type u_1} {S : Type u_2} {A : Type u_3} {C : Type u_5} [inst : CommSemiring R] [inst_1 : Semiring A]
[inst_2 : Algebra R A] [inst_3 : AddCommMonoid C] [inst_4 : Module R C] [inst_5 : Coalgebra R C]
[inst_6 : CommSemiring S] [inst_7 : Algebra S A] (s : S) (c : C),
((algebraMap S (WithConv (C →ₗ[R] A))) s).ofConv c = s • (algebraMap R A) (CoalgebraStruct.counit c)
instance LinearMap.convCommSemiring E0 #
{R : Type u_1} →
{A : Type u_3} →
{C : Type u_5} →
[inst : CommSemiring R] →
[inst_1 : CommSemiring A] →
[inst_2 : AddCommMonoid C] →
[inst_3 : Algebra R A] →
[inst_4 : Module R C] →
[inst_5 : Coalgebra R C] → [Coalgebra.IsCocomm R C] → CommSemiring (WithConv (C →ₗ[R] A))
Commutative convolution semiring structure on linear maps from a cocommutative coalgebra to an algebra.
instance LinearMap.convRing E0 #
{R : Type u_1} →
{A : Type u_3} →
{C : Type u_5} →
[inst : CommSemiring R] →
[inst_1 : Ring A] →
[inst_2 : AddCommMonoid C] →
[inst_3 : Algebra R A] → [inst_4 : Module R C] → [Coalgebra R C] → Ring (WithConv (C →ₗ[R] A))
Convolution ring structure on linear maps from a coalgebra to an algebra.
instance LinearMap.convCommRing E0 #
{R : Type u_1} →
{A : Type u_3} →
{C : Type u_5} →
[inst : CommSemiring R] →
[inst_1 : CommRing A] →
[inst_2 : AddCommMonoid C] →
[inst_3 : Algebra R A] →
[inst_4 : Module R C] →
[inst_5 : Coalgebra R C] → [Coalgebra.IsCocomm R C] → CommRing (WithConv (C →ₗ[R] A))
Commutative convolution ring structure on linear maps from a cocommutative coalgebra to an algebra.
def AlgHom.convPostcomp E1 #
{R : Type u_1} →
{A : Type u_3} →
{B : Type u_4} →
{C : Type u_5} →
[inst : CommSemiring R] →
[inst_1 : Semiring A] →
[inst_2 : Algebra R A] →
[inst_3 : AddCommMonoid C] →
[inst_4 : Module R C] →
[inst_5 : Coalgebra R C] →
[inst_6 : Semiring B] →
[inst_7 : Algebra R B] → (A →ₐ[R] B) → WithConv (C →ₗ[R] A) →ₐ[R] WithConv (C →ₗ[R] B)
Post-composition by an algebra homomorphism, as a homomorphism of convolution algebras.
theorem AlgHom.convPostcomp_apply_ofConv E0 #
∀ {R : Type u_1} {A : Type u_3} {B : Type u_4} {C : Type u_5} [inst : CommSemiring R] [inst_1 : Semiring A]
[inst_2 : Algebra R A] [inst_3 : AddCommMonoid C] [inst_4 : Module R C] [inst_5 : Coalgebra R C] [inst_6 : Semiring B]
[inst_7 : Algebra R B] (h : A →ₐ[R] B) (f : WithConv (C →ₗ[R] A)),
(h.convPostcomp f).ofConv = h.toLinearMap ∘ₗ f.ofConv
theorem AlgHom.convPostcomp_injective E1 #
∀ {R : Type u_1} {A : Type u_3} {B : Type u_4} {C : Type u_5} [inst : CommSemiring R] [inst_1 : Semiring A]
[inst_2 : Algebra R A] [inst_3 : AddCommMonoid C] [inst_4 : Module R C] [inst_5 : Coalgebra R C] [inst_6 : Semiring B]
[inst_7 : Algebra R B] {h : A →ₐ[R] B}, Function.Injective ⇑h → Function.Injective ⇑h.convPostcomp
theorem AlgHom.convPostcomp_id E0 #
∀ {R : Type u_1} {A : Type u_3} {C : Type u_5} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
[inst_3 : AddCommMonoid C] [inst_4 : Module R C] [inst_5 : Coalgebra R C],
(AlgHom.id R A).convPostcomp = AlgHom.id R (WithConv (C →ₗ[R] A))
theorem AlgHom.convPostcomp_comp E1 #
∀ {R : Type u_1} {A : Type u_3} {B : Type u_4} {C : Type u_5} [inst : CommSemiring R] [inst_1 : Semiring A]
[inst_2 : Algebra R A] [inst_3 : AddCommMonoid C] [inst_4 : Module R C] [inst_5 : Coalgebra R C] [inst_6 : Semiring B]
[inst_7 : Algebra R B] {D : Type u_7} [inst_8 : Semiring D] [inst_9 : Algebra R D] (h₁ : B →ₐ[R] D) (h₂ : A →ₐ[R] B),
(h₁.comp h₂).convPostcomp = h₁.convPostcomp.comp h₂.convPostcomp
def CoalgHom.convPrecomp E1 #
{R : Type u_1} →
{A : Type u_3} →
{B : Type u_4} →
{C : Type u_5} →
[inst : CommSemiring R] →
[inst_1 : Semiring A] →
[inst_2 : Algebra R A] →
[inst_3 : AddCommMonoid C] →
[inst_4 : Module R C] →
[inst_5 : Coalgebra R C] →
[inst_6 : AddCommMonoid B] →
[inst_7 : Module R B] →
[inst_8 : Coalgebra R B] → (B →ₗc[R] C) → WithConv (C →ₗ[R] A) →ₐ[R] WithConv (B →ₗ[R] A)
Pre-composition by a coalgebra homomorphism, as a homomorphism of convolution algebras.
theorem CoalgHom.convPrecomp_apply_ofConv E0 #
∀ {R : Type u_1} {A : Type u_3} {B : Type u_4} {C : Type u_5} [inst : CommSemiring R] [inst_1 : Semiring A]
[inst_2 : Algebra R A] [inst_3 : AddCommMonoid C] [inst_4 : Module R C] [inst_5 : Coalgebra R C]
[inst_6 : AddCommMonoid B] [inst_7 : Module R B] [inst_8 : Coalgebra R B] (h : B →ₗc[R] C) (f : WithConv (C →ₗ[R] A)),
(h.convPrecomp f).ofConv = f.ofConv ∘ₗ ↑h
theorem CoalgHom.convPrecomp_injective E1 #
∀ {R : Type u_1} {A : Type u_3} {B : Type u_4} {C : Type u_5} [inst : CommSemiring R] [inst_1 : Semiring A]
[inst_2 : Algebra R A] [inst_3 : AddCommMonoid C] [inst_4 : Module R C] [inst_5 : Coalgebra R C]
[inst_6 : AddCommMonoid B] [inst_7 : Module R B] [inst_8 : Coalgebra R B] {h : B →ₗc[R] C},
Function.Surjective ⇑h → Function.Injective ⇑h.convPrecomp
theorem CoalgHom.convPrecomp_id E0 #
∀ {R : Type u_1} {A : Type u_3} {C : Type u_5} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
[inst_3 : AddCommMonoid C] [inst_4 : Module R C] [inst_5 : Coalgebra R C],
(CoalgHom.id R C).convPrecomp = AlgHom.id R (WithConv (C →ₗ[R] A))
theorem CoalgHom.convPrecomp_comp E1 #
∀ {R : Type u_1} {A : Type u_3} {B : Type u_4} {C : Type u_5} [inst : CommSemiring R] [inst_1 : Semiring A]
[inst_2 : Algebra R A] [inst_3 : AddCommMonoid C] [inst_4 : Module R C] [inst_5 : Coalgebra R C]
[inst_6 : AddCommMonoid B] [inst_7 : Module R B] [inst_8 : Coalgebra R B] {D : Type u_7} [inst_9 : AddCommMonoid D]
[inst_10 : Module R D] [inst_11 : Coalgebra R D] (h₁ : B →ₗc[R] C) (h₂ : D →ₗc[R] B),
(h₁.comp h₂).convPrecomp = h₂.convPrecomp.comp h₁.convPrecomp
theorem CoalgHom.convPrecomp_comp_convPostcomp E1 #
∀ {R : Type u_1} {A : Type u_3} {B : Type u_4} {C : Type u_5} [inst : CommSemiring R] [inst_1 : Semiring A]
[inst_2 : Algebra R A] [inst_3 : AddCommMonoid C] [inst_4 : Module R C] [inst_5 : Coalgebra R C]
[inst_6 : AddCommMonoid B] [inst_7 : Module R B] [inst_8 : Coalgebra R B] {D : Type u_7} [inst_9 : Semiring D]
[inst_10 : Algebra R D] (h : B →ₗc[R] C) (φ : A →ₐ[R] D),
h.convPrecomp.comp φ.convPostcomp = φ.convPostcomp.comp h.convPrecomp