\documentclass[reqno]{amsart}
\usepackage{hyperref}
\usepackage{amssymb}

\AtBeginDocument{{\noindent\small
\emph{Electronic Journal of Differential Equations},
Vol. 2017 (2017), No. 186, pp. 1--24.\newline
ISSN: 1072-6691. URL: http://ejde.math.txstate.edu or http://ejde.math.unt.edu}
\thanks{\copyright 2017 Texas State University.}
\vspace{8mm}}

\begin{document}
\title[\hfilneg EJDE-2017/186\hfil Approximate controllability of elliptic problems]
{Approximate controllability of a semilinear elliptic problem with Robin
condition in a periodically perforated domain}

\author[N. Agarwal, C. Conca, I. Mishra \hfil EJDE-2017/186\hfilneg]
{Nikita Agarwal, Carlos Conca, Indira Mishra}

\address{Nikita Agarwal \newline
Indian Institute of Science Education and Research Bhopal,
Bhopal Bypass Road, Bhauri,
Bhopal 462 066
Madhya Pradesh, India}
\email{nagarwal@iiserb.ac.in}

\address{Carlos Conca \newline
Department of Mathematical Engineering (DIM),
Center for Mathematical Modelling (CMM, UMI CNRS 2807),
Center for Biotechnology and Bioengineering (CeBiB),
University of Chile,
Beaucheff 851, Santiago, Chile}
\email{cconca@dim.uchile.cl}

\address{Indira Mishra \newline
Indian Institute of Science Education and Research Bhopal,
Bhopal Bypass Road, Bhauri,
Bhopal 462 066,
Madhya Pradesh, India}
\email{indira.mishra1@gmail.com, indira@iiserb.ac.in}

\dedicatory{Communicated by Jesus Ildefonso Diaz}

\thanks{Submitted February 4, 2017. Published July 23, 2017.}
\subjclass[2010]{35J15, 35B27, 35J57, 49J20}
\keywords{Approximate controllability; semilinear elliptic equation;
\hfill\break\indent  homogenization; periodic perforated domain;
 Robin boundary condition}

\begin{abstract}
 In this article, we study the approximate controllability and homegenization
 results of a semi-linear elliptic problem with Robin boundary condition in 
 a periodically perforated domain. We prove the existence of minimal norm 
 control using Lions constructive approach, which is based on 
 Fenchel-Rockafeller duality theory, and by means of Zuazua's fixed point 
 arguments. Then,  as the homogenization parameter goes to zero, we link the 
 limit of the optimal controls (the limit of fixed point of the controllability 
 problems) with the optimal control of the corresponding homogenized problem.
\end{abstract}

\maketitle
\numberwithin{equation}{section}
\newtheorem{theorem}{Theorem}[section]
\newtheorem{lemma}[theorem]{Lemma}
\newtheorem{remark}[theorem]{Remark}
\allowdisplaybreaks

\section{Introduction}

Periodic homogenization (without holes) has been studied during late 1960's,
we refer to the reader the classical works of Spagnolo \cite{spag},
 Bensoussan et al.\  \cite{BLP-78} and S\'anchez-Palencia \cite{san-pal}.
 For the further developments concerning the perforated domains and periodic
structures, we refer to Lions \cite{lions-81},  Cioranescu and Saint Jean Paulin
\cite{CJP-99}.
Let us now describe the setting of the problem.


 Let $\Omega$ be a bounded, connected open set in $\mathbb{R}^N$, with smooth
boundary $\partial \Omega$.
From the geometrical point of view, we shall consider the periodic structures
obtained by removing periodically from $\Omega$,
with period $\varepsilon Y$ (where $Y$ is a given hyperrectangle in $\mathbb{R}^N$).
The reference hole $T$ which has been appropriately rescaled and is strictly
included in $Y$.
Precisely, let $Y=(0, l_1)\times \dots \times(0, l_N)$ be the reference cell,
with $l_1, \dots, l_N>0$. The reference hole
$T$ is an open set such that $T\Subset Y$. We denote by $\varepsilon$ a
positive parameter taking its values in
a decreasing positive sequence which tends to zero. Set
\[
\tau(\varepsilon \overline T)=\{\varepsilon (k(l)+\overline T),  k\in \mathbb{Z}^N,
\quad k(l)=(k_1l_1,\dots, k_Nl_N)\}.
\]
Assume that for any $\varepsilon$ there exists a subset $\mathcal{K}_\varepsilon$
of $\mathbb{Z}^N$ such that
\[
T_\varepsilon=\Omega \cap \tau(\varepsilon \overline T)
= \cup_{k\in \mathcal{K}_\varepsilon} \big(\varepsilon (k(l)+ \overline T) \big).
\]
Then for any $\varepsilon>0$, we define the perforated domain $\Omega_\varepsilon$ by
\[
\Omega_\varepsilon= \Omega \setminus \tau(\varepsilon \overline T)
\]
and thus we obtain
$$
\partial \Omega_\varepsilon= \partial \Omega \cup \partial T_\varepsilon.
$$
Hence, $\Omega_\varepsilon$ is a periodic domain with periodically distributed holes
of the size of the same order as the period.
We introduce two nonempty sub-domains of $\Omega$, which are the control 
region $\omega$ and the observable region $S$, where the error between 
the obtained and the desired state has to be minimized, respectively.

 We let $\omega$ and $S$ to be two  open subsets of $\Omega$, with $S$ compactly
contained in $\omega$ and set
\begin{equation*}
\omega_\varepsilon=\omega\cap\Omega_\varepsilon, \quad S_\varepsilon= S\cap\Omega_\varepsilon.
\end{equation*}
For the constants $0<\alpha_m\le \alpha_M$, let $A(y)=(a_{ij}(y))_{1\le i,j\le N}$ be
$N\times N$ matrix valued function lying in the space
$\mathcal{M}(\alpha_m,\alpha_M,\Omega)$,
which is  defined as:
\begin{equation}\label{matrix}
\begin{aligned}
&\mathcal{M}(\alpha_m,\alpha_M,\Omega) \\
&:=\begin{cases}
A\in L^\infty(\Omega)^{N\times N},  & \text{a.e.  on }\Omega,\\
A \text{ is  $Y$-periodic},\\
\big(A(x)\lambda, \lambda\big) \ge  \alpha_m(|\lambda|^2)\text{ and }
|A(x)\lambda| \le \alpha_M|\lambda|, & \forall \lambda\in \mathbb{R}^N.
\end{cases}
\end{aligned}
\end{equation}
Let us denote, for any $\varepsilon>0$,
\[
A^\varepsilon(x)=A\Big(\frac{x}{\varepsilon}\Big) \quad\text{a.e.  in } \Omega.
\]
Then for each $\varepsilon>0$, we consider the state equation
\begin{equation} \label{maineq}
\begin{gathered}
-\operatorname{div}(A^\varepsilon\nabla y_\varepsilon(v_\varepsilon))+f(y_\varepsilon(v_\varepsilon))
=\chi_{\omega_\varepsilon} v_\varepsilon \quad \text{in  } \Omega_\varepsilon, \\
(A^\varepsilon\nabla y_\varepsilon(v_\varepsilon))\cdot n_\varepsilon+h \varepsilon y_\varepsilon(v_\varepsilon)
=\varepsilon g^\varepsilon  \quad \text{on  } \partial T^\varepsilon, \\
y_\varepsilon(v_\varepsilon)=0 \quad \text{on } \partial \Omega,
\end{gathered}
\end{equation}
where $f$ is real valued continuous function for which we assume that
\begin{equation}\label{f1}
f(0)=0 \quad \text{ and  } \exists \gamma>0, \quad
 0\le \frac{f(s)}{s}\le \gamma,\; \forall  s\in \mathbb{R}\setminus \{0\}
\end{equation}
and $h$ is a real, positive number, $g^\varepsilon(x)=g(\frac{x}{\varepsilon})$,
where $g$ is $Y$-periodic function in $L^2(\partial T)$,
$v_\varepsilon$ is the control supported in $\omega_\varepsilon$ and $y_\varepsilon(v_\varepsilon)$
is the associated state. Let us now consider the control problem to be addressed.

\subsection*{Control Problem}
Given $\varepsilon>0$, $\alpha>0$, $y_{1\varepsilon}\in L^2(S_\varepsilon)$, find a control
$v_\varepsilon$ with support in $\omega_\varepsilon$ such that
\begin{equation}
\|y_\varepsilon(v_\varepsilon)|_{S_\varepsilon}-y_{1\varepsilon}\|_{0, S_\varepsilon}\le \alpha, \label{eq2}
\end{equation}
where $y_\varepsilon(v_\varepsilon)|_{S_\varepsilon}$ is just the restriction of $y_\varepsilon(v_\varepsilon)$
to $S_\varepsilon$.
\smallskip

 By the approximate controllability \eqref{eq2}, we mean that the $L^2$-distance
 between the obtained state observed on $S_\varepsilon$ \big($y_\varepsilon(v_\varepsilon)|_{S_\varepsilon}$\big)
and the desired state ($y_{1\varepsilon}$) will be approximated by the given prescribed
precision $\alpha$.

A real life application of the above control problem (in a fixed domain)
is the following: consider a polluted sand filter occupying some domain $\Omega$
(with a fixed flow rate of pollutant). In $\Omega $ there is thus a granular /
 porous medium where, once the situation is idealized, the parameter
$\varepsilon$ represents both the characteristic pore length and the distance
between adjacent grains. We add a suitable chemical reactant with concentration
 $v$ (a control), to the control region $\omega\subseteq\Omega$ of the filter.
Let $y(v)$ be the resulting concentration of the pollutant (which satisfies
some elliptic boundary value problem in $\Omega$). The problem is to find the
optimal concentration of reagent to control the contaminant (altering its chemical
state) throughout the region $\Omega$.

In this article, we first study for each $\varepsilon>0$, the approximate 
internal controllability of the $\varepsilon$-problem \eqref{maineq}
with the Robin boundary condition, in a periodically perforated domain.
Among these controls, we obtain the optimal one, which minimizes the given
cost-functional, see for instance \cite{puel, puel1}. We refer \cite{conca-03}
for the similar result in a fixed domain and, \cite{CDEI-16} in a perforated
domain respectively.
The existence of the optimal control is established by means of a combination
of Fenchel-Rockefellar duality theory \cite{et} and the Zuazua's fixed point
argument \cite{zua91}, introduced in the context of wave equation.
Later this technique has been adapted in Fabre et al.\ \cite{fabre} to deal with
the semilinear heat equation.

 Our second main result consists of proving the convergence of the optimal controls
associated to the linearized $\varepsilon$-problem of \eqref{maineq}.
In the process, we pass to the limit in the cost-functional, homogenize the state
and the adjoint equation.  We end with identifying the weak limit $v_0$ of the
optimal controls $v_\varepsilon^*$ with the optimal element of the homogenized 
problem, which minimizes the limit cost-functional. Using the techniques by
Zuazua \cite{zua-94}, we observe that the minimizers of the cost-functionals
are uniformly bounded. Thus we were able to apply the results of Donato
and N\"abil \cite{DN-97} to obtain the weak convergence of the minimizers.
This allows us to pass to the limit in the cost-functional.
The homogenization results using the periodic unfolding method, for the equations
of the form \eqref{maineq} are given by Cioranescu and Donato \cite[Section 6]{CD-06}.
 However, here we use the classical energy method introduced by
Tartar \cite{tartar-77, tartar-78} for the homogenization. It consists of
constructing the suitable test functions that are used in the variational problems.
Such test-functions were also used in \cite{con-04}, where the authors have
studied the homogenization of certain nonlinear models involving chemical reactive
flows.


 Approximate internal control problems were introduced by
Lions \cite{lions0, lions1}, also see \cite{zua-94}. The approximate controllability
and homogenization results for the parabolic equations has been studied by Donato
and N\"abil \cite{DN-97, DN-2001} for the periodically perforated domain.
Later, Conca et al.\  studied the $L^2$-approximate controllability and
homogenization of an elliptic boundary value problem in  \cite{con-01} for a
fixed domain and, in \cite{CDEI-16} for a perforated domain with Neumann
conditions on the boundary of holes. Then it was natural to look at the same
problem in a periodically perforated domain. We have considered this problem
with Robin boundary conditions on the boundary of holes, which is even more
general condition. Thus our paper generalizes these results for the elliptic
equations in a periodically perforated domain.

 The organization of this paper is as follows:
In Section \ref{s2}, we introduce certain notations, a functional space,
 recall extension operators and some convergence results of the solutions
in a periodically perforated domain. In subsection \ref{lin_adj},
we linearize the problem \eqref{maineq} and introduce the adjoint problem
of the linearized one. In subsection \ref{sopt_cont}, using Fenchel-Rockafellar's
duality theory we obtain an expression for optimal control, in terms
of dual variable. In Section \ref{s3}, we state two main results of the paper.
In Section \ref{s-thm1}, we prove our first main result Theorem \ref{thm:main1}
and the second main result, Theorem \ref{thm:main2} is proved in
Section \ref{s-thm2}.

\section{Preliminaries} \label{s2}

In this section, we recall some definitions, lemmas and other preparatory
results to be used in the sequel. First we mention certain notation:
\begin{itemize}
\item $Y^*=Y\setminus \overline T$.

\item $|E|$ is the Lebesgue measure of the measurable set $E$.

\item $\theta=|Y^*|/|Y|$ the proportion of the material.

\item $\mathcal{M}_Y(v)=$ the mean value of $v$ over the measurable set $Y$.

\item $\chi_E$ is the characteristic function of the set $E$.

\item $\delta_{E}$ is the Dirac mass concentrated on the set $E$.

\item $\tilde{u}$ is the extension by zero on $E$ of any function $u$ 
 defined on $E_\varepsilon=E\cap \Omega_\varepsilon$.

\item $(n_\varepsilon)=(n_\varepsilon^i)_{i=1}^N$ the unit external normal vector with respect to $Y\setminus T$ or
$\Omega_\varepsilon$.

\item $\langle \cdot, \cdot \rangle_E$ denotes the inner product  $\langle \cdot, \cdot \rangle_{L^2(E)}$.

\item $\|\cdot\|_{0,E}$,  $\|\cdot\|_{1,E}$, represents the $L^2$ and $H^1$-norms defined over the set
$E$ respectively.
\end{itemize}
The constants at the various  places are denoted by $C$, which are independent
of $\varepsilon$. Let us recall that
\[
\chi_{\Omega_\varepsilon} \rightharpoonup \theta= |Y^*|/|Y| \quad \text{weak}^* \text{  in  }
 L^\infty(\Omega).
\]
Let us now introduce the functional space
\[
V^\varepsilon=\{v\in H^1(\Omega_\varepsilon) :  v=0 \text{ on  } \partial\Omega\},
\]
 equipped  with  norm
$\|v\|_{V^\varepsilon}:= \|\nabla v\|_{[L^2(\Omega_\varepsilon)]^N}$.


The weak formulation of \eqref{maineq} is:  find $y_\varepsilon\in V_\varepsilon$, such that
\begin{equation}\label{var}
\begin{aligned}
&\int_{\Omega_\varepsilon} A^\varepsilon \nabla y_\varepsilon \nabla \varphi dx
+ \int_{\Omega_\varepsilon} f(y_\varepsilon) \varphi dx
+ h \varepsilon\int_{\partial T\varepsilon}   y_\varepsilon \varphi d\sigma(x)\\
&=\int_{\omega_\varepsilon} v_\varepsilon \varphi+\varepsilon \int_{\partial T_\varepsilon} g^\varepsilon
\varphi d\sigma(x), \quad \text{for  all  } \varphi\in V^\varepsilon.
\end{aligned}
\end{equation}
In the next lemma, we introduce a linear extension operator on $H^1(Y^*)$
and $V^\varepsilon$.

\begin{lemma}[\cite{CJP-79}]    \label{l2.1}
For any $\varepsilon>0$, we obtain
\begin{itemize}
\item [(a)] There exist an extension operator
$P\in \mathcal{L}\big(H^1(Y^*); H^1(Y)\big) $
such that
\[
\|\nabla (P\varphi)\|_{[L^2(Y)]^N} \le C\|\nabla \varphi\|_{[L^2(Y^*)]^N}, \quad
 \text{for all } \varphi\in H^1(Y^*).
\]

\item[(b)] There exists an extension operator
$P^\varepsilon\in \mathcal{L}(V^\varepsilon, H_0^1(\Omega))$ such that
\begin{itemize}
\item[(i)] $P^\varepsilon u=u$ in $ \Omega_\varepsilon$,
\item[(ii)] $\|P^\varepsilon u\|_{L^2(\Omega)}\le C\|u\|_{L^2(\Omega_\varepsilon)}$,
\item[(iii)] $\|\nabla P^\varepsilon u\|_{[L^2(\Omega)]^N}
\le C\|\nabla u\|_{[L^2(\Omega_\varepsilon)]^N}$.
\end{itemize}
\end{itemize}
\end{lemma}

 Note that Lemma \ref{l2.1} provides a Poincar\'e inequality in $V^\varepsilon$ with
a constant independent of $\varepsilon$, that is
\[
\|u\|_{V^\varepsilon}\le C\|\nabla u\|_{[L^2(\Omega_\varepsilon)]^N}.
\]
Let us consider the  elliptic boundary value problem
\begin{equation} \label{ebvp}
\begin{gathered}
-\operatorname{div}(A^\varepsilon\nabla u_\varepsilon)=f \quad \text{in  } \Omega_\varepsilon,
\\
(A^\varepsilon\nabla u_\varepsilon)\cdot n_\varepsilon=0 \quad \text{on  } \partial T^\varepsilon,
\\
u_\varepsilon =0 \quad \text{on  } \partial \Omega.
\end{gathered}
\end{equation}
Now we recall the homogenization results for \eqref{ebvp}, its proof
is available in \cite{CJP-79}.

\begin{theorem} \label{thm2.2}
Let $f\in L^2(\Omega)$. Under the hypotheses \eqref{matrix}-\eqref{f1},
the solution $u_\varepsilon$ of \eqref{ebvp} satisfies
\begin{itemize}
\item[(i)] $P^\varepsilon u_\varepsilon \rightharpoonup u $ weakly  in $ H_0^1(\Omega)$,

\item[(ii)] $\widetilde{(A^\varepsilon \nabla u_\varepsilon)} \rightharpoonup (A^0 \nabla u)$
 weakly  in $[L^2(\Omega)]^N$,
\end{itemize}
where $u$ is the solution of the  problem
\begin{gather*}
-\operatorname{div}(A^0 \nabla u) =\theta f \quad\text{in  } \Omega, \\
u=0 \quad \text{on  } \partial\Omega,
\end{gather*}
and $A^0$ is the same matrix as obtained in \cite{CJP-79}.
\end{theorem}

\begin{remark}[{\cite[Theorem 2]{CJP-79}}] \label{rem2.3} \rm
The homogenized operator $A^0$ and the limit function $u$ do not depend on
the extension operators.
\end{remark}

\subsection{Linearized version and the adjoint problem} \label{lin_adj}

In this section we linearize the nonlinear problem \eqref{maineq} and also
introduce the adjoint problem of \eqref{maineq}.
It is very useful to follow a dual approach introduced by Lions \cite{lions1}.
We conclude this section by finding
an expression for optimal control in terms of dual variable.

 We assume that $f\in C^1(\mathbb{R})$ and define the function
\begin{equation}\label{4.1}
p(s):=
\begin{cases}
f(s)/s & \text{if } s\neq 0,\\
f'(0) & \text{if } s=0.
\end{cases}
\end{equation}
The assumptions on $f$ (see \eqref{f1}), implies that
\begin{equation}
p\in C^0(\mathbb{R}) \quad\text{and}\quad 0\le p(s)\le \gamma, \quad
\text{for all } s\in \mathbb{R}. \label{4.2}
\end{equation}
To the function $p$, we associate the linearized problem
\begin{equation}\label{4.5}
\begin{gathered}
-\operatorname{div}(A^\varepsilon \nabla y_\varepsilon(z,v_\varepsilon))+p(z)y_\varepsilon(z,v_\varepsilon)
=\chi_{\omega_\varepsilon} v_\varepsilon \quad \text{in } \Omega_\varepsilon, \\
(A^\varepsilon \nabla y_\varepsilon)\cdot n_\varepsilon = \varepsilon g^\varepsilon-h \varepsilon y_\varepsilon \quad
 \text{on } \partial T_\varepsilon ,\\
y_\varepsilon(z,v_\varepsilon) = 0 \quad \text{on  } \partial \Omega.
\end{gathered}
\end{equation}
Let us define the operators $L_\varepsilon$ and $L^*_{\varepsilon}$ as follows
\begin{gather}
 L_\varepsilon: L^2(\omega_\varepsilon) \to L^2(S_\varepsilon) :
\quad (v_\varepsilon \mapsto y_\varepsilon(z,v_\varepsilon)|_{S_\varepsilon}) \label{3.1}\\
 L^*_{\varepsilon} : L^2(S_\varepsilon)\to L^2(\omega_\varepsilon) : \quad
(\varphi_{1\varepsilon}\mapsto \varphi_\varepsilon|_{\omega_\varepsilon}), \label{3.2}
\end{gather}
where $\varphi_\varepsilon=\varphi_\varepsilon(z,\varphi_{1\varepsilon})$ satisfies the adjoint
of \eqref{4.5}, which is given by
\begin{equation} \label{dual}
\begin{gathered}
-\operatorname{div}({^t\!A}_\varepsilon\nabla \varphi_\varepsilon(z,\varphi_{1\varepsilon}))
+p(z)\varphi_\varepsilon(z,\varphi_{1\varepsilon})
=\delta_{S_\varepsilon} \varphi_{1\varepsilon} \quad \text{in } \Omega_\varepsilon ,\\
({^t\!A}_\varepsilon\nabla \varphi_\varepsilon)\cdot n_\varepsilon
= -h \varepsilon \varphi_\varepsilon \quad \text{on } \partial T_\varepsilon ,\\
\varphi_\varepsilon(z,\varphi_{1\varepsilon})=0 \quad \text{on } \partial\Omega.
\end{gathered}
\end{equation}

Now we shall give a detailed calculation for the adjoint \eqref{dual} of
the problem \eqref{4.5}.
Multiplying \eqref{4.5} by $\varphi_\varepsilon\in V_\varepsilon$ and integrating by parts,
we obtain
\begin{equation}
\begin{aligned}
&-\int_{\partial \Omega}(A^\varepsilon\nabla y_\varepsilon)\cdot n \varphi_\varepsilon
-\int_{\partial T_\varepsilon}(A^\varepsilon \nabla y_\varepsilon)\cdot n_\varepsilon \varphi_\varepsilon \\
&+\int_{\Omega_\varepsilon} A^\varepsilon\nabla y_\varepsilon\nabla \varphi_\varepsilon
+\int_{\Omega_\varepsilon} p(z) y_\varepsilon\varphi_\varepsilon   \\
&= \int_{\omega_\varepsilon} v_\varepsilon \varphi_\varepsilon\,.
\end{aligned}\label{6.2}
\end{equation}
By the very definition of the operator $L^*_{\varepsilon}$ we see that the right
side in this identity is nothing but
the duality pairing $\langle  v_\varepsilon, L_\varepsilon^* \varphi_{1\varepsilon} \rangle_{\omega_\varepsilon}$.
Thus, the right hand side of \eqref{6.2} can also be written as
\[
\langle  v_\varepsilon, L_\varepsilon^* \varphi_{1\varepsilon} \rangle_{\omega_\varepsilon}
=\langle L_\varepsilon v_{\varepsilon}, \varphi_{1\varepsilon}\rangle_{S_\varepsilon}
= \int_{S_\varepsilon} y_\varepsilon \varphi_{1\varepsilon} %\\
= \langle \delta_{S_\varepsilon}, y_\varepsilon \varphi_{1\varepsilon}\rangle_{\Omega_\varepsilon}.
\]
Since $\varphi_\varepsilon \in V_\varepsilon$, a new integration by parts in \eqref{6.2} yields:
\[
\int_{\partial T_\varepsilon} (h\varepsilon y_\varepsilon-\varepsilon g^\varepsilon) \varphi_\varepsilon
+ \int_{\Omega_\varepsilon} \nabla y_\varepsilon ({^t\!A}^\varepsilon \nabla \varphi_\varepsilon)
 +\int_{\Omega_\varepsilon} p(z) y_\varepsilon \varphi_\varepsilon 
= \langle \delta_{S_\varepsilon}, y_\varepsilon \varphi_{1\varepsilon}\rangle_{\Omega_\varepsilon},
\]
which can also be written as
\begin{align*}
&\int_{\partial T_\varepsilon} h\varepsilon \varphi_\varepsilon y_\varepsilon-\int_{\partial T_\varepsilon} \varepsilon g^\varepsilon
\varphi_\varepsilon +\int_{\partial T_\varepsilon} ({^t\!A}^\varepsilon \nabla \varphi_\varepsilon)
\cdot n_\varepsilon y_\varepsilon  +\int_{\partial \Omega} ({^t\!A}^\varepsilon \nabla
\varphi_\varepsilon)\cdot n y_\varepsilon  \\
&-\int_{\Omega_\varepsilon} \operatorname{div}({^t\!A}^\varepsilon \nabla \varphi_\varepsilon)
\cdot y_\varepsilon +\int_{\Omega_\varepsilon} p(z) y_\varepsilon \varphi_\varepsilon \\
&= \langle \delta_{S_\varepsilon}, y_\varepsilon \varphi_{1\varepsilon}\rangle_{\Omega_\varepsilon}.
\end{align*}
Comparing the coefficients of $y_\varepsilon$ both sides, we obtain the adjoint
problem \eqref{dual}.

\subsection{Optimal control} \label{sopt_cont}

In this section, we obtain the optimal control by using the
Fenchel-Rockafellar's duality
theory, and we also establish an interesting relation between the optimal
control and a solution of the adjoint \eqref{dual}.

 We define the cost functional as follows
\begin{equation} \label{cost}
I^\varepsilon_z(v_\varepsilon)=
\begin{cases}
\frac{1}{2}\|v_\varepsilon\|_{0,\omega_\varepsilon}^2, & \text{if }
\|y_\varepsilon(z,v_\varepsilon)|_{S_\varepsilon}-y_{1\varepsilon}\|_{0,S_\varepsilon}\le \alpha, \\
+\infty & \text{otherwise}.
\end{cases}
\end{equation}
Let us decompose $I^\varepsilon_z(v)$ as
\[
I^\varepsilon_z(v_\varepsilon)=F(v_\varepsilon)+G(L_\varepsilon v_\varepsilon),
\]
where
\begin{equation}                                    \label{4.15}
F(v_\varepsilon)=\frac{1}{2}\|v_\varepsilon\|^2_{0,\omega_\varepsilon} \quad \text{and}\quad
G(L_\varepsilon v_\varepsilon)=\begin{cases}
0 & \text{if } \|y_{\varepsilon|_{S_\varepsilon}}-y_{1\varepsilon}\|_{0,S_\varepsilon} \le \alpha,\\
\infty & \text{otherwise}.
\end{cases}
\end{equation}
Now we state a lemma, which gives the existence of a unique control
minimizing the above cost functional \eqref{cost}.

\begin{lemma} \label{lem2.4}
For a given $z\in L^2(\Omega_\varepsilon)$, let $I^\varepsilon_z(v_\varepsilon^*(z))$
(defined by \eqref{cost}), be a cost functional associated to the linearized
problem \eqref{4.5}. Then by classical linear control theory (see \cite{lions_71}),
it is well known that there exists a unique \emph{minimal norm control $v_\varepsilon^*(z)$},
 which minimizes $I^\varepsilon_z(v_\varepsilon)$ in the sense that
\begin{equation} \label{minm}
I^\varepsilon_z(v_\varepsilon^*(z))=\min_{v_\varepsilon\in L^2(\omega_\varepsilon)} I^\varepsilon_z(v_\varepsilon)< +\infty.
\end{equation}
\end{lemma}

 Let us denote by $y_\varepsilon^*:=y_\varepsilon(z,v_\varepsilon^*(z))$ 
as the corresponding
solution of \eqref{4.5}.
We are now in a position to define the operator $\mathcal{F}_\varepsilon$:
\begin{equation} \label{fix}
\mathcal{F}_\varepsilon: L^2(\Omega_\varepsilon)\to L^2(\Omega_\varepsilon); \quad
z\mapsto y_\varepsilon(z, v_\varepsilon^*(z)).
\end{equation}


 Let $\overline z_\varepsilon$ be a fixed point of the map $\mathcal{F}_\varepsilon$.
The existence of a fixed point is proved in the Theorem \ref{thm:main1}.
Then the limit $v_0^*(z_0)$ of the  optimal controls
$v_\varepsilon^*(\overline z_\varepsilon)$
is the minimal norm control, among all the controls $v$ satisfying
\[
\|y_0(z_0,v)|_S-y_1\|_{0,S} \le \frac{\alpha}{\sqrt{\theta}}.
\]
The duality theory of Fenchel and Rockafellar \cite{yr, et} shows that the
minimization problem \eqref{minm} is equivalent to minimizing another
non-quadratic functional,
\begin{equation} \label{cost-dual}
J^\varepsilon_z(\varphi_{1\varepsilon})= \frac{1}{2}\int_{\omega_\varepsilon} |\varphi_\varepsilon|^2 dx + \alpha\|\varphi_{1\varepsilon}\|_{0,S_\varepsilon}
-\int_{S_\varepsilon} y_{1\varepsilon}\varphi_{1\varepsilon} ds.
\end{equation}
Thus we obtain
\begin{equation}
\inf_{v_\varepsilon \in L^2(\omega_\varepsilon)} I_\varepsilon^z(v_\varepsilon)
=-\inf_{\varphi_{1\varepsilon}\in L^2(S_\varepsilon)} J^\varepsilon_z(\varphi_{1\varepsilon}),  \label{4.16}
\end{equation}
where
\begin{equation}               \label{4.17}
\begin{gathered}
J^\varepsilon_z(\varphi_{1\varepsilon})=F^*(L_\varepsilon^*\varphi_{1\varepsilon})+G^*(-\varphi_{1\varepsilon}),\\
F^*(L_\varepsilon^*\varphi_{1\varepsilon})=\frac{1}{2}\|\varphi_\varepsilon(z,\varphi_{1\varepsilon})\|^2_{0,\omega_\varepsilon}, \\
G^*(L_\varepsilon^*\varphi_{1\varepsilon})=\alpha\|\varphi_{1\varepsilon}\|_{0,S_\varepsilon}
+\langle \varphi_{1\varepsilon}, y_{1\varepsilon}\rangle_{S_\varepsilon},
\end{gathered}
\end{equation}
and $F^*$, $G^*$ are the conjugate functions of $F$ and $G$ respectively.
We have
\begin{equation}
J^\varepsilon_z(\varphi_{1\varepsilon})=\frac{1}{2}\|\varphi_\varepsilon(z,\varphi_{1\varepsilon})
\|_{0,\omega_\varepsilon}^2+
\alpha\|\varphi_{1\varepsilon}\|_{0,S_\varepsilon}-\langle \varphi_{1\varepsilon},y_{1\varepsilon}
 \rangle_{S_\varepsilon}. \label{4.18}
\end{equation}
From the strict convexity of $J^\varepsilon_z$, we obtain
$\varphi^*_{1\varepsilon}(z)\in L^2(S_\varepsilon)$ is the unique
optimal element which minimizes $J^\varepsilon_z(\varphi_{1\varepsilon})$ over $L^2(S_\varepsilon)$.
Let us denote $\varphi_\varepsilon^*:=\varphi_\varepsilon(z, \varphi_{1\varepsilon}^*)$,
the solution of \eqref{dual}(with $\varphi_{1\varepsilon}=\varphi_{1\varepsilon}^*$).
It is well known that the duality theory provides the extremal relations,
which the optimal controls satisfy, namely:
\begin{equation} \label{4.20}
\begin{aligned}
F(v_\varepsilon^*(z))+F^*(L_\varepsilon^*\varphi_{1\varepsilon}^*(z))
-\langle L_\varepsilon^*\varphi^*_{1\varepsilon}(z),v^*_\varepsilon(z)\rangle_{\omega_\varepsilon}=0, \\
G(L_\varepsilon v_\varepsilon^*(z))+G^*(-\varphi^*_{1\varepsilon}(z))
+ \langle\varphi^*_{1\varepsilon}(z), L_\varepsilon v_\varepsilon^*(z)\rangle_{S_\varepsilon}=0.
\end{aligned}
\end{equation}
With the help of the extremal relations satisfied by optimal controls, we derive the desired relation:
\begin{equation}
v_\varepsilon^*(z)=\varphi_\varepsilon(z, \varphi_{1\varepsilon}^*(z))|_{\omega_\varepsilon}. \label{opt}
\end{equation}

\section{Statements of main results} \label{s3}

 In the first main result, we obtain the fixed point of the operator
$\mathcal{F}_\varepsilon$ defined by \eqref{fix} by using the Zuazua's fixed point
argument \cite{zua91}. Hence we obtain the existence of the optimal control for our
$\varepsilon$-problem \eqref{4.5}, which minimizes the corresponding
cost-functional \eqref{cost}. This theorem will be proved in Section \ref{s-thm1}.

\begin{theorem} \label{thm:main1}
Assume that for given $\varepsilon>0$, 
$A^\varepsilon\in \mathcal{M}(\alpha_m, \alpha_M, \Omega)$
(see \eqref{matrix}). Let $f\in C^1(\mathbb{R})$ be a real valued function
satisfying \eqref{f1}. Then the operator $\mathcal{F}_\varepsilon$, defined by
\eqref{fix} has at least one fixed point $\overline z_\varepsilon\in L^2(\Omega_\varepsilon)$.
Let  $v_\varepsilon^*(\overline z_\varepsilon)$ be the optimal control minimizing the functional
$I^\varepsilon_{\overline z_\varepsilon}$, given by \eqref{cost}. Then the fixed element
$\overline z_\varepsilon$, satisfies the equation:
$$
\overline z_\varepsilon=y_\varepsilon^*(\overline z_\varepsilon, v_\varepsilon^*(\overline z_\varepsilon)),
$$
where $y_\varepsilon^*(\overline z_\varepsilon, v_\varepsilon^*(\overline z_\varepsilon))$ is the state
solution of the problem \eqref{maineq}.
\end{theorem}

 Below we state the second main result of this paper, concerning the homogenization
of state and adjoint state equations and
the convergence of the optimal controls, which will be proved in
Section \ref{s-thm2}. In the following, we shall need certain hypotheses:
\begin{itemize}
\item[(H1)] If $h=0$ and $g\equiv 0$, we obtain uniform (with respect to $\varepsilon$)
Poincar\'e inequality in $V_\varepsilon$.
\item[(H2)] Given the sequence $\{y_{1\varepsilon}\} \subset L^2(S_\varepsilon)$, we assume that
\begin{equation} \label{1.6}
y_{1\varepsilon} \to y_1, \quad L^2(S) \text{-strongly}.
\end{equation}
\item[(H3)] For any sequence $\{\varphi_{1\varepsilon}\} \subset L^2(S_\varepsilon)$, we obtain
\[
\frac{\widetilde \varphi_{1\varepsilon}}{\theta} \rightharpoonup \varphi_1
\quad \text{in } L^2(S)\text{-weakly}.
\]
\end{itemize}

\begin{remark} \label{rmk3.2} \rm
Hypothesis (H1) is essential in order to give a-priori estimates in
$H^1(\Omega_\varepsilon)$. However if we add a zero order term in  equation \eqref{maineq},
we do not need it, also see Cioranescu et al.\
\cite[Section 6]{CD-06}.  The hypothesis (H2) ensures the inequality
$\|\varphi_{1\varepsilon}^*\|_{0,S_\varepsilon}\le C$
($\varphi_{1\varepsilon}^*$ is the minimizer of the cost \eqref{cost-dual}) and the
convergence of approximate control inequality \eqref{eq2}.
Moreover (H2) and (H3) are needed, in order to pass to the limit in the adjoint
 equation \eqref{dual} and in the cost functional \eqref{cost-dual}, as $\varepsilon\to 0$.
\end{remark}

Since we are interested here in studying the asymptotic behaviour of optimal
controls, it is natural to ask a question: whether the limit of the optimal
controls $v_\varepsilon^*$, is the same as the
the optimal control associated to the homogenized problem \eqref{hom-adj},
given below?
The following theorem gives a positive answer to this question.

\begin{theorem} \label{thm:main2}
Let us assume that the hypotheses of Theorem \ref{thm:main1} and
{\rm (H1)--(H3)} hold. Then there exists $z_0\in L^2(\Omega)$, which is the weak
limit of the fixed points
$\{\overline z_\varepsilon\}$ (obtained in Theorem \ref{thm:main1}). Moreover,
there exists $v_0\in L^2(\omega)$ which is the weak limit of the sequence of
optimal controls $\{v_\varepsilon^*(\overline z_\varepsilon)\}$ (identified in
Theorem \ref{thm:main1}).

 Further we obtain
\[
v_0= v_0^*(z_0),
\]
and up to a subsequence
\[
P^\varepsilon y_\varepsilon(\overline z_\varepsilon, v_\varepsilon^*(\overline z_\varepsilon))
 \rightharpoonup y_0(z_0,v_0)
\quad  H_0^1(\Omega) \text{-weakly},  \quad \text{as  } \varepsilon \to 0,
\]
where $v_0^*(z_0)$ is the minimal norm control among all the controls $v$ satisfying
\[
\|y_0(z_0,v)|_S-y_1\|_{0,S}\le \frac{\alpha}{\sqrt{\theta}},
\]
with $y_0(z_0,v)$ being the solution of the  homogenized system
\begin{equation}
\begin{gathered}
\begin{aligned}
&-\theta \operatorname{div}(A^0 \nabla y_0(z_0,v))+ \theta f(y_0(z_0,v))\\
&=\theta \chi_\omega v+ \frac{|\partial T|}{|Y|} \mathcal{M}_{\partial T}(g)
-h\frac{|\partial T|}{|Y|} y_0(z_0,v)  \quad\text{in  } \Omega,
\end{aligned}\\
y_0(z_0,v)=0  \quad\text{on } \partial \Omega.
\end{gathered}
\end{equation}

The homogenized matrix is
\begin{equation} \label{a0}
A^0=(a^0_{ij})= \frac{1}{|Y|}\Big(a_{ji}
+a_{jk}\frac{\partial \chi_i}{\partial y_k}\Big), \quad
\theta=\frac{|Y^*|}{|Y|},
\end{equation}
and $\chi_i$ satisfy the equation
\begin{equation} \label{c2.8}
\begin{gathered}
-\operatorname{div} \big({^t\!A}^\varepsilon \nabla(\chi_i+y_i)\big)=0 \quad \text{in } Y^*,
\\
\big({^t\!A}^\varepsilon \nabla (\chi_i+y_i)\big)\cdot n_\varepsilon=0 \quad \text{on } \partial T,
\\
\chi_i {\rm \ is \ } Y \text{-periodic}, \\
\mathcal{M}_{Y^*}(\chi_i)=0.
\end{gathered}
\end{equation}

 Moreover the adjoint equation \eqref{dual} can also be homogenized as
\begin{equation} \label{hom-adj}
\begin{gathered}
-\theta \operatorname{div}({^t\!A}^0 \nabla \varphi_0)+ \theta p(z_0)\varphi_0
=\theta \delta_S \varphi_1 -h\frac{|\partial T|}{|Y|} \varphi_0 \quad
 \text{in } \Omega,\\
\varphi_0=0 \quad \text{on } \partial \Omega,
\end{gathered}
\end{equation}
where
\begin{equation} \label{a0'}
\big(^tA^0\big) = \frac{1}{|Y|}\Big(a_{ij}
+a_{ik}\frac{\partial \widehat \chi_j}{\partial y_k}\Big),
\end{equation}
and $\widehat \chi_j$ satisfy the equation
\begin{equation} \label{c2.9}
\begin{gathered}
-\operatorname{div} \big({ A}^\varepsilon \nabla(\widehat \chi_j+y_i)\big)=0 \quad
\text{in } Y^*, \\
\big({A}^\varepsilon \nabla (\widehat \chi_j+y_i)\big)\cdot n_\varepsilon=0 \quad
 \text{on } \partial T, \\
\widehat \chi_j \text{ is } Y \text{-periodic},\\
\mathcal{M}_{Y^*}(\widehat \chi_j)=0.
\end{gathered}
\end{equation}

 Let $\varphi_0^*:=\varphi_0(z_0, \varphi_1^*)$ be the solution of homogenized
adjoint equation associated with $\varphi_1=\varphi_{1}^*$, where
\[
\varphi_{1}^*={\rm argmin}\Big(\frac{\theta}{2}\int_\omega |\varphi_0|^2dx
+\alpha\sqrt{\theta}\|\varphi_1\|_{0,S}
-\theta \int_S y_1\varphi_1 ds\Big).
\]
Then the representation of the optimal control $v_0^*(z_0)$ in terms of this
dual variable $\varphi_0^*$ is
$v_0^*=\theta (\varphi^*_0){_{|\omega}}$.
\end{theorem}

\begin{remark} \rm
We refer to \cite[Theorem 6]{DN-97} for the homogenization results of the
parabolic equations.
\end{remark}

\section{Proof of Theorem \ref{thm:main1}} \label{s-thm1}


\begin{proof}
Let $\varphi\in V_\varepsilon$ be a test function in \eqref{dual}, the variational formulation is given by:
\begin{equation} \label{varf-dual}
\int_{\Omega_\varepsilon} ({^t\!A}^\varepsilon\nabla \varphi_{\varepsilon})\nabla \varphi
+\int_{\Omega_\varepsilon} p(z)\varphi_\varepsilon \varphi
+h\varepsilon \int_{\partial T_\varepsilon} \varphi_\varepsilon \varphi
= \int_{S_\varepsilon} \varphi_{1\varepsilon} \varphi.
\end{equation}
 Let $z_n\to z_0$ in $L^2(\Omega_\varepsilon)$, as $n\to \infty$ and denote
$\varphi_{\varepsilon,n}=\varphi_\varepsilon(z_n)$. 
Using $\varphi_{\varepsilon,n}$ as a test function in \eqref{dual} 
(written for $\varphi_\varepsilon=\varphi_{\varepsilon, n}$), 
since $h$ is a positive real number, using the regularity of $A^\varepsilon$ 
and a property of the linearized function $p$, we obtain
\begin{equation} \label{var-4.2}
\alpha_m\| \nabla \varphi_\varepsilon\|^2_{[L^2(\Omega_\varepsilon)]^N}
\leq |\varphi_{\varepsilon,n}\|_{0,\Omega_\varepsilon}|
\| \varphi_{1\varepsilon}\|_{0,S_\varepsilon}.
\end{equation}
Again using Poincar\'e's inequality on the right hand side,
\[
\alpha_m\|\varphi_{\varepsilon,n}\|^2_{1,\Omega_\varepsilon}
\le \|\varphi_{\varepsilon, n}\|_{1,\Omega_\varepsilon} 
\|\varphi_{1\varepsilon}\|_{0,S_\varepsilon}.
\]
This gives
\begin{equation}
\|\varphi_{\varepsilon,n}\|_{1,\Omega_\varepsilon}\le C,  \label{var-con}
\end{equation}
where the constant $C$ depends on the ellipticity constant $\alpha_m$, on trace,
Poincar\'e constant, but independent of $\varepsilon$.
Thanks to \eqref{var-con}, up to a subsequence (in $n$), we obtain
\begin{equation}  \label{con-4.2}
\begin{gathered}
\varphi_{\varepsilon,n} \rightharpoonup \varphi_{\varepsilon,0} 
\quad V_\varepsilon \ \text{-weakly},\\
\varphi_{\varepsilon,n} \rightharpoonup \varphi_{\varepsilon,0} 
\quad L^2(\Omega_\varepsilon) \ \text{-strongly}.
\end{gathered}
\end{equation}
To pass to the limit in the variational formulation \eqref{varf-dual}
(as $n\to \infty$), let $\varphi\in V_\varepsilon$,
and consider the following:
\begin{equation*}
\Big(\int_{\Omega_\varepsilon}p(z_n)\varphi_{\varepsilon,n}\varphi dx
-\int_{\Omega_\varepsilon} p(z_0)\varphi_{\varepsilon,0}\varphi dx\Big)
+h\varepsilon \Big( \int_{\Omega_\varepsilon} \varphi_{\varepsilon,n} \varphi dx
-\int_{\Omega_\varepsilon}\varphi_{\varepsilon,0} \varphi dx \Big).
\end{equation*}
Since $\varphi_{\varepsilon, n}\to \varphi_{\varepsilon,0}, \ L^2(\Omega_\varepsilon)$-strongly, as $n\to \infty$, therefore
it suffices to consider the limit of first term only.
\begin{align*}
&\int_{\Omega_\varepsilon}p(z_n)\varphi_{\varepsilon,n}\varphi dx
-\int_{\Omega_\varepsilon} p(z_0)\varphi_{\varepsilon,0}\varphi dx\\
&=\int_{\Omega_\varepsilon}p(z_n)(\varphi_{\varepsilon,n}
-\varphi_{\varepsilon,0}) \varphi dx
+\int_{\Omega_\varepsilon} \Big(p(z_n)-p(z_0)\Big)\varphi_{\varepsilon,0} 
\varphi dx.
\end{align*}
Now $p(z_n)$ is bounded in $L^\infty(\Omega_\varepsilon)$, so we obtain
\begin{equation}
p(z_n)\rightharpoonup p(z_0), \  \  L^\infty(\Omega_\varepsilon) \ \text{-weakly}^*. \label{g}
\end{equation}
This gives us,
\begin{equation}
\int_{\Omega_\varepsilon}p(z_n)\varphi_{\varepsilon,n} \varphi dx \to
\int_{\Omega_\varepsilon}p(z_0) \varphi_{\varepsilon,0} \varphi dx, \quad \text{for all } \varphi\in V_\varepsilon. \label{3.59}
\end{equation}
Thus \eqref{g} and \eqref{3.59} shows that
\begin{equation}
p(z_n)\varphi_{\varepsilon,n}\to p(z_0) \varphi_{\varepsilon,0} \quad V_\varepsilon^* \text{-weakly} \
(\text{as } n\to \infty). \label{5.9'}
\end{equation}

 Now we shall show that the convergence \eqref{5.9'} is actually $V_\varepsilon^*$
-strong (as $n\to \infty$).
Let $\varphi\in V_\varepsilon$ and consider the following:
\begin{equation} \label{3.60}
\begin{aligned}
&\Big|\int_{\Omega_\varepsilon} p(z_n)\varphi_{\varepsilon,n} \varphi dx
-p(z_0)\varphi_{\varepsilon,0}\varphi dx\Big| \\
&\le \Big|\int_{\Omega_\varepsilon} p(z_n)(\varphi_{\varepsilon,n}-\varphi_{\varepsilon,0})\varphi dx\Big|
+ \Big| \int_{\Omega_\varepsilon} \big(p(z_n)-p(z_0) \big)\varphi_{\varepsilon,0} \varphi dx \Big|.
\end{aligned}
\end{equation}
Let us first evaluate the norm estimate of the first term on the right hand side of
\eqref{3.60}. We consider the following:
\[
\Big|\int_{\Omega_\varepsilon} p(z_n)(\varphi_{\varepsilon,n}-\varphi_{\varepsilon,0})\varphi dx\Big|
\le \|p(z_n)\|_{L^{p_1}(\Omega_\varepsilon)}\cdot\|\varphi_{\varepsilon,n}-\varphi_{\varepsilon,0}\|_{L^{p_2}(\Omega_\varepsilon)}
\|\varphi\|_{L^{p_3}(\Omega_\varepsilon)}.
\]
Observe that $\|p(z_n)\|_{L^{p_1}(\Omega_\varepsilon)} \le \gamma \operatorname{meas}(\Omega_\varepsilon)^{1/p_1}$.
We choose $p_1=N,  p_2= p_3=\frac{2N}{N-1}$, for $N\ge 2$; otherwise $p_1=p_3=4$ and $p_2=2$. Thanks to the choice of $p_2$, the injection $H^1(\Omega_\varepsilon)\hookrightarrow L^2(\Omega_\varepsilon)$ is compact and
we obtain
\[
\|\varphi_{\varepsilon,n}-\varphi_{\varepsilon,0}\|_{L^{p_2}}\to 0, \quad
\text{as } n\to \infty.
\]
Note that the injection $i$ from $V_\varepsilon\hookrightarrow L^{p_3}
(\Omega_\varepsilon)$
is continuous, so
\[
\|\varphi\|_{L^{p_3}}\le \|i\|_{\mathcal{L}(V_\varepsilon), L^{p_3}(\Omega_\varepsilon)}\cdot \|\varphi\|_{V_\varepsilon},
\]
so that the first term in \eqref{3.60} goes to zero.
On the other hand,
\[
\big\|\int_{\Omega_\varepsilon} (p(z_n)-p(z_0))\varphi_{\varepsilon,0} \varphi dx\big\|
\le \|p(z_n)-p(z_0)\|_{L^{q_1}(\Omega_\varepsilon)}\|\varphi_{\varepsilon,0}\|_{L^{q_2}(\Omega_\varepsilon)}
\|\varphi\|_{L^{q_3}},
\]
with $q_1=\frac{N}{2}, \ q_2=q_3=\frac{2N}{N-2}, \ N\ge 3$, otherwise
$q_1\neq 2, q_2=q_3=4$.
Thanks to this choice, $H^1(\Omega_\varepsilon)\hookrightarrow L^{q_3}(\Omega_\varepsilon)$
is continuous and
in a similar way as above, a bound can be obtained.
It follows by Lebesgue Dominated convergence theorem
and the bounds of $p(z_n)$ (see \eqref{4.2}) that
\[
\|p(z_n)-p(z_0)\|_{L^{q_1}}\to 0, \quad \text{as } n\to \infty.
\]
Thus the second term on the right hand side of \eqref{3.60}
also vanishes and hence we obtain
\begin{equation}
p(z_n)\varphi_{\varepsilon,n}\to p(z_0)\varphi_{\varepsilon,0} \quad V_\varepsilon^* \text{-strongly},
\quad \text{as  } n\to \infty.   \label{3.7}
\end{equation}
Next we show that $\varphi_{\varepsilon,0}=\varphi_\varepsilon(z_0)$.
For that we multiply adjoint \eqref{dual}
(written for $\varphi_{\varepsilon,n}$), by the test function
$\varphi\in V_\varepsilon$ and integrate by parts,
\begin{equation}
\int_{\Omega_\varepsilon} A_\varepsilon \nabla \varphi_{\varepsilon,n}\cdot \nabla\varphi dx
+\int_{\Omega_\varepsilon} p(z_n)\varphi_{\varepsilon,n} \varphi dx
=\int_{S_\varepsilon} \varphi_{1\varepsilon} \varphi d\sigma.\label{3.7'}
\end{equation}
Passing to the limit in \eqref{3.7'} as $n\to \infty$, we obtain
\[
\int_{\Omega_\varepsilon} A^\varepsilon\varepsilon \nabla \varphi_{\varepsilon,0}\cdot \nabla\varphi dx
+\int_{\Omega_\varepsilon} p(z_0)\varphi_{\varepsilon,0} \varphi dx
=\int_{S_\varepsilon} \varphi_{1\varepsilon} \varphi d\sigma,
\]
and this shows that $\varphi_{\varepsilon,0}= \varphi_\varepsilon(z_0)$.
Now we shall show that the convergence
\eqref{con-4.2} is $V_\varepsilon$-strong.
We take $\varphi_{\varepsilon,n}\in V_\varepsilon$ as test function in adjoint \eqref{dual}
(written for $z=z_n$ and $\varphi_\varepsilon= \varphi_{\varepsilon,n}$)
and pass to the limit in the
variational formulation, as $n\to\infty$.
In view of \eqref{con-4.2} and \eqref{3.7}, we obtain
\begin{equation}
\lim_{n\to \infty} \int_{\Omega_\varepsilon} {^t\!A}_\varepsilon
\nabla\varphi_{\varepsilon,n}\nabla\varphi_{\varepsilon,n} dx
=\int_{S_\varepsilon} \varphi_{1\varepsilon} \varphi_{\varepsilon,0} d\sigma
-\int_{\Omega_\varepsilon}p(z_0)\varphi_{\varepsilon,0}\cdot\varphi_{\varepsilon,0} dx . \label{3.8}
\end{equation}
Now, taking $\varphi_{\varepsilon,0}$ as a test function in the adjoint equation
(with $\varphi_\varepsilon
= \varphi_{\varepsilon,0}$), we obtain the following:
\begin{equation}
\int_{\Omega_\varepsilon} {^t\!A}^\varepsilon \nabla\varphi_{\varepsilon,0}\cdot \nabla\varphi_{\varepsilon,0} dx
=\int_{S_\varepsilon} \varphi_{1\varepsilon} \varphi_{\varepsilon,0} d\sigma -\int_{\Omega_\varepsilon} p(z_0) \varphi_{\varepsilon,0}
\cdot \varphi_{\varepsilon,0} dx. \label{3.9}
\end{equation}
Comparing \eqref{3.8} and \eqref{3.9}, we get
\[
\lim_{n\to \infty} \int_{\Omega_\varepsilon} {^t\!A}^\varepsilon
\nabla\varphi_{\varepsilon,n}\cdot \nabla\varphi_{\varepsilon,n} dx
=\int_{\Omega_\varepsilon} {^t\!A}_\varepsilon\nabla\varphi_{\varepsilon,0}\cdot \nabla\varphi_{\varepsilon,0} dx.
\]
We conclude that $\varphi_{\varepsilon,n} \to \varphi_{\varepsilon,0}$,  
$V_\varepsilon$ -strongly
(\emph{energy convergence}),
as $n\to \infty$, since we know that 
$(\int_{\Omega_\varepsilon} {^t\!A}^\varepsilon \nabla v\cdot\nabla v dx)^{1/2}$ is equivalent to the
standard $H^1$-norm defined over $V_\varepsilon$.
Now using the coercivity property of the functional, we show the following
\begin{equation}
\|\varphi_{1\varepsilon}^*\|_{0,S_\varepsilon} \le C, \label{3.10}
\end{equation}
where $C$ independent of $n$ and $\varepsilon$. For if \eqref{3.10} holds, then it follows by
Banach-Alaoglu-Bourbaki theorem, that there exists $\xi^\varepsilon$ such that $\varphi_{1\varepsilon}^*(z_n)\rightharpoonup \xi^\varepsilon,  L^2(S_\varepsilon)$-weakly, which would then imply for another subsequence (in $n$)
\begin{equation}
\varphi_\varepsilon(z_n, \varphi_{1\varepsilon}^*(z_n)) \to \varphi_\varepsilon(z_0, \xi^\varepsilon),
\quad V_\varepsilon \ \text{-strongly}.  \label{3.11}
\end{equation}
The inequality \eqref{3.10} will be proved by contradiction. We assume on contrary that
\[
\|\varphi_{1\varepsilon}^*(z_n)\|_{0,S_\varepsilon} \to +\infty, \quad \text{as } n\to \infty.
\]
Since $\varphi_{1\varepsilon}^*(z_n)$ is the minimizer of $J^\varepsilon_{z_n}$,
for each $n$, we obtain
\begin{equation}
J^\varepsilon_{z_n}(\varphi_{1\varepsilon}^*(z_n))\le J^\varepsilon_{z_n}(\varphi_{1\varepsilon}), \quad
\text{for all } \varphi_{1\varepsilon} \in L^2(S_\varepsilon). \label{3.12}
\end{equation}
On the other hand, thanks to the convergence $\varphi_{\varepsilon,n}\to \varphi_{\varepsilon,0}$
($V_\varepsilon$-strong), we see that
\[
J^\varepsilon_{z_n}(\varphi_{1\varepsilon})=\frac{1}{2}\int_{\omega_\varepsilon} |\varphi_\varepsilon(z_n)|^2 dx
+ \alpha \|\varphi_{1\varepsilon}\|_{0,S_\varepsilon} - \int_{S_\varepsilon} y_{1\varepsilon} \varphi_{1\varepsilon} d\sigma ,
\]
converges to
\[
J^{\varepsilon}_{z_0}(\varphi_{1\varepsilon})
= \frac{1}{2}\int_{\omega_\varepsilon} |\varphi_\varepsilon (z_0)|^2 dx
+ \alpha \|\varphi_{1\varepsilon} \|_{0,S_\varepsilon}
- \int_{S_\varepsilon} y_{1\varepsilon} \varphi_{1\varepsilon} d\sigma.
\]
Therefore from \eqref{3.12}, for fixed $\varphi_{1\varepsilon}$,
\[
J^\varepsilon_{z_n}(\varphi_{1\varepsilon}^*(z_n))\le C, \quad C \text{ is independent of $n$
and } \varepsilon.
\]
This contradicts the coercivity of the functional $J^\varepsilon_{z_n}$, since
\[
\liminf_{\|\varphi_{1\varepsilon}^*(z_n)\|_{0,S_\varepsilon}\to \infty}
\frac{J^\varepsilon_{z_n}(\varphi_{1\varepsilon}^*(z_n))}{\|\varphi_{1\varepsilon}^*(z_n)\|_{0,S_\varepsilon}}
\ge \alpha >0.
\]

 Next, arguing as we as we did in \eqref{var-con}, we obtain
\begin{equation}
\|\varphi_\varepsilon(z_n, \varphi_{1\varepsilon}^*(z_n))\|_{V_\varepsilon}\le C(\varphi_1^*) . \label{3.13}
\end{equation}
In view of \eqref{3.10} (thanks to Banach-Alaoglu-Bourbaki theorem) we obtain
\begin{equation}
\varphi_{1\varepsilon}^*(z_n) \rightharpoonup \xi^\varepsilon \quad
L^2(S_\varepsilon)\text{-weakly, as } n\to \infty. \label{3.14}
\end{equation}
It remains to identify the limit: $\xi^\varepsilon=\varphi_{1\varepsilon}^*(z_0)$.
For that, we show that $\xi^\varepsilon$ is the minimizer of $J^\varepsilon_{z_0}$, that is to show
\begin{equation}
J^\varepsilon_{z_0}(\xi^\varepsilon)\le J^\varepsilon_{z_0}(\varphi_{1\varepsilon}),
\quad \text{for all } \varphi_{1\varepsilon} \in L^2(S_\varepsilon). \label{3.15}
\end{equation}
Since we know that $\varphi_{1\varepsilon}^*$ is optimal element
for $J^\varepsilon_{z_n}$, we obtain
\[
J^\varepsilon_{z_n}(\varphi_{1\varepsilon}^*(z_n))
\le J^\varepsilon_{z_n}(\varphi_{1\varepsilon}),
 \quad \text{for all } \varphi_{1\varepsilon} \in L^2(S_\varepsilon),
\]
hence
\[
\liminf_nJ^\varepsilon_{z_n}(\varphi_{1\varepsilon}^*(z_n))\le \liminf_nJ^\varepsilon_{z_n}(\varphi_{1\varepsilon})
=J^\varepsilon_{z_0}(\varphi_{1\varepsilon}),  \quad
\text{for all } \varphi_{1\varepsilon} \in L^2(S_\varepsilon).
\]
Therefore in order to prove \eqref{3.15}, it remains to prove that
\begin{equation} \label{3.16}
J^\varepsilon_{z_0}(\xi^\varepsilon)\le \liminf_n J^\varepsilon_{z_n}(\varphi_{1\varepsilon}^*(z_n)).
\end{equation}
Let us recall that
\[
J^\varepsilon_{z_n}(\varphi_{1\varepsilon}^*(z_n))
=\frac{1}{2}\int_{\omega_\varepsilon} |\varphi_\varepsilon(z_n,\varphi_{1\varepsilon}^*(z_n))|^2 dx
+\alpha\|\varphi_{1\varepsilon}^*(z_n)\|_{0,S_\varepsilon}
-\int_{S\varepsilon} y_{1\varepsilon}\varphi_{1\varepsilon}^*(z_n) d\sigma .
\]
From \eqref{3.14} we obtain
\[
\liminf_n\alpha\|\varphi_{1\varepsilon}^*(z_n)\|_{0, S_\varepsilon}
-\int_{S_\varepsilon} y_{1\varepsilon} \varphi_{1\varepsilon}^*(z_n)d\sigma
\ge \liminf_n\alpha\|\xi^\varepsilon\|_{0,S_\varepsilon}
-\int_{S_\varepsilon} y_{1\varepsilon} \xi^\varepsilon d\sigma .
\]
Also from \eqref{3.11} and Fatou's lemma, we obtain
\[
\liminf_n \int_{\omega_\varepsilon} |\varphi_\varepsilon(z_n, \varphi_{1\varepsilon}^*(z_n))|^2 dx
\ge \int_{\omega_\varepsilon} |\varphi_\varepsilon(z_0, \xi^\varepsilon)|^2 dx .
\]
Thus we obtained \eqref{3.16} and hence \eqref{3.15}. 
In other words we  proved that
\[
\xi^\varepsilon=\varphi_{1\varepsilon}^*(z_0).
\]
Together with this relation, convergence \eqref{3.11} 
holds for the whole sequence, that is,

\begin{equation} \label{5.19}
\varphi_\varepsilon(z_n, \varphi_{1\varepsilon}^*(z_n))\to \varphi_\varepsilon(z_0, \varphi_{1\varepsilon}^*(z_0))  \quad V_\varepsilon \ \text{- strongly}.
\end{equation}
In view of the relation \eqref{opt}, we know that
\begin{gather*}
v_\varepsilon^*(z_n)=\varphi_\varepsilon(z_n,\varphi_{1\varepsilon}^*(z_n))|_{\omega_\varepsilon}
\\
v_\varepsilon^*(z_0)=\varphi_\varepsilon(z_0, \varphi_{1\varepsilon}^*(z_0))|_{\omega_\varepsilon}
\end{gather*}
It follows by \eqref{5.19} that $v_\varepsilon^*(z_n)\to v_\varepsilon^*(z_0)$ strongly in
$H^1(\omega_\varepsilon)$. Using this convergence in state equation \eqref{4.5},
and an analogous proof
to obtain \eqref{5.19} from adjoint problem \eqref{dual}, we get the following:
\[
y_\varepsilon(z_n, v_\varepsilon^*(z_n))\to y_\varepsilon(z_0, v_\varepsilon^*(z_0)) \quad
V_\varepsilon \ \text{-strongly}.
\]
Hence $\mathcal{F}_\varepsilon$ is continuous for fixed $\varepsilon>0$.


Next we show that $\mathcal{F}_\varepsilon$ is compact (uniformly in $\varepsilon$).
Since we obtain \eqref{4.2}, for given $z\in L^2(\Omega_\varepsilon)$,
it follows by \cite[Theorem 6]{DN-97} that under the hypothesis (H2),
the sequence of minimizers
$\{\varphi^*_{1\varepsilon}\}$ are uniformly bounded in $L^2(S)$
(also see \cite[Lemma 2]{zua-94}) and thus satisfy
\begin{equation} \label{phi-4.21}
\frac{1}{\theta}\widetilde{\varphi_{1\varepsilon}^*} \rightharpoonup
\varphi_1^* \quad L^2(S)\text{-weakly},
\end{equation}
where $\varphi_1^*$ minimizes the functional
\[
J(\varphi_1^*)= \frac{1}{2} \theta \int_\omega |\varphi_0|^2 dx
+ \alpha \sqrt{\theta} \|\varphi_1^*\|_{0,S}
-\theta \int_S y_1 \varphi_1^* dx.
\]
By \eqref{var-4.2} and \eqref{phi-4.21}, we obtain
\begin{equation}
\|\varphi_\varepsilon (z, \varphi_{1\varepsilon}^*)\|_{1,\Omega_\varepsilon}
\le C \|\varphi_1^*\|_{0,S}, \label{5.20}
\end{equation}
where $C$ is independent of $z$ and $\varepsilon$. This implies that
\[
J^\varepsilon_z(\varphi_{1\varepsilon}^*(z)) \le C(\varphi_1^*).
\]
Again using coercivity of $J^\varepsilon_z$, we see that $\|\varphi_{1\varepsilon}^*\|_{0,S}$
 and hence
$\|\varphi_\varepsilon(z, \varphi_{1\varepsilon}^*)\|_{1, \Omega_\varepsilon}$ is bounded by a constant
independent of $z$ and $\varepsilon$. Consequently by \eqref{opt} and \eqref{5.20} we obtain
\begin{equation}   \label{5.21}
\|v_\varepsilon^*(z)\|_{0, \omega_\varepsilon} \le C .
\end{equation}
Using \eqref{4.2} and \eqref{5.21} in the variational formulation formulation
\eqref{var}, it is easy to see that
$y_\varepsilon(z, v_\varepsilon^*(z))$ is bounded. Hence by Schauder's fixed point theorem,
$\mathcal{F}_\varepsilon$ has at least one fixed point in $L^2(\Omega_\varepsilon)$.
\end{proof}

\section{Proof of Theorem \ref{thm:main2}}   \label{s-thm2}

This proof is completed using several steps.
\begin{proof}
Let $\overline z_\varepsilon$ be a fixed point of the operator $\mathcal{F}_\varepsilon$. Let $v_\varepsilon^*=v_\varepsilon^*(\overline z_\varepsilon)$
be the optimal controls satisfying \eqref{maineq}-\eqref{eq2}. Note that \eqref{5.21} holds true for every $z$, in particular for
$z=\overline z_\varepsilon$. This implies that there exists $v_0\in L^2(\omega)$, such that up to a subsequence  we obtain
\begin{equation} \label{v4.22}
\begin{gathered}
\widetilde{v_\varepsilon^*(\overline z_\varepsilon)} \rightharpoonup \theta v_0 \quad
L^2(\omega)\text{-weakly},\\
\widetilde{\chi_{\omega_\varepsilon} v_\varepsilon^*(\overline z_\varepsilon)} \to \theta \chi_\omega v_0 \quad
H^{-1}(\Omega)\text{-strongly}.
\end{gathered}
\end{equation}
\smallskip

\noindent\textbf{Step 1.}
Let us consider the variational formulation \eqref{var}
(for $v_\varepsilon=v_\varepsilon^*:= v_\varepsilon^*(\overline z_\varepsilon)$) 
and take the test function
$\varphi=y_\varepsilon(=y_\varepsilon(v_\varepsilon^*))\in V^\varepsilon$,
to obtain
\begin{equation} \label{yeps}
\begin{aligned}
&\int_{\Omega_\varepsilon} A^\varepsilon \nabla y_\varepsilon \nabla y_\varepsilon dx
+ h \varepsilon\int_{\partial T\varepsilon}   y_\varepsilon y_\varepsilon d\sigma(x) \\
&= \int_{\omega_\varepsilon} v_\varepsilon^* y_\varepsilon
+\varepsilon \int_{\partial T_\varepsilon} g^\varepsilon y_\varepsilon d\sigma(x)
- \int_{\Omega_\varepsilon} f(y_\varepsilon) y_\varepsilon dx .
\end{aligned}
\end{equation}
Using \eqref{matrix}, the assumption on $(A^\varepsilon(x))$,
we get that the left hand side of the equation \eqref{yeps} is at least
$\alpha_m\| \nabla y_\varepsilon\|^2_{[L^2(\Omega_\varepsilon)]^N}
+h\varepsilon \| y_\varepsilon\|^2_{\partial T_\varepsilon}$.
Taking the norm estimates on both the sides of the
 \eqref{yeps}, using \eqref{5.21}, the uniform Poincar\'e inequality (H1) and
\cite[Corollary 5.4]{CD-06}, we derive that
\begin{align*}
\alpha_m\| y_\varepsilon\|^2_{H^1(\Omega_\varepsilon)}
&\leq \alpha_m \| \nabla y_\varepsilon\|^2_{[L^2(\Omega_\varepsilon)]^N}+h\varepsilon \| y_\varepsilon\|^2_{\partial T_\varepsilon} \\
&\leq C\left(\| v_\varepsilon^* \|_{0,{\omega_\varepsilon}}+\vert \mathcal{M}_{\partial T}(g)\vert+
\| f\|_{[L^2(\Omega_\varepsilon)]^N}\right)\| \nabla y_\varepsilon\|_{[L^2(\Omega_\varepsilon)]^N}\\
&\leq C' \| y_\varepsilon\|_{H^1(\Omega_\varepsilon)}.
\end{align*}
Hence $\| y_\varepsilon\|_{H^1(\Omega_\varepsilon)}\leq \tilde{C}$,
for some constant $\tilde{C}$ independent of $\epsilon$.

By \cite[Lemma 1]{CJP-79}, there exists a linear continuous extension operator $P^\varepsilon\in L^2(\Omega_\varepsilon,L^2(\Omega))\cap L(V^\varepsilon,H_0^1(\Omega))$ such that
\begin{equation} \label{4.26'}
\| P^\varepsilon y_\varepsilon\|_{1,\Omega}\leq C \|  y_\varepsilon\|_{1,\Omega_\varepsilon}\leq C\tilde{C}.
\end{equation}
Thus there exists $y_0(v_0)\in H^1(\Omega)$ such that up to a subsequence,
\begin{equation} \label{3.2b}
P^\varepsilon y_\varepsilon \rightharpoonup y_0(v_0) \quad H_0^1(\Omega) \text{-weakly}.
\end{equation}
Hereafter we denote by $y_0:=y_0(v_0)$.
\smallskip

\noindent\textbf{Step 2.}
Now we want to identify the limit equation satisfied by $y_0$.
To get that, we want to pass to the limit in Equation \eqref{yeps},
as $\varepsilon\to 0$. For that we first define a linear form $\mu^\varepsilon_h$ on
$W_0^{1,s}(\Omega)$, for any
$h\in L^{p'}(\partial T_\varepsilon)$, $1\leq p'\leq \infty$, as follows:
\[
<\mu^\varepsilon_h,\varphi>
:= \varepsilon \int_{\partial T_\varepsilon} h\left(\frac{x}{\varepsilon}\right)\varphi \,d\sigma(x), \quad
\text{for all } \varphi\in W_0^{1,s}(\Omega).
\]
It follows from \cite{CD-88}, \cite{Co-Do} that
\begin{equation}\label{2.10}
\mu_h^\varepsilon \to \mu_h \ \text{strongly in}\ W_0^{1,s}(\Omega)',
\end{equation}
where,  $<\mu_h,\varphi> = \mu_h \int_{\Omega} \varphi\,dx$,
and  $\mu_h=\frac{1}{\vert Y\vert}\int_{\partial T}h(y)\,d\sigma(y)$.
In particular, when $h\in L^\infty(\partial T)$, we obtain
\[
\mu_h^\varepsilon \to \mu_h \quad \text{strongly in}\ W^{-1,\infty}(\Omega).
\]
For $h\equiv 1$, $\mu_h$ becomes $\mu_1=\frac{\vert \partial T\vert}{\vert Y\vert}$
and
\[
\lim_{\varepsilon\to 0} <\mu^\varepsilon,\varphi h y_\varepsilon>
= \lim_{\varepsilon\to 0} \varepsilon \int_{\partial T} \varphi h y_\varepsilon \,d\sigma(x), \quad
\text{for all } \varphi\in W_0^{1,s}(\Omega).
\]
From  \eqref{2.10}, with $h=1$, we obtain
\begin{equation}\label{2.14}
\lim_{\varepsilon\to 0} \ \varepsilon \int_{\partial T_\varepsilon} \varphi h y_\varepsilon
= \frac{\vert \partial T\vert}{\vert Y\vert} \int_{\Omega} \varphi h y_0 dx, \quad
\text{for all } \varphi\in \mathcal{D}(\Omega).
\end{equation}


 Let $\xi^\varepsilon=A^\varepsilon \nabla y_\varepsilon$ in $\Omega_\varepsilon$ and let
$\widetilde{\xi^\varepsilon}$ be its extension by zero to the whole of $\Omega$.
By the property of $A^\varepsilon$ and
the boundedness of $y_\varepsilon$ (see \eqref{4.26'}), we obtain
$\widetilde\xi^\varepsilon$ is bounded in $(L^2(\Omega))^N$.
Hence there exists $\xi\in [L^2(\Omega)]^N$ such that
\begin{equation} \label{2.15}
\widetilde{\xi^\varepsilon}\rightharpoonup \xi \quad [L^2(\Omega)]^N \text{-weakly}.
\end{equation}
To obtain the equation satisfied by $\xi$, take
$\varphi\in \mathcal{D}(\Omega)$ as the test function in the variational formulation
\eqref{yeps}, we get
\begin{equation}\label{2.16}
\int_{\Omega_\varepsilon} \xi^\varepsilon \nabla \varphi dx
+ \int_{\Omega_\varepsilon} f(y_\varepsilon) \varphi dx
+ h \varepsilon\int_{\partial T\varepsilon}   y_\varepsilon \varphi d\sigma(x)
= \int_{\omega_\varepsilon} v_\varepsilon^* \varphi
+\varepsilon \int_{\partial T_\varepsilon} g^\varepsilon \varphi d\sigma(x).
\end{equation}
It follows by \eqref{2.15},
\begin{equation}\label{2.17}
\lim_{\varepsilon\to 0} \int_\Omega \widetilde{\xi^\varepsilon}\nabla \varphi
= \int_\Omega \xi \nabla \varphi\,dx,
\end{equation}
and since $f$ is uniformly Lipschitz and $P^\varepsilon y_\varepsilon\to y_0$,
we get $f(P^\varepsilon y_\varepsilon)\to f(y_0)$.
By \cite[Lemma 3.1]{KM-08}, (also see \cite[Theorem 3.5]{CDEI-16}), we get
\begin{equation}   \label{2.18}
\lim_{\varepsilon\to 0}\int_{\Omega} \chi_{\Omega_\varepsilon} f(P^\varepsilon y_\varepsilon) \varphi dx
= \frac{\vert Y^*\vert}{\vert Y\vert} \int_\Omega f(y_0)\,dx\quad
\text{strongly in}\ L^2(\Omega).
\end{equation}
Using \eqref{v4.22}, \eqref{2.14}, \eqref{2.17}, \eqref{2.18} and
\cite[corollary 5.4]{CD-06}, we
pass to the limit in \eqref{2.16} (as $\varepsilon \to 0$), and obtain the following:
\begin{equation}\label{2.16limit}
\begin{aligned}
&\int_\Omega \xi \nabla \varphi\,dx
+ \frac{\vert Y^*\vert}{\vert Y\vert} \int_\Omega f(y_0)\varphi dx
+ h\frac{\vert \partial T \vert}{\vert Y\vert} \int_\Omega y_0 \varphi\,dx\\
&=\frac{\vert Y^*\vert}{\vert Y\vert}  \int_{\omega} \chi_\omega v_0\  \varphi
+\mathcal{M}_{\partial T}(g) \frac{\vert \partial T \vert}{\vert Y\vert}
\int_\Omega \varphi\,dx.
\end{aligned}
\end{equation}
Hence $\xi$ satisfies
\begin{equation} \label{xi}
-\text{div}(\xi)+\frac{\vert Y^*\vert}{\vert Y\vert} f(y_0)
+ h\frac{\vert \partial T \vert}{\vert Y\vert} y_0
= \frac{\vert Y^*\vert}{\vert Y\vert}  \chi_\omega v_0
+\mathcal{M}_{\partial T}(g) \frac{\vert \partial T \vert}{\vert Y\vert},\quad
\text{in } \Omega.
\end{equation}
It remains to identify the limit $\xi$.
\smallskip

\noindent\textbf{Step 3.}
In this step, we identify the limit equation satisfied by $\xi$.
The idea is to make use of solutions of the cell problems \eqref{c2.8}.
For $i=1, \dots, n$, let us define
\[
\Phi_{i\varepsilon}=\varepsilon \Big( \chi_i\Big(\frac{x}{\varepsilon}\Big)+y_i\Big), \quad \text{for all } \xi \in \Omega_\varepsilon,
\]
where $y=\frac{x}{\varepsilon}$. By $Y$-periodicity of $\Phi_{i\varepsilon}$ we obtain,
\begin{equation}
P^\varepsilon \Phi_{i\varepsilon} \rightharpoonup x_i \quad \text{weakly in }  H^1(\Omega).  \label{3.17}
\end{equation}
Let us define $\eta^\varepsilon_i:=\nabla \Phi_{i\varepsilon}$ in $\Omega_\varepsilon$. Then
\[
\Big(\widetilde{{^t\!A}^\varepsilon\eta^\varepsilon_i} \Big)_j
=\frac{\partial}{\partial x_j}\Big({^t\!A}^\varepsilon \Phi_{i\varepsilon}\Big)
=\frac{1}{|Y|}\Big(a_{jk}\frac{\partial \chi_i}{\partial y_k}+a_{jk}\delta_{ki}\Big)
=\frac{|Y^*|}{|Y|} q_{ij},
\]
where
\[
q_{ij}= \frac{1}{|Y|}\Big(a_{jk}\frac{\partial \chi_i}{\partial y_k}+a_{ji}\Big).
\]
Hence
\begin{equation}  \label{3.19}
\Big(\widetilde{{^t\!A}^\varepsilon\eta^\varepsilon_i} \Big)_j \rightharpoonup \frac{|Y^*|}{|Y|} q_{ij} \quad \text{weakly in } L^2(\Omega),
\end{equation}
and we observe that $\eta^\varepsilon_i$ satisfies
\begin{equation} \label{3.20}
\begin{gathered}
-\operatorname{div}({^t\!A}^\varepsilon\eta^\varepsilon_i)=0  \quad \text{in } \Omega_\varepsilon,\\
({^tA}^\varepsilon\eta^\varepsilon_i)\cdot \nu=0 \quad \text{on } \partial T_\varepsilon.
\end{gathered}
\end{equation}
Let $\varphi\in \mathcal{D}(\Omega)$, multiplying \eqref{3.20} by $\varphi y_\varepsilon$,
and integrating by parts, we obtain
\[
\int_{\Omega_\varepsilon} ({^t\!A}^\varepsilon\eta^\varepsilon_i)\nabla \varphi y_\varepsilon dx
+\int_{\Omega_\varepsilon} ({^t\!A}^\varepsilon\eta^\varepsilon_i)\nabla y_\varepsilon \varphi dx=0,
\]
which implies that
\begin{equation}   \label{3.21}
\int_{\Omega_\varepsilon} ({^t\!A}^\varepsilon\eta^\varepsilon_i)\nabla y_\varepsilon \varphi dx
=-\int_{\Omega} (\widetilde{{^t\!A}^\varepsilon\eta^\varepsilon_i})\nabla \varphi P^\varepsilon y_\varepsilon dx .
\end{equation}
Now, we take $\varphi\Phi_{i\varepsilon}$ as test function in \eqref{yeps}, we get
\begin{align*}
&\int_{\Omega_\varepsilon} A^\varepsilon \nabla y_\varepsilon \nabla(\varphi\Phi_{i\varepsilon})dx
+\int_{\Omega_\varepsilon} f(y_\varepsilon) \varphi\Phi_{i\varepsilon} dx
+h\varepsilon \int_{\partial T_\varepsilon} y_\varepsilon\varphi\Phi_{i\varepsilon} d\sigma(x)\\
&= \int_{\omega_\varepsilon} v_\varepsilon^* \varphi\Phi_{i\varepsilon} dx
+\varepsilon \int_{\partial T_\varepsilon} g^\varepsilon \varphi\Phi_{i\varepsilon} d\sigma(x).
\end{align*}
Expressing the integrals over $\Omega$ and using the definition of
 $\widetilde \xi^\varepsilon$, we obtain
\begin{align*}
&\int_\Omega \widetilde \xi^\varepsilon\cdot \nabla \varphi P^\varepsilon \Phi_{i\varepsilon} dx
+\int_{\Omega_\varepsilon}A^\varepsilon \nabla y_\varepsilon\cdot \eta^\varepsilon_i \varphi dx
+h\varepsilon \int_{\partial T_\varepsilon} y_\varepsilon \varphi\Phi_{i\varepsilon} d\sigma(x) \\
&+ \int_{\Omega} \chi_{\Omega_\varepsilon} f(y_\varepsilon) \varphi P^\varepsilon\Phi_{i\varepsilon} dx\\
&=\int_\Omega \chi_{\omega_\varepsilon}v_\varepsilon^* \varphi P^\varepsilon \Phi_{i\varepsilon}
+ \varepsilon\int_{\partial T_\varepsilon} g^\varepsilon \varphi\Phi_{i\varepsilon} d\sigma(x),
\end{align*}
which can also be written as
\begin{align*}
&\int_\Omega \widetilde \xi^\varepsilon\cdot \nabla \varphi P^\varepsilon \Phi_{i\varepsilon} dx
+\int_{\Omega_\varepsilon}A^\varepsilon \nabla y_\varepsilon\cdot \eta^\varepsilon_i \varphi dx
+h\varepsilon \int_{\partial T_\varepsilon} y_\varepsilon \varphi\Phi_{i\varepsilon} d\sigma(x)\\
&+ \int_{\Omega} \chi_{\Omega_\varepsilon} f(y_\varepsilon) \varphi P^\varepsilon\Phi_{i\varepsilon} dx \\
&=\int_\Omega \chi_{\omega_\varepsilon} v_\varepsilon^*\varphi P^\varepsilon \Phi_{i\varepsilon}
+ \varepsilon\int_{\partial T_\varepsilon} g^\varepsilon \varphi\Phi_{i\varepsilon} d\sigma(x).
\end{align*}
Using the relation \eqref{3.21}, we obtain
\begin{equation} \label{3.22}
\begin{aligned}
&\int_\Omega \widetilde \xi^\varepsilon\cdot \nabla \varphi P^\varepsilon \Phi_{i\varepsilon} dx
-\int_\Omega(\widetilde{{^t\!A}^\varepsilon \eta^\varepsilon_i )}\nabla \varphi P^\varepsilon y_\varepsilon dx
+h\varepsilon \int_{\partial T_\varepsilon} y_\varepsilon \varphi\Phi_{i\varepsilon} d\sigma(x)  \\
&+ \int_{\Omega} \chi_{\Omega_\varepsilon} f(y_\varepsilon) \varphi P^\varepsilon\Phi_{i\varepsilon} dx \\
&=\int_\Omega \chi_{\omega_\varepsilon} v_\varepsilon^* \varphi P^\varepsilon \Phi_{i\varepsilon}
 + \varepsilon\int_{\partial T_\varepsilon} g^\varepsilon \varphi\Phi_{i\varepsilon} d\sigma(x).
\end{aligned}
\end{equation}
By \eqref{2.15} and \eqref{3.17}, we obtain
\begin{equation} \label{3.24}
\lim_{\varepsilon \to 0} \int_\Omega \widetilde\xi^\varepsilon \nabla \varphi P^\varepsilon\Phi_{i\varepsilon} dx
=\int_\Omega \xi \nabla\varphi x_i dx
\end{equation}
and using \eqref{3.2} and \eqref{3.19}, we get
\begin{equation} \label{3.25}
\lim_{\varepsilon \to 0} \int_\Omega (\widetilde{{^t\!A}^\varepsilon \eta^\varepsilon_i )}\nabla \varphi P^\varepsilon y_\varepsilon dx
=\frac{|Y^*|}{|Y|}\int_\Omega q_i\cdot \nabla \varphi y_0 dx,
\end{equation}
where
\[
(q_i)_j=\frac{1}{|Y^*|} \int_Y \Big(a_{ji}+a_{jk}
\frac{\partial \chi_i}{\partial y_k}\Big) dy.
\]
Analogously as we get \eqref{2.14}, we obtain the following using \eqref{3.17},
\begin{equation}
\lim_{\varepsilon \to 0} h\varepsilon \int_{\partial T_\varepsilon} y_\varepsilon \varphi\Phi_{i\varepsilon} d\sigma(x)
=h\frac{|\partial T|}{|Y|}\int_\Omega y_0 \varphi x_i dx .  \label{5.21'}
\end{equation}
The same arguments used for \eqref{2.18}, and the convergence \eqref{3.17},
will give us
\begin{equation}
\lim_{\varepsilon \to 0} \int_{\Omega} \chi_{\Omega_\varepsilon} f(y_\varepsilon) \varphi P^\varepsilon\Phi_{i\varepsilon} dx
=\frac{|Y^*|}{|Y|}\int_\Omega f(y_0)\varphi x_i dx .\label{5.22'}
\end{equation}


 Passing to the limit in \eqref{3.22} as $\varepsilon\to 0$, by means of
\eqref{v4.22}, \eqref{3.17}, \eqref{3.24}, \eqref{3.25}, \eqref{5.21'},
\eqref{5.22'} and \cite[corollary 5.4]{CD-06}, we obtain
\begin{align*}
&\int_\Omega \xi\cdot \nabla\varphi x_i dx
-\frac{|Y^*|}{|Y|}\int_\Omega q_i \nabla \varphi y_0 dx + h \frac{|\partial T|}{|Y|}\int_\Omega y_0 \varphi x_i dx
+\frac{|Y^*|}{|Y|}\int_\Omega f(y_0)\varphi x_i dx\\
&=\frac{|Y^*|}{|Y|}\int_\Omega \chi_\omega v_0 \varphi x_i dx
+\frac{|\partial T|}{|Y|} \mathcal{M}_{\partial T}(g) \int_\Omega \varphi x_i dx.
\end{align*}
Integrating by parts, using Green's formula and \eqref{xi} we obtain,
\[
-\int_\Omega \xi\cdot \nabla x_i \varphi dx + \frac{|Y^*|}{|Y|}\int_\Omega q_i\cdot \nabla y_0 \varphi dx =0 \quad \text{in } \Omega.
\]
Since this is true for any $\varphi \in \mathcal{D}(\Omega)$, we have
\begin{equation} \label{3.26.1}
-\xi\cdot \nabla x_i+\frac{|Y^*|}{|Y|} q_i \cdot \nabla y_0=0 \quad \text{in } \Omega.
\end{equation}
Let us write \eqref{3.26.1} component-wise, differentiating with respect to $x_i$,
summing over $i$, then using \eqref{xi} we conclude that
\[
\frac{|Y^*|}{|Y|} \sum_{i,j=1}^n q_{ij}\frac{\partial^2 y_0}{\partial x_i x_j}
= \operatorname{div}(\xi)= \frac{|Y^*|}{|Y|} f(y_0) -\frac{|Y^*|}{|Y|} \chi_\omega v_0
-\frac{|\partial T|}{|Y|} \mathcal{M}_{\partial T}(g) + h \frac{|\partial T|}{|Y|} y_0.
\]
This implies that $y_0$ satisfies the equation
\[
-\theta \sum_{i,j=1}^n q_{ij}\frac{\partial^2 y_0}{\partial x_i x_j}+\theta f(y_0)
=\theta \chi_\omega v_0
+\frac{|\partial T|}{|Y|} \mathcal{M}_{\partial T}(g)
- h \frac{|\partial T|}{|Y|} y_0,
\]
which can also be written as
\[
-\theta \operatorname{div}(A^0 \nabla y_0(v_0))+ \theta f(y_0(v_0))
=\theta \chi_\omega v_0
+ \frac{|\partial T|}{|Y|} \mathcal{M}_{\partial T}(g)
-h\frac{|\partial T|}{|Y|} y_0(v_0)  {\rm \ in \ } \Omega,
\]
where $A^0=(a^0_{ij})=(q_{ij})$, is given by \eqref{a0}.

 It follows by (H2) and the convergence
\[
\widetilde {y_\varepsilon(v_\varepsilon^*)}|_{S_\varepsilon} \rightharpoonup \theta y_0(v_0)|_S,
\]
that $v_0$ satisfies the approximate controllability inequality
\begin{equation}
\|y_0(v_0)|_S-y_1\|_{0,S}\le \frac{\alpha}{\sqrt{\theta}}.
\end{equation}
\smallskip


\noindent\textbf{Step 4.} Existence of optimal control.
In this step, we identify the limit $v_0$ of the optimal controls
$v_\varepsilon^*(\overline z_\varepsilon)$ appeared in \eqref{v4.22}.
A natural question arises: whether $v_0$ is an optimal solution?
Here we answer affirmatively to this question.

We start by writing the fixed point identity
\[
\overline z_\varepsilon= y_\varepsilon (\overline z_\varepsilon, v_\varepsilon^*(\overline z_\varepsilon))
= y_\varepsilon^*.
\]
By \eqref{3.2}, there exists $z_0$, such that (up to a subsequence) we obtain
\begin{equation} \label{z_0}
\begin{gathered}
P^\varepsilon \overline z_\varepsilon \rightharpoonup  z_0 \quad H_0^1(\Omega) \text{-weakly},\\
P^\varepsilon \overline z_\varepsilon \to   z_0 \quad L^2(\Omega) \text{-strongly},
\end{gathered}
\end{equation}
as $\varepsilon \to 0$.  For a fixed control $v$, let $y_0(z_0,v)$ be the solution
of the homogenized linearized problem:
\begin{equation}\label{6.4}
\begin{gathered}
\begin{aligned}
&-\theta\operatorname{div} (A_0\nabla y_0(z_0,v)) +\theta p(z_0)y_0(z_0,v) \\
&= \theta\chi_\omega v
+ \frac{|\partial T|}{|Y|} \mathcal{M}_{\partial T}(g)
-h\frac{|\partial T|}{|Y|} y_0(v) \quad \text{in } \Omega
\end{aligned} \\
y_0(z_0,v)= 0 \quad \text{on } \partial\Omega.
\end{gathered}
\end{equation}
With this state equation we associate the cost functional
\begin{equation} \label{6.5}
I^0_{z_0}(v)=\frac{1}{2}\|v\|_{0,\omega}^2+
\begin{cases}
0 & \text{if } \|y_0(z_0,v)|_S-y_1\|_{0,S}\le \frac{\alpha}{\sqrt{\theta}},\\
+\infty & \text{otherwise}.
\end{cases}
\end{equation}
By classical linear control theory, there exists a unique optimal control
$v_0^*(z_0)$ such that
\[
I^0_{z_0}(v_0^*(z_0))=\min_{v\in L^2(\omega)} I^0_{z_0}(v)< \infty.
\]
Let $y_0^*=y_0(z_0, v_0^*(z_0))$ be the corresponding state.
Again Fenchel-Rockafellar duality gives
the minimum $v_0^*(z_0)$ as the solution of the adjoint problem,
the characterization of which is given as follows:

 Given $\varphi_1\in L^2(S)$ (which is the limit of $\varphi_{1\varepsilon}$),
we introduce $\varphi_0(z_0, \varphi_1)$ as the solution of the dual problem
associated to \eqref{6.4}, that is
\begin{equation} \label{6.6}
\begin{gathered}
\begin{aligned}
&-\theta\operatorname{div}({^t\!A}_0 \nabla \varphi_0(z_0, \varphi_1))
+\theta p(z_0)\varphi_0(z_0, \varphi_1) \\
&= \theta\delta_S \varphi_1
-h\frac{|\partial T|}{|Y|} \varphi_0(z_0, \varphi_1) \quad \text{in } \Omega,
\end{aligned}\\
\varphi_0(z_0, \varphi_1) = 0 \quad \text{on } \partial\Omega .
\end{gathered}
\end{equation}
Let us now define the dual functional of $I^0_{z_0}(v)$
(defined by \eqref{6.5}), as follows:
\begin{equation} \label{6.7}
J^0_{z_0}(\varphi_1)=\frac{\theta}{2}\int_\omega |\varphi_0|^2 dx
+ \alpha \sqrt{\theta}\|\varphi_1\|_{0,S}
-\theta \int_S y_1\varphi_1 ds.
\end{equation}
Since $J^0_{z_0}$ is convex, coercive and lower semicontinuous, by the direct
 method of calculus of variations, there exists a unique optimal element
$\varphi_1^*$ minimizing the cost functional $J^0_{z_0}$ in $L^2(S)$.
Let $\varphi_0^*=\varphi_0(z_0, \varphi_1^*)$ be the solution of \eqref{6.6}
associated with $\varphi_1^*$. Then  Fenchel's duality theory gives us
\begin{equation}
v_0^*(z_0)= \theta(\varphi_0^*)|_\omega. \label{6.8}
\end{equation}
\smallskip

\noindent\textbf{Step 5.} Passage to the limit in the adjoint equation.
Let $\varphi\in V_\varepsilon$ as a test function in the adjoint equation \eqref{dual}
(written for $z=\overline z_\varepsilon$)
and integrate by parts, we obtain
\begin{equation} \label{var-adj}
\int_{\Omega_\varepsilon} ({^t\!A}^\varepsilon\nabla \varphi_\varepsilon) \nabla\varphi dx
+\int_{\Omega_\varepsilon} p(\overline z_\varepsilon) \varphi_\varepsilon \varphi dx
+ h \varepsilon \int_{\partial T_\varepsilon} \varphi_\varepsilon \varphi d\sigma(x)
=\int_{S_\varepsilon} \varphi_{1\varepsilon} \varphi.
\end{equation}
Using ellipticity of $A_\varepsilon$, property of linearized function $p$ and the
 fact that $h$ is a real positive constant, evaluating the norm estimate on
both the sides of \eqref{var-adj},
\[
\alpha_m\|\varphi_\varepsilon\|_{1,\Omega_\varepsilon} \le \|\varphi_{1\varepsilon}\|_{0,S_\varepsilon},
\]
hence we obtain
\[
\|P^\varepsilon \varphi_\varepsilon\|_{1,\Omega} \le C.
\]
This will imply that there exists $\bar \varphi_0$ such that up to a subsequence,
\begin{equation} \label{phi_0}
P^\varepsilon \varphi_\varepsilon \rightharpoonup \bar \varphi_0, \quad
H_0^1(\Omega) {\rm \ weakly}.
\end{equation}
Let us take $\zeta^\varepsilon=({^t\!A}^\varepsilon\nabla \varphi_\varepsilon)$ in $\Omega_\varepsilon$
and $\widetilde \zeta^\varepsilon$ be its extension by zero on all of $\Omega$.
Then $\widetilde \zeta^\varepsilon$ is bounded in $L^2(\Omega)^N$.
This implies that there exists $\zeta$ such that
\begin{equation} \label{zeta}
\widetilde \zeta^\varepsilon \rightharpoonup \zeta \quad \text{weakly in } L^2(\Omega).
\end{equation}
To see the equation satisfied by $\zeta$, let us take
 $\varphi\in \mathcal{D}(\Omega)$ as a test function in the variational
formulation \eqref{var-adj}, we obtain
\begin{equation} \label{4.61'}
\int_{\Omega_\varepsilon} \zeta^\varepsilon \nabla \varphi dx
+ \int_{\Omega_\varepsilon} p(\overline z_\varepsilon) \varphi_\varepsilon \varphi dx
+ h \varepsilon\int_{\partial T\varepsilon}   \varphi_\varepsilon \varphi d\sigma(x)
= \int_{S_\varepsilon} \varphi_{1\varepsilon} \varphi.
\end{equation}
Expressing the integrals over $\Omega$,
\begin{equation} \label{4.65''}
\int_{\Omega} \widetilde\zeta^\varepsilon \nabla \varphi dx
+ \int_{\Omega} p(P^\varepsilon \overline z_\varepsilon) P^\varepsilon \varphi_\varepsilon \varphi dx
 + h \varepsilon\int_{\partial T\varepsilon}  P^\varepsilon \varphi_\varepsilon \varphi d\sigma(x)
= \int_\Omega\delta_{S_\varepsilon} \widetilde\varphi_{1\varepsilon} \varphi
\end{equation}
Using \eqref{z_0}, \eqref{phi_0}, \eqref{zeta} and (H3), we pass to
the limit in \eqref{4.61'}
(as $\varepsilon \to 0$), to obtain
\begin{equation} \label{4.66''}
\int_{\Omega} \zeta \nabla \varphi dx  + \frac{|Y^*|}{|Y|}\int_{\Omega} p(z_0) \bar\varphi_0 \varphi dx
+ h \frac{|\partial T|}{|Y|} \int_{\Omega} \bar\varphi_0 \varphi dx
= \frac{|Y^*|}{|Y|}\int_{\Omega} \delta_S\varphi_1 \varphi dx .
\end{equation}
Hence $\zeta$ satisfies
\begin{equation} \label{4.63'}
-\operatorname{div} (\zeta) +\frac{|Y^*|}{|Y|} p(z_0) \bar\varphi_0
 + h \frac{|\partial T|}{|Y|} \bar\varphi_0
= \frac{|Y^*|}{|Y|} \delta_S\varphi_1 \quad \text{in } \Omega.
\end{equation}
Now,  to identify the limit equation satisfied by $\zeta$, we shall  use
 the cell problems \eqref{c2.9}. Let us define for $i=1, 2, \dots$ the
functions
\begin{equation} \label{4.64'}
\Psi_{i\varepsilon}:= \varepsilon \Big(\widehat \chi_i(\frac{x}{\varepsilon})+ y_i \Big), \quad
 \text{for all } x\in \Omega_\varepsilon,
\end{equation}
where $y=\frac{x}{\varepsilon}$ and by $Y$-periodicity of $\Psi_{i\varepsilon}$ we obtain
\begin{equation}
P^\varepsilon \Psi_{i\varepsilon} \rightharpoonup x_i \quad \text{weakly in } H^1(\Omega).  \label{4.65'}
\end{equation}
Let us define $\mu^\varepsilon_i:= \nabla \Psi_{i\varepsilon}$ in $\Omega_\varepsilon$. Then
\[
(\widetilde {A^\varepsilon \mu^\varepsilon_i})_j= \frac{\partial}{\partial x_j}(A^\varepsilon \Psi_{i\varepsilon})
=\frac{1}{|Y|} \Big( a_{ik} \frac{\partial \chi_j}{\partial y_k}+a_{ik}\delta_{kj} \Big)
=\frac{|Y^*|}{|Y|} ({^t\!q}_{ij}),
\]
where
\[
({^t\! q}_{ij})=\frac{1}{|Y|} \Big(a_{ik} \frac{\partial \chi_j}{\partial y_k}+ a_{ij} \Big).
\]
Hence
\begin{equation}  \label{4.68}
\Big(\widetilde{{A}^\varepsilon\mu^\varepsilon_i} \Big)_j \rightharpoonup
\frac{|Y^*|}{|Y|} ({^t\!q}_{ij}) \quad
\text{weakly in } L^2(\Omega),
\end{equation}
and in view of \eqref{c2.9}, we observe that $\mu^\varepsilon_i$ satisfies
\begin{equation} \label{4.68'}
\begin{gathered}
-\operatorname{div}(A^\varepsilon\mu^\varepsilon_i)=0  \quad \text{in } \Omega_\varepsilon,\\
({A}^\varepsilon\mu^\varepsilon_i)\cdot \nu=0 \quad \text{on } \partial T_\varepsilon.
\end{gathered}
\end{equation}
Let $\varphi\in \mathcal{D}(\Omega)$, multiplying \eqref{4.68'} by
$\varphi \varphi_\varepsilon$ and integrate by parts,
\[
\int_{\Omega_\varepsilon} (A^\varepsilon\mu^\varepsilon_i)\nabla \varphi \varphi_\varepsilon dx
+\int_{\Omega_\varepsilon} (A^\varepsilon\mu^\varepsilon_i)\nabla \varphi_\varepsilon \varphi dx=0,
\]
which in turn implies that
\begin{equation}   \label{4.69}
\int_{\Omega_\varepsilon} (A^\varepsilon\mu^\varepsilon_i)\nabla \varphi_\varepsilon \varphi dx
=-\int_{\Omega} (\widetilde{A^\varepsilon\mu^\varepsilon_i})\nabla \varphi P^\varepsilon \varphi_\varepsilon dx .
\end{equation}
Now, taking $\varphi\Psi_{i\varepsilon}$ as test function in \eqref{var-adj},
\begin{align*}
&\int_{\Omega_\varepsilon} ({^t\!A}^\varepsilon \nabla \varphi_\varepsilon )\nabla(\varphi\Psi_{i\varepsilon})dx
+h\varepsilon \int_{\partial T_\varepsilon} \varphi_\varepsilon\varphi\Psi_{i\varepsilon} d\sigma(x)
+\int_{\Omega_\varepsilon} p(\overline z_\varepsilon) \varphi_\varepsilon\varphi\Psi_{i\varepsilon} dx  \\
&= \int_{\Omega} \delta_\varepsilon \varphi_{1\varepsilon} \varphi\Psi_{i\varepsilon} dx .
\end{align*}
Expressing the integrals over $\Omega$ and using the definition of
$\widetilde \zeta^\varepsilon$, we obtain
\begin{align*}
&\int_\Omega \widetilde \zeta^\varepsilon\cdot \nabla \varphi P^\varepsilon \Psi_{i\varepsilon} dx
+\int_{\Omega_\varepsilon}{^t\!A}^\varepsilon \nabla \varphi_\varepsilon\cdot \mu^\varepsilon_i \varphi dx
+h\varepsilon \int_{\partial T_\varepsilon} \varphi_\varepsilon \varphi\Psi_{i\varepsilon} d\sigma(x) \\
&+ \int_{\Omega} \chi_{\Omega_\varepsilon} p(P^\varepsilon \overline z_\varepsilon)
P^\varepsilon\varphi_\varepsilon \varphi P^\varepsilon\Psi_{i\varepsilon} dx \\
&=\int_\Omega \delta_{S_\varepsilon}\widetilde\varphi_{1\varepsilon} \varphi P^\varepsilon \Psi_{i\varepsilon},
\end{align*}
which can also be written as
\begin{align*}
&\int_\Omega \widetilde \zeta^\varepsilon\cdot \nabla \varphi P^\varepsilon \Psi_{i\varepsilon} dx
+\int_{\Omega_\varepsilon}({^t\!A}^\varepsilon \nabla \varphi_\varepsilon)\cdot \mu^\varepsilon_i \varphi dx
+h\varepsilon \int_{\partial T_\varepsilon} \varphi_\varepsilon \varphi\Psi_{i\varepsilon} d\sigma(x) \\
&+ \int_{\Omega} \chi_{\Omega_\varepsilon} p(P^\varepsilon\overline z_\varepsilon)P^\varepsilon
\varphi_\varepsilon \varphi P^\varepsilon\Psi_{i\varepsilon} dx \\
&=\int_\Omega \delta_{S_\varepsilon}\widetilde\varphi_{1\varepsilon} \varphi P^\varepsilon \Psi_{i\varepsilon} .
\end{align*}
Using the relation \eqref{4.69}, we obtain
\begin{equation} \label{4.70}
\begin{aligned}
&\int_\Omega \widetilde \zeta^\varepsilon\cdot \nabla \varphi P^\varepsilon \Psi_{i\varepsilon} dx
-\int_\Omega(\widetilde{A^\varepsilon \mu^\varepsilon_i )}\nabla \varphi P^\varepsilon \varphi_\varepsilon dx
+h\varepsilon \int_{\partial T_\varepsilon} \varphi_\varepsilon \varphi\Psi_{i\varepsilon} d\sigma(x) \\
&+ \int_{\Omega} \chi_{\Omega_\varepsilon} p(P^\varepsilon\overline z_\varepsilon)P^\varepsilon \varphi_\varepsilon
\varphi P^\varepsilon\Psi_{i\varepsilon} dx \\
&=\int_{\Omega_\varepsilon} \delta_{S_\varepsilon} \widetilde\varphi_{1\varepsilon}
  \varphi P^\varepsilon \Psi_{i\varepsilon}.
\end{aligned}
\end{equation}
In a similar way as we get \eqref{2.14}; using \eqref{phi_0} and \eqref{4.65'}
we obtain
\begin{equation} \label{5.45'}
\lim_{\varepsilon \to 0} h\varepsilon \int_{\partial T_\varepsilon} \varphi_\varepsilon \varphi\Psi_{i\varepsilon} d\sigma(x)
=h\frac{|\partial T|}{|Y|} \int_\Omega \bar \varphi_0 \varphi x_i dx.
\end{equation}
Using the property of $p$ (see \eqref{4.2}), convergences \eqref{z_0},
 \eqref{phi_0}, \eqref{4.65'} and adapting
the same lines of calculations to get \cite[eq. (84)]{CDEI-16}, we obtain
\begin{equation} \label{5.46'}
\lim_{\varepsilon \to 0} \int_{\Omega} \chi_{\Omega_\varepsilon} p(P^\varepsilon\overline z_\varepsilon)P^\varepsilon
\varphi_\varepsilon \varphi P^\varepsilon\Psi_{i\varepsilon} dx
=\frac{|Y^*|}{|Y|}\int_\Omega p(z_0)\bar\varphi_0 \varphi x_i dx .
\end{equation}

 Passing to the limit in \eqref{4.70} as $\varepsilon \to 0$, using \eqref{phi_0},
\eqref{4.68}, \eqref{5.45'}, \eqref{5.46'}
we have
\begin{align*}
&\int_\Omega \zeta \cdot \nabla\varphi x_i dx
 -\frac{|Y^*|}{|Y|}\int_\Omega ({^t\!q}_i) \nabla \varphi
\bar\varphi_0 dx + h \frac{|\partial T|}{|Y|}
 \int_\Omega \bar \varphi_0 \varphi x_i dx \\
&+\frac{|Y^*|}{|Y|}\int_\Omega p(z_0)\bar\varphi_0 \varphi x_i dx \\
&=\frac{|Y^*|}{|Y|}\int_\Omega \delta_S\varphi_1 \varphi x_i dx.
\end{align*}
Integrating by parts, using Green's formula and \eqref{4.63'} we have
\[
-\int_\Omega \zeta \cdot \nabla x_i \varphi dx
+ \frac{|Y^*|}{|Y|}\int_\Omega ({^t\!q}_i)\cdot \nabla
\bar\varphi_0 \varphi dx =0, \quad \text{in } \Omega.
\]
Since this is true for any $\varphi\in \mathcal{D}(\Omega)$, we have
\begin{equation} \label{4.72}
-\zeta \cdot \nabla x_i+\frac{|Y^*|}{|Y|} ({^t\!q}_i) \cdot \nabla \bar\varphi_0=0,
\quad \text{in } \Omega.
\end{equation}
Let us write \eqref{4.72} component-wise, differentiating with respect to $x_i$,
summing over $i$, using \eqref{4.63'}, we conclude  that
\[
\frac{|Y^*|}{|Y|} \sum_{i,j=1}^n ({^t\!q}_{ij}) \frac{\partial^2 \bar\varphi_0}{\partial \zeta_i x_j}
= \operatorname{div}(\zeta)
= \frac{|Y^*|}{|Y|} p(z_0)\bar\varphi_0 -\frac{|Y^*|}{|Y|} \delta_S \varphi_1
+ h \frac{|\partial T|}{|Y|} \bar\varphi_0.
\]
This implies that $\bar\varphi_0$ satisfies
\[
-\theta \sum_{i,j=1}^n ({^t\!q}_{ij})\frac{\partial^2 \bar\varphi_0}{\partial x_i x_j}
+\theta p(z_0)\bar \varphi_0 =\theta \delta_S \varphi_1
- h \frac{|\partial T|}{|Y|} \bar \varphi_0,
\]
which can also be written as
\begin{equation}   \label{4.76}
-\theta \operatorname{div}({^t\!A}^0 \nabla \bar \varphi_0)
+ \theta p(z_0)\bar \varphi_0
=\theta \delta_S\varphi_1
-h\frac{|\partial T|}{|Y|} \bar\varphi_0    {\rm \ in \ } \Omega.
\end{equation}
Comparing \eqref{6.6} and \eqref{4.76}, we get that
\begin{equation}
\bar \varphi_0=\varphi_0(z_0, \varphi_1).  \label{4.78}
\end{equation}

 Now, we pass to the limit in the cost functional $J^\varepsilon_{\overline z_\varepsilon}$,
using (H2), (H3),
\eqref{phi_0} and \eqref{4.78}, we have
\begin{equation}
\lim_{\varepsilon \to 0} J^\varepsilon_{\overline z_\varepsilon} (\varphi_{1\varepsilon})
=J^0_{z_0} (\varphi_1), \label{4.59}
\end{equation}
where
\[
J^0_{z_0}(\varphi_1)=\frac{\theta}{2}\int_\omega |\varphi_0|^2 dx+ \alpha \sqrt{\theta}\|\varphi_1\|_{0,S}
-\theta \int_S y_1\varphi_1 ds.
\]
\smallskip

\noindent\textbf{Step 6.} Convergence of the optimal controls of the state equation.
By using the similar techniques as in \cite[Lemma 2]{zua-94} one can prove that
the minimizers $\{\varphi_{1\varepsilon}^*\}$ of the functional
$J^\varepsilon_{\overline z_\varepsilon}(\varphi_{1\varepsilon})$ (defined by \eqref{4.18}),
are uniformly bounded, that is
\[
\|\varphi_{1\varepsilon}^*\|_{0,S_\varepsilon} \le C.
\]
This implies that up to a subsequence (also see \cite[Theorem 6]{DN-97}),
there exists an element $\xi^*\in L^2(S)$ such that
\begin{equation} \label{5.51'}
\widetilde{\varphi_{1\varepsilon}^*} \rightharpoonup \theta\xi^* \quad \text{weakly in } L^2(S).
\end{equation}
Thus up to another subsequence, we have
\begin{equation} \label{4.60'}
\begin{gathered}
\widetilde {\varphi_\varepsilon}(\overline z_\varepsilon, \varphi_{1\varepsilon}^*(\overline z_\varepsilon))
\rightharpoonup \theta\varphi_0(z_0, \xi^*)
\quad \text{weakly in } H_0^1(\Omega),\\
\widetilde {\varphi_\varepsilon}(\overline z_\varepsilon, \varphi_{1\varepsilon}^*(\overline z_\varepsilon)) \to \theta\varphi_0(z_0, \xi^*)
\quad\text{strongly  in  } L^2(\Omega).
\end{gathered}
\end{equation}
Next our aim is to show that
\begin{equation}
\xi^*=\varphi_1^*,  \label{4.60}
\end{equation}
where $\varphi_1^*$ is the minimizer of $J^0_{z_0}(\varphi_1)$ defined by
\eqref{6.7}.
To show \eqref{4.60}, it suffices to show that
\begin{equation}
J^0_{z_0}(\xi^*)\le J^0_{z_0}(\varphi_1), \quad \forall   \varphi_1\in L^2(S). \label{7.11}
\end{equation}
Thanks to \eqref{4.59}, we deduce that
\[
\liminf_{\varepsilon\to 0} J^\varepsilon_{\overline z_\varepsilon}(\varphi_{1\varepsilon}^*(\overline z_\varepsilon))
\le \lim_{\varepsilon\to 0}J^\varepsilon_{\overline z_\varepsilon}(\varphi_{1\varepsilon})= J^0_{z_0}(\varphi_1).
\]
Therefore it suffices to show that
\begin{equation}
J^0_{z_0}(\xi^*) \le \liminf_{\varepsilon\to 0}
 J^\varepsilon_{\overline z_\varepsilon}(\varphi_{1\varepsilon}^*(\overline z_\varepsilon)). \label{4.63}
\end{equation}
Recall the definition of $J^\varepsilon_{\overline z_\varepsilon}$,
\[
J^\varepsilon_{\overline z_\varepsilon} (\varphi_{1\varepsilon}^*(\overline z_\varepsilon))
=\frac{1}{2}\|\varphi_\varepsilon(\overline z_\varepsilon,
\varphi_{1\varepsilon}^*(\overline z_\varepsilon))\|^2_{0,\omega_\varepsilon}
+\alpha\|\varphi_{1\varepsilon}^*\|_{0,S_\varepsilon}-\langle \varphi_{1\varepsilon}^*,
 y_{1\varepsilon}\rangle_{L^2(S_\varepsilon)};
\]
then we obtain
\[
\liminf_{\varepsilon\to 0}\Big(\alpha\|\varphi_{1\varepsilon}^*\|_{0,S_\varepsilon}
 -\langle \varphi_{1\varepsilon}^*, y_{1\varepsilon}\rangle_{L^2(S_\varepsilon)}\Big)
\ge \alpha \sqrt{\theta}\|\xi^*\|_{0,S}-\theta \langle \xi^*, y_1\rangle_{L^2(S)}.
\]
Thus we have
\begin{equation} \label{4.64}
\begin{aligned}
&\liminf_{\varepsilon\to 0}J^\varepsilon_{\overline z_\varepsilon} (\varphi_{1\varepsilon}^*(\overline z_\varepsilon))\\
&\ge \lim_{\varepsilon\to 0} \Big(\frac{1}{2}\|\varphi_\varepsilon(\overline z_\varepsilon,
 \varphi_{1\varepsilon}^*(\overline z_\varepsilon))\|^2_{0,\omega_\varepsilon}\Big)
 +\alpha \sqrt{\theta}\|\xi^*\|_{0,S}- \theta \langle \xi^*, y_1\rangle_{L^2(S)}.
\end{aligned}
\end{equation}
By means of \eqref{4.60'}, the right hand side of \eqref{4.64} is $J^0_{z_0}(\xi^*)$,
hence \eqref{4.63} is proved which in turn implies that \eqref{4.60} is proved.

\begin{remark} \label{rmk5.1} \rm
Since the minimizer of the functional $J^0_{z_0}(\varphi_1)$ is unique,
the convergence \eqref{5.51'} holds for the whole sequence.
\end{remark}

 We have the following convergence
\begin{gather*}
\varphi_{1\varepsilon}^*(\overline z_\varepsilon) \rightharpoonup \theta\varphi_1^*(z_0) 
\quad\text{weakly in } L^2(S),\\
\widetilde{\varphi_\varepsilon} (\overline z_\varepsilon, \varphi_{1\varepsilon}^*(\overline z_\varepsilon))
\rightharpoonup \theta \varphi_0(z_0,\varphi_1^*(z_0)) \quad\text{weakly in }
H_0^1(\Omega).
\end{gather*}
Hence,
\[
\lim_{\varepsilon \to 0} J^\varepsilon_{\overline z_\varepsilon}(\varphi_{1\varepsilon}^*)
=\frac{\theta}{2}\int_\omega |\varphi_0|^2 dx
 + \alpha \sqrt{\theta}\|\varphi_1^*\|_{0,S}
-\theta \int_S y_1\varphi_1^* ds.
\]
Finally we write \eqref{opt} for $z=\overline z_\varepsilon$,
\[
v_\varepsilon^*(\overline z_\varepsilon)
= \widetilde \varphi_\varepsilon(\overline z_\varepsilon,
\varphi_{1\varepsilon}^*(\overline z_\varepsilon))|_{\omega_\varepsilon}
=\varphi_\varepsilon(\overline z_\varepsilon, \varphi_{1\varepsilon}^*(\overline z_\varepsilon))|_{\omega_\varepsilon}.
\]
Now we have
\begin{equation}
v_0= \theta\big(\varphi_0(z_0, \varphi_1^*(z_0))\big)|_\omega=v_0^*(z_0).
\end{equation}
This completes the proof of the theorem.
\end{proof}

\subsection*{Acknowledgements}
The authors would like to thank the anonymous referees for their
comments/suggestions, that improved this article.
The research of the first author was supported by SERB-DST (YSS/2014/000732),
and CREST, IISER Bhopal. The second author received partial support
from PFBasal-01 (CeBiB),
PFBasal-03 (CMM) project, Fondecyt Grant 1140773, and from the Regional Program
STIC-AmSud Project Moscow.


\begin{thebibliography}{99}


\bibitem {BLP-78} A. Bensoussan, J. L. Lions, G. Papanicolaou;
\emph{Asymptotic Analysis for Periodic Structures}, Amsterdam, North Holland, 1978.

\bibitem {CD-88} D. Cioranescu, P. Donato;
\emph{Homog\'en\'eisation du probl\`eme de Neumann non-homog\`ene
dans des ouverts perfor\'es},  Asymptot. Anal., \textbf{1} (1988), pp. 115--138.

\bibitem{CD-06} D. Cioranescu, P. Donato;
\emph{The periodic unfolding method in perforated domains}, Port. Math.,
\textbf{63} (2006), pp. 467--496.

\bibitem {CJP-79} D. Cioranescu, J. Saint Jean Paulin;
\emph{Homogenization in open sets with holes}, J. Math.
Anal. Appl., \textbf{71} (1979), pp. 590--607.

\bibitem {CJP-99} D. Cioranescu, J. Saint Jean Paulin;
\emph{Homogenization of Reticulated Structures},
Applied Mathematical Sciences, Vol. \textbf{136}, Springer-Verlag, New York, 1999.

\bibitem{con-04} C. Conca, J. D\'{\i}az, A. Li\~{n}an, C. Timofte;
\emph{Homogenization in chemical reactive flows},
Electron. J. Diff. Eqns. (2004), pp. 1--22.

\bibitem{Co-Do} C. Conca, P. Donato;
\emph{Non-homogeneous Neumann problems in domains with small holes},
Math. Modelling Numer. Anal. (M$^2$AN) \textbf{22} (1988), pp. 561--607.

\bibitem{CDEI-16}  C. Conca, P. Donato, E. Jos\'e, I. Mishra;
\emph{Asysmptotic analysis of optimal controls of a semilinear
problem in a perforated domain}, J. of Ramanujan Math. Soc. \textbf{31} (2016),
pp. 265--305.

\bibitem{con-01} C. Conca, A. Osses, J. Saint Jean Paulin;
\emph{A semilinear control problem involving homogenization},
Electron. J. Diff. Eqns. (2001), pp. 109--122.

\bibitem{conca-03} C. Conca, A. Osses, J. Saint Jean Paulin;
\emph{Approximate controllability and homogenization of a semilinear elliptic
problem}, J. Math. Anal. Appl. \textbf{285} (2003), pp. 17--36.

\bibitem{DN-97} P. Donato, A. N\"abil;
\emph{Homog\'en\'eisation et contr\^olabilit\'e approch\'ee de l'\'equation
de la chaleur dans des domaines perfor\'es}, C. R. Acad. Sci. Paris \textbf{324}
(1997), pp. 789-794.

\bibitem{DN-2001} P. Donato, A. N\"abil;
\emph{Approximate controllability of linear parabolic equations in perforated
domains}, ESAIM: COCV \textbf{6}  (2001), pp. 21--38.

\bibitem{yr} I. Ekeland, R. Temam;
\emph{Analyse Convexe et Probl\`emes Variationnels},
Dunod, Gauthier-Villars, Paris, France, 1974.

\bibitem{fabre} C. Fabre, J. P. Puel, E. Zuazua;
\emph{Approximate controllability of the nonlinear
heat equation}, Proc. Roy. Soc. Edinburgh, Sect. A \textbf{125} (1995), pp. 31--61.

\bibitem{KM-08} S. Kesavan, T. Muthukumar;
\emph{Low cost control problems on perforated and non-perforated domains},
Proc. Indian Acad. Sci. Math. Sci. \textbf{118} (2008), pp. 133--157.

\bibitem{lions0} J. L. Lions;
\emph{Remarques sur la contr\^ollabilit\'e approch\'ee}, in Proceedings
from Jornadas  Hispano-Francesas sobre Control de Sistemas Distribuidos,
 Grupo de An\'alisis Matem\'atico Aplicado de la Universidad de M\'alaga,
Spain (1991), pp. 77--87.

\bibitem{lions1} J. L. Lions;
\emph{Remarks on approximate controllability}, J. Anal. Math. \textbf{59} (1992),
pp. 103--116.

\bibitem{lions_71} J. L. Lions;
\emph{Optimal Control of Systems Governed by Partial Differential Equations},
Springer-Verlag, Berlin, 1971.

\bibitem{lions-81} J. L. Lions;
\emph{Some Methods in the Mathematical Analysis of Systems and Their Control},
Beijing, Gordon and Breach, New York, 1981.

\bibitem{puel} A. Osses, J.-P. Puel;
\emph{Boundary controllability of the stationary Stokes system with linear
convection observed on an interior curve}, J. Optim. Theory Appl.,
 \textbf{99} (1998), pp. 201--234.

\bibitem{puel1} A. Osses, J.-P. Puel;
\emph{Boundary controllability of the Laplace equation observed
on an interior curve}, Rev. Matem. Complutense, \textbf{11} (1998), pp. 403--441.

\bibitem{et} E. T. Rockafellar;
\emph{Convex Functions and Duality in Optimization Problems and Dynamics,
Lecture Notes in Operational Research and Mathematical Education},
Springer, Berlin, Germany, Vol. \textbf{2}, 1969.

\bibitem{san-pal} E. S\'anchez-Palencia;
\emph{Non homogeneous Media and Vibration Theory}, Springer-Verlag,
Lecture Notes in Phys., Vol. \textbf{127}, Berlin, 1980.

\bibitem{spag} S. Spagnolo;
\emph{Sulla convergenza di soluzioni di equazioni paraboliche ed ellittiche},
Ann. Sc. Norm. Sup. Pisa \textbf{22} (1968), pp. 571--591.

\bibitem{tartar-77} L. Tartar;
\emph{Probl\`emes d'homog\'en\'eisation dans les \'equations aux d\'eriv\'ees
partielles},  in Cours Peccot, Coll\'ege de France, 1977.

\bibitem{tartar-78} L. Tartar;
\emph{Quelques remarques sur l'homog\'en\'eisation}, in Functional Analysis
and Numerical Analysis, Proceedings from the Japan-France Seminar 1976,
H. Fujita ed., Japan Society for the Promotion of Science,
Tokyo (1978), pp. 469--482.

\bibitem{zua91} E. Zuazua;
\emph{Exact boundary controllability for the semi-linear wave equation}. In
 Nonlinear Partial Differential Equations and their Applications, Vol. \textbf{X},
 H. Brezis and J. L. Lions eds., Pitman, Amsterdam (1991), pp. 357--391.

\bibitem{zua-94} E. Zuazua;
\emph{Approximate controllability for linear parabolic equatios with rapidly
 oscillating coefficients}, Control and Cybernetics \textbf{23} (1994),
pp. 793--801.

\end{thebibliography}

\end{document}
