Bialgebras #
In this file we define Bialgebra
s.
Main definitions #
Bialgebra R A
: the structure of a bialgebra on theR
-algebraA
;CommSemiring.toBialgebra
: a commutative semiring is a bialgebra over itself.
Implementation notes #
Rather than the "obvious" axiom ∀ a b, counit (a * b) = counit a * counit b
, the far
more convoluted mul_compr₂_counit
is used as a structure field; this says that
the corresponding two maps A →ₗ[R] A →ₗ[R] R
are equal; a similar trick is
used for comultiplication as well. An alternative constructor Bialgebra.mk'
is provided
with the more easily-readable axioms. The argument for using the more convoluted axioms
is that in practice there is evidence that they will be easier to prove (especially
when dealing with things like tensor products of bialgebras). This does make the definition
more surprising to mathematicians, however mathlib is no stranger to definitions which
are surprising to mathematicians -- see for example its definition of a group.
Note that this design decision is also compatible with that of Coalgebra
. The lengthy
docstring for these convoluted fields attempts to explain what is going on.
References #
Tags #
bialgebra
A bialgebra over a commutative (semi)ring R
is both an algebra and a coalgebra over R
, such
that the counit and comultiplication are algebra morphisms.
- smul : R → A → A
- toFun : R → A
- map_one' : (↑↑Algebra.toRingHom).toFun 1 = 1
- map_zero' : (↑↑Algebra.toRingHom).toFun 0 = 0
- comul : A →ₗ[R] TensorProduct R A A
- coassoc : ↑(TensorProduct.assoc R A A A) ∘ₗ LinearMap.rTensor A Coalgebra.comul ∘ₗ Coalgebra.comul = LinearMap.lTensor A Coalgebra.comul ∘ₗ Coalgebra.comul
- rTensor_counit_comp_comul : LinearMap.rTensor A Coalgebra.counit ∘ₗ Coalgebra.comul = (TensorProduct.mk R R A) 1
- lTensor_counit_comp_comul : LinearMap.lTensor A Coalgebra.counit ∘ₗ Coalgebra.comul = (LinearMap.flip (TensorProduct.mk R A R)) 1
- counit_one : Coalgebra.counit 1 = 1
The counit on a bialgebra preserves 1.
- mul_compr₂_counit : LinearMap.compr₂ (LinearMap.mul R A) Coalgebra.counit = LinearMap.compl₁₂ (LinearMap.mul R R) Coalgebra.counit Coalgebra.counit
The counit on a bialgebra preserves multiplication. Note that this is written in a rather obscure way: it says that two bilinear maps
A →ₗ[R] A →ₗ[R]
are equal. The two corresponding equal linear mapsA ⊗[R] A →ₗ[R]
are the following: the first factors throughA
and is multiplication onA
followed bycounit
. The second factors throughR ⊗[R] R
, and iscounit ⊗ counit
followed by multiplication onR
.See
Bialgebra.mk'
for a constructor for bialgebras which uses the more familiar but mathematically equivalentcounit (a * b) = counit a * counit b
. - comul_one : Coalgebra.comul 1 = 1
The comultiplication on a bialgebra preserves
1
. - mul_compr₂_comul : LinearMap.compr₂ (LinearMap.mul R A) Coalgebra.comul = LinearMap.compl₁₂ (LinearMap.mul R (TensorProduct R A A)) Coalgebra.comul Coalgebra.comul
The comultiplication on a bialgebra preserves multiplication. This is written in a rather obscure way: it says that two bilinear maps
A →ₗ[R] A →ₗ[R] (A ⊗[R] A)
are equal. The corresponding equal linear mapsA ⊗[R] A →ₗ[R] A ⊗[R] A
are firstly multiplcation followed bycomul
, and secondlycomul ⊗ comul
followed by multiplication onA ⊗[R] A
.See
Bialgebra.mk'
for a constructor for bialgebras which uses the more familiar but mathematically equivalentcomul (a * b) = comul a * comul b
.
Instances
If R
is a field (or even a commutative semiring) and A
is an R
-algebra with a coalgebra structure, then Bialgebra.mk'
consumes proofs that the counit and comultiplication preserve
the identity and multiplication, and produces a bialgebra
structure on A
.
Equations
- One or more equations did not get rendered due to their size.
Instances For
counitAlgHom R A
is the counit of the R
-bialgebra A
, as an R
-algebra map.
Equations
- Bialgebra.counitAlgHom R A = AlgHom.ofLinearMap Coalgebra.counit (_ : Coalgebra.counit 1 = 1) (_ : ∀ (a b : A), Coalgebra.counit (a * b) = Coalgebra.counit a * Coalgebra.counit b)
Instances For
comulAlgHom R A
is the comultiplication of the R
-bialgebra A
, as an R
-algebra map.
Equations
- Bialgebra.comulAlgHom R A = AlgHom.ofLinearMap Coalgebra.comul (_ : Coalgebra.comul 1 = 1) (_ : ∀ (a b : A), Coalgebra.comul (a * b) = Coalgebra.comul a * Coalgebra.comul b)
Instances For
Every commutative (semi)ring is a bialgebra over itself
Equations
- One or more equations did not get rendered due to their size.