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.
Modules, Substitution and Prime Graphs — Examples
1 · Prerequisites
- Absolute and Conditional Convergence; Rearrangement; Products
- Binary Operations, Monoids, Groups and Subgroups
- Compactness in Metric Spaces
- Completeness, Completion, and Uniform Continuity
- Construction of the Natural Numbers
- Construction of the Real Numbers via Cauchy Sequences
- Construction of the Real Numbers via Dedekind Cuts
- Continuity, IVT, EVT, and Uniform Continuity
- Countability and Uncountability
- Finite Counting, Factorials and Binomial Coefficients
- Foundations of the Real Numbers for Analysis
- Graphs, Walks and Connectivity
- Inclusion–Exclusion, the Pigeonhole Principle and Double Counting
- Induced Subgraphs and Hereditary Graph Classes
- Limits of Real Functions
- limsup, liminf, and Subsequential Limits
- Metric Spaces
- Modules, Substitution and Prime Graphs
- Monotone Functions, Discontinuities, and Continuity Sets
- Monotone Sequences, Bolzano-Weierstrass, and Cauchy Completeness
- Order, Zorn's Lemma, and the Axiom of Choice
- Power Series and Real-Analytic Functions
- Properties of the Integral and the Working FTC
- Ramsey Theory
- Relations, Functions, and Quotients
- Roots, Rational Powers, and Classical Inequalities
- Sequences and Limits
- Sequences and Series of Functions; Uniform Convergence
- Series: Convergence and the Nonnegative Tests
- Suprema and Infima
- The Derivative and the Mean Value Theorems
- The Erdős–Hajnal Property and Homogeneous Sets
- The Exponential Function
- The Logarithm and General Powers
- The Riemann Integral: Definition and Integrability
- The ZFC Axioms and the Basic Set Constructions
- Topology of ℝ
- Vector Spaces, Linear Subspaces, Span and Direct Sums
2 · Summary
3 · Logical flowchart
4 · Definitions, theorems and proofs
None yet.
5 · Examples, counterexamples and false statements
Every vertex set is a module of a complete graph and of an edgeless graph
Example
If is a complete graph or an edgeless graph, then every vertex subset of is a module (Modules of a graph, and the trivial modules).
Facts & Assumptions
Given: An integer , the complete graph , the edgeless graph , and a subset of their common vertex set.
A vertex set is a module when every vertex outside it is complete or anticomplete to (Modules of a graph, and the trivial modules).
The graphs and are, respectively, the complete and edgeless graphs on vertices (Empty and complete graphs, complete bipartite graphs, and the convention that and have vertices).
A graph is prime when its only modules are the trivial ones (Prime graphs: those whose only modules are the trivial ones).
Verification
In , every vertex outside is adjacent to every member of , so [L1] makes a module.
In , every vertex outside is adjacent to no member of , so [L1] again makes a module.
If , then and have nontrivial modules by steps 1.1 and 1.2, so [L3] shows that neither is prime. For and there is no subset of size between and , so every module is trivial and both graphs are prime.
The four-vertex path has only trivial modules
Example
Write the four-vertex path as ---. Then every module of is trivial, so is prime.
Facts & Assumptions
Given: The path with vertices and edges .
A vertex set is a module when every outside vertex is adjacent to all of it or to none of it (Modules of a graph, and the trivial modules).
A graph is prime when its only modules are the trivial ones (Prime graphs: those whose only modules are the trivial ones).
Verification
Each two-element subset is split by an outside vertex: splits , splits , splits , splits , splits , and splits . So no two-element subset is a module by [L1].
Each three-element subset is split by its remaining vertex: splits , splits , splits , and splits . So no three-element subset is a module.
The only modules left are , the singletons, and the whole vertex set, so [L2] makes prime.
Up to isomorphism the four-vertex path is the only prime graph on four vertices
Example
Up to isomorphism, the only prime graph on four vertices is the path .
Facts & Assumptions
Given: A graph on four vertices.
Every union of connected components is a module, and every union of anticonnected components is a module (Every union of connected components is a module, and so is every union of anticonnected components).
A prime graph has only trivial modules (Prime graphs: those whose only modules are the trivial ones, Modules of a graph, and the trivial modules).
The path is prime (The four-vertex path has only trivial modules).
Verification
If is prime, then is connected and anticonnected. Indeed, if were disconnected, some union of connected components would have size or ; by [L1] that union would be a nontrivial module, contradicting [L2]. The same argument in shows that if were disconnected, a union of anticomponents of would be a nontrivial module.
Let be connected and anticonnected. No vertex has degree , since is connected, and no vertex has degree , since such a vertex is isolated in . Thus every vertex has degree or .
Some vertex has degree . Otherwise every vertex has degree ; following neighbours from any vertex then forces the four vertices to form , whose complement is the disjoint union of two edges, contrary to anticonnectedness.
Let have unique neighbour . Connectivity gives a neighbour , and connectivity of the remaining vertex forces an edge from to or . The edge is impossible, since then has degree ; hence is an edge. There are no further edges: has degree , was excluded, and already has the two neighbours . Therefore is the path .
Every prime graph on four vertices is therefore isomorphic to , and [L3] shows that is prime.
is prime for every
Example
For every integer , the path is prime.
Facts & Assumptions
Given: An integer and the path with vertices in order.
A graph is prime when it has no nontrivial module (Prime graphs: those whose only modules are the trivial ones, Modules of a graph, and the trivial modules).
In a connected graph, every nonempty proper module has some outside vertex complete to it (In a connected graph, some vertex outside a nonempty proper module is complete to it).
In the path , every interior vertex has exactly two neighbours, namely the preceding and following vertices in the path order (Empty and complete graphs, complete bipartite graphs, and the convention that and have vertices, Adjacency, incidence, open and closed neighbourhoods, vertex degree, minimum degree and maximum degree).
Verification
Suppose, for contradiction, that has a nontrivial module . Then is a nonempty proper module, so [L2] gives a vertex complete to .
Since is complete to in a path, [L3] forces to be an interior vertex and to be exactly the two neighbours of .
One of the vertices at distance two from exists because , and it is adjacent to exactly one of the two neighbours of . That vertex therefore splits , contradicting that is a module.
No nontrivial module exists, so [L1] makes prime.
The five-cycle is prime
Example
The cycle is prime.
Facts & Assumptions
Given: The five-cycle with vertices in cyclic order.
A graph is prime when it has no nontrivial module (Prime graphs: those whose only modules are the trivial ones, Modules of a graph, and the trivial modules).
In a connected graph, every nonempty proper module has some outside vertex complete to it (In a connected graph, some vertex outside a nonempty proper module is complete to it).
In , every vertex has exactly two neighbours, and those two neighbours are nonadjacent (Empty and complete graphs, complete bipartite graphs, and the convention that and have vertices).
Verification
Suppose, for contradiction, that has a nontrivial module . Then [L2] gives a vertex complete to .
By [L3], the set must be the two neighbours of .
The two remaining vertices of the cycle each see exactly one of those neighbours, so they split , contradicting that is a module.
Therefore has no nontrivial module, and [L1] makes it prime.
Substituting into gives the join and substituting into gives the disjoint union
Example
Let and be nonnull graphs on vertex sets disjoint from each other and from the two template vertices below. Successively substituting and for the two vertices of gives the join , obtained from their disjoint union by adding every edge between the two vertex sets. Successively substituting them for the two vertices of gives the disjoint union .
Facts & Assumptions
Given: Nonnull graphs and whose vertex sets are disjoint from each other and from , the complete graph on vertices , and the edgeless graph on the same vertex set.
Substituting a graph for a vertex replaces that vertex by the inserted graph and joins every outside vertex to all of it or none of it according to the original adjacency (Substituting one graph for a vertex of another).
Verification
First substitute for , leaving as a one-vertex part, and then substitute for . Since and are adjacent in , [L1] makes every vertex of adjacent to every vertex of , while preserving the edges internal to both graphs. The result is exactly .
Carrying out the same two substitutions in leaves the two copied vertex sets anticomplete because and are nonadjacent. The result is exactly .
Thus join and disjoint union are the two binary substitutions obtained from the edge and the nonedge templates.
The modular decomposition of a five-cycle with each vertex blown up into an edgeless graph
Example
Let be obtained from the five-cycle by substituting an edgeless graph , with , for each of its five vertices. Then the five blown-up parts are exactly the maximal proper modules of , and the quotient graph is .
Facts & Assumptions
Given: An integer , the five-cycle , and the graph obtained by replacing each vertex of by a copy of .
A vertex set is a module when every vertex outside is complete or anticomplete to it (Modules of a graph, and the trivial modules).
The five-cycle is prime (The five-cycle is prime).
In a connected and anticonnected finite simple graph with at least two vertices, every modular partition with at least two parts and prime quotient consists of the maximal proper modules (In a connected and anticonnected graph, a modular partition with at least two parts whose quotient is prime consists of the maximal proper modules).
Verification
Each blown-up copy of is a module of : every vertex outside one part lies in another part, and that whole outside part is either complete or anticomplete to the chosen part according to the corresponding adjacency in the five-cycle. Hence every outside vertex is complete or anticomplete to the chosen part, so [L1] applies.
The graph is connected: paths between blown-up parts lift from paths in , and two vertices in one edgeless part have a common neighbour in either adjacent part. Its complement is connected by the same argument, because complementation turns the quotient into and each blown-up part into a clique. Thus is connected and anticonnected.
The quotient obtained by collapsing those five modules is the original five-cycle, so [L2] shows that this quotient is prime.
The five blown-up parts form a modular partition with at least two parts and prime quotient by steps 1.1 and 2.1. Hence [L3] and step 1.2 show that they are exactly the maximal proper modules, and the quotient graph is .
Counting the induced copies of in by extension sets
Example
The identity that counts induced copies by extension sets can be seen directly in : the induced-copy number of in is , and the extension-set sum of The induced copies of in are counted by summing, over the induced embeddings of , the number of vertices that extend them at gives the same value.
Facts & Assumptions
Given: The path with vertices , and the pattern obtained by deleting an endpoint from .
The induced-copy number counts induced embeddings of the pattern, not only vertex subsets (The induced-embedding count , Induced embeddings and induced copies of a graph).
The extension lemma expresses the induced-copy number of a graph by summing, over the induced embeddings of the graph with one deleted vertex, the sizes of the corresponding extension sets (The induced copies of in are counted by summing, over the induced embeddings of , the number of vertices that extend them at ).
Verification
Exactly the vertex sets and induce a copy of inside .
Each of those two vertex sets supports two induced embeddings of , one for each automorphism of the path, so [L1] gives .
Delete the endpoint labelled from the pattern --. The six oriented edge embeddings in have extension-set sizes for respectively: the extending image of must be adjacent to and nonadjacent to . Their sum is , agreeing with step 2.1 and [L2].
Substituting an edge for an endpoint of gives a four-vertex graph with the Erdős–Hajnal property
Example
Let be obtained from the path by substituting the edge for one endpoint. Then is the paw graph, and has the Erdős–Hajnal property.
Facts & Assumptions
Given: The path with vertices , the edge , and the graph formed by substituting for the endpoint of .
Every graph on at most three vertices has the Erdős–Hajnal property (Every graph on at most three vertices has the Erdős–Hajnal property, The Erdős–Hajnal property and an Erdős–Hajnal constant for a hereditary graph class).
Substituting one graph for a vertex of another preserves the Erdős–Hajnal property when both factors have it (Alon–Pach–Solymosi: if and have the Erdős–Hajnal property, so does the graph obtained from by substituting for a vertex, Substituting one graph for a vertex of another).
Verification
By [L1], both and have the Erdős–Hajnal property.
The substitution identifies one endpoint of with an edge, so the result is a triangle with one pendant edge, that is, the paw graph.
Applying [L2] to the two factors from step 1.1 gives the Erdős–Hajnal property for the paw.
Two disjoint modules whose union is not a module
Statement refuted
If and are disjoint modules of a graph, then is a module.
Facts & Assumptions
Given: The path with vertices in order, together with the two sets and .
Singletons are trivial modules (Modules of a graph, and the trivial modules).
In the path , the vertices are adjacent exactly along the edges , , and (Empty and complete graphs, complete bipartite graphs, and the convention that and have vertices).
Counterexample
The sets and are disjoint.
By [L1], both and are modules of .
The vertex lies outside , is adjacent to , and is not adjacent to by [L2], so it splits . Hence is not a module.
Thus with and is a counterexample to the claim.
A difference of two nested modules that is not a module
Statement refuted
If are modules of a graph, then is a module.
Facts & Assumptions
Given: The graph on vertices with exactly the two edges and , together with and .
A set is a module when every outside vertex is complete or anticomplete to it (Modules of a graph, and the trivial modules).
The difference lemma requires overlapping modules, not merely nested ones (If two modules overlap, then each difference and their symmetric difference are modules).
Counterexample
The set is a module: the only outside vertices are and , and is complete to while is anticomplete to .
The set is the whole vertex set, so it is a module vacuously.
The difference is not a module, because the vertex is adjacent to and not to .
Here , so the two modules do not overlap. Thus the overlap hypothesis in [L2] cannot be weakened to inclusion.
Maximal proper modules need not be disjoint when the graph or its complement is disconnected
Statement refuted
In every graph, the maximal proper modules are pairwise disjoint.
Facts & Assumptions
Given: The edgeless graph on vertices .
A set is a module when every outside vertex is complete or anticomplete to it (Modules of a graph, and the trivial modules).
In a connected and anticonnected graph, overlapping proper modules do force a larger proper module and maximal proper modules are disjoint (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 with at least two vertices, each vertex lies in a largest proper module, and two such modules are equal or disjoint).
A set is a module of a graph exactly when it is a module of the complement (A vertex set is a module of exactly when it is a module of ).
Counterexample
In the edgeless graph , every subset is a module, because every outside vertex is anticomplete to it.
The sets and are proper modules, and each is maximal among proper modules because the only larger module containing it is the whole vertex set.
These two maximal proper modules meet in , so they are not pairwise disjoint.
By [L3], the same two sets are also overlapping maximal proper modules in the complement graph , which is connected while its complement is disconnected.
Therefore the conclusion of [L2] genuinely needs the connected-and-anticonnected hypotheses.
An induced subgraph of a prime graph need not be prime
Statement refuted
Every induced subgraph of a prime graph is prime.
Facts & Assumptions
Given: The five-vertex path with vertices in order.
The path is prime for every ( is prime for every , Prime graphs: those whose only modules are the trivial ones).
A graph with a proper module of size two is not prime (Modules of a graph, and the trivial modules, Prime graphs: those whose only modules are the trivial ones).
Counterexample
By [L1], the graph is prime.
Deleting the middle vertex leaves the induced subgraph on , which is the disjoint union of the two edges and .
In that four-vertex induced subgraph, the set is a proper module of size two, since every outside vertex is anticomplete to it. So [L2] shows that the induced subgraph is not prime.
Hence a prime graph can have an induced subgraph that is not prime.
Every graph with at least four vertices has a nontrivial module
Statement
Every graph with at least four vertices has a nontrivial module.
Facts & Assumptions
Given: The claim above and the four-vertex path .
The four-vertex path has only trivial modules (The four-vertex path has only trivial modules, Modules of a graph, and the trivial modules).
A graph with only trivial modules is prime (Prime graphs: those whose only modules are the trivial ones).
Refutation
The claim asserts that every graph with at least four vertices has some module that is neither empty, nor a singleton, nor the whole vertex set.
The graph has four vertices and, by [L1], has no such module.
So the claim is false. Equivalently, [L2] shows that is a prime graph on four vertices.
Sources
- M. Habib and C. Paul, A Survey on Algorithmic Aspects of Modular Decomposition, sec. 2.3
- M. Habib and C. Paul, A Survey on Algorithmic Aspects of Modular Decomposition, sec. 2.4
- M. Chudnovsky, The Erdős–Hajnal Conjecture — A Survey, sec. 2
- T. Harju, Lecture Notes on Combinatorial Structures in Graph Theory, Remark 4.1