Restrict the square of Module 1 to linear layers. Write for a matrix . The definition becomes an equation on alone. That equation is the first half of “why sharing”: the legal weights are not an arbitrary matrix, they are the intertwiners of the two representations.

From the square to a matrix equation

Let and be representations in the sense of Definition 2.2. A linear layer is . Substitute into Definition 1.1.

Two linear maps that agree on every vector are equal, so the drops and one is left with an identity of operators.

Definition 3.1 (Intertwiner).

A linear map is a -intertwiner from to if

The vector space of all such maps is written .

Proposition 3.1 (Linear equivariance is the intertwiner condition).

Let be linear, and let be finite-dimensional representations of a group (over or ). The following are equivalent:

  1. is -equivariant in the sense of Definition 1.1;
  2. is a -intertwiner (Definition 3.1);
  3. the commuting square of Figure 1.1 holds with , for every .

The argument is one paragraph, and it is the whole content of the proposition.

Start from (1). Equivariance of is the statement for all . Both sides are linear in , and a linear map is determined by its values, so . That is (2). Conversely, (2) evaluated on an arbitrary is (1). Claim (3) is (1) drawn as a diagram rather than written as an equation.

No completeness, Haar measure, or compactness of enters. The equivalence is purely algebraic and holds for any group acting by invertible linear maps. Compactness will be used later, when one characterises which intertwiners arise as convolutions. It is not used to define an intertwiner.

Note 3.1 (Why finite-dimensional matters).

The proof never used more than “linear maps that agree on every vector are equal.” Infinite-dimensional feature spaces (function spaces before discretisation) need a topology before that sentence is justified. Every implemented layer is finite-dimensional, so Proposition 3.1 is the statement you use when writing code.

The design problem for a linear equivariant layer is therefore not “find a clever nonlinearity that respects geometry.” It is:

Parameterize without over- or under-counting degrees of freedom.

CNNs solve that problem for translations by sharing a small kernel. Module 4 shows that sharing is forced. This module shows what is being forced: membership in .

v W v rho_in(g) v W rho_in(g) v rho_in(g) rho_out(g) W W
Figure 3.1. The same square as Module 1, with matrices on the arrows. Equivariance is W rho_in(g) = rho_out(g) W.

A 2x2 rotation, three choices of W

Take acting on by the standard representation, and compare three linear maps. Let

Then .

Example 3.1 (Identity, isotropic scale, shear).

. Both paths give . The identity intertwines every representation with itself.

. Both paths give . Any scalar multiple of the identity intertwines an irrep with itself — Schur’s lemma in Module 7 says that, over , these are all the intertwiners of an irrep.

Shear . Then

The two paths disagree. A shear picks a preferred axis; a rotation moves that axis; the square fails.

Figure 3.1 is Figure 1.1 with matrices on the arrows. The residual is the numerical test these notes use throughout. It is zero (up to rounding) if and only if intertwines .

The figure applies a chosen and a rotation to a fixed vector. For isotropic the two arrows coincide at every angle. For a shear they split, and the residual is a positive number you can watch as moves.

Remark 3.1 (Hom_G is a vector space).

If and both satisfy , so does . The legal weights form a linear subspace of all matrices, not a nonlinear submanifold. Parameterising an equivariant linear layer is a linear algebra problem: find a basis of , then learn coefficients. Nonlinearities, treated in Module 8, are a different problem — they leave and must be checked from scratch.