Skip to content

Commit a42f51f

Browse files
committed
(Coalgebra/Monoid): minor tinkering
1 parent 5154924 commit a42f51f

File tree

1 file changed

+15
-22
lines changed

1 file changed

+15
-22
lines changed

FLT/for_mathlib/Coalgebra/Monoid.lean

+15-22
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,18 @@ import Mathlib.RingTheory.HopfAlgebra
1111
/-!
1212
# Monoid structure on linear maps and algebra homomorphism
1313
14-
Let `A` be an `R`-coalgebra and `L` and `R`-algebra, then the set of `R`-linear maps `Hom(A, L)`
15-
can be endowed a monoid structure where
16-
- unit is defined as `A -counit-> R -algebraMap-> L`
17-
- multiplication is defined as `A -comul-> A ⊗ A -f ⊗ g-> L ⊗ L -multiplication-> L` for any linear
18-
maps `f` and `g`.
14+
Let `A` be an `R`-coalgebra and `L` an `R`-algebra. Then the set of `R`-linear maps `A →ₗ[R] L`
15+
from `A` to `L` can be endowed a monoid structure where:
1916
20-
Since `comul x = ∑ x ⊗ y` implies `(f * g) x = ∑ f(x) g(y)`, this multiplication is often called
17+
* the identity is defined as `A --counit--> R --algebraMap--> L`
18+
* multiplication `f * g` is defined as `A --comul--> A ⊗ A --f ⊗ g--> L ⊗ L --multiplication--> L`
19+
for R-linear maps `f` and `g`.
20+
21+
Since `comul x = ∑ yᵢ ⊗ zᵢ` implies `(f * g) x = ∑ f(yᵢ) g(zᵢ)`, this multiplication is often called
2122
convolution.
2223
23-
If furter `A` is an `R`-bialgebra, then the set of `R`-agelrab homomorphism `Hom(A, L)` can also
24-
be endowed with a monoid structure where multiplication is convolution and unit is the same in the
25-
linear case.
24+
If furthermore `A` is an `R`-bialgebra, then the subset of `R`-algebra morphisms `A →ₐ[R] L` from
25+
`A` to `L` is closed under the multiplication and is hence a submonoid.
2626
2727
## References
2828
* <https://en.wikipedia.org/wiki/Hopf_algebra>
@@ -35,13 +35,12 @@ open TensorProduct BigOperators LinearMap
3535

3636
section Coalgebra
3737

38+
-- Note that using an `abbrev` here creates a diamond in the case `A = L`, when there
39+
-- is already a multiplication on `A →ₗ[R] A`
40+
-- a multiplication, defined by composition.
3841
/--
39-
A linear point is a linear map from `A` to `L` where `A` is an `R`-colagebra and `L` an `R`-algebra.
40-
We introduce this abbreviation is to prevent instance clashing when we put a monnoid structure on
41-
these linear points with convolution product.
42-
43-
The confusion arise when we consider automorphism, for example `A →ₗ[R] A` already has a `mul` by
44-
composition.
42+
Let `A` be an `R`-coalgebra and `L` an `R`-algebra. An `L`-linear point of `A`
43+
is an `R`-linear map from `A` to `L`.
4544
-/
4645
abbrev LinearPoint (R A L : Type*)
4746
[CommSemiring R] [AddCommMonoid A] [Module R A]
@@ -53,12 +52,6 @@ namespace LinearPoint
5352
variable {R A L : Type*} [CommSemiring R] [AddCommMonoid A] [Module R A] [Coalgebra R A]
5453
variable [Semiring L] [Algebra R L]
5554

56-
instance : FunLike (LinearPoint R A L) A L :=
57-
inferInstanceAs <| FunLike (A →ₗ[R] L) A L
58-
59-
instance : LinearMapClass (LinearPoint R A L) R A L :=
60-
inferInstanceAs <| LinearMapClass (A →ₗ[R] L) R A L
61-
6255
variable (φ ψ χ : LinearPoint R A L)
6356

6457
/--
@@ -74,7 +67,7 @@ lemma mul_repr' {ι : Type* } (a : A) (ℐ : Finset ι) (Δ₁ Δ₂ : ι → A)
7467
simp only [mul, comp_apply, repr, map_sum, map_tmul, mul'_apply]
7568

7669
/--
77-
`A -counit-> R -algebraMap-> L` is the unit with respect to convolution product.
70+
`A --counit--> R --algebraMap--> L` is the unit with respect to convolution product.
7871
-/
7972
def one : LinearPoint R A L :=
8073
Algebra.linearMap R L ∘ₗ Coalgebra.counit

0 commit comments

Comments
 (0)