Alphabeta Math
Session-authored (Fable 5 assisted)
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.

30 results · all verified · 26 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. The 4 not AI-judged were verified by owner audit (typically over a confirmed judge false positive), not failures.

Modules, Substitution and Prime Graphs

1 · Prerequisites

2 · Summary

Modules record when a vertex set is indistinguishable from outside the set. The page uses the already-built homogeneous number and Erdős–Hajnal property, together with the graph-theoretic language of components, anticomponents, pure pairs, induced copies, and substitution. Those ingredients split the subject into two linked directions: structural lemmas about how modules behave under intersection, union, complementation, and quotients, and extremal lemmas that measure how substitution interacts with homogeneous sets and induced patterns.

The page defines modules, prime graphs, substitution, modular partitions, and quotient graphs. It proves the module-closure lemmas needed to make quotients well defined, then proves Gallai's modular decomposition theorem and the uniqueness of the prime quotient in the connected anticonnected case. The second half proves that substitution preserves the Erdős–Hajnal property, derives the reduction of the conjecture to prime graphs, and records the basic blow-up corollary that later hereditary-class pages use.

3 · Logical flowchart

4 · Definitions, theorems and proofs

DefinitionDefinition: AI-adaptedProof: Not applicablejudge pass (deepseek-v4-pro + gpt-5.6-terra)audited 2026-08-26Open item page →

Modules of a graph, and the trivial modules

Definition

Let G be a finite simple graph (A finite simple graph is a finite vertex set together with a set of two-element vertex subsets). A vertex set MV(G) is a module of G when every vertex vV(G)M is adjacent to every vertex of M or to no vertex of M. Equivalently, the disjoint pair ({v},M) is pure for every vV(G)M (Edges between disjoint vertex sets; complete, anticomplete, pure and mixed pairs, Adjacency, incidence, open and closed neighbourhoods, vertex degree, minimum degree and maximum degree).

The condition constrains only the edges between M and V(G)M: no condition whatever is placed on the induced subgraph G[M] (Subgraphs, induced subgraphs and spanning subgraphs).

The trivial modules of G are , the singletons {v} for vV(G), and V(G) itself. Each of the three really is a module: for M= every pair ({v},) is both complete and anticomplete, hence pure; for M={u} the pair ({v},{u}) is complete when uvE(G) and anticomplete otherwise; and for M=V(G) there is no vertex outside M, so the condition is vacuous. A module that is not one of these is nontrivial. Since V(G) is finite, a module M is nontrivial exactly when 2M and MV(G)1, the second bound because a subset of a finite set has the full cardinality only if it is the whole set (The cardinality A of a finite set, A subset of a finite set is finite, with BA, and equality holds if and only if B=A).

A module M is proper when MV(G). Thus is a proper module exactly when V(G), every singleton of a graph with at least two vertices is a proper module, and every nontrivial module is proper.

Remarks

The word module is Habib and Paul's. The same object is called a clan by Harju, a closed set by Gallai, and an autonomous, partitive, externally related or homogeneous set elsewhere; the clash between the last of these and the published meaning of homogeneous set is the subject of Why this page says module where some sources say homogeneous set.

LemmaStatement: AI-adaptedProof: AI-generatedprecheck passjudge pass (deepseek-v4-pro + gpt-5.6-terra)audited 2026-08-26Open item page →

Three equivalent descriptions of a module: purity of every outside vertex, equality of outside neighbourhoods, and indistinguishability of the members

Statement

Let G be a finite simple graph and let MV(G). The following three conditions are equivalent.

  1. M is a module of G (Modules of a graph, and the trivial modules).
  2. NG(x)M=NG(y)M for all x,yM.
  3. For all x,yM and all vV(G)M: vxE(G) if and only if vyE(G).

Facts & Assumptions

Given: A finite simple graph G and a set MV(G).

[F1]

M is a module of G when every vertex vV(G)M is adjacent to every vertex of M or to no vertex of M; equivalently, the pair ({v},M) is pure for every such v (Modules of a graph, and the trivial modules).

[F2]

A disjoint pair (A,B) is complete when every aA is adjacent to every bB, anticomplete when no aA is adjacent to any bB, and pure when it is complete or anticomplete (Edges between disjoint vertex sets; complete, anticomplete, pure and mixed pairs).

Proof

technique · direct
1.1

For the implication from 1 to 2, assume M is a module, and let x,yM and vNG(x)M. Then vM, so ({v},M) is pure, and it is not anticomplete because v is adjacent to xM; hence it is complete, so v is adjacent to y and vNG(y)M.

F1F2F3
1.2

For the implication from 2 to 3, assume condition 2 and let x,yM and vV(G)M with vxE(G). Then vNG(x)M=NG(y)M, so vyE(G); exchanging the roles of x and y gives the reverse implication, which is condition 3.

F3
1.3

For the implication from 3 to 1, assume condition 3 and let vV(G)M. If v is adjacent to some xM, then condition 3 makes v adjacent to every yM, so ({v},M) is complete; if v is adjacent to no vertex of M, then ({v},M) is anticomplete. In both cases the pair is pure.

F2F3
2.1

Step 1.1 applies to both orders of x and y, giving NG(x)MNG(y)M and NG(y)MNG(x)M, so condition 1 implies condition 2.

step 1.1
2.2

Step 1.3 verifies the condition of [F1] at every vertex outside M, so condition 3 implies condition 1.

step 1.3F1
3.1

The implications of steps 2.1, 1.2 and 2.2 form the cycle from 1 to 2 to 3 and back to 1, so the three conditions are equivalent.

step 2.1step 1.2step 2.2
LemmaStatement: AI-adaptedProof: AI-generatedprecheck passjudge pass (deepseek-v4-pro + gpt-5.6-terra)audited 2026-08-26Open item page →

A vertex set is a module of G exactly when it is a module of G

Statement

For every finite simple graph G and every MV(G), the set M is a module of G if and only if it is a module of G.

Facts & Assumptions

Given: A finite simple graph G and a set MV(G).

[F1]

M is a module of G when the pair ({v},M) is pure for every vV(G)M (Modules of a graph, and the trivial modules).

[F2]

The complement of G=(V,E) is G=(V,[V]2E), and G=G (Graph isomorphisms, automorphisms and graph complements).

[L1]

For disjoint vertex sets A,B in a graph, complementation swaps complete pairs with anticomplete pairs and preserves pure pairs and mixed pairs (Purity is symmetric; complementation swaps complete and anticomplete pairs and preserves mixed pairs).

[F3]

A disjoint pair is pure when it is complete or anticomplete (Edges between disjoint vertex sets; complete, anticomplete, pure and mixed pairs).

Proof

technique · direct
1.1

For vV(G)M the sets {v} and M are disjoint, so the pair ({v},M) is pure in G exactly when it is pure in G.

L1F3
1.2

The graphs G and G have the same vertex set, so a vertex lies outside M in one exactly when it lies outside M in the other.

F2
2.1

If M is a module of G, then ({v},M) is pure in G for every vertex v outside M, hence pure in G for every such vertex, so M is a module of G.

step 1.1step 1.2F1
3.1

Applying step 2.1 to the graph G and using G=G gives the converse implication, so M is a module of G exactly when it is a module of G.

step 2.1F2
LemmaStatement: Literature-sourcedProof: AI-generatedprecheck passjudge pass (deepseek-v4-pro + gpt-5.6-terra)audited 2026-08-26Open item page →

Every union of connected components is a module, and so is every union of anticonnected components

Statement

Let G be a finite simple graph. If M is a union of vertex sets of connected components of G, then M is a module of G, and every vertex outside M is anticomplete to M. If M is a union of anticomponents of G, then M is a module of G, and every vertex outside M is complete to M.

Facts & Assumptions

Given: A finite simple graph G.

[F1]

M is a module of G when the pair ({v},M) is pure for every vV(G)M (Modules of a graph, and the trivial modules).

[L1]

The vertex sets CG(v) of the connected components of G are nonempty, cover V(G), and any two are equal or disjoint (The connected components of a graph partition its vertex set and are its maximal connected subgraphs, Connected graphs and connected components defined by the existence of vertex paths).

[L2]

Distinct connected components of a graph are anticomplete to one another, and distinct anticomponents are complete to one another (Distinct connected components are anticomplete, and distinct anticonnected components are complete).

[F2]

The anticomponents of G are exactly the connected components of G; consequently their vertex sets are nonempty, cover V(G), and any two are equal or disjoint (The anticonnected components of G are exactly the connected components of G, The connected components of a graph partition its vertex set and are its maximal connected subgraphs).

[F3]

The pair (A,B) of disjoint sets is complete when every vertex of A is adjacent to every vertex of B, anticomplete when no vertex of A is adjacent to any vertex of B, and pure when it is complete or anticomplete (Edges between disjoint vertex sets; complete, anticomplete, pure and mixed pairs).

Proof

technique · direct
1.1

Let M be a union of component vertex sets and let vV(G)M. The component CG(v) meets no component contained in M, since vM and distinct components are disjoint, so CG(v) is distinct from every component inside M.

L1
1.2

Let M be a union of anticomponents and let vV(G)M. The anticomponent containing v is disjoint from every anticomponent inside M and hence distinct from each of them.

F2
2.1

In the component case of step 1.1, v has no neighbour in any component inside M, so v has no neighbour in M and ({v},M) is anticomplete, hence pure.

step 1.1L2F3
2.2

In the anticomponent case of step 1.2, v is adjacent to every vertex of every anticomponent inside M, so v is adjacent to every vertex of M and ({v},M) is complete, hence pure.

step 1.2L2F3
3.1

Steps 2.1 and 2.2 verify the condition of [F1] at every vertex outside M in the two cases, so both kinds of union are modules, with the stated purity.

step 2.1step 2.2F1
LemmaStatement: Literature-sourcedProof: AI-generatedprecheck passjudge pass (deepseek-v4-pro + gpt-5.6-terra)audited 2026-08-26Open item page →

Two disjoint nonempty modules form a complete or an anticomplete pair

Statement

Let M and N be disjoint nonempty modules (Modules of a graph, and the trivial modules) of a finite simple graph G. Then the pair (M,N) is complete or anticomplete, and it is not both.

Facts & Assumptions

Given: Disjoint nonempty modules M,N of a finite simple graph G.

[L1]

For a module M of G: for all x,yM and all vV(G)M, vxE(G) if and only if vyE(G) (Three equivalent descriptions of a module: purity of every outside vertex, equality of outside neighbourhoods, and indistinguishability of the members).

[F2]

The pair (A,B) of disjoint sets is complete when every aA is adjacent to every bB, anticomplete when no aA is adjacent to any bB, and pure when it is complete or anticomplete (Edges between disjoint vertex sets; complete, anticomplete, pure and mixed pairs).

Proof

technique · direct
1.1

Fix x0M and y0N, which exist because both sets are nonempty.

givenchoose
1.2

Let xM and yN. Since yM and x,x0M, applying [L1] to the module M gives that xyE(G) if and only if x0yE(G).

L1given
1.3

Since x0N and y,y0N, applying [L1] to the module N gives that x0yE(G) if and only if x0y0E(G).

L1given
2.1

Combining steps 1.2 and 1.3, every xM and yN satisfy: xyE(G) if and only if x0y0E(G).

step 1.1step 1.2step 1.3
3.1

If x0y0E(G) then step 2.1 makes every cross pair an edge, so (M,N) is complete; otherwise step 2.1 makes no cross pair an edge, so (M,N) is anticomplete. The two cannot both hold, since the single pair x0y0 would then be both an edge and not an edge.

step 2.1F2
LemmaStatement: Literature-sourcedProof: AI-generatedprecheck passjudge pass (deepseek-v4-pro + gpt-5.6-terra)audited 2026-08-26Open item page →

The intersection of two modules is a module

Statement

If M and N are modules of a finite simple graph G, then MN is a module of G. No hypothesis relating M and N is needed, and the case MN= is included.

Facts & Assumptions

Given: Modules M,N of a finite simple graph G, and a vertex vV(G)(MN).

[F1]

M is a module of G when the pair ({v},M) is pure for every vV(G)M (Modules of a graph, and the trivial modules).

[F2]

The pair (A,B) of disjoint sets is complete when every aA is adjacent to every bB, anticomplete when no aA is adjacent to any bB, and pure when it is complete or anticomplete (Edges between disjoint vertex sets; complete, anticomplete, pure and mixed pairs).

Proof

technique · cases
1.1

If v is complete to a set S then v is complete to every subset of S, and if v is anticomplete to S then v is anticomplete to every subset of S; so purity of ({v},S) passes to every subset of S.

F2
1.2

First case: vM. Then ({v},M) is pure because M is a module.

assume-case outMF1
1.3

Second case: vM. Since vMN, this forces vN, and then ({v},N) is pure because N is a module.

assume-case inMF1given
2.1

In the first case step 1.1 applied to S=MMN makes ({v},MN) pure, and in the second case step 1.1 applied to S=NMN does the same. The two cases exhaust the possibilities for v.

step 1.1step 1.2step 1.3cases-exhaustive
3.1

Every vertex outside MN therefore has ({v},MN) pure, which is the module condition of [F1], so MN is a module of G.

step 2.1F1
LemmaStatement: AI-adaptedProof: AI-generatedprecheck passjudge pass (deepseek-v4-pro + gpt-5.6-terra)audited 2026-08-26Open item page →

The union of two modules with a common vertex is a module

Statement

Let M and N be modules of a finite simple graph G with MN. Then MN is a module of G.

Facts & Assumptions

Given: Modules M,N of a finite simple graph G with MN, and a vertex vV(G)(MN).

[F1]

M is a module of G when the pair ({v},M) is pure for every vV(G)M (Modules of a graph, and the trivial modules).

[F2]

The pair (A,B) of disjoint sets is complete when every aA is adjacent to every bB, anticomplete when no aA is adjacent to any bB, and pure when it is complete or anticomplete (Edges between disjoint vertex sets; complete, anticomplete, pure and mixed pairs).

Proof

technique · cases
1.1

Fix uMN. Since vMN, the vertex v lies outside M and outside N, so both ({v},M) and ({v},N) are pure.

givenF1choose
1.2

First case: uvE(G). Then ({v},M) is not anticomplete, since uM, so it is complete; and likewise ({v},N) is complete.

assume-case adjF2
1.3

Second case: uvE(G). Then ({v},M) is not complete, since uM, so it is anticomplete; and likewise ({v},N) is anticomplete.

assume-case nonadjF2
2.1

In the first case v is adjacent to every vertex of M and to every vertex of N, hence to every vertex of MN; in the second case v is adjacent to no vertex of M and to no vertex of N, hence to no vertex of MN. The two cases exhaust the possibilities.

step 1.1step 1.2step 1.3F2cases-exhaustive
3.1

So ({v},MN) is pure for every vertex v outside MN, which is the module condition of [F1].

step 2.1F1
LemmaStatement: Literature-sourcedProof: AI-generatedprecheck passjudge pass (deepseek-v4-pro + gpt-5.6-terra)audited 2026-08-26Open item page →

If two modules overlap, then each difference and their symmetric difference are modules

Statement

Let M and N be modules of a finite simple graph G that overlap, that is, MN, MN and NM are all nonempty. Then MN, NM and MN=(MN)(NM) are modules of G.

The overlap hypothesis cannot be weakened to MN: for nested modules the difference need not be a module.

Facts & Assumptions

Given: Overlapping modules M,N of a finite simple graph G; the sets A=MN, B=NM and C=MN, all nonempty.

[F1]

M is a module of G when the pair ({v},M) is pure for every vV(G)M (Modules of a graph, and the trivial modules).

[L1]

For a module M of G: for all x,yM and all vV(G)M, vxE(G) if and only if vyE(G) (Three equivalent descriptions of a module: purity of every outside vertex, equality of outside neighbourhoods, and indistinguishability of the members).

[L2]

The union of two modules with a common vertex is a module (The union of two modules with a common vertex is a module).

[F2]

The pair (A,B) of disjoint sets is complete when every aA is adjacent to every bB, anticomplete when no aA is adjacent to any bB, and pure when it is complete or anticomplete (Edges between disjoint vertex sets; complete, anticomplete, pure and mixed pairs).

Proof

technique · cases
1.1

Fix wB and note wM. For x,xA the vertices x,x lie in M, so [L1] applied to M gives that wxE(G) if and only if wxE(G).

L1givenchoose
1.2

For xA we have xN, so [L1] applied to N gives, for all p,qN, that xpE(G) if and only if xqE(G); in particular this holds for pC and q=w, both of which lie in N.

L1given
1.3

First case for A: a vertex vM. Then ({v},M) is pure, and since AM the pair ({v},A) is pure as well.

assume-case outMF1F2
1.4

Second case for A: a vertex vC. Then vN, and vA.

assume-case inCgiven
1.5

Turning to the symmetric difference, let vAB and take first the subcase vMN. The set MN is a module by [L2], since C, so ({v},MN) is pure and hence ({v},AB) is pure, as ABMN.

L2F1F2given
2.1

In the second case for A, let x,xA. By step 1.2 applied to x with p=v and q=w, vxE(G) if and only if wxE(G); by step 1.1, wxE(G) if and only if wxE(G); and by step 1.2 applied to x, wxE(G) if and only if vxE(G). Hence vxE(G) if and only if vxE(G), so ({v},A) is complete or anticomplete.

step 1.1step 1.2step 1.4F2
2.2

A vertex vA satisfies vM, or else vM and then vA forces vN, so vC; the two cases of steps 1.3 and 1.4 are therefore exhaustive.

step 1.3step 1.4givencases-exhaustive
3.1

Steps 1.3, 2.1 and 2.2 make ({v},A) pure for every vA, so A=MN is a module; exchanging the roles of M and N, which the overlap hypothesis leaves unchanged, shows that B=NM is a module.

step 1.3step 2.1step 2.2F1
3.2

Still for the symmetric difference, take the remaining subcase vMN with vAB, so that vC. Step 2.1 makes ({v},A) pure and its mirror image makes ({v},B) pure, while step 1.2 applied to some xA with p=v and qB gives vxE(G) if and only if qxE(G), and [L1] applied to M with qM and x,vM gives qxE(G) if and only if qvE(G). So the adjacency of v to A and its adjacency to B agree, and ({v},AB) is pure.

step 1.2step 2.1L1F2
4.1

Combining steps 1.5 and 3.2, every vertex outside AB has ({v},AB) pure, so MN is a module of G.

step 3.1step 1.5step 3.2F1
LemmaStatement: AI-adaptedProof: AI-generatedprecheck passjudge pass (deepseek-v4-pro + gpt-5.6-terra)audited 2026-08-26Open item page →

If M is a module of G and WV(G), then MW is a module of G[W]

Statement

Let M be a module of a finite simple graph G and let WV(G). Then MW is a module of the induced subgraph G[W].

Facts & Assumptions

Given: A module M of a finite simple graph G and a set WV(G).

[F1]

M is a module of G when the pair ({v},M) is pure for every vV(G)M (Modules of a graph, and the trivial modules).

[F2]

G[W]=(W,E(G)[W]2), so two vertices of W are adjacent in G[W] exactly when they are adjacent in G (Subgraphs, induced subgraphs and spanning subgraphs).

[F3]

The pair (A,B) of disjoint sets is complete when every aA is adjacent to every bB, anticomplete when no aA is adjacent to any bB, and pure when it is complete or anticomplete (Edges between disjoint vertex sets; complete, anticomplete, pure and mixed pairs).

Proof

technique · direct
1.1

Let vW(MW). Since vW, this gives vM, so ({v},M) is pure in G.

F1given
2.1

The vertex set of G[W] is W, so the vertices outside MW in G[W] are exactly the vertices v of step 1.1.

F2
2.2

If ({v},M) is complete in G then v is adjacent in G to every vertex of MWM, and if it is anticomplete then v is adjacent in G to no vertex of MW.

step 1.1F3
3.1

Both v and the vertices of MW lie in W, so those adjacencies are the same in G[W] as in G; hence ({v},MW) is pure in G[W].

step 2.2F2F3
4.1

Every vertex of G[W] outside MW therefore satisfies the module condition of [F1] in G[W], so MW is a module of G[W].

step 2.1step 3.1F1
LemmaStatement: AI-adaptedProof: AI-generatedprecheck passjudge pass (deepseek-v4-pro + gpt-5.6-terra)audited 2026-08-26Open item page →

A module of G[M] is a module of G whenever M is a module of G

Statement

Let M be a module of a finite simple graph G and let XM be a module of the induced subgraph G[M]. Then X is a module of G.

Facts & Assumptions

Given: A module M of a finite simple graph G, a module X of G[M], and a vertex vV(G)X.

[F1]

M is a module of G when the pair ({v},M) is pure for every vV(G)M (Modules of a graph, and the trivial modules).

[F2]

G[M]=(M,E(G)[M]2), so two vertices of M are adjacent in G[M] exactly when they are adjacent in G (Subgraphs, induced subgraphs and spanning subgraphs).

[F3]

The pair (A,B) of disjoint sets is complete when every aA is adjacent to every bB, anticomplete when no aA is adjacent to any bB, and pure when it is complete or anticomplete (Edges between disjoint vertex sets; complete, anticomplete, pure and mixed pairs).

Proof

technique · cases
1.1

First case: vMX. Since X is a module of G[M] and v is a vertex of G[M] outside X, the pair ({v},X) is pure in G[M]; as v and the vertices of X all lie in M, the same adjacencies hold in G, so ({v},X) is pure in G.

assume-case inMF1F2F3
1.2

Second case: vM. Then ({v},M) is pure in G because M is a module of G, and XM, so ({v},X) is pure in G.

assume-case outMF1F3
2.1

A vertex vX lies in M or outside M, so the two cases are exhaustive and ({v},X) is pure in G for every vV(G)X.

step 1.1step 1.2givencases-exhaustive
3.1

That is the module condition of [F1] for X in G, so X is a module of G.

step 2.1F1
LemmaStatement: AI-adaptedProof: AI-generatedprecheck passjudge pass (deepseek-v4-pro + gpt-5.6-terra)audited 2026-08-26Open item page →

In a connected graph, some vertex outside a nonempty proper module is complete to it

Statement

Let G be a connected finite simple graph and let M be a module of G with MV(G). Then some vertex vV(G)M is complete to M.

Facts & Assumptions

Given: A connected finite simple graph G and a module M of G with MV(G).

[F1]

M is a module of G when the pair ({v},M) is pure for every vV(G)M (Modules of a graph, and the trivial modules).

[F2]

A graph is connected when its vertex set is nonempty and every two of its vertices are joined by a path (Connected graphs and connected components defined by the existence of vertex paths).

[F3]

A walk of length is a vertex list (v0,,v) with {vi1,vi}E for every 1i, and a path is a walk whose vertices are distinct (Walks, closed walks, trails, paths and cycles, with length equal to the number of traversed edges).

[F4]

The pair (A,B) of disjoint sets is complete when every aA is adjacent to every bB, anticomplete when no aA is adjacent to any bB, and pure when it is complete or anticomplete (Edges between disjoint vertex sets; complete, anticomplete, pure and mixed pairs).

[L1]

Every nonempty subset of N has a least element (The well-ordering principle).

Proof

technique · direct
1.1

Choose uM and wV(G)M; both choices are possible because M and MV(G).

givenchoose
1.2

Since G is connected there is a path (v0,,v) with v0=u and v=w.

F2F3given
2.1

The set {i:viM} is a nonempty subset of N, since it contains , so it has a least element k; and k1 because v0=uM.

step 1.1step 1.2L1
3.1

By minimality vk1M, and {vk1,vk} is an edge of G because consecutive vertices of a path are adjacent.

step 2.1F3
4.1

Put v=vk. Then vM, so ({v},M) is pure, and it is not anticomplete because v is adjacent to vk1M; hence it is complete, that is, v is complete to M.

step 3.1F1F4
DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (deepseek-v4-pro + gpt-5.6-terra)audited 2026-08-26Open item page →

Prime graphs: those whose only modules are the trivial ones

Definition

A finite simple graph G (A finite simple graph is a finite vertex set together with a set of two-element vertex subsets) is prime when every module of G is trivial, that is, when the only modules of G are , the singletons and V(G) (Modules of a graph, and the trivial modules). Equivalently, G is prime when it has no module M with 2M and MV(G)1 (The cardinality A of a finite set).

Under this convention the null graph, every graph on one vertex and every graph on two vertices is prime, since such a graph has no vertex set at all whose cardinality lies between 2 and V(G)1. Which small graphs a source counts as prime is not uniform in the literature, and the alternatives are recorded in Which small graphs count as prime on this page.

LemmaStatement: AI-adaptedProof: AI-generatedprecheck passjudge pass (deepseek-v4-pro + gpt-5.6-terra)audited 2026-08-26Open item page →

No graph on exactly three vertices is prime

Statement

Every finite simple graph G with V(G)=3 has a nontrivial module, and is therefore not prime.

Facts & Assumptions

Given: A finite simple graph G with V(G)={x,y,z}, three distinct vertices.

[F1]

M is a module of G when the pair ({v},M) is pure for every vV(G)M, and M is nontrivial when 2M and MV(G)1 (Modules of a graph, and the trivial modules, The cardinality A of a finite set).

[F2]

G is prime when every module of G is trivial (Prime graphs: those whose only modules are the trivial ones).

[F3]

The edge set of G is a set of two-element subsets of V(G), and the two-element subsets of {x,y,z} are exactly {x,y}, {x,z} and {y,z} (A finite simple graph is a finite vertex set together with a set of two-element vertex subsets).

[F4]

A disjoint pair is complete when every cross pair is an edge, anticomplete when no cross pair is an edge, and pure when it is complete or anticomplete (Edges between disjoint vertex sets; complete, anticomplete, pure and mixed pairs).

Proof

technique · cases
1.1

By [F3] the graph has at most three edges, so E(G) is 0, 1, 2 or 3, and any two-element MV(G) has M=2=V(G)1, hence is nontrivial once it is a module.

F1F3
1.2

First case: E(G)=0. Take M={x,y}; the only vertex outside is z, and it is adjacent to neither, so ({z},M) is anticomplete.

assume-case noneF3F4
1.3

Second case: E(G)=3. Take M={x,y}; the only vertex outside is z, and by [F3] both {x,z} and {y,z} are edges, so ({z},M) is complete.

assume-case allF3F4
1.4

Third case: E(G)=1, say the single edge is {p,q} and r is the remaining vertex. Take M={p,q}; neither {p,r} nor {q,r} is an edge, since there is only one edge and it is {p,q}, so ({r},M) is anticomplete.

assume-case oneF3F4
1.5

Fourth case: E(G)=2. Each of the three possible edges listed in [F3] meets each of the other two, so the two edges of G share a vertex q; write them as {p,q} and {q,r} with {p,q,r}=V(G). Take M={p,r}; the only vertex outside is q, which is adjacent to both, so ({q},M) is complete.

assume-case twoF3F4
2.1

The four cases cover every value of E(G) allowed by step 1.1, and in each of them the exhibited two-element set M has ({v},M) pure for the single vertex v outside it, so M is a module.

step 1.1step 1.2step 1.3step 1.4step 1.5F1cases-exhaustive
3.1

That module is nontrivial by step 1.1, so G is not prime.

step 2.1F1F2
DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (deepseek-v4-pro + gpt-5.6-terra)audited 2026-08-26Open item page →

Substituting one graph for a vertex of another

Definition

Let G1 and G2 be finite simple graphs (A finite simple graph is a finite vertex set together with a set of two-element vertex subsets), let aV(G1), and assume V(G2) and

(V(G1){a})V(G2)=.

The graph obtained by substituting G2 for a in G1, written G1[aG2], has vertex set

V(G1[aG2]):=(V(G1){a})V(G2),

a union of two disjoint sets, and for distinct vertices p,q of that set the pair {p,q} is an edge exactly in the following three situations (Adjacency, incidence, open and closed neighbourhoods, vertex degree, minimum degree and maximum degree):

  • (S1) p,qV(G1){a} and {p,q}E(G1);
  • (S2) p,qV(G2) and {p,q}E(G2);
  • (S3) one of p,q lies in V(G1){a}, the other lies in V(G2), and the vertex in V(G1){a} is adjacent to a in G1.

Because the two parts of the vertex set are disjoint, every pair of distinct vertices falls under exactly one of the three situations, so the edge set is well defined and G1[aG2] is again a finite simple graph. The construction replaces a by a copy of G2 whose members all inherit the adjacencies a had, and the induced subgraphs on the two parts are G1a and G2 (Subgraphs, induced subgraphs and spanning subgraphs).

The disjointness required is only between V(G1){a} and V(G2). The substituted vertex a may itself belong to V(G2). This is what lets a graph be written as a substitution using two of its own induced subgraphs, with no renaming of vertices; the sources state the construction for graphs with disjoint vertex sets, which is the special case aV(G2), and the two agree up to isomorphism (Graph isomorphisms, automorphisms and graph complements).

G2 must be nonnull. If V(G2) were empty the construction would delete a rather than replace it, and the vertex sets of G1 and G1[aG2] would not correspond.

LemmaStatement: AI-adaptedProof: AI-generatedprecheck passjudge pass (deepseek-v4-pro + gpt-5.6-terra)audited 2026-08-26Open item page →

In G1 with G2 substituted for a, the vertex set of G2 is a module, the two factors are recovered as induced subgraphs, and substituting a one-vertex graph changes nothing

Statement

Let G=G1[aG2] be a substitution (Substituting one graph for a vertex of another), and write U=V(G1){a}. Then:

  1. V(G2) is a module of G;
  2. G[U]=G1[U] and G[V(G2)]=G2;
  3. for every wV(G2), the map φw:V(G1)V(G) that fixes every vertex of U and sends a to w is an induced embedding of G1 into G;
  4. if V(G2)=1 then GG1.

Facts & Assumptions

Given: A substitution G=G1[aG2] with U=V(G1){a}, so that V(G)=UV(G2) is a disjoint union.

[F1]

For distinct vertices of G: two vertices of U are adjacent in G exactly when they are adjacent in G1; two vertices of V(G2) are adjacent in G exactly when they are adjacent in G2; and uU is adjacent in G to xV(G2) exactly when u is adjacent to a in G1 (Substituting one graph for a vertex of another).

[F2]

M is a module of G when the pair ({v},M) is pure for every vV(G)M (Modules of a graph, and the trivial modules).

[F3]

G[W]=(W,E(G)[W]2) (Subgraphs, induced subgraphs and spanning subgraphs).

[F4]

An induced embedding of H in G is an injection φ:V(H)V(G) such that, for all distinct x,yV(H), xyE(H) if and only if φ(x)φ(y)E(G); its image induces a copy of H, the restricted map being an isomorphism onto it (Induced embeddings and induced copies of a graph).

[F5]

A graph isomorphism is a bijection φ:VW with {u,v}E if and only if {φ(u),φ(v)}F for all distinct u,v (Graph isomorphisms, automorphisms and graph complements).

[F6]

A disjoint pair is complete when every cross pair is an edge, anticomplete when no cross pair is an edge, and pure when it is complete or anticomplete (Edges between disjoint vertex sets; complete, anticomplete, pure and mixed pairs).

Proof

technique · direct
1.1

The vertices of G outside V(G2) are exactly those of U, and for uU the adjacency of u to a vertex xV(G2) is the condition that u is adjacent to a in G1, which does not mention x.

F1given
1.2

For p,qU distinct, {p,q}E(G) if and only if {p,q}E(G1); and for p,qV(G2) distinct, {p,q}E(G) if and only if {p,q}E(G2).

F1
1.3

Fix wV(G2) and let φw fix U pointwise and send a to w. It is injective: it is the identity on U, and wU because U and V(G2) are disjoint, so no vertex of U is sent to w.

F4givenconstruct
2.1

By step 1.1, if u is adjacent to a in G1 then u is adjacent in G to every vertex of V(G2), and otherwise to none, so ({u},V(G2)) is pure for every uU; by [F2] this makes V(G2) a module of G, which is claim 1.

step 1.1F2F6
2.2

By step 1.2 the edges of G inside U are the edges of G1 inside U, so G[U]=G1[U]; and the edges of G inside V(G2) are the edges of G2, whose vertex set is V(G2), so G[V(G2)]=G2. This is claim 2.

step 1.2F3
2.3

For distinct p,qU, step 1.2 gives {p,q}E(G1) if and only if {φw(p),φw(q)}={p,q}E(G); and for uU, step 1.1 gives {u,a}E(G1) if and only if {u,w}={φw(u),φw(a)}E(G). Every pair of distinct vertices of G1 is of one of these two shapes, so φw is an induced embedding, which is claim 3.

step 1.1step 1.2step 1.3F4
3.1

If V(G2)=1, say V(G2)={w}, then the image of φw is U{w}=V(G), so φw is a bijection onto V(G) preserving and reflecting adjacency, that is, an isomorphism G1G; this is claim 4.

step 2.3F4F5
LemmaStatement: AI-adaptedProof: AI-generatedprecheck passjudge pass (deepseek-v4-pro + gpt-5.6-terra)audited 2026-08-26Open item page →

The complement of G1[aG2] is G1[aG2]

Statement

Let G1[aG2] be a substitution. Then G1[aG2] is also a substitution, and

G1[aG2]=G1[aG2].

Facts & Assumptions

Given: A substitution G1[aG2], with U=V(G1){a} disjoint from V(G2) and V(G2).

[F1]

For distinct vertices of G1[aG2]: two vertices of U are adjacent exactly when they are adjacent in G1; two vertices of V(G2) are adjacent exactly when they are adjacent in G2; and uU is adjacent to xV(G2) exactly when u is adjacent to a in G1. The vertex set is UV(G2) (Substituting one graph for a vertex of another).

[F2]

The complement of G=(V,E) is G=(V,[V]2E), so distinct vertices are adjacent in G exactly when they are not adjacent in G (Graph isomorphisms, automorphisms and graph complements).

Proof

technique · cases
1.1

The graphs G1 and G2 have the same vertex sets as G1 and G2, and aV(G1), so G1[aG2] is a substitution with the same hypotheses and the same vertex set UV(G2) as G1[aG2]; hence both sides of the claimed identity are graphs on that set.

F1F2
1.2

First case: distinct p,qU. Then {p,q} is an edge of G1[aG2] exactly when it is not an edge of G1, that is, exactly when it is an edge of G1, which is exactly the condition for it to be an edge of G1[aG2].

assume-case hostF1F2
1.3

Second case: distinct p,qV(G2). Then {p,q} is an edge of G1[aG2] exactly when it is not an edge of G2, that is, exactly when it is an edge of G2, which is exactly the condition for it to be an edge of G1[aG2].

assume-case insertedF1F2
1.4

Third case: uU and xV(G2). Then {u,x} is an edge of G1[aG2] exactly when {u,a}E(G1), that is, exactly when {u,a}E(G1), which is exactly the condition for {u,x} to be an edge of G1[aG2].

assume-case crossF1F2
2.1

Every pair of distinct vertices of UV(G2) falls under exactly one of the three cases, because the union is disjoint, so the three cases are exhaustive.

step 1.2step 1.3step 1.4F1cases-exhaustive
3.1

The two graphs of step 1.1 therefore have the same vertex set and the same edge set, so they are equal.

step 1.1step 2.1
TheoremStatement: Literature-sourcedProof: AI-generatedprecheck passjudge pass (deepseek-v4-pro + gpt-5.6-terra)audited 2026-08-26Open item page →

A graph with at least two vertices is prime exactly when it is not obtained by substituting one graph on at least two vertices for a vertex of another graph on at least two vertices

Statement

Let G be a finite simple graph with V(G)2. Then G is prime (Prime graphs: those whose only modules are the trivial ones) if and only if there is no substitution G1[aG2] (Substituting one graph for a vertex of another) with V(G1)2 and V(G2)2 such that GG1[aG2].

Facts & Assumptions

Given: A finite simple graph G with V(G)2.

[F1]

G is prime when every module of G is trivial; equivalently, when G has no module M with 2M and MV(G)1 (Prime graphs: those whose only modules are the trivial ones).

[F2]

M is a module of G when the pair ({v},M) is pure for every vV(G)M (Modules of a graph, and the trivial modules).

[F3]

The vertex set of G1[aG2] is (V(G1){a})V(G2), a disjoint union; two vertices of V(G1){a} are adjacent there exactly when they are adjacent in G1, two vertices of V(G2) exactly when they are adjacent in G2, and uV(G1){a} is adjacent to xV(G2) exactly when u is adjacent to a in G1 (Substituting one graph for a vertex of another).

[L2]

For a module M of G: for all x,yM and all vV(G)M, vxE(G) if and only if vyE(G) (Three equivalent descriptions of a module: purity of every outside vertex, equality of outside neighbourhoods, and indistinguishability of the members).

[F4]

G[W]=(W,E(G)[W]2) (Subgraphs, induced subgraphs and spanning subgraphs).

[F5]

A graph isomorphism is a bijection φ:VW such that, for all distinct u,vV, {u,v}E if and only if {φ(u),φ(v)}F (Graph isomorphisms, automorphisms and graph complements).

[F6]

A bijection transports finiteness and cardinality: if A is finite and f:AB is a bijection then B=A (The cardinality A of a finite set).

Proof

technique · direct
1.1

Let θ:V(H)V(G) be an isomorphism and let M be a module of H. For vV(G)θ[M] the vertex θ1(v) lies outside M, so it is adjacent in H to every vertex of M or to none; since θ preserves and reflects adjacency, v is adjacent in G to every vertex of θ[M] or to none. Hence θ[M] is a module of G, and θ[M]=M, V(G)=V(H) and θ[M]=V(G) exactly when M=V(H).

F2F5F6
1.2

For the direction from a substitution to non-primality, suppose GG1[aG2] with V(G1)2 and V(G2)2, and write H=G1[aG2] and M=V(G2). Then M is a module of H by [L1], M2, and V(H)M=V(G1){a} is nonempty because V(G1)2, so MV(H).

L1F3given
1.3

For the converse direction, suppose G is not prime, so by [F1] it has a module M with 2M and MV(G)1; fix xM and put G2=G[M] and G1=G[(V(G)M){x}].

F1F4choose
2.1

In the first direction, step 1.1 applied to an isomorphism HG turns M into a module M of G with M=M2 and MV(G), so MV(G)1 and G is not prime by [F1].

step 1.1step 1.2F1F6
2.2

In the converse direction, V(G1){x}=V(G)M is disjoint from V(G2)=M and is nonempty because MV(G)1, and V(G2); so G1[xG2] is a substitution, its vertex set is (V(G)M)M=V(G), and V(G2)=M2 while V(G1)=V(G)M+12.

step 1.3F3F6
3.1

Still in the converse direction, take distinct p,qV(G). If both lie in V(G)M then {p,q} is an edge of G1[xG2] exactly when it is an edge of G1, hence exactly when it is an edge of G; if both lie in M the same holds with G2 in place of G1; and if pV(G)M and qM then {p,q} is an edge of G1[xG2] exactly when {p,x}E(G1), that is exactly when {p,x}E(G), which by [L2] applied to the module M with x,qM and pM holds exactly when {p,q}E(G).

step 1.3step 2.2F3F4L2
4.1

So in the converse direction G1[xG2] and G have the same vertex set and the same edges, hence G=G1[xG2] is a substitution with both factors on at least two vertices.

step 2.2step 3.1
5.1

Step 2.1 shows that a graph isomorphic to such a substitution is not prime, and step 4.1 shows that a graph that is not prime is such a substitution; these are the two directions of the stated equivalence.

step 2.1step 4.1
DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (deepseek-v4-pro + gpt-5.6-terra)audited 2026-08-26Open item page →

Modular partitions and the quotient graph they define

Definition

Let G be a finite simple graph (A finite simple graph is a finite vertex set together with a set of two-element vertex subsets). A modular partition of G is a set P of nonempty modules of G (Modules of a graph, and the trivial modules) that are pairwise disjoint and whose union is V(G). Its members are its parts. Since the parts are nonempty and pairwise disjoint subsets of the finite set V(G), there are finitely many of them (The cardinality A of a finite set).

The quotient graph G/P has vertex set P, and for distinct parts M,NP,

{M,N}E(G/P):(M,N) is a complete pair in G

(Edges between disjoint vertex sets; complete, anticomplete, pure and mixed pairs).

Why this is a definition and not a wish. Two distinct parts are disjoint nonempty modules, so the pair they form is complete or anticomplete and not both (Two disjoint nonempty modules form a complete or an anticomplete pair). The displayed condition is therefore a genuine dichotomy: for each unordered pair of distinct parts exactly one of "complete" and "anticomplete" holds, and E(G/P) is a well-defined set of two-element subsets of P. Hence G/P is a finite simple graph.

The partition of V(G) into singletons is modular, and its quotient is G itself up to the renaming v{v}; when V(G) the partition {V(G)} is modular too, and its quotient is the one-vertex graph. The induced subgraphs G[M] on the parts (Subgraphs, induced subgraphs and spanning subgraphs) carry the information the quotient discards.

LemmaStatement: Literature-sourcedProof: AI-generatedprecheck passjudge pass (deepseek-v4-pro + gpt-5.6-terra)audited 2026-08-26Open item page →

For a modular partition, a set of parts is a module of the quotient exactly when the union of those parts is a module of the graph

Statement

Let P be a modular partition of a finite simple graph G, let XP, and let U=MXM. Then X is a module of G/P if and only if U is a module of G.

Facts & Assumptions

Given: A modular partition P of a finite simple graph G, a subset XP, and the union U=MXM.

[F1]

M is a module of G when the pair ({v},M) is pure for every vV(G)M (Modules of a graph, and the trivial modules).

[F2]

A modular partition of G is a set of nonempty, pairwise disjoint modules of G whose union is V(G); the quotient G/P has vertex set P, with distinct parts M,N adjacent exactly when (M,N) is a complete pair in G (Modular partitions and the quotient graph they define).

[L1]

Two disjoint nonempty modules of G form a complete or an anticomplete pair, and not both (Two disjoint nonempty modules form a complete or an anticomplete pair).

[F3]

A disjoint pair is complete when every cross pair is an edge, anticomplete when no cross pair is an edge, and pure when it is complete or anticomplete (Edges between disjoint vertex sets; complete, anticomplete, pure and mixed pairs).

Proof

technique · direct
1.1

Since the parts are nonempty, pairwise disjoint and cover V(G), a vertex v lies outside U exactly when the unique part N containing it lies outside X; and N is then disjoint from every MX.

F2
1.2

For NPX, MX and vN, the pair (N,M) is complete or anticomplete by [L1]; it is complete exactly when v is adjacent to every vertex of M, and anticomplete exactly when v is adjacent to no vertex of M, because M and N are nonempty and the alternative is excluded.

L1F3F2
2.1

For the forward direction, assume X is a module of G/P and let vV(G)U, lying in the part NX of step 1.1. Then N is adjacent in G/P to every member of X or to none. In the first case every (N,M) with MX is complete, so by step 1.2 the vertex v is adjacent to every vertex of U; in the second case every such (N,M) is anticomplete, so v is adjacent to no vertex of U.

step 1.1step 1.2F1F2
2.2

For the converse direction, assume U is a module of G and let NPX, which is a vertex of G/P outside X. Choose vN; then vU by step 1.1, so v is adjacent to every vertex of U or to no vertex of U. In the first case step 1.2 makes every pair (N,M) with MX complete, so N is adjacent in G/P to every member of X; in the second case every such pair is anticomplete, so N is adjacent to none of them.

step 1.1step 1.2F1F2choose
3.1

Step 2.1 makes ({v},U) pure for every vV(G)U, so U is a module of G, and step 2.2 makes ({N},X) pure in G/P for every part N outside X, so X is a module of G/P; together these are the two directions of the equivalence.

step 2.1step 2.2F1F3
TheoremStatement: AI-adaptedProof: AI-generatedprecheck passjudge pass (deepseek-v4-pro + gpt-5.6-terra)audited 2026-08-26Open item page →

A graph is recovered from any modular partition by the induced subgraphs on the parts together with the quotient graph

Statement

Let P be a modular partition of a finite simple graph G, and let x,y be distinct vertices of G, lying in the parts M,NP respectively. Then

  • if MN: {x,y}E(G) if and only if {M,N}E(G/P);
  • if M=N: {x,y}E(G) if and only if {x,y}E(G[M]).

Consequently E(G) is determined by G/P together with the induced subgraphs G[M] for MP. In particular, if P={M1,M2} has exactly the two parts M1,M2 and tM2, then G=G[M1{t}][tG[M2]].

Facts & Assumptions

Given: A modular partition P of a finite simple graph G, and distinct vertices xM and yN with M,NP.

[F1]

A modular partition of G is a set of nonempty, pairwise disjoint modules of G whose union is V(G); the quotient G/P has vertex set P, with distinct parts M,N adjacent exactly when (M,N) is a complete pair in G (Modular partitions and the quotient graph they define).

[L1]

Two disjoint nonempty modules of G form a complete or an anticomplete pair, and not both (Two disjoint nonempty modules form a complete or an anticomplete pair).

[F2]

A disjoint pair is complete when every cross pair is an edge, anticomplete when no cross pair is an edge, and pure when it is complete or anticomplete (Edges between disjoint vertex sets; complete, anticomplete, pure and mixed pairs).

[F3]

G[W]=(W,E(G)[W]2) (Subgraphs, induced subgraphs and spanning subgraphs).

[F4]

The vertex set of G1[aG2] is (V(G1){a})V(G2), a disjoint union; two vertices of V(G1){a} are adjacent there exactly when they are adjacent in G1, two vertices of V(G2) exactly when they are adjacent in G2, and uV(G1){a} is adjacent to xV(G2) exactly when u is adjacent to a in G1 (Substituting one graph for a vertex of another).

[L2]

For a module M of G: for all x,yM and all vV(G)M, vxE(G) if and only if vyE(G) (Three equivalent descriptions of a module: purity of every outside vertex, equality of outside neighbourhoods, and indistinguishability of the members).

[F5]

M is a module of G when the pair ({v},M) is pure for every vV(G)M (Modules of a graph, and the trivial modules).

Proof

technique · cases
1.1

First case: MN. The parts are disjoint nonempty modules, so (M,N) is complete or anticomplete and not both; if it is complete then {x,y}E(G), and if it is anticomplete then {x,y}E(G). Since {M,N}E(G/P) says exactly that (M,N) is complete, the two conditions agree.

assume-case acrossF1L1F2
1.2

Second case: M=N. Then x,y are distinct vertices of M, and the edges of G[M] are the edges of G with both ends in M, so {x,y}E(G) if and only if {x,y}E(G[M]).

assume-case insideF3
1.3

Suppose now that P={M1,M2} with M1M2, fix tM2 and put G1=G[M1{t}] and G2=G[M2]. Then V(G1){t}=M1 is disjoint from V(G2)=M2, and M2, so G1[tG2] is a substitution with vertex set M1M2=V(G).

F1F3F4choose
2.1

Every pair of distinct vertices of G falls into exactly one of the two cases, since each vertex lies in exactly one part, so the cases are exhaustive and steps 1.1 and 1.2 determine E(G) from G/P and the graphs G[M].

step 1.1step 1.2F1cases-exhaustive
2.2

In the two-part situation of step 1.3, take distinct p,qV(G). If p,qM1, then {p,q} is an edge of G1[tG2] exactly when it is an edge of G1, hence exactly when it is an edge of G; if p,qM2 the same holds through G2; and if pM1 and qM2, then {p,q} is an edge of G1[tG2] exactly when {p,t}E(G1), that is exactly when {p,t}E(G), which by [L2] applied to the module M2 with t,qM2 and pM2 holds exactly when {p,q}E(G).

step 1.3F3F4L2F5
3.1

So in the two-part situation the graphs G and G[M1{t}][tG[M2]] have the same vertex set and the same edges, and are therefore equal; with step 2.1 this proves every clause of the Statement.

step 2.1step 2.2
LemmaStatement: AI-adaptedProof: AI-adaptedprecheck passjudge pass (deepseek-v4-pro + gpt-5.6-terra)audited 2026-08-26Open item page →

The quotient by a modular partition is isomorphic to the subgraph induced by any set meeting each part exactly once

Statement

Let P be a modular partition of a finite simple graph G and let TV(G) meet every part of P in exactly one vertex. Then G[T]G/P. Such a set T exists, so the quotient is isomorphic to an induced subgraph of G.

Facts & Assumptions

Given: A modular partition P of a finite simple graph G, and a set TV(G) with MT=1 for every MP.

[F1]

A modular partition of G is a set of nonempty, pairwise disjoint modules of G whose union is V(G); the quotient G/P has vertex set P, with distinct parts M,N adjacent exactly when (M,N) is a complete pair in G; and P is finite (Modular partitions and the quotient graph they define, A finite simple graph is a finite vertex set together with a set of two-element vertex subsets).

[L1]

Two disjoint nonempty modules of G form a complete or an anticomplete pair, and not both (Two disjoint nonempty modules form a complete or an anticomplete pair).

[F2]

A disjoint pair is complete when every cross pair is an edge, anticomplete when no cross pair is an edge, and pure when it is complete or anticomplete (Edges between disjoint vertex sets; complete, anticomplete, pure and mixed pairs).

[F3]

G[T]=(T,E(G)[T]2), so two vertices of T are adjacent in G[T] exactly when they are adjacent in G (Subgraphs, induced subgraphs and spanning subgraphs).

[F4]

A graph isomorphism is a bijection φ:VW such that, for all distinct u,vV, {u,v}E if and only if {φ(u),φ(v)}F (Graph isomorphisms, automorphisms and graph complements).

[F5]

M is a module of G when the pair ({v},M) is pure for every vV(G)M (Modules of a graph, and the trivial modules).

Proof

technique · direct
1.1

Define φ:PT by letting φ(M) be the unique vertex of MT. This is injective, because distinct parts are disjoint and φ(M)M; and it is surjective, because every tT lies in exactly one part M, and then tMT, so t=φ(M).

F1givenconstruct
1.2

Let M,NP be distinct. The pair (M,N) is complete or anticomplete and not both, so if it is complete then φ(M)φ(N)E(G), and if it is anticomplete then φ(M)φ(N)E(G).

L1F2F5given
2.1

By the definition of the quotient, {M,N}E(G/P) says exactly that (M,N) is complete, so step 1.2 gives {M,N}E(G/P) if and only if {φ(M),φ(N)}E(G); and since φ(M),φ(N)T, that is the same as {φ(M),φ(N)}E(G[T]).

step 1.2F1F3
3.1

So φ is a bijection from V(G/P)=P onto T=V(G[T]) that preserves and reflects adjacency, hence an isomorphism G/PG[T].

step 1.1step 2.1F4
4.1

A set T as in the Statement exists: the parts are nonempty and there are finitely many of them, so selecting one vertex from each is a choice from a finite family of nonempty sets and needs no further principle. Hence the quotient is isomorphic to an induced subgraph of G.

step 3.1F1choose
LemmaStatement: AI-adaptedProof: AI-generatedprecheck passjudge pass (deepseek-v4-pro + gpt-5.6-terra)audited 2026-08-26Open item page →

In a connected and anticonnected graph, the union of two proper modules that meet is again a proper module

Statement

Let G be a finite simple graph that is both connected and anticonnected, and let M,N be proper modules of G with MN. Then MN is a proper module of G.

Facts & Assumptions

Given: A connected and anticonnected finite simple graph G, and proper modules M,N of G with MN.

[F1]

M is a module of G when the pair ({v},M) is pure for every vV(G)M, and M is proper when MV(G) (Modules of a graph, and the trivial modules).

[L1]

The union of two modules with a common vertex is a module (The union of two modules with a common vertex is a module).

[L2]

In a connected graph, if M is a module with MV(G), then some vertex outside M is complete to M (In a connected graph, some vertex outside a nonempty proper module is complete to it).

[L3]

A vertex set is a module of G if and only if it is a module of G (A vertex set is a module of G exactly when it is a module of G).

[L4]

For a module N of G: for all p,qN and all xV(G)N, xpE(G) if and only if xqE(G) (Three equivalent descriptions of a module: purity of every outside vertex, equality of outside neighbourhoods, and indistinguishability of the members).

[F3]

A disjoint pair is complete when every cross pair is an edge and anticomplete when no cross pair is an edge; distinct vertices are adjacent in G exactly when they are not adjacent in G (Edges between disjoint vertex sets; complete, anticomplete, pure and mixed pairs, Graph isomorphisms, automorphisms and graph complements).

Proof

technique · contradiction
1.1

The set MN is a module of G by [L1], since MN. Suppose for contradiction that MN=V(G).

L1assume-contragiven
1.2

The set M is nonempty, since it contains a vertex of MN, and MV(G) because M is proper.

F1given
2.1

If MN were empty then MN, so N=MN=V(G) by step 1.1, which is false because N is proper; hence MN, and V(G)M=NM, again by step 1.1.

step 1.1F1
2.2

Since G is connected and M is a module with MV(G), some vertex vV(G)M is complete to M.

step 1.2L2given
2.3

The set M is a module of G as well, and G is connected with the same vertex set as G, so some vertex vV(G)M is complete to M in G; that is, v is adjacent in G to no vertex of M.

step 1.2L2L3F2F3
3.1

Choose xMN. Then xN, while v and v both lie in V(G)M=NMN, so [L4] applied to the module N gives that xvE(G) if and only if xvE(G).

step 2.1step 2.2step 2.3L4choose
4.1

But v is complete to M and xM, so xvE(G), while v is adjacent to no vertex of M, so xvE(G); this contradicts step 3.1. Hence MNV(G), and being a module it is a proper module.

step 1.1step 3.1F3discharge-contradiction
LemmaStatement: AI-adaptedProof: AI-generatedprecheck passjudge pass (deepseek-v4-pro + gpt-5.6-terra)audited 2026-08-26Open item page →

In a connected and anticonnected graph with at least two vertices, each vertex lies in a largest proper module, and two such modules are equal or disjoint

Statement

Let G be a connected and anticonnected finite simple graph with V(G)2. For vV(G) write M(v) for the set of proper modules of G containing v. Then M(v) has a member M(v) that contains every member of M(v); it is the largest proper module containing v. Moreover, for u,vV(G) either M(u)=M(v) or M(u)M(v)=; and every vertex v lies in M(v), so the sets M(v) cover V(G).

Facts & Assumptions

Given: A connected and anticonnected finite simple graph G with V(G)2, and a vertex vV(G).

[F1]

M is a module of G when the pair ({w},M) is pure for every wV(G)M; the singletons are modules, and M is proper when MV(G) (Modules of a graph, and the trivial modules).

[L1]

In a connected and anticonnected graph, the union of two proper modules that meet is again a proper module (In a connected and anticonnected graph, the union of two proper modules that meet is again a proper module).

[L2]

Every subset of a finite set is finite, has cardinality at most that of the set, and has that cardinality only if it is the whole set (A subset of a finite set is finite, with BA, and equality holds if and only if B=A).

[L3]

Every nonempty subset of N has a least element (The well-ordering principle).

[F2]

The cardinality A of a finite set is a natural number (The cardinality A of a finite set).

Proof

technique · direct
1.1

The singleton {v} is a module of G, and {v}V(G) because V(G)2, so {v}M(v) and M(v) is nonempty.

F1given
1.2

Every member of M(v) is a subset of the finite set V(G), so its cardinality is a natural number at most V(G).

L2F2
2.1

The set {V(G)M:MM(v)} is a nonempty subset of N by steps 1.1 and 1.2, so it has a least element; a member MM(v) attaining it has MM for every MM(v).

step 1.1step 1.2L3choose
3.1

Let MM(v). Both M and M are proper modules containing v, so they meet, and [L1] makes MM a proper module; it contains v, so it lies in M(v) and step 2.1 gives MMM.

step 2.1L1F1
4.1

Since MMM and the two have equal cardinality by step 3.1 and [L2], they are equal, so MM. Writing M(v)=M, this is a proper module containing v and containing every proper module that contains v.

step 3.1L2
5.1

If M(u)M(v) then M(u)M(v) is a proper module by [L1]; it contains u, so step 4.1 gives M(u)M(v)M(u) and hence M(v)M(u), and by symmetry M(u)M(v), so M(u)=M(v). Otherwise the two are disjoint, and every vertex v lies in M(v).

step 4.1L1
TheoremStatement: Literature-sourcedProof: AI-generatedprecheck passjudge pass (deepseek-v4-pro + gpt-5.6-terra)audited 2026-08-26Open item page →

Gallai's modular decomposition theorem: a graph on at least two vertices is disconnected, or has a disconnected complement, or has a modular partition into its maximal proper modules whose quotient is prime

Statement

Let G be a finite simple graph with V(G)2. Then exactly one of the following holds.

  1. G is disconnected. The vertex sets of its connected components form a modular partition of G, and the quotient by that partition has no edge.
  2. G is disconnected. The anticomponents of G form a modular partition of G, and the quotient by that partition has every pair of distinct vertices as an edge.
  3. G and G are both connected. The maximal proper modules M(v), vV(G), form a modular partition of G with at least two parts, and the quotient by that partition is prime.

Facts & Assumptions

Given: A finite simple graph G with V(G)2.

[L1]

In a connected and anticonnected graph with at least two vertices, each vertex v lies in a largest proper module M(v), any two of these are equal or disjoint, and they cover V(G) (In a connected and anticonnected graph with at least two vertices, each vertex lies in a largest proper module, and two such modules are equal or disjoint).

[L2]

Every union of vertex sets of connected components is a module, with every outside vertex anticomplete to it, and every union of anticomponents is a module, with every outside vertex complete to it (Every union of connected components is a module, and so is every union of anticonnected components).

[L3]

Every finite graph with at least two vertices is connected or anticonnected (Every graph with at least two vertices is connected or anticonnected, Anticonnected graphs and anticonnected components).

[F1]

A modular partition of G is a set of nonempty, pairwise disjoint modules of G whose union is V(G); the quotient G/P has vertex set P, with distinct parts M,N adjacent exactly when (M,N) is a complete pair in G (Modular partitions and the quotient graph they define).

[L4]

For a modular partition P and XP, the set X is a module of G/P if and only if MXM is a module of G (For a modular partition, a set of parts is a module of the quotient exactly when the union of those parts is a module of the graph).

[F2]

G is prime when every module of G is trivial, the trivial modules being , the singletons and the whole vertex set (Prime graphs: those whose only modules are the trivial ones, Modules of a graph, and the trivial modules).

[L5]

The vertex sets of the connected components are nonempty, cover V(G), and any two are equal or disjoint; a graph is disconnected when it has a vertex and two of its vertices are joined by no path, and then it has at least two components (The connected components of a graph partition its vertex set and are its maximal connected subgraphs, Connected graphs and connected components defined by the existence of vertex paths).

[L6]

The anticomponents of G are exactly the vertex sets of the connected components of G, and they partition V(G) (The anticonnected components of G are exactly the connected components of G).

[L7]

Distinct connected components are anticomplete to one another, and distinct anticomponents are complete to one another (Distinct connected components are anticomplete, and distinct anticonnected components are complete).

Proof

technique · cases
1.1

By [L3] the graph is connected or anticonnected, so it is not the case that both G and G are disconnected; the three listed situations are therefore mutually exclusive, and they are exhaustive because G is disconnected, or G is disconnected, or both are connected.

L3
1.2

First case: G is disconnected. By [L5] the vertex sets of its components are nonempty, pairwise disjoint and cover V(G), and by [L2] each is a module, so they form a modular partition P.

assume-case discL2L5F1
1.3

Second case: G is disconnected, that is, G is not anticonnected. By [L6] the anticomponents are nonempty, pairwise disjoint and cover V(G), and by [L2] each is a module, so they form a modular partition Q.

assume-case codiscL2L6F1
1.4

Third case: G and G are both connected, so G is connected and anticonnected. By [L1] the sets M(v) are proper modules, pairwise equal or disjoint, and cover V(G); they are nonempty since vM(v), so the distinct ones form a modular partition R.

assume-case bothL1F1
2.1

In the first case, distinct components are anticomplete to one another by [L7], so no pair of distinct parts of P is complete and the quotient G/P has no edge.

step 1.2L7F1
2.2

In the second case, distinct anticomponents are complete to one another by [L7], so every pair of distinct parts of Q is complete and every pair of distinct vertices of G/Q is an edge.

step 1.3L7F1
2.3

In the third case R has at least two parts: a single part would be M(v)=V(G) for some v, contradicting that M(v) is proper.

step 1.4L1F1
3.1

Still in the third case, let X be a module of G/R that is neither nor R, and put U=MXM. By [L4] the set U is a module of G, and UV(G) because some part outside X is nonempty and disjoint from U, so U is a proper module.

step 1.4step 2.3L4F1
4.1

Choose MX, possible because X, and xM, possible because parts are nonempty. Then M=M(u) for some u, and M(x) meets M(u) at x, so M(x)=M by [L1]; the set U is a proper module containing x, so maximality gives UM(x)=M. Every MX therefore satisfies MM, and a part distinct from M is disjoint from M and nonempty, so no such part lies in X: that is, X={M}.

step 3.1L1F1choose
5.1

So in the third case every module of G/R is , a singleton or all of R, that is, G/R is prime; with steps 1.1, 2.1, 2.2 and 2.3 this proves all three clauses and their mutual exclusion.

step 1.1step 2.1step 2.2step 2.3step 4.1F2cases-exhaustive
CorollaryStatement: AI-adaptedProof: AI-generatedprecheck passjudge pass (deepseek-v4-pro + gpt-5.6-terra)audited 2026-08-26Open item page →

The prime quotient produced by the modular decomposition of a connected and anticonnected graph has at least four vertices

Statement

Let G be a connected and anticonnected finite simple graph with V(G)2, and let R be the modular partition of G into its maximal proper modules, whose quotient is prime (Gallai's modular decomposition theorem: a graph on at least two vertices is disconnected, or has a disconnected complement, or has a modular partition into its maximal proper modules whose quotient is prime). Then R4, so the prime quotient G/R has at least four vertices.

Facts & Assumptions

Given: A connected and anticonnected finite simple graph G with V(G)2, and its partition R into maximal proper modules, with G/R prime and R2.

[L1]

For a connected and anticonnected graph with at least two vertices, the maximal proper modules form a modular partition with at least two parts whose quotient is prime (Gallai's modular decomposition theorem: a graph on at least two vertices is disconnected, or has a disconnected complement, or has a modular partition into its maximal proper modules whose quotient is prime).

[F1]

A modular partition of G is a set of nonempty, pairwise disjoint modules of G whose union is V(G); the quotient has vertex set R (Modular partitions and the quotient graph they define, The cardinality A of a finite set).

[F2]

M is a module of G when the pair ({v},M) is pure for every vV(G)M, and M is proper when MV(G) (Modules of a graph, and the trivial modules).

[L2]

In a connected graph, if M is a module with MV(G), then some vertex outside M is complete to M (In a connected graph, some vertex outside a nonempty proper module is complete to it).

[L3]

A vertex set is a module of G if and only if it is a module of G (A vertex set is a module of G exactly when it is a module of G).

[L4]

Every finite simple graph on exactly three vertices has a nontrivial module, and is therefore not prime (No graph on exactly three vertices is prime).

[F3]

G is prime when every module of G is trivial (Prime graphs: those whose only modules are the trivial ones).

[F4]

G is anticonnected when G is connected, and G has the same vertex set as G; distinct vertices are adjacent in G exactly when they are not adjacent in G (Anticonnected graphs and anticonnected components, Connected graphs and connected components defined by the existence of vertex paths, Graph isomorphisms, automorphisms and graph complements).

[F5]

A disjoint pair is complete when every cross pair is an edge and anticomplete when no cross pair is an edge (Edges between disjoint vertex sets; complete, anticomplete, pure and mixed pairs).

Proof

technique · cases
1.1

By [L1] the partition R has at least two parts, so R2 and it remains to exclude R=2 and R=3.

L1F1
1.2

First case: R=2, say R={M1,M2}. Then M1 is a nonempty module of G and M1V(G), since M2 is nonempty and disjoint from it, so V(G)M1=M2.

assume-case twoF1F2
1.3

Second case: R=3. Then G/R is a finite simple graph on exactly three vertices, so it has a nontrivial module and is not prime.

assume-case threeF1L4
2.1

In the first case, G is connected, so [L2] gives a vertex vM2 complete to M1; and M1 is a module of G by [L3], with G connected because G is anticonnected, so [L2] applied in G gives a vertex vM2 complete to M1 in G, that is, adjacent in G to no vertex of M1.

step 1.2L2L3F4F5
3.1

Still in the first case, M2 is a module of G and M1 is nonempty, so picking xM1, which lies outside M2, the two vertices v,vM2 satisfy xvE(G) if and only if xvE(G); but step 2.1 makes xv an edge and xv a non-edge. So R=2 is impossible.

step 1.2step 2.1F2F5choose
4.1

The second case contradicts the primality of G/R supplied by [L1], so R=3 is impossible as well; the two excluded cases together with step 1.1 leave R4.

step 1.1step 1.3step 3.1L1F3cases-exhaustive
CorollaryStatement: AI-adaptedProof: AI-generatedprecheck passjudge pass (deepseek-v4-pro + gpt-5.6-terra)audited 2026-08-26Open item page →

In a connected and anticonnected graph, a modular partition with at least two parts whose quotient is prime consists of the maximal proper modules

Statement

Let G be a connected and anticonnected finite simple graph with V(G)2, and let P be a modular partition of G with at least two parts whose quotient G/P is prime. Then every part of P is a maximal proper module M(v), and P is the partition of G into its maximal proper modules. In particular G has exactly one modular partition with at least two parts and a prime quotient, namely the one produced by Gallai's modular decomposition theorem: a graph on at least two vertices is disconnected, or has a disconnected complement, or has a modular partition into its maximal proper modules whose quotient is prime.

Facts & Assumptions

Given: A connected and anticonnected finite simple graph G with V(G)2, and a modular partition P of G with at least two parts and G/P prime.

[F1]

A modular partition of G is a set of nonempty, pairwise disjoint modules of G whose union is V(G); the quotient has vertex set P (Modular partitions and the quotient graph they define).

[F2]

M is a module of G when the pair ({v},M) is pure for every vV(G)M, and M is proper when MV(G) (Modules of a graph, and the trivial modules).

[F3]

A graph is prime when every module of it is trivial, the trivial modules being the empty set, the singletons and the whole vertex set (Prime graphs: those whose only modules are the trivial ones).

[L1]

For a modular partition P and XP, the set X is a module of G/P if and only if MXM is a module of G (For a modular partition, a set of parts is a module of the quotient exactly when the union of those parts is a module of the graph).

[L2]

In a connected and anticonnected graph, the union of two proper modules that meet is again a proper module (In a connected and anticonnected graph, the union of two proper modules that meet is again a proper module).

[L3]

In a connected and anticonnected graph with at least two vertices, each vertex v lies in a largest proper module M(v), any two of these are equal or disjoint, and they cover V(G) (In a connected and anticonnected graph with at least two vertices, each vertex lies in a largest proper module, and two such modules are equal or disjoint).

Proof

technique · direct
1.1

Every part NP is a nonempty module of G, and NV(G) because P has another part, which is nonempty and disjoint from N; so every part is a proper module.

F1F2given
2.1

Fix M0P and xM0, and let M(x) be the largest proper module of G containing x. Then M0M(x) by step 1.1 and the maximality in [L3].

step 1.1L3choose
3.1

Let X={NP:NM(x)} and let NX. Both N and M(x) are proper modules and they meet, so NM(x) is a proper module by [L2]; it contains x, so [L3] gives NM(x)M(x) and hence NM(x).

step 1.1step 2.1L2L3
4.1

Every vertex of M(x) lies in a part, and that part meets M(x) and so lies in X; with step 3.1 this gives M(x)=NXN.

step 3.1F1
5.1

By [L1] the set X is therefore a module of G/P, hence trivial by [F3]. It is not empty, since M0X by step 2.1; and it is not all of P, since that would give M(x)=V(G), contradicting properness. So X is a singleton, and by step 2.1 its unique member is M0, whence M(x)=M0.

step 2.1step 4.1L1F1F3
6.1

So each part of P equals M(x) for each of its vertices x, and conversely each M(v) is the part containing v by the same computation; hence P is exactly the set of maximal proper modules, which by [L4] is a modular partition with at least two parts and a prime quotient, and no other modular partition of G with at least two parts has a prime quotient.

step 5.1L3L4
LemmaStatement: AI-adaptedProof: AI-generatedprecheck passjudge pass (deepseek-v4-pro + gpt-5.6-terra)audited 2026-08-26Open item page →

hom(G[W])hom(G) for every vertex subset W

Statement

Let G be a finite simple graph and WV(G). Then ω(G[W])ω(G), α(G[W])α(G), and consequently hom(G[W])hom(G).

Facts & Assumptions

Given: A finite simple graph G and a set WV(G).

[F1]

A set XV(G) is a clique when every two distinct vertices of X are adjacent and a stable set when no two distinct vertices of X are adjacent; ω(G) and α(G) are the largest cardinalities of a clique and of a stable set (Cliques, stable sets, the clique number ω(G) and stability number α(G)).

[F3]

G[W]=(W,E(G)[W]2), so two vertices of W are adjacent in G[W] exactly when they are adjacent in G (Subgraphs, induced subgraphs and spanning subgraphs).

Proof

technique · direct
1.1

Let XW be a clique of G[W]. Every two distinct vertices of X are adjacent in G[W], hence adjacent in G, so X is a clique of G.

F1F3
1.2

Let XW be a stable set of G[W]. No two distinct vertices of X are adjacent in G[W], hence none are adjacent in G, so X is a stable set of G.

F1F3
2.1

Every clique of G[W] is therefore a clique of G, so the largest cardinality of a clique of G[W] is at most that of a clique of G: ω(G[W])ω(G). The same argument with step 1.2 gives α(G[W])α(G).

step 1.1step 1.2F1
3.1

Taking the larger of the two numbers on each side, hom(G[W])=max{ω(G[W]),α(G[W])}max{ω(G),α(G)}=hom(G).

step 2.1F2algebra
LemmaStatement: AI-adaptedProof: AI-generatedprecheck passjudge pass (deepseek-v4-pro + gpt-5.6-terra)audited 2026-08-26Open item page →

If ϵ is an Erdős–Hajnal constant for H and W is a nonempty vertex set with Wϵ>hom(G), then G[W] has an induced copy of H

Statement

Let H be a finite simple graph and let ϵ>0 be an Erdős–Hajnal constant for the hereditary class of H-free graphs. Let G be a finite simple graph and let WV(G) be nonempty with Wϵ>hom(G). Then G[W] has an induced copy of H.

Facts & Assumptions

Given: A finite simple graph H, an Erdős–Hajnal constant ϵ>0 for the class of H-free graphs, a finite simple graph G, and a nonempty WV(G) with Wϵ>hom(G).

[F1]

A real ϵ>0 is an Erdős–Hajnal constant for a hereditary class C when every nonempty JC satisfies hom(J)V(J)ϵ (The Erdős–Hajnal property and an Erdős–Hajnal constant for a hereditary graph class, Real powers for positive bases, with the zero-base positive-exponent convention).

[L1]

For every family F of finite graphs, the class of F-free finite graphs is hereditary (Every class defined by forbidden induced subgraphs is hereditary).

[L2]

hom(G[W])hom(G) for every WV(G) (hom(G[W])hom(G) for every vertex subset W).

[F4]

Proof

technique · contrapositive
1.1

It suffices to prove the contrapositive: if G[W] has no induced copy of H, then Wϵhom(G).

contrapositive-reduce
1.2

Assume G[W] has no induced copy of H. Then G[W] is H-free, and the class of H-free graphs is hereditary, so G[W] is a member of the class for which ϵ is an Erdős–Hajnal constant.

assume-hypF2L1
2.1

The graph G[W] is nonempty, since W and V(G[W])=W, so [F1] applies to it and gives hom(G[W])Wϵ.

step 1.2F1F3F4given
3.1

By [L2] we have hom(G)hom(G[W]), so hom(G)Wϵ, which is the conclusion of the contrapositive; the Statement follows.

step 2.1L2discharge-contrapositive
LemmaStatement: AI-adaptedProof: AI-generatedprecheck passaudited 2026-08-26Open item page →

If every m-element vertex set contains an induced copy of H, then at least (nh)/(mh) of the h-element vertex sets induce a copy of H

Statement

Let H be a finite simple graph with h=V(H)1, let G be a finite simple graph with n=V(G), and let m be a natural number with hmn. Suppose every WV(G) with W=m has a subset SW with S=h and G[S]H. Let g be the number of sets SV(G) with S=h and G[S]H. Then

g  (nh)(mh)  (nh+1)hmh.

Facts & Assumptions

Given: Finite simple graphs H and G with h=V(H)1 and n=V(G), a natural number m with hmn, and the hypothesis that every m-element WV(G) has an h-element subset S with G[S]H.

[F1]

For a finite set A and kN, [A]k is the set of k-element subsets of A, it is finite, and [A]k=(Ak) (The set [A]k of k-element subsets and the binomial coefficient (nk):=[n]k, The cardinality A of a finite set).

[L1]

For finite sets X,Y and a relation RX×Y with row fibres Rx and column fibres Ry, one has xXRx=R=yYRy (Double counting: xXRx=R=yYRy for a relation between finite sets, A relation RX×Y between finite sets, its row fibres Rx and its column fibres Ry).

[F2]

For a finite index set S and a constant c, iSc=Sc (The sum iSai over a finite index set, and its product form).

[L2]

Every subset of a finite set is finite, and its cardinality is at most that of the set (A subset of a finite set is finite, with BA, and equality holds if and only if B=A).

[F3]

N0=1 and Nk+1=Nk(Nk), so for kN the falling factorial Nk is the product N(N1)(Nk+1) of the k topmost factors (The factorial n! and the falling factorial nk, defined by recursion in N).

[F4]

An induced copy of H in G is the image G[φ(V(H))] of an induced embedding, and G[S]=(S,E(G)[S]2) (Induced embeddings and induced copies of a graph, Subgraphs, induced subgraphs and spanning subgraphs).

Proof

technique · direct
1.1

Write G={S[V(G)]h:G[S]H}, so g=G, and let R[V(G)]m×[V(G)]h consist of the pairs (W,S) with SW, and RR of those with SG. Both index sets are finite.

F1F4L2
1.2

The row fibre of R at W is [W]h, of size (mh), and the column fibre of R at S is {W[V(G)]m:SW}, which the map WWS carries bijectively onto [V(G)S]mh, of size (nhmh).

F1L2
1.3

The row fibre of R at W is {SG:SW}, which is nonempty by hypothesis, and the column fibre of R at SG is the same set as for R, of size (nhmh), while the column fibre at SG is empty.

F1givenL2
1.4

By [L3] and [F3], (nh)h!=nh=n(n1)(nh+1) and (mh)h!=mh=m(m1)(mh+1), so (nh)/(mh)=nh/mh.

L3F3algebra
2.1

Double counting R with the two fibre sizes of step 1.2 and the constant-summand rule gives (nm)(mh)=R=(nh)(nhmh).

step 1.1step 1.2L1F1F2
2.2

Double counting R gives R=WRWW1=(nm), since every row fibre has at least one element, and also R=g(nhmh) by summing the column fibres of step 1.3 over G.

step 1.1step 1.3L1F1F2algebra
2.3

Each of the h factors of nh is at least nh+11 and each of the h factors of mh is at most m, and all of them are positive because hmn; hence nh(nh+1)h and mhmh, so nh/mh(nh+1)h/mh.

step 1.4F3algebra
3.1

Since mhnh and hm, the sets [nh]mh and [m]h are nonempty, so (nhmh)1 and (mh)1; dividing the inequality of step 2.2 by (nhmh) and substituting step 2.1 gives g(nm)/(nhmh)=(nh)/(mh).

step 2.1step 2.2F1algebra
4.1

Combining steps 3.1, 1.4 and 2.3 gives g(nh)/(mh)(nh+1)h/mh.

step 3.1step 1.4step 2.3algebra
LemmaStatement: AI-adaptedProof: AI-generatedprecheck passjudge pass (deepseek-v4-pro + gpt-5.6-terra)audited 2026-08-26Open item page →

The induced copies of H1 in G are counted by summing, over the induced embeddings of H1v, the number of vertices that extend them at v

Statement

Let H1 be a finite simple graph with h1=V(H1)1, let vV(H1), write H1v for the induced subgraph H1[V(H1){v}], and let G be a finite simple graph with n=V(G). For an induced embedding φ of H1v into G define its extension set

Xφ:={uV(G)φ[V(H1){v}]:the map extending φ by vu is an induced embedding of H1 into G}.

Then, writing Ψ for the set of induced embeddings of H1v into G,

indH1(G)=φΨXφ,Ψnh11.

Facts & Assumptions

Given: A finite simple graph H1 with h1=V(H1)1, a vertex vV(H1), and a finite simple graph G with n=V(G); the sets Φ of induced embeddings of H1 into G and Ψ of induced embeddings of H1v into G.

[F1]

An induced embedding of H in G is an injection φ:V(H)V(G) such that, for all distinct x,yV(H), xyE(H) if and only if φ(x)φ(y)E(G) (Induced embeddings and induced copies of a graph).

[F2]

indH(G) is the number of induced embeddings of H into G (The induced-embedding count indH(G)).

[F3]

H1[W]=(W,E(H1)[W]2), so two vertices of W are adjacent in H1[W] exactly when they are adjacent in H1 (Subgraphs, induced subgraphs and spanning subgraphs).

[L1]

For finite sets X,Y and a relation RX×Y with row fibres Rx and column fibres Ry, one has xXRx=R=yYRy (Double counting: xXRx=R=yYRy for a relation between finite sets, A relation RX×Y between finite sets, its row fibres Rx and its column fibres Ry).

[F4]

For a finite index set S and a constant c, iSc=Sc (The sum iSai over a finite index set, and its product form).

[L2]

For finite sets A and B, the set AB of functions BA is finite with AB=AB (The set AB of functions BA between finite sets is finite, with AB=AB).

Proof

technique · direct
1.1

If ψΦ then its restriction ψ to V(H1){v} is injective, and for distinct x,yV(H1){v} the condition xyE(H1v) is the condition xyE(H1), which holds exactly when ψ(x)ψ(y)E(G); so ψΨ, and it is the only member of Ψ that ψ restricts to.

F1F3
1.2

Let RΨ×Φ consist of the pairs (φ,ψ) whose second entry restricts to the first. Both Φ and Ψ are sets of functions between finite sets, hence finite.

F1L2L3
2.1

The column fibre of R at ψΦ has exactly one element by step 1.1, so ψΦRψ=Φ.

step 1.1step 1.2F4
2.2

The row fibre of R at φΨ is carried bijectively onto Xφ by ψψ(v): the map is injective because ψ is determined by φ together with ψ(v), and its image is exactly Xφ, because a vertex u arises as some ψ(v) precisely when extending φ by vu gives an induced embedding of H1, and injectivity of that extension is exactly the requirement uφ[V(H1){v}].

step 1.2F1given
3.1

Double counting R therefore gives φΨXφ=R=Φ=indH1(G).

step 2.1step 2.2L1F2
4.1

Every member of Ψ is a function from V(H1){v}, a set of h11 elements, to V(G), so Ψ is a subset of a set of size nh11 and Ψnh11.

step 3.1F1L2L3
LemmaStatement: AI-adaptedProof: AI-generatedprecheck passjudge pass (deepseek-v4-pro + gpt-5.6-terra)audited 2026-08-26Open item page →

An induced copy of H2 inside the extension set of an induced embedding of H1v yields an induced copy of H1 with H2 substituted for v

Statement

Let H1 be a finite simple graph, vV(H1), and let H2 be a finite simple graph for which H:=H1[vH2] is defined. Let G be a finite simple graph, let φ be an induced embedding of H1v into G with extension set Xφ (The induced copies of H1 in G are counted by summing, over the induced embeddings of H1v, the number of vertices that extend them at v), and let ψ be an induced embedding of H2 into G whose image is contained in Xφ. Then the map θ:V(H)V(G) that agrees with φ on V(H1){v} and with ψ on V(H2) is an induced embedding of H into G. In particular G is not H-free.

Facts & Assumptions

Given: Graphs H1, H2, G as in the Statement, with U=V(H1){v}, the substitution H=H1[vH2], the induced embedding φ of H1v into G, and the induced embedding ψ of H2 into G with ψ[V(H2)]Xφ.

[F1]

The vertex set of H1[vH2] is UV(H2), a disjoint union; two vertices of U are adjacent there exactly when they are adjacent in H1, two vertices of V(H2) exactly when they are adjacent in H2, and xU is adjacent to yV(H2) exactly when x is adjacent to v in H1 (Substituting one graph for a vertex of another).

[F2]

An induced embedding of J in G is an injection θ:V(J)V(G) such that, for all distinct x,yV(J), xyE(J) if and only if θ(x)θ(y)E(G) (Induced embeddings and induced copies of a graph). A graph is J-free exactly when it has no induced copy of J (H-free and F-free graphs under the induced-subgraph convention).

[L1]

The extension set Xφ consists of the vertices uV(G)φ[U] for which the map extending φ by vu is an induced embedding of H1 into G (The induced copies of H1 in G are counted by summing, over the induced embeddings of H1v, the number of vertices that extend them at v).

[F3]

H1v=H1[U], so two vertices of U are adjacent in H1v exactly when they are adjacent in H1 (Subgraphs, induced subgraphs and spanning subgraphs).

[F4]

A map is injective when equal values force equal arguments (Injection, surjection, bijection).

Proof

technique · cases
1.1

The vertex set of H is the disjoint union UV(H2), so θ is a well-defined map on V(H). It is injective: φ and ψ are injective, and their images are disjoint, because ψ[V(H2)]Xφ and every member of Xφ lies outside φ[U].

F1F2F4L1given
1.2

First case: distinct x,yU. Then xyE(H) exactly when xyE(H1), which is exactly when xyE(H1v), which because φ is an induced embedding of H1v is exactly when φ(x)φ(y)E(G).

assume-case hostF1F2F3
1.3

Second case: distinct x,yV(H2). Then xyE(H) exactly when xyE(H2), which because ψ is an induced embedding of H2 is exactly when ψ(x)ψ(y)E(G).

assume-case insertedF1F2
1.4

Third case: xU and yV(H2). The vertex ψ(y) lies in Xφ, so extending φ by vψ(y) is an induced embedding of H1; applied to the pair x,v of H1 this gives that xvE(H1) exactly when φ(x)ψ(y)E(G). And xyE(H) exactly when xvE(H1).

assume-case crossF1F2L1given
2.1

Every pair of distinct vertices of H falls under exactly one of the three cases, because U and V(H2) are disjoint and cover V(H); so in every case xyE(H) holds exactly when θ(x)θ(y)E(G).

step 1.2step 1.3step 1.4F1cases-exhaustive
3.1

With the injectivity of step 1.1, the map θ is therefore an induced embedding of H into G, so G has an induced copy of H and is not H-free.

step 1.1step 2.1F2
TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck passaudited 2026-08-26Open item page →

Alon–Pach–Solymosi: if H1 and H2 have the Erdős–Hajnal property, so does the graph obtained from H1 by substituting H2 for a vertex

Statement

Let H1 and H2 be finite simple graphs with the Erdős–Hajnal property, let vV(H1), and suppose the substitution H=H1[vH2] is defined (Substituting one graph for a vertex of another). Then H has the Erdős–Hajnal property.

Facts & Assumptions

Given: Finite simple graphs H1,H2 with the Erdős–Hajnal property, a vertex vV(H1), and the substitution H=H1[vH2]; write h=V(H1), so h1.

[F1]

A real ϵ>0 is an Erdős–Hajnal constant for a hereditary class C when every nonempty JC satisfies hom(J)V(J)ϵ; a finite graph K has the Erdős–Hajnal property when the class of K-free graphs has such a constant (The Erdős–Hajnal property and an Erdős–Hajnal constant for a hereditary graph class).

[F2]

hom(G)=max{ω(G),α(G)}, where ω(G) and α(G) are the largest cardinalities of a clique and of a stable set of G (Homogeneous vertex sets and the homogeneous number hom(G)=max{ω(G),α(G)}, Cliques, stable sets, the clique number ω(G) and stability number α(G)).

[F3]

G is K-free when G has no induced copy of K, an induced copy being the image of an induced embedding (H-free and F-free graphs under the induced-subgraph convention, Induced embeddings and induced copies of a graph).

[L1]

For every family F of finite graphs, the class of F-free finite graphs is hereditary (Every class defined by forbidden induced subgraphs is hereditary).

[L2]

If ϵ>0 is an Erdős–Hajnal constant for the class of K-free graphs and WV(G) is nonempty with Wϵ>hom(G), then G[W] has an induced copy of K (If ϵ is an Erdős–Hajnal constant for H and W is a nonempty vertex set with Wϵ>hom(G), then G[W] has an induced copy of H).

[L3]

If hmn=V(G) and every m-element WV(G) has an h-element subset S with G[S]H1, then the number of h-element sets SV(G) with G[S]H1 is at least (nh+1)h/mh (If every m-element vertex set contains an induced copy of H, then at least (nh)/(mh) of the h-element vertex sets induce a copy of H).

[L4]

With Ψ the set of induced embeddings of H1v into G and Xφ the extension set of φΨ, one has indH1(G)=φΨXφ and Ψnh1 (The induced copies of H1 in G are counted by summing, over the induced embeddings of H1v, the number of vertices that extend them at v).

[L5]

If φΨ and ψ is an induced embedding of H2 into G whose image lies in Xφ, then G has an induced copy of H=H1[vH2] (An induced copy of H2 inside the extension set of an induced embedding of H1v yields an induced copy of H1 with H2 substituted for v).

[L6]

For finite sets X and Y and a relation RX×Y with row fibres Rx, there is x+X with Rx+R/X (If X is nonempty, some row fibre is at least the average size and some row fibre is at most the average size).

[F4]

indK(G) is the number of induced embeddings of K into G (The induced-embedding count indH(G)).

[F5]

G[W]=(W,E(G)[W]2), so two vertices of W are adjacent in G[W] exactly when they are adjacent in G (Subgraphs, induced subgraphs and spanning subgraphs).

[F6]

For a>0 and real x, ax=exp(xloga) (Real powers for positive bases, with the zero-base positive-exponent convention).

[L7]

For a,b>0 and real r,s: ar+s=aras, (ab)r=arbr, (a/b)r=ar/br and (ar)s=ars (The exponent, product, quotient, and iterated-power laws for positive real bases and real exponents).

[L8]

The logarithm is continuous and strictly increasing on (0,), is onto R, satisfies log(xy)=logx+logy and log(x/y)=logxlogy, and log1=0 (Order, continuity, range, and the product, quotient, and reciprocal laws for the natural logarithm).

[L9]

The exponential is continuous and strictly increasing on R (The exponential function is strictly increasing).

[F7]

For b>0 with b1 and x>0, logbx=logx/logb (The logarithm to a positive base other than one).

[L10]

Every complete ordered field is Archimedean: for every x there is a natural number k1 with x<k (Every complete ordered field is Archimedean).

[L11]

Every nonempty subset of N has a least element (The well-ordering principle).

Proof

technique · direct
1.1

Choose Erdős–Hajnal constants ϵ1>0 for the class of H1-free graphs and ϵ2>0 for the class of H2-free graphs, and set β=1/(2(h+1)), ϵ0=βmin{ϵ1,ϵ2}, n0=max{416h,2h,h2(h+1)} and ϵ=min{ϵ0,1/log2n0}. Then 0<β1/4, ϵ0>0, n064 and ϵ>0, and β(h+1)=1/2 gives 1βh=1/2+β.

givenF1F7L8choosealgebra
1.2

For a1 and st one has asat, because loga0 and both exp and log are increasing; and for 0<ab and r>0 one has arbr for the same reason.

F6L8L9
1.3

By [L1] the class of H-free graphs is hereditary, so it is a class for which [F1] can supply a constant.

L1F1
2.1

Let G be a finite simple graph with n=V(G)n0 and hom(G)<nϵ0. The set of natural numbers k with knβ is nonempty by [L10], so it has a least element m by [L11]; since nβ>0 we have m1, and m1<nβ, so nβm<nβ+12nβ, the last step because n1 gives nβ1.

step 1.1step 1.2L10L11F6choose
2.2

Turning to the small orders, let J be any nonempty H-free graph with n=V(J)<n0. If n2 then two distinct vertices of J form a clique or a stable set, so hom(J)2; and nϵ<n0ϵn01/log2n0=exp(logn0log2/logn0)=2, so hom(J)nϵ. If n=1 then hom(J)=1=1ϵ.

step 1.1step 1.2F2F6F7L8algebra
3.1

Since nh2(h+1)=h1/β, raising to the power β gives nβh, so mh; and β1/4 with n64 gives m<n1/4+1n. Hence hmn.

step 1.1step 2.1step 1.2L7algebra
4.1

Let WV(G) with W=m. Then W and Wϵ1=mϵ1(nβ)ϵ1=nβϵ1nϵ0>hom(G), using ϵ0βϵ1 and n1; so by [L2] the graph G[W] has an induced copy of H1, that is, an h-element SW with G[S]H1.

step 2.1step 3.1step 1.2L2L7F5F3
5.1

By [L3] the number g of h-element sets SV(G) with G[S]H1 is at least (nh+1)h/mh, and each such S carries at least one induced embedding of H1 into G, distinct sets carrying distinct embeddings because their images differ; so indH1(G)g(nh+1)h/mh>0.

step 3.1step 4.1L3F3F4
6.1

By [F4] and step 5.1 the set Φ of induced embeddings of H1 into G is nonempty, so the set Ψ of [L4] is nonempty as well, since each member of Φ restricts into it. Applying [L6] to the relation pairing φΨ with the members of Φ restricting to it, whose row fibres have sizes Xφ and whose total size is indH1(G) by [L4], gives φ+Ψ with Xφ+indH1(G)/Ψ.

step 5.1L4L6F4
7.1

Since Ψnh1 and nn02h gives nh+1>n/2, and m<2nβ by step 2.1, we get Xφ+(nh+1)hmhnh1>(n/2)h2hnβhnh1=n1βh4h=4hn1/2nβ.

step 1.1step 2.1step 5.1step 6.1L4L7algebra
8.1

From n416h we get n1/224h, so 4hn1/22 and step 7.1 gives Xφ+>2nβ>mnβ. In particular Xφ+ is nonempty.

step 1.1step 2.1step 7.1step 1.2L7algebra
9.1

Therefore Xφ+ϵ2(nβ)ϵ2=nβϵ2nϵ0>hom(G), so by [L2] the graph G[Xφ+] has an induced copy of H2; the corresponding induced embedding has image inside Xφ+ and, adjacency in G[Xφ+] agreeing with adjacency in G, it is an induced embedding of H2 into G.

step 2.1step 8.1step 1.2L2L7F5F3
10.1

By [L5] applied to φ+ and that embedding, the graph G of step 2.1 has an induced copy of H and so is not H-free. Hence an H-free graph G with V(G)=nn0 cannot satisfy hom(G)<nϵ0, and therefore satisfies hom(G)nϵ0nϵ, the last inequality by step 1.2 and ϵϵ0.

step 2.1step 9.1step 1.2L5F3
11.1

Steps 10.1 and 2.2 together give hom(G)V(G)ϵ for every nonempty H-free graph G, whatever its order, and the class of H-free graphs is hereditary by step 1.3; that is, ϵ is an Erdős–Hajnal constant for it and H has the Erdős–Hajnal property.

step 1.3step 10.1step 2.2F1
CorollaryStatement: Literature-sourcedProof: AI-generatedprecheck passaudited 2026-08-26Open item page →

Every graph has the Erdős–Hajnal property if and only if every prime graph does

Statement

The following are equivalent.

  1. Every finite simple graph has the Erdős–Hajnal property (The Erdős–Hajnal property and an Erdős–Hajnal constant for a hereditary graph class).
  2. Every prime graph (Prime graphs: those whose only modules are the trivial ones) has the Erdős–Hajnal property.

Facts & Assumptions

Given: The two assertions above.

[L1]

A graph on at least two vertices is prime exactly when it is not obtained by substituting one graph on at least two vertices for a vertex of another such graph (A graph with at least two vertices is prime exactly when it is not obtained by substituting one graph on at least two vertices for a vertex of another graph on at least two vertices).

[L2]

If H1 and H2 have the Erdős–Hajnal property, then the graph obtained by substituting H2 for a vertex of H1 has the Erdős–Hajnal property (Alon–Pach–Solymosi: if H1 and H2 have the Erdős–Hajnal property, so does the graph obtained from H1 by substituting H2 for a vertex).

[L3]

A graph on 0 or 1 vertices is prime, since every module is trivial (Prime graphs: those whose only modules are the trivial ones, The cardinality A of a finite set).

Proof

technique · induction
1.1

If every graph has the Erdős–Hajnal property, then in particular every prime graph has it.

given
1.2

For the converse direction, assume every prime graph has the Erdős–Hajnal property, and induct on the number of vertices of a graph G.

base
1.3

If V(G)1, then G is prime by [L3], so the assumption covers G.

L3base
1.4

Fix n2 and assume inductively that every graph with fewer than n vertices has the Erdős–Hajnal property whenever every prime graph does. Let G have n vertices. If G is prime, the assumption on prime graphs covers it. Otherwise [L1] gives graphs G1,G2 with at least two vertices each such that G=G1[aG2] for some vertex a of G1.

L1ih
2.1

In the non-prime case of step 1.4, both G1 and G2 have fewer than n vertices, so the induction hypothesis gives the Erdős–Hajnal property for both, and then [L2] gives it for G.

step 1.4L2ih
3.1

Steps 1.3, 1.4 and 2.1 prove that every n-vertex graph has the Erdős–Hajnal property, so the induction closes.

step 1.3step 1.4step 2.1discharge-induction
CorollaryStatement: AI-generatedProof: AI-generatedprecheck passaudited 2026-08-26Open item page →

Substituting a complete or an edgeless graph for a vertex preserves the Erdős–Hajnal property

Statement

Let H be a graph with the Erdős–Hajnal property and let vV(H). If t1, then the graph obtained by substituting Kt or Kt for v also has the Erdős–Hajnal property.

Facts & Assumptions

Given: A graph H with the Erdős–Hajnal property, a vertex vV(H), and an integer t1.

[L1]

For every t1, the class of Kt-free graphs has the Erdős–Hajnal property (For every t1, the class of Kt-free graphs has the Erdős–Hajnal property).

[L2]

A graph is Kt-free exactly when its complement is Kt-free, and the Erdős–Hajnal property is preserved by taking complements of graph classes (G is H-free if and only if G is H-free, The complement of a graph class, A hereditary class has the Erdős–Hajnal property exactly when its complementary class does, with the same constants).

Proof

technique · direct
1.1

The complete graph Kt has the Erdős–Hajnal property, since every Kt-free class does by [L1].

L1
2.1

The edgeless graph Kt has the Erdős–Hajnal property: by [L2] the class of Kt-free graphs is the complementary class of the Kt-free graphs, so it has the same property.

step 1.1L2
3.1

Applying [L3] to H and Kt shows that substituting Kt for v preserves the Erdős–Hajnal property, and applying [L3] to H and Kt shows the same for the edgeless graph.

step 1.1step 2.1L3
RemarkRemark: AI-adaptedProof: Not applicablejudge pass (deepseek-v4-pro + gpt-5.6-terra)audited 2026-08-26Open item page →

Why this page says module where some sources say homogeneous set

The target paper uses the phrase homogeneous set for what this page calls a module. This library already uses homogeneous set at order 395 for a clique or a stable set, through the homogeneous number hom(G) (Homogeneous vertex sets and the homogeneous number hom(G)=max{ω(G),α(G)}), so reusing the same words here would create an avoidable ambiguity inside the same graph-theory block.

Harju writes clan and explicitly notes that it is the same object as a module. His notes-on-references list the wider synonym family: closed set (Gallai), autonomous set, partitive set, externally related set, condensible set, homogeneous set, interval, and module. The present page adopts Habib and Paul's word module because it is standard and does not collide with the already-published meaning of homogeneous set.

RemarkRemark: AI-adaptedProof: Not applicablejudge pass (deepseek-v4-pro + gpt-5.6-terra)audited 2026-08-26Open item page →

Which small graphs count as prime on this page

This page adopts the direct module-theoretic convention: a graph is prime when its only modules are the trivial ones. Under that convention every graph on one or two vertices is prime, and no graph on exactly three vertices is prime (No graph on exactly three vertices is prime).

Some sources build a size restriction into the terminology instead. Chudnovsky phrases primality through non-substitutability for graphs with at least two vertices, while other texts reserve the word prime for graphs on at least four vertices. These conventions agree with the direct module-theoretic convention on graphs with at least four vertices, but deliberately differ at smaller orders. The equivalence with non-substitutability is stated with its size hypotheses in A graph with at least two vertices is prime exactly when it is not obtained by substituting one graph on at least two vertices for a vertex of another graph on at least two vertices.

5 · Examples, counterexamples and false statements

None yet.

Sources