Coset sections, Mackey functions, induced representations and equivariant kernel spaces , ,
DefinitionEquivariantHomogeneous_BasicObjects of Sections 2-3 and Appendices A-B of Cohen, Geiger and Weiler (2019).
- Coset sections and the -function. is a group and a subgroup; is the space of left cosets , with the left action . A section is a map with , normalised by (eq. (16)). The -function is (eq. (19)), and (eq. (25)).
- Fields. is a real vector space carrying a representation of . The Mackey functions are the with for all , (eq. (1)); they form a subspace . Functions form . The lifting map is , with (eq. (2)).
- Induced representations. On , (eq. (3)). On , (eq. (4)).
- Equivariant maps and correlation. For subgroups with representations , is the set of linear maps with for all . For a finite group with counting (Haar) measure, the cross-correlation of with is (eq. (7)). The integral over is (eq. (34)).
- Kernel spaces. is the set of with (eq. (8)). is the set of with (eq. (9)). The kernel lifting is (eq. (10)).
- Double cosets. is the set of double cosets , and picks a representative of each. The -orbit of is the double coset . For in the stabilizer , (eq. (13)). is the set of with for all and all (eq. (12)). Then (eq. (41)), and for some with (eq. (43)).
Formalization Note Sums over a finite group replace the paper's Haar integrals; the counting measure is the Haar measure of a discrete group (Appendix A.3). The section is global: is discrete, so the whole of is a trivialising neighbourhood. In eq. (4) the paper prints , which in the paper's own argument order is . In the element is chosen by Hilbert's ; the double coset is computed from a chosen representative of . uses the first expression in eq. (13), which is the one the proof uses.
import Mathlib
/-!
Cohen, Geiger and Weiler, *A General Theory of Equivariant CNNs on Homogeneous Spaces*,
arXiv:1811.02017v2 (NeurIPS 2019): coset sections and the `h`-function (Section 2.2 and
Appendix A), Mackey functions, local sections, the lifting isomorphism and the induced
representations (Sections 2.3-2.4), equivariant maps, cross-correlation and the kernel spaces
`K_G`, `K_C`, `K_D` (Section 3, Appendix B), double cosets (Appendix A.1) and the integral over
`G/H` (Appendix A.3, eq. (34)).
Integrals over `G` are taken against the counting measure of a finite group (the Haar measure
of a discrete group, Appendix A.3), so they are finite sums.
-/
noncomputable section
namespace EquivariantHomogeneous
variable {G : Type*} [Group G]
/-- Appendix A, eq. (16) and Section 2.2: a section `s : G/H → G` of the projection
`p : G → G/H`, `p ∘ s = id`, i.e. a choice of coset representatives, normalised by `s(H) = e`
(the paper's standing assumption, eq. (16)). -/
structure CosetSection (H : Subgroup G) where
/-- The coset representative `s(x)` of `x ∈ G/H`. -/
toFun : G ⧸ H → G
/-- `s(x) ∈ x`, i.e. `p(s(x)) = x`. -/
mk_toFun : ∀ x : G ⧸ H, (QuotientGroup.mk (toFun x) : G ⧸ H) = x
/-- `s(H) = e` (eq. (16)). -/
toFun_one : toFun (QuotientGroup.mk (1 : G)) = 1
/-- Section 2.2 and Appendix A, eq. (19): the function `h : G/H × G → H`,
`h(x, g) = s(gx)⁻¹ g s(x)`, defined by `g s(x) = s(gx) h(x, g)` (eq. (18)). -/
def hfun {H : Subgroup G} (s : CosetSection H) (x : G ⧸ H) (g : G) : H :=
⟨(s.toFun (g • x))⁻¹ * g * s.toFun x, by
have hx := s.mk_toFun x
rw [mul_assoc, ← QuotientGroup.eq, s.mk_toFun]
show g • x = g • (QuotientGroup.mk (s.toFun x) : G ⧸ H)
rw [hx]⟩
/-- Section 2.3.2 and Appendix A, eq. (25): `h(g) = h(H, g) = s(gH)⁻¹ g ∈ H`. -/
def hElem {H : Subgroup G} (s : CosetSection H) (g : G) : H :=
hfun s (QuotientGroup.mk (1 : G)) g
section Fields
variable {H : Subgroup G} {V : Type*} [AddCommGroup V] [Module ℝ V]
/-- Section 2.3.1, eq. (1): the space `I_G` of Mackey functions, i.e. functions `f : G → V`
with `f(gh) = ρ(h⁻¹) f(g)` for all `g ∈ G`, `h ∈ H`. -/
def mackey (ρ : Representation ℝ H V) : Submodule ℝ (G → V) where
carrier := {f | ∀ (g : G) (h : H), f (g * (h : G)) = ρ h⁻¹ (f g)}
add_mem' := by
intro a b ha hb g h
simp [ha g h, hb g h]
zero_mem' := by
intro g h
simp
smul_mem' := by
intro c a ha g h
simp [ha g h]
/-- Section 2.3.2, eq. (2): the lifting map `Λ : I_C → I_G`,
`[Λ f](g) = ρ(h(g)⁻¹) f(gH)`, from functions on `G/H` (sections over the whole of `G/H`, the
trivialising neighbourhood being all of `G/H` here) to functions on `G`. -/
def liftSection (s : CosetSection H) (ρ : Representation ℝ H V) (f : G ⧸ H → V) : G → V :=
fun g => ρ (hElem s g)⁻¹ (f (QuotientGroup.mk g))
/-- Section 2.3.2, eq. (2): the inverse lifting map `[Λ⁻¹ f'](x) = f'(s(x))`. -/
def unliftSection (s : CosetSection H) (f' : G → V) : G ⧸ H → V :=
fun x => f' (s.toFun x)
/-- Section 2.4, eq. (3): the induced representation on `I_G`, `[π_G(g) f](k) = f(g⁻¹ k)`. -/
def indG (g : G) (f : G → V) : G → V :=
fun k => f (g⁻¹ * k)
/-- Section 2.4, eq. (4): the induced representation on `I_C`,
`[π_C(g) f](x) = ρ(h(x, g⁻¹)⁻¹) f(g⁻¹ x)`. The paper prints the first factor as
`h(g⁻¹, x)`; since `h` takes its arguments in the order `(x, g) ∈ G/H × G` (eq. (19)), this is
`h(x, g⁻¹)`. -/
def indC (s : CosetSection H) (ρ : Representation ℝ H V) (g : G) (f : G ⧸ H → V) :
G ⧸ H → V :=
fun x => ρ (hfun s x g⁻¹)⁻¹ (f (g⁻¹ • x))
end Fields
section Kernels
variable {H₁ H₂ : Subgroup G} {V₁ V₂ : Type*} [AddCommGroup V₁] [Module ℝ V₁]
[AddCommGroup V₂] [Module ℝ V₂]
/-- Section 3: the space `H = Hom_G(I¹, I²)` of linear maps `Φ : I_G¹ → I_G²` between spaces of
Mackey functions that are equivariant, `Φ π₁(u) = π₂(u) Φ` for all `u ∈ G`. -/
def equivariantMaps (ρ₁ : Representation ℝ H₁ V₁) (ρ₂ : Representation ℝ H₂ V₂) :
Set (mackey ρ₁ →ₗ[ℝ] mackey ρ₂) :=
{Φ | ∀ (u : G) (f f' : mackey ρ₁), (f' : G → V₁) = indG u (f : G → V₁) →
((Φ f' : mackey ρ₂) : G → V₂) = indG u ((Φ f : mackey ρ₂) : G → V₂)}
/-- Section 3, eq. (7): the cross-correlation `[κ ⋆ f](g) = ∫_G κ(g⁻¹ g') f(g') dg'` with a
one-argument kernel `κ : G → Hom(V₁, V₂)`, for the counting (Haar) measure of a finite group. -/
def corr [Fintype G] (κ : G → V₁ →ₗ[ℝ] V₂) (f : G → V₁) : G → V₂ :=
fun g => ∑ g' : G, κ (g⁻¹ * g') (f g')
/-- Theorem 3.2, eq. (8): the space `K_G` of bi-equivariant kernels,
`κ(h₂ g h₁) = ρ₂(h₂) κ(g) ρ₁(h₁)` for all `g ∈ G`, `h₁ ∈ H₁`, `h₂ ∈ H₂`. -/
def kernelsG (ρ₁ : Representation ℝ H₁ V₁) (ρ₂ : Representation ℝ H₂ V₂) :
Set (G → V₁ →ₗ[ℝ] V₂) :=
{κ | ∀ (g : G) (h₁ : H₁) (h₂ : H₂),
κ ((h₂ : G) * g * (h₁ : G)) = (ρ₂ h₂).comp ((κ g).comp (ρ₁ h₁))}
/-- Theorem 3.3, eq. (9): the space `K_C` of left-equivariant kernels on `G/H₁`,
`κ⃖(h₂ x) = ρ₂(h₂) κ⃖(x) ρ₁(h₁(x, h₂)⁻¹)` for all `h₂ ∈ H₂`, `x ∈ G/H₁`, where `h₁` is the
`h`-function of the section `s₁` of `G → G/H₁`. -/
def kernelsC (s₁ : CosetSection H₁) (ρ₁ : Representation ℝ H₁ V₁)
(ρ₂ : Representation ℝ H₂ V₂) : Set (G ⧸ H₁ → V₁ →ₗ[ℝ] V₂) :=
{κ | ∀ (h₂ : H₂) (x : G ⧸ H₁),
κ ((h₂ : G) • x) = (ρ₂ h₂).comp ((κ x).comp (ρ₁ (hfun s₁ x h₂)⁻¹))}
/-- Proof of Theorem 3.3, eq. (10): the lifting map for kernels `Λ_K : K_C → K_G`,
`κ(g) = κ⃖(gH₁) ρ₁(h₁(g))`. -/
def liftKernel (s₁ : CosetSection H₁) (ρ₁ : Representation ℝ H₁ V₁)
(κ : G ⧸ H₁ → V₁ →ₗ[ℝ] V₂) : G → V₁ →ₗ[ℝ] V₂ :=
fun g => (κ (QuotientGroup.mk g)).comp (ρ₁ (hElem s₁ g))
/-- Appendix A.1: a choice of double coset representatives `γ : H₂\G/H₁ → G`,
`γ(H₂ g H₁) ∈ H₂ g H₁`. -/
structure DoubleCosetSection (H₂ H₁ : Subgroup G) where
/-- The representative `γ(x)` of the double coset `x`. -/
toFun : DoubleCoset.Quotient (H₂ : Set G) (H₁ : Set G) → G
/-- `γ(x) ∈ x`. -/
mk_toFun : ∀ x, DoubleCoset.mk H₂ H₁ (toFun x) = x
/-- Appendix A.1: the `H₂`-orbit `H₂ y ∈ H₂\G/H₁` of a coset `y ∈ G/H₁`, i.e. the double coset
`H₂ g H₁` of any `g` with `y = gH₁`. -/
def dcOf (H₂ H₁ : Subgroup G) (y : G ⧸ H₁) : DoubleCoset.Quotient (H₂ : Set G) (H₁ : Set G) :=
DoubleCoset.mk H₂ H₁ (Quotient.out y)
/-- Theorem 3.4, eq. (13): the representation `ρ₁ˣ(h) = ρ₁(h₁(γ(x)H₁, h))` of the stabilizer
`H₂^{γ(x)H₁} = {h ∈ H₂ | h γ(x) H₁ = γ(x) H₁}`; the formula is evaluated at every `h ∈ G`
and is only used for `h` in the stabilizer. -/
def rhoStab (s₁ : CosetSection H₁) (γ : DoubleCosetSection H₂ H₁)
(ρ₁ : Representation ℝ H₁ V₁) (x : DoubleCoset.Quotient (H₂ : Set G) (H₁ : Set G))
(h : G) : V₁ →ₗ[ℝ] V₁ :=
ρ₁ (hfun s₁ (QuotientGroup.mk (γ.toFun x)) h)
/-- Theorem 3.4, eq. (12): the space `K_D` of kernels `κ̄ : H₂\G/H₁ → Hom(V₁, V₂)` with
`κ̄(x) = ρ₂(h) κ̄(x) ρ₁ˣ(h)⁻¹` for all `x ∈ H₂\G/H₁` and `h ∈ H₂^{γ(x)H₁}`. -/
def kernelsD (s₁ : CosetSection H₁) (γ : DoubleCosetSection H₂ H₁)
(ρ₁ : Representation ℝ H₁ V₁) (ρ₂ : Representation ℝ H₂ V₂) :
Set (DoubleCoset.Quotient (H₂ : Set G) (H₁ : Set G) → V₁ →ₗ[ℝ] V₂) :=
{κ | ∀ x (h : H₂), (h : G) • (QuotientGroup.mk (γ.toFun x) : G ⧸ H₁) =
QuotientGroup.mk (γ.toFun x) →
κ x = (ρ₂ h).comp ((κ x).comp (ρ₁ (hfun s₁ (QuotientGroup.mk (γ.toFun x)) h)⁻¹))}
/-- Appendix B.2, eq. (41): the map `Ω_K⁻¹ : K_C → K_D`, `κ̄(x) = κ⃖(γ(x)H₁)`. -/
def restrictKernel (γ : DoubleCosetSection H₂ H₁) (κ : G ⧸ H₁ → V₁ →ₗ[ℝ] V₂) :
DoubleCoset.Quotient (H₂ : Set G) (H₁ : Set G) → V₁ →ₗ[ℝ] V₂ :=
fun x => κ (QuotientGroup.mk (γ.toFun x))
/-- Appendix B.2, eq. (43): the map `Ω_K : K_D → K_C`,
`κ⃖(y) = ρ₂(h) κ̄(H₂y) ρ₁(h₁(γ(H₂y)H₁, h))⁻¹`, where `h ∈ H₂` is some element (chosen here by
`Classical.epsilon`) with `y = h γ(H₂y) H₁`. -/
def extendKernel (s₁ : CosetSection H₁) (γ : DoubleCosetSection H₂ H₁)
(ρ₁ : Representation ℝ H₁ V₁) (ρ₂ : Representation ℝ H₂ V₂)
(κ : DoubleCoset.Quotient (H₂ : Set G) (H₁ : Set G) → V₁ →ₗ[ℝ] V₂) (y : G ⧸ H₁) :
V₁ →ₗ[ℝ] V₂ :=
haveI : Nonempty H₂ := ⟨1⟩
let x := dcOf H₂ H₁ y
let h : H₂ := Classical.epsilon fun h : H₂ =>
y = (h : G) • (QuotientGroup.mk (γ.toFun x) : G ⧸ H₁)
(ρ₂ h).comp ((κ x).comp (ρ₁ (hfun s₁ (QuotientGroup.mk (γ.toFun x)) h)⁻¹))
end Kernels
/-- Appendix A.3, eq. (34): the integral over `G/H` defined through the integral over `G`,
`∫_{G/H} f(x) dx = ∫_G f(gH) dg`, for the counting (Haar) measure of a finite group. -/
def quotientIntegral [Fintype G] {M : Type*} [AddCommMonoid M] (H : Subgroup G)
(f : G ⧸ H → M) : M :=
∑ g : G, f (QuotientGroup.mk g)
end EquivariantHomogeneous
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Standing conventions. Throughout, is an arbitrary group. It may be infinite, and it carries no topology or measure, except in the two declarations that explicitly assume is finite. For a subgroup :
- is the set of left cosets .
- acts on by left multiplication, .
- , , denote real vector spaces with no finiteness, norm or inner-product assumptions.
- A representation of on is a multiplicative map from into the -linear endomorphisms of , with and .
- are two arbitrary subgroups, and are representations of on and of on .
- means all -linear maps .
- Composition of linear maps is written by juxtaposition.
Coset section. A coset section for consists of three things:
- a function ;
- the property that for every coset , so is a representative of ;
- the normalisation , meaning the representative chosen for the identity coset is the identity element.
No other condition is imposed. In particular, there is no continuity or measurability requirement.
The -function. Given a coset section for , a coset and , the element is
regarded as an element of . That it lies in follows from the representative property of .
The one-argument . For , is defined as , the -function at the identity coset:
By the normalisation , this equals . It is an element of .
Mackey functions . For a representation of on , is the linear subspace of the space of all functions satisfying
No continuity, integrability, finite-support or decay condition is imposed. It is closed under pointwise addition and real scalar multiplication.
Lifting map . Given a coset section , a representation of on , and any function , the function is
Note that:
- ranges over all functions , with no restriction.
- The definition does not assert that is a Mackey function.
- It does not assert that is bijective or linear.
Inverse lifting map . Given a coset section and any function , the function is
It does not involve any representation. is not required to be a Mackey function, and nothing is asserted about being inverse to .
Induced action . For and any function ,
This is defined on all functions , not only on Mackey functions.
Induced action . Given a coset section , a representation of on , and any function ,
Here , and is the two-argument -function evaluated at the coset and the group element .
Equivariant maps. Given (of on ) and (of on ), let and be the corresponding Mackey-function spaces, both over the same group . This set consists of the -linear maps satisfying the following condition. For every and every pair with (equality of functions on ), one has
as functions . Here is the left translation defined above.
Cross-correlation. This assumes is finite. For a kernel and any function , the function is
This is an unnormalised sum over all of , with each element weighted by . There is no division by . Neither nor is required to satisfy any equivariance condition.
Kernel space . Given , is the set of all functions such that
No regularity or finiteness condition is imposed on .
Kernel space . Given a coset section for and representations , is the set of all functions such that
In this formula:
- is the left action of , viewed as an element of , on the coset .
- is the -function of .
The set depends on the chosen section .
Kernel lifting . Given a coset section for , a representation , and any function , the function is
is not required to lie in , and the result is not asserted to lie in . Unlike the field-lifting map, the factor here is , not its inverse.
Double coset section. Let denote the set of double cosets . A double coset section is a function with for every double coset , i.e. is a representative of . No normalisation is imposed. In particular, there is no requirement that the double coset is represented by , and no compatibility with .
Double coset of a coset. For , this is the double coset , where is some (unspecified, noncanonically chosen) representative of , i.e. . The resulting double coset is the same whichever representative is used.
Stabiliser representation . Given a coset section , a double coset section , a representation , a double coset and an arbitrary (not restricted to or to any stabiliser), is the linear map
Nothing is asserted about being a representation of any group.
Kernel space . Given , , , , is the set of functions satisfying the following. For every double coset and every with , i.e. every in the stabiliser
one has
with the -function of . The condition is imposed only for in that stabiliser; for other there is no constraint.
Restriction . Given a double coset section and any function , the function on is
No membership in or is required or asserted.
Extension . Given , , , , any function and a coset , construct the value as follows.
- Let be the double coset of , as defined above.
- Let be an element chosen by an unspecified fixed choice function such that . Such an element does exist here; if none existed, would be an arbitrary element of .
- The value is the linear map
is not required to lie in . When several satisfy the condition, which one is used is unspecified, so without such an assumption the value may depend on that choice.
Integral over . This assumes is finite. Let be any commutative additive monoid and any function. The "integral" is
This is a sum over all elements of with weight each, not over cosets. Each coset is therefore counted times, so the quantity equals . No normalisation is applied.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.