22institutetext: Computer Science Institute of Charles University, Prague, Czechia 22email: [email protected]
Reconfigurations of Plane Caterpillars and Paths
Abstract
Let be a point set in the plane, and sets of all plane spanning paths and caterpillars on . We study reconfiguration operations on and . In particular, we prove that all of the commonly studied reconfigurations on plane spanning trees still yield connected reconfiguration graphs for caterpillars when is in convex position. If is in general position, we show that the rotation, compatible flip and flip graphs of are connected while the slide graph is disconnected. For paths, we prove the existence of a connected component of size at least and that no component of size at most can exist in the flip graph on .
Keywords:
Reconfiguration graph, Geometric graph, Caterpillar, Path1 Introduction
Given a set of structures , and a reconfiguration operation that transforms one object in to another, the reconfiguration graph is a graph with vertex set in which two vertices form an edge if one can be transformed into the other using a single reconfiguration operation. Often, in computer science, objects are solutions to a problem and reconfigurations are local changes that transform one solution into another. Then, to understand the solution space of a problem, it is important to study both the structural properties of the reconfiguration graph (connectivity, hamiltonicity, etc.) and algorithmic questions (how to find the shortest reconfiguration sequence). For an introduction to the topic of reconfiguration, see [17]. We focus on reconfigurations in the following setting.
Given a point set in the plane, a plane spanning tree on is a spanning tree of whose edges are straight line segments that do not cross. Let be the set of all plane spanning trees on . We define the following five reconfigurations on . For the following, we are given plane spanning trees , then we say that:
-
1.
and are connected by a flip if for some edges .
-
2.
and are connected by a compatible flip if for some edges which do not cross.
-
3.
and are connected by a rotation if for some edges which share an endpoint.
-
4.
and are connected by an empty triangle rotation if for some edges which share an endpoint and the triangle spanned by their endpoints is empty.
-
5.
and are connected by a slide if for some edges which share an endpoint and the triangle spanned by their endpoints is empty and if and then .
For a visualization of all of the reconfiguration operations described above, see Figure 1. From the description of these operations, one can notice that there exists a linear hierarchy. Every slide is an empty triangle rotation, every empty triangle rotation is a rotation, and so on. This hierarchy is useful when studying the structural properties of the corresponding reconfiguration graphs. For example, if the slide graph of plane spanning trees is connected then so are all of the other reconfiguration graphs.
The reconfiguration graphs associated with the operations described above have been a topic of interest for a long time with many results appearing through the years. These results have concerned connectivity [1, 7, 16], lower and upper bounds on the diameter [2, 8, 9], etc. However, there has been little research on induced subgraphs of these reconfiguration graphs. The only such subgraph that has been explored is the subgraph induced by plane spanning paths. And even then, some of the main questions have been for a long time. We aim to expand on the study of induced subgraphs of reconfiguration graphs of plane spanning trees by exploring the previously unexplored problem of reconfigurations of plane spanning caterpillars, and by expanding on the topic of reconfigurations of plane spanning paths.
1.1 Our contribution
A caterpillar is a tree in which all non-leaf vertices form a path. Possibly, this path is a single vertex or empty if the caterpillar is a single edge. We call this path the spine of the caterpillar. For a point set in the plane, a plane spanning caterpillar of is a plane spanning tree of which is a caterpillar. We call the two endpoints of the spine the head and the tail (we may choose which one is which) and leaves connected to these vertices head-leaves and tail-leaves. For a set , we will denote by the set of all plane spanning caterpillars on . We will denote the reconfiguration graphs on by
First, we focus on the case where is in convex position. We show that the slide graph is connected in this case.
Theorem 1.1
Let be a set of points in convex position in the plane. Then, the graph is connected with diameter at most .
Of course, this immediately implies that all of the other reconfiguration graphs are connected for a point set in convex position. Then, we consider the case where is a point set in general position. Here the situation is very different. Mainly, for each , it is possible to find sets of points such that has isolated vertices. On the other hand, we can prove connectivity for the rotation graph .
Proposition 1
Let be a set of points in general position in the plane. Then, the graph is connected.
The above proposition again implies that the flip graph and compatible flip graph of plane spanning caterpillars are connected for each in general position. However, our results do not imply connectivity of the empty rotation graph , so the following question remains open.
Question 1
Is connected for in general position?
Given the disconnectedness of , it becomes more interesting to find large connected components in this graph. To do this, we consider special subclasses of caterpillars and show that these are connected in . We write for a spanning star with center .
Lemma 1
Let be a set of points in general position in the plane and be adjacent in the convex hull of . Then, and are both connected to any double star with centers and in .
For a caterpillar , and consecutive spine vertices of , we write for the point set consisting of the spine vertices and all of the leaves attached to them. We call with spine a well-separated caterpillar if for each , the convex hull of is disjoint from the rest of . As a consequence of Lemma 1, we get that all caterpillars in this relatively general class are mutually connected in .
Theorem 1.2
Any two well-separated caterpillars are connected by a sequence of slides in .
Then, we solve the connectivity of for in general position.
Theorem 1.3
Let be a natural number. Then is connected for every set of points in the plane if . If , there exists a set of points such that has isolated vertices.
Lastly, we shift our focus to the study of connected components of the reconfiguration graph of plane spanning paths. Given a set of points in general position , we will refer to the corresponding flip graph of plane spanning paths as . Currently, the main open problem related to such flips is deciding if is connected. In this direction, we prove the following result.
Theorem 1.4
Let be a set of points in general position. Then contains a connected component of size .
In particular, this component consists of the paths which we call generalized peeling paths. We introduce this subclass in Section 4.
We note that Theorem 1.4 was independently discovered by Kleist, Kramer and Rieck [14, 15]. We still include it here because we use the number of generalized peeling paths to prove that there are at least well-separated caterpillars which implies that has a component of at least this size.
Finally, we investigate the minimal size of components in . In this direction, we prove the following result.
Theorem 1.5
Let be a point set of points in general position. Then, contains no connected component of size at most .
1.2 Previous work
Reconfiguration graphs of plane spanning trees
It is known that the reconfiguration graph of plane spanning trees is connected even in the most restrictive case when the reconfigurations are slides [1]. Consequently, so are the reconfiguration graphs for all other types of reconfigurations we have defined. In the case of slides, a tight bound on the diameter is shown in [4]. For the empty triangle rotations, an upper bound of on the diameter was shown in [16], while for the remaining reconfigurations a linear upper bound is known [7]. In [2], an upper bound of is shown for flip graphs. With the exception of slide graphs, the best known lower bound on the diameter of the reconfiguration graphs is , as per [13].
Reconfiguration graphs of plane spanning paths
The reconfiguration graph of plane spanning paths has been thoroughly studied for convex point sets. It is known that the flip graph is connected [5] and that for a convex point set of size the flip graph has diameter for and for [10]. Moreover, the flip graph is Hamiltonian [18] and it has chromatic number [12]. Also, it is known that the flip graph of a convex point set of size where the paths considered have a fixed start vertex has diameter and radius for [15]. Finally, the flip graph of a point sets with at most two convex layers is connected [15]. For point sets in general position connectivity was first conjectured by Akl et al. [5].
Conjecture 1 (Akl. et. al. [5])
Let be a point set in general position. Then the flip graph of plane spanning paths on is connected.
2 Slide Graph of Caterpillars in Convex Position
In this section, let be a set of points in convex position. Our goal is to prove that is connected. We start with the following lemma.
Lemma 2
Let be a caterpillar and let be one of the endpoints of its spine. Then can be transformed into using at most slides.
Proof
Recall that is not a leaf vertex in , and therefore has degree at least . Assume that the spine of is the path . For each , starting with , first slide all of the leaves attached to visible from to , starting from the one closest to . Then, slide edge along the edge . Since all previously slid edges form a star, is an endpoint of the spine, and the rest is part of the original caterpillar, this is a valid slide (see Figure 2). Now, at least one of the leaves attached to is visible from , so slide it to . Repeat this until becomes a leaf. In the entire procedure, each edge is slid exactly once except for the edges at in the initial caterpillar , thus we need at most slides. β
We now observe that for all , and can be transformed into one another using slides. Then, Theorem 1.1 follows from this fact together with Lemma 2. Given two caterpillars , on , we first transform to a star in at most steps, then one star into another in at most steps and lastly we transform the star into in at most more steps. We get the following result as a corollary.
Corollary 1
Let and be two plane spanning paths on . Then, can be transformed into using at most slides in .
Proof
Since , there exists a vertex of which has degree at least in both and . Then, if we split both and at and perform the algorithm from Theorem 1.1 on all subpaths, we will transform both and to in at most moves each. Thus, since all moves are reversible we can slide from to and finally to in moves. We can choose arbitrarily since in a path there are no leaves that are not head/tail-leaves. β
The upper bound on the diameter of that we obtain in Theorem 1.1 is most likely not tight. As mentioned before, it is known that for slides in plane trees, there is a lower bound of [13]. Even further, the trees that achieve this lower bound are caterpillars, thus the gap between the lower and upper bound is big. Thus, it would be interesting to find better lower bounds for all of the reconfiguration graphs for in convex position.
3 Reconfiguration Graphs of Caterpillars in General Position
In this section, let be a set of points in general position in the plane. As mentioned in the introduction, we can show that if , then has at least one isolated vertex. We give examples for the cases of in Figure 3. The construction of the examples can easily be generalized to larger point sets.
Now, we move on to the proof of Lemma 1. We will instead prove the following stronger statement which implies Lemma 1.
Statement A: Assume that is a plane spanning double-star on a point set such that . Let , be the centers of . Then there exists a slide sequence in from to . Moreover, is a spine vertex or a head/tail-leaf at every step of the sequence.
For a set of points and two adjacent vertices on convex hull of , we define the radial path as the spanning path between and which visits the vertices of in the order they are seen when rotating the line through around towards the interior of , see Figure 4.
Statement B: Let be two adjacent vertices of the convex hull of a point set . Let be a radial path in . Then, there is a slide sequence in which transforms to a caterpillar whose spine uses all of the edges of the convex hull of except the edge . Moreover, is a spine vertex or a head/tail-leaf at every step of the sequence.
To prove Statement A for a point set of points, we will assume that Statement B is true for any point set of size at most . Then we will prove correctness of Statement B, using Statement A for point sets of size at most . We now prove Statement A.
Proof (of Statement A)
If , there is nothing to do, so we assume that we can construct a slide sequence for all point sets of size at most . As long as we can slide an edge connecting to a leaf so that it is attached to , we do it. After some number of steps, we reach a leaf such that the triangle spanned by , and contains some leaves (ordered as seen from when rotating towards ) attached to in the interior of the triangle, as in the first part of Figure 5. But now, we can apply Statement A inductively on the set of points inside the triangle spanned by , , and and make a star at on this point set without altering any of the edges outside of it. The only problematic case is if , , and span the entire convex hull of . In this case, we use the sequence of slides which can be seen in Figure 5, which constructs a radial path from to . Let be the resulting caterpillar, whose spine contains as a subpath.
We now apply Statement B on path and point set spanned by to obtain a caterpillar . Note that the sequence of slides transforming to in kept as either endpoints of the spine or head/tail-leaves at every step, and hence it is a valid sequence of slides transforming to a caterpillar with as a subcaterpillar in .
Now, we can slide the edge along the spine of to . Then, we reverse all of the steps that created and and thus prove the theorem. It is important to note that we never create a tree that is not a caterpillar since our induction hypothesis preserves and as spine vertices. Even when we create the path , we add extra edges of the spine between and , but we still maintain the property that and are vertices of the spine. β
Now we prove Statement B.
Proof (of Statement B)
We prove Statement B by induction on with base case seen in Figure 7. We write . Let be the smallest numbers such that is an edge of the convex hull of which is not in . We consider the point set . Let be the point inside the convex hull of which is visible from both and and closest to the segment . Then the path is a radial path from to . By applying the reverse of the procedure in Figure 5 to the path , it can be transformed into a double star with centers and , see Step in Figure 6. Again is a radial path from to , so we transform into a double star with centers in exactly the same way, see Step in Figure 6. Now, by inductively applying Statement A on the set of points inside the triangle , we can transform the double star with centers into a star with center . Then, we apply Statement A to transform the double star at to the star at , we can do this since are consecutive along the convex hull of . Lastly, we slide the edge to . See Steps 3 and 4 in Figure 6, respectively. We repeat this entire procedure for every edge of the convex hull of which is not in . β
With some extra work, we can drop the requirement that and are on the convex hull of .
Corollary 2
Let and be arbitrary vertices of . Then both and are connected to any double star with centers at and .
Proof
The line through and divides into two point sets such that and are adjacent on the convex hull of both and . We then apply Lemma 1 on the double star with centers in and . β
Proof (of Theorem 1.2)
We first prove that can be transformed into a star. Denote the vertices of the spine of by . We proceed by induction on . The case is covered by Corollary 2. Now, as is well-separated, we know that the convex hull of is disjoint from the rest of . Thus we can apply Corollary 2 to and reduce the length of the spine of by one. Then the result follows by induction and Corollary 2. β
Lemma 3
Let be a set of points in the plane and a plane spanning caterpillar on with spine consisting of three vertices. Then, there is a slide sequence transforming to a star.
Proof
Let , and be the three spine vertices of , where is the central one. We will show that there exists a sequence of slides which shortens the spine to the vertices and . Then, by Corollary 2, will be connected to both and . Consider the set . If its convex hull contains no points connected to , we are done. Otherwise, let be the first such point we encounter when rotating the edge with fixed. If the triangle defined by contains no points connected to , by Lemma 1, we may slide to . Otherwise, let be such a point. Since was chosen to be minimal, the triangle of contains no points connected to , and thus by Lemma 1 we can slide to , see Figure 8 for the visualization of the entire process. By repeating this process, we are left with no points connected to inside the convex hull of and thus can slide all leaves connected to into leaves connected to , finishing the proof. β
Proof (of Theorem 1.3)
If , is disconnected by examples seen in Figure 3. If then every tree is a caterpillar so the result follows from [1]. If we checked the results computationally [6]. To make our computations more efficient we used Lemma 3 which tells us that we only need to check caterpillars with spine of at least vertices and that we could stop computations as soon as we decreased the length of spine by one. If we used the same approach but we found an isolated vertex. β
To end the section, we now focus on rotations and prove Proposition 1.
Proof (of Proposition 1)
We will prove that for any caterpillar we can find a sequence of rotations transforming into a star. We will prove this by induction on , where is the length of the spine of . Case follows from Corollary 2 as every slide is a rotation. Now assume that the statement holds for and let be a caterpillar with spine . If the convex hull of is disjoint from the rest of , the result follows by inductive hypothesis and Corollary 2. Thus, we may assume that there are some vertices of inside the convex hull of . Let be the set of all such vertices. We now divide the algorithm into two phases, see Figure 9.
Phase 1: Let be the subset of such that a vertex is in if and only if it is a leaf connected to a vertex of the spine which is outside the convex hull of . We repeat the following procedure as long as . Find a leaf vertex in which sees at least one spine vertex lying inside the convex hull ( and included). Then make a rotation so that is connected to .
Phase 2: Repeat the following procedure until has no leaves attached to it and thus becomes a head-leaf itself. Pick a leaf attached to such that sees at least one spine vertex in , such that . After Phase 1 is completed such a leaf always exists. Now make a rotation so that is connected to .
See Figure 9 for a visualization of both phases.
After completing both phases the spine of is shortened by one and the result follows by induction. β
4 Connected Components in the Flip Graph of Plane Paths
In this section, we shift our focus and consider the flip graph of plane spanning paths, particularly we study the sizes of connected components of this graph. Recall that, for a point set in general position, we denote the set of all plane spanning paths by and the corresponding flip graph by . We say that a plane spanning path is a generalized peeling path if is a vertex of the convex hull of and for , the vertex is a vertex of the convex hull of and it is visible from (so, no edge of the convex hull of blocks it). For an illustration, see Figure 10. Obviously, this definition is dependent on the way we orient the path. For example, if we reverse the path on the left of Figure 10 it is not a generalized peeling path. It is not hard to see that for each point set , there are at least generalized peeling paths. This is because at every step of constructing a generalized peeling path, we have at least two choices for the next vertex along the path (except at the last step). Therefore, to prove Theorem 1.4 we only need to prove that generalized peeling paths lie in a single component of .
As mentioned before, we move the proof of Theorem 1.4 to the appendix. Instead, we will use the generalized peeling paths to estimate the number of well-separated caterpillars.
One can easily observe that any generalized peeling path on vertices is also a well-separated caterpillar on vertices when the orientation is reversed. Further, if is a point set on points and is a subset of points then it is easily seen that any generalized peeling path on defines at least one well-separated caterpillar on , again with spine having reverse orientation of the original path. Therefore, we get a lower bound on the number of well-separated caterpillars as follows. If is the number of generalized peeling paths on vertices and is the number of well-separated caterpillars on vertices, then
Therefore, we have proven that has a connected component of size at least .
In order to prove Theorem 1.5 we first need to collect some results regarding the flip graph of all plane spanning paths with a fixed endpoint , denoted by .
Lemma 4
The graph has girth of at least six.
Proof
In any flip that changes both endpoints of a path is forbidden. Thus, any allowed flip can be viewed as a suffix reversal of the path, changing a path of the form to for a choice of which keeps the resulting path plane. Therefore, can be considered as a subgraph of the corresponding suffix reversal graph (also known as the pancake graph), which is well known to have girth 6Β [11]. β
Lemma 5
The graph has no isolated vertices.
Proof
Assume that is isolated in . This means that sees no vertex of other than . However, the first vertex seen when rotating towards is either on the interior of the triangle or , and is therefore always visible from . β
The following lemma characterizes vertices of degree one in . The proof is technical and involved so we move it to the appendix.
Lemma 6
If is a path of degree one in , then , and are consecutive vertices of the convex hull of and the interior of the triangle is disjoint from .
We put everything together in the following proposition.
Proposition 2
Let be a set of points in general position and a vertex of . Then does not have a connected component on at most vertices.
Proof
By Lemma 5, the graph has no isolated vertices. Further, if and are two distinct paths of degree one in then they admit a single flip which transforms them to and respectively. And as , it follows that . This forbids and as connected components of , see Figure 11. By Lemma 4, cycles of length and are also forbidden. Therefore, the only remaining graph on vertices that may be a connected component is . The proof of this fact is rather technical and moved to the appendix. β
Finally, we prove Theorem 1.5.
Proof (of Theorem 1.5)
Assume that contains a connected component on vertices. Call these vertices . Consider , a plane spanning path on with endpoints . By Proposition 2, we know that if we fix , is still connected to vertices via flips in . If any of these is not one of we get a component of size at least , contradicting our assumption. Therefore we may assume that those vertices are , which all need to have as one of their endpoints. By a symmetric argument, we see that more of the vertices need to have as one of their endpoints. Thus by the pigeonhole principle, we can assume that all have as endpoints. But now we can apply the identical argument to which has endpoints where . Therefore in the paths at least have as endpoints, at least have as endpoints and for each at least of the paths have as one the endpoints. This is clearly impossible so the result follows. β
As a possible step towards resolving Conjecture 1, it would be interesting to determine if similar observations about the structure of and can be used to show nonexistence of larger sized connected components in .
Acknowledgements
We would like to thank Jan KynΔl and Pavel Valtr for proposing this problem to us in the Combinatorial Problems Seminar at Charles University where this work started and for all of their advice and help during the work on this problem. We also thank Daniel Perz for pointing out the existence of an isolated vertex in , for his help in finding literature for this paper and helpful comments.
References
- [1] Oswin Aichholzer, Franz Aurenhammer, and Ferran Hurtado. Sequences of spanning trees and a fixed tree theorem. Comput. Geom., 21(1-2):3β20, 2002.
- [2] Oswin Aichholzer, Brad Ballinger, Therese Biedl, Mirela Damian, ErikΒ D. Demaine, Matias Korman, Anna Lubiw, Jayson Lynch, Josef Tkadlec, and Yushi Uno. Reconfiguration of non-crossing spanning trees, 2022.
- [3] Oswin Aichholzer, Kristin Knorr, Wolfgang Mulzer, Johannes Obenaus, Rosna Paul, and Birgit Vogtenhuber. Flipping plane spanning paths. In WALCOM, volume 13973 of Lecture Notes in Computer Science, pages 49β60. Springer, 2023.
- [4] Oswin Aichholzer and Klaus Reinhardt. A quadratic distance bound on sliding between crossing-free spanning trees. Comput. Geom., 37(3):155β161, 2007.
- [5] SelimΒ G. Akl, Kamrul Islam, and Henk Meijer. On planar path transformation. Inf. Process. Lett., 104(2):59β64, 2007.
- [6] Todor AntiΔ, GuillermoΒ Gamboa Quintero, and Jelena GliΕ‘iΔ. https://github.com/jelena-glisic/Caterpillar-Slides.
- [7] David Avis and Komei Fukuda. Reverse search for enumeration. Discret. Appl. Math., 65(1-3):21β46, 1996.
- [8] Nicolas Bousquet, Lucas deΒ Meyer, ThΓ©o Pierron, and Alexandra Wesolek. Reconfiguration of Plane Trees in Convex Geometric Graphs. In Wolfgang Mulzer and JeffΒ M. Phillips, editors, 40th International Symposium on Computational Geometry (SoCG 2024), volume 293 of Leibniz International Proceedings in Informatics (LIPIcs), pages 22:1β22:17, Dagstuhl, Germany, 2024. Schloss Dagstuhl β Leibniz-Zentrum fΓΌr Informatik.
- [9] Nicolas Bousquet, Valentin Gledel, Jonathan Narboni, and ThΓ©o Pierron. A note on the flip distance between non-crossing spanning trees. Comput. Geom. Topol., 2(1):8:1β8:7, 2023.
- [10] Jou-Ming Chang and Ro-Yu Wu. On the diameter of geometric path graphs of points in convex position. Inf. Process. Lett., 109(8):409β413, 2009.
- [11] Phillip E.Β C. Compeau. Girth of pancake graphs. Discret. Appl. Math., 159(15):1641β1645, 2011.
- [12] Ruy Fabila-Monroy, David Flores-PeΓ±aloza, Clemens Huemer, Ferran Hurtado, Jorge Urrutia, and DavidΒ R. Wood. On the chromatic number of some flip graphs. Discrete Mathematics & Theoretical Computer Science, Vol. 11 no. 2, January 2009.
- [13] M.Β Carmen Hernando, Ferran Hurtado, Alberto MΓ‘rquez, MercΓ¨ Mora, and Marc Noy. Geometric tree graphs of points in convex position. Discret. Appl. Math., 93(1):51β66, 1999.
- [14] Linda Kleist, Peter Kramer, and Christian Rieck. Personal communication.
- [15] Linda Kleist, Peter Kramer, and Christian Rieck. On the connectivity of the flip graph of plane spanning paths, 2024.
- [16] TorrieΒ L. Nichols, Alexander Pilz, CsabaΒ D. TΓ³th, and AhadΒ N. Zehmakan. Transition operations over plane trees. Discrete Mathematics, 343(8):111929, 2020.
- [17] Naomi Nishimura. Introduction to reconfiguration. Algorithms, 11(4), 2018.
- [18] Eduardo Rivera-Campo and Virginia Urrutia-Galicia. Hamilton cycles in the path graph of a set of points in convex position. Comput. Geom., 18(2):65β72, 2001.
Appendix 0.A Proof of Theorem 1.4
First, we show that for any vertex of the convex hull , all generalized peeling paths starting at are in the same component of . Clearly, the result holds for so we assume that and proceed by induction. Let and be generalized peeling paths. If , the result follows by induction so we assume . We construct a generalized peeling path on with endpoints as follows. Let be the convex hull of where is the set of points currently added to . Let be the last point added to . Choose the longer of the two paths from to along the boundary of and add those vertices to . Repeat this process until and then add to . Now, by induction, we can transform to , and then by a single flip we can transform the path to a path with starting edge . Again, by induction, we can transform this new path to . This proves that all generalized peeling paths starting at a vertex are in the same connected component of . Further, for any other vertex on the convex hull of , we can construct a generalized peeling path from to as before, thus finishing the proof.
Appendix 0.B Proof of Lemma 6
Assume that are not consecutive vertices of the convex hull. First note that sees at least one vertex in the triangle , as in the proof of Lemma 5. Assume that it sees only one vertex inside the triangle as otherwise we are done. Therefore we want to prove that it sees a vertex outside the triangle. Let be the edge of whose intersection with the ray from through is closest to . If is well defined (if there is at least one edge which crosses ), then sees the first vertex inside the triangle formed by together with the endpoints of which is encountered when rotating the segment around in either direction, see Figure 12. Otherwise, sees the first vertex encountered when rotating around towards . If this vertex is , then we are in one of two situations. Either all of the vertices of are inside the triangle , in which case must see at least two of them. Otherwise, all of the points of are on the opposite side of from . In this case, sees the first vertex encountered when rotating around away from .
Appendix 0.C Proof that cannot be a connected component of
Recall that . Let be two paths of degree one such that and are (not necessarily disjoint) triples of consecutive vertices of the convex hull of . If can be transformed into in three flips, such that none of the intermediate paths have degree larger than two, then we would have a connected component . Intermediate paths are and . Assume that . Let be the last vertex between and in path . If and are connected by a single flip, segments and are uncrossed by an edge of nor . Therefore, sees vertices and . If is not adjacent to along the convex hull, then we are done as always sees the vertices adjacent to itself on the convex hull, see Figure 13 . If is adjacent to on the convex hull. Let be the edge preceding in . We know that as otherwise would lie between and in . Thus, will see the first vertex encountered when rotating segment towards . Intermediate paths have degree more than two and hence this is not the entire connected component.
If , the situation is slightly different. In this case, and so we need to consider the line segments and . If the triangle is empty, then rotating the segment around inside the path allows to see three vertices: , and the first vertex encountered in the rotation. Therefore and cannot be vertices of a connected component isomorphic to .