# A fixed point theorem for preordered complete fuzzy quasi-metric spaces and an application

- Francisco Castro-Company
^{1}, - Salvador Romaguera
^{2}Email author and - Pedro Tirado
^{2}

**2014**:122

https://doi.org/10.1186/1029-242X-2014-122

© Castro-Company et al.; licensee Springer. 2014

**Received: **18 November 2013

**Accepted: **19 February 2014

**Published: **27 March 2014

## Abstract

We obtain a fixed point theorem for a type of generalized contractions on preordered complete fuzzy quasi-metric spaces which is applied to deduce, among other results, a procedure to show in a direct and easy fashion the existence of solution for the recurrence equations that are typically associated to Quicksort and Divide and Conquer algorithms, respectively.

**MSC:**47H10, 54H25, 06A06, 68Q25.

### Keywords

fixed point preordered fuzzy quasi-metric space recurrence equation algorithm## 1 Introduction

In 1975, Matkowski [[1], Theorem 1.2] proved the following distinguished generalization of Banach’s contraction principle.

**Theorem 1** [1]

*Let*$(X,d)$

*be a complete fuzzy metric space and*$f:X\to X$

*a self*-

*map such that*

*for all* $x,y\in X$, *where* $\phi :[0,\mathrm{\infty})\to [0,\mathrm{\infty})$ *is a nondecreasing function satisfying* ${lim}_{n\to \mathrm{\infty}}{\phi}^{n}(t)=0$ *for all* $t>0$. *Then* *f* *has a unique fixed point*.

**Remark 1** It is well known and easy to check that if $\phi :[0,\mathrm{\infty})\to [0,\mathrm{\infty})$ is a nondecreasing function such that ${lim}_{n\to \mathrm{\infty}}{\phi}^{n}(t)=0$ for all $t>0$, then $\phi (t)<t$ for all $t>0$.

Matkowski’s theorem has been generalized or extended in several directions (see *e.g.* [2–6]). In particular, Jachymski obtained in [[4], Theorem 1] the following nice fuzzy version of it.

**Theorem 2** [4]

*Let*$(X,M,\ast )$

*be a complete fuzzy metric space*,

*with*∗

*a continuous*

*t*-

*norm of Hadžić type*,

*and let*$f:X\to X$

*be a self*-

*map such that*

*for all* $x,y\in X$ *and* $t>0$, *where* $\phi :[0,\mathrm{\infty})\to [0,\mathrm{\infty})$ *is a function satisfying* $0<\phi (t)<t$ *and* ${lim}_{n\to \mathrm{\infty}}{\phi}^{n}(t)=0$ *for all* $t>0$. *Then* *f* *has a unique fixed point*.

**Remark 2** See [7] or [4] for the notion of a *t*-norm of Hadžić type (or of *h*-type).

Recently, Ricarte and Romaguera [[8], Theorem 2.2] established the following new fuzzy version of Matowski’s theorem by using a type of contraction introduced in the fuzzy intuitionistic context by Huang *et al.* [9], and that generalizes *C*-contractions as defined by Hicks in [10].

**Theorem 3** [8]

*Let*$(X,M,\ast )$

*be a complete fuzzy metric space and*$f:X\to X$

*a self*-

*map such that*

*for all* $x,y\in X$ *and* $t>0$, *where* $\phi :[0,\mathrm{\infty})\to [0,\mathrm{\infty})$ *is a nondecreasing function satisfying* ${lim}_{n\to \mathrm{\infty}}{\phi}^{n}(t)=0$ *for all* $t>0$. *Then* *f* *has a unique fixed point*.

In this paper we obtain a generalization of Theorem 3 to preordered fuzzy quasi-metric spaces which is applied to deduce, among other results, a procedure to show in a direct and easy way the existence of solution for the recurrence equations that are typically associated to Quicksort and Divide and Conquer algorithms, respectively. The key for this application is the nice fact that, for the specialization order of a fuzzy quasi-metric space, the contraction condition of Theorem 3 is automatically satisfied whenever the self-map *f* is nondecreasing for the specialization order and $\phi :[0,\mathrm{\infty})\to [0,\mathrm{\infty})$ is any function verifying $\phi (t)>0$ for all $t>0$ (see Theorem 5 in Section 3).

## 2 Background

In this section we recall several notions and properties which will be useful in the rest of the paper. Our basic reference for quasi-metric spaces is [11] and for fuzzy (quasi-)metric spaces they are [12, 13].

The letters ℝ, ℕ and *ω* will denote the set of real numbers, the set of positive integer numbers and the set of non-negative integer numbers, respectively.

A preorder on a nonempty set *X* is a reflexive and transitive binary relation ⪯ on *X*.

The preorder ⪯ is called a partial order, or simply an order, if it is antisymmetric (*i.e.*, condition $x\u2aafy$ and $y\u2aafx$, implies $x=y$).

Note that for any nonempty set *X*, the binary relation ${\u2aaf}^{t}$ defined by $x{\u2aaf}^{t}y$ if and only if $x,y\in X$, is obviously a preorder on *X*, the so-called trivial preorder on *X*.

A quasi-metric on a set *X* is a function $d:X\times X\to [0,\mathrm{\infty})$ such that for all $x,y,z\in X$: (i) $d(x,y)=d(y,x)=0$ if and only if $x=y$, and (ii) $d(x,y)\le d(x,z)+d(z,y)$.

A quasi-metric space is a pair $(X,d)$ such that *X* is a nonempty set and *d* is a quasi-metric on *X*.

Given a quasi-metric *d* on *X* the function ${d}^{s}$ defined by ${d}^{s}(x,y)=max\{d(x,y),d(y,x)\}$ for all $x,y\in X$, is a metric on *X*.

*d*is a quasi-metric on

*X*, then the relation ${\le}_{d}$ on

*X*given by

is an order on *X*, called the specialization order of *d*.

According to [14, 15], a binary operation $\ast :[0,1]\times [0,1]\to [0,1]$ is a continuous *t*-norm if ∗ satisfies the following conditions: (i) ∗ is associative and commutative; (ii) ∗ is continuous; (iii) $a\ast 1=a$ for every $a\in [0,1]$; (iv) $a\ast b\le c\ast d$ whenever $a\le c$ and $b\le d$, with $a,b,c,d\in [0,1]$.

Two interesting examples are ∧, and ${\ast}_{L}$, where, for all $a,b\in [0,1]$, $a\wedge b=min\{a,b\}$, and ${\ast}_{L}$ is the well-known Lukasiewicz *t*-norm defined by $a{\ast}_{L}b=max\{a+b-1,0\}$.

It seems appropriate to point out that ∗ ≤ ∧ for any continuous *t*-norm ∗.

A KM-fuzzy quasi-metric on a set *X* is a pair $(M,\ast )$ such that ∗ is a continuous *t*-norm and *M* is a fuzzy set in $X\times X\times [0,\mathrm{\infty})$ (*i.e.*, a function from $X\times X\times [0,\mathrm{\infty})$ into $[0,1]$) such that for all $x,y,z\in X$:

(KM1) $M(x,y,0)=0$;

(KM2) $x=y$ if and only if $M(x,y,t)=M(y,x,t)=1$ for all $t>0$;

(KM3) $M(x,z,t+s)\ge M(x,y,t)\ast M(y,z,s)$ for all $t,s\ge 0$;

(KM4) $M(x,y,\mathrm{\_}):[0,\mathrm{\infty})\to [0,1]$ is left continuous.

A KM-fuzzy quasi-metric $(M,\ast )$ on *X* such that for each $x,y\in X$:

(KM5) $M(x,y,t)=M(y,x,t)$ for all $t>0$

is a fuzzy metric on *X* (in the sense of Kramosil and Michalek [16]).

A simple but useful fact (see *e.g.* [12, 13]) is that for each KM-fuzzy quasi-metric $(M,\ast )$ on a set *X* and each $x,y\in X$, the function $M(x,y,\mathrm{\_})$ is nondecreasing.

In the following, KM-fuzzy quasi-metrics will be simply called fuzzy quasi-metrics.

If $(M,\ast )$ is a fuzzy quasi-metric on a set *X*, then the pair $({M}^{i},\ast )$ is a fuzzy metric on *X* where ${M}^{i}$ is the fuzzy set in $X\times X\times [0,\mathrm{\infty})$ defined by ${M}^{i}(x,y,t)=min\{M(x,y,t),M(y,x,t)\}$ for all $x,y\in X$ and $t\ge 0$.

As in the fuzzy metric case, each fuzzy quasi-metric $(M,\ast )$ on a set *X* induces a topology ${\tau}_{M}$ on *X* which has as a base the family of open balls $\{{B}_{M}(x,\epsilon ,t):x\in X,0<\epsilon <1,t>0\}$, where ${B}_{M}(x,\epsilon ,t):=\{y\in X:M(x,y,t)>1-\epsilon \}$.

It immediately follows that a sequence ${({x}_{n})}_{n\in \omega}$ in a fuzzy quasi-metric space $(X,M,\ast )$ converges to a point $x\in X$ with respect to ${\tau}_{M}$ if and only if ${lim}_{n\to \mathrm{\infty}}M(x,{x}_{n},t)=1$ for all $t>0$.

**Definition 2** A fuzzy (quasi-)metric space is a triple $(X,M,\ast )$ such that *X* is a set and $(M,\ast )$ is a fuzzy (quasi-)metric on *X*.

**Definition 3** A preordered fuzzy (quasi-)metric space is 4-tuple $(X,M,\u2aaf,\ast )$ such that $(X,M,\ast )$ is a fuzzy (quasi-)metric space and ⪯ is a preorder on *X*.

The notion of an ordered fuzzy (quasi-)metric space is defined in the obvious manner.

**Remark 3**If $(M,\ast )$ is a fuzzy quasi-metric on

*X*, then the relation ${\le}_{M}$ on

*X*given by

is an order on *X*, called the specialization order of $(M,\ast )$.

is a preorder on *X* (see *e.g.* [[17], Remark 3]).

We conclude this section with two typical examples of fuzzy quasi-metrics induced by a given quasi-metric space.

**Example 1** Let $(X,d)$ be a quasi-metric space. Then the pair $({M}_{01},\ast )$ is a fuzzy quasi-metric on *X* where ∗ is any continuous *t*-norm and ${M}_{01}$ is the fuzzy set on $X\times X\times [0,\mathrm{\infty})$ given by ${M}_{01}(x,y,t)=1$ if $t>0$ and $d(x,y)<t$, and ${M}_{01}(x,y,t)=0$ otherwise.

**Example 2** [12, 13] (see also [[18], Example 2.9])

*X*where ∗ is any continuous

*t*-norm ∗ and ${M}_{d}$ is the fuzzy set on $X\times X\times [0,\mathrm{\infty})$ given by ${M}_{d}(x,y,0)=0$ for all $x,y\in X$ and

for all $x,y\in X$ and $t>0$.

**Remark 4** Let $(X,d)$ be a quasi-metric space. It is clear that the specialization orders ${\le}_{d}$, ${\le}_{{M}_{01}}$ and ${\le}_{{M}_{d}}$ coincide, while the preorder ${\le}_{{({M}_{01})}_{p}}$ coincides with the trivial preorder ${\u2aaf}^{t}$ on *X*, and the preorder ${\le}_{{({M}_{d})}_{p}}$ coincides with the specialization order ${\le}_{{M}_{d}}$.

## 3 The fixed point theorem and some of its consequences

We start this section with the notions of fuzzy quasi-metric completeness and continuity of self-maps which will be used in our main result (Theorem 4 below).

A left *K*-Cauchy sequence in a fuzzy quasi-metric space $(X,M,\ast )$ is a sequence ${({x}_{n})}_{n\in \omega}$ in *X* such that for each $t>0$ and each $\epsilon \in (0,1)$ there is ${n}_{\epsilon}\in \mathbb{N}$ such that $M({x}_{n},{x}_{m},t)>1-\epsilon $ whenever $m\ge n\ge {n}_{\epsilon}$.

A preordered fuzzy quasi-metric space $(X,M,\u2aaf,\ast )$ will be called ⪯-complete if for each nondecreasing left *K*-Cauchy sequence ${({x}_{n})}_{n\in \omega}$ there is $x\in X$ such that ${({x}_{n})}_{n\in \omega}$ converges to *x* with respect to ${\tau}_{{M}^{i}}$, and ${x}_{n}\u2aafx$ for all $n\in \omega $.

Observe that if $(X,M,{\u2aaf}^{t},\ast )$ is a preordered fuzzy metric space which is ${\u2aaf}^{t}$-complete, then $(X,M,\ast )$ is a complete fuzzy metric space in the usual sense (see *e.g.* [19]).

Let $(X,M,\u2aaf,\ast )$ be a preordered fuzzy quasi-metric space. A self-map $f:X\to X$ is said to be ⪯-nondecreasing if condition $x\u2aafy$ implies $fx\u2aaffy$ for all $x,y\in X$, and it will be called ⪯-continuous if whenever ${({x}_{n})}_{n\in \omega}$ is a nondecreasing sequence for ⪯, which converges with respect to ${\tau}_{{M}^{i}}$ to some $x\in X$ such that ${x}_{n}\u2aafx$ for all $n\in \omega $, then the sequence ${(f{x}_{n})}_{n\in \omega}$ converges to *fx* with respect to ${\tau}_{{M}^{i}}$.

**Theorem 4**

*Let*$(X,M,\u2aaf,\ast )$

*be a preordered*⪯-

*complete fuzzy quasi*-

*metric space and*$f:X\to X$

*a*⪯-

*continuous nondecreasing self*-

*map such that*

*for all* $x,y\in X$ *with* $x\u2aafy$, *and* $t>0$, *where* $\phi :[0,\mathrm{\infty})\to [0,\mathrm{\infty})$ *satisfies* ${lim}_{n\to \mathrm{\infty}}{\phi}^{n}(t)=0$ *for all* $t>0$. *If there is* ${x}_{0}\in X$ *such that* ${x}_{0}\u2aaff{x}_{0}$, *then* $Fix(f)\ne \mathrm{\varnothing}$.

*If*, *in addition*, *condition* (1) *is satisfied for each* $x,y\in Fix(f)$, *then* *f* *has a unique fixed point*.

*Proof*Take ${t}_{0}>1$. Let $x,y\in X$ with $x\u2aafy$. Since $M(x,y,{t}_{0})>1-{t}_{0}$, it follows that

*f*is nondecreasing, we deduce that ${f}^{n}x\u2aaf{f}^{n}y$ for all $n\in \omega $, so, by (1) and (2), we immediately deduce that

for all $x,y\in X$ with $x\u2aafy$ and $n\in \omega $.

Now let ${x}_{0}\in X$ such that ${x}_{0}\u2aaff{x}_{0}$. Put ${x}_{n}={f}^{n}{x}_{0}$ for all $n\in \omega $. Since *f* is nondecreasing it follows that ${({x}_{n})}_{n\in \omega}$ is a nondecreasing sequence for ⪯.

*K*-Cauchy sequence in $(X,M,\ast )$. Choose $\epsilon \in (0,1)$ and $t>0$. Then there exists ${n}_{\epsilon}\in \mathbb{N}$ such that ${\phi}^{n}({t}_{0})<min\{\epsilon ,t\}$ for all $n\ge {n}_{\epsilon}$. Let $m>n\ge {n}_{\epsilon}$. Then $m=n+k$ for some $k\in \mathbb{N}$, so, by (3)

Therefore ${({x}_{n})}_{n\in \omega}$ is a nondecreasing left *K*-Cauchy sequence in $(X,M,\ast )$. Since $(X,M,\u2aaf,\ast )$ is ⪯-complete there exists $z\in X$ such that ${lim}_{n\to \mathrm{\infty}}{M}^{i}({x}_{n},z,t)=1$ for all $t>0$, and ${x}_{n}\u2aafz$ for all $n\in \omega $. So ${lim}_{n\to \mathrm{\infty}}{M}^{i}({x}_{n},fz,t)=1$ for all $t>0$, by ⪯-continuity of *f*. Hence $z=fz$.

Since *ε* is arbitrary, we conclude that $M(z,u,t)=1$ for all $t>0$. Similarly $M(u,z,t)=1$ for all $t>0$, so $u=z$. This completes the proof. □

**Corollary 1**

*Let*$(X,M,\u2aaf,\ast )$

*be a preordered*⪯-

*complete fuzzy quasi*-

*metric space and*$f:X\to X$

*a*⪯-

*nondecreasing self*-

*map such that*

*for all* $x,y\in X$ *with* $x\u2aafy$, *and* $t>0$, *where* $\phi :[0,\mathrm{\infty})\to [0,\mathrm{\infty})$ *satisfies* $0<\phi (t)<t$ *and* ${lim}_{n\to \mathrm{\infty}}{\phi}^{n}(t)=0$ *for all* $t>0$. *If there is* ${x}_{0}\in X$ *such that* ${x}_{0}\u2aaff{x}_{0}$, *then* $Fix(f)\ne \mathrm{\varnothing}$.

*If*, *in addition*, *condition* (4) *is satisfied for each* $x,y\in Fix(f)$, *then* *f* *has a unique fixed point*.

*Proof* We shall show that *f* is ⪯-continuous in $(X,M,\u2aaf,\ast )$. Let ${({x}_{n})}_{n\in \omega}$ be a nondecreasing sequence for ⪯, convergent with respect to ${\tau}_{{M}^{i}}$ to some $x\in X$ such that ${x}_{n}\u2aafx$ for all $n\in \omega $. Given $\epsilon \in (0,1)$ there is ${n}_{\epsilon}\in \mathbb{N}$ such that ${M}^{i}(x,{x}_{n},\epsilon )>1-\epsilon $. By condition (4) and the fact that $0<\phi (\epsilon )<\epsilon $ it follows that ${M}^{i}(fx,f{x}_{n},\epsilon )>1-\epsilon $ for all $n\ge {n}_{\epsilon}$. Therefore *f* is ⪯-continuous. The conclusions follow from Theorem 4. □

As an immediate consequence of Corollary 1 we obtain the following improvement of Theorem 3.

**Corollary 2**

*Let*$(X,M,\ast )$

*be a complete fuzzy metric space and*$f:X\to X$

*a self*-

*map such that*

*for all* $x,y\in X$ *and* $t>0$, *where* $\phi :[0,\mathrm{\infty})\to [0,\mathrm{\infty})$ *satisfies* $0<\phi (t)<t$ *and* ${lim}_{n\to \mathrm{\infty}}{\phi}^{n}(t)=0$ *for all* $t>0$. *Then* *f* *has a unique fixed point*.

*Proof* It is clear that $(X,M,{\u2aaf}^{t},\ast )$ is a preordered ${\u2aaf}^{t}$-complete fuzzy metric space. Now the result follows from Corollary 1. □

The contraction (4) is almost trivially satisfied in the case that the preorder ⪯ is the specialization order ${\le}_{M}$ and *f* is nondecreasing for ${\le}_{M}$. This situation, which will be crucial in our application in Section 4, is described in the following result.

**Theorem 5** *If the ordered fuzzy quasi*-*metric space* $(X,M,{\le}_{M},\ast )$ *is* ${\le}_{M}$-*complete and* $f:X\to X$ *is a* ${\le}_{M}$-*nondecreasing self*-*map such that there is* ${x}_{0}\in X$ *satisfying* ${x}_{0}{\le}_{M}f{x}_{0}$, *then* *f* *has a fixed point*.

*Proof*Let $\phi :[0,\mathrm{\infty})\to [0,\mathrm{\infty})$ be any function satisfying $0<\phi (t)<t$ and ${lim}_{n\to \mathrm{\infty}}{\phi}^{n}(t)=0$ for all $t>0$. Then, for each $x,y\in X$ such that $x{\le}_{M}y$, we have $fx{\le}_{M}fy$, and thus

for all $t>0$. This shows that condition (4) is satisfied, and thus *f* has a fixed point by Corollary 1. □

We conclude this section with two examples illustrating the obtained results.

**Example 3**Let $X=[0,\mathrm{\infty})$ and let

*M*be the fuzzy set in $X\times X\times [0,\mathrm{\infty})$ defined as

It is routine to check that $(M,\wedge )$ is a fuzzy quasi-metric. Note that the specialization order ${\le}_{M}$ coincides with the usual order ≤ on *X*. Moreover, a sequence in *X* is left *K*-Cauchy in $(X,M,\wedge )$ if and only it is eventually constant, so $(X,M,\le ,\wedge )$ is an ordered ≤-complete fuzzy quasi-metric space.

Clearly ${lim}_{n\to \mathrm{\infty}}{\phi}^{n}(t)=0$ for all $t>0$. We show that if $f:X\to X$ is any ≤-nondecreasing self-map, the contraction condition (1) is satisfied for $x,y\in X$ with $x<y$ and $t>0$. (Note that *f* is automatically continuous and hence ≤-continuous, because ${\tau}_{{M}^{i}}$ is the discrete topology on *X*.)

so condition (1) is trivially satisfied. If, in addition, there exists ${x}_{0}\in X$ such that ${x}_{0}\le f{x}_{0}$, then *f* has a fixed point by Theorem 4 or Theorem 5. Observe that in this example we cannot apply Corollary 1 because $\phi (t)>t$ for $1/2<t<1$; in fact, it is not nondecreasing.

**Example 4**Let $X=\{a,b,c\}$ and let $(M,\wedge )$ be the fuzzy metric on

*X*defined as $M(x,x,t)=1$ for all $x\in X$, $M(a,b,t)=M(b,a,t)=1/2$ for all $t\in (0,1]$, $M(a,b,t)=M(b,a,t)=1$ for all $t>1$, and $M(x,y,t)=0$ otherwise. Now define a preorder ⪯ on

*X*as follows: $x\u2aafx$ for all $x\in X$, $a\u2aafb$, and $b\u2aafa$. Obviously ⪯ is not an order on

*X*. Clearly $(X,M,\u2aaf,\ast )$ is ⪯-complete. Let $f:X\to X$ be such that $fa=a$, $fb=a$ and $fc=c$. Then

*f*is a ⪯-nondecreasing self-map with $a\u2aaffa$ (also $c\u2aaffc$). Let $\phi :[0,\mathrm{\infty})\to [0,\mathrm{\infty})$ be any function such that $0<\phi (t)<t$ and ${lim}_{n\to \mathrm{\infty}}{\phi}^{n}(t)=0$ for all $t>0$. Since $M(fa,fb,\phi (t))=M(a,a,\phi (t))=1$ for all $t>0$, we deduce that the conditions of Corollary 1, and hence of Theorem 4, for $x,y\in X$ with $x\u2aafy$, are satisfied. However, we cannot apply Corollary 2 to this example. Indeed, suppose that there exists a function $\phi :[0,\mathrm{\infty})\to [0,\mathrm{\infty})$ satisfying $0<\phi (t)<t$ and ${lim}_{n\to \mathrm{\infty}}{\phi}^{n}(t)=0$ for all $t>0$, and such that

for all $t>0$. Since condition $M(a,c,t)>1-t$ holds for $t>1$, we deduce that, for $t>1$, $M(fa,fc,\phi (t))>1-\phi (t)$, so $\phi (t)>1$ because $M(fa,fc,\phi (t))=M(a,c,\phi (t))=0$. Repeating this argument, we deduce that ${\phi}^{n}(t)>1$ for all $n\in \omega $, which contradicts the fact that ${lim}_{n\to \mathrm{\infty}}{\phi}^{n}(t)=0$.

## 4 An application

In this section we apply Theorem 5 to obtain a general procedure from which we can deduce in a fast and easy fashion the existence the solution for the recurrence equations that are typically associated to Quicksort and Divide and Conquer algorithms, respectively.

Let us recall that Schellekens introduced in [20] the so-called complexity quasi-metric space in order to construct a topological foundation for the complexity analysis of programs and algorithms. In that paper, he also applied his theory to show that the existence and uniqueness of solution for the recurrence associated to Divide and Conquer algorithms. Further contributions to the study of these spaces and of other related ones may be found in [12, 21–25], *etc.*

and thus condition ${d}_{\mathcal{C}}(f,g)=0$, can be computationally interpreted as *f* to be ‘more efficient’ than *g* on all inputs (see [[20], Section 6]).

where $t\in (n-1,n]$, $n\in \mathbb{N}$.

The following well-known facts will be useful.

**Remark 5** [[26], Remark 1]

${d}_{\mathcal{C}}(f,g)={Q}_{\mathcal{C}}(f,g,t)$ for all $f,g\in \mathcal{C}$ and $t\in (0,1]$.

**Remark 6** ${Q}_{\mathcal{C}}(f,g,t)<1$ whenever $f,g\in {\mathcal{C}}_{1}$ and $f\ne g$.

**Remark 7** [[27], Lemma 2]

Let ${({f}_{n})}_{k\in \omega}$ be a sequence in such that ${f}_{n}\le {f}_{n+1}$ for all $n\in \omega $, and let $F\in \mathcal{C}$ defined as $F(k)=sup\{{f}_{n}(k):n\in \omega \}$ for all $k\in \mathbb{N}$. Then ${lim}_{n\to \mathrm{\infty}}{({d}_{\mathcal{C}})}^{s}(F,{f}_{n})=0$.

In the following, for any $f,g\in \mathcal{C}$, by $f\le g$ we mean that $f(n)\le g(n)$ for all $n\in \mathbb{N}$.

Note that ${M}_{1}(f,g,t)=1$ for all $t>0$ if and only if $f\le g$.

Then we have:

**Lemma 1** $({\mathcal{C}}_{1},{M}_{1},{\le}_{{M}_{1}},{\ast}_{L})$ *is a* ${\le}_{{M}_{1}}$-*complete fuzzy quasi*-*metric space*.

*Proof*We first see that $({M}_{1},{\ast}_{L})$ is a fuzzy quasi-metric on ${\mathcal{C}}_{1}$ (recall that $a{\ast}_{L}b=max\{a+b-1,0\}$ for all $a,b\in [0,1]$). Indeed, conditions (KM1), (KM2) and (KM4) of Definition 1 are almost trivially satisfied, while condition (KM3) follows immediately from the fact showed in [[26], Lemma 1] that

for all $f,g\in \mathcal{C}$ and $t,s>0$. Hence $({\mathcal{C}}_{1},{M}_{1},{\ast}_{L})$ is a fuzzy quasi-metric space.

*K*-Cauchy sequence in $({\mathcal{C}}_{1},{M}_{1},{\le}_{{M}_{1}},{\ast}_{L})$. Then ${f}_{n}\le {f}_{n+1}$ for all $n\in \omega $, so, by Remark 7,

for all $t\in (0,1]$, and thus for all $t>0$. By (6) and (7) we deduce that ${({f}_{n})}_{n\in \omega}$ converges to *F* with respect to ${\tau}_{{M}^{i}}$. We have shown that $({\mathcal{C}}_{1},{M}_{1},{\le}_{{M}_{1}},{\ast}_{L})$ is a ${\le}_{{M}_{1}}$-complete fuzzy quasi-metric space. □

Taking into account the preceding constructions and results, we immediately obtain the following consequence of Theorem 5.

**Theorem 6** *If* $\mathrm{\Phi}:{\mathcal{C}}_{1}\to {\mathcal{C}}_{1}$ *is a* ${\le}_{{M}_{1}}$-*nondecreasing map and there is* ${f}_{0}\in {\mathcal{C}}_{1}$ *such that* ${f}_{0}{\le}_{M}\mathrm{\Phi}{f}_{0}$, *then* Φ *has a fixed point*.

We finish the paper by applying Theorem 6 to show the existence of solution for the recurrence equations associated to Quicksort and Divide and Conquer algorithm, respectively.

**Example 5**Consider the recurrence equation

*T*given by $T(1)=0$, and

for $n>1$. (This recurrence was obtained by Kruse [[28], Section 4.8.4] in discussing the average case analysis of Quicksort algorithms.)

for all $n>2$, where $f\in {\mathcal{C}}_{1}$ (see for instance [29, 30]).

It is clear that if $f\le g$ then $\mathrm{\Phi}f\le \mathrm{\Phi}g$, so by the definition of ${M}_{1}$, Φ is nondecreasing for ${\le}_{{M}_{1}}$. Moreover, the complexity function ${f}_{0}\in {\mathcal{C}}_{1}$ defined as ${f}_{0}(n)=1$ for all $n\in \mathbb{N}$, satisfies ${f}_{0}\le \mathrm{\Phi}{f}_{0}$, *i.e.*, ${f}_{0}{\le}_{{M}_{1}}\mathrm{\Phi}{f}_{0}$. Therefore, we can apply Theorem 6 and thus Φ has a fixed point ${g}_{0}\in {\mathcal{C}}_{1}$. Consequently, the function $h:\mathbb{N}\to [0,\mathrm{\infty})$ given by $h(1)=0$ and $h(n)={g}_{0}(n)$ for all $n>1$ is solution of the recurrence equation *T*.

**Example 6**It is well known that Divide and Conquer algorithms solve a problem by recursively splitting it into subproblems each of which is solved separately by the same algorithm, after which the results are combined into a solution of the original problem (see

*e.g.*[20, 31]). Thus, the complexity of a Divide and Conquer algorithm typically is the solution of the recurrence equation given by

where $a,b,c\in \mathbb{N}$ with $a,b\ge 2$, *n* ranges over the set $\{{b}^{p}:p=0,1,2,\dots \}$ and $h(n)<\mathrm{\infty}$ if $n\in \{{b}^{p}:p=0,1,2,\dots \}$.

This recurrence equation induces, in a natural way the associated functional $\mathrm{\Phi}:{\mathcal{C}}_{1}{\to \mathcal{C}}_{1}$ defined by $\mathrm{\Phi}f(1)=c$, $\mathrm{\Phi}f(n)=af(\frac{n}{b})+h(n)$, if $n\in \{{b}^{p}:p=0,1,2,\dots \}$ and $\mathrm{\Phi}f(n)=\mathrm{\infty}$ if $n\notin \{{b}^{p}:p=0,1,2,\dots \}$.

As in Example 5, Φ is ${\le}_{{M}_{1}}$-nondecreasing. Since the complexity function ${f}_{0}\in {\mathcal{C}}_{1}$ defined as ${f}_{0}(n)=1$ for all $n\in \mathbb{N}$, satisfies ${f}_{0}{\le}_{{M}_{1}}\mathrm{\Phi}{f}_{0}$, we can apply Theorem 6 and thus Φ has a fixed point ${g}_{0}\in {\mathcal{C}}_{1}$ which is solution of the recurrence equation *T*.

## Declarations

### Acknowledgements

The second and third named authors thank the supports of the Universitat Politècnica de València, grant PAID-06-12-SP20120471, and the Ministry of Economy and Competitiveness of Spain, grant MTM2012-37894-C02-01.

## Authors’ Affiliations

## References

- Matkowski J:
**Integrable solutions of functional equations.***Diss. Math.*1975,**127:**1-68.MathSciNetGoogle Scholar - Agarwal RP, El-Gebeily MA, O’Regan D:
**Generalized contractions in partially ordered metric spaces.***Appl. Anal.*2008,**87:**109-116. 10.1080/00036810701556151MATHMathSciNetView ArticleGoogle Scholar - Jachymski J:
**Equivalent conditions and the Meir-Keeler type theorems.***J. Math. Anal. Appl.*1995,**194:**293-303. 10.1006/jmaa.1995.1299MATHMathSciNetView ArticleGoogle Scholar - Jachymski J:
**On probabilistic**φ**-contractions on Menger spaces.***Nonlinear Anal. TMA*2010,**73:**2199-2203. 10.1016/j.na.2010.05.046MATHMathSciNetView ArticleGoogle Scholar - Karapinar E, Romaguera S, Tas K:
**Fixed points for cyclic orbital generalized contractions on complete metric spaces.***Cent. Eur. J. Math.*2013,**11:**552-560. 10.2478/s11533-012-0145-0MATHMathSciNetGoogle Scholar - Romaguera S:
**Matkowski’s type theorems for generalized contractions on (ordered) partial metric spaces.***Appl. Gen. Topol.*2011,**12:**213-220.MATHMathSciNetGoogle Scholar - Hadžić O, Pap E:
*Fixed Point Theory in Probabilistic Metric Spaces*. Kluwer Academic, Dordrecht; 2001.Google Scholar - Ricarte LA, Romaguera S:
**On**φ**-contractions in fuzzy metric spaces with application to the intuitionistic setting.***Iran. J. Fuzzy Syst.*2013,**10**(6):63-72.MathSciNetGoogle Scholar - Huang X, Zhu C, Wen X:
**On**$(g,\phi )$**-contraction in intuitionistic fuzzy metric spaces.***Math. Commun.*2010,**15:**425-435.MATHMathSciNetGoogle Scholar - Hicks TL:
**Fixed point theory in probabilistic metric spaces.***Zb. Rad. Prir.-Mat. Fak. (Novi Sad)*1983,**13:**63-72.MATHMathSciNetGoogle Scholar - Künzi HPA:
**Nonsymmetric distances and their associated topologies: about the origins of basic ideas in the area of asymmetric topology. 3.**In*Handbook of the History of General Topology*. Edited by: Aull CE, Lowen R. Kluwer Academic, Dordrecht; 2001:853-968.View ArticleGoogle Scholar - Cho YJ, Grabiec M, Radu V:
*On Nonsymmetric Topological and Probabilistic Structures*. Nova Science Publishers, New York; 2006.MATHGoogle Scholar - Gregori V, Romaguera S:
**Fuzzy quasi-metric spaces.***Appl. Gen. Topol.*2004,**5:**129-136.MATHMathSciNetView ArticleGoogle Scholar - Schweizer B, Sklar A:
**Statistical metric spaces.***Pac. J. Math.*1960,**10:**314-334.Google Scholar - Schweizer B, Sklar A:
*Probabilistic Metric Spaces*. North-Holland, New York; 1983.MATHGoogle Scholar - Kramosil I, Michalek J:
**Fuzzy metrics and statistical metric spaces.***Kybernetika*1975,**11:**326-334.MathSciNetGoogle Scholar - Rodríguez-López J, Romaguera S, Sánchez-Álvarez JM:
**The Hausdorff fuzzy quasi-metric.***Fuzzy Sets Syst.*2010,**161:**1078-1096. 10.1016/j.fss.2009.09.019MATHView ArticleGoogle Scholar - George A, Veeramani P:
**On some results in fuzzy metric spaces.***Fuzzy Sets Syst.*1994,**64:**395-399. 10.1016/0165-0114(94)90162-7MATHMathSciNetView ArticleGoogle Scholar - George A, Veeramani P:
**On some results of analysis of fuzzy metric spaces.***Fuzzy Sets Syst.*1997,**90:**365-368. 10.1016/S0165-0114(96)00207-2MATHMathSciNetView ArticleGoogle Scholar - Schellekens M:
**The Smyth completion: a common foundation for denotational semantics and complexity analysis. Electronic Notes Theoret. Comput. Sci. 1.***Proc. MFPS 11*1995, 535-556.Google Scholar - García-Raffi LM, Romaguera S, Sánchez-Pérez EA:
**Sequence spaces and asymmetric norms in the theory of computational complexity.***Math. Comput. Model.*2002,**36:**1-11. 10.1016/S0895-7177(02)00100-0MATHView ArticleGoogle Scholar - García-Raffi LM, Romaguera S, Schellekens M:
**Applications of the complexity space to the general probabilistic Divide and Conquer algorithms.***J. Math. Anal. Appl.*2008,**348:**346-355. 10.1016/j.jmaa.2008.07.026MATHMathSciNetView ArticleGoogle Scholar - Romaguera S, Schellekens M:
**Quasi-metric properties of complexity spaces.***Topol. Appl.*1999,**98:**311-322. 10.1016/S0166-8641(98)00102-3MATHMathSciNetView ArticleGoogle Scholar - Romaguera S, Schellekens M:
**Partial metric monoids and semivaluation spaces.***Topol. Appl.*2005,**153:**948-962. 10.1016/j.topol.2005.01.023MATHMathSciNetView ArticleGoogle Scholar - Romaguera S, Valero O:
**On the structure of the complexity space of partial functions.***Int. J. Comput. Math.*2008,**85:**631-640. 10.1080/00207160701210117MATHMathSciNetView ArticleGoogle Scholar - Romaguera S, Tirado P:
**The complexity probabilistic quasi-metric space.***J. Math. Anal. Appl.*2011,**376:**732-740. 10.1016/j.jmaa.2010.11.056MATHMathSciNetView ArticleGoogle Scholar - Romaguera S, Schellekens MP, Valero O:
**Complexity spaces as quantitative domains of computation.***Topol. Appl.*2011,**158:**853-860. 10.1016/j.topol.2011.01.005MATHMathSciNetView ArticleGoogle Scholar - Kruse R:
*Data Structures and Program Design*. Prentice Hall, New York; 1984.Google Scholar - Romaguera S, Sapena A, Tirado P:
**The Banach fixed point theorem in fuzzy quasi-metric spaces with application to the domain of words.***Topol. Appl.*2007,**154:**2196-2203. 10.1016/j.topol.2006.09.018MATHMathSciNetView ArticleGoogle Scholar - Saadati R, Vaezpour SM, Cho YJ:
**Quicksort algorithm: application of fixed point theorem in intuitionistic fuzzy quasi-metric spaces at a domain of words.***J. Comput. Appl. Math.*2009,**228:**219-225. 10.1016/j.cam.2008.09.013MATHMathSciNetView ArticleGoogle Scholar - Aho V, Hopcroft J, Ullman J:
*Data Structures and Algorithms*. Addison-Wesley, Reading; 1987.Google Scholar

## Copyright

This article is published under license to BioMed Central Ltd. This is an Open Access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/2.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly credited.