\documentclass[CRMATH,Unicode,biblatex,XML,published]{cedram}

\TopicFR{Équations aux dérivées partielles}
\TopicEN{Partial differential equations}



\addbibresource{CRMATH_Grosjean_20231041.bib}

\usepackage{mathrsfs}
\usepackage{mathtools}

\newcommand{\R}{\mathbb{R}}


\DeclareMathOperator{\Cap}{Cap}
\DeclareMathOperator{\Int}{Int}
\DeclareMathOperator{\Supp}{Supp}
\newcommand{\cone}{\mathrm{cone}} 
\newcommand{\Lip}{\mathrm{Lip}} 
\newcommand{\dist}{\mathrm{dist}} 
\newcommand{\caprm}{\mathrm{cap}} 
\newcommand{\convex}{\mathrm{convex}} 
\newcommand{\seg}{\mathrm{seg}} 
\newcommand{\corks}{\mathrm{corks}} 
\newcommand{\dd}{\mathrm{d}} % Ã la fin d'une intÃ©grale



%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\makeatletter
\let\save@mathaccent\mathaccent
\newcommand*\if@single[3]{%
 \setbox0\hbox{${\mathaccent"0362{#1}}^H$}%
 \setbox2\hbox{${\mathaccent"0362{\kern0pt#1}}^H$}%
 \ifdim\ht0=\ht2 #3\else #2\fi
 }
%The bar will be moved to the right by a half of \macc@kerna, which is computed by amsmath:
\newcommand*\rel@kern[1]{\kern#1\dimexpr\macc@kerna}
%If there's a superscript following the bar, then no negative kern may follow the bar;
%an additional {} makes sure that the superscript is high enough in this case:
\newcommand*\widebar[1]{\@ifnextchar^{{\wide@bar{#1}{0}}}{\wide@bar{#1}{1}}}
%Use a separate algorithm for single symbols:
\newcommand*\wide@bar[2]{\if@single{#1}{\wide@bar@{#1}{#2}{1}}{\wide@bar@{#1}{#2}{2}}}
\newcommand*\wide@bar@[3]{%
 \begingroup
 \def\mathaccent##1##2{%
%Enable nesting of accents:
 \let\mathaccent\save@mathaccent
%If there's more than a single symbol, use the first character instead (see below):
 \if#32 \let\macc@nucleus\first@char \fi
%Determine the italic correction:
 \setbox\z@\hbox{$\macc@style{\macc@nucleus}_{}$}%
 \setbox\tw@\hbox{$\macc@style{\macc@nucleus}{}_{}$}%
 \dimen@\wd\tw@
 \advance\dimen@-\wd\z@
%Now \dimen@ is the italic correction of the symbol.
 \divide\dimen@ 3
 \@tempdima\wd\tw@
 \advance\@tempdima-\scriptspace
%Now \@tempdima is the width of the symbol.
 \divide\@tempdima 10
 \advance\dimen@-\@tempdima
%Now \dimen@ = (italic correction / 3) - (Breite / 10)
 \ifdim\dimen@>\z@ \dimen@0pt\fi
%The bar will be shortened in the case \dimen@<0 !
 \rel@kern{0.6}\kern-\dimen@
 \if#31
 \overline{\rel@kern{-0.6}\kern\dimen@\macc@nucleus\rel@kern{0.4}\kern\dimen@}%
 \advance\dimen@0.4\dimexpr\macc@kerna
%Place the combined final kern (-\dimen@) if it is >0 or if a superscript follows:
 \let\final@kern#2%
 \ifdim\dimen@<\z@ \let\final@kern1\fi
 \if\final@kern1 \kern-\dimen@\fi
 \else
 \overline{\rel@kern{-0.6}\kern\dimen@#1}%
 \fi
 }%
 \macc@depth\@ne
 \let\math@bgroup\@empty \let\math@egroup\macc@set@skewchar
 \mathsurround\z@ \frozen@everymath{\mathgroup\macc@group\relax}%
 \macc@set@skewchar\relax
 \let\mathaccentV\macc@nested@a
%The following initialises \macc@kerna and calls \mathaccent:
 \if#31
 \macc@nested@a\relax111{#1}%
 \else
%If the argument consists of more than one symbol, and if the first token is
%a letter, use that letter for the computations:
 \def\gobble@till@marker##1\endmarker{}%
 \futurelet\first@char\gobble@till@marker#1\endmarker
 \ifcat\noexpand\first@char A\else
 \def\first@char{}%
 \fi
 \macc@nested@a\relax111{\first@char}%
 \fi
 \endgroup
}
\makeatother

\let\oldbar\bar
\renewcommand*{\bar}[1]{\mathchoice{\widebar{#1}}{\widebar{#1}}{\widebar{#1}}{\oldbar{#1}}}

\let\oldtilde\tilde
\renewcommand*{\tilde}[1]{\mathchoice{\widetilde{#1}}{\widetilde{#1}}{\oldtilde{#1}}{\oldtilde{#1}}}
%\let\tilde\widetilde

%\let\hat\widehat
\let\oldhat\hat
\renewcommand*{\hat}[1]{\mathchoice{\widehat{#1}}{\widehat{#1}}{\oldhat{#1}}{\oldhat{#1}}}
%\let\tilde\widetilde

\renewcommand*{\to}{\mathchoice{\longrightarrow}{\rightarrow}{\rightarrow}{\rightarrow}}
\let\oldmapsto\mapsto
\renewcommand*{\mapsto}{\mathchoice{\longmapsto}{\oldmapsto}{\oldmapsto}{\oldmapsto}}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand*{\mk}{\mkern -1mu}
\newcommand*{\Mk}{\mkern -2mu}
\newcommand*{\mK}{\mkern 1mu}
\newcommand*{\MK}{\mkern 2mu}

\hypersetup{urlcolor=purple, linkcolor=blue, citecolor=red}


\newcommand*{\romanenumi}{\renewcommand*{\theenumi}{\roman{enumi}}}
\newcommand*{\Romanenumi}{\renewcommand*{\theenumi}{\Roman{enumi}}}
\newcommand*{\alphenumi}{\renewcommand*{\theenumi}{\alph{enumi}}}
\newcommand*{\Alphenumi}{\renewcommand*{\theenumi}{\Alph{enumi}}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


\title{Stable domains for higher order elliptic operators}

\alttitle{Domaines stables pour des opérateurs elliptiques d'ordre quelconque}

%%%1
\author{\firstname{Jean-Fran\c{c}ois} \lastname{Grosjean}} 

\address{Université de Lorraine, CNRS, IECL, F-54000 Nancy, France}

\email{jean-francois.grosjean@univ-lorraine.fr}
 
 %%%2
\author{\firstname{Antoine} \lastname{Lemenant}\IsCorresp} 

\address[1]{Université de Lorraine, CNRS, IECL, F-54000 Nancy, France}

\email{antoine.lemenant@univ-lorraine.fr}

%%3
\author{\firstname{R\'emy } \lastname{Mougenot}}

\address[1]{Université de Lorraine, CNRS, IECL, F-54000 Nancy, France}

\email{remy.mougenot@univ-lorraine.fr}

\keywords{\kwd{Capacity, stable domains} \kwd{$\gamma_m$-convergence} \kwd{Mosco-convergence} \kwd{shape optimisation}}

\altkeywords{\kwd{Capacité} \kwd{domaines stables} \kwd{$\gamma_m$-convergence} \kwd{Mosco-convergence} \kwd{optimisation de forme}}

\subjclass[]{49G05, 35J20, 49Q20}


\begin{abstract} This paper is devoted to prove that any domain satisfying a $(\delta_0,r_0)$-capacitary condition of first order is automatically $(m,p)$-stable for all $m\geqslant 1$ and $p> 1$, and for any dimension $N\geqslant 1$. In particular, this includes regular enough domains such as $\mathscr{C}^1$-domains, Lipschitz domains, Reifenberg-flat domains, but is sufficiently weak to also include cusp points. Our result extends some of the results of Hayouni and Pierre valid only for $N=2,3$, and partially extends the results of Bucur and Zolésio for higher order operators, with a different and simpler proof. 
\end{abstract}

\begin{altabstract} Dans cet article nous démontrons que tout domaine satisfaisant une condition de $(\delta_0,r_0)$-capacité de premier ordre, est automatiquement $(m,p)$ stable pour tout $m\geq1$ et pour tout $p>1$. En particulier, ceci inclus tous les domaines suffisamment réguliers tels que les domaines $C^1$, Lipschitz, Reifenberg-plat, mais la condition est suffisamment faible pour inclure des points de type cusp. Notre résultat généralise des résultats antérieurs de Hayouni et Pierre valables seulement en dimension $N=2,3$ et étend aussi des résultats antérieurs de Bucur et Zolésio pour des opérateurs d'ordre supérieurs, avec une preuve plus simple et différente.
\end{altabstract}





\dateposted{2024-11-05}
\begin{document}

\maketitle
 
\section{Introduction}

Let $\Omega \subset \R^N$ be a bounded and open set. Following~\cite{HePi06,BuBut05,BuZo94}, we say that $\Omega$ is $(m,p)$-stable if 
\[
W^{m,p}(\R^N) \cap \left\{u =0 \text{ a.e. in } \bar{\Omega}^c \right\} = W^{m,p}_0(\Omega).
\]
This notion is related to the continuity of a $2m$-order elliptic PDE with respect to domain perturbation. In particular, if $\Omega$ is $(m,2)$-stable, then it implies that for any sequence of domains $(\Omega_n)_{n\in \mathbb{N}}$ converging to $\Omega$ in a certain Hausdorff sense, one has that $(u_n)_{n\in \mathbb{N}}$ converges strongly in $H^{m}$ to $u$, where $u_n$ is the unique solution in $H^m_{0}(\Omega_n)$ for the equation $(-\Delta)^m(u_n)=f$ in $\Omega_n$, and $u$ is the solution of the same problem in $\Omega$. It is also equivalent to the convergence of $(W^{m,p}_0(\Omega_n))_{n\in \mathbb{N}}$ to $W^{m,p}_0(\Omega)$ in the sense of Mosco (see Section~\ref{stability}).

In the literature, a lot of attention has been devoted to the case $m=1$ and $p=2$ because of its relation to the Laplace operator. On the other hand, very few results are available for the higher order spaces $H^m_0(\Omega)$, related to bi-harmonic or more generally poly-harmonic equations, that have a lot of applications. The objective of this paper is to give a short and elementary proof of the fact that any domain which is ``regular enough'' is always $(m,p)$-stable for all $m,p$ and all dimensions $N$. 

 Notice that in general, the stability for $W^{m,p}_0(\Omega)$ does not simply reduce to the one of $W^{1,p}_0(\Omega)$. To enlight this fact we recall that for every open set $\Omega \subset \R^N$, we have the characterisation (see for instance~\cite[Chapter~9]{AdHe96})
\[
W^{m,p}_0(\Omega)= W^{m,p}(\R^N)\cap \left\{\nabla^ku|_{\Omega^c}=0 \; \quad (m-k,p)-\text{q.e. for all } k\leqslant m-1 \; \right\},
\]
where $\nabla^k u \coloneqq (\partial^\alpha u)_{\vert \alpha \vert = k }$ and $\partial^\alpha u$ is the $(m-k,p)$-quasicontinuous representative, which is in particular defined pointwise $(m-k,p)$-q.e.
If $\Omega$ is $(1,p)$-stable, then for any $|\alpha|\leqslant m-1$ and from the assumption $\partial^\alpha u=0$ a.e. in $\bar{\Omega}^c$ we would only deduce that $\partial^\alpha u=0$ $(1,p)$-q.e. on $\Omega^c$, whereas in order to prove that $u\in W^{m,p}_0(\Omega)$ we would need the stronger condition $\partial^\alpha u=0$ $(m-|\alpha|,p)$-q.e. on $\Omega^c$.


In~\cite{HaPi01}, Hayouni and Pierre exploited the compact embedding of $H^2$ into continuous functions in dimensions 2 and 3, in order to get some stability results for the space $H^2_0$. In particular, they proved that, in dimension 2 and 3, any $(1,2)$-stable domain is automatically $(2,2)$-stable (see~\cite{HaPi01} or~\cite{HePi06}). They also proved in the same paper that, in dimensions 2 and 3, any sufficiently smooth domain is a $(2,2)$-stable domain. 

In the present paper, we show that there is no true restriction on the dimension $N$ to obtain $(m,p)$-stability. Our main result asserts that any domain that satisfies a variant of the classical $(1,p)$- capacitary condition will be automatically $(m,p)$-stable, in any dimension, and for any $m$. This includes a large class or ``regular'' domains such as $\mathscr{C}^1$-domains, Lipschitz domains, Reifenberg-flat domains, domains satisfying the so-called external corkscrew condition (see Definition~\ref{corkscrew}), $\varepsilon$-cone property, or even domains with the segment property which allows domains with cusps, or more generally domains with the so called flat cone property~\cite{bz2}.


In the sequel, we restrict ourselves to open subset of a fixed ball $D\subset \mathbb{R}^N$, and we denote the set of admissible domains by
\[
 \mathscr{O}(D) \coloneqq \left\{ \Omega \; \middle| \; \Omega \subseteq D \text{ is open}\right\}.
\]

In the following definition, the precise definition of capacity has no real importance since they are most often equivalent up to a constant. In this paper we will work with the Bessel capacity, that will be precisely defined in the next section.

\begin{defi}
 Let $r_0>0$, $\delta_0>0$ and $p\in (1,+\infty)$. An open set $\Omega\subseteq \mathbb{R}^N$ satisfies the $(r_0, \delta_0)$-capacitary condition if for all $x\in \partial\Omega$ and for all $r\leqslant r_0$,
 \begin{equation}
\Cap _{1,p}\left(\frac{1}{r}\left(\bar{\Omega}^c\cap B(x,r)-x\right)\right) \geqslant \delta_0\label{cond},
\end{equation}
where $\Cap _{1,p}$ is the Bessel capacity of first order. The class of open subset of $D$ having the $(r_0, \delta_0)$-capacity condition is denoted by $\mathscr{O}^{\delta_0,r_0}_{\caprm }(D)$.
\end{defi}

Here is our main statement.

\begin{theo}\label{main}If $\Omega\in\mathscr{O}^{\delta_0,r_0}_{\caprm }(D)$ satisfies $|\partial \Omega|=0$, then $\Omega$ is $(m,p)$-stable for any $m\geqslant 1$ and $p \in (1,+\infty)$.
\end{theo}

Let us provide some comments about the result.  One of the main feature and somewhat surprising is that the condition involves only the $(1,p)$-capacity even if the conclusion yields $(m,p)-$stability for all $m\geqslant 1$.


Our main statement reminds the classical one in~\cite{BuZo94}, where Bucur and Zolésio proved that a domain is $(1,2)$-stable under a weaker condition with $(1,2)$-capacity. More precisely, in~\cite{BuZo94} the authors prove that the following condition 
\begin{equation}
 \forall x \in \partial \Omega, \forall r \leq r_0, \quad \frac{\Cap_{1,2}(\Omega^c \cap B(x,r),B(x,2r))}{\Cap_{1,2}(B(x,r),B(x,2r))}\geqslant \delta_0. \label{condBZ}
 \end{equation}
implies $(1,2)$-stability. In~\eqref{condBZ}, the notation ${\rm Cap}_{1,2}(A\cap B(x,r),B(x,2r))$ refers to the so called ``condenser capacity'' (see Section~\ref{relative} for a definition). Actually, it can be proved (see Remark~\ref{comparison} in Section~\ref{relative}) that~\eqref{condBZ} is equivalent to 
\begin{equation}
 \forall x \in \partial \Omega, \forall r \leq r_0, \quad{\rm Cap}_{1,2}\left(\frac{1}{r}\left({\Omega}^c\cap B(x,r)-x\right)\right) \geqslant \delta_0. \label{condBZbis}
 \end{equation}
Observe that~\eqref{condBZbis} looks similar to~\eqref{cond} but without a bar over $\Omega$, which stands for a substantial difference. Since~\eqref{cond} clearly implies~\eqref{condBZbis}, the main result of~\cite{BuZo94} is stronger than ours. 


The typical example of domain that satisfies~\eqref{condBZbis} but not~\eqref{cond} is a domain with a crack. For instance the unit ball of $\R^2$ minus a radius, i.e. $B(0,1)\setminus ([0,1]\times\{0\})$. The capacity of $\Omega^c$ in a small ball $B(x,r)$ centered at the boundary has a positive $(1,2)$-capacity, because it always contains a segment of length at least a radius, so~\eqref{condBZ} is satisfied. On the other hand for a small ball centered on the crack, the complement of $\bar{\Omega}$ in the ball is empty, thus our condition~\eqref{cond} is not satisfied.



 In other words for the special case of $m=1$ and $p=2$ we only partially recover the result in~\cite{BuZo94}. In contrast, under the similar and slightly stronger $(1,2)$-capacitary condition~\eqref{cond}, we obtain $(m,2)$-stability for all $m\geqslant 1$, which is interesting. It is worth mentioning that our proof is different and simpler than the one~\cite{BuZo94}, thus provides an alternative argument for many standard classes of domains (such as Lipschitz domains or domain satisfying the uniform flat cone property, or corkscrew property) which is new even for the standard case $m=1$, and works similarly for $p\not =2$.
 
 
 Let us further emphasis that the difference between $\Omega$ and $\bar \Omega$ has a crucial importance. Indeed, under our assumption $|\partial \Omega|=0$, the question of $(m,p)$-stability is equivalent to asking whether 
\[
W^{m,p}(\R^N) \cap \left\{u =0 \text{ a.e. in } {\Omega}^c \right\} = W^{m,p}_0(\Omega).
\]
 For instance for $m=1$ and $p=2$, as already mentioned before, it is known that 
\[
H^{1}_0(\Omega)=H^{1}(\R^N) \cap \left\{u =0 \text{ q.e. in } {\Omega}^c \right\}, 
\]
 thus the main question for stability is whether $\{u=0 \text{ a.e in } \Omega^c \}\Rightarrow \{u=0 \text{ q.e in } \Omega^c \}$. If we add a bar on $\Omega$ then the simliar question becomes trivial because $\bar{\Omega}^c$ is open and therefore we always have, for a precise representative $u\in H^1(\R^N)$,
\[
\{u=0 \text{ a.e in } \bar{ \Omega}^c \}\Longleftrightarrow \{u=0 \text{ q.e in } \bar{\Omega}^c \}.
\]
 This fact will play a major role in the proof of our main result. Another fact that we use in our proof is the following, valid for any $u\in W^{m,p}(\R^N)$,
\[
\{u=0 \text{ a.e in } \bar{ \Omega}^c \}\Longrightarrow \{\nabla^k u=0 \; \text{a.e. in } \bar{\Omega}^c \text{ for all } k\leqslant m \}.
\]
Again, this follows from the fact that $\bar{ \Omega}^c$ is open and explains why we need a bar over $\Omega$ in the capacitary condition~\eqref{cond} for our proof to work. 
 
 Another difference with~\cite{BuZo94} is the assumption $|\partial \Omega|=0$ that we need in our main statement Theorem~\ref{main} (here $|\partial \Omega|$ denotes the Lebesgue measure of $\partial \Omega$). In practice this assumption is not very restrictive since it will be easily satisfied by all standard classes of domains. For instance it holds true as soon as a corckscrew condition is satisfied (see Proposition~\ref{measureboundary}). We do not know whether the capacity condition~\eqref{cond} directly implies $|\partial \Omega|=0$, in which case this assumption would be redundant. 

As a consequence of our main result we get a capacity condition which implies stability for the polyharmonic equation along a Hausdorff converging sequence of domains. We refer to Section~\ref{stability} for the definition of Hausdorff convergence, Mosco convergence and $\gamma_m$-convergence, and we give here in the introduction two different statements. In the first one (Corollary~\ref{main22}) we assume only the limiting domain $\Omega$ to be ``regular'' while in the second (Theorem~\ref{main3}) we assume the whole sequence to be ``regular''. 


\begin{coro} \label{main22} Let $\Omega\in\mathscr{O}^{\delta_0,r_0}_{\caprm }(D)$ and $(\Omega_n)_{n\in \mathbb{N}}$ be a sequence in $\mathscr{O}(D)$. If $|\partial \Omega|=0$, $(\bar{\Omega_n})_{n\in \mathbb{N}}$ $d_H$-converges to $ \bar{\Omega}$, and $(\Omega_n)_{n\in \mathbb{N}}$ $d_{H^c}$-converges to $\Omega$,
 then the sequence $(\Omega_n)_{n\in \mathbb{N}}$ $\gamma_m$-converges to $\Omega$, or equivalently, $(H^m_0(\Omega_n))_{n\in \mathbb{N}}$ converges to $H^m_0(\Omega)$ in the sense of Mosco.
\end{coro}

Corollary~\ref{main22} follows from gathering together Proposition~\ref{main2} and Theorem~\ref{main}. Let us now mention a few remarks.

\begin{enumerate}
\item The interesting feature of Corollary~\ref{main22} is that only the limiting domain $\Omega$ is assumed to be stable (thus somehow ``regular'') and nothing is assumed on the sequence $(\Omega_n)_{n\in \mathbb{N}}$, which could be arbitrary open sets. 

\item It is worth mentioning that in~\cite{BuZo94} the authors assumed only $\Omega_n\overset{d_{H^c}}{\to} \Omega$ to obtain the $\gamma_m$-convergence of a sequence $(\Omega_n)_{n\in \mathbb{N}}$. On the other hand they assumed that every term $\Omega_n$ along the sequence satisfies a capacitary condition with uniform constants. A similar statement will be given later in Theorem~\ref{main3}.

\item It is easy to construct an example of stable domain $\Omega$ (even smooth) and a sequence $(\Omega_n)_{n\in \mathbb{N}}$ such that $\Omega_n\overset{d_{H^c}}{\longrightarrow} \Omega$ and $(\Omega_n)_{n\in \mathbb{N}}$ does not $\gamma_m$-converges to $\Omega$. This shows that without any other assumption on the sequence, the second assumption $\bar{\Omega_n} \overset{d_H}{\to} \bar{\Omega}$ is pivotal for the result to hold true. The construction is rather classical : consider the sequence made from an enumeration $x_i \in B(0,1)$ of points with rational coordinates. 
 Then define
\[
\Omega_n \coloneqq B(0,2)\setminus \bigcup_{i=0}^n \{x_i\}.
\]
It is easy to see that $(\Omega_n)_{n\in \mathbb{N}}$ converges to $\Omega\coloneqq B(0,2)\setminus \bar{B}(0,1)$ for the complementary Hausdorff distance, which is clearly a $(m,2)$-stable domain because the boundary is smooth. On the other hand, for dimension $N\geqslant2m$ we know that $\Cap _{m,2}(\{x_i\})=0$, so it is classical that $(\Omega_n)_{n\in \mathbb{N}}$ does not $\gamma_m$-converge to $\Omega$ (see~\cite[Section~3.2.6, p.~80]{HePi06} for the case $m=1$). On the other hand $\bar{\Omega_n}=\bar{B}(0,2)$ clearly does not Hausdorff converge to $\bar{\Omega}=\bar{B}(0,2)\setminus B(0,1)$, which explains why Theorem~\ref{main2} does not apply.
\end{enumerate}

\looseness-1
Next, in order to get existence of shape optimisation problems for higher order equations under geometrical constraints, the following variant is more usefull. Notice that here we suppose~\eqref{cond} on the whole sequence and by this way we can avoid the assumption $\bar{\Omega_n} \overset{d_H}{\longrightarrow} \bar{\Omega}$ but $\Omega_n\overset{d_{H^c}}{\longrightarrow} \Omega$ suffices.

\begin{theo} \label{main3} Let $\Omega\in\mathscr{O}(D)$ and $(\Omega_n)_{n\in \mathbb{N}}$ all belonging to $\mathscr{O}^{\delta_0,r_0}_\caprm (D)$. If $\vert \partial \Omega \vert = 0 $ and 
$(\Omega_n)_{n\in \mathbb{N}}$ $d_{H^c}$-converges to $ \Omega$, then $(\Omega_n)_{n\in \mathbb{N}}$ $\gamma_m$-converges to $\Omega$, or equivalently, $(H^m_0(\Omega_n))_{n\in \mathbb{N}}$ converges to $H^m_0(\Omega)$ in the sense of Mosco.
\end{theo}

Since the complementary Hausdorff topology is relatively compact, it is easy to get existence results for shape optimisation problems using Theorem~\ref{main3}, with additional geometrical constraints on the domain. This applies to various standard classes of domains such as uniformly Lipschitz domains, Reifenberg-flat, corkscrew, or $\varepsilon$-cone, as described in the last section of the paper (see Theorem~\ref{shapeopt}).



%%%%%%%%%%%%%%%%%%%%%%%%%%

\section{Preliminaries}

The term domain and the symbol $\Omega$ will be reserved for an open and bounded set in the $N$-dimensional euclidean space $\mathbb{R}^N$. We will denote the Lebesgue measure of a set $A\subset \R^N$ by~$|A|$. The norm of a point $x\in \mathbb{R}^N$ is denoted by $\vert x \vert \coloneqq \big(\sum_{i=1}^Nx_i^2\big)^{1/2}$. If $\alpha$ is a multi-indice, i.e. $\alpha \in \mathbb{N}^N$, then the norm of $\alpha$ is $\vert \alpha \vert \coloneqq \sum_{i=1}^N\alpha_i$ and we define the partial derivative operator
\begin{align*}
 \partial^\alpha \coloneqq \frac{\partial^{\vert \alpha\vert}}{\partial_1^{\alpha_1} \cdots \partial^{\alpha_k}_N},
\end{align*}
and the vector $\nabla^k\coloneqq (\partial^\alpha )_{\vert\alpha \vert = k}$.
The notations $\partial \Omega$ and $\bar{\Omega}$ stand for
the boundary and the closure of $\Omega$, respectively. Let $\mathscr{C}^\infty_c(\Omega)$ be the space of smooth functions with compact support in $\Omega$. The ball of radius $r\geqslant 0$ and centered at $x\in \mathbb{R}^N$ is denoted by $B(x,r)$. For $m\in \mathbb{N}$ and $p \in (1, +\infty)$, we consider the usual Sobolev space $W^{m,p}(\Omega)$ endowed with the norm
\[
 \Vert u \Vert_{W^{m,p}(\Omega)}\coloneqq \left( \sum_{k=0}^m \Vert \nabla^k u\Vert_{L^p(\Omega)}^p \right)^{1/p},
\]
where
\[
 \Vert \nabla^k u\Vert_{L^p(\Omega)}^p \coloneqq \int_\Omega \vert \nabla^k u \vert^p \, \dd x.
\]
Finally, the space $W_0^{m,p}(\Omega)$ is the completion of $\mathscr{C}^\infty_c(\Omega)$ with respect to the norm $\Vert \cdot \Vert_{W^{m,p}(\Omega)}$. 

When the dimension $N < mp$, elements of $W^{m,p}(\R^N)$ can be represented as continuous functions. However, if $N \geqslant mp$, this is no longer the case and the natural way of measuring by how much the functions deviate from continuity is by means of capacity.



In this paper we will work with the Bessel capacity defined for instance in~\cite[Chapter~2.6]{Zi89}. If $K \subset \R^N$ is any set, then we define the $(m,p)$-capacity of $K$ by
\begin{equation}
 \Cap _{m,p}(K)\coloneqq \inf\left\{ \Vert f \Vert^p_{p} \; \middle| \; f\geq 0 \text{ and }g_m * f \geqslant 1 \textnormal{ on } K \right\},
 \label{BesselDef}
 \end{equation}
where $g_m$ with $m\geq 1$ is the Bessel kernel, defined as being the function whose Fourier transform is $\hat g_\alpha(x)=(2\pi)^{-N/2}(1+|x|^2)^{-m/2}$. We refer to~\cite[Chapter~2.6]{Zi89} for more details and several basic properties of the Bessel Capacity. 

In this paper, while considering a function $u\in W^{1,p}(\R^N)$, we will always tacitly mean that $u$ is a quasicontinuous representative, without mentioning it explicitly (see for instance~\cite{AdHe96} for a definition).

The proof of the main result will use the following Poincaré type inequality that can be found for instance in~\cite[Corollary~4.5.2, p.~195]{Zi89}. To be more precise, we can use the inequality stated for $B(0,1)$ in~\cite[Corollary~4.5.2, p.~195]{Zi89}, and apply it to the function $x\mapsto u(Rx)$ to get~\eqref{poincare}. A similar statement can also be found in~\cite[Theorem~4.1]{hedberg}. According to~\cite{hedberg}, Lemma~\ref{poincareC} was first proved in~\cite{hedberg1978} by Hedberg in 1978.

\begin{lemma}[{\cite[Corollary~4.5.2, p.~195]{Zi89}}]\label{poincareC} Let $r>0$, $p\in (1,+\infty)$ and $u \in W^{1,p}(B(0,r))$. We define $Z(u)\coloneqq \{ x \in \bar{B}(0,r) \mid u(x)=0\}$.
 If \,$\Cap _{1,p}(Z(u))>0$, then
 \begin{equation}
\int_{B(0,r)} \vert u\vert^p \, \dd x \leqslant C \frac{r^p}{\Cap _{1,p}(r^{-1}Z(u))} \int_{B(0,r)} |\nabla u|^p \, \dd x, \label{poincare}
\end{equation}
where $C>0$ depends only on $p$ and $N$.
\end{lemma}



\section{Proof of Theorem~\ref{main}}

 

\begin{proof}[Proof of Theorem~\ref{main}] Let $\Omega$ be a bounded domain satisfying the assumptions of Theorem~\ref{main} and let $u\in W^{m,p}(\R^N)$ be given satisfying $u=0$ almost everywhere in $\bar{\Omega}^c$. To prove the theorem it suffices to prove that $u$ can be approximated in the $W^{m,p}(\R^N)$ norm by a sequence of functions in $\mathscr{C}^\infty_c(\Omega)$. To do so we will first truncate $u$ near the boundary of $\Omega$ as follows. For all $n \in \mathbb{N}$, we consider 
\[
 K_n \coloneqq \left\{ x \in \Omega \; \middle| \; \dd (x,\partial \Omega)\geqslant 2^{-n} \right\}.
\]
The exhaustive family of compact $(K_n)_{n\in \mathbb{N}}$ satisfies $K_{n} \subseteq K_{n+1}$ and $\Omega = \bigcup_{n\in \mathbb{N}}K_n$.
Then take a test function $\rho \in \mathscr{C}^\infty_c(B(0,1))$ such that $\rho \geqslant 0$ and
\[
 \int_{\R^N}\rho(x)\, \dd x = 1.
\]
We define $\rho_\varepsilon(x)\coloneqq \varepsilon^{-N} \rho(x/\varepsilon)$ and 
\[
\theta_{n,\varepsilon}(x) \coloneqq {\bf 1}_{K_n}*\rho_{\varepsilon}(x) =\varepsilon^{-N} \int_{K_n}\rho\left(\frac{x-y}{\varepsilon}\right)\, \dd y,
\]
which satisfies $\Supp (\theta_{n,\varepsilon}) \subseteq K_n+ \bar{B}(0,\varepsilon)$. We take $\varepsilon_n \coloneqq 2^{n+1}$ and denote now $\theta_{n}\coloneqq \theta_{n,\varepsilon_n}$ so that $\theta_n\in \mathscr{C}^\infty_c(\Omega)$, $\theta_{n}=1$ on $K_{n-1}$, $\theta_{n} = 0$ on $K_{n+1}^c$, 
\[
\Supp (\nabla^{k} \theta_n) \subseteq K_{n+1}\setminus \Int (K_{n-1}).
\]
To prove the theorem it suffices to prove that 
\[
u_n\coloneqq u \theta_n\xrightarrow[n\to +\infty]{}u \text{ in }W^{m,p}(\R^N),
\]
because then we can conclude by using the density of $\mathscr{C}^\infty_c(\Omega)$ into $W^{m,p}(\Int (K_{n+2}))$, and a diagonal argument.
Let $k\leqslant m$ be a positive integer. To prove the claim we first estimate the $L^p$ norm :
\[
\|u_n-u\|_{L^p(\R^N)}^p \leqslant \int_{\bar{\Omega} \backslash K_{n-1}}\vert u \vert^p\, \dd x.
\]
Using the fact that $(\Omega \backslash K_n)_{n\in \mathbb{N}}$ is a decreasing sequence of Lebesgue measurable sets, and thanks to the condition $|\bar{\Omega} \setminus \Omega |=0$, we know that $|\bar{\Omega} \backslash K_n|\to 0$ as $n\to +\infty$ and therefore $u_n \to u$ in $L^p(\R^N)$. Next for the norm of gradients we will use a covering of $\partial \Omega$. More precisely, the infinite family $(B(x,2^{-(n-2)}))_{x\in \partial\Omega}$ is a cover of $\Supp (\nabla^k \theta_n)$ and by the famous \emph{5B}-covering lemma (see for instance~\cite[Theorem~2.2.3]{at}) there exists a countably subcover indexed by $(x_i)_{i\in \mathbb{N}} \subseteq \partial \Omega$ such that $(B(x_i,2^{-(n-2)}))_{i\in \mathbb{N}}$ is a disjoint family,
\[
 \Supp (\nabla^k\theta_n) \subseteq \bigcup_{i\in \mathbb{N}} B(x_i, 5\cdot 2^{-(n-2)}), \textnormal{ and } \sum_{i\in \mathbb{N}} \boldsymbol{1}_{B(x_i,5\cdot2^{-(n-2)})} \leqslant N_0,
\]
for a universal constant $N_0 \in \mathbb{N}$. In the sequel, we simply write $B_n(x_i)$ instead of $B(x_i,5\cdot2^{-(n-2)})$. Afterwards, we estimate
\begin{align*}
\|\nabla^k u_n-\nabla^k u\|_{L^p(\mathbb{R}^N)}^p &\leqslant C\int_{\bar{\Omega} \backslash K_{n-1}}\vert \nabla^k u \vert^p\, \dd x + C\sum_{\substack{k = |\beta| + |\gamma| \\ \gamma \ne 0}}\int_{\bar{\Omega} \backslash K_{n-1}} |\partial^\beta u|^p \vert \partial^\gamma\theta_n \vert^p \,\dd x.
\end{align*}
The first term converges to $0$ as $n \to +\infty$ for the same reasons as before. For the other term we use the following estimate
\[
\vert \partial^\gamma \theta_n(x)\vert^p \leqslant \varepsilon_n^{-pN} \int_{K_n}\varepsilon_n^{-p\vert \gamma\vert}\left\vert\partial^\gamma\rho\left(\frac{x-y}{\varepsilon_n}\right)\right\vert^p\, \dd y \leqslant C\varepsilon_n^{-p\vert \gamma\vert}.
\]
The function $u$ vanishes almost everywhere on the open set $\bar{\Omega}^c$, so $\partial^\beta u$ is zero in $\mathscr{D}'(\bar{\Omega}^c)$ and vanishes almost everywhere on this open set. Hence the Poincar\'e inequality~\eqref{poincare} applies to all the $\partial^{\beta}u$ for $|\beta|<m$, and for all ball $B_n(x_i)$ such that $2^{-(n-2)} \leqslant r_0$, thanks to our capacitary condition~\eqref{cond} we get
\[
 \Cap _{1,p}(5^{-1}\cdot2^{n-2}(Z(\partial^\beta u)-x_i)) \geqslant \Cap _{1,p}(5^{-1}\cdot 2^{n-2}(\bar{\Omega}^c \cap B(x_i,5\cdot2^{2-n})-x_i)) \geqslant \delta_0.
\]
Therefore,
\begin{equation}
\int_{B_n(x_i)} |\partial^\beta u|^p\, \dd x \leqslant C \delta_0^{-1}\varepsilon_n^p \int_{B_n(x_i)} |\nabla \partial^\beta u|^p\, \dd x,
\end{equation}
and using successively $(k- \vert \beta\vert)$-times the Poincar\'e inequality and the covering of $\partial\Omega$, we get
\begin{align*}
 \int_{\bar{\Omega} \backslash K_{n-1}} |\partial^\beta u|^p \vert \partial^\gamma \theta_n \vert^p\, \dd x &\leqslant C\varepsilon_n^{-p\vert \gamma \vert}\int_{\bar{\Omega} \backslash K_{n-1}} |\partial^\beta u|^p\, \dd x \\
 &\leqslant C\varepsilon_n^{-p\vert \gamma \vert} \sum_{i\in \mathbb{N}}\int_{B_n(x_i)} |\partial^\beta u|^p\, \dd x \\
 &\leqslant C \sum_{i\in \mathbb{N}}\int_{B_n(x_i)} |\nabla^k u|^p\, \dd x \\
 &\leqslant CN_0\int_{\bar{\Omega} \backslash K_{n-5}} |\nabla^k u|^p\, \dd x 
\end{align*}
and this tends to zero as $n \to +\infty$ so follows the proof.
\end{proof}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{Equivalent condition with condenser capacity}\label{relative}

In this section we give an equivalent condition to~\eqref{cond} with the notion of ``condenser capacity'' which allows us to compare it with the condition in~\cite{BuZo94}. More precisely, in~\cite{BuZo94} the condition involves the condenser capacity defined for any compact subset $K\subset \R^N$ and $p\in (1,+\infty)$ by
\[
\Cap_{1,p}(K \cap B(x,r),B(x,2r))\coloneqq 
\inf\left\{ \int_{B(x,2r)} |\nabla \varphi |^p \dd x \; \middle| \; \varphi \in C^\infty_0(B(x,2r)) , \; \varphi \geq 1 \text{ on } K \cap B(x,r) \right\}. 
\]
This notion can then be extended to arbitrary sets $K$ by approximation (see for instance~\cite[Definition~2.2.4]{AdHe96}). The difference with the Bessel capacity defined in~\eqref{BesselDef} can be seen through the following well-known equivalent definition of Bessel Capacity (see for instance~\cite[Section~2]{hedberg}), for a closed set $K$,
\[
\Cap_{1,p}(K)= \inf\left\{ \int_{\R^N} |\varphi|^p+|\nabla \varphi |^p \dd x \; \middle| \; \varphi \in C^\infty_0(\R^N) , \; \varphi \geq 1 \text{ on } K \right\}.
\]

The next proposition says in particular that our condition implies the one in~\cite{BuZo94}. 
 
 
 
\begin{proposition}\label{comparison}
Let $\Omega \subset \R^N$ be open. Then the condition 
\begin{equation}
 \exists \delta_0, r_1> 0 \text{ s.t. }\forall x \in \partial \Omega, \forall r \leq r_1, \quad \Cap_{1,p}\left(\frac{1}{r}\left(\bar{\Omega}^c\cap B(x,r)-x\right)\right) \geqslant \delta_0\label{condprop1},
\end{equation}
is equivalent to the following one
 \begin{equation}
 \exists \delta_0, r_1> 0 \text{ s.t. }\forall x \in \partial \Omega, \forall r \leq r_1, \quad \frac{\Cap _{1,p}(\bar{\Omega}^c \cap B(x,r),B(x,2r))}{\Cap _{1,p}(B(x,r),B(x,2r))}\geqslant \delta_0.\label{condBZprop1}
 \end{equation}
 \end{proposition}

 \begin{proof} The condenser capacity enjoys a nice scaling property. Assume for simplicity and without loss of generality, that $x=0$. It is easy to prove by a simple change of variables that for all $\lambda >0$,
\begin{equation}
\Cap_{1,p}((\lambda K) \cap B(0,\lambda r),B(0,2\lambda r))
=\lambda^{N-p}\Cap_{1,p}( K \cap B(0, r),B(0,2 r)). \label{capcap}
\end{equation}
In particular,
\[
\Cap_{1,p}(B(0,r),B(0,2r))=C_0 r^{N-p},
\]
with $C_0:=\Cap_{1,p}(B(0,1),B(0,2))$,
and it follows that
\begin{align*}
\frac{\Cap_{1,p}(\bar{\Omega}^c \cap B(0,r),B(0,2r))}{\Cap_{1,p}(B(0,r),B(0,2r))}&=\frac{r^{N-p}\Cap_{1,p}\left((\frac{1}{r}\bar{\Omega}^c) \cap B(0,1),B(0,2)\right)}{\Cap_{1,p}(B(0,r),B(0,2r))}. \\
&= \frac{1}{C_0}\Cap_{1,p}\left((\frac{1}{r}\bar{\Omega}^c) \cap B(0,1),B(0,2)\right). 
\end{align*}
Therefore, to prove the Proposition it suffices to prove that there exist some constants $C_1,C_2>0$ such that for all sets $K\subset B(0,1)$, 
\[
C_1 \Cap_{1,p}(K)\leq \Cap_{1,p}\left(K \cap B(0,1),B(0,2)\right) \leq C_2 \Cap_{1,p}(K).
\]
 But this is a well-known fact about relative capacity. A proof can be found for instance in~\cite[Proposition 3.3.17]{HePi06}.
 \end{proof}

\begin{remark} Of course, arguing as in the proof of Proposition~\ref{comparison}, we can also prove that the condition in~\cite{BuZo94},
 \begin{equation}
 \exists \delta_0, r_1> 0 \text{ s.t. }\forall x \in \partial \Omega, \forall r \leq r_1, \quad \frac{\Cap_{1,p}( {\Omega}^c \cap B(x,r),B(x,2r))}{\Cap_{1,p}(B(x,r),B(x,2r))}\geqslant \delta_0,\label{condBZprop}
 \end{equation}
is equivalent to the following one
 \begin{equation}
 \exists \delta_0, r_1> 0 \text{ s.t. }\forall x \in \partial \Omega, \forall r \leq r_1, \quad \Cap_{1,p}\left(\frac{1}{r}\left({\Omega}^c\cap B(x,r)-x\right)\right) \geqslant \delta_0\label{condprop}.
\end{equation}
\end{remark}




%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\section{Examples of domains satisfying our condition}

As we said in the introduction, any smooth enough domain will satisfy our condition. For instance domains satisfying an external corkscrew condition as defined below.

\begin{defi}\label{corkscrew} Let $\Omega\subset \R^N$ be an open and bounded set, $a\in (0,1)$, and $r_0>0$. We say that $\Omega$ satisfies an $(a,r_0)$-external corkscrew condition if for every $x \in \partial \Omega$ and $r\leqslant r_0$, one can find a ball $B(y, ar )$ such that 
\[
B(y,ar) \subset B(x,r) \cap \bar{\Omega}^c.
\]
\end{defi}

We give a non-exhaustive list of classes of domains included in $\mathscr{O}(D)$ :

\begin{itemize}
 \item $\mathscr{O}_{\convex }(D)\coloneqq \left\{ \Omega \subseteq D \; \middle| \; \Omega \textnormal{ open and convex} \right\}$.
 \item $\mathscr{O}_{\seg }^{r_0}(D)\coloneqq \left\{ \Omega \subseteq D \; \middle| \; \Omega \textnormal{ open and has the } r_0\textnormal{-external segment property} \right\}$. We say $\Omega$ satisfies the $r_0$-external segment property if for every $x\in \partial\Omega$, there exists a vector $y_x \in \mathbb{S}^{N-1}(0,r_0)$ such that $x+ty_x \in \Omega^c$ for $t\in(0,1)$. This notion can also be generalized by the ``flat cone'' condition as in~\cite[Definition~5.2]{BuZo94} (see also~\cite{bz2}).
 \item $\mathscr{O}_{\Lip }^\lambda(D)\coloneqq \left\{ \Omega \subseteq D \; \middle| \; \Omega \textnormal{ open and is a Lipschitz domain} \right\}$.
 \item $\mathscr{O}_{\textnormal{Reif flat}}^{\delta_0, r_0}(D)\coloneqq \left\{ \Omega \subseteq D \; \middle| \; \Omega \textnormal{ open and is }(\varepsilon_0, \delta_0)\textnormal{-Reifenberg flat} \right\}$. We say $\Omega$ is $(\varepsilon_0, \delta_0)$-Reifenberg flat for $\varepsilon_0 \in(0,1/2)$ and $\delta_0 \in(0,1)$ if for all $x\in \partial \Omega$ and $ \delta \in (0, \delta_0]$, there exists an hyperplane $\mathscr{P}_x(\delta)$ of $\R^N$ such that $x\in \mathscr{P}_x(\delta)$ and 
 \begin{align*}
 d_H\left(\partial \Omega \cap \bar{B}(x,\delta), \mathscr{P}_x(\delta) \cap \bar{B}(x,\delta) \right) \leqslant \delta\varepsilon_0.
 \end{align*}
 Moreover for all $x\in \partial \Omega$, the set
 \begin{align*}
 B(x,\delta_0) \cap \left\{ x \in \R^N \; \middle| \; \dd (x, \mathscr{P}_x(\delta_0))\geqslant2\delta_0 \varepsilon_0\right\}
 \end{align*}
 has two connected components: one is contained in $\Omega$, the other one in $\R^N \backslash \Omega$.
 \item $\mathscr{O}^{\varepsilon}_{\cone }(D)\coloneqq \left\{ \Omega \subseteq D \; \middle| \; \Omega \textnormal{ open and has the external }\varepsilon\textnormal{-cone condition} \right\}$. We say $\Omega$ has the external $\varepsilon$-cone condition if there exists a cone $C$ of angle $\varepsilon$ such that for every $x\in \partial \Omega$, there exists a cone $C_x$ with non empty interior, congruent to $C$ by rigid motion and such that $x$ is the vertex of $C_x$ and $C_x \subset \Omega^c$.
 \item $\mathscr{O}^{a,r_0}_{\corks }(D)\coloneqq \left\{ \Omega \subseteq D \; \middle| \; \Omega \textnormal{ open and has the } (a,r_0)\textnormal{-external corkscrew condition} \right\}$, see definition~\ref{corkscrew}.
 \item $\mathscr{O}^{\delta_0,r_0}_\caprm (D)\coloneqq \left\{ \Omega \subseteq D \; \middle| \; \Omega \textnormal{ open and has the }(\delta_0,r_0)\textnormal{-capacity condition~\eqref{cond}} \right\}$.
\end{itemize}

It is easy to see that for some fixed parameters we have the inclusions 
\[
\mathscr{O}^{\varepsilon}_{\cone }(D)\subseteq \mathscr{O}^{a,r_0}_{\corks }(D),
\]
and
\[
\mathscr{O}_{\convex }(D) \subseteq\mathscr{O}_{\Lip }^\lambda(D)\subseteq\mathscr{O}_{\textnormal{Reif flat}}^{ \delta_0,r_0}(D)\subseteq \mathscr{O}_{\corks }^{a,r_1}(D)\subseteq\mathscr{O}^{\delta_1,r_2}_\caprm (D).
\]
Since a segment has positive $(1,p)$-Capacity provided $p>N-1$ (see~\cite[Proposition~2.5]{bohdan}) we have
 \[
\mathscr{O}_{\seg }^{r_0}(D) \subseteq \mathscr{O}^{\delta_0,r_1}_\caprm (D).
\]

Any $C^1$ domain or Lipschitz domain satisfies an external corkscrew condition. It also follows from porosity estimates that the corkscrew condition implies $|\bar{\Omega} \setminus \Omega|=0$, as stated in the following useful proposition.


\begin{prop}\label{measureboundary}
 If $\Omega \in \mathscr{O}_{\corks }^{a,r_0}(D)$, then $\vert \partial \Omega \vert =0$.
\end{prop}
 
 
 
 \begin{proof}For all $x\in \partial \Omega$ and $r\leqslant r_0$, there exists $y\in\R^N$ such that 
\[
B(y,ar)\subset B(x,r) \cap \bar{\Omega}^c \subset\R^N\backslash\partial \Omega.
\]
 In other words, $\partial \Omega$ is a $\sigma$-porous set in $\R^N$, in the sense of~\cite[Definition~2.22]{z}, with $\sigma=2a$. In virtue of~\cite{z} (see the last paragraph at the bottom of page~321 in~\cite{z}, or see also~\cite[Proposition~3.5]{preiss2}), we conclude that $\vert \partial \Omega \vert =0$. 
 \end{proof}
 
 
 
\begin{coro}If $\Omega$ belongs to one of the following classes : $\mathscr{O}^{\varepsilon}_{\cone }(D)$, $\mathscr{O}_{\convex }(D)$, $\mathscr{O}_{\Lip }^\lambda(D)$, $\mathscr{O}_{\textnormal{Reif flat}}^{ \delta_0,r_0}(D)$, or $\mathscr{O}_{\corks }^{a,r_0}(D)$, then $\Omega$ is $(m,p)$-stable for any $m\geqslant 1$ and $1< p <+\infty$.
\end{coro}


 



%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\section{Stability with respect to domain perturbation}
\label{stability}

As before, we consider a fixed bounded domain $D\subset \R^N$. Let $\Omega$ and $(\Omega_n)_{n\in \mathbb{N}}$ be bounded subdomains of $D$ such that $\bar{\Omega_n} \rightarrow \bar{\Omega}$ and $\bar{D} \backslash \Omega \rightarrow \bar{D} \backslash \Omega $ as $n \rightarrow +\infty$ for the Hausdorff convergence. In particular, this implies the convergence ``in the sense of compacts'' (see~\cite[Section 2.2.4]{HePi06}). In this section we verify that the $(m,2)$-stability of $\Omega$ implies the Mosco convergence of the sequence $(H^m_0(\Omega_n))_{n\in \mathbb{N}}$ towards $H^m_0(\Omega)$. This will follow from the same argument as for the classical case of $H^1_0$ (see for instance~\cite[Proposition 3.5.4]{HePi06}), but for the sake of completeness we give here the full details. For this purpose, we first prove the equivalence between $\gamma_m$-convergence and Mosco convergence (Proposition~\ref{equiv1}). Then we show that $(\Omega_n)_{n\in \mathbb{N}}$ $\gamma_m$-converges to $\Omega$ when $\Omega$ is $(m,2)$-stable (Proposition~\ref{main2}). 

\begin{defi}\label{gammam}
 The sequence $(\Omega_n)_{n\in\mathbb{N}}$ $\gamma_m$-converges to $\Omega$ if for all $f \in L^2(D)$, the sequence $(u_n)_{n\in \mathbb{N}}$ strongly converges in $H^m_0(D)$ to $u$, where $u_n$ (\textit{resp.} $u$) is the unique solution of the Dirichlet problem $(-\Delta)^mu_n =f$ (\textit{resp.} $(-\Delta)^mu=f$) in $H^m_0(\Omega_n)$ (\textit{resp.} $H^m_0(\Omega)$).
\end{defi}

\begin{defi} The sequence $(H^m_0(\Omega_n))_{n \in \mathbb{N}}$ converges to $H^m_0(\Omega)$ in the sense of Mosco if the following holds :
 \begin{enumerate}
 \item If $(v_{n_k})_{k\in\mathbb{N}}$ is a subsequence, where $v_{n_k}\in H^m_0(\Omega_{n_k})$, and weakly converges to $v\in H^m_0(D)$, then $v\in H^m_0(\Omega)$.
 \item For all $v\in H^m_0(\Omega)$, there exists a sequence $(v_n)_{n\in\mathbb{N}}$, where $v_n \in H^m_0(\Omega_n)$, which strongly converges to $v$ in $H^m_0(D)$.
 \end{enumerate}
\end{defi}

\begin{prop}\label{equiv1}
 The sequence $(\Omega_n)_{n\in\mathbb{N}}$ $\gamma_m$-converges to $\Omega$ if, and only if, $(H^m_0(\Omega_n))_{n\in \mathbb{N}}$ converges to $H^m_0(\Omega)$ in the sense of Mosco.
\end{prop}
\begin{proof}
Assume that the sequence $(\Omega_n)_{n\in\mathbb{N}}$ $\gamma_m$-converge to $\Omega$. Let $(v_{n_k})_{k\in\mathbb{N}}$ be a subsequence which weakly converges to $v\in H^m_0(D)$, where $v_{n_k}\in H^m_0(\Omega_{n_k})$. Consider the distribution $f\coloneqq (-\Delta)^m v$. Then $f\in H^{-m}(D)$ and $v$ is the unique solution of the Dirichlet problem in $H^1_0(D)$. To prove the first item in the definition of Mosco convergence we need to prove that $v\in H^1_0(\Omega)$.


The $\gamma_m$-convergence implies that $(u_{n_k})_{k \in \mathbb{N}}$ strongly converges in $H^m_0(D)$ to $u \in H^m_0(\Omega)$ where $u_{n_k}$ satisfies $(-\Delta)^m u_{n_k} =f$ in $\Omega_{n_k}$ and $u$ satisfies $(-\Delta)^mu= f$ in $H^1_0(\Omega)$. So it suffices to show that $u = v$. For all $k \in \mathbb{N}$,
 \begin{align*}
 \int_{D}\nabla^m u_{n_k} : \nabla^m(u_{n_k}-v_{n_k})\, \dd x &= \int_{\Omega_{n_k}}\nabla^m u_{n_k} : \nabla^m(u_{n_k}-v_{n_k})\, \dd x \\
 &= \langle f,(u_{n_k}-v_{n_k}) \rangle.
 \end{align*}
Then as $k \to +\infty$, we use the strong convergence of $(u_{n_k})_{k\in \mathbb{N}}$ and the weak convergence of $(v_{n_k})_{k\in \mathbb{N}}$ to obtain
 \begin{equation*}
 \int_{D} \nabla^mu: \nabla^m(u-v)\, \dd x = \langle f,(u-v) \rangle.
 \end{equation*}
Then according to equality $f:=(-\Delta)^m v$, we have
\begin{align*}
 \int_D \vert \nabla^m (u - v)\vert^2 \, \dd x &= \int_D \nabla^m(u - v) : \nabla^mu \, \dd x - \int_D \nabla^m(u- v) : \nabla^mv \, \dd x \\
 &= \langle f,(u-v) \rangle- \langle f,(u-v) \rangle =0,
\end{align*}
 thus $u=v$ and the first point of Mosco convergence follows. 
 
 
 The proof of the second item of the Mosco convergence is simpler. Consider $v\in H^m_0(\Omega) \subseteq H^m_0(D)$ and let $f \coloneqq (-\Delta)^m v$. We need to find a recovery sequence $u_n \in H^m_0(\Omega_n)$ that converges strongly to $v$. It suffice to define $u_n$ being the solution of $-\Delta u_n=f$ in $H^1_0(\Omega_n)$. By $\gamma_m$-convergence we directly have $u_n\to v$ strongly in $H^m(D)$.
 
 
 
 
 Now we prove the converse. Namely, we suppose that $(H^m_0(\Omega_n))_{n\in \mathbb{N}}$ converges in the sense of Mosco to $H^m_0(\Omega)$. Then we want to prove the $\gamma_m$-convergence. Consider $f\in H^{-m}(D)$ and the associated solutions $u_n$ of the Dirichlet problem in $\Omega_n$. For all $n \in \mathbb{N}$,
 \begin{equation*}
 \int_D \vert \nabla^m u_n\vert^2 \, \dd x = \int_{\Omega_n}\nabla^m u_n: \nabla^m u_n\, \dd x = \langle f ,u_n\rangle. 
 \end{equation*}
 We infer that the sequence $(u_n)_{n\in \mathbb{N}}$ is bounded in $H^m_0(D)$ since
 \begin{equation*}
 | \langle f ,u_n\rangle| \leqslant \Vert f \Vert_{H^{-m}(D)}\Vert u_n\Vert_{H^m_0(D)}.
 \end{equation*}
 Let $(u_{n_k})_{k \in \mathbb{N}}$ be a subsequence which weakly converges to a function $v\in H^m_0(D)$. Using the Mosco convergence, $v\in H^m_0(\Omega)$ and for all $\varphi \in H^m_0(\Omega)$, there exists a sequence $(\varphi_k)_{k \in \mathbb{N}}$, with $\varphi_k \in H^m_0(\Omega_{n_k})$, strongly converging to $\varphi$ in $H^m_0(D)$. Hence, for all $k \in \mathbb{N}$,
 \begin{equation*}
 \int_D \nabla^m u_{n_k}: \nabla^m \varphi_k \, \dd x = \int_{\Omega_{n_k}} \nabla^m u_{n_k}: \nabla^m \varphi_k \, \dd x =\langle f ,\varphi_k \rangle,
 \end{equation*}
 and using the strong convergence of $(\varphi_k)_{k \in \mathbb{N}}$ and the weak convergence of $(u_{n_k})_{n\in \mathbb{N}}$ as $k \rightarrow + \infty$, we obtain
 \begin{equation*}
 \int_\Omega\nabla^m v :\nabla^m \varphi \, \dd x = \langle f ,\varphi \rangle.
 \end{equation*}
 The uniqueness of the solution of the Dirichlet problem proves $u = v$. Moreover,
\begin{equation*}
 \int_{D}\vert \nabla^m u_{n_k}\vert^2 \, \dd x = \langle f,u_{n_k} \rangle
\end{equation*}
and
\begin{equation*}
 \langle f,u_{n_k} \rangle \xrightarrow[k \rightarrow + \infty]{} \langle f,u \rangle = \int_{D}\vert \nabla^m u \vert^2 \, \dd x.
\end{equation*}
This yields
\begin{equation*}
 \Vert u_{n_k} \Vert_{H^m_0(D)}\xrightarrow[k \rightarrow + \infty]{} \Vert u \Vert_{H^m_0(D)},
\end{equation*}
and the convergence of the subsequence is strong. By uniqueness of the limit, the whole sequence is strongly converging to $u$ in $H^m_0(D)$, and this achieves the proof of the $\gamma_m$-convergence, so follows the Proposition.
\end{proof}

\begin{defi} \label{hausdorff}For two closed sets $A,B\subset \R^N$, the Hausdorff distance $d_H(A,B)$ is defined by 
\[
d_H(A,B)\coloneqq \max_{x\in A} \dist (x,B) + \max_{x\in B} \dist (x,A).
\]
A sequence of closed sets $(A_n)_{n\in \mathbb{N}}$ converges to $A$ for the Hausdorff distance if $d_H(A_n,A) \to 0$ as $n \to +\infty$. In this case, we will write $A_n \overset{d_H}{\to} A$.
\end{defi}

Next, we define the complementary Hausdorff distance over $\mathscr{O}(D)$ by 
\[
 d_{H^c}(\Omega_1, \Omega_2) \coloneqq d_H(\bar{D} \backslash \Omega_1, \bar{D} \backslash \Omega_2),
\]
and one can show that the topology induced on $\mathscr{O}(D)$ is compact.
In the sequel we will use the following well known result.

\begin{prop}\label{compacthausdorff} If $( \Omega_n)_{n\in \mathbb{N}}$ is a sequence in $\mathscr{O}(D)$ such that $\Omega_n \overset{d_{H^c}}{\to} \Omega \in \mathscr{O}(D)$, then for any compact set $K\subset \Omega$ there exists $n_0\in \mathbb{N}$ depending on $K$ such that $K\subset \Omega_n$ for all $n\geqslant n_0$.
\end{prop} 

\begin{proof} Since $K$ is compact and $\Omega$ is open, we know that 
\[
\inf_{x\in K} \dist (x,\Omega^c)=:a>0.
\]
 By Hausdorff convergence of the complements, there exists $n_0(a)\in \mathbb{N}$ such that for all $n\geqslant n_0(a)$, 
\[
\Omega_n^c \subset \{y \in \R^N \mid \dist (y,\Omega^c)<a/2\}.
\]
We deduce from the triangle inequality that $\inf_{x\in K} \dist (x,\Omega_n^c) >0$ for $n$ large enough and in particular $K\subset \Omega_n$.
\end{proof}


We are now ready to state the following result that will directly imply Corollary~\ref{main22} stated in the introduction.

\begin{proposition} \label{main2} Let $( \Omega_n)_{n\in \mathbb{N}}$ be a sequence in $\mathscr{O}(D)$ such that $\bar{\Omega_n} \overset{d_H}{\longrightarrow} \bar{\Omega}$ and $ \Omega_n \overset{d_{H^c}}{\longrightarrow}~\Omega$ where $\Omega \in \mathscr{O}(D)$. If $\Omega$ is $(m,2)$-stable, then the sequence $(\Omega_n)_{n\in \mathbb{N}}$ $\gamma_m$-converges to $\Omega$ or equivalently, $(H^m_0(\Omega_n))_{n\in \mathbb{N}}$ converges to $H^m_0(\Omega)$ in the sense of Mosco.
\end{proposition}


\begin{proof}[Proof of Proposition~\ref{main2}] Under the assumptions of the Proposition we will prove the $\gamma_m$-convergence. Consider then $f \in H^{-m}(D)$. We know that the sequence $(u_n)_{n \in \mathbb{N}}$ of solutions to the Dirichlet problem associated with $f$ in $H^{m}_0(\Omega_n)$, is bounded in $H^{m}_0(D)$. Therefore there exists a subsequence $(u_{n_k})_{k\in \mathbb{N}}$ that weakly converges to a function $v \in H^m_0(D)$. Let $\varphi \in \mathscr{C}_c^\infty(\Omega)$ be a test function. By complementary Hausdorff convergence, there exists an integer $k_0 \in \mathbb{N}$ such that for all $k\geqslant k_0$,
 \begin{align*}
 \Supp(\varphi) \subseteq \Omega_{n_k}.
 \end{align*}
 Thus, for all $k\geqslant k_0$,
 \begin{align*}
 \int_{\Omega_{n_k}} \nabla^m u_{n_k} : \nabla^m \varphi \, \dd x= \langle f,\varphi \rangle,
 \end{align*}
 and by weak convergence of $(u_{n_k})_{k \geqslant k_0}$ in $H^m_0(D)$, 
 \begin{equation}
 \int_{\Omega} \nabla^m v : \nabla^m \varphi \, \dd x = \langle f, \varphi \rangle. \label{equationtion}
 \end{equation}
 
Let us now prove that $v\in H^m_0(\Omega)$. Up to a subsequence, we can assume that $(u_{n_k})_{k \in \mathbb{N}}$ converges almost everywhere to $v$. The functions $u_{n_k}$ vanishe $(m,2)$-quasi everywhere on $\bar{\Omega}_{n_k}^c$ so almost everywhere. By Hausdorff convergence of the adherence we know that for all compact $K\subset \bar{\Omega}^c$ then $K\subset \bar{\Omega}_n^c$ for $n$ large enough thus finaly $v =0$ almost everywhere in $\bar{\Omega}^c$. Using the definition of $(m,2)$-stability, we conclude that $v \in H^m_0(\Omega)$. Therefore $v=u$, the unique solution to the Dirichlet problem associated to $f$ in $H^m_0(\Omega)$.
 
 
 
 
 To conclude the proof it remains to show the strong convergence in $H^m_0(D)$. By density the equality~\eqref{equationtion} stays true for $\varphi \in H^m_0(\Omega)$. In particular for $\varphi = v$ we get
\[
\int_{\Omega} |\nabla^m v|^2 \, \dd x = \langle f ,v\rangle.
\]
 On the other hand by weak convergence we have 
\[
 \int_{\Omega_{n_k}} |\nabla^m u_{n_k}|^2 \, \dd x= \langle f , u_{n_k} \rangle \xrightarrow[k \rightarrow + \infty]{}\langle f ,v\rangle.
\]
In other words $\|\nabla^m u_{n_k}\|_{L^2(D)} \to \|\nabla^m v \|_{L^2(D)}$ which together with the weak convergence, proves the strong convergence of $u_{n_k}$ to $v$ in $H^m(D)$. At the end, from the uniqueness of the possible limit we infer that the whole sequence converges to $v$, not only a subsequence. This achieves the proof of $\gamma_m$-convergence. 
\end{proof}



%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{Proof of Theorem~\ref{main3}}
 
 In this section we give a proof of Theorem~\ref{main3} stated in the introduction. 
 
\begin{proof}[Proof of Theorem~\ref{main3}] Let $\Omega, \Omega_n \subset D$ be bounded domains as in the statement of Theorem~\ref{main3} that satisfies
\[
\Omega_n \overset{d_{H^c}}{\longrightarrow} \Omega,
\]
and such that~\eqref{cond} holds true for all $\Omega_n$ with the same $\delta_0>0$ and $r_0>0$. We want to prove that $\Omega_n$ $\gamma_m$-converges to $\Omega$. To this aim we start with a similar argument as in the proof of Proposition~\ref{main2}. Consider $f \in H^{-m}(D)$. We know that the sequence $(u_n)_{n \in \mathbb{N}}$ of the solutions to the Dirichlet problem associated to $f$ in $\Omega_n$ is bounded in $H^{m}_0(D)$. There exists a subsequence $(u_{n_k})_{k\in \mathbb{N}}$ which weakly converges to a function $v \in H^m_0(D)$. Let $\varphi \in \mathscr{C}_c^\infty(\Omega)$ be test function. By complementary Hausdorff convergence, there exists an integer $k_0 \in \mathbb{N}$ such that for all $k\geqslant k_0$,
\[
 \Supp(\varphi) \subseteq \Omega_{n_k}.
\]
 Thus, for all $k\geqslant k_0$,
\[
 \int_{\Omega} \nabla^m u_{n_k} : \nabla^m \varphi \, \dd =\int_{\Omega_{n_k}} \nabla^m u_{n_k} : \nabla^m \varphi \, \dd x =\langle f,\varphi \rangle 
\]
 and by weak convergence of $(u_{n_k})_{k \geqslant k_0}$ in $H^m_0(D)$, 
\[
 \int_{\Omega} \nabla^m v : \nabla^m \varphi \, \dd x =\int_{\Omega }f\varphi \, \dd x.
\]
 Now argument as in the proof of Proposition~\ref{main2}, in order to conclude it suffices to prove that $v\in H^m_0(\Omega)$. In particular, the strong convergence would then follow by use of the same argument as in the proof of Proposition~\ref{main2}. 
 
Thus let us prove that $v\in H^m_0(\Omega)$. Since $\Omega$ satisfies the $(\delta_0,r_0)$-capacitary condition we know from Theorem~\ref{main} that $\Omega$ is a $(m,2)$-stable domain. Thus we are left to prove that $v=0$ a.e. in $\bar{\Omega}^c$. From here the proof differs from the one of Proposition~\ref{main2} because we do not know anymore that $\bar{\Omega_n} \overset{d_H}{\longrightarrow} \bar{\Omega}$. Instead, we shall benefit from the fact that~\eqref{cond} holds true for the whole sequence $\Omega_n$ and we will use a construction similar to the one used in the proof of Theorem~\ref{main}, but on the functions $u_n$. From now on we will simply denote by $n$ instead of $n_k$ for the subsequence $u_n\rightarrow v$ in $H^m(D)$ as $n \to+ \infty$. Let $K\subset \bar{\Omega}^c$ be an arbitrary compact set and let $\varepsilon>0$ be given. Our goal is to prove that $v=0$ a.e. on $K$. For a general closed set $F\subset \R^N$ and $\lambda>0$ we denote by $(F)_\lambda$ the $\lambda$-enlargement of $F$, namely,
\[
F_{\lambda}:= \left\{x\in \R^N \;\middle| \; \dist(x,F)\leqslant \lambda\right\}.
\]
By the Hausdorff convergence of $\Omega_n^c$ to $\Omega^c$ we know that there exists $n_0(\varepsilon)\in \mathbb{N}$ such that for all $n\geqslant n_0(\varepsilon)$,
\[
\Omega^c \subset (\Omega_n^c)_\varepsilon, \text{ and } \Omega_n^c\subset (\Omega^c)_\varepsilon.
\]
From the above we deduce that 
\begin{eqnarray}
K\subset \Omega^c \subset (\Omega_n^c)_\varepsilon \subset (\Omega^c)_{2\varepsilon}. \label{inclusion}
\end{eqnarray}
Next, we want to construct a test function in $\mathscr{C}^\infty_c(\Omega_n)$ which is very close to $u_n$ in $L^2$ and equal to $0$ on $K$. Let us consider the following subset of $\Omega_n$, 
\[ 
A_{n,\varepsilon} := \left\{ x \in \Omega_n \; \middle| \; \dd (x, \Omega_n^c)\geqslant 10 \varepsilon \right\},
\]
and the function 
\[
w_{n,\varepsilon}:=u_n {\bf 1}_{A_{n,\varepsilon}}.
\]
The main point being that $w_{n,\varepsilon}=0 \text{ in } (\Omega_n^c)_\varepsilon$ and in virtue of~\eqref{inclusion} we deduce that $w_{n,\varepsilon}=0$ on $K$. Now we estimate the difference $w_{n,\varepsilon}- u_n$ in $L^2(\R^N)$ using a covering of $\partial \Omega_n$. More precisely, the infinite family $(B(x,20 \varepsilon))_{x\in \partial\Omega_n}$ is a cover of $\Omega_n \setminus A_{n,\varepsilon}$ and by the \emph{5B}-covering Lemma there exists a countably subcover indexed by $(x_i)_{i\in \mathbb{N}} \subset \partial \Omega$ such that $(B(x_i,20\varepsilon))_{i\in \mathbb{N}}$ is a disjoint family,
\[
 \Omega_n \setminus A_{n,\varepsilon} \subset\bigcup_{i\in \mathbb{N}} B(x_i, 100\varepsilon), \textnormal{ and } \sum_{i\in \mathbb{N}} \boldsymbol{1}_{B(x_i,100\varepsilon)} \leqslant N_0,
\]
for a universal constant $N_0 \in \mathbb{N}$. Then we can estimate, 
\[
\int_{D} |w_{n,\varepsilon}-u_n|^2\, \dd x \leqslant \int_{\Omega_n \setminus A_{n,\varepsilon}} \vert u_n\vert ^2\, \dd x.
\]
The functions $\partial^\beta u_n$ vanishes almost everywhere on the open set $\bar{\Omega_n}^c$, so thanks to our capacitary condition~\eqref{cond} we have for $\varepsilon$ small enough
 \[
(100 \varepsilon)^{-(N-p)}{\rm Cap}_{1,2}(Z(\partial^\beta u_n)) \geqslant C\varepsilon^{-(N-p)} {\rm Cap}_{1,2}(\bar{\Omega_n}^c \cap B(0,100\varepsilon)) \geqslant C\delta_0.
\]
Therefore, the Poincar\'e inequality~\eqref{poincare} applied to $\partial^\beta u_n$ in all ball $B(x_i, 100\varepsilon)$ gives
\begin{equation}
\int_{B(x_i,100\varepsilon)} \vert \partial^\beta u_n\vert^2 \, \dd x \leqslant C \delta_0^{-1}\varepsilon^2\int_{B(x_i,100\varepsilon)} \vert \nabla \partial^\beta u_n\vert^2 \, \dd x.
\end{equation}
We deduce that 
\begin{align*}
 \int_{\Omega_n \setminus A_{n,\varepsilon}} \vert u_n\vert^2 \, \dd x &\leqslant \sum_{i\in \mathbb{N}}\int_{B(x_i,100\varepsilon)} \vert u_n\vert^2 \, \dd x \\
 &\leqslant C \sum_{i\in \mathbb{N}} \varepsilon^{2m}\int_{B(x_i,100\varepsilon)} |\nabla^m u_n|^2\, \dd x \\
 &\leqslant CN_0 \varepsilon^{2m}\int_{D} |\nabla^m u_n|^2\, \dd x \\
 & \leqslant C \varepsilon^2,
\end{align*}
since the sequence $u_n$ is uniformly bounded in $H^1(D)$. In conclusion we have proved the following : for each $\varepsilon>0$, we have $n_0(\varepsilon) \in \mathbb{N}$ such that for all $n \geqslant n_0(\varepsilon)$, there exists 
$w_{n, \varepsilon} \in L^2(D)$ such that $\|w_{n, \varepsilon}-u_n\|_{L^2}\leqslant C\varepsilon$ and $w_{n, \varepsilon}=0$ on $K$. Now for $n$ sufficiently large let $\varepsilon= 2^{-n}$ and let $w_n:=w_{n_0(2^{-n}), 2^{-n}}$. We can assume that $n_0(2^{-n})\rightarrow+\infty$. The function $w_n$ converges to $v$ in $L^2$ because $u_n$ converges to $v$ in $L^2$, and $w_n=0$ on $K$ for all $n \in \mathbb{N}$. Therefore, up to a subsequence, $w_n$ converges a.e. on $K$ and this shows that $u=0$ a.e. on $K$. Since $K$ is arbitrary, this shows that $v=0$ a.e. on $\bar{\Omega}^c$, hence $u\in H^m_0(\Omega)$ because $\Omega$ is $(m,2)$-stable. This achieves the proof.
\end{proof}



\section{Existence for shape optimisation problems under geometrical constraints}\label{sec7}

Let $D \subset \mathbb{R}^N$ be a fixed bounded open set and let $\mathscr{O}_D:=\left\{\Omega \subseteq D \; \middle| \; \Omega \textnormal{ is open} \right\}$ denote all open subsets of $D$. For a shape functional $F : \mathscr{O}_D \to \mathbb{R}^+$, it is a natural question to ask if there exists extremal points. In order to answer this question, we introduce a subfamily of $ \mathscr{O}_D $ which is compact for the $\gamma_m$-convergence and satisfies the capacitary condition~\eqref{cond}. If $F$ is lower semi-continuous for the $\gamma_m$-convergence, then we use Theorem~\ref{main3} to conclude.






\begin{proposition}\label{classcompacity}
 Any class of the following list is compact for the complementary Hausdorff convergence : $\mathscr{O}_{\convex}(D)$, $\mathscr{O}^{\varepsilon}_{\cone}(D)$, $\mathscr{O}_{\corks}^{a,r_0}(D)$.
\end{proposition}
\begin{proof}\ 

\begin{proof}[(1) Case $\mathscr{O}=\mathscr{O}_{\convex }(D),\mathscr{O}^{\varepsilon}_{\cone }(D)$] 
The proof can be found in~\cite[Proposition~5.1.1, p.~126]{BuBut05}.
\let\qed\relax
\end{proof}

\begin{proof}[(2) Case $\mathscr{O}=\mathscr{O}_{\corks }^{a,r_0}(D)$] Suppose $(\Omega_n)_{n\in \mathbb{N}}$ is sequence of $(a,r_0)$-corkscrew domains which converges to an open set $\Omega \subset D$. Let $x\in \partial \Omega$ and $r\leqslant r_0$. By Hausdorff complementary convergence properties, there exists a sequence $(x_n)_{n \in \mathbb{N}}$ such that $x_n \in \partial \Omega_n$ and $x_n\to x$ as $n\to +\infty$. By corkscrew conditions, one finds $B(y_n,ar) \subset \bar{\Omega}_n^c\cap B(x_n,r)$ with, up to a subsequence, $y_n \to y$ as $n\to +\infty$. First of all, it is obvious that $B(y,ar) \subset B(x,r)$, it remains to prove that $B(y,ar) \subset \bar{\Omega}^c$. Let $\varepsilon>0$, from the enlargement characterisation of Hausdorff convergence, there exists $N(\varepsilon)\in \mathbb{N}$ such that for every $n \geqslant N(\varepsilon)$, $\bar{D}\backslash \Omega_n \subset (\bar{D}\backslash \Omega)_\varepsilon$ where
 \[
(\bar{D}\backslash \Omega)_\varepsilon := \left\{x\in \R^N \;\middle| \; {\rm dist}(x,\bar{D}\backslash \Omega)\leqslant \varepsilon\right\}.
\]
 Thus $B(y_n,ar) \subset(\bar{D}\backslash \Omega)_\varepsilon $ and passing to the limit as $n \rightarrow + \infty$, then taking the intersection in $\varepsilon$, we get 
 \[
B(y,ar) \subset \bigcap_{\varepsilon>0}(\bar{D}\backslash \Omega)_\varepsilon = \bar{D}\backslash \Omega. 
\]
The ball $B(y,ar)$ is open so we conclude $B(y,ar) \subset \bar{\Omega}^c \cap B(x,r)$.
\end{proof}
\let\qed\relax
\end{proof}

\begin{proposition}\label{classgammacompacity}
 Any class of the following list is compact for the $\gamma_m$-convergence: $\mathscr{O}_{\convex }(D)$, $\mathscr{O}^{\varepsilon}_{\cone }(D)$, $\mathscr{O}_{\corks }^{a,r_0}(D)$.
\end{proposition}

\begin{proof}
 Let $\mathscr{O}$ be one of the class of domains listed above and let $(\Omega_n)_{n \in \mathbb{N}}$ be a sequence in $\mathscr{O}$. Because of the compactness of the complementary Hausdorff convergence in $\mathscr{O}(D)$, there exists a subsequence $(\Omega_n)_{n \in \mathbb{N}}$ denoted by the same indices which $d_{H^c}$-converges to $\Omega \in \mathscr{O}(D)$. Using Theorem~\ref{main3} and Proposition~\ref{measureboundary}, it is sufficient to prove that $\Omega \in \mathscr{O}$, i.e. $\mathscr{O}$ is closed for $d_{H^c}$-convergence. Proposition~\ref{classcompacity} concludes the proof.
\end{proof}

\begin{theorem}\label{shapeopt}
 Let $\mathscr{O}$ be a $\gamma_m$-compact class of subset listed in Proposition~\ref{classgammacompacity}. Let $F : \mathscr{O} \to \bar{\mathbb{R}}$ be a lower semi-continuous functional for the $\gamma_m$-convergence. There exists $\Omega\in \mathscr{O}$ such that 
 \[
 F(\Omega) = \inf\left\{F(\omega) \; \middle|\; \omega \in \mathscr{O} \right\}.
\]
\end{theorem}

\begin{proof}
 Let $(\Omega_n)_{n\in\mathbb{N}}$ be a minimising sequence in $\mathscr{O}$, i.e. $ F(\Omega_n)$ converges to $\inf\left\{F(\omega) \; \middle|\; \omega \in \mathscr{O} \right\}$ as $n \to +\infty$. Using Proposition~\ref{classgammacompacity}, up to a subsequence there exists an open set $\Omega \in \mathscr{O}$ such that
\[
 \Omega_n \xrightarrow[n\to +\infty]{\gamma_m} \Omega.
 \]
Then by lower semi-continuity of the functional we get
 \[
F(\Omega) \leqslant \underset{n \rightarrow + \infty}{\liminf}F(\Omega_n) = \inf\left\{F(\omega) \; \middle|\; \omega \in \mathscr{O} \right\},
\]
 which finishes the proof.
\end{proof}

\section*{Declaration of interests}
The authors do not work for, advise, own shares in, or receive funds from
any organization that could benefit from this article, and have declared no affiliations other than their research organizations.


\printbibliography

 \end{document}	
