Open Access
This article is

- freely available
- re-usable

*Computation*
**2018**,
*6*(2),
37;
doi:10.3390/computation6020037

Article

Modeling the Adaptive Immunity and Both Modes of Transmission in HIV Infection

^{1}

Centre Régional des Métiers de l’Education et de la Formation (CRMEF), 20340 Derb Ghalef, Casablanca, Morocco

^{2}

Laboratory of Analysis, Modeling and Simulation (LAMS), Faculty of Sciences Ben M’sik, Hassan II University, P.O. Box 7955, Sidi Othman, Casablanca, Morocco

^{*}

Author to whom correspondence should be addressed.

Received: 15 February 2018 / Accepted: 4 May 2018 / Published: 8 May 2018

## Abstract

**:**

Human immunodeficiency virus (HIV) is a retrovirus that causes HIV infection and over time acquired immunodeficiency syndrome (AIDS). It can be spread and transmitted through two fundamental modes, one by virus-to-cell infection, and the other by direct cell-to-cell transmission. In this paper, we propose a new mathematical model that incorporates both modes of transmission and takes into account the role of the adaptive immune response in HIV infection. We first show that the proposed model is mathematically and biologically well posed. Moreover, we prove that the dynamical behavior of the model is fully determined by five threshold parameters. Furthermore, numerical simulations are presented to confirm our theoretical results.

Keywords:

HIV infection; immunity; Lyapunov functional; global stability## 1. Introduction

Viruses are very small infectious agents that need to penetrate inside a cell of their host to replicate and multiply. Several viruses attack the human body, such as influenza virus, human immunodeficiency virus (HIV), hepatitis B virus (HBV), hepatitis C virus (HCV), Ebola virus, Zika virus, and so on. Viral infections caused by these viruses represent a major global health problem by causing the mortality of millions of people and the expenditure of enormous amounts of money in health care and disease control. In this study, we are interested in the viral infection caused by HIV. The World Health Organization (WHO) estimates that $36.7$ million people were living with HIV at the end of 2016, and more than 1 million people died from HIV-related causes in 2016 [1]. In Morocco, the number of people living with HIV is estimated at 28,740, and 1097 people died from AIDS in 2014, while the cumulative number of HIV/AIDS cases reported since the beginning of the epidemic is 10,017 [2].

Many mathematical models have been developed to better understand the dynamics of HIV infection. One of the earliest of these models was presented by Perelson et al. [3] in 1996. This model is given by the following system:
where $T\left(t\right)$, $I\left(t\right)$, and $V\left(t\right)$ are the concentrations of healthy CD4${}^{+}$ T cells, infected cells, and free virus at time t, respectively. Healthy cells are produced at rate $\lambda $, die at rate d, and become infected by free virus at rate ${\beta}_{1}$. The parameter a is the death rate of infected cells. Free virus is produced by an infected cell at rate k and is removed at rate $\mu $.

$$\left\{\begin{array}{cc}\dot{T}\left(t\right)\hfill & =\lambda -dT\left(t\right)-{\beta}_{1}T\left(t\right)V\left(t\right),\hfill \\ \dot{I}\left(t\right)\hfill & ={\beta}_{1}T\left(t\right)V\left(t\right)-aI\left(t\right),\hfill \\ \dot{V}\left(t\right)\hfill & =kI\left(t\right)-\mu V\left(t\right),\hfill \end{array}\right.$$

In the system given by Equation (1), the cell infection is instantaneous and is caused only by contact with free virus. In reality, there are two kinds of delays: one in cell infection, and the other in virus production. In addition, HIV can spread by two fundamental modes, one by virus-to-cell infection, and the other by direct cell-to-cell transmission. For these above reasons, Lai and Zou [4] improved the model of Perelson et al. [3] by incorporating the two modes of transmission and infinite distributed delay in cell infection. They obtained the following model:
where ${\beta}_{2}T\left(t\right)I\left(t\right)$ denotes the rate for a target cell to contact with an infected cell. It is assumed that the virus or infected cell contacts an uninfected target cell at time $t-\tau $ and the cell becomes infected at time t, where $\tau $ is a random variable taken from a probability distribution ${f}_{1}\left(\tau \right)$. The term ${e}^{-{\alpha}_{1}\tau}$ represents the probability of surviving from time $t-\tau $ to time t, where ${\alpha}_{1}$ is the death rate for infected but not yet virus-producing cells. The other parameters have the same biological meaning as in Equation (1).

$$\left\{\begin{array}{cc}\dot{T}\left(t\right)\hfill & =\lambda -dT\left(t\right)-{\beta}_{1}T\left(t\right)V\left(t\right)-{\beta}_{2}T\left(t\right)I\left(t\right),\hfill \\ \dot{I}\left(t\right)\hfill & ={\int}_{0}^{\infty}{f}_{1}\left(\tau \right){e}^{-{\alpha}_{1}\tau}[{\beta}_{1}T(t-\tau )V(t-\tau )+{\beta}_{2}T(t-\tau )I(t-\tau )]d\tau -aI\left(t\right),\hfill \\ \dot{V}\left(t\right)\hfill & =kI\left(t\right)-\mu V\left(t\right),\hfill \end{array}\right.$$

On the other hand, the adaptive immune responses of cytotoxic T lymphocytes (CTLs) and antibodies play an important role in the control of HIV infection. The first immune response exerted by CTL cells is called the cellular immunity. However, the second immune response mediated by antibodies is called the humoral immunity. In the literature, several authors are interested in modeling the role of these arms of immunity in viral infections. In 2016, Wang et al. [5] improved the model given by Equation (2) by considering the role of cellular immune response. In the same year, Elaiw et al. [6] improved the model given by Equation (2) by considering only the role of humoral immune response and infinite distributed delay in virus production. In 2017, Lin et al. [7] improved the models of Wang and Zou [8] and Murase et al. [9] by incorporating both modes of transmission, intracellular delay and humoral immunity.

The aim of this work is to improve and generalize all the above models by proposing a new mathematical model that takes into account the role of the adaptive immune response in HIV infection and incorporates both modes of transmission. To this end, the next section deals with the presentation of our model and some properties of solutions, such as positivity and boundedness. In Section 2, we derive the threshold parameters of our model and discuss the existence of equilibria. The global stability of equilibria is investigated in Section 3. Some numerical simulations of our main results are presented in Section 4. The mathematical and biological conclusions are given in Section 5.

## 2. Presentation of the Model

To model the role of the adaptive immune response in HIV infection with both virus-to-cell infection and cell-to-cell transmission, we propose the following model:
where $W\left(t\right)$ and $Z\left(t\right)$ are the concentrations of antibodies and CTL cells at time t, respectively. Free HIV particles are neutralized by the antibodies at rate $qV\left(t\right)W\left(t\right)$. However, the infected cells are killed by CTL cells at rate $pI\left(t\right)Z\left(t\right)$. Antibodies develop in response to free virus at rate $gV\left(t\right)W\left(t\right)$, and CTL cells expand in response to viral antigens derived from infected cells at rate $cI\left(t\right)Z\left(t\right)$. The parameters h and b are, respectively, the death rates of antibodies and CTL cells. Further, we assume that the time necessary for the newly produced virions to become mature and infectious is a random variable with a probability distribution ${f}_{2}\left(\tau \right)$. The term ${e}^{-{\alpha}_{2}\tau}$ denotes the probability of surviving the immature virions during the delay period, where $\frac{1}{{\alpha}_{2}}$ is the average lifetime of an immature virus. Therefore, the integral ${\int}_{0}^{\infty}{f}_{2}\left(\tau \right){e}^{-{\alpha}_{2}\tau}I(t-\tau )d\tau $ describes the mature viral particles produced at time t. The other variables and parameters are defined as those in the systems given by Equations (1) and (2).

$$\left\{\begin{array}{cc}\dot{T}\left(t\right)\hfill & =\lambda -dT\left(t\right)-{\beta}_{1}T\left(t\right)V\left(t\right)-{\beta}_{2}T\left(t\right)I\left(t\right),\hfill \\ \dot{I}\left(t\right)\hfill & ={\int}_{0}^{\infty}{f}_{1}\left(\tau \right){e}^{-{\alpha}_{1}\tau}[{\beta}_{1}T(t-\tau )V(t-\tau )+{\beta}_{2}T(t-\tau )I(t-\tau )]d\tau \hfill \\ & \phantom{\rule{4pt}{0ex}}\phantom{\rule{4pt}{0ex}}-aI\left(t\right)-pI\left(t\right)Z\left(t\right),\hfill \\ \dot{V}\left(t\right)\hfill & =k{\int}_{0}^{\infty}{f}_{2}\left(\tau \right){e}^{-{\alpha}_{2}\tau}I(t-\tau )d\tau -\mu V\left(t\right)-qV\left(t\right)W\left(t\right),\hfill \\ \dot{W}\left(t\right)\hfill & =gV\left(t\right)W\left(t\right)-hW\left(t\right),\hfill \\ \dot{Z}\left(t\right)\hfill & =cI\left(t\right)Z\left(t\right)-bZ\left(t\right),\hfill \end{array}\right.$$

In this section, we first investigate the nonnegativity and boundedness of solutions under the following nonnegative initial conditions:

$$\begin{array}{cc}T\left(\theta \right)\hfill & ={\varphi}_{1}\left(\theta \right)\ge 0,\phantom{\rule{12.80365pt}{0ex}}I\left(\theta \right)={\varphi}_{2}\left(\theta \right)\ge 0,\phantom{\rule{12.80365pt}{0ex}}V\left(\theta \right)={\varphi}_{3}\left(\theta \right)\ge 0,\hfill \\ W\left(\theta \right)\hfill & ={\varphi}_{4}\left(\theta \right)\ge 0,\phantom{\rule{12.80365pt}{0ex}}Z\left(\theta \right)={\varphi}_{5}\left(\theta \right)\ge 0,\phantom{\rule{12.80365pt}{0ex}}\theta \in (-\infty ,0].\hfill \end{array}$$

We define the Banach space for the fading memory type as follows:
where $\alpha $ is a positive constant and $\mathrm{I}\phantom{\rule{-2.0pt}{0ex}}{\mathrm{R}}_{+}^{5}=\{({x}_{1},...,{x}_{5}):{x}_{i}\ge 0,\phantom{\rule{4pt}{0ex}}i=1,...,5\}$.

$$\begin{array}{ccc}\hfill {C}_{\alpha}& =& \{\phi \in C((-\infty ,0],\mathrm{I}\phantom{\rule{-2.0pt}{0ex}}{\mathrm{R}}_{+}^{5}):\phantom{\rule{4pt}{0ex}}\phi \left(\theta \right){e}^{\alpha \theta}\phantom{\rule{4.pt}{0ex}}\mathrm{is}\phantom{\rule{4.pt}{0ex}}\mathrm{uniformly}\phantom{\rule{4.pt}{0ex}}\mathrm{continuous}\phantom{\rule{4.pt}{0ex}}\hfill \\ & & \phantom{\rule{4.pt}{0ex}}\mathrm{on}\phantom{\rule{4.pt}{0ex}}(-\infty ,0]\phantom{\rule{4.pt}{0ex}}\mathrm{and}\phantom{\rule{4.pt}{0ex}}\parallel \phi \parallel =\underset{\theta \le 0}{sup}\left|\phi \left(\theta \right)\right|{e}^{\alpha \theta}<\infty \},\hfill \end{array}$$

**Theorem**

**1.**

**Proof.**

By the fundamental theory of functional differential equations [10,11,12], the model given by Equation (3) with initial condition $\varphi \in {C}_{\alpha}$ has a unique local solution on $[0,{t}_{max})$, where ${t}_{max}$ is the maximal existence time for the solution of Equation (3).

First, we prove that $T\left(t\right)>0$ for all $t\in [0,{t}_{max})$. In fact, supposing the contrary, we let ${t}_{1}>0$ be the first time such that $T\left({t}_{1}\right)=0$ and $\dot{T}\left({t}_{1}\right)\le 0$. By the first equation of the model given by Equation (3), we have $\dot{T}\left({t}_{1}\right)=\lambda >0$, which is a contradiction. Thus, $T\left(t\right)>0$ for all $t\in [0,{t}_{max})$. By Equation (3), we have
which implies that $I\left(t\right)$, $V\left(t\right)$, $W\left(t\right)$, and $Z\left(t\right)$ are nonnegative for all $t\in [0,{t}_{max})$.

$$\begin{array}{ccc}\hfill I\left(t\right)& =& {\varphi}_{2}\left(0\right){e}^{-{\int}_{0}^{t}(a+pZ\left(s\right))ds}+{\int}_{0}^{t}{e}^{-{\int}_{\xi}^{t}(a+pZ\left(s\right))ds}{\int}_{0}^{\infty}{f}_{1}\left(\tau \right){e}^{-{\alpha}_{1}\tau}[{\beta}_{1}T(\xi -\tau )V(\xi -\tau )\hfill \\ & & +{\beta}_{2}T(\xi -\tau )I(\xi -\tau )]d\tau d\xi ,\hfill \\ \hfill V\left(t\right)& =& {\varphi}_{3}\left(0\right){e}^{-{\int}_{0}^{t}(\mu +qW\left(s\right))ds}+k{\int}_{0}^{t}{e}^{-{\int}_{\xi}^{t}(\mu +qW\left(s\right))ds}{\int}_{0}^{{h}_{2}}{f}_{2}\left(\tau \right){e}^{-{\alpha}_{2}\tau}I(\xi -\tau )d\tau d\xi ,\hfill \\ \hfill W\left(t\right)& =& {\varphi}_{4}\left(0\right){e}^{{\int}_{0}^{t}(gV\left(s\right)-h)ds},\hfill \\ \hfill Z\left(t\right)& =& {\varphi}_{5}\left(0\right){e}^{{\int}_{0}^{t}(cI\left(s\right)-b)ds},\hfill \end{array}$$

Next, we show the boundedness of each solution. From the first equation of the model given by Equation (3), we have $\dot{T}\left(t\right)\le \lambda -dT\left(t\right)$, which implies that

$$\underset{t\to +\infty}{lim\; sup}T\left(t\right)\le \frac{\lambda}{d}.$$

Then $T\left(t\right)$ is bounded. Let

$${G}_{1}\left(t\right)=I\left(t\right)+\frac{p}{c}Z\left(t\right)+{\int}_{0}^{\infty}{f}_{1}\left(\tau \right){e}^{-{\alpha}_{1}\tau}T(t-\tau )d\tau .$$

Because $T\left(t\right)$ is bounded and ${\int}_{0}^{\infty}{f}_{1}\left(\tau \right)d\tau =1$, the integral in ${G}_{1}\left(t\right)$ is well defined and differentiable with respect to t. Hence,
where ${\delta}_{1}=min\{a,b,d\}$ and

$$\begin{array}{ccc}\hfill {\displaystyle \frac{d{G}_{1}\left(t\right)}{dt}}& =& \lambda {\int}_{0}^{\infty}{f}_{1}\left(\tau \right){e}^{-{\alpha}_{1}\tau}d\tau -d{\int}_{0}^{\infty}{f}_{1}\left(\tau \right){e}^{-{\alpha}_{1}\tau}T(t-\tau )d\tau -aI\left(t\right)-\frac{pb}{c}Z\left(t\right)\hfill \\ & \le & \lambda {\eta}_{1}-{\delta}_{1}{G}_{1}\left(t\right),\hfill \end{array}$$

$${\eta}_{i}={\int}_{0}^{\infty}{f}_{i}\left(\tau \right){e}^{-{\alpha}_{i}\tau}d\tau ,\phantom{\rule{4pt}{0ex}}\phantom{\rule{4pt}{0ex}}i=1,2.$$

Thus, $G}_{1}\left(t\right)\le M:=max\{{G}_{1}\left(0\right),\frac{\lambda {\eta}_{1}}{{\delta}_{1}}\$, which implies that $I\left(t\right)$ and $Z\left(t\right)$ are bounded. It remains to prove that $V\left(t\right)$ and $W\left(t\right)$ are bounded. To this end, we consider
then
where ${\delta}_{2}=min\{\mu ,h\}$. Similarly to the above, we deduce that $V\left(t\right)$ and $W\left(t\right)$ are also bounded. We have proved that all variables of Equation (3) are bounded, which implies that ${t}_{max}=+\infty $ and that the solution exists globally. ☐

$${G}_{2}\left(t\right)=V\left(t\right)+\frac{q}{g}W\left(t\right);$$

$$\begin{array}{ccc}\hfill {\displaystyle \frac{d{G}_{2}\left(t\right)}{dt}}& =& k{\int}_{0}^{\infty}{f}_{2}\left(\tau \right){e}^{-{\alpha}_{2}\tau}I(t-\tau )d\tau -\mu V\left(t\right)-\frac{hq}{g}W\left(t\right)\hfill \\ & \le & kM{\eta}_{2}-{\delta}_{2}{G}_{2}\left(t\right),\hfill \end{array}$$

If in addition to Equation (4), we suppose that ${\varphi}_{i}\left(0\right)>0$ for all $i=1,...,5$; then we obtain the following remark.

**Remark**

**1.**

Next, we derive threshold numbers and identify biological equilibria for the model given by Equation (3). Clearly, Equation (3) always has an infection-free equilibrium of the form ${E}_{0}({T}_{0},0,0,0,0)$, where $T}_{0}=\frac{\lambda}{d$. Therefore, the basic reproduction number of Equation (3) can be defined as

$${R}_{0}=\frac{{\beta}_{1}k\lambda {\eta}_{1}{\eta}_{2}+{\beta}_{2}\lambda \mu {\eta}_{1}}{da\mu}.$$

As in [13], ${R}_{0}$ can be rewritten as ${R}_{0}={R}_{01}+{R}_{02}$, where $R}_{01}=\frac{{\beta}_{1}k\lambda {\eta}_{1}{\eta}_{2}}{da\mu$ is the basic reproduction number corresponding to the virus-to-cell infection mode, and $R}_{02}=\frac{{\beta}_{2}\lambda {\eta}_{1}}{da$ is the basic reproduction number corresponding to the cell-to-cell transmission mode.

When ${R}_{0}>1$, Equation (3) has another infection equilibrium without immunity, ${E}_{1}({T}_{1},{I}_{1},{V}_{1},0,0)$, where

$${T}_{1}=\frac{\lambda}{d{R}_{0}},\phantom{\rule{4pt}{0ex}}{I}_{1}=\frac{d\mu ({R}_{0}-1)}{{\beta}_{1}k{\eta}_{2}+{\beta}_{2}\mu}\phantom{\rule{4.pt}{0ex}}\mathrm{and}\phantom{\rule{4.pt}{0ex}}{V}_{1}=\frac{kd{\eta}_{2}({R}_{0}-1)}{{\beta}_{1}k{\eta}_{2}+{\beta}_{2}\mu}.$$

If both humoral and cellular immune responses have not been established, we have $g{V}_{1}-h\le 0$ and $c{I}_{1}-b\le 0$. Thus, we define the reproduction number for humoral immunity:
and the reproduction number for cellular immunity:

$$R}_{1}^{W}=\frac{g{V}_{1}}{h}=\frac{gkd{\eta}_{2}({R}_{0}-1)}{h({\beta}_{1}k{\eta}_{2}+{\beta}_{2}\mu )$$

$${R}_{1}^{Z}=\frac{c{I}_{1}}{b}=\frac{cd\mu ({R}_{0}-1)}{b({\beta}_{1}k{\eta}_{2}+{\beta}_{2}\mu )}.$$

Hence, $g{V}_{1}-h\le 0$ and $c{I}_{1}-b\le 0$ are equivalent to ${R}_{1}^{W}\le 1$ and ${R}_{1}^{Z}\le 1$, respectively.

When ${R}_{1}^{W}>1$, Equation (3) has an infection equilibrium with only humoral immunity, ${E}_{2}({T}_{2},{I}_{2},{V}_{2},{W}_{2},0)$, where
with $A=ag{\beta}_{2}$, $B=a(dg+h{\beta}_{1})-\lambda {\eta}_{1}{\beta}_{2}g$, and $C=\lambda h{\eta}_{1}{\beta}_{1}$.

$${T}_{2}=\frac{a{I}_{2}}{{\eta}_{1}({\beta}_{1}{V}_{2}+{\beta}_{2}{I}_{2})},\phantom{\rule{4pt}{0ex}}{I}_{2}=\frac{-B+\sqrt{{B}^{2}+4AC}}{2A},\phantom{\rule{4pt}{0ex}}{V}_{2}=\frac{h}{g},\phantom{\rule{4pt}{0ex}}{W}_{2}=\frac{\mu}{q}\left(\frac{k{\eta}_{2}{I}_{2}}{\mu {V}_{2}}-1\right),$$

It is not hard to see that ${T}_{2}$, ${I}_{2}$ and ${V}_{2}$ are positive. It remains to check that ${W}_{2}$ is positive. Because ${R}_{1}^{W}>1$ and
we easily deduce that ${W}_{2}>0$. If cellular immunity has not been established, we have $c{I}_{2}-b\le 0$. For this, we define the reproduction number for cellular immunity in competition as
which implies that $c{I}_{2}-b\le 0$ is equivalent to ${R}_{2}^{Z}\le 1$.

$$\frac{\mu {V}_{2}}{{k}^{2}{\eta}_{2}^{2}}\left(A\mu {V}_{2}+B\right)-C=\frac{\mu ah{V}_{2}}{{k}^{2}{\eta}_{2}^{2}}\left(1-{R}_{1}^{W}\right),$$

$${R}_{2}^{Z}=\frac{c{I}_{2}}{b},$$

When ${R}_{1}^{Z}>1$, Equation (3) has an infection equilibrium with only cellular immunity, ${E}_{3}({T}_{3},{I}_{3},{V}_{3},0,{Z}_{3})$, where

$${T}_{3}=\frac{\lambda c\mu}{dc\mu +b(k{\beta}_{1}{\eta}_{2}+\mu {\beta}_{2})},\phantom{\rule{4pt}{0ex}}{I}_{3}=\frac{b}{c},\phantom{\rule{4pt}{0ex}}{V}_{3}=\frac{kb{\eta}_{2}}{c\mu},\phantom{\rule{4pt}{0ex}}{Z}_{3}=\frac{a}{p}\left(\frac{{R}_{0}}{1+\frac{ab}{\lambda c{\eta}_{1}}{R}_{0}}-1\right).$$

We have that ${T}_{3}$, ${I}_{3}$, and ${V}_{3}$ are positive. It suffices to check that ${Z}_{3}$ is positive. Because ${R}_{1}^{Z}>1$ and
we deduce that ${Z}_{3}>0$. If humoral immunity has not been established, we have $g{V}_{3}-h\le 0$. In this case, we define the reproduction number for humoral immunity in competition as
which implies that $g{V}_{3}-h\le 0$ is equivalent to ${R}_{3}^{W}\le 1$.

$$\frac{{R}_{0}}{1+\frac{ab}{\lambda c{\eta}_{1}}{R}_{0}}-1=\frac{b(k{\beta}_{1}{\eta}_{2}+\mu {\beta}_{2})}{dc\mu (1+\frac{ab}{\lambda c{\eta}_{1}}{R}_{0})}\left({R}_{1}^{Z}-1\right),$$

$${R}_{3}^{W}=\frac{g{V}_{3}}{h},$$

When ${R}_{2}^{Z}>1$ and ${R}_{3}^{W}>1$, Equation (3) has an infection equilibrium with both cellular and humoral immune responses, ${E}_{4}({T}_{4},{I}_{4},{V}_{4},{W}_{4},{Z}_{4})$, where
We have ${T}_{4}>0$, ${I}_{4}>0$, ${V}_{4}>0$, and ${W}_{4}>0$ (as ${R}_{3}^{W}>1$). It remains to check that ${Z}_{4}>1$. On the other hand, ${R}_{2}^{Z}>1$ is equivalent to $C>\frac{b}{{c}^{2}}\left(bA+cB\right)$. By a simple computation, we have

$${T}_{4}=\frac{\lambda gc}{dgc+{\beta}_{1}hc+{\beta}_{2}bg},\phantom{\rule{4pt}{0ex}}{I}_{4}=\frac{b}{c},\phantom{\rule{4pt}{0ex}}{V}_{4}=\frac{h}{g},\phantom{\rule{4pt}{0ex}}{W}_{4}=\frac{\mu}{q}({R}_{3}^{W}-1),\phantom{\rule{4pt}{0ex}}{Z}_{4}=\frac{a}{p}\left(\frac{\lambda c{\eta}_{1}({\beta}_{1}hc+{\beta}_{2}bg)}{ab(dgc+{\beta}_{1}hc+{\beta}_{2}bg)}-1\right).$$

$$C-\frac{b}{{c}^{2}}\left(bA+cB\right)=\frac{pb}{{c}^{2}}\left(dgc+{\beta}_{1}hc+{\beta}_{2}bg\right){Z}_{4}.$$

Summarizing the above discussions, we obtain the following theorem.

**Theorem**

**2.**

**(i)**- If ${R}_{0}\le 1$, then Equation (3) always has one infection-free equilibrium, ${E}_{0}({T}_{0},0,0,0,0)$, where $T}_{0}=\frac{\lambda}{d$.
**(ii)**- If ${R}_{0}>1$, then Equation (3) has an infection equilibrium without immunity, ${E}_{1}({T}_{1},{I}_{1},{V}_{1},0,0)$, where$${T}_{1}=\frac{\lambda}{d{R}_{0}},\phantom{\rule{4pt}{0ex}}{I}_{1}=\frac{d\mu ({R}_{0}-1)}{{\beta}_{1}k{\eta}_{2}+{\beta}_{2}\mu}\phantom{\rule{4.pt}{0ex}}\mathrm{and}\phantom{\rule{4.pt}{0ex}}{V}_{1}=\frac{kd{\eta}_{2}({R}_{0}-1)}{{\beta}_{1}k{\eta}_{2}+{\beta}_{2}\mu}.$$
**(iii)**- If ${R}_{1}^{W}>1$, then Equation (3) has an infection equilibrium with only humoral immunity, ${E}_{2}({T}_{2},{I}_{2},{V}_{2},{W}_{2},0)$, where$${T}_{2}=\frac{a{I}_{2}}{{\eta}_{1}({\beta}_{1}{V}_{2}+{\beta}_{2}{I}_{2})},\phantom{\rule{4pt}{0ex}}{I}_{2}=\frac{-B+\sqrt{{B}^{2}+4AC}}{2A},\phantom{\rule{4pt}{0ex}}{V}_{2}=\frac{h}{g},\phantom{\rule{4pt}{0ex}}{W}_{2}=\frac{\mu}{q}\left(\frac{k{\eta}_{2}{I}_{2}}{\mu {V}_{2}}-1\right).$$
**(iv)**- If ${R}_{1}^{Z}>1$, then Equation (3) has an infection equilibrium with only cellular immunity, ${E}_{3}({T}_{3},{I}_{3},{V}_{3},0,{Z}_{3})$, where$${T}_{3}=\frac{\lambda c\mu}{dc\mu +b(k{\beta}_{1}{\eta}_{2}+\mu {\beta}_{2})},\phantom{\rule{4pt}{0ex}}{I}_{3}=\frac{b}{c},\phantom{\rule{4pt}{0ex}}{V}_{3}=\frac{kb{\eta}_{2}}{c\mu},\phantom{\rule{4pt}{0ex}}{Z}_{3}=\frac{a}{p}\left(\frac{{R}_{0}}{1+\frac{ab}{\lambda c{\eta}_{1}}{R}_{0}}-1\right).$$
**(v)**- If ${R}_{2}^{Z}>1$ and ${R}_{3}^{W}>1$, then Equation (3) has an infection equilibrium with both cellular and humoral immune responses, ${E}_{4}({T}_{4},{I}_{4},{V}_{4},{W}_{4},{Z}_{4})$, where$${T}_{4}=\frac{\lambda gc}{dgc+{\beta}_{1}hc+{\beta}_{2}bg},\phantom{\rule{4pt}{0ex}}{I}_{4}=\frac{b}{c},\phantom{\rule{4pt}{0ex}}{V}_{4}=\frac{h}{g},\phantom{\rule{4pt}{0ex}}{W}_{4}=\frac{\mu}{q}({R}_{3}^{W}-1)\phantom{\rule{4.pt}{0ex}}\mathit{and}\phantom{\rule{4.pt}{0ex}}$$$${Z}_{4}=\frac{a}{p}\left(\frac{\lambda c{\eta}_{1}({\beta}_{1}hc+{\beta}_{2}bg)}{ab(dgc+{\beta}_{1}hc+{\beta}_{2}bg)}-1\right).$$

It is important to note that

$${R}_{3}^{W}=\frac{{R}_{1}^{W}}{{R}_{1}^{Z}}=\frac{gkb{\eta}_{2}}{h\mu c},\phantom{\rule{4pt}{0ex}}{W}_{2}=\frac{\mu}{q}({R}_{2}^{Z}{R}_{3}^{W}-1)\phantom{\rule{4.pt}{0ex}}\mathrm{and}\phantom{\rule{4.pt}{0ex}}{R}_{3}^{W}>\frac{1}{{R}_{2}^{Z}}.$$

## 3. Global Stability

In this section, we investigate the global stability of the five equilibria of Equation (3) by constructing appropriate Lyapunov functionals. We first analyze the global stability of the infection-free equilibrium.

**Theorem**

**3.**

The infection-free equilibrium ${E}_{0}$ is globally asymptotically stable when ${R}_{0}\le 1$.

**Proof.**

To study the global stability of ${E}_{0}$, we consider a Lyapunov functional defined as follows:
where $\Phi \left(x\right)=x-1-lnx$ for $x>0$. It is not hard to see that $\Phi \left(x\right)\ge 0$ for all $x\in (0,+\infty )$. Hence, the functional ${L}_{0}$ is nonnegative.

$$\begin{array}{ccc}\hfill {L}_{0}\left(t\right)& =& {T}_{0}\Phi \left(\frac{T\left(t\right)}{{T}_{0}}\right)+\frac{1}{{\eta}_{1}}I\left(t\right)+\frac{{\beta}_{1}{T}_{0}}{\mu}V\left(t\right)+\frac{q{\beta}_{1}{T}_{0}}{g\mu}W\left(t\right)+\frac{p}{c{\eta}_{1}}Z\left(t\right)\hfill \\ & & +\frac{1}{{\eta}_{1}}{\int}_{0}^{\infty}{f}_{1}\left(\tau \right){e}^{-{\alpha}_{1}\tau}{\int}_{t-\tau}^{t}[{\beta}_{1}T\left(s\right)V\left(s\right)+{\beta}_{2}T\left(s\right)I\left(s\right)]dsd\tau \hfill \\ & & +\frac{k{\beta}_{1}{T}_{0}}{\mu}{\int}_{0}^{\infty}{f}_{2}\left(\tau \right){e}^{-{\alpha}_{2}\tau}{\int}_{t-\tau}^{t}I\left(s\right)dsd\tau ,\hfill \end{array}$$

In order to simplify the presentation, we use the following notations: $\Psi =\Psi \left(t\right)$ and ${\Psi}_{\tau}=\Psi (t-\tau )$ for any $\Psi \in \{T,I,V,W,Z\}$. Calculating the time derivative of ${L}_{0}$ along the positive solution of Equation (3), we obtain
If follows from ${R}_{0}\le 1$ that $\frac{d{L}_{0}}{dt}\le 0$. It is straightforward to show that the largest invariant set in $\{(T,I,V,W,Z)|\frac{d{L}_{0}}{dt}=0\}$ is $\left\{{E}_{0}\right\}$. By LaSalle’s invariance principle [14], the infection-free equilibrium ${E}_{0}$ is globally asymptotically stable when ${R}_{0}\le 1$. ☐

$$\begin{array}{ccc}\hfill {\displaystyle \frac{d{L}_{0}}{dt}{|}_{\left(\right)}}& =& \left(1-\frac{{T}_{0}}{T}\right)\dot{T}+\frac{1}{{\eta}_{1}}\dot{I}+\frac{{\beta}_{1}{T}_{0}}{\mu}\dot{V}+\frac{q{\beta}_{1}{T}_{0}}{g\mu}\dot{W}+\frac{p}{c{\eta}_{1}}\dot{Z}\hfill \\ & & +\frac{1}{{\eta}_{1}}{\int}_{0}^{\infty}{f}_{1}\left(\tau \right){e}^{-{\alpha}_{1}\tau}[{\beta}_{1}TV+{\beta}_{2}TI-{\beta}_{1}{T}_{\tau}{V}_{\tau}-{\beta}_{2}{T}_{\tau}{I}_{\tau}]d\tau \hfill \\ & & +\frac{k{\beta}_{1}{T}_{0}}{\mu}{\int}_{0}^{\infty}{f}_{2}\left(\tau \right){e}^{-{\alpha}_{2}\tau}(I-{I}_{\tau})d\tau \hfill \\ & =& -\frac{d}{T}{(T-{T}_{0})}^{2}+\frac{a}{{\eta}_{1}}({R}_{0}-1)I-\frac{hq{\beta}_{1}{T}_{0}}{g\mu}W-\frac{p}{c{\eta}_{1}}Z.\hfill \end{array}$$

When ${R}_{0}>1$, Equation (3) has four infection steady states ${E}_{i}$, $1\le i\le 4$. The following theorem characterizes the global stability of these steady states.

**Theorem**

**4.**

Assume ${R}_{0}>1$.

**(i)**- The infection equilibrium without immunity ${E}_{1}$ is globally asymptotically stable if ${R}_{1}^{W}\le 1$ and ${R}_{1}^{Z}\le 1$.
**(ii)**- The infection equilibrium with only humoral immunity ${E}_{2}$ is globally asymptotically stable if ${R}_{1}^{W}>1$ and ${R}_{2}^{Z}\le 1$.
**(iii)**- The infection equilibrium with only cellular immunity ${E}_{3}$ is globally asymptotically stable if ${R}_{1}^{Z}>1$ and ${R}_{3}^{W}\le 1$.
**(iv)**- The infection equilibrium with both cellular and humoral immune responses ${E}_{4}$ is globally asymptotically stable if ${R}_{2}^{Z}>1$ and ${R}_{3}^{W}>1$.

**Proof.**

For
Then
By $\lambda =d{T}_{1}+{\beta}_{1}{T}_{1}{V}_{1}+{\beta}_{2}{T}_{1}{I}_{1}=d{T}_{1}+\frac{a}{{\eta}_{1}}{I}_{1}$ and $k{\eta}_{2}{I}_{1}=\mu {V}_{1}$, we obtain
Thus,
Because $\Phi \left(x\right)\ge 0$ for $x>0$, ${R}_{1}^{W}\le 1$, and ${R}_{1}^{Z}\le 1$, we have $\frac{d{L}_{1}}{dt}{|}_{\left(3\right)}\le 0$ with equality if and only if $T={T}_{1}$, $I={I}_{1}$, $V={V}_{1}$, $W=0$, and $Z=0$. It follows from LaSalle’s invariance principle that ${E}_{1}$ is globally asymptotically stable.

**(i)**, consider the following Lyapunov functional:
$$\begin{array}{ccc}\hfill {L}_{1}\left(t\right)& =& {T}_{1}\Phi \left(\frac{T\left(t\right)}{{T}_{1}}\right)+\frac{1}{{\eta}_{1}}{I}_{1}\Phi \left(\frac{I\left(t\right)}{{I}_{1}}\right)+\frac{{\beta}_{1}{T}_{1}{V}_{1}}{k{\eta}_{2}{I}_{1}}{V}_{1}\Phi \left(\frac{V\left(t\right)}{{V}_{1}}\right)+\frac{q{\beta}_{1}{T}_{1}}{g\mu}W\left(t\right)+\frac{p}{c{\eta}_{1}}Z\left(t\right)\hfill \\ & & +\frac{{\beta}_{1}{T}_{1}{V}_{1}}{{\eta}_{1}}{\int}_{0}^{\infty}{f}_{1}\left(\tau \right){e}^{-{\alpha}_{1}\tau}{\int}_{t-\tau}^{t}\Phi \left(\frac{T\left(s\right)V\left(s\right)}{{T}_{1}{V}_{1}}\right)dsd\tau \hfill \\ & & +\frac{{\beta}_{2}{T}_{1}{I}_{1}}{{\eta}_{1}}{\int}_{0}^{\infty}{f}_{1}\left(\tau \right){e}^{-{\alpha}_{1}\tau}{\int}_{t-\tau}^{t}\Phi \left(\frac{T\left(s\right)I\left(s\right)}{{T}_{1}{I}_{1}}\right)dsd\tau \hfill \\ & & +\frac{{\beta}_{1}{T}_{1}{V}_{1}}{{\eta}_{2}}{\int}_{0}^{\infty}{f}_{2}\left(\tau \right){e}^{-{\alpha}_{2}\tau}{\int}_{t-\tau}^{t}\Phi \left(\frac{I\left(s\right)}{{I}_{1}}\right)dsd\tau .\hfill \end{array}$$

$$\begin{array}{ccc}\hfill {\displaystyle \frac{d{L}_{1}}{dt}{|}_{\left(3\right)}}& =& (1-\frac{{T}_{1}}{T})\dot{T}+\frac{1}{{\eta}_{1}}(1-\frac{{I}_{1}}{I})\dot{I}+\frac{{\beta}_{1}{T}_{1}{V}_{1}}{k{\eta}_{2}{I}_{1}}(1-\frac{{V}_{1}}{V})\dot{V}+\frac{q{\beta}_{1}{T}_{1}}{g\mu}\dot{W}+\frac{p}{c{\eta}_{1}}\dot{Z}\hfill \\ & & +\frac{{\beta}_{1}{T}_{1}{V}_{1}}{{\eta}_{1}}{\int}_{0}^{\infty}{f}_{1}\left(\tau \right){e}^{-{\alpha}_{1}\tau}\left(\Phi (\frac{TV}{{T}_{1}{V}_{1}})-\Phi (\frac{{T}_{\tau}{V}_{\tau}}{{T}_{1}{V}_{1}})\right)d\tau \hfill \\ & & +\frac{{\beta}_{2}{T}_{1}{I}_{1}}{{\eta}_{1}}{\int}_{0}^{\infty}{f}_{1}\left(\tau \right){e}^{-{\alpha}_{1}\tau}\left(\Phi (\frac{TI}{{T}_{1}{I}_{1}})-\Phi (\frac{{T}_{\tau}{I}_{\tau}}{{T}_{1}{I}_{1}})\right)d\tau \hfill \\ & & +\frac{{\beta}_{1}{T}_{1}{V}_{1}}{{\eta}_{2}}{\int}_{0}^{\infty}{f}_{2}\left(\tau \right){e}^{-{\alpha}_{1}\tau}\left(\Phi (\frac{I}{{I}_{1}})-\Phi (\frac{{I}_{\tau}}{{I}_{1}})\right)d\tau .\hfill \end{array}$$

$$\begin{array}{ccc}\hfill {\displaystyle \frac{d{L}_{1}}{dt}{|}_{\left(3\right)}}& =& -\frac{d}{T}{(T-{T}_{1})}^{2}+\frac{hq{\beta}_{1}{T}_{1}}{g\mu}({R}_{1}^{W}-1)W+\frac{pb}{c{\eta}_{1}}({R}_{1}^{Z}-1)Z\hfill \\ & & +\frac{{\beta}_{1}{T}_{1}{V}_{1}}{{\eta}_{1}}{\int}_{0}^{\infty}{f}_{1}\left(\tau \right){e}^{-{\alpha}_{1}\tau}\left[3-\frac{{T}_{1}}{T}-\frac{{T}_{\tau}{V}_{\tau}{I}_{1}}{{T}_{1}{V}_{1}I}+ln(\frac{{T}_{\tau}{V}_{\tau}}{TV})\right]d\tau \hfill \\ & & +\frac{{\beta}_{2}{T}_{1}{I}_{1}}{{\eta}_{1}}{\int}_{0}^{\infty}{f}_{1}\left(\tau \right){e}^{-{\alpha}_{1}\tau}\left[2-\frac{{T}_{1}}{T}-\frac{{T}_{\tau}{I}_{\tau}}{{T}_{1}I}+ln(\frac{{T}_{\tau}{I}_{\tau}}{TI})\right]d\tau \hfill \\ & & -\frac{{\beta}_{1}{T}_{1}{V}_{1}}{{\eta}_{2}}{\int}_{0}^{\infty}{f}_{2}\left(\tau \right){e}^{-{\alpha}_{2}\tau}\left[\frac{{V}_{1}{I}_{\tau}}{V{I}_{1}}-ln(\frac{{I}_{\tau}}{I})\right]d\tau .\hfill \end{array}$$

$$\begin{array}{ccc}\hfill {\displaystyle \frac{d{L}_{1}}{dt}{|}_{\left(3\right)}}& =& -\frac{d}{T}{(T-{T}_{1})}^{2}+\frac{hq{\beta}_{1}{T}_{1}}{g\mu}({R}_{1}^{W}-1)W+\frac{pb}{c{\eta}_{1}}({R}_{1}^{Z}-1)Z\hfill \\ & & -\frac{{\beta}_{1}{T}_{1}{V}_{1}}{{\eta}_{1}}{\int}_{0}^{\infty}{f}_{1}\left(\tau \right){e}^{-{\alpha}_{1}\tau}\left[\Phi (\frac{{T}_{1}}{T})+\Phi (\frac{{T}_{\tau}{V}_{\tau}{I}_{1}}{{T}_{1}{V}_{1}I})\right]d\tau \hfill \\ & & -\frac{{\beta}_{2}{T}_{1}{I}_{1}}{{\eta}_{1}}{\int}_{0}^{\infty}{f}_{1}\left(\tau \right){e}^{-{\alpha}_{1}\tau}\left[\Phi (\frac{{T}_{1}}{T})+\Phi (\frac{{T}_{\tau}{I}_{\tau}}{{T}_{1}I})\right]d\tau \hfill \\ & & -\frac{{\beta}_{1}{T}_{1}{V}_{1}}{{\eta}_{2}}{\int}_{0}^{\infty}{f}_{2}\left(\tau \right){e}^{-{\alpha}_{2}\tau}\Phi (\frac{{V}_{1}{I}_{\tau}}{V{I}_{1}})d\tau .\hfill \end{array}$$

For
Hence,
By $\lambda =d{T}_{2}+{\beta}_{1}{T}_{2}{V}_{2}+{\beta}_{2}{T}_{2}{I}_{2}=d{T}_{2}+\frac{a}{{\eta}_{1}}{I}_{2}$, $V}_{2}=\frac{h}{g$, and $k{\eta}_{2}{I}_{2}=\mu {V}_{2}+q{W}_{2}{V}_{2}$, we obtain
Thus,
Because ${R}_{2}^{Z}\le 1$ and $\Phi \left(x\right)\ge 0$ for $x>0$, we have $\frac{d{L}_{2}}{dt}{|}_{\left(3\right)}\le 0$ with equality if and only if $T={T}_{2}$, $I={I}_{2}$, and $V={V}_{2}$. Then $\dot{I}=0$ and $\dot{V}=0$, which leads to $Z=0$ and $W={W}_{2}$. Therefore, the largest compact invariant set in $\{(T,I,V,W,Z)|\frac{d{L}_{2}}{dt}=0\}$ is the singleton $\left\{{E}_{2}\right\}$, and the proof of

**(ii)**, consider the following Lyapunov functional:
$$\begin{array}{ccc}\hfill {L}_{2}\left(t\right)& =& {T}_{2}\Phi \left(\frac{T\left(t\right)}{{T}_{2}}\right)+\frac{1}{{\eta}_{1}}{I}_{2}\Phi \left(\frac{I\left(t\right)}{{I}_{2}}\right)+\frac{{\beta}_{1}{T}_{2}{V}_{2}}{k{\eta}_{2}{I}_{2}}{V}_{2}\Phi \left(\frac{V\left(t\right)}{{V}_{2}}\right)\hfill \\ & & +\frac{q{\beta}_{1}{T}_{2}{V}_{2}}{gk{\eta}_{2}{I}_{2}}{W}_{2}\Phi \left(\frac{W\left(t\right)}{{W}_{2}}\right)+\frac{p}{c{\eta}_{1}}Z\left(t\right)\hfill \\ & & +\frac{{\beta}_{1}{T}_{2}{V}_{2}}{{\eta}_{1}}{\int}_{0}^{\infty}{f}_{1}\left(\tau \right){e}^{-{\alpha}_{1}\tau}{\int}_{t-\tau}^{t}\Phi \left(\frac{T\left(s\right)V\left(s\right)}{{T}_{2}{V}_{2}}\right)dsd\tau \hfill \\ & & +\frac{{\beta}_{2}{T}_{2}{I}_{2}}{{\eta}_{1}}{\int}_{0}^{\infty}{f}_{1}\left(\tau \right){e}^{-{\alpha}_{1}\tau}{\int}_{t-\tau}^{t}\Phi \left(\frac{T\left(s\right)I\left(s\right)}{{T}_{2}{I}_{2}}\right)dsd\tau \hfill \\ & & +\frac{{\beta}_{1}{T}_{2}{V}_{2}}{{\eta}_{2}}{\int}_{0}^{\infty}{f}_{2}\left(\tau \right){e}^{-{\alpha}_{2}\tau}{\int}_{t-\tau}^{t}\Phi \left(\frac{I\left(s\right)}{{I}_{2}}\right)dsd\tau .\hfill \end{array}$$

$$\begin{array}{ccc}\hfill {\displaystyle \frac{d{L}_{2}}{dt}{|}_{\left(3\right)}}& =& (1-\frac{{T}_{2}}{T})\dot{T}+\frac{1}{{\eta}_{1}}(1-\frac{{I}_{2}}{I})\dot{I}+\frac{{\beta}_{1}{T}_{2}{V}_{2}}{k{\eta}_{2}{I}_{2}}(1-\frac{{V}_{2}}{V})\dot{V}\hfill \\ & & +\frac{q{\beta}_{1}{T}_{2}{V}_{2}}{gk{\eta}_{2}{I}_{2}}(1-\frac{{W}_{2}}{W})\dot{W}+\frac{p}{c{\eta}_{1}}\dot{Z}\hfill \\ & & +\frac{{\beta}_{1}{T}_{1}{V}_{1}}{{\eta}_{1}}{\int}_{0}^{\infty}{f}_{1}\left(\tau \right){e}^{-{\alpha}_{1}\tau}\left(\Phi (\frac{TV}{{T}_{1}{V}_{1}})-\Phi (\frac{{T}_{\tau}{V}_{\tau}}{{T}_{1}{V}_{1}})\right)d\tau \hfill \\ & & +\frac{{\beta}_{2}{T}_{1}{I}_{1}}{{\eta}_{1}}{\int}_{0}^{\infty}{f}_{1}\left(\tau \right){e}^{-{\alpha}_{1}\tau}\left(\Phi (\frac{TI}{{T}_{1}{I}_{1}})-\Phi (\frac{{T}_{\tau}{I}_{\tau}}{{T}_{1}{I}_{1}})\right)d\tau \hfill \\ & & +\frac{{\beta}_{1}{T}_{1}{V}_{1}}{{\eta}_{2}}{\int}_{0}^{\infty}{f}_{2}\left(\tau \right){e}^{-{\alpha}_{1}\tau}\left(\Phi (\frac{I}{{I}_{1}})-\Phi (\frac{{I}_{\tau}}{{I}_{1}})\right)d\tau .\hfill \end{array}$$

$$\begin{array}{ccc}\hfill {\displaystyle \frac{d{L}_{2}}{dt}{|}_{\left(3\right)}}& =& -\frac{d}{T}{(T-{T}_{2})}^{2}+\frac{pb}{c{\eta}_{1}}({R}_{2}^{Z}-1)Z\hfill \\ & & +\frac{{\beta}_{1}{T}_{2}{V}_{2}}{{\eta}_{1}}{\int}_{0}^{\infty}{f}_{1}\left(\tau \right){e}^{-{\alpha}_{1}\tau}\left[3-\frac{{T}_{2}}{T}-\frac{{T}_{\tau}{V}_{\tau}{I}_{2}}{{T}_{2}{V}_{2}I}+ln(\frac{{T}_{\tau}{V}_{\tau}}{TV})\right]d\tau \hfill \\ & & +\frac{{\beta}_{2}{T}_{2}{I}_{2}}{{\eta}_{1}}{\int}_{0}^{\infty}{f}_{1}\left(\tau \right){e}^{-{\alpha}_{1}\tau}\left[2-\frac{{T}_{2}}{T}-\frac{{T}_{\tau}{I}_{\tau}}{{T}_{2}I}+ln(\frac{{T}_{\tau}{I}_{\tau}}{TI})\right]d\tau \hfill \\ & & -\frac{{\beta}_{1}{T}_{2}{V}_{2}}{{\eta}_{2}}{\int}_{0}^{\infty}{f}_{2}\left(\tau \right){e}^{-{\alpha}_{2}\tau}\left[\frac{{V}_{2}{I}_{\tau}}{V{I}_{2}}-ln(\frac{{I}_{\tau}}{I})\right]d\tau .\hfill \end{array}$$

$$\begin{array}{ccc}\hfill {\displaystyle \frac{d{L}_{2}}{dt}{|}_{\left(3\right)}}& =& -\frac{d}{T}{(T-{T}_{2})}^{2}+\frac{pb}{c{\eta}_{1}}({R}_{2}^{Z}-1)Z\hfill \\ & & -\frac{{\beta}_{1}{T}_{2}{V}_{2}}{{\eta}_{1}}{\int}_{0}^{\infty}{f}_{1}\left(\tau \right){e}^{-{\alpha}_{1}\tau}\left[\Phi (\frac{{T}_{2}}{T})+\Phi (\frac{{T}_{\tau}{V}_{\tau}{I}_{2}}{{T}_{2}{V}_{2}I})\right]d\tau \hfill \\ & & -\frac{{\beta}_{2}{T}_{2}{I}_{2}}{{\eta}_{1}}{\int}_{0}^{\infty}{f}_{1}\left(\tau \right){e}^{-{\alpha}_{1}\tau}\left[\Phi (\frac{{T}_{2}}{T})+\Phi (\frac{{T}_{\tau}{I}_{\tau}}{{T}_{2}I})\right]d\tau \hfill \\ & & -\frac{{\beta}_{1}{T}_{2}{V}_{2}}{{\eta}_{2}}{\int}_{0}^{\infty}{f}_{2}\left(\tau \right){e}^{-{\alpha}_{2}\tau}\Phi (\frac{{V}_{2}{I}_{\tau}}{V{I}_{2}})d\tau .\hfill \end{array}$$

**(ii)**is completed.For

**(iii)**, consider the following Lyapunov functional:
$$\begin{array}{ccc}\hfill {L}_{3}\left(t\right)& =& {T}_{3}\Phi \left(\frac{T\left(t\right)}{{T}_{3}}\right)+\frac{1}{{\eta}_{1}}{I}_{3}\Phi \left(\frac{I\left(t\right)}{{I}_{3}}\right)+\frac{{\beta}_{1}{T}_{3}{V}_{3}}{k{\eta}_{2}{I}_{3}}{V}_{3}\Phi \left(\frac{V\left(t\right)}{{V}_{3}}\right)\hfill \\ & & +\frac{q{\beta}_{1}{T}_{3}}{g\mu}W\left(t\right)+\frac{p}{c{\eta}_{1}}{Z}_{2}\Phi \left(\frac{Z\left(t\right)}{{Z}_{3}}\right)\hfill \\ & & +\frac{{\beta}_{1}{T}_{3}{V}_{3}}{{\eta}_{1}}{\int}_{0}^{\infty}{f}_{1}\left(\tau \right){e}^{-{\alpha}_{1}\tau}{\int}_{t-\tau}^{t}\Phi \left(\frac{T\left(s\right)V\left(s\right)}{{T}_{3}{V}_{3}}\right)dsd\tau \hfill \\ & & +\frac{{\beta}_{2}{T}_{3}{I}_{3}}{{\eta}_{1}}{\int}_{0}^{\infty}{f}_{1}\left(\tau \right){e}^{-{\alpha}_{1}\tau}{\int}_{t-\tau}^{t}\Phi \left(\frac{T\left(s\right)I\left(s\right)}{{T}_{3}{I}_{3}}\right)dsd\tau \hfill \\ & & +\frac{{\beta}_{1}{T}_{3}{V}_{3}}{{\eta}_{2}}{\int}_{0}^{\infty}{f}_{2}\left(\tau \right){e}^{-{\alpha}_{2}\tau}{\int}_{t-\tau}^{t}\Phi \left(\frac{I\left(s\right)}{{I}_{3}}\right)dsd\tau .\hfill \end{array}$$

From $\lambda =d{T}_{3}+{\beta}_{1}{T}_{3}{V}_{3}+{\beta}_{2}{T}_{3}{I}_{3}=d{T}_{3}+\frac{a}{{\eta}_{1}}{I}_{2}+\frac{p}{{\eta}_{1}}{I}_{3}{Z}_{3}$, $I}_{3}=\frac{b}{c$, and $k{\eta}_{2}{I}_{3}=\mu {V}_{3}$, we easily have

$$\begin{array}{ccc}\hfill {\displaystyle \frac{d{L}_{3}}{dt}{|}_{\left(3\right)}}& =& -\frac{d}{T}{(T-{T}_{3})}^{2}+\frac{hq{\beta}_{1}{T}_{3}}{g\mu}({R}_{3}^{W}-1)W\hfill \\ & & -\frac{{\beta}_{1}{T}_{3}{V}_{3}}{{\eta}_{1}}{\int}_{0}^{\infty}{f}_{1}\left(\tau \right){e}^{-{\alpha}_{1}\tau}\left[\Phi (\frac{{T}_{3}}{T})+\Phi (\frac{{T}_{\tau}{V}_{\tau}{I}_{3}}{{T}_{3}{V}_{3}I})\right]d\tau \hfill \\ & & -\frac{{\beta}_{2}{T}_{3}{I}_{3}}{{\eta}_{1}}{\int}_{0}^{\infty}{f}_{1}\left(\tau \right){e}^{-{\alpha}_{1}\tau}\left[\Phi (\frac{{T}_{3}}{T})+\Phi (\frac{{T}_{\tau}{I}_{\tau}}{{T}_{3}I})\right]d\tau \hfill \\ & & -\frac{{\beta}_{1}{T}_{3}{V}_{3}}{{\eta}_{2}}{\int}_{0}^{\infty}{f}_{2}\left(\tau \right){e}^{-{\alpha}_{2}\tau}\Phi (\frac{{V}_{3}{I}_{\tau}}{V{I}_{3}})d\tau .\hfill \end{array}$$

Consequently, $\frac{d{L}_{3}}{dt}{|}_{\left(3\right)}\le 0$ with equality if and only if $T={T}_{3}$, $I={I}_{3}$, and $V={V}_{3}$. It follows from $\dot{I}=0$ and $\dot{V}=0$ that $Z={Z}_{3}$ and $W=0$. By LaSalle’s invariance principle, we deduce that ${E}_{3}$ is globally asymptotically stable.

Finally, we show
By $\lambda =d{T}_{4}+{\beta}_{1}{T}_{4}{V}_{4}+{\beta}_{2}{T}_{4}{I}_{4}=d{T}_{4}+\frac{a}{{\eta}_{1}}{I}_{4}+\frac{p}{{\eta}_{1}}{I}_{4}{Z}_{4}$, $I}_{4}=\frac{b}{c$ $V}_{4}=\frac{h}{g$, and $k{\eta}_{2}{I}_{4}=(\mu +q{W}_{4}){V}_{4}$, we obtain
Hence,
Thus, $\frac{d{L}_{4}}{dt}{|}_{\left(3\right)}\le 0$ with equality holds if and only if $T={T}_{4}$, $I={I}_{4}$, and $V={V}_{4}$. Let
From the second and third equations of the model given by Equation (3), we have
which implies that $Z={Z}_{4}$ and $W={W}_{4}$. Then the largest compact invariant set in $\Gamma $ is the singleton $\left\{{E}_{4}\right\}$. Therefore, ${E}_{4}$ is globally asymptotically stable. ☐

**(iv)**by considering the following Lyapunov functional:
$$\begin{array}{ccc}\hfill {L}_{4}\left(t\right)& =& {T}_{4}\Phi \left(\frac{T\left(t\right)}{{T}_{4}}\right)+\frac{1}{{\eta}_{1}}{I}_{4}\Phi \left(\frac{I\left(t\right)}{{I}_{4}}\right)+\frac{{\beta}_{1}{T}_{4}{V}_{4}}{k{\eta}_{2}{I}_{4}}{V}_{4}\Phi \left(\frac{V\left(t\right)}{{V}_{4}}\right)\hfill \\ & & +\frac{q{\beta}_{1}{T}_{4}{V}_{4}}{gk{\eta}_{2}{I}_{4}}{W}_{4}\Phi \left(\frac{W\left(t\right)}{{W}_{4}}\right)+\frac{p}{c{\eta}_{1}}{Z}_{4}\Phi \left(\frac{Z\left(t\right)}{{Z}_{4}}\right)\hfill \\ & & +\frac{{\beta}_{1}{T}_{4}{V}_{4}}{{\eta}_{1}}{\int}_{0}^{\infty}{f}_{1}\left(\tau \right){e}^{-{\alpha}_{1}\tau}{\int}_{t-\tau}^{t}\Phi \left(\frac{T\left(s\right)V\left(s\right)}{{T}_{4}{V}_{4}}\right)dsd\tau \hfill \\ & & +\frac{{\beta}_{2}{T}_{4}{I}_{4}}{{\eta}_{1}}{\int}_{0}^{\infty}{f}_{1}\left(\tau \right){e}^{-{\alpha}_{1}\tau}{\int}_{t-\tau}^{t}\Phi \left(\frac{T\left(s\right)I\left(s\right)}{{T}_{4}{I}_{4}}\right)dsd\tau \hfill \\ & & +\frac{{\beta}_{1}{T}_{4}{V}_{4}}{{\eta}_{2}}{\int}_{0}^{\infty}{f}_{2}\left(\tau \right){e}^{-{\alpha}_{2}\tau}{\int}_{t-\tau}^{t}\Phi \left(\frac{I\left(s\right)}{{I}_{4}}\right)dsd\tau .\hfill \end{array}$$

$$\begin{array}{ccc}\hfill {\displaystyle \frac{d{L}_{4}}{dt}{|}_{\left(3\right)}}& =& -\frac{d}{T}{(T-{T}_{4})}^{2}+\frac{{\beta}_{1}{T}_{4}{V}_{4}}{{\eta}_{1}}{\int}_{0}^{\infty}{f}_{1}\left(\tau \right){e}^{-{\alpha}_{1}\tau}\left[3-\frac{{T}_{4}}{T}-\frac{{T}_{\tau}{V}_{\tau}{I}_{4}}{{T}_{4}{V}_{4}I}+ln\left(\frac{{T}_{\tau}{V}_{\tau}}{TV}\right)\right]d\tau \hfill \\ & & +\frac{{\beta}_{2}{T}_{4}{I}_{4}}{{\eta}_{1}}{\int}_{0}^{\infty}{f}_{1}\left(\tau \right){e}^{-{\alpha}_{1}\tau}\left[2-\frac{{T}_{4}}{T}-\frac{{T}_{\tau}{I}_{\tau}}{{T}_{4}I}+ln(\frac{{T}_{\tau}{I}_{\tau}}{TI})\right]d\tau \hfill \\ & & -\frac{{\beta}_{1}{T}_{4}{V}_{4}}{{\eta}_{2}}{\int}_{0}^{\infty}{f}_{2}\left(\tau \right){e}^{-{\alpha}_{2}\tau}\left[\frac{{V}_{4}{I}_{\tau}}{V{I}_{4}}-ln(\frac{{I}_{\tau}}{I})\right]d\tau .\hfill \end{array}$$

$$\begin{array}{ccc}\hfill {\displaystyle \frac{d{L}_{4}}{dt}{|}_{\left(3\right)}}& =& -\frac{d}{T}{(T-{T}_{4})}^{2}-\frac{{\beta}_{1}{T}_{4}{V}_{4}}{{\eta}_{1}}{\int}_{0}^{\infty}{f}_{1}\left(\tau \right){e}^{-{\alpha}_{1}\tau}\left[\Phi (\frac{{T}_{4}}{T})+\Phi (\frac{{T}_{\tau}{V}_{\tau}{I}_{4}}{{T}_{4}{V}_{4}I})\right]d\tau \hfill \\ & & -\frac{{\beta}_{2}{T}_{4}{I}_{4}}{{\eta}_{1}}{\int}_{0}^{\infty}{f}_{1}\left(\tau \right){e}^{-{\alpha}_{1}\tau}\left[\Phi (\frac{{T}_{4}}{T})+\Phi (\frac{{T}_{\tau}{I}_{\tau}}{{T}_{4}I})\right]d\tau \hfill \\ & & -\frac{{\beta}_{1}{T}_{4}{V}_{4}}{{\eta}_{2}}{\int}_{0}^{\infty}{f}_{2}\left(\tau \right){e}^{-{\alpha}_{2}\tau}\Phi (\frac{{V}_{4}{I}_{\tau}}{V{I}_{4}})d\tau .\hfill \end{array}$$

$$\Gamma =\{(T,I,V,W,Z)|\frac{d{L}_{4}}{dt}=0\}.$$

$$\begin{array}{ccc}\hfill \dot{I}& =& {\eta}_{1}({\beta}_{1}{T}_{4}{V}_{4}+{\beta}_{2}{T}_{4}{I}_{4})-a{I}_{4}-p{I}_{4}Z=0,\hfill \\ \hfill \dot{V}& =& k{\eta}_{2}{I}_{4}-\mu {V}_{4}-q{V}_{4}W=0,\hfill \end{array}$$

The conditions of the global stability of ${E}_{2}$ and those of ${E}_{3}$ given in (ii) and (iii) of Theorem 4 do not hold simultaneously. In fact, supposing the contrary, then ${R}_{1}^{W}>1\ge {R}_{2}^{Z}$ and ${R}_{1}^{Z}>1\ge {R}_{3}^{W}$. Because ${R}_{3}^{W}\le 1$ and $R}_{2}^{Z}>\frac{1}{{R}_{3}^{W}$, we have ${R}_{2}^{Z}>1$. This is a contradiction with ${R}_{2}^{Z}\le 1$.

According to Equation (12) and Theorem 4, we have the following important result.

**Remark**

**2.**

Assume ${R}_{0}>1$.

- (1)
- If $max({R}_{1}^{W},{R}_{1}^{Z})\le 1$, then Equation (3) converges to ${E}_{1}$ without immunity.
- (2)
- If $max({R}_{1}^{W},{R}_{1}^{Z})>1$, two cases arise:
**(i)**- When $max({R}_{1}^{W},{R}_{1}^{Z})={R}_{1}^{W}$, the humoral immunity is dominant, and Equation (3) converges to ${E}_{2}$ if ${R}_{2}^{Z}\le 1$ or to ${E}_{4}$ if ${R}_{2}^{Z}>1$.
**(ii)**- When $max({R}_{1}^{W},{R}_{1}^{Z})={R}_{1}^{Z}$, the cellular immunity is dominant, and Equation (3) converges to ${E}_{3}$ without humoral immunity.

From this important remark, we can define the over-domination of humoral immunity when ${R}_{2}^{Z}>1$ and ${R}_{3}^{W}>1$ and the over-domination of cellular immunity when ${R}_{2}^{Z}>1$ and ${R}_{3}^{W}<1$.

## 4. Numerical Simulations

In this section, we present some numerical simulations in order to validate our theoretical results. For simplicity, we chose ${f}_{1}\left(\tau \right)=\delta (\tau -{\tau}_{1})$ and ${f}_{2}\left(\tau \right)=\delta (\tau -{\tau}_{2})$ with ${\tau}_{1}$ and ${\tau}_{2}$ to be the delays in cell infection and virus production, respectively, and $\delta (.)$ to be the Dirac function; then our model becomes

$$\left\{\begin{array}{cc}\dot{T}\left(t\right)\hfill & =\lambda -dT\left(t\right)-{\beta}_{1}T\left(t\right)V\left(t\right)-{\beta}_{2}T\left(t\right)I\left(t\right),\hfill \\ \dot{I}\left(t\right)\hfill & =[{\beta}_{1}T(t-{\tau}_{1})V(t-{\tau}_{1})+{\beta}_{2}T(t-{\tau}_{1})I(t-{\tau}_{1})]{e}^{-{\alpha}_{1}{\tau}_{1}}\hfill \\ & \phantom{\rule{4pt}{0ex}}\phantom{\rule{4pt}{0ex}}-aI\left(t\right)-pI\left(t\right)Z\left(t\right),\hfill \\ \dot{V}\left(t\right)\hfill & =kI(t-{\tau}_{2}){e}^{-{\alpha}_{2}{\tau}_{2}}-\mu V\left(t\right)-qV\left(t\right)W\left(t\right),\hfill \\ \dot{W}\left(t\right)\hfill & =gV\left(t\right)W\left(t\right)-hW\left(t\right),\hfill \\ \dot{Z}\left(t\right)\hfill & =cI\left(t\right)Z\left(t\right)-bZ\left(t\right).\hfill \end{array}\right.$$

This system improves the model presented in 2017 by Lin et al. [7], which considered only the humoral immunity and discrete delay in cell infection and ignored the time delay in virus production; that is, ${\tau}_{2}=0$. In addition, Equation (13) includes many special cases existing in the literature. For example, when ${\beta}_{2}=0$ and ${\tau}_{1}={\tau}_{2}=0$, we obtain the model presented by Wodarz in [15] and analyzed by Hattaf et al. in [16]. When ${\beta}_{2}=0$ and ${\tau}_{2}=0$, we obtain the model of Yan and Wang [17].

The algorithm for the numerical treatment of the delay differential system given by Equation (13) can be derived for the numerical method presented in [18,19]. Recently, this numerical method has been used for delayed partial differential equations [20]; it is called the “mixed” Euler method, as it is a mixture of both forward and backward Euler methods. In addition, it is shown that this mixed Euler method preserves the qualitative properties of the corresponding continuous system, such as positivity, boundedness, and global behaviors of solutions. Hence, we discretize the continuous system given by Equation (13) by this numerical method. Thus, we let $\Delta t$ be a time step size and assume that there exist two integers $({m}_{1},{m}_{2})\in \mathrm{I}\phantom{\rule{4.pt}{0ex}}\phantom{\rule{-6.0pt}{0ex}}{\mathrm{N}}^{2}$ with ${\tau}_{1}={m}_{1}\Delta t$ and ${\tau}_{2}={m}_{2}\Delta t$. The grids points are ${t}_{n}=n\Delta t$ for $n\in \mathrm{I}\phantom{\rule{4.pt}{0ex}}\phantom{\rule{-6.0pt}{0ex}}\mathrm{N}$. By applying the mixed Euler method and using the approximations $T\left({t}_{n}\right)\approx {T}_{n}$, $I\left({t}_{n}\right)\approx {I}_{n}$, $V\left({t}_{n}\right)\approx {V}_{n}$, $W\left({t}_{n}\right)\approx {W}_{n}$, and $Z\left({t}_{n}\right)\approx {Z}_{n}$, we obtain the following discrete model:
where the discrete initial conditions are

$$\left\{\begin{array}{cc}{T}_{n+1}\hfill & ={T}_{n}+\left(\lambda -d{T}_{n+1}-{\beta}_{1}{T}_{n+1}{V}_{n}-{\beta}_{2}{T}_{n+1}{I}_{n}\right)\Delta t,\hfill \\ {I}_{n+1}\hfill & ={I}_{n}+([{\beta}_{1}{T}_{n-{m}_{1}+1}{V}_{n-{m}_{1}}+{\beta}_{2}{T}_{n-{m}_{1}+1}{I}_{n-{m}_{1}}]{e}^{-{\alpha}_{1}{\tau}_{1}}\hfill \\ & \phantom{\rule{4pt}{0ex}}\phantom{\rule{4pt}{0ex}}-a{I}_{n+1}-p{I}_{n+1}{Z}_{n})\Delta t,\hfill \\ {V}_{n+1}\hfill & ={V}_{n}+\left(k{e}^{-{\alpha}_{2}{\tau}_{2}}{I}_{n-{m}_{2}+1}-\mu {V}_{n+1}-q{V}_{n+1}{W}_{n}\right)\Delta t,\hfill \\ {W}_{n+1}\hfill & ={W}_{n}+\left(g{V}_{n+1}{W}_{n+1}-h{W}_{n+1}\right)\Delta t,\hfill \\ {Z}_{n+1}\hfill & ={Z}_{n}+\left(c{I}_{n+1}{Z}_{n+1}-b{Z}_{n+1}\right)\Delta t,\hfill \end{array}\right.$$

$$\begin{array}{cc}{T}_{s}\hfill & ={\varphi}_{1}\left({t}_{s}\right),\phantom{\rule{12.80365pt}{0ex}}{I}_{s}={\varphi}_{2}\left({t}_{s}\right),\phantom{\rule{12.80365pt}{0ex}}{V}_{s}={\varphi}_{3}\left({t}_{s}\right),\phantom{\rule{12.80365pt}{0ex}}{W}_{s}={\varphi}_{4}\left({t}_{s}\right),\phantom{\rule{12.80365pt}{0ex}}{Z}_{s}={\varphi}_{5}\left({t}_{s}\right),\hfill \\ & \mathrm{for}\phantom{\rule{4.pt}{0ex}}s\in \{-m,-m+1,\cdots ,0\}\phantom{\rule{4.pt}{0ex}}\mathrm{and}\phantom{\rule{4.pt}{0ex}}m=max({m}_{1},{m}_{2}).\hfill \end{array}$$

The five threshold parameters ${R}_{0}$, ${R}_{1}^{W}$, ${R}_{1}^{Z}$, ${R}_{2}^{Z}$, and ${R}_{3}^{W}$ for Equation (13) are given by Equations (7)–(11) with ${\eta}_{1}={e}^{-{\alpha}_{1}{\tau}_{1}}$ and ${\eta}_{2}={e}^{-{\alpha}_{2}{\tau}_{2}}$. In order to study the impact of cell-to-cell transmission and both arms of adaptive immunity on the HIV dynamics, we chose ${\beta}_{2}$, g, and c as free parameters. The units of state variables T, I, and Z were given by cells $\mathsf{\mu}{\mathrm{L}}^{-1}$. Further, the units of V and W were given by virions $\mathsf{\mu}{\mathrm{L}}^{-1}$ and molecules $\mathsf{\mu}{\mathrm{L}}^{-1}$, respectively. The other parameter values for the simulation are listed in Table 1.

For the case in which ${\beta}_{2}={10}^{-6}$, $g={10}^{-5}$, and $c=0.002$, we obtained ${R}_{0}=0.9751$. It follows from Theorem 2 that Equation (13) has one infection-free equilibrium ${E}_{0}(719.4245,0,0,0,0)$. From Figure 1, we see that the concentration of uninfected CD4${}^{+}$ T cells increased and tended to the value ${T}_{0}=719.4245$, while the concentrations of infected cells, free HIV particles, antibodies, and CTL cells decreased and tended to zero. This means that ${E}_{0}$ is globally asymptotically stable and that the virus will be cleared. This confirms the result in Theorem 3.

For the case in which ${\beta}_{2}=1.5\times {10}^{-4}$, $g={10}^{-5}$, and $c=0.002$, we obtained ${R}_{0}=1.3392$, ${R}_{1}^{W}=0.0143$, and ${R}_{1}^{Z}=0.1721$. It follows that case $\left(i\right)$ of Theorem 4 occurs, and the infection equilibrium without immunity ${E}_{1}(537.9692,8.5643,142.0261,0,0)$ is globally asymptotically stable (see Figure 2).

For the case in which ${\beta}_{2}=3.4\times {10}^{-4}$, $g={10}^{-3}$, and $c=0.002$, we obtained ${R}_{0}=1.8036$, ${R}_{1}^{W}=2.5099$, and ${R}_{2}^{Z}=0.2000$. From $\left(ii\right)$ of Theorem 4, the infection equilibrium with only humoral immunity ${E}_{2}(507.5951,10.0014,99.9785,3.9525,0)$ is globally asymptotically stable (see Figure 3).

For the case in which ${\beta}_{2}=5.4\times {10}^{-4}$, $g={10}^{-3}$, and $c=0.02$, we obtained ${R}_{0}=2.2923$, ${R}_{1}^{Z}=3.8301$, and ${R}_{3}^{W}=0.8292$. By $\left(iii\right)$ of Theorem 4, the infection equilibrium with only cellular immunity ${E}_{3}(537.3806,5.0015,83.1539,0,211.6047)$ is globally asymptotically stable (see Figure 4).

For the case in which ${\beta}_{2}=5.4\times {10}^{-4}$, $g={10}^{-2}$, and $c=0.02$, we obtained ${R}_{0}=2.2923$, ${R}_{2}^{Z}=1.8783$, and ${R}_{3}^{W}=8.2918$. Using $\left(iv\right)$ of Theorem 4, we deduce that the infection equilibrium with both arms of immunity ${E}_{4}(594.0271,4.9769,10.0246,43.3843,53.3821)$ is globally asymptotically stable (see Figure 5).

## 5. Conclusions

In this paper, we have modeled the role of the adaptive immunity in HIV infection by proposing a new mathematical model that takes into account the classical virus-to-cell infection, the direct cell-to-cell transmission, and the two kinds of delays during infection processes and virus production. By a rigorous mathematical analysis, we have proved that the global dynamics of the proposed model is fully determined by five threshold parameters, which are the basic reproduction number ${R}_{0}$, and the reproduction numbers for humoral immunity ${R}_{1}^{W}$, for cellular immunity ${R}_{1}^{Z}$, for cellular immunity in competition ${R}_{2}^{Z}$, and for humoral immunity in competition ${R}_{3}^{W}$. More precisely, the infection-free equilibrium is globally asymptotically stable if ${R}_{0}\le 1$, which biologically means that the HIV is cleared and the infection dies out. When ${R}_{0}>1$, our model has four infection equilibria, which are the following: $\left(i\right)$ the infection equilibrium without immunity is globally asymptotically stable if ${R}_{1}^{W}\le 1$ and ${R}_{1}^{Z}\le 1$; $\left(ii\right)$ the infection equilibrium with only humoral immunity is globally asymptotically stable if ${R}_{1}^{W}>1$ and ${R}_{2}^{Z}\le 1$; $\left(iii\right)$ the infection equilibrium with only cellular immunity is globally asymptotically stable if ${R}_{1}^{Z}>1$ and ${R}_{3}^{W}\le 1$; $\left(iv\right)$ the infection equilibrium with both cellular and humoral immune responses is globally asymptotically stable if ${R}_{2}^{Z}>1$ and ${R}_{3}^{W}>1$. Biologically, this implies that the HIV persists and the infection becomes chronic when the basic reproduction number is greater than 1. Additionally, the activation of one or both arms of immunity is unable to eliminate the virus in the human body.

From Remark 2, we can deduce that the over-domination of cellular immunity leads to the absence of the humoral immunity, and the over-domination of the humoral immunity leads to the persistence of HIV infection with a weak response of both arms of immunity. This biological result may be an explanation for the dysfunction of the adaptive immunity in HIV-infected patients. Our model can be adapted for HBV infection, and the above result can also explain the dysfunction of the adaptive immune response in patients infected with HBV, which is still largely incomplete [33].

## Author Contributions

Both authors contributed equally to the writing of this paper. They both read and approved the final version of the manuscript.

## Acknowledgments

We would like to thank the editor and anonymous referees for their very helpful comments and suggestions that greatly improved the quality of this study.

## Conflicts of Interest

The authors declare no conflict of interest.

## References

- WHO. HIV/AIDS, Fact Sheet, July 2017. Available online: http://www.who.int/mediacentre/factsheets/fs360/en/ (accessed on 8 May 2018).
- Royaume du Maroc, Mise en oeuvre de la déclaration politique sur le VIH/sida, Rapport National 2015. Available online: http://www.unaids.org/sites/default/files/country/documents/MARnarrativereport2015.pdf (accessed on 8 May 2018).
- Perelson, A.S.; Neumann, A.U.; Markowitz, M.; Leonard, J.M.; Ho, D.D. HIV-1 dynamics in vivo: Virion clearance rate, infected cell life-span, and viral generation time. Science
**1996**, 271, 1582–1586. [Google Scholar] [CrossRef] [PubMed] - Lai, X.; Zou, X. Modeling HIV-1 virus dynamics with both virus-to-cell infection and cell-to-cell transmission. SIAM J. Appl. Math.
**2014**, 74, 898–917. [Google Scholar] [CrossRef] - Wang, J.; Guo, M.; Liu, X.; Zhao, Z. Threshold dynamics of HIV-1 virus model with cell-to-cell transmission, cell-mediated immune responses and distributed delay. Appl. Math. Comput.
**2016**, 291, 149–161. [Google Scholar] [CrossRef] - Elaiw, A.M.; Raezah, A.A.; Alofi, A.S. Effect of humoral immunity on HIV-1 dynamics with virus-to-target and infected-to-target infections. AIP Adv.
**2016**, 6, 085204. [Google Scholar] [CrossRef] - Lin, J.; Xu, R.; Tian, X. Threshold dynamics of an HIV-1 virus model with both virus-to-cell and cell-to-cell transmissions, intracellular delay, and humoral immunity. Appl. Math. Comput.
**2017**, 315, 516–530. [Google Scholar] [CrossRef] - Wang, S.F.; Zou, D.Y. Global stability of in-host viral models with humoral immunity and intracellular delays. Appl. Math. Model.
**2012**, 36, 1313–1322. [Google Scholar] [CrossRef] - Murase, A.; Sasaki, T.; Kajiwara, T. Stability analysis of pathogen-immune interaction dynamics. J. Math. Biol.
**2005**, 51, 247–267. [Google Scholar] [CrossRef] [PubMed] - Hale, J.K.; Kato, J. Phase space for retarded equations with infinite delay. Funkcialaj Ekvacioj
**1978**, 21, 11–41. [Google Scholar] - Hino, Y.; Murakami, S.; Naito, T. Functional Differential Equations with Infinite Delay; Lecture Notes in Mathematics; Springer: Berlin, Germany, 1991; Volume 1473. [Google Scholar]
- Kuang, Y. Delay Differential Equations with Applications in Population Dynamics; Academic Press: San Diego, CA, USA, 1993. [Google Scholar]
- Hattaf, K.; Yousfi, N. A generalized virus dynamics model with cell-to-cell transmission and cure rate. Adv. Differ. Equ.
**2016**, 2016, 174. [Google Scholar] [CrossRef] - Hale, J.K.; Lunel, S.M.V. Introduction to Functional Differential Equations; Springer: New York, NY, USA, 1993. [Google Scholar]
- Wodarz, D. Hepatitis C virus dynamics and pathology: The role of CTL and antibody responses. J. Gen. Virol.
**2003**, 84, 1743–1750. [Google Scholar] [CrossRef] [PubMed] - Yousfi, N.; Hattaf, K.; Rachik, M. Analysis of a HCV model with CTL and antibody responses. Appl. Math. Sci.
**2009**, 3, 2835–2845. [Google Scholar] - Yan, Y.; Wang, W. Global stability of a five-dimensionalmodel with immune responses and delay. Discret. Contin. Dyn. Syst. Ser. B
**2012**, 1, 401–416. [Google Scholar] - Hattaf, K.; Yousfi, N. Global properties of a discrete viral infection model with general incidence rate. Math. Methods Appl. Sci.
**2016**, 39, 998–1004. [Google Scholar] [CrossRef] - Hattaf, K.; Yousfi, N. A numerical method for a delayed viral infection model with general incidence rate. J. King Saud Univ. Sci.
**2016**, 28, 368–374. [Google Scholar] [CrossRef] - Hattaf, K.; Yousfi, N. A numerical method for delayed partial differential equations describing infectious diseases. Comput. Math. Appl.
**2016**, 72, 2741–2750. [Google Scholar] [CrossRef] - Maziane, M.; Lotfi, E.M.; Hattaf, K.; Yousfi, N. Dynamics of a class of HIV infection models with cure of infected cells in eclipse stage. Acta Biotheor.
**2015**, 63, 363–380. [Google Scholar] [CrossRef] [PubMed] - Bourgeois, C.; Hao, Z.; Rajewsky, K.; Potocnik, A.; Stockinger, B. Ablation of thymic export causes accelerated decay of naive CD4 T cells in the periphery because of activation by environmental antigen. Proc. Natl. Acad. Sci. USA
**2008**, 105, 8691–8696. [Google Scholar] [CrossRef] [PubMed] - Stafford, M.; Corey, L.; Cao, Y.; Daar, E.; Ho, D.; Perelson, A. Modeling plasma virus concentration during primary HIV infection. J. Theor. Biol.
**2000**, 203, 285–301. [Google Scholar] [CrossRef] [PubMed] - Wei, X.; Ghosh, S.K.; Taylor, M.E.; Johnson, V.A.; Emini, E.A.; Deutsch, P.; Lifson, J.D.; Bonhoeffer, S.; Nowak, M.A.; Hahn, B.H.; et al. Viral dynamics in human immunodeficiency virus type 1 infection. Nature
**1995**, 373, 117–122. [Google Scholar] [CrossRef] [PubMed] - Ho, D.D.; Neumann, A.U.; Perelson, A.S.; Chen, W.; Leonard, J.M.; Markowitz, M. Rapid turnover of plasma virions and CD4 lymphocytes in HIV-1 infection. Nature
**1995**, 373, 123–126. [Google Scholar] [CrossRef] [PubMed] - Miao, H.; Teng, Z.; Li, Z. Global Stability of Delayed Viral Infection Models with Nonlinear Antibody and CTL Immune Responses and General Incidence Rate. Comput. Math. Methods Med.
**2016**, 2016, 3903726. [Google Scholar] [CrossRef] [PubMed] - Arnaout, R.; Ramy, A.; Wodarz, D. HIV-1 dynamics revisited: biphasic decay by cytotoxic T lymphocyte killing? Proc. R. Soc. Lond. B Biol. Sci.
**2000**, 267, 1347–1354. [Google Scholar] [CrossRef] [PubMed] - Culshaw, R.V.; Ruan, S.; Spiteri, R.J. Optimal HIV treatment by maximising immune response. J. Math. Biol.
**2004**, 48, 545–562. [Google Scholar] [CrossRef] [PubMed] - Nowak, M.A.; Bangham, C. Population dynamics of immune response to persistent viruses. Science
**1996**, 272, 74–79. [Google Scholar] [CrossRef] [PubMed] - Wang, Y.; Zhou, Y.; Brauer, F.; Heffernan, J. Viral dynamics model with CTL immune response incorporating antiretroviral therapy. J. Math. Biol.
**2013**, 67, 901–934. [Google Scholar] [CrossRef] [PubMed] - Wang, Y.; Zhou, Y.; Wu, J.; Heffernan, J. Oscillatory viral dynamics in a delayed HIV pathogenesis model. Math. Biosci.
**2009**, 219, 104–112. [Google Scholar] [CrossRef] [PubMed] - Zhu, H.; Zou, X. Impact of delays in cell infection and virus production on HIV-1 dynamics. Math. Med. Biol.
**2008**, 25, 99–112. [Google Scholar] [CrossRef] [PubMed] - Boni, C.; Fisicaro, P.; Valdatta, C.; Amadei, B.; di Vincenzo, P.; Giuberti, T.; Laccabue, D.; Zerbini, A.; Cavalli, A.; Missale, G.; et al. Characterization of HBV-specific T cell dysfunction in chronic HBV infection. J. Virol.
**2007**, 8, 4215–4225. [Google Scholar] [CrossRef] [PubMed]

**Figure 1.**Demonstration of the global stability of the infection-free equilibrium ${E}_{0}$ for ${R}_{0}=0.9751\le 1$.

**Figure 2.**Demonstration of the global stability of the infection equilibrium without immunity ${E}_{1}$ for ${R}_{0}=1.3392>1$, ${R}_{1}^{W}=0.0143\le 1$, and ${R}_{1}^{Z}=0.1721\le 1$.

**Figure 3.**Demonstration of the global stability of the infection equilibrium with only humoral immunity ${E}_{2}$ for ${R}_{0}=1.8036>1$, ${R}_{1}^{W}=2.5099>1$, and ${R}_{2}^{Z}=0.2000\le 1$.

**Figure 4.**Demonstration of the global stability of the infection equilibrium with only cellular immunity ${E}_{3}$ for ${R}_{0}=2.2923>1$, ${R}_{1}^{Z}=3.8301>1$, and ${R}_{3}^{W}=0.8292\le 1$.

**Figure 5.**Demonstration of the global stability of the infection equilibrium with both arms of immunity ${E}_{4}$ for ${R}_{0}=2.2923>1$, ${R}_{2}^{Z}=1.8783>1$, and ${R}_{3}^{W}=8.2918>1$.

Parameter | Unit | Value | Range | Source |
---|---|---|---|---|

$\lambda $ | cells $\mathsf{\mu}{\mathrm{L}}^{-1}$ day${}^{-1}$ | 10 | $5.9770$–$24.1860$ | [21] |

d | day${}^{-1}$ | $0.0139$ | — | [22] |

${\beta}_{1}$ | $\mathsf{\mu}\mathrm{L}$ virion${}^{-1}$ day${}^{-1}$ | $2.4\times {10}^{-5}$ | $2.4\times {10}^{-5}$–$4.8\times {10}^{-3}$ | [3,23] |

a | day${}^{-1}$ | $0.29$ | $0.2666$–$0.7073$ | [3,24,25] |

${\alpha}_{1}$ | day${}^{-1}$ | $0.01$ | — | [26] |

$\mu $ | day${}^{-1}$ | 3 | $2.06$–$3.81$ | [3] |

k | virion cell${}^{-1}$ day${}^{-1}$ | 50 | 27–7073 | [21] |

${\alpha}_{2}$ | day${}^{-1}$ | $0.01$ | — | [26] |

p | cell${}^{-1}$ $\mathsf{\mu}\mathrm{L}$ day${}^{-1}$ | $0.001$ | $0.001$–1 | [27,28,29,30] |

q | molecule${}^{-1}$ $\mathsf{\mu}\mathrm{L}$ day${}^{-1}$ | $0.5$ | — | Assumed |

h | day${}^{-1}$ | $0.5$ | — | Assumed |

b | day${}^{-1}$ | $0.1$ | $0.05$–$0.15$ | [28,29] |

${\tau}_{1}$ | days | $1.5$ | 0-2 | [31] |

${\tau}_{2}$ | days | $0.5$ | — | [32] |

© 2018 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).