Left Cosets on Groups
I met Aryan Pahwani at the Hacktron AI x Secure Sips – Breaking & Building AI Meetup, who is really fucking chill, and yet very motivated and relentless. Check out his site by clicking on his name.
He asked me about left cosets on groups. I am terrible at explaining, and want to get better. This is a nice little self-contained blog/note. A little experience with proof-based math, sets, and functions is enough. Or, you can always raw-dog it and look up things along the way.
Note: I use the word function and map interchangeably, sometimes transform too. They all mean the same thing.
Whenever I write the product of two elements in a group
When I put a (why?), I implore the reader to pause and think, to justify the statement preceding it.
Let
Imagine the elements of
A person
or on the right:
in the sense that
Both are
There are some rules however:
Rule 1. Closure
Whenever one person acts on another, the result is still a person in the same society.
- Left:
- Right:
Rule 2. Identity
There is a special person
He is the only one who does not like changing people.
By symmetry, when other people act on him, they do not change—but he becomes them.
- Left:
- Right:
Rule 3. Associativity
Suppose
Then
ie:
Rule 4. Inverses
Every person
- Left:
- Right:
Okay, now.
Left cosets
Take and fix a person
Formally, the left coset map of
The first question: will the action of
That is, can it ever be that
Well, pluck out the transformed person
Then we have
That is,
But when
Would you look at that. When our guy
Now,
So he has a devious plan (this is so fucked up lmao): he realizes that if he can find someone else
Can he do this?
That is, does there exist
From now on I will slowly dilute the weird people metaphor.
And by associativity and blah blah blah… (the reader is implored to solve the equation or fill the intermediate step(s)) we have
Now we notice that the specificity of creepy
If
What a terrible guy
The above two arguments formally tell us that the left coset map of
Group homomorphisms and isomorphisms
Let
If I take an arbitrary function
If we strip away the operators on
So if our group is a set with added structure, our map
Using the people metaphor again: imagine
To respect the action between people in
and that this should be the same as
That is: if two people in
Formally,
if for each
You, the reader, I implore you to prove these small but powerful statements (or just sketch them in your head and move on; the proofs are very straightforward):
- Prove that for any group
, there is one and only one element for which (which element is this?). - Prove that if
is a group homomorphism, then (homomorphism takes identity to identity). - Prove that
. That is, inverting an element and then taking is the same as first taking and then inverting the result in . - Prove that if
and are both group homomorphisms, then the composed map is also a group homomorphism.
Now, an isomorphism is just a bijective homomorphism.
It’s like each person
Back to left coset maps. We will now completely abandon the people metaphor and just do math.
As a note: the people metaphor is not meant to be patronizing, it’s just a fun way to think about it (at least I think). I have no doubt in your capacity to do abstract and formal math, and get intuition on your own, whoever you are. But a spoonful of sugar makes the medicine go down better, and math is medicine.
Denote
We have a set now, and we are studying groups… so can we make this into a group?
What operator do we choose on
The obvious choice is function composition.
That is, if
Okay, what does this look like? What is
Well—it’s just
What identity do we pick? Obviously
In fact,
What is the inverse of
And of course, function composition is associative, so our operator here is associative too. And voila—we have a group.
Out of curiosity, let us make a map
i.e.
First, obviously, this
Now, what is
Well, it’s
Thus indeed, writing the equation with emphasis on which group’s product:
Wow! So
So the set of left coset maps of
I will leave the reader with a warning and an optional exercise.
A left coset map is NOT a homomorphism.
Let
Optional exercise:
Let
- What happens when you take an element inside
, call it , and construct the set of left coset maps ? - What if you extend the domain of
, allowing inputs from all of : ? Is this map even well defined? That is, for every , does lie in ? - What if we extend the range instead: restrict inputs to
but output to all of : ? - Finally, what if we extend both domain and target sets:
?
For the above, the rule
- when the map is well defined,
- when we have homomorphisms,
- when we have isomorphisms,
- what happens if
is special (e.g. abelian), - what if
has special properties?
I really encourage the reader to explore such ideas, which is why the problems are vague. The best way to learn math is to generate it, rather than just read it. Be sound in logic, allow your mind to come up with whatever ideas it wants, and know there is a comfortable bed of sound mathematical logic to fall back into—to test ideas, build counterexamples, and so on.
Thank you for reading :)
Closing remarks
Yes, I did give chatGPT this note, but only to fix grammar, spacing and slight readability, the words ARE MINE AND WILL ALWAYS BE LIKE THAT, I ran multiple prompts with very specific instructions to not change my words. And hence a few em dashes crept in. I think they are tasteful here, so I'll leave them in. So don't be that guy who sees an em dash or two and immediately jump to the conclusion that is "AI slop". Also, the people metaphor and the creepy