Decomposing representations: a slice of computational group theory
2020-04-19
For my Master's degree, I (helped greatly by my supervisor) implemented some algorithms and even invented some new algorithms to decompose representations of finite groups. I wrote an extremely long (well, relative to other things I've written) and technical thesis about this, but I find myself increasingly unable to understand what any of it means or why I even have a degree.
I thought being forced into a short-form blog post would help me remember whatever it is I spent a few years studying to do. There are some foundational questions:
- What is a group?
- What is a representation?
- What is a decomposition of a representation?
And some more interesting questions, involving some computational tricks relevant to a wider audience:
- Why is this useful?
- How do you get a computer to do it?
- How do you get a computer to do it, quickly?
These are the questions I'll attempt to answer in this blog post. It'll be fun!
What is a group?
Any undergraduate mathematician should know this, but if you don't do algebra and need a refresher, read the Wikipedia page). For non-mathematicians, a group is:
A set
(for example, the real numbers or the rational numbers)With a binary operation
(like addition or multiplication) which takes two elements of and gives you another element ofSuch that
is associative, meaning bracketing doesn't matter - . True for multiplication or addition, but NOT for subtractionSuch that
has an identity element with respect to - an element such that applying it with does nothing, like multiplying by 1 or adding 0Such that elements of
all have inverses with respect to , meaning any element has another element such that combining them with gives the identity. For addition, the inverse of is . For multiplication, it's .
Examples of groups include the real numbers
There are also finite examples, like the set
What is a representation?
A representation
"Linear automorphism" is a coordinate-independent way of saying
"invertible matrix". So you can rephrase the definition of a
representation as a map from a group
Sue me if you don't like it, but you'll never get your vector space into a computer without picking a basis, meaning you are forced to think of linear maps as matrices.
What is a decomposition of a representation?
An irreducible representation is a representation that doesn't have
any subrepresentations. What does that mean? We could go through the
definitions, but for complex representations of finite groups,
irreducible means indecomposable: you can't write the representation
as a direct sum of other representations. That is the same thing as
saying you can't simultaneously block diagonalise all
Now that the basics are out of the way, we can ask an interesting question:
Why is this useful?
Irreducible representations come up in all sorts of places:
Solving problems in quantum chemistry involving symmetries (oh, hello
)Solving completely computationally intractable optimization problems by spotting interesting symmetries (
again?), then reducing themTurning groups into linear algebra, then studying them through how their representations behave (this is just a vague statement encompassing all of representation theory)
Anything with symmetries probably has something to do with groups and thus, something to do with representations.
I keep mentioning
Sadly, physicists are interested in infinite groups and in particular,
Lie groups. You might have heard of the Lorentz group
I say "sadly" because my algorithms are not directly applicable to those cases, since they're too continuous to fit inside my poor computer. It's very happy that there is such strong motivation to study Lie groups coming from physics, but my work isn't really relevant there.
How do you get a computer to compute a decomposition?
The first question to ask is: how do you do it by hand?
Let's say we have a finite group
If you already have the complete list of irreducible representations
of
Where anything not labelled above is zero. This is easy for some small
groups. For example, if you have the representation of
It's easy to spot this is given by two
Here's the dirty trick. Define
This gives rise to this simple algorithm:
List all irreps of
using e.g. Dixon's algorithm (IrreducibleRepresentationsDixonin GAP)Put them together in all possible ways adding up to the correct matrix dimension.
Compute all of the characters - there will be exactly one matching the character of
, that's your decomposition!
This involves a lot of listing and trial and error - it is highly inefficient and intractable for even small groups and small representations.
Even ignoring efficiency, this tells you the decomposition up to
isomorphism. Telling you the basis change from
How do you get a computer to compute it, quickly?
I (and my supervisor) came up with a bag of tricks to speed up the computation by taking advantage of some extra information that's usually available.
Trading space for speed
Let's say we have two representations
We're looking for a matrix
If we say that
Even better, the projection from
This is where the key speed gain is: we can use the summation trick
from before. The sacrifice is that the matrices
Be lazy where possible to get the space back
We don't actually care what the matrices
Even better, you can pick a random
So in the end we don't need to ever compute the matrices
The tensor product has the neat property that
So we have ended up with a formula for
Since we still have to do matrix multiplications many times, this
whole algorithm is still at least
One thing to mention is that the independence of the run time from
Hopefully this has been some kind of insight into what computational representation theory might involve. Take a look at the source code for the gritty details.
What did you gloss over?
There's one huge thing I haven't explained. Have you guessed what it is?
You can't represent
But why is that good enough? Is multiplication still constant time? Was it ever constant time?
I'll answer these questions at some point.