Alphabeta Math
Pipeline-generated
How statement and proof provenance work

The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.

  • Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
  • AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
  • AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.

These labels describe origin, not correctness: citations and verification chips remain separate evidence.

✓ 4 results · all verified · 4 also independently AI-judged
Every result on this page is machine-checked by a proof checker and read in full and owner-audited; the judge is an additional, independent cross-model AI review of the proofs; all 4 also cleared it.

Message-passing GNNs and the 1-WL ceiling

1 · Prerequisites

None. This page is self-contained.

2 · Logical flowchart

3 · Definitions, theorems and proofs

DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (gpt-6-luna)Open item page →

Finite simple undirected graphs with vertex labels

Definition

Fix a set of labels Σ. A finite vertex-labeled simple undirected graph is a triple G=(V,E,ℓ) in which V is a finite set of vertices, E is a set of two-element subsets of V, and ℓ:V→Σ assigns a label to each vertex. Its neighborhood at v∈V is NG(v)={u∈V:{u,v}∈E}. Thus edges have no orientation, loops, or multiplicity. Graphs compared in one labeled-graph statement use the same label set Σ.

DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (gpt-6-luna)Open item page →

Finite multisets as finitely supported multiplicity functions

Definition

Let X be a set. A finite multiset on X is a function m:X→N0 with finite support supp⁡(m)={x∈X:m(x)>0}. The multiplicity m(x) is the number of occurrences of x, and the size is ∣m∣=∑x∈supp⁡(m)m(x). Two finite multisets are equal exactly when their multiplicity functions agree at every element of X. We write { ⁣{x1,…,xn} ⁣} for the multiset whose multiplicity at x is the number of indices i with xi=x; n=0 denotes the empty multiset.

DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (gpt-6-luna)Open item page →

Label-preserving graph isomorphisms

Definition

Let G=(V,E,ℓ) and H=(W,F,m) be finite vertex-labeled simple undirected graphs with labels in the same set Σ. A label-preserving graph isomorphism from G to H is a bijection φ:V→W such that ℓ(v)=m(φ(v)) for every v∈V, and for all distinct u,v∈V, {u,v}∈E if and only if {φ(u),φ(v)}∈F. The graphs are isomorphic when such a bijection exists, and nonisomorphic otherwise.

DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (gpt-6-luna)Open item page →

Aggregation-based message-passing graph neural networks

Definition

Fix a finite vertex-labeled simple undirected graph G=(V,E,ℓ), a finite nonnegative depth K, feature sets H0,…,HK, and an initial map η:Σ→H0. For each k=1,…,K, choose a set Zk, an aggregation function Ak:Mfin(Hk−1)→Zk on finite multisets, and an update function Uk:Hk−1×Zk→Hk. Initialize hv0=η(ℓ(v)) and recursively set

avk=Ak ⁣({ ⁣{huk−1:u∈NG(v)} ⁣}),hvk=Uk(hvk−1,avk).

For a chosen output set Y, a graph readout is a function R:Mfin(HK)→Y; the graph output is zG=R({ ⁣{hvK:v∈V} ⁣}). The same maps are used on every graph being compared. The model has no vertex-identity input and uses no graph-wide information before the readout. It distinguishes two graphs when their outputs differ.

DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (gpt-6-luna)Open item page →

Finite-round one-dimensional Weisfeiler–Leman color refinement

Definition

Let G=(V,E,ℓ) and H=(W,F,m) be finite vertex-labeled simple undirected graphs with labels in a common set Σ. Define color sets recursively by C0=Σ and Ct+1=Ct×Mfin(Ct) for each integer t≥0. Set c0G(v)=ℓ(v) and c0H(w)=m(w); for t≥0, update

ct+1G(v)=(ctG(v),{ ⁣{ctG(u):u∈NG(v)} ⁣}),ct+1H(w)=(ctH(w),{ ⁣{ctH(z):z∈NH(w)} ⁣}).

The graph color multiset at round t is Ct(G)={ ⁣{ctG(v):v∈V} ⁣}, and likewise for H. One-dimensional Weisfeiler–Leman color refinement distinguishes G and H at round t when Ct(G)≠Ct(H); it distinguishes the pair when this holds for some finite t. If no finite round distinguishes them, they are one-WL-indistinguishable. In the unlabeled case, take Σ to be a singleton. The tuple update is the canonical collision-free color encoding.

LemmaStatement: Literature-sourcedProof: AI-adaptedprecheck passjudge pass (gpt-6-luna)Open item page →

Countable bounded multisets admit injective sum encodings

Statement

Let X be a countable set and let M∈N0. There is a map ϕ:X→N>0⊂Q such that the sum S↦∑x∈Sϕ(x) is injective on finite multisets S of total multiplicity at most M. For every irrational ε∈R∖Q, the map

(c,S)⟼(1+ε)ϕ(c)+∑x∈Sϕ(x)

is injective on pairs with c∈X and S a finite multiset of total multiplicity at most M. For M=0, the only allowed neighbor multiset is empty.

Facts & Assumptions

Given: A countable set X, a bound M∈N0, and an irrational real number ε. Prove both injectivity claims.

[A1]

Countability means that an injection ν:X→N0 is given.

[F1]

Finite multisets as finitely supported multiplicity functions: A finite multiset on X is its finitely supported multiplicity function m:X→N0; its size is the sum of all multiplicities.

Proof

1.1givenA1F1constructalgebra

Let B=max⁡{2,M+1} and set ϕ(x)=Bν(x). If M=0, the only allowed multiset is empty, so its sum encoding is injective. If M≥1 and two allowed multisets S,T have equal sums, for each j∈N0 let dj be the multiplicity in S minus the multiplicity in T of the element with ν-index j, and set dj=0 when no element has that index. The sequence (dj) has finite support and ∣dj∣≤M. If some dj≠0, let r be its largest such index. Equality of the sums gives ∣dr∣Br=∣∑j<rdjBj∣≤M(Br−1)/(B−1)≤Br−1, contradicting ∣dr∣Br≥Br. Hence all multiplicities agree and S=T.

2.1givenA1F1step 1.1algebra∎

Suppose (1+ε)ϕ(c)+∑x∈Sϕ(x)=(1+ε)ϕ(c′)+∑x∈Tϕ(x). Rearranging gives A+εD=0, where A=ϕ(c)−ϕ(c′)+∑x∈Sϕ(x)−∑x∈Tϕ(x) and D=ϕ(c)−ϕ(c′) are integers. If D≠0, then ε=−A/D is rational, contrary to the hypothesis. Thus D=0; since B≥2 has distinct powers and ν is injective, ϕ is injective and c=c′. The equality then reduces to equality of the neighbor sums; step 1.1 gives S=T.

AlgorithmAlgorithm: Literature-sourcedProof: Not applicablejudge pass (gpt-6-luna)Open item page →

Finite-depth message-passing forward pass

Definition

Given a finite vertex-labeled graph G=(V,E,ℓ), a finite nonnegative integer K, feature spaces and maps of the types in the aggregation-based message-passing definition, compute a graph output as follows. Initialize hv0=η(ℓ(v)) for every v∈V. For each k=1,…,K, first compute avk=Ak({ ⁣{huk−1:u∈NG(v)} ⁣}) for every v∈V, then set hvk=Uk(hvk−1,avk) for every v∈V. Return R({ ⁣{hvK:v∈V} ⁣}). When K=0, return R({ ⁣{η(ℓ(v)):v∈V} ⁣}) without a layer update.

DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (gpt-6-luna)Open item page →

Graph Isomorphism Network update rule

Definition

Fix a finite depth K∈N0, positive integer dimensions d0,…,dK, an initial embedding η:Σ→Rd0, scalars ε1,…,εK∈R, and maps Mk:Rdk−1→Rdk for 1≤k≤K. Each Mk is a multilayer perceptron, meaning a finite composition of affine maps between finite-dimensional real vector spaces and coordinatewise applications of a fixed scalar activation. On a finite vertex-labeled simple undirected graph G, initialize hv0=η(ℓ(v)) and update

hvk=Mk ⁣((1+εk)hvk−1+∑u∈NG(v)huk−1)(1≤k≤K).

For a chosen output set Y, the graph readout is a map R:Mfin(RdK)→Y on the multiset of final vertex features. The neighbor sum counts each neighbor vertex once, so equal feature vectors at different neighbors contribute with their multiplicity. This definition imposes no injectivity condition on the perceptrons or the readout and makes no claim that a fixed finite architecture realizes an arbitrary injection.

LemmaStatement: Literature-sourcedProof: AI-adaptedprecheck passjudge pass (gpt-6-luna)Open item page →

One-dimensional Weisfeiler–Leman refinement is invariant under graph isomorphism

Statement

Let G and H be finite vertex-labeled simple undirected graphs with labels in a common set, and let φ:G→H be a label-preserving graph isomorphism. At every finite round t, corresponding vertices have equal one-dimensional Weisfeiler–Leman colors: ctG(v)=ctH(φ(v)) for every v∈V(G). Consequently their graph color multisets agree at every round, so the refinement does not distinguish isomorphic graphs.

Facts & Assumptions

Given: The finite labeled graphs G,H and label-preserving isomorphism φ:G→H in the Statement. Prove the color and histogram claims.

[F1]

Label-preserving graph isomorphisms: φ is a bijection preserving labels and adjacency in both directions.

[F2]

Finite-round one-dimensional Weisfeiler–Leman color refinement: The round-t+1 color is the ordered pair of the vertex's round-t color and the multiset of round-t colors of its neighbors.

[F3]

Finite multisets as finitely supported multiplicity functions: Equality of finite multisets is equality of multiplicities at every element.

Proof

1.1givenF1F2inductionalgebra

By induction on t, ctG(v)=ctH(φ(v)) for every v∈V(G). At t=0 this is label preservation from [F1]. If it holds at t, bijectivity and adjacency preservation in [F1] give a bijection NG(v)→NH(φ(v)), and corresponding neighbors have equal round-t colors by the induction hypothesis. Thus the neighbor-color multisets agree; the center colors agree as well, so the ordered-pair update [F2] gives equality at round t+1.

2.1givenF1F3step 1.1algebra∎

The same vertex bijection therefore sends every occurrence of each round-t color in G to an occurrence of that color in H, and its inverse gives the reverse correspondence. Hence the two graph color multisets have equal multiplicities for each color by [F3]. Their round-t histograms agree for every finite t, so no round distinguishes them.

TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck passjudge pass (gpt-6-luna)Open item page →

Message-passing GNNs cannot distinguish beyond one-dimensional Weisfeiler–Leman

Statement

Let G,H be finite vertex-labeled simple undirected graphs with labels in a common set, and let a depth-K aggregation-based message-passing graph neural network use the same initial embedding, layer maps, and graph readout on both graphs. If one-dimensional Weisfeiler–Leman color refinement has equal graph color multisets on G and H at every round 0,…,K, then the network gives the same graph output on G and H. Equivalently, whenever this network distinguishes the pair, one-dimensional Weisfeiler–Leman distinguishes the pair at some round at most K.

Facts & Assumptions

Given: The two finite labeled graphs, their equal 1-WL color multisets through round K, and one shared depth-K message-passing GNN as in the Statement. Prove its graph outputs agree.

[F1]

Aggregation-based message-passing graph neural networks: Each layer applies the same aggregation function to the multiset of neighbor states and then the same update function to the center state and aggregate.

[F2]

Finite-round one-dimensional Weisfeiler–Leman color refinement: Each next WL color is the ordered pair of the current color and the multiset of current neighbor colors; the graph color multiset records every vertex color with multiplicity.

[F3]

Finite multisets as finitely supported multiplicity functions: A finite multiset is its multiplicity function, so applying a function to each occurrence preserves equality of multisets.

[F4]

Aggregation-based message-passing graph neural networks: The graph readout is a function of the multiset of final node states.

Proof

1.1givenF1F2inductionalgebra

By induction on t=0,…,K, equal round-t WL colors of vertices from either graph imply equal GNN states after t layers. At t=0, the shared initial embedding gives this implication. If it holds at t and two vertices have equal round-(t+1) colors, [F2] says their center colors and neighbor-color multisets agree. By the induction hypothesis, equal neighbor colors have equal GNN states; applying this correspondence occurrence by occurrence gives equal neighbor-state multisets. The shared aggregation and update functions in [F1] therefore give equal next-layer states. Thus a well-defined map from each round-t color occurring in either graph to its common GNN state exists.

2.1givenF2F3F4step 1.1algebra∎

At round K, the assumed equal WL color multisets become equal multisets of GNN states when each color is sent to its common state from step 1.1; multiplicities are preserved by [F3]. The shared graph readout in [F4] receives equal multisets, so the two graph outputs are equal. The contrapositive gives the stated distinguishing implication.

TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck passjudge pass (gpt-6-luna)Open item page →

Injective message passing matches the one-dimensional Weisfeiler–Leman test

Statement

Let G,H be finite vertex-labeled simple undirected graphs with labels in a common set. Suppose one-dimensional Weisfeiler–Leman distinguishes them at round K. Use a shared initial embedding that is injective on the labels occurring in the pair. Assume each message-passing layer's aggregation function is injective on the neighbor multisets encountered and its update function is injective on the center-state/aggregate pairs encountered. Assume also that the graph readout is injective on the final node-state multisets of the pair. Then a depth-K aggregation-based message-passing graph neural network distinguishes G and H.

For the GIN sum construction, if the active feature universe is countable and every neighbor multiset has size at most a fixed Δ∈N0, the bounded-multiset lemma gives an injective scalar code for the GIN preactivation (1+ε)hv+∑u∈N(v)hu for any irrational ε, when current feature values use that code. If each graph has at most a fixed N∈N0 vertices, the same lemma gives an injective sum encoding for the graph-level readout multiset. This is an existence statement for injective maps on the relevant code sets; it does not assert that every fixed finite MLP realizes an arbitrary such map. The post-MLP update and graph readout must still satisfy the injectivity hypotheses above.

Facts & Assumptions

Given: The graphs, finite round K, one shared message-passing network, and the injectivity hypotheses stated above. Prove that its depth-K graph outputs differ, and justify the countable GIN sum-code clause.

[A1]

The initial embedding is injective on the common labels occurring in G and H.

[A2]

At each round, the aggregation function is injective on the encountered neighbor multisets and the update function is injective on the encountered pairs of center state and aggregate.

[A3]

The graph readout is injective on the two final multisets of node states.

[F1]

Finite-round one-dimensional Weisfeiler–Leman color refinement: A round-(k+1) color is the ordered pair of a round-k center color and the multiset of round-k neighbor colors; the round-k graph histogram is the multiset of all vertex colors.

[F2]

Aggregation-based message-passing graph neural networks: A shared layer aggregates the multiset of neighbor states and updates the center state.

[F3]

Countable bounded multisets admit injective sum encodings: On a countable feature universe with multiset-size bound M, a sum code is injective on multisets, and for irrational ε the code (c,S)↦(1+ε)ϕ(c)+∑x∈Sϕ(x) is injective on center/multiset pairs.

[F4]

Graph Isomorphism Network update rule: The GIN preactivation is (1+εk)hvk−1+∑u∈NG(v)huk−1 before its layer MLP.

[F5]

Aggregation-based message-passing graph neural networks: The graph output is the readout of the final node-state multiset.

Proof

1.1givenA1A2F1F2inductionalgebra

For each k≤K, we prove that there is an injective map ψk from the WL colors occurring at round k in either graph to their GNN states. For k=0, use the initial embedding and [A1]. If this holds at k−1, a round-k WL color has the form (c,S) by [F1]. The injective map ψk−1 sends different center colors to different center states and, occurrence by occurrence, different neighbor-color multisets to different neighbor-state multisets. By [A2], their aggregates and then their updated states remain different whenever (c,S) differs. Equal WL colors give equal states because the layer maps are shared functions. Thus the resulting round-k state map ψk is well-defined and injective.

2.1givenA3F1F5step 1.1algebra

The WL histograms at round K differ by hypothesis. Applying the injective map ψK to each color occurrence preserves multiplicities and keeps these two multisets different. The final node-state multisets therefore differ, and [A3] makes their graph readouts different by [F5].

3.1givenA2A3F3F4algebra∎

If the active feature set is countable and neighbor multisets have size at most Δ, apply [F3] with M=Δ to obtain the stated center/multiset preactivation code for any irrational ε. If each graph has at most N vertices, apply the multiset part of [F3] with M=N to obtain an injective sum code for final node-state multisets. Formula [F4] identifies the first code with the GIN preactivation when the current features use ϕ; the injectivity of any post-MLP or readout realizing the full theorem remains the separate hypothesis [A2]–[A3].

4 · Examples, counterexamples and false statements

None yet.

Sources