1 Introduction

Labyrinth fractals are fractal dendrites in the plane, that can also be viewed as a special family of Sierpiński carpets. Such carpets are not only studied by mathematicians, but also by physicists, e.g., as mathematical models for porous materials, rocks, or disordered media [1, 14]. The mathematical objects called labyrinth fractals were introduced and studied by Cristea and Steinsky [2,3,4], on the one hand, and on the other hand in recent research in physics [6, 10,11,12] objects called fractal labyrinths, strongly related to the labyrinth fractals, are used, as well as the labyrinth fractals mentioned above, including in [6] the notation and mathematical frame introduced by Cristea and Steinsky [2, 3]. These fractal labyrinths and labyrinth fractals appear in physics in several different contexts. To the best of our knowledge, they first occured in the study of anomalous diffusion, and particle dynamics [10]. In [6] they were used as a tool for processing and analysing planar nanostructures, while in [11] the authors applied them in the context of fractal reconstruction of complex images, signals and radar backgrounds. In the very recent article [12] it is shown how the benefits of the wide simulation abilities of labyrinth fractals were used in oder to create a software that generates the shape of ultra-wide band fractal antennas, based on the geometry of labyrinth fractals, as introduced in [2]. Fractal antennas are already known to have applications, among others, in medicine, and cellular communications on base stations and mobile terminals, they have been of interest to scientists from the fields of physics and electronics for the last decade and still are a subject of ongoing research.

In nature or in technics, objects that can be described by prefractals of labyrinth fractals occur in various situations: the system of blood or lymphatic vessels in the body of humans or animals, the leaf veins of plants, river systems, dendrites in the brain, the electrical discharches (e.g., lightening) on the one hand, and, on the other hand, systems of irrigation in agriculture, systems of ressources or information distribution, communication or transport networks. In the context of physics, a fractal labyrinth is defined [10] as “a connected topological structure with fractal dimension greater than 1 and with the scaling nature of the conducting channels”. Thus the labyrinth fractals defined by Cristea and Steinsky [2,3,4] provide a broad class of fractal labyrinths as described and used in physics and other applied sciences, and which through their transparent construction method are amenable to rigorous mathematical treatment. The results found for these mathematical objects have both potential and actual applications in, and implications to, fields where their finite,“real” counterparts occur, like, e.g., physics, material science, or life science.

Mixed labyrinth fractals were introduced and studied in more recent work by Cristea and Steinsky [4]. They are a generalisation of the self-similar labyrinth fractals introduced and studied by the same authors in previous work [2, 3]. In the case of mixed labyrinth fractals more than one pattern is used in order to construct the set, as described in Sect. 2. It has been proven [4] that, when passing from the self-similar case to the generalised case of the mixed labyrinth sets and mixed labyrinth fractals, several of the topological properties are preserved: the mixed labyrinth fractals are dendrites in the unit square, too, that have exactly one exit on each side of the unit square. In the self-similar case it was shown that special patterns, called blocked patterns, generate fractals that are dendrites with the property that the arc between any two points in the fractal has infinite length.

In the present article we show that in the case of mixed labyrinth fractals the situation is much more complex: on the one hand, one can find sequences of blocked labyrinth patterns that generate labyrinth fractals where the arc between any two points in the fractal is finite, and on the other hand one can find sequences of blocked labyrinth patterns whose resulting labyrinth fractal has the property that the arc between any two points of the fractal has infinite length. Moreover, we give an example for the construction of mixed labyrinth fractals where some arcs in the fractal have finite length and others have infinite length, analogous to the case when self-similar labyrinth fractals are generated by a pattern that is horizontally but not vertically, or vertically but not horizontally blocked (see, e.g., [2]). Finally, we state a conjecture on lengths of arcs in mixed labyrinth fractals, for future research.

The results in this article provide ideas and modalities for constructing such fractal dendrites with desired properties regarding the lengths of arcs beween points in the fractal, that could serve as models, e.g., in the context of particle transport, nanostructures, image processing. We remark here that although there are several well known examples of continuous curves with infinite length, like the Peano curve [9], the Hilbert [7] or the von Koch curve [16, 17], not all of them have the property that the arc between any two points of the curve has infinite length, as in the case of the arcs in some of the labyrinth fractals. Moreover, we note that random Koch curves, i.e., objects that are related, e.g., to arcs between certain points (exit points) in labyrinth fractals, are studied with respect to random walks by theoretical physicists in connection with diffusion processes, e.g., [13]. In this context we also mention diffusion processes of water in biological tissues. There are many more available examples that support the idea that labyrinth fractals, whether mixed or self-similar, are mathematical objects worth understanding with respect to their topological and geometrical properties, with benefits both in mathematics and in other sciences.

2 Labyrinth fractals

One way to construct labyrinth fractals is with the help of labyrinth patterns. Let \(x,y,q\in [0,1]\) such that \(Q=[x,x+q]\times [y,y+q]\subseteq [0,1]\times [0,1]\). For any point \((z_x,z_y)\in [0,1]\times [0,1]\) we define the function \(P_Q(z_x,z_y)=(q z_x+x,q z_y+y)\).

For any integer \(m\ge 1\) let \(S_{i,j,m}=\{(x,y)\mid \frac{i}{m}\le x \le \frac{i+1}{m} \text{ and } \frac{j}{m}\le y \le \frac{j+1}{m} \}\) and \(\mathcal{S}_m=\{S_{i,j,m}\mid 0\le i\le m-1 \text{ and } 0\le j\le m-1 \}\).

Any nonempty \(\mathcal{A} \subseteq \mathcal{S}_m\) is called an m-pattern and m its width. Let \(\{\mathcal{A}_k\}_{k=1}^{\infty }\) be a sequence of non-empty patterns and \(\{m_k\}_{k=1}^{\infty }\) be the corresponding width-sequence, i.e., for all \(k\ge 1\) we have \(\mathcal{A}_k\subseteq \mathcal{S}_{m_k}\). We let \(m(n)=\prod _{k=1}^n m_k\), for all \(n \ge 1\). Let \(\mathcal{W}_1=\mathcal{A}_{1}\), we call \(\mathcal{W}_1\) the set of white squares of level 1, and define \(\mathcal{B}_1=\mathcal{S}_{m_1} {\setminus } \mathcal{W}_1\) as the set of black squares of level 1. For \(n\ge 2\) the set of white squares of level n is defined as

$$\begin{aligned} \mathcal{W}_n=\bigcup _{W\in \mathcal{A}_{n}, W_{n-1}\in \mathcal{W}_{n-1}}\{ P_{W_{n-1}}(W)\}. \end{aligned}$$
(1)

We remark that \(\mathcal{W}_n\subset \mathcal{S}_{m(n)}\), and we define the set of black squares of level n by \(\mathcal{B}_n=\mathcal{S}_{m(n)} {\setminus } \mathcal{W}_n\). For \(n\ge 1\), we define \(L_n=\bigcup _{W\in \mathcal{W}_n} W\). Thus, \(\{L_n\}_{n=1}^{\infty }\) is a monotonically decreasing sequence of compact sets, and \(L_{\infty }=\bigcap _{n=1}^{\infty }L_n\) is the limit set defined by the sequence of patterns \(\{\mathcal{A}_k\}_{k=1}^{\infty }.\)

Fig. 1
figure 1

Three labyrinth patterns, \(\mathcal{A}_1\) (a 4-pattern), \(\mathcal{A}_2\) (a 5-pattern), and \(\mathcal{A}_3\) (a 4-pattern)

Fig. 2
figure 2

The set \(\mathcal{W}_2\), constructed based on the above patterns \(\mathcal{A}_1\) and \(\mathcal{A}_2\), that can also be viewed as a 20-pattern

Figures 1, 2, and 3 show examples of labyrinth patterns and illustrate the first three steps of the construction of a mixed labyrinth set.

We define, for \(\mathcal{A}\subseteq {\mathcal{S}_m}\), \(\mathcal {G}(\mathcal{A})\equiv (\mathcal {V}(\mathcal {G}(\mathcal{A})),\mathcal {E}(\mathcal {G}(\mathcal{A})))\) to be the graph of \(\mathcal{A}\), i.e., the graph whose vertices \(\mathcal {V}(\mathcal {G}(\mathcal{A}))\) are the white squares in \(\mathcal{A}\), i.e., \(\mathcal {V}(\mathcal {G}(\mathcal{A}))=\mathcal{A}\) and whose edges \(\mathcal {E}(\mathcal {G}(\mathcal{A}))\) are the unordered pairs of white squares, that have a common side. The top row in \(\mathcal{A}\) is the set of all white squares in \(\{S_{i,m-1,m}\mid 0\le i\le m^n-1 \}\). The bottom row, left column, and right column in \(\mathcal{A}\) are defined analogously. A top exit in \(\mathcal{A}\) is a white square in the top row, such that there is a white square in the same column in the bottom row. A bottom exit in \(\mathcal{A}\) is defined analogously. A left exit in \(\mathcal{A}\) is a white square in the left column, such that there is a white square in the same row in the right column. A right exit in \(\mathcal{A}\) is defined analogously. One can of course define the above notions in the special case \(\mathcal{A}=\mathcal{W}_{n}\). In this case the top row (in \(\mathcal{W}_{n}\)) is called the top row of level n. The bottom row, left column, and right column of level n are defined analogously.

Fig. 3
figure 3

A prefractal of the mixed labyrinth fractal defined by a sequence \(\{\mathcal{A}_k\}\) where the first three patterns are \(\mathcal{A}_1, \mathcal{A}_2, \mathcal{A}_3\), respectively, shown in Fig. 1

A non-empty m-pattern \(\mathcal{A} \subseteq {\mathcal{S}_m}\), \(m \ge 3\) is called a \(m\times m\)-labyrinth pattern (in short, labyrinth pattern) if \(\mathcal{A}\) satisfies Properties 1, 2, and 3.

Property 1

\(\mathcal {G}(\mathcal{A})\) is a tree.

Property 2

Exactly one top exit in \(\mathcal{A}\) lies in the top row, exactly one bottom exit lies in the bottom row, exactly one left exit lies in the left column, and exactly one right exit lies in the right column.

Property 3

If there is a white square in \(\mathcal{A}\) at a corner of \(\mathcal{A}\), then there is no white square in \(\mathcal{A}\) at the diagonally opposite corner of \(\mathcal{A}\).

Let \(\{\mathcal{A}_k\}_{k=1}^{\infty }\) be a sequence of non-empty patterns, with \(m_k\ge 3\), \(n\ge 1\) and \(\mathcal{W}_n\) the corresponding set of white squares of level n. We call \(\mathcal{W}_{n}\) an \(m(n)\times m(n)\)-mixed labyrinth set (in short, labyrinth set), if \(\mathcal{A} =\mathcal{W}_{n}\) satisfies Properties 1, 2, and 3. It was shown [4] that if all patterns in the sequence \(\{\mathcal{A}_k\}_{k=1}^{\infty }\) are labyrinth patterns, then \(\mathcal{W}_n\) is a labyrinth set, for any \(n\ge 1\). The limit set \(L_{\infty }\) defined by a sequence \(\{\mathcal{A}_k\}_{k=1}^{\infty }\) of labyrinth patterns is called mixed labyrinth fractal.

One can immediately see that in the special case when all patterns in the sequence \(\{\mathcal{A}_k\}_{k=1}^{\infty }\) are identical, \(L_{\infty }\) is a self-similar labyrinth fractal, as defined in [2, 3].

In the following we introduce some more notation. For \(n\ge 1\) and \(W_1,W_2 \in \mathcal {V}(\mathcal {G}(\mathcal{W}_{n}))\) we denote by \(p_n(W_1,W_2)\) the path in \(\mathcal {G}(\mathcal{W}_{n})\) that connects \(W_1\) and \(W_2\). A path in \(\mathcal {G}(\mathcal{W}_{n})\) is called -path if it leads from the top to the bottom exit of \(W_n\). The , , , and -paths lead from left to right, top to right, right to bottom, bottom to left, and left to top exit, respectively.

Within a path in \(\mathcal {G}(\mathcal{W}_{n})\) each white square in the path is denoted according to its neighbours within the path: if it has a top and a bottom neighbour it is called -square (with respect to the path), and it is called , , , , and -square if its neighbours are at left-right, top-right, bottom-right, left-bottom, and left-top, respectively. If the considered square is an exit, it is supposed to have a neighbour outside the side of the exit. A bottom exit, e.g., is supposed to have a neighbour below, outside the bottom, additionally to its neighbour that lies inside the unit square.

For more details on labyrinth sets and mixed labyrinth fractals and for results on topological properties of mixed labyrinth fractals we refer to the paper [4].

3 Existing results on arcs in mixed labyrinth fractals

In this section we list some of the results obtained for mixed labyrinth fractals [4] that are useful in the context of this paper. We use the notation introduced in the previous section.

Lemma 1

(Arc Construction) Let \(a,b\in L_{\infty }\), where \(a\ne b\). For all \(n \ge 1\), there are \(W_n(a),W_n(b)\in V(\mathcal {G}(\mathcal{W}_{n}))\) such that

  1. (a)

    \(W_1(a)\supseteq W_2(a)\supseteq \ldots \),

  2. (b)

    \(W_1(b)\supseteq W_2(b)\supseteq \ldots \),

  3. (c)

    \(\{a\}=\bigcap _{n=1}^{\infty }W_n(a)\),

  4. (d)

    \(\{b\}=\bigcap _{n=1}^{\infty }W_n(b)\).

  5. (e)

    The set \(\bigcap _{n=1}^{\infty }\left( \bigcup _{W\in p_n(W_n(a),W_n(b))} W\right) \) is an arc between a and b.

We recall from [2] that the squares \(W_n(a)\), \(W_n(b)\), \(n\ge 1\) in the above lemma are chosen in the following way: let W(a) be the set of all white squares in \(\bigcup _{n=1}^{\infty } \mathcal{W}_n \) that contain a. Let \(W_1(a)\) be a white square in \(\mathcal{G} (\mathcal{W}_1)\) that contains infinitely many white squares of W(a) as a subset. For \(n\ge 2\), we define \(W_n(a)\) as a white square in \(\mathcal{G}(\mathcal{W}_n)\), such that \(W_n(a)\subseteq W_{n-1}(a) \), and \(W_n(a)\) contains infinitely many squares of W(a) as a subset. \(W_n(b)\), for \(n\ge 1 \), is defined in the analogous manner.

Proposition 1

Let \(n,k\ge 1\), \(\{W_1,\ldots ,W_k\}\) be a (shortest) path in \(\mathcal {G}(\mathcal{W}_{n})\) between the exits \(W_1\) and \(W_k\), \(K_0=W_1 \cap \mathrm {fr}([0,1]\times [0,1])\), \(K_k=W_k \cap \mathrm {fr}([0,1]\times [0,1])\), where \(\mathrm {fr}(\cdot )\) denotes the boundary of a set, and c be a curve in \(L_n\) from a point of \(K_0\) to a point of \(K_k\). The length of c is at least \((k-1)/(2\cdot m(n))\).

Let \(T_n\in \mathcal{W}_{n}\) be the top exit of \(\mathcal{W}_{n}\), for \(n\ge 1\). The top exit of \(L_{\infty }\) is \(\bigcap _{n=1}^{\infty }T_n\). The other exits of \(L_{\infty }\) are defined analogously. We note that Property 2 yields that \((x,1),(x,0)\in L_{\infty }\) if and only if (x, 1) is the top exit of \(L_{\infty }\) and (x, 0) is the bottom exit of \(L_{\infty }\). For the left and the right exit the analogous statement holds. Let \(n\ge 1\), \(W\in \mathcal{W}_{n}\), and t be the intersection of \(L_{\infty }\) with the top edge of W. Then we call t the top exit of W. Analogously we define the bottom exit, the left exit and the right exit of W. We note that the uniqueness of each of these four exits is provided by the uniqueness of the four exits of a mixed labyrinth fractal and by the fact that each such set of the form \(L_{\infty } \cap W\), where \(W\in \mathcal{W}_{n}\), is a mixed labyrinth fractal scaled by the factor m(n). We note that we have now defined exits for three different types of objects, i.e., for \(\mathcal{W}_{n}\) (and \(\mathcal{A}_{k}\)), for \(L_{\infty }\), and for squares in \(\mathcal{W}_{n}\).

Proposition 2

Let \(e_1,e_2\) be two exits in \(L_{\infty }\), and \(W_n(e_1), W_n(e_2)\) be the exits in \(\mathcal {G}(\mathcal{W}_{n})\) of the same type as \(e_1\) and \(e_2\), respectively, for some \(n\ge 1.\) If a is the arc that connects \(e_1\) and \(e_2\) in \(L_{\infty }\), p is the path in \(\mathcal {G}(\mathcal{W}_{n})\) from \(W_n(e_1)\) to \(W_n(e_2)\), and \(W\in \mathcal{W}_{n}\) is a -square with respect to p, then \(W\cap a\) is an arc in \(L_{\infty }\) between the top and the bottom exit of W. If W is another type of square, the corresponding analogous statement holds.

For the corresponding results, in detail, for self-similar fractals we refer to [3].

4 Blocked labyrinth patterns, blocked labyrinth sets and a recent conjecture

We recall that an \(m\times m\)-labyrinth pattern \(\mathcal{A}\) is called horizontally blocked if the row (of squares) from the left to the right exit contains at least one black square. It is called vertically blocked if the column (of squares) from the top to the bottom exit contains at least one black square. Analogously we define for any \(n \ge 1\) a horizontally or vertically blocked labyrinth set of level n. As an example, the labyrinth patterns shown in Figs. 1 and 4 are horizontally and vertically blocked, while those in Fig. 5 are not blocked.

Fig. 4
figure 4

A horizontally and vertically blocked (\(6 \times 6\)-labyrinth) pattern

Fig. 5
figure 5

Examples of labyrinth patterns, that are neither horizontally nor vertically blocked

In the self-similar case the following facts were proven [3, Theorem 3.18]:

Theorem 1

Let \(L_{\infty }\) be the (self-similar) labyrinth fractal generated by a horizontally and vertically blocked \(m\times m\)-labyrinth pattern. Between any two points in \(L_{\infty }\) there is a unique arc a. The length of a is infinite. The set of all points, at which no tangent to a exists, is dense in a.

For the case of mixed labyrinth fractals, Cristea and Steinsky [4] recently formulated the following conjecture.

Conjecture 1

Let \(\{\mathcal{A}_k\}_{k=1}^{\infty }\) be a sequence of both horizontally and vertically blocked labyrinth patterns, \(m_k\ge 4\). For any two points in the limit set \(L_{\infty }\) the length of the arc \(a\subset L_{\infty }\) that connects them is infinite and the set of all points, where no tangent to a exists, is dense in a.

In this article we solve the arc length problem posed by the above conjecture by showing that, depending on the choice of the both horizontally and vertically blocked labyrinth patterns in the sequence \(\{\mathcal{A}_k\}_{k=1}^{\infty }\), both situations can occur: the arc between any points of the fractal has finite length, or the arc between any two points of the fractal has infinite length.

Fig. 6
figure 6

An example: the special cross pattern \(\mathcal{A}_1\) with \(m_1=11\)

Example 1

Let \(\{\mathcal{A}_k\}_{k=1}^{\infty }\) be a sequence of (both horizontally and vertically) blocked labyrinth patterns, \(m_k\ge 11\), with \(m_k= 2 a_k+1\), \(a_k\ge 5\).

We consider a sequence of patterns that are both vertically and horizontally blocked and have a “cross shape” like \(\mathcal{A}_1\) in Fig. 6, i.e., the pattern looks like a “cross” centered in the “central square” of the pattern (here coloured in light grey) and each “arm” of the cross is “blocked” such that in order to get from the “center” of the cross to any of the four exits of the pattern we have to go a detour around a black square that lies in the same row or column as the respective exit and the mentioned “central square” of the pattern. More precisely, we position the four black squares between the central square and the exits of \(\mathcal{A}_k\) in the columns (rows) \((a_k+1)/2\) and \((3a_k+3)/2\), if \(a_k\) is odd, and in the columns (rows) \((a_k+2)/2\) and \((3a_k+2)/2\), if \(a_k\) is even. We call these patterns special cross patterns. One can immediately see that the “central square” of such a special cross pattern, where the four “arms” of the cross meet, changes its type, depending on the path in \(\mathcal{{G}}(\mathcal{A}_1)\) that we consider between two exits of the pattern \(\mathcal{A}_1\): in the -path in the pattern, it is a -square, and in the y-path, it is a y-square, for any \(y\in \) {, , , , }.

We recall that the path matrix of a labyrinth set or a labyrinth pattern \(\mathcal{A}\) is a \(6\times 6\)-matrix M such that the element in row x and column y is the number of y-squares in the x-path in \(\mathcal {G}(\mathcal{A})\). It was proven [4, Proposition 1] that, for any sequence of labyrinth patterns \(\{\mathcal{A}_k\}_{k\ge 1}\) with corresponding sequence of path matrices \(\{M_k\}_{k\ge 1}\), for any integer \(n\ge 1\) the matrix \(M(n):= \prod _{k=1}^n M_k\) is the matrix of the mixed labyrinth set \(\mathcal{W}_n\) (of level n), i.e., the sum of the entries in any row of M(n) gives the length of the path between two of the exits in \(\mathcal {G}(\mathcal{W}_n)\). For more details and properties of path matrices we refer to the papers [2,3,4].

Fig. 7
figure 7

Example: five consecutive elements of a sequence of special cross patterns, where \(a_k=k+4\), here for \(k=1,\ldots ,5\)

Fig. 8
figure 8

A mixed labyrinth fractal of level 2 that is a prefractal of the mixed labyrinth fractal defined by a sequence \(\{\mathcal{A}_k\}\) of special cross patterns as shown in Fig. 7

With the help of Figs. 6 and 7 one can easily check that for this special sequence of labyrinth patterns \(\{ \mathcal{A}_k\}_{k \ge 1}\), the path matrix of the pattern \(\mathcal{A}_k\) is

$$\begin{aligned} M_k=\left( \begin{array}{l@{\quad }l@{\quad }l@{\quad }l@{\quad }l@{\quad }l} 2a_k-3 &{} 0 &{} 2 &{} 2 &{} 2 &{} 2\\ 0 &{} 2a_k-3 &{} 2 &{} 2 &{} 2 &{} 2\\ a_k-2 &{} a_k-2 &{} 3 &{} 2 &{} 2 &{} 2\\ a_k-2 &{} a_k-2 &{} 2 &{} 3 &{} 2 &{} 2\\ a_k-2 &{} a_k-2 &{} 2 &{} 2 &{} 3 &{} 2\\ a_k-2 &{} a_k-2 &{} 2 &{} 2 &{} 2 &{} 3\\ \end{array}\right) , ~~\text{ for }~~ k\ge 1~~ \text{ and }~~ m_k=2a_k+1. \end{aligned}$$

Thus the length of the path in \(\mathcal {G}(\mathcal{A}_k)\) between any two exits is in this case exactly \(2a_k+5\). Herefrom we obtain that the length of any path between two exits in \(\mathcal{W}_n\) is then \(\prod _{k=1}^n(2a_k+5)=\prod _{k=1}^n(m_k+4)\) (see also Fig. 8).

As a next step, we introduce, for \(n=1,2,\dots \), the curves \(\gamma _n^q\), for \(q \in \mathcal{E}\)={, , , , , , }. Here, \(q \in \mathcal{E}\) indicates which exits are connected by the path, e.g., if \(q=\) then \(\gamma _n^q\) is a curve that connects the top and the bottom exit of \(L_{\infty }\), if \(q =\) then \(\gamma _n^q\) is a curve that connects the left and the right exit of \(L_{\infty }\), and so on. In the sequel we define these simple curves. Let \(n \ge 1\). For \(q=\) we construct the curve \(\gamma _n^q\) in the following way. Let \(W\in \mathcal{W}_n\) be, e.g., a square of type in the path of type q. Then, we define the restriction \( \gamma _n^q|W\) to be the vertical line segment that connects the midpoints of the top and of the bottom edge of W. We proceed analogously in the case when W is a square of type , , , , , in each case \( \gamma _n^q|W\) is the union of two line segments (both horizontal, or one horizontal and one vertical) that both go through the center of W and the midpoint of some edge of W, such that the sum of their lengths is \(\frac{1}{m(n)}\). We immediately get the length of the curve \(\gamma _n\), for \(n\ge 1\):

$$\begin{aligned} \ell (\gamma _n)=\prod _{k=1}^n \frac{m_k+4}{m_k}=\prod _{k=1}^n\left( 1+\frac{4}{m_k}\right) . \end{aligned}$$
(2)
Fig. 9
figure 9

This picture shows a fragment of \(\gamma _n ^q\), and (dashed) \(\gamma _{n-1} ^q\). Here \(q \in \mathcal{E}\) indicates that the arc connects the left and right exit of a square \(W \in \mathcal{W}_n\), in the picture the most left and most right dotted points

Now we study the sequence \(\{\ell (\gamma _n) \}_{n\ge 1}\). From (2) we easily see that \(\{\ell (\gamma _n) \}_{n\ge 1}\) is a strictly increasing sequence, thus \(\lim _{n\rightarrow \infty } \ell (\gamma _n)= \sup _{n=1,2,\dots } \ell (\gamma _n).\)

By basic mathematical analysis facts \(\prod _{k=1}^n ( 1+\frac{4}{m_k})\) converges if and only if \( \sum _{k\ge 1} \frac{4}{m_k}\) converges, i.e., \( \sum _{k\ge 1} \frac{1}{m_k}<\infty \). By taking, e.g., \(a_k=5^k\), for \(k=1,2,\dots \) we obtain \(\sup _{n=1,2,\dots } \ell (\gamma _n)=\lim _{n \rightarrow \infty } \ell (\gamma _n)<\infty \).

Remark One can verify, by using the definition of the Hausdorff distance \(d_H\), that, for \(q \in \mathcal{E}\), the arc \(\gamma ^q\) in \(L_{\infty }\) that connects the two exits of \(L_{\infty }\) indicated by q satisfies \(d_H(\gamma _n^q, \gamma ^q)\rightarrow 0\), for \(n\rightarrow \infty .\) Here we mean the Hausdorff distance between the images of the two curves, as sets in the Euclidean plane endowed with the Euclidan distance.

Lemma 2

With the above notation, there are parametrisations \({\tilde{\gamma }}_n^q(t):[0,1]\rightarrow [0,1]^2\) and \({\tilde{\gamma }}^q(t):[0,1]\rightarrow [0,1]^2\) of \({\gamma }_n^q\) and \({\gamma }^q\), respectively, such that for all \(q \in \mathcal{E}\), we have \(||{\tilde{\gamma }}_n^q - {\tilde{\gamma }} ^q ||_{\infty } \rightarrow 0\), for \(n \rightarrow \infty \), where \(|| \cdot ||_{\infty }\) is the supremum norm.

Proof

Sketch: the proof of Lemma 2 is based on the fact that one can easily find parametrisations \({\tilde{\gamma }}_n^q(t):[0,1]\rightarrow [0,1]^2\) and \({\tilde{\gamma }}^q(t):[0,1]\rightarrow [0,1]^2\) of \({\gamma }_n^q\) and \({\gamma }^q\), respectively, such that \(||\tilde{\gamma }_n^q - \tilde{\gamma } ^q ||_{\infty } \le \frac{3}{2}\cdot \frac{1}{m(n)}\), for \(n=1,2, \dots \). See also Fig. 9. \(\square \)

Lemma 3

Let \({\tilde{\gamma }}_n:[0,1]\rightarrow [0,1]^2\) and \({\tilde{\gamma }}:[0,1]\rightarrow [0,1]^2\) be parametrisations of the planar curves \({\gamma }_n\) and \({\gamma }\), respectively, whose lengths we denote by \(\ell ({\gamma }_n)\) and \(\ell ({\gamma })\). If \(||{\tilde{\gamma }}_n - {\tilde{\gamma }}||_{\infty } \rightarrow 0\), for \({n \rightarrow \infty }\), and \( \displaystyle \sup \nolimits _{n}\ell ({\gamma }_n) <\infty \), then \( \ell ({\gamma })<\infty \). Moreover, in this case the following inequalities hold: \(\displaystyle \liminf \nolimits _{n \rightarrow \infty } \ell ({\gamma }_n) \le \ell ({\gamma }) \le \limsup \nolimits _{n \rightarrow \infty } \ell ({\gamma }_n)\).

Proof

We give an indirect proof of the first assertion of the lemma, the second one we leave as an exercise, since for our purposes the first assertion is already enough. Assume \(\ell ({\gamma })=\infty \). Since \( \displaystyle \sup \nolimits _{n}\ell ({\gamma }_n) <\infty \), we can choose a positive integer N such that \(\displaystyle N> \sup _{n}\ell ({\gamma }_n)+1\). Then, by the definition of the length of a curve, there exist the real numbers \(0=s_0<s_1<\cdots < s_m=1\), \(m \ge 1\), such that \(\sum _{k=1}^m ||{\tilde{\gamma }}(s_k)- {\tilde{\gamma }}(s_{k-1}) ||>N\), where \(||\cdot ||\) denotes the Euclidean norm in the plane. From the convergence hypothesis it follows that there exists an integer \(n_0\) such that for every \(n \ge n_0\) we have \(||{\tilde{\gamma }}-{\tilde{\gamma }}_n ||_{\infty }<\frac{1}{2(m+1)}\), and thus \(\displaystyle \max _{k=1,\dots ,m} ||{\tilde{\gamma }}(s_k)-{\tilde{\gamma }}_n(s_k) ||<\frac{1}{2(m+1)}\). Moreover, by the definition of the length of a curve, \(\ell (\gamma _n)\ge \sum _{k=1}^m ||{\tilde{\gamma }}_n(s_k)- {\tilde{\gamma }}_n(s_{k-1}) ||\). Thus, we now easily obtain the following inequalities:

$$\begin{aligned} N&< \sum _{k=1}^m ||{\tilde{\gamma }}(s_k)- {\tilde{\gamma }}(s_{k-1}) || \\&\le \sum _{k=1}^m \left( ||{\tilde{\gamma }}(s_k)- {\tilde{\gamma }_n}(s_{k}) ||+||{\tilde{\gamma }}_n(s_k)- {\tilde{\gamma }}_n(s_{k-1}) ||+||{\tilde{\gamma }}_(s_{k-1})- {\tilde{\gamma }}(s_{k-1}) ||\right) \\&\le 2 \sum _{k=0}^m ||{\tilde{\gamma }}(s_k)- {\tilde{\gamma }}_n(s_{k}) || + \sum _{k=1}^m ||{\tilde{\gamma }}_n(s_k)- {\tilde{\gamma }}_n(s_{k-1}) || \le 1 + \ell (\gamma _n), \end{aligned}$$

which leads to a contradiction. \(\square \)

Now, for an arbitrary \(n\ge 1\), let us take \(W \in \mathcal{W}_n\), \(L_{\infty }| W:=L_{\infty }\cap W\) and consider any two of the exits \(e_1\), \(e_2\) of the square W (as defined in the paper [4]). Then the arc in \(L_{\infty }| W\) that connects \(e_1\) and \(e_2\) is the scaled image of the arc between two exits (of the same types) of a labyrinth set \(L'_{\infty }\) generated by the sequence of patterns \(\{\mathcal{A'}_k\}_{k=1}^{\infty }\), where \(\mathcal{A'}_k=\mathcal{A}_{k+n}\), and the scaling factor is m(n). Therefore, one can easily see that the arc beween any such exits of any square \(W \in \mathcal{W}_n\), for any \(n\ge 1\), is finite.

Herefrom it then easily follows that if xy are points that belong to the set of points in \(L_{\infty }\) that consists of all centres and all exits of squares of \(\cup _{n\ge 1} \mathcal{V}({\mathcal G}(\mathcal{W}_n))\), then the length of the arc in \(L_{\infty }\) that connects x and y is finite.

Let \({E}_n\) be the set of all points of \(L_{\infty }\) that are exits of squares of level n, and \({C}_n\) be the set of all points of \(L_{\infty }\) that are centers of squares of level n. For any two distinct points \(x',y' \in L_{\infty }\), we introduce the notation \(a (x',y')\) for the arc in \( L_{\infty }\) that connects the points \(x'\) and \(y'\). Let now \(W\in \mathcal{V}({\mathcal G}(\mathcal{W}_n))\), with \( n\ge 0\) (for \(n=0\), W is the unit square, otherwise it is a white square of level n, as defined before). Let c be the center of W,  and e one of its four exits. Now, we want to show that for any point \(x \in (\mathrm {Int}W \cap L_{\infty }){\setminus } \cup _{k\ge n}(E_k \cup C_k)\), where \(\mathrm {Int}\) denotes the interior of the set, \(\ell (a(x,c))<\infty \) and \(\ell (a(x,e))<\infty \). In the following we give a proof of the first inequality. Therefore, we consider two cases.

First, we assume that x is a point on one of the four “main arms” of \(L_{\infty } \cap W\) (which is in fact the scaled image of the mixed labyrinth fractal defined by the sequence \(\{\mathcal{A}_k\}_{k \ge n+1}\)), i.e., x lies on the arc in \(L_{\infty }\) that connects the center of W with one of its exits. In this case, it easily follows from the above results that the length of the arc in \(L_{\infty }\) between x and the center of W has finite length (that is less than one half of the length of the arc between two exits in W).

In the second case, we assume that x does not lie on a “main arm” of \(L_{\infty } \cap W\), i.e., x lies on a “branch” of the dendrite, that originates at a point, say \(c'\), with \(c'\in \bigcup _{k\ge n+1}C_k,\) that lies on one of the four “main arms” of \(L_{\infty } \cap W\) (that connects the center \(c\in C_n\) of W with one of its exits, say \(e\in E_n\)). By the construction of the fractal and of arcs in the fractal (Lemma 1), there exists a point \( e'\in \bigcup _{k\ge n+1}E_k \) such that x lies on the arc \(a(c',e')\) in \(L_{\infty }\) that connects \(c'\) and \(e'\), which, due to the above considerations, has finite length. Since \( \ell (a(c,x))= \ell (a(c,c'))+ \ell (a(c',x))\le \ell (a(c,c'))+ \ell (a(c',e'))= \ell (a(c,e'))<\infty \), it follows that \( \ell (a(c,x)) <\infty \). We leave the proof of the inequality \(\ell (a(x,e))<\infty \) to the reader as an exercise.

Let now \(x,y\in L_{\infty }\) be two distinct points, and let \(W_n(x)\) and \(W_n(y)\) be two squares in \(\mathcal{W}_n\) such that \(x\in W_n(x)\) and \(y\in W_n(y)\). The squares \(W_n(x)\), \(n\ge 1\) are chosen in the following way: let W(x) be the set of all white squares in \(\bigcup _{n=1}^{\infty } \mathcal{W}_n \) that contain x. Let now \(W_1(x)\) be a white square in \(\mathcal{G} (\mathcal{W}_1)\) that contains infinitely many white squares of W(x) as a subset. Now we define, for \(n\ge 2\), \(W_n(x)\) as a white square in \(\mathcal{G}(\mathcal{W}_n)\), such that \(W_n(x)\subseteq W_{n-1}(x) \), and \(W_n(x)\) contains infinitely many squares of W(x) as a subset. We define \(W_n(y)\), for \(n\ge 1,\) in the analogous manner. Let \(p_n\) be the path between \(W_n(x)\) and \(W_n(y)\) constructed as in Lemma 1. Since \(x\ne y\), it follows that there exists an integer \(n \ge 1\), such that \(p_n\) consists of at least 3 squares. Let then \(W \in p_n\) be a square with \(W \notin \{ W_n(x), W_n(y)\}\). By the construction of the arc a in \(L_{\infty }\) between x and y as described in Lemma 1, \(a \cap W\) is an arc between two exits of W, and thus has finite length. Since a(xy) is the union of finitely many such arcs of finite length with the arcs \(a(x,e_x)\) and \(a(e_y,y)\), where \(e_x\) ist one of the exits of \(W_n(x)\) and \(e_y\) is one of the exits of \(W_n(y)\), namely \(\{e_x\}=a(x,y)\cap \mathrm {fr}(W_n(x))\), and \(\{e_y\}=a(x,y)\cap \mathrm {fr}(W_n(y))\), it follows that a(xy) has infinite length.

The above example shows that one can find a sequence of patterns that generates a mixed labyrinth fractal with the property that the length of the arc that connects any two points in the fractal is finite. Moreover, one can see that for a labyrinth pattern that contains such a “special cross” the length of the paths between the exits of the pattern does not change, it is the same as here, and thus the arc lengths in the fractal also remain finite, as in the above example.

Thus we have proven the following result.

Proposition 3

There exist sequences \(\{\mathcal{A}_k\}_{k=1}^{\infty }\) of (both horizontally and vertically) blocked labyrinth patterns, such that the limit set \(L_{\infty }\) has the property that for any two points in \(L_{\infty }\) the length of the arc \(a\subset L_{\infty }\) that connects them is finite.

Based on a theorem in the book of Tricot [15, p.73, Chap. 7.1] regarding the existence of the tangent to a curve of finite length, we obtain the following stronger result:

Theorem 2

There exist sequences \(\{\mathcal{A}_k\}_{k=1}^{\infty }\) of (both horizontally and vertically) blocked labyrinth patterns, such that the limit set \(L_{\infty }\) has the property that for any two points in \(L_{\infty }\) the length of the arc \(a\subset L_{\infty }\) that connects them is finite. For almost all points \(x_0 \in a\) (with respect to the length) there exists the tangent at \(x_0\) to the arc a.

Remarks

  1. 1.

    It is easy to see that such special cross patterns as shown in Fig. 6, with such a “detour” on each of the four arms, exist only for width \(m \ge 11\). Moreover, one can easily check that for the above example both the box-counting and the Hausdorff dimension of the fractal is \(\dim _B(L_{\infty })=\dim _H (L_{\infty })=1\) and also the box-counting dimension of any arc that connects a pair of exits in \(L_{\infty }\) is 1. The same holds for the arc between any two distinct points in the fractal.

  2. 2.

    By the definition of a mixed labyrinth fractal, by the shape of special cross patterns, and the arc construction given in Lemma 1, one can check that the fractal is the countable union of rectifiable 1-sets. An example of such a countable collection of rectifiable 1-sets is as follows: take, for any level \(n\ge 1\) of the construction, the arcs in \(L_{\infty }\) that connect the center of any square \(W \in \mathcal {G}(\mathcal{W}_n)\) and any of the midpoints of its sides, i.e., any of the four exits of W,  as well as the four arcs in \(L_{\infty }\) that connect the center of the unit square with any of its midpoints (the four exits of the mixed labyrinth fractal).

  3. 3.

    In Example 1 we could also take, e.g., cross patterns with \(a_k=2^k\), for \(k \ge 1\), and consider the first two patterns in the sequence of generating patterns, to be just unblocked, symmetric cross patterns, with the width \(m_k=2 a_k+1\), \(k\in \{ 1,2\}\), and for \(k\ge 3\) special cross patterns. Then, \(\mathcal{W}_n\) is blocked for all \(n\ge 3\), and the resulting limit set \(L_{\infty }\) would still have the property that the arc between any two points in the fractal has finite length.

In the following example we show that one can use special cross patterns like the one shown in Fig. 6 in order to construct mixed labyrinth fractals with the property that the arc between any two points in the fractal has infinite length.

Example 2

Let \(\{\mathcal{A}_k\}_{k=1}^{\infty }\) be a sequence of special cross patterns like those occurring in Example 1, \(r \ge 2\) be an arbitrarily fixed integer, and let \(\{\mathcal{A}'_i,~i=1,\dots ,r\} \subset \{\mathcal{A}_k\}_{k\ge 3} \) be a finite set of blocked labyrinth patterns among those in the above infinite sequence, where \(m'_i=2a'_i+1\) denotes the width of the pattern \(\mathcal{A}'_i\), and \(l'_i=2a'_i+5\) is the length of the path between any two exits in \(\mathcal{G}(\mathcal{A}'_i)\), for \(i=1,\dots ,r\). We define a new sequence of labyrinth patterns \(\{\mathcal{A}^*_j\}_{j\ge 1}\), e.g., in the following way: \(\mathcal{A}^*_j \in \{ \mathcal{A}'_i, ~i = 1,\dots ,r\}\). Let \(L_{\infty }\) be the mixed labyrinth fractal generated by the sequence of patterns \(\{\mathcal{A}^*_j\}_{j\ge 1}\), and let \(a^*:=\max \{a'_i,~i=1,\dots ,r\} \), \(m^*:=2a^*+1\), and \(l^*:=2a^*+5\). Since

$$\begin{aligned} \mathop {\mathop {\mathop {\prod }\limits _{i=1,\dots ,r}}\limits _{k_1+\cdots +k_r=n,}}\limits _{k_i\ge 0} \left( \frac{l'_i}{m'_i}\right) ^{k_i}>\left( \frac{l^*}{m^*}\right) ^n=\left( 1+\frac{4}{m^*} \right) ^n\rightarrow \infty , ~~\text {for}~n\rightarrow \infty , \end{aligned}$$

it follows from Lemma 1 that the length of the arc between any two exits in \(L_{\infty }\) is infinite. By using arguments analogous to those in Example 1, one can show that the infinite length of the arc between any two exits of \(L_{\infty }\) implies that the arc between any two points in the fractal is infinite, as in the case of self-similar labyrinth fractals generated by both horizontally and vertically blocked patterns [2, 3].

Thus we have proven the following

Proposition 4

There exist sequences \(\{\mathcal{A}_k\}_{k=1}^{\infty }\) of (both horizontally and vertically) blocked labyrinth patterns, such that the limit set \(L_{\infty }\) has the property that for any two points in \(L_{\infty }\) the length of the arc \(a\subset L_{\infty }\) that connects them is infinite.

Fig. 10
figure 10

An example: a half-blocked cross pattern \(\mathcal{A}_1\) with width \(m_1=11\) that is horizontally blocked, but not vertically blocked

Example 3

In Fig. 10 we have a “half-blocked” labyrinth pattern with width 11, that is horizontally, but not vertically blocked, we call such a pattern (of width \(m=2a+1\ge 11\)) a half-blocked cross pattern, where either the horizontal or the vertical arms of the cross make a detour around a black square, positioned as in the case of the special cross patterns used in Example 1, and the “central square” of the pattern (where all “cross arms” meet) is positioned in column and row \(a+1\). Suppose we have a sequence \(\{\mathcal{A}_k\}_{k=1}^{\infty }\) of such patterns, with \(m_k=2a_k+1,\) and \(a_k\ge 5\), for \(k\ge 1\). For any pattern \(\mathcal{A}_k\) of the above sequence, the path matrix is

$$\begin{aligned} M_k=\left( \begin{array}{c@{\quad }c@{\quad }c@{\quad }c@{\quad }c@{\quad }c} 2a_k+1 &{} 0 &{} 0 &{} 0 &{} 0 &{} 0\\ 0 &{} 2a_k-3 &{} 2 &{} 2 &{} 2 &{} 2\\ a_k &{} a_k-2 &{} 2 &{} 1 &{} 1 &{} 1\\ a_k &{} a_k-2 &{} 1 &{} 2 &{} 1 &{} 1\\ a_k &{} a_k-2 &{} 1 &{} 1 &{} 2 &{} 1\\ a_k &{} a_k-2 &{} 1 &{} 1 &{} 1 &{} 2\\ \end{array}\right) . \end{aligned}$$

Thus, the lengths of the paths between exits in \(\mathcal{G}(\mathcal{A}_k)\) are: \(_k=2a_k+1\), \(_k=2a_k+5\), \(_k=\) \(_k=\) \(_k=\) \(_k=2a_k+3\). One can immediately check that the length of the arc between the top and bottom exit of the resulting labyrinth set \(L_{\infty }\) is 1, no matter how we chose the sequence \(\{ a_k\}_{k\ge 1}\). Now, let us analyse the arc between the left and the right exit in \(L_{\infty }\): between the left and right exit in \(\mathcal{W}_n\). If we choose, e.g., \(a_k=k+4\), for \(k\ge 1\), then \(\sum _{k=1}^{\infty }\frac{1}{m_k}=\infty \).

From Proposition 1 we have, with the notation used above: for \(q\in \) { },

$$\begin{aligned} \ell (\gamma ^q)\ge \frac{\prod _{k=1}^n(m_k+4)-1}{2 \prod _{k=1}^n m_k}=\frac{1}{2}\prod _{k=1}^n\Big (1+\frac{4}{m_k}\Big )-\frac{1}{2\prod _{k=1}^n m_k}. \end{aligned}$$

Under the above assumptions, \(\lim \nolimits _{n\rightarrow \infty }(\frac{1}{2}\prod \nolimits _{k=1}^n\big (1+\frac{4}{m_k}\big )-\frac{1}{2\prod _{k=1}^n m_k})=\infty ,\) for \(n\rightarrow \infty \), as one can immediately check. Herefrom one can easily infere that also the arcs in \(L_{\infty }\) that connect the top or the bottom exit of \(L_{\infty }\) with the left or the right exit of \(L_{\infty }\) have, all four, infinite length.

Moreover, one can show, by using arguments analogous to those mentioned when proving Proposition 3, that for any \(W\in \mathcal{W}_n\) the arc \(L_{\infty }\) that connects the left and the right exit of W has infinite length. This also holds for the arc in \(L_{\infty }\) that connects the top or the bottom exit of W with the left or the right exit of W.

Proposition 5

There exist sequences of horizontally blocked and not vertically blocked labyrinth patterns, such that the resulting mixed labyrinth fractal \(L_{\infty }\) has the following properties:

  1. 1.

    The arc in the fractal that connects the top and the bottom exit of \(L_{\infty }\) has finite length (equal to 1). The arc in the fractal that connects the top and bottom exit of any square in \(\mathcal{W}_n\) is a vertical segment with finite length. Any vertical line segment that is contained in the fractal has finite length.

  2. 2.

    The arc in the fractal that connects the left and the right exit of \(L_{\infty }\) has infinite length. The arc in the fractal that connects the left and right exit of any square in \(\mathcal{W}_n\) has infinite length.

  3. 3.

    The arc in the fractal that connects the exit \(e_1\) and the exit \(e_2\) in \(L_{\infty }\), where \(e_1\) is either the top or the bottom exit, and \(e_2\) either the left or the right exit, has infinite length, and the same holds for the arcs between these pairs of exits in any square in \(\mathcal{W}_n\).

The corresponding analogous statements regarding the existence of sequences of vertically and not horizontally blocked labyrinth patterns hold, such that \(L_{\infty }\) has the corresponding analogous properties.

For the above sequence of half-blocked cross patterns the length of the arc in \(L_{\infty }\) that connects two arbitrarily chosen distinct points \(x,y \in L_{\infty }\) has finite length if and only if it is contained in a vertical line segment which is, itself, a subset of \(L_{\infty }\).

Some final remarks In the case of mixed, i.e., not self-similar labyrinth fractals, not just the shape of the patterns, but also their width plays an essential role as a parameter that influences the lengths of arcs between exits or between any points in the fractal.

Conjecture A sequence of both horizontally and vertically blocked labyrinth patterns with the property that the sequence of widths \(\{m_k\}_{k\ge 1}\) is bounded, generates a mixed labyrinth fractal with the property that for any \(x,y \in L_{\infty }\) the length of the arc in the fractal that connects x and y is infinite.