1 Introduction

Our main result has topological, combinatorial and computational flavor and is connecting four fundamental conjectures:

Conjecture 1.1

  1. (a)

    Computing Khovanov homology of a closed braid with fixed number of strands has polynomial time complexity with respect to the number of crossings.

  2. (b)

    Determining the homotopy type of the geometric realization of Khovanov homology (Khovanov spectra) of a closed braid with fixed number of strands has polynomial time complexity with respect to the number of crossings.

A fundamental difference between Alexander polynomial and Jones (and HOMFLYPT) polynomial is that Alexander polynomial can be computed in polynomial time while finding Jones (and HOMFLYPT) polynomial is NP-hard [9, 22]. Thus computing Khovanov homology, a categorification of Jones polynomial, is NP-hard. At the moment, all existing programs computing Khovanov homology have exponential complexity (compare [3]). Therefore finding an algorithm of polynomial time complexity for Khovanov homology of closed braids with a fixed number of strands, would be the game changer allowing posing and testing conjectures about structure of Khovanov homology.

Initial motivation for Conjecture 1.1 (a) comes from the fact that computing HOMFLYPT (and therefore Jones) polynomial of a closed braid with fixed number of strands has polynomial time complexity. Such polynomial growth algorithm was developed by Morton and Short in [16], even if complexity was not discussed in that paper.

The second conjecture concerns the geometric realization of extreme Khovanov homology. Lipshitz and Sarkar introduced a graded family of spectra associated to a link diagram refining Khovanov homology [15], called Khovanov spectra. Independently, in [8] it was introduced a method to associate to every link diagram D a simplicial complex \(I_D\) so that its cohomology equals Khovanov homology of D at extreme quantum grading. This construction was proven to be equivalent to that of Lipshitz and Sarkar in extreme quantum grading [5]. The following conjecture was formulated in [17].

Conjecture 1.2

The geometric realization of the extreme Khovanov homology (extreme Khovanov spectrum) is homotopy equivalent to a wedge of spheres (allowing empty wedge, i.e., a contractible set).

The construction in [8] involves the independence complex of certain circle graphs (not necessarily connected) called Lando graphs. By construction, Lando graphs turn out to be bipartite, so they are a proper subset of the family of circle graphs. The third conjecture, formulated also in [17], generalizes Conjecture 1.2 and it is formulated purely in the language of algebraic combinatorics.

Conjecture 1.3

(Wedge of spheres conjecture) The independence complex of a circle graph is homotopy equivalent to a wedge of spheres.

The fourth conjecture is essentially that of Adamaszek (compare to [1]). However, he formulated it as a question, but our calculations and partial results gave us support to state it as a conjecture. Note that, by Theorem 2.5, Conjecture 1.4 implies Conjecture 1.1 (b) at extreme quantum grading.

Conjecture 1.4

The homotopy type of the independence complex of a circle graph can be found in polynomial time with respect to the number of vertices of the graph.

In this paper we solve Conjecture 1.1 in the case of extreme Khovanov homology and its geometric realization for 4-strands braids. As a byproduct of the paper we also solve Conjectures 1.21.3 and 1.4 in those cases related to 4-strands braids. Our main result is the following:

Theorem 1.5

Let w be a braid diagram on 4 strands and write \(\hat{w}\) for its closure. Then, the homotopy type of the geometric realization I(w) of the extreme Khovanov homology of \(\hat{w}\) can be computed in polynomial time. Moreover, if not contractible, I(w) is homotopy equivalent to either a sphere, or a wedge of two spheres, or \(S^k \vee S^i \vee S^i\), or \(S^k \vee S^i \vee S^i \vee S^i\), with \(k \ge i\).

As a consequence of the above result, we get the following corollary, that can be used to find criteria for links to have Khovanov adequate braid diagrams on 4 strands (see Sect. 9.1).

Corollary 1.6

Let \(\beta \) be a 4-strands braid diagram and \(\hat{\beta }\) its closure. Then its extreme Khovanov homology \(Kh_{*,j_{\min }}(\hat{\beta })\) is trivial or equal to \(\mathbb {Z}\), to \(\mathbb {Z}[k] \oplus \mathbb {Z}[i]\), to \(\mathbb {Z}[k]\oplus \mathbb {Z}^2[i]\), or to \(\mathbb {Z}[k]\oplus \mathbb {Z}^3[i]\), where \(k\ge i\) and [h] denotes the homological grading of Khovanov homology.

Observe that results in this paper are stated in terms of unoriented (framed) Khovanov homology (see Sect. 2 and compare to [21]). To get analogous result in terms of oriented version of Khovanov homology, one needs to adjust gradings as indicated in Remark 2.1.

The paper is organized as follows:

In Sect. 2 we briefly review the definition of Khovanov homology of unoriented (framed) links following Viro [21] and recall the geometric realization of extreme Khovanov homology introduced in [8].

Section 3 is devoted to independence complexes of graphs. After recalling basic properties, we analyze the homotopy type of complicated graphs (e.g. augumented rhomboid graphs), which will be crucial in the proof of Theorem 1.5.

In Sect. 4 we introduce some basic definitions concerning the braid monoid \(M_n\) and Temperley-Lieb monoid \(M^{TL}_n\); this allows us to explain the scheme of the proof of Theorem 1.5 in Sect. 5. The proof is completed in Sects. 67 and 8.

We finish our paper with some applications and concluding remarks in Sect. 9.

2 Khovanov homology

We briefly review the definition of Khovanov homology of unoriented (framed) links following Viro [21] and recall the geometric realization of extreme Khovanov homology introduced in [8].

Let D be an unoriented link diagram with c ordered crossings. A Kauffman state s assigns a label, A or B, to each crossing of D, that is,   \(s:~cr(D)~\rightarrow \{A,B\}\). Set \(\sigma (s) = |s^{-1}(A)|- |s^{-1}(B)|\) and let \(\mathcal {S}\) be the collection of \(2^{c}\) possible states of D. The resolution sD is the system of circles and chords obtained after smoothing each crossing of D according to the label assigned by s by following the convention in Fig. 1. We write |s| for the number of circles in sD.

Fig. 1
figure 1

Smoothing of a crossing according to its A or B-label. A-chords (resp. B-chords) are represented by dark (resp. light) segments

An enhancement of a state s is a map \(\epsilon \) assigning a sign \(\pm 1\) to each of the circles in sD. We sometimes keep the letter s for the enhanced state \((s, \epsilon )\) to avoid cumbersome notation. Write \(\tau (s, \epsilon ) =\Sigma \epsilon (r)\), where r ranges over all circles in sD, and define, for the enhanced state \((s,\epsilon )\), the integers

$$\begin{aligned} i(s, \epsilon ) = i(s) = \sigma (s), \quad \quad j(s, \epsilon ) = \sigma (s) + 2 \tau (s, \epsilon ). \end{aligned}$$

The enhanced state \(s'\) is said to be adjacent to the enhanced state s if \(i(s')=i(s)-2\),   \(j(s')=j(s)\), both states have identical labels except for one crossing v, where s assigns an A-label and \(s'\) a B-label, and they assign the same sign to the common circles in resolutions sD and \(s'D\).

Let \(C_{i,j}(D)\) be the free abelian group generated by the set of enhanced states s of D with \(i(s)=i\) and \(j(s)=j\). For each integer j, consider the chain complex

$$\begin{aligned} \ldots \, \longrightarrow \, C_{i,j} \, {\mathop {\longrightarrow }\limits ^{\partial _{i,j}}} \, C_{i-2,j} \,\longrightarrow \, \ldots \end{aligned}$$

with differential \(\partial _{i,j}(s) = \Sigma _{s'\in \mathcal {S}} (s:s') s'\), with \((s:s')=0\) if \(s'\) is not adjacent to s and otherwise \((s:s')=(-1)^k\), with k the number of B-labeled crossings in s coming after crossing v in the chosen ordering.

It turns out that \(\partial _{i-2,j}\circ \partial _{i,j}=0\) and the corresponding homology groups

$$\begin{aligned} Kh_{i,j}(D) = \frac{ker(\partial _{i,j})}{im(\partial _{i+2,j})} \end{aligned}$$

are invariants of framed unoriented links, and they categorify the unreduced Kauffman bracket polynomial. We refer to them as (framed) Khovanov homology groups of D.

Remark 2.1

The framed unoriented version of Khovanov homology is equivalent to its oriented version, which categorifies Jones polynomial. Framed and oriented version are related by \(Kh_{i,j}(D) = H^{I,J}(\vec {D})\), where \(I= \frac{w-i}{2}\) and \(J=\frac{3w-j}{2}\), with w the writhe of the oriented diagram \(\vec {D}\).

Let \(j_{\min }(D) = \min \{j(s,\epsilon ) \, | \, (s,\epsilon ) \text{ is } \text{ an } \text{ enhanced } \text{ state } \text{ of } D\}.\) We will refer to the complex \(\{C_{i,j_{\min }}(D), \partial _i\}\) as the extreme Khovanov complex and to the corresponding homology groups \(Kh_{i, j_{\min }}(D)\) as the (potential) extreme Khovanov homology groups of D. If we denote by \(s_B\) the state assigning a B-label to every crossing of D, then \(j_{\min }(D)=-c-2|s_B|\).

Remark 2.2

Note that the integer \(j_{\min }(D)\) depends on the diagram and may differ for two different diagrams representing the same link. It may happen that \(Kh_{*,j_{\min }}(D)=0\).

Next, we review the construction from [8] to describe a geometric realization of the extreme Khovanov complex in terms of certain simplicial complex.

Definition 2.3

Given a link diagram D, write \(s_B\) for the state assigning a B-label to every crossing of D. The Lando graph of D, \(G_D\), is constructed from \(s_BD\) by associating a vertex to each chord having both endpoints in the same circle,Footnote 1 and adding an edge connecting two vertices if the endpoints of the corresponding chords alternate in the same circle. See Fig. 2a–d.

The independence complex I(G) of a graph G is defined as the simplicial complex whose simplices are the independent subsets of vertices of G, that is, the subsets of pairwise non-adjacent vertices of G. For the empty graph \(G_\emptyset \) we set \(I(G_\emptyset )\) to be homotopy equivalent to \(S^{-1}\), the sphere of dimension \(-1\).

Remark 2.4

If G contains a loop based in a vertex v, then \(I(G)=I(G-v)\). If \(e, e'\) are two edges connecting the same pair of vertices, then \(I(G) = I (G-e)\). Moreover, the independence complex of the disjoint union of two graphs equals the join of their independence complexes, that is, \(I(G_1 \sqcup G_2) = I(G_1) *I(G_2)\).

Fig. 2
figure 2

a A link diagram D, b, c the resolution \(s_BD\), d the associated Lando graph \(G_D\), e the geometric realization of \(I_D\)

Given a diagram D, the (simplicial) complex \(I_D\) is defined as the independence complex of its associated Lando graph, i.e., \(I_D=I(G_D)\). Figure 2e illustrates this definition.

Theorem 2.5

[8] Let D be a link diagram with c crossings, and set \(j=j_{\min }(D)\). Then, the chain complex \(\{C_{i}(I_D), d_i\}\) is isomorphic to the extreme Khovanov complex \(\{C_{i,j}(D), \partial _i\}\). In particular,

$$\begin{aligned} Kh_{2i-c,j}(D)= {\tilde{H}}_{i-1}(I_D). \end{aligned}$$

It follows from [5] that the complex \(I_D\) is stably homotopy equivalent to the Khovanov spectrum introduced by Lipshitz and Sarkar at its extreme quantum grading \(\mathcal {X}^{j_{\min }}(D)\) (see [15]). Sometimes we refer to \(I_D\) as the geometric realization of the extreme Khovanov homology of D, and to the homotopy type of \(I_D\) as the extreme Khovanov homotopy type of the diagram.

3 Independence complexes

3.1 Basic results

We summarize some results concerning independence complexes which will be useful in the next sections (see e.g. [17]).

Given a vertex v of a graph G, write \(N_G(v)\) for the set of adjacent vertices to v in G and defineFootnote 2 the star of v in G as \(st_G(v)=N_G(v) \cup \{v\}\).

Definition 3.1

Given two vertices vw of a graph G, we say that v dominates w if \(N_G(w)\setminus \{v\} \subset N_G(v)\setminus \{w\}\). We write \(v > w\).

We will use notation \(A \sim _h B\) to indicate that the simplicial complexes A and B are homotopy equivalent.

Lemma 3.2

(Domination Lemma) Let vw be two vertices of a graph G such that v dominates w.

  1. (1)

    If v and w are not adjacent in G, then \(I(G) \sim _h I(G-v)\).

  2. (2)

    If v and w are adjacent in G, then \(I(G) \sim _h I(G-v) \vee \Sigma I(G-st(v))\), where \(\vee \) denotes the wedge of two simplicial complexes.

Domination Lemma is a consequence of the following more general result:

Proposition 3.3

Let v be a vertex of a graph G. If \(I(G-st(v))\) is contractible in \(I(G-v)\), then

$$\begin{aligned} I(G) \sim _h I(G-v) \vee \Sigma I(G-st(v)). \end{aligned}$$

A vertex \(v\in G\) of degree one is called a leaf and its unique adjacent vertex a preleaf. The following result is a direct consequence of Domination Lemma.

Corollary 3.4

Let w be a leaf of a graph G and let v be its associated preleaf. Then,

$$\begin{aligned} I(G) \sim _h \Sigma I(G-st(v)). \end{aligned}$$

Proposition 3.5

(Generalized Csorba) [7, 17] Let G be a graph with two vertices \(v_1\) and \(v_2\) connected by a path L of length 3 (the two internal vertices of L having degree two), and let H be the graph obtained from G by contracting L. Then \(I(G) \sim _h \Sigma I(H)\).

We recall some results about the homotopy type of the independence complex of some well-known families of graphs:

Proposition 3.6

[13]

  1. (1)

    Let \(L_n\) be the n-path (i.e., the line graph consisting of \(n+1\) vertices connected by n edges). Then

    $$\begin{aligned} I(L_n) \sim _h \left\{ \begin{array}{cll} * &{} &{} \text{ if } n=3k, \\ S^k &{} &{} \text{ if } n=3k+1, \, 3k+2. \end{array} \right. \end{aligned}$$
  2. (2)

    If T is a forest, then its independence complex is either contractible or homotopy equivalent to a sphere. The exact homotopy type can be found in polynomial time by repeated use of Corollary 3.4.

  3. (3)

    Let \(P_n\) be the cycle graph of order n, that is, the n-gon. Then

    $$\begin{aligned} I(P_n) \sim _h \left\{ \begin{array}{lll} S^{k-1} &{} &{} \text{ if } n=3k \pm 1, \\ S^{k-1} \vee S^{k-1} &{} &{} \text{ if } n=3k. \end{array}\right. \end{aligned}$$

The following basic lemma on line graphs will be useful in Sects. 3.2 and 8.1.

Lemma 3.7

Consider the line graph \(L_n\).

  1. (1)

    Given a vertex v of \(L_n\), then either one of \(I(L_n)\) or \(I(L_n-st(v))\) is contractible, or \(I(L_n)\sim _h \Sigma I(L_n-st(v))\).

  2. (2)

    Given a subset A of vertices of \(L_n\), then either \(I(L_n)\) or \(I(L_n-A)\) is contractible, or \(I(L_n)\) and \(I(L_n-A)\) are spheres and \(dim (I(L_n)) \ge dim (I(L_n-A))\).

Another basic calculation concerns the \(\theta \)-graph and its subdivisions, which we address in the following example.

Example 3.8

Consider the graph \(\theta _{n_1,n_2,n_3}\) obtained from \(\theta \)-graph by subdividing each of its edges into \(n_1\), \(n_2\) and \(n_3\) pieces, respectively (see Fig. 3). The problem of computing \(I(\theta _{n_1,n_2,n_3})\) can be reduced by Proposition 3.5 to a finite number of cases: \(0\le n_2 \le 2\), \(1\le n_1,n_3 \le 3\). Analyzing each of them we conclude that \(I(\theta _{n_1,n_2,n_3})\) is either contractible or homotopy equivalent to either a sphere or the wedge of two spheres (possibly of different dimensions).

In particular, the only case leading to the wedge of two spheres of different dimensions is when \(n_1\equiv n_2 \equiv n_3 \equiv 0\) \((mod \, 3)\), since \(\theta _{n_1,0,n_3} = P_{n_1}\vee P_{n_3}\) and thus

$$\begin{aligned} I(\theta _{3k_1,3k_2,3k_3})\sim _h S^{k_1+k_2+k_3-1} \vee S^{k_1+k_2+k_3-2}. \end{aligned}$$

Furthermore, observe that every proper subgraph G of \(\theta _{n_1,n_2,n_3}\) can be reduced by Corollary 3.4 to either a forest or a polygon. Thus I(G) is either contractible or it is homotopy equivalent to a sphere or a wedge of two spheres of the same dimension.

In forthcoming sections we will make use of the following computation:

$$\begin{aligned} I(\theta _{4,2,4}) \sim _h \Sigma ^2 I(\theta _{1,2,1}) \sim _h \Sigma ^2 I(P_3)\sim _h S^2\vee S^2. \end{aligned}$$
Fig. 3
figure 3

The \(\theta \)-graph and its subdivisions \(\theta _{4,2,4}\) and \(\theta _{4,0,5}\) are shown in ac, respectively

In the topological part of this paper (Sects. 7 and 8) we usually work with induced subgraphs of a given graph. However, sometimes we have to remove a special edge (keeping its endpoints). The next result allows us to do so in certain situations.

Proposition 3.9

Consider a family of graphs \({\mathcal {G}}\) closed under taking induced subgraphs. Assume that for a given edge e of a graph \(G \in {\mathcal {G}}\) any graph obtained from G by subdividing e (that is replacing e by \(L_n\), \(n\ge 1\)) is also in \({\mathcal {G}}\). Then \(G-e\) is also in \({\mathcal {G}}\).

Proof

Starting from G, subdivide e into two pieces (i.e. replace e by \(L_2\)) and then remove the middle vertex of \(L_2\). The obtained graph is \(G-e\) and it belongs to \({\mathcal {G}}\). \(\square \)

3.2 Fan, rhomboid and augmented rhomboid graphs

In this section we introduce some families of graphs whose independence complexes are crucial in Sects. 7 and 8 when analyzing (extreme) Khovanov homotopy type associated to 4-braid diagrams.

The join of two graphs \(G_1\) and \(G_2\), denoted by \(G_1*G_2\), is the one skeleton of the join in the category of simplicial complexes. The cone G of a graph H is the join of H with an isolated vertex \(K_1\) that we call apex of G, that is, \(G=cone_1(H) = K_1 * H\).

Lemma 3.10

Let H be a non-empty graph and denote by \(K_j\) the complete graph on j vertices. Then, \(I(K_j*H) \sim _h I(H) \vee \underbrace{S^0\vee S^0\vee ...\vee S^0}_{j}\).

Proof

The result follows from the fact that vertices in \(K_j\) become isolated vertices in \(I(K_j*H)\). \(\square \)

Definition 3.11

A graph \(F_n\) is called a simple fan if \(F_n = cone_1(L_n)\). A graph is said to be a fan if it can be obtained from a simple fan by subdividing some of the edges of \(L_n\). See Fig. 4.

Fig. 4
figure 4

The simple fan \(F_n\) and a fan obtained from the simple fan \(F_3\) are shown in a and b, respectively

It follows from Lemma 3.10 that \(I(F_n) \sim _h I(L_n) \vee S^0\).

Proposition 3.12

Let G be an induced subgraph of a fan. Then I(G) is either contractible or homotopy equivalent to the wedge of at most two spheres.

Proof

If \(b\notin G\), then G is a forest and the result follows from Proposition 3.6(2). Thus, assume that G contains b and it has no leaves (otherwise apply Corollary 3.4). If \(I(G-st(b))\) is contractible, then by Proposition 3.3\(I(G)~\sim _h~I(G-b)\), with \(G-b\) a disjoint union of paths. Otherwise, G can be reduced by a finite number k of Csorba moves (Proposition 3.5) to \(cone_1(H)\), with H a disjoint union of paths. Thus \(I(G) \sim _h \Sigma ^k (I(H) \vee S^0\)) and Proposition 3.6 completes the proof. \(\square \)

Definition 3.13

  1. (1)

    Consider \(S^0\) with vertices \(b_{\ell }\) and \(b_r\). The simple rhomboid graph \(SR_n\) is obtained from the join \(S^0*L_n\) after adding four paths of length 2 connecting each \(b_{\ell }\) and \(b_r\) with each of the two vertices of degree 1 in \(L_n\). Labeling of the vertices from Fig. 5a will be used throughout the paper.

  2. (2)

    The simple connected rhomboid graph \(SR^{con}_n\) is obtained from \(SR_n\) by adding an edge connecting \(b_{\ell }\) and \(b_r\), as shown in Fig. 5a—including grey edge.

  3. (3)

    The simple augmented rhomboid graph \(SR_n^{aug}\) is constructed from \(SR_n - \{v_{-1}', v_{n+1}'\}\) by adding vertices \(b_2\), \(c_i\) and \(d_i\), for \(i=1,2,3\), with connections as defined in Fig. 5c.

Given a graph G as above, vertices \(v_i\) are called spoke vertices, for \(0 \le i \le n\), and the n-path connecting them is the spine of G. The extended spine of G consist of its spine together with edges connecting \(v_0\) and \(v_{-1}\) and \(v_n\) and \(v_{n+1}\). If H is an induced subgraph of G, then \(H^{spine}\) denotes the intersection of H and the spine of G.

Fig. 5
figure 5

The simple rhomboid \(SR_n\) is shown in black in a. If we additionally consider the grey edge connecting \(b_\ell \) and \(b_r\), then we get the connected rhomboid \(SR_n^{con}\). The simple augmented rhomboid \(SR_n^{aug}\) is shown in b

We next analyze the independence complex of each of the graphs defined above and these of their induced subgraphs.

Proposition 3.14

Let G be an induced subgraph of either a simple rhomboid \(SR_n\) or a simple connected rhomboid \(SR_n^{con}\) and let

\(X=\{v_{-1}, v_{-1}', v_{n+1}, v_{n+1}'\}\). Then:

  1. (1)

    If \(G^{spine}=\emptyset \) then I(G) is either contractible or homotopy equivalent to the spheres \(S^{-1}, S^0\) or \(S^1\).

  2. (2)

    If \(G\cap X\ne \emptyset \) then I(G) is either contractible or has the homotopy type of a sphere or two spheres. Moreover, if we assume without loss of generality that \(v_{-1} \in G\), then:

    1. (a)

      If either \(b_\ell \) or \(v_0\) (but not both) is in G, then I(G) is contractible or homotopy equivalent to a sphere.

    2. (b)

      If neither \(b_\ell \) nor \(v_0\) are in G, then I(G) is contractible.

  3. (3)

    If \(G\cap X = \emptyset \) and \(G^{spine} \ne \emptyset \), then:

    1. (a)

      If G is an induced subgraph of \(SR_n\) and \(b_\ell , b_r \in G\), then

      $$\begin{aligned} I(G)\sim _h I(G\cap F_n)\sim _h I(G \cap L_n )\vee S^0. \end{aligned}$$
    2. (b)

      If G is an induced subgraph of \(SR_n^{con}\) and \(b_\ell , b_r \in G\), then

      $$\begin{aligned} I(G) \sim _h I(G\cap L_n)\vee S^0 \vee S^0. \end{aligned}$$
    3. (c)

      If \(b_\ell \) or \(b_r\) is not in G, then I(G) is either contractible or has the homotopy type of either a sphere or the wedge of two spheres.

In particular, I(G) can be homotopy equivalent to a wedge of three spheres only in the case \({\text {(3 b)}}\); moreover, such a wedge is of type \(S^j\vee S^0\vee S^0\), with \(j\ge 0\). Otherwise I(G) is either contractible or homotopy equivalent to either a sphere or the wedge of two spheres.

Proof

We use Domination Lemma (Lemma 3.2) and Corollary 3.4 in the proof.

(1) It is clear from Fig. 5 that G is a forest with at most 5 edges and therefore the result holds.

(2) If \(v_{-1}, b_\ell \) and \(v_0\) are in G, then \(b_\ell \) dominates \(v_{-1}\), and \(v_{-1}\) becomes a leaf in \(G-b_\ell \), so

$$\begin{aligned} I(G) \sim _h \Sigma I(G-st(b_\ell )) \vee \Sigma I(G-st(v_0)), \end{aligned}$$

and these two graphs are forests and Proposition 3.6(2) applies. In the particular case (a) (resp. (b)) the vertex \(v_{-1}\) is a leaf (resp. isolated) and the statement holds.

(3) Case (a) follows directly from domination of \(b_\ell \) over \(b_r\). Case (b) follows from Lemma 3.10 and the fact that \(G=K_2*G^{spine}\). In case (c) G is an induced subgraph of a fan and Proposition 3.12 completes the proof. \(\square \)

Next, we determine the homotopy type of the independence complex of the simple augmented rhomboid graph \(SR_n^{aug}\) and those of their induced subgraphs.

The case when the induced subgraph G does not contain all \(b_2, b_\ell \) and \(b_r\) is simpler, since it can be easily reduced to an induced subgraph of \(SR_n\) or \(SR_n^{con}\). In particular, if \(G=SR_n^{aug}-b_2\), applying twice Domination Lemma (\(v_{-1}>c_1\) and \(v_{n+1} > d_3\)) and twice Csorba reduction (Proposition 3.5), we get \(SR_n^{con}\). Analogous results hold for the cases \(SR_n^{aug}-b_\ell \) and \(SR_n^{aug}-b_r\).

We will show that, up to some minor conditions, if the induced subgraph G contains \(b_2, b_\ell \) and \(b_r\) then I(G) can be obtained by recursive application of Proposition 3.3. More precisely, we will check the conditions when

$$\begin{aligned} I(G)\sim _h I(G-b_2-b_{\ell }-b_r) \vee \Sigma I(G-b_2-b_{\ell }- st(b_r)) \vee \Sigma I(G-b_2- st(b_{\ell })) \vee \Sigma I(G-st(b_2)), \end{aligned}$$

where each term can be computed easily, leading to either a sphere or contractible homotopy type. In particular, we get that I(G) has the homotopy type of four (resp. three) spheres if all four (resp. three) terms are not contractible.

Proposition 3.15

Let G be an induced subgraph of \(SR_n^{aug}\) containing vertices \(b_2, b_{\ell }\) and \(b_r\), and let \(G^{spine}\ne \emptyset \). Then:

  1. (1)

    Either I(G) is contractible or

    $$\begin{aligned} I(G) \sim _h I(G-b_2)\vee \Sigma I(G-st(b_2)). \end{aligned}$$
  2. (2)

    Either \(I(G)-b_2\) is contractible or

    $$\begin{aligned} I(G-b_2) \sim _h I(G-b_2-b_{\ell })\vee \Sigma I(G-b_2-st(b_{\ell })). \end{aligned}$$
  3. (3)

    Either \(I(G-b_2-b_{\ell })\) is contractible or

    $$\begin{aligned} I(G-b_2-b_{\ell }) \sim _h I(G-b_2-b_{\ell }-b_r) \vee \Sigma I(G-b_2-b_{\ell }-st(b_r)). \end{aligned}$$

Proof

The statement follows from iterative application of Proposition 3.3. In each step one needs to check that \(I(G-st(v))\) is contractible in \(I(G-v)\), for \(v\in \{b_2, b_\ell , b_r\}\). These conditions can be deduced from Lemma 3.17. \(\square \)

Remark 3.16

The case when G is an induced subgraph of \(SR_n^{aug}\) with \(G^{spine}= \emptyset \) was discussed in Example 3.8, since after possible application of Domination Lemma (\(v_{-1}>c_1\) and \(v_{n+1}>d_3\)), G becomes an induced subgraph of \(\theta _{4,2,4}\).

Lemma 3.17

Let G be an induced subgraph of \(SR^{aug}_n\) with \(G^{spine}\ne \emptyset \) and \(b_{\ell },b_r,b_2 \in G\). Then the following conditions hold:

  1. (1)
    $$\begin{aligned} I(G-st(b_{2}) )\sim _h \left\{ \begin{array}{ll} S^1 &{} \text{ if }\, (c_1\, \text{ or } \,v_{-1})\, \text{ and } \, (d_3\, \text{ or } \, v_{n+1})\, \text{ are } \text{ in } \,G,\\ *&{} \text{ otherwise }. \end{array}\right. \end{aligned}$$
  2. (2)
    $$\begin{aligned} I(G-b_2-st(b_{\ell }))\sim _h \left\{ \begin{array}{ll} S^1 &{} \text{ if }\, c_2,c_3,d_2\, \text{ and }\, (d_3\, \text{ or } \,v_{n+1})\, \text{ are } \text{ in } \,G,\\ S^0 &{} \text{ if }\, ((c_2,c_3\in G)\, \text{ and } \,(d_2,d_3,v_{n+1}\notin G))\, \text{ or } \\ &{} ((c_2,c_3 \notin G)\, \text{ and } \,(d_2\, \text{ and }\, (d_3\, \text{ or }\, v_{n+1})\, \text{ are } \text{ in } \, G))\, \text{ or } \\ &{} ((c_2,d_2 \notin G)\, \text{ and } \,(c_3\, \text{ or } \,d_3\, \text{ or }\, v_{n+1}\, \text{ is } \text{ in }\, G)),\\ *&{} \text{ otherwise }. \end{array}\right. \end{aligned}$$
  3. (3)
    $$\begin{aligned} I(G-b_2-b_{\ell }-st(b_r))\sim _h \left\{ \begin{array}{ll} S^1 &{} \text{ if }\, d_1,d_2,c_2\, \text{ and } \,(c_1\, \text{ or } \,v_{-1})\,\text{ are } \text{ in }\, G,\\ S^0 &{} \text{ if }\, ((d_1,d_2 \in G)\, \text{ and }\, (c_1,c_2,v_{-1} \notin G))\, \text{ or } \\ &{} ((d_1,d_2 \notin G)\, \text{ and }\, (c_2\, \text{ and }\, (c_1\, \text{ or } \,v_{-1})\, \text{ are } \text{ in }\, G)),\\ S^{-1} &{} \text{ if }\, G-b_2-b_{\ell }-st(b_r)=\emptyset ,\\ *&{} \text{ otherwise }. \end{array}\right. \end{aligned}$$
  4. (4)

    Assume that \(I(G-~b_2-~b_{\ell })\) is not contractible. Then, \(I(G-~b_2-~b_\ell ~-~b_r)\) is either contractible or homotopy equivalent to a sphere \(S^j\) for some j. In particular, for the latter case we get:

    $$\begin{aligned} I(G-b_2-b_{\ell }-b_r)\sim _h \left\{ \begin{array}{ll} S^j, \, j>1 &{} \text{ if }\, (c_2\, \text{ and }\, (c_1\, \text{ or } \,c_3\, \text{ or }\, v_{-1}))\, \text{ and } \\ &{} (d_2\, \text{ and }\, (d_1\, \text{ or }\, d_3\, \text{ or }\, v_{n+1}))\, \text{ are } \text{ in }\, G,\\ S^j, \, j>0 &{} \text{ if }\,((c_2\, \text{ and }\, (c_1\, \text{ or }\, c_3\, \text{ or }\, v_{-1})\, \text{ are } \text{ in }\, G)\, \text{ or } \\ &{} (d_2\, \text{ and }\, (d_1\, \text{ or } \,d_3\, \text{ or }\,v_{n+1})\, \text{ are } \text{ in }\, G),\\ S^j, \, j\ge 0 &{} \text{ otherwise }. \end{array}\right. \end{aligned}$$
Fig. 6
figure 6

Graphs illustrating proof of Lemma 3.17 in the case when \(G=SR_n^{aug}\)

Proof

In Fig. 6 we illustrate the graphs \(SR_n^{aug}-st(b_2)\), \(SR_n^{aug}-b_2-st(b_\ell )\), \(SR_n^{aug}-b_2-b_\ell -st(b_r)\), and \(SR_n^{aug}-b_2-b_\ell -b_r\). Statements (1), (2) and (3) follow from the analysis of Fig. 6. To get statement (4) we analyze all different possibilities for \(G^{spine}\) and apply Lemma 3.7. \(\square \)

Proposition 3.15 and careful analysis of Lemma 3.17 allow us to fully characterize the induced subgraphs of \(SR^{aug}_n\) whose independence simplicial complexes are homotopy equivalent to a wedge of three or four spheres.

Corollary 3.18

Let G be an induced subgraph of \(SR_n^{aug}\) with \(G^{spine} \ne \emptyset \). and let \(A^+,A^-,B^+,B^-\) describe the following conditions on G:

\(A^+\) means that \(c_2,c_3\) and (\(c_1\) or \(v_{-1}\)) are in G.

\(A^-\) means then none of \(c_2,c_3,c_1,v_{-1}\) are in G.

\(B^+\) means that \(d_1,d_2\) and (\(d_3\) or \(v_{n+1}\)) are in G.

\(B^-\) means then none of \(d_1,d_2,d_3,v_{n+1}\) are in G.

  1. (1)

    I(G) is a wedge of four spheres if and only if \(b_2, b_{\ell },b_r\) are in G, conditions \(A^+\) and \(B^+\) hold, and \(I(G^{spine})\) is not contractible (that is \(I(G^{spine}) \sim _h S^j\) for some j). Furthermore, we get

    $$\begin{aligned} I(G) \sim _h S^j \vee S^2 \vee S^2 \vee S^2, \end{aligned}$$

    where \(j\ge 2\).

  2. (2)

    I(G) is a wedge of three spheres if and only if one of the following conditions holds:

    1. (i)

      \(b_{\ell }, b_r\) are in G, \(b_2 \notin G\), conditions \(A^+\) and \(B^+\) hold and \(I(G^{spine})\) is not contractible.

    2. (ii)

      \(b_r\) and (\(b_{\ell }\) or \(b_2\)) are in G, conditions \(A^-\) and \(B^+\) hold and \(I(G^{spine})\) is not contractible.

    3. (iii)

      \(b_{\ell }\) and (\(b_r\) or \(b_2\)) are in G, conditions \(A^+\) and \(B^-\) hold and \(I(G^{spine})\) is not contractible.

    4. (iv)

      \(b_2, b_{\ell },b_r\) are in G, conditions \(A^+\) and \(B^+\) hold and \(I(G^{spine})\) is contractible.

Furthermore, we get \(I(G) \sim _h S^j \vee S^2 \vee S^2\), where \(j\ge 2\).

The property that one of the spheres in Corollary 3.18 has equal or higher dimension than the others (i.e., \(j\ge 2\)) can be proved using Lemma 3.7.

We present now two crucial examples:

Example 3.19

For the simple augmented rhomboid graph \(SR^{aug}_n\) (see Fig. 5b) we get

$$\begin{aligned} I(SR_n^{aug}) \sim _h \left\{ \begin{array}{ll} S^2 \vee S^2 \vee S^2 &{} \text{ if }\, n=3k,\\ S^{k+2} \vee S^2 \vee S^2 \vee S^2&{} \text{ if }\, n=3k+1\, \text{ or } \,n=3k+2. \end{array}\right. \end{aligned}$$

To obtain the formula above, observe first that since \(v_{-1} > c_1\) and \(v_{n+1}>d_3\) Domination Lemma applies and \(I(SR_n^{aug})\sim _h I(SR_n^{aug}-v_{-1}-v_{n+1})\). Then applying Csorba reduction (Proposition 3.5) over the paths \(b_\ell -c_1-c_2-c_3\) and \(d_1-d_2-d_3-b_r\) we get \(I(SR_n^{aug}-v_{-1}-v_{n+1})\sim _h \Sigma ^2 I(K_3*L_n)\) and Lemma 3.10(2) and Proposition 3.6(1) completes the proof.

Example 3.20

Let \(G=SR^{aug}_n-c_1-d_3\). Then the homotopy type of I(G) is the same as in the previous example, that is

$$\begin{aligned} I(SR^{aug}_n-c_1-d_3)\sim _h I(SR_n^{aug}). \end{aligned}$$

To get the above result, observe that \(I(G-st(b_2)) \sim _h I(L_2 \sqcup L_2) \sim _h S^1\) and after applying twice Csorba reduction we get \(I(G-b_2) \sim _h \Sigma ^2 (K_2*L_n)\), which has the homotopy type of either \(S^2 \vee S^2\) (if \(n=3k\)) or \(S^{k+2} \vee S^2 \vee S^2\) (if \(n=3k+1, 3k+2\)). Therefore, Proposition 3.3 applies and we get

$$\begin{aligned} I(G) \sim _h I(G-b_2) \vee \Sigma I(G-st(b_2)). \end{aligned}$$

In the topological part of this paper (Sects. 7 and 8) we need to consider induced subgraphs of more general augmented rhomboids (see Definition 3.24); essentially we allow subdivision of edges \(\overline{v_iv_{i+1}}\), \(-1\le i \le n\). We also consider certain modifications of simple rhomboid graphs.

Definition 3.21

We define the family of mod-augmented simple rhomboid graphs as those graphs obtained from an augmented simple rhomboid graph \(SR_n^{aug}\) after (possibly) a combination of the following transformations:

  1. (a)

    contract edge connecting \(v_0\) and \(v_{-1}\),

  2. (b)

    contract edge connecting \(v_n\) and \(v_{n+1}\),

  3. (c)

    delete edge connecting \(v_0\) and \(v_{-1}\),

  4. (d)

    delete edge connecting \(v_n\) and \(v_{n+1}\).

We can analyze independence complexes of induced subgraphs G of mod-augmented simple rhomboid graphs in the same way we did with induced subgraphs of \(SR^{aug}_n\). In fact, in most cases there is no need to repeat the whole proof, as those induced graphs obtained from modifications of \(SR_n^{aug}\) can be reduced to induced subgraphs of \(SR^{aug}_k\) with \(k\le n\), as illustrated in the following example.

Fig. 7
figure 7

Modified augmented simple graph G illustrating Example 3.22 and its reduction \(SR_k^{aug}-v_{-1}-v_{k+1}\), with \(k=n-1\)

Example 3.22

Let G be the graph obtained from \(SR_n^{aug}\) after collapsing edge connecting \(v_0\) and \(v_{-1}\) and removing edge connecting \(v_n\) and \(v_{n+1}\), as shownFootnote 3 in Fig. 7a. It is clear that \(v_0 > c_1\) and \(v_{n+1}> d_3\) in G, and therefore by Domination Lemma \(I(G) \sim _h I(G-v_0-v_{n+1})\). The graph \(G-v_0-v_{n+1}\) is the graph \(SR_k^{aug}-v_{-1}-v_{k+1}\) where \(k=n-1\), as shown in Fig. 7b.

Next result summarizes the computations described before.

Corollary 3.23

Let G be an induced subgraph of a (mod-)augmented simple rhomboid graph. Then, there exists a polynomial time algorithm which determines the homotopy type of I(G). Moreover, if not contractible, I(G) is homotopy equivalent to either \(S^i\) or \(S^k\vee S^i\) or \(S^k\vee S^i \vee S^i\) or \(S^k\vee S^i\vee S^i \vee S^i\), where \(k\ge i\).

Proof

Homotopy types follow from earlier results in this section. Moreover, all constructions in this section depended only on tasks performed in polynomial time (often linear or quadratic), for example finding a preleaf in the graph or checking whether one specific vertex dominates other. \(\square \)

We finish this section introducing a family of graphs which will be obtained as Lando graphs of the closures of certain braids of 4 strands. These graphs are obtained from (augmented) simple rhomboid graphs by allowing subdivisions in the extended spine.

Definition 3.24

The rhomboid graph \(G(c_0',c_0,\ldots ,c_{n+1},c_{n+1}')\) is the graph obtained from the simple rhomboid graph \(SR_n\) (Definition 3.13) by subdividing the edge connecting \(v_{i-1}\) to \(v_i\) into \(c_i\) parts, for \(0\le i \le n+1\), and the edges connecting \(v_{-1}'\) to \(v_0\) and \(v_n\) to \(v_{n+1}'\) into \(c_0'\) and \(c_{n+1}'\) parts, respectively. See Fig. 8.

If \(c_i=0\) for some i, then vertices \(v_{i-1}\) and \(v_i\) are identified (similarly for \(c_0'=0\) and \(c_{n+1}'=0\)), and we remove multiple edges.

Analogously, we define (mod-)augmented rhomboid graph as those graphs obtained by subdivision along the extended spine of a (mod-)augmented simple rhomboid graph.

Fig. 8
figure 8

Rhomboid graph G(2, 4, 2, 1, 3, 1, 1, 0). Since \(c_5'=0\), vertices \(v_5'\) and \(v_4\) were identified

Proposition 3.25

Let \(G=G(c_0',c_0,c_1,...,c_{n+1},c_{n+1}')\) be a rhomboid graph. Then the homotopy type of the independence complex of any induced subgraph H of G can be computed in polynomial time, and I(H) is either contractible or homotopy equivalent to a sphere or to the wedge of two spheres.

Proof

We introduce the notation \(c_i=\infty \) if \(v_{i-1}\) is not connected to \(v_i\) in H, for \(0\le i \le n+1\) (analogous convention is used for \(c_0'\) and \(c_{n+1}'\)). Also, write \(C_I=\{c_1, \ldots , c_n\}\) and \(C_J= \{c_0, c_0', c_{n+1}, c_{n+1}'\}\).

We use Domination Lemma (Lemma 3.2) and Csorba reduction (Proposition 3.5) in the proof. We also apply Corollary 3.4 if possible, so we can assume that there are no leaves at any step of the process.

First step is to apply Csorba reduction to \(c_i \in C_I\), so we can assume that these parameters are equal to 0, 1, 2 or \(\infty \). We keep notation H for the reduced graph.

If \(c_i=2\) for some \(c_i \in C_I\), then \(b_\ell \) and \(b_r\) dominates the vertex between \(v_{i-1}\) and \(v_i\), so \(I(H) \sim _h I(H-b_\ell -b_r)\) and Proposition 3.6(2) completes the proof.

Otherwise we can assume that \(c_i \in C_I\) equals 0, 1 or \(\infty \). Now, we apply Csorba reduction to each element in \(C_J\), and reduce them to 0, 1, 2 or \(\infty \).

If \(c_0=2\), then \(v_0 > v_{-1}\) and \(v_{-1}\) becomes a preleaf in \(G-v_0\), so \(I_H \sim _h \Sigma I(H-S)\), where S is the square containing vertices \(b_l,v_{-1}, v_0\) and an additional vertex. The graph \(H-S\) is an induced subgraph of a fan, so Proposition 3.12 completes the proof. Analogous result holds for the case when other element in \(C_J\) equals 2.

Otherwise, H is an induced subgraph of a simple rhomboid graph, and Proposition 3.14 completes the proof. \(\square \)

4 Braid and Temperley–Lieb diagrams

The basic objects in this paper are n-braid diagrams which, from an algebraic point of view, are elements (words) of the free monoid generated by \(2n-2\) letters

$$\begin{aligned} M_n=\{\sigma _1,\sigma _1^{-1},\sigma _2,\sigma _2^{-1},\ldots , \sigma _{n-1},\sigma _{n-1}^{-1}\} \end{aligned}$$

with the identity element \(\varepsilon \) representing the empty word and geometric interpretation of generators as shown in Fig. 9a. We stress that braid group relationsFootnote 4 do not hold in \(M_n\). Define the submonoids \(M_n^+ = \{\sigma _1, \ldots , \sigma _{n-1}\}\subset M_n\) and \(M_n^- = \{\sigma _1^{-1}, \ldots , \sigma _{n-1}^{-1}\}\subset M_n\). Given a word \(w\in M_n\), we write \(w^+ \in M_n^+\) for the word obtained from w by deleting those letters with negative exponents. We say that w is positive if \(w = w^+ \in M_n\). A subwordFootnote 5 of w is the word consisting of some consecutive letters of w.

Fig. 9
figure 9

Geometric interpretation of the generators of the monoid \(M_n\) (a) and the monoid \(M_n^{TL}\) (b)

Define \({\tilde{M}}_n\) as the quotient of \(M_n\) modulo cyclic permutation of letters in a word. Given a word (braid diagram) \(w\in M_n\), we write \(\tilde{w} \in \tilde{M}_n\) for the associated cyclic word (closed braid diagram, which is also a link diagram).

Consider now the free monoid

$$\begin{aligned} M^{TL}_n=\{e_1,u_1,e_2,u_2,...,e_{n-1},u_{n-1}\}, \end{aligned}$$

whose elements are called Temperley-Lieb diagrams. The geometric interpretation of \(M_n^{TL}\), shown in Fig. 9(b), is motivated by that of the original Temperley-Lieb algebraFootnote 6. As before, we define \({\tilde{M}}^{TL}_n\) to be the quotient of \(M_n^{TL}\) modulo cyclic permutation.

There is an isomorphism \(\varphi : M_n \rightarrow M^{TL}_n\) with \(\varphi (\sigma _i)=e_i\) and \(\varphi (\sigma _i^{-1})=u_i\). Domain and codomain of \(\varphi \) have different geometric interpretations: given a braid diagram \(w \in M_n\), \(\varphi (w) \in M^{TL}_n\) is a crossingless tangle diagram with additional chords.

We say that \(\varphi ({\tilde{w}}) = \widetilde{(\varphi (w))}\) is the chord diagram of w. Observe that, if we write \(D=\tilde{w}\), then \(\varphi (\tilde{w})\) equals \(s_BD\) from Definition 2.3 (compare to Fig. 10). We write G(w) for the Lando graph associated to \(\varphi (\tilde{w})\) and I(w) for its associated independence complex.

Fig. 10
figure 10

Braid diagram \(w=\sigma _1\sigma _2\sigma _1\sigma _2\sigma _1^{-1}\sigma _2^{-1}\sigma _1\sigma _2 \sigma _1^{-1}\sigma _2^{-1}\) in \(M_3\), its image \(\varphi (\tilde{w})=e_1e_2e_1e_2u_1u_2e_1e_2u_1u_2 \in \tilde{M_3}^{TL}\) and the associated Lando graph G(w), with \(I(w) \sim _h S^2\)

Braid relations are not allowed in \(M_n\) because, in general, they do not preserve G(w) neither the homotopy type of I(w). In particular, second and third Reidemeister moves can lead from a contractible independence complex to a non-contractible one.

Example 4.1

  1. (1)

    Let \(w_1 = (\sigma _1\sigma _2\sigma _1)^2\) and \(w_2= (\sigma _1 \sigma _2)^3\) be two braid diagrams in \(M_3\). It is clear that \(w_1\) and \(w_2\) represent the same braid in the braid group. However, \(G(w_1)\) consists of two isolated vertices and therefore \(I(w_1)\) is contractible, while \(G(w_2)\) is an hexagon and \(I(w_2) \sim _h S^1 \vee S^1\).

  2. (2)

    The braid words \(w_1 = \sigma _1\sigma _1^{-1}\sigma _2\sigma _1\sigma _1^{-1}\sigma _2\sigma _1, \, \, w_2= \sigma _2\sigma _1\sigma _1^{-1}\sigma _2\sigma _1\)   \(w_3~=~ \sigma _2^2\sigma _1\) are related by Reidemeister-2 moves (i.e., cancellations of \(\sigma _1 \sigma _1^{-1}\)). However, \(I(w_1) \sim _h S^1\), while \(I(w_2)\) and \(I(w_3)\) are contractible.

Observe that negative third Reidemeister move (i.e., \(\sigma _i^{-1}\sigma _{i+1}^{-1}\sigma _i^{-1} \, \leftrightarrow \,\) \(\sigma _{i+1}^{-1}\sigma _i^{-1}\sigma _{i+1}^{-1}\)) and relation \(\sigma _i^{\epsilon } \sigma _j^{\delta } \leftrightarrow \sigma _j^{\delta }\sigma _i^{\epsilon }\) where \(|i-j|>1\) and \(\epsilon , \delta \in \{1,-1\}\) preserve Lando graph. However, we decided not to incorporate them in the definition of \(M_n\) as it could lead to confusion in Sects. 7 and 8, where we consider positive braid diagrams allowing the possibility of decorating them with negative letters.

5 Main result and outline of its proof

The main result in this paper allows to fully characterize in polynomial time the extreme Khovanov homotopy type of closed 4-braid diagrams:

Theorem 5.1

Let w be a braid diagram on 4 strands and write \(\hat{w}\) for its closure. Then, the homotopy type of the geometric realization I(w) of the extreme Khovanov homology of \(\hat{w}\) can be computed in polynomial time. Moreover, if not contractible, I(w) is homotopy equivalent to either a sphere, or a wedge of two spheres, or \(S^k \vee S^i \vee S^i\), or \(S^k \vee S^i \vee S^i \vee S^i\), with \(k \ge i\).

As a consequence of the proof we get the following result, which we prove in Sect. 7:

Corollary 5.2

Given a positive braid diagram \(w \in M_4^+\), the homotopy type of the geometric realization I(w) of the extreme Khovanov homology of \(\hat{w}\) can be computed in polynomial time. Moreover, I(w) is either contractible or has the homotopy type of either a sphere or the wedge of two spheres.

The first step in the proof of Theorem 5.1 is to define a class of braid diagrams that we call strongly-reduced (Definition 6.1) and give a polynomial time algorithm that, given a braid diagram \(w \in M_n\), either determines that I(w) is contractible, or reducesFootnote 7w to a strongly-reduced braid diagram \(w^{red}\) so that there exists an induced subgraph H of \(G(w^{red})\) with the property that I(w) is homotopy equivalent to the \(k^{th}\)-suspension of I(H) for some \(k\ge 0\) (Corollary 6.6). This result allows us to restrict our study to strongly-reduced 4-braid diagrams.

Notice that a B-smoothing at a positive generator produces a horizontal smoothing with a vertical chord, while negative generators produce vertical smoothings with horizontal chords. Therefore, the shape of the circles in the B-smoothed diagram is determined by positive generators in w. For this reason, we first study Lando graphs arising from positive braid diagrams (Sect. 7). To do so, we classify strongly-reduced positive braid diagrams into six families, \(\mathcal {C}_0 - \mathcal {C}_5\) (Proposition 7.1). We later extend this classification to strongly-reduced braid diagrams.

Next step is to study how negative letters of w contribute to G(w), i.e., how the graph \(G(w^+)\) is extended when adding negative letters to \(w^+\) to obtain w. This addition can be done one at a time, since each negative letter corresponding to an admissible (horizontal) chord adds one vertex together with some edges to the Lando graph \(G(w^+)\).

Strongly-reduced 4-braid diagrams were classified into six families \(\{\mathcal {C}_i\}_{i=0}^{5}\). In Proposition 8.1 we determine G(w) and the homotopy type of I(w) for \(w \in \mathcal {C}_i\) with \(i= 0, 1, 2, 5\). The cases when w belongs to \(\mathcal {C}_3\) or \(\mathcal {C}_4\) require more effort, and they are addressed in Sect. 8.1. In order to study the effect of each negative letter of w in G(w), we divide \({\tilde{w}}\) into two parts, that we call head and tail (Definition 8.2).

We first prove Theorem 5.1 for the family of braid words having positive tail (Proposition 8.5). Finally, in Sect. 8.1.1 we deal with those negative letters appearing in the tail, showing that they can be eliminated (Proposition 8.15) and reducing this case to the previous one. Working with negative letters in the head of w leads to augmented and mod-augmented rhomboid graphs (see Definitions 3.21 and 3.24). Determining the homotopy type of the independence complexes of these families of graphs and those of their induced subgraphs is crucial in our work. This was analyzed in Sect. 3.2.

6 Strongly-reduced braid diagrams

In this section we introduce the set of strongly-reduced n-braid diagrams \(M_n^{red}\) and show that any braid diagram w can be reduced in polynomial time to an element \(w^{red}\in M_n^{red}\) whose Lando graph \(G(w^{red})\) allows to compute I(w) in polynomial time.

Definition 6.1

Let \(w\in M_n\).

  1. (a)

    w is positive square free if \({\tilde{w}}\) does not contain a subword \(\sigma _iw_1\sigma _i\) so that \(\sigma _j \notin w_1\) for \(|i-j| \le 1\).

  2. (b)

    w is negative square free if \({\tilde{w}}\) does not contain a subword \(\sigma _i^{-2}\) or \(\sigma _i^{-1}\sigma _{i\pm 1}^{-1}\sigma _i^{-1}\).

  3. (c)

    w is nesting free if \({\tilde{w}}\) does not contain a subword \(\sigma _iw_1\sigma _i^{-1}w_2\sigma _i^{-1}\) or \(\sigma _i^{-1}w_2\sigma _i^{-1}w_1\sigma _i\), where \(\sigma _j\) is neither in \(w_1\) nor \(w_2\) for \(|i-j|\le 1\).

  4. (d)

    w is \(R_2\)-reduced if \({\tilde{w}}\) does not contain a subword \(\sigma _iw_1\sigma _i^{-1}\) or \(\sigma _i^{-1}w_1\sigma _i\), where \(\sigma _j^{\pm 1}\) is not in \(w_1\) for \(|i-j|\le 1\). w is \(R_2\)-reducible if it is not \(R_2\)-reduced.

We say that \(w \in M_n\) is strongly-reduced if it is square free (positive and negative), nesting free, and \(R_2\)-reduced. Figure 11 illustrates this definition.

Observe that the set of positive strongly-reduced braid diagrams embeds into the set of strongly-reduced braid diagrams. Furthermore, if \(w \in M_n\) is strongly-reduced, then so is \(w^+\in M_n^+\).

Lemma 6.2

(Positive square reduction Lemma) Consider a braid diagram \(w\in M_n\) that is not positive square free, and let the cyclic word \({\tilde{w}} \in {\tilde{M}}_n\) contains the subword \(w_0=\sigma _iw_1\sigma _i\) where \(w_1\in M_n\) does not contain a letter \(\sigma _j\) with \(|i-j|\le 1\). Then

  1. (a)

    The chord diagram \(\varphi ({\tilde{w}})\) has at least two components (circles) and one of them, say \(C_1\) (see Fig. 11a) has either Lando graph \(G_{C_1} \subset G(w)\) with an isolated vertex and thus \(I(G_{C_1})\) is contractible (this is the case when there is \(u_i \in \varphi (w_1)\)), or \(G_{C_1}\) is empty, so \(I(G_{C_1})\sim _h S^{-1}\) (this is the case if \(u_i \notin \varphi (w_1)\)).

  2. (b)

    Let \(w_1'\) be the word in \(M_n\) obtained from \(w_1\) by deleting all letters of type \(\sigma _j^{-1}\), \(|i-j|\le 1\). Define the new cyclic word \({\tilde{w}}'\) obtained from \({\tilde{w}}\) by replacing the subword \(w_0= \sigma _iw_1\sigma _i\) by \(w_0'=\sigma _iw'_1\). Then the Lando graph corresponding to the chord diagram \(\varphi ({\tilde{w}})- C_1\) is obtained from the Lando graph \(G({\tilde{w}}')\) by deleting the vertex \(v_{\sigma _i}\) associated to \(\sigma _i \in ~w_0'\).

  3. (c)

    I(w) is either contractible or it is the independence simplicial complex of an induced subgraph of a closed braid diagram which is positive square free. This process has polynomial time complexity.

Fig. 11
figure 11

Situations forbidden in chord diagrams associated to positive square free (a), negative square free (b), nesting free (c) and \(R_2\)-reduced braid diagrams (d)

Proof

Parts (a) and (b) follow by careful analysis of chords attached to component \(C_1\): the only essential chords, i.e. with both endpoints attached to the same circle, are those coming from \(\sigma _i^{-1} \in w_1\). Part (c) follows from (a) and (b). \(\square \)

Lemma 6.3

(Negative square reduction Lemma) Let \(w\in M_n\) and \(w_0= \sigma _i^{-1}\sigma _{i\pm 1}^{-1}\sigma _i^{-1}\) be a subword of the cyclic word \({\tilde{w}}\). Then \(I(w) \sim _h I(w')\), with \(w'\) the braid diagram obtained from w by deleting one of the \(\sigma _i^{-1}\) occurrences in \(w_0\).

Proof

Write \(v_1\) and \(v_2\) for the vertices in G(w) corresponding to each of the letters \(\sigma _i^{-1}\) in \(w_0\) (in case these vertices do not belong in G(w), then the proof is trivial). It follows from Fig. 11b that in G(w) either \(v_1 > v_2\) or \(v_2 > v_1\). Therefore, Domination Lemma applies, allowing to eliminate the letter corresponding to the dominating vertex. \(\square \)

Remark 6.4

Lemma 6.3 allows to apply classical braid relation on negative generators of \(M_n\), i.e., a negative Reidemeister 3 move. In other words, if \(w'\) is obtained from w by replacing \(\sigma _i^{-1}\sigma _{i\pm 1}^{-1}\sigma _i^{-1}\) by \(\sigma _{i\pm 1}^{-1}\sigma _i^{-1}\sigma _{i\pm 1}^{-1}\), then \(I(w) \sim _h I(w')\). Compare to last paragraph in Sect. 4.

Lemma 6.5

Let \(w\in M_n\) be a braid diagram and \(w_0\) be a subword of the cyclic word \({\tilde{w}}\):

  1. (a)

    (Nesting Lemma) Consider \(w_0=\sigma _iw_1\sigma _i^{-1}w_2\sigma _i^{-1}\) where \(\sigma _j\) is neither in \(w_1\) nor in \(w_2\), for \(|i-j|\le 1\). Then, \(I(w) \sim _h I(w')\), with \(\tilde{w}'\) the word obtained from \(\tilde{w}\) by replacing \(w_0\) by \(w_0'=\sigma _iw_1\sigma _i^{-1}w_2\).

  2. (b)

    Analogue of part (a) holds for the case when \(w_0=\sigma _i^{-1} w_2 \sigma _i^{-1} w_1 \sigma _i\), with analogous conditions for \(w_1\) and \(w_2\).

  3. (c)

    (\(R_2\)-reduction Lemma) Consider \(w_0=\sigma _iw_1\sigma _i^{-1}\), where \(\sigma _j^{\pm 1}\) is not in \(w_1\) for \(|i-j|\le 1\). Then either I(w) is contractible or \(I(w) \sim _h \Sigma I(G(w) - st(v_{\sigma _i}))\), with \(v_{\sigma _i}\) the vertex associated to \(\sigma _i \in w_0\). In particular, \(I(w) \sim _h \Sigma I(H)\), where H is an induced subgraph of \(G(w')\) and \(\tilde{w}'\) is obtained from \(\tilde{w}\) after replacing \(w_0\) by \(\sigma _iw_1\).

  4. (d)

    Analogue of part (c) holds for the case when \(w_0=\sigma _i^{-1}w_1\sigma _i\) with analogous conditions for \(w_1\).

Proof

Part (a) follows from the fact that the vertex corresponding to the second occurrence of \(\sigma _i^{-1}\) in \(w_0\) dominates the vertex corresponding to the first occurrence of \(\sigma _i^{-1}\), as shown in Fig. 11c; Domination Lemma completes the proof.

To prove part (c), see Fig. 11d and notice that \(\sigma _i^{-1} \in w_0\) gives rise to either an isolated vertex in G(w), or to a leaf with preleaf \(v_{\sigma _i}\), and Corollary 3.4 applies. \(\square \)

Lemmas 6.26.5 provide an algorithm reducing a braid diagram to a shorter braid diagram which is strongly-reduced. The exact meaning of this reduction is described in the next corollary which allows us to restrict ourselves to the study of strongly-reduced braid diagrams.

Corollary 6.6

Given \(w \in M_n\), there exists an algorithm of polynomial time complexity which either

  1. (a)

    determines that I(w) is contractible, or

  2. (b)

    finds a strongly-reduced braid diagram \(w^{red}\) by deleting some letters from w, so that \(I(w) \sim _h \Sigma ^k I(H)\), with H an induced subgraph of \(G(w^{red})\) and k a non-negative integer given by the algorithm.

7 Positive braid diagrams on 4 strands

In this section we introduce a classification of strongly-reduced positive braid diagrams and use it to determine the homotopy type of the independence complexes associated to their closures.

Proposition 7.1

Let \(w\in M_4^+\) be a strongly-reduced positive braid diagram. Then, up to involution \(\sigma _1 \leftrightarrow \sigma _3\), there exists a representative \(\tilde{w}\in {\tilde{M}}_4\) of w in one of the following families:

\(\mathcal {C}_0\)::

\(\{\varepsilon , \sigma _i\),   \(i=1,2,3\}\);

\(\mathcal {C}_{1}\)::

\(\{(\sigma _1\sigma _2)^{a}\),   \(a \ge 1\}\);

\(\mathcal {C}_2\)::

\(\{(\sigma _1\sigma _2)^{a_1}(\sigma _3\sigma _2)^{a_2}\ldots (\sigma _3\sigma _2)^{a_{2k}}\),   \(a_i >0\),   \(k\ge 1\}\);

\(\mathcal {C}_{3}\)::

\(\{\sigma _3(\sigma _1\sigma _2)^{a_1}(\sigma _3\sigma _2)^{a_2}\ldots (\sigma _3\sigma _2)^{a_{2k}}\),   \(a_i >0\),   \(k \ge 1\}\);

\(\mathcal {C}_{4}\)::

\(\{\sigma _3(\sigma _1\sigma _2)^{a_1}(\sigma _3\sigma _2)^{a_2}\ldots (\sigma _1\sigma _2)^{a_{2k+1}}\),   \(a_i >0\),   \(k \ge 0\}\);

\(\mathcal {C}_5\)::

\(\{\sigma _1\sigma _3 \, u \, \sigma _1\sigma _3 \, v\),   \(\sigma _1\sigma _3 \, u \, \sigma _3\sigma _1 \, v\),   \(u,v \in M_4^+\}\).

We say that w (and \(\tilde{w}\)) belongs to the corresponding class \(\mathcal {C}_i\) and write \(w\in \mathcal {C}_i\), for \(1\le i\le 5\).

Proof

Since w is strongly-reduced, \(\tilde{w}\) contains no subwords \(\sigma _1\sigma _3\sigma _1\). We start our classification from considering the number of \(\sigma _1\sigma _3\) (or \(\sigma _3 \sigma _1\)) occurrences in \(\tilde{w}\): if there is none of such occurrences, then we get families \(\mathcal {C}_0, \mathcal {C}_1, \mathcal {C}_2\). Families \(\mathcal {C}_3\) and \(\mathcal {C}_4\) (resp. family \(\mathcal {C}_5\)) correspond to the cases when there is one (resp. at least two) of such occurrences. \(\square \)

Proposition 7.2

Given a braid diagram \(w \in \mathcal {C}_4\) with \(a_1>1\), there exists a braid diagram \(w' \in \mathcal {C}_3\) so that their associated Lando graphs G(w) and \(G(w')\) are isomorphic.

Proof

It is clear that involution \(\sigma _1 \leftrightarrow \sigma _3\), cyclic permutation and reading a word backwards preserve Lando graph of a braid diagram. The following chain of transformations completes the proof:

$$\begin{aligned}{} & {} w= \sigma _3(\sigma _1\sigma _2)^{a_1}(\sigma _3\sigma _2)^{a_2}...(\sigma _1\sigma _2)^{a_{2k+1}}{\mathop {\longrightarrow }\limits ^{cyclic}}\\{} & {} (\sigma _2\sigma _1)^{a_1-1}(\sigma _2\sigma _3)^{a_2}...(\sigma _2\sigma _1)^{a_{2k+1}} (\sigma _2\sigma _3)\sigma _1{\mathop {\longrightarrow }\limits ^{backward}}\\{} & {} \sigma _1(\sigma _3\sigma _2)(\sigma _1\sigma _2)^{a_{2k+1}}...(\sigma _1\sigma _2)^{a_1-1} {\mathop {\longrightarrow }\limits ^{\sigma _1 \leftrightarrow \sigma _3}}\\{} & {} \sigma _3(\sigma _1\sigma _2)(\sigma _3\sigma _2)^{a_{2k+1}}...(\sigma _3\sigma _2)^{a_1-1} = w'. \end{aligned}$$

\(\square \)

Observe that the statement in Proposition 7.2 is true for any strongly-reduced braid diagram, not necessarily positive. More precisely, given a braid diagram w such that \(w^+ \in \mathcal {C}_4\) the proof above produces a braid \(w'\) such that \(w'^+ \in \mathcal {C}_3\). This will be useful in Sect. 8.

Proposition 7.3

Let \(w \in M_4^+\) be a strongly-reduced positive braid diagram. Then:

  1. (a)

    If \(w \in \mathcal {C}_0\), then G(w) is either empty, if w is the trivial word, or a single vertex otherwise.

  2. (b)

    If \(w \in \mathcal {C}_1\), then G(w) is ether a polygon of 2a edges if \(a>1\), or two isolated vertices, if \(a=1\).

  3. (c)

    If \(w \in \mathcal {C}_2\), then G(w) is a disjoint union of paths. Namely,

    $$\begin{aligned} G(w)= L_{2(a_1-1)} \sqcup L_{2(a_2-1)} \sqcup \ldots \sqcup L_{2(a_{2k}-1)}. \end{aligned}$$
  4. (d)

    If \(w \in \mathcal {C}_3\), then G(w) is a rhomboid graph (Definition 3.24). In particular,

    $$\begin{aligned} G(w) =\left\{ \begin{array}{lll} G(0,2(a_1-1),2a_2, \ldots ,2a_{2k},0) &{} &{} \text{ if } a_1>1, \\ G(2a_2,0,2a_3,\ldots ,2a_{2k},0) &{} &{} \text{ if } a_1=1. \end{array}\right. \end{aligned}$$
  5. (e)

    If \(w \in \mathcal {C}_4\), then G(w) is a rhomboid graph. In particular,

    $$\begin{aligned} G(w) =\left\{ \begin{array}{lll} G(0,2(a_1-1),2a_2,\ldots ,,2a_{2k},0,2a_{2k+1}) &{} &{} \text{ if } a_1>1, \, k>0 \\ G(2a_2,0,2a_3,\ldots ,2a_{2k},0,2a_{2k+1}) &{} &{} \text{ if } a_1=1, \, k>0,\\ \{v\} \sqcup P_{2a_1} &{} &{} \text{ if } k=0. \end{array}\right. \end{aligned}$$
  6. (f)

    If \(w \in \mathcal {C}_5\), then \(G(w) = G(D_1) \sqcup G(D_2)\), where \(D_1\) and \(D_2\) are 2-bridge diagrams.

Proof

Proof follows from direct analysis of the chord diagram \(\varphi (\tilde{w})\) in each of the cases.

Note that if \(w \in \mathcal {C}_1\) then \(\varphi (\tilde{w})\) corresponds to the disjoint union of the chord diagram of the torus link T(3, a) and a circle, thus part (b) holds by [17, Corollary 7.7].

For part (c) observe that if \(w \in \mathcal {C}_2\), then \(\varphi (\tilde{w})\) consists of two circles. Each factor \((\sigma _i\sigma _2)^{a_j}\) gives rise to \(2a_j\) chords (one of them non-admissible) yielding to a component \(L_{2(a_j-1)}\) in G(w), for \(i=1,3\) and \(1 \le j \le 2k\).

Parts (d) and (e) are illustrated in Figs. 12, 13 and 14. In these cases, \(\varphi (\tilde{w})\) contains a single circle, vertices \(b_r\) and \(b_\ell \) correspond to chords associated to subword \(\sigma _3\sigma _1\). Spoke vertices correspond to chords associated to the last letter of factors of the form \((\sigma _i\sigma _2)^{a_j}\) in \(\tilde{w}\), for \(i=1,3\). Also, if \(a_1=1\) then the vertex corresponding to the \(\sigma _2\) occurrence in \(\sigma _3\sigma _1\sigma _2\) is connected to \(b_r\) instead of \(b_\ell \), so \(c_0 = 2(a_1-1)\) becomes \(c_0'=2a_2\), as shown in Fig. 13.

Fig. 12
figure 12

The chord diagram and Lando graph associated to \(w= \sigma _3 (\sigma _1 \sigma _2)^3(\sigma _3 \sigma _2)^2(\sigma _1 \sigma _2)^3(\sigma _3 \sigma _2)(\sigma _1 \sigma _2)^2(\sigma _3 \sigma _2)^2\)

Fig. 13
figure 13

The chord diagram and Lando graph associated to \(w= \sigma _3 (\sigma _1 \sigma _2)(\sigma _3 \sigma _2)^2(\sigma _1 \sigma _2)^3(\sigma _3 \sigma _2)(\sigma _1 \sigma _2)^2(\sigma _3 \sigma _2)\)

Fig. 14
figure 14

The chord diagram and Lando graph associated to \(w= \sigma _3 (\sigma _1 \sigma _2)^2(\sigma _3 \sigma _2)^2(\sigma _1 \sigma _2)(\sigma _3 \sigma _2)(\sigma _1 \sigma _2)^2\)

For part (f), observe that after performing a B-smoothing in the four crossings associated to two of the sets of occurrences \(\sigma _1\sigma _3\) (or \(\sigma _3\sigma _1\)) in \(\tilde{w}\), we obtain a disjoint sum of two 2-bridge diagrams, together with four non-admissible chords. \(\square \)

We finish this section with the proof of Corollary 5.2.

Proof of Corollary 5.2

The first step is to apply Corollary 6.6 to w to obtain \(w^{red}\). If \(w^{red}\) belongs to families \(\mathcal {C}_0 - \mathcal {C}_4\) then Propositions 3.6 and 3.25 complete the proof.

If \(w^{red} \in \mathcal {C}_5\), we have \(I(w) = I(G(D_1)) * I(G(D_2))\), with \(D_1\) and \(D_2\) two 2-bridge diagrams (see Proposition 7.3(f)). These diagrams represent alternating links, and therefore \(I(G(D_i))\) is either contractible or homotopy equivalent to a sphere (see [18]), for \(i=1,2\). \(\square \)

8 Considering negative generators

In this section we assume all braid diagrams to be strongly-reduced, i.e., \(w \in M_4^{red}\). We write \(w \dot{\in } \mathcal {C}_i\) if \(w \in M_4^{red}\) and \(w^+\in \mathcal {C}_i\), for \(0\le i \le 5\).

Proposition 8.1

Let \(w\in M_4^{red}\).

  1. (a)

    If \(w \dot{\in } \mathcal {C}_0\), then I(w) is homotopy equivalent to either \(S^{-1} = \emptyset \) (if \(w^+ = \varepsilon \)) or \(S^0\) (if \(w^+= \sigma _i\) and \(\sigma _i^{-1} \in w\)), or it is contractible otherwise.

  2. (b)

    If \(w\dot{\in } \mathcal {C}_1\), then I(w) is either contractible or homotopy equivalent to either one sphere or the wedge of two spheres of the same dimension.

  3. (c)

    If \(w\dot{\in } \mathcal {C}_2\), then I(w) is either contractible or homotopy equivalent to a sphere.

  4. (d)

    If \(w\dot{\in } \mathcal {C}_5\), then I(w) is either contractible or homotopy equivalent to a sphere.

Moreover, the complexity of computing the homotopy type of I(w) is polynomial.

Proof

Part (a) is trivial. For part (b), recall that \(G(w^+)\) corresponds to a 2a-gon. \(\sigma _1^{-1}\) and \(\sigma _2^{-1}\) occurrences in w yields to either a leaf or a square sharing a side with the 2a-polygon corresponding to \(w^+\) (see Fig. 10). In both cases, the result holds by applying Domination Lemma together with Proposition 3.6.

For part (c), notice that vertices arising from negative letters in w do not connect the 2k paths in \(G(w^+)\). As in the previous case, \(\sigma _i^{-1}\) occurrences giving rise to admissible chords yields to either leaves or squares sharing a side with one of the paths in \(G(w^+)\), for \(i=1,2,3\). Domination Lemma and Proposition 3.6(1) complete the proof.

For part (d) observe that negative \(\sigma _2^{-1}\) occurrences between the two letters in \(\sigma _1\sigma _3\) lead to non-admissible chords and therefore associated letters can be eliminated from w to obtain a new braid diagram \(w'\) with \(I(w) = I(w')\). Thus the statement follows from Proposition 7.3 and the proof of Corollary 5.2, since the diagrams \(D_1\) and \(D_2\) associated to \(w'\) are 2-bridge diagrams, and therefore represent alternating links. \(\square \)

Computing the homotopy type of the independence complex of braid diagrams in families \(\mathcal {C}_3\) and \(\mathcal {C}_4\) is more involved and related to each other. We address these cases in the next subsections.

8.1 The case \(w \dot{\in } \mathcal {C}_3\)

In this section we consider those braid diagrams w on four strands which are strongly-reduced and such that \(w^+\) belongs to the family \(\mathcal {C}_3\) from Lemma 7.1, that is,

$$\begin{aligned} \tilde{w}^+ = \sigma _3(\sigma _1 \sigma _2)^{a_1} (\sigma _3 \sigma _2)^{a_2} \cdots (\sigma _3\sigma _2)^{a_{2k}} \end{aligned}$$
(1)

for some positive integers \(a_i\) (with \(1 \le i \le 2k\)) and \(k\ge 1\). Recall that we denote the above conditions as \(w \dot{\in } \mathcal {C}_3\).

Definition 8.2

Let \(w \dot{\in } \mathcal {C}_3\). The head of w, denoted \(w_H\), is the unique subword of \(\tilde{w}\) in the form \(w_H=\sigma _2 w_1 \sigma _3 w_2 \sigma _1 w_3 \sigma _2\), with \(w_i \in M_4^-\), for \(i=1,2,3\). The tail of w, \(w_T\), is the subword of \(\tilde{w}\) obtained by deleting the interior of the head \(w_H\) (that is, following previous notation, we delete \(w_1 \sigma _3 w_2 \sigma _1 w_3\)).

Proposition 8.3

Let \(w \dot{\in } \mathcal {C}_3\), with head \(w_H = \sigma _2 w_1 \sigma _3 w_2 \sigma _1 w_3 \sigma _2\), where \(w_i \in M_4^-\) for \(i=1,2,3\). Then, strong reducibility of w implies that the options for \(w_2\) are \(w_2= \emptyset \), \(w_2= \sigma _2^{-1}\) or \(w_2=\sigma _2^{-1}\sigma _1^{-1}\sigma _3^{-1}\sigma _2^{-1}\). Moreover:

  1. (1)

    If \(w_2 = \emptyset \), then the options for \(w_1\) and \(w_3\) are:

    $$\begin{aligned} w_1= \emptyset , \quad w_1=\sigma _1^{-1}\sigma _2^{-1}, \quad w_1=\sigma _3^{-1}\sigma _2^{-1}, \quad w_1=\sigma _1^{-1}\sigma _3^{-1}\sigma _2^{-1}, \end{aligned}$$
    $$\begin{aligned} w_3= \emptyset , \quad w_3=\sigma _2^{-1}\sigma _3^{-1}, \quad w_3=\sigma _2^{-1}\sigma _1^{-1}, \quad w_3=\sigma _2^{-1}\sigma _1^{-1}\sigma _3^{-1}. \end{aligned}$$
  2. (2)

    If \(w_2= \sigma _2^{-1}\), then we have to consider, in addition to previous options for \(w_1\) and \(w_3\), the following:

    $$\begin{aligned} w_1=\sigma _1^{-1}, \quad w_1=\sigma _3^{-1}\sigma _2^{-1}\sigma _1^{-1}, \quad w_3=\sigma _3^{-1}, \quad w_3=\sigma _3^{-1}\sigma _2^{-1}\sigma _1^{-1}. \end{aligned}$$
  3. (3)

    If \(w_2=\sigma _2^{-1}\sigma _1^{-1}\sigma _3^{-1}\sigma _2^{-1}\), then the options for \(w_1\) and \(w_3\) are:

    $$\begin{aligned} w_1=\emptyset , \quad w_1=\sigma _3^{-1}\sigma _2^{-1}, \quad w_3=\emptyset , \quad w_3=\sigma _2^{-1}\sigma _1^{-1}. \end{aligned}$$

Proof

Given a word w, we write w(j) for the jth letter in w and denote by \(n_i\) the length of \(w_i\), that is, \(w_i(n_i)\) is the last letter of \(w_i\), for \(i= 1,2,3\).

Fig. 15
figure 15

A scheme of the chord diagram of a braid \(w \dot{\in } \mathcal {C}_3\) illustrating proof of Proposition 8.3. The cases (a), (d) and (e) for maximal heads \(w_H\) described after Remark 8.4 are shown

See Fig. 15. Since w is strongly-reduced (and therefore nesting free and \(R_2\)-reduced) none of \(w_i\) with \(i=1,2,3\) contains two repeated letters, with the unique possible exception of \(w_2=\sigma _2^{-1}\sigma _1^{-1}\sigma _3^{-1}\sigma _2^{-1}\). Furthermore, \(w_2(1) \ne \sigma _3^{-1}\) and \(w_2(n_2) \ne \sigma _1^{-1}\). Moreover, if \(w_2(1) = \sigma _1^{-1}\) then we can redefine \(w_1' = w_1 \cdot \sigma _1^{-1}\) and \(w_2'=w_2(2) \cdots w_2(n_2)\), since replacing \(\sigma _1^{-1}\sigma _3\) by \(\sigma _3\sigma _1^{-1}\) preserves Lando graph; analogous reasoning works when \(w_3(n_3)=\sigma _3^{-1}\). Hence, \(w_2\) is either empty or \(w_2(1) = w_2(n_2)= \sigma _2^{-1}\).

Strong reducibility of w also implies that \(w_1(1) \ne \sigma _2^{-1} \ne w_3(n_3)\),   \(w_1(n_1) \ne \sigma _3^{-1}\) and \(w_3(1)\ne \sigma _1^{-1}\). If \(w_2= \emptyset \) we have two additional restrictions \(w_1(n_1) \ne \sigma _1^{-1}\) and \(w_3(1) \ne \sigma _3^{-1}\). This completes the proof of (1) and (2).

For case (3) there are two additional restrictions coming from nesting free property of w: \(\sigma _1^{-1}\notin w_1\) and \(\sigma _3 \notin w_3\). \(\square \)

Remark 8.4

It is natural, by symmetry in Fig. 15, that each option for \(w_1\) in Proposition 8.3 is associated by reversing order and involution \(\sigma _1^{-1} \leftrightarrow \sigma _3^{-1}\) to one of the options for \(w_3\).

For simplicity, from now on we assume that \(a_1>1\) when expressing \(\tilde{w}^+\) as in relation (1). When \(a_1=1\) the Lando graphs to analyze are simpler (compare Figs. 12 and 13). Thus, we get similar results (with analogous proofs) for the case \(a_1=1\).

In Proposition 7.3 we determined the Lando graph associated to positive (strongly-reduced) braid diagrams; in the particular case when \(w^+\in \mathcal {C}_3\) we determined that \(G(w^+)\) is a rhomboid graph. Now, we will study how such a rhomboid graph is modified by adding vertices (and edges) corresponding to negative letters in \(w \dot{\in } \mathcal {C}_3\).

Notice that all possible combinations for the head \(w_H\) listed in Proposition 8.3 are subwords (not necessarily with consecutive letters) of one of the combinations listed below. We refer to them as maximal heads (see Fig. 15).

(a) \(w_1= \sigma _1^{-1} \sigma _3^{-1}\sigma _2^{-1}\),    \(w_2=\sigma _2^{-1}\),    \(w_3= \sigma _2^{-1} \sigma _1^{-1}\sigma _3^{-1}\).

(b) \(w_1=\sigma _1^{-1} \sigma _3^{-1}\sigma _2^{-1}\),    \(w_2=\sigma _2^{-1}\),    \(w_3=\sigma _3^{-1} \sigma _2^{-1} \sigma _1^{-1}\).

(c) \(w_1=\sigma _3^{-1} \sigma _2^{-1} \sigma _1^{-1}\),    \(w_2=\sigma _2^{-1}\),    \(w_3=\sigma _2^{-1} \sigma _1^{-1}\sigma _3^{-1}\).

(d) \(w_1=\sigma _3^{-1} \sigma _2^{-1} \sigma _1^{-1}\),    \(w_2=\sigma _2^{-1}\),    \(w_3=\sigma _3^{-1} \sigma _2^{-1} \sigma _1^{-1}\).

(e) \(w_1= \sigma _3^{-1} \sigma _2^{-1}\),    \(w_2 = \sigma _2^{-1} \sigma _1^{-1}\sigma _3^{-1} \sigma _2^{-1}\),    \(w_3=\sigma _2^{-1} \sigma _1^{-1}\).

Figure 16 illustrates the Lando graphs of braid diagrams with maximal head and positive tail. Observe the graph (i) corresponding to maximal head (a) is an augmented rhomboid graph (Definition 3.24).

Fig. 16
figure 16

Lando graphs associated to braid diagrams with maximal heads in the case when \(a_1>1\). Graph (i) corresponds to case (a). Cases (b) and (c) are obtained from graph (i) after removing edge \(r_1\) and \(r_2\), respectively. Removing \(r_1\) and \(r_2\) from (i) corresponds to case (d). Graph (ii) corresponds to case (e)

Proposition 8.5

Let \(w \dot{\in }\mathcal {C}_3\) with positive tail \(w_T\). There exists a braid diagram \(w' \dot{\in }\mathcal {C}_3\) satisfying that \(w'_H\) is a maximal head extending \(w_H\), \(w_T = w_T'\) and G(w) is an induced subgraph of \(G(w')\) (i.e, an induced subgraph of one of the graphs depicted in Fig. 16). Moreover, the homotopy type of I(w) can be computed in polynomial time.

The first part of Proposition 8.5 follows from discussion above. The second part follows from the following propositions:

Proposition 8.6

Let G be an induced subgraph of the graph in Fig. 16(ii). Then I(G) is either contractible or has the homotopy type of either a sphere or the wedge of two spheres, and this can be determined in polynomial time.

Proof

We assume that G contains vertices \(e_1, e_3, b_2\) and \(b_2'\) (otherwise the result follows easily). It is clear that \(e_3\) and \(e_1\) dominates \(b_2\) and \(b_2'\) respectively. Therefore, \(I(w) \sim _h I(G(w)-e_1 -e_3)\). The graph \(G(w) - e_1 - e_3\) is an induced subgraph of a rhomboid graph (with \(b_2\) and \(b_2'\) taking the role of vertices \(b_r\) and \(b_\ell \), respectively), and therefore Proposition 3.25 completes the proof. \(\square \)

Proposition 8.7

Let \(G'\) be one of the graphs illustrated in Fig. 16(i), that is, the graph in black together with any subset of \(\{r_1, r_2\}\), and let G be an induced subgraph of \(G'\). Then, \(I(G)\sim _h \Sigma ^k I(H)\), where H is an induced subgraph of a mod-augmented simple rhomboid graph (Definition 3.21). Moreover the algorithm to compute H and k from G has polynomial complexity, and therefore the homotopy type of I(G) can be computed in polynomial time.

Proof

The algorithm to find H uses Csorba reduction (Proposition 3.5), Domination Lemma (Lemma 3.2) and application of Corollary 3.4 whenever we get a graph containing a leaf.

First step is applying Csorba reduction in the spine of G. If the distance between two consecutive spoke vertices \(v_i\) and \(v_{i+1}\) is 2, then the vertex between them is dominated by \(b_\ell \), \(b_r\) and \(b_2\) (in case they are in G). Therefore \(I(G) \sim _h I(G-b_\ell -b_r-b_2)\), and this graph is a forest and (after possibly applying Csorba reductions) can be seen as an induced subgraph of an augmented simple rhomboid graph.

Thus, assume that the distance between two consecutive spoke vertices \(v_i\) and \(v_{i+1}\) is either 0, 1 or \(\infty \), in case they are not connected (recall Proposition 3.9), for \(1\le i \le n-1\). We keep the name G for the graph obtained after Csorba reductions in the spine.

We focus now in the upper part of G (that is, the part involving vertices \(c_1,c_2,c_3,e_2,v_0\), in case they belong to G, and the vertices adjacent to them). The goal is to transform it into the upper part of an induced subgraph of a mod-augmented simple rhomboid graph (compare to Fig. 5b, illustrating an augmented simple rhomboid graph). We assume without loss of generality that vertex \(e_2\) and edge \(r_1\) belong to G and \(c_1 \notin G\) (otherwise, apply Corollary 3.4 and Domination Lemma over \(e_2>c_1\) if needed).

Next step is to apply Csorba reduction in the path connecting \(e_2\) and the first spoke vertex \(v_0\); we write \(c_0\) for its distance:

  • If \(c_0 = 0\) \((mod \, 3)\), then after Csorba reduction vertices \(v_0\) and \(e_2\) are identified (this corresponds to transformation (a) in Definition 3.21).

  • If \(c_0 = 2\) \((mod \, 3)\), write v for the vertex between \(e_2\) and \(v_0\). It is clear that vertex \(b_\ell \) dominates v (if \(b_\ell \) belongs to G), so \(I(G) \sim _h I(G-b_\ell )\). Then the upper part of \(G-b_\ell \) can be seen (possibly after applying Csorba reduction on \(c_2-e_2-v-v_0\)) as the upper part of an induced subgraph of a simple rhomboid graph, where \(b_2\) and \(c_3\) take the role of \(b_\ell \) and \(v_0\), respectively.

  • If \(c_0 = \infty \), then the upper part of G coincides with the upper part of the induced subgraph of an augmented simple rhomboid graph where the edge connecting \(v_{-1}\) and \(v_0\) has been removed (transformation (c) in Definition 3.21).

  • If \(c_0 = 1\) \((mod \, 3)\), then just apply Csorba reduction a finite number of times until \(c_0=1\).

Symmetric analysis holds for the lower part of the graph, leading to transformations (b) and (d) in Definition 3.21. Corollary 3.23 completes the proof. \(\square \)

Fig. 17
figure 17

The graphs illustrating Example 8.8

Example 8.8

Let G be the graph depicted in Fig. 17a, which is an induced subgraph of one of the graphs depicted in Fig. 16(i). Vertex \(b_\ell \) dominates v so Domination Lemma applies, and after applying Csorba reduction over the path \(c_2-e_2-v-v_0\), we get that \(I(G)\sim _h \Sigma I(G_1)\), with \(G_1\) the graph in Fig. 17b). Applying once more Csorba reduction over the path conecting \(v_n\) and \(e_2'\) in \(G_1\) we obtain \(I(G_1) \sim _h \Sigma I(H)\), with H the graph in Fig. 17c, which is an induced subgraph of a mod-agumented simple rhomboid graph.

The following result, which follows from analysis of Fig. 16, will be useful when considering negative letters in the tail of a braid diagram, which we address in the next section.

Lemma 8.9

Let \(w \dot{\in }\mathcal {C}_3\) with maximal head \(w_H\) and positive tail \(w_T\), and let \(a \in w_H\) be a negative letter and \(v_a\) its associated vertex in G(w). Then:

  1. (1)

    If \(a= \sigma _2^{-1} \in w_2\), then \(v_a\) is adjacent to all spoke vertices.

  2. (2)

    Otherwise, \(v_a\) is not adjacent to any vertex in \(P-e_2-e_2'\), where P is the extended spine (see Definition 3.13) of G(w).

8.1.1 Elimination of negative letters in tail \(w_T\)

Proposition 8.5 and Corollary 3.23 provide a proof of Theorem 5.1 for those braid words having positive tail. In this section we show that, given a braid diagram \(w\dot{\in }\mathcal {C}_3\), it is possible to reduce (in polynomial time) all negative letters from \(w_T\) to obtain a braid \(w'\dot{\in }\mathcal {C}_3\) with no negative letters in its tail \(w'_T\) and determine how \(I(w')\) is related to I(w). We first eliminate those \(\sigma _2^{-1}\) occurrences in \(w_T\), and then letters \(\sigma _1^{-1}\) and \(\sigma _3^{-1}\).

Lemma 8.10

(Elimination of \(\sigma _2^{-1}\) in \(w_T\)) Let \(w \in M_4^{red}\) and let \(w_0\) be a subword of \({\tilde{w}}\) of the form \(w_0= \sigma _2w_1\sigma _1w_2\sigma _2\), with \(w_i\in M^-_4\) and \(w_0\) containing the letter \(\sigma _2^{-1}\). Replace \(w_0\) by \(w_0' = \sigma _2w_1'\sigma _1\sigma _2\sigma _1w_2'\sigma _2\) in \(\tilde{w}\) to get \(\tilde{w}'\), where \(w_i'\) is obtained from \(w_i\) by deleting \(\sigma _2^{-1}\) occurrences, for \(i=1,2\). Write \(v_1, v_2, v_1'\) for the vertices of \(G(w')\) associated to each of the letters of the central subword \(\sigma _1\sigma _2\sigma _1\). Then

  1. (1)

    \(I(w) \sim _h I(G(w')-v_2)\),          if \(w_1\) and \(w_2\) contain \(\sigma _2^{-1}\),

  2. (2)

    \(I(w) \sim _h I(G(w')-\{v_1,v_2\})\)    if \(\sigma _2^{-1} \notin w_1\),

  3. (3)

    \(I(w) \sim _h I(G(w')-\{v_1',v_2\})\)    if \(\sigma _2^{-1} \notin w_2\).

Proof

First assume both \(w_1\) and \(w_2\) contain \(\sigma _2^{-1}\). See Fig. 18a. It is clear that the vertex \(e_1\) associated to the unique occurrence \(\sigma _1\in w_0\) dominates both vertices \(u_2\) and \(u_2'\) associated to \(\sigma _2^{-1}\) in \(w_1\) and \(w_2\). Then, Domination Lemma applies and \(I(w) \sim _h I(G(w)-e_1)\). However, the graph \(G(w)-e_1\) is isomorphic to the graph \(G(w')-v_2\), as shown in Fig. 18b; vertices \(u_2\) and \(u_2'\) in \(G(w)-e_1\) take the role of \(v_1\) and \(v_1'\) in \(G(w')-v_2\). This completes the proof of part (1). The same reasoning works for parts (2) and (3), removing from Fig. 18 the vertices that are not in the diagram. \(\square \)

Fig. 18
figure 18

The chord diagram associated to w (resp. \(w'\)) and the graphs G(w) (resp. \(G(w')\)) illustrating proof of Lemma 8.10 are shown in a (resp. b)

Remark 8.11

By symmetry, it is straightforward that Lemma 8.10 holds when \(w_0=\sigma _2w_1\sigma _3w_2\sigma _2\), with \(w_1, w_2\in M_4^{-}\).

We call the idea in proof of Lemma 8.10 the splitting vertex method. It allows to transform a braid diagram \(w \dot{\in } \mathcal {C}_3\), into another braid diagram \(w'\dot{\in } \mathcal {C}_3\) with \(\sigma _2^{-1} \notin w'_T\) satisfying \(I(w) \sim _h I(H)\), with H an induced subgraph of \(G(w')\). Hence, from now on we assume \(w \dot{\in } \mathcal {C}_3\) not to contain letters \(\sigma _2^{-1}\) in \(w_T\). Next, we show how to eliminate \(\sigma _1^{-1}\) and \(\sigma _3^{-1}\) from \(w_T\).

Lemma 8.12

Let \(w\dot{\in }\mathcal {C}_3\) with \(\sigma _2^{-1} \notin w_T\). Then, the vertices associated to each occurrence \(\sigma _1^{-1}\) and \(\sigma _3^{-1}\) in \(w_T\) are adjacent to at most five vertices in G(w).

Fig. 19
figure 19

The chord diagram corresponding to the subword \(w_0=\sigma _2 w_1 \sigma _1 w_2 \sigma _2 \in w_T\), with \(w_1,w_2\in M_4^-\), illustrating the proof of Lemma 8.12

Proof

Let \(\sigma _3^{-1} \in w_T\), and denote the associated vertex in G(w) by s. Since w is strongly-reduced, then \(\sigma _3^{-1}\) belongs to a subword \(w_0=\sigma _2 w_1 \sigma _1 w_2 \sigma _2\) of \(\tilde{w}\), with \(w_1,w_2\in M_4^-\). Assume, without loss of generality, that \(\sigma _3^{-1}\in w_1\); then, by strong reducibility (nesting free and \(R_2\)-reduced conditions), \(w_1 = \sigma _3^{-1}\) and \(w_2\) is trivial. It follows from Fig. 12 and 19 that the vertex corresponding to \(\sigma _1\) in \(w_0\) is the unique vertex from \(w_T\) which is adjacent to s in G(w). We denote it by \(v^s\).

Next, we study which vertices from the head \(w_H =\sigma _2 w_1^H \sigma _3 w_2^H \sigma _1w_3^H \sigma _2\), with \(w_i^H\in M_4^-\) for \(i=1,2,3\), are adjacent to s. It is clear from Fig. 15 that the only vertices of \(w_H\) adjacent to s in G(w) are those corresponding to \(\sigma _1\) and \(\sigma _3\) together with occurrences of \(\sigma _2^{-1}\) in \(w_2^H\). However, since w is strongly-reduced it follows from Proposition 8.3 that \(w_2^H\) contains at most two \(\sigma _2^{-1}\) occurrences. \(\square \)

Definition 8.13

Let \(w \dot{\in }\mathcal {C}_3\) with \(\sigma _2^{-1}\notin w_T\). The vertices associated to letters \(\sigma _1^{-1}\) and \(\sigma _3^{-1}\) in \(w_T\) are called spiders. Each spider s is adjacent to at most five vertices:

  • vertex \(b_\ell \) associated to \(\sigma _1 \in w_H\).

  • vertex \(b_r\) associated to \(\sigma _3 \in w_H\).

  • vertices \(b_2\), \(b_2'\) associated to occurrences \(\sigma _2^{-1} \in w_2^H \subset w_H\).

  • vertex \(v^s\), associated to the unique vertex from \(w_T\) adjacent to s (for details see proof of Lemma 8.12). If we write P for the extended spine of G(w), then \(v^s\) is a vertex in \(P - e_2 - e_2'\).

Remark 8.14

Observe (see Fig. 16) that vertices \(b_\ell , b_r\), \(b_2\) and \(b_2'\) are adjacent to all spoke vertices in G(w), and therefore if we consider an induced subgraph not containing the vertex \(v^s\) associated to a spider s, then all spoke vertices and other spiders dominate s and we apply Domination Lemma and further reductions in Sect. 3.1 to get the complete graph \(K_4\) (with \(I(K_4) \sim _h S^0 \vee S^0 \vee S^0\)) or an induced subgraph of \(K_4\). Therefore, I(G) is either contractible or has the homotopy type of the wedge of at most 3 spheres of the same dimension.

Fig. 20
figure 20

Graphs in the cases when the vertex \(v^s\) associated to a spider s is at distance 1 and 2 from spoke vertex \(v_i\) are illustrated in a, b, respectively. An edge connected to the box represents four edges connected to each of the vertices in the box, in case these vertices are in G

We are now ready to present the next step of our algorithm, which allows to eliminate spiders (i.e., \(\sigma _1^{-1}\) and \(\sigma _3^{-1}\) occurrences) from the tail of a given braid diagram.

Let \(w \dot{\in } \mathcal {C}_3\) and assume \(\sigma _2^{-1}\notin w_T\) and \(G=G(w)\) contains no leaves (otherwise, apply Corollary 3.4). Given a spider s, define \(d^s\) as the shortest distance between \(v^s\) and a spoke vertex \(\{v_i\}_{i=0}^n\) taken along the extended spine P of G; we set \(d^s = \infty \) if \(v^s\) is not connected to any spoke vertex along P. Let \(d = \min \{d^s \, | s \, \, \text{ is } \text{ a } \text{ spider } \text{ in } G\}\). We eliminate spiders recursively; in each step we eliminate those spiders s satisfying \(d^s=d\). Observe that Proposition 3.5 and Lemma 8.9 imply that we can restrict to the case when \(d \in \{0,1,2,\infty \}\). Next we analyze each of these cases.

  1. (1)

    Case \(d=0\). Vertex \(v^s\) is a spoke vertex and therefore it dominates s, so by Domination Lemma \(I(w) \sim _H I(G-v^s) \vee \Sigma I(G-st(v^s)).\)

    By Remark 8.14, \(I(G-v^s)\) is either contractible or has the homotopy type of a sphere or two spheres or three spheres of the same dimension. Moreover, in the graph \(G-st(v^s)\) all spiders become leaves and they can be removed by using Corollary 3.4, leading to a forest; thus, \(I(G-st(v^s))\) is either contractible or homotopy equivalent to a sphere. The fact that the dimensions of the spheres arising in \(I(G-v^s)\) are smaller or equal than the dimension of the sphere in \(I(G-st(v))\) follows from Lemma 3.7. In particular, Theorem 5.1 holds for w.

  2. (2)

    Case \(d=1\). See Fig. 20a. Spoke vertex \(v_i\) dominates s, so \(I(G) \sim _h I(G-v_i)\). Graph \(G-v_i\) can be thought as removing s from G together with edge e; applying Proposition 3.9 completes this case, allowing to remove vertex s.

  3. (3)

    Case \(d=2\). See Fig. 20b. Spoke vertex \(v_i\) dominates s in \(G-v^s\), so \(I(G-v^s) \sim _h I(G-v^s-v_i)\), which is contractible. Therefore, Proposition 3.3 applies and

    $$\begin{aligned} I(G) \sim _h I(G-v^s) \vee \Sigma I(G-st(v^s)) \sim _h \Sigma I(G-st(v^s)), \end{aligned}$$

    and therefore s can be removed.

  4. (4)

    Case \(d=\infty \). In this case, there exist no path along the extended spine P connecting \(v^s\) to any spoke vertex, for every spider s. Since G has no leaves (otherwise, we apply Corollary 3.4) Proposition 3.5 implies that there are essentially three possibilities:

    1. (i)

      There exist two spiders \(s_1\) and \(s_2\) so that \(v^{s_1}\) and \(v^{s_2}\) are connected by an edge. See Fig. 21(a). In \(G-v^{s_2}\) the vertex \(v^{s_1}\) becomes a leaf and therefore \(I(G-v^{s_2}) \sim _h \Sigma I(G-v^{s_2}-st(s_1))\), which is contractible. Thus Proposition 3.3 leads to \(I(G) \sim _h \Sigma I(G-st(v^{s_2}))\), which is either contractible or has the homotopy type of the wedge of at most 3 spheres of the same dimension, by Remark 8.14.

    2. (ii)

      There exist two spiders \(s_1\) and \(s_2\) so that \(v^{s_1}\) and \(v^{s_2}\) are at distance 2. See Fig. 21b. Consider the graph \(G'\) obtained from G after collapsing the path of length 3 connecting \(s_1\) and \(v^{s_2}\), and write \(v'\) for the resulting vertex. By Proposition 3.5 we get that \(I(G) \sim _h \Sigma I(G')\), and since \(v'\) dominates \(s_2\) in \(G'\), Domination Lemma implies that

      $$\begin{aligned} I(G') \sim _h I(G'-v')\vee \Sigma I(G'-st(v')). \end{aligned}$$

      In \(G'-v'\) we apply Remark 8.14, while the graph \(G'-st(v')\) is a forest and then Proposition 3.6(2) applies. Lemma 3.7 implies that the dimensions of the spheres in \(I(G'-v')\) are smaller or equal than that of the sphere arising in \(I(G'-st(v'))\).

    3. (iii)

      There is a spider s connected by a path to vertex \(v_{-1}\) as shown in Fig. 21c. In this case we can think of G as the induced graph of an augmented rhomboid graph \(G'\) where spoke vertices are defined in terms of vertices of G as \(v_0'=s\), \(v_{i+1}'=v_i\), for \(0 \le i \le n+1\).

Fig. 21
figure 21

Graphs illustrating the graphs involved in the case when \(d= \infty \). Cases (a), (b) and (c) correspond to situations (i), (ii) and (iii), respectively. As before, an edge connected to a box represents edges connected to each of the vertices in the box, in case these vertices are in the graph

Repeated application of the methods described in this section (Lemma 8.10 together with discussion of cases depending on value of d) gives rise to the following result:

Proposition 8.15

Given a braid diagram \(w \dot{\in } \mathcal {C}_3\), there exists a polynomial complexity algorithm which either determines directly the homotopy type of I(G) and it satisfies conditions in Theorem 5.1, or it produces a braid diagram \(w'\dot{\in } \mathcal {C}_3\) with no negative letters in \(w_T'\) with the property that I(w) is obtained from \(I(G')\), where \(G'\) is an induced subgraph of \(G(w')\). The precise way to obtain I(w) from \(I(G')\) is given by the algorithm and it consists of taking a finite number of suspensions and, possibly, a wedge operation.

Proposition 8.15 together with Proposition 8.5 complete the proof of the main theorem in the case when the given braid diagram belongs to the family \(\mathcal {C}_3\) and \(a_1>1\). The remaining cases when \(w \dot{\in } \mathcal {C}_3\) with \(a_1=1\) or \(w \dot{\in } \mathcal {C}_4\) follow in a similar manner (in fact, the case when \(w \dot{\in } \mathcal {C}_4\) and \(a_1>1\) follows from Proposition 7.2). This completes the proof of Theorem 5.1. For convenience of the reader we finish this section with a sketch of the algorithm which, given a 4-braid diagram as input, determines the homotopy type of I(w) in polynomial time.

figure a

9 Concluding remarks and future directions

We believe that our main computational complexity conjecture (Conjecture 1.1) will be the central object of research for years to come.

The small steps we plan to address in the future is to work on almost extreme grades of Khovanov homology; compare to [6, 18]. The case of positive 5-braids and extreme Khovanov homology seems to be possible to approach today. Generally, some new techniques must be discovered for a general proof of Conjecture 1.1. There have been several unsuccessful attempts to prove the wedge of spheres conjecture (Conjecture 1.3), which seems to be rather difficult but very attractive.

9.1 Khovanov adequate diagrams

We conjecture that links L whose Khovanov homology \(Kh_{*,j_{\min }}(L)\) is different from every group in the statement of Corollary 1.6 have braid index greater than four. Our results prove it only partially as in Corollary 9.2. Before its statement we introduce a formal definition of Khovanov adequate diagrams and links.

Definition 9.1

A diagram D is Khovanov B-adequate if its Khovanov homology in quantum grading \(j_{\min }(D)=-c-2|s_B|\) is not trivial. Analogously, D is Khovanov A-adequate if its Khovanov homology in quantum grading   \(j_{\max }:=\max \{j(s,\epsilon ) \, | \, (s, \epsilon ) \text{ is } \text{ an } \text{ enhanced } \text{ state } \text{ of } D \}\) is not trivial. A diagram satisfying both properties is said to be Khovanov adequate.

A link is Khovanov B-adequate (resp. A-adequate or adequate) if there exists a Khovanov B-adequate (resp. A-adequate or adequate) diagram representing it.

As a consequence of Theorem 5.1 we get the following result.

Corollary 9.2

Let L be a link so that the Khovanov homology of the lowest non-trivial row (i.e., the one with minimal quantum grading) is different from every group in the statement of Corollary 1.6. Then there is no Khovanov B-adequate braid diagram with four strands representing L.

We speculate that it is possible to find new criteria for the crossing number of Khovanov adequate links, generalizing the result by Lickorish and Thistlethwaite [14]. We hope that it will stimulate research in this topic.

9.2 Remarks on topological complexity

Our initial approach to the complexity of finding the homotopy type of \(I_D\) was via topological complexity of Smale [19]. In that setting, an algorithm can be represented as a computation tree: a rooted tree growing down with the root (input) at the top and the leaves (output) at the bottom. Internal nodes are of two types: computational nodes and branching nodes, as shown in Fig. 22. Computation nodes do not contribute to the topology of the computation tree, so the topological complexity of the tree is defined as the number of branching nodes. The topological complexity of a problem is the minimum topological complexity taken over all possible computation trees for that problem.

Fig. 22
figure 22

Nodes of a computational tree: computation node (left) and branching node (right)

In our case, branching nodes are associated to wedge operations. In fact, the reason for attraction to topological complexity is visible through the whole paper: we often analyze a vertex v of a graph G and study the homotopy type of \(I(G-v)\) and \(I(G-st(v))\). In many case one of these simplicial complexes is contractible, so \(I(G)\sim _h I(G-v)\) or \(I(G)\sim _h \Sigma I(G-st(v))\). From the point of view of computation tree, this corresponds to a computation node, which is not increasing topological complexity (we have this situation for example if v is a preleaf in G, as in Corollary 3.4). In some cases neither \(I(G-v)\) nor \(I(G-st(v))\) is contractible, but we can prove that \(I(G-st(v))\) is contractible in \(I(G-v)\), and therefore Proposition 3.3 leads to \(I(G)\sim _h I(G-v) \vee \Sigma I(G-st(v))\), corresponding to a branching node in the computation tree. It was, at least initially, rather unexpected for us that branching nodes were used seldom. In fact, they were never used more than three times, and this is related to the fact that in Theorem 5.1 the simplicial complex I(w) has the homotopy type of the wedge of at most four spheres.

We decided not to include topological complexity in the paper because if we extend initial data in our problem (for example, including homotopy type of simple rhomboid graphs), then we can argue that topological complexity is equal to zero, so we cannot really say that in our case topological complexity is equal to three. On the other hand, if right after a branching node the complex in one of the branches is immediately contractible, still one can count the branching node in the computation tree and therefore its complexity will have linear grow.