Theorem 1 (forward direction): every G-CNN is G-equivariant
ProvedEquivarianceConvolution.gcnn_is_equivariantLet be a finite group and let be an -layer feed-forward network whose -th index set is for subgroups , with activations in and arbitrary pointwise nonlinearities. If is a -CNN, then it is -equivariant: for every and input , replacing by replaces every activation , , by . Here a -CNN is one in which every linear map is with a filter on .
This is the "if" direction of Theorem 1, proved on p. 7 of the paper.
import Mathlib import Definitions.Def_EquivarianceConvolution_Basic open scoped BigOperators
namespace EquivarianceConvolution
theorem gcnn_is_equivariant {G : Type*} [Group G] [Fintype G] (H : ℕ → Subgroup G)
{d : ℕ → ℕ} (L : ℕ) (N : FeedForwardNet (fun l => G ⧸ H l) d) (hN : IsGCNN H L N) :
IsEquivariantNet G L N := by sorry
end EquivarianceConvolutionRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
Let be a finite group. The statement fixes the following data:
- an infinite sequence of subgroups of , indexed by , with no relation assumed between different ;
- a sequence of natural numbers (any may be );
- a natural number , which may be ;
- a "feed-forward network" whose -th layer is indexed by the left coset space , with values in .
The network. Concretely, consists of two families, one entry for every , not only :
- a -linear map
- an arbitrary function . No continuity, linearity, or other condition is imposed on .
Given an input , the activations are defined recursively by
So is applied pointwise after .
The group action on layers. acts on each by left multiplication, . This induces an action on functions :
Hypothesis (the network is a -CNN). For every with , there exists a matrix-valued function
with two properties:
- Double-coset invariance: for all , and .
- Convolution formula: for every and every ,
Here the product is the matrix–vector product. The equation is required for every representative , so the right-hand side must take the same value on all in a given coset .
No condition is imposed on for . No condition is imposed on any . When the hypothesis is vacuous.
Conclusion (the network is -equivariant up to depth ). For every , every input , and every with , the -th activation computed from the translated input equals the translate of the -th activation computed from :
Edge cases.
- For , the conclusion reads .
- When , the hypothesis is empty and the conclusion concerns only .
- The conclusion says nothing about layers beyond .
- The conclusion involves only and .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.