§4.1, eq. (6), p. 32 — the sum readout φ(Σᵤ ψ(xᵤ)) is permutation invariant
ProvedGeomDL.Sets.eq_6_invariantdeep-setsgeometric-deep-learningp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-bookp2o-v1permutation-invariance
Let have rows , let take values in a commutative additive monoid , and let be arbitrary. Define
Then is permutation invariant: for every permutation matrix .
This is the book's first example of a permutation-invariant function on sets, the readout of Deep Sets.
Formalization Note reorders the rows of , row of being row of ; the statement quantifies over all .
Preamble
import Mathlib import Definitions.Def_GeomDL_Sets_Defs
Formal statement
namespace GeomDL.Sets
/-- §4.1, eq. (6), p. 32: `f(X) = φ(∑_{u ∈ V} ψ(x_u))` is permutation invariant,
`f(PX) = f(X)` for every permutation matrix `P` (rows of `PX` reordered by `σ⁻¹`). -/
theorem eq_6_invariant {n d : ℕ} {M Y : Type*} [AddCommMonoid M] (φ : M → Y)
(ψ : (Fin d → ℝ) → M) :
IsPermInvariant (sumReadout φ ψ : Matrix (Fin n) (Fin d) ℝ → Y) := by sorry
end GeomDL.Sets
Source
Bronstein et al., Geometric Deep Learning (arXiv:2104.13478v2), §4.1, eq. (6), p. 32
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.