§4.1, eq. (13), p. 34 — the local construction F(X, A)ᵤ = φ(xᵤ, X_{Nᵤ}) satisfies (10)
ProvedGeomDL.Sets.eq_13_equivariantLet be an adjacency matrix and node features. For a node let be its neighbourhood (11) and the multiset of its neighbours' features (12). Let be any function, and let be the matrix whose -th row is , eq. (13). Then is permutation equivariant in the sense of (10):
This is the book's general recipe for permutation-equivariant functions on graphs: a shared local function that is invariant to the order of the neighbours.
Formalization Note Since receives a multiset, its output does not depend on the ordering of the nodes in — the book's hypothesis " is permutation invariant" holds by construction. Edges are the nonzero entries of , which for the 0/1 matrix (8) is the book's edge set.
import Mathlib import Definitions.Def_GeomDL_Sets_Defs
namespace GeomDL.Sets
/-- §4.1, eq. (13), p. 34: the local construction `F(X, A)_u = φ(x_u, X_{N_u})` with a shared
`φ` that receives the neighbourhood features as a multiset (hence is permutation invariant in
them) satisfies (10): `F(PX, PAPᵀ) = P F(X, A)` for every permutation matrix `P`. -/
theorem eq_13_equivariant {n d d' : ℕ}
(φ : (Fin d → ℝ) → Multiset (Fin d → ℝ) → (Fin d' → ℝ)) :
IsGraphPermEquivariant (localLayer φ : Matrix (Fin n) (Fin d) ℝ → Matrix (Fin n) (Fin n) ℝ →
Matrix (Fin n) (Fin d') ℝ) := by sorry
end GeomDL.Sets
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.