2012 ACM Subject Classification Mathematics of computing → Graph algorithms; Theory of computation → Parameterized complexity and exact algorithms
Keywords and phrases SEFE, Simultaneous Planarity, Fixed-Parameter Tractability, Vertex Integrity, Ramsey Theory, Pathwidth, NP-hardness
Funding Thomas Depian, Simon D. Fink, Alexander Firbas, and Robert Ganian acknowledge support from the Vienna Science and Technology Fund (WWTF) [10.47379/ICT22029]. Alexander Firbas and Robert Ganian also acknowledge support from the Austrian Science Fund (FWF) [10.55776/Y1329]. Matthias Pfretzschner and Ignaz Rutter acknowledge support from the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation) [541433306].
Introduction
The task of computing a plane drawing of a graph—or determining that none exists—has had a particularly broad impact on theoretical computer science. An important motivation for such drawings is that they give rise to more easily readable visualizations of graphs [36 , 37 ] . Nevertheless, in many scenarios there is a set of graphs to visualize, rather than a single graph. Examples include dynamic networks that change over time, as well as networks obtained by applying different reconstruction methods to the same underlying data. In such settings, independently computing a planar drawing of each graph is insufficient: to allow a user to compare the drawings, the common parts of the graphs should be represented consistently. This task is captured by the Sᴜᴍᴜʟᴛᴀɴᴇᴏᴜs Eᴍʙᴇᴅᴅɪɴɢ ᴡɪᴛʜ Fɪxᴇᴅ Eᴅɢᴇs (SEFE) problem: Given graphs G 1 , … , G k G_1,\ldots,G_k G 1 , … , G k , decide whether they admit planar drawings Γ 1 , … , Γ k \Gamma_1,\ldots,\Gamma_k Γ 1 , … , Γ k such that every vertex and edge shared by two graphs is represented by the same point and the same curve, respectively, in both drawings.
An important and well-studied special case is the sunflower case, where the intersection G i ∩ G j G_i \cap G_j G i ∩ G j is the same graph G ∩ G_{\cap} G ∩ for all distinct i , j ∈ [ k ] i,j \in[k] i , j ∈ [ k ] . We refer to this problem as sunflower SEFE , or S-SEFE, and call G ∩ G_{\cap} G ∩ the shared graph . Edges of the shared graph are shared , while every other edge is exclusive to one input graph. Without loss of generality, all input graphs have the same vertex set V V V , since exclusive vertices can be added as isolated vertices to the other graphs. A sunflower instance can thus be represented by its union graph G ∪ G_{\cup} G ∪ , whose edge set is partitioned into the shared edges E ∩ E_{\cap} E ∩ and the exclusive edges E 1 , … , E k E_1,\ldots,E_k E 1 , … , E k . The task is to draw G ∪ G_{\cup} G ∪ so that, for each i ∈ [ k ] i \in[k] i ∈ [ k ] , the drawing restricted to E ∩ ∪ E i E_{\cap} \cup E_i E ∩ ∪ E i is planar. Throughout this paper, we consider this sunflower setting.
The computational complexity of simultaneous planarity has received considerable attention over the last two decades. The problem is NP-complete already for three input graphs [28 ] , even in the sunflower case [39 ] and with the additional restriction that the shared graph is a tree [2 ] . For two input graphs, every instance is a sunflower instance and the complexity of the problem remains open. Nevertheless, a substantial body of work has identified increasingly general tractable special cases. In particular, the problem can be solved in linear time if the embedding of the shared graph is fixed [3 ] or if the shared graph is biconnected [1 , 30 ] . More recently, polynomial-time algorithms have been established for two input graphs with a connected shared graph [7 , 21 , 22 ] . We refer to the survey by Rutter [38 ] for a more detailed overview.
A useful perspective on these results is provided by the combinatorial formulation of Jünger and Schulz [32 ] : a sunflower instance admits a simultaneous drawing if and only if its input graphs admit planar embeddings that induce the same embedding on the shared graph. Here, an embedding comprises the cyclic order of incident edges around each vertex, called the rotation system , together with the relative positions of connected components. In particular, S-SEFE asks whether the shared graph has an embedding that can be independently extended to every input graph. This connects simultaneous planarity to the study of partial drawing extension, for which several fixed-parameter algorithms have been developed in recent years [6 , 10 , 19 , 23 ] . However, those algorithms typically parameterize by the part of the graph that is still to be drawn, whereas in simultaneous planarity the embedding of the shared graph is itself unknown; moreover, all of the listed examples impose connectivity constraints on the input graph.
In this work, we target the parameterized complexity of S-SEFE, with particular emphasis on the structure of the union graph. This research direction was initiated by Fink, Pfretzschner, and Rutter [20 ] , who established fixed-parameter tractability with respect to the number of input graphs k k k plus either the vertex cover number or the feedback edge number of G ∪ G_{\cup} G ∪ . Recently, it was shown that the dependence on k k k can be avoided for feedback edge number, but is necessary for vertex cover number [13 ] : S-SEFE remains NP-complete even when G ∪ G_{\cup} G ∪ has vertex cover number at most 15. These results leave open how far the known fixed-parameter tractability can be extended when k k k is included in the parameterization; as a concrete target, the aforementioned article [13 ] explicitly asked whether it can be extended to the vertex integrity of the union graph.
The vertex integrity vi ( G ) \operatorname{vi}(G) vi ( G ) of a graph G G G measures, roughly speaking, how many vertex deletions are required to decompose G G G into small connected components; it is the minimum, over all modulators X ⊆ V ( G ) X \subseteq V(G) X ⊆ V ( G ) , of ∣ X ∣ |X| ∣ X ∣ plus the size of a largest connected component of G − X G-X G − X . The vertex integrity has proved useful in the design of parameterized algorithms for a variety of challenging problems [9 , 17 , 18 , 24 , 25 , 29 , 31 , 33 ] 1 and is also a natural choice here since vi ( G ) ≤ vc ( G ) + 1 \operatorname{vi}(G) \le\operatorname{vc}(G) + 1 vi ( G ) ≤ vc ( G ) + 1 , but graphs of bounded vertex integrity can have arbitrarily large vertex cover number.
Contributions. Our main result settles the above open question and extends the known fixed-parameter tractability of S-SEFE beyond vertex cover number:
Theorem 1. S-SEFE is fixed-parameter tractable when parameterized by the vertex integrity of the union graph plus the number k k k of input graphs.
The main challenge behind Theorem 1 is to identify which parts of a simultaneous embedding can be captured by a bounded amount of combinatorial information. A standard approach for vertex integrity groups the components outside a modulator according to their isomorphism type, including their attachments to the modulator, and retains a bounded number of representatives of each type to produce a smaller graph (a kernel ) G ∪ ′ G'_{\cup} G ∪ ′ . For S-SEFE, these types must also record which edges belong to which input graph; the goal would then be to show that a solution for G ∪ ′ G'_{\cup} G ∪ ′ can be lifted to G ∪ G_{\cup} G ∪ 2 .
Unfortunately, a simultaneous embedding of the retained representatives need not allow for the insertion of another isomorphic component: the existing copies can be interleaved around attachment vertices in a way that prevents such an extension. A concrete example of this behavior is provided in Figure 1 , and this rules out lifting standard kernelization arguments from the vertex cover and feedback edge numbers [13 , 20 ] to vertex integrity.
Figure 1. (a) A union graph H ∪ H_{\cup} H ∪ on two input graphs. Shared edges are drawn in black. (b) The union graph G ∪ G_{\cup} G ∪ obtained by joining four copies of H ∪ H_{\cup} H ∪ at { x 1 , x 2 } \{x_1,x_2\} { x 1 , x 2 } , together with a corresponding simultaneous embedding; the individual copies are highlighted in colors. Note that the depicted solution cannot be extended by adding any additional copies of H ∪ H_{\cup} H ∪ without altering the given solution. A similar “counterexample” can be constructed for any number of copies of H ∪ H_{\cup} H ∪ by adapting G ∪ G_{\cup} G ∪ accordingly. (c) A different simultaneous embedding of G ∪ G_{\cup} G ∪ that can be extended by arbitrarily many additional copies of H ∪ H_{\cup} H ∪ without altering the given solution.
A promising way to overcome this obstacle is the Ramsey pruning technique introduced by Depian, Fink, Ganian, and Surianarayanan [14 ] for computing stack and queue layouts. At a high level, it starts by preprocessing an instance until it consists solely of a modulator and a large number of pairwise-isomorphic and pairwise-independent pieces. Its core step then uses Ramsey theory to extract a sufficiently large subset of pieces with pairwise-uniform interactions in a solution (thus avoiding non-extendable solutions such as the one illustrated in Figure 1 (b), instead guaranteeing solutions such as the one in Figure 1 (c)), and then exploits this uniformity to reintroduce deleted pieces. Ramsey pruning has by now also been extended to more general linear layout problems [12 ] as well as to computing the twin-width of an input graph [26 ] w.r.t. the vertex integrity. In all of these settings, the relevant interactions are primarily captured by a total order: either of the vertices (in layout problems), or of contractions (in the case of twin-width). The main technical difficulty is that there is no immediate way of encoding two-dimensional simultaneous drawings as a total order: it is necessary to capture the pairwise interactions between pieces in a way which guarantees both (i) a bounded number of interaction types and (ii) extendability.
Our starting point is to encode the drawings through the cyclic orders of edges around vertices. For connected input graphs, these rotation systems determine the individual embeddings. The crucial ingredient that allows us to use this representation is a local characterization of planar rotation systems (Lemma 3), inspired by the cycle-and-bridge perspective underlying the planarity test of Auslander and Parter [4 ] . Roughly speaking, a rotation system is planar if and only if, for every simple cycle, all fixtures of each bridge lie on the same side of the cycle. A violation can therefore be witnessed by a cycle together with a path in one of its bridges. In our setting, such a witness involves only a bounded number of pieces outside the modulator. This provides the link between uniformity of cyclic orders and preservation of planarity that is needed for Ramsey pruning, and opens the door towards applying the latter technique to other drawing and representation problems.
A caveat of this argument is that it requires each input graph to be connected. To deal with this, we revisit the connectivity reduction of Bläsius and Rutter [8 ] to show that suitable gadgets can make every input graph connected while keeping the two parameters bounded. This construction does not, however, guarantee connectivity of the shared graph—to deal with this obstacle, we ensure that our reconstruction procedure is sufficiently rigid to also handle disconnected shared graphs.
Finally, a natural question is how far Theorem 1 can be extended towards less restrictive structural parameters. We complement our algorithm with a negative answer for pathwidth:
Theorem 2 (★). S-SEFE remains NP-hard even when there are 3 input graphs and the union graph has pathwidth at most 5.
This not only effectively rules out fixed-parameter tractability but also XP-membership with respect to k + pw ( G U ) k+\operatorname{pw}(G_U) k + pw ( G U ) , and hence also k + tw ( G U ) k+\operatorname{tw}(G_U) k + tw ( G U ) , resolving a second open question of previous work [13 ] .
Preliminaries
We assume familiarity with basic concepts in parameterized complexity theory, including the notions of fixed-parameter tractability and paraNP-hardness [11 ] . For two functions f 1 : A → B f_1:A\to B f 1 : A → B and f 2 : C → D f_2:C\to D f 2 : C → D with f 1 ( x ) = f 2 ( x ) f_1(x)=f_2(x) f 1 ( x ) = f 2 ( x ) for all x ∈ A ∩ C x\in A\cap C x ∈ A ∩ C , we define f 1 ∪ f 2 : A ∪ C → B ∪ D f_1\cup f_2:A\cup C\to B\cup D f 1 ∪ f 2 : A ∪ C → B ∪ D with
( f 1 ∪ f 2 ) ( x ) = { f 1 ( x ) , if x ∈ A f 2 ( x ) , otherwise (f_1\cup f_2)(x)=
\begin{cases}
f_1(x), & \text{if }x\in A\\
f_2(x), & \text{otherwise}
\end{cases} ( f 1 ∪ f 2 ) ( x ) = { f 1 ( x ) , f 2 ( x ) , if x ∈ A otherwise
Moreover, we sometimes express bounds on functions using the Knuth notation ↑ ↑ \uparrow\uparrow ↑↑ where for an integer z z z , $2\uparrow\uparrow z$ represents an exponential tower of 2’s of height z z z . For a positive integer L L L , we write Z L = Z / L Z \mathbb{Z}_L=\mathbb{Z}/L\mathbb{Z} Z L = Z / L Z for the integers modulo $L.
Graphs, Drawings, and Embeddings. We assume familiarity with standard graph terminology [15 ] . The vertex integrity vi ( G ) \operatorname{vi}(G) vi ( G ) of a graph G G G is the smallest integer ψ \psi ψ such that there exists a set X ⊆ V ( G ) X \subseteq V(G) X ⊆ V ( G ) for which the sum of ∣ X ∣ |X| ∣ X ∣ plus the maximum size of a connected component of G − X G-X G − X is at most ψ \psi ψ . We refer to X X X as a witness of vi ( G ) \operatorname{vi}(G) vi ( G ) .
A rotation system of G G G assigns to each vertex a clockwise circular order of its incident edges. A drawing Γ \Gamma Γ of G G G assigns each vertex v ∈ V ( G ) v \in V(G) v ∈ V ( G ) to a point in the plane and each edge u v ∈ E ( G ) uv \in E(G) uv ∈ E ( G ) to a Jordan arc between Γ ( u ) \Gamma(u) Γ ( u ) and Γ ( v ) \Gamma(v) Γ ( v ) . The drawing Γ \Gamma Γ is planar if no two such arcs intersect at an interior point. A planar drawing partitions the plane into regions called faces . Moreover, it induces a rotation system of G G G and relative positions , i.e., an assignment of each connected component to a face of every other connected component. A planar embedding E \mathcal{E} E of G G G is an equivalence class of planar drawings with the same rotation system and relative positions. For a vertex v v v of G G G , we let E ( v ) \mathcal{E}(v) E ( v ) denote the circular order E \mathcal{E} E induces for the edges incident to v v v . We mostly consider planar embeddings of connected graphs, which are entirely defined by a rotation system. A rotation system of a connected graph G G G is planar if it is the rotation system induced by some planar drawing of G G G .
A Characterization for Planar Rotation Systems. Let G G G be a connected graph and let C C C be a simple cycle of G G G . A bridge of C C C is either a chord or a connected component of G − C G-C G − C together with the edges connecting it to C C C . Let B B B be a bridge of C C C . A vertex of C C C is a fixture vertex of B B B if it is incident to an edge of B B B . An edge of B B B is a fixture edge if it is incident to a fixture vertex of B B B . A fixture of B B B is a pair ( v , e ) (v,e) ( v , e ) , where e e e is a fixture edge of B B B and v v v is a fixture vertex of B B B incident to e e e . If B B B consists of a single edge, note that its edge e e e belongs to two fixtures of B B B . We assume that C C C is oriented and thus a rotation system E \mathcal{E} E of G G G assigns each fixture a = ( v , e ) a=(v,e) a = ( v , e ) of B B B to one side of C C C : If e e e appears after the incoming and before the outgoing edge of C C C in the clockwise circular order E ( v ) \mathcal{E}(v) E ( v ) we say that a a a lies inside of C C C , otherwise it lies outside of C C C .
We use the following characterization for planarity of rotation systems based on fixtures of cycles. We remark that this characterization is similar to the characterization of planar graphs used by Lovász et al. [34 ] and in the planarity test by Auslander and Parter [4 ] . Moreover, Mohar and Thomassen [35 ] prove the statement for more general surfaces. For completeness, we give a self-contained elementary proof in the appendix.
Lemma 3 (★). Let G G G be a connected graph and let E \mathcal{E} E be a rotation system of G G G . Then E \mathcal{E} E is planar if and only if, for every simple cycle C C C of G G G , every bridge B B B of C C C , and every pair of fixtures a 1 = ( v 1 , e 1 ) , a 2 = ( v 2 , e 2 ) a_1=(v_1,e_1),a_2=(v_2,e_2) a 1 = ( v 1 , e 1 ) , a 2 = ( v 2 , e 2 ) of B B B , a 1 a_1 a 1 lies inside C C C in E \mathcal{E} E if and only if a 2 a_2 a 2 does.
Angles and Angle-Assignments. We will later have to merge multiple circular orderings into one, given specific information on how these orderings should interleave. We formalize this using angles and angle-assignments .
Let A , B A,B A , B be disjoint sets with ∣ A ∣ ≥ 2 |A| \ge2 ∣ A ∣ ≥ 2 and let σ \sigma σ be a circular ordering of A A A . An angle of σ \sigma σ is an ordered pair α = ( a 1 , a 2 ) \alpha=(a_1,a_2) α = ( a 1 , a 2 ) of distinct elements in A A A . Note that α \alpha α uniquely defines a contiguous linear subsequence σ [ α ] \sigma[\alpha] σ [ α ] of σ \sigma σ that starts with a 1 a_1 a 1 and ends with a 2 a_2 a 2 . If σ [ α ] \sigma[\alpha] σ [ α ] only consists of a 1 a_1 a 1 and a 2 a_2 a 2 (i.e., a 2 a_2 a 2 directly succeeds a 1 a_1 a 1 in σ \sigma σ ), we refer to α \alpha α as a direct angle . We say that an element a ∈ A ∖ { a 1 , a 2 } a \in A \setminus\{a_1,a_2\} a ∈ A ∖ { a 1 , a 2 } lies inside α \alpha α if a a a is contained in σ [ α ] \sigma[\alpha] σ [ α ] . Moreover, an angle α ′ \alpha' α ′ of σ \sigma σ lies inside α \alpha α if σ [ α ′ ] \sigma[\alpha'] σ [ α ′ ] is a subsequence of σ [ α ] \sigma[\alpha] σ [ α ] .
An angle-assignment from B B B to σ \sigma σ is a function φ : B → { ( a 1 , a 2 ) ∈ A 2 ∣ a 1 ≠ a 2 } \varphi:B \to\{(a_1,a_2) \in A^2 \mid a_1 \ne a_2\} φ : B → {( a 1 , a 2 ) ∈ A 2 ∣ a 1 = a 2 } that assigns each element of B B B to an angle of σ \sigma σ . If the image of φ \varphi φ only consists of direct angles of σ \sigma σ , we say that φ \varphi φ is a direct angle-assignment . An angle-assignment φ ′ \varphi' φ ′ from B B B to a circular ordering σ ^ ⊇ σ \hat{\sigma} \supseteq\sigma σ ^ ⊇ σ is a refinement of φ \varphi φ if φ ′ ( b ) \varphi'(b) φ ′ ( b ) lies inside φ ( b ) \varphi(b) φ ( b ) in σ \sigma σ for all b ∈ B b \in B b ∈ B . refinement is tidy if additionally φ ( b 1 ) = φ ( b 2 ) \varphi(b_1) = \varphi(b_2) φ ( b 1 ) = φ ( b 2 ) implies φ ′ ( b 1 ) = φ ′ ( b 2 ) \varphi'(b_1) = \varphi'(b_2) φ ′ ( b 1 ) = φ ′ ( b 2 ) for all b 1 , b 2 ∈ B b_1,b_2 \in B b 1 , b 2 ∈ B . A circular ordering σ ^ ⊇ σ \hat{\sigma} \supseteq\sigma σ ^ ⊇ σ that contains B B B satisfies φ \varphi φ if every b ∈ B b \in B b ∈ B lies inside φ ( b ) \varphi(b) φ ( b ) in σ ^ \hat{\sigma} σ ^ ; see Figure 2 . Conversely, every circular ordering σ ^ ⊇ σ \hat{\sigma} \supseteq\sigma σ ^ ⊇ σ that contains B B B induces a unique direct angle-assignment from B B B to σ \sigma σ that it satisfies.
Figure 2. (a) A circular order σ 1 \sigma_1 σ 1 with four direct angles α 1 , α 2 , α 3 , α 4 \alpha_1,\alpha_2,\alpha_3,\alpha_4 α 1 , α 2 , α 3 , α 4 highlighted. (b) A circular order σ 2 \sigma_2 σ 2 that shares elements X = { x 1 , x 2 , x 3 , x 4 } X = \{x_1,x_2,x_3,x_4\} X = { x 1 , x 2 , x 3 , x 4 } with σ 1 \sigma_1 σ 1 . A direct angle-assignment φ \varphi φ from the elements of σ 2 \sigma_2 σ 2 not in X X X to σ 1 \sigma_1 σ 1 is illustrated using colors. (c) The unique corresponding circular ordering that extends σ 1 \sigma_1 σ 1 and σ 2 \sigma_2 σ 2 and satisfies φ \varphi φ .
We show that, for two circular orderings sharing an element and a direct angle-assignment from one to the other, there is at most one extension that satisfies the angle-assignment.
Lemma 4 (★). Let X X X , A 1 A_1 A 1 , A 2 A_2 A 2 be pairwise disjoint sets with ∣ X ∣ ≥ 1 |X| \ge1 ∣ X ∣ ≥ 1 and ∣ X ∪ A 1 ∣ ≥ 2 |X \cup A_1| \ge2 ∣ X ∪ A 1 ∣ ≥ 2 . Let σ 1 \sigma_1 σ 1 and σ 2 \sigma_2 σ 2 be circular orderings of X ∪ A 1 X \cup A_1 X ∪ A 1 and X ∪ A 2 X \cup A_2 X ∪ A 2 , respectively, and let φ \varphi φ be a direct angle-assignment from A 2 A_2 A 2 to σ 1 \sigma_1 σ 1 . Then there exists at most one circular ordering of X ∪ A 1 ∪ A 2 X \cup A_1 \cup A_2 X ∪ A 1 ∪ A 2 that extends σ 1 \sigma_1 σ 1 and σ 2 \sigma_2 σ 2 and that satisfies φ \varphi φ .
S-SEFE. Let I = ( G 1 , … , G k ) \mathcal{I} = (G_1,\ldots,G_k) I = ( G 1 , … , G k ) be an instance of S-SEFE. Recall that V ( G 1 ) = ⋯ = V ( G k ) = : V V(G_1) = \cdots= V(G_k) =: V V ( G 1 ) = ⋯ = V ( G k ) =: V and that all pairs of input graphs share the same subgraph. We therefore let G ∩ : = ( V , ⋂ i ∈ [ k ] E ( G i ) ) G_{\cap} := (V,\bigcap_{i \in[k]} E(G_i)) G ∩ := ( V , ⋂ i ∈ [ k ] E ( G i )) denote the shared graph. Moreover, we let G ∪ : = ( V , ⋃ i ∈ [ k ] E ( G i ) ) G_{\cup} := (V,\bigcup_{i \in[k]} E(G_i)) G ∪ := ( V , ⋃ i ∈ [ k ] E ( G i )) denote the union graph. For a subgraph H ∪ H_{\cup} H ∪ of G ∪ G_{\cup} G ∪ , we let H i : = ( V ( H ∪ ) , E ( G i ) ∩ E ( H ∪ ) ) H_i := (V(H_{\cup}), E(G_i) \cap E(H_{\cup})) H i := ( V ( H ∪ ) , E ( G i ) ∩ E ( H ∪ )) for i ∈ [ k ] i \in[k] i ∈ [ k ] and H ∩ : = ( V ( H ∪ ) , E ( G ∩ ) ∩ E ( H ∪ ) ) H_{\cap} := (V(H_{\cup}), E(G_{\cap}) \cap E(H_{\cup})) H ∩ := ( V ( H ∪ ) , E ( G ∩ ) ∩ E ( H ∪ )) denote its restriction to individual input graphs and the shared graph, respectively. We let ∣ I ∣ = ∣ V ( G ∪ ) ∣ |\mathcal{I}| = |V(G_{\cup})| ∣ I ∣ = ∣ V ( G ∪ ) ∣ denote the size of I \mathcal{I} I .
Jünger and Schulz [32 ] showed that I \mathcal{I} I admits a simultaneous drawing if and only if there exists a simultaneous embedding E ∪ = ( E 1 , … , E k ) \mathcal{E}_{\cup} = (\mathcal{E}_1,\ldots,\mathcal{E}_k) E ∪ = ( E 1 , … , E k ) of I \mathcal{I} I , that is, a sequence of planar embeddings of G 1 , … , G k G_1,\ldots,G_k G 1 , … , G k that induce the same embeddings on the shared graph G ∩ G_{\cap} G ∩ .3
An instance I ′ = ( G 1 ′ , … , G k ′ ) \mathcal{I}' = (G'_1,\ldots,G'_k) I ′ = ( G 1 ′ , … , G k ′ ) of S-SEFE is a subinstance of I \mathcal{I} I if G i ′ G'_i G i ′ is a subgraph of G i G_i G i for all i ∈ [ k ] i \in[k] i ∈ [ k ] . In this case, we also refer to I \mathcal{I} I as a superinstance of I ′ \mathcal{I}' I ′ . An isomorphism f f f between G ∪ G_{\cup} G ∪ and G ∪ ′ G'_{\cup} G ∪ ′ is a simultaneous isomorphism if it is an isomorphism between G i G_i G i and G i ′ G'_i G i ′ for all i ∈ [ k ] i \in[k] i ∈ [ k ] . If such an isomorphism exists, we say that the two instances are simultaneously isomorphic.
We say that I \mathcal{I} I is exclusive-connected if G i G_i G i is connected for all i ∈ [ k ] i \in[k] i ∈ [ k ] . Bläsius and Rutter [8 ] showed that, for every instance of S-SEFE with k = 2 k = 2 k = 2 , an equivalent set of exclusive-connected instances can be computed in linear time. The same construction works for k ≥ 3 k \ge3 k ≥ 3 and with the following lemma, we show that the vertex integrity plus the number of input graphs of the resulting instance remains bounded.
Lemma 5 (★). Let I = ( G 1 , … , G k ) \mathcal{I} = (G_1,\ldots,G_k) I = ( G 1 , … , G k ) be an instance of S-SEFE. In polynomial time, we can compute a set of equivalent exclusive-connected instances of S-SEFE, where each instance has k k k input graphs and a union graph with vertex integrity in O ( k ⋅ vi ( G ∪ ) ) O(k \cdot\operatorname{vi}(G_{\cup})) O ( k ⋅ vi ( G ∪ )) .
We will therefore mostly work with exclusive-connected instances of S-SEFE. For an instance I \mathcal{I} I of S-SEFE, a simultaneous rotation system of I \mathcal{I} I is a sequence E ∪ = ( E 1 , … , E k ) \mathcal{E}_{\cup} = (\mathcal{E}_1,\ldots,\mathcal{E}_k) E ∪ = ( E 1 , … , E k ) of rotation systems of G 1 , … , G k G_1,\ldots,G_k G 1 , … , G k (which are not necessarily planar or consistent on shared edges). For exclusive-connected instances, every simultaneous embedding is uniquely defined by a corresponding simultaneous rotation system.
A Fixed-Parameter Algorithm for Vertex Integrity and k k k
In this section, we show that S-SEFE is FPT parameterized by the vertex integrity of the union graph G ∪ G_{\cup} G ∪ plus the number of input graphs k k k . Let I = ( G 1 , … , G k ) \mathcal{I} = (G_1,\ldots,G_k) I = ( G 1 , … , G k ) be an instance of S-SEFE and let X X X be a set of vertices of G ∪ G_{\cup} G ∪ witnessing vi ( G ∪ ) \operatorname{vi}(G_{\cup}) vi ( G ∪ ) . As stated in the introduction, Figure 1 shows that the standard argumentation for vertex integrity parameterizations does not work, as additional copies of (simultaneously) isomorphic components of G ∪ − X G_{\cup} - X G ∪ − X cannot necessarily be added to a solution, no matter how many copies one keeps.
To tackle this issue, we employ the Ramsey pruning technique that was recently introduced by [14 ] . Roughly speaking, we first modify the input and X X X in such a way that we can partition G ∪ G_{\cup} G ∪ into X X X and a set of bounded-size blobs that are pairwise simultaneously isomorphic. We arbitrarily order all blobs and if G ∪ G_{\cup} G ∪ is larger than some function f ( vi ( G ∪ ) , k ) f(\operatorname{vi}(G_{\cup}), k) f ( vi ( G ∪ ) , k ) , we can then use Ramsey-type arguments to show that any solution of the instance contains a (sufficiently large) subset of blobs that are 2-consistent , i.e., all increasing ordered pairs of blobs induce the same embedding in every input graph in this solution (similar to Figure 1(c)). We then show that, if we restrict the solution to these 2-consistent blobs, we can add an arbitrary number of additional blobs to the solution while preserving 2-consistency. It thus suffices to keep f ( vi ( G ∪ ) , k ) f(\operatorname{vi}(G_{\cup}), k) f ( vi ( G ∪ ) , k ) blobs, as additional blobs can then always be reinserted. Since the blobs have bounded size, this yields an equivalent bounded-size instance.
In the following, we first define these partitions; see also Figure 3 . For an isomorphism f f f and a subset X X X of its domain, we say that f f f is X X X -preserving if f ( x ) = x f(x) = x f ( x ) = x for all x ∈ X x \in X x ∈ X .
Figure 3. An instance I \mathcal{I} I of S-SEFE on two graphs (green and red; shared edges are black) with blob-partition K = ( X ∪ ˙ B 1 ∪ ˙ B 2 ∪ ˙ B 3 , ( κ j 1 → j 2 ) j 1 , j 2 ∈ [ 3 ] ) \mathcal{K} = (X \mathbin{\dot\cup} B^1 \mathbin{\dot\cup} B^2 \mathbin{\dot\cup} B^3, (\kappa^{j_1\to j_2})_{j_1,j_2\in[3]}) K = ( X ∪ ˙ B 1 ∪ ˙ B 2 ∪ ˙ B 3 , ( κ j 1 → j 2 ) j 1 , j 2 ∈ [ 3 ] ) with an extended modulator. Attachment edges are dashed and attachment vertices of the two graphs are highlighted with colored circles.
Definition 6 (Blob-partition). Let I = ( G 1 , … , G k ) \mathcal{I} = (G_1,\ldots,G_k) I = ( G 1 , … , G k ) be an instance of S-SEFE. A blob-partition of I \mathcal{I} I is a pair K = ( X ∪ ˙ B 1 ∪ ˙ … ∪ ˙ B l , ( κ j 1 → j 2 ) j 1 , j 2 ∈ [ l ] ) , \mathcal{K} = (X \mathbin{\dot\cup} B^1 \mathbin{\dot\cup} \ldots\mathbin{\dot\cup} B^l, (\kappa^{j_1\to j_2})_{j_1,j_2\in[l]}), K = ( X ∪ ˙ B 1 ∪ ˙ … ∪ ˙ B l , ( κ j 1 → j 2 ) j 1 , j 2 ∈ [ l ] ) , where
X ∪ ˙ B 1 ∪ ˙ … ∪ ˙ B l = V ( G ∪ ) X \mathbin{\dot\cup} B^1 \mathbin{\dot\cup} \ldots\mathbin{\dot\cup} B^l = V(G_{\cup}) X ∪ ˙ B 1 ∪ ˙ … ∪ ˙ B l = V ( G ∪ ) ,
N G ∪ ( B j ) ⊆ X N_{G_{\cup}}(B^j) \subseteq X N G ∪ ( B j ) ⊆ X for all j ∈ [ l ] j \in[l] j ∈ [ l ] ,
for all j 1 , j 2 ∈ [ l ] j_1,j_2 \in[l] j 1 , j 2 ∈ [ l ] , κ j 1 → j 2 \kappa^{j_1\to j_2} κ j 1 → j 2 is an X X X -preserving simultaneous isomorphism between G ∪ [ X ∪ B j 1 ] G_{\cup}[X \cup B^{j_1}] G ∪ [ X ∪ B j 1 ] and G ∪ [ X ∪ B j 2 ] G_{\cup}[X \cup B^{j_2}] G ∪ [ X ∪ B j 2 ] , and
for all j 1 , j 2 , j 3 ∈ [ l ] j_1,j_2,j_3 \in[l] j 1 , j 2 , j 3 ∈ [ l ] , κ j 1 → j 3 = κ j 2 → j 3 ∘ κ j 1 → j 2 \kappa^{j_1\to j_3} = \kappa^{j_2\to j_3} \circ\kappa^{j_1\to j_2} κ j 1 → j 3 = κ j 2 → j 3 ∘ κ j 1 → j 2 .
We refer to X X X as the modulator of K \mathcal{K} K and to B 1 , … , B l B^1,\ldots,B^l B 1 , … , B l as blobs . Note that we allow the blobs to be empty sets, in which case X = V ( G ∪ ) X = V(G_{\cup}) X = V ( G ∪ ) . We let l l l denote the size of K \mathcal{K} K . We classify each edge e e e of G ∪ G_{\cup} G ∪ as a modulator edge , an attachment edge , or a blob edge , based on whether e e e has two, one, or zero endpoints in X X X , respectively. For a set S ⊆ [ l ] S \subseteq[l] S ⊆ [ l ] , we let I S = ( G 1 S , … , G k S ) \mathcal{I}^S = (G^S_1,\ldots,G^S_k) I S = ( G 1 S , … , G k S ) denote the subinstance of I \mathcal{I} I induced by vertices X ∪ ⋃ j ∈ S B j X \cup\bigcup_{j\in S} B^j X ∪ ⋃ j ∈ S B j . We let K S = ( X ∪ ˙ ⋃ j ∈ S B j , ( κ j 1 → j 2 ) j 1 , j 2 ∈ S ) \mathcal{K}^S = (X \mathbin{\dot\cup} \bigcup_{j\in S} B^j,(\kappa^{j_1\to j_2})_{j_1,j_2\in S}) K S = ( X ∪ ˙ ⋃ j ∈ S B j , ( κ j 1 → j 2 ) j 1 , j 2 ∈ S ) denote the corresponding blob-partition of I S \mathcal{I}^S I S .
Since the isomorphisms ( κ j 1 → j 2 ) j 1 , j 2 ∈ [ l ] (\kappa^{j_1\to j_2})_{j_1,j_2\in[l]} ( κ j 1 → j 2 ) j 1 , j 2 ∈ [ l ] are X X X -preserving, we have N G ∪ ( B j 1 ) = N G ∪ ( B j 2 ) ⊆ X N_{G_{\cup}}(B^{j_1}) = N_{G_{\cup}}(B^{j_2}) \subseteq X N G ∪ ( B j 1 ) = N G ∪ ( B j 2 ) ⊆ X for all j 1 , j 2 ∈ [ l ] j_1,j_2 \in[l] j 1 , j 2 ∈ [ l ] . We let att ( K ) = N G ∪ ( B 1 ) = ⋯ = N G ∪ ( B l ) \operatorname{att}(\mathcal{K}) = N_{G_{\cup}}(B^1) = \cdots= N_{G_{\cup}}(B^l) att ( K ) = N G ∪ ( B 1 ) = ⋯ = N G ∪ ( B l ) denote the attachment vertices of K \mathcal{K} K . For i ∈ [ k ] i \in[k] i ∈ [ k ] , we let att i ( K ) = N G i ( B 1 ) = ⋯ = N G i ( B l ) ⊆ att ( K ) \operatorname{att}_i(\mathcal{K}) = N_{G_i}(B^1) = \cdots= N_{G_i}(B^l) \subseteq\operatorname{att}(\mathcal{K}) att i ( K ) = N G i ( B 1 ) = ⋯ = N G i ( B l ) ⊆ att ( K ) denote the attachment vertices that are incident to an attachment edge of G i G_i G i . We say that the modulator X X X is extended if for each i ∈ [ k ] i \in[k] i ∈ [ k ] and each x ∈ att i ( K ) x \in\operatorname{att}_i(\mathcal{K}) x ∈ att i ( K ) , x x x is incident to at least one modulator edge in G i G_i G i . This property will be crucial, as it guarantees that rotation systems of different blobs always have a common reference point. We can easily show that exclusive-connectedness and extended modulators also translate to subsets of blobs.
Lemma 7 (★). Let I \mathcal{I} I be an exclusive-connected instance of S-SEFE on k k k input graphs and let K \mathcal{K} K be a blob-partition of I \mathcal{I} I with an extended modulator X X X and size l l l . Then for every non-empty S ⊆ [ l ] S \subseteq[l] S ⊆ [ l ] , X X X is also extended in K S \mathcal{K}^S K S and I S \mathcal{I}^S I S is exclusive-connected.
Assume I \mathcal{I} I is exclusive-connected and X X X is extended. Let E ∪ = ( E 1 , … , E k ) \mathcal{E}_{\cup} = (\mathcal{E}_1,\ldots,\mathcal{E}_k) E ∪ = ( E 1 , … , E k ) be a simultaneous rotation system of I \mathcal{I} I . For a set S ⊆ [ l ] S \subseteq[l] S ⊆ [ l ] , we let E ∪ S = ( E 1 S , … , E k S ) \mathcal{E}_{\cup}^S = (\mathcal{E}_1^S,\ldots,\mathcal{E}_k^S) E ∪ S = ( E 1 S , … , E k S ) denote the restriction of E ∪ \mathcal{E}_{\cup} E ∪ to I S \mathcal{I}^S I S . For S ≠ ∅ S \ne\emptyset S = ∅ , I S \mathcal{I}^S I S remains exclusive-connected by Lemma 7 . Hence the rotation systems E 1 S , … , E k S \mathcal{E}_1^S,\ldots,\mathcal{E}_k^S E 1 S , … , E k S define embeddings of G 1 S , … , G k S G_1^S,\ldots,G_k^S G 1 S , … , G k S , as no relative positions are involved.
Let m ∈ [ l ] m \in[l] m ∈ [ l ] , let r = ( r 1 , … , r m ) r = (r_1,\ldots,r_m) r = ( r 1 , … , r m ) , s = ( s 1 , … , s m ) s = (s_1,\ldots,s_m) s = ( s 1 , … , s m ) be two strictly increasing sequences over [ l ] [l] [ l ] . Since the simultaneous isomorphisms ( κ j 1 → j 2 ) j 1 , j 2 ∈ [ l ] (\kappa^{j_1\to j_2})_{j_1,j_2\in[l]} ( κ j 1 → j 2 ) j 1 , j 2 ∈ [ l ] are X X X -preserving, note that κ r → s : = κ r 1 → s 1 ∪ ⋯ ∪ κ r m → s m \kappa^{r\to s} := \kappa^{r_1\to s_1} \cup\cdots\cup\kappa^{r_m\to s_m} κ r → s := κ r 1 → s 1 ∪ ⋯ ∪ κ r m → s m is well-defined and a simultaneous isomorphism between G ∪ { r 1 , … , r m } G_{\cup}^{\{r_1,\ldots,r_m\}} G ∪ { r 1 , … , r m } and G ∪ { s 1 , … , s m } G_{\cup}^{\{s_1,\ldots,s_m\}} G ∪ { s 1 , … , s m } . For i ∈ [ k ] i \in[k] i ∈ [ k ] , we write E i { s 1 , … , s m } = κ r → s ( E i { r 1 , … , r m } ) \mathcal{E}_i^{\{s_1,\ldots,s_m\}} = \kappa^{r\to s}(\mathcal{E}_i^{\{r_1,\ldots,r_m\}}) E i { s 1 , … , s m } = κ r → s ( E i { r 1 , … , r m } ) if E i { s 1 , … , s m } ( κ r → s ( x ) ) = κ r → s ( E i { r 1 , … , r m } ( x ) ) \mathcal{E}_i^{\{s_1,\ldots,s_m\}}(\kappa^{r\to s}(x)) = \kappa^{r\to s}(\mathcal{E}_i^{\{r_1,\ldots,r_m\}}(x)) E i { s 1 , … , s m } ( κ r → s ( x )) = κ r → s ( E i { r 1 , … , r m } ( x )) holds for every x ∈ V ( G ∪ { r 1 , … , r m } ) x \in V(G_{\cup}^{\{r_1,\ldots,r_m\}}) x ∈ V ( G ∪ { r 1 , … , r m } ) .
Let S ⊆ [ l ] S \subseteq[l] S ⊆ [ l ] , let m ∈ [ ∣ S ∣ ] m \in[|S|] m ∈ [ ∣ S ∣ ] , and let r = ( r 1 , … , r m ) r = (r_1,\ldots,r_m) r = ( r 1 , … , r m ) be the strictly increasing sequence induced by the m m m smallest indices in S S S . We say that E ∪ S \mathcal{E}_{\cup}^S E ∪ S is m m m -consistent (with respect to K S \mathcal{K}^S K S ) if, for every i ∈ [ k ] i \in[k] i ∈ [ k ] and every strictly increasing sequence s = ( s 1 , … , s m ) s = (s_1,\ldots,s_m) s = ( s 1 , … , s m ) over S S S , we have E i { s 1 , … , s m } = κ r → s ( E i { r 1 , … , r m } ) \mathcal{E}_i^{\{s_1,\ldots,s_m\}} = \kappa^{r\to s}(\mathcal{E}_i^{\{r_1,\ldots,r_m\}}) E i { s 1 , … , s m } = κ r → s ( E i { r 1 , … , r m } ) . In other words, any m m m blobs of K S \mathcal{K}^S K S look the same as the first m m m blobs in E ∪ \mathcal{E}_{\cup} E ∪ . For S = [ l ] S = [l] S = [ l ] , we simply say E ∪ \mathcal{E}_{\cup} E ∪ is m m m -consistent with respect to K \mathcal{K} K .
Our goal is to prove the following lemma.
Lemma 8. Let I = ( G 1 , … , G k ) \mathcal{I} = (G_1,\ldots,G_k) I = ( G 1 , … , G k ) be an exclusive-connected instance of S-SEFE. Let K \mathcal{K} K be a blob-partition of I \mathcal{I} I with an extended modulator X X X and size l ≥ ∣ X ∣ + 4 l \ge|X| + 4 l ≥ ∣ X ∣ + 4 . If there exists a simultaneous embedding E ∪ \mathcal{E}_{\cup} E ∪ of I K [ l − 1 ] \mathcal{I}^{\mathcal{K}^{[l-1]}} I K [ l − 1 ] that is 2-consistent with respect to K [ l − 1 ] \mathcal{K}^{[l-1]} K [ l − 1 ] , there exists a simultaneous embedding E ∪ \mathcal{E}_{\cup} E ∪ of I \mathcal{I} I that is 2-consistent with respect to K \mathcal{K} K .
As the proof of this lemma is rather involved, we defer it to § 3.1 . We now use this lemma to obtain the desired bounded-size equivalent instance; see also Figure 4 a. For a given exclusive-connected instance I \mathcal{I} I of S-SEFE, we will characterize equivalent reduced subinstances on whose solutions we can apply Lemma 8 to obtain a solution of the original instance. Such a reduced instance must admit a special blob-partition that (1) has a sufficient number of blobs for us to use Ramsey-theory to argue that any simultaneous embedding has ∣ X ∣ + 3 |X|+3 ∣ X ∣ + 3 blobs that are 2-consistent and (2) “blowing up” the instance by adding a finite number of additional blobs again yields (a superinstance of) the original instance.
Figure 4. (a) The overall strategy to test whether a given exclusive-connected instance I \mathcal{I} I of S-SEFE admits a simultaneous embedding. (b) Illustration of Lemma 11: Computing the blob-partition K = ( X m ∪ ˙ B 1 ∪ ˙ ⋯ ∪ ˙ B l m , ( κ j 1 → j 2 ) j 1 , j 2 ∈ [ l m ] ) \mathcal{K}=(X_m\mathbin{\dot\cup}B^1\mathbin{\dot\cup}\cdots\mathbin{\dot\cup}B^{l^m},(\kappa^{j_1\to j_2})_{j_1,j_2\in[l^m]}) K = ( X m ∪ ˙ B 1 ∪ ˙ ⋯ ∪ ˙ B l m , ( κ j 1 → j 2 ) j 1 , j 2 ∈ [ l m ] ) of a reduced instance I r \mathcal{I}_r I r , given a witness S S S of vi ( G ∪ ) \operatorname{vi}(G_{\cup}) vi ( G ∪ ) . The (clickable) references in the figure link to the formal lemma statement.
We now first define the “blow-up” operation and the necessary functions to lower-bound the number of blobs, and we subsequently define reduced instances.
Let I = ( G 1 , … , G k ) \mathcal{I}=(G_1,\ldots,G_k) I = ( G 1 , … , G k ) be an instance of S-SEFE with a fixed blob-partition K = ( X ∪ ˙ B 1 ∪ ˙ ⋯ ∪ ˙ B l , ( κ j 1 → j 2 ) j 1 , j 2 ∈ [ l ] ) \mathcal{K}=(X\mathbin{\dot\cup}B^1\mathbin{\dot\cup}\cdots\mathbin{\dot\cup}B^l,(\kappa^{j_1\to j_2})_{j_1,j_2\in[l]}) K = ( X ∪ ˙ B 1 ∪ ˙ ⋯ ∪ ˙ B l , ( κ j 1 → j 2 ) j 1 , j 2 ∈ [ l ] ) . For t ∈ N t\in\mathbb{N} t ∈ N , we let I + t \mathcal{I}^{+t} I + t be the instance with blob-partition K + t = ( X ∪ ˙ B 1 ∪ ˙ ⋯ ∪ ˙ B l + t , ( κ j 1 → j 2 ) j 1 , j 2 ∈ [ l + t ] ) \mathcal{K}^{+t}=(X\mathbin{\dot\cup}B^1\mathbin{\dot\cup}\cdots\mathbin{\dot\cup}B^{l+t},(\kappa^{j_1\to j_2})_{j_1,j_2\in[l+t]}) K + t = ( X ∪ ˙ B 1 ∪ ˙ ⋯ ∪ ˙ B l + t , ( κ j 1 → j 2 ) j 1 , j 2 ∈ [ l + t ] ) obtained from I \mathcal{I} I and K \mathcal{K} K by adding t t t additional blobs to the instance. Let the multicolor Ramsey-number R ( a , b ) R(a,b) R ( a , b ) denote the smallest integer n n n such that any edge-coloring of K n K_n K n with b b b colors contains a monochromatic clique of size at least a a a . Moreover, let g ( n , k ) g(n,k) g ( n , k ) denote the maximum number of distinct simultaneous rotation systems an n n n -vertex S-SEFE-instance on k k k input graphs can have.
Definition 9 (Reduced instance). Let I \mathcal{I} I be an exclusive-connected instance of S-SEFE on k k k graphs. An exclusive-connected subinstance I r \mathcal{I}_r I r of I \mathcal{I} I is reduced with respect to I \mathcal{I} I if I r \mathcal{I}_r I r admits a blob-partition K = ( X ∪ ˙ B 1 ∪ ˙ ⋯ ∪ ˙ B l , ( κ j 1 → j 2 ) j 1 , j 2 ∈ [ l ] ) \mathcal{K}=(X\mathbin{\dot\cup}B^1\mathbin{\dot\cup}\cdots\mathbin{\dot\cup}B^l,(\kappa^{j_1\to j_2})_{j_1,j_2\in[l]}) K = ( X ∪ ˙ B 1 ∪ ˙ ⋯ ∪ ˙ B l , ( κ j 1 → j 2 ) j 1 , j 2 ∈ [ l ] ) such that
the modulator X X X of K \mathcal{K} K is extended,
l ≥ R ( ∣ X ∣ + 3 , g ( ∣ X ∣ + 2 ∣ B 1 ∣ , k ) ) l\ge R(|X|+3,g(|X|+2|B^1|,k)) l ≥ R ( ∣ X ∣ + 3 , g ( ∣ X ∣ + 2∣ B 1 ∣ , k )) , and
for some t ∈ N t\in\mathbb{N} t ∈ N , I r + t \mathcal{I}_r^{+t} I r + t is simultaneously isomorphic to a superinstance of I \mathcal{I} I .
Roughly speaking, the choice of g ( ∣ X ∣ + 2 ∣ B 1 ∣ , k ) g(|X|+2|B^1|,k) g ( ∣ X ∣ + 2∣ B 1 ∣ , k ) for the number of colors in Property 2 upper-bounds the number of distinct simultaneous rotation systems for a pair of blobs. The chosen value of l l l thus guarantees that, in every solution of I r \mathcal{I}_r I r , we find ∣ X ∣ + 3 |X|+3 ∣ X ∣ + 3 blobs that induce a 2-consistent solution. Since I r \mathcal{I}_r I r is exclusive-connected and the modulator of K \mathcal{K} K is extended (Property 1), we can use Lemma 8 to repeatedly insert additional blobs into this solution. By Property 3, we can reach a solution of an instance that is simultaneously isomorphic to a superinstance of I \mathcal{I} I . This also induces a solution of I \mathcal{I} I . Using this strategy, we can show that every reduced instance is equivalent to its original instance; see Figure 4 a.
Lemma 10 (★). Let I \mathcal{I} I be an exclusive-connected instance of S-SEFE. Let I r \mathcal{I}_r I r be an instance that is reduced with respect to I \mathcal{I} I . Then I \mathcal{I} I is a yes-instance if and only if I r \mathcal{I}_r I r is.
As the final step, we now show that we can compute a bounded-size reduced instance in fixed-parameter time; see Figure 4 b for an illustration.
Lemma 11 (★). There is an algorithm that takes as input an exclusive-connected instance I = ( G 1 , … , G k ) \mathcal{I}=(G_1,\ldots,G_k) I = ( G 1 , … , G k ) of S-SEFE and computes an instance of size at most f ( vi ( G ∪ ) , k ) f(\operatorname{vi}(G_\cup),k) f ( vi ( G ∪ ) , k ) that is reduced with respect to I \mathcal{I} I in time f ( vi ( G ∪ ) , k ) ⋅ ∣ V ( G ∪ ) ∣ O ( 1 ) f(\operatorname{vi}(G_\cup),k)\cdot|V(G_\cup)|^{O(1)} f ( vi ( G ∪ ) , k ) ⋅ ∣ V ( G ∪ ) ∣ O ( 1 ) with f ( vi ( G ∪ ) , k ) ∈ 2 ↑ ↑ O ( vi ( G ∪ ) 2 ⋅ ( k + 2 ) vi ( G ∪ ) 2 + 1 ) f(\operatorname{vi}(G_\cup),k)\in2^{\uparrow\uparrow O(\operatorname{vi}(G_\cup)^2\cdot(k+2)^{\operatorname{vi}(G_\cup)^2+1})} f ( vi ( G ∪ ) , k ) ∈ 2 ↑↑ O ( vi ( G ∪ ) 2 ⋅ ( k + 2 ) vi ( G ∪ ) 2 + 1 ) .
Proof sketch. We start with a witness S ⊆ V ( G ∪ ) S\subseteq V(G_\cup) S ⊆ V ( G ∪ ) of vi ( G ∪ ) \operatorname{vi}(G_\cup) vi ( G ∪ ) , i.e., we have ∣ S ∪ C ∣ ≤ vi ( G ∪ ) |S\cup C|\leq\operatorname{vi}(G_\cup) ∣ S ∪ C ∣ ≤ vi ( G ∪ ) for all components C C C of G ∪ − S G_\cup-S G ∪ − S . We group these components into a bounded number of equivalence classes based on S S S -preserving simultaneous isomorphism. Using S S S and these equivalence classes, we construct the desired reduced instance with a suitable blob-partition.
Roughly speaking, the goal is to compute an extended modulator X m X_m X m such that all remaining equivalence classes that are not contained in X m X_m X m are sufficiently large for us to split them into sufficiently many blobs (Property 2); see Figure 4 b. First, we extend S S S to a set S ′ S' S ′ by adding one representative of each equivalence class; this will ensure that the resulting modulator is extended. We then start with X 0 = S ′ X_0=S' X 0 = S ′ and for i > 0 i>0 i > 0 we iteratively compute a growing set X i X_i X i as follows. If there remains an equivalence class of size less than R ( ∣ X i − 1 ∣ + 3 , g ( 3 ∣ X i − 1 ∣ , k ) ) R(|X_{i-1}|+3,g(3|X_{i-1}|,k)) R ( ∣ X i − 1 ∣ + 3 , g ( 3∣ X i − 1 ∣ , k )) , we obtain the set X i X_i X i by adding this equivalence class to X i − 1 X_{i-1} X i − 1 . If no such equivalence class remains, the procedure stops with the desired set X m X_m X m .
Since X i X_i X i grows in every step, so does the required bound, which is why we only move one equivalence class at a time into the modulator. Because the number of equivalence classes is bounded, this process stops after a bounded number of steps and the resulting set X m X_m X m has bounded size. We then compute a subinstance I r \mathcal{I}_r I r of I \mathcal{I} I together with a corresponding blob-partition \mathcal{K}=(X_m\mathbin{\mathaccent\cdot\cup}B^1\mathbin{\mathaccent\cdot\cup}\ldots\mathbin{\mathaccent\cdot\cup}B^l,(\kappa^{j_1\to j_2})_{j_1,j_2\in[l]}) by using X m X_m X m as the modulator and constructing l = R ( ∣ X m ∣ + 3 , g ( 3 ∣ X m ∣ , k ) ) l=R(|X_m|+3,g(3|X_m|,k)) l = R ( ∣ X m ∣ + 3 , g ( 3∣ X m ∣ , k )) blobs that consist of precisely one copy of each remaining equivalence class; see Figure 4 b. Note that the size of each blob is bounded.
We then show that I r \mathcal{I}_r I r is reduced. The instance I r \mathcal{I}_r I r inherits exclusive-connectedness from I \mathcal{I} I and the modulator X m X_m X m is extended by construction. Because X m X_m X m contains one copy of each equivalence class by construction, we have ∣ X m ∣ ≥ ∣ B 1 ∣ |X_m|\geq|B^1| ∣ X m ∣ ≥ ∣ B 1 ∣ and thus also l ≥ R ( ∣ X m ∣ + 3 , g ( ∣ X m ∣ + 2 ∣ B 1 ∣ , k ) ) l\geq R(|X_m|+3,g(|X_m|+2|B^1|,k)) l ≥ R ( ∣ X m ∣ + 3 , g ( ∣ X m ∣ + 2∣ B 1 ∣ , k )) . The blob-partition therefore has sufficient size. Moreover, observe that the difference between I r \mathcal{I}_r I r and I \mathcal{I} I lies in copies of equivalence classes whose sizes are at least l l l . By adding a sufficient number of copies of blobs to I r \mathcal{I}_r I r , we thus obtain an instance that is simultaneously isomorphic to a superinstance of I \mathcal{I} I . Thus I r \mathcal{I}_r I r is reduced.
Since the size of X m X_m X m , l l l , and each blob is bounded in vi ( G ∪ ) \operatorname{vi}(G_\cup) vi ( G ∪ ) and k k k , the same holds for ∣ I r ∣ |\mathcal{I}_r| ∣ I r ∣ . Note, however, that the iterative computation of the modulator yields a tower of exponentials that also has exponential height. Moreover, we can compute I r \mathcal{I}_r I r in fixed-parameter time.
Now let I = ( G 1 , … , G k ) \mathcal{I}=(G_1,\ldots,G_k) I = ( G 1 , … , G k ) be an instance of S-SEFE. By Lemma 5, we can assume that I \mathcal{I} I is exclusive-connected, as the corresponding construction keeps the vertex integrity of the union graph plus the number of input graphs bounded. Using Lemma 11, we can then compute a bounded-size reduced instance of I \mathcal{I} I in fixed-parameter time. This instance can be solved by enumerating all simultaneous rotation systems and testing whether one of them is a simultaneous embedding. Since the reduced instance is equivalent to the original instance by Lemma 10, we thus obtain the following result.
Theorem 1. S-SEFE is fixed-parameter tractable when parameterized by the vertex integrity of the union graph plus the number k k k of input graphs.
Proof of Lemma 8
Lemma 8. Let I = ( G 1 , … , G k ) \mathcal{I}=(G_1,\ldots,G_k) I = ( G 1 , … , G k ) be an exclusive-connected instance of S-SEFE. Let K \mathcal{K} K be a blob-partition of I \mathcal{I} I with an extended modulator X X X and size ℓ ≥ ∣ X ∣ + 4 \ell\geq|X|+4 ℓ ≥ ∣ X ∣ + 4 . If there exists a simultaneous embedding E ~ ∪ \widetilde{\mathcal{E}}_{\cup} E ∪ of I [ ℓ − 1 ] \mathcal{I}^{[\ell-1]} I [ ℓ − 1 ] that is 2-consistent with respect to K [ ℓ − 1 ] \mathcal{K}^{[\ell-1]} K [ ℓ − 1 ] , there exists a simultaneous embedding E ∪ \mathcal{E}_{\cup} E ∪ of I \mathcal{I} I that is 2-consistent with respect to K \mathcal{K} K .
To construct the desired simultaneous embedding E ∪ \mathcal{E}_{\cup} E ∪ of I \mathcal{I} I , we will employ the following strategy. For each i ∈ [ k ] i\in[k] i ∈ [ k ] , note that G i G_i G i is the union of G i [ ℓ − 1 ] G_i^{[\ell-1]} G i [ ℓ − 1 ] and G i { ℓ } G_i^{\{\ell\}} G i { ℓ } . We take the rotation system E ~ i \widetilde{\mathcal{E}}_i E i of G i [ ℓ − 1 ] G_i^{[\ell-1]} G i [ ℓ − 1 ] and for G i { ℓ } G_i^{\{\ell\}} G i { ℓ } , we obtain a rotation system by “copying” the rotation system E ~ i { 1 } \widetilde{\mathcal{E}}_i^{\{1\}} E i { 1 } under the isomorphism κ 1 → ℓ \kappa^{1\to\ell} κ 1 → ℓ . Since G i G_i G i is connected, to obtain an embedding E i \mathcal{E}_i E i of G i G_i G i , we then only have to specify how to interleave the rotations of these two embeddings at attachment vertices, as the two rotation systems already agree on modulator edges. We have to do this in such a way that (1) E ∪ \mathcal{E}_{\cup} E ∪ is 2-consistent with respect to K \mathcal{K} K , (2) each E i \mathcal{E}_i E i is a planar embedding, and (3) E ∪ = ( E 1 , … , E k ) \mathcal{E}_{\cup}=(\mathcal{E}_1,\ldots,\mathcal{E}_k) E ∪ = ( E 1 , … , E k ) is a simultaneous embedding. Proving that these properties can be maintained is non-trivial and we need several preliminary results.
We first characterize 2-consistency in terms of angle-assignments (Lemma 12) and use this to show that the 2-consistent extension of E ~ ∪ \widetilde{\mathcal{E}}_{\cup} E ∪ to I \mathcal{I} I exists (Lemmas 13 and 14 ). We then use the fact that the modulator is extended to show that 2-consistency also implies m m m -consistency for all m ∈ [ ℓ ] m\in[\ell] m ∈ [ ℓ ] (Lemma 15). Using this, together with the fact that obstructions to planarity (Lemma 3) and simultaneous planarity appear in a small number of blobs, we then show that the constructed simultaneous rotation system is a simultaneous embedding of I \mathcal{I} I (Lemma 16 ).
Let j ∈ [ ℓ ] j\in[\ell] j ∈ [ ℓ ] and let v j v^j v j be a vertex of G ∪ { j } G_{\cup}^{\{j\}} G ∪ { j } . For each j ′ ∈ [ ℓ ] j'\in[\ell] j ′ ∈ [ ℓ ] , we let v j ′ = κ j → j ′ ( v j ) v^{j'}=\kappa^{j\to j'}(v^j) v j ′ = κ j → j ′ ( v j ) denote the corresponding vertex in G ∪ { j ′ } G_{\cup}^{\{j'\}} G ∪ { j ′ } (due to the fourth property of Definition 6, we have that κ j → j ′ \kappa^{j\to j'} κ j → j ′ is the identity). Observe that, for j ′ ≠ j j'\ne j j ′ = j , we have v j = v j ′ v^j=v^{j'} v j = v j ′ if and only if v j ∈ X v^j\in X v j ∈ X . Analogously, we define e j ′ e^{j'} e j ′ for every edge e j e^j e j of G ∪ { j } G_{\cup}^{\{j\}} G ∪ { j } . As above, observe that we have e j = e j ′ e^j=e^{j'} e j = e j ′ for j ≠ j ′ j\ne j' j = j ′ if and only if e j e^j e j is a modulator edge.
Let i ∈ [ k ] i\in[k] i ∈ [ k ] and let x ∈ att i ( K ) x\in\operatorname{att}_i(\mathcal{K}) x ∈ att i ( K ) be an attachment vertex in G i G_i G i . We let X i ( x ) X_i(x) X i ( x ) denote the set of modulator edges incident to x x x in G i G_i G i and for j ∈ [ ℓ ] j\in[\ell] j ∈ [ ℓ ] , we let A i j ( x ) A_i^j(x) A i j ( x ) denote the set of attachment edges incident to x x x in G i { j } G_i^{\{j\}} G i { j } . For S ⊆ [ ℓ ] S\subseteq[\ell] S ⊆ [ ℓ ] , observe that the edges incident to x x x in G i S G_i^S G i S are X i ( x ) ∪ ⋃ j ∈ S A i j ( x ) X_i(x)\cup\bigcup_{j\in S}A_i^j(x) X i ( x ) ∪ ⋃ j ∈ S A i j ( x ) . Note that ∣ X i ( x ) ∣ ≥ 1 |X_i(x)|\geq1 ∣ X i ( x ) ∣ ≥ 1 , because X X X is an extended modulator.
In the following, we first characterize 2-consistency using angle-assignments. To this end, we consider the direct angle-assignment induced by the first two blobs and map it to every other pair of blobs using the corresponding isomorphism; see Figure 5 . We can then characterize 2-consistency in terms of these angle-assignments.
Figure 5. (a) An attachment vertex with one modulator edge m m m and two attachment edges f 1 , g 1 f^1,g^1 f 1 , g 1 in G i { 1 } G_i^{\{1\}} G i { 1 } , together with a corresponding rotation E i { 1 } ( x ) \mathcal{E}_i^{\{1\}}(x) E i { 1 } ( x ) and its three direct angles highlighted. (b) A 1-consistent rotation E i { 1 , 2 } ( x ) \mathcal{E}_i^{\{1,2\}}(x) E i { 1 , 2 } ( x ) , with the induced angle-assignment φ i , x 2 → 1 \varphi_{i,x}^{2\to1} φ i , x 2 → 1 indicated with colors. (c) A 1-consistent rotation E i { 1 , 2 , 3 } ( x ) \mathcal{E}_i^{\{1,2,3\}}(x) E i { 1 , 2 , 3 } ( x ) that does not satisfy the transported angle-assignment φ i , x 3 → 1 \varphi_{i,x}^{3\to1} φ i , x 3 → 1 , because f 3 f^3 f 3 does not lie in its designated angle of E i { 1 } ( x ) \mathcal{E}_i^{\{1\}}(x) E i { 1 } ( x ) . (d) A different rotation that is 2-consistent and satisfies all transported angle-assignments.
Let E ∪ \mathcal{E}_{\cup} E ∪ be a simultaneous rotation system of I \mathcal{I} I such that E ∪ \mathcal{E}_{\cup} E ∪ is 1-consistent with respect to K \mathcal{K} K . Let i ∈ [ k ] i\in[k] i ∈ [ k ] , let x ∈ att i ( K ) x\in\operatorname{att}_i(\mathcal{K}) x ∈ att i ( K ) and let j ∈ [ ℓ ] j\in[\ell] j ∈ [ ℓ ] . For a direct angle α j = ( e j , f j ) \alpha^j=(e^j,f^j) α j = ( e j , f j ) of E i { j } ( x ) \mathcal{E}_i^{\{j\}}(x) E i { j } ( x ) and j ′ ∈ [ ℓ ] j'\in[\ell] j ′ ∈ [ ℓ ] we let α j ′ = κ j → j ′ ( α j ) : = ( e j ′ , f j ′ ) \alpha^{j'}=\kappa^{j\to j'}(\alpha^j):=(e^{j'},f^{j'}) α j ′ = κ j → j ′ ( α j ) := ( e j ′ , f j ′ ) denote the corresponding direct angle of E i { j ′ } ( x ) = κ j → j ′ ( E i { j } ( x ) ) \mathcal{E}_i^{\{j'\}}(x)=\kappa^{j\to j'}(\mathcal{E}_i^{\{j\}}(x)) E i { j ′ } ( x ) = κ j → j ′ ( E i { j } ( x )) . We let φ i , x 2 → 1 \varphi_{i,x}^{2\to1} φ i , x 2 → 1 be the direct angle-assignment from A i 2 ( x ) A_i^2(x) A i 2 ( x ) to E i { 1 } ( x ) \mathcal{E}_i^{\{1\}}(x) E i { 1 } ( x ) induced by E i { 1 , 2 } ( x ) \mathcal{E}_i^{\{1,2\}}(x) E i { 1 , 2 } ( x ) . For 1 ≤ j 1 < j 2 ≤ ℓ 1\leq j_1<j_2\leq\ell 1 ≤ j 1 < j 2 ≤ ℓ , we let φ i , x j 2 → j 1 : = κ ( 1 , 2 ) → ( j 1 , j 2 ) ∘ φ i , x 2 → 1 ∘ κ ( j 1 , j 2 ) → ( 1 , 2 ) \varphi_{i,x}^{j_2\to j_1}:=\kappa^{(1,2)\to(j_1,j_2)}\circ\varphi_{i,x}^{2\to1}\circ\kappa^{(j_1,j_2)\to(1,2)} φ i , x j 2 → j 1 := κ ( 1 , 2 ) → ( j 1 , j 2 ) ∘ φ i , x 2 → 1 ∘ κ ( j 1 , j 2 ) → ( 1 , 2 ) denote the corresponding direct angle-assignment from A i j 2 ( x ) A_i^{j_2}(x) A i j 2 ( x ) to E i { j 1 } ( x ) \mathcal{E}_i^{\{j_1\}}(x) E i { j 1 } ( x ) .
For each S ⊆ [ ℓ ] S\subseteq[\ell] S ⊆ [ ℓ ] with ∣ S ∣ ≥ 2 |S|\geq2 ∣ S ∣ ≥ 2 and each 1-consistent simultaneous rotation system of I S \mathcal{I}^S I S , we analogously define the angle-assignment φ i , x j 2 → j 1 \varphi_{i,x}^{j_2\to j_1} φ i , x j 2 → j 1 for all j 1 ∈ S j_1\in S j 1 ∈ S and all j 2 ∈ [ ℓ ] j_2\in[\ell] j 2 ∈ [ ℓ ] with $j_1<j_2
(note that j 2 j_2 j 2 need not belong to S S S ) based on the angle-assignment induced by the first two blobs of I S \mathcal{I}^{S} I S . If two 1-consistent simultaneous rotation systems coincide on the first pair of blobs, they thus induce the same angle-assignments φ i , x j 2 → j 1 \varphi_{i,x}^{j_2\to j_1} φ i , x j 2 → j 1 . Moreover, note that the choice of the reference pair is irrelevant if the simultaneous rotation system is 2-consistent.
Since we only assume that E ∪ \mathcal{E}_{\cup} E ∪ is 1-consistent, note that E i { j 1 , j 2 } ( x ) \mathcal{E}_i^{\{j_1,j_2\}}(x) E i { j 1 , j 2 } ( x ) does not necessarily satisfy φ i , x j 2 → j 1 \varphi_{i,x}^{j_2\to j_1} φ i , x j 2 → j 1 ; see Figure 5 . However, we now show that satisfying these angle-assignments is necessary and sufficient for 2-consistency. Roughly speaking, by Lemma 4, these angle-assignments uniquely define a combined rotation at x x x for each pair of blobs. As the angle-assignments coincide under isomorphism for all pairs of blobs by definition, the combined rotations thus also coincide under isomorphism for all pairs of blobs, implying 2-consistency.
Lemma 12 (★). Let I = ( G 1 , … , G k ) \mathcal{I}=(G_1,\ldots,G_k) I = ( G 1 , … , G k ) be an exclusive-connected instance of S-SEFE. Let K \mathcal{K} K be a blob-partition of size l ≥ 3 l\ge3 l ≥ 3 of I \mathcal{I} I whose modulator is extended and let E ∪ \mathcal{E}_{\cup} E ∪ be a simultaneous rotation system of I \mathcal{I} I . Then E ∪ \mathcal{E}_{\cup} E ∪ is 2-consistent with respect to K \mathcal{K} K if and only if
E ∪ \mathcal{E}_{\cup} E ∪ is 1-consistent with respect to K \mathcal{K} K ,
E ∪ [ l − 1 ] \mathcal{E}_{\cup}^{[l-1]} E ∪ [ l − 1 ] is 2-consistent with respect to K [ l − 1 ] \mathcal{K}^{[l-1]} K [ l − 1 ] , and
for all i ∈ [ k ] i\in[k] i ∈ [ k ] and each x ∈ att i ( K ) x\in\operatorname{att}_i(\mathcal{K}) x ∈ att i ( K ) , E i ( x ) \mathcal{E}_i(x) E i ( x ) satisfies the angle-assignments φ i , x l → 1 , … , φ i , x l → l − 1 \varphi_{i,x}^{l\to1},\ldots,\varphi_{i,x}^{l\to l-1} φ i , x l → 1 , … , φ i , x l → l − 1 .
We remark that 2-consistency does not imply 1-consistency for l = 2 l=2 l = 2 .
By Lemma 12, to construct the desired embedding E i \mathcal{E}_i E i of G i G_i G i , we thus have to merge the rotation systems E i [ l − 1 ] = E ~ i \mathcal{E}_i^{[l-1]}=\widetilde{\mathcal{E}}_i E i [ l − 1 ] = E i of G i [ l − 1 ] G_i^{[l-1]} G i [ l − 1 ] and E i { l } = κ l → 1 ( E ~ i ) \mathcal{E}_i^{\{l\}}=\kappa^{l\to1}(\widetilde{\mathcal{E}}_i) E i { l } = κ l → 1 ( E i ) of G i { l } G_i^{\{l\}} G i { l } at every modulator vertex x ∈ att i ( K ) x\in\operatorname{att}_i(\mathcal{K}) x ∈ att i ( K ) in such a way that the induced angle-assignment from A i l ( x ) A_i^l(x) A i l ( x ) to E i [ l − 1 ] ( x ) \mathcal{E}_i^{[l-1]}(x) E i [ l − 1 ] ( x ) refines φ i , x l → 1 , … , φ i , x l → l − 1 \varphi_{i,x}^{l\to1},\ldots,\varphi_{i,x}^{l\to l-1} φ i , x l → 1 , … , φ i , x l → l − 1 . Our next goal is to show that such an angle-assignment exists. While we only need this for l ≥ ∣ X ∣ + 4 l\ge|X|+4 l ≥ ∣ X ∣ + 4 to construct the desired embedding, we also show that such an angle-assignment is unique for l ≥ 3 l\ge3 l ≥ 3 , if it exists. We will use this later to show that 2-consistency implies m m m -consistency for all m ∈ [ l ] m\in[l] m ∈ [ l ] .
Lemma 13 (★). Let I = ( G 1 , … , G k ) \mathcal{I}=(G_1,\ldots,G_k) I = ( G 1 , … , G k ) be an exclusive-connected instance of S-SEFE. Let K \mathcal{K} K be a blob-partition of size l ≥ 3 l\ge3 l ≥ 3 of I \mathcal{I} I whose modulator is extended and let E ~ ∪ \widetilde{\mathcal{E}}_{\cup} E ∪ be a simultaneous rotation system of I [ l − 1 ] \mathcal{I}^{[l-1]} I [ l − 1 ] that is 1- and 2-consistent with respect to K [ l − 1 ] \mathcal{K}^{[l-1]} K [ l − 1 ] . Let i ∈ [ k ] i\in[k] i ∈ [ k ] and x ∈ att i ( K ) x\in\operatorname{att}_i(\mathcal{K}) x ∈ att i ( K ) . Then we have the following.
If l ≥ 3 l\ge3 l ≥ 3 , there exists at most one direct angle-assignment φ i , x \varphi_{i,x} φ i , x from A i l ( x ) A_i^l(x) A i l ( x ) to E ~ i ( x ) \widetilde{\mathcal{E}}_i(x) E i ( x ) that refines φ i , x l → 1 , … , φ i , x l → l − 1 \varphi_{i,x}^{l\to1},\ldots,\varphi_{i,x}^{l\to l-1} φ i , x l → 1 , … , φ i , x l → l − 1 .
If l ≥ 4 l\ge4 l ≥ 4 , such an angle-assignment φ i , x \varphi_{i,x} φ i , x exists. Moreover, φ i , x \varphi_{i,x} φ i , x is a tidy refinement of φ i , x l → 1 , … , φ i , x l → l − 1 \varphi_{i,x}^{l\to1},\ldots,\varphi_{i,x}^{l\to l-1} φ i , x l → 1 , … , φ i , x l → l − 1 .
Proof sketch. For each edge e l ∈ A i l ( x ) e^l \in A_i^l(x) e l ∈ A i l ( x ) , we consider the angles α 1 = φ i , x l → 1 ( e l ) , … , α l − 1 = φ i , x l → l − 1 ( e l ) \alpha^1=\varphi_{i,x}^{l\to1}(e^l),\ldots,\alpha^{l-1}=\varphi_{i,x}^{l\to l-1}(e^l) α 1 = φ i , x l → 1 ( e l ) , … , α l − 1 = φ i , x l → l − 1 ( e l ) in E ~ i ( x ) \widetilde{\mathcal{E}}_i(x) E i ( x ) to show that there exists at most one direct angle that lies inside all of them (and it exists for l ≥ 4 l\ge4 l ≥ 4 ). To this end, we first consider the two angles α 1 \alpha^1 α 1 and α 2 \alpha^2 α 2 as intervals in a cyclic order and distinguish whether they (a) are disjoint or touch only at their endpoints, (b) are nested, (c) overlap once, or (d) overlap twice; see Figure 6 .
Figure 6. Four configurations for two angles α 1 = ( f 1 , g 1 ) \alpha^1=(f^1,g^1) α 1 = ( f 1 , g 1 ) and α 2 = ( f 2 , g 2 ) \alpha^2=(f^2,g^2) α 2 = ( f 2 , g 2 ) . In (b)-(c), the blue angle highlights the unique intersection of α 1 , α 2 , … , α l − 1 \alpha^1,\alpha^2,\ldots,\alpha^{l-1} α 1 , α 2 , … , α l − 1 .
While the last case yields two disjoint intervals that lie inside of α 1 \alpha^1 α 1 and α 2 \alpha^2 α 2 , we can use the fact that X X X is an extended modulator to show that this case cannot occur. As α 1 \alpha^1 α 1 and α 2 \alpha^2 α 2 are direct angles in E ~ i { 1 } \widetilde{\mathcal{E}}_i^{\{1\}} E i { 1 } and E ~ i { 2 } \widetilde{\mathcal{E}}_i^{\{2\}} E i { 2 } , respectively, the corresponding modulator edge cannot lie inside either of them. But in case (d), every edge lies in one of the two angles, a contradiction.
Due to 2-consistency, the remaining angles α 3 , … , α l − 1 \alpha^3,\ldots,\alpha^{l-1} α 3 , … , α l − 1 must adhere to the same pairwise pattern as α 1 \alpha^1 α 1 and α 2 \alpha^2 α 2 . In the first three cases, we thus find at most one direct angle that lies inside α 1 , … , α l − 1 \alpha^1,\ldots,\alpha^{l-1} α 1 , … , α l − 1 , which gives the first statement.
For l ≥ 4 l\ge4 l ≥ 4 , the definition of φ i , x l → 1 \varphi_{i,x}^{l\to1} φ i , x l → 1 via φ ~ i , x 2 → 1 \widetilde{\varphi}_{i,x}^{2\to1} φ i , x 2 → 1 tells us that α 1 \alpha^1 α 1 contains the edge e 2 e^2 e 2 . Due to 2-consistency, the edge e 3 e^3 e 3 thus lies inside both α 1 \alpha^1 α 1 and α 2 \alpha^2 α 2 in E ~ i ( x ) \widetilde{\mathcal{E}}_i(x) E i ( x ) . Hence α 1 \alpha^1 α 1 and α 2 \alpha^2 α 2 cannot have disjoint interiors and thus case (a) cannot occur and we always find the desired direct angle that lies inside α 1 , … , α l − 1 \alpha^1,\ldots,\alpha^{l-1} α 1 , … , α l − 1 . Note that we can only use this argument if l − 1 ≥ 3 l-1\ge3 l − 1 ≥ 3 . We can additionally confirm the tidiness of the refinements, which shows the second statement.
With this result, we can now show that E ~ ∪ \widetilde{\mathcal{E}}_{\cup} E ∪ can be extended to the desired 2-consistent simultaneous rotation system E ∪ \mathcal{E}_{\cup} E ∪ of G ∪ G_{\cup} G ∪ . For each i ∈ [ k ] i\in[k] i ∈ [ k ] and each x ∈ att i ( K ) x\in\operatorname{att}_i(\mathcal{K}) x ∈ att i ( K ) , we use the uniquely defined tidy refinement φ i , x \varphi_{i,x} φ i , x from Lemma 13 (which exists, as l ≥ 4 l\ge4 l ≥ 4 ) to merge E ~ i [ l − 1 ] ( x ) = E ~ i [ l − 1 ] ( x ) \widetilde{\mathcal{E}}_i^{[l-1]}(x)=\widetilde{\mathcal{E}}_i^{[l-1]}(x) E i [ l − 1 ] ( x ) = E i [ l − 1 ] ( x ) and E i { l } ( x ) = κ l − 1 ( E i { l } ) ( x ) \mathcal{E}_i^{\{l\}}(x)=\kappa^{l-1}(\mathcal{E}_i^{\{l\}})(x) E i { l } ( x ) = κ l − 1 ( E i { l } ) ( x ) into one circular order E i ( x ) \mathcal{E}_i(x) E i ( x ) . To this end, we use the embedding induced by the first two blobs as a witness (under isomorphism) that there exists a circular ordering that satisfies φ i , x l → 1 \varphi_{i,x}^{l\to1} φ i , x l → 1 . We can then use the fact that φ i , x \varphi_{i,x} φ i , x is a tidy refinement of φ i , x l → 1 \varphi_{i,x}^{l\to1} φ i , x l → 1 to show that the desired circular ordering E i ( x ) \mathcal{E}_i(x) E i ( x ) exists.
Lemma 14 (★). Let I = ( G 1 , … , G k ) \mathcal{I}=(G_1,\ldots,G_k) I = ( G 1 , … , G k ) be an exclusive-connected instance of S-SEFE. Let K \mathcal{K} K be a blob-partition of size l ≥ 4 l\ge4 l ≥ 4 of I \mathcal{I} I whose modulator is extended. Moreover, let E ~ ∪ \widetilde{\mathcal{E}}_{\cup} E ∪ be a simultaneous rotation system of I [ l − 1 ] \mathcal{I}^{[l-1]} I [ l − 1 ] such that E ~ ∪ \widetilde{\mathcal{E}}_{\cup} E ∪ is 2-consistent with respect to K [ l − 1 ] \mathcal{K}^{[l-1]} K [ l − 1 ] .
There exists a simultaneous rotation system E ∪ \mathcal{E}_{\cup} E ∪ of I \mathcal{I} I that coincides with E ~ ∪ \widetilde{\mathcal{E}}_{\cup} E ∪ on G ∪ [ l − 1 ] G_{\cup}^{[l-1]} G ∪ [ l − 1 ] and such that E ∪ \mathcal{E}_{\cup} E ∪ is 2-consistent with respect to K \mathcal{K} K .
To simplify the final proof, we first show that 2-consistency implies m m m -consistency for all m ∈ [ l ] m\in[l] m ∈ [ l ] . We do this inductively on m m m and in each step show that any m m m blobs induce the same rotation in each input graph. To this end, we again use the fact that the angle-assignments from the last of these blobs to the rotation of the other m − 1 m-1 m − 1 blobs have a unique common refinement by Lemma 13. This refinement is identical (under isomorphism) for any m m m blobs and thus Lemma 4, together with ( m − 1 ) (m-1) ( m − 1 ) -consistency, yields that the combined rotation also coincides under isomorphism, implying m m m -consistency.
Lemma 15 (★). Let I = ( G 1 , … , G k ) \mathcal{I} = (G_1,\ldots,G_k) I = ( G 1 , … , G k ) be an exclusive-connected instance of S-SEFE. Let K \mathcal{K} K be a blob-partition of size l ≥ 3 l \ge3 l ≥ 3 of I \mathcal{I} I whose modulator is extended and let E ∪ \mathcal{E}_{\cup} E ∪ be a simultaneous rotation system of I \mathcal{I} I . If E ∪ \mathcal{E}_{\cup} E ∪ is 2-consistent with respect to K \mathcal{K} K , then E ∪ \mathcal{E}_{\cup} E ∪ is m m m -consistent with respect to K \mathcal{K} K for all m ∈ [ l ] m \in[l] m ∈ [ l ] .
Using Lemma 15, we can now show that the 2-consistent rotation system E ∪ \mathcal{E}_{\cup} E ∪ from Lemma 14 is a simultaneous embedding. We use the fact that non-planarity (Lemma 3) and inconsistent embeddings are witnessed by a small number of blobs. Due to Lemmas 14 and 15, every proper subset of blobs induces a simultaneous embedding, and we can conclude that the same also holds for the entire instance.
Lemma 16. Let I = ( G 1 , … , G k ) \mathcal{I} = (G_1,\ldots,G_k) I = ( G 1 , … , G k ) be an exclusive-connected instance of S-SEFE. Let K \mathcal{K} K be a blob-partition of I \mathcal{I} I with an extended modulator X X X and size l ≥ ∣ X ∣ + 3 l \ge|X| + 3 l ≥ ∣ X ∣ + 3 . Moreover, let E ∪ \mathcal{E}_{\cup} E ∪ be a simultaneous rotation system of I \mathcal{I} I such that E ∪ \mathcal{E}_{\cup} E ∪ is 2-consistent with respect to K \mathcal{K} K . If E ∪ [ l − 1 ] \mathcal{E}_{\cup}^{[l-1]} E ∪ [ l − 1 ] is a simultaneous embedding of I [ l − 1 ] \mathcal{I}^{[l-1]} I [ l − 1 ] , then E ∪ \mathcal{E}_{\cup} E ∪ is a simultaneous embedding of I \mathcal{I} I .
Proof. We start with the following observation.
Claim 16. For each non-empty S ⊆ [ l ] S \subseteq[l] S ⊆ [ l ] , E ∪ S \mathcal{E}_{\cup}^{S} E ∪ S is a simultaneous embedding of I S \mathcal{I}^{S} I S .
Proof. Since E ∪ \mathcal{E}_{\cup} E ∪ is 2-consistent, it is also ∣ S ∣ |S| ∣ S ∣ -consistent by Lemma 15. Because [ ∣ S ∣ ] ⊆ [ l − 1 ] [|S|] \subseteq[l-1] [ ∣ S ∣ ] ⊆ [ l − 1 ] , we have that E ∪ [ ∣ S ∣ ] \mathcal{E}_{\cup}^{[|S|]} E ∪ [ ∣ S ∣ ] is a simultaneous embedding by assumption and thus ∣ S ∣ |S| ∣ S ∣ -consistency immediately implies that E ∪ S \mathcal{E}_{\cup}^{S} E ∪ S is a simultaneous embedding of I S \mathcal{I}^{S} I S . ◁
In order to show that E ∪ \mathcal{E}_{\cup} E ∪ is a simultaneous embedding, we use the fact that obstructions are contained in a small subset of blobs.
Claim 16 (★). Let H H H be a subgraph of G ∪ G_{\cup} G ∪ that consists of a simple cycle C C C that either has no bridge or a single bridge that is a path or a cycle. Then there exists a subset S ⊆ [ l ] S \subseteq[l] S ⊆ [ l ] with ∣ S ∣ ≤ ∣ X ∣ + 1 |S| \le|X| + 1 ∣ S ∣ ≤ ∣ X ∣ + 1 such that H H H is a subgraph of G ∪ S G_{\cup}^{S} G ∪ S .
Using this, we now first show that each individual embedding is planar. Let i ∈ [ k ] i \in[k] i ∈ [ k ] and assume for the sake of contradiction that E i \mathcal{E}_i E i is not planar. By Lemma 3, there exists a simple cycle C C C of G i G_i G i and a bridge B B B of C C C with fixtures a 1 = ( x 1 , e 1 ) a_1 = (x_1,e_1) a 1 = ( x 1 , e 1 ) and a 2 = ( x 2 , e 2 ) a_2 = (x_2,e_2) a 2 = ( x 2 , e 2 ) such that E i \mathcal{E}_i E i places a 1 a_1 a 1 and a 2 a_2 a 2 on different sides of C C C . Let P P P be an arbitrary simple x 1 x 2 x_1x_2 x 1 x 2 -path in B B B (or a simple cycle if x 1 = x 2 x_1 = x_2 x 1 = x 2 ) that starts with e 1 e_1 e 1 and ends with e 2 e_2 e 2 . Observe that P P P and C C C only share vertices x 1 x_1 x 1 and x 2 x_2 x 2 and let H = C ∪ P H = C \cup P H = C ∪ P . By Claim 16, we find a subset S ⊆ [ l ] S \subseteq[l] S ⊆ [ l ] with ∣ S ∣ ≤ ∣ X ∣ + 1 |S| \le|X| + 1 ∣ S ∣ ≤ ∣ X ∣ + 1 such that G ∪ S G_{\cup}^{S} G ∪ S (and thus G i S G_i^S G i S ) contains H H H . Let B ′ B' B ′ denote the unique bridge of C C C in G i S G_i^S G i S that contains P P P . Note that a 1 a_1 a 1 and a 2 a_2 a 2 are fixtures of B ′ B' B ′ that lie on different sides of C C C in E i S \mathcal{E}_i^S E i S . Because G i S G_i^S G i S is connected by Lemma 7, E i S \mathcal{E}_i^S E i S is therefore non-planar by Lemma 3. But since ∣ S ∣ ≤ ∣ X ∣ + 1 |S| \le|X| + 1 ∣ S ∣ ≤ ∣ X ∣ + 1 , we have S ⊊ [ l ] S \subsetneq[l] S ⊊ [ l ] and we thus obtain a contradiction to Claim 16. Therefore, E i \mathcal{E}_i E i is a planar embedding of G i G_i G i .
It remains to show that the planar embeddings E ∪ = ( E 1 , … , E k ) \mathcal{E}_{\cup} = (\mathcal{E}_1,\ldots,\mathcal{E}_k) E ∪ = ( E 1 , … , E k ) are consistent. We first show that, for every vertex v v v of G ∪ G_{\cup} G ∪ , the order of shared edges incident to v v v is consistent in E 1 , … , E k \mathcal{E}_1,\ldots,\mathcal{E}_k E 1 , … , E k . Let e 1 , e 2 , e 3 e_1,e_2,e_3 e 1 , e 2 , e 3 be three shared edges incident to v v v in G ∪ G_{\cup} G ∪ . Let j 1 , j 2 , j 3 ∈ [ l ] j_1,j_2,j_3 \in[l] j 1 , j 2 , j 3 ∈ [ l ] such that e 1 , e 2 , e 3 ∈ E ( G ∪ { j 1 , j 2 , j 3 } ) e_1,e_2,e_3 \in E(G_{\cup}^{\{j_1,j_2,j_3\}}) e 1 , e 2 , e 3 ∈ E ( G ∪ { j 1 , j 2 , j 3 } ) . By Claim 16, we have that E ∪ { j 1 , j 2 , j 3 } \mathcal{E}_{\cup}^{\{j_1,j_2,j_3\}} E ∪ { j 1 , j 2 , j 3 } is a simultaneous embedding and thus, for each i 1 , i 2 ∈ [ k ] i_1,i_2 \in[k] i 1 , i 2 ∈ [ k ] , e 1 , e 2 , e 3 e_1,e_2,e_3 e 1 , e 2 , e 3 appear in the same circular order in E i 1 { j 1 , j 2 , j 3 } ( v ) \mathcal{E}_{i_1}^{\{j_1,j_2,j_3\}}(v) E i 1 { j 1 , j 2 , j 3 } ( v ) and E i 2 { j 1 , j 2 , j 3 } ( v ) \mathcal{E}_{i_2}^{\{j_1,j_2,j_3\}}(v) E i 2 { j 1 , j 2 , j 3 } ( v ) . Hence the same also holds for E i 1 ( v ) \mathcal{E}_{i_1}(v) E i 1 ( v ) and E i 2 ( v ) \mathcal{E}_{i_2}(v) E i 2 ( v ) . Therefore, the embeddings of E ∪ \mathcal{E}_{\cup} E ∪ have consistent orders for shared edges.
Finally, we show that E 1 , … , E k \mathcal{E}_1,\ldots,\mathcal{E}_k E 1 , … , E k have consistent relative positions in the shared graph. Let H , H ′ H,H' H , H ′ denote distinct connected components of G ∪ G_{\cup} G ∪ , let C C C be a simple cycle of H H H and let v v v be a vertex of H ′ H' H ′ . Let i 1 , i 2 ∈ [ k ] i_1,i_2 \in[k] i 1 , i 2 ∈ [ k ] . Using Claim 16 and accounting for the fact that v v v may lie in an additional blob, we find a subset S ⊊ [ l ] S \subsetneq[l] S ⊊ [ l ] with ∣ S ∣ ≤ ∣ X ∣ + 2 < l |S| \le|X| + 2 < l ∣ S ∣ ≤ ∣ X ∣ + 2 < l such that C C C and v v v are contained in G ∪ S G_{\cup}^{S} G ∪ S , and thus also in G ∩ S G_{\cap}^{S} G ∩ S . Since E ∪ S \mathcal{E}_{\cup}^{S} E ∪ S is a simultaneous embedding of I S \mathcal{I}^{S} I S by Claim 16, v v v lies on the same side of C C C in E ∪ S \mathcal{E}_{\cup}^{S} E ∪ S and E ∩ S \mathcal{E}_{\cap}^{S} E ∩ S . Thus v v v also lies on the same side of C C C in E i 1 \mathcal{E}_{i_1} E i 1 and E i 2 \mathcal{E}_{i_2} E i 2 . Hence v v v lies on the same side of every simple cycle of H H H in E i 1 \mathcal{E}_{i_1} E i 1 and E i 2 \mathcal{E}_{i_2} E i 2 , which also implies that v v v lies in the same face of H H H in both embeddings.
Thus E ∪ \mathcal{E}_{\cup} E ∪ is a simultaneous embedding of I \mathcal{I} I , which concludes the proof.
Combining Lemmas 14 and 16 with l ≥ ∣ X ∣ + 4 l \ge|X| + 4 l ≥ ∣ X ∣ + 4 concludes the proof of Lemma 8.
Hardness for Constant Pathwidth and Constant k k k
In this section, we derive Theorem 2, i.e., S-SEFE remains NP-hard even for three input graphs with pw ( G ∪ ) ≤ 5 \operatorname{pw}(G_{\cup}) \le5 pw ( G ∪ ) ≤ 5 . Towards this, we first describe the two-star construction (Definition 17)—an S-SEFE instance using 2 input graphs (which we will call red and blue, respectively) whose shared graph forms two disjoint stars. In Lemma 18, we essentially show that in any simultaneous embedding of the two-star construction, the circular order around a star center consists of “regularly interleaving suborders”. To derive hardness, we then add a third input graph (call it green) to the construction to further constrain the stars’ rotation systems, which allows us to model Bin Packing [27 ] .
Definition 17 (Two-star construction). Let T T T be a finite nonempty set of types and L ≥ 2 L \ge2 L ≥ 2 an integer. The two-star construction S ( T , L ) = ( G 1 , G 2 ) \mathcal{S}(T,L) = (G_1,G_2) S ( T , L ) = ( G 1 , G 2 ) is the S-SEFE instance obtained as follows. Construct G ∩ G_{\cap} G ∩ by creating a star with center v v v and attaching, for each t ∈ T t \in T t ∈ T and i ∈ Z L i \in\mathbb{Z}_L i ∈ Z L , a leaf t i t^i t i , called the i i i th copy of type t t t . Add a disjoint copy of this star, where for each original vertex u u u , u ˉ \bar{u} u ˉ denotes its copy. Finally, for each t ∈ T t \in T t ∈ T and i ∈ Z L i \in\mathbb{Z}_L i ∈ Z L , add the red exclusive edge t i t ˉ i t^i\bar{t}^i t i t ˉ i to G 1 G_1 G 1 and the blue exclusive edge t i t ˉ i + 1 t^i\bar{t}^{i+1} t i t ˉ i + 1 to G 2 G_2 G 2 ; see Figure 7 (left).
Figure 7. Left: The two-star construction for T = { a , b , c } T = \{a,b,c\} T = { a , b , c } and L = 3 L = 3 L = 3 , together with a simultaneous embedding; here, r = 3 r = 3 r = 3 in Lemma 18. Right: A resulting S-SEFE instance for a Bin Packing instance with bin capacity B = 2 B = 2 B = 2 , K = 3 K = 3 K = 3 bins, and item sizes s ( u 1 ) = 2 s(u_1) = 2 s ( u 1 ) = 2 , s ( u 2 ) = 1 s(u_2) = 1 s ( u 2 ) = 1 , and s ( u 3 ) = 1 s(u_3) = 1 s ( u 3 ) = 1 . The depicted order around v v v (with r = 4 r = 4 r = 4 ) corresponds to the solution U 1 = { u 1 } U_1 = \{u_1\} U 1 = { u 1 } , U 2 = { u 2 , u 3 } U_2 = \{u_2,u_3\} U 2 = { u 2 , u 3 } , and U 3 = ∅ U_3 = \emptyset U 3 = ∅ . The second star and red and blue edges are omitted to avoid clutter.
Lemma 18 (★). Let T T T be a finite nonempty set and L ≥ 2 L \ge2 L ≥ 2 an integer. In every simultaneous embedding of S ( T , L ) \mathcal{S}(T,L) S ( T , L ) , there is r ∈ Z ∣ T ∣ L r \in\mathbb{Z}_{|T|L} r ∈ Z ∣ T ∣ L such that, for every t ∈ T t \in T t ∈ T and i ∈ Z L i \in\mathbb{Z}_L i ∈ Z L , the clockwise circular order around v v v contains t i + 1 t^{i+1} t i + 1 exactly r r r positions after t i t^i t i . Conversely, for any circular order around v v v satisfying this property, one can realize a corresponding simultaneous embedding of S ( T , L ) \mathcal{S}(T,L) S ( T , L ) .
We reduce from the strongly NP-hard Bin Packing problem [27 ] , which asks whether, given a finite set U U U of items with sizes s ( u ) ∈ Z + s(u) \in\mathbb{Z}^{+} s ( u ) ∈ Z + for each u ∈ U u \in U u ∈ U , a bin capacity B ∈ Z + B \in\mathbb{Z}^{+} B ∈ Z + , and an integer K > 0 K > 0 K > 0 , the set U U U can be partitioned into disjoint subsets U 1 , U 2 , … , U K U_1,U_2,\ldots,U_K U 1 , U 2 , … , U K such that ∑ u ∈ U i s ( u ) ≤ B \sum_{u \in U_i}s(u) \le B ∑ u ∈ U i s ( u ) ≤ B for all i ∈ [ K ] i \in[K] i ∈ [ K ] . Fix such an instance with U = { u 1 , … , u n } U = \{u_1,\ldots,u_n\} U = { u 1 , … , u n } . Without loss of generality, assume that s ( u ) ≤ B s(u) \le B s ( u ) ≤ B for all u ∈ U u \in U u ∈ U and that K ≥ 3 K \ge3 K ≥ 3 . We construct a corresponding instance of S-SEFE ( G 1 , G 2 , G 3 ) (G_1,G_2,G_3) ( G 1 , G 2 , G 3 ) as follows. Let T = { R , t 1 , … , t n } T = \{R,t_1,\ldots,t_n\} T = { R , t 1 , … , t n } , where R R R is the reference type and the distinct types t j t_j t j represent the items u j u_j u j . Further, let ( G 1 , G 2 ) = S ( T , K ( B + 1 ) ) (G_1,G_2) = \mathcal{S}(T,K(B+1)) ( G 1 , G 2 ) = S ( T , K ( B + 1 )) . To construct G 3 G_3 G 3 , we begin with G 1 ∩ G 2 G_1 \cap G_2 G 1 ∩ G 2 , and subsequently add the bin cycle C = R 1 R B + 2 R 2 R 2 ( B + 1 ) + 1 ⋯ R ( K − 1 ) ( B + 1 ) + 1 R 1 C = R^1R^{B+2}R^2R^{2(B+1)+1}\cdots R^{(K-1)(B+1)+1}R^1 C = R 1 R B + 2 R 2 R 2 ( B + 1 ) + 1 ⋯ R ( K − 1 ) ( B + 1 ) + 1 R 1 and, for each item u j u_j u j , the item path P j = t j 1 t j 2 ⋯ t j s ( u j ) + 1 P_j = t_j^1t_j^2\cdots t_j^{s(u_j)+1} P j = t j 1 t j 2 ⋯ t j s ( u j ) + 1 ; see Figure 7 (right).
Finally, Theorem 2 follows from the following lemma.
Lemma 19 (★). The Bin Packing instance is positive if and only if ( G 1 , G 2 , G 3 ) (G_1,G_2,G_3) ( G 1 , G 2 , G 3 ) admits a simultaneous embedding. Moreover, ( G 1 , G 2 , G 3 ) (G_1,G_2,G_3) ( G 1 , G 2 , G 3 ) can be constructed in polynomial time and the pathwidth of G ∪ G_{\cup} G ∪ is at most 5.
Concluding Remarks
Taken together, the results presented in this work bring us closer to a complete understanding of the boundaries of tractability for S-SEFE. A natural open question arising from our work is whether our result can be made more “algorithmically tame” by avoiding the tower of exponents in the running time guarantees. More broadly, it would be interesting to settle the complexity of 2-SEFE and to understand whether any of the recent results for S-SEFE can be lifted to the non-sunflower setting.
Statement on the Use of AI Tools. The authors acknowledge the use of AI tools (GPT-6 Astra and Claude Opus 5.5) for proofreading and correctness verification. Moreover, the idea underlying the hardness reduction (Theorem 2 ) complementing our main result originated from a discussion with GPT-6 Astra; however, no such tools were used for the idea and writeup of the proof of the main result (Theorem 1). The authors assume full responsibility for all claims in the article.
Omitted Proofs from Section 2
Lemma 3 (★). Let G G G be a connected graph and let E \mathcal{E} E be a rotation system of G G G . Then E \mathcal{E} E is planar if and only if, for every simple cycle C C C of G G G , every bridge B B B of C C C , and every pair of fixtures a 1 = ( v 1 , e 1 ) , a 2 = ( v 2 , e 2 ) a_1=(v_1,e_1),a_2=(v_2,e_2) a 1 = ( v 1 , e 1 ) , a 2 = ( v 2 , e 2 ) of B B B , a 1 a_1 a 1 lies inside C C C in E \mathcal{E} E if and only if a 2 a_2 a 2 does.
Proof. It is clear that the condition is necessary; we thus only show that it is also sufficient. Let E \mathcal{E} E be a rotation system of G G G that satisfies the condition of the lemma. Note that E \mathcal{E} E is planar if and only if (1) E \mathcal{E} E induces a planar embedding for each block of G G G and (2) for each cutvertex v v v of G G G and every pair of distinct split components S 1 , S 2 S_1,S_2 S 1 , S 2 of v v v , the edges of S 1 S_1 S 1 incident to v v v are consecutive with respect to the edges of S 2 S_2 S 2 incident to v v v .
We first show that E \mathcal{E} E satisfies statement (2). If S 1 S_1 S 1 or S 2 S_2 S 2 only has a single edge incident to v v v , the statement holds trivially. Otherwise, assume for the sake of contradiction that v v v has incident edges f 1 , f 2 f_1,f_2 f 1 , f 2 that belong to S 1 S_1 S 1 and edges g 1 , g 2 g_1,g_2 g 1 , g 2 that belong to S 2 S_2 S 2 , such that these four edges appear in the clockwise order f 1 , g 1 , f 2 , g 2 f_1,g_1,f_2,g_2 f 1 , g 1 , f 2 , g 2 in E ( v ) \mathcal{E}(v) E ( v ) . Because f 1 f_1 f 1 and f 2 f_2 f 2 belong to S 1 S_1 S 1 , there exists a simple cycle C C C in S 1 S_1 S 1 that contains v v v , f 1 f_1 f 1 , and f 2 f_2 f 2 . Moreover, since g 1 g_1 g 1 and g 2 g_2 g 2 both belong to S 2 S_2 S 2 , they belong to the same bridge B B B of C C C . But the ordering f 1 , g 1 , f 2 , g 2 f_1,g_1,f_2,g_2 f 1 , g 1 , f 2 , g 2 places the fixtures ( v , g 1 ) (v,g_1) ( v , g 1 ) and ( v , g 2 ) (v,g_2) ( v , g 2 ) of B B B on different sides of C C C , a contradiction.
To show that statement (1) holds, we thus now assume that G G G is biconnected. We prove the statement by induction on the number of edges of G G G . We distinguish two cases, based on whether there exists a simple cycle of G G G with more than one bridge or not.
Case 1: Every simple cycle of G G G has at most one bridge. We show that G G G has very restricted structure.
Claim 19. Let G G G be a biconnected graph with at least two edges such that every simple cycle of G G G has at most one bridge. Then G G G is either a simple cycle or a simple cycle whose only bridge is a path.
Proof. Because G G G is biconnected and has at least two edges, G G G contains at least one simple cycle C C C . If C C C has no bridges, then we have G = C G=C G = C . Otherwise, let B B B denote the unique bridge of C C C . Due to biconnectivity, B B B has at least two distinct fixture vertices. Choose two fixture vertices x 1 ≠ x 2 x_1 \ne x_2 x 1 = x 2 of B B B such that no other fixture vertex of B B B lies between x 1 x_1 x 1 and x 2 x_2 x 2 along the orientation of C C C ; see Figure 8 a. Let P C 1 P_C^1 P C 1 be the x 1 x 2 x_1x_2 x 1 x 2 -path that follows the orientation of C C C and let P C 2 P_C^2 P C 2 be the other x 1 x 2 x_1x_2 x 1 x 2 -path of C C C . Moreover, let P B P_B P B be an arbitrary x 1 x 2 x_1x_2 x 1 x 2 -path in B B B that is disjoint from C C C , except for its endpoints. Consider the cycle C ^ = P C 2 ∪ P B \widehat{C} = P_C^2 \cup P_B C = P C 2 ∪ P B . By the choice of x 1 x_1 x 1 , x 2 x_2 x 2 and P C 1 P_C^1 P C 1 , the interior vertices of P C 1 P_C^1 P C 1 have degree 2 in G G G . Hence P C 1 P_C^1 P C 1 constitutes an entire bridge of C ^ \widehat{C} C . Since C ^ \widehat{C} C has no other bridges by assumption, we have G = C ^ ∪ P C 1 = P C 2 ∪ P B ∪ P C 1 = C ∪ P B G = \widehat{C} \cup P_C^1 = P_C^2 \cup P_B \cup P_C^1 = C \cup P_B G = C ∪ P C 1 = P C 2 ∪ P B ∪ P C 1 = C ∪ P B . Because G = C ∪ B G = C \cup B G = C ∪ B , B B B thus only consists of the path P B P_B P B , which concludes the proof. ◁
Figure 8. Illustration of the proof of Lemma 3. (a) A cycle C C C with a single bridge. Because this bridge is more than a path, there exists a second cycle C ^ \hat{C} C ^ with more than one bridge. (b)–(c) Two examples for a cycle C C C with two bridges whose fixtures (red) alternate inside C C C . In both cases, there exists a cycle C ^ \hat{C} C ^ that has a bridge with fixtures (green) that lie on different sides of C ^ \hat{C} C ^ .
If G G G has fewer than two edges or G G G is a simple cycle, E \mathcal{E} E is trivially planar. By the claim, G G G otherwise contains a simple cycle C C C whose only bridge B B B is a path. Note that E \mathcal{E} E trivially induces planar embeddings for C C C and B B B . Since E \mathcal{E} E additionally places the two fixtures of B B B on the same side of C C C by assumption, we thus have that E \mathcal{E} E is a planar embedding of G = C ∪ B G = C \cup B G = C ∪ B .
Case 2: There exists a simple cycle C C C of G G G with at least two bridges. Recall that, by assumption, the fixtures of each bridge of C C C lie on the same side of C C C in E \mathcal{E} E . Let I \mathcal{I} I and J \mathcal{J} J denote the bridges whose fixtures lie inside and outside of C C C , respectively. If I \mathcal{I} I and J \mathcal{J} J are both non-empty, we obtain by induction that E \mathcal{E} E induces planar embeddings of the smaller subgraphs C ∪ ⋃ B ∈ I B C \cup\bigcup_{B \in\mathcal{I}} B C ∪ ⋃ B ∈ I B and C ∪ ⋃ B ∈ J B C \cup\bigcup_{B \in\mathcal{J}} B C ∪ ⋃ B ∈ J B and thus E \mathcal{E} E also induces a planar embedding of G G G . In the following, we thus assume without loss of generality that J = ∅ \mathcal{J} = \emptyset J = ∅ , i.e., the fixtures of all bridges of C C C lie inside of C C C in E \mathcal{E} E .
Note that the chosen orientation of C C C defines a circular order of all fixtures inside C C C : fixtures at distinct vertices are ordered by the orientation of C C C , fixtures at a common vertex v v v are ordered by E ( v ) \mathcal{E}(v) E ( v ) , from the incoming edge of C C C towards the outgoing edge. We first show that the fixtures of one of the bridges appear consecutively in this circular order.
Claim 19. There exists a bridge B ∈ I B \in\mathcal{I} B ∈ I such that the fixtures of B B B appear consecutively inside C C C .
Proof. We first show that the fixtures of two distinct bridges of I \mathcal{I} I do not alternate around C C C . Assume for the sake of contradiction that there exist fixtures a 1 = ( v 1 , e 1 ) , a 2 = ( v 2 , e 2 ) a_1 = (v_1, e_1), a_2 = (v_2, e_2) a 1 = ( v 1 , e 1 ) , a 2 = ( v 2 , e 2 ) of a bridge B ∈ I B \in\mathcal{I} B ∈ I and fixtures a 1 ′ = ( v 1 ′ , e 1 ′ ) , a 2 ′ = ( v 2 ′ , e 2 ′ ) a'_1 = (v'_1, e'_1), a'_2 = (v'_2, e'_2) a 1 ′ = ( v 1 ′ , e 1 ′ ) , a 2 ′ = ( v 2 ′ , e 2 ′ ) of a different bridge B ′ ∈ I B' \in\mathcal{I} B ′ ∈ I that appear in the circular order a 1 , a 1 ′ , a 2 , a 2 ′ a_1, a'_1, a_2, a'_2 a 1 , a 1 ′ , a 2 , a 2 ′ inside C C C ; see Figure 8 b and Figure 8 c.
First assume v 1 ≠ v 2 v_1 \ne v_2 v 1 = v 2 . Let P B P_B P B denote an arbitrary v 2 v 1 v_2v_1 v 2 v 1 -path of B B B that starts with a 2 a_2 a 2 , ends with a 1 a_1 a 1 , and is otherwise disjoint from C C C . Let C ^ \widehat{C} C denote the oriented cycle obtained by concatenating P B P_B P B and the v 1 v 2 v_1v_2 v 1 v 2 -subpath P C 1 P_C^1 P C 1 of C C C that follows the orientation of C C C ; see Figure 8 b.
Because e 1 ′ e'_1 e 1 ′ and e 2 ′ e'_2 e 2 ′ both belong to B ′ B' B ′ , they also belong to a common bridge B ^ \widehat{B} B of C ^ \widehat{C} C . Moreover, since a 1 ′ a'_1 a 1 ′ lies between a 1 a_1 a 1 and a 2 a_2 a 2 in the circular order inside C C C , v 1 ′ v'_1 v 1 ′ belongs to P C 1 P_C^1 P C 1 and thus a 1 ′ a'_1 a 1 ′ is a fixture of B ^ \widehat{B} B that lies inside C ^ \widehat{C} C in E \mathcal{E} E . We distinguish whether v 2 ′ ∈ [ v 1 , v 2 ] v'_2 \in[v_1,v_2] v 2 ′ ∈ [ v 1 , v 2 ] or not.
If v 2 ′ ∈ [ v 1 , v 2 ] v'_2 \in[v_1,v_2] v 2 ′ ∈ [ v 1 , v 2 ] , then v 2 ′ v'_2 v 2 ′ belongs to C ^ \widehat{C} C and thus a 2 ′ a'_2 a 2 ′ is also a fixture of B ^ \widehat{B} B . Since a 2 ′ a'_2 a 2 ′ lies between a 2 a_2 a 2 and a 1 a_1 a 1 in the circular order inside C C C , a 2 ′ a'_2 a 2 ′ lies outside of C ^ \widehat{C} C . Hence the fixtures a 1 ′ a'_1 a 1 ′ and a 2 ′ a'_2 a 2 ′ lie on different sides of C ^ \widehat{C} C in E \mathcal{E} E , a contradiction.
If v 2 ′ ∉ [ v 1 , v 2 ] v'_2 \notin[v_1,v_2] v 2 ′ ∈ / [ v 1 , v 2 ] , then the second v 1 v 2 v_1v_2 v 1 v 2 -path P C 2 ≠ P C 1 P_C^2 \ne P_C^1 P C 2 = P C 1 of C C C also belongs to B ^ \widehat{B} B . Let e ^ \hat{e} e ^ denote the edge of P C 2 P_C^2 P C 2 incident to v 2 v_2 v 2 and observe that a ^ = ( v 2 , e ^ ) \hat{a} = (v_2,\hat{e}) a ^ = ( v 2 , e ^ ) is a fixture of B ^ \widehat{B} B . Because a 2 a_2 a 2 lies inside C C C , a ^ \hat{a} a ^ lies outside of C ^ \widehat{C} C and we again obtain a contradiction.
Finally, consider the case v 1 = v 2 v_1 = v_2 v 1 = v 2 . If v 1 ′ ≠ v 2 ′ v'_1 \ne v'_2 v 1 ′ = v 2 ′ , we can swap the labels of B B B and B ′ B' B ′ and their corresponding fixtures (which does not affect the circular order of the four fixtures inside C C C ) and we again obtain the other case. We thus assume v 1 ′ = v 2 ′ v'_1 = v'_2 v 1 ′ = v 2 ′ . Since fixtures at a common vertex appear consecutively in the circular order, we therefore have v 1 = v 1 ′ = v 2 = v 2 ′ v_1 = v'_1 = v_2 = v'_2 v 1 = v 1 ′ = v 2 = v 2 ′ . Pick C ^ \widehat{C} C as an arbitrary simple cycle of B B B that contains a 1 a_1 a 1 and a 2 a_2 a 2 and is otherwise disjoint from C C C . Then a 1 ′ a'_1 a 1 ′ and a 2 ′ a'_2 a 2 ′ are fixtures of a bridge of C ^ \widehat{C} C that lie on different sides of C ^ \widehat{C} C ; see Figure 8 c. We thus again obtain a contradiction.
Hence the fixtures of two distinct bridges do not alternate inside C C C . Therefore, there exists a bridge B B B whose fixtures appear consecutively inside C C C .
Let B B B be a bridge of I \mathcal{I} I whose fixtures appear consecutively inside C C C . Because ∣ I ∣ ≥ 2 |\mathcal{I}| \ge2 ∣ I ∣ ≥ 2 , we obtain by induction that E \mathcal{E} E induces planar embeddings E 1 , E 2 \mathcal{E}_1,\mathcal{E}_2 E 1 , E 2 of C ∪ B C \cup B C ∪ B and C ∪ ⋃ B ′ ∈ ( I ∖ { B } ) B ′ C \cup\bigcup_{B' \in(\mathcal{I}\setminus\{B\})} B' C ∪ ⋃ B ′ ∈ ( I ∖ { B }) B ′ , respectively. Since the fixtures of B B B are consecutive inside C C C , E \mathcal{E} E places them in a single face of E 2 \mathcal{E}_2 E 2 . Hence E \mathcal{E} E is a planar embedding of G G G .
Lemma 4 (★). Let X X X , A 1 A_1 A 1 , A 2 A_2 A 2 be pairwise disjoint sets with ∣ X ∣ ≥ 1 |X| \ge1 ∣ X ∣ ≥ 1 and ∣ X ∪ A 1 ∣ ≥ 2 |X \cup A_1| \ge2 ∣ X ∪ A 1 ∣ ≥ 2 . Let σ 1 \sigma_1 σ 1 and σ 2 \sigma_2 σ 2 be circular orderings of X ∪ A 1 X \cup A_1 X ∪ A 1 and X ∪ A 2 X \cup A_2 X ∪ A 2 , respectively, and let φ \varphi φ be a direct angle-assignment from A 2 A_2 A 2 to σ 1 \sigma_1 σ 1 . Then there exists at most one circular ordering of X ∪ A 1 ∪ A 2 X \cup A_1 \cup A_2 X ∪ A 1 ∪ A 2 that extends σ 1 \sigma_1 σ 1 and σ 2 \sigma_2 σ 2 and that satisfies φ \varphi φ .
Proof. Let σ 1 , 2 \sigma_{1,2} σ 1 , 2 be a circular ordering of X ∪ A 1 ∪ A 2 X \cup A_1 \cup A_2 X ∪ A 1 ∪ A 2 that extends σ 1 \sigma_1 σ 1 and σ 2 \sigma_2 σ 2 and that satisfies φ \varphi φ . Consider a direct angle α \alpha α of σ 1 \sigma_1 σ 1 that is in the image of φ \varphi φ . Because σ 1 , 2 \sigma_{1,2} σ 1 , 2 satisfies φ \varphi φ , α \alpha α contains precisely the elements of φ − 1 ( α ) \varphi^{-1}(\alpha) φ − 1 ( α ) in σ 1 , 2 \sigma_{1,2} σ 1 , 2 . It is therefore necessary that the elements of φ − 1 ( α ) \varphi^{-1}(\alpha) φ − 1 ( α ) are consecutive in σ 2 \sigma_2 σ 2 . Because ∣ X ∣ ≥ 1 |X| \ge1 ∣ X ∣ ≥ 1 , σ 2 \sigma_2 σ 2 contains at least one element that does not belong to φ − 1 ( α ) \varphi^{-1}(\alpha) φ − 1 ( α ) and thus σ 2 \sigma_2 σ 2 induces a unique linear ordering σ α \sigma_\alpha σ α of the consecutive elements φ − 1 ( α ) \varphi^{-1}(\alpha) φ − 1 ( α ) . Since σ 1 , 2 \sigma_{1,2} σ 1 , 2 extends σ 2 \sigma_2 σ 2 , the elements φ − 1 ( α ) \varphi^{-1}(\alpha) φ − 1 ( α ) appear in the linear order σ α \sigma_\alpha σ α in the angle α \alpha α in σ 1 , 2 \sigma_{1,2} σ 1 , 2 . For each direct angle that is in the image of φ \varphi φ , the order of the elements inside the angle is thus uniquely defined by σ 2 \sigma_2 σ 2 . Hence σ 1 , 2 \sigma_{1,2} σ 1 , 2 is unique.
Lemma 5 (★). Let I = ( G 1 , … , G k ) \mathcal{I} = (G_1, \ldots, G_k) I = ( G 1 , … , G k ) be an instance of S-SEFE. In polynomial time, we can compute a set of equivalent exclusive-connected instances of S-SEFE, where each instance has k k k input graphs and a union graph with vertex integrity in O ( k ⋅ vi ( G ∪ ) ) O(k \cdot\operatorname{vi}(G_{\cup})) O ( k ⋅ vi ( G ∪ )) .
Proof. Note that multiple connected components of G ∪ G_{\cup} G ∪ can be decomposed into independent instances without increasing the vertex integrity. In the following, we thus assume that G ∪ G_{\cup} G ∪ is connected. Consider an edge e = v 1 v 2 e = v_1v_2 e = v 1 v 2 whose endpoints belong to different connected components of G i G_i G i for some i ∈ [ k ] i \in[k] i ∈ [ k ] . Consider the instance I ^ = ( G ^ 1 , … , G ^ k ) \widehat{\mathcal{I}} = (\widehat{G}_1, \ldots, \widehat{G}_k) I = ( G 1 , … , G k ) obtained by introducing a new vertex v v v , adding the edge v v 1 vv_1 v v 1 exclusively to G i G_i G i , and the edge v v 2 vv_2 v v 2 as a shared edge. Note that this decreases the number of connected components of G i G_i G i by one, while the number of connected components in all other graphs is unaffected.
Clearly, any solution of the new instance also induces a solution of I \mathcal{I} I . For the other direction, the proof of Bläsius and Rutter [8 Lemma 1] for k = 2 k = 2 k = 2 input graphs can also be applied verbatim for k ≥ 3 k \ge3 k ≥ 3 ; we only briefly sketch the idea here and refer to their proof for details. Roughly speaking, for a given simultaneous embedding of I \mathcal{I} I , the existence of edge e = v 1 v 2 e = v_1v_2 e = v 1 v 2 in G ∪ G_{\cup} G ∪ implies that v 1 v_1 v 1 and v 2 v_2 v 2 lie on the boundary of a common face of the shared graph. The fact that v 1 v_1 v 1 and v 2 v_2 v 2 belong to different connected components H i 1 H^1_i H i 1 and H i 2 H^2_i H i 2 of G i G_i G i thus allows us to change the embeddings of H i 1 H^1_i H i 1 and H i 2 H^2_i H i 2 such that v 1 v_1 v 1 and v 2 v_2 v 2 subsequently share a face, without changing the embedding of the shared graph (see also Figure 2 in [8 ] ). Hence v v v and its two incident edges v v 1 vv_1 v v 1 and v v 2 vv_2 v v 2 can be embedded into this face. For all other graphs, v v v has degree 1 and its incident edge can therefore be placed at the same position as in G i G_i G i , which yields a simultaneous embedding. Hence the two instances are equivalent. For i ∈ [ k ] i \in[k] i ∈ [ k ] , let K i ⊆ E ( G ∪ ) ∖ E ( G i ) K_i \subseteq E(G_{\cup}) \setminus E(G_i) K i ⊆ E ( G ∪ ) ∖ E ( G i ) be the edges of a spanning tree of the graph obtained from G ∪ G_{\cup} G ∪ by contracting each component of G i G_i G i into a single vertex. Let I ′ = ( G 1 ′ , … , G k ′ ) \mathcal{I}' = (G'_1,\ldots,G'_k) I ′ = ( G 1 ′ , … , G k ′ ) be the instance obtained from I \mathcal{I} I by inserting the gadget described above once for each i ∈ [ k ] i \in[k] i ∈ [ k ] and each e ∈ K i e \in K_i e ∈ K i . Note that, after each gadget-insertion, the remaining tree edges of K i K_i K i still join two different connected components in the i i i -th input graph. Moreover, as the gadget corresponds to a degree-1 vertex in all other input graphs, the connected components of all other graphs are unaffected. Hence I ′ \mathcal{I}' I ′ is exclusive-connected and equivalent to I \mathcal{I} I . Moreover, G ∪ ′ G'_{\cup} G ∪ ′ can be obtained from G ∪ G_{\cup} G ∪ by inserting one or more parallel subdivided copies of each edge in K : = ⋃ i ∈ [ k ] K i K := \bigcup_{i \in[k]} K_i K := ⋃ i ∈ [ k ] K i .
It remains to show that the vertex integrity of I ′ \mathcal{I}' I ′ remains bounded. Let X ⊆ V ( G ∪ ) X \subseteq V(G_{\cup}) X ⊆ V ( G ∪ ) be a witness of vi ( G ∪ ) \operatorname{vi}(G_{\cup}) vi ( G ∪ ) . Let X ′ ⊆ V ( G ∪ ′ ) X' \subseteq V(G'_{\cup}) X ′ ⊆ V ( G ∪ ′ ) be the set of vertices that consists of X X X and all new degree-2 vertices whose neighbors both lie in X X X . We show that X ′ X' X ′ witnesses vi ( G ∪ ′ ) ≤ vi ( G ∪ ) + ( vi ( G ∪ ) − 1 ) ⋅ k \operatorname{vi}(G'_{\cup}) \le\operatorname{vi}(G_{\cup}) + (\operatorname{vi}(G_{\cup}) - 1) \cdot k vi ( G ∪ ′ ) ≤ vi ( G ∪ ) + ( vi ( G ∪ ) − 1 ) ⋅ k .
Let C ′ C' C ′ be a connected component of G ∪ ′ − X ′ G'_{\cup} - X' G ∪ ′ − X ′ . Note that C : = C ′ ∩ V ( G ∪ ) C := C' \cap V(G_{\cup}) C := C ′ ∩ V ( G ∪ ) is a connected component of G ∪ − X G_{\cup} - X G ∪ − X , as the two neighbors of every new vertex are adjacent in G ∪ G_{\cup} G ∪ and every new vertex outside X ′ X' X ′ has a neighbor in V ( G ∪ ) ∖ X V(G_{\cup}) \setminus X V ( G ∪ ) ∖ X . Moreover, G ∪ ′ [ X ′ ∪ C ′ ] G'_{\cup}[X' \cup C'] G ∪ ′ [ X ′ ∪ C ′ ] can be obtained from G ∪ [ X ∪ C ] G_{\cup}[X \cup C] G ∪ [ X ∪ C ] by inserting one or more gadgets for each edge in K ∩ E ( G ∪ [ X ∪ C ] ) K \cap E(G_{\cup}[X \cup C]) K ∩ E ( G ∪ [ X ∪ C ]) and each such insertion decreases the number of connected components in G i [ X ∪ C ] G_i[X \cup C] G i [ X ∪ C ] . Since ∣ X ∪ C ∣ ≤ vi ( G ∪ ) |X \cup C| \le\operatorname{vi}(G_{\cup}) ∣ X ∪ C ∣ ≤ vi ( G ∪ ) , this can happen at most vi ( G ∪ ) − 1 \operatorname{vi}(G_{\cup}) - 1 vi ( G ∪ ) − 1 times for each input graph. Hence ∣ X ′ ∪ C ′ ∣ ≤ vi ( G ∪ ) + k ⋅ ( vi ( G ∪ ) − 1 ) ∈ O ( k ⋅ vi ( G ∪ ) ) |X' \cup C'| \le\operatorname{vi}(G_{\cup}) + k \cdot(\operatorname{vi}(G_{\cup}) - 1) \in O(k \cdot\operatorname{vi}(G_{\cup})) ∣ X ′ ∪ C ′ ∣ ≤ vi ( G ∪ ) + k ⋅ ( vi ( G ∪ ) − 1 ) ∈ O ( k ⋅ vi ( G ∪ )) . If X ′ = V ( G ∪ ′ ) X' = V(G'_{\cup}) X ′ = V ( G ∪ ′ ) , the same argument with C ′ = C = ∅ C' = C = \varnothing C ′ = C = ∅ yields the same upper bound for ∣ X ′ ∣ |X'| ∣ X ′ ∣ alone. Hence vi ( G ∪ ′ ) ∈ O ( k ⋅ vi ( G ∪ ) ) \operatorname{vi}(G'_{\cup}) \in O(k \cdot\operatorname{vi}(G_{\cup})) vi ( G ∪ ′ ) ∈ O ( k ⋅ vi ( G ∪ )) . ◁
B Omitted Proofs from section:vertex-integrity
Lemma 7 (★). Let I \mathcal{I} I be an exclusive-connected instance of S-SEFE on k k k input graphs and let K \mathcal{K} K be a blob-partition of I \mathcal{I} I with an extended modulator X X X and size l l l . Then for every non-empty S ⊆ [ l ] S \subseteq[l] S ⊆ [ l ] , X X X is also extended in K S \mathcal{K}^{S} K S and I S \mathcal{I}^{S} I S is exclusive-connected.
Proof. Since the attachment vertices are the same in K \mathcal{K} K and K S \mathcal{K}^{S} K S , X X X remains extended in K S \mathcal{K}^{S} K S . Let i ∈ [ k ] i \in[k] i ∈ [ k ] and let u , v ∈ V ( G i S ) u,v \in V(G_i^{S}) u , v ∈ V ( G i S ) . Since G i G_i G i is connected, it contains a u v uv uv -path P P P . If P P P visits B j B^j B j for some j ∉ S j \notin S j ∈ / S , observe that we can reroute the corresponding part of P P P through an arbitrary other blob B j ′ B^{j'} B j ′ for j ′ ∈ S j' \in S j ′ ∈ S using κ j → j ′ \kappa^{j \to j'} κ j → j ′ . Since S ≠ ∅ S \ne\varnothing S = ∅ , we thus also find a u v uv uv -path in G i S G_i^{S} G i S . Hence G i S G_i^{S} G i S is connected for each i ∈ [ k ] i \in[k] i ∈ [ k ] and thus I S \mathcal{I}^{S} I S is exclusive-connected. ◁
Lemma 10 (★). Let I \mathcal{I} I be an exclusive-connected instance of S-SEFE. Let I r \mathcal{I}_r I r be an instance that is reduced with respect to I \mathcal{I} I . Then I \mathcal{I} I is a yes-instance if and only if I r \mathcal{I}_r I r is.
Proof. Since I r \mathcal{I}_r I r is a subinstance of I \mathcal{I} I , any solution of I \mathcal{I} I also induces a solution of I r \mathcal{I}_r I r .
Conversely, let E ∪ \mathcal{E}_{\cup} E ∪ be a simultaneous embedding of I r \mathcal{I}_r I r . Since I r \mathcal{I}_r I r is reduced with respect to I \mathcal{I} I , it is an exclusive-connected subinstance of I \mathcal{I} I and there exists a blob-partition K = ( X ∪ B 1 ∪ ⋯ ∪ B l , ( κ j 1 → j 2 ) j 1 , j 2 ∈ [ l ] ) \mathcal{K} = (X \cup B^1 \cup\cdots\cup B^l,(\kappa^{j_1 \to j_2})_{j_1,j_2 \in[l]}) K = ( X ∪ B 1 ∪ ⋯ ∪ B l , ( κ j 1 → j 2 ) j 1 , j 2 ∈ [ l ] ) of I r \mathcal{I}_r I r that satisfies Properties 1–3 of Definition 9.
▷ Claim 19. There exists a subset S ⊆ [ l ] S \subseteq[l] S ⊆ [ l ] of size ∣ X ∣ + 3 |X| + 3 ∣ X ∣ + 3 such that E ∪ S \mathcal{E}_{\cup}^{S} E ∪ S is 2-consistent with respect to K S \mathcal{K}^{S} K S .
Proof. Recall that all blobs of K \mathcal{K} K have the same size and thus the number of possible simultaneous rotation systems of G ∪ [ X ∪ B 1 ∪ B 2 ] G_{\cup}[X \cup B^1 \cup B^2] G ∪ [ X ∪ B 1 ∪ B 2 ] is at most g ( ∣ X ∪ B 1 ∪ B 2 ∣ , k ) = g ( ∣ X ∣ + 2 ∣ B 1 ∣ , k ) g(|X \cup B^1 \cup B^2|,k) = g(|X| + 2|B^1|,k) g ( ∣ X ∪ B 1 ∪ B 2 ∣ , k ) = g ( ∣ X ∣ + 2∣ B 1 ∣ , k ) . Consider the complete graph K l K_l K l on l l l vertices that correspond to the blobs of K \mathcal{K} K . For all j 1 < j 2 ∈ [ l ] j_1 < j_2 \in[l] j 1 < j 2 ∈ [ l ] , color the edge between B j 1 B^{j_1} B j 1 and B j 2 B^{j_2} B j 2 with κ ( j 1 , j 2 ) → ( 1 , 2 ) ( E ∪ { j 1 , j 2 } ) \kappa^{(j_1,j_2)\to(1,2)}(\mathcal{E}_{\cup}^{\{j_1,j_2\}}) κ ( j 1 , j 2 ) → ( 1 , 2 ) ( E ∪ { j 1 , j 2 } ) . As argued above, this yields at most g ( ∣ X ∣ + 2 ∣ B 1 ∣ , k ) g(|X| + 2|B^1|, k) g ( ∣ X ∣ + 2∣ B 1 ∣ , k ) colors. Since l ≥ R ( ∣ X ∣ + 3 , g ( ∣ X ∣ + 2 ∣ B 1 ∣ , k ) ) l \ge R(|X| + 3, g(|X| + 2|B^1|, k)) l ≥ R ( ∣ X ∣ + 3 , g ( ∣ X ∣ + 2∣ B 1 ∣ , k )) , we find a monochromatic clique S S S of size ∣ X ∣ + 3 |X| + 3 ∣ X ∣ + 3 in K l K_l K l . For all i ∈ [ k ] i \in[k] i ∈ [ k ] and all a 1 < a 2 ∈ S a_1 < a_2 \in S a 1 < a 2 ∈ S , b 1 < b 2 ∈ S b_1 < b_2 \in S b 1 < b 2 ∈ S , we thus have κ ( a 1 , a 2 ) → ( 1 , 2 ) ( E ∪ { a 1 , a 2 } ) = κ ( b 1 , b 2 ) → ( 1 , 2 ) ( E ∪ { b 1 , b 2 } ) \kappa^{(a_1,a_2)\to(1,2)}(\mathcal{E}^{\{a_1,a_2\}}_{\cup}) = \kappa^{(b_1,b_2)\to(1,2)}(\mathcal{E}^{\{b_1,b_2\}}_{\cup}) κ ( a 1 , a 2 ) → ( 1 , 2 ) ( E ∪ { a 1 , a 2 } ) = κ ( b 1 , b 2 ) → ( 1 , 2 ) ( E ∪ { b 1 , b 2 } ) and thus E ∪ { a 1 , a 2 } = κ ( b 1 , b 2 ) → ( a 1 , a 2 ) ( E ∪ { b 1 , b 2 } ) \mathcal{E}^{\{a_1,a_2\}}_{\cup} = \kappa^{(b_1,b_2)\to(a_1,a_2)}(\mathcal{E}^{\{b_1,b_2\}}_{\cup}) E ∪ { a 1 , a 2 } = κ ( b 1 , b 2 ) → ( a 1 , a 2 ) ( E ∪ { b 1 , b 2 } ) . Hence E ∪ S \mathcal{E}^S_{\cup} E ∪ S is 2-consistent with respect to K S K^S K S .
By order-preservingly renaming the blobs of K K K , we can assume without loss of generality that E ∪ [ ∣ X ∣ + 3 ] \mathcal{E}^{[|X|+3]}_{\cup} E ∪ [ ∣ X ∣ + 3 ] is 2-consistent with respect to K [ ∣ X ∣ + 3 ] K^{[|X|+3]} K [ ∣ X ∣ + 3 ] . By Property 3, there exists a t ∈ N t \in\mathbb{N} t ∈ N such that the instance I s : = I r + t \mathcal{I}_s := \mathcal{I}_{r+t} I s := I r + t is simultaneously isomorphic to a superinstance of I \mathcal{I} I . After renaming the vertices of I s \mathcal{I}_s I s accordingly, we can assume that I s \mathcal{I}_s I s is a superinstance of I \mathcal{I} I . Let K ′ : = K r + t K' := K^{r+t} K ′ := K r + t be the corresponding blob-partition of I s \mathcal{I}_s I s . Recall that I r \mathcal{I}_r I r is exclusive-connected and the modulator X X X of K K K is extended. Observe that adding additional blobs retains both properties and thus I s \mathcal{I}_s I s is exclusive-connected and X X X is also extended in K ′ K' K ′ .
Claim 19. Let ∣ X ∣ + 3 ≤ m ≤ l + t |X| + 3 \le m \le l + t ∣ X ∣ + 3 ≤ m ≤ l + t . Then I s [ m ] \mathcal{I}_s^{[m]} I s [ m ] admits a simultaneous embedding that is 2-consistent with respect to K ′ [ m ] K'^{[m]} K ′ [ m ] .
Proof. For m = ∣ X ∣ + 3 m = |X| + 3 m = ∣ X ∣ + 3 , we have K ′ [ m ] = K [ ∣ X ∣ + 3 ] K'^{[m]} = K^{[|X|+3]} K ′ [ m ] = K [ ∣ X ∣ + 3 ] and thus the statement holds as argued above. Let m > ∣ X ∣ + 3 m > |X| + 3 m > ∣ X ∣ + 3 . By induction, the instance I s [ m − 1 ] \mathcal{I}_s^{[m-1]} I s [ m − 1 ] admits a simultaneous embedding E ~ ∪ \widetilde{\mathcal{E}}_{\cup} E ∪ that is 2-consistent with respect to K ′ [ m − 1 ] K'^{[m-1]} K ′ [ m − 1 ] . By Lemma 7, I s [ m ] \mathcal{I}_s^{[m]} I s [ m ] is exclusive-connected and X X X is extended in K ′ [ m ] K'^{[m]} K ′ [ m ] . We can thus apply Lemma 8 and obtain the desired simultaneous embedding of I s [ m ] \mathcal{I}_s^{[m]} I s [ m ] that is 2-consistent with respect to K ′ [ m ] K'^{[m]} K ′ [ m ] .
Hence the instance I s = I s [ l + t ] \mathcal{I}_s = \mathcal{I}_s^{[l+t]} I s = I s [ l + t ] admits a simultaneous embedding and is therefore a yes-instance. Since I \mathcal{I} I is a subinstance of I s \mathcal{I}_s I s , the same holds for I \mathcal{I} I , which concludes the proof.
Lemma 11 (★). There is an algorithm that takes as input an exclusive-connected instance I = ( G 1 , … , G k ) \mathcal{I} = (G_1,\ldots,G_k) I = ( G 1 , … , G k ) of S-SEFE and computes an instance of size at most f ( vi ( G ∪ ) , k ) f(\operatorname{vi}(G_{\cup}), k) f ( vi ( G ∪ ) , k ) that is reduced with respect to I \mathcal{I} I in time f ( vi ( G ∪ ) , k ) ⋅ ∣ V ( G ∪ ) ∣ O ( 1 ) f(\operatorname{vi}(G_{\cup}), k)\cdot|V(G_{\cup})|^{O(1)} f ( vi ( G ∪ ) , k ) ⋅ ∣ V ( G ∪ ) ∣ O ( 1 ) with f ( vi ( G ∪ ) , k ) ∈ 2 ↑ ↑ O ( vi ( G ∪ ) 2 ⋅ ( k + 2 ) vi ( G ∪ ) 2 + 1 ) f(\operatorname{vi}(G_{\cup}), k) \in2 \mathord{\uparrow\mathord{\uparrow}} O(\operatorname{vi}(G_{\cup})^2\cdot(k+2)^{\operatorname{vi}(G_{\cup})^2+1}) f ( vi ( G ∪ ) , k ) ∈ 2 ↑ ↑ O ( vi ( G ∪ ) 2 ⋅ ( k + 2 ) vi ( G ∪ ) 2 + 1 ) .
Proof. Let S ⊆ V ( G ∪ ) S \subseteq V(G_{\cup}) S ⊆ V ( G ∪ ) be a witness of vi ( G ∪ ) = : ψ \operatorname{vi}(G_{\cup}) =: \psi vi ( G ∪ ) =: ψ and let C \mathcal{C} C be the set of connected components of G ∪ − S G_{\cup}-S G ∪ − S . Let ∼ \sim ∼ denote the equivalence relation on C \mathcal{C} C where two connected components C 1 , C 2 ∈ C C_1,C_2 \in\mathcal{C} C 1 , C 2 ∈ C are equivalent if there exists an S S S -preserving simultaneous isomorphism between G ∪ [ S ∪ C 1 ] G_{\cup}[S \cup C_1] G ∪ [ S ∪ C 1 ] and G ∪ [ S ∪ C 2 ] G_{\cup}[S \cup C_2] G ∪ [ S ∪ C 2 ] . Recall that we have ∣ S ∪ C ∣ ≤ ψ |S \cup C| \le\psi ∣ S ∪ C ∣ ≤ ψ for each C ∈ C C \in\mathcal{C} C ∈ C .
Consider instances of S-SEFE that contain S S S and a total of at most ψ \psi ψ vertices. Observe that there are at most ψ ⋅ ( k + 2 ) ψ 2 \psi\cdot(k+2)^{\psi^2} ψ ⋅ ( k + 2 ) ψ 2 distinct instances of S-SEFE (up to S S S -preserving simultaneous isomorphism), as every pair of vertices is either a non-edge, a shared edge, or an edge in exactly one of the k k k input graphs. Thus, we can upper-bound the number of equivalence classes of ∼ \sim ∼ by h ( ψ , k ) = ψ ⋅ ( k + 2 ) ψ 2 h(\psi,k) = \psi\cdot(k+2)^{\psi^2} h ( ψ , k ) = ψ ⋅ ( k + 2 ) ψ 2 .
We now employ the following strategy; see also fig:4b . To obtain a suitable blob-partition of a reduced instance, our goal is to form blobs which consist of precisely one copy of each equivalence class. Since the blob-partition must have an extended modulator, we will first add one copy of each equivalence class to S S S . As we also need a sufficient number of blobs, we then remove equivalence classes of insufficient size by adding them to the modulator. As this increases the size of the modulator and thus also of the required number of blobs, we have to repeat this step until all remaining equivalence classes are sufficiently large (or until all of them are part of the modulator, in which case the entire graph has bounded size).
We first fix a function u ( x , k ) u(x,k) u ( x , k ) that upper-bounds R ( x + 3 , g ( 3 x , k ) ) R(x+3,g(3x,k)) R ( x + 3 , g ( 3 x , k )) . It is known that R ( a , b ) ≤ b a b R(a,b) \le b^{ab} R ( a , b ) ≤ b ab [5 ] and observe that g ( n , k ) g(n,k) g ( n , k ) is trivially upper-bounded by ( n ! ) n k ≤ n n 2 k (n!)^{nk} \le n^{n^2k} ( n ! ) nk ≤ n n 2 k . We thus choose u ( x , k ) : = ( 3 x ) ( 3 x ) 2 ⋅ k ⋅ ( x + 3 ) ⋅ ( 3 x ) ( 3 x ) 2 ⋅ k ≥ R ( x + 3 , g ( 3 x , k ) ) u(x,k) := (3x)^{(3x)^2 \cdot k \cdot(x+3) \cdot(3x)^{(3x)^2 \cdot k} } \ge R(x+3,g(3x,k)) u ( x , k ) := ( 3 x ) ( 3 x ) 2 ⋅ k ⋅ ( x + 3 ) ⋅ ( 3 x ) ( 3 x ) 2 ⋅ k ≥ R ( x + 3 , g ( 3 x , k )) . Let K ⊆ C K \subseteq\mathcal{C} K ⊆ C contain precisely one representative of each equivalence class. Let S ′ = S ∪ ⋃ C ∈ K C S' = S \cup\bigcup_{C \in K} C S ′ = S ∪ ⋃ C ∈ K C and C ′ = C ∖ K \mathcal{C}' = \mathcal{C} \setminus K C ′ = C ∖ K . We now inductively define sets X i X_i X i and C i \mathcal{C}_i C i for all i ∈ N i \in\mathbb{N} i ∈ N as follows. For i = 0 i = 0 i = 0 , we set X 0 : = S ′ X_0 := S' X 0 := S ′ and C 0 = C ′ \mathcal{C}_0 = \mathcal{C}' C 0 = C ′ . For i > 0 i > 0 i > 0 , let l i : = u ( ∣ X i − 1 ∣ , k ) l_i := u(|X_{i-1}|, k) l i := u ( ∣ X i − 1 ∣ , k ) . If there exists an equivalence class [ C ] ∈ C i − 1 / ∼ [C] \in\mathcal{C}_{i-1}/\sim [ C ] ∈ C i − 1 / ∼ with ∣ [ C ] ∣ < l i |[C]| < l_i ∣ [ C ] ∣ < l i , we set X i : = X i − 1 ∪ ⋃ C ′ ∈ [ C ] C ′ X_i := X_{i-1} \cup\bigcup_{C' \in[C]} C' X i := X i − 1 ∪ ⋃ C ′ ∈ [ C ] C ′ and C i = C i − 1 ∖ [ C ] \mathcal{C}_i = \mathcal{C}_{i-1} \setminus[C] C i = C i − 1 ∖ [ C ] . If no such equivalence class exists, we set X i : = X i − 1 X_i := X_{i-1} X i := X i − 1 and C i : = C i − 1 \mathcal{C}_i := \mathcal{C}_{i-1} C i := C i − 1 .
Once the latter case occurs, observe that all subsequent steps also leave the two sets unchanged. Since we have at most h ( ψ , k ) h(\psi, k) h ( ψ , k ) equivalence classes, this process converges after at most h ( ψ , k ) h(\psi, k) h ( ψ , k ) steps and thus for m = h ( ψ , k ) + 1 m = h(\psi, k) + 1 m = h ( ψ , k ) + 1 , we have X m = X m − 1 X_m = X_{m-1} X m = X m − 1 and every equivalence class of C m / ∼ \mathcal{C}_m/\sim C m / ∼ has size at least l m = u ( ∣ X m ∣ , k ) l_m = u(|X_m|, k) l m = u ( ∣ X m ∣ , k ) .
Let K = ( X m ∪ ˙ B 1 ∪ ˙ … ∪ ˙ B l m , ( κ j 1 → j 2 ) j 1 , j 2 ∈ [ l m ] ) \mathcal{K} = (X_m \mathbin{\dot\cup} B^1 \mathbin{\dot\cup} \ldots\mathbin{\dot\cup} B^{l_m}, (\kappa^{j_1 \to j_2})_{j_1,j_2 \in[l_m]}) K = ( X m ∪ ˙ B 1 ∪ ˙ … ∪ ˙ B l m , ( κ j 1 → j 2 ) j 1 , j 2 ∈ [ l m ] ) be the blob-partition of a subinstance I r : = ( G 1 ′ , … , G k ′ ) \mathcal{I}_r := (G'_1, \ldots, G'_{k}) I r := ( G 1 ′ , … , G k ′ ) of I \mathcal{I} I consisting of l m l_m l m blobs, each of which contains precisely one copy of each equivalence class of C m / ∼ \mathcal{C}_m/\sim C m / ∼ . For the isomorphisms ( κ j 1 → j 2 ) j 1 , j 2 ∈ [ l m ] (\kappa^{j_1 \to j_2})_{j_1,j_2 \in[l_m]} ( κ j 1 → j 2 ) j 1 , j 2 ∈ [ l m ] of K \mathcal{K} K , note that the S S S -preserving simultaneous isomorphisms for equivalent components of G ∪ − S G_{\cup} - S G ∪ − S can be extended to X m X_m X m -preserving simultaneous isomorphisms for equivalent components of G ∪ − X m G_{\cup} - X_m G ∪ − X m . These can in turn be combined to X m X_m X m -preserving simultaneous isomorphisms for the blobs. To ensure their consistency, first fix an isomorphism κ 1 → j \kappa^{1 \to j} κ 1 → j for all j ∈ [ l m ] j \in[l_m] j ∈ [ l m ] (where κ 1 → 1 \kappa^{1 \to1} κ 1 → 1 is the identity) and set κ j 1 → j 2 : = κ 1 → j 2 ∘ ( κ 1 → j 1 ) − 1 \kappa^{j_1 \to j_2} := \kappa^{1 \to j_2} \circ(\kappa^{1 \to j_1})^{-1} κ j 1 → j 2 := κ 1 → j 2 ∘ ( κ 1 → j 1 ) − 1 . This way, K \mathcal{K} K is indeed a blob-partition. Our next goal is to show that I r \mathcal{I}_r I r is reduced with respect to I \mathcal{I} I by verifying the requirements of Definition 9.
We first show that I r \mathcal{I}_r I r remains exclusive-connected using a similar argument as the proof of Lemma 7. Let i ∈ [ k ] i \in[k] i ∈ [ k ] and u , v ∈ V ( G i ′ ) u, v \in V(G'_i) u , v ∈ V ( G i ′ ) . Because G i G_i G i is connected, there exists a u v uv uv -path P P P in G i G_i G i . Assume that P P P contains vertices of a connected component C ∈ C m ⊆ C C \in\mathcal{C}_m \subseteq\mathcal{C} C ∈ C m ⊆ C that is not part of I r \mathcal{I}_r I r . Consider a maximal subpath P ′ P' P ′ of P P P whose internal vertices all belong to C C C . Since the endpoints of P P P are not contained in C C C , N G i ( C ) ⊆ S N_{G_i}(C) \subseteq S N G i ( C ) ⊆ S implies that the endpoints of P ′ P' P ′ both lie in S S S . There exists an equivalent connected component C ′ ∼ C C' \sim C C ′ ∼ C of C / ∼ \mathcal{C}/\sim C / ∼ with C ′ ⊆ S ′ C' \subseteq S' C ′ ⊆ S ′ , because we added one representative of each equivalence class to S ′ S' S ′ . Since C ′ C' C ′ and C C C are equivalent, there is an S S S -preserving isomorphism between G i [ S ∪ C ′ ] G_i[S \cup C'] G i [ S ∪ C ′ ] and G i [ S ∪ C ] G_i[S \cup C] G i [ S ∪ C ] . Because C ′ , S ⊆ S ′ ⊆ X m C', S \subseteq S' \subseteq X_m C ′ , S ⊆ S ′ ⊆ X m , we have S ∪ C ′ ⊆ X m ⊆ V ( G i ′ ) S \cup C' \subseteq X_m \subseteq V(G'_i) S ∪ C ′ ⊆ X m ⊆ V ( G i ′ ) . We can thus reroute P ′ P' P ′ through G i [ X m ] = G i ′ [ X m ] G_i[X_m] = G'_i[X_m] G i [ X m ] = G i ′ [ X m ] . Hence G i ′ G'_i G i ′ is connected.
We now argue that the modulator X m X_m X m of K \mathcal{K} K is extended (Property 1) in a similar fashion. To this end, let i ∈ [ k ] i \in[k] i ∈ [ k ] and consider a vertex v ∈ att i ( K ) ⊆ X m v \in\operatorname{att}_i(\mathcal{K}) \subseteq X_m v ∈ att i ( K ) ⊆ X m . By the definition of att i ( K ) \operatorname{att}_i(\mathcal{K}) att i ( K ) , there exists a neighbor u ∉ X m u \notin X_m u ∈ / X m of v v v in G i ′ G'_i G i ′ . Since S ⊆ X m S \subseteq X_m S ⊆ X m , we also have u ∉ S u \notin S u ∈ / S and thus there exists a connected component C ∈ C C \in\mathcal{C} C ∈ C of G ∪ − S G_{\cup} - S G ∪ − S with u ∈ C u \in C u ∈ C . Since u ∈ C u \in C u ∈ C and v ∈ X m v \in X_m v ∈ X m but u ∉ X m u \notin X_m u ∈ / X m , we have v ∉ C v \notin C v ∈ / C . Because N G i ( C ) ⊆ S N_{G_i}(C) \subseteq S N G i ( C ) ⊆ S , the existence of edge u v uv uv thus implies that v ∉ S v \notin S v ∈ / S . As above, there exists an equivalent connected component C ′ ∼ C C' \sim C C ′ ∼ C with C ′ ⊆ X m C' \subseteq X_m C ′ ⊆ X m . The corresponding S S S -preserving isomorphism between G i [ S ∪ C ′ ] G_i[S \cup C'] G i [ S ∪ C ′ ] and G i [ S ∪ C ] G_i[S \cup C] G i [ S ∪ C ] yields a neighbor u ′ u' u ′ of v v v in G i [ S ∪ C ′ ] G_i[S \cup C'] G i [ S ∪ C ′ ] . Since S ∪ C ′ ⊆ X m S \cup C' \subseteq X_m S ∪ C ′ ⊆ X m , v v v thus has degree at least one in G i ′ [ X m ] = G i [ X m ] G'_i[X_m] = G_i[X_m] G i ′ [ X m ] = G i [ X m ] . Hence X m X_m X m is extended.
Towards showing l m ≥ R ( ∣ X m ∣ + 3 , g ( ∣ X m ∣ + 2 ∣ B 1 ∣ , k ) ) l_m \ge R(|X_m| + 3, g(|X_m| + 2|B^1|, k)) l m ≥ R ( ∣ X m ∣ + 3 , g ( ∣ X m ∣ + 2∣ B 1 ∣ , k )) (Property 2), we now argue ∣ X m ∣ ≥ ∣ B 1 ∣ |X_m| \ge|B^1| ∣ X m ∣ ≥ ∣ B 1 ∣ . Observe that B 1 B^1 B 1 contains at most one copy of every equivalence class of C / ∼ \mathcal{C}/\sim C / ∼ (since C m / ∼ ⊆ C / ∼ \mathcal{C}_m/\sim\subseteq\mathcal{C}/\sim C m / ∼⊆ C / ∼ ). Moreover, recall that K \mathcal{K} K contains one copy of every equivalence class of C / ∼ \mathcal{C}/\sim C / ∼ and K ⊆ S ′ \mathcal{K} \subseteq S' K ⊆ S ′ . Finally, recall that S ′ ⊆ X m S' \subseteq X_m S ′ ⊆ X m , which implies ∣ X m ∣ ≥ ∣ B 1 ∣ |X_m| \ge|B^1| ∣ X m ∣ ≥ ∣ B 1 ∣ . Thus l m = u ( ∣ X m ∣ , k ) ≥ R ( ∣ X m ∣ + 3 , g ( 3 ∣ X m ∣ , k ) ) ≥ R ( ∣ X m ∣ + 3 , g ( ∣ X m ∣ + 2 ∣ B 1 ∣ , k ) ) l_m = u(|X_m|, k) \ge R(|X_m| + 3, g(3|X_m|, k)) \ge R(|X_m| + 3, g(|X_m| + 2|B^1|, k)) l m = u ( ∣ X m ∣ , k ) ≥ R ( ∣ X m ∣ + 3 , g ( 3∣ X m ∣ , k )) ≥ R ( ∣ X m ∣ + 3 , g ( ∣ X m ∣ + 2∣ B 1 ∣ , k )) .
Finally, consider Property 3. Let w = max ( { l m } ∪ { ∣ [ C ] ∣ ∣ [ C ] ∈ C m / ∼ } ) w = \max(\{l_m\} \cup\{|[C]| \mid[C] \in\mathcal{C}_m/\sim\}) w = max ({ l m } ∪ { ∣ [ C ] ∣ ∣ [ C ] ∈ C m / ∼ }) and observe w ≥ l m w \ge l_m w ≥ l m . Let t = w − l m t = w - l_m t = w − l m and consider the instance I s = I r + t \mathcal{I}_s = \mathcal{I}_r^{+t} I s = I r + t . Observe that I s \mathcal{I}_s I s contains X m X_m X m and w w w copies of each equivalence class of C m / ∼ \mathcal{C}_m/\sim C m / ∼ . Hence I s \mathcal{I}_s I s is simultaneously isomorphic to a superinstance of I \mathcal{I} I . Therefore, I r \mathcal{I}_r I r is reduced with respect to I \mathcal{I} I .
It remains to establish an upper bound on the size of I r \mathcal{I}_r I r and the running time of the above-presented algorithm.
Claim 19. We have ∣ I r ∣ ∈ 2 ↑ ↑ O ( ψ 2 ⋅ ( k + 2 ) ψ 2 + 1 ) |\mathcal{I}_r| \in2 \mathord{\uparrow\!\uparrow} O(\psi^2 \cdot(k+2)^{\psi^2+1}) ∣ I r ∣ ∈ 2 ↑ ↑ O ( ψ 2 ⋅ ( k + 2 ) ψ 2 + 1 ) .
Proof. We first inductively prove an upper bound for ∣ X i ∣ |X_i| ∣ X i ∣ for all i ∈ N 0 i \in\mathbb{N}_0 i ∈ N 0 . To this end, we first fix corresponding constants. Let exp 2 ( a ) ( b ) = 2 2 ⋯ 2 b \operatorname{exp}_2^{(a)}(b)=2^{2^{\cdots^{2^b}}} exp 2 ( a ) ( b ) = 2 2 ⋯ 2 b denote the a a a -fold concatenation of base-2 exponentiation. Recall that X 0 = S ′ X_0=S' X 0 = S ′ and S ′ S' S ′ is obtained by adding a copy of every equivalence class to S S S . Thus, ∣ X 0 ∣ ≤ ψ + ψ ⋅ h ( ψ , k ) = ψ + ψ 2 ⋅ ( k + 2 ) ψ 2 |X_0| \leq\psi+\psi\cdot h(\psi,k)=\psi+\psi^2\cdot(k+2)^{\psi^2} ∣ X 0 ∣ ≤ ψ + ψ ⋅ h ( ψ , k ) = ψ + ψ 2 ⋅ ( k + 2 ) ψ 2 . This can clearly be upper-bounded by exp 2 ( c 1 ) ( k + ψ ) \operatorname{exp}_2^{(c_1)}(k+\psi) exp 2 ( c 1 ) ( k + ψ ) for a small constant c 1 ∈ N c_1\in\mathbb{N} c 1 ∈ N . Moreover, let c 2 ∈ N c_2\in\mathbb{N} c 2 ∈ N be a small constant such that x + u ( x , k ) ⋅ ψ ≤ exp 2 c 2 ⋅ ( k + ψ ) ( x ) x+u(x,k)\cdot\psi\leq\operatorname{exp}_2^{c_2\cdot(k+\psi)}(x) x + u ( x , k ) ⋅ ψ ≤ exp 2 c 2 ⋅ ( k + ψ ) ( x ) . Recall that u u u is at most triple exponential in x x x and k k k and thus such a constant clearly exists.
We now show inductively that ∣ X i ∣ ≤ exp 2 ( i ⋅ c 2 + c 1 ) ⋅ ( k + ψ ) ( k + ψ ) |X_i|\leq\operatorname{exp}_2^{(i\cdot c_2+c_1)\cdot(k+\psi)}(k+\psi) ∣ X i ∣ ≤ exp 2 ( i ⋅ c 2 + c 1 ) ⋅ ( k + ψ ) ( k + ψ ) . By the choice of c 1 c_1 c 1 , this holds for i = 0 i=0 i = 0 . For i > 0 i>0 i > 0 , recall that we either have X i = X i − 1 X_i=X_{i-1} X i = X i − 1 or X i X_i X i is obtained from X i − 1 X_{i-1} X i − 1 by adding all connected components of an equivalence class of size smaller than l i = u ( ∣ X i − 1 ∣ , k ) l_i=u(|X_{i-1}|,k) l i = u ( ∣ X i − 1 ∣ , k ) . Since each such connected component has size at most ψ \psi ψ , we have ∣ X i ∣ ≤ ∣ X i − 1 ∣ + u ( ∣ X i − 1 ∣ , k ) ⋅ ψ |X_i|\leq|X_{i-1}|+u(|X_{i-1}|,k)\cdot\psi ∣ X i ∣ ≤ ∣ X i − 1 ∣ + u ( ∣ X i − 1 ∣ , k ) ⋅ ψ . By the choice of c 2 c_2 c 2 , we have
∣ X i ∣ ≤ ∣ X i − 1 ∣ + u ( ∣ X i − 1 ∣ , k ) ⋅ ψ ≤ exp 2 c 2 ⋅ ( k + ψ ) ( ∣ X i − 1 ∣ ) ≤ exp 2 c 2 ⋅ ( k + ψ ) ( exp 2 ( ( i − 1 ) ⋅ c 2 + c 1 ) ⋅ ( k + ψ ) ( k + ψ ) ) = exp 2 ( c 2 + ( i − 1 ) ⋅ c 2 + c 1 ) ⋅ ( k + ψ ) ( k + ψ ) ≤ exp 2 ( i ⋅ c 2 + c 1 ) ⋅ ( k + ψ ) ( k + ψ ) \begin{aligned}
|X_i|&\leq|X_{i-1}|+u(|X_{i-1}|,k)\cdot\psi\\
&\leq\operatorname{exp}_2^{c_2\cdot(k+\psi)}(|X_{i-1}|)\\
&\leq\operatorname{exp}_2^{c_2\cdot(k+\psi)}\left(\operatorname{exp}_2^{((i-1)\cdot c_2+c_1)\cdot(k+\psi)}(k+\psi)\right)\\
&=\operatorname{exp}_2^{(c_2+(i-1)\cdot c_2+c_1)\cdot(k+\psi)}(k+\psi)\\
&\leq\operatorname{exp}_2^{(i\cdot c_2+c_1)\cdot(k+\psi)}(k+\psi)
\end{aligned} ∣ X i ∣ ≤ ∣ X i − 1 ∣ + u ( ∣ X i − 1 ∣ , k ) ⋅ ψ ≤ exp 2 c 2 ⋅ ( k + ψ ) ( ∣ X i − 1 ∣ ) ≤ exp 2 c 2 ⋅ ( k + ψ ) ( exp 2 (( i − 1 ) ⋅ c 2 + c 1 ) ⋅ ( k + ψ ) ( k + ψ ) ) = exp 2 ( c 2 + ( i − 1 ) ⋅ c 2 + c 1 ) ⋅ ( k + ψ ) ( k + ψ ) ≤ exp 2 ( i ⋅ c 2 + c 1 ) ⋅ ( k + ψ ) ( k + ψ ) Recall that l i = u ( ∣ X i − 1 ∣ , k ) l_i=u(|X_{i-1}|,k) l i = u ( ∣ X i − 1 ∣ , k ) . Hence also l i ≤ exp 2 c 2 ⋅ ( k + ψ ) ( ∣ X i − 1 ∣ ) l_i\leq\operatorname{exp}_2^{c_2\cdot(k+\psi)}(|X_{i-1}|) l i ≤ exp 2 c 2 ⋅ ( k + ψ ) ( ∣ X i − 1 ∣ ) . We thus analogously obtain l i ≤ exp 2 ( i ⋅ c 2 + c 1 ) ⋅ ( k + ψ ) ( k + ψ ) l_i\leq\operatorname{exp}_2^{(i\cdot c_2+c_1)\cdot(k+\psi)}(k+\psi) l i ≤ exp 2 ( i ⋅ c 2 + c 1 ) ⋅ ( k + ψ ) ( k + ψ ) . Hence ∣ X m ∣ , l m ∈ exp 2 O ( m ⋅ ( k + ψ ) ) ( k + ψ ) |X_m|,l_m\in\operatorname{exp}_2^{O(m\cdot(k+\psi))}(k+\psi) ∣ X m ∣ , l m ∈ exp 2 O ( m ⋅ ( k + ψ )) ( k + ψ ) .
We are now ready to bound ∣ I r ∣ |\mathcal{I}_r| ∣ I r ∣ . Observe that ∣ I r ∣ = ∣ X m ∣ + ∣ B 1 ∣ + ⋯ + ∣ B l m ∣ = ∣ X m ∣ + l m ⋅ ∣ B 1 ∣ |\mathcal{I}_r|=|X_m|+|B^1|+\cdots+|B^{l_m}|=|X_m|+l_m\cdot|B^1| ∣ I r ∣ = ∣ X m ∣ + ∣ B 1 ∣ + ⋯ + ∣ B l m ∣ = ∣ X m ∣ + l m ⋅ ∣ B 1 ∣ . Recall from above that ∣ B 1 ∣ ≤ ∣ X m ∣ |B^1|\leq|X_m| ∣ B 1 ∣ ≤ ∣ X m ∣ and thus ∣ I r ∣ ≤ ∣ X m ∣ ⋅ ( l m + 1 ) |\mathcal{I}_r|\leq|X_m|\cdot(l_m+1) ∣ I r ∣ ≤ ∣ X m ∣ ⋅ ( l m + 1 ) . Using the computed bounds and the fact that the product only adds a constant number of levels in the tower of exponentials, we also obtain ∣ I r ∣ ∈ exp 2 O ( m ⋅ ( k + ψ ) ) ( k + ψ ) |\mathcal{I}_r|\in\operatorname{exp}_2^{O(m\cdot(k+\psi))}(k+\psi) ∣ I r ∣ ∈ exp 2 O ( m ⋅ ( k + ψ )) ( k + ψ ) . Since m = h ( ψ , k ) + 1 = ψ ⋅ ( k + 2 ) ψ 2 + 1 m=h(\psi,k)+1=\psi\cdot(k+2)^{\psi^2}+1 m = h ( ψ , k ) + 1 = ψ ⋅ ( k + 2 ) ψ 2 + 1 , we thus have ∣ I r ∣ ∈ exp 2 O ( ψ 2 ⋅ ( k + 2 ) ψ 2 + 1 ) ( k + ψ ) |\mathcal{I}_r|\in\operatorname{exp}_2^{O(\psi^2\cdot(k+2)^{\psi^2+1})}(k+\psi) ∣ I r ∣ ∈ exp 2 O ( ψ 2 ⋅ ( k + 2 ) ψ 2 + 1 ) ( k + ψ ) . This is upper-bounded by 2 ↑ ↑ O ( ψ 2 ⋅ ( k + 2 ) ψ 2 + 1 ) 2\mathord{\uparrow\!\uparrow}O(\psi^2\cdot(k+2)^{\psi^2+1}) 2 ↑ ↑ O ( ψ 2 ⋅ ( k + 2 ) ψ 2 + 1 ) , which gives the desired bound. ◁
Note that the algorithm described above also computes I r \mathcal{I}_r I r in time 2 ↑ ↑ O ( ψ 2 ⋅ ( k + 2 ) ψ 2 + 1 ) ⋅ ∣ V ( G ∪ ) ∣ O ( 1 ) 2\mathord{\uparrow\!\uparrow}O(\psi^2\cdot(k+2)^{\psi^2+1})\cdot|V(G_{\cup})|^{O(1)} 2 ↑ ↑ O ( ψ 2 ⋅ ( k + 2 ) ψ 2 + 1 ) ⋅ ∣ V ( G ∪ ) ∣ O ( 1 ) . This includes computing the witness S S S of vi ( G ∪ ) \operatorname{vi}(G_{\cup}) vi ( G ∪ ) , which can be done in O ( ψ ψ + 1 ⋅ ∣ V ( G ∪ ) ∣ ) O(\psi^{\psi+1}\cdot|V(G_{\cup})|) O ( ψ ψ + 1 ⋅ ∣ V ( G ∪ ) ∣ ) time [16 ] , and computing the equivalence classes of ∼ \sim ∼ .
Lemma 12 (★). Let I = ( G 1 , … , G k ) \mathcal{I}=(G_1,\ldots,G_k) I = ( G 1 , … , G k ) be an exclusive-connected instance of S-SEFE. Let K \mathcal{K} K be a blob-partition of size l ≥ 3 l\geq3 l ≥ 3 of I \mathcal{I} I whose modulator is extended and let E ∪ \mathcal{E}_{\cup} E ∪ be a simultaneous rotation system of I \mathcal{I} I . Then E ∪ \mathcal{E}_{\cup} E ∪ is 2-consistent with respect to K \mathcal{K} K if and only if
E ∪ \mathcal{E}_{\cup} E ∪ is 1-consistent with respect to K \mathcal{K} K ,
E ∪ [ l − 1 ] \mathcal{E}_{\cup}^{[l-1]} E ∪ [ l − 1 ] is 2-consistent with respect to K [ l − 1 ] \mathcal{K}^{[l-1]} K [ l − 1 ] , and
for all i ∈ [ k ] i\in[k] i ∈ [ k ] and each x ∈ att i ( K ) x\in\operatorname{att}_i(\mathcal{K}) x ∈ att i ( K ) , E i ( x ) \mathcal{E}_i(x) E i ( x ) satisfies the angle-assignments φ i , x l → 1 , … , φ i , x l → l − 1 \varphi_{i,x}^{l\to1},\ldots,\varphi_{i,x}^{l\to l-1} φ i , x l → 1 , … , φ i , x l → l − 1 .
Proof. ( ⇒ ) (\Rightarrow) ( ⇒ ) : Assume E ∪ \mathcal{E}_{\cup} E ∪ is 2-consistent with respect to K \mathcal{K} K . We first show 1-consistency, i.e., E i { j } = κ 1 → j ( E i { 1 } ) \mathcal{E}_i^{\{j\}}=\kappa^{1\to j}(\mathcal{E}_i^{\{1\}}) E i { j } = κ 1 → j ( E i { 1 } ) for all j ∈ [ l ] j\in[l] j ∈ [ l ] . For j = 1 j=1 j = 1 , the statement holds trivially. For j > 1 j>1 j > 1 , we have E i { 1 , j } = κ ( 1 , 2 ) → ( 1 , j ) ( E i { 1 , 2 } ) \mathcal{E}_i^{\{1,j\}}=\kappa^{(1,2)\to(1,j)}(\mathcal{E}_i^{\{1,2\}}) E i { 1 , j } = κ ( 1 , 2 ) → ( 1 , j ) ( E i { 1 , 2 } ) by 2-consistency and we thus get E i { j } = κ 2 → j ( E i { 2 } ) \mathcal{E}_i^{\{j\}}=\kappa^{2\to j}(\mathcal{E}_i^{\{2\}}) E i { j } = κ 2 → j ( E i { 2 } ) . Because l ≥ 3 l\geq3 l ≥ 3 , we also have E i { 2 , 3 } = κ ( 1 , 2 ) → ( 2 , 3 ) ( E i { 1 , 2 } ) \mathcal{E}_i^{\{2,3\}}=\kappa^{(1,2)\to(2,3)}(\mathcal{E}_i^{\{1,2\}}) E i { 2 , 3 } = κ ( 1 , 2 ) → ( 2 , 3 ) ( E i { 1 , 2 } ) and thus E i { 2 } = κ 1 → 2 ( E i { 1 } ) \mathcal{E}_i^{\{2\}}=\kappa^{1\to2}(\mathcal{E}_i^{\{1\}}) E i { 2 } = κ 1 → 2 ( E i { 1 } ) . Hence E ∪ \mathcal{E}_{\cup} E ∪ is also 1-consistent with respect to K \mathcal{K} K .
Because E ∪ \mathcal{E}_{\cup} E ∪ is 2-consistent with respect to K \mathcal{K} K , E ∪ [ l − 1 ] \mathcal{E}_{\cup}^{[l-1]} E ∪ [ l − 1 ] is 2-consistent with respect to K [ l − 1 ] \mathcal{K}^{[l-1]} K [ l − 1 ] by definition. Moreover, we have for all j ∈ [ l − 1 ] j \in[l-1] j ∈ [ l − 1 ] and all x ∈ atti ( K ) x \in\operatorname{atti}(\mathcal{K}) x ∈ atti ( K ) that E i { j , l } ( x ) = κ ( 1 , 2 ) → ( j , l ) ( E i { 1 , 2 } ( x ) ) \mathcal{E}_{i}^{\{j,l\}}(x) = \kappa^{(1,2)\to(j,l)}(\mathcal{E}_{i}^{\{1,2\}}(x)) E i { j , l } ( x ) = κ ( 1 , 2 ) → ( j , l ) ( E i { 1 , 2 } ( x )) . Hence the two rotations coincide under κ ( 1 , 2 ) → ( j , l ) \kappa^{(1,2)\to(j,l)} κ ( 1 , 2 ) → ( j , l ) . Since E i { 1 , 2 } ( x ) \mathcal{E}_{i}^{\{1,2\}}(x) E i { 1 , 2 } ( x ) satisfies φ ~ i , x 2 → 1 \widetilde{\varphi}_{i,x}^{2\to1} φ i , x 2 → 1 by definition, E i { j , l } ( x ) \mathcal{E}_{i}^{\{j,l\}}(x) E i { j , l } ( x ) thus satisfies φ i , x l → j \varphi_{i,x}^{l\to j} φ i , x l → j , which also coincides with φ ~ i , x 2 → 1 \widetilde{\varphi}_{i,x}^{2\to1} φ i , x 2 → 1 under κ ( 1 , 2 ) → ( j , l ) \kappa^{(1,2)\to(j,l)} κ ( 1 , 2 ) → ( j , l ) by definition.
( ⇐ ) (\Leftarrow) ( ⇐ ) : Let i ∈ [ k ] i \in[k] i ∈ [ k ] and let 1 ≤ j 1 < j 2 ≤ l 1 \leq j_1 < j_2 \leq l 1 ≤ j 1 < j 2 ≤ l . To show 2-consistency, we show that E i { j 1 , j 2 } ( κ ( 1 , 2 ) → ( j 1 , j 2 ) ( x ) ) = κ ( 1 , 2 ) → ( j 1 , j 2 ) ( E i { 1 , 2 } ( x ) ) \mathcal{E}_{i}^{\{j_1,j_2\}}(\kappa^{(1,2)\to(j_1,j_2)}(x)) = \kappa^{(1,2)\to(j_1,j_2)}(\mathcal{E}_{i}^{\{1,2\}}(x)) E i { j 1 , j 2 } ( κ ( 1 , 2 ) → ( j 1 , j 2 ) ( x )) = κ ( 1 , 2 ) → ( j 1 , j 2 ) ( E i { 1 , 2 } ( x )) for all x ∈ V ( G i { 1 , 2 } ) x \in V(G_i^{\{1,2\}}) x ∈ V ( G i { 1 , 2 } ) .
If x ∈ B 1 ∪ ( X ∖ atti ( K ) ) x \in B^1 \cup(X \setminus\operatorname{atti}(\mathcal{K})) x ∈ B 1 ∪ ( X ∖ atti ( K )) , all edges incident to x x x in G i G_i G i belong to G { 1 } G^{\{1\}} G { 1 } and all edges incident to κ 1 → j 1 ( x ) \kappa^{1\to j_1}(x) κ 1 → j 1 ( x ) belong to G i { j 1 } G_i^{\{j_1\}} G i { j 1 } . Hence 1-consistency yields κ ( 1 , 2 ) → ( j 1 , j 2 ) ( E i { 1 , 2 } ( x ) ) = κ ( 1 , 2 ) → ( j 1 , j 2 ) ( E i { 1 } ( x ) ) = κ 1 → j 1 ( E i { 1 } ( x ) ) = E i { j 1 } ( κ 1 → j 1 ( x ) ) = E i { j 1 , j 2 } ( κ ( 1 , 2 ) → ( j 1 , j 2 ) ( x ) ) \kappa^{(1,2)\to(j_1,j_2)}(\mathcal{E}_{i}^{\{1,2\}}(x)) = \kappa^{(1,2)\to(j_1,j_2)}(\mathcal{E}_{i}^{\{1\}}(x)) = \kappa^{1\to j_1}(\mathcal{E}_{i}^{\{1\}}(x)) = \mathcal{E}_{i}^{\{j_1\}}(\kappa^{1\to j_1}(x)) = \mathcal{E}_{i}^{\{j_1,j_2\}}(\kappa^{(1,2)\to(j_1,j_2)}(x)) κ ( 1 , 2 ) → ( j 1 , j 2 ) ( E i { 1 , 2 } ( x )) = κ ( 1 , 2 ) → ( j 1 , j 2 ) ( E i { 1 } ( x )) = κ 1 → j 1 ( E i { 1 } ( x )) = E i { j 1 } ( κ 1 → j 1 ( x )) = E i { j 1 , j 2 } ( κ ( 1 , 2 ) → ( j 1 , j 2 ) ( x )) as desired. The case x ∈ B 2 x \in B^2 x ∈ B 2 is analogous.
Now consider the case x ∈ atti ( K ) x \in\operatorname{atti}(\mathcal{K}) x ∈ atti ( K ) . Because atti ( K ) ⊆ X \operatorname{atti}(\mathcal{K}) \subseteq X atti ( K ) ⊆ X , we have κ ( 1 , 2 ) → ( j 1 , j 2 ) ( x ) = x \kappa^{(1,2)\to(j_1,j_2)}(x) = x κ ( 1 , 2 ) → ( j 1 , j 2 ) ( x ) = x . If j 2 < l j_2 < l j 2 < l , the statement follows immediately from the 2-consistency of E ∪ [ l − 1 ] \mathcal{E}_{\cup}^{[l-1]} E ∪ [ l − 1 ] with respect to K [ l − 1 ] \mathcal{K}^{[l-1]} K [ l − 1 ] . Consider the case j 2 = l j_2 = l j 2 = l . Note that we have that E i { j 1 , l } ( x ) \mathcal{E}_{i}^{\{j_1,l\}}(x) E i { j 1 , l } ( x ) satisfies φ i , x l → j 1 \varphi_{i,x}^{l\to j_1} φ i , x l → j 1 by assumption and E i { 1 , 2 } ( x ) \mathcal{E}_{i}^{\{1,2\}}(x) E i { 1 , 2 } ( x ) satisfies φ ~ i , x 2 → 1 \widetilde{\varphi}_{i,x}^{2\to1} φ i , x 2 → 1 by definition. By Lemma 4, E i { j 1 , l } ( x ) \mathcal{E}_{i}^{\{j_1,l\}}(x) E i { j 1 , l } ( x ) is uniquely defined by E i { j 1 } ( x ) \mathcal{E}_{i}^{\{j_1\}}(x) E i { j 1 } ( x ) , E i { l } ( x ) \mathcal{E}_{i}^{\{l\}}(x) E i { l } ( x ) , and φ i , x l → j 1 \varphi_{i,x}^{l\to j_1} φ i , x l → j 1 . Analogously, E i { 1 , 2 } ( x ) \mathcal{E}_{i}^{\{1,2\}}(x) E i { 1 , 2 } ( x ) is uniquely defined by E i { 1 } ( x ) \mathcal{E}_{i}^{\{1\}}(x) E i { 1 } ( x ) , E i { 2 } ( x ) \mathcal{E}_{i}^{\{2\}}(x) E i { 2 } ( x ) , and φ ~ i , x 2 → 1 \widetilde{\varphi}_{i,x}^{2\to1} φ i , x 2 → 1 . Due to 1-consistency, we have that E i { j 1 } ( x ) = κ ( 1 , 2 ) → ( j 1 , l ) ( E i { 1 } ( x ) ) \mathcal{E}_{i}^{\{j_1\}}(x) = \kappa^{(1,2)\to(j_1,l)}(\mathcal{E}_{i}^{\{1\}}(x)) E i { j 1 } ( x ) = κ ( 1 , 2 ) → ( j 1 , l ) ( E i { 1 } ( x )) and E i { l } ( x ) = κ ( 1 , 2 ) → ( j 1 , l ) ( E i { 2 } ( x ) ) \mathcal{E}_{i}^{\{l\}}(x) = \kappa^{(1,2)\to(j_1,l)}(\mathcal{E}_{i}^{\{2\}}(x)) E i { l } ( x ) = κ ( 1 , 2 ) → ( j 1 , l ) ( E i { 2 } ( x )) . Moreover, since we have φ i , x l → j 1 = κ ( 1 , 2 ) → ( j 1 , l ) ∘ φ ~ i , x 2 → 1 ∘ κ ( j 1 , l ) → ( 1 , 2 ) \varphi_{i,x}^{l\to j_1} = \kappa^{(1,2)\to(j_1,l)} \circ\widetilde{\varphi}_{i,x}^{2\to1} \circ\kappa^{(j_1,l)\to(1,2)} φ i , x l → j 1 = κ ( 1 , 2 ) → ( j 1 , l ) ∘ φ i , x 2 → 1 ∘ κ ( j 1 , l ) → ( 1 , 2 ) by definition, the three ingredients that uniquely determine E i { j 1 , l } ( x ) \mathcal{E}_{i}^{\{j_1,l\}}(x) E i { j 1 , l } ( x ) and E i { 1 , 2 } ( x ) \mathcal{E}_{i}^{\{1,2\}}(x) E i { 1 , 2 } ( x ) , respectively, coincide under κ ( 1 , 2 ) → ( j 1 , l ) \kappa^{(1,2)\to(j_1,l)} κ ( 1 , 2 ) → ( j 1 , l ) . Hence we have E i { j 1 , l } ( x ) = κ ( 1 , 2 ) → ( j 1 , l ) ( E i { 1 , 2 } ( x ) ) \mathcal{E}_{i}^{\{j_1,l\}}(x) = \kappa^{(1,2)\to(j_1,l)}(\mathcal{E}_{i}^{\{1,2\}}(x)) E i { j 1 , l } ( x ) = κ ( 1 , 2 ) → ( j 1 , l ) ( E i { 1 , 2 } ( x )) , which concludes the proof. ◀
Lemma 13 (★). Let I = ( G 1 , … , G k ) \mathcal{I} = (G_1,\ldots,G_k) I = ( G 1 , … , G k ) be an exclusive-connected instance of S-SEFE. Let K \mathcal{K} K be a blob-partition of size l ≥ 3 l \geq3 l ≥ 3 of I \mathcal{I} I whose modulator is extended and let E ~ ∪ \widetilde{\mathcal{E}}_{\cup} E ∪ be a simultaneous rotation system of I [ l − 1 ] \mathcal{I}^{[l-1]} I [ l − 1 ] that is 1- and 2-consistent with respect to K [ l − 1 ] \mathcal{K}^{[l-1]} K [ l − 1 ] . Let i ∈ [ k ] i \in[k] i ∈ [ k ] and x ∈ atti ( K ) x \in\operatorname{atti}(\mathcal{K}) x ∈ atti ( K ) . Then we have the following.
If l ≥ 3 l \geq3 l ≥ 3 , there exists at most one direct angle-assignment φ i , x \varphi_{i,x} φ i , x from A i l ( x ) A_i^l(x) A i l ( x ) to E ~ i ( x ) \widetilde{\mathcal{E}}_i(x) E i ( x ) that refines φ i , x l → 1 , … , φ i , x l → l − 1 \varphi_{i,x}^{l\to1},\ldots,\varphi_{i,x}^{l\to l-1} φ i , x l → 1 , … , φ i , x l → l − 1 .
If l ≥ 4 l \geq4 l ≥ 4 , such an angle-assignment φ i , x \varphi_{i,x} φ i , x exists. Moreover, φ i , x \varphi_{i,x} φ i , x is a tidy refinement of φ i , x l → 1 , … , φ i , x l → l − 1 \varphi_{i,x}^{l\to1},\ldots,\varphi_{i,x}^{l\to l-1} φ i , x l → 1 , … , φ i , x l → l − 1 .
Proof. Let e ~ ∈ A i l ( x ) \widetilde{e} \in A_i^l(x) e ∈ A i l ( x ) . We consider the angles φ i , x l → 1 ( e ~ ) , … , φ i , x l → l − 1 ( e ~ ) \varphi_{i,x}^{l\to1}(\widetilde{e}),\ldots,\varphi_{i,x}^{l\to l-1}(\widetilde{e}) φ i , x l → 1 ( e ) , … , φ i , x l → l − 1 ( e ) in E ~ i ( x ) \widetilde{\mathcal{E}}_i(x) E i ( x ) . Let j ∈ [ l − 1 ] j \in[l-1] j ∈ [ l − 1 ] and let α j = ( f j , g j ) : = φ i , x l → j ( e ~ ) \alpha^j = (f^j,g^j) := \varphi_{i,x}^{l\to j}(\widetilde{e}) α j = ( f j , g j ) := φ i , x l → j ( e ) . Recall that
α j = φ i , x l → j ( e ~ ) = κ ( 1 , 2 ) → ( j , l ) ( φ ~ i , x 2 → 1 ( κ ( j , l ) → ( 1 , 2 ) ( e ~ ) ) ) = κ ( 1 , 2 ) → ( j , l ) ( φ ~ i , x 2 → 1 ( e 2 ) ) = κ 1 → j ( φ ~ i , x 2 → 1 ( e 2 ) ) , \alpha^j = \varphi_{i,x}^{l\to j}(\widetilde{e}) = \kappa^{(1,2)\to(j,l)}\left(\widetilde{\varphi}_{i,x}^{2\to1}\left(\kappa^{(j,l)\to(1,2)}(\widetilde{e})\right)\right) = \kappa^{(1,2)\to(j,l)}\left(\widetilde{\varphi}_{i,x}^{2\to1}(e^2)\right) = \kappa^{1\to j}\left(\widetilde{\varphi}_{i,x}^{2\to1}(e^2)\right), α j = φ i , x l → j ( e ) = κ ( 1 , 2 ) → ( j , l ) ( φ i , x 2 → 1 ( κ ( j , l ) → ( 1 , 2 ) ( e ) ) ) = κ ( 1 , 2 ) → ( j , l ) ( φ i , x 2 → 1 ( e 2 ) ) = κ 1 → j ( φ i , x 2 → 1 ( e 2 ) ) ,
the different α j \alpha^j α j thus coincide under isomorphism. Note that, while α j \alpha^j α j is a direct angle of E i { j } ( x ) \mathcal{E}_{i}^{\{j\}}(x) E i { j } ( x ) , it is not necessarily a direct angle of E ~ i ( x ) \widetilde{\mathcal{E}}_i(x) E i ( x ) . For every j ′ ∈ [ l − 1 ] ∖ { j } j' \in[l-1] \setminus\{j\} j ′ ∈ [ l − 1 ] ∖ { j } , recall that f j ′ = κ j → j ′ ( f j ) f^{j'} = \kappa^{j\to j'}(f^j) f j ′ = κ j → j ′ ( f j ) and thus f j ′ = f j f^{j'} = f^j f j ′ = f j if and only if f j f^j f j is a modulator edge. The analogous holds for g j g^j g j .
Consider the angles α 1 = φ i , x l → 1 ( e ~ ) \alpha^1 = \varphi_{i,x}^{l\to1}(\widetilde{e}) α 1 = φ i , x l → 1 ( e ) and α 2 = φ i , x l → 2 ( e ~ ) \alpha^2 = \varphi_{i,x}^{l\to2}(\widetilde{e}) α 2 = φ i , x l → 2 ( e ) in E ~ i ( x ) \widetilde{\mathcal{E}}_i(x) E i ( x ) . We distinguish cases based on whether α 1 \alpha^1 α 1 and α 2 \alpha^2 α 2 , which are intervals in a cyclic order, (a) are disjoint or touch only at their endpoints, (b) are nested, (c) overlap once, or (d) overlap twice; see Figure 6.
In case (a), there exists no angle that lies inside α 1 = φ i , x l → 1 ( e ~ ) \alpha^1 = \varphi_{i,x}^{l\to1}(\widetilde{e}) α 1 = φ i , x l → 1 ( e ) and α 2 = φ i , x l → 2 ( e ~ ) \alpha^2 = \varphi_{i,x}^{l\to2}(\widetilde{e}) α 2 = φ i , x l → 2 ( e ) and thus φ i , x l → 1 , φ i , x l → 2 \varphi_{i,x}^{l\to1},\varphi_{i,x}^{l\to2} φ i , x l → 1 , φ i , x l → 2 do not have a common refinement.
In case (b), we assume without loss of generality that α 2 \alpha^2 α 2 lies inside α 1 \alpha^1 α 1 , i.e., their corresponding edges appear in the clockwise order f 1 , f 2 , g 2 , g 1 f^1,f^2,g^2,g^1 f 1 , f 2 , g 2 , g 1 , where possibly f 1 = f 2 f^1 = f^2 f 1 = f 2 or g 1 = g 2 g^1 = g^2 g 1 = g 2 . Since the corresponding angles α 3 , … , α l − 1 \alpha^3,\ldots,\alpha^{l-1} α 3 , … , α l − 1 must adhere to the same pairwise pattern due to 2-consistency, their edges appear in the clockwise order f 1 , f 2 , … , f l − 1 , g l − 1 , … , g 2 , g 1 f^{1}, f^{2}, \ldots, f^{l-1}, g^{l-1}, \ldots, g^{2}, g^{1} f 1 , f 2 , … , f l − 1 , g l − 1 , … , g 2 , g 1 (where possibly f 1 = f 2 = ⋯ = f l − 1 f^{1}=f^{2}=\cdots=f^{l-1} f 1 = f 2 = ⋯ = f l − 1 or g 1 = g 2 = ⋯ = g l − 1 g^{1}=g^{2}=\cdots=g^{l-1} g 1 = g 2 = ⋯ = g l − 1 ). We claim that the angle α i ( e l ) : = α l − 1 = ( f l − 1 , g l − 1 ) \alpha_i(e^{l}) := \alpha^{l-1} = (f^{l-1},g^{l-1}) α i ( e l ) := α l − 1 = ( f l − 1 , g l − 1 ) is direct. Assume for the sake of contradiction that there is an edge h h h that lies between f l − 1 f^{l-1} f l − 1 and g l − 1 g^{l-1} g l − 1 in E ~ i [ l − 1 ] ( x ) \widetilde{\mathcal{E}}_{i}^{[l-1]}(x) E i [ l − 1 ] ( x ) . Note that h h h is contained in each angle α 1 , … , α l − 1 \alpha^{1},\ldots,\alpha^{l-1} α 1 , … , α l − 1 . But since h h h belongs to graph G i { j } G_i^{\{j\}} G i { j } for some j ∈ { 1 , … , l − 1 } j\in\{1,\ldots,l-1\} j ∈ { 1 , … , l − 1 } (or to all of them, if h h h is a modulator edge), this contradicts the fact that α j \alpha^{j} α j is a direct angle in E ~ i { j } ( x ) \widetilde{\mathcal{E}}_{i}^{\{j\}}(x) E i { j } ( x ) . Thus α i ( e l ) \alpha_i(e^{l}) α i ( e l ) is a direct angle in E ~ i [ l − 1 ] ( x ) \widetilde{\mathcal{E}}_{i}^{[l-1]}(x) E i [ l − 1 ] ( x ) . Moreover, observe that it is the only direct angle that lies inside α 1 , … , α l − 1 \alpha^{1},\ldots,\alpha^{l-1} α 1 , … , α l − 1 .
Note that f 1 = f 2 f^{1}=f^{2} f 1 = f 2 or g 1 = g 2 g^{1}=g^{2} g 1 = g 2 implies case (b); we thus assume for the remaining two cases that f 1 ≠ f 2 f^{1}\ne f^{2} f 1 = f 2 and g 1 ≠ g 2 g^{1}\ne g^{2} g 1 = g 2 . Hence none of these edges is a modulator edge, i.e., f 1 , g 1 ∈ A i 1 ( x ) f^{1},g^{1}\in A_i^{1}(x) f 1 , g 1 ∈ A i 1 ( x ) and f 2 , g 2 ∈ A i 2 ( x ) f^{2},g^{2}\in A_i^{2}(x) f 2 , g 2 ∈ A i 2 ( x ) and thus also f 1 ≠ g 2 f^{1}\ne g^{2} f 1 = g 2 and f 2 ≠ g 1 f^{2}\ne g^{1} f 2 = g 1 . All four edges are therefore distinct.
In case (c), assume without loss of generality that their edges appear in the circular order f 1 , f 2 , g 1 , g 2 f^{1},f^{2},g^{1},g^{2} f 1 , f 2 , g 1 , g 2 in E ~ i [ l − 1 ] ( x ) \widetilde{\mathcal{E}}_{i}^{[l-1]}(x) E i [ l − 1 ] ( x ) . As in case (b), 2-consistency guarantees that the corresponding angles α 3 , … , α l − 1 \alpha^{3},\ldots,\alpha^{l-1} α 3 , … , α l − 1 must adhere to the same pattern and thus their edges appear in the clockwise order f 1 , f 2 , … , f l − 1 , g 1 , g 2 , … , g l − 1 f^{1},f^{2},\ldots,f^{l-1},g^{1},g^{2},\ldots,g^{l-1} f 1 , f 2 , … , f l − 1 , g 1 , g 2 , … , g l − 1 in E ~ i [ l − 1 ] ( x ) \widetilde{\mathcal{E}}_{i}^{[l-1]}(x) E i [ l − 1 ] ( x ) . Using the same argument as in case (b), we obtain that the angle α i ( e l ) : = ( f l − 1 , g 1 ) \alpha_i(e^{l}) := (f^{l-1},g^{1}) α i ( e l ) := ( f l − 1 , g 1 ) is the unique direct angle of E ~ i [ l − 1 ] ( x ) \widetilde{\mathcal{E}}_{i}^{[l-1]}(x) E i [ l − 1 ] ( x ) that lies inside α 1 , … , α l − 1 \alpha^{1},\ldots,\alpha^{l-1} α 1 , … , α l − 1 .
Finally, consider case (d). Assume without loss of generality that the edges of α 1 \alpha^{1} α 1 and α 2 \alpha^{2} α 2 appear in the circular order f 1 , g 2 , f 2 , g 1 f^{1},g^{2},f^{2},g^{1} f 1 , g 2 , f 2 , g 1 in E ~ i [ l − 1 ] ( x ) \widetilde{\mathcal{E}}_{i}^{[l-1]}(x) E i [ l − 1 ] ( x ) . This implies that every element of E ~ i [ l − 1 ] ( x ) \widetilde{\mathcal{E}}_{i}^{[l-1]}(x) E i [ l − 1 ] ( x ) lies inside α 1 \alpha^{1} α 1 or α 2 \alpha^{2} α 2 . Since the modulator X X X is extended, x x x is incident to a modulator edge m ∈ X i ( x ) m\in X_i(x) m ∈ X i ( x ) . Hence E ~ i { 1 } ( x ) \widetilde{\mathcal{E}}_{i}^{\{1\}}(x) E i { 1 } ( x ) and E ~ i { 2 } ( x ) \widetilde{\mathcal{E}}_{i}^{\{2\}}(x) E i { 2 } ( x ) both contain m m m . Since α 1 \alpha^{1} α 1 and α 2 \alpha^{2} α 2 are direct angles in E ~ i { 1 } ( x ) \widetilde{\mathcal{E}}_{i}^{\{1\}}(x) E i { 1 } ( x ) and E ~ i { 2 } ( x ) \widetilde{\mathcal{E}}_{i}^{\{2\}}(x) E i { 2 } ( x ) , m m m cannot lie inside α 1 \alpha^{1} α 1 or α 2 \alpha^{2} α 2 in E ~ i [ l − 1 ] ( x ) \widetilde{\mathcal{E}}_{i}^{[l-1]}(x) E i [ l − 1 ] ( x ) , a contradiction.
Hence case (d) cannot occur. In each of the other cases, the direct angle φ i , x ( e l ) = α i ( e l ) \varphi_{i,x}(e^{l})=\alpha_i(e^{l}) φ i , x ( e l ) = α i ( e l ) is uniquely determined, if it exists. Hence φ i , x \varphi_{i,x} φ i , x is unique. This shows the first statement. Moreover, if this angle exists for each edge e l ∈ A i l ( x ) e^{l}\in A_i^{l}(x) e l ∈ A i l ( x ) , i.e., case (a) never occurs, then φ i , x \varphi_{i,x} φ i , x is the desired direct angle-assignment.
Now assume l ≥ 4 l\ge4 l ≥ 4 . Recall that α 1 = κ 1 → 1 ( φ ~ i , x 2 → 1 ( e 2 ) ) = φ ~ i , x 2 → 1 ( e 2 ) \alpha^{1}=\kappa^{1\to1}(\widetilde{\varphi}_{i,x}^{2\to1}(e^{2}))=\widetilde{\varphi}_{i,x}^{2\to1}(e^{2}) α 1 = κ 1 → 1 ( φ i , x 2 → 1 ( e 2 )) = φ i , x 2 → 1 ( e 2 ) and thus e 2 e^{2} e 2 lies inside α 1 \alpha^{1} α 1 in E ~ i ( x ) \widetilde{\mathcal{E}}_i(x) E i ( x ) . Since E ~ U \widetilde{\mathcal{E}}_{\mathcal{U}} E U is 2-consistent, it follows that e 3 e^{3} e 3 lies inside α 1 \alpha^{1} α 1 and α 2 \alpha^{2} α 2 in E ~ i ( x ) \widetilde{\mathcal{E}}_i(x) E i ( x ) . This excludes case (a) and therefore proves that φ i , x \varphi_{i,x} φ i , x exists. It thus only remains to prove the tidiness of the refinements. Let j ∈ [ l − 1 ] j\in[l-1] j ∈ [ l − 1 ] and let e 1 l , e 2 l ∈ A i l ( x ) e^{l}_{1},e^{l}_{2}\in A_i^{l}(x) e 1 l , e 2 l ∈ A i l ( x ) . Assume that φ i , x l → j ( e 1 l ) = φ i , x l → j ( e 2 l ) \varphi_{i,x}^{l\to j}(e^{l}_{1})=\varphi_{i,x}^{l\to j}(e^{l}_{2}) φ i , x l → j ( e 1 l ) = φ i , x l → j ( e 2 l ) holds. By the definition of φ i , x l → j \varphi_{i,x}^{l\to j} φ i , x l → j , we obtain φ ~ i , x 2 → j ( e 1 2 ) = φ ~ i , x 2 → j ( e 2 2 ) \widetilde{\varphi}_{i,x}^{2\to j}(e^{2}_{1})=\widetilde{\varphi}_{i,x}^{2\to j}(e^{2}_{2}) φ i , x 2 → j ( e 1 2 ) = φ i , x 2 → j ( e 2 2 ) and thus also φ i , x l → j ( e 1 l ) = φ i , x l → j ( e 2 l ) \varphi_{i,x}^{l\to j}(e^{l}_{1})=\varphi_{i,x}^{l\to j}(e^{l}_{2}) φ i , x l → j ( e 1 l ) = φ i , x l → j ( e 2 l ) for all j ′ ∈ [ l − 1 ] j'\in[l-1] j ′ ∈ [ l − 1 ] . Since φ i , x ( e 1 l ) \varphi_{i,x}(e^{l}_{1}) φ i , x ( e 1 l ) is the unique direct angle that lies inside φ i , x 1 → 1 ( e 1 l ) , … , φ i , x l − 1 → 1 ( e 1 l ) \varphi_{i,x}^{1\to1}(e^{l}_{1}),\ldots,\varphi_{i,x}^{l-1\to1}(e^{l}_{1}) φ i , x 1 → 1 ( e 1 l ) , … , φ i , x l − 1 → 1 ( e 1 l ) and φ i , x ( e 2 l ) \varphi_{i,x}(e^{l}_{2}) φ i , x ( e 2 l ) is the unique direct angle that lies inside φ i , x 1 → 1 ( e 2 l ) , … , φ i , x l − 1 → 1 ( e 2 l ) \varphi_{i,x}^{1\to1}(e^{l}_{2}),\ldots,\varphi_{i,x}^{l-1\to1}(e^{l}_{2}) φ i , x 1 → 1 ( e 2 l ) , … , φ i , x l − 1 → 1 ( e 2 l ) , it follows that φ i , x ( e 1 l ) = φ i , x ( e 2 l ) \varphi_{i,x}(e^{l}_{1})=\varphi_{i,x}(e^{l}_{2}) φ i , x ( e 1 l ) = φ i , x ( e 2 l ) . Thus φ i , x \varphi_{i,x} φ i , x is a tidy refinement of φ i , x l → j \varphi_{i,x}^{l\to j} φ i , x l → j . This proves the second statement.
Lemma 14 (★). Let I = ( G 1 , … , G k ) \mathcal{I}=(G_1,\ldots,G_k) I = ( G 1 , … , G k ) be an exclusive-connected instance of S-SEFE. Let K \mathcal{K} K be a blob-partition of size l ≥ 4 l\ge4 l ≥ 4 of I \mathcal{I} I whose modulator is extended. Moreover, let E ~ U \widetilde{\mathcal{E}}_{\mathcal{U}} E U be a simultaneous rotation system of I [ l − 1 ] \mathcal{I}^{[l-1]} I [ l − 1 ] such that E ~ U \widetilde{\mathcal{E}}_{\mathcal{U}} E U is 2-consistent with respect to K [ l − 1 ] \mathcal{K}^{[l-1]} K [ l − 1 ] .
There exists a simultaneous rotation system E U \mathcal{E}_{\mathcal{U}} E U of I \mathcal{I} I that coincides with E ~ U \widetilde{\mathcal{E}}_{\mathcal{U}} E U on G U [ l − 1 ] G_{\mathcal{U}}^{[l-1]} G U [ l − 1 ] and such that E U \mathcal{E}_{\mathcal{U}} E U is 2-consistent with respect to K \mathcal{K} K .
Proof. For each i ∈ [ k ] i\in[k] i ∈ [ k ] , we construct a rotation system E i \mathcal{E}_i E i of G i G_i G i as follows. Recall the characterization of 2-consistency from Lemma 12. In particular, E U \mathcal{E}_{\mathcal{U}} E U must be 1-consistent with respect to K \mathcal{K} K and thus it is necessary that E i { l } = κ 1 → l ( E i { 1 } ) \mathcal{E}_i^{\{l\}}=\kappa^{1\to l}(\mathcal{E}_i^{\{1\}}) E i { l } = κ 1 → l ( E i { 1 } ) . Moreover, since E U \mathcal{E}_{\mathcal{U}} E U must coincide with E ~ U \widetilde{\mathcal{E}}_{\mathcal{U}} E U on G U [ l − 1 ] G_{\mathcal{U}}^{[l-1]} G U [ l − 1 ] , it is also necessary that E i [ l − 1 ] = E ~ i [ l − 1 ] . W e c o m b i n e t h e s e t w o e m b e d d i n g s t o a s i n g l e r o t a t i o n s y s t e m \mathcal{E}_i^{[l-1]}=\widetilde{\mathcal{E}}_i^{[l-1]}. We combine these two embeddings to a single rotation system E i [ l − 1 ] = E i [ l − 1 ] . W eco mbin e t h ese tw oe mb e dd in g s t o a s in g l er o t a t i o n sy s t e m \mathcal{E}_i$ as follows. Note that E i { l } \mathcal{E}_i^{\{l\}} E i { l } and E i [ l − 1 ] \mathcal{E}_i^{[l-1]} E i [ l − 1 ] already uniquely define E i ( x ) \mathcal{E}_i(x) E i ( x ) for all x ∉ att i ( K ) x \notin\operatorname{att}_i(\mathcal{K}) x ∈ / att i ( K ) . It remains to specify how to merge the circular orderings E i [ l − 1 ] ( x ) \mathcal{E}_i^{[l-1]}(x) E i [ l − 1 ] ( x ) and E i { l } ( x ) \mathcal{E}_i^{\{l\}}(x) E i { l } ( x ) at each vertex x ∈ att i ( K ) x \in\operatorname{att}_i(\mathcal{K}) x ∈ att i ( K ) into a circular ordering E i ( x ) \mathcal{E}_i(x) E i ( x ) in such a way that 2-consistency is preserved.
By Lemma 12, it is necessary that E i ( x ) \mathcal{E}_i(x) E i ( x ) satisfies the angle-assignments φ i , x l → 1 , … , φ i , x l → l − 1 \varphi_{i,x}^{l\to1},\ldots,\varphi_{i,x}^{l\to l-1} φ i , x l → 1 , … , φ i , x l → l − 1 . In other words, the direct angle-assignment from A i l ( x ) A_i^l(x) A i l ( x ) to E i [ l − 1 ] ( x ) \mathcal{E}_i^{[l-1]}(x) E i [ l − 1 ] ( x ) induced by E i ( x ) \mathcal{E}_i(x) E i ( x ) must be a refinement of φ i , x l → 1 , … , φ i , x l → l − 1 \varphi_{i,x}^{l\to1},\ldots,\varphi_{i,x}^{l\to l-1} φ i , x l → 1 , … , φ i , x l → l − 1 . By Lemma 13, there exists a unique direct angle-assignment φ i , x \varphi_{i,x} φ i , x that satisfies this property. Since the modulator is extended, by Lemma 4 there is at most one circular ordering E i ( x ) \mathcal{E}_i(x) E i ( x ) of the edges incident to x x x in G i G_i G i that extends both E i [ l − 1 ] ( x ) = E ~ i [ l − 1 ] ( x ) \mathcal{E}_i^{[l-1]}(x)=\widetilde{\mathcal{E}}_i^{[l-1]}(x) E i [ l − 1 ] ( x ) = E i [ l − 1 ] ( x ) and E i { l } ( x ) = κ l → l − 1 ( E ~ i { 1 } ( x ) ) \mathcal{E}_i^{\{l\}}(x)=\kappa^{l\to l-1}(\widetilde{\mathcal{E}}_i^{\{1\}}(x)) E i { l } ( x ) = κ l → l − 1 ( E i { 1 } ( x )) and additionally satisfies φ i , x \varphi_{i,x} φ i , x . We still have to show that this ordering exists.
Since the resulting circular ordering must satisfy φ i , x \varphi_{i,x} φ i , x , we must place the missing edges A i l ( x ) A_i^l(x) A i l ( x ) into their designated direct angles of E i [ l − 1 ] ( x ) \mathcal{E}_i^{[l-1]}(x) E i [ l − 1 ] ( x ) . However, we have to ensure that we do this consistently with E i { l } ( x ) \mathcal{E}_i^{\{l\}}(x) E i { l } ( x ) . To this end, we use the circular ordering τ { 1 , l } : = κ ( 1 , 2 ) → ( 1 , l ) ( E ~ i { 1 , 2 } ( x ) ) \tau^{\{1,l\}}:=\kappa^{(1,2)\to(1,l)}(\widetilde{\mathcal{E}}_i^{\{1,2\}}(x)) τ { 1 , l } := κ ( 1 , 2 ) → ( 1 , l ) ( E i { 1 , 2 } ( x )) induced for blobs 1 1 1 and l l l as guidance. Note that τ { 1 , l } \tau^{\{1,l\}} τ { 1 , l } satisfies φ i , x l → 1 \varphi_{i,x}^{l\to1} φ i , x l → 1 .
Let e 1 , e 2 ∈ A i l ( x ) e_1,e_2 \in A_i^l(x) e 1 , e 2 ∈ A i l ( x ) . Because φ i , x \varphi_{i,x} φ i , x refines φ i , x l → 1 \varphi_{i,x}^{l\to1} φ i , x l → 1 and each direct angle of E i [ l − 1 ] ( x ) \mathcal{E}_i^{[l-1]}(x) E i [ l − 1 ] ( x ) lies inside exactly one direct angle of E i { 1 } ( x ) \mathcal{E}_i^{\{1\}}(x) E i { 1 } ( x ) , we have φ i , x ( e 1 ) = φ i , x ( e 2 ) ⇒ φ i , x l → 1 ( e 1 ) = φ i , x l → 1 ( e 2 ) \varphi_{i,x}(e_1)=\varphi_{i,x}(e_2)\Rightarrow\varphi_{i,x}^{l\to1}(e_1)=\varphi_{i,x}^{l\to1}(e_2) φ i , x ( e 1 ) = φ i , x ( e 2 ) ⇒ φ i , x l → 1 ( e 1 ) = φ i , x l → 1 ( e 2 ) . Since the refinement is tidy, the converse also holds and thus φ i , x ( e 1 ) = φ i , x ( e 2 ) ⇔ φ i , x l → 1 ( e 1 ) = φ i , x l → 1 ( e 2 ) \varphi_{i,x}(e_1)=\varphi_{i,x}(e_2)\Leftrightarrow\varphi_{i,x}^{l\to1}(e_1)=\varphi_{i,x}^{l\to1}(e_2) φ i , x ( e 1 ) = φ i , x ( e 2 ) ⇔ φ i , x l → 1 ( e 1 ) = φ i , x l → 1 ( e 2 ) . Hence φ i , x \varphi_{i,x} φ i , x and φ i , x l → 1 \varphi_{i,x}^{l\to1} φ i , x l → 1 induce a unique bijection f : Im ( φ i , x ) → Im ( φ i , x l → 1 ) f:\operatorname{Im}(\varphi_{i,x})\to\operatorname{Im}(\varphi_{i,x}^{l\to1}) f : Im ( φ i , x ) → Im ( φ i , x l → 1 ) with φ i , x l → 1 ( α ) = ( φ i , x l → 1 ) − 1 ( f ( α ) ) \varphi_{i,x}^{l\to1}(\alpha)=(\varphi_{i,x}^{l\to1})^{-1}(f(\alpha)) φ i , x l → 1 ( α ) = ( φ i , x l → 1 ) − 1 ( f ( α )) for all α ∈ Im ( φ i , x ) \alpha\in\operatorname{Im}(\varphi_{i,x}) α ∈ Im ( φ i , x ) .
We now construct the desired circular ordering. For an angle α ∈ Im ( φ i , x ) \alpha\in\operatorname{Im}(\varphi_{i,x}) α ∈ Im ( φ i , x ) , let π α \pi_\alpha π α be the linear order in which the edges φ i , x − 1 ( α ) = ( φ i , x l → 1 ) − 1 ( f ( α ) ) \varphi_{i,x}^{-1}(\alpha)=(\varphi_{i,x}^{l\to1})^{-1}(f(\alpha)) φ i , x − 1 ( α ) = ( φ i , x l → 1 ) − 1 ( f ( α )) appear inside f ( α ) f(\alpha) f ( α ) in τ { 1 , l } \tau^{\{1,l\}} τ { 1 , l } . Let σ i , x \sigma_{i,x} σ i , x be the circular ordering obtained from E i [ l − 1 ] ( x ) \mathcal{E}_i^{[l-1]}(x) E i [ l − 1 ] ( x ) by inserting, for each α ∈ Im ( φ i , x ) \alpha\in\operatorname{Im}(\varphi_{i,x}) α ∈ Im ( φ i , x ) , the elements of φ i , x − 1 ( α ) = ( φ i , x l → 1 ) − 1 ( f ( α ) ) \varphi_{i,x}^{-1}(\alpha)=(\varphi_{i,x}^{l\to1})^{-1}(f(\alpha)) φ i , x − 1 ( α ) = ( φ i , x l → 1 ) − 1 ( f ( α )) inside α \alpha α in the order π α \pi_\alpha π α . Because α \alpha α lies inside f ( α ) f(\alpha) f ( α ) and f f f is a bijection, this construction guarantees that the restriction of σ i , x \sigma_{i,x} σ i , x to the edges of G i { 1 , l } G_i^{\{1,l\}} G i { 1 , l } equals τ { 1 , l } \tau^{\{1,l\}} τ { 1 , l } . Since τ { 1 , l } = κ ( 1 , 2 ) → ( 1 , l ) ( E ~ i { 1 , 2 } ( x ) ) \tau^{\{1,l\}}=\kappa^{(1,2)\to(1,l)}(\widetilde{\mathcal{E}}_i^{\{1,2\}}(x)) τ { 1 , l } = κ ( 1 , 2 ) → ( 1 , l ) ( E i { 1 , 2 } ( x )) , restricting σ i , x \sigma_{i,x} σ i , x to the edges of G i { l } G_i^{\{l\}} G i { l } thus yields κ 2 → l ( E ~ i { 2 } ( x ) ) \kappa^{2\to l}(\widetilde{\mathcal{E}}_i^{\{2\}}(x)) κ 2 → l ( E i { 2 } ( x )) , which equals κ 1 → l ( E ~ i { 1 } ( x ) ) = E i { l } ( x ) \kappa^{1\to l}(\widetilde{\mathcal{E}}_i^{\{1\}}(x))=\mathcal{E}_i^{\{l\}}(x) κ 1 → l ( E i { 1 } ( x )) = E i { l } ( x ) by 1-consistency of E ~ ∪ \widetilde{\mathcal{E}}_{\cup} E ∪ . Moreover, σ i , x \sigma_{i,x} σ i , x extends E i [ l − 1 ] ( x ) \mathcal{E}_i^{[l-1]}(x) E i [ l − 1 ] ( x ) and satisfies φ i , x \varphi_{i,x} φ i , x (and thus also φ i , x l → 1 , … , φ i , x l → l − 1 \varphi_{i,x}^{l\to1},\ldots,\varphi_{i,x}^{l\to l-1} φ i , x l → 1 , … , φ i , x l → l − 1 ) by construction.
Now set E i ( x ) : = σ i , x \mathcal{E}_i(x):=\sigma_{i,x} E i ( x ) := σ i , x for all i ∈ [ k ] i\in[k] i ∈ [ k ] and x ∈ att i ( K ) x\in\operatorname{att}_i(\mathcal{K}) x ∈ att i ( K ) . Then we have that E ∪ \mathcal{E}_{\cup} E ∪ is 2-consistent by Lemma 12: E ∪ \mathcal{E}_{\cup} E ∪ is 1-consistent and satisfies the corresponding angle-assignments by the above, and E ∪ [ l − 1 ] = E ~ ∪ \mathcal{E}_{\cup}^{[l-1]}=\widetilde{\mathcal{E}}_{\cup} E ∪ [ l − 1 ] = E ∪ is 2-consistent by assumption. This concludes the proof. ◁
Lemma 15 (★). Let I = ( G 1 , … , G k ) \mathcal{I}=(G_1,\ldots,G_k) I = ( G 1 , … , G k ) be an exclusive-connected instance of S-SEFE. Let K \mathcal{K} K be a blob-partition of size l ≥ 3 l\ge3 l ≥ 3 of I \mathcal{I} I whose modulator is extended and let E ∪ \mathcal{E}_{\cup} E ∪ be a simultaneous rotation system of I \mathcal{I} I . If E ∪ \mathcal{E}_{\cup} E ∪ is 2-consistent with respect to K \mathcal{K} K , then E ∪ \mathcal{E}_{\cup} E ∪ is m m m -consistent with respect to K \mathcal{K} K for all m ∈ [ l ] m\in[l] m ∈ [ l ] .
Proof. The proof is by induction on m m m . Note that 1-consistency follows from 2-consistency by Lemma 12. Now let m ≥ 3 m\ge3 m ≥ 3 and assume that E ∪ \mathcal{E}_{\cup} E ∪ is ( m − 1 ) (m-1) ( m − 1 ) -consistent with respect to K \mathcal{K} K . We show that E ∪ \mathcal{E}_{\cup} E ∪ is also m m m -consistent with respect to K \mathcal{K} K . To this end, let ( j 1 , … , j m ) (j_1,\ldots,j_m) ( j 1 , … , j m ) be a strictly increasing sequence over [ l ] [l] [ l ] and let κ : = κ ( 1 , … , m ) → ( j 1 , … , j m ) \kappa:=\kappa^{(1,\ldots,m)\to(j_1,\ldots,j_m)} κ := κ ( 1 , … , m ) → ( j 1 , … , j m ) . Let S = { j 1 , … , j m } S=\{j_1,\ldots,j_m\} S = { j 1 , … , j m } and S − = S ∖ { j m } S^{-}=S\setminus\{j_m\} S − = S ∖ { j m } . We want to show for each i ∈ [ k ] i\in[k] i ∈ [ k ] and each x ∈ V ( G i [ j m ] ) x\in V(G_i^{[j_m]}) x ∈ V ( G i [ j m ] ) that E i S ( κ ( x ) ) = κ ( E i [ j m ] ( x ) ) \mathcal{E}_i^S(\kappa(x))=\kappa(\mathcal{E}_i^{[j_m]}(x)) E i S ( κ ( x )) = κ ( E i [ j m ] ( x )) . As above, this holds for x ∈ V ( G i [ j m ] ) ∖ att i ( K ) x\in V(G_i^{[j_m]})\setminus\operatorname{att}_i(\mathcal{K}) x ∈ V ( G i [ j m ] ) ∖ att i ( K ) due to 1-consistency.
Consider x ∈ att i ( K ) x\in\operatorname{att}_i(\mathcal{K}) x ∈ att i ( K ) and recall that x = κ ( x ) x=\kappa(x) x = κ ( x ) in this case. Let φ i , x j m → S − \varphi_{i,x}^{j_m\to S^{-}} φ i , x j m → S − denote the direct angle-assignment from A i j m ( x ) A_i^{j_m}(x) A i j m ( x ) to E i S − ( x ) \mathcal{E}_i^{S^{-}}(x) E i S − ( x ) induced by E i S ( x ) \mathcal{E}_i^S(x) E i S ( x ) . Because E ∪ \mathcal{E}_{\cup} E ∪ is 2-consistent with respect to K \mathcal{K} K , we have that E i S ( x ) \mathcal{E}^{S}_{i}(x) E i S ( x ) satisfies φ i , x j m → j 1 , … , φ i , x j m → j m − 1 \varphi^{j_m\to j_1}_{i,x},\ldots,\varphi^{j_m\to j_{m-1}}_{i,x} φ i , x j m → j 1 , … , φ i , x j m → j m − 1 by Lemma 124 and thus φ i , x j m → S − \varphi^{j_m\to S-}_{i,x} φ i , x j m → S − refines φ i , x j m → j 1 , … , φ i , x j m → j m − 1 \varphi^{j_m\to j_1}_{i,x},\ldots,\varphi^{j_m\to j_{m-1}}_{i,x} φ i , x j m → j 1 , … , φ i , x j m → j m − 1 .
We analogously obtain that the direct angle-assignment φ i , x m → [ m − 1 ] \varphi^{m\to[m-1]}_{i,x} φ i , x m → [ m − 1 ] from A i m ( x ) \mathcal{A}^{m}_{i}(x) A i m ( x ) to E i [ m − 1 ] \mathcal{E}^{[m-1]}_{i} E i [ m − 1 ] induced by E i [ m ] ( x ) \mathcal{E}^{[m]}_{i}(x) E i [ m ] ( x ) refines φ i , x m → 1 , … , φ i , x m → m − 1 \varphi^{m\to1}_{i,x},\ldots,\varphi^{m\to m-1}_{i,x} φ i , x m → 1 , … , φ i , x m → m − 1 . Applying Lemma 13 to the two subinstances, φ i , x j m → S − \varphi^{j_m\to S-}_{i,x} φ i , x j m → S − and φ i , x m → [ m − 1 ] \varphi^{m\to[m-1]}_{i,x} φ i , x m → [ m − 1 ] are the only such angle-assignments that satisfy this refinement property. Since the angle-assignments φ i , x j m → j 1 , … , φ i , x j m → j m − 1 \varphi^{j_m\to j_1}_{i,x},\ldots,\varphi^{j_m\to j_{m-1}}_{i,x} φ i , x j m → j 1 , … , φ i , x j m → j m − 1 coincide with the angle-assignments φ i , x m → 1 , … , φ i , x m → m − 1 \varphi^{m\to1}_{i,x},\ldots,\varphi^{m\to m-1}_{i,x} φ i , x m → 1 , … , φ i , x m → m − 1 under κ \kappa κ by definition, φ i , x j m → S − \varphi^{j_m\to S-}_{i,x} φ i , x j m → S − and φ i , x m → [ m − 1 ] \varphi^{m\to[m-1]}_{i,x} φ i , x m → [ m − 1 ] also coincide under κ \kappa κ .
Moreover, we have E i S − ( x ) = κ ( E i [ m − 1 ] ( x ) ) \mathcal{E}^{S-}_{i}(x)=\kappa(\mathcal{E}^{[m-1]}_{i}(x)) E i S − ( x ) = κ ( E i [ m − 1 ] ( x )) and E i { j m } ( x ) = κ ( E i { m } ( x ) ) \mathcal{E}^{\{j_m\}}_{i}(x)=\kappa(\mathcal{E}^{\{m\}}_{i}(x)) E i { j m } ( x ) = κ ( E i { m } ( x )) by ( m − 1 ) (m-1) ( m − 1 ) -consistency. By Lemma 4, E i S ( x ) \mathcal{E}^{S}_{i}(x) E i S ( x ) is uniquely determined by E i S − ( x ) \mathcal{E}^{S-}_{i}(x) E i S − ( x ) , E i { j m } ( x ) \mathcal{E}^{\{j_m\}}_{i}(x) E i { j m } ( x ) , and φ i , x j m → S − \varphi^{j_m\to S-}_{i,x} φ i , x j m → S − and E i [ m ] ( x ) \mathcal{E}^{[m]}_{i}(x) E i [ m ] ( x ) is uniquely determined by E i [ m − 1 ] ( x ) \mathcal{E}^{[m-1]}_{i}(x) E i [ m − 1 ] ( x ) , E i { m } ( x ) \mathcal{E}^{\{m\}}_{i}(x) E i { m } ( x ) , and φ i , x m → [ m − 1 ] \varphi^{m\to[m-1]}_{i,x} φ i , x m → [ m − 1 ] . Hence the three ingredients that uniquely define E i S ( x ) \mathcal{E}^{S}_{i}(x) E i S ( x ) and E i [ m ] ( x ) \mathcal{E}^{[m]}_{i}(x) E i [ m ] ( x ) , respectively, coincide under κ \kappa κ . We thus have E i S ( x ) = κ ( E i [ m ] ( x ) ) \mathcal{E}^{S}_{i}(x)=\kappa(\mathcal{E}^{[m]}_{i}(x)) E i S ( x ) = κ ( E i [ m ] ( x )) , which concludes the proof.
Claim 16 (★). Let H H H be a subgraph of G U G_{\mathcal{U}} G U that consists of a simple cycle C C C that either has no bridge or a single bridge that is a path or a cycle. Then there exists a subset S ⊆ [ l ] S\subseteq[l] S ⊆ [ l ] with ∣ S ∣ ≤ ∣ X ∣ + 1 |S|\leq|X|+1 ∣ S ∣ ≤ ∣ X ∣ + 1 such that H H H is a subgraph of G U S G^{S}_{\mathcal{U}} G U S .
Proof. Let M \mathcal{M} M denote the connected components of H − X H-X H − X and recall that each such component is entirely contained in a single blob. Our goal is to show that ∣ M ∣ ≤ ∣ X ∣ + 1 |\mathcal{M}|\leq|X|+1 ∣ M ∣ ≤ ∣ X ∣ + 1 . If H H H contains no vertex of X X X , we have ∣ M ∣ = 1 |\mathcal{M}|=1 ∣ M ∣ = 1 and thus the statement holds. Note that H H H is 2-edge-connected and thus each component of M \mathcal{M} M is connected to X X X with at least two edges. Hence we obtain ∣ M ∣ ≤ ∑ x ∈ X deg H ( x ) 2 |\mathcal{M}|\leq\frac{\sum_{x\in X}\deg_H(x)}{2} ∣ M ∣ ≤ 2 ∑ x ∈ X d e g H ( x ) . If C C C has no bridge, all vertices have degree 2 and thus ∑ x ∈ X deg H ( x ) ≤ 2 ∣ X ∣ \sum_{x\in X}\deg_H(x)\leq2|X| ∑ x ∈ X deg H ( x ) ≤ 2∣ X ∣ . Otherwise, only the two fixtures of its unique bridge cause degrees that exceed 2 and each fixture contributes one additional unit. Hence ∑ x ∈ X deg H ( x ) ≤ 2 ∣ X ∣ + 2 \sum_{x\in X}\deg_H(x)\leq2|X|+2 ∑ x ∈ X deg H ( x ) ≤ 2∣ X ∣ + 2 . In both cases, we obtain ∣ M ∣ ≤ ∣ X ∣ + 1 |\mathcal{M}|\leq|X|+1 ∣ M ∣ ≤ ∣ X ∣ + 1 as desired. Since each connected component in M \mathcal{M} M is entirely contained in a single blob, there consequently exists a subset S ⊆ [ l ] S\subseteq[l] S ⊆ [ l ] with ∣ S ∣ ≤ ∣ X ∣ + 1 |S|\leq|X|+1 ∣ S ∣ ≤ ∣ X ∣ + 1 such that G U S G^{S}_{\mathcal{U}} G U S contains all vertices of M \mathcal{M} M . If M = ∅ \mathcal{M}=\emptyset M = ∅ , we choose S = { 1 } S=\{1\} S = { 1 } . Since all remaining vertices of H H H belong to X X X , H H H is entirely contained in G U S G^{S}_{\mathcal{U}} G U S .
Omitted Proofs from Section 4
Lemma 18 (★). Let T T T be a finite nonempty set and L ≥ 2 L\geq2 L ≥ 2 an integer. In every simultaneous embedding of S ( T , L ) S(T,L) S ( T , L ) , there is r ∈ Z ∣ T ∣ L r\in\mathbb{Z}_{|T|L} r ∈ Z ∣ T ∣ L such that, for every t ∈ T t\in T t ∈ T and i ∈ Z L i\in\mathbb{Z}_{L} i ∈ Z L , the clockwise circular order around v v v contains t i + 1 t^{i+1} t i + 1 exactly r r r positions after t i t^i t i . Conversely, for any circular order around v v v satisfying this property, one can realize a corresponding simultaneous embedding of S ( T , L ) S(T,L) S ( T , L ) .
Proof. We use the following well-known fact. If a graph H H H consists of internally disjoint paths between two vertices u u u and w w w , then a rotation system of H H H is planar if and only if the clockwise order of the paths around w w w is the reverse of their clockwise order around u. Indeed, the bridges of a cycle formed by two of these paths are precisely the remaining paths, and the two fixtures of such a path lie on the same side of the cycle if and only if the three paths appear in opposite clockwise orders around u u u and w w w ; the fact thus follows from Lemma 3.
Observe that G 1 G_1 G 1 consists of the internally disjoint paths v t i t ˉ i v ˉ v t^i \bar{t}^i \bar{v} v t i t ˉ i v ˉ and G 2 G_2 G 2 consists of the internally disjoint paths v t i t ˉ i + 1 v ˉ v t^i \bar{t}^{i+1} \bar{v} v t i t ˉ i + 1 v ˉ for t ∈ T t \in T t ∈ T and i ∈ Z L i \in\mathbb{Z}_L i ∈ Z L . For a circular order σ \sigma σ of the leaves of v v v , let σ 1 \sigma_1 σ 1 and σ 2 \sigma_2 σ 2 denote the circular orders of the leaves of v ˉ \bar{v} v ˉ obtained from σ \sigma σ by replacing each t i t^i t i with t ˉ i \bar{t}^i t ˉ i and with t ˉ i + 1 \bar{t}^{i+1} t ˉ i + 1 , respectively. By the above fact, the rotation system of G 1 G_1 G 1 with clockwise orders σ \sigma σ around v v v and σ ˉ \bar{\sigma} σ ˉ around v ˉ \bar{v} v ˉ is planar if and only if σ ˉ \bar{\sigma} σ ˉ is the reverse of σ 1 \sigma_1 σ 1 , and analogously for G 2 G_2 G 2 and σ 2 \sigma_2 σ 2 . Since G 1 G_1 G 1 and G 2 G_2 G 2 are connected and the shared graph consists of two stars, planar embeddings of G 1 G_1 G 1 and G 2 G_2 G 2 form a simultaneous embedding if and only if they have the same clockwise orders around v v v and v ˉ \bar{v} v ˉ . Hence σ \sigma σ is the clockwise order around v v v in a simultaneous embedding of S ( T , L ) S(T,L) S ( T , L ) if and only if σ 1 = σ 2 \sigma_1=\sigma_2 σ 1 = σ 2 . As σ 2 \sigma_2 σ 2 is obtained from σ 1 \sigma_1 σ 1 by replacing each t ˉ i \bar{t}^i t ˉ i with t ˉ i + 1 \bar{t}^{i+1} t ˉ i + 1 , this is the case if and only if σ \sigma σ is invariant under the shift t i ↦ t i + 1 t^i \mapsto t^{i+1} t i ↦ t i + 1 , i.e., if the shift maps consecutive leaves of σ \sigma σ to consecutive leaves. This in turn is equivalent to the shift moving every leaf by the same number r r r of positions, which concludes the proof.
Lemma 19 (★). The Bin Packing instance is positive if and only if ( G 1 , G 2 , G 3 ) (G_1,G_2,G_3) ( G 1 , G 2 , G 3 ) admits a simultaneous embedding. Moreover, ( G 1 , G 2 , G 3 ) (G_1,G_2,G_3) ( G 1 , G 2 , G 3 ) can be constructed in polynomial time and the pathwidth of G ∪ G_{\cup} G ∪ is at most 5.
Proof. Let m : = ∣ T ∣ = n + 1 m := |T| = n+1 m := ∣ T ∣ = n + 1 and N : = m L N := mL N := m L . We call the vertices of C C C bin vertices and the edges of item paths item edges .
Since Bin Packing is strongly NP-hard, we can assume that all numbers are polynomially bounded; hence G ∪ G_{\cup} G ∪ , which has 2 N + 2 2N+2 2 N + 2 vertices, can be constructed in polynomial time. Deleting v v v , v ˉ \bar{v} v ˉ , and t 1 t^1 t 1 for every t ∈ T t \in T t ∈ T from G ∪ G_{\cup} G ∪ leaves, for each t t t , the path t ˉ 2 t 2 t ˉ 3 ⋯ t L t ˉ 1 \bar{t}^2 t^2 \bar{t}^3 \cdots t^L \bar{t}^1 t ˉ 2 t 2 t ˉ 3 ⋯ t L t ˉ 1 together with green edges that close edge-disjoint cycles with it, which has pathwidth at most 2. As the vertices t 1 t^1 t 1 lie in distinct components of G ∪ − { v , v ˉ } G_{\cup}-\{v,\bar{v}\} G ∪ − { v , v ˉ } , we obtain pw ( G ∪ ) ≤ 2 + 1 + 2 = 5 \operatorname{pw}(G_{\cup}) \le2+1+2=5 pw ( G ∪ ) ≤ 2 + 1 + 2 = 5 .
Now let U 1 , … , U K U_1,\ldots,U_K U 1 , … , U K be a solution of the Bin Packing instance. For u j ∈ U w u_j \in U_w u j ∈ U w , let
o j : = ( w − 1 ) ( B + 1 ) + ∑ j ′ < j , u j ′ ∈ U w s ( u j ′ ) o_j := (w-1)(B+1)+\sum_{\substack{j'<j,\,u_{j'}\in U_w}}s(u_{j'}) o j := ( w − 1 ) ( B + 1 ) + j ′ < j , u j ′ ∈ U w ∑ s ( u j ′ )
and let σ \sigma σ be the circular order obtained by concatenating the blocks R ℓ , t − o 1 ℓ , … , t − o n ℓ R^\ell,t^\ell_{-o_1},\ldots,t^\ell_{-o_n} R ℓ , t − o 1 ℓ , … , t − o n ℓ for ℓ = 1 , … , L \ell=1,\ldots,L ℓ = 1 , … , L ; see Figure 7 (right). As t i + 1 t^{i+1} t i + 1 lies m m m positions after t i t^i t i in σ \sigma σ , Lemma 18 yields a simultaneous embedding of ( G 1 , G 2 ) (G_1,G_2) ( G 1 , G 2 ) with clockwise order σ \sigma σ around v v v . Since the star of v ˉ \bar{v} v ˉ is a connected component of G 3 G_3 G 3 , it remains to embed the component H H H of G 3 G_3 G 3 containing v v v with clockwise order σ \sigma σ around v v v . For u j ∈ U w u_j\in U_w u j ∈ U w , the vertices of P j P_j P j lie in the blocks o j + 1 , … , o j + s ( u j ) + 1 o_j+1,\ldots,o_j+s(u_j)+1 o j + 1 , … , o j + s ( u j ) + 1 , i.e., in the order of P j P_j P j between the consecutive bin vertices R 1 + ( w − 1 ) ( B + 1 ) R^{1+(w-1)(B+1)} R 1 + ( w − 1 ) ( B + 1 ) and R 1 + w ( B + 1 ) R^{1+w(B+1)} R 1 + w ( B + 1 ) (as ∑ u ∈ U w s ( u ) ≤ B \sum_{u\in U_w}s(u)\le B ∑ u ∈ U w s ( u ) ≤ B ) and after all item paths P j ′ P_{j'} P j ′ with j ′ < j j'<j j ′ < j and u j ′ ∈ U w u_{j'}\in U_w u j ′ ∈ U w . Hence no two green edges have alternating endpoints in σ \sigma σ . Adding the cycle Z Z Z through the leaves of v v v in the order σ \sigma σ thus yields a wheel whose planar embedding with clockwise order σ \sigma σ around v v v can be extended by embedding the green edges as chords into the outer face of Z Z Z ; removing Z Z Z yields the desired embedding of H H H .
Conversely, let ( E 1 , E 2 , E 3 ) (\mathcal{E}_1,\mathcal{E}_2,\mathcal{E}_3) ( E 1 , E 2 , E 3 ) be a simultaneous embedding, let σ \sigma σ be the clockwise order around v v v , and let pos ( x ) ∈ Z N \operatorname{pos}(x)\in\mathbb{Z}_N pos ( x ) ∈ Z N denote the clockwise position of a leaf x x x in σ \sigma σ . By Lemma 18, there is r ∈ Z N r\in\mathbb{Z}_N r ∈ Z N with pos ( t i + 1 ) = pos ( t i ) + r \operatorname{pos}(t^{i+1})=\operatorname{pos}(t^i)+r pos ( t i + 1 ) = pos ( t i ) + r for all t ∈ T t\in T t ∈ T and i ∈ Z L i\in\mathbb{Z}_L i ∈ Z L . As the L L L copies of each type t t t have distinct positions pos ( t 1 ) + j r \operatorname{pos}(t^1)+j r pos ( t 1 ) + j r for j ∈ Z L j\in\mathbb{Z}_L j ∈ Z L , the multiples of r r r are precisely the copies of R R R occupy every m m m -th position and the bin vertices, which have positions pos ( R 1 ) + w ( B + 1 ) r \operatorname{pos}(R^1)+w(B+1)r pos ( R 1 ) + w ( B + 1 ) r for w ∈ Z K w\in\mathbb{Z}_K w ∈ Z K , occupy every ( B + 1 ) m (B+1)m ( B + 1 ) m -th position, splitting the remaining leaves into K K K bins with B B B copies of R R R each. Let x x ′ xx' x x ′ be an item edge with x = t j i x=t_j^i x = t j i and x ′ = t j i + 1 x'=t_j^{i+1} x ′ = t j i + 1 . As the cycle v x x ′ vxx' v x x ′ is disjoint from C C C , all bin vertices lie on the same side of it by Lemma 3, so x x x and x ′ x' x ′ lie in a common bin. Hence each item path lies within a single bin and, treating positions within a bin as integers, pos ( x ′ ) − pos ( x ) = r ~ \operatorname{pos}(x')-\operatorname{pos}(x)=\tilde{r} pos ( x ′ ) − pos ( x ) = r ~ for the unique integer r ~ ≡ r ( m o d N ) \tilde{r}\equiv r\pmod{N} r ~ ≡ r ( mod N ) with ∣ r ~ ∣ < N / 2 |\tilde{r}|<N/2 ∣ r ~ ∣ < N /2 , as bins have fewer than ( B + 1 ) m ≤ N / 2 (B+1)m\leq N/2 ( B + 1 ) m ≤ N /2 leaves. Since r ~ ≠ 0 \tilde{r}\ne0 r ~ = 0 is a multiple of m m m , the open interval I x x ′ I_{xx'} I x x ′ between pos ( x ) \operatorname{pos}(x) pos ( x ) and pos ( x ′ ) \operatorname{pos}(x') pos ( x ′ ) contains a copy of R R R . For an item edge y y ′ yy' y y ′ of another item path, which is disjoint from v x x ′ vxx' v x x ′ , Lemma 3 implies that y y y and y ′ y' y ′ lie on the same side of v x x ′ vxx' v x x ′ . Thus I x x ′ I_{xx'} I x x ′ and I y y ′ I_{yy'} I y y ′ do not cross and, having the same length, are not nested either, i.e., they are disjoint. The same holds for distinct edges of the same item path, as its consecutive vertices are r ~ \tilde{r} r ~ positions apart. Hence, if U w U_w U w denotes the set of items whose paths lie in the w w w -th bin, the ∑ u ∈ U w s ( u ) \sum_{u\in U_w}s(u) ∑ u ∈ U w s ( u ) item edges in this bin have disjoint intervals that each contain one of its B B B copies of R R R . Therefore, ∑ u ∈ U w s ( u ) ≤ B \sum_{u\in U_w}s(u)\leq B ∑ u ∈ U w s ( u ) ≤ B for all w ∈ [ K ] w\in[K] w ∈ [ K ] , which concludes the proof. ◀