Zulip Chat Archive

Stream: Is there code for X?

Topic: MonoidHom.quotient_ker_equiv_range


Violeta Hernández (Sep 10 2024 at 08:19):

We have a bunch of versions of the first isomorphism theorem, but is there one for docs#MonoidHom.ker ?

Antoine Chambert-Loir (Sep 10 2024 at 10:04):

Probably not because this is more subtle: the quotient has to be taken by the equivalence relation which is generated by f(x)=f(y) f(x)=f(y) .

Kevin Buzzard (Sep 10 2024 at 12:55):

Yes, the kernel isn't enough information to determine the image for monoids (for example if you give Fin n the monoid structure it should have, which is x+y=n-1 if in reality it's >= n-1) then the obvious map from Nat is surjective with trivial kernel.

Adam Topaz (Sep 10 2024 at 12:57):

We do have docs#Con

Adam Topaz (Sep 10 2024 at 12:57):

These are setoids which are "compatible with multiplication".

Adam Topaz (Sep 10 2024 at 12:59):

import Mathlib

example {α : Type*} [Monoid α] (S : Con α) : Monoid S.Quotient := inferInstance

Adam Topaz (Sep 10 2024 at 13:01):

That's essentially the only way to talk about quotients of monoids. You can take whatever relation you like and look at the congruence relation generated by it with docs#conGen and only then take the quotient.

Antoine Chambert-Loir (Sep 10 2024 at 14:21):

My earlier claim is that for good structures which have subtraction, the compatible equivalence relation generated by f(x)=f(y)f(x)=f(y) is determined by the class of the adequate zero/one element. But quotient_rel_equiv_range would work as well.
The analogue for semirings is missing too.

Violeta Hernández (Sep 10 2024 at 16:52):

I should specify that I am in fact working with groups

Violeta Hernández (Sep 10 2024 at 16:52):

But to my understanding MonoidHom is still the structure to be used

Violeta Hernández (Sep 10 2024 at 16:53):

Is there some theorem like Con.ker = MomoidHom.ker?

Adam Topaz (Sep 10 2024 at 16:58):

Oh, for groups everything works as you expect. You probably want to take a look around QuotientAddGroup.quotientKerEquivOfRightInverse

Eric Wieser (Sep 10 2024 at 17:23):

Violeta Hernández said:

We have a bunch of versions of the first isomorphism theorem, but is there one for docs#MonoidHom.ker ?

I'm confused, isn't docs#QuotientGroup.quotientKerEquivRange precisely what you're asking for?

Eric Wieser (Sep 10 2024 at 17:23):

Or did you mean to ask about docs#MonoidHom.mker, which seems to be what everyone is assuming you meant?

Violeta Hernández (Sep 10 2024 at 20:26):

Eric Wieser said:

Violeta Hernández said:

We have a bunch of versions of the first isomorphism theorem, but is there one for docs#MonoidHom.ker ?

I'm confused, isn't docs#QuotientGroup.quotientKerEquivRange precisely what you're asking for?

Ah, I think that's it

Violeta Hernández (Sep 10 2024 at 20:27):

That's quite an annoying naming discrepancy, I was finding all the versions of this theorem except for this one

David Ang (Sep 10 2024 at 22:15):

I think that's because the isomorphism theorems for groups were the first ones written, back when there were no naming convention for these things? I found it annoying too, and it would be great if someone makes them consistent.


Last updated: May 02 2025 at 03:31 UTC