Zulip Chat Archive
Stream: mathlib4
Topic: CommGroup from CommGroupWithZero
Matthew Ballard (Jun 27 2024 at 17:05):
Does this really fail?
import Mathlib
variable {α : Type*} [CommGroupWithZero α]
#synth CommGroup α
Jireh Loreaux (Jun 27 2024 at 17:09):
Sure? zero is not invertible.
Matthew Ballard (Jun 27 2024 at 17:09):
Oh duh!
Johan Commelin (Jun 27 2024 at 19:26):
I wish we had a better name for this concept
Johan Commelin (Jun 27 2024 at 19:26):
This is just the miserable name that I came up with when we needed this in the perfectoid project
Damiano Testa (Jun 27 2024 at 19:35):
If #synth
said "could not find an inverse for zero", everything would be clearer...
Thomas Murrills (Jun 27 2024 at 19:45):
Johan Commelin said:
I wish we had a better name for this concept
I feel like this is pretty descriptive as names go! I guess the problem is that With
connotes that what you have is still a CommGroup
. Maybe a different word would show that its nature is potentially altered, e.g. something in the spirit of CommGroupAdjoinZero
.
Eric Wieser (Jun 27 2024 at 20:00):
With
is perfect terminology insofar as CommGroup G
implies CommGroupWithZero (WithZero G)
Jireh Loreaux (Jun 27 2024 at 21:36):
personally, I think this name is fine.
Johan Commelin (Jun 28 2024 at 06:43):
We also have AddMonoidWithOne
, and that one does imply AddMonoid
...
Johan Commelin (Jun 28 2024 at 06:43):
And AddMonoid M
does not imply AddMonoidWithOne (WithOne M)
afaict
Damiano Testa (Jun 28 2024 at 09:43):
CommGroupButWithZero
:smile:
Ruben Van de Velde (Jun 28 2024 at 09:43):
NotCommGroupWithZero?
Damiano Testa (Jun 28 2024 at 09:48):
Where are the parentheses in NotCommGroupWithZero
? :smile:
Edward van de Meent (Jun 28 2024 at 09:53):
CommRingWithoutAdd
Damiano Testa (Jun 28 2024 at 10:01):
As much as I am amused by the suggestions, I think that the names GroupWithZero
and MonoidWithZero
are fine, actually, even though they use "different" meanings of "with".
Matthew Ballard (Jun 28 2024 at 10:11):
NB: my brain was turned off when I started this thread.
Damiano Testa (Jun 28 2024 at 10:19):
Matthew Ballard said:
NB: my brain was turned off when I started this thread.
That's how I feel in most threads.
Eric Wieser (Jun 28 2024 at 20:42):
C0mmGr0up
/ AddMono1d
could replace CommGroupWithZero
/ AddMonoidWithOne
Kevin Buzzard (Jun 29 2024 at 07:59):
Matthew Ballard said:
NB: my brain was turned off when I started this thread.
I remember when I had three kids including a 3-week-old too:-)
Last updated: May 02 2025 at 03:31 UTC