1 Introduction

Among combinatorial tools representing PL manifolds, framed links (and/or Kirby diagrams) turn out to be a very synthetic one, both in the 3-dimensional setting and in the 4-dimensional one, while edge-colored graphs have the advantage to represent all compact PL manifolds and to allow the definition and computation of interesting PL invariants in arbitrary dimension (such as the regular genus, which extends the Heegard genus, and the gem-complexity, similar to Matveev’s complexity of a 3-manifold).

Previous works exist establishing a connection between the two theories, both in the 3-dimensional and 4-dimensional setting [5, 7, 26]: they make use of the so called edge-colored graphs with boundary, which are dual to colored triangulations of PL manifolds with non-empty boundary, and fail to be regular. More recently, a unifying method has been introduced and studied, so to represent by means of regular colored graphs all compact PL manifolds, via the notion of singular manifold associated to a PL manifold with non-empty boundary.

Purpose of the present work is to update the relationship between framed links/Kirby diagrams and colored graphs (or, equivalently, colored triangulations) in dimension 4, by making use of regular 5-colored graphs representing compact PL 4-manifolds. The new tool turns out to be significantly more efficient than the classic one, both with regard to the simplicity and algorithmicity of the procedure and with regard to the possibility of estimating graph-defined PL invariants directly from the Kirby diagram.

As it is well-known, a framed link is a pair (Lc), where L is a link in \({\mathbb {S}}^3\) with \(l \ge 1\) components and \(c=(c_1,c_2, \dots , c_l)\), is an l-tuple of integers. (Lc) represents - in dimension 3 - the 3-manifold \(M^3(L,c)\) obtained from \({\mathbb {S}}^3\) by Dehn surgery along (Lc), as well as - in dimension 4 - the (simply-connected) PL 4-manifold \(M^4(L,c)\), whose boundary coincides with \(M^3(L,c)\), obtained from \({\mathbb {D}}^4\) by adding 2-handles along (Lc).

Moreover, in virtue of a celebrated result by [25, 29], in case \(M^3(L,c) = \#_r ({\mathbb {S}}^1 \times {\mathbb {S}}^2)\) (with \(r \ge 0\)), then the framed link (Lc) represents also the closed PL 4-manifold \(\overline{ M^4(L,c)}\) obtained from \(M^4(L,c)\) by adding - in a unique way - r 3-handles and a 4-handle.

However, while it is well-known that every 3-manifold \(M^3\) admits a framed link (Lc) so that \(M^3=M^3(L,c)\), it is an open question whether or not each closed simply-connected PL 4-manifold \(M^4\) may be represented by a suitable framed link (or, even more, if \(M^4\) admits a so called special handle decomposition, i.e. a handle decomposition lacking in 1-handles and 3-handles: see [24,  Problem 4.18], [10, 28]).

As far as general compact PL 4-manifolds (with empty or connected boundary) are concerned, it is necessary to extend the notion of framed link, so to comprehend also the case of trivial (i.e. unknotted and unlinked) dotted components, which represent 1-handles of the associated handle decomposition of the manifold: in this way, any framed link \((L^{(m)},d)\) admitting \(m \ge 1\) trivial dotted components - which is properly called a Kirby diagram - uniquely represents the compact PL 4-manifold \(M^4(L^{(m)} ,d)\) obtained from \({\mathbb {D}}^4\) by adding 1-handles according to the m trivial dotted components and 2-handles along the framed components. Note that the boundary of \(M^4(L^{(m)} ,d)\) coincides with \(M^3(L,c)\), (Lc) being the framed link obtained from the Kirby diagram \((L^{(m)},d)\) by substituting each dotted component with a 0-framed one; hence, in case \(M^3(L,c) = \#_r ({\mathbb {S}}^1 \times {\mathbb {S}}^2)\) (with \(r \ge 0\)), the Kirby diagram \((L^{(m)},d)\) uniquely represents also the closed PL 4-manifold \(\overline{M^4(L^{(m)} ,d)}\) obtained from \(M^4(L^{(m)} ,d)\) by adding - in a unique way - r 3-handles and a 4-handle.

In this paper we describe how to obtain algorithmically a regular 5-colored graph representing \(M^4(L,c)\) (resp. representing \(M^4(L^{(m)} ,d))\) directly “drawn over” a planar diagram of (Lc) (resp. of \((L^{(m)} ,d))\): see Procedure B and Theorem 7 in Sect. 3 (see Procedure C and Theorem 12 in Sect. 5). Hence, the algorithms allow to construct explicitly triangulations of the compact 4-manifolds associated to framed links and Kirby diagrams.Footnote 1

As a consequence, the procedures yield upper bounds for both the invariants regular genus and gem-complexity of the represented 4-manifolds.

As regards framed links, the upper bounds - which significantly improve the ones obtained in [5] - are summarized in the following statement where \(m_\alpha \) denotes the number of \(\alpha \)-colored regions in a chess-board coloration of L, by colors \(\alpha \) and \(\beta \) say, with the convention that the infinite region is \(\alpha \)-colored; furthermore, if \(w_i\) and \(c_i\) denote respectively the writhe and the framing of the i-th component of L (for each \(i\in \{1,\ldots ,l\}\), l being the number of components of L), we set:

$$\begin{aligned} {\bar{t}}_i = {\left\{ \begin{array}{ll} \vert w_i-c_i\vert &{}\quad \text {if} \; w_i \ne c_i \\ 2 &{}\quad \text {otherwise} \end{array}\right. } \end{aligned}$$

Theorem 1

Let (Lc) be a framed link with l components and s crossings. Then, the following estimation of the regular genus of \(M^4(L,c)\) holds:

$$\begin{aligned} {\mathcal {G}}(M^4(L,c))\le m_{\alpha } + l \end{aligned}$$

Moreover, if L is not the trivial knot, then the gem-complexity of \(M^4(L,c)\) satisfies the following inequality:

$$\begin{aligned} k(M^4(L,c))\le 4s - l + 2\sum _{i=1}^l {\bar{t}}_i \end{aligned}$$

As regards Kirby diagrams \((L^{(m)} ,d)\), the estimation for the gem-complexity involves the quantity \({\bar{t}}_i\), defined exactly as in the case of framed links, but only for the framed components, while the estimation for the regular genus involves a quantity depending on the construction (i.e. the quantity u appearing in Theorem 12), which can be increased by the number of undercrossings of the framed components.Footnote 2

Theorem 2

Let \((L^{(m)},d)\) be a Kirby diagram with s crossings, l components, whose first \(m \ge 1\) are dotted, and \({\bar{s}}\) undercrossings of the framed components; then,

$$\begin{aligned} {\mathcal {G}}(M^4(L^{(m)},d))\le s + {\bar{s}} + (l-m) +1 \end{aligned}$$

Moreover, if L is different from the trivial knot,

$$\begin{aligned} k(M^4(L^{(m)},d))\le 2s + 2 {\bar{s}} + 2 m -1 + 2\sum _{i=m+1}^l {\bar{t}}_i \end{aligned}$$

Various examples are presented, including infinite families of framed links where the above upper bound for the regular genus turns out to be sharp (Examples 1 and 2 in Sect. 3).

Moreover, the process is applied in order to obtain a pair of 5-colored graphs representing an exotic pair of compact PL 4-manifolds (i.e. a pair of 4-manifolds which are TOP-homeomorphic but not PL-homeomorphic), thus opening the search for possibile graph-defined PL invariants distinguishing them (Example 4 in Sect. 3, with related Figs. 8 and 9).

Note that, although for better understanding the procedure regarding framed links is presented in a separate section of the paper, it is nothing but a particular case of the one regarding Kirby diagrams with \(m \ge 1 \) dotted components. Hence, if we denote by \((L^{(*)},d)\) an arbitrary Kirby diagram (possibly without dotted components), we can concisely state that the paper shows how to obtain a 5-colored graph representing the compact 4-manifold \(M^4(L^{(*)},d)\), directly “drawn over” the Kirby diagram \((L^{(*)} ,d)\).

Finally, we point out that, if the associated 3-manifold is the 3-sphere, then the obtained 5-colored graph actually represents the closed 4-manifold \(\overline{M^4(L^{(*)},d)}\), too. Hence, the procedure yields triangulations for any closed (simply-connected) PL 4-manifold admitting handle decompositions without 3-handles.

In the general case of Kirby diagrams representing a closed 4-manifold \(\overline{M^4(L^{(*)},d)}\) (i.e., according to [29], in case of Heegaard diagrams for closed 4-manifolds), we hope soon to be able to extend the above procedure, in order to construct algorithmically - at least in a wide set of situations, when the boundary 3-manifold may be combinatorially recognized as \(\#_r ({\mathbb {S}}^1 \times {\mathbb {S}}^2)\) (with \(r \ge 1\)) - a 5-colored graph representing \(\overline{M^4(L^{(*)},d)}\).

2 Colored graphs representing PL manifolds

In this section we will briefly recall some basic notions about the representation of compact PL manifolds by regular colored graphs (crystallization theory). For more details we refer to the survey papers [12, 19].

From now on, unless otherwise stated, all spaces and maps will be considered in the PL category, and all manifolds will be assumed to be connected and orientable.Footnote 3

Crystallization theory was first developed for closed manifolds; the extension to the case of non-empty boundary, that is more recent, is performed by making use of the wider class of singular manifolds.

Definition 1

A singular (PL) n-manifold is a closed connected n-dimensional polyhedron admitting a simplicial triangulation where the links of vertices are closed connected \((n-1)\)-manifolds, while the links of all h-simplices of the triangulation with \(h > 0\) are (PL) \((n-h-1)\)-spheres. Vertices whose links are not PL \((n-1)\)-spheres are called singular.

Remark 1

If N is a singular n-manifold, then a compact n-manifold \({\check{N}}\) is easily obtained by deleting small open neighbourhoods of its singular vertices. Obviously \(N={\check{N}}\) iff N is a closed manifold, otherwise \({\check{N}}\) has non-empty boundary (without spherical components). Conversely, given a compact n-manifold M, a singular n-manifold \({\widehat{M}}\) can be constructed by capping off each component of \(\partial M\) by a cone over it.

Note that, by restricting ourselves to the class of compact n-manifolds with no spherical boundary components, the above correspondence is bijective and so singular n-manifolds and compact n-manifolds of this class can be associated to each other in a well-defined way.

For this reason, throughout the present work, we will make a further restriction considering only compact manifolds without spherical boundary components. Obviously, in this wider context, closed n-manifolds are characterized by \(M= {\widehat{M}}.\)

Definition 2

An \((n+1)\)-colored graph (\(n \ge 2\)) is a pair \((\Gamma ,\gamma )\), where \(\Gamma =(V(\Gamma ), E(\Gamma ))\) is a multigraph (i.e. multiple edges are allowed, but no loops) which is regular of degree \(n+1\) (i.e. each vertex has exactly \(n+1\) incident edges), and \(\gamma : E(\Gamma ) \rightarrow \Delta _n=\{0,\ldots , n\}\) is a map which is injective on adjacent edges (edge-coloration).

In the following, for sake of concision, when the coloration is clearly understood, we will drop it in the notation for a colored graph. As usual, we will call order of a colored graph the number of its vertices.

For every \(\{c_1, \dots , c_h\} \subseteq \Delta _n\) let \(\Gamma _{\{c_1, \dots , c_h\}}\) be the subgraph obtained from \(\Gamma \) by deleting all the edges that are not colored by \(\{c_1, \dots , c_h\}\). Furthermore, the complementary set of \(\{c\}\) (resp. \(\{c_1,\dots ,c_h\}\)) in \(\Delta _n\) will be denoted by \({\hat{c}}\) (resp. \({\hat{c}}_1\cdots {\hat{c}}_h\)). The connected components of \(\Gamma _{\{c_1, \dots , c_h\}}\) are called \(\{c_1, \dots , c_h\}\)-residues of \(\Gamma \); their number will be denoted by \(g_{\{c_1, \dots , c_h\}}\) (or, for short, by \(g_{c_1,c_2}\) and \(g_{{\hat{c}}}\) if \(h=2\) and \(h = n\) respectively).

For any \((n+1)\)-colored graph \(\Gamma \), an n-dimensional simplicial cell-complex \(K(\Gamma )\) can be constructed in the following way:

  • the n-simplexes of \(K(\Gamma )\) are in bijective correspondence with the vertices of \(\Gamma \) and each n-simplex has its vertices injectively labeled by the elements of \(\Delta _n\);

  • if two vertices of \(\Gamma \) are c-adjacent (\(c\in \Delta _n\)), the \((n-1)\)-dimensional faces of their corresponding n-simplices that are opposite to the c-labeled vertices are identified, so that equally labeled vertices coincide.

\(\vert K(\Gamma )\vert \) turns out to be an n-pseudomanifold and \(\Gamma \) is said to represent it.

Note that, by construction, \(\Gamma \) can be seen as the 1-skeleton of the dual complex of \(K(\Gamma )\). As a consequence there is a bijection between the \(\{c_1, \dots , c_h\}\)-residues of \(\Gamma \) and the \((n-h)\)-simplices of \(K(\Gamma )\) whose vertices are labeled by \({\hat{c}}_1 \cdots {\hat{c}}_h\). In particular, given an \((n+1)\)-colored graph \(\Gamma \), each connected component of \(\Gamma _{{\hat{c}}}\) (\(c\in \Delta _n\)) is an n-colored graph representing the disjoint linkFootnote 4 of a c-labeled vertex of \(K(\Gamma )\), that is also (PL) homeomorphic to the link of this vertex in the first barycentric subdivision of K.

Therefore, we can characterize \((n+1)\)-colored graphs representing singular (resp. closed) n-manifolds as satisfying the condition that for each color \(c\in \Delta _n\) any \({\hat{c}}\)-residue represents a connected closed \((n-1)\)-manifoldFootnote 5 (resp. the \((n-1)\)-sphere).

Furthermore, in virtue of the bijection described in Remark 1, an \((n+1)\)-colored graph \(\Gamma \) is said to represent a compact n-manifold M with no spherical boundary components (or, equivalently, to be a gem of M, where gem means Graph Encoding Manifold) if \(\Gamma \) represents its associated singular manifold, i.e. if \(\vert K(\Gamma )\vert ={\widehat{M}}\). Actually, if \(\partial M\ne \emptyset \), \(K(\Gamma )\) naturally gives rise to a “triangulation” of M consisting of partially truncated n-simplexes obtained by removing small open neighbourhoods of the singular vertices of \({\widehat{M}}\). Therefore, in the present paper, by a little abuse of notation, we will call \(K(\Gamma )\) a triangulation of M also in the case of a compact manifold with non-empty boundary.

The following theorem extends to the boundary case a well-known result - originally stated in [31] - founding the combinatorial representation theory for closed manifolds of arbitrary dimension via regular colored graphs.

Theorem 3

[14] Any compact orientable (resp. non-orientable) n-manifold with no spherical boundary components admits a bipartite (resp. non-bipartite) \((n+1)\)-colored graph representing it.

If \(\Gamma \) is a gem of a compact n-manifold, an n-residue of \(\Gamma \) will be called singular if it does not represent \({\mathbb {S}}^{n-1}.\) Similarly, a color c will be called singular if at least one of the \({\hat{c}}\)-residues of \(\Gamma \) is singular.

An advantage of colored graphs as representing tools for compact n-manifolds is the possibility of combinatorially defining PL invariants.

One of the most important and studied among them is the (generalized) regular genus extending to higher dimension the classical genus of a surface and the Heegaard genus of a 3-manifold. Spheres are characterized by having null regular genus [16], while classification results according to regular genus and concerning 4- and 5-manifolds can be found in [6, 11,12,13] both for the closed and for the non-empty boundary case.

The definition of the invariant relies on the following result about the existence of a particular type of embedding of colored graphs into closed surfaces.

Proposition 4

[20] Let \(\Gamma \) be a bipartiteFootnote 6\((n+1)\)-colored graph of order 2p. Then for each cyclic permutation \(\varepsilon = (\varepsilon _0,\ldots ,\varepsilon _n)\) of \(\Delta _n\), up to inverse, there exists a cellular embedding, called regular, of \(\Gamma \) into an orientable closed surface \(F_{\varepsilon }(\Gamma )\) whose regions are bounded by the images of the \(\{\varepsilon _j,\varepsilon _{j+1}\}\)-colored cycles, for each \(j \in {\mathbb {Z}}_{n+1}\). Moreover, the genus \(\rho _{\varepsilon } (\Gamma )\) of \(F_{\varepsilon }(\Gamma )\) satisfies

$$\begin{aligned} 2 - 2\rho _\varepsilon (\Gamma )= \sum _{j\in {\mathbb {Z}}_{n+1}} g_{\varepsilon _j, \varepsilon _{j+1}} + (1-n)p. \end{aligned}$$
(1)

Definition 3

The regular genus of an \((n+1)\)-colored graph \(\Gamma \) is defined as

$$\begin{aligned} \rho (\Gamma ) = {\textit{min}}\{\rho _\varepsilon (\Gamma )\ \vert \ \varepsilon \ \text {cyclic permutation of } \Delta _n\}; \end{aligned}$$

the (generalized) regular genus of a compact n-manifold M is defined as

$$\begin{aligned} {\mathcal {G}} (M) = \min \{\rho (\Gamma )\ \vert \ \Gamma \ \text {gem of } M\}. \end{aligned}$$

Within crystallization theory a notion of “complexity” of a compact n-manifold arises naturally and, similarly to other concepts of complexity (for example Matveev’s complexity for 3-manifolds), is related to the minimum number of n-simplexes in a colored triangulation of the associated singular manifold:

Definition 4

The (generalized) gem-complexity of a compact n-manifold M is defined as

$$\begin{aligned} k(M) = \min \{p-1\ \vert \ \exists \textit{ a gem of } M\textit{ with }2p \textit{ vertices}\} \end{aligned}$$

Important tools in crystallization theory are combinatorial moves transforming colored graphs without affecting the represented manifolds (see for example [3, 17, 19, 26, 27]); we will recall here only the most important ones, while other moves will be introduced in the following sections.

Definition 5

An r-dipole (\(1\le r\le n\)of colors \(c_1,\ldots ,c_r\) in an \((n+1)\)-colored graph \(\Gamma \) is a subgraph of \(\Gamma \) consisting in two vertices joined by r edges, colored by \(c_1,\ldots ,c_r\), such that the vertices belong to different \({\hat{c}}_1\ldots {\hat{c}}_r\)-residues of \(\Gamma \). An r-dipole can be eliminated from \(\Gamma \) by deleting the subgraph and welding the remaining hanging edges according to their colors; in this way another \((n+1)\)-colored graph \(\Gamma ^\prime \) is obtained. The addition of the dipole to \(\Gamma ^\prime \) is the inverse operation.

The dipole is called proper if \(\vert K(\Gamma )\vert \) and \(\vert K(\Gamma ^\prime )\vert \) are (PL) homeomorphic.

Proposition 5

[21,  Proposition 5.3] An r-dipole (\(1\le r\le n\)) of colors \(c_1,\ldots ,c_r\) in an \((n+1)\)-colored graph \(\Gamma \) is proper if and only if at least one of the two connected components of \(\Gamma _{{\hat{c}}_1\ldots {\hat{c}}_r}\) intersecting the dipole represents the \((n-r)\)-sphere.

Without going into details, we point out that - as proved in the quoted paper - the elimination (or the addition) of a proper dipole corresponds to a re-triangulation of a suitable ball embedded in the cell-complex associated to the colored graph.

Remark 2

Note that, if \(\Gamma \) represents a compact n-manifold M, then all r-dipoles with \(1 < r \le n\) are proper; further, if M has either empty or connected boundary, then 1-dipoles are proper, too.

Given an arbitrary \((n+1)\)-colored graph representing a compact n-manifold M with empty or connected boundary, then by eliminating all possible (proper) 1-dipoles, we can always obtain an \((n+1)\)-colored graph \(\Gamma \) still representing M and such that, for each color \(c\in \Delta _n\), \(\Gamma _{{\hat{c}}}\) is connected. Such a colored graph is called a crystallization of M. Moreover, it is always possible to assume - up to permutation of the color set - that any gem (and, in particular, any crystallization) of such a manifold has color n as its (unique) possible singular color.

Finally, as already hinted to in the Introduction, we recall that a graph-based representation for compact PL manifolds with non-empty boundary - different from the one considered in this section - was already introduced by Gagliardi in the eighties (see [19]) by means of colored graphs failing to be regular.

More precisely, any compact n-manifold can be represented by a pair \((\Lambda , \lambda )\), where \(\lambda \) is still an edge-coloration on \(E(\Lambda )\) by means of \(\Delta _n\), but \(\Lambda \) may miss some (or even all) n-colored edges: such a \((\Lambda , \lambda )\) is said to be an \((n+1)\)-colored graph with boundary, regular with respect to color n, and vertices missing the n-colored edge are called boundary vertices.

However, a connection between these different kinds of representation can be established through an easy combinatorial procedure, called capping-off.

Proposition 6

[18] Let \((\Lambda , \lambda )\) be an \((n+1)\)-colored graph with boundary, regular with respect to color n, representing the compact n-manifold M. Chosen a color \(c \in \Delta _{n-1}\), let \((\Gamma ,\gamma )\) be the regular \((n+1)\)-colored graph obtained from \(\Lambda \) by capping-off with respect to color c, i.e. by joining two boundary vertices by an n-colored edge, whenever they belong to the same \(\{c,n\}\)-colored path in \(\Lambda .\) Then, \((\Gamma ,\gamma )\) represents the singular n-manifold \({\widehat{M}}\), and hence M, too.

3 From framed links to 5-colored graphs

In this section we will present a construction that enables to obtain 5-colored graphs representing all compact (simply-connected) 4-manifolds associated to framed links, i.e. Kirby diagrams without dotted components. Note that such a class of compact 4-manifolds contains also each closed (simply-connected) 4-manifold admitting a special handle decomposition [28,  Sect. 3.3], i.e. a handle decomposition containing no 1- and 3-handles.

As already recalled in the Introduction, for each framed link (Lc) (\(c=(c_1, \dots , c_l)\), with \(c_i \in {\mathbb {Z}}\) \(\forall i \in \{1,\dots , l\}\), l being the number of components of L), we denote by \(M^4(L,c)\) the 4-manifold with boundary obtained from \({\mathbb {D}}^4\) by adding l 2-handles according to the framed link (Lc). The boundary of \(M^4(L,c)\) is the closed orientable 3-manifold \(M^3(L,c)\) obtained from \({\mathbb {S}}^3\) by Dehn surgery along (Lc). In case \(M^3(L,c)\cong {\mathbb {S}}^3\), we will consider, and still denote by \(M^4(L,c),\) the closed 4-manifold obtained by adding a further 4-handle.

Now, let us suppose that the link L is embedded in \(\mathbb {S}^3 = {\mathbb {R}}^3\cup \{\infty \}\) so that it admits a regular projection \(\pi \ : {\mathbb {S}}^3\rightarrow {\mathbb {R}}^2\times \{0\};\) in the following we will identify L with its planar diagram \(\pi (L)\), thus referring to arcs, crossings and regions of L instead of \(\pi (L).\)

Similarly, by the writhe of a component \(L_i\) of L (denoted by \(w(L_i)\)) we mean the writhe of the corresponding component of \(\pi (L).\) For each \(i\in \{1,\ldots ,l\}\), we say that \(L_i\) needs \(\vert c_i-w(L_i)\vert \) “additional curls”, which are positive or negative according to whether \(c_i\) is greater or less than \(w(L_i)\) (see Fig. 1).

In [5] a construction is described, yielding a 4-colored graph representing the 3-manifold associated to a given framed link. The procedure consists of the following steps.

PROCEDURE A - from \(\mathbf {(L,c)}\) to \(\varvec{\Lambda }(\mathbf {L,c})\) representing \(\mathbf {M}^{\mathbf {3}}(\mathbf {L,c})\)

  1. 1.

    Each crossing of L gives rise to the order eight graph in Fig. 2, while each possible (whether already in L or additional) curl gives rise to one of the order four graphs of Fig. 3-left or Fig. 3-right according to the curl being positive or negative.

  2. 2.

    The hanging 0- and 1-colored edges of the above graphs should be “pasted” together so that every region of L, having r crossings on its boundary, gives rise to a \(\{1,2\}\)-colored cycle of length 2r (with each 1-colored edge corresponding to a part of the boundary between two crossings) while each component \(L_i\) (\(i\in \{1,\ldots ,l\}\)), having \(s_i\) crossings and \(t_i\) additional curls, gives rise to two \(\{0,3\}\)-colored cycles of length \(2(s_i+t_i).\)

Fig. 1
figure 1

Positive (left) and negative (right) curls

Fig. 2
figure 2

4-Colored graph corresponding to a crossing

Fig. 3
figure 3

4-colored graphs corresponding to a positive curl (left) and a negative curl (right)

Remark 3

As pointed out in [5], \(\Lambda (L,c)\) can be directly “drawn over” L (see for example Fig. 4, obtained by applying Procedure A to the trefoil knot, with framing \(c=+1\)). In particular, if a is the part of an arc of L lying between two adjacent crossings, there are exactly two 1-colored edges of \(\Lambda (L,c)\) that are “parallel” to a, one for each region of L having a on its boundary.

Moreover, note that - by possibly adding to L a trivial pair of opposite additional curls - a particular subgraph \(Q_i\), called quadricolor, can be selected in \(\Lambda (L,c)\) for each component \(L_i\) of L (\(i \in \{1, \dots , l\}\)). A quadricolor consists of four vertices \(\{P_0,\; P_1,\; P_2,\; P_3\}\) such that \(P_s,P_{s+1}\) are connected by an s-colored edge (for each \(s\in {\mathbb {Z}}_4\)) and \(P_s\) does not belong to the \(\{s+1,s+2\}\)-colored cycle shared by the other three vertices. It is not difficult to see that - in virtue of the above described procedure A - such a situation arises with \(\{P_0,\; P_2,\; P_3\}\) belonging to the subgraph corresponding to a curl and \(P_1\) to an adjacent undercrossing or curl of the same sign (see again Fig. 4, where the vertices of the quadricolor are highlighted).

Fig. 4
figure 4

The 4-colored graph \(\Lambda (L,c)\) representing \(M^3(L,c)\), for \(c=+1\) and \(L=\) trefoil

Let us now describe how to construct, starting from a given framed link, a 5-colored graph which will be proved to represent the 4-manifold associated to the framed link itself.

PROCEDURE B - from \((\mathbf {L,c})\) to \(\varvec{\Gamma }(\mathbf {L,c})\) (representing \(\mathbf {M}^{\mathbf {4}}(\mathbf {L,c})\))

  1. 1.

    Let \(\Lambda (L,c)\) be the 4-colored graph constructed from (Lc) according to Procedure A.

  2. 2.

    For each component \(L_i\) of L (\(i \in \{1, \dots , l\}\)), choose a quadricolor \(Q_i\), according to Remark 3. For each \(i \in \{1, \dots , l\}\), add a triad of 4-colored edges between the vertices \(P_{2r}\) and \(P_{2r+1}\), \(\forall r \in \{0,1,2\}\), involved in the quadricolor \({\mathcal {Q}}_i\) (as shown in Fig. 5).

  3. 3.

    Add 4-colored edges between the remaining vertices of \(\Lambda (L,c)\), so to “double” the 1-colored ones.

Fig. 5
figure 5

Main step yielding \(\Gamma (L,c)\)

Figure 6 shows the 5-colored graph \(\Gamma (L,c)\) in the case of the trefoil knot with framing \(+1\).

Fig. 6
figure 6

The 5-colored graph \(\Gamma (L,c)\), for \(c=+1\) and \(L=\) trefoil

The following theorem states that - as already disclosed - the 5-colored graph \(\Gamma (L,c)\) represents \(M^4(L,c)\). Moreover, the theorem also states the existence of a further 5-colored graph representing \(M^4(L,c)\), with reduced regular genus, whose estimation involves the number \(m_\alpha \) of \(\alpha \)-colored regions in a chess-board coloration of L, by colors \(\alpha \) and \(\beta \) say, with the convention that the infinite region is \(\alpha \)-colored.

With this aim, if (Lc) is a framed link with l components and s crossings, let us recall that, for each \(i\in \{1,\ldots ,l\}\), we set \({\bar{t}}_i = {\left\{ \begin{array}{ll} \vert w_i-c_i\vert &{} {\textit{if}}\; w_i \ne c_i \\ 2 &{} {\textit{otherwise}} \end{array}\right. }\) where \(w_i\) denotes the writhe of the i-th component of L.

Theorem 7

  1. (i)

    For each framed link (Lc), the 5-colored graph \(\Gamma (L,c)\) obtained via Procedure B represents the compact 4-manifold \(M^4(L,c);\) it has regular genus less or equal to \(s+l+1\) and, if L is different from the trivial knot,Footnote 7 its order is \(8s + 4\sum _{i=1}^l {\bar{t}}_i;\)

  2. (ii)

    via a standard sequence of graph moves, a 5-colored graph, still representing \(M^4(L,c)\), can be obtained, whose regular genus is less or equal to \(m_{\alpha } + l\), while the regular genus of its \({\hat{4}}\)-residue, representing \(\partial M^4(L,c)=M^3(L,c),\) is less or equal to \(m_\alpha .\)

Theorem 7 will be proved in Sect. 4.

As a direct consequence of Theorem 7, upper bounds can be established for both the invariants regular genus and gem-complexity of a compact 4-manifold represented by a framed link (Lc), in terms of the combinatorial properties of the link itself, as already stated in Theorem 1 in the Introduction.

Proof of Theorem 1

The upper bound for the regular genus of \(M^4(L,c)\) trivially follows from Theorem 7(ii).

As regards the upper bound for the gem-complexity of \(M^4(L,c)\), we have to make use of the computation of the order of \(\Gamma (L,c)\) obtained in Theorem 7(i), but also to note that - as already pointed out in [5] - the 4-colored graph \(\Lambda (L,c)\) has exactly l \({\hat{2}}\)-residues, and that the same happens for \(\Gamma (L,c)\); hence, by deleting \(l-1\) (proper) 1-dipoles, a new 5-colored graph \(\Gamma ^{\prime }(L,c)\) representing \(M^4(L,c)\) may be obtained, with

$$\begin{aligned} \#V(\Gamma ^{\prime }(L,c)) = \#V(\Gamma (L,c)) - 2(l-1) = 8s - 2l + 2 + 4\sum _{i=1}^l {\bar{t}}_i \end{aligned}$$

\(\square \)

The case of the trivial knot is discussed in the following example.

Example 1

Let \((K_0,c)\) be the trivial knot with framing \(c\in {\mathbb {N}}\cup \{0\}\); if \(c\ge 2\), then \(K_0\) requires c additional positive curls and the 5-colored graph \(\Gamma (K_0,c)\), with 4c vertices, which is obtained by applying Procedure B, turns out to coincide with the one that in [13] is proved to represent exactly \(\xi _c\), the \({\mathbb {D}}^2\)-bundle over \({\mathbb {S}}^2\) with Euler number c, as expected from Theorem 7. Furthermore, if c is even, it is known that \(k(L(c,1))=2c-1\) (see [8,  Remark 4.5]); hence \(\Gamma (K_0,c)\) realizes the gem-complexity of \(\xi _c\), and therefore the second bound of Theorem 7 is sharp.

If \(c=0\) (resp. \(c=1\)), then \(K_0\) requires two positive and two negative (resp. two positive and one negative) additional curls in order to get a quadricolor; however in this case the resulting graph \(\Gamma (K_0,c)\) admits a sequence of dipole moves consisting in three 3-dipoles and one 2-dipole (resp. consisting in two 3-dipoles) cancellations yielding a minimal order eight crystallization of \({\mathbb {S}}^2\times {\mathbb {D}}^2\) (resp. the minimal order eight crystallization of \({\mathbb {C}}{\mathbb {P}}^2\)) obtained in [13] (resp. in [22]).

Note that for each \(c\in {\mathbb {N}}\cup \{0\}\), \(\Gamma (K_0,c)\) realizes the regular genus of the represented 4-manifold, which is equal to 2 (\(=m_{\alpha } +l\)), as proved in [13]. Hence, for this infinite family of compact 4-manifolds, the first upper bound of Theorem 1 turns out to be sharp.

We will end this section with further examples of the described construction.

Example 2

Let \((L_H,c)\) be the Hopf link and \(c=({\bar{c}},0)\) with \({\bar{c}}\) even (resp. odd); then Procedure B yields a 5-colored graph that, by Theorem 7, represents \({\mathbb {S}}^2\times {\mathbb {S}}^2\) (resp. \({\mathbb {C}}{\mathbb {P}}^2\#(-{\mathbb {C}}{\mathbb {P}}^2)\)) and realizes its regular genus (which is known to be equal to 4: see [12] and references therein). In particular, if \({\bar{c}}=0\), a sequence of dipole cancellations and a \(\rho \)-pair switching (see Definition 6 in Sect. 5), applied to \(\Gamma (L_H,(0,0))\), yield a 5-colored graph which belongs to the existing catalogueFootnote 8 of crystallizations of 4-manifolds up to gem-complexity 8 (see [9]).

Example 3

Let \(M^4(L,c)\) be a linear plumbing of spheres, whose boundary is therefore the lens space L(pq) such that \((c_1,\ldots ,c_l)\) is a continued fraction expansion of \(-\frac{p}{q}\) [23]; then, by Theorem 1, the regular genus of \(M^4(L,c)\) is less or equal to 2l.

Example 4

Procedure B, applied to the framed links description given in [30] of an exotic pair (see Fig. 7), allows to obtain two regular 5-colored graphs representing two compact simply-connected PL 4-manifolds \(W_1\) and \(W_2\) with the same topological structure that are not PL-homeomorphic: see Figs. 8 and 9, which obviously encode two triangulations of \(W_1\) and \(W_2\) respectively.

Other applications of the procedures obtained in the present paper, in order to get triangulations of exotic 4-manifolds, will appear in R.A. Burke, Triangulating Exotic 4-Manifolds (in preparation).

Fig. 7
figure 7

Framed links representing the exotic pair \(W_1\) and \(W_2\) (pictures from [30])

Fig. 8
figure 8

A 5-colored graph representing the compact simply-connected PL 4-manifold \(W_1\)

Fig. 9
figure 9

A 5-colored graph representing the compact simply-connected PL 4-manifold \(W_2\)

4 Proof of Theorem 7

Roughly speaking, the proof of the first statement of Theorem 7 - i.e. the fact that \(\Gamma (L,c)\) represents \(M^4(L,c)\) - will be performed by means of the followings steps:

  1. (i)

    starting from the 4-colored graph \(\Lambda (L,c)\) - already proved to represent \(M^3(L,c)\) in [5] - we obtain a 4-colored graph \(\Lambda _{{\textit{smooth}}}\) representing \({\mathbb {S}}^3\) by suitably exchanging a triad of 1-colored edges for each component of L [Proposition 9(i)];

  2. (ii)

    by capping-off with respect to color 1, we obtain a 5-colored graph representing \({\mathbb {D}}^4\);

  3. (iii)

    by re-establishing the triads of 1-colored edges, the 5-colored graph \(\Gamma (L,c)\) is obtained. Since the only singular 4-residue of \(\Gamma (L,c)\) is the \({\hat{4}}\)-residue \(\Lambda (L,c)\), \(\Gamma (L,c)\) represents a 4-manifold with connected boundary \(M^3(L,c)\); moreover, \(\Gamma (L,c)\) represents \(M^4(L,c)\) since each triad exchanging is proved to correspond to the addition of a 2-handle according to the related framed component [Proposition 9(ii)].

Let us now go into details.

Given a framed link (Lc), we can always assume that, for each component \(L_i\) (\(i\in \{1,\ldots ,l\}\)), an additional curl is placed near an undercrossing; as observed in Sect. 3 such a configuration gives rise, in the 4-colored graph \(\Lambda (L,c)\), to a quadricolor that we denote by \({\mathcal {Q}}_i.\)

By cancelling the quadricolor \({\mathcal {Q}}_i\) and pasting the resulting hanging edges of the same color, we obtain a new 4-colored graph \(\Lambda ^{({\hat{\imath }})}(L,c)\); we call this operation the smoothing of the quadricolor \({\mathcal {Q}}_i.\)

The following proposition shows that the smoothing of a quadricolor in a 4-colored graph obtained from a framed link via Procedure B (see Sect. 3) turns out to be equivalent to the Dehn surgery on the complementary knot of the involved link component. More precisely, with the above notations, the result can be stated as follows:

Proposition 8

If \(\Lambda ^{({\hat{\imath }})}(L,c)\) is the 4-colored graph obtained from \(\Lambda (L,c)\) by smoothing the quadricolor of the i-th framed component, then \(K(\Lambda ^{({\hat{\imath }})}(L,c))\) is obtained from \(K(\Lambda (L,c))\) by Dehn surgery on the complementary knot of \(L_i.\)

Hence, \(K(\Lambda ^{({\hat{\imath }})}(L,c))\) represents the 3-manifold associated to the framed link \((L^{{\hat{\imath }}}, c^{{\hat{\imath }}})\) obtained from (Lc) by deleting the i-th component.

Proof

Let \((L^{({\tilde{\imath }})},c^{({\tilde{\imath }})})\) denote the \(l+1\) components link obtained from L by adding the complementary knot of \(L_i\), i.e. a framed 0 trivial knot linking the component \(L_i\) geometrically once; moreover, let us suppose that the added trivial component is inserted between the curl and the crossing corresponding to the quadricolor \({\mathcal {Q}}_i.\) Then, let us consider the 4-colored graph \(\Lambda (L^{({\tilde{\imath }})},c^{({\tilde{\imath }})})\) obtained by applying Procedure B of Sect. 3 to the framed link \((L^{({\tilde{\imath }})},c^{({\tilde{\imath }})}).\)

\(\Lambda (L^{({\tilde{\imath }})},c^{({\tilde{\imath }})})\) is everywhere like \(\Lambda (L,c)\) except “near” the quadricolor \({\mathcal {Q}}_i\), where it contains the subgraph in Fig. 10 (we denote by \(P_j,\ j\in \{0,1,2,3\}\) the vertices of \({\mathcal {Q}}_i\), even if they are no longer a quadricolor in \(\Lambda (L^{({\tilde{\imath }})},c^{({\tilde{\imath }})})\)). In the proof of Lemma 4 of [5] it is shown that the above subgraph yields, through a sequence of eliminations of dipoles, the subgraph in Fig. 11.

By subsequently cancelling the 2-dipoles of vertices \(\{\bar{{\bar{P}}}_0,R'_1\},\) \(\{{\bar{P}}_0,P_1 \},\) \(\{{\bar{P}}_2, {\bar{P}}_3 \},\) \(\{\bar{{\bar{P}}}_3,R_3\}\), all vertices of the quadricolor \({\mathcal {Q}}_i\) are eliminated and the obtained 4-colored graph is precisely \(\Lambda ^{({\hat{\imath }})}(L,c).\)

Since the addition to (Lc) of the complementary knot of \(L_i\) corresponds to the Dehn surgery along it, the first part of the statement is proved. Moreover, the last part follows directly by noting that the component \(L_i\) and its complementary knot constitute a pair of complementary handles, whose cancellation does not affect the represented 3-manifold.\(\square \)

Fig. 10
figure 10

The subgraph corresponding to the added complementary knot.

Fig. 11
figure 11

The subgraph corresponding to the added complementary knot, after dipole eliminations.

Remark 4

Quadricolors in 4-colored graphs were originally introduced by Lins. Note that the transformation from \(\Lambda (L,c)\) to the 4-colored graph where the quadricolor \({\mathcal {Q}}_i\) is replaced by the subgraph in Fig. 11 corresponds to the substitution, in the pseudocomplex \(K(\Lambda (L,c))\), of a solid torus with another solid torus having the same boundary. Hence, as already observed by Lins himself, the smoothing of a quadricolor in any 4-colored graph is equivalent to perform a Dehn surgery on the represented manifold. The above proposition allows, when considering 4-colored graphs arising from framed links, to identify this surgery precisely as the one along the complementary knot of the component naturally associated to the quadricolor.

Proposition 9

  1. (i)

    The 4-colored graph \(\Gamma ^{({\hat{\imath }})}_{{\textit{smooth}}}\) (resp. \(\Gamma _{{\textit{smooth}}}\)), obtained from \(\Lambda (L,c)\) by exchanging the triad of 1-colored edges (according to Fig. 12) in a quadricolor of the i-th component of (Lc) (resp. in a quadricolor for each framed component of (Lc)), represents the 3-manifold associated to the framed link \((L^{{\hat{\imath }}}, c^{{\hat{\imath }}})\) obtained from (Lc) by deleting the i-th component (resp. represents \({\mathbb {S}}^3\)).

  2. (ii)

    Let \({\tilde{\Gamma }}_{{\textit{smooth}}}\) be the 5-colored graph obtained from \(\Gamma _{{\textit{smooth}}}\) by “capping off” with respect to color 1. Then, the 5-colored graph \({\tilde{\Gamma }}^{(i)}\), obtained from \({\tilde{\Gamma }}_{{\textit{smooth}}}\) by exchanging the triad of 1-colored edges (according to Fig. 13) in a quadricolor of the i-th component of (Lc), represents the 4-manifold obtained from \({\mathbb {D}}^4\) by adding a 2-handle according to the i-th component of (Lc)).

Fig. 12
figure 12

Exchanging the triad of 1-colored edges in a quadricolor (I)

Fig. 13
figure 13

Exchanging the triad of 1-colored edges in a quadricolor (II)

Proof

  1. (i)

    It is sufficient to make use of the Proof of Proposition 8 and to note that \(\Gamma ^{({\hat{\imath }})}_{{\textit{smooth}}}\) is obtained (modulo the name exchange of \(P_j\) into \({\bar{P}}_j\), for \(j \in \{0,2,3\}\)) from the subgraph in Fig. 11 via cancellation of the two 2-dipoles of vertices \(\{\bar{{\bar{P}}}_0,R'_1\},\ \{\bar{{\bar{P}}}_3,R_3 \}\) in the quadricolor of the i-th framed component, while \(\Gamma _{{\textit{smooth}}}\) is obtained by performing the same procedure for each component of (Lc).

  2. (ii)

    It is easy to check that, by a standard sequence of dipole addition, the 4-colored graph \(\Gamma _{{\textit{smooth}}}\) may be transformed (modulo the name exchange of \(P_2\) into \({\bar{P}}_2\) and \(P_j\) into \(\bar{{\bar{P}}}_j\), for \(j \in \{0,3\} \)) in the 4-colored graph \({\tilde{\Lambda }}_{{\hat{4}}}(L,c)\), already considered both in [5] and in [7]: more precisely, for each component of the link, it is necessary to add the 2-dipoles of vertices \(\{\bar{{\bar{P}}}_0,R'_1\}\) and \(\{\bar{{\bar{P}}}_3,R_3 \}\) shown in Fig. 11, and then to add a 2-dipole of vertices \(\{R'_2,R'_3\}\) within the 1-colored edge with endpoints \(\{R'_1,R_3\}\) and the 3-colored edge with endpoints \(\{\bar{{\bar{P}}}_0,R'_1\}\). The 4-colored graph \({\tilde{\Lambda }}_{{\hat{4}}}(L,c)\) is deducible from Fig. 14, that illustrates the main step to obtain the 5-colored graph with boundary \({\tilde{\Lambda }}(L,c)\), representing \(M^4(L,c)\), from the 4-colored graph \(\Lambda (L,c)\).

Moreover, as explained in [7,  pp. 442–443], the 1-skeleton of the associated colored triangulation \(K(L,c)= K({\tilde{\Lambda }}_{{\hat{4}}})\) of \({\mathbb {S}}^3\), contains two copies \(L^{\prime }=L^{\prime }_1 \cup \dots \cup L^{\prime }_l\) and \(L^{\prime \prime }=L^{\prime \prime }_1 \cup \dots \cup L^{\prime \prime }_l\) of L, with linking number \(c_i\) between \(L^{\prime }_i\) and \(L^{\prime \prime }_i\), for each \(i \in \{1, \dots , l\}\), and the addition of the triad of 4-colored edges with endpoints \(\{R_1,R_1^{\prime }\}\), \(\{R_2,R_2^{\prime }\}\), \(\{R_3,R_3^{\prime }\}\) corresponds - as proved in [5,  Theorem 3] - to the attachment on the boundary of \({\mathbb {D}}^4\) (i.e. the cone over K(Lc)) of a 2-handle whose attaching map sends \(L_i^{\prime }\) into \(L_i^{\prime \prime }\) (see Fig. 14-right, and Fig. 15 for an example of the 5-colored graph with boundaryFootnote 9\({\tilde{\Lambda }}(L,c)\), where (Lc) is the trefoil knot with framing \(+1\)).

Now, if the “capping off” procedure described in Proposition 6 is applied with respect to color 1, the obtained regular 5-colored graph (which represents the compact 4-manifold obtained from \({\mathbb {D}}^4\) by adding a 2-handle along the i-th component of (Lc)) turns out to admit a sequence of three 2-dipoles involving only vertices of the quadricolor and never involving color 4: in fact, they consist of the pairs of vertices \(\{P_3,R_3\}\), \(\{R_3^{\prime },R_2^{\prime }\}\), \(\{P_0,R_1^{\prime }\}\) in Fig. 14(right). It is not difficult to see that, after these cancellations, we obtain exactly the (regular) 5-colored graph \({\tilde{\Gamma }}^{(i)}\), obtained from \({\tilde{\Gamma }}_{{\textit{smooth}}}\) (which obviously represents \({\mathbb {D}}^4\)) by cyclically exchanging the triad of 1-colored edges (according to Fig. 13) in the quadricolor \(Q_i\) of the i-th component of (Lc). \(\square \)

Fig. 14
figure 14

Main step from \(\Lambda (L,c)\) to \({\tilde{\Lambda }}(L,c)\)

Fig. 15
figure 15

The 5-colored graph with boundary \({\tilde{\Lambda }}(L,c)\) representing \(M^4(L,c)\), for \(c=+1\) and \(L=\mathrm{trefoil}\)

Remark 5

Note that a standard sequence of dipole moves exists, transforming \(\Gamma ^{({\hat{\imath }})}_{{\textit{smooth}}}\) into \(\Lambda (L^{{\hat{\imath }}}, c^{{\hat{\imath }}})\): it follows \(L_i\) starting from the quadricolor \(Q_i\), where the triad of 1-colored edges have been cyclically exchanged as in Fig. 12 (right), by deleting first the 2-dipoles \(\{P_2, P_3\}\) and \(\{P_4, P_5\}\), and then all subsequently generated 2-dipoles, among pairs of vertices, belonging to different bipartition classes, which are either endpoints of 1-colored edges “parallel” to adjacent segments of \(L_i\), or 0-adjacent vertices of the subgraph associated to an undercrossing of \(L_i\), till to obtain an order two component of the 4-colored graph consisting only of the vertex \(P_0\) and its 2-adjacent vertex. Obviously, if the procedure is applied for each \(i\in \{1, \dots , l\}\), a standard sequence of dipole eliminations is obtained, transforming the 4-colored graphs \(\Gamma _{{\textit{smooth}}}\) into the order two 4-colored graph representing \({\mathbb {S}}^3\).

Proof of Theorem 7

(i) In order to prove that \(\Gamma (L,c)\) represents \(M^4(L,c)\), it is sufficient to note that the main step yielding \(\Gamma (L,c)\), depicted in Fig. 5, exactly coincides with the transformation from the 4-colored graph of Fig. 12-left (representing \(M^3(L,c)\)) to the 5-colored graph of Fig. 13-right (representing \(M^4(L,c)\), if the procedure is applied to a quadricolor for each component of (Lc)). Hence, Proposition 9(i) and (ii) ensure \(\Gamma (L,c)\) actually to represent the compact 4-manifold obtained from \({\mathbb {D}}^4\) by adding l 2-handles according to the l components of (Lc).

Now note that, by construction, the 4-colored graph \(\Lambda (L,c)\) has \(8s + 4\sum _{i=1}^l\) \(\vert w_i-c_i\vert \) vertices. As already observed, the presence of a curl near an undercrossing in a component of L yields a quadricolor \(Q_i\). Therefore, for each \(i\in \{1,\ldots ,l\}\), if \(\vert w_i-c_i\vert \ne 0\), then the required addition of curls ensures the existence of a quadricolor relative to \(L_i\), while if \(\vert w_i-c_i\vert = 0\) a pair of opposite curls has to be added in order to produce one (except in the case of the trivial knot which is discussed in Example 1). Since each curl contributes with 4 vertices to the final 5-colored graph, the statement concerning the order of \(\Gamma (L,c)\) is easily proved.

With regard to the regular genus of \(\Gamma (L,c)\), let us consider the cyclic permutations \({\bar{\varepsilon }}=(1,0,2,3)\) of \(\Delta _3\) and \(\varepsilon =(1,0,2,3,4)\) of \(\Delta _4.\)

As already pointed out in [5], the construction of \(\Lambda (L,c)\) directly yields \(\rho _{{\bar{\varepsilon }}}(\Lambda (L,c))=s+1.\) On the other hand, it is easy to check - via formula (1) - that

$$\begin{aligned} 2\rho _{\varepsilon }(\Gamma (L,c))- 2\rho _{{\bar{\varepsilon }}}(\Lambda (L,c)) = g_{1,3}-g_{3,4}-g_{1,4}+p, \end{aligned}$$

where 2p is the order of \(\Gamma (L,c)\) (as well as of \(\Lambda (L,c)\)).

Since, by construction, \(g_{3,4}=g_{1,3}\) and \(g_{1,4}=p-2l\), we obtain:

$$\begin{aligned} \rho _{\varepsilon }(\Gamma (L,c))= \rho _{{\bar{\varepsilon }}}(\Lambda (L,c)) +l. \end{aligned}$$
(2)

The result about the regular genus of \(\Gamma (L,c)\) now directly follows.

(ii) As proved in [5,  Theorem 1], the 4-colored graph \(\Lambda (L,c)\) admits a finite sequence of moves, called generalized dipole eliminations,Footnote 10 which preserve the represented manifold and do not affect the quadricolor structures, but reduce the regular genus. Hence, a new 4-colored graph \(\Omega (L,c)\) representing \(M^3(L,c)\) is obtained, having regular genus \(m_\alpha \) with respect to the cyclic permutation \({\bar{\varepsilon }} = (1,0,2,3)\) of \(\Delta _3\) (see [5] for details). \(\Omega (L,c)\) contains a quadricolor for each component of L, too, and the results of Proposition 9(i) and (ii) may be applied, exactly as previously done for \(\Lambda (L,c)\), so to obtain - via the move depicted in Fig. 5 performed on a quadricolor for each component of L - a new 5-colored graph \({\tilde{\Gamma }}(L,c)\) representing \(M^4(L,c)\).Footnote 11

Now, it is not difficult to check that - in full analogy to Eq. (2) - the following relation holds between the regular genera of \({\tilde{\Gamma }}(L,c)\) and \(\Omega (L,c)\), with respect to \({\bar{\varepsilon }}\) and \(\varepsilon \) respectively:

$$\begin{aligned} \rho _{\varepsilon }({\tilde{\Gamma }}(L,c))= \rho _{{\bar{\varepsilon }}}(\Omega (L,c)) +l. \end{aligned}$$

Then, both statements of Theorem 7(ii) directly follow from \(\rho _{{\bar{\varepsilon }}}(\Omega (L,c))=m_\alpha \): \(\rho _{\varepsilon }({\tilde{\Gamma }}(L,c))= m_\alpha + l\), while \(\rho _{{\bar{\varepsilon }}}(({\tilde{\Gamma }}(L,c))_{{\hat{4}}}))= m_\alpha \) (since the \({\hat{4}}\)-residue of \({\tilde{\Gamma }}(L,c)\) is exactly \( \Omega (L,c)\)). \(\square \)

See Figs. 16 and 17 for examples of graphs \(\Omega (L,c)\) and \({\tilde{\Gamma }}(L,c)\) respectively, where (Lc) is the trefoil knot with framing \(+1.\)

Fig. 16
figure 16

The 4-colored graph \(\Omega (L,c)\) representing \(M^3(L,c)\), for \(c=+1\) and \(L=\) trefoil

Fig. 17
figure 17

The 5-colored graph \({\tilde{\Gamma }}(L,c)\) representing \(M^4(L,c)\), for \(c=+1\) and \(L=\) trefoil

5 From dotted links to 5-colored graphs

In this section we will take into account the more general case of Kirby diagrams with dotted components, extending the procedure and the results of Sect. 3. Note that, as a consequence, the class of manifolds involved in the construction includes all closed (simply-connected) 4-manifolds admitting a handle decomposition without 3-handles ([24,  Problem 4.18], which is of particular interest with regard to exotic PL 4-manifolds: see, for example, [1, 2]).

Let \((L^{(m)},d)\) be a Kirby diagram, where L is a link with l components, \(L_i\) for \(i\in \{1,\ldots ,m\}\) (resp. \(i\in \{m+1,\ldots ,l\}\)) being a dotted (resp. framed) component, and \(d=(d_1, \dots , d_{l-m})\), where \(d_i \in {\mathbb {Z}}\) \(\forall i \in \{1,\dots , l-m\}\) is the framing of the \((m+i)\)-th (framed) component.

As already recalled in the Introduction, we denote by \(M^4(L^{(m)},d)\) the 4-manifold with boundary obtained from \({\mathbb {D}}^4\) by adding m 1-handles according to the dotted components and \(l-m\) 2-handles according to the framed components of \((L^{(m)},d)\). The boundary of \(M^4(L^{(m)},d)\) is the closed orientable 3-manifold \(M^3(L,c)\) obtained from \({\mathbb {S}}^3\) by Dehn surgery along the associated framed link (Lc), obtained by substituting each dotted component by a 0-framed one, i.e. \(c=(c_1 \dots , c_{l})\), where \(c_i = {\left\{ \begin{array}{ll} 0 &{} 1\le i \le m \\ d_{i-m} &{} m+1 \le i \le l \end{array}\right. }.\)

In case \(M^3(L,c)\cong {\mathbb {S}}^3\), we will consider, and still denote by \(M^4(L^{(m)},d),\) the closed 4-manifold obtained by adding a further 4-handle.

Before describing the new procedure, the following preliminary notations are needed:

  • For each \(i\in \{1,\ldots ,m\},\) let us “mark” two points \(H_i\) and \(H_i^{\prime }\) on \(L_i\), such that they divide \(L_i\) into two parts, one containing only overcrossings and the other containing only undercrossings of L.Footnote 12

  • For each \(j\in \{m+1,\ldots ,l\},\) let us fix on \(L_j\) a point \(X_j\), between a curl and an undercrossing, and let us consider the component \(L_j\) in the diagram of L as the union of consecutive segments obtained by cutting it not only at undercrossings, but also at overcrossings and at the point \(X_j.\)

  • Then, for each \(j \in \{m+1, \dots , l\}\) let us “highlight” on \(L_j\) - starting from \(X_j\) and in the direction opposite to the undercrossing - a sequence \(Y_j\) of consecutive segments, so that, for each \(i\in \{1,\ldots ,m\},\) \(H_i\) and \(H_i^{\prime }\) belong to the boundary of the same region \({\mathcal {R}}_i\) of the “diagram” obtained from L by deleting the points \(X_{m+1},\ldots , X_l\) and the segments of the sequences \(Y_{m+1},\ldots , Y_l\) (with a little abuse of notation we will describe this new diagram as \(L - \cup _{j=m+1}^l (X_j \cup Y_j)\)). Note that \(Y_j\) can be empty, while it never comprehends all segments of \(L_j.\)

    Let us denote by \(Y=Y_{m+1} \wedge \dots \wedge Y_l\) the sequence resulting from juxtaposition of the sequences of highlighted segments.

  • Finally, for each \(i\in \{1,\ldots ,m\}\), let \({\bar{e}}_i\) (resp. \({\bar{e}}_i^{\prime }\)) be the 1-colored edge of \(\Lambda (L,c)\) “parallel” to the part of arc of \(L_i\) containing the point \(H_i\) (resp. \(H_i^{\prime }\)) “on the side” of the regions of L merging into \({\mathcal {R}}_i\) (see Remark 3), and let \(v_i\) (resp. \(v_i^{\prime }\)) be its endpoint belonging to the subgraph corresponding to an undercrossing of the dotted component \(L_i\).

PROCEDURE C - from \((\mathbf {L}^{(\mathbf {m})},\mathbf {d})\) to \(\varvec{\Gamma }(\mathbf {L}^{(\mathbf {m})},\mathbf {d})\) (representing \(\mathbf {M}^{\mathbf {4}}(\mathbf {L}^{(\mathbf {m})},\mathbf {d})\))

  1. (a)

    Let \(\Lambda (L,c)\) be the 4-colored graph constructed from (Lc) according to Procedure A; in \(\Lambda (L,c)\), let us choose a quadricolor \({\mathcal {Q}}_j\) for each (undotted) component \(L_j\, (j\in \{m+1,\ldots ,l\})\) in the position corresponding to the point \(X_j\).

  2. (b)

    Follow the sequence \(Y=Y_{m+1} \wedge \dots \wedge Y_l\), starting, for each \(j\in \{m+1,\ldots ,l\}\) with \(Y_j \ne \emptyset ,\) from the segment corresponding to the pair of 1-colored edges adjacent to vertices \(P_4\) and \(P_5\) identified by the quadricolor \(Q_j;\) at each step of the sequence, if \(f,f^{\prime }\) is the pair of 1-colored edges which are “parallel” to the considered highlighted segment, then:

    if no 4-colored edge has already been added to the endpoints of f and \(f^\prime \), join, by 4-colored edges, endpoints of f to endpoints of \(f^{\prime }\) belonging to different bipartition classes of \(\Lambda (L,c);\) otherwise connect only the endpoints of f and \(f^{\prime }\) having no already incident 4-colored edge.

    Moreover, if two consecutive highlighted segments correspond to an undercrossing, whose overcrossing does not correspond to previous segments in Y, add 4-colored edges so to double the pairs of 0-colored edges within the subgraph corresponding to that crossing.

  3. (c)

    For each \(i\in \{1,\ldots , m\}\), add a 4-colored edge, so to connect \(v_i\) and \({v_i^{\prime }}\).

  4. (d)

    For each \(j\in \{m+1,\ldots , l\}\), add a triad of 4-colored edges between the vertices \(P_{2r}\) and \(P_{2r+1}\), \(\forall r \in \{0,1,2\}\), of the quadricolor \({\mathcal {Q}}_j\) (as shown in Fig. 5).

  5. (e)

    Add 4-colored edges between the remaining vertices of \(\Lambda (L,c)\), joining those which belong to the same \(\{1,4\}\)-residue.

Remark 6

We point out that a quadricolor always arises in a component \(L_j\) (\(j \in \{m+1, \dots , l\}\)) of \(\Lambda (L,c)\) not only between a curl and an undercrossing but also between two curls with the same sign. Actually in this last case two quadricolors appear, one for each curl, and either of them can be indifferently chosen as \({\mathcal {Q}}_j\); therefore we put the point \(X_j\) between the curls and the sequence \(Y_j\) can start from either “side” of it. Moreover, note that the position of points \(X_j\) may be suitably chosen, so to minimize the length of the sequence Y, provided that the above conditions for the existence of the quadricolor are satisfied.

Example 5

Figures 18 and 19 show the result of the above construction applied to the depicted Kirby diagrams. In particular, note that step (b) of Procedure C is not required for the graph of Fig. 18, since the highlighted sequence of segments is empty; on the contrary, the case of Fig. 19 requires to highlight a suitable set of consecutive segments in the Kirby diagram, as depicted in Fig. 20. Via Kirby calculus, it is easy to check that the 5-colored graph in Fig. 18 represents the 4-sphere, while the 5-colored graph in Fig. 19 represents \({\mathbb {S}}^2\times {\mathbb {D}}^2\); both facts can also be proved via suitable sequences of dipole moves.

Fig. 18
figure 18

A Kirby diagram and the 5-colored graph representing the associated (closed) 4-manifold (\({\mathbb {S}}^4\))

Fig. 19
figure 19

A Kirby diagram and the 5-colored graph representing the associated bounded 4-manifold (\({\mathbb {S}}^2 \times {\mathbb {D}}^2\))

Fig. 20
figure 20

The Kirby diagram of Fig. 19, with points and highlighted segments, according to Procedure C. The yellow highlighted segments form the sequence \(Y_2\), while \(Y_3=\emptyset .\) The shaded regions, together with the infinite one, give rise to the region \({\mathcal {R}}_1\) of \(L - \cup _{j=2}^3 (X_j \cup Y_j)\) containing both points \(H_1\) and \(H_1^{\prime }\)

Example 6

Given a framed link \((L^{(m)},d)\), the above construction may be implemented in different ways, depending on the choice of the points \(X_i\) (\(i=m+1,\dots , l\)) on the framed components [step (a) of Procedure C] and on the choice of the sequence \(Y=Y_{m+1} \wedge \dots \wedge Y_l\) of highlighted segments [step (b) of Procedure C]. Figures 21 and 22 show two possibile ways to perform the above choices on the same Kirby diagram: in Fig. 21 (resp. Fig. 22) the yellow highlighted segments form the sequence \(Y_3\), while the green highlighted segments form the sequence \(Y_4\) (resp. while \(Y_4=\emptyset \)). Note that, in the case of Fig. 21, the regions \({\mathcal {R}}_1\) and \({\mathcal {R}}_2\) of \(L - \cup _{j=3}^4 (X_j \cup Y_j)\) coincide: they are obtained by merging the shaded regions, together with the infinite one. On the other hand, in the case of Fig. 22, the regions \({\mathcal {R}}_1\) and \({\mathcal {R}}_2\) of \(L - \cup _{j=3}^4 (X_j \cup Y_j)\) are distinct.

Fig. 21
figure 21

A Kirby diagram, with a possible choice of points and highlighted segments of arcs.

Fig. 22
figure 22

Another possible choice of points and highlighted segments of arcs, on the same Kirby diagram of Fig. 21.

The proof that the graph obtained via Procedure C really represents \(M^4(L^{(m)},d)\) is given in Theorem 12. In order to help the reader, we can anticipate that it will be performed by means of the followings steps:

  1. (i)

    starting from the 4-colored graph \(\Lambda (L,c)\) - already proved to represent \(M^3(L,c)\) in [5] - we obtain a 4-colored graph \(\Lambda _{{\textit{smooth}}}\) representing \(\#_m({\mathbb {S}}^1 \times {\mathbb {S}}^2)\) by suitably exchanging a triad of 1-colored edges for each framed component of \((L^{(m)},d)\) [Proposition 11(i)];

  2. (ii)

    by capping-off with respect to color 1, we obtain a 5-colored graph representing \([\#_m({\mathbb {S}}^1 \times {\mathbb {S}}^2)]\times I\);

  3. (iii)

    this 5-colored graph is modified by a sequence of moves not affecting the represented 4-manifold (the so called \(\rho _2\)-pairs switching), so to have on one boundary component of \([\#_m({\mathbb {S}}^1 \times {\mathbb {S}}^2)]\times I\) a particular structure (called \(\rho _3\)-pair) for each dotted component of \((L^{(m)},d)\);

  4. (iv)

    a suitable move (\(\rho _3\)-pair switching) is applied on each such structure, realizing - on the considered boundary component - the attachment of 1-handles corresponding to the m dotted components of \((L^{(m)},d)\) [Proposition 11(ii)];

  5. (v)

    by re-establishing the triads of 1-colored edges of step (i), the 5-colored graph \(\Gamma (L^{(m)},d)\) is obtained. Since its only singular 4-residue is the \({\hat{4}}\)-residue \(\Gamma (L,c)\), it represents a 4-manifold with connected boundary \(M^3(L,c)\); moreover, \(\Gamma (L^{(m)},d)\) represents \(M^4(L^{(m)},d)\) since - similarly as in Procedure B - each triad re-exchanging is proved to correspond to the addition of a 2-handle according to the framed component, on the remaining boundary component [Proposition 9(ii)].

In order to go into details, the notion of \(\rho \)-pairFootnote 13 and some preliminary results are needed.

Definition 6

A \(\rho _h\)-pair (\(1\le h\le n\)) of color \(c\in \Delta _n\) in a bipartite \((n+1)\)-colored graph \(\Gamma \) is a pair of c-colored edges (ef) sharing the same \(\{c,i\}\)-colored cycle for each \(i\in \{c_1,\ldots ,c_h\}\subseteq \Delta _n.\) Colors \(c_1,\ldots ,c_h\) are said to be involved, while the other \(n-h\) colors are said to be not involved in the \(\rho _h\)-pair.

The switching of (ef) consists in canceling e and f and establishing new c-colored edges between their endpoints in such a way as to preserve the bipartition.

The topological consequences of the switching of \(\rho _{n-1}\)- and \(\rho _n\)-pairs have been completely determined in the case of closed n-manifolds: see [3], where it is proved that a \(\rho _{n-1}\)-pair (resp. \(\rho _n\)-pair) switching does not affect the represented n-manifold (resp. either induce the splitting into two connected summands, or the “loss” of a \({\mathbb {S}}^1 \times {\mathbb {S}}^{n-1}\) summand in the represented n-manifold). In dimension three the study has been performed also in the case of manifolds with boundary: see [15], where more cases are proved to occur.

As we will see in the proof of the following Proposition 11, we are particularly interested in the effect of switching \(\rho _{2}\)- and \(\rho _{3}\)-pairs in 5-colored graphs. A useful result is the following.

Lemma 10

Let (ef) be a \(\rho _2\)-pair in a 5-colored graph \(\Gamma \) representing a compact 4-manifold \(M^4\) and let \(\Gamma ^\prime \) be obtained from \(\Gamma \) by switching the \(\rho _2\)-pair. Then \(\Gamma ^\prime \) represents \(M^4\), too.

Moreover, for each cyclic permutation \(\varepsilon \) of \(\Delta _4\), where \(\varepsilon _k\) is the color of (ef):

  • if both \(\varepsilon _{k-1}\) and \(\varepsilon _{k+1}\) are involved, then \(\rho _\varepsilon (\Gamma ^\prime )=\rho _\varepsilon (\Gamma )-1\)

  • if neither \(\varepsilon _{k-1}\) nor \(\varepsilon _{k+1}\) is involved, then \(\rho _\varepsilon (\Gamma ^\prime )=\rho _\varepsilon (\Gamma )+1\)

  • if exactly one between \(\varepsilon _{k-1}\) and \(\varepsilon _{k+1}\) is involved, then \(\rho _\varepsilon (\Gamma ^\prime )=\rho _\varepsilon (\Gamma ).\)

Proof

In order to prove that \(\Gamma ^\prime \) represents \(M^4\), too, it is sufficient to observe that the switching of (ef) can be factorized by a sequence of dipole moves as shown in Fig. 23, i.e. by the addition of a 2-dipole of the colors not involved in the \(\rho _2\)-pair, followed by the cancellation of a 2-dipole of the colors involved in the \(\rho _2\)-pair. Note that any 2-dipole in a 5-colored graph is proper (see Proposition 5), and hence both moves do not change the represented manifold, since - as already pointed out in Sect. 2 - they correspond to re-triangulations of balls embedded in the cell-complexes associated to the involved colored graphs.

With regard to the regular genus of \(\Gamma ^\prime \) with respect to \(\varepsilon \), note that the switching of (ef) increases by one (resp. decreases by one) the number of \(\{\varepsilon _k,i\}\)-colored cycles of \(\Gamma \) if i is an involved (resp. a not involved) color, while the number of \(\{i,j\}\)-colored cycles with \(i,j\ne \varepsilon _k\) is not changed. An easy calculation yields the statement. \(\square \)

Fig. 23
figure 23

Factorization of a \(\rho _2\)-pair switching into two proper dipoles (not affecting the represented 4-manifold)

Proposition 11

  1. (i)

    The 4-colored graph \(\Gamma ^{(m)}_{{\textit{smooth}}}\), obtained from \(\Lambda (L,c)\) by exchanging the triad of 1-colored edges (according to Fig. 12) in a quadricolor for each framed component of \((L^{(m)},d)\), represents \(\#_m ({\mathbb {S}}^1 \times {\mathbb {S}}^2)\).

  2. (ii)

    The 5-colored graph \({\bar{\Gamma }}^{(m)}_{{\textit{smooth}}}\), obtained by applying steps (b) and (c) of Procedure C to \(\Gamma ^{(m)}_{{\textit{smooth}}}\), and then by “capping off” with respect to color 1, represents the genus m 4-dimensional handlebody \({\mathbb {Y}}^4_m\).

Proof

Part (i) directly follows from Proposition 9(i), by noting that, if all framed components of \((L^{(m)},d)\) are deleted, only the m dotted components remain, and the associated framed link, consisting in m disjoint trivial 0-framed components, actually represents the 3-manifold \(\#_m ({\mathbb {S}}^1 \times {\mathbb {S}}^2)\).

As regards part (ii), it is necessary to note that \(\Gamma ^{(m)}_{{\textit{smooth}}}\) gives rise, by “capping off” with respect to color 1, to a 5-colored graph representing \([\#_m ({\mathbb {S}}^1 \times {\mathbb {S}}^2)] \times I\), whose two boundary components - both homeomorphic to \(\#_m ({\mathbb {S}}^1 \times {\mathbb {S}}^2)\) - are represented by the (color-isomorphic) subgraphs \(\Theta \) and \(\Theta ^\prime \), obtained by deleting the \(4-\)colored and \(1-\)colored edges respectively. This 5-colored graph admits \(\rho _2\)-pairs of color 4 in a suitable sequence induced by the sequence of 2-dipoles whose cancellation from \(\Gamma ^{(m)}_{{\textit{smooth}}}\) yields \(\Lambda (\bigsqcup _m K_0, 0)\), the 4-colored graph associated to the trivial link with m 0-framed components (see Remark 5, applied to all framed components of \((L^{(m)},d)\)). The switching of these \(\rho _2\)-pairs is equivalent (up to “capping off” with respect to color 1) to the addition of 4-colored edges according to step (b) in \(\Lambda (L,c).\)

More precisely, the pairs of 4-colored edges that have to be switched in the sequence of \(\rho _2\)-pairs are exactly the 4-colored edges adjacent to the pairs of vertices constituting 2-dipoles of the sequence of dipole eliminations (starting, for each \(j\in \{m+1,\ldots ,l\}\) such that \(Y_j\ne \emptyset \), with the dipole whose vertices are 2-adjacent to the vertices \(P_4\) and \(P_5\) identified by the quadricolor \({\mathcal {Q}}_j\)) from \(\Gamma ^{(m)}_{{\textit{smooth}}}\) to \(\Lambda (\bigsqcup _m K_0, 0)\); moreover, the colors involved in each \(\rho _2\)-pair are exactly those (never comprehending color 1) of the corresponding 2-dipole.

Hence, the graph \({\tilde{\Gamma }}^{(m)}_{{\textit{smooth}}}\), obtained after all \(\rho _2\)-pairs switchings, still represents \([\#_m ({\mathbb {S}}^1 \times {\mathbb {S}}^2)] \times I\) and one of its boundary component is represented by \(\Theta \), too, but the other is represented by the 4-colored graph \(\Theta ^{\prime \prime }\) obtained from \(\Theta ^\prime \) by switching \(\rho _2\)-pairs induced by the above ones.

We point out that, for each \(i\in \{1,\ldots , m\}\), the pair of 4-colored edges having an endpoint in \(v_i\) and \({v^{\prime }_i}\) respectively, turn out to form a \(\rho _3\)-pair of color 4 in \({\tilde{\Gamma }}^{(m)}_{{\textit{smooth}}}.\) In fact, they double \({\bar{e}}_i\) and/or \({\bar{e}}_i^{\prime }\), or they arise from the possible switching of 4-colored edges doubling \({\bar{e}}_i\) and/or \({\bar{e}}_i^{\prime }\) by the above sequence of \(\rho _2\)-pairs switchings; as a consequence, they belong both to the same \(\{0,4\}\)-residue and to the same \(\{3,4\}\)-residue (since \({\bar{e}}_i\) and \({\bar{e}}_i^{\prime }\) share both the same \(\{0,1\}\)-residue and the same \(\{1,3\}\)-residue in \(\Lambda (L,c)\)), and the sequence of \(\rho _2\)-pair switchings makes them to belong also to the same \(\{2,4\}\)-residue (which corresponds to the boundary of the region \({\mathcal {R}}_i\) of \(L - \cup _{j=m+1}^l (X_j \cup Y_j)\)).

It is known that the switching of a \(\rho _3\)-pair in a 4-colored graph representing a closed 3-manifold has the effect of “subtracting” an \({\mathbb {S}}^1\times {\mathbb {S}}^2\) summand (see [3] for details); hence the switching of the above m \(\rho _3\)-pairs transforms \(\Theta ^{\prime \prime }\) into a 4-colored graph representing \({\mathbb {S}}^3\), while the \({\hat{4}}\)-residue \(\Theta \) is unaltered and each \({\hat{c}}\)-residue for \(c\in \{0,2,3\}\) still represents the 3-sphere as in \({\tilde{\Gamma }}^{(m)}_{{\textit{smooth}}}\) (since a \(\rho _2\)-pair switching has been performed in each affected \({\hat{c}}\)-residue, for \(c\in \{0,2,3\}\)).

Moreover, supposing (ef) to be one of the above \(\rho _3\)-pairs in \({\tilde{\Gamma }}^{(m)}_{{\textit{smooth}}}\), its switching can be factorized as in Fig. 24 by inserting a 1-colored edge and subsequently canceling a 3-dipole. The insertion of the 1-colored edge in the colored triangulation associated to \({\tilde{\Gamma }}^{(m)}_{{\textit{smooth}}}\) consists in “breaking” a tetrahedral face on the boundary of \([\#_m ({\mathbb {S}}^1 \times {\mathbb {S}}^2)] \times I\) corresponding to the \({\hat{1}}\)-residue \(\Theta ^{\prime \prime }\), and inserting a new pair of 4-simplices sharing the same 3-dimensional face opposite to the 1-labelled vertex; hence, it may be seen as the attachment of a polyhedron homeomorphic to \({\mathbb {D}}^3\times {\mathbb {D}}^1\) to the considered boundary, so to transform it into a triangulation of \(\#_{m-1} ({\mathbb {S}}^1 \times {\mathbb {S}}^2)\), without affecting the interior of \([\#_m ({\mathbb {S}}^1 \times {\mathbb {S}}^2)] \times I\), nor its boundary corresponding to the \({\hat{4}}\)-residue.Footnote 14 Whenever all m \(\rho _3\)-pairs are switched, the \({\hat{1}}\)-residue of the obtained 5-colored graph comes to represent the 3-sphere, i.e. the represented 4-manifold has a connected boundary, corresponding to the (unaltered) \({\hat{4}}\)-residue \(\Theta = \Gamma ^{(m)}_{{\textit{smooth}}}\).

On the other hand, the switching of these \(\rho _3\)-pairs is equivalent (up to “capping off” with respect to color 1) to the addition of 4-colored edges in \(\Lambda (L,c)\) according to step (c); therefore, step (c) of Procedure C can be thought of as the identification \(\phi \) between the boundary of a genus m 4-dimensional handlebody \({\mathbb {Y}}^4_m\) and the boundary component represented by \(\Theta ^{\prime \prime }\) in the triangulation of \( [\#_m ({\mathbb {S}}^1 \times {\mathbb {S}}^2)] \times I\) obtained in step (b).

This proves statement (ii), since \({\bar{\Gamma }}^{(m)}_{{\textit{smooth}}}\) - which admits 4 as its unique singular color - turns out to represent \({\mathbb {Y}}^4_m \cup _\phi ([\#_m ({\mathbb {S}}^1 \times {\mathbb {S}}^2)] \times I) \cong {\mathbb {Y}}^4_m.\) \(\square \)

Fig. 24
figure 24

Factorization of a \(\rho _3\)-pair switching into two moves, the first (resp. second) one possibly affecting (resp. always not affecting) the represented 4-manifold

We are now going to prove that the 5-colored graph \(\Gamma (L^{(m)},d)\) obtained via Procedure C [i.e. by applying to \(\Lambda (L,c)\) steps (b)–(e)] represents the compact 4-manifold associated to the Kirby diagram; we will also give an estimation of its regular genus and compute its order. With this aim, if \((L^{(m)},d)\) is a Kirby diagram with l components where the first \(m > 0\) ones are dotted and s crossings, and (Lc) is its associated framed link, let us set, for each \(i\in \{m+1,\ldots ,l\}\),

$$\begin{aligned} {\bar{t}}_i = {\left\{ \begin{array}{ll} \vert w_i-c_i\vert &{}\quad {\textit{if}}\; w_i \ne c_i \\ 2 &{}\quad {\textit{otherwise}} \end{array}\right. } \end{aligned}$$

where \(w_i\) denotes the writhe of the i-th (framed) component of L;  moreover, let us denote by u the number of undercrossings which are passed when following the sequence Y, with the condition that the associated overcrossing does not correspond to previous segments in the sequence itself.

Theorem 12

For each Kirby diagram \((L^{(m)},d)\), the bipartite 5-colored graph \(\Gamma (L^{(m)},d)\) represents the compact 4-manifold \(M^4(L^{(m)},d).\)

Moreover, it has regular genus less or equal to \(s + (l-m) + u +1\) and, if L is different from the trivial knot, its order is \(8s + 4\sum _{i=m+1}^l {\bar{t}}_i.\)

Proof

In order to prove the first statement, we point out that in the Proof of Proposition 11(ii) we have considered a suitable triangulation of \([\#_m ({\mathbb {S}}^1 \times {\mathbb {S}}^2)] \times I\), and then we have “closed” one of its boundary components by identifying it with the boundary of the genus m 4-dimensional handlebody (via the addition of 4-colored edges according to steps (b) and (c) of the Procedure C). Hence, the polyhedron represented by \({\bar{\Gamma }}^{(m)}_{{\textit{smooth}}}\) may be seen as the union of 0- and 1-handles of \(M^4(L^{(m)},d),\) plus a “collar” on its boundary. Moreover, the “free” boundary, homeomorphic to \(\#_m ({\mathbb {S}}^1 \times {\mathbb {S}}^2)\), is represented by the 4-colored graph \(\Theta = ({\bar{\Gamma }}^{(m)}_{{\textit{smooth}}})_{{\hat{4}}}= \Gamma ^{(m)}_{{\textit{smooth}}}\). Then, in order to obtain a 5-colored graph representing \(M^4(L^{(m)},d),\) it is sufficient to operate on this “free” boundary, so to perform the addition of a 2-handle according to each framed component of \((L^{(m)},d)\). Now, the Proof of Proposition 9(ii) shows that the goal is achieved by exchanging the triad of 1-colored edges, according to Fig. 13, in the quadricolor \(Q_j\) of the j-th component of \((L^{(m)},d)\), for each \(j\in \{m+1,\ldots , l\}\). Since all these exchanging of 1-colored edges have the effect to transform \(\Gamma ^{(m)}_{{\textit{smooth}}}\) into \(\Lambda (L,c)\), and step (d) applied to \(\Lambda (L,c)\) is equivalent to the exchanging of 1-colored edges according to Fig. 13 applied to \({\bar{\Gamma }}^{(m)}_{{\textit{smooth}}}\), the final 5-colored graph representing the compact 4-manifold \(M^4(L^{(m)},d)\) turns out to be obtained by applying directly to \(\Lambda (L,c)\) steps (b)–(d), and then by “capping off” with respect to color 1 [step (e)].

In order to give an estimation of the regular genus of \(\Gamma (L^{(m)},d)\), we first recall that \(\rho _{{\bar{\varepsilon }}}(\Lambda (L,c))=s+1\) with \({\bar{\varepsilon }}=(1,0,2,3)\) [see also the Proof of Theorem 7(i)], and hence that \(s+1\) is also the regular genus, with respect to the permutation \(\varepsilon = (1,0,2,3,4)\), of the 5-colored graph obtained by doubling the 1-colored edges of \(\Lambda (L,c)\) by color 4. Then, we have to analyze how the regular genus is affected by the switchings of \(\rho _2\)- and \(\rho _3\)-pairs and the exchanging of triad of edges in the quadricolors described in the Proofs of Proposition 11 and Theorem 7.

Now, let us point out that color 1 is never involved in the considered \(\rho _2\)-pairs, while color 3 is involved only in one of the two \(\rho _2\)-pairs corresponding to an undercrossing whose associated overcrossing does not correspond to previous segments in the sequence Y. Therefore, by Lemma 10, the regular genus with respect to \(\varepsilon \) increases by u, when performing the sequence of \(\rho _2\)-pairs corresponding to the sequence Y.

With regard to the \(\rho _3\)-pairs, since they do not involve color 1, which is consecutive in \(\varepsilon \) to color 4, the same argument used in the Proof of Lemma 10 shows that the regular genus does not change after their switchings.

Finally, the exchanging of the triad of 4-colored edges in a quadricolor, producing the attaching of a 2-handle, decreases by two the number of \(\{1,4\}\)-colored cycles, while the numbers of all other bicolored cycles remain unaltered (see Fig. 13). Hence, the regular genus increases by one for each quadricolor. Since the quadricolors are \(l-m\), the statement is proved.

The proof of the theorem is completed by noting that \(\Gamma (L^{(m)},d)\) has exactly the same order as \(\Gamma (L,c)\) (and as \(\Lambda (L,c)\), too). Hence, its calculation directly follows from Theorem 7(i). \(\square \)

We are now able to prove both upper bounds for the invariants of the 4-manifold associated to a Kirby diagram, already stated in Theorem 2 in the Introduction.

Proof of Theorem 2

The upper bound for the regular genus of \(M^4(L^{(m)},d)\) directly follows from the computation of \(\rho _{{\bar{\varepsilon }}}(\Gamma (L^{(m)},d))\) obtained in Theorem 12, together with the trivial inequality \(u \le {\bar{s}}\).

As regards the upper bound for the gem-complexity, it is sufficient to make use of the computation of the order of \(\Gamma (L^{(m)},d)\) obtained in Theorem 12, by pointing out that \(\Gamma (L^{(m)},d)\) contains a pair of 3-dipoles of colors \(\{0,1,4\}\) for each pair of adjacent undercrossings of dotted components; hence, a new 5-colored graph \(\Gamma ^{\prime }(L^{(m)},d))\) representing \(M^4(L^{(m)},d)\) may be obtained, with

$$\begin{aligned} \#V(\Gamma ^{\prime }(L^{(m)},d)) = \#V(\Gamma (L^{(m)},d)) - 4 [ (s- {\bar{s}}) - m] = 4s + 4 {\bar{s}} + 4m + 4\sum _{i=m+1}^l {\bar{t}}_i. \end{aligned}$$

\(\square \)