Zulip Chat Archive
Stream: Is there code for X?
Topic: Universal Algebra
Marcus Rossel (Dec 29 2022 at 20:38):
Is there a notion of an algebra in mathlib that matches this?:
More specifically I'm actually looking for this notion of an algebra being freely generated:
Eric Wieser (Dec 29 2022 at 20:46):
Do you have a reference for this? Searching for "sigma algebra" finds σ not Σ
Marcus Rossel (Dec 29 2022 at 20:46):
@Eric Wieser https://arxiv.org/abs/2212.05529
Eric Wieser (Dec 29 2022 at 20:48):
I think you probably need 2.6.1 in your screenshot too
Marcus Rossel (Dec 29 2022 at 20:49):
I've updated it accordingly.
Eric Wieser (Dec 29 2022 at 20:59):
this looks to me like the model_theory stuff, perhaps starting with docs#first_order.language
Adam Topaz (Dec 29 2022 at 21:03):
We have had many MANY discussions about universal algebra
Adam Topaz (Dec 29 2022 at 21:04):
And yes one way to model this is using model theory
Adam Topaz (Dec 29 2022 at 21:05):
We don't have any free stuff in mathlib, but take a look at www.github.com/adamtopaz/univalg
Martin Dvořák (Dec 29 2022 at 21:07):
If we do more computer science in Lean, universal algebra will come really handy!
(apart from wanting to have the math for its own sake)
Kevin Buzzard (Dec 29 2022 at 22:39):
I'll advertise my former MSc student @Joseph Hua whose masters thesis was a lean 3 formalisation of the model theory proof of the Ax-Grothendieck theorem.
Pedro Sánchez Terraf (Dec 30 2022 at 14:36):
Just for reference: Trendy stuff in universal algebra includes the Constraint Satisfaction Problem (related to P vs NP, one important paper here settling a conjecture) and tame congruence theory (leading to this JAMS paper). Another nice piece of math is commutator theory, which provides vast generalizations of results that were only known for groups and rings (see here, for example).
David Wärn (Dec 30 2022 at 15:43):
I think much of the value in formalising universal algebra would come from proving relatively basic results about varieties (e.g. existence of (co)limits and creation of filtered colimits) and making sure they can be transferred to classes in mathlib's algebraic hierarchy. This would save us from having to reprove each result for each class
Last updated: Dec 20 2023 at 11:08 UTC