Zulip Chat Archive
Stream: new members
Topic: Hochschild (co)homology
Sarah El Boustany (Nov 19 2025 at 15:45):
Hi! I am currently trying to formalize Hochschild homology and cohomology. For this, I need the notion of enveloping algebra. I see that it is already present in mathlib in the setting of Lie algebras. I would like to use it in a more general setting. What would be the best way to go about this?
Kevin Buzzard (Nov 19 2025 at 16:11):
Can you clarify what you mean by "more general setting"? I think that might be a good way to start. We might have what you are looking for already.
Sarah El Boustany (Nov 19 2025 at 16:26):
I would like to look at the enveloping algebra of a -algebra with a commutative ring.
Joël Riou (Nov 19 2025 at 17:41):
Out of context, I am afraid this is not specific enough. Is there a precise definition in references like https://ncatlab.org/nlab/show/HomePage ?
Kevin Buzzard (Nov 19 2025 at 17:45):
What is the definition (in maths) of this enveloping algebra? It seems that "enveloping algebra" can mean several things.
Edison Xie (Nov 20 2025 at 01:17):
Sarah El Boustany said:
I would like to look at the enveloping algebra of a -algebra with a commutative ring.
are you talking about A ⊗[k] Aᵐᵒᵖ ?
Sarah El Boustany (Nov 20 2025 at 09:58):
Yes, that is the one. I'm using the definition on page 2 of Sarah Witherspoon's book https://people.tamu.edu/~sjw/pub/gsm204.pdf
Sarah El Boustany (Nov 20 2025 at 09:59):
ncatlab has this definition https://ncatlab.org/nlab/show/enveloping+algebra but it's even more general than what I am looking at.
Sarah El Boustany (Nov 20 2025 at 10:06):
Here is a quote from Witherspoon's book with the definition.
For now, let be a commutative associative ring (with 1), and let be a -algebra. That is, is an associative ring (with multiplicative identity) that is also a -module for which multiplication is a -bilinear map. Denote the multiplicative identity of also by 1, identified with the multiplicative identity of via the unit map given by for all . Denote by the opposite algebra of ; this is as a module over , with multiplication for all . Tensor products will often be taken over , and unless otherwise indicated, . Let , with the tensor product multiplication: for all . (Technically, we are really taking to be elements of , but since the underlying -modules are the same, we write where convenient.) We call the enveloping algebra of
Joël Riou (Nov 20 2025 at 12:01):
For the iterated tensor products which appear in the definition of Hochschild (co)homology, it may be possible to use the work by @Robin Carlier (not in mathlib). Alternatively, we have the notion of tensor product of a family of modules docs#PiTensorProduct
In any case, it seems that the formalization will be more intricate as compared to the formalization of the standard resolutions which appear in the context of group (co)homology.
Sarah El Boustany (Nov 20 2025 at 12:04):
Thank you, I will look into this, I'm sorry it took me a while to provide enough details
Robin Carlier (Nov 20 2025 at 12:13):
I would be glad to upstream the code linked here if needed, though I admitedly have not so much time for this particular project right now (I might need a few weeks at least, but I most certainly will come back to this since I’m tackling the symmetric case).
As a "fun story": the entire genesis of that "coherence/infinity-operads"-project was that I wanted (and still want) to have general "bar resolutions" that describes "relative tensor products" in general monoidal categories (and also, the case of endofunctors, which should give the "bar resolutions" for a monad, which is a nice abstract framework that gives a lot of "standard resolutions", not only for group cohomology but also e.g for simplicial rings etc.).
That being said, a lot of this is made easier (in mathlib) in the case of modules, k-algebras etc because there is no need (a priori) to invoke general theorems like this to at least write the iterated tensor products. The faces and degeneracies of the simplicial resolutions are an other story though, and I expect that to be involved.
Joël Riou (Nov 20 2025 at 12:23):
As far as I understand, the faces and degeneracies will be mostly given by the unit and the multiplication in the algebra A. Thanks to @Robin Carlier's work again, it would be possible to define simplicial operations by using a presentation of the simplex category by generators and relations #25740 (probably in mathlib in a relatively near future). But I agree that the verification of the relations will probably be quite involved.
Robin Carlier (Nov 20 2025 at 12:27):
Right, I also need to take the time to fix that project as well :sweat_smile: This should provide some incentive for fixing this.
Robin Carlier (Nov 20 2025 at 12:31):
(everything is indeed given by units and multiplications, but in general monoidal categories the difficulty is that you a priori have to add a whole mess of unitors and associators to make things work out, but in the explicit case of "honests" modules and algebras, there are probably shortcuts just like there are shortcuts to the iterated tensor products)
Sarah El Boustany (Nov 20 2025 at 15:42):
Thank you all very much, I will look into this, and come back later if I have other questions.
Last updated: Dec 20 2025 at 21:32 UTC