Appendix
Graphs
1. Definitions
Definition 1
A combinatorial graph (or simply a graph, if there is no risk of confusion) is a pair* , *where S is a set and A is a subset of consisting of sets with two elements.
Let be a graph. The elements of are called the edges and those of S the vertices of ; two vertices are said to be joined if is an edge. A vertex is called terminal if it is joined to at most one vertex, and a ramification point if it is joined to at least three vertices.
In accordance with the general definitions (Sets R, §8), an isomorphism from the graph to a graph is a bijection from S to S' that takes to . A graph is called a subgraph of if and ; is called a full subgraph of if and . It is clear that every subset of S is the set of vertices of exactly one full subgraph of .
To make the arguments easier to follow, we represent a graph by a diagram having points corresponding to the vertices, two points being joined by a line if and only if the vertices they represent are joined in the graph. For example, the diagram
!Diagram of a graph with vertices a, b, c, d, e and edges {a, b}, {b, c}, {c, d}, {c, e}
represents a graph whose vertices are and whose edges are and .
2. Connected components of a graph
Let be a graph. If and are two vertices, a path joining and is a sequence of vertices of with , the vertices and being joined for ; the integer is the length of the path. The path is said to be injective if if . If a path joining and is of minimal length among such paths, it is necessarily injective; for if not, there would exist and with and and then the sequence
would be a path of length joining and .
The relation "there exists a path joining and " between two vertices and of is an equivalence relation on the set of vertices. The equivalence classes of are called the connected components of ; and is said to be connected if has at most one connected component, that is if any two vertices of can be joined by at least one path.
Proposition 1
Let be a graph and its family of connected components. Denote by the full subgraph of having as its set of vertices.
(i) For any in , the graph is connected. (ii) If is a connected subgraph of , there exists in such that . (iii) If , no element of is joined in to any element of (equivalently, every edge of is an edge of one of the ). (iv) Let be a partition of such that, if , no element of is joined in to any element of ; then each of the sets is a union of connected components of .
(i) Let be in and and be in . Then there exists a path joining and in . For any with , the path joins to in , so . Thus, is a path in joining and . It follows that is connected.
(ii) Let be a non-empty connected subgraph of , let be an element of and let be the connected component of containing . For any in , there exists a path joining and in , and a fortiori in . It follows that .
(iii) Given distinct elements and of , and vertices and , there is no path joining and , and in particular no edge joining and .
(iv) Let be in and let be the connected component of containing . Then, for any in , there exists a path joining and in . If is an integer such that and if , then since is joined to . It follows by induction that for , and in particular that is in . Thus, .
Corollary 1
A graph is connected if and only if there does not exist a partition of into two non-empty subsets such that no element of is joined in to any element of .
Suppose that is not connected and let be one of its connected components. The set is non-empty by Prop. 1, (i) and no element of is joined to any element of by Prop. 1, (iii).
Suppose now that is connected and let be a partition with the stated property. By Prop. 1, (iv), the set contains at least one connected component, so and , a contradiction.
Corollary 2
A subset of is a union of connected components if and only if no vertex belonging to is joined to any vertex belonging to .
The condition is sufficient by Prop. 1, (iv). It is necessary by Prop. 1, (iii).
3. Forests and trees
Let be a graph. A circuit of is a sequence
of distinct vertices of such that , is joined to for and is joined to . is called a forest if there is no circuit in ; every subgraph of is then also a forest. A connected forest is called a tree; the connected components of a forest are thus trees.
Proposition 2
Let be a forest having only a finite number of vertices.
(i) If has at least one vertex, it has a terminal vertex. (ii) If has at least two vertices, there is a partition of its set of vertices into two non-empty subsets such that two distinct vertices that both belong to or both belong to are never joined.
Suppose that has at least one vertex and let be an injective path of maximal length in . The vertex cannot be joined to a vertex distinct from , since otherwise there would exist an injective path in of length , namely . The vertex is not joined to any vertex with , since otherwise would be a circuit in the forest . Thus, is terminal.
We shall prove (ii) by induction of the number of vertices of , the case being trivial. Suppose then that and that assertion (ii) is proved for graphs with vertices. Let be a terminal vertex of (cf. (i)). We apply the induction hypothesis to the full subgraph of whose vertices are the vertices of . Thus, there exist two non-empty disjoint subsets and of with , and such that two distinct vertices in (resp. ) are never joined. Since is joined to at most one vertex of , we can suppose for example that it is not joined to any vertex in . The partition then has the required property. Q.E.D.
For any integer , denote by the graph whose vertices are the integers and whose edges are the pairs with :
A graph is said to be a chain of length if it is isomorphic to . This is equivalent to the existence in of an injective path containing all the vertices, the vertices and not being joined if .
Proposition 3
A graph is a chain if and only if its number of vertices is finite and non-zero and it is a tree with no ramification point.
Suppose that the graph is a chain with the properties listed before the statement of Prop. 3. It is clear that any vertex of is joined to at most two vertices. If the path extracted from the path joins to ; thus, is connected. Finally, let be a circuit in , and let be the smallest of the distinct integers . There exist distinct indices and such that is joined to and : this follows from the definition of a circuit. Since and , we necessarily have , which is a contradiction since are distinct. Thus, there is no circuit in .
Conversely, let be a tree with no ramification point and with a finite non-zero number of vertices, and let be an injective path of maximal length in . Denote by the set of vertices other than . A vertex cannot be joined to any vertex , for we would have either
a) , but then would be an injective path of length in , or b) , but then would be an injective path of length in , or c) , but then would be joined to three distinct vertices , and .
Since is connected, is empty by Cor. 1 of Prop. 1. Moreover, if there were with and joined, there would be a circuit in . Thus, is a chain. Q.E.D.