Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

§3.5, p. 27 — a linear G-invariant f satisfies f(x) = (1/μ(G))∫f(g.x)dμ(g) = f(Ax): it sees x only through its G-average

Proved
GeomDL.Blueprint.linear_invariant_eq_comp_average

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

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

Let a group G\mathfrak GG act on a finite domain Ω\OmegaΩ, and on real signals x:Ω→Rx : \Omega \to \mathbb Rx:Ω→R by (g.x)(u)=x(g−1u)(\mathfrak g . x)(u) = x(\mathfrak g^{-1}u)(g.x)(u)=x(g−1u). Let μ\muμ be a finite, nonzero measure on G\mathfrak GG, and let f:X(Ω)→Yf : X(\Omega) \to Yf:X(Ω)→Y be a linear map into a real Banach space YYY that is G\mathfrak GG-invariant, f(g.x)=f(x)f(\mathfrak g . x) = f(x)f(g.x)=f(x) for all g\mathfrak gg and xxx. Then for every signal xxx,

f(x)=1μ(G)∫Gf(g.x) dμ(g)=f ⁣(1μ(G)∫G(g.x) dμ(g))=f(Ax).f(x) = \frac{1}{\mu(\mathfrak G)} \int_{\mathfrak G} f(\mathfrak g . x)\, \mathrm d\mu(\mathfrak g) = f\!\left( \frac{1}{\mu(\mathfrak G)} \int_{\mathfrak G} (\mathfrak g . x)\, \mathrm d\mu(\mathfrak g) \right) = f(Ax).f(x)=μ(G)1​∫G​f(g.x)dμ(g)=f(μ(G)1​∫G​(g.x)dμ(g))=f(Ax).

So a linear invariant function depends on its input only through the G\mathfrak GG-average AxAxAx; for images and translations, only through the average colour. This is the book's argument that expressive invariant models need a non-linear element.

Formalization Note The book takes μ\muμ to be the Haar measure; the identity uses no invariance of μ\muμ, only that 0<μ(G)<∞0 < \mu(\mathfrak G) < \infty0<μ(G)<∞, so no invariance is assumed. The domain is finite (the book's side-note on p. 15: "in practice, one must always discretise to a finite grid"), which makes every linear fff continuous. Measurability: the inversion of G\mathfrak GG and the action are measurable, and Ω\OmegaΩ carries the discrete σ-algebra; a finite group with the counting measure and a compact group with its Haar measure acting continuously both fit.

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

open MeasureTheory

/-- Bronstein et al., §3.5, p. 27: if `f` is linear and `G`-invariant, then for all signals `x`,
`f(x) = (1/μ(G)) ∫_G f(g.x) dμ(g) = f((1/μ(G)) ∫_G (g.x) dμ(g))`, so `f` depends on `x` only
through the `G`-average `A x`. Signals are real functions on a finite domain `Ω`; `μ` is any
finite nonzero measure on `G` (no invariance of `μ` is needed for this identity). -/
theorem linear_invariant_eq_comp_average {G Ω Y : Type*} [Group G] [MulAction G Ω] [Fintype Ω]
    [MeasurableSpace G] [MeasurableSpace Ω] [DiscreteMeasurableSpace Ω]
    [MeasurableInv G] [MeasurableSMul G Ω]
    [NormedAddCommGroup Y] [NormedSpace ℝ Y] [CompleteSpace Y]
    (μ : Measure G) [IsFiniteMeasure μ] (hμ : μ ≠ 0)
    (f : (Ω → ℝ) →ₗ[ℝ] Y) (hf : IsInvariant (G := G) f) (x : Ω → ℝ) :
    f x = (μ Set.univ).toReal⁻¹ • ∫ g, f (act g x) ∂μ ∧
    f x = f (groupAverage μ x) := by sorry

end GeomDL.Blueprint
Source
Bronstein et al., Geometric Deep Learning (arXiv:2104.13478v2), §3.5, display after "A simple initial observation ..." and the G-average Ax, p. 27; 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