GNNTheory: A Lean 4 Formalization of Graph Neural Network Theory

2 MPNNs are Bounded by 1-WL

This chapter establishes the fundamental expressivity upper bound: no aggregate–combine message-passing neural network can distinguish vertices or graphs that are indistinguishable by 1-WL (colour refinement), regardless of the choice of aggregation, combination, or readout functions.

Primary references:

  • M. Grohe, The Logic of Graph Neural Networks (arXiv:2104.14624), §8, Theorem 8.1 (theo:gnn-upper), Corollaries 8.2–8.3 (cor:upper1, cor:upper2).

  • C. Morris et al., Weisfeiler and Leman Go Neural (arXiv:1810.02244), §4, Theorem 1 (thm:refine).

  • K. Xu et al., How Powerful are Graph Neural Networks? (arXiv:1810.00826), §4, Lemma 2 (theorem:upper).