Skip to main content

Theory and Modern Applications

Maximum principle for delayed stochastic mean-field control problem with state constraint

Abstract

In this paper, we consider the optimal control problem for the mean-field stochastic differential equations with delay and state constraint. By virtue of the classical Ekeland’s variational principle, the duality method and a new type of mean-field anticipated backward stochastic differential equation, we obtain the maximum principle of the optimal control for this problem. Our result can be applied to a harvest model from a mean-field system with delay.

1 Introduction

Mean-field stochastic differential equations (MFSDEs), also called McKean–Vlasov equations, were discussed by Kac [1]. And this study was initiated by McKean [2]. Here, we write a class of commonly used McKean–Vlasov equations as follows:

$$ \textstyle\begin{cases} dX=b(t,\cdot ,X_{t},P_{X_{t}})\,dt+\sigma (t,\cdot ,X_{t},P_{X_{t}})\,dB(t),\quad t\in [0,T], \\ X_{0}=x_{0}, \end{cases} $$
(1)

where \(\{B(t)\}_{t\geq 0}\) is an 1-dimensional standard Brownian motion, defined on a complete probability space \((\varOmega ,\mathcal{F}, \mathbb{P})\), denoting \(\mathbb{P}_{X}=\mathbb{P}\circ X^{-1}\) as the law of the random variables X. And the coefficients \((b,\sigma ):[0,T] \times \varOmega \times \mathbb{R}^{d}\times \mathcal{P}_{2}(\mathbb{R} ^{d})\mapsto \mathbb{R}\) are measurable functions. Here, \(\mathcal{P} _{2}(\mathbb{R}^{d})\) is the space of all probability measures on \(\mathbb{R}^{d}\), equipped with 2-Wassertein metric. For more details refer to [3].

Equation (1) has been adapted by many researchers, Buckdanhn, Li and Ma [4] studied the general stochastic control problem of Eq. (1). For other, related work, we refer to [5, 6]. Buckdahn, Li and Peng [7, 8] proposed a new kind of backward stochastic differential equations, called mean-field backward stochastic differential equations (MFBSDEs), coupled with MFSDEs. Carmona [9] studied the forward–backward mean-field stochastic differential equations (MFFBSDEs). The pioneering work of mean-field games was done by Lion and Lasry [3, 10]. They apply Eq. (1) to study the mean-field potential games in the large players and symmetric equilibrium. More about the mean-field games is in [3, 11].

In fact, Eq. (1) is too general to be used in the real world. Therefore, many researchers gave many different mean-field definitions. As pointed out by Buckdahn, Li and Ma [4], the main difference of these definitions is in the position of the expectation taken in the current literature. And they classified this conclusion in the following two types:

$$ \varphi \bigl(t,\omega ,X(t),P_{X(t)}\bigr)= \textstyle\begin{cases} E[\tilde{\varphi }(t,\omega ,x,X(t))],\quad \mbox{(i)}\\ \tilde{\varphi }(t, \omega ,x,E[X(t)]),\quad \mbox{(ii)} \end{cases} $$
(2)

where φ is the coefficients function in Eq. (1), i.e. \(\varphi = b,\sigma \). φ̃ is a different function corresponding to b and σ. Li [12] studied the type (i) mean-field control problem. For type (ii) MFSDEs, Buckdahn, Djehiche and Li [7] proved the general stochastic maximum principle. Yong [13] solved a linear–quadratic (LQ) optimal problem for type (ii) MFSDEs by using a decoupling technique. Li et al. [14, 15] further studied the closed-loop optimal LQ control problem and the LQ problem in infinite horizon. Andersson and Djehiche [16] generalized this kind of mean-field definition and we give details for Eq. (3):

$$ \varphi (t,\omega ,x,P_{X(t)})=\tilde{\varphi } \bigl(t,\omega ,x,E\psi \bigl(X(t)\bigr)\bigr), $$
(3)

where ψ is some general nonlinear function. If we let \(\psi (x)=x\), then (3) degenerates to (ii). They obtained Pontryagin’s maximum principle for the optimal control problem. Hu and Øksandal [17] investigated this type singular optimal control, and they apply these results to prove the Nash equilibrium and zero-sum equilibrium. This kind of models can be used to describe the large population interacting system.

The study of the optimal control problem with delay also captured lots of attention. Many results were obtained, such as by Øksendal, Suem [18], Chen and Wu [19, 20]. The main reason is that real world systems not just depend on their current state, but also their previous history. Optimal control problems of the delayed systems are very difficult because of the infinite-dimensional state space structure. Therefore current research is divided into two kinds of methods to develop the stochastic maximum principle for delayed systems. One involves adjoint equation; it is given by the anticipated BSDE which was introduced by Peng and Yang [21]; see Chen and Wu [19, 20], Yu [22] and Zhang [23]. Another method is to derive a system of three-coupled adjoint equations, which consists of two BSDEs and one backwards ordinary stochastic equation; see Øksendal and Sulem [18].

Many studies of the real problems show that there are state constraints in stochastic optimal control problems. And then we need Ekeland’s variational principle to deal with the problem with state constraint; see [24, 25] and [23]. To the best of the authors’ knowledge, there are few results about the delayed stochastic optimal control problem. Reference [23] discussed this kind of problems, but only for the linear–quadratic (LQ) case. The aim of this article is to study the stochastic optimal control problem of mean-field system with delay and state constraints. We try to solve such problems in the light of finding the optimal controls. Both the delays and the state constraints will bring about trouble. Under some suitable conditions, we first prove the uniqueness and existence of solutions for the mean-field SDDE and mean-field anticipated BSDE. To develop our maximum principles, we follow the aforementioned first method to construct the adjoint equation. We adopt the non-convex control domain rather than the convex control domain. By Ekeland’s variational principle, we derive a necessary condition of the optimal control. The maximum principle differs from the classical one for the adjoint equation will be a new kind of mean-field anticipated BSDEs.

The rest of this paper is structured as follows: In Sect. 2,we give the preliminary results as regards mean-field SDDEs and mean-field anticipated BSDEs. The stochastic optimal control problem is formulated in Sect. 3. We derive the stochastic maximum principle for a stochastic control system in Sect. 4. We apply our result to real world model in Sect. 5 to finalize this paper.

2 Preliminary results

Let \((\varOmega ,\mathcal{F},\mathbb{F},P)\) be a complete filtered probability space. \(\{B(t)\}_{t\geq 0}\) is a standard 1-dimensional Brownian motion. \(\mathbb{F}=\{\mathcal{F}_{t}\}_{t\geq 0}\) is the natural filtration augmented by all P-null elements of \(\mathcal{F}\). \(T > 0\) and \(\delta \geq 0\) are given constants. For simplicity of notation, we only consider the 1-dimensional case in this paper and all results can be extended to multidimensional cases without difficulty. The norm in \(\mathbb{R}\) is denoted by \(\vert \cdot \vert \). We will also use the following notation for some positive integer n:

  • \(L^{n}(\mathcal{F}_{T},\mathbb{R}):= \{\xi :\xi \text{ is } \mathbb{R}\text{-valued }\mathcal{F}_{T}\text{-measurable random variable s.t. } \mathbb{E}\vert \xi \vert ^{n}<+\infty \}\);

  • \(L^{n}_{\mathbb{F}}(s,r;\mathbb{R}):= \{\psi (t):\{\psi (t),s \leq t\leq r\}\text{ is }\mathbb{R}\text{-valued adapted stochastic process s.t. } \mathbb{E}\int ^{r}_{s}\vert \psi (t) \vert ^{n}\,dt<+\infty \}\);

  • \(\mathcal{S}^{n}_{\mathbb{F}}(s,r;\mathbb{R}):= \{\psi (t): \{\psi (t),s\leq t\leq r\}\text{ is }\mathbb{R}\text{-valued adapted stochastic process s.t. } [4]\text{with right-continuous path and left limit s.t. } \mathbb{E}[ \sup_{s\leq t\leq r}\vert \psi (t)\vert ^{n}]<+\infty \}\).

2.1 Mean-field stochastic differential equation with delay

In this subsection, we will show some preliminary results on mean-field stochastic differential equations with delay (MFSDDEs) and mean-field anticipated backward stochastic differential equations (MABSDEs). These theoretical results include the existence and uniqueness of the solutions, some estimations of the solutions and the duality relationship between the MFSDDEs and MFABSDEs.

Firstly, we consider the following MFSDDE:

$$ \textstyle\begin{cases} dx(t)= b (t,x(t),x(t-\delta ),\mathbb{E}\psi (x(t)),\mathbb{E} \psi (x(t-\delta )) )\,dt\\ \hphantom{dx(t)=}{}+\sigma (t,x(t),x(t-\delta ), \mathbb{E}\varphi (x(t)),\mathbb{E}\varphi (x(t-\delta )) )\,dB(t), \quad t\in [0,T],\\ x(t)=x_{0}(t), \quad t\in [-\delta ,0], \end{cases} $$
(4)

where

$$ \begin{aligned} &b : [0,T]\times \mathbb{R}\times \mathbb{R} \times \mathbb{R}\times \mathbb{R} \rightarrow \mathbb{R}, \\ &\sigma :[0,T]\times \mathbb{R}\times \mathbb{R} \times \mathbb{R} \times \mathbb{R} \rightarrow \mathbb{R}, \\ &\psi : \mathbb{R} \rightarrow \mathbb{R}, \qquad \varphi :\mathbb{R} \rightarrow \mathbb{R}. \end{aligned} $$

When there are no delays, the above MFSDDE will degenerate to the MFSDE in [16]. Let us introduce Assumption (H1), where x denotes the state variables, μ the expected value:

(H1.1):

\(x,x_{\delta },\mu _{1},\mu _{1\delta },\mu _{2}, \mu _{2 \delta },\bar{x},\bar{x}_{\delta },\bar{\mu }_{1},\bar{\mu } _{1\delta },\bar{\mu }_{2},\bar{\mu }_{2\delta }\in \mathbb{R}\), there exists a constant C, s.t.

$$ \begin{aligned} & \bigl\vert b(t,x,x_{\delta },\mu _{1},\mu _{1\delta })-b(t,\bar{x},\bar{x} _{\delta }, \bar{\mu }_{1},\bar{\mu }_{1\delta }) \bigr\vert + \bigl\vert \sigma (t,x,x _{\delta },\mu _{2},\mu _{2\delta })-\sigma (t,\bar{x},\bar{x}_{\delta },\bar{\mu }_{2},\bar{\mu }_{2\delta }) \bigr\vert \\ &\quad \leq C\bigl( \vert x-\bar{x} \vert + \vert x_{\delta }- \bar{x}_{\delta } \vert + \vert \mu _{1}-\bar{\mu }_{1} \vert + \vert \mu _{1\delta }-\bar{ \mu }_{1\delta } \vert + \vert \mu _{2}-\bar{\mu }_{2} \vert + \vert \mu _{2\delta }-\bar{\mu }_{2\delta } \vert \bigr); \end{aligned} $$
(H1.2):

for any \(x,x_{\delta },\mu _{1},\mu _{1\delta },\mu _{2}, \mu _{2\delta }\in \mathbb{R}\), the mappings \(b(\cdot ,x,x_{\delta }, \mu _{1},\mu _{1\delta })\) and \(\sigma (\cdot ,x,x_{\delta },\mu _{2}, \mu _{2\delta })\) are \(\mathbb{F}\)-adapted and \(b(\cdot ,0,0,0,0), \sigma (\cdot ,0,0,0,0) \in L^{2}_{\mathbb{F}}(0,T;\mathbb{R})\);

(H1.3):

ψ and φ are continuously differentiable and their derivatives are bounded.

Theorem 2.1

Suppose that Assumption (H1) holds, and \(x_{0}(\cdot )\in L^{2}_{ \mathbb{F}}(-\delta ,0;\mathbb{R})\). Then MFSDDE (4) has a unique t-continuous solution \(x(t)\) and \(E\sup_{0\leq t \leq T} \vert x(t)\vert ^{2} < +\infty \).

Proof

Let us introduce a norm in Banach space \(L_{\mathbb{F}}^{2}(-\delta ,T; \mathbb{R})\)

$$ \bigl\Vert x(\cdot ) \bigr\Vert _{\beta }= \biggl(\mathbb{E} \biggl[ \int ^{T}_{-\delta }e ^{-\beta s} \bigl\vert x(s) \bigr\vert ^{2}\,ds \biggr] \biggr)^{\frac{1}{2}}, \quad \beta >0. $$

Clearly it is equivalent to the original norm of \(L_{\mathbb{F}}^{2}(- \delta ,T;\mathbb{R})\). We define a mapping \(h:L_{\mathbb{F}}^{2}(- \delta ,T;\mathbb{R})\rightarrow L_{\mathbb{F}}^{2}(-\delta ,T; \mathbb{R})\) by the following equation s.t. \(h[X(\cdot )]=x(\cdot )\):

$$ \textstyle\begin{cases} x(t)= x_{0}(t)+\int ^{t}_{0}b (s,X(s),X(s-\delta ),\mathbb{E} \psi (X(s)),\mathbb{E}\psi (X(s-\delta )) )\,ds\\ \hphantom{x(t)=}{}+\int ^{t}_{0} \sigma (s,X(s),X(s-\delta ),\mathbb{E}\varphi (X(s)),\mathbb{E} \varphi (X(s-\delta )) )\,dB(s), \quad t\in [0,T],\\ x(t)= x_{0}(t), \quad t\in [-\delta ,0]. \end{cases} $$
(5)

We desire to prove that h is a contraction mapping under the norm \(\Vert \cdot \Vert _{\beta }\). For arbitrary \(X(\cdot ),\bar{X}(\cdot )\in L_{\mathbb{F}}^{2}(-\delta ,T;\mathbb{R})\), set \(h[X(\cdot )]=x( \cdot )\), \(h[\bar{X}(\cdot )]=\bar{x}(\cdot )\), and \(\hat{X}(\cdot )=X( \cdot )-\bar{X}(\cdot )\), \(\hat{x}(\cdot )=x(\cdot )-\bar{x}(\cdot )\). Then \(\hat{x}(\cdot )\) satisfies

$$ \textstyle\begin{cases} \hat{x}(t)= \int ^{t}_{0} [b (s,X(s),X(s-\delta ),\mathbb{E} \psi (X(s)),\mathbb{E}\psi (X(s-\delta )) )\\ \hphantom{\hat{x}(t)=}-b (s,\bar{X}(s), \bar{X}(s-\delta ),\mathbb{E}\psi (\bar{X}(s)),\mathbb{E}\psi ( \bar{X}(s-\delta )) ) ]\,ds\\ \hphantom{\hat{x}(t)=}{}+\int ^{t}_{0} [\sigma (s,X(s),X(s- \delta ),\mathbb{E}\varphi (X(s)),\mathbb{E}\varphi (X(s-\delta )) )\\ \hphantom{\hat{x}(t)=}{}-\sigma (s, \bar{X}(s),\bar{X}(s-\delta ),\mathbb{E} \varphi (\bar{X}(s)), \mathbb{E}\varphi (\bar{X}(s-\delta )) ) ]\,dB(s), \quad t\in [0,T], \\ \hat{x}(t)=0, \quad t\in [-\delta ,0]. \end{cases} $$
(6)

Denoting

$$\begin{aligned}& \begin{aligned} A&=b \bigl(s,X(s),X(s-\delta ),\mathbb{E}\psi \bigl(X(s)\bigr),\mathbb{E}\psi \bigl(X(s- \delta )\bigr) \bigr) \\ &\quad -b \bigl(s,\bar{X}(s),\bar{X}(s-\delta ),\mathbb{E} \psi \bigl(\bar{X}(s) \bigr),\mathbb{E}\psi \bigl(\bar{X}(s-\delta )\bigr) \bigr), \end{aligned} \\& \begin{aligned} B&= \sigma \bigl(s,X(s),X(s-\delta ),\mathbb{E}\varphi \bigl(X(s)\bigr),\mathbb{E} \varphi \bigl(X(s-\delta )\bigr) \bigr) \\ &\quad {}-\sigma \bigl(s,\bar{X}(s),\bar{X}(s- \delta ),\mathbb{E}\varphi \bigl( \bar{X}(s)\bigr),\mathbb{E}\varphi \bigl(\bar{X}(s- \delta )\bigr) \bigr), \end{aligned} \end{aligned}$$

applying the Itô formula to \(e^{-\beta t}\vert \hat{x}(t)\vert ^{2}\) on [0,T], we have

$$ \beta \mathbb{E} \int ^{T}_{0} \bigl\vert \hat{x}(t) \bigr\vert ^{2}e^{-\beta t}\,dt \leq 2\mathbb{E} \int ^{T}_{0}e^{-\beta t} \bigl\vert \hat{x}(t)A \bigr\vert \,dt+ \mathbb{E} \int ^{T}_{0}e^{-\beta t} \vert B \vert ^{2}\,dt. $$

By (H1.1) and the Cauchy–Schwarz inequality we obtain

$$ \begin{aligned} &(\beta -1)\mathbb{E} \int ^{T}_{0}e^{-\beta t} \bigl\vert \hat{x}(t) \bigr\vert ^{2}\,dt \\ &\quad \leq 32C^{2}\mathbb{E} \int ^{T}_{0}e^{-\beta t} \bigl\vert \hat{X}(t) \bigr\vert ^{2}\,dt +32C^{2}\mathbb{E} \int ^{T}_{0}e^{-\beta t} \bigl\vert \hat{X}(t- \delta ) \bigr\vert ^{2}\,dt \\ &\qquad{}+16C^{2}\mathbb{E} \int ^{T}_{0}e ^{-\beta t} \bigl\vert \mathbb{E}\psi \bigl(X(t)\bigr)-\mathbb{E}\psi \bigl(\bar{X}(t)\bigr) \bigr\vert ^{2}\,dt \\ &\qquad{}+16C ^{2}\mathbb{E} \int ^{T}_{0}e^{-\beta t} \bigl\vert \mathbb{E}\psi \bigl(X(t- \delta )\bigr)-\mathbb{E}\psi \bigl(\bar{X}(t-\delta ) \bigr) \bigr\vert ^{2}\,dt \\ &\qquad{}+16C^{2} \mathbb{E} \int ^{T}_{0}e^{-\beta t} \bigl\vert \mathbb{E} \varphi \bigl(X(t)\bigr)-E \varphi \bigl(\bar{X}(t)\bigr) \bigr\vert ^{2}\,dt \\ &\qquad{}+16C^{2}\mathbb{E} \int ^{T}_{0}e ^{-\beta t} \bigl\vert \mathbb{E}\varphi \bigl(X(t-\delta )\bigr)-E \varphi \bigl(\bar{X}(t- \delta ) \bigr) \bigr\vert ^{2}\,dt \\ &\quad =\triangle _{1}+\triangle _{2}+\triangle _{3}. \end{aligned} $$

Here \(\triangle _{1}\leq 64C^{2}\mathbb{E}\int ^{T}_{-\delta }e^{- \beta t}\vert \hat{X}_{t}\vert ^{2}\,dt\), and by (H1.3) and the mean value theorem we also have

$$ \begin{aligned} \triangle _{2}&\leq 16C^{2} \mathbb{E} \int ^{T}_{0}e^{-\beta t} \mathbb{E} \bigl\vert \psi _{x}\bigl(X^{\eta }(t)\bigr)\hat{X}(t) \bigr\vert ^{2}\,dt \\ &\quad{}+16C ^{2}\mathbb{E} \int ^{T}_{0}e^{-\beta t}\mathbb{E} \bigl\vert \psi _{x\delta }\bigl(X ^{\eta }(t-\delta )\bigr)\hat{X}(t- \delta ) \bigr\vert ^{2}\,dt \\ &\leq 16C^{2} \mathbb{E} \int ^{T}_{0}e^{-\beta t} \bigl\vert \hat{X}(t) \bigr\vert ^{2}\,dt+16C^{2} \mathbb{E} \int ^{T}_{0}e^{-\beta t} \bigl\vert \hat{X}(t-\delta ) \bigr\vert ^{2}\,dt \\ &\leq 32C^{2}\mathbb{E} \int ^{T}_{-\delta }e^{-\beta t} \bigl\vert \hat{X}(t) \bigr\vert ^{2}\,dt, \end{aligned} $$

where \(X^{\eta }(t)\) is the value among \(X(t)\) and \(\bar{X}(t)\) and the constant C changes line by line. Similarly, \(\triangle _{3}\leq 32C ^{2}\mathbb{E}\int ^{T}_{-\delta }e^{-\beta t}\vert \hat{X}(t)\vert ^{2}\,dt\).

We select \(\beta =256C^{2}+1\); then

$$ \mathbb{E} \int ^{T}_{-\delta }e^{-\beta t} \vert \hat{x}_{t} \vert ^{2}\,dt \leq \frac{1}{2} \mathbb{E} \int ^{T}_{-\delta }e^{-\beta t} \vert \hat{X}_{t} \vert ^{2}\,dt, $$

or

$$ \bigl\Vert \hat{x}(\cdot ) \bigr\Vert _{\beta }\leq \frac{1}{\sqrt{2}} \bigl\Vert \hat{X}(\cdot ) \bigr\Vert _{\beta }, $$

which shows that h is a strict contraction mapping. Then it follows from the fixed point theorem that the MFSDDE (4) has a unique solution in \(L^{2}_{\mathbb{F}}(-\delta ,T;\mathbb{R})\). Since b and σ satisfy (H1), we can easily derive that \(\mathbb{E} [\sup_{0\leq t\leq T}\vert x(t)\vert ^{2} ]<+\infty \). □

2.2 Mean-field anticipated backward stochastic differential equation

In this subsection, we consider the following MABSDE:

$$ \textstyle\begin{cases} -dy(t)= f (t,y(t),y(t+\delta ),\mathbb{E}\psi (y(t)),\mathbb{E} \psi (y(t+\delta )),z(t),z(t+\delta ),\mathbb{E}\varphi (z(t)),\\ \mathbb{E}\varphi (z(t+\delta )) )\,dt-z(t)\,dB(t), \quad t\in [0,T], \\ y(T)=\xi ,\\ y(t)=\xi _{0}(t), \qquad z(t)=\eta _{0}(t), \quad t\in (T,T+ \delta ], \end{cases} $$
(7)

where the coefficients \((f,\xi ,\xi _{0},\eta _{0})\) satisfy Assumption (H2):

(H2.1):

\(\xi _{0}(\cdot ),\eta _{0}(\cdot )\in L^{2}_{\mathbb{F}}(T,T+ \delta ; \mathbb{R})\) and \(\xi \in L^{2}(\mathcal{F}_{T},\mathbb{R})\);

(H2.2):

for any \(t\in [0,T]\), \(y,z\in \mathbb{R}\), \(y_{\delta },z _{\delta }\in L^{2}(\varOmega ,\mathcal{F}_{t+\delta };\mathbb{R})\), \(f(t,y,y_{\delta },\mathbb{E}\psi (y),\mathbb{E}\psi (y_{\delta }), z, z_{\delta }, \mathbb{E}\varphi (z), \mathbb{E}\varphi (z _{\delta }))\) is \(\mathcal{F}_{t}\)-measurable;

(H2.3):

\(f(\cdot ,0,0,0,0,0,0,0,0)\in L^{2}_{\mathbb{F}}(0,T; \mathbb{R})\);

(H2.4):

for any \(t\in [0,T]\), \(y,\bar{y},\mu _{3},\mu _{3\delta },z, \bar{z},\mu _{4},\mu _{4\delta }\in \mathbb{R}\), \(\mu _{3\delta },\bar{ \mu }_{3\delta },z_{\delta },\bar{z}_{\delta },\bar{\mu }_{4},\bar{ \mu }_{4\delta }\in L^{2}(\varOmega , \mathcal{F}_{t+\delta };\mathbb{R})\), there exists a constant M, s.t.

$$ \begin{aligned} &\bigl\vert f(t,y,y_{\delta },\mu _{3},\mu _{3\delta },z,z_{\delta },\mu _{4}, \mu _{4\delta } \\ &\qquad {}-f(t,\bar{y},\bar{y}_{\delta },\bar{\mu }_{3}, \bar{ \mu }_{3\delta },\bar{z},\bar{z}_{\delta },\bar{\mu }_{4},\bar{\mu } _{4\delta })\bigr\vert \\ &\quad \leq M \bigl\{ \vert y-\bar{y} \vert + \vert z- \bar{z} \vert + \vert \mu _{3}-\bar{\mu }_{3} \vert + \bigl\vert \mathbb{E} \varphi (z)-\mathbb{E}\varphi (\bar{z}) \bigr\vert \\ &\qquad{}+\mathbb{E}^{ \mathcal{F}_{t}} \bigl[ \vert y_{\delta }- \bar{y}_{\delta } \vert + \vert z_{\delta }- \bar{z}_{\delta } \vert + \vert \mu _{3\delta }-\bar{\mu } _{3\delta } \vert + \vert \mu _{4\delta }-\bar{\mu }_{4\delta } \vert \bigr] \bigr\} ; \end{aligned} $$
(H2.5):

ψ and φ are continuously differentiable and their derivatives are bounded.

Theorem 2.2

Suppose that Assumption (H2) holds, then the MABSDE (7) admits a unique solution \((y(\cdot ),z(\cdot ))\in \mathcal{S}^{2}_{ \mathbb{F}}(0,T;\mathbb{R})\times L^{2}_{\mathbb{F}}(0,T;\mathbb{R})\). Moreover, if there exist another set of coefficients \((\bar{f},\bar{ \xi },\bar{\xi }_{0},\bar{\eta }_{0})\) satisfying (H2), and we denote by \((\bar{y}(\cdot ),\bar{z}(\cdot ))\) the unique solution of MABSDE with coefficients \((\bar{f},\bar{\xi },\bar{\xi }_{0},\bar{\eta }_{0})\), then we have the following estimate:

$$ \begin{aligned}[b] &\mathbb{E} \biggl[\sup _{0\leq t\leq T} \bigl\vert y(t)-\bar{y}(t) \bigr\vert ^{2}+ \int ^{T}_{0} \bigl\vert z(t)-\bar{z}(t) \bigr\vert ^{2}\,dt \biggr] \\ &\quad \leq C \mathbb{E} \biggl\{ \vert \xi -\bar{\xi } \vert ^{2}+ \int ^{T+\delta }_{T} \bigl[ \bigl\vert \xi _{0}(t)-\bar{\xi }_{0}(t) \bigr\vert ^{2}+ \bigl\vert \eta _{0}(t)-\bar{ \eta }_{0}(t) \bigr\vert ^{2} \bigr]\,dt \\ &\qquad{}+ \int ^{T}_{0} \bigl\vert f\bigl(t,\bar{y}(t), \bar{y}(t+\delta ),\mathbb{E}\psi \bigl(\bar{y}(t)\bigr),\mathbb{E}\psi \bigl( \bar{y}(t+\delta )\bigr),\\ &\qquad \bar{z}(t),\bar{z}(t+\delta ),\mathbb{E}\varphi \bigl( \bar{z}(t)\bigr),\mathbb{E}\varphi \bigl(\bar{z}(t+\delta )\bigr)\bigr) \\ &\qquad {}-\bar{f}\bigl(t, \bar{y}(t),\bar{y}(t+\delta ),\mathbb{E}\psi \bigl( \bar{y}(t)\bigr),\mathbb{E} \psi \bigl(\bar{y}(t+\delta )\bigr),\\ &\qquad \bar{z}(t), \bar{z}(t+\delta ),\mathbb{E} \varphi \bigl(\bar{z}(t)\bigr),\mathbb{E}\varphi \bigl(\bar{z}(t+\delta )\bigr)\bigr) \bigr\vert ^{2}\,dt \biggr\} , \end{aligned} $$
(8)

where C is a constant depending on the Lipschitz constant M and T.

Proof

On the interval \([T-\delta ,T]\), Eq. (7) becomes

$$ \begin{aligned} y(t)&= \xi + \int ^{T}_{t}f\bigl(s,y(s),\xi _{0}(s+\delta ),\mathbb{E}\psi \bigl(y(s)\bigr), \mathbb{E}\psi \bigl(\xi _{0}(s+\delta )\bigr),z(s),\eta _{0}(s+\delta ), \\ & \quad \mathbb{E}\varphi \bigl(z(s)\bigr),\mathbb{E}\varphi \bigl(\eta _{0}(s+\delta )\bigr)\bigr)\,ds- \int ^{T}_{t}z(s)\,dB(s), \end{aligned} $$

where \(\xi _{0}(\cdot )\), \(\eta _{0}(\cdot )\) are given, i.e. (7) is a mean-field BSDE without anticipation. According to Theorem 3.1 and Lemma 3.1 in [7], (7) admits a unique solution under Assumption (H2) and the estimate (8) also holds for \((y(\cdot ),z(\cdot ))\) on \([T-\delta ,T]\). We can proceed with this argument on \([T-2\delta ,T-\delta ]\), \([T-3\delta ,T-2\delta ]\) step by step. Hence the conclusions in Theorem 2.2 can be proved. □

3 Formulation of the optimal control problem

The purpose of this section is to discuss the optimal control for a mean field with delay system. We consider the system involving delay terms both in the state and the control variables.

Consider the following MFSDDE with control:

$$ \textstyle\begin{cases} dx(t)= b (t,x(t),x(t-\delta ),\mathbb{E}\psi (x(t)),\mathbb{E} \psi (x(t-\delta )),v(t),v(t-\delta ) )\,dt\\ \hphantom{dx(t)=}{}+\sigma (t,x(t),x(t- \delta ),\mathbb{E}\varphi (x(t)),\mathbb{E}\varphi (x(t-\delta )) )\,dB(t), \quad t\in [0,T],\\ x(t)=x_{0}(t),\qquad v(t)=v_{0}(t), \quad t\in [-\delta ,0], \end{cases} $$
(9)

with

$$ \begin{aligned} &b: [0,T]\times \mathbb{R}\times \mathbb{R}\times \mathbb{R}\times \mathbb{R} \times U\times U \rightarrow \mathbb{R}, \\ &\sigma:[0,T]\times \mathbb{R}\times \mathbb{R}\times \mathbb{R} \times \mathbb{R} \rightarrow \mathbb{R}. \end{aligned} $$

The control domain U is a nonempty bounded subset of \(\mathbb{R}\). We denote by \(\mathcal{U}=\{v(\cdot )\in L^{2}_{\mathbb{F}}(-\delta ,T; \mathbb{R})|v(t)\in U, \text{for any } t\in [-\delta ,T]\}\). \(\mathcal{U}\) is called a feasible control set. The cost functional is

$$ \begin{aligned}[b] J\bigl(v(\cdot )\bigr)&= \mathbb{E} \biggl[ \int ^{T}_{0}L \bigl(t,x(t),x(t-\delta ), \mathbb{E}\phi \bigl(x(t)\bigr),\mathbb{E}\phi \bigl(x(t-\delta )\bigr),v(t),v(t- \delta ) \bigr)\,dt \biggr] \\ &\quad {}+\mathbb{E}\varPhi \bigl(x(T),\mathbb{E}\chi \bigl(x(T)\bigr) \bigr), \end{aligned} $$
(10)

Problem 3.1

The optimal control problem is to minimize \(J(v(\cdot ))\) over \(v(\cdot )\in \mathcal{U}\) subject to the following final state constraint:

$$ \mathbb{E}G\bigl(x(T)\bigr)=0. $$
(11)

Assumption (H3) will be in force throughout the rest of this paper:

(H3.1):

\(x_{0}(\cdot )\in L^{2}_{\mathbb{F}}(-\delta ,0; \mathbb{R})\), \(v_{0}\in L^{2}_{\mathbb{F}}(-\delta ,0;\mathbb{R})\), and for any x, \(x_{\delta }\), \(\mu _{1}\), \(\mu _{1\delta }\), \(\mu _{2}\), \(\mu _{2\delta }\), \(\mu _{3},\mu _{3\delta },\mu _{4}, v,v_{\delta }\in \mathbb{R}\), the mappings \(b(\cdot , x,x_{\delta },\mu _{1},\mu _{1 \delta },v,v_{\delta })\), \(\sigma (\cdot ,x,x_{\delta },\mu _{2}, \mu _{2\delta })\) and \(L(\cdot , x,x_{\delta },\mu _{3}, \mu _{3\delta },v,v _{\delta })\) are \(\mathbb{F}\)-adapted. \(\varPhi (x,\mu _{4})\) is \(\mathcal{F}_{T}\)-measurable.

(H3.2):

\(b(\cdot ,0,0,0,0,0,0),\sigma (\cdot ,0,0,0,0)\in L^{2} _{\mathbb{F}}(0,T;\mathbb{R})\), \(L(\cdot ,0,0,0,0,0,0)\in L^{1}_{ \mathbb{F}}(0,T;\mathbb{R})\) and \(\varPhi (0,0)\in L^{1}(\mathcal{F}_{T}; \mathbb{R})\).

(H3.3):

b, σ and Φ are continuously differentiable with respect to their own variables and their derivatives are both continuous and uniformly bound. And there exists some constant C, s.t.

$$\begin{aligned}& \begin{aligned} & \bigl\vert b(t,x,x_{\delta },\mu _{1},\mu _{1\delta },v,v_{\delta }) \bigr\vert ^{2} + \bigl\vert L(t,x,x_{\delta },\mu _{3}, \mu _{3\delta },v,v_{\delta }) \bigr\vert ^{2} \\ &\quad \leq C\bigl(1+ \vert x \vert ^{2}+ \vert x_{\delta } \vert ^{2}+ \vert \mu _{1} \vert ^{2}+ \vert \mu _{1\delta } \vert ^{2}+ \vert \mu _{3} \vert ^{2}+ \vert \mu _{3\delta } \vert ^{2}+ \vert v \vert ^{2}+ \vert v_{\delta } \vert ^{2}\bigr), \end{aligned} \\& \bigl\vert \sigma (t,x,x_{\delta },\mu _{2},\mu _{2\delta }) \bigr\vert ^{2}\leq C\bigl(1+ \vert x \vert ^{2}+ \vert x_{\delta } \vert ^{2}+ \vert \mu _{2} \vert ^{2}+ \vert \mu _{2\delta } \vert ^{2}\bigr), \\& \bigl\vert \varPhi (x,\mu _{4}) \bigr\vert ^{2}\leq C \bigl(1+ \vert x \vert ^{2}+ \vert \mu _{4} \vert ^{2}\bigr). \end{aligned}$$
(H3.4):

ψ, φ, ϕ and χ are continuously differentiable and their derivatives are uniformly bounded. And moreover,

$$ \bigl\vert \psi (x) \bigr\vert ^{2}+ \bigl\vert \varphi (x) \bigr\vert ^{2}+ \bigl\vert \phi (x) \bigr\vert ^{2}+ \bigl\vert \chi (x) \bigr\vert ^{2}\leq C \bigl(1+ \vert x \vert ^{2}\bigr), $$

for some constant C.

(H3.5):

\(G(x)\) is \(\mathcal{F}_{T}\)-measurable for all \(x\in \mathbb{R}\), \(\mathbb{E}|G(0)|\leq +\infty \), and G is continuously differentiable with bounded derivatives.

If \(v(\cdot )\) is a feasible control and Assumption (H2) holds, by Theorem 2.1, Eq. (9) admits a unique solution denoted by \(x^{v}(\cdot )\in \mathcal{S}^{2}_{\mathbb{F}}(0,T;\mathbb{R})\) and it is easy to check that the cost functional is well defined. If \(v(\cdot )\in \mathcal{U}\) also satisfies final state constraint (11), we will call it the admissible control. We denote the set of the admissible controls by \(\mathcal{U}_{\mathrm{ad}}\).

Remark 3.1

We shall postpone obtaining the maximum principle until the following bounded and continuous dependence for the solution of state function (9). These results will play an important role in exploring the maximum principle of Problem 3.1. One should note that our control domain U is bounded, while the case U is unbounded can be treated via the bounded case with a convergence technique as mentioned in Zhang [23].

Lemma 3.2

There exists a constant \(C>0\), such that, for any \(v(\cdot ),u(\cdot )\in \mathcal{U}\), we have

$$\begin{aligned}& \mathbb{E} \Bigl[\sup_{0\leq t\leq T} \bigl\vert x^{v}(t) \bigr\vert ^{2} \Bigr]\leq C, \end{aligned}$$
(12)
$$\begin{aligned}& \begin{aligned}[b] &\mathbb{E} \Bigl[\sup_{0\leq t\leq T} \bigl\vert x^{v}(t)-x^{u}(t) \bigr\vert ^{2} \Bigr] \\ &\quad \leq C\mathbb{E} \int ^{T}_{0} \bigl\vert b\bigl(\varGamma ^{u}(t),v(t),v(t- \delta )\bigr)- b\bigl(\varGamma ^{u}(t),u(t),u(t- \delta )\bigr) \bigr\vert ^{2}\,dt, \end{aligned} \end{aligned}$$
(13)

where we have used the abbreviated notations for \(w=v,u\),

$$ \begin{aligned} & \bigl(\varGamma ^{w}(t) \bigr)= \bigl(t,x^{w}(t),x^{w}(t-\delta ),\mathbb{E} \psi \bigl(x^{w}(t)\bigr),\mathbb{E}\psi \bigl(x^{w}(t- \delta )\bigr) \bigr), \\ & \bigl(\varTheta ^{w}(t) \bigr)= \bigl(t,x^{w}(t),x^{w}(t- \delta ),\mathbb{E}\varphi \bigl(x ^{w}(t)\bigr), \mathbb{E}\varphi \bigl(x^{w}(t-\delta )\bigr) \bigr). \end{aligned} $$
(14)

Proof

Firstly, applying basic inequality and B-D-G inequality to Eq. (9), we deduce that

$$ \mathbb{E} \Bigl[\sup_{0\leq t\leq T} \bigl\vert x^{v}(t) \bigr\vert ^{2} \Bigr] \leq C \bigl\vert x_{0}(0) \bigr\vert ^{2}+C\mathbb{E} \int ^{T}_{0} \bigl[ \bigl\vert b\bigl( \varGamma ^{v}(t),v(t),v(t-\delta )\bigr) \bigr\vert ^{2}+ \bigl\vert \sigma \bigl(\varTheta ^{v}(t)\bigr) \bigr\vert ^{2} \bigr]\,dt. $$

Since b, σ satisfy Assumption (H3.3) and ψ, φ satisfy Assumption (H3.4), we have

$$ \begin{aligned} &\mathbb{E} \Bigl[\sup_{0\leq t\leq T} \bigl\vert x^{v}(t) \bigr\vert ^{2} \Bigr] \\ &\quad \leq C \bigl\vert x_{0}(0) \bigr\vert ^{2}+C \mathbb{E} \biggl\{ \int ^{T}_{0} \bigl[1+ \bigl\vert x^{v}(t) \bigr\vert ^{2}+ \bigl\vert x^{v}(t-\delta ) \bigr\vert ^{2} + \bigl\vert \mathbb{E}\psi \bigl(x^{v}(t)\bigr) \bigr\vert ^{2}+ \bigl\vert \mathbb{E}\psi \bigl(x^{v}(t- \delta )\bigr) \bigr\vert ^{2} \\ &\qquad{}+ \bigl\vert \mathbb{E}\varphi \bigl(x^{v}(t)\bigr) \bigr\vert ^{2}+ \bigl\vert \mathbb{E}\varphi \bigl(x^{v}(t-\delta )\bigr) \bigr\vert ^{2} + \bigl\vert v(t) \bigr\vert ^{2}+ \bigl\vert v(t-\delta ) \bigr\vert ^{2} \bigr]\,dt \biggr\} \\ &\quad \leq C \bigl\vert x_{0}(0) \bigr\vert ^{2}+C \mathbb{E} \int ^{T}_{0}\sup_{0\leq s\leq t} \bigl\vert x^{v}(s) \bigr\vert ^{2}\,dt \\ &\qquad{}+C\mathbb{E} \int ^{0}_{-\delta } \bigl\vert x_{0}(t) \bigr\vert ^{2}\,dt+C \mathbb{E} \int ^{T}_{0}\bigl( \bigl\vert v(t) \bigr\vert ^{2}+ \bigl\vert v(t-\delta ) \bigr\vert ^{2} \bigr)\,dt. \end{aligned} $$

The second inequality is obtained by a change of variable. Thus, the required result (12) follows by applying Gronwall’s inequality and the boundedness of the control variables.

Next, let us turn to the continuous dependence result inequality (13). It is easy to obtain

$$ \begin{aligned}[b] &\mathbb{E} \Bigl[\sup _{0\leq t\leq T} \bigl\vert x^{v}(t)-x^{u}(t) \bigr\vert ^{2} \Bigr] \\ &\quad \leq C\mathbb{E} \biggl\{ \int ^{T}_{0} \bigl[ \bigl\vert b\bigl(\varGamma ^{v}(t),v(t),v(t- \delta )\bigr)-b\bigl(\varGamma ^{u}(t),u(t),u(t- \delta )\bigr) \bigr\vert ^{2} \\ &\qquad{}+ \bigl\vert \sigma \bigl(\varTheta ^{v}(t)\bigr)-\sigma \bigl(\varTheta ^{u}(t)\bigr) \bigr\vert ^{2} \bigr]\,dt \biggr\} . \end{aligned} $$
(15)

For the first term of the right side of (15), we can get

$$ \begin{aligned}[b] &\mathbb{E} \int ^{T}_{0} \bigl\vert b\bigl(\varGamma ^{v}(t),v(t),v(t-\delta )\bigr)-b\bigl( \varGamma ^{u}(t),u(t),u(t- \delta )\bigr) \bigr\vert ^{2}\,dt \\ &\quad \leq C\mathbb{E} \int ^{T} _{0} \bigl[ \bigl\vert b\bigl(\varGamma ^{v}(t),v(t),v(t-\delta )\bigr)-b\bigl(\varGamma ^{u}(t),v(t),v(t- \delta )\bigr) \bigr\vert ^{2} \\ &\qquad{}+ \bigl\vert b\bigl(\varGamma ^{u}(t),v(t),v(t-\delta ) \bigr)-b\bigl( \varGamma ^{u}(t),u(t),u(t-\delta )\bigr) \bigr\vert ^{2} \bigr]\,dt \\ &\quad \leq C\mathbb{E} \int ^{T}_{0} \bigl[ \bigl\vert x^{v}(t)-x^{u}(t) \bigr\vert ^{2}\\ &\qquad {}+ \bigl\vert b\bigl(\varGamma ^{u}(t),v(t),v(t- \delta )\bigr)-b\bigl(\varGamma ^{u}(t),u(t),u(t-\delta )\bigr) \bigr\vert ^{2} \bigr] \,dt. \end{aligned} $$
(16)

Because the coefficient σ does not depend on the control variable, it follows that

$$ \mathbb{E} \int ^{T}_{0} \bigl\vert \sigma \bigl(\varTheta ^{v}(t)\bigr)-\sigma \bigl(\varTheta ^{u}(t)\bigr) \bigr\vert ^{2}\,dt\leq C\mathbb{E} \int ^{T}_{0} \bigl\vert x^{v}(t)-x^{u}(t) \bigr\vert ^{2}\,dt. $$

Thus, we can group terms and apply Gronwall’s inequality to deduce that (13) holds. □

4 Maximum principle of the mean-field optimal control problem with delay

4.1 Variation of the trajectory

Now we let \((u(\cdot ),x^{u}(\cdot ))\) be an optimal solution of Problem 3.1. For the simplicity of notation, we denote \(x^{u}( \cdot )\) by \(x(\cdot )\) in the rest of this paper. Given any \(\tau \in [0,T)\) and \(v(\cdot )\in \mathcal{U}\), let us define the following spike variational control:

$$ u^{\epsilon }(t)= \textstyle\begin{cases} v(t),& \tau \leq t \leq \tau +\epsilon , \\ u(t),& \text{otherwise}, \end{cases} $$

where \(0 < \epsilon < \delta \) is sufficiently small and \(\tau + \epsilon \leq T\). It is obvious that \(u^{\epsilon }(t)\in \mathcal{U}\). Let \(x^{\epsilon }(\cdot )\) be the trajectory of system (9) corresponding to \(u^{\epsilon }(\cdot )\). Similarly as above in (14) we will use the short-hand notation \(\varGamma ^{u}(t)\) and \(\varTheta ^{u}(t)\). We introduce the following linear variational equation:

$$ \textstyle\begin{cases} dq(t)= \{b_{x}(\varGamma ^{u}(t),u(t),u(t-\delta ))q(t)+b_{x_{ \delta }}(\varGamma ^{u}(t),u(t),u(t-\delta ))q(t-\delta )\\ \hphantom{dq(t)=}{} +b_{\mu }( \varGamma ^{u}(t),u(t),u(t-\delta ))\mathbb{E} [\psi _{x}(x(t))q(t) ]\\ \hphantom{dq(t)=}{} +b _{\mu _{\delta }}(\varGamma ^{u}(t),u(t),u(t-\delta )) \mathbb{E} [\psi _{x}(x(t-\delta ))q(t-\delta ) ]\\ \hphantom{dq(t)=}{}+b(\varGamma ^{u}(t),u^{\epsilon }(t),u ^{\epsilon }(t-\delta ))-b(\varGamma ^{u}(t),u(t),u(t- \delta )) \}\,dt \\ \hphantom{dq(t)=}{}+ \{\sigma _{x}(\varTheta ^{u}(t))q(t)+ \sigma _{x_{\delta }}(\varTheta ^{u}(t))q(t-\delta )\\ \hphantom{dq(t)=}{}+\sigma _{\mu }( \varTheta ^{u}(t))\mathbb{E} [ \varphi _{x}(x(t))q(t) ] \\ \hphantom{dq(t)=}{}+ \sigma _{\mu _{\delta }}(\varTheta ^{u}(t)) \mathbb{E} [\varphi _{x}(x(t- \delta ))q(t-\delta ) ] \}\,dB(t), \quad t\in [0,T],\\ q(t)= 0, \quad t\in [-\delta ,0]. \end{cases} $$
(17)

It is easy to check that the variational equation is a linear MFSDDE and it admits a unique solution \(q(\cdot )\in \mathcal{S}^{2}(0,T; \mathbb{R})\). We have the following convergence result.

Lemma 4.1

Suppose (H3) holds. Then there exists \(C>0\), which is independent of ϵ such that

$$ \mathbb{E} \Bigl[\sup_{0\leq t\leq T} \bigl\vert q(t) \bigr\vert ^{2} \Bigr]\leq C \epsilon ^{2}. $$
(18)

Proof

By the Cauchy–Schwartz inequality and B-D-G inequality we have

$$\begin{aligned} &\mathbb{E} \Bigl[\sup_{0\leq t\leq T} \bigl\vert q(t) \bigr\vert ^{2} \Bigr] \\ &\quad \leq C \mathbb{E} \biggl\{ \int ^{T}_{0} \bigl(b_{x}\bigl( \varGamma ^{u}(t),u(t),u(t- \delta )\bigr)q(t) \bigr)^{2} \,dt \\ &\qquad{}+ \int ^{T}_{0} \bigl(b_{x_{\delta }}\bigl( \varGamma ^{u}(t),u(t),u(t- \delta )\bigr)q(t-\delta ) \bigr)^{2}\,dt \\ &\qquad{}+ \int ^{T}_{0} \bigl(b_{\mu }\bigl( \varGamma ^{u}(t),u(t),u(t-\delta )\bigr)\mathbb{E}\bigl[\psi _{x}\bigl(x(t)\bigr)q(t)\bigr] \bigr)^{2}\,dt \\ &\qquad{}+ \int ^{T}_{0} \bigl(b_{\mu _{\delta }}\bigl( \varGamma ^{u}(t),u(t),u(t- \delta )\bigr)\mathbb{E}\bigl[\psi _{x}\bigl(x(t-\delta )\bigr)q(t-\delta )\bigr] \bigr)^{2} \,dt \\ &\qquad{}+ \biggl( \int ^{T}_{0}b\bigl(\varGamma ^{u}(t),u^{\epsilon }(t),u^{\epsilon }(t- \delta )\bigr)-b\bigl(\varGamma ^{u}(t),u(t),u(t-\delta )\bigr)\,dt \biggr)^{2} \\ &\qquad{}+ \int ^{T} _{0} \bigl(\sigma _{x} \bigl(\varTheta ^{u}(t)\bigr)q(t) \bigr)^{2}\,dt+ \int ^{T}_{0} \bigl( \sigma _{x_{\delta }} \bigl(\varTheta ^{u}(t)\bigr)q(t-\delta ) \bigr)^{2}\,dt \\ &\qquad{}+ \int ^{T} _{0} \bigl(\sigma _{\mu } \bigl(\varTheta ^{u}(t)\bigr)\mathbb{E}\bigl[\varphi _{x} \bigl(x(t)\bigr)q(t)\bigr] \bigr)^{2}\,dt \\ &\qquad{}+ \int ^{T}_{0} \bigl(\sigma _{\mu _{\delta }} \bigl(\varTheta ^{u}(t)\bigr) \mathbb{E}\bigl[\varphi _{x} \bigl(x(t-\delta )\bigr)q(t-\delta )\bigr] \bigr)^{2}\,dt \biggr\} . \end{aligned}$$

Since all the derivatives are bounded and the following results:

$$\begin{aligned}& \mathbb{E} \int ^{t}_{0}q^{2}(s-\delta )\,ds= \mathbb{E} \int ^{t-\delta } _{-\delta }q^{2}(r)\,dr\leq \mathbb{E} \int ^{t}_{0}q^{2}(r)\,dr, \end{aligned}$$
(19)
$$\begin{aligned}& \begin{aligned}[b] &\mathbb{E} \int ^{T}_{0} \bigl(b_{\mu }\bigl( \varGamma ^{u}(t),u(t),u(t-\delta )\bigr) \mathbb{E}\bigl[\psi _{x}\bigl(x(t)\bigr)q(t)\bigr] \bigr)^{2}\,dt \\ &\quad \leq C\mathbb{E} \int ^{T} _{0} \bigl(\mathbb{E}\bigl[\psi _{x}\bigl(x(t)\bigr)q(t)\bigr] \bigr)^{2}\,dt \\ &\quad \leq C \mathbb{E} \int ^{T}_{0}\mathbb{E}\bigl[\psi ^{2}_{x}\bigl(x(t)\bigr)q^{2}(t)\bigr]\,dt \\ &\quad \leq C\mathbb{E} \int ^{T}_{0}q^{2}(t)\,dt, \end{aligned} \end{aligned}$$
(20)

we can get

$$ \begin{aligned} &\mathbb{E} \Bigl[\sup_{0\leq t\leq T} \bigl\vert q(t) \bigr\vert ^{2} \Bigr] \\ &\quad \leq C\mathbb{E} \int ^{T}_{0}q^{2}(t)\,dt\\ &\qquad {} +C \mathbb{E} \biggl( \int ^{T}_{0}b\bigl( \varGamma ^{u}(t),u^{\epsilon }(t),u^{\epsilon }(t- \delta )\bigr)-b\bigl(\varGamma ^{u}(t),u(t),u(t- \delta )\bigr)\,dt \biggr)^{2} \\ &\quad \leq C\mathbb{E} \int ^{T}_{0}\sup_{0\leq r \leq t}q^{2}(r) \,dt \\ &\qquad{}+C\mathbb{E} \biggl( \int ^{\tau +\epsilon }_{\tau }b\bigl( \varGamma ^{u}(t),u^{\epsilon }(t),u^{\epsilon }(t-\delta )\bigr)-b \bigl(\varGamma ^{u}(t),u(t),u(t- \delta )\bigr)\,dt \biggr)^{2}. \end{aligned} $$

Applying Gronwall’s inequality, the desired conclusion is obtained. □

Lemma 4.2

Suppose (H3) holds, then we have

$$ \mathbb{E} \Bigl[\sup_{0\leq t \leq T} \bigl\vert x^{\epsilon }(t)-x(t)-q(t) \bigr\vert ^{2} \Bigr]\leq C_{\epsilon }\epsilon ^{2}, $$
(21)

where \(C_{\epsilon }\) is nonnegative constant and \(C_{\epsilon } \rightarrow 0\) when \(\epsilon \rightarrow 0\).

Proof

Setting \(\tilde{x}(\cdot )=x^{\epsilon }(\cdot )-x(\cdot )-q(\cdot )\), and then \(x^{\epsilon }(\cdot )=\tilde{x}(\cdot )+x(\cdot )+q(\cdot )\).

$$\begin{aligned} \tilde{x}(t) & = \int ^{t}_{0} \bigl[ b\bigl(\varGamma ^{\epsilon }(s),u^{\epsilon }(s),u^{\epsilon }(s-\delta )\bigr)-b \bigl(s,x(s)+q(s),x(s-\delta )+q(s-\delta ), \\ & \quad \mathbb{E}\psi \bigl(x(s)+q(s)\bigr), \mathbb{E}\psi \bigl(x(s-\delta )+q(s-\delta )\bigr),u ^{\epsilon }(s),u^{\epsilon }(s-\delta )\bigr) \bigr]\,ds \\ & \quad {}+ \int ^{t}_{0} \bigl[\sigma \bigl(\varTheta ^{\epsilon }(s)\bigr)-\sigma (s,x(s)+q(s), x(s-\delta )+q(s- \delta ), \\ &\quad \mathbb{E}\varphi \bigl(x(s)+q(s)\bigr),\mathbb{E}\varphi \bigl(x(s- \delta )+q(s- \delta )\bigr) \bigr]\,dB(s) \\ &\quad{}+ \int ^{t}_{0}b\bigl(s,x(s)+q(s),x(s-\delta )+q(s- \delta ),\mathbb{E}\psi \bigl(x(s)+q(s)\bigr),\mathbb{E}\psi \bigl(x(s- \delta )+q(s- \delta )\bigr), \\ &\quad u^{\epsilon }(s),u^{\epsilon }(s-\delta )\bigr)\,ds- \int ^{t}_{0}b\bigl(\varGamma ^{u}(s),u ^{\epsilon }(s),u^{\epsilon }(s-\delta )\bigr)\,ds+ \int ^{t}_{0}\sigma (s,x(s)+q(s), \\ &\quad x(s-\delta )+q(s-\delta ), \mathbb{E}\varphi \bigl(x(s)+q(s)\bigr), \mathbb{E} \varphi \bigl(x(s-\delta )+q(s-\delta )\bigr)\,dB(s) \\ &\quad {}- \int ^{t}_{0}\sigma \bigl( \varTheta ^{u}(s)\bigr)\,dB(s)- \int ^{t}_{0} \bigl\{ b_{x}\bigl( \varGamma ^{u}(s), u(s),u(s- \delta )\bigr)q(s)+b_{x_{\delta }}\bigl( \varGamma ^{u}(s),u(s), \\ &\quad u(s-\delta )\bigr)q(s-\delta )+b_{\mu }\bigl(\varGamma ^{u}(s),u(s),u(s-\delta )\bigr)\mathbb{E} \bigl[\psi _{x}\bigl(x^{u}(s)\bigr)q(s) \bigr] \\ & \quad{}+b_{\mu _{\delta }}\bigl(\varGamma ^{u}(s),u(s),u(s-\delta ) \bigr)\mathbb{E} \bigl[\psi _{x}\bigl(x ^{u}(s-\delta ) \bigr)q(s-\delta ) \bigr] \bigr\} \,ds \\ &\quad {}- \int ^{t}_{0} \bigl\{ \sigma _{x} \bigl(\varTheta ^{u}(s)\bigr)q(s)+\sigma _{x_{\delta }}\bigl(\varTheta ^{u}(s)\bigr)q(s- \delta )+\sigma _{\mu }\bigl(\varTheta ^{u}(s)\bigr)\mathbb{E} \bigl[\varphi _{x}\bigl(x(s) \bigr)q(s) \bigr] \\ &\quad{}+\sigma _{\mu _{\delta }}\bigl(\varTheta ^{u}(s)\bigr) \mathbb{E} \bigl[ \varphi _{x_{ \delta }}\bigl(x(s-\delta )\bigr)q(s-\delta ) \bigr] \bigr\} \,dB(s). \end{aligned}$$
(22)

We will use the following abbreviated notations:

$$ \begin{gathered} \bigl(\varLambda (t) \bigr) = \bigl(t,x(t)+q(t)+\lambda \tilde{x}(t), x(t- \delta )+q(t-\delta )+\lambda \tilde{x}(t-\delta ), \\ \hphantom{ \bigl(\varLambda (t) \bigr) =} \mathbb{E} \psi \bigl(x(t)+q(t)+\lambda \tilde{x}(t)\bigr), \mathbb{E}\psi \bigl(x(t-\delta )+q(t- \delta )+\lambda \tilde{x}(t-\delta )\bigr) \bigr), \\ \bigl(\varXi (t) \bigr) = \bigl(t,x(t)+q(t)+\lambda \tilde{x}(t), x(t-\delta )+q(t- \delta )+ \lambda \tilde{x}(t-\delta ), \\ \hphantom{ \bigl(\varXi (t) \bigr) =}\mathbb{E}\varphi \bigl(x(t)+q(t)+\lambda \tilde{x}(t)\bigr), \mathbb{E}\varphi \bigl(x(t-\delta )+q(t-\delta )+\lambda \tilde{x}(t-\delta ) \bigr) \bigr), \\ \bigl(\varPi (t) \bigr) = \bigl(t,x(t)+\lambda q(t), x(t-\delta )+\lambda q(t- \delta ), \\ \hphantom{ \bigl(\varPi (t) \bigr) =} \mathbb{E}\psi \bigl(x(t)+ \lambda q(t)\bigr),\mathbb{E}\psi \bigl(x(t-\delta )+\lambda q(t-\delta )\bigr) \bigr), \\ \bigl(\Delta (t) \bigr) = \bigl(t,x(t)+\lambda q(t), x(t-\delta )+ \lambda q(t- \delta ), \\ \hphantom{ \bigl(\Delta (t) \bigr) =} \mathbb{E}\varphi \bigl(x(t)+\lambda q(t)\bigr), \mathbb{E} \varphi \bigl(x(t-\delta )+\lambda q(t-\delta )\bigr) \bigr). \end{gathered} $$
(23)

By a Taylor expansion, we can rewrite Eq. (22) and we should point out that the expansion is more complex than the case without mean-field terms in Chen and Wu [20]. We have

$$\begin{aligned} \tilde{x}(t) & =x^{\epsilon }(t)-x(t)-q(t) \\ & = \int ^{t}_{0} \int ^{1} _{0}b_{x}\bigl(\varLambda (s),u^{\epsilon }(s),u^{\epsilon }(s-\delta )\bigr)\,d \lambda \tilde{x}(s)\,ds \\ &\quad{}+ \int ^{t}_{0} \int ^{1}_{0}b_{x_{\delta }}\bigl( \varLambda (s),u^{\epsilon }(s),u^{\epsilon }(s-\delta )\bigr)\,d\lambda \tilde{x}(s-\delta )\,ds \\ &\quad{}+ \int ^{t}_{0} \int ^{1}_{0}b_{\mu }\bigl(\varLambda (s),u ^{\epsilon }(s),u ^{\epsilon }(s-\delta )\bigr)\mathbb{E} \bigl[ \psi _{x}\bigl(x(s)+q(s)+ \lambda \tilde{x}(s)\bigr)\tilde{x}(s) \bigr]\,d\lambda \,ds \\ &\quad{}+ \int ^{t}_{0} \int ^{1} _{0}b_{\mu _{\delta }}\bigl(\varLambda (s),u^{\epsilon }(s),u^{\epsilon }(s- \delta )\bigr) \mathbb{E} \bigl[ \psi _{x}\bigl(x(s-\delta ) \\ &\quad{}+q(s-\delta )+\lambda \tilde{x}(s-\delta )\bigr)\tilde{x}(s-\delta ) \bigr]\,d \lambda \,ds \\ &\quad{}+ \int ^{t}_{0} \int ^{1}_{0}\sigma _{x}\bigl(\varXi (s)\bigr)\,d\lambda \tilde{x}(s)\,dB(s)+ \int ^{t}_{0} \int ^{1}_{0}\sigma _{x_{\delta }}\bigl( \varXi (s)\bigr)\,d\lambda \tilde{x}(s-\delta )\,dB(s) \\ &\quad{}+ \int ^{t}_{0} \int ^{1} _{0}\sigma _{\mu }\bigl(\varXi (s)\bigr)\mathbb{E} \bigl[\varphi _{x}\bigl(x(s)+q(s)+\lambda \tilde{x}(s)\bigr)\tilde{x}(s) \bigr]\,d\lambda \,ds \\ &\quad{}+ \int ^{t}_{0} \int ^{1} _{0}\sigma _{\mu _{\delta }}\bigl(\varXi (s)\bigr)\mathbb{E} \bigl[\varphi _{x}\bigl(x(s- \delta )+q(s-\delta )+\lambda \tilde{x}(s-\delta )\bigr)\tilde{x}(s-\delta ) \bigr]\,d\lambda \,ds \\ &\quad{}+ \int ^{t}_{0}M^{\epsilon }(s)\,ds+ \int ^{t}_{0}N ^{\epsilon }(s)\,dB(s), \end{aligned}$$
(24)

where

$$\begin{aligned}& \begin{aligned} M^{\epsilon }(s)&= \int ^{1}_{0} \bigl[b_{x}\bigl(\varPi (s),u^{\epsilon }(s),u ^{\epsilon }(s-\delta )\bigr)-b_{x} \bigl(\varGamma ^{u}(s),u(s),u(s-\delta )\bigr) \bigr]\,d \lambda q(s) \\ &\quad {} + \int ^{1}_{0} \bigl[b_{x_{\delta }}\bigl(\varPi (s),u^{\epsilon }(s),u^{\epsilon }(s-\delta )\bigr)-b_{x_{\delta }} \bigl(\varGamma ^{u}(s),u(s),u(s- \delta )\bigr) \bigr]\,d\lambda q(s- \delta ) \\ &\quad {} + \int ^{1}_{0}b_{\mu }\bigl(\varPi (s),u^{\epsilon }(s),u^{\epsilon }(s- \delta )\bigr)\mathbb{E} \bigl[ \psi _{x}\bigl(x(s)+\lambda q(s)\bigr)q(s) \bigr]\,d\lambda \\ &\quad {}-b_{\mu }\bigl(\varGamma ^{u}(s),u(s),u(s-\delta ) \bigr)\mathbb{E} \bigl[\psi _{x}\bigl(x(s)\bigr)q(s) \bigr] \\ &\quad{}+ \int ^{1}_{0}b_{\mu _{\delta }}\bigl(\varPi (s),u^{\epsilon }(s),u ^{\epsilon }(s-\delta )\bigr)\mathbb{E} \bigl[ \psi _{x}\bigl(x(s-\delta )+\lambda q(s-\delta )\bigr)q(s-\delta ) \bigr]\,d\lambda \\ &\quad {}-b_{\mu _{\delta }}\bigl(\varGamma ^{u}(s),u(s),u(s- \delta ) \bigr)\mathbb{E} \bigl[\psi _{x}\bigl(x(s-\delta )\bigr)q(s- \delta ) \bigr], \end{aligned} \\& \begin{aligned} N ^{\epsilon }(s)&= \int ^{1}_{0} \bigl[\sigma _{x} \bigl( \Delta (s)\bigr)-\sigma _{x}\bigl( \varTheta ^{u}(s) \bigr) \bigr]\,d\lambda q(s)+ \int ^{1}_{0} \bigl[\sigma _{x_{\delta }} \bigl(\Delta (s)\bigr)-\sigma _{x_{\delta }}\bigl(\varTheta ^{u}(s) \bigr) \bigr]\,d\lambda q(s- \delta ) \\ &\quad{}+ \int ^{1}_{0}\sigma _{\mu }\bigl( \Delta (s)\bigr) \mathbb{E} \bigl[ \varphi _{x}\bigl(x(s)+\lambda q(s)\bigr)q(s) \bigr]\,d\lambda - \sigma _{\mu }\bigl(\varTheta ^{u}(s)\bigr)\mathbb{E} \bigl[\varphi _{x}\bigl(x(s) \bigr)q(s) \bigr] \\ &\quad{}+ \int ^{1}_{0} \sigma _{\mu _{\delta }}\bigl( \Delta (s)\bigr)\mathbb{E} \bigl[\varphi _{x}\bigl(x(s- \delta )+ \lambda q(s-\delta )\bigr)q(s-\delta ) \bigr]\,d \lambda \\ &\quad {}- \sigma _{\mu _{\delta }}\bigl(\varTheta ^{u}(s)\bigr) \mathbb{E} \bigl[ \varphi _{x}\bigl(x(s- \delta )\bigr)q(s-\delta ) \bigr]. \end{aligned} \end{aligned}$$

Applying the conditions of b, σ, ψ, φ and the definition of \(u^{\epsilon }(\cdot )\), we can easily prove that

$$ \sup_{0\leq t \leq T}\mathbb{E} \biggl\{ \biggl( \int ^{t}_{0}M^{\epsilon }(s)\,ds \biggr)^{2}+ \biggl( \int ^{t}_{0}N^{\epsilon }(s)\,dB(s) \biggr)^{2} \biggr\} =o\bigl( \epsilon ^{2}\bigr). $$
(25)

Here \(o(\epsilon ^{2})\) denotes the element such that \(\lim_{\epsilon \to 0}{\frac{o(\epsilon ^{2})}{\epsilon ^{2}}}=0\). Also, since all the derivatives are bounded, we can group all above terms to deduce that

$$ \begin{aligned}[b] \sup_{0\leq t\leq T} \bigl\vert \tilde{x}(t) \bigr\vert ^{2}&\leq C \int ^{T}_{0} \sup_{0\leq r\leq s} \bigl\vert \tilde{x}(r) \bigr\vert ^{2}\,ds \\ &\quad{}+C \sup_{0\leq t\leq T} \biggl\{ \biggl( \int ^{t}_{0}M^{\epsilon }(s)\,ds \biggr)^{2}+ \biggl( \int ^{t}_{0}N^{\epsilon }(s)\,dB(s) \biggr)^{2} \biggr\} . \end{aligned} $$
(26)

Then, by the Grownwall inequality, we can prove Lemma 4.2. □

4.2 Necessary maximum principle

We will try to derive the necessary conditions of our optimal control problem in this subsection.

Since we have the final state constraint, we first introduce the following Ekeland variational principle in [26].

Lemma 4.3

(Ekeland’s variational principle)

Let \((S,d(\cdot ,\cdot ))\) be a completed metric space, and let \(F:S\rightarrow \mathbb{R}\) be lower-semicontinuous and bounded from below. If there exists \(u\in S\) such that \(F(u)\leq \inf_{v \in S}F(v)+\rho \) for some \(\rho >0\), then there exists \(u^{\rho } \in S\), such that \(F(u^{ \rho })\leq F(u)\), \(d(u^{\rho },u)\leq \sqrt{ \rho }\), and \(F(v)+\sqrt{\rho }d(u^{\rho },v)>F(u^{\rho })\) for any \(v\neq u^{ \rho }\).

Also we let \((u(\cdot ),x(\cdot ))\) be the optimal control and corresponding trajectory of (9)–(10) under the final state constraint (11). We define a metric d on \(\mathcal{U}\) by

$$ d\bigl(v(\cdot ),u(\cdot )\bigr)=\mathbb{E} \int ^{T}_{-\delta }I_{v(t)\neq u(t)}\,dt, $$
(27)

where I is indicator function and then \((\mathcal{U},d)\) is a completed metric space.

Proposition 4.4

Let us define

$$ J_{\rho }\bigl(v(\cdot )\bigr)=\sqrt{\bigl[J\bigl(v( \cdot )\bigr)-J\bigl(u(\cdot )\bigr)+\rho \bigr]^{2}+ \bigl\vert \mathbb{E}G\bigl(x^{v}(T)\bigr) \bigr\vert ^{2}}, $$
(28)

with \(v(\cdot )\in \mathcal{U}\). \(x^{v}(\cdot )\) is the corresponding trajectory of \(v(\cdot )\). Then \(J_{\rho }(\cdot )\) is bounded and continuous on \(\mathcal{U}\).

Proof

By the definition of \(J(v(\cdot ))\) and (H3), the bounded of \(J_{\rho }(\cdot )\) is obvious. And moreover, for any \(v(\cdot ), \omega (\cdot )\in \mathcal{U}\),

$$ \begin{aligned}[b] & \bigl\vert J_{\rho } \bigl(v(\cdot )\bigr)-J_{\rho }\bigl(\omega (\cdot )\bigr) \bigr\vert ^{2} \\ &\quad \leq \bigl\vert J^{2}_{\rho }\bigl(v(\cdot ) \bigr)-J^{2}_{\rho }\bigl(\omega (\cdot )\bigr) \bigr\vert \\ &\quad = \bigl\vert \bigl( J\bigl(v(\cdot )\bigr)-J\bigl(u(\cdot )\bigr)+\rho \bigr)^{2}- \bigl\vert \mathbb{E}G\bigl(x^{v}(T)\bigr) \bigr\vert ^{2} - \bigl( J\bigl(\omega (\cdot )\bigr) \\ &\qquad {}-J\bigl(u( \cdot )\bigr)+\rho \bigr)^{2}+ \bigl\vert \mathbb{E}G\bigl(x^{\omega }(T)\bigr) \bigr\vert ^{2} \bigr\vert \\ &\quad \leq \bigl\vert \bigl(J\bigl(v(\cdot )\bigr)-J\bigl(u(\cdot )\bigr)+ \rho \bigr)^{2}- \bigl(J\bigl(\omega (\cdot )\bigr)-J\bigl(u(\cdot ) \bigr)+\rho \bigr)^{2} \bigr\vert \\ &\qquad {} + \bigl\vert \bigl[\mathbb{E}G\bigl(x^{v}(\cdot ) \bigr) \bigr]^{2}- \bigl[ \mathbb{E}G\bigl(x^{\omega }(\cdot ) \bigr) \bigr]^{2} \bigr\vert \\ &\quad :=\hat{J}_{1}+ \hat{J}_{2}. \end{aligned} $$
(29)

Here

$$ \hat{J}_{1}= \bigl\vert J\bigl(v(\cdot )\bigr)+J \bigl(\omega (\cdot )\bigr)-2J\bigl(u(\cdot )\bigr)+2 \rho \bigr\vert \times \bigl\vert J\bigl(v(\cdot )\bigr)-J\bigl(\omega (\cdot )\bigr) \bigr\vert . $$
(30)

We see that terms within the first part on the right side of (30) are bounded by some constant C. By the continuity of L, Φ and their derivatives are bounded we have

$$\begin{aligned} & \bigl\vert J\bigl(v(\cdot ) \bigr)-J\bigl(\omega (\cdot )\bigr) \bigr\vert ^{2} \\ &\quad \leq C \mathbb{E} \int ^{T}_{0} \bigl\vert x^{v}(t)-x^{\omega }(t) \bigr\vert ^{2}\,dt \\ &\qquad{}+C \mathbb{E} \int ^{T}_{0} \bigl\vert L \bigl(t,x^{\omega }(t),x^{\omega }(t- \delta ),\mathbb{E}\phi \bigl(x^{\omega }(t)\bigr), \mathbb{E}\phi \bigl(x^{\omega }(t- \delta )\bigr),v(t),v(t-\delta )\bigr) \\ &\qquad {}-L\bigl(t,x^{\omega }(t),x^{\omega }(t- \delta ), \mathbb{E}\phi \bigl(x^{\omega }(t)\bigr), \mathbb{E}\phi \bigl(x^{\omega }(t- \delta )\bigr),\omega (t),\omega (t-\delta )\bigr) \bigr\vert ^{2}\,dt. \end{aligned}$$
(31)

Then, by Lemma 3.2, we can deduce

$$ \lim_{v(\cdot )\rightarrow \omega (\cdot )} \bigl\vert J\bigl(v(\cdot ) \bigr)-J\bigl( \omega (\cdot )\bigr) \bigr\vert =0. $$
(32)

While \(\hat{J}_{2}\) can be expanded as

$$ \begin{aligned}[b] \hat{J}_{2}&= \bigl\vert \bigl[\mathbb{E}G\bigl(x^{v}(T)\bigr) \bigr]^{2}- \bigl[ \mathbb{E}G\bigl(x^{\omega }(T)\bigr) \bigr]^{2} \bigr\vert \\ &= \bigl\vert \mathbb{E} \bigl[G\bigl(x^{v}(T)\bigr)+G \bigl(x^{\omega }(T)\bigr) \bigr] \bigr\vert \times \bigl\vert \mathbb{E} \bigl[G\bigl(x^{v}(T)\bigr)-G\bigl(x^{\omega }(T) \bigr) \bigr] \bigr\vert \\ &\leq C\mathbb{E} \bigl\vert x^{v}(T)-x^{\omega }(T) \bigr\vert . \end{aligned} $$
(33)

Combining (29)–(33), we can derive the continuous property of \(J_{\rho }(v(\cdot ))\). □

Remark 4.5

One can notice that \(J_{\rho }(\cdot )\) is defined on the feasible control set \(\mathcal{U}\) rather than the admissible control set \(\mathcal{U}_{\mathrm{ad}}\). It means that we can get rid of the state constraint by the new cost functional.

Now we consider the following free final state optimal control problem:

$$ \inf_{v(\cdot )\in \mathcal{U}}J_{\rho }\bigl(v(\cdot )\bigr). $$

It is easy to verify that

$$ J_{\rho }\bigl(u(\cdot )\bigr)=\rho , \qquad J_{\rho }\bigl(v(\cdot )\bigr)>0, $$
(34)

and

$$ J_{\rho }\bigl(u(\cdot )\bigr)\leq \inf _{v(\cdot )\in \mathcal{U}}J_{\rho }\bigl(v( \cdot )\bigr)+\rho . $$
(35)

According to Ekeland’s variational principle, there exists \(u^{\rho }( \cdot )\in \mathcal{U}\) such that

$$ \begin{aligned} &\mbox{(i)} \quad J_{\rho } \bigl(u^{\rho }(\cdot )\bigr) \leq J_{\rho }\bigl(u(\cdot ) \bigr)= \rho , \\ &\mbox{(ii)} \quad d\bigl(u^{\rho }(\cdot ),u(\cdot )\bigr)\leq \sqrt{ \rho }, \\ &\mbox{(iii)} \quad J_{\rho }\bigl(v(\cdot )\bigr)+\sqrt{\rho }d\bigl(u ^{\rho }(\cdot ),v(\cdot )\bigr) \geq J_{\rho } \bigl(u^{\rho }(\cdot )\bigr),\quad \forall v(\cdot )\in \mathcal{U}. \end{aligned} $$
(36)

We can get the necessary conditions of \(u^{\rho }(\cdot )\) and then take \(\rho \downarrow 0\) to derive the proper conditions of \(u(\cdot )\).

Applying the “spike variation method”, we can construct a \(u^{\epsilon \rho }(\cdot )\in \mathcal{U}\) for any \(\epsilon >0\) as follows:

$$ u^{\epsilon \rho }(t)= \textstyle\begin{cases} v(t),& \tau \leq t \leq \tau +\epsilon , \\ u^{\rho }(t),& \text{otherwise}, \end{cases} $$

where \(0<\epsilon <\delta \) and \(\tau +\epsilon \leq T\). And then

$$ d\bigl(u^{\rho }(\cdot ),u^{\epsilon \rho }(\cdot ) \bigr)\leq \epsilon . $$
(37)

Let \(x^{\rho }(\cdot )\) and \(x^{\epsilon \rho }(\cdot )\) be the solution of state function (9) under the control \(u^{\rho }(\cdot )\) and \(u^{\epsilon \rho }(\cdot )\). Following the variational equation (17), we introduce the following expression for \(q^{\epsilon \rho }(\cdot )\):

$$ \textstyle\begin{cases} dq^{\epsilon \rho }(t)= \{b_{x}(\varGamma ^{\rho }(t),u^{\rho }(t),u ^{\rho }(t-\delta ))q^{\epsilon \rho }(t)\\ \hphantom{dq^{\epsilon \rho }(t)=}{}+b_{x_{\delta }}(\varGamma ^{ \rho }(t),u^{\rho }(t),u^{\rho }(t-\delta ))q^{\epsilon \rho }(t- \delta )\\ \hphantom{dq^{\epsilon \rho }(t)=}{} +b_{\mu }(\varGamma ^{\rho }(t),u^{\rho }(t),u^{\rho }(t- \delta ))\mathbb{E} [\psi _{x}(x^{\rho }(t))q^{\epsilon \rho }(t) ]\\ \hphantom{dq^{\epsilon \rho }(t)=}{} +b_{\mu _{\delta }}(\varGamma ^{\rho }(t),u^{\rho }(t),u^{\rho }(t- \delta ))\mathbb{E} [\psi _{x}(x^{\rho }(t-\delta ))q^{\epsilon \rho }(t-\delta ) ]\\ \hphantom{dq^{\epsilon \rho }(t)=}{}+b(\varGamma ^{\rho }(t),u^{\epsilon \rho }(t),u ^{\epsilon \rho }(t-\delta ))-b(\varGamma ^{\rho }(t),u^{\rho }(t),u^{ \rho }(t-\delta )) \}\,dt\\ \hphantom{dq^{\epsilon \rho }(t)=}{}+ \{\sigma _{x}(t)(\varTheta ^{\rho }(t))q ^{\epsilon \rho }(t)+\sigma _{x_{\delta }}(\varTheta ^{\rho }(t))q^{\epsilon \rho }(t-\delta )\\ \hphantom{dq^{\epsilon \rho }(t)=}{}+\sigma _{\mu }(\varTheta ^{\rho }(t))\mathbb{E} [\varphi (x^{\rho }(t))q^{\epsilon \rho }(t) ] \\ \hphantom{dq^{\epsilon \rho }(t)=}{}+ \sigma _{\mu _{\delta }}(\varTheta ^{\rho }(t))\mathbb{E} [\varphi _{x}(x ^{\rho }(t-\delta ))q^{\epsilon \rho }(t-\delta ) ] \}\,dB(t), \quad t\in [0,T],\\ q^{\epsilon \rho }(t)= 0, \quad t\in [-\delta ,0]. \end{cases} $$
(38)

Here \(\varGamma ^{\rho }(t)\) and \(\varTheta ^{\rho }(t)\) are defined similarly to (14) with control variable \(u^{\rho }(\cdot )\), i.e.

$$ \begin{aligned} & \bigl(\varGamma ^{\rho }(t) \bigr)= \bigl(t,x^{\rho }(t),x^{\rho }(t-\delta ), \mathbb{E}\psi \bigl(x^{\rho }(t)\bigr),\mathbb{E}\psi \bigl(x^{\rho }(t-\delta )\bigr) \bigr), \\ & \bigl(\varTheta ^{\rho }(t) \bigr)= \bigl(t,x^{\rho }(t),x^{\rho }(t- \delta ),\mathbb{E}\varphi \bigl(x^{\rho }(t)\bigr),\mathbb{E}\varphi \bigl(x^{ \rho }(t-\delta )\bigr) \bigr). \end{aligned} $$

According to Lemma 4.1 and Lemma 4.2, we have

$$\begin{aligned}& \mathbb{E} \Bigl[\sup_{0\leq t\leq T} \bigl\vert q^{\epsilon \rho }(t) \bigr\vert ^{2} \Bigr]\leq C\epsilon ^{2}, \end{aligned}$$
(39)
$$\begin{aligned}& \mathbb{E} \Bigl[\sup_{0\leq t \leq T} \bigl\vert x^{\epsilon \rho }(t)-x^{ \rho }(t)-q^{\epsilon \rho }(t) \bigr\vert ^{2} \Bigr]\leq C_{\epsilon } \epsilon ^{2}. \end{aligned}$$
(40)

Using the Taylor expansion we can check

$$\begin{aligned} &J\bigl(u^{\epsilon \rho }(\cdot )\bigr)-J\bigl(u^{\rho }(\cdot )\bigr) \\ &\quad =\mathbb{E} \int ^{T} _{0} \bigl[L\bigl(t,x^{\epsilon \rho }(t),x^{\epsilon \rho }(t- \delta ), \mathbb{E}\phi \bigl(x^{\epsilon \rho }(t)\bigr),\mathbb{E}\phi \bigl(x^{\epsilon \rho }(t-\delta )\bigr),u^{\epsilon \rho }(t),u^{\epsilon \rho }(t- \delta )\bigr) \\ &\qquad {}-L\bigl(t,x^{\rho }(t),x^{\rho }(t-\delta ), \mathbb{E}\phi \bigl(x^{ \rho }(t)\bigr),\mathbb{E}\phi \bigl(x^{\rho }(t-\delta )\bigr),u^{\rho }(t),u^{ \rho }(t- \delta )\bigr) \bigr]\,dt \\ &\qquad{}+\mathbb{E} \bigl[\varPhi \bigl(x^{\epsilon \rho }(T), \mathbb{E}\chi \bigl(x^{ \epsilon \rho }(T)\bigr)\bigr) \bigr]-\mathbb{E} \bigl[\varPhi \bigl(x ^{\rho }(T), \mathbb{E}\chi \bigl(x^{\rho }(T)\bigr)\bigr) \bigr] \\ &\quad :=\partial _{1}+ \partial _{2}. \end{aligned}$$
(41)

By arguments analogous to the previous one,

$$\begin{aligned} \partial _{1}&= \mathbb{E} \int ^{T}_{0} \bigl\{ L_{x}\bigl( \varUpsilon ^{\rho }(t),u ^{\rho }(t),u^{\rho }(t-\delta ) \bigr)q^{\epsilon \rho }(t) \\ &\quad {}+L_{x_{\delta }}\bigl( \varUpsilon ^{\rho }(t),u^{\rho }(t),u^{\rho }(t- \delta )\bigr)q^{\epsilon \rho }(t-\delta ) \\ &\quad{}+L_{\mu }\bigl(\varUpsilon ^{\rho }(t),u^{\rho }(t),u^{ \rho }(t- \delta )\bigr)\mathbb{E} \bigl[\phi _{x}\bigl(x^{\rho }(t) \bigr)q^{\epsilon \rho }(t) \bigr] \\ &\quad{}+L_{\mu _{\delta }}\bigl(\varUpsilon ^{\rho }(t),u^{\rho }(t),u^{\rho }(t- \delta )\bigr)\mathbb{E} \bigl[\phi _{x}\bigl(x^{\rho }(t- \delta )\bigr)q^{\epsilon \rho }(t-\delta ) \bigr] \\ &\quad{}+L\bigl(\varUpsilon ^{\rho }(t),u^{\epsilon \rho }(t),u ^{\epsilon \rho }(t-\delta )\bigr)-L\bigl(\varUpsilon ^{\rho }(t),u^{\rho }(t),u ^{\rho }(t-\delta )\bigr) \bigr\} \,dt+o(\epsilon ), \end{aligned}$$
(42)

with

$$\begin{aligned}& \begin{aligned} & \bigl(\varUpsilon ^{\rho }(t) \bigr)= \bigl(t,x^{\rho }(t),x^{\rho }(t-\delta ),\mathbb{E}\phi \bigl(x^{\rho }(t)\bigr),\mathbb{E}\phi \bigl(x^{\rho }(t-\delta )\bigr) \bigr), \\ &\partial _{2}= \mathbb{E} \bigl\{ \varPhi _{x} \bigl(x^{\rho }(T),\mathbb{E} \chi \bigl(x ^{\rho }(T)\bigr) \bigr)q^{\epsilon \rho }(T)\\ &\hphantom{\partial _{2}=}{}+\varPhi _{\mu }\bigl(x^{\rho }(T), \mathbb{E}\chi \bigl(x^{\rho }(T)\bigr)\bigr)\mathbb{E} \bigl[\chi _{x}\bigl(x^{\rho }(T)\bigr)q ^{\epsilon \rho }(T) \bigr] \bigr\} +o(\epsilon ), \end{aligned} \end{aligned}$$
(43)

and

$$ \mathbb{E}G\bigl(x^{\epsilon \rho }(T)\bigr)-\mathbb{E}G \bigl(x^{\rho }(T)\bigr)= \mathbb{E}\bigl[G_{x} \bigl(x^{\rho }(T)\bigr)q^{\epsilon \rho }\bigr]+o(\epsilon ). $$
(44)

Setting \(v(\cdot )=u^{\epsilon \rho }(\cdot )\) in (iii) of (36), we have

$$ J_{\rho }\bigl(u^{\epsilon \rho }(\cdot )\bigr)+\sqrt{\rho }d \bigl(u^{\rho }( \cdot ),u^{\epsilon \rho }(\cdot )\bigr)\geq J_{\rho }\bigl(u^{\rho }(\cdot )\bigr), $$

i.e.

$$ \begin{aligned} &J_{\rho }\bigl(u^{\epsilon \rho }(\cdot ) \bigr)-J_{\rho }\bigl(u^{\rho }(\cdot )\bigr) \geq -\sqrt{\rho }d\bigl(u^{\rho }(\cdot ),u^{\epsilon \rho }(\cdot )\bigr), \\ &J_{\rho }\bigl(u^{\epsilon \rho }(\cdot )\bigr)-J_{\rho } \bigl(u^{\rho }(\cdot )\bigr) \geq -\sqrt{\rho }\epsilon . \end{aligned} $$

By the formula of \(J_{\rho }\) we have

$$ \begin{aligned}[b] &J_{\rho } \bigl(u^{\epsilon \rho }(\cdot )\bigr)-J_{\rho }\bigl(u^{\rho }( \cdot )\bigr) \\ &\quad =\frac{ (J_{\rho }(u^{\epsilon \rho }(\cdot )) )^{2}- (J _{\rho }(u^{\rho }(\cdot )) )^{2}}{J_{\rho }(u^{\epsilon \rho }( \cdot ))+J_{\rho }(u^{\rho }(\cdot ))} \\ &\quad =\frac{J(u^{\epsilon \rho }( \cdot ))+J(u^{\rho }(\cdot ))-2J(u(\cdot ))+2\rho }{J_{\rho }(u^{ \epsilon \rho }(\cdot ))+J_{\rho }(u^{\rho }(\cdot ))}\times \bigl[J\bigl(u ^{\epsilon \rho }(\cdot ) \bigr)-J\bigl(u^{\rho }(\cdot )\bigr) \bigr] \\ &\qquad{}+\frac{ \mathbb{E}G(x^{\epsilon \rho }(T))+\mathbb{E}G(x^{\rho }(T))}{J_{ \rho }(u^{\epsilon \rho }(\cdot ))+J_{\rho }(u^{\rho }(\cdot ))} \times \bigl[\mathbb{E}G\bigl(x^{\epsilon \rho }(T) \bigr)-\mathbb{E}G\bigl(x^{\rho }(T)\bigr) \bigr]. \end{aligned} $$
(45)

And

$$ \begin{aligned} &\lim_{\epsilon \rightarrow 0}J \bigl(u^{\epsilon \rho }(\cdot )\bigr)= J\bigl(u ^{\rho }(\cdot )\bigr), \\ &\lim_{\epsilon \rightarrow 0}J_{\rho }\bigl(u ^{\epsilon \rho }(\cdot )\bigr)=J_{\rho }\bigl(u^{\rho }(\cdot )\bigr), \\ &\lim_{ \epsilon \rightarrow 0}\mathbb{E}G\bigl(x^{\epsilon \rho }(T)\bigr)= \mathbb{E}G\bigl(x^{\rho }(T)\bigr). \end{aligned} $$
(46)

Then we can obtain

$$\begin{aligned} &\mathbb{E} \int ^{T}_{0}\alpha _{\rho } \bigl\{ L_{x}\bigl(\varUpsilon ^{\rho }(t),u ^{\rho }(t),u^{\rho }(t- \delta )\bigr)q^{\epsilon \rho }(t)+L_{x_{\delta }}\bigl( \varUpsilon ^{\rho }(t),u^{\rho }(t),u^{\rho }(t-\delta ) \bigr)q^{\epsilon \rho }(t-\delta ) \\ &\quad{}+L_{\mu }\bigl(\varUpsilon ^{\rho }(t),u^{\rho }(t),u^{ \rho }(t- \delta )\bigr)\mathbb{E} \bigl[\phi _{x}\bigl(x^{\rho }(t) \bigr)q^{\epsilon \rho }(t) \bigr] \\ &\quad{}+L_{\mu _{\delta }}\bigl(\varUpsilon ^{\rho }(t),u^{\rho }(t),u ^{\rho }(t-\delta )\bigr)\mathbb{E} \bigl[\phi _{x} \bigl(x^{\rho }(t-\delta )\bigr)q ^{\epsilon \rho }(t-\delta ) \bigr] \\ &\quad{}+L\bigl(\varUpsilon ^{\rho }(t),u^{\epsilon \rho }(t),u^{\epsilon \rho }(t- \delta )\bigr)-L\bigl(\varUpsilon ^{\rho }(t),u^{ \rho }(t),u^{\rho }(t- \delta )\bigr) \bigr\} \,dt \\ &\quad{}+\alpha _{\rho }\mathbb{E} \bigl\{ \varPhi _{x} \bigl(x^{\rho }(T),\mathbb{E}\chi \bigl(x^{\rho }(T)\bigr) \bigr)q^{\epsilon \rho }(T) \\ &\quad {}+\varPhi _{\mu }\bigl(x^{\rho }(T), \mathbb{E}\chi \bigl(x^{\rho }(T)\bigr)\bigr) \mathbb{E} \bigl[\chi _{x}\bigl(x^{\rho }(T)\bigr)q^{\epsilon \rho }(T) \bigr] \bigr\} \\ &\quad{}+\gamma _{\rho }\mathbb{E} \bigl[G_{x} \bigl(x^{\rho }(T)\bigr)q^{\epsilon \rho }(T) \bigr]+\sqrt{\rho }\epsilon +o(\epsilon )\geq 0, \end{aligned}$$
(47)

where

$$ \begin{aligned} &\alpha _{\rho }= \frac{J(u_{\rho }(\cdot )-J(u(\cdot ))+\rho }{J_{ \rho }(u^{\rho }(\cdot ))}, \\ &\gamma _{\rho }=\frac{\mathbb{E}G(x^{ \rho }(T))}{J_{\rho }(u^{\rho }(\cdot ))}. \end{aligned} $$
(48)

Obviously, \(\vert \alpha _{\rho }\vert ^{2}+\vert \gamma _{\rho }\vert ^{2}=1\). Therefore there exists a subsequence, still denoted by \((\alpha _{ \rho },\gamma _{\rho })\) such that \(\lim_{\rho \rightarrow 0}\alpha _{\rho }=\alpha \), \(\lim_{\rho \rightarrow 0}\gamma _{\rho }=\gamma \) in \(\mathbb{R}\) and \(\vert \alpha \vert ^{2}+\vert \gamma \vert ^{2}=1\). Next, we introduce the following adjoint equation:

$$ \textstyle\begin{cases} -dp^{\rho }(t)= \{b_{x}(\varGamma ^{\rho }(t),u^{\rho }(t),u^{ \rho }(t- \delta ))p^{\rho }(t)\\ \hphantom{-dp^{\rho }(t)=}{}+\mathbb{E}^{\mathcal{F}_{t}} [b _{x_{ \delta }}(\varGamma ^{\rho }(t),u^{\rho }(t),u^{\rho }(t-\delta )) \vert _{t+\delta }p^{\rho }(t+\delta ) ]\\ \hphantom{-dp^{\rho }(t)=}{} +\mathbb{E} [b_{ \mu }(\varGamma ^{\rho }(t),u^{\rho }(t),u^{\rho }(t-\delta ))p^{\rho }(t) ]\psi _{x}(x^{\rho }(t))\\ \hphantom{-dp^{\rho }(t)=}{}+\mathbb{E} [b_{\mu _{\delta }}( \varGamma ^{\rho }(t),u^{\rho }(t),u^{\rho }(t-\delta ))\vert _{t+\delta }p ^{\rho }(t+\delta ) ]\mathbb{E}^{\mathcal{F}_{t}} [ \psi _{x_{\delta }}(x^{\rho }(t-\delta ))\vert _{t+\delta } ]\\ \hphantom{-dp^{\rho }(t)=}{}+ \sigma _{x}(\varTheta ^{\rho }(t))k^{\rho }(t)+\mathbb{E}^{\mathcal{F}_{t}} [\sigma _{x_{\delta }}(\varTheta ^{\rho }(t))\vert _{t+\delta }k^{ \rho }(t+\delta ) ]\\ \hphantom{-dp^{\rho }(t)=}{}+\mathbb{E} [\sigma _{\mu }(\varTheta ^{ \rho }(t))k^{\rho }(t) ]\varphi _{x}(x^{\rho }(t))\\ \hphantom{-dp^{\rho }(t)=}{}+\mathbb{E} [\sigma _{\mu _{\delta }}(\varTheta ^{\rho }(t))\vert _{t+\delta }k^{ \rho }(t+\delta ) ]\mathbb{E}^{\mathcal{F}_{t}} [ \varphi _{x_{\delta }}(x^{\rho }(t-\delta ))\vert _{t+\delta } ]\\ \hphantom{-dp^{\rho }(t)=}{}+ \alpha ^{\rho } \{L_{x}(\varUpsilon ^{\rho }(t),u^{\rho }(t),u^{\rho }(t- \delta ))+\mathbb{E}^{\mathcal{F}_{t}} [L_{x_{\delta }}( \varUpsilon ^{\rho }(t),u^{\rho }(t),u^{\rho }(t-\delta ))\vert _{t+\delta } ]\\ \hphantom{-dp^{\rho }(t)=}{}+\mathbb{E} [L_{\mu }(\varUpsilon ^{\rho }(t),u^{\rho }(t),u ^{\rho }(t-\delta )) ]\phi _{x}(x^{\rho }(t))\\ \hphantom{-dp^{\rho }(t)=}{}+\mathbb{E} [L _{\mu _{\delta }}(\varUpsilon ^{\rho }(t),u^{\rho }(t),u^{\rho }(t-\delta ))\vert _{t+\delta } ]\mathbb{E}^{\mathcal{F}_{t}} [ \phi _{x_{\delta }}(x^{\rho }(t-\delta ))\vert _{t+\delta } ] \} \}\,dt\\ \hphantom{-dp^{\rho }(t)=}{}-k^{\rho }(t)\,dB(t), \quad t\in [0,T],\\ p^{\rho }(T)= \alpha ^{\rho } \{\varPhi _{x}(x^{\rho }(T), \mathbb{E}\chi (x^{\rho }(T)))+ \mathbb{E} [\varPhi _{\mu }(x^{\rho }(T), \mathbb{E}\chi (x^{\rho }(T))) ]\chi _{x}(x^{\rho }(T)) \} \\ \hphantom{p^{\rho }(T)= }{}+ \gamma ^{\rho }G_{x}(x^{\rho }(T)), \\ p^{\rho }(t)= 0, \qquad k^{\rho }(t)=0, \quad t\in (T,T+\delta ]. \end{cases} $$
(49)

Remark 4.6

\(b_{x_{\delta }}(\varGamma ^{\rho }(t),u^{\rho }(t),u^{\rho }(t-\delta )) \vert _{t+\delta }\) means that the value of derivative \(b_{x_{\delta }}\) at time \(t+\delta \) and other similar symbols have the same meanings. We can find that the adjoint equation is a MABSDE with a unique solution \((p^{\rho }(\cdot ),k^{\rho }(\cdot ))\) by Theorem 2.2. There is a dual relationship between (38) and (49). We should note that the derivatives of ψ, ϕ are in different positions in Eqs. (38) and (49).

Applying Ito’s formula to \(q^{\epsilon \rho }(t)p^{\rho }(t)\), we have

$$\begin{aligned} &\mathbb{E} \bigl\{ \alpha ^{\rho }q^{\epsilon \rho }(T)\varPhi _{x}\bigl(x^{ \rho }(T), \mathbb{E}\chi \bigl(x^{\rho }(T)\bigr)\bigr)+\alpha ^{\rho }q^{\epsilon \rho }(T) \mathbb{E} \bigl[\varPhi _{\mu }\bigl(x^{\rho }(T),\mathbb{E}\chi \bigl(x ^{\rho }(T)\bigr)\bigr) \bigr]\chi _{x} \bigl(x^{\rho }(T)\bigr) \\ &\qquad{}+\gamma ^{\rho }q^{\epsilon \rho }(T)G_{x} \bigl(x^{\rho }(T)\bigr) \bigr\} \\ &\quad =\mathbb{E} \int ^{T}_{0} \bigl\{ b\bigl( \varGamma ^{\rho }(t),u^{\epsilon \rho }(t),u^{\epsilon \rho }(t-\delta )\bigr)-b \bigl( \varGamma ^{\rho }(t),u^{\rho }(t),u^{\rho }(t- \delta )\bigr) \bigr\} p^{\rho }(t)\,dt \\ &\qquad{}+\mathbb{E} \int ^{T}_{0}q^{\epsilon \rho }(t)\alpha ^{\rho } \{L _{x}\bigl(\varUpsilon ^{\rho }(t),u^{\rho }(t),u^{\rho }(t- \delta )\bigr) \\ &\qquad {}+ \mathbb{E}^{\mathcal{F}_{t}} \bigl[L_{x_{\delta }}\bigl(\varUpsilon ^{\rho }(t),u ^{\rho }(t),u^{\rho }(t-\delta )\bigr) \vert _{t+\delta } \bigr] \\ &\qquad{}+ \mathbb{E} \bigl[L_{\mu }\bigl(\varUpsilon ^{\rho }(t),u^{\rho }(t),u^{\rho }(t- \delta )\bigr) \bigr]\phi _{x}\bigl(x^{\rho }(t)\bigr) \\ &\qquad{}+\mathbb{E} \int ^{T}_{0}q^{ \epsilon \rho }(t)\alpha ^{\rho } \bigl\{ L_{x}\bigl(\varUpsilon ^{\rho }(t),u ^{\rho }(t),u^{\rho }(t-\delta )\bigr) \\ &\qquad {}+\mathbb{E}^{\mathcal{F}_{t}} \bigl[L _{x_{\delta }}\bigl(\varUpsilon ^{\rho }(t),u^{\rho }(t),u^{\rho }(t- \delta )\bigr) \vert _{t+\delta } \bigr] \\ &\qquad{}+\mathbb{E} \bigl[L_{\mu }\bigl(\varUpsilon ^{\rho }(t),u ^{\rho }(t),u^{\rho }(t-\delta )\bigr) \bigr]\phi _{x}\bigl(x^{\rho }(t)\bigr) \\ &\qquad{}+ \mathbb{E} \bigl[L_{\mu _{\delta }}\bigl(\varUpsilon ^{\rho }(t),u^{\rho }(t),u ^{\rho }(t-\delta )\bigr) \vert _{t+\delta } \bigr]\mathbb{E}^{\mathcal{F}_{t}} \bigl[\phi _{x_{\delta }}\bigl(x^{\rho }(t-\delta )\bigr)\vert _{t+\delta } \bigr] \bigr\} \,dt. \end{aligned}$$
(50)

Let us assume without loss of generality that \(L_{x_{\delta }}(t)=L _{\mu _{\delta }}(t)=0\) on \([T,T+\delta ]\). Then Eq. (47) can be written as

$$ \begin{aligned}[b] &\mathbb{E} \int ^{T}_{0} \bigl\{ \alpha ^{\rho } \bigl[L\bigl(\varUpsilon ^{\rho }(t),u ^{\epsilon \rho }(t),u^{\epsilon \rho }(t- \delta )\bigr)-L\bigl(\varUpsilon ^{ \rho }(t),u^{\rho }(t),u^{\rho }(t- \delta )\bigr) \bigr] \\ &\qquad{}+ \bigl[b\bigl( \varGamma ^{\rho }(t),u^{\epsilon \rho }(t),u^{\epsilon \rho }(t- \delta )\bigr)-b\bigl( \varGamma ^{\rho }(t),u^{\rho }(t),u^{\rho }(t- \delta )\bigr) \bigr]p^{\rho }(t) \bigr\} \,dt\\ &\qquad {}+\sqrt{\rho }\epsilon +o( \epsilon ) \\ &\quad =\mathbb{E} \int ^{\tau +\epsilon }_{\tau } \bigl\{ \alpha ^{\rho } \bigl[L\bigl(\varUpsilon ^{ \rho }(t),v(t),u^{\rho }(t-\delta ) \bigr)-L\bigl(\varUpsilon ^{\rho }(t),u^{ \rho }(t),u ^{\rho }(t-\delta )\bigr) \bigr] \\ &\qquad{}+ \bigl[b\bigl(\varGamma ^{\rho }(t),v(t),u ^{ \rho }(t- \delta )\bigr)-b\bigl(\varGamma ^{\rho }(t),u^{\rho }(t),u^{\rho }(t- \delta )\bigr) \bigr]p^{\rho }(t) \bigr\} \,dt \\ &\qquad{}+\mathbb{E} \int ^{\tau +\epsilon +\delta }_{\tau +\delta } \bigl\{ \alpha ^{\rho } \bigl[L\bigl(\varUpsilon ^{\rho }(t),u^{\rho }(t),v(t-\delta ) \bigr)-L\bigl(\varUpsilon ^{ \rho }(t),u^{\rho }(t),u^{\rho }(t- \delta )\bigr) \bigr] \\ &\qquad{}+ \bigl[b\bigl( \varGamma ^{\rho }(t),u^{\rho }(t),v(t- \delta )\bigr)-b\bigl(\varGamma ^{\rho }(t),u ^{\rho }(t),u^{\rho }(t- \delta )\bigr) \bigr]p^{\rho }(t) \bigr\} \,dt\\ &\qquad {}+\sqrt{ \rho }\epsilon +o( \epsilon ) \\ &\quad \geq 0. \end{aligned} $$
(51)

By a change of variables, we can obtain

$$\begin{aligned}& \begin{aligned}[b] &\mathbb{E} \int ^{\tau +\epsilon }_{\tau } \bigl\{ \alpha ^{\rho } \bigl[L\bigl( \varUpsilon ^{\rho }(t),v(t),u^{\rho }(t-\delta ) \bigr)-L\bigl(\varUpsilon ^{\rho }(t),u ^{\rho }(t),u^{\rho }(t- \delta )\bigr) \bigr] \\ &\quad{}+ \bigl[b\bigl(\varGamma ^{\rho }(t),v(t),u ^{\rho }(t- \delta )\bigr)-b\bigl(\varGamma ^{ \rho }(t),u^{\rho }(t),u^{\rho }(t- \delta )\bigr) \bigr]p^{\rho }(t) \bigr\} \,dt \\ &\quad{}+\mathbb{E} \int ^{\tau +\epsilon }_{\tau } \bigl\{ \alpha ^{\rho } \bigl[L\bigl( \varUpsilon ^{\rho }(t+\delta ),u^{\rho }(t+\delta ),v(t)\bigr)-L\bigl(\varUpsilon ^{ \rho }(t+\delta ),u^{\rho }(t+ \delta ),u^{\rho }(t)\bigr) \bigr] \\ &\quad{}+ \bigl[b\bigl( \varGamma ^{\rho }(t+\delta ),u^{\rho }(t+ \delta ),v(t)\bigr)-b\bigl(\varGamma ^{\rho }(t+ \delta ),u^{\rho }(t+ \delta ),u^{\rho }(t)\bigr) \bigr]p^{\rho }(t+\delta ) \bigr\} \,dt \\ &\quad{}+\sqrt{\rho }\epsilon +o(\epsilon )\geq 0. \end{aligned} \end{aligned}$$
(52)

Considering the arbitrariness of \(\tau \in [0,T)\), dividing (52) by ϵ and taking \(\epsilon \rightarrow 0^{+}\), it follows that

$$\begin{aligned} &\mathbb{E} \bigl\{ \alpha ^{\rho } \bigl[L\bigl(\varUpsilon ^{\rho }(t),v(t),u^{ \rho }(t- \delta )\bigr)-L\bigl(\varUpsilon ^{\rho }(t),u^{\rho }(t),u^{\rho }(t- \delta )\bigr) \bigr] \\ &\qquad{}+ \bigl[b\bigl(\varGamma ^{\rho }(t),v(t),u^{\rho }(t- \delta )\bigr)-b\bigl( \varGamma ^{ \rho }(t),u^{\rho }(t),u^{\rho }(t- \delta )\bigr) \bigr]p^{\rho }(t) \\ &\qquad{}+ \mathbb{E}^{\mathcal{F}_{t}} \bigl\{ \alpha ^{\rho } \bigl[L \bigl( \varUpsilon ^{ \rho }(t+\delta ),u^{\rho }(t+\delta ),v(t) \bigr)-L\bigl(\varUpsilon ^{ \rho }(t+ \delta ),u^{\rho }(t+\delta ),u^{\rho }(t)\bigr) \bigr] \\ &\qquad{}+ \bigl[b\bigl( \varGamma ^{\rho }(t+\delta ),u^{\rho }(t+ \delta ),v(t)\bigr)-b\bigl(\varGamma ^{\rho }(t+ \delta ),u^{\rho }(t+ \delta ),u^{\rho }(t)\bigr) \bigr]p^{\rho }(t+\delta ) \bigr\} \bigr\} \\ &\quad \geq 0. \end{aligned}$$
(53)

Now let us take \(\rho \rightarrow 0^{+}\). Then \(\alpha ^{\rho }\rightarrow \alpha \), \(\gamma ^{\rho }\rightarrow \gamma \), and \(\vert \alpha \vert ^{2}+ \vert \gamma \vert ^{2}=1\). Simultaneously, from (36)(ii), we have \(d(u^{\rho }(\cdot ),u(\cdot ))\rightarrow 0\) when \(\rho \rightarrow 0^{+}\). Combining the continuous dependence of x on the control variables in Lemma 3.2, one can obtain

$$ \lim_{\rho \rightarrow 0}\mathbb{E} \Bigl[\sup _{0\leq t \leq T} \bigl\vert x^{\rho }(t)-x(t) \bigr\vert ^{2} \Bigr]=0. $$
(54)

Let \((p(\cdot ),k(\cdot ))\) be the solution of the following equation:

$$ \textstyle\begin{cases} -dp(t)= \{b_{x}(\varGamma (t),u(t),u(t-\delta ))p(t)+\mathbb{E} ^{ \mathcal{F}_{t}} [b_{x_{\delta }}(\varGamma (t),u(t),u(t-\delta )) \vert _{t+\delta }p(t+\delta ) ]\\ \hphantom{-dp(t)=}{}+\mathbb{E} [b_{\mu }(\varGamma (t),u(t),u(t-\delta ))p(t) ]\psi _{x}(x(t))\\ \hphantom{-dp(t)=}{} +\mathbb{E} [b _{\mu _{\delta }}(\varGamma (t),u(t),u(t-\delta ))\vert _{t+\delta }p(t+ \delta ) ]\mathbb{E}^{\mathcal{F}_{t}} [\psi _{x_{\delta }}(x(t- \delta ))\vert _{t+\delta } ]\\ \hphantom{-dp(t)=}{}+\sigma _{x}(\varTheta (t))k(t)+ \mathbb{E}^{\mathcal{F}_{t}} [\sigma _{x_{\delta }}(\varTheta (t)) \vert _{t+\delta }k(t+\delta ) ]\\ \hphantom{-dp(t)=}{}+\mathbb{E} [\sigma _{\mu }( \varTheta (t))k(t) ]\varphi _{x}(x(t))\\ \hphantom{-dp(t)=}{}+\mathbb{E} [ \sigma _{\mu _{\delta }}(\varTheta (t))\vert _{t+\delta }k(t+\delta ) ] \mathbb{E}^{\mathcal{F}_{t}} [\varphi _{x_{\delta }}(x(t-\delta )) \vert _{t+\delta } ]\\ \hphantom{-dp(t)=}{}+\alpha \{L_{x}(\varUpsilon (t),u^{\rho }(t),u(t- \delta ))+ \mathbb{E}^{\mathcal{F}_{t}} [L_{x_{\delta }}(\varUpsilon (t),u(t),u(t- \delta ))\vert _{t+\delta } ]\\ \hphantom{-dp(t)=}{}+\mathbb{E} [L_{\mu }(\varUpsilon (t),u(t),u(t-\delta )) ]\phi _{x}(x(t))\\ \hphantom{-dp(t)=}{}+\mathbb{E} [L_{ \mu _{\delta }}(\varUpsilon (t),u(t),u(t-\delta ))\vert _{t+\delta } ] \mathbb{E}^{\mathcal{F}_{t}} [\phi _{x_{\delta }}(x(t-\delta )) \vert _{t+\delta } ] \} \}\,dt\\ \hphantom{-dp(t)=}{}-k(t)\,dB(t), \quad t\in [0,T], \\ p(T)= \alpha \{\varPhi _{x}(x(T),\mathbb{E}\chi (x(T)))+ \mathbb{E} [\varPhi _{\mu }(x(T),\mathbb{E}\chi (x(T))) ]\chi _{x}(x(T)) \}\\ \hphantom{p(T)=}{}+\gamma G_{x}(x(T)),\\ p(t)= 0, \qquad k(t)=0, \quad t \in (T,T+\delta ]. \end{cases} $$
(55)

We can check the convergence of \((p^{\rho }(\cdot ),k^{\rho }(\cdot ))\) by Theorem 2.2, i.e.,

$$ \lim_{\rho \rightarrow 0}\mathbb{E} \biggl[\sup _{0\leq t \leq T} \bigl\vert p^{\rho }(t)-p(t) \bigr\vert ^{2}+ \int ^{T}_{0} \bigl\vert k^{\rho }(t)-k(t) \bigr\vert ^{2}\,dt \biggr]=0, $$
(56)

where \((p^{\rho }(\cdot ),k^{\rho }(\cdot ))\) is the solution of the adjoint equation (49).

Consequently, letting \(\rho \rightarrow 0^{+}\) in (53), we have

$$\begin{aligned} &\mathbb{E} \bigl\{ \alpha \bigl[L \bigl(\varUpsilon (t),v(t),u(t-\delta )\bigr)-L\bigl( \varUpsilon (t),u(t),u(t-\delta ) \bigr) \bigr] \\ &\qquad{}+ \bigl[b\bigl(\varGamma (t),v(t),u(t- \delta )\bigr)-b\bigl(\varGamma (t),u(t),u(t-\delta )\bigr) \bigr]p(t) \\ &\qquad{}+\mathbb{E}^{ \mathcal{F}_{t}} \bigl\{ \alpha \bigl[L\bigl(\varUpsilon (t+ \delta ),u(t+\delta ),v(t)\bigr)-L\bigl(\varUpsilon (t+\delta ),u(t+\delta ),u(t) \bigr) \bigr] \\ &\qquad{}+ \bigl[b\bigl( \varGamma (t+\delta ),u(t+\delta ),v(t)\bigr)-b\bigl( \varGamma (t+\delta ),u(t+\delta ),u(t)\bigr) \bigr]p(t+\delta ) \bigr\} \bigr\} \\ &\quad \geq 0. \end{aligned}$$
(57)

We also need to drop the expectation in (57). In fact, (57) holds for all \(v(\cdot )\in \mathcal{U}\) since \(v(\cdot )\) is arbitrary. For any \(v\in U\) and \(A\in \mathcal{F}_{t}\), we define \(v(t)=vI_{A}+u(t)I_{\bar{A}}\). Then \(v(\cdot )\in \mathcal{U}\) and taking this \(v(\cdot )\) into (57), we have

$$ \begin{aligned}[b] &\mathbb{E} \bigl\{ \alpha \bigl[L \bigl(\varUpsilon (t),v,u(t-\delta )\bigr)-L\bigl(\varUpsilon (t),u(t),u(t-\delta ) \bigr) \bigr]I_{A} \\ &\qquad{}+ \bigl[b\bigl(\varGamma (t),v,u(t-\delta )\bigr)-b\bigl( \varGamma (t),u(t),u(t-\delta )\bigr) \bigr]I_{A}p(t) \\ &\qquad{}+\mathbb{E}^{ \mathcal{F}_{t}} \bigl\{ \alpha \bigl[L\bigl( \varUpsilon (t+ \delta ),u(t+\delta ),v\bigr)-L\bigl(\varUpsilon (t+\delta ),u(t+ \delta ),u(t)\bigr) \bigr]I_{A} \\ &\qquad{}+ \bigl[b\bigl( \varGamma (t+\delta ),u(t+\delta ),v\bigr)-b\bigl( \varGamma (t+\delta ),u(t+\delta ),u(t)\bigr) \bigr]I_{A}p(t+\delta ) \bigr\} \bigr\} \\ &\quad \geq 0. \end{aligned} $$
(58)

Since \(A\in \mathcal{F}_{t}\) is chosen arbitrarily, it implies that

$$ \begin{aligned} &\mathbb{E}^{\mathcal{F}_{t}} \bigl\{ \alpha \bigl[L \bigl(\varUpsilon (t),v,u(t- \delta )\bigr)-L\bigl(\varUpsilon (t),u(t),u(t-\delta ) \bigr) \bigr] \\ &\qquad{}+ \bigl[b\bigl(\varGamma (t),v,u(t- \delta )\bigr)-b\bigl(\varGamma (t),u(t),u(t-\delta )\bigr) \bigr]p(t) \\ &\qquad{}+\mathbb{E}^{ \mathcal{F}_{t}} \bigl\{ \alpha \bigl[L\bigl( \varUpsilon (t+ \delta ),u(t+\delta ),v\bigr)-L\bigl(\varUpsilon (t+\delta ),u(t+ \delta ),u(t)\bigr) \bigr] \\ &\qquad{}+ \bigl[b\bigl(\varGamma (t+\delta ),u(t+\delta ),v\bigr)-b\bigl( \varGamma (t+\delta ),u(t+\delta ),u(t)\bigr) \bigr]p(t+\delta ) \bigr\} \bigr\} \\ &\quad \geq 0. \end{aligned} $$

This will lead to

$$ \begin{aligned} &\alpha \bigl[L\bigl(\varUpsilon (t),v,u(t-\delta ) \bigr)-L\bigl(\varUpsilon (t),u(t),u(t- \delta )\bigr) \bigr] \\ &\qquad{}+ \bigl[b\bigl(\varGamma (t),v,u(t-\delta )\bigr)-b\bigl(\varGamma (t),u(t),u(t- \delta )\bigr) \bigr]p(t) \\ &\qquad{}+\mathbb{E}^{\mathcal{F}_{t}} \bigl\{ \alpha \bigl[L\bigl(\varUpsilon (t+ \delta ),u(t+\delta ),v\bigr)-L\bigl(\varUpsilon (t+\delta ),u(t+ \delta ),u(t)\bigr) \bigr] \\ &\qquad{}+ \bigl[b\bigl(\varGamma (t+\delta ),u(t+\delta ),v\bigr)-b\bigl( \varGamma (t+ \delta ),u(t+\delta ),u(t)\bigr) \bigr]p(t+\delta ) \bigr\} \\ &\quad \geq 0. \end{aligned} $$

Let us introduce the following Hamiltonian:

$$ \begin{aligned}[b] &H(t,x,x_{\delta },\mu _{1},\mu _{1\delta },\mu _{3},\mu _{3\delta },v,v _{\delta },p,\alpha ) \\ &\quad =b(t,x,x_{\delta },\mu _{1},\mu _{1\delta },v,v _{\delta })p+\alpha L(t,x,x_{\delta },\mu _{3},\mu _{3\delta },v,v_{ \delta }). \end{aligned} $$
(59)

Set

$$\begin{aligned} &\mathcal{H}(t,v) \\ &\quad =H\bigl(t,x(t),x(t-\delta ),\mathbb{E}\psi \bigl(x(t)\bigr),\mathbb{E} \psi \bigl(x(t-\delta )\bigr), \\ &\qquad\mathbb{E}\phi \bigl(x(t)\bigr),\mathbb{E}\phi \bigl(x(t- \delta )\bigr),v,u(t-\delta ),p(t),\alpha \bigr) \\ &\qquad{}+ \mathbb{E}^{\mathcal{F} _{t}} [H\bigl(t+\delta ,\mathbb{E}\psi \bigl(x(t+\delta )\bigr),\mathbb{E}\psi \bigl(x(t)\bigr),\mathbb{E}\phi \bigl(x(t+\delta )\bigr), \\ &\qquad\mathbb{E}\phi \bigl(x(t)\bigr),u(t+\delta ),v,p(t+ \delta ),\alpha \bigr). \end{aligned}$$
(60)

We have \(\mathcal{H}(t,v)\geq \mathcal{H}(t,u(t))\), \(\forall v\in U\), a.e. \(t\in [0,T]\), P-a.s.

In summary of the above analysis, we can get the following maximum principle.

Theorem 4.7

Let \((u(\cdot ),x(\cdot ))\) be an optimal solution of the Problem 3.1 and Assumption (H2) hold. Then there exist \(\alpha ,\gamma \in \mathbb{R}\) with \(\vert \alpha \vert ^{2}+\vert \gamma \vert ^{2}=1\) such that

$$ \begin{aligned} &(\mathrm{i})\quad \bigl(p(\cdot ),k(\cdot )\bigr) \textit{ is a unique solution of }(55); \\ &(\mathrm{ii})\quad \mathcal{H}(t,v)\geq \mathcal{H}\bigl(t,u(t)\bigr),\\ &\hphantom{(\mathrm{ii})\quad } \quad \forall v \in U,\textit{ a.e. } t\in [0,T], P\textit{-a.s., where } \mathcal{H} \textit{ is defined in }(60). \end{aligned} $$
(61)

Remark 4.8

When \(G(x)=0\), the state constraint will disappear and the results in our paper will degenerate to the case without state constraint.

5 Application

To conclude this paper, we apply our maximum principle to study a kind of optimal harvesting problem for a mean-field system. The model of our problem comes from Hu, Øksendal and Sulem [17]. We modify the model to be a delayed system with continuous harvesting as follows:

$$ \textstyle\begin{cases} dx(t) = \{b_{1}(t)x(t)+b_{2}(t)x(t-\delta )+b_{3}(t)\mathbb{E}[x(t)]- \lambda _{1}v(t)-\lambda _{2}v(t-\delta ) \})\,dt \\ \hphantom{dx(t) =}{}+ \{\sigma _{1}(t)x(t)+ \sigma _{2}(t)\mathbb{E}[x(t)] \}\,dB(t),\quad t \in [0,T] \\ x(0)=x _{0}(t)>0,\quad t \in [-\delta ,0]. \end{cases} $$
(62)

Here \(x(t)\) is the density of an unharvested population at time t and \(v(t)\) is the harvesting effort and \(\lambda _{1},\lambda _{2}>0\) are the given harvesting efficiency coefficients.

The performance functional is assumed to be of the form

$$ J\bigl(v(\cdot )\bigr)=-\mathbb{E} \int ^{T}_{0} \bigl\{ L_{1}(t)x(t)+L_{2}(t) \mathbb{E}\bigl[x(t)\bigr]+L_{3}(t)v^{2}(t) \bigr\} \,dt- \mathbb{E}\bigl[Kx(T)\bigr], $$
(63)

where \(K=K(\omega )>0\) is \(\mathcal{F}_{T}\)-measurable, representing the salvage price. Our problem is to minimize above \(J(v(\cdot ))\) under the constraint (11). For simplicity, we assume all the coefficients \(b_{i}(t)\) (\(i=1,2,3\)), \(\sigma _{i}(t)\) (\(i=1,2\)) and \(L_{i}(t)>0\) (\(i=1,2,3\)) are deterministic functions on \([0,T]\).

Proposition 5.1

Assume \(\alpha >0\), \(\gamma >0\) and the constraint function \(G(x)\) is convex. Then the optimal control of the mean-field harvesting problem with delay is

$$ u(t)=-\frac{\lambda _{2}p_{0}(t)+\lambda _{2}\mathbb{E}^{\mathcal{F} _{t}}[p_{0}(t+\delta )]}{2\alpha L_{3}(t)}, $$
(64)

where \(p_{0}(t)\) is solution of the following adjoint equation:

$$ \textstyle\begin{cases} -dp_{0}(t) = \{b_{1}(t)p_{0}(t)+\mathbb{E}^{\mathcal{F}_{t}}[b _{2}(t+\delta )p_{0}(t+\delta )]+\mathbb{E}[b_{3}(t)p_{0}(t)]\\ \hphantom{-dp_{0}(t) =}{}+ \sigma _{1}(t)k_{0}(t)+\mathbb{E}[\sigma _{2}(t)k_{0}(t)]-\alpha [L_{1}(t)+L _{2}(t)] \}\,dt\\ \hphantom{-dp_{0}(t) =}{}-k_{0}(t)\,dB(t),\quad t \in [0,T], \\ p_{0}(T)=-\alpha K+ \gamma G_{x}(x(T)),\\ p_{0}(t)=0,\qquad k_{0}(t)=0, \quad t \in (T,T+\delta ]. \end{cases} $$
(65)

Proof

Applying the necessary condition (61) in Theorem 4.7, the control of the form (64) is a candidate of the optimal controls. We also need to prove the optimality of \(u(t)\). Suppose \(x(t)\) is the trajectory of \(u(t)\) and \(v(t)\in \mathcal{U}_{\mathrm{ad}}\) with \(x^{v}(t)\) being its corresponding trajectory. Let us denote \(\bar{x}(t)=x^{v}(t)-x(t)\). Applying Itô’s formula to \(\bar{x}(t)p_{0}(t)\) we have

$$ \begin{aligned}[b] &\mathbb{E}\bigl[p_{0}(T) \bar{x}(T)\bigr] \\ &\quad =\mathbb{E} \int ^{T}_{0} \bigl\{ \alpha \bar{x}(t) \bigl[L_{1}(t)+L_{2}(t)\bigr]\\ &\qquad {}-\lambda _{1}p_{0}(t)\bigl[v(t)-u(t)\bigr]- \lambda _{2}p_{0}(t)\bigl[v(t-\delta )-u(t-\delta )\bigr] \bigr\} \,dt. \end{aligned} $$
(66)

For the mean-field optimal harvesting problem, we have

$$ \begin{aligned}[b] &\mathbb{E} \int ^{T}_{0} \bigl[\mathcal{H}\bigl(t,v(t) \bigr)-\mathcal{H}\bigl(t,u(t)\bigr) \bigr]\,dt \\ &\quad =\mathbb{E} \int ^{T}_{0} \bigl\{ -\lambda _{1}p_{0}(t)\bigl[v(t)-u(t)\bigr] \\ &\qquad {}-\lambda _{2}\mathbb{E}^{\mathcal{F}_{t}} \bigl[p_{0}(t+\delta )\bigr] \bigl[v(t)-u(t)\bigr]- \alpha L_{3}(t)\bigl[v^{2}(t)-u^{2}(t)\bigr] \bigr\} \,dt. \end{aligned} $$
(67)

Using a change of time variables we conclude that

$$ \mathbb{E} \int ^{T}_{0} \bigl\{ \lambda _{2}p_{0}(t)\bigl[v(t-\delta )-u(t- \delta )\bigr]- \lambda _{2}\mathbb{E}^{\mathcal{F}_{t}}\bigl[p_{0}(t+ \delta )\bigr] \bigl[v(t)-u(t)\bigr] \bigr\} \,dt=0. $$

Thus, Eqs. (66) and (67) lead to

$$ \begin{aligned}[b] &\mathbb{E}\bigl[\gamma \bar{x}(T)G_{x}\bigl(x(T)\bigr)\bigr]-\mathbb{E} \int ^{T}_{0} \alpha \bigl\{ \bar{x}(t) \bigl[L_{1}(t)+L_{2}(t)\bigr]+L_{3}(t) \bigl[v^{2}(t)-u^{2}(t)\bigr] \bigr\} \,dt \\ &\quad =\mathbb{E}\bigl[\gamma \bar{x}(T)G_{x}\bigl(x(T)\bigr) \bigr]+\alpha \bigl[J\bigl(v( \cdot )\bigr)-J\bigl(u(\cdot )\bigr)\bigr] \\ &\quad =\mathbb{E} \int ^{T}_{0} \bigl[\mathcal{H}\bigl(t,v(t) \bigr)- \mathcal{H}\bigl(t,u(t)\bigr) \bigr]\,dt \\ &\quad \geq 0. \end{aligned} $$
(68)

Furthermore, we can get

$$\begin{aligned} &J\bigl(v(\cdot )\bigr)-J\bigl(u( \cdot )\bigr) \\ &\quad \geq -\frac{\gamma }{\alpha }\mathbb{E}\bigl[G _{x}\bigl(x(T) \bigr)\bar{x}(T)\bigr] \\ &\quad \geq -\frac{\gamma }{\alpha }\mathbb{E}\bigl[G\bigl(x ^{v}(T) \bigr)-G\bigl(x(T)\bigr)\bigr] \\ &\quad =0, \end{aligned}$$
(69)

since we have the constraint condition \(\mathbb{E}[G(x(T))]= \mathbb{E}[G(x^{v}(T))]=0\) and G is convex. The proof of the optimality is completed. □

Remark 5.2

An example of the constraint function is \(G(x)=((N-x)^{+})^{2}\) with a fixed constant N. And this state constraint condition implies that \(x(T)\geq N\) a.s.

References

  1. Kac, M.: Foundations of kinetic theory, Berkeley symposium on mathematical statistics and probability. In: Third Berkeley Symposium on Mathematical Statistics and Probability, pp. 101–110 (1956)

    Google Scholar 

  2. Mckean, H.P.: A class of Markov processes associated with nonlinear parabolic equations. Proc. Natl. Acad. Sci. USA 56(6), 1907–1911 (1966)

    Article  MathSciNet  MATH  Google Scholar 

  3. Cardaliaguet, P.: Notes on mean field games. Technical report, (2010)

  4. Buckdahn, R., Li, J., Ma, J.: A stochastic maximum principle for general mean-field systems. Appl. Math. Optim. 74(3), 507–534 (2016)

    Article  MathSciNet  MATH  Google Scholar 

  5. Agram, N., Øksendal, B.: Mean-field stochastic control with elephant memory in finite and infinite time horizon. arXiv preprint (2018). arXiv:1804.09918

  6. Agram, N., Øksendal, B.: Stochastic control of memory mean-field processes. Appl. Math. Optim. 2, 1–24 (2017)

    MATH  Google Scholar 

  7. Buckdahn, R., Djehiche, B., Li, J.: A general stochastic maximum principle for sdes of mean-field type. Appl. Math. Optim. 64(2), 197–216 (2011)

    Article  MathSciNet  MATH  Google Scholar 

  8. Buckdahn, R., Li, J., Peng, S.: Mean-field backward stochastic differential equations and related partial differential equations. Stoch. Process. Appl. 119(10), 3133–3154 (2009)

    Article  MathSciNet  MATH  Google Scholar 

  9. Carmona, R., Delarue, F., et al.: Forward–backward stochastic differential equations and controlled McKean–Vlasov dynamics. Ann. Probab. 43(5), 2647–2700 (2015)

    Article  MathSciNet  MATH  Google Scholar 

  10. Lasry, J.M., Lions, P.L.: Mean field games. Jpn. J. Math. 2(1), 229–260 (2007)

    Article  MathSciNet  MATH  Google Scholar 

  11. Carmona, R., Delarue, F.: Probabilistic analysis of mean-field games. SIAM J. Control Optim. 51(4), 2705–2734 (2013)

    Article  MathSciNet  MATH  Google Scholar 

  12. Li, J.: Stochastic maximum principle in the mean-field controls. Automatica 48(2), 366–373 (2012)

    Article  MathSciNet  MATH  Google Scholar 

  13. Yong, J.: Linear–quadratic optimal control problems for mean-field stochastic differential equations. SIAM J. Control Optim. 51(4), 2809–2838 (2013)

    Article  MathSciNet  MATH  Google Scholar 

  14. Huang, J., Li, X., Yong, J.: A linear–quadratic optimal control problem for mean-field stochastic differential equations in infinite horizon. Math. Control Relat. Fields 5(1), 97–139 (2015)

    Article  MathSciNet  MATH  Google Scholar 

  15. Li, X., Sun, J., Yong, J.: Mean-field stochastic linear quadratic optimal control problems: closed-loop solvability. Probab. Uncertain. Quant. Risk 1(1), 1–24 (2016)

    Article  MathSciNet  Google Scholar 

  16. Andersson, D., Djehiche, B.: A maximum principle for sdes of mean-field type. Appl. Math. Lett. 63(3), 341–356 (2011)

    MathSciNet  MATH  Google Scholar 

  17. Hu, Y., Øksendal, B., Sulem, A.: Singular mean-field control games. Stoch. Anal. Appl. 35(5), 1–29 (2017)

    Article  MathSciNet  MATH  Google Scholar 

  18. Menaldi, J.M., Rofman, E.: In: Sulem, A., Øksendal, B., Sulem, A. (eds.) Optimal Control and Partial Differential Equations—Innovations and Applications (2000)

    Google Scholar 

  19. Chen, L., Wu, Z.: Maximum principle for stochastic optimal control problem of forward–backward system with delay. In: IEEE Conference on Decision & Control, pp. 16–18 (2009). IEEE

    Google Scholar 

  20. Chen, L., Wu, Z.: Maximum principle for the stochastic optimal control problem with delay and application. Automatica 46(6), 1074–1080 (2009)

    Article  MathSciNet  MATH  Google Scholar 

  21. Peng, S.: A general stochastic maximum principle for optimal control problems. SIAM J. Control Optim. 28(4), 966–979 (1990)

    Article  MathSciNet  MATH  Google Scholar 

  22. Yu, Z.: The stochastic maximum principle for optimal control problems of delay systems involving continuous and impulse controls. Automatica 48(10), 2420–2432 (2012)

    Article  MathSciNet  MATH  Google Scholar 

  23. Zhang, F.: Maximum principle for delayed stochastic linear–quadratic control problem with state constraint. J. Appl. Math. 2013, Article ID 964765 (2013)

    MathSciNet  MATH  Google Scholar 

  24. Ying, H., Peng, S.: Maximum principle for semilinear stochastic evolution control systems. Stoch. Int. J. Probab. Stoch. Process. 33(3–4), 159–180 (1990)

    MathSciNet  MATH  Google Scholar 

  25. Yong, J., Zhou, X.: Stochastic controls: Hamiltonian systems and hjb equations. In: Karatzas, I., Yor, M. (eds.) Applications of Mathematics, 1st edn., vol. 43, pp. 101–156. Springer, New York (1999)

    Google Scholar 

  26. Ekeland, I.: On the variational principle. J. Math. Anal. Appl. 47(2), 324–353 (1974)

    Article  MathSciNet  MATH  Google Scholar 

Download references

Funding

This work is supported by National Natural Science Foundation of China (11301530).

Author information

Authors and Affiliations

Authors

Contributions

All authors have contributed equally in this paper. All authors read and approved the final manuscript.

Corresponding author

Correspondence to Li Chen.

Ethics declarations

Competing interests

The authors declare that they have no competing interests.

Additional information

Publisher’s Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Open Access This article is distributed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Chen, L., Wang, J. Maximum principle for delayed stochastic mean-field control problem with state constraint. Adv Differ Equ 2019, 348 (2019). https://doi.org/10.1186/s13662-019-2283-1

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1186/s13662-019-2283-1

Keywords