Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

§3.5, p. 27 — the G-average A is invariant, so A ∘ U is G-invariant for every equivariant U

Proved
GeomDL.Blueprint.average_comp_invariant

by mikedeng1 · Oct 21, 2026 · Mathlib 0df444a (Lean v4.33.1)

geometric-deep-learninghaar-measureinvariancep2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-bookp2o-v1

Let a group G\mathfrak GG act on a finite domain Ω\OmegaΩ, and let μ\muμ be a finite, nonzero, right-invariant measure on G\mathfrak GG (for example the Haar measure of a compact group). Let

Ax=1μ(G)∫G(g.x) dμ(g)A x = \frac{1}{\mu(\mathfrak G)} \int_{\mathfrak G} (\mathfrak g . x)\, \mathrm d\mu(\mathfrak g)Ax=μ(G)1​∫G​(g.x)dμ(g)

be the G\mathfrak GG-average of a real signal x:Ω→Rx : \Omega \to \mathbb Rx:Ω→R. Then

  1. AAA is G\mathfrak GG-invariant: A(h.x)=A(x)A(\mathfrak h . x) = A(x)A(h.x)=A(x) for all h∈G\mathfrak h \in \mathfrak Gh∈G and all xxx;
  2. for every G\mathfrak GG-equivariant U:X(Ω,C)→X(Ω,R)U : X(\Omega, C) \to X(\Omega, \mathbb R)U:X(Ω,C)→X(Ω,R), the composite A∘UA \circ UA∘U is G\mathfrak GG-invariant.

Composing equivariant layers with a group average is the book's general recipe for invariant functions.

Formalization Note The book writes A∘U:X(Ω,C)→C′′A \circ U : X(\Omega, C) \to C''A∘U:X(Ω,C)→C′′, i.e. it reads off a value; here A∘UA \circ UA∘U returns the averaged signal, and any further read-out of it stays invariant. The page does not state the invariance of μ\muμ it needs; right invariance (μ(Eh)=μ(E)\mu(Eh) = \mu(E)μ(Eh)=μ(E)) is the hypothesis under which the substitution g↦gh\mathfrak g \mapsto \mathfrak g\mathfrak hg↦gh leaves the integral unchanged, and the Haar measure of a compact group, which the book names, has it. Measurability is ensured by assuming the inversion and the action measurable, with the discrete σ-algebra on Ω\OmegaΩ.

Preamble
import Mathlib
import Definitions.Def_GeomDL_Blueprint_Defs
Formal statement
namespace GeomDL.Blueprint

open MeasureTheory

/-- Bronstein et al., §3.5, p. 27: "This simple property allows us to define a very general family
of G-invariants, by composing U with the group averages A ∘ U." For a finite domain `Ω`, a finite
nonzero right-invariant measure `μ` on `G` (the Haar measure of a compact group is one), and the
`G`-average `A x = (1/μ(G)) ∫ (g.x) dμ(g)`:
1. `A` is `G`-invariant: `A(h.x) = A(x)` for all `h` and `x`;
2. for every `G`-equivariant `U : X(Ω, C) → X(Ω, ℝ)`, the composite `A ∘ U` is `G`-invariant. -/
theorem average_comp_invariant {G Ω C : Type*} [Group G] [MulAction G Ω] [Fintype Ω]
    [MeasurableSpace G] [MeasurableSpace Ω] [DiscreteMeasurableSpace Ω]
    [MeasurableInv G] [MeasurableSMul G Ω]
    (μ : Measure G) [IsFiniteMeasure μ] [μ.IsMulRightInvariant] (hμ : μ ≠ 0) :
    (∀ (h : G) (x : Ω → ℝ), groupAverage μ (act h x) = groupAverage μ x) ∧
    (∀ U : (Ω → C) → (Ω → ℝ), IsEquivariant (G := G) U →
      IsInvariant (G := G) (groupAverage μ ∘ U)) := by sorry

end GeomDL.Blueprint
Source
Bronstein et al., Geometric Deep Learning (arXiv:2104.13478v2), §3.5, p. 27, "This simple property allows us to define a very general family of G-invariants ..."; side-note p. 27 (Haar measure)
Human review
  • Endorsed by Shuze Chen · Oct 21, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 21, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me