WorksMathematics
ALL FINITE CARDINALITIES OF THE HYPERSPACE OF REGULAR SUBCONTINUA
Abstract
For a metric continuum X, let D(X) be the family of subcontinua A of X with A = cl_X int_X A. Ordõnez asked which finite numbers occur as |D(X)|. Camargo, Ordõnez and Ramírez excluded 2, 4, 5, 8, 9 and asked whether every k ≥ 256 occurs. We prove that a positive integer k equals |D(X)| for some metric continuum X if and only if k not in {2, 4, 5, 8, 9, 16}. The finite cardinalities of D(X) are exactly the numbers of vertex sets inducing connected subgraphs of finite connected graphs; every finite connected graph is realized by copies of the Knaster continuum glued at points. We determine the values of this graph invariant without computer assistance. A short argument excludes 16, and an explicit recursive family of graphs realizes every k ≥ 17 with the least possible number of vertices. Consequently, for k ≥ 32 the least number of minimal regular subcontinua of a continuum X with |D(X)| = k is ⌊log2 k⌋ + 1. Programs check the explicit finite graph counts, and Theorem A is formally verified in Lean.
Introduction
A continuum is a nonempty compact connected metric space. For a continuum , let be its hyperspace of nonempty subcontinua with the Hausdorff metric. A subcontinuum of is regular if , the closure in of the interior of in . The hyperspace
was introduced by Ordoñez [9]. Since , always . For example, every nondegenerate closed subinterval of is regular in , so is infinite. At the other extreme, a continuum is indecomposable if it is not the union of two proper subcontinua. Every proper subcontinuum of an indecomposable continuum has empty interior [7 Chapter XI], so then [9 Theorem 3.7]. The hyperspace is compact if and only if it is finite [9 Corollary 4.13]. Further properties of and of the hyperspace of subcontinua with empty interior are studied in [10]. Ordoñez posed the following problem [9 Problem 4.14], repeated as [2 Question 3.5] and [11 Pregunta 3.1.6].
Question 1.1. For which does there exist a continuum such that has exactly elements?
Chains, cycles and bouquets of indecomposable continua give , and regular subcontinua [9 Proposition 4.15], [11 Proposición 3.1.7]. An element of is minimal if it contains no other element of , that is, if it is minimal with respect to inclusion; we call it a minimal regular subcontinuum. Camargo, Ordoñez and Ramírez [2] showed that a finite is determined by its minimal elements, which have pairwise disjoint interiors and cover [2 Theorem 3.16]; this reduces the count to a problem about graphs. They proved [2 Proposition 3.18], and a computer search over graphs with at most eight
2020 Mathematics Subject Classification. Primary 54B20; Secondary 54F15, 05C30.
Key words and phrases. Continuum, hyperspace, regular subcontinuum, indecomposable continuum, connected induced subgraph, inverse problem. vertices showed that 16 does not occur while every integer from 17 to 255 does [2 Remark 3.20]. They asked:
Question 1.2 ([2 Question 3.21]). If , does there exist a continuum such that ?
The thesis [11 Pregunta 3.1.13] asks whether for some . Both questions are special cases of the problem of characterizing the spaces homeomorphic to some [2 Problem 3.22].
For a finite simple graph , a connected set of is a nonempty set of vertices inducing a connected subgraph, and denotes the number of connected sets. Singletons are connected sets and the empty set is not; distinct vertex sets are counted separately even when they induce isomorphic subgraphs. For a tree, is the number of subtrees.
Theorem A. For a positive integer , the following are equivalent.
There is a continuum with .
There is a finite connected graph with .
.
Moreover, for every the continuum in (1) can be chosen as the union of copies of the Knaster continuum, any two of which meet in at most one point. No continuum with has fewer minimal regular subcontinua.
Corollary B.
(a) The answer to Question 1.2 is yes for every ; in fact occurs for every .
(b) A finite metric space is homeomorphic to for some continuum if and only if is nonempty and . This settles the finite case of [2 Problem 3.22].
(c) There is a continuum with if and only if or . This answers [11 Pregunta 3.1.13].
The equivalence of (1) and (2) is Theorem 3.10. The implication (1)(2) is the reduction of [2]. For (2)(1) we glue copies of the Knaster continuum along the edges of (Construction 3.4). The key step, Lemma 3.7, shows that a regular subcontinuum meeting the interior of a piece contains that piece. Its proof is direct; it does not use the discreteness hypothesis of [2 Theorem 3.16], and it does not depend on where the attachment points lie. The equivalence of (2) and (3) is purely combinatorial (Sections 4 and 5). The value 16 is excluded by a short argument about spanning trees. Every is realized by a recursive construction. The construction uses cones, disjoint unions, a family of near-cones, and seven small graphs. This part needs no computer, and it realizes with the least possible number of vertices. Theorem A is formally verified in Lean (Section 7).
For trees, the analogous problem was solved by Czabarka, Székely and Wagner [3]: every positive integer except 34 explicit values, the largest being 89, is the number of subtrees of some tree. Their theorem gives a second, computer-assisted route to the values ; we recomputed its computer-assisted parts (Section 7). The invariant is a specialization of the subgraph component polynomial of Tittmann, Averbouch and Makowsky [14], which counts the vertex sets of by their size and by the number of components of the induced subgraph: is the number of vertex sets inducing exactly one component. To our knowledge, the inverse problem for over general graphs has not been treated before. A companion note [6] illustrates the construction on the examples .
Connected sets in graphs
Graphs are finite and simple; they need not be connected, and the graph with no vertices is allowed. For a graph , we write for its order, and for , is the induced subgraph. A connected set is a nonempty with connected. We write for the number of connected sets, for the number of connected sets containing a vertex , and . If is a tree, a connected subgraph of is the induced subgraph on its vertex set, so is the number of subtrees of in the sense of [13, 3].
For integers we write . For sets , of integers and an integer we write and . A vertex is universal if it is adjacent to every other vertex. The cone over a graph is obtained by adding one new vertex adjacent to every vertex of , which is then universal. A pendant vertex is a vertex of degree one. A spider consists of a vertex, its centre, and paths, its legs, each joined to the centre by an edge at one of its ends and otherwise disjoint from each other; the length of a leg is its number of vertices, not counting the centre.
Lemma 2.1. Let , and be graphs.
(a) If is the disjoint union of and , then .
(b) If is a spanning subgraph of , then . If some edge of is not an edge of , then .
(c) Suppose that for subgraphs with and . Then
(d) (Cone.) If is the cone over , then .
(e) (Almost-cone.) Let be a vertex of of degree in . If is obtained from by adding a vertex adjacent to every vertex of except , then
(f) If is connected with vertices, then . The lower bound is attained by the path and the upper bound by the complete graph .
Proof. (a) A connected set lies in one component.
(b) Every connected set of is connected in . If is an edge of but not of , then is connected in but not in .
(c) No edge joins and , so a connected set avoiding lies in or in . Let be a connected set containing , and put . A path in between two vertices of stays in : it could leave only through , and it would have to return through , which a path cannot do. So each is a connected set of containing . Conversely, the union of a connected set of and one of , both containing , is connected. This gives a bijection between the connected sets of containing and such pairs .
(d) and (e) We have , where is the added vertex and is the number of sets such that is connected. This happens if and only if every component of contains a neighbour of . In (d) this holds for all sets . In (e) it fails exactly when is a component of , that is, when and contains no neighbour of . There are such sets.
(f) Let be a spanning tree of . For vertices , possibly equal, the vertex set of the – path in is connected in , hence in . Its two ends are the vertices of degree at most one in restricted to this set, so distinct pairs give distinct sets. This gives connected sets. The connected sets of are its intervals. There are only nonempty sets, and all of them are connected in . □
We record three families of formulas that follow from Lemma 2.1.
Example 2.2. (i) The star satisfies . A spider whose legs have lengths satisfies : a connected set containing the centre takes an initial segment of each leg, possibly empty, and a connected set avoiding the centre is an interval of one leg.
(ii) Attach pendant vertices at each vertex of a complete graph . A connected set is either a single pendant vertex, or meets the clique in a nonempty set , together with any pendant vertices attached at . Hence .
(iii) Let be a disjoint union of stars with and at most vertices in all, and let be the complete graph on vertices with the edges of a copy of removed. A set is disconnected in if and only if with nonempty and disjoint and all pairs in edges of . This complete bipartite subgraph of is connected, so it lies in one star, and then or is the centre alone. Hence
From finite hyperspaces to graphs
Throughout this section, closures, interiors and boundaries without a subscript are taken in the ambient continuum, which is in Sections 3.1 and 3.2 and in Section 3.3. Relative operations carry a subscript, as in , or .
Unions of continua
A subset of a space is regular closed if ; no connectedness is required. Thus consists of the regular closed subcontinua of . Let be subcontinua of a continuum. Their intersection graph has vertex set , with when and . For put .
Lemma 3.1. (a) is connected if and only if is a connected set of .
(b) A finite union of regular closed sets is regular closed.
(c) If the sets are regular closed and nonempty, with pairwise disjoint interiors, then is injective on nonempty sets .
Proof. (a) If is disconnected, split with no edge between and . Then is the union of the disjoint nonempty closed sets and . If is connected, add the sets one at a time, each meeting the union already built. A union of two intersecting connected sets is connected.
(b) If are regular closed, then for each . The reverse inclusion holds because the union is closed.
(c) Suppose and . The nonempty open set is contained in , so it meets for some . Since , this contradicts the disjointness of interiors. □
Necessity
Proposition 3.2. Let be a continuum with finite. Then for a finite connected graph , namely the intersection graph of the minimal elements of .
Proof. A finite subset of the metric space is discrete, so [2 Theorem 3.16] applies. It gives minimal elements of with pairwise disjoint interiors and . By [2 Proposition 3.15], every satisfies
This is equation (3.1) of [2]. [2 Proposition 3.15] gives the inclusion ; we include the reverse inclusion. Each is regular, so , and the open set is dense. Hence is dense in . Every point of it lies in some with . Taking closures and using gives .
Let be the intersection graph of . By Lemma 3.1, the map sends connected sets of injectively into . By (1) it is onto: for the set is nonempty, , and is connected by Lemma 3.1(a). Finally, is connected because is connected. The are all the minimal elements of : if is minimal, then (1) gives for some , so .
Remark 3.3 (Where discreteness is used). The proofs of [2 Propositions 3.14 and 3.15 and Theorem 3.16] use the following statement about a regular subcontinuum of :
if is finite, then every proper element of is contained in an inclusion-maximal proper element of .
For a finite family this is immediate, and if it is vacuous. When is finite, so is for every , because [11 Lemma 3.2.8]. In [2], Theorem 3.16 assumes that is discrete, and this hypothesis enters its proof and the proofs of Propositions 3.14 and 3.15 only through [2 Corollary 3.13], which provides the statement above. That corollary is applied to , where is or a regular subcontinuum of , such as , or in the notation of [2], and always to a proper element of . Here “maximal” must mean maximal in , as in [11 Definición 3.1.10]; read literally, [2 Definition 3.8] would make itself maximal. With this reading we checked the proofs of [2 Lemma 3.9, Propositions 3.14 and 3.15, and Theorem 3.16] line by line for finite . The Lean formalization of Section 7 also proves Proposition 3.15 and Theorem 3.16 of [2] for finite directly.
Realization
Construction 3.4. Let be a nondegenerate indecomposable continuum, for instance the Knaster bucket-handle continuum (Figure 1). Recall that every proper subcontinuum of has empty interior in [7 Chapter XI], [11 Teorema 1.1.17], and that has no isolated points, so every nonempty open subset of is infinite. Let be a finite connected graph with vertex set and edge set . If , put . Otherwise proceed in four steps.
Take a copy of for each vertex , and let be the disjoint union of ; it is a compact metric space.
For each edge choose a point and a point , so that the points chosen in each copy , one for each edge at , are distinct.
Let identify with for every edge, and let , with quotient map .
Put
The points of are the attachment points of : at the pieces and are joined. An identification merges two points into one; it adds no arc between them. The distinctness in step (2) ensures that each class of is a singleton or a pair with points in two different copies: no three pieces share a point, and no two points of the same copy are identified.
Figure 1. Construction 3.4 for the paw , a triangle with one pendant vertex. Each piece is a copy of the Knaster bucket-handle continuum, drawn at a finite stage of its construction. Dashed segments indicate point identifications: the two dots at the ends of a segment become one point of , and the segments are not part of . The attachment points on a piece are distinct and may be chosen anywhere.
Lemma 3.5. Let . In Construction 3.4:
(a) is a continuum;
(b) restricts to an embedding of each , so is homeomorphic to ;
(c) for , if , and otherwise;
(d) , and this set is dense in ;
(e) each belongs to , and the sets are pairwise disjoint.
Proof. Let be the finite set of chosen points and a metric on . The classes of are the pairs and the singletons. A subset of is saturated if it contains every class of that it meets. By the definition of the quotient topology, maps saturated open sets onto open sets.
(a) Compactness. is a continuous image of the compact space .
The map is closed. For closed , the saturation is together with finitely many points, hence closed.
Hausdorff. Let be two classes, and let be smaller than half the least distance between distinct points of the finite set . The -neighbourhoods of and of are disjoint. Each of them contains no point of outside , respectively , so they are saturated, and their images are disjoint open sets.
Metrizability. Let be a countable base of closed under finite unions. Every fibre of is finite, so if with open in , some satisfies , and then . As is closed, these sets form a countable base of . A compact Hausdorff space with a countable base is metrizable by Urysohn’s theorem.
Connectedness. The sets are connected, for , and is connected, so is connected (Lemma 3.1(a)).
(b) No two points of are identified, and a continuous injection of a compact space into a Hausdorff space is an embedding.
(c) A point of is a class meeting and ; the only such class is , which exists exactly when .
(d) The set is open in and saturated, so its image is open in . A point is not interior to : each of its neighbourhoods contains the images of infinitely many points of near , and only one point of maps into . Density holds because is finite and has no isolated points.
(e) By (d), . If , then by (c). □
We use the boundary bumping theorem in the following form.
Lemma 3.6 (Boundary bumping). Let be a continuum and let be a nonempty proper closed subset of . Then every component of meets .
Proof. This is a form of the boundary bumping theorem [7 Chapter V]; we include the short proof. Since is closed, . Suppose that a component of satisfies . In the compact space , the component is the intersection of the subsets of that are open and closed in and contain [4 Theorem 6.1.23]. The compact set is covered by the complements of these sets, so finitely many of them have an intersection with , and is open and closed in . Then is closed in . Also for some open , so is open in . As , this contradicts the connectedness of . □
The next lemma is the key step. The intersection of a regular subcontinuum with a piece need not be connected, so the indecomposability of cannot be applied to it directly. Boundary bumping shows that has only finitely many components, each containing an attachment point. If every component were a proper subcontinuum of , their union would be nowhere dense in , while the regularity of forces to contain a nonempty open subset of .
Lemma 3.7 (Key lemma). Let and . If , then .
Proof. For this is the indecomposability of , so let . Since is regular, is dense in ; as is an open set meeting , it meets . So is nonempty. It is open in , hence open in . Put , a closed subset of containing .
If , then is a subcontinuum of with nonempty interior in . Since is indecomposable, .
Suppose . Then is a nonempty proper closed subset of the continuum . Every point of outside belongs to , which is open in and contained in . Consequently . By Lemma 3.6, every component of meets . Distinct components are disjoint, so has at most components, and each of them is a subcontinuum of . If all of them were proper subcontinua of , each would be nowhere dense in by indecomposability, and so would their finite union . This contradicts . Thus some component of equals , and . □
Proposition 3.8. For every finite connected graph ,
and distinct connected sets give distinct elements. In particular .
Proof. The case is . Let . By Lemma 3.5(c), the intersection graph of is . By Lemma 3.1 and Lemma 3.5(e), for every connected set the set is a regular subcontinuum, and is injective. Conversely, let and . By Lemma 3.7, . The set is the complement of a finite set in a space without isolated points, so is dense in . This set is contained in . Therefore . So ; moreover , and is connected by Lemma 3.1(a). □
Remark 3.9 (Position of the attachment points). Recall that the composant of a point in a continuum is the union of all proper subcontinua containing . Lemma 3.7 does not depend on where the attachment points lie, but the choice of attachment points does affect which proper subcontinua has. If two attachment points and of lie in one composant of , then a proper subcontinuum of contains both, and is a subcontinuum of that is not a union of pieces. It is not regular. The set is open in and contained in , hence open in , and it is empty because is nowhere dense in . So misses the nonempty set . Thus attachment points in a common composant create additional subcontinua, but the regular subcontinua are still exactly the connected unions of pieces. What matters is that each is finite: this bounds the number of components of in Lemma 3.7. In the construction of [1], with countably many attachment points on a piece, the composants do matter.
Theorem 3.10. The set of finite cardinalities of hyperspaces , over all continua , equals the set of values over all finite connected graphs .
Proof. Combine Propositions 3.2 and 3.8. □
The values up to sixteen
For let
so that and . By Lemma 2.1(f), .
Lemma 4.1. , , and .
Proof. Up to isomorphism, the connected graphs on at most three vertices are , , and , and the six connected graphs on four vertices are the path, the star, the paw (a triangle with one pendant vertex), the cycle, the diamond ( minus an edge) and . Lemma 2.1 and Example 2.2 give 10, 11, 12, 13, 14 and 15. For the cycle, the connected sets are the 12 proper cyclic intervals of vertices together with the whole vertex set. These agree with [2 Figure 3]. □
Proposition 4.2. No connected graph satisfies .
Proof. Let be connected with vertices and . By Lemma 2.1(f), , so , and , so . Thus . The trees on five vertices are the path , the spider with legs of lengths 2, 1 and 1, and the star . By Example 2.2(i) they have , and . Let be a spanning tree of . If is the spider or the star, then by Lemma 2.1(b).
Suppose , with vertices in order, and . Then contains plus a chord with . A set that is connected in but not in consists of two intervals of the path, one containing and the other containing , separated by at least one vertex. So these sets are with and . The outer ends can be chosen in ways () and in ways (). The inner ends must satisfy , , which leaves choices. Thus the chord adds connected sets. For the six possible chords this number is 3, 4, 3, 6, 6, 6, so it is always at least 3. Hence by Lemma 2.1(b). In every case . □
Table 1 lists representatives of the 21 isomorphism classes of connected graphs on five vertices; with Lemma 4.1 it covers all 31 classes of connected graphs with at most five vertices. It confirms that .
| edges | edges | ||||
| 1 | 04 13 23 24 | 15 | 12 | 03 04 12 14 23 34 | 24 |
| 2 | 04 14 23 34 | 17 | 13 | 04 12 13 14 23 24 34 | 24 |
| 3 | 04 12 13 23 34 | 18 | 14 | 03 04 13 14 23 24 | 26 |
| 4 | 04 13 23 34 | 19 | 15 | 03 04 12 14 23 24 34 | 26 |
| 5 | 04 14 24 34 | 20 | 16 | 03 04 13 14 23 24 34 | 27 |
| 6 | 04 14 23 24 34 | 21 | 17 | 03 04 12 13 14 23 24 | 27 |
| 7 | 04 13 14 23 24 | 21 | 18 | 03 04 12 13 14 23 24 34 | 28 |
| 8 | 03 04 12 14 23 | 21 | 19 | 02 03 04 12 13 14 24 34 | 29 |
| 9 | 04 12 13 23 24 34 | 22 | 20 | 02 03 04 12 13 14 23 24 34 | 30 |
| 10 | 03 04 12 14 24 34 | 22 | 21 | all ten edges | 31 |
| 11 | 04 13 14 23 24 34 | 23 |
Table 1. Representatives of the 21 isomorphism classes of connected graphs on five vertices, with their values of . Each representative is the canonical labeled graph of Appendix A, on the vertex set ; the edge is written . The value 16 does not occur; the value 25 first occurs on six vertices.
Corollary 4.3. The values of on connected graphs that are at most 16 are 1, 3, 6, 7 and the integers from 10 to 15.
Proof. Graphs with at least six vertices have by Lemma 2.1(f). Apply Lemma 4.1, Proposition 4.2 and the bound for five vertices. □
Every integer at least seventeen
The construction works with all graphs, not only connected ones. The reason is the cone of Lemma 2.1(d). If has vertices and , then the cone over is a connected graph on vertices with . So the natural auxiliary object is the set of values of on all graphs with vertices. Cones alone do not suffice. Every graph on vertices has at least connected sets, its singletons, so cones give only values with . They miss the values from to , at the bottom of the interval . The near-cones defined below fill this gap.
Three rules and seven small graphs
Definition 5.1. Let , , and let be a graph with vertices. The near-cone is obtained as follows: take a star with centre and leaves and a disjoint copy of , and add a vertex adjacent to every vertex except (Figure 2). Formally, its vertices are , , and the vertices of , and its edges are those of , the edges and for , and the edges joining to every vertex of . Thus is connected and has vertices.
Figure 2. The near-cone . The vertex is joined to and to every vertex of ; the centre of the star is joined only to the .
Lemma 5.2. Let .
(U) If and with , then . In particular .
(C) .
(N) If , and , then . More precisely,
Proof. (U) is Lemma 2.1(a) (add a disjoint connected graph, for instance an isolated vertex), and (C) is Lemma 2.1(d).
For (N), let and count its connected sets according to whether they contain . The connected sets avoiding are those of ; there are of them, by Lemma 2.1(a) and Example 2.2(i). The sets containing are the sets with . Since is adjacent to every vertex other than , and is adjacent only to the leaves, such a set is disconnected exactly when contains but no leaf . There are such sets : they contain , no leaf, and an arbitrary set of vertices of . Hence . This is also the case of Lemma 2.1(e).
| graph | count | ||
| 19 | 5 | triangle with one pendant vertex at and one at | Ex. 2.2(ii): |
| 32 | 6 | triangle with two pendant vertices at and one at | Ex. 2.2(ii): |
| 35 | 6 | minus an edge , with one pendant vertex at and one at a vertex of degree 3 | see the proof |
| 57 | 6 | minus two disjoint paths with three vertices each | Ex. 2.2(iii): |
| 67 | 7 | with two pendant vertices at a vertex of the larger side | Lem. 2.1(c): |
| 90 | 7 | minus two edges , , with a pendant vertex at | Lem. 2.1(c): |
| 25 | 6 | spider with legs of lengths 1, 2, 2 | Ex. 2.2(i): |
Table 2. The sporadic graphs, drawn in Figure 3. The six graphs above the line fill the gaps left by the rules (U), (C) and (N) in Lemma 5.4 (Remark 5.5). The spider below the line realizes 25 on six vertices (Corollary 5.8).
Figure 3. The seven sporadic graphs of Table 2, with their values of and their numbers of vertices. In the graph with , the hexagon is drawn without four of its sides; these form the two removed paths with three vertices each.
Proof. The values 19, 25, 32 and 57 follow from Example 2.2; for 57, consists of two copies of . For : a connected set is either one of the two pendant vertices, or a connected set of together with any of the pendant vertices attached at . The connected sets of are all nonempty subsets of its vertex set other than , hence 14 sets. Summing over all nonempty gives ; removing subtracts 2, and the pendant vertices add 2, giving 35.
For : glue and the star at (Lemma 2.1(c)). Let be the smaller side and the larger one. The connected sets of containing are and the sets with and ; there are . Also has , and the star contributes and .
For : let and glue with an edge at . In , the sets containing that are disconnected are , and , so ; and has . The edge contributes and 1. □
The base
Lemma 5.4. (a) , , , and .
(b) , and .
Proof. We apply the rules of Lemma 5.2, starting from and , one order at a time. At each order we use only the inclusions already established at smaller orders, and we record only inclusions. We give the order in full; Table 3 lists every order.
| cones (C) | near-cones (N), with | sporadic | by (U) and | ||
| 2 | — | — | ; so | ||
| 3 | — | — | ; so | ||
| 4 | : 10; : 13 | — | , ; so | ||
| 5 | : | 19 | , ; so | ||
| 6 | : ; : | 32, 35, 57 | ; so | ||
| 7 | : ; : | 67, 90 | , ; so |
Table 3. The steps of the proof of Lemma 5.4. In the cone and near-cone columns, stands for the part of established in the previous rows. The column (U) lists and the sums with , that are needed; for instance and .
For , the rule (C) applied to gives . The rule (N) with gives . The sporadic graph with (Lemma 5.3) supplies the remaining value, so . By (U), and . Together with , this gives . □
Remark 5.5. Two statements must be distinguished here: a value may fail to be produced by the rules (C) and (N), and a value may fail to be realized by any graph. Lemma 5.4 is sharp in the second sense: , , , and , by the computation of § 7.
In the first sense, even with every sporadic graph of smaller order available, the rules (C) and (N) produce on five vertices every value in except 19 and 25, on six vertices every value in except 32, 35 and 57, and on seven vertices every value in except 67 and 90 (§ 7). All these values except 25 do lie in , and the six sporadic graphs above the line in Table 2 realize them. The remaining sporadic graph realizes 25 on six vertices.
The induction
Theorem 5.6. For every :
Together with Lemma 5.4, holds for all and for all .
The two assertions play different roles. The assertion provides auxiliary graphs, possibly disconnected, with every count from to ; the assertion provides connected graphs for the upper half of the range. We prove from earlier (H)-statements, and then obtain by combining with the isolated-vertex rule (U). In the proof of the interval splits as
near-cones cones
Proof. We use induction on . Assume for ; for this is Lemma 5.4.
Proof of . By (C) and , . It remains to realize for . By (N), it suffices to find and with and
The parameters must satisfy two constraints. For the largest we need , which holds exactly when . For the smallest we need , which requires to be small compared with . For we take the least with : this meets the first constraint and keeps close to , so that is large. For this choice leaves too small, and we use Lemma 5.4(a) instead:
: , for ; , .
: , for ; , and .
: , for ; , .
: , .
Now let , let be the least integer with , and put . Then . If , then and . If , minimality of gives , so and . In both cases and . Then
because . Also
because . So by , which holds since .
Proof of . By (U) and , . By , .
Example 5.7. Take . Then and , and the proof uses , with . So the near-cone , formed by the path and the vertices , is a connected graph with 8 vertices and
Seven vertices are not enough, since then .
Corollary 5.8. Every integer equals for some connected graph . If , or and , then can be chosen with vertices, the least possible number. The value 25 needs six vertices.
Proof. Let , so . If , then by Theorem 5.6. If and , then by Lemma 5.4. The spider of Table 2 gives , and by Table 1. Fewer than vertices are impossible, because on vertices.
Remark 5.9 (An algorithm). The proofs are constructive. For and , the following recursive procedure returns a graph with vertices and , which is connected when .
If , return the graph given by the proof of Lemma 5.4.
If , return together with an isolated vertex.
If , return the cone over .
Otherwise put , choose as in the proof of Theorem 5.6, and return . Here if , and is the graph given by the proof of Lemma 5.4 if .
Each step makes at most one recursive call, on fewer vertices. Apart from that call, it uses operations on integers with at most bits and writes edges. Hence is computed in time polynomial in . For , the graph with is connected, has the least possible number of vertices, and is found in time polynomial in . For the procedure does not apply, since ; a connected graph with six vertices and is given by the proof of Lemma 5.4(b). The procedure cannot simply be extended to , because . For example, is realized on 333 vertices. Section 7 reports a check of this procedure.
Proofs of the main results
Proof of Theorem A. (1)(2) is Theorem 3.10. (2)(3) is Corollary 4.3, which excludes exactly 2, 4, 5, 8, 9, 16 below 17. (3)(2): for use Lemma 4.1, and for use Corollary 5.8.
For the last assertions, let and let be the graph of Corollary 5.8, with vertices. Then is a union of Knaster continua, any two meeting in at most one point (Lemma 3.5(c)), and by Proposition 3.8. Conversely, if and has minimal elements, then by Proposition 3.2 and Lemma 2.1(f). Hence .
Proof of Corollary B. (a) is the case of Theorem A. For (b), a finite metric space is discrete, so two finite metric spaces are homeomorphic exactly when they have the same cardinality; also . Apply Theorem A. For (c), for , while and for are allowed values.
Computational verification
The proofs above do not use a computer. We checked every explicit finite graph count and certificate in this paper, and the computer-assisted results of [2], with programs written for this purpose. No program uses SageMath or nauty.
Counting. We compute in three ways.
By testing all nonempty vertex sets.
By the ESU enumeration scheme [15], which lists each connected set once, in Python and in C.
By a recurrence. For a nonempty vertex set let if is connected and otherwise. The component of containing is the only set with , connected, and no edge between and . So the sum of over all sets with and no edge between and equals 1. Hence , the sum running over such sets .
Generation of graphs on at most eight vertices. Program A takes the graphs on at most seven vertices from the atlas of Read and Wilson [12], as distributed with NetworkX [5]. Deleting a vertex from a graph on eight vertices leaves a graph on seven vertices, which need not be connected. So A extends each of the 1044 graphs on seven vertices, connected or not, by every nonempty neighbourhood of a new vertex. It removes isomorphic copies in two independent ways: by Weisfeiler–Lehman hashing followed by an exact isomorphism test, and by comparing canonical graph6 strings (Appendix A). Both give the 11117 connected graphs on eight vertices of OEIS A001349 [8]. Program B, written in C, uses no atlas and no isomorphism test. It runs over all labeled graphs on at most seven vertices, and over the graphs on eight vertices obtained by extending the labeled graphs on seven vertices with nonincreasing degree sequence; every graph has such a labeling. Its numbers of labeled connected graphs agree with OEIS A001187.
Results for small orders. Program A counts with methods (i) and (ii), program B with (iii), and they give the same set for every . Every value in except 2, 4, 5, 8, 9, 16 occurs, and every value in occurs on at most seven vertices. This confirms [2 Remark 3.20]; we found no discrepancy.2 For each , contains every integer in except 16, 25 (); 22, 23, 26 (); 29, 30, 31, 35 (); and 37, 38, 39, 40, 43, 50, 55 (). Program A selects the witnesses of Appendix A; program B rederives each witness on at most seven vertices by brute force over all labeled graphs, and confirms the least edge counts on eight vertices.
The construction of § 5. We implemented Lemma 5.4 and the procedure of Remark 5.9 literally, and checked the gaps stated in Remark 5.5. An independently written checking program re-checked each of the 353 derivations for . For every , and for 300 random , we built the resulting graph and counted its connected sets with the C version of method (ii). For every and every , the graph has exactly vertices, is connected when , and has ; in total 130708 graphs were checked.
Subtrees. We also re-verified the computer-assisted parts of [3]: the list of 34 exceptions, from all trees with at most 18 vertices, generated and counted in two independent ways; the caterpillar search; and the base case of [3 Proposition 3]. The details are in the supplementary material.
Formalization in Lean. The supplementary material also contains a formalization in Lean 4 with Mathlib, in the directory lean. It proves that a positive integer is a value of on a finite connected graph if and only if it lies outside , which is the equivalence of (2) and (3) in Theorem A, together with Corollary 5.8, including the exception 25. The proof follows § 2, § 4 and § 5: the rules (U), (C) and (N), the sporadic graphs, the 353 derivations of Lemma 5.4, and Theorem 5.6. The values 16 and 25 on five vertices are excluded by a kernel computation over all labeled graphs on five vertices, using a counting procedure proved equal to .
The topological part is formalized as well. For pieces with the properties of Lemma 3.5, the formalization proves Lemmas 3.1, 3.6 and 3.7, Proposition 3.8 and the counting argument of Proposition 3.2, including the inclusion of (3.1) that were supplied. It proves Proposition 3.15 and Theorem 3.16 of [2] for spaces with finite , along the lines of their proofs. Finiteness gives the maximal elements directly, and the formal proof uses only that is finite and that is connected. The Knaster continuum is constructed as the inverse limit of the tent map on , a standard model of the bucket handle. The formalization proves that it is an infinite indecomposable metrizable continuum without isolated points. Construction 3.4 is realized without a quotient, as a subspace of . The copy indexed by is the graph of , where is the th unit vector and is a continuous function on vanishing exactly at the attachment points of that copy. Two copies then meet exactly at their common attachment points. This space is homeomorphic to for a particular choice of attachment points, since the induced map from is a continuous bijection from a compact space onto a Hausdorff space. The formal proof does not use this: it proves Lemma 3.5 for this space directly.
Theorem A, including the least number of pieces, and Corollary B(a) and (c) are thus proved with no hypotheses. Not formalized are Corollary B(b), which concerns the topology of , and the computations of this section. The formalization uses neither sorry nor native_decide, and its results depend only on the axioms propext, Classical.choice and Quot.sound. It was replayed through the kernel with leanchecker and checked by the independent type checker nanoda.
Supplementary material. The programs, their outputs and the Lean formalization form the supplementary material of this paper, version 2.3. It is available, together with the companion note [6] and the first prompt given to Claude, at https://github.com/LucasAlves8Sp/ALL-FINITE-CARDINALITIES-OF-THE-HYPERSPACE-OF-REGULAR-SUBCONTINUA. One script reruns all computations in about five minutes and reproduces every output file exactly. The file CHECKS.md maps each computational statement of this paper to the program that checks it and to its output, and explains how each generator is complete and how it removes duplicates. The file MANIFEST.txt lists SHA-256 checksums of all files.
AI disclosure
Claude Opus 5.5 (Anthropic) was used extensively as a generative research and writing tool, and most of the work was done by it. In an iterative process directed by the author, the model carried out most of the exploratory proof development, found the near-cones of § 5, wrote and ran the programs of § 7, and generated most of the first draft of the manuscript and the accompanying Lean 4 formalization. The author formulated the problem and the objectives, namely Questions 3.5 and 3.21 of [2], provided the mathematical context and constraints, and steered the iterations through prompts and feedback. The author also supplied ideas and suggested strategies: the reduction to graphs through [2 Theorem 3.16], the realization by Knaster continua glued at points, the exclusion of 16, and the theorem of [3] on subtrees as a fallback. The author selected and revised the outputs and reviewed the final arguments.
The manuscript then went through many rounds of writing, revision and checking. In each round the author, with ChatGPT-Astra (OpenAI), reviewed the paper, the proofs and the supplementary material and sent feedback, and Claude revised the text, the programs and the formalization; AI was used again for proofreading and review. The explicit finite graph counts are checked by the programs of the supplementary material, and Theorem A is formally verified in Lean. No independent expert has yet verified the proofs. The author takes full responsibility for the content.
Appendix A. Witnesses for the values from 17 to 127
A witness for an integer is a connected graph with . We record witnesses as graph6 strings. A graph6 string is a standard printable encoding of a finite labeled graph with vertex set : its first character encodes , and the remaining characters encode the entries above the diagonal of the adjacency matrix, read column by column, six bits per character.
Canonical strings. A graph6 string depends on the labeling. For a fixed all graph6 strings have the same length, and we compare them lexicographically by their ASCII characters. The canonical graph6 string of a graph is the least graph6 string among all its labelings with vertex set ; two graphs are isomorphic if and only if their canonical strings coincide. A labeling attaining the canonical string need not be unique, since automorphisms can give several, but the labeled graph on that it produces is unique; we call it the canonical labeled graph. Table 1 and this appendix use canonical labeled graphs.
Witness rule. For each the table gives a witness: a connected graph with of least possible order ; among those, of least edge count; and among those, the one with the least canonical graph6 string. Equivalently, if is the least order of a connected graph with , the witness is the labeled graph on with and least edge count whose graph6 string is least. The table lists , and the canonical string. Program B of Section 7 rederives every entry by brute force over all labeled graphs on at most seven vertices. Edge lists are in the supplementary file witnesses_small.csv.
| graph6 | graph6 | graph6 | ||||||
| 17 | 5 | D©s | 54 | 6 | EB°o | 91 | 7 | F?Nv_ |
| 18 | 5 | DJc | 55 | 6 | EFz_ | 92 | 7 | F?No |
| 19 | 5 | DBk | 56 | 6 | EFzg | 93 | 7 | FQ˜o |
| 20 | 5 | D?{ | 57 | 6 | EL˜o | 94 | 7 | F?Fnw |
| 21 | 5 | DQ{ | 58 | 6 | EFzw | 95 | 7 | F?]_ |
| 22 | 5 | DJk | 59 | 6 | EF˜w | 96 | 7 | F@Vn_ |
| 23 | 5 | DB{ | 60 | 6 | EJ˜o | 97 | 7 | F©N˜W |
| 24 | 5 | DLs | 61 | 6 | EJ˜w | 98 | 7 | F?Nvo |
| 25 | 6 | E©QW | 62 | 6 | E˜˜w | 99 | 7 | F@vf_ |
| 26 | 5 | DFw | 63 | 6 | E˜˜w | 100 | 7 | F?B˜o |
| 27 | 5 | DF{ | 64 | 7 | F?Dn0 | 101 | 7 | F?B˜w |
| 28 | 5 | DN{ | 65 | 7 | F??o | 102 | 7 | F?F˜w |
| 29 | 5 | D]{ | 66 | 7 | F?C˜W | 103 | 7 | F?N˜o |
| 30 | 5 | D^˜{ | 67 | 7 | F?KuW | 104 | 7 | F?˜vo |
| 31 | 5 | D˜˜{ | 68 | 7 | F?Cng | 105 | 7 | F©?vo |
| 32 | 6 | E?NW | 69 | 7 | F?©Iw | 106 | 7 | F©?V_ |
| 33 | 6 | E©Ug | 70 | 7 | F??Fw | 107 | 7 | F??˜o |
| 34 | 6 | EJ]G | 71 | 7 | F??Nw | 108 | 7 | FBnn0 |
| graph6 | graph6 | graph6 | ||||||
| 35 | 6 | E@Uw | 72 | 7 | F?Cfw | 109 | 7 | F@vvo |
| 36 | 6 | E?No | 73 | 7 | F??^w | 110 | 7 | FBzv_ |
| 37 | 6 | E?Bw | 74 | 7 | F?C^w | 111 | 7 | F@vvw |
| 38 | 6 | E?Fw | 75 | 7 | F@Q^G | 112 | 7 | F?~v_ |
| 39 | 6 | E@Rw | 76 | 7 | F?Cnw | 113 | 7 | F?~vg |
| 40 | 6 | E?Nw | 77 | 7 | F??~w | 114 | 7 | F@~vg |
| 41 | 6 | E@Nw | 78 | 7 | F?Dno | 115 | 7 | F?~vw |
| 42 | 6 | E?^o | 79 | 7 | F@Um_ | 116 | 7 | F?~~w |
| 43 | 6 | E@Vw | 80 | 7 | F?LVw | 117 | 7 | F@~~w |
| 44 | 6 | E?^w | 81 | 7 | F@Q^W | 118 | 7 | FFzng |
| 45 | 6 | E@vg | 82 | 7 | F?Dnw | 119 | 7 | FFzfw |
| 46 | 6 | EBn_ | 83 | 7 | F?@~o | 120 | 7 | FFznw |
| 47 | 6 | E@vo | 84 | 7 | F?D~o | 121 | 7 | FFz~o |
| 48 | 6 | EBz_ | 85 | 7 | F?@~w | 122 | 7 | FFz~w |
| 49 | 6 | E@vw | 86 | 7 | F?Fng | 123 | 7 | FF~~w |
| 50 | 6 | EJfw | 87 | 7 | F@Umg | 124 | 7 | F]~vw |
| 51 | 6 | E?~o | 88 | 7 | F?NNg | 125 | 7 | F]~~w |
| 52 | 6 | E?~w | 89 | 7 | F?N^_ | 126 | 7 | F^~~w |
| 53 | 6 | E@~w | 90 | 7 | F@]v_ | 127 | 7 | F~~~w |
Table 1 (PDF p. 16).
Independent researcher
Email address: [email protected]
References
- [1]L. Alves de Almeida, A continuum whose hyperspace of regular subcontinua is homeomorphic to the irrationals, preprint, Zenodo, doi:10.5281/zenodo.23528477.
- [2]J. Camargo, N. González, and D. Ramírez, On the hyperspaces of meager and regular continua, Appl. Gen. Topol. 25 (2024), no. 2, 385–406. doi:10.4995/agt.2024.20116.DOI
- [3]É. Czabarka, L. A. Székely, and S. Wagner, The inverse problem for certain tree parameters, Discrete Appl. Math. 157 (2009), no. 15, 3314–3319. doi:10.1016/j.dam.2009.07.004.DOI
- [4]R. Engelking, General Topology, revised and completed edition, Sigma Series in Pure Mathematics, vol. 6, Heldermann, Berlin, 1989.
- [5]A. A. Hagberg, D. A. Schult, and P. J. Swart, Exploring network structure, dynamics, and function using NetworkX, in: Proceedings of the 7th Python in Science Conference (SciPy 2008), 11–15.
- [6]L. Alves de Almeida, Small continua with finitely many regular subcontinua: illustrated examples, note, 2026, in the supplementary material of this paper.
- [7]S. B. Nadler, Jr., Continuum Theory: An Introduction, Monographs and Textbooks in Pure and Applied Mathematics, vol. 158, Marcel Dekker, New York, 1992.
- [8]OEIS Foundation Inc., The On-Line Encyclopedia of Integer Sequences, sequences A001187 and A001349, https://oeis.org.
- [9]N. Ordoñez, The hyperspace of regular subcontinua, Topology Appl. 234 (2018), 415–427. doi:10.1016/j.topol.2017.11.038.DOI
- [10]N. Ordoñez, Hyperspaces through regular and meager subcontinua, Topology Appl. 300 (2021), article 107760. doi:10.1016/j.topol.2021.107760.DOI
- [11]D. A. Ramírez Angarita, Los hiperespacios de subconjuntos regulares y subconjuntos magros, undergraduate thesis, Universidad Industrial de Santander, Bucaramanga, 2023. Available at https://noesis.uis.edu.co/entities/publication/cd4f0fe6-ec75-47d8-8e0a-617149375321.
- [12]R. C. Read and R. J. Wilson, An Atlas of Graphs, Oxford University Press, Oxford, 1998.
- [13]L. A. Székely and H. Wang, On subtrees of trees, Adv. in Appl. Math. 34 (2005), 138–155. doi:10.1016/j.aam.2004.07.002.DOI
- [14]P. Tittmann, I. Averbouch, and J. A. Makowsky, The enumeration of vertex induced subgraphs with respect to the number of components, European J. Combin. 32 (2011), no. 7, 954–974. doi:10.1016/j.ejc.2011.03.017.DOI
- [15]S. Wernicke, Efficient detection of network motifs, IEEE/ACM Trans. Comput. Biol. Bioinform. 3 (2006), no. 4, 347–359. doi:10.1109/TCBB.2006.51.DOI


